From f7799091e53d3e6ddca2f698cc1fdcca16a65d09 Mon Sep 17 00:00:00 2001 From: Dmytro Vovk Date: Fri, 18 Oct 2024 10:49:05 +0100 Subject: [PATCH 1/2] updated build --- build/assets/index-41af8ab9.css | 1 - build/assets/index-beabf05a.js | 836 -------------------------------- build/index.html | 4 +- 3 files changed, 2 insertions(+), 839 deletions(-) delete mode 100644 build/assets/index-41af8ab9.css delete mode 100644 build/assets/index-beabf05a.js diff --git a/build/assets/index-41af8ab9.css b/build/assets/index-41af8ab9.css deleted file mode 100644 index 1245d12..0000000 --- a/build/assets/index-41af8ab9.css +++ /dev/null @@ -1 +0,0 @@ -.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1;color:#fff;background-color:#1ea7fd;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.storybook-button--primary{color:#fff;background-color:#1ea7fd}.storybook-button--secondary{color:#333;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-1{top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.bottom-0{bottom:0}.bottom-\[10vh\]{bottom:10vh}.bottom-\[50px\]{bottom:50px}.left-0{left:0}.right-0{right:0}.right-\[5vw\]{right:5vw}.top-0{top:0}.top-\[50px\]{top:50px}.top-\[80vh\]{top:80vh}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.mr-5{margin-right:1.25rem}.mt-10{margin-top:2.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-5{height:1.25rem}.h-\[75vh\]{height:75vh}.h-\[80\%\]{height:80%}.h-\[90\%\]{height:90%}.h-\[90vh\]{height:90vh}.h-\[95\%\]{height:95%}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-\[40vh\]{max-height:40vh}.max-h-\[45vh\]{max-height:45vh}.max-h-\[500px\]{max-height:500px}.max-h-\[660px\]{max-height:660px}.max-h-\[70vh\]{max-height:70vh}.max-h-\[760px\]{max-height:760px}.max-h-\[780px\]{max-height:780px}.max-h-\[80vh\]{max-height:80vh}.max-h-\[83vh\]{max-height:83vh}.max-h-\[90vh\]{max-height:90vh}.min-h-\[40px\]{min-height:40px}.w-2{width:.5rem}.w-5{width:1.25rem}.w-\[15\%\]{width:15%}.w-\[95\%\]{width:95%}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.min-w-\[20vw\]{min-width:20vw}.min-w-\[30vw\]{min-width:30vw}.max-w-3xl{max-width:48rem}.max-w-\[100vw\]{max-width:100vw}.max-w-\[1400px\]{max-width:1400px}.flex-\[1\]{flex:1}.flex-\[2\]{flex:2}.flex-auto{flex:1 1 auto}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.text-ellipsis{text-overflow:ellipsis}.break-all{word-break:break-all}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/\[\.4\]{background-color:#0006}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-relaxed{line-height:1.625}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-25{opacity:.25}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}body{height:100%;overflow:hidden;background-color:azure;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.hover\:scale-125:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-500:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}@media (prefers-color-scheme: dark){.dark\:border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.dark\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:bg-gray-700:focus{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}} diff --git a/build/assets/index-beabf05a.js b/build/assets/index-beabf05a.js deleted file mode 100644 index 5efdd2c..0000000 --- a/build/assets/index-beabf05a.js +++ /dev/null @@ -1,836 +0,0 @@ -var $I0=Object.defineProperty;var KI0=(f,h,d)=>h in f?$I0(f,h,{enumerable:!0,configurable:!0,writable:!0,value:d}):f[h]=d;var h8=(f,h,d)=>(KI0(f,typeof h!="symbol"?h+"":h,d),d);function bI0(f,h){for(var d=0;dk[C]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}(function(){const h=document.createElement("link").relList;if(h&&h.supports&&h.supports("modulepreload"))return;for(const C of document.querySelectorAll('link[rel="modulepreload"]'))k(C);new MutationObserver(C=>{for(const I of C)if(I.type==="childList")for(const S of I.addedNodes)S.tagName==="LINK"&&S.rel==="modulepreload"&&k(S)}).observe(document,{childList:!0,subtree:!0});function d(C){const I={};return C.integrity&&(I.integrity=C.integrity),C.referrerPolicy&&(I.referrerPolicy=C.referrerPolicy),C.crossOrigin==="use-credentials"?I.credentials="include":C.crossOrigin==="anonymous"?I.credentials="omit":I.credentials="same-origin",I}function k(C){if(C.ep)return;C.ep=!0;const I=d(C);fetch(C.href,I)}})();var ea=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function NX(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}function Fn(f){if(f.__esModule)return f;var h=f.default;if(typeof h=="function"){var d=function k(){return this instanceof k?Reflect.construct(h,arguments,this.constructor):h.apply(this,arguments)};d.prototype=h.prototype}else d={};return Object.defineProperty(d,"__esModule",{value:!0}),Object.keys(f).forEach(function(k){var C=Object.getOwnPropertyDescriptor(f,k);Object.defineProperty(d,k,C.get?C:{enumerable:!0,get:function(){return f[k]}})}),d}var QX={exports:{}},zm={},TX={exports:{}},vr={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var F6=Symbol.for("react.element"),ex0=Symbol.for("react.portal"),rx0=Symbol.for("react.fragment"),tx0=Symbol.for("react.strict_mode"),ix0=Symbol.for("react.profiler"),nx0=Symbol.for("react.provider"),ox0=Symbol.for("react.context"),lx0=Symbol.for("react.forward_ref"),sx0=Symbol.for("react.suspense"),Ax0=Symbol.for("react.memo"),ux0=Symbol.for("react.lazy"),bY=Symbol.iterator;function fx0(f){return f===null||typeof f!="object"?null:(f=bY&&f[bY]||f["@@iterator"],typeof f=="function"?f:null)}var FX={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},PX=Object.assign,YX={};function n3(f,h,d){this.props=f,this.context=h,this.refs=YX,this.updater=d||FX}n3.prototype.isReactComponent={};n3.prototype.setState=function(f,h){if(typeof f!="object"&&typeof f!="function"&&f!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,f,h,"setState")};n3.prototype.forceUpdate=function(f){this.updater.enqueueForceUpdate(this,f,"forceUpdate")};function OX(){}OX.prototype=n3.prototype;function _S(f,h,d){this.props=f,this.context=h,this.refs=YX,this.updater=d||FX}var zS=_S.prototype=new OX;zS.constructor=_S;PX(zS,n3.prototype);zS.isPureReactComponent=!0;var eO=Array.isArray,VX=Object.prototype.hasOwnProperty,LS={current:null},HX={key:!0,ref:!0,__self:!0,__source:!0};function JX(f,h,d){var k,C={},I=null,S=null;if(h!=null)for(k in h.ref!==void 0&&(S=h.ref),h.key!==void 0&&(I=""+h.key),h)VX.call(h,k)&&!HX.hasOwnProperty(k)&&(C[k]=h[k]);var Z=arguments.length-2;if(Z===1)C.children=d;else if(1>>1,f2=we[c2];if(0>>1;c2C(qe,Ne))yeC(Be,qe)?(we[c2]=Be,we[ye]=Ne,c2=ye):(we[c2]=qe,we[j2]=Ne,c2=j2);else if(yeC(Be,Ne))we[c2]=Be,we[ye]=Ne,c2=ye;else break e}}return Ie}function C(we,Ie){var Ne=we.sortIndex-Ie.sortIndex;return Ne!==0?Ne:we.id-Ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var I=performance;f.unstable_now=function(){return I.now()}}else{var S=Date,Z=S.now();f.unstable_now=function(){return S.now()-Z}}var R=[],M=[],Q=1,O=null,e0=3,o0=!1,A0=!1,l0=!1,w0=typeof setTimeout=="function"?setTimeout:null,u0=typeof clearTimeout=="function"?clearTimeout:null,a0=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function c0(we){for(var Ie=d(M);Ie!==null;){if(Ie.callback===null)k(M);else if(Ie.startTime<=we)k(M),Ie.sortIndex=Ie.expirationTime,h(R,Ie);else break;Ie=d(M)}}function y0(we){if(l0=!1,c0(we),!A0)if(d(R)!==null)A0=!0,de(C0);else{var Ie=d(M);Ie!==null&&Se(y0,Ie.startTime-we)}}function C0(we,Ie){A0=!1,l0&&(l0=!1,u0(E0),E0=-1),o0=!0;var Ne=e0;try{for(c0(Ie),O=d(R);O!==null&&(!(O.expirationTime>Ie)||we&&!P0());){var c2=O.callback;if(typeof c2=="function"){O.callback=null,e0=O.priorityLevel;var f2=c2(O.expirationTime<=Ie);Ie=f.unstable_now(),typeof f2=="function"?O.callback=f2:O===d(R)&&k(R),c0(Ie)}else k(R);O=d(R)}if(O!==null)var H2=!0;else{var j2=d(M);j2!==null&&Se(y0,j2.startTime-Ie),H2=!1}return H2}finally{O=null,e0=Ne,o0=!1}}var I0=!1,h0=null,E0=-1,z0=5,W0=-1;function P0(){return!(f.unstable_now()-W0we||125c2?(we.sortIndex=Ne,h(M,we),d(R)===null&&we===d(M)&&(l0?(u0(E0),E0=-1):l0=!0,Se(y0,Ne-c2))):(we.sortIndex=f2,h(R,we),A0||o0||(A0=!0,de(C0))),we},f.unstable_shouldYield=P0,f.unstable_wrapCallback=function(we){var Ie=e0;return function(){var Ne=e0;e0=Ie;try{return we.apply(this,arguments)}finally{e0=Ne}}}})(KX);$X.exports=KX;var yx0=$X.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Cx0=T0,K1=yx0;function Ve(f){for(var h="https://reactjs.org/docs/error-decoder.html?invariant="+f,d=1;d"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),QI=Object.prototype.hasOwnProperty,Ex0=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,tO={},iO={};function Bx0(f){return QI.call(iO,f)?!0:QI.call(tO,f)?!1:Ex0.test(f)?iO[f]=!0:(tO[f]=!0,!1)}function Ix0(f,h,d,k){if(d!==null&&d.type===0)return!1;switch(typeof h){case"function":case"symbol":return!0;case"boolean":return k?!1:d!==null?!d.acceptsBooleans:(f=f.toLowerCase().slice(0,5),f!=="data-"&&f!=="aria-");default:return!1}}function xx0(f,h,d,k){if(h===null||typeof h>"u"||Ix0(f,h,d,k))return!0;if(k)return!1;if(d!==null)switch(d.type){case 3:return!h;case 4:return h===!1;case 5:return isNaN(h);case 6:return isNaN(h)||1>h}return!1}function n1(f,h,d,k,C,I,S){this.acceptsBooleans=h===2||h===3||h===4,this.attributeName=k,this.attributeNamespace=C,this.mustUseProperty=d,this.propertyName=f,this.type=h,this.sanitizeURL=I,this.removeEmptyString=S}var gn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(f){gn[f]=new n1(f,0,!1,f,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var h=f[0];gn[h]=new n1(h,1,!1,f[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(f){gn[f]=new n1(f,2,!1,f.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){gn[f]=new n1(f,2,!1,f,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(f){gn[f]=new n1(f,3,!1,f.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(f){gn[f]=new n1(f,3,!0,f,null,!1,!1)});["capture","download"].forEach(function(f){gn[f]=new n1(f,4,!1,f,null,!1,!1)});["cols","rows","size","span"].forEach(function(f){gn[f]=new n1(f,6,!1,f,null,!1,!1)});["rowSpan","start"].forEach(function(f){gn[f]=new n1(f,5,!1,f.toLowerCase(),null,!1,!1)});var GS=/[\-:]([a-z])/g;function ZS(f){return f[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(f){var h=f.replace(GS,ZS);gn[h]=new n1(h,1,!1,f,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(f){var h=f.replace(GS,ZS);gn[h]=new n1(h,1,!1,f,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(f){var h=f.replace(GS,ZS);gn[h]=new n1(h,1,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(f){gn[f]=new n1(f,1,!1,f.toLowerCase(),null,!1,!1)});gn.xlinkHref=new n1("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(f){gn[f]=new n1(f,1,!1,f.toLowerCase(),null,!0,!0)});function WS(f,h,d,k){var C=gn.hasOwnProperty(h)?gn[h]:null;(C!==null?C.type!==0:k||!(2Z||C[S]!==I[Z]){var R=` -`+C[S].replace(" at new "," at ");return f.displayName&&R.includes("")&&(R=R.replace("",f.displayName)),R}while(1<=S&&0<=Z);break}}}finally{bE=!1,Error.prepareStackTrace=d}return(f=f?f.displayName||f.name:"")?G8(f):""}function Sx0(f){switch(f.tag){case 5:return G8(f.type);case 16:return G8("Lazy");case 13:return G8("Suspense");case 19:return G8("SuspenseList");case 0:case 2:case 15:return f=eB(f.type,!1),f;case 11:return f=eB(f.type.render,!1),f;case 1:return f=eB(f.type,!0),f;default:return""}}function YI(f){if(f==null)return null;if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case f4:return"Fragment";case u4:return"Portal";case TI:return"Profiler";case DS:return"StrictMode";case FI:return"Suspense";case PI:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case rq:return(f.displayName||"Context")+".Consumer";case eq:return(f._context.displayName||"Context")+".Provider";case MS:var h=f.render;return f=f.displayName,f||(f=h.displayName||h.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case jS:return h=f.displayName||null,h!==null?h:YI(f.type)||"Memo";case au:h=f._payload,f=f._init;try{return YI(f(h))}catch{}}return null}function _x0(f){var h=f.type;switch(f.tag){case 24:return"Cache";case 9:return(h.displayName||"Context")+".Consumer";case 10:return(h._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return f=h.render,f=f.displayName||f.name||"",h.displayName||(f!==""?"ForwardRef("+f+")":"ForwardRef");case 7:return"Fragment";case 5:return h;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return YI(h);case 8:return h===DS?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h}return null}function Zu(f){switch(typeof f){case"boolean":case"number":case"string":case"undefined":return f;case"object":return f;default:return""}}function iq(f){var h=f.type;return(f=f.nodeName)&&f.toLowerCase()==="input"&&(h==="checkbox"||h==="radio")}function zx0(f){var h=iq(f)?"checked":"value",d=Object.getOwnPropertyDescriptor(f.constructor.prototype,h),k=""+f[h];if(!f.hasOwnProperty(h)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var C=d.get,I=d.set;return Object.defineProperty(f,h,{configurable:!0,get:function(){return C.call(this)},set:function(S){k=""+S,I.call(this,S)}}),Object.defineProperty(f,h,{enumerable:d.enumerable}),{getValue:function(){return k},setValue:function(S){k=""+S},stopTracking:function(){f._valueTracker=null,delete f[h]}}}}function Kk(f){f._valueTracker||(f._valueTracker=zx0(f))}function nq(f){if(!f)return!1;var h=f._valueTracker;if(!h)return!0;var d=h.getValue(),k="";return f&&(k=iq(f)?f.checked?"true":"false":f.value),f=k,f!==d?(h.setValue(f),!0):!1}function m5(f){if(f=f||(typeof document<"u"?document:void 0),typeof f>"u")return null;try{return f.activeElement||f.body}catch{return f.body}}function OI(f,h){var d=h.checked;return qt({},h,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??f._wrapperState.initialChecked})}function oO(f,h){var d=h.defaultValue==null?"":h.defaultValue,k=h.checked!=null?h.checked:h.defaultChecked;d=Zu(h.value!=null?h.value:d),f._wrapperState={initialChecked:k,initialValue:d,controlled:h.type==="checkbox"||h.type==="radio"?h.checked!=null:h.value!=null}}function oq(f,h){h=h.checked,h!=null&&WS(f,"checked",h,!1)}function VI(f,h){oq(f,h);var d=Zu(h.value),k=h.type;if(d!=null)k==="number"?(d===0&&f.value===""||f.value!=d)&&(f.value=""+d):f.value!==""+d&&(f.value=""+d);else if(k==="submit"||k==="reset"){f.removeAttribute("value");return}h.hasOwnProperty("value")?HI(f,h.type,d):h.hasOwnProperty("defaultValue")&&HI(f,h.type,Zu(h.defaultValue)),h.checked==null&&h.defaultChecked!=null&&(f.defaultChecked=!!h.defaultChecked)}function lO(f,h,d){if(h.hasOwnProperty("value")||h.hasOwnProperty("defaultValue")){var k=h.type;if(!(k!=="submit"&&k!=="reset"||h.value!==void 0&&h.value!==null))return;h=""+f._wrapperState.initialValue,d||h===f.value||(f.value=h),f.defaultValue=h}d=f.name,d!==""&&(f.name=""),f.defaultChecked=!!f._wrapperState.initialChecked,d!==""&&(f.name=d)}function HI(f,h,d){(h!=="number"||m5(f.ownerDocument)!==f)&&(d==null?f.defaultValue=""+f._wrapperState.initialValue:f.defaultValue!==""+d&&(f.defaultValue=""+d))}var Z8=Array.isArray;function C4(f,h,d,k){if(f=f.options,h){h={};for(var C=0;C"+h.valueOf().toString()+"",h=bk.firstChild;f.firstChild;)f.removeChild(f.firstChild);for(;h.firstChild;)f.appendChild(h.firstChild)}});function s6(f,h){if(h){var d=f.firstChild;if(d&&d===f.lastChild&&d.nodeType===3){d.nodeValue=h;return}}f.textContent=h}var H8={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Lx0=["Webkit","ms","Moz","O"];Object.keys(H8).forEach(function(f){Lx0.forEach(function(h){h=h+f.charAt(0).toUpperCase()+f.substring(1),H8[h]=H8[f]})});function uq(f,h,d){return h==null||typeof h=="boolean"||h===""?"":d||typeof h!="number"||h===0||H8.hasOwnProperty(f)&&H8[f]?(""+h).trim():h+"px"}function fq(f,h){f=f.style;for(var d in h)if(h.hasOwnProperty(d)){var k=d.indexOf("--")===0,C=uq(d,h[d],k);d==="float"&&(d="cssFloat"),k?f.setProperty(d,C):f[d]=C}}var Rx0=qt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function XI(f,h){if(h){if(Rx0[f]&&(h.children!=null||h.dangerouslySetInnerHTML!=null))throw Error(Ve(137,f));if(h.dangerouslySetInnerHTML!=null){if(h.children!=null)throw Error(Ve(60));if(typeof h.dangerouslySetInnerHTML!="object"||!("__html"in h.dangerouslySetInnerHTML))throw Error(Ve(61))}if(h.style!=null&&typeof h.style!="object")throw Error(Ve(62))}}function qI(f,h){if(f.indexOf("-")===-1)return typeof h.is=="string";switch(f){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $I=null;function NS(f){return f=f.target||f.srcElement||window,f.correspondingUseElement&&(f=f.correspondingUseElement),f.nodeType===3?f.parentNode:f}var KI=null,E4=null,B4=null;function uO(f){if(f=O6(f)){if(typeof KI!="function")throw Error(Ve(280));var h=f.stateNode;h&&(h=Wm(h),KI(f.stateNode,f.type,h))}}function aq(f){E4?B4?B4.push(f):B4=[f]:E4=f}function cq(){if(E4){var f=E4,h=B4;if(B4=E4=null,uO(f),h)for(f=0;f>>=0,f===0?32:31-(Px0(f)/Yx0|0)|0}var ev=64,rv=4194304;function W8(f){switch(f&-f){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return f&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return f}}function E5(f,h){var d=f.pendingLanes;if(d===0)return 0;var k=0,C=f.suspendedLanes,I=f.pingedLanes,S=d&268435455;if(S!==0){var Z=S&~C;Z!==0?k=W8(Z):(I&=S,I!==0&&(k=W8(I)))}else S=d&~C,S!==0?k=W8(S):I!==0&&(k=W8(I));if(k===0)return 0;if(h!==0&&h!==k&&!(h&C)&&(C=k&-k,I=h&-h,C>=I||C===16&&(I&4194240)!==0))return h;if(k&4&&(k|=d&16),h=f.entangledLanes,h!==0)for(f=f.entanglements,h&=k;0d;d++)h.push(f);return h}function P6(f,h,d){f.pendingLanes|=h,h!==536870912&&(f.suspendedLanes=0,f.pingedLanes=0),f=f.eventTimes,h=31-al(h),f[h]=d}function Jx0(f,h){var d=f.pendingLanes&~h;f.pendingLanes=h,f.suspendedLanes=0,f.pingedLanes=0,f.expiredLanes&=h,f.mutableReadLanes&=h,f.entangledLanes&=h,h=f.entanglements;var k=f.eventTimes;for(f=f.expirationTimes;0=U8),vO=String.fromCharCode(32),mO=!1;function Gq(f,h){switch(f){case"keyup":return yS0.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zq(f){return f=f.detail,typeof f=="object"&&"data"in f?f.data:null}var a4=!1;function ES0(f,h){switch(f){case"compositionend":return Zq(h);case"keypress":return h.which!==32?null:(mO=!0,vO);case"textInput":return f=h.data,f===vO&&mO?null:f;default:return null}}function BS0(f,h){if(a4)return f==="compositionend"||!HS&&Gq(f,h)?(f=Lq(),Tv=YS=pu=null,a4=!1,f):null;switch(f){case"paste":return null;case"keypress":if(!(h.ctrlKey||h.altKey||h.metaKey)||h.ctrlKey&&h.altKey){if(h.char&&1=h)return{node:d,offset:h-f};f=k}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=EO(d)}}function jq(f,h){return f&&h?f===h?!0:f&&f.nodeType===3?!1:h&&h.nodeType===3?jq(f,h.parentNode):"contains"in f?f.contains(h):f.compareDocumentPosition?!!(f.compareDocumentPosition(h)&16):!1:!1}function Nq(){for(var f=window,h=m5();h instanceof f.HTMLIFrameElement;){try{var d=typeof h.contentWindow.location.href=="string"}catch{d=!1}if(d)f=h.contentWindow;else break;h=m5(f.document)}return h}function JS(f){var h=f&&f.nodeName&&f.nodeName.toLowerCase();return h&&(h==="input"&&(f.type==="text"||f.type==="search"||f.type==="tel"||f.type==="url"||f.type==="password")||h==="textarea"||f.contentEditable==="true")}function ZS0(f){var h=Nq(),d=f.focusedElem,k=f.selectionRange;if(h!==d&&d&&d.ownerDocument&&jq(d.ownerDocument.documentElement,d)){if(k!==null&&JS(d)){if(h=k.start,f=k.end,f===void 0&&(f=h),"selectionStart"in d)d.selectionStart=h,d.selectionEnd=Math.min(f,d.value.length);else if(f=(h=d.ownerDocument||document)&&h.defaultView||window,f.getSelection){f=f.getSelection();var C=d.textContent.length,I=Math.min(k.start,C);k=k.end===void 0?I:Math.min(k.end,C),!f.extend&&I>k&&(C=k,k=I,I=C),C=BO(d,I);var S=BO(d,k);C&&S&&(f.rangeCount!==1||f.anchorNode!==C.node||f.anchorOffset!==C.offset||f.focusNode!==S.node||f.focusOffset!==S.offset)&&(h=h.createRange(),h.setStart(C.node,C.offset),f.removeAllRanges(),I>k?(f.addRange(h),f.extend(S.node,S.offset)):(h.setEnd(S.node,S.offset),f.addRange(h)))}}for(h=[],f=d;f=f.parentNode;)f.nodeType===1&&h.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d=document.documentMode,c4=null,nx=null,q8=null,ox=!1;function IO(f,h,d){var k=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;ox||c4==null||c4!==m5(k)||(k=c4,"selectionStart"in k&&JS(k)?k={start:k.selectionStart,end:k.selectionEnd}:(k=(k.ownerDocument&&k.ownerDocument.defaultView||window).getSelection(),k={anchorNode:k.anchorNode,anchorOffset:k.anchorOffset,focusNode:k.focusNode,focusOffset:k.focusOffset}),q8&&h6(q8,k)||(q8=k,k=x5(nx,"onSelect"),0d4||(f.current=ax[d4],ax[d4]=null,d4--)}function xt(f,h){d4++,ax[d4]=f.current,f.current=h}var Wu={},Tn=Tu(Wu),I1=Tu(!1),ca=Wu;function j4(f,h){var d=f.type.contextTypes;if(!d)return Wu;var k=f.stateNode;if(k&&k.__reactInternalMemoizedUnmaskedChildContext===h)return k.__reactInternalMemoizedMaskedChildContext;var C={},I;for(I in d)C[I]=h[I];return k&&(f=f.stateNode,f.__reactInternalMemoizedUnmaskedChildContext=h,f.__reactInternalMemoizedMaskedChildContext=C),C}function x1(f){return f=f.childContextTypes,f!=null}function _5(){Wt(I1),Wt(Tn)}function GO(f,h,d){if(Tn.current!==Wu)throw Error(Ve(168));xt(Tn,h),xt(I1,d)}function Jq(f,h,d){var k=f.stateNode;if(h=h.childContextTypes,typeof k.getChildContext!="function")return d;k=k.getChildContext();for(var C in k)if(!(C in h))throw Error(Ve(108,_x0(f)||"Unknown",C));return qt({},d,k)}function z5(f){return f=(f=f.stateNode)&&f.__reactInternalMemoizedMergedChildContext||Wu,ca=Tn.current,xt(Tn,f),xt(I1,I1.current),!0}function ZO(f,h,d){var k=f.stateNode;if(!k)throw Error(Ve(169));d?(f=Jq(f,h,ca),k.__reactInternalMemoizedMergedChildContext=f,Wt(I1),Wt(Tn),xt(Tn,f)):Wt(I1),xt(I1,d)}var Qs=null,Dm=!1,wB=!1;function Uq(f){Qs===null?Qs=[f]:Qs.push(f)}function VS0(f){Dm=!0,Uq(f)}function Fu(){if(!wB&&Qs!==null){wB=!0;var f=0,h=$r;try{var d=Qs;for($r=1;f>=S,C-=S,Ys=1<<32-al(h)+C|d<E0?(z0=h0,h0=null):z0=h0.sibling;var W0=e0(u0,h0,c0[E0],y0);if(W0===null){h0===null&&(h0=z0);break}f&&h0&&W0.alternate===null&&h(u0,h0),a0=I(W0,a0,E0),I0===null?C0=W0:I0.sibling=W0,I0=W0,h0=z0}if(E0===c0.length)return d(u0,h0),Ft&&Xf(u0,E0),C0;if(h0===null){for(;E0E0?(z0=h0,h0=null):z0=h0.sibling;var P0=e0(u0,h0,W0.value,y0);if(P0===null){h0===null&&(h0=z0);break}f&&h0&&P0.alternate===null&&h(u0,h0),a0=I(P0,a0,E0),I0===null?C0=P0:I0.sibling=P0,I0=P0,h0=z0}if(W0.done)return d(u0,h0),Ft&&Xf(u0,E0),C0;if(h0===null){for(;!W0.done;E0++,W0=c0.next())W0=O(u0,W0.value,y0),W0!==null&&(a0=I(W0,a0,E0),I0===null?C0=W0:I0.sibling=W0,I0=W0);return Ft&&Xf(u0,E0),C0}for(h0=k(u0,h0);!W0.done;E0++,W0=c0.next())W0=o0(h0,u0,E0,W0.value,y0),W0!==null&&(f&&W0.alternate!==null&&h0.delete(W0.key===null?E0:W0.key),a0=I(W0,a0,E0),I0===null?C0=W0:I0.sibling=W0,I0=W0);return f&&h0.forEach(function(R0){return h(u0,R0)}),Ft&&Xf(u0,E0),C0}function w0(u0,a0,c0,y0){if(typeof c0=="object"&&c0!==null&&c0.type===f4&&c0.key===null&&(c0=c0.props.children),typeof c0=="object"&&c0!==null){switch(c0.$$typeof){case $k:e:{for(var C0=c0.key,I0=a0;I0!==null;){if(I0.key===C0){if(C0=c0.type,C0===f4){if(I0.tag===7){d(u0,I0.sibling),a0=C(I0,c0.props.children),a0.return=u0,u0=a0;break e}}else if(I0.elementType===C0||typeof C0=="object"&&C0!==null&&C0.$$typeof===au&&MO(C0)===I0.type){d(u0,I0.sibling),a0=C(I0,c0.props),a0.ref=m8(u0,I0,c0),a0.return=u0,u0=a0;break e}d(u0,I0);break}else h(u0,I0);I0=I0.sibling}c0.type===f4?(a0=sa(c0.props.children,u0.mode,y0,c0.key),a0.return=u0,u0=a0):(y0=Uv(c0.type,c0.key,c0.props,null,u0.mode,y0),y0.ref=m8(u0,a0,c0),y0.return=u0,u0=y0)}return S(u0);case u4:e:{for(I0=c0.key;a0!==null;){if(a0.key===I0)if(a0.tag===4&&a0.stateNode.containerInfo===c0.containerInfo&&a0.stateNode.implementation===c0.implementation){d(u0,a0.sibling),a0=C(a0,c0.children||[]),a0.return=u0,u0=a0;break e}else{d(u0,a0);break}else h(u0,a0);a0=a0.sibling}a0=CB(c0,u0.mode,y0),a0.return=u0,u0=a0}return S(u0);case au:return I0=c0._init,w0(u0,a0,I0(c0._payload),y0)}if(Z8(c0))return A0(u0,a0,c0,y0);if(w8(c0))return l0(u0,a0,c0,y0);Av(u0,c0)}return typeof c0=="string"&&c0!==""||typeof c0=="number"?(c0=""+c0,a0!==null&&a0.tag===6?(d(u0,a0.sibling),a0=C(a0,c0),a0.return=u0,u0=a0):(d(u0,a0),a0=yB(c0,u0.mode,y0),a0.return=u0,u0=a0),S(u0)):d(u0,a0)}return w0}var Q4=Kq(!0),bq=Kq(!1),G5=Tu(null),Z5=null,v4=null,$S=null;function KS(){$S=v4=Z5=null}function bS(f){var h=G5.current;Wt(G5),f._currentValue=h}function wx(f,h,d){for(;f!==null;){var k=f.alternate;if((f.childLanes&h)!==h?(f.childLanes|=h,k!==null&&(k.childLanes|=h)):k!==null&&(k.childLanes&h)!==h&&(k.childLanes|=h),f===d)break;f=f.return}}function x4(f,h){Z5=f,$S=v4=null,f=f.dependencies,f!==null&&f.firstContext!==null&&(f.lanes&h&&(E1=!0),f.firstContext=null)}function Zo(f){var h=f._currentValue;if($S!==f)if(f={context:f,memoizedValue:h,next:null},v4===null){if(Z5===null)throw Error(Ve(308));v4=f,Z5.dependencies={lanes:0,firstContext:f}}else v4=v4.next=f;return h}var ta=null;function e_(f){ta===null?ta=[f]:ta.push(f)}function e$(f,h,d,k){var C=h.interleaved;return C===null?(d.next=d,e_(h)):(d.next=C.next,C.next=d),h.interleaved=d,$s(f,k)}function $s(f,h){f.lanes|=h;var d=f.alternate;for(d!==null&&(d.lanes|=h),d=f,f=f.return;f!==null;)f.childLanes|=h,d=f.alternate,d!==null&&(d.childLanes|=h),d=f,f=f.return;return d.tag===3?d.stateNode:null}var cu=!1;function r_(f){f.updateQueue={baseState:f.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function r$(f,h){f=f.updateQueue,h.updateQueue===f&&(h.updateQueue={baseState:f.baseState,firstBaseUpdate:f.firstBaseUpdate,lastBaseUpdate:f.lastBaseUpdate,shared:f.shared,effects:f.effects})}function Us(f,h){return{eventTime:f,lane:h,tag:0,payload:null,callback:null,next:null}}function Iu(f,h,d){var k=f.updateQueue;if(k===null)return null;if(k=k.shared,zr&2){var C=k.pending;return C===null?h.next=h:(h.next=C.next,C.next=h),k.pending=h,$s(f,d)}return C=k.interleaved,C===null?(h.next=h,e_(k)):(h.next=C.next,C.next=h),k.interleaved=h,$s(f,d)}function Pv(f,h,d){if(h=h.updateQueue,h!==null&&(h=h.shared,(d&4194240)!==0)){var k=h.lanes;k&=f.pendingLanes,d|=k,h.lanes=d,TS(f,d)}}function jO(f,h){var d=f.updateQueue,k=f.alternate;if(k!==null&&(k=k.updateQueue,d===k)){var C=null,I=null;if(d=d.firstBaseUpdate,d!==null){do{var S={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};I===null?C=I=S:I=I.next=S,d=d.next}while(d!==null);I===null?C=I=h:I=I.next=h}else C=I=h;d={baseState:k.baseState,firstBaseUpdate:C,lastBaseUpdate:I,shared:k.shared,effects:k.effects},f.updateQueue=d;return}f=d.lastBaseUpdate,f===null?d.firstBaseUpdate=h:f.next=h,d.lastBaseUpdate=h}function W5(f,h,d,k){var C=f.updateQueue;cu=!1;var I=C.firstBaseUpdate,S=C.lastBaseUpdate,Z=C.shared.pending;if(Z!==null){C.shared.pending=null;var R=Z,M=R.next;R.next=null,S===null?I=M:S.next=M,S=R;var Q=f.alternate;Q!==null&&(Q=Q.updateQueue,Z=Q.lastBaseUpdate,Z!==S&&(Z===null?Q.firstBaseUpdate=M:Z.next=M,Q.lastBaseUpdate=R))}if(I!==null){var O=C.baseState;S=0,Q=M=R=null,Z=I;do{var e0=Z.lane,o0=Z.eventTime;if((k&e0)===e0){Q!==null&&(Q=Q.next={eventTime:o0,lane:0,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null});e:{var A0=f,l0=Z;switch(e0=h,o0=d,l0.tag){case 1:if(A0=l0.payload,typeof A0=="function"){O=A0.call(o0,O,e0);break e}O=A0;break e;case 3:A0.flags=A0.flags&-65537|128;case 0:if(A0=l0.payload,e0=typeof A0=="function"?A0.call(o0,O,e0):A0,e0==null)break e;O=qt({},O,e0);break e;case 2:cu=!0}}Z.callback!==null&&Z.lane!==0&&(f.flags|=64,e0=C.effects,e0===null?C.effects=[Z]:e0.push(Z))}else o0={eventTime:o0,lane:e0,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null},Q===null?(M=Q=o0,R=O):Q=Q.next=o0,S|=e0;if(Z=Z.next,Z===null){if(Z=C.shared.pending,Z===null)break;e0=Z,Z=e0.next,e0.next=null,C.lastBaseUpdate=e0,C.shared.pending=null}}while(1);if(Q===null&&(R=O),C.baseState=R,C.firstBaseUpdate=M,C.lastBaseUpdate=Q,h=C.shared.interleaved,h!==null){C=h;do S|=C.lane,C=C.next;while(C!==h)}else I===null&&(C.shared.lanes=0);da|=S,f.lanes=S,f.memoizedState=O}}function NO(f,h,d){if(f=h.effects,h.effects=null,f!==null)for(h=0;hd?d:4,f(!0);var k=pB.transition;pB.transition={};try{f(!1),h()}finally{$r=d,pB.transition=k}}function v$(){return Wo().memoizedState}function XS0(f,h,d){var k=Su(f);if(d={lane:k,action:d,hasEagerState:!1,eagerState:null,next:null},m$(f))g$(h,d);else if(d=e$(f,h,d,k),d!==null){var C=r1();cl(d,f,k,C),y$(d,h,k)}}function qS0(f,h,d){var k=Su(f),C={lane:k,action:d,hasEagerState:!1,eagerState:null,next:null};if(m$(f))g$(h,C);else{var I=f.alternate;if(f.lanes===0&&(I===null||I.lanes===0)&&(I=h.lastRenderedReducer,I!==null))try{var S=h.lastRenderedState,Z=I(S,d);if(C.hasEagerState=!0,C.eagerState=Z,hl(Z,S)){var R=h.interleaved;R===null?(C.next=C,e_(h)):(C.next=R.next,R.next=C),h.interleaved=C;return}}catch{}finally{}d=e$(f,h,C,k),d!==null&&(C=r1(),cl(d,f,k,C),y$(d,h,k))}}function m$(f){var h=f.alternate;return f===Xt||h!==null&&h===Xt}function g$(f,h){$8=M5=!0;var d=f.pending;d===null?h.next=h:(h.next=d.next,d.next=h),f.pending=h}function y$(f,h,d){if(d&4194240){var k=h.lanes;k&=f.pendingLanes,d|=k,h.lanes=d,TS(f,d)}}var j5={readContext:Zo,useCallback:Zn,useContext:Zn,useEffect:Zn,useImperativeHandle:Zn,useInsertionEffect:Zn,useLayoutEffect:Zn,useMemo:Zn,useReducer:Zn,useRef:Zn,useState:Zn,useDebugValue:Zn,useDeferredValue:Zn,useTransition:Zn,useMutableSource:Zn,useSyncExternalStore:Zn,useId:Zn,unstable_isNewReconciler:!1},$S0={readContext:Zo,useCallback:function(f,h){return Jl().memoizedState=[f,h===void 0?null:h],f},useContext:Zo,useEffect:TO,useImperativeHandle:function(f,h,d){return d=d!=null?d.concat([f]):null,Ov(4194308,4,h$.bind(null,h,f),d)},useLayoutEffect:function(f,h){return Ov(4194308,4,f,h)},useInsertionEffect:function(f,h){return Ov(4,2,f,h)},useMemo:function(f,h){var d=Jl();return h=h===void 0?null:h,f=f(),d.memoizedState=[f,h],f},useReducer:function(f,h,d){var k=Jl();return h=d!==void 0?d(h):h,k.memoizedState=k.baseState=h,f={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:h},k.queue=f,f=f.dispatch=XS0.bind(null,Xt,f),[k.memoizedState,f]},useRef:function(f){var h=Jl();return f={current:f},h.memoizedState=f},useState:QO,useDebugValue:u_,useDeferredValue:function(f){return Jl().memoizedState=f},useTransition:function(){var f=QO(!1),h=f[0];return f=US0.bind(null,f[1]),Jl().memoizedState=f,[h,f]},useMutableSource:function(){},useSyncExternalStore:function(f,h,d){var k=Xt,C=Jl();if(Ft){if(d===void 0)throw Error(Ve(407));d=d()}else{if(d=h(),en===null)throw Error(Ve(349));wa&30||o$(k,h,d)}C.memoizedState=d;var I={value:d,getSnapshot:h};return C.queue=I,TO(s$.bind(null,k,I,f),[f]),k.flags|=2048,y6(9,l$.bind(null,k,I,d,h),void 0,null),d},useId:function(){var f=Jl(),h=en.identifierPrefix;if(Ft){var d=Os,k=Ys;d=(k&~(1<<32-al(k)-1)).toString(32)+d,h=":"+h+"R"+d,d=m6++,0<\/script>",f=f.removeChild(f.firstChild)):typeof k.is=="string"?f=S.createElement(d,{is:k.is}):(f=S.createElement(d),d==="select"&&(S=f,k.multiple?S.multiple=!0:k.size&&(S.size=k.size))):f=S.createElementNS(f,d),f[bl]=h,f[p6]=k,R$(f,h,!1,!1),h.stateNode=f;e:{switch(S=qI(d,k),d){case"dialog":Rt("cancel",f),Rt("close",f),C=k;break;case"iframe":case"object":case"embed":Rt("load",f),C=k;break;case"video":case"audio":for(C=0;CP4&&(h.flags|=128,k=!0,g8(I,!1),h.lanes=4194304)}else{if(!k)if(f=D5(S),f!==null){if(h.flags|=128,k=!0,d=f.updateQueue,d!==null&&(h.updateQueue=d,h.flags|=4),g8(I,!0),I.tail===null&&I.tailMode==="hidden"&&!S.alternate&&!Ft)return Wn(h),null}else 2*hi()-I.renderingStartTime>P4&&d!==1073741824&&(h.flags|=128,k=!0,g8(I,!1),h.lanes=4194304);I.isBackwards?(S.sibling=h.child,h.child=S):(d=I.last,d!==null?d.sibling=S:h.child=S,I.last=S)}return I.tail!==null?(h=I.tail,I.rendering=h,I.tail=h.sibling,I.renderingStartTime=hi(),h.sibling=null,d=Ut.current,xt(Ut,k?d&1|2:d&1),h):(Wn(h),null);case 22:case 23:return d_(),k=h.memoizedState!==null,f!==null&&f.memoizedState!==null!==k&&(h.flags|=8192),k&&h.mode&1?O1&1073741824&&(Wn(h),h.subtreeFlags&6&&(h.flags|=8192)):Wn(h),null;case 24:return null;case 25:return null}throw Error(Ve(156,h.tag))}function o_0(f,h){switch(XS(h),h.tag){case 1:return x1(h.type)&&_5(),f=h.flags,f&65536?(h.flags=f&-65537|128,h):null;case 3:return T4(),Wt(I1),Wt(Tn),n_(),f=h.flags,f&65536&&!(f&128)?(h.flags=f&-65537|128,h):null;case 5:return i_(h),null;case 13:if(Wt(Ut),f=h.memoizedState,f!==null&&f.dehydrated!==null){if(h.alternate===null)throw Error(Ve(340));N4()}return f=h.flags,f&65536?(h.flags=f&-65537|128,h):null;case 19:return Wt(Ut),null;case 4:return T4(),null;case 10:return bS(h.type._context),null;case 22:case 23:return d_(),null;case 24:return null;default:return null}}var fv=!1,Qn=!1,l_0=typeof WeakSet=="function"?WeakSet:Set,p2=null;function m4(f,h){var d=f.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(k){ni(f,h,k)}else d.current=null}function Ex(f,h,d){try{d()}catch(k){ni(f,h,k)}}var $O=!1;function s_0(f,h){if(lx=B5,f=Nq(),JS(f)){if("selectionStart"in f)var d={start:f.selectionStart,end:f.selectionEnd};else e:{d=(d=f.ownerDocument)&&d.defaultView||window;var k=d.getSelection&&d.getSelection();if(k&&k.rangeCount!==0){d=k.anchorNode;var C=k.anchorOffset,I=k.focusNode;k=k.focusOffset;try{d.nodeType,I.nodeType}catch{d=null;break e}var S=0,Z=-1,R=-1,M=0,Q=0,O=f,e0=null;r:for(;;){for(var o0;O!==d||C!==0&&O.nodeType!==3||(Z=S+C),O!==I||k!==0&&O.nodeType!==3||(R=S+k),O.nodeType===3&&(S+=O.nodeValue.length),(o0=O.firstChild)!==null;)e0=O,O=o0;for(;;){if(O===f)break r;if(e0===d&&++M===C&&(Z=S),e0===I&&++Q===k&&(R=S),(o0=O.nextSibling)!==null)break;O=e0,e0=O.parentNode}O=o0}d=Z===-1||R===-1?null:{start:Z,end:R}}else d=null}d=d||{start:0,end:0}}else d=null;for(sx={focusedElem:f,selectionRange:d},B5=!1,p2=h;p2!==null;)if(h=p2,f=h.child,(h.subtreeFlags&1028)!==0&&f!==null)f.return=h,p2=f;else for(;p2!==null;){h=p2;try{var A0=h.alternate;if(h.flags&1024)switch(h.tag){case 0:case 11:case 15:break;case 1:if(A0!==null){var l0=A0.memoizedProps,w0=A0.memoizedState,u0=h.stateNode,a0=u0.getSnapshotBeforeUpdate(h.elementType===h.type?l0:ll(h.type,l0),w0);u0.__reactInternalSnapshotBeforeUpdate=a0}break;case 3:var c0=h.stateNode.containerInfo;c0.nodeType===1?c0.textContent="":c0.nodeType===9&&c0.documentElement&&c0.removeChild(c0.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Ve(163))}}catch(y0){ni(h,h.return,y0)}if(f=h.sibling,f!==null){f.return=h.return,p2=f;break}p2=h.return}return A0=$O,$O=!1,A0}function K8(f,h,d){var k=h.updateQueue;if(k=k!==null?k.lastEffect:null,k!==null){var C=k=k.next;do{if((C.tag&f)===f){var I=C.destroy;C.destroy=void 0,I!==void 0&&Ex(h,d,I)}C=C.next}while(C!==k)}}function Nm(f,h){if(h=h.updateQueue,h=h!==null?h.lastEffect:null,h!==null){var d=h=h.next;do{if((d.tag&f)===f){var k=d.create;d.destroy=k()}d=d.next}while(d!==h)}}function Bx(f){var h=f.ref;if(h!==null){var d=f.stateNode;switch(f.tag){case 5:f=d;break;default:f=d}typeof h=="function"?h(f):h.current=f}}function W$(f){var h=f.alternate;h!==null&&(f.alternate=null,W$(h)),f.child=null,f.deletions=null,f.sibling=null,f.tag===5&&(h=f.stateNode,h!==null&&(delete h[bl],delete h[p6],delete h[fx],delete h[YS0],delete h[OS0])),f.stateNode=null,f.return=null,f.dependencies=null,f.memoizedProps=null,f.memoizedState=null,f.pendingProps=null,f.stateNode=null,f.updateQueue=null}function D$(f){return f.tag===5||f.tag===3||f.tag===4}function KO(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||D$(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function Ix(f,h,d){var k=f.tag;if(k===5||k===6)f=f.stateNode,h?d.nodeType===8?d.parentNode.insertBefore(f,h):d.insertBefore(f,h):(d.nodeType===8?(h=d.parentNode,h.insertBefore(f,d)):(h=d,h.appendChild(f)),d=d._reactRootContainer,d!=null||h.onclick!==null||(h.onclick=S5));else if(k!==4&&(f=f.child,f!==null))for(Ix(f,h,d),f=f.sibling;f!==null;)Ix(f,h,d),f=f.sibling}function xx(f,h,d){var k=f.tag;if(k===5||k===6)f=f.stateNode,h?d.insertBefore(f,h):d.appendChild(f);else if(k!==4&&(f=f.child,f!==null))for(xx(f,h,d),f=f.sibling;f!==null;)xx(f,h,d),f=f.sibling}var pn=null,sl=!1;function uu(f,h,d){for(d=d.child;d!==null;)M$(f,h,d),d=d.sibling}function M$(f,h,d){if(ts&&typeof ts.onCommitFiberUnmount=="function")try{ts.onCommitFiberUnmount(Lm,d)}catch{}switch(d.tag){case 5:Qn||m4(d,h);case 6:var k=pn,C=sl;pn=null,uu(f,h,d),pn=k,sl=C,pn!==null&&(sl?(f=pn,d=d.stateNode,f.nodeType===8?f.parentNode.removeChild(d):f.removeChild(d)):pn.removeChild(d.stateNode));break;case 18:pn!==null&&(sl?(f=pn,d=d.stateNode,f.nodeType===8?hB(f.parentNode,d):f.nodeType===1&&hB(f,d),a6(f)):hB(pn,d.stateNode));break;case 4:k=pn,C=sl,pn=d.stateNode.containerInfo,sl=!0,uu(f,h,d),pn=k,sl=C;break;case 0:case 11:case 14:case 15:if(!Qn&&(k=d.updateQueue,k!==null&&(k=k.lastEffect,k!==null))){C=k=k.next;do{var I=C,S=I.destroy;I=I.tag,S!==void 0&&(I&2||I&4)&&Ex(d,h,S),C=C.next}while(C!==k)}uu(f,h,d);break;case 1:if(!Qn&&(m4(d,h),k=d.stateNode,typeof k.componentWillUnmount=="function"))try{k.props=d.memoizedProps,k.state=d.memoizedState,k.componentWillUnmount()}catch(Z){ni(d,h,Z)}uu(f,h,d);break;case 21:uu(f,h,d);break;case 22:d.mode&1?(Qn=(k=Qn)||d.memoizedState!==null,uu(f,h,d),Qn=k):uu(f,h,d);break;default:uu(f,h,d)}}function bO(f){var h=f.updateQueue;if(h!==null){f.updateQueue=null;var d=f.stateNode;d===null&&(d=f.stateNode=new l_0),h.forEach(function(k){var C=p_0.bind(null,f,k);d.has(k)||(d.add(k),k.then(C,C))})}}function ol(f,h){var d=h.deletions;if(d!==null)for(var k=0;kC&&(C=S),k&=~I}if(k=C,k=hi()-k,k=(120>k?120:480>k?480:1080>k?1080:1920>k?1920:3e3>k?3e3:4320>k?4320:1960*u_0(k/1960))-k,10f?16:f,ku===null)var k=!1;else{if(f=ku,ku=null,T5=0,zr&6)throw Error(Ve(331));var C=zr;for(zr|=4,p2=f.current;p2!==null;){var I=p2,S=I.child;if(p2.flags&16){var Z=I.deletions;if(Z!==null){for(var R=0;Rhi()-h_?la(f,0):c_|=d),S1(f,h)}function O$(f,h){h===0&&(f.mode&1?(h=rv,rv<<=1,!(rv&130023424)&&(rv=4194304)):h=1);var d=r1();f=$s(f,h),f!==null&&(P6(f,h,d),S1(f,d))}function d_0(f){var h=f.memoizedState,d=0;h!==null&&(d=h.retryLane),O$(f,d)}function p_0(f,h){var d=0;switch(f.tag){case 13:var k=f.stateNode,C=f.memoizedState;C!==null&&(d=C.retryLane);break;case 19:k=f.stateNode;break;default:throw Error(Ve(314))}k!==null&&k.delete(h),O$(f,d)}var V$;V$=function(f,h,d){if(f!==null)if(f.memoizedProps!==h.pendingProps||I1.current)E1=!0;else{if(!(f.lanes&d)&&!(h.flags&128))return E1=!1,i_0(f,h,d);E1=!!(f.flags&131072)}else E1=!1,Ft&&h.flags&1048576&&Xq(h,R5,h.index);switch(h.lanes=0,h.tag){case 2:var k=h.type;Vv(f,h),f=h.pendingProps;var C=j4(h,Tn.current);x4(h,d),C=l_(null,h,k,f,C,d);var I=s_();return h.flags|=1,typeof C=="object"&&C!==null&&typeof C.render=="function"&&C.$$typeof===void 0?(h.tag=1,h.memoizedState=null,h.updateQueue=null,x1(k)?(I=!0,z5(h)):I=!1,h.memoizedState=C.state!==null&&C.state!==void 0?C.state:null,r_(h),C.updater=jm,h.stateNode=C,C._reactInternals=h,px(h,k,f,d),h=mx(null,h,k,!0,I,d)):(h.tag=0,Ft&&I&&US(h),bn(null,h,C,d),h=h.child),h;case 16:k=h.elementType;e:{switch(Vv(f,h),f=h.pendingProps,C=k._init,k=C(k._payload),h.type=k,C=h.tag=v_0(k),f=ll(k,f),C){case 0:h=vx(null,h,k,f,d);break e;case 1:h=UO(null,h,k,f,d);break e;case 11:h=HO(null,h,k,f,d);break e;case 14:h=JO(null,h,k,ll(k.type,f),d);break e}throw Error(Ve(306,k,""))}return h;case 0:return k=h.type,C=h.pendingProps,C=h.elementType===k?C:ll(k,C),vx(f,h,k,C,d);case 1:return k=h.type,C=h.pendingProps,C=h.elementType===k?C:ll(k,C),UO(f,h,k,C,d);case 3:e:{if(_$(h),f===null)throw Error(Ve(387));k=h.pendingProps,I=h.memoizedState,C=I.element,r$(f,h),W5(h,k,null,d);var S=h.memoizedState;if(k=S.element,I.isDehydrated)if(I={element:k,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},h.updateQueue.baseState=I,h.memoizedState=I,h.flags&256){C=F4(Error(Ve(423)),h),h=XO(f,h,k,d,C);break e}else if(k!==C){C=F4(Error(Ve(424)),h),h=XO(f,h,k,d,C);break e}else for(J1=Bu(h.stateNode.containerInfo.firstChild),X1=h,Ft=!0,Al=null,d=bq(h,null,k,d),h.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(N4(),k===C){h=Ks(f,h,d);break e}bn(f,h,k,d)}h=h.child}return h;case 5:return t$(h),f===null&&hx(h),k=h.type,C=h.pendingProps,I=f!==null?f.memoizedProps:null,S=C.children,Ax(k,C)?S=null:I!==null&&Ax(k,I)&&(h.flags|=32),S$(f,h),bn(f,h,S,d),h.child;case 6:return f===null&&hx(h),null;case 13:return z$(f,h,d);case 4:return t_(h,h.stateNode.containerInfo),k=h.pendingProps,f===null?h.child=Q4(h,null,k,d):bn(f,h,k,d),h.child;case 11:return k=h.type,C=h.pendingProps,C=h.elementType===k?C:ll(k,C),HO(f,h,k,C,d);case 7:return bn(f,h,h.pendingProps,d),h.child;case 8:return bn(f,h,h.pendingProps.children,d),h.child;case 12:return bn(f,h,h.pendingProps.children,d),h.child;case 10:e:{if(k=h.type._context,C=h.pendingProps,I=h.memoizedProps,S=C.value,xt(G5,k._currentValue),k._currentValue=S,I!==null)if(hl(I.value,S)){if(I.children===C.children&&!I1.current){h=Ks(f,h,d);break e}}else for(I=h.child,I!==null&&(I.return=h);I!==null;){var Z=I.dependencies;if(Z!==null){S=I.child;for(var R=Z.firstContext;R!==null;){if(R.context===k){if(I.tag===1){R=Us(-1,d&-d),R.tag=2;var M=I.updateQueue;if(M!==null){M=M.shared;var Q=M.pending;Q===null?R.next=R:(R.next=Q.next,Q.next=R),M.pending=R}}I.lanes|=d,R=I.alternate,R!==null&&(R.lanes|=d),wx(I.return,d,h),Z.lanes|=d;break}R=R.next}}else if(I.tag===10)S=I.type===h.type?null:I.child;else if(I.tag===18){if(S=I.return,S===null)throw Error(Ve(341));S.lanes|=d,Z=S.alternate,Z!==null&&(Z.lanes|=d),wx(S,d,h),S=I.sibling}else S=I.child;if(S!==null)S.return=I;else for(S=I;S!==null;){if(S===h){S=null;break}if(I=S.sibling,I!==null){I.return=S.return,S=I;break}S=S.return}I=S}bn(f,h,C.children,d),h=h.child}return h;case 9:return C=h.type,k=h.pendingProps.children,x4(h,d),C=Zo(C),k=k(C),h.flags|=1,bn(f,h,k,d),h.child;case 14:return k=h.type,C=ll(k,h.pendingProps),C=ll(k.type,C),JO(f,h,k,C,d);case 15:return I$(f,h,h.type,h.pendingProps,d);case 17:return k=h.type,C=h.pendingProps,C=h.elementType===k?C:ll(k,C),Vv(f,h),h.tag=1,x1(k)?(f=!0,z5(h)):f=!1,x4(h,d),C$(h,k,C),px(h,k,C,d),mx(null,h,k,!0,f,d);case 19:return L$(f,h,d);case 22:return x$(f,h,d)}throw Error(Ve(156,h.tag))};function H$(f,h){return mq(f,h)}function k_0(f,h,d,k){this.tag=f,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=h,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=k,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zo(f,h,d,k){return new k_0(f,h,d,k)}function k_(f){return f=f.prototype,!(!f||!f.isReactComponent)}function v_0(f){if(typeof f=="function")return k_(f)?1:0;if(f!=null){if(f=f.$$typeof,f===MS)return 11;if(f===jS)return 14}return 2}function _u(f,h){var d=f.alternate;return d===null?(d=zo(f.tag,h,f.key,f.mode),d.elementType=f.elementType,d.type=f.type,d.stateNode=f.stateNode,d.alternate=f,f.alternate=d):(d.pendingProps=h,d.type=f.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=f.flags&14680064,d.childLanes=f.childLanes,d.lanes=f.lanes,d.child=f.child,d.memoizedProps=f.memoizedProps,d.memoizedState=f.memoizedState,d.updateQueue=f.updateQueue,h=f.dependencies,d.dependencies=h===null?null:{lanes:h.lanes,firstContext:h.firstContext},d.sibling=f.sibling,d.index=f.index,d.ref=f.ref,d}function Uv(f,h,d,k,C,I){var S=2;if(k=f,typeof f=="function")k_(f)&&(S=1);else if(typeof f=="string")S=5;else e:switch(f){case f4:return sa(d.children,C,I,h);case DS:S=8,C|=8;break;case TI:return f=zo(12,d,h,C|2),f.elementType=TI,f.lanes=I,f;case FI:return f=zo(13,d,h,C),f.elementType=FI,f.lanes=I,f;case PI:return f=zo(19,d,h,C),f.elementType=PI,f.lanes=I,f;case tq:return Tm(d,C,I,h);default:if(typeof f=="object"&&f!==null)switch(f.$$typeof){case eq:S=10;break e;case rq:S=9;break e;case MS:S=11;break e;case jS:S=14;break e;case au:S=16,k=null;break e}throw Error(Ve(130,f==null?f:typeof f,""))}return h=zo(S,d,h,C),h.elementType=f,h.type=k,h.lanes=I,h}function sa(f,h,d,k){return f=zo(7,f,k,h),f.lanes=d,f}function Tm(f,h,d,k){return f=zo(22,f,k,h),f.elementType=tq,f.lanes=d,f.stateNode={isHidden:!1},f}function yB(f,h,d){return f=zo(6,f,null,h),f.lanes=d,f}function CB(f,h,d){return h=zo(4,f.children!==null?f.children:[],f.key,h),h.lanes=d,h.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},h}function m_0(f,h,d,k,C){this.tag=h,this.containerInfo=f,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tB(0),this.expirationTimes=tB(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tB(0),this.identifierPrefix=k,this.onRecoverableError=C,this.mutableSourceEagerHydrationData=null}function v_(f,h,d,k,C,I,S,Z,R){return f=new m_0(f,h,d,Z,R),h===1?(h=1,I===!0&&(h|=8)):h=0,I=zo(3,null,null,h),f.current=I,I.stateNode=f,I.memoizedState={element:k,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},r_(I),f}function g_0(f,h,d){var k=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(q$)}catch(f){console.error(f)}}q$(),qX.exports=eo;var H6=qX.exports,sV=H6;NI.createRoot=sV.createRoot,NI.hydrateRoot=sV.hydrateRoot;/** - * @remix-run/router v1.16.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function E6(){return E6=Object.assign?Object.assign.bind():function(f){for(var h=1;h"u")throw new Error(h)}function $$(f,h){if(!f){typeof console<"u"&&console.warn(h);try{throw new Error(h)}catch{}}}function x_0(){return Math.random().toString(36).substr(2,8)}function uV(f,h){return{usr:f.state,key:f.key,idx:h}}function Rx(f,h,d,k){return d===void 0&&(d=null),E6({pathname:typeof f=="string"?f:f.pathname,search:"",hash:""},typeof h=="string"?s3(h):h,{state:d,key:h&&h.key||k||x_0()})}function Y5(f){let{pathname:h="/",search:d="",hash:k=""}=f;return d&&d!=="?"&&(h+=d.charAt(0)==="?"?d:"?"+d),k&&k!=="#"&&(h+=k.charAt(0)==="#"?k:"#"+k),h}function s3(f){let h={};if(f){let d=f.indexOf("#");d>=0&&(h.hash=f.substr(d),f=f.substr(0,d));let k=f.indexOf("?");k>=0&&(h.search=f.substr(k),f=f.substr(0,k)),f&&(h.pathname=f)}return h}function S_0(f,h,d,k){k===void 0&&(k={});let{window:C=document.defaultView,v5Compat:I=!1}=k,S=C.history,Z=vu.Pop,R=null,M=Q();M==null&&(M=0,S.replaceState(E6({},S.state,{idx:M}),""));function Q(){return(S.state||{idx:null}).idx}function O(){Z=vu.Pop;let w0=Q(),u0=w0==null?null:w0-M;M=w0,R&&R({action:Z,location:l0.location,delta:u0})}function e0(w0,u0){Z=vu.Push;let a0=Rx(l0.location,w0,u0);d&&d(a0,w0),M=Q()+1;let c0=uV(a0,M),y0=l0.createHref(a0);try{S.pushState(c0,"",y0)}catch(C0){if(C0 instanceof DOMException&&C0.name==="DataCloneError")throw C0;C.location.assign(y0)}I&&R&&R({action:Z,location:l0.location,delta:1})}function o0(w0,u0){Z=vu.Replace;let a0=Rx(l0.location,w0,u0);d&&d(a0,w0),M=Q();let c0=uV(a0,M),y0=l0.createHref(a0);S.replaceState(c0,"",y0),I&&R&&R({action:Z,location:l0.location,delta:0})}function A0(w0){let u0=C.location.origin!=="null"?C.location.origin:C.location.href,a0=typeof w0=="string"?w0:Y5(w0);return a0=a0.replace(/ $/,"%20"),_i(u0,"No window.location.(origin|href) available to create URL for href: "+a0),new URL(a0,u0)}let l0={get action(){return Z},get location(){return f(C,S)},listen(w0){if(R)throw new Error("A history only accepts one active listener");return C.addEventListener(AV,O),R=w0,()=>{C.removeEventListener(AV,O),R=null}},createHref(w0){return h(C,w0)},createURL:A0,encodeLocation(w0){let u0=A0(w0);return{pathname:u0.pathname,search:u0.search,hash:u0.hash}},push:e0,replace:o0,go(w0){return S.go(w0)}};return l0}var fV;(function(f){f.data="data",f.deferred="deferred",f.redirect="redirect",f.error="error"})(fV||(fV={}));function __0(f,h,d){d===void 0&&(d="/");let k=typeof h=="string"?s3(h):h,C=C_(k.pathname||"/",d);if(C==null)return null;let I=K$(f);z_0(I);let S=null;for(let Z=0;S==null&&Z{let R={relativePath:Z===void 0?I.path||"":Z,caseSensitive:I.caseSensitive===!0,childrenIndex:S,route:I};R.relativePath.startsWith("/")&&(_i(R.relativePath.startsWith(k),'Absolute route path "'+R.relativePath+'" nested under path '+('"'+k+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),R.relativePath=R.relativePath.slice(k.length));let M=zu([k,R.relativePath]),Q=d.concat(R);I.children&&I.children.length>0&&(_i(I.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+M+'".')),K$(I.children,h,Q,M)),!(I.path==null&&!I.index)&&h.push({path:M,score:M_0(M,I.index),routesMeta:Q})};return f.forEach((I,S)=>{var Z;if(I.path===""||!((Z=I.path)!=null&&Z.includes("?")))C(I,S);else for(let R of b$(I.path))C(I,S,R)}),h}function b$(f){let h=f.split("/");if(h.length===0)return[];let[d,...k]=h,C=d.endsWith("?"),I=d.replace(/\?$/,"");if(k.length===0)return C?[I,""]:[I];let S=b$(k.join("/")),Z=[];return Z.push(...S.map(R=>R===""?I:[I,R].join("/"))),C&&Z.push(...S),Z.map(R=>f.startsWith("/")&&R===""?"/":R)}function z_0(f){f.sort((h,d)=>h.score!==d.score?d.score-h.score:j_0(h.routesMeta.map(k=>k.childrenIndex),d.routesMeta.map(k=>k.childrenIndex)))}const L_0=/^:[\w-]+$/,R_0=3,G_0=2,Z_0=1,W_0=10,D_0=-2,aV=f=>f==="*";function M_0(f,h){let d=f.split("/"),k=d.length;return d.some(aV)&&(k+=D_0),h&&(k+=G_0),d.filter(C=>!aV(C)).reduce((C,I)=>C+(L_0.test(I)?R_0:I===""?Z_0:W_0),k)}function j_0(f,h){return f.length===h.length&&f.slice(0,-1).every((k,C)=>k===h[C])?f[f.length-1]-h[h.length-1]:0}function N_0(f,h){let{routesMeta:d}=f,k={},C="/",I=[];for(let S=0;S{let{paramName:e0,isOptional:o0}=Q;if(e0==="*"){let l0=Z[O]||"";S=I.slice(0,I.length-l0.length).replace(/(.)\/+$/,"$1")}const A0=Z[O];return o0&&!A0?M[e0]=void 0:M[e0]=(A0||"").replace(/%2F/g,"/"),M},{}),pathname:I,pathnameBase:S,pattern:f}}function T_0(f,h,d){h===void 0&&(h=!1),d===void 0&&(d=!0),$$(f==="*"||!f.endsWith("*")||f.endsWith("/*"),'Route path "'+f+'" will be treated as if it were '+('"'+f.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+f.replace(/\*$/,"/*")+'".'));let k=[],C="^"+f.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(S,Z,R)=>(k.push({paramName:Z,isOptional:R!=null}),R?"/?([^\\/]+)?":"/([^\\/]+)"));return f.endsWith("*")?(k.push({paramName:"*"}),C+=f==="*"||f==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):d?C+="\\/*$":f!==""&&f!=="/"&&(C+="(?:(?=\\/|$))"),[new RegExp(C,h?void 0:"i"),k]}function F_0(f){try{return f.split("/").map(h=>decodeURIComponent(h).replace(/\//g,"%2F")).join("/")}catch(h){return $$(!1,'The URL path "'+f+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+h+").")),f}}function C_(f,h){if(h==="/")return f;if(!f.toLowerCase().startsWith(h.toLowerCase()))return null;let d=h.endsWith("/")?h.length-1:h.length,k=f.charAt(d);return k&&k!=="/"?null:f.slice(d)||"/"}function P_0(f,h){h===void 0&&(h="/");let{pathname:d,search:k="",hash:C=""}=typeof f=="string"?s3(f):f;return{pathname:d?d.startsWith("/")?d:Y_0(d,h):h,search:H_0(k),hash:J_0(C)}}function Y_0(f,h){let d=h.replace(/\/+$/,"").split("/");return f.split("/").forEach(C=>{C===".."?d.length>1&&d.pop():C!=="."&&d.push(C)}),d.length>1?d.join("/"):"/"}function EB(f,h,d,k){return"Cannot include a '"+f+"' character in a manually specified "+("`to."+h+"` field ["+JSON.stringify(k)+"]. Please separate it out to the ")+("`to."+d+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function O_0(f){return f.filter((h,d)=>d===0||h.route.path&&h.route.path.length>0)}function eK(f,h){let d=O_0(f);return h?d.map((k,C)=>C===f.length-1?k.pathname:k.pathnameBase):d.map(k=>k.pathnameBase)}function rK(f,h,d,k){k===void 0&&(k=!1);let C;typeof f=="string"?C=s3(f):(C=E6({},f),_i(!C.pathname||!C.pathname.includes("?"),EB("?","pathname","search",C)),_i(!C.pathname||!C.pathname.includes("#"),EB("#","pathname","hash",C)),_i(!C.search||!C.search.includes("#"),EB("#","search","hash",C)));let I=f===""||C.pathname==="",S=I?"/":C.pathname,Z;if(S==null)Z=d;else{let O=h.length-1;if(!k&&S.startsWith("..")){let e0=S.split("/");for(;e0[0]==="..";)e0.shift(),O-=1;C.pathname=e0.join("/")}Z=O>=0?h[O]:"/"}let R=P_0(C,Z),M=S&&S!=="/"&&S.endsWith("/"),Q=(I||S===".")&&d.endsWith("/");return!R.pathname.endsWith("/")&&(M||Q)&&(R.pathname+="/"),R}const zu=f=>f.join("/").replace(/\/\/+/g,"/"),V_0=f=>f.replace(/\/+$/,"").replace(/^\/*/,"/"),H_0=f=>!f||f==="?"?"":f.startsWith("?")?f:"?"+f,J_0=f=>!f||f==="#"?"":f.startsWith("#")?f:"#"+f;function U_0(f){return f!=null&&typeof f.status=="number"&&typeof f.statusText=="string"&&typeof f.internal=="boolean"&&"data"in f}const tK=["post","put","patch","delete"];new Set(tK);const X_0=["get",...tK];new Set(X_0);/** - * React Router v6.23.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function B6(){return B6=Object.assign?Object.assign.bind():function(f){for(var h=1;h{Z.current=!0}),T0.useCallback(function(M,Q){if(Q===void 0&&(Q={}),!Z.current)return;if(typeof M=="number"){k.go(M);return}let O=rK(M,JSON.parse(S),I,Q.relative==="path");f==null&&h!=="/"&&(O.pathname=O.pathname==="/"?h:zu([h,O.pathname])),(Q.replace?k.replace:k.push)(O,Q.state,Q)},[h,k,S,I,f])}const b_0=T0.createContext(null);function ez0(f){let h=T0.useContext(Pu).outlet;return h&&T0.createElement(b_0.Provider,{value:f},h)}function lK(f,h){let{relative:d}=h===void 0?{}:h,{future:k}=T0.useContext(Sa),{matches:C}=T0.useContext(Pu),{pathname:I}=Hm(),S=JSON.stringify(eK(C,k.v7_relativeSplatPath));return T0.useMemo(()=>rK(f,JSON.parse(S),I,d==="path"),[f,S,I,d])}function rz0(f,h){return tz0(f,h)}function tz0(f,h,d,k){J6()||_i(!1);let{navigator:C}=T0.useContext(Sa),{matches:I}=T0.useContext(Pu),S=I[I.length-1],Z=S?S.params:{};S&&S.pathname;let R=S?S.pathnameBase:"/";S&&S.route;let M=Hm(),Q;if(h){var O;let w0=typeof h=="string"?s3(h):h;R==="/"||(O=w0.pathname)!=null&&O.startsWith(R)||_i(!1),Q=w0}else Q=M;let e0=Q.pathname||"/",o0=e0;if(R!=="/"){let w0=R.replace(/^\//,"").split("/");o0="/"+e0.replace(/^\//,"").split("/").slice(w0.length).join("/")}let A0=__0(f,{pathname:o0}),l0=sz0(A0&&A0.map(w0=>Object.assign({},w0,{params:Object.assign({},Z,w0.params),pathname:zu([R,C.encodeLocation?C.encodeLocation(w0.pathname).pathname:w0.pathname]),pathnameBase:w0.pathnameBase==="/"?R:zu([R,C.encodeLocation?C.encodeLocation(w0.pathnameBase).pathname:w0.pathnameBase])})),I,d,k);return h&&l0?T0.createElement(Vm.Provider,{value:{location:B6({pathname:"/",search:"",hash:"",state:null,key:"default"},Q),navigationType:vu.Pop}},l0):l0}function iz0(){let f=az0(),h=U_0(f)?f.status+" "+f.statusText:f instanceof Error?f.message:JSON.stringify(f),d=f instanceof Error?f.stack:null,C={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},I=null;return T0.createElement(T0.Fragment,null,T0.createElement("h2",null,"Unexpected Application Error!"),T0.createElement("h3",{style:{fontStyle:"italic"}},h),d?T0.createElement("pre",{style:C},d):null,I)}const nz0=T0.createElement(iz0,null);class oz0 extends T0.Component{constructor(h){super(h),this.state={location:h.location,revalidation:h.revalidation,error:h.error}}static getDerivedStateFromError(h){return{error:h}}static getDerivedStateFromProps(h,d){return d.location!==h.location||d.revalidation!=="idle"&&h.revalidation==="idle"?{error:h.error,location:h.location,revalidation:h.revalidation}:{error:h.error!==void 0?h.error:d.error,location:d.location,revalidation:h.revalidation||d.revalidation}}componentDidCatch(h,d){console.error("React Router caught the following error during render",h,d)}render(){return this.state.error!==void 0?T0.createElement(Pu.Provider,{value:this.props.routeContext},T0.createElement(iK.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function lz0(f){let{routeContext:h,match:d,children:k}=f,C=T0.useContext(E_);return C&&C.static&&C.staticContext&&(d.route.errorElement||d.route.ErrorBoundary)&&(C.staticContext._deepestRenderedBoundaryId=d.route.id),T0.createElement(Pu.Provider,{value:h},k)}function sz0(f,h,d,k){var C;if(h===void 0&&(h=[]),d===void 0&&(d=null),k===void 0&&(k=null),f==null){var I;if((I=d)!=null&&I.errors)f=d.matches;else return null}let S=f,Z=(C=d)==null?void 0:C.errors;if(Z!=null){let Q=S.findIndex(O=>O.route.id&&(Z==null?void 0:Z[O.route.id])!==void 0);Q>=0||_i(!1),S=S.slice(0,Math.min(S.length,Q+1))}let R=!1,M=-1;if(d&&k&&k.v7_partialHydration)for(let Q=0;Q=0?S=S.slice(0,M+1):S=[S[0]];break}}}return S.reduceRight((Q,O,e0)=>{let o0,A0=!1,l0=null,w0=null;d&&(o0=Z&&O.route.id?Z[O.route.id]:void 0,l0=O.route.errorElement||nz0,R&&(M<0&&e0===0?(hz0("route-fallback",!1),A0=!0,w0=null):M===e0&&(A0=!0,w0=O.route.hydrateFallbackElement||null)));let u0=h.concat(S.slice(0,e0+1)),a0=()=>{let c0;return o0?c0=l0:A0?c0=w0:O.route.Component?c0=T0.createElement(O.route.Component,null):O.route.element?c0=O.route.element:c0=Q,T0.createElement(lz0,{match:O,routeContext:{outlet:Q,matches:u0,isDataRoute:d!=null},children:c0})};return d&&(O.route.ErrorBoundary||O.route.errorElement||e0===0)?T0.createElement(oz0,{location:d.location,revalidation:d.revalidation,component:l0,error:o0,children:a0(),routeContext:{outlet:null,matches:u0,isDataRoute:!0}}):a0()},null)}var sK=function(f){return f.UseBlocker="useBlocker",f.UseRevalidator="useRevalidator",f.UseNavigateStable="useNavigate",f}(sK||{}),O5=function(f){return f.UseBlocker="useBlocker",f.UseLoaderData="useLoaderData",f.UseActionData="useActionData",f.UseRouteError="useRouteError",f.UseNavigation="useNavigation",f.UseRouteLoaderData="useRouteLoaderData",f.UseMatches="useMatches",f.UseRevalidator="useRevalidator",f.UseNavigateStable="useNavigate",f.UseRouteId="useRouteId",f}(O5||{});function Az0(f){let h=T0.useContext(E_);return h||_i(!1),h}function uz0(f){let h=T0.useContext(q_0);return h||_i(!1),h}function fz0(f){let h=T0.useContext(Pu);return h||_i(!1),h}function AK(f){let h=fz0(),d=h.matches[h.matches.length-1];return d.route.id||_i(!1),d.route.id}function az0(){var f;let h=T0.useContext(iK),d=uz0(O5.UseRouteError),k=AK(O5.UseRouteError);return h!==void 0?h:(f=d.errors)==null?void 0:f[k]}function cz0(){let{router:f}=Az0(sK.UseNavigateStable),h=AK(O5.UseNavigateStable),d=T0.useRef(!1);return nK(()=>{d.current=!0}),T0.useCallback(function(C,I){I===void 0&&(I={}),d.current&&(typeof C=="number"?f.navigate(C):f.navigate(C,B6({fromRouteId:h},I)))},[f,h])}const cV={};function hz0(f,h,d){!h&&!cV[f]&&(cV[f]=!0)}function wz0(f){return ez0(f.context)}function Gt(f){_i(!1)}function dz0(f){let{basename:h="/",children:d=null,location:k,navigationType:C=vu.Pop,navigator:I,static:S=!1,future:Z}=f;J6()&&_i(!1);let R=h.replace(/^\/*/,"/"),M=T0.useMemo(()=>({basename:R,navigator:I,static:S,future:B6({v7_relativeSplatPath:!1},Z)}),[R,Z,I,S]);typeof k=="string"&&(k=s3(k));let{pathname:Q="/",search:O="",hash:e0="",state:o0=null,key:A0="default"}=k,l0=T0.useMemo(()=>{let w0=C_(Q,R);return w0==null?null:{location:{pathname:w0,search:O,hash:e0,state:o0,key:A0},navigationType:C}},[R,Q,O,e0,o0,A0,C]);return l0==null?null:T0.createElement(Sa.Provider,{value:M},T0.createElement(Vm.Provider,{children:d,value:l0}))}function pz0(f){let{children:h,location:d}=f;return rz0(Gx(h),d)}new Promise(()=>{});function Gx(f,h){h===void 0&&(h=[]);let d=[];return T0.Children.forEach(f,(k,C)=>{if(!T0.isValidElement(k))return;let I=[...h,C];if(k.type===T0.Fragment){d.push.apply(d,Gx(k.props.children,I));return}k.type!==Gt&&_i(!1),!k.props.index||!k.props.children||_i(!1);let S={id:k.props.id||I.join("-"),caseSensitive:k.props.caseSensitive,element:k.props.element,Component:k.props.Component,index:k.props.index,path:k.props.path,loader:k.props.loader,action:k.props.action,errorElement:k.props.errorElement,ErrorBoundary:k.props.ErrorBoundary,hasErrorBoundary:k.props.ErrorBoundary!=null||k.props.errorElement!=null,shouldRevalidate:k.props.shouldRevalidate,handle:k.props.handle,lazy:k.props.lazy};k.props.children&&(S.children=Gx(k.props.children,I)),d.push(S)}),d}/** - * React Router DOM v6.23.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Zx(){return Zx=Object.assign?Object.assign.bind():function(f){for(var h=1;h=0)&&(d[C]=f[C]);return d}function vz0(f){return!!(f.metaKey||f.altKey||f.ctrlKey||f.shiftKey)}function mz0(f,h){return f.button===0&&(!h||h==="_self")&&!vz0(f)}const gz0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],yz0="6";try{window.__reactRouterVersion=yz0}catch{}const Cz0="startTransition",hV=D4[Cz0];function Ez0(f){let{basename:h,children:d,future:k,window:C}=f,I=T0.useRef();I.current==null&&(I.current=I_0({window:C,v5Compat:!0}));let S=I.current,[Z,R]=T0.useState({action:S.action,location:S.location}),{v7_startTransition:M}=k||{},Q=T0.useCallback(O=>{M&&hV?hV(()=>R(O)):R(O)},[R,M]);return T0.useLayoutEffect(()=>S.listen(Q),[S,Q]),T0.createElement(dz0,{basename:h,children:d,location:Z.location,navigationType:Z.action,navigator:S,future:k})}const Bz0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Iz0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dn=T0.forwardRef(function(h,d){let{onClick:k,relative:C,reloadDocument:I,replace:S,state:Z,target:R,to:M,preventScrollReset:Q,unstable_viewTransition:O}=h,e0=kz0(h,gz0),{basename:o0}=T0.useContext(Sa),A0,l0=!1;if(typeof M=="string"&&Iz0.test(M)&&(A0=M,Bz0))try{let c0=new URL(window.location.href),y0=M.startsWith("//")?new URL(c0.protocol+M):new URL(M),C0=C_(y0.pathname,o0);y0.origin===c0.origin&&C0!=null?M=C0+y0.search+y0.hash:l0=!0}catch{}let w0=$_0(M,{relative:C}),u0=xz0(M,{replace:S,state:Z,target:R,preventScrollReset:Q,relative:C,unstable_viewTransition:O});function a0(c0){k&&k(c0),c0.defaultPrevented||u0(c0)}return T0.createElement("a",Zx({},e0,{href:A0||w0,onClick:l0||I?k:a0,ref:d,target:R}))});var wV;(function(f){f.UseScrollRestoration="useScrollRestoration",f.UseSubmit="useSubmit",f.UseSubmitFetcher="useSubmitFetcher",f.UseFetcher="useFetcher",f.useViewTransitionState="useViewTransitionState"})(wV||(wV={}));var dV;(function(f){f.UseFetcher="useFetcher",f.UseFetchers="useFetchers",f.UseScrollRestoration="useScrollRestoration"})(dV||(dV={}));function xz0(f,h){let{target:d,replace:k,state:C,preventScrollReset:I,relative:S,unstable_viewTransition:Z}=h===void 0?{}:h,R=oK(),M=Hm(),Q=lK(f,{relative:S});return T0.useCallback(O=>{if(mz0(O,d)){O.preventDefault();let e0=k!==void 0?k:Y5(M)===Y5(Q);R(f,{replace:e0,state:C,preventScrollReset:I,relative:S,unstable_viewTransition:Z})}},[M,R,Q,k,C,d,f,I,S,Z])}var uK={exports:{}},fK={};/** - * @license React - * use-sync-external-store-shim.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Y4=T0;function Sz0(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}var _z0=typeof Object.is=="function"?Object.is:Sz0,zz0=Y4.useState,Lz0=Y4.useEffect,Rz0=Y4.useLayoutEffect,Gz0=Y4.useDebugValue;function Zz0(f,h){var d=h(),k=zz0({inst:{value:d,getSnapshot:h}}),C=k[0].inst,I=k[1];return Rz0(function(){C.value=d,C.getSnapshot=h,BB(C)&&I({inst:C})},[f,d,h]),Lz0(function(){return BB(C)&&I({inst:C}),f(function(){BB(C)&&I({inst:C})})},[f]),Gz0(d),d}function BB(f){var h=f.getSnapshot;f=f.value;try{var d=h();return!_z0(f,d)}catch{return!0}}function Wz0(f,h){return h()}var Dz0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Wz0:Zz0;fK.useSyncExternalStore=Y4.useSyncExternalStore!==void 0?Y4.useSyncExternalStore:Dz0;uK.exports=fK;var Mz0=uK.exports,aK={exports:{}},cK={};/** - * @license React - * use-sync-external-store-shim/with-selector.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Jm=T0,jz0=Mz0;function Nz0(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}var Qz0=typeof Object.is=="function"?Object.is:Nz0,Tz0=jz0.useSyncExternalStore,Fz0=Jm.useRef,Pz0=Jm.useEffect,Yz0=Jm.useMemo,Oz0=Jm.useDebugValue;cK.useSyncExternalStoreWithSelector=function(f,h,d,k,C){var I=Fz0(null);if(I.current===null){var S={hasValue:!1,value:null};I.current=S}else S=I.current;I=Yz0(function(){function R(o0){if(!M){if(M=!0,Q=o0,o0=k(o0),C!==void 0&&S.hasValue){var A0=S.value;if(C(A0,o0))return O=A0}return O=o0}if(A0=O,Qz0(Q,o0))return A0;var l0=k(o0);return C!==void 0&&C(A0,l0)?A0:(Q=o0,O=l0)}var M=!1,Q,O,e0=d===void 0?null:d;return[function(){return R(h())},e0===null?void 0:function(){return R(e0())}]},[h,d,k,C]);var Z=Tz0(f,I[0],I[1]);return Pz0(function(){S.hasValue=!0,S.value=Z},[Z]),Oz0(Z),Z};aK.exports=cK;var Vz0=aK.exports;function Hz0(f){f()}let hK=Hz0;const Jz0=f=>hK=f,Uz0=()=>hK,pV=Symbol.for("react-redux-context"),kV=typeof globalThis<"u"?globalThis:{};function Xz0(){var f;if(!T0.createContext)return{};const h=(f=kV[pV])!=null?f:kV[pV]=new Map;let d=h.get(T0.createContext);return d||(d=T0.createContext(null),h.set(T0.createContext,d)),d}const Du=Xz0();function B_(f=Du){return function(){return T0.useContext(f)}}const wK=B_(),qz0=()=>{throw new Error("uSES not initialized!")};let dK=qz0;const $z0=f=>{dK=f},Kz0=(f,h)=>f===h;function bz0(f=Du){const h=f===Du?wK:B_(f);return function(k,C={}){const{equalityFn:I=Kz0,stabilityCheck:S=void 0,noopCheck:Z=void 0}=typeof C=="function"?{equalityFn:C}:C,{store:R,subscription:M,getServerState:Q,stabilityCheck:O,noopCheck:e0}=h();T0.useRef(!0);const o0=T0.useCallback({[k.name](l0){return k(l0)}}[k.name],[k,O,S]),A0=dK(M.addNestedSub,R.getState,Q||R.getState,o0,I);return T0.useDebugValue(A0),A0}}const $2=bz0();function Le(){return Le=Object.assign?Object.assign.bind():function(f){for(var h=1;h=0)continue;d[k]=f[k]}return d}var pK={exports:{}},Kr={};/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var tn=typeof Symbol=="function"&&Symbol.for,I_=tn?Symbol.for("react.element"):60103,x_=tn?Symbol.for("react.portal"):60106,Um=tn?Symbol.for("react.fragment"):60107,Xm=tn?Symbol.for("react.strict_mode"):60108,qm=tn?Symbol.for("react.profiler"):60114,$m=tn?Symbol.for("react.provider"):60109,Km=tn?Symbol.for("react.context"):60110,S_=tn?Symbol.for("react.async_mode"):60111,bm=tn?Symbol.for("react.concurrent_mode"):60111,eg=tn?Symbol.for("react.forward_ref"):60112,rg=tn?Symbol.for("react.suspense"):60113,rL0=tn?Symbol.for("react.suspense_list"):60120,tg=tn?Symbol.for("react.memo"):60115,ig=tn?Symbol.for("react.lazy"):60116,tL0=tn?Symbol.for("react.block"):60121,iL0=tn?Symbol.for("react.fundamental"):60117,nL0=tn?Symbol.for("react.responder"):60118,oL0=tn?Symbol.for("react.scope"):60119;function to(f){if(typeof f=="object"&&f!==null){var h=f.$$typeof;switch(h){case I_:switch(f=f.type,f){case S_:case bm:case Um:case qm:case Xm:case rg:return f;default:switch(f=f&&f.$$typeof,f){case Km:case eg:case ig:case tg:case $m:return f;default:return h}}case x_:return h}}}function kK(f){return to(f)===bm}Kr.AsyncMode=S_;Kr.ConcurrentMode=bm;Kr.ContextConsumer=Km;Kr.ContextProvider=$m;Kr.Element=I_;Kr.ForwardRef=eg;Kr.Fragment=Um;Kr.Lazy=ig;Kr.Memo=tg;Kr.Portal=x_;Kr.Profiler=qm;Kr.StrictMode=Xm;Kr.Suspense=rg;Kr.isAsyncMode=function(f){return kK(f)||to(f)===S_};Kr.isConcurrentMode=kK;Kr.isContextConsumer=function(f){return to(f)===Km};Kr.isContextProvider=function(f){return to(f)===$m};Kr.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===I_};Kr.isForwardRef=function(f){return to(f)===eg};Kr.isFragment=function(f){return to(f)===Um};Kr.isLazy=function(f){return to(f)===ig};Kr.isMemo=function(f){return to(f)===tg};Kr.isPortal=function(f){return to(f)===x_};Kr.isProfiler=function(f){return to(f)===qm};Kr.isStrictMode=function(f){return to(f)===Xm};Kr.isSuspense=function(f){return to(f)===rg};Kr.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===Um||f===bm||f===qm||f===Xm||f===rg||f===rL0||typeof f=="object"&&f!==null&&(f.$$typeof===ig||f.$$typeof===tg||f.$$typeof===$m||f.$$typeof===Km||f.$$typeof===eg||f.$$typeof===iL0||f.$$typeof===nL0||f.$$typeof===oL0||f.$$typeof===tL0)};Kr.typeOf=to;pK.exports=Kr;var lL0=pK.exports,vK=lL0,sL0={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},AL0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},mK={};mK[vK.ForwardRef]=sL0;mK[vK.Memo]=AL0;var gK={exports:{}},br={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var __=Symbol.for("react.element"),z_=Symbol.for("react.portal"),ng=Symbol.for("react.fragment"),og=Symbol.for("react.strict_mode"),lg=Symbol.for("react.profiler"),sg=Symbol.for("react.provider"),Ag=Symbol.for("react.context"),uL0=Symbol.for("react.server_context"),ug=Symbol.for("react.forward_ref"),fg=Symbol.for("react.suspense"),ag=Symbol.for("react.suspense_list"),cg=Symbol.for("react.memo"),hg=Symbol.for("react.lazy"),fL0=Symbol.for("react.offscreen"),yK;yK=Symbol.for("react.module.reference");function No(f){if(typeof f=="object"&&f!==null){var h=f.$$typeof;switch(h){case __:switch(f=f.type,f){case ng:case lg:case og:case fg:case ag:return f;default:switch(f=f&&f.$$typeof,f){case uL0:case Ag:case ug:case hg:case cg:case sg:return f;default:return h}}case z_:return h}}}br.ContextConsumer=Ag;br.ContextProvider=sg;br.Element=__;br.ForwardRef=ug;br.Fragment=ng;br.Lazy=hg;br.Memo=cg;br.Portal=z_;br.Profiler=lg;br.StrictMode=og;br.Suspense=fg;br.SuspenseList=ag;br.isAsyncMode=function(){return!1};br.isConcurrentMode=function(){return!1};br.isContextConsumer=function(f){return No(f)===Ag};br.isContextProvider=function(f){return No(f)===sg};br.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===__};br.isForwardRef=function(f){return No(f)===ug};br.isFragment=function(f){return No(f)===ng};br.isLazy=function(f){return No(f)===hg};br.isMemo=function(f){return No(f)===cg};br.isPortal=function(f){return No(f)===z_};br.isProfiler=function(f){return No(f)===lg};br.isStrictMode=function(f){return No(f)===og};br.isSuspense=function(f){return No(f)===fg};br.isSuspenseList=function(f){return No(f)===ag};br.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===ng||f===lg||f===og||f===fg||f===ag||f===fL0||typeof f=="object"&&f!==null&&(f.$$typeof===hg||f.$$typeof===cg||f.$$typeof===sg||f.$$typeof===Ag||f.$$typeof===ug||f.$$typeof===yK||f.getModuleId!==void 0)};br.typeOf=No;gK.exports=br;var vV=gK.exports;function aL0(){const f=Uz0();let h=null,d=null;return{clear(){h=null,d=null},notify(){f(()=>{let k=h;for(;k;)k.callback(),k=k.next})},get(){let k=[],C=h;for(;C;)k.push(C),C=C.next;return k},subscribe(k){let C=!0,I=d={callback:k,next:null,prev:d};return I.prev?I.prev.next=I:h=I,function(){!C||h===null||(C=!1,I.next?I.next.prev=I.prev:d=I.prev,I.prev?I.prev.next=I.next:h=I.next)}}}}const mV={notify(){},get:()=>[]};function cL0(f,h){let d,k=mV,C=0,I=!1;function S(l0){Q();const w0=k.subscribe(l0);let u0=!1;return()=>{u0||(u0=!0,w0(),O())}}function Z(){k.notify()}function R(){A0.onStateChange&&A0.onStateChange()}function M(){return I}function Q(){C++,d||(d=h?h.addNestedSub(R):f.subscribe(R),k=aL0())}function O(){C--,d&&C===0&&(d(),d=void 0,k.clear(),k=mV)}function e0(){I||(I=!0,Q())}function o0(){I&&(I=!1,O())}const A0={addNestedSub:S,notifyNestedSubs:Z,handleChangeWrapper:R,isSubscribed:M,trySubscribe:e0,tryUnsubscribe:o0,getListeners:()=>k};return A0}const hL0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wL0=hL0?T0.useLayoutEffect:T0.useEffect;function dL0({store:f,context:h,children:d,serverState:k,stabilityCheck:C="once",noopCheck:I="once"}){const S=T0.useMemo(()=>{const M=cL0(f);return{store:f,subscription:M,getServerState:k?()=>k:void 0,stabilityCheck:C,noopCheck:I}},[f,k,C,I]),Z=T0.useMemo(()=>f.getState(),[f]);wL0(()=>{const{subscription:M}=S;return M.onStateChange=M.notifyNestedSubs,M.trySubscribe(),Z!==f.getState()&&M.notifyNestedSubs(),()=>{M.tryUnsubscribe(),M.onStateChange=void 0}},[S,Z]);const R=h||Du;return T0.createElement(R.Provider,{value:S},d)}function CK(f=Du){const h=f===Du?wK:B_(f);return function(){const{store:k}=h();return k}}const pL0=CK();function kL0(f=Du){const h=f===Du?pL0:CK(f);return function(){return h().dispatch}}const A3=kL0();$z0(Vz0.useSyncExternalStoreWithSelector);Jz0(H6.unstable_batchedUpdates);function fl(f){for(var h=arguments.length,d=Array(h>1?h-1:0),k=1;k3?h.i-4:h.i:Array.isArray(f)?1:L_(f)?2:R_(f)?3:0}function _4(f,h){return u3(f)===2?f.has(h):Object.prototype.hasOwnProperty.call(f,h)}function vL0(f,h){return u3(f)===2?f.get(h):f[h]}function EK(f,h,d){var k=u3(f);k===2?f.set(h,d):k===3?f.add(d):f[h]=d}function BK(f,h){return f===h?f!==0||1/f==1/h:f!=f&&h!=h}function L_(f){return BL0&&f instanceof Map}function R_(f){return IL0&&f instanceof Set}function $f(f){return f.o||f.t}function G_(f){if(Array.isArray(f))return Array.prototype.slice.call(f);var h=xK(f);delete h[Tt];for(var d=z4(h),k=0;k1&&(f.set=f.add=f.clear=f.delete=mL0),Object.freeze(f),h&&ka(f,function(d,k){return Z_(k,!0)},!0)),f}function mL0(){fl(2)}function W_(f){return f==null||typeof f!="object"||Object.isFrozen(f)}function ns(f){var h=jx[f];return h||fl(18,f),h}function gL0(f,h){jx[f]||(jx[f]=h)}function Wx(){return I6}function IB(f,h){h&&(ns("Patches"),f.u=[],f.s=[],f.v=h)}function V5(f){Dx(f),f.p.forEach(yL0),f.p=null}function Dx(f){f===I6&&(I6=f.l)}function gV(f){return I6={p:[],l:I6,h:f,m:!0,_:0}}function yL0(f){var h=f[Tt];h.i===0||h.i===1?h.j():h.g=!0}function xB(f,h){h._=h.p.length;var d=h.p[0],k=f!==void 0&&f!==d;return h.h.O||ns("ES5").S(h,f,k),k?(d[Tt].P&&(V5(h),fl(4)),bs(f)&&(f=H5(h,f),h.l||J5(h,f)),h.u&&ns("Patches").M(d[Tt].t,f,h.u,h.s)):f=H5(h,d,[]),V5(h),h.u&&h.v(h.u,h.s),f!==IK?f:void 0}function H5(f,h,d){if(W_(h))return h;var k=h[Tt];if(!k)return ka(h,function(Z,R){return yV(f,k,h,Z,R,d)},!0),h;if(k.A!==f)return h;if(!k.P)return J5(f,k.t,!0),k.t;if(!k.I){k.I=!0,k.A._--;var C=k.i===4||k.i===5?k.o=G_(k.k):k.o,I=C,S=!1;k.i===3&&(I=new Set(C),C.clear(),S=!0),ka(I,function(Z,R){return yV(f,k,C,Z,R,d,S)}),J5(f,C,!1),d&&f.u&&ns("Patches").N(k,d,f.u,f.s)}return k.o}function yV(f,h,d,k,C,I,S){if(Mu(C)){var Z=H5(f,C,I&&h&&h.i!==3&&!_4(h.R,k)?I.concat(k):void 0);if(EK(d,k,Z),!Mu(Z))return;f.m=!1}else S&&d.add(C);if(bs(C)&&!W_(C)){if(!f.h.D&&f._<1)return;H5(f,C),h&&h.A.l||J5(f,C)}}function J5(f,h,d){d===void 0&&(d=!1),!f.l&&f.h.D&&f.m&&Z_(h,d)}function SB(f,h){var d=f[Tt];return(d?$f(d):f)[h]}function CV(f,h){if(h in f)for(var d=Object.getPrototypeOf(f);d;){var k=Object.getOwnPropertyDescriptor(d,h);if(k)return k;d=Object.getPrototypeOf(d)}}function du(f){f.P||(f.P=!0,f.l&&du(f.l))}function _B(f){f.o||(f.o=G_(f.t))}function Mx(f,h,d){var k=L_(h)?ns("MapSet").F(h,d):R_(h)?ns("MapSet").T(h,d):f.O?function(C,I){var S=Array.isArray(C),Z={i:S?1:0,A:I?I.A:Wx(),P:!1,I:!1,R:{},l:I,t:C,k:null,o:null,j:null,C:!1},R=Z,M=x6;S&&(R=[Z],M=M8);var Q=Proxy.revocable(R,M),O=Q.revoke,e0=Q.proxy;return Z.k=e0,Z.j=O,e0}(h,d):ns("ES5").J(h,d);return(d?d.A:Wx()).p.push(k),k}function CL0(f){return Mu(f)||fl(22,f),function h(d){if(!bs(d))return d;var k,C=d[Tt],I=u3(d);if(C){if(!C.P&&(C.i<4||!ns("ES5").K(C)))return C.t;C.I=!0,k=EV(d,I),C.I=!1}else k=EV(d,I);return ka(k,function(S,Z){C&&vL0(C.t,S)===Z||EK(k,S,h(Z))}),I===3?new Set(k):k}(f)}function EV(f,h){switch(h){case 2:return new Map(f);case 3:return Array.from(f)}return G_(f)}function EL0(){function f(I,S){var Z=C[I];return Z?Z.enumerable=S:C[I]=Z={configurable:!0,enumerable:S,get:function(){var R=this[Tt];return x6.get(R,I)},set:function(R){var M=this[Tt];x6.set(M,I,R)}},Z}function h(I){for(var S=I.length-1;S>=0;S--){var Z=I[S][Tt];if(!Z.P)switch(Z.i){case 5:k(Z)&&du(Z);break;case 4:d(Z)&&du(Z)}}}function d(I){for(var S=I.t,Z=I.k,R=z4(Z),M=R.length-1;M>=0;M--){var Q=R[M];if(Q!==Tt){var O=S[Q];if(O===void 0&&!_4(S,Q))return!0;var e0=Z[Q],o0=e0&&e0[Tt];if(o0?o0.t!==O:!BK(e0,O))return!0}}var A0=!!S[Tt];return R.length!==z4(S).length+(A0?0:1)}function k(I){var S=I.k;if(S.length!==I.t.length)return!0;var Z=Object.getOwnPropertyDescriptor(S,S.length-1);if(Z&&!Z.get)return!0;for(var R=0;R1?u0-1:0),c0=1;c01?Q-1:0),e0=1;e0=0;C--){var I=k[C];if(I.path.length===0&&I.op==="replace"){d=I.value;break}}C>-1&&(k=k.slice(C+1));var S=ns("Patches").$;return Mu(d)?S(d,k):this.produce(d,function(Z){return S(Z,k)})},f}(),b1=new SL0,SK=b1.produce;b1.produceWithPatches.bind(b1);b1.setAutoFreeze.bind(b1);b1.setUseProxies.bind(b1);b1.applyPatches.bind(b1);b1.createDraft.bind(b1);b1.finishDraft.bind(b1);function O4(f){"@babel/helpers - typeof";return O4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},O4(f)}function _L0(f,h){if(O4(f)!="object"||!f)return f;var d=f[Symbol.toPrimitive];if(d!==void 0){var k=d.call(f,h||"default");if(O4(k)!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(f)}function _K(f){var h=_L0(f,"string");return O4(h)=="symbol"?h:h+""}function Ae(f,h,d){return h=_K(h),h in f?Object.defineProperty(f,h,{value:d,enumerable:!0,configurable:!0,writable:!0}):f[h]=d,f}function SV(f,h){var d=Object.keys(f);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(f);h&&(k=k.filter(function(C){return Object.getOwnPropertyDescriptor(f,C).enumerable})),d.push.apply(d,k)}return d}function _V(f){for(var h=1;h"u"&&(d=h,h=void 0),typeof d<"u"){if(typeof d!="function")throw new Error(Nn(1));return d(M_)(f,h)}if(typeof f!="function")throw new Error(Nn(2));var C=f,I=h,S=[],Z=S,R=!1;function M(){Z===S&&(Z=S.slice())}function Q(){if(R)throw new Error(Nn(3));return I}function O(l0){if(typeof l0!="function")throw new Error(Nn(4));if(R)throw new Error(Nn(5));var w0=!0;return M(),Z.push(l0),function(){if(w0){if(R)throw new Error(Nn(6));w0=!1,M();var a0=Z.indexOf(l0);Z.splice(a0,1),S=null}}}function e0(l0){if(!zL0(l0))throw new Error(Nn(7));if(typeof l0.type>"u")throw new Error(Nn(8));if(R)throw new Error(Nn(9));try{R=!0,I=C(I,l0)}finally{R=!1}for(var w0=S=Z,u0=0;u0"u")throw new Error(Nn(12));if(typeof d(void 0,{type:U5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Nn(13))})}function zK(f){for(var h=Object.keys(f),d={},k=0;k"u")throw M&&M.type,new Error(Nn(14));O[o0]=w0,Q=Q||w0!==l0}return Q=Q||I.length!==Object.keys(R).length,Q?O:R}}function X5(){for(var f=arguments.length,h=new Array(f),d=0;d-1){var M=d[R];return R>0&&(d.splice(R,1),d.unshift(M)),M.value}return q5}function C(Z,R){k(Z)===q5&&(d.unshift({key:Z,value:R}),d.length>f&&d.pop())}function I(){return d}function S(){d=[]}return{get:k,put:C,getEntries:I,clear:S}}var WL0=function(h,d){return h===d};function DL0(f){return function(d,k){if(d===null||k===null||d.length!==k.length)return!1;for(var C=d.length,I=0;I1?h-1:0),k=1;k0&&I[I.length-1])&&(M[0]===6||M[0]===2)){d=0;continue}if(M[0]===3&&(!I||M[1]>I[0]&&M[1]{let d=f.sessions.findIndex(k=>k.pin===h.payload.pin);d!==-1?f.sessions[d]=h.payload:f.sessions.push(h.payload),f.activeSessionPin=h.payload.pin},updateNodesInfoInCurrentSession:(f,h)=>{let d=f.sessions.findIndex(k=>k.pin===f.activeSessionPin);d!==-1&&(f.sessions[d].nodes=h.payload,h.payload.length>0&&(f.activeNodeId=h.payload[0].id))},setActiveSessionPin:(f,h)=>{f.activeSessionPin=h.payload,f.activeNodeId=""},setActiveNodeId:(f,h)=>{f.activeNodeId=h.payload},addOrUpdateNodeVersion:(f,h)=>{let d=f.nodeVersions.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.nodeVersions[d]=h.payload:f.nodeVersions.push(h.payload)},addOrUpdateNodeFlags:(f,h)=>{let d=f.flags.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.flags[d]=h.payload:f.flags.push(h.payload)},addOrUpdateCmdLineArgs:(f,h)=>{let d=f.cmdLineArgs.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.cmdLineArgs[d]=h.payload:f.cmdLineArgs.push(h.payload)},addOrUpdateNodeLogs:(f,h)=>{let d=f.nodeLogs.findIndex(k=>k.nodeId===f.activeNodeId);d!==-1?f.nodeLogs[d]=h.payload:f.nodeLogs.push(h.payload)},addOrUpdateSyncStages:(f,h)=>{let d=f.syncStages.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.syncStages[d]=h.payload:f.syncStages.push(h.payload)},setLogWithNameSelected:(f,h)=>{let d=f.nodeLogs.findIndex(k=>k.nodeId===f.activeNodeId);if(d!==-1){f.nodeLogs[d].logFiles.forEach(C=>{C.selected=!1});let k=f.nodeLogs[d].logFiles.findIndex(C=>C.name===h.payload);k!==-1&&(f.nodeLogs[d].logFiles[k].selected=!0)}},addOrUpdateDBs:(f,h)=>{let d=f.dbs.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.dbs[d]=h.payload:f.dbs.push(h.payload)},addOrUpdateDBTable:(f,h)=>{let d=f.dbs.findIndex(k=>k.nodeId===h.payload.nodeId);if(d!==-1){let k=f.dbs[d].dbs.findIndex(C=>C.path===h.payload.path);k!==-1?(f.dbs[d].dbs[k].tables=h.payload.tables,f.dbs[d].dbs[k].keysCount=h.payload.keysCount,f.dbs[d].dbs[k].size=h.payload.size):f.dbs[d].dbs.push({path:h.payload.path,tables:h.payload.tables,keysCount:h.payload.keysCount,size:h.payload.size})}},addOrUpdateReorg:(f,h)=>{let d=f.reorgs.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.reorgs[d]=h.payload:f.reorgs.push(h.payload)},resetAppStateToMockState:f=>{f.sessions=[],f.activeSession=null,f.activeSessionPin="",f.activeNodeId="",f.nodeVersions=[],f.flags=[],f.cmdLineArgs=[],f.nodeLogs=[],f.syncStages=[],f.dbs=[],f.reorgs=[]}}}),{addOrUpdateSession:Qx,updateNodesInfoInCurrentSession:DK,setActiveSessionPin:aR0,setActiveNodeId:cR0,addOrUpdateNodeVersion:hR0,addOrUpdateNodeFlags:wR0,addOrUpdateCmdLineArgs:dR0,addOrUpdateNodeLogs:pR0,addOrUpdateSyncStages:kR0,setLogWithNameSelected:vR0,addOrUpdateDBs:mR0,addOrUpdateDBTable:gR0,addOrUpdateReorg:yR0,resetAppStateToMockState:CR0}=WK.actions,MK=f=>f.app.sessions,N_=f=>f.app.activeSessionPin,et=f=>f.app.activeNodeId,jK=f=>f.app.nodeVersions,ER0=f=>f.app.flags,BR0=f=>f.app.cmdLineArgs,IR0=f=>f.app.nodeLogs,xR0=f=>f.app.syncStages,SR0=f=>f.app.dbs,_R0=f=>f.app.reorgs,Q_=hr([MK,N_],(f,h)=>{let d=null;return h!=""&&f.forEach(k=>{k.pin===h&&(d=k)}),d}),T_=hr([Q_],f=>{let h=[];return f!=null&&(h=f.nodes),h}),zR0=hr([MK,N_],(f,h)=>{let d=[];return h!=""&&f.forEach(k=>{d.push({pin:k.pin,name:k.name,active:k.pin===h})}),d}),LR0=hr([T_,et],(f,h)=>{let d;return f.forEach(k=>{k.id===h&&(d=k)}),d}),RR0=hr([T_,et,jK],(f,h,d)=>{let k=null;return f.forEach(C=>{if(C.id===h){let I="";d.forEach(S=>{S.nodeId===C.id&&(I=S.version.nodeVersion)}),k={active:!0,name:C.name,id:C.id,version:I,chain:C.protocols.eth.config.ChainName,block:C.protocols.eth.config.londonBlock,address:""}}}),k}),GR0=hr([T_,et,jK],(f,h,d)=>{let k=[];return f.forEach(C=>{let I="";d.forEach(S=>{S.nodeId===C.id&&(I=S.version.nodeVersion)}),k.push({active:C.id===h,name:C.name,id:C.id,version:I,chain:C.protocols.eth.config.ChainName,block:C.protocols.eth.config.londonBlock,address:""})}),k}),NK=hr([ER0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.flags)}),d}),ZR0=hr([BR0,et],(f,h)=>{let d="";return f.forEach(k=>{k.nodeId===h&&(d=k.args)}),d}),WR0=hr([IR0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.logFiles)}),d}),DR0=hr([xR0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.syncStages)}),d}),F_=hr([SR0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.dbs)}),d}),MR0=hr([_R0,et],(f,h)=>{let d;return f.forEach(k=>{k.nodeId===h&&(d=k)}),d}),jR0=()=>hr([F_,(f,h)=>h],(f,h)=>{let d={path:h,tables:[],keysCount:0,size:0};return f.forEach(k=>{k.path===h&&(d=k)}),d}),NR0=WK.reducer,GB=({tab:f,selectedTab:h,testId:d,onButtonClicked:k})=>{const C=I=>{let S="px-4 py-2 text-sm font-medium border-blue-600 hover:bg-blue-700 hover:text-white";const Z="bg-blue-600 text-white",R="bg-white text-blue-600 outline-top",M="border-l border-r border-t border-b rounded-tl-md rounded-bl-md",Q="border-r border-t border-b rounded-tr-md rounded-br-md",O="border-r border-t border-b";return I===Ux.Command?S=S+" "+M:I===Ux.NodeInfo?S=S+" "+Q:S=S+" "+O,I===h?S+" "+Z:S+" "+R};return X.jsx("button",{className:C(f),onClick:()=>{k(f)},"data-testid":d,children:f})},QR0=({cmdLine:f})=>f===void 0?null:X.jsx("div",{className:"flex flex-col",children:X.jsx("span",{className:"mb-2",children:f})}),TR0=({flag:f})=>{function h(C){return C&&typeof C=="object"&&C.constructor===Array}const d=C=>h(C)?k(C):X.jsx("td",{className:"px-4 py-2",children:String(C)}),k=C=>{let I="";return C.forEach((S,Z)=>{Z{const I=C.target,S=f.usage;S&&I.setAttribute("title",S)},children:[X.jsx("td",{className:"px-4 py-2",children:f.flag}),d(f.value),X.jsx("td",{className:"px-4 py-2",children:String(f.default)})]},f.flag)};var P_={},QK={exports:{}};(function(f){function h(d){return d&&d.__esModule?d:{default:d}}f.exports=h,f.exports.__esModule=!0,f.exports.default=f.exports})(QK);var Qr=QK.exports,ZB={};function Ts(f){if(typeof f!="object"||f===null)return!1;const h=Object.getPrototypeOf(f);return(h===null||h===Object.prototype||Object.getPrototypeOf(h)===null)&&!(Symbol.toStringTag in f)&&!(Symbol.iterator in f)}function TK(f){if(!Ts(f))return f;const h={};return Object.keys(f).forEach(d=>{h[d]=TK(f[d])}),h}function Ro(f,h,d={clone:!0}){const k=d.clone?Le({},f):f;return Ts(f)&&Ts(h)&&Object.keys(h).forEach(C=>{C!=="__proto__"&&(Ts(h[C])&&C in f&&Ts(f[C])?k[C]=Ro(f[C],h[C],d):d.clone?k[C]=Ts(h[C])?TK(h[C]):h[C]:k[C]=h[C])}),k}const FR0=Object.freeze(Object.defineProperty({__proto__:null,default:Ro,isPlainObject:Ts},Symbol.toStringTag,{value:"Module"}));var WB={exports:{}},DB,DV;function PR0(){if(DV)return DB;DV=1;var f="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return DB=f,DB}var MB,MV;function YR0(){if(MV)return MB;MV=1;var f=PR0();function h(){}function d(){}return d.resetWarningCache=h,MB=function(){function k(S,Z,R,M,Q,O){if(O!==f){var e0=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw e0.name="Invariant Violation",e0}}k.isRequired=k;function C(){return k}var I={array:k,bigint:k,bool:k,func:k,number:k,object:k,string:k,symbol:k,any:k,arrayOf:C,element:k,elementType:k,instanceOf:C,node:k,objectOf:C,oneOf:C,oneOfType:C,shape:C,exact:C,checkPropTypes:d,resetWarningCache:h};return I.PropTypes=I,I},MB}var jV;function FK(){return jV||(jV=1,WB.exports=YR0()()),WB.exports}var Co=FK();function S6(f){let h="https://mui.com/production-error/?code="+f;for(let d=1;dd==null?h:function(...C){h.apply(this,C),d.apply(this,C)},()=>{})}function qR0(f,h=166){let d;function k(...C){const I=()=>{f.apply(this,C)};clearTimeout(d),d=setTimeout(I,h)}return k.clear=()=>{clearTimeout(d)},k}function $R0(f,h){return()=>null}function KR0(f,h){var d,k;return T0.isValidElement(f)&&h.indexOf((d=f.type.muiName)!=null?d:(k=f.type)==null||(k=k._payload)==null||(k=k.value)==null?void 0:k.muiName)!==-1}function OK(f){return f&&f.ownerDocument||document}function bR0(f){return OK(f).defaultView||window}function eG0(f,h){return()=>null}function VK(f,h){typeof f=="function"?f(h):f&&(f.current=h)}const rG0=typeof window<"u"?T0.useLayoutEffect:T0.useEffect,HK=rG0;let QV=0;function tG0(f){const[h,d]=T0.useState(f),k=f||h;return T0.useEffect(()=>{h==null&&(QV+=1,d(`mui-${QV}`))},[h]),k}const TV=D4["useId".toString()];function iG0(f){if(TV!==void 0){const h=TV();return f??h}return tG0(f)}function nG0(f,h,d,k,C){return null}function JK({controlled:f,default:h,name:d,state:k="value"}){const{current:C}=T0.useRef(f!==void 0),[I,S]=T0.useState(h),Z=C?f:I,R=T0.useCallback(M=>{C||S(M)},[]);return[Z,R]}function j8(f){const h=T0.useRef(f);return HK(()=>{h.current=f}),T0.useRef((...d)=>(0,h.current)(...d)).current}function $5(...f){return T0.useMemo(()=>f.every(h=>h==null)?null:h=>{f.forEach(d=>{VK(d,h)})},f)}const FV={};function oG0(f,h){const d=T0.useRef(FV);return d.current===FV&&(d.current=f(h)),d}const lG0=[];function sG0(f){T0.useEffect(f,lG0)}class wg{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new wg}start(h,d){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,d()},h)}}function AG0(){const f=oG0(wg.create).current;return sG0(f.disposeEffect),f}let dg=!0,Tx=!1;const uG0=new wg,fG0={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function aG0(f){const{type:h,tagName:d}=f;return!!(d==="INPUT"&&fG0[h]&&!f.readOnly||d==="TEXTAREA"&&!f.readOnly||f.isContentEditable)}function cG0(f){f.metaKey||f.altKey||f.ctrlKey||(dg=!0)}function jB(){dg=!1}function hG0(){this.visibilityState==="hidden"&&Tx&&(dg=!0)}function wG0(f){f.addEventListener("keydown",cG0,!0),f.addEventListener("mousedown",jB,!0),f.addEventListener("pointerdown",jB,!0),f.addEventListener("touchstart",jB,!0),f.addEventListener("visibilitychange",hG0,!0)}function dG0(f){const{target:h}=f;try{return h.matches(":focus-visible")}catch{}return dg||aG0(h)}function UK(){const f=T0.useCallback(C=>{C!=null&&wG0(C.ownerDocument)},[]),h=T0.useRef(!1);function d(){return h.current?(Tx=!0,uG0.start(100,()=>{Tx=!1}),h.current=!1,!0):!1}function k(C){return dG0(C)?(h.current=!0,!0):!1}return{isFocusVisibleRef:h,onFocus:k,onBlur:d,ref:f}}function Y_(f,h){const d=Le({},h);return Object.keys(f).forEach(k=>{if(k.toString().match(/^(components|slots)$/))d[k]=Le({},f[k],d[k]);else if(k.toString().match(/^(componentsProps|slotProps)$/)){const C=f[k]||{},I=h[k];d[k]={},!I||!Object.keys(I)?d[k]=C:!C||!Object.keys(C)?d[k]=I:(d[k]=Le({},I),Object.keys(C).forEach(S=>{d[k][S]=Y_(C[S],I[S])}))}else d[k]===void 0&&(d[k]=f[k])}),d}function Qo(f,h,d=void 0){const k={};return Object.keys(f).forEach(C=>{k[C]=f[C].reduce((I,S)=>{if(S){const Z=h(S);Z!==""&&I.push(Z),d&&d[S]&&I.push(d[S])}return I},[]).join(" ")}),k}const PV=f=>f,pG0=()=>{let f=PV;return{configure(h){f=h},generate(h){return f(h)},reset(){f=PV}}},kG0=pG0(),XK=kG0,vG0={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function io(f,h,d="Mui"){const k=vG0[h];return k?`${d}-${k}`:`${XK.generate(f)}-${h}`}function To(f,h,d="Mui"){const k={};return h.forEach(C=>{k[C]=io(f,C,d)}),k}function mG0(f,h=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER){return Math.max(h,Math.min(f,d))}const gG0=Object.freeze(Object.defineProperty({__proto__:null,default:mG0},Symbol.toStringTag,{value:"Module"}));function qK(f){var h,d,k="";if(typeof f=="string"||typeof f=="number")k+=f;else if(typeof f=="object")if(Array.isArray(f)){var C=f.length;for(h=0;h{const h=Object.keys(f).map(d=>({key:d,val:f[d]}))||[];return h.sort((d,k)=>d.val-k.val),h.reduce((d,k)=>Le({},d,{[k.key]:k.val}),{})};function $K(f){const{values:h={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:d="px",step:k=5}=f,C=At(f,CG0),I=EG0(h),S=Object.keys(I);function Z(e0){return`@media (min-width:${typeof h[e0]=="number"?h[e0]:e0}${d})`}function R(e0){return`@media (max-width:${(typeof h[e0]=="number"?h[e0]:e0)-k/100}${d})`}function M(e0,o0){const A0=S.indexOf(o0);return`@media (min-width:${typeof h[e0]=="number"?h[e0]:e0}${d}) and (max-width:${(A0!==-1&&typeof h[S[A0]]=="number"?h[S[A0]]:o0)-k/100}${d})`}function Q(e0){return S.indexOf(e0)+1`@media (min-width:${O_[f]}px)`};function wl(f,h,d){const k=f.theme||{};if(Array.isArray(h)){const I=k.breakpoints||YV;return h.reduce((S,Z,R)=>(S[I.up(I.keys[R])]=d(h[R]),S),{})}if(typeof h=="object"){const I=k.breakpoints||YV;return Object.keys(h).reduce((S,Z)=>{if(Object.keys(I.values||O_).indexOf(Z)!==-1){const R=I.up(Z);S[R]=d(h[Z],Z)}else{const R=Z;S[R]=h[R]}return S},{})}return d(h)}function KK(f={}){var h;return((h=f.keys)==null?void 0:h.reduce((k,C)=>{const I=f.up(C);return k[I]={},k},{}))||{}}function bK(f,h){return f.reduce((d,k)=>{const C=d[k];return(!C||Object.keys(C).length===0)&&delete d[k],d},h)}function xG0(f,...h){const d=KK(f),k=[d,...h].reduce((C,I)=>Ro(C,I),{});return bK(Object.keys(d),k)}function SG0(f,h){if(typeof f!="object")return{};const d={},k=Object.keys(h);return Array.isArray(f)?k.forEach((C,I)=>{I{f[C]!=null&&(d[C]=!0)}),d}function NB({values:f,breakpoints:h,base:d}){const k=d||SG0(f,h),C=Object.keys(k);if(C.length===0)return f;let I;return C.reduce((S,Z,R)=>(Array.isArray(f)?(S[Z]=f[R]!=null?f[R]:f[I],I=R):typeof f=="object"?(S[Z]=f[Z]!=null?f[Z]:f[I],I=Z):S[Z]=f,S),{})}function pg(f,h,d=!0){if(!h||typeof h!="string")return null;if(f&&f.vars&&d){const k=`vars.${h}`.split(".").reduce((C,I)=>C&&C[I]?C[I]:null,f);if(k!=null)return k}return h.split(".").reduce((k,C)=>k&&k[C]!=null?k[C]:null,f)}function K5(f,h,d,k=d){let C;return typeof f=="function"?C=f(d):Array.isArray(f)?C=f[d]||k:C=pg(f,d)||k,h&&(C=h(C,k,f)),C}function wi(f){const{prop:h,cssProperty:d=f.prop,themeKey:k,transform:C}=f,I=S=>{if(S[h]==null)return null;const Z=S[h],R=S.theme,M=pg(R,k)||{};return wl(S,Z,O=>{let e0=K5(M,C,O);return O===e0&&typeof O=="string"&&(e0=K5(M,C,`${h}${O==="default"?"":K2(O)}`,O)),d===!1?e0:{[d]:e0}})};return I.propTypes={},I.filterProps=[h],I}function _G0(f){const h={};return d=>(h[d]===void 0&&(h[d]=f(d)),h[d])}const zG0={m:"margin",p:"padding"},LG0={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},OV={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},RG0=_G0(f=>{if(f.length>2)if(OV[f])f=OV[f];else return[f];const[h,d]=f.split(""),k=zG0[h],C=LG0[d]||"";return Array.isArray(C)?C.map(I=>k+I):[k+C]}),V_=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],H_=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...V_,...H_];function U6(f,h,d,k){var C;const I=(C=pg(f,h,!1))!=null?C:d;return typeof I=="number"?S=>typeof S=="string"?S:I*S:Array.isArray(I)?S=>typeof S=="string"?S:I[S]:typeof I=="function"?I:()=>{}}function J_(f){return U6(f,"spacing",8)}function va(f,h){if(typeof h=="string"||h==null)return h;const d=Math.abs(h),k=f(d);return h>=0?k:typeof k=="number"?-k:`-${k}`}function GG0(f,h){return d=>f.reduce((k,C)=>(k[C]=va(h,d),k),{})}function ZG0(f,h,d,k){if(h.indexOf(d)===-1)return null;const C=RG0(d),I=GG0(C,k),S=f[d];return wl(f,S,I)}function eb(f,h){const d=J_(f.theme);return Object.keys(f).map(k=>ZG0(f,h,k,d)).reduce(r6,{})}function ti(f){return eb(f,V_)}ti.propTypes={};ti.filterProps=V_;function ii(f){return eb(f,H_)}ii.propTypes={};ii.filterProps=H_;function WG0(f=8){if(f.mui)return f;const h=J_({spacing:f}),d=(...k)=>(k.length===0?[1]:k).map(I=>{const S=h(I);return typeof S=="number"?`${S}px`:S}).join(" ");return d.mui=!0,d}function kg(...f){const h=f.reduce((k,C)=>(C.filterProps.forEach(I=>{k[I]=C}),k),{}),d=k=>Object.keys(k).reduce((C,I)=>h[I]?r6(C,h[I](k)):C,{});return d.propTypes={},d.filterProps=f.reduce((k,C)=>k.concat(C.filterProps),[]),d}function _o(f){return typeof f!="number"?f:`${f}px solid`}function Fo(f,h){return wi({prop:f,themeKey:"borders",transform:h})}const DG0=Fo("border",_o),MG0=Fo("borderTop",_o),jG0=Fo("borderRight",_o),NG0=Fo("borderBottom",_o),QG0=Fo("borderLeft",_o),TG0=Fo("borderColor"),FG0=Fo("borderTopColor"),PG0=Fo("borderRightColor"),YG0=Fo("borderBottomColor"),OG0=Fo("borderLeftColor"),VG0=Fo("outline",_o),HG0=Fo("outlineColor"),vg=f=>{if(f.borderRadius!==void 0&&f.borderRadius!==null){const h=U6(f.theme,"shape.borderRadius",4),d=k=>({borderRadius:va(h,k)});return wl(f,f.borderRadius,d)}return null};vg.propTypes={};vg.filterProps=["borderRadius"];kg(DG0,MG0,jG0,NG0,QG0,TG0,FG0,PG0,YG0,OG0,vg,VG0,HG0);const mg=f=>{if(f.gap!==void 0&&f.gap!==null){const h=U6(f.theme,"spacing",8),d=k=>({gap:va(h,k)});return wl(f,f.gap,d)}return null};mg.propTypes={};mg.filterProps=["gap"];const gg=f=>{if(f.columnGap!==void 0&&f.columnGap!==null){const h=U6(f.theme,"spacing",8),d=k=>({columnGap:va(h,k)});return wl(f,f.columnGap,d)}return null};gg.propTypes={};gg.filterProps=["columnGap"];const yg=f=>{if(f.rowGap!==void 0&&f.rowGap!==null){const h=U6(f.theme,"spacing",8),d=k=>({rowGap:va(h,k)});return wl(f,f.rowGap,d)}return null};yg.propTypes={};yg.filterProps=["rowGap"];const JG0=wi({prop:"gridColumn"}),UG0=wi({prop:"gridRow"}),XG0=wi({prop:"gridAutoFlow"}),qG0=wi({prop:"gridAutoColumns"}),$G0=wi({prop:"gridAutoRows"}),KG0=wi({prop:"gridTemplateColumns"}),bG0=wi({prop:"gridTemplateRows"}),eZ0=wi({prop:"gridTemplateAreas"}),rZ0=wi({prop:"gridArea"});kg(mg,gg,yg,JG0,UG0,XG0,qG0,$G0,KG0,bG0,eZ0,rZ0);function L4(f,h){return h==="grey"?h:f}const tZ0=wi({prop:"color",themeKey:"palette",transform:L4}),iZ0=wi({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:L4}),nZ0=wi({prop:"backgroundColor",themeKey:"palette",transform:L4});kg(tZ0,iZ0,nZ0);function H1(f){return f<=1&&f!==0?`${f*100}%`:f}const oZ0=wi({prop:"width",transform:H1}),U_=f=>{if(f.maxWidth!==void 0&&f.maxWidth!==null){const h=d=>{var k,C;const I=((k=f.theme)==null||(k=k.breakpoints)==null||(k=k.values)==null?void 0:k[d])||O_[d];return I?((C=f.theme)==null||(C=C.breakpoints)==null?void 0:C.unit)!=="px"?{maxWidth:`${I}${f.theme.breakpoints.unit}`}:{maxWidth:I}:{maxWidth:H1(d)}};return wl(f,f.maxWidth,h)}return null};U_.filterProps=["maxWidth"];const lZ0=wi({prop:"minWidth",transform:H1}),sZ0=wi({prop:"height",transform:H1}),AZ0=wi({prop:"maxHeight",transform:H1}),uZ0=wi({prop:"minHeight",transform:H1});wi({prop:"size",cssProperty:"width",transform:H1});wi({prop:"size",cssProperty:"height",transform:H1});const fZ0=wi({prop:"boxSizing"});kg(oZ0,U_,lZ0,sZ0,AZ0,uZ0,fZ0);const aZ0={border:{themeKey:"borders",transform:_o},borderTop:{themeKey:"borders",transform:_o},borderRight:{themeKey:"borders",transform:_o},borderBottom:{themeKey:"borders",transform:_o},borderLeft:{themeKey:"borders",transform:_o},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:_o},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:vg},color:{themeKey:"palette",transform:L4},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:L4},backgroundColor:{themeKey:"palette",transform:L4},p:{style:ii},pt:{style:ii},pr:{style:ii},pb:{style:ii},pl:{style:ii},px:{style:ii},py:{style:ii},padding:{style:ii},paddingTop:{style:ii},paddingRight:{style:ii},paddingBottom:{style:ii},paddingLeft:{style:ii},paddingX:{style:ii},paddingY:{style:ii},paddingInline:{style:ii},paddingInlineStart:{style:ii},paddingInlineEnd:{style:ii},paddingBlock:{style:ii},paddingBlockStart:{style:ii},paddingBlockEnd:{style:ii},m:{style:ti},mt:{style:ti},mr:{style:ti},mb:{style:ti},ml:{style:ti},mx:{style:ti},my:{style:ti},margin:{style:ti},marginTop:{style:ti},marginRight:{style:ti},marginBottom:{style:ti},marginLeft:{style:ti},marginX:{style:ti},marginY:{style:ti},marginInline:{style:ti},marginInlineStart:{style:ti},marginInlineEnd:{style:ti},marginBlock:{style:ti},marginBlockStart:{style:ti},marginBlockEnd:{style:ti},displayPrint:{cssProperty:!1,transform:f=>({"@media print":{display:f}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:mg},rowGap:{style:yg},columnGap:{style:gg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:H1},maxWidth:{style:U_},minWidth:{transform:H1},height:{transform:H1},maxHeight:{transform:H1},minHeight:{transform:H1},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},X6=aZ0;function cZ0(...f){const h=f.reduce((k,C)=>k.concat(Object.keys(C)),[]),d=new Set(h);return f.every(k=>d.size===Object.keys(k).length)}function hZ0(f,h){return typeof f=="function"?f(h):f}function rb(){function f(d,k,C,I){const S={[d]:k,theme:C},Z=I[d];if(!Z)return{[d]:k};const{cssProperty:R=d,themeKey:M,transform:Q,style:O}=Z;if(k==null)return null;if(M==="typography"&&k==="inherit")return{[d]:k};const e0=pg(C,M)||{};return O?O(S):wl(S,k,A0=>{let l0=K5(e0,Q,A0);return A0===l0&&typeof A0=="string"&&(l0=K5(e0,Q,`${d}${A0==="default"?"":K2(A0)}`,A0)),R===!1?l0:{[R]:l0}})}function h(d){var k;const{sx:C,theme:I={}}=d||{};if(!C)return null;const S=(k=I.unstable_sxConfig)!=null?k:X6;function Z(R){let M=R;if(typeof R=="function")M=R(I);else if(typeof R!="object")return R;if(!M)return null;const Q=KK(I.breakpoints),O=Object.keys(Q);let e0=Q;return Object.keys(M).forEach(o0=>{const A0=hZ0(M[o0],I);if(A0!=null)if(typeof A0=="object")if(S[o0])e0=r6(e0,f(o0,A0,I,S));else{const l0=wl({theme:I},A0,w0=>({[o0]:w0}));cZ0(l0,A0)?e0[o0]=h({sx:A0,theme:I}):e0=r6(e0,l0)}else e0=r6(e0,f(o0,A0,I,S))}),bK(O,e0)}return Array.isArray(C)?C.map(Z):Z(C)}return h}const tb=rb();tb.filterProps=["sx"];const Cg=tb;function ib(f,h){const d=this;return d.vars&&typeof d.getColorSchemeSelector=="function"?{[d.getColorSchemeSelector(f).replace(/(\[[^\]]+\])/,"*:where($1)")]:h}:d.palette.mode===f?h:{}}const wZ0=["breakpoints","palette","spacing","shape"];function q6(f={},...h){const{breakpoints:d={},palette:k={},spacing:C,shape:I={}}=f,S=At(f,wZ0),Z=$K(d),R=WG0(C);let M=Ro({breakpoints:Z,direction:"ltr",components:{},palette:Le({mode:"light"},k),spacing:R,shape:Le({},IG0,I)},S);return M.applyStyles=ib,M=h.reduce((Q,O)=>Ro(Q,O),M),M.unstable_sxConfig=Le({},X6,S==null?void 0:S.unstable_sxConfig),M.unstable_sx=function(O){return Cg({sx:O,theme:this})},M}const dZ0=Object.freeze(Object.defineProperty({__proto__:null,default:q6,private_createBreakpoints:$K,unstable_applyStyles:ib},Symbol.toStringTag,{value:"Module"}));function nb(f){var h=Object.create(null);return function(d){return h[d]===void 0&&(h[d]=f(d)),h[d]}}var pZ0=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,kZ0=nb(function(f){return pZ0.test(f)||f.charCodeAt(0)===111&&f.charCodeAt(1)===110&&f.charCodeAt(2)<91});function vZ0(f){if(f.sheet)return f.sheet;for(var h=0;h0?kn(f3,--L1):0,H4--,Ii===10&&(H4=1,Bg--),Ii}function q1(){return Ii=L12||z6(Ii)>3?"":" "}function RZ0(f,h){for(;--h&&q1()&&!(Ii<48||Ii>102||Ii>57&&Ii<65||Ii>70&&Ii<97););return $6(f,Xv()+(h<6&&os()==32&&q1()==32))}function Px(f){for(;q1();)switch(Ii){case f:return L1;case 34:case 39:f!==34&&f!==39&&Px(Ii);break;case 40:f===41&&Px(f);break;case 92:q1();break}return L1}function GZ0(f,h){for(;q1()&&f+Ii!==47+10;)if(f+Ii===42+42&&os()===47)break;return"/*"+$6(h,L1-1)+"*"+Eg(f===47?f:q1())}function ZZ0(f){for(;!z6(os());)q1();return $6(f,L1)}function WZ0(f){return fb($v("",null,null,null,[""],f=ub(f),0,[0],f))}function $v(f,h,d,k,C,I,S,Z,R){for(var M=0,Q=0,O=S,e0=0,o0=0,A0=0,l0=1,w0=1,u0=1,a0=0,c0="",y0=C,C0=I,I0=k,h0=c0;w0;)switch(A0=a0,a0=q1()){case 40:if(A0!=108&&kn(h0,O-1)==58){Fx(h0+=Mr(qv(a0),"&","&\f"),"&\f")!=-1&&(u0=-1);break}case 34:case 39:case 91:h0+=qv(a0);break;case 9:case 10:case 13:case 32:h0+=LZ0(A0);break;case 92:h0+=RZ0(Xv()-1,7);continue;case 47:switch(os()){case 42:case 47:hv(DZ0(GZ0(q1(),Xv()),h,d),R);break;default:h0+="/"}break;case 123*l0:Z[M++]=Ul(h0)*u0;case 125*l0:case 59:case 0:switch(a0){case 0:case 125:w0=0;case 59+Q:u0==-1&&(h0=Mr(h0,/\f/g,"")),o0>0&&Ul(h0)-O&&hv(o0>32?HV(h0+";",k,d,O-1):HV(Mr(h0," ","")+";",k,d,O-2),R);break;case 59:h0+=";";default:if(hv(I0=VV(h0,h,d,M,Q,C,Z,c0,y0=[],C0=[],O),I),a0===123)if(Q===0)$v(h0,h,I0,I0,y0,I,O,Z,C0);else switch(e0===99&&kn(h0,3)===110?100:e0){case 100:case 108:case 109:case 115:$v(f,I0,I0,k&&hv(VV(f,I0,I0,0,0,C,Z,c0,C,y0=[],O),C0),C,C0,O,Z,k?y0:C0);break;default:$v(h0,I0,I0,I0,[""],C0,0,Z,C0)}}M=Q=o0=0,l0=u0=1,c0=h0="",O=S;break;case 58:O=1+Ul(h0),o0=A0;default:if(l0<1){if(a0==123)--l0;else if(a0==125&&l0++==0&&zZ0()==125)continue}switch(h0+=Eg(a0),a0*l0){case 38:u0=Q>0?1:(h0+="\f",-1);break;case 44:Z[M++]=(Ul(h0)-1)*u0,u0=1;break;case 64:os()===45&&(h0+=qv(q1())),e0=os(),Q=O=Ul(c0=h0+=ZZ0(Xv())),a0++;break;case 45:A0===45&&Ul(h0)==2&&(l0=0)}}return I}function VV(f,h,d,k,C,I,S,Z,R,M,Q){for(var O=C-1,e0=C===0?I:[""],o0=$_(e0),A0=0,l0=0,w0=0;A00?e0[u0]+" "+a0:Mr(a0,/&\f/g,e0[u0])))&&(R[w0++]=c0);return Ig(f,h,d,C===0?X_:Z,R,M,Q)}function DZ0(f,h,d){return Ig(f,h,d,ob,Eg(_Z0()),_6(f,2,-2),0)}function HV(f,h,d,k){return Ig(f,h,d,q_,_6(f,0,k),_6(f,k+1,-1),k)}function R4(f,h){for(var d="",k=$_(f),C=0;C6)switch(kn(f,h+1)){case 109:if(kn(f,h+4)!==45)break;case 102:return Mr(f,/(.+:)(.+)-([^]+)/,"$1"+Wr+"$2-$3$1"+b5+(kn(f,h+3)==108?"$3":"$2-$3"))+f;case 115:return~Fx(f,"stretch")?ab(Mr(f,"stretch","fill-available"),h)+f:f}break;case 4949:if(kn(f,h+1)!==115)break;case 6444:switch(kn(f,Ul(f)-3-(~Fx(f,"!important")&&10))){case 107:return Mr(f,":",":"+Wr)+f;case 101:return Mr(f,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Wr+(kn(f,14)===45?"inline-":"")+"box$3$1"+Wr+"$2$3$1"+Mn+"$2box$3")+f}break;case 5936:switch(kn(f,h+11)){case 114:return Wr+f+Mn+Mr(f,/[svh]\w+-[tblr]{2}/,"tb")+f;case 108:return Wr+f+Mn+Mr(f,/[svh]\w+-[tblr]{2}/,"tb-rl")+f;case 45:return Wr+f+Mn+Mr(f,/[svh]\w+-[tblr]{2}/,"lr")+f}return Wr+f+Mn+f+f}return f}var OZ0=function(h,d,k,C){if(h.length>-1&&!h.return)switch(h.type){case q_:h.return=ab(h.value,h.length);break;case lb:return R4([C8(h,{value:Mr(h.value,"@","@"+Wr)})],C);case X_:if(h.length)return SZ0(h.props,function(I){switch(xZ0(I,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return R4([C8(h,{props:[Mr(I,/:(read-\w+)/,":"+b5+"$1")]})],C);case"::placeholder":return R4([C8(h,{props:[Mr(I,/:(plac\w+)/,":"+Wr+"input-$1")]}),C8(h,{props:[Mr(I,/:(plac\w+)/,":"+b5+"$1")]}),C8(h,{props:[Mr(I,/:(plac\w+)/,Mn+"input-$1")]})],C)}return""})}},VZ0=[OZ0],cb=function(h){var d=h.key;if(d==="css"){var k=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(k,function(l0){var w0=l0.getAttribute("data-emotion");w0.indexOf(" ")!==-1&&(document.head.appendChild(l0),l0.setAttribute("data-s",""))})}var C=h.stylisPlugins||VZ0,I={},S,Z=[];S=h.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+d+' "]'),function(l0){for(var w0=l0.getAttribute("data-emotion").split(" "),u0=1;u0=4;++k,C-=4)d=f.charCodeAt(k)&255|(f.charCodeAt(++k)&255)<<8|(f.charCodeAt(++k)&255)<<16|(f.charCodeAt(++k)&255)<<24,d=(d&65535)*1540483477+((d>>>16)*59797<<16),d^=d>>>24,h=(d&65535)*1540483477+((d>>>16)*59797<<16)^(h&65535)*1540483477+((h>>>16)*59797<<16);switch(C){case 3:h^=(f.charCodeAt(k+2)&255)<<16;case 2:h^=(f.charCodeAt(k+1)&255)<<8;case 1:h^=f.charCodeAt(k)&255,h=(h&65535)*1540483477+((h>>>16)*59797<<16)}return h^=h>>>13,h=(h&65535)*1540483477+((h>>>16)*59797<<16),((h^h>>>15)>>>0).toString(36)}var XZ0={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},qZ0=/[A-Z]|^ms/g,$Z0=/_EMO_([^_]+?)_([^]*?)_EMO_/g,db=function(h){return h.charCodeAt(1)===45},UV=function(h){return h!=null&&typeof h!="boolean"},QB=nb(function(f){return db(f)?f:f.replace(qZ0,"-$&").toLowerCase()}),XV=function(h,d){switch(h){case"animation":case"animationName":if(typeof d=="string")return d.replace($Z0,function(k,C,I){return Xl={name:C,styles:I,next:Xl},C})}return XZ0[h]!==1&&!db(h)&&typeof d=="number"&&d!==0?d+"px":d};function L6(f,h,d){if(d==null)return"";if(d.__emotion_styles!==void 0)return d;switch(typeof d){case"boolean":return"";case"object":{if(d.anim===1)return Xl={name:d.name,styles:d.styles,next:Xl},d.name;if(d.styles!==void 0){var k=d.next;if(k!==void 0)for(;k!==void 0;)Xl={name:k.name,styles:k.styles,next:Xl},k=k.next;var C=d.styles+";";return C}return KZ0(f,h,d)}case"function":{if(f!==void 0){var I=Xl,S=d(f);return Xl=I,L6(f,h,S)}break}}if(h==null)return d;var Z=h[d];return Z!==void 0?Z:d}function KZ0(f,h,d){var k="";if(Array.isArray(d))for(var C=0;C96?iW0:nW0},bV=function(h,d,k){var C;if(d){var I=d.shouldForwardProp;C=h.__emotion_forwardProp&&I?function(S){return h.__emotion_forwardProp(S)&&I(S)}:I}return typeof C!="function"&&k&&(C=h.__emotion_forwardProp),C},oW0=function(h){var d=h.cache,k=h.serialized,C=h.isStringTag;return hb(d,k,C),eW0(function(){return wb(d,k,C)}),null},lW0=function f(h,d){var k=h.__emotion_real===h,C=k&&h.__emotion_base||h,I,S;d!==void 0&&(I=d.label,S=d.target);var Z=bV(h,d,k),R=Z||KV(C),M=!R("as");return function(){var Q=arguments,O=k&&h.__emotion_styles!==void 0?h.__emotion_styles.slice(0):[];if(I!==void 0&&O.push("label:"+I+";"),Q[0]==null||Q[0].raw===void 0)O.push.apply(O,Q);else{O.push(Q[0][0]);for(var e0=Q.length,o0=1;o0h(uW0(C)?d:C):h;return X.jsx(tW0,{styles:k})}/** - * @mui/styled-engine v5.15.14 - * - * @license MIT - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */function mb(f,h){return Yx(f,h)}const gb=(f,h)=>{Array.isArray(f.__emotion_styles)&&(f.__emotion_styles=h(f.__emotion_styles))},aW0=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:fW0,StyledEngineProvider:AW0,ThemeContext:xg,css:Sg,default:mb,internal_processStyles:gb,keyframes:a3},Symbol.toStringTag,{value:"Module"}));function cW0(f){return Object.keys(f).length===0}function hW0(f=null){const h=T0.useContext(xg);return!h||cW0(h)?f:h}const wW0=q6();function dW0(f=wW0){return hW0(f)}function yb({props:f,name:h,defaultTheme:d,themeId:k}){let C=dW0(d);return k&&(C=C[k]||C),yG0({theme:C,name:h,props:f})}const pW0=["sx"],kW0=f=>{var h,d;const k={systemProps:{},otherProps:{}},C=(h=f==null||(d=f.theme)==null?void 0:d.unstable_sxConfig)!=null?h:X6;return Object.keys(f).forEach(I=>{C[I]?k.systemProps[I]=f[I]:k.otherProps[I]=f[I]}),k};function b_(f){const{sx:h}=f,d=At(f,pW0),{systemProps:k,otherProps:C}=kW0(d);let I;return Array.isArray(h)?I=[k,...h]:typeof h=="function"?I=(...S)=>{const Z=h(...S);return Ts(Z)?Le({},k,Z):k}:I=Le({},k,h),Le({},C,{sx:I})}const vW0=Object.freeze(Object.defineProperty({__proto__:null,default:Cg,extendSxProp:b_,unstable_createStyleFunctionSx:rb,unstable_defaultSxConfig:X6},Symbol.toStringTag,{value:"Module"}));function mW0(f,h){return Le({toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}}},h)}var di={};const gW0=Fn(OR0),yW0=Fn(gG0);var Cb=Qr;Object.defineProperty(di,"__esModule",{value:!0});var rs=di.alpha=xb;di.blend=GW0;di.colorChannel=void 0;var em=di.darken=rz;di.decomposeColor=Do;di.emphasize=Sb;var CW0=di.getContrastRatio=SW0;di.getLuminance=tm;di.hexToRgb=Eb;di.hslToRgb=Ib;var rm=di.lighten=tz;di.private_safeAlpha=_W0;di.private_safeColorChannel=void 0;di.private_safeDarken=zW0;di.private_safeEmphasize=RW0;di.private_safeLighten=LW0;di.recomposeColor=c3;di.rgbToHex=xW0;var eH=Cb(gW0),EW0=Cb(yW0);function ez(f,h=0,d=1){return(0,EW0.default)(f,h,d)}function Eb(f){f=f.slice(1);const h=new RegExp(`.{1,${f.length>=6?2:1}}`,"g");let d=f.match(h);return d&&d[0].length===1&&(d=d.map(k=>k+k)),d?`rgb${d.length===4?"a":""}(${d.map((k,C)=>C<3?parseInt(k,16):Math.round(parseInt(k,16)/255*1e3)/1e3).join(", ")})`:""}function BW0(f){const h=f.toString(16);return h.length===1?`0${h}`:h}function Do(f){if(f.type)return f;if(f.charAt(0)==="#")return Do(Eb(f));const h=f.indexOf("("),d=f.substring(0,h);if(["rgb","rgba","hsl","hsla","color"].indexOf(d)===-1)throw new Error((0,eH.default)(9,f));let k=f.substring(h+1,f.length-1),C;if(d==="color"){if(k=k.split(" "),C=k.shift(),k.length===4&&k[3].charAt(0)==="/"&&(k[3]=k[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(C)===-1)throw new Error((0,eH.default)(10,C))}else k=k.split(",");return k=k.map(I=>parseFloat(I)),{type:d,values:k,colorSpace:C}}const Bb=f=>{const h=Do(f);return h.values.slice(0,3).map((d,k)=>h.type.indexOf("hsl")!==-1&&k!==0?`${d}%`:d).join(" ")};di.colorChannel=Bb;const IW0=(f,h)=>{try{return Bb(f)}catch{return f}};di.private_safeColorChannel=IW0;function c3(f){const{type:h,colorSpace:d}=f;let{values:k}=f;return h.indexOf("rgb")!==-1?k=k.map((C,I)=>I<3?parseInt(C,10):C):h.indexOf("hsl")!==-1&&(k[1]=`${k[1]}%`,k[2]=`${k[2]}%`),h.indexOf("color")!==-1?k=`${d} ${k.join(" ")}`:k=`${k.join(", ")}`,`${h}(${k})`}function xW0(f){if(f.indexOf("#")===0)return f;const{values:h}=Do(f);return`#${h.map((d,k)=>BW0(k===3?Math.round(255*d):d)).join("")}`}function Ib(f){f=Do(f);const{values:h}=f,d=h[0],k=h[1]/100,C=h[2]/100,I=k*Math.min(C,1-C),S=(M,Q=(M+d/30)%12)=>C-I*Math.max(Math.min(Q-3,9-Q,1),-1);let Z="rgb";const R=[Math.round(S(0)*255),Math.round(S(8)*255),Math.round(S(4)*255)];return f.type==="hsla"&&(Z+="a",R.push(h[3])),c3({type:Z,values:R})}function tm(f){f=Do(f);let h=f.type==="hsl"||f.type==="hsla"?Do(Ib(f)).values:f.values;return h=h.map(d=>(f.type!=="color"&&(d/=255),d<=.03928?d/12.92:((d+.055)/1.055)**2.4)),Number((.2126*h[0]+.7152*h[1]+.0722*h[2]).toFixed(3))}function SW0(f,h){const d=tm(f),k=tm(h);return(Math.max(d,k)+.05)/(Math.min(d,k)+.05)}function xb(f,h){return f=Do(f),h=ez(h),(f.type==="rgb"||f.type==="hsl")&&(f.type+="a"),f.type==="color"?f.values[3]=`/${h}`:f.values[3]=h,c3(f)}function _W0(f,h,d){try{return xb(f,h)}catch{return f}}function rz(f,h){if(f=Do(f),h=ez(h),f.type.indexOf("hsl")!==-1)f.values[2]*=1-h;else if(f.type.indexOf("rgb")!==-1||f.type.indexOf("color")!==-1)for(let d=0;d<3;d+=1)f.values[d]*=1-h;return c3(f)}function zW0(f,h,d){try{return rz(f,h)}catch{return f}}function tz(f,h){if(f=Do(f),h=ez(h),f.type.indexOf("hsl")!==-1)f.values[2]+=(100-f.values[2])*h;else if(f.type.indexOf("rgb")!==-1)for(let d=0;d<3;d+=1)f.values[d]+=(255-f.values[d])*h;else if(f.type.indexOf("color")!==-1)for(let d=0;d<3;d+=1)f.values[d]+=(1-f.values[d])*h;return c3(f)}function LW0(f,h,d){try{return tz(f,h)}catch{return f}}function Sb(f,h=.15){return tm(f)>.5?rz(f,h):tz(f,h)}function RW0(f,h,d){try{return Sb(f,h)}catch{return f}}function GW0(f,h,d,k=1){const C=(R,M)=>Math.round((R**(1/k)*(1-d)+M**(1/k)*d)**k),I=Do(f),S=Do(h),Z=[C(I.values[0],S.values[0]),C(I.values[1],S.values[1]),C(I.values[2],S.values[2])];return c3({type:"rgb",values:Z})}const ZW0={black:"#000",white:"#fff"},R6=ZW0,WW0={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},DW0=WW0,MW0={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},$c=MW0,jW0={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Kc=jW0,NW0={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},E8=NW0,QW0={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},bc=QW0,TW0={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},e4=TW0,FW0={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},r4=FW0,PW0=["mode","contrastThreshold","tonalOffset"],rH={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:R6.white,default:R6.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},TB={text:{primary:R6.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:R6.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function tH(f,h,d,k){const C=k.light||k,I=k.dark||k*1.5;f[h]||(f.hasOwnProperty(d)?f[h]=f[d]:h==="light"?f.light=rm(f.main,C):h==="dark"&&(f.dark=em(f.main,I)))}function YW0(f="light"){return f==="dark"?{main:bc[200],light:bc[50],dark:bc[400]}:{main:bc[700],light:bc[400],dark:bc[800]}}function OW0(f="light"){return f==="dark"?{main:$c[200],light:$c[50],dark:$c[400]}:{main:$c[500],light:$c[300],dark:$c[700]}}function VW0(f="light"){return f==="dark"?{main:Kc[500],light:Kc[300],dark:Kc[700]}:{main:Kc[700],light:Kc[400],dark:Kc[800]}}function HW0(f="light"){return f==="dark"?{main:e4[400],light:e4[300],dark:e4[700]}:{main:e4[700],light:e4[500],dark:e4[900]}}function JW0(f="light"){return f==="dark"?{main:r4[400],light:r4[300],dark:r4[700]}:{main:r4[800],light:r4[500],dark:r4[900]}}function UW0(f="light"){return f==="dark"?{main:E8[400],light:E8[300],dark:E8[700]}:{main:"#ed6c02",light:E8[500],dark:E8[900]}}function XW0(f){const{mode:h="light",contrastThreshold:d=3,tonalOffset:k=.2}=f,C=At(f,PW0),I=f.primary||YW0(h),S=f.secondary||OW0(h),Z=f.error||VW0(h),R=f.info||HW0(h),M=f.success||JW0(h),Q=f.warning||UW0(h);function O(l0){return CW0(l0,TB.text.primary)>=d?TB.text.primary:rH.text.primary}const e0=({color:l0,name:w0,mainShade:u0=500,lightShade:a0=300,darkShade:c0=700})=>{if(l0=Le({},l0),!l0.main&&l0[u0]&&(l0.main=l0[u0]),!l0.hasOwnProperty("main"))throw new Error(S6(11,w0?` (${w0})`:"",u0));if(typeof l0.main!="string")throw new Error(S6(12,w0?` (${w0})`:"",JSON.stringify(l0.main)));return tH(l0,"light",a0,k),tH(l0,"dark",c0,k),l0.contrastText||(l0.contrastText=O(l0.main)),l0},o0={dark:TB,light:rH};return Ro(Le({common:Le({},R6),mode:h,primary:e0({color:I,name:"primary"}),secondary:e0({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:e0({color:Z,name:"error"}),warning:e0({color:Q,name:"warning"}),info:e0({color:R,name:"info"}),success:e0({color:M,name:"success"}),grey:DW0,contrastThreshold:d,getContrastText:O,augmentColor:e0,tonalOffset:k},o0[h]),C)}const qW0=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function $W0(f){return Math.round(f*1e5)/1e5}const iH={textTransform:"uppercase"},nH='"Roboto", "Helvetica", "Arial", sans-serif';function KW0(f,h){const d=typeof h=="function"?h(f):h,{fontFamily:k=nH,fontSize:C=14,fontWeightLight:I=300,fontWeightRegular:S=400,fontWeightMedium:Z=500,fontWeightBold:R=700,htmlFontSize:M=16,allVariants:Q,pxToRem:O}=d,e0=At(d,qW0),o0=C/14,A0=O||(u0=>`${u0/M*o0}rem`),l0=(u0,a0,c0,y0,C0)=>Le({fontFamily:k,fontWeight:u0,fontSize:A0(a0),lineHeight:c0},k===nH?{letterSpacing:`${$W0(y0/a0)}em`}:{},C0,Q),w0={h1:l0(I,96,1.167,-1.5),h2:l0(I,60,1.2,-.5),h3:l0(S,48,1.167,0),h4:l0(S,34,1.235,.25),h5:l0(S,24,1.334,0),h6:l0(Z,20,1.6,.15),subtitle1:l0(S,16,1.75,.15),subtitle2:l0(Z,14,1.57,.1),body1:l0(S,16,1.5,.15),body2:l0(S,14,1.43,.15),button:l0(Z,14,1.75,.4,iH),caption:l0(S,12,1.66,.4),overline:l0(S,12,2.66,1,iH),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ro(Le({htmlFontSize:M,pxToRem:A0,fontFamily:k,fontSize:C,fontWeightLight:I,fontWeightRegular:S,fontWeightMedium:Z,fontWeightBold:R},w0),e0,{clone:!1})}const bW0=.2,eD0=.14,rD0=.12;function Qt(...f){return[`${f[0]}px ${f[1]}px ${f[2]}px ${f[3]}px rgba(0,0,0,${bW0})`,`${f[4]}px ${f[5]}px ${f[6]}px ${f[7]}px rgba(0,0,0,${eD0})`,`${f[8]}px ${f[9]}px ${f[10]}px ${f[11]}px rgba(0,0,0,${rD0})`].join(",")}const tD0=["none",Qt(0,2,1,-1,0,1,1,0,0,1,3,0),Qt(0,3,1,-2,0,2,2,0,0,1,5,0),Qt(0,3,3,-2,0,3,4,0,0,1,8,0),Qt(0,2,4,-1,0,4,5,0,0,1,10,0),Qt(0,3,5,-1,0,5,8,0,0,1,14,0),Qt(0,3,5,-1,0,6,10,0,0,1,18,0),Qt(0,4,5,-2,0,7,10,1,0,2,16,1),Qt(0,5,5,-3,0,8,10,1,0,3,14,2),Qt(0,5,6,-3,0,9,12,1,0,3,16,2),Qt(0,6,6,-3,0,10,14,1,0,4,18,3),Qt(0,6,7,-4,0,11,15,1,0,4,20,3),Qt(0,7,8,-4,0,12,17,2,0,5,22,4),Qt(0,7,8,-4,0,13,19,2,0,5,24,4),Qt(0,7,9,-4,0,14,21,2,0,5,26,4),Qt(0,8,9,-5,0,15,22,2,0,6,28,5),Qt(0,8,10,-5,0,16,24,2,0,6,30,5),Qt(0,8,11,-5,0,17,26,2,0,6,32,5),Qt(0,9,11,-5,0,18,28,2,0,7,34,6),Qt(0,9,12,-6,0,19,29,2,0,7,36,6),Qt(0,10,13,-6,0,20,31,3,0,8,38,7),Qt(0,10,13,-6,0,21,33,3,0,8,40,7),Qt(0,10,14,-6,0,22,35,3,0,8,42,7),Qt(0,11,14,-7,0,23,36,3,0,9,44,8),Qt(0,11,15,-7,0,24,38,3,0,9,46,8)],iD0=tD0,nD0=["duration","easing","delay"],oD0={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},lD0={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function oH(f){return`${Math.round(f)}ms`}function sD0(f){if(!f)return 0;const h=f/36;return Math.round((4+15*h**.25+h/5)*10)}function AD0(f){const h=Le({},oD0,f.easing),d=Le({},lD0,f.duration);return Le({getAutoHeightDuration:sD0,create:(C=["all"],I={})=>{const{duration:S=d.standard,easing:Z=h.easeInOut,delay:R=0}=I;return At(I,nD0),(Array.isArray(C)?C:[C]).map(M=>`${M} ${typeof S=="string"?S:oH(S)} ${Z} ${typeof R=="string"?R:oH(R)}`).join(",")}},f,{easing:h,duration:d})}const uD0={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},fD0=uD0,aD0=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function cD0(f={},...h){const{mixins:d={},palette:k={},transitions:C={},typography:I={}}=f,S=At(f,aD0);if(f.vars)throw new Error(S6(18));const Z=XW0(k),R=q6(f);let M=Ro(R,{mixins:mW0(R.breakpoints,d),palette:Z,shadows:iD0.slice(),typography:KW0(Z,I),transitions:AD0(C),zIndex:Le({},fD0)});return M=Ro(M,S),M=h.reduce((Q,O)=>Ro(Q,O),M),M.unstable_sxConfig=Le({},X6,S==null?void 0:S.unstable_sxConfig),M.unstable_sx=function(O){return Cg({sx:O,theme:this})},M}const hD0=cD0(),_b=hD0,zb="$$material";function dl({props:f,name:h}){return yb({props:f,name:h,defaultTheme:_b,themeId:zb})}var K6={};const wD0=Fn(eL0);var FB={exports:{}},lH;function dD0(){return lH||(lH=1,function(f){function h(d,k){if(d==null)return{};var C={};for(var I in d)if(Object.prototype.hasOwnProperty.call(d,I)){if(k.indexOf(I)>=0)continue;C[I]=d[I]}return C}f.exports=h,f.exports.__esModule=!0,f.exports.default=f.exports}(FB)),FB.exports}const pD0=Fn(aW0),kD0=Fn(FR0),vD0=Fn(UR0),mD0=Fn(JR0),gD0=Fn(dZ0),yD0=Fn(vW0);var h3=Qr;Object.defineProperty(K6,"__esModule",{value:!0});var CD0=K6.default=DD0;K6.shouldForwardProp=Kv;K6.systemDefaultTheme=void 0;var Bo=h3(wD0),Vx=h3(dD0()),sH=zD0(pD0),ED0=kD0;h3(vD0);h3(mD0);var BD0=h3(gD0),ID0=h3(yD0);const xD0=["ownerState"],SD0=["variants"],_D0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Lb(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(Lb=function(k){return k?d:h})(f)}function zD0(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=Lb(h);if(d&&d.has(f))return d.get(f);var k={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in f)if(I!=="default"&&Object.prototype.hasOwnProperty.call(f,I)){var S=C?Object.getOwnPropertyDescriptor(f,I):null;S&&(S.get||S.set)?Object.defineProperty(k,I,S):k[I]=f[I]}return k.default=f,d&&d.set(f,k),k}function LD0(f){return Object.keys(f).length===0}function RD0(f){return typeof f=="string"&&f.charCodeAt(0)>96}function Kv(f){return f!=="ownerState"&&f!=="theme"&&f!=="sx"&&f!=="as"}const GD0=K6.systemDefaultTheme=(0,BD0.default)(),ZD0=f=>f&&f.charAt(0).toLowerCase()+f.slice(1);function wv({defaultTheme:f,theme:h,themeId:d}){return LD0(h)?f:h[d]||h}function WD0(f){return f?(h,d)=>d[f]:null}function bv(f,h){let{ownerState:d}=h,k=(0,Vx.default)(h,xD0);const C=typeof f=="function"?f((0,Bo.default)({ownerState:d},k)):f;if(Array.isArray(C))return C.flatMap(I=>bv(I,(0,Bo.default)({ownerState:d},k)));if(C&&typeof C=="object"&&Array.isArray(C.variants)){const{variants:I=[]}=C;let Z=(0,Vx.default)(C,SD0);return I.forEach(R=>{let M=!0;typeof R.props=="function"?M=R.props((0,Bo.default)({ownerState:d},k,d)):Object.keys(R.props).forEach(Q=>{(d==null?void 0:d[Q])!==R.props[Q]&&k[Q]!==R.props[Q]&&(M=!1)}),M&&(Array.isArray(Z)||(Z=[Z]),Z.push(typeof R.style=="function"?R.style((0,Bo.default)({ownerState:d},k,d)):R.style))}),Z}return C}function DD0(f={}){const{themeId:h,defaultTheme:d=GD0,rootShouldForwardProp:k=Kv,slotShouldForwardProp:C=Kv}=f,I=S=>(0,ID0.default)((0,Bo.default)({},S,{theme:wv((0,Bo.default)({},S,{defaultTheme:d,themeId:h}))}));return I.__mui_systemSx=!0,(S,Z={})=>{(0,sH.internal_processStyles)(S,C0=>C0.filter(I0=>!(I0!=null&&I0.__mui_systemSx)));const{name:R,slot:M,skipVariantsResolver:Q,skipSx:O,overridesResolver:e0=WD0(ZD0(M))}=Z,o0=(0,Vx.default)(Z,_D0),A0=Q!==void 0?Q:M&&M!=="Root"&&M!=="root"||!1,l0=O||!1;let w0,u0=Kv;M==="Root"||M==="root"?u0=k:M?u0=C:RD0(S)&&(u0=void 0);const a0=(0,sH.default)(S,(0,Bo.default)({shouldForwardProp:u0,label:w0},o0)),c0=C0=>typeof C0=="function"&&C0.__emotion_real!==C0||(0,ED0.isPlainObject)(C0)?I0=>bv(C0,(0,Bo.default)({},I0,{theme:wv({theme:I0.theme,defaultTheme:d,themeId:h})})):C0,y0=(C0,...I0)=>{let h0=c0(C0);const E0=I0?I0.map(c0):[];R&&e0&&E0.push(P0=>{const R0=wv((0,Bo.default)({},P0,{defaultTheme:d,themeId:h}));if(!R0.components||!R0.components[R]||!R0.components[R].styleOverrides)return null;const Q0=R0.components[R].styleOverrides,q0={};return Object.entries(Q0).forEach(([fe,de])=>{q0[fe]=bv(de,(0,Bo.default)({},P0,{theme:R0}))}),e0(P0,q0)}),R&&!A0&&E0.push(P0=>{var R0;const Q0=wv((0,Bo.default)({},P0,{defaultTheme:d,themeId:h})),q0=Q0==null||(R0=Q0.components)==null||(R0=R0[R])==null?void 0:R0.variants;return bv({variants:q0},(0,Bo.default)({},P0,{theme:Q0}))}),l0||E0.push(I);const z0=E0.length-I0.length;if(Array.isArray(C0)&&z0>0){const P0=new Array(z0).fill("");h0=[...C0,...P0],h0.raw=[...C0.raw,...P0]}const W0=a0(h0,...E0);return S.muiName&&(W0.muiName=S.muiName),W0};return a0.withConfig&&(y0.withConfig=a0.withConfig),y0}}function MD0(f){return f!=="ownerState"&&f!=="theme"&&f!=="sx"&&f!=="as"}const jD0=f=>MD0(f)&&f!=="classes",iz=jD0,ND0=CD0({themeId:zb,defaultTheme:_b,rootShouldForwardProp:iz}),St=ND0;function QD0(f){return io("MuiSvgIcon",f)}To("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const TD0=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],FD0=f=>{const{color:h,fontSize:d,classes:k}=f,C={root:["root",h!=="inherit"&&`color${K2(h)}`,`fontSize${K2(d)}`]};return Qo(C,QD0,k)},PD0=St("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.root,d.color!=="inherit"&&h[`color${K2(d.color)}`],h[`fontSize${K2(d.fontSize)}`]]}})(({theme:f,ownerState:h})=>{var d,k,C,I,S,Z,R,M,Q,O,e0,o0,A0;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:h.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(d=f.transitions)==null||(k=d.create)==null?void 0:k.call(d,"fill",{duration:(C=f.transitions)==null||(C=C.duration)==null?void 0:C.shorter}),fontSize:{inherit:"inherit",small:((I=f.typography)==null||(S=I.pxToRem)==null?void 0:S.call(I,20))||"1.25rem",medium:((Z=f.typography)==null||(R=Z.pxToRem)==null?void 0:R.call(Z,24))||"1.5rem",large:((M=f.typography)==null||(Q=M.pxToRem)==null?void 0:Q.call(M,35))||"2.1875rem"}[h.fontSize],color:(O=(e0=(f.vars||f).palette)==null||(e0=e0[h.color])==null?void 0:e0.main)!=null?O:{action:(o0=(f.vars||f).palette)==null||(o0=o0.action)==null?void 0:o0.active,disabled:(A0=(f.vars||f).palette)==null||(A0=A0.action)==null?void 0:A0.disabled,inherit:void 0}[h.color]}}),Rb=T0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiSvgIcon"}),{children:C,className:I,color:S="inherit",component:Z="svg",fontSize:R="medium",htmlColor:M,inheritViewBox:Q=!1,titleAccess:O,viewBox:e0="0 0 24 24"}=k,o0=At(k,TD0),A0=T0.isValidElement(C)&&C.type==="svg",l0=Le({},k,{color:S,component:Z,fontSize:R,instanceFontSize:h.fontSize,inheritViewBox:Q,viewBox:e0,hasSvgAsChild:A0}),w0={};Q||(w0.viewBox=e0);const u0=FD0(l0);return X.jsxs(PD0,Le({as:Z,className:Zt(u0.root,I),focusable:"false",color:M,"aria-hidden":O?void 0:!0,role:O?"img":void 0,ref:d},w0,o0,A0&&C.props,{ownerState:l0,children:[A0?C.props.children:C,O?X.jsx("title",{children:O}):null]}))});Rb.muiName="SvgIcon";const AH=Rb;function _a(f,h){function d(k,C){return X.jsx(AH,Le({"data-testid":`${h}Icon`,ref:C},k,{children:f}))}return d.muiName=AH.muiName,T0.memo(T0.forwardRef(d))}const YD0={configure:f=>{XK.configure(f)}},OD0=Object.freeze(Object.defineProperty({__proto__:null,capitalize:K2,createChainedFunction:XR0,createSvgIcon:_a,debounce:qR0,deprecatedPropType:$R0,isMuiElement:KR0,ownerDocument:OK,ownerWindow:bR0,requirePropFactory:eG0,setRef:VK,unstable_ClassNameGenerator:YD0,unstable_useEnhancedEffect:HK,unstable_useId:iG0,unsupportedProp:nG0,useControlled:JK,useEventCallback:j8,useForkRef:$5,useIsFocusVisible:UK},Symbol.toStringTag,{value:"Module"})),VD0=Fn(OD0);var uH;function rt(){return uH||(uH=1,function(f){"use client";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return h.createSvgIcon}});var h=VD0}(ZB)),ZB}var HD0=Qr;Object.defineProperty(P_,"__esModule",{value:!0});var w3=P_.default=void 0,JD0=HD0(rt()),UD0=X;w3=P_.default=(0,JD0.default)((0,UD0.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var nz={},XD0=Qr;Object.defineProperty(nz,"__esModule",{value:!0});var d3=nz.default=void 0,qD0=XD0(rt()),$D0=X;d3=nz.default=(0,qD0.default)((0,$D0.jsx)("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp");var oz={},KD0=Qr;Object.defineProperty(oz,"__esModule",{value:!0});var p3=oz.default=void 0,bD0=KD0(rt()),eM0=X;p3=oz.default=(0,bD0.default)((0,eM0.jsx)("path",{d:"M3 18h6v-2H3zM3 6v2h18V6zm0 7h12v-2H3z"}),"Sort");const rM0=({flags:f})=>{const[h,d]=Je.useState(!1),[k,C]=Je.useState([]),[I,S]=Je.useState(!0);T0.useEffect(()=>{const O=Z(f);C(O)},[f]);const Z=O=>O===void 0?[]:O.filter(o0=>o0.value!==void 0&&o0.value!==""&&o0.value!==null).sort((o0,A0)=>o0.flag.localeCompare(o0.flag)),R=(O,e0)=>{if(e0==="default"){let o0=[];return I?o0=O.sort((A0,l0)=>A0.default>l0.default?1:-1):o0=O.sort((A0,l0)=>A0.defaulto0.flag.localeCompare(A0.flag)):O},M=()=>{const O=R(k,"default");C(O),S(!I),d(!0)},Q=()=>h?I?X.jsx(w3,{}):X.jsx(d3,{}):X.jsx(p3,{className:"ml-2"});return X.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2",children:"Flag"}),X.jsx("th",{className:"px-4 py-2",children:"Value"}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:M,children:X.jsxs("div",{className:"flex flex-row",children:["Default",Q()]})})]})}),X.jsx("tbody",{children:k.map(O=>X.jsx(TR0,{flag:O},O.flag))})]})},tM0=({flags:f})=>{const[h,d]=T0.useState([]);return T0.useEffect(()=>{f!==void 0&&d(f)},[f]),X.jsxs("div",{className:"flex flex-col",children:[X.jsx("input",{type:"text",className:"border-2 border-gray-300 rounded-lg p-2 mb-2",placeholder:"Search",onChange:k=>{const C=f==null?void 0:f.filter(S=>S.flag.toLowerCase().includes(k.target.value.toLowerCase())),I=f==null?void 0:f.filter(S=>S.usage.toLowerCase().includes(k.target.value.toLowerCase()));d([...C,...I])}}),X.jsx(rM0,{flags:h})]})},iM0=({nodeInfo:f,onRowClicked:h})=>{const k=(I,S)=>X.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100",onClick:()=>{h(I,String(S))},children:[X.jsxs("td",{className:"px-4 py-2 font-bold",children:[I,":"]}),X.jsx("td",{className:"px-4 py-2",children:String(S).length>50?`${String(S).substring(0,50)}...`:S})]}),C=(I,S)=>{if(!I)return k(S,"null");let Z=Object.keys(I);return X.jsxs("tr",{className:"border-b border-gray-200",children:[S.length>0?X.jsx("td",{className:"px-4 py-2 font-bold",children:S+":"}):null,Z.map(R=>typeof I[R]=="object"?C(I[R],R):k(R,I[R]))]})};return X.jsx("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:X.jsx("tbody",{children:C(f,"")})})},nM0=({nodeDetails:f,onShowNodeValueDetails:h})=>f===void 0?null:X.jsx("div",{className:"flex flex-col",children:X.jsx(iM0,{nodeInfo:f,onRowClicked:(d,k)=>{h(d,k)}})}),oM0=({syncStages:f})=>f===void 0?null:X.jsx("div",{className:"flex flex-col",children:X.jsx("table",{className:"table-auto rounded-lg bg-white text-left",children:X.jsx("tbody",{children:f.map(h=>X.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:[X.jsx("td",{className:"px-4 py-2",children:h.key}),X.jsx("td",{className:"px-4 py-2",children:h.value})]},h.key))})})}),lM0=({reorg:f})=>f===void 0?null:X.jsxs("div",{className:"flex flex-col",children:[X.jsx("span",{className:"font-bold",children:"Blocks scanned:"}),X.jsx("span",{children:f.totalBlocks}),X.jsx("span",{className:"font-bold",children:"Time took:"}),X.jsx("span",{children:f.timeTook}),X.jsx("span",{className:"font-bold",children:"Wrong blocks:"}),f.wrongBlocks.length===0?X.jsx("span",{children:"None"}):X.jsx("table",{className:"table-auto rounded-lg bg-white text-left",children:X.jsx("tbody",{children:f.wrongBlocks.map(h=>X.jsx("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:X.jsx("td",{className:"px-4 py-2",children:h})},h))})})]}),k3="#1ea7fd",b6="red";const us=({primary:f=!1,size:h="medium",backgroundColor:d,disabled:k=!1,label:C,...I})=>{const S=f?"storybook-button--primary":"storybook-button--secondary",Z=k?"gray":d;return X.jsx("button",{type:"button",className:["storybook-button",`storybook-button--${h}`,S].join(" "),style:{backgroundColor:Z},disabled:k,...I,children:C})};var G4=(f=>(f.Unknown="Unknown",f.Local="Local",f.Remote="Remote",f))(G4||{});const fH={isConnectedToInternet:!0,isConnectedToNode:!0,nodeConnectionType:"Unknown",backendAddress:window.location.origin},Gb=Yu({name:"app",initialState:fH,reducers:{setIsConnectedToInternet:(f,h)=>{f.isConnectedToInternet=h.payload},setIsConnectedToNode:(f,h)=>{f.isConnectedToNode=h.payload},setNodeConnectionType:(f,h)=>{f.nodeConnectionType=h.payload},setBackendAddress:(f,h)=>{f.backendAddress=h.payload,console.log("Backend address set to: "+h.payload)},resetConectionState:()=>fH}}),{setIsConnectedToInternet:D2e,setIsConnectedToNode:aH,setNodeConnectionType:PB,setBackendAddress:sM0,resetConectionState:AM0}=Gb.actions,Zb=f=>f.connection.nodeConnectionType,uM0=Gb.reducer,s4={second:1e3,minute:6e4,hour:36e5},cH={peers:[],bootnodes:[]},Wb=Yu({name:"network",initialState:cH,reducers:{updatePeersState:(f,h)=>{const d=f.peers.findIndex(k=>k.nodeId===h.payload.activeNodeId);d!==-1&&f.peers[d].peers.forEach(k=>{if(k.lastUpdateTime0&&(S=C/h.payload.countInterval);let Z=0;I>0&&(Z=I/h.payload.countInterval);let R=k.network.bytesIn,M=k.network.bytesOut;k.network.inRate=S*8,k.network.outRate=Z*8,k.network.sCountedBytesIn=R,k.network.sCountedBytesOut=M}})},addOrUpdatePeer:(f,h)=>{const d=h.payload.nodeId;let k=h.payload.peer;k.lastUpdateTime=Date.now();let C=f.peers.findIndex(I=>I.nodeId===d);if(C!==-1){let I=f.peers[C].peers.findIndex(S=>S.id===k.id);I!==-1?(k.network.inRate=f.peers[C].peers[I].network.inRate,k.network.outRate=f.peers[C].peers[I].network.outRate,k.network.sCountedBytesIn=f.peers[C].peers[I].network.sCountedBytesIn,k.network.sCountedBytesOut=f.peers[C].peers[I].network.sCountedBytesOut,k.network.bytesIn+=f.peers[C].peers[I].network.bytesIn,k.network.bytesOut+=f.peers[C].peers[I].network.bytesOut,dv(f.peers[C].peers[I].network,k.network,"capBytesIn"),dv(f.peers[C].peers[I].network,k.network,"capBytesOut"),dv(f.peers[C].peers[I].network,k.network,"typeBytesIn"),dv(f.peers[C].peers[I].network,k.network,"typeBytesOut"),f.peers[C].peers[I]=k):f.peers[C].peers.push(k)}else f.peers.push({nodeId:d,peers:[k]})},addOrUpdateBootnodes:(f,h)=>{let d=f.bootnodes.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.bootnodes[d]=h.payload:f.bootnodes.push(h.payload)},resetNetworkStateToMockState:()=>cH}}),dv=(f,h,d)=>{let k=f[d],C=Object.keys(k);C.length>0&&C.forEach(I=>{let S=0;if(typeof k[I]=="number"){let Z=f[d][I]||0;S=h[d][I]||0,h[d][I]=S+Z}})},{resetNetworkStateToMockState:fM0,addOrUpdatePeer:aM0,addOrUpdateBootnodes:cM0,updatePeersState:hM0}=Wb.actions,wM0=f=>f.network.peers,lz=hr([wM0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.peers)}),d}),dM0=()=>hr([lz,(f,h)=>h],(f,h)=>{let d={};return f.forEach(k=>{k.id===h&&(d=k)}),d}),_g=hr([lz,et],(f,h)=>Db(h,"Sentry",f)),zg=hr([lz,et],(f,h)=>Db(h,"Sentinel",f)),Db=(f,h,d)=>{let k=[];return d.forEach(C=>{C.type.toLowerCase()===h.toLowerCase()&&k.push(C)}),k},pM0=hr([_g],f=>Mb(f)),kM0=hr([zg],f=>Mb(f)),Mb=f=>{let h=[];return f.forEach(d=>{d.active&&h.push(d)}),h},vM0=hr([_g],f=>jb(f)),mM0=hr([zg],f=>jb(f)),jb=f=>{let h=[];return f.forEach(d=>{d.network.static&&h.push(d)}),h},gM0=hr([_g],f=>Nb(f)),yM0=hr([zg],f=>Nb(f)),Nb=f=>{let h={activePeers:0,totalPeers:f.length,staticPeers:0,totalErrors:0,totalInBytes:0,totalOutBytes:0,totalInRate:0,totalOutRate:0};return f.forEach(d=>{h.totalInBytes+=d.network.bytesIn,h.totalOutBytes+=d.network.bytesOut,h.totalInRate+=d.network.inRate,h.totalOutRate+=d.network.outRate,d.active&&h.activePeers++,d.network.static&&h.staticPeers++}),h},CM0=Wb.reducer;var e5=(f=>(f[f.Queued=0]="Queued",f[f.Running=1]="Running",f[f.Completed=2]="Completed",f))(e5||{});const hH={snapshotFilesList:[],snapshotDownloadStatus:[],snapshotIndexStatus:[],syncStages:[],testSnpSyncMsgIdx:0},Qb=Yu({name:"syncStages",initialState:hH,reducers:{setSnapshotFilesList:(f,h)=>{let d=f.snapshotFilesList.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.snapshotFilesList[d].files=h.payload.files:f.snapshotFilesList.push(h.payload)},setSnapshotDownloadStatus:(f,h)=>{let d=f.snapshotDownloadStatus.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.snapshotDownloadStatus[d].downloadStatus=h.payload.downloadStatus:f.snapshotDownloadStatus.push(h.payload)},setSnapshotIndexStatus:(f,h)=>{let d=f.snapshotIndexStatus.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.snapshotIndexStatus[d].indexStatus=h.payload.indexStatus:f.snapshotIndexStatus.push(h.payload)},setNodeSyncStages:(f,h)=>{let d=f.syncStages.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.syncStages[d]=h.payload:f.syncStages.push(h.payload)},setTestSnpSyncMsgIdx:(f,h)=>{f.testSnpSyncMsgIdx=h.payload},resetSyncStagesState:()=>hH}}),{setSnapshotFilesList:EM0,resetSyncStagesState:M2e,setSnapshotDownloadStatus:BM0,setSnapshotIndexStatus:IM0,setNodeSyncStages:xM0,setTestSnpSyncMsgIdx:j2e}=Qb.actions,SM0=f=>f.syncStages.snapshotDownloadStatus,Tb=hr([SM0,et],(f,h)=>{let d={};return f.forEach(k=>{k.nodeId===h&&(d=k.downloadStatus)}),d}),_M0=f=>f.syncStages.snapshotIndexStatus;hr([_M0,et],(f,h)=>{let d={};return f.forEach(k=>{k.nodeId===h&&(d=k.indexStatus)}),d});const zM0=f=>f.syncStages.syncStages,LM0=hr([zM0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.stages)}),d}),RM0=f=>f.syncStages.snapshotFilesList,GM0=hr([RM0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.files)}),d}),ZM0=hr([GM0],f=>(f==null?void 0:f.length)===0),WM0=Qb.reducer,wH={issues:[]},DM0=Yu({name:"issue",initialState:wH,reducers:{addOrUpdateIssue:(f,h)=>{let d=f.issues.findIndex(k=>k.nodeId===h.payload.nodeId);if(d!==-1){let k=f.issues[d].issues.findIndex(C=>C.id===h.payload.issue.id);k!==-1?f.issues[d].issues[k]=h.payload.issue:f.issues[d].issues.push(h.payload.issue)}else f.issues.push({nodeId:h.payload.nodeId,issues:[h.payload.issue]})},removeIssueWithId:(f,h)=>{let d=f.issues.findIndex(k=>k.nodeId===h.payload.nodeId);if(d!==-1){let k=f.issues[d].issues.findIndex(C=>C.id===h.payload.issueId);k!==-1&&f.issues[d].issues.splice(k,1)}},resetIssueState:()=>wH}}),MM0=f=>f.issues.issues,sz=hr([MM0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.issues)}),d}),jM0=hr([sz],f=>f.length>10?"9+":f.length.toString()),NM0=hr([sz],f=>{let h=[];return f.forEach(d=>{d.type==="NetworkSpeedIssue"&&h.push(d)}),h}),QM0=DM0.reducer;var Az="persist:",uz="persist/FLUSH",Lg="persist/REHYDRATE",fz="persist/PAUSE",az="persist/PERSIST",cz="persist/PURGE",hz="persist/REGISTER",TM0=-1;function r5(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r5=function(d){return typeof d}:r5=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},r5(f)}function dH(f,h){var d=Object.keys(f);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(f);h&&(k=k.filter(function(C){return Object.getOwnPropertyDescriptor(f,C).enumerable})),d.push.apply(d,k)}return d}function FM0(f){for(var h=1;h=0)&&Object.prototype.propertyIsEnumerable.call(f,k)&&(d[k]=f[k])}return d}function KM0(f,h){if(f==null)return{};var d={},k=Object.keys(f),C,I;for(I=0;I=0)&&(d[C]=f[C]);return d}var bM0=5e3;function ej0(f,h){var d=f.version!==void 0?f.version:TM0;f.debug;var k=f.stateReconciler===void 0?YM0:f.stateReconciler,C=f.getStoredState||HM0,I=f.timeout!==void 0?f.timeout:bM0,S=null,Z=!1,R=!0,M=function(O){return O._persist.rehydrated&&S&&!R&&S.update(O),O};return function(Q,O){var e0=Q||{},o0=e0._persist,A0=$M0(e0,["_persist"]),l0=A0;if(O.type===az){var w0=!1,u0=function(E0,z0){w0||(O.rehydrate(f.key,E0,z0),w0=!0)};if(I&&setTimeout(function(){!w0&&u0(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(f.key,'"')))},I),R=!1,S||(S=OM0(f)),o0)return Ds({},h(l0,O),{_persist:o0});if(typeof O.rehydrate!="function"||typeof O.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return O.register(f.key),C(f).then(function(h0){var E0=f.migrate||function(z0,W0){return Promise.resolve(z0)};E0(h0,d).then(function(z0){u0(z0)},function(z0){u0(void 0,z0)})},function(h0){u0(void 0,h0)}),Ds({},h(l0,O),{_persist:{version:d,rehydrated:!1}})}else{if(O.type===cz)return Z=!0,O.result(UM0(f)),Ds({},h(l0,O),{_persist:o0});if(O.type===uz)return O.result(S&&S.flush()),Ds({},h(l0,O),{_persist:o0});if(O.type===fz)R=!0;else if(O.type===Lg){if(Z)return Ds({},l0,{_persist:Ds({},o0,{rehydrated:!0})});if(O.key===f.key){var a0=h(l0,O),c0=O.payload,y0=k!==!1&&c0!==void 0?k(c0,Q,a0,f):a0,C0=Ds({},y0,{_persist:Ds({},o0,{rehydrated:!0})});return M(C0)}}}if(!o0)return h(Q,O);var I0=h(l0,O);return I0===l0?Q:M(Ds({},I0,{_persist:o0}))}}function kH(f){return ij0(f)||tj0(f)||rj0()}function rj0(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function tj0(f){if(Symbol.iterator in Object(f)||Object.prototype.toString.call(f)==="[object Arguments]")return Array.from(f)}function ij0(f){if(Array.isArray(f)){for(var h=0,d=new Array(f.length);h0&&arguments[0]!==void 0?arguments[0]:Fb,d=arguments.length>1?arguments[1]:void 0;switch(d.type){case hz:return Hx({},h,{registry:[].concat(kH(h.registry),[d.key])});case Lg:var k=h.registry.indexOf(d.key),C=kH(h.registry);return C.splice(k,1),Hx({},h,{registry:C,bootstrapped:C.length===0});default:return h}};function lj0(f,h,d){var k=d||!1,C=M_(oj0,Fb,h&&h.enhancer?h.enhancer:void 0),I=function(M){C.dispatch({type:hz,key:M})},S=function(M,Q,O){var e0={type:Lg,payload:Q,err:O,key:M};f.dispatch(e0),C.dispatch(e0),k&&Z.getState().bootstrapped&&(k(),k=!1)},Z=Hx({},C,{purge:function(){var M=[];return f.dispatch({type:cz,result:function(O){M.push(O)}}),Promise.all(M)},flush:function(){var M=[];return f.dispatch({type:uz,result:function(O){M.push(O)}}),Promise.all(M)},pause:function(){f.dispatch({type:fz})},persist:function(){f.dispatch({type:az,register:I,rehydrate:S})}});return h&&h.manualPersist||Z.persist(),Z}var wz={},dz={};dz.__esModule=!0;dz.default=uj0;function t5(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t5=function(d){return typeof d}:t5=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},t5(f)}function YB(){}var sj0={getItem:YB,setItem:YB,removeItem:YB};function Aj0(f){if((typeof self>"u"?"undefined":t5(self))!=="object"||!(f in self))return!1;try{var h=self[f],d="redux-persist ".concat(f," test");h.setItem(d,"test"),h.getItem(d),h.removeItem(d)}catch{return!1}return!0}function uj0(f){var h="".concat(f,"Storage");return Aj0(h)?self[h]:sj0}wz.__esModule=!0;wz.default=cj0;var fj0=aj0(dz);function aj0(f){return f&&f.__esModule?f:{default:f}}function cj0(f){var h=(0,fj0.default)(f);return{getItem:function(k){return new Promise(function(C,I){C(h.getItem(k))})},setItem:function(k,C){return new Promise(function(I,S){I(h.setItem(k,C))})},removeItem:function(k){return new Promise(function(C,I){C(h.removeItem(k))})}}}var Pb=void 0,hj0=wj0(wz);function wj0(f){return f&&f.__esModule?f:{default:f}}var dj0=(0,hj0.default)("local");Pb=dj0;const mH={nodeHeaders:[]},Yb=Yu({name:"headers",initialState:mH,reducers:{addOrUpdateHeaders:(f,h)=>{let d=f.nodeHeaders.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.nodeHeaders[d].headers=h.payload.headers:f.nodeHeaders.push({nodeId:h.payload.nodeId,headers:h.payload.headers})},resetHeadersState:()=>mH}}),{addOrUpdateHeaders:pj0,resetHeadersState:N2e}=Yb.actions,kj0=f=>f.headers.nodeHeaders;hr([kj0,et],(f,h)=>f.find(d=>d.nodeId===h));const vj0=Yb.reducer,gH={networkSpeed:[],ramInfo:[],cpuInfo:[],diskInfo:[],processesInfo:[]},Ob=Yu({name:"systemInfo",initialState:gH,reducers:{addOrUpdateNetworkSpeed:(f,h)=>{let d=f.networkSpeed.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.networkSpeed[d].networkSpeed=h.payload.networkSpeed:f.networkSpeed.push({nodeId:h.payload.nodeId,networkSpeed:h.payload.networkSpeed})},addOrUpdateRAMInfo:(f,h)=>{let d=f.ramInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.ramInfo[d]=h.payload:f.ramInfo.push({nodeId:h.payload.nodeId,info:h.payload.info})},addOrUpdateCPUInfo:(f,h)=>{f.cpuInfo||(f.cpuInfo=[]);let d=f.cpuInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.cpuInfo[d].info=h.payload.info:f.cpuInfo.push({nodeId:h.payload.nodeId,info:h.payload.info,usage:{total:0,cores:[]}})},addOrUpdateCPUUsage:(f,h)=>{let d=f.cpuInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.cpuInfo[d].usage=h.payload.usage:f.cpuInfo.push({nodeId:h.payload.nodeId,info:[],usage:h.payload.usage})},addOrUpdateDiskInfo:(f,h)=>{let d=f.diskInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.diskInfo[d].info=h.payload.info:f.diskInfo.push({nodeId:h.payload.nodeId,info:h.payload.info})},addOrUpdateProcessesInfo:(f,h)=>{let d=f.processesInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.processesInfo[d].processes=h.payload.info:f.processesInfo.push({nodeId:h.payload.nodeId,processes:h.payload.info})},addOrUpdateRAMUsage:(f,h)=>{let d=f.ramInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?f.ramInfo[d].info.usedPercent=h.payload.usage:f.ramInfo.push({nodeId:h.payload.nodeId,info:{total:0,available:0,used:0,usedPercent:h.payload.usage}})},resetSystemInfoState:()=>gH}}),{addOrUpdateNetworkSpeed:Q2e,addOrUpdateCPUInfo:mj0,addOrUpdateDiskInfo:gj0,addOrUpdateProcessesInfo:yj0,addOrUpdateRAMInfo:Cj0,addOrUpdateCPUUsage:Ej0,addOrUpdateRAMUsage:T2e,resetSystemInfoState:F2e}=Ob.actions,Bj0=f=>f.sysInfo.networkSpeed;hr([Bj0,et],(f,h)=>{let d={};return f.forEach(k=>{k.nodeId===h&&(d=k.networkSpeed)}),d});const Ij0=f=>f.sysInfo.ramInfo,xj0=hr([Ij0,et],(f,h)=>{let d={};return f.forEach(k=>{k.nodeId===h&&(d=k.info)}),d}),Vb=f=>f.sysInfo.cpuInfo,Hb=hr([Vb,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.info)}),d}),Sj0=hr([Vb,et],(f,h)=>{let d={total:0,cores:[]};return f.forEach(k=>{k.nodeId===h&&(d=k.usage)}),d}),_j0=f=>f.sysInfo.diskInfo,zj0=hr([_j0,et],(f,h)=>{let d={};return f.forEach(k=>{k.nodeId===h&&(d=k.info)}),d}),Lj0=f=>f.sysInfo.processesInfo,Rj0=hr([Lj0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.processes)}),d}),Gj0=Ob.reducer,yH={profileData:[]},Jb=Yu({name:"profile",initialState:yH,reducers:{addProfile:(f,h)=>{let d=f.profileData.findIndex(k=>k.nodeId===h.payload.nodeId);if(d!==-1){let k=f.profileData[d].profileData.findIndex(C=>C.name===h.payload.profileName);k!==-1?(f.profileData[d].profileData[k].profile.push({date:new Date().toISOString(),data:h.payload.data}),f.profileData[d].profileData[k].profile.length>10&&f.profileData[d].profileData[k].profile.shift()):f.profileData[d].profileData.push({name:h.payload.profileName,profile:[{date:new Date().toISOString(),data:h.payload.data}]})}else f.profileData.push({nodeId:h.payload.nodeId,profileData:[{name:h.payload.profileName,profile:[{date:new Date().toISOString(),data:h.payload.data}]}]})},resetSyncStagesState:()=>yH}}),{addProfile:Zj0}=Jb.actions,Wj0=f=>f.profile.profileData,Dj0=hr([Wj0,et],(f,h)=>{let d=[];return f.forEach(k=>{k.nodeId===h&&(d=k.profileData)}),d}),Mj0=Jb.reducer,jj0={key:"root",blacklist:["connection"],storage:Pb},Nj0=zK({app:NR0,network:CM0,connection:uM0,syncStages:WM0,issues:QM0,headers:vj0,sysInfo:Gj0,profile:Mj0}),Qj0=ej0(jj0,Nj0),lr=eR0({reducer:Qj0,middleware:f=>f({serializableCheck:{ignoredActions:[uz,Lg,fz,az,cz,hz]}})}),Tj0=lj0(lr),i5=()=>lr.getState().connection.nodeConnectionType===G4.Local,Fj0="sessions",Pj0="nodes",Yj0="version",Oj0="flags",Vj0="cmdline",Hj0="logs",Jj0="sync-stages",Ub="dbs",Uj0="tables",Xj0="reorgs",qj0="peers",$j0="bootnodes",Kj0="snapshot-sync",bj0="snapshot-files-list",eN0="headers",rN0="nodeinfo",tN0="hardware-info",iN0="cpu-usage",nN0="processes-info",oN0="pprof/goroutine",lN0="pprof/threadcreate",sN0="pprof/heap",AN0="pprof/allocs",uN0="pprof/block",fN0="pprof/mutex",aN0=()=>lr.getState().app.activeSessionPin,pz=(f=!1)=>{const h=aN0();let k=`${lr.getState().connection.backendAddress}/api`;return f&&(k+="/v2"),`${k}/${Fj0}/${h}`},$t=(f=!1)=>{if(i5())return`${lr.getState().connection.backendAddress}/debug/diag`;{const h=pz(f),d=lr.getState().app.activeNodeId;return`${h}/${Pj0}/${d}`}},cN0=()=>`${$t(!0)}/${Yj0}`,Xb=()=>`${$t(!0)}/${Oj0}`,qb=()=>`${$t(!0)}/${Vj0}`,$b=(f=!1)=>`${$t(f)}/${Hj0}`,Kb=()=>`${$t()}/${Jj0}`,hN0=()=>`${$t(!0)}/${Ub}`,wN0=f=>`${$t()}/${Ub}/${f}/${Uj0}`,bb=()=>`${$t()}/${Xj0}`,dN0=()=>`${$t(!0)}/${qj0}`,pN0=()=>`${$t(!0)}/${$j0}`,kN0=()=>`${$t(!0)}/${Kj0}`,vN0=()=>`${$t(!0)}/${bj0}`,mN0=()=>`${$t(!0)}/${eN0}`,gN0=()=>`${$t(!0)}/${rN0}`,yN0=()=>`${window.location.origin}/diagaddr`,CN0=()=>`${$t(!0)}/${tN0}`,EN0=()=>`${$t(!0)}/${iN0}`,BN0=()=>`${$t(!0)}/${nN0}`,IN0=()=>`${$t(!0)}/${oN0}`,xN0=()=>`${$t(!0)}/${lN0}`,CH=()=>`${$t(!0)}/${sN0}`,SN0=()=>`${$t(!0)}/${AN0}`,_N0=()=>`${$t(!0)}/${uN0}`,zN0=()=>`${$t(!0)}/${fN0}`,LN0=()=>{{const f=Hi(yN0(),"GET");return Vi(f)}},RN0=()=>{{const f=Hi(pz(),"GET");return Vi(f)}},GN0=()=>{{const f=Hi(gN0(),"GET");return Vi(f)}},ZN0=()=>{{const f=Hi(cN0(),"GET");return Vi(f)}},WN0=()=>{{const f=Hi(Xb(),"GET");return Vi(f)}},DN0=()=>{{const f=Hi(qb(),"GET");return Vi(f)}},MN0=()=>{{const f=Hi($b(!0),"GET");return Vi(f)}},jN0=()=>{{const f=Hi(Kb(),"GET");return Vi(f)}},NN0=()=>{{const f=Hi(hN0(),"GET");return Vi(f)}},QN0=f=>{{const h=Hi(wN0(f),"GET");return Vi(h)}},TN0=()=>{{const f=Hi(bb(),"GET");return Vi(f)}},FN0=()=>{{const f=Hi(dN0(),"GET");return Vi(f)}},PN0=()=>{{const f=Hi(pN0(),"GET");return Vi(f)}},YN0=()=>{{const f=Hi(kN0(),"GET");return Vi(f)}},ON0=()=>{{const f=Hi(vN0(),"GET");return Vi(f)}},VN0=()=>{{const f=Hi(mN0(),"GET");return Vi(f)}},HN0=()=>{{const f=Hi(CN0(),"GET");return Vi(f)}},JN0=()=>{{const f=Hi(EN0(),"GET");return Vi(f)}},UN0=()=>{{const f=Hi(BN0(),"GET");return Vi(f)}},Vi=f=>fetch(f).then(h=>(lr.dispatch(aH(!0)),h.json())).catch(h=>{throw lr.dispatch(aH(!1)),h});function Hi(f,h,d){return new Request(f,{method:h,headers:{"Content-Type":"application/json"}})}var kz={},XN0=Qr;Object.defineProperty(kz,"__esModule",{value:!0});var im=kz.default=void 0,qN0=XN0(rt()),$N0=X;im=kz.default=(0,qN0.default)((0,$N0.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");var vz={},KN0=Qr;Object.defineProperty(vz,"__esModule",{value:!0});var Rg=vz.default=void 0,bN0=KN0(rt()),eQ0=X;Rg=vz.default=(0,bN0.default)((0,eQ0.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function e00(f){return dl}function rQ0(f){return typeof f=="string"}function tQ0(f,h,d){return f===void 0||rQ0(f)?h:Le({},h,{ownerState:Le({},h.ownerState,d)})}function iQ0(f,h=[]){if(f===void 0)return{};const d={};return Object.keys(f).filter(k=>k.match(/^on[A-Z]/)&&typeof f[k]=="function"&&!h.includes(k)).forEach(k=>{d[k]=f[k]}),d}function nQ0(f,h,d){return typeof f=="function"?f(h,d):f}function EH(f){if(f===void 0)return{};const h={};return Object.keys(f).filter(d=>!(d.match(/^on[A-Z]/)&&typeof f[d]=="function")).forEach(d=>{h[d]=f[d]}),h}function oQ0(f){const{getSlotProps:h,additionalProps:d,externalSlotProps:k,externalForwardedProps:C,className:I}=f;if(!h){const o0=Zt(d==null?void 0:d.className,I,C==null?void 0:C.className,k==null?void 0:k.className),A0=Le({},d==null?void 0:d.style,C==null?void 0:C.style,k==null?void 0:k.style),l0=Le({},d,C,k);return o0.length>0&&(l0.className=o0),Object.keys(A0).length>0&&(l0.style=A0),{props:l0,internalRef:void 0}}const S=iQ0(Le({},C,k)),Z=EH(k),R=EH(C),M=h(S),Q=Zt(M==null?void 0:M.className,d==null?void 0:d.className,I,C==null?void 0:C.className,k==null?void 0:k.className),O=Le({},M==null?void 0:M.style,d==null?void 0:d.style,C==null?void 0:C.style,k==null?void 0:k.style),e0=Le({},M,d,R,Z);return Q.length>0&&(e0.className=Q),Object.keys(O).length>0&&(e0.style=O),{props:e0,internalRef:M.ref}}const lQ0=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],sQ0=["component","slots","slotProps"],AQ0=["component"];function BH(f,h){const{className:d,elementType:k,ownerState:C,externalForwardedProps:I,getSlotOwnerState:S,internalForwardedProps:Z}=h,R=At(h,lQ0),{component:M,slots:Q={[f]:void 0},slotProps:O={[f]:void 0}}=I,e0=At(I,sQ0),o0=Q[f]||k,A0=nQ0(O[f],C),l0=oQ0(Le({className:d},R,{externalForwardedProps:f==="root"?e0:void 0,externalSlotProps:A0})),{props:{component:w0},internalRef:u0}=l0,a0=At(l0.props,AQ0),c0=$5(u0,A0==null?void 0:A0.ref,h.ref),y0=S?S(a0):{},C0=Le({},C,y0),I0=f==="root"?w0||M:w0,h0=tQ0(o0,Le({},f==="root"&&!M&&!Q[f]&&Z,f!=="root"&&!Q[f]&&Z,a0,I0&&{as:I0},{ref:c0}),C0);return Object.keys(y0).forEach(E0=>{delete h0[E0]}),[o0,h0]}const uQ0=f=>{let h;return f<1?h=5.11916*f**2:h=4.5*Math.log(f+1)+2,(h/100).toFixed(2)},IH=uQ0,fQ0=["ownerState"],aQ0=["variants"],cQ0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function hQ0(f){return Object.keys(f).length===0}function wQ0(f){return typeof f=="string"&&f.charCodeAt(0)>96}function OB(f){return f!=="ownerState"&&f!=="theme"&&f!=="sx"&&f!=="as"}const dQ0=q6(),pQ0=f=>f&&f.charAt(0).toLowerCase()+f.slice(1);function pv({defaultTheme:f,theme:h,themeId:d}){return hQ0(h)?f:h[d]||h}function kQ0(f){return f?(h,d)=>d[f]:null}function n5(f,h){let{ownerState:d}=h,k=At(h,fQ0);const C=typeof f=="function"?f(Le({ownerState:d},k)):f;if(Array.isArray(C))return C.flatMap(I=>n5(I,Le({ownerState:d},k)));if(C&&typeof C=="object"&&Array.isArray(C.variants)){const{variants:I=[]}=C;let Z=At(C,aQ0);return I.forEach(R=>{let M=!0;typeof R.props=="function"?M=R.props(Le({ownerState:d},k,d)):Object.keys(R.props).forEach(Q=>{(d==null?void 0:d[Q])!==R.props[Q]&&k[Q]!==R.props[Q]&&(M=!1)}),M&&(Array.isArray(Z)||(Z=[Z]),Z.push(typeof R.style=="function"?R.style(Le({ownerState:d},k,d)):R.style))}),Z}return C}function vQ0(f={}){const{themeId:h,defaultTheme:d=dQ0,rootShouldForwardProp:k=OB,slotShouldForwardProp:C=OB}=f,I=S=>Cg(Le({},S,{theme:pv(Le({},S,{defaultTheme:d,themeId:h}))}));return I.__mui_systemSx=!0,(S,Z={})=>{gb(S,C0=>C0.filter(I0=>!(I0!=null&&I0.__mui_systemSx)));const{name:R,slot:M,skipVariantsResolver:Q,skipSx:O,overridesResolver:e0=kQ0(pQ0(M))}=Z,o0=At(Z,cQ0),A0=Q!==void 0?Q:M&&M!=="Root"&&M!=="root"||!1,l0=O||!1;let w0,u0=OB;M==="Root"||M==="root"?u0=k:M?u0=C:wQ0(S)&&(u0=void 0);const a0=mb(S,Le({shouldForwardProp:u0,label:w0},o0)),c0=C0=>typeof C0=="function"&&C0.__emotion_real!==C0||Ts(C0)?I0=>n5(C0,Le({},I0,{theme:pv({theme:I0.theme,defaultTheme:d,themeId:h})})):C0,y0=(C0,...I0)=>{let h0=c0(C0);const E0=I0?I0.map(c0):[];R&&e0&&E0.push(P0=>{const R0=pv(Le({},P0,{defaultTheme:d,themeId:h}));if(!R0.components||!R0.components[R]||!R0.components[R].styleOverrides)return null;const Q0=R0.components[R].styleOverrides,q0={};return Object.entries(Q0).forEach(([fe,de])=>{q0[fe]=n5(de,Le({},P0,{theme:R0}))}),e0(P0,q0)}),R&&!A0&&E0.push(P0=>{var R0;const Q0=pv(Le({},P0,{defaultTheme:d,themeId:h})),q0=Q0==null||(R0=Q0.components)==null||(R0=R0[R])==null?void 0:R0.variants;return n5({variants:q0},Le({},P0,{theme:Q0}))}),l0||E0.push(I);const z0=E0.length-I0.length;if(Array.isArray(C0)&&z0>0){const P0=new Array(z0).fill("");h0=[...C0,...P0],h0.raw=[...C0.raw,...P0]}const W0=a0(h0,...E0);return S.muiName&&(W0.muiName=S.muiName),W0};return a0.withConfig&&(y0.withConfig=a0.withConfig),y0}}const mQ0=vQ0(),gQ0=mQ0,yQ0=["component","direction","spacing","divider","children","className","useFlexGap"],CQ0=q6(),EQ0=gQ0("div",{name:"MuiStack",slot:"Root",overridesResolver:(f,h)=>h.root});function BQ0(f){return yb({props:f,name:"MuiStack",defaultTheme:CQ0})}function IQ0(f,h){const d=T0.Children.toArray(f).filter(Boolean);return d.reduce((k,C,I)=>(k.push(C),I({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[f],SQ0=({ownerState:f,theme:h})=>{let d=Le({display:"flex",flexDirection:"column"},wl({theme:h},NB({values:f.direction,breakpoints:h.breakpoints.values}),k=>({flexDirection:k})));if(f.spacing){const k=J_(h),C=Object.keys(h.breakpoints.values).reduce((R,M)=>((typeof f.spacing=="object"&&f.spacing[M]!=null||typeof f.direction=="object"&&f.direction[M]!=null)&&(R[M]=!0),R),{}),I=NB({values:f.direction,base:C}),S=NB({values:f.spacing,base:C});typeof I=="object"&&Object.keys(I).forEach((R,M,Q)=>{if(!I[R]){const e0=M>0?I[Q[M-1]]:"column";I[R]=e0}}),d=Ro(d,wl({theme:h},S,(R,M)=>f.useFlexGap?{gap:va(k,R)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${xQ0(M?I[M]:f.direction)}`]:va(k,R)}}))}return d=xG0(h.breakpoints,d),d};function _Q0(f={}){const{createStyledComponent:h=EQ0,useThemeProps:d=BQ0,componentName:k="MuiStack"}=f,C=()=>Qo({root:["root"]},R=>io(k,R),{}),I=h(SQ0);return T0.forwardRef(function(R,M){const Q=d(R),O=b_(Q),{component:e0="div",direction:o0="column",spacing:A0=0,divider:l0,children:w0,className:u0,useFlexGap:a0=!1}=O,c0=At(O,yQ0),y0={direction:o0,spacing:A0,useFlexGap:a0},C0=C();return X.jsx(I,Le({as:e0,ownerState:y0,ref:M,className:Zt(C0.root,u0)},c0,{children:l0?IQ0(w0,l0):w0}))})}function zQ0(f){return io("MuiPaper",f)}To("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const LQ0=["className","component","elevation","square","variant"],RQ0=f=>{const{square:h,elevation:d,variant:k,classes:C}=f,I={root:["root",k,!h&&"rounded",k==="elevation"&&`elevation${d}`]};return Qo(I,zQ0,C)},GQ0=St("div",{name:"MuiPaper",slot:"Root",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.root,h[d.variant],!d.square&&h.rounded,d.variant==="elevation"&&h[`elevation${d.elevation}`]]}})(({theme:f,ownerState:h})=>{var d;return Le({backgroundColor:(f.vars||f).palette.background.paper,color:(f.vars||f).palette.text.primary,transition:f.transitions.create("box-shadow")},!h.square&&{borderRadius:f.shape.borderRadius},h.variant==="outlined"&&{border:`1px solid ${(f.vars||f).palette.divider}`},h.variant==="elevation"&&Le({boxShadow:(f.vars||f).shadows[h.elevation]},!f.vars&&f.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${rs("#fff",IH(h.elevation))}, ${rs("#fff",IH(h.elevation))})`},f.vars&&{backgroundImage:(d=f.vars.overlays)==null?void 0:d[h.elevation]}))}),ZQ0=T0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiPaper"}),{className:C,component:I="div",elevation:S=1,square:Z=!1,variant:R="elevation"}=k,M=At(k,LQ0),Q=Le({},k,{component:I,elevation:S,square:Z,variant:R}),O=RQ0(Q);return X.jsx(GQ0,Le({as:I,ownerState:Q,className:Zt(O.root,C),ref:d},M))}),WQ0=ZQ0;function DQ0(f){return io("MuiAlert",f)}const MQ0=To("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),xH=MQ0;function nm(f,h){return nm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,C){return k.__proto__=C,k},nm(f,h)}function jQ0(f,h){f.prototype=Object.create(h.prototype),f.prototype.constructor=f,nm(f,h)}const SH=Je.createContext(null);function Ge(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function mz(f,h){var d=function(I){return h&&T0.isValidElement(I)?h(I):I},k=Object.create(null);return f&&T0.Children.map(f,function(C){return C}).forEach(function(C){k[C.key]=d(C)}),k}function NQ0(f,h){f=f||{},h=h||{};function d(Q){return Q in h?h[Q]:f[Q]}var k=Object.create(null),C=[];for(var I in f)I in h?C.length&&(k[I]=C,C=[]):C.push(I);var S,Z={};for(var R in h){if(k[R])for(S=0;S{if(!Z&&R!=null){const l0=setTimeout(R,M);return()=>{clearTimeout(l0)}}},[R,Z,M]),X.jsx("span",{className:e0,style:o0,children:X.jsx("span",{className:A0})})}const VQ0=To("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Io=VQ0,HQ0=["center","classes","className"];let Gg=f=>f,_H,zH,LH,RH;const Jx=550,JQ0=80,UQ0=a3(_H||(_H=Gg` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),XQ0=a3(zH||(zH=Gg` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),qQ0=a3(LH||(LH=Gg` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),$Q0=St("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),KQ0=St(OQ0,{name:"MuiTouchRipple",slot:"Ripple"})(RH||(RH=Gg` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),Io.rippleVisible,UQ0,Jx,({theme:f})=>f.transitions.easing.easeInOut,Io.ripplePulsate,({theme:f})=>f.transitions.duration.shorter,Io.child,Io.childLeaving,XQ0,Jx,({theme:f})=>f.transitions.easing.easeInOut,Io.childPulsate,qQ0,({theme:f})=>f.transitions.easing.easeInOut),bQ0=T0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiTouchRipple"}),{center:C=!1,classes:I={},className:S}=k,Z=At(k,HQ0),[R,M]=T0.useState([]),Q=T0.useRef(0),O=T0.useRef(null);T0.useEffect(()=>{O.current&&(O.current(),O.current=null)},[R]);const e0=T0.useRef(!1),o0=AG0(),A0=T0.useRef(null),l0=T0.useRef(null),w0=T0.useCallback(y0=>{const{pulsate:C0,rippleX:I0,rippleY:h0,rippleSize:E0,cb:z0}=y0;M(W0=>[...W0,X.jsx(KQ0,{classes:{ripple:Zt(I.ripple,Io.ripple),rippleVisible:Zt(I.rippleVisible,Io.rippleVisible),ripplePulsate:Zt(I.ripplePulsate,Io.ripplePulsate),child:Zt(I.child,Io.child),childLeaving:Zt(I.childLeaving,Io.childLeaving),childPulsate:Zt(I.childPulsate,Io.childPulsate)},timeout:Jx,pulsate:C0,rippleX:I0,rippleY:h0,rippleSize:E0},Q.current)]),Q.current+=1,O.current=z0},[I]),u0=T0.useCallback((y0={},C0={},I0=()=>{})=>{const{pulsate:h0=!1,center:E0=C||C0.pulsate,fakeElement:z0=!1}=C0;if((y0==null?void 0:y0.type)==="mousedown"&&e0.current){e0.current=!1;return}(y0==null?void 0:y0.type)==="touchstart"&&(e0.current=!0);const W0=z0?null:l0.current,P0=W0?W0.getBoundingClientRect():{width:0,height:0,left:0,top:0};let R0,Q0,q0;if(E0||y0===void 0||y0.clientX===0&&y0.clientY===0||!y0.clientX&&!y0.touches)R0=Math.round(P0.width/2),Q0=Math.round(P0.height/2);else{const{clientX:fe,clientY:de}=y0.touches&&y0.touches.length>0?y0.touches[0]:y0;R0=Math.round(fe-P0.left),Q0=Math.round(de-P0.top)}if(E0)q0=Math.sqrt((2*P0.width**2+P0.height**2)/3),q0%2===0&&(q0+=1);else{const fe=Math.max(Math.abs((W0?W0.clientWidth:0)-R0),R0)*2+2,de=Math.max(Math.abs((W0?W0.clientHeight:0)-Q0),Q0)*2+2;q0=Math.sqrt(fe**2+de**2)}y0!=null&&y0.touches?A0.current===null&&(A0.current=()=>{w0({pulsate:h0,rippleX:R0,rippleY:Q0,rippleSize:q0,cb:I0})},o0.start(JQ0,()=>{A0.current&&(A0.current(),A0.current=null)})):w0({pulsate:h0,rippleX:R0,rippleY:Q0,rippleSize:q0,cb:I0})},[C,w0,o0]),a0=T0.useCallback(()=>{u0({},{pulsate:!0})},[u0]),c0=T0.useCallback((y0,C0)=>{if(o0.clear(),(y0==null?void 0:y0.type)==="touchend"&&A0.current){A0.current(),A0.current=null,o0.start(0,()=>{c0(y0,C0)});return}A0.current=null,M(I0=>I0.length>0?I0.slice(1):I0),O.current=C0},[o0]);return T0.useImperativeHandle(d,()=>({pulsate:a0,start:u0,stop:c0}),[a0,u0,c0]),X.jsx($Q0,Le({className:Zt(Io.root,I.root,S),ref:l0},Z,{children:X.jsx(YQ0,{component:null,exit:!0,children:R})}))}),eT0=bQ0;function rT0(f){return io("MuiButtonBase",f)}const tT0=To("MuiButtonBase",["root","disabled","focusVisible"]),iT0=tT0,nT0=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],oT0=f=>{const{disabled:h,focusVisible:d,focusVisibleClassName:k,classes:C}=f,S=Qo({root:["root",h&&"disabled",d&&"focusVisible"]},rT0,C);return d&&k&&(S.root+=` ${k}`),S},lT0=St("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(f,h)=>h.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${iT0.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),sT0=T0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiButtonBase"}),{action:C,centerRipple:I=!1,children:S,className:Z,component:R="button",disabled:M=!1,disableRipple:Q=!1,disableTouchRipple:O=!1,focusRipple:e0=!1,LinkComponent:o0="a",onBlur:A0,onClick:l0,onContextMenu:w0,onDragLeave:u0,onFocus:a0,onFocusVisible:c0,onKeyDown:y0,onKeyUp:C0,onMouseDown:I0,onMouseLeave:h0,onMouseUp:E0,onTouchEnd:z0,onTouchMove:W0,onTouchStart:P0,tabIndex:R0=0,TouchRippleProps:Q0,touchRippleRef:q0,type:fe}=k,de=At(k,nT0),Se=T0.useRef(null),we=T0.useRef(null),Ie=$5(we,q0),{isFocusVisibleRef:Ne,onFocus:c2,onBlur:f2,ref:H2}=UK(),[j2,qe]=T0.useState(!1);M&&j2&&qe(!1),T0.useImperativeHandle(C,()=>({focusVisible:()=>{qe(!0),Se.current.focus()}}),[]);const[ye,Be]=T0.useState(!1);T0.useEffect(()=>{Be(!0)},[]);const Ce=ye&&!Q&&!M;T0.useEffect(()=>{j2&&e0&&!Q&&ye&&we.current.pulsate()},[Q,e0,j2,ye]);function _e(R2,hs,G1=O){return j8(no=>(hs&&hs(no),!G1&&we.current&&we.current[R2](no),!0))}const ae=_e("start",I0),Ue=_e("stop",w0),Ye=_e("stop",u0),He=_e("stop",E0),Ee=_e("stop",R2=>{j2&&R2.preventDefault(),h0&&h0(R2)}),xe=_e("start",P0),Pe=_e("stop",z0),je=_e("stop",W0),r2=_e("stop",R2=>{f2(R2),Ne.current===!1&&qe(!1),A0&&A0(R2)},!1),n2=j8(R2=>{Se.current||(Se.current=R2.currentTarget),c2(R2),Ne.current===!0&&(qe(!0),c0&&c0(R2)),a0&&a0(R2)}),h2=()=>{const R2=Se.current;return R&&R!=="button"&&!(R2.tagName==="A"&&R2.href)},N2=T0.useRef(!1),b2=j8(R2=>{e0&&!N2.current&&j2&&we.current&&R2.key===" "&&(N2.current=!0,we.current.stop(R2,()=>{we.current.start(R2)})),R2.target===R2.currentTarget&&h2()&&R2.key===" "&&R2.preventDefault(),y0&&y0(R2),R2.target===R2.currentTarget&&h2()&&R2.key==="Enter"&&!M&&(R2.preventDefault(),l0&&l0(R2))}),mr=j8(R2=>{e0&&R2.key===" "&&we.current&&j2&&!R2.defaultPrevented&&(N2.current=!1,we.current.stop(R2,()=>{we.current.pulsate(R2)})),C0&&C0(R2),l0&&R2.target===R2.currentTarget&&h2()&&R2.key===" "&&!R2.defaultPrevented&&l0(R2)});let xr=R;xr==="button"&&(de.href||de.to)&&(xr=o0);const tt={};xr==="button"?(tt.type=fe===void 0?"button":fe,tt.disabled=M):(!de.href&&!de.to&&(tt.role="button"),M&&(tt["aria-disabled"]=M));const nn=$5(d,H2,Se),Ji=Le({},k,{centerRipple:I,component:R,disabled:M,disableRipple:Q,disableTouchRipple:O,focusRipple:e0,tabIndex:R0,focusVisible:j2}),ki=oT0(Ji);return X.jsxs(lT0,Le({as:xr,className:Zt(ki.root,Z),ownerState:Ji,onBlur:r2,onClick:l0,onContextMenu:Ue,onFocus:n2,onKeyDown:b2,onKeyUp:mr,onMouseDown:ae,onMouseLeave:Ee,onMouseUp:He,onDragLeave:Ye,onTouchEnd:Pe,onTouchMove:je,onTouchStart:xe,ref:nn,tabIndex:M?-1:R0,type:fe},tt,de,{children:[S,Ce?X.jsx(eT0,Le({ref:Ie,center:I},Q0)):null]}))}),yz=sT0;function AT0(f){return io("MuiIconButton",f)}const uT0=To("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),fT0=uT0,aT0=["edge","children","className","color","disabled","disableFocusRipple","size"],cT0=f=>{const{classes:h,disabled:d,color:k,edge:C,size:I}=f,S={root:["root",d&&"disabled",k!=="default"&&`color${K2(k)}`,C&&`edge${K2(C)}`,`size${K2(I)}`]};return Qo(S,AT0,h)},hT0=St(yz,{name:"MuiIconButton",slot:"Root",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.root,d.color!=="default"&&h[`color${K2(d.color)}`],d.edge&&h[`edge${K2(d.edge)}`],h[`size${K2(d.size)}`]]}})(({theme:f,ownerState:h})=>Le({textAlign:"center",flex:"0 0 auto",fontSize:f.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(f.vars||f).palette.action.active,transition:f.transitions.create("background-color",{duration:f.transitions.duration.shortest})},!h.disableRipple&&{"&:hover":{backgroundColor:f.vars?`rgba(${f.vars.palette.action.activeChannel} / ${f.vars.palette.action.hoverOpacity})`:rs(f.palette.action.active,f.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},h.edge==="start"&&{marginLeft:h.size==="small"?-3:-12},h.edge==="end"&&{marginRight:h.size==="small"?-3:-12}),({theme:f,ownerState:h})=>{var d;const k=(d=(f.vars||f).palette)==null?void 0:d[h.color];return Le({},h.color==="inherit"&&{color:"inherit"},h.color!=="inherit"&&h.color!=="default"&&Le({color:k==null?void 0:k.main},!h.disableRipple&&{"&:hover":Le({},k&&{backgroundColor:f.vars?`rgba(${k.mainChannel} / ${f.vars.palette.action.hoverOpacity})`:rs(k.main,f.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),h.size==="small"&&{padding:5,fontSize:f.typography.pxToRem(18)},h.size==="large"&&{padding:12,fontSize:f.typography.pxToRem(28)},{[`&.${fT0.disabled}`]:{backgroundColor:"transparent",color:(f.vars||f).palette.action.disabled}})}),wT0=T0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiIconButton"}),{edge:C=!1,children:I,className:S,color:Z="default",disabled:R=!1,disableFocusRipple:M=!1,size:Q="medium"}=k,O=At(k,aT0),e0=Le({},k,{edge:C,color:Z,disabled:R,disableFocusRipple:M,size:Q}),o0=cT0(e0);return X.jsx(hT0,Le({className:Zt(o0.root,S),centerRipple:!0,focusRipple:!M,disabled:R,ref:d},O,{ownerState:e0,children:I}))}),dT0=wT0,pT0=_a(X.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),kT0=_a(X.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),vT0=_a(X.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),mT0=_a(X.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),gT0=_a(X.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),yT0=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],CT0=e00(),ET0=f=>{const{variant:h,color:d,severity:k,classes:C}=f,I={root:["root",`color${K2(d||k)}`,`${h}${K2(d||k)}`,`${h}`],icon:["icon"],message:["message"],action:["action"]};return Qo(I,DQ0,C)},BT0=St(WQ0,{name:"MuiAlert",slot:"Root",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.root,h[d.variant],h[`${d.variant}${K2(d.color||d.severity)}`]]}})(({theme:f})=>{const h=f.palette.mode==="light"?em:rm,d=f.palette.mode==="light"?rm:em;return Le({},f.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(f.palette).filter(([,k])=>k.main&&k.light).map(([k])=>({props:{colorSeverity:k,variant:"standard"},style:{color:f.vars?f.vars.palette.Alert[`${k}Color`]:h(f.palette[k].light,.6),backgroundColor:f.vars?f.vars.palette.Alert[`${k}StandardBg`]:d(f.palette[k].light,.9),[`& .${xH.icon}`]:f.vars?{color:f.vars.palette.Alert[`${k}IconColor`]}:{color:f.palette[k].main}}})),...Object.entries(f.palette).filter(([,k])=>k.main&&k.light).map(([k])=>({props:{colorSeverity:k,variant:"outlined"},style:{color:f.vars?f.vars.palette.Alert[`${k}Color`]:h(f.palette[k].light,.6),border:`1px solid ${(f.vars||f).palette[k].light}`,[`& .${xH.icon}`]:f.vars?{color:f.vars.palette.Alert[`${k}IconColor`]}:{color:f.palette[k].main}}})),...Object.entries(f.palette).filter(([,k])=>k.main&&k.dark).map(([k])=>({props:{colorSeverity:k,variant:"filled"},style:Le({fontWeight:f.typography.fontWeightMedium},f.vars?{color:f.vars.palette.Alert[`${k}FilledColor`],backgroundColor:f.vars.palette.Alert[`${k}FilledBg`]}:{backgroundColor:f.palette.mode==="dark"?f.palette[k].dark:f.palette[k].main,color:f.palette.getContrastText(f.palette[k].main)})}))]})}),IT0=St("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(f,h)=>h.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),xT0=St("div",{name:"MuiAlert",slot:"Message",overridesResolver:(f,h)=>h.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),GH=St("div",{name:"MuiAlert",slot:"Action",overridesResolver:(f,h)=>h.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),ZH={success:X.jsx(pT0,{fontSize:"inherit"}),warning:X.jsx(kT0,{fontSize:"inherit"}),error:X.jsx(vT0,{fontSize:"inherit"}),info:X.jsx(mT0,{fontSize:"inherit"})},ST0=T0.forwardRef(function(h,d){const k=CT0({props:h,name:"MuiAlert"}),{action:C,children:I,className:S,closeText:Z="Close",color:R,components:M={},componentsProps:Q={},icon:O,iconMapping:e0=ZH,onClose:o0,role:A0="alert",severity:l0="success",slotProps:w0={},slots:u0={},variant:a0="standard"}=k,c0=At(k,yT0),y0=Le({},k,{color:R,severity:l0,variant:a0,colorSeverity:R||l0}),C0=ET0(y0),I0={slots:Le({closeButton:M.CloseButton,closeIcon:M.CloseIcon},u0),slotProps:Le({},Q,w0)},[h0,E0]=BH("closeButton",{elementType:dT0,externalForwardedProps:I0,ownerState:y0}),[z0,W0]=BH("closeIcon",{elementType:gT0,externalForwardedProps:I0,ownerState:y0});return X.jsxs(BT0,Le({role:A0,elevation:0,ownerState:y0,className:Zt(C0.root,S),ref:d},c0,{children:[O!==!1?X.jsx(IT0,{ownerState:y0,className:C0.icon,children:O||e0[l0]||ZH[l0]}):null,X.jsx(xT0,{ownerState:y0,className:C0.message,children:I}),C!=null?X.jsx(GH,{ownerState:y0,className:C0.action,children:C}):null,C==null&&o0?X.jsx(GH,{ownerState:y0,className:C0.action,children:X.jsx(h0,Le({size:"small","aria-label":Z,title:Z,color:"inherit",onClick:o0},E0,{children:X.jsx(z0,Le({fontSize:"small"},W0))}))}):null]}))}),r00=ST0,t00=()=>X.jsx("div",{className:"justify-center items-center flex top-[80vh] bottom-0 left-0 right-0 z-50 absolute",children:X.jsx("div",{className:"absolute bottom-[50px] flex items-center w-fit h-fit",role:"alert",children:X.jsx(r00,{severity:"success",children:"Copied!"})})}),_T0=({value:f,onClose:h})=>{const[d,k]=Je.useState(!1),C=()=>{k(!0),setTimeout(()=>{k(!1)},1500),navigator.clipboard.writeText(f.value)};return X.jsxs(X.Fragment,{children:[X.jsxs("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-0 z-50 outline-none focus:outline-none absolute bg-black/[.4]",children:[X.jsx("div",{className:"relative w-auto my-6 mx-auto max-w-3xl",children:X.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-white outline-none focus:outline-none items-center p-4 min-w-[20vw]",children:[X.jsxs("div",{className:"flex flex-row w-full",children:[X.jsx("div",{className:"flex-[1]"}),X.jsx("div",{className:"flex flex-[2] justify-center",children:X.jsx("h3",{className:"text-3xl font-semibold",children:f.key})}),X.jsx("div",{className:"flex flex-[1] justify-end",children:X.jsx(Rg,{onClick:()=>h(),className:"cursor-pointer"})})]}),X.jsx("div",{className:"inline-block relative p-6 flex-auto justify-center items-center w-full break-all max-h-[80vh] overflow-scroll",children:X.jsx("p",{className:"my-4 text-slate-500 text-lg leading-relaxed",children:f.value})}),X.jsx("div",{className:"flex items-center justify-end p-6",children:X.jsx(im,{onClick:()=>C(),className:"cursor-pointer"})})]})}),d&&X.jsx(t00,{})]}),X.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})};var Ux=(f=>(f.Command="Command",f.Flags="Flags",f.NodeInfo="Node Info",f.SyncStages="Stages",f.Reorgs="Reorgs",f))(Ux||{});const zT0=({cmdLine:f,flags:h,nodeDetails:d,syncStages:k,reorgs:C})=>{const[I,S]=T0.useState("Command"),[Z,R]=T0.useState(!1),[M,Q]=T0.useState(null),O=T0.useRef(null);async function e0(u0){return"clipboard"in navigator?await navigator.clipboard.writeText(u0):document.execCommand("copy",!0,u0)}const o0=()=>{let u0="";switch(I){case"Command":u0=qb();break;case"Flags":u0=Xb();break;case"Node Info":u0=pz();break;case"Stages":u0=Kb();break;case"Reorgs":u0=bb();break}return u0},A0=()=>{const u0=o0();e0(u0).then(()=>{R(!0),setTimeout(()=>{R(!1)},1500)}).catch(a0=>{console.log(a0)})},l0=u0=>{S(u0),w0()},w0=()=>{O.current&&O.current.scroll({top:0,behavior:"smooth"})};return X.jsxs("div",{className:"flex flex-row",children:[X.jsxs("div",{className:"flex flex-col max-h-[90vh] items-center justify-center w-full",children:[X.jsxs("div",{className:"flex flex-row",children:[X.jsx(GB,{tab:"Command",selectedTab:I,testId:"command_button",onButtonClicked:u0=>{l0(u0)}}),X.jsx(GB,{tab:"Flags",selectedTab:I,testId:"flags_button",onButtonClicked:u0=>{l0(u0)}}),X.jsx(GB,{tab:"Node Info",selectedTab:I,testId:"node_info_button",onButtonClicked:u0=>{l0(u0)}}),X.jsx("div",{className:"w-5"}),X.jsx(us,{backgroundColor:k3,label:Z?"Copied":"Copy curl",onClick:()=>A0(),primary:!0})]}),X.jsx("div",{className:"h-10"}),X.jsxs("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-w-[1400px] min-w-[30vw] overflow-auto","data-testid":"test_details_section_content",ref:O,children:[I==="Command"&&X.jsx(QR0,{cmdLine:f}),I==="Flags"&&X.jsx(tM0,{flags:h}),I==="Node Info"&&X.jsx(nM0,{nodeDetails:d,onShowNodeValueDetails:(u0,a0)=>{Q({key:u0,value:a0})}}),I==="Stages"&&X.jsx(oM0,{syncStages:k}),I==="Reorgs"&&X.jsx(lM0,{reorg:C})]})]}),M&&X.jsx(_T0,{value:M,onClose:()=>Q(null)})]})},LT0=()=>{const f=$2(et),h=$2(NK),d=$2(ZR0),k=$2(LR0),C=$2(DR0),I=$2(MR0);return X.jsx("div",{className:"mt-4",children:f!==""&&X.jsx(zT0,{cmdLine:d,flags:h,nodeDetails:k,syncStages:C,reorgs:I})})},RT0=f=>{let h={eth:{network:0,difficulty:0,genesis:"",config:{}}};if(f.protocols){const k=atob(f.protocols);h=JSON.parse(k)}let d=[];return d.push({enode:f.enode||"",enr:f.enr||"",ports:{discovery:f.ports.discovery||0,listener:f.ports.listener||0},listener_addr:f.listener_addr||""}),{id:f.id,name:f.name,protocols:i00(h),enodes:n00(d)}},GT0=f=>({id:f.id,name:f.name,protocols:i00(f.protocols),enodes:n00(f.enodes)}),i00=f=>({eth:ZT0(f.eth)}),ZT0=f=>({network:f.network,difficulty:f.difficulty,genesis:f.genesis,config:f.config}),n00=f=>{let h=[];return f.forEach(d=>{h.push({enode:d.enode,enr:d.enr,ports:d.ports,listener_addr:d.listener_addr})}),h},WT0=["boolean","string","number"],DT0=f=>{let h=[];for(let d in f)h.push(MT0(d,f[d]));return h},MT0=(f,h)=>({flag:f,default:h.default,usage:h.usage,value:jT0(h.value)}),jT0=f=>{let h=typeof f;return WT0.includes(h)||NT0(f)||QT0(f)?f:""};function NT0(f){return Array.isArray(f)&&f.every(h=>typeof h=="string")}function QT0(f){return Array.isArray(f)&&f.every(h=>typeof h=="number")}const TT0=f=>({nodeVersion:f.nodeVersion,supportVersion:f.supportVersion,codeVersion:f.codeVersion,gitCommit:f.gitCommit}),FT0=f=>{let h=Object.keys(f),d=[];return h.forEach(k=>{d.push({key:k,value:f[k]})}),d},PT0=(f,h)=>({enr:(f==null?void 0:f.enr)||"",enode:(f==null?void 0:f.enode)||"",id:f.id,name:f.name,caps:f.caps,network:YT0(f,h),protocols:f.protocols,type:f.type,lastUpdateTime:0,active:!0}),YT0=(f,h)=>({localAddress:f.network.localAddress,remoteAddress:f.network.remoteAddress,inbound:f.network.inbound,trusted:f.network.trusted,static:f.network.static,bootnode:OT0(f.enr,h),bytesIn:f.network.bytesIn,bytesOut:f.network.bytesOut,capBytesIn:kv(f.network.capBytesIn),capBytesOut:kv(f.network.capBytesOut),typeBytesIn:kv(f.network.typeBytesIn),typeBytesOut:kv(f.network.typeBytesOut),inRate:0,outRate:0,sCountedBytesIn:0,sCountedBytesOut:0}),OT0=(f,h)=>h.includes(f),kv=f=>{let h=new Map;for(let k in f)h.set(k,f[k]);return Object.fromEntries(h)},VT0=(f,h,d)=>{let k=[];for(let Q in f.segmentsDownloading){let O=HT0(Q,d);Q.includes("beaconblocks")&&(O=100),k.push(JT0(f.segmentsDownloading[Q],O,Q))}let C=(h==null?void 0:h.downloadFinished)||!1;if(!C){let Q=!1;for(let O of k)if(O.downloadedBytesR?Z.push(R):Z.length>0?Z[Z.length-1]=R:Z.push(R),{downloaded:f.downloaded,total:f.total,totalTime:Z,downloadRate:f.downloadRate,uploadRate:f.uploadRate,peers:f.peers,files:f.files,connections:f.connections,alloc:f.alloc,sys:f.sys,downloadFinished:C,segments:k,indexingFinished:I,indexed:S,torrentMetadataReady:f.torrentMetadataReady}},HT0=(f,h)=>{let d=h.segments.find(k=>k.name===f);return d?d.progress:0},JT0=(f,h,d)=>({name:d,totalBytes:f.totalBytes,downloadedBytes:f.downloadedBytes,webseeds:WH(f.webseeds),peers:WH(f.peers),indexed:h,downloadedStats:UT0(f==null?void 0:f.downloadedStats)}),UT0=f=>f?{timeTook:f==null?void 0:f.timeTook,averageRate:f==null?void 0:f.averageRate}:null,WH=f=>{if(f){let h=[];return f.forEach(d=>{h.push({url:d.url,downloadRate:d.downloadRate})}),h}else return[]},XT0=(f,h)=>{let d=[],k=0;if(f.segments!==null)for(let Z in f.segments){let R=qT0(f.segments[Z]);d.push(R),k+=R.progress}d.length>0&&(k=k/h);let C=[0],I=f.timeElapsed;return(C[C.length-1]||0)>I?C.push(I):C.length>0?C[C.length-1]=I:C.push(I),{totalTime:C,progress:k,segments:d,alloc:0,sys:0}},qT0=f=>({name:f.segmentName,progress:f.percent}),$T0=f=>{var h,d,k,C,I,S,Z,R,M,Q,O,e0,o0,A0;return{canonicalMarker:{ancestorHash:((h=f==null?void 0:f.canonicalMarker)==null?void 0:h.ancestorHash)||"",ancestorHeight:((d=f==null?void 0:f.canonicalMarker)==null?void 0:d.ancestorHeight)||0},waitingForHeaders:(f==null?void 0:f.waitingForHeaders)||0,processed:{age:((k=f==null?void 0:f.processed)==null?void 0:k.age)||0,blkPerSec:((C=f==null?void 0:f.processed)==null?void 0:C.blkPerSec)||0,headers:((I=f==null?void 0:f.processed)==null?void 0:I.headers)||0,highest:((S=f==null?void 0:f.processed)==null?void 0:S.highest)||0,in:((Z=f==null?void 0:f.processed)==null?void 0:Z.in)||0},write:{alloc:((R=f==null?void 0:f.writeHeaders)==null?void 0:R.alloc)||0,blockNumber:((M=f==null?void 0:f.writeHeaders)==null?void 0:M.blockNumber)||0,invalidHeaders:((Q=f==null?void 0:f.writeHeaders)==null?void 0:Q.invalidHeaders)||0,previousBlockNumber:((O=f==null?void 0:f.writeHeaders)==null?void 0:O.previousBlockNumber)||0,rejectedBadHeaders:((e0=f==null?void 0:f.writeHeaders)==null?void 0:e0.rejectedBadHeaders)||0,speed:((o0=f==null?void 0:f.writeHeaders)==null?void 0:o0.speed)||0,sys:((A0=f==null?void 0:f.writeHeaders)==null?void 0:A0.sys)||0}}},oi=()=>lr.getState().app.activeNodeId,KT0=()=>{LN0().then(f=>{if(f.address!=null){let h=f.address;lr.dispatch(PB(G4.Local)),(f.address.includes("127.0.0.1")||f.address.includes("localhost"))&&!window.location.origin.includes("127.0.0.1")&&!window.location.origin.includes("localhost")&&(h=window.location.origin+"/api"),lr.dispatch(sM0(h))}else lr.dispatch(PB(G4.Unknown))}).catch(f=>{lr.dispatch(PB(G4.Remote))})},bT0=()=>{let f=oi();for(let h of lr.getState().syncStages.snapshotDownloadStatus)if(h.nodeId===f)return h.downloadStatus},eF0=()=>{RN0().then(f=>{let h=[];(f==null?void 0:f.nodes)!==null&&f.nodes.forEach(d=>{h.push(GT0(d))}),lr.dispatch(DK(h))}).catch(f=>{console.log("Error fetching session: ",f)})},rF0=()=>{GN0().then(f=>{let h=[];f!==null&&f.nodes_info.length>0&&h.push(RT0(f.nodes_info[0])),lr.dispatch(DK(h))}).catch(f=>{console.log("Error fetching node info: ",f)})},tF0=()=>{ZN0().then(f=>{let h=TT0(f);lr.dispatch(hR0({nodeId:oi(),version:h}))}).catch(f=>{console.log("Error fetching version: ",f)})},iF0=()=>{WN0().then(f=>{let h=DT0(f);lr.dispatch(wR0({nodeId:oi(),flags:h}))}).catch(f=>{console.log("Error fetching flags: ",f)})},nF0=()=>{DN0().then(f=>{lr.dispatch(dR0({nodeId:oi(),args:f}))}).catch(f=>{console.log("Error fetching cmd line args: ",f)})},oF0=()=>{jN0().then(f=>{lr.dispatch(kR0({nodeId:oi(),syncStages:FT0(f)}))}).catch(f=>{console.log("Error fetching sync stages: ",f)})},o00=()=>{MN0().then(f=>{let h=[];f.forEach(d=>{if(d.name.endsWith(".log")){const C=`${$b()}/${d.name}`;h.push({name:d.name,size:d.size,url:C,selected:!1})}}),lr.dispatch(pR0({nodeId:oi(),logFiles:h}))}).catch(f=>{console.log("Error fetching logs: ",f)})},lF0=()=>{NN0().then(f=>{let h=[];f.forEach(d=>{h.push({path:d,tables:[],keysCount:0,size:0})}),lr.dispatch(mR0({nodeId:oi(),dbs:h}))}).catch(f=>{console.log("Error fetching DBs: ",f)})},sF0=f=>{QN0(f).then(h=>{let d=0,k=0,C=[];h.forEach(I=>{d+=I.count,k+=I.size,C.push({name:I.name,count:I.count,size:I.size})}),lr.dispatch(gR0({nodeId:oi(),path:f,tables:C,keysCount:d,size:k}))}).catch(h=>{console.log("Error fetching DB: ",h)})},AF0=()=>{TN0().then(f=>{let h=[];f.WrongBlocks!==null&&f.WrongBlocks.forEach(k=>{h.push(k)});let d={nodeId:oi(),totalBlocks:f.TotalScanned,wrongBlocks:h,timeTook:f.TimeTook};lr.dispatch(yR0(d))}).catch(f=>{console.log("Error fetching reorgs: ",f)})},DH=()=>{const f=oi(),h=lr.getState().network.bootnodes.findIndex(k=>k.nodeId===f);let d=[];h!==-1&&(d=lr.getState().network.bootnodes[h].bootnodes),FN0().then(k=>{k.forEach(C=>{let I=PT0(C,d);lr.dispatch(aM0({peer:I,nodeId:oi()}))})}).catch(k=>{console.log("Error fetching peers: ",k)})},uF0=()=>{PN0().then(f=>{lr.dispatch(cM0({nodeId:oi(),bootnodes:f}))}).catch(f=>{console.log("Error fetching bootnodes: ",f)})},MH=()=>{YN0().then(f=>{if(f){let h=bT0(),d=0;h&&h.segments.forEach(I=>{I.name.includes("beaconblocks")||d++});let k=XT0(f.snapshotIndexing,d),C=VT0(f.snapshotDownload,h,k);f.syncStages!=null&&f.syncStages.length!=0&&lr.dispatch(xM0({nodeId:oi(),stages:f.syncStages})),lr.dispatch(IM0({nodeId:oi(),indexStatus:k})),lr.dispatch(BM0({nodeId:oi(),downloadStatus:C}))}}).catch(f=>{console.log("Error fetching snapshot download status: ",f)})},fF0=()=>{ON0().then(f=>{lr.dispatch(EM0({nodeId:oi(),files:f.files}))}).catch(f=>{console.log("Error fetching snapshot files list: ",f)})},aF0=()=>{VN0().then(f=>{const h=$T0(f);lr.dispatch(pj0({nodeId:oi(),headers:h}))}).catch(f=>{console.log("Error fetching headers: ",f)})},cF0=()=>{HN0().then(f=>{let h=[];f.cpu.forEach(d=>{h.push({cpu:d.cpu,vendorId:d.vendorId,family:d.family,model:d.model,stepping:d.stepping,physicalId:d.physicalId,coreId:d.coreId,cores:d.cores,modelName:d.modelName,mhz:d.mhz,cacheSize:d.cacheSize,flags:d.flags,microcode:d.microcode})}),lr.dispatch(mj0({nodeId:oi(),info:h})),lr.dispatch(Cj0({nodeId:oi(),info:f.ram})),lr.dispatch(gj0({nodeId:oi(),info:f.disk}))}).catch(f=>{console.log("Error fetching hardware info: ",f)})},hF0=()=>{JN0().then(f=>{let h=[];f.Cores.forEach(k=>{h.push(k)});let d={total:f.Total,cores:h};lr.dispatch(Ej0({nodeId:oi(),usage:d}))}).catch(f=>{console.log("Error fetching CPU usage: ",f)})},wF0=()=>{UN0().then(f=>{let h=[];f.forEach(d=>{h.push({pid:d.Pid,name:d.Name,cpuUsage:d.CPUUsage,memory:d.Memory})}),lr.dispatch(yj0({nodeId:oi(),info:h}))}).catch(f=>{console.log("Error fetching processes info: ",f)})};var l00={exports:{}},VB={exports:{}},jH;function dF0(){return jH||(jH=1,function(f,h){(function(d,k){f.exports=k()})(ea,function(){var d=Array.prototype.slice;function k(j,i0){i0&&(j.prototype=Object.create(i0.prototype)),j.prototype.constructor=j}function C(j){return R(j)?j:He(j)}k(I,C);function I(j){return M(j)?j:Ee(j)}k(S,C);function S(j){return Q(j)?j:xe(j)}k(Z,C);function Z(j){return R(j)&&!O(j)?j:Pe(j)}function R(j){return!!(j&&j[o0])}function M(j){return!!(j&&j[A0])}function Q(j){return!!(j&&j[l0])}function O(j){return M(j)||Q(j)}function e0(j){return!!(j&&j[w0])}C.isIterable=R,C.isKeyed=M,C.isIndexed=Q,C.isAssociative=O,C.isOrdered=e0,C.Keyed=I,C.Indexed=S,C.Set=Z;var o0="@@__IMMUTABLE_ITERABLE__@@",A0="@@__IMMUTABLE_KEYED__@@",l0="@@__IMMUTABLE_INDEXED__@@",w0="@@__IMMUTABLE_ORDERED__@@",u0="delete",a0=5,c0=1<>>0;if(""+d0!==i0||d0===4294967295)return NaN;i0=d0}return i0<0?R0(j)+i0:i0}function q0(){return!0}function fe(j,i0,d0){return(j===0||d0!==void 0&&j<=-d0)&&(i0===void 0||d0!==void 0&&i0>=d0)}function de(j,i0){return we(j,i0,0)}function Se(j,i0){return we(j,i0,i0)}function we(j,i0,d0){return j===void 0?d0:j<0?Math.max(0,i0+j):i0===void 0?j:Math.min(i0,j)}var Ie=0,Ne=1,c2=2,f2=typeof Symbol=="function"&&Symbol.iterator,H2="@@iterator",j2=f2||H2;function qe(j){this.next=j}qe.prototype.toString=function(){return"[Iterator]"},qe.KEYS=Ie,qe.VALUES=Ne,qe.ENTRIES=c2,qe.prototype.inspect=qe.prototype.toSource=function(){return this.toString()},qe.prototype[j2]=function(){return this};function ye(j,i0,d0,b){var S0=j===0?i0:j===1?d0:[i0,d0];return b?b.value=S0:b={value:S0,done:!1},b}function Be(){return{value:void 0,done:!0}}function Ce(j){return!!Ue(j)}function _e(j){return j&&typeof j.next=="function"}function ae(j){var i0=Ue(j);return i0&&i0.call(j)}function Ue(j){var i0=j&&(f2&&j[f2]||j[H2]);if(typeof i0=="function")return i0}function Ye(j){return j&&typeof j.length=="number"}k(He,C);function He(j){return j==null?xr():R(j)?j.toSeq():Ji(j)}He.of=function(){return He(arguments)},He.prototype.toSeq=function(){return this},He.prototype.toString=function(){return this.__toString("Seq {","}")},He.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},He.prototype.__iterate=function(j,i0){return R2(this,j,i0,!0)},He.prototype.__iterator=function(j,i0){return hs(this,j,i0,!0)},k(Ee,He);function Ee(j){return j==null?xr().toKeyedSeq():R(j)?M(j)?j.toSeq():j.fromEntrySeq():tt(j)}Ee.prototype.toKeyedSeq=function(){return this},k(xe,He);function xe(j){return j==null?xr():R(j)?M(j)?j.entrySeq():j.toIndexedSeq():nn(j)}xe.of=function(){return xe(arguments)},xe.prototype.toIndexedSeq=function(){return this},xe.prototype.toString=function(){return this.__toString("Seq [","]")},xe.prototype.__iterate=function(j,i0){return R2(this,j,i0,!1)},xe.prototype.__iterator=function(j,i0){return hs(this,j,i0,!1)},k(Pe,He);function Pe(j){return(j==null?xr():R(j)?M(j)?j.entrySeq():j:nn(j)).toSetSeq()}Pe.of=function(){return Pe(arguments)},Pe.prototype.toSetSeq=function(){return this},He.isSeq=b2,He.Keyed=Ee,He.Set=Pe,He.Indexed=xe;var je="@@__IMMUTABLE_SEQ__@@";He.prototype[je]=!0,k(r2,xe);function r2(j){this._array=j,this.size=j.length}r2.prototype.get=function(j,i0){return this.has(j)?this._array[Q0(this,j)]:i0},r2.prototype.__iterate=function(j,i0){for(var d0=this._array,b=d0.length-1,S0=0;S0<=b;S0++)if(j(d0[i0?b-S0:S0],S0,this)===!1)return S0+1;return S0},r2.prototype.__iterator=function(j,i0){var d0=this._array,b=d0.length-1,S0=0;return new qe(function(){return S0>b?Be():ye(j,S0,d0[i0?b-S0++:S0++])})},k(n2,Ee);function n2(j){var i0=Object.keys(j);this._object=j,this._keys=i0,this.size=i0.length}n2.prototype.get=function(j,i0){return i0!==void 0&&!this.has(j)?i0:this._object[j]},n2.prototype.has=function(j){return this._object.hasOwnProperty(j)},n2.prototype.__iterate=function(j,i0){for(var d0=this._object,b=this._keys,S0=b.length-1,L0=0;L0<=S0;L0++){var G0=b[i0?S0-L0:L0];if(j(d0[G0],G0,this)===!1)return L0+1}return L0},n2.prototype.__iterator=function(j,i0){var d0=this._object,b=this._keys,S0=b.length-1,L0=0;return new qe(function(){var G0=b[i0?S0-L0:L0];return L0++>S0?Be():ye(j,G0,d0[G0])})},n2.prototype[w0]=!0,k(h2,xe);function h2(j){this._iterable=j,this.size=j.length||j.size}h2.prototype.__iterateUncached=function(j,i0){if(i0)return this.cacheResult().__iterate(j,i0);var d0=this._iterable,b=ae(d0),S0=0;if(_e(b))for(var L0;!(L0=b.next()).done&&j(L0.value,S0++,this)!==!1;);return S0},h2.prototype.__iteratorUncached=function(j,i0){if(i0)return this.cacheResult().__iterator(j,i0);var d0=this._iterable,b=ae(d0);if(!_e(b))return new qe(Be);var S0=0;return new qe(function(){var L0=b.next();return L0.done?L0:ye(j,S0++,L0.value)})},k(N2,xe);function N2(j){this._iterator=j,this._iteratorCache=[]}N2.prototype.__iterateUncached=function(j,i0){if(i0)return this.cacheResult().__iterate(j,i0);for(var d0=this._iterator,b=this._iteratorCache,S0=0;S0=b.length){var L0=d0.next();if(L0.done)return L0;b[S0]=L0.value}return ye(j,S0,b[S0++])})};function b2(j){return!!(j&&j[je])}var mr;function xr(){return mr||(mr=new r2([]))}function tt(j){var i0=Array.isArray(j)?new r2(j).fromEntrySeq():_e(j)?new N2(j).fromEntrySeq():Ce(j)?new h2(j).fromEntrySeq():typeof j=="object"?new n2(j):void 0;if(!i0)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+j);return i0}function nn(j){var i0=ki(j);if(!i0)throw new TypeError("Expected Array or iterable object of values: "+j);return i0}function Ji(j){var i0=ki(j)||typeof j=="object"&&new n2(j);if(!i0)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+j);return i0}function ki(j){return Ye(j)?new r2(j):_e(j)?new N2(j):Ce(j)?new h2(j):void 0}function R2(j,i0,d0,b){var S0=j._cache;if(S0){for(var L0=S0.length-1,G0=0;G0<=L0;G0++){var K0=S0[d0?L0-G0:G0];if(i0(K0[1],b?K0[0]:G0,j)===!1)return G0+1}return G0}return j.__iterateUncached(i0,d0)}function hs(j,i0,d0,b){var S0=j._cache;if(S0){var L0=S0.length-1,G0=0;return new qe(function(){var K0=S0[d0?L0-G0:G0];return G0++>L0?Be():ye(i0,b?K0[0]:G0-1,K0[1])})}return j.__iteratorUncached(i0,d0)}function G1(j,i0){return i0?no(i0,j,"",{"":j}):ws(j)}function no(j,i0,d0,b){return Array.isArray(i0)?j.call(b,d0,xe(i0).map(function(S0,L0){return no(j,S0,L0,i0)})):C3(i0)?j.call(b,d0,Ee(i0).map(function(S0,L0){return no(j,S0,L0,i0)})):i0}function ws(j){return Array.isArray(j)?xe(j).map(ws).toList():C3(j)?Ee(j).map(ws).toMap():j}function C3(j){return j&&(j.constructor===Object||j.constructor===void 0)}function Dt(j,i0){if(j===i0||j!==j&&i0!==i0)return!0;if(!j||!i0)return!1;if(typeof j.valueOf=="function"&&typeof i0.valueOf=="function"){if(j=j.valueOf(),i0=i0.valueOf(),j===i0||j!==j&&i0!==i0)return!0;if(!j||!i0)return!1}return!!(typeof j.equals=="function"&&typeof i0.equals=="function"&&j.equals(i0))}function Ra(j,i0){if(j===i0)return!0;if(!R(i0)||j.size!==void 0&&i0.size!==void 0&&j.size!==i0.size||j.__hash!==void 0&&i0.__hash!==void 0&&j.__hash!==i0.__hash||M(j)!==M(i0)||Q(j)!==Q(i0)||e0(j)!==e0(i0))return!1;if(j.size===0&&i0.size===0)return!0;var d0=!O(j);if(e0(j)){var b=j.entries();return i0.every(function(ee,le){var Ze=b.next().value;return Ze&&Dt(Ze[1],ee)&&(d0||Dt(Ze[0],le))})&&b.next().done}var S0=!1;if(j.size===void 0)if(i0.size===void 0)typeof j.cacheResult=="function"&&j.cacheResult();else{S0=!0;var L0=j;j=i0,i0=L0}var G0=!0,K0=i0.__iterate(function(ee,le){if(d0?!j.has(ee):S0?!Dt(ee,j.get(le,C0)):!Dt(j.get(le,C0),ee))return G0=!1,!1});return G0&&j.size===K0}k(zi,xe);function zi(j,i0){if(!(this instanceof zi))return new zi(j,i0);if(this._value=j,this.size=i0===void 0?1/0:Math.max(0,i0),this.size===0){if(E3)return E3;E3=this}}zi.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},zi.prototype.get=function(j,i0){return this.has(j)?this._value:i0},zi.prototype.includes=function(j){return Dt(this._value,j)},zi.prototype.slice=function(j,i0){var d0=this.size;return fe(j,i0,d0)?this:new zi(this._value,Se(i0,d0)-de(j,d0))},zi.prototype.reverse=function(){return this},zi.prototype.indexOf=function(j){return Dt(this._value,j)?0:-1},zi.prototype.lastIndexOf=function(j){return Dt(this._value,j)?this.size:-1},zi.prototype.__iterate=function(j,i0){for(var d0=0;d0=0&&i0=0&&d0d0?Be():ye(j,L0++,G0)})},Li.prototype.equals=function(j){return j instanceof Li?this._start===j._start&&this._end===j._end&&this._step===j._step:Ra(this,j)};var B3;k(vl,C);function vl(){throw TypeError("Abstract")}k(Ju,vl);function Ju(){}k(iA,vl);function iA(){}k(Za,vl);function Za(){}vl.Keyed=Ju,vl.Indexed=iA,vl.Set=Za;var Uu=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(i0,d0){i0=i0|0,d0=d0|0;var b=i0&65535,S0=d0&65535;return b*S0+((i0>>>16)*S0+b*(d0>>>16)<<16>>>0)|0};function Xu(j){return j>>>1&1073741824|j&3221225471}function En(j){if(j===!1||j===null||j===void 0||typeof j.valueOf=="function"&&(j=j.valueOf(),j===!1||j===null||j===void 0))return 0;if(j===!0)return 1;var i0=typeof j;if(i0==="number"){if(j!==j||j===1/0)return 0;var d0=j|0;for(d0!==j&&(d0^=j*4294967295);j>4294967295;)j/=4294967295,d0^=j;return Xu(d0)}if(i0==="string")return j.length>hw?aw(j):Wa(j);if(typeof j.hashCode=="function")return j.hashCode();if(i0==="object")return uy(j);if(typeof j.toString=="function")return Wa(j.toString());throw new Error("Value type "+i0+" cannot be hashed.")}function aw(j){var i0=x3[j];return i0===void 0&&(i0=Wa(j),I3===fy&&(I3=0,x3={}),I3++,x3[j]=i0),i0}function Wa(j){for(var i0=0,d0=0;d00)switch(j.nodeType){case 1:return j.uniqueID;case 9:return j.documentElement&&j.documentElement.uniqueID}}var Da=typeof WeakMap=="function",$u;Da&&($u=new WeakMap);var Bn=0,Yo="__immutablehash__";typeof Symbol=="function"&&(Yo=Symbol(Yo));var hw=16,fy=255,I3=0,x3={};function Yn(j){Ga(j!==1/0,"Cannot perform this action with an infinite size.")}k(er,Ju);function er(j){return j==null?Gr():Ma(j)&&!e0(j)?j:Gr().withMutations(function(i0){var d0=I(j);Yn(d0.size),d0.forEach(function(b,S0){return i0.set(S0,b)})})}er.of=function(){var j=d.call(arguments,0);return Gr().withMutations(function(i0){for(var d0=0;d0=j.length)throw new Error("Missing value for key: "+j[d0]);i0.set(j[d0],j[d0+1])}})},er.prototype.toString=function(){return this.__toString("Map {","}")},er.prototype.get=function(j,i0){return this._root?this._root.get(0,void 0,j,i0):i0},er.prototype.set=function(j,i0){return p0(this,j,i0)},er.prototype.setIn=function(j,i0){return this.updateIn(j,C0,function(){return i0})},er.prototype.remove=function(j){return p0(this,j,C0)},er.prototype.deleteIn=function(j){return this.updateIn(j,function(){return C0})},er.prototype.update=function(j,i0,d0){return arguments.length===1?j(this):this.updateIn([j],i0,d0)},er.prototype.updateIn=function(j,i0,d0){d0||(d0=i0,i0=void 0);var b=vw(this,j3(j),i0,d0);return b===C0?void 0:b},er.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Gr()},er.prototype.merge=function(){return ja(this,void 0,arguments)},er.prototype.mergeWith=function(j){var i0=d.call(arguments,1);return ja(this,j,i0)},er.prototype.mergeIn=function(j){var i0=d.call(arguments,1);return this.updateIn(j,Gr(),function(d0){return typeof d0.merge=="function"?d0.merge.apply(d0,i0):i0[i0.length-1]})},er.prototype.mergeDeep=function(){return ja(this,dw,arguments)},er.prototype.mergeDeepWith=function(j){var i0=d.call(arguments,1);return ja(this,pw(j),i0)},er.prototype.mergeDeepIn=function(j){var i0=d.call(arguments,1);return this.updateIn(j,Gr(),function(d0){return typeof d0.mergeDeep=="function"?d0.mergeDeep.apply(d0,i0):i0[i0.length-1]})},er.prototype.sort=function(j){return Pt(fA(this,j))},er.prototype.sortBy=function(j,i0){return Pt(fA(this,i0,j))},er.prototype.withMutations=function(j){var i0=this.asMutable();return j(i0),i0.wasAltered()?i0.__ensureOwner(this.__ownerID):this},er.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new W0)},er.prototype.asImmutable=function(){return this.__ensureOwner()},er.prototype.wasAltered=function(){return this.__altered},er.prototype.__iterator=function(j,i0){return new S2(this,j,i0)},er.prototype.__iterate=function(j,i0){var d0=this,b=0;return this._root&&this._root.iterate(function(S0){return b++,j(S0[1],S0[0],d0)},i0),b},er.prototype.__ensureOwner=function(j){return j===this.__ownerID?this:j?dt(this.size,this._root,j,this.__hash):(this.__ownerID=j,this.__altered=!1,this)};function Ma(j){return!!(j&&j[ce])}er.isMap=Ma;var ce="@@__IMMUTABLE_MAP__@@",J2=er.prototype;J2[ce]=!0,J2[u0]=J2.remove,J2.removeIn=J2.deleteIn;function nA(j,i0){this.ownerID=j,this.entries=i0}nA.prototype.get=function(j,i0,d0,b){for(var S0=this.entries,L0=0,G0=S0.length;L0=py)return ay(j,ee,b,S0);var w2=j&&j===this.ownerID,G2=w2?ee:P0(ee);return s2?K0?le===Ze-1?G2.pop():G2[le]=G2.pop():G2[le]=[b,S0]:G2.push([b,S0]),w2?(this.entries=G2,this):new nA(j,G2)}};function oA(j,i0,d0){this.ownerID=j,this.bitmap=i0,this.nodes=d0}oA.prototype.get=function(j,i0,d0,b){i0===void 0&&(i0=En(d0));var S0=1<<((j===0?i0:i0>>>j)&y0),L0=this.bitmap;return L0&S0?this.nodes[mw(L0&S0-1)].get(j+a0,i0,d0,b):b},oA.prototype.update=function(j,i0,d0,b,S0,L0,G0){d0===void 0&&(d0=En(b));var K0=(i0===0?d0:d0>>>i0)&y0,ee=1<=ky)return hy(j,w2,le,K0,I2);if(Ze&&!I2&&w2.length===2&&ww(w2[s2^1]))return w2[s2^1];if(Ze&&I2&&w2.length===1&&ww(I2))return I2;var vt=j&&j===this.ownerID,lo=Ze?I2?le:le^ee:le|ee,mt=Ze?I2?gw(w2,s2,I2,vt):dy(w2,s2,vt):wy(w2,s2,I2,vt);return vt?(this.bitmap=lo,this.nodes=mt,this):new oA(j,lo,mt)};function Ku(j,i0,d0){this.ownerID=j,this.count=i0,this.nodes=d0}Ku.prototype.get=function(j,i0,d0,b){i0===void 0&&(i0=En(d0));var S0=(j===0?i0:i0>>>j)&y0,L0=this.nodes[S0];return L0?L0.get(j+a0,i0,d0,b):b},Ku.prototype.update=function(j,i0,d0,b,S0,L0,G0){d0===void 0&&(d0=En(b));var K0=(i0===0?d0:d0>>>i0)&y0,ee=S0===C0,le=this.nodes,Ze=le[K0];if(ee&&!Ze)return this;var s2=o2(Ze,j,i0+a0,d0,b,S0,L0,G0);if(s2===Ze)return this;var w2=this.count;if(!Ze)w2++;else if(!s2&&(w2--,w2>>d0)&y0,G0=(d0===0?b:b>>>d0)&y0,K0,ee=L0===G0?[S3(j,i0,d0+a0,b,S0)]:(K0=new Oo(i0,b,S0),L0>>=1)G0[K0]=d0&1?i0[L0++]:void 0;return G0[b]=S0,new Ku(j,L0+1,G0)}function ja(j,i0,d0){for(var b=[],S0=0;S0>1&1431655765),j=(j&858993459)+(j>>2&858993459),j=j+(j>>4)&252645135,j=j+(j>>8),j=j+(j>>16),j&127}function gw(j,i0,d0,b){var S0=b?j:P0(j);return S0[i0]=d0,S0}function wy(j,i0,d0,b){var S0=j.length+1;if(b&&i0+1===S0)return j[i0]=d0,j;for(var L0=new Array(S0),G0=0,K0=0;K00&&b=0&&j>>i0&y0;if(b>=this.array.length)return new s1([],j);var S0=b===0,L0;if(i0>0){var G0=this.array[b];if(L0=G0&&G0.removeBefore(j,i0-a0,d0),L0===G0&&S0)return this}if(S0&&!L0)return this;var K0=AA(this,j);if(!S0)for(var ee=0;ee>>i0&y0;if(b>=this.array.length)return this;var S0;if(i0>0){var L0=this.array[b];if(S0=L0&&L0.removeAfter(j,i0-a0,d0),S0===L0&&b===this.array.length-1)return this}var G0=AA(this,j);return G0.array.splice(b+1),S0&&(G0.array[b]=S0),G0};var Ri={};function sA(j,i0){var d0=j._origin,b=j._capacity,S0=ef(b),L0=j._tail;return G0(j._root,j._level,0);function G0(le,Ze,s2){return Ze===0?K0(le,s2):ee(le,Ze,s2)}function K0(le,Ze){var s2=Ze===S0?L0&&L0.array:le&&le.array,w2=Ze>d0?0:d0-Ze,G2=b-Ze;return G2>c0&&(G2=c0),function(){if(w2===G2)return Ri;var I2=i0?--G2:w2++;return s2&&s2[I2]}}function ee(le,Ze,s2){var w2,G2=le&&le.array,I2=s2>d0?0:d0-s2>>Ze,vt=(b-s2>>Ze)+1;return vt>c0&&(vt=c0),function(){do{if(w2){var lo=w2();if(lo!==Ri)return lo;w2=null}if(I2===vt)return Ri;var mt=i0?--vt:I2++;w2=G0(G2&&G2[mt],Ze-a0,s2+(mt<=j.size||i0<0)return j.withMutations(function(G0){i0<0?gl(G0,i0).set(0,d0):gl(G0,0,i0+1).set(i0,d0)});i0+=j._origin;var b=j._tail,S0=j._root,L0=E0(h0);return i0>=ef(j._capacity)?b=L3(b,j.__ownerID,0,i0,d0,L0):S0=L3(S0,j.__ownerID,j._level,i0,d0,L0),L0.value?j.__ownerID?(j._root=S0,j._tail=b,j.__hash=void 0,j.__altered=!0,j):bu(j._origin,j._capacity,j._level,S0,b):j}function L3(j,i0,d0,b,S0,L0){var G0=b>>>d0&y0,K0=j&&G00){var le=j&&j.array[G0],Ze=L3(le,i0,d0-a0,b,S0,L0);return Ze===le?j:(ee=AA(j,i0),ee.array[G0]=Ze,ee)}return K0&&j.array[G0]===S0?j:(z0(L0),ee=AA(j,i0),S0===void 0&&G0===ee.array.length-1?ee.array.pop():ee.array[G0]=S0,ee)}function AA(j,i0){return i0&&j&&i0===j.ownerID?j:new s1(j?j.array.slice():[],i0)}function Ew(j,i0){if(i0>=ef(j._capacity))return j._tail;if(i0<1<0;)d0=d0.array[i0>>>b&y0],b-=a0;return d0}}function gl(j,i0,d0){i0!==void 0&&(i0=i0|0),d0!==void 0&&(d0=d0|0);var b=j.__ownerID||new W0,S0=j._origin,L0=j._capacity,G0=S0+i0,K0=d0===void 0?L0:d0<0?L0+d0:S0+d0;if(G0===S0&&K0===L0)return j;if(G0>=K0)return j.clear();for(var ee=j._level,le=j._root,Ze=0;G0+Ze<0;)le=new s1(le&&le.array.length?[void 0,le]:[],b),ee+=a0,Ze+=1<=1<s2?new s1([],b):G2;if(G2&&w2>s2&&G0a0;lo-=a0){var mt=s2>>>lo&y0;vt=vt.array[mt]=AA(vt.array[mt],b)}vt.array[s2>>>a0&y0]=G2}if(K0=w2)G0-=w2,K0-=w2,ee=a0,le=null,I2=I2&&I2.removeBefore(b,0,G0);else if(G0>S0||w2>>ee&y0;if(N0!==w2>>>ee&y0)break;N0&&(Ze+=(1<S0&&(le=le.removeBefore(b,ee,G0-Ze)),le&&w2S0&&(S0=K0.size),R(G0)||(K0=K0.map(function(ee){return G1(ee)})),b.push(K0)}return S0>j.size&&(j=j.setSize(S0)),kw(j,i0,b)}function ef(j){return j>>a0<=c0&&S0.size>=b.size*2?(ee=S0.filter(function(le,Ze){return le!==void 0&&L0!==Ze}),K0=ee.toKeyedSeq().map(function(le){return le[0]}).flip().toMap(),j.__ownerID&&(K0.__ownerID=ee.__ownerID=j.__ownerID)):(K0=b.remove(i0),ee=L0===S0.size-1?S0.pop():S0.set(L0,void 0))}else if(G0){if(d0===S0.get(L0)[1])return j;K0=b,ee=S0.set(L0,[i0,d0])}else K0=b.set(i0,S0.size),ee=S0.set(S0.size,[i0,d0]);return j.__ownerID?(j.size=K0.size,j._map=K0,j._list=ee,j.__hash=void 0,j):R3(K0,ee)}k(A1,Ee);function A1(j,i0){this._iter=j,this._useKeys=i0,this.size=j.size}A1.prototype.get=function(j,i0){return this._iter.get(j,i0)},A1.prototype.has=function(j){return this._iter.has(j)},A1.prototype.valueSeq=function(){return this._iter.valueSeq()},A1.prototype.reverse=function(){var j=this,i0=Z3(this,!0);return this._useKeys||(i0.valueSeq=function(){return j._iter.toSeq().reverse()}),i0},A1.prototype.map=function(j,i0){var d0=this,b=Ho(this,j,i0);return this._useKeys||(b.valueSeq=function(){return d0._iter.toSeq().map(j,i0)}),b},A1.prototype.__iterate=function(j,i0){var d0=this,b;return this._iter.__iterate(this._useKeys?function(S0,L0){return j(S0,L0,d0)}:(b=i0?Gw(this):0,function(S0){return j(S0,i0?--b:b++,d0)}),i0)},A1.prototype.__iterator=function(j,i0){if(this._useKeys)return this._iter.__iterator(j,i0);var d0=this._iter.__iterator(Ne,i0),b=i0?Gw(this):0;return new qe(function(){var S0=d0.next();return S0.done?S0:ye(j,i0?--b:b++,S0.value,S0)})},A1.prototype[w0]=!0,k(yl,xe);function yl(j){this._iter=j,this.size=j.size}yl.prototype.includes=function(j){return this._iter.includes(j)},yl.prototype.__iterate=function(j,i0){var d0=this,b=0;return this._iter.__iterate(function(S0){return j(S0,b++,d0)},i0)},yl.prototype.__iterator=function(j,i0){var d0=this._iter.__iterator(Ne,i0),b=0;return new qe(function(){var S0=d0.next();return S0.done?S0:ye(j,b++,S0.value,S0)})},k(ds,Pe);function ds(j){this._iter=j,this.size=j.size}ds.prototype.has=function(j){return this._iter.includes(j)},ds.prototype.__iterate=function(j,i0){var d0=this;return this._iter.__iterate(function(b){return j(b,b,d0)},i0)},ds.prototype.__iterator=function(j,i0){var d0=this._iter.__iterator(Ne,i0);return new qe(function(){var b=d0.next();return b.done?b:ye(j,b.value,b.value,b)})},k(uA,Ee);function uA(j){this._iter=j,this.size=j.size}uA.prototype.entrySeq=function(){return this._iter.toSeq()},uA.prototype.__iterate=function(j,i0){var d0=this;return this._iter.__iterate(function(b){if(b){Rw(b);var S0=R(b);return j(S0?b.get(1):b[1],S0?b.get(0):b[0],d0)}},i0)},uA.prototype.__iterator=function(j,i0){var d0=this._iter.__iterator(Ne,i0);return new qe(function(){for(;;){var b=d0.next();if(b.done)return b;var S0=b.value;if(S0){Rw(S0);var L0=R(S0);return ye(j,L0?S0.get(0):S0[0],L0?S0.get(1):S0[1],b)}}})},yl.prototype.cacheResult=A1.prototype.cacheResult=ds.prototype.cacheResult=uA.prototype.cacheResult=M3;function xw(j){var i0=oo(j);return i0._iter=j,i0.size=j.size,i0.flip=function(){return j},i0.reverse=function(){var d0=j.reverse.apply(this);return d0.flip=function(){return j.reverse()},d0},i0.has=function(d0){return j.includes(d0)},i0.includes=function(d0){return j.has(d0)},i0.cacheResult=M3,i0.__iterateUncached=function(d0,b){var S0=this;return j.__iterate(function(L0,G0){return d0(G0,L0,S0)!==!1},b)},i0.__iteratorUncached=function(d0,b){if(d0===c2){var S0=j.__iterator(d0,b);return new qe(function(){var L0=S0.next();if(!L0.done){var G0=L0.value[0];L0.value[0]=L0.value[1],L0.value[1]=G0}return L0})}return j.__iterator(d0===Ne?Ie:Ne,b)},i0}function Ho(j,i0,d0){var b=oo(j);return b.size=j.size,b.has=function(S0){return j.has(S0)},b.get=function(S0,L0){var G0=j.get(S0,C0);return G0===C0?L0:i0.call(d0,G0,S0,j)},b.__iterateUncached=function(S0,L0){var G0=this;return j.__iterate(function(K0,ee,le){return S0(i0.call(d0,K0,ee,le),ee,G0)!==!1},L0)},b.__iteratorUncached=function(S0,L0){var G0=j.__iterator(c2,L0);return new qe(function(){var K0=G0.next();if(K0.done)return K0;var ee=K0.value,le=ee[0];return ye(S0,le,i0.call(d0,ee[1],le,j),K0)})},b}function Z3(j,i0){var d0=oo(j);return d0._iter=j,d0.size=j.size,d0.reverse=function(){return j},j.flip&&(d0.flip=function(){var b=xw(j);return b.reverse=function(){return j.flip()},b}),d0.get=function(b,S0){return j.get(i0?b:-1-b,S0)},d0.has=function(b){return j.has(i0?b:-1-b)},d0.includes=function(b){return j.includes(b)},d0.cacheResult=M3,d0.__iterate=function(b,S0){var L0=this;return j.__iterate(function(G0,K0){return b(G0,K0,L0)},!S0)},d0.__iterator=function(b,S0){return j.__iterator(b,!S0)},d0}function Sw(j,i0,d0,b){var S0=oo(j);return b&&(S0.has=function(L0){var G0=j.get(L0,C0);return G0!==C0&&!!i0.call(d0,G0,L0,j)},S0.get=function(L0,G0){var K0=j.get(L0,C0);return K0!==C0&&i0.call(d0,K0,L0,j)?K0:G0}),S0.__iterateUncached=function(L0,G0){var K0=this,ee=0;return j.__iterate(function(le,Ze,s2){if(i0.call(d0,le,Ze,s2))return ee++,L0(le,b?Ze:ee-1,K0)},G0),ee},S0.__iteratorUncached=function(L0,G0){var K0=j.__iterator(c2,G0),ee=0;return new qe(function(){for(;;){var le=K0.next();if(le.done)return le;var Ze=le.value,s2=Ze[0],w2=Ze[1];if(i0.call(d0,w2,s2,j))return ye(L0,b?s2:ee++,w2,le)}})},S0}function gy(j,i0,d0){var b=er().asMutable();return j.__iterate(function(S0,L0){b.update(i0.call(d0,S0,L0,j),0,function(G0){return G0+1})}),b.asImmutable()}function yy(j,i0,d0){var b=M(j),S0=(e0(j)?Pt():er()).asMutable();j.__iterate(function(G0,K0){S0.update(i0.call(d0,G0,K0,j),function(ee){return ee=ee||[],ee.push(b?[K0,G0]:G0),ee})});var L0=Zw(j);return S0.map(function(G0){return Vr(j,L0(G0))})}function W3(j,i0,d0,b){var S0=j.size;if(i0!==void 0&&(i0=i0|0),d0!==void 0&&(d0===1/0?d0=S0:d0=d0|0),fe(i0,d0,S0))return j;var L0=de(i0,S0),G0=Se(d0,S0);if(L0!==L0||G0!==G0)return W3(j.toSeq().cacheResult(),i0,d0,b);var K0=G0-L0,ee;K0===K0&&(ee=K0<0?0:K0);var le=oo(j);return le.size=ee===0?ee:j.size&&ee||void 0,!b&&b2(j)&&ee>=0&&(le.get=function(Ze,s2){return Ze=Q0(this,Ze),Ze>=0&&Zeee)return Be();var vt=w2.next();return b||Ze===Ne?vt:Ze===Ie?ye(Ze,I2-1,void 0,vt):ye(Ze,I2-1,vt.value[1],vt)})},le}function Cy(j,i0,d0){var b=oo(j);return b.__iterateUncached=function(S0,L0){var G0=this;if(L0)return this.cacheResult().__iterate(S0,L0);var K0=0;return j.__iterate(function(ee,le,Ze){return i0.call(d0,ee,le,Ze)&&++K0&&S0(ee,le,G0)}),K0},b.__iteratorUncached=function(S0,L0){var G0=this;if(L0)return this.cacheResult().__iterator(S0,L0);var K0=j.__iterator(c2,L0),ee=!0;return new qe(function(){if(!ee)return Be();var le=K0.next();if(le.done)return le;var Ze=le.value,s2=Ze[0],w2=Ze[1];return i0.call(d0,w2,s2,G0)?S0===c2?le:ye(S0,s2,w2,le):(ee=!1,Be())})},b}function _w(j,i0,d0,b){var S0=oo(j);return S0.__iterateUncached=function(L0,G0){var K0=this;if(G0)return this.cacheResult().__iterate(L0,G0);var ee=!0,le=0;return j.__iterate(function(Ze,s2,w2){if(!(ee&&(ee=i0.call(d0,Ze,s2,w2))))return le++,L0(Ze,b?s2:le-1,K0)}),le},S0.__iteratorUncached=function(L0,G0){var K0=this;if(G0)return this.cacheResult().__iterator(L0,G0);var ee=j.__iterator(c2,G0),le=!0,Ze=0;return new qe(function(){var s2,w2,G2;do{if(s2=ee.next(),s2.done)return b||L0===Ne?s2:L0===Ie?ye(L0,Ze++,void 0,s2):ye(L0,Ze++,s2.value[1],s2);var I2=s2.value;w2=I2[0],G2=I2[1],le&&(le=i0.call(d0,G2,w2,K0))}while(le);return L0===c2?s2:ye(L0,w2,G2,s2)})},S0}function Ey(j,i0){var d0=M(j),b=[j].concat(i0).map(function(G0){return R(G0)?d0&&(G0=I(G0)):G0=d0?tt(G0):nn(Array.isArray(G0)?G0:[G0]),G0}).filter(function(G0){return G0.size!==0});if(b.length===0)return j;if(b.length===1){var S0=b[0];if(S0===j||d0&&M(S0)||Q(j)&&Q(S0))return S0}var L0=new r2(b);return d0?L0=L0.toKeyedSeq():Q(j)||(L0=L0.toSetSeq()),L0=L0.flatten(!0),L0.size=b.reduce(function(G0,K0){if(G0!==void 0){var ee=K0.size;if(ee!==void 0)return G0+ee}},0),L0}function zw(j,i0,d0){var b=oo(j);return b.__iterateUncached=function(S0,L0){var G0=0,K0=!1;function ee(le,Ze){var s2=this;le.__iterate(function(w2,G2){return(!i0||Ze0}function D3(j,i0,d0){var b=oo(j);return b.size=new r2(d0).map(function(S0){return S0.size}).min(),b.__iterate=function(S0,L0){for(var G0=this.__iterator(Ne,L0),K0,ee=0;!(K0=G0.next()).done&&S0(K0.value,ee++,this)!==!1;);return ee},b.__iteratorUncached=function(S0,L0){var G0=d0.map(function(le){return le=C(le),ae(L0?le.reverse():le)}),K0=0,ee=!1;return new qe(function(){var le;return ee||(le=G0.map(function(Ze){return Ze.next()}),ee=le.some(function(Ze){return Ze.done})),ee?Be():ye(S0,K0++,i0.apply(null,le.map(function(Ze){return Ze.value})))})},b}function Vr(j,i0){return b2(j)?i0:j.constructor(i0)}function Rw(j){if(j!==Object(j))throw new TypeError("Expected [K, V] tuple: "+j)}function Gw(j){return Yn(j.size),R0(j)}function Zw(j){return M(j)?I:Q(j)?S:Z}function oo(j){return Object.create((M(j)?Ee:Q(j)?xe:Pe).prototype)}function M3(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):He.prototype.cacheResult.call(this)}function E2(j,i0){return j>i0?1:j=0;d0--)i0={value:arguments[d0],next:i0};return this.__ownerID?(this.size=j,this._head=i0,this.__hash=void 0,this.__altered=!0,this):ve(j,i0)},$.prototype.pushAll=function(j){if(j=S(j),j.size===0)return this;Yn(j.size);var i0=this.size,d0=this._head;return j.reverse().forEach(function(b){i0++,d0={value:b,next:d0}}),this.__ownerID?(this.size=i0,this._head=d0,this.__hash=void 0,this.__altered=!0,this):ve(i0,d0)},$.prototype.pop=function(){return this.slice(1)},$.prototype.unshift=function(){return this.push.apply(this,arguments)},$.prototype.unshiftAll=function(j){return this.pushAll(j)},$.prototype.shift=function(){return this.pop.apply(this,arguments)},$.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):u()},$.prototype.slice=function(j,i0){if(fe(j,i0,this.size))return this;var d0=de(j,this.size),b=Se(i0,this.size);if(b!==this.size)return iA.prototype.slice.call(this,j,i0);for(var S0=this.size-d0,L0=this._head;d0--;)L0=L0.next;return this.__ownerID?(this.size=S0,this._head=L0,this.__hash=void 0,this.__altered=!0,this):ve(S0,L0)},$.prototype.__ensureOwner=function(j){return j===this.__ownerID?this:j?ve(this.size,this._head,j,this.__hash):(this.__ownerID=j,this.__altered=!1,this)},$.prototype.__iterate=function(j,i0){if(i0)return this.reverse().__iterate(j);for(var d0=0,b=this._head;b&&j(b.value,d0++,this)!==!1;)b=b.next;return d0},$.prototype.__iterator=function(j,i0){if(i0)return this.reverse().__iterator(j);var d0=0,b=this._head;return new qe(function(){if(b){var S0=b.value;return b=b.next,ye(j,d0++,S0)}return Be()})};function e(j){return!!(j&&j[s0])}$.isStack=e;var s0="@@__IMMUTABLE_STACK__@@",M0=$.prototype;M0[s0]=!0,M0.withMutations=J2.withMutations,M0.asMutable=J2.asMutable,M0.asImmutable=J2.asImmutable,M0.wasAltered=J2.wasAltered;function ve(j,i0,d0,b){var S0=Object.create(M0);return S0.size=j,S0._head=i0,S0.__ownerID=d0,S0.__hash=b,S0.__altered=!1,S0}var x0;function u(){return x0||(x0=ve(0))}function be(j,i0){var d0=function(b){j.prototype[b]=i0[b]};return Object.keys(i0).forEach(d0),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i0).forEach(d0),j}C.Iterator=qe,be(C,{toArray:function(){Yn(this.size);var j=new Array(this.size||0);return this.valueSeq().__iterate(function(i0,d0){j[d0]=i0}),j},toIndexedSeq:function(){return new yl(this)},toJS:function(){return this.toSeq().map(function(j){return j&&typeof j.toJS=="function"?j.toJS():j}).__toJS()},toJSON:function(){return this.toSeq().map(function(j){return j&&typeof j.toJSON=="function"?j.toJSON():j}).__toJS()},toKeyedSeq:function(){return new A1(this,!0)},toMap:function(){return er(this.toKeyedSeq())},toObject:function(){Yn(this.size);var j={};return this.__iterate(function(i0,d0){j[d0]=i0}),j},toOrderedMap:function(){return Pt(this.toKeyedSeq())},toOrderedSet:function(){return Jo(M(this)?this.valueSeq():this)},toSet:function(){return kt(M(this)?this.valueSeq():this)},toSetSeq:function(){return new ds(this)},toSeq:function(){return Q(this)?this.toIndexedSeq():M(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return $(M(this)?this.valueSeq():this)},toList:function(){return ft(M(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(j,i0){return this.size===0?j+i0:j+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+i0},concat:function(){var j=d.call(arguments,0);return Vr(this,Ey(this,j))},includes:function(j){return this.some(function(i0){return Dt(i0,j)})},entries:function(){return this.__iterator(c2)},every:function(j,i0){Yn(this.size);var d0=!0;return this.__iterate(function(b,S0,L0){if(!j.call(i0,b,S0,L0))return d0=!1,!1}),d0},filter:function(j,i0){return Vr(this,Sw(this,j,i0,!0))},find:function(j,i0,d0){var b=this.findEntry(j,i0);return b?b[1]:d0},forEach:function(j,i0){return Yn(this.size),this.__iterate(i0?j.bind(i0):j)},join:function(j){Yn(this.size),j=j!==void 0?""+j:",";var i0="",d0=!0;return this.__iterate(function(b){d0?d0=!1:i0+=j,i0+=b!=null?b.toString():""}),i0},keys:function(){return this.__iterator(Ie)},map:function(j,i0){return Vr(this,Ho(this,j,i0))},reduce:function(j,i0,d0){Yn(this.size);var b,S0;return arguments.length<2?S0=!0:b=i0,this.__iterate(function(L0,G0,K0){S0?(S0=!1,b=L0):b=j.call(d0,b,L0,G0,K0)}),b},reduceRight:function(j,i0,d0){var b=this.toKeyedSeq().reverse();return b.reduce.apply(b,arguments)},reverse:function(){return Vr(this,Z3(this,!0))},slice:function(j,i0){return Vr(this,W3(this,j,i0,!0))},some:function(j,i0){return!this.every(In(j),i0)},sort:function(j){return Vr(this,fA(this,j))},values:function(){return this.__iterator(Ne)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(j,i0){return R0(j?this.toSeq().filter(j,i0):this)},countBy:function(j,i0){return gy(this,j,i0)},equals:function(j){return Ra(this,j)},entrySeq:function(){var j=this;if(j._cache)return new r2(j._cache);var i0=j.toSeq().map(on).toIndexedSeq();return i0.fromEntrySeq=function(){return j.toSeq()},i0},filterNot:function(j,i0){return this.filter(In(j),i0)},findEntry:function(j,i0,d0){var b=d0;return this.__iterate(function(S0,L0,G0){if(j.call(i0,S0,L0,G0))return b=[L0,S0],!1}),b},findKey:function(j,i0){var d0=this.findEntry(j,i0);return d0&&d0[0]},findLast:function(j,i0,d0){return this.toKeyedSeq().reverse().find(j,i0,d0)},findLastEntry:function(j,i0,d0){return this.toKeyedSeq().reverse().findEntry(j,i0,d0)},findLastKey:function(j,i0){return this.toKeyedSeq().reverse().findKey(j,i0)},first:function(){return this.find(q0)},flatMap:function(j,i0){return Vr(this,By(this,j,i0))},flatten:function(j){return Vr(this,zw(this,j,!0))},fromEntrySeq:function(){return new uA(this)},get:function(j,i0){return this.find(function(d0,b){return Dt(b,j)},void 0,i0)},getIn:function(j,i0){for(var d0=this,b=j3(j),S0;!(S0=b.next()).done;){var L0=S0.value;if(d0=d0&&d0.get?d0.get(L0,C0):C0,d0===C0)return i0}return d0},groupBy:function(j,i0){return yy(this,j,i0)},has:function(j){return this.get(j,C0)!==C0},hasIn:function(j){return this.getIn(j,C0)!==C0},isSubset:function(j){return j=typeof j.includes=="function"?j:C(j),this.every(function(i0){return j.includes(i0)})},isSuperset:function(j){return j=typeof j.isSubset=="function"?j:C(j),j.isSubset(this)},keyOf:function(j){return this.findKey(function(i0){return Dt(i0,j)})},keySeq:function(){return this.toSeq().map(g).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(j){return this.toKeyedSeq().reverse().keyOf(j)},max:function(j){return Qa(this,j)},maxBy:function(j,i0){return Qa(this,i0,j)},min:function(j){return Qa(this,j?v0(j):u1)},minBy:function(j,i0){return Qa(this,i0?v0(i0):u1,j)},rest:function(){return this.slice(1)},skip:function(j){return this.slice(Math.max(0,j))},skipLast:function(j){return Vr(this,this.toSeq().reverse().skip(j).reverse())},skipWhile:function(j,i0){return Vr(this,_w(this,j,i0,!0))},skipUntil:function(j,i0){return this.skipWhile(In(j),i0)},sortBy:function(j,i0){return Vr(this,fA(this,i0,j))},take:function(j){return this.slice(0,Math.max(0,j))},takeLast:function(j){return Vr(this,this.toSeq().reverse().take(j).reverse())},takeWhile:function(j,i0){return Vr(this,Cy(this,j,i0))},takeUntil:function(j,i0){return this.takeWhile(In(j),i0)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=f1(this))}});var ne=C.prototype;ne[o0]=!0,ne[j2]=ne.values,ne.__toJS=ne.toArray,ne.__toStringMapper=g0,ne.inspect=ne.toSource=function(){return this.toString()},ne.chain=ne.flatMap,ne.contains=ne.includes,be(I,{flip:function(){return Vr(this,xw(this))},mapEntries:function(j,i0){var d0=this,b=0;return Vr(this,this.toSeq().map(function(S0,L0){return j.call(i0,[L0,S0],b++,d0)}).fromEntrySeq())},mapKeys:function(j,i0){var d0=this;return Vr(this,this.toSeq().flip().map(function(b,S0){return j.call(i0,b,S0,d0)}).flip())}});var B2=I.prototype;B2[A0]=!0,B2[j2]=ne.entries,B2.__toJS=ne.toObject,B2.__toStringMapper=function(j,i0){return JSON.stringify(i0)+": "+g0(j)},be(S,{toKeyedSeq:function(){return new A1(this,!1)},filter:function(j,i0){return Vr(this,Sw(this,j,i0,!1))},findIndex:function(j,i0){var d0=this.findEntry(j,i0);return d0?d0[0]:-1},indexOf:function(j){var i0=this.keyOf(j);return i0===void 0?-1:i0},lastIndexOf:function(j){var i0=this.lastKeyOf(j);return i0===void 0?-1:i0},reverse:function(){return Vr(this,Z3(this,!1))},slice:function(j,i0){return Vr(this,W3(this,j,i0,!1))},splice:function(j,i0){var d0=arguments.length;if(i0=Math.max(i0|0,0),d0===0||d0===2&&!i0)return this;j=de(j,j<0?this.count():this.size);var b=this.slice(0,j);return Vr(this,d0===1?b:b.concat(P0(arguments,2),this.slice(j+i0)))},findLastIndex:function(j,i0){var d0=this.findLastEntry(j,i0);return d0?d0[0]:-1},first:function(){return this.get(0)},flatten:function(j){return Vr(this,zw(this,j,!1))},get:function(j,i0){return j=Q0(this,j),j<0||this.size===1/0||this.size!==void 0&&j>this.size?i0:this.find(function(d0,b){return b===j},void 0,i0)},has:function(j){return j=Q0(this,j),j>=0&&(this.size!==void 0?this.size===1/0||ji0?-1:0}function f1(j){if(j.size===1/0)return 0;var i0=e0(j),d0=M(j),b=i0?1:0,S0=j.__iterate(d0?i0?function(L0,G0){b=31*b+Sy(En(L0),En(G0))|0}:function(L0,G0){b=b+Sy(En(L0),En(G0))|0}:i0?function(L0){b=31*b+En(L0)|0}:function(L0){b=b+En(L0)|0});return Hr(S0,b)}function Hr(j,i0){return i0=Uu(i0,3432918353),i0=Uu(i0<<15|i0>>>-15,461845907),i0=Uu(i0<<13|i0>>>-13,5),i0=(i0+3864292196|0)^j,i0=Uu(i0^i0>>>16,2246822507),i0=Uu(i0^i0>>>13,3266489909),i0=Xu(i0^i0>>>16),i0}function Sy(j,i0){return j^i0+2654435769+(j<<6)+(j>>2)|0}var fR={Iterable:C,Seq:He,Collection:vl,Map:er,OrderedMap:Pt,List:ft,Stack:$,Set:kt,OrderedSet:Jo,Record:Xi,Range:Li,Repeat:zi,is:Dt,fromJS:G1};return fR})}(VB)),VB.exports}function pF0(f){return f=f||Object.create(null),{on:function(d,k){(f[d]||(f[d]=[])).push(k)},off:function(d,k){f[d]&&f[d].splice(f[d].indexOf(k)>>>0,1)},emit:function(d,k){(f[d]||[]).slice().map(function(C){C(k)}),(f["*"]||[]).slice().map(function(C){C(d,k)})}}}const kF0=Object.freeze(Object.defineProperty({__proto__:null,default:pF0},Symbol.toStringTag,{value:"Module"})),vF0=Fn(kF0);var HB,NH;function s00(){if(NH)return HB;NH=1;var f=typeof ea=="object"&&ea&&ea.Object===Object&&ea;return HB=f,HB}var JB,QH;function mF0(){if(QH)return JB;QH=1;var f=s00(),h=typeof self=="object"&&self&&self.Object===Object&&self,d=f||h||Function("return this")();return JB=d,JB}var UB,TH;function Zg(){if(TH)return UB;TH=1;var f=mF0(),h=f.Symbol;return UB=h,UB}var XB,FH;function gF0(){if(FH)return XB;FH=1;var f=Zg(),h=Object.prototype,d=h.hasOwnProperty,k=h.toString,C=f?f.toStringTag:void 0;function I(S){var Z=d.call(S,C),R=S[C];try{S[C]=void 0;var M=!0}catch{}var Q=k.call(S);return M&&(Z?S[C]=R:delete S[C]),Q}return XB=I,XB}var qB,PH;function yF0(){if(PH)return qB;PH=1;var f=Object.prototype,h=f.toString;function d(k){return h.call(k)}return qB=d,qB}var $B,YH;function Wg(){if(YH)return $B;YH=1;var f=Zg(),h=gF0(),d=yF0(),k="[object Null]",C="[object Undefined]",I=f?f.toStringTag:void 0;function S(Z){return Z==null?Z===void 0?C:k:I&&I in Object(Z)?h(Z):d(Z)}return $B=S,$B}var KB,OH;function ew(){if(OH)return KB;OH=1;function f(h){return h!=null&&typeof h=="object"}return KB=f,KB}var bB,VH;function CF0(){if(VH)return bB;VH=1;var f=Wg(),h=ew(),d="[object RegExp]";function k(C){return h(C)&&f(C)==d}return bB=k,bB}var eI,HH;function EF0(){if(HH)return eI;HH=1;function f(h){return function(d){return h(d)}}return eI=f,eI}var N8={exports:{}};N8.exports;var JH;function BF0(){return JH||(JH=1,function(f,h){var d=s00(),k=h&&!h.nodeType&&h,C=k&&!0&&f&&!f.nodeType&&f,I=C&&C.exports===k,S=I&&d.process,Z=function(){try{var R=C&&C.require&&C.require("util").types;return R||S&&S.binding&&S.binding("util")}catch{}}();f.exports=Z}(N8,N8.exports)),N8.exports}var rI,UH;function IF0(){if(UH)return rI;UH=1;var f=CF0(),h=EF0(),d=BF0(),k=d&&d.isRegExp,C=k?h(k):f;return rI=C,rI}var tI,XH;function xF0(){if(XH)return tI;XH=1;function f(h,d){for(var k=-1,C=h==null?0:h.length,I=Array(C);++k0&&I(Q)?C>1?d(Q,C-1,I,S,Z):f(Z,Q):S||(Z[Z.length]=Q)}return Z}return hI=d,hI}var wI,sJ;function jF0(){if(sJ)return wI;sJ=1;var f=MF0();function h(d){var k=d==null?0:d.length;return k?f(d,1):[]}return wI=h,wI}var dI,AJ;function NF0(){if(AJ)return dI;AJ=1;var f=IF0(),h=LF0(),d=RF0(),k=jF0();function C(I,S,Z){var R=0,M=0;if(I==="")return I;if(!I||!d(I))throw new TypeError("First argument to react-string-replace#replaceString must be a string");var Q=S;f(Q)||(Q=new RegExp("("+h(Q)+")","gi"));for(var O=I.split(Q),e0=1,o0=O.length;e0=0&&R===Z&&M())}function Q8(f,h){if(f==null)return{};var d=At(f,h),k,C;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(f);for(C=0;C=0)&&Object.prototype.propertyIsEnumerable.call(f,k)&&(d[k]=f[k])}return d}var QF0=function(){function f(h){var d=h.cellCount,k=h.cellSizeGetter,C=h.estimatedCellSize;li(this,f),Ae(this,"_cellSizeAndPositionData",{}),Ae(this,"_lastMeasuredIndex",-1),Ae(this,"_lastBatchedIndex",-1),Ae(this,"_cellCount",void 0),Ae(this,"_cellSizeGetter",void 0),Ae(this,"_estimatedCellSize",void 0),this._cellSizeGetter=k,this._cellCount=d,this._estimatedCellSize=C}return pi(f,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(d){var k=d.cellCount,C=d.estimatedCellSize,I=d.cellSizeGetter;this._cellCount=k,this._estimatedCellSize=C,this._cellSizeGetter=I}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(d){if(d<0||d>=this._cellCount)throw Error("Requested index ".concat(d," is outside of range 0..").concat(this._cellCount));if(d>this._lastMeasuredIndex)for(var k=this.getSizeAndPositionOfLastMeasuredCell(),C=k.offset+k.size,I=this._lastMeasuredIndex+1;I<=d;I++){var S=this._cellSizeGetter({index:I});if(S===void 0||isNaN(S))throw Error("Invalid size returned for cell ".concat(I," of value ").concat(S));S===null?(this._cellSizeAndPositionData[I]={offset:C,size:0},this._lastBatchedIndex=d):(this._cellSizeAndPositionData[I]={offset:C,size:S},C+=S,this._lastMeasuredIndex=d)}return this._cellSizeAndPositionData[d]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var d=this.getSizeAndPositionOfLastMeasuredCell(),k=d.offset+d.size,C=this._cellCount-this._lastMeasuredIndex-1,I=C*this._estimatedCellSize;return k+I}},{key:"getUpdatedOffsetForIndex",value:function(d){var k=d.align,C=k===void 0?"auto":k,I=d.containerSize,S=d.currentOffset,Z=d.targetIndex;if(I<=0)return 0;var R=this.getSizeAndPositionOfCell(Z),M=R.offset,Q=M-I+R.size,O;switch(C){case"start":O=M;break;case"end":O=Q;break;case"center":O=M-(I-R.size)/2;break;default:O=Math.max(Q,Math.min(M,S));break}var e0=this.getTotalSize();return Math.max(0,Math.min(e0-I,O))}},{key:"getVisibleCellRange",value:function(d){var k=d.containerSize,C=d.offset,I=this.getTotalSize();if(I===0)return{};var S=C+k,Z=this._findNearestCell(C),R=this.getSizeAndPositionOfCell(Z);C=R.offset+R.size;for(var M=Z;CC&&(d=I-1)}return k>0?k-1:0}},{key:"_exponentialSearch",value:function(d,k){for(var C=1;d=d?this._binarySearch(C,0,d):this._exponentialSearch(C,d)}}]),f}(),TF0=15e5,FF0=16777100,PF0=function(){return typeof window<"u"},YF0=function(){return!!window.chrome},OF0=function(){return PF0()&&YF0()?FF0:TF0},aJ=function(){function f(h){var d=h.maxScrollSize,k=d===void 0?OF0():d,C=Q8(h,["maxScrollSize"]);li(this,f),Ae(this,"_cellSizeAndPositionManager",void 0),Ae(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new QF0(C),this._maxScrollSize=k}return pi(f,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(d){this._cellSizeAndPositionManager.configure(d)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(d){var k=d.containerSize,C=d.offset,I=this._cellSizeAndPositionManager.getTotalSize(),S=this.getTotalSize(),Z=this._getOffsetPercentage({containerSize:k,offset:C,totalSize:S});return Math.round(Z*(S-I))}},{key:"getSizeAndPositionOfCell",value:function(d){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(d)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(d){var k=d.align,C=k===void 0?"auto":k,I=d.containerSize,S=d.currentOffset,Z=d.targetIndex;S=this._safeOffsetToOffset({containerSize:I,offset:S});var R=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:C,containerSize:I,currentOffset:S,targetIndex:Z});return this._offsetToSafeOffset({containerSize:I,offset:R})}},{key:"getVisibleCellRange",value:function(d){var k=d.containerSize,C=d.offset;return C=this._safeOffsetToOffset({containerSize:k,offset:C}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:k,offset:C})}},{key:"resetCell",value:function(d){this._cellSizeAndPositionManager.resetCell(d)}},{key:"_getOffsetPercentage",value:function(d){var k=d.containerSize,C=d.offset,I=d.totalSize;return I<=k?0:C/(I-k)}},{key:"_offsetToSafeOffset",value:function(d){var k=d.containerSize,C=d.offset,I=this._cellSizeAndPositionManager.getTotalSize(),S=this.getTotalSize();if(I===S)return C;var Z=this._getOffsetPercentage({containerSize:k,offset:C,totalSize:I});return Math.round(Z*(S-k))}},{key:"_safeOffsetToOffset",value:function(d){var k=d.containerSize,C=d.offset,I=this._cellSizeAndPositionManager.getTotalSize(),S=this.getTotalSize();if(I===S)return C;var Z=this._getOffsetPercentage({containerSize:k,offset:C,totalSize:S});return Math.round(Z*(I-k))}}]),f}();function J4(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,h={};return function(d){var k=d.callback,C=d.indices,I=Object.keys(C),S=!f||I.every(function(R){var M=C[R];return Array.isArray(M)?M.length>0:M>=0}),Z=I.length!==Object.keys(h).length||I.some(function(R){var M=h[R],Q=C[R];return Array.isArray(Q)?M.join(",")!==Q.join(","):M!==Q});h=C,S&&Z&&k(C)}}var vv=-1,Ms=1;function c00(f){var h=f.cellCount,d=f.overscanCellsCount,k=f.scrollDirection,C=f.startIndex,I=f.stopIndex;return k===Ms?{overscanStartIndex:Math.max(0,C),overscanStopIndex:Math.min(h-1,I+d)}:{overscanStartIndex:Math.max(0,C-d),overscanStopIndex:Math.min(h-1,I)}}function cJ(f){var h=f.cellSize,d=f.cellSizeAndPositionManager,k=f.previousCellsCount,C=f.previousCellSize,I=f.previousScrollToAlignment,S=f.previousScrollToIndex,Z=f.previousSize,R=f.scrollOffset,M=f.scrollToAlignment,Q=f.scrollToIndex,O=f.size,e0=f.sizeJustIncreasedFromZero,o0=f.updateScrollIndexCallback,A0=d.getCellCount(),l0=Q>=0&&Q0&&(Od.getTotalSize()-O&&o0(A0-1)}function h00(f){for(var h=f.cellCache,d=f.cellRenderer,k=f.columnSizeAndPositionManager,C=f.columnStartIndex,I=f.columnStopIndex,S=f.deferredMeasurementCache,Z=f.horizontalOffsetAdjustment,R=f.isScrolling,M=f.isScrollingOptOut,Q=f.parent,O=f.rowSizeAndPositionManager,e0=f.rowStartIndex,o0=f.rowStopIndex,A0=f.styleCache,l0=f.verticalOffsetAdjustment,w0=f.visibleColumnIndices,u0=f.visibleRowIndices,a0=[],c0=k.areOffsetsAdjusted()||O.areOffsetsAdjusted(),y0=!R&&!c0,C0=e0;C0<=o0;C0++)for(var I0=O.getSizeAndPositionOfCell(C0),h0=C;h0<=I;h0++){var E0=k.getSizeAndPositionOfCell(h0),z0=h0>=w0.start&&h0<=w0.stop&&C0>=u0.start&&C0<=u0.stop,W0="".concat(C0,"-").concat(h0),P0=void 0;y0&&A0[W0]?P0=A0[W0]:S&&!S.has(C0,h0)?P0={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(P0={height:I0.size,left:E0.offset+Z,position:"absolute",top:I0.offset+l0,width:E0.size},A0[W0]=P0);var R0={columnIndex:h0,isScrolling:R,isVisible:z0,key:W0,parent:Q,rowIndex:C0,style:P0},Q0=void 0;(M||R)&&!Z&&!l0?(h[W0]||(h[W0]=d(R0)),Q0=h[W0]):Q0=d(R0),!(Q0==null||Q0===!1)&&a0.push(Q0)}return a0}const VF0=!!(typeof window<"u"&&window.document&&window.document.createElement);var mv;function Xx(f){if((!mv&&mv!==0||f)&&VF0){var h=document.createElement("div");h.style.position="absolute",h.style.top="-9999px",h.style.width="50px",h.style.height="50px",h.style.overflow="scroll",document.body.appendChild(h),mv=h.offsetWidth-h.clientWidth,document.body.removeChild(h)}return mv}var e1;typeof window<"u"?e1=window:typeof self<"u"?e1=self:e1={};var HF0=e1.requestAnimationFrame||e1.webkitRequestAnimationFrame||e1.mozRequestAnimationFrame||e1.oRequestAnimationFrame||e1.msRequestAnimationFrame||function(f){return e1.setTimeout(f,1e3/60)},JF0=e1.cancelAnimationFrame||e1.webkitCancelAnimationFrame||e1.mozCancelAnimationFrame||e1.oCancelAnimationFrame||e1.msCancelAnimationFrame||function(f){e1.clearTimeout(f)},hJ=HF0,UF0=JF0,U4=function(h){return UF0(h.id)},Ez=function(h,d){var k;Promise.resolve().then(function(){k=Date.now()});var C=function S(){Date.now()-k>=d?h.call():I.id=hJ(S)},I={id:hJ(C)};return I},wJ,dJ;function pJ(f,h){var d=Object.keys(f);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(f);h&&(k=k.filter(function(C){return Object.getOwnPropertyDescriptor(f,C).enumerable})),d.push.apply(d,k)}return d}function Hf(f){for(var h=1;h0&&(k._initialScrollTop=k._getCalculatedScrollTop(d,k.state)),d.scrollToColumn>0&&(k._initialScrollLeft=k._getCalculatedScrollLeft(d,k.state)),k}return pi(h,[{key:"getOffsetForCell",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=k.alignment,I=C===void 0?this.props.scrollToAlignment:C,S=k.columnIndex,Z=S===void 0?this.props.scrollToColumn:S,R=k.rowIndex,M=R===void 0?this.props.scrollToRow:R,Q=Hf({},this.props,{scrollToAlignment:I,scrollToColumn:Z,scrollToRow:M});return{scrollLeft:this._getCalculatedScrollLeft(Q),scrollTop:this._getCalculatedScrollTop(Q)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(k){var C=k.scrollLeft,I=C===void 0?0:C,S=k.scrollTop,Z=S===void 0?0:S;if(!(Z<0)){this._debounceScrollEnded();var R=this.props,M=R.autoHeight,Q=R.autoWidth,O=R.height,e0=R.width,o0=this.state.instanceProps,A0=o0.scrollbarSize,l0=o0.rowSizeAndPositionManager.getTotalSize(),w0=o0.columnSizeAndPositionManager.getTotalSize(),u0=Math.min(Math.max(0,w0-e0+A0),I),a0=Math.min(Math.max(0,l0-O+A0),Z);if(this.state.scrollLeft!==u0||this.state.scrollTop!==a0){var c0=u0!==this.state.scrollLeft?u0>this.state.scrollLeft?Ms:vv:this.state.scrollDirectionHorizontal,y0=a0!==this.state.scrollTop?a0>this.state.scrollTop?Ms:vv:this.state.scrollDirectionVertical,C0={isScrolling:!0,scrollDirectionHorizontal:c0,scrollDirectionVertical:y0,scrollPositionChangeReason:pI.OBSERVED};M||(C0.scrollTop=a0),Q||(C0.scrollLeft=u0),C0.needToResetStyleCache=!1,this.setState(C0)}this._invokeOnScrollMemoizer({scrollLeft:u0,scrollTop:a0,totalColumnsWidth:w0,totalRowsHeight:l0})}}},{key:"invalidateCellSizeAfterRender",value:function(k){var C=k.columnIndex,I=k.rowIndex;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,C):C,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,I):I}},{key:"measureAllCells",value:function(){var k=this.props,C=k.columnCount,I=k.rowCount,S=this.state.instanceProps;S.columnSizeAndPositionManager.getSizeAndPositionOfCell(C-1),S.rowSizeAndPositionManager.getSizeAndPositionOfCell(I-1)}},{key:"recomputeGridSize",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=k.columnIndex,I=C===void 0?0:C,S=k.rowIndex,Z=S===void 0?0:S,R=this.props,M=R.scrollToColumn,Q=R.scrollToRow,O=this.state.instanceProps;O.columnSizeAndPositionManager.resetCell(I),O.rowSizeAndPositionManager.resetCell(Z),this._recomputeScrollLeftFlag=M>=0&&(this.state.scrollDirectionHorizontal===Ms?I<=M:I>=M),this._recomputeScrollTopFlag=Q>=0&&(this.state.scrollDirectionVertical===Ms?Z<=Q:Z>=Q),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(k){var C=k.columnIndex,I=k.rowIndex,S=this.props.columnCount,Z=this.props;S>1&&C!==void 0&&this._updateScrollLeftForScrollToColumn(Hf({},Z,{scrollToColumn:C})),I!==void 0&&this._updateScrollTopForScrollToRow(Hf({},Z,{scrollToRow:I}))}},{key:"componentDidMount",value:function(){var k=this.props,C=k.getScrollbarSize,I=k.height,S=k.scrollLeft,Z=k.scrollToColumn,R=k.scrollTop,M=k.scrollToRow,Q=k.width,O=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),O.scrollbarSizeMeasured||this.setState(function(A0){var l0=Hf({},A0,{needToResetStyleCache:!1});return l0.instanceProps.scrollbarSize=C(),l0.instanceProps.scrollbarSizeMeasured=!0,l0}),typeof S=="number"&&S>=0||typeof R=="number"&&R>=0){var e0=h._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:S,scrollTop:R});e0&&(e0.needToResetStyleCache=!1,this.setState(e0))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var o0=I>0&&Q>0;Z>=0&&o0&&this._updateScrollLeftForScrollToColumn(),M>=0&&o0&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:S||0,scrollTop:R||0,totalColumnsWidth:O.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:O.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(k,C){var I=this,S=this.props,Z=S.autoHeight,R=S.autoWidth,M=S.columnCount,Q=S.height,O=S.rowCount,e0=S.scrollToAlignment,o0=S.scrollToColumn,A0=S.scrollToRow,l0=S.width,w0=this.state,u0=w0.scrollLeft,a0=w0.scrollPositionChangeReason,c0=w0.scrollTop,y0=w0.instanceProps;this._handleInvalidatedGridSize();var C0=M>0&&k.columnCount===0||O>0&&k.rowCount===0;a0===pI.REQUESTED&&(!R&&u0>=0&&(u0!==this._scrollingContainer.scrollLeft||C0)&&(this._scrollingContainer.scrollLeft=u0),!Z&&c0>=0&&(c0!==this._scrollingContainer.scrollTop||C0)&&(this._scrollingContainer.scrollTop=c0));var I0=(k.width===0||k.height===0)&&Q>0&&l0>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):cJ({cellSizeAndPositionManager:y0.columnSizeAndPositionManager,previousCellsCount:k.columnCount,previousCellSize:k.columnWidth,previousScrollToAlignment:k.scrollToAlignment,previousScrollToIndex:k.scrollToColumn,previousSize:k.width,scrollOffset:u0,scrollToAlignment:e0,scrollToIndex:o0,size:l0,sizeJustIncreasedFromZero:I0,updateScrollIndexCallback:function(){return I._updateScrollLeftForScrollToColumn(I.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):cJ({cellSizeAndPositionManager:y0.rowSizeAndPositionManager,previousCellsCount:k.rowCount,previousCellSize:k.rowHeight,previousScrollToAlignment:k.scrollToAlignment,previousScrollToIndex:k.scrollToRow,previousSize:k.height,scrollOffset:c0,scrollToAlignment:e0,scrollToIndex:A0,size:Q,sizeJustIncreasedFromZero:I0,updateScrollIndexCallback:function(){return I._updateScrollTopForScrollToRow(I.props)}}),this._invokeOnGridRenderedHelper(),u0!==C.scrollLeft||c0!==C.scrollTop){var h0=y0.rowSizeAndPositionManager.getTotalSize(),E0=y0.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:u0,scrollTop:c0,totalColumnsWidth:E0,totalRowsHeight:h0})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&U4(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var k=this.props,C=k.autoContainerWidth,I=k.autoHeight,S=k.autoWidth,Z=k.className,R=k.containerProps,M=k.containerRole,Q=k.containerStyle,O=k.height,e0=k.id,o0=k.noContentRenderer,A0=k.role,l0=k.style,w0=k.tabIndex,u0=k.width,a0=this.state,c0=a0.instanceProps,y0=a0.needToResetStyleCache,C0=this._isScrolling(),I0={boxSizing:"border-box",direction:"ltr",height:I?"auto":O,position:"relative",width:S?"auto":u0,WebkitOverflowScrolling:"touch",willChange:"transform"};y0&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var h0=c0.columnSizeAndPositionManager.getTotalSize(),E0=c0.rowSizeAndPositionManager.getTotalSize(),z0=E0>O?c0.scrollbarSize:0,W0=h0>u0?c0.scrollbarSize:0;(W0!==this._horizontalScrollBarSize||z0!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=W0,this._verticalScrollBarSize=z0,this._scrollbarPresenceChanged=!0),I0.overflowX=h0+z0<=u0?"hidden":"auto",I0.overflowY=E0+W0<=O?"hidden":"auto";var P0=this._childrenToDisplay,R0=P0.length===0&&O>0&&u0>0;return T0.createElement("div",Le({ref:this._setScrollingContainerRef},R,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:ul("ReactVirtualized__Grid",Z),id:e0,onScroll:this._onScroll,role:A0,style:Hf({},I0,{},l0),tabIndex:w0}),P0.length>0&&T0.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:M,style:Hf({width:C?"auto":h0,height:E0,maxWidth:h0,maxHeight:E0,overflow:"hidden",pointerEvents:C0?"none":"",position:"relative"},Q)},P0),R0&&o0())}},{key:"_calculateChildrenToRender",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,I=k.cellRenderer,S=k.cellRangeRenderer,Z=k.columnCount,R=k.deferredMeasurementCache,M=k.height,Q=k.overscanColumnCount,O=k.overscanIndicesGetter,e0=k.overscanRowCount,o0=k.rowCount,A0=k.width,l0=k.isScrollingOptOut,w0=C.scrollDirectionHorizontal,u0=C.scrollDirectionVertical,a0=C.instanceProps,c0=this._initialScrollTop>0?this._initialScrollTop:C.scrollTop,y0=this._initialScrollLeft>0?this._initialScrollLeft:C.scrollLeft,C0=this._isScrolling(k,C);if(this._childrenToDisplay=[],M>0&&A0>0){var I0=a0.columnSizeAndPositionManager.getVisibleCellRange({containerSize:A0,offset:y0}),h0=a0.rowSizeAndPositionManager.getVisibleCellRange({containerSize:M,offset:c0}),E0=a0.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:A0,offset:y0}),z0=a0.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:M,offset:c0});this._renderedColumnStartIndex=I0.start,this._renderedColumnStopIndex=I0.stop,this._renderedRowStartIndex=h0.start,this._renderedRowStopIndex=h0.stop;var W0=O({direction:"horizontal",cellCount:Z,overscanCellsCount:Q,scrollDirection:w0,startIndex:typeof I0.start=="number"?I0.start:0,stopIndex:typeof I0.stop=="number"?I0.stop:-1}),P0=O({direction:"vertical",cellCount:o0,overscanCellsCount:e0,scrollDirection:u0,startIndex:typeof h0.start=="number"?h0.start:0,stopIndex:typeof h0.stop=="number"?h0.stop:-1}),R0=W0.overscanStartIndex,Q0=W0.overscanStopIndex,q0=P0.overscanStartIndex,fe=P0.overscanStopIndex;if(R){if(!R.hasFixedHeight()){for(var de=q0;de<=fe;de++)if(!R.has(de,0)){R0=0,Q0=Z-1;break}}if(!R.hasFixedWidth()){for(var Se=R0;Se<=Q0;Se++)if(!R.has(0,Se)){q0=0,fe=o0-1;break}}}this._childrenToDisplay=S({cellCache:this._cellCache,cellRenderer:I,columnSizeAndPositionManager:a0.columnSizeAndPositionManager,columnStartIndex:R0,columnStopIndex:Q0,deferredMeasurementCache:R,horizontalOffsetAdjustment:E0,isScrolling:C0,isScrollingOptOut:l0,parent:this,rowSizeAndPositionManager:a0.rowSizeAndPositionManager,rowStartIndex:q0,rowStopIndex:fe,scrollLeft:y0,scrollTop:c0,styleCache:this._styleCache,verticalOffsetAdjustment:z0,visibleColumnIndices:I0,visibleRowIndices:h0}),this._columnStartIndex=R0,this._columnStopIndex=Q0,this._rowStartIndex=q0,this._rowStopIndex=fe}}},{key:"_debounceScrollEnded",value:function(){var k=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&U4(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=Ez(this._debounceScrollEndedCallback,k)}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"&&typeof this._deferredInvalidateRowIndex=="number"){var k=this._deferredInvalidateColumnIndex,C=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:k,rowIndex:C})}}},{key:"_invokeOnScrollMemoizer",value:function(k){var C=this,I=k.scrollLeft,S=k.scrollTop,Z=k.totalColumnsWidth,R=k.totalRowsHeight;this._onScrollMemoizer({callback:function(Q){var O=Q.scrollLeft,e0=Q.scrollTop,o0=C.props,A0=o0.height,l0=o0.onScroll,w0=o0.width;l0({clientHeight:A0,clientWidth:w0,scrollHeight:R,scrollLeft:O,scrollTop:e0,scrollWidth:Z})},indices:{scrollLeft:I,scrollTop:S}})}},{key:"_isScrolling",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return Object.hasOwnProperty.call(k,"isScrolling")?!!k.isScrolling:!!C.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var k=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,k({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(k){var C=k.scrollLeft,I=k.scrollTop,S=h._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:C,scrollTop:I});S&&(S.needToResetStyleCache=!1,this.setState(S))}},{key:"_getCalculatedScrollLeft",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return h._getCalculatedScrollLeft(k,C)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,I=h._getScrollLeftForScrollToColumnStateUpdate(k,C);I&&(I.needToResetStyleCache=!1,this.setState(I))}},{key:"_getCalculatedScrollTop",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return h._getCalculatedScrollTop(k,C)}},{key:"_resetStyleCache",value:function(){var k=this._styleCache,C=this._cellCache,I=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var S=this._rowStartIndex;S<=this._rowStopIndex;S++)for(var Z=this._columnStartIndex;Z<=this._columnStopIndex;Z++){var R="".concat(S,"-").concat(Z);this._styleCache[R]=k[R],I&&(this._cellCache[R]=C[R])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,I=h._getScrollTopForScrollToRowStateUpdate(k,C);I&&(I.needToResetStyleCache=!1,this.setState(I))}}],[{key:"getDerivedStateFromProps",value:function(k,C){var I={};k.columnCount===0&&C.scrollLeft!==0||k.rowCount===0&&C.scrollTop!==0?(I.scrollLeft=0,I.scrollTop=0):(k.scrollLeft!==C.scrollLeft&&k.scrollToColumn<0||k.scrollTop!==C.scrollTop&&k.scrollToRow<0)&&Object.assign(I,h._getScrollToPositionStateUpdate({prevState:C,scrollLeft:k.scrollLeft,scrollTop:k.scrollTop}));var S=C.instanceProps;I.needToResetStyleCache=!1,(k.columnWidth!==S.prevColumnWidth||k.rowHeight!==S.prevRowHeight)&&(I.needToResetStyleCache=!0),S.columnSizeAndPositionManager.configure({cellCount:k.columnCount,estimatedCellSize:h._getEstimatedColumnSize(k),cellSizeGetter:h._wrapSizeGetter(k.columnWidth)}),S.rowSizeAndPositionManager.configure({cellCount:k.rowCount,estimatedCellSize:h._getEstimatedRowSize(k),cellSizeGetter:h._wrapSizeGetter(k.rowHeight)}),(S.prevColumnCount===0||S.prevRowCount===0)&&(S.prevColumnCount=0,S.prevRowCount=0),k.autoHeight&&k.isScrolling===!1&&S.prevIsScrolling===!0&&Object.assign(I,{isScrolling:!1});var Z,R;return fJ({cellCount:S.prevColumnCount,cellSize:typeof S.prevColumnWidth=="number"?S.prevColumnWidth:null,computeMetadataCallback:function(){return S.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:k,nextCellsCount:k.columnCount,nextCellSize:typeof k.columnWidth=="number"?k.columnWidth:null,nextScrollToIndex:k.scrollToColumn,scrollToIndex:S.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){Z=h._getScrollLeftForScrollToColumnStateUpdate(k,C)}}),fJ({cellCount:S.prevRowCount,cellSize:typeof S.prevRowHeight=="number"?S.prevRowHeight:null,computeMetadataCallback:function(){return S.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:k,nextCellsCount:k.rowCount,nextCellSize:typeof k.rowHeight=="number"?k.rowHeight:null,nextScrollToIndex:k.scrollToRow,scrollToIndex:S.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){R=h._getScrollTopForScrollToRowStateUpdate(k,C)}}),S.prevColumnCount=k.columnCount,S.prevColumnWidth=k.columnWidth,S.prevIsScrolling=k.isScrolling===!0,S.prevRowCount=k.rowCount,S.prevRowHeight=k.rowHeight,S.prevScrollToColumn=k.scrollToColumn,S.prevScrollToRow=k.scrollToRow,S.scrollbarSize=k.getScrollbarSize(),S.scrollbarSize===void 0?(S.scrollbarSizeMeasured=!1,S.scrollbarSize=0):S.scrollbarSizeMeasured=!0,I.instanceProps=S,Hf({},I,{},Z,{},R)}},{key:"_getEstimatedColumnSize",value:function(k){return typeof k.columnWidth=="number"?k.columnWidth:k.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(k){return typeof k.rowHeight=="number"?k.rowHeight:k.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(k){var C=k.prevState,I=k.scrollLeft,S=k.scrollTop,Z={scrollPositionChangeReason:pI.REQUESTED};return typeof I=="number"&&I>=0&&(Z.scrollDirectionHorizontal=I>C.scrollLeft?Ms:vv,Z.scrollLeft=I),typeof S=="number"&&S>=0&&(Z.scrollDirectionVertical=S>C.scrollTop?Ms:vv,Z.scrollTop=S),typeof I=="number"&&I>=0&&I!==C.scrollLeft||typeof S=="number"&&S>=0&&S!==C.scrollTop?Z:{}}},{key:"_wrapSizeGetter",value:function(k){return typeof k=="function"?k:function(){return k}}},{key:"_getCalculatedScrollLeft",value:function(k,C){var I=k.columnCount,S=k.height,Z=k.scrollToAlignment,R=k.scrollToColumn,M=k.width,Q=C.scrollLeft,O=C.instanceProps;if(I>0){var e0=I-1,o0=R<0?e0:Math.min(e0,R),A0=O.rowSizeAndPositionManager.getTotalSize(),l0=O.scrollbarSizeMeasured&&A0>S?O.scrollbarSize:0;return O.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:Z,containerSize:M-l0,currentOffset:Q,targetIndex:o0})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(k,C){var I=C.scrollLeft,S=h._getCalculatedScrollLeft(k,C);return typeof S=="number"&&S>=0&&I!==S?h._getScrollToPositionStateUpdate({prevState:C,scrollLeft:S,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(k,C){var I=k.height,S=k.rowCount,Z=k.scrollToAlignment,R=k.scrollToRow,M=k.width,Q=C.scrollTop,O=C.instanceProps;if(S>0){var e0=S-1,o0=R<0?e0:Math.min(e0,R),A0=O.columnSizeAndPositionManager.getTotalSize(),l0=O.scrollbarSizeMeasured&&A0>M?O.scrollbarSize:0;return O.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:Z,containerSize:I-l0,currentOffset:Q,targetIndex:o0})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(k,C){var I=C.scrollTop,S=h._getCalculatedScrollTop(k,C);return typeof S=="number"&&S>=0&&I!==S?h._getScrollToPositionStateUpdate({prevState:C,scrollLeft:-1,scrollTop:S}):{}}}]),h}(T0.PureComponent),Ae(wJ,"propTypes",null),dJ);Ae(Vs,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:h00,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:Xx,noContentRenderer:qF0,onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:c00,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:XF0,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1});rw(Vs);var $F0=1;function Bz(f){var h=f.cellCount,d=f.overscanCellsCount,k=f.scrollDirection,C=f.startIndex,I=f.stopIndex;return d=Math.max(1,d),k===$F0?{overscanStartIndex:Math.max(0,C-1),overscanStopIndex:Math.min(h-1,I+d)}:{overscanStartIndex:Math.max(0,C-d),overscanStopIndex:Math.min(h-1,I+1)}}var kJ,vJ;function mJ(f,h){var d=Object.keys(f);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(f);h&&(k=k.filter(function(C){return Object.getOwnPropertyDescriptor(f,C).enumerable})),d.push.apply(d,k)}return d}function KF0(f){for(var h=1;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',W0=E0.head||E0.getElementsByTagName("head")[0],P0=E0.createElement("style");P0.id="detectElementResize",P0.type="text/css",f!=null&&P0.setAttribute("nonce",f),P0.styleSheet?P0.styleSheet.cssText=z0:P0.appendChild(E0.createTextNode(z0)),W0.appendChild(P0)}},C0=function(E0,z0){if(k)E0.attachEvent("onresize",z0);else{if(!E0.__resizeTriggers__){var W0=E0.ownerDocument,P0=d.getComputedStyle(E0);P0&&P0.position=="static"&&(E0.style.position="relative"),y0(W0),E0.__resizeLast__={},E0.__resizeListeners__=[],(E0.__resizeTriggers__=W0.createElement("div")).className="resize-triggers";var R0='
';if(window.trustedTypes){var Q0=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return R0}});E0.__resizeTriggers__.innerHTML=Q0.createHTML("")}else E0.__resizeTriggers__.innerHTML=R0;E0.appendChild(E0.__resizeTriggers__),S(E0),E0.addEventListener("scroll",R,!0),O&&(E0.__resizeTriggers__.__animationListener__=function(fe){fe.animationName==u0&&S(E0)},E0.__resizeTriggers__.addEventListener(O,E0.__resizeTriggers__.__animationListener__))}E0.__resizeListeners__.push(z0)}},I0=function(E0,z0){if(k)E0.detachEvent("onresize",z0);else if(E0.__resizeListeners__.splice(E0.__resizeListeners__.indexOf(z0),1),!E0.__resizeListeners__.length){E0.removeEventListener("scroll",R,!0),E0.__resizeTriggers__.__animationListener__&&(E0.__resizeTriggers__.removeEventListener(O,E0.__resizeTriggers__.__animationListener__),E0.__resizeTriggers__.__animationListener__=null);try{E0.__resizeTriggers__=!E0.removeChild(E0.__resizeTriggers__)}catch{}}};return{addResizeListener:C0,removeResizeListener:I0}}var gJ,yJ;function CJ(f,h){var d=Object.keys(f);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(f);h&&(k=k.filter(function(C){return Object.getOwnPropertyDescriptor(f,C).enumerable})),d.push.apply(d,k)}return d}function bF0(f){for(var h=1;h0&&arguments[0]!==void 0?arguments[0]:{};li(this,f),Ae(this,"_cellHeightCache",{}),Ae(this,"_cellWidthCache",{}),Ae(this,"_columnWidthCache",{}),Ae(this,"_rowHeightCache",{}),Ae(this,"_defaultHeight",void 0),Ae(this,"_defaultWidth",void 0),Ae(this,"_minHeight",void 0),Ae(this,"_minWidth",void 0),Ae(this,"_keyMapper",void 0),Ae(this,"_hasFixedHeight",void 0),Ae(this,"_hasFixedWidth",void 0),Ae(this,"_columnCount",0),Ae(this,"_rowCount",0),Ae(this,"columnWidth",function(Q){var O=Q.index,e0=h._keyMapper(0,O);return h._columnWidthCache[e0]!==void 0?h._columnWidthCache[e0]:h._defaultWidth}),Ae(this,"rowHeight",function(Q){var O=Q.index,e0=h._keyMapper(O,0);return h._rowHeightCache[e0]!==void 0?h._rowHeightCache[e0]:h._defaultHeight});var k=d.defaultHeight,C=d.defaultWidth,I=d.fixedHeight,S=d.fixedWidth,Z=d.keyMapper,R=d.minHeight,M=d.minWidth;this._hasFixedHeight=I===!0,this._hasFixedWidth=S===!0,this._minHeight=R||0,this._minWidth=M||0,this._keyMapper=Z||iP0,this._defaultHeight=Math.max(this._minHeight,typeof k=="number"?k:eP0),this._defaultWidth=Math.max(this._minWidth,typeof C=="number"?C:rP0)}return pi(f,[{key:"clear",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=this._keyMapper(d,k);delete this._cellHeightCache[C],delete this._cellWidthCache[C],this._updateCachedColumnAndRowSizes(d,k)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var C=this._keyMapper(d,k);return this._cellHeightCache[C]!==void 0?Math.max(this._minHeight,this._cellHeightCache[C]):this._defaultHeight}},{key:"getWidth",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var C=this._keyMapper(d,k);return this._cellWidthCache[C]!==void 0?Math.max(this._minWidth,this._cellWidthCache[C]):this._defaultWidth}},{key:"has",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=this._keyMapper(d,k);return this._cellHeightCache[C]!==void 0}},{key:"set",value:function(d,k,C,I){var S=this._keyMapper(d,k);k>=this._columnCount&&(this._columnCount=k+1),d>=this._rowCount&&(this._rowCount=d+1),this._cellHeightCache[S]=I,this._cellWidthCache[S]=C,this._updateCachedColumnAndRowSizes(d,k)}},{key:"_updateCachedColumnAndRowSizes",value:function(d,k){if(!this._hasFixedWidth){for(var C=0,I=0;I=0){var w0=R.getScrollPositionForCell({align:Q,cellIndex:O,height:M,scrollLeft:A0,scrollTop:l0,width:e0});(w0.scrollLeft!==A0||w0.scrollTop!==l0)&&k._setScrollPosition(w0)}}),Ae(Ge(k),"_onScroll",function(Z){if(Z.target===k._scrollingContainer){k._enablePointerEventsAfterDelay();var R=k.props,M=R.cellLayoutManager,Q=R.height,O=R.isScrollingChange,e0=R.width,o0=k._scrollbarSize,A0=M.getTotalSize(),l0=A0.height,w0=A0.width,u0=Math.max(0,Math.min(w0-e0+o0,Z.target.scrollLeft)),a0=Math.max(0,Math.min(l0-Q+o0,Z.target.scrollTop));if(k.state.scrollLeft!==u0||k.state.scrollTop!==a0){var c0=Z.cancelable?t4.OBSERVED:t4.REQUESTED;k.state.isScrolling||O(!0),k.setState({isScrolling:!0,scrollLeft:u0,scrollPositionChangeReason:c0,scrollTop:a0})}k._invokeOnScrollMemoizer({scrollLeft:u0,scrollTop:a0,totalWidth:w0,totalHeight:l0})}}),k._scrollbarSize=Xx(),k._scrollbarSize===void 0?(k._scrollbarSizeMeasured=!1,k._scrollbarSize=0):k._scrollbarSizeMeasured=!0,k}return pi(h,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var k=this.props,C=k.cellLayoutManager,I=k.scrollLeft,S=k.scrollToCell,Z=k.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Xx(),this._scrollbarSizeMeasured=!0,this.setState({})),S>=0?this._updateScrollPositionForScrollToCell():(I>=0||Z>=0)&&this._setScrollPosition({scrollLeft:I,scrollTop:Z}),this._invokeOnSectionRenderedHelper();var R=C.getTotalSize(),M=R.height,Q=R.width;this._invokeOnScrollMemoizer({scrollLeft:I||0,scrollTop:Z||0,totalHeight:M,totalWidth:Q})}},{key:"componentDidUpdate",value:function(k,C){var I=this.props,S=I.height,Z=I.scrollToAlignment,R=I.scrollToCell,M=I.width,Q=this.state,O=Q.scrollLeft,e0=Q.scrollPositionChangeReason,o0=Q.scrollTop;e0===t4.REQUESTED&&(O>=0&&O!==C.scrollLeft&&O!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=O),o0>=0&&o0!==C.scrollTop&&o0!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=o0)),(S!==k.height||Z!==k.scrollToAlignment||R!==k.scrollToCell||M!==k.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var k=this.props,C=k.autoHeight,I=k.cellCount,S=k.cellLayoutManager,Z=k.className,R=k.height,M=k.horizontalOverscanSize,Q=k.id,O=k.noContentRenderer,e0=k.style,o0=k.verticalOverscanSize,A0=k.width,l0=this.state,w0=l0.isScrolling,u0=l0.scrollLeft,a0=l0.scrollTop;(this._lastRenderedCellCount!==I||this._lastRenderedCellLayoutManager!==S||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=I,this._lastRenderedCellLayoutManager=S,this._calculateSizeAndPositionDataOnNextUpdate=!1,S.calculateSizeAndPositionData());var c0=S.getTotalSize(),y0=c0.height,C0=c0.width,I0=Math.max(0,u0-M),h0=Math.max(0,a0-o0),E0=Math.min(C0,u0+A0+M),z0=Math.min(y0,a0+R+o0),W0=R>0&&A0>0?S.cellRenderers({height:z0-h0,isScrolling:w0,width:E0-I0,x:I0,y:h0}):[],P0={boxSizing:"border-box",direction:"ltr",height:C?"auto":R,position:"relative",WebkitOverflowScrolling:"touch",width:A0,willChange:"transform"},R0=y0>R?this._scrollbarSize:0,Q0=C0>A0?this._scrollbarSize:0;return P0.overflowX=C0+R0<=A0?"hidden":"auto",P0.overflowY=y0+Q0<=R?"hidden":"auto",T0.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:ul("ReactVirtualized__Collection",Z),id:Q,onScroll:this._onScroll,role:"grid",style:nP0({},P0,{},e0),tabIndex:0},I>0&&T0.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:y0,maxHeight:y0,maxWidth:C0,overflow:"hidden",pointerEvents:w0?"none":"",width:C0}},W0),I===0&&O())}},{key:"_enablePointerEventsAfterDelay",value:function(){var k=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){var C=k.props.isScrollingChange;C(!1),k._disablePointerEventsTimeoutId=null,k.setState({isScrolling:!1})},oP0)}},{key:"_invokeOnScrollMemoizer",value:function(k){var C=this,I=k.scrollLeft,S=k.scrollTop,Z=k.totalHeight,R=k.totalWidth;this._onScrollMemoizer({callback:function(Q){var O=Q.scrollLeft,e0=Q.scrollTop,o0=C.props,A0=o0.height,l0=o0.onScroll,w0=o0.width;l0({clientHeight:A0,clientWidth:w0,scrollHeight:Z,scrollLeft:O,scrollTop:e0,scrollWidth:R})},indices:{scrollLeft:I,scrollTop:S}})}},{key:"_setScrollPosition",value:function(k){var C=k.scrollLeft,I=k.scrollTop,S={scrollPositionChangeReason:t4.REQUESTED};C>=0&&(S.scrollLeft=C),I>=0&&(S.scrollTop=I),(C>=0&&C!==this.state.scrollLeft||I>=0&&I!==this.state.scrollTop)&&this.setState(S)}}],[{key:"getDerivedStateFromProps",value:function(k,C){return k.cellCount===0&&(C.scrollLeft!==0||C.scrollTop!==0)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:t4.REQUESTED}:k.scrollLeft!==C.scrollLeft||k.scrollTop!==C.scrollTop?{scrollLeft:k.scrollLeft!=null?k.scrollLeft:C.scrollLeft,scrollTop:k.scrollTop!=null?k.scrollTop:C.scrollTop,scrollPositionChangeReason:t4.REQUESTED}:null}}]),h}(T0.PureComponent);Ae(Dg,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0});Dg.propTypes={};rw(Dg);var lP0=function(){function f(h){var d=h.height,k=h.width,C=h.x,I=h.y;li(this,f),this.height=d,this.width=k,this.x=C,this.y=I,this._indexMap={},this._indices=[]}return pi(f,[{key:"addCellIndex",value:function(d){var k=d.index;this._indexMap[k]||(this._indexMap[k]=!0,this._indices.push(k))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),f}(),sP0=100,AP0=function(){function f(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sP0;li(this,f),this._sectionSize=h,this._cellMetadata=[],this._sections={}}return pi(f,[{key:"getCellIndices",value:function(d){var k=d.height,C=d.width,I=d.x,S=d.y,Z={};return this.getSections({height:k,width:C,x:I,y:S}).forEach(function(R){return R.getCellIndices().forEach(function(M){Z[M]=M})}),Object.keys(Z).map(function(R){return Z[R]})}},{key:"getCellMetadata",value:function(d){var k=d.index;return this._cellMetadata[k]}},{key:"getSections",value:function(d){for(var k=d.height,C=d.width,I=d.x,S=d.y,Z=Math.floor(I/this._sectionSize),R=Math.floor((I+C-1)/this._sectionSize),M=Math.floor(S/this._sectionSize),Q=Math.floor((S+k-1)/this._sectionSize),O=[],e0=Z;e0<=R;e0++)for(var o0=M;o0<=Q;o0++){var A0="".concat(e0,".").concat(o0);this._sections[A0]||(this._sections[A0]=new lP0({height:this._sectionSize,width:this._sectionSize,x:e0*this._sectionSize,y:o0*this._sectionSize})),O.push(this._sections[A0])}return O}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var d=this;return Object.keys(this._sections).map(function(k){return d._sections[k].toString()})}},{key:"registerCell",value:function(d){var k=d.cellMetadatum,C=d.index;this._cellMetadata[C]=k,this.getSections(k).forEach(function(I){return I.addCellIndex({index:C})})}}]),f}();function uP0(f){for(var h=f.cellCount,d=f.cellSizeAndPositionGetter,k=f.sectionSize,C=[],I=new AP0(k),S=0,Z=0,R=0;R=0&&If.length)&&(h=f.length);for(var d=0,k=new Array(h);dd||C0;){var A0=o0.startIndex-1;if(!h({index:A0}))o0.startIndex=A0;else break}return S}function kP0(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,d=typeof f.recomputeGridSize=="function"?f.recomputeGridSize:f.recomputeRowHeights;d?d.call(f,h):f.forceUpdate()}var SJ,_J,m00=(_J=SJ=function(f){l1(h,f);function h(){var d,k;li(this,h);for(var C=arguments.length,I=new Array(C),S=0;S0&&arguments[0]!==void 0?arguments[0]:{},C=k.columnIndex,I=C===void 0?0:C,S=k.rowIndex,Z=S===void 0?0:S;this.Grid&&this.Grid.recomputeGridSize({rowIndex:Z,columnIndex:I})}},{key:"recomputeRowHeights",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:k,columnIndex:0})}},{key:"scrollToPosition",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:k})}},{key:"scrollToRow",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:k})}},{key:"render",value:function(){var k=this.props,C=k.className,I=k.noRowsRenderer,S=k.scrollToIndex,Z=k.width,R=ul("ReactVirtualized__List",C);return T0.createElement(Vs,Le({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:R,columnWidth:Z,columnCount:1,noContentRenderer:I,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:S}))}}]),h}(T0.PureComponent),Ae(SJ,"propTypes",null),_J);Ae(m00,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:Bz,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});function vP0(f){if(Array.isArray(f))return f}function mP0(f,h){var d=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(d!=null){var k,C,I,S,Z=[],R=!0,M=!1;try{if(I=(d=d.call(f)).next,h===0){if(Object(d)!==d)return;R=!1}else for(;!(R=(k=I.call(d)).done)&&(Z.push(k.value),Z.length!==h);R=!0);}catch(Q){M=!0,C=Q}finally{try{if(!R&&d.return!=null&&(S=d.return(),Object(S)!==S))return}finally{if(M)throw C}}return Z}}function gP0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yP0(f,h){return vP0(f)||mP0(f,h)||v00(f,h)||gP0()}function CP0(f,h,d,k){for(var C=d+1;h<=d;){var I=h+d>>>1,S=f[I];S>=k?(C=I,d=I-1):h=I+1}return C}function EP0(f,h,d,k,C){for(var I=d+1;h<=d;){var S=h+d>>>1,Z=f[S];C(Z,k)>=0?(I=S,d=S-1):h=S+1}return I}function BP0(f,h,d,k,C){return typeof d=="function"?EP0(f,k===void 0?0:k|0,C===void 0?f.length-1:C|0,h,d):CP0(f,d===void 0?0:d|0,k===void 0?f.length-1:k|0,h)}function IP0(f,h,d,k){for(var C=d+1;h<=d;){var I=h+d>>>1,S=f[I];S>k?(C=I,d=I-1):h=I+1}return C}function xP0(f,h,d,k,C){for(var I=d+1;h<=d;){var S=h+d>>>1,Z=f[S];C(Z,k)>0?(I=S,d=S-1):h=S+1}return I}function SP0(f,h,d,k,C){return typeof d=="function"?xP0(f,k===void 0?0:k|0,C===void 0?f.length-1:C|0,h,d):IP0(f,d===void 0?0:d|0,k===void 0?f.length-1:k|0,h)}function _P0(f,h,d,k){for(var C=h-1;h<=d;){var I=h+d>>>1,S=f[I];S>>1,Z=f[S];C(Z,k)<0?(I=S,h=S+1):d=S-1}return I}function LP0(f,h,d,k,C){return typeof d=="function"?zP0(f,k===void 0?0:k|0,C===void 0?f.length-1:C|0,h,d):_P0(f,d===void 0?0:d|0,k===void 0?f.length-1:k|0,h)}function RP0(f,h,d,k){for(var C=h-1;h<=d;){var I=h+d>>>1,S=f[I];S<=k?(C=I,h=I+1):d=I-1}return C}function GP0(f,h,d,k,C){for(var I=h-1;h<=d;){var S=h+d>>>1,Z=f[S];C(Z,k)<=0?(I=S,h=S+1):d=S-1}return I}function ZP0(f,h,d,k,C){return typeof d=="function"?GP0(f,k===void 0?0:k|0,C===void 0?f.length-1:C|0,h,d):RP0(f,d===void 0?0:d|0,k===void 0?f.length-1:k|0,h)}function WP0(f,h,d,k){for(;h<=d;){var C=h+d>>>1,I=f[C];if(I===k)return C;I<=k?h=C+1:d=C-1}return-1}function DP0(f,h,d,k,C){for(;h<=d;){var I=h+d>>>1,S=f[I],Z=C(S,k);if(Z===0)return I;Z<=0?h=I+1:d=I-1}return-1}function MP0(f,h,d,k,C){return typeof d=="function"?DP0(f,k===void 0?0:k|0,C===void 0?f.length-1:C|0,h,d):WP0(f,d===void 0?0:d|0,k===void 0?f.length-1:k|0,h)}const om={ge:BP0,gt:SP0,lt:LP0,le:ZP0,eq:MP0};var y4=0,Kf=1,o5=2;function _z(f,h,d,k,C){this.mid=f,this.left=h,this.right=d,this.leftPoints=k,this.rightPoints=C,this.count=(h?h.count:0)+(d?d.count:0)+k.length}var tw=_z.prototype;function kI(f,h){f.mid=h.mid,f.left=h.left,f.right=h.right,f.leftPoints=h.leftPoints,f.rightPoints=h.rightPoints,f.count=h.count}function g00(f,h){var d=X4(h);f.mid=d.mid,f.left=d.left,f.right=d.right,f.leftPoints=d.leftPoints,f.rightPoints=d.rightPoints,f.count=d.count}function zJ(f,h){var d=f.intervals([]);d.push(h),g00(f,d)}function LJ(f,h){var d=f.intervals([]),k=d.indexOf(h);return k<0?y4:(d.splice(k,1),g00(f,d),Kf)}tw.intervals=function(f){return f.push.apply(f,this.leftPoints),this.left&&this.left.intervals(f),this.right&&this.right.intervals(f),f};tw.insert=function(f){var h=this.count-this.leftPoints.length;if(this.count+=1,f[1]3*(h+1)?zJ(this,f):this.left.insert(f):this.left=X4([f]);else if(f[0]>this.mid)this.right?4*(this.right.count+1)>3*(h+1)?zJ(this,f):this.right.insert(f):this.right=X4([f]);else{var d=om.ge(this.leftPoints,f,zz),k=om.ge(this.rightPoints,f,Lz);this.leftPoints.splice(d,0,f),this.rightPoints.splice(k,0,f)}};tw.remove=function(f){var h=this.count-this.leftPoints;if(f[1]3*(h-1))return LJ(this,f);var k=this.left.remove(f);return k===o5?(this.left=null,this.count-=1,Kf):(k===Kf&&(this.count-=1),k)}else if(f[0]>this.mid){if(!this.right)return y4;var C=this.left?this.left.count:0;if(4*C>3*(h-1))return LJ(this,f);var k=this.right.remove(f);return k===o5?(this.right=null,this.count-=1,Kf):(k===Kf&&(this.count-=1),k)}else{if(this.count===1)return this.leftPoints[0]===f?o5:y4;if(this.leftPoints.length===1&&this.leftPoints[0]===f){if(this.left&&this.right){for(var I=this,S=this.left;S.right;)I=S,S=S.right;if(I===this)S.right=this.right;else{var Z=this.left,k=this.right;I.count-=S.count,I.right=S.left,S.left=Z,S.right=k}kI(this,S),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?kI(this,this.left):kI(this,this.right);return Kf}for(var Z=om.ge(this.leftPoints,f,zz);Z=0&&f[k][1]>=h;--k){var C=d(f[k]);if(C)return C}}function E00(f,h){for(var d=0;dthis.mid){if(this.right){var d=this.right.queryPoint(f,h);if(d)return d}return C00(this.rightPoints,f,h)}else return E00(this.leftPoints,h)};tw.queryInterval=function(f,h,d){if(fthis.mid&&this.right){var k=this.right.queryInterval(f,h,d);if(k)return k}return hthis.mid?C00(this.rightPoints,f,d):E00(this.leftPoints,d)};function jP0(f,h){return f-h}function zz(f,h){var d=f[0]-h[0];return d||f[1]-h[1]}function Lz(f,h){var d=f[1]-h[1];return d||f[0]-h[0]}function X4(f){if(f.length===0)return null;for(var h=[],d=0;d>1],C=[],I=[],S=[],d=0;d"u"?(W0=q0,P0=q0):(W0=Math.min(W0,q0),P0=Math.max(P0,q0)),I0.push(R({index:q0,isScrolling:y0,key:e0(q0),parent:k,style:(Se={height:Z.getHeight(q0)},Ae(Se,a0==="ltr"?"left":"right",fe),Ae(Se,"position","absolute"),Ae(Se,"top",de),Ae(Se,"width",Z.getWidth(q0)),Se)}))}),E00&&arguments[0]!==void 0?arguments[0]:{};li(this,f),Ae(this,"_cellMeasurerCache",void 0),Ae(this,"_columnIndexOffset",void 0),Ae(this,"_rowIndexOffset",void 0),Ae(this,"columnWidth",function(R){var M=R.index;h._cellMeasurerCache.columnWidth({index:M+h._columnIndexOffset})}),Ae(this,"rowHeight",function(R){var M=R.index;h._cellMeasurerCache.rowHeight({index:M+h._rowIndexOffset})});var k=d.cellMeasurerCache,C=d.columnIndexOffset,I=C===void 0?0:C,S=d.rowIndexOffset,Z=S===void 0?0:S;this._cellMeasurerCache=k,this._columnIndexOffset=I,this._rowIndexOffset=Z}return pi(f,[{key:"clear",value:function(d,k){this._cellMeasurerCache.clear(d+this._rowIndexOffset,k+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getHeight(d+this._rowIndexOffset,k+this._columnIndexOffset)}},{key:"getWidth",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getWidth(d+this._rowIndexOffset,k+this._columnIndexOffset)}},{key:"has",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.has(d+this._rowIndexOffset,k+this._columnIndexOffset)}},{key:"set",value:function(d,k,C,I){this._cellMeasurerCache.set(d+this._rowIndexOffset,k+this._columnIndexOffset,C,I)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),f}();function DJ(f,h){var d=Object.keys(f);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(f);h&&(k=k.filter(function(C){return Object.getOwnPropertyDescriptor(f,C).enumerable})),d.push.apply(d,k)}return d}function Dn(f){for(var h=1;h0?new mI({cellMeasurerCache:I,columnIndexOffset:0,rowIndexOffset:Z}):I,C._deferredMeasurementCacheBottomRightGrid=S>0||Z>0?new mI({cellMeasurerCache:I,columnIndexOffset:S,rowIndexOffset:Z}):I,C._deferredMeasurementCacheTopRightGrid=S>0?new mI({cellMeasurerCache:I,columnIndexOffset:S,rowIndexOffset:0}):I),C}return pi(h,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=k.columnIndex,I=C===void 0?0:C,S=k.rowIndex,Z=S===void 0?0:S;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,I):I,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,Z):Z}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=k.columnIndex,I=C===void 0?0:C,S=k.rowIndex,Z=S===void 0?0:S,R=this.props,M=R.fixedColumnCount,Q=R.fixedRowCount,O=Math.max(0,I-M),e0=Math.max(0,Z-Q);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:I,rowIndex:e0}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:O,rowIndex:e0}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:I,rowIndex:Z}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:O,rowIndex:Z}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var k=this.props,C=k.scrollLeft,I=k.scrollTop;if(C>0||I>0){var S={};C>0&&(S.scrollLeft=C),I>0&&(S.scrollTop=I),this.setState(S)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var k=this.props,C=k.onScroll,I=k.onSectionRendered;k.onScrollbarPresenceChange,k.scrollLeft;var S=k.scrollToColumn;k.scrollTop;var Z=k.scrollToRow,R=Q8(k,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),this.props.width===0||this.props.height===0)return null;var M=this.state,Q=M.scrollLeft,O=M.scrollTop;return T0.createElement("div",{style:this._containerOuterStyle},T0.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(R),this._renderTopRightGrid(Dn({},R,{onScroll:C,scrollLeft:Q}))),T0.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(Dn({},R,{onScroll:C,scrollTop:O})),this._renderBottomRightGrid(Dn({},R,{onScroll:C,onSectionRendered:I,scrollLeft:Q,scrollToColumn:S,scrollToRow:Z,scrollTop:O}))))}},{key:"_getBottomGridHeight",value:function(k){var C=k.height,I=this._getTopGridHeight(k);return C-I}},{key:"_getLeftGridWidth",value:function(k){var C=k.fixedColumnCount,I=k.columnWidth;if(this._leftGridWidth==null)if(typeof I=="function"){for(var S=0,Z=0;Z=0?k.scrollLeft:C.scrollLeft,scrollTop:k.scrollTop!=null&&k.scrollTop>=0?k.scrollTop:C.scrollTop}:null}}]),h}(T0.PureComponent);Ae(Mg,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1});Mg.propTypes={};rw(Mg);var B00=function(f){l1(h,f);function h(d,k){var C;return li(this,h),C=o1(this,yn(h).call(this,d,k)),C.state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},C._onScroll=C._onScroll.bind(Ge(C)),C}return pi(h,[{key:"render",value:function(){var k=this.props.children,C=this.state,I=C.clientHeight,S=C.clientWidth,Z=C.scrollHeight,R=C.scrollLeft,M=C.scrollTop,Q=C.scrollWidth;return k({clientHeight:I,clientWidth:S,onScroll:this._onScroll,scrollHeight:Z,scrollLeft:R,scrollTop:M,scrollWidth:Q})}},{key:"_onScroll",value:function(k){var C=k.clientHeight,I=k.clientWidth,S=k.scrollHeight,Z=k.scrollLeft,R=k.scrollTop,M=k.scrollWidth;this.setState({clientHeight:C,clientWidth:I,scrollHeight:S,scrollLeft:Z,scrollTop:R,scrollWidth:M})}}]),h}(T0.PureComponent);B00.propTypes={};function OP0(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=h.defaultSortBy,k=h.defaultSortDirection,C=k===void 0?{}:k;if(!f)throw Error('Required parameter "sortCallback" not specified');var I=d||[],S={};I.forEach(function(R){S[R]=C[R]!==void 0?C[R]:"ASC"});function Z(R){var M=R.defaultSortDirection,Q=R.event,O=R.sortBy;if(Q.shiftKey)S[O]!==void 0?S[O]=S[O]==="ASC"?"DESC":"ASC":(S[O]=M,I.push(O));else if(Q.ctrlKey||Q.metaKey){var e0=I.indexOf(O);e0>=0&&(I.splice(e0,1),delete S[O])}else{I.length=0,I.push(O);var o0=Object.keys(S);o0.forEach(function(A0){A0!==O&&delete S[A0]}),S[O]!==void 0?S[O]=S[O]==="ASC"?"DESC":"ASC":S[O]=M}f({sortBy:I,sortDirection:S})}return{sort:Z,sortBy:I,sortDirection:S}}function I00(f){var h=f.dataKey,d=f.rowData;return typeof d.get=="function"?d.get(h):d[h]}function x00(f){var h=f.cellData;return h==null?"":String(h)}function Gz(f){var h=f.className,d=f.columns,k=f.style;return T0.createElement("div",{className:h,role:"row",style:k},d)}Gz.propTypes=null;var Hs={ASC:"ASC",DESC:"DESC"};function Zz(f){var h=f.sortDirection,d=ul("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":h===Hs.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":h===Hs.DESC});return T0.createElement("svg",{className:d,width:18,height:18,viewBox:"0 0 24 24"},h===Hs.ASC?T0.createElement("path",{d:"M7 14l5-5 5 5z"}):T0.createElement("path",{d:"M7 10l5 5 5-5z"}),T0.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}Zz.propTypes={};function Wz(f){var h=f.dataKey,d=f.label,k=f.sortBy,C=f.sortDirection,I=k===h,S=[T0.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:typeof d=="string"?d:null},d)];return I&&S.push(T0.createElement(Zz,{key:"SortIndicator",sortDirection:C})),S}Wz.propTypes=null;function Dz(f){var h=f.className,d=f.columns,k=f.index,C=f.key,I=f.onRowClick,S=f.onRowDoubleClick,Z=f.onRowMouseOut,R=f.onRowMouseOver,M=f.onRowRightClick,Q=f.rowData,O=f.style,e0={"aria-rowindex":k+1};return(I||S||Z||R||M)&&(e0["aria-label"]="row",e0.tabIndex=0,I&&(e0.onClick=function(o0){return I({event:o0,index:k,rowData:Q})}),S&&(e0.onDoubleClick=function(o0){return S({event:o0,index:k,rowData:Q})}),Z&&(e0.onMouseOut=function(o0){return Z({event:o0,index:k,rowData:Q})}),R&&(e0.onMouseOver=function(o0){return R({event:o0,index:k,rowData:Q})}),M&&(e0.onContextMenu=function(o0){return M({event:o0,index:k,rowData:Q})})),T0.createElement("div",Le({},e0,{className:h,key:C,role:"row",style:O}),d)}Dz.propTypes=null;var Mz=function(f){l1(h,f);function h(){return li(this,h),o1(this,yn(h).apply(this,arguments))}return h}(T0.Component);Ae(Mz,"defaultProps",{cellDataGetter:I00,cellRenderer:x00,defaultSortDirection:Hs.ASC,flexGrow:0,flexShrink:1,headerRenderer:Wz,style:{}});Mz.propTypes={};function jJ(f,h){var d=Object.keys(f);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(f);h&&(k=k.filter(function(C){return Object.getOwnPropertyDescriptor(f,C).enumerable})),d.push.apply(d,k)}return d}function i4(f){for(var h=1;h0&&arguments[0]!==void 0?arguments[0]:{},C=k.columnIndex,I=C===void 0?0:C,S=k.rowIndex,Z=S===void 0?0:S;this.Grid&&this.Grid.recomputeGridSize({rowIndex:Z,columnIndex:I})}},{key:"recomputeRowHeights",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:k})}},{key:"scrollToPosition",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:k})}},{key:"scrollToRow",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:k})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var k=H6.findDOMNode(this.Grid),C=k.clientWidth||0,I=k.offsetWidth||0;return I-C}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var k=this,C=this.props,I=C.children,S=C.className,Z=C.disableHeader,R=C.gridClassName,M=C.gridStyle,Q=C.headerHeight,O=C.headerRowRenderer,e0=C.height,o0=C.id,A0=C.noRowsRenderer,l0=C.rowClassName,w0=C.rowStyle,u0=C.scrollToIndex,a0=C.style,c0=C.width,y0=this.state.scrollbarWidth,C0=Z?e0:e0-Q,I0=typeof l0=="function"?l0({index:-1}):l0,h0=typeof w0=="function"?w0({index:-1}):w0;return this._cachedColumnStyles=[],T0.Children.toArray(I).forEach(function(E0,z0){var W0=k._getFlexStyleForColumn(E0,E0.props.style);k._cachedColumnStyles[z0]=i4({overflow:"hidden"},W0)}),T0.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":T0.Children.toArray(I).length,"aria-rowcount":this.props.rowCount,className:ul("ReactVirtualized__Table",S),id:o0,role:"grid",style:a0},!Z&&O({className:ul("ReactVirtualized__Table__headerRow",I0),columns:this._getHeaderColumns(),style:i4({height:Q,overflow:"hidden",paddingRight:y0,width:c0},h0)}),T0.createElement(Vs,Le({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:ul("ReactVirtualized__Table__Grid",R),cellRenderer:this._createRow,columnWidth:c0,columnCount:1,height:C0,id:void 0,noContentRenderer:A0,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:y0,scrollToRow:u0,style:i4({},M,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(k){var C=k.column,I=k.columnIndex,S=k.isScrolling,Z=k.parent,R=k.rowData,M=k.rowIndex,Q=this.props.onColumnClick,O=C.props,e0=O.cellDataGetter,o0=O.cellRenderer,A0=O.className,l0=O.columnData,w0=O.dataKey,u0=O.id,a0=e0({columnData:l0,dataKey:w0,rowData:R}),c0=o0({cellData:a0,columnData:l0,columnIndex:I,dataKey:w0,isScrolling:S,parent:Z,rowData:R,rowIndex:M}),y0=function(E0){Q&&Q({columnData:l0,dataKey:w0,event:E0})},C0=this._cachedColumnStyles[I],I0=typeof c0=="string"?c0:null;return T0.createElement("div",{"aria-colindex":I+1,"aria-describedby":u0,className:ul("ReactVirtualized__Table__rowColumn",A0),key:"Row"+M+"-Col"+I,onClick:y0,role:"gridcell",style:C0,title:I0},c0)}},{key:"_createHeader",value:function(k){var C=k.column,I=k.index,S=this.props,Z=S.headerClassName,R=S.headerStyle,M=S.onHeaderClick,Q=S.sort,O=S.sortBy,e0=S.sortDirection,o0=C.props,A0=o0.columnData,l0=o0.dataKey,w0=o0.defaultSortDirection,u0=o0.disableSort,a0=o0.headerRenderer,c0=o0.id,y0=o0.label,C0=!u0&&Q,I0=ul("ReactVirtualized__Table__headerColumn",Z,C.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:C0}),h0=this._getFlexStyleForColumn(C,i4({},R,{},C.props.headerStyle)),E0=a0({columnData:A0,dataKey:l0,disableSort:u0,label:y0,sortBy:O,sortDirection:e0}),z0,W0,P0,R0,Q0;if(C0||M){var q0=O!==l0,fe=q0?w0:e0===Hs.DESC?Hs.ASC:Hs.DESC,de=function(Ie){C0&&Q({defaultSortDirection:w0,event:Ie,sortBy:l0,sortDirection:fe}),M&&M({columnData:A0,dataKey:l0,event:Ie})},Se=function(Ie){(Ie.key==="Enter"||Ie.key===" ")&&de(Ie)};Q0=C.props["aria-label"]||y0||l0,R0="none",P0=0,z0=de,W0=Se}return O===l0&&(R0=e0===Hs.ASC?"ascending":"descending"),T0.createElement("div",{"aria-label":Q0,"aria-sort":R0,className:I0,id:c0,key:"Header-Col"+I,onClick:z0,onKeyDown:W0,role:"columnheader",style:h0,tabIndex:P0},E0)}},{key:"_createRow",value:function(k){var C=this,I=k.rowIndex,S=k.isScrolling,Z=k.key,R=k.parent,M=k.style,Q=this.props,O=Q.children,e0=Q.onRowClick,o0=Q.onRowDoubleClick,A0=Q.onRowRightClick,l0=Q.onRowMouseOver,w0=Q.onRowMouseOut,u0=Q.rowClassName,a0=Q.rowGetter,c0=Q.rowRenderer,y0=Q.rowStyle,C0=this.state.scrollbarWidth,I0=typeof u0=="function"?u0({index:I}):u0,h0=typeof y0=="function"?y0({index:I}):y0,E0=a0({index:I}),z0=T0.Children.toArray(O).map(function(R0,Q0){return C._createColumn({column:R0,columnIndex:Q0,isScrolling:S,parent:R,rowData:E0,rowIndex:I,scrollbarWidth:C0})}),W0=ul("ReactVirtualized__Table__row",I0),P0=i4({},M,{height:this._getRowHeight(I),overflow:"hidden",paddingRight:C0},h0);return c0({className:W0,columns:z0,index:I,isScrolling:S,key:Z,onRowClick:e0,onRowDoubleClick:o0,onRowRightClick:A0,onRowMouseOver:l0,onRowMouseOut:w0,rowData:E0,style:P0})}},{key:"_getFlexStyleForColumn",value:function(k){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I="".concat(k.props.flexGrow," ").concat(k.props.flexShrink," ").concat(k.props.width,"px"),S=i4({},C,{flex:I,msFlex:I,WebkitFlex:I});return k.props.maxWidth&&(S.maxWidth=k.props.maxWidth),k.props.minWidth&&(S.minWidth=k.props.minWidth),S}},{key:"_getHeaderColumns",value:function(){var k=this,C=this.props,I=C.children,S=C.disableHeader,Z=S?[]:T0.Children.toArray(I);return Z.map(function(R,M){return k._createHeader({column:R,index:M})})}},{key:"_getRowHeight",value:function(k){var C=this.props.rowHeight;return typeof C=="function"?C({index:k}):C}},{key:"_onScroll",value:function(k){var C=k.clientHeight,I=k.scrollHeight,S=k.scrollTop,Z=this.props.onScroll;Z({clientHeight:C,scrollHeight:I,scrollTop:S})}},{key:"_onSectionRendered",value:function(k){var C=k.rowOverscanStartIndex,I=k.rowOverscanStopIndex,S=k.rowStartIndex,Z=k.rowStopIndex,R=this.props.onRowsRendered;R({overscanStartIndex:C,overscanStopIndex:I,startIndex:S,stopIndex:Z})}},{key:"_setRef",value:function(k){this.Grid=k}},{key:"_setScrollbarWidth",value:function(){var k=this.getScrollbarWidth();this.setState({scrollbarWidth:k})}}]),h}(T0.PureComponent);Ae(jz,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:Bz,overscanRowCount:10,rowRenderer:Dz,headerRowRenderer:Gz,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}});jz.propTypes={};var Gu=[],t6=null,Aa=null;function S00(){Aa&&(Aa=null,document.body&&t6!=null&&(document.body.style.pointerEvents=t6),t6=null)}function VP0(){S00(),Gu.forEach(function(f){return f.__resetIsScrolling()})}function HP0(){Aa&&U4(Aa);var f=0;Gu.forEach(function(h){f=Math.max(f,h.props.scrollingResetTimeInterval)}),Aa=Ez(VP0,f)}function _00(f){f.currentTarget===window&&t6==null&&document.body&&(t6=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),HP0(),Gu.forEach(function(h){h.props.scrollElement===f.currentTarget&&h.__handleWindowScrollEvent()})}function NJ(f,h){Gu.some(function(d){return d.props.scrollElement===h})||h.addEventListener("scroll",_00),Gu.push(f)}function QJ(f,h){Gu=Gu.filter(function(d){return d!==f}),Gu.length||(h.removeEventListener("scroll",_00),Aa&&(U4(Aa),S00()))}var Nz=function(h){return h===window},T8=function(h){return h.getBoundingClientRect()};function TJ(f,h){if(f)if(Nz(f)){var d=window,k=d.innerHeight,C=d.innerWidth;return{height:typeof k=="number"?k:0,width:typeof C=="number"?C:0}}else return T8(f);else return{height:h.serverHeight,width:h.serverWidth}}function JP0(f,h){if(Nz(h)&&document.documentElement){var d=document.documentElement,k=T8(f),C=T8(d);return{top:k.top-C.top,left:k.left-C.left}}else{var I=z00(h),S=T8(f),Z=T8(h);return{top:S.top+I.top-Z.top,left:S.left+I.left-Z.left}}}function z00(f){return Nz(f)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:f.scrollTop,left:f.scrollLeft}}var FJ,PJ;function YJ(f,h){var d=Object.keys(f);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(f);h&&(k=k.filter(function(C){return Object.getOwnPropertyDescriptor(f,C).enumerable})),d.push.apply(d,k)}return d}function UP0(f){for(var h=1;h0&&arguments[0]!==void 0?arguments[0]:this.props.scrollElement,C=this.props.onResize,I=this.state,S=I.height,Z=I.width,R=this._child||H6.findDOMNode(this);if(R instanceof Element&&k){var M=JP0(R,k);this._positionFromTop=M.top,this._positionFromLeft=M.left}var Q=TJ(k,this.props);(S!==Q.height||Z!==Q.width)&&(this.setState({height:Q.height,width:Q.width}),C({height:Q.height,width:Q.width}))}},{key:"componentDidMount",value:function(){var k=this.props.scrollElement;this._detectElementResize=w00(),this.updatePosition(k),k&&(NJ(this,k),this._registerResizeListener(k)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(k,C){var I=this.props.scrollElement,S=k.scrollElement;S!==I&&S!=null&&I!=null&&(this.updatePosition(I),QJ(this,S),NJ(this,I),this._unregisterResizeListener(S),this._registerResizeListener(I))}},{key:"componentWillUnmount",value:function(){var k=this.props.scrollElement;k&&(QJ(this,k),this._unregisterResizeListener(k)),this._isMounted=!1}},{key:"render",value:function(){var k=this.props.children,C=this.state,I=C.isScrolling,S=C.scrollTop,Z=C.scrollLeft,R=C.height,M=C.width;return k({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:R,isScrolling:I,scrollLeft:Z,scrollTop:S,width:M})}}]),h}(T0.PureComponent),Ae(FJ,"propTypes",null),PJ);Ae(R00,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:XP0,scrollElement:L00(),serverHeight:0,serverWidth:0});const qP0=Object.freeze(Object.defineProperty({__proto__:null,ArrowKeyStepper:Iz,AutoSizer:d00,CellMeasurer:p00,CellMeasurerCache:tP0,Collection:xz,Column:Mz,ColumnSizer:k00,Grid:Vs,InfiniteLoader:Sz,List:m00,Masonry:Rz,MultiGrid:Mg,ScrollSync:B00,SortDirection:Hs,SortIndicator:Zz,Table:jz,WindowScroller:R00,accessibilityOverscanIndicesGetter:Bz,createMasonryCellPositioner:YP0,createTableMultiSort:OP0,defaultCellRangeRenderer:h00,defaultOverscanIndicesGetter:c00,defaultTableCellDataGetter:I00,defaultTableCellRenderer:x00,defaultTableHeaderRenderer:Wz,defaultTableHeaderRowRenderer:Gz,defaultTableRowRenderer:Dz},Symbol.toStringTag,{value:"Module"})),$P0=Fn(qP0);function Fs(f,h,d){return h<=f&&f<=d}function jg(f){if(f===void 0)return{};if(f===Object(f))return f;throw TypeError("Could not convert argument to dictionary")}function KP0(f){for(var h=String(f),d=h.length,k=0,C=[];k57343)C.push(I);else if(56320<=I&&I<=57343)C.push(65533);else if(55296<=I&&I<=56319)if(k===d-1)C.push(65533);else{var S=f.charCodeAt(k+1);if(56320<=S&&S<=57343){var Z=I&1023,R=S&1023;C.push(65536+(Z<<10)+R),k+=1}else C.push(65533)}k+=1}return C}function bP0(f){for(var h="",d=0;d>10)+55296,(k&1023)+56320))}return h}var lm=-1;function Qz(f){this.tokens=[].slice.call(f)}Qz.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():lm},prepend:function(f){if(Array.isArray(f))for(var h=f;h.length;)this.tokens.unshift(h.pop());else this.tokens.unshift(f)},push:function(f){if(Array.isArray(f))for(var h=f;h.length;)this.tokens.push(h.shift());else this.tokens.push(f)}};var q4=-1;function gI(f,h){if(f)throw TypeError("Decoder error");return h||65533}var sm="utf-8";function Am(f,h){if(!(this instanceof Am))return new Am(f,h);if(f=f!==void 0?String(f).toLowerCase():sm,f!==sm)throw new Error("Encoding not supported. Only utf-8 is supported");h=jg(h),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!h.fatal,this._ignoreBOM=!!h.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Am.prototype={decode:function(h,d){var k;typeof h=="object"&&h instanceof ArrayBuffer?k=new Uint8Array(h):typeof h=="object"&&"buffer"in h&&h.buffer instanceof ArrayBuffer?k=new Uint8Array(h.buffer,h.byteOffset,h.byteLength):k=new Uint8Array(0),d=jg(d),this._streaming||(this._decoder=new eY0({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!d.stream;for(var C=new Qz(k),I=[],S;!C.endOfStream()&&(S=this._decoder.handler(C,C.read()),S!==q4);)S!==null&&(Array.isArray(S)?I.push.apply(I,S):I.push(S));if(!this._streaming){do{if(S=this._decoder.handler(C,C.read()),S===q4)break;S!==null&&(Array.isArray(S)?I.push.apply(I,S):I.push(S))}while(!C.endOfStream());this._decoder=null}return I.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(I[0]===65279?(this._BOMseen=!0,I.shift()):this._BOMseen=!0),bP0(I)}};function um(f,h){if(!(this instanceof um))return new um(f,h);if(f=f!==void 0?String(f).toLowerCase():sm,f!==sm)throw new Error("Encoding not supported. Only utf-8 is supported");h=jg(h),this._streaming=!1,this._encoder=null,this._options={fatal:!!h.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}um.prototype={encode:function(h,d){h=h?String(h):"",d=jg(d),this._streaming||(this._encoder=new rY0(this._options)),this._streaming=!!d.stream;for(var k=[],C=new Qz(KP0(h)),I;!C.endOfStream()&&(I=this._encoder.handler(C,C.read()),I!==q4);)Array.isArray(I)?k.push.apply(k,I):k.push(I);if(!this._streaming){for(;I=this._encoder.handler(C,C.read()),I!==q4;)Array.isArray(I)?k.push.apply(k,I):k.push(I);this._encoder=null}return new Uint8Array(k)}};function eY0(f){var h=f.fatal,d=0,k=0,C=0,I=128,S=191;this.handler=function(Z,R){if(R===lm&&C!==0)return C=0,gI(h);if(R===lm)return q4;if(C===0){if(Fs(R,0,127))return R;if(Fs(R,194,223))C=1,d=R-192;else if(Fs(R,224,239))R===224&&(I=160),R===237&&(S=159),C=2,d=R-224;else if(Fs(R,240,244))R===240&&(I=144),R===244&&(S=143),C=3,d=R-240;else return gI(h);return d=d<<6*C,null}if(!Fs(R,I,S))return d=C=k=0,I=128,S=191,Z.prepend(R),gI(h);if(I=128,S=191,k+=1,d+=R-128<<6*(C-k),k!==C)return null;var M=d;return d=C=k=0,M}}function rY0(f){f.fatal,this.handler=function(h,d){if(d===lm)return q4;if(Fs(d,0,127))return d;var k,C;Fs(d,128,2047)?(k=1,C=192):Fs(d,2048,65535)?(k=2,C=224):Fs(d,65536,1114111)&&(k=3,C=240);for(var I=[(d>>6*k)+C];k>0;){var S=d>>6*(k-1);I.push(128|S&63),k-=1}return I}}const tY0=Object.freeze(Object.defineProperty({__proto__:null,TextDecoder:Am,TextEncoder:um},Symbol.toStringTag,{value:"Module"})),iY0=Fn(tY0);var OJ={},VJ;function nY0(){return VJ||(VJ=1,function(f){if(f.fetch)return;var h={searchParams:"URLSearchParams"in f,iterable:"Symbol"in f&&"iterator"in Symbol,blob:"FileReader"in f&&"Blob"in f&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in f,arrayBuffer:"ArrayBuffer"in f};if(h.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],k=function(h0){return h0&&DataView.prototype.isPrototypeOf(h0)},C=ArrayBuffer.isView||function(h0){return h0&&d.indexOf(Object.prototype.toString.call(h0))>-1};function I(h0){if(typeof h0!="string"&&(h0=String(h0)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(h0))throw new TypeError("Invalid character in header field name");return h0.toLowerCase()}function S(h0){return typeof h0!="string"&&(h0=String(h0)),h0}function Z(h0){var E0={next:function(){var z0=h0.shift();return{done:z0===void 0,value:z0}}};return h.iterable&&(E0[Symbol.iterator]=function(){return E0}),E0}function R(h0){this.map={},h0 instanceof R?h0.forEach(function(E0,z0){this.append(z0,E0)},this):Array.isArray(h0)?h0.forEach(function(E0){this.append(E0[0],E0[1])},this):h0&&Object.getOwnPropertyNames(h0).forEach(function(E0){this.append(E0,h0[E0])},this)}R.prototype.append=function(h0,E0){h0=I(h0),E0=S(E0);var z0=this.map[h0];this.map[h0]=z0?z0+","+E0:E0},R.prototype.delete=function(h0){delete this.map[I(h0)]},R.prototype.get=function(h0){return h0=I(h0),this.has(h0)?this.map[h0]:null},R.prototype.has=function(h0){return this.map.hasOwnProperty(I(h0))},R.prototype.set=function(h0,E0){this.map[I(h0)]=S(E0)},R.prototype.forEach=function(h0,E0){for(var z0 in this.map)this.map.hasOwnProperty(z0)&&h0.call(E0,this.map[z0],z0,this)},R.prototype.keys=function(){var h0=[];return this.forEach(function(E0,z0){h0.push(z0)}),Z(h0)},R.prototype.values=function(){var h0=[];return this.forEach(function(E0){h0.push(E0)}),Z(h0)},R.prototype.entries=function(){var h0=[];return this.forEach(function(E0,z0){h0.push([z0,E0])}),Z(h0)},h.iterable&&(R.prototype[Symbol.iterator]=R.prototype.entries);function M(h0){if(h0.bodyUsed)return Promise.reject(new TypeError("Already read"));h0.bodyUsed=!0}function Q(h0){return new Promise(function(E0,z0){h0.onload=function(){E0(h0.result)},h0.onerror=function(){z0(h0.error)}})}function O(h0){var E0=new FileReader,z0=Q(E0);return E0.readAsArrayBuffer(h0),z0}function e0(h0){var E0=new FileReader,z0=Q(E0);return E0.readAsText(h0),z0}function o0(h0){for(var E0=new Uint8Array(h0),z0=new Array(E0.length),W0=0;W0-1?E0:h0}function a0(h0,E0){E0=E0||{};var z0=E0.body;if(h0 instanceof a0){if(h0.bodyUsed)throw new TypeError("Already read");this.url=h0.url,this.credentials=h0.credentials,E0.headers||(this.headers=new R(h0.headers)),this.method=h0.method,this.mode=h0.mode,!z0&&h0._bodyInit!=null&&(z0=h0._bodyInit,h0.bodyUsed=!0)}else this.url=String(h0);if(this.credentials=E0.credentials||this.credentials||"omit",(E0.headers||!this.headers)&&(this.headers=new R(E0.headers)),this.method=u0(E0.method||this.method||"GET"),this.mode=E0.mode||this.mode||null,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&z0)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(z0)}a0.prototype.clone=function(){return new a0(this,{body:this._bodyInit})};function c0(h0){var E0=new FormData;return h0.trim().split("&").forEach(function(z0){if(z0){var W0=z0.split("="),P0=W0.shift().replace(/\+/g," "),R0=W0.join("=").replace(/\+/g," ");E0.append(decodeURIComponent(P0),decodeURIComponent(R0))}}),E0}function y0(h0){var E0=new R,z0=h0.replace(/\r?\n[\t ]+/g," ");return z0.split(/\r?\n/).forEach(function(W0){var P0=W0.split(":"),R0=P0.shift().trim();if(R0){var Q0=P0.join(":").trim();E0.append(R0,Q0)}}),E0}l0.call(a0.prototype);function C0(h0,E0){E0||(E0={}),this.type="default",this.status=E0.status===void 0?200:E0.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in E0?E0.statusText:"OK",this.headers=new R(E0.headers),this.url=E0.url||"",this._initBody(h0)}l0.call(C0.prototype),C0.prototype.clone=function(){return new C0(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new R(this.headers),url:this.url})},C0.error=function(){var h0=new C0(null,{status:0,statusText:""});return h0.type="error",h0};var I0=[301,302,303,307,308];C0.redirect=function(h0,E0){if(I0.indexOf(E0)===-1)throw new RangeError("Invalid status code");return new C0(null,{status:E0,headers:{location:h0}})},f.Headers=R,f.Request=a0,f.Response=C0,f.fetch=function(h0,E0){return new Promise(function(z0,W0){var P0=new a0(h0,E0),R0=new XMLHttpRequest;R0.onload=function(){var Q0={status:R0.status,statusText:R0.statusText,headers:y0(R0.getAllResponseHeaders()||"")};Q0.url="responseURL"in R0?R0.responseURL:Q0.headers.get("X-Request-URL");var q0="response"in R0?R0.response:R0.responseText;z0(new C0(q0,Q0))},R0.onerror=function(){W0(new TypeError("Network request failed"))},R0.ontimeout=function(){W0(new TypeError("Network request failed"))},R0.open(P0.method,P0.url,!0),P0.credentials==="include"?R0.withCredentials=!0:P0.credentials==="omit"&&(R0.withCredentials=!1),"responseType"in R0&&h.blob&&(R0.responseType="blob"),P0.headers.forEach(function(Q0,q0){R0.setRequestHeader(q0,Q0)}),R0.send(typeof P0._bodyInit>"u"?null:P0._bodyInit)})},f.fetch.polyfill=!0}(typeof self<"u"?self:ea)),OJ}function HJ(f,h){for(var d=0;d0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");iL(this)}},cs(f,[{key:"closed",get:function(){return oa(this)===!1?Promise.reject(Cv("closed")):this._closedPromise}}]),f}(),RO0=function(){function f(d){if(!Ns(d))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(A4(d._readableStreamController)===!1)throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(mu(d))throw new TypeError("This stream has already been locked for exclusive reading by another reader");ne0(this,d),this._readIntoRequests=[]}var h=f.prototype;return h.cancel=function(k){return P8(this)?this._ownerReadableStream===void 0?Promise.reject(km("cancel")):oe0(this,k):Promise.reject(Ev("cancel"))},h.read=function(k){return P8(this)?this._ownerReadableStream===void 0?Promise.reject(km("read from")):ArrayBuffer.isView(k)?cm(k.buffer)===!0?Promise.reject(new TypeError("Cannot read into a view onto a detached ArrayBuffer")):k.byteLength===0?Promise.reject(new TypeError("view must have non-zero byteLength")):GO0(this,k,!0):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(Ev("read"))},h.releaseLock=function(){if(!P8(this))throw Ev("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");iL(this)}},cs(f,[{key:"closed",get:function(){return P8(this)?this._closedPromise:Promise.reject(Ev("closed"))}}]),f}();function P8(f){return!(!m3(f)||!Object.prototype.hasOwnProperty.call(f,"_readIntoRequests"))}function oa(f){return!(!m3(f)||!Object.prototype.hasOwnProperty.call(f,"_readRequests"))}function ne0(f,h){f._ownerReadableStream=h,h._reader=f,h._state==="readable"?HO0(f):h._state==="closed"?UO0(f):(JO0(f,h._storedError),f._closedPromise.catch(function(){}))}function oe0(f,h){var d=f._ownerReadableStream;return ua(d,h)}function iL(f){f._ownerReadableStream._state==="readable"?me0(f,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):XO0(f,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),f._closedPromise.catch(function(){}),f._ownerReadableStream._reader=void 0,f._ownerReadableStream=void 0}function GO0(f,h,d){d===void 0&&(d=!1);var k=f._ownerReadableStream;return k._disturbed=!0,k._state==="errored"?Promise.reject(k._storedError):MO0(k._readableStreamController,h,d)}function nL(f,h){h===void 0&&(h=!1);var d=f._ownerReadableStream;return d._disturbed=!0,d._state==="closed"?Promise.resolve(ju(void 0,!0,h)):d._state==="errored"?Promise.reject(d._storedError):d._readableStreamController[$z](h)}var le0=function(){function f(){throw new TypeError}var h=f.prototype;return h.close=function(){if(yv(this)===!1)throw Bv("close");if(pm(this)===!1)throw new TypeError("The stream is not in a state that permits close");wm(this)},h.enqueue=function(k){if(yv(this)===!1)throw Bv("enqueue");if(pm(this)===!1)throw new TypeError("The stream is not in a state that permits enqueue");return dm(this,k)},h.error=function(k){if(yv(this)===!1)throw Bv("error");Nu(this,k)},h[qz]=function(d){g3(this);var k=this._cancelAlgorithm(d);return hm(this),k},h[$z]=function(d){var k=this._controlledReadableStream;if(this._queue.length>0){var C=mO0(this);return this._closeRequested===!0&&this._queue.length===0?(hm(this),nw(k)):G6(this),Promise.resolve(ju(C,!1,d))}var I=ee0(k,d);return G6(this),I},cs(f,[{key:"desiredSize",get:function(){if(yv(this)===!1)throw Bv("desiredSize");return oL(this)}}]),f}();function yv(f){return!(!m3(f)||!Object.prototype.hasOwnProperty.call(f,"_controlledReadableStream"))}function G6(f){var h=se0(f);if(h!==!1){if(f._pulling===!0){f._pullAgain=!0;return}f._pulling=!0;var d=f._pullAlgorithm();d.then(function(){if(f._pulling=!1,f._pullAgain===!0)return f._pullAgain=!1,G6(f)},function(k){Nu(f,k)}).catch(Ps)}}function se0(f){var h=f._controlledReadableStream;if(pm(f)===!1||f._started===!1)return!1;if(mu(h)===!0&&Pg(h)>0)return!0;var d=oL(f);return d>0}function hm(f){f._pullAlgorithm=void 0,f._cancelAlgorithm=void 0,f._strategySizeAlgorithm=void 0}function wm(f){var h=f._controlledReadableStream;f._closeRequested=!0,f._queue.length===0&&(hm(f),nw(h))}function dm(f,h){var d=f._controlledReadableStream;if(mu(d)===!0&&Pg(d)>0)rL(d,h,!1);else{var k;try{k=f._strategySizeAlgorithm(h)}catch(C){throw Nu(f,C),C}try{gO0(f,h,k)}catch(C){throw Nu(f,C),C}}G6(f)}function Nu(f,h){var d=f._controlledReadableStream;d._state==="readable"&&(g3(f),hm(f),re0(d,h))}function oL(f){var h=f._controlledReadableStream,d=h._state;return d==="errored"?null:d==="closed"?0:f._strategyHWM-f._queueTotalSize}function ZO0(f){return se0(f)!==!0}function pm(f){var h=f._controlledReadableStream._state;return f._closeRequested===!1&&h==="readable"}function Ae0(f,h,d,k,C,I,S){h._controlledReadableStream=f,h._queue=void 0,h._queueTotalSize=void 0,g3(h),h._started=!1,h._closeRequested=!1,h._pullAgain=!1,h._pulling=!1,h._strategySizeAlgorithm=S,h._strategyHWM=I,h._pullAlgorithm=k,h._cancelAlgorithm=C,f._readableStreamController=h;var Z=d();Promise.resolve(Z).then(function(){h._started=!0,G6(h)},function(R){Nu(h,R)}).catch(Ps)}function WO0(f,h,d,k){var C=Object.create(le0.prototype);function I(){return b00(h,"start",[C])}var S=am(h,"pull",0,[C]),Z=am(h,"cancel",1,[]);Ae0(f,C,I,S,Z,d,k)}var DO0=function(){function f(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}var h=f.prototype;return h.respond=function(k){if(BI(this)===!1)throw II("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(cm(this._view.buffer)===!0)throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");PO0(this._associatedReadableByteStreamController,k)},h.respondWithNewView=function(k){if(BI(this)===!1)throw II("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(k))throw new TypeError("You can only respond with array buffer views");if(cm(k.buffer)===!0)throw new TypeError("The supplied view's buffer has been detached and so cannot be used as a response");YO0(this._associatedReadableByteStreamController,k)},cs(f,[{key:"view",get:function(){if(BI(this)===!1)throw II("view");return this._view}}]),f}(),ue0=function(){function f(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}var h=f.prototype;return h.close=function(){if(A4(this)===!1)throw B8("close");if(this._closeRequested===!0)throw new TypeError("The stream has already been closed; do not close it again!");var k=this._controlledReadableByteStream._state;if(k!=="readable")throw new TypeError("The stream (in "+k+" state) is not in the readable state and cannot be closed");TO0(this)},h.enqueue=function(k){if(A4(this)===!1)throw B8("enqueue");if(this._closeRequested===!0)throw new TypeError("stream is closed or draining");var C=this._controlledReadableByteStream._state;if(C!=="readable")throw new TypeError("The stream (in "+C+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(k))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");if(cm(k.buffer)===!0)throw new TypeError("Cannot enqueue a view onto a detached ArrayBuffer");FO0(this,k)},h.error=function(k){if(A4(this)===!1)throw B8("error");ow(this,k)},h[qz]=function(d){if(this._pendingPullIntos.length>0){var k=this._pendingPullIntos[0];k.bytesFilled=0}g3(this);var C=this._cancelAlgorithm(d);return Yg(this),C},h[$z]=function(d){var k=this._controlledReadableByteStream;if(this._queueTotalSize>0){var C=this._queue.shift();this._queueTotalSize-=C.byteLength,we0(this);var I;try{I=new Uint8Array(C.buffer,C.byteOffset,C.byteLength)}catch(Q){return Promise.reject(Q)}return Promise.resolve(ju(I,!1,d))}var S=this._autoAllocateChunkSize;if(S!==void 0){var Z;try{Z=new ArrayBuffer(S)}catch(Q){return Promise.reject(Q)}var R={buffer:Z,byteOffset:0,byteLength:S,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(R)}var M=ee0(k,d);return La(this),M},cs(f,[{key:"byobRequest",get:function(){if(A4(this)===!1)throw B8("byobRequest");if(this._byobRequest===void 0&&this._pendingPullIntos.length>0){var k=this._pendingPullIntos[0],C=new Uint8Array(k.buffer,k.byteOffset+k.bytesFilled,k.byteLength-k.bytesFilled),I=Object.create(DO0.prototype);VO0(I,this,C),this._byobRequest=I}return this._byobRequest}},{key:"desiredSize",get:function(){if(A4(this)===!1)throw B8("desiredSize");return ke0(this)}}]),f}();function A4(f){return!(!m3(f)||!Object.prototype.hasOwnProperty.call(f,"_controlledReadableByteStream"))}function BI(f){return!(!m3(f)||!Object.prototype.hasOwnProperty.call(f,"_associatedReadableByteStreamController"))}function La(f){var h=QO0(f);if(h!==!1){if(f._pulling===!0){f._pullAgain=!0;return}f._pulling=!0;var d=f._pullAlgorithm();d.then(function(){f._pulling=!1,f._pullAgain===!0&&(f._pullAgain=!1,La(f))},function(k){ow(f,k)}).catch(Ps)}}function fe0(f){sL(f),f._pendingPullIntos=[]}function lL(f,h){var d=!1;f._state==="closed"&&(d=!0);var k=ae0(h);h.readerType==="default"?rL(f,k,d):zO0(f,k,d)}function ae0(f){var h=f.bytesFilled,d=f.elementSize;return new f.ctor(f.buffer,f.byteOffset,h/d)}function l5(f,h,d,k){f._queue.push({buffer:h,byteOffset:d,byteLength:k}),f._queueTotalSize+=k}function ce0(f,h){var d=h.elementSize,k=h.bytesFilled-h.bytesFilled%d,C=Math.min(f._queueTotalSize,h.byteLength-h.bytesFilled),I=h.bytesFilled+C,S=I-I%d,Z=C,R=!1;S>k&&(Z=S-h.bytesFilled,R=!0);for(var M=f._queue;Z>0;){var Q=M[0],O=Math.min(Z,Q.byteLength),e0=h.byteOffset+h.bytesFilled;dO0(h.buffer,e0,Q.buffer,Q.byteOffset,O),Q.byteLength===O?M.shift():(Q.byteOffset+=O,Q.byteLength-=O),f._queueTotalSize-=O,he0(f,O,h),Z-=O}return R}function he0(f,h,d){sL(f),d.bytesFilled+=h}function we0(f){f._queueTotalSize===0&&f._closeRequested===!0?(Yg(f),nw(f._controlledReadableByteStream)):La(f)}function sL(f){f._byobRequest!==void 0&&(f._byobRequest._associatedReadableByteStreamController=void 0,f._byobRequest._view=void 0,f._byobRequest=void 0)}function de0(f){for(;f._pendingPullIntos.length>0;){if(f._queueTotalSize===0)return;var h=f._pendingPullIntos[0];ce0(f,h)===!0&&(AL(f),lL(f._controlledReadableByteStream,h))}}function MO0(f,h,d){var k=f._controlledReadableByteStream,C=1;h.constructor!==DataView&&(C=h.constructor.BYTES_PER_ELEMENT);var I=h.constructor,S=Fg(h.buffer),Z={buffer:S,byteOffset:h.byteOffset,byteLength:h.byteLength,bytesFilled:0,elementSize:C,ctor:I,readerType:"byob"};if(f._pendingPullIntos.length>0)return f._pendingPullIntos.push(Z),rU(k,d);if(k._state==="closed"){var R=new h.constructor(Z.buffer,Z.byteOffset,0);return Promise.resolve(ju(R,!0,d))}if(f._queueTotalSize>0){if(ce0(f,Z)===!0){var M=ae0(Z);return we0(f),Promise.resolve(ju(M,!1,d))}if(f._closeRequested===!0){var Q=new TypeError("Insufficient bytes to fill elements in the given buffer");return ow(f,Q),Promise.reject(Q)}}f._pendingPullIntos.push(Z);var O=rU(k,d);return La(f),O}function jO0(f,h){h.buffer=Fg(h.buffer);var d=f._controlledReadableByteStream;if(tL(d)===!0)for(;te0(d)>0;){var k=AL(f);lL(d,k)}}function NO0(f,h,d){if(d.bytesFilled+h>d.byteLength)throw new RangeError("bytesWritten out of range");if(he0(f,h,d),!(d.bytesFilled0){var C=d.byteOffset+d.bytesFilled,I=d.buffer.slice(C-k,C);l5(f,I,0,I.byteLength)}d.buffer=Fg(d.buffer),d.bytesFilled-=k,lL(f._controlledReadableByteStream,d),de0(f)}}function pe0(f,h){var d=f._pendingPullIntos[0],k=f._controlledReadableByteStream;if(k._state==="closed"){if(h!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");jO0(f,d)}else NO0(f,h,d);La(f)}function AL(f){var h=f._pendingPullIntos.shift();return sL(f),h}function QO0(f){var h=f._controlledReadableByteStream;if(h._state!=="readable"||f._closeRequested===!0||f._started===!1)return!1;if(ie0(h)===!0&&Pg(h)>0||tL(h)===!0&&te0(h)>0)return!0;var d=ke0(f);return d>0}function Yg(f){f._pullAlgorithm=void 0,f._cancelAlgorithm=void 0}function TO0(f){var h=f._controlledReadableByteStream;if(f._queueTotalSize>0){f._closeRequested=!0;return}if(f._pendingPullIntos.length>0){var d=f._pendingPullIntos[0];if(d.bytesFilled>0){var k=new TypeError("Insufficient bytes to fill elements in the given buffer");throw ow(f,k),k}}Yg(f),nw(h)}function FO0(f,h){var d=f._controlledReadableByteStream,k=h.buffer,C=h.byteOffset,I=h.byteLength,S=Fg(k);if(ie0(d)===!0)if(Pg(d)===0)l5(f,S,C,I);else{var Z=new Uint8Array(S,C,I);rL(d,Z,!1)}else tL(d)===!0?(l5(f,S,C,I),de0(f)):l5(f,S,C,I);La(f)}function ow(f,h){var d=f._controlledReadableByteStream;d._state==="readable"&&(fe0(f),g3(f),Yg(f),re0(d,h))}function ke0(f){var h=f._controlledReadableByteStream,d=h._state;return d==="errored"?null:d==="closed"?0:f._strategyHWM-f._queueTotalSize}function PO0(f,h){if(h=Number(h),pO0(h)===!1)throw new RangeError("bytesWritten must be a finite");pe0(f,h)}function YO0(f,h){var d=f._pendingPullIntos[0];if(d.byteOffset+d.bytesFilled!==h.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(d.byteLength!==h.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");d.buffer=h.buffer,pe0(f,h.byteLength)}function ve0(f,h,d,k,C,I,S){h._controlledReadableByteStream=f,h._pullAgain=!1,h._pulling=!1,fe0(h),h._queue=h._queueTotalSize=void 0,g3(h),h._closeRequested=!1,h._started=!1,h._strategyHWM=Kx(I),h._pullAlgorithm=k,h._cancelAlgorithm=C,h._autoAllocateChunkSize=S,h._pendingPullIntos=[],f._readableStreamController=h;var Z=d();Promise.resolve(Z).then(function(){h._started=!0,La(h)},function(R){ow(h,R)}).catch(Ps)}function OO0(f,h,d){var k=Object.create(ue0.prototype);function C(){return b00(h,"start",[k])}var I=am(h,"pull",0,[k]),S=am(h,"cancel",1,[]),Z=h.autoAllocateChunkSize;if(Z!==void 0&&(Z=Number(Z),oY0(Z)===!1||Z<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");ve0(f,k,C,I,S,d,Z)}function VO0(f,h,d){f._associatedReadableByteStreamController=h,f._view=d}function tU(f){if(typeof f!="object"||f===null)return!1;var h=Object.getOwnPropertyDescriptor(AbortSignal.prototype,"aborted").get;try{return h.call(f),!0}catch{return!1}}function n4(f){return new TypeError("ReadableStream.prototype."+f+" can only be used on a ReadableStream")}function km(f){return new TypeError("Cannot "+f+" a stream using a released reader")}function Cv(f){return new TypeError("ReadableStreamDefaultReader.prototype."+f+" can only be used on a ReadableStreamDefaultReader")}function HO0(f){f._closedPromise=new Promise(function(h,d){f._closedPromise_resolve=h,f._closedPromise_reject=d})}function JO0(f,h){f._closedPromise=Promise.reject(h),f._closedPromise_resolve=void 0,f._closedPromise_reject=void 0}function UO0(f){f._closedPromise=Promise.resolve(void 0),f._closedPromise_resolve=void 0,f._closedPromise_reject=void 0}function me0(f,h){f._closedPromise_reject(h),f._closedPromise_resolve=void 0,f._closedPromise_reject=void 0}function XO0(f,h){f._closedPromise=Promise.reject(h)}function qO0(f){f._closedPromise_resolve(void 0),f._closedPromise_resolve=void 0,f._closedPromise_reject=void 0}function Ev(f){return new TypeError("ReadableStreamBYOBReader.prototype."+f+" can only be used on a ReadableStreamBYOBReader")}function Bv(f){return new TypeError("ReadableStreamDefaultController.prototype."+f+" can only be used on a ReadableStreamDefaultController")}function II(f){return new TypeError("ReadableStreamBYOBRequest.prototype."+f+" can only be used on a ReadableStreamBYOBRequest")}function B8(f){return new TypeError("ReadableByteStreamController.prototype."+f+" can only be used on a ReadableByteStreamController")}var $O0=Ou.ReadableStream,KO0=ut.createDataProperty,bO0=function(){function f(d){var k=d.highWaterMark;KO0(this,"highWaterMark",k)}var h=f.prototype;return h.size=function(k){return k.byteLength},f}(),eV0=ut.createDataProperty,rV0=function(){function f(d){var k=d.highWaterMark;eV0(this,"highWaterMark",k)}var h=f.prototype;return h.size=function(){return 1},f}();W00("streams:transform-stream:verbose");var tV0=ut.InvokeOrNoop,iV0=ut.CreateAlgorithmFromUnderlyingMethod,nV0=ut.PromiseCall,ge0=ut.typeIsObject,iU=ut.ValidateAndNormalizeHighWaterMark;ut.IsNonNegativeNumber;var nU=ut.MakeSizeAlgorithmFromSizeFunction,oV0=Ou.CreateReadableStream,ye0=Ou.ReadableStreamDefaultControllerClose,lV0=Ou.ReadableStreamDefaultControllerEnqueue,sV0=Ou.ReadableStreamDefaultControllerError,AV0=Ou.ReadableStreamDefaultControllerGetDesiredSize,uV0=Ou.ReadableStreamDefaultControllerHasBackpressure,uL=Ou.ReadableStreamDefaultControllerCanCloseOrEnqueue,fV0=pl.CreateWritableStream,aV0=pl.WritableStreamDefaultControllerErrorIfNeeded,Ce0=function(){function f(h,d,k){h===void 0&&(h={}),d===void 0&&(d={}),k===void 0&&(k={});var C=d.size,I=d.highWaterMark,S=k.size,Z=k.highWaterMark,R=h.writableType;if(R!==void 0)throw new RangeError("Invalid writable type specified");var M=nU(C);I===void 0&&(I=1),I=iU(I);var Q=h.readableType;if(Q!==void 0)throw new RangeError("Invalid readable type specified");var O=nU(S);Z===void 0&&(Z=0),Z=iU(Z);var e0,o0=new Promise(function(l0){e0=l0});Ee0(this,o0,I,M,Z,O),hV0(this,h);var A0=tV0(h,"start",[this._transformStreamController]);e0(A0)}return cs(f,[{key:"readable",get:function(){if(oU(this)===!1)throw sU("readable");return this._readable}},{key:"writable",get:function(){if(oU(this)===!1)throw sU("writable");return this._writable}}]),f}();function cV0(f,h,d,k,C,I,S){k===void 0&&(k=1),C===void 0&&(C=function(){return 1}),I===void 0&&(I=0),S===void 0&&(S=function(){return 1});var Z=Object.create(Ce0.prototype),R,M=new Promise(function(e0){R=e0});Ee0(Z,M,k,C,I,S);var Q=Object.create(Be0.prototype);Ie0(Z,Q,h,d);var O=f();return R(O),Z}function Ee0(f,h,d,k,C,I){function S(){return h}function Z(e0){return pV0(f,e0)}function R(e0){return kV0(f,e0)}function M(){return vV0(f)}f._writable=fV0(S,Z,M,R,d,k);function Q(){return mV0(f)}function O(e0){return Vg(f,e0),Promise.resolve()}f._readable=oV0(S,Q,O,C,I),f._backpressure=void 0,f._backpressureChangePromise=void 0,f._backpressureChangePromise_resolve=void 0,Hg(f,!0),f._transformStreamController=void 0}function oU(f){return!(!ge0(f)||!Object.prototype.hasOwnProperty.call(f,"_transformStreamController"))}function Og(f,h){sV0(f._readable._readableStreamController,h),Vg(f,h)}function Vg(f,h){xe0(f._transformStreamController),aV0(f._writable._writableStreamController,h),f._backpressure===!0&&Hg(f,!1)}function Hg(f,h){f._backpressureChangePromise!==void 0&&f._backpressureChangePromise_resolve(),f._backpressureChangePromise=new Promise(function(d){f._backpressureChangePromise_resolve=d}),f._backpressure=h}var Be0=function(){function f(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}var h=f.prototype;return h.enqueue=function(k){if(Iv(this)===!1)throw xv("enqueue");Se0(this,k)},h.error=function(k){if(Iv(this)===!1)throw xv("error");wV0(this,k)},h.terminate=function(){if(Iv(this)===!1)throw xv("terminate");dV0(this)},cs(f,[{key:"desiredSize",get:function(){if(Iv(this)===!1)throw xv("desiredSize");var k=this._controlledTransformStream._readable._readableStreamController;return AV0(k)}}]),f}();function Iv(f){return!(!ge0(f)||!Object.prototype.hasOwnProperty.call(f,"_controlledTransformStream"))}function Ie0(f,h,d,k){h._controlledTransformStream=f,f._transformStreamController=h,h._transformAlgorithm=d,h._flushAlgorithm=k}function hV0(f,h){var d=Object.create(Be0.prototype),k=function(Z){try{return Se0(d,Z),Promise.resolve()}catch(R){return Promise.reject(R)}},C=h.transform;if(C!==void 0){if(typeof C!="function")throw new TypeError("transform is not a method");k=function(Z){return nV0(C,h,[Z,d])}}var I=iV0(h,"flush",0,[d]);Ie0(f,d,k,I)}function xe0(f){f._transformAlgorithm=void 0,f._flushAlgorithm=void 0}function Se0(f,h){var d=f._controlledTransformStream,k=d._readable._readableStreamController;if(uL(k)===!1)throw new TypeError("Readable side is not in a state that permits enqueue");try{lV0(k,h)}catch(I){throw Vg(d,I),d._readable._storedError}var C=uV0(k);C!==d._backpressure&&Hg(d,!0)}function wV0(f,h){Og(f._controlledTransformStream,h)}function lU(f,h){var d=f._transformAlgorithm(h);return d.catch(function(k){throw Og(f._controlledTransformStream,k),k})}function dV0(f){var h=f._controlledTransformStream,d=h._readable._readableStreamController;uL(d)===!0&&ye0(d);var k=new TypeError("TransformStream terminated");Vg(h,k)}function pV0(f,h){var d=f._transformStreamController;if(f._backpressure===!0){var k=f._backpressureChangePromise;return k.then(function(){var C=f._writable,I=C._state;if(I==="erroring")throw C._storedError;return lU(d,h)})}return lU(d,h)}function kV0(f,h){return Og(f,h),Promise.resolve()}function vV0(f){var h=f._readable,d=f._transformStreamController,k=d._flushAlgorithm();return xe0(d),k.then(function(){if(h._state==="errored")throw h._storedError;var C=h._readableStreamController;uL(C)===!0&&ye0(C)}).catch(function(C){throw Og(f,C),h._storedError})}function mV0(f){return Hg(f,!1),f._backpressureChangePromise}var gV0={CreateTransformStream:cV0,TransformStream:Ce0};function xv(f){return new TypeError("TransformStreamDefaultController.prototype."+f+" can only be used on a TransformStreamDefaultController")}function sU(f){return new TypeError("TransformStream.prototype."+f+" can only be used on a TransformStream")}var yV0=gV0.TransformStream;const CV0=Object.freeze(Object.defineProperty({__proto__:null,ByteLengthQueuingStrategy:bO0,CountQueuingStrategy:rV0,ReadableStream:$O0,TransformStream:yV0,WritableStream:wO0},Symbol.toStringTag,{value:"Module"})),EV0=Fn(CV0);function BV0(f,h){return fetch(f,h).then(d=>({body:d.body,headers:d.headers,ok:d.ok,status:d.status,statusText:d.statusText,url:d.url}))}let IV0=class _e0{constructor(h={}){this.h={},h instanceof _e0&&h.forEach((d,k)=>this.append(k,d)),Object.getOwnPropertyNames(h).forEach(d=>this.append(d,h[d]))}append(h,d){h=h.toLowerCase(),Array.isArray(this.h[h])||(this.h[h]=[]),this.h[h].push(d)}set(h,d){this.h[h.toLowerCase()]=[d]}has(h){return Array.isArray(this.h[h.toLowerCase()])}get(h){if(h=h.toLowerCase(),Array.isArray(this.h[h]))return this.h[h][0]}getAll(h){return this.h[h.toLowerCase()].concat()}entries(){const h=[];return this.forEach((d,k)=>{h.push([k,d])}),xV0(h)}forEach(h,d){Object.getOwnPropertyNames(this.h).forEach(k=>{this.h[k].forEach(C=>h.call(d,C,k,this))},this)}};function xV0(f){return{next(){const h=f.shift();return{done:h===void 0,value:h}},[Symbol.iterator](){return this}}}function xI(){try{return new DOMException("Aborted","AbortError")}catch{const h=new Error("Aborted");return h.name="AbortError",h}}function AU({responseType:f,responseParserFactory:h}){return function(k,C){const I=new XMLHttpRequest,S=h();let Z,R=!1;const M=new ReadableStream({start(e0){Z=e0},cancel(){R=!0,I.abort()}}),{method:Q="GET",signal:O}=C;if(I.open(Q,k),I.responseType=f,I.withCredentials=C.credentials!=="omit",C.headers)for(const e0 of C.headers.entries())I.setRequestHeader(e0[0],e0[1]);return new Promise((e0,o0)=>{if(C.body&&(Q==="GET"||Q==="HEAD")&&o0(new TypeError("Failed to execute 'fetchStream' on 'Window': Request with GET/HEAD method cannot have body")),O)if(O.aborted){o0(xI());return}else O.addEventListener("abort",()=>{I.abort(),Z&&Z.error(xI()),o0(xI())},{once:!0});I.onreadystatechange=function(){if(I.readyState===I.HEADERS_RECEIVED)return e0({body:M,headers:zV0(I.getAllResponseHeaders()),ok:I.status>=200&&I.status<300,status:I.status,statusText:I.statusText,url:_V0(I.responseURL,k)})},I.onerror=function(){return o0(new TypeError("Network request failed"))},I.ontimeout=function(){o0(new TypeError("Network request failed"))},I.onprogress=function(){if(!R){const A0=S(I.response);Z.enqueue(A0)}},I.onload=function(){Z.close()},I.send(C.body)})}}function SV0(){return typeof Headers<"u"?new Headers:new IV0}function _V0(f,h){return f||(h.substring(0,4)!=="http"?location.origin+h:h)}function zV0(f){const h=SV0();if(f){const d=f.split(`\r -`);for(let k=0;k0){const S=C.substring(0,I),Z=C.substring(I+2);h.append(S,Z)}}}return h}let SI=null;function LV0(){return SI||(SI=RV0()),SI}function RV0(){if(typeof Response<"u"&&Response.prototype.hasOwnProperty("body"))return BV0;const f="moz-chunked-arraybuffer";return GV0(f)?AU({responseType:f,responseParserFactory:function(){return h=>new Uint8Array(h)}}):AU({responseType:"text",responseParserFactory:function(){const h=new TextEncoder;let d=0;return function(k){const C=k.substr(d);return d=k.length,h.encode(C,{stream:!0})}}})}function GV0(f){try{const h=new XMLHttpRequest;return h.responseType=f,h.responseType===f}catch{}return!1}function fL(f,h={}){let d=h.transport;return d||(d=fL.transportFactory()),d(f,h)}fL.transportFactory=LV0;const ZV0=Object.freeze(Object.defineProperty({__proto__:null,default:fL},Symbol.toStringTag,{value:"Module"})),WV0=Fn(ZV0);(function(f,h){(function(d,k){f.exports=k()})(typeof self>"u"?ea:self,function(){return function(d){function k(I){if(C[I])return C[I].exports;var S=C[I]={i:I,l:!1,exports:{}};return d[I].call(S.exports,S,S.exports,k),S.l=!0,S.exports}var C={};return k.m=d,k.c=C,k.d=function(I,S,Z){k.o(I,S)||Object.defineProperty(I,S,{configurable:!1,enumerable:!0,get:Z})},k.n=function(I){var S=I&&I.__esModule?function(){return I.default}:function(){return I};return k.d(S,"a",S),S},k.o=function(I,S){return Object.prototype.hasOwnProperty.call(I,S)},k.p="./",k(k.s=46)}([function(d){d.exports=T0},function(d){function k(I,S){var Z=I[1]||"",R=I[3];if(!R)return Z;if(S&&typeof btoa=="function"){var M=C(R),Q=R.sources.map(function(O){return"/*# sourceURL="+R.sourceRoot+O+" */"});return[Z].concat(Q).concat([M]).join(` -`)}return[Z].join(` -`)}function C(I){var S=btoa(unescape(encodeURIComponent(JSON.stringify(I))));return"/*# "+("sourceMappingURL=data:application/json;charset=utf-8;base64,"+S)+" */"}d.exports=function(I){var S=[];return S.toString=function(){return this.map(function(Z){var R=k(Z,I);return Z[2]?"@media "+Z[2]+"{"+R+"}":R}).join("")},S.i=function(Z,R){typeof Z=="string"&&(Z=[[null,Z,""]]);for(var M,Q={},O=0;O"u"&&(W0=z0.apply(this,arguments)),W0}}(function(){return window&&document&&document.all&&!window.atob}),a0=function(z0){return document.querySelector(z0)},c0=function(){var z0={};return function(W0){if(typeof W0=="function")return W0();if(typeof z0[W0]>"u"){var P0=a0.call(this,W0);if(window.HTMLIFrameElement&&P0 instanceof window.HTMLIFrameElement)try{P0=P0.contentDocument.head}catch{P0=null}z0[W0]=P0}return z0[W0]}}(),y0=null,C0=0,I0=[],h0=C(5);d.exports=function(z0,W0){if(typeof DEBUG<"u"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");W0=W0||{},W0.attrs=typeof W0.attrs=="object"?W0.attrs:{},W0.singleton||typeof W0.singleton=="boolean"||(W0.singleton=u0()),W0.insertInto||(W0.insertInto="head"),W0.insertAt||(W0.insertAt="bottom");var P0=S(z0,W0);return I(P0,W0),function(R0){for(var Q0=[],q0=0;q0I0?-1:I0?I0-1-R0:-1},A0=function(c0){return c0?Array.isArray(c0)?c0.length===1?Object(I.Range)(c0[0],c0[0]+1):Object(I.Range)(c0[0],c0[1]+1):Object(I.Range)(c0,c0+1):Object(I.Range)(0,0)},l0=function(c0,y0){var C0=new Uint8Array(c0.length+y0.length);return C0.set(c0,0),C0.set(y0,c0.length),C0},w0=function(c0,y0){var C0=y0?l0(y0,c0):c0,I0=C0.length,h0=0,E0=0,z0=Object(I.List)().withMutations(function(W0){for(;E0w0.b?Se(fe):we()}}),z0),M(W0,P0)}return Q(h0,I0),y0(h0,[{key:"render",value:function(){var E0=this.props,z0=E0.resultsCount,W0=E0.filterActive,P0=E0.disabled,R0="match"+(z0===1?"":"es"),Q0=W0?u0.active:u0.inactive;return Object(O.createElement)("div",{className:"react-lazylog-searchbar "+u0.searchBar},Object(O.createElement)("input",{autoComplete:"off",type:"text",name:"search",placeholder:"Search",className:"react-lazylog-searchbar-input "+u0.searchInput,onChange:this.handleSearchChange,onKeyPress:this.handleSearchKeyPress,value:this.state.keywords,disabled:P0}),Object(O.createElement)("button",{disabled:P0,className:"react-lazylog-searchbar-filter "+(W0?"active":"inactive")+" "+u0.button+" "+Q0,onClick:this.handleFilterToggle},Object(O.createElement)(l0,null)),Object(O.createElement)("span",{className:"react-lazylog-searchbar-matches "+(z0?"active":"inactive")+" "+(z0?u0.active:u0.inactive)},z0," ",R0))}}]),h0}(O.Component),Object.defineProperty(a0,"propTypes",{enumerable:!0,writable:!0,value:{onSearch:e0.func,onClearSearch:e0.func,onFilterLinesWithMatches:e0.func,resultsCount:e0.number,filterActive:e0.bool,disabled:e0.bool}}),Object.defineProperty(a0,"defaultProps",{enumerable:!0,writable:!0,value:{onSearch:function(){},onClearSearch:function(){},onFilterLinesWithMatches:function(){},resultsCount:0,filterActive:!1,disabled:!1}}),c0)},function(d,k,C){var I=C(26);typeof I=="string"&&(I=[[d.i,I,""]]);var S,Z={hmr:!0};Z.transform=S,Z.insertInto=void 0,C(2)(I,Z),I.locals&&(d.exports=I.locals)},function(d,k,C){k=d.exports=C(1)(!1),k.push([d.i,`._1lq6olr9h2p7MJDCA8c-aL { - height: 15px; - cursor: pointer; -} -`,""]),k.locals={filterLinesIcon:"_1lq6olr9h2p7MJDCA8c-aL"}},function(d,k,C){var I=C(28);typeof I=="string"&&(I=[[d.i,I,""]]);var S,Z={hmr:!0};Z.transform=S,Z.insertInto=void 0,C(2)(I,Z),I.locals&&(d.exports=I.locals)},function(d,k,C){k=d.exports=C(1)(!1),k.push([d.i,`._3hsz3SFOTsWryCiRA9Mjtq { - display: flex; - align-items: center; - justify-content: flex-end; - font-family: "Monaco", monospace; - font-size: 12px; - background-color: #222222; - color: #d6d6d6; - padding: 10px; -} - -._2JObJsQyVcVoB1YD6078ip { - background-color: #464646; - color: #d6d6d6; - height: 20px; - min-width: 200px; - font-size: 12px; - padding: 2px 5px; - border: 1px solid #4e4e4e; - margin-right: 10px; -} - -._1NGepveS5BPffleJYyamDk { - color: #d6d6d6; - fill: #d6d6d6; -} - -._3cXa-36GYrmnrGIXEg46cX { - color: #464646; - fill: #464646; -} - -.qZaVIaYTJWY-GaoXJJ2Cp { - background: none; - border: none; - margin-right: 10px; -} -`,""]),k.locals={searchBar:"_3hsz3SFOTsWryCiRA9Mjtq",searchInput:"_2JObJsQyVcVoB1YD6078ip",active:"_1NGepveS5BPffleJYyamDk",inactive:"_3cXa-36GYrmnrGIXEg46cX",button:"qZaVIaYTJWY-GaoXJJ2Cp"}},function(d,k,C){function I(ye){if(Array.isArray(ye)){for(var Be=0,Ce=Array(ye.length);Bexr&&(nn=ki-xr,Ji=Ji.slice(-xr),ki=Ji.count());var R2=Object(I0.g)({follow:h2,scrollToLine:n2,previousCount:tt,count:ki,offset:nn});ae.setState({lines:Ji,offset:nn,count:ki,scrollToIndex:R2}),(N2||b2)&&ae.forceSearch()}}),Object.defineProperty(ae,"handleEnd",{enumerable:!0,writable:!0,value:function(xe){ae.encodedLog=xe,ae.setState({loaded:!0}),ae.props.onLoad&&ae.props.onLoad()}}),Object.defineProperty(ae,"handleError",{enumerable:!0,writable:!0,value:function(xe){ae.setState({error:xe}),ae.props.onError&&ae.props.onError(xe)}}),Object.defineProperty(ae,"handleHighlight",{enumerable:!0,writable:!0,value:function(xe){var Pe=ae.props.onHighlight,je=ae.state.isFilteringLinesWithMatches;if(xe.target.id){var r2=+xe.target.id;if(r2){var n2=ae.state.highlight.first(),h2=ae.state.highlight.last(),N2=void 0;N2=n2===r2?null:xe.shiftKey&&n2?r2>n2?[n2,r2]:[r2,h2]:r2;var b2=Object(I0.e)(N2),mr={highlight:b2};je&&Object.assign(mr,{scrollToIndex:Object(I0.g)({scrollToLine:r2})}),ae.setState(mr,function(){Pe&&Pe(b2),je&&ae.handleFilterLinesWithMatches(!1)})}}}}),Object.defineProperty(ae,"handleSearch",{enumerable:!0,writable:!0,value:function(xe){var Pe=ae.state,je=Pe.resultLines,r2=Pe.searchKeywords,n2=ae.props,h2=n2.caseInsensitive,N2=n2.stream,b2=n2.websocket,mr=N2||b2||xe!==r2?Ie(xe,ae.encodedLog,h2):je;ae.setState({resultLines:mr,isSearching:!0,searchKeywords:xe},ae.filterLinesWithMatches)}}),Object.defineProperty(ae,"forceSearch",{enumerable:!0,writable:!0,value:function(){var xe=ae.state.searchKeywords;xe&&xe.length>I0.b&&ae.handleSearch(ae.state.searchKeywords)}}),Object.defineProperty(ae,"handleClearSearch",{enumerable:!0,writable:!0,value:function(){ae.setState({isSearching:!1,searchKeywords:"",resultLines:[],filteredLines:Object(e0.List)(),resultLineUniqueIndexes:[],isFilteringLinesWithMatches:ae.state.isFilteringLinesWithMatches,scrollToIndex:0})}}),Object.defineProperty(ae,"handleFilterLinesWithMatches",{enumerable:!0,writable:!0,value:function(xe){ae.setState({isFilteringLinesWithMatches:xe,filteredLines:Object(e0.List)(),resultLineUniqueIndexes:[]},ae.filterLinesWithMatches)}}),Object.defineProperty(ae,"filterLinesWithMatches",{enumerable:!0,writable:!0,value:function(){var xe=ae.state,Pe=xe.resultLines,je=xe.lines,r2=xe.isFilteringLinesWithMatches;if(0{const h=["Bytes","KB","MB","GB","TB"];if(f===0)return"0 Byte";const d=Math.floor(Math.log(f)/Math.log(1024));return(f/Math.pow(1024,d)).toFixed(2)+" "+h[d]},B1=f=>{if(isNaN(f)||f===void 0||f===null||f===0)return"0 B/s";const h=["B/s","KB/s","MB/s","GB/s","TB/s"],d=Math.floor(Math.log(f)/Math.log(1024));return(f/Math.pow(1024,d)).toFixed(2)+" "+h[d]},PV0=f=>f==null||isNaN(f)?"0%":f.toFixed(2)+"%",hL=f=>{const h=Math.floor(f/3600),d=Math.floor(f%3600/60),k=Math.floor(f%60),C=h>0?h+"h ":"",I=d>0?d+"m ":"",S=k+"s";return C+I+S},YV0=(f,h,d)=>{if(d===0)return"999hrs:99m";const C=(h-f)/d;return hL(C)},wL=(f,h)=>f===0||h===0?"0%":PV0(f/h*100),uU=f=>qr(f)+"/s",OV0=({logs:f=[],onLogSelected:h,onDownload:d,...k})=>{const C=S=>{h(S)},I=()=>X.jsxs("table",{className:"table-auto w-fit text-left border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{}),X.jsx("th",{className:"px-4 py-2",children:"Name"}),X.jsx("th",{className:"px-4 py-2",children:"Size"}),X.jsx("th",{})]})}),X.jsx("tbody",{children:f.map((S,Z)=>X.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>C(S.name),children:[X.jsx("td",{className:"pl-2",children:S.selected&&X.jsx(Jg,{})}),X.jsx("td",{className:"px-4 py-2",children:S.name}),X.jsx("td",{className:"px-4 py-2",children:qr(S.size)}),X.jsx("td",{children:X.jsx(ze0,{onClick:R=>{R.preventDefault(),R.stopPropagation(),d(S)},className:"cursor-pointer pr-2 hover:scale-125"})})]},Z))})]});return X.jsx(X.Fragment,{children:I()})},VV0=()=>{const f=A3(),h=$2(et),d=$2(WR0),[k,C]=T0.useState(""),[I,S]=T0.useState("Head");T0.useEffect(()=>{d.forEach(M=>{if(M.selected){const Q=Math.round(M.size/10);let O=M.url;I==="Head"?O=M.url+"?offset=0&limit="+Q:I==="Tail"&&(O=M.url+"?offset="+(M.size-Q)+"&limit="+Q),C(O)}})},[I,d]),T0.useEffect(()=>{let M=!1;d.forEach(Q=>{Q.selected&&(M=!0)}),M||C("")},[d]),T0.useEffect(()=>{h!==""&&o00()},[h]);const Z=M=>{fetch(M.url,{method:"GET",headers:{"Content-Type":"text/plain"}}).then(Q=>Q.blob()).then(Q=>{const O=window.URL.createObjectURL(new Blob([Q])),e0=document.createElement("a");e0.href=O,e0.setAttribute("download",M.name),document.body.appendChild(e0),e0.click(),document.body.removeChild(e0)})},R=M=>{let Q="px-4 py-2 mr-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700 border";const O="bg-gray-900 text-white";return M===I?Q+" "+O:Q};return X.jsxs("div",{className:"flex flex-col w-full pt-4 pb-4",children:[X.jsx(OV0,{logs:d,onLogSelected:M=>{f(vR0(M))},onDownload:M=>{Z(M)}}),k!==""?X.jsxs(X.Fragment,{children:[X.jsxs("div",{className:"flex flex-row pb-2 pt-2",children:[X.jsx("button",{className:R("Head"),onClick:()=>S("Head"),children:"Head"}),X.jsx("button",{className:R("Tail"),onClick:()=>S("Tail"),children:"Tail"}),X.jsx("button",{className:R("All"),onClick:()=>S("All"),children:"All"})]}),X.jsx(DV0.LazyLog,{extraLines:1,enableSearch:!0,caseInsensitive:!0,url:k,height:window.innerHeight*.7,width:"auto"})]}):null]})},HV0=({db:f,selected:h,onDbSelected:d})=>X.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",style:{backgroundColor:h?"lightblue":"white"},onClick:()=>d(f.path),children:[X.jsx("td",{className:"px-4 py-2",children:f.path}),X.jsx("td",{className:"px-4 py-2",children:f.keysCount}),X.jsx("td",{className:"px-4 py-2",children:qr(f.size)})]},f.path),JV0=_a(X.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown"),Z4=({title:f,filter:h=!1,sort:d=!0,onFilterChange:k,onSortChange:C})=>{const[I,S]=Je.useState("asc");return X.jsx("th",{className:"px-4 py-2",children:X.jsxs("div",{className:"flex flex-row",children:[X.jsxs("div",{className:"flex flex-col",children:[X.jsx("span",{children:f}),h&&X.jsx("input",{className:"border rounded-lg p-1",onChange:Z=>k&&k(Z.target.value)})]}),d&&X.jsx("div",{className:"flex flex-col",children:X.jsx(JV0,{className:"cursor-pointer",onClick:()=>{S(I==="asc"?"desc":"asc"),C&&C(I==="asc"?"desc":"asc")}})})]})})},UV0=({dbs:f,onDbSelected:h})=>{const[d,k]=Je.useState(""),[C,I]=Je.useState(f),[S,Z]=Je.useState(""),[R,M]=Je.useState({db:{sortDirection:"asc",sortValue:!0},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:"asc",sortValue:!1}});return T0.useEffect(()=>{I(f.filter(Q=>Q.path.toLowerCase().includes(S.toLowerCase())))},[f,S]),T0.useEffect(()=>{I([...C].sort((Q,O)=>R.db.sortValue?R.db.sortDirection==="asc"?Q.path.localeCompare(O.path):O.path.localeCompare(Q.path):R.keysCount.sortValue?R.keysCount.sortDirection==="asc"?Q.keysCount-O.keysCount:O.keysCount-Q.keysCount:R.size.sortValue?R.size.sortDirection==="asc"?Q.size-O.size:O.size-Q.size:0))},[R]),X.jsxs("table",{className:"table-auto rounded-lg bg-white text-left w-full","data-testid":"details_section_flags_table",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx(Z4,{title:"DB",filter:!0,sort:!0,onFilterChange:Q=>Z(Q),onSortChange:Q=>{M({...R,db:{sortDirection:Q,sortValue:!0},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:"asc",sortValue:!1}})}}),X.jsx(Z4,{title:"Keys Count",sort:!0,onSortChange:Q=>{M({...R,db:{sortDirection:"asc",sortValue:!1},keysCount:{sortDirection:Q,sortValue:!0},size:{sortDirection:"asc",sortValue:!1}})}}),X.jsx(Z4,{title:"Size",sort:!0,onSortChange:Q=>{M({...R,db:{sortDirection:"asc",sortValue:!1},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:Q,sortValue:!0}})}})]})}),X.jsx("tbody",{children:C.map(Q=>X.jsx(HV0,{db:Q,selected:d===Q.path,onDbSelected:O=>{k(O),h(O)}}))})]})},XV0=({table:f})=>X.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",children:[X.jsx("td",{className:"px-4 py-2",children:f.name}),X.jsx("td",{className:"px-4 py-2",children:f.count}),X.jsx("td",{className:"px-4 py-2",children:qr(f.size)})]},f.name),qV0=({tables:f})=>{const[h,d]=Je.useState(f),[k,C]=Je.useState(""),[I,S]=Je.useState({table:{sortDirection:"asc",sortValue:!0},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:"asc",sortValue:!1}});return T0.useEffect(()=>{d(f.filter(Z=>Z.name.toLowerCase().includes(k.toLowerCase())))},[f,k]),T0.useEffect(()=>{d([...h].sort((Z,R)=>I.table.sortValue?I.table.sortDirection==="asc"?Z.name.localeCompare(R.name):R.name.localeCompare(Z.name):I.keysCount.sortValue?I.keysCount.sortDirection==="asc"?Z.count-R.count:R.count-Z.count:I.size.sortValue?I.size.sortDirection==="asc"?Z.size-R.size:R.size-Z.size:0))},[I]),X.jsxs("table",{className:"table-auto rounded-lg bg-white text-left w-full","data-testid":"details_section_flags_table",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx(Z4,{title:"Table",filter:!0,sort:!0,onFilterChange:Z=>C(Z),onSortChange:Z=>{S({...I,table:{sortDirection:Z,sortValue:!0},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:"asc",sortValue:!1}})}}),X.jsx(Z4,{title:"Keys Count",sort:!0,onSortChange:Z=>{S({...I,table:{sortDirection:"asc",sortValue:!1},keysCount:{sortDirection:Z,sortValue:!0},size:{sortDirection:"asc",sortValue:!1}})}}),X.jsx(Z4,{title:"Size",sort:!0,onSortChange:Z=>{S({...I,table:{sortDirection:"asc",sortValue:!1},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:Z,sortValue:!0}})}})]})}),X.jsx("tbody",{children:h.map(Z=>X.jsx(XV0,{table:Z}))})]})},$V0=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Le0=f=>Array.isArray(f)&&f.every(h=>typeof h=="object"&&!(h instanceof Array)),KV0=f=>Array.isArray(f)&&f.every(h=>Array.isArray(h)),bV0=f=>Array.from(f.map(h=>Object.keys(h)).reduce((h,d)=>new Set([...h,...d]),[])),eH0=(f,h)=>{h=h||bV0(f);let d=h,k=h;Le0(h)&&(d=h.map(I=>I.label),k=h.map(I=>I.key));const C=f.map(I=>k.map(S=>rH0(S,I)));return[d,...C]},rH0=(f,h)=>{const d=f.replace(/\[([^\]]+)]/g,".$1").split(".").reduce(function(k,C,I,S){const Z=k[C];if(Z==null)S.splice(1);else return Z},h);return d===void 0?f in h?h[f]:"":d},tH0=f=>typeof f>"u"||f===null?"":f,Re0=(f,h=",",d='"')=>f.filter(k=>k).map(k=>k.map(C=>tH0(C)).map(C=>`${d}${C}${d}`).join(h)).join(` -`),iH0=(f,h,d,k)=>Re0(h?[h,...f]:f,d,k),nH0=(f,h,d,k)=>Re0(eH0(f,h),d,k),oH0=(f,h,d,k)=>h?`${h.join(d)} -${f}`:f.replace(/"/g,'""'),Ge0=(f,h,d,k)=>{if(Le0(f))return nH0(f,h,d,k);if(KV0(f))return iH0(f,h,d,k);if(typeof f=="string")return oH0(f,h,d);throw new TypeError('Data should be a "String", "Array of arrays" OR "Array of objects" ')},Ze0=(f,h,d,k,C)=>{const I=Ge0(f,d,k,C),S=$V0()?"application/csv":"text/csv",Z=new Blob([h?"\uFEFF":"",I],{type:S}),R=`data:${S};charset=utf-8,${h?"\uFEFF":""}${I}`,M=window.URL||window.webkitURL;return typeof M.createObjectURL>"u"?R:M.createObjectURL(Z)},We0={data:Co.oneOfType([Co.string,Co.array,Co.func]).isRequired,headers:Co.array,target:Co.string,separator:Co.string,filename:Co.string,uFEFF:Co.bool,onClick:Co.func,asyncOnClick:Co.bool,enclosingCharacter:Co.string},De0={separator:",",filename:"generatedBy_react-csv.csv",uFEFF:!0,asyncOnClick:!1,enclosingCharacter:'"'},lH0={target:"_blank"};class fU extends Je.Component{constructor(h){super(h),this.state={}}buildURI(){return Ze0(...arguments)}componentDidMount(){const{data:h,headers:d,separator:k,enclosingCharacter:C,uFEFF:I,target:S,specs:Z,replace:R}=this.props;this.state.page=window.open(this.buildURI(h,I,d,k,C),S,Z,R)}getWindow(){return this.state.page}render(){return null}}h8(fU,"defaultProps",Object.assign(De0,lH0)),h8(fU,"propTypes",We0);var Mv;let sH0=(Mv=class extends Je.Component{constructor(h){super(h),this.buildURI=this.buildURI.bind(this)}buildURI(){return Ze0(...arguments)}handleLegacy(h,d=!1){if(window.navigator.msSaveOrOpenBlob){h.preventDefault();const{data:k,headers:C,separator:I,filename:S,enclosingCharacter:Z,uFEFF:R}=this.props,M=d&&typeof k=="function"?k():k;let Q=new Blob([R?"\uFEFF":"",Ge0(M,C,I,Z)]);return window.navigator.msSaveBlob(Q,S),!1}}handleAsyncClick(h){const d=k=>{if(k===!1){h.preventDefault();return}this.handleLegacy(h,!0)};this.props.onClick(h,d)}handleSyncClick(h){if(this.props.onClick(h)===!1){h.preventDefault();return}this.handleLegacy(h)}handleClick(){return h=>{if(typeof this.props.onClick=="function")return this.props.asyncOnClick?this.handleAsyncClick(h):this.handleSyncClick(h);this.handleLegacy(h)}}render(){const{data:h,headers:d,separator:k,filename:C,uFEFF:I,children:S,onClick:Z,asyncOnClick:R,enclosingCharacter:M,...Q}=this.props,e0=typeof window>"u"?"":this.buildURI(h,I,d,k,M);return X.jsx("a",{download:C,...Q,ref:o0=>this.link=o0,target:"_self",href:e0,onClick:this.handleClick(),children:S})}},h8(Mv,"defaultProps",De0),h8(Mv,"propTypes",We0),Mv);const AH0=sH0;var dL={},uH0=Qr;Object.defineProperty(dL,"__esModule",{value:!0});var pL=dL.default=void 0,fH0=uH0(rt()),aH0=X;pL=dL.default=(0,fH0.default)((0,aH0.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack");const cH0=()=>{const f=$2(F_),[h,d]=T0.useState(""),C=jR0()(lr.getState(),h),[I,S]=T0.useState([]),Z=Q=>{Q.key==="Escape"&&d("")};T0.useEffect(()=>(window.addEventListener("keydown",Z),()=>{window.removeEventListener("keydown",Z)}),[]),T0.useEffect(()=>{h.length>0&&S(C.tables.map(Q=>({tName:Q.name,KC:Q.count,size:qr(Q.size)})))},[h]);const R=()=>h.length>0?[{label:"Table Name",key:"tName"},{label:"Keys Count",key:"KC"},{label:"Size",key:"size"}]:[{label:"DB Name",key:"dbName"},{label:"Keys Count",key:"KC"},{label:"Size",key:"size"}],M=()=>h.length>0?C.tables.map(Q=>({tName:Q.name,KC:Q.count,size:qr(Q.size)})):f.map(Q=>({dbName:Q.path,KC:Q.keysCount,size:qr(Q.size)}));return X.jsxs("div",{className:"flex flex-col w-full py-4",children:[X.jsx(AH0,{headers:R(),data:M(),filename:h.length>0?h+".csv":"dbs.csv",className:"btn btn-primary",target:"_blank",children:X.jsx(us,{backgroundColor:k3,label:"Export to CSV",onClick:()=>{},primary:!0})}),h.length<=0?X.jsxs("div",{className:"w-full h-[90vh] overflow-y-auto mt-10 flex flex-col items-center",children:[X.jsx("span",{className:"mb-5 font-bold text-lg",children:"Data Bases"}),X.jsx(UV0,{dbs:f,onDbSelected:Q=>d(Q)})]}):X.jsxs("div",{className:"w-full h-[90vh] overflow-y-auto mt-10 flex flex-col items-center",children:[X.jsxs("div",{className:"mb-5 flex flex-row space-between w-full",children:[X.jsx("div",{className:"flex-[1]",children:X.jsx(pL,{onClick:()=>{d("")},className:"cursor-pointer"})}),X.jsx("div",{className:"contents flex-[1]",children:X.jsx("span",{className:"font-bold text-lg",children:h})}),X.jsx("div",{className:"flex-[1]"})]}),X.jsx(qV0,{tables:C.tables})]})]})},hH0=({onClose:f,onCreate:h,...d})=>{const[k,C]=Je.useState(""),I=S=>{C(S.target.value)};return X.jsxs(X.Fragment,{children:[X.jsx("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-1 z-50 outline-none focus:outline-none",children:X.jsx("div",{className:"relative w-auto my-6 mx-auto max-w-3xl",children:X.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-white outline-none focus:outline-none items-center",children:[X.jsx("h3",{className:"text-3xl font-semibold mt-5",children:"Create Session"}),X.jsxs("div",{className:"flex flex-col relative p-6 flex-auto justify-center",children:[X.jsx("p",{className:"my-4 text-slate-500 text-lg leading-relaxed",children:"To create a new session, enter a name."}),X.jsx("input",{type:"text",placeholder:"Enter Session Name",className:"border-2 border-slate-200 rounded-md p-2",value:k,onChange:I})]}),X.jsxs("div",{className:"flex items-center justify-end p-6",children:[X.jsx(us,{backgroundColor:b6,label:"Close",onClick:()=>f(),primary:!0}),X.jsx("div",{className:"w-2"}),X.jsx(us,{backgroundColor:k3,label:"Create",onClick:()=>{h(k)},primary:!0})]})]})})}),X.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})},Me0=({onSessionSelected:f,...h})=>{const d=A3(),k=$2(zR0),[C,I]=T0.useState(!1),S=Q=>{I(!0),setTimeout(()=>{I(!1)},1500),navigator.clipboard.writeText(Q)},Z=Q=>{d(aR0(Q)),f()},R=Q=>{let O="";return!window.location.origin.includes("127.0.0.1")&&!window.location.origin.includes("localhost")&&(O="--diagnostics.addr "+window.location.host),"./build/bin/erigon support "+O+" --diagnostics.sessions "+Q},M=()=>X.jsxs(X.Fragment,{children:[X.jsxs("table",{className:"table-auto rounded-lg shadow-lg bg-white text-left w-fit mb-4",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{}),X.jsx("th",{className:"px-4 py-2",children:"Name"}),X.jsx("th",{className:"px-4 py-2",children:"PIN"}),X.jsx("th",{className:"px-4 py-2",children:"Support cmd"})]})}),X.jsx("tbody",{children:k.map((Q,O)=>X.jsxs("tr",{className:"border-b border-gray-200",onClick:()=>Z(Q.pin),children:[X.jsx("td",{className:"pl-2",children:Q.active&&X.jsx(Jg,{})}),X.jsx("td",{className:"px-4 py-2",children:Q.name}),X.jsxs("td",{className:"px-4 py-2 hover:bg-gray-100",children:[Q.pin," ",X.jsx(im,{onClick:()=>S(Q.pin),className:"cursor-pointer pr-2"})]}),X.jsxs("td",{className:"px-4 py-2 hover:bg-gray-100",children:[R(Q.pin)," ",X.jsx(im,{onClick:()=>S(R(Q.pin)),className:"cursor-pointer pr-2"})]})]},O))})]}),C&&X.jsx(t00,{})]});return X.jsx(X.Fragment,{children:k.length>0&&M()})},wH0=({title:f="",body:h="",positiveButton:d="",negativeButton:k="",onClose:C=()=>{},onNegativeClick:I=()=>{},onPositiveClick:S=()=>{}})=>{const Z=()=>d!==""&&k!==""?X.jsxs(X.Fragment,{children:[R(!0,d),X.jsx("div",{className:"w-2"}),R(!1,k)]}):d!==""?X.jsx(X.Fragment,{children:R(!0,d)}):k!==""?X.jsx(X.Fragment,{children:R(!1,k)}):null,R=(M,Q)=>X.jsx(us,{backgroundColor:M?b6:k3,label:Q,onClick:M?S:I,primary:!0});return X.jsxs(X.Fragment,{children:[X.jsx("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-0 z-50 outline-none focus:outline-none absolute bg-black/[.4]",children:X.jsx("div",{className:"relative w-auto my-6 mx-auto max-w-3xl",children:X.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-white outline-none focus:outline-none items-center p-4 min-w-[20vw]",children:[X.jsxs("div",{className:"flex flex-row w-full",children:[X.jsx("div",{className:"flex-[1]"}),X.jsx("div",{className:"flex flex-[2] justify-center",children:X.jsx("h3",{className:"text-3xl font-semibold",children:f})}),X.jsx("div",{className:"flex flex-[1] justify-end",children:X.jsx(Rg,{onClick:()=>C(),className:"cursor-pointer"})})]}),X.jsx("div",{className:"inline-block relative p-6 flex-auto justify-center items-center w-full break-all max-h-[80vh] overflow-scroll",children:X.jsx("p",{className:"my-4 text-slate-500 text-lg leading-relaxed",children:h})}),X.jsx("div",{className:"flex items-center justify-end p-6",children:Z()})]})})}),X.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})},dH0=()=>{const f=A3(),[h,d]=T0.useState(!1),[k,C]=T0.useState(!1);$2(Zb);function I(S,Z){return Math.floor(Math.random()*(Z-S)+S)}return X.jsxs("div",{className:"flex flex-col",children:[X.jsx("h3",{className:"py-2 text-xl font-semibold",children:"Sessions List"}),X.jsx(Me0,{onSessionSelected:()=>{}}),X.jsx("div",{className:"absolute right-[5vw] bottom-[10vh]",children:X.jsx(us,{backgroundColor:b6,label:"Clear all data",onClick:()=>{C(!0)},primary:!0})}),h?X.jsx(hH0,{onClose:()=>d(!1),onCreate:S=>{let Z=I(1e7,99999999).toString();f(Qx({name:S,pin:Z,is_active:!0,nodes:[]})),d(!1)}}):X.jsx(us,{backgroundColor:k3,label:"Create Session",onClick:()=>d(!0),primary:!0}),k&&X.jsx(wH0,{title:"Clear all data",body:"Are you sure you want to clear all data?",positiveButton:"Clear",negativeButton:"Cancel",onPositiveClick:()=>{f(CR0()),f(fM0()),f(AM0()),C(!1)},onNegativeClick:()=>C(!1),onClose:()=>C(!1)})]})};var kL={},pH0=Qr;Object.defineProperty(kL,"__esModule",{value:!0});var je0=kL.default=void 0,kH0=pH0(rt()),vH0=X;je0=kL.default=(0,kH0.default)((0,vH0.jsx)("path",{d:"m17 16-4-4V8.82C14.16 8.4 15 7.3 15 6c0-1.66-1.34-3-3-3S9 4.34 9 6c0 1.3.84 2.4 2 2.82V12l-4 4H3v5h5v-3.05l4-4.2 4 4.2V21h5v-5z"}),"DeviceHub");var vL={},mH0=Qr;Object.defineProperty(vL,"__esModule",{value:!0});var Ne0=vL.default=void 0,gH0=mH0(rt()),yH0=X;Ne0=vL.default=(0,gH0.default)((0,yH0.jsx)("path",{d:"M8.4 18.2c.38.5.6 1.12.6 1.8 0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3c.44 0 .85.09 1.23.26l1.41-1.77c-.92-1.03-1.29-2.39-1.09-3.69l-2.03-.68c-.54.83-1.46 1.38-2.52 1.38-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3c0 .07 0 .14-.01.21l2.03.68c.64-1.21 1.82-2.09 3.22-2.32V5.91C9.96 5.57 9 4.4 9 3c0-1.66 1.34-3 3-3s3 1.34 3 3c0 1.4-.96 2.57-2.25 2.91v2.16c1.4.23 2.58 1.11 3.22 2.32L18 9.71V9.5c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-1.06 0-1.98-.55-2.52-1.37l-2.03.68c.2 1.29-.16 2.65-1.09 3.69l1.41 1.77c.38-.18.79-.27 1.23-.27 1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.68.22-1.3.6-1.8l-1.41-1.77c-1.35.75-3.01.76-4.37 0z"}),"Hub");const CH0=({onSessionClicked:f,onNodeClicked:h})=>{const d=$2(Q_),k=$2(RR0);return X.jsxs("div",{className:"flex flex-row h-10 bg-blue-500 absolute bottom-0 left-0 w-full z-10 px-5 py-1",children:[X.jsxs("button",{className:"text-white bg-blue-600 hover:bg-blue-700 px-2 rounded-md",onClick:()=>{f()},children:[X.jsx(je0,{}),X.jsx("span",{className:"px-1"}),(d==null?void 0:d.name)||"No Session Selected"]}),X.jsx("span",{className:"mx-4"}),X.jsxs("button",{className:"text-white bg-blue-600 hover:bg-blue-700 px-2 rounded-md",onClick:()=>{h()},children:[X.jsx(Ne0,{}),X.jsx("span",{className:"px-1"}),(k==null?void 0:k.name)||"No Node Selected"]})]})},EH0=({open:f,onClose:h,...d})=>X.jsxs("dialog",{className:"fixed z-10 inset-0 overflow-y-auto",open:f,onClose:()=>{h()},children:[X.jsx("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75","aria-hidden":"true"}),X.jsx("div",{className:"flex items-center justify-center",children:X.jsxs("div",{className:"flex flex-col items-center relative bg-white rounded-lg p-4",children:[X.jsx("h3",{className:"pb-4 text-xl font-semibold",children:"Sessions List"}),X.jsx(Me0,{onSessionSelected:()=>{h()}}),X.jsx(us,{backgroundColor:b6,label:"Close",onClick:h,primary:!0})]})})]}),BH0=({onNodeSelected:f,...h})=>{const d=A3(),k=$2(GR0),C=S=>{d(cR0(S)),f()},I=()=>X.jsxs("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{}),X.jsx("th",{className:"px-4 py-2",children:"Name"}),X.jsx("th",{className:"px-4 py-2",children:"Version"}),X.jsx("th",{className:"px-4 py-2",children:"Chain"}),X.jsx("th",{className:"px-4 py-2",children:"Block"}),X.jsx("th",{className:"px-4 py-2",children:"Address"})]})}),X.jsx("tbody",{children:k.map((S,Z)=>X.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>C(S.id),children:[X.jsx("td",{className:"pl-2",children:S.active&&X.jsx(Jg,{})}),X.jsx("td",{className:"px-4 py-2",children:S.name}),X.jsx("td",{className:"px-4 py-2",children:S.version}),X.jsx("td",{className:"px-4 py-2",children:S.chain}),X.jsx("td",{className:"px-4 py-2",children:S.block}),X.jsx("td",{className:"px-4 py-2",children:S.address})]},Z))})]});return X.jsx(X.Fragment,{children:k.length>0&&I()})},IH0=({open:f,onClose:h,...d})=>X.jsxs("dialog",{className:"fixed z-10 inset-0 overflow-y-auto",open:f,onClose:()=>{h()},children:[X.jsx("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75","aria-hidden":"true"}),X.jsx("div",{className:"flex items-center justify-center",children:X.jsxs("div",{className:"flex flex-col items-center relative bg-white rounded-lg p-4",children:[X.jsx("h3",{className:"pb-4 text-xl font-semibold",children:"Nodes List"}),X.jsx(BH0,{onNodeSelected:()=>{h()}}),X.jsx(us,{backgroundColor:b6,label:"Close",onClick:h,primary:!0})]})})]});/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var V1=function(){return V1=Object.assign||function(h){for(var d,k=1,C=arguments.length;k0?vn(y3,--R1):0,$4--,xi===10&&($4=1,Xg--),xi}function $1(){return xi=R12||W6(xi)>3?"":" "}function TH0(f,h){for(;--h&&$1()&&!(xi<48||xi>102||xi>57&&xi<65||xi>70&&xi<97););return lw(f,s5()+(h<6&&ls()==32&&$1()==32))}function iS(f){for(;$1();)switch(xi){case f:return R1;case 34:case 39:f!==34&&f!==39&&iS(xi);break;case 40:f===41&&iS(f);break;case 92:$1();break}return R1}function FH0(f,h){for(;$1()&&f+xi!==47+10;)if(f+xi===42+42&&ls()===47)break;return"/*"+lw(h,R1-1)+"*"+Ug(f===47?f:$1())}function PH0(f){for(;!W6(ls());)$1();return lw(f,R1)}function aU(f){return Oe0(u5("",null,null,null,[""],f=Ye0(f),0,[0],f))}function u5(f,h,d,k,C,I,S,Z,R){for(var M=0,Q=0,O=S,e0=0,o0=0,A0=0,l0=1,w0=1,u0=1,a0=0,c0="",y0=C,C0=I,I0=k,h0=c0;w0;)switch(A0=a0,a0=$1()){case 40:if(A0!=108&&vn(h0,O-1)==58){tS(h0+=Or(A5(a0),"&","&\f"),"&\f")!=-1&&(u0=-1);break}case 34:case 39:case 91:h0+=A5(a0);break;case 9:case 10:case 13:case 32:h0+=QH0(A0);break;case 92:h0+=TH0(s5()-1,7);continue;case 47:switch(ls()){case 42:case 47:Sv(YH0(FH0($1(),s5()),h,d),R);break;default:h0+="/"}break;case 123*l0:Z[M++]=ql(h0)*u0;case 125*l0:case 59:case 0:switch(a0){case 0:case 125:w0=0;case 59+Q:o0>0&&ql(h0)-O&&Sv(o0>32?hU(h0+";",k,d,O-1):hU(Or(h0," ","")+";",k,d,O-2),R);break;case 59:h0+=";";default:if(Sv(I0=cU(h0,h,d,M,Q,C,Z,c0,y0=[],C0=[],O),I),a0===123)if(Q===0)u5(h0,h,I0,I0,y0,I,O,Z,C0);else switch(e0===99&&vn(h0,3)===110?100:e0){case 100:case 109:case 115:u5(f,I0,I0,k&&Sv(cU(f,I0,I0,0,0,C,Z,c0,C,y0=[],O),C0),C,C0,O,Z,k?y0:C0);break;default:u5(h0,I0,I0,I0,[""],C0,0,Z,C0)}}M=Q=o0=0,l0=u0=1,c0=h0="",O=S;break;case 58:O=1+ql(h0),o0=A0;default:if(l0<1){if(a0==123)--l0;else if(a0==125&&l0++==0&&NH0()==125)continue}switch(h0+=Ug(a0),a0*l0){case 38:u0=Q>0?1:(h0+="\f",-1);break;case 44:Z[M++]=(ql(h0)-1)*u0,u0=1;break;case 64:ls()===45&&(h0+=A5($1())),e0=ls(),Q=O=ql(c0=h0+=PH0(s5())),a0++;break;case 45:A0===45&&ql(h0)==2&&(l0=0)}}return I}function cU(f,h,d,k,C,I,S,Z,R,M,Q){for(var O=C-1,e0=C===0?I:[""],o0=CL(e0),A0=0,l0=0,w0=0;A00?e0[u0]+" "+a0:Or(a0,/&\f/g,e0[u0])))&&(R[w0++]=c0);return qg(f,h,d,C===0?gL:Z,R,M,Q)}function YH0(f,h,d){return qg(f,h,d,Qe0,Ug(jH0()),Z6(f,2,-2),0)}function hU(f,h,d,k){return qg(f,h,d,yL,Z6(f,0,k),Z6(f,k+1,-1),k)}function fa(f,h){for(var d="",k=CL(f),C=0;C6)switch(vn(f,h+1)){case 109:if(vn(f,h+4)!==45)break;case 102:return Or(f,/(.+:)(.+)-([^]+)/,"$1"+Dr+"$2-$3$1"+vm+(vn(f,h+3)==108?"$3":"$2-$3"))+f;case 115:return~tS(f,"stretch")?Ve0(Or(f,"stretch","fill-available"),h)+f:f}break;case 4949:if(vn(f,h+1)!==115)break;case 6444:switch(vn(f,ql(f)-3-(~tS(f,"!important")&&10))){case 107:return Or(f,":",":"+Dr)+f;case 101:return Or(f,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Dr+(vn(f,14)===45?"inline-":"")+"box$3$1"+Dr+"$2$3$1"+jn+"$2box$3")+f}break;case 5936:switch(vn(f,h+11)){case 114:return Dr+f+jn+Or(f,/[svh]\w+-[tblr]{2}/,"tb")+f;case 108:return Dr+f+jn+Or(f,/[svh]\w+-[tblr]{2}/,"tb-rl")+f;case 45:return Dr+f+jn+Or(f,/[svh]\w+-[tblr]{2}/,"lr")+f}return Dr+f+jn+f+f}return f}var $H0=function(h,d,k,C){if(h.length>-1&&!h.return)switch(h.type){case yL:h.return=Ve0(h.value,h.length);break;case Te0:return fa([I8(h,{value:Or(h.value,"@","@"+Dr)})],C);case gL:if(h.length)return MH0(h.props,function(I){switch(DH0(I,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fa([I8(h,{props:[Or(I,/:(read-\w+)/,":"+vm+"$1")]})],C);case"::placeholder":return fa([I8(h,{props:[Or(I,/:(plac\w+)/,":"+Dr+"input-$1")]}),I8(h,{props:[Or(I,/:(plac\w+)/,":"+vm+"$1")]}),I8(h,{props:[Or(I,/:(plac\w+)/,jn+"input-$1")]})],C)}return""})}},f5=typeof document<"u",KH0=f5?void 0:VH0(function(){return mL(function(){var f={};return function(h){return f[h]}})}),bH0=[$H0],He0=function(h){var d=h.key;if(f5&&d==="css"){var k=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(k,function(y0){var C0=y0.getAttribute("data-emotion");C0.indexOf(" ")!==-1&&(document.head.appendChild(y0),y0.setAttribute("data-s",""))})}var C=h.stylisPlugins||bH0,I={},S,Z=[];f5&&(S=h.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+d+' "]'),function(y0){for(var C0=y0.getAttribute("data-emotion").split(" "),I0=1;I0=4;++k,C-=4)d=f.charCodeAt(k)&255|(f.charCodeAt(++k)&255)<<8|(f.charCodeAt(++k)&255)<<16|(f.charCodeAt(++k)&255)<<24,d=(d&65535)*1540483477+((d>>>16)*59797<<16),d^=d>>>24,h=(d&65535)*1540483477+((d>>>16)*59797<<16)^(h&65535)*1540483477+((h>>>16)*59797<<16);switch(C){case 3:h^=(f.charCodeAt(k+2)&255)<<16;case 2:h^=(f.charCodeAt(k+1)&255)<<8;case 1:h^=f.charCodeAt(k)&255,h=(h&65535)*1540483477+((h>>>16)*59797<<16)}return h^=h>>>13,h=(h&65535)*1540483477+((h>>>16)*59797<<16),((h^h>>>15)>>>0).toString(36)}var AJ0={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},uJ0=/[A-Z]|^ms/g,fJ0=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Xe0=function(h){return h.charCodeAt(1)===45},vU=function(h){return h!=null&&typeof h!="boolean"},_I=mL(function(f){return Xe0(f)?f:f.replace(uJ0,"-$&").toLowerCase()}),mU=function(h,d){switch(h){case"animation":case"animationName":if(typeof d=="string")return d.replace(fJ0,function(k,C,I){return $l={name:C,styles:I,next:$l},C})}return AJ0[h]!==1&&!Xe0(h)&&typeof d=="number"&&d!==0?d+"px":d};function D6(f,h,d){if(d==null)return"";if(d.__emotion_styles!==void 0)return d;switch(typeof d){case"boolean":return"";case"object":{if(d.anim===1)return $l={name:d.name,styles:d.styles,next:$l},d.name;if(d.styles!==void 0){var k=d.next;if(k!==void 0)for(;k!==void 0;)$l={name:k.name,styles:k.styles,next:$l},k=k.next;var C=d.styles+";";return C}return aJ0(f,h,d)}case"function":{if(f!==void 0){var I=$l,S=d(f);return $l=I,D6(f,h,S)}break}}if(h==null)return d;var Z=h[d];return Z!==void 0?Z:d}function aJ0(f,h,d){var k="";if(Array.isArray(d))for(var C=0;C96?hJ0:wJ0},CU=function(h,d,k){var C;if(d){var I=d.shouldForwardProp;C=h.__emotion_forwardProp&&I?function(S){return h.__emotion_forwardProp(S)&&I(S)}:I}return typeof C!="function"&&k&&(C=h.__emotion_forwardProp),C},dJ0=typeof document<"u",pJ0=function(h){var d=h.cache,k=h.serialized,C=h.isStringTag;Ue0(d,k,C);var I=tJ0(function(){return lJ0(d,k,C)});if(!dJ0&&I!==void 0){for(var S,Z=k.name,R=k.next;R!==void 0;)Z+=" "+R.name,R=R.next;return T0.createElement("style",(S={},S["data-emotion"]=d.key+" "+Z,S.dangerouslySetInnerHTML={__html:I},S.nonce=d.sheet.nonce,S))}return null},kJ0=function f(h,d){var k=h.__emotion_real===h,C=k&&h.__emotion_base||h,I,S;d!==void 0&&(I=d.label,S=d.target);var Z=CU(h,d,k),R=Z||yU(C),M=!R("as");return function(){var Q=arguments,O=k&&h.__emotion_styles!==void 0?h.__emotion_styles.slice(0):[];if(I!==void 0&&O.push("label:"+I+";"),Q[0]==null||Q[0].raw===void 0)O.push.apply(O,Q);else{O.push(Q[0][0]);for(var e0=Q.length,o0=1;o0"u")return!1;var h=Po(f).ShadowRoot;return f instanceof h||f instanceof ShadowRoot}function XJ0(f){var h=f.state;Object.keys(h.elements).forEach(function(d){var k=h.styles[d]||{},C=h.attributes[d]||{},I=h.elements[d];!Go(I)||!fs(I)||(Object.assign(I.style,k),Object.keys(C).forEach(function(S){var Z=C[S];Z===!1?I.removeAttribute(S):I.setAttribute(S,Z===!0?"":Z)}))})}function qJ0(f){var h=f.state,d={popper:{position:h.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(h.elements.popper.style,d.popper),h.styles=d,h.elements.arrow&&Object.assign(h.elements.arrow.style,d.arrow),function(){Object.keys(h.elements).forEach(function(k){var C=h.elements[k],I=h.attributes[k]||{},S=Object.keys(h.styles.hasOwnProperty(k)?h.styles[k]:d[k]),Z=S.reduce(function(R,M){return R[M]="",R},{});!Go(C)||!fs(C)||(Object.assign(C.style,Z),Object.keys(I).forEach(function(R){C.removeAttribute(R)}))})}}var $J0={name:"applyStyles",enabled:!0,phase:"write",fn:XJ0,effect:qJ0,requires:["computeStyles"]};function ss(f){return f.split("-")[0]}var aa=Math.max,ym=Math.min,b4=Math.round;function oS(){var f=navigator.userAgentData;return f!=null&&f.brands?f.brands.map(function(h){return h.brand+"/"+h.version}).join(" "):navigator.userAgent}function o20(){return!/^((?!chrome|android).)*safari/i.test(oS())}function e3(f,h,d){h===void 0&&(h=!1),d===void 0&&(d=!1);var k=f.getBoundingClientRect(),C=1,I=1;h&&Go(f)&&(C=f.offsetWidth>0&&b4(k.width)/f.offsetWidth||1,I=f.offsetHeight>0&&b4(k.height)/f.offsetHeight||1);var S=ya(f)?Po(f):window,Z=S.visualViewport,R=!o20()&&d,M=(k.left+(R&&Z?Z.offsetLeft:0))/C,Q=(k.top+(R&&Z?Z.offsetTop:0))/I,O=k.width/C,e0=k.height/I;return{width:O,height:e0,top:Q,right:M+O,bottom:Q+e0,left:M,x:M,y:Q}}function xL(f){var h=e3(f),d=f.offsetWidth,k=f.offsetHeight;return Math.abs(h.width-d)<=1&&(d=h.width),Math.abs(h.height-k)<=1&&(k=h.height),{x:f.offsetLeft,y:f.offsetTop,width:d,height:k}}function l20(f,h){var d=h.getRootNode&&h.getRootNode();if(f.contains(h))return!0;if(d&&IL(d)){var k=h;do{if(k&&f.isSameNode(k))return!0;k=k.parentNode||k.host}while(k)}return!1}function eA(f){return Po(f).getComputedStyle(f)}function KJ0(f){return["table","td","th"].indexOf(fs(f))>=0}function Vu(f){return((ya(f)?f.ownerDocument:f.document)||window.document).documentElement}function Kg(f){return fs(f)==="html"?f:f.assignedSlot||f.parentNode||(IL(f)?f.host:null)||Vu(f)}function NU(f){return!Go(f)||eA(f).position==="fixed"?null:f.offsetParent}function bJ0(f){var h=/firefox/i.test(oS()),d=/Trident/i.test(oS());if(d&&Go(f)){var k=eA(f);if(k.position==="fixed")return null}var C=Kg(f);for(IL(C)&&(C=C.host);Go(C)&&["html","body"].indexOf(fs(C))<0;){var I=eA(C);if(I.transform!=="none"||I.perspective!=="none"||I.contain==="paint"||["transform","perspective"].indexOf(I.willChange)!==-1||h&&I.willChange==="filter"||h&&I.filter&&I.filter!=="none")return C;C=C.parentNode}return null}function Aw(f){for(var h=Po(f),d=NU(f);d&&KJ0(d)&&eA(d).position==="static";)d=NU(d);return d&&(fs(d)==="html"||fs(d)==="body"&&eA(d).position==="static")?h:d||bJ0(f)||h}function SL(f){return["top","bottom"].indexOf(f)>=0?"x":"y"}function n6(f,h,d){return aa(f,ym(h,d))}function eU0(f,h,d){var k=n6(f,h,d);return k>d?d:k}function s20(){return{top:0,right:0,bottom:0,left:0}}function A20(f){return Object.assign({},s20(),f)}function u20(f,h){return h.reduce(function(d,k){return d[k]=f,d},{})}var rU0=function(h,d){return h=typeof h=="function"?h(Object.assign({},d.rects,{placement:d.placement})):h,A20(typeof h!="number"?h:u20(h,sw))};function tU0(f){var h,d=f.state,k=f.name,C=f.options,I=d.elements.arrow,S=d.modifiersData.popperOffsets,Z=ss(d.placement),R=SL(Z),M=[z1,jo].indexOf(Z)>=0,Q=M?"height":"width";if(!(!I||!S)){var O=rU0(C.padding,d),e0=xL(I),o0=R==="y"?_1:z1,A0=R==="y"?Mo:jo,l0=d.rects.reference[Q]+d.rects.reference[R]-S[R]-d.rects.popper[Q],w0=S[R]-d.rects.reference[R],u0=Aw(I),a0=u0?R==="y"?u0.clientHeight||0:u0.clientWidth||0:0,c0=l0/2-w0/2,y0=O[o0],C0=a0-e0[Q]-O[A0],I0=a0/2-e0[Q]/2+c0,h0=n6(y0,I0,C0),E0=R;d.modifiersData[k]=(h={},h[E0]=h0,h.centerOffset=h0-I0,h)}}function iU0(f){var h=f.state,d=f.options,k=d.element,C=k===void 0?"[data-popper-arrow]":k;C!=null&&(typeof C=="string"&&(C=h.elements.popper.querySelector(C),!C)||l20(h.elements.popper,C)&&(h.elements.arrow=C))}var nU0={name:"arrow",enabled:!0,phase:"main",fn:tU0,effect:iU0,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function r3(f){return f.split("-")[1]}var oU0={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lU0(f){var h=f.x,d=f.y,k=window,C=k.devicePixelRatio||1;return{x:b4(h*C)/C||0,y:b4(d*C)/C||0}}function QU(f){var h,d=f.popper,k=f.popperRect,C=f.placement,I=f.variation,S=f.offsets,Z=f.position,R=f.gpuAcceleration,M=f.adaptive,Q=f.roundOffsets,O=f.isFixed,e0=S.x,o0=e0===void 0?0:e0,A0=S.y,l0=A0===void 0?0:A0,w0=typeof Q=="function"?Q({x:o0,y:l0}):{x:o0,y:l0};o0=w0.x,l0=w0.y;var u0=S.hasOwnProperty("x"),a0=S.hasOwnProperty("y"),c0=z1,y0=_1,C0=window;if(M){var I0=Aw(d),h0="clientHeight",E0="clientWidth";if(I0===Po(d)&&(I0=Vu(d),eA(I0).position!=="static"&&Z==="absolute"&&(h0="scrollHeight",E0="scrollWidth")),I0=I0,C===_1||(C===z1||C===jo)&&I===M6){y0=Mo;var z0=O&&I0===C0&&C0.visualViewport?C0.visualViewport.height:I0[h0];l0-=z0-k.height,l0*=R?1:-1}if(C===z1||(C===_1||C===Mo)&&I===M6){c0=jo;var W0=O&&I0===C0&&C0.visualViewport?C0.visualViewport.width:I0[E0];o0-=W0-k.width,o0*=R?1:-1}}var P0=Object.assign({position:Z},M&&oU0),R0=Q===!0?lU0({x:o0,y:l0}):{x:o0,y:l0};if(o0=R0.x,l0=R0.y,R){var Q0;return Object.assign({},P0,(Q0={},Q0[y0]=a0?"0":"",Q0[c0]=u0?"0":"",Q0.transform=(C0.devicePixelRatio||1)<=1?"translate("+o0+"px, "+l0+"px)":"translate3d("+o0+"px, "+l0+"px, 0)",Q0))}return Object.assign({},P0,(h={},h[y0]=a0?l0+"px":"",h[c0]=u0?o0+"px":"",h.transform="",h))}function sU0(f){var h=f.state,d=f.options,k=d.gpuAcceleration,C=k===void 0?!0:k,I=d.adaptive,S=I===void 0?!0:I,Z=d.roundOffsets,R=Z===void 0?!0:Z,M={placement:ss(h.placement),variation:r3(h.placement),popper:h.elements.popper,popperRect:h.rects.popper,gpuAcceleration:C,isFixed:h.options.strategy==="fixed"};h.modifiersData.popperOffsets!=null&&(h.styles.popper=Object.assign({},h.styles.popper,QU(Object.assign({},M,{offsets:h.modifiersData.popperOffsets,position:h.options.strategy,adaptive:S,roundOffsets:R})))),h.modifiersData.arrow!=null&&(h.styles.arrow=Object.assign({},h.styles.arrow,QU(Object.assign({},M,{offsets:h.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:R})))),h.attributes.popper=Object.assign({},h.attributes.popper,{"data-popper-placement":h.placement})}var AU0={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:sU0,data:{}},_v={passive:!0};function uU0(f){var h=f.state,d=f.instance,k=f.options,C=k.scroll,I=C===void 0?!0:C,S=k.resize,Z=S===void 0?!0:S,R=Po(h.elements.popper),M=[].concat(h.scrollParents.reference,h.scrollParents.popper);return I&&M.forEach(function(Q){Q.addEventListener("scroll",d.update,_v)}),Z&&R.addEventListener("resize",d.update,_v),function(){I&&M.forEach(function(Q){Q.removeEventListener("scroll",d.update,_v)}),Z&&R.removeEventListener("resize",d.update,_v)}}var fU0={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:uU0,data:{}},aU0={left:"right",right:"left",bottom:"top",top:"bottom"};function a5(f){return f.replace(/left|right|bottom|top/g,function(h){return aU0[h]})}var cU0={start:"end",end:"start"};function TU(f){return f.replace(/start|end/g,function(h){return cU0[h]})}function _L(f){var h=Po(f),d=h.pageXOffset,k=h.pageYOffset;return{scrollLeft:d,scrollTop:k}}function zL(f){return e3(Vu(f)).left+_L(f).scrollLeft}function hU0(f,h){var d=Po(f),k=Vu(f),C=d.visualViewport,I=k.clientWidth,S=k.clientHeight,Z=0,R=0;if(C){I=C.width,S=C.height;var M=o20();(M||!M&&h==="fixed")&&(Z=C.offsetLeft,R=C.offsetTop)}return{width:I,height:S,x:Z+zL(f),y:R}}function wU0(f){var h,d=Vu(f),k=_L(f),C=(h=f.ownerDocument)==null?void 0:h.body,I=aa(d.scrollWidth,d.clientWidth,C?C.scrollWidth:0,C?C.clientWidth:0),S=aa(d.scrollHeight,d.clientHeight,C?C.scrollHeight:0,C?C.clientHeight:0),Z=-k.scrollLeft+zL(f),R=-k.scrollTop;return eA(C||d).direction==="rtl"&&(Z+=aa(d.clientWidth,C?C.clientWidth:0)-I),{width:I,height:S,x:Z,y:R}}function LL(f){var h=eA(f),d=h.overflow,k=h.overflowX,C=h.overflowY;return/auto|scroll|overlay|hidden/.test(d+C+k)}function f20(f){return["html","body","#document"].indexOf(fs(f))>=0?f.ownerDocument.body:Go(f)&&LL(f)?f:f20(Kg(f))}function o6(f,h){var d;h===void 0&&(h=[]);var k=f20(f),C=k===((d=f.ownerDocument)==null?void 0:d.body),I=Po(k),S=C?[I].concat(I.visualViewport||[],LL(k)?k:[]):k,Z=h.concat(S);return C?Z:Z.concat(o6(Kg(S)))}function lS(f){return Object.assign({},f,{left:f.x,top:f.y,right:f.x+f.width,bottom:f.y+f.height})}function dU0(f,h){var d=e3(f,!1,h==="fixed");return d.top=d.top+f.clientTop,d.left=d.left+f.clientLeft,d.bottom=d.top+f.clientHeight,d.right=d.left+f.clientWidth,d.width=f.clientWidth,d.height=f.clientHeight,d.x=d.left,d.y=d.top,d}function FU(f,h,d){return h===i20?lS(hU0(f,d)):ya(h)?dU0(h,d):lS(wU0(Vu(f)))}function pU0(f){var h=o6(Kg(f)),d=["absolute","fixed"].indexOf(eA(f).position)>=0,k=d&&Go(f)?Aw(f):f;return ya(k)?h.filter(function(C){return ya(C)&&l20(C,k)&&fs(C)!=="body"}):[]}function kU0(f,h,d,k){var C=h==="clippingParents"?pU0(f):[].concat(h),I=[].concat(C,[d]),S=I[0],Z=I.reduce(function(R,M){var Q=FU(f,M,k);return R.top=aa(Q.top,R.top),R.right=ym(Q.right,R.right),R.bottom=ym(Q.bottom,R.bottom),R.left=aa(Q.left,R.left),R},FU(f,S,k));return Z.width=Z.right-Z.left,Z.height=Z.bottom-Z.top,Z.x=Z.left,Z.y=Z.top,Z}function a20(f){var h=f.reference,d=f.element,k=f.placement,C=k?ss(k):null,I=k?r3(k):null,S=h.x+h.width/2-d.width/2,Z=h.y+h.height/2-d.height/2,R;switch(C){case _1:R={x:S,y:h.y-d.height};break;case Mo:R={x:S,y:h.y+h.height};break;case jo:R={x:h.x+h.width,y:Z};break;case z1:R={x:h.x-d.width,y:Z};break;default:R={x:h.x,y:h.y}}var M=C?SL(C):null;if(M!=null){var Q=M==="y"?"height":"width";switch(I){case K4:R[M]=R[M]-(h[Q]/2-d[Q]/2);break;case M6:R[M]=R[M]+(h[Q]/2-d[Q]/2);break}}return R}function j6(f,h){h===void 0&&(h={});var d=h,k=d.placement,C=k===void 0?f.placement:k,I=d.strategy,S=I===void 0?f.strategy:I,Z=d.boundary,R=Z===void 0?jJ0:Z,M=d.rootBoundary,Q=M===void 0?i20:M,O=d.elementContext,e0=O===void 0?x8:O,o0=d.altBoundary,A0=o0===void 0?!1:o0,l0=d.padding,w0=l0===void 0?0:l0,u0=A20(typeof w0!="number"?w0:u20(w0,sw)),a0=e0===x8?NJ0:x8,c0=f.rects.popper,y0=f.elements[A0?a0:e0],C0=kU0(ya(y0)?y0:y0.contextElement||Vu(f.elements.popper),R,Q,S),I0=e3(f.elements.reference),h0=a20({reference:I0,element:c0,strategy:"absolute",placement:C}),E0=lS(Object.assign({},c0,h0)),z0=e0===x8?E0:I0,W0={top:C0.top-z0.top+u0.top,bottom:z0.bottom-C0.bottom+u0.bottom,left:C0.left-z0.left+u0.left,right:z0.right-C0.right+u0.right},P0=f.modifiersData.offset;if(e0===x8&&P0){var R0=P0[C];Object.keys(W0).forEach(function(Q0){var q0=[jo,Mo].indexOf(Q0)>=0?1:-1,fe=[_1,Mo].indexOf(Q0)>=0?"y":"x";W0[Q0]+=R0[fe]*q0})}return W0}function vU0(f,h){h===void 0&&(h={});var d=h,k=d.placement,C=d.boundary,I=d.rootBoundary,S=d.padding,Z=d.flipVariations,R=d.allowedAutoPlacements,M=R===void 0?n20:R,Q=r3(k),O=Q?Z?jU:jU.filter(function(A0){return r3(A0)===Q}):sw,e0=O.filter(function(A0){return M.indexOf(A0)>=0});e0.length===0&&(e0=O);var o0=e0.reduce(function(A0,l0){return A0[l0]=j6(f,{placement:l0,boundary:C,rootBoundary:I,padding:S})[ss(l0)],A0},{});return Object.keys(o0).sort(function(A0,l0){return o0[A0]-o0[l0]})}function mU0(f){if(ss(f)===BL)return[];var h=a5(f);return[TU(f),h,TU(h)]}function gU0(f){var h=f.state,d=f.options,k=f.name;if(!h.modifiersData[k]._skip){for(var C=d.mainAxis,I=C===void 0?!0:C,S=d.altAxis,Z=S===void 0?!0:S,R=d.fallbackPlacements,M=d.padding,Q=d.boundary,O=d.rootBoundary,e0=d.altBoundary,o0=d.flipVariations,A0=o0===void 0?!0:o0,l0=d.allowedAutoPlacements,w0=h.options.placement,u0=ss(w0),a0=u0===w0,c0=R||(a0||!A0?[a5(w0)]:mU0(w0)),y0=[w0].concat(c0).reduce(function(j2,qe){return j2.concat(ss(qe)===BL?vU0(h,{placement:qe,boundary:Q,rootBoundary:O,padding:M,flipVariations:A0,allowedAutoPlacements:l0}):qe)},[]),C0=h.rects.reference,I0=h.rects.popper,h0=new Map,E0=!0,z0=y0[0],W0=0;W0=0,fe=q0?"width":"height",de=j6(h,{placement:P0,boundary:Q,rootBoundary:O,altBoundary:e0,padding:M}),Se=q0?Q0?jo:z1:Q0?Mo:_1;C0[fe]>I0[fe]&&(Se=a5(Se));var we=a5(Se),Ie=[];if(I&&Ie.push(de[R0]<=0),Z&&Ie.push(de[Se]<=0,de[we]<=0),Ie.every(function(j2){return j2})){z0=P0,E0=!1;break}h0.set(P0,Ie)}if(E0)for(var Ne=A0?3:1,c2=function(qe){var ye=y0.find(function(Be){var Ce=h0.get(Be);if(Ce)return Ce.slice(0,qe).every(function(_e){return _e})});if(ye)return z0=ye,"break"},f2=Ne;f2>0;f2--){var H2=c2(f2);if(H2==="break")break}h.placement!==z0&&(h.modifiersData[k]._skip=!0,h.placement=z0,h.reset=!0)}}var yU0={name:"flip",enabled:!0,phase:"main",fn:gU0,requiresIfExists:["offset"],data:{_skip:!1}};function PU(f,h,d){return d===void 0&&(d={x:0,y:0}),{top:f.top-h.height-d.y,right:f.right-h.width+d.x,bottom:f.bottom-h.height+d.y,left:f.left-h.width-d.x}}function YU(f){return[_1,jo,Mo,z1].some(function(h){return f[h]>=0})}function CU0(f){var h=f.state,d=f.name,k=h.rects.reference,C=h.rects.popper,I=h.modifiersData.preventOverflow,S=j6(h,{elementContext:"reference"}),Z=j6(h,{altBoundary:!0}),R=PU(S,k),M=PU(Z,C,I),Q=YU(R),O=YU(M);h.modifiersData[d]={referenceClippingOffsets:R,popperEscapeOffsets:M,isReferenceHidden:Q,hasPopperEscaped:O},h.attributes.popper=Object.assign({},h.attributes.popper,{"data-popper-reference-hidden":Q,"data-popper-escaped":O})}var EU0={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:CU0};function BU0(f,h,d){var k=ss(f),C=[z1,_1].indexOf(k)>=0?-1:1,I=typeof d=="function"?d(Object.assign({},h,{placement:f})):d,S=I[0],Z=I[1];return S=S||0,Z=(Z||0)*C,[z1,jo].indexOf(k)>=0?{x:Z,y:S}:{x:S,y:Z}}function IU0(f){var h=f.state,d=f.options,k=f.name,C=d.offset,I=C===void 0?[0,0]:C,S=n20.reduce(function(Q,O){return Q[O]=BU0(O,h.rects,I),Q},{}),Z=S[h.placement],R=Z.x,M=Z.y;h.modifiersData.popperOffsets!=null&&(h.modifiersData.popperOffsets.x+=R,h.modifiersData.popperOffsets.y+=M),h.modifiersData[k]=S}var xU0={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:IU0};function SU0(f){var h=f.state,d=f.name;h.modifiersData[d]=a20({reference:h.rects.reference,element:h.rects.popper,strategy:"absolute",placement:h.placement})}var _U0={name:"popperOffsets",enabled:!0,phase:"read",fn:SU0,data:{}};function zU0(f){return f==="x"?"y":"x"}function LU0(f){var h=f.state,d=f.options,k=f.name,C=d.mainAxis,I=C===void 0?!0:C,S=d.altAxis,Z=S===void 0?!1:S,R=d.boundary,M=d.rootBoundary,Q=d.altBoundary,O=d.padding,e0=d.tether,o0=e0===void 0?!0:e0,A0=d.tetherOffset,l0=A0===void 0?0:A0,w0=j6(h,{boundary:R,rootBoundary:M,padding:O,altBoundary:Q}),u0=ss(h.placement),a0=r3(h.placement),c0=!a0,y0=SL(u0),C0=zU0(y0),I0=h.modifiersData.popperOffsets,h0=h.rects.reference,E0=h.rects.popper,z0=typeof l0=="function"?l0(Object.assign({},h.rects,{placement:h.placement})):l0,W0=typeof z0=="number"?{mainAxis:z0,altAxis:z0}:Object.assign({mainAxis:0,altAxis:0},z0),P0=h.modifiersData.offset?h.modifiersData.offset[h.placement]:null,R0={x:0,y:0};if(I0){if(I){var Q0,q0=y0==="y"?_1:z1,fe=y0==="y"?Mo:jo,de=y0==="y"?"height":"width",Se=I0[y0],we=Se+w0[q0],Ie=Se-w0[fe],Ne=o0?-E0[de]/2:0,c2=a0===K4?h0[de]:E0[de],f2=a0===K4?-E0[de]:-h0[de],H2=h.elements.arrow,j2=o0&&H2?xL(H2):{width:0,height:0},qe=h.modifiersData["arrow#persistent"]?h.modifiersData["arrow#persistent"].padding:s20(),ye=qe[q0],Be=qe[fe],Ce=n6(0,h0[de],j2[de]),_e=c0?h0[de]/2-Ne-Ce-ye-W0.mainAxis:c2-Ce-ye-W0.mainAxis,ae=c0?-h0[de]/2+Ne+Ce+Be+W0.mainAxis:f2+Ce+Be+W0.mainAxis,Ue=h.elements.arrow&&Aw(h.elements.arrow),Ye=Ue?y0==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,He=(Q0=P0==null?void 0:P0[y0])!=null?Q0:0,Ee=Se+_e-He-Ye,xe=Se+ae-He,Pe=n6(o0?ym(we,Ee):we,Se,o0?aa(Ie,xe):Ie);I0[y0]=Pe,R0[y0]=Pe-Se}if(Z){var je,r2=y0==="x"?_1:z1,n2=y0==="x"?Mo:jo,h2=I0[C0],N2=C0==="y"?"height":"width",b2=h2+w0[r2],mr=h2-w0[n2],xr=[_1,z1].indexOf(u0)!==-1,tt=(je=P0==null?void 0:P0[C0])!=null?je:0,nn=xr?b2:h2-h0[N2]-E0[N2]-tt+W0.altAxis,Ji=xr?h2+h0[N2]+E0[N2]-tt-W0.altAxis:mr,ki=o0&&xr?eU0(nn,h2,Ji):n6(o0?nn:b2,h2,o0?Ji:mr);I0[C0]=ki,R0[C0]=ki-h2}h.modifiersData[k]=R0}}var RU0={name:"preventOverflow",enabled:!0,phase:"main",fn:LU0,requiresIfExists:["offset"]};function GU0(f){return{scrollLeft:f.scrollLeft,scrollTop:f.scrollTop}}function ZU0(f){return f===Po(f)||!Go(f)?_L(f):GU0(f)}function WU0(f){var h=f.getBoundingClientRect(),d=b4(h.width)/f.offsetWidth||1,k=b4(h.height)/f.offsetHeight||1;return d!==1||k!==1}function DU0(f,h,d){d===void 0&&(d=!1);var k=Go(h),C=Go(h)&&WU0(h),I=Vu(h),S=e3(f,C,d),Z={scrollLeft:0,scrollTop:0},R={x:0,y:0};return(k||!k&&!d)&&((fs(h)!=="body"||LL(I))&&(Z=ZU0(h)),Go(h)?(R=e3(h,!0),R.x+=h.clientLeft,R.y+=h.clientTop):I&&(R.x=zL(I))),{x:S.left+Z.scrollLeft-R.x,y:S.top+Z.scrollTop-R.y,width:S.width,height:S.height}}function MU0(f){var h=new Map,d=new Set,k=[];f.forEach(function(I){h.set(I.name,I)});function C(I){d.add(I.name);var S=[].concat(I.requires||[],I.requiresIfExists||[]);S.forEach(function(Z){if(!d.has(Z)){var R=h.get(Z);R&&C(R)}}),k.push(I)}return f.forEach(function(I){d.has(I.name)||C(I)}),k}function jU0(f){var h=MU0(f);return UJ0.reduce(function(d,k){return d.concat(h.filter(function(C){return C.phase===k}))},[])}function NU0(f){var h;return function(){return h||(h=new Promise(function(d){Promise.resolve().then(function(){h=void 0,d(f())})})),h}}function QU0(f){var h=f.reduce(function(d,k){var C=d[k.name];return d[k.name]=C?Object.assign({},C,k,{options:Object.assign({},C.options,k.options),data:Object.assign({},C.data,k.data)}):k,d},{});return Object.keys(h).map(function(d){return h[d]})}var OU={placement:"bottom",modifiers:[],strategy:"absolute"};function VU(){for(var f=arguments.length,h=new Array(f),d=0;d .`,` { - `,`; - - `,`; - } -`],[` - position: relative; - width: 100%; - - `,`; - - `,`; - - > .`,` { - `,`; - - `,`; - } -`])),function(f){var h=f.menuItemStyles;return h},function(f){var h=f.rootStyles;return h},jr.button,function(f){var h=f.level,d=f.disabled,k=f.active,C=f.collapsed,I=f.rtl;return c20({level:h,disabled:d,active:k,collapsed:C,rtl:I})},function(f){var h=f.buttonStyles;return h}),HU0=function(f,h){var d,k=f.children,C=f.className,I=f.label,S=f.icon,Z=f.title,R=f.prefix,M=f.suffix,Q=f.open,O=f.defaultOpen,e0=f.active,o0=e0===void 0?!1:e0,A0=f.disabled,l0=A0===void 0?!1:A0,w0=f.rootStyles,u0=f.component,a0=f.onOpenChange,c0=f.onClick,y0=f.onKeyUp,C0=ga(f,["children","className","label","icon","title","prefix","suffix","open","defaultOpen","active","disabled","rootStyles","component","onOpenChange","onClick","onKeyUp"]),I0=Je.useContext(gm),h0=Je.useContext($g),E0=h0.collapsed,z0=h0.rtl,W0=h0.transitionDuration,P0=EL(),R0=P0.renderExpandIcon,Q0=P0.closeOnClick,q0=P0.menuItemStyles,fe=P0.transitionDuration,de=Je.useState(!!O),Se=de[0],we=de[1],Ie=Je.useState(!1),Ne=Ie[0],c2=Ie[1],f2=Je.useState(!1),H2=f2[0],j2=f2[1],qe=Je.useRef(null),ye=Je.useRef(null),Be=Je.useRef(),Ce=YU0({level:I0,buttonRef:qe,contentRef:ye}).popperInstance,_e=Je.useCallback(function(){var Pe,je=ye.current;if(je){var r2=(Pe=je==null?void 0:je.querySelector(".".concat(jr.subMenuContent," > ul")))===null||Pe===void 0?void 0:Pe.clientHeight;je.style.overflow="hidden",je.style.height="".concat(r2,"px"),Be.current=setTimeout(function(){je.style.overflow="auto",je.style.height="auto"},fe)}},[fe]),ae=function(){var Pe,je=ye.current;if(je){var r2=(Pe=je==null?void 0:je.querySelector(".".concat(jr.subMenuContent," > ul")))===null||Pe===void 0?void 0:Pe.clientHeight;je.style.overflow="hidden",je.style.height="".concat(r2,"px"),je.offsetHeight,je.style.height="0px"}},Ue=function(){I0===0&&E0||(typeof Q>"u"?(clearTimeout(Number(Be.current)),Se?ae():_e(),a0==null||a0(!Se),we(!Se)):a0==null||a0(!Q))};Je.useEffect(function(){!(I0===0&&E0)&&typeof Q<"u"&&H2&&(clearTimeout(Number(Be.current)),Q?_e():ae())},[E0,_e,I,I0,a0,Q]);var Ye=function(Pe){c0==null||c0(Pe),Ue()},He=function(Pe){y0==null||y0(Pe),Pe.key==="Enter"&&Ue()},Ee=function(Pe){if(q0){var je={level:I0,disabled:l0,active:o0,isSubmenu:!0,open:Q??Se},r2=q0.root,n2=q0.button,h2=q0.label,N2=q0.icon,b2=q0.prefix,mr=q0.suffix,xr=q0.subMenuContent,tt=q0.SubMenuExpandIcon;switch(Pe){case"root":return typeof r2=="function"?r2(je):r2;case"button":return typeof n2=="function"?n2(je):n2;case"label":return typeof h2=="function"?h2(je):h2;case"icon":return typeof N2=="function"?N2(je):N2;case"prefix":return typeof b2=="function"?b2(je):b2;case"suffix":return typeof mr=="function"?mr(je):mr;case"SubMenuExpandIcon":return typeof tt=="function"?tt(je):tt;case"subMenuContent":return typeof xr=="function"?xr(je):xr;default:return}}};Je.useEffect(function(){setTimeout(function(){return Ce==null?void 0:Ce.update()},W0),E0&&I0===0&&c2(!1)},[E0,I0,z0,W0,Ce]),Je.useEffect(function(){var Pe=function(h2){var N2,b2,mr;!Ne&&(!((N2=qe.current)===null||N2===void 0)&&N2.contains(h2))?c2(!0):(Q0&&!(!((b2=h2.closest(".".concat(jr.menuItemRoot)))===null||b2===void 0)&&b2.classList.contains(jr.subMenuRoot))||!(!((mr=ye.current)===null||mr===void 0)&&mr.contains(h2))&&Ne)&&c2(!1)},je=function(h2){Pe(h2.target)},r2=function(h2){h2.key==="Enter"?Pe(h2.target):h2.key==="Escape"&&c2(!1)},n2=function(){document.removeEventListener("click",je),document.removeEventListener("keyup",r2)};return n2(),E0&&I0===0&&(document.addEventListener("click",je,!1),document.addEventListener("keyup",r2,!1)),function(){n2()}},[E0,I0,Q0,Ne]),Je.useEffect(function(){j2(!0)},[]);var xe=(d={},d[jr.active]=o0,d[jr.disabled]=l0,d[jr.open]=Q??Se,d);return Je.createElement(VU0,{ref:h,className:Yi(jr.menuItemRoot,jr.subMenuRoot,xe,C),menuItemStyles:Ee("root"),level:I0,collapsed:E0,rtl:z0,disabled:l0,active:o0,buttonStyles:Ee("button"),rootStyles:w0},Je.createElement(h20,V1({"data-testid":"".concat(jr.button,"-test-id"),ref:qe,title:Z,className:Yi(jr.button,xe),onClick:Ye,onKeyUp:He,component:u0,tabIndex:0},C0),S&&Je.createElement(e20,{rtl:z0,className:Yi(jr.icon,xe),rootStyles:Ee("icon")},S),R&&Je.createElement(r20,{collapsed:E0,transitionDuration:W0,firstLevel:I0===0,className:Yi(jr.prefix,xe),rtl:z0,rootStyles:Ee("prefix")},R),Je.createElement(be0,{className:Yi(jr.label,xe),rootStyles:Ee("label")},I),M&&Je.createElement(t20,{collapsed:E0,transitionDuration:W0,firstLevel:I0===0,className:Yi(jr.suffix,xe),rootStyles:Ee("suffix")},M),Je.createElement(WJ0,{rtl:z0,className:Yi(jr.SubMenuExpandIcon,xe),collapsed:E0,level:I0,rootStyles:Ee("SubMenuExpandIcon")},R0?R0({level:I0,disabled:l0,active:o0,open:Q??Se}):E0&&I0===0?Je.createElement(MJ0,null):Je.createElement(DJ0,{rtl:z0,open:Q??Se}))),Je.createElement(ZJ0,{ref:ye,openWhenCollapsed:Ne,open:Q??Se,firstLevel:I0===0,collapsed:E0,defaultOpen:Q&&!H2||O,className:Yi(jr.subMenuContent,xe),rootStyles:Ee("subMenuContent")},Je.createElement(gm.Provider,{value:I0+1},k)))},zI=Je.forwardRef(HU0),HU,JU0=rn.li(JU||(JU=Pn([` - width: 100%; - position: relative; - - `,`; - - `,`; - - > .`,` { - `,`; - - `,`; - } -`],[` - width: 100%; - position: relative; - - `,`; - - `,`; - - > .`,` { - `,`; - - `,`; - } -`])),function(f){var h=f.menuItemStyles;return h},function(f){var h=f.rootStyles;return h},jr.button,function(f){var h=f.level,d=f.disabled,k=f.active,C=f.collapsed,I=f.rtl;return c20({level:h,disabled:d,active:k,collapsed:C,rtl:I})},function(f){var h=f.buttonStyles;return h}),UU0=function(f,h){var d,k=f.children,C=f.icon,I=f.className,S=f.prefix,Z=f.suffix,R=f.active,M=R===void 0?!1:R,Q=f.disabled,O=Q===void 0?!1:Q,e0=f.component,o0=f.rootStyles,A0=ga(f,["children","icon","className","prefix","suffix","active","disabled","component","rootStyles"]),l0=Je.useContext(gm),w0=Je.useContext($g),u0=w0.collapsed,a0=w0.rtl,c0=w0.transitionDuration,y0=EL().menuItemStyles,C0=function(h0){if(y0){var E0={level:l0,disabled:O,active:M,isSubmenu:!1},z0=y0.root,W0=y0.button,P0=y0.label,R0=y0.icon,Q0=y0.prefix,q0=y0.suffix;switch(h0){case"root":return typeof z0=="function"?z0(E0):z0;case"button":return typeof W0=="function"?W0(E0):W0;case"label":return typeof P0=="function"?P0(E0):P0;case"icon":return typeof R0=="function"?R0(E0):R0;case"prefix":return typeof Q0=="function"?Q0(E0):Q0;case"suffix":return typeof q0=="function"?q0(E0):q0;default:return}}},I0=(d={},d[jr.active]=M,d[jr.disabled]=O,d);return Je.createElement(JU0,{ref:h,className:Yi(jr.menuItemRoot,I0,I),menuItemStyles:C0("root"),level:l0,collapsed:u0,rtl:a0,disabled:O,active:M,buttonStyles:C0("button"),rootStyles:o0},Je.createElement(h20,V1({className:Yi(jr.button,I0),"data-testid":"".concat(jr.button,"-test-id"),component:e0,tabIndex:0},A0),C&&Je.createElement(e20,{rtl:a0,className:Yi(jr.icon,I0),rootStyles:C0("icon")},C),S&&Je.createElement(r20,{collapsed:u0,transitionDuration:c0,firstLevel:l0===0,className:Yi(jr.prefix,I0),rtl:a0,rootStyles:C0("prefix")},S),Je.createElement(be0,{className:Yi(jr.label,I0),rootStyles:C0("label")},k),Z&&Je.createElement(t20,{collapsed:u0,transitionDuration:c0,firstLevel:l0===0,className:Yi(jr.suffix,I0),rootStyles:C0("suffix")},Z)))},wn=Je.forwardRef(UU0),JU,RL={},XU0=Qr;Object.defineProperty(RL,"__esModule",{value:!0});var w20=RL.default=void 0,qU0=XU0(rt()),$U0=X;w20=RL.default=(0,qU0.default)((0,$U0.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"MenuOutlined");var GL={},KU0=Qr;Object.defineProperty(GL,"__esModule",{value:!0});var d20=GL.default=void 0,bU0=KU0(rt()),eX0=X;d20=GL.default=(0,bU0.default)((0,eX0.jsx)("path",{d:"M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5m3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"PermDataSetting");var ZL={},rX0=Qr;Object.defineProperty(ZL,"__esModule",{value:!0});var p20=ZL.default=void 0,tX0=rX0(rt()),iX0=X;p20=ZL.default=(0,tX0.default)((0,iX0.jsx)("path",{d:"M12 14.67 3.41 6.09 2 7.5l8.5 8.5H4v2h16v-2h-6.5l5.15-5.15c.26.1.55.15.85.15 1.38 0 2.5-1.12 2.5-2.5S20.88 6 19.5 6 17 7.12 17 8.5c0 .35.07.67.2.97z"}),"NetworkPing");var WL={},nX0=Qr;Object.defineProperty(WL,"__esModule",{value:!0});var k20=WL.default=void 0,oX0=nX0(rt()),lX0=X;k20=WL.default=(0,oX0.default)((0,lX0.jsx)("path",{d:"M19 3H4.99C3.89 3 3 3.9 3 5l.01 14c0 1.1.89 2 1.99 2h10l6-6V5c0-1.1-.9-2-2-2M7 8h10v2H7zm5 6H7v-2h5zm2 5.5V14h5.5z"}),"StickyNote2");var DL={},sX0=Qr;Object.defineProperty(DL,"__esModule",{value:!0});var v20=DL.default=void 0,AX0=sX0(rt()),uX0=X;v20=DL.default=(0,AX0.default)((0,uX0.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-8 14H7v-4h4zm0-6H7V7h4zm6 6h-4v-4h4zm0-6h-4V7h4z"}),"Dataset");var ML={},fX0=Qr;Object.defineProperty(ML,"__esModule",{value:!0});var m20=ML.default=void 0,aX0=fX0(rt()),UU=X;m20=ML.default=(0,aX0.default)([(0,UU.jsx)("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6"},"0"),(0,UU.jsx)("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12m0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17"},"1")],"AdminPanelSettings");var jL={},cX0=Qr;Object.defineProperty(jL,"__esModule",{value:!0});var g20=jL.default=void 0,hX0=cX0(rt()),wX0=X;g20=jL.default=(0,hX0.default)((0,wX0.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Sync");var NL={},dX0=Qr;Object.defineProperty(NL,"__esModule",{value:!0});var sS=NL.default=void 0,pX0=dX0(rt()),kX0=X;sS=NL.default=(0,pX0.default)((0,kX0.jsx)("path",{d:"M16.5 13c-1.2 0-3.07.34-4.5 1-1.43-.67-3.3-1-4.5-1C5.33 13 1 14.08 1 16.25V19h22v-2.75c0-2.17-4.33-3.25-6.5-3.25m-4 4.5h-10v-1.25c0-.54 2.56-1.75 5-1.75s5 1.21 5 1.75zm9 0H14v-1.25c0-.46-.2-.86-.52-1.22.88-.3 1.96-.53 3.02-.53 2.44 0 5 1.21 5 1.75zM7.5 12c1.93 0 3.5-1.57 3.5-3.5S9.43 5 7.5 5 4 6.57 4 8.5 5.57 12 7.5 12m0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m9 5.5c1.93 0 3.5-1.57 3.5-3.5S18.43 5 16.5 5 13 6.57 13 8.5s1.57 3.5 3.5 3.5m0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2"}),"PeopleOutline");var QL={},vX0=Qr;Object.defineProperty(QL,"__esModule",{value:!0});var y20=QL.default=void 0,mX0=vX0(rt()),gX0=X;y20=QL.default=(0,mX0.default)((0,gX0.jsx)("path",{d:"M20 3H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6v2H8v2h8v-2h-2v-2h6c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"DesktopWindows");var TL={},yX0=Qr;Object.defineProperty(TL,"__esModule",{value:!0});var C20=TL.default=void 0,CX0=yX0(rt()),EX0=X;C20=TL.default=(0,CX0.default)((0,EX0.jsx)("path",{d:"M15 9H9v6h6zm-2 4h-2v-2h2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2v-2zm-4 6H7V7h10z"}),"Memory");var FL={},BX0=Qr;Object.defineProperty(FL,"__esModule",{value:!0});var E20=FL.default=void 0,IX0=BX0(rt()),xX0=X;E20=FL.default=(0,IX0.default)((0,xX0.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");var PL={},SX0=Qr;Object.defineProperty(PL,"__esModule",{value:!0});var B20=PL.default=void 0,_X0=SX0(rt()),zX0=X;B20=PL.default=(0,_X0.default)((0,zX0.jsx)("path",{d:"M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"}),"ListAlt");var YL={},LX0=Qr;Object.defineProperty(YL,"__esModule",{value:!0});var I20=YL.default=void 0,RX0=LX0(rt()),GX0=X;I20=YL.default=(0,RX0.default)((0,GX0.jsx)("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18c-1.16.41-2 1.51-2 2.82 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82"}),"Route");var OL={},ZX0=Qr;Object.defineProperty(OL,"__esModule",{value:!0});var x20=OL.default=void 0,WX0=ZX0(rt()),DX0=X;x20=OL.default=(0,WX0.default)((0,DX0.jsx)("path",{d:"M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48"}),"Gesture");var VL={},MX0=Qr;Object.defineProperty(VL,"__esModule",{value:!0});var S20=VL.default=void 0,jX0=MX0(rt()),NX0=X;S20=VL.default=(0,jX0.default)((0,NX0.jsx)("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83"}),"Speed");var HL={},QX0=Qr;Object.defineProperty(HL,"__esModule",{value:!0});var _20=HL.default=void 0,TX0=QX0(rt()),FX0=X;_20=HL.default=(0,TX0.default)((0,FX0.jsx)("path",{d:"M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z"}),"AccountTree");var JL={},PX0=Qr;Object.defineProperty(JL,"__esModule",{value:!0});var z20=JL.default=void 0,YX0=PX0(rt()),XU=X;z20=JL.default=(0,YX0.default)([(0,XU.jsx)("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8z"},"0"),(0,XU.jsx)("path",{d:"M20 3h-8c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 8h-8V7h8zM4 12H2v7c0 1.1.9 2 2 2h9v-2H4z"},"1")],"DynamicFeed");var UL={},OX0=Qr;Object.defineProperty(UL,"__esModule",{value:!0});var L20=UL.default=void 0,VX0=OX0(rt()),HX0=X;L20=UL.default=(0,VX0.default)((0,HX0.jsx)("path",{d:"M14.67 5v6.5H9.33V5zm1 6.5H21V5h-5.33zm-1 7.5v-6.5H9.33V19zm1-6.5V19H21v-6.5zm-7.34 0H3V19h5.33zm0-1V5H3v6.5z"}),"ViewModule");var XL={},JX0=Qr;Object.defineProperty(XL,"__esModule",{value:!0});var R20=XL.default=void 0,UX0=JX0(rt()),LI=X;R20=XL.default=(0,UX0.default)([(0,LI.jsx)("path",{d:"m10.1 15.9 1.42-1.42C8.79 12.05 7 10.41 7 8.85 7 7.8 7.8 7 8.85 7c1.11 0 1.54.65 2.68 2h.93c1.12-1.31 1.53-2 2.68-2 .87 0 1.55.54 1.77 1.32.35-.04.68-.06 1-.06.36 0 .7.03 1.03.08C18.7 6.43 17.13 5 15.15 5c-.12 0-.23.03-.35.04.12-.33.2-.67.2-1.04 0-1.66-1.34-3-3-3S9 2.34 9 4c0 .37.08.71.2 1.04-.12-.01-.23-.04-.35-.04C6.69 5 5 6.69 5 8.85c0 2.42 2.04 4.31 5.1 7.05"},"0"),(0,LI.jsx)("path",{d:"M22.5 16.24c-.32-.18-.66-.29-1-.35.07-.1.15-.18.21-.28 1.08-1.87.46-4.18-1.41-5.26-2.09-1.21-4.76-.39-8.65.9l.52 1.94c3.47-1.14 5.79-1.88 7.14-1.1.91.53 1.2 1.61.68 2.53-.56.96-1.33 1-3.07 1.32l-.47.81c.58 1.62.97 2.33.39 3.32-.53.91-1.61 1.2-2.53.68-.06-.03-.11-.09-.17-.13-.3.67-.64 1.24-1.03 1.73.07.04.13.09.2.14 1.87 1.08 4.18.46 5.26-1.41.06-.1.09-.21.14-.32.22.27.48.51.8.69 1.43.83 3.27.34 4.1-1.1s.32-3.29-1.11-4.11"},"1"),(0,LI.jsx)("path",{d:"M12.32 14.01c-.74 3.58-1.27 5.95-2.62 6.73-.91.53-2 .24-2.53-.68-.56-.96-.2-1.66.39-3.32l-.46-.81c-1.7-.31-2.5-.33-3.07-1.32-.53-.91-.24-2 .68-2.53.09-.05.19-.08.29-.11-.35-.56-.64-1.17-.82-1.85-.16.07-.32.14-.48.23-1.87 1.08-2.49 3.39-1.41 5.26.06.1.14.18.21.28-.34.06-.68.17-1 .35-1.43.83-1.93 2.66-1.1 4.1s2.66 1.93 4.1 1.1c.32-.18.58-.42.8-.69.05.11.08.22.14.32 1.08 1.87 3.39 2.49 5.26 1.41 2.09-1.21 2.71-3.93 3.55-7.94z"},"2")],"Diversity2");const XX0=()=>{const[f,h]=T0.useState(!1);return $2(jM0),X.jsx(SJ0,{collapsed:f,style:{height:"100vh",backgroundColor:"#fff"},children:X.jsxs(LJ0,{menuItemStyles:{button:{color:"#2e67eb","&:hover":{backgroundColor:"#2e67eb",color:"#fff"}}},children:[X.jsx(wn,{icon:X.jsx(w20,{}),onClick:()=>{h(!f)}}),X.jsx(wn,{component:X.jsx(dn,{to:"/"}),icon:X.jsx(d20,{}),children:"Process"}),X.jsxs(zI,{label:"Network",icon:X.jsx(p20,{}),children:[X.jsx(wn,{component:X.jsx(dn,{to:"/sentry-network"}),icon:X.jsx(sS,{}),children:"eth/6x P2P"}),X.jsx(wn,{component:X.jsx(dn,{to:"/sentinel-network"}),icon:X.jsx(sS,{}),children:"Beacon chain P2P"}),X.jsx(wn,{component:X.jsx(dn,{to:"/downloader"}),icon:X.jsx(g20,{}),children:"Downloader"})]}),X.jsx(wn,{component:X.jsx(dn,{to:"/logs"}),icon:X.jsx(k20,{}),children:"Logs"}),X.jsx(wn,{component:X.jsx(dn,{to:"/data"}),icon:X.jsx(v20,{}),children:"Data"}),X.jsxs(zI,{label:"System Info",icon:X.jsx(y20,{}),children:[X.jsx(wn,{component:X.jsx(dn,{to:"/sysinfo"}),icon:X.jsx(E20,{}),children:"Info"}),X.jsx(wn,{component:X.jsx(dn,{to:"/cpu-info"}),icon:X.jsx(C20,{}),children:"CPU"}),X.jsx(wn,{component:X.jsx(dn,{to:"/processes"}),icon:X.jsx(B20,{}),children:"Processes"})]}),X.jsxs(zI,{label:"Profile",icon:X.jsx(S20,{}),children:[X.jsx(wn,{component:X.jsx(dn,{to:"/goroutine"}),icon:X.jsx(I20,{}),children:"Goroutine"}),X.jsx(wn,{component:X.jsx(dn,{to:"/threadcreate"}),icon:X.jsx(x20,{}),children:"Thread Create"}),X.jsx(wn,{component:X.jsx(dn,{to:"/heap"}),icon:X.jsx(_20,{}),children:"Heap"}),X.jsx(wn,{component:X.jsx(dn,{to:"/allocs"}),icon:X.jsx(z20,{}),children:"Allocs"}),X.jsx(wn,{component:X.jsx(dn,{to:"/block"}),icon:X.jsx(L20,{}),children:"Block"}),X.jsx(wn,{component:X.jsx(dn,{to:"/mutex"}),icon:X.jsx(R20,{}),children:"Mutex"})]}),X.jsx(wn,{component:X.jsx(dn,{to:"/admin"}),icon:X.jsx(m20,{}),children:"Admin"})]})})};function qX0(f){return io("MuiTypography",f)}To("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const $X0=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],KX0=f=>{const{align:h,gutterBottom:d,noWrap:k,paragraph:C,variant:I,classes:S}=f,Z={root:["root",I,f.align!=="inherit"&&`align${K2(h)}`,d&&"gutterBottom",k&&"noWrap",C&&"paragraph"]};return Qo(Z,qX0,S)},bX0=St("span",{name:"MuiTypography",slot:"Root",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.root,d.variant&&h[d.variant],d.align!=="inherit"&&h[`align${K2(d.align)}`],d.noWrap&&h.noWrap,d.gutterBottom&&h.gutterBottom,d.paragraph&&h.paragraph]}})(({theme:f,ownerState:h})=>Le({margin:0},h.variant==="inherit"&&{font:"inherit"},h.variant!=="inherit"&&f.typography[h.variant],h.align!=="inherit"&&{textAlign:h.align},h.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},h.gutterBottom&&{marginBottom:"0.35em"},h.paragraph&&{marginBottom:16})),qU={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},eq0={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},rq0=f=>eq0[f]||f,tq0=T0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiTypography"}),C=rq0(k.color),I=b_(Le({},k,{color:C})),{align:S="inherit",className:Z,component:R,gutterBottom:M=!1,noWrap:Q=!1,paragraph:O=!1,variant:e0="body1",variantMapping:o0=qU}=I,A0=At(I,$X0),l0=Le({},I,{align:S,color:C,className:Z,component:R,gutterBottom:M,noWrap:Q,paragraph:O,variant:e0,variantMapping:o0}),w0=R||(O?"p":o0[e0]||qU[e0])||"span",u0=KX0(l0);return X.jsx(bX0,Le({as:w0,ref:d,ownerState:l0,className:Zt(u0.root,Z)},A0))}),$U=tq0;function iq0({props:f,states:h,muiFormControl:d}){return h.reduce((k,C)=>(k[C]=f[C],d&&typeof f[C]>"u"&&(k[C]=d[C]),k),{})}const nq0=T0.createContext(void 0),oq0=nq0;function G20(){return T0.useContext(oq0)}function lq0(f){return io("MuiButton",f)}const sq0=To("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),zv=sq0,Aq0=T0.createContext({}),uq0=Aq0,fq0=T0.createContext(void 0),aq0=fq0,cq0=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],hq0=f=>{const{color:h,disableElevation:d,fullWidth:k,size:C,variant:I,classes:S}=f,Z={root:["root",I,`${I}${K2(h)}`,`size${K2(C)}`,`${I}Size${K2(C)}`,`color${K2(h)}`,d&&"disableElevation",k&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${K2(C)}`],endIcon:["icon","endIcon",`iconSize${K2(C)}`]},R=Qo(Z,lq0,S);return Le({},S,R)},Z20=f=>Le({},f.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},f.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},f.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),wq0=St(yz,{shouldForwardProp:f=>iz(f)||f==="classes",name:"MuiButton",slot:"Root",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.root,h[d.variant],h[`${d.variant}${K2(d.color)}`],h[`size${K2(d.size)}`],h[`${d.variant}Size${K2(d.size)}`],d.color==="inherit"&&h.colorInherit,d.disableElevation&&h.disableElevation,d.fullWidth&&h.fullWidth]}})(({theme:f,ownerState:h})=>{var d,k;const C=f.palette.mode==="light"?f.palette.grey[300]:f.palette.grey[800],I=f.palette.mode==="light"?f.palette.grey.A100:f.palette.grey[700];return Le({},f.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(f.vars||f).shape.borderRadius,transition:f.transitions.create(["background-color","box-shadow","border-color","color"],{duration:f.transitions.duration.short}),"&:hover":Le({textDecoration:"none",backgroundColor:f.vars?`rgba(${f.vars.palette.text.primaryChannel} / ${f.vars.palette.action.hoverOpacity})`:rs(f.palette.text.primary,f.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},h.variant==="text"&&h.color!=="inherit"&&{backgroundColor:f.vars?`rgba(${f.vars.palette[h.color].mainChannel} / ${f.vars.palette.action.hoverOpacity})`:rs(f.palette[h.color].main,f.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},h.variant==="outlined"&&h.color!=="inherit"&&{border:`1px solid ${(f.vars||f).palette[h.color].main}`,backgroundColor:f.vars?`rgba(${f.vars.palette[h.color].mainChannel} / ${f.vars.palette.action.hoverOpacity})`:rs(f.palette[h.color].main,f.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},h.variant==="contained"&&{backgroundColor:f.vars?f.vars.palette.Button.inheritContainedHoverBg:I,boxShadow:(f.vars||f).shadows[4],"@media (hover: none)":{boxShadow:(f.vars||f).shadows[2],backgroundColor:(f.vars||f).palette.grey[300]}},h.variant==="contained"&&h.color!=="inherit"&&{backgroundColor:(f.vars||f).palette[h.color].dark,"@media (hover: none)":{backgroundColor:(f.vars||f).palette[h.color].main}}),"&:active":Le({},h.variant==="contained"&&{boxShadow:(f.vars||f).shadows[8]}),[`&.${zv.focusVisible}`]:Le({},h.variant==="contained"&&{boxShadow:(f.vars||f).shadows[6]}),[`&.${zv.disabled}`]:Le({color:(f.vars||f).palette.action.disabled},h.variant==="outlined"&&{border:`1px solid ${(f.vars||f).palette.action.disabledBackground}`},h.variant==="contained"&&{color:(f.vars||f).palette.action.disabled,boxShadow:(f.vars||f).shadows[0],backgroundColor:(f.vars||f).palette.action.disabledBackground})},h.variant==="text"&&{padding:"6px 8px"},h.variant==="text"&&h.color!=="inherit"&&{color:(f.vars||f).palette[h.color].main},h.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},h.variant==="outlined"&&h.color!=="inherit"&&{color:(f.vars||f).palette[h.color].main,border:f.vars?`1px solid rgba(${f.vars.palette[h.color].mainChannel} / 0.5)`:`1px solid ${rs(f.palette[h.color].main,.5)}`},h.variant==="contained"&&{color:f.vars?f.vars.palette.text.primary:(d=(k=f.palette).getContrastText)==null?void 0:d.call(k,f.palette.grey[300]),backgroundColor:f.vars?f.vars.palette.Button.inheritContainedBg:C,boxShadow:(f.vars||f).shadows[2]},h.variant==="contained"&&h.color!=="inherit"&&{color:(f.vars||f).palette[h.color].contrastText,backgroundColor:(f.vars||f).palette[h.color].main},h.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},h.size==="small"&&h.variant==="text"&&{padding:"4px 5px",fontSize:f.typography.pxToRem(13)},h.size==="large"&&h.variant==="text"&&{padding:"8px 11px",fontSize:f.typography.pxToRem(15)},h.size==="small"&&h.variant==="outlined"&&{padding:"3px 9px",fontSize:f.typography.pxToRem(13)},h.size==="large"&&h.variant==="outlined"&&{padding:"7px 21px",fontSize:f.typography.pxToRem(15)},h.size==="small"&&h.variant==="contained"&&{padding:"4px 10px",fontSize:f.typography.pxToRem(13)},h.size==="large"&&h.variant==="contained"&&{padding:"8px 22px",fontSize:f.typography.pxToRem(15)},h.fullWidth&&{width:"100%"})},({ownerState:f})=>f.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${zv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${zv.disabled}`]:{boxShadow:"none"}}),dq0=St("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.startIcon,h[`iconSize${K2(d.size)}`]]}})(({ownerState:f})=>Le({display:"inherit",marginRight:8,marginLeft:-4},f.size==="small"&&{marginLeft:-2},Z20(f))),pq0=St("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.endIcon,h[`iconSize${K2(d.size)}`]]}})(({ownerState:f})=>Le({display:"inherit",marginRight:-4,marginLeft:8},f.size==="small"&&{marginRight:-2},Z20(f))),kq0=T0.forwardRef(function(h,d){const k=T0.useContext(uq0),C=T0.useContext(aq0),I=Y_(k,h),S=dl({props:I,name:"MuiButton"}),{children:Z,color:R="primary",component:M="button",className:Q,disabled:O=!1,disableElevation:e0=!1,disableFocusRipple:o0=!1,endIcon:A0,focusVisibleClassName:l0,fullWidth:w0=!1,size:u0="medium",startIcon:a0,type:c0,variant:y0="text"}=S,C0=At(S,cq0),I0=Le({},S,{color:R,component:M,disabled:O,disableElevation:e0,disableFocusRipple:o0,fullWidth:w0,size:u0,type:c0,variant:y0}),h0=hq0(I0),E0=a0&&X.jsx(dq0,{className:h0.startIcon,ownerState:I0,children:a0}),z0=A0&&X.jsx(pq0,{className:h0.endIcon,ownerState:I0,children:A0}),W0=C||"";return X.jsxs(wq0,Le({ownerState:I0,className:Zt(k.className,h0.root,Q,W0),component:M,disabled:O,focusRipple:!o0,focusVisibleClassName:Zt(h0.focusVisible,l0),ref:d,type:c0},C0,{classes:h0,children:[E0,Z,z0]}))}),qL=kq0;function vq0(f){return io("PrivateSwitchBase",f)}To("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const mq0=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],gq0=f=>{const{classes:h,checked:d,disabled:k,edge:C}=f,I={root:["root",d&&"checked",k&&"disabled",C&&`edge${K2(C)}`],input:["input"]};return Qo(I,vq0,h)},yq0=St(yz)(({ownerState:f})=>Le({padding:9,borderRadius:"50%"},f.edge==="start"&&{marginLeft:f.size==="small"?-3:-12},f.edge==="end"&&{marginRight:f.size==="small"?-3:-12})),Cq0=St("input",{shouldForwardProp:iz})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Eq0=T0.forwardRef(function(h,d){const{autoFocus:k,checked:C,checkedIcon:I,className:S,defaultChecked:Z,disabled:R,disableFocusRipple:M=!1,edge:Q=!1,icon:O,id:e0,inputProps:o0,inputRef:A0,name:l0,onBlur:w0,onChange:u0,onFocus:a0,readOnly:c0,required:y0=!1,tabIndex:C0,type:I0,value:h0}=h,E0=At(h,mq0),[z0,W0]=JK({controlled:C,default:!!Z,name:"SwitchBase",state:"checked"}),P0=G20(),R0=Ie=>{a0&&a0(Ie),P0&&P0.onFocus&&P0.onFocus(Ie)},Q0=Ie=>{w0&&w0(Ie),P0&&P0.onBlur&&P0.onBlur(Ie)},q0=Ie=>{if(Ie.nativeEvent.defaultPrevented)return;const Ne=Ie.target.checked;W0(Ne),u0&&u0(Ie,Ne)};let fe=R;P0&&typeof fe>"u"&&(fe=P0.disabled);const de=I0==="checkbox"||I0==="radio",Se=Le({},h,{checked:z0,disabled:fe,disableFocusRipple:M,edge:Q}),we=gq0(Se);return X.jsxs(yq0,Le({component:"span",className:Zt(we.root,S),centerRipple:!0,focusRipple:!M,disabled:fe,tabIndex:null,role:void 0,onFocus:R0,onBlur:Q0,ownerState:Se,ref:d},E0,{children:[X.jsx(Cq0,Le({autoFocus:k,checked:C,defaultChecked:Z,className:we.input,disabled:fe,id:de?e0:void 0,name:l0,onChange:q0,readOnly:c0,ref:A0,required:y0,ownerState:Se,tabIndex:C0,type:I0},I0==="checkbox"&&h0===void 0?{}:{value:h0},o0)),z0?I:O]}))}),Bq0=Eq0;function Iq0(f){return io("MuiCircularProgress",f)}To("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const xq0=["className","color","disableShrink","size","style","thickness","value","variant"];let bg=f=>f,KU,bU,eX,rX;const fu=44,Sq0=a3(KU||(KU=bg` - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(360deg); - } -`)),_q0=a3(bU||(bU=bg` - 0% { - stroke-dasharray: 1px, 200px; - stroke-dashoffset: 0; - } - - 50% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -15px; - } - - 100% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -125px; - } -`)),zq0=f=>{const{classes:h,variant:d,color:k,disableShrink:C}=f,I={root:["root",d,`color${K2(k)}`],svg:["svg"],circle:["circle",`circle${K2(d)}`,C&&"circleDisableShrink"]};return Qo(I,Iq0,h)},Lq0=St("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.root,h[d.variant],h[`color${K2(d.color)}`]]}})(({ownerState:f,theme:h})=>Le({display:"inline-block"},f.variant==="determinate"&&{transition:h.transitions.create("transform")},f.color!=="inherit"&&{color:(h.vars||h).palette[f.color].main}),({ownerState:f})=>f.variant==="indeterminate"&&Sg(eX||(eX=bg` - animation: ${0} 1.4s linear infinite; - `),Sq0)),Rq0=St("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(f,h)=>h.svg})({display:"block"}),Gq0=St("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.circle,h[`circle${K2(d.variant)}`],d.disableShrink&&h.circleDisableShrink]}})(({ownerState:f,theme:h})=>Le({stroke:"currentColor"},f.variant==="determinate"&&{transition:h.transitions.create("stroke-dashoffset")},f.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:f})=>f.variant==="indeterminate"&&!f.disableShrink&&Sg(rX||(rX=bg` - animation: ${0} 1.4s ease-in-out infinite; - `),_q0)),Zq0=T0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiCircularProgress"}),{className:C,color:I="primary",disableShrink:S=!1,size:Z=40,style:R,thickness:M=3.6,value:Q=0,variant:O="indeterminate"}=k,e0=At(k,xq0),o0=Le({},k,{color:I,disableShrink:S,size:Z,thickness:M,value:Q,variant:O}),A0=zq0(o0),l0={},w0={},u0={};if(O==="determinate"){const a0=2*Math.PI*((fu-M)/2);l0.strokeDasharray=a0.toFixed(3),u0["aria-valuenow"]=Math.round(Q),l0.strokeDashoffset=`${((100-Q)/100*a0).toFixed(3)}px`,w0.transform="rotate(-90deg)"}return X.jsx(Lq0,Le({className:Zt(A0.root,C),style:Le({width:Z,height:Z},w0,R),ownerState:o0,ref:d,role:"progressbar"},u0,e0,{children:X.jsx(Rq0,{className:A0.svg,ownerState:o0,viewBox:`${fu/2} ${fu/2} ${fu} ${fu}`,children:X.jsx(Gq0,{className:A0.circle,style:l0,ownerState:o0,cx:fu,cy:fu,r:(fu-M)/2,fill:"none",strokeWidth:M})})}))}),$L=Zq0,Wq0=_Q0({createStyledComponent:St("div",{name:"MuiStack",slot:"Root",overridesResolver:(f,h)=>h.root}),useThemeProps:f=>dl({props:f,name:"MuiStack"})}),Dq0=Wq0;function Mq0(f){return io("MuiFormControlLabel",f)}const jq0=To("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Y8=jq0,Nq0=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],Qq0=f=>{const{classes:h,disabled:d,labelPlacement:k,error:C,required:I}=f,S={root:["root",d&&"disabled",`labelPlacement${K2(k)}`,C&&"error",I&&"required"],label:["label",d&&"disabled"],asterisk:["asterisk",C&&"error"]};return Qo(S,Mq0,h)},Tq0=St("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[{[`& .${Y8.label}`]:h.label},h.root,h[`labelPlacement${K2(d.labelPlacement)}`]]}})(({theme:f,ownerState:h})=>Le({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Y8.disabled}`]:{cursor:"default"}},h.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},h.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},h.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${Y8.label}`]:{[`&.${Y8.disabled}`]:{color:(f.vars||f).palette.text.disabled}}})),Fq0=St("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(f,h)=>h.asterisk})(({theme:f})=>({[`&.${Y8.error}`]:{color:(f.vars||f).palette.error.main}})),Pq0=T0.forwardRef(function(h,d){var k,C;const I=dl({props:h,name:"MuiFormControlLabel"}),{className:S,componentsProps:Z={},control:R,disabled:M,disableTypography:Q,label:O,labelPlacement:e0="end",required:o0,slotProps:A0={}}=I,l0=At(I,Nq0),w0=G20(),u0=(k=M??R.props.disabled)!=null?k:w0==null?void 0:w0.disabled,a0=o0??R.props.required,c0={disabled:u0,required:a0};["checked","name","onChange","value","inputRef"].forEach(z0=>{typeof R.props[z0]>"u"&&typeof I[z0]<"u"&&(c0[z0]=I[z0])});const y0=iq0({props:I,muiFormControl:w0,states:["error"]}),C0=Le({},I,{disabled:u0,labelPlacement:e0,required:a0,error:y0.error}),I0=Qq0(C0),h0=(C=A0.typography)!=null?C:Z.typography;let E0=O;return E0!=null&&E0.type!==$U&&!Q&&(E0=X.jsx($U,Le({component:"span"},h0,{className:Zt(I0.label,h0==null?void 0:h0.className),children:E0}))),X.jsxs(Tq0,Le({className:Zt(I0.root,S),ownerState:C0,ref:d},l0,{children:[T0.cloneElement(R,c0),a0?X.jsxs(Dq0,{display:"block",children:[E0,X.jsxs(Fq0,{ownerState:C0,"aria-hidden":!0,className:I0.asterisk,children:["โ€‰","*"]})]}):E0]}))}),tX=Pq0;function Yq0(f){return io("MuiSwitch",f)}const Oq0=To("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Kn=Oq0,Vq0=["className","color","edge","size","sx"],Hq0=e00(),Jq0=f=>{const{classes:h,edge:d,size:k,color:C,checked:I,disabled:S}=f,Z={root:["root",d&&`edge${K2(d)}`,`size${K2(k)}`],switchBase:["switchBase",`color${K2(C)}`,I&&"checked",S&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},R=Qo(Z,Yq0,h);return Le({},h,R)},Uq0=St("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.root,d.edge&&h[`edge${K2(d.edge)}`],h[`size${K2(d.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Kn.thumb}`]:{width:16,height:16},[`& .${Kn.switchBase}`]:{padding:4,[`&.${Kn.checked}`]:{transform:"translateX(16px)"}}}}]}),Xq0=St(Bq0,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(f,h)=>{const{ownerState:d}=f;return[h.switchBase,{[`& .${Kn.input}`]:h.input},d.color!=="default"&&h[`color${K2(d.color)}`]]}})(({theme:f})=>({position:"absolute",top:0,left:0,zIndex:1,color:f.vars?f.vars.palette.Switch.defaultColor:`${f.palette.mode==="light"?f.palette.common.white:f.palette.grey[300]}`,transition:f.transitions.create(["left","transform"],{duration:f.transitions.duration.shortest}),[`&.${Kn.checked}`]:{transform:"translateX(20px)"},[`&.${Kn.disabled}`]:{color:f.vars?f.vars.palette.Switch.defaultDisabledColor:`${f.palette.mode==="light"?f.palette.grey[100]:f.palette.grey[600]}`},[`&.${Kn.checked} + .${Kn.track}`]:{opacity:.5},[`&.${Kn.disabled} + .${Kn.track}`]:{opacity:f.vars?f.vars.opacity.switchTrackDisabled:`${f.palette.mode==="light"?.12:.2}`},[`& .${Kn.input}`]:{left:"-100%",width:"300%"}}),({theme:f})=>({"&:hover":{backgroundColor:f.vars?`rgba(${f.vars.palette.action.activeChannel} / ${f.vars.palette.action.hoverOpacity})`:rs(f.palette.action.active,f.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(f.palette).filter(([,h])=>h.main&&h.light).map(([h])=>({props:{color:h},style:{[`&.${Kn.checked}`]:{color:(f.vars||f).palette[h].main,"&:hover":{backgroundColor:f.vars?`rgba(${f.vars.palette[h].mainChannel} / ${f.vars.palette.action.hoverOpacity})`:rs(f.palette[h].main,f.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Kn.disabled}`]:{color:f.vars?f.vars.palette.Switch[`${h}DisabledColor`]:`${f.palette.mode==="light"?rm(f.palette[h].main,.62):em(f.palette[h].main,.55)}`}},[`&.${Kn.checked} + .${Kn.track}`]:{backgroundColor:(f.vars||f).palette[h].main}}}))]})),qq0=St("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(f,h)=>h.track})(({theme:f})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:f.transitions.create(["opacity","background-color"],{duration:f.transitions.duration.shortest}),backgroundColor:f.vars?f.vars.palette.common.onBackground:`${f.palette.mode==="light"?f.palette.common.black:f.palette.common.white}`,opacity:f.vars?f.vars.opacity.switchTrack:`${f.palette.mode==="light"?.38:.3}`})),$q0=St("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(f,h)=>h.thumb})(({theme:f})=>({boxShadow:(f.vars||f).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),Kq0=T0.forwardRef(function(h,d){const k=Hq0({props:h,name:"MuiSwitch"}),{className:C,color:I="primary",edge:S=!1,size:Z="medium",sx:R}=k,M=At(k,Vq0),Q=Le({},k,{color:I,edge:S,size:Z}),O=Jq0(Q),e0=X.jsx($q0,{className:O.thumb,ownerState:Q});return X.jsxs(Uq0,{className:Zt(O.root,C),sx:R,ownerState:Q,children:[X.jsx(Xq0,Le({type:"checkbox",icon:e0,checkedIcon:e0,ref:d,ownerState:Q},M,{classes:Le({},O,{root:O.switchBase})})),X.jsx(qq0,{className:O.track,ownerState:Q})]})}),iX=Kq0,bq0=({segments:f,segmentSelected:h,onSegmentClicked:d})=>{const k=f.map(h0=>({status:h0,visible:!0,active:h0.downloadedBytes0})),[C,I]=T0.useState(k),[S,Z]=T0.useState(!1),[R,M]=T0.useState(!1),[Q,O]=T0.useState({column:"Name",descending:!0}),e0=h0=>h0.peers.length||0,o0=h0=>{let E0=0;return h0.peers.forEach(z0=>{E0+=z0.downloadRate}),E0},A0=h0=>h0.webseeds.length||0,l0=h0=>{let E0=0;return h0.webseeds.forEach(z0=>{E0+=z0.downloadRate}),E0},w0=(h0,E0)=>h0/E0*100,u0=(h0,E0)=>{let W0=[...h0].sort((P0,R0)=>E0.column==="Name"?a0(P0.status.name,R0.status.name,E0.descending):E0.column==="Progress"?c0(w0(P0.status.downloadedBytes,P0.status.totalBytes),w0(R0.status.downloadedBytes,R0.status.totalBytes),E0.descending):E0.column==="Size"?c0(P0.status.totalBytes,R0.status.totalBytes,E0.descending):E0.column==="PeersCount"?c0(e0(P0.status),e0(R0.status),E0.descending):E0.column==="PeersRate"?c0(o0(P0.status),o0(R0.status),E0.descending):E0.column==="WebseedsCount"?c0(A0(P0.status),A0(R0.status),E0.descending):E0.column==="WebseedsRate"?c0(l0(P0.status),l0(R0.status),E0.descending):c0(P0.active?1:0,R0.active?1:0,E0.descending));O(E0),I(W0)},a0=(h0,E0,z0)=>z0?E0.localeCompare(h0):h0.localeCompare(E0),c0=(h0,E0,z0)=>z0?E0-h0:h0-E0,y0=h0=>Q.column!==h0?X.jsx(p3,{className:"ml-2"}):Q.descending?X.jsx(w3,{}):X.jsx(d3,{}),C0=h0=>{Z(h0.target.checked);let E0=C;E0.forEach(z0=>{h0.target.checked?w0(z0.status.downloadedBytes,z0.status.totalBytes)===100&&(z0.visible=!1):w0(z0.status.downloadedBytes,z0.status.totalBytes)===100&&(z0.visible=!0)}),I(E0)},I0=h0=>{M(h0.target.checked);let E0=C;E0.forEach(z0=>{h0.target.checked?w0(z0.status.downloadedBytes,z0.status.totalBytes)===0&&(z0.visible=!1):w0(z0.status.downloadedBytes,z0.status.totalBytes)===0&&(z0.visible=!0)}),I(E0)};return X.jsxs("div",{className:"w-full h-[95%]",style:{overflowY:h?"hidden":"scroll"},children:[X.jsxs("div",{className:"flex flex-row justify-around",children:[X.jsx(tX,{control:X.jsx(iX,{checked:S,onChange:C0}),label:"Hide downloaded files"}),X.jsx(tX,{control:X.jsx(iX,{checked:R,onChange:I0}),label:"Hide files with no progress"})]}),X.jsxs("table",{className:"table-fixed text-left",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(C,{column:"Name",descending:!Q.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Name",y0("Name")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(C,{column:"Progress",descending:!Q.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Progress",y0("Progress")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(C,{column:"Size",descending:!Q.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Size",y0("Size")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(C,{column:"PeersCount",descending:!Q.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Peers Count",y0("PeersCount")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(C,{column:"PeersRate",descending:!Q.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Peers Rate",y0("PeersRate")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(C,{column:"WebseedsCount",descending:!Q.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Webseeds Count",y0("WebseedsCount")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(C,{column:"WebseedsRate",descending:!Q.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Webseeds Rate",y0("WebseedsRate")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(C,{column:"Active",descending:!Q.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Active",y0("Active")]})})]})}),X.jsx("tbody",{children:C.map(h0=>X.jsxs("tr",{className:"border-b hover:bg-gray-100 cursor-pointer",onClick:()=>{d(h0.status)},children:[X.jsx("td",{className:"px-4 py-2",children:h0.status.name}),X.jsx("td",{className:"px-4 py-2",children:wL(h0.status.downloadedBytes,h0.status.totalBytes)}),X.jsx("td",{className:"px-4 py-2",children:qr(h0.status.totalBytes)}),X.jsx("td",{className:"px-4 py-2",children:e0(h0.status)}),X.jsx("td",{className:"px-4 py-2",children:B1(o0(h0.status))}),X.jsx("td",{className:"px-4 py-2",children:A0(h0.status)}),X.jsx("td",{className:"px-4 py-2",children:B1(l0(h0.status))}),X.jsx("td",{className:"px-4 py-2",children:h0.active.toString()})]},h0.status.name))})]})]})},nX=({peers:f})=>{const[h,d]=T0.useState(f),[k,C]=T0.useState({column:"Url",descending:!0});T0.useEffect(()=>{I(f,k)},[f]);const I=(M,Q)=>{let e0=[...M].sort((o0,A0)=>Q.column==="Url"?S(o0.url,A0.url,Q.descending):Z(o0.downloadRate,A0.downloadRate,Q.descending));C(Q),d(e0)},S=(M,Q,O)=>O?Q.localeCompare(M):M.localeCompare(Q),Z=(M,Q,O)=>O?Q-M:M-Q,R=M=>k.column!==M?X.jsx(p3,{className:"ml-2"}):k.descending?X.jsx(w3,{}):X.jsx(d3,{});return X.jsxs("table",{className:"table-fixed text-left",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{I(h,{column:"Url",descending:!k.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["URL",R("Url")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{I(h,{column:"Rate",descending:!k.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Rate",R("Rate")]})})]})}),X.jsx("tbody",{children:h.map(M=>X.jsxs("tr",{className:"border-b",children:[X.jsx("td",{className:"px-4 py-2",children:M.url}),X.jsx("td",{className:"px-4 py-2",children:qr(M.downloadRate)})]}))})]})},e$0=({segment:f})=>{const h=O=>O?O.downloadedBytes>=O.totalBytes:!1,[d,k]=T0.useState(h(f)),C=O=>{let e0=0;return O.forEach(o0=>{e0+=o0.downloadRate}),B1(e0)},I=O=>O.peers.length||0,S=O=>{let e0=0;return O.peers.forEach(o0=>{e0+=o0.downloadRate}),e0},Z=O=>O.webseeds.length||0,R=O=>{let e0=0;return O.webseeds.forEach(o0=>{e0+=o0.downloadRate}),e0},M=O=>{var e0,o0;return X.jsx("div",{className:"flex flex-col justify-around",children:X.jsxs("table",{className:"table-fixed text-left",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{children:"Name"}),X.jsx("th",{children:"Size"}),X.jsx("th",{children:"Time Taken"}),X.jsx("th",{children:"AverageRate"})]})}),X.jsx("tbody",{children:X.jsxs("tr",{children:[X.jsx("td",{className:"px-4 py-2",children:O.name}),X.jsx("td",{className:"px-4 py-2",children:qr(O.totalBytes)}),X.jsx("td",{className:"px-4 py-2",children:hL(((e0=O.downloadedStats)==null?void 0:e0.timeTook)||0)}),X.jsx("td",{className:"px-4 py-2",children:B1(((o0=O.downloadedStats)==null?void 0:o0.averageRate)||0)})]})})]})})},Q=O=>X.jsxs("div",{className:"flex flex-col justify-around",children:[X.jsxs("table",{className:"table-fixed text-left",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{children:"Name"}),X.jsx("th",{children:"Progress"}),X.jsx("th",{children:"Size"}),X.jsx("th",{children:"Peers Count"}),X.jsx("th",{children:"Peers Rate"}),X.jsx("th",{children:"Webseeds Count"}),X.jsx("th",{children:"Webseeds Rate"})]})}),X.jsx("tbody",{children:X.jsxs("tr",{children:[X.jsx("td",{className:"px-4 py-2",children:O.name}),X.jsx("td",{className:"px-4 py-2",children:wL(O.downloadedBytes,O.totalBytes)}),X.jsx("td",{className:"px-4 py-2",children:qr(O.totalBytes)}),X.jsx("td",{className:"px-4 py-2",children:I(O)}),X.jsx("td",{className:"px-4 py-2",children:B1(S(O))}),X.jsx("td",{className:"px-4 py-2",children:Z(O)}),X.jsx("td",{className:"px-4 py-2",children:B1(R(O))})]})})]}),X.jsxs("div",{className:"flex flex-row justify-around mt-20",children:[O.peers.length>0&&X.jsx("div",{className:"flex flex-col",children:X.jsxs("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[45vh] w-full overflow-auto items-center",children:[X.jsx("p",{className:"font-bold text-lg",children:O.peers.length+" peers"}),X.jsx("p",{className:"font-bold text-lg",children:"Total speed: "+C(O.peers)}),X.jsx(nX,{peers:O.peers})]})}),O.webseeds.length>0&&X.jsx("div",{className:"flex flex-col",children:X.jsxs("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[40vh] w-full overflow-auto items-center",children:[X.jsx("p",{className:"font-bold text-lg",children:O.webseeds.length+" webseeds"}),X.jsx("p",{className:"font-bold text-lg",children:"Total speed: "+C(O.webseeds)}),X.jsx(nX,{peers:O.webseeds})]})})]})]});return X.jsx("div",{className:"w-full h-full",children:f?d?M(f):Q(f):X.jsx("div",{})})},r$0=({onClose:f})=>{const h=$2(Tb),[d,k]=T0.useState(0),[C,I]=T0.useState(0),[S,Z]=T0.useState(null),R=e0=>{e0.key==="Escape"&&(S?Z(null):f())};T0.useEffect(()=>(window.addEventListener("keydown",R),()=>{window.removeEventListener("keydown",R)}),[S]),T0.useEffect(()=>{let e0=0,o0=0;h.segments.forEach(A0=>{e0+=Q(A0),o0+=M(A0)}),k(e0),I(o0)},[h]);const M=e0=>{let o0=0;return e0.peers.forEach(A0=>{o0+=A0.downloadRate}),o0},Q=e0=>{let o0=0;return e0.webseeds.forEach(A0=>{o0+=A0.downloadRate}),o0},O=()=>X.jsxs("div",{className:"flex flex-row w-full pt-10 pr-10 pl-10",children:[X.jsx("div",{className:"flex-[1]",children:S&&X.jsx(pL,{onClick:()=>{Z(null)},className:"cursor-pointer"})}),X.jsx("div",{className:"flex flex-[2] justify-center",children:X.jsxs("h3",{className:"text-3xl font-semibold",children:[S?"Segment details":"Segments List"," "]})}),X.jsx("div",{className:"flex flex-[1] justify-end",children:X.jsx(Rg,{onClick:()=>f(),className:"cursor-pointer"})})]});return X.jsxs(X.Fragment,{children:[X.jsx("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-0 z-50 outline-none focus:outline-none absolute bg-black/[.4]",children:X.jsx("div",{className:"relative w-auto my-6 mx-auto max-w-[100vw]",children:X.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-fit bg-white outline-none focus:outline-none items-center",children:[O(),X.jsxs("div",{className:"flex flex-col relative p-6 flex-auto justify-start items-center h-[75vh] overflow-scroll",children:[X.jsxs("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white h-[90%]",children:[X.jsx(bq0,{segments:h.segments,segmentSelected:S!=null,onSegmentClicked:e0=>Z(e0)}),S&&X.jsx("div",{className:"absolute z-10 w-[95%] h-[80%] bg-white",children:X.jsx(e$0,{segment:S})})]}),!S&&X.jsxs(X.Fragment,{children:[X.jsxs("div",{className:"flex flex-row",children:[X.jsx("p",{className:"font-bold",children:"webseeds :"}),X.jsx("p",{children:B1(d)})]}),X.jsxs("div",{className:"flex flex-row",children:[X.jsx("p",{className:"font-bold",children:"peers :"}),X.jsx("p",{children:B1(C)})]})]})]})]})})}),X.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})},t$0=({flag:f})=>{function h(C){return C&&typeof C=="object"&&C.constructor===Array}const d=C=>h(C)?k(C):X.jsx("td",{className:"px-4 py-2",children:String(C)}),k=C=>X.jsx(X.Fragment,{children:C.map(I=>X.jsx("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:X.jsx("td",{className:"px-4 py-2",children:I+""})},I))});return X.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onMouseOver:C=>{const I=C.target,S=f.usage;S&&I.setAttribute("title",S)},children:[X.jsx("td",{className:"px-4 py-2",children:f.flag}),d(f.value),X.jsx("td",{className:"px-4 py-2",children:String(f.usage)})]},f.flag)},i$0=({flags:f})=>X.jsx("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[500px] max-w-[1400px] min-w-[30vw] overflow-auto",children:X.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2",children:"Flag"}),X.jsx("th",{className:"px-4 py-2",children:"Value"}),X.jsx("th",{className:"px-4 py-2",children:"Flag Usage"})]})}),X.jsx("tbody",{children:f==null?void 0:f.map(h=>X.jsx(t$0,{flag:h},h.flag))})]})}),n$0=["datadir","downloader.api.addr","downloader.disable.ipv4","downloader.disable.ipv6","nat","pprof","pprof.addr","pprof.cpuprofile","pprof.port","seedbox","torrent.conns.perfile","torrent.download.rate","torrent.download.slots","torrent.maxpeers","torrent.port","torrent.staticpeers","torrent.upload.rate","torrent.verbosity","trace","verbosity","verify","verify.failfast","verify.files","webseed"],o$0=()=>{const f=$2(Tb),[h,d]=T0.useState(!1),k=$2(NK),C=$2(NM0),I=oK(),S=()=>I("/issues"),Z=k.filter(Q=>n$0.includes(Q.flag)),R=()=>!f.downloadFinished&&f.indexed<100&&f.torrentMetadataReady0?"downloading and waiting for metadata":"waiting for metadata":!f.downloadFinished&&f.indexed<100?"Downloading":f.indexed<100?"Indexing":"Finished",M=()=>{let Q=0;return f.totalTime.forEach(O=>{Q+=O}),hL(Q)};return X.jsxs("div",{children:[C.length>0&&X.jsx("p",{className:"font-bold mt-5 mb-5 text-yellow-400 cursor-pointer",onClick:S,children:"Found "+C.length+" download speed issues"}),X.jsxs("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2",children:"Name"}),X.jsx("th",{className:"px-4 py-2",children:"Status"}),X.jsx("th",{className:"px-4 py-2",children:"Progress"}),X.jsx("th",{className:"px-4 py-2",children:"Downaloaded"}),X.jsx("th",{className:"px-4 py-2",children:"Total"}),X.jsx("th",{className:"px-4 py-2",children:"Time Left"}),X.jsx("th",{className:"px-4 py-2",children:"Total Time"}),X.jsx("th",{className:"px-4 py-2",children:"Download Rate"}),X.jsx("th",{className:"px-4 py-2",children:"Upload Rate"}),X.jsx("th",{className:"px-4 py-2",children:"Peers"}),X.jsx("th",{className:"px-4 py-2",children:"Files"}),X.jsx("th",{className:"px-4 py-2",children:"Connections"}),X.jsx("th",{className:"px-4 py-2",children:"Alloc"}),X.jsx("th",{className:"px-4 py-2",children:"Sys"})]})}),X.jsx("tbody",{children:X.jsxs("tr",{onClick:()=>{d(!0)},children:[X.jsx("td",{className:"px-4 py-2",children:"Snapshots"}),X.jsx("td",{className:"px-4 py-2 text-center",children:R()}),X.jsx("td",{className:"px-4 py-2",children:wL(f.downloaded,f.total)}),X.jsx("td",{className:"px-4 py-2",children:qr(f.downloaded)}),X.jsx("td",{className:"px-4 py-2",children:qr(f.total)}),X.jsx("td",{className:"px-4 py-2",children:YV0(f.downloaded,f.total,f.downloadRate)}),X.jsx("td",{className:"px-4 py-2",children:M()}),X.jsx("td",{className:"px-4 py-2",children:uU(f.downloadRate)}),X.jsx("td",{className:"px-4 py-2",children:uU(f.uploadRate)}),X.jsx("td",{className:"px-4 py-2",children:f.peers}),X.jsx("td",{className:"px-4 py-2",children:f.files}),X.jsx("td",{className:"px-4 py-2",children:f.connections}),X.jsx("td",{className:"px-4 py-2",children:qr(f.alloc)}),X.jsx("td",{className:"px-4 py-2",children:qr(f.sys)})]})})]}),X.jsxs("div",{className:"flex flex-col",children:[X.jsx("p",{className:"font-bold mt-5",children:"Flags related to downloader"}),X.jsx(i$0,{flags:Z})]}),h&&X.jsx(r$0,{onClose:()=>{d(!1)}})]})},l$0=({selectedStatistics:f,statistics:h,onRowClicked:d})=>{const k=C=>{let I="px-4 py-2 hover:bg-gray-100";const S="bg-gray-300",Z="bg-white text-black";return(C===Hl.Active||C===Hl.Static||C===Hl.Total)&&(I+=" border-r"),C===f?I+" "+S:I+" "+Z};return X.jsxs("div",{className:"flex flex-row",children:[X.jsx("div",{className:"shadow-lg rounded-md bg-white overflow-auto mr-5",children:X.jsx("table",{className:"table-fixed text-center",children:X.jsx("tbody",{children:X.jsxs("tr",{children:[X.jsxs("td",{className:k(Hl.Active),onClick:()=>d(Hl.Active),children:[X.jsx("span",{children:"Active:"}),X.jsx("br",{}),X.jsx("span",{className:"font-bold",children:h.activePeers})]}),X.jsxs("td",{className:k(Hl.Static),onClick:()=>d(Hl.Static),children:[X.jsx("span",{children:"Static:"}),X.jsx("br",{}),X.jsx("span",{className:"font-bold",children:h.staticPeers})]}),X.jsxs("td",{className:k(Hl.Total),onClick:()=>d(Hl.Total),children:[X.jsx("span",{children:"Total Seen:"}),X.jsx("br",{}),X.jsx("span",{className:"font-bold",children:h.totalPeers})]})]})})})}),X.jsx("div",{className:"shadow-lg rounded-md bg-white overflow-auto",children:X.jsx("table",{className:"table-fixed text-center",children:X.jsx("tbody",{children:X.jsxs("tr",{children:[X.jsxs("td",{className:"px-4 py-2",children:[X.jsx("span",{children:"In Rate:"}),X.jsx("br",{}),X.jsx("span",{className:"font-bold",children:B1(h.totalInRate)})]}),X.jsxs("td",{className:"px-4 py-2",children:[X.jsx("span",{children:"Network In:"}),X.jsx("br",{}),X.jsx("span",{className:"font-bold",children:qr(h.totalInBytes)})]}),X.jsxs("td",{className:"px-4 py-2",children:[X.jsx("span",{children:"Out Rate:"}),X.jsx("br",{}),X.jsx("span",{className:"font-bold",children:B1(h.totalOutRate)})]}),X.jsxs("td",{className:"px-4 py-2",children:[X.jsx("span",{children:"Network Out:"}),X.jsx("br",{}),X.jsx("span",{className:"font-bold",children:qr(h.totalOutBytes)})]}),X.jsxs("td",{className:"px-4 py-2",children:[X.jsx("span",{children:"Total Network:"}),X.jsx("br",{}),X.jsx("span",{className:"font-bold",children:qr(h.totalInBytes+h.totalOutBytes)})]})]})})})})]})},RI=({peers:f,onPeerClicked:h})=>{const[d,k]=T0.useState(f),[C,I]=T0.useState({column:"Type",descending:!0});T0.useEffect(()=>{S(f,C)},[f]);const S=(O,e0)=>{let o0=O.sort((A0,l0)=>e0.column==="Id"?Z(A0.id,l0.id,e0.descending):e0.column==="Name"?Z(A0.name,l0.name,e0.descending):e0.column==="Type"?Z(A0.type,l0.type,e0.descending):e0.column==="Status"?Z(A0.active.toString(),l0.active.toString(),e0.descending):e0.column==="TotalIn"?R(A0.network.bytesIn,l0.network.bytesIn,e0.descending):e0.column==="TotalOut"?R(A0.network.bytesOut,l0.network.bytesOut,e0.descending):e0.column==="InSpeed"?R(A0.network.inRate,l0.network.inRate,e0.descending):R(A0.network.outRate,l0.network.outRate,e0.descending));I(e0),k(o0)},Z=(O,e0,o0)=>o0?e0.localeCompare(O):O.localeCompare(e0),R=(O,e0,o0)=>o0?e0-O:O-e0,M=O=>C.column!==O?X.jsx(p3,{className:"ml-2"}):C.descending?X.jsx(w3,{}):X.jsx(d3,{}),Q=O=>O.network.static?"static":O.network.bootnode?"bootnode":"dynamic";return X.jsx("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[83vh] w-full overflow-auto",children:X.jsxs("table",{className:"table-auto text-left w-full",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"Id",descending:!C.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["peer ID",M("Id")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"Name",descending:!C.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["peer Name",M("Name")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"Type",descending:!C.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Type",M("Type")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"Status",descending:!C.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Status",M("Status")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"TotalIn",descending:!C.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Total In",M("TotalIn")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"TotalOut",descending:!C.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Total Out",M("TotalOut")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"InSpeed",descending:!C.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["In Speed",M("InSpeed")]})}),X.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"OutSpeed",descending:!C.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Out Speed",M("OutSpeed")]})})]})}),X.jsx("tbody",{children:d.map((O,e0)=>X.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>{h(O.id)},children:[X.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:O.id}),X.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:O.name}),X.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:Q(O)}),X.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:O.active?"active":""}),X.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:qr(O.network.bytesIn)}),X.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:qr(O.network.bytesOut)}),X.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:B1(O.network.inRate)}),X.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:B1(O.network.outRate)})]},e0))})]})})},s$0=({peerId:f,onClose:h,...d})=>{const C=dM0()(lr.getState(),f),I=(O,e0)=>{let o0=Object.keys(O),A0=Object.keys(e0);const l0=new Set([...o0,...A0]),w0=Array.from(l0);let u0=[];return w0.forEach(a0=>{let c0=O[a0]|0,y0=e0[a0]|0;u0.push({key:a0,bytesIn:c0,bytesOut:y0})}),u0},S=()=>{let O=I(C.network.capBytesIn,C.network.capBytesOut);return R(O)},Z=()=>{let O=I(C.network.typeBytesIn,C.network.typeBytesOut);return R(O)},R=O=>X.jsxs("table",{className:"table-auto text-left w-full",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b font-bold",children:[X.jsx("th",{children:"Type"}),X.jsx("th",{children:"In"}),X.jsx("th",{children:"Out"})]})}),X.jsx("tbody",{children:O.map(e0=>X.jsxs("tr",{className:"border-b",children:[X.jsx("td",{children:e0.key}),X.jsx("td",{children:qr(e0.bytesIn)}),X.jsx("td",{children:qr(e0.bytesOut)})]},e0.key))})]}),M=()=>X.jsxs("table",{className:"table-auto text-left w-full",children:[X.jsx("thead",{}),X.jsxs("tbody",{children:[Q("ID",C.id),Q("Name",C.name),Q("protocols",C.protocols),Q("enr",C.enr),Q("Enode",C.enode),Q("Cient",C.name),Q("caps",C.caps.toString()),Q("local address",C.network.localAddress),Q("remote address",C.network.remoteAddress),Q("In",qr(C.network.bytesIn)),Q("Out",qr(C.network.bytesOut)),Q("In speed",B1(C.network.inRate)),Q("Out speed",B1(C.network.outRate))]})]}),Q=(O,e0)=>X.jsxs("tr",{className:"border-b",children:[X.jsx("td",{children:O+": "}),X.jsx("td",{children:e0})]},O);return X.jsxs(X.Fragment,{children:[X.jsx("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-0 z-50 outline-none focus:outline-none absolute bg-black/[.4]",children:X.jsx("div",{className:"",children:X.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-max bg-white outline-none focus:outline-none items-center",children:[X.jsx("h3",{className:"text-3xl font-semibold mt-5",children:"Peer Details"}),X.jsxs("div",{className:"flex flex-col relative p-6 flex-auto justify-center items-center max-h-[70vh] overflow-scroll",children:[X.jsx("p",{className:"font-bold underline",children:"Main info :"}),M(),X.jsx("div",{className:"h-5"}),X.jsx("p",{className:"font-bold underline",children:"Network Usage By Capability :"}),S(),X.jsx("div",{className:"h-5"}),X.jsx("p",{className:"font-bold underline",children:"Network Usage By Type :"}),Z()]}),X.jsx("div",{className:"flex items-center justify-end p-6",children:X.jsx(us,{backgroundColor:k3,label:"Close",onClick:()=>h(),primary:!0})})]})})}),X.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})};var Hl=(f=>(f.Active="active",f.Static="static",f.Total="total",f.Errors="errors",f.Network="network",f.None="none",f))(Hl||{});const oX=({type:f})=>{let h=[],d={activePeers:0,totalPeers:0,staticPeers:0,totalErrors:0,totalInBytes:0,totalOutBytes:0,totalInRate:0,totalOutRate:0},k=[],C=[];f==="sentry"?(h=$2(_g),d=$2(gM0),k=$2(pM0),C=$2(vM0)):(h=$2(zg),d=$2(yM0),k=$2(kM0),C=$2(mM0));const[I,S]=T0.useState(null),[Z,R]=T0.useState("none"),M=()=>X.jsxs("table",{className:"table-fixed rounded-lg shadow-lg bg-white text-left mb-4 w-full h-fit",children:[X.jsx("thead",{children:X.jsx("tr",{className:"border-b",children:X.jsx("th",{className:"px-4 py-2",children:"Error"})})}),X.jsx("tbody",{})]});return X.jsxs("div",{className:"flex items-center flex-col",children:[X.jsxs("div",{className:"flex justify-center items-center flex-row mb-5",children:[X.jsx("p",{className:"mb-2 font-bold text-2xl",children:f==="sentry"?"eth/6x P2P":"Beacon chain P2P"}),X.jsx("div",{className:"w-5"}),X.jsx(l$0,{statistics:d,selectedStatistics:Z,onRowClicked:Q=>{R(Q)}})]}),Z==="active"&&X.jsx(RI,{peers:k,onPeerClicked:Q=>{S(Q)}}),Z==="static"&&X.jsx(RI,{peers:C,onPeerClicked:Q=>{S(Q)}}),Z==="total"&&X.jsx(RI,{peers:h,onPeerClicked:Q=>{S(Q)}}),Z==="errors"&&M(),I&&X.jsx(s$0,{peerId:I,onClose:()=>{S(null)}})]})},A$0=()=>{const f=$2(LM0),h=k=>{switch(k){case e5.Queued:return"Queued";case e5.Running:return"Running";case e5.Completed:return"Completed";default:return"Unknown"}},d=k=>X.jsxs("tr",{className:"border-b",children:[X.jsx("td",{className:"px-4 py-2",children:k.id}),X.jsx("td",{className:"px-4 py-2",children:h(k.state)}),k.subStages.length===0?null:X.jsxs("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2",children:"SubStage"}),X.jsx("th",{className:"px-4 py-2",children:"State"})]})}),X.jsx("tbody",{children:k.subStages.map(C=>X.jsxs("tr",{className:"border-b",children:[X.jsx("td",{className:"px-4 py-2",children:C.id}),X.jsx("td",{className:"px-4 py-2",children:h(C.state)})]}))})]})]});return X.jsx("div",{children:X.jsxs("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2",children:"Stage"}),X.jsx("th",{className:"px-4 py-2",children:"State"})]})}),X.jsx("tbody",{children:f.map(k=>d(k))})]})})},u$0=()=>X.jsx("div",{children:X.jsx(A$0,{})}),f$0=()=>{const f=$2(sz),h=()=>X.jsx("div",{children:X.jsx("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:X.jsx("tbody",{children:f.map(d=>X.jsx("tr",{children:X.jsx("div",{className:"p-1",children:X.jsx(r00,{variant:"filled",severity:"warning",children:d.message})})}))})})});return X.jsx("div",{className:"flex flex-col",children:f.length>0?h():X.jsx("h3",{className:"py-2 text-xl font-semibold",children:"No issues detected"})})},a$0=()=>{const f=$2(Hb),h=$2(zj0),d=$2(xj0),k=I=>Math.round(I*100)/100,C=I=>{const S=[],Z=I==null?void 0:I.split(` -`);if(!Z)return S;for(const R of Z){const M=R==null?void 0:R.split(":");if(!M)continue;const Q=M.map(O=>X.jsx("td",{children:O}));S.push(X.jsx("tr",{children:Q}))}return S};return X.jsxs("div",{className:"flex flex-col p-2 min-h-[40px] max-h-[780px] overflow-auto",children:[X.jsx("h3",{className:"text-xl font-semibold",children:"CPU Info"}),X.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_processes_table",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2",children:"CPU"}),X.jsx("th",{className:"px-4 py-2",children:"Vendor ID"}),X.jsx("th",{className:"px-4 py-2",children:"Family"}),X.jsx("th",{className:"px-4 py-2",children:"Model"}),X.jsx("th",{className:"px-4 py-2",children:"Stepping"}),X.jsx("th",{className:"px-4 py-2",children:"Physical ID"}),X.jsx("th",{className:"px-4 py-2",children:"Core ID"}),X.jsx("th",{className:"px-4 py-2",children:"Cores"}),X.jsx("th",{className:"px-4 py-2",children:"Model Name"}),X.jsx("th",{className:"px-4 py-2",children:"Mhz"}),X.jsx("th",{className:"px-4 py-2",children:"Cache Size"}),X.jsx("th",{className:"px-4 py-2",children:"Flags"}),X.jsx("th",{className:"px-4 py-2",children:"Microcode"})]})}),X.jsx("tbody",{children:f.map(I=>{var S;return X.jsxs("tr",{className:"border-b border-gray-200",children:[X.jsx("td",{className:"px-4 py-2",children:I.cpu}),X.jsx("td",{className:"px-4 py-2",children:I.vendorId}),X.jsx("td",{className:"px-4 py-2",children:I.family}),X.jsx("td",{className:"px-4 py-2",children:I.model}),X.jsx("td",{className:"px-4 py-2",children:I.stepping}),X.jsx("td",{className:"px-4 py-2",children:I.physicalId}),X.jsx("td",{className:"px-4 py-2",children:I.coreId}),X.jsx("td",{className:"px-4 py-2",children:I.cores}),X.jsx("td",{className:"px-4 py-2",children:I.modelName}),X.jsx("td",{className:"px-4 py-2",children:I.mhz}),X.jsx("td",{className:"px-4 py-2",children:I.cacheSize}),X.jsx("td",{className:"px-4 py-2",children:(S=I==null?void 0:I.flags)==null?void 0:S.join(", ")}),X.jsx("td",{className:"px-4 py-2",children:I.microcode})]},I.modelName)})})]}),X.jsx("h3",{className:"text-xl font-semibold mt-4",children:"Disk Info"}),X.jsx("table",{className:"table-auto text-left bg-white",children:X.jsxs("tbody",{children:[X.jsxs("tr",{children:[X.jsx("td",{children:"Device"}),X.jsx("td",{children:h.device})]}),X.jsxs("tr",{children:[X.jsx("td",{children:"Mount Point"}),X.jsx("td",{children:h.mountPoint})]}),X.jsxs("tr",{children:[X.jsx("td",{children:"File System Type"}),X.jsx("td",{children:h.fsType})]}),X.jsxs("tr",{children:[X.jsx("td",{children:"Total"}),X.jsx("td",{children:qr(h.total)})]}),X.jsxs("tr",{children:[X.jsx("td",{children:"Free"}),X.jsx("td",{children:qr(h.free)})]}),C(h.details)]})}),X.jsx("h3",{className:"text-xl font-semibold",children:"Ram Info"}),X.jsx("table",{className:"table-auto text-left bg-white",children:X.jsxs("tbody",{children:[X.jsxs("tr",{children:[X.jsx("td",{children:"Total"}),X.jsx("td",{children:qr(d.total)})]}),X.jsxs("tr",{children:[X.jsx("td",{children:"Available"}),X.jsx("td",{children:qr(d.available)})]}),X.jsxs("tr",{children:[X.jsx("td",{children:"Used"}),X.jsx("td",{children:qr(d.used)})]}),X.jsxs("tr",{children:[X.jsx("td",{children:"Used Percent"}),X.jsxs("td",{children:[k(d.usedPercent),"%"]})]})]})})]})},lX=f=>Math.round(f*100)/100,c$0=({process:f})=>X.jsxs("tr",{className:"border-b border-gray-200",children:[X.jsx("td",{className:"px-4 py-2",children:f.pid}),X.jsx("td",{className:"px-4 py-2",children:f.name}),X.jsx("td",{className:"px-4 py-2",children:lX(f.cpuUsage)}),X.jsx("td",{className:"px-4 py-2",children:lX(f.memory)})]},f.pid),h$0=({processes:f})=>{const[h,d]=T0.useState([]),[k,C]=T0.useState({column:"Name",descending:!0});T0.useEffect(()=>{I(f||[],k)},[f]);const I=(M,Q)=>{let e0=[...M].sort((o0,A0)=>Q.column==="Pid"?Z(o0.pid,A0.pid,Q.descending):Q.column==="Name"?S(o0.name,A0.name,Q.descending):Q.column==="Cpu"?Z(o0.cpuUsage,A0.cpuUsage,Q.descending):Q.column==="Memory"?Z(o0.memory,A0.memory,Q.descending):0);C(Q),d(e0)},S=(M,Q,O)=>O?Q.localeCompare(M):M.localeCompare(Q),Z=(M,Q,O)=>O?Q-M:M-Q,R=M=>k.column!==M?X.jsx(p3,{className:"ml-2"}):k.descending?X.jsx(w3,{}):X.jsx(d3,{});return X.jsx("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[660px] overflow-auto",children:X.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_processes_table",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2",onClick:()=>{I(h,{column:"Pid",descending:!k.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["PID",R("Pid")]})}),X.jsx("th",{className:"px-4 py-2",onClick:()=>{I(h,{column:"Name",descending:!k.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["Name",R("Name")]})}),X.jsx("th",{className:"px-4 py-2",onClick:()=>{I(h,{column:"Cpu",descending:!k.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["% CPU Usage",R("Cpu")]})}),X.jsx("th",{className:"px-4 py-2",onClick:()=>{I(h,{column:"Memory",descending:!k.descending})},children:X.jsxs("div",{className:"flex flex-row",children:["% Memory Usage",R("Memory")]})})]})}),X.jsx("tbody",{children:h==null?void 0:h.map(M=>X.jsx(c$0,{process:M},M.pid))})]})})},w$0=()=>{const f=$2(Rj0),[h,d]=T0.useState(f),[k,C]=T0.useState(!1);return T0.useEffect(()=>{d(f),C(!1)},[f]),X.jsxs("div",{className:"mt-4 flex flex-col",children:[X.jsx("div",{className:"flex w-full items-center justify-center mb-4",children:k?X.jsx($L,{}):X.jsx(qL,{variant:"contained",color:"primary",onClick:()=>{C(!0),wF0()},children:"Fetch Data"})}),X.jsx("input",{type:"text",className:"border-2 border-gray-300 rounded-lg p-2 mb-2",placeholder:"Search",onChange:I=>{const S=f==null?void 0:f.filter(Z=>Z.name.toLowerCase().includes(I.target.value.toLowerCase()));d(S)}}),X.jsx(h$0,{processes:h})]})},d$0=()=>{var I;const f=$2(Hb),h=$2(Sj0),[d,k]=T0.useState(!1);T0.useEffect(()=>{k(!1)},[h]);const C=S=>Math.round(S*100)/100;return X.jsxs("div",{className:"mt-4 flex flex-col max-h-[760px] overflow-auto",children:[X.jsx("h3",{className:"text-xl font-semibold",children:"CPU Info"}),X.jsxs("table",{className:"table-auto bg-white text-left","data-testid":"details_section_processes_table",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2",children:"CPU"}),X.jsx("th",{className:"px-4 py-2",children:"Vendor ID"}),X.jsx("th",{className:"px-4 py-2",children:"Family"}),X.jsx("th",{className:"px-4 py-2",children:"Model"}),X.jsx("th",{className:"px-4 py-2",children:"Stepping"}),X.jsx("th",{className:"px-4 py-2",children:"Physical ID"}),X.jsx("th",{className:"px-4 py-2",children:"Core ID"}),X.jsx("th",{className:"px-4 py-2",children:"Cores"}),X.jsx("th",{className:"px-4 py-2",children:"Model Name"}),X.jsx("th",{className:"px-4 py-2",children:"Mhz"}),X.jsx("th",{className:"px-4 py-2",children:"Cache Size"}),X.jsx("th",{className:"px-4 py-2",children:"Flags"}),X.jsx("th",{className:"px-4 py-2",children:"Microcode"})]})}),X.jsx("tbody",{children:f.map(S=>{var Z;return X.jsxs("tr",{className:"border-b border-gray-200",children:[X.jsx("td",{className:"px-4 py-2",children:S.cpu}),X.jsx("td",{className:"px-4 py-2",children:S.vendorId}),X.jsx("td",{className:"px-4 py-2",children:S.family}),X.jsx("td",{className:"px-4 py-2",children:S.model}),X.jsx("td",{className:"px-4 py-2",children:S.stepping}),X.jsx("td",{className:"px-4 py-2",children:S.physicalId}),X.jsx("td",{className:"px-4 py-2",children:S.coreId}),X.jsx("td",{className:"px-4 py-2",children:S.cores}),X.jsx("td",{className:"px-4 py-2",children:S.modelName}),X.jsx("td",{className:"px-4 py-2",children:S.mhz}),X.jsx("td",{className:"px-4 py-2",children:S.cacheSize}),X.jsx("td",{className:"px-4 py-2",children:(Z=S==null?void 0:S.flags)==null?void 0:Z.join(", ")}),X.jsx("td",{className:"px-4 py-2",children:S.microcode})]},S.modelName)})})]}),X.jsx("h3",{className:"text-xl font-semibold",children:"CPU Usage"}),X.jsx("div",{className:"flex w-full items-center justify-center mb-4",children:d?X.jsx($L,{}):X.jsx(qL,{variant:"contained",color:"primary",onClick:()=>{k(!0),hF0()},children:"Fetch Data"})}),X.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_processes_table",children:[X.jsx("thead",{children:X.jsxs("tr",{className:"border-b",children:[X.jsx("th",{className:"px-4 py-2",children:"Core #"}),X.jsx("th",{className:"px-4 py-2",children:"% Usage"})]})}),X.jsx("tbody",{children:(I=h.cores)==null?void 0:I.map((S,Z)=>X.jsxs("tr",{className:"border-b border-gray-200",children:[X.jsx("td",{className:"px-4 py-2",children:Z+1}),X.jsx("td",{className:"px-4 py-2",children:C(S)})]},Z))})]})]})};var AS="http://www.w3.org/1999/xhtml";const sX={svg:"http://www.w3.org/2000/svg",xhtml:AS,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ey(f){var h=f+="",d=h.indexOf(":");return d>=0&&(h=f.slice(0,d))!=="xmlns"&&(f=f.slice(d+1)),sX.hasOwnProperty(h)?{space:sX[h],local:f}:f}function p$0(f){return function(){var h=this.ownerDocument,d=this.namespaceURI;return d===AS&&h.documentElement.namespaceURI===AS?h.createElement(f):h.createElementNS(d,f)}}function k$0(f){return function(){return this.ownerDocument.createElementNS(f.space,f.local)}}function W20(f){var h=ey(f);return(h.local?k$0:p$0)(h)}function v$0(){}function KL(f){return f==null?v$0:function(){return this.querySelector(f)}}function m$0(f){typeof f!="function"&&(f=KL(f));for(var h=this._groups,d=h.length,k=new Array(d),C=0;C=c0&&(c0=a0+1);!(C0=w0[c0])&&++c0=0;)(S=k[C])&&(I&&S.compareDocumentPosition(I)^4&&I.parentNode.insertBefore(S,I),I=S);return this}function G$0(f){f||(f=Z$0);function h(O,e0){return O&&e0?f(O.__data__,e0.__data__):!O-!e0}for(var d=this._groups,k=d.length,C=new Array(k),I=0;Ih?1:f>=h?0:NaN}function W$0(){var f=arguments[0];return arguments[0]=this,f.apply(null,arguments),this}function D$0(){var f=new Array(this.size()),h=-1;return this.each(function(){f[++h]=this}),f}function M$0(){for(var f=this._groups,h=0,d=f.length;h1?this.each((h==null?J$0:typeof h=="function"?X$0:U$0)(f,h,d??"")):t3(this.node(),f)}function t3(f,h){return f.style.getPropertyValue(h)||N20(f).getComputedStyle(f,null).getPropertyValue(h)}function $$0(f){return function(){delete this[f]}}function K$0(f,h){return function(){this[f]=h}}function b$0(f,h){return function(){var d=h.apply(this,arguments);d==null?delete this[f]:this[f]=d}}function eK0(f,h){return arguments.length>1?this.each((h==null?$$0:typeof h=="function"?b$0:K$0)(f,h)):this.node()[f]}function Q20(f){return f.trim().split(/^|\s+/)}function bL(f){return f.classList||new T20(f)}function T20(f){this._node=f,this._names=Q20(f.getAttribute("class")||"")}T20.prototype={add:function(f){var h=this._names.indexOf(f);h<0&&(this._names.push(f),this._node.setAttribute("class",this._names.join(" ")))},remove:function(f){var h=this._names.indexOf(f);h>=0&&(this._names.splice(h,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(f){return this._names.indexOf(f)>=0}};function F20(f,h){for(var d=bL(f),k=-1,C=h.length;++k=0&&(d=h.slice(k+1),h=h.slice(0,k)),{type:h,name:d}})}function zK0(f){return function(){var h=this.__on;if(h){for(var d=0,k=-1,C=h.length,I;d=0&&(k=d.slice(C+1),d=d.slice(0,C)),d&&!h.hasOwnProperty(d))throw new Error("unknown type: "+d);return{type:d,name:k}})}c5.prototype=ry.prototype={constructor:c5,on:function(f,h){var d=this._,k=jK0(f+"",d),C,I=-1,S=k.length;if(arguments.length<2){for(;++I0)for(var d=new Array(C),k=0,C,I;k=0&&f._call.call(null,h),f=f._next;--i3}function aX(){Ca=(Bm=N6.now())+ty,i3=O8=0;try{TK0()}finally{i3=0,PK0(),Ca=0}}function FK0(){var f=N6.now(),h=f-Bm;h>U20&&(ty-=h,Bm=f)}function PK0(){for(var f,h=Em,d,k=1/0;h;)h._call?(k>h._time&&(k=h._time),f=h,h=h._next):(d=h._next,h._next=null,h=f?f._next=d:Em=d);V8=f,uS(k)}function uS(f){if(!i3){O8&&(O8=clearTimeout(O8));var h=f-Ca;h>24?(f<1/0&&(O8=setTimeout(aX,f-N6.now()-ty)),S8&&(S8=clearInterval(S8))):(S8||(Bm=N6.now(),S8=setInterval(FK0,U20)),i3=1,X20(aX))}}function fS(f,h,d){var k=new Im;return h=h==null?0:+h,k.restart(function(C){k.stop(),f(C+h)},h,d),k}var YK0=ry("start","end","cancel","interrupt"),OK0=[],$20=0,aS=1,cS=2,h5=3,cX=4,hS=5,w5=6;function ny(f,h,d,k,C,I){var S=f.__transition;if(!S)f.__transition={};else if(d in S)return;VK0(f,d,{name:h,index:k,group:C,on:YK0,tween:OK0,time:I.time,delay:I.delay,duration:I.duration,ease:I.ease,timer:null,state:$20})}function tR(f,h){var d=kl(f,h);if(d.state>$20)throw new Error("too late; already scheduled");return d}function tA(f,h){var d=kl(f,h);if(d.state>h5)throw new Error("too late; already running");return d}function kl(f,h){var d=f.__transition;if(!d||!(d=d[h]))throw new Error("transition not found");return d}function VK0(f,h,d){var k=f.__transition,C;k[h]=d,d.timer=q20(I,0,d.time);function I(M){d.state=aS,d.timer.restart(S,d.delay,d.time),d.delay<=M&&S(M-d.delay)}function S(M){var Q,O,e0,o0;if(d.state!==aS)return R();for(Q in k)if(o0=k[Q],o0.name===d.name){if(o0.state===h5)return fS(S);o0.state===cX?(o0.state=w5,o0.timer.stop(),o0.on.call("interrupt",f,f.__data__,o0.index,o0.group),delete k[Q]):+QcS&&k.state>8&15|h>>4&240,h>>4&15|h&240,(h&15)<<4|h&15,1):d===8?Rv(h>>24&255,h>>16&255,h>>8&255,(h&255)/255):d===4?Rv(h>>12&15|h>>8&240,h>>8&15|h>>4&240,h>>4&15|h&240,((h&15)<<4|h&15)/255):null):(h=UK0.exec(f))?new U1(h[1],h[2],h[3],1):(h=XK0.exec(f))?new U1(h[1]*255/100,h[2]*255/100,h[3]*255/100,1):(h=qK0.exec(f))?Rv(h[1],h[2],h[3],h[4]):(h=$K0.exec(f))?Rv(h[1]*255/100,h[2]*255/100,h[3]*255/100,h[4]):(h=KK0.exec(f))?mX(h[1],h[2]/100,h[3]/100,1):(h=bK0.exec(f))?mX(h[1],h[2]/100,h[3]/100,h[4]):hX.hasOwnProperty(f)?pX(hX[f]):f==="transparent"?new U1(NaN,NaN,NaN,0):null}function pX(f){return new U1(f>>16&255,f>>8&255,f&255,1)}function Rv(f,h,d,k){return k<=0&&(f=h=d=NaN),new U1(f,h,d,k)}function rb0(f){return f instanceof uw||(f=Ea(f)),f?(f=f.rgb(),new U1(f.r,f.g,f.b,f.opacity)):new U1}function wS(f,h,d,k){return arguments.length===1?rb0(f):new U1(f,h,d,k??1)}function U1(f,h,d,k){this.r=+f,this.g=+h,this.b=+d,this.opacity=+k}iR(U1,wS,K20(uw,{brighter:function(f){return f=f==null?xm:Math.pow(xm,f),new U1(this.r*f,this.g*f,this.b*f,this.opacity)},darker:function(f){return f=f==null?Q6:Math.pow(Q6,f),new U1(this.r*f,this.g*f,this.b*f,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:kX,formatHex:kX,formatRgb:vX,toString:vX}));function kX(){return"#"+GI(this.r)+GI(this.g)+GI(this.b)}function vX(){var f=this.opacity;return f=isNaN(f)?1:Math.max(0,Math.min(1,f)),(f===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(f===1?")":", "+f+")")}function GI(f){return f=Math.max(0,Math.min(255,Math.round(f)||0)),(f<16?"0":"")+f.toString(16)}function mX(f,h,d,k){return k<=0?f=h=d=NaN:d<=0||d>=1?f=h=NaN:h<=0&&(f=NaN),new es(f,h,d,k)}function b20(f){if(f instanceof es)return new es(f.h,f.s,f.l,f.opacity);if(f instanceof uw||(f=Ea(f)),!f)return new es;if(f instanceof es)return f;f=f.rgb();var h=f.r/255,d=f.g/255,k=f.b/255,C=Math.min(h,d,k),I=Math.max(h,d,k),S=NaN,Z=I-C,R=(I+C)/2;return Z?(h===I?S=(d-k)/Z+(d0&&R<1?0:S,new es(S,Z,R,f.opacity)}function tb0(f,h,d,k){return arguments.length===1?b20(f):new es(f,h,d,k??1)}function es(f,h,d,k){this.h=+f,this.s=+h,this.l=+d,this.opacity=+k}iR(es,tb0,K20(uw,{brighter:function(f){return f=f==null?xm:Math.pow(xm,f),new es(this.h,this.s,this.l*f,this.opacity)},darker:function(f){return f=f==null?Q6:Math.pow(Q6,f),new es(this.h,this.s,this.l*f,this.opacity)},rgb:function(){var f=this.h%360+(this.h<0)*360,h=isNaN(f)||isNaN(this.s)?0:this.s,d=this.l,k=d+(d<.5?d:1-d)*h,C=2*d-k;return new U1(ZI(f>=240?f-240:f+120,C,k),ZI(f,C,k),ZI(f<120?f+240:f-120,C,k),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var f=this.opacity;return f=isNaN(f)?1:Math.max(0,Math.min(1,f)),(f===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(f===1?")":", "+f+")")}}));function ZI(f,h,d){return(f<60?h+(d-h)*f/60:f<180?d:f<240?h+(d-h)*(240-f)/60:h)*255}function nR(f){return function(){return f}}function ib0(f,h){return function(d){return f+d*h}}function nb0(f,h,d){return f=Math.pow(f,d),h=Math.pow(h,d)-f,d=1/d,function(k){return Math.pow(f+k*h,d)}}function ob0(f){return(f=+f)==1?er0:function(h,d){return d-h?nb0(h,d,f):nR(isNaN(h)?d:h)}}function er0(f,h){var d=h-f;return d?ib0(f,d):nR(isNaN(f)?h:f)}const Sm=function f(h){var d=ob0(h);function k(C,I){var S=d((C=wS(C)).r,(I=wS(I)).r),Z=d(C.g,I.g),R=d(C.b,I.b),M=er0(C.opacity,I.opacity);return function(Q){return C.r=S(Q),C.g=Z(Q),C.b=R(Q),C.opacity=M(Q),C+""}}return k.gamma=f,k}(1);function lb0(f,h){h||(h=[]);var d=f?Math.min(h.length,f.length):0,k=h.slice(),C;return function(I){for(C=0;Cd&&(I=h.slice(d,I),Z[S]?Z[S]+=I:Z[++S]=I),(k=k[0])===(C=C[0])?Z[S]?Z[S]+=C:Z[++S]=C:(Z[++S]=null,R.push({i:S,x:Kl(k,C)})),d=WI.lastIndex;return d180?Q+=360:Q-M>180&&(M+=360),e0.push({i:O.push(C(O)+"rotate(",null,k)-2,x:Kl(M,Q)})):Q&&O.push(C(O)+"rotate("+Q+k)}function Z(M,Q,O,e0){M!==Q?e0.push({i:O.push(C(O)+"skewX(",null,k)-2,x:Kl(M,Q)}):Q&&O.push(C(O)+"skewX("+Q+k)}function R(M,Q,O,e0,o0,A0){if(M!==O||Q!==e0){var l0=o0.push(C(o0)+"scale(",null,",",null,")");A0.push({i:l0-4,x:Kl(M,O)},{i:l0-2,x:Kl(Q,e0)})}else(O!==1||e0!==1)&&o0.push(C(o0)+"scale("+O+","+e0+")")}return function(M,Q){var O=[],e0=[];return M=f(M),Q=f(Q),I(M.translateX,M.translateY,Q.translateX,Q.translateY,O,e0),S(M.rotate,Q.rotate,O,e0),Z(M.skewX,Q.skewX,O,e0),R(M.scaleX,M.scaleY,Q.scaleX,Q.scaleY,O,e0),M=Q=null,function(o0){for(var A0=-1,l0=e0.length,w0;++A0=0&&(h=h.slice(0,d)),!h||h==="start"})}function Hb0(f,h,d){var k,C,I=Vb0(h)?tR:tA;return function(){var S=I(this,f),Z=S.on;Z!==k&&(C=(k=Z).copy()).on(h,d),S.on=C}}function Jb0(f,h){var d=this._id;return arguments.length<2?kl(this.node(),d).on.on(f):this.each(Hb0(d,f,h))}function Ub0(f){return function(){var h=this.parentNode;for(var d in this.__transition)if(+d!==f)return;h&&h.removeChild(this)}}function Xb0(){return this.on("end.remove",Ub0(this._id))}function qb0(f){var h=this._name,d=this._id;typeof f!="function"&&(f=KL(f));for(var k=this._groups,C=k.length,I=new Array(C),S=0;SaS&&k.name===h)return new as([[f]],g0e,h,+C)}return null}function vS(){Nr.preventDefault(),Nr.stopImmediatePropagation()}function C0e(f){var h=f.document.documentElement,d=Cr(f).on("dragstart.drag",vS,!0);"onselectstart"in h?d.on("selectstart.drag",vS,!0):(h.__noselect=h.style.MozUserSelect,h.style.MozUserSelect="none")}function E0e(f,h){var d=f.document.documentElement,k=Cr(f).on("dragstart.drag",null);h&&(k.on("click.drag",vS,!0),setTimeout(function(){k.on("click.drag",null)},0)),"onselectstart"in d?k.on("selectstart.drag",null):(d.style.MozUserSelect=d.__noselect,delete d.__noselect)}function Zv(f){return function(){return f}}function B0e(f,h,d){this.target=f,this.type=h,this.transform=d}function Js(f,h,d){this.k=f,this.x=h,this.y=d}Js.prototype={constructor:Js,scale:function(f){return f===1?this:new Js(this.k*f,this.x,this.y)},translate:function(f,h){return f===0&h===0?this:new Js(this.k,this.x+this.k*f,this.y+this.k*h)},apply:function(f){return[f[0]*this.k+this.x,f[1]*this.k+this.y]},applyX:function(f){return f*this.k+this.x},applyY:function(f){return f*this.k+this.y},invert:function(f){return[(f[0]-this.x)/this.k,(f[1]-this.y)/this.k]},invertX:function(f){return(f-this.x)/this.k},invertY:function(f){return(f-this.y)/this.k},rescaleX:function(f){return f.copy().domain(f.range().map(this.invertX,this).map(f.invert,f))},rescaleY:function(f){return f.copy().domain(f.range().map(this.invertY,this).map(f.invert,f))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var ly=new Js(1,0,0);sy.prototype=Js.prototype;function sy(f){for(;!f.__zoom;)if(!(f=f.parentNode))return ly;return f.__zoom}function jI(){Nr.stopImmediatePropagation()}function L8(){Nr.preventDefault(),Nr.stopImmediatePropagation()}function I0e(){return!Nr.ctrlKey&&!Nr.button}function x0e(){var f=this;return f instanceof SVGElement?(f=f.ownerSVGElement||f,f.hasAttribute("viewBox")?(f=f.viewBox.baseVal,[[f.x,f.y],[f.x+f.width,f.y+f.height]]):[[0,0],[f.width.baseVal.value,f.height.baseVal.value]]):[[0,0],[f.clientWidth,f.clientHeight]]}function BX(){return this.__zoom||ly}function S0e(){return-Nr.deltaY*(Nr.deltaMode===1?.05:Nr.deltaMode?1:.002)}function _0e(){return navigator.maxTouchPoints||"ontouchstart"in this}function z0e(f,h,d){var k=f.invertX(h[0][0])-d[0][0],C=f.invertX(h[1][0])-d[1][0],I=f.invertY(h[0][1])-d[0][1],S=f.invertY(h[1][1])-d[1][1];return f.translate(C>k?(k+C)/2:Math.min(0,k)||Math.max(0,C),S>I?(I+S)/2:Math.min(0,I)||Math.max(0,S))}function L0e(){var f=I0e,h=x0e,d=z0e,k=S0e,C=_0e,I=[0,1/0],S=[[-1/0,-1/0],[1/0,1/0]],Z=250,R=mb0,M=ry("start","zoom","end"),Q,O,e0=500,o0=150,A0=0;function l0(R0){R0.property("__zoom",BX).on("wheel.zoom",I0).on("mousedown.zoom",h0).on("dblclick.zoom",E0).filter(C).on("touchstart.zoom",z0).on("touchmove.zoom",W0).on("touchend.zoom touchcancel.zoom",P0).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}l0.transform=function(R0,Q0,q0){var fe=R0.selection?R0.selection():R0;fe.property("__zoom",BX),R0!==fe?c0(R0,Q0,q0):fe.interrupt().each(function(){y0(this,arguments).start().zoom(null,typeof Q0=="function"?Q0.apply(this,arguments):Q0).end()})},l0.scaleBy=function(R0,Q0,q0){l0.scaleTo(R0,function(){var fe=this.__zoom.k,de=typeof Q0=="function"?Q0.apply(this,arguments):Q0;return fe*de},q0)},l0.scaleTo=function(R0,Q0,q0){l0.transform(R0,function(){var fe=h.apply(this,arguments),de=this.__zoom,Se=q0==null?a0(fe):typeof q0=="function"?q0.apply(this,arguments):q0,we=de.invert(Se),Ie=typeof Q0=="function"?Q0.apply(this,arguments):Q0;return d(u0(w0(de,Ie),Se,we),fe,S)},q0)},l0.translateBy=function(R0,Q0,q0){l0.transform(R0,function(){return d(this.__zoom.translate(typeof Q0=="function"?Q0.apply(this,arguments):Q0,typeof q0=="function"?q0.apply(this,arguments):q0),h.apply(this,arguments),S)})},l0.translateTo=function(R0,Q0,q0,fe){l0.transform(R0,function(){var de=h.apply(this,arguments),Se=this.__zoom,we=fe==null?a0(de):typeof fe=="function"?fe.apply(this,arguments):fe;return d(ly.translate(we[0],we[1]).scale(Se.k).translate(typeof Q0=="function"?-Q0.apply(this,arguments):-Q0,typeof q0=="function"?-q0.apply(this,arguments):-q0),de,S)},fe)};function w0(R0,Q0){return Q0=Math.max(I[0],Math.min(I[1],Q0)),Q0===R0.k?R0:new Js(Q0,R0.x,R0.y)}function u0(R0,Q0,q0){var fe=Q0[0]-q0[0]*R0.k,de=Q0[1]-q0[1]*R0.k;return fe===R0.x&&de===R0.y?R0:new Js(R0.k,fe,de)}function a0(R0){return[(+R0[0][0]+ +R0[1][0])/2,(+R0[0][1]+ +R0[1][1])/2]}function c0(R0,Q0,q0){R0.on("start.zoom",function(){y0(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){y0(this,arguments).end()}).tween("zoom",function(){var fe=this,de=arguments,Se=y0(fe,de),we=h.apply(fe,de),Ie=q0==null?a0(we):typeof q0=="function"?q0.apply(fe,de):q0,Ne=Math.max(we[1][0]-we[0][0],we[1][1]-we[0][1]),c2=fe.__zoom,f2=typeof Q0=="function"?Q0.apply(fe,de):Q0,H2=R(c2.invert(Ie).concat(Ne/c2.k),f2.invert(Ie).concat(Ne/f2.k));return function(j2){if(j2===1)j2=f2;else{var qe=H2(j2),ye=Ne/qe[2];j2=new Js(ye,Ie[0]-qe[0]*ye,Ie[1]-qe[1]*ye)}Se.zoom(null,j2)}})}function y0(R0,Q0,q0){return!q0&&R0.__zooming||new C0(R0,Q0)}function C0(R0,Q0){this.that=R0,this.args=Q0,this.active=0,this.extent=h.apply(R0,Q0),this.taps=0}C0.prototype={start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(R0,Q0){return this.mouse&&R0!=="mouse"&&(this.mouse[1]=Q0.invert(this.mouse[0])),this.touch0&&R0!=="touch"&&(this.touch0[1]=Q0.invert(this.touch0[0])),this.touch1&&R0!=="touch"&&(this.touch1[1]=Q0.invert(this.touch1[0])),this.that.__zoom=Q0,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(R0){GK0(new B0e(l0,R0,this.that.__zoom),M.apply,M,[R0,this.that,this.args])}};function I0(){if(!f.apply(this,arguments))return;var R0=y0(this,arguments),Q0=this.__zoom,q0=Math.max(I[0],Math.min(I[1],Q0.k*Math.pow(2,k.apply(this,arguments)))),fe=Lv(this);if(R0.wheel)(R0.mouse[0][0]!==fe[0]||R0.mouse[0][1]!==fe[1])&&(R0.mouse[1]=Q0.invert(R0.mouse[0]=fe)),clearTimeout(R0.wheel);else{if(Q0.k===q0)return;R0.mouse=[fe,Q0.invert(fe)],d5(this),R0.start()}L8(),R0.wheel=setTimeout(de,o0),R0.zoom("mouse",d(u0(w0(Q0,q0),R0.mouse[0],R0.mouse[1]),R0.extent,S));function de(){R0.wheel=null,R0.end()}}function h0(){if(O||!f.apply(this,arguments))return;var R0=y0(this,arguments,!0),Q0=Cr(Nr.view).on("mousemove.zoom",Se,!0).on("mouseup.zoom",we,!0),q0=Lv(this),fe=Nr.clientX,de=Nr.clientY;C0e(Nr.view),jI(),R0.mouse=[q0,this.__zoom.invert(q0)],d5(this),R0.start();function Se(){if(L8(),!R0.moved){var Ie=Nr.clientX-fe,Ne=Nr.clientY-de;R0.moved=Ie*Ie+Ne*Ne>A0}R0.zoom("mouse",d(u0(R0.that.__zoom,R0.mouse[0]=Lv(R0.that),R0.mouse[1]),R0.extent,S))}function we(){Q0.on("mousemove.zoom mouseup.zoom",null),E0e(Nr.view,R0.moved),L8(),R0.end()}}function E0(){if(f.apply(this,arguments)){var R0=this.__zoom,Q0=Lv(this),q0=R0.invert(Q0),fe=R0.k*(Nr.shiftKey?.5:2),de=d(u0(w0(R0,fe),Q0,q0),h.apply(this,arguments),S);L8(),Z>0?Cr(this).transition().duration(Z).call(c0,de,Q0):Cr(this).call(l0.transform,de)}}function z0(){if(f.apply(this,arguments)){var R0=Nr.touches,Q0=R0.length,q0=y0(this,arguments,Nr.changedTouches.length===Q0),fe,de,Se,we;for(jI(),de=0;de1&&(R.thisProgram=process.argv[1].replace(/\\/g,"/")),R.arguments=process.argv.slice(2),f.exports=R,process.on("uncaughtException",function(V){if(!(V instanceof Zi))throw V}),process.on("unhandledRejection",function(V,K){process.exit(1)}),R.inspect=function(){return"[Emscripten Module object]"}}else A0?(typeof read<"u"&&(R.read=function(K){var n0=Ho(K);return n0?ds(n0):read(K)}),R.readBinary=function(K){var n0;return n0=Ho(K),n0||(typeof readbuffer=="function"?new Uint8Array(readbuffer(K)):(n0=read(K,"binary"),E0(typeof n0=="object"),n0))},typeof scriptArgs<"u"?R.arguments=scriptArgs:typeof arguments<"u"&&(R.arguments=arguments),typeof quit=="function"&&(R.quit=function(V,K){quit(V)})):(O||e0)&&(R.read=function(K){try{var n0=new XMLHttpRequest;return n0.open("GET",K,!1),n0.send(null),n0.responseText}catch($){var y=Ho(K);if(y)return ds(y);throw $}},e0&&(R.readBinary=function(K){try{var n0=new XMLHttpRequest;return n0.open("GET",K,!1),n0.responseType="arraybuffer",n0.send(null),new Uint8Array(n0.response)}catch($){var y=Ho(K);if(y)return y;throw $}}),R.readAsync=function(K,n0,y){var $=new XMLHttpRequest;$.open("GET",K,!0),$.responseType="arraybuffer",$.onload=function(){if($.status==200||$.status==0&&$.response){n0($.response);return}var s0=Ho(K);if(s0){n0(s0.buffer);return}y()},$.onerror=y,$.send(null)},typeof arguments<"u"&&(R.arguments=arguments),R.setWindowTitle=function(V){document.title=V});R.print=typeof console<"u"?console.log:typeof print<"u"?print:null,R.printErr=typeof printErr<"u"?printErr:typeof console<"u"&&console.warn||R.print,R.print=R.print,R.printErr=R.printErr;for(Q in M)M.hasOwnProperty(Q)&&(R[Q]=M[Q]);M=void 0;var u0=16;function a0(V){E0(!h2);var K=n2;return n2=n2+V+15&-16,K}function c0(V){E0(tt);var K=Ee[tt>>2],n0=K+V+15&-16;if(Ee[tt>>2]=n0,n0>=R2){var y=Ji();if(!y)return Ee[tt>>2]=K,0}return K}function y0(V,K){K||(K=u0);var n0=V=Math.ceil(V/K)*K;return n0}function C0(V){switch(V){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(V[V.length-1]==="*")return 4;if(V[0]==="i"){var K=parseInt(V.substr(1));return E0(K%8===0),K/8}else return 0}}}new Array(0);var I0=8,h0=0;function E0(V,K){V||it("Assertion failed: "+K)}function z0(V){var K=R["_"+V];return E0(K,"Cannot call unknown function "+V+", make sure it is exported"),K}var W0={stackSave:function(){Dw()},stackRestore:function(){Ww()},arrayToC:function(V){var K=Ta(V.length);return Za(V,K),K},stringToC:function(V){var K=0;if(V!=null&&V!==0){var n0=(V.length<<2)+1;K=Ta(n0),f2(V,K,n0)}return K}},P0={string:W0.stringToC,array:W0.arrayToC};function R0(V,K,n0,y,$){var e=z0(V),s0=[],M0=0;if(y)for(var ve=0;ve>0]=K;break;case"i8":Ue[V>>0]=K;break;case"i16":He[V>>1]=K;break;case"i32":Ee[V>>2]=K;break;case"i64":tempI64=[K>>>0,(tempDouble=K,+Xu(tempDouble)>=1?tempDouble>0?(cw(+Wa(tempDouble/4294967296),4294967295)|0)>>>0:~~+aw((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],Ee[V>>2]=tempI64[0],Ee[V+4>>2]=tempI64[1];break;case"float":xe[V>>2]=K;break;case"double":Pe[V>>3]=K;break;default:it("invalid type for setValue: "+n0)}}var q0=2,fe=4;function de(V,K,n0,y){var $,e;typeof V=="number"?($=!0,e=V):($=!1,e=V.length);var s0=typeof K=="string"?K:null,M0;if(n0==fe?M0=y:M0=[typeof Xi=="function"?Xi:a0,Ta,a0,c0][n0===void 0?q0:n0](Math.max(e,s0?1:K.length)),$){var ve;for(y=M0,E0((M0&3)==0),ve=M0+(e&-4);y>2]=0;for(ve=M0+e;y>0]=0;return M0}if(s0==="i8")return V.subarray||V.slice?Ye.set(V,M0):Ye.set(new Uint8Array(V),M0),M0;for(var x0=0,u,be,ne;x0>0],n0|=y,!(y==0&&!K||($++,K&&$==K)););K||(K=$);var e="";if(n0<128){for(var s0=1024,M0;K>0;)M0=String.fromCharCode.apply(String,Ye.subarray(V,V+Math.min(K,s0))),e=e?e+M0:M0,V+=s0,K-=s0;return e}return Ne(V)}var we=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function Ie(V,K){for(var n0=K;V[n0];)++n0;if(n0-K>16&&V.subarray&&we)return we.decode(V.subarray(K,n0));for(var y,$,e,s0,M0,ve,x0="";;){if(y=V[K++],!y)return x0;if(!(y&128)){x0+=String.fromCharCode(y);continue}if($=V[K++]&63,(y&224)==192){x0+=String.fromCharCode((y&31)<<6|$);continue}if(e=V[K++]&63,(y&240)==224?y=(y&15)<<12|$<<6|e:(s0=V[K++]&63,(y&248)==240?y=(y&7)<<18|$<<12|e<<6|s0:(M0=V[K++]&63,(y&252)==248?y=(y&3)<<24|$<<18|e<<12|s0<<6|M0:(ve=V[K++]&63,y=(y&1)<<30|$<<24|e<<18|s0<<12|M0<<6|ve))),y<65536)x0+=String.fromCharCode(y);else{var u=y-65536;x0+=String.fromCharCode(55296|u>>10,56320|u&1023)}}}function Ne(V){return Ie(Ye,V)}function c2(V,K,n0,y){if(!(y>0))return 0;for(var $=n0,e=n0+y-1,s0=0;s0=55296&&M0<=57343&&(M0=65536+((M0&1023)<<10)|V.charCodeAt(++s0)&1023),M0<=127){if(n0>=e)break;K[n0++]=M0}else if(M0<=2047){if(n0+1>=e)break;K[n0++]=192|M0>>6,K[n0++]=128|M0&63}else if(M0<=65535){if(n0+2>=e)break;K[n0++]=224|M0>>12,K[n0++]=128|M0>>6&63,K[n0++]=128|M0&63}else if(M0<=2097151){if(n0+3>=e)break;K[n0++]=240|M0>>18,K[n0++]=128|M0>>12&63,K[n0++]=128|M0>>6&63,K[n0++]=128|M0&63}else if(M0<=67108863){if(n0+4>=e)break;K[n0++]=248|M0>>24,K[n0++]=128|M0>>18&63,K[n0++]=128|M0>>12&63,K[n0++]=128|M0>>6&63,K[n0++]=128|M0&63}else{if(n0+5>=e)break;K[n0++]=252|M0>>30,K[n0++]=128|M0>>24&63,K[n0++]=128|M0>>18&63,K[n0++]=128|M0>>12&63,K[n0++]=128|M0>>6&63,K[n0++]=128|M0&63}}return K[n0]=0,n0-$}function f2(V,K,n0){return c2(V,Ye,K,n0)}function H2(V){for(var K=0,n0=0;n0=55296&&y<=57343&&(y=65536+((y&1023)<<10)|V.charCodeAt(++n0)&1023),y<=127?++K:y<=2047?K+=2:y<=65535?K+=3:y<=2097151?K+=4:y<=67108863?K+=5:K+=6}return K}typeof TextDecoder<"u"&&new TextDecoder("utf-16le");function j2(V){var K=H2(V)+1,n0=Xi(K);return n0&&c2(V,Ue,n0,K),n0}function qe(V){return V}function ye(V){var K=/__Z[\w\d_]+/g;return V.replace(K,function(n0){var y=n0;return n0===y?n0:n0+" ["+y+"]"})}function Be(){var V=new Error;if(!V.stack){try{throw new Error(0)}catch(K){V=K}if(!V.stack)return"(no stack trace available)"}return V.stack.toString()}function Ce(){var V=Be();return R.extraStackTrace&&(V+=` -`+R.extraStackTrace()),ye(V)}var _e=16384,ae,Ue,Ye,He,Ee,xe,Pe;function je(){R.HEAP8=Ue=new Int8Array(ae),R.HEAP16=He=new Int16Array(ae),R.HEAP32=Ee=new Int32Array(ae),R.HEAPU8=Ye=new Uint8Array(ae),R.HEAPU16=new Uint16Array(ae),R.HEAPU32=new Uint32Array(ae),R.HEAPF32=xe=new Float32Array(ae),R.HEAPF64=Pe=new Float64Array(ae)}var r2,n2,h2,N2,b2,mr,xr,tt;r2=n2=N2=b2=mr=xr=tt=0,h2=!1;function nn(){it("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+R2+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function Ji(){nn()}var ki=R.TOTAL_STACK||5242880,R2=R.TOTAL_MEMORY||16777216;R20;){var K=V.shift();if(typeof K=="function"){K();continue}var n0=K.func;typeof n0=="number"?K.arg===void 0?R.dynCall_v(n0):R.dynCall_vi(n0,K.arg):n0(K.arg===void 0?null:K.arg)}}var no=[],ws=[],C3=[],Dt=[],Ra=[],zi=!1;function E3(){if(R.preRun)for(typeof R.preRun=="function"&&(R.preRun=[R.preRun]);R.preRun.length;)Ju(R.preRun.shift());G1(no)}function Ga(){zi||(zi=!0,G1(ws))}function Li(){G1(C3)}function B3(){G1(Dt)}function vl(){if(R.postRun)for(typeof R.postRun=="function"&&(R.postRun=[R.postRun]);R.postRun.length;)iA(R.postRun.shift());G1(Ra)}function Ju(V){no.unshift(V)}function iA(V){Ra.unshift(V)}function Za(V,K){Ue.set(V,K)}function Uu(V,K,n0){for(var y=0;y>0]=V.charCodeAt(y);n0||(Ue[K>>0]=0)}(!Math.imul||Math.imul(4294967295,5)!==-5)&&(Math.imul=function(K,n0){var y=K>>>16,$=K&65535,e=n0>>>16,s0=n0&65535;return $*s0+(y*s0+$*e<<16)|0}),Math.imul=Math.imul,Math.clz32||(Math.clz32=function(V){V=V>>>0;for(var K=0;K<32;K++)if(V&1<<31-K)return K;return 32}),Math.clz32=Math.clz32,Math.trunc||(Math.trunc=function(V){return V<0?Math.ceil(V):Math.floor(V)}),Math.trunc=Math.trunc;var Xu=Math.abs,En=Math.sqrt,aw=Math.ceil,Wa=Math.floor,uy=Math.pow,cw=Math.min,ml=0,qu=null;function Da(V){ml++,R.monitorRunDependencies&&R.monitorRunDependencies(ml)}function $u(V){if(ml--,R.monitorRunDependencies&&R.monitorRunDependencies(ml),ml==0&&qu){var K=qu;qu=null,K()}}R.preloadedImages={},R.preloadedAudios={};var Bn=null,Yo="data:application/octet-stream;base64,";function hw(V){return String.prototype.startsWith?V.startsWith(Yo):V.indexOf(Yo)===0}var fy=[function(V,K){var n0=Se(V),y=Se(K);p0.createPath("/",S2.dirname(n0)),p0.writeFile(S2.join("/",n0),y)}];function I3(V,K,n0){return fy[V](K,n0)}r2=I0,n2=r2+197232,ws.push(),Bn="data:application/octet-stream;base64,AAAAAAAA8D8AAAAAAADwPwAAAAA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EwAAABMAAAATAAAAAQAAAB4AAAABAAAAAQAAABMAAAABAAAAHwAAACAAAAAhAAAAIgAAACMAAAATAAAAJAAAACUAAAAmAAAAEwAAABMAAAATAAAAEwAAACcAAAAoAAAAKQAAABMAAAAqAAAAKwAAACwAAAAtAAAAEwAAABMAAAATAAAAEwAAABMAAAABAAAAAQAAAAEAAAABAAAAAQAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAALgAAABMAAAATAAAAEwAAAC8AAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAADAAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAAAAAAAEAAAABAAAAAgAAAAMAAAABAAAABAAAAAEAAAAFAAAAAQAAAAYAAAAHAAAABwAAAAEAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAAAwAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAY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wBjyQEAUrigM6As/wBuyQEAAGP7+5qZ/wB5yQEA/uHj4xoc/wCEyQEAF4/9/b9v/wCPyQEAFf///38A/wCayQEAjkTjps7j/wClyQEAkNO0H3i0/wCwyQEAQWHfst+K/wC7yQEAUrigM6As/wDGyQEAAGP7+5qZ/wDRyQEA/uHj4xoc/wDcyQEAF4/9/b9v/wDnyQEAFf///38A/wDyyQEAxirWyrLW/wD9yQEAA077+7Su/wAJygEAkjXjs83j/wAVygEATSnrzOvF/wAhygEAA077+7Su/wAtygEAkjXjs83j/wA5ygEATSnrzOvF/wBFygEAyhvk3svk/wBRygEAA077+7Su/wBdygEAkjXjs83j/wBpygEATSnrzOvF/wB1ygEAyhvk3svk/wCBygEAGFj+/tmm/wCNygEAA077+7Su/wCZygEAkjXjs83j/wClygEATSnrzOvF/wCxygEAyhvk3svk/wC9ygEAGFj+/tmm/wDJygEAKjL////M/wDVygEAA077+7Su/wDhygEAkjXjs83j/wDtygEATSnrzOvF/wD5ygEAyhvk3svk/wAFywEAGFj+/tmm/wARywEAKjL////M/wAdywEAHCzl5di9/wApywEAA077+7Su/wA1ywEAkjXjs83j/wBBywEATSnrzOvF/wBNywEAyhvk3svk/wBZywEAGFj+/tmm/wBlywEAKjL////M/wBxywEAHCzl5di9/wB9ywEA6SP9/drs/wCJywEAA077+7Su/wCVywEAkjXjs83j/wChywEATSnrzOvF/wCtywEAyhvk3svk/wC5ywEAGFj+/tmm/wDFywEAKjL////M/wDRywEAHCzl5di9/wDdywEA6SP9/drs/wDpywEAAADy8vLy/wD1ywEAbDXis+LN/wABzAEAEVH9/c2s/wANzAEAmx/oy9Xo/wAZzAEAbDXis+LN/wAlzAEAEVH9/c2s/wAxzAEAmx/oy9Xo/wA9zAEA5Cv09Mrk/wBJzAEAbDXis+LN/wBVzAEAEVH9/c2s/wBhzAEAmx/oy9Xo/wBtzAEA5Cv09Mrk/wB5zAEAOC315vXJ/wCFzAEAbDXis+LN/wCRzAEAEVH9/c2s/wCdzAEAmx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JwIAIgAAADwnAgAjAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACgAAAApAAAAIAAAACoAAAAMAAAAGQAAACEAAAAEAAAABQAAAAEAAAAAAAAAAAAAAAAAAAAAFQoAAAkAAAAAAAAAAAAAAAAAAAAAAAAVEAwTHB4DDR8gISIjGxoRGRkZGRkZGRkZGRYSAg4LDxwYGBgYGBgWFhYWFhYWFhYWFhYWFhYWFhYWFhQcBBwWHBgYGBgYGBYWFhYWFhYWFhYWFhYWFhYWFhYWHCQcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwWHBwcHBwcHBwcHBYcGhwcFhwcHBwcFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYcFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhwWFhYWFhYWFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////8AAAAAAAAABP7//4f+//8HAAAAAAAAAAD//3////9///////////N//v3//////3///////////w/g/////zH8////AAAAAAAAAP//////////////AQD4AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQNf///v/////f39U/f8PAP7f///////////+3/////8DAP///////58Z////zz8DAAAAAAAA/v///38C/v///38AAAAAAAAAAAD///8HBwAAAAAA/v//B/4HAAAAAP7//////////3z/fy8AYAAAAOD///////8jAAAA/wMAAADgn/n///3FAwAAALADAAMA4If5///9bQMAAABeAAAcAOCv+////e0jAAAAAAEAAADgn/n///3NIwAAALADAAAA4Mc91hjHvwMAAAAAAAAAAODf/f///e8DAAAAAAMAAADg3/3///3vAwAAAEADAAAA4N/9///9/wMAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAD+/////38NAD8AAAAAAAAAliXw/q5sDSAfAAAAAAAAAAAAAAAAAAAA//7///8DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////PwD/////fwDt2gcAAAAAUAFQMYKrYiwAAAAAQADJgPUHAAAAAAgBAv////////////////////////8P//////////////8D//8/P/////8/P/+q////P////////99f3B/PD/8f3B8AAAAAQEwAAAAAAAAAAAAABwAAAAAAAAAAAAAAAAAAAIAAAAD+AwAA/v///////////x8A/v////////////8H4P////8fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//////////////////////////z8AAAAAAAAAAAAAAP//////////////////////////DwAAAAAAAAAAAAAAAAAAAABg/wf+//+H/v//BwAAAAAAAIAA//9/////f/////8AAAAAAAAA//////////////8BAPgDAAMAAAAAAP//////////PwAAAAMAAADA1///+/////9/f1T9/w8A/t////////////7f/////3sA////////nxn////PPwMAAAAAAAD+////fwL+////fwD+//v//7sWAP///wcHAAAAAAD+//8H//8HAP8D////////////fP9/7///Pf8D7v////////P/Px7/z/8AAO6f+f///cXTnzmAsM//AwDkh/n///1t04c5AF7A/x8A7q/7///97fO/OwAAwf8AAO6f+f///c3zjznAsMP/AADsxz3WGMe/w8c9gACA/wAA7t/9///978PfPWAAw/8AAOzf/f///e/D3z1gQMP/AADs3/3///3/w889gADD/wAAAAAAAAAAAAAAAAAAAAAAAP7/////f/8H/3//AwAAAACWJfD+rmz/O18//wMAAAAAAAAAA/8DoML//v///wP+/98Pv/7/P/4CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP8fAgAAAKAAAAD+/z4A/v///////////x9m/v////////////93GQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACgAAAApAAAAIAAAACoAAAAMAAAAGQAAACEAAAAGAAAABwAAAAEAAAABAAAAAAAAAAAAAAAAFQoAABUAAAAAAAAAAAAAAAAAAAAAAAAVEAwTHB4DDR8gISIjGxoRGRkZGRkZGRkZGRYSAg4LDxwYGBgYGBgWFhYWFhYWFhYWFhYWFhYWFhYWFhQcBBwWHBgYGBgYGBYWFhYWFhYWFhYWFhYWF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gAuAC8AMwA1ADAANwCqANsA2wDbANsAAAA9AIcANwA3ANsA2wAAACgANQAuADIALwBiAAAAAABHAAAAAADbAFEAAADbANsA2wAAANsAhABVANsAggDbAAAAgQDbAAAAPgBCAEEASABEAFIAWwAAAAAAXgBfANsAAADbANsA2wAAAAAAewBJAFcAUgBaAFoAXQAAAF8AAABfAAAAZQBdAF8AAABdAG4AagAAAGkAAABuAAAA2wCTAJoAoQCoAKsAcACxALgAvwDGAM0A0wAAAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAMABAAHAAMABAAFAAUABgAGAAgABwAHABEAFgASABEAEgAIAAgADwAPABcADwAYAA8AGQAaABoAHgAWADQAHgAFADIABgAiACIAMwAXABgANQAZABoAGgAqADYAKgA0ADcAMgBFADsAPAAzADsAPABGADUARwBIAEwANgAiAEkASgA3AEUATgBQAGIAUQBSAFQARgBHAFUASABMAFYASQBKAFgAWgBOAEQAUABRAFIAVAA4AC8ALABVACkAVgAbABAAWABaAF0AXQBdAF0AXQBdAF0AXgBeAF4AXgBeAF4AXgBfAF8AXwBfAF8AXwBfAGAACQBgAGAAYABgAGAAYQBhAGMAAgBjAGMAYwBjAGMAZAAAAGQAAABkAGQAZABlAAAAZQBlAGUAZQBlAGYAZgAAAGYAZgBmAGYAZwAAAGcAZwBnAGcAaAAAAGgAaABoAGgAaABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAAAAXAABAF0AXQBeAF4AXwBfAFwAXABcAFwAXABgAFwAXABcAGEAXABcAGIAYgBiAGIAYgBiAGIAYwBkAGUAZgBmAFwAXABnAFwAXABcAGAAXABcAGEAXABhAFwAaABhAFwAYgBiAGIAYgBiAGIAYgBiAGMAZABlAGUAXABmAFwAXABcAGcAaABhAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgAAAFwAXABcAFwAXABcAFwAXABcAFwAXABcAAAACgALAAwADQAOAAoADwAQABEAEgATAAoAFAAVABUAFQAWABcAFQAYABUAFQAZABUAFQAVABoAFQAVAAoAFQAVABUAFgAXABgAFQAVABkAFQAVABUAGgAVABUAFQAVABsADAAMACQAHgAeACAAIQAgACEAJAAlACYALQAyAC8ALgAqACUAJgAoACkAMwAqADQAKwA1ADYANwA8ADIARwA9ACIARQAiAD8AQABGADMANABIADUANgA3AC8ASQAqAEcASgBFAEwAXAA8AEYAXAA9AE0ASABOAE8AUgBJAEEAUABRAEoATABTAFQAMQBVAFYAVwBNAE4AWABPAFIAWQBQAFEAWgBbAFMARABUAFUAVgBXAEsARAAsAFgALABZADgALABaAFsAHQAdAB0AHQAdAB0AHQAfAB8AHwAfAB8AHwAfACMAIwAjACMAIwAjACMAJwBcACcAJwAnACcAJwAwADAAOQAcADkAOQA5ADkAOQA6AFwAOgBcADoAOgA6ADsAXAA7ADsAOwA7ADsAPgA+AFwAPgA+AD4APgBCAFwAQgBCAEIAQgBDAFwAQwBDAEMAQwBDAAkAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwACACu/9EACgCu/67/CwCu/67/rv+u/67/rv+u/67/BQDRAK7/0QDRANEA0QDRANEA0QDRAK7/+/+u/w4A7P+u/67/rv+u/9EA0QDRANEA0QANACUADABCABAAUAATAG0AewAUAJgADwCmAMMArv+u/67/rv+u/67/rv+u/67/rv+u/67/rv+u/67/rv+u/67/rv+u/67/rv+u/67/FwCu/3cArv8HAC4Arv8mAK7/FwARACMArv8NAK7/rv+u/67/OgCu/67/NQCu/67/rv8oAK7/BwCu/zsARQCu/0g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ZW5kcXVvdGU/IGxvbmdlciB0aGFuICVkPykAClN0cmluZyBzdGFydGluZzoiACBzY2FubmluZyBhIEhUTUwgc3RyaW5nIChtaXNzaW5nICc+Jz8gYmFkIG5lc3Rpbmc/IGxvbmdlciB0aGFuICVkPykAClN0cmluZyBzdGFydGluZzo8ACBzY2FubmluZyBhIC8qLi4uKi8gY29tbWVudCAobWlzc2luZyAnKi8/IGxvbmdlciB0aGFuICVkPykAZmxleCBzY2FubmVyIHB1c2gtYmFjayBvdmVyZmxvdwAiIgBzdHJpY3QAbGluZWxlbmd0aAA7CgAgW2tleT0AXQAgWwAsCgA9AF8lbGRfU1VTUEVDVABkaQBzdHJpY3QgAHsKAF07CgAS7u4UCQPu/u7u7gHu7u4B7u4K/u4TGRXuEwHu7u7uCxHu7u7u7u7u7u4B7u4WCQEBHQ8X7u4aFxvu7hzu7u7uARn77u7uAe4Q7u4e7u7u7gACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIXEQICAgICAgICAgICAgISEAITAgIWAgICAgICAgICAgICAgICAgICAgICAgICAgIUAhUCAgICAgICAgICAgICAgICAgICAgICAgICAgICAg4CDwICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBAgMEBQYHCAkKCwwNCwMEBQ8HAwwNBgwNDgwNGhUWAAEAAwcOBg8IDA0SEyoQEQkQLzARMhcTDRQSLhIUQRMyEyxAKkIZLEJGIgwNDiMPCRARChARyRARLUVG/AEG9g8H9iQCEBEvMDZNTigmOzwqNjE5PT8vOkDYRDA+JTdDNUsrOElMAAMJAAAAAQ4CCwwIIyQlNjs9AA0QEhsWHBInMiIXMx48Bgc1BQ8RFBgpABMpAAAAAAA3FSgdHgAhJjQfMD4ZLAAbACAaKgArOi4vADE4OS0AAgIBAAMDAQABAAEBAQ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AC95bGduNi8yAC95bGduNi8zAC95bGduNi80AC95bGduNi81AC95bGduNi82AC95bGduNy8xAC95bGduNy8yAC95bGduNy8zAC95bGduNy80AC95bGduNy81AC95bGduNy82AC95bGduNy83AC95bGduOC8xAC95bGduOC8yAC95bGduOC8zAC95bGduOC80AC95bGduOC81AC95bGduOC82AC95bGduOC83AC95bGduOC84AC95bGduOS8xAC95bGduOS8yAC95bGduOS8zAC95bGduOS80AC95bGduOS81AC95bGduOS82AC95bGduOS83AC95bGduOS84AC95bGduOS85AC95bGduYnUzLzEAL3lsZ25idTMvMgAveWxnbmJ1My8zAC95bGduYnU0LzEAL3lsZ25idTQvMgAveWxnbmJ1NC8zAC95bGduYnU0LzQAL3lsZ25idTUvMQAveWxnbmJ1NS8yAC95bGduYnU1LzMAL3lsZ25idTUvNAAveWxnbmJ1NS81AC95bGduYnU2LzEAL3lsZ25idTYvMgAveWxnbmJ1Ni8zAC95bGduYnU2LzQAL3lsZ25idTYvNQAveWxnbmJ1Ni82AC95bGduYnU3LzEAL3lsZ25idTcvMgAveWxnbmJ1Ny8zAC95bGduYnU3LzQAL3lsZ25idTcvNQAveWxnbmJ1Ny82AC95bGduYnU3LzcAL3lsZ25idTgvMQAveWxnbmJ1OC8yAC95bGduYnU4LzMAL3lsZ25idTgvNAAveWxnbmJ1OC81AC95bGduYnU4LzYAL3lsZ25idTgvNwAveWxnbmJ1OC84AC95bGduYnU5LzEAL3lsZ25idTkvMgAveWxnbmJ1OS8zAC95bGduYnU5LzQAL3lsZ25idTkvNQAveWxnbmJ1OS82AC95bGduYnU5LzcAL3lsZ25idTkvOAAveWxnbmJ1OS85AC95bG9yYnIzLzEAL3lsb3JicjMvMgAveWxvcmJyMy8zAC95bG9yYnI0LzEAL3lsb3JicjQvMgAveWxvcmJyNC8zAC95bG9yYnI0LzQAL3lsb3JicjUvMQAveWxvcmJyNS8yAC95bG9yYnI1LzMAL3lsb3JicjUvNAAveWxvcmJyNS81AC95bG9yYnI2LzEAL3ls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pbGwgJiYgcnRwLT5zcGxpdC5QYXJ0aXRpb25zWzBdLmNvdW50WzFdID49IHJ0cC0+TWluRmlsbAAhcnRwLT5zcGxpdC5QYXJ0aXRpb25zWzBdLnRha2VuW2ldAENsYXNzaWZ5AEdldEJyYW5jaGVzAG4tPmJyYW5jaFtpXS5jaGlsZAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKAICAgICAhAMWQEAH1AIAwcSExRXFhcIC2kMHwoFDA4pESsPLRAvMCAyBjQ1GxwdHgsMISIjJCUmJygMGBkXBAobHBogKgohIiMkJSYnKAwKDlMKLFgxWFhYWFhYDBscDy5YMyEiIyQlJicoGxz/U///ISIjJCUmJygM//8F////CRT//////wwbHP8QFRYhIiMkJSYnKBsc/////yEiIyQlJicoDP8SExQRFhf///////8MGxz///8SISIjJCUmJygbHP////8hIiMkJSYnKAz///////8T////////DBsc/////yEiIyQlJicoGxz/////ISIjJCUmJygSExQVFhcYGf///////////yMkJSYnGxITFBYXIjZoAR84ViEgAhsbG14bGzc5cDbSwk8EPCJHIj8iRCIiWCJlIiIFBl9gOQQHCAkKCwwNDgRmZ11qbQUGb1g7cQcICQoLDA0OBHI8W3M+YUYbEhMUFhcEBQY/QWJJBwgJCgsMDQ4FBgBcAAAHCAkKCwwNDgQAAE8AAABTQgAAAAAABAUGAERUVQcICQoLDA0OBQYAAAAABwgJCgsMDQ4EACosLkcxMwAAAAAAAAQFBgAAAEoHCAkKCwwNDg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AAAAAAAAAAAAAAAAAAQACAAAAAAAwAAAAAAAAAAEAAgAAAAAP0AAAAAAAAAAAAAIAAAAAD/BwAAAAAAAAAAACAAAAAAAP8AAAAAAAAAEAAgAAAAAAAAAAAAAAAAAAAAIAAAAAA/AgAAAAAAAAAAAAQAAAAAEAAAAAAAAIAAgMDfAAwAAAAAAAAAAAAAAAAAHwAAAAAAAP7///8A/P//AAAAAAAAAAD8AAAAAAAAwP/f/wcAAAAAAAAAAAAAgAYA/AAAGD4AAIC/AMwAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAGD///8fAAD/AwAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAEAABgAAAAAAAAAAAA4AAAAABAAAABwAAAAAAAAAAAAAAAAAAAAMAAA/n8vAAD/A/9/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4xAAAAAAAAAAAAAAAAAAAAAAAAxP////8AAADAAAAAAAAAAAABAOCfAAAAAH8/AAAAAAAAAAAAAAAAAAAAABAAEAAA/P///x8AAAAAAAwAAAAAAABAAAzwAAAAAAAAwPgAAAAAAAAAwAAAAAAAAAAA/wD///8hEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////fwAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAPgAOAA4ABggPj////8//////9/H/zxf/9/AAD///8DAAD/////AQB7A9DBr0IADB+8//8AAAAAAAL//////////////////////////////////////////////////////////w8A/////38AAAD/BwAA/////////////z8AAAAAAAD8///+/////////////////////////////////////////////////////x//AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOCHA/4AAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAP//////f/8PAAAAAAAAAAD////7/////////////w8A//////////////////////////////////8/AAAA/w8e////AfzB4AAAAAAAAAAAAA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AAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAcAAAAAAAAAAAAAAAAA////////////////////////////////////////PwD/////f/7///////////////////////////8/AAAAAP//////////PwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////////////38A//8DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAIAAAACAAAIAAAACAAAIAAAACAAAAAAgAAAAIAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwD//////w////////////////8PAP9//n/+//7/AAAAAP8H////f/////////8P//////8HAAAAAAAAAADA////BwD//////wf/AQMAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////AQC///////////8f//8PAP/////fBwAA//8BAP////////9//f////////////////////////////8e/////////z8PAP///wAAAAAAAAAAAAAAAAAAAAAAAPj//////////+H/AAAAAAAA//////////8/AAAAAAAAAP//////////////////DwAAAAAAAAAAAAAAAAAAAAAA/////////////////////////////////////////////////////////////////wABAgMEBQYHCAn/////////CgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiP///////8KCwwNDg8QERITFBUWFxgZGhscHR4fICEiI/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AAQIEBwMGBQASERMUFRYXGBkaGxwdHh8gIREiIyQRJSYnKCkqKywRLS4vEBAwEBAQEBAQEDEyMxA0NRAQERERERERERERERERERERERERERERERERETYRERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERE3ERERETgROTo7PD0+ERERERERERERERERERERERERERERERERERERERERERERERERERERERERET8QEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBARQEERQkNERUZHSEkQEBBKS0xNThAQEE9QEBAQEFEQEBAQEBAQEBARERFSUxAQEBAQEBAQEBAQEREREVQQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAREVUQEBAQVhAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBBXEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBBYWVpbEBAQEBAQEBAQEBAQEBAQEBAQEBAQEFwQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////8AAAAAAAAAAP7//wf+//8HAAAAAAAEIAT//3////9//////////////////////////////////8P/AwAfUAAAAAAAAAAAAAAgAAAAAADfPEDX///7////////////v///////////////////////A/z/////////////////////////AP7///9/Av7/////AAAAAAD/v7YA////BwcAAAD/B//////////+/8P////////////////vH/7h/58AAP///////wDg////////////////AwD//////wcwBP////z/HwAA////AQAAAAAAAAAA/R8AAAAAAADwA/9//////////+//3+H/z//+/u6f+f///cXjn1mAsM//AwDuh/n///1tw4cZAl7A/z8A7r/7///97eO/GwEAz/8AAO6f+f///e3jnxnAsM//AgDsxz3WGMf/w8cdgQDA/wAA7t/9///97+PfHWADz/8AAOzf/f///e/j3x1gQM//BgDs3/3/////599dgADP/wD87P9//P//+y9/gF//AAAMAP7/////f/8HPyD/AwAAAACWJfD+ruz/O18g//MAAAAAAQAAAP8DAAD//v///x/+/wP///7///8fAAAAAAAAAAD///////9/+f8D///nwf//f0D/M/////+/IP//////9////////////z1/Pf//////Pf////89fz3/f/////////89//////////+HAAAAAP//AAD/////////////HwD+//////////////////////////////////////////////////////////+f///+//8H////////////xwEA/98PAP//DwD//w8A/98NAP///////8///wGAEP8DAAAAAP8D//////////////8A//////8H//////////8/AP///x//D/8BwP////8/HwD//////w////8D/wMAAAAA////D/////////9//v8fAP8D/wOAAAAAAAAAAAAAAAD////////v/+8P/wMAAAAA///////z////////v/8DAP///////z8A/+P//////z8AAAAAAAAAAAAAAAAA3m8A////////////////////////////////AAAAAAAAAAD//z8//////z8//6r///8/////////31/cH88P/x/cHwAAAAAAAAAAAAAAAAAAAoAAAP8fAAAAAAAAAAAAAAAAhPwvPlC9//PgQwAA//////8BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwP///////wMAAP//////f///////f/////////////////////8feAwA/////78g/////////4AAAP//fwB/f39/f39/f/////8AAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAD+Az4f/v///////////3/g/v/////////////34P////8//v////////////9/AAD///8HAAAAAAAA////////////////////////////////PwAAAAAAAAAAAP////////////////////////////////8fAAAAAAAA//////////////////////8fAAAAAAAAAAD//////z//H////w8AAP//////f/CP////gP////////////8AAAAAgP/8////////////////eQ8A/wcAAAAAAAAAAAD/u/f///8AAAD///////8PAP//////////DwD/AwAA/Aj//////wf/////BwD///8f////////9/8AgP8DAAAAAP///////38A/z//A///fwT/////////fwUAADj//zwAfn5+AH9/AAAAAAAAAAAAAAAAAAAAAAAA//////8H/wP//////////////////////////w8A//9/+P//////D/////////////////8//////////////////wMAAAAAfwD44P/9f1/b/////////////////wMAAAD4////////////////PwAA///////////8////////AAAAAAD/DwAAAAAAAAAAAAAAAAAA3/////////////////////8fAAD/A/7//wf+//8HwP////////////9//Pz8HAAAAAD/7///f///t/8//z8AAAAA////////////////////BwAAAAAAAAAA////////HwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///x////////8BAAAAAAD///9/AAD///8HAAAAAAAA////P/////8P/z4AAAAAAP////////////////////////8//wMAAAAAAAAAAAAAP/3/////v5H//z8AAAAAAAAAAAAAAAAAAAAAAAAAAAD//z8A////AwAAAAAAAAAA/////////8AAAAAAAAAAAG/w7/7//w8AAAAAAP///x8AAAAAAAAAAAAAAAAAAAAA////////PwD//z8A//8HAAAAAAAAAAAAAAAAAAAAAAD///////////8BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//////////PwAAAMD/AAD8////////AQAA////Af8D////////x/8AAAAAAAAAAP//////////HgD/AwAAAAAAAAAAAAAAAAAAAAAAAAAA////////PwD/AwAAAAAAAP////////////////9/AAAAAAAAAAAAAAAAAAAAAAAA////////////////BwAAAAAAAAAAAAAAAAAAAAAAAAD//////38AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////8BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////8fAP//////fwAA+P8AAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/////////////f///////////fZN7/6+//////////v+ff3////3tf/P3//////////////////////////////////////////////////////z/////9///3////9///3////9///3////9//////f////3///fP////////7////5b+9wqE6paqlvf3Xv/7/w/u+/8PAAAAAAAAAABMQ19BTEwATENfQ1RZUEUAAAAATENfTlVNRVJJQwAATENfVElNRQAAAAAATENfQ09MTEFURQAATENfTU9ORVRBUlkATENfTUVTU0FHRVMATEFORwBDLlVURi04AFBPU0lYAE1VU0xfTE9DUEFUSAARAAoAERERAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABEADwoREREDCgcAARMJCwsAAAkGCwAACwAGEQAAABEREQAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAARAAoKERERAAoAAAIACQsAAAAJAAsAAAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA0AAAAEDQAAAAAJDgAAAAAADgAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAPAAAAAA8AAAAACRAAAAAAABAAABAAABIAAAASEhIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAABISEgAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAAoAAAAACgAAAAAJCwAAAAAACwAACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAwAAAAACQwAAAAAAAwAAAwAAC0rICAgMFgweAAobnVsbCkALTBYKzBYIDBYLTB4KzB4IDB4AGluZgBJTkYATkFOADAxMjM0NTY3ODlBQkNERUYuAGFsbnVtAGFscGhhAGJsYW5rAGNudHJsAGRpZ2l0AGdyYXBoAGxvd2VyAHByaW50AHB1bmN0AHNwYWNlAHVwcGVyAHhkaWdpdABDLlVURi04AAAAAAAAAAAAQwAvcHJvYy9zZWxmL2ZkLwByd2EAaW5maW5pdHkAbmFuAAkACgANAAwABwAbAFtbOmFsbnVtOl1fXQBbXls6YWxudW06XV9dAFtbOnNwYWNlOl1dAFteWzpzcGFjZTpdXQBbWzpkaWdpdDpdXQBbXls6ZGlnaXQ6XV0AL3RtcC90bXBmaWxlX1hYWFhYWAB3Kw==";var x3=n2;n2+=16;function Yn(V,K,n0,y){it("Assertion failed: "+Se(V)+", at: "+[K?Se(K):"unknown filename",n0,y?Se(y):"unknown function"])}function er(){it()}function Ma(){return o0||typeof dateNow<"u"||(O||e0)&&self.performance&&self.performance.now}var ce={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};function J2(V){return R.___errno_location&&(Ee[R.___errno_location()>>2]=V),V}function nA(V,K){var n0;if(V===0)n0=Date.now();else if(V===1&&Ma())n0=er();else return J2(ce.EINVAL),-1;return Ee[K>>2]=n0/1e3|0,Ee[K+4>>2]=n0%1e3*1e3*1e3|0,0}function oA(){return nA.apply(null,arguments)}function Ku(){}function lA(V,K){return J2(ce.EPERM),-1}var Oo={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"},S2={splitPath:function(V){var K=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return K.exec(V).slice(1)},normalizeArray:function(V,K){for(var n0=0,y=V.length-1;y>=0;y--){var $=V[y];$==="."?V.splice(y,1):$===".."?(V.splice(y,1),n0++):n0&&(V.splice(y,1),n0--)}if(K)for(;n0;n0--)V.unshift("..");return V},normalize:function(V){var K=V.charAt(0)==="/",n0=V.substr(-1)==="/";return V=S2.normalizeArray(V.split("/").filter(function(y){return!!y}),!K).join("/"),!V&&!K&&(V="."),V&&n0&&(V+="/"),(K?"/":"")+V},dirname:function(V){var K=S2.splitPath(V),n0=K[0],y=K[1];return!n0&&!y?".":(y&&(y=y.substr(0,y.length-1)),n0+y)},basename:function(V){if(V==="/")return"/";var K=V.lastIndexOf("/");return K===-1?V:V.substr(K+1)},extname:function(V){return S2.splitPath(V)[3]},join:function(){var V=Array.prototype.slice.call(arguments,0);return S2.normalize(V.join("/"))},join2:function(V,K){return S2.normalize(V+"/"+K)},resolve:function(){for(var V="",K=!1,n0=arguments.length-1;n0>=-1&&!K;n0--){var y=n0>=0?arguments[n0]:p0.cwd();if(typeof y!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!y)return"";V=y+"/"+V,K=y.charAt(0)==="/"}return V=S2.normalizeArray(V.split("/").filter(function($){return!!$}),!K).join("/"),(K?"/":"")+V||"."},relative:function(V,K){V=S2.resolve(V).substr(1),K=S2.resolve(K).substr(1);function n0(x0){for(var u=0;u=0&&x0[be]==="";be--);return u>be?[]:x0.slice(u,be-u+1)}for(var y=n0(V.split("/")),$=n0(K.split("/")),e=Math.min(y.length,$.length),s0=e,M0=0;M00?K=y.slice(0,$).toString("utf-8"):K=null}else typeof window<"u"&&typeof window.prompt=="function"?(K=window.prompt("Input: "),K!==null&&(K+=` -`)):typeof readline=="function"&&(K=readline(),K!==null&&(K+=` -`));if(!K)return null;V.input=yl(K,!0)}return V.input.shift()},put_char:function(V,K){K===null||K===10?(R.print(Ie(V.output,0)),V.output=[]):K!=0&&V.output.push(K)},flush:function(V){V.output&&V.output.length>0&&(R.print(Ie(V.output,0)),V.output=[])}},default_tty1_ops:{put_char:function(V,K){K===null||K===10?(R.printErr(Ie(V.output,0)),V.output=[]):K!=0&&V.output.push(K)},flush:function(V){V.output&&V.output.length>0&&(R.printErr(Ie(V.output,0)),V.output=[])}}},Y2={ops_table:null,mount:function(V){return Y2.createNode(null,"/",16895,0)},createNode:function(V,K,n0,y){if(p0.isBlkdev(n0)||p0.isFIFO(n0))throw new p0.ErrnoError(ce.EPERM);Y2.ops_table||(Y2.ops_table={dir:{node:{getattr:Y2.node_ops.getattr,setattr:Y2.node_ops.setattr,lookup:Y2.node_ops.lookup,mknod:Y2.node_ops.mknod,rename:Y2.node_ops.rename,unlink:Y2.node_ops.unlink,rmdir:Y2.node_ops.rmdir,readdir:Y2.node_ops.readdir,symlink:Y2.node_ops.symlink},stream:{llseek:Y2.stream_ops.llseek}},file:{node:{getattr:Y2.node_ops.getattr,setattr:Y2.node_ops.setattr},stream:{llseek:Y2.stream_ops.llseek,read:Y2.stream_ops.read,write:Y2.stream_ops.write,allocate:Y2.stream_ops.allocate,mmap:Y2.stream_ops.mmap,msync:Y2.stream_ops.msync}},link:{node:{getattr:Y2.node_ops.getattr,setattr:Y2.node_ops.setattr,readlink:Y2.node_ops.readlink},stream:{}},chrdev:{node:{getattr:Y2.node_ops.getattr,setattr:Y2.node_ops.setattr},stream:p0.chrdev_stream_ops}});var $=p0.createNode(V,K,n0,y);return p0.isDir($.mode)?($.node_ops=Y2.ops_table.dir.node,$.stream_ops=Y2.ops_table.dir.stream,$.contents={}):p0.isFile($.mode)?($.node_ops=Y2.ops_table.file.node,$.stream_ops=Y2.ops_table.file.stream,$.usedBytes=0,$.contents=null):p0.isLink($.mode)?($.node_ops=Y2.ops_table.link.node,$.stream_ops=Y2.ops_table.link.stream):p0.isChrdev($.mode)&&($.node_ops=Y2.ops_table.chrdev.node,$.stream_ops=Y2.ops_table.chrdev.stream),$.timestamp=Date.now(),V&&(V.contents[K]=$),$},getFileDataAsRegularArray:function(V){if(V.contents&&V.contents.subarray){for(var K=[],n0=0;n0V.contents.length&&(V.contents=Y2.getFileDataAsRegularArray(V),V.usedBytes=V.contents.length),!V.contents||V.contents.subarray){var n0=V.contents?V.contents.length:0;if(n0>=K)return;var y=1024*1024;K=Math.max(K,n0*(n00&&V.contents.set($.subarray(0,V.usedBytes),0);return}for(!V.contents&&K>0&&(V.contents=[]);V.contents.lengthK)V.contents.length=K;else for(;V.contents.length=V.node.usedBytes)return 0;var s0=Math.min(V.node.usedBytes-$,y);if(E0(s0>=0),s0>8&&e.subarray)K.set(e.subarray($,$+s0),n0);else for(var M0=0;M00||$+yB2.timestamp)&&($.push(be),y++)});var e=[];if(Object.keys(K.entries).forEach(function(be){K.entries[be];var ne=V.entries[be];ne||(e.push(be),y++)}),!y)return n0(null);var s0=0,M0=V.type==="remote"?V.db:K.db,ve=M0.transaction([dt.DB_STORE_NAME],"readwrite"),x0=ve.objectStore(dt.DB_STORE_NAME);function u(be){if(be)return u.errored?void 0:(u.errored=!0,n0(be));if(++s0>=y)return n0(null)}ve.onerror=function(be){u(this.error),be.preventDefault()},$.sort().forEach(function(be){K.type==="local"?dt.loadRemoteEntry(x0,be,function(ne,B2){if(ne)return u(ne);dt.storeLocalEntry(be,B2,u)}):dt.loadLocalEntry(be,function(ne,B2){if(ne)return u(ne);dt.storeRemoteEntry(x0,be,B2,u)})}),e.sort().reverse().forEach(function(be){K.type==="local"?dt.removeLocalEntry(be,u):dt.removeRemoteEntry(x0,be,u)})}},Sr={isWindows:!1,staticInit:function(){Sr.isWindows=!!process.platform.match(/^win/);var V=process.binding("constants");V.fs&&(V=V.fs),Sr.flagsForNodeMap={1024:V.O_APPEND,64:V.O_CREAT,128:V.O_EXCL,0:V.O_RDONLY,2:V.O_RDWR,4096:V.O_SYNC,512:V.O_TRUNC,1:V.O_WRONLY}},bufferFrom:function(V){return Buffer.alloc?Buffer.from(V):new Buffer(V)},mount:function(V){return E0(o0),Sr.createNode(null,"/",Sr.getMode(V.opts.root),0)},createNode:function(V,K,n0,y){if(!p0.isDir(n0)&&!p0.isFile(n0)&&!p0.isLink(n0))throw new p0.ErrnoError(ce.EINVAL);var $=p0.createNode(V,K,n0);return $.node_ops=Sr.node_ops,$.stream_ops=Sr.stream_ops,$},getMode:function(V){var K;try{K=pt.lstatSync(V),Sr.isWindows&&(K.mode=K.mode|(K.mode&292)>>2)}catch(n0){throw n0.code?new p0.ErrnoError(ce[n0.code]):n0}return K.mode},realPath:function(V){for(var K=[];V.parent!==V;)K.push(V.name),V=V.parent;return K.push(V.mount.opts.root),K.reverse(),S2.join.apply(null,K)},flagsForNode:function(V){V&=-2097153,V&=-2049,V&=-32769,V&=-524289;var K=0;for(var n0 in Sr.flagsForNodeMap)V&n0&&(K|=Sr.flagsForNodeMap[n0],V^=n0);if(V)throw new p0.ErrnoError(ce.EINVAL);return K},node_ops:{getattr:function(V){var K=Sr.realPath(V),n0;try{n0=pt.lstatSync(K)}catch(y){throw y.code?new p0.ErrnoError(ce[y.code]):y}return Sr.isWindows&&!n0.blksize&&(n0.blksize=4096),Sr.isWindows&&!n0.blocks&&(n0.blocks=(n0.size+n0.blksize-1)/n0.blksize|0),{dev:n0.dev,ino:n0.ino,mode:n0.mode,nlink:n0.nlink,uid:n0.uid,gid:n0.gid,rdev:n0.rdev,size:n0.size,atime:n0.atime,mtime:n0.mtime,ctime:n0.ctime,blksize:n0.blksize,blocks:n0.blocks}},setattr:function(V,K){var n0=Sr.realPath(V);try{if(K.mode!==void 0&&(pt.chmodSync(n0,K.mode),V.mode=K.mode),K.timestamp!==void 0){var y=new Date(K.timestamp);pt.utimesSync(n0,y,y)}K.size!==void 0&&pt.truncateSync(n0,K.size)}catch($){throw $.code?new p0.ErrnoError(ce[$.code]):$}},lookup:function(V,K){var n0=S2.join2(Sr.realPath(V),K),y=Sr.getMode(n0);return Sr.createNode(V,K,y)},mknod:function(V,K,n0,y){var $=Sr.createNode(V,K,n0,y),e=Sr.realPath($);try{p0.isDir($.mode)?pt.mkdirSync(e,$.mode):pt.writeFileSync(e,"",{mode:$.mode})}catch(s0){throw s0.code?new p0.ErrnoError(ce[s0.code]):s0}return $},rename:function(V,K,n0){var y=Sr.realPath(V),$=S2.join2(Sr.realPath(K),n0);try{pt.renameSync(y,$)}catch(e){throw e.code?new p0.ErrnoError(ce[e.code]):e}},unlink:function(V,K){var n0=S2.join2(Sr.realPath(V),K);try{pt.unlinkSync(n0)}catch(y){throw y.code?new p0.ErrnoError(ce[y.code]):y}},rmdir:function(V,K){var n0=S2.join2(Sr.realPath(V),K);try{pt.rmdirSync(n0)}catch(y){throw y.code?new p0.ErrnoError(ce[y.code]):y}},readdir:function(V){var K=Sr.realPath(V);try{return pt.readdirSync(K)}catch(n0){throw n0.code?new p0.ErrnoError(ce[n0.code]):n0}},symlink:function(V,K,n0){var y=S2.join2(Sr.realPath(V),K);try{pt.symlinkSync(n0,y)}catch($){throw $.code?new p0.ErrnoError(ce[$.code]):$}},readlink:function(V){var K=Sr.realPath(V);try{return K=pt.readlinkSync(K),K=G3.relative(G3.resolve(V.mount.opts.root),K),K}catch(n0){throw n0.code?new p0.ErrnoError(ce[n0.code]):n0}}},stream_ops:{open:function(V){var K=Sr.realPath(V.node);try{p0.isFile(V.node.mode)&&(V.nfd=pt.openSync(K,Sr.flagsForNode(V.flags)))}catch(n0){throw n0.code?new p0.ErrnoError(ce[n0.code]):n0}},close:function(V){try{p0.isFile(V.node.mode)&&V.nfd&&pt.closeSync(V.nfd)}catch(K){throw K.code?new p0.ErrnoError(ce[K.code]):K}},read:function(V,K,n0,y,$){if(y===0)return 0;try{return pt.readSync(V.nfd,Sr.bufferFrom(K.buffer),n0,y,$)}catch(e){throw new p0.ErrnoError(ce[e.code])}},write:function(V,K,n0,y,$){try{return pt.writeSync(V.nfd,Sr.bufferFrom(K.buffer),n0,y,$)}catch(e){throw new p0.ErrnoError(ce[e.code])}},llseek:function(V,K,n0){var y=K;if(n0===1)y+=V.position;else if(n0===2&&p0.isFile(V.node.mode))try{var $=pt.fstatSync(V.nfd);y+=$.size}catch(e){throw new p0.ErrnoError(ce[e.code])}if(y<0)throw new p0.ErrnoError(ce.EINVAL);return y}}},Gr={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:function(V){E0(e0),Gr.reader||(Gr.reader=new FileReaderSync);var K=Gr.createNode(null,"/",Gr.DIR_MODE,0),n0={};function y(e){for(var s0=e.split("/"),M0=K,ve=0;ve=V.node.size)return 0;var e=V.node.contents.slice($,$+y),s0=Gr.reader.readAsArrayBuffer(e);return K.set(new Uint8Array(s0),n0),e.size},write:function(V,K,n0,y,$){throw new p0.ErrnoError(ce.EIO)},llseek:function(V,K,n0){var y=K;if(n0===1?y+=V.position:n0===2&&p0.isFile(V.node.mode)&&(y+=V.node.size),y<0)throw new p0.ErrnoError(ce.EINVAL);return y}}};n2+=16,n2+=16,n2+=16;var p0={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function(V){if(!(V instanceof p0.ErrnoError))throw V+" : "+Ce();return J2(V.errno)},lookupPath:function(V,K){if(V=S2.resolve(p0.cwd(),V),K=K||{},!V)return{path:"",node:null};var n0={follow_mount:!0,recurse_count:0};for(var y in n0)K[y]===void 0&&(K[y]=n0[y]);if(K.recurse_count>8)throw new p0.ErrnoError(ce.ELOOP);for(var $=S2.normalizeArray(V.split("/").filter(function(ne){return!!ne}),!1),e=p0.root,s0="/",M0=0;M0<$.length;M0++){var ve=M0===$.length-1;if(ve&&K.parent)break;if(e=p0.lookupNode(e,$[M0]),s0=S2.join2(s0,$[M0]),p0.isMountpoint(e)&&(!ve||ve&&K.follow_mount)&&(e=e.mounted.root),!ve||K.follow)for(var x0=0;p0.isLink(e.mode);){var u=p0.readlink(s0);s0=S2.resolve(S2.dirname(s0),u);var be=p0.lookupPath(s0,{recurse_count:K.recurse_count});if(e=be.node,x0++>40)throw new p0.ErrnoError(ce.ELOOP)}}return{path:s0,node:e}},getPath:function(V){for(var K;;){if(p0.isRoot(V)){var n0=V.mount.mountpoint;return K?n0[n0.length-1]!=="/"?n0+"/"+K:n0+K:n0}K=K?V.name+"/"+K:V.name,V=V.parent}},hashName:function(V,K){for(var n0=0,y=0;y>>0)%p0.nameTable.length},hashAddNode:function(V){var K=p0.hashName(V.parent.id,V.name);V.name_next=p0.nameTable[K],p0.nameTable[K]=V},hashRemoveNode:function(V){var K=p0.hashName(V.parent.id,V.name);if(p0.nameTable[K]===V)p0.nameTable[K]=V.name_next;else for(var n0=p0.nameTable[K];n0;){if(n0.name_next===V){n0.name_next=V.name_next;break}n0=n0.name_next}},lookupNode:function(V,K){var n0=p0.mayLookup(V);if(n0)throw new p0.ErrnoError(n0,V);for(var y=p0.hashName(V.id,K),$=p0.nameTable[y];$;$=$.name_next){var e=$.name;if($.parent.id===V.id&&e===K)return $}return p0.lookup(V,K)},createNode:function(V,K,n0,y){if(!p0.FSNode){p0.FSNode=function(M0,ve,x0,u){M0||(M0=this),this.parent=M0,this.mount=M0.mount,this.mounted=null,this.id=p0.nextInode++,this.name=ve,this.mode=x0,this.node_ops={},this.stream_ops={},this.rdev=u},p0.FSNode.prototype={};var $=365,e=146;Object.defineProperties(p0.FSNode.prototype,{read:{get:function(){return(this.mode&$)===$},set:function(M0){M0?this.mode|=$:this.mode&=~$}},write:{get:function(){return(this.mode&e)===e},set:function(M0){M0?this.mode|=e:this.mode&=~e}},isFolder:{get:function(){return p0.isDir(this.mode)}},isDevice:{get:function(){return p0.isChrdev(this.mode)}}})}var s0=new p0.FSNode(V,K,n0,y);return p0.hashAddNode(s0),s0},destroyNode:function(V){p0.hashRemoveNode(V)},isRoot:function(V){return V===V.parent},isMountpoint:function(V){return!!V.mounted},isFile:function(V){return(V&61440)===32768},isDir:function(V){return(V&61440)===16384},isLink:function(V){return(V&61440)===40960},isChrdev:function(V){return(V&61440)===8192},isBlkdev:function(V){return(V&61440)===24576},isFIFO:function(V){return(V&61440)===4096},isSocket:function(V){return(V&49152)===49152},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(V){var K=p0.flagModes[V];if(typeof K>"u")throw new Error("Unknown file open mode: "+V);return K},flagsToPermissionString:function(V){var K=["r","w","rw"][V&3];return V&512&&(K+="w"),K},nodePermissions:function(V,K){return p0.ignorePermissions?0:K.indexOf("r")!==-1&&!(V.mode&292)||K.indexOf("w")!==-1&&!(V.mode&146)||K.indexOf("x")!==-1&&!(V.mode&73)?ce.EACCES:0},mayLookup:function(V){var K=p0.nodePermissions(V,"x");return K||(V.node_ops.lookup?0:ce.EACCES)},mayCreate:function(V,K){try{var n0=p0.lookupNode(V,K);return ce.EEXIST}catch{}return p0.nodePermissions(V,"wx")},mayDelete:function(V,K,n0){var y;try{y=p0.lookupNode(V,K)}catch(e){return e.errno}var $=p0.nodePermissions(V,"wx");if($)return $;if(n0){if(!p0.isDir(y.mode))return ce.ENOTDIR;if(p0.isRoot(y)||p0.getPath(y)===p0.cwd())return ce.EBUSY}else if(p0.isDir(y.mode))return ce.EISDIR;return 0},mayOpen:function(V,K){return V?p0.isLink(V.mode)?ce.ELOOP:p0.isDir(V.mode)&&(p0.flagsToPermissionString(K)!=="r"||K&512)?ce.EISDIR:p0.nodePermissions(V,p0.flagsToPermissionString(K)):ce.ENOENT},MAX_OPEN_FDS:4096,nextfd:function(V,K){V=V||0,K=K||p0.MAX_OPEN_FDS;for(var n0=V;n0<=K;n0++)if(!p0.streams[n0])return n0;throw new p0.ErrnoError(ce.EMFILE)},getStream:function(V){return p0.streams[V]},createStream:function(V,K,n0){p0.FSStream||(p0.FSStream=function(){},p0.FSStream.prototype={},Object.defineProperties(p0.FSStream.prototype,{object:{get:function(){return this.node},set:function(s0){this.node=s0}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}));var y=new p0.FSStream;for(var $ in V)y[$]=V[$];V=y;var e=p0.nextfd(K,n0);return V.fd=e,p0.streams[e]=V,V},closeStream:function(V){p0.streams[V]=null},chrdev_stream_ops:{open:function(V){var K=p0.getDevice(V.node.rdev);V.stream_ops=K.stream_ops,V.stream_ops.open&&V.stream_ops.open(V)},llseek:function(){throw new p0.ErrnoError(ce.ESPIPE)}},major:function(V){return V>>8},minor:function(V){return V&255},makedev:function(V,K){return V<<8|K},registerDevice:function(V,K){p0.devices[V]={stream_ops:K}},getDevice:function(V){return p0.devices[V]},getMounts:function(V){for(var K=[],n0=[V];n0.length;){var y=n0.pop();K.push(y),n0.push.apply(n0,y.mounts)}return K},syncfs:function(V,K){typeof V=="function"&&(K=V,V=!1),p0.syncFSRequests++,p0.syncFSRequests>1&&console.log("warning: "+p0.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n0=p0.getMounts(p0.root.mount),y=0;function $(s0){return E0(p0.syncFSRequests>0),p0.syncFSRequests--,K(s0)}function e(s0){if(s0)return e.errored?void 0:(e.errored=!0,$(s0));++y>=n0.length&&$(null)}n0.forEach(function(s0){if(!s0.type.syncfs)return e(null);s0.type.syncfs(s0,V,e)})},mount:function(V,K,n0){var y=n0==="/",$=!n0,e;if(y&&p0.root)throw new p0.ErrnoError(ce.EBUSY);if(!y&&!$){var s0=p0.lookupPath(n0,{follow_mount:!1});if(n0=s0.path,e=s0.node,p0.isMountpoint(e))throw new p0.ErrnoError(ce.EBUSY);if(!p0.isDir(e.mode))throw new p0.ErrnoError(ce.ENOTDIR)}var M0={type:V,opts:K,mountpoint:n0,mounts:[]},ve=V.mount(M0);return ve.mount=M0,M0.root=ve,y?p0.root=ve:e&&(e.mounted=M0,e.mount&&e.mount.mounts.push(M0)),ve},unmount:function(V){var K=p0.lookupPath(V,{follow_mount:!1});if(!p0.isMountpoint(K.node))throw new p0.ErrnoError(ce.EINVAL);var n0=K.node,y=n0.mounted,$=p0.getMounts(y);Object.keys(p0.nameTable).forEach(function(s0){for(var M0=p0.nameTable[s0];M0;){var ve=M0.name_next;$.indexOf(M0.mount)!==-1&&p0.destroyNode(M0),M0=ve}}),n0.mounted=null;var e=n0.mount.mounts.indexOf(y);E0(e!==-1),n0.mount.mounts.splice(e,1)},lookup:function(V,K){return V.node_ops.lookup(V,K)},mknod:function(V,K,n0){var y=p0.lookupPath(V,{parent:!0}),$=y.node,e=S2.basename(V);if(!e||e==="."||e==="..")throw new p0.ErrnoError(ce.EINVAL);var s0=p0.mayCreate($,e);if(s0)throw new p0.ErrnoError(s0);if(!$.node_ops.mknod)throw new p0.ErrnoError(ce.EPERM);return $.node_ops.mknod($,e,K,n0)},create:function(V,K){return K=K!==void 0?K:438,K&=4095,K|=32768,p0.mknod(V,K,0)},mkdir:function(V,K){return K=K!==void 0?K:511,K&=1023,K|=16384,p0.mknod(V,K,0)},mkdirTree:function(V,K){for(var n0=V.split("/"),y="",$=0;$"u"&&(n0=K,K=438),K|=8192,p0.mknod(V,K,n0)},symlink:function(V,K){if(!S2.resolve(V))throw new p0.ErrnoError(ce.ENOENT);var n0=p0.lookupPath(K,{parent:!0}),y=n0.node;if(!y)throw new p0.ErrnoError(ce.ENOENT);var $=S2.basename(K),e=p0.mayCreate(y,$);if(e)throw new p0.ErrnoError(e);if(!y.node_ops.symlink)throw new p0.ErrnoError(ce.EPERM);return y.node_ops.symlink(y,$,V)},rename:function(V,K){var n0=S2.dirname(V),y=S2.dirname(K),$=S2.basename(V),e=S2.basename(K),s0,M0,ve;try{s0=p0.lookupPath(V,{parent:!0}),M0=s0.node,s0=p0.lookupPath(K,{parent:!0}),ve=s0.node}catch{throw new p0.ErrnoError(ce.EBUSY)}if(!M0||!ve)throw new p0.ErrnoError(ce.ENOENT);if(M0.mount!==ve.mount)throw new p0.ErrnoError(ce.EXDEV);var x0=p0.lookupNode(M0,$),u=S2.relative(V,y);if(u.charAt(0)!==".")throw new p0.ErrnoError(ce.EINVAL);if(u=S2.relative(K,n0),u.charAt(0)!==".")throw new p0.ErrnoError(ce.ENOTEMPTY);var be;try{be=p0.lookupNode(ve,e)}catch{}if(x0!==be){var ne=p0.isDir(x0.mode),B2=p0.mayDelete(M0,$,ne);if(B2)throw new p0.ErrnoError(B2);if(B2=be?p0.mayDelete(ve,e,ne):p0.mayCreate(ve,e),B2)throw new p0.ErrnoError(B2);if(!M0.node_ops.rename)throw new p0.ErrnoError(ce.EPERM);if(p0.isMountpoint(x0)||be&&p0.isMountpoint(be))throw new p0.ErrnoError(ce.EBUSY);if(ve!==M0&&(B2=p0.nodePermissions(M0,"w"),B2))throw new p0.ErrnoError(B2);try{p0.trackingDelegate.willMovePath&&p0.trackingDelegate.willMovePath(V,K)}catch(g){console.log("FS.trackingDelegate['willMovePath']('"+V+"', '"+K+"') threw an exception: "+g.message)}p0.hashRemoveNode(x0);try{M0.node_ops.rename(x0,ve,e)}catch(g){throw g}finally{p0.hashAddNode(x0)}try{p0.trackingDelegate.onMovePath&&p0.trackingDelegate.onMovePath(V,K)}catch(g){console.log("FS.trackingDelegate['onMovePath']('"+V+"', '"+K+"') threw an exception: "+g.message)}}},rmdir:function(V){var K=p0.lookupPath(V,{parent:!0}),n0=K.node,y=S2.basename(V),$=p0.lookupNode(n0,y),e=p0.mayDelete(n0,y,!0);if(e)throw new p0.ErrnoError(e);if(!n0.node_ops.rmdir)throw new p0.ErrnoError(ce.EPERM);if(p0.isMountpoint($))throw new p0.ErrnoError(ce.EBUSY);try{p0.trackingDelegate.willDeletePath&&p0.trackingDelegate.willDeletePath(V)}catch(s0){console.log("FS.trackingDelegate['willDeletePath']('"+V+"') threw an exception: "+s0.message)}n0.node_ops.rmdir(n0,y),p0.destroyNode($);try{p0.trackingDelegate.onDeletePath&&p0.trackingDelegate.onDeletePath(V)}catch(s0){console.log("FS.trackingDelegate['onDeletePath']('"+V+"') threw an exception: "+s0.message)}},readdir:function(V){var K=p0.lookupPath(V,{follow:!0}),n0=K.node;if(!n0.node_ops.readdir)throw new p0.ErrnoError(ce.ENOTDIR);return n0.node_ops.readdir(n0)},unlink:function(V){var K=p0.lookupPath(V,{parent:!0}),n0=K.node,y=S2.basename(V),$=p0.lookupNode(n0,y),e=p0.mayDelete(n0,y,!1);if(e)throw new p0.ErrnoError(e);if(!n0.node_ops.unlink)throw new p0.ErrnoError(ce.EPERM);if(p0.isMountpoint($))throw new p0.ErrnoError(ce.EBUSY);try{p0.trackingDelegate.willDeletePath&&p0.trackingDelegate.willDeletePath(V)}catch(s0){console.log("FS.trackingDelegate['willDeletePath']('"+V+"') threw an exception: "+s0.message)}n0.node_ops.unlink(n0,y),p0.destroyNode($);try{p0.trackingDelegate.onDeletePath&&p0.trackingDelegate.onDeletePath(V)}catch(s0){console.log("FS.trackingDelegate['onDeletePath']('"+V+"') threw an exception: "+s0.message)}},readlink:function(V){var K=p0.lookupPath(V),n0=K.node;if(!n0)throw new p0.ErrnoError(ce.ENOENT);if(!n0.node_ops.readlink)throw new p0.ErrnoError(ce.EINVAL);return S2.resolve(p0.getPath(n0.parent),n0.node_ops.readlink(n0))},stat:function(V,K){var n0=p0.lookupPath(V,{follow:!K}),y=n0.node;if(!y)throw new p0.ErrnoError(ce.ENOENT);if(!y.node_ops.getattr)throw new p0.ErrnoError(ce.EPERM);return y.node_ops.getattr(y)},lstat:function(V){return p0.stat(V,!0)},chmod:function(V,K,n0){var y;if(typeof V=="string"){var $=p0.lookupPath(V,{follow:!n0});y=$.node}else y=V;if(!y.node_ops.setattr)throw new p0.ErrnoError(ce.EPERM);y.node_ops.setattr(y,{mode:K&4095|y.mode&-4096,timestamp:Date.now()})},lchmod:function(V,K){p0.chmod(V,K,!0)},fchmod:function(V,K){var n0=p0.getStream(V);if(!n0)throw new p0.ErrnoError(ce.EBADF);p0.chmod(n0.node,K)},chown:function(V,K,n0,y){var $;if(typeof V=="string"){var e=p0.lookupPath(V,{follow:!y});$=e.node}else $=V;if(!$.node_ops.setattr)throw new p0.ErrnoError(ce.EPERM);$.node_ops.setattr($,{timestamp:Date.now()})},lchown:function(V,K,n0){p0.chown(V,K,n0,!0)},fchown:function(V,K,n0){var y=p0.getStream(V);if(!y)throw new p0.ErrnoError(ce.EBADF);p0.chown(y.node,K,n0)},truncate:function(V,K){if(K<0)throw new p0.ErrnoError(ce.EINVAL);var n0;if(typeof V=="string"){var y=p0.lookupPath(V,{follow:!0});n0=y.node}else n0=V;if(!n0.node_ops.setattr)throw new p0.ErrnoError(ce.EPERM);if(p0.isDir(n0.mode))throw new p0.ErrnoError(ce.EISDIR);if(!p0.isFile(n0.mode))throw new p0.ErrnoError(ce.EINVAL);var $=p0.nodePermissions(n0,"w");if($)throw new p0.ErrnoError($);n0.node_ops.setattr(n0,{size:K,timestamp:Date.now()})},ftruncate:function(V,K){var n0=p0.getStream(V);if(!n0)throw new p0.ErrnoError(ce.EBADF);if(!(n0.flags&2097155))throw new p0.ErrnoError(ce.EINVAL);p0.truncate(n0.node,K)},utime:function(V,K,n0){var y=p0.lookupPath(V,{follow:!0}),$=y.node;$.node_ops.setattr($,{timestamp:Math.max(K,n0)})},open:function(V,K,n0,y,$){if(V==="")throw new p0.ErrnoError(ce.ENOENT);K=typeof K=="string"?p0.modeStringToFlags(K):K,n0=typeof n0>"u"?438:n0,K&64?n0=n0&4095|32768:n0=0;var e;if(typeof V=="object")e=V;else{V=S2.normalize(V);try{var s0=p0.lookupPath(V,{follow:!(K&131072)});e=s0.node}catch{}}var M0=!1;if(K&64)if(e){if(K&128)throw new p0.ErrnoError(ce.EEXIST)}else e=p0.mknod(V,n0,0),M0=!0;if(!e)throw new p0.ErrnoError(ce.ENOENT);if(p0.isChrdev(e.mode)&&(K&=-513),K&65536&&!p0.isDir(e.mode))throw new p0.ErrnoError(ce.ENOTDIR);if(!M0){var ve=p0.mayOpen(e,K);if(ve)throw new p0.ErrnoError(ve)}K&512&&p0.truncate(e,0),K&=-641;var x0=p0.createStream({node:e,path:p0.getPath(e),flags:K,seekable:!0,position:0,stream_ops:e.stream_ops,ungotten:[],error:!1},y,$);x0.stream_ops.open&&x0.stream_ops.open(x0),R.logReadFiles&&!(K&1)&&(p0.readFiles||(p0.readFiles={}),V in p0.readFiles||(p0.readFiles[V]=1,R.printErr("read file: "+V)));try{if(p0.trackingDelegate.onOpenFile){var u=0;(K&2097155)!==1&&(u|=p0.tracking.openFlags.READ),K&2097155&&(u|=p0.tracking.openFlags.WRITE),p0.trackingDelegate.onOpenFile(V,u)}}catch(be){console.log("FS.trackingDelegate['onOpenFile']('"+V+"', flags) threw an exception: "+be.message)}return x0},close:function(V){V.getdents&&(V.getdents=null);try{V.stream_ops.close&&V.stream_ops.close(V)}catch(K){throw K}finally{p0.closeStream(V.fd)}},llseek:function(V,K,n0){if(!V.seekable||!V.stream_ops.llseek)throw new p0.ErrnoError(ce.ESPIPE);return V.position=V.stream_ops.llseek(V,K,n0),V.ungotten=[],V.position},read:function(V,K,n0,y,$){if(y<0||$<0)throw new p0.ErrnoError(ce.EINVAL);if((V.flags&2097155)===1)throw new p0.ErrnoError(ce.EBADF);if(p0.isDir(V.node.mode))throw new p0.ErrnoError(ce.EISDIR);if(!V.stream_ops.read)throw new p0.ErrnoError(ce.EINVAL);var e=typeof $<"u";if(!e)$=V.position;else if(!V.seekable)throw new p0.ErrnoError(ce.ESPIPE);var s0=V.stream_ops.read(V,K,n0,y,$);return e||(V.position+=s0),s0},write:function(V,K,n0,y,$,e){if(y<0||$<0)throw new p0.ErrnoError(ce.EINVAL);if(!(V.flags&2097155))throw new p0.ErrnoError(ce.EBADF);if(p0.isDir(V.node.mode))throw new p0.ErrnoError(ce.EISDIR);if(!V.stream_ops.write)throw new p0.ErrnoError(ce.EINVAL);V.flags&1024&&p0.llseek(V,0,2);var s0=typeof $<"u";if(!s0)$=V.position;else if(!V.seekable)throw new p0.ErrnoError(ce.ESPIPE);var M0=V.stream_ops.write(V,K,n0,y,$,e);s0||(V.position+=M0);try{V.path&&p0.trackingDelegate.onWriteToFile&&p0.trackingDelegate.onWriteToFile(V.path)}catch(ve){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+ve.message)}return M0},allocate:function(V,K,n0){if(K<0||n0<=0)throw new p0.ErrnoError(ce.EINVAL);if(!(V.flags&2097155))throw new p0.ErrnoError(ce.EBADF);if(!p0.isFile(V.node.mode)&&!p0.isDir(V.node.mode))throw new p0.ErrnoError(ce.ENODEV);if(!V.stream_ops.allocate)throw new p0.ErrnoError(ce.EOPNOTSUPP);V.stream_ops.allocate(V,K,n0)},mmap:function(V,K,n0,y,$,e,s0){if((V.flags&2097155)===1)throw new p0.ErrnoError(ce.EACCES);if(!V.stream_ops.mmap)throw new p0.ErrnoError(ce.ENODEV);return V.stream_ops.mmap(V,K,n0,y,$,e,s0)},msync:function(V,K,n0,y,$){return!V||!V.stream_ops.msync?0:V.stream_ops.msync(V,K,n0,y,$)},munmap:function(V){return 0},ioctl:function(V,K,n0){if(!V.stream_ops.ioctl)throw new p0.ErrnoError(ce.ENOTTY);return V.stream_ops.ioctl(V,K,n0)},readFile:function(V,K){if(K=K||{},K.flags=K.flags||"r",K.encoding=K.encoding||"binary",K.encoding!=="utf8"&&K.encoding!=="binary")throw new Error('Invalid encoding type "'+K.encoding+'"');var n0,y=p0.open(V,K.flags),$=p0.stat(V),e=$.size,s0=new Uint8Array(e);return p0.read(y,s0,0,e,0),K.encoding==="utf8"?n0=Ie(s0,0):K.encoding==="binary"&&(n0=s0),p0.close(y),n0},writeFile:function(V,K,n0){n0=n0||{},n0.flags=n0.flags||"w";var y=p0.open(V,n0.flags,n0.mode);if(typeof K=="string"){var $=new Uint8Array(H2(K)+1),e=c2(K,$,0,$.length);p0.write(y,$,0,e,void 0,n0.canOwn)}else if(ArrayBuffer.isView(K))p0.write(y,K,0,K.byteLength,void 0,n0.canOwn);else throw new Error("Unsupported data type");p0.close(y)},cwd:function(){return p0.currentPath},chdir:function(V){var K=p0.lookupPath(V,{follow:!0});if(K.node===null)throw new p0.ErrnoError(ce.ENOENT);if(!p0.isDir(K.node.mode))throw new p0.ErrnoError(ce.ENOTDIR);var n0=p0.nodePermissions(K.node,"x");if(n0)throw new p0.ErrnoError(n0);p0.currentPath=K.path},createDefaultDirectories:function(){p0.mkdir("/tmp"),p0.mkdir("/home"),p0.mkdir("/home/web_user")},createDefaultDevices:function(){p0.mkdir("/dev"),p0.registerDevice(p0.makedev(1,3),{read:function(){return 0},write:function(n0,y,$,e,s0){return e}}),p0.mkdev("/dev/null",p0.makedev(1,3)),Vo.register(p0.makedev(5,0),Vo.default_tty_ops),Vo.register(p0.makedev(6,0),Vo.default_tty1_ops),p0.mkdev("/dev/tty",p0.makedev(5,0)),p0.mkdev("/dev/tty1",p0.makedev(6,0));var V;if(typeof crypto<"u"){var K=new Uint8Array(1);V=function(){return crypto.getRandomValues(K),K[0]}}else o0?V=function(){return R8.randomBytes(1)[0]}:V=function(){return Math.random()*256|0};p0.createDevice("/dev","random",V),p0.createDevice("/dev","urandom",V),p0.mkdir("/dev/shm"),p0.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){p0.mkdir("/proc"),p0.mkdir("/proc/self"),p0.mkdir("/proc/self/fd"),p0.mount({mount:function(){var V=p0.createNode("/proc/self","fd",16895,73);return V.node_ops={lookup:function(K,n0){var y=+n0,$=p0.getStream(y);if(!$)throw new p0.ErrnoError(ce.EBADF);var e={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return $.path}}};return e.parent=e,e}},V}},{},"/proc/self/fd")},createStandardStreams:function(){R.stdin?p0.createDevice("/dev","stdin",R.stdin):p0.symlink("/dev/tty","/dev/stdin"),R.stdout?p0.createDevice("/dev","stdout",null,R.stdout):p0.symlink("/dev/tty","/dev/stdout"),R.stderr?p0.createDevice("/dev","stderr",null,R.stderr):p0.symlink("/dev/tty1","/dev/stderr");var V=p0.open("/dev/stdin","r");E0(V.fd===0,"invalid handle for stdin ("+V.fd+")");var K=p0.open("/dev/stdout","w");E0(K.fd===1,"invalid handle for stdout ("+K.fd+")");var n0=p0.open("/dev/stderr","w");E0(n0.fd===2,"invalid handle for stderr ("+n0.fd+")")},ensureErrnoError:function(){p0.ErrnoError||(p0.ErrnoError=function(K,n0){this.node=n0,this.setErrno=function(y){this.errno=y;for(var $ in ce)if(ce[$]===y){this.code=$;break}},this.setErrno(K),this.message=Oo[K],this.stack&&Object.defineProperty(this,"stack",{value:new Error().stack,writable:!0})},p0.ErrnoError.prototype=new Error,p0.ErrnoError.prototype.constructor=p0.ErrnoError,[ce.ENOENT].forEach(function(V){p0.genericErrors[V]=new p0.ErrnoError(V),p0.genericErrors[V].stack=""}))},staticInit:function(){p0.ensureErrnoError(),p0.nameTable=new Array(4096),p0.mount(Y2,{},"/"),p0.createDefaultDirectories(),p0.createDefaultDevices(),p0.createSpecialDirectories(),p0.filesystems={MEMFS:Y2,IDBFS:dt,NODEFS:Sr,WORKERFS:Gr}},init:function(V,K,n0){E0(!p0.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),p0.init.initialized=!0,p0.ensureErrnoError(),R.stdin=V||R.stdin,R.stdout=K||R.stdout,R.stderr=n0||R.stderr,p0.createStandardStreams()},quit:function(){p0.init.initialized=!1;var V=R._fflush;V&&V(0);for(var K=0;Kthis.length-1||ne<0)){var B2=ne%this.chunkSize,g=ne/this.chunkSize|0;return this.getter(g)[B2]}},e.prototype.setDataGetter=function(ne){this.getter=ne},e.prototype.cacheLength=function(){var ne=new XMLHttpRequest;if(ne.open("HEAD",n0,!1),ne.send(null),!(ne.status>=200&&ne.status<300||ne.status===304))throw new Error("Couldn't load "+n0+". Status: "+ne.status);var B2=Number(ne.getResponseHeader("Content-length")),g,on=(g=ne.getResponseHeader("Accept-Ranges"))&&g==="bytes",In=(g=ne.getResponseHeader("Content-Encoding"))&&g==="gzip",v0=1024*1024;on||(v0=B2);var g0=function(u1,f1){if(u1>f1)throw new Error("invalid range ("+u1+", "+f1+") or no bytes requested!");if(f1>B2-1)throw new Error("only "+B2+" bytes available! programmer error!");var Hr=new XMLHttpRequest;if(Hr.open("GET",n0,!1),B2!==v0&&Hr.setRequestHeader("Range","bytes="+u1+"-"+f1),typeof Uint8Array<"u"&&(Hr.responseType="arraybuffer"),Hr.overrideMimeType&&Hr.overrideMimeType("text/plain; charset=x-user-defined"),Hr.send(null),!(Hr.status>=200&&Hr.status<300||Hr.status===304))throw new Error("Couldn't load "+n0+". Status: "+Hr.status);return Hr.response!==void 0?new Uint8Array(Hr.response||[]):yl(Hr.responseText||"",!0)},Kt=this;Kt.setDataGetter(function(u1){var f1=u1*v0,Hr=(u1+1)*v0-1;if(Hr=Math.min(Hr,B2-1),typeof Kt.chunks[u1]>"u"&&(Kt.chunks[u1]=g0(f1,Hr)),typeof Kt.chunks[u1]>"u")throw new Error("doXHR failed!");return Kt.chunks[u1]}),(In||!B2)&&(v0=B2=1,B2=this.getter(0).length,v0=B2,console.log("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=B2,this._chunkSize=v0,this.lengthKnown=!0},typeof XMLHttpRequest<"u"){if(!e0)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var s0=new e;Object.defineProperties(s0,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var M0={isDevice:!1,contents:s0}}else var M0={isDevice:!1,url:n0};var ve=p0.createFile(V,K,M0,y,$);M0.contents?ve.contents=M0.contents:M0.url&&(ve.contents=null,ve.url=M0.url),Object.defineProperties(ve,{usedBytes:{get:function(){return this.contents.length}}});var x0={},u=Object.keys(ve.stream_ops);return u.forEach(function(be){var ne=ve.stream_ops[be];x0[be]=function(){if(!p0.forceLoadFile(ve))throw new p0.ErrnoError(ce.EIO);return ne.apply(null,arguments)}}),x0.read=function(ne,B2,g,on,In){if(!p0.forceLoadFile(ve))throw new p0.ErrnoError(ce.EIO);var v0=ne.node.contents;if(In>=v0.length)return 0;var g0=Math.min(v0.length-In,on);if(E0(g0>=0),v0.slice)for(var Kt=0;Kt>2]=y.dev,Ee[n0+4>>2]=0,Ee[n0+8>>2]=y.ino,Ee[n0+12>>2]=y.mode,Ee[n0+16>>2]=y.nlink,Ee[n0+20>>2]=y.uid,Ee[n0+24>>2]=y.gid,Ee[n0+28>>2]=y.rdev,Ee[n0+32>>2]=0,Ee[n0+36>>2]=y.size,Ee[n0+40>>2]=4096,Ee[n0+44>>2]=y.blocks,Ee[n0+48>>2]=y.atime.getTime()/1e3|0,Ee[n0+52>>2]=0,Ee[n0+56>>2]=y.mtime.getTime()/1e3|0,Ee[n0+60>>2]=0,Ee[n0+64>>2]=y.ctime.getTime()/1e3|0,Ee[n0+68>>2]=0,Ee[n0+72>>2]=y.ino,0},doMsync:function(V,K,n0,y){var $=new Uint8Array(Ye.subarray(V,V+n0));p0.msync(K,$,0,n0,y)},doMkdir:function(V,K){return V=S2.normalize(V),V[V.length-1]==="/"&&(V=V.substr(0,V.length-1)),p0.mkdir(V,K,0),0},doMknod:function(V,K,n0){switch(K&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ce.EINVAL}return p0.mknod(V,K,n0),0},doReadlink:function(V,K,n0){if(n0<=0)return-ce.EINVAL;var y=p0.readlink(V),$=Math.min(n0,H2(y)),e=Ue[K+$];return f2(y,K,n0+1),Ue[K+$]=e,$},doAccess:function(V,K){if(K&-8)return-ce.EINVAL;var n0,y=p0.lookupPath(V,{follow:!0});n0=y.node;var $="";return K&4&&($+="r"),K&2&&($+="w"),K&1&&($+="x"),$&&p0.nodePermissions(n0,$)?-ce.EACCES:0},doDup:function(V,K,n0){var y=p0.getStream(n0);return y&&p0.close(y),p0.open(V,K,0,n0,n0).fd},doReadv:function(V,K,n0,y){for(var $=0,e=0;e>2],M0=Ee[K+(e*8+4)>>2],ve=p0.read(V,Ue,s0,M0,y);if(ve<0)return-1;if($+=ve,ve>2],M0=Ee[K+(e*8+4)>>2],ve=p0.write(V,Ue,s0,M0,y);if(ve<0)return-1;$+=ve}return $},varargs:0,get:function(V){o2.varargs+=4;var K=Ee[o2.varargs-4>>2];return K},getStr:function(){var V=Se(o2.get());return V},getStreamFromFD:function(){var V=p0.getStream(o2.get());if(!V)throw new p0.ErrnoError(ce.EBADF);return V},getSocketFromFD:function(){var V=SOCKFS.getSocket(o2.get());if(!V)throw new p0.ErrnoError(ce.EBADF);return V},getSocketAddress:function(V){var K=o2.get(),n0=o2.get();if(V&&K===0)return null;var y=__read_sockaddr(K,n0);if(y.errno)throw new p0.ErrnoError(y.errno);return y.addr=DNS.lookup_addr(y.addr)||y.addr,y},get64:function(){var V=o2.get(),K=o2.get();return V>=0?E0(K===0):E0(K===-1),V},getZero:function(){E0(o2.get()===0)}};function ww(V,K){o2.varargs=K;try{var n0=o2.getStr();return p0.unlink(n0),0}catch(y){return(typeof p0>"u"||!(y instanceof p0.ErrnoError))&&it(y),-y.errno}}function S3(V,K){o2.varargs=K;try{var n0=o2.getStreamFromFD(),y=o2.get(),$=o2.get(),e=o2.get(),s0=o2.get(),M0=$;return p0.llseek(n0,M0,s0),Ee[e>>2]=n0.position,n0.getdents&&M0===0&&s0===0&&(n0.getdents=null),0}catch(ve){return(typeof p0>"u"||!(ve instanceof p0.ErrnoError))&&it(ve),-ve.errno}}function ay(V,K){o2.varargs=K;try{var n0=o2.getStreamFromFD(),y=o2.get(),$=o2.get();return o2.doReadv(n0,y,$)}catch(e){return(typeof p0>"u"||!(e instanceof p0.ErrnoError))&&it(e),-e.errno}}function cy(V,K){o2.varargs=K;try{var n0=o2.getStreamFromFD(),y=o2.get(),$=o2.get();return o2.doWritev(n0,y,$)}catch(e){return(typeof p0>"u"||!(e instanceof p0.ErrnoError))&&it(e),-e.errno}}function hy(V,K){o2.varargs=K;try{var n0=o2.get(),y=o2.get(),$=o2.get(),e=o2.get(),s0=o2.get(),M0=o2.get();M0<<=12;var ve,x0=!1;if(s0===-1){if(ve=Gi(_e,y),!ve)return-ce.ENOMEM;rf(ve,0,y),x0=!0}else{var u=p0.getStream(s0);if(!u)return-ce.EBADF;var be=p0.mmap(u,Ye,n0,y,M0,$,e);ve=be.ptr,x0=be.allocated}return o2.mappings[ve]={malloc:ve,len:y,allocated:x0,fd:s0,flags:e},ve}catch(ne){return(typeof p0>"u"||!(ne instanceof p0.ErrnoError))&&it(ne),-ne.errno}}function ja(V,K){o2.varargs=K;try{var n0=o2.getStr(),y=o2.get();return o2.doStat(p0.stat,n0,y)}catch($){return(typeof p0>"u"||!($ instanceof p0.ErrnoError))&&it($),-$.errno}}function dw(V,K){o2.varargs=K;try{var n0=o2.getStreamFromFD(),y=o2.get();return o2.doStat(p0.stat,n0.path,y)}catch($){return(typeof p0>"u"||!($ instanceof p0.ErrnoError))&&it($),-$.errno}}var pw={ppid:1,pid:42,sid:42,pgid:42};function kw(V,K){o2.varargs=K;try{return pw.pid}catch(n0){return(typeof p0>"u"||!(n0 instanceof p0.ErrnoError))&&it(n0),-n0.errno}}function vw(V,K){o2.varargs=K;try{var n0=o2.getStreamFromFD(),y=o2.get();switch(y){case 0:{var $=o2.get();if($<0)return-ce.EINVAL;var e;return e=p0.open(n0.path,n0.flags,0,$),e.fd}case 1:case 2:return 0;case 3:return n0.flags;case 4:{var $=o2.get();return n0.flags|=$,0}case 12:case 12:{var $=o2.get(),s0=0;return He[$+s0>>1]=2,0}case 13:case 14:case 13:case 14:return 0;case 16:case 8:return-ce.EINVAL;case 9:return J2(ce.EINVAL),-1;default:return-ce.EINVAL}}catch(M0){return(typeof p0>"u"||!(M0 instanceof p0.ErrnoError))&&it(M0),-M0.errno}}function mw(V,K){o2.varargs=K;try{var n0=o2.getStreamFromFD(),y=o2.get(),$=o2.get();return p0.read(n0,Ue,y,$)}catch(e){return(typeof p0>"u"||!(e instanceof p0.ErrnoError))&&it(e),-e.errno}}function gw(V,K){o2.varargs=K;try{var n0=o2.getStr(),y=o2.get();return o2.doAccess(n0,y)}catch($){return(typeof p0>"u"||!($ instanceof p0.ErrnoError))&&it($),-$.errno}}function wy(V,K){o2.varargs=K;try{var n0=o2.getStr(),y=o2.get(),$=o2.get(),e=p0.open(n0,y,$);return e.fd}catch(s0){return(typeof p0>"u"||!(s0 instanceof p0.ErrnoError))&&it(s0),-s0.errno}}function dy(V,K){o2.varargs=K;try{var n0=o2.getStreamFromFD(),y=o2.get();switch(y){case 21509:case 21505:return n0.tty?0:-ce.ENOTTY;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return n0.tty?0:-ce.ENOTTY;case 21519:{if(!n0.tty)return-ce.ENOTTY;var $=o2.get();return Ee[$>>2]=0,0}case 21520:return n0.tty?-ce.EINVAL:-ce.ENOTTY;case 21531:{var $=o2.get();return p0.ioctl(n0,y,$)}case 21523:return n0.tty?0:-ce.ENOTTY;default:it("bad ioctl syscall "+y)}}catch(e){return(typeof p0>"u"||!(e instanceof p0.ErrnoError))&&it(e),-e.errno}}function py(V,K){o2.varargs=K;try{var n0=o2.getStreamFromFD();return p0.close(n0),0}catch(y){return(typeof p0>"u"||!(y instanceof p0.ErrnoError))&&it(y),-y.errno}}function ky(V,K){o2.varargs=K;try{var n0=o2.get(),y=o2.get(),$=o2.mappings[n0];if(!$)return 0;if(y===$.len){var e=p0.getStream($.fd);o2.doMsync(n0,e,y,$.flags),p0.munmap(e),o2.mappings[n0]=null,$.allocated&&j3($.malloc)}return 0}catch(s0){return(typeof p0>"u"||!(s0 instanceof p0.ErrnoError))&&it(s0),-s0.errno}}var vy=de([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",q0);function ft(){}function _3(V){R.exit(V)}function yw(V){_3(V)}var Ui=n2;n2+=16;function s1(V){var K=64,n0=1024,y,$;s1.called?($=Ee[Ui>>2],y=Ee[$>>2]):(s1.called=!0,Ri.USER=Ri.LOGNAME="web_user",Ri.PATH="/",Ri.PWD="/",Ri.HOME="/home/web_user",Ri.LANG="C.UTF-8",Ri._=R.thisProgram,y=a0(n0),$=a0(K*4),Ee[$>>2]=y,Ee[Ui>>2]=$);var e=[],s0=0;for(var M0 in V)if(typeof V[M0]=="string"){var ve=M0+"="+V[M0];e.push(ve),s0+=ve.length}if(s0>n0)throw new Error("Environment size exceeded TOTAL_ENV_SIZE!");for(var x0=4,u=0;u>2]=y,y+=ve.length+1}Ee[$+e.length*x0>>2]=0}var Ri={};function sA(V){return V===0||(V=Se(V),!Ri.hasOwnProperty(V))?0:(sA.ret&&j3(sA.ret),sA.ret=j2(Ri[V]),sA.ret)}function bu(V){var K=Date.now();return Ee[V>>2]=K/1e3|0,Ee[V+4>>2]=K%1e3*1e3|0,0}var Cw=aw,z3=Xu,my=Xu,L3=Wa,AA=uy,Ew=En,gl=En;function Na(){it("trap!")}function ef(V,K){throw R.setThrew(V,K||1),"longjmp"}function Pt(V,K,n0){return Ye.set(Ye.subarray(K,K+n0),V),V}function Bw(V,K,n0){if(V===0)return J2(ce.EINVAL),-1;var y=Se(V),$=Se(K);return y===""||y.indexOf("=")!==-1?(J2(ce.EINVAL),-1):(Ri.hasOwnProperty(y)&&!n0||(Ri[y]=$,s1(Ri)),0)}function R3(V){var K=Date.now()/1e3|0;return V&&(Ee[V>>2]=K),K}function Iw(V){return V!==0&&rf(V,0,16),0}if(o0?er=function(){var K=process.hrtime();return K[0]*1e3+K[1]/1e6}:typeof dateNow<"u"?er=dateNow:typeof self=="object"&&self.performance&&typeof self.performance.now=="function"?er=function(){return self.performance.now()}:typeof performance=="object"&&typeof performance.now=="function"?er=function(){return performance.now()}:er=Date.now,p0.staticInit(),ws.unshift(function(){!R.noFSInit&&!p0.init.initialized&&p0.init()}),C3.push(function(){p0.ignorePermissions=!1}),Dt.push(function(){p0.quit()}),ws.unshift(function(){}),Dt.push(function(){}),o0){var pt=R8,G3=R8;Sr.staticInit()}s1(Ri),tt=a0(4),N2=b2=y0(n2),mr=N2+ki,xr=y0(mr),Ee[tt>>2]=xr,h2=!0;var A1=!1;function yl(V,K,n0){var y=n0>0?n0:H2(V)+1,$=new Array(y),e=c2(V,$,0,$.length);return K&&($.length=e),$}function ds(V){for(var K=[],n0=0;n0255&&(A1&&E0(!1,"Character code "+y+" ("+String.fromCharCode(y)+") at offset "+n0+" not in 0x00-0xFF."),y&=255),K.push(String.fromCharCode(y))}return K.join("")}var uA=typeof atob=="function"?atob:function(V){var K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n0="",y,$,e,s0,M0,ve,x0,u=0;V=V.replace(/[^A-Za-z0-9\+\/\=]/g,"");do s0=K.indexOf(V.charAt(u++)),M0=K.indexOf(V.charAt(u++)),ve=K.indexOf(V.charAt(u++)),x0=K.indexOf(V.charAt(u++)),y=s0<<2|M0>>4,$=(M0&15)<<4|ve>>2,e=(ve&3)<<6|x0,n0=n0+String.fromCharCode(y),ve!==64&&(n0=n0+String.fromCharCode($)),x0!==64&&(n0=n0+String.fromCharCode(e));while(u>2]=0,m=L,v0=0,i=gt(29,r|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,_|0)|0,o||ie(n|0,g0|0),b=g0):o=-1;e:do if((o|0)!=1)if(v0=0,x=gt(23,i<<3|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,z|0,_|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)!=1){if(!(y[194954]|0))E=0;else{if(v0=0,i=aR(3)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,_|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){w=0,a=0,c=0,A=0,s=0,t=x,l=x,i=b,o=0,B=74;break}E=i}if(v0=0,i=nt(97,r|0,110064)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,_|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)!=1){e[47323]=0;r:do if(i|0&&(s=y[i>>0]|0,s<<24>>24))for(l=i,n=s,o=0;;){if(s=l+1|0,!(n<<24>>24))break r;switch(n<<24>>24|0){case 99:{i=8,B=16;break}case 105:{i=18,B=16;break}case 109:{i=1,B=16;break}case 114:{i=4,B=16;break}case 115:{i=2,B=16;break}default:i=o}(B|0)==16&&(B=0,i=o|i,e[47323]=i),l=s,n=y[s>>0]|0,o=i}while(0);if(t|0&&(v0=0,Yt(20,0,110068,A|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1)){w=0,a=E,c=0,A=0,s=0,t=x,l=x,i=b,o=0,B=74;break}if(v0=0,v=nt(98,r|0,0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){if(c=e[v+16>>2]|0,e[47323]&2|0&&(v0=0,On(26,e[15712]|0,c|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1)){w=0,a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break}if(v0=0,o=gt(25,r|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){for(w=0;o;){if(v0=0,i=nt(99,r|0,o|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}for(s=w;i;){(e[47134]|0)==2&&e[(e[i+16>>2]|0)+8>>2]|0||(B=32);r:do if((B|0)==32){B=0;do if(y[194954]|0)if(a=e[i>>2]&3,A=(e[e[((a|0)==3?i:i+48|0)+40>>2]>>2]|0)>>>4,a=(e[e[((a|0)==2?i:i+-48|0)+40>>2]>>2]|0)>>>4,A>>>0>a>>>0){if(v0=0,n=Yt(34,E|0,a|0,A|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(t=se(e[l>>2]|0,z|0,_|0)|0,t||ie(l|0,g0|0),b=g0):t=-1,(t|0)==1){a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}if(n|0)break r;if(v0=0,T3(64,E|0,a|0,A|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}break}else{if(v0=0,n=Yt(34,E|0,A|0,a|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(t=se(e[l>>2]|0,z|0,_|0)|0,t||ie(l|0,g0|0),b=g0):t=-1,(t|0)==1){a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}if(n|0)break r;if(v0=0,T3(64,E|0,A|0,a|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}break}while(0);if(e[x+(s<<3)+4>>2]=i,v0=0,t=gt(30,i|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}e[x+(s<<3)>>2]=t,s=s+1|0}while(0);if(v0=0,i=nt(100,r|0,i|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}}if(v0=0,o=nt(86,r|0,o|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}w=s}if(v0=0,A=gt(31,w<<3|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1)if(v0=0,_y(28,x|0,w|0,8,101),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1)if(o=e[c>>2]|0,v0=0,Tr(110,o+2|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){for(s=e[c+16>>2]|0,t=s+(o*40|0)|0,s=s+((o+1|0)*40|0)|0,p=e[15712]|0,l=0;!((l|0)>=(w|0));){if((l|0)>0&&e[47323]&16|0&&(v0=0,On(26,p|0,c|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1)){a=E,c=A,s=v,t=x,l=x,i=b,o=p,B=74;break e}if(i=e[x+(l<<3)+4>>2]|0,a=e[i>>2]&3,o=e[(e[(e[((a|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0,i=e[(e[(e[((a|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0,(o|0)==(i|0)){if(v0=0,_y(29,c|0,o|0,s|0,t|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){a=E,c=A,s=v,t=x,l=x,i=b,o=p,B=74;break e}}else{if(v0=0,T3(65,c|0,i|0,s|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){a=E,c=A,s=v,t=x,l=x,i=b,o=p,B=74;break e}if(v0=0,T3(65,c|0,o|0,t|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):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,(n|0)!=1?(z=il(189296,1,z|0,_|0)|0,_=b,v0=0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1?(a=E,c=A,s=v,t=x,l=x,i=0,o=p,B=74):(a=E,c=A,s=v,t=x,l=x,i=b,o=p,B=74)):(a=E,c=A,s=v,t=x,l=x,i=b,o=p,B=74)):(a=E,c=A,s=v,t=x,l=x,i=b,o=p,B=74)):(a=E,c=A,s=v,t=x,l=x,i=b,o=p,B=74)):(a=E,c=A,s=v,t=x,l=x,i=b,o=p,B=74)}else a=E,c=A,s=v,t=x,l=x,i=b,o=0,B=74;else a=E,c=A,s=v,t=x,l=x,i=b,o=0,B=74;else a=E,c=0,s=v,t=x,l=x,i=b,o=0,B=74}else w=0,a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74}else w=0,a=E,c=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74}else w=0,a=E,c=0,A=0,s=0,t=x,l=x,i=b,o=0,B=74}else w=0,a=0,c=0,A=0,s=0,t=0,l=x,i=b,o=0,B=74;else w=0,a=0,c=0,A=0,s=0,t=0,l=0,i=b,o=0,B=74;while(0);e:for(;;){if((B|0)==74){if(B=0,i|0){p=o;continue}if(v0=0,Tr(112,s|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){G=o,n=l,p=t,v=s,m=A,E=c,x=a,B=w,i=b,o=G,l=n,t=p,s=v,A=m,c=E,a=x,w=B,B=74;continue}if(e[47323]&4|0&&(v0=0,F3(8,o|0,s|0,w|0,c|0,t|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1)){n=o,p=l,v=t,m=s,E=A,x=c,G=a,B=w,i=b,o=n,l=p,t=v,s=m,A=E,c=x,a=G,w=B,B=74;continue}if(v0=0,Lr0(10,r|0,s|0,w|0,c|0,t|0,0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){n=o,p=l,v=t,m=s,E=A,x=c,G=a,B=w,i=b,o=n,l=p,t=v,s=m,A=E,c=x,a=G,w=B,B=74;continue}p=o}if(!(y[194954]|0))i=0;else{if(v0=0,Tr(113,a|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){i=b,o=p,B=74;continue}i=0}for(;!((i|0)>=(w|0));){if(v0=0,Tr(105,e[c+(i<<3)+4>>2]|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,_|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){i=b,o=p,B=74;continue e}i=i+1|0}if(v0=0,Tr(105,A|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){i=b,o=p,B=74;continue}if(v0=0,Tr(114,s|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){i=b,o=p,B=74;continue}if(v0=0,Tr(105,l|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1)i=b,o=p,B=74;else break}r0(z|0),g=L}function Jr0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(m=g,g=g+64|0,v=m+32|0,p=m+16|0,A=m,a=m+48|0,Bi(110935,r)|0,Bi(110946,r)|0,c=t+16|0,w=A+8|0,s=a+4|0,l=0;!((l|0)>=(e[t>>2]|0));)i=e[c>>2]|0,n=e[i+(l*40|0)+20>>2]|0,o=e[i+(l*40|0)+24>>2]|0,(n|0)==(o|0)?(Pw(A,n),i=~~+u[A>>3],n=~~+u[w>>3]):(vt0(a,e[n>>2]&1|0?o:n,i+(l*40|0)|0),i=e[a>>2]|0,n=e[s>>2]|0),e[p>>2]=l,e[p+4>>2]=i,e[p+8>>2]=n,A2(r,110966,p)|0,l=l+1|0;for(o=t+4|0,n=t+20|0,i=0;!((i|0)>=(e[o>>2]|0));)p=e[n>>2]|0,t=e[p+(i*24|0)+16>>2]|0,E=+u[p+(i*24|0)>>3],e[v>>2]=e[p+(i*24|0)+12>>2],e[v+4>>2]=t,u[v+8>>3]=E,A2(r,110986,v)|0,i=i+1|0;Bi(111008,r)|0,g=m}function Ur0(r){r=r|0;var t=0,i=0,n=0,o=0;return o=e[r>>2]&3,n=e[(e[((o|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0,r=e[(e[((o|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0,t=+u[n+16>>3]-+u[r+16>>3],i=+u[n+24>>3]-+u[r+24>>3],~~(i*i+t*t)|0}function Xr0(r,t){return r=r|0,t=t|0,(e[r>>2]|0)-(e[t>>2]|0)|0}function qr0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+32|0,A=w,Pw(w+16|0,t),a=t+32|0,c=t+36|0,o=0;!((o|0)>=(e[a>>2]|0));){l=e[(e[c>>2]|0)+(o<<2)>>2]|0;do if(!(y[l+36>>0]|0))if(s=e[l+20>>2]|0,(s|0)==(t|0)){Xa(A,l,e[l+24>>2]|0),ps(r,n,l,0)|0;break}else{Xa(A,l,s),ps(r,i,l,0)|0;break}while(0);o=o+1|0}e[r>>2]=(e[r>>2]|0)+2,g=w}function $r0(r,t,i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20>>2]|0)==(z|0)?1:3,c=z+40|0,v=o+40|0,s=o+48|0,o=m?0:a>L?1:3),zR(D,E&1,+u[s>>3],+u[v>>3],+u[c>>3],o,i),v=W+1|0,o=T+(W*56|0)|0,i=D,s=o+56|0;do e[o>>2]=e[i>>2],o=o+4|0,i=i+4|0;while((o|0)<(s|0));if((y[B>>0]|0)!=(y[x>>0]|0)&&(e[G>>2]|0)==(n|0)){Xa(J,l,z),c=(y[x>>0]|0)==0,i=z+40|0,o=z+48|0,p=+u[(c?o:i)>>3],zR(D,c&1,+u[(c?i:o)>>3],p,p,c?w>_?4:2:L>A?1:3,0),c=W+2|0,o=T+(v*56|0)|0,i=D,s=o+56|0;do e[o>>2]=e[i>>2],o=o+4|0,i=i+4|0;while((o|0)<(s|0));o=z,s=l,p=w,w=_,i=c,a=L}else o=z,s=l,p=w,w=_,i=v,a=L}z=l,l=e[G>>2]|0,v=s,W=i,L=A,s=z}for(l=O2(T,W*56|0)|0,i=W+-1|0,o=0;!((o|0)>=(W|0));)if((o|0)>0&&(e[l+(o*56|0)+48>>2]=l+((o+-1|0)*56|0)),(o|0)<(i|0)){F=o+1|0,e[l+(o*56|0)+52>>2]=l+(F*56|0),o=F;continue}else{o=o+1|0;continue}e[r>>2]=W,e[r+4>>2]=l,g=q}function br0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(A=at(25692,e[4581]|0)|0,a=r+8|0,s=0;!((s|0)>=(e[r>>2]|0));){if(t=(e[a>>2]|0)+(s*72|0)|0,!(e[t>>2]&4)){for(;i=e[(e[t+36>>2]|0)+8>>2]|0,!(!i||(i=e[i+20>>2]|0,!i));)if(!(e[i>>2]&1))t=i;else break;for(l=j0(40)|0,e[l+36>>2]=t,u[l+8>>3]=+u[t+40>>3],o=t,i=e[t>>2]|0;e[o>>2]=i|4,i=e[e[o+36>>2]>>2]|0,!(!i||(n=e[i+24>>2]|0,!n)||(i=e[n>>2]|0,i&1|0));)o=n;u[l+16>>3]=+u[o+56>>3],_R(A,l,+u[t+48>>3])}s=s+1|0}return A|0}function et0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(A=at(25692,e[4581]|0)|0,a=r+8|0,s=0;!((s|0)>=(e[r>>2]|0));){if(t=(e[a>>2]|0)+(s*72|0)|0,!(e[t>>2]&2)){for(;i=e[(e[t+36>>2]|0)+12>>2]|0,!(!i||(i=e[i+20>>2]|0,!i));)if(!(e[i>>2]&1))t=i;else break;for(l=j0(40)|0,e[l+36>>2]=t,u[l+8>>3]=+u[t+48>>3],o=t,i=e[t>>2]|0;e[o>>2]=i|2,i=e[(e[o+36>>2]|0)+4>>2]|0,!(!i||(n=e[i+24>>2]|0,!n)||(i=e[n>>2]|0,i&1|0));)o=n;u[l+16>>3]=+u[o+64>>3],_R(A,l,+u[t+40>>3])}s=s+1|0}return A|0}function rt0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;for(A=i+20|0,s=i+24|0,i=0;!((i|0)>=(r|0));){for(o=e[t+(i<<3)>>2]|0,l=e[t+(i<<3)+4>>2]|0,n=0;!((n|0)>=(o|0));)a=l+(n*56|0)|0,ct0(nf(e[(y[a>>0]|0?s:A)>>2]|0,a)|0,a),n=n+1|0;i=i+1|0}}function tt0(r){r=r|0;var t=0,i=0;i=r+20|0,vR(e[i>>2]|0),t=r+24|0,vR(e[t>>2]|0),mR(e[i>>2]|0),mR(e[t>>2]|0),gR(e[i>>2]|0,r),gR(e[t>>2]|0,r),yR(e[i>>2]|0),yR(e[t>>2]|0)}function it0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;for(N=g,g=g+224|0,w=N+176|0,c=N+208|0,G=N+160|0,W=N+128|0,a=N+96|0,x=N+64|0,z=N,p=N+32|0,_=z+8|0,u[_>>3]=17976931348623157e292,u[z>>3]=17976931348623157e292,L=z+24|0,u[L>>3]=-17976931348623157e292,v=z+16|0,u[v>>3]=-17976931348623157e292,Bi(110183,r)|0,e[w>>2]=10,e[w+4>>2]=10,A2(r,110589,w)|0,Bi(138265,r)|0,s=t+4|0,A=t+12|0,m=x+8|0,E=x+16|0,B=x+24|0,l=0;!((l|0)>=(e[s>>2]|0));)U=(e[A>>2]|0)+(l*72|0)+40|0,e[x>>2]=e[U>>2],e[x+4>>2]=e[U+4>>2],e[x+8>>2]=e[U+8>>2],e[x+12>>2]=e[U+12>>2],e[x+16>>2]=e[U+16>>2],e[x+20>>2]=e[U+20>>2],e[x+24>>2]=e[U+24>>2],e[x+28>>2]=e[U+28>>2],P=+u[m>>3],D=+u[E>>3],T=+u[B>>3],u[a>>3]=+u[x>>3],u[a+8>>3]=P,u[a+16>>3]=D,u[a+24>>3]=T,A2(r,138284,a)|0,l=l+1|0;for(l=0;!((l|0)>=(i|0));)U=e[o+(l<<3)+4>>2]|0,a=n+(l<<3)|0,e[c>>2]=e[a>>2],e[c+4>>2]=e[a+4>>2],e[w>>2]=e[z>>2],e[w+4>>2]=e[z+4>>2],e[w+8>>2]=e[z+8>>2],e[w+12>>2]=e[z+12>>2],e[w+16>>2]=e[z+16>>2],e[w+20>>2]=e[z+20>>2],e[w+24>>2]=e[z+24>>2],e[w+28>>2]=e[z+28>>2],st0(p,r,U,c,t,w),e[z>>2]=e[p>>2],e[z+4>>2]=e[p+4>>2],e[z+8>>2]=e[p+8>>2],e[z+12>>2]=e[p+12>>2],e[z+16>>2]=e[p+16>>2],e[z+20>>2]=e[p+20>>2],e[z+24>>2]=e[p+24>>2],e[z+28>>2]=e[p+28>>2],l=l+1|0;for(Bi(110606,r)|0,s=t+8|0,l=0;!((l|0)>=(e[t>>2]|0));)U=(e[s>>2]|0)+(l*72|0)+40|0,e[x>>2]=e[U>>2],e[x+4>>2]=e[U+4>>2],e[x+8>>2]=e[U+8>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0?(s=+Ja(v,t),A=+u[L>>3]):(A=+(Ua(v,t)|0),s=+u[Y>>3]),V0=a+(E<<4)|0,D0=E+1|0,J0=a+(D0<<4)|0,u[J0>>3]=s,u[a+(D0<<4)+8>>3]=A,e[V0>>2]=e[J0>>2],e[V0+4>>2]=e[J0+4>>2],e[V0+8>>2]=e[J0+8>>2],e[V0+12>>2]=e[J0+12>>2],yi(W,e[((e[W>>2]&3|0)==2?W:D)+40>>2]|0,a,P,25680),!_&&(q=e[(e[T>>2]|0)+96>>2]|0,q|0)&&!(y[q+81>>0]|0)&&(e[U>>2]=e[t0>>2],e[U+4>>2]=e[t0+4>>2],e[U+8>>2]=e[t0+8>>2],e[U+12>>2]=e[t0+12>>2],e[J>>2]=e[Y>>2],e[J+4>>2]=e[Y+4>>2],e[J+8>>2]=e[Y+8>>2],e[J+12>>2]=e[Y+12>>2],xc(r,W,U,J)),z=z+1|0}r0(w),g=B0}function kR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;u[t>>3]=+u[t>>3]+ +u[i>>3],n=t+8|0,u[n>>3]=+u[n>>3]+ +u[i+8>>3],e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function Ja(r,t){r=r|0,t=t|0;var i=0,n=0;return t=nf(e[t+24>>2]|0,r)|0,n=e[t+36>>2]|0,i=+u[n+40>>3],+((+u[n+56>>3]-i)*(+(e[r+44>>2]|0)/+((e[t+24>>2]|0)+1|0))+i)}function Ua(r,t){r=r|0,t=t|0;var i=0,n=0;return n=nf(e[t+20>>2]|0,r)|0,t=e[n+36>>2]|0,i=+u[t+48>>3],~~((1-+(e[r+44>>2]|0)/+((e[n+24>>2]|0)+1|0))*(+u[t+64>>3]-i)+i)|0}function ot0(r){return r=r|0,0}function lt0(r){return r=r|0,0}function nf(r,t){if(r=r|0,t=t|0,r=oe[e[r>>2]&63](r,t+8|0,512)|0,r||H0(110155,110161,423,110169),r=e[r+16>>2]|0,r=oe[e[r>>2]&63](r,t+16|0,512)|0,!r)H0(110180,110161,425,110169);else return r|0;return 0}function st0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;for(W=g,g=g+32|0,G=W+16|0,x=W+8|0,a=W,s=e[(e[(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0,B=e[n+4>>2]|0,y[B>>0]|0?(A=+u[s+64>>3],E=+u[s+48>>3],s=~~((E+A)*.5),A=+Ja(B,o)):(A=+u[s+56>>3],E=+u[s+40>>3],s=Ua(B,o)|0,A=(E+A)*.5),N=~~A,p=+u[l>>3],m=+(N|0),p=p>3]=p,z=l+8|0,v=+u[z>>3],E=+(s|0),v=v>3]=v,_=l+16|0,A=+u[_>>3],m=A>m?A:m,u[_>>3]=m,L=l+24|0,A=+u[L>>3],E=A>E?A:E,u[L>>3]=E,e[a>>2]=N,e[a+4>>2]=s,A2(t,110682,a)|0,w=e[n>>2]|0,a=B,c=1,n=N;!((c|0)>=(w|0));)a=B+(c*56|0)|0,y[a>>0]|0?n=~~+Ja(a,o):s=Ua(a,o)|0,T=+(n|0),P=p>3]=P,A=+(s|0),D=v>3]=D,T=m>T?m:T,u[_>>3]=T,A=E>A?E:A,u[L>>3]=A,e[x>>2]=n,e[x+4>>2]=s,A2(t,110704,x)|0,c=c+1|0,p=P,v=D,m=T,E=A;s=e[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0,y[a>>0]|0?(A=+u[s+64>>3],P=+u[s+48>>3],s=~~((P+A)*.5),A=+Ja(a,o)):(A=+u[s+56>>3],P=+u[s+40>>3],s=Ua(a,o)|0,A=(P+A)*.5),N=~~A,D=+(N|0),u[l>>3]=p>3]=v>3]=m>D?m:D,u[L>>3]=E>P?E:P,e[G>>2]=N,e[G+4>>2]=s,A2(t,110718,G)|0,e[r>>2]=e[l>>2],e[r+4>>2]=e[l+4>>2],e[r+8>>2]=e[l+8>>2],e[r+12>>2]=e[l+12>>2],e[r+16>>2]=e[l+16>>2],e[r+20>>2]=e[l+20>>2],e[r+24>>2]=e[l+24>>2],e[r+28>>2]=e[l+28>>2],g=W}function vR(r){r=r|0;var t=0;for(r=Mt(r)|0;r;){for(t=Mt(e[r+16>>2]|0)|0;t;)e[t+32>>2]=mt0(e[t+24>>2]|0)|0,t=e[t>>2]|0;r=e[r>>2]|0}}function mR(r){r=r|0;var t=0;for(r=Mt(r)|0;r;){for(t=Mt(e[r+16>>2]|0)|0;t;)e[t+24>>2]|0&&at0(t),t=e[t>>2]|0;r=e[r>>2]|0}}function gR(r,t){r=r|0,t=t|0;var i=0;for(i=Mt(r)|0;i;){for(r=Mt(e[i+16>>2]|0)|0;r;)ut0(r,t),r=e[r>>2]|0;i=e[i>>2]|0}}function yR(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(n=Mt(r)|0;n;){for(s=n+8|0,o=Mt(e[n+16>>2]|0)|0;o;){r=o+24|0;e:do if(e[r>>2]|0)for(e[47323]&8|0&&At0(o,~~+u[s>>3]),l=o+32|0,Ct0(e[l>>2]|0),t=e[r>>2]|0,i=o+28|0,r=0;;){if((r|0)>=(t|0))break e;e[(e[(e[i>>2]|0)+(r<<2)>>2]|0)+44>>2]=(e[(e[(e[l>>2]|0)+4>>2]|0)+(r*12|0)+4>>2]|0)+1,r=r+1|0}while(0);o=e[o>>2]|0}n=e[n>>2]|0}}function At0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;A=g,g=g+32|0,i=A,l=r+24|0;e:do if((e[l>>2]|0)>=2)for(s=e[15712]|0,c=+u[r+8>>3],a=+u[r+16>>3],e[i>>2]=t,u[i+8>>3]=c,u[i+16>>3]=a,A2(s,110739,i)|0,o=r+32|0,r=r+28|0,t=0;;){if((t|0)>=(e[l>>2]|0))break e;n=e[(e[(e[o>>2]|0)+4>>2]|0)+(t*12|0)+8>>2]|0;r:do if(sn(n)|0)for(CR(s,e[(e[r>>2]|0)+(t<<2)>>2]|0),Bi(110759,s)|0,i=oe[e[n>>2]&63](n,0,128)|0;;){if(!i)break r;Bi(110764,s)|0,CR(s,e[(e[r>>2]|0)+(e[i>>2]<<2)>>2]|0),Bi(153599,s)|0,i=oe[e[n>>2]&63](n,i,8)|0}while(0);t=t+1|0}while(0);g=A}function CR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;o=g,g=g+80|0,n=o+40|0,i=o,y[t>>0]|0?(A=+u[t+8>>3],s=+u[t+16>>3],a=+u[t+24>>3],n=Qw(e[t+32>>2]|0)|0,l=Qw(e[t+36>>2]|0)|0,u[i>>3]=A,u[i+8>>3]=s,u[i+16>>3]=A,u[i+24>>3]=a,e[i+32>>2]=n,e[i+36>>2]=l,A2(r,110770,i)|0):(a=+u[t+16>>3],s=+u[t+8>>3],A=+u[t+24>>3],l=Qw(e[t+32>>2]|0)|0,i=Qw(e[t+36>>2]|0)|0,u[n>>3]=a,u[n+8>>3]=s,u[n+16>>3]=A,u[n+24>>3]=s,e[n+32>>2]=l,e[n+36>>2]=i,A2(r,110770,n)|0),g=o}function Qw(r){switch(r=r|0,r|0){case 0:{r=110821;break}case 1:{r=110816;break}case 2:{r=110809;break}case 3:{r=110802;break}case 4:{r=110794;break}default:r=0}return r|0}function ut0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;L=g,g=g+16|0,E=L+8|0,x=L,z=e[r+32>>2]|0,_=e[r+28>>2]|0,v=r+24|0,c=E+4|0,w=x+4|0,A=0,r=e[v>>2]|0;e:for(;m=A+1|0,!((m|0)>=(r|0));)for(p=_+(A<<2)|0,a=m;;){if((a|0)>=(r|0)){A=m;continue e}r:do if(!(qa(z,A,a)|0)&&!(qa(z,a,A)|0)&&(B=_+(a<<2)|0,Gy(e[p>>2]|0,e[B>>2]|0)|0))switch(o=e[p>>2]|0,r=e[o+48>>2]|0,s=e[B>>2]|0,i=e[s+48>>2]|0,n=(i|0)==0,r?n?r=1:r=+u[r+8>>3]!=+u[i+8>>3]:r=n^1,l=r&1,ER(E,o,s,0,l),r=e[E>>2]|0,s=e[c>>2]|0,o=l^1,ER(x,e[p>>2]|0,e[B>>2]|0,1,o),i=e[x>>2]|0,n=e[w>>2]|0,s|0){case-1:{if(Cl(e[B>>2]|0,e[p>>2]|0,l,0,r,t),Cl(e[B>>2]|0,e[p>>2]|0,o,1,i,t),(n|0)!=1)break r;BR(e[p>>2]|0,e[B>>2]|0,o,t);break r}case 0:switch(n|0){case-1:{Cl(e[B>>2]|0,e[p>>2]|0,l,0,r,t),Cl(e[B>>2]|0,e[p>>2]|0,o,1,i,t);break r}case 0:{Cl(e[p>>2]|0,e[B>>2]|0,0,l,r,t),Cl(e[p>>2]|0,e[B>>2]|0,1,o,i,t);break r}case 1:{Cl(e[p>>2]|0,e[B>>2]|0,0,l,r,t),Cl(e[p>>2]|0,e[B>>2]|0,1,o,i,t);break r}default:break r}case 1:{if(Cl(e[p>>2]|0,e[B>>2]|0,0,l,r,t),Cl(e[p>>2]|0,e[B>>2]|0,1,o,i,t),(n|0)!=-1)break r;BR(e[p>>2]|0,e[B>>2]|0,o,t);break r}default:break r}while(0);a=a+1|0,r=e[v>>2]|0}g=L}function Gy(r,t){return r=r|0,t=t|0,+u[r+8>>3]!=+u[t+8>>3]&&H0(110892,110161,843,110923),+u[r+16>>3]==+u[t+16>>3]&&+u[r+24>>3]==+u[t+24>>3]&&(e[r+32>>2]|0)==(e[t+32>>2]|0)?r=(e[r+36>>2]|0)==(e[t+36>>2]|0)&1:r=0,r|0}function ER(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=0;;){if(t=of(t,n)|0,!t){s=0;break}if(i=of(i,o)|0,!i){A=6;break}if(!(Gy(t,i)|0)){A=7;break}l=l+1|0}(A|0)==6?H0(138394,110161,871,110841):(A|0)==7&&(s=ft0(t,IR(t,i)|0,l+1|0,1-n|0)|0),e[r>>2]=l,e[r+4>>2]=s}function Cl(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(p=l+20|0,w=l+24|0,l=nf(e[(y[r>>0]|0?w:p)>>2]|0,r)|0,Wi(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0),A=1;!((A|0)>(o|0));){a=of(r,i)|0,c=of(t,n)|0;do if(y[r>>0]|0)if(s=nf(e[p>>2]|0,a)|0,+u[a+8>>3]==+u[r+16>>3])if(v=(e[r+32>>2]|0)==2,l=(qa(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0)|0)!=0,r=e[s+32>>2]|0,v)if(l){Wi(r,e[a+40>>2]|0,e[c+40>>2]|0),l=s;break}else{Wi(r,e[c+40>>2]|0,e[a+40>>2]|0),l=s;break}else if(l){Wi(r,e[c+40>>2]|0,e[a+40>>2]|0),l=s;break}else{Wi(r,e[a+40>>2]|0,e[c+40>>2]|0),l=s;break}else if(v=(e[r+36>>2]|0)==2,l=(qa(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0)|0)!=0,r=e[s+32>>2]|0,v)if(l){Wi(r,e[c+40>>2]|0,e[a+40>>2]|0),l=s;break}else{Wi(r,e[a+40>>2]|0,e[c+40>>2]|0),l=s;break}else if(l){Wi(r,e[a+40>>2]|0,e[c+40>>2]|0),l=s;break}else{Wi(r,e[c+40>>2]|0,e[a+40>>2]|0),l=s;break}else if(s=nf(e[w>>2]|0,a)|0,+u[a+8>>3]==+u[r+16>>3])if(v=(e[r+32>>2]|0)==1,l=(qa(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0)|0)!=0,r=e[s+32>>2]|0,v)if(l){Wi(r,e[c+40>>2]|0,e[a+40>>2]|0),l=s;break}else{Wi(r,e[a+40>>2]|0,e[c+40>>2]|0),l=s;break}else if(l){Wi(r,e[a+40>>2]|0,e[c+40>>2]|0),l=s;break}else{Wi(r,e[c+40>>2]|0,e[a+40>>2]|0),l=s;break}else if(v=(e[r+36>>2]|0)==1,l=(qa(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0)|0)!=0,r=e[s+32>>2]|0,v)if(l){Wi(r,e[a+40>>2]|0,e[c+40>>2]|0),l=s;break}else{Wi(r,e[c+40>>2]|0,e[a+40>>2]|0),l=s;break}else if(l){Wi(r,e[c+40>>2]|0,e[a+40>>2]|0),l=s;break}else{Wi(r,e[a+40>>2]|0,e[c+40>>2]|0),l=s;break}while(0);r=a,t=c,A=A+1|0}}function BR(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;for(var o=0;Gy(r,t)|0;)o=of(r,1)|0,t=of(t,i)|0,r=o;o=e[(nf(e[(y[r>>0]|0?n+24|0:n+20|0)>>2]|0,r)|0)+32>>2]|0,yt0(o,e[r+40>>2]|0,e[t+40>>2]|0)}function of(r,t){if(r=r|0,t=t|0,!r)H0(110828,110161,798,110832);else return e[(t|0?r+52|0:r+48|0)>>2]|0;return 0}function IR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=g,g=g+16|0,n=o,i=y[r>>0]|0,i<<24>>24==(y[t>>0]|0)&&+u[r+8>>3]==+u[t+8>>3]?(i<<24>>24?r=xR(r,t,4,2)|0:r=xR(r,t,3,1)|0,g=o,r|0):($0(1,110854,n)|0,ie(189296,1),0)}function ft0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;for(s=1;!((s|0)>(i|0));){l=of(r,n)|0,o=+u[l+8>>3]==+u[r+16>>3];do if(y[r>>0]|0)if(o){o=(e[r+32>>2]|0)==4;break}else{o=(e[r+36>>2]|0)==2;break}else if(o){o=(e[r+32>>2]|0)==1;break}else{o=(e[r+36>>2]|0)==3;break}while(0);r=l,s=s+1|0,t=o?0-t|0:t}return t|0}function xR(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;A=+u[r+24>>3],a=+u[t+16>>3];do if(!(A>3],s=+u[t+24>>3],!(l>s))){if(a>2]|0,((i|0)==(e[t+32>>2]|0)?0:(i|0)==(n|0)?1:-1)|0;i=e[r+32>>2]|0,t=(i|0)==(e[t+36>>2]|0)?0:(i|0)==(n|0)?1:-1;break}if(A!=s){if(A>2]|0)==(i|0),i=Fw(e[t+32>>2]|0,e[r+32>>2]|0,i,n)|0,(v?i:0-i|0)|0;v=(e[t+36>>2]|0)==(n|0),t=Fw(e[r+32>>2]|0,e[t+32>>2]|0,i,n)|0,t=v?t:0-t|0;break}if(v=e[r+32>>2]|0,p=e[t+32>>2]|0,(v|0)==(p|0)){if(t=e[t+36>>2]|0,(e[r+36>>2]|0)==(t|0)){t=0;break}}else t=e[t+36>>2]|0;if(w=(p|0)==(i|0),(p|0)==(t|0)){if(w){t=1;break}if((p|0)==(n|0)){t=-1;break}if((v|0)!=(i|0)&&(e[r+36>>2]|0)!=(i|0)){t=1;break}if((v|0)!=(n|0)&&(e[r+36>>2]|0)!=(n|0)){t=-1;break}t=0;break}if(o=(t|0)==(n|0),w&o){if(t=(e[r+36>>2]|0)==(n|0),(v|0)==(i|0)){if(!t){t=-1;break}}else if(t){t=1;break}t=0;break}if(c=(t|0)==(i|0),(p|0)==(n|0)&c){if(t=(v|0)==(n|0),(e[r+36>>2]|0)==(i|0)){if(!t){t=-1;break}}else if(t){t=1;break}t=0;break}if(!p){if(c){t=Tw(v,e[r+36>>2]|0,i)|0;break}if(o){t=0-(Tw(v,e[r+36>>2]|0,n)|0)|0;break}}if(o=e[r+36>>2]|0,w&(t|0)==0){t=Tw(o,v,i)|0;break}else{t=0-(Tw(o,v,n)|0)|0;break}}else t=0;while(0);return t|0}function SR(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=+u[r+24>>3],A=+u[t+24>>3];do if(s>2]|0,(r|0)==(i|0)&&(e[t+32>>2]|0)==(n|0)){r=-1;break}if((r|0)==(n|0)&&(e[t+32>>2]|0)==(i|0)){r=1;break}r=0}else{if(o=e[t+32>>2]|0,l=(o|0)==(n|0),s==A)if(l){r=Fw(e[r+36>>2]|0,e[t+36>>2]|0,i,n)|0;break}else{r=0-(Fw(e[t+36>>2]|0,e[r+36>>2]|0,i,n)|0)|0;break}if(l&&(e[t+36>>2]|0)==(n|0)){r=-1;break}if((o|0)==(i|0)&&(e[t+36>>2]|0)==(i|0)){r=1;break}r=0}while(0);return r|0}function Tw(r,t,i){return r=r|0,t=t|0,i=i|0,((r|0)==(i|0)?((t|0)==(i|0))<<31>>31:1)|0}function Fw(r,t,i,n){if(r=r|0,t=t|0,i=i|0,n=n|0,(r|0)==(n|0)){if(t=(r|0)==0,t)return 0;t=t&1}return((r|0)!=0|(t|0)!=(i|0))<<31>>31|0}function at0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;l=e[r+28>>2]|0,s=e[r+24>>2]|0,i=e[r+32>>2]|0,r=0;e:for(;n=r+1|0,!((n|0)>=(s|0));)for(o=l+(r<<2)|0,t=n;;){if((t|0)==(s|0)){r=n;continue e}switch(IR(e[o>>2]|0,e[l+(t<<2)>>2]|0)|0){case 1:{Wi(i,r,t);break}case-1:{Wi(i,t,r);break}default:}t=t+1|0}}function ct0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+24|0,n=e[o>>2]|0,i=n+1|0,e[o>>2]=i,e[t+40>>2]=n,n=r+28|0,r=e[n>>2]|0,r?r=Oe(r,i<<2)|0:r=_0(i<<2)|0,e[n>>2]=r,e[r+((e[o>>2]|0)+-1<<2)>>2]=t}function _R(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0;l=g,g=g+16|0,o=l,u[o>>3]=i,n=oe[e[r>>2]&63](r,o,512)|0,n||(n=j0(24)|0,u[n+8>>3]=+u[o>>3],e[n+16>>2]=at(25728,e[4581]|0)|0,oe[e[r>>2]&63](r,n,1)|0),o=e[n+16>>2]|0,oe[e[o>>2]&63](o,t,1)|0,g=l}function ht0(r,t,i){r=r|0,t=t|0,i=i|0,gt0(e[t+32>>2]|0),r0(e[t+28>>2]|0),r0(t)}function wt0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=+u[t>>3],l=+u[i>>3],o>l?r=!(+u[t+8>>3]<=+u[i+8>>3])&1:o>3]>=+u[i+8>>3])<<31>>31:r=0,r|0}function dt0(r,t,i){r=r|0,t=t|0,i=i|0,Fr(e[t+16>>2]|0)|0,r0(t)}function pt0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=+u[t>>3],o=+u[i>>3],(l>o?1:(l>31)|0}function Xa(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=(y[t+36>>0]|0)!=0,s=i+40|0;do if((e[t+24>>2]|0)==(i|0))if(n=+u[s>>3],l){o=(+u[i+64>>3]+ +u[i+48>>3])*.5;break}else{o=+u[i+48>>3],n=(+u[i+56>>3]+n)*.5;break}else if(l){o=(+u[i+64>>3]+ +u[i+48>>3])*.5,n=+u[i+56>>3];break}else{o=+u[i+64>>3],n=(+u[i+56>>3]+ +u[s>>3])*.5;break}while(0);u[r>>3]=n,u[r+8>>3]=o}function kt0(r,t){r=r|0,t=t|0;var i=0;return i=e[r+20>>2]|0,(i|0)!=(e[t+20>>2]|0)&&(i|0)!=(e[t+24>>2]|0)&&(i=e[r+24>>2]|0),i|0}function Pw(r,t){r=r|0,t=t|0;var i=0;i=(+u[t+64>>3]+ +u[t+48>>3])*.5,u[r>>3]=(+u[t+56>>3]+ +u[t+40>>3])*.5,u[r+8>>3]=i}function zR(r,t,i,n,o,l,s){r=r|0,t=t|0,i=+i,n=+n,o=+o,l=l|0,s=s|0;var A=0,a=0;y[r>>0]=t,u[r+8>>3]=i,n>3]=n,u[r+16>>3]=i,e[r+36>>2]=t,e[r+32>>2]=a,y[r+1>>0]=A}function vt0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=e[t+36>>2]|0;do if((e[n+4>>2]|0)!=(i|0)){if((e[n+12>>2]|0)==(i|0)){n=~~((+u[t+56>>3]+ +u[t+40>>3])*.5),i=~~+u[t+48>>3];break}if((e[n+8>>2]|0)==(i|0)){n=~~+u[t+40>>3],i=~~((+u[t+64>>3]+ +u[t+48>>3])*.5);break}(e[n>>2]|0)==(i|0)?(n=~~+u[t+56>>3],i=~~((+u[t+64>>3]+ +u[t+48>>3])*.5)):(n=0,i=0)}else n=~~((+u[t+56>>3]+ +u[t+40>>3])*.5),i=~~+u[t+64>>3];while(0);e[r>>2]=n,e[r+4>>2]=i}function mt0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(i=j0(8)|0,e[i>>2]=r,n=i+4|0,e[n>>2]=j0(r*12|0)|0,t=0;!((t|0)>=(r|0));)l=sG()|0,o=e[n>>2]|0,e[o+(t*12|0)+8>>2]=l,e[o+(t*12|0)>>2]=0,t=t+1|0;return i|0}function gt0(r){r=r|0;var t=0,i=0,n=0;for(i=r+4|0,t=0;n=e[i>>2]|0,!((t|0)>=(e[r>>2]|0));)Fr(e[n+(t*12|0)+8>>2]|0)|0,t=t+1|0;r0(n),r0(r)}function Wi(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=g,g=g+16|0,o=n,e[o>>2]=i,i=e[(e[r+4>>2]|0)+(t*12|0)+8>>2]|0,oe[e[i>>2]&63](i,o,1)|0,g=n}function yt0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=g,g=g+16|0,o=n,e[o>>2]=i,r=r+4|0,l=e[(e[r>>2]|0)+(t*12|0)+8>>2]|0,oe[e[l>>2]&63](l,o,2)|0,e[o>>2]=t,i=e[(e[r>>2]|0)+(i*12|0)+8>>2]|0,oe[e[i>>2]&63](i,o,2)|0,g=n}function qa(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=e[(e[r+4>>2]|0)+(t*12|0)+8>>2]|0,i=(oe[e[i>>2]&63](i,o,512)|0)!=0&1,g=n,i|0}function Ct0(r){r=r|0;var t=0,i=0,n=0,o=0;switch(t=e[r>>2]|0,t|0){case 0:break;case 1:{e[(e[r+4>>2]|0)+4>>2]=0;break}default:{for(n=Et0(t)|0,o=r+4|0,i=0,t=0;;){if((i|0)>=(e[r>>2]|0)){t=0;break}e[(e[o>>2]|0)+(i*12|0)>>2]|0||(t=LR(r,i,t,n)|0),i=i+1|0}for(;i=Bt0(n)|0,!((i|0)<=-1);)e[(e[o>>2]|0)+(i*12|0)+4>>2]=t,t=t+1|0;It0(n)}}}function Et0(r){r=r|0;var t=0;return t=j0(8)|0,e[t+4>>2]=j0(r<<2)|0,e[t>>2]=-1,t|0}function LR(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;for(A=r+4|0,l=e[A>>2]|0,a=l+(t*12|0)|0,e[a>>2]=1,l=e[l+(t*12|0)+8>>2]|0,s=l+4|0,i=i+1|0,l=Mt(l)|0;l;)o=e[(e[s>>2]|0)+8>>2]|0,(o|0)<0?o=e[l+8>>2]|0:o=l+(0-o)|0,o=e[o>>2]|0,e[(e[A>>2]|0)+(o*12|0)>>2]|0||(i=LR(r,o,i,n)|0),l=e[l>>2]|0;return e[a>>2]=2,xt0(n,t),i+1|0}function Bt0(r){r=r|0;var t=0,i=0;return t=e[r>>2]|0,(t|0)==-1?r=-1:(i=e[(e[r+4>>2]|0)+(t<<2)>>2]|0,e[r>>2]=t+-1,r=i),r|0}function It0(r){r=r|0,r0(e[r+4>>2]|0),r0(r)}function xt0(r,t){r=r|0,t=t|0;var i=0;i=(e[r>>2]|0)+1|0,e[r>>2]=i,e[(e[r+4>>2]|0)+(i<<2)>>2]=t}function St0(r){r=r|0;var t=0,i=0,n=0;for(i=e[r>>2]|0,e[r+8>>2]=i,e[r+12>>2]=e[r+4>>2],t=r+16|0,r=0;!((r|0)>=(i|0));)n=e[t>>2]|0,$[n+(r*40|0)+18>>1]=$[n+(r*40|0)+16>>1]|0,r=r+1|0}function _t0(r){r=r|0;var t=0,i=0,n=0;for(t=e[r+8>>2]|0,e[r>>2]=t,e[r+4>>2]=e[r+12>>2],i=r+16|0,r=0;!((r|0)>=(t|0));)n=e[i>>2]|0,$[n+(r*40|0)+16>>1]=$[n+(r*40|0)+18>>1]|0,r=r+1|0;for(t=t+2|0;!((r|0)>=(t|0));)$[(e[i>>2]|0)+(r*40|0)+16>>1]=0,r=r+1|0}function zt0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=j0(((e[r>>2]|0)*6|0)+(t<<1)<<2)|0,e[r+20>>2]=j0((((e[r>>2]|0)*3|0)+t|0)*24|0)|0,n=e[r>>2]|0,o=r+16|0,r=0;!((r|0)>=(n|0));)e[(e[o>>2]|0)+(r*40|0)+28>>2]=i,i=i+24|0,r=r+1|0;for(n=n+2|0;!((r|0)>=(n|0));)e[(e[o>>2]|0)+(r*40|0)+28>>2]=i,i=i+(t<<2)|0,r=r+1|0}function Lt0(r){r=r|0;var t=0;return t=j0(24)|0,e[t>>2]=0,e[t+16>>2]=j0(r*40|0)|0,t|0}function Rt0(r){r=r|0;var t=0,i=0;return i=e[r+16>>2]|0,t=e[r>>2]|0,e[i+(t*40|0)+32>>2]=t,e[r>>2]=t+1,i+(t*40|0)|0}function ps(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0;return l=r+4|0,o=e[l>>2]|0,e[l>>2]=o+1,l=e[r+20>>2]|0,r=l+(o*24|0)|0,e[l+(o*24|0)+12>>2]=e[t+32>>2],e[l+(o*24|0)+16>>2]=e[i+32>>2],u[r>>3]=n,e[l+(o*24|0)+8>>2]=0,RR(t,o),RR(i,o),r|0}function RR(r,t){r=r|0,t=t|0;var i=0,n=0;i=r+16|0,n=$[i>>1]|0,e[(e[r+28>>2]|0)+(n<<16>>16<<2)>>2]=t,$[i>>1]=n+1<<16>>16}function Gt0(r){r=r|0;var t=0;t=r+16|0,r0(e[(e[t>>2]|0)+28>>2]|0),r0(e[t>>2]|0),r0(e[r+20>>2]|0),r0(r)}function Zt0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(o=e[r>>2]|0,l=r+16|0,n=0;!((n|0)>=(o|0));)e[(e[l>>2]|0)+(n*40|0)>>2]=-2147483648,n=n+1|0;Mn0();e:do if(uG(t)|0)n=1;else{e[t+8>>2]=0,e[t>>2]=0,t=r+20|0;r:for(;;){if(o=Nn0()|0,!o){n=0;break e}if(e[o>>2]=0-(e[o>>2]|0),(o|0)==(i|0)){n=0;break e}for(l=o+16|0,s=o+28|0,n=0;;){if((n|0)>=($[l>>1]|0))continue r;A=(e[t>>2]|0)+((e[(e[s>>2]|0)+(n<<2)>>2]|0)*24|0)|0,a=Wt0(r,A,o)|0,c=e[a>>2]|0;do if((c|0)<0)if(w=~~-(+u[A>>3]+ +(e[o>>2]|0)),(c|0)==-2147483648){if(e[a>>2]=w,uG(a)|0){n=1;break e}e[a+8>>2]=o,e[a+12>>2]=A;break}else{if((c|0)>=(w|0))break;Qn0(a,w),e[a+8>>2]=o,e[a+12>>2]=A;break}while(0);n=n+1|0}}}while(0);return n|0}function Wt0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=e[t+12>>2]|0,(n|0)==(e[i+32>>2]|0)&&(n=e[t+16>>2]|0),(e[r+16>>2]|0)+(n*40|0)|0}function Yw(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;l=e[r>>2]|0,lc(l,3,t)|0,t=e[l+92>>2]|0;do if(t)if(i=e[t+16>>2]|0,s=e[i+12>>2]|0,e[r+76>>2]=s,n=e[i+16>>2]|0,e[r+84>>2]=n,o=r+80|0,e[o>>2]=e[i>>2],e[r+88>>2]=e[t+4>>2],i=r+152|0,n=e[i>>2]|e[n>>2],e[i>>2]=n,t=e[l+80>>2]|0,t){l=e[t+16>>2]|0,e[r+60>>2]=e[l+12>>2],A=e[l+16>>2]|0,e[r+68>>2]=A,e[r+72>>2]=e[t+4>>2],e[i>>2]=n|e[A>>2],e[r+64>>2]=e[(s|0?l:o)>>2],t=300;break}else{e[r+60>>2]=0,t=999;break}else t=999;while(0);return t|0}function Dt0(r){r=r|0;var t=0,i=0;return t=e[r+60>>2]|0,ta0(r)|0?r=1:(t|0&&(i=e[t>>2]|0,(i|0)!=0)&&l2[i&127](r),r=0),r|0}function Ow(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+4>>2]|0,i|0)&&l2[i&127](r),e[(e[r>>2]|0)+24>>2]=0,sD(r)}function Zy(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;n=+u[t+504>>3],o=+u[t+512>>3],s=+u[t+352>>3],e[t+360>>2]|0?l=-(o+ +u[i+8>>3]):(l=+u[i>>3]+n,i=i+8|0,n=o),o=+u[t+528>>3]*s*(+u[i>>3]+n),u[r>>3]=+u[t+520>>3]*s*l,u[r+8>>3]=o}function El(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;o=+u[r+504>>3],l=+u[r+512>>3],s=+u[r+352>>3],A=+u[r+520>>3]*s,s=+u[r+528>>3]*s;e:do if(e[r+360>>2]|0)for(r=0;;){if((r|0)>=(n|0))break e;a=-(A*(+u[t+(r<<4)+8>>3]+l)),u[i+(r<<4)+8>>3]=(+u[t+(r<<4)>>3]+o)*s,u[i+(r<<4)>>3]=a,r=r+1|0}else for(r=0;;){if((r|0)>=(n|0))break e;u[i+(r<<4)>>3]=(+u[t+(r<<4)>>3]+o)*A,u[i+(r<<4)+8>>3]=(+u[t+(r<<4)+8>>3]+l)*s,r=r+1|0}while(0);return i|0}function Mt0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+8>>2]|0,i|0)&&l2[i&127](r)}function jt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+12>>2]|0,i|0)&&l2[i&127](r),oa0(r)}function Nt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+24>>2]|0,i|0)&&l2[i&127](r)}function Qt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+28>>2]|0,i|0)&&l2[i&127](r)}function Tt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+16>>2]|0,i|0)&&(t=e[r+160>>2]|0,Y1[i&31](r,e[(e[(e[r>>2]|0)+308>>2]|0)+(t<<2)>>2]|0,t,e[r+156>>2]|0))}function Ft0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+20>>2]|0,i|0)&&l2[i&127](r)}function Pt0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+32>>2]|0,i|0)&&l2[i&127](r)}function Yt0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+36>>2]|0,i|0)&&l2[i&127](r)}function Wy(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+40>>2]|0,i|0)&&l2[i&127](r)}function Dy(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+44>>2]|0,i|0)&&l2[i&127](r)}function My(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+48>>2]|0,i|0)&&l2[i&127](r)}function jy(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+52>>2]|0,i|0)&&l2[i&127](r)}function Ot0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+56>>2]|0,i|0)&&l2[i&127](r)}function Vt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+60>>2]|0,i|0)&&l2[i&127](r)}function Ht0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+64>>2]|0,i|0)&&l2[i&127](r)}function Jt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+68>>2]|0,i|0)&&l2[i&127](r)}function xn(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;l=e[r+60>>2]|0,l|0&&(s=e[l+72>>2]|0,s|0)&&Pf[s&15](r,t,i,n,o)}function Bl(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+76>>2]|0,i|0)&&l2[i&127](r)}function GR(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r+60>>2]|0,i|0&&(n=e[i+80>>2]|0,n|0)&&Bt[n&63](r,t)}function ZR(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+84>>2]|0,i|0)&&l2[i&127](r)}function Ny(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;a=g,g=g+48|0,n=a+32|0,l=a,s=a+16|0,A=e[r+60>>2]|0,c=e[i>>2]|0;do if(c|0&&y[c>>0]|0){if(c=e[r+16>>2]|0,c|0&&!(e[c+144>>2]|0))break;e[r+152>>2]&8192?(e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2]):(e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],Zy(s,r,n),e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2]),A|0&&(o=e[A+88>>2]|0,o|0)&&(e[n>>2]=e[l>>2],e[n+4>>2]=e[l+4>>2],e[n+8>>2]=e[l+8>>2],e[n+12>>2]=e[l+12>>2],cr[o&127](r,n,i))}while(0);g=a}function Z2(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;n=e[r+60>>2]|0,o=(e[r+16>>2]|0)+16|0,s=Zr(t,58)|0,l=(s|0)!=0,l&&(y[s>>0]=0),n|0&&(Qy(e[r+68>>2]|0,t,o),i=e[n+92>>2]|0,i|0)&&Bt[i&63](r,o),l&&(y[s>>0]=58)}function Qy(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=g,g=g+32|0,l=c+16|0,a=c+8|0,A=c,e[i>>2]=t,e[i+32>>2]=5,n=TR(t)|0,o=e[r+16>>2]|0,o|0&&Oc(n,o,e[r+20>>2]|0,4,102)|0||(s=3);e:do if((s|0)==3){switch(Yi0(t,i,e[r+24>>2]|0)|0){case 0:break e;case 1:break;default:{$0(1,111046,l)|0;break e}}r=_0((d2(t)|0)+16|0)|0,e[A>>2]=t,Ke(r,111011,A)|0,Rd0(r)|0&&(e[a>>2]=t,$0(0,111020,a)|0),r0(r)}while(0);g=c}function tr(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;n=e[r+60>>2]|0,o=(e[r+16>>2]|0)+56|0,s=Zr(t,58)|0,l=(s|0)!=0,l&&(y[s>>0]=0),n|0&&(Qy(e[r+68>>2]|0,t,o),i=e[n+92>>2]|0,i|0)&&Bt[i&63](r,o),l&&(y[s>>0]=58)}function so(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0,s=0,A=0;l=e[r+60>>2]|0,s=r+16|0,A=(e[s>>2]|0)+96|0,l|0&&(Qy(e[r+68>>2]|0,t,A),o=e[l+92>>2]|0,o|0)&&Bt[o&63](r,A),A=e[s>>2]|0,e[A+136>>2]=i,x0[A+140>>2]=n}function a1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+16|0,A=a,s=e[r+60>>2]|0,r=e[r+16>>2]|0,e[r+160>>2]=t;e:do if((t|0)!=0&(s|0)!=0){s=r+144|0,l=r+152|0,o=r+148|0,r=t;r:for(;;){if(n=r+4|0,r=e[r>>2]|0,!r)break e;t:do switch(y[r>>0]|0){case 115:{if(!(ge(r,111067)|0)){e[s>>2]=3,r=n;continue r}if(!(ge(r,111088)|0)){for(i=115;t=r+1|0,!!(i<<24>>24);)r=t,i=y[t>>0]|0;u[l>>3]=+Fl(t),r=n;continue r}break}case 100:{if(!(ge(r,137327)|0)){e[s>>2]=1,r=n;continue r}if(!(ge(r,137320)|0)){e[s>>2]=2,r=n;continue r}break}case 105:{if(ge(r,134335)|0&&ge(r,111073)|0)break t;e[s>>2]=0,r=n;continue r}case 98:{if(!(ge(r,111083)|0)){u[l>>3]=2,r=n;continue r}break}case 102:{if(!(ge(r,111101)|0)){e[o>>2]=1,r=n;continue r}break}case 117:{if(!(ge(r,111108)|0)){e[o>>2]=0,r=n;continue r}break}case 116:{if(!(ge(r,111117)|0)){r=n;continue r}break}default:}while(0);e[A>>2]=r,$0(0,111125,A)|0,r=n}}while(0);g=a}function Y3(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+32|0,l=A,i=e[r+60>>2]|0,i|0&&(s=i+96|0,o=e[s>>2]|0,o|0)&&e[(e[r+16>>2]|0)+144>>2]|0&&(i=t+16|0,u[l>>3]=(+u[i>>3]+ +u[t>>3])*.5,u[l+8>>3]=(+u[t+24>>3]+ +u[t+8>>3])*.5,t=l+16|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],e[r+152>>2]&8192||(El(r,l,l,2)|0,o=e[s>>2]|0),cr[o&127](r,l,n)),g=A}function Q2(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;if(v=g,g=g+48|0,w=v,o=e[r+60>>2]|0,o|0&&(p=o+100|0,e[p>>2]|0)&&(c=r+16|0,a=e[c>>2]|0,e[a+144>>2]|0)){if(!(n&4))o=n,l=0;else{o=n&-5,n=a+16|0,l=w,s=n,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=n,s=a+56|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=1}if(e[r+152>>2]&8192?Y1[e[p>>2]&31](r,t,i,o):(n=i+10|0,(e[47363]|0)<(i|0)?(e[47363]=n,n=Oe(e[47364]|0,n<<4)|0,e[47364]=n):n=e[47364]|0,El(r,t,n,i)|0,Y1[e[p>>2]&31](r,n,i,o)),l|0){l=(e[c>>2]|0)+16|0,s=w,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0))}}g=v}function Il(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=g,g=g+64|0,o=n,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],l=o+32|0,t=t+16|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],u[o+16>>3]=+u[o>>3],u[o+24>>3]=+u[o+40>>3],u[o+48>>3]=+u[l>>3],u[o+56>>3]=+u[o+8>>3],Q2(r,o,4,i),g=n}function Ao(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0;A=e[r+60>>2]|0;do if(A|0&&(a=A+104|0,s=e[a>>2]|0,s|0)&&e[(e[r+16>>2]|0)+144>>2]|0){if(e[r+152>>2]&8192|0){Xc[s&15](r,t,i,n,o,l&255);break}s=i+10|0,(e[47363]|0)<(i|0)?(e[47363]=s,s=Oe(e[47364]|0,s<<4)|0,e[47364]=s):s=e[47364]|0,El(r,t,s,i)|0,Xc[e[a>>2]&15](r,s,i,n,o,l&255)}while(0)}function y2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=e[r+60>>2]|0;do if(n|0&&(l=n+108|0,o=e[l>>2]|0,o|0)&&e[(e[r+16>>2]|0)+144>>2]|0){if(e[r+152>>2]&8192|0){cr[o&127](r,t,i);break}n=i+10|0,(e[47363]|0)<(i|0)?(e[47363]=n,n=Oe(e[47364]|0,n<<4)|0,e[47364]=n):n=e[47364]|0,El(r,t,n,i)|0,cr[e[l>>2]&127](r,n,i)}while(0)}function O3(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r+60>>2]|0,t|0&&!((i|0)==0|(y[t>>0]|0)==0)&&(n=e[i+112>>2]|0,n|0)&&Bt[n&63](r,t)}function WR(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0;if(J=g,g=g+112|0,T=J+64|0,U=J,c=J+96|0,L=J+48|0,G=J+32|0,D=e[r+60>>2]|0,r||H0(111282,111178,691,111189),t||H0(111208,111178,692,111189),y[t>>0]|0||H0(111213,111178,693,111189),P=fD(t)|0,!P)(D|0)!=0&(mC(t)|0)!=0&&(a=e[D+116>>2]|0,a|0)&&Pf[a&15](r,t,i,n,o&255);else if(E=r+432|0,e[T>>2]=e[E>>2],e[T+4>>2]=e[E+4>>2],e[T+8>>2]=e[E+8>>2],e[T+12>>2]=e[E+12>>2],cD(c,P,T),E=e[c>>2]|0,a=e[c+4>>2]|0,!((E|0)<1&(a|0)<1)){for(c=U+16|0,e[c>>2]=e[i>>2],e[c+4>>2]=e[i+4>>2],e[c+8>>2]=e[i+8>>2],e[c+12>>2]=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=e[U+28>>2],qt0(r,P,T,o,F))}g=J}function Ut0(r){return r=r|0,y[r>>0]|0?De(r,141116)|0?De(r,141048)|0?De(r,111221)|0?r=(jt(r)|0)<<24>>24!=0&1:r=4:r=3:r=2:r=0,r|0}function Uo(r,t){r=r|0,t=+t,e[r+60>>2]|0&&(u[(e[r+16>>2]|0)+152>>3]=t)}function DR(r,t){return r=r|0,t=t|0,t=lc(r,1,t)|0,t?(t=e[t+16>>2]|0,e[r+184>>2]=e[t+4>>2],e[r+172>>2]=e[t+12>>2],e[r+176>>2]=e[t>>2],e[r+180>>2]=e[t+16>>2],t=300):t=999,t|0}function Xt0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;return A=g,g=g+16|0,o=A,$e(t,137483,280,1)|0,l=t+16|0,e[(e[l>>2]|0)+144>>2]=r,(a2(t)|0)!=(t|0)&&(e[(e[(a2(t)|0)+16>>2]|0)+144>>2]=r),n=he(t,111226)|0,i=r+172|0,n|0&&(e[i>>2]=0,(DR(r,n)|0)==999)?(i=uD(r,1,n)|0,e[o>>2]=n,e[o+4>>2]=i,$0(1,111233,o)|0,i=-1):(n=e[i>>2]|0,n?(zA(1),Xd0(t,e[e[r+180>>2]>>2]&1),i=e[(e[l>>2]|0)+8>>2]|0,e[(e[(a2(t)|0)+16>>2]|0)+8>>2]=i,xk0(),i=e[n>>2]|0,i|0&&(l2[i&127](t),s=e[n+4>>2]|0,s|0)&&(e[(e[l>>2]|0)+148>>2]=s),zA(0),i=0):i=-1),g=A,i|0}function qt0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0;w=g,g=g+176|0,a=w+8|0,A=w,l=w+40|0,r||H0(111282,111286,52,111300),t||H0(111312,111286,53,111300),s=e[t+8>>2]|0,s||H0(111315,111286,54,111300),y[s>>0]|0||H0(111324,111286,55,111300),yo(l,e[t+28>>2]|0)|0,s=l+(d2(l)|0)|0,y[s>>0]=58,y[s+1>>0]=0,Tf(l,o)|0,($t0(r,l)|0)==999&&(e[A>>2]=l,$0(0,111336,A)|0),o=e[r+92>>2]|0,o|0&&(c=e[o>>2]|0,c|0)&&(e[a>>2]=e[i>>2],e[a+4>>2]=e[i+4>>2],e[a+8>>2]=e[i+8>>2],e[a+12>>2]=e[i+12>>2],e[a+16>>2]=e[i+16>>2],e[a+20>>2]=e[i+20>>2],e[a+24>>2]=e[i+24>>2],e[a+28>>2]=e[i+28>>2],Y1[c&31](r,t,a,n)),g=w}function $t0(r,t){return r=r|0,t=t|0,t=lc(e[r>>2]|0,4,t)|0,t?(t=e[t+16>>2]|0,e[r+92>>2]=e[t+12>>2],e[r+96>>2]=e[t>>2],t=300):t=999,t|0}function Kt0(r){return r=r|0,1}function bt0(r){r=r|0;var t=0;return y[r+536>>0]=0,t=r+336|0,u[t>>3]=+u[t>>3]+10/+u[r+352>>3],y[r+537>>0]=1,0}function ei0(r){r=r|0;var t=0;return y[r+536>>0]=0,t=r+336|0,u[t>>3]=+u[t>>3]-10/+u[r+352>>3],y[r+537>>0]=1,0}function ri0(r){r=r|0;var t=0;return y[r+536>>0]=0,t=r+344|0,u[t>>3]=+u[t>>3]-10/+u[r+352>>3],y[r+537>>0]=1,0}function ti0(r){r=r|0;var t=0;return y[r+536>>0]=0,t=r+344|0,u[t>>3]=+u[t>>3]+10/+u[r+352>>3],y[r+537>>0]=1,0}function ii0(r){r=r|0;var t=0;return y[r+536>>0]=0,t=r+352|0,u[t>>3]=+u[t>>3]*1.1,y[r+537>>0]=1,0}function ni0(r){r=r|0;var t=0;return y[r+536>>0]=0,t=r+352|0,u[t>>3]=+u[t>>3]*.9090909090909091,y[r+537>>0]=1,0}function oi0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return i=r+536|0,t=(y[i>>0]|0)==0,y[i>>0]=t&1,t&&(t=e[r+448>>2]|0,i=e[r+452>>2]|0,l=+(t>>>0),o=+(i>>>0),n=l/+(t|0)>3]=(n?l:o)/+((n?t:i)|0),i=r+336|0,e[i>>2]=0,e[i+4>>2]=0,e[i+8>>2]=0,e[i+12>>2]=0,y[r+537>>0]=1),0}function li0(r){r=r|0;var t=0,i=0;t=e[(e[r>>2]|0)+168>>2]|0,i=r+580|0,e[i>>2]|0||(e[i>>2]=t,i=(e[t+16>>2]|0)+112|0,y[i>>0]=y[i>>0]|2,jR(r,t)),TD(r,t),y[r+540>>0]=1}function si0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;switch(A=g,g=g+16|0,n=A,t|0){case 1:{e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],Ty(r,n),mi0(r),y[r+538>>0]=1,y[r+541>>0]=1,s=13;break}case 2:{y[r+538>>0]=1,y[r+541>>0]=2,s=13;break}case 3:{e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],Ty(r,n),y[r+538>>0]=1,y[r+541>>0]=3,s=13;break}case 4:{y[r+536>>0]=0,e[r+360>>2]|0?(n=r+352|0,l=+u[n>>3],t=r+336|0,u[t>>3]=+u[t>>3]-(+u[i+8>>3]-+((e[r+452>>2]|0)>>>0)*.5)*.10000000000000009/(+u[r+528>>3]*l),o=+u[i>>3]-+((e[r+448>>2]|0)>>>0)*.5,t=r+520|0):(n=r+352|0,l=+u[n>>3],t=r+336|0,u[t>>3]=(+u[i>>3]-+((e[r+448>>2]|0)>>>0)*.5)*.10000000000000009/(+u[r+520>>3]*l)+ +u[t>>3],o=+u[i+8>>3]-+((e[r+452>>2]|0)>>>0)*.5,t=r+528|0),s=r+344|0,u[s>>3]=o*.10000000000000009/(+u[t>>3]*l)+ +u[s>>3],u[n>>3]=l*1.1,s=13;break}case 5:{y[r+536>>0]=0,s=r+352|0,l=+u[s>>3]*.9090909090909091,u[s>>3]=l,e[r+360>>2]|0?(n=r+336|0,u[n>>3]=(+u[i+8>>3]-+((e[r+452>>2]|0)>>>0)*.5)*.10000000000000009/(+u[r+528>>3]*l)+ +u[n>>3],o=+u[i>>3]-+((e[r+448>>2]|0)>>>0)*.5,n=r+520|0):(n=r+336|0,u[n>>3]=+u[n>>3]-(+u[i>>3]-+((e[r+448>>2]|0)>>>0)*.5)*.10000000000000009/(+u[r+520>>3]*l),o=+u[i+8>>3]-+((e[r+452>>2]|0)>>>0)*.5,n=r+528|0),s=r+344|0,u[s>>3]=+u[s>>3]-o*.10000000000000009/(+u[n>>3]*l),s=13;break}default:}(s|0)==13&&(y[r+537>>0]=1),r=r+560|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2],g=A}function Ai0(r,t,i){r=r|0,t=t|0,i=i|0,y[r+538>>0]=0,y[r+541>>0]=0}function ui0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+16|0,i=A,l=r+560|0,s=(+u[t>>3]-+u[l>>3])/+u[r+520>>3],o=(+u[t+8>>3]-+u[r+568>>3])/+u[r+528>>3],!(+L0(+s)<1e-4&+L0(+o)<1e-4)){switch(y[r+541>>0]|0){case 0:{e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],Ty(r,i);break}case 2:{n=+u[r+352>>3],e[r+360>>2]|0?(i=r+336|0,u[i>>3]=+u[i>>3]-o/n,i=r+344|0,u[i>>3]=+u[i>>3]+s/n):(i=r+336|0,u[i>>3]=+u[i>>3]-s/n,i=r+344|0,u[i>>3]=+u[i>>3]-o/n),y[r+537>>0]=1;break}default:}e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2]}g=A}function fi0(r,t,i){r=r|0,t=t|0,i=i|0}function ai0(r){r=r|0}function ci0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=e[r>>2]|0,t?(t=A8(t,138821)|0,t|0&&(s=X9(t,0)|0,Yc(t)|0,n=5)):(s=X9(e[15647]|0,0)|0,n=5),(n|0)==5&&s|0&&(o=A+168|0,t=e[o>>2]|0,t|0&&(n=e[A+172>>2]|0,n|0&&(l=e[n+4>>2]|0,(l|0)!=0)&&(l2[l&127](t),t=e[o>>2]|0),Kd0(t),Di(e[o>>2]|0)|0),Ll(s,0,137483,280,1),Ll(s,1,137447,304,1),Ll(s,2,137460,176,1),e[o>>2]=s,e[(e[s+16>>2]|0)+144>>2]=A,(t7(A,s,i)|0)!=-1&&(e[r+580>>2]=0,e[r+576>>2]=0,y[r+537>>0]=1))}function hi0(r,t){r=r|0,t=t|0,r=e[r>>2]|0,t7(r,e[r+168>>2]|0,t)|0}function wi0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;l=e[r>>2]|0,o=l+160|0,n=e[o>>2]|0,n|0&&!(e[l+164>>2]|0)?(A=l+192|0,s=e[A>>2]|0,e[o>>2]=0,e[A>>2]=0,o=s):(o=0,n=0),Ra0(l,e[l+168>>2]|0,t,i)|0,n|0&&(A=e[r>>2]|0,e[A+160>>2]=n,e[A+192>>2]=o)}function Ty(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;n=g,g=g+80|0,i=n+48|0,o=n,a=n+32|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],di0(a,r,i),A=+u[a>>3],s=+u[a+8>>3],l=1/+u[r+352>>3],u[o+16>>3]=l+A,u[o+24>>3]=l+s,u[o>>3]=A-l,u[o+8>>3]=s-l,t=e[(e[r>>2]|0)+168>>2]|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],e[i+16>>2]=e[o+16>>2],e[i+20>>2]=e[o+20>>2],e[i+24>>2]=e[o+24>>2],e[i+28>>2]=e[o+28>>2],t=pi0(t,i)|0,i=r+576|0,(t|0)!=(e[i>>2]|0)&&(ki0(r),e[i>>2]=t,vi0(r),y[r+537>>0]=1),g=n}function di0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;e[t+360>>2]|0?(n=+u[t+352>>3],o=-+u[i>>3],l=n,s=t+520|0,n=+u[i+8>>3]/(+u[t+528>>3]*n)-+u[t+504>>3]):(n=+u[t+352>>3],o=+u[i+8>>3],l=n,s=t+528|0,n=+u[i>>3]/(+u[t+520>>3]*n)-+u[t+504>>3]),l=o/(+u[s>>3]*l)-+u[t+512>>3],u[r>>3]=n,u[r+8>>3]=l}function pi0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=g,g=g+32|0,o=l,n=U0(r)|0;e:for(;;){if(!n){n=9;break}for(i=Me(r,n)|0;i;){if(e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[o+16>>2]=e[t+16>>2],e[o+20>>2]=e[t+20>>2],e[o+24>>2]=e[t+24>>2],e[o+28>>2]=e[t+28>>2],(cv0(i,o)|0)<<24>>24){n=6;break e}i=Qe(r,i)|0}n=X0(r,n)|0}do if((n|0)!=6&&(n|0)==9){for(i=$u0(r)|0;i;){if(e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[o+16>>2]=e[t+16>>2],e[o+20>>2]=e[t+20>>2],e[o+24>>2]=e[t+24>>2],e[o+28>>2]=e[t+28>>2],(fv0(i,o)|0)<<24>>24){n=12;break}i=Ku0(r,i)|0}if((n|0)==12||(e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[o+16>>2]=e[t+16>>2],e[o+20>>2]=e[t+20>>2],e[o+24>>2]=e[t+24>>2],e[o+28>>2]=e[t+28>>2],i=MR(r,o)|0,i))break;i=r;break}while(0);return g=l,i|0}function ki0(r){r=r|0;var t=0;t=e[r+576>>2]|0;e:do if(t|0)switch(qo(t)|0){case 0:{t=(e[t+16>>2]|0)+112|0,y[t>>0]=y[t>>0]&-2;break e}case 1:{t=(e[t+16>>2]|0)+117|0,y[t>>0]=y[t>>0]&-2;break e}case 2:{t=(e[t+16>>2]|0)+115|0,y[t>>0]=y[t>>0]&-2;break e}default:break e}while(0);e[r+584>>2]=0}function vi0(r){r=r|0;var t=0,i=0;i=r+584|0,t=e[i>>2]|0,t|0&&(r0(t),e[i>>2]=0),t=e[r+576>>2]|0;e:do if(t|0)switch(qo(t)|0){case 0:{if(r=(e[t+16>>2]|0)+112|0,y[r>>0]=y[r>>0]|1,r=re(t,0,141101,0)|0,!r)break e;e[i>>2]=st(k2(t,r)|0,t)|0;break e}case 1:{if(r=(e[t+16>>2]|0)+117|0,y[r>>0]=y[r>>0]|1,r=re(We(t)|0,1,141101,0)|0,!r)break e;e[i>>2]=st(k2(t,r)|0,t)|0;break e}case 2:{if(r=(e[t+16>>2]|0)+115|0,y[r>>0]=y[r>>0]|1,r=re(We(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,2,141101,0)|0,!r)break e;e[i>>2]=st(k2(t,r)|0,t)|0;break e}default:break e}while(0)}function MR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(c=g,g=g+32|0,n=c,l=e[r+16>>2]|0,s=e[l+180>>2]|0,A=l+184|0,i=1;;){if((i|0)>(s|0)){a=4;break}if(o=e[(e[A>>2]|0)+(i<<2)>>2]|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],e[n+16>>2]=e[t+16>>2],e[n+20>>2]=e[t+20>>2],e[n+24>>2]=e[t+24>>2],e[n+28>>2]=e[t+28>>2],o=MR(o,n)|0,!o)i=i+1|0;else{r=o;break}}do if((a|0)==4){if(p=+u[l+24>>3],w=+u[l+40>>3],+u[t+16>>3]>=+u[l+16>>3]&&+u[l+32>>3]>=+u[t>>3]&&+u[t+24>>3]>=p&&w>=+u[t+8>>3])break;r=0}while(0);return g=c,r|0}function mi0(r){r=r|0;var t=0,i=0,n=0;n=r+580|0,t=e[n>>2]|0;e:do if(t|0)switch(qo(t)|0){case 0:{i=(e[t+16>>2]|0)+112|0,y[i>>0]=y[i>>0]&-7|4;break e}case 1:{i=(e[t+16>>2]|0)+117|0,y[i>>0]=y[i>>0]&-7|4;break e}case 2:{i=(e[t+16>>2]|0)+115|0,y[i>>0]=y[i>>0]&-7|4;break e}default:break e}while(0);t=r+588|0,i=e[t>>2]|0,i|0&&(r0(i),e[t>>2]=0),t=e[r+576>>2]|0,e[n>>2]=t;e:do if(t|0)switch(qo(t)|0){case 0:{n=(e[t+16>>2]|0)+112|0,y[n>>0]=y[n>>0]|2,jR(r,t);break e}case 1:{n=(e[t+16>>2]|0)+117|0,y[n>>0]=y[n>>0]|2,gi0(r,t);break e}case 2:{n=(e[t+16>>2]|0)+115|0,y[n>>0]=y[n>>0]|2,yi0(r,t);break e}default:break e}while(0)}function jR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;i=r+592|0;do if((a2(t)|0)==(t|0))if(d1(t)|0){mi(i,0,111486);break}else{mi(i,0,111494);break}else mi(i,0,111500);while(0);for(mi(i,1,te(t)|0),e[r+596>>2]=2,o=r+604|0,i=0,n=2;i=ao(t,0,i)|0,!!i;)mi(o,n,e[i+8>>2]|0),mi(o,n+1|0,k2(t,i)|0),mi(o,n+2|0,0),n=n+3|0;e[r+608>>2]=n,i=re(t,0,141055,0)|0,i?l=11:(i=re(t,0,111477,0)|0,i|0&&(l=11)),(l|0)==11&&(e[r+588>>2]=st(k2(t,i)|0,t)|0)}function gi0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(o=r+592|0,mi(o,0,111481),mi(o,1,te(t)|0),e[r+596>>2]=2,o=r+604|0,l=a2(We(t)|0)|0,n=2,i=0;i=ao(l,1,i)|0,!!i;)mi(o,n,e[i+8>>2]|0),mi(o,n|1,k2(t,i)|0),n=n+2|0;e[r+608>>2]=n,i=re(We(t)|0,1,141055,0)|0,i?s=6:(i=re(We(t)|0,1,111477,0)|0,i|0&&(s=6)),(s|0)==6&&(e[r+588>>2]=st(k2(t,i)|0,t)|0)}function yi0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;s=r+592|0,mi(s,0,111450),c=t+48|0,mi(s,1,te(e[((e[t>>2]&3|0)==3?t:c)+40>>2]|0)|0),c=(d1(We(e[((e[t>>2]&3|0)==3?t:c)+40>>2]|0)|0)|0)!=0,mi(s,3,c?137738:141747),c=t+-48|0,mi(s,4,te(e[((e[t>>2]&3|0)==2?t:c)+40>>2]|0)|0),e[r+596>>2]=7,A=r+604|0,a=a2(We(e[((e[t>>2]&3|0)==2?t:c)+40>>2]|0)|0)|0,l=7,i=0;e:for(;;){for(;;){if(i=ao(a,2,i)|0,!i)break e;if(n=i+8|0,o=e[n>>2]|0,!(ge(o,111455)|0)){w=5;break}if(!(ge(o,111464)|0)){w=7;break}if(ge(o,111473)|0)break;mi(s,6,k2(t,i)|0)}(w|0)==5?(w=0,mi(s,2,k2(t,i)|0)):(w|0)==7&&(w=0,mi(s,5,k2(t,i)|0)),mi(A,l,e[n>>2]|0),mi(A,l+1|0,k2(t,i)|0),l=l+2|0}e[r+608>>2]=l,i=re(We(e[((e[t>>2]&3|0)==2?t:c)+40>>2]|0)|0,2,141055,0)|0,i?w=13:(i=re(We(e[((e[t>>2]&3|0)==2?t:c)+40>>2]|0)|0,2,111477,0)|0,i|0&&(w=13)),(w|0)==13&&(e[r+588>>2]=st(k2(t,i)|0,t)|0)}function NR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(l=Ci0(r,t,e[i>>2]|0)|0,i=e[i+4>>2]|0;o=e[i+4>>2]|0,!!o;){for(t=0;n=e[o+(t*20|0)+4>>2]|0,!!n;)ha0(r,e[i>>2]|0,n,e[o+(t*20|0)+8>>2]|0,l,o+(t*20|0)|0)|0,t=t+1|0;i=i+8|0}}function Ci0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=_0(12)|0,t?t=C2(t)|0:t=0,e[n+4>>2]=t,e[n+8>>2]=C2(i)|0,i=r+100|0,e[n>>2]=e[i>>2],e[i>>2]=n,n|0}function Ei0(r,t){r=r|0,t=t|0,Bi0(r),y[r+44>>0]=0,Ii0(r)|0,Ok0(r)|0}function Bi0(r){r=r|0;var t=0,i=0;t=e[r+32>>2]|0;e:do if(t|0)for(;;){if(i=e[t>>2]|0,!i)break e;(y[i>>0]|0)==103&&s8(i,111509)|0&&NR(r,0,e[t+4>>2]|0),t=t+8|0}while(0)}function Ii0(r){r=r|0;var t=0;return t=lc(r,2,111522)|0,t?(e[r+148>>2]=e[(e[t+16>>2]|0)+12>>2],r=300):r=999,r|0}function xi0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return r=e[r+148>>2]|0,r|0&&(n=e[r>>2]|0,(n|0)!=0)?r=ke[n&127](t,i)|0:r=0,r|0}function Si0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,(e[t>>2]|0)-(e[i>>2]|0)|0}function _i0(r){r=r|0;var t=0,i=0;return r=e[r+16>>2]|0,i=+u[r+16>>3],t=+u[r+24>>3],(zi0(~~(i>t?i:t)>>>0)|0)+1|0}function zi0(r){r=r|0;var t=0,i=0;return r?(i=r>>>0>65535,r=i?r>>>16:r,i=i?16:0,t=r>>>0>255,r=t?r>>>8:r,i=t?i|8:i,t=r>>>0>15,r=t?r>>>4:r,i=t?i|4:i,t=r>>>0>3,r=(t?i|2:i)+((t?r>>>2:r)>>>0>1&1)|0):r=-1,r|0}function Li0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;if(m=g,g=g+32|0,v=m,p=Ri0(r,t,i,n,o)|0,i=Gi0(p)|0,(i|0)>=0){for(c=v+16|0,w=v+24|0,a=v+8|0,A=o+32|0,i=0,o=0;!((o|0)>=(t|0));){n=r+(o*40|0)+32|0;do if(e[n>>2]|0){if(Zi0(v,p,r+(o*40|0)|0),l=+u[c>>3],s=+u[w>>3],!(e[v>>2]|0)){y[(e[n>>2]|0)+36>>0]=1;break}if(+u[a>>3]==0){n=e[n>>2]|0,u[n+16>>3]=l,u[n+24>>3]=s,y[n+36>>0]=1;break}(y[A>>0]|0)==1?(n=e[n>>2]|0,u[n+16>>3]=l,u[n+24>>3]=s,y[n+36>>0]=1):i=1}while(0);o=o+1|0}Wi0(p)}return g=m,i|0}function Ri0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;l=j0(28)|0,a=at(25912,e[4584]|0)|0,s=l+20|0,e[s>>2]=a;do if(a)if(a=u10()|0,e[l+24>>2]=a,a){e[l>>2]=r,e[l+4>>2]=t,e[l+8>>2]=i,e[l+12>>2]=n,e[l+16>>2]=o;break}else{cn(111740,14,1,e[15712]|0)|0,A=6;break}else cn(111740,14,1,e[15712]|0)|0,A=6;while(0);return(A|0)==6&&(r=e[s>>2]|0,r|0&&Fr(r)|0,r=e[l+24>>2]|0,r|0&&yG(r)|0,r0(l),l=0),l|0}function Gi0(r){r=r|0;var t=0;return t=Ni0(r)|0,(t|0)>=0&&(Qi0(r),Ti0(r),t=Fr(e[r+20>>2]|0)|0),t|0}function Zi0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0;B0=g,g=g+464|0,H=B0+416|0,k0=B0+400|0,q=B0+384|0,c=B0+352|0,w=B0+320|0,p=B0+288|0,v=B0+256|0,E=B0+224|0,B=B0+192|0,x=B0+160|0,z=B0+128|0,_=B0+96|0,G=B0+64|0,W=B0+32|0,t0=B0,N=e[i+32>>2]|0,n=+u[N>>3],P=i+16|0,T=(n*2+ +u[P>>3])*.125,U=N+8|0,Y=i+24|0,s=+u[Y>>3],f0=(+u[U>>3]*2+s)*.5,N||H0(111533,111543,445,111553),o=H,l=o+36|0;do e[o>>2]=0,o=o+4|0;while((o|0)<(l|0));D=N+16|0,u[D>>3]=+u[i>>3]-n,J=i+8|0,F=N+24|0,u[F>>3]=s+ +u[J>>3],uo(c,t,i,H),A=e[c>>2]|0,o=e[c+4>>2]|0,n=+u[c+8>>3],c=c+16|0,e[k0>>2]=e[c>>2],e[k0+4>>2]=e[c+4>>2],e[k0+8>>2]=e[c+8>>2],e[k0+12>>2]=e[c+12>>2];e:do if(!A)e[r>>2]=0,e[r+4>>2]=o,u[r+8>>3]=n,r=r+16|0,e[r>>2]=e[k0>>2],e[r+4>>2]=e[k0+4>>2],e[r+8>>2]=e[k0+8>>2],e[r+12>>2]=e[k0+12>>2];else{if(u[F>>3]=+u[J>>3],uo(w,t,i,H),l=e[w>>2]|0,c=e[w+4>>2]|0,s=+u[w+8>>3],w=w+16|0,e[q>>2]=e[w>>2],e[q+4>>2]=e[w+4>>2],e[q+8>>2]=e[w+8>>2],e[q+12>>2]=e[w+12>>2],!l){e[r>>2]=0,e[r+4>>2]=c,u[r+8>>3]=s,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break}if(s>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],o=c,n=s):l=A,u[F>>3]=+u[J>>3]-+u[U>>3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2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break}s>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],o=A,n=s):l=c,A=(e[H+28>>2]|0)==0;do if(e[H+24>>2]|0)A?L=38:L=46;else if(A){if(e[H+32>>2]|0){L=38;break}(e[H+12>>2]|0)==0&(e[H>>2]|0)==0||(L=38)}else L=46;while(0);r:do if((L|0)==38)if(e[H+32>>2]|0)L=46;else{u[D>>3]=+u[i>>3]-+u[N>>3],v=_+4|0,E=_+8|0,B=_+16|0,c=F,A=J,s=+u[Y>>3];t:for(;;){for(;;){if(u[c>>3]=+u[A>>3]+s,!(+u[D>>3]<=+u[P>>3]+ +u[i>>3])){L=46;break r}if(uo(_,t,i,H),w=e[_>>2]|0,p=e[v>>2]|0,a=+u[E>>3],e[q>>2]=e[B>>2],e[q+4>>2]=e[B+4>>2],e[q+8>>2]=e[B+8>>2],e[q+12>>2]=e[B+12>>2],!w)break t;if(a>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],c=D,A=D,s=T,l=w,o=p,n=a}e[r>>2]=0,e[r+4>>2]=p,u[r+8>>3]=a,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break e}while(0);r:do if((L|0)==46&&(e[H+12>>2]|0)==0&(e[H>>2]|0)==0){for(u[D>>3]=+u[i>>3]-+u[N>>3],a=+u[J>>3],w=G+4|0,p=G+8|0,v=G+16|0,s=a,a=+u[Y>>3]+a;;){if(u[F>>3]=a,!(a>=s-+u[U>>3]))break r;if(uo(G,t,i,H),A=e[G>>2]|0,c=e[w>>2]|0,s=+u[p>>3],e[q>>2]=e[v>>2],e[q+4>>2]=e[v+4>>2],e[q+8>>2]=e[v+8>>2],e[q+12>>2]=e[v+12>>2],!A)break;s>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],l=A,o=c,n=s),s=+u[J>>3],a=+u[F>>3]-f0}e[r>>2]=0,e[r+4>>2]=c,u[r+8>>3]=s,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break e}while(0);s=+u[i>>3],a=+u[P>>3]+s,u[D>>3]=a,m=+u[U>>3],u[F>>3]=+u[J>>3]-m,A=e[H+4>>2]|0;do if(e[H+8>>2]|0)c=e[H>>2]|0,L=59;else{if(c=e[H>>2]|0,!((A|0)==0&(c|0)==0)){L=59;break}if(e[H+20>>2]|0){A=0,c=0,L=59;break}e[H+32>>2]|0&&(A=0,c=0,L=59)}while(0);r:do if((L|0)==59){t:do if((A|0)==0&(c|0)==0){u[D>>3]=a,v=W+4|0,E=W+8|0,B=W+16|0,c=F,A=J,s=m;i:for(;;){for(;;){if(u[c>>3]=+u[A>>3]-s,s=+u[i>>3],!(+u[D>>3]>=s-+u[N>>3]))break t;if(uo(W,t,i,H),w=e[W>>2]|0,p=e[v>>2]|0,a=+u[E>>3],e[q>>2]=e[B>>2],e[q+4>>2]=e[B+4>>2],e[q+8>>2]=e[B+8>>2],e[q+12>>2]=e[B+12>>2],!w)break i;if(a>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],c=D,A=D,s=T,l=w,o=p,n=a}e[r>>2]=0,e[r+4>>2]=p,u[r+8>>3]=a,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break e}while(0);if(e[H+20>>2]|0||e[H+32>>2]|0)break;for(u[D>>3]=+u[P>>3]+s,s=+u[J>>3],w=t0+4|0,p=t0+8|0,v=t0+16|0,a=s,s=s-+u[U>>3];;){if(u[F>>3]=s,!(s<=+u[Y>>3]+a))break r;if(uo(t0,t,i,H),A=e[t0>>2]|0,c=e[w>>2]|0,s=+u[p>>3],e[q>>2]=e[v>>2],e[q+4>>2]=e[v+4>>2],e[q+8>>2]=e[v+8>>2],e[q+12>>2]=e[v+12>>2],!A)break;s>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],l=A,o=c,n=s),a=+u[J>>3],s=+u[F>>3]+f0}e[r>>2]=0,e[r+4>>2]=c,u[r+8>>3]=s,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break e}while(0);e[r>>2]=l,e[r+4>>2]=o,u[r+8>>3]=n,r=r+16|0,e[r>>2]=e[k0>>2],e[r+4>>2]=e[k0+4>>2],e[r+8>>2]=e[k0+8>>2],e[r+12>>2]=e[k0+12>>2]}while(0);g=B0}function Wi0(r){r=r|0,yG(e[r+24>>2]|0)|0,r0(r)}function uo(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(B=g,g=g+48|0,v=B+32|0,E=B+16|0,p=B,o=e[i+32>>2]|0,o||H0(111533,111543,382,111562),w=o+16|0,e[p>>2]=e[w>>2],e[p+4>>2]=e[w+4>>2],e[p+8>>2]=e[w+8>>2],e[p+12>>2]=e[w+12>>2],w=t+4|0,a=0,o=0;!((a|0)>=(e[w>>2]|0));){s=e[t>>2]|0,A=s+(a*40|0)|0;do if((A|0)!=(i|0)){if(+u[s+(a*40|0)+16>>3]>0&&+u[s+(a*40|0)+24>>3]>0)break;o=o+((Di0(i,A)|0)!=0&1)|0}while(0);a=a+1|0}if(Vw(i,v),a=e[t+24>>2]|0,a=EG(a,e[a>>2]|0,v)|0,!a)e[r>>2]=o,u[r+8>>3]=0,E=r+16|0,e[E>>2]=e[p>>2],e[E+4>>2]=e[p+4>>2],e[E+8>>2]=e[p+8>>2],e[E+12>>2]=e[p+12>>2];else{for(A=a,l=0;A;)s=e[(e[A+4>>2]|0)+16>>2]|0,(s|0)!=(i|0)&&(Fy(s,E),c=+$a(v,E),c>0&&(o=o+1|0,l=+Mi0(i,s,v,c,n)+l),t=e[s+32>>2]|0,t|0&&y[t+36>>0]|0&&(Vw(s,E),m=+$a(v,E),m>0)&&(o=o+1|0,l=+ji0(i,s,v,m,n)+l)),A=e[A>>2]|0;A10(a),e[r>>2]=o,u[r+8>>3]=l,E=r+16|0,e[E>>2]=e[p>>2],e[E+4>>2]=e[p+4>>2],e[E+8>>2]=e[p+8>>2],e[E+12>>2]=e[p+12>>2]}g=B}function Di0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return r=e[r+32>>2]|0,+u[t+16>>3]==0&&+u[t+24>>3]==0?(r|0&&(i=+u[t>>3],n=+u[r+16>>3],i>n)&&i<+u[r>>3]+n&&(o=+u[t+8>>3],l=+u[r+24>>3],o>l)?r=o<+u[r+8>>3]+l&1:r=0,r|0):(H0(111599,111543,219,111636),0)}function Vw(r,t){r=r|0,t=t|0;var i=0,n=0;r=e[r+32>>2]|0,n=+u[r+16>>3],e[t>>2]=~~n,i=+u[r+24>>3],e[t+4>>2]=~~i,e[t+8>>2]=~~(+u[r>>3]+n),e[t+12>>2]=~~(+u[r+8>>3]+i)}function Fy(r,t){r=r|0,t=t|0;var i=0,n=0;n=+u[r>>3],e[t>>2]=~~n,i=+u[r+8>>3],e[t+4>>2]=~~i,e[t+8>>2]=~~(+u[r+16>>3]+n),e[t+12>>2]=~~(+u[r+24>>3]+i)}function $a(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;return A=e[r+8>>2]|0,a=e[t>>2]|0,(A|0)>=(a|0)&&(c=e[r>>2]|0,w=e[t+8>>2]|0,(c|0)<=(w|0))&&(n=e[r+12>>2]|0,o=e[t+4>>2]|0,(n|0)>=(o|0))&&(l=e[r+4>>2]|0,s=e[t+12>>2]|0,(l|0)<=(s|0))?i=(+(e[((n|0)<(s|0)?r:t)+12>>2]|0)-+(e[((l|0)>(o|0)?r:t)+4>>2]|0))*(+(e[((A|0)<(w|0)?r:t)+8>>2]|0)-+(e[((c|0)>(a|0)?r:t)>>2]|0)):i=0,+i}function Mi0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=o|0;var l=0,s=0,A=0,a=0;return a=g,g=g+16|0,A=a,r=QR(r,t)|0,o=o+(((r|0)<0?5:r)<<2)|0,r=e[o>>2]|0,r?(Fy(r,A),l=+$a(i,A),l=l>n?l:0,r=e[o>>2]|0,e[r+32>>2]|0&&(Vw(r,A),s=+$a(i,A),s>n)&&(l=s>l?s:l),l>0||(e[o>>2]=t,l=n)):(e[o>>2]=t,l=n),g=a,+l}function ji0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=o|0;var l=0,s=0,A=0,a=0;return a=g,g=g+16|0,A=a,r=QR(r,t)|0,o=o+(((r|0)<0?5:r)<<2)|0,r=e[o>>2]|0,r?(Fy(r,A),l=+$a(i,A),l=l>n?l:0,r=e[o>>2]|0,e[r+32>>2]|0&&(Vw(r,A),s=+$a(i,A),s>n)&&(l=s>l?s:l),l>0||(e[o>>2]=t,l=n)):(e[o>>2]=t,l=n),g=a,+l}function QR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;i=e[r+32>>2]|0,n=e[t+32>>2]|0,(i|0)==(n|0)&&H0(111578,111543,276,111588);do if(y[i+36>>0]|0&&y[n+36>>0]|0){if(s=+u[r>>3],s==0&&+u[r+8>>3]==0){i=-1;break}if(A=+u[t>>3],l=+u[t+8>>3],A==0&l==0)i=-1;else{if(o=+u[r+8>>3],ls?2:1;break}if(i=Ao){if(i){i=6;break}i=A>s?8:7;break}i?i=3:A>s?i=5:i=-1}}else i=-1;while(0);return i|0}function Ni0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(c=g,g=g+32|0,i=c+24|0,n=c+16|0,o=c,l=_i0(r)|0,s=r+4|0,A=n+4|0,a=r+20|0,t=0;;){if((t|0)>=(e[s>>2]|0)){t=0;break}if(w=j0(32)|0,v=(e[r>>2]|0)+(t*40|0)|0,p=w+12|0,e[w+28>>2]=v,Fi0(o,v),e[p>>2]=e[o>>2],e[p+4>>2]=e[o+4>>2],e[p+8>>2]=e[o+8>>2],e[p+12>>2]=e[o+12>>2],p=e[p>>2]|0,e[n>>2]=(((e[w+20>>2]|0)-p|0)/2|0)+p,p=e[w+16>>2]|0,e[A>>2]=(((e[w+24>>2]|0)-p|0)/2|0)+p,e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[w+8>>2]=Pi0(i,l)|0,p=e[a>>2]|0,oe[e[p>>2]&63](p,w,1)|0)t=t+1|0;else{t=-1;break}}return g=c,t|0}function Qi0(r){r=r|0;var t=0,i=0,n=0;for(i=r+20|0,n=e[i>>2]|0,t=r+24|0,r=oe[e[n>>2]&63](n,0,128)|0;r;)n=e[t>>2]|0,a10(n,r+12|0,e[r+28>>2]|0,n,0)|0,n=e[i>>2]|0,r=oe[e[n>>2]&63](n,r,8)|0}function Ti0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(n=r+20|0,o=sn(e[n>>2]|0)|0,i=0;sn(e[n>>2]|0)|0;){if(l=e[n>>2]|0,r=e[(e[l+8>>2]|0)+4>>2]|0,!r){s=8;break}if(t=e[(e[l+4>>2]|0)+8>>2]|0,(t|0)<0?r=e[r+8>>2]|0:r=r+(0-t)|0,!r){s=8;break}oe[e[l>>2]&63](l,r,4096)|0,r0(r),i=i+1|0}(s|0)==8&&H0(111649,111543,616,111652),(o|0)!=(i|0)&&H0(111664,111543,623,111652)}function Fi0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(i=e[t+32>>2]|0,i?(n=+u[i>>3],o=+u[i+8>>3]):(n=0,o=0),c=+u[t>>3],a=~~+S0(+(c-n)),l=+u[t+8>>3],A=~~+S0(+(l-o)),s=~~+mt(+(c+n+ +u[t+16>>3])),(s|0)==2147483647&&H0(111676,111543,264,111703),i=~~+mt(+(l+o+ +u[t+24>>3])),(i|0)==2147483647)H0(111713,111543,266,111703);else{e[r>>2]=a,e[r+4>>2]=A,e[r+8>>2]=s,e[r+12>>2]=i;return}}function Pi0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(o=0,n=e[r>>2]|0,i=e[r+4>>2]|0;r=t+-1|0,!((t|0)<=0);)A=n>>>r&1,t=i>>>r&1,l=t+-1|0,s=l&(n^i),l=l&0-A,o=A<<1|o<<2|A^t,t=r,n=s^n^l,i=s^i^l;return o|0}function TR(r){r=r|0;var t=0,i=0,n=0,o=0;if(t=d2(r)|0,t>>>0>=(e[47365]|0)>>>0?(t=t+11|0,e[47365]=t,t=Oe(e[47366]|0,t)|0,e[47366]=t,t?i=4:t=0):(t=e[47366]|0,i=4),(i|0)==4){for(o=t;i=y[r>>0]|0,!!(i<<24>>24);)n=i&255,sY(n)|0&&(i=(Tl(n)|0)&255),y[o>>0]=i,o=o+1|0,r=r+1|0;y[o>>0]=0}return t|0}function Yi0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;for(U=g,g=g+144|0,m=U+96|0,w=U+80|0,x=U+124|0,E=U+72|0,z=U+64|0,_=U+56|0,T=U+48|0,D=U+40|0,P=U+32|0,L=U+24|0,G=U+16|0,W=U+8|0,N=U,o=U+120|0,A=U+116|0,a=U+112|0,c=U+108|0,e[t+32>>2]=i,v=r;(y[v>>0]|0)==32;)v=v+1|0;e[c>>2]=255,r=y[v>>0]|0;e:do if(r<<24>>24==35){if(e[w>>2]=o,e[w+4>>2]=A,e[w+8>>2]=a,e[w+12>>2]=c,(X2(v,111755,w)|0)<=2){r=y[v>>0]|0,p=12;break}switch(i|0){case 0:{J=+((e[o>>2]|0)>>>0)*.00392156862745098,u[T>>3]=J,n=+((e[A>>2]|0)>>>0)*.00392156862745098,u[D>>3]=n,l=+((e[a>>2]|0)>>>0)*.00392156862745098,u[P>>3]=l,s=+((e[c>>2]|0)>>>0)*.00392156862745098,Oi0(J,n,l,E,z,_),u[t>>3]=+u[E>>3],u[t+8>>3]=+u[z>>3],u[t+16>>3]=+u[_>>3],u[t+24>>3]=s,r=0;break e}case 1:{y[t>>0]=e[o>>2],y[t+1>>0]=e[A>>2],y[t+2>>0]=e[a>>2],y[t+3>>0]=e[c>>2],r=0;break e}case 3:{l=+((e[o>>2]|0)>>>0)*.00392156862745098,u[T>>3]=l,s=+((e[A>>2]|0)>>>0)*.00392156862745098,u[D>>3]=s,J=+((e[a>>2]|0)>>>0)*.00392156862745098,u[P>>3]=J,Py(l,s,J,L,G,W,N),y[t>>0]=~~+u[L>>3]*255,y[t+1>>0]=~~+u[G>>3]*255,y[t+2>>0]=~~+u[W>>3]*255,y[t+3>>0]=~~+u[N>>3]*255,r=0;break e}case 2:{e[t>>2]=(((e[o>>2]|0)*65535|0)>>>0)/255|0,e[t+4>>2]=(((e[A>>2]|0)*65535|0)>>>0)/255|0,e[t+8>>2]=(((e[a>>2]|0)*65535|0)>>>0)/255|0,e[t+12>>2]=(((e[c>>2]|0)*65535|0)>>>0)/255|0,r=0;break e}case 4:{u[t>>3]=+((e[o>>2]|0)>>>0)*.00392156862745098,u[t+8>>3]=+((e[A>>2]|0)>>>0)*.00392156862745098,u[t+16>>3]=+((e[a>>2]|0)>>>0)*.00392156862745098,u[t+24>>3]=+((e[c>>2]|0)>>>0)*.00392156862745098,r=0;break e}default:{r=0;break e}}}else p=12;while(0);e:do if((p|0)==12){if(!(r<<24>>24!=46&&((r&255)+-48|0)>>>0>=10)){if(r=d2(v)|0,r>>>0>=(e[47367]|0)>>>0){if(r=r+11|0,e[47367]=r,r=Oe(e[47368]|0,r)|0,e[47368]=r,!r){r=-1;break}}else r=e[47368]|0;A=r,o=v;r:for(;;){switch(a=o+1|0,o=y[o>>0]|0,o<<24>>24){case 0:break r;case 44:{o=32;break}default:}y[A>>0]=o,A=A+1|0,o=a}if(y[A>>0]=0,e[m>>2]=E,e[m+4>>2]=z,e[m+8>>2]=_,(X2(r,111769,m)|0)==3)switch(s=+u[E>>3],s=s<1?s:1,s=s>0?s:0,u[E>>3]=s,l=+u[z>>3],l=l<1?l:1,l=l>0?l:0,u[z>>3]=l,n=+u[_>>3],n=n<1?n:1,n=n>0?n:0,u[_>>3]=n,i|0){case 0:{u[t>>3]=s,u[t+8>>3]=l,u[t+16>>3]=n,u[t+24>>3]=1,r=0;break e}case 1:{Hw(s,l,n,T,D,P),y[t>>0]=~~(+u[T>>3]*255),y[t+1>>0]=~~(+u[D>>3]*255),y[t+2>>0]=~~(+u[P>>3]*255),y[t+3>>0]=-1,r=0;break e}case 3:{Hw(s,l,n,T,D,P),Py(+u[T>>3],+u[D>>3],+u[P>>3],L,G,W,N),y[t>>0]=~~+u[L>>3]*255,y[t+1>>0]=~~+u[G>>3]*255,y[t+2>>0]=~~+u[W>>3]*255,y[t+3>>0]=~~+u[N>>3]*255,r=0;break e}case 2:{Hw(s,l,n,T,D,P),e[t>>2]=~~(+u[T>>3]*65535),e[t+4>>2]=~~(+u[D>>3]*65535),e[t+8>>2]=~~(+u[P>>3]*65535),e[t+12>>2]=65535,r=0;break e}case 4:{Hw(s,l,n,T,D,P),u[t>>3]=+u[T>>3],u[t+8>>3]=+u[D>>3],u[t+16>>3]=+u[P>>3],u[t+24>>3]=1,r=0;break e}default:{r=0;break e}}}if(o=Vi0(v)|0,e[x>>2]=o,!o)r=-1;else{if(r=e[47369]|0,!(r|0&&(B=e[r>>2]|0,(y[B>>0]|0)==(y[o>>0]|0))&&!(ge(B,o)|0))&&(r=Oc(x,25948,2491,12,103)|0,e[47369]=r,!r))switch(i|0){case 0:{e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,e[t+16>>2]=0,e[t+20>>2]=0,u[t+24>>3]=1,r=1;break e}case 1:{y[t+2>>0]=0,y[t+1>>0]=0,y[t>>0]=0,y[t+3>>0]=-1,r=1;break e}case 3:{e[t>>2]=0,r=1;break e}case 2:{e[t+8>>2]=0,e[t+4>>2]=0,e[t>>2]=0,e[t+12>>2]=65535,r=1;break e}case 4:{e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,e[t+16>>2]=0,e[t+20>>2]=0,u[t+24>>3]=1,r=1;break e}default:{r=1;break e}}switch(i|0){case 0:{u[t>>3]=+(s0[r+4>>0]|0)*.00392156862745098,u[t+8>>3]=+(s0[r+5>>0]|0)*.00392156862745098,u[t+16>>3]=+(s0[r+6>>0]|0)*.00392156862745098,u[t+24>>3]=+(s0[r+10>>0]|0)*.00392156862745098,r=0;break e}case 1:{y[t>>0]=y[r+7>>0]|0,y[t+1>>0]=y[r+8>>0]|0,y[t+2>>0]=y[r+9>>0]|0,y[t+3>>0]=y[r+10>>0]|0,r=0;break e}case 3:{l=+(s0[r+7>>0]|0)*.00392156862745098,u[T>>3]=l,s=+(s0[r+8>>0]|0)*.00392156862745098,u[D>>3]=s,J=+(s0[r+9>>0]|0)*.00392156862745098,u[P>>3]=J,Py(l,s,J,L,G,W,N),y[t>>0]=~~+u[L>>3]*255,y[t+1>>0]=~~+u[G>>3]*255,y[t+2>>0]=~~+u[W>>3]*255,y[t+3>>0]=~~+u[N>>3]*255,r=0;break e}case 2:{e[t>>2]=(s0[r+7>>0]|0)*257,e[t+4>>2]=(s0[r+8>>0]|0)*257,e[t+8>>2]=(s0[r+9>>0]|0)*257,e[t+12>>2]=(s0[r+10>>0]|0)*257,r=0;break e}case 4:{u[t>>3]=+(s0[r+7>>0]|0)*.00392156862745098,u[t+8>>3]=+(s0[r+8>>0]|0)*.00392156862745098,u[t+16>>3]=+(s0[r+9>>0]|0)*.00392156862745098,u[t+24>>3]=+(s0[r+10>>0]|0)*.00392156862745098,r=0;break e}default:{r=0;break e}}}}while(0);return g=U,r|0}function Oi0(r,t,i,n,o,l){r=+r,t=+t,i=+i,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0;if(A=ti?t:i,p=pr?r:A),s=A/p,p>0)if(s>0){a=(p-r)/A,c=(p-t)/A,w=(p-i)/A;do if(p!=r){if(p==t){r=a+2-w;break}p==i?r=c+4-a:r=0}else r=(t-i)/A;while(0);r=r*60,r<0&&(r=r+360)}else r=0;else s=0,r=0;u[n>>3]=r*.002777777777777778,u[l>>3]=p,u[o>>3]=s}function Py(r,t,i,n,o,l,s){r=+r,t=+t,i=+i,n=n|0,o=o|0,l=l|0,s=s|0,u[n>>3]=1-r,u[o>>3]=1-t,u[l>>3]=1-i,t=+u[n>>3],i=+u[o>>3],i=t>3]=i,t=+u[l>>3],i=t>3]=i,u[n>>3]=+u[n>>3]-i,u[o>>3]=+u[o>>3]-+u[s>>3],u[l>>3]=+u[l>>3]-+u[s>>3]}function Hw(r,t,i,n,o,l){r=+r,t=+t,i=+i,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0;e:do if(t<=0)s=i,A=i,r=i,c=8;else switch(A=r>=1?0:r*6,w=~~A,A=A-+(w|0),r=(1-t)*i,a=(1-A*t)*i,t=(1-(1-A)*t)*i,w|0){case 0:{s=r,A=t,r=i,c=8;break e}case 1:{s=r,A=i,r=a,c=8;break e}case 2:{s=t,A=i,c=8;break e}case 3:{s=i,A=a,c=8;break e}case 4:{s=i,A=r,r=t,c=8;break e}case 5:{s=a,A=r,r=i,c=8;break e}default:break e}while(0);(c|0)==8&&(u[n>>3]=r,u[o>>3]=A,u[l>>3]=s)}function Vi0(r){r=r|0;var t=0,i=0;if(t=y[r>>0]|0,t<<24>>24!=98&&(i=r+1|0,!(t<<24>>24==119|(Yr(i,137266,4)|0)==0))&&!(t<<24>>24==108|(Yr(i,137271,4)|0)==0)&&Yr(i,137276,8)|0){do if(t<<24>>24==47)if(t=Zr(i,47)|0,!t)r=i;else{if((y[i>>0]|0)!=47){i=(go(137285,i,4)|0)==0,r=i?t+1|0:r;break}if(t=e[47370]|0,t|0&&y[t>>0]|0&&go(137285,t,3)|0){r=FR(t,r+2|0)|0;break}r=r+2|0}else t=e[47370]|0,t|0&&y[t>>0]|0&&go(137285,t,3)|0&&(r=FR(t,r)|0);while(0);r=TR(r)|0}return r|0}function Hi0(r,t){return r=r|0,t=t|0,De(e[r>>2]|0,e[t>>2]|0)|0}function FR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return o=g,g=g+16|0,n=o,l=d2(r)|0,l=(d2(t)|0)+l|0,i=l+13|0,(l+3|0)>>>0<(e[47371]|0)>>>0?i=e[47372]|0:(e[47371]=i,i=Oe(e[47372]|0,i)|0,e[47372]=i),e[n>>2]=r,e[n+4>>2]=t,Ke(i,137290,n)|0,g=o,e[47372]|0}function Jw(r){r=r|0,e[47370]=r}function Ji0(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o;var l=0,s=0;return l=g,g=g+208|0,s=l,Ui0(s,+u[r>>3],+u[r+8>>3],t,i,n,o),r=Xi0(s)|0,g=l,r|0}function Ui0(r,t,i,n,o,l,s){r=r|0,t=+t,i=+i,n=+n,o=+o,l=+l,s=+s;var A=0,a=0;u[r>>3]=t,u[r+8>>3]=i,a=r+16|0,u[a>>3]=n,A=r+24|0,u[A>>3]=o,u[r+32>>3]=0,i=+I2(+(+le(+l)/o),+(+ee(+l)/n)),u[r+56>>3]=i,o=+I2(+(+le(+s)/o),+(+ee(+s)/n)),u[r+40>>3]=1,u[r+48>>3]=0,o=o-+S0(+((o-i)*.15915494309189535))*6.283185307179586,u[r+64>>3]=s-l>3.141592653589793&o-i<3.141592653589793?o+6.283185307179586:o,bi0(r),en0(r),rn0(r),s=+u[a>>3],s=(s-+u[A>>3])/s,u[r+168>>3]=s,u[r+176>>3]=(2-s)*s,s=1-s,u[r+184>>3]=s,u[r+192>>3]=s*s}function Xi0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0;for(B=j0(8)|0,l=+u[r+56>>3],o=+u[r+64>>3]-l,E=1,t=0;m=o/+(E|0),!!(t<<24>>24==0&(E|0)<1024);){e:do if(!(m<=1.5707963267948966))t=0;else for(i=l,n=0,t=1;;){if(!(t<<24>>24!=0&(n|0)<(E|0)))break e;v=i+m,t=+qi0(r,i,v)<=1e-5&1,i=v,n=n+1|0}while(0);E=E<<1}for(A=+ee(+l),L=+le(+l),n=r+16|0,z=+u[n>>3],G=z*A,a=r+24|0,i=+u[a>>3],s=i*L,A=i*A,i=+u[r>>3],c=r+40|0,_=+u[c>>3],w=r+48|0,x=+u[w>>3],o=_*G+i-x*s,p=r+8|0,v=+u[p>>3],s=x*G+_*s+v,z=-(L*z),$i0(B,i,v),PR(B,o,s),v=+Ze(+(m*.5)),v=+le(+m)*.3333333333333333*(+G0(+(v*v*3+4))+-1),i=l,l=s,s=x*z+_*A,A=_*z-x*A,t=0;!((t|0)>=(E|0));)x=i+m,L=+ee(+x),G=+le(+x),N=+u[n>>3],D=N*L,W=+u[a>>3],_=W*G,L=W*L,W=+u[c>>3],T=+u[w>>3],z=W*D+ +u[r>>3]-T*_,_=T*D+W*_+ +u[p>>3],N=-(G*N),G=W*N-T*L,L=T*N+W*L,YR(B,o+A*v,l+s*v,z-G*v,_-L*v,z,_),i=x,o=z,l=_,s=L,A=G,t=t+1|0;return Ki0(B),B|0}function qi0(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0,l=0,s=0,A=0;return n=i+t,A=+u[r+16>>3],o=+u[r+24>>3]/A,s=+ee(+n),l=+ee(+(n*2)),n=+ee(+(n*3)),r=o<.25?10392:10648,+(((o*.001+4.98)*o+.207)/(o+.0067)*A*+vt(+(((+u[r+32>>3]*o+ +u[r+40>>3])*o+ +u[r+48>>3])/(+u[r+56>>3]+o)*s+((+u[r>>3]*o+ +u[r+8>>3])*o+ +u[r+16>>3])/(+u[r+24>>3]+o)+((+u[r+64>>3]*o+ +u[r+72>>3])*o+ +u[r+80>>3])/(+u[r+88>>3]+o)*l+((+u[r+96>>3]*o+ +u[r+104>>3])*o+ +u[r+112>>3])/(+u[r+120>>3]+o)*n+(((+u[r+160>>3]*o+ +u[r+168>>3])*o+ +u[r+176>>3])/(+u[r+184>>3]+o)*s+((+u[r+128>>3]*o+ +u[r+136>>3])*o+ +u[r+144>>3])/(+u[r+152>>3]+o)+((+u[r+192>>3]*o+ +u[r+200>>3])*o+ +u[r+208>>3])/(+u[r+216>>3]+o)*l+((+u[r+224>>3]*o+ +u[r+232>>3])*o+ +u[r+240>>3])/(+u[r+248>>3]+o)*n)*(i-t))))}function $i0(r,t,i){r=r|0,t=+t,i=+i;var n=0;e[47373]=100,n=j0(1600)|0,e[r>>2]=n,u[n>>3]=t,u[n+8>>3]=i,e[r+4>>2]=1}function PR(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0;o=e[r>>2]|0,n=(e[r+4>>2]|0)+-1|0,YR(r,+u[o+(n<<4)>>3],+u[o+(n<<4)+8>>3],t,i,t,i)}function YR(r,t,i,n,o,l,s){r=r|0,t=+t,i=+i,n=+n,o=+o,l=+l,s=+s;var A=0,a=0,c=0,w=0;c=r+4|0,A=e[c>>2]|0,a=e[47373]|0,(A+3|0)<(a|0)?r=e[r>>2]|0:(e[47373]=a<<1,A=O2(e[r>>2]|0,a<<5)|0,e[r>>2]=A,r=A,A=e[c>>2]|0),u[r+(A<<4)>>3]=t,w=A+1|0,u[r+(A<<4)+8>>3]=i,u[r+(w<<4)>>3]=n,a=A+2|0,u[r+(w<<4)+8>>3]=o,u[r+(a<<4)>>3]=l,e[c>>2]=A+3,u[r+(a<<4)+8>>3]=s}function Ki0(r){r=r|0;var t=0;t=e[r>>2]|0,PR(r,+u[t>>3],+u[t+8>>3]),e[r>>2]=O2(e[r>>2]|0,e[r+4>>2]<<4)|0,e[47373]=0}function bi0(r){r=r|0;var t=0,i=0,n=0,o=0;n=+u[r+16>>3],t=+u[r+24>>3],t=+G0(+(n*n-t*t)),n=t*+u[r+40>>3],t=t*+u[r+48>>3],o=+u[r>>3],u[r+104>>3]=o-n,i=+u[r+8>>3],u[r+112>>3]=i-t,u[r+120>>3]=o+n,u[r+128>>3]=i+t}function en0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;n=+u[r+16>>3],A=+u[r+56>>3],a=+ee(+A)*n,t=+u[r+24>>3],A=+le(+A)*t,s=+u[r+64>>3],n=+ee(+s)*n,t=+le(+s)*t,s=+u[r>>3],i=+u[r+40>>3],o=+u[r+48>>3],u[r+72>>3]=i*a+s-o*A,l=+u[r+8>>3],u[r+80>>3]=o*a+l+i*A,u[r+88>>3]=s+i*n-o*t,u[r+96>>3]=l+o*n+i*t}function rn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;c=+u[r+24>>3],w=+u[r+16>>3],o=c/w,p=+u[r+48>>3],v=+L0(+p)<.1,a=+u[r+40>>3];do if(v)if(t=p/a,i=+G2(+(t*o)),n=-i,a<0){t=+G2(+(t/o)),o=n,n=3.141592653589793-i,i=4.71238898038469-t,t=1.5707963267948966-t;break}else{t=+G2(+(t/o)),o=-3.141592653589793-i,i=1.5707963267948966-t,t=-1.5707963267948966-t;break}else if(t=a/p,i=+G2(+(t/o)),n=i+1.5707963267948966,p<0){t=+G2(+(t*o)),o=i+-1.5707963267948966,i=t+3.141592653589793;break}else{t=+G2(+(t*o)),o=n,n=i+4.71238898038469,i=t,t=t+-3.141592653589793;break}while(0);s=+u[r+56>>3],o=o-+S0(+((o-s)*.15915494309189535))*6.283185307179586,t=t-+S0(+((t-s)*.15915494309189535))*6.283185307179586,l=n-+S0(+((n-s)*.15915494309189535))*6.283185307179586,s=i-+S0(+((i-s)*.15915494309189535))*6.283185307179586,A=+u[r+64>>3],o<=A?i=+ee(+o)*w*a+ +u[r>>3]-c*+le(+o)*p:(o=+u[r+72>>3],i=+u[r+88>>3],i=o>3]=i,t<=A?n=+ee(+t)*w*p+ +u[r+8>>3]+ +le(+t)*c*a:(o=+u[r+80>>3],n=+u[r+96>>3],n=o>3]=n,l<=A?t=+ee(+l)*w*a+ +u[r>>3]-c*+le(+l)*p:(l=+u[r+72>>3],t=+u[r+88>>3],t=l>t?l:t),u[r+152>>3]=t-i,s<=A?t=+ee(+s)*w*p+ +u[r+8>>3]+ +le(+s)*c*a:(p=+u[r+80>>3],t=+u[r+96>>3],t=p>t?p:t),u[r+160>>3]=t-n}function tn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;switch(c=g,g=g+80|0,a=c,in0(r),A=+u[i+56>>3],o=+u[i+64>>3],y[i+80>>0]|0){case 116:{o=(+u[i+48>>3]-+OR(t))*.5+o,n=4;break}case 98:{o=o-(+u[i+48>>3]-+OR(t))*.5,n=4;break}default:}(n|0)==4&&(o=o+-1),u[a>>3]=A,u[a+8>>3]=o,e[a+20>>2]=e[i+8>>2],e[a+16>>2]=e[i+4>>2],u[a+32>>3]=+u[i+16>>3],s=r+16|0,n=he(e[(e[s>>2]|0)+8>>2]|0,137297)|0,i=a+56|0,e[i>>2]=n,l=a+60|0,e[l>>2]=e[(e[s>>2]|0)+212>>2],s=a+64|0,y[s>>0]=0,n|0&&y[n>>0]|0||(e[i>>2]=137308),(y[t+4>>0]|0)==1?(i=e[t>>2]|0,a1(r,e[(e[r>>2]|0)+336>>2]|0),n=e[i+24>>2]|0,n?Z2(r,n):Z2(r,137314),HR(r,i,a),y[s>>0]|0&&r0(e[l>>2]|0)):VR(r,e[t>>2]|0,a),nn0(r),g=c}function in0(r){r=r|0;var t=0,i=0,n=0;switch(t=hh(r)|0,i=e[t>>2]|0,r=e[i+4>>2]|0,e[t+4>>2]=r,e[t+12>>2]=e[i+12>>2],r|0){case 2:{r=i+8|0,n=6;break}case 0:{r=i+8|0,n=6;break}case 1:{r=i+8|0,n=6;break}case 3:{r=i+8|0,n=6;break}default:}(n|0)==6&&(e[t+8>>2]=e[r>>2]),e[t+208>>2]=e[i+208>>2],e[t+228>>2]=e[i+228>>2],e[t+244>>2]=e[i+244>>2],n=t+260|0,$[n>>1]=$[n>>1]&-2|$[i+260>>1]&1}function OR(r){r=r|0;var t=0,i=0,n=0;switch(y[r+4>>0]|0){case 1:{i=e[r>>2]|0,r=i+72|0,i=i+56|0,n=5;break}case 3:{i=e[r>>2]|0,r=i+24|0,i=i+8|0,n=5;break}case 2:{i=e[r>>2]|0,r=i+32|0,i=i+16|0,n=5;break}default:t=0}return(n|0)==5&&(t=+u[r>>3]-+u[i>>3]),+t}function VR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;a=g,g=g+96|0,l=a+64|0,o=a+32|0,n=a+16|0,s=a,A=$[t+4>>1]|0,A<<16>>16>=1&&(v=t+8|0,w=+u[t+24>>3],c=+u[v>>3],u[s>>3]=(c+w)*.5+ +u[i>>3],u[s+8>>3]=(+u[t+16>>3]+ +u[t+32>>3])*.5+ +u[i+8>>3],p=e[t>>2]|0,m=i+16|0,i=y[t+6>>0]|0,e[n>>2]=e[s>>2],e[n+4>>2]=e[s+4>>2],e[n+8>>2]=e[s+8>>2],e[n+12>>2]=e[s+12>>2],e[o>>2]=e[m>>2],e[o+4>>2]=e[m+4>>2],e[o+8>>2]=e[m+8>>2],e[o+12>>2]=e[m+12>>2],e[o+16>>2]=e[m+16>>2],e[o+20>>2]=e[m+20>>2],e[o+24>>2]=e[m+24>>2],e[o+28>>2]=e[m+28>>2],e[l>>2]=e[v>>2],e[l+4>>2]=e[v+4>>2],e[l+8>>2]=e[v+8>>2],e[l+12>>2]=e[v+12>>2],e[l+16>>2]=e[v+16>>2],e[l+20>>2]=e[v+20>>2],e[l+24>>2]=e[v+24>>2],e[l+28>>2]=e[v+28>>2],An0(r,A<<16>>16,p,n,(w-c)*.5,o,l,i)),g=a}function HR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;if(_=g,g=g+176|0,m=_+96|0,B=_+64|0,x=_+136|0,c=_,w=_+128|0,p=t+48|0,e[B>>2]=e[p>>2],e[B+4>>2]=e[p+4>>2],e[B+8>>2]=e[p+8>>2],e[B+12>>2]=e[p+12>>2],e[B+16>>2]=e[p+16>>2],e[B+20>>2]=e[p+20>>2],e[B+24>>2]=e[p+24>>2],e[B+28>>2]=e[p+28>>2],s=+u[i>>3],A=+u[i+8>>3],p=t+84|0,n=e[p>>2]|0,e[t>>2]|0?z=1:z=(e[t+8>>2]|0)!=0,E=t+108|0,o=e[E>>2]|0,o|0&&JR(i,o,186544),u[B>>3]=+u[B>>3]+s,v=B+16|0,u[v>>3]=+u[v>>3]+s,v=B+8|0,u[v>>3]=+u[v>>3]+A,v=B+24|0,u[v>>3]=+u[v>>3]+A,z&&!(e[r+152>>2]&4|0)?(e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],v=Uw(r,i,t,m,x)|0):v=0,a=t+42|0,o=$[a>>1]|0,!(o&32)){for(l=e[t+20>>2]|0,l&&(o=UR(r,l,e[t+28>>2]|0,o&65535,w)|0,$[a>>1]&4?(a=s0[t+33>>0]|0,e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],_f(r,Xw(c,m,a)|0,4,4,o)):(e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],Il(r,m,o)),r0(e[w>>2]|0));o=e[n>>2]|0,!!o;)on0(r,o,i),n=n+4|0;for(n=e[p>>2]|0,Uo(r,1),o=t+24|0;l=n+4|0,n=e[n>>2]|0,!!n;){if(!(y[n+100>>0]|0)){n=l;continue}ln0(r,n,i,e[o>>2]|0,e[l>>2]|0),n=l}y[t+33>>0]|0&&(e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],XR(r,t,m))}v|0&&qw(r,x),z&&e[r+152>>2]&4|0&&(e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],Uw(r,i,t,m,x)|0)&&qw(r,x),e[E>>2]|0&&qR(i,186544),g=_}function nn0(r){r=r|0;var t=0;t=e[r+16>>2]|0,e[t+208>>2]=0,e[t+228>>2]=0,e[t+244>>2]=0,e[t+212>>2]=0,wh(r)}function JR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=r+16|0,o=e[s>>2]|0,o|0&&(e[t>>2]|0?(e[i>>2]=o,o=e[t>>2]|0,l=s):(o=0,l=i),e[l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xn(r,e[w>>2]|0,e[p>>2]|0,e[v>>2]|0,e[m>>2]|0)}while(0);return g=x,o|0}function UR(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;return A=g,g=g+16|0,s=A,(Rh(t,o,s)|0)<<24>>24?(tr(r,e[o>>2]|0),t=e[o+4>>2]|0,l=+x0[s>>2],t?so(r,t,i,l):so(r,137314,i,l),t=n>>>1&1|2):(tr(r,t),t=1),Z2(r,137379),g=A,t|0}function Xw(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;return e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2],n=r+32|0,t=t+16|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],(i|0)>1?(A=+(i|0)*.5,s=+u[r>>3]+A,u[r>>3]=s,i=r+8|0,l=+u[i>>3]+A,u[i>>3]=l,o=+u[n>>3]-A,u[n>>3]=o,n=r+40|0,A=+u[n>>3]-A,u[n>>3]=A):(o=+u[n>>3],l=+u[r+8>>3],s=+u[r>>3],A=+u[r+40>>3]),u[r+16>>3]=o,u[r+24>>3]=l,u[r+48>>3]=s,u[r+56>>3]=A,r|0}function on0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;B=g,g=g+176|0,p=B+96|0,v=B+136|0,m=B+64|0,c=B,w=B+128|0,E=t+48|0,e[m>>2]=e[E>>2],e[m+4>>2]=e[E+4>>2],e[m+8>>2]=e[E+8>>2],e[m+12>>2]=e[E+12>>2],e[m+16>>2]=e[E+16>>2],e[m+20>>2]=e[E+20>>2],e[m+24>>2]=e[E+24>>2],e[m+28>>2]=e[E+28>>2],o=+u[i>>3],l=+u[i+8>>3],e[t>>2]|0?E=1:E=(e[t+8>>2]|0)!=0,u[m>>3]=+u[m>>3]+o,a=m+16|0,u[a>>3]=+u[a>>3]+o,a=m+8|0,u[a>>3]=+u[a>>3]+l,a=m+24|0,u[a>>3]=+u[a>>3]+l,E&&!(e[r+152>>2]&4|0)?(e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],e[p+16>>2]=e[m+16>>2],e[p+20>>2]=e[m+20>>2],e[p+24>>2]=e[m+24>>2],e[p+28>>2]=e[m+28>>2],a=Uw(r,i,t,p,v)|0):a=0,A=t+42|0,n=$[A>>1]|0;e:do if(!(n&32))switch(s=e[t+20>>2]|0,s|0&&(n=UR(r,s,e[t+28>>2]|0,n&65535,w)|0,$[A>>1]&4?(A=s0[t+33>>0]|0,e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],e[p+16>>2]=e[m+16>>2],e[p+20>>2]=e[m+20>>2],e[p+24>>2]=e[m+24>>2],e[p+28>>2]=e[m+28>>2],_f(r,Xw(c,p,A)|0,4,4,n)):(e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],e[p+16>>2]=e[m+16>>2],e[p+20>>2]=e[m+20>>2],e[p+24>>2]=e[m+24>>2],e[p+28>>2]=e[m+28>>2],Il(r,p,n)),r0(e[w>>2]|0)),y[t+33>>0]|0&&(e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],e[p+16>>2]=e[m+16>>2],e[p+20>>2]=e[m+20>>2],e[p+24>>2]=e[m+24>>2],e[p+28>>2]=e[m+28>>2],XR(r,t,p)),n=t+88|0,y[t+92>>0]|0){case 1:{HR(r,e[n>>2]|0,i);break e}case 3:{sn0(r,e[n>>2]|0,i);break e}default:{VR(r,e[n>>2]|0,i);break e}}while(0);a|0&&qw(r,v),E&&e[r+152>>2]&4|0&&(e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],e[p+16>>2]=e[m+16>>2],e[p+20>>2]=e[m+20>>2],e[p+24>>2]=e[m+24>>2],e[p+28>>2]=e[m+28>>2],Uw(r,i,t,p,v)|0)&&qw(r,v),g=B}function ln0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0;if(L=g,g=g+32|0,z=L+16|0,_=L,w=+u[i>>3],x=+u[i+8>>3],c=n|0?n:137314,tr(r,c),Z2(r,c),v=+u[t+48>>3],A=+u[t+56>>3],m=+u[t+64>>3],a=+u[t+72>>3],p=v+w,w=m+w,x=A+x,c=t+100|0,i=y[c>>0]|0,i&1&&(s=e[t+96>>2]|0,((M0[t+80>>1]|0)+(M0[t+84>>1]|0)|0)<(e[s+104>>2]|0))){i=$[t+86>>1]|0;do if(i<<16>>16)if(((M0[t+82>>1]|0)+(i&65535)|0)==(e[s+100>>2]|0)){G=y[s+32>>0]|0,W=(G<<24>>24)/2|0,n=(W<<24>>24)+(s0[s+33>>0]|0)|0,i=n,n=n&255,l=x-+(W<<24>>24),s=G;break}else{s=y[s+32>>0]|0,i=0,n=((s<<24>>24)/2|0)<<24>>24,l=x;break}else W=y[s+32>>0]|0,n=((W<<24>>24)/2|0)<<24>>24,i=n+(s0[s+33>>0]|0)|0,l=x,s=W;while(0);u[_+8>>3]=l-+(n|0),u[_>>3]=w+ +(((s<<24>>24)/2|0)<<24>>24),e[z>>2]=e[_>>2],e[z+4>>2]=e[_+4>>2],e[z+8>>2]=e[_+8>>2],e[z+12>>2]=e[_+12>>2],$R(r,z,0,a-A+ +(i&255|0)+ +(s<<24>>24)),i=y[c>>0]|0}if(i&2&&(E=$[t+86>>1]|0,B=e[t+96>>2]|0,((M0[t+82>>1]|0)+(E&65535)|0)<(e[B+100>>2]|0))){i=$[t+84>>1]|0;do if(i<<16>>16){if(((M0[t+80>>1]|0)+(i&65535)|0)==(e[B+104>>2]|0)){i=y[B+32>>0]|0,W=(i<<24>>24)/2|0,n=(W&255)+(s0[B+33>>0]|0)&255,u[_>>3]=p-+(W<<24>>24);break}i=y[B+32>>0]|0,l=+(((i<<24>>24)/2|0)<<24>>24),u[_>>3]=p-l,o|0&&($[o+86>>1]|0)!=E<<16>>16?n=~~(+u[B+64>>3]-m-l)&255:n=0}else{if(i=y[B+32>>0]|0,W=(i<<24>>24)/2|0,s=(W<<24>>24)+(s0[B+33>>0]|0)|0,n=s&255,s=s&255,l=+(W<<24>>24),u[_>>3]=p-l-+(s|0),(e[B+104>>2]|0)==(M0[t+80>>1]|0)){n=s<<1&255;break}o|0&&($[o+86>>1]|0)!=E<<16>>16&&(n=~~(+(n&255)-m+ +u[B+64>>3]-l)&255)}while(0);u[_+8>>3]=x-+(((i<<24>>24)/2|0)<<24>>24),e[z>>2]=e[_>>2],e[z+4>>2]=e[_+4>>2],e[z+8>>2]=e[_+8>>2],e[z+12>>2]=e[_+12>>2],$R(r,z,m-v+ +(n&255)+ +(i<<24>>24),0)}g=L}function XR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;c=g,g=g+160|0,a=c+112|0,A=c,o=c+144|0,s=e[t+24>>2]|0,Z2(r,s|0?s:137314),s=t+42|0,n=$[s>>1]|0,n&384?(e[o+4>>2]=0,e[o>>2]=0,n=n&65535,n&256?(n=137327,l=4):n&128|0&&(n=137320,l=4),(l|0)==4&&(e[o>>2]=n),a1(r,o)):a1(r,e[(e[r>>2]|0)+336>>2]|0),l=t+33|0,Uo(r,+(s0[l>>0]|0));e:do if($[s>>1]&4)s=s0[l>>0]|0,e[a>>2]=e[i>>2],e[a+4>>2]=e[i+4>>2],e[a+8>>2]=e[i+8>>2],e[a+12>>2]=e[i+12>>2],e[a+16>>2]=e[i+16>>2],e[a+20>>2]=e[i+20>>2],e[a+24>>2]=e[i+24>>2],e[a+28>>2]=e[i+28>>2],_f(r,Xw(A,a,s)|0,4,4,0);else{if(n=$[t+36>>1]&15360,!(n<<16>>16)){n=y[l>>0]|0,(n&255)>1&&(w=+(n&255)*.5,u[i>>3]=+u[i>>3]+w,A=i+8|0,u[A>>3]=+u[A>>3]+w,A=i+16|0,u[A>>3]=+u[A>>3]-w,A=i+24|0,u[A>>3]=+u[A>>3]-w),e[a>>2]=e[i>>2],e[a+4>>2]=e[i+4>>2],e[a+8>>2]=e[i+8>>2],e[a+12>>2]=e[i+12>>2],e[a+16>>2]=e[i+16>>2],e[a+20>>2]=e[i+20>>2],e[a+24>>2]=e[i+24>>2],e[a+28>>2]=e[i+28>>2],Il(r,a,0);break}o=A+16|0,s=s0[l>>0]|0,e[a>>2]=e[i>>2],e[a+4>>2]=e[i+4>>2],e[a+8>>2]=e[i+8>>2],e[a+12>>2]=e[i+12>>2],e[a+16>>2]=e[i+16>>2],e[a+20>>2]=e[i+20>>2],e[a+24>>2]=e[i+24>>2],e[a+28>>2]=e[i+28>>2],Xw(o,a,s)|0;do switch(((n&65535)+-1024|0)>>>10&4194303|0){case 7:{y2(r,o,2);break e}case 3:{y2(r,A+32|0,2);break e}case 1:{y2(r,A+48|0,2);break e}case 0:{i=A+64|0,e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],y2(r,A,2);break e}case 11:{y2(r,o,3);break e}case 5:{y2(r,A+32|0,3);break e}case 2:{i=A+80|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],y2(r,A+48|0,3);break e}case 8:{i=A+64|0,e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],y2(r,A,3);break e}case 13:{y2(r,o,4);break e}case 6:{i=A+80|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],y2(r,A+32|0,4);break e}case 10:{i=A+80|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],i=A+96|0,a=A+32|0,e[i>>2]=e[a>>2],e[i+4>>2]=e[a+4>>2],e[i+8>>2]=e[a+8>>2],e[i+12>>2]=e[a+12>>2],y2(r,A+48|0,4);break e}case 12:{i=A+64|0,e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],y2(r,A,4);break e}case 9:{y2(r,o,2),y2(r,A+48|0,2);break e}case 4:{i=A+64|0,e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],y2(r,A,2),y2(r,A+32|0,2);break e}default:break e}while(0)}while(0);g=c}function qw(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=e[r+16>>2]|0,i=o+208|0,!(e[i>>2]|0)&&!($[o+260>>1]&1)?r=0:(Bl(r),r=e[i>>2]|0),(r|0)!=(e[t>>2]|0)&&(r0(r),e[i>>2]=e[t>>2]),r=o+228|0,i=e[r>>2]|0,n=t+4|0,(i|0)!=(e[n>>2]|0)&&(r0(i),e[r>>2]=e[n>>2]),r=o+244|0,i=e[r>>2]|0,n=t+8|0,(i|0)!=(e[n>>2]|0)&&(r0(i),e[r>>2]=e[n>>2]),r=o+212|0,i=e[r>>2]|0,n=t+12|0,(i|0)!=(e[n>>2]|0)&&(r0(i),e[r>>2]=e[n>>2]),o=o+260|0,$[o>>1]=$[o>>1]&-2|y[t+16>>0]&1}function qR(r,t){r=r|0,t=t|0;var i=0,n=0;n=e[t>>2]|0,n|0&&(e[r+16>>2]=n),n=e[t+4>>2]|0,n|0&&(e[r+20>>2]=n),i=+u[t+16>>3],i>=0&&(u[r+32>>3]=i)}function $R(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0;o=g,g=g+64|0,l=o+32|0,s=o,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],u[s+16>>3]=+u[t>>3]+i,u[s+24>>3]=+u[t+8>>3]+n,e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2],e[l+16>>2]=e[s+16>>2],e[l+20>>2]=e[s+20>>2],e[l+24>>2]=e[s+24>>2],e[l+28>>2]=e[s+28>>2],Il(r,l,1),g=o}function sn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(l=g,g=g+64|0,o=l,A=+u[i>>3],c=A+ +u[t>>3],a=+u[i+8>>3],s=a+ +u[t+8>>3],A=A+ +u[t+16>>3],a=a+ +u[t+24>>3],u[o>>3]=A,u[o+8>>3]=a,u[o+32>>3]=c,u[o+40>>3]=s,u[o+16>>3]=c,u[o+24>>3]=a,u[o+48>>3]=A,u[o+56>>3]=s,n=e[t+36>>2]|0,n||(n=e[i+56>>2]|0),i=e[t+32>>2]|0,i||H0(137334,137342,623,137354),!(y[i>>0]|0))H0(137368,137342,624,137354);else{WR(r,i,o,4,1,n),g=l;return}}function An0(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0,s=s|0,A=A|0;var a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0;for(V0=g,g=g+128|0,Y=V0+104|0,B0=V0+48|0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c>>3]+o,u[n>>3]=a,w=w+56|0,v=v+1|0,o=a;p=p+1|0}ZR(r),g=V0}function $w(r){r=r|0,r0(e[r>>2]|0),r0(e[r+4>>2]|0),r0(e[r+8>>2]|0),r0(e[r+16>>2]|0),r0(e[r+12>>2]|0),r0(e[r+20>>2]|0),r0(e[r+24>>2]|0)}function KR(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;if(r|0){for(A=r+4|0,i=0,o=e[r>>2]|0;!((i|0)>=($[A>>1]|0));){for(a=o+4|0,t=0,n=e[o>>2]|0;!((t|0)>=($[a>>1]|0));)r0(e[n>>2]|0),l=e[n+8>>2]|0,l|0&&(s=e[n+12>>2]|0,s|0)&&l2[s&127](l),t=t+1|0,n=n+56|0;i=i+1|0,o=o+24|0}t=e[r>>2]|0,t|0&&r0(t),r0(r)}}function un0(r){r=r|0,r0(e[r+32>>2]|0),r0(r)}function Yy(r,t){switch(r=r|0,t=t|0,y[r+4>>0]|0){case 1:{fn0(e[r>>2]|0);break}case 3:{un0(e[r>>2]|0);break}default:KR(e[r>>2]|0)}t|0&&r0(r)}function fn0(r){r=r|0;var t=0,i=0,n=0;if(n=r+84|0,(e[r+100>>2]|0)==-1)Fr(e[n>>2]|0)|0;else{for(t=e[n>>2]|0,r0(e[r+92>>2]|0),r0(e[r+96>>2]|0);i=e[t>>2]|0,!!i;)an0(i),t=t+4|0;r0(e[n>>2]|0)}$w(r),r0(r)}function an0(r){r=r|0,Yy(r+88|0,0),$w(r),r0(r)}function cn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return r=e[(e[(e[r+16>>2]|0)+104>>2]|0)+72>>2]|0,(y[r+4>>0]|0)!=2&&(n=bR(e[r>>2]|0,t)|0,(n|0)!=0)?(e[i>>2]=s0[n+35>>0],r=n+48|0):r=0,r|0}function bR(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r+4>>2]|0,i|0&&!(De(i,t)|0)||(n=3);e:do if((n|0)==3)for(i=e[r+84>>2]|0;;){if(r=e[i>>2]|0,!r){r=0;break e}if(r=hn0(r,t)|0,!r)i=i+4|0;else break}while(0);return r|0}function hn0(r,t){r=r|0,t=t|0;var i=0;return i=e[r+4>>2]|0,i|0&&!(De(i,t)|0)||((y[r+92>>0]|0)==1?r=bR(e[r+88>>2]|0,t)|0:r=0),r|0}function wn0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,0}function dn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(w=r+92|0,e[w>>2]=j0((e[r+100>>2]<<2)+4|0)|0,a=j0((e[r+104>>2]<<2)+4|0)|0,e[r+96>>2]=a,c=r+32|0,A=e[r+84>>2]|0;s=e[A>>2]|0,!!s;){for(r=$[s+82>>1]|0,t=+u[s+72>>3],r<<16>>16==1?n=~~t:(n=~~((t-+(N0((y[c>>0]|0)+-1|0,(r&65535)+-1|0)|0))/+(r&65535)),n=(n|0)>1?n:1),o=$[s+80>>1]|0,t=+u[s+64>>3],o<<16>>16==1?l=~~t:(l=~~((t-+(N0((y[c>>0]|0)+-1|0,(o&65535)+-1|0)|0))/+(o&65535)),l=(l|0)>1?l:1),p=M0[s+86>>1]|0,i=(r&65535)+p|0,r=p;!((r|0)>=(i|0));)p=(e[w>>2]|0)+(r<<2)|0,v=e[p>>2]|0,e[p>>2]=(v|0)>(n|0)?v:n,r=r+1|0;for(r=M0[s+84>>1]|0,i=(o&65535)+r|0;!((r|0)>=(i|0));)v=a+(r<<2)|0,p=e[v>>2]|0,e[v>>2]=(p|0)>(l|0)?p:l,r=r+1|0;A=A+4|0}}function Ka(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=i,r>>>0<21?r=e[55840+(r<<2)>>2]|0:(e[t>>2]=r,Ke(194959,137395,t)|0,r=194959),g=i,r|0}function pn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(A=r+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>>2]|0,o?r=Oe(o,(e[r+184>>2]<<2)+8|0)|0:r=_0((e[r+184>>2]<<2)+8|0)|0,n=e[t>>2]|0,e[n+180>>2]=r,n=n+184|0,o=e[n>>2]|0,e[n>>2]=o+1,e[r+(o<<2)>>2]=l,t=e[t>>2]|0,e[(e[t+180>>2]|0)+(e[t+184>>2]<<2)>>2]=0,t=i+16|0,r=e[t>>2]|0,o=e[r+172>>2]|0,o?r=Oe(o,(e[r+176>>2]<<2)+8|0)|0:r=_0((e[r+176>>2]<<2)+8|0)|0,n=e[t>>2]|0,e[n+172>>2]=r,n=n+176|0,i=e[n>>2]|0,e[n>>2]=i+1,e[r+(i<<2)>>2]=l,l=e[t>>2]|0,e[(e[l+172>>2]|0)+(e[l+176>>2]<<2)>>2]=0)}function rG(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(t=e[(e[r+16>>2]|0)+192>>2]|0;n=t+16|0,l=e[(e[n>>2]|0)+164>>2]|0,!!l;){if(rr(r,t,l,0,0)|0){t=l;continue}o=rr(r,t,l,0,1)|0,$e(o,137460,176,1)|0,$[(e[o+16>>2]|0)+170>>1]=0,t=e[n>>2]|0,i=e[t+180>>2]|0,i?t=Oe(i,(e[t+184>>2]<<2)+8|0)|0:t=_0((e[t+184>>2]<<2)+8|0)|0,s=e[n>>2]|0,e[s+180>>2]=t,s=s+184|0,i=e[s>>2]|0,e[s>>2]=i+1,e[t+(i<<2)>>2]=o,n=e[n>>2]|0,e[(e[n+180>>2]|0)+(e[n+184>>2]<<2)>>2]=0,n=l+16|0,t=e[n>>2]|0,i=e[t+172>>2]|0,i?t=Oe(i,(e[t+176>>2]<<2)+8|0)|0:t=_0((e[t+176>>2]<<2)+8|0)|0,i=e[n>>2]|0,e[i+172>>2]=t,i=i+176|0,s=e[i>>2]|0,e[i>>2]=s+1,e[t+(s<<2)>>2]=o,t=e[n>>2]|0,e[(e[t+172>>2]|0)+(e[t+176>>2]<<2)>>2]=0,t=l}}function kn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=r+92|0,n=0,o=0,t=e[(e[(e[t+16>>2]|0)+192>>2]|0)+16>>2]|0;t=e[t+164>>2]|0,!!t;)t=e[t+16>>2]|0,s=t+232|0,e[(e[l>>2]|0)+(o<<2)>>2]=(e[s>>2]|0)-n,n=e[s>>2]|0,o=o+1|0;for(r=r+96|0,n=0,o=0,t=e[(e[(e[i+16>>2]|0)+192>>2]|0)+16>>2]|0;t=e[t+164>>2]|0,!!t;)t=e[t+16>>2]|0,s=t+232|0,e[(e[r>>2]|0)+(o<<2)>>2]=(e[s>>2]|0)-n,n=e[s>>2]|0,o=o+1|0}function vn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+16|0,o=l+4|0,t=l,e[t>>2]=e[4647],i=e[r+100>>2]|0,(i|0)!=1&&(n=r+104|0,(e[n>>2]|0)!=1)?(e[r+92>>2]=j0((i<<2)+4|0)|0,e[r+96>>2]=j0((e[n>>2]<<2)+4|0)|0,y[o>>0]=y[t>>0]|0,y[o+1>>0]=y[t+1>>0]|0,y[o+2>>0]=y[t+2>>0]|0,y[o+3>>0]=y[t+3>>0]|0,n=w1(137473,o,0)|0,y[o>>0]=y[t>>0]|0,y[o+1>>0]=y[t+1>>0]|0,y[o+2>>0]=y[t+2>>0]|0,y[o+3>>0]=y[t+3>>0]|0,o=w1(137478,o,0)|0,$e(n,137483,280,1)|0,$e(o,137483,280,1)|0,pn0(r,n,o),Bf(n,2,2147483647)|0,Bf(o,2,2147483647)|0,kn0(r,n,o),mn0(n,o)):dn0(r),g=l}function mn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=(e[t+16>>2]|0)+192|0;i=e[i>>2]|0,!!i;)o=i+16|0,i=e[o>>2]|0,n=e[i+172>>2]|0,n&&(r0(n),i=e[o>>2]|0),n=e[i+180>>2]|0,n&&(r0(n),i=e[o>>2]|0),i=i+164|0;Di(r)|0,Di(t)|0}function gn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;switch(p=g,g=g+272|0,c=p+104|0,w=p+136|0,s=p+72|0,A=p,o=p+144|0,e[A+48>>2]=r,qo(r)|0){case 0:{i=e[r+60>>2]|0;break}case 1:{i=We(r)|0;break}case 2:{i=We(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0;break}default:}return l=A+52|0,e[l>>2]=i,a=e[i+60>>2]|0,u[A+32>>3]=+u[t+16>>3],e[A+16>>2]=e[t+4>>2],e[A+20>>2]=e[t+8>>2],e[A+40>>2]=0,n=R10(e[t>>2]|0,w,A)|0,n?(i=n+4|0,(y[i>>0]|0)==1?(!(e[(e[n>>2]|0)+24>>2]|0)&&tG(r)|0&&(l=C2(tG(r)|0)|0,e[(e[n>>2]|0)+24>>2]=l),a=iG(a,e[n>>2]|0,0,A)|0,e[w>>2]=e[w>>2]|a,a=e[n>>2]|0,m=+u[a+64>>3]*.5,v=+u[a+72>>3]*.5,nG(s,-m,-v,m,v),a=e[n>>2]|0,e[c>>2]=e[s>>2],e[c+4>>2]=e[s+4>>2],e[c+8>>2]=e[s+8>>2],e[c+12>>2]=e[s+12>>2],e[c+16>>2]=e[s+16>>2],e[c+20>>2]=e[s+20>>2],e[c+24>>2]=e[s+24>>2],e[c+28>>2]=e[s+28>>2],oG(a,c,15)):(lG(e[(e[a+16>>2]|0)+144>>2]|0,e[n>>2]|0,A),c=e[n>>2]|0,v=+u[c+24>>3]*.5,m=+u[c+32>>3]*.5,nG(s,-v,-m,v,m),c=(e[n>>2]|0)+8|0,e[c>>2]=e[s>>2],e[c+4>>2]=e[s+4>>2],e[c+8>>2]=e[s+8>>2],e[c+12>>2]=e[s+12>>2],e[c+16>>2]=e[s+16>>2],e[c+20>>2]=e[s+20>>2],e[c+24>>2]=e[s+24>>2],e[c+28>>2]=e[s+28>>2]),u[t+24>>3]=+u[s+16>>3]-+u[s>>3],u[t+32>>3]=+u[s+24>>3]-+u[s+8>>3],e[t+72>>2]=n,(y[i>>0]|0)==1&&(r0(e[t>>2]|0),e[t>>2]=C2(141611)|0),i=e[w>>2]|0):(Ot(c,128,o),y[t+82>>0]=0,i=C2(yn0(r,c)|0)|0,e[t>>2]=i,(e[t+12>>2]|0)==1?i=Ph(i)|0:i=WC(i,e[l>>2]|0)|0,r0(e[t>>2]|0),e[t>>2]=i,CN(e[(e[a+16>>2]|0)+144>>2]|0,t),Vt(c),i=e[w>>2]|0),g=p,i|0}function yn0(r,t){r=r|0,t=t|0;var i=0;e:do switch(qo(r)|0){case 0:{t2(t,te(r)|0)|0;break}case 1:{t2(t,te(r)|0)|0;break}case 2:if(t2(t,te(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0)|0,i=r+-48|0,t2(t,te(e[((e[r>>2]&3|0)==2?r:i)+40>>2]|0)|0)|0,d1(We(e[((e[r>>2]&3|0)==2?r:i)+40>>2]|0)|0)|0){t2(t,137738)|0;break e}else{t2(t,141747)|0;break e}default:}while(0);return i=t+4|0,r=e[i>>2]|0,r>>>0>=(e[t+8>>2]|0)>>>0&&(Xe(t,1)|0,r=e[i>>2]|0),y[r>>0]=0,t=e[t>>2]|0,e[i>>2]=t,t|0}function tG(r){r=r|0;var t=0,i=0;t=he(r,137729)|0,t|0&&y[t>>0]|0||(i=3);do if((i|0)==3){if(t=he(r,140823)|0,t|0&&y[t>>0]|0)break;t=0}while(0);return t|0}function iG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(B=g,g=g+16|0,m=B+8|0,v=B,E=t+108|0,o=e[E>>2]|0,o|0&&JR(n,o,186576),e[t+80>>2]=i,o=In0(r,t,n)|0,w=t+36|0,r=$[w>>1]|0,r&128||(y[t+32>>0]=2),i=t+33|0,r&32||(y[i>>0]=1),vn0(t),s=e[t+104>>2]|0,a=y[t+32>>0]|0,r=N0(s+1|0,a)|0,A=s0[i>>0]<<1,c=e[t+100>>2]|0,a=N0(c+1|0,a)|0,l=t+96|0,r=A+r|0,i=0;!((i|0)>=(s|0));)r=(e[(e[l>>2]|0)+(i<<2)>>2]|0)+r|0,i=i+1|0;for(s=t+92|0,i=a+A|0,l=0;!((l|0)>=(c|0));)i=(e[(e[s>>2]|0)+(l<<2)>>2]|0)+i|0,l=l+1|0;s=t+38|0;do if($[w>>1]&1){if(w=$[s>>1]|0,l=w&65535,w<<16>>16&&(p=$[t+40>>1]|0,p<<16>>16)){if(!((r|0)>(l|0)|(i|0)>(p&65535|0))){i=0,r=0;break}$0(0,137529,v)|0,o=1,i=0,r=0;break}$0(0,137563,m)|0,o=1}while(0);return m=M0[s>>1]|0,u[t+64>>3]=+(((r|0)>(m|0)?r:m)|0),m=M0[t+40>>1]|0,u[t+72>>3]=+(((i|0)>(m|0)?i:m)|0),e[E>>2]|0&&qR(n,186576),g=B,o|0}function nG(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o,u[r>>3]=t,u[r+8>>3]=i,u[r+16>>3]=n,u[r+24>>3]=o}function oG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0;F=g,g=g+64|0,U=F+32|0,J=F,D=e[r+84>>2]|0,l=e[r+80>>2]|0,l|0&&(n=e[l+24>>2]|0,n|0)&&(o=r+24|0,(e[o>>2]|0)==0)&&(e[o>>2]=C2(n)|0),P=r+48|0,n=t+16|0,A=+u[n>>3],s=+u[t>>3],l=~~(A-s-+(~~+u[r+64>>3]|0)),(l|0)<=-1&&H0(137496,137342,1761,137506),a=t+24|0,_=+u[a>>3],c=t+8|0,w=+u[c>>3],p=+(~~+u[r+72>>3]|0),v=~~(_-w-p),(v|0)<=-1&&H0(137519,137342,1764,137506),m=$[r+36>>1]|0,o=m&65535;e:do if(o&1){r:do if((l|0)>0)switch(o&6){case 4:{u[n>>3]=s+p;break r}case 2:{q=+(l|0),u[n>>3]=A+q,s=s+q,u[t>>3]=s;break r}default:{q=+(l>>>1|0),s=s+q,u[t>>3]=s,u[n>>3]=A-q;break r}}while(0);if((v|0)>0)switch(m&24){case 16:{_=w+p,u[a>>3]=_,v=0,n=0;break e}case 8:{q=+(v|0),_=_+q,u[a>>3]=_,u[c>>3]=w+q,v=0,n=0;break e}default:{q=+(v>>>1|0),u[c>>3]=w+q,_=_-q,u[a>>3]=_,v=0,n=0;break e}}else v=0,n=0}else n=l;while(0);for(A=+(s0[r+33>>0]|0),N=r+32|0,E=y[N>>0]|0,w=+(E<<24>>24),T=r+104|0,l=e[T>>2]|0,m=(n|0)/(l|0)|0,a=n-(N0(m,l)|0)|0,a=~~(((a|0)>-1?.5:-.5)+ +(a|0)),W=r+96|0,c=E<<24>>24,n=~~(s+A+w),o=0;!((o|0)>(l|0));)G=(e[W>>2]|0)+(o<<2)|0,l=e[G>>2]|0,e[G>>2]=n,n=n+m+((o|0)<(a|0)&1)+l+c|0,o=o+1|0,l=e[T>>2]|0;for(G=r+100|0,l=e[G>>2]|0,m=(v|0)/(l|0)|0,c=v-(N0(m,l)|0)|0,c=~~(((c|0)>-1?.5:-.5)+ +(c|0)),L=r+92|0,a=E<<24>>24,n=~~(_-A-w),o=0;!((o|0)>(l|0));)z=(e[L>>2]|0)+(o<<2)|0,l=e[z>>2]|0,e[z>>2]=n,n=n-m+(((o|0)<(c|0))<<31>>31)-l-a|0,o=o+1|0,l=e[G>>2]|0;for(E=(i|0)==0,B=J+16|0,x=J+24|0,z=J+8|0,n=D;a=e[n>>2]|0,!!a;)l=$[a+84>>1]|0,E?(o=0,c=$[a+80>>1]|0,v=$[a+86>>1]|0,m=$[a+82>>1]|0):(o=l<<16>>16?0:8,v=$[a+86>>1]|0,o=v<<16>>16?o:o|4,c=$[a+80>>1]|0,m=$[a+82>>1]|0,o=(((c&65535)+(l&65535)|0)==(e[T>>2]|0)?o|2:o)|((m&65535)+(v&65535)|0)==(e[G>>2]|0)),t0=e[W>>2]|0,l=l&65535,u[J>>3]=+(e[t0+(l<<2)>>2]|0),D=y[N>>0]|0,u[B>>3]=+((e[t0+((c&65535)+l<<2)>>2]|0)-D|0),c=e[L>>2]|0,u[x>>3]=+(e[c+((v&65535)<<2)>>2]|0),u[z>>3]=+((e[c+((m&65535)+(v&65535)<<2)>>2]|0)+D|0),e[U>>2]=e[J>>2],e[U+4>>2]=e[J+4>>2],e[U+8>>2]=e[J+8>>2],e[U+12>>2]=e[J+12>>2],e[U+16>>2]=e[J+16>>2],e[U+20>>2]=e[J+20>>2],e[U+24>>2]=e[J+24>>2],e[U+28>>2]=e[J+28>>2],Cn0(a,U,o&i),n=n+4|0;y[r+35>>0]=i,e[P>>2]=e[t>>2],e[P+4>>2]=e[t+4>>2],e[P+8>>2]=e[t+8>>2],e[P+12>>2]=e[t+12>>2],e[P+16>>2]=e[t+16>>2],e[P+20>>2]=e[t+20>>2],e[P+24>>2]=e[t+24>>2],e[P+28>>2]=e[t+28>>2],g=F}function lG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0;for(B0=g,g=g+112|0,F=B0+48|0,q=B0+16|0,t0=B0,e[q>>2]=0,e[q+4>>2]=0,e[q+8>>2]=0,e[q+12>>2]=0,e[q+16>>2]=0,e[q+20>>2]=0,e[q+24>>2]=0,e[q+28>>2]=0,Y=t+4|0,H=i+16|0,f0=i+32|0,k0=q+16|0,v=$[Y>>1]|0,a=v<<16>>16,n=0,l=-1,A=0;;){if((A|0)>=(a|0)){n=1;break}if(o=e[t>>2]|0,($[o+(A*24|0)+4>>1]|0)>1){n=0;break}if(o=e[(e[o+(A*24|0)>>2]|0)+4>>2]|0,!o)s=+u[f0>>3],u[k0>>3]=s,o=H;else{if(e[o+24>>2]&127|0){n=0;break}s=+u[(+u[o+16>>3]>0?o:H)+16>>3],u[k0>>3]=s,o=e[o>>2]|0?o:H}if(o=e[o>>2]|0,e[q>>2]=o,l!=-1){if(s!=l){n=0;break}}else l=s;if(n){if(ge(o,n)|0){n=0;break}}else n=o;A=A+1|0}for(y[t+6>>0]=n,P=i+48|0,U=i+20|0,J=q+4|0,z=i+40|0,_=q+24|0,L=r+144|0,G=F+4|0,x=t0+8|0,W=F+16|0,N=F+24|0,T=F+8|0,D=F+12|0,i=(n|0)==0,l=0,m=0,E=0,B=0,a=0,n=v;!((a|0)>=(n<<16>>16|0));){for(s=0,p=0,A=0,w=0,l=0,o=e[t>>2]|0;!((A|0)>=($[o+(a*24|0)+4>>1]|0));)e[F>>2]=st(e[(e[o+(a*24|0)>>2]|0)+(A*56|0)>>2]|0,e[P>>2]|0)|0,o=(e[t>>2]|0)+(a*24|0)|0,n=e[(e[o>>2]|0)+(A*56|0)+4>>2]|0,n?(n=e[n+24>>2]&127,n||(n=e[z>>2]&127),e[_>>2]=e[_>>2]&-128|n,v=e[(e[o>>2]|0)+(A*56|0)+4>>2]|0,u[k0>>3]=+u[(+u[v+16>>3]>0?v:H)+16>>3],e[q>>2]=e[(e[v>>2]|0?v:H)>>2],e[J>>2]=e[(e[v+4>>2]|0?v:H)+4>>2]):(u[k0>>3]=+u[f0>>3],e[q>>2]=e[H>>2],e[J>>2]=e[U>>2],e[_>>2]=e[_>>2]&-128|e[z>>2]&127),o=e[L>>2]|0,e[G>>2]=oe[e[o>>2]&63](o,q,1)|0,xC(t0,r,F),J0=+u[t0>>3],c=+u[x>>3],r0(e[(e[(e[t>>2]|0)+(a*24|0)>>2]|0)+(A*56|0)>>2]|0),o=e[t>>2]|0,v=e[o+(a*24|0)>>2]|0,e[v+(A*56|0)>>2]=e[F>>2],u[v+(A*56|0)+32>>3]=J0,u[v+(A*56|0)+16>>3]=+u[W>>3],u[v+(A*56|0)+24>>3]=+u[N>>3],e[v+(A*56|0)+4>>2]=e[G>>2],e[v+(A*56|0)+8>>2]=e[T>>2],e[v+(A*56|0)+12>>2]=e[D>>2],D0=+u[k0>>3],V0=+u[N>>3],s=V0>s?V0:s,p=J0+p,A=A+1|0,w=D0>w?D0:w,l=c>l?c:l;u[o+(a*24|0)+8>>3]=p,n=(a|0)==0;do if(i)if(n){c=w,s=w-s,n=o;break}else{c=w,s=E-B+w-s,n=o+(a*24|0)|0;break}else c=l,s=n?w:l,n=o+(a*24|0)|0;while(0);u[n+16>>3]=s,m=p>m?p:m,E=c+E,B=+u[o+(a*24|0)+16>>3]+B,a=a+1|0,n=$[Y>>1]|0}u[t+24>>3]=m,u[t+32>>3]=n<<16>>16==1?l:E,g=B0}function Cn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;_=g,g=g+64|0,B=_+32|0,z=_,o=r+24|0,!(e[o>>2]|0)&&(n=e[(e[r+96>>2]|0)+24>>2]|0,n|0)&&(e[o>>2]=C2(n)|0),m=r+36|0,x=$[m>>1]|0,n=x&65535;e:do if(n&1){l=+u[r+64>>3],w=+u[r+72>>3],o=t+16|0,s=+u[o>>3],a=+u[t>>3],A=s-a-l;r:do if(A>0)switch(n&6){case 4:{s=a+l,u[o>>3]=s,l=a;break r}case 2:{s=A+s,u[o>>3]=s,l=a+A,u[t>>3]=l;break r}default:{c=A*.5,l=c+a,u[t>>3]=l,s=s-c,u[o>>3]=s;break r}}else l=a;while(0);if(n=t+24|0,c=+u[n>>3],o=t+8|0,A=+u[o>>3],a=c-A-w,a>0)switch(x&24){case 16:{a=A+w,u[n>>3]=a;break e}case 8:{w=a+c,u[n>>3]=w,A=A+a,u[o>>3]=A,a=w;break e}default:{a=a*.5,A=a+A,u[o>>3]=A,a=c-a,u[n>>3]=a;break e}}else a=c}else l=+u[t>>3],A=+u[t+8>>3],s=+u[t+16>>3],a=+u[t+24>>3];while(0);switch(v=r+48|0,e[v>>2]=e[t>>2],e[v+4>>2]=e[t+4>>2],e[v+8>>2]=e[t+8>>2],e[v+12>>2]=e[t+12>>2],e[v+16>>2]=e[t+16>>2],e[v+20>>2]=e[t+20>>2],e[v+24>>2]=e[t+24>>2],e[v+28>>2]=e[t+28>>2],y[r+35>>0]=i,G=+(s0[r+33>>0]|0),L=+(s0[r+34>>0]|0),c=l+G+L,u[z>>3]=c,w=A+G+L,v=z+8|0,u[v>>3]=w,A=s-G-L,t=z+16|0,u[t>>3]=A,a=a-G-L,p=z+24|0,u[p>>3]=a,o=r+88|0,y[r+92>>0]|0){case 1:{x=e[o>>2]|0,e[B>>2]=e[z>>2],e[B+4>>2]=e[z+4>>2],e[B+8>>2]=e[z+8>>2],e[B+12>>2]=e[z+12>>2],e[B+16>>2]=e[z+16>>2],e[B+20>>2]=e[z+20>>2],e[B+24>>2]=e[z+24>>2],e[B+28>>2]=e[z+28>>2],oG(x,B,i);break}case 3:{n=e[o>>2]|0,l=+u[n+24>>3],s=A-c-+u[n+16>>3];e:do if(s>0)switch(x&6){case 4:{u[t>>3]=A-s;break e}case 2:{u[z>>3]=s+c;break e}default:break e}while(0);l=a-w-l;e:do if(l>0)switch(x&24){case 16:{u[p>>3]=a-l;break e}case 8:{u[v>>3]=l+w;break e}default:break e}while(0);e[B>>2]=e[z>>2],e[B+4>>2]=e[z+4>>2],e[B+8>>2]=e[z+8>>2],e[B+12>>2]=e[z+12>>2],e[B+16>>2]=e[z+16>>2],e[B+20>>2]=e[z+20>>2],e[B+24>>2]=e[z+24>>2],e[B+28>>2]=e[z+28>>2],En0(n,B);break}default:{n=e[o>>2]|0,l=+u[n+32>>3],s=A-c-+u[n+24>>3];e:do if(s>0&&(E=x&6,E<<16>>16!=6))switch(E&7){case 4:{u[t>>3]=A-s;break e}case 2:{u[z>>3]=s+c;break e}default:{G=s*.5,u[z>>3]=G+c,u[t>>3]=A-G;break e}}while(0);l=a-w-l;e:do if(l>0)switch(x&24){case 16:{u[p>>3]=a-l;break e}case 8:{u[v>>3]=l+w;break e}default:{G=l*.5,u[v>>3]=G+w,u[p>>3]=a-G;break e}}while(0);x=n+8|0,e[x>>2]=e[z>>2],e[x+4>>2]=e[z+4>>2],e[x+8>>2]=e[z+8>>2],e[x+12>>2]=e[z+12>>2],e[x+16>>2]=e[z+16>>2],e[x+20>>2]=e[z+20>>2],e[x+24>>2]=e[z+24>>2],e[x+28>>2]=e[z+28>>2],z=$[m>>1]&768,Bn0(e[o>>2]|0,(z&1023)==512?108:(z&1023)==256?114:110)}}g=_}function En0(r,t){r=r|0,t=t|0,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2],e[r+16>>2]=e[t+16>>2],e[r+20>>2]=e[t+20>>2],e[r+24>>2]=e[t+24>>2],e[r+28>>2]=e[t+28>>2]}function Bn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(n=$[r+4>>1]|0,i=0;!((i|0)>=(n|0));)o=(e[r>>2]|0)+(i*24|0)+6|0,y[o>>0]|0||(y[o>>0]=t),i=i+1|0}function In0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(A=t+84|0,B=e[A>>2]|0,x=yc()|0,z=sG()|0,o=0,n=0,s=Mt(B)|0;s;){for(l=Mt(e[s+8>>2]|0)|0;l;)l=e[l>>2]|0,o=o+1|0;n=n+1|0,y[s+12>>0]|0&&Gn0(z,n),s=e[s>>2]|0}for(n=j0((o<<2)+4|0)|0,e[A>>2]=n,o=0,l=0,s=0,v=0,m=Mt(B)|0;m;){for(E=v&65535,p=0,w=Mt(e[m+8>>2]|0)|0;w;)c=e[w+8>>2]|0,e[n>>2]=c,s=xn0(r,c,t,i)|0|s,A=Sn0(x,v,p,c)|0,$[c+86>>1]=E,$[c+84>>1]=A,A=A+(M0[c+80>>1]|0)|0,a=v+(M0[c+82>>1]|0)|0,Zn0(z,a)|0&&(p=c+100|0,y[p>>0]=y[p>>0]|2),p=A,n=n+4|0,w=e[w>>2]|0,o=(A|0)>(o|0)?A:o,l=(a|0)>(l|0)?a:l;v=v+1|0,m=e[m>>2]|0}return e[t+100>>2]=l,e[t+104>>2]=o,Fr(B)|0,Fr(z)|0,Cc(x),s|0}function xn0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;switch(m=g,g=g+16|0,v=m+8|0,p=m,e[t+96>>2]=i,c=t+36|0,A=$[c>>1]|0,A&64||($[i+36>>1]&64?s=y[i+34>>0]|0:s=2,y[t+34>>0]=s),A&32||(s=y[i+88>>0]|0,s<<24>>24<=-1&&($[i+36>>1]&32?s=y[i+33>>0]|0:s=1),y[t+33>>0]=s),s=t+88|0,a=t+92|0,y[a>>0]|0){case 1:{A=iG(r,e[s>>2]|0,t,n)|0,i=e[s>>2]|0,s=A,A=i+64|0,i=i+72|0;break}case 3:{A=_n0(e[s>>2]|0,n)|0,i=e[s>>2]|0,s=A,A=i+16|0,i=i+24|0;break}default:lG(e[(e[r+16>>2]|0)+144>>2]|0,e[s>>2]|0,n),i=e[s>>2]|0,s=0,A=i+24|0,i=i+32|0}o=+((s0[t+33>>0]|0)+(s0[t+34>>0]|0)<<1|0),l=+u[A>>3]+o,o=+u[i>>3]+o,i=t+38|0;do if($[c>>1]&1){if(A=$[i>>1]|0,A<<16>>16&&(w=$[t+40>>1]|0,w<<16>>16)){if(!(l>+(A&65535)|o>+(w&65535))){l=0,o=0;break}if((y[a>>0]|0)==3){l=0,o=0;break}$0(0,137614,p)|0,s=1,l=0,o=0;break}$0(0,137647,v)|0,s=1}while(0);return E=+(M0[i>>1]|0),u[t+64>>3]=l>E?l:E,l=+(M0[t+40>>1]|0),u[t+72>>3]=o>l?o:l,g=m,s|0}function Sn0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;a=n+80|0,A=(M0[a>>1]|0)+-1|0,s=0;e:for(;;)for(o=i;;){if(s)break e;for(l=A+o|0;;){if((l|0)<(o|0)){i=o,s=1;continue e}if(PN(r,l,t)|0)break;l=l+-1|0}o=l+1|0}for(s=n+82|0,o=i;(o|0)<(i+(M0[a>>1]|0)|0);){l=t;for(;!((l|0)>=((M0[s>>1]|0)+t|0));)GA(r,o,l),l=l+1|0;o=o+1|0}return i|0}function _n0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;return a=g,g=g+16|0,s=a,l=a+8|0,t=t+52|0,o=r+32|0,e7(l,e[t>>2]|0,e[o>>2]|0),A=e[l>>2]|0,l=e[l+4>>2]|0,(l&A|0)==-1?(e[s>>2]=e[o>>2],$0(1,137697,s)|0,t=1,n=0,i=0):(y[(e[(e[t>>2]|0)+16>>2]|0)+114>>0]=1,t=0,n=+(l|0),i=+(A|0)),e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0,u[r+16>>3]=i,u[r+24>>3]=n,g=a,t|0}function sG(){return at(55924,e[4581]|0)|0}function zn0(r,t,i){return r=r|0,t=t|0,i=i|0,i=j0(12)|0,e[i>>2]=e[t>>2],i|0}function Ln0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function Rn0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=e[t>>2]|0,n=e[i>>2]|0,((t|0)>(n|0)?1:((t|0)<(n|0))<<31>>31)|0}function Gn0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,oe[e[r>>2]&63](r,n,1)|0,g=i}function Zn0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[n>>2]=t,t=(oe[e[r>>2]&63](r,n,512)|0)!=0&1,g=i,t|0}function Wn0(r){r=r|0;var t=0;e[47375]|0||(t=j0((r<<2)+4|0)|0,e[47375]=t,e[t>>2]=189504,e[47386]=r),e[47387]=0}function Dn0(){r0(e[47375]|0),e[47375]=0,e[47387]=0}function Mn0(){e[47387]=0}function Oy(){var r=0,t=0,i=0;for(t=e[47387]|0,i=e[47375]|0,r=1;;){if((r|0)>(t|0)){r=5;break}if((e[(e[i+(r<<2)>>2]|0)+4>>2]|0)==(r|0))r=r+1|0;else{r=4;break}}if((r|0)==4)H0(138394,137741,59,137747);else if((r|0)==5)return}function AG(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(o=e[47375]|0,l=e[o+(r<<2)>>2]|0,s=e[l>>2]|0;t=(r|0)/2|0,i=e[o+(t<<2)>>2]|0,n=o+(r<<2)|0,!((e[i>>2]|0)>=(s|0));)e[n>>2]=i,e[i+4>>2]=r,r=t;e[n>>2]=l,e[l+4>>2]=r}function uG(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=e[47387]|0,(t|0)==(e[47386]|0)?($0(1,137755,i)|0,r=1):(t=t+1|0,e[47387]=t,e[(e[47375]|0)+(t<<2)>>2]=r,AG(t),Oy(),r=0),g=i,r|0}function jn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(n=e[47375]|0,o=e[n+(r<<2)>>2]|0,l=e[o>>2]|0,s=e[47387]|0,A=(s|0)/2|0;!((r|0)>(A|0)||(i=r<<1,t=e[n+(i<<2)>>2]|0,(i|0)<(s|0)&&(w=i|1,a=e[n+(w<<2)>>2]|0,c=(e[t>>2]|0)<(e[a>>2]|0),i=c?w:i,t=c?a:t),(l|0)>=(e[t>>2]|0)));)e[n+(r<<2)>>2]=t,e[t+4>>2]=r,r=i;e[n+(r<<2)>>2]=o,e[o+4>>2]=r}function Nn0(){var r=0,t=0,i=0,n=0;return t=e[47387]|0,t?(n=e[47375]|0,i=n+4|0,r=e[i>>2]|0,e[i>>2]=e[n+(t<<2)>>2],t=t+-1|0,e[47387]=t,t|0&&jn0(1),Oy()):r=0,r|0}function Qn0(r,t){r=r|0,t=t|0,e[r>>2]=t,AG(e[r+4>>2]|0),Oy()}function Tn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(c=r+16|0,s=e[c>>2]|0,s=(y[s+((e[i+12>>2]|0)*40|0)+36>>0]|0)!=(y[s+((e[i+16>>2]|0)*40|0)+36>>0]|0),A=~~((+u[t+64>>3]+-3-+u[t+48>>3])*.5),a=~~((+u[t+56>>3]+-3-+u[t+40>>3])*.5),o=(A|0)<(a|0)?A:a,w=t+4|0,n=0;;){if(r=e[w>>2]|0,(n|0)>=(r|0)){o=n;break}if(l=e[t+8+(n<<2)>>2]|0,p=e[c>>2]|0,(y[p+((e[l+12>>2]|0)*40|0)+36>>0]|0)==(y[p+((e[l+16>>2]|0)*40|0)+36>>0]|0)){o=n;break}fG(l,o),n=n+1|0}for(;!((o|0)>=(r|0));)n=e[t+8+(o<<2)>>2]|0,s|(n|0)==(i|0)&&(fG(n,y[(e[c>>2]|0)+((e[n+12>>2]|0)*40|0)+36>>0]|0?A:a),r=e[w>>2]|0),o=o+1|0}function fG(r,t){r=r|0,t=t|0;var i=0,n=0;i=r+8|0,n=e[i>>2]|0,e[i>>2]=n+1,(n|0)>=(t|0)&&(e[i>>2]=0,u[r>>3]=+u[r>>3]+16384)}function Fn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;for(G=g,g=g+112|0,z=G+64|0,x=G+96|0,c=G+32|0,_=G,L=j0(28)|0,t=v2(r)|0,B=L+4|0,e[B>>2]=t,t=j0(t*72|0)|0,E=L+12|0,e[E>>2]=t,n=_+8|0,u[n>>3]=17976931348623157e292,u[_>>3]=17976931348623157e292,o=_+24|0,u[o>>3]=-17976931348623157e292,l=_+16|0,u[l>>3]=-17976931348623157e292,s=c+16|0,A=c+8|0,a=c+24|0,i=U0(r)|0,w=17976931348623157e292,p=17976931348623157e292,v=-17976931348623157e292,m=-17976931348623157e292;i;)P=i+16|0,U=e[P>>2]|0,N=(+u[U+96>>3]+ +u[U+88>>3])*.5,N=N<1?1:N,W=+u[U+80>>3]*.5,W=W<1?1:W,J=+u[U+16>>3],D=J-N,u[c>>3]=D,N=J+N,u[s>>3]=N,J=+u[U+24>>3],T=J-W,u[A>>3]=T,W=J+W,u[a>>3]=W,D=+u[(w>3],u[_>>3]=D,T=+u[(p>3],u[n>>3]=T,N=+u[(v>N?_:c)+16>>3],u[l>>3]=N,W=+u[(m>W?_:c)+24>>3],u[o>>3]=W,U=t+40|0,e[U>>2]=e[c>>2],e[U+4>>2]=e[c+4>>2],e[U+8>>2]=e[c+8>>2],e[U+12>>2]=e[c+12>>2],e[U+16>>2]=e[c+16>>2],e[U+20>>2]=e[c+20>>2],e[U+24>>2]=e[c+24>>2],e[U+28>>2]=e[c+28>>2],e[t>>2]=e[t>>2]|1,e[(e[P>>2]|0)+112>>2]=t,t=t+72|0,i=X0(r,i)|0,w=D,p=T,v=N,m=W;for(u[_>>3]=w+-36,u[n>>3]=p+-36,u[l>>3]=v+36,u[o>>3]=m+36,U=e[E>>2]|0,o=e[B>>2]|0,e[z>>2]=e[_>>2],e[z+4>>2]=e[_+4>>2],e[z+8>>2]=e[_+8>>2],e[z+12>>2]=e[_+12>>2],e[z+16>>2]=e[_+16>>2],e[z+20>>2]=e[_+20>>2],e[z+24>>2]=e[_+24>>2],e[z+28>>2]=e[_+28>>2],o=qn0(U,o,x,z)|0,e[47323]&1|0&&(E=e[E>>2]|0,P=e[B>>2]|0,U=e[x>>2]|0,e[z>>2]=e[_>>2],e[z+4>>2]=e[_+4>>2],e[z+8>>2]=e[_+8>>2],e[z+12>>2]=e[_+12>>2],e[z+16>>2]=e[_+16>>2],e[z+20>>2]=e[_+20>>2],e[z+24>>2]=e[_+24>>2],e[z+28>>2]=e[_+28>>2],Pn0(E,P,z,o,U)),n=L+8|0,e[n>>2]=j0((e[x>>2]|0)*72|0)|0,e[L>>2]=e[x>>2],i=e[x>>2]|0,t=0;!((t|0)>=(i|0));)U=(e[n>>2]|0)+(t*72|0)+40|0,P=o+(t<<5)|0,e[U>>2]=e[P>>2],e[U+4>>2]=e[P+4>>2],e[U+8>>2]=e[P+8>>2],e[U+12>>2]=e[P+12>>2],e[U+16>>2]=e[P+16>>2],e[U+20>>2]=e[P+20>>2],e[U+24>>2]=e[P+24>>2],e[U+28>>2]=e[P+28>>2],t=t+1|0;return r0(o),e[z>>2]=e[_>>2],e[z+4>>2]=e[_+4>>2],e[z+8>>2]=e[_+8>>2],e[z+12>>2]=e[_+12>>2],e[z+16>>2]=e[_+16>>2],e[z+20>>2]=e[_+20>>2],e[z+24>>2]=e[_+24>>2],e[z+28>>2]=e[_+28>>2],e[L+16>>2]=Yn0(L,z)|0,g=G,L|0}function Pn0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for(m=g,g=g+128|0,v=m+96|0,p=m+64|0,A=m+32|0,E=m+16|0,B=m,c=+u[i+16>>3],w=+u[i>>3],a=+u[i+24>>3],l=+u[i+8>>3],s=e[15712]|0,Bi(137770,s)|0,e[B>>2]=10,e[B+4>>2]=10,e[B+8>>2]=~~(c+10-w),e[B+12>>2]=~~(a+10-l),A2(s,138200,B)|0,u[E>>3]=10-w,u[E+8>>3]=10-l,A2(s,138248,E)|0,Bi(138265,s)|0,i=0;!((i|0)>=(t|0));)_=+u[r+(i*72|0)+48>>3],z=+u[r+(i*72|0)+56>>3],x=+u[r+(i*72|0)+64>>3],u[A>>3]=+u[r+(i*72|0)+40>>3],u[A+8>>3]=_,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w*72|0)+56|0,i=oe[e[_>>2]&63](_,x,512)|0;;){if(!i){z=25;break}if(n=+u[t>>3],!(+u[i+8>>3]>2]|0,D=e[A>>2]|0,P=e[a>>2]|0,e[a>>2]=P+1,e[D+(P<<2)>>2]=U,e[(e[i>>2]|0)+20>>2]=s,i=oe[e[_>>2]&63](_,i,8)|0}for((z|0)==25&&(z=0,n=+u[t>>3]),u[x>>3]=n,u[v>>3]=+u[l+(w*72|0)+48>>3],i=oe[e[N>>2]&63](N,x,512)|0;!(!i||!(+u[i+16>>3]<+u[o>>3]));)D=e[i>>2]|0,P=e[A>>2]|0,U=e[a>>2]|0,e[a>>2]=U+1,e[P+(U<<2)>>2]=D,e[(e[i>>2]|0)+20>>2]=s,i=oe[e[N>>2]&63](N,i,8)|0;U=e[a>>2]|0,c=U+c|0,m=(U|0)>(m|0)?U:m,w=w+1|0}for(;!((t|0)>=(i|0));)On0((e[B>>2]|0)+(t*72|0)|0),t=t+1|0,i=e[E>>2]|0;for(i=e[W>>2]|0,U=e[W+16>>2]|0,e[U+(i*40|0)+32>>2]=i,i=i+1|0,e[U+(i*40|0)+32>>2]=i,zt0(W,m),i=0;!((i|0)>=(e[r>>2]|0));)Vn0((e[G>>2]|0)+(i*72|0)|0,W),i=i+1|0;return Fr(N)|0,Fr(_)|0,r0(L),Hn0(W),St0(W),g=T,W|0}function Kw(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;l=oe[e[t>>2]&63](t,i,512)|0;do if(l)s=l;else if(r=Rt0(r)|0,!n)H0(138183,138131,291,138190);else{l=e[r+32>>2]|0,s=n+(l<<5)|0,n=n+(l<<5)+8|0,e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],e[s>>2]=r,y[r+36>>0]=o,oe[e[t>>2]&63](t,s,1)|0;break}while(0);return e[s>>2]|0}function On0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;e:do if((+u[r+64>>3]+-3-+u[r+48>>3])*.5<2)for(l=e[r+32>>2]|0,s=r+36|0,o=0;;){if((o|0)>=(l|0))break e;t=e[(e[s>>2]|0)+(o<<2)>>2]|0;r:do if(y[t+36>>0]|0)if(n=e[t+20>>2]|0,(n|0)==(r|0)){i=e[t+24>>2]|0,t=i,i=e[i>>2]|0;do{if(e[t>>2]=i|8,t=e[e[t+36>>2]>>2]|0,!t)break r;t=e[t+24>>2]|0,i=e[t>>2]|0}while(!(i&1|0))}else{i=n,t=e[n>>2]|0;do{if(e[i>>2]=t|8,t=e[(e[i+36>>2]|0)+8>>2]|0,!t)break r;i=e[t+20>>2]|0,t=e[i>>2]|0}while(!(t&1|0))}while(0);o=o+1|0}while(0);e:do if((+u[r+56>>3]+-3-+u[r+40>>3])*.5<2)for(l=e[r+32>>2]|0,s=r+36|0,o=0;;){if((o|0)>=(l|0))break e;t=e[(e[s>>2]|0)+(o<<2)>>2]|0;r:do if(!(y[t+36>>0]|0))if(n=e[t+20>>2]|0,(n|0)==(r|0)){i=e[t+24>>2]|0,t=i,i=e[i>>2]|0;do{if(e[t>>2]=i|16,t=e[(e[t+36>>2]|0)+4>>2]|0,!t)break r;t=e[t+24>>2]|0,i=e[t>>2]|0}while(!(i&1|0))}else{i=n,t=e[n>>2]|0;do{if(e[i>>2]=t|16,t=e[(e[i+36>>2]|0)+12>>2]|0,!t)break r;i=e[t+20>>2]|0,t=e[i>>2]|0}while(!(t&1|0))}while(0);o=o+1|0}while(0)}function Vn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;l=+u[r+56>>3]-+u[r+40>>3],s=+u[r+64>>3]-+u[r+48>>3],o=(s+l)*.5+500,(s+-3)*.5<2?(c=(e[r>>2]&8|0)==0,o=c?16384:o,m=c?16384:l):m=l,(l+-3)*.5<2&&(c=(e[r>>2]&16|0)==0,s=c?16384:s,o=c?16384:o),c=r+36|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){t=8;break}n=n+1|0}if((t|0)==5)H0(138118,138131,311,138138);else if((t|0)==8)H0(138170,138131,313,138138);else if((t|0)==10){g=a;return}}function Jn0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=+u[t+8>>3],l=+u[i+8>>3],o>l?r=1:o>3],o=+u[i>>3],l>o?r=1:r=(l>31),r|0}function Un0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=+u[t>>3],l=+u[i>>3],o>l?r=1:o>3],o=+u[i+8>>3],l>o?r=1:r=(l>31),r|0}function Xn0(r){r=r|0;var t=0,i=0;i=r+8|0,r0(e[(e[i>>2]|0)+36>>2]|0),t=r+12|0,r0(e[(e[t>>2]|0)+36>>2]|0),r0(e[i>>2]|0),r0(e[t>>2]|0),Gt0(e[r+16>>2]|0),Fr(e[r+20>>2]|0)|0,Fr(e[r+24>>2]|0)|0,r0(r)}function qn0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(m=g,g=g+32|0,s=m,A=t<<2,o=A+4|0,A=A+5|0,v=_0(A*56|0)|0,A=j0(A<<2)|0,l=o*5|1,a=_0(l*72|0)|0,w=l<<5,c=j0(w)|0,w=j0(w)|0,e[s>>2]=e[n>>2],e[s+4>>2]=e[n+4>>2],e[s+8>>2]=e[n+8>>2],e[s+12>>2]=e[n+12>>2],e[s+16>>2]=e[n+16>>2],e[s+20>>2]=e[n+20>>2],e[s+24>>2]=e[n+24>>2],e[s+28>>2]=e[n+28>>2],aG(r,t,s,v,0),NE(173),cG(o,A),kG(o,v,A,l,a)|0,p=hG(o,v,a,0,c)|0,e[s>>2]=e[n>>2],e[s+4>>2]=e[n+4>>2],e[s+8>>2]=e[n+8>>2],e[s+12>>2]=e[n+12>>2],e[s+16>>2]=e[n+16>>2],e[s+20>>2]=e[n+20>>2],e[s+24>>2]=e[n+24>>2],e[s+28>>2]=e[n+28>>2],aG(r,t,s,v,1),cG(o,A),kG(o,v,A,l,a)|0,o=hG(o,v,a,1,w)|0,l=j0(N0(p<<5,o)|0)|0,t=0,r=0;!((t|0)>=(o|0));){for(s=w+(t<<5)|0,n=0;!((n|0)>=(p|0));)E=r+(($n0(l+(r<<5)|0,s,c+(n<<5)|0)|0)!=0&1)|0,n=n+1|0,r=E;t=t+1|0}return E=Oe(l,r<<5)|0,r0(v),r0(A),r0(a),r0(c),r0(w),e[i>>2]=r,g=m,E|0}function aG(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0;for(a=g,g=g+96|0,s=a+64|0,A=a,e[s>>2]=e[i>>2],e[s+4>>2]=e[i+4>>2],e[s+8>>2]=e[i+8>>2],e[s+12>>2]=e[i+12>>2],e[s+16>>2]=e[i+16>>2],e[s+20>>2]=e[i+20>>2],e[s+24>>2]=e[i+24>>2],e[s+28>>2]=e[i+28>>2],dG(s,o,1,A),i=pG(n,1,A)|0,l=0;!((l|0)>=(t|0));)c=r+(l*72|0)+40|0,e[s>>2]=e[c>>2],e[s+4>>2]=e[c+4>>2],e[s+8>>2]=e[c+8>>2],e[s+12>>2]=e[c+12>>2],e[s+16>>2]=e[c+16>>2],e[s+20>>2]=e[c+20>>2],e[s+24>>2]=e[c+24>>2],e[s+28>>2]=e[c+28>>2],dG(s,o,0,A),i=pG(n,i,A)|0,l=l+1|0;g=a}function cG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(i=0;!((i|0)>(r|0));)e[t+(i<<2)>>2]=i,i=i+1|0;for(l=r+1|0,i=1;!((i|0)>(r|0));)s=~~(+Rn()*+(l-i|0)+ +(i|0)),n=t+(i<<2)|0,o=t+(s<<2)|0,(i|0)!=(s|0)&&(s=e[n>>2]|0,e[n>>2]=e[o>>2],e[o>>2]=s),i=i+1|0}function hG(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(l=r*5|0,a=l+1|0,w=j0(a<<2)|0,e[47388]=j0(a<<4)|0,e[47389]=j0((r*56|0)+56|0)|0,a=j0(r<<2)|0,e[47390]=a,c=0;!((c|0)>(l|0)||Kn0(i+(c*72|0)|0,t)|0);)c=c+1|0;for(s=e[47388]|0,A=e[47389]|0,l=1;!((l|0)>(r|0));)e[s+(l<<4)+8>>2]=e[t+(l*56|0)+48>>2],p=t+(l*56|0)+44|0,e[s+(l<<4)+4>>2]=e[p>>2],e[s+(l<<4)>>2]=l,v=A+(l*56|0)|0,m=t+(l*56|0)|0,e[v>>2]=e[m>>2],e[v+4>>2]=e[m+4>>2],e[v+8>>2]=e[m+8>>2],e[v+12>>2]=e[m+12>>2],e[A+(l*56|0)+16>>2]=e[p>>2],e[A+(l*56|0)+32>>2]=l,e[A+(l*56|0)+48>>2]=1,l=l+1|0;return e[47391]=r,e[47392]=0,e[a>>2]=1,l=e[i+(c*72|0)+40>>2]|0,(l|0)<=0?(l=e[i+(c*72|0)+48>>2]|0,(l|0)>0?l=_2(w,o,0,t,i,0,c,l,n,2)|0:l=0):l=_2(w,o,0,t,i,0,c,l,n,1)|0,r0(w),r0(e[47388]|0),r0(e[47389]|0),r0(e[47390]|0),l|0}function $n0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return s=+u[(+u[t>>3]>+u[i>>3]?t:i)>>3],l=+u[(+u[t+16>>3]<+u[i+16>>3]?t:i)+16>>3],u[r+16>>3]=l,u[r>>3]=s,o=+u[(+u[t+8>>3]>+u[i+8>>3]?t:i)+8>>3],n=+u[(+u[t+24>>3]<+u[i+24>>3]?t:i)+24>>3],u[r+24>>3]=n,u[r+8>>3]=o,!(s>=l)&!(o>=n)&1|0}function Kn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=e[r+4>>2]|0;do if((e[r+68>>2]|0)!=2&&!((o|0)<1|(e[r>>2]|0)<1)){if(!((e[r+40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+wG(v,w+(s*56|0)|0,p),c>l)&&(o=A,l=c),A=A+1|0;e[n>>2]=o}function wG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;return s=+u[r>>3],A=+u[t>>3]-s,n=+u[r+8>>3],l=+u[t+8>>3]-n,s=+u[i>>3]-s,n=+u[i+8>>3]-n,o=n*l+s*A,n*A-s*l>=0?n=o/(+G0(+(n*n+s*s))*+G0(+(l*l+A*A))):n=-o/(+G0(+(n*n+s*s))*+G0(+(l*l+A*A)))+-2,+n}function dG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;e[n>>2]=e[r>>2],e[n+4>>2]=e[r+4>>2],e[n+8>>2]=e[r+8>>2],e[n+12>>2]=e[r+12>>2],s=n+32|0,A=r+16|0,e[s>>2]=e[A>>2],e[s+4>>2]=e[A+4>>2],e[s+8>>2]=e[A+8>>2],e[s+12>>2]=e[A+12>>2],i?(o=r+24|0,l=r,s=r+8|0,i=A):(o=r+8|0,l=A,s=r+24|0,i=r),a=+u[l>>3],c=+u[s>>3],u[n+16>>3]=+u[i>>3],u[n+24>>3]=c,u[n+48>>3]=a,u[n+56>>3]=+u[o>>3];e:do if(t|0)for(i=0;;){if((i|0)==4)break e;A=n+(i<<4)+8|0,c=+u[A>>3],t=n+(i<<4)|0,u[A>>3]=+u[t>>3],u[t>>3]=-c,i=i+1|0}while(0)}function pG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(s=t+3|0,A=t+1|0,a=t+2|0,c=r+(t*56|0)+44|0,w=r+(s*56|0)+44|0,n=0,o=t;!((o|0)>(s|0));){do if((o|0)!=(t|0))if((o|0)==(s|0)){e[w>>2]=t,l=a;break}else{e[r+(o*56|0)+44>>2]=o+1,l=o+-1|0;break}else e[c>>2]=A,l=s;while(0);e[r+(o*56|0)+48>>2]=l,e[r+(o*56|0)+32>>2]=0,v=r+(o*56|0)|0,p=i+(n<<4)|0,e[v>>2]=e[p>>2],e[v+4>>2]=e[p+4>>2],e[v+8>>2]=e[p+8>>2],e[v+12>>2]=e[p+12>>2],Yl(r+(l*56|0)+16|0,p|0,16)|0,n=n+1|0,o=o+1|0}return t+4|0}function kG(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0;for(e[47393]=n<<1,e[47394]=n,c=j0(n*80|0)|0,e[47395]=1,e[47396]=1,Ur(o|0,0,n*72|0)|0,l=e10(e[i+4>>2]|0,t,o,c)|0,n=1;!((n|0)>(r|0));)e[t+(n*56|0)+40>>2]=l,e[t+(n*56|0)+36>>2]=l,n=n+1|0;for(a=r10(r)|0,l=2,A=1;!((A|0)>(a|0));){for(n=Vy(r,A+-1|0)|0,s=Vy(r,A)|0;;){if((n|0)>=(s|0)){n=1;break}vG(e[i+(l<<2)>>2]|0,t,o,c),n=n+1|0,l=l+1|0}for(;!((n|0)>(r|0));)t10(n,t,o,c),n=n+1|0;A=A+1|0}for(n=Vy(r,a)|0;!((n|0)>=(r|0));)vG(e[i+(l<<2)>>2]|0,t,o,c),l=l+1|0,n=n+1|0;return r0(c),e[47395]|0}function e10(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;return o=Z1()|0,e[n+(o*40|0)>>2]=2,x=n+(o*40|0)+8|0,a=t+(r*56|0)|0,c=t+(r*56|0)+16|0,n10(x,a,c),p=Z1()|0,e[n+(o*40|0)+36>>2]=p,e[n+(p*40|0)>>2]=3,e[n+(p*40|0)+28>>2]=o,A=Z1()|0,e[n+(o*40|0)+32>>2]=A,e[n+(A*40|0)>>2]=2,B=n+(A*40|0)+8|0,o10(B,a,c),e[n+(A*40|0)+28>>2]=o,c=Z1()|0,e[n+(A*40|0)+32>>2]=c,e[n+(c*40|0)>>2]=3,e[n+(c*40|0)+28>>2]=A,a=Z1()|0,e[n+(A*40|0)+36>>2]=a,e[n+(a*40|0)>>2]=1,e[n+(a*40|0)+4>>2]=r,e[n+(a*40|0)+28>>2]=A,A=Z1()|0,e[n+(a*40|0)+32>>2]=A,e[n+(A*40|0)>>2]=3,e[n+(A*40|0)+28>>2]=a,l=Z1()|0,e[n+(a*40|0)+36>>2]=l,e[n+(l*40|0)>>2]=3,e[n+(l*40|0)+28>>2]=a,a=Af(i)|0,s=Af(i)|0,w=Af(i)|0,v=Af(i)|0,m=i+(a*72|0)+8|0,E=i+(s*72|0)+8|0,z=i+(v*72|0)+24|0,e[z>>2]=e[x>>2],e[z+4>>2]=e[x+4>>2],e[z+8>>2]=e[x+8>>2],e[z+12>>2]=e[x+12>>2],Yl(E|0,x|0,16)|0,e[m>>2]=e[E>>2],e[m+4>>2]=e[E+4>>2],e[m+8>>2]=e[E+8>>2],e[m+12>>2]=e[E+12>>2],m=i+(a*72|0)+24|0,E=i+(s*72|0)+24|0,x=i+(w*72|0)+8|0,e[x>>2]=e[B>>2],e[x+4>>2]=e[B+4>>2],e[x+8>>2]=e[B+8>>2],e[x+12>>2]=e[B+12>>2],Yl(E|0,B|0,16)|0,e[m>>2]=e[E>>2],e[m+4>>2]=e[E+4>>2],e[m+8>>2]=e[E+8>>2],e[m+12>>2]=e[E+12>>2],u[i+(v*72|0)+16>>3]=1073741824,u[i+(v*72|0)+8>>3]=1073741824,u[i+(w*72|0)+32>>3]=-1073741824,u[i+(w*72|0)+24>>3]=-1073741824,e[i+(s*72|0)>>2]=r,e[i+(a*72|0)+4>>2]=r,e[i+(s*72|0)+40>>2]=v,e[i+(a*72|0)+40>>2]=v,e[i+(s*72|0)+48>>2]=w,e[i+(a*72|0)+48>>2]=w,e[i+(w*72|0)+40>>2]=a,e[i+(v*72|0)+48>>2]=a,e[i+(w*72|0)+44>>2]=s,e[i+(v*72|0)+52>>2]=s,e[i+(a*72|0)+56>>2]=A,e[i+(s*72|0)+56>>2]=l,e[i+(w*72|0)+56>>2]=c,e[i+(v*72|0)+56>>2]=p,e[i+(s*72|0)+68>>2]=1,e[i+(a*72|0)+68>>2]=1,e[i+(v*72|0)+68>>2]=1,e[i+(w*72|0)+68>>2]=1,e[n+(p*40|0)+24>>2]=v,e[n+(c*40|0)+24>>2]=w,e[n+(A*40|0)+24>>2]=a,e[n+(l*40|0)+24>>2]=s,e[t+(r*56|0)+32>>2]=1,o|0}function r10(r){r=r|0;var t=0;for(t=+(r|0),r=0;t>=1;)t=+qP(t),r=r+1|0;return r+-1|0}function Vy(r,t){r=r|0,t=t|0;var i=0,n=0;for(n=+(r|0),i=n,r=0;!((r|0)>=(t|0));)i=+qP(i),r=r+1|0;return~~+mt(+(n/i))|0}function vG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0;me=g,g=g+96|0,F0=me+32|0,o=me+16|0,b0=me,B=F0,a=t+(r*56|0)|0,E=B+56|0;do e[B>>2]=e[a>>2],B=B+4|0,a=a+4|0;while((B|0)<(E|0));O0=F0+16|0,ze=F0+24|0,s=+u[ze>>3],q=F0+8|0,A=+u[q>>3];do if(s>A+1e-7)F=4;else{if(!(s>3]>+u[F0>>3]){F=4;break}F=(bw(r,t,1)|0)==0,o=e[F0+36>>2]|0,F?(w=0,F=7):(o=lf(F0,O0,o,t,n)|0,F=20)}while(0);if((F|0)==4&&(e[o>>2]=e[F0>>2],e[o+4>>2]=e[F0+4>>2],e[o+8>>2]=e[F0+8>>2],e[o+12>>2]=e[F0+12>>2],e[F0>>2]=e[O0>>2],e[F0+4>>2]=e[O0+4>>2],e[F0+8>>2]=e[O0+8>>2],e[F0+12>>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>2]=p,e[n+(P*40|0)+28>>2]=D,e[n+(J*40|0)>>2]=3,e[n+(J*40|0)+24>>2]=w,e[n+(J*40|0)+28>>2]=D,e[U>>2]=P,e[i+(w*72|0)+56>>2]=J,J=o,o=0}else(F|0)==32&&(J=o,p=lf(O0,F0,e[F0+40>>2]|0,t,n)|0,o=1);e:do if((J|0)>0){P=i+(p*72|0)+24|0,U=i+(p*72|0)+32|0,D=(o|0)!=0,W=l?t+(r*56|0)+48|0:t+(r*56|0)+44|0,N=b0+8|0,l=0,o=0,G=J;r:for(;;){if(a=i+(G*72|0)|0,_=i+(G*72|0)+24|0,!(mG(_,P)|0))break e;c=i+(G*72|0)+56|0,z=e[c>>2]|0,w=Z1()|0,v=Z1()|0,e[n+(z*40|0)>>2]=1,e[n+(z*40|0)+4>>2]=r,e[n+(z*40|0)+32>>2]=w,e[n+(z*40|0)+36>>2]=v,e[n+(w*40|0)>>2]=3,e[n+(w*40|0)+24>>2]=G,e[n+(w*40|0)+28>>2]=z,e[n+(v*40|0)>>2]=3,L=Af(i)|0,e[n+(v*40|0)+24>>2]=L,T=i+(L*72|0)|0,e[i+(L*72|0)+68>>2]=1,e[n+(v*40|0)+28>>2]=z,l=(G|0)==(J|0)?L:l,z=i+(G*72|0)+32|0,+L0(+(+u[z>>3]-+u[U>>3]))<=1e-7&&+L0(+(+u[_>>3]-+u[P>>3]))<=1e-7&&(o=L),B=T,E=B+72|0;do e[B>>2]=e[a>>2],B=B+4|0,a=a+4|0;while((B|0)<(E|0));e[c>>2]=w,e[i+(L*72|0)+56>>2]=v,x=i+(G*72|0)+48|0,c=i+(G*72|0)+52|0,a=(e[c>>2]|0)<1;do if((e[x>>2]|0)<1){if(a)break r;B=i+(G*72|0)+40|0,a=e[B>>2]|0;do if((a|0)>0&&(k0=i+(G*72|0)+44|0,B0=e[k0>>2]|0,(B0|0)>0)){if(E=i+(G*72|0)+60|0,a=e[E>>2]|0,(a|0)<=0){e[i+(L*72|0)+40>>2]=B0,e[i+(L*72|0)+44>>2]=-1,e[k0>>2]=-1,e[i+(B0*72|0)+48>>2]=L;break}(e[i+(G*72|0)+64>>2]|0)==1?(e[i+(L*72|0)+40>>2]=B0,e[k0>>2]=-1,e[i+(L*72|0)+44>>2]=a,e[i+((e[B>>2]|0)*72|0)+48>>2]=G,v=L,w=B0):(e[i+(L*72|0)+44>>2]=-1,x=i+(L*72|0)+40|0,e[x>>2]=e[k0>>2],w=e[B>>2]|0,e[k0>>2]=w,e[B>>2]=a,e[i+(a*72|0)+48>>2]=G,v=G,a=e[x>>2]|0),e[i+(w*72|0)+48>>2]=v,e[i+(a*72|0)+48>>2]=L,e[i+(L*72|0)+60>>2]=0,e[E>>2]=0}else F=77;while(0);do if((F|0)==77){if(F=0,w=i+(a*72|0)+48|0,v=e[w>>2]|0,a=i+(a*72|0)+52|0,(v|0)>0&&(e[a>>2]|0)>0){if(a=e[i+(v*72|0)+4>>2]|0,(a|0)>0&&!(sf(a,t,O0)|0)){e[i+(L*72|0)+44>>2]=-1,e[i+(G*72|0)+44>>2]=-1,e[B>>2]=-1,e[i+((e[i+(L*72|0)+40>>2]|0)*72|0)+52>>2]=L;break}e[i+(G*72|0)+44>>2]=-1,e[i+(L*72|0)+44>>2]=-1,e[i+(L*72|0)+40>>2]=-1,e[i+((e[B>>2]|0)*72|0)+48>>2]=G;break}e[w>>2]=G,e[a>>2]=L}while(0);if(+L0(+(+u[z>>3]-+u[U>>3]))<=1e-7&&D&+L0(+(+u[_>>3]-+u[P>>3]))<=1e-7){a=e[W>>2]|0,(a|0)>0&&sf(a,t,F0)|0?(e[i+((e[c>>2]|0)*72|0)+40>>2]=G,w=i+(L*72|0)+52|0,a=L):(e[i+((e[i+(L*72|0)+52>>2]|0)*72|0)+44>>2]=L,w=c,a=G),e[w>>2]=-1,e[i+(a*72|0)+48>>2]=-1,a=e[c>>2]|0;break}a=e[c>>2]|0,c=i+(a*72|0)+40|0,w=e[c>>2]|0,v=i+(a*72|0)+44|0,(w|0)>0&&(D0=e[v>>2]|0,J0=(w|0)==(G|0),(D0|0)>0)&&(e[i+(a*72|0)+60>>2]=J0?D0:w,e[i+(a*72|0)+64>>2]=J0?1:2),e[c>>2]=G,e[v>>2]=L}else{if(!a){s=+u[z>>3],A=+u[q>>3],m=s-A,+L0(+m)<=1e-7?B=+u[_>>3]>+u[F0>>3]:(u[N>>3]=s,s=+u[F0>>3],u[b0>>3]=(+u[O0>>3]-s)*(m/(+u[ze>>3]-A))+s,B=(i10(b0,_)|0)!=0),E=i+(G*72|0)+40|0,a=e[E>>2]|0;do if((a|0)>0&&(V0=i+(G*72|0)+44|0,Z0=e[V0>>2]|0,(Z0|0)>0)){if(v=i+(G*72|0)+60|0,a=e[v>>2]|0,(a|0)<=0){e[i+(L*72|0)+40>>2]=Z0,e[i+(L*72|0)+44>>2]=-1,e[V0>>2]=-1,e[i+(Z0*72|0)+48>>2]=L;break}(e[i+(G*72|0)+64>>2]|0)==1?(e[i+(L*72|0)+40>>2]=Z0,e[V0>>2]=-1,e[i+(L*72|0)+44>>2]=a,e[i+((e[E>>2]|0)*72|0)+48>>2]=G,w=L,c=Z0):(e[i+(L*72|0)+44>>2]=-1,pe=i+(L*72|0)+40|0,e[pe>>2]=e[V0>>2],c=e[E>>2]|0,e[V0>>2]=c,e[E>>2]=a,e[i+(a*72|0)+48>>2]=G,w=G,a=e[pe>>2]|0),e[i+(c*72|0)+48>>2]=w,e[i+(a*72|0)+48>>2]=L,e[i+(L*72|0)+60>>2]=0,e[v>>2]=0}else F=106;while(0);do if((F|0)==106){if(F=0,c=i+(a*72|0)+48|0,w=e[c>>2]|0,a=i+(a*72|0)+52|0,(w|0)>0&&(e[a>>2]|0)>0){if(a=e[i+(w*72|0)+4>>2]|0,(a|0)>0&&!(sf(a,t,O0)|0)){e[i+(L*72|0)+44>>2]=-1,e[i+(G*72|0)+44>>2]=-1,e[E>>2]=-1,e[i+((e[i+(L*72|0)+40>>2]|0)*72|0)+52>>2]=L;break}e[i+(G*72|0)+44>>2]=-1,e[i+(L*72|0)+44>>2]=-1,e[i+(L*72|0)+40>>2]=-1,e[i+((e[E>>2]|0)*72|0)+48>>2]=G;break}e[c>>2]=G,e[a>>2]=L}while(0);+L0(+(+u[z>>3]-+u[U>>3]))<=1e-7&&D&+L0(+(+u[_>>3]-+u[P>>3]))<=1e-7?(a=e[x>>2]|0,e[i+(a*72|0)+40>>2]=G,e[i+(a*72|0)+44>>2]=-1,a=i+(G*72|0)+52|0,pe=e[a>>2]|0,e[i+(pe*72|0)+40>>2]=L,e[i+(pe*72|0)+44>>2]=-1,e[i+(L*72|0)+48>>2]=pe,e[i+(L*72|0)+52>>2]=-1,e[a>>2]=-1,a=-1):F=116;do if((F|0)==116)if(F=0,a=e[x>>2]|0,e[i+(a*72|0)+40>>2]=G,c=i+(a*72|0)+44|0,B){e[c>>2]=L,pe=i+(G*72|0)+52|0,_=e[pe>>2]|0,e[i+(_*72|0)+40>>2]=L,e[i+(_*72|0)+44>>2]=-1,e[pe>>2]=-1;break}else{e[c>>2]=-1,a=i+(G*72|0)+52|0,pe=e[a>>2]|0,e[i+(pe*72|0)+40>>2]=G,e[i+(pe*72|0)+44>>2]=L,e[i+(L*72|0)+48>>2]=pe,e[i+(L*72|0)+52>>2]=-1,a=e[a>>2]|0;break}while(0);break}B=i+(G*72|0)+40|0,a=e[B>>2]|0;do if((a|0)>0&&(t0=i+(G*72|0)+44|0,Y=e[t0>>2]|0,(Y|0)>0)){if(E=i+(G*72|0)+60|0,a=e[E>>2]|0,(a|0)<=0){e[i+(L*72|0)+40>>2]=Y,e[i+(L*72|0)+44>>2]=-1,e[t0>>2]=-1,e[i+(Y*72|0)+48>>2]=L;break}(e[i+(G*72|0)+64>>2]|0)==1?(e[i+(L*72|0)+40>>2]=Y,e[t0>>2]=-1,e[i+(L*72|0)+44>>2]=a,e[i+((e[B>>2]|0)*72|0)+48>>2]=G,v=L,w=Y):(e[i+(L*72|0)+44>>2]=-1,pe=i+(L*72|0)+40|0,e[pe>>2]=e[t0>>2],w=e[B>>2]|0,e[t0>>2]=w,e[B>>2]=a,e[i+(a*72|0)+48>>2]=G,v=G,a=e[pe>>2]|0),e[i+(w*72|0)+48>>2]=v,e[i+(a*72|0)+48>>2]=L,e[i+(L*72|0)+60>>2]=0,e[E>>2]=0}else F=51;while(0);do if((F|0)==51){if(F=0,w=i+(a*72|0)+48|0,v=e[w>>2]|0,a=i+(a*72|0)+52|0,(v|0)>0&&(e[a>>2]|0)>0){if(a=e[i+(v*72|0)+4>>2]|0,(a|0)>0&&!(sf(a,t,O0)|0)){e[i+(L*72|0)+44>>2]=-1,e[i+(G*72|0)+44>>2]=-1,e[B>>2]=-1,e[i+((e[i+(L*72|0)+40>>2]|0)*72|0)+52>>2]=L;break}e[i+(G*72|0)+44>>2]=-1,e[i+(L*72|0)+44>>2]=-1,e[i+(L*72|0)+40>>2]=-1,e[i+((e[B>>2]|0)*72|0)+48>>2]=G;break}e[w>>2]=G,e[a>>2]=L}while(0);if(+L0(+(+u[z>>3]-+u[U>>3]))<=1e-7&&D&+L0(+(+u[_>>3]-+u[P>>3]))<=1e-7){a=e[W>>2]|0,(a|0)>0&&sf(a,t,F0)|0?(e[i+((e[x>>2]|0)*72|0)+40>>2]=G,c=i+(L*72|0)+52|0,a=L):(e[i+((e[i+(L*72|0)+48>>2]|0)*72|0)+44>>2]=L,a=G),e[c>>2]=-1,e[i+(a*72|0)+48>>2]=-1,a=e[x>>2]|0;break}a=e[x>>2]|0,c=i+(a*72|0)+40|0,w=e[c>>2]|0,v=i+(a*72|0)+44|0,(w|0)>0&&(H=e[v>>2]|0,f0=(w|0)==(G|0),(H|0)>0)&&(e[i+(a*72|0)+60>>2]=f0?H:w,e[i+(a*72|0)+64>>2]=f0?1:2),e[c>>2]=G,e[v>>2]=L}while(0);if(e[T>>2]=r,e[i+(G*72|0)+4>>2]=r,(a|0)>0)G=a;else break e}cn(138424,19,1,e[15712]|0)|0}else l=0,o=0;while(0);gG(r,J,p,1,i,n),gG(r,l,o,2,i,n),e[t+(r*56|0)+32>>2]=1,g=me}function t10(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e[t+(r*56|0)+32>>2]|0||(o=t+(r*56|0)|0,l=t+(r*56|0)+16|0,s=t+(r*56|0)+36|0,e[s>>2]=e[i+((lf(o,l,e[s>>2]|0,t,n)|0)*72|0)+56>>2],r=t+(r*56|0)+40|0,e[r>>2]=e[i+((lf(l,o,e[r>>2]|0,t,n)|0)*72|0)+56>>2])}function lf(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;v=r+8|0,E=t+8|0;e:for(;;){r:do switch(e[o+(i*40|0)>>2]|0){case 3:{B=3;break e}case 2:{l=+u[v>>3],s=o+(i*40|0)+8|0,A=+u[o+(i*40|0)+16>>3],a=A+1e-7;do if(!(l>a)){if(c=A+-1e-7,!(l>3]>+u[s>>3])break;if(+L0(+(l-A))<=1e-7&&(w=+u[s>>3],+L0(+(+u[r>>3]-w))<=1e-7)){l=+u[E>>3];do if(!(l>a)){if(!(l>3]>w)break;i=o+(i*40|0)+32|0;break r}while(0);i=o+(i*40|0)+36|0;break r}i=o+(i*40|0)+32|0;break r}while(0);i=o+(i*40|0)+36|0;break}case 1:{l=+u[v>>3],s=e[o+(i*40|0)+4>>2]|0,+L0(+(l-+u[n+(s*56|0)+8>>3]))<=1e-7&&(p=+u[r>>3],+L0(+(p-+u[n+(s*56|0)>>3]))<=1e-7)?A=p:B=19;do if((B|0)==19){if(B=0,+L0(+(l-+u[n+(s*56|0)+24>>3]))<=1e-7&&(m=+u[r>>3],+L0(+(m-+u[n+(s*56|0)+16>>3]))<=1e-7)){A=m;break}if(sf(s,n,r)|0){i=o+(i*40|0)+32|0;break r}else{i=o+(i*40|0)+36|0;break r}}while(0);if(+L0(+(l-+u[E>>3]))<=1e-7)if(+u[t>>3]>2]|0}return(B|0)==3?e[o+(i*40|0)+24>>2]|0:((B|0)==31&&(cn(138358,35,1,e[15712]|0)|0,H0(138394,138396,349,138408)),0)}function sf(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;l=t+(r*56|0)+16|0,s=+u[t+(r*56|0)+24>>3],A=t+(r*56|0)|0,o=+u[t+(r*56|0)+8>>3];do if(s>o+1e-7)a=4;else{if(!(s>3]>+u[A>>3]){a=4;break}if(n=+u[i+8>>3],+L0(+(s-n))<=1e-7){n=+u[i>>3]<+u[l>>3]?1:-1;break}if(+L0(+(o-n))<=1e-7){n=+u[i>>3]<+u[A>>3]?1:-1;break}else{c=+u[l>>3],n=(+u[A>>3]-c)*(n-s)-(+u[i>>3]-c)*(o-s);break}}while(0);do if((a|0)==4){if(n=+u[i+8>>3],+L0(+(s-n))<=1e-7){n=+u[i>>3]<+u[l>>3]?1:-1;break}if(+L0(+(o-n))<=1e-7){n=+u[i>>3]<+u[A>>3]?1:-1;break}else{c=+u[A>>3],n=(+u[l>>3]-c)*(n-o)-(+u[i>>3]-c)*(s-o);break}}while(0);return n>0|0}function bw(r,t,i){return r=r|0,t=t|0,i=i|0,e[t+((e[((i|0)==1?t+(r*56|0)+48|0:t+(r*56|0)+44|0)>>2]|0)*56|0)+32>>2]|0}function Af(r){r=r|0;var t=0,i=0,n=0;return n=g,g=g+16|0,i=n,t=e[47395]|0,(t|0)<(e[47394]|0)?(e[r+(t*72|0)>>2]=-1,e[r+(t*72|0)+4>>2]=-1,e[r+(t*72|0)+68>>2]=1,e[47395]=t+1,g=n,t|0):(n=e[15712]|0,e[i>>2]=t,A2(n,138483,i)|0,H0(138394,138396,88,138521),0)}function Z1(){var r=0;return r=e[47396]|0,(r|0)<(e[47393]|0)?(e[47396]=r+1,r|0):(cn(138444,30,1,e[15712]|0)|0,H0(138394,138396,72,138475),0)}function mG(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r+8>>3],n=+u[t+8>>3],i>n+1e-7?r=1:i>3]>=+u[t>>3]&1,r|0}function i10(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r+8>>3],n=+u[t+8>>3],in+1e-7?r=0:r=+u[r>>3]<+u[t>>3]&1,r|0}function gG(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;B=o+(i*72|0)+24|0,E=(n|0)==1;e:for(;m=o+(t*72|0)+24|0,a=o+(t*72|0)+48|0,c=o+(t*72|0)+52|0,w=o+(t*72|0)|0,p=o+(t*72|0)+4|0,v=o+(t*72|0)+56|0,!((t|0)<=0);)for(;;){if(!(mG(m,B)|0))break e;i=e[a>>2]|0,n=(i|0)>0;do if(E){if(n&&(e[o+(i*72|0)+4>>2]|0)==(r|0))break;if(i=e[c>>2]|0,(i|0)<=0){t=i;continue e}if((e[o+(i*72|0)+4>>2]|0)!=(r|0)){t=i;continue e}}else{if(n&&(e[o+(i*72|0)>>2]|0)==(r|0))break;if(i=e[c>>2]|0,(i|0)<=0){t=i;continue e}if((e[o+(i*72|0)>>2]|0)!=(r|0)){t=i;continue e}}while(0);if((e[w>>2]|0)!=(e[o+(i*72|0)>>2]|0)){t=i;continue e}if((e[p>>2]|0)!=(e[o+(i*72|0)+4>>2]|0)){t=i;continue e}x=e[o+(i*72|0)+56>>2]|0,n=e[l+(x*40|0)+28>>2]|0,s=l+(n*40|0)+32|0,A=e[v>>2]|0,(e[s>>2]|0)==(x|0)?e[s>>2]=A:e[l+(n*40|0)+36>>2]=A,n=e[o+(i*72|0)+48>>2]|0,e[a>>2]=n;do if((n|0)>0){if(s=o+(n*72|0)+40|0,(e[s>>2]|0)==(i|0)){e[s>>2]=t;break}n=o+(n*72|0)+44|0,(e[n>>2]|0)==(i|0)&&(e[n>>2]=t)}while(0);n=e[o+(i*72|0)+52>>2]|0,e[c>>2]=n;do if((n|0)>0){if(s=o+(n*72|0)+40|0,(e[s>>2]|0)==(i|0)){e[s>>2]=t;break}n=o+(n*72|0)+44|0,(e[n>>2]|0)==(i|0)&&(e[n>>2]=t)}while(0);x=o+(i*72|0)+24|0,e[m>>2]=e[x>>2],e[m+4>>2]=e[x+4>>2],e[m+8>>2]=e[x+8>>2],e[m+12>>2]=e[x+12>>2],e[o+(i*72|0)+68>>2]=2}}function n10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=+u[t+8>>3],o=+u[i+8>>3];do if(n>o+1e-7)e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];else{if(!(+L0(+(n-o))<=1e-7)){e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}if(+u[t>>3]>+u[i>>3]+1e-7){e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else{e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}}while(0)}function o10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=+u[t+8>>3],o=+u[i+8>>3];do if(n>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];else{if(!(+L0(+(n-o))<=1e-7)){e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}if(+u[t>>3]<+u[i>>3]){e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else{e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}}while(0)}function l10(r){r=r|0;var t=0;return t=j0(8)|0,t|0&&(e[t+4>>2]=r,e[t>>2]=0),t|0}function s10(r,t){return r=r|0,t=t|0,t&&(t=l10(t)|0,e[t>>2]=r,r=t),r|0}function A10(r){r=r|0;var t=0;do t=r,r=e[r>>2]|0,r0(t);while(r|0)}function u10(){var r=0;return r=j0(1992)|0,r|0&&(e[r>>2]=f10(r)|0),r|0}function f10(r){r=r|0;var t=0;return t=Hy(r)|0,e[t+4>>2]=0,r=r+1972|0,e[r>>2]=(e[r>>2]|0)+1,t|0}function yG(r){return r=r|0,CG(r,e[r>>2]|0),r0(e[r>>2]|0),r0(r),0}function CG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;l=r+1980|0,s=r+1912|0,A=r+1936|0;e:do if((e[t+4>>2]|0)>0)for(i=0;;){if((i|0)==64)break e;n=t+8+(i*20|0)+16|0,o=e[n>>2]|0,o|0&&(CG(r,o),r0(e[n>>2]|0),SG(t,i),e[l>>2]=(e[l>>2]|0)+-1,e[s>>2]|0)&&(e[A>>2]=(e[A>>2]|0)+1),i=i+1|0}else for(i=0;;){if((i|0)==64)break e;e[t+8+(i*20|0)+16>>2]|0&&(SG(t,i),e[l>>2]=(e[l>>2]|0)+-1,e[s>>2]|0)&&(e[A>>2]=(e[A>>2]|0)+1),i=i+1|0}while(0)}function EG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;t||H0(138879,138529,194,138537),n=e[t+4>>2]|0,(n|0)<=-1&&H0(138549,138529,195,138537),i||H0(138821,138529,196,138537),A=r+1952|0,e[A>>2]=(e[A>>2]|0)+1;e:do if((n|0)>0)for(A=0,n=0;;){if((A|0)==64)break e;if(o=t+8+(A*20|0)+16|0,e[o>>2]|0&&zG(i,t+8+(A*20|0)|0)|0)if(l=EG(r,e[o>>2]|0,i)|0,!n)n=l;else{for(o=n;s=e[o>>2]|0,s;)o=s;e[o>>2]=l}A=A+1|0}else for(l=0,n=0;;){if((l|0)==64)break e;o=t+8+(l*20|0)|0,e[t+8+(l*20|0)+16>>2]|0&&zG(i,o)|0&&(n=s10(n,o)|0),l=l+1|0}while(0);return n|0}function a10(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(m=g,g=g+64|0,c=m+52|0,w=m+32|0,p=m+16|0,v=m,e[c>>2]=0,(t|0)!=0&(n|0)!=0||H0(138735,138529,247,138563),(o|0)>-1&&(a=e[n>>2]|0,(e[a+4>>2]|0)>=(o|0))){for(l=0;!((l|0)>=2);)if((e[t+(l<<2)>>2]|0)>(e[t+(l+2<<2)>>2]|0)){s=8;break}else l=l+1|0;return(s|0)==8&&H0(138610,138529,250,138563),A=r+1912|0,l=r+1908|0,s=e[l>>2]|0,e[A>>2]|0&&(E=s|0?r+1924|0:r+1916|0,e[E>>2]=(e[E>>2]|0)+1),s||(E=r+1964|0,e[E>>2]=(e[E>>2]|0)+1),BG(r,t,i,a,c,o)|0?(e[A>>2]|0&&(E=e[l>>2]|0?r+1948|0:r+1944|0,e[E>>2]=(e[E>>2]|0)+1),l=Hy(r)|0,E=r+1976|0,e[E>>2]=(e[E>>2]|0)+1,E=e[n>>2]|0,e[l+4>>2]=(e[E+4>>2]|0)+1,ed(p,E),e[w>>2]=e[p>>2],e[w+4>>2]=e[p+4>>2],e[w+8>>2]=e[p+8>>2],e[w+12>>2]=e[p+12>>2],E=w+16|0,e[E>>2]=e[n>>2],ba(r,w,l,0)|0,ed(v,e[c>>2]|0),e[w>>2]=e[v>>2],e[w+4>>2]=e[v+4>>2],e[w+8>>2]=e[v+8>>2],e[w+12>>2]=e[v+12>>2],e[E>>2]=e[c>>2],ba(r,w,l,0)|0,e[n>>2]=l,l=r+1980|0,e[l>>2]=(e[l>>2]|0)+2,l=1):l=0,g=m,l|0}return H0(138575,138529,248,138563),0}function BG(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(E=g,g=g+80|0,w=E+52|0,p=E+48|0,v=E+32|0,m=E+16|0,c=E,e[p>>2]=0,(t|0)!=0&(n|0)!=0&(o|0)!=0||H0(138653,138529,311,138667),(l|0)>-1&&(A=n+4|0,s=e[A>>2]|0,(s|0)>=(l|0))){e[r+1912>>2]|0&&(s=e[r+1908>>2]|0?r+1948|0:r+1944|0,e[s>>2]=(e[s>>2]|0)+1,s=e[A>>2]|0);do if((s|0)>(l|0))if(A=c10(t,n)|0,s=n+8+(A*20|0)+16|0,A=n+8+(A*20|0)|0,BG(r,t,i,e[s>>2]|0,p,l)|0){ed(m,e[s>>2]|0),e[A>>2]=e[m>>2],e[A+4>>2]=e[m+4>>2],e[A+8>>2]=e[m+8>>2],e[A+12>>2]=e[m+12>>2],a=e[p>>2]|0,e[w+16>>2]=a,ed(c,a),e[w>>2]=e[c>>2],e[w+4>>2]=e[c+4>>2],e[w+8>>2]=e[c+8>>2],e[w+12>>2]=e[c+12>>2],a=r+1980|0,e[a>>2]=(e[a>>2]|0)+1,a=ba(r,w,n,o)|0;break}else{cA(v,t,A),e[A>>2]=e[v>>2],e[A+4>>2]=e[v+4>>2],e[A+8>>2]=e[v+8>>2],e[A+12>>2]=e[v+12>>2],a=0;break}else if((s|0)==(l|0)){e[w>>2]=e[t>>2],e[w+4>>2]=e[t+4>>2],e[w+8>>2]=e[t+8>>2],e[w+12>>2]=e[t+12>>2],e[w+16>>2]=i,a=r+1980|0,e[a>>2]=(e[a>>2]|0)+1,a=ba(r,w,n,o)|0;break}else H0(138712,138529,341,138667);while(0);return g=E,a|0}return H0(138680,138529,312,138667),0}function Hy(r){return r=r|0,r=r+1968|0,e[r>>2]=(e[r>>2]|0)+1,r=Te(1288)|0,IG(r),r|0}function IG(r){r=r|0;var t=0;for(e[r>>2]=0,e[r+4>>2]=-1,t=0;(t|0)!=64;)xG(r+8+(t*20|0)|0),t=t+1|0}function xG(r){r=r|0,_G(r),e[r+16>>2]=0}function ed(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+32|0,l=A+16|0,s=A,t||H0(138879,138718,99,138725),_G(l),i=1,o=0;(o|0)!=64;){do if(e[t+8+(o*20|0)+16>>2]|0)if(n=t+8+(o*20|0)|0,i){e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],i=0;break}else{cA(s,l,n),e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2],i=0;break}while(0);o=o+1|0}e[r>>2]=e[l>>2],e[r+4>>2]=e[l+4>>2],e[r+8>>2]=e[l+8>>2],e[r+12>>2]=e[l+12>>2],g=A}function c10(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(c=g,g=g+32|0,A=c+16|0,a=c,(r|0)!=0&(t|0)!=0||H0(138735,138718,125,138742),i=0,n=0,o=0,l=1,s=0;(s|0)!=64;)e[t+8+(s*20|0)+16>>2]|0&&(p=t+8+(s*20|0)|0,m=xl(p)|0,cA(a,r,p),e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],p=(xl(A)|0)-m|0,w=(l|0)!=0|(p|0)<(o|0),v=w|(m|0)<(n|0)&(p|0)==(o|0),i=v?s:i,n=v?m:n,o=v?p:o,l=w?0:l),s=s+1|0;return g=c,i|0}function ba(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;t||H0(138901,138718,167,138753),i||H0(138879,138718,168,138753);do if((e[i>>2]|0)<64){for(r=0;;){if((r|0)>=64){n=10;break}if(!(e[i+8+(r*20|0)+16>>2]|0)){n=8;break}r=r+1|0}if((n|0)==8){o=i+8+(r*20|0)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[o+16>>2]=e[t+16>>2],o=0,l=i;break}else(n|0)==10&&H0(138763,138718,178,138753)}else if(e[r+1912>>2]|0&&(s=e[r+1908>>2]|0?r+1948|0:r+1944|0,e[s>>2]=(e[s>>2]|0)+1),!n)H0(138776,138718,187,138753);else{w10(r,i,t,n),o=1,l=e[i+4>>2]|0?r+1976|0:r+1972|0;break}while(0);return e[l>>2]=(e[l>>2]|0)+1,o|0}function SG(r,t){if(r=r|0,t=t|0,(r|0)!=0&t>>>0<64||H0(138780,138718,201,138808),!(e[r+8+(t*20|0)+16>>2]|0))H0(139302,138718,202,138808);else{xG(r+8+(t*20|0)|0),e[r>>2]=(e[r>>2]|0)+-1;return}}function _G(r){r=r|0;var t=0;for(t=0;(t|0)!=4;)e[r+(t<<2)>>2]=0,t=t+1|0}function h10(r){r=r|0;var t=0,i=0,n=0;for(n=g,g=g+16|0,i=n,e[i>>2]=1,e[i+8>>2]=-1,t=1;(t|0)!=2;)e[i+(t+2<<2)>>2]=0,e[i+(t<<2)>>2]=0,t=t+1|0;e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2],g=n}function xl(r){r=r|0;var t=0,i=0,n=0;r||H0(138821,138823,128,138835);e:do if((e[r>>2]|0)>(e[r+8>>2]|0))t=0;else for(t=1,i=0;;){if((i|0)==2)break e;n=N0(e[r+(i+2<<2)>>2]|0,t)|0,t=n-(e[r+(i<<2)>>2]|0)|0,i=i+1|0}while(0);return t|0}function cA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;l=g,g=g+16|0,o=l,(t|0)!=0&(i|0)!=0||H0(138844,138823,195,138852);do if((e[t>>2]|0)>(e[t+8>>2]|0))e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];else{if((e[i>>2]|0)>(e[i+8>>2]|0)){e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else n=0;for(;(n|0)!=2;)a=e[t+(n<<2)>>2]|0,s=e[i+(n<<2)>>2]|0,e[o+(n<<2)>>2]=(a|0)<(s|0)?a:s,s=n+2|0,a=e[t+(s<<2)>>2]|0,A=e[i+(s<<2)>>2]|0,e[o+(s<<2)>>2]=(a|0)>(A|0)?a:A,n=n+1|0;e[r>>2]=e[o>>2],e[r+4>>2]=e[o+4>>2],e[r+8>>2]=e[o+8>>2],e[r+12>>2]=e[o+12>>2]}while(0);g=l}function zG(r,t){r=r|0,t=t|0;var i=0,n=0;for((r|0)!=0&(t|0)!=0?i=0:H0(138864,138823,216,138871);;){if((i|0)>=2){i=1;break}if(n=i+2|0,(e[r+(i<<2)>>2]|0)>(e[t+(n<<2)>>2]|0)){i=0;break}if((e[t+(i<<2)>>2]|0)>(e[r+(n<<2)>>2]|0)){i=0;break}else i=i+1|0}return i|0}function w10(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;t||H0(138879,138881,40,138891),i||H0(138901,138881,41,138891),A=r+1912|0,e[A>>2]|0&&(s=e[r+1908>>2]|0?r+1932|0:r+1928|0,e[s>>2]=(e[s>>2]|0)+1),l=t+4|0,s=e[l>>2]|0,d10(r,t,i),i=r+1324|0,p10(r),o=xl(r+1852|0)|0,o=(xl(r+1868|0)|0)+o|0,e[A>>2]|0&&(o|0)!=0&(e[r+1908>>2]|0)==0&&(A=r+1960|0,x0[A>>2]=+((e[r+1320>>2]|0)>>>0)/+(o|0)+ +x0[A>>2]),A=Hy(r)|0,e[n>>2]=A,e[l>>2]=s,e[A+4>>2]=s,k10(r,t,A,i),((e[e[n>>2]>>2]|0)+(e[t>>2]|0)|0)!=65&&H0(138903,138881,86,138891)}function d10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;for(s=g,g=g+16|0,l=s,t||H0(138879,138881,106,139290),i?n=0:H0(138901,138881,107,139290);!((n|0)>=64);){if(!(e[t+8+(n*20|0)+16>>2]|0)){o=7;break}a=t+8+(n*20|0)|0,A=r+4+(n*20|0)|0,e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],e[A+16>>2]=e[a+16>>2],n=n+1|0}for((o|0)==7&&H0(139302,138881,111,139290),n=r+4|0,a=r+1284|0,e[a>>2]=e[i>>2],e[a+4>>2]=e[i+4>>2],e[a+8>>2]=e[i+8>>2],e[a+12>>2]=e[i+12>>2],e[a+16>>2]=e[i+16>>2],i=r+1304|0,e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[i+8>>2]=e[n+8>>2],e[i+12>>2]=e[n+12>>2],n=1;(n|0)!=65;)cA(l,i,r+4+(n*20|0)|0),e[i>>2]=e[l>>2],e[i+4>>2]=e[l+4>>2],e[i+8>>2]=e[l+8>>2],e[i+12>>2]=e[l+12>>2],n=n+1|0;e[r+1320>>2]=xl(i)|0,IG(t),g=s}function p10(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(_=g,g=g+48|0,A=_+32|0,c=_+16|0,w=_,v10(r),m10(r),E=r+1844|0,x=r+1848|0,z=r+1892|0,p=r+1852|0,v=r+1884|0,m=r+1868|0,a=r+1888|0,o=0,n=0;i=e[E>>2]|0,t=e[x>>2]|0,!((t+i|0)>=65);){if(s=65-(e[z>>2]|0)|0,(i|0)<(s|0)&(t|0)<(s|0))l=-1,s=0;else{B=12;break}for(;(s|0)!=65;)e[r+1584+(s<<2)>>2]|0?(t=l,i=o):(L=r+4+(s*20|0)|0,cA(c,L,p),e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],t=xl(A)|0,i=e[v>>2]|0,cA(w,L,m),e[A>>2]=e[w>>2],e[A+4>>2]=e[w+4>>2],e[A+8>>2]=e[w+8>>2],e[A+12>>2]=e[w+12>>2],L=xl(A)|0,t=L-(e[a>>2]|0)+(i-t)|0,i=(t|0)>-1,t=i?t:0-t|0,i=(i^1)&1,(t|0)<=(l|0)?(t|0)==(l|0)?(L=(e[r+1844+(i<<2)>>2]|0)<(e[r+1844+(o<<2)>>2]|0),t=l,i=L?i:o,n=L?s:n):(t=l,i=o):n=s),l=t,s=s+1|0,o=i;rd(r,n,o)}if((B|0)==12){for(t=(i|0)>=(65-(e[z>>2]|0)|0)&1,i=0;(i|0)!=65;)e[r+1584+(i<<2)>>2]|0||rd(r,i,t),i=i+1|0;i=e[E>>2]|0,t=e[x>>2]|0}if((t+i|0)!=65&&H0(139046,138881,210,139132),L=e[z>>2]|0,(i|0)<(L|0)|(t|0)<(L|0))H0(139143,138881,212,139132);else{g=_;return}}function k10(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(t||H0(138879,138881,297,138943),i||H0(138953,138881,298,138943),n?o=0:H0(138955,138881,299,138943);;){if((o|0)>=65){n=14;break}if(n=e[r+1324+(o<<2)>>2]|0,n>>>0>=2){n=9;break}switch(n|0){case 0:{ba(r,r+4+(o*20|0)|0,t,0)|0;break}case 1:{ba(r,r+4+(o*20|0)|0,i,0)|0;break}default:}o=o+1|0}if((n|0)==9)H0(138957,138881,303,138943);else if((n|0)==14)return}function v10(r){r=r|0;var t=0,i=0,n=0,o=0;for(i=g,g=g+16|0,n=i,e[r+1848>>2]=0,e[r+1844>>2]=0,t=r+1852|0,o=r+1868|0,h10(n),e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],e[t>>2]=e[n>>2],e[t+4>>2]=e[n+4>>2],e[t+8>>2]=e[n+8>>2],e[t+12>>2]=e[n+12>>2],e[r+1888>>2]=0,e[r+1884>>2]=0,t=0;(t|0)!=65;)e[r+1584+(t<<2)>>2]=0,e[r+1324+(t<<2)>>2]=-1,t=t+1|0;g=i}function m10(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(v=g,g=g+304|0,c=v+32|0,w=v+16|0,p=v,t=0;(t|0)!=65;)e[c+(t<<2)>>2]=xl(r+4+(t*20|0)|0)|0,t=t+1|0;t=0,i=0,n=0,l=0;e:for(;(l|0)!=64;)for(A=l+1|0,a=r+4+(l*20|0)|0,s=c+(l<<2)|0,o=A;;){if((o|0)==65){l=A;continue e}cA(p,a,r+4+(o*20|0)|0),e[w>>2]=e[p>>2],e[w+4>>2]=e[p+4>>2],e[w+8>>2]=e[p+8>>2],e[w+12>>2]=e[p+12>>2],m=xl(w)|0,m=m-(e[s>>2]|0)-(e[c+(o<<2)>>2]|0)|0,E=m>>>0>n>>>0,B=E?o:t,o=o+1|0,t=B,i=E?l:i,n=E?m:n}rd(r,i,0),rd(r,t,1),g=v}function rd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,n=r+1584+(t<<2)|0,e[n>>2]|0&&H0(139246,138881,257,139281),e[r+1324+(t<<2)>>2]=i,e[n>>2]=1,l=r+1844+(i<<2)|0,o=r+1852+(i<<4)|0,n=r+4+(t*20|0)|0,e[l>>2]|0?(cA(s,n,o),e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2]):(e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2]),e[r+1884+(i<<2)>>2]=xl(o)|0,e[l>>2]=(e[l>>2]|0)+1,g=A}function g10(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+1200|0,v=E+800|0,i=E,e[47397]=0,e[47398]=-2,t=v,o=200,a=i,w=0,p=0,c=v;e:for(;;){if($[c>>1]=w,(t+(o<<1)+-2|0)>>>0>c>>>0)s=o;else{if(A=c-t>>1,r=A+1|0,o>>>0>9999){m=95;break}switch(s=o<<1,s=s>>>0<1e4?s:1e4,n=Te(s*6|3)|0,n?(u2(n|0,t|0,r<<1|0)|0,o=n+(s>>>1<<2)|0,u2(o|0,a|0,r<<2|0)|0,(t|0)==(v|0)?(r=0,t=n):(r0(t),r=0,t=n)):(r=4,o=a),l=(r|0)==0,n=t+(A<<1)|0,(l?(t+(s<<1)+-2|0)>>>0>n>>>0?0:9:r)&15){case 9:{r=1,m=96;break e}case 4:{m=95;break e}case 0:{i=l?o+(A<<2)|0:i,a=o,c=l?n:c;break}default:{r=0;break e}}}if((w|0)==31){r=0,m=96;break}r=$[65534+(w<<1)>>1]|0,l=r<<16>>16;do if(r<<16>>16!=-82)if(n=e[47398]|0,(n|0)==-2&&(n=mo0()|0,e[47398]=n),(n|0)>=1?n>>>0<296?o=s0[139321+n>>0]|0:o=2:(e[47398]=0,o=0),n=o+l|0,n>>>0<=271&&(o|0)==(y[139617+n>>0]|0))if(w=y[139889+n>>0]|0,r=w<<24>>24,w<<24>>24<1){n=0-r|0,m=23;break}else{e[47398]=-2,i=i+4|0,e[i>>2]=e[47399],l=p|0?p+-1|0:0,n=c;break}else m=22;else m=22;while(0);if((m|0)==22)if(m=0,w=y[140161+w>>0]|0,n=w&255,w<<24>>24)m=23;else{n=e[47398]|0;r:do switch(p|0){case 0:{e[47397]=(e[47397]|0)+1,id(143761),n=c;break}case 3:if((n|0)<1)if(n){n=c;break r}else{r=1,m=96;break e}else{e[47398]=-2,n=c;break r}default:n=c}while(0);for(;r<<16>>16!=8;){if((n|0)==(t|0)){r=1,m=96;break e}r=n+-2|0,i=i+-4|0,n=r,r=$[65534+($[r>>1]<<1)>>1]|0}i=i+4|0,e[i>>2]=e[47399],r=1,l=3}do if((m|0)==23){m=0,l=s0[140277+n>>0]|0,r=e[i+(1-l<<2)>>2]|0;do switch(n|0){case 4:{m=26;break e}case 2:{e[47400]=LG(e[i+-4>>2]|0,2)|0;break}case 3:{e[47400]=LG(e[i+-4>>2]|0,1)|0;break}case 5:{r=RG()|0;break}case 8:{y10(e[47401]|0);break}case 9:{GG(e[i>>2]|0);break}case 18:{hA(e[i>>2]|0);break}case 19:{wA();break}case 20:{hA(e[i>>2]|0);break}case 21:{wA();break}case 22:{hA(e[i>>2]|0);break}case 23:{wA();break}case 24:{hA(e[i>>2]|0);break}case 25:{wA();break}case 26:{hA(e[i>>2]|0);break}case 27:{wA();break}case 28:{hA(e[i>>2]|0);break}case 29:{wA();break}case 30:{hA(e[i>>2]|0);break}case 31:{wA();break}case 32:{hA(e[i>>2]|0);break}case 33:{wA();break}case 34:{r=e[i+-4>>2]|0;break}case 35:{r=e[i>>2]|0;break}case 38:{if(r=e[47401]|0,o=e[r+4>>2]|0,o>>>0>=(e[r+8>>2]|0)>>>0&&(Xe(r,1)|0,o=e[47401]|0,r=o,o=e[o+4>>2]|0),y[o>>0]=0,w=e[r>>2]|0,e[r+4>>2]=w,ZG(w)|0){m=51;break e}e[(e[i>>2]|0)+80>>2]=e[47402],r=at(56032,e[4580]|0)|0,e[(e[i>>2]|0)+84>>2]=r,e[47402]=e[i>>2],e[(e[i>>2]|0)+108>>2]=e[e[47403]>>2],r=e[i>>2]|0;break}case 39:{if(r=e[47401]|0,o=e[r+4>>2]|0,o>>>0>=(e[r+8>>2]|0)>>>0&&(Xe(r,1)|0,o=e[47401]|0,r=o,o=e[o+4>>2]|0),y[o>>0]=0,w=e[r>>2]|0,e[r+4>>2]=w,ZG(w)|0){m=56;break e}r=e[47402]|0,e[47402]=e[r+80>>2];break}case 40:{r=e[i>>2]|0;break}case 41:{r=e[i+-4>>2]|0;break}case 42:{r=e[i+-4>>2]|0;break}case 43:{r=e[i+-4>>2]|0;break}case 44:{r=e[i+-4>>2]|0;break}case 45:{r=e[i+-4>>2]|0;break}case 48:{r=e[i>>2]|0;break}case 49:{r=e[i>>2]|0;break}case 50:{y[(e[i+-8>>2]|0)+12>>0]=1,r=e[i>>2]|0;break}case 51:{C10();break}case 52:{r=E10()|0;break}case 53:{r=e[i>>2]|0;break}case 54:{r=e[i>>2]|0;break}case 55:{r=(e[i+-8>>2]|0)+100|0,y[r>>0]=y[r>>0]|1,r=e[i>>2]|0;break}case 56:{td(e[i+-4>>2]|0,e[i>>2]|0,1);break}case 57:{r=e[i+-12>>2]|0;break}case 58:{td(e[i+-4>>2]|0,e[i>>2]|0,2);break}case 59:{r=e[i+-12>>2]|0;break}case 60:{td(e[i+-4>>2]|0,e[i>>2]|0,3);break}case 61:{r=e[i+-12>>2]|0;break}case 62:{td(e[i>>2]|0,RG()|0,2);break}case 63:{r=e[i+-8>>2]|0;break}case 64:{r=e[i+-4>>2]|0;break}case 65:{r=e[i>>2]|0;break}default:}while(0);if(o=0-l|0,w=i+(o<<2)|0,o=c+(o<<1)|0,i=w+4|0,e[w+4>>2]=r,r=(s0[140449+n>>0]|0)+-41|0,w=$[o>>1]|0,n=w+($[65766+(r<<1)>>1]|0)|0,n>>>0<272&&(y[139617+n>>0]|0)==(w|0)){r=y[139889+n>>0]|0,l=p,n=o;break}r=y[140519+r>>0]|0,l=p,n=o}while(0);o=s,w=r,p=l,c=n+2|0}return(m|0)==26?(Jy(),r=1,m=96):(m|0)==51?(id(140347),Jy(),r=1,m=96):(m|0)==56?(id(140398),Jy(),r=1,m=96):(m|0)==95&&(id(140558),r=2,m=96),(m|0)==96&&(t|0)!=(v|0)&&r0(t),g=E,r|0}function LG(r,t){r=r|0,t=t|0;var i=0;return i=j0(8)|0,y[i+4>>0]=t,e[i>>2]=r,i|0}function Jy(){var r=0,t=0;for(r=e[47402]|0,t=e[47400]|0,t|0&&(Yy(t,1),e[47400]=0),e[14021]=67;r;)t=e[r+80>>2]|0,WG(r),r=t;e[14021]=56,e[14030]=68,t=e[47405]|0,oe[e[t>>2]&63](t,0,64)|0,e[14030]=56,e[14039]=69,t=e[47406]|0,oe[e[t>>2]&63](t,0,64)|0,e[14039]=56,z10()}function RG(){var r=0,t=0,i=0,n=0,o=0,l=0;i=e[47406]|0,n=j0(40)|0,sn(e[47405]|0)|0&&GG(0),r=sn(i)|0,$[n+4>>1]=r;e:do if(!r)r=i;else for(e[n>>2]=j0(r*24|0)|0,r=0,t=oe[e[i>>2]&63](i,0,128)|0;;){if(!t){r=i;break e}o=(e[n>>2]|0)+(r*24|0)|0,l=t+8|0,e[o>>2]=e[l>>2],e[o+4>>2]=e[l+4>>2],e[o+8>>2]=e[l+8>>2],e[o+12>>2]=e[l+12>>2],e[o+16>>2]=e[l+16>>2],e[o+20>>2]=e[l+20>>2],r=r+1|0,t=oe[e[i>>2]&63](i,t,8)|0}while(0);return oe[e[r>>2]&63](i,0,64)|0,n|0}function y10(r){r=r|0;var t=0,i=0,n=0;i=j0(64)|0,n=r+4|0,t=e[n>>2]|0,t>>>0>=(e[r+8>>2]|0)>>>0&&(Xe(r,1)|0,t=e[n>>2]|0),y[t>>0]=0,r=e[r>>2]|0,e[n>>2]=r,e[i+8>>2]=C2(r)|0,e[i+12>>2]=e[e[47403]>>2],n=e[47405]|0,oe[e[n>>2]&63](n,i,1)|0}function GG(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;l=j0(32)|0,s=e[47405]|0,t=sn(s)|0,A=l+8|0,y[l+14>>0]=r;e:do if(!t)e[A>>2]=j0(56)|0,$[l+12>>1]=1,o=C2(195059)|0,A=e[A>>2]|0,e[A>>2]=o,e[A+4>>2]=e[e[47403]>>2];else for($[l+12>>1]=t,e[A>>2]=j0(t*56|0)|0,r=0,t=Mt(s)|0;;){if(!t)break e;i=(e[A>>2]|0)+(r*56|0)|0,n=t+8|0,o=i+56|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));r=r+1|0,t=e[t>>2]|0}while(0);oe[e[s>>2]&63](s,0,64)|0,A=e[47406]|0,oe[e[A>>2]&63](A,l,1)|0}function hA(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+32|0,l=A,s=j0(8)|0,o=e[e[47403]>>2]|0,e[l>>2]=e[r>>2],e[l+4>>2]=e[r+4>>2],e[l+8>>2]=e[r+8>>2],e[l+12>>2]=e[r+12>>2],e[l+16>>2]=e[r+16>>2],e[l+20>>2]=e[r+20>>2],e[l+24>>2]=e[r+24>>2],e[l+28>>2]=e[r+28>>2],o|0&&(r=l+4|0,!(e[r>>2]|0)&&(t=e[o+4>>2]|0,t|0)&&(e[r>>2]=t),r=l+16|0,+u[r>>3]<0&&(i=+u[o+16>>3],i>=0)&&(u[r>>3]=i),!(e[l>>2]|0)&&(n=e[o>>2]|0,n|0)&&(e[l>>2]=n),r=e[o+24>>2]&127,r|0&&(o=l+24|0,n=e[o>>2]|0,e[o>>2]=n&127|r|n&-128)),o=e[(e[47404]|0)+144>>2]|0,e[s>>2]=oe[e[o>>2]&63](o,l,1)|0,e[s+4>>2]=e[47403],e[47403]=s,g=A}function wA(){var r=0,t=0;t=e[47403]|0,r=e[t+4>>2]|0,r0(t),e[47403]=r}function ZG(r){r=r|0;for(var t=0;;){if(t=y[r>>0]|0,!(t<<24>>24)){r=0;break}if(t<<24>>24==32)r=r+1|0;else{r=1;break}}return r|0}function C10(){var r=0,t=0,i=0;i=at(56068,e[4580]|0)|0,r=e[47402]|0,t=j0(16)|0,e[t+8>>2]=i,y[r+112>>0]&2&&(y[t+12>>0]=1),i=e[r+84>>2]|0,oe[e[i>>2]&63](i,t,1)|0}function E10(){var r=0;return r=e[(e[47402]|0)+84>>2]|0,oe[e[r>>2]&63](r,0,256)|0}function td(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;o=j0(16)|0,n=e[47402]|0,l=e[n+84>>2]|0,l=e[(oe[e[l>>2]&63](l,0,256)|0)+8>>2]|0,e[o+8>>2]=r,oe[e[l>>2]&63](l,o,1)|0,y[r+92>>0]=i,y[n+112>>0]&1&&(y[r+100>>0]=1),e[r+88>>2]=t}function B10(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function I10(r,t,i){r=r|0,t=t|0,i=i|0,Fr(e[t+8>>2]|0)|0,r0(t)}function x10(r,t,i){r=r|0,t=t|0,i=i|0,L10(e[t+8>>2]|0),r0(t)}function WG(r){r=r|0,Fr(e[r+84>>2]|0)|0,$w(r),r0(r)}function S10(r,t,i){r=r|0,t=t|0,i=i|0,r0(e[t+8>>2]|0),r0(t)}function _10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(o=t+12|0,r=$[o>>1]|0,r<<16>>16){for(l=t+8|0,i=0,n=e[l>>2]|0;!((i|0)>=(r<<16>>16|0));)r0(e[n>>2]|0),i=i+1|0,n=n+56|0,r=$[o>>1]|0;r0(e[l>>2]|0)}r0(t)}function z10(){var r=0,t=0;for(r=e[47403]|0;t=e[r+4>>2]|0,!!t;)r0(r),r=t}function L10(r){r=r|0;var t=0;switch(t=r+88|0,y[r+92>>0]|0){case 1:{WG(e[t>>2]|0);break}case 2:{KR(e[t>>2]|0);break}default:}$w(r),r0(r)}function R10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return o=g,g=g+160|0,n=o+8|0,l=o,e[l>>2]=0,e[l+4>>2]=0,e[47403]=l,e[47402]=0,e[47400]=0,e[47404]=e[(e[(e[i+52>>2]|0)+16>>2]|0)+144>>2],e[47405]=at(56104,e[4580]|0)|0,e[47406]=at(56140,e[4580]|0)|0,Ot(n,128,o+24|0),e[47401]=n,G10(r,n,i)|0||(g10()|0,e[t>>2]=vo0()|0,r=e[47400]|0),Fr(e[47405]|0)|0,Fr(e[47406]|0)|0,e[47405]=0,e[47406]=0,e[47403]=0,Vt(n),g=o,r|0}function id(r){r=r|0;var t=0,i=0,n=0;i=g,g=g+16|0,t=i,y[189661]|0||(y[189661]=1,n=Uy()|0,e[t>>2]=r,e[t+4>>2]=n,$0(1,140575,t)|0,DG()),g=i}function Uy(){return zl0(e[47407]|0)|0}function DG(){var r=0,t=0,i=0,n=0;n=g,g=g+16|0,i=n,r=e[47410]|0,e[r+4>>2]=e[r>>2],t=e[47419]|0,(t|0)>0&&(B9(r,e[47417]|0,t)|0,r=e[47410]|0),B9(r,e[47416]|0,e[47418]|0)|0,t=e[47410]|0,r=e[t+4>>2]|0,r>>>0>=(e[t+8>>2]|0)>>>0&&(Xe(t,1)|0,r=e[47410]|0,t=r,r=e[r+4>>2]|0),e[t+4>>2]=r+1,y[r>>0]=0,r=e[47410]|0,t=e[r>>2]|0,e[r+4>>2]=t,e[i>>2]=t,$0(3,140591,i)|0,g=n}function G10(r,t,i){return r=r|0,t=t|0,i=i|0,e[47410]=t,Ot(189644,128,0),e[47408]=r,y[189663]=0,y[189660]=0,y[189661]=0,e[47418]=0,e[47419]=0,y[189662]=1,i=i+52|0,t=rl0(bd0(s0[(e[(e[i>>2]|0)+16>>2]|0)+115>>0]|0)|0)|0,e[47407]=t,ml0(t,e[(e[(e[i>>2]|0)+16>>2]|0)+144>>2]|0),gl0(e[47407]|0,70,27),yl0(e[47407]|0,71),0}function Z10(r,t,i){r=r|0,t=t|0,i=i|0;do if(!(De(t,140603)|0))e[47399]=M10(i)|0,y[189662]=0,e[47409]=286;else{if(De(t,140609)|0&&De(t,140612)|0){if(!(De(t,140615)|0)){y[189662]=1,e[47399]=j10(i)|0,e[47409]=287;break}if(!(De(t,140623)|0)){e[47399]=dA(r,i,0)|0,e[47409]=288;break}if(!(De(t,140628)|0)){e[47399]=dA(r,0,1)|0,e[47409]=290;break}if(!(De(t,140644)|0)){e[47399]=dA(r,0,32)|0,e[47409]=295;break}if(!(De(t,140630)|0)){e[47399]=dA(r,0,4)|0,e[47409]=291;break}if(!(De(t,140632)|0)){e[47399]=dA(r,0,64)|0,e[47409]=292;break}if(!(De(t,140634)|0)){e[47399]=dA(r,0,2)|0,e[47409]=289;break}if(!(De(t,140636)|0)){e[47399]=dA(r,0,8)|0,e[47409]=293;break}if(!(De(t,140640)|0)){e[47399]=dA(r,0,16)|0,e[47409]=294;break}if(!(De(t,140646)|0)){N10(i),e[47409]=283;break}if(!(De(t,140649)|0)){e[47409]=277;break}if(!(De(t,140652)|0)){e[47409]=280;break}if(!(De(t,140655)|0)){e[47399]=Q10(i)|0,e[47409]=285;break}if(De(t,140618)|0){MG(t);break}else{e[47409]=262;break}}y[189662]=0,e[47409]=260}while(0)}function W10(r,t){r=r|0,t=t|0;do if(!(De(t,140603)|0))e[47409]=264,y[189662]=1;else{if(De(t,140609)|0&&De(t,140612)|0){if(!(De(t,140615)|0)){e[47409]=265,y[189662]=0;break}if(!(De(t,140618)|0)){e[47409]=263;break}if(!(De(t,140623)|0)){e[47409]=266;break}if(!(De(t,140628)|0)){e[47409]=270;break}if(!(De(t,140630)|0)){e[47409]=271;break}if(!(De(t,140632)|0)){e[47409]=272;break}if(!(De(t,140634)|0)){e[47409]=269;break}if(!(De(t,140636)|0)){e[47409]=273;break}if(!(De(t,140640)|0)){e[47409]=274;break}if(!(De(t,140644)|0)){e[47409]=275;break}if(!(De(t,140646)|0)){e[47409]=(e[47409]|0)==283?282:258;break}if(!(De(t,140649)|0)){e[47409]=(e[47409]|0)==277?276:278;break}if(!(De(t,140652)|0)){e[47409]=(e[47409]|0)==280?279:281;break}if(De(t,140655)|0){MG(t);break}else{e[47409]=(e[47409]|0)==285?284:259;break}}e[47409]=261}while(0)}function D10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(y[189662]|0){for(r=0;i;)l=t+1|0,o=y[t>>0]|0,(o&255)>31&&(t=e[47410]|0,n=e[t+4>>2]|0,n>>>0>=(e[t+8>>2]|0)>>>0&&(Xe(t,1)|0,n=e[47410]|0,t=n,n=e[n+4>>2]|0),e[t+4>>2]=n+1,y[n>>0]=o,r=r+1|0),t=l,i=i+-1|0;r|0&&(e[47409]=267)}}function MG(r){r=r|0;var t=0,i=0,n=0;t=g,g=g+16|0,i=t,e[47409]=268,y[189661]=1,n=Uy()|0,e[i>>2]=r,e[i+4>>2]=n,$0(1,140659,i)|0,g=t}function M10(r){r=r|0;var t=0;return t=j0(120)|0,e[t+100>>2]=-1,y[t+88>>0]=-1,V3(t,56400,22,r,141611),t|0}function j10(r){r=r|0;var t=0;return t=j0(104)|0,$[t+80>>1]=1,$[t+82>>1]=1,V3(t,56224,22,r,140965),t|0}function dA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=g,g=g+32|0,n=o,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,e[n+20>>2]=0,e[n+24>>2]=0,e[n+28>>2]=0,u[n+16>>3]=-1,e[n+24>>2]=i&127,t|0&&V3(n,56200,3,t,140816),i=e[r+144>>2]|0,n=oe[e[i>>2]&63](i,n,1)|0,g=o,n|0}function N10(r){r=r|0,e[47399]=0,V3(189596,56192,1,r,140752)}function Q10(r){r=r|0;var t=0;return t=j0(40)|0,V3(t,56176,2,r,140698),t|0}function V3(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+16|0,c=w,a=w+8|0;A=e[n>>2]|0,!!A;)l=e[n+4>>2]|0,e[a>>2]=A,s=Oc(a,t,i,8,104)|0,s?(l=ke[e[s+4>>2]&127](r,l)|0,l=(l|(s0[189660]|0))&255):(e[c>>2]=A,e[c+4>>2]=o,$0(0,140704,c)|0,l=1),y[189660]=l,n=n+8|0;g=w}function T10(r,t){return r=r|0,t=t|0,De(e[r>>2]|0,e[t>>2]|0)|0}function F10(r,t){return r=r|0,t=t|0,e[r+36>>2]=C2(t)|0,0}function P10(r,t){return r=r|0,t=t|0,e[r+32>>2]=C2(t)|0,0}function Y10(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;switch(s=g,g=g+16|0,o=s,n=(Nf(y[t>>0]|0)|0)<<24>>24,n|0){case 82:{i=t+1|0,De(i,140763)|0?l=5:(e[r>>2]=114,i=0);break}case 76:{l=6;break}default:i=t+1|0,l=5}do if((l|0)==5)if(!(De(i,140768)|0))l=6;else{if((n|0)!=67&&!(De(i,140772)|0)){e[o>>2]=t,$0(0,140778,o)|0,i=1;break}e[r>>2]=110,i=0}while(0);return(l|0)==6&&(e[r>>2]=108,i=0),g=s,i|0}function O10(r,t){return r=r|0,t=t|0,e[r+4>>2]=t,0}function V10(r,t){return r=r|0,t=t|0,e[r>>2]=t,0}function H10(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,140845,0,255,i)|0?r=1:(u[r+16>>3]=+(e[i>>2]|0),r=0),g=n,r|0}function Sl(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0;c=g,g=g+48|0,a=c+24|0,A=c+8|0,s=c,w=c+36|0,l=Dk(r,w,10)|0;do if((e[w>>2]|0)!=(r|0)){if((l|0)>(n|0)){e[A>>2]=t,e[A+4>>2]=r,e[A+8>>2]=n,$0(0,140887,A)|0,r=1;break}if((l|0)<(i|0)){e[a>>2]=t,e[a+4>>2]=r,e[a+8>>2]=i,$0(0,140926,a)|0,r=1;break}else{e[o>>2]=l,r=0;break}}else e[s>>2]=t,e[s+4>>2]=r,$0(0,140856,s)|0,r=1;while(0);return g=c,r|0}function J10(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(Nf(y[t>>0]|0)|0)<<24>>24|0){case 76:{De(t+1|0,140768)|0?n=9:(r=r+36|0,$[r>>1]=$[r>>1]|4,r=0);break}case 82:{De(t+1|0,140763)|0?n=9:(r=r+36|0,$[r>>1]=$[r>>1]|2,r=0);break}case 84:{De(t+1|0,141563)|0?n=9:(r=r+36|0,$[r>>1]=$[r>>1]|6,r=0);break}case 67:{De(t+1|0,140772)|0?n=9:r=0;break}default:n=9}return(n|0)==9&&(e[i>>2]=t,$0(0,141567,i)|0,r=1),g=o,r|0}function U10(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(Nf(y[t>>0]|0)|0)<<24>>24|0){case 76:{De(t+1|0,140768)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|512,r=0);break}case 82:{De(t+1|0,140763)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|256,r=0);break}case 67:{De(t+1|0,140772)|0?n=7:r=0;break}default:n=7}return(n|0)==7&&(e[i>>2]=t,$0(0,141518,i)|0,r=1),g=o,r|0}function X10(r,t){return r=r|0,t=t|0,e[r+20>>2]=C2(t)|0,0}function q10(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141511,0,255,i)|0?r=1:(y[r+33>>0]=e[i>>2],r=r+36|0,$[r>>1]=$[r>>1]|32,r=0),g=n,r|0}function $10(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141499,0,255,i)|0?r=1:(y[r+34>>0]=e[i>>2],r=r+36|0,$[r>>1]=$[r>>1]|64,r=0),g=n,r|0}function K10(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141487,-128,127,i)|0?r=1:(y[r+32>>0]=e[i>>2],r=r+36|0,$[r>>1]=$[r>>1]|128,r=0),g=n,r|0}function b10(r,t){return r=r|0,t=t|0,e[r+24>>2]=C2(t)|0,0}function eo0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,n=o,i=o+4|0;do if(Sl(t,141442,0,65535,i)|0)t=1;else if(t=e[i>>2]|0,t){$[r+80>>1]=t,t=0;break}else{$0(0,141450,n)|0,t=1;break}while(0);return g=o,t|0}function ro0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(Nf(s0[t>>0]|0)|0)<<24>>24|0){case 84:{De(t+1|0,141391)|0?n=5:(r=r+36|0,$[r>>1]=$[r>>1]|1,r=0);break}case 70:{De(t+1|0,141395)|0?n=5:r=0;break}default:n=5}return(n|0)==5&&(e[i>>2]=t,$0(0,141400,i)|0,r=1),g=o,r|0}function to0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141377,0,360,i)|0?r=1:(e[r+28>>2]=e[i>>2]&65535,r=0),g=n,r|0}function io0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141370,0,65535,i)|0?r=1:($[r+40>>1]=e[i>>2],r=0),g=n,r|0}function no0(r,t){return r=r|0,t=t|0,e[r>>2]=C2(t)|0,0}function oo0(r,t){return r=r|0,t=t|0,e[r+16>>2]=C2(t)|0,0}function lo0(r,t){return r=r|0,t=t|0,e[r+4>>2]=C2(t)|0,0}function so0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,n=o,i=o+4|0;do if(Sl(t,141325,0,65535,i)|0)t=1;else if(t=e[i>>2]|0,t){$[r+82>>1]=t,t=0;break}else{$0(0,141333,n)|0,t=1;break}while(0);return g=o,t|0}function Ao0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,l=A,o=0;e:for(;;){r:for(;;){if(n=t+1|0,t=y[t>>0]|0,!(t<<24>>24))break e;switch(t=t<<24>>24,i=(Tl(t)|0)+-98|0,i>>>1|i<<31|0){case 5:{s=5;break r}case 9:{i=2048;break r}case 8:{s=6;break r}case 0:{s=7;break r}default:}e[l>>2]=t,e[l+4>>2]=t,$0(0,141272,l)|0,t=n}(s|0)==5?(s=0,i=1024):(s|0)==6?(s=0,i=4096):(s|0)==7&&(s=0,i=8192),t=n,o=o|i}return o<<16>>16!=15360&&(s=r+36|0,$[s>>1]=$[s>>1]|o),g=A,0}function uo0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,s=A+8|0,l=A,o=C2(t)|0,n=r+42|0,i=0,t=o;r=Qf(t,141182)|0,!!r;){if(((Nf(y[r>>0]|0)|0)&255|0)==82){if(t=r+1|0,!(De(t,141185)|0)){$[n>>1]=$[n>>1]|4,r=i,t=0,i=r;continue}if(De(t,141192)|0){e[l>>2]=r,$0(0,141198,l)|0,i=1,t=0;continue}else{$[n>>1]=$[n>>1]|2,r=i,t=0,i=r;continue}}if(!(De(r,141236)|0)){$[n>>1]=$[n>>1]&-385,r=i,t=0,i=r;continue}if(De(r,141242)|0&&De(r,141252)|0){if(!(De(r,141258)|0)){$[n>>1]=$[n>>1]|128,r=i,t=0,i=r;continue}if(De(r,141265)|0){e[s>>2]=r,$0(0,141198,s)|0,i=1,t=0;continue}else{$[n>>1]=$[n>>1]|256,r=i,t=0,i=r;continue}}$[n>>1]=$[n>>1]|32,r=i,t=0,i=r}return r0(o),g=A,i|0}function fo0(r,t){return r=r|0,t=t|0,e[r+8>>2]=C2(t)|0,0}function ao0(r,t){return r=r|0,t=t|0,e[r+12>>2]=C2(t)|0,0}function co0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(Nf(y[t>>0]|0)|0)<<24>>24|0){case 66:{De(t+1|0,141128)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|16,r=0);break}case 84:{De(t+1|0,141134)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|8,r=0);break}case 77:{De(t+1|0,141137)|0?n=7:r=0;break}default:n=7}return(n|0)==7&&(e[i>>2]=t,$0(0,141143,i)|0,r=1),g=o,r|0}function ho0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141122,0,65535,i)|0?r=1:($[r+38>>1]=e[i>>2],r=0),g=n,r|0}function wo0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(Nf(y[t>>0]|0)|0)<<24>>24|0){case 76:{De(t+1|0,140768)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|4,r=0);break}case 82:{De(t+1|0,140763)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|2,r=0);break}case 67:{De(t+1|0,140772)|0?n=7:r=0;break}default:n=7}return(n|0)==7&&(e[i>>2]=t,$0(0,140778,i)|0,r=1),g=o,r|0}function do0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141720,0,127,i)|0?r=1:(y[r+88>>0]=e[i>>2],r=0),g=n,r|0}function po0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,(y[t>>0]|0)==42?(r=r+112|0,y[r>>0]=y[r>>0]|1,r=0):(e[i>>2]=t,$0(0,141680,i)|0,r=1),g=n,r|0}function ko0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,(y[t>>0]|0)==42?(r=r+112|0,y[r>>0]=y[r>>0]|2,r=0):(e[i>>2]=t,$0(0,141643,i)|0,r=1),g=n,r|0}function vo0(){var r=0;return r=(y[189661]|y[189660])<<24>>24,JG(e[47407]|0),Vt(189644),r|0}function mo0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,e[47409]=0,t=0;e:do{r:do switch(y[189663]|0){case 2:{r=-1;break e}case 0:{y[189663]=1,l=6,r=141732,t=0;break}default:if(r=e[47408]|0,y[r>>0]|0){t=go0(r)|0,l=t-r|0;break r}else{y[189663]=2,l=7,r=141739;break r}}while(0);e[47417]=e[47416],e[47419]=e[47418],e[47416]=r,e[47418]=l,i=e[47412]|0,n=i-(e[47411]|0)|0,o=e[47407]|0,n?(i>>>0<(e[47413]|0)>>>0?r=i:(Xe(189644,1)|0,r=e[47412]|0),y[r>>0]=0,r=e[47411]|0,e[47412]=r,r=vZ(o,r,n,0)|0):r=vZ(o,r,l,(l|0)==0&1)|0,(r|0)!=0|(y[189661]|0)!=0||(o=Ll0(_l0(e[47407]|0)|0)|0,l=Uy()|0,e[s>>2]=o,e[s+4>>2]=l,$0(1,140575,s)|0,DG(),y[189661]=1,e[47409]=268),t|0&&(e[47408]=t),r=e[47409]|0}while(!(r|0));return g=A,r|0}function go0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+16|0,n=l,t=r+1|0,i=y[r>>0]|0;e:do if(i<<24>>24==60){i=y[t>>0]|0,i<<24>>24==33?Yr(r+2|0,141747,2)|0?(i=t,o=5):(i=yo0(r+4|0)|0,t=i,i=y[i>>0]|0,o=8):o=6;r:for(;;)if((o|0)==5){t=i,i=y[i>>0]|0,o=6;continue}else if((o|0)==6){switch(i<<24>>24){case 62:case 0:{o=8;continue r}default:}i=t+1|0,o=5;continue}else if((o|0)==8)if(i<<24>>24==62){o=10;break}else{o=9;break}if((o|0)==9){$0(0,141750,n)|0,y[189660]=1;break}else if((o|0)==10){t=t+1|0;break}}else for(t=r,r=i;;){switch(r<<24>>24){case 60:case 0:break e;case 38:{i=t+1|0,(y[i>>0]|0)==35?o=15:i=Av0(i,189644)|0;break}default:o=15}(o|0)==15&&(o=0,i=e[47412]|0,i>>>0>=(e[47413]|0)>>>0&&(Xe(189644,1)|0,i=e[47412]|0),e[47412]=i+1,y[i>>0]=r,i=t+1|0),t=i,r=y[i>>0]|0}while(0);return g=l,t|0}function yo0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+16|0,A=a,o=1,t=r;e:for(;;){n=(o|0)==0,i=t;r:for(;;){if(n)break e;switch(l=i+1|0,y[i>>0]|0){case 0:{t=l;break e}case 60:{s=5;break r}case 62:{t=-1;break r}default:i=l}}(s|0)==5&&(s=0,t=1),o=o+t|0,t=l}i=t+-1|0;do if(y[i>>0]|0){if(t=t+-3|0,t>>>0>=r>>>0&&!(Yr(t,141747,2)|0))break;$0(0,141791,A)|0,y[189660]=1}while(0);return g=a,i|0}function jG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l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[o+8>>2]=e[w+8>>2],e[o+12>>2]=e[w+12>>2],e[l>>2]=e[c>>2],e[l+4>>2]=e[c+4>>2],e[l+8>>2]=e[c+8>>2],e[l+12>>2]=e[c+12>>2],e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],(kA(o,l,s)|0)==1){r=0;break}else r=r+1|0}return g=a,r|0}function Xy(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(x=g,g=g+64|0,w=x+48|0,c=x+32|0,E=4,a=Te(40)|0,e[a>>2]=0,p=x+16|0,v=x,m=e[i>>2]|0,A=e[i+4>>2]|0,E=il(189680,1,a|0,E|0)|0,a=b,v0=0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,E|0,a|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1?i=b:i=0;;){if(i|0){i=-1;break}if(v0=0,e[w>>2]=e[n>>2],e[w+4>>2]=e[n+4>>2],e[w+8>>2]=e[n+8>>2],e[w+12>>2]=e[n+12>>2],On(28,p|0,w|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,E|0,a|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){i=b;continue}if(e[n>>2]=e[p>>2],e[n+4>>2]=e[p+4>>2],e[n+8>>2]=e[p+8>>2],e[n+12>>2]=e[p+12>>2],s=n+16|0,v0=0,e[w>>2]=e[s>>2],e[w+4>>2]=e[s+4>>2],e[w+8>>2]=e[s+8>>2],e[w+12>>2]=e[s+12>>2],On(28,v|0,w|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,E|0,a|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){i=b;continue}if(e[s>>2]=e[v>>2],e[s+4>>2]=e[v+4>>2],e[s+8>>2]=e[v+8>>2],e[s+12>>2]=e[v+12>>2],e[47459]=0,v0=0,Tr(115,4),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,E|0,a|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){i=b;continue}if(l=e[47460]|0,i=e[47459]|0,e[47459]=i+1,i=l+(i<<4)|0,e[i>>2]=e[m>>2],e[i+4>>2]=e[m+4>>2],e[i+8>>2]=e[m+8>>2],e[i+12>>2]=e[m+12>>2],v0=0,e[c>>2]=e[n>>2],e[c+4>>2]=e[n+4>>2],e[c+8>>2]=e[n+8>>2],e[c+12>>2]=e[n+12>>2],e[w>>2]=e[s>>2],e[w+4>>2]=e[s+4>>2],e[w+8>>2]=e[s+8>>2],e[w+12>>2]=e[s+12>>2],i=zr0(1,r|0,t|0,m|0,A|0,c|0,w|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,E|0,a|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)==1)i=b;else{B=8;break}}return(B|0)==8&&((i|0)==-1?i=-1:(e[o+4>>2]=e[47459],e[o>>2]=e[47460],i=0)),r0(E|0),g=x,i|0}function od(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;i=+u[t>>3],n=t+8|0,o=+u[n>>3],s=o*o+i*i,l=+G0(+s),s>1e-6&&(u[t>>3]=i/l,u[n>>3]=o/l),e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function qy(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+32|0,n=o+16|0,i=o,(e[47463]|0)<(r|0)&&(t=e[47460]|0,t?(i=O2(t,r<<4)|0,e[47460]=i,i||(i=e[15712]|0,e[n>>2]=141831,e[n+4>>2]=537,e[n+8>>2]=141984,A2(i,141839,n)|0,ie(189680,1))):(n=Te(r<<4)|0,e[47460]=n,n||(n=e[15712]|0,e[i>>2]=141831,e[i+4>>2]=531,e[i+8>>2]=141966,A2(n,141839,i)|0,ie(189680,1))),e[47463]=r),g=o}function $y(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0;F0=g,g=g+336|0,H=F0+320|0,Y=F0+304|0,L=F0+144|0,m=F0+128|0,q=F0+112|0,t0=F0+96|0,Z0=F0+80|0,T=F0+64|0,P=F0+48|0,f0=F0+32|0,k0=F0+16|0,B0=F0,G=F0+288|0,W=F0+272|0,N=F0+256|0,D=F0+240|0,U=F0+224|0,J=F0+208|0,D0=F0+192|0,J0=F0+176|0,V0=F0+160|0,s=e[47462]|0;do if((e[47461]|0)<(n|0)){if(s){if(s=O2(s,n*40|0)|0,e[47462]=s,!s){s=-1;break}}else if(s=Te(n*40|0)|0,e[47462]=s,!s){s=-1;break}e[47461]=n,a=6}else a=6;while(0);if((a|0)==6){for(u[s>>3]=0,a=1,A=0;!((a|0)>=(n|0));)w=i+(a<<4)|0,F=i+(a+-1<<4)|0,e[Y>>2]=e[w>>2],e[Y+4>>2]=e[w+4>>2],e[Y+8>>2]=e[w+8>>2],e[Y+12>>2]=e[w+12>>2],e[H>>2]=e[F>>2],e[H+4>>2]=e[F+4>>2],e[H+8>>2]=e[F+8>>2],e[H+12>>2]=e[F+12>>2],_=+Ky(Y,H)+A,u[s+(a*40|0)>>3]=_,a=a+1|0,A=_;for(F=n+-1|0,w=s+(F*40|0)|0,a=1;!((a|0)>=(n|0));)b0=s+(a*40|0)|0,u[b0>>3]=+u[b0>>3]/+u[w>>3],a=a+1|0;for(a=0;!((a|0)>=(n|0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0,n=0;return i=+u[t>>3]-+u[r>>3],n=+u[t+8>>3]-+u[r+8>>3],+ +G0(+(n*n+i*i))}function NG(r){r=+r;var t=0;return t=1-r,+(t*t*(r*3))}function pA(r,t,i){r=r|0,t=t|0,i=+i;var n=0;u[t>>3]=+u[t>>3]*i,n=t+8|0,u[n>>3]=+u[n>>3]*i,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function QG(r){return r=+r,+(r*r*3*(1-r))}function Bo0(r,t,i,n,o,l,s,A,a){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0;var c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0;for(q=g,g=g+128|0,D=q+112|0,_=q+80|0,z=q,E=q+96|0,B=q+64|0,x=q+48|0,P=q+32|0,U=q+16|0,J=r+(t+-1<<4)|0,m=0,L=0,G=0,W=0,N=0,T=0;!((m|0)>=(t|0));)f0=i+(m*40|0)+8|0,e[_>>2]=e[f0>>2],e[_+4>>2]=e[f0+4>>2],e[_+8>>2]=e[f0+8>>2],e[_+12>>2]=e[f0+12>>2],e[D>>2]=e[f0>>2],e[D+4>>2]=e[f0+4>>2],e[D+8>>2]=e[f0+8>>2],e[D+12>>2]=e[f0+12>>2],t0=+X3(_,D)+G,H=i+(m*40|0)+24|0,e[_>>2]=e[f0>>2],e[_+4>>2]=e[f0+4>>2],e[_+8>>2]=e[f0+8>>2],e[_+12>>2]=e[f0+12>>2],e[D>>2]=e[H>>2],e[D+4>>2]=e[H+4>>2],e[D+8>>2]=e[H+8>>2],e[D+12>>2]=e[H+12>>2],v=+X3(_,D)+T,e[_>>2]=e[H>>2],e[_+4>>2]=e[H+4>>2],e[_+8>>2]=e[H+8>>2],e[_+12>>2]=e[H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=z,U=c*.3333333333333333,u[G>>3]=U*L+W,u[m>>3]=U*v+z,U=a*.3333333333333333,u[x>>3]=E-U*B,u[n>>3]=p-U*w,u[o>>3]=E,u[l>>3]=p,i&&(U=+TG(D,4),U<+TG(s,A)+-.001)){i=0;break}if(_o0(r,t,D)|0){T=5;break}if(c==0&a==0){T=9;break}J=c>.01,i=0,a=J?a*.5:0,c=J?c*.5:0}e:do if((T|0)==5)for(qy((e[47459]|0)+4|0),n=e[47460]|0,i=1;;){if((i|0)==4){i=1;break e}J=e[47459]|0,u[n+(J<<4)>>3]=+u[D+(i<<4)>>3],U=+u[D+(i<<4)+8>>3],e[47459]=J+1,u[n+(J<<4)+8>>3]=U,i=i+1|0}else if((T|0)==9)if(N)for(qy((e[47459]|0)+4|0),n=e[47460]|0,i=1;;){if((i|0)==4){i=1;break e}J=e[47459]|0,u[n+(J<<4)>>3]=+u[D+(i<<4)>>3],U=+u[D+(i<<4)+8>>3],e[47459]=J+1,u[n+(J<<4)+8>>3]=U,i=i+1|0}else i=0;while(0);return g=P,i|0}function by(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;u[t>>3]=+u[t>>3]+ +u[i>>3],n=t+8|0,u[n>>3]=+u[n>>3]+ +u[i+8>>3],e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function ld(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;u[t>>3]=+u[t>>3]-+u[i>>3],n=t+8|0,u[n>>3]=+u[n>>3]-+u[i+8>>3],e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function xo0(r){return r=+r,r=1-r,+(r*r*r)}function So0(r){return r=+r,+(r*r*r)}function TG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(i=0,n=1;!((n|0)>=(t|0));)s=n+-1|0,o=+u[r+(n<<4)>>3]-+u[r+(s<<4)>>3],l=+u[r+(n<<4)+8>>3]-+u[r+(s<<4)+8>>3],i=+G0(+(l*l+o*o))+i,n=n+1|0;return+i}function _o0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;P=g,g=g+64|0,x=P+32|0,z=P,L=z+16|0,W=i+16|0,N=i+32|0,T=i+48|0,D=i+8|0,l=i+24|0,s=i+40|0,A=i+56|0,a=z+8|0,c=z+24|0,o=0;e:for(;;){if((o|0)>=(t|0)){n=1;break}w=r+(o<<5)|0,e[z>>2]=e[w>>2],e[z+4>>2]=e[w+4>>2],e[z+8>>2]=e[w+8>>2],e[z+12>>2]=e[w+12>>2],w=r+(o<<5)+16|0,e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],w=zo0(i,z,x)|0;r:do if((w|0)!=4)for(p=+u[z>>3],v=+u[a>>3],m=+u[L>>3],E=+u[c>>3],n=0;;){if((n|0)>=(w|0))break r;if(B=+u[x+(n<<3)>>3],!(B<1e-6|B>.999999)&&(G=B*B*B,J=B*3,U=1-B,B=J*B*U,_=U*U,J=_*J,U=_*U,_=+u[W>>3]*J+ +u[i>>3]*U+ +u[N>>3]*B+ +u[T>>3]*G,G=+u[l>>3]*J+ +u[D>>3]*U+ +u[s>>3]*B+ +u[A>>3]*G,B=_-p,U=G-v,!(U*U+B*B<.001))&&(J=_-m,U=G-E,!(U*U+J*J<.001))){n=0;break e}n=n+1|0}while(0);o=o+1|0}return g=P,n|0}function zo0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;_=g,g=g+96|0,B=_+48|0,x=_+24|0,a=_,z=_+80|0,v=+u[t>>3],l=+u[t+16>>3]-v,m=+u[t+8>>3],A=+u[t+24>>3]-m,e[z>>2]=0;e:do if(l!=0)if(A=A/l,c=r+16|0,w=r+32|0,p=r+48|0,J3(+u[r+8>>3]-+u[r>>3]*A,+u[r+24>>3]-+u[c>>3]*A,+u[r+40>>3]-+u[w>>3]*A,+u[r+56>>3]-+u[p>>3]*A,B),u[B>>3]=A*v-m+ +u[B>>3],n=e9(B,x)|0,(n|0)==4)t=4;else{for(o=B+8|0,s=B+16|0,a=B+24|0,l=1/l,t=0;!((t|0)>=(n|0));)A=+u[x+(t<<3)>>3],A>=0&A<=1&&(J3(+u[r>>3],+u[c>>3],+u[w>>3],+u[p>>3],B),m=(+u[B>>3]-v+((+u[a>>3]*A+ +u[s>>3])*A+ +u[o>>3])*A)*l,m>=0&m<=1)&&U3(A,i,z),t=t+1|0;t=e[z>>2]|0}else{if(J3(+u[r>>3],+u[r+16>>3],+u[r+32>>3],+u[r+48>>3],B),u[B>>3]=+u[B>>3]-v,E=e9(B,x)|0,A!=0){if((E|0)==4){t=4;break}for(c=r+8|0,w=r+24|0,p=r+40|0,n=r+56|0,o=B+8|0,s=B+16|0,a=B+24|0,l=1/A,t=0;!((t|0)>=(E|0));)A=+u[x+(t<<3)>>3],A>=0&A<=1&&(J3(+u[c>>3],+u[w>>3],+u[p>>3],+u[n>>3],B),v=(+u[B>>3]-m+((+u[a>>3]*A+ +u[s>>3])*A+ +u[o>>3])*A)*l,v>=0&v<=1)&&U3(A,i,z),t=t+1|0;t=e[z>>2]|0;break}J3(+u[r+8>>3],+u[r+24>>3],+u[r+40>>3],+u[r+56>>3],B),u[B>>3]=+u[B>>3]-m,s=e9(B,a)|0,t=(s|0)==4;r:do if((E|0)==4){if(t){t=4;break e}else t=0;for(;;){if((t|0)>=(s|0))break r;U3(+u[a+(t<<3)>>3],i,z),t=t+1|0}}else{if(t)for(t=0;;){if((t|0)>=(E|0))break r;U3(+u[x+(t<<3)>>3],i,z),t=t+1|0}else n=0;for(;;){if((n|0)>=(E|0))break r;for(o=x+(n<<3)|0,t=0;!((t|0)>=(s|0));)l=+u[o>>3],l==+u[a+(t<<3)>>3]&&U3(l,i,z),t=t+1|0;n=n+1|0}}while(0);t=e[z>>2]|0}while(0);return g=_,t|0}function J3(r,t,i,n,o){r=+r,t=+t,i=+i,n=+n,o=o|0,u[o+24>>3]=n-r+(t-i)*3,u[o+16>>3]=(i+r)*3-t*6,u[o+8>>3]=(t-r)*3,u[o>>3]=r}function U3(r,t,i){r=+r,t=t|0,i=i|0;var n=0;r>=0&r<=1&&(n=e[i>>2]|0,u[t+(n<<3)>>3]=r,e[i>>2]=n+1)}function X3(r,t){return r=r|0,t=t|0,+(+u[t+8>>3]*+u[r+8>>3]+ +u[t>>3]*+u[r>>3])}function Lo0(r){r=+r;var t=0;return t=1-r,+(t*t*(t+r*3))}function Ro0(r){return r=+r,+(r*r*((1-r)*3+r))}function FG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;U=g,g=g+112|0,T=U+80|0,N=U+64|0,W=U+48|0,P=4,D=Te(40)|0,e[D>>2]=0,x=U+32|0,z=U+16|0,_=U,L=U+96|0,P=il(189856,1,D|0,P|0)|0,D=b,v0=0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1?n=b:n=0;e:for(;;){if(n|0){n=-2;break}if(l=r+4|0,v0=0,Tr(116,e[l>>2]|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}if(e[47503]=0,e[47504]=0,v0=0,Tr(117,e[l>>2]<<1|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}for(c=(e[47506]|0)/2|0,e[47507]=c,e[47508]=c+-1,c=e[l>>2]|0,l=e[r>>2]|0,n=0,o=-1,s=Hr;!((n|0)>=(c|0));)J=+u[l+(n<<4)>>3],B=s>J,E=B?n:o,n=n+1|0,o=E,s=B?J:s;B=l+(o<<4)|0,e[z>>2]=e[B>>2],e[z+4>>2]=e[B+4>>2],e[z+8>>2]=e[B+8>>2],e[z+12>>2]=e[B+12>>2],B=l+((o|0?o:c)+-1<<4)|0,e[x>>2]=e[B>>2],e[x+4>>2]=e[B+4>>2],e[x+8>>2]=e[B+8>>2],e[x+12>>2]=e[B+12>>2],B=l+(((o|0)==(c+-1|0)?0:o+1|0)<<4)|0,e[_>>2]=e[B>>2],e[_+4>>2]=e[B+4>>2],e[_+8>>2]=e[B+8>>2],e[_+12>>2]=e[B+12>>2],J=+u[z>>3],+u[x>>3]==J&&J==+u[_>>3]&&+u[_+8>>3]>+u[z+8>>3]?B=15:B=12;r:do if((B|0)==12){if(B=0,v0=0,n=Yt(36,x|0,z|0,_|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,P|0,D|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if((n|0)==1)for(l=e[47510]|0,n=e[47511]|0,o=0;;){if((o|0)>=(c|0))break r;A=e[r>>2]|0,(o|0)>0&&(G=o+-1|0,+u[A+(o<<4)>>3]==+u[A+(G<<4)>>3])&&+u[A+(o<<4)+8>>3]==+u[A+(G<<4)+8>>3]||(E=e[47503]|0,e[l+(E<<3)>>2]=A+(o<<4),e[l+(E<<3)+4>>2]=l+(((E|0)%(c|0)|0)<<3),e[n+(E<<2)>>2]=l+(E<<3),e[47503]=E+1),o=o+1|0}else B=15}while(0);r:do if((B|0)==15)for(B=0,A=e[47510]|0,n=e[47511]|0,l=c;;){if(o=l+-1|0,(l|0)<=0)break r;if(a=e[r>>2]|0,(l|0)<(c|0)&&+u[a+(o<<4)>>3]==+u[a+(l<<4)>>3]&&+u[a+(o<<4)+8>>3]==+u[a+(l<<4)+8>>3]){l=o;continue}l=e[47503]|0,e[A+(l<<3)>>2]=a+(o<<4),e[A+(l<<3)+4>>2]=A+(((l|0)%(c|0)|0)<<3),e[n+(l<<2)>>2]=A+(l<<3),e[47503]=l+1,l=o}while(0);if(v0=0,On(29,n|0,e[47503]|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}A=0,n=e[47504]|0;r:for(;;){if((A|0)>=(n|0)){m=0;break}for(a=A+1|0,l=a;;){if((l|0)>=(n|0)){A=a;continue r}if(v0=0,On(30,A|0,l|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue e}l=l+1|0,n=e[47504]|0}}for(;!((m|0)>=(n|0));){if(v0=0,o=nt(105,m|0,t|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){n=b;continue e}if(o|0)break;m=m+1|0}if((m|0)==(n|0))if(n=e[15712]|0,v0=0,e[W>>2]=141858,e[W+4>>2]=192,e[W+8>>2]=141869,Yt(32,n|0,141839,W|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}else{B=41;break}for(E=t+16|0,a=0;!((a|0)>=(n|0));){if(v0=0,o=nt(105,a|0,E|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){n=b;continue e}if(o|0)break;a=a+1|0}if((a|0)==(n|0))if(n=e[15712]|0,v0=0,e[N>>2]=141858,e[N+4>>2]=200,e[N+8>>2]=141902,Yt(32,n|0,141839,N|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}else{B=48;break}if(v0=0,n=nt(106,m|0,a|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,P|0,D|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue}if(!n){if(n=e[15712]|0,v0=0,e[T>>2]=141858,e[T+4>>2]=207,e[T+8>>2]=141940,Yt(32,n|0,141839,T|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}if(v0=0,Tr(118,2),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}else{B=53;break}}if((m|0)==(a|0))if(v0=0,Tr(118,2),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}else{B=56;break}if(e[L>>2]=t,e[L+4>>2]=0,o=L+8|0,e[o>>2]=E,e[L+12>>2]=0,v0=0,On(31,1,L|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue}e[47509]=e[47507],p=m;r:for(;;){if((p|0)==-1){l=o,n=0;break}for(v=e[47513]|0,e[v+(p*52|0)>>2]=2,n=0;;){if((n|0)>=3){B=65;break}if(B=e[v+(p*52|0)+4+(n<<4)+12>>2]|0,B|0&&(e[B>>2]|0)==1){B=68;break}n=n+1|0}if((B|0)==65)if(B=0,(n|0)==3){if(n=e[47505]|0,a=e[n+(e[47508]<<2)>>2]|0,v0=0,n=Yt(36,E|0,e[e[n+(e[47507]<<2)>>2]>>2]|0,e[a>>2]|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){n=b;continue e}A=(n|0)==1,w=A?o:a,A=A?a:o}else B=68;if((B|0)==68){if(B=0,a=e[v+(p*52|0)+4+(n<<4)>>2]|0,c=e[v+(p*52|0)+4+(n<<4)+4>>2]|0,v0=0,n=Yt(36,e[a>>2]|0,e[e[v+(p*52|0)+4+(((n+1|0)%3|0)<<4)+4>>2]>>2]|0,e[c>>2]|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){n=b;continue e}A=(n|0)==1,w=A?a:c,A=A?c:a}do if((p|0)==(m|0)){if(v0=0,On(31,2,A|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,On(31,1,w|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}n=0}else{if(c=e[47505]|0,(e[c+(e[47507]<<2)>>2]|0)!=(w|0)&&(e[c+(e[47508]<<2)>>2]|0)!=(w|0)){if(v0=0,A=gt(34,w|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,On(32,2,A|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,On(31,1,w|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if((A|0)<=(e[47509]|0)){n=0;break}e[47509]=A,n=0;break}if(v0=0,a=gt(34,A|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,On(32,1,a|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,On(31,2,A|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if((a|0)>=(e[47509]|0)){n=0;break}e[47509]=a,n=0}while(0);for(;;){if((n|0)>=3){p=-1;continue r}if(l=e[v+(p*52|0)+4+(n<<4)+12>>2]|0,l|0&&(e[l>>2]|0)==1)break;n=n+1|0}p=(l-(e[47513]|0)|0)/52|0}for(;l;)l=e[l+4>>2]|0,n=n+1|0;if(v0=0,Tr(118,n|0),l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1)n=b;else{B=94;break}}if((B|0)==41)n=-1;else if((B|0)==48)n=-1;else if((B|0)==53)e[i+4>>2]=2,n=e[47512]|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],D=n+16|0,e[D>>2]=e[E>>2],e[D+4>>2]=e[E+4>>2],e[D+8>>2]=e[E+8>>2],e[D+12>>2]=e[E+12>>2],e[i>>2]=n,n=0;else if((B|0)==56)e[i+4>>2]=2,n=e[47512]|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],D=n+16|0,e[D>>2]=e[E>>2],e[D+4>>2]=e[E+4>>2],e[D+8>>2]=e[E+8>>2],e[D+12>>2]=e[E+12>>2],e[i>>2]=n,n=0;else if((B|0)==94){for(e[i+4>>2]=n,l=e[47512]|0;n=n+-1|0,!!o;)D=l+(n<<4)|0,T=e[o>>2]|0,e[D>>2]=e[T>>2],e[D+4>>2]=e[T+4>>2],e[D+8>>2]=e[T+8>>2],e[D+12>>2]=e[T+12>>2],o=e[o+4>>2]|0;e[i>>2]=l,n=0}return r0(P|0),g=U,n|0}function Go0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+64|0,n=s+48|0,l=s+32|0,o=s+16|0,i=s,(e[47516]|0)<(r|0)&&(t=e[47510]|0,t?(o=O2(t,r<<3)|0,e[47510]=o,o||(o=e[15712]|0,e[l>>2]=141858,e[l+4>>2]=533,e[l+8>>2]=142147,A2(o,141839,l)|0,ie(189856,1)),l=O2(e[47511]|0,r<<2)|0,e[47511]=l,l||(l=e[15712]|0,e[n>>2]=141858,e[n+4>>2]=539,e[n+8>>2]=142167,A2(l,141839,n)|0,ie(189856,1))):(l=Te(r<<3)|0,e[47510]=l,l||(l=e[15712]|0,e[i>>2]=141858,e[i+4>>2]=523,e[i+8>>2]=142108,A2(l,141839,i)|0,ie(189856,1)),l=Te(r<<2)|0,e[47511]=l,l||(l=e[15712]|0,e[o>>2]=141858,e[o+4>>2]=527,e[o+8>>2]=142127,A2(l,141839,o)|0,ie(189856,1))),e[47516]=r),g=s}function Zo0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+32|0,n=o+16|0,i=o,(e[47506]|0)<(r|0)&&(t=e[47505]|0,t?(i=O2(t,r<<2)|0,e[47505]=i,i||(i=e[15712]|0,e[n>>2]=141858,e[n+4>>2]=580,e[n+8>>2]=142085,A2(i,141839,n)|0,ie(189856,1))):(n=Te(r<<2)|0,e[47505]=n,n||(n=e[15712]|0,e[i>>2]=141858,e[i+4>>2]=573,e[i+8>>2]=142063,A2(n,141839,i)|0,ie(189856,1))),e[47506]=r),g=o}function W1(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=+u[t+8>>3],o=+u[t>>3],n=(+u[i>>3]-o)*(+u[r+8>>3]-n)-(+u[r>>3]-o)*(+u[i+8>>3]-n),(n>0?1:n<0?2:3)|0}function Wo0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A;e:for(;;){if((t|0)>3)n=0;else{t=9;break}for(;;){if((n|0)>=(t|0)){t=8;break e}if(o=n+1|0,i=(o|0)%(t|0)|0,l=(n+2|0)%(t|0)|0,!(Fo0(n,l,r,t)|0))n=o;else break}for(YG(e[r+(n<<2)>>2]|0,e[r+(i<<2)>>2]|0,e[r+(l<<2)>>2]|0),t=t+-1|0;;){if((i|0)>=(t|0))continue e;l=i+1|0,e[r+(i<<2)>>2]=e[r+(l<<2)>>2],i=l}}(t|0)==8?(r=e[15712]|0,e[s>>2]=141858,e[s+4>>2]=324,e[s+8>>2]=142003,A2(r,141839,s)|0):(t|0)==9&&YG(e[r>>2]|0,e[r+4>>2]|0,e[r+8>>2]|0),g=A}function Do0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(A=e[47513]|0,a=A+(r*52|0)|0,c=A+(t*52|0)|0,l=0;(l|0)!=3;){for(w=A+(r*52|0)+4+(l<<4)|0,p=A+(r*52|0)+4+(l<<4)+4|0,v=A+(r*52|0)+4+(l<<4)+12|0,o=0;(o|0)!=3;)m=e[e[w>>2]>>2]|0,s=e[e[A+(t*52|0)+4+(o<<4)>>2]>>2]|0,(m|0)==(s|0)?(i=e[e[A+(t*52|0)+4+(o<<4)+4>>2]>>2]|0,(e[e[p>>2]>>2]|0)==(i|0)?n=10:n=8):(i=e[e[A+(t*52|0)+4+(o<<4)+4>>2]>>2]|0,n=8),(n|0)==8&&(n=0,(m|0)==(i|0))&&(e[e[p>>2]>>2]|0)==(s|0)&&(n=10),(n|0)==10&&(e[v>>2]=c,e[A+(t*52|0)+4+(o<<4)+12>>2]=a),o=o+1|0;l=l+1|0}}function Mo0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=e[47513]|0,i=0,n=0;(n|0)!=3;)i=i+((W1(e[e[o+(r*52|0)+4+(n<<4)>>2]>>2]|0,e[e[o+(r*52|0)+4+(n<<4)+4>>2]>>2]|0,t)|0)!=2&1)|0,n=n+1|0;return((i|0)==3|(i|0)==0)&1|0}function PG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[47513]|0,n=i+(r*52|0)|0;e:do if(e[n>>2]|0)i=0;else if(e[n>>2]=1,(r|0)==(t|0))i=1;else{for(o=0;!((o|0)>=3);){if(n=e[i+(r*52|0)+4+(o<<4)+12>>2]|0,n){if(PG((n-i|0)/52|0,t)|0){i=1;break e}i=e[47513]|0}o=o+1|0}e[i+(r*52|0)>>2]=0,i=0}while(0);return i|0}function jo0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+32|0,n=o+16|0,i=o,(e[47514]|0)<(r|0)&&(t=e[47512]|0,t?(i=O2(t,r<<4)|0,e[47512]=i,i||(i=e[15712]|0,e[n>>2]=141858,e[n+4>>2]=599,e[n+8>>2]=141984,A2(i,141839,n)|0,ie(189856,1))):(n=Te(r<<4)|0,e[47512]=n,n||(n=e[15712]|0,e[i>>2]=141858,e[i+4>>2]=593,e[i+8>>2]=141966,A2(n,141839,i)|0,ie(189856,1))),e[47514]=r),g=o}function No0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[47508]|0,n=e[47507]|0,o=(i|0)>=(n|0),(r|0)==1?o?(e[t+4>>2]=e[(e[47505]|0)+(n<<2)>>2],r=190028,i=-1):(r=190028,i=-1):o?(e[t+4>>2]=e[(e[47505]|0)+(i<<2)>>2],r=190032,i=1):(r=190032,i=1),o=(e[r>>2]|0)+i|0,e[r>>2]=o,e[(e[47505]|0)+(o<<2)>>2]=t}function Qo0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=e[47509]|0,l=e[47505]|0,t=e[47507]|0;;){if((t|0)>=(o|0)){n=4;break}if(i=t+1|0,(W1(e[e[l+(i<<2)>>2]>>2]|0,e[e[l+(t<<2)>>2]>>2]|0,e[r>>2]|0)|0)==1)break;t=i}e:do if((n|0)==4)for(t=e[47508]|0;;){if((t|0)<=(o|0)){t=o;break e}if(i=t+-1|0,(W1(e[e[l+(i<<2)>>2]>>2]|0,e[e[l+(t<<2)>>2]>>2]|0,e[r>>2]|0)|0)==2)break;t=i}while(0);return t|0}function To0(r,t){r=r|0,t=t|0,e[((r|0)==1?190032:190028)>>2]=t}function Fo0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;o=e[e[i+(((r+-1+n|0)%(n|0)|0)<<2)>>2]>>2]|0,A=e[e[i+(r<<2)>>2]>>2]|0,l=e[e[i+(((r+1|0)%(n|0)|0)<<2)>>2]>>2]|0,c=(W1(o,A,l)|0)==1,a=e[e[i+(t<<2)>>2]>>2]|0,c?(W1(A,a,o)|0)==1?(o=W1(a,A,l)|0,l=1,s=5):o=0:(o=W1(A,a,l)|0,l=2,s=5);e:do if((s|0)==5)if((o|0)==(l|0))for(o=0;;){if((o|0)>=(n|0)){o=1;break e}if(l=o,o=o+1|0,s=(o|0)%(n|0)|0,!((s|0)==(t|0)|((l|0)==(t|0)|((l|0)==(r|0)|(s|0)==(r|0))))&&Yo0(A,a,e[e[i+(l<<2)>>2]>>2]|0,e[e[i+(s<<2)>>2]>>2]|0)|0){o=0;break}}else o=0;while(0);return o|0}function YG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(n=e[47504]|0,o=e[47515]|0,(n|0)<(o|0)?s=n:(Po0(o+20|0),s=e[47504]|0),l=e[47513]|0,e[47504]=s+1,o=l+(s*52|0)|0,e[o>>2]=0,e[l+(s*52|0)+4>>2]=r,e[l+(s*52|0)+8>>2]=t,e[l+(s*52|0)+16>>2]=0,e[l+(s*52|0)+20>>2]=t,e[l+(s*52|0)+24>>2]=i,e[l+(s*52|0)+32>>2]=0,e[l+(s*52|0)+36>>2]=i,e[l+(s*52|0)+40>>2]=r,e[l+(s*52|0)+48>>2]=0,n=0;(n|0)!=3;)e[l+(s*52|0)+4+(n<<4)+8>>2]=o,n=n+1|0}function Po0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+32|0,n=o+16|0,i=o,(e[47515]|0)<(r|0)&&(t=e[47513]|0,t?(i=O2(t,r*52|0)|0,e[47513]=i,i||(i=e[15712]|0,e[n>>2]=141858,e[n+4>>2]=558,e[n+8>>2]=142043,A2(i,141839,n)|0,ie(189856,1))):(n=Te(r*52|0)|0,e[47513]=n,n||(n=e[15712]|0,e[i>>2]=141858,e[i+4>>2]=552,e[i+8>>2]=142024,A2(n,141839,i)|0,ie(189856,1))),e[47515]=r),g=o}function Yo0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return l=W1(r,t,i)|0,(l|0)!=3&&(s=W1(r,t,n)|0,(s|0)!=3)&&(A=W1(i,n,r)|0,(A|0)!=3)&&(o=W1(i,n,t)|0,(o|0)!=3)?((l|0)==1^(s|0)==1)&((A|0)==1^(o|0)==1)&1|0:!(sd(r,t,i)|0)&&!(sd(r,t,n)|0)&&!(sd(i,n,r)|0)?(sd(i,n,t)|0)!=0|0:1}function sd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return o=+u[r>>3],s=+u[t>>3]-o,l=+u[r+8>>3],n=+u[t+8>>3]-l,o=+u[i>>3]-o,l=+u[i+8>>3]-l,(W1(r,t,i)|0)==3&&l*n+o*s>=0?r=l*l+o*o<=n*n+s*s&1:r=0,r|0}function Oo0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(w=Te(i<<2)|0,p=Te((i<<3)+8|0)|0,v=p+8|0,o=0;!((o|0)>=(i|0));)e[w+(o<<2)>>2]=-1,u[v+(o<<3)>>3]=-2147483647,o=o+1|0;u[p>>3]=-2147483648;e:for(;(r|0)!=(t|0);)for(c=v+(r<<3)|0,A=+u[c>>3],u[c>>3]=A==-2147483647?0:-A,a=0,o=-1;;){if((a|0)>=(i|0)){r=o;continue e}s=v+(a<<3)|0,l=+u[s>>3],l<0&&(E=(r|0)<(a|0),m=+u[(e[n+((E?a:r)<<2)>>2]|0)+((E?r:a)<<3)>>3],A=-(m+ +u[c>>3]),m!=0&l>3]=A,e[w+(a<<2)>>2]=r,l=A),o=l>+u[v+(o<<3)>>3]?a:o),a=a+1|0}return r0(p),w|0}function Vo0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0;return a=g,g=g+32|0,c=a+16|0,w=a,A=e[s+4>>2]|0,e[w>>2]=e[r>>2],e[w+4>>2]=e[r+4>>2],e[w+8>>2]=e[r+8>>2],e[w+12>>2]=e[r+12>>2],e[c>>2]=e[n>>2],e[c+4>>2]=e[n+4>>2],e[c+8>>2]=e[n+8>>2],e[c+12>>2]=e[n+12>>2],el0(w,t,c,o,s)|0?(r=Te((A<<2)+8|0)|0,w=A+1|0,e[r+(A<<2)>>2]=w,e[r+(w<<2)>>2]=-1):(r=e[s+24>>2]|0,e[r+(A<<2)>>2]=l,w=A+1|0,e[r+(w<<2)>>2]=i,r=Oo0(w,A,A+2|0,r)|0),g=a,r|0}function e9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;n=+u[r+24>>3];e:do if(n<1e-7&n>-1e-7)r=Ho0(r,t)|0;else for(s=+u[r+16>>3]/(n*3),l=+u[r+8>>3]/n,o=s*s,n=s*2*o-s*l+ +u[r>>3]/n,o=l*.3333333333333333-o,o=o*o*4*o,l=n*n+o,l<0?(A=+I2(+ +G0(+-l),+-n),n=+CE(+G0(+-o)*.5)*2,u[t>>3]=n*+ee(+(A*.3333333333333333)),u[t+8>>3]=+ee(+((A+6.283185307179586)*.3333333333333333))*n,n=+ee(+((A+-6.283185307179586)*.3333333333333333))*n,r=2,i=7):(A=(+G0(+l)-n)*.5,o=+CE(A),n=+CE(-n-A)+o,u[t>>3]=n,l>0?r=1:(n=n*-.5,u[t+16>>3]=n,r=1,i=7)),(i|0)==7&&(u[t+(r<<3)>>3]=n,r=3),i=0;;){if((i|0)>=(r|0))break e;a=t+(i<<3)|0,u[a>>3]=+u[a>>3]-s,i=i+1|0}while(0);return r|0}function Ho0(r,t){r=r|0,t=t|0;var i=0,n=0;i=+u[r+16>>3];do if(i<1e-7&i>-1e-7)r=Jo0(r,t)|0;else if(n=+u[r+8>>3]/(i*2),i=n*n-+u[r>>3]/i,i<0)r=0;else if(i==0){u[t>>3]=-n,r=1;break}else{i=+G0(+i)-n,u[t>>3]=i,u[t+8>>3]=n*-2-i,r=2;break}while(0);return r|0}function Jo0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=+u[r+8>>3],i=+u[r>>3],n<1e-7&n>-1e-7?r=i<1e-7&i>-1e-7?4:0:(u[t>>3]=-i/n,r=1),r|0}function Uo0(r){r=r|0,r0(e[r>>2]|0),r0(r)}function q3(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(n=e[r+4>>2]|0,A=(n*3|0)+-2|0,i=e[47518]|0,(A|0)>(e[47517]|0)?(i?i=O2(i,A<<4)|0:i=Te(A<<4)|0,e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12>>2]=e[i+12>>2],e[s>>2]=e[n>>2],e[s+4>>2]=e[n+4>>2],e[s+8>>2]=e[n+8>>2],e[s+12>>2]=e[n+12>>2],e[A>>2]=e[t>>2],e[A+4>>2]=e[t+4>>2],e[A+8>>2]=e[t+8>>2],e[A+12>>2]=e[t+12>>2],c=(N0(o,a)|0)<0,o=(N0(kA(l,s,A)|0,r)|0)>>>31,o=c?o:0}while(0);return g=w,o|0}function Xo0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3]-+u[t>>3],n=+u[r+8>>3]-+u[t+8>>3],+(n*n+i*i)}function qo0(r){r=r|0,e[r+24>>2]=$o0(e[r+4>>2]|0)|0,Ko0(r)}function $o0(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=r+2|0,o=Te(n<<2)|0,t=Un(N0(r,r)|0,8)|0,i=0;!((i|0)>=(r|0));)e[o+(i<<2)>>2]=t,t=t+(r<<3)|0,i=i+1|0;for(;!((r|0)>=(n|0));)e[o+(r<<2)>>2]=0,r=r+1|0;return o|0}function Ko0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(v=g,g=g+32|0,s=v+16|0,l=v,A=e[r+4>>2]|0,c=e[r+8>>2]|0,w=e[r+16>>2]|0,p=e[r+20>>2]|0,i=e[r+24>>2]|0,t=0;!((t|0)>=(A|0));){for(m=e[p+(t<<2)>>2]|0,n=c+(t<<4)|0,o=c+(m<<4)|0,e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],e[s>>2]=e[o>>2],e[s+4>>2]=e[o+4>>2],e[s+8>>2]=e[o+8>>2],e[s+12>>2]=e[o+12>>2],E=+Ad(l,s),o=e[i+(t<<2)>>2]|0,u[o+(m<<3)>>3]=E,u[(e[i+(m<<2)>>2]|0)+(t<<3)>>3]=E,r=t+-1|0,r=(m|0)==(r|0)?t+-2|0:r;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[A>>2]=e[n>>2],e[A+4>>2]=e[n+4>>2],e[A+8>>2]=e[n+8>>2],e[A+12>>2]=e[n+12>>2],e[s>>2]=e[o>>2],e[s+4>>2]=e[o+4>>2],e[s+8>>2]=e[o+8>>2],e[s+12>>2]=e[o+12>>2],o=t9(c,a,A,s)|0,g=l,o|0}function r9(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(m=g,g=g+64|0,p=m+48|0,w=m+32|0,c=m+16|0,a=m,A=0;;){if((A|0)>=(i|0)){v=4;break}if(B=l+(A<<4)|0,E=l+(e[s+(A<<2)>>2]<<4)|0,e[a>>2]=e[r>>2],e[a+4>>2]=e[r+4>>2],e[a+8>>2]=e[r+8>>2],e[a+12>>2]=e[r+12>>2],e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],e[w>>2]=e[B>>2],e[w+4>>2]=e[B+4>>2],e[w+8>>2]=e[B+8>>2],e[w+12>>2]=e[B+12>>2],e[p>>2]=e[E>>2],e[p+4>>2]=e[E+4>>2],e[p+8>>2]=e[E+8>>2],e[p+12>>2]=e[E+12>>2],!($3(a,c,w,p)|0))A=A+1|0;else{n=0;break}}e:do if((v|0)==4)for(;;){if((n|0)>=(o|0)){n=1;break e}if(E=l+(n<<4)|0,B=l+(e[s+(n<<2)>>2]<<4)|0,e[a>>2]=e[r>>2],e[a+4>>2]=e[r+4>>2],e[a+8>>2]=e[r+8>>2],e[a+12>>2]=e[r+12>>2],e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],e[w>>2]=e[E>>2],e[w+4>>2]=e[E+4>>2],e[w+8>>2]=e[E+8>>2],e[w+12>>2]=e[E+12>>2],e[p>>2]=e[B>>2],e[p+4>>2]=e[B+4>>2],e[p+8>>2]=e[B+8>>2],e[p+12>>2]=e[B+12>>2],!($3(a,c,w,p)|0))n=n+1|0,v=4;else{n=0;break}}while(0);return g=m,n|0}function t9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;return l=g,g=g+48|0,s=l+32|0,A=l+16|0,a=l,e[a>>2]=e[n>>2],e[a+4>>2]=e[n+4>>2],e[a+8>>2]=e[n+8>>2],e[a+12>>2]=e[n+12>>2],e[A>>2]=e[r>>2],e[A+4>>2]=e[r+4>>2],e[A+8>>2]=e[r+8>>2],e[A+12>>2]=e[r+12>>2],e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],o=kA(a,A,s)|0,e[a>>2]=e[n>>2],e[a+4>>2]=e[n+4>>2],e[a+8>>2]=e[n+8>>2],e[a+12>>2]=e[n+12>>2],e[A>>2]=e[t>>2],e[A+4>>2]=e[t+4>>2],e[A+8>>2]=e[t+8>>2],e[A+12>>2]=e[t+12>>2],e[s>>2]=e[i>>2],e[s+4>>2]=e[i+4>>2],e[s+8>>2]=e[i+8>>2],e[s+12>>2]=e[i+12>>2],n=kA(a,A,s)|0,e[a>>2]=e[r>>2],e[a+4>>2]=e[r+4>>2],e[a+8>>2]=e[r+8>>2],e[a+12>>2]=e[r+12>>2],e[A>>2]=e[t>>2],e[A+4>>2]=e[t+4>>2],e[A+8>>2]=e[t+8>>2],e[A+12>>2]=e[t+12>>2],e[s>>2]=e[i>>2],e[s+4>>2]=e[i+4>>2],e[s+8>>2]=e[i+8>>2],e[s+12>>2]=e[i+12>>2],i=(kA(a,A,s)|0)>0,g=l,(i?n|o:n&o)>>>31^1|0}function HG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(B=g,g=g+80|0,A=B+64|0,s=B+48|0,l=B+32|0,a=B+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0;for(w=g,g=g+32|0,o=w+8|0,n=w,s=w+24|0,A=r+8|0,a=r+12|0,c=s+4|0,i=0;;){if((i|0)>=(e[r>>2]|0)){i=-1111;break}if(v=e[a>>2]|0,p=e[v+(i<<2)>>2]|0,e[s>>2]=(e[A>>2]|0)+(p<<4),l=i+1|0,e[c>>2]=(e[v+(l<<2)>>2]|0)-p,e[n>>2]=e[s>>2],e[n+4>>2]=e[s+4>>2],e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],!(H3(n,o)|0))i=l;else break}return g=w,i|0}function el0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=g,g=g+64|0,p=z+48|0,w=z+32|0,m=z+16|0,v=z,B=e[o+4>>2]|0,x=e[o+8>>2]|0,E=e[o+16>>2]|0,l=(n|0)<0;do if((t|0)<0)l?(l=0,A=0,o=0,s=0):(t=e[o+12>>2]|0,o=0,s=0,A=n,a=t,t=t+(n<<2)|0,c=9);else{if(l){c=e[o+12>>2]|0,o=0,s=0,A=t,a=c,t=c+(t<<2)|0,c=9;break}if(l=e[o+12>>2]|0,(t|0)>(n|0)){o=e[l+(n+1<<2)>>2]|0,s=e[l+(n<<2)>>2]|0,A=t,a=l,t=l+(t<<2)|0,c=9;break}else{o=e[l+(t+1<<2)>>2]|0,s=e[l+(t<<2)>>2]|0,A=n,a=l,t=l+(n<<2)|0,c=9;break}}while(0);for((c|0)==9&&(l=e[a+(A+1<<2)>>2]|0,A=e[t>>2]|0),t=0;;){if((t|0)>=(s|0)){c=13;break}if(a=x+(t<<4)|0,n=x+(e[E+(t<<2)>>2]<<4)|0,e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],e[w>>2]=e[a>>2],e[w+4>>2]=e[a+4>>2],e[w+8>>2]=e[a+8>>2],e[w+12>>2]=e[a+12>>2],e[p>>2]=e[n>>2],e[p+4>>2]=e[n+4>>2],e[p+8>>2]=e[n+8>>2],e[p+12>>2]=e[n+12>>2],!($3(v,m,w,p)|0))t=t+1|0;else{l=0;break}}e:do if((c|0)==13){for(;!((o|0)>=(A|0));)if(n=x+(o<<4)|0,c=x+(e[E+(o<<2)>>2]<<4)|0,e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],e[w>>2]=e[n>>2],e[w+4>>2]=e[n+4>>2],e[w+8>>2]=e[n+8>>2],e[w+12>>2]=e[n+12>>2],e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],!($3(v,m,w,p)|0))o=o+1|0,c=13;else{l=0;break e}for(;;){if((l|0)>=(B|0)){l=1;break e}if(n=x+(l<<4)|0,c=x+(e[E+(l<<2)>>2]<<4)|0,e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],e[w>>2]=e[n>>2],e[w+4>>2]=e[n+4>>2],e[w+8>>2]=e[n+8>>2],e[w+12>>2]=e[n+12>>2],e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],!($3(v,m,w,p)|0))l=l+1|0;else{l=0;break}}}while(0);return g=z,l|0}function rl0(r){return r=r|0,tl0(r,0,0)|0}function tl0(r,t,i){return r=r|0,t=t|0,i=i|0,il0(r,t,i,0)|0}function il0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;t?(o=nr[e[t>>2]&63](496)|0,o?(l=e[t>>2]|0,e[o+12>>2]=l,e[o+16>>2]=e[t+4>>2],e[o+20>>2]=e[t+8>>2],t=l,l=6):o=0):(o=Te(496)|0,o?(e[o+12>>2]=35,e[o+16>>2]=107,e[o+20>>2]=105,t=35,l=6):o=0);do if((l|0)==6){if(e[o+8>>2]=0,e[o+32>>2]=0,e[o+376>>2]=16,A=o+12|0,s=nr[t&63](256)|0,t=o+388|0,e[t>>2]=s,!s){l2[e[o+20>>2]&127](o),o=0;break}if(l=nr[e[A>>2]&63](1024)|0,s=o+44|0,e[s>>2]=l,!l){i=o+20|0,l2[e[i>>2]&127](e[t>>2]|0),l2[e[i>>2]&127](o),o=0;break}if(e[o+48>>2]=l+1024,n)e[o+352>>2]=n;else if(n=nl0(A)|0,e[o+352>>2]=n,!n){i=o+20|0,l2[e[i>>2]&127](e[s>>2]|0),l2[e[i>>2]&127](e[t>>2]|0),l2[e[i>>2]&127](o),o=0;break}if(e[o+372>>2]=0,e[o+364>>2]=0,e[o+300>>2]=0,e[o+464>>2]=0,e[o+460>>2]=0,e[o+124>>2]=0,e[o+244>>2]=0,t=o+468|0,y[t>>0]=33,l=o+232|0,y[l>>0]=0,y[o+233>>0]=0,e[o+392>>2]=0,e[o+396>>2]=0,y[o+400>>0]=0,n=o+228|0,e[n>>2]=0,ud(o+412|0,A),ud(o+436|0,A),ol0(o,r),r|0&&!(e[n>>2]|0)){JG(o),o=0;break}if(i){y[l>>0]=1,e[o+224>>2]=_C0()|0,y[t>>0]=y[i>>0]|0;break}else{e[o+224>>2]=k70()|0;break}}while(0);return o|0}function nl0(r){r=r|0;var t=0;return t=nr[e[r>>2]&63](188)|0,t|0&&(ud(t+80|0,r),ud(t+104|0,r),eh(t,r),eh(t+20|0,r),eh(t+40|0,r),eh(t+60|0,r),y[t+131>>0]=0,eh(t+132|0,r),e[t+152>>2]=0,e[t+156>>2]=0,y[t+160>>0]=0,r=t+164|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0,e[r+16>>2]=0,e[r+20>>2]=0,y[t+128>>0]=1,y[t+129>>0]=0,y[t+130>>0]=0),t|0}function ud(r,t){r=r|0,t=t|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0,e[r+16>>2]=0,e[r+20>>2]=t}function ol0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;e[r+276>>2]=56,DC0(r+252|0),t|0&&(e[r+228>>2]=Al0(t,r+12|0)|0),e[r+356>>2]=0,NP(r+148|0,r+144|0,0)|0,e[r>>2]=0,e[r+4>>2]=0,t=r+116|0,n=r+52|0,o=n+64|0;do e[n>>2]=0,n=n+4|0;while((n|0)<(o|0));e[t>>2]=r,e[r+120>>2]=0,t=r+128|0,e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,t=e[r+8>>2]|0,e[r+24>>2]=t,e[r+28>>2]=t,e[r+36>>2]=0,e[r+40>>2]=0,t=r+312|0,n=r+404|0,e[n>>2]=0,e[n+4>>2]=0,n=r+280|0,i=r+304|0,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,n=t,o=n+36|0;do e[n>>2]=0,n=n+4|0;while((n|0)<(o|0));$[t+36>>1]=0,y[i>>0]=1,e[r+308>>2]=0,e[r+360>>2]=0,e[r+368>>2]=0,e[r+380>>2]=0,e[r+236>>2]=0,e[r+248>>2]=0,e[r+240>>2]=0,e[r+472>>2]=0,e[r+476>>2]=0,y[r+484>>0]=0,y[r+485>>0]=0,e[r+488>>2]=0,e[r+492>>2]=0}function JG(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(r|0){for(i=r+364|0,o=r+20|0,t=e[r+360>>2]|0;;){if(!t){if(t=e[i>>2]|0,!t)break;e[i>>2]=0}l=e[t>>2]|0,l2[e[o>>2]&127](e[t+36>>2]|0),i9(e[t+44>>2]|0,r),l2[e[o>>2]&127](t),t=l}for(i=r+300|0,t=e[r+296>>2]|0;;){if(!t){if(t=e[i>>2]|0,!t)break;e[i>>2]=0}l=e[t+8>>2]|0,l2[e[o>>2]&127](t),t=l}i9(e[r+372>>2]|0,r),i9(e[r+368>>2]|0,r),fd(r+412|0),fd(r+436|0),t=r+12|0,l2[e[o>>2]&127](e[r+228>>2]|0),!(y[r+484>>0]|0)&&(n=e[r+352>>2]|0,n|0)&&ll0(n,(e[r+472>>2]|0)==0&1,t),l2[e[o>>2]&127](e[r+388>>2]|0),l2[e[o>>2]&127](e[r+460>>2]|0),l2[e[o>>2]&127](e[r+8>>2]|0),l2[e[o>>2]&127](e[r+44>>2]|0),l2[e[o>>2]&127](e[r+392>>2]|0),l2[e[o>>2]&127](e[r+236>>2]|0),t=e[r+248>>2]|0,t|0&&l2[t&127](e[r+240>>2]|0),l2[e[o>>2]&127](r)}}function i9(r,t){r=r|0,t=t|0;var i=0;for(t=t+20|0;r;)i=e[r+4>>2]|0,l2[e[t>>2]&127](e[r+16>>2]|0),l2[e[t>>2]&127](r),r=i}function fd(r){r=r|0;var t=0,i=0,n=0;for(i=r+20|0,t=e[r>>2]|0;t;)n=e[t>>2]|0,l2[e[(e[i>>2]|0)+8>>2]&127](t),t=n;for(t=e[r+4>>2]|0;t;)n=e[t>>2]|0,l2[e[(e[i>>2]|0)+8>>2]&127](t),t=n}function ll0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,o=s,l=r+20|0,n9(o,l),i=i+8|0;n=o9(o)|0,!!n;)e[n+16>>2]|0&&l2[e[i>>2]&127](e[n+20>>2]|0);K3(r),K3(r+132|0),K3(l),K3(r+40|0),K3(r+60|0),fd(r+80|0),fd(r+104|0),t<<24>>24&&(l2[e[i>>2]&127](e[r+184>>2]|0),l2[e[i>>2]&127](e[r+164>>2]|0)),l2[e[i>>2]&127](r),g=s}function n9(r,t){r=r|0,t=t|0;var i=0;i=e[t>>2]|0,e[r>>2]=i,e[r+4>>2]=i+(e[t+8>>2]<<2)}function o9(r){r=r|0;var t=0,i=0,n=0;i=e[r+4>>2]|0,n=e[r>>2]|0;do{if((n|0)==(i|0)){t=0;break}t=n,n=n+4|0,e[r>>2]=n,t=e[t>>2]|0}while(!(t|0));return t|0}function K3(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(i=r+8|0,n=r+16|0,t=0;o=e[(e[n>>2]|0)+8>>2]|0,l=e[r>>2]|0,!(t>>>0>=(e[i>>2]|0)>>>0);)l2[o&127](e[l+(t<<2)>>2]|0),t=t+1|0;l2[o&127](l)}function sl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=ul0(r)|0,o||(e[r+276>>2]=57,o=l9(r,t,i,n)|0),o|0}function Al0(r,t){r=r|0,t=t|0;var i=0,n=0;i=0;do n=i,i=i+1|0;while(y[r+n>>0]|0);return t=nr[e[t>>2]&63](i)|0,t?u2(t|0,r|0,i|0)|0:t=0,t|0}function ul0(r){r=r|0;var t=0;return t=r+228|0,oe[(y[r+232>>0]<<24>>24?38:37)&63](r+148|0,r+144|0,e[t>>2]|0)|0?r=0:r=kZ(r,e[t>>2]|0)|0,r|0}function l9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return o=g,g=g+16|0,l=o,e[l>>2]=t,A=r+144|0,s=e[A>>2]|0,s=e2[e[s>>2]&127](s,t,i,l)|0,n=ad(r,e[A>>2]|0,t,i,s,e[l>>2]|0,n,(y[r+480>>0]|0)==0&1)|0,g=o,n|0}function ad(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0;var a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0,dr=0,D2=0,ue=0,gr=0,yr=0,ur=0,Fe=0,M2=0,Ti=0,ai=0,g1=0,q2=0,It=0,Ir=0,y1=0,Rr=0,a8=0,Jk=0,Fi=0,Uk=0,nl=0,HE=0,Yf=0,Of=0,Xk=0,Ws=0,c8=0,Vf=0,JE=0,UE=0,or=0,KY=0,XE=0,qE=0;qE=g,g=g+16|0,or=qE,e[or>>2]=l,m=e[r+352>>2]|0,E=r+144|0,(e[E>>2]|0)==(t|0)?(p=r+284|0,v=r+288|0,y1=r+296|0):(y1=r+296|0,v=e[y1>>2]|0,p=v,v=v+4|0),B=A<<24>>24!=0,a8=r+252|0,x=r+80|0,z=r+476|0,_=r+84|0,L=r+320|0,G=r+412|0,W=r+316|0,N=r+424|0,T=r+428|0,D=r+324|0,Fi=r+4|0,P=r+485|0,U=m+132|0,J=r+312|0,nl=m+129|0,F=m+128|0,q=m+80|0,t0=m+92|0,Y=m+96|0,H=r+136|0,f0=r+88|0,k0=r+488|0,Yf=r+112|0,Of=m+131|0,Xk=r+116|0,Ws=m+130|0,c8=r+108|0,Vf=r+356|0,B0=r+340|0,D0=r+132|0,J0=r+344|0,V0=r+348|0,Z0=r+328|0,F0=r+349|0,b0=r+420|0,O0=m+120|0,ze=m+116|0,me=r+92|0,pe=r+472|0,g2=r+336|0,i2=r+332|0,T2=r+96|0,dr=r+256|0,D2=r+464|0,ue=r+460|0,gr=m+160|0,yr=m+184|0,ur=m+180|0,Fe=m+164|0,M2=r+128|0,Ti=r+12|0,ai=r+16|0,g1=r+268|0,q2=r+120|0,It=m+176|0,Ir=m+168|0,w=t,c=i,t=o;e:for(;;){e[p>>2]=c,i=e[or>>2]|0,e[v>>2]=i,l=i;r:do if((t|0)<1){if(B&(t|0)!=0){a=7;break e}switch(t|0){case-1:{l=5,a=280;break e}case 0:{a=9;break e}case-2:{l=6;break e}case-4:{a=10;break e}case-15:{t=15;break r}default:}e[or>>2]=n,t=0-t|0,l=n}while(0);o=fi[e[a8>>2]&127](a8,t,c,l,w)|0;r:do switch(o|0){case 2:{a=58;break e}case-1:{a=184;break e}case 1:{if(l=UG(r,0,c,e[or>>2]|0)|0,l|0){a=280;break e}l=e[E>>2]|0;break}case 4:{if(!(e[_>>2]|0))l=1;else{if(a=_t(G,w,c,e[or>>2]|0)|0,e[W>>2]=a,!a){l=1,a=280;break e}e[T>>2]=e[N>>2],e[D>>2]=0,l=0}e[L>>2]=0,a=274;break}case 7:{l=e[_>>2]|0,l?(Pf[l&15](e[Fi>>2]|0,e[W>>2]|0,e[L>>2]|0,e[D>>2]|0,1),e[W>>2]=0,fo(G),l=w):a=275;break}case 57:{if(l=UG(r,1,c,e[or>>2]|0)|0,l|0){a=280;break e}l=e[E>>2]|0;break}case 6:{if(y[P>>0]=0,a=vi(r,U,75395,36)|0,e[J>>2]=a,!a){l=1,a=280;break e}if(y[nl>>0]=1,!(e[_>>2]|0))a=33;else{if(!(e2[e[w+52>>2]&127](w,c,e[or>>2]|0,p)|0)){l=32,a=280;break e}if(l=e[w+64>>2]|0,l=_t(G,w,c+l|0,(e[or>>2]|0)+(0-l)|0)|0,!l){l=1,a=280;break e}s9(l),e[T>>2]=e[N>>2],e[D>>2]=l,l=0,a=34}break}case 14:{a=33;break}case 8:{if(l=e[W>>2]|0,l?(Pf[e[_>>2]&15](e[Fi>>2]|0,l,e[L>>2]|0,e[D>>2]|0,0),fo(G),l=0):l=1,!(!(e[L>>2]|0)&&!(y[P>>0]|0))){i=y[nl>>0]|0,y[nl>>0]=1;do if(e[k0>>2]|0&&e[Yf>>2]|0){if(o=vi(r,U,75395,36)|0,!o){l=1,a=280;break e}if(y[P>>0]|0?(t=o+20|0,e[t>>2]=e[Vf>>2]):t=o+20|0,y[Of>>0]=0,!(fi[e[Yf>>2]&127](e[Xk>>2]|0,0,e[t>>2]|0,e[o+16>>2]|0,e[o+24>>2]|0)|0)){l=21,a=280;break e}if(!(y[Of>>0]|0)){if(e[L>>2]|0)break;y[nl>>0]=i;break}if(!(y[Ws>>0]|0)&&(Rr=e[c8>>2]|0,Rr|0)&&!(nr[Rr&63](e[Fi>>2]|0)|0)){l=22,a=280;break e}}while(0);y[P>>0]=0}t=e[f0>>2]|0,t?(l2[t&127](e[Fi>>2]|0),l=w):a=274;break}case 34:{if(a=u9(r,w,c,e[or>>2]|0)|0,e[B0>>2]=a,a)a=80;else{l=1,a=280;break e}break}case 22:{if(a=XG(r,w,c,e[or>>2]|0)|0,e[J0>>2]=a,!a){l=1,a=280;break e}y[V0>>0]=0,e[Z0>>2]=0,y[F0>>0]=0,a=80;break}case 23:{y[V0>>0]=1,e[Z0>>2]=142188,a=80;break}case 24:{y[F0>>0]=1,e[Z0>>2]=142194,a=80;break}case 25:{e[Z0>>2]=142197,a=80;break}case 26:{e[Z0>>2]=142203,a=80;break}case 27:{e[Z0>>2]=142210,a=80;break}case 28:{e[Z0>>2]=142217,a=80;break}case 29:{e[Z0>>2]=142226,a=80;break}case 30:{e[Z0>>2]=142234,a=80;break}case 32:case 31:{if(y[F>>0]|0&&e[D0>>2]|0){if(!(fl0(G,e[Z0>>2]|0?142255:(o|0)==32?142243:142253)|0)){l=1,a=280;break e}if(!(cd(G,w,c,e[or>>2]|0)|0)){l=1,a=280;break e}e[Z0>>2]=e[T>>2],l=w}else a=275;break}case 36:case 35:{if(y[F>>0]|0){if(!(qG(e[B0>>2]|0,e[J0>>2]|0,y[V0>>0]|0,y[F0>>0]|0,0,r)|0)){l=1,a=280;break e}if(e[D0>>2]|0&&(Jk=e[Z0>>2]|0,(Jk|0)!=0)){switch(y[Jk>>0]|0){case 40:{a=93;break}case 78:{(y[Jk+1>>0]|0)==79&&(a=93);break}default:}if((a|0)==93){if(a=0,l=e[N>>2]|0,(l|0)==(e[b0>>2]|0)){if(!((wr(G)|0)<<24>>24)){l=1,a=280;break e}l=e[N>>2]|0}if(e[N>>2]=l+1,y[l>>0]=41,l=e[N>>2]|0,(l|0)==(e[b0>>2]|0)){if(!((wr(G)|0)<<24>>24)){l=1,a=280;break e}l=e[N>>2]|0}e[N>>2]=l+1,y[l>>0]=0,e[Z0>>2]=e[T>>2],e[T>>2]=e[N>>2]}e[v>>2]=c,Xc[e[D0>>2]&15](e[Fi>>2]|0,e[e[B0>>2]>>2]|0,e[e[J0>>2]>>2]|0,e[Z0>>2]|0,0,(o|0)==36&1),fo(G),l=w}else a=275}else a=275;break}case 38:case 37:{if(y[F>>0]|0){if(l=e[w+64>>2]|0,l=$G(r,w,y[V0>>0]|0,c+l|0,(e[or>>2]|0)+(0-l)|0,q)|0,l|0){a=280;break e}if(t=e[Y>>2]|0,e[Y>>2]=e[t0>>2],!(qG(e[B0>>2]|0,e[J0>>2]|0,y[V0>>0]|0,0,t,r)|0)){l=1,a=280;break e}if(e[D0>>2]|0&&(Uk=e[Z0>>2]|0,(Uk|0)!=0)){switch(y[Uk>>0]|0){case 40:{a=108;break}case 78:{(y[Uk+1>>0]|0)==79&&(a=108);break}default:}if((a|0)==108){if(a=0,l=e[N>>2]|0,(l|0)==(e[b0>>2]|0)){if(!((wr(G)|0)<<24>>24)){l=1,a=280;break e}l=e[N>>2]|0}if(e[N>>2]=l+1,y[l>>0]=41,l=e[N>>2]|0,(l|0)==(e[b0>>2]|0)){if(!((wr(G)|0)<<24>>24)){l=1,a=280;break e}l=e[N>>2]|0}e[N>>2]=l+1,y[l>>0]=0,e[Z0>>2]=e[T>>2],e[T>>2]=e[N>>2]}e[v>>2]=c,Xc[e[D0>>2]&15](e[Fi>>2]|0,e[e[B0>>2]>>2]|0,e[e[J0>>2]>>2]|0,e[Z0>>2]|0,t,(o|0)==38&1),fo(G),l=w}else a=275}else a=275;break}case 12:{if(y[F>>0]|0)if(l=e[w+64>>2]|0,l=KG(r,w,c+l|0,(e[or>>2]|0)+(0-l)|0)|0,t=e[J>>2]|0,i=e[O0>>2]|0,t?(e[t+4>>2]=i,e[(e[J>>2]|0)+8>>2]=(e[ze>>2]|0)-(e[O0>>2]|0),e[O0>>2]=e[ze>>2],e[H>>2]|0?(e[v>>2]=c,t=e[J>>2]|0,Hk[e[H>>2]&0](e[Fi>>2]|0,e[t>>2]|0,s0[t+33>>0]|0,e[t+4>>2]|0,e[t+8>>2]|0,e[Vf>>2]|0,0,0,0),t=0):t=1):(e[ze>>2]=i,t=1),!l)l=t,a=274;else{a=280;break e}else a=275;break}case 5:{if(y[P>>0]=0,y[nl>>0]=1,!(e[_>>2]|0))e[L>>2]=75395,l=1;else{if(a=e[w+64>>2]|0,a=_t(G,w,c+a|0,(e[or>>2]|0)+(0-a)|0)|0,e[L>>2]=a,!a){l=1,a=280;break e}e[T>>2]=e[N>>2],l=0}if(!(y[Ws>>0]|0)&&!(e[k0>>2]|0)&&(HE=e[c8>>2]|0,HE|0)&&!(nr[HE&63](e[Fi>>2]|0)|0)){l=22,a=280;break e}if(e[J>>2]|0)a=133;else{if(t=vi(r,U,75395,36)|0,e[J>>2]=t,!t){l=1,a=280;break e}e[t+24>>2]=0,a=133}break}case 13:{l=1,a=133;break}case 15:{y[F>>0]|0&&e[J>>2]|0&&e[H>>2]|0?(e[v>>2]=c,l=e[J>>2]|0,Hk[e[H>>2]&0](e[Fi>>2]|0,e[l>>2]|0,s0[l+33>>0]|0,0,0,e[l+20>>2]|0,e[l+16>>2]|0,e[l+24>>2]|0,0),l=w):a=275;break}case 16:{if(y[F>>0]|0&&e[J>>2]|0){if(o=_t(q,w,c,e[or>>2]|0)|0,e[(e[J>>2]|0)+28>>2]=o,!(e[(e[J>>2]|0)+28>>2]|0)){l=1,a=280;break e}if(e[Y>>2]=e[t0>>2],e[me>>2]|0){e[v>>2]=c,l=e[J>>2]|0,Xc[e[me>>2]&15](e[Fi>>2]|0,e[l>>2]|0,e[l+20>>2]|0,e[l+16>>2]|0,e[l+24>>2]|0,e[l+28>>2]|0),l=w;break r}e[H>>2]|0?(e[v>>2]=c,l=e[J>>2]|0,Hk[e[H>>2]&0](e[Fi>>2]|0,e[l>>2]|0,0,0,0,e[l+20>>2]|0,e[l+16>>2]|0,e[l+24>>2]|0,e[l+28>>2]|0),l=w):a=275}else a=275;break}case 9:{if(oe[e[w+44>>2]&63](w,c,e[or>>2]|0)|0){e[J>>2]=0,a=275;break r}if(!(y[F>>0]|0)){e[t0>>2]=e[Y>>2],e[J>>2]=0,a=275;break r}if(l=_t(q,w,c,e[or>>2]|0)|0,!l){l=1,a=280;break e}if(t=vi(r,m,l,36)|0,e[J>>2]=t,!t){l=1,a=280;break e}if((e[t>>2]|0)!=(l|0)){e[t0>>2]=e[Y>>2],e[J>>2]=0,a=275;break r}e[Y>>2]=e[t0>>2],e[(e[J>>2]|0)+24>>2]=0,y[(e[J>>2]|0)+33>>0]=0,e[pe>>2]|0?l=1:l=(e[y1>>2]|0)!=0,y[(e[J>>2]|0)+34>>0]=(l^1)&1,e[H>>2]|0?l=w:a=275;break}case 10:{if(!(y[F>>0]|0)){e[t0>>2]=e[Y>>2],e[J>>2]=0,a=275;break r}if(l=_t(q,w,c,e[or>>2]|0)|0,!l){l=1,a=280;break e}if(t=vi(r,U,l,36)|0,e[J>>2]=t,!t){l=1,a=280;break e}if((e[t>>2]|0)!=(l|0)){e[t0>>2]=e[Y>>2],e[J>>2]=0,a=275;break r}e[Y>>2]=e[t0>>2],e[(e[J>>2]|0)+24>>2]=0,y[(e[J>>2]|0)+33>>0]=1,e[pe>>2]|0?l=1:l=(e[y1>>2]|0)!=0,y[(e[J>>2]|0)+34>>0]=(l^1)&1,e[H>>2]|0?l=w:a=275;break}case 18:{if(e[g2>>2]=0,e[i2>>2]=0,!(e[T2>>2]|0))a=275;else{if(c=_t(G,w,c,e[or>>2]|0)|0,e[i2>>2]=c,!c){l=1,a=280;break e}e[T>>2]=e[N>>2],l=w}break}case 21:{if(!(e2[e[w+52>>2]&127](w,c,e[or>>2]|0,p)|0)){l=32,a=280;break e}if(!(e[i2>>2]|0))a=275;else{if(l=e[w+64>>2]|0,l=_t(G,w,c+l|0,(e[or>>2]|0)+(0-l)|0)|0,!l){l=1,a=280;break e}s9(l),e[g2>>2]=l,e[T>>2]=e[N>>2],l=w}break}case 19:{if(e[i2>>2]|0&&e[T2>>2]|0){if(l=e[w+64>>2]|0,l=_t(G,w,c+l|0,(e[or>>2]|0)+(0-l)|0)|0,!l){l=1,a=280;break e}e[v>>2]=c,Pf[e[T2>>2]&15](e[Fi>>2]|0,e[i2>>2]|0,e[Vf>>2]|0,l,e[g2>>2]|0),l=0}else l=1;fo(G),a=274;break}case 20:{e[g2>>2]|0&&e[T2>>2]|0?(e[v>>2]=c,Pf[e[T2>>2]&15](e[Fi>>2]|0,e[i2>>2]|0,e[Vf>>2]|0,0,e[g2>>2]|0),l=0):l=1,fo(G),a=274;break}case 58:{if(e[x>>2]|0&&zt(r,w,c,e[or>>2]|0),l=bG(r,w,or,n,s,A)|0,l|0){a=280;break e}if(e[or>>2]|0)l=w;else{a=189;break e}break}case 44:{l=e[D2>>2]|0;do if((e[dr>>2]|0)>>>0>=l>>>0){if(!l){if(o=e[Ti>>2]|0,e[D2>>2]=32,o=nr[o&63](32)|0,e[ue>>2]=o,o)break;a=198;break e}if(i=e[ai>>2]|0,o=e[ue>>2]|0,l=l<<1,e[D2>>2]=l,l=ke[i&127](o,l)|0,!l){a=193;break e}if(e[ue>>2]=l,l=e[yr>>2]|0,l|0){if(l=ke[e[ai>>2]&127](l,e[D2>>2]<<2)|0,!l){l=1,a=280;break e}e[yr>>2]=l}}while(0);if(y[(e[ue>>2]|0)+(e[dr>>2]|0)>>0]=0,y[gr>>0]|0){if(l=eZ(r)|0,(l|0)<0){l=1,a=280;break e}e[(e[yr>>2]|0)+(e[ur>>2]<<2)>>2]=l,e[ur>>2]=(e[ur>>2]|0)+1,e[(e[Fe>>2]|0)+(l*28|0)>>2]=6,e[M2>>2]|0?l=w:a=275}else a=275;break}case 50:{if(l=(e[ue>>2]|0)+(e[dr>>2]|0)|0,(y[l>>0]|0)==124){l=2,a=280;break e}y[l>>0]=44,y[gr>>0]|0&&e[M2>>2]|0?l=w:a=275;break}case 49:{if(i=e[ue>>2]|0,t=e[dr>>2]|0,l=y[i+t>>0]|0,l<<24>>24==44){l=2,a=280;break e}l<<24>>24==0&(y[gr>>0]|0)!=0&&(JE=(e[Fe>>2]|0)+((e[(e[yr>>2]|0)+((e[ur>>2]|0)+-1<<2)>>2]|0)*28|0)|0,(e[JE>>2]|0)!=3)?(e[JE>>2]=5,l=(e[M2>>2]|0)==0&1,i=e[ue>>2]|0,t=e[dr>>2]|0):l=1,y[i+t>>0]=124,a=274;break}case 59:case 60:{if(y[nl>>0]=1,e[k0>>2]|0){if(t=e[w+64>>2]|0,t=_t(q,w,c+t|0,(e[or>>2]|0)+(0-t)|0)|0,!t){l=1,a=280;break e}i=vi(r,U,t,0)|0,e[t0>>2]=e[Y>>2];do if(e[g1>>2]|0){if(y[Ws>>0]|0){if(e[y1>>2]|0){a=219;break}}else if(y[nl>>0]|0){a=219;break}if(!i){l=11,a=280;break e}if(!(y[i+34>>0]|0)){l=24,a=280;break e}}else a=219;while(0);if((a|0)==219&&(a=0,(i|0)==0)){if(y[F>>0]=y[Ws>>0]|0,(o|0)!=60){a=275;break r}if(l=e[q2>>2]|0,!l){a=275;break r}cr[l&127](e[Fi>>2]|0,t,1),l=w;break r}if(l=i+32|0,y[l>>0]|0){l=12,a=280;break e}if(e[i+4>>2]|0)if(l=rZ(r,i,(o|0)==60&1)|0,t=(l|0)==0,t){l=(t^1)&1,a=274;break r}else{a=280;break e}if(!(e[Yf>>2]|0)){y[F>>0]=y[Ws>>0]|0,a=275;break r}if(y[Of>>0]=0,y[l>>0]=1,o=(fi[e[Yf>>2]&127](e[Xk>>2]|0,0,e[i+20>>2]|0,e[i+16>>2]|0,e[i+24>>2]|0)|0)==0,y[l>>0]=0,o){l=21,a=280;break e}if(t=y[Ws>>0]|0,y[Of>>0]|0)l=0;else{y[F>>0]=t,l=w;break r}}else t=y[Ws>>0]|0,y[F>>0]=t,l=1;if(!(t<<24>>24)&&(UE=e[c8>>2]|0,(UE|0)!=0)&&!(nr[UE&63](e[Fi>>2]|0)|0)){l=22,a=280;break e}else a=274;break}case 40:{if(!(e[M2>>2]|0))a=275;else{if(c=u9(r,w,c,e[or>>2]|0)|0,e[B0>>2]=c,!c){l=1,a=280;break e}e[ur>>2]=0,e[It>>2]=0,y[gr>>0]=1,l=w}break}case 42:case 41:{if(!(y[gr>>0]|0))a=275;else{if(!(e[M2>>2]|0))l=1;else{if(l=nr[e[Ti>>2]&63](20)|0,!l){l=1,a=280;break e}a=l+4|0,e[a>>2]=0,e[a+4>>2]=0,e[a+8>>2]=0,e[a+12>>2]=0,e[l>>2]=(o|0)==41?2:1,e[v>>2]=c,cr[e[M2>>2]&127](e[Fi>>2]|0,e[e[B0>>2]>>2]|0,l),l=0}y[gr>>0]=0,a=274}break}case 43:{y[gr>>0]|0&&(e[(e[Fe>>2]|0)+((e[(e[yr>>2]|0)+((e[ur>>2]|0)+-1<<2)>>2]|0)*28|0)>>2]=3,(e[M2>>2]|0)!=0)?l=w:a=275;break}case 51:{t=0,a=247;break}case 53:{t=1,a=247;break}case 52:{t=2,a=247;break}case 54:{t=3,a=247;break}case 45:{i=0,a=258;break}case 47:{i=1,a=258;break}case 46:{i=2,a=258;break}case 48:{i=3,a=258;break}case 55:{if(f9(r,w,c,e[or>>2]|0)|0)l=w;else{l=1,a=280;break e}break}case 56:{if(a9(r,w,c,e[or>>2]|0)|0)l=w;else{l=1,a=280;break e}break}case 0:{(t|0)==14?l=w:a=275;break}case 3:{e[_>>2]|0?l=w:a=275;break}case 11:{y[F>>0]|0&&e[H>>2]|0?l=w:a=275;break}case 17:{e[T2>>2]|0?l=w:a=275;break}case 33:{y[F>>0]|0&&e[D0>>2]|0?l=w:a=275;break}case 39:{e[M2>>2]|0?l=w:a=275;break}default:a=275}while(0);if((a|0)==33)if(e2[e[w+52>>2]&127](w,c,e[or>>2]|0,p)|0)l=1,a=34;else{l=32,a=280;break}else if((a|0)==80)a=0,y[F>>0]|0&&e[D0>>2]|0?l=w:a=275;else if((a|0)==133)if(a=0,y[F>>0]|0&&e[J>>2]|0){if(t=e[w+64>>2]|0,t=_t(q,w,c+t|0,(e[or>>2]|0)+(0-t)|0)|0,e[(e[J>>2]|0)+16>>2]=t,t=e[J>>2]|0,!(e[t+16>>2]|0)){l=1,a=280;break}e[t+20>>2]=e[Vf>>2],e[Y>>2]=e[t0>>2],(o|0)==13&(e[H>>2]|0)!=0?l=w:a=274}else a=274;else if((a|0)==247)if(a=0,y[gr>>0]|0){if(l=e[or>>2]|0,t&&(l=l+(0-(e[w+64>>2]|0))|0),i=eZ(r)|0,(i|0)<0){l=1,a=280;break}if(e[(e[Fe>>2]|0)+(i*28|0)>>2]=4,e[(e[Fe>>2]|0)+(i*28|0)+4>>2]=t,l=u9(r,w,c,l)|0,!l){l=1,a=280;break}t=e[l>>2]|0,e[(e[Fe>>2]|0)+(i*28|0)+8>>2]=t,l=0;do o=l,l=l+1|0;while(y[t+o>>0]|0);e[Ir>>2]=(e[Ir>>2]|0)+l,e[M2>>2]|0?l=w:a=275}else a=275;else if((a|0)==258)if(y[gr>>0]|0)if(t=(e[M2>>2]|0)==0,l=t&1,a=(e[ur>>2]|0)+-1|0,e[ur>>2]=a,e[(e[Fe>>2]|0)+((e[(e[yr>>2]|0)+(a<<2)>>2]|0)*28|0)+4>>2]=i,e[ur>>2]|0)a=274;else{if(!t){if(t=cl0(r)|0,!t){l=1,a=280;break}e[v>>2]=c,cr[e[M2>>2]&127](e[Fi>>2]|0,e[e[B0>>2]>>2]|0,t)}y[gr>>0]=0,e[Ir>>2]=0,a=274}else a=275;if((a|0)==34)if(a=0,y[F>>0]|0&&e[J>>2]|0){if(t=e[w+64>>2]|0,t=_t(q,w,c+t|0,(e[or>>2]|0)+(0-t)|0)|0,!t){l=1,a=280;break}s9(t),e[(e[J>>2]|0)+24>>2]=t,e[Y>>2]=e[t0>>2],(o|0)==14&(e[H>>2]|0)!=0?l=w:a=274}else a=274;switch((a|0)==274&&(a=0,l<<24>>24?a=275:l=w),(a|0)==275&&(a=0,e[x>>2]|0&&zt(r,w,c,e[or>>2]|0),l=w),e[z>>2]|0){case 3:{a=278;break e}case 2:{l=35,a=280;break e}default:}t=e[or>>2]|0,w=l,c=t,t=e2[e[l>>2]&127](l,t,n,or)|0}e:switch(a|0){case 7:{e[s>>2]=c,l=0;break}case 9:{e[p>>2]=i,l=4;break}case 10:{if(l=(w|0)==(e[E>>2]|0),!l&&!(y[(e[y1>>2]|0)+20>>0]|0)){e[s>>2]=c,l=0;break}(y[r+484>>0]|0)!=0|l^1?(fi[e[a8>>2]&127](a8,-4,n,n,w)|0)==-1?l=29:(e[s>>2]=c,l=0):l=3;break}case 58:{do if(y[P>>0]|0&&(KY=y[nl>>0]|0,y[nl>>0]=1,e[k0>>2]|0)&&e[Yf>>2]|0){if(l=vi(r,U,75395,36)|0,!l){l=1;break e}if(or=l+20|0,e[or>>2]=e[Vf>>2],y[Of>>0]=0,!(fi[e[Yf>>2]&127](e[Xk>>2]|0,0,e[or>>2]|0,e[l+16>>2]|0,e[l+24>>2]|0)|0)){l=21;break e}if(!(y[Of>>0]|0)){y[nl>>0]=KY;break}if(!(y[Ws>>0]|0)&&(XE=e[c8>>2]|0,XE|0)&&!(nr[XE&63](e[Fi>>2]|0)|0)){l=22;break e}}while(0);e[r+276>>2]=58,l=A9(r,c,n,s)|0;break}case 184:{l=(t|0)==28?10:(t|0)==12?17:2;break}case 189:{e[r+276>>2]=59,l=0;break}case 193:{e[D2>>2]=(e[D2>>2]|0)>>>1,l=1;break}case 198:{e[D2>>2]=0,l=1;break}case 278:{e[s>>2]=e[or>>2],l=0;break}case 280:break}return g=qE,l|0}function UG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;m=g,g=g+32|0,v=m+16|0,c=m+12|0,s=m+8|0,A=m+4|0,a=m,e[v>>2]=0,e[c>>2]=0,e[s>>2]=0,e[a>>2]=-1,w=r+144|0,p=r+284|0,o=(t|0)!=0;e:do if(qY[(y[r+232>>0]<<24>>24?2:1)&3](t,e[w>>2]|0,i,n,p,s,A,v,c,a)|0){if((e[a>>2]|0)==1&(o^1)&&(y[(e[r+352>>2]|0)+130>>0]=1,l=r+488|0,(e[l>>2]|0)==1)&&(e[l>>2]=0),l=r+140|0,!(e[l>>2]|0))e[r+80>>2]|0?(zt(r,e[w>>2]|0,i,n),i=0,t=0):(i=0,t=0);else{if(t=e[v>>2]|0,!t)t=0;else{if(n=e[w>>2]|0,t=_t(r+436|0,n,t,t+(ke[e[n+28>>2]&127](n,t)|0)|0)|0,!t){t=1;break}e[r+452>>2]=e[r+448>>2]}if(o=e[s>>2]|0,o){if(s=e[w>>2]|0,o=_t(r+436|0,s,o,(e[A>>2]|0)+(0-(e[s+64>>2]|0))|0)|0,!o){t=1;break}}else o=0;Y1[e[l>>2]&31](e[r+4>>2]|0,o,t,e[a>>2]|0),i=o}do if(!(e[r+228>>2]|0)){if(o=e[c>>2]|0,l=o,o|0){if(a=e[o+64>>2]|0,c=e[w>>2]|0,(a|0)==(e[c+64>>2]|0)&&(a|0)!=2|(o|0)==(c|0)){e[w>>2]=l;break}e[p>>2]=e[v>>2],t=19;break e}if(o=e[v>>2]|0,o|0){if(l=r+436|0,!t&&(t=e[w>>2]|0,t=_t(l,t,o,o+(ke[e[t+28>>2]&127](t,o)|0)|0)|0,!t)){t=1;break e}if(t=kZ(r,t)|0,fo(l),(t|0)!=18)break e;e[p>>2]=e[v>>2],t=18;break e}}while(0);(t|0)!=0|(i|0)!=0&&fo(r+436|0),t=0}else t=o?31:30;while(0);return g=m,t|0}function _t(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;do if(!(cd(r,t,i,n)|0))t=0;else{if(i=r+12|0,t=e[i>>2]|0,(t|0)==(e[r+8>>2]|0)){if(!((wr(r)|0)<<24>>24)){t=0;break}t=e[i>>2]|0}e[i>>2]=t+1,y[t>>0]=0,t=e[r+16>>2]|0}while(0);return t|0}function fo(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;n=r+4|0,t=e[n>>2]|0;e:do if(!t)e[n>>2]=e[r>>2],t=r;else for(i=e[r>>2]|0;;){if(!i){t=r;break e}l=e[i>>2]|0,e[i>>2]=t,e[n>>2]=i,o=i,i=l,t=o}while(0);e[t>>2]=0,e[r+16>>2]=0,e[r+12>>2]=0,e[r+8>>2]=0}function vi(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;L=t+8|0;e:do if(e[L>>2]|0){for(_=p9(r,i)|0,A=e[L>>2]|0,s=A+-1|0,a=e[t>>2]|0,c=_&0-A,z=t+4|0,w=s>>>2,l=0,s=s&_;o=e[a+(s<<2)>>2]|0,!!o;){if((kl0(i,e[o>>2]|0)|0)<<24>>24)break e;l<<24>>24?o=l:o=(c>>>((s0[z>>0]|0)+-1|0)&w|1)&255,x=o&255,l=o,s=s-x+(s>>>0>>0?A:0)|0}if(n){if(l=y[z>>0]|0,o=l&255,!((e[t+12>>2]|0)>>>(o+-1|0))){o=t+16|0,l=t,p=27;break}if(m=o+1&255,s=l+1&255,B=1<>2]>>2]&63](l)|0,x){for(Ur(x|0,0,l|0)|0,v=0-B|0,w=s+-1|0,p=E>>>2,c=0;!(c>>>0>=(e[L>>2]|0)>>>0);){if(l=e[(e[t>>2]|0)+(c<<2)>>2]|0,l|0){for(l=p9(r,e[l>>2]|0)|0,A=((l&v)>>>w&p|1)&255,l=l&E,s=0;a=x+(l<<2)|0,!!(e[a>>2]|0);)a=s<<24>>24?s:A,G=a&255,l=l+(l>>>0>>0?B:0)-G|0,s=a;e[a>>2]=e[(e[t>>2]|0)+(c<<2)>>2]}c=c+1|0}for(l2[e[(e[o>>2]|0)+8>>2]&127](e[t>>2]|0),e[t>>2]=x,y[z>>0]=m,e[L>>2]=B,A=((_&v)>>>w&p|1)&255,l=E&_,s=0;;){if(!(e[x+(l<<2)>>2]|0)){s=l,l=t,p=27;break e}G=s<<24>>24?s:A,L=G&255,l=l+(l>>>0>>0?B:0)-L|0,s=G}}else o=0}else o=0}else if(n)if(y[t+4>>0]=6,e[L>>2]=64,o=t+16|0,l=nr[e[e[o>>2]>>2]&63](256)|0,e[t>>2]=l,l){Ur(l|0,0,256)|0,s=p9(r,i)|0,s=(e[L>>2]|0)+-1&s,l=t,p=27;break}else{e[L>>2]=0,o=0;break}else o=0;while(0);return(p|0)==27&&(o=nr[e[e[o>>2]>>2]&63](n)|0,e[(e[l>>2]|0)+(s<<2)>>2]=o,o=e[(e[l>>2]|0)+(s<<2)>>2]|0,o?(Ur(o|0,0,n|0)|0,e[e[(e[l>>2]|0)+(s<<2)>>2]>>2]=i,o=t+12|0,e[o>>2]=(e[o>>2]|0)+1,o=e[(e[l>>2]|0)+(s<<2)>>2]|0):o=0),o|0}function s9(r){r=r|0;var t=0,i=0,n=0;for(n=r,t=r;i=y[n>>0]|0,!!(i<<24>>24);){switch(i<<24>>24|0){case 10:case 13:case 32:{(t|0)!=(r|0)?(y[t+-1>>0]|0)!=32&&(y[t>>0]=32,t=t+1|0):t=r;break}default:y[t>>0]=i,t=t+1|0}n=n+1|0}(t|0)!=(r|0)&&(r=t+-1|0,r=(y[r>>0]|0)==32?r:t),y[r>>0]=0}function A9(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=b3(r,0,e[r+144>>2]|0,t,i,n,(y[r+480>>0]|0)==0&1)|0,!(t|0)&&!((AZ(r)|0)<<24>>24)&&(t=1),t|0}function u9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;l=e[r+352>>2]|0,t=_t(l+80|0,t,i,n)|0;do if(t|0&&(o=vi(r,l+20|0,t,24)|0,(o|0)!=0))if((e[o>>2]|0)==(t|0)){if(e[l+96>>2]=e[l+92>>2],!(fZ(r,o)|0)){o=0;break}}else e[l+92>>2]=e[l+96>>2];else o=0;while(0);return o|0}function XG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;w=e[r+352>>2]|0,a=w+80|0,p=w+92|0,l=e[p>>2]|0,c=w+88|0,(l|0)==(e[c>>2]|0)?(wr(a)|0)<<24>>24?(l=e[p>>2]|0,s=4):o=0:s=4;e:do if((s|0)==4)if(e[p>>2]=l+1,y[l>>0]=0,t=_t(a,t,i,n)|0,t|0&&(A=t+1|0,o=vi(r,w+40|0,A,12)|0,(o|0)!=0)){if((e[o>>2]|0)!=(A|0)){e[p>>2]=e[w+96>>2];break}if(l=e[p>>2]|0,s=w+96|0,e[s>>2]=l,y[r+232>>0]|0){i=y[A>>0]|0;r:do if(i<<24>>24==120)if((y[t+2>>0]|0)==109&&(y[t+3>>0]|0)==108&&(y[t+4>>0]|0)==110&&(y[t+5>>0]|0)==115){switch(y[t+6>>0]|0){case 0:{l=w+152|0;break}case 58:{l=vi(r,w+60|0,t+7|0,8)|0;break}default:{n=0,t=120;break r}}e[o+4>>2]=l,y[o+9>>0]=1;break e}else n=0,t=120;else n=0,t=i;while(0);r:for(;;){switch(t<<24>>24){case 0:break e;case 58:{i=0;break r}default:}t=n+1|0,n=t,t=y[A+t>>0]|0}for(;t=(l|0)==(e[c>>2]|0),!((i|0)>=(n|0));){if(t){if(!((wr(a)|0)<<24>>24)){o=0;break e}l=e[p>>2]|0}t=y[A+i>>0]|0,e[p>>2]=l+1,y[l>>0]=t,i=i+1|0,l=e[p>>2]|0}if(t){if(!((wr(a)|0)<<24>>24)){o=0;break}l=e[p>>2]|0}if(e[p>>2]=l+1,y[l>>0]=0,l=vi(r,w+60|0,e[s>>2]|0,8)|0,e[o+4>>2]=l,l)if(t=e[s>>2]|0,(e[l>>2]|0)==(t|0)){e[s>>2]=e[p>>2];break}else{e[p>>2]=t;break}else o=0}}else o=0;while(0);return o|0}function fl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(o=r+12|0,l=r+8|0;;){if(i=y[t>>0]|0,!(i<<24>>24)){s=7;break}if(n=e[o>>2]|0,(n|0)==(e[l>>2]|0)){if(!((wr(r)|0)<<24>>24)){t=0;break}n=e[o>>2]|0,i=y[t>>0]|0}e[o>>2]=n+1,y[n>>0]=i,t=t+1|0}return(s|0)==7&&(t=e[r+16>>2]|0),t|0}function cd(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,e[s>>2]=i,l=r+12|0,!(e[l>>2]|0)&&!((wr(r)|0)<<24>>24)?i=0:o=3;e:do if((o|0)==3){for(i=t+56|0,o=r+8|0;!((fi[e[i>>2]&127](t,s,n,l,e[o>>2]|0)|0)>>>0<2);)if(!((wr(r)|0)<<24>>24)){i=0;break e}i=e[r+16>>2]|0}while(0);return g=A,i|0}function qG(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0;s=n<<24>>24==0,p=r+12|0,w=e[p>>2]|0;e:do if(s&(o|0)==0)c=9;else{for(A=r+20|0,n=0;!((n|0)>=(w|0));)if((e[(e[A>>2]|0)+(n*12|0)>>2]|0)==(t|0)){n=1;break e}else n=n+1|0;!s&&(a=r+8|0,(e[a>>2]|0)==0)&&!(y[t+9>>0]|0)&&(e[a>>2]=t),c=9}while(0);e:do if((c|0)==9){A=r+16|0;do if((w|0)==(e[A>>2]|0))if(w){if(s=r+20|0,n=ke[e[l+16>>2]&127](e[s>>2]|0,w*24|0)|0,!n){n=0;break e}e[A>>2]=w<<1,e[s>>2]=n;break}else{if(e[A>>2]=8,n=nr[e[l+12>>2]&63](96)|0,e[r+20>>2]=n,n|0)break;e[A>>2]=0,n=0;break e}else n=e[r+20>>2]|0;while(0);l=e[p>>2]|0,e[n+(l*12|0)>>2]=t,e[n+(l*12|0)+8>>2]=o,y[n+(l*12|0)+4>>0]=i,i<<24>>24||(y[t+8>>0]=1),e[p>>2]=(e[p>>2]|0)+1,n=1}while(0);return n|0}function wr(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;t=r+4|0,n=e[t>>2]|0;do if(n){if(o=r+16|0,l=e[o>>2]|0,!l){e[r>>2]=n,e[t>>2]=e[n>>2],e[n>>2]=0,w=e[r>>2]|0,t=w+8|0,e[o>>2]=t,e[r+8>>2]=(e[w+4>>2]|0)+(w+8),e[r+12>>2]=t,t=1;break}i=r+8|0,((e[i>>2]|0)-l|0)<(e[n+4>>2]|0)?(c=e[n>>2]|0,e[n>>2]=e[r>>2],w=e[t>>2]|0,e[r>>2]=w,e[t>>2]=c,t=e[o>>2]|0,u2(w+8|0,t|0,(e[i>>2]|0)-t|0)|0,t=e[r>>2]|0,w=r+12|0,e[w>>2]=(e[w>>2]|0)-(e[o>>2]|0)+(t+8),e[o>>2]=t+8,e[i>>2]=(e[t+4>>2]|0)+(t+8),t=1):s=6}else s=6;while(0);e:do if((s|0)==6){n=e[r>>2]|0,c=r+16|0;do if(!n)A=c,t=e[c>>2]|0;else{if(a=e[c>>2]|0,t=a,(a|0)!=(n+8|0)){A=c;break}if(o=r+8|0,l=(e[o>>2]|0)-t<<1,s=r+12|0,i=(e[s>>2]|0)-t|0,(l|0)<0){t=0;break e}if(t=pZ(l)|0,!t){t=0;break e}if(t=ke[e[(e[r+20>>2]|0)+4>>2]&127](n,t)|0,!t){t=0;break e}e[r>>2]=t,e[t+4>>2]=l,t=e[r>>2]|0,e[s>>2]=t+8+i,e[c>>2]=t+8,e[o>>2]=t+8+l,t=1;break e}while(0);if(a=r+8|0,t=(e[a>>2]|0)-t|0,(t|0)>=0){if((t|0)>=1024){if(t=t<<1,(t|0)<0){t=0;break}}else t=1024;i=pZ(t)|0,i|0&&(w=nr[e[e[r+20>>2]>>2]&63](i)|0,(w|0)!=0)?(e[w+4>>2]=t,e[w>>2]=e[r>>2],e[r>>2]=w,s=r+12|0,r=e[s>>2]|0,n=e[c>>2]|0,i=r,o=n,(r|0)==(n|0)?(l=w+8|0,n=o):(l=w+8|0,u2(l|0,n|0,i-o|0)|0,n=e[A>>2]|0,i=e[s>>2]|0),e[s>>2]=w+8+(i-n),e[c>>2]=l,e[a>>2]=w+8+t,t=1):t=0}else t=0}while(0);return t|0}function $G(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0;r=dZ(r,t,i,n,o,l)|0;do if(!r){if(t=l+12|0,r=e[t>>2]|0,!(i<<24>>24)&&(e[l+16>>2]|0)!=(r|0)&&(s=r+-1|0,(y[s>>0]|0)==32)&&(e[t>>2]=s,r=s),(r|0)==(e[l+8>>2]|0)){if(!((wr(l)|0)<<24>>24)){r=1;break}r=e[t>>2]|0}e[t>>2]=r+1,y[r>>0]=0,r=0}while(0);return r|0}function KG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0;if(t0=g,g=g+16|0,D=t0,P=t0+4|0,o=e[r+352>>2]|0,U=o+104|0,F=r+272|0,J=e[F>>2]|0,e[F>>2]=1,!(e[U>>2]|0)&&!((wr(U)|0)<<24>>24))o=1;else{w=t+20|0,p=r+484|0,v=r+144|0,m=r+412|0,E=t+64|0,B=o+132|0,x=r+428|0,z=r+424|0,_=r+224|0,L=r+112|0,c=o+130|0,G=o+128|0,W=o+131|0,N=r+116|0,T=o+112|0,A=o+116|0,a=t+40|0;e:for(;;){r:do switch(e2[e[w>>2]&127](t,i,n,D)|0){case-4:{o=0;break e}case-1:{q=37;break e}case 0:{q=39;break e}case 28:{if(!(y[p>>0]|0)&&(e[v>>2]|0)==(t|0)){q=19;break e}if(o=e[E>>2]|0,o=_t(m,t,i+o|0,(e[D>>2]|0)+(0-o)|0)|0,!o){o=1;break e}if(l=vi(r,B,o,0)|0,e[z>>2]=e[x>>2],!l){q=9;break e}if(s=l+32|0,y[s>>0]|0){q=11;break e}if(o=l+16|0,!(e[o>>2]|0)){if(y[s>>0]=1,o=e[l+4>>2]|0,o=KG(r,e[_>>2]|0,o,o+(e[l+8>>2]|0)|0)|0,y[s>>0]=0,o)break e;break r}if(e[L>>2]|0){if(y[W>>0]=0,y[s>>0]=1,l=(fi[e[L>>2]&127](e[N>>2]|0,0,e[l+20>>2]|0,e[o>>2]|0,e[l+24>>2]|0)|0)==0,y[s>>0]=0,l){o=21;break e}if(y[W>>0]|0)break r}y[G>>0]=y[c>>0]|0;break}case 6:case 9:{if(!(cd(U,t,i,e[D>>2]|0)|0)){o=1;break e}break}case-3:{e[D>>2]=i+(e[E>>2]|0),q=22;break}case 7:{q=22;break}case 10:{if(o=ke[e[a>>2]&127](t,i)|0,(o|0)<0){q=27;break e}for(l=rh(o,P)|0,i=0;!((i|0)>=(l|0));){if(o=e[A>>2]|0,(e[T>>2]|0)==(o|0)){if(!((wr(U)|0)<<24>>24)){o=1,q=35;break e}o=e[A>>2]|0}s=y[P+i>>0]|0,e[A>>2]=o+1,y[o>>0]=s,i=i+1|0}break}default:{q=41;break e}}while(0);if((q|0)==22){if(q=0,o=e[A>>2]|0,(e[T>>2]|0)==(o|0)){if(!((wr(U)|0)<<24>>24)){o=1;break}o=e[A>>2]|0}e[A>>2]=o+1,y[o>>0]=10}i=e[D>>2]|0}(q|0)==9?(y[G>>0]=y[c>>0]|0,o=0):(q|0)==11?((e[v>>2]|0)==(t|0)&&(e[r+284>>2]=i),o=12):(q|0)==19?(e[r+284>>2]=i,o=10):(q|0)==27?(e[v>>2]|0)==(t|0)?(e[r+284>>2]=i,o=14,q=35):(o=14,q=35):(q|0)==37?((e[v>>2]|0)==(t|0)&&(e[r+284>>2]=i),o=4):(q|0)==39?((e[v>>2]|0)==(t|0)&&(e[r+284>>2]=e[D>>2]),o=4):(q|0)==41&&((e[v>>2]|0)==(t|0)&&(e[r+284>>2]=i),o=23),e[F>>2]=J}return g=t0,o|0}function zt(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;if(v=g,g=g+16|0,w=v,p=v+4|0,e[w>>2]=i,y[t+68>>0]|0)cr[e[r+80>>2]&127](e[r+4>>2]|0,i,n-i|0);else{(e[r+144>>2]|0)==(t|0)?(o=r+288|0,l=r+284|0):(l=e[r+296>>2]|0,o=l+4|0),s=r+44|0,A=t+56|0,a=r+48|0,c=r+80|0,i=r+4|0;do e[p>>2]=e[s>>2],r=fi[e[A>>2]&127](t,w,n,p,e[a>>2]|0)|0,e[o>>2]=e[w>>2],m=e[s>>2]|0,cr[e[c>>2]&127](e[i>>2]|0,m,(e[p>>2]|0)-m|0),e[l>>2]=e[w>>2];while(r>>>0>1)}g=v}function bG(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0;switch(w=g,g=g+16|0,a=w,c=e[i>>2]|0,(e[r+144>>2]|0)==(t|0)?(A=r+284|0,e[A>>2]=c,s=r+288|0):(A=e[r+296>>2]|0,s=A+4|0),e[A>>2]=c,e[i>>2]=0,p=e2[e[t+12>>2]&127](t,c,n,a)|0,n=e[a>>2]|0,e[s>>2]=n,p|0){case 42:{e[r+80>>2]|0&&(zt(r,t,c,n),n=e[a>>2]|0),e[i>>2]=n,e[o>>2]=n,n=(e[r+476>>2]|0)==2?35:0;break}case 0:{e[A>>2]=n,n=4;break}case-2:{l<<24>>24?(e[o>>2]=c,n=0):n=6;break}case-4:case-1:{l<<24>>24?(e[o>>2]=c,n=0):n=2;break}default:e[A>>2]=n,n=23}return g=w,n|0}function al0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=g,g=g+16|0,o=l,e[o>>2]=t,t=bG(r,e[r+144>>2]|0,o,i,n,(y[r+480>>0]|0)==0&1)|0,o=e[o>>2]|0,(t|0)!=0|(o|0)==0||(e[r+276>>2]=57,t=l9(r,o,i,n)|0),g=l,t|0}function eZ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;A=e[r+352>>2]|0,a=A+184|0,e[a>>2]|0?i=4:(t=nr[e[r+12>>2]&63](e[r+464>>2]<<2)|0,e[a>>2]=t,t?(e[t>>2]=0,i=4):t=-1);do if((i|0)==4){if(s=A+176|0,t=e[s>>2]|0,l=A+172|0,i=e[l>>2]|0,o=A+164|0,n=e[o>>2]|0,t>>>0>>0)l=n;else{if(n){if(t=ke[e[r+16>>2]&127](n,i*56|0)|0,!t){t=-1;break}i=t,t=e[l>>2]<<1}else if(t=nr[e[r+12>>2]&63](896)|0,t)i=t,t=32;else{t=-1;break}e[l>>2]=t,e[o>>2]=i,t=e[s>>2]|0,l=i}e[s>>2]=t+1,i=e[A+180>>2]|0,i|0&&(r=e[(e[a>>2]|0)+(i+-1<<2)>>2]|0,o=l+(r*28|0)+16|0,i=e[o>>2]|0,i|0&&(e[l+(i*28|0)+24>>2]=t),i=l+(r*28|0)+20|0,n=e[i>>2]|0,n||(e[l+(r*28|0)+12>>2]=t),e[o>>2]=t,e[i>>2]=n+1),a=l+(t*28|0)+12|0,e[a>>2]=0,e[a+4>>2]=0,e[a+8>>2]=0,e[a+12>>2]=0}while(0);return t|0}function rZ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+16|0,w=v,p=r+300|0,n=e[p>>2]|0,n?(e[p>>2]=e[n+8>>2],c=n,o=4):(n=nr[e[r+12>>2]&63](24)|0,n?(c=n,o=4):n=1);do if((o|0)==4&&(l=t+32|0,y[l>>0]=1,s=t+12|0,e[s>>2]=0,A=r+296|0,a=c+8|0,e[a>>2]=e[A>>2],e[A>>2]=c,e[c+12>>2]=t,n=r+308|0,e[c+16>>2]=e[n>>2],y[c+20>>0]=i,e[c>>2]=0,e[c+4>>2]=0,o=e[t+4>>2]|0,i=o+(e[t+8>>2]|0)|0,e[w>>2]=o,y[t+33>>0]|0?(t=r+224|0,n=e[t>>2]|0,n=e2[e[n>>2]&127](n,o,i,w)|0,n=ad(r,e[t>>2]|0,o,i,n,e[w>>2]|0,w,0)|0):n=b3(r,e[n>>2]|0,e[r+224>>2]|0,o,i,w,0)|0,!n)){if(n=e[w>>2]|0,(i|0)!=(n|0)&&(e[r+476>>2]|0)==3){e[s>>2]=n-o,e[r+276>>2]=60,n=0;break}y[l>>0]=0,e[A>>2]=e[a>>2],e[a>>2]=e[p>>2],e[p>>2]=c,n=0}while(0);return g=v,n|0}function cl0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return l=g,g=g+16|0,i=l+4|0,n=l,t=e[r+352>>2]|0,o=t+176|0,t=nr[e[r+12>>2]&63](((e[o>>2]|0)*20|0)+(e[t+168>>2]|0)|0)|0,t?(e[n>>2]=t+((e[o>>2]|0)*20|0),e[i>>2]=t+20,iZ(r,0,t,i,n)):t=0,g=l,t|0}function f9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;return a=r+64|0,e[a>>2]|0?(s=t+64|0,l=i+(e[s>>2]<<1)|0,i=l+(ke[e[t+28>>2]&127](t,l)|0)|0,o=r+412|0,l=_t(o,t,l,i)|0,l|0&&(e[r+428>>2]=e[r+424>>2],A=ke[e[t+32>>2]&127](t,i)|0,A=_t(o,t,A,n+(0-(e[s>>2]<<1))|0)|0,(A|0)!=0)?(tZ(A),cr[e[a>>2]&127](e[r+4>>2]|0,l,A),fo(o),i=1):i=0):(e[r+80>>2]|0&&zt(r,t,i,n),i=1),i|0}function a9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;return l=r+68|0,e[l>>2]|0?(o=r+412|0,s=e[t+64>>2]|0,t=_t(o,t,i+(s<<2)|0,n+(N0(s,-3)|0)|0)|0,t?(tZ(t),Bt[e[l>>2]&63](e[r+4>>2]|0,t),fo(o),t=1):t=0):(e[r+80>>2]|0&&zt(r,t,i,n),t=1),t|0}function tZ(r){r=r|0;var t=0,i=0,n=0;e:for(;;){switch(y[r>>0]|0){case 0:break e;case 13:{i=r,t=13,n=4;break e}default:}r=r+1|0}if((n|0)==4){for(;t<<24>>24==13?(y[i>>0]=10,n=r+1|0,r=(y[n>>0]|0)==10?r+2|0:n):(y[i>>0]=t,r=r+1|0),i=i+1|0,t=y[r>>0]|0,t<<24>>24;)n=4;y[i>>0]=0}}function iZ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;if(a=(e[r+352>>2]|0)+164|0,A=e[(e[a>>2]|0)+(t*28|0)>>2]|0,e[i>>2]=A,e[i+4>>2]=e[(e[a>>2]|0)+(t*28|0)+4>>2],(A|0)==4){for(e[i+8>>2]=e[o>>2],t=e[(e[a>>2]|0)+(t*28|0)+8>>2]|0;A=y[t>>0]|0,a=e[o>>2]|0,e[o>>2]=a+1,y[a>>0]=A,y[t>>0]|0;)t=t+1|0;e[i+12>>2]=0,e[i+16>>2]=0}else{for(l=e[(e[a>>2]|0)+(t*28|0)+20>>2]|0,s=i+12|0,e[s>>2]=l,A=i+16|0,e[A>>2]=e[n>>2],e[n>>2]=(e[n>>2]|0)+(l*20|0),t=(e[a>>2]|0)+(t*28|0)+12|0,l=0;t=e[t>>2]|0,!(l>>>0>=(e[s>>2]|0)>>>0);)iZ(r,t,(e[A>>2]|0)+(l*20|0)|0,n,o),t=(e[a>>2]|0)+(t*28|0)+24|0,l=l+1|0;e[i+8>>2]=0}}function b3(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0,dr=0,D2=0,ue=0,gr=0,yr=0,ur=0,Fe=0,M2=0,Ti=0,ai=0,g1=0,q2=0,It=0,Ir=0,y1=0,Rr=0;y1=g,g=g+48|0,q2=y1+28|0,Fe=y1+32|0,It=y1+24|0,T2=y1,e[q2>>2]=n,dr=e[r+352>>2]|0,(e[r+144>>2]|0)==(i|0)?(M2=r+284|0,i2=r+288|0):(i2=e[r+296>>2]|0,M2=i2,i2=i2+4|0),e[M2>>2]=n,x=i+4|0,Ti=r+80|0,z=r+476|0,_=i+44|0,L=i+64|0,G=dr+80|0,W=dr+96|0,N=dr+92|0,T=dr+129|0,D=r+112|0,P=r+116|0,U=r+428|0,J=r+424|0,F=r+304|0,q=r+120|0,ai=r+4|0,t0=dr+130|0,D2=r+60|0,Y=r+364|0,H=r+12|0,f0=r+360|0,k0=i+28|0,g1=r+308|0,ue=i+56|0,B0=r+16|0,D0=r+52|0,J0=r+412|0,V0=r+388|0,Z0=r+56|0,F0=r+232|0,b0=r+233|0,O0=r+468|0,ze=r+104|0,me=r+372|0,pe=i+40|0,g2=r+72|0,gr=i+68|0,yr=r+44|0,ur=r+48|0;e:for(;;){B=e[q2>>2]|0,e[Fe>>2]=B,B=e2[e[x>>2]&127](i,B,o,Fe)|0,n=e[Fe>>2]|0,e[i2>>2]=n,a=n;r:do switch(B|0){case-3:{Ir=6;break e}case-4:{Ir=15;break e}case 0:{Ir=20;break e}case-1:{Ir=21;break e}case-2:{Ir=23;break e}case 12:{n=17;break e}case-5:{Ir=134;break e}case 9:{B=e[L>>2]|0,B=(oe[e[_>>2]&63](i,(e[q2>>2]|0)+B|0,a+(0-B)|0)|0)&255,y[It>>0]=B;do if(B<<24>>24){if(n=e[D2>>2]|0,n|0){cr[n&127](e[ai>>2]|0,It,1);break}e[Ti>>2]|0&&zt(r,i,e[q2>>2]|0,e[Fe>>2]|0)}else{if(A=e[L>>2]|0,A=_t(G,i,(e[q2>>2]|0)+A|0,(e[Fe>>2]|0)+(0-A)|0)|0,!A){n=1,Ir=56;break e}if(a=vi(r,dr,A,0)|0,e[N>>2]=e[W>>2],y[T>>0]|0&&!(y[t0>>0]|0)){if(!a){if(n=e[q>>2]|0,n|0){cr[n&127](e[ai>>2]|0,A,0);break}if(!(e[Ti>>2]|0))break;zt(r,i,e[q2>>2]|0,e[Fe>>2]|0);break}}else{if(!a){n=11,Ir=56;break e}if(!(y[a+34>>0]|0)){n=24,Ir=56;break e}}if(n=a+32|0,y[n>>0]|0){n=12,Ir=56;break e}if(e[a+28>>2]|0){n=15,Ir=56;break e}if(!(e[a+4>>2]|0)){if(!(e[D>>2]|0)){if(!(e[Ti>>2]|0))break;zt(r,i,e[q2>>2]|0,e[Fe>>2]|0);break}if(y[n>>0]=1,A=wl0(r)|0,y[n>>0]=0,!A){n=1,Ir=56;break e}if(!(fi[e[D>>2]&127](e[P>>2]|0,A,e[a+20>>2]|0,e[a+16>>2]|0,e[a+24>>2]|0)|0)){n=21,Ir=56;break e}e[J>>2]=e[U>>2];break}if(y[F>>0]|0)if(n=rZ(r,a,0)|0,n){Ir=58;break e}else break;n=e[q>>2]|0,n?cr[n&127](e[ai>>2]|0,e[a>>2]|0,0):e[Ti>>2]|0&&zt(r,i,e[q2>>2]|0,e[Fe>>2]|0);break r}while(0);break}case 1:case 2:{if(n=e[Y>>2]|0,n)e[Y>>2]=e[n>>2];else{if(n=nr[e[H>>2]&63](48)|0,!n){n=1,Ir=75;break e}if(A=nr[e[H>>2]&63](32)|0,e[n+36>>2]=A,!A){Ir=63;break e}e[n+40>>2]=A+32}for(p=n+44|0,e[p>>2]=0,e[n>>2]=e[f0>>2],e[f0>>2]=n,B=n+12|0,e[n+16>>2]=0,e[n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>>2]|0),!(e[g1>>2]|0)&&(e[z>>2]&-2|0)!=2){Ir=92;break e}break}case 5:{if((e[g1>>2]|0)==(t|0)){n=13;break e}if(w=e[f0>>2]|0,e[f0>>2]=e[w>>2],e[w>>2]=e[Y>>2],e[Y>>2]=w,n=(e[q2>>2]|0)+(e[L>>2]<<1)|0,A=ke[e[k0>>2]&127](i,n)|0,(A|0)!=(e[w+8>>2]|0)){Ir=96;break e}if(Q1(e[w+4>>2]|0,n,A)|0){Ir=96;break e}if(e[g1>>2]=(e[g1>>2]|0)+-1,n=e[Z0>>2]|0,!n)e[Ti>>2]|0&&zt(r,i,e[q2>>2]|0,e[Fe>>2]|0);else{if(A=e[w+16>>2]|0,c=w+12|0,(A|0)!=0&(y[F0>>0]|0)!=0){for(n=(e[c>>2]|0)+(e[w+28>>2]|0)|0;a=y[A>>0]|0,!!(a<<24>>24);)y[n>>0]=a,n=n+1|0,A=A+1|0;A=e[w+20>>2]|0;t:do if((A|0)!=0&(y[b0>>0]|0)!=0)for(y[n>>0]=y[O0>>0]|0;;){if(n=n+1|0,a=y[A>>0]|0,!(a<<24>>24))break t;y[n>>0]=a,A=A+1|0}while(0);y[n>>0]=0,n=e[Z0>>2]|0}Bt[n&63](e[ai>>2]|0,e[c>>2]|0)}for(a=w+44|0;c=e[a>>2]|0,!!c;)n=e[ze>>2]|0,n?(Bt[n&63](e[ai>>2]|0,e[e[c>>2]>>2]|0),n=c,A=e[a>>2]|0):(n=c,A=c),e[a>>2]=e[A+4>>2],e[c+4>>2]=e[me>>2],e[me>>2]=c,e[(e[n>>2]|0)+4>>2]=e[c+8>>2];if(!(e[g1>>2]|0)){Ir=117;break e}break}case 10:{if(n=ke[e[pe>>2]&127](i,e[q2>>2]|0)|0,(n|0)<0){n=14;break e}if(A=e[D2>>2]|0,A|0){B=e[ai>>2]|0,Rr=rh(n,It)|0,cr[A&127](B,It,Rr);break r}e[Ti>>2]|0&&zt(r,i,e[q2>>2]|0,e[Fe>>2]|0);break}case 7:{if(n=e[D2>>2]|0,n|0){y[It>>0]=10,cr[n&127](e[ai>>2]|0,It,1);break r}e[Ti>>2]|0&&zt(r,i,e[q2>>2]|0,a);break}case 8:{if(n=e[g2>>2]|0,n?l2[n&127](e[ai>>2]|0):e[Ti>>2]|0&&zt(r,i,e[q2>>2]|0,a),n=lZ(r,i,Fe,o,l,s)|0,n|0)break e;if(!(e[Fe>>2]|0)){Ir=133;break e}break}case 6:{if(A=e[D2>>2]|0,!A){if(!(e[Ti>>2]|0))break r;zt(r,i,e[q2>>2]|0,a);break r}if(!(y[gr>>0]|0))n=a;else{Rr=e[q2>>2]|0,cr[A&127](e[ai>>2]|0,Rr,n-Rr|0);break r}for(;e[It>>2]=e[yr>>2],Rr=fi[e[ue>>2]&127](i,q2,n,It,e[ur>>2]|0)|0,e[i2>>2]=e[q2>>2],B=e[yr>>2]|0,cr[A&127](e[ai>>2]|0,B,(e[It>>2]|0)-B|0),!(Rr>>>0<2);)e[M2>>2]=e[q2>>2],n=e[Fe>>2]|0;break}case 11:{if(!(f9(r,i,e[q2>>2]|0,a)|0)){n=1;break e}break}case 13:{if(!(a9(r,i,e[q2>>2]|0,a)|0)){n=1;break e}break}default:e[Ti>>2]|0&&zt(r,i,e[q2>>2]|0,a)}while(0);switch(Rr=e[Fe>>2]|0,e[q2>>2]=Rr,e[M2>>2]=Rr,e[z>>2]|0){case 2:{n=35;break e}case 3:{Ir=160;break e}default:}}switch(Ir|0){case 6:{if(s<<24>>24){e[l>>2]=e[q2>>2],n=0;break}e[i2>>2]=o,n=e[D2>>2]|0,n?(y[It>>0]=10,cr[n&127](e[ai>>2]|0,It,1)):e[Ti>>2]|0&&zt(r,i,e[q2>>2]|0,o),t?(e[g1>>2]|0)==(t|0)?(e[l>>2]=o,n=0):n=13:n=3;break}case 15:{if(s<<24>>24){e[l>>2]=e[q2>>2],n=0;break}(t|0)>0?(e[g1>>2]|0)==(t|0)?(e[l>>2]=e[q2>>2],n=0):n=13:n=3;break}case 20:{e[M2>>2]=n,n=4;break}case 21:{s<<24>>24?(e[l>>2]=e[q2>>2],n=0):n=5;break}case 23:{s<<24>>24?(e[l>>2]=e[q2>>2],n=0):n=6;break}case 56:break;case 58:break;case 63:{l2[e[r+20>>2]&127](n),n=1,Ir=75;break}case 69:{n=1,Ir=75;break}case 79:{oZ(r,e[It>>2]|0),Ir=89;break}case 92:{n=c9(r,e[Fe>>2]|0,o,l)|0;break}case 96:{e[M2>>2]=n,n=7;break}case 117:{n=c9(r,e[Fe>>2]|0,o,l)|0;break}case 133:{e[r+276>>2]=61,n=0;break}case 134:{if(s<<24>>24){e[l>>2]=e[q2>>2],n=0;break}n=e[D2>>2]|0;do if(!n)e[Ti>>2]|0&&zt(r,i,e[q2>>2]|0,o);else if(y[gr>>0]|0){Rr=e[q2>>2]|0,cr[n&127](e[ai>>2]|0,Rr,o-Rr|0);break}else{e[It>>2]=e[yr>>2],fi[e[ue>>2]&127](i,q2,o,It,e[ur>>2]|0)|0,Rr=e[yr>>2]|0,cr[e[D2>>2]&127](e[ai>>2]|0,Rr,(e[It>>2]|0)-Rr|0);break}while(0);if(!t){e[M2>>2]=o,n=3;break}if((e[g1>>2]|0)==(t|0)){e[l>>2]=o,n=0;break}else{e[M2>>2]=o,n=13;break}}case 160:{e[l>>2]=e[Fe>>2],n=0;break}}return g=y1,n|0}function hl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;m=g,g=g+16|0,v=m,a=r+296|0,c=e[a>>2]|0;do if(c){if(w=e[c+12>>2]|0,l=w+4|0,A=e[l>>2]|0,s=w+12|0,o=A+(e[s>>2]|0)|0,A=A+(e[w+8>>2]|0)|0,e[v>>2]=o,p=w+33|0,y[p>>0]|0?(B=r+224|0,E=e[B>>2]|0,E=e2[e[E>>2]&127](E,o,A,v)|0,o=ad(r,e[B>>2]|0,o,A,E,e[v>>2]|0,v,0)|0):o=b3(r,e[c+16>>2]|0,e[r+224>>2]|0,o,A,v,0)|0,!o){if(o=e[v>>2]|0,(A|0)!=(o|0)&&(e[r+476>>2]|0)==3){e[s>>2]=o-(e[l>>2]|0),o=0;break}if(y[w+32>>0]=0,B=c+8|0,e[a>>2]=e[B>>2],o=r+300|0,e[B>>2]=e[o>>2],e[o>>2]=c,o=r+276|0,y[p>>0]|0){e[o>>2]=57,B=r+144|0,o=e[B>>2]|0,o=e2[e[o>>2]&127](o,t,i,v)|0,o=ad(r,e[B>>2]|0,t,i,o,e[v>>2]|0,n,(y[r+480>>0]|0)==0&1)|0;break}else{e[o>>2]=58,o=b3(r,(e[r+472>>2]|0)!=0&1,e[r+144>>2]|0,t,i,n,(y[r+480>>0]|0)==0&1)|0;break}}}else o=23;while(0);return g=m,o|0}function wl0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;m=g,g=g+16|0,w=m,c=e[r+352>>2]|0,l=c+156|0,p=r+412|0,v=r+424|0;e:do if(!(e[l>>2]|0))t=0,s=r+420|0,a=r+468|0,A=12;else{if(t=e[v>>2]|0,s=r+420|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break}t=e[v>>2]|0}for(e[v>>2]=t+1,y[t>>0]=61,o=r+468|0,i=(e[(e[l>>2]|0)+20>>2]|0)+(((y[o>>0]|0)!=0)<<31>>31)|0,n=0;;){if((n|0)>=(i|0)){t=1,a=o,A=12;break e}if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}a=y[(e[(e[l>>2]|0)+16>>2]|0)+n>>0]|0,e[v>>2]=t+1,y[t>>0]=a,n=n+1|0}}while(0);e:do if((A|0)==12){n9(w,c+60|0);r:for(;;){do{if(i=o9(w)|0,!i)break r;l=i+4|0}while(!(e[l>>2]|0));if(t<<24>>24){if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}e[v>>2]=t+1,y[t>>0]=12}for(o=e[i>>2]|0;i=y[o>>0]|0,t=e[v>>2]|0,n=(t|0)==(e[s>>2]|0),!!(i<<24>>24);){if(n){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0,i=y[o>>0]|0}e[v>>2]=t+1,y[t>>0]=i,o=o+1|0}if(n){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}for(e[v>>2]=t+1,y[t>>0]=61,n=(e[(e[l>>2]|0)+20>>2]|0)+(((y[a>>0]|0)!=0)<<31>>31)|0,i=0;;){if((i|0)>=(n|0)){t=1;continue r}if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}A=y[(e[(e[l>>2]|0)+16>>2]|0)+i>>0]|0,e[v>>2]=t+1,y[t>>0]=A,i=i+1|0}}n9(w,c);r:for(;;){do if(i=o9(w)|0,!i)break r;while(!(y[i+32>>0]|0));if(t<<24>>24){if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}e[v>>2]=t+1,y[t>>0]=12}for(n=e[i>>2]|0;;){if(i=y[n>>0]|0,!(i<<24>>24)){t=1;continue r}if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0,i=y[n>>0]|0}e[v>>2]=t+1,y[t>>0]=i,n=n+1|0}}if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break}t=e[v>>2]|0}e[v>>2]=t+1,y[t>>0]=0,t=e[r+428>>2]|0}while(0);return g=m,t|0}function nZ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0;D0=g,g=g+80|0,H=D0+16|0,f0=D0,k0=e[r+352>>2]|0,A=k0+20|0,l=vi(r,A,e[n>>2]|0,0)|0,l?(s=l,N=6):(l=uZ(k0+80|0,e[n>>2]|0)|0,l|0&&(s=vi(r,A,l,24)|0,(s|0)!=0)?y[r+232>>0]|0&&!(fZ(r,s)|0)?l=1:N=6:l=1);e:do if((N|0)==6){if(L=e[s+12>>2]|0,A=t+36|0,a=r+376|0,B=r+388|0,x=e2[e[A>>2]&127](t,i,e[a>>2]|0,e[B>>2]|0)|0,l=x+L|0,c=e[a>>2]|0,(l|0)>(c|0)){if(l=l+16|0,e[a>>2]=l,l=ke[e[r+16>>2]&127](e[B>>2]|0,l<<4)|0,!l){e[a>>2]=c,l=1;break}e[B>>2]=l,(x|0)>(c|0)&&e2[e[A>>2]&127](t,i,x,l)|0}for(Y=e[B>>2]|0,m=t+28|0,q=r+412|0,t0=r+428|0,_=s+20|0,v=r+424|0,E=0,p=0,A=0;!((p|0)>=(x|0));){if(w=e[(e[B>>2]|0)+(p<<4)>>2]|0,w=XG(r,t,w,w+(ke[e[m>>2]&127](t,w)|0)|0)|0,!w){l=1;break e}if(l=(e[w>>2]|0)+-1|0,y[l>>0]|0){N=15;break}if(y[l>>0]=1,i=E+1|0,e[Y+(E<<2)>>2]=e[w>>2],c=e[B>>2]|0,y[c+(p<<4)+12>>0]|0){if(F=_t(q,t,e[c+(p<<4)+4>>2]|0,e[c+(p<<4)+8>>2]|0)|0,e[Y+(i<<2)>>2]=F,!F){l=1;break e}}else{r:do if(!(y[w+8>>0]|0))l=1;else{for(l=0;;){if((l|0)>=(L|0)){l=1;break r}if(a=e[_>>2]|0,(w|0)==(e[a+(l*12|0)>>2]|0))break;l=l+1|0}l=y[a+(l*12|0)+4>>0]|0}while(0);if(l=$G(r,t,l,e[c+(p<<4)+4>>2]|0,e[c+(p<<4)+8>>2]|0,q)|0,l|0)break e;e[Y+(i<<2)>>2]=e[t0>>2]}e[t0>>2]=e[v>>2],l=e[w+4>>2]|0;do if(l)if(y[w+9>>0]|0){if(l=h9(r,l,w,e[Y+(i<<2)>>2]|0,o)|0,l)break e;l=E;break}else{y[(e[w>>2]|0)+-1>>0]=2,A=A+1|0,l=E+2|0;break}else l=E+2|0;while(0);E=l,p=p+1|0}if((N|0)==15){if((e[r+144>>2]|0)!=(t|0)){l=8;break}e[r+284>>2]=e[(e[B>>2]|0)+(p<<4)>>2],l=8;break}e[r+380>>2]=E,l=e[s+8>>2]|0;r:do if(l|0&&(z=e[l>>2]|0,(y[z+-1>>0]|0)!=0))for(l=0;;){if((l|0)>=(E|0)){i=0,p=A,F=E;break r}if((e[Y+(l<<2)>>2]|0)==(z|0)){N=37;break r}l=l+2|0}else l=-1,N=37;while(0);for((N|0)==37&&(e[r+384>>2]=l,i=0,p=A,F=E);!((i|0)>=(L|0));){l=e[_>>2]|0,c=l+(i*12|0)|0,A=e[c>>2]|0,a=(e[A>>2]|0)+-1|0;r:do if(!(y[a>>0]|0)&&(G=l+(i*12|0)+8|0,W=e[G>>2]|0,(W|0)!=0)){l=e[A+4>>2]|0;do if(l)if(y[A+9>>0]|0){if(l=h9(r,l,A,W,o)|0,l)break e;l=p,A=F;break r}else{y[a>>0]=2,l=p+1|0;break}else y[a>>0]=1,l=p;while(0);e[Y+(F<<2)>>2]=e[e[c>>2]>>2],e[Y+(F+1<<2)>>2]=e[G>>2],A=F+2|0}else l=p,A=F;while(0);i=i+1|0,p=l,F=A}e[Y+(F<<2)>>2]=0;r:do if(!p)l=0;else{w=r+396|0,c=e[w>>2]|0,J=r+400|0,i=y[J>>0]|0,l=i&255;do if(!(p<<1>>l))l=1<>24;while(p>>(U&255)|0);if(l=(l&255)>3?l:3,y[J>>0]=l,l=l&255,a=r+392|0,A=ke[e[r+16>>2]&127](e[a>>2]|0,12<>2]=A,A=1<>0]=i,l=1;break e}}while(0);t:do if((N|0)==55)for(l=A;;){if(!l){l=-1;break t}U=l+-1|0,e[(e[a>>2]|0)+(U*12|0)>>2]=-1,l=U}while(0);U=l+-1|0,e[w>>2]=U,_=k0+40|0,L=r+424|0,G=r+420|0,W=A+-1|0,N=0-A|0,T=W>>>2,D=r+233|0,P=r+468|0,l=0,z=p;t:for(;;){for(;;){if((l|0)>=(F|0))break r;if(t=Y+(l<<2)|0,c=e[t>>2]|0,i=c+-1|0,(y[i>>0]|0)==2)break;y[i>>0]=0,l=l+2|0}if(aZ(r,f0),cZ(H,f0),y[i>>0]=0,i=vi(r,_,c,0)|0,!i){l=1;break}if(i=e[i+4>>2]|0,!i){l=1;break}if(x=e[i+4>>2]|0,!x){l=27;break}for(v=x+20|0,m=x+16|0,p=0;i=e[v>>2]|0,w=e[m>>2]|0,!((p|0)>=(i|0));){if(w=y[w+p>>0]|0,i=e[L>>2]|0,(i|0)==(e[G>>2]|0)){if(!((wr(q)|0)<<24>>24)){l=1;break t}i=e[L>>2]|0}e[L>>2]=i+1,y[i>>0]=w,p=p+1|0}w9(H,w,i);do B=c,c=c+1|0;while((y[B>>0]|0)!=58);for(w9(H,c,hZ(c)|0);;){if(i=e[L>>2]|0,(i|0)==(e[G>>2]|0)){if(!((wr(q)|0)<<24>>24)){l=1;break t}i=e[L>>2]|0}if(B=y[c>>0]|0,e[L>>2]=i+1,y[i>>0]=B,y[c>>0]|0)c=c+1|0;else break}for(B=wZ(H)|0,v=e[a>>2]|0,m=B&N,c=0,E=W&B;(e[v+(E*12|0)>>2]|0)==(U|0);){if((e[v+(E*12|0)+4>>2]|0)==(B|0)){for(i=e[v+(E*12|0)+8>>2]|0,w=e[t0>>2]|0;J0=y[w>>0]|0,p=J0<<24>>24==0,!(p|J0<<24>>24!=(y[i>>0]|0));)i=i+1|0,w=w+1|0;if(p){l=8;break t}}c<<24>>24||(c=(m>>>((s0[J>>0]|0)+-1|0)&T|1)&255),J0=c&255,E=E+((E|0)<(J0|0)?A:0)-J0|0}if(y[D>>0]|0)for(y[(e[L>>2]|0)+-1>>0]=y[P>>0]|0,i=e[e[x>>2]>>2]|0;;){if(c=e[L>>2]|0,(c|0)==(e[G>>2]|0)){if(!((wr(q)|0)<<24>>24)){l=1;break t}c=e[L>>2]|0}if(J0=y[i>>0]|0,e[L>>2]=c+1,y[c>>0]=J0,y[i>>0]|0)i=i+1|0;else break}if(J0=e[t0>>2]|0,e[t0>>2]=e[L>>2],e[t>>2]=J0,e[(e[a>>2]|0)+(E*12|0)>>2]=U,e[(e[a>>2]|0)+(E*12|0)+4>>2]=B,e[(e[a>>2]|0)+(E*12|0)+8>>2]=J0,z=z+-1|0,l=l+2|0,!z)break r}break e}while(0);for(;;){if((l|0)>=(F|0)){l=o;break}y[(e[Y+(l<<2)>>2]|0)+-1>>0]=0,l=l+2|0}for(;l=e[l>>2]|0,!!l;)y[(e[e[l+12>>2]>>2]|0)+-1>>0]=0,l=l+4|0;if(!(y[r+232>>0]|0))l=0;else{if(l=e[s+4>>2]|0,l){if(l=e[l+4>>2]|0,!l){l=27;break}for(s=e[n>>2]|0;A=s+1|0,(y[s>>0]|0)!=58;)s=A}else{if(l=e[k0+156>>2]|0,!l){l=0;break}A=e[n>>2]|0}if(y[r+233>>0]|0&&(B0=e[e[l>>2]>>2]|0,(B0|0)!=0))for(s=0;a=s+1|0,y[B0+s>>0]|0;)s=a;else a=0;for(e[n+4>>2]=A,p=l+20|0,e[n+16>>2]=e[p>>2],e[n+8>>2]=e[e[l>>2]>>2],e[n+20>>2]=a,v=0;m=v+1|0,y[A+v>>0]|0;)v=m;if(s=e[p>>2]|0,c=m+a+s|0,i=l+24|0,(c|0)>(e[i>>2]|0)){if(s=c+24|0,w=nr[e[r+12>>2]&63](s)|0,!w){l=1;break}for(e[i>>2]=s,i=l+16|0,u2(w|0,e[i>>2]|0,e[p>>2]|0)|0,s=r+360|0;s=e[s>>2]|0,!!s;)c=s+12|0,(e[c>>2]|0)==(e[i>>2]|0)&&(e[c>>2]=w);l2[e[r+20>>2]&127](e[i>>2]|0),e[i>>2]=w,c=w,s=e[p>>2]|0}else c=l+16|0,i=c,c=e[c>>2]|0;s=c+s|0,u2(s|0,A|0,m|0)|0,a|0&&(J0=s+v|0,y[J0>>0]=y[r+468>>0]|0,u2(J0+1|0,e[e[l>>2]>>2]|0,a|0)|0),e[n>>2]=e[i>>2],l=0}}while(0);return g=D0,l|0}function oZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(n=r+104|0,o=r+372|0,i=r+4|0;t;)r=e[n>>2]|0,r&&Bt[r&63](e[i>>2]|0,e[e[t>>2]>>2]|0),r=t,s=t+4|0,l=e[s>>2]|0,e[s>>2]=e[o>>2],e[o>>2]=t,e[(e[r>>2]|0)+4>>2]=e[t+8>>2],t=l}function c9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;m=g,g=g+16|0,A=m,e[r+276>>2]=62,a=r+284|0,e[a>>2]=t,c=r+144|0,w=r+288|0,p=r+80|0,s=r+476|0,o=t;e:for(;;){switch(e[A>>2]=0,E=e[c>>2]|0,E=e2[e[E>>2]&127](E,o,i,A)|0,t=e[A>>2]|0,e[w>>2]=t,l=t,E|0){case-15:{v=3;break e}case-4:{v=7;break e}case 0:{v=12;break e}case-1:{v=13;break e}case-2:{v=15;break e}case 15:{e[p>>2]|0&&zt(r,e[c>>2]|0,o,l);break}case 11:{if(!(f9(r,e[c>>2]|0,o,l)|0)){t=1;break e}break}case 13:{if(!(a9(r,e[c>>2]|0,o,l)|0)){t=1;break e}break}default:{t=9;break e}}switch(t=e[A>>2]|0,e[a>>2]=t,e[s>>2]|0){case 2:{t=35;break e}case 3:{v=18;break e}default:}o=t}do if((v|0)==3){if(e[p>>2]|0){if(zt(r,e[c>>2]|0,o,l),(e[s>>2]|0)==2){t=35;break}t=e[A>>2]|0}e[n>>2]=t,t=0}else(v|0)==7?(e[n>>2]=o,t=0):(v|0)==12?(e[a>>2]=t,t=4):(v|0)==13?y[r+480>>0]|0?t=5:(e[n>>2]=o,t=0):(v|0)==15?y[r+480>>0]|0?t=6:(e[n>>2]=o,t=0):(v|0)==18&&(e[n>>2]=t,t=0);while(0);return g=m,t|0}function lZ(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0;D=g,g=g+16|0,W=D+8|0,N=D+4|0,G=D,s=e[i>>2]|0,e[W>>2]=s,(e[r+144>>2]|0)==(t|0)?(B=r+284|0,e[B>>2]=s,x=r+288|0):(x=e[r+296>>2]|0,B=x,x=x+4|0),e[B>>2]=s,e[i>>2]=0,a=t+8|0,c=r+60|0,z=r+80|0,_=r+4|0,L=r+476|0,w=t+68|0,p=r+44|0,v=t+56|0,m=r+48|0;e:for(;;){A=e2[e[a>>2]&127](t,e[W>>2]|0,n,N)|0,s=e[N>>2]|0,e[x>>2]=s,E=s;r:do switch(A|0){case 40:{T=6;break e}case 0:{T=23;break e}case-2:{T=24;break e}case-4:case-1:{T=26;break e}case 7:{if(s=e[c>>2]|0,s|0){y[G>>0]=10,cr[s&127](e[_>>2]|0,G,1);break r}e[z>>2]|0&&zt(r,t,e[W>>2]|0,E);break}case 6:{if(A=e[c>>2]|0,!A){if(!(e[z>>2]|0))break r;zt(r,t,e[W>>2]|0,E);break r}if(!(y[w>>0]|0))s=E;else{E=e[W>>2]|0,cr[A&127](e[_>>2]|0,E,s-E|0);break r}for(;e[G>>2]=e[p>>2],E=fi[e[v>>2]&127](t,W,s,G,e[m>>2]|0)|0,e[x>>2]=e[N>>2],s=e[p>>2]|0,cr[A&127](e[_>>2]|0,s,(e[G>>2]|0)-s|0),!(E>>>0<2);)e[B>>2]=e[W>>2],s=e[N>>2]|0;break}default:{T=28;break e}}while(0);switch(E=e[N>>2]|0,e[W>>2]=E,e[B>>2]=E,e[L>>2]|0){case 3:{T=30;break e}case 2:{s=35;break e}default:}}return(T|0)==6?(s=e[r+76>>2]|0,s?l2[s&127](e[_>>2]|0):e[z>>2]|0&&zt(r,t,e[W>>2]|0,E),s=e[N>>2]|0,e[i>>2]=s,e[o>>2]=s,s=(e[L>>2]|0)==2?35:0):(T|0)==23?(e[B>>2]=s,s=4):(T|0)==24?l<<24>>24?(e[o>>2]=e[W>>2],s=0):s=6:(T|0)==26?l<<24>>24?(e[o>>2]=e[W>>2],s=0):s=20:(T|0)==28?(e[B>>2]=s,s=23):(T|0)==30&&(e[o>>2]=e[N>>2],s=0),g=D,s|0}function dl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;l=g,g=g+16|0,o=l,e[o>>2]=t,t=lZ(r,e[r+144>>2]|0,o,i,n,(y[r+480>>0]|0)==0&1)|0,o=e[o>>2]|0;do if(!((t|0)!=0|(o|0)==0))if(t=r+276|0,e[r+472>>2]|0){e[t>>2]=63,t=sZ(r,o,i,n)|0;break}else{e[t>>2]=58,t=A9(r,o,i,n)|0;break}while(0);return g=l,t|0}function sZ(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=b3(r,1,e[r+144>>2]|0,t,i,n,(y[r+480>>0]|0)==0&1)|0,!(t|0)&&!((AZ(r)|0)<<24>>24)&&(t=1),t|0}function AZ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(p=r+16|0,r=r+360|0;;){if(r=e[r>>2]|0,!r){r=1;break}if(A=(e[r+24>>2]|0)+1|0,a=r+36|0,o=e[a>>2]|0,n=o+A|0,w=r+4|0,i=e[w>>2]|0,(i|0)==(n|0)){r=1;break}if(c=r+8|0,t=e[c>>2]|0,l=t+A|0,s=r+40|0,(l|0)>((e[s>>2]|0)-o|0)){if(n=ke[e[p>>2]&127](o,l)|0,!n){r=0;break}t=r+12|0,o=e[a>>2]|0,(e[t>>2]|0)==(o|0)&&(e[t>>2]=n),t=r+16|0,i=e[t>>2]|0,i|0&&(e[t>>2]=n+(i-o)),e[a>>2]=n,e[s>>2]=n+l,n=n+A|0,i=e[w>>2]|0,t=e[c>>2]|0}u2(n|0,i|0,t|0)|0,e[w>>2]=n}return r|0}function uZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(n=r+12|0,o=r+8|0;;){if(i=e[n>>2]|0,(i|0)==(e[o>>2]|0)){if(!((wr(r)|0)<<24>>24)){t=0;break}i=e[n>>2]|0}if(s=y[t>>0]|0,e[n>>2]=i+1,y[i>>0]=s,y[t>>0]|0)t=t+1|0;else{l=6;break}}return(l|0)==6&&(s=r+16|0,t=e[s>>2]|0,e[s>>2]=e[n>>2]),t|0}function fZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=e[r+352>>2]|0,A=p+80|0,a=p+92|0,c=p+88|0,w=p+60|0,p=p+96|0,s=t+4|0,l=e[t>>2]|0;e:for(;;){switch(y[l>>0]|0){case 0:{i=1;break e}case 58:{for(o=e[t>>2]|0;i=e[a>>2]|0,n=(i|0)==(e[c>>2]|0),(o|0)!=(l|0);){if(n){if(!((wr(A)|0)<<24>>24)){i=0;break e}i=e[a>>2]|0}n=y[o>>0]|0,e[a>>2]=i+1,y[i>>0]=n,o=o+1|0}if(n){if(!((wr(A)|0)<<24>>24)){i=0;break e}i=e[a>>2]|0}if(e[a>>2]=i+1,y[i>>0]=0,i=vi(r,w,e[p>>2]|0,8)|0,!i){i=0;break e}n=e[p>>2]|0,(e[i>>2]|0)==(n|0)?e[p>>2]=e[a>>2]:e[a>>2]=n,e[s>>2]=i;break}default:}l=l+1|0}return i|0}function h9(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;a=y[n>>0]|0,s=e[t>>2]|0,l=(s|0)==0;do if(!(a<<24>>24))l?(w=0,A=11):l=28;else if(!l&&(y[s>>0]|0)==120&&(y[s+1>>0]|0)==109&&(y[s+2>>0]|0)==108){if(l=y[s+3>>0]|0,l<<24>>24==110&&(y[s+4>>0]|0)==115&&!(y[s+5>>0]|0)){l=39;break}w=l<<24>>24==0&1,A=11}else w=0,A=11;while(0);e:do if((A|0)==11){for(c=w<<24>>24!=0,l=1,s=1,p=0;A=s<<24>>24!=0,!!(a<<24>>24);){do if(A){if((p|0)<=36&&a<<24>>24==(y[142257+p>>0]|0))break;s=0}else s=0;while(0);do if(!(c|l<<24>>24==0)){if((p|0)<=29&&a<<24>>24==(y[142294+p>>0]|0))break;l=0}while(0);a=p+1|0,p=a,a=y[n+a>>0]|0}if((w&255|0)!=(A&(p|0)==36&1|0)){l=c?38:40;break}if(l<<24>>24!=0&(p|0)==29)l=40;else{v=r+468|0,p=p+((y[v>>0]|0)!=0&1)|0,l=r+372|0,A=e[l>>2]|0;do if(A){if(s=A+24|0,(p|0)>(e[s>>2]|0)){if(a=A+16|0,c=p+24|0,w=ke[e[r+16>>2]&127](e[a>>2]|0,c)|0,!w){l=1;break e}e[a>>2]=w,e[s>>2]=c}e[l>>2]=e[A+4>>2]}else{if(l=r+12|0,s=nr[e[l>>2]&63](28)|0,!s){l=1;break e}if(A=p+24|0,w=nr[e[l>>2]&63](A)|0,e[s+16>>2]=w,w){e[s+24>>2]=A,A=s;break}else{l2[e[r+20>>2]&127](s),l=1;break e}}while(0);e[A+20>>2]=p,s=A+16|0,u2(e[s>>2]|0,n|0,p|0)|0,l=y[v>>0]|0,l<<24>>24&&(y[(e[s>>2]|0)+(p+-1)>>0]=l),e[A>>2]=t,e[A+12>>2]=i,s=t+4|0,e[A+8>>2]=e[s>>2],!(y[n>>0]|0)&&((e[r+352>>2]|0)+152|0)==(t|0)?l=0:l=A,e[s>>2]=l,e[A+4>>2]=e[o>>2],e[o>>2]=A,i|0&&(m=e[r+100>>2]|0,(m|0)!=0)&&cr[m&127](e[r+4>>2]|0,e[t>>2]|0,e[s>>2]|0?n:0),l=0}}while(0);return l|0}function aZ(r,t){r=r|0,t=t|0;var i=0;i=t,e[i>>2]=0,e[i+4>>2]=0,t=t+8|0,e[t>>2]=pl0(r)|0,e[t+4>>2]=0}function cZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;i=t,l=e[i+4>>2]^1936682341,n=r,e[n>>2]=e[i>>2]^1886610805,e[n+4>>2]=l,n=t+8|0,l=n,i=e[l+4>>2]^1685025377,o=r+8|0,e[o>>2]=e[l>>2]^1852075885,e[o+4>>2]=i,o=t,t=e[o+4>>2]^1819895653,i=r+16|0,e[i>>2]=e[o>>2]^1852142177,e[i+4>>2]=t,i=e[n+4>>2]^1952801890,t=r+24|0,e[t>>2]=e[n>>2]^2037671283,e[t+4>>2]=i,e[r+40>>2]=r+32,t=r+48|0,e[t>>2]=0,e[t+4>>2]=0}function w9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0;w=t+i|0,p=r+40|0,v=r+40|0,m=r+32|0,E=r+33|0,B=r+34|0,x=r+35|0,o=r+36|0,l=r+37|0,s=r+38|0,A=r+39|0,a=r+24|0,c=r+48|0,i=t;do{for(;;){if(n=e[p>>2]|0,i>>>0>=w>>>0){t=0;break}if(n>>>0>=v>>>0){t=1;break}t=y[i>>0]|0,e[p>>2]=n+1,y[n>>0]=t,i=i+1|0}if(n>>>0>>0)break;N=s0[m>>0]|0,T=Br(s0[E>>0]|0|0,0,8)|0,n=b,W=Br(s0[B>>0]|0|0,0,16)|0,n=n|b,L=Br(s0[x>>0]|0|0,0,24)|0,n=n|b|(s0[o>>0]|0),z=Br(s0[l>>0]|0|0,0,40)|0,n=n|b,G=Br(s0[s>>0]|0|0,0,48)|0,n=n|b,_=Br(s0[A>>0]|0|0,0,56)|0,_=T|N|W|L|z|G|_,n=n|b,G=a,z=n^e[G+4>>2],L=a,e[L>>2]=_^e[G>>2],e[L+4>>2]=z,d9(r,2),L=r,n=e[L+4>>2]^n,z=r,e[z>>2]=e[L>>2]^_,e[z+4>>2]=n,e[p>>2]=m,z=c,z=ar(e[z>>2]|0,e[z+4>>2]|0,8,0)|0,n=c,e[n>>2]=z,e[n+4>>2]=b}while(t)}function hZ(r){r=r|0;var t=0;for(t=0;y[r>>0]|0;)t=t+1|0,r=r+1|0;return t|0}function wZ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;switch(n=r+32|0,l=(e[r+40>>2]|0)-n|0,i=r+48|0,i=ar(e[i>>2]|0,e[i+4>>2]|0,l|0,0)|0,i=Br(i|0,b|0,56)|0,t=b,l<<24>>24|0){case 7:{i=Br(s0[r+38>>0]|0|0,0,48)|0|i,t=b|t,o=3;break}case 6:{o=3;break}case 5:{o=4;break}case 4:{o=5;break}case 3:{o=6;break}case 2:{o=7;break}case 1:{o=8;break}default:}return(o|0)==3&&(l=Br(s0[r+37>>0]|0|0,0,40)|0,i=l|i,t=b|t,o=4),(o|0)==4&&(t=s0[r+36>>0]|0|t,o=5),(o|0)==5&&(l=Br(s0[r+35>>0]|0|0,0,24)|0,i=l|i,t=b|t,o=6),(o|0)==6&&(l=Br(s0[r+34>>0]|0|0,0,16)|0,i=l|i,t=b|t,o=7),(o|0)==7&&(l=Br(s0[r+33>>0]|0|0,0,8)|0,t=b|t,i=l|i,o=8),(o|0)==8&&(i=i|(s0[n>>0]|0)),l=r+24|0,s=l,o=e[s+4>>2]^t,n=l,e[n>>2]=e[s>>2]^i,e[n+4>>2]=o,d9(r,2),n=r,t=e[n+4>>2]^t,o=r,e[o>>2]=e[n>>2]^i,e[o+4>>2]=t,o=r+16|0,t=o,i=e[t+4>>2]|0,n=o,e[n>>2]=e[t>>2]^255,e[n+4>>2]=i,d9(r,4),n=r,r=r+8|0,b=e[r+4>>2]^e[n+4>>2]^e[o+4>>2]^e[l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>24==0,x=l+12|0,_=l+16|0,L=l+8|0,G=t+44|0,W=t+64|0,N=r+436|0,T=r+452|0,D=r+448|0,P=(f0+80|0)==(l|0),U=r+268|0,J=f0+130|0,F=f0+129|0,q=r+296|0,t0=r+224|0,s=0;e:for(;;){r:for(;;){switch(e2[e[p>>2]&127](t,n,o,Y)|0){case-4:{s=0,w=61;break e}case 0:{w=4;break e}case-1:{w=6;break e}case 6:{w=21;break r}case-3:{w=22;break r}case 7:case 39:{w=23;break r}case 10:{A=ke[e[v>>2]&127](t,n)|0;t:do if((A|0)<0)(e[m>>2]|0)==(t|0)?(e[E>>2]=n,A=1,s=14):(A=1,s=14);else{if(B&(A|0)==32){if(a=e[x>>2]|0,(e[_>>2]|0)==(a|0)){A=4;break}if((y[a+-1>>0]|0)==32){A=4;break}}for(c=rh(A,H)|0,a=0;;){if((a|0)>=(c|0)){A=0;break t}if(A=e[x>>2]|0,(A|0)==(e[L>>2]|0)){if(!((wr(l)|0)<<24>>24)){A=1,s=1;break t}A=e[x>>2]|0}B0=y[H+a>>0]|0,e[x>>2]=A+1,y[A>>0]=B0,a=a+1|0}}while(0);switch(A&7){case 4:case 0:break r;default:}break}case 9:{if(A=e[W>>2]|0,A=(oe[e[G>>2]&63](t,n+A|0,(e[Y>>2]|0)+(0-A)|0)|0)&255,A<<24>>24){w=31;break r}if(A=e[W>>2]|0,A=_t(N,t,n+A|0,(e[Y>>2]|0)+(0-A)|0)|0,!A){s=1,w=61;break e}c=vi(r,f0,A,0)|0,e[D>>2]=e[T>>2];do if(P){if(!(e[U>>2]|0)){if(c)break;break r}if(y[J>>0]|0)if(A=(c|0)!=0,e[q>>2]|0){z=A,w=47;break}else{w=45;break}else if(A=(c|0)!=0,y[F>>0]|0){z=A,w=47;break}else{w=45;break}}else if(y[F>>0]|0)if(A=(c|0)!=0,y[J>>0]|0){w=45;break}else{z=A,w=47;break}else if(c){w=46;break}else{s=11,w=61;break e}while(0);if((w|0)==45)if(A)w=46;else{s=11,w=61;break e}else if((w|0)==47&&(w=0,!z))break r;if((w|0)==46&&(w=0,(y[c+34>>0]|0)==0)){s=24,w=61;break e}if(a=c+32|0,y[a>>0]|0){w=49;break e}if(e[c+28>>2]|0){w=52;break e}if(A=e[c+4>>2]|0,!A){w=55;break e}if(c=A+(e[c+8>>2]|0)|0,y[a>>0]=1,c=dZ(r,e[t0>>2]|0,i,A,c,l)|0,y[a>>0]=0,A=(c|0)==0,A)break r;A=(A^1)&1,s=c;break}default:{w=58;break e}}if(A)break e}if((w|0)==21){if(w=0,!(cd(l,t,n,e[Y>>2]|0)|0)){s=1,w=61;break}}else if((w|0)==22)e[Y>>2]=n+(e[W>>2]|0),w=23;else if((w|0)==31){if(w=0,n=e[x>>2]|0,(n|0)==(e[L>>2]|0)){if(!((wr(l)|0)<<24>>24)){s=1,w=61;break}n=e[x>>2]|0}e[x>>2]=n+1,y[n>>0]=A}do if((w|0)==23){if(w=0,n=e[x>>2]|0,B&&((e[_>>2]|0)==(n|0)||(y[n+-1>>0]|0)==32))break;if((n|0)==(e[L>>2]|0)){if(!((wr(l)|0)<<24>>24)){s=1,w=61;break e}n=e[x>>2]|0}e[x>>2]=n+1,y[n>>0]=32}while(0);n=e[Y>>2]|0}return(w|0)==4?(e[m>>2]|0)==(t|0)?(e[E>>2]=e[Y>>2],s=4,w=61):(s=4,w=61):(w|0)==6?(e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=4,w=61):(s=4,w=61):(w|0)==49?(e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=12,w=61):(s=12,w=61):(w|0)==52?(e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=15,w=61):(s=15,w=61):(w|0)==55?(e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=16,w=61):(s=16,w=61):(w|0)==58&&((e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=23,w=61):(s=23,w=61)),g=k0,s|0}function pZ(r){r=r|0;var t=0;return t=r+8|0,((r|0)<1?0:(t|0)>0?t:0)|0}function p9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+80|0,n=i+16|0,o=i,aZ(r,o),cZ(n,o),w9(n,t,hZ(t)|0),t=wZ(n)|0,g=i,t|0}function kl0(r,t){r=r|0,t=t|0;for(var i=0;;){if(i=y[r>>0]|0,i<<24>>24!=(y[t>>0]|0)){t=0;break}if(!(i<<24>>24)){t=1;break}t=t+1|0,r=r+1|0}return t|0}function kZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+1040|0,s=a,n=e[r+124>>2]|0;e:do if(!n)i=18;else{for(i=0;(i|0)!=256;)e[s+(i<<2)>>2]=-1,i=i+1|0;o=s+1028|0,e[o>>2]=0,A=s+1024|0,e[A>>2]=0,l=s+1032|0,e[l>>2]=0;do if(oe[n&63](e[r+244>>2]|0,t,s)|0){if(n=e[r+12>>2]|0,i=Gl0()|0,i=nr[n&63](i)|0,e[r+236>>2]=i,!i)i=e[l>>2]|0,i&&l2[i&127](e[A>>2]|0),i=1;else{if(i=e2[(y[r+232>>0]<<24>>24?65:64)&127](i,s,e[o>>2]|0,e[A>>2]|0)|0,!i)break;e[r+240>>2]=e[A>>2],e[r+248>>2]=e[l>>2],e[r+144>>2]=i,i=0}break e}while(0);i=e[l>>2]|0,i|0&&l2[i&127](e[A>>2]|0),i=18}while(0);return g=a,i|0}function eh(r,t){r=r|0,t=t|0,y[r+4>>0]=0,e[r+8>>2]=0,e[r+12>>2]=0,e[r>>2]=0,e[r+16>>2]=t}function vl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;c=e[r+352>>2]|0,w=r+424|0,p=r+420|0,v=r+412|0,m=r+428|0,E=c+152|0,B=r+368|0,A=c+60|0,a=c+80|0;e:for(;;){l=t;r:for(;;){if(!(y[t>>0]|0)){t=1;break e}switch(n=y[l>>0]|0,n<<24>>24){case 0:case 12:{x=5;break r}case 61:break r;default:}if(i=e[w>>2]|0,(i|0)==(e[p>>2]|0)){if(!((wr(v)|0)<<24>>24)){t=0;break e}i=e[w>>2]|0,n=y[l>>0]|0}e[w>>2]=i+1,y[i>>0]=n,l=l+1|0}if((x|0)==5){if(x=0,t=e[w>>2]|0,(t|0)==(e[p>>2]|0)){if(!((wr(v)|0)<<24>>24)){t=0;break}t=e[w>>2]|0}e[w>>2]=t+1,y[t>>0]=0,t=vi(r,c,e[m>>2]|0,0)|0,t|0&&(y[t+32>>0]=1),t=y[l>>0]|0?l+1|0:l,e[w>>2]=e[m>>2];continue}if(t=e[w>>2]|0,(e[m>>2]|0)==(t|0))n=E;else{if((t|0)==(e[p>>2]|0)){if(!((wr(v)|0)<<24>>24)){t=0;break}t=e[w>>2]|0}if(e[w>>2]=t+1,y[t>>0]=0,n=vi(r,A,e[m>>2]|0,8)|0,!n){t=0;break}if(i=e[n>>2]|0,s=e[m>>2]|0,t=s,(i|0)==(s|0)){if(s=uZ(a,i)|0,e[n>>2]=s,!s){t=0;break}t=e[m>>2]|0}e[w>>2]=t}r:for(;;){switch(s=l+1|0,i=y[s>>0]|0,o=(t|0)==(e[p>>2]|0),i<<24>>24){case 0:case 12:break r;default:}if(o){if(!((wr(v)|0)<<24>>24)){t=0;break e}t=e[w>>2]|0,i=y[s>>0]|0}e[w>>2]=t+1,y[t>>0]=i,l=s,t=e[w>>2]|0}if(o){if(!((wr(v)|0)<<24>>24)){t=0;break}t=e[w>>2]|0}if(e[w>>2]=t+1,y[t>>0]=0,h9(r,n,0,e[m>>2]|0,B)|0){t=0;break}e[w>>2]=e[m>>2],t=y[s>>0]|0?l+2|0:s}return t|0}function ml0(r,t){r=r|0,t=t|0;var i=0,n=0;r|0&&(i=r+4|0,n=(e[i>>2]|0)==(e[r>>2]|0),e[r>>2]=t,n)&&(e[i>>2]=t)}function gl0(r,t,i){r=r|0,t=t|0,i=i|0,r|0&&(e[r+52>>2]=t,e[r+56>>2]=i)}function yl0(r,t){r=r|0,t=t|0,r|0&&(e[r+60>>2]=t)}function vZ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;o=(r|0)==0;e:do if(!(o|(i|0)<0)&&!((t|0)==0&(i|0)!=0)){switch(l=r+476|0,e[l>>2]|0){case 3:{e[r+280>>2]=33,o=0;break e}case 2:{e[r+280>>2]=36,o=0;break e}case 0:{if(!(e[r+472>>2]|0)&&!((mZ(r)|0)<<24>>24)){e[r+280>>2]=1,o=0;break e}break}default:}if(e[l>>2]=1,i|0){if(o=El0(r,i)|0,!o){o=0;break}u2(o|0,t|0,i|0)|0,o=Bl0(r,i,n)|0;break}if(y[r+480>>0]=n,!n)o=1;else{if(o=r+24|0,A=e[o>>2]|0,t=r+292|0,e[t>>2]=A,n=e[r+28>>2]|0,e[r+40>>2]=n,i=r+276|0,n=e2[e[i>>2]&127](r,A,n,o)|0,e[r+280>>2]=n,n|0){e[r+288>>2]=e[r+284>>2],e[i>>2]=66,o=0;break}switch(e[l>>2]|0){case 3:{A=e[r+144>>2]|0,Y1[e[A+48>>2]&31](A,e[t>>2]|0,e[o>>2]|0,r+404|0),e[t>>2]=e[o>>2],o=2;break e}case 1:case 0:{e[l>>2]=2,o=1;break e}default:{o=1;break e}}}}else s=3;while(0);return(s|0)==3&&(o||(e[r+280>>2]=41),o=0),o|0}function mZ(r){r=r|0;var t=0;return t=r+492|0,e[t>>2]|0||(e[t>>2]=Il0()|0),y[r+232>>0]|0?r=vl0(r,142324)|0:r=1,r|0}function Cl0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,e[r+280>>2]|0}function El0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;e:do if(!r)i=0;else{if((t|0)<0){e[r+280>>2]=1,i=0;break}switch(e[r+476>>2]|0){case 3:{e[r+280>>2]=33,i=0;break e}case 2:{e[r+280>>2]=36,i=0;break e}default:{if(p=r+32|0,a=e[p>>2]|0,v=r+28|0,n=e[v>>2]|0,i=n,(a-n|0)>=(t|0))break e;if(E=r+24|0,c=e[E>>2]|0,A=n-c|0,n=A+t|0,(n|0)<0){e[r+280>>2]=1,i=0;break e}w=r+8|0,o=e[w>>2]|0,B=o,l=c-B|0,s=(l|0)>1024,t=s?1024:l,n=t+n|0;do if((n|0)>(a-B|0)){i=a-c|0,i=i|0?i:1024;do i=i<<1;while((i|0)<(n|0)&(i|0)>0);if((i|0)<1){e[r+280>>2]=1,i=0;break e}if(n=nr[e[r+12>>2]&63](i)|0,!n){e[r+280>>2]=1,i=0;break e}if(e[p>>2]=n+i,i=e[E>>2]|0,i){B=i,m=B-(e[w>>2]|0)|0,m=(m|0)<1024?m:1024,u2(n|0,i+(0-m)|0,(e[v>>2]|0)-B+m|0)|0,l2[e[r+20>>2]&127](e[w>>2]|0),e[w>>2]=n,i=n+((e[v>>2]|0)-(e[E>>2]|0))+m|0,e[v>>2]=i,n=n+m|0,m=22;break}else{i=n+(e[v>>2]|0)|0,e[v>>2]=i,e[w>>2]=n,m=22;break}}else s&&(n=l-t|0,Yl(o|0,o+n|0,t+A|0)|0,n=0-n|0,i=(e[v>>2]|0)+n|0,e[v>>2]=i,n=(e[E>>2]|0)+n|0,m=22);while(0);(m|0)==22&&(e[E>>2]=n),e[r+288>>2]=0,e[r+284>>2]=0,e[r+292>>2]=0;break e}}}while(0);return i|0}function Bl0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;e:do if(!r)t=0;else{switch(n=r+476|0,e[n>>2]|0){case 3:{e[r+280>>2]=33,t=0;break e}case 2:{e[r+280>>2]=36,t=0;break e}case 0:{if(!(e[r+472>>2]|0)&&!((mZ(r)|0)<<24>>24)){e[r+280>>2]=1,t=0;break e}break}default:}if(e[n>>2]=1,o=r+24|0,A=e[o>>2]|0,l=r+292|0,e[l>>2]=A,a=r+28|0,s=(e[a>>2]|0)+t|0,e[a>>2]=s,e[r+40>>2]=s,a=r+36|0,e[a>>2]=(e[a>>2]|0)+t,y[r+480>>0]=i,t=r+276|0,s=e2[e[t>>2]&127](r,A,s,o)|0,e[r+280>>2]=s,s|0){e[r+288>>2]=e[r+284>>2],e[t>>2]=66,t=0;break}switch(e[n>>2]|0){case 3:{t=2;break}case 1:case 0:{if(!i)t=1;else{e[n>>2]=2,t=1;break e}break}default:t=1}a=e[r+144>>2]|0,Y1[e[a+48>>2]&31](a,e[l>>2]|0,e[o>>2]|0,r+404|0),e[l>>2]=e[o>>2]}while(0);return t|0}function Il0(){var r=0,t=0,i=0;return t=g,g=g+16|0,r=t,xl0(r)|0?r=gZ(142365,e[r>>2]|0)|0:(i=Sl0()|0,i=(jE()|0)^i,e[r>>2]=i,r=gZ(142378,N0(i,2147483647)|0)|0),g=t,r|0}function xl0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(o=g,g=g+16|0,n=QE0(142365,0,o)|0,(n|0)<0)t=0;else{for(t=0;;){if(l=WB0(n,r+t|0,4-t|0)|0,i=l+t|0,(l|0)>0)if(i>>>0<4)t=i;else{t=1;break}if((e[(kr()|0)>>2]|0)!=4){t=0;break}}xB0(n)|0}return g=o,t|0}function gZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=g,g=g+16|0,n=o,i=Ha(142443)|0,i|0&&!(ge(i,142463)|0)&&(i=e[15712]|0,e[n>>2]=r,e[n+4>>2]=8,e[n+8>>2]=t,e[n+12>>2]=4,A2(i,142465,n)|0),g=o,t|0}function Sl0(){var r=0,t=0;if(t=g,g=g+16|0,r=t,Vr0(r|0,0)|0)H0(142390,142412,819,142423);else return g=t,e[r+4>>2]|0;return 0}function _l0(r){return r=r|0,r?r=e[r+280>>2]|0:r=41,r|0}function zl0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return r?(t=r+284|0,i=e[t>>2]|0,i|0&&(n=r+292|0,o=e[n>>2]|0,i>>>0>=o>>>0)&&(l=e[r+144>>2]|0,Y1[e[l+48>>2]&31](l,o,i,r+404|0),e[n>>2]=e[t>>2]),r=(e[r+404>>2]|0)+1|0):r=0,r|0}function Ll0(r){r=r|0;do switch(r|0){case 41:{r=142502;break}case 1:{r=143774;break}case 2:{r=143761;break}case 3:{r=143744;break}case 4:{r=143712;break}case 5:{r=143697;break}case 6:{r=143679;break}case 7:{r=143664;break}case 8:{r=143644;break}case 9:{r=143616;break}case 10:{r=143581;break}case 11:{r=143564;break}case 12:{r=143537;break}case 13:{r=143517;break}case 14:{r=143479;break}case 15:{r=143452;break}case 16:{r=143410;break}case 17:{r=143363;break}case 18:{r=143346;break}case 19:{r=143295;break}case 20:{r=143272;break}case 21:{r=143226;break}case 22:{r=143199;break}case 23:{r=143148;break}case 24:{r=143112;break}case 25:{r=143060;break}case 26:{r=143015;break}case 27:{r=143e3;break}case 28:{r=142974;break}case 29:{r=142936;break}case 30:{r=142904;break}case 31:{r=142871;break}case 32:{r=142837;break}case 33:{r=142820;break}case 34:{r=142799;break}case 35:{r=142783;break}case 36:{r=142766;break}case 37:{r=142722;break}case 38:{r=142642;break}case 39:{r=142583;break}case 40:{r=142519;break}default:r=0}while(0);return r|0}function Rl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;i=e[t>>2]|0,n=0;e:for(;!(i>>>0<=r>>>0);){l=i+-1|0,o=s0[l>>0]|0;do if((o&248|0)==240)if((n+1|0)>>>0>3){s=5;break e}else n=0;else{if((o&240|0)==224)if((n+1|0)>>>0>2){s=8;break e}else{n=0;break}if((o&224|0)==192)if((n+1|0)>>>0>1){s=11;break e}else{n=0;break}else{if(o&128)break;break e}}while(0);i=l,n=n+1|0}(s|0)==5?i=i+3|0:(s|0)==8?i=i+2|0:(s|0)==11&&(i=i+1|0),e[t>>2]=i}function rh(r,t){r=r|0,t=t|0;do if((r|0)>=0){if((r|0)<128){y[t>>0]=r,r=1;break}if((r|0)<2048){y[t>>0]=r>>>6|192,y[t+1>>0]=r&63|128,r=2;break}if((r|0)<65536){y[t>>0]=r>>>12|224,y[t+1>>0]=r>>>6&63|128,y[t+2>>0]=r&63|128,r=3;break}(r|0)<1114112?(y[t>>0]=r>>>18|240,y[t+1>>0]=r>>>12&63|128,y[t+2>>0]=r>>>6&63|128,y[t+3>>0]=r&63|128,r=4):r=0}else r=0;while(0);return r|0}function Gl0(){return 1908}function yZ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(o=0;;){if((o|0)==364){o=0;break}y[r+o>>0]=y[56576+o>>0]|0,o=o+1|0}e:for(;;){if((o|0)>=128){l=5;break}switch(y[56648+o>>0]|0){case 0:case 28:break;default:if((e[t+(o<<2)>>2]|0)!=(o|0)){r=0;break e}}o=o+1|0}e:do if((l|0)==5){for(v=r+72|0,a=r+372|0,c=r+884|0,w=(i|0)==0,A=0;!((A|0)>=256);){p=e[t+(A<<2)>>2]|0;do if((p|0)==-1)y[v+A>>0]=1,$[a+(A<<1)>>1]=-1,y[c+(A<<2)>>0]=1,y[c+(A<<2)+1>>0]=0;else{if((p|0)<0){if(w|(p|0)<-4){r=0;break e}y[v+A>>0]=3-p,y[c+(A<<2)>>0]=0,$[a+(A<<1)>>1]=0;break}if((p|0)<128){switch(o=y[56648+p>>0]|0,o<<24>>24){case 0:case 28:break;default:if((p|0)!=(A|0)){r=0;break e}}y[v+A>>0]=o,y[c+(A<<2)>>0]=1,y[c+(A<<2)+1>>0]=p,$[a+(A<<1)>>1]=p|0?p&65535:-1;break}if((th(p)|0)<0){y[v+A>>0]=0,$[a+(A<<1)>>1]=-1,y[c+(A<<2)>>0]=1,y[c+(A<<2)+1>>0]=0;break}if((p|0)>65535){r=0;break e}o=p>>>8,l=p>>>5&7,s=1<<(p&31),e[56940+((s0[143788+o>>0]<<3|l)<<2)>>2]&s?y[v+A>>0]=22:y[v+A>>0]=e[56940+((s0[144044+o>>0]<<3|l)<<2)>>2]&s|0?26:28,y[c+(A<<2)>>0]=rh(p,c+(A<<2)+1|0)|0,$[a+(A<<1)>>1]=p}while(0);A=A+1|0}e[r+368>>2]=n,e[r+364>>2]=i,w||(e[r+328>>2]=108,e[r+332>>2]=108,e[r+336>>2]=108,e[r+340>>2]=109,e[r+344>>2]=109,e[r+348>>2]=109,e[r+352>>2]=110,e[r+356>>2]=110,e[r+360>>2]=110),e[r+56>>2]=13,e[r+60>>2]=14}while(0);return r|0}function th(r){r=r|0;var t=0;switch(r>>8|0){case 223:case 222:case 221:case 220:case 219:case 218:case 217:case 216:{r=-1;break}case 0:{y[56648+r>>0]|0?t=4:r=-1;break}case 255:{(r|1|0)==65535?r=-1:t=4;break}default:t=4}return r|0}function Zl0(r,t){return r=r|0,t=t|0,r=ke[e[r+364>>2]&127](e[r+368>>2]|0,t)|0,r>>>0>65535?r=0:r=e[56940+(((s0[144044+(r>>>8)>>0]|0)<<3|r>>>5&7)<<2)>>2]&1<<(r&31),r|0}function Wl0(r,t){return r=r|0,t=t|0,r=ke[e[r+364>>2]&127](e[r+368>>2]|0,t)|0,r>>>0>65535?r=0:r=e[56940+(((s0[143788+(r>>>8)>>0]|0)<<3|r>>>5&7)<<2)>>2]&1<<(r&31),r|0}function Dl0(r,t){return r=r|0,t=t|0,r=ke[e[r+364>>2]&127](e[r+368>>2]|0,t)|0,r>>>0>65535?r=1:r=(th(r)|0)>>>31,r|0}function Ml0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(v=g,g=g+16|0,a=v,c=r+364|0,w=r+884|0,p=r+368|0,A=r+72|0;;){if(l=e[t>>2]|0,(l|0)==(i|0)){o=0;break}if(m=s0[l>>0]|0,s=w+(m<<2)+1|0,m=y[w+(m<<2)>>0]|0,r=m<<24>>24,m<<24>>24){if((o-(e[n>>2]|0)|0)<(r|0)){o=2;break}l=l+1|0}else{if(r=rh(ke[e[c>>2]&127](e[p>>2]|0,l)|0,a)|0,(r|0)>(o-(e[n>>2]|0)|0)){o=2;break}l=e[t>>2]|0,s=a,l=l+((s0[A+(s0[l>>0]|0)>>0]|0)+-3)|0}e[t>>2]=l,u2(e[n>>2]|0,s|0,r|0)|0,e[n>>2]=(e[n>>2]|0)+r}return g=v,o|0}function jl0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(c=r+372|0,w=r+364|0,p=r+368|0,a=r+72|0;A=e[t>>2]|0,r=A>>>0>>0,l=e[n>>2]|0,!!(r&l>>>0>>0);)r=$[c+((s0[A>>0]|0)<<1)>>1]|0,r<<16>>16?(s=1,l=A):(r=(ke[e[w>>2]&127](e[p>>2]|0,A)|0)&65535,l=e[t>>2]|0,s=(s0[a+(s0[l>>0]|0)>>0]|0)+-3|0),e[t>>2]=l+s,A=e[n>>2]|0,e[n>>2]=A+2,$[A>>1]=r;return((l|0)!=(o|0)|r^1?0:2)|0}function Nl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;e:do if(t>>>0>>0){w=r+72|0;do switch(y[w+(s0[t>>0]|0)>>0]|0){case 12:{o=GP(12,r,t+1|0,i,n)|0;break e}case 13:{o=GP(13,r,t+1|0,i,n)|0;break e}case 2:{if(o=t+1|0,(i-o|0)<=0){o=-1;break e}switch(y[w+(s0[o>>0]|0)>>0]|0){case 16:{o=d70(r,t+2|0,i,n)|0;break e}case 15:{o=LP(r,t+2|0,i,n)|0;break e}case 7:case 6:case 5:case 29:case 24:case 22:{e[n>>2]=t,o=29;break e}default:{e[n>>2]=o,o=0;break e}}}case 9:{if((t+1|0)==(i|0)){e[n>>2]=i,o=-15;break e}else A=3;break}case 10:case 21:{A=3;break}case 30:{o=_P(r,t+1|0,i,n)|0;break e}case 35:{e[n>>2]=t+1,o=38;break e}case 20:{e[n>>2]=t+1,o=25;break e}case 4:{if(l=t+1|0,o=i-l|0,(o|0)<=0){o=-26;break e}if((y[l>>0]|0)==93){if((o|0)<=1){o=-1;break e}if((y[t+2>>0]|0)==62){e[n>>2]=t+3,o=34;break e}}e[n>>2]=l,o=26;break e}case 31:{e[n>>2]=t+1,o=23;break e}case 32:{if(o=t+1|0,(i-o|0)<=0){o=-24;break e}switch(y[w+(s0[o>>0]|0)>>0]|0){case 33:{e[n>>2]=t+2,o=36;break e}case 15:{e[n>>2]=t+2,o=35;break e}case 34:{e[n>>2]=t+2,o=37;break e}case 32:case 36:case 35:case 11:case 21:case 10:case 9:{e[n>>2]=o,o=24;break e}default:{e[n>>2]=o,o=0;break e}}}case 36:{e[n>>2]=t+1,o=21;break e}case 11:{e[n>>2]=t+1,o=17;break e}case 19:{o=p70(r,t+1|0,i,n)|0;break e}case 5:{if((i-t|0)<2){o=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=18,l=2;else if(ke[e[r+328>>2]&127](r,t)|0)o=19,l=2;else{e[n>>2]=t,o=0;break e}break}case 6:{if((i-t|0)<3){o=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=18,l=3;else if(ke[e[r+332>>2]&127](r,t)|0)o=19,l=3;else{e[n>>2]=t,o=0;break e}break}case 7:{if((i-t|0)<4){o=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=18,l=4;else if(ke[e[r+336>>2]&127](r,t)|0)o=19,l=4;else{e[n>>2]=t,o=0;break e}break}case 24:case 22:{o=18,l=1;break}case 23:case 27:case 26:case 25:{o=19,l=1;break}default:{e[n>>2]=t,o=0;break e}}while(0);if((A|0)==3){s=i,l=t;r:for(;;){if(o=l,l=l+1|0,(s-l|0)<=0){A=18;break}switch(y[w+(s0[l>>0]|0)>>0]|0){case 10:case 21:continue r;case 9:break;default:{A=17;break r}}if((o+2|0)==(i|0)){A=17;break}}if((A|0)==17){e[n>>2]=l,o=15;break}else if((A|0)==18){e[n>>2]=l,o=15;break}}A=r+328|0,a=r+332|0,c=r+336|0,s=t+l|0;r:for(;;){if(l=i-s|0,(l|0)<=0){A=99;break}switch(y[w+(s0[s>>0]|0)>>0]|0){case 29:{A=56;break r}case 10:case 9:case 21:case 30:case 20:case 36:case 35:case 32:case 11:{A=70;break r}case 34:{A=89;break r}case 33:{A=92;break r}case 15:{A=95;break r}case 27:case 26:case 25:case 24:case 22:{t=o,s=s+1|0,o=t;continue r}case 5:{if((l|0)<2){o=-2;break e}if(!(ke[e[A>>2]&127](r,s)|0)){A=60;break r}t=o,s=s+2|0,o=t;continue r}case 6:{if((l|0)<3){o=-2;break e}if(!(ke[e[a>>2]&127](r,s)|0)){A=64;break r}t=o,s=s+3|0,o=t;continue r}case 7:{if((l|0)<4){o=-2;break e}if(!(ke[e[c>>2]&127](r,s)|0)){A=68;break r}t=o,s=s+4|0,o=t;continue r}case 23:{switch(l=s+1|0,o&63){case 18:break;case 41:{o=19,s=l;continue r}default:{t=o,s=l,o=t;continue r}}if(o=i-l|0,(o|0)<=0){o=-1;break e}switch(y[w+(s0[l>>0]|0)>>0]|0){case 29:{A=74;break r}case 27:case 26:case 25:case 24:case 22:{o=41,s=s+2|0;continue r}case 5:{if((o|0)<2){o=-2;break e}if(!(ke[e[A>>2]&127](r,l)|0)){A=78;break r}o=41,s=s+3|0;continue r}case 6:{if((o|0)<3){o=-2;break e}if(!(ke[e[a>>2]&127](r,l)|0)){A=82;break r}o=41,s=s+4|0;continue r}case 7:{if((o|0)<4){o=-2;break e}if(!(ke[e[c>>2]&127](r,l)|0)){A=86;break r}o=41,s=s+5|0;continue r}default:{o=19,s=l;continue r}}}default:{A=98;break r}}}switch(A|0){case 56:{e[n>>2]=s,o=0;break e}case 60:{e[n>>2]=s,o=0;break e}case 64:{e[n>>2]=s,o=0;break e}case 68:{e[n>>2]=s,o=0;break e}case 70:{e[n>>2]=s;break e}case 74:{e[n>>2]=l,o=0;break e}case 78:{e[n>>2]=l,o=0;break e}case 82:{e[n>>2]=l,o=0;break e}case 86:{e[n>>2]=l,o=0;break e}case 89:if((o|0)==19){e[n>>2]=s,o=0;break e}else{e[n>>2]=s+1,o=32;break e}case 92:if((o|0)==19){e[n>>2]=s,o=0;break e}else{e[n>>2]=s+1,o=31;break e}case 95:if((o|0)==19){e[n>>2]=s,o=0;break e}else{e[n>>2]=s+1,o=30;break e}case 98:{e[n>>2]=s,o=0;break e}case 99:{o=0-o|0;break e}}}else o=-4;while(0);return o|0}function Ql0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;e:do if(t>>>0>>0){c=r+72|0;r:do switch(y[c+(s0[t>>0]|0)>>0]|0){case 2:{o=a70(r,t+1|0,i,n)|0;break e}case 3:{o=yk(r,t+1|0,i,n)|0;break e}case 9:{if(o=t+1|0,(i-o|0)<=0){o=-3;break e}e[n>>2]=(y[c+(s0[o>>0]|0)>>0]|0)==10?t+2|0:o,o=7;break e}case 10:{e[n>>2]=t+1,o=7;break e}case 4:{if(l=t+1|0,(i-l|0)<=0){o=-5;break e}if((y[l>>0]|0)==93){if(o=t+2|0,(i-o|0)<=0){o=-5;break e}if((y[o>>0]|0)==62){e[n>>2]=o,o=0;break e}else o=i}else o=i;break}case 5:{if(o=i,(o-t|0)<2){o=-2;break e}if(ke[e[r+352>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+2|0;break r}}case 6:{if(o=i,(o-t|0)<3){o=-2;break e}if(ke[e[r+356>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+3|0;break r}}case 7:{if(o=i,(o-t|0)<4){o=-2;break e}if(ke[e[r+360>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+4|0;break r}}case 8:case 1:case 0:{e[n>>2]=t,o=0;break e}default:l=t+1|0,o=i}while(0);s=r+352|0,A=r+356|0,a=r+360|0;r:for(;;){if(i=o-l|0,(i|0)<=0){i=49;break}switch(y[c+(s0[l>>0]|0)>>0]|0){case 10:case 9:case 8:case 1:case 0:case 2:case 3:{i=47;break r}case 5:{if((i|0)<2){i=32;break r}if(ke[e[s>>2]&127](r,l)|0){i=32;break r}l=l+2|0;continue r}case 6:{if((i|0)<3){i=36;break r}if(ke[e[A>>2]&127](r,l)|0){i=36;break r}l=l+3|0;continue r}case 7:{if((i|0)<4){i=40;break r}if(ke[e[a>>2]&127](r,l)|0){i=40;break r}l=l+4|0;continue r}case 4:{if((i|0)<=1){i=47;break r}if(t=l+1|0,(y[t>>0]|0)!=93){l=t;continue r}if((i|0)<=2){i=47;break r}if(l=l+2|0,(y[l>>0]|0)==62){i=46;break r}else{l=t;continue r}}default:{l=l+1|0;continue r}}}if((i|0)==32){e[n>>2]=l,o=6;break}else if((i|0)==36){e[n>>2]=l,o=6;break}else if((i|0)==40){e[n>>2]=l,o=6;break}else if((i|0)==46){e[n>>2]=l,o=0;break}else if((i|0)==47){e[n>>2]=l,o=6;break}else if((i|0)==49){e[n>>2]=l,o=6;break}}else o=-4;while(0);return o|0}function Tl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;e:do if(t>>>0>>0){a=r+72|0;r:do switch(y[a+(s0[t>>0]|0)>>0]|0){case 4:{if(l=t+1|0,o=i,(o-l|0)<=0){o=-1;break e}if((y[l>>0]|0)==93){if(i=t+2|0,(o-i|0)<=0){o=-1;break e}if((y[i>>0]|0)==62){e[n>>2]=t+3,o=40;break e}}break}case 9:{if(o=t+1|0,(i-o|0)<=0){o=-1;break e}e[n>>2]=(y[a+(s0[o>>0]|0)>>0]|0)==10?t+2|0:o,o=7;break e}case 10:{e[n>>2]=t+1,o=7;break e}case 5:{if(o=i,(o-t|0)<2){o=-2;break e}if(ke[e[r+352>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+2|0;break r}}case 6:{if(o=i,(o-t|0)<3){o=-2;break e}if(ke[e[r+356>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+3|0;break r}}case 7:{if(o=i,(o-t|0)<4){o=-2;break e}if(ke[e[r+360>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+4|0;break r}}case 8:case 1:case 0:{e[n>>2]=t,o=0;break e}default:l=t+1|0,o=i}while(0);t=r+352|0,s=r+356|0,A=r+360|0;r:for(;;){if(i=o-l|0,(i|0)<=0){i=39;break}switch(y[a+(s0[l>>0]|0)>>0]|0){case 4:case 10:case 9:case 8:case 1:case 0:{i=37;break r}case 5:{if((i|0)<2){i=30;break r}if(!(ke[e[t>>2]&127](r,l)|0))i=2;else{i=30;break r}break}case 6:{if((i|0)<3){i=33;break r}if(!(ke[e[s>>2]&127](r,l)|0))i=3;else{i=33;break r}break}case 7:{if((i|0)<4){i=36;break r}if(!(ke[e[A>>2]&127](r,l)|0))i=4;else{i=36;break r}break}default:i=1}l=l+i|0}if((i|0)==30){e[n>>2]=l,o=6;break}else if((i|0)==33){e[n>>2]=l,o=6;break}else if((i|0)==36){e[n>>2]=l,o=6;break}else if((i|0)==37){e[n>>2]=l,o=6;break}else if((i|0)==39){e[n>>2]=l,o=6;break}}else o=-4;while(0);return o|0}function Fl0(r,t,i,n,o,l,s,A,a){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0;var c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for((r|0)>-1&((t|0)>0&(i|0)>0)||H0(95162,94943,843,95188),A=IP(t,i,r,s,A,1)|0,A||H0(95233,94943,847,95188),_=e[A+20>>2]|0,z=e[A+24>>2]|0,w=t+1|0,c=0;(c|0)!=(w|0);)e[_+(c<<2)>>2]=0,c=c+1|0;e:do switch(s|0){case 1:{for(s=e[A+28>>2]|0,c=0;;){if((c|0)>=(r|0)){E=0;break}if(w=e[n+(c<<2)>>2]|0,!((w|0)>-1&(w|0)<(t|0))){x=13;break}if(B=e[o+(c<<2)>>2]|0,!((B|0)>-1&(B|0)<(i|0))){x=13;break}B=_+(w+1<<2)|0,e[B>>2]=(e[B>>2]|0)+1,c=c+1|0}for((x|0)==13&&H0(138394,94943,862,95188);;){if((E|0)==(t|0)){c=0;break}x=E+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(E<<2)>>2]|0),E=x}for(;(c|0)!=(r|0);)B=_+(e[n+(c<<2)>>2]<<2)|0,x=e[B>>2]|0,u[s+(x<<3)>>3]=+u[l+(c<<3)>>3],i=e[o+(c<<2)>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,c=c+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}case 2:{for(s=e[A+28>>2]|0,c=0;;){if((c|0)>=(r|0)){B=0;break}if(w=e[n+(c<<2)>>2]|0,!((w|0)>-1&(w|0)<(t|0))){x=25;break}if(E=e[o+(c<<2)>>2]|0,!((E|0)>-1&(E|0)<(i|0))){x=25;break}E=_+(w+1<<2)|0,e[E>>2]=(e[E>>2]|0)+1,c=c+1|0}for((x|0)==25&&H0(138394,94943,880,95188);;){if((B|0)==(t|0)){c=0;break}x=B+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(B<<2)>>2]|0),B=x}for(;(c|0)!=(r|0);)B=_+(e[n+(c<<2)>>2]<<2)|0,x=e[B>>2]|0,i=x<<1,u[s+(i<<3)>>3]=+u[l>>3],u[s+((i|1)<<3)>>3]=+u[l+8>>3],i=e[o+(c<<2)>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,l=l+16|0,c=c+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}case 4:{for(s=e[A+28>>2]|0,c=0;;){if((c|0)>=(r|0)){m=0;break}if(w=e[n+(c<<2)>>2]|0,!((w|0)>-1&(w|0)<(t|0))){x=37;break}if(B=e[o+(c<<2)>>2]|0,!((B|0)>-1&(B|0)<(i|0))){x=37;break}B=_+(w+1<<2)|0,e[B>>2]=(e[B>>2]|0)+1,c=c+1|0}for((x|0)==37&&H0(138394,94943,899,95188);;){if((m|0)==(t|0)){c=0;break}x=m+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(m<<2)>>2]|0),m=x}for(;(c|0)!=(r|0);)B=n+(c<<2)|0,e[s+(e[_+(e[B>>2]<<2)>>2]<<2)>>2]=e[l+(c<<2)>>2],i=e[o+(c<<2)>>2]|0,B=_+(e[B>>2]<<2)|0,x=e[B>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,c=c+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}case 8:{for(l=0;;){if((l|0)>=(r|0)){p=0;break}if(c=e[n+(l<<2)>>2]|0,!((c|0)>-1&(c|0)<(t|0))){x=48;break}if(B=e[o+(l<<2)>>2]|0,!((B|0)>-1&(B|0)<(i|0))){x=48;break}B=_+(c+1<<2)|0,e[B>>2]=(e[B>>2]|0)+1,l=l+1|0}for((x|0)==48&&H0(138394,94943,915,95188);;){if((p|0)==(t|0)){l=0;break}x=p+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(p<<2)>>2]|0),p=x}for(;(l|0)!=(r|0);)i=e[o+(l<<2)>>2]|0,B=_+(e[n+(l<<2)>>2]<<2)|0,x=e[B>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,l=l+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}case 16:{for(c=0;;){if((c|0)>=(r|0)){v=0;break}if(w=e[n+(c<<2)>>2]|0,!((w|0)>-1&(w|0)<(t|0))){x=59;break}if(B=e[o+(c<<2)>>2]|0,!((B|0)>-1&(B|0)<(i|0))){x=59;break}B=_+(w+1<<2)|0,e[B>>2]=(e[B>>2]|0)+1,c=c+1|0}for((x|0)==59&&H0(138394,94943,930,95188);(v|0)!=(t|0);)x=v+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(v<<2)>>2]|0),v=x;for(u2(e[A+28>>2]|0,l|0,N0(e[A+40>>2]|0,r)|0)|0,l=0;(l|0)!=(r|0);)i=e[o+(l<<2)>>2]|0,B=_+(e[n+(l<<2)>>2]<<2)|0,x=e[B>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,l=l+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}default:H0(138394,94943,944,95188)}while(0);return e[_>>2]=0,e[A+8>>2]=r,a&&(A=Pl0(A,a)|0),A|0}function Pl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;z=e[r+20>>2]|0,_=e[r+24>>2]|0,n=e[r+16>>2]|0,B=e[r+4>>2]|0;e:do if(t){for(w=B<<2,p=_0(w)|0,i=0;!((i|0)>=(B|0));)e[p+(i<<2)>>2]=-1,i=i+1|0;r:do switch(n|0){case 1:{a=e[r+28>>2]|0,o=0,n=e[z>>2]|0,i=0;t:for(;;){if((i|0)>=(e[r>>2]|0)){L=o,G=p;break r}for(c=i+1|0,w=z+(c<<2)|0,s=z+(i<<2)|0,i=o;t=e[w>>2]|0,!((n|0)>=(t|0));){if(t=_+(n<<2)|0,o=e[t>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)<(e[s>>2]|0))e[_+(i<<2)>>2]=o,u[a+(i<<3)>>3]=+u[a+(n<<3)>>3],e[p+(e[t>>2]<<2)>>2]=i,i=i+1|0;else{if((e[_+(l<<2)>>2]|0)!=(o|0))break t;x=a+(l<<3)|0,u[x>>3]=+u[x>>3]+ +u[a+(n<<3)>>3]}n=n+1|0}e[w>>2]=i,o=i,n=t,i=c}H0(95235,94943,1792,95260);break}case 2:{switch(x=e[r+28>>2]|0,t|0){case 1:{t=e[z>>2]|0,n=0,i=0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,G=p;break r}for(a=n+1|0,c=z+(a<<2)|0,s=z+(n<<2)|0;n=e[c>>2]|0,!((t|0)>=(n|0));){if(n=_+(t<<2)|0,o=e[n>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)<(e[s>>2]|0))e[_+(i<<2)>>2]=o,E=t<<1,B=i<<1,u[x+(B<<3)>>3]=+u[x+(E<<3)>>3],u[x+((B|1)<<3)>>3]=+u[x+((E|1)<<3)>>3],e[p+(e[n>>2]<<2)>>2]=i,i=i+1|0;else{if((e[_+(l<<2)>>2]|0)!=(o|0))break t;E=t<<1,B=l<<1,m=x+(B<<3)|0,u[m>>3]=+u[m>>3]+ +u[x+(E<<3)>>3],B=x+((B|1)<<3)|0,u[B>>3]=+u[B>>3]+ +u[x+((E|1)<<3)>>3]}t=t+1|0}e[c>>2]=i,t=n,n=a}H0(95235,94943,1815,95260);break}case 4:{t=e[z>>2]|0,n=0,i=0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,G=p;break r}for(c=n+1|0,a=z+(c<<2)|0,s=z+(n<<2)|0;n=e[a>>2]|0,!((t|0)>=(n|0));){if(n=_+(t<<2)|0,o=e[n>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)<(e[s>>2]|0))e[_+(i<<2)>>2]=o,E=t<<1,B=i<<1,u[x+(B<<3)>>3]=+u[x+(E<<3)>>3],u[x+((B|1)<<3)>>3]=+u[x+((E|1)<<3)>>3],e[p+(e[n>>2]<<2)>>2]=i,i=i+1|0;else{if((e[_+(l<<2)>>2]|0)!=(o|0))break t;E=t<<1,B=l<<1,m=x+(B<<3)|0,u[m>>3]=+u[m>>3]+ +u[x+(E<<3)>>3],u[x+((B|1)<<3)>>3]=+u[x+((E|1)<<3)>>3]}t=t+1|0}e[a>>2]=i,t=n,n=c}H0(95235,94943,1835,95260);break}case 2:{E=~~+u[x+8>>3],s=e[r>>2]|0,n=E,l=0,i=0;t:for(;!((l|0)>=(s|0));)for(a=l+1|0,c=e[z+(a<<2)>>2]|0,o=i,t=E,i=e[z+(l<<2)>>2]|0;;){if((i|0)>=(c|0)){E=t,l=a,i=o;continue t}E=~~+u[x+((o<<1|1)<<3)>>3],o=o+1|0,n=(n|0)>(E|0)?n:E,t=(t|0)<(E|0)?t:E,i=i+1|0}for(r0(p),m=n-E+1|0,v=_0(N0(m,w)|0)|0,m=N0(m,B)|0,i=0;!((i|0)>=(m|0));)e[v+(i<<2)>>2]=-1,i=i+1|0;i=0,t=e[z>>2]|0,n=0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,G=v;break r}for(w=n+1|0,p=z+(w<<2)|0,c=z+(n<<2)|0;n=e[p>>2]|0,!((t|0)>=(n|0));){if(n=e[_+(t<<2)>>2]|0,o=t<<1,A=+u[x+((o|1)<<3)>>3],l=(N0(~~A-E|0,B)|0)+n|0,s=v+(l<<2)|0,a=e[s>>2]|0,(a|0)<(e[c>>2]|0))e[_+(i<<2)>>2]=n,a=i<<1,u[x+(a<<3)>>3]=+u[x+(o<<3)>>3],u[x+((a|1)<<3)>>3]=A,e[s>>2]=i,i=i+1|0;else{if((l|0)>=(m|0)){i=55;break t}if((e[_+(a<<2)>>2]|0)!=(n|0)){i=57;break t}a=a<<1,s=x+(a<<3)|0,u[s>>3]=+u[s>>3]+ +u[x+(o<<3)>>3],u[x+((a|1)<<3)>>3]=A}t=t+1|0}e[p>>2]=i,t=n,n=w}(i|0)==55?H0(95292,94943,1869,95260):(i|0)==57&&H0(95313,94943,1870,95260);break}case 3:{o=~~+u[x+8>>3],s=e[r>>2]|0,i=o,n=0,l=0;t:for(;!((l|0)>=(s|0));)for(a=l+1|0,c=e[z+(a<<2)>>2]|0,t=i,i=e[z+(l<<2)>>2]|0;;){if((i|0)>=(c|0)){i=t,l=a;continue t}E=~~+u[x+(n<<1<<3)>>3],t=(t|0)>(E|0)?t:E,o=(o|0)>(E|0)?o:E,n=n+1|0,i=i+1|0}for(r0(p),n=i-o+1|0,v=_0(N0(n,w)|0)|0,n=N0(n,B)|0,i=0;!((i|0)>=(n|0));)e[v+(i<<2)>>2]=-1,i=i+1|0;i=0,t=e[z>>2]|0,n=0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,G=v;break r}for(w=n+1|0,p=z+(w<<2)|0,c=z+(n<<2)|0;n=e[p>>2]|0,!((t|0)>=(n|0));){if(n=e[_+(t<<2)>>2]|0,l=t<<1,A=+u[x+(l<<3)>>3],s=v+((N0(~~A-o|0,B)|0)+n<<2)|0,a=e[s>>2]|0,(a|0)<(e[c>>2]|0))e[_+(i<<2)>>2]=n,E=i<<1,u[x+(E<<3)>>3]=A,u[x+((E|1)<<3)>>3]=+u[x+((l|1)<<3)>>3],e[s>>2]=i,i=i+1|0;else{if((e[_+(a<<2)>>2]|0)!=(n|0))break t;E=a<<1,u[x+(E<<3)>>3]=A,E=x+((E|1)<<3)|0,u[E>>3]=+u[E>>3]+ +u[x+((l|1)<<3)>>3]}t=t+1|0}e[p>>2]=i,t=n,n=w}H0(95313,94943,1905,95260);break}default:{L=0,G=p;break r}}break}case 4:{a=e[r+28>>2]|0,n=0,i=0,t=e[z>>2]|0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,G=p;break r}for(c=n+1|0,w=z+(c<<2)|0,s=z+(n<<2)|0;o=e[w>>2]|0,!((t|0)>=(o|0));){if(n=_+(t<<2)|0,o=e[n>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)<(e[s>>2]|0))e[_+(i<<2)>>2]=o,e[a+(i<<2)>>2]=e[a+(t<<2)>>2],e[p+(e[n>>2]<<2)>>2]=i,i=i+1|0;else{if((e[_+(l<<2)>>2]|0)!=(o|0))break t;x=a+(l<<2)|0,e[x>>2]=(e[x>>2]|0)+(e[a+(t<<2)>>2]|0)}t=t+1|0}e[w>>2]=i,n=c,t=o}H0(95235,94943,1929,95260);break}case 8:{n=0,i=0,t=e[z>>2]|0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,G=p;break r}for(a=n+1|0,c=z+(a<<2)|0,s=z+(n<<2)|0;o=e[c>>2]|0,!((t|0)>=(o|0));){if(n=_+(t<<2)|0,o=e[n>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)>=(e[s>>2]|0)){if((e[_+(l<<2)>>2]|0)!=(o|0))break t}else e[_+(i<<2)>>2]=o,e[p+(e[n>>2]<<2)>>2]=i,i=i+1|0;t=t+1|0}e[c>>2]=i,n=a,t=o}H0(95235,94943,1948,95260);break}default:{r=0;break e}}while(0);e[r+8>>2]=L,r0(G)}while(0);return r|0}function CZ(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,n?Ol0(r,i,o,s,t,l):Yl0(r,i,o,s,t,l)}function Yl0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;if((e[r+32>>2]|0)!=1&&H0(94919,94943,1121,95483),(e[r+16>>2]|0)!=1&&H0(95364,94943,1122,95483),m=e[r+28>>2]|0,E=e[r+20>>2]|0,B=e[r+24>>2]|0,x=e[r>>2]|0,v=e[r+4>>2]|0,r=e[i>>2]|0,s=(r|0)!=0,o){for(s||(r=_0(N0(n<<3,v)|0)|0),o=N0(v,n)|0,s=0;;){if((s|0)>=(o|0)){s=0;break}u[r+(s<<3)>>3]=0,s=s+1|0}e:for(;!((s|0)>=(x|0));)for(c=s+1|0,w=e[E+(c<<2)>>2]|0,p=N0(s,n)|0,s=e[E+(s<<2)>>2]|0;;){if((s|0)>=(w|0)){s=c;continue e}for(A=m+(s<<3)|0,a=B+(s<<2)|0,o=0;!((o|0)>=(n|0));)_=r+((N0(e[a>>2]|0,n)|0)+o<<3)|0,u[_>>3]=+u[_>>3]+ +u[t+(o+p<<3)>>3]*+u[A>>3],o=o+1|0;s=s+1|0}l&&hd(r,v,n)}else{s||(r=_0(N0(n<<3,x)|0)|0),o=0;e:for(;!((o|0)>=(x|0));){for(p=N0(o,n)|0,s=0;!((s|0)>=(n|0));)u[r+(s+p<<3)>>3]=0,s=s+1|0;for(c=o+1|0,w=e[E+(c<<2)>>2]|0,s=e[E+(o<<2)>>2]|0;;){if((s|0)>=(w|0)){o=c;continue e}for(A=m+(s<<3)|0,a=B+(s<<2)|0,o=0;!((o|0)>=(n|0));)z=+u[t+((N0(e[a>>2]|0,n)|0)+o<<3)>>3]*+u[A>>3],v=r+(o+p<<3)|0,u[v>>3]=+u[v>>3]+z,o=o+1|0;s=s+1|0}}l&&hd(r,x,n)}e[i>>2]=r}function Ol0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0;if(p=g,g=g+16|0,w=p,(e[r+32>>2]|0)!=1&&H0(94919,94943,1163,95335),(e[r+16>>2]|0)!=1&&H0(95364,94943,1164,95335),s=e[i>>2]|0,a=e[r>>2]|0,c=e[r+4>>2]|0,A=(s|0)!=0,o){for(A||(s=_0(N0(n<<3,c)|0)|0),A=0;!((A|0)>=(n|0));)e[w>>2]=s+((N0(A,c)|0)<<3),uf(r,t+((N0(A,a)|0)<<3)|0,w,o),A=A+1|0;l||hd(s,n,c)}else{for(A||(s=_0(N0(n<<3,a)|0)|0),A=0;!((A|0)>=(n|0));)e[w>>2]=s+((N0(A,a)|0)<<3),uf(r,t+((N0(A,c)|0)<<3)|0,w,0),A=A+1|0;l||hd(s,n,a)}e[i>>2]=s,g=p}function uf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;switch((e[r+32>>2]|0)!=1&&H0(94919,94943,1222,95392),s=e[r+16>>2]|0,s|0){case 4:case 1:break;default:H0(95421,94943,1223,95392)}p=e[r+20>>2]|0,w=e[r+24>>2]|0,v=e[r>>2]|0,a=e[r+4>>2]|0,A=e[i>>2]|0;e:do switch(s|0){case 1:if(c=e[r+28>>2]|0,r=(n|0)!=0,o=(A|0)!=0,t){if(!r){o?o=A:o=_0(v<<3)|0,r=0;r:for(;;){if((r|0)>=(v|0))break e;for(s=o+(r<<3)|0,u[s>>3]=0,A=r+1|0,n=e[p+(A<<2)>>2]|0,r=e[p+(r<<2)>>2]|0,l=0;;){if((r|0)>=(n|0)){r=A;continue r}m=l+ +u[t+(e[w+(r<<2)>>2]<<3)>>3]*+u[c+(r<<3)>>3],u[s>>3]=m,r=r+1|0,l=m}}}for(o?o=A:o=_0(a<<3)|0,r=0;;){if((r|0)>=(a|0)){r=0;break}u[o+(r<<3)>>3]=0,r=r+1|0}r:for(;;){if((r|0)>=(v|0))break e;for(s=r+1|0,A=e[p+(s<<2)>>2]|0,n=t+(r<<3)|0,r=e[p+(r<<2)>>2]|0;;){if((r|0)>=(A|0)){r=s;continue r}a=o+(e[w+(r<<2)>>2]<<3)|0,u[a>>3]=+u[a>>3]+ +u[n>>3]*+u[c+(r<<3)>>3],r=r+1|0}}}else{if(!r){o?o=A:o=_0(v<<3)|0,r=0;r:for(;;){if((r|0)>=(v|0))break e;for(s=o+(r<<3)|0,u[s>>3]=0,A=r+1|0,n=e[p+(A<<2)>>2]|0,r=e[p+(r<<2)>>2]|0,l=0;;){if((r|0)>=(n|0)){r=A;continue r}m=l+ +u[c+(r<<3)>>3],u[s>>3]=m,r=r+1|0,l=m}}}for(o||(A=_0(a<<3)|0),r=0;;){if((r|0)>=(a|0)){r=0;break}u[A+(r<<3)>>3]=0,r=r+1|0}r:for(;;){if((r|0)>=(v|0)){o=A;break e}for(o=r+1|0,s=e[p+(o<<2)>>2]|0,r=e[p+(r<<2)>>2]|0;;){if((r|0)>=(s|0)){r=o;continue r}t=A+(e[w+(r<<2)>>2]<<3)|0,u[t>>3]=+u[t>>3]+ +u[c+(r<<3)>>3],r=r+1|0}}}case 4:if(c=e[r+28>>2]|0,r=(n|0)!=0,o=(A|0)!=0,t){if(!r){o?o=A:o=_0(v<<3)|0,r=0;r:for(;;){if((r|0)>=(v|0))break e;for(s=o+(r<<3)|0,u[s>>3]=0,A=r+1|0,n=e[p+(A<<2)>>2]|0,r=e[p+(r<<2)>>2]|0,l=0;;){if((r|0)>=(n|0)){r=A;continue r}m=l+ +u[t+(e[w+(r<<2)>>2]<<3)>>3]*+(e[c+(r<<2)>>2]|0),u[s>>3]=m,r=r+1|0,l=m}}}for(o?o=A:o=_0(a<<3)|0,r=0;;){if((r|0)>=(a|0)){r=0;break}u[o+(r<<3)>>3]=0,r=r+1|0}r:for(;;){if((r|0)>=(v|0))break e;for(s=r+1|0,A=e[p+(s<<2)>>2]|0,n=t+(r<<3)|0,r=e[p+(r<<2)>>2]|0;;){if((r|0)>=(A|0)){r=s;continue r}a=o+(e[w+(r<<2)>>2]<<3)|0,u[a>>3]=+u[a>>3]+ +u[n>>3]*+(e[c+(r<<2)>>2]|0),r=r+1|0}}}else{if(!r){o?o=A:o=_0(v<<3)|0,r=0;r:for(;;){if((r|0)>=(v|0))break e;for(s=o+(r<<3)|0,u[s>>3]=0,A=r+1|0,n=e[p+(A<<2)>>2]|0,r=e[p+(r<<2)>>2]|0,l=0;;){if((r|0)>=(n|0)){r=A;continue r}m=l+ +(e[c+(r<<2)>>2]|0),u[s>>3]=m,r=r+1|0,l=m}}}for(o||(A=_0(a<<3)|0),r=0;;){if((r|0)>=(a|0)){r=0;break}u[A+(r<<3)>>3]=0,r=r+1|0}r:for(;;){if((r|0)>=(v|0)){o=A;break e}for(o=r+1|0,s=e[p+(o<<2)>>2]|0,r=e[p+(r<<2)>>2]|0;;){if((r|0)>=(s|0)){r=o;continue r}t=A+(e[w+(r<<2)>>2]<<3)|0,u[t>>3]=+u[t>>3]+ +(e[c+(r<<2)>>2]|0),r=r+1|0}}}default:H0(138394,94943,1315,95392)}while(0);e[i>>2]=o}function hd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(n=N0(t<<3,i)|0,l=_0(n)|0,u2(l|0,r|0,n|0)|0,n=0;!((n|0)>=(t|0));){for(s=N0(n,i)|0,o=0;!((o|0)>=(i|0));)u[r+((N0(o,t)|0)+n<<3)>>3]=+u[l+(o+s<<3)>>3],o=o+1|0;n=n+1|0}r0(l)}function EZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;if(W=e[r+20>>2]|0,N=e[r+24>>2]|0,T=e[t+20>>2]|0,D=e[t+24>>2]|0,G=e[r+32>>2]|0,(G|0)==1&&(G|0)==(e[t+32>>2]|0)||H0(95005,94943,1408,95512),G=e[r>>2]|0,(e[r+4>>2]|0)==(e[t>>2]|0)&&(p=e[r+16>>2]|0,(p|0)==(e[t+16>>2]|0))&&(w=t+4|0,P=_0(e[w>>2]<<2)|0,(P|0)!=0)){for(i=0;;){if((i|0)>=(e[w>>2]|0)){n=0,i=0;break}e[P+(i<<2)>>2]=-1,i=i+1|0}e:for(;!((i|0)>=(G|0));)for(A=i+1|0,a=W+(A<<2)|0,c=-2-i|0,s=e[W+(i<<2)>>2]|0;;){if((s|0)>=(e[a>>2]|0)){i=A;continue e}for(o=e[N+(s<<2)>>2]|0,l=T+(o+1<<2)|0,o=e[T+(o<<2)>>2]|0;!((o|0)>=(e[l>>2]|0));)i=P+(e[D+(o<<2)>>2]<<2)|0,(e[i>>2]|0)!=(c|0)&&(e[i>>2]=c,n=n+1|0),o=o+1|0;s=s+1|0}i=k1(G,e[w>>2]|0,n,p,1)|0;e:do if(!i)i=0;else{z=e[i+20>>2]|0,_=e[i+24>>2]|0;r:do switch(p|0){case 1:{B=e[r+28>>2]|0,p=e[t+28>>2]|0,t=e[i+28>>2]|0,e[z>>2]=0,n=0,o=0;t:for(;;){if((n|0)>=(G|0)){L=o;break r}for(v=n+1|0,m=W+(v<<2)|0,E=z+(n<<2)|0,r=e[W+(n<<2)>>2]|0;!((r|0)>=(e[m>>2]|0));){for(a=e[N+(r<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+u[s>>3]*+u[r>>3],A=v+((A|1)<<3)|0,u[A>>3]=+u[l>>3]*+u[r>>3]+ +u[s>>3]*+u[w>>3]+ +u[A>>3]}a=a+1|0}p=p+1|0}e[z+(m<<2)>>2]=o,n=m}H0(95534,94943,1497,95512);break}case 4:{B=e[r+28>>2]|0,p=e[t+28>>2]|0,t=e[i+28>>2]|0,e[z>>2]=0,n=0,o=0;t:for(;;){if((o|0)>=(G|0)){L=n;break r}for(v=o+1|0,m=W+(v<<2)|0,E=z+(o<<2)|0,c=e[W+(o<<2)>>2]|0;!((c|0)>=(e[m>>2]|0));){for(a=e[N+(c<<2)>>2]|0,w=T+(a+1<<2)|0,r=B+(c<<2)|0,a=e[T+(a<<2)>>2]|0;!((a|0)>=(e[w>>2]|0));){if(o=D+(a<<2)|0,l=e[o>>2]|0,s=P+(l<<2)|0,A=e[s>>2]|0,(A|0)<(e[E>>2]|0))e[s>>2]=n,e[_+(n<<2)>>2]=e[o>>2],e[t+(n<<2)>>2]=N0(e[p+(a<<2)>>2]|0,e[r>>2]|0)|0,n=n+1|0;else{if((e[_+(A<<2)>>2]|0)!=(l|0))break t;s=N0(e[p+(a<<2)>>2]|0,e[r>>2]|0)|0,x=t+(A<<2)|0,e[x>>2]=(e[x>>2]|0)+s}a=a+1|0}c=c+1|0}e[z+(v<<2)>>2]=n,o=v}H0(95534,94943,1523,95512);break}case 8:{e[z>>2]=0,n=0,o=0;t:for(;;){if((o|0)>=(G|0)){L=n;break r}for(r=o+1|0,p=W+(r<<2)|0,t=z+(o<<2)|0,c=e[W+(o<<2)>>2]|0;!((c|0)>=(e[p>>2]|0));){for(a=e[N+(c<<2)>>2]|0,w=T+(a+1<<2)|0,a=e[T+(a<<2)>>2]|0;!((a|0)>=(e[w>>2]|0));){if(o=D+(a<<2)|0,l=e[o>>2]|0,s=P+(l<<2)|0,A=e[s>>2]|0,(A|0)>=(e[t>>2]|0)){if((e[_+(A<<2)>>2]|0)!=(l|0))break t}else e[s>>2]=n,e[_+(n<<2)>>2]=e[o>>2],n=n+1|0;a=a+1|0}c=c+1|0}e[z+(r<<2)>>2]=n,o=r}H0(95534,94943,1543,95512);break}default:{U2(i),i=0;break e}}while(0);e[i+8>>2]=L}while(0);r0(P)}else i=0;return i|0}function k9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0;if(q=e[r+20>>2]|0,t0=e[r+24>>2]|0,Y=e[t+20>>2]|0,P=e[t+24>>2]|0,U=e[i+20>>2]|0,J=e[i+24>>2]|0,F=e[r+32>>2]|0,(F|0)==1&&(F|0)==(e[t+32>>2]|0)||H0(95005,94943,1574,95559),F=e[r>>2]|0,(e[r+4>>2]|0)==(e[t>>2]|0)&&(e[t+4>>2]|0)==(e[i>>2]|0)&&(E=e[r+16>>2]|0,(E|0)==(e[t+16>>2]|0))&&(E|0)==(e[i+16>>2]|0)&&(m=i+4|0,H=_0(e[m>>2]<<2)|0,(H|0)!=0)){for(n=0;;){if((n|0)>=(e[m>>2]|0)){o=0,n=0;break}e[H+(n<<2)>>2]=-1,n=n+1|0}e:for(;!((n|0)>=(F|0));)for(w=n+1|0,p=q+(w<<2)|0,v=-2-n|0,c=e[q+(n<<2)>>2]|0;;){if((c|0)>=(e[p>>2]|0)){n=w;continue e}for(A=e[t0+(c<<2)>>2]|0,a=Y+(A+1<<2)|0,A=e[Y+(A<<2)>>2]|0;!((A|0)>=(e[a>>2]|0));){for(l=e[P+(A<<2)>>2]|0,s=U+(l+1<<2)|0,l=e[U+(l<<2)>>2]|0;!((l|0)>=(e[s>>2]|0));)n=H+(e[J+(l<<2)>>2]<<2)|0,(e[n>>2]|0)!=(v|0)&&(e[n>>2]=v,o=o+1|0),l=l+1|0;A=A+1|0}c=c+1|0}n=k1(F,e[m>>2]|0,o,E,1)|0;e:do if(!n)n=0;else{N=e[n+20>>2]|0,T=e[n+24>>2]|0;r:do switch(E|0){case 1:{L=e[r+28>>2]|0,_=e[t+28>>2]|0,i=e[i+28>>2]|0,B=e[n+28>>2]|0,e[N>>2]=0,o=0,l=0;t:for(;;){if((o|0)>=(F|0)){D=l;break r}for(x=o+1|0,z=q+(x<<2)|0,t=N+(o<<2)|0,E=e[q+(o<<2)>>2]|0;!((E|0)>=(e[z>>2]|0));){for(v=e[t0+(E<<2)>>2]|0,m=Y+(v+1<<2)|0,r=L+(E<<3)|0,v=e[Y+(v<<2)>>2]|0;!((v|0)>=(e[m>>2]|0));){for(c=e[P+(v<<2)>>2]|0,w=U+(c+1<<2)|0,p=_+(v<<3)|0,c=e[U+(c<<2)>>2]|0;!((c|0)>=(e[w>>2]|0));){if(o=J+(c<<2)|0,s=e[o>>2]|0,A=H+(s<<2)|0,a=e[A>>2]|0,(a|0)<(e[t>>2]|0))e[A>>2]=l,e[T+(l<<2)>>2]=e[o>>2],u[B+(l<<3)>>3]=+u[p>>3]*+u[r>>3]*+u[i+(c<<3)>>3],l=l+1|0;else{if((e[T+(a<<2)>>2]|0)!=(s|0))break t;W=B+(a<<3)|0,u[W>>3]=+u[W>>3]+ +u[p>>3]*+u[r>>3]*+u[i+(c<<3)>>3]}c=c+1|0}v=v+1|0}E=E+1|0}e[N+(x<<2)>>2]=l,o=x}H0(95582,94943,1642,95559);break}case 2:{W=e[r+28>>2]|0,G=e[t+28>>2]|0,B=e[i+28>>2]|0,x=e[n+28>>2]|0,e[N>>2]=0,o=0,l=0;t:for(;;){if((l|0)>=(F|0)){D=o;break r}for(z=l+1|0,_=q+(z<<2)|0,L=N+(l<<2)|0,r=e[q+(l<<2)>>2]|0;!((r|0)>=(e[_>>2]|0));){for(w=e[t0+(r<<2)>>2]|0,E=Y+(w+1<<2)|0,i=r<<1,t=W+(i<<3)|0,i=W+((i|1)<<3)|0,w=e[Y+(w<<2)>>2]|0;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1|0}v=v+1|0}e[N+(r<<2)>>2]=o,l=r}H0(95582,94943,1729,95559);break}default:{U2(n),n=0;break e}}while(0);e[n+8>>2]=D}while(0);r0(H)}else n=0;return n|0}function ih(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;if((e[r+32>>2]|0)!=2&&H0(95100,94943,1971,95607),(t|0)>=1){for(s=e[r+8>>2]|0,l=s+t|0,(l|0)>=(e[r+12>>2]|0)&&Vl0(r,l+10|0)|0,A=s<<2,l=t<<2,u2((e[r+20>>2]|0)+A|0,i|0,l|0)|0,u2((e[r+24>>2]|0)+A|0,n|0,l|0)|0,l=e[r+40>>2]|0,l|0&&(A=N0(l,t)|0,s=N0(l,s)|0,u2((e[r+28>>2]|0)+s|0,o|0,A|0)|0),o=r+4|0,s=0;!((s|0)>=(t|0));)l=e[i+(s<<2)>>2]|0,(l|0)>=(e[r>>2]|0)&&(e[r>>2]=l+1),l=e[n+(s<<2)>>2]|0,(l|0)>=(e[o>>2]|0)&&(e[o>>2]=l+1),s=s+1|0;A=r+8|0,e[A>>2]=(e[A>>2]|0)+t}return r|0}function Vl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return(e[r+32>>2]|0)==2?(i=r+20|0,o=t<<2,e[i>>2]=Oe(e[i>>2]|0,o)|0,i=r+24|0,e[i>>2]=Oe(e[i>>2]|0,o)|0,i=e[r+40>>2]|0,(i|0)>0&&(o=r+28|0,n=e[o>>2]|0,i=N0(i,t)|0,n?i=Oe(n,i)|0:i=_0(i)|0,e[o>>2]=i)):(i=r+24|0,e[i>>2]=Oe(e[i>>2]|0,t<<2)|0,i=e[r+40>>2]|0,(i|0)>0&&(o=r+28|0,n=e[o>>2]|0,i=N0(i,t)|0,n?i=Oe(n,i)|0:i=_0(i)|0,e[o>>2]=i)),e[r+12>>2]=t,r|0}function BZ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;e:do if(!r)r=0;else{c=e[r+20>>2]|0,a=e[r+24>>2]|0;r:do switch(e[r+16>>2]|0){case 1:{s=e[r+28>>2]|0,n=e[r>>2]|0,t=0;t:for(;;){if((t|0)>=(n|0))break r;for(o=t+1|0,l=e[c+(o<<2)>>2]|0,t=e[c+(t<<2)>>2]|0,i=1/+(l-t|0);;){if((t|0)>=(l|0)){t=o;continue t}a=s+(t<<3)|0,u[a>>3]=+u[a>>3]*i,t=t+1|0}}}case 2:{o=e[r+28>>2]|0,l=e[r>>2]|0,t=0;t:for(;;){if((t|0)>=(l|0))break r;for(s=t+1|0,A=e[c+(s<<2)>>2]|0,n=e[c+(t<<2)>>2]|0,i=1/+(A-n|0);;){if((n|0)>=(A|0)){t=s;continue t}(e[a+(n<<2)>>2]|0)!=(t|0)&&(w=n<<1,p=o+(w<<3)|0,u[p>>3]=+u[p>>3]*i,w=o+((w|1)<<3)|0,u[w>>3]=+u[w>>3]*i),n=n+1|0}}}case 4:{H0(138394,94943,2192,95648);break}case 8:break;default:{r=0;break e}}while(0)}while(0);return r|0}function nh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(r|0&&(t=r+8|0,i=e[t>>2]|0,n=e[r+4>>2]|0,(n|0)==(e[r>>2]|0))){for(l=e[r+24>>2]|0,r=e[r+20>>2]|0,o=k1(n,n,i,8,1)|0,u2(e[o+20>>2]|0,r|0,(n<<2)+4|0)|0,u2(e[o+24>>2]|0,l|0,i<<2|0)|0,e[o+8>>2]=e[t>>2],r=Ql(o,1)|0,U2(o),r=Ls(r)|0,n=r+8|0,i=_0(e[n>>2]<<3)|0,e[r+28>>2]=i,n=e[n>>2]|0,t=0;!((t|0)>=(n|0));)u[i+(t<<3)>>3]=1,t=t+1|0;e[r+16>>2]=1,e[r+40>>2]=8}else r=0;return r|0}function Hl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=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,e[t>>2]=s,r0(L),r0(z)}function _l(){return+(+(ri()|0)*4656612875245797e-25)}function Jl0(r){return r=r|0,(r|0)>1?(ri()|0)%(r|0)|0|0:(H0(95682,95688,58,95698),0)}function vA(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;e:do if((r|0)<1)t=0;else{for(t=_0(r<<2)|0,i=0;(i|0)!=(r|0);)e[t+(i<<2)>>2]=i,i=i+1|0;for(;;){if((r|0)<=1)break e;n=Jl0(r)|0,i=r+-1|0,l=t+(i<<2)|0,o=e[l>>2]|0,n=t+(n<<2)|0,e[l>>2]=e[n>>2],e[n>>2]=o,r=i}}while(0);return t|0}function Ul0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=0;!((n|0)>=(r|0));)o=i+(n<<3)|0,u[o>>3]=+u[t+(n<<3)>>3]-+u[o>>3],n=n+1|0;return i|0}function oh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(n=0,o=0;!((n|0)>=(r|0));)l=+u[i+(n<<3)>>3]*+u[t+(n<<3)>>3]+o,n=n+1|0,o=l;return+o}function Xl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0;for(o=0;!((o|0)>=(r|0));)l=i+(o<<3)|0,u[l>>3]=+u[l>>3]*n+ +u[t+(o<<3)>>3],o=o+1|0;return i|0}function IZ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0;for(o=0;!((o|0)>=(r|0));)l=t+(o<<3)|0,u[l>>3]=+u[i+(o<<3)>>3]*n+ +u[l>>3],o=o+1|0;return t|0}function $i(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;for(l=N0(i,t)|0,n=N0(n,t)|0,o=0,i=0;!((i|0)>=(t|0));)s=+u[r+(i+l<<3)>>3]-+u[r+(i+n<<3)>>3],o=s*s+o,i=i+1|0;return s=+G0(+o),+(s>1e-15?s:1e-15)}function Vn(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;for(l=N0(i,t)|0,n=N0(n,t)|0,o=0,i=0;!((i|0)>=(t|0));)s=+u[r+(i+l<<3)>>3]-+u[r+(i+n<<3)>>3],o=s*s+o,i=i+1|0;return+ +G0(+o)}function wd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(n=0,o=0;!((o|0)>=(i|0));)l=+u[r+(o<<3)>>3]-+u[t+(o<<3)>>3],n=l*l+n,o=o+1|0;return+ +G0(+n)}function ql0(r,t,i,n,o,l,s){r=+r,t=+t,i=+i,n=+n,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(m=g,g=g+80|0,p=m+48|0,w=m+24|0,v=m,A=0;;){if((A|0)>=(l|0)){a=0;break}E=+u[s+(A<<3)>>3],u[p+(A<<3)>>3]=E,u[w+(A<<3)>>3]=E,A=A+1|0}for(;!((a|0)>=(o|0));){for(c=N0(a,l)|0,A=0;!((A|0)>=(l|0));)x=+u[s+(A+c<<3)>>3],B=p+(A<<3)|0,E=+u[B>>3],u[B>>3]=x>3],u[B>>3]=x>E?x:E,A=A+1|0;a=a+1|0}for(E=+u[w>>3]-+u[p>>3],i=E!=0?(i-r)/E:1,E=+u[w+8>>3]-+u[p+8>>3],x=(n-t)/E,i=E!=0?i>3]=r,u[v+8>>3]=t,u[v+16>>3]=0,a=0;!((a|0)>=(o|0));){for(c=N0(a,l)|0,A=0;!((A|0)>=(l|0));)B=s+(A+c<<3)|0,u[B>>3]=(+u[B>>3]-+u[p+(A<<3)>>3])*i+ +u[v+(A<<3)>>3],A=A+1|0;a=a+1|0}g=m}function xZ(r,t){r=r|0,t=t|0,(v2(r)|0)==1?(r=e[(e[(U0(r)|0)+16>>2]|0)+132>>2]|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0):($l0(r),(jt(he(t,95704)|0)|0)<<24>>24?t=Kl0(r)|0:t=uA0(r,186208)|0,wA0(r,t,186208),bl0(t))}function $l0(r){r=r|0;var t=0;t=We(e[e[(e[(U0(r)|0)+16>>2]|0)+112>>2]>>2]|0)|0,r=e[46925]|0,(t|0)!=(r|0)&&(e[46555]=0,e[46925]=t,e[46926]=re(t,0,95713,0)|0,e[46927]=re(e[46925]|0,1,95721,0)|0,e[46928]=re(e[46925]|0,1,95738,0)|0,r=e[46925]|0),e[46929]=he(r,95738)|0,g9(186208),e[46554]=1,u[23280]=+sr(e[46925]|0,e[46926]|0,1,0),e[46556]=e[46927],e[46557]=e[46928],e[46558]=e[46929]}function Kl0(r){r=r|0;var t=0,i=0,n=0,o=0;for(o=g,g=g+144|0,n=o,i=o+8|0,t=e[46555]|0,e[46555]=t+1,e[n>>2]=t,Ke(i,96234,n)|0,i=TZ(ji(r,i,1)|0)|0,n=i+8|0,t=U0(r)|0;t;)ct(e[n>>2]|0,t,1)|0,e[(e[(e[t+16>>2]|0)+112>>2]|0)+12>>2]=i,t=X0(r,t)|0;return g=o,i|0}function bl0(r){r=r|0,VZ(r)}function es0(r,t){r=r|0,t=t|0;var i=0;return i=_0(32)|0,e[i>>2]=4,u[i+8>>3]=.75,e[i+16>>2]=1073741824,e[i+20>>2]=1,e[i+24>>2]=r,e[i+28>>2]=t,i|0}function rs0(r){r=r|0,r0(r)}function SZ(r){r=r|0;var t=0,i=0;if(r){i=e[r+8>>2]|0;do if(i|0){if(e[r>>2]|0){if(U2(i),t=e[r+12>>2]|0,!t)break;U2(t);break}e[r+36>>2]|0&&(U2(i),t=e[r+12>>2]|0,t|0)&&U2(t)}while(0);U2(e[r+16>>2]|0),U2(e[r+20>>2]|0),t=e[r+24>>2]|0,t|0&&(e[r>>2]|0)>0&&r0(t),SZ(e[r+28>>2]|0),r0(r)}}function ts0(r,t,i,n,o,l,s,A,a,c){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,c=c|0;var w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=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2)>>2]=e[B+(e[c>>2]<<2)>>2],i=e[D>>2]|0,c=i+1|0,e[D>>2]=c,u[N+(i<<3)>>3]=L,i=e[a>>2]|0):c=p,w=w+1|0,p=c}}P=Rs(p,P,x,G,W,N,1,8)|0,e[s>>2]=P,P=Mc(P)|0,e[A>>2]=P,s=k9(P,r,e[s>>2]|0)|0,e[t>>2]=s,s?(uf(e[A>>2]|0,o,l,0),v=e[t>>2]|0,m=v+36|0,e[m>>2]=e[m>>2]|3,e[t>>2]=Ls(v)|0,e[n>>2]=0,v=N,m=W,a=G,p=G,w=W,c=N):(v=N,m=W,a=G,p=G,w=W,c=N)}else v=0,m=0,a=0,p=0,w=0,c=0;break}case 5:{T=26;break}case 1:{c=a+20|0,ls0(r,e[c>>2]|0,U,m),i=e[v>>2]|0,(i|0)==2?(i=c,T=24):T=25;break}case 2:{i=a+20|0,T=24;break}case 3:{is0(r,e[a+20>>2]|0,F,q,_),T=12;break}case 4:{ns0(r,e[a+20>>2]|0,F,q,_),T=12;break}case 6:{os0(r,F,q,_),T=12;break}default:v=0,m=0,a=0,p=0,w=0,c=0}while(0);do if((T|0)==12){if(E=e[_>>2]|0,e[a+28>>2]|0){if((E|0)==(P|0)){v=0,m=0,a=0,p=0,w=0,c=0;break}}else if((E|0)==(P|0)||+u[a+8>>3]*+(P|0)<+(E|0)){v=0,m=0,a=0,p=0,w=0,c=0;break}if((E|0)>=(e[a>>2]|0)){x=P<<2,B=_0(x)|0,x=_0(x)|0,z=_0(P<<3)|0,e[D>>2]=0,p=e[q>>2]|0,v=e[F>>2]|0,w=0,i=0;e:for(;!((w|0)>=(e[_>>2]|0));)for(m=w+1|0,a=p+(m<<2)|0,c=e[p+(w<<2)>>2]|0;;){if((c|0)>=(e[a>>2]|0)){w=m;continue e}e[B+(i<<2)>>2]=e[v+(c<<2)>>2],e[x+(e[D>>2]<<2)>>2]=w,W=e[D>>2]|0,N=W+1|0,e[D>>2]=N,u[z+(W<<3)>>3]=1,c=c+1|0,i=N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>2]|0,c=a+1|0,w=e[x+(c<<2)>>2]|0,p=m+(a<<2)|0,v=+(w-t|0),l=1;!((t|0)>=(w|0));)r=e[z+(t<<2)>>2]|0,(a|0)!=(r|0)&&(e[m+(r<<2)>>2]|0)==(r|0)&&(e[p>>2]|0)==(a|0)&&(A=+u[B+(t<<3)>>3]/(+((e[x+(r+1<<2)>>2]|0)-(e[x+(r<<2)>>2]|0)|0)*v),!(l|0)&&!(A>s)?l=0:(l=0,o=r,s=A)),t=t+1|0;if(l|0){a=c;continue}e[m+(o<<2)>>2]=a,e[m+(a<<2)>>2]=o,e[n>>2]=(e[n>>2]|0)+-1,a=c}while(0)}function us0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(p=e[r+20>>2]|0,v=e[r+24>>2]|0,w=e[r>>2]|0,a=_0(w<<2)|0,e[i>>2]=a,r=0;!((r|0)>=(w|0));)e[a+(r<<2)>>2]=-100,r=r+1|0;e[n>>2]=0,e[o>>2]=0;e:do if(t){for(A=vA(w)|0,s=0;!((s|0)>=(w|0));){a=e[A+(s<<2)>>2]|0,c=e[i>>2]|0,r=c+(a<<2)|0;r:do if((e[r>>2]|0)==-100)for(t=e[n>>2]|0,e[n>>2]=t+1,e[r>>2]=t,t=p+(a+1<<2)|0,r=e[p+(a<<2)>>2]|0;;){if((r|0)>=(e[t>>2]|0))break r;l=e[v+(r<<2)>>2]|0,(a|0)!=(l|0)&&(e[c+(l<<2)>>2]=-1,e[o>>2]=(e[o>>2]|0)+1),r=r+1|0}while(0);s=s+1|0}r0(A)}else{t=0;r:for(;;){if((t|0)>=(w|0))break e;if((e[a+(t<<2)>>2]|0)!=-100){t=t+1|0;continue}for(l=e[n>>2]|0,e[n>>2]=l+1,e[a+(t<<2)>>2]=l,l=t+1|0,s=p+(l<<2)|0,r=e[p+(t<<2)>>2]|0;;){if((r|0)>=(e[s>>2]|0)){t=l;continue r}A=e[v+(r<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ks0(c,s)|0,e[v>>2]=s,v9(c,e[t>>2]|0,s+1|0)|0),r=r+1|0}while(0);e[o>>2]=(e[o>>2]|0)+1,r=e[p>>2]|0}a=a+1|0}e[o>>2]=(e[o>>2]|0)+r,ds0(c),g=E}function as0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=+u[r+8>>3],i=+u[t+8>>3],(n>i?-1:n>2]|0)==1?o=r:o=nh(r)|0;do if(!t)t=0;else{if(j1(t,0)|0&&(e[t+16>>2]|0)==1)break;t=gk(t,0)|0}while(0);return i=_Z(o,t,i)|0,t=zZ(i,n)|0,(o|0)!=(r|0)&&(e[i+36>>2]=1),t|0}function _Z(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return r?(n=_0(44)|0,e[n>>2]=0,e[n+4>>2]=e[r+4>>2],e[n+8>>2]=r,e[n+12>>2]=t,e[n+16>>2]=0,e[n+20>>2]=0,e[n+24>>2]=i,e[n+28>>2]=0,e[n+32>>2]=0,e[n+36>>2]=0,r=n):r=0,r|0}function zZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;return c=g,g=g+32|0,n=c+20|0,o=c+16|0,l=c+12|0,s=c+8|0,A=c+4|0,a=c,e[o>>2]=0,(e[r>>2]|0)<((e[t+16>>2]|0)+-1|0)&&(ts0(e[r+8>>2]|0,A,e[r+12>>2]|0,a,0,o,l,s,t,n),i=e[A>>2]|0,i|0)&&(A=e[a>>2]|0,a=_Z(i,A,e[o>>2]|0)|0,e[r+28>>2]=a,e[a+40>>2]=e[n>>2],e[a>>2]=(e[r>>2]|0)+1,e[a+4>>2]=e[i>>2],e[a+8>>2]=i,e[a+12>>2]=A,e[a+16>>2]=e[l>>2],e[r+20>>2]=e[s>>2],e[a+32>>2]=r,zZ(a,t)|0),g=c,r|0}function hs0(r){r=r|0;for(var t=0;t=e[r+28>>2]|0,t;)r=t;return r|0}function ws0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=_0(28)|0,e[o>>2]=0,e[o+4>>2]=r,e[o+8>>2]=t,e[o+12>>2]=-1,n=o+16|0,e[n>>2]=_0((t<<2)+4|0)|0,i=0;!((i|0)>(t|0));)e[(e[n>>2]|0)+(i<<2)>>2]=0,i=i+1|0;for(t=(r<<2)+4|0,n=o+20|0,e[n>>2]=_0(t)|0,i=0;!((i|0)>(r|0));)e[(e[n>>2]|0)+(i<<2)>>2]=0,i=i+1|0;for(t=_0(t)|0,e[o+24>>2]=t,i=0;!((i|0)>(r|0));)e[t+(i<<2)>>2]=-999,i=i+1|0;return o|0}function ds0(r){r=r|0;var t=0,i=0,n=0,o=0;if(r|0){if(n=r+16|0,t=e[n>>2]|0,t|0){for(o=r+8|0,i=0;!((i|0)>(e[o>>2]|0));)nA0(e[t+(i<<2)>>2]|0,105),i=i+1|0,t=e[n>>2]|0;r0(t)}t=e[r+20>>2]|0,t|0&&r0(t),r0(e[r+24>>2]|0),r0(r)}}function v9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(l=r+8|0,a=r+20|0,A=r+24|0,c=r+16|0,r||H0(138953,95743,69,95759);;){if((e[l>>2]|0)<(i|0)){s=4;break}if(n=(e[a>>2]|0)+(t<<2)|0,o=e[n>>2]|0,!o)break;w=e[(e[A>>2]|0)+(t<<2)>>2]|0,e[n>>2]=0,e[r>>2]=(e[r>>2]|0)+-1,m9(o,105,(e[c>>2]|0)+(w<<2)|0)}return(s|0)==4&&H0(95778,95743,70,95759),e[r>>2]=(e[r>>2]|0)+1,n=r+12|0,(e[n>>2]|0)<(i|0)&&(e[n>>2]=i),e[(e[A>>2]|0)+(t<<2)>>2]=i,n=_0(4)|0,e[n>>2]=t,o=e[(e[c>>2]|0)+(i<<2)>>2]|0,o?n=oA0(o,n)|0:n=QZ(n)|0,e[(e[a>>2]|0)+(t<<2)>>2]=n,e[(e[c>>2]|0)+(i<<2)>>2]=n,r|0}function ps0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(r|0&&(e[r>>2]|0)>=1){if(o=r+12|0,n=e[o>>2]|0,e[i>>2]=n,e[r>>2]=(e[r>>2]|0)+-1,i=r+16|0,l=e[(e[i>>2]|0)+(n<<2)>>2]|0,e[t>>2]=e[(lA0(l)|0)>>2],m9(l,105,(e[i>>2]|0)+(n<<2)|0),i=e[i>>2]|0,!(e[i+(n<<2)>>2]|0)){for(;!((n|0)<=-1||e[i+(n<<2)>>2]|0);)n=n+-1|0;e[o>>2]=n}n=e[t>>2]|0,e[(e[r+20>>2]|0)+(n<<2)>>2]=0,e[(e[r+24>>2]|0)+(n<<2)>>2]=-999,n=1}else n=0;return n|0}function ks0(r,t){return r=r|0,t=t|0,e[(e[r+24>>2]|0)+(t<<2)>>2]|0}function vs0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;if(r|0&&(n=e[r>>2]|0,(n|0)>=1)){if(s=r+24|0,i=e[(e[s>>2]|0)+(t<<2)>>2]|0,e[r>>2]=n+-1,o=r+20|0,n=r+16|0,m9(e[(e[o>>2]|0)+(t<<2)>>2]|0,105,(e[n>>2]|0)+(i<<2)|0),r=r+12|0,(i|0)==(e[r>>2]|0)&&(l=e[n>>2]|0,(e[l+(i<<2)>>2]|0)==0)){for(;!((i|0)<=-1||e[l+(i<<2)>>2]|0);)i=i+-1|0;e[r>>2]=i}e[(e[o>>2]|0)+(t<<2)>>2]=0,e[(e[s>>2]|0)+(t<<2)>>2]=-999,i=1}else i=0;return i|0}function LZ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;for(j1(r,0)|0||H0(95795,95831,260,95846),G=jc(r)|0,W=e[G+20>>2]|0,N=e[G+24>>2]|0,n=G+16|0,r=G+28|0,(e[n>>2]|0)==1?L=e[r>>2]|0:(r0(e[r>>2]|0),e[n>>2]=1,L=_0(e[G+8>>2]<<3)|0,e[r>>2]=L),B=_0(e[G>>2]<<2)|0,r=0;;){if(n=e[G>>2]|0,(r|0)>=(n|0)){E=0,r=n;break}e[B+(r<<2)>>2]=-1,r=r+1|0}e:for(;;){if((E|0)>=(r|0)){l=0,a=0,o=0,_=0,z=r;break}for(m=E+1|0,s=W+(m<<2)|0,w=W+(E<<2)|0,A=(e[s>>2]|0)-(e[w>>2]|0)|0,e[B+(E<<2)>>2]=E,n=e[w>>2]|0;v=e[s>>2]|0,!((n|0)>=(v|0));)r=e[N+(n<<2)>>2]|0,(E|0)!=(r|0)&&(e[B+(r<<2)>>2]=E),n=n+1|0;for(p=+(A|0),n=e[w>>2]|0;!((n|0)>=(v|0));){if(r=e[N+(n<<2)>>2]|0,(E|0)!=(r|0)){for(s=e[W+(r+1<<2)>>2]|0,r=e[W+(r<<2)>>2]|0,c=+(s-r|0)+p;!((r|0)>=(s|0));)c=(e[B+(e[N+(r<<2)>>2]<<2)>>2]|0)==(E|0)?c+-1:c,r=r+1|0;if(u[L+(n<<3)>>3]=c,!(c>0)){x=23;break e}}n=n+1|0}E=m,r=e[G>>2]|0}for((x|0)==23&&H0(95868,95831,290,95846);!((_|0)>=(z|0));){for(s=_+1|0,A=W+(s<<2)|0,n=e[W+(_<<2)>>2]|0;!((n|0)>=(e[A>>2]|0));)r=e[N+(n<<2)>>2]|0,(_|0)==(r|0)?r=o:(a=+Vn(i,t,_,r)+a,l=+u[L+(n<<3)>>3]+l,r=o+1|0),o=r,n=n+1|0;_=s,z=e[G>>2]|0}p=+(o|0),l=a/(l/p*p),r=0;e:for(;!((r|0)>=(z|0));)for(s=r+1|0,A=e[W+(s<<2)>>2]|0,n=e[W+(r<<2)>>2]|0;;){if((n|0)>=(A|0)){r=s;continue e}o=L+(n<<3)|0,(r|0)!=(e[N+(n<<2)>>2]|0)&&(u[o>>3]=+u[o>>3]*l),n=n+1|0}return G|0}function ms0(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;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(e[l>>2]<<2)|0,(e[r>>2]|0)!=(_|0)){switch(e[r>>2]=_,o|0){case 0:{x=2;break}case 1:{x=(+u[w>>3]*2+ +u[W>>3]+ +u[q+(e[l>>2]<<3)>>3])*.5;break}case 2:{x=+K0(+ +$i(n,t,m,e[l>>2]|0),.4);break}default:{m=53;break e}}e[D+(s<<2)>>2]=e[l>>2],Z0=-1/(x*x),u[N+(s<<3)>>3]=Z0,e[z+(s<<2)>>2]=e[l>>2],F0=Z0*x,r=U+(s<<3)|0,u[r>>3]=F0,v=+Vn(n,t,e[l>>2]|0,a)*F0+v,F0=+u[r>>3],s=s+1|0,E=Z0+E,B=F0+B,i=F0*x+i}A=A+1|0}p=p+1|0,r=e[G>>2]|0}e[D+(s<<2)>>2]=m,W=t0+(m<<3)|0,F0=-(E*+u[W>>3]),u[W>>3]=F0,u[N+(s<<3)>>3]=F0-E,e[z+(s<<2)>>2]=m,u[U+(s<<3)>>3]=-B,s=s+1|0,e[P+(L<<2)>>2]=s,e[T+(L<<2)>>2]=s,m=L}if((m|0)==42)cn(95915,29,1,e[15712]|0)|0,H0(138394,95831,418,95876);else if((m|0)==53)cn(95915,29,1,e[15712]|0)|0,H0(138394,95831,460,95876);else if((m|0)==58){for(i=v/i,r=0;!((r|0)>=(s|0));)B0=U+(r<<3)|0,u[B0>>3]=+u[B0>>3]*i,r=r+1|0;u[V0>>3]=i,e[(e[J>>2]|0)+8>>2]=s,e[(e[F>>2]|0)+8>>2]=s,r0(Y),r0(q),U2(D0),H=J0;break}}while(0);return H|0}function ff(r){r=r|0;var t=0;r|0&&(t=e[r+4>>2]|0,t|0&&U2(t),t=e[r+8>>2]|0,t|0&&U2(t),t=e[r+12>>2]|0,t|0&&r0(t),t=e[r+20>>2]|0,t|0&&l2[e[r+16>>2]&127](t),r0(r))}function gs0(r,t,i,n,o,l){r=r|0,t=t|0,i=+i,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0;if(f0=e[r>>2]|0,j1(r,0)|0&&(e[r+16>>2]|0)==1){for(a=N0(f0,t)|0,A=0,s=0;!((s|0)>=(a|0));)E=+u[n+(s<<3)>>3],A=E*E+A,s=s+1|0;e:do if(A==0)for(s=0;;){if((s|0)>=(a|0))break e;u[n+(s<<3)>>3]=+_l()*72,s=s+1|0}while(0);for(F=e[r+20>>2]|0,q=e[r+24>>2]|0,t0=e[r+28>>2]|0,s=_0(56)|0,H=s+32|0,u[H>>3]=1,e[s+20>>2]=0,e[s+24>>2]=0,e[s>>2]=r,u[s+40>>3]=.01,e[s+48>>2]=~~+G0(+ +(e[r>>2]|0)),Y=_0(f0<<3)|0,e[s+12>>2]=Y,a=0;!((a|0)>=(f0|0));)u[Y+(a<<3)>>3]=i,a=a+1|0;if(r=(e[r+8>>2]|0)+f0|0,U=s+4|0,e[U>>2]=k1(f0,f0,r,1,1)|0,r=k1(f0,f0,r,1,1)|0,J=s+8|0,e[J>>2]=r,a=e[U>>2]|0,(r|0)==0|(a|0)==0)ff(s),s=0;else{W=e[a+20>>2]|0,N=e[a+24>>2]|0,T=e[r+20>>2]|0,D=e[r+24>>2]|0,L=e[a+28>>2]|0,P=e[r+28>>2]|0,e[T>>2]=0,e[W>>2]=0,m=0,E=0,G=0,x=0;e:for(;!((x|0)>=(f0|0));){for(z=x+1|0,_=F+(z<<2)|0,c=0,w=0,B=e[F+(x<<2)>>2]|0,v=m,i=E,r=G;!((B|0)>=(e[_>>2]|0));){if(a=e[q+(B<<2)>>2]|0,(a|0)==(x|0))A=v,a=r;else{switch(e[N+(r<<2)>>2]=a,p=+u[t0+(B<<3)>>3],o|0){case 2:{A=p*p,A=A==0?-1e5:-1/A;break}case 1:{A=p*p==0?-1e5:-1/p;break}case 0:{A=-1;break}default:{k0=23;break e}}u[L+(r<<3)>>3]=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=Y,(Y|0)!=0)){switch(t0=e[s+20>>2]|0,Y=e[s+24>>2]|0,U=e[s+28>>2]|0,J=e[f0+28>>2]|0,F=e[c+28>>2]|0,q=r+24|0,e[q>>2]|0){case 1:{Es0(e[r+20>>2]|0,k0,t,i,a,w),l=e[a>>2]|0,l?(c=mk(c,l)|0,T=0,D=0):(T=0,D=0,l=0);break}case 2:{l=e[r+20>>2]|0,T=+u[l+8>>3],D=+u[l>>3],l=0;break}default:T=0,D=0,l=0}W=(H|0)==0,N=r+40|0,G=r+48|0,s=e[w>>2]|0,A=1,a=0;e:for(;L=a+1|0,!!((a|0)<(n|0)&A>o);){r:do if((e[q>>2]|0)==4)for(w=e[Z0>>2]|0,a=0;;){if((a|0)>=(k0|0))break r;for(p=N0(a,t)|0,r=0;!((r|0)>=(t|0));)u[w+(r+p<<3)>>3]=0,r=r+1|0;a=a+1|0}else{for(m=0;!((m|0)>=(k0|0));){for(z=m+1|0,_=t0+(z<<2)|0,v=0,x=e[t0+(m<<2)>>2]|0,a=-1;!((x|0)>=(e[_>>2]|0));){if(w=Y+(x<<2)|0,r=e[w>>2]|0,(m|0)==(r|0))a=x;else{if(B=+Vn(i,t,m,r),p=U+(x<<3)|0,E=+u[p>>3],E==0)E=0;else{if(B==0){for(E=E/+u[F+(x<<3)>>3]*1e-4,r=0;!((r|0)>=(t|0));)B=E*(+_l()+1e-4),b0=i+((N0(e[w>>2]|0,t)|0)+r<<3)|0,u[b0>>3]=B+ +u[b0>>3],r=r+1|0;B=+Vn(i,t,m,e[w>>2]|0),E=+u[p>>3]}E=E/B}u[J+(x<<3)>>3]=E,v=E+v}x=x+1|0}if((a|0)<=-1){P=25;break e}u[J+(a<<3)>>3]=-v,m=z}CZ(f0,0,i,0,Z0,0,t)}while(0);r:do if(!W)for(w=e[Z0>>2]|0,a=0;;){if((a|0)>=(k0|0))break r;for(p=H+(a<<3)|0,m=N0(a,t)|0,r=0;!((r|0)>=(t|0));)_=r+m|0,b0=w+(_<<3)|0,u[b0>>3]=+u[b0>>3]+ +u[V0+(_<<3)>>3]*+u[p>>3],r=r+1|0;a=a+1|0}while(0);r:do switch(e[q>>2]|0){case 1:for(a=e[Z0>>2]|0,r=0;;){if((r|0)>=(k0|0)){P=50;break r}for(p=N0(r,t)|0,w=0;!((w|0)>=(t|0));)P=w+p|0,b0=a+(P<<3)|0,u[b0>>3]=+u[b0>>3]+ +u[s+(P<<3)>>3],w=w+1|0;r=r+1|0}case 2:{Bs0(k0,t,i,e[Z0>>2]|0,D,T),a=e[Z0>>2]|0,v=+u[N>>3],r=e[G>>2]|0,(e[q>>2]|0)==2?Is0(c,D,t,i,a,v,r,J0):P=51;break}default:a=e[Z0>>2]|0,P=50}while(0);if((P|0)==50&&(v=+u[N>>3],r=e[G>>2]|0,P=51),(P|0)==51&&(P=0,+Ys0(c,t,i,a,v,r,0,J0)),e[J0>>2]|0)break;A=+xs0(k0,t,i,e[Z0>>2]|0),A=A/+G0(+ +oh(B0,i,i)),u2(i|0,e[Z0>>2]|0,D0|0)|0,a=L}(P|0)==25&&H0(96049,95831,895,96060),U2(f0),l&&(U2(l),U2(c))}else U2(f0),A=1,s=0;return r0(V0),l=e[Z0>>2]|0,l|0&&r0(l),s|0&&r0(s),g=F0,+A}function Es0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;m=e[r+8>>2]|0,D=e[r+12>>2]|0,W=e[r+16>>2]|0,T=e[r+32>>2]|0,N=e[T+20>>2]|0,T=e[T+24>>2]|0,c=r+20|0,B=e[c>>2]|0,w=r+24|0,E=e[w>>2]|0,p=r+28|0,v=e[p>>2]|0,G=+u[r>>3];e:do if((m|2|0)==3){if(!B){for((E|0)!=0|(v|0)!=0?H0(96094,95831,692,96111):(s=0,A=0);!((s|0)>=(D|0));)L=e[W+(s<<2)>>2]|0,x=+((e[N+(L+1<<2)>>2]|0)-(e[N+(L<<2)>>2]|0)|0)+1,s=s+1|0,A=A+~~(x*x)|0;E=A<<2,B=_0(E)|0,e[c>>2]=B,E=_0(E)|0,e[w>>2]=E,v=_0(A<<3)|0,e[p>>2]=v}for(_=0,r=0;!((_|0)>=(D|0));){m=e[W+(_<<2)>>2]|0,z=N+(m<<2)|0,A=e[z>>2]|0,s=e[T+(A<<2)>>2]|0,A=e[T+(A+1<<2)>>2]|0;r:do if((s|0)!=(A|0)){for(P=+$i(n,i,s,A),P=P*P,p=N+(m+1<<2)|0,x=+((e[p>>2]|0)-(e[z>>2]|0)|0),e[B+(r<<2)>>2]=m,e[E+(r<<2)>>2]=m,u[v+(r<<3)>>3]=G/P,a=x*x*P,x=-(G/(P*x)),A=e[z>>2]|0;r=r+1|0,s=e[p>>2]|0,!((A|0)>=(s|0));)e[B+(r<<2)>>2]=m,e[E+(r<<2)>>2]=e[T+(A<<2)>>2],u[v+(r<<3)>>3]=x,A=A+1|0;for(a=G/a,w=e[z>>2]|0;;){if((w|0)>=(s|0))break r;for(c=e[T+(w<<2)>>2]|0,e[B+(r<<2)>>2]=c,e[E+(r<<2)>>2]=m,u[v+(r<<3)>>3]=x,A=e[z>>2]|0;r=r+1|0,s=e[p>>2]|0,!((A|0)>=(s|0));)L=e[T+(A<<2)>>2]|0,e[B+(r<<2)>>2]=c,e[E+(r<<2)>>2]=L,u[v+(r<<3)>>3]=a,A=A+1|0;w=w+1|0}}while(0);_=_+1|0}s=Rs(r,t,t,B,E,v,1,8)|0,r=0}else{switch(m|0){case 2:case 4:break;default:{s=0,r=0;break e}}do if(B)z=v,_=E,L=B;else if((E|0)!=0|(v|0)!=0)H0(96094,95831,734,96111);else{_=D<<2,L=_0(_)|0,e[c>>2]=L,_=_0(_)|0,e[w>>2]=_,z=_0(D<<3)|0,e[p>>2]=z;break}while(0);for(r=_0(N0(t<<3,i)|0)|0,A=N0(i,t)|0,s=0;;){if((s|0)>=(A|0)){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0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(l=0,A=0;!((l|0)>=(r|0));){for(a=N0(l,t)|0,o=0,s=0;!((o|0)>=(t|0));)w=o+a|0,c=+u[n+(w<<3)>>3]-+u[i+(w<<3)>>3],o=o+1|0,s=c*c+s;l=l+1|0,A=+G0(+s)+A}return+A}function Ss0(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;for(D=e[r>>2]|0,m=e[r+20>>2]|0,E=e[r+24>>2]|0,j1(r,0)|0||H0(95795,95831,1034,96133),B=D<<3,P=_0(B)|0,A=0;!((A|0)>=(D|0));){for(w=P+(A<<3)|0,u[w>>3]=0,p=A+1|0,v=m+(p<<2)|0,c=e[m+(A<<2)>>2]|0,l=0,a=0;!((c|0)>=(e[v>>2]|0));)s=e[E+(c<<2)>>2]|0,(A|0)!=(s|0)&&(a=+Vn(n,t,A,s),a=+u[w>>3]+a,u[w>>3]=a,l=l+1|0),c=c+1|0;if((l|0)<=0){T=11;break}u[w>>3]=a/+(l|0),A=p}for((T|0)==11&&H0(95908,95831,1046,96133),l=_0(56)|0,N=l+32|0,u[N>>3]=1,e[l+20>>2]=0,e[l+24>>2]=0,u[l+40>>3]=.01,e[l+48>>2]=~~+G0(+ +(e[r>>2]|0)),W=_0(B)|0,e[l+12>>2]=W,s=0;!((s|0)>=(D|0));)u[W+(s<<3)>>3]=i,s=s+1|0;do if((D|0)>2)if(o){s=Os0(D,t,n)|0;break}else{s=Vs0(D,t,n)|0;break}else s=jc(r)|0;while(0);if(o=l+4|0,e[o>>2]=mk(r,s)|0,U2(s),A=jc(e[o>>2]|0)|0,e[l+8>>2]=A,s=e[o>>2]|0,(A|0)==0|(s|0)==0)RZ(l),l=0;else{for(B=e[s+20>>2]|0,E=e[s+24>>2]|0,m=e[s+28>>2]|0,o=e[A+28>>2]|0,L=0,G=0,w=0;!((w|0)>=(D|0));){for(v=w+1|0,p=B+(v<<2)|0,_=0,i=0,A=-1,x=L,z=G,c=e[B+(w<<2)>>2]|0;!((c|0)>=(e[p>>2]|0));)s=e[E+(c<<2)>>2]|0,(s|0)==(w|0)?(a=_,s=c):(U=+K0(+ +$i(n,t,w,s),.6),a=1/(U*U),u[m+(c<<3)>>3]=a,J=a*U,r=o+(c<<3)|0,u[r>>3]=J,z=J*+Vn(n,t,w,s)+z,J=+u[r>>3],a=a+_,i=J+i,s=A,x=J*U+x),_=a,A=s,c=c+1|0;if(r=W+(w<<3)|0,a=-(_*+u[r>>3]),u[r>>3]=a,(A|0)<=-1){T=31;break}u[m+(A<<3)>>3]=a-_,u[o+(A<<3)>>3]=-i,L=x,G=z,w=v}for((T|0)==31&&H0(96154,95831,1112,96133),a=G/L,A=e[B+(D<<2)>>2]|0,s=0;!((s|0)>=(A|0));)D=o+(s<<3)|0,u[D>>3]=+u[D>>3]*a,s=s+1|0;u[N>>3]=a,r0(P)}return l|0}function RZ(r){r=r|0,ff(r)}function _s0(r,t,i){r=r|0,t=t|0,i=i|0,+dd(r,t,i,50,.001)}function zs0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;for(T=e[r>>2]|0,D=e[r+20>>2]|0,P=e[r+24>>2]|0,j1(r,0)|0||H0(95795,95831,1149,96165),L=LZ(r,t,n)|0,G=e[L+28>>2]|0,r=_0(8)|0,W=_0(T<<2)|0,N=_0(T<<3)|0,s=0;;){if((s|0)>=(T|0)){v=0;break}for(c=N+(s<<3)|0,u[c>>3]=0,w=s+1|0,p=D+(w<<2)|0,A=e[D+(s<<2)>>2]|0,o=0,a=0;!((A|0)>=(e[p>>2]|0));)l=e[P+(A<<2)>>2]|0,(s|0)!=(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<<2)|0,w=N+(A<<3)|0,p=G+(v<<3)|0,A=e[D+(A<<2)>>2]|0;!((A|0)>=(e[c>>2]|0));)l=P+(A<<2)|0,s=W+(e[l>>2]<<2)|0,(e[s>>2]|0)!=(x|0)&&(e[s>>2]=x,e[E+(o<<2)>>2]=e[l>>2],s=B+(o<<3)|0,u[s>>3]=(+u[w>>3]*2+ +u[t>>3]+ +u[N+(e[l>>2]<<3)>>3])*.5,u[s>>3]=+u[G+(A<<3)>>3]+ +u[p>>3],o=o+1|0),A=A+1|0;v=v+1|0,l=e[_>>2]|0}e[m+(z<<2)>>2]=o,l=z}e[n+8>>2]=o,D=TT()|0,P=r+4|0,e[P>>2]=D,u2(D|0,i|0,168)|0,P=e[P>>2]|0,e[P+16>>2]=0,e[P+40>>2]=1,D=P+96|0,u[D>>3]=+u[D>>3]*.5,e[P+80>>2]=20,r0(W),r0(N),U2(L)}return r|0}function GZ(r){r=r|0;var t=0;r|0&&(t=e[r>>2]|0,t|0&&U2(t),r=e[r+4>>2]|0,r|0&&FT(r))}function Ls0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;if(l=g,g=g+16|0,s=l,e[s>>2]=0,ig0(n,t,e[r>>2]|0,e[r+4>>2]|0,i,o,s),e[s>>2]|0)H0(96184,95831,1262,96190);else{g=l;return}}function Rs0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0;e[l>>2]=0,l=e[i+120>>2]|0;e:do switch(l|0){case 5:case 6:{(e[t>>2]|0)>2&&(t=Ss0(t,r,0,o,(l|0)!=6&1)|0,_s0(t,r,o),RZ(t));break}case 4:for(l=0;;){if((l|0)==1)break e;A=zs0(t,r,i,o)|0,Ls0(A,t,n,r,o),GZ(A),l=l+1|0}case 1:{i=0,s=6;break}case 2:{i=1,s=6;break}case 3:{i=2,s=6;break}default:}while(0);e:do if((s|0)==6)for(l=0;;){if((l|0)==1)break e;A=ms0(t,r,.05,o,i)|0,+dd(A,r,o,50,.001),ff(A),l=l+1|0}while(0)}function Gs0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;for(a=g,g=g+16|0,l=a,e[l>>2]=i,A=e[r>>2]|0,r=e[A+8>>2]|0,s=+u[A>>3],A=e[r>>2]|0,uf(r,t,l,0),r=0,o=0;!((r|0)>=(A|0));)n=+u[t+(r<<3)>>3]+o,r=r+1|0,o=n;for(n=+(A|0),i=e[l>>2]|0,r=0;!((r|0)>=(A|0));)l=i+(r<<3)|0,u[l>>3]=(+u[t+(r<<3)>>3]*n-o)*s+ +u[l>>3],r=r+1|0;return g=a,i|0}function Zs0(r,t){r=r|0,t=+t;var i=0,n=0;return i=_0(8)|0,n=_0(16)|0,e[i>>2]=n,u[n>>3]=t,e[n+8>>2]=r,e[i+4>>2]=25,i|0}function Ws0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=g,g=g+16|0,n=o,e[n>>2]=i,uf(e[r>>2]|0,t,n,0),g=o,e[n>>2]|0}function Ds0(r){r=r|0;var t=0;return t=_0(8)|0,e[t>>2]=r,e[t+4>>2]=26,t|0}function Ms0(r){r=r|0,r|0&&r0(r)}function js0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(o=e[r>>2]|0,n=~~+u[o>>3],o=o+8|0,r=0;!((r|0)>=(n|0));)u[i+(r<<3)>>3]=+u[o+(r<<3)>>3]*+u[t+(r<<3)>>3],r=r+1|0;return i|0}function Ns0(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;w=e[r>>2]|0,v=e[r+20>>2]|0,m=e[r+24>>2]|0,a=e[r+28>>2]|0,c=_0(8)|0,s=_0((w<<3)+8|0)|0,e[c>>2]=s,u[s>>3]=+(w|0),s=s+8|0,E=+(w+-1|0),A=1/E,t=E*t,r=0;e:for(;!((r|0)>=(w|0));)for(n=s+(r<<3)|0,u[n>>3]=A,o=r+1|0,l=e[v+(o<<2)>>2]|0,i=e[v+(r<<2)>>2]|0;;){if((i|0)>=(l|0)){r=o;continue e}(r|0)==(e[m+(i<<2)>>2]|0)&&(p=+u[a+(i<<3)>>3],(p>=0?p:-p)>0)&&(u[n>>3]=1/(p+t)),i=i+1|0}return e[c+4>>2]=27,c|0}function Qs0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;s=e[r>>2]|0,a=e[r+20>>2]|0,c=e[r+24>>2]|0,w=e[r+28>>2]|0,p=_0(8)|0,i=_0((e[r>>2]<<3)+8|0)|0,e[p>>2]=i,u[i>>3]=+(s|0),i=i+8|0,r=0;e:for(;!((r|0)>=(s|0));)for(n=i+(r<<3)|0,u[n>>3]=1,o=r+1|0,l=e[a+(o<<2)>>2]|0,t=e[a+(r<<2)>>2]|0;;){if((t|0)>=(l|0)){r=o;continue e}(r|0)==(e[c+(t<<2)>>2]|0)&&(A=+u[w+(t<<3)>>3],(A>=0?A:-A)>0)&&(u[n>>3]=1/A),t=t+1|0}return e[p+4>>2]=27,p|0}function Ts0(r){r=r|0,r0(e[r>>2]|0),r|0&&r0(r)}function ZZ(r,t,i,n,o,l,s,A,a){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=+s,A=A|0,a=a|0;var c=0,w=0,p=0,v=0,m=0,E=0;for(m=i<<3,v=_0(m)|0,m=_0(m)|0,w=0,p=0;(w|0)<(n|0);){a=0;for(;!((a|0)>=(i|0));)E=(N0(a,n)|0)+w|0,u[v+(a<<3)>>3]=+u[o+(E<<3)>>3],u[m+(a<<3)>>3]=+u[l+(E<<3)>>3],a=a+1|0;for(c=+Fs0(r,t,i,v,m,s,A),a=0;!((a|0)>=(i|0));)u[l+((N0(a,n)|0)+w<<3)>>3]=+u[v+(a<<3)>>3],a=a+1|0;w=w+1|0,p=c+p}return r0(v),r0(m),+p}function Fs0(r,t,i,n,o,l,s){r=r|0,t=t|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=a:A=+u[T+(l<<3)>>3]*a+A,c=c+1|0;A==0&&(e[D>>2]=m-p,A2(x,96212,D)|0),u[z+(w<<3)>>3]=(+u[_+(w<<3)>>3]-A)/s,w=v}u2(T|0,z|0,N|0)|0,r=r+1|0}for(;!((l|0)>=(W|0));)u[n+((N0(l,t)|0)+E<<3)>>3]=+u[T+(l<<3)>>3],l=l+1|0;E=E+1|0}return r0(T),r0(z),r0(_),g=P,n|0}function Ys0(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0,s=s|0,A=A|0;var a=0;switch(a=e[r>>2]|0,e[A>>2]=0,s|0){case 0:{s=Ds0(r)|0,A=Qs0(r)|0,o=+ZZ(s,A,a,t,i,n,o,l,0),Ms0(s),Ts0(A);break}case 1:{Ps0(r,t,i,n,l,0)|0,o=0;break}default:o=0}return+o}function Os0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(p=g,g=g+32|0,a=p,c=p+20|0,o=p+16|0,l=p+12|0,s=p+8|0,u[a>>3]=1,A=r<<3,w=_0(A)|0,A=_0(A)|0,t=0;!((t|0)>=(r|0));)n=t<<1,u[w+(t<<3)>>3]=+u[i+(n<<3)>>3],u[A+(t<<3)>>3]=+u[i+((n|1)<<3)>>3],t=t+1|0;for(e[c>>2]=t,(r|0)>2?i=ey0(w,A,r,s)|0:(e[s>>2]=0,i=0),n=k1(r,r,1,1,2)|0,t=0;e[c>>2]=t,!((t|0)>=(e[s>>2]|0));)v=t<<1,e[o>>2]=e[i+(v<<2)>>2],e[l>>2]=e[i+((v|1)<<2)>>2],ih(n,1,o,l,a)|0,t=(e[c>>2]|0)+1|0;for((r|0)==2&&(e[o>>2]=0,e[l>>2]=1,ih(n,1,o,l,a)|0),t=0;e[c>>2]=t,!((t|0)>=(r|0));)ih(n,1,c,c,a)|0,t=(e[c>>2]|0)+1|0;return r=xP(n)|0,U2(n),v=Ql(r,0)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=3:(o=_0(t<<3)|0,OF(r,t,o,t)|0?(r=1,w=17):w=3),(w|0)==3){for(a=j0(t<<2)|0,e[l>>2]=a,r=0;!((r|0)>=(t|0));)e[a+(r<<2)>>2]=r,r=r+1|0;for(r=t+-1|0,Rc(o,a,0,r),p=+u[o+(e[a>>2]<<3)>>3],n=(+u[o+(e[a+(r<<2)>>2]<<3)>>3]-p)*n/+(r|0),n=n=(t|0));)p=+u[o+(e[a+(l<<2)>>2]<<3)>>3],r=r+(p-i>n&1)|0,l=l+1|0,i=p;e[A>>2]=r;e:do if(!r)a=_0(4)|0,e[s>>2]=a,e[a>>2]=t;else for(A=_0(r<<2)|0,e[s>>2]=A,r=0,l=1;;){if((l|0)>=(t|0))break e;+u[o+(e[a+(l<<2)>>2]<<3)>>3]-+u[o+(e[a+(l+-1<<2)>>2]<<3)>>3]>n&&(e[A+(r<<2)>>2]=l,r=r+1|0),l=l+1|0}while(0);c?r=0:(r=0,w=17)}return(w|0)==17&&r0(o),r|0}function rA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(i=e[46930]|0,i|0&&YA(i),e[46930]=PA(t,t,0)|0,i=e[46931]|0,i|0&&r0(i),e[46931]=j0(t<<2)|0,i=e[46932]|0,i|0&&r0(i),p=j0(t<<3)|0,e[46932]=p,v=e[46930]|0,m=e[46931]|0,s=0;;){if((s|0)>=(t|0)){n=10;break}for(n=r+(s<<2)|0,l=v+(s<<2)|0,o=0,i=0;(i|0)!=(t|0);)A=+u[(e[n>>2]|0)+(i<<3)>>3],u[(e[l>>2]|0)+(i<<3)>>3]=A,A=+L0(+A),o=o>3]=1/o,e[m+(s<<2)>>2]=s,s=s+1|0}e:do if((n|0)==10){w=t+-1|0,i=0,c=0;r:for(;(c|0)<(w|0);){n=c,a=i,o=0;for(;!((n|0)>=(t|0));)r=e[m+(n<<2)>>2]|0,A=+L0(+ +u[(e[v+(r<<2)>>2]|0)+(c<<3)>>3]),A=+u[p+(r<<3)>>3]*A,r=o>2]|0,r=m+(a<<2)|0,e[i>>2]=e[r>>2],e[r>>2]=s),l=e[v+(e[i>>2]<<2)>>2]|0,r=c+1|0,o=1/+u[l+(c<<3)>>3],n=r;;){if((n|0)>=(t|0)){i=a,c=r;continue r}s=e[v+(e[m+(n<<2)>>2]<<2)>>2]|0,i=s+(c<<3)|0,A=+u[i>>3]*o,u[i>>3]=A;t:do if(A!=0)for(i=r;;){if((i|0)>=(t|0))break t;E=s+(i<<3)|0,u[E>>3]=+u[E>>3]-+u[l+(i<<3)>>3]*A,i=i+1|0}while(0);n=n+1|0}}i=+u[(e[v+(e[m+(w<<2)>>2]<<2)>>2]|0)+(w<<3)>>3]!=0&1}else(n|0)==15&&(u[p+(s<<3)>>3]=0,i=0);while(0);return i|0}function tA0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(a=e[46930]|0,c=e[46931]|0,A=0;;){if((A|0)>=(i|0)){n=i;break}for(l=e[c+(A<<2)>>2]|0,s=a+(l<<2)|0,o=0,n=0;(n|0)!=(A|0);)o=+u[r+(n<<3)>>3]*+u[(e[s>>2]|0)+(n<<3)>>3]+o,n=n+1|0;u[r+(A<<3)>>3]=+u[t+(l<<3)>>3]-o,A=A+1|0}for(;t=n+-1|0,!((n|0)<=0);){for(l=c+(t<<2)|0,o=0;!((n|0)>=(i|0));)o=+u[r+(n<<3)>>3]*+u[(e[a+(e[l>>2]<<2)>>2]|0)+(n<<3)>>3]+o,n=n+1|0;n=r+(t<<3)|0,u[n>>3]=(+u[n>>3]-o)/+u[(e[a+(e[l>>2]<<2)>>2]|0)+(t<<3)>>3],n=t}}function jZ(r){r=r|0;var t=0;return t=_0(8)|0,e[t>>2]=r,e[t+4>>2]=0,t|0}function NZ(r,t){r=r|0,t=t|0;var i=0,n=0;if(r|0)do i=r,r=e[r+4>>2]|0,n=e[i>>2]|0,n|0&&l2[t&127](n),r0(i);while(r|0)}function iA0(r,t){return r=r|0,t=t|0,t=jZ(t)|0,e[t+4>>2]=r,t|0}function ln(r){return r=r|0,e[r>>2]|0}function pd(r){return r=r|0,e[r+4>>2]|0}function QZ(r){r=r|0;var t=0;return t=_0(12)|0,e[t>>2]=r,e[t+4>>2]=0,e[t+8>>2]=0,t|0}function nA0(r,t){r=r|0,t=t|0;var i=0,n=0;if(r|0)do i=r,r=e[r+4>>2]|0,n=e[i>>2]|0,n|0&&l2[t&127](n),r0(i);while(r|0)}function oA0(r,t){return r=r|0,t=t|0,t=QZ(t)|0,r|0&&(e[t+4>>2]=r,e[r+8>>2]=t),t|0}function lA0(r){return r=r|0,e[r>>2]|0}function m9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;r|0&&(n=e[r+4>>2]|0,o=e[r+8>>2]|0,l=e[r>>2]|0,l|0&&l2[t&127](l),r0(r),n|0&&(e[n+8>>2]=o),e[(o|0?o+4|0:i)>>2]=n)}function g9(r){r=r|0,e[r>>2]=0,e[r+4>>2]=0}function TZ(r){r=r|0;var t=0;return t=j0(64)|0,g9(t+36|0),e[t+8>>2]=r,t|0}function sA0(r){r=r|0,r|0&&(kd(e[r+32>>2]|0),r0(r))}function AA0(r){return r=r|0,v2(e[r+8>>2]|0)|0}function FZ(r,t){r=r|0,t=t|0;var i=0,n=0;e[t+4>>2]=0,i=r+4|0,n=e[i>>2]|0,e[(n|0?n+4|0:r)>>2]=t,e[i>>2]=t}function PZ(r,t){r=r|0,t=t|0;var i=0;i=e[r>>2]|0,i?e[t+4>>2]=i:(e[r>>2]=t,r=r+4|0),e[r>>2]=t}function uA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(fA0(r,t),a=e[t>>2]|0,s=e[a+4>>2]|0;s;){for(c=e[s+8>>2]|0,A=U0(c)|0,i=e[(e[A+16>>2]|0)+112>>2]|0,r=e[i+16+4>>2]|0,i=e[i+8>>2]|0,o=A,A=X0(c,A)|0;A;)n=e[(e[A+16>>2]|0)+112>>2]|0,l=e[n+16+4>>2]|0,(l|0)<(r|0)&&(o=A,i=e[n+8>>2]|0,r=l),A=X0(c,A)|0;A=e[(e[i+16>>2]|0)+112>>2]|0,c=A+4|0,e[c>>2]=e[c>>2]|8,e[s>>2]=o,c=e[s+4>>2]|0,FZ((e[A+12>>2]|0)+36|0,s),s=c}return g9(t),a|0}function fA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,l=A+8|0,n=e[t+24>>2]|0,n|0&&(i=ht(r,n,0)|0,(i|0)!=0)||(o=3);e:do if((o|0)==3){n=t+20|0;r:do if(e[n>>2]|0)for(i=U0(r)|0;;){if(!i)break r;if((LQ(e[e[(e[i+16>>2]|0)+112>>2]>>2]|0,e[n>>2]|0,0)|0)<<24>>24)break e;i=X0(r,i)|0}while(0);i=U0(r)|0}while(0);e[l+4>>2]=0,e[l>>2]=0,YZ(r,i,t,1,l),g=A}function YZ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0;for(w=i+8|0,c=e[w>>2]|0,e[w>>2]=c+1,w=t+16|0,e[(e[(e[w>>2]|0)+112>>2]|0)+16+4>>2]=c,e[(e[(e[w>>2]|0)+112>>2]|0)+24>>2]=c,c=(n|0)==0,a=Jr(r,t)|0;a;){n=e[a>>2]&3,l=e[((n|0)==2?a:a+-48|0)+40>>2]|0,(l|0)==(t|0)?(n=e[((n|0)==3?a:a+48|0)+40>>2]|0,l=e[(e[a+16>>2]|0)+120>>2]|0,e[l>>2]|0||(e[l>>2]=-1)):(n=e[(e[a+16>>2]|0)+120>>2]|0,e[n>>2]|0||(e[n>>2]=1),n=l),l=n+16|0,s=e[(e[l>>2]|0)+112>>2]|0,A=e[s+16+4>>2]|0;do if(A)l=e[(e[w>>2]|0)+112>>2]|0,(e[l+8>>2]|0)!=(n|0)&&(s=l+24|0,l=e[s>>2]|0,e[s>>2]=(l|0)<(A|0)?l:A);else if(e[s+8>>2]=t,aA0(o,a),YZ(r,n,i,0,o),A=(e[(e[w>>2]|0)+112>>2]|0)+24|0,e[A>>2]=e[(e[(e[((e[A>>2]|0)<(e[(e[(e[l>>2]|0)+112>>2]|0)+24>>2]|0)?t:n)+16>>2]|0)+112>>2]|0)+24>>2],(e[(e[(e[l>>2]|0)+112>>2]|0)+24>>2]|0)>=(e[(e[(e[w>>2]|0)+112>>2]|0)+16+4>>2]|0)){n=0;do s=cA0(o)|0,l=(e[e[(e[s+16>>2]|0)+120>>2]>>2]|0)==1,l=e[((e[s>>2]&3|0)==((l?2:3)|0)?s:s+((l?-1:1)*48|0)|0)+40>>2]|0,e[(e[(e[l+16>>2]|0)+112>>2]|0)+12>>2]|0||(n||(n=OZ(r,i)|0),y9(n,l));while((s|0)!=(a|0));if(n|0){if(!(e[(e[(e[w>>2]|0)+112>>2]|0)+12>>2]|0)&&(AA0(n)|0)>1&&y9(n,t),!c&&(e[(e[(e[w>>2]|0)+112>>2]|0)+12>>2]|0)==(n|0)){PZ(i,n);break}FZ(i,n)}}while(0);a=ot(r,a,t)|0}!c&&!(e[(e[(e[w>>2]|0)+112>>2]|0)+12>>2]|0)&&(w=OZ(r,i)|0,y9(w,t),PZ(i,w))}function aA0(r,t){r=r|0,t=t|0,e[(e[(e[t+16>>2]|0)+120>>2]|0)+4>>2]=e[r>>2],e[r>>2]=t,t=r+4|0,e[t>>2]=(e[t>>2]|0)+1}function cA0(r){r=r|0;var t=0,i=0,n=0;return t=e[r>>2]|0,t||H0(138394,96254,65,96266),i=r+4|0,n=e[i>>2]|0,(n|0)>0?(e[r>>2]=e[(e[(e[t+16>>2]|0)+120>>2]|0)+4>>2],e[i>>2]=n+-1,t|0):(H0(96244,96254,61,96266),0)}function OZ(r,t){return r=r|0,t=t|0,TZ(hA0(r,t)|0)|0}function y9(r,t){r=r|0,t=t|0,ct(e[r+8>>2]|0,t,1)|0,e[(e[(e[t+16>>2]|0)+112>>2]|0)+12>>2]=r}function hA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=g,g=g+144|0,o=i,n=i+8|0,l=t+12|0,t=e[l>>2]|0,e[l>>2]=t+1,e[o>>2]=t,Ke(n,96234,o)|0,t=ji(r,n,1)|0,$e(t,137483,280,1)|0,g=i,t|0}function VZ(r){r=r|0;var t=0,i=0;for(t=e[r+36>>2]|0;t;)i=e[t+4>>2]|0,VZ(t),t=i;sA0(r)}function wA0(r,t,i){r=r|0,t=t|0,i=i|0,HZ(r,t,+u[i+32>>3])}function HZ(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0;for(n=t+36|0,o=0;n=e[n>>2]|0,!!n;)HZ(r,n,i),n=n+4|0,o=o+1|0;n=xA0(r,t,i)|0,e[t+32>>2]=n,r=rc(n)|0,(o|0)>0?i=+dA0(o,r,n,t,i):i=3.141592653589793,(r|0)==1&&(l=e[t>>2]|0,l|0)&&e[(e[(e[l+16>>2]|0)+112>>2]|0)+8>>2]|0&&(s=t+48|0,u[s>>3]=i,i<0)&&(u[s>>3]=i+6.283185307179586)}function dA0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=+o;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for(_=g,g=g+48|0,x=_,z=j0(r*56|0)|0,e[x+40>>2]=e[n+36>>2],v=n+16|0,A=+u[v>>3],m=x+8|0,u[m>>3]=A,u[x>>3]=A,e[x+44>>2]=e[n>>2],A=6.283185307179586/+(t|0),u[x+16>>3]=A,E=x+24|0,u[E>>3]=-1,B=x+32|0,u[B>>3]=-1,a=0,p=0,l=0;s=e[i>>2]|0,!!s;)i=e[s>>2]|0,e[(e[(e[i+16>>2]|0)+112>>2]|0)+4>>2]&8?(w=z+(p*56|0)|0,e[w>>2]=i,u[z+(p*56|0)+8>>3]=A*+(a|0),i=p+1|0,l=+pA0(w,x,o)):i=p,a=a+1|0,p=i,i=s+4|0;e:do switch(p|0){case 1:{u[z+40>>3]=1,i=0;break}case 2:{A=+u[z+64>>3]-+u[z+8>>3],JZ(z,z+56|0,A>3.141592653589793?6.283185307179586-A:A),i=0;break}default:for(w=z+8|0,c=z,i=0;;){if((i|0)>=(p|0)){i=0;break e}i=i+1|0,(i|0)==(p|0)?(s=z,A=+u[w>>3]+6.283185307179586-+u[c+8>>3],a=c+56|0):(a=c+56|0,s=a,A=+u[c+64>>3]-+u[c+8>>3]),JZ(c,s,A),c=a}}while(0);for(;!((i|0)>=(p|0));)kA0(z+(i*56|0)|0,x,t,o),i=i+1|0;return r0(z),(r|0)==1?(o=l+o*.5,C9(n,-o,0,0),u[v>>3]=+u[v>>3]+o,z=n+56|0,e[z>>2]=e[z>>2]|1):u[v>>3]=+u[m>>3],g=_,+((+u[B>>3]+ +u[E>>3])*.5+-3.141592653589793)}function pA0(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0,A=0,a=0;for(s=0,o=0,l=0,n=t+40|0;A=e[n>>2]|0,!!A;)n=e[A>>2]|0,n?n=e[(e[(e[n+16>>2]|0)+112>>2]|0)+8>>2]|0:n=0,(n|0)==(e[r>>2]|0)?(a=+u[A+16>>3],n=s+1|0,o=o+i+a*2,l=l>3]=o,e[r+48>>2]=s,u[r+16>>3]=l+i+ +u[t>>3],u[r+24>>3]=l,+l}function JZ(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0;o=+u[t+16>>3],n=+u[r+16>>3],i=(n*+u[t+32>>3]+o*+u[r+32>>3])/(i*2*o*n),i=i<1?1:i,r=r+40|0,i>+u[r>>3]&&(u[r>>3]=i),r=t+40|0,i>+u[r>>3]&&(u[r>>3]=i)}function kA0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0;for(T=t+8|0,N=+u[T>>3],D=t+24|0,a=+u[D>>3],P=t+32|0,A=+u[P>>3],o=+u[r+16>>3]*+u[r+40>>3],W=(i|0)==1,W?(L=+u[r+32>>3],l=L*.15915494309189535,l=o>l?o:l,o=l*6.283185307179586-L,o>0?(n=o/+(e[r+48>>2]|0)+n,c=0,o=l):(c=0,o=l)):c=+u[r+8>>3]-+u[r+32>>3]/(o*2),E=+u[r+24>>3]+o,B=E>N,x=r+48|0,z=((e[x>>2]|0)+1|0)/2|0,_=1/o,L=n/o*.5,G=r+8|0,p=t+40|0,v=0,m=0,l=c;p=e[p>>2]|0,!!p;){if(s=e[p>>2]|0,s?s=e[(e[(e[s+16>>2]|0)+112>>2]|0)+8>>2]|0:s=0,(s|0)==(e[r>>2]|0)&&(rc(e[p+32>>2]|0)|0)>=1){c=+u[p+16>>3],w=c*_;do if(W)l!=0&&(l=(e[x>>2]|0)==2?3.141592653589793:w+l),A=l,a=a<0?l:a;else if((e[x>>2]|0)==1){l=+u[G>>3];break}else{l=l+L+w;break}while(0);F=+ee(+l)*o,J=+le(+l)*o,C9(p,F,J,+vA0(p,F,J,l)),l=(W?(c+n)*_:w+L)+l,v=v+1|0,s=v,c=(v|0)==(z|0)?l:m}else s=v,c=m;p=p+4|0,v=s,m=c}o=B?E:N,(i|0)>1&&(U=e[r>>2]|0,(U|0)==(e[t+44>>2]|0))&&(u[(e[(e[U+16>>2]|0)+112>>2]|0)+24>>3]=m),u[T>>3]=o,u[D>>3]=a,u[P>>3]=A}function C9(r,t,i,n){r=r|0,t=+t,i=+i,n=+n;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(w=e[r+8>>2]|0,p=n!=0,o=U0(w)|0;o;)a=e[(e[o+16>>2]|0)+132>>2]|0,s=+u[a>>3],c=a+8|0,l=+u[c>>3],p?(v=+ee(+n),m=+le(+n),A=v*s-m*l,l=m*s+v*l):A=s,u[a>>3]=A+t,u[c>>3]=l+i,o=X0(w,o)|0;for(o=r+36|0;o=e[o>>2]|0,!!o;)C9(o,t,i,n),o=o+4|0}function vA0(r,t,i,n){r=r|0,t=+t,i=+i,n=+n;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;w=e[r+8>>2]|0,o=+u[r+48>>3];do if(o>=0)o=3.141592653589793-o+n,o=o<0?o+6.283185307179586:o;else{if((rc(e[r+32>>2]|0)|0)==2){o=n+-1.5707963267948966;break}for(c=e[r>>2]|0,p=c+16|0,s=e[(e[p>>2]|0)+132>>2]|0,o=+u[s>>3]+t,a=+u[s+8>>3]+i,o=a*a+o*o,s=U0(w)|0,l=c;s;)(s|0)!=(c|0)&&(v=e[(e[s+16>>2]|0)+132>>2]|0,A=+u[v>>3]+t,a=+u[v+8>>3]+i,A=a*a+A*A,A>3],a=+u[r+16>>3]-A,l=e[p>>2]|0,s=e[l+132>>2]|0,o=+u[s>>3],o>-a&&e[r+56>>2]&1|0){i=+G0(+(i*i+t*t)),t=+I2(+ +u[s+8>>3],+(o+a)),o=+ee(+t),o=n+1.5707963267948966-t-+w2(+((a-A/o)/i*o));break}else{o=+I2(+ +u[s+8>>3],+o),o=n+3.141592653589793-o-+u[(e[l+112>>2]|0)+24>>3],o=o>6.283185307179586?o+-6.283185307179586:o;break}else o=0}while(0);return+o}function lh(){return j0(12)|0}function kd(r){r=r|0;var t=0,i=0;if(r|0){for(t=e[r>>2]|0;t;)i=e[t+4>>2]|0,r0(t),t=i;r0(r)}}function zl(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;o=mA0(i)|0,i=r+8|0,e[i>>2]=(e[i>>2]|0)+1,i=r+4|0,n=e[i>>2]|0,(t|0)==0|(n|0)==(t|0)?(e[(n|0?n+4|0:r)>>2]=o,e[o+8>>2]=n,n=0):(n=t+4|0,i=e[n>>2]|0,e[n>>2]=o,e[o+8>>2]=t,n=i,i=i+8|0),e[i>>2]=o,e[o+4>>2]=n}function mA0(r){r=r|0;var t=0;return t=j0(12)|0,e[t>>2]=r,t|0}function gA0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(t=e[r>>2]|0,i=t;t;)l=t+4|0,n=e[l>>2]|0,o=t+8|0,e[l>>2]=e[o>>2],e[o>>2]=n,t=n;return o=r+4|0,l=e[o>>2]|0,e[o>>2]=i,e[r>>2]=l,r|0}function yA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[r>>2]|0,(i|0)!=(t|0)&&(o=t+8|0,n=e[o>>2]|0,e[r>>2]=t,e[o>>2]=0,t=r+4|0,r=e[t>>2]|0,e[r+4>>2]=i,e[i+8>>2]=r,e[t>>2]=n,e[n+4>>2]=0)}function CA0(r){r=r|0;var t=0,i=0,n=0;for(i=lh()|0,n=i+4|0,t=0;r=e[r>>2]|0,!!r;)zl(i,t,e[r>>2]|0),t=e[n>>2]|0,r=r+4|0;return i|0}function EA0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(o=r;;){if(a=e[o>>2]|0,!a){c=6;break}if((e[a>>2]|0)==(t|0))break;o=a+4|0}for((c|0)==6&&H0(96270,96277,217,96288),A=a+8|0,o=e[A>>2]|0,l=a+4|0,t=e[l>>2]|0,e[(o|0?o+4|0:r)>>2]=t,s=r+4|0,e[(t|0?t+8|0:s)>>2]=o,t=0,o=r;o=e[o>>2]|0,!!o;){if((e[o>>2]|0)==(i|0)){c=9;break}t=o,o=o+4|0}if((c|0)==9){do if(n)if((o|0)==(e[s>>2]|0)){e[s>>2]=a,e[l>>2]=0,e[A>>2]=o,o=o+4|0;break}else{e[A>>2]=o,o=o+4|0,e[l>>2]=e[o>>2],e[(e[o>>2]|0)+8>>2]=a;break}else if((o|0)==(e[r>>2]|0)){e[r>>2]=a,e[l>>2]=o,e[A>>2]=0,o=o+8|0;break}else{e[t+4>>2]=a,e[A>>2]=t,e[l>>2]=o,o=o+8|0;break}while(0);e[o>>2]=a}}function rc(r){return r=r|0,e[r+8>>2]|0}function BA0(r,t){r=r|0,t=t|0,IA0(r,gA0(t)|0),r0(t)}function IA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[t>>2]|0,i|0&&(n=r+4|0,o=e[n>>2]|0,e[o+4>>2]=i,e[i+8>>2]=o,e[n>>2]=e[t+4>>2],i=r+8|0,e[i>>2]=(e[i>>2]|0)+(e[t+8>>2]|0))}function xA0(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(w=e[t+8>>2]|0,SA0(r,t),c=_A0(w)|0,r=LA0(zA0(c)|0)|0,RA0(w,r),w=GA0(r,w)|0,r=rc(w)|0,A=+ZA0(w),a=(r|0)==1,o=+(r|0),s=o*.15915494309189535*(A+i),l=a?0:s,r=w;r=e[r>>2]|0,!!r;){if(e[(e[(e[(e[r>>2]|0)+16>>2]|0)+112>>2]|0)+4>>2]&8|0){n=4;break}r=r+4|0}for((n|0)==4&&yA0(w,r),i=1/o,n=0,r=w;r=e[r>>2]|0,!!r;)p=(e[r>>2]|0)+16|0,e[(e[(e[p>>2]|0)+112>>2]|0)+16>>2]=n,u[(e[(e[p>>2]|0)+112>>2]|0)+24>>3]=0,o=6.283185307179586*i*+(n|0),v=+ee(+o)*l,p=e[(e[p>>2]|0)+132>>2]|0,u[p>>3]=v,u[p+8>>3]=+le(+o)*l,n=n+1|0,r=r+4|0;return v=a?A*.5:s,u[t+16>>3]=v,u[t+24>>3]=v,u[t+48>>3]=-1,Di(c)|0,w|0}function SA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=e[t+8>>2]|0,i=U0(o)|0;i;){for(n=Me(r,i)|0;n;)(e[(e[(e[(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0)+12>>2]|0)==(t|0)&&gs(o,n,1)|0,n=Qe(r,n)|0;i=X0(o,i)|0}}function _A0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(c=g,g=g+16|0,l=c,o=jA0(r,l)|0,l=e[l>>2]|0,A=v2(l)|0,s=NA0(l)|0,A=A+-3|0,n=0;!((n|0)>=(A|0));){for(a=HA0(s)|0,i=Jr(l,a)|0;i;)t=e[i>>2]&3,r=e[((t|0)==2?i:i+-48|0)+40>>2]|0,(a|0)==(r|0)&&(r=e[((t|0)==3?i:i+48|0)+40>>2]|0),VA0(s,r),i=ot(l,i,a)|0;for(QA0(l,a,o),i=Jr(l,a)|0;i;)t=e[i>>2]&3,r=e[((t|0)==2?i:i+-48|0)+40>>2]|0,(a|0)==(r|0)&&(r=e[((t|0)==3?i:i+48|0)+40>>2]|0),t=(e[r+16>>2]|0)+236|0,e[t>>2]=(e[t>>2]|0)+-1,qZ(s,r),i=ot(l,i,a)|0;zn(l,a)|0,n=n+1|0}return Di(l)|0,OA0(s),g=c,o|0}function zA0(r){r=r|0;var t=0,i=0,n=0,o=0;for(o=g,g=g+144|0,t=o,n=o+8|0,i=e[46933]|0,e[46933]=i+1,e[t>>2]=i,Ke(n,96303,t)|0,n=ji(r,n,1)|0,$e(n,137483,280,1)|0,t=U0(r)|0;t;)ct(n,t,1)|0,i=t+16|0,e[(e[(e[i>>2]|0)+112>>2]|0)+16+12>>2]=0,e[(e[(e[i>>2]|0)+112>>2]|0)+32>>2]=0,i=(e[(e[i>>2]|0)+112>>2]|0)+4|0,e[i>>2]=e[i>>2]&-2,t=X0(r,t)|0;for(t=U0(r)|0;t;)i=e[(e[t+16>>2]|0)+112>>2]|0,e[i+4>>2]&1||(e[i+16>>2]=0,XZ(r,t,n)),t=X0(r,t)|0;return g=o,n|0}function LA0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if((v2(r)|0)!=1){for(i=U0(r)|0;i;){for(t=0,n=Jr(r,i)|0;n;)t=t+1|0,n=ot(r,n,i)|0;(t|0)==1&&MA0(i,i,0,0),i=X0(r,i)|0}for(t=0,o=0,i=U0(r)|0;i;)l=e[(e[i+16>>2]|0)+112>>2]|0,l=(e[l+32>>2]|0)+(e[l+16+12>>2]|0)|0,n=(l|0)>(t|0),t=n?l:t,o=n?i:o,i=X0(r,i)|0;for(t=lh()|0,n=o+16|0,i=(e[(e[n>>2]|0)+112>>2]|0)+16+4|0;i=e[i>>2]|0,(i|0)!=(o|0);)zl(t,0,i),i=e[(e[i+16>>2]|0)+112>>2]|0,l=i+4|0,e[l>>2]=e[l>>2]|16,i=i+16|0;if(zl(t,0,o),l=e[(e[n>>2]|0)+112>>2]|0,r=l+4|0,e[r>>2]=e[r>>2]|16,e[l+32>>2]|0){for(r=lh()|0,i=(e[(e[n>>2]|0)+112>>2]|0)+24|0;i=e[i>>2]|0,(i|0)!=(o|0);)zl(r,0,i),i=e[(e[i+16>>2]|0)+112>>2]|0,l=i+4|0,e[l>>2]=e[l>>2]|16,i=i+16|0;BA0(t,r)}}else t=lh()|0,l=U0(r)|0,zl(t,0,l),l=(e[(e[l+16>>2]|0)+112>>2]|0)+4|0,e[l>>2]=e[l>>2]|16;return t|0}function RA0(r,t){r=r|0,t=t|0;var i=0;for(i=U0(r)|0;i;)e[(e[(e[i+16>>2]|0)+112>>2]|0)+4>>2]&16||DA0(r,i,t),i=X0(r,i)|0}function GA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+16|0,o=l,i=UZ(r,t)|0,e[o>>2]=i;e:do if(i)for(n=0;;){if((n|0)>=10)break e;if(r=WA0(r,t,o)|0,s=i,i=e[o>>2]|0,(s|0)==(i|0)|(i|0)==0)break;n=n+1|0}while(0);return g=l,r|0}function ZA0(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=0;r=e[r>>2]|0,!!r;)o=e[(e[e[(e[(e[r>>2]|0)+16>>2]|0)+112>>2]>>2]|0)+16>>2]|0,i=+u[o+32>>3],i=i>t?i:t,n=+u[o+40>>3],t=n>i?n:i,r=r+4|0;return+t}function UZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(c=JA0()|0,n=U0(t)|0;n;){for(i=Me(t,n)|0;i;)e[e[(e[i+16>>2]|0)+120>>2]>>2]=0,i=Qe(t,i)|0;n=X0(t,n)|0}for(a=1,i=0;s=e[r>>2]|0,!!s;){for(A=e[s>>2]|0,l=Jr(t,A)|0;l;){if(o=l+16|0,(e[e[(e[o>>2]|0)+120>>2]>>2]|0)>0){for(r=oe[e[c>>2]&63](c,0,128)|0;r;)n=e[r+8>>2]|0,(e[e[(e[n+16>>2]|0)+120>>2]>>2]|0)>(e[e[(e[o>>2]|0)+120>>2]>>2]|0)&&(w=e[n>>2]&3,(e[((w|0)==2?n:n+-48|0)+40>>2]|0)!=(A|0))&&(i=i+((e[((w|0)==3?n:n+48|0)+40>>2]|0)!=(A|0)&1)|0),r=oe[e[c>>2]&63](c,r,8)|0;bA0(c,l)}l=ot(t,l,A)|0}for(n=Jr(t,A)|0;n;)r=e[(e[n+16>>2]|0)+120>>2]|0,e[r>>2]|0||(e[r>>2]=a,KA0(c,n)),n=ot(t,n,A)|0;r=s+4|0,a=a+1|0}return $A0(c),i|0}function WA0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;n=e[i>>2]|0,c=U0(t)|0;e:for(;c;){for(a=Jr(t,c)|0;a;){for(l=e[a>>2]&3,o=e[((l|0)==3?a:a+48|0)+40>>2]|0,(o|0)==(c|0)&&(o=e[((l|0)==2?a:a+-48|0)+40>>2]|0),A=0;!((A|0)>=2);){if(s=CA0(r)|0,EA0(r,c,o,A),l=UZ(r,t)|0,(l|0)<(n|0))if(kd(s),l)n=l;else{n=0;break e}else kd(r),r=s;A=A+1|0}a=ot(t,a,c)|0}c=X0(t,c)|0}return e[i>>2]=n,r|0}function DA0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(s=lh()|0,n=Me(r,t)|0;n;)o=n+-48|0,zl(s,0,e[((e[n>>2]&3|0)==2?n:o)+40>>2]|0),o=(e[(e[(e[((e[n>>2]&3|0)==2?n:o)+40>>2]|0)+16>>2]|0)+112>>2]|0)+4|0,e[o>>2]=e[o>>2]|32,n=Qe(r,n)|0;for(n=Xo(r,t)|0;n;)o=n+48|0,zl(s,0,e[((e[n>>2]&3|0)==3?n:o)+40>>2]|0),o=(e[(e[(e[((e[n>>2]&3|0)==3?n:o)+40>>2]|0)+16>>2]|0)+112>>2]|0)+4|0,e[o>>2]=e[o>>2]|32,n=ms(r,n)|0;e:do if((rc(s)|0)>1){for(o=i+4|0,r=i;;){if(n=e[r>>2]|0,!n){l=13;break e}if(r=n+4|0,!!(e[(e[(e[(e[n>>2]|0)+16>>2]|0)+112>>2]|0)+4>>2]&32)&&e[(e[(e[(e[e[((n|0)==(e[o>>2]|0)?i:r)>>2]>>2]|0)+16>>2]|0)+112>>2]|0)+4>>2]&32|0)break}zl(i,n,t)}else l=13;while(0);e:do if((l|0)==13){r:do if((rc(s)|0)>0){for(n=i;;){if(n=e[n>>2]|0,!n)break r;if(e[(e[(e[(e[n>>2]|0)+16>>2]|0)+112>>2]|0)+4>>2]&32|0)break;n=n+4|0}zl(i,n,t);break e}while(0);zl(i,0,t)}while(0);for(n=s;n=e[n>>2]|0,!!n;)i=(e[(e[(e[n>>2]|0)+16>>2]|0)+112>>2]|0)+4|0,e[i>>2]=e[i>>2]&-33,n=n+4|0;kd(s)}function MA0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;for(var o=0,l=0,s=0,A=0,a=0,c=0;l=e[(e[(e[t+16>>2]|0)+112>>2]|0)+16>>2]|0,!!l;){if(s=i+1|0,A=l+16|0,a=e[(e[A>>2]|0)+112>>2]|0,t=a+16|0,o=e[t+12>>2]|0,o){if((o|0)>(i|0)){c=11;break}t=e[t+4>>2]|0,o=t,(t|0)==(n|0)?t=a:(i=a+24|0,e[a+32>>2]|0&&(e[i>>2]|0)==(n|0)||(n=t),e[i>>2]=o,t=e[(e[A>>2]|0)+112>>2]|0,e[t+32>>2]=e[t+16+12>>2],t=e[(e[A>>2]|0)+112>>2]|0),t=t+16|0}e[t+4>>2]=r,e[(e[(e[A>>2]|0)+112>>2]|0)+16+12>>2]=s,t=l,i=s}(c|0)==11&&(e[a+32>>2]|0)<=(i|0)&&(e[a+24>>2]=r,e[(e[(e[A>>2]|0)+112>>2]|0)+32>>2]=s)}function XZ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(l=(e[(e[t+16>>2]|0)+112>>2]|0)+4|0,e[l>>2]=e[l>>2]|1,l=Jr(r,t)|0;l;)o=e[l>>2]&3,n=e[((o|0)==2?l:l+-48|0)+40>>2]|0,(n|0)==(t|0)&&(n=e[((o|0)==3?l:l+48|0)+40>>2]|0),o=n+16|0,e[(e[(e[o>>2]|0)+112>>2]|0)+4>>2]&1||(gs(i,l,1)|0,e[(e[(e[o>>2]|0)+112>>2]|0)+16>>2]=t,XZ(r,n,i)),l=ot(r,l,t)|0}function jA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(a=g,g=g+144|0,A=a+8|0,s=a,i=a+16|0,l=e[46934]|0,e[46934]=l+1,e[s>>2]=l,Ke(i,96312,s)|0,s=ji(r,i,1)|0,$e(s,137483,280,1)|0,l=e[46934]|0,e[46934]=l+1,e[A>>2]=l,Ke(i,96312,A)|0,l=r+24|0,y[A>>0]=y[l>>0]|0,y[A+1>>0]=y[l+1>>0]|0,y[A+2>>0]=y[l+2>>0]|0,y[A+3>>0]=y[l+3>>0]|0,A=w1(i,A,0)|0,i=U0(r)|0;i;)ct(s,i,1)|0,l=ht(A,te(i)|0,1)|0,$e(l,137447,304,1)|0,e[(e[(e[i+16>>2]|0)+112>>2]|0)+16>>2]=l,i=X0(r,i)|0;for(n=U0(r)|0;n;){for(o=e[(e[(e[n+16>>2]|0)+112>>2]|0)+16>>2]|0,l=o+16|0,i=Me(r,n)|0;i;)gs(s,i,1)|0,c=e[(e[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0)+16>>2]|0,w=rr(A,o,c,0,1)|0,$e(w,137460,176,1)|0,e[(e[w+16>>2]|0)+116>>2]=i,w=(e[l>>2]|0)+236|0,e[w>>2]=(e[w>>2]|0)+1,c=(e[c+16>>2]|0)+236|0,e[c>>2]=(e[c>>2]|0)+1,i=Qe(r,i)|0;n=X0(r,n)|0}return e[t>>2]=A,g=a,s|0}function NA0(r){r=r|0;var t=0,i=0;for(i=TA0()|0,t=U0(r)|0;t;)qZ(i,t),t=X0(r,t)|0;return i|0}function QA0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(p=e[(e[t+16>>2]|0)+236>>2]|0,E=p<<2,m=_0(E)|0,E=_0(E)|0,A=0,w=Jr(r,t)|0,v=0,o=0;w;){for(n=e[w>>2]&3,l=e[((n|0)==2?w:w+-48|0)+40>>2]|0,(l|0)==(t|0)&&(l=e[((n|0)==3?w:w+48|0)+40>>2]|0),s=0,c=Jr(r,t)|0,a=A;c;)(c|0)!=(w|0)?(A=e[c>>2]&3,n=e[((A|0)==2?c:c+-48|0)+40>>2]|0,(n|0)==(t|0)&&(n=e[((A|0)==3?c:c+48|0)+40>>2]|0),A=rr(r,l,n,0,0)|0,A?l>>>0>>0?(n=a+1|0,s=A+16|0,A=e[(e[s>>2]|0)+116>>2]|0,A&&(zn(i,A)|0,e[(e[s>>2]|0)+116>>2]=0),s=1):(s=1,n=a):n=a):n=a,c=ot(r,c,t)|0,a=n;s?(e[m+(o<<2)>>2]=l,n=v,o=o+1|0):(e[E+(v<<2)>>2]=l,n=v+1|0),A=a,w=ot(r,w,t)|0,v=n}n=p+-1-A|0;e:do if((n|0)>0){if((n|0)<(v|0))l=0;else{if((n|0)!=(v|0))break;for(o=e[m>>2]|0,l=o+16|0,n=0;;){if((n|0)>=(v|0))break e;p=e[E+(n<<2)>>2]|0,$e(rr(r,o,p,0,1)|0,137460,176,1)|0,i=(e[l>>2]|0)+236|0,e[i>>2]=(e[i>>2]|0)+1,p=(e[p+16>>2]|0)+236|0,e[p>>2]=(e[p>>2]|0)+1,n=n+1|0}}for(;;){if((l|0)>=(v|0)){o=2;break}if(o=l|1,(o|0)>=(v|0)){o=2;break}i=e[E+(l<<2)>>2]|0,p=e[E+(o<<2)>>2]|0,$e(rr(r,i,p,0,1)|0,137460,176,1)|0,i=(e[i+16>>2]|0)+236|0,e[i>>2]=(e[i>>2]|0)+1,p=(e[p+16>>2]|0)+236|0,e[p>>2]=(e[p>>2]|0)+1,l=l+2|0,n=n+-1|0}for(;;){if((n|0)<=0)break e;p=e[E>>2]|0,v=e[E+(o<<2)>>2]|0,$e(rr(r,p,v,0,1)|0,137460,176,1)|0,p=(e[p+16>>2]|0)+236|0,e[p>>2]=(e[p>>2]|0)+1,v=(e[v+16>>2]|0)+236|0,e[v>>2]=(e[v>>2]|0)+1,o=o+1|0,n=n+-1|0}}while(0);r0(E),r0(m)}function TA0(){return at(18240,e[4581]|0)|0}function FA0(r,t,i){return r=r|0,t=t|0,i=i|0,i=_0(16)|0,e[i+12>>2]=0,e[i+8>>2]=e[t+8>>2],i|0}function PA0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function YA0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=e[t>>2]|0,n=e[i>>2]|0,((t|0)<(n|0)?-1:(t|0)>(n|0)&1)|0}function OA0(r){r=r|0,Fr(r)|0}function qZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=g,g=g+16|0,o=i,n=t+16|0,e[o+8>>2]=e[(e[n>>2]|0)+236>>2],r=(oe[e[r>>2]&63](r,o,1)|0)+12|0,e[(e[n>>2]|0)+164>>2]=e[r>>2],e[r>>2]=t,g=i}function VA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;if(s=g,g=g+16|0,l=s,o=t+16|0,e[l+8>>2]=e[(e[o>>2]|0)+236>>2],l=oe[e[r>>2]&63](r,l,4)|0,l||H0(96322,96325,107,96335),n=l+12|0,i=e[n>>2]|0,(i|0)==(t|0))t=e[(e[o>>2]|0)+164>>2]|0,e[n>>2]=t,t||oe[e[r>>2]&63](r,l,2)|0;else{do r=(e[i+16>>2]|0)+164|0,i=e[r>>2]|0,n=(i|0)!=0;while(n&(i|0)!=(t|0));n&&(e[r>>2]=e[(e[i+16>>2]|0)+164>>2])}g=s}function HA0(r){r=r|0;var t=0,i=0,n=0,o=0;return i=oe[e[r>>2]&63](r,0,128)|0,i?(o=i+12|0,t=e[o>>2]|0,n=e[(e[t+16>>2]|0)+164>>2]|0,e[o>>2]=n,n||oe[e[r>>2]&63](r,i,2)|0):t=0,t|0}function JA0(){return at(18276,e[4581]|0)|0}function UA0(r,t,i){return r=r|0,t=t|0,i=i|0,i=_0(12)|0,e[i+8>>2]=e[t+8>>2],i|0}function XA0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function qA0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=e[t>>2]|0,n=e[i>>2]|0,(t>>>0>n>>>0?1:(t>>>0>>0)<<31>>31)|0}function $A0(r){r=r|0,Fr(r)|0}function KA0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n+8>>2]=t,oe[e[r>>2]&63](r,n,1)|0,g=i}function bA0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n+8>>2]=t,oe[e[r>>2]&63](r,n,2)|0,g=i}function Fr(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;do if(r|0&&(e[r+24>>2]|0)<=0){if(s=e[r+4>>2]|0,l=s+32|0,t=e[l>>2]|0,t){if(t=e2[t&127](r,2,0,s)|0,(t|0)<0){t=-1;break}}else t=0;if(e[r+28>>2]|0&&mA(r,0)|0,o=(t|0)==0,o){if(oe[e[e[r+16>>2]>>2]&63](r,0,64)|0,(sn(r)|0)>0){t=-1;break}i=r+8|0,t=e[i>>2]|0,(e[t+12>>2]|0)>0?(n=r+12|0,e2[e[n>>2]&127](r,e[t+8>>2]|0,0,s)|0,t=e[i>>2]|0):n=r+12|0,e2[e[n>>2]&127](r,t,0,s)|0}t=e[r+20>>2]|0,t?o&(t|0)==1&&e2[e[r+12>>2]&127](r,r,0,s)|0:r0(r),t=e[l>>2]|0,t&&e2[t&127](r,6,0,s)|0,t=0}else t=-1;while(0);return t|0}function ks(r){r=r|0;var t=0,i=0,n=0;n=r+8|0,t=e[n>>2]|0,i=e[t>>2]|0;e:do if(i&12)r=e[t+4>>2]|0;else{if(!(i&3)){i=t+8|0,r=e[i>>2]|0,e[i>>2]=0;break}for(r=Mt(r)|0,i=e[n>>2]|0,t=e[i+8>>2]|0,i=t+(e[i+12>>2]<<2)|0;;){if(t>>>0>=i>>>0)break e;e[t>>2]=0,t=t+4|0}}while(0);return n=e[n>>2]|0,e[n>>2]=e[n>>2]&-4097,e[n+16>>2]=0,e[n+4>>2]=0,r|0}function Mt(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(l=r+8|0,r=e[l>>2]|0,t=e[r>>2]|0,t&4096)r=e[r+4>>2]|0;else{e:do if(t&3)for(n=e[r+8>>2]|0,o=n+(e[r+12>>2]<<2)|0,t=0,r=0;;){if(n>>>0>=o>>>0)break e;if(i=e[n>>2]|0,i){for(t?e[t>>2]=i:(t=i,r=i);i=e[t>>2]|0,i;)t=i;e[n>>2]=t}n=n+4|0}else{if(t&112|0){r=e[r+8>>2]|0;break}if(r=e[r+4>>2]|0,!r)r=0;else{for(;;){if(t=r+4|0,i=e[t>>2]|0,!i){n=r;break}e[t>>2]=e[i>>2],e[i>>2]=r,r=i}for(;;){if(t=e[n>>2]|0,!t)break e;if(i=e[t+4>>2]|0,!i){n=t;continue}for(;e[t+4>>2]=e[i>>2],e[i>>2]=t,t=e[i+4>>2]|0,t;)o=i,i=t,t=o;e[n>>2]=i,n=i}}}while(0);l=e[l>>2]|0,e[l+4>>2]=r,e[l>>2]=e[l>>2]|4096}return r|0}function eu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;z=r+8|0,e[e[z>>2]>>2]&4096|0&&c1(r,0)|0,x=e[r+4>>2]|0,p=e[x>>2]|0,v=e[x+4>>2]|0,B=x+8|0,L=e[B>>2]|0,m=e[x+20>>2]|0,E=r+20|0,o=e[E>>2]&-32769,e[E>>2]=o;e:do if(t){if(i&2049|0){if(l=x+12|0,n=e[l>>2]|0,s=(i&1|0)==0,s|(n|0)==0)o=t;else if(n=oe[n&63](r,t,x)|0,n)o=n;else{n=0;break}do if((L|0)>-1)s=o+L|0;else{if(n=e2[e[r+12>>2]&127](r,0,12,x)|0,n|0){e[n+8>>2]=o,s=n;break}if(!(e[l>>2]|0)){n=0;break e}if(n=e[x+16>>2]|0,s|(n|0)==0){n=0;break e}cr[n&127](r,o,x),n=0;break e}while(0);l=e[z>>2]|0,n=e[l>>2]|0;do if(n&128)i&8192?_=51:_=48;else{if(!(n&16))if(n&32){_=48;break}else{_=51;break}if(o=e[l+4>>2]|0,n=(o|0)!=0,i&8192){if(!n){_=51;break}if(n=e[o>>2]|0,!n){_=51;break}e[s>>2]=n,e[n+4>>2]=s,e[s+4>>2]=o,e[o>>2]=s;break}else{if(!n){_=48;break}if((o|0)==(e[l+8>>2]|0)){_=48;break}x=o+4|0,r=e[x>>2]|0,e[s+4>>2]=r,e[r>>2]=s,e[s>>2]=o,e[x>>2]=s;break}}while(0);if((_|0)==48?(n=e[l+8>>2]|0,e[s>>2]=n,n?e[s+4>>2]=e[n+4>>2]:n=s,e[n+4>>2]=s,e[(e[z>>2]|0)+8>>2]=s):(_|0)==51&&(o=l+8|0,n=e[o>>2]|0,n?(x=n+4|0,e[e[x>>2]>>2]=s,e[s+4>>2]=e[x>>2]):(e[o>>2]=s,n=s),e[n+4>>2]=s,e[s>>2]=0),n=e[z>>2]|0,o=n+16|0,l=e[o>>2]|0,(l|0)>-1&&(e[o>>2]=l+1),e[n+4>>2]=s,(L|0)<0){n=e[s+8>>2]|0;break}else{n=s+(0-L)|0;break}}s=e[z>>2]|0;do if(i&512)_=68;else{if(n=e[s+4>>2]|0,n|0&&((L|0)<0?l=e[n+8>>2]|0:l=n+(0-L)|0,(l|0)==(t|0)))break;n=t+p|0,(v|0)<0?(t=e[n>>2]|0,_=68):(t=n,_=68)}while(0);if((_|0)==68){l=(L|0)<0,A=(v|0)<0,a=(m|0)==0,c=(v|0)<1,w=0-L|0,n=s+8|0;do{if(n=e[n>>2]|0,!n){n=0;break e}l?o=e[n+8>>2]|0:o=n+w|0,o=o+p|0,A&&(o=e[o>>2]|0);do if(a)if(c){o=ge(t,o)|0;break}else{o=Q1(t,o,v)|0;break}else o=e2[m&127](r,t,o,x)|0;while(0)}while(o|0);o=e[E>>2]|0}if(e[E>>2]=o|32768,i&4098)s=n,_=84;else{do if(i&8)o=e[z>>2]|0,_=108;else{if(o=e[z>>2]|0,!(i&16)){e[o+4>>2]=n;break}if((n|0)==(e[o+8>>2]|0)){e[o+4>>2]=0,n=0;break e}else{n=n+4|0,_=108;break}}while(0);if((_|0)==108&&(n=e[n>>2]|0,e[o+4>>2]=n,!n)){n=0;break}if((L|0)<0){n=e[n+8>>2]|0;break}else{n=n+(0-L)|0;break}}}else{if(i&384|0){if(o=e[z>>2]|0,n=e[o+8>>2]|0,!n){n=0;break}if(i&256){if(n=e[n+4>>2]|0,e[o+4>>2]=n,!n){n=0;break}}else e[o+4>>2]=n;if((L|0)<0){n=e[n+8>>2]|0;break}else{n=n+(0-L)|0;break}}if(i&4098|0){if(n=e[z>>2]|0,e[n>>2]&144|0){n=0;break}if(n=e[n+8>>2]|0,n){s=n,_=84;break}else{n=0;break}}if(!(i&64))n=0;else{A=x+16|0;r:do if((e[A>>2]|0)!=0|(L|0)<0)for(a=r+12|0,c=(L|0)<0,o=0-L|0,n=e[(e[z>>2]|0)+8>>2]|0;;){if(!n)break r;if(l=e[n>>2]|0,s=e[A>>2]|0,s|0&&(c?t=e[n+8>>2]|0:t=n+o|0,cr[s&127](r,t,x)),(e[B>>2]|0)>=0){n=l;continue}e2[e[a>>2]&127](r,n,0,x)|0,n=l}while(0);n=e[z>>2]|0,e[n+4>>2]=0,e[n+8>>2]=0,e[(e[z>>2]|0)+16>>2]=0,n=0}}while(0);return(_|0)==84&&(n=e[s>>2]|0,n&&(e[n+4>>2]=e[s+4>>2],n=e[s>>2]|0),o=(e[z>>2]|0)+8|0,l=e[o>>2]|0,(s|0)==(l|0)?(e[o>>2]=n,n=e[(e[z>>2]|0)+8>>2]|0,n|0&&(e[n+4>>2]=e[s+4>>2])):(o=s+4|0,e[e[o>>2]>>2]=n,n=l+4|0,(s|0)==(e[n>>2]|0)&&(e[n>>2]=e[o>>2])),n=e[z>>2]|0,o=n+4|0,(s|0)==(e[o>>2]|0)?l=e[s>>2]|0:l=0,e[o>>2]=l,_=n+16|0,e[_>>2]=(e[_>>2]|0)+-1,(L|0)<0?n=e[s+8>>2]|0:n=s+(0-L)|0,o=e[x+16>>2]|0,(i&2|0)==0|(o|0)==0||cr[o&127](r,n,x),(e[B>>2]|0)<0&&e2[e[r+12>>2]&127](r,s,0,x)|0),n|0}function at(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+16|0,l=a;e:do if((r|0)!=0&(t|0)!=0&&(o=Te(40)|0,(o|0)!=0)){e[o>>2]=0,e[o+16>>2]=0,e[o+4>>2]=0,sh(o,r,0)|0,i=o+20|0,A=r+32|0,e[i>>2]=0,e[i+4>>2]=0,e[i+8>>2]=0,e[i+12>>2]=0,e[i+16>>2]=0,i=e[A>>2]|0;do if(i)if(e[l>>2]=0,i=e2[i&127](o,1,l,r)|0,(i|0)>=0)if(i){if(n=e[l>>2]|0,n|0)if(e[t+4>>2]&e[n>>2]){i=o;break}else{i=o,s=12;break}if(i=r+28|0,!(e[i>>2]|0))i=o,s=12;else{if(r0(o),n=e2[e[i>>2]&127](0,0,40,r)|0,!n){i=0;break e}e[n>>2]=0,e[n+16>>2]=0,e[n+4>>2]=0,sh(n,r,0)|0,e[n+20>>2]=1,e[n+24>>2]=0,e[n+32>>2]=0,e[n+28>>2]=0,i=n,o=n,s=11}}else i=o,s=11;else i=o,s=12;else i=o,s=11;while(0);if((s|0)==11&&(n=e2[e[i+12>>2]&127](i,0,28,r)|0,e[l>>2]=n,n?(e[n>>2]=e[t+4>>2],l=n+4|0,e[l>>2]=0,e[l+4>>2]=0,e[l+8>>2]=0,e[l+12>>2]=0,e[l+16>>2]=0,e[l+20>>2]=0):(i=o,s=12)),(s|0)==12){r0(i),i=0;break}e[i+8>>2]=n,e[i>>2]=e[t>>2],e[i+16>>2]=t,n=e[A>>2]|0,n&&e2[n&127](i,5,o,r)|0}else i=0;while(0);return g=a,i|0}function c1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;o=e[e[r+16>>2]>>2]|0,a=r+8|0,l=e[a>>2]|0,s=e[l>>2]|0,i=s&4096,t?e[l+16>>2]|0?t=-1:(n=0,A=5):i?(n=i,t=e[l+4>>2]|0,A=5):t=-1;e:do if((A|0)==5){if(e[l>>2]=s&-4097,!(s&3)){if(i=l+4|0,s&12||(e[i>>2]=0,i=l+8|0),e[i>>2]=t,n|0){t=0;break}e[(e[a>>2]|0)+16>>2]=-1,t=0;break}if(e[l+4>>2]=0,!n)for(e[l+16>>2]=0;;){if(!t){t=0;break e}a=e[t>>2]|0,oe[o&63](r,t,32)|0,t=a}for(n=e[l+8>>2]|0,r=n+(e[l+12>>2]<<2)|0;;){if(n>>>0>=r>>>0){t=0;break e}i=e[n>>2]|0,i&&(e[n>>2]=t,t=e[i>>2]|0,e[i>>2]=0),n=n+4|0}}while(0);return t|0}function sn(r){r=r|0;var t=0,i=0,n=0;t=r+8|0,i=e[t>>2]|0,e[i>>2]&4096&&(c1(r,0)|0,i=e[t>>2]|0),n=i+16|0,r=e[n>>2]|0;do if((r|0)<0){if(t=e[i>>2]|0,t&12|0){r=E9(e[i+4>>2]|0)|0,e[n>>2]=r;break}if(t&112){for(r=0,t=i+8|0;t=e[t>>2]|0,!!t;)r=r+1|0;e[n>>2]=r}}while(0);return r|0}function E9(r){r=r|0;var t=0;return r?(t=E9(e[r+4>>2]|0)|0,t+1+(E9(e[r>>2]|0)|0)|0):0}function ru0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0;t0=g,g=g+128|0,T=t0+120|0,B=t0,q=r+8|0,n=e[q>>2]|0,e[n>>2]&4096&&(c1(r,0)|0,n=e[q>>2]|0),F=e[r+4>>2]|0,D=e[F>>2]|0,P=e[F+4>>2]|0,W=F+8|0,J=e[W>>2]|0,U=e[F+20>>2]|0,z=r+20|0,e[z>>2]=e[z>>2]&-32769,s=e[n+4>>2]|0;e:do if(t){N=r+16|0,_=(i&4098|0)==0;r:do if(_|(e[(e[N>>2]|0)+4>>2]|0)!=8)L=45;else{for(c=(P|0)<0,n=t+D|0,c&&(n=e[n>>2]|0),A=(U|0)==0,a=(P|0)<1,l=oe[e[r>>2]&63](r,t,4)|0;;){if(!l){L=45;break r}o=l+D|0,c&&(o=e[o>>2]|0);do if(A)if(a){o=ge(n,o)|0;break}else{o=Q1(n,o,P)|0;break}else o=e2[U&127](r,n,o,F)|0;while(0);if(o|0){L=45;break r}if((l|0)==(t|0))break;l=oe[e[r>>2]&63](r,l,8)|0}s=e[(e[q>>2]|0)+4>>2]|0,e[T>>2]=e[s+4>>2],e[T+4>>2]=e[s>>2],n=T,L=180}while(0);r:do if((L|0)==45){do if(i&2565)i&512?o=t:(n=t+D|0,(P|0)<0?o=e[n>>2]|0:o=n),s?(l=t,n=0,x=o,a=0,L=64):(n=0,l=t,o=T,s=T,L=198);else{if(i&32|0)if((J|0)<0?l=e[t+8>>2]|0:l=t+(0-J)|0,n=l+D|0,(P|0)<0?o=e[n>>2]|0:o=n,s){n=t,x=o,a=t,L=64;break}else{n=t,o=T,s=T,L=198;break}s?((J|0)<0?n=e[s+8>>2]|0:n=s+(0-J)|0,(n|0)!=(t|0)?(o=t+D|0,(P|0)<0?(l=t,n=0,x=e[o>>2]|0,a=0,L=64):(l=t,n=0,x=o,a=0,L=64)):(n=0,l=t,o=T,c=T,a=0,L=141)):(n=0,l=t,o=T,s=T,L=198)}while(0);t:do if((L|0)==64){i:do if((e[(e[N>>2]|0)+4>>2]|0)==4&&(E=e[(e[q>>2]|0)+24>>2]|0,!((i&516|0)==0|(E|0)==0))){for(t=(J|0)<0,w=(P|0)<0,p=(U|0)==0,v=(P|0)<1,m=0-J|0,c=0,o=s;;){if((c|0)>=(E|0)){o=T,c=T,w=0;break}t?A=e[o+8>>2]|0:A=o+m|0,A=A+D|0,w&&(A=e[A>>2]|0);do if(p)if(v){A=ge(x,A)|0;break}else{A=Q1(x,A,P)|0;break}else A=e2[U&127](r,x,A,F)|0;while(0);if(!A){L=80;break}if(e[B+(c<<2)>>2]=A,o=e[((A|0)<0?o+4|0:o)>>2]|0,o)c=c+1|0;else{n=0;break e}}if((L|0)==80)if(t){n=e[o+8>>2]|0;break e}else{n=o+m|0;break e}for(;;){if((w|0)>=(E|0))break i;do if((e[B+(w<<2)>>2]|0)<0)if(A=s+4|0,t=e[A>>2]|0,(e[B+((w|1)<<2)>>2]|0)<0){e[A>>2]=e[t>>2],e[t>>2]=s,e[o+4>>2]=t,o=t,s=c,A=t+4|0;break}else{e[c>>2]=t,e[o+4>>2]=s,o=s,s=t,A=t;break}else if(A=e[s>>2]|0,(e[B+((w|1)<<2)>>2]|0)>0){m=A+4|0,e[s>>2]=e[m>>2],e[m>>2]=s,e[c>>2]=A,s=A;break}else{e[o+4>>2]=A,e[c>>2]=s,o=A,A=A+4|0;break}while(0);c=s,w=w+2|0,s=e[A>>2]|0}}else o=T,c=T;while(0);p=(J|0)<0,v=(P|0)<0,m=(U|0)!=0,E=(P|0)<1,B=0-J|0,A=s;i:for(;;){for(s=A;;){p?A=e[s+8>>2]|0:A=s+B|0,A=A+D|0,v&&(A=e[A>>2]|0);do if(m)A=e2[U&127](r,x,A,F)|0;else if(E){A=ge(x,A)|0;break}else{A=Q1(x,A,P)|0;break}while(0);if(!A){L=140;break i}if((A|0)>=0)break;if(t=s+4|0,w=e[t>>2]|0,!w){L=121;break i}p?A=e[w+8>>2]|0:A=w+B|0,A=A+D|0,v&&(A=e[A>>2]|0);do if(m)A=e2[U&127](r,x,A,F)|0;else if(E){A=ge(x,A)|0;break}else{A=Q1(x,A,P)|0;break}while(0);if((A|0)>=0){L=118;break}if(e[t>>2]=e[w>>2],e[w>>2]=s,e[o+4>>2]=w,s=e[w+4>>2]|0,s)o=w;else{o=w,s=c,L=198;break t}}if((L|0)==118){if(L=0,!A){L=119;break}if(e[c>>2]=w,e[o+4>>2]=s,A=e[w>>2]|0,A){o=s,c=w;continue}else{o=s,s=w,L=198;break t}}if(t=e[s>>2]|0,!t){L=139;break}p?A=e[t+8>>2]|0:A=t+B|0,A=A+D|0,v&&(A=e[A>>2]|0);do if(m)A=e2[U&127](r,x,A,F)|0;else if(E){A=ge(x,A)|0;break}else{A=Q1(x,A,P)|0;break}while(0);if((A|0)>0)if(A=t+4|0,e[s>>2]=e[A>>2],e[A>>2]=s,e[c>>2]=t,A=e[t>>2]|0,A){c=t;continue}else{s=t,L=198;break t}if(!A){L=137;break}if(e[o+4>>2]=t,e[c>>2]=s,A=e[t+4>>2]|0,A)o=t,c=s;else{o=t,L=198;break t}}if((L|0)==119){e[o+4>>2]=s,o=s,s=w,L=141;break}else if((L|0)==121){e[o+4>>2]=s,o=s,s=c,L=198;break}else if((L|0)==137){e[c>>2]=s,c=s,s=t,L=141;break}else if((L|0)==139){e[c>>2]=s,L=198;break}else if((L|0)==140)if(s){L=141;break}else{s=c,L=198;break}}while(0);do if((L|0)==141)if(e[z>>2]=e[z>>2]|32768,A=s+4|0,e[c>>2]=e[A>>2],e[o+4>>2]=e[s>>2],i&516)n=s;else{if(i&8|0){e[A>>2]=e[T>>2],e[s>>2]=0,e[T>>2]=s,L=169;break}if(i&16|0){L=T+4|0,e[s>>2]=e[L>>2],e[A>>2]=0,e[L>>2]=s,L=175;break}if(!_){n=o,L=180;break r}if(i&2049|0){if(e[(e[N>>2]|0)+4>>2]&4|0){n=s;break}e[A>>2]=0,n=T+4|0,e[s>>2]=e[n>>2],e[n>>2]=s,n=s,L=205;break}if(!(i&32)){n=0;break e}if(!(e[(e[N>>2]|0)+4>>2]&4)){e[n+4>>2]=0,W=T+4|0,e[n>>2]=e[W>>2],e[W>>2]=a,n=(e[q>>2]|0)+16|0,e[n>>2]=(e[n>>2]|0)+1,n=s;break}n=e[F+16>>2]|0,n|0&&cr[n&127](r,l,F),(e[W>>2]|0)<0&&e2[e[r+12>>2]&127](r,a,0,F)|0,n=s}else if((L|0)==198)if(e[o+4>>2]=0,e[s>>2]=0,i&8)L=169;else if(i&16)L=175;else{if(i&516|0){n=o;break r}if(i&2049)n=0,L=205;else{if(!(i&32)){l=0,n=o;break r}W=(e[q>>2]|0)+16|0,e[W>>2]=(e[W>>2]|0)+1}}while(0);if((L|0)==169){if(s=T+4|0,n=e[s>>2]|0,!n){n=o;break}for(;o=n+4|0,l=e[o>>2]|0,!!l;)e[o>>2]=e[l>>2],e[l>>2]=n,n=l;e[s>>2]=e[n>>2]}else if((L|0)==175){if(n=e[T>>2]|0,!n){n=o;break}for(;o=e[n>>2]|0,!!o;)W=o+4|0,e[n>>2]=e[W>>2],e[W>>2]=n,n=o;e[T>>2]=e[n+4>>2]}else if((L|0)==205){A=F+12|0,s=e[A>>2]|0,a=(i&1|0)==0,a|(s|0)==0||(l=oe[s&63](r,l,F)|0);do if(l){if((J|0)>-1){n=l+J|0,L=215;break}if(n=e2[e[r+12>>2]&127](r,0,12,F)|0,n|0){e[n+8>>2]=l;break}e[A>>2]|0&&(G=e[F+16>>2]|0,!(a|(G|0)==0))&&cr[G&127](r,l,F),L=215}else L=215;while(0);if((L|0)==215&&!n){n=o;break}o=(e[q>>2]|0)+16|0,l=e[o>>2]|0,(l|0)>-1&&(e[o>>2]=l+1)}e[n+4>>2]=e[T>>2],e[n>>2]=e[T+4>>2];t:do if(!(!(i&516|0)||!(e[(e[N>>2]|0)+4>>2]&8|0)))for(w=(J|0)<0,w?o=e[n+8>>2]|0:o=n+(0-J)|0,p=(P|0)<0,o=o+D|0,p&&(o=e[o>>2]|0),a=(U|0)==0,c=(P|0)<1,t=0-J|0;;){if(A=n+4|0,l=e[A>>2]|0,!l)break t;for(;s=e[l>>2]|0,!!s;)T=s+4|0,e[l>>2]=e[T>>2],e[T>>2]=l,l=s;e[A>>2]=l,w?s=e[l+8>>2]|0:s=l+t|0,s=s+D|0,p&&(s=e[s>>2]|0);do if(a)if(c){s=ge(o,s)|0;break}else{s=Q1(o,s,P)|0;break}else s=e2[U&127](r,o,s,F)|0;while(0);if(s|0)break t;e[A>>2]=e[l>>2],e[l>>2]=n,n=l}while(0);if(e[(e[q>>2]|0)+4>>2]=n,(J|0)<0){n=e[n+8>>2]|0;break e}else{n=n+(0-J)|0;break e}}while(0);(L|0)==180&&((J|0)<0?l=e[s+8>>2]|0:l=s+(0-J)|0,o=e[F+16>>2]|0,(i&2|0)==0|(o|0)==0||cr[o&127](r,l,F),(e[W>>2]|0)<0&&e2[e[r+12>>2]&127](r,s,0,F)|0,r=(e[q>>2]|0)+16|0,F=e[r>>2]|0,e[r>>2]=(F|0)<1?-1:F+-1|0);do o=n+4|0,n=e[o>>2]|0;while(n|0);e[o>>2]=e[T>>2],e[(e[q>>2]|0)+4>>2]=e[T+4>>2],n=i&2|0?l:0}else if((i&448|0)==0|(s|0)==0)n=0;else{if(!(i&64)){r:do if(i&256)for(n=s;;){if(o=e[n>>2]|0,!o)break r;r=o+4|0,e[n>>2]=e[r>>2],e[r>>2]=n,n=o}else for(n=s;;){if(o=n+4|0,l=e[o>>2]|0,!l)break r;e[o>>2]=e[l>>2],e[l>>2]=n,n=l}while(0);if(e[(e[q>>2]|0)+4>>2]=n,(J|0)<0){n=e[n+8>>2]|0;break}else{n=n+(0-J)|0;break}}if(t=F+16|0,(e[t>>2]|0)!=0|(J|0)<0){a=r+12|0,c=(J|0)<0,A=0-J|0,n=s;do{for(s=n;n=s+4|0,o=e[n>>2]|0,!!o;)e[n>>2]=e[o>>2],e[o>>2]=s,s=o;n=e[s>>2]|0,o=e[t>>2]|0,o|0&&(c?l=e[s+8>>2]|0:l=s+A|0,cr[o&127](r,l,F)),(e[W>>2]|0)<0&&e2[e[a>>2]&127](r,s,0,F)|0}while(n|0);n=e[q>>2]|0}e[n+16>>2]=0,e[n+4>>2]=0,n=0}while(0);return g=t0,n|0}function mA(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;e[e[r+8>>2]>>2]&4096|0&&c1(r,0)|0,o=(t|0)!=0,o?(e[e[t+8>>2]>>2]&4096|0&&c1(t,0)|0,(e[t+16>>2]|0)==(e[r+16>>2]|0)?(i=t,n=7):t=0):(i=0,n=7);e:do if((n|0)==7){for(;i;){if((i|0)==(r|0)){t=0;break e}i=e[i+28>>2]|0,n=7}if(i=r+28|0,n=e[i>>2]|0,n|0&&(l=n+24|0,e[l>>2]=(e[l>>2]|0)+-1),e[r+32>>2]=0,e[i>>2]=0,o){e[i>>2]=t,e[r>>2]=28,l=t+24|0,e[l>>2]=(e[l>>2]|0)+1;break}else{e[r>>2]=e[e[r+16>>2]>>2],t=n;break}}while(0);return t|0}function tu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;e:do if(i&99)n=oe[e[e[r+16>>2]>>2]&63](r,t,i)|0;else{if(!(i&516|0)&&(n=e[(e[r+16>>2]|0)+4>>2]|0,!((i&384|0)!=0&(n&12|0)==0))){if(n&12|0){if(!(i&408)){n=0;break}for(m=(i&136|0)!=0,E=(i&272|0)!=0,w=0,o=0,n=0,v=r;v;){p=oe[e[e[v+16>>2]>>2]&63](v,t,i)|0;do if(!p)l=w;else{if(s=e[v+4>>2]|0,A=e[s+4>>2]|0,a=e[s+20>>2]|0,l=p+(e[s>>2]|0)|0,(A|0)<0?c=e[l>>2]|0:c=l,n|0){do if(a)l=e2[a&127](v,c,o,s)|0;else if((A|0)<1){l=ge(c,o)|0;break}else{l=Q1(c,o,A)|0;break}while(0);if(!(m&(l|0)<0|E&(l|0)>0)){l=w;break}}l=v,o=c,n=p}while(0);w=l,v=e[v+28>>2]|0}e[r+32>>2]=w;break}if(!(i&24)){n=0;break}a=r+32|0,o=e[a>>2]|0,o?(n=e[(e[o+4>>2]|0)+8>>2]|0,l=e[(e[o+8>>2]|0)+4>>2]|0,(n|0)<0?n=e[l+8>>2]|0:n=l+(0-n)|0,(n|0)==(t|0)?n=t:(o=r,s=32)):(o=r,s=32);do if((s|0)==32){for(;;){if(!o){s=33;break}if(n=oe[e[e[o+16>>2]>>2]&63](o,t,4)|0,n|0){s=36;break}o=e[o+28>>2]|0,s=32}if((s|0)==33){e[a>>2]=0,n=0;break e}else if((s|0)==36){e[a>>2]=o;break}}while(0);for(A=(i<<4&128^128)+128|0,n=oe[e[e[o+16>>2]>>2]&63](o,n,i)|0;;){for(s=o+16|0;n;){l=r;for(;;){if((l|0)==(o|0))break e;if(oe[e[e[l+16>>2]>>2]&63](l,n,4)|0)break;l=e[l+28>>2]|0}n=oe[e[e[s>>2]>>2]&63](o,n,i)|0}if(o=e[o+28>>2]|0,e[a>>2]=o,!o){n=0;break e}n=oe[e[e[o+16>>2]>>2]&63](o,0,A)|0}}else o=r;for(;;){if(!o){o=0,n=0;break}if(n=oe[e[e[o+16>>2]>>2]&63](o,t,i)|0,n|0)break;o=e[o+28>>2]|0}e[r+32>>2]=o}while(0);return n|0}function iu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=r+32|0,o=oe[e[r>>2]&63](r,0,128)|0;do{if(!o){n=0;break}s=e[l>>2]|0,n=o,o=oe[e[r>>2]&63](r,o,8)|0,n=oe[t&63](s|0?s:r,n,i)|0}while((n|0)>=0);return n|0}function sh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;o=r+4|0,v=e[o>>2]|0;e:do if(v)if(t){if(p=e[e[r+16>>2]>>2]|0,l=r+8|0,e[e[l>>2]>>2]&4096|0&&c1(r,0)|0,n=e[v+32>>2]|0,n|0&&(e2[n&127](r,3,t,v)|0)<0){t=0;break}if(e[o>>2]=t,n=e[t+28>>2]|0,e[r+12>>2]=n|0?n:52,n=e[e[l>>2]>>2]|0,n&112)t=v;else{do if(n&2){if(i&2|0){t=v;break e}}else if(n&3)if((i&3|0)==3){t=v;break e}else break;else if(i&1){t=v;break e}else break;while(0);s=Mt(r)|0,n=e[l>>2]|0,w=e[n>>2]|0,e[n>>2]=w&-4097,e[n+4>>2]=0,e[n+16>>2]=0;r:do if(w&3|0)for(w=e[n+8>>2]|0,o=w+(e[n+12>>2]<<2)|0,n=w;;){if(n>>>0>=o>>>0)break r;e[n>>2]=0,n=n+4|0}while(0);for(A=(i&2|0)==0,a=t+8|0,c=t+4|0,w=t+24|0;;){if(!s){t=v;break e}i=e[s>>2]|0,A&&(n=e[a>>2]|0,(n|0)<0?n=e[s+8>>2]|0:n=s+(0-n)|0,l=e[c>>2]|0,n=n+(e[t>>2]|0)|0,(l|0)<0&&(n=e[n>>2]|0),o=e[w>>2]|0,o?n=oe[o&63](r,n,t)|0:n=ou0(0,n,l)|0,e[s+4>>2]=n),oe[p&63](r,s,32)|0,s=i}}}else t=v;else e[o>>2]=t,v=e[t+28>>2]|0,e[r+12>>2]=v|0?v:52;while(0);return t|0}function nu0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,r=(i|0)==0;do if(!t)r?r=0:r=Te(i)|0;else if(r){r0(t),r=0;break}else{r=O2(t,i)|0;break}while(0);return r|0}function ou0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(o=t,(i|0)>=1){for(l=t+i+-1|0,o=(l>>>0>>0?t:l)+(1-o)&-2,n=t;!(n>>>0>=l>>>0);)r=N0(((s0[n>>0]|0)<<8)+r+(s0[n+1>>0]|0)|0,17109811)|0,n=n+2|0;n=t+o|0,n>>>0>l>>>0?t=i:(t=i,r=N0(((s0[n>>0]|0)<<8)+r|0,17109811)|0)}else{for(;n=y[t>>0]|0,!!(n<<24>>24);)l=y[t+1>>0]|0,i=N0(((n&255)<<8)+r+(l&255)|0,17109811)|0,r=i,t=t+(l<<24>>24?2:1)|0;t=t-o|0}return N0(r+t|0,17109811)|0}function lu0(r){r=r|0;var t=0;return t=e[46935]|0,e[46935]=r,t|0}function su0(r){r=r|0;var t=0;return t=e[46936]|0,e[46936]=r,t|0}function $0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=$Z(r,t,o)|0,g=n,i|0}function $Z(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;l=g,g=g+16|0,n=l,o=(r|0)==3,s=o?e[46938]|0:(r|0)==2?1:r,e[46938]=s,A=e[46939]|0,e[46939]=A>>>0>s>>>0?A:s;do if(s>>>0<(e[46936]|0)>>>0){if(r=e[46937]|0,!r&&(r=pI0()|0,e[46937]=r,!r)){r=1;break}o||(kI0(r)|0,r=e[46937]|0),Rk(r,t,i)|0,r=0}else{if(e[46935]|0){Au0(r,t,i),r=0;break}o?r=e[15712]|0:(A=e[15712]|0,e[n>>2]=(r|0)==1?96349:96355,A2(A,96363,n)|0,r=A),Rk(r,t,i)|0,r=0}while(0);return g=l,r|0}function Au0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;!(e[46940]|0)&&(o=Te(e[4590]|0)|0,e[46940]=o,(o|0)==0)?Bi(96368,e[15712]|0)|0:n=4;do if((n|0)==4){for((r|0)!=3&&(nr[e[46935]&63]((r|0)==1?96349:96355)|0,nr[e[46935]&63](97027)|0);;){if(r=Lk(e[46940]|0,e[4590]|0,t,i)|0,n=e[4590]|0,(r|0)>-1&(r|0)<(n|0)){n=7;break}if(n=n<<1,o=r+1|0,o=(n|0)>(o|0)?n:o,e[4590]=o,!(O2(e[46940]|0,o)|0)){n=9;break}}if((n|0)==7){nr[e[46935]&63](e[46940]|0)|0;break}else if((n|0)==9){Bi(96368,e[15712]|0)|0;break}}while(0)}function vd(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,$Z(1,r,n)|0,g=i}function Ot(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;i?n=0:(i=t|0?t:1024,t=i,i=Te(i)|0,n=1),e[r+12>>2]=n,e[r>>2]=i,e[r+8>>2]=i+t,e[r+4>>2]=i,y[i>>0]=0}function Xe(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;return s=r+8|0,o=e[r>>2]|0,l=(e[s>>2]|0)-o|0,n=l<<1,l=l+t|0,n=l>>>0>n>>>0?l:n,l=r+4|0,t=o,o=(e[l>>2]|0)-o|0,i=r+12|0,e[i>>2]|0?t=O2(t,n)|0:(A=Te(n)|0,u2(A|0,t|0,o|0)|0,e[i>>2]=1,t=A),e[r>>2]=t,e[l>>2]=t+o,e[s>>2]=t+n,0}function B9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=r+4|0,n=e[o>>2]|0,(n+i|0)>>>0>(e[r+8>>2]|0)>>>0&&(Xe(r,i)|0,n=e[o>>2]|0),u2(n|0,t|0,i|0)|0,e[o>>2]=(e[o>>2]|0)+i,i|0}function t2(r,t){return r=r|0,t=t|0,B9(r,t,d2(t)|0)|0}function Vt(r){r=r|0,e[r+12>>2]|0&&r0(e[r>>2]|0)}function KZ(r){r=r|0;var t=0,i=0;return t=r+4|0,i=e[t>>2]|0,i>>>0>(e[r>>2]|0)>>>0?(e[t>>2]=i+-1,r=s0[i>>0]|0):r=-1,r|0}function uu0(r,t,i){r=r|0,t=t|0,i=i|0,Ai(e[46942]|0,e[t+8>>2]|0)|0,Ai(e[46942]|0,e[t+12>>2]|0)|0,_n(e[46942]|0,t)}function vs(r,t){r=r|0,t=t|0;var i=0;return i=lt(r,96416,0)|0,(t|0)!=0&(i|0)==0&&(fu0(r),i=lt(r,96416,0)|0),i|0}function fu0(r){r=r|0;var t=0,i=0,n=0;for(n=a2(r)|0,oc(n,n,107,0,1)|0,i=U0(n)|0;i;){for(eW(r,i),t=Me(n,i)|0;t;)rW(r,t),t=Qe(n,t)|0;i=X0(n,i)|0}}function bZ(r){r=r|0;var t=0;t=r+24|0,y[t>>0]=y[t>>0]|64,au0(r),t=D1(r)|0,I9(t|0?t:r,r)}function eW(r,t){r=r|0,t=t|0;var i=0;i=Hn(t)|0,i|0&&e[i+8>>2]|0||I9(r,t)}function rW(r,t){r=r|0,t=t|0;var i=0;i=Hn(t)|0,i|0&&e[i+8>>2]|0||I9(r,t)}function Hn(r){return r=r|0,lt(r,96404,0)|0}function I9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=$e(t,96404,16,0)|0,o=af(r,e[t>>2]&3)|0,n=i+8|0;e:do if(!(e[n>>2]|0))for(r=a2(r)|0,e[n>>2]=af(r,e[t>>2]&3)|0,r=tW(t)|0,i=i+12|0,e[i>>2]=Sn(We(t)|0,((r|0)>4?r:4)<<2)|0,r=oe[e[o>>2]&63](o,0,128)|0;;){if(!r)break e;n=We(t)|0,n=un(n,e[r+12>>2]|0)|0,e[(e[i>>2]|0)+(e[r+16>>2]<<2)>>2]=n,r=oe[e[o>>2]&63](o,r,8)|0}while(0)}function af(r,t){r=r|0,t=t|0;var i=0,n=0;n=g,g=g+16|0,i=n,r=vs(r,0)|0;e:do if(!r)r=0;else switch(t|0){case 0:{r=e[r+16>>2]|0;break e}case 1:{r=e[r+8>>2]|0;break e}case 2:case 3:{r=e[r+12>>2]|0;break e}default:{e[i>>2]=t,$0(1,96429,i)|0,r=0;break e}}while(0);return g=n,r|0}function tW(r){r=r|0;var t=0;return t=a2(We(r)|0)|0,r=af(t,e[r>>2]&3)|0,r?r=sn(r)|0:r=0,r|0}function au0(r){r=r|0;var t=0,i=0,n=0,o=0;i=$e(r,96416,20,0)|0,n=i+8|0,e[n>>2]=ho(r,18364,e[4589]|0)|0,o=i+12|0,e[o>>2]=ho(r,18364,e[4589]|0)|0,i=i+16|0,e[i>>2]=ho(r,18364,e[4589]|0)|0,t=D1(r)|0,t?(r=vs(t,0)|0,mA(e[n>>2]|0,e[r+8>>2]|0)|0,mA(e[o>>2]|0,e[r+12>>2]|0)|0,mA(e[i>>2]|0,e[r+16>>2]|0)|0):(t=e[46941]|0,(t|0)==0|(t|0)==(r|0)||(t=vs(t,0)|0,x9(e[t+8>>2]|0,e[n>>2]|0,r,1),x9(e[t+12>>2]|0,e[o>>2]|0,r,2),x9(e[t+16>>2]|0,e[i>>2]|0,r,0)))}function x9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=oe[e[r>>2]&63](r,0,128)|0;o;)l=md(i,e[o+8>>2]|0,e[o+12>>2]|0,e[o+16>>2]|0,n)|0,y[l+22>>0]=y[o+22>>0]|0,y[l+21>>0]=y[o+21>>0]|0,oe[e[t>>2]&63](t,l,1)|0,o=oe[e[r>>2]&63](r,o,8)|0}function md(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;return l=Sn(r,24)|0,y[l+20>>0]=o,e[l+8>>2]=un(r,t)|0,e[l+12>>2]=un(r,i)|0,e[l+16>>2]=n,l|0}function gd(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+32|0,n=i,e[n+8>>2]=t,t=oe[e[r>>2]&63](r,n,4)|0,g=i,t|0}function iW(r,t){r=r|0,t=t|0;var i=0;return i=mA(r,0)|0,t=gd(r,t)|0,mA(r,i)|0,t|0}function S9(r,t){return r=r|0,t=t|0,r=Hn(r)|0,r?r=gd(e[r+8>>2]|0,t)|0:r=0,r|0}function re(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=g,g=g+16|0,o=l,r||(r=e[46941]|0,r||(y[o>>0]=y[18400]|0,y[o+1>>0]=y[18401]|0,y[o+2>>0]=y[18402]|0,y[o+3>>0]=y[18403]|0,r=w1(0,o,0)|0,e[46941]=r)),n?r=cu0(r,t,i,n)|0:r=hu0(r,t,i)|0,g=l,r|0}function cu0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=a2(r)|0,vs(r,1)|0,l=af(r,t)|0,o=iW(l,i)|0;e:do if(o)s=o+12|0,Ai(r,e[s>>2]|0)|0,e[s>>2]=un(r,n)|0,s=16;else{if(o=gd(l,i)|0,o|0){o=md(r,i,n,e[o+16>>2]|0,t)|0,oe[e[l>>2]&63](l,o,1)|0,s=16;break}switch(l=af(A,t)|0,o=md(r,i,n,sn(l)|0,t)|0,oe[e[l>>2]&63](l,o,1)|0,t|0){case 0:{oc(A,A,57,o,1)|0,s=16;break e}case 1:for(i=U0(A)|0;;){if(!i){s=16;break e}_9(r,i,o),i=X0(A,i)|0}case 2:case 3:for(l=U0(A)|0;;){if(!l){s=16;break e}for(i=Me(A,l)|0;i;)_9(r,i,o),i=Qe(A,i)|0;l=X0(A,l)|0}default:break e}}while(0);return(s|0)==16&&(t|0)==0&(o|0)!=0&&Er(r,o,n)|0,kW(r,r,o),o|0}function hu0(r,t,i){return r=r|0,t=t|0,i=i|0,r=af(r,t)|0,r?r=gd(r,i)|0:r=0,r|0}function _9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;t=Hn(t)|0,o=i+16|0,n=e[o>>2]|0,(n|0)>3?(l=e[r+64>>2]|0,t=t+12|0,n=n<<2,e[t>>2]=e2[e[(e[l>>2]|0)+8>>2]&127](e[l+12>>2]|0,e[t>>2]|0,n,n+4|0)|0):t=t+12|0,l=un(r,e[i+12>>2]|0)|0,e[(e[t>>2]|0)+(e[o>>2]<<2)>>2]=l}function Er(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;s=We(r)|0,l=(Hn(r)|0)+12|0,A=t+16|0,Ai(s,e[(e[l>>2]|0)+(e[A>>2]<<2)>>2]|0)|0,o=un(s,i)|0,e[(e[l>>2]|0)+(e[A>>2]<<2)>>2]=o;do if(!(e[r>>2]&3))if(n=e[(vs(s,0)|0)+16>>2]|0,o=t+8|0,l=iW(n,e[o>>2]|0)|0,l){A=l+12|0,Ai(s,e[A>>2]|0)|0,e[A>>2]=un(s,i)|0;break}else{A=md(s,e[o>>2]|0,i,e[A>>2]|0,e[r>>2]&3)|0,oe[e[n>>2]&63](n,A,1)|0;break}while(0);return kW(s,r,t),0}function ao(r,t,i){r=r|0,t=t|0,i=i|0,r=af(r,t)|0;do if(r)if(t=e[r>>2]|0,i){r=oe[t&63](r,i,8)|0;break}else{r=oe[t&63](r,0,128)|0;break}else r=0;while(0);return r|0}function wu0(r){r=r|0;var t=0;return e[46942]=r,t=Hn(r)|0,t|0&&(z9(r,t),An(r,e[t>>2]|0)|0),t=vs(r,0)|0,t?!(Es(r,e[t+8>>2]|0)|0)&&!(Es(r,e[t+12>>2]|0)|0)&&!(Es(r,e[t+16>>2]|0)|0)?(An(r,e[t>>2]|0)|0,t=0):t=1:t=0,t|0}function z9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=We(r)|0,n=tW(r)|0,t=t+12|0,r=0;i=e[t>>2]|0,!((r|0)>=(n|0));)Ai(o,e[i+(r<<2)>>2]|0)|0,r=r+1|0;_n(o,i)}function du0(r){r=r|0;var t=0;t=Hn(r)|0,t|0&&(z9(r,t),An(r,96404)|0)}function pu0(r){r=r|0;var t=0;t=Hn(r)|0,t|0&&(z9(r,t),An(r,96404)|0)}function he(r,t){return r=r|0,t=t|0,t=S9(r,t)|0,t?(r=e[(Hn(r)|0)+12>>2]|0,t=e[r+(e[t+16>>2]<<2)>>2]|0):t=0,t|0}function k2(r,t){return r=r|0,t=t|0,r=e[(Hn(r)|0)+12>>2]|0,e[r+(e[t+16>>2]<<2)>>2]|0}function h1(r,t,i){return r=r|0,t=t|0,i=i|0,t=S9(r,t)|0,t?(Er(r,t,i)|0,t=0):t=-1,t|0}function nW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=We(r)|0,o=re(o,e[r>>2]&3,t,0)|0,o||(o=We(r)|0,o=re(o,e[r>>2]&3,t,n)|0),Er(r,o,i)|0,0}function yd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=We(r)|0,o=e[r>>2]|0;e:do if((e[t>>2]^o)&3)i=1;else for(i=1,n=0;;){if(n=ao(l,o&3,n)|0,!n)break e;if(i=S9(t,e[n+8>>2]|0)|0,!i){i=1;break e}o=k2(r,n)|0,Er(t,i,o)|0,Rl(o)|0&&ff0(k2(t,i)|0),i=0,o=e[r>>2]|0}while(0);return i|0}function ku0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return r=e[t+40>>2]|0,o=e[i+40>>2]|0,(r|0)==(o|0)?(n=(e[t>>2]|0)>>>4,r=(e[i>>2]|0)>>>4,n>>>0>=r>>>0?n>>>0>r>>>0?r=1:l=6:r=-1):(n=(e[r>>2]|0)>>>4,r=(e[o>>2]|0)>>>4,n>>>0>=r>>>0?n>>>0>r>>>0?r=1:l=6:r=-1),(l|0)==6&&(r=0),r|0}function vu0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;r=(e[t+40>>2]|0)+8|0,l=e[r>>2]|0,r=e[r+4>>2]|0,o=(e[i+40>>2]|0)+8|0,n=e[o>>2]|0,o=e[o+4>>2]|0;do if(r>>>0>>0|(r|0)==(o|0)&l>>>0>>0)r=-1;else if(r>>>0>o>>>0|(r|0)==(o|0)&l>>>0>n>>>0)r=1;else{if(n=t+8|0,r=e[n>>2]|0,n=e[n+4>>2]|0,!((r|0)==0&(n|0)==0)&&(A=i+8|0,s=e[A>>2]|0,A=e[A+4>>2]|0,!((s|0)==0&(A|0)==0))){if(n>>>0>>0|(n|0)==(A|0)&r>>>0>>0){r=-1;break}if(n>>>0>A>>>0|(n|0)==(A|0)&r>>>0>s>>>0){r=1;break}}r=0}while(0);return r|0}function Me(r,t){r=r|0,t=t|0;var i=0;return t=co(r,t)|0,t?(i=r+44|0,r=t+32|0,c1(e[i>>2]|0,e[r>>2]|0)|0,t=e[i>>2]|0,t=oe[e[t>>2]&63](t,0,128)|0,e[r>>2]=ks(e[i>>2]|0)|0):t=0,t|0}function co(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+48|0,i=n,(e[t+24>>2]|0)==(r|0)?r=t+28|0:(e[i+16>>2]=t,r=e[r+40>>2]|0,r=oe[e[r>>2]&63](r,i,4)|0),g=n,r|0}function Qe(r,t){r=r|0,t=t|0;var i=0,n=0;return i=co(r,e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,i?(n=r+44|0,i=i+32|0,c1(e[n>>2]|0,e[i>>2]|0)|0,r=e[n>>2]|0,r=oe[e[r>>2]&63](r,t,8)|0,e[i>>2]=ks(e[n>>2]|0)|0):r=0,r|0}function Xo(r,t){r=r|0,t=t|0;var i=0;return t=co(r,t)|0,t?(i=r+44|0,r=t+28|0,c1(e[i>>2]|0,e[r>>2]|0)|0,t=e[i>>2]|0,t=oe[e[t>>2]&63](t,0,128)|0,e[r>>2]=ks(e[i>>2]|0)|0):t=0,t|0}function ms(r,t){r=r|0,t=t|0;var i=0,n=0;return i=co(r,e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,i?(n=r+44|0,i=i+28|0,c1(e[n>>2]|0,e[i>>2]|0)|0,r=e[n>>2]|0,r=oe[e[r>>2]&63](r,t,8)|0,e[i>>2]=ks(e[n>>2]|0)|0):r=0,r|0}function Jr(r,t){r=r|0,t=t|0;var i=0;return i=Me(r,t)|0,i||(i=Xo(r,t)|0),i|0}function ot(r,t,i){r=r|0,t=t|0,i=i|0;e:do if((e[t>>2]&3|0)==2){if(t=Qe(r,t)|0,!t){t=0;do if(t?t=ms(r,t)|0:t=Xo(r,i)|0,!t){t=0;break e}while((e[t+40>>2]|0)==(i|0))}}else do if(t=ms(r,t)|0,!t){t=0;break e}while((e[t+40>>2]|0)==(i|0));while(0);return t|0}function mu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return l=g,g=g+32|0,n=l+16|0,o=l,Id(r)|0&&(e[o>>2]=0,e[o+4>>2]=0,e[o+8>>2]=0,e[o+12>>2]=0,e[n>>2]=e[o>>2],e[n+4>>2]=e[o+4>>2],e[n+8>>2]=e[o+8>>2],e[n+12>>2]=e[o+12>>2],(gA(r,t,i,n)|0)!=0)?n=0:n=((s0[r+24>>0]|0)>>>2&1^1)&255|(t|0)!=(i|0),g=l,n|0}function gu0(r,t){r=r|0,t=t|0,L9(r,t)}function yu0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0;return ct(r,t,1)|0,ct(r,i,1)|0,l=Sn(r,96)|0,s=l+48|0,c=Bd(r,2)|0,A=e[s>>2]|0,a=e[l>>2]|0,w=l+8|0,e[w>>2]=n,e[w+4>>2]=o,w=l+56|0,e[w>>2]=n,e[w+4>>2]=o,o=c<<4,e[l>>2]=a&12|o|2,e[s>>2]=A&12|o|3,e[l+88>>2]=t,e[l+40>>2]=i,L9(r,l),y[r+24>>0]&64&&($e(l,96404,16,0)|0,rW(r,l)),Z9(r,l),l|0}function L9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(A=g,g=g+16|0,i=A,s=e[t>>2]&3,l=(s|0)==2?t:t+-48|0,s=(s|0)==3?t:t+48|0,n=e[s+40>>2]|0,o=e[l+40>>2]|0;!(!r||(e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],gA(r,n,o,i)|0));)a=co(r,n)|0,w=r+44|0,Cd(e[w>>2]|0,a+32|0,l),c=r+48|0,Cd(e[c>>2]|0,a+24|0,l),a=co(r,o)|0,Cd(e[w>>2]|0,a+28|0,s),Cd(e[c>>2]|0,a+20|0,s),r=D1(r)|0;g=A}function gA(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;return s=g,g=g+48|0,o=s,!((t|0)==0|(i|0)==0)&&(e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],e[o+40>>2]=t,l=co(r,i)|0,(l|0)!=0)?(n=r+48|0,l=l+20|0,c1(e[n>>2]|0,e[l>>2]|0)|0,r=e[n>>2]|0,r=oe[e[r>>2]&63](r,o,4)|0,e[l>>2]=ks(e[n>>2]|0)|0):r=0,g=s,r|0}function Cd(r,t,i){r=r|0,t=t|0,i=i|0,c1(r,e[t>>2]|0)|0,oe[e[r>>2]&63](r,i,1)|0,e[t>>2]=ks(r)|0}function rr(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;p=g,g=g+48|0,A=p+24|0,c=p+16|0,a=p;do if(cf(r,2,n,c,0)|0)v=a,e[v>>2]=0,e[v+4>>2]=0,v=c,l=e[v+4>>2]|0,w=a+8|0,e[w>>2]=e[v>>2],e[w+4>>2]=l,e[a>>2]=2,w=7;else if(n)w=17;else{if(o|0&&!(Id(r)|0)){w=18;break}e[a>>2]=0,e[a+4>>2]=0,e[a+8>>2]=0,e[a+12>>2]=0,w=7}while(0);e:do if((w|0)==7){e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],l=gA(r,t,i,A)|0;r:do if(!l){if(AW(r)|0&&(e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],s=gA(r,i,t,A)|0,s|0)){l=s;break}do if(o|0){if(l=a2(r)|0,e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],l=gA(l,t,i,A)|0,!l&&(!(AW(r)|0)||(l=a2(r)|0,e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],l=gA(l,i,t,A)|0,!l)))break;gu0(r,l);break r}while(0);w=17;break e}while(0)}while(0);return(w|0)==17&&(o?w=18:l=0),(w|0)==18&&(mu0(r,t,i)|0&&cf(r,2,n,c,1)|0?(l=c,l=yu0(r,t,i,e[l>>2]|0,e[l+4>>2]|0)|0,Sd(r,2,l)):l=0),g=p,l|0}function oW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;i=(e[t>>2]&3|0)==3,l=i?t+-48|0:t,i=i?t:t+48|0,t=e[l+40>>2]|0,s=co(r,e[i+40>>2]|0)|0,o=r+44|0,Ed(e[o>>2]|0,s+32|0,l),n=r+48|0,Ed(e[n>>2]|0,s+24|0,l),t=co(r,t)|0,Ed(e[o>>2]|0,t+28|0,i),Ed(e[n>>2]|0,t+20|0,i)}function Ed(r,t,i){r=r|0,t=t|0,i=i|0,c1(r,e[t>>2]|0)|0,oe[e[r>>2]&63](r,i,2)|0,e[t>>2]=ks(r)|0}function R9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=g,g=g+16|0,n=i,t=(e[t>>2]&3|0)==2?t:t+-48|0,o=e[t>>2]&3,l=e[((o|0)==3?t:t+48|0)+40>>2]|0,o=e[((o|0)==2?t:t+-48|0)+40>>2]|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],gA(r,l,o,n)|0?((a2(r)|0)==(r|0)&&(y[r+24>>0]&64&&pu0(t),_d(r,t),N9(t),l=t+8|0,xd(r,2,e[l>>2]|0,e[l+4>>2]|0)),oc(r,t,58,0,0)|0?t=-1:((a2(r)|0)==(r|0)&&_n(r,t),t=0)):t=-1,g=i,t|0}function gs(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,n=s,o=ct(r,e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0,i)|0,l=ct(r,e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,i)|0;do if((o|0)!=0&(l|0)!=0){if(e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],n=gA(r,o,l,n)|0,o=(n|0)==0,(i|0)!=0&o)L9(r,t),n=t;else if(o)break;return i=e[n>>2]&3,g=s,((i|0)==(e[t>>2]&3|0)?n:n+(((i|0)==3?-1:1)*48|0)|0)|0}while(0);return g=s,0}function Cu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=t+8|0,n=i+8|0,n=Pl(e[t>>2]|0,e[t+4>>2]|0,e[n>>2]|0,e[n+4>>2]|0)|0,(n|0?n>>31|1:0)|0}function w1(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;return l=g,g=g+16|0,o=l,A=Eu0(i)|0,n=ke[e[(e[A>>2]|0)+4>>2]&127](e[A+12>>2]|0,72)|0,e[n>>2]=e[n>>2]&-4,s=n+64|0,e[s>>2]=A,a=n+24|0,t=e[t>>2]|0,e[a>>2]=t,y[a>>0]=t&255|8,e[n+60>>2]=n,i=ke[e[e[A+4>>2]>>2]&127](n,i)|0,e[(e[s>>2]|0)+16>>2]=i,cf(n,0,r,o,1)|0&&(s=o,A=e[s+4>>2]|0,a=n+8|0,e[a>>2]=e[s>>2],e[a+4>>2]=A),a=lW(n)|0,Sd(a,0,n),g=l,a|0}function Eu0(r){r=r|0;var t=0,i=0,n=0,o=0;return t=(r|0)!=0,t?(i=e[r>>2]|0,i=i|0?i:18736):i=18736,o=nr[e[i>>2]&63](r)|0,n=ke[e[i+4>>2]&127](o,80)|0,e[n>>2]=i,e[n+12>>2]=o,t?(o=e[r+4>>2]|0,e[n+4>>2]=o|0?o:18612,r=e[r+8>>2]|0,r=r|0?r:18712):(e[n+4>>2]=18612,r=18712),e[n+8>>2]=r,y[n+52>>0]=1,n|0}function lW(r){r=r|0;var t=0,i=0;return e[r+36>>2]=ho(r,18792,e[4589]|0)|0,e[r+40>>2]=ho(r,18756,e[4589]|0)|0,t=(a2(r)|0)==(r|0),e[r+44>>2]=ho(r,t?18404:18440,e[4589]|0)|0,t=(a2(r)|0)==(r|0),e[r+48>>2]=ho(r,t?18476:18512,e[4589]|0)|0,e[r+52>>2]=ho(r,18548,e[4589]|0)|0,t=D1(r)|0,t|0&&(i=Bd(t,0)|0,e[r>>2]=e[r>>2]&15|i<<4,i=e[t+52>>2]|0,oe[e[i>>2]&63](i,r,1)|0,!(y[t+24>>0]&64))||bZ(r),Z9(r,r),r|0}function Bd(r,t){r=r|0,t=t|0;var i=0;return i=(e[r+64>>2]|0)+24+(t<<3)|0,t=i,t=ar(e[t>>2]|0,e[t+4>>2]|0,1,0)|0,r=b,e[i>>2]=t,e[i+4>>2]=r,b=r,t|0}function Di(r){r=r|0;var t=0,i=0,n=0,o=0;n=D1(r)|0,o=(n|0)==0,o&&(t=r+64|0,(e[(e[e[t>>2]>>2]|0)+16>>2]|0)!=0)?(_d(r,r),o=r+8|0,xd(r,0,e[o>>2]|0,e[o+4>>2]|0),t=e[t>>2]|0,l2[e[(e[t>>2]|0)+16>>2]&127](e[t+12>>2]|0),t=0):i=4;do if((i|0)==4){for(t=yt(r)|0;t;)i=Ct(t)|0,Di(t)|0,t=i;for(t=U0(r)|0;t;)i=X0(r,t)|0,Ah(r,t)|0,t=i;if(Nu0(r),_d(r,r),!(Es(r,e[r+40>>2]|0)|0)&&!(Es(r,e[r+36>>2]|0)|0)&&!(Es(r,e[r+48>>2]|0)|0)&&!(Es(r,e[r+44>>2]|0)|0)&&!(Es(r,e[r+52>>2]|0)|0)){if(y[r+24>>0]&64&&wu0(r)|0){t=-1;break}if(N9(r),i=r+8|0,xd(r,0,e[i>>2]|0,e[i+4>>2]|0),!o){RW(n,r)|0,_n(n,r),t=0;break}for(t=r+64|0;i=e[t>>2]|0,n=e[i+48>>2]|0,!!n;)tf0(r,e[n>>2]|0)|0;l2[e[(e[i+4>>2]|0)+20>>2]&127](e[i+16>>2]|0),sf0(r)|0?t=-1:(t=e[t>>2]|0,o=e[t+12>>2]|0,n=(e[t>>2]|0)+12|0,Bt[e[n>>2]&63](o,r),Bt[e[n>>2]&63](o,t),t=0)}else t=-1}while(0);return t|0}function v2(r){return r=r|0,sn(e[r+40>>2]|0)|0}function ys(r){r=r|0;var t=0,i=0,n=0;for(t=0,i=U0(r)|0;i;)n=(G9(r,i,0,1)|0)+t|0,t=n,i=X0(r,i)|0;return t|0}function G9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=co(r,t)|0,o?(n?t=sW(e[r+44>>2]|0,o+32|0)|0:t=0,i&&(t=(sW(e[r+44>>2]|0,o+28|0)|0)+t|0)):t=0,t|0}function sW(r,t){r=r|0,t=t|0;var i=0;return c1(r,e[t>>2]|0)|0,i=sn(r)|0,e[t>>2]=ks(r)|0,i|0}function d1(r){return r=r|0,y[r+24>>0]&1|0}function AW(r){return r=r|0,(d1(r)|0)==0|0}function Id(r){return r=r|0,(s0[r+24>>0]|0)>>>1&1|0}function Bu0(r,t){return r=r|0,t=t|0,r|0}function Iu0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,i?(o?r=un(r,i)|0:r=EW(r,i)|0,e[n>>2]=r,e[n+4>>2]=0):(o=1392,i=e[o>>2]|0,o=e[o+4>>2]|0,e[n>>2]=i,e[n+4>>2]=o,o=ar(i|0,o|0,2,0)|0,n=1392,e[n>>2]=o,e[n+4>>2]=b),1}function xu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,0}function Su0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,(i&1|0)==0&!0&&Ai(r,i)|0}function _u0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,((i&1|0)==0&!0?i:0)|0}function zu0(r){r=r|0}function Lu0(r,t,i){r=r|0,t=t|0,i=i|0}function cf(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;s=(i|0)!=0;do if(s){if((y[i>>0]|0)!=37&&(l=e[r+64>>2]|0,l=fi[e[(e[l+4>>2]|0)+4>>2]&127](e[l+16>>2]|0,t,i,n,o)|0,l|0))break;l=Gu0(r,t,i,n)|0,l||(A=5)}else A=5;while(0);return(A|0)==5&&(o?(l=e[r+64>>2]|0,l=fi[e[(e[l+4>>2]|0)+4>>2]&127](e[l+16>>2]|0,t,0,n,o)|0,s&(l|0)!=0&&(A=n,Zu0(r,t,i,e[A>>2]|0,e[A+4>>2]|0))):l=0),l|0}function Ru0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=e[r+64>>2]|0,e2[e[(e[r+4>>2]|0)+8>>2]&127](e[r+16>>2]|0,t,i,n)|0}function xd(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,fW(r,t,i,n)|0,r=e[r+64>>2]|0,Y1[e[(e[r+4>>2]|0)+12>>2]&31](e[r+16>>2]|0,t,i,n)}function te(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+16|0,l=s,i=We(r)|0,o=r+8|0,t=o,t=Mu0(i,e[r>>2]&3,e[t>>2]|0,e[t+4>>2]|0)|0;do if(!t){if(t=e[i+64>>2]|0,i=e[(e[t+4>>2]|0)+16>>2]|0,i|0&&(n=o,n=e2[i&127](e[t+16>>2]|0,e[r>>2]&3,e[n>>2]|0,e[n+4>>2]|0)|0,n|0)){t=n;break}(e[r>>2]&3|0)==2?t=0:(n=e[o>>2]|0,o=e[o+4>>2]|0,e[l>>2]=37,t=l+8|0,e[t>>2]=n,e[t+4>>2]=o,Ke(194773,96456,l)|0,t=194773)}while(0);return g=s,t|0}function Sd(r,t,i){r=r|0,t=t|0,i=i|0,r=e[r+64>>2]|0,cr[e[(e[r+4>>2]|0)+24>>2]&127](e[r+16>>2]|0,t,i)}function Gu0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return A=g,g=g+32|0,s=A,t=e[(e[r+64>>2]|0)+56+(((t|0)==3?2:t)<<2)>>2]|0,t|0&&(o=EW(r,i)|0,(o|0)!=0)&&(e[s+24>>2]=o,l=oe[e[t>>2]&63](t,s,4)|0,(l|0)!=0)?(i=l+16|0,s=e[i+4>>2]|0,t=n,e[t>>2]=e[i>>2],e[t+4>>2]=s,t=1):t=0,g=A,t|0}function Zu0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;s=Sn(r,32)|0,l=s+16|0,e[l>>2]=n,e[l+4>>2]=o,e[s+24>>2]=un(r,i)|0,n=(t|0)==3?2:t,l=r+64|0,i=e[l>>2]|0,t=e[i+56+(n<<2)>>2]|0,t?(o=t,t=i):(o=ho(r,18640,e[4589]|0)|0,e[(e[l>>2]|0)+56+(n<<2)>>2]=o,t=e[l>>2]|0),t=e[t+68+(n<<2)>>2]|0,t||(t=ho(r,18676,e[4589]|0)|0,e[(e[l>>2]|0)+68+(n<<2)>>2]=t),oe[e[o>>2]&63](o,s,1)|0,oe[e[t>>2]&63](t,s,1)|0}function Wu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=t+16|0,t=e[r>>2]|0,r=e[r+4>>2]|0,i=i+16|0,n=e[i>>2]|0,i=e[i+4>>2]|0,(r>>>0>i>>>0|(r|0)==(i|0)&t>>>0>n>>>0?1:(r>>>0>>0|(r|0)==(i|0)&t>>>0>>0)<<31>>31)|0}function Du0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=e[t+24>>2]|0,n=e[i+24>>2]|0,(t>>>0>n>>>0?1:(t>>>0>>0)<<31>>31)|0}function Mu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=uW(r,t,i,n)|0,r?r=e[r+24>>2]|0:r=0,r|0}function uW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=g,g=g+32|0,o=l,r=e[(e[r+64>>2]|0)+68+(((t|0)==3?2:t)<<2)>>2]|0,r?(t=o+16|0,e[t>>2]=i,e[t+4>>2]=n,r=oe[e[r>>2]&63](r,o,4)|0):r=0,g=l,r|0}function fW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=(t|0)==3?2:t,t=uW(r,o,i,n)|0,t?(n=r+64|0,i=e[(e[n>>2]|0)+56+(o<<2)>>2]|0,oe[e[i>>2]&63](i,t,2)|0,n=e[(e[n>>2]|0)+68+(o<<2)>>2]|0,oe[e[n>>2]&63](n,t,2)|0,Ai(r,e[t+24>>2]|0)|0,_n(r,t),t=1):t=0,t|0}function ju0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(e[46942]=r,o=e[r+64>>2]|0,n=0;(n|0)!=3;){l=o+56+(n<<2)|0,t=e[l>>2]|0;e:do if(t|0)for(t=oe[e[t>>2]&63](t,0,128)|0;;){if(!t)break e;if(i=e[l>>2]|0,i=oe[e[i>>2]&63](i,t,8)|0,(y[e[t+24>>2]>>0]|0)!=37){t=i;continue}s=t+16|0,fW(r,n,e[s>>2]|0,e[s+4>>2]|0)|0,t=i}while(0);n=n+1|0}}function Nu0(r){r=r|0,e[46942]=r,r=r+64|0,aW((e[r>>2]|0)+56|0),aW((e[r>>2]|0)+68|0)}function aW(r){r=r|0;var t=0,i=0,n=0;for(t=0;(t|0)!=3;)i=r+(t<<2)|0,n=e[i>>2]|0,n|0&&(Fr(n)|0,e[i>>2]=0),t=t+1|0}function Qu0(r,t,i){return r=r|0,t=t|0,i=i|0,tu(t,i,r)|0?r=d2(t)|0:r=0,r|0}function Tu0(r,t){return r=r|0,t=t|0,Bi(t,r)|0}function Fu0(r){return r=r|0,Mk(r)|0}function Pu0(r){r=r|0;var t=0,i=0,n=0;return t=g,g=g+32|0,n=t+12|0,i=t,e[4682]=e[4679],e[4683]=e[4680],e[n>>2]=r,e[n+4>>2]=d2(r)|0,e[n+8>>2]=0,e[i>>2]=18736,e[i+4>>2]=18612,e[i+8>>2]=18724,r=X9(n,i)|0,af0(0),g=t,r|0}function Yu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;if(i|0&&(l=r+8|0,n=e[l>>2]|0,(n|0)<(e[r+4>>2]|0))){for(s=(e[r>>2]|0)+n|0,r=0,o=y[s>>0]|0,n=t,t=s;t=t+1|0,y[n>>0]=o,r=r+1|0,!!(o<<24>>24!=10&(r|0)<(i|0));)if(o=y[t>>0]|0,o<<24>>24)n=n+1|0;else break;e[l>>2]=(e[l>>2]|0)+r}else r=0;return r|0}function Ou0(r){return r=r|0,0}function Vu0(r,t){return r=r|0,t=t|0,r=Te(t)|0,Ur(r|0,0,t|0)|0,r|0}function Hu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=O2(t,n)|0,n>>>0>i>>>0&&Ur(r+i|0,0,n-i|0)|0,r|0}function Ju0(r,t){r=r|0,t=t|0,r0(t)}function Sn(r,t){r=r|0,t=t|0;var i=0;return i=g,g=g+16|0,r=e[r+64>>2]|0,r=ke[e[(e[r>>2]|0)+4>>2]&127](e[r+12>>2]|0,t)|0,r||$0(1,96462,i)|0,g=i,r|0}function _n(r,t){r=r|0,t=t|0,t|0&&(r=e[r+64>>2]|0,Bt[e[(e[r>>2]|0)+12>>2]&63](e[r+12>>2]|0,t))}function Uu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=(e[t+16>>2]|0)+8|0,t=e[r>>2]|0,r=e[r+4>>2]|0,i=(e[i+16>>2]|0)+8|0,n=e[i>>2]|0,i=e[i+4>>2]|0,(r>>>0>>0|(r|0)==(i|0)&t>>>0>>0?-1:(r>>>0>i>>>0|(r|0)==(i|0)&t>>>0>n>>>0)&1)|0}function Xu0(r,t,i){r=r|0,t=t|0,i=i|0,r=e[t+16>>2]|0,(r+28|0)!=(t|0)&&_n(e[r+24>>2]|0,t)}function qu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=(e[e[t+16>>2]>>2]|0)>>>4,n=(e[e[i+16>>2]>>2]|0)>>>4,(t>>>0>>0?-1:t>>>0>n>>>0&1)|0}function tc(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=186256,e[n>>2]=t,e[n+4>>2]=i,e[46947]=186248,r=e[r+40>>2]|0,r=oe[e[r>>2]&63](r,187772,4)|0,r?r=e[r+16>>2]|0:r=0,r|0}function U0(r){return r=r|0,r=e[r+36>>2]|0,r=oe[e[r>>2]&63](r,0,128)|0,r?r=e[r+16>>2]|0:r=0,r|0}function X0(r,t){r=r|0,t=t|0;var i=0;return t=co(r,t)|0,t|0&&(i=e[r+36>>2]|0,i=oe[e[i>>2]&63](i,t,8)|0,(i|0)!=0)?t=e[i+16>>2]|0:t=0,t|0}function $u0(r){return r=r|0,r=e[r+36>>2]|0,r=oe[e[r>>2]&63](r,0,256)|0,r?r=e[r+16>>2]|0:r=0,r|0}function Ku0(r,t){r=r|0,t=t|0;var i=0;return t=co(r,t)|0,t|0&&(i=e[r+36>>2]|0,i=oe[e[i>>2]&63](i,t,16)|0,(i|0)!=0)?t=e[i+16>>2]|0:t=0,t|0}function bu0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=tc(r,t,i)|0;do if((n|0)!=0&(o|0)==0){if(o=a2(r)|0,(o|0)!=(r|0)&&(l=tc(o,t,i)|0,l|0)){ct(r,l,1)|0,o=l;break}Ru0(r,1,t,i)|0?(o=Bd(r,1)|0,o=cW(r,t,i,o,b)|0,hW(r,o),wW(r,o)):o=0}while(0);return o|0}function ct(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;if(n=a2(r)|0,(n|0)==(e[t+24>>2]|0)){if(n=t+8|0,n=tc(r,e[n>>2]|0,e[n+4>>2]|0)|0,(i|0)!=0&(n|0)==0)if(n=D1(r)|0,!n)n=0;else return i=ct(n,t,i)|0,dW(r,i),i|0}else n=0;return n|0}function cW(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;return o=Sn(r,64)|0,l=e[o>>2]|0,s=o+8|0,e[s>>2]=t,e[s+4>>2]=i,e[o>>2]=l&12|n<<4|1,e[o+24>>2]=a2(r)|0,y[(a2(r)|0)+24>>0]&64&&$e(o,96404,16,0)|0,o|0}function hW(r,t){r=r|0,t=t|0;do dW(r,t),r=D1(r)|0;while(r|0)}function wW(r,t){r=r|0,t=t|0,y[(a2(r)|0)+24>>0]&64&&eW(r,t),Z9(r,t)}function dW(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+40|0,sn(e[n>>2]|0)|0,(a2(r)|0)==(r|0)?i=t+28|0:i=Sn(r,36)|0,e[i+16>>2]=t,n=e[n>>2]|0,oe[e[n>>2]&63](n,i,1)|0,n=e[r+36>>2]|0,oe[e[n>>2]&63](n,i,1)|0}function ht(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;return a=g,g=g+16|0,l=a,s=a2(r)|0,cf(r,1,t,l,0)|0?(n=l,n=tc(r,e[n>>2]|0,e[n+4>>2]|0)|0,n||(!((i|0)==0|(s|0)==(r|0))&&(o=l,o=tc(s,e[o>>2]|0,e[o+4>>2]|0)|0,(o|0)!=0)?n=ct(r,o,1)|0:A=6)):A=6,(A|0)==6&&(i|0&&cf(r,1,t,l,1)|0?(A=l,s=e[A>>2]|0,A=e[A+4>>2]|0,n=Bd(r,1)|0,n=cW(r,s,A,n,b)|0,hW(r,n),wW(r,n),Sd(r,1,n)):n=0),g=a,n|0}function ef0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(e[46956]=t,i=Jr(r,t)|0;i;)n=ot(r,i,t)|0,oW(r,i,0),i=n;n=e[r+40>>2]|0,oe[e[n>>2]&63](n,187808,2)|0,n=e[r+36>>2]|0,oe[e[n>>2]&63](n,187808,2)|0}function Ah(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;if(n=t+8|0,i=n,tc(r,e[i>>2]|0,e[i+4>>2]|0)|0){if((a2(r)|0)==(r|0)){for(i=Jr(r,t)|0;i;)o=ot(r,i,t)|0,R9(r,i)|0,i=o;y[r+24>>0]&64&&du0(t),_d(r,t),N9(t),o=n,xd(r,1,e[o>>2]|0,e[o+4>>2]|0)}oc(r,t,59,0,0)|0?i=-1:((a2(r)|0)==(r|0)&&_n(r,t),i=0)}else i=-1;return i|0}function zn(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;s=g,g=g+16|0,n=s,i=e[t>>2]|0;do if(i&3)l=5;else if((D1(t)|0)==(r|0)){i=e[t>>2]|0,l=5;break}else{$0(1,96488,n)|0,o=-1;break}while(0);e:do if((l|0)==5)switch(i&3){case 1:{o=Ah(r,t)|0;break e}case 2:case 3:{o=R9(r,t)|0;break e}case 0:{o=Di(t)|0;break e}default:}while(0);return g=s,o|0}function We(r){r=r|0;var t=0;switch(e[r>>2]&3){case 2:case 3:{t=e[(e[r+40>>2]|0)+24>>2]|0;break}case 1:{t=e[r+24>>2]|0;break}case 0:{t=r;break}default:}return t|0}function a2(r){r=r|0;var t=0;switch(e[r>>2]&3){case 2:case 3:{t=(e[r+40>>2]|0)+24|0;break}case 1:{t=r+24|0;break}case 0:{t=r+60|0;break}default:}return e[t>>2]|0}function Z9(r,t){r=r|0,t=t|0;var i=0;i=e[r+64>>2]|0,y[i+52>>0]|0?pW(r,t,e[i+48>>2]|0):W9(r,t,100,0)}function pW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do if(i|0){switch(pW(r,t,e[i+8>>2]|0),e[t>>2]&3){case 0:{n=e[i>>2]|0;break}case 1:{n=(e[i>>2]|0)+12|0;break}case 2:{n=(e[i>>2]|0)+24|0;break}default:break e}n=e[n>>2]|0,n|0&&cr[n&127](r,t,e[i+4>>2]|0)}while(0)}function kW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=e[r+64>>2]|0,y[n+52>>0]|0?vW(r,t,i,e[n+48>>2]|0):W9(r,t,101,i)}function vW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;e:do if(n|0){switch(vW(r,t,i,e[n+8>>2]|0),e[t>>2]&3){case 0:{o=(e[n>>2]|0)+4|0;break}case 1:{o=(e[n>>2]|0)+16|0;break}case 2:{o=(e[n>>2]|0)+28|0;break}default:break e}o=e[o>>2]|0,o|0&&Y1[o&31](r,t,e[n+4>>2]|0,i)}while(0)}function _d(r,t){r=r|0,t=t|0;var i=0;i=e[r+64>>2]|0,y[i+52>>0]|0?mW(r,t,e[i+48>>2]|0):W9(r,t,102,0)}function mW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do if(i|0){switch(mW(r,t,e[i+8>>2]|0),e[t>>2]&3){case 0:{n=(e[i>>2]|0)+8|0;break}case 1:{n=(e[i>>2]|0)+20|0;break}case 2:{n=(e[i>>2]|0)+32|0;break}default:break e}n=e[n>>2]|0,n|0&&cr[n&127](r,t,e[i+4>>2]|0)}while(0)}function rf0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=Sn(r,12)|0,e[n>>2]=t,e[n+4>>2]=i,i=(e[r+64>>2]|0)+48|0,e[n+8>>2]=e[i>>2],e[i>>2]=n}function tf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=(e[r+64>>2]|0)+48|0,i=e[n>>2]|0;e:do if(!i)i=-1;else{if((e[i>>2]|0)!=(t|0)){for(;;){if(!i){i=-1;break e}if(n=i+8|0,o=e[n>>2]|0,(e[o>>2]|0)==(t|0))break;i=o}o&&(e[n>>2]=e[o+8>>2])}else e[n>>2]=e[i+8>>2];_n(r,i),i=0}while(0);return i|0}function Mi(r,t){r=r|0,t=t|0;var i=0;i=a2(r)|0;e:do if((i|0)==(a2(t)|0))switch(e[t>>2]&3){case 0:{for(;;){if((t|0)==(r|0)){t=1;break e}if(t=D1(t)|0,!t){t=0;break}}break}case 1:{t=t+8|0,t=(bu0(r,e[t>>2]|0,e[t+4>>2]|0,0)|0)!=0;break e}default:{t=(gs(r,t,0)|0)!=0;break e}}else t=0;while(0);return t&1|0}function qo(r){return r=r|0,e[r>>2]&3|0}function W9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;switch(A=g,g=g+16|0,s=A,l=$e(r,96512,44,0)|0,i|0){case 100:{o=hf(l,t,100)|0,ic(o,t)|0||D9(o,r,t,n)|0;break}case 101:{!(ic(hf(l,t,100)|0,t)|0)&&!(ic(hf(l,t,102)|0,t)|0)&&(o=hf(l,t,101)|0,(ic(o,t)|0)==0)&&D9(o,r,t,n)|0;break}case 102:{gW(hf(l,t,100)|0,t),gW(hf(l,t,101)|0,t),o=hf(l,t,102)|0,ic(o,t)|0||D9(o,r,t,n)|0;break}default:$0(1,96524,s)|0}g=A}function hf(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+16|0,n=l;e:do switch(e[t>>2]&3){case 0:switch(i|0){case 100:{i=r+8|0;break e}case 101:{i=r+20|0;break e}case 102:{i=r+32|0;break e}default:{o=14;break e}}case 1:switch(i|0){case 100:{i=r+12|0;break e}case 101:{i=r+24|0;break e}case 102:{i=r+36|0;break e}default:{o=14;break e}}case 2:switch(i|0){case 100:{i=r+16|0;break e}case 101:{i=r+28|0;break e}case 102:{i=r+40|0;break e}default:{o=14;break e}}default:o=14}while(0);return(o|0)==14&&($0(1,96558,n)|0,i=0),r=e[i>>2]|0,r||(r=We(t)|0,r=ho(r,18828,e[4589]|0)|0,e[i>>2]=r),g=l,r|0}function ic(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+32|0,n=i,o=yW(t)|0,t=n+8|0,e[t>>2]=o,e[t+4>>2]=b,t=oe[e[r>>2]&63](r,n,4)|0,g=i,t|0}function D9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=Sn(We(i)|0,32)|0,e[o+20>>2]=i,l=yW(i)|0,i=o+8|0,e[i>>2]=l,e[i+4>>2]=b,e[o+16>>2]=t,n|0&&(l=Sn(t,8)|0,e[o+24>>2]=l,e[l>>2]=n),oe[e[r>>2]&63](r,o,1)|0,o|0}function gW(r,t){r=r|0,t=t|0,t=ic(r,t)|0,t|0&&oe[e[r>>2]&63](r,t,2)|0}function yW(r){return r=r|0,r=r+8|0,b=e[r+4>>2]|0,e[r>>2]|0}function if0(r,t,i){r=r|0,t=t|0,i=i|0,nf0(t),_n(e[t+16>>2]|0,t)}function nf0(r){r=r|0;var t=0,i=0;for(t=r+16|0,r=e[r+24>>2]|0;r;)i=e[r+4>>2]|0,_n(e[t>>2]|0,r),r=i}function lt(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;for(a=g,g=g+16|0,s=a,l=e[r+16>>2]|0,n=l;;){if(!n){n=0;break}if(o=e[n>>2]|0,(o|0)==(t|0)){A=7;break}if((y[t>>0]|0)==(y[o>>0]|0)&&!(ge(t,o)|0)){A=7;break}if(n=e[n+4>>2]|0,(n|0)==(l|0)){n=0;break}}do if((A|0)==7){if(!(e[r>>2]&4)){if((n|0)==(l|0)&(i|0)==0){n=l;break}M9(r,n,i);break}i&&((l|0)==(n|0)?n=l:$0(1,96583,s)|0)}while(0);return g=a,n|0}function M9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e[r+16>>2]=t,n=e[r>>2]|0,i=i<<2&4,e[r>>2]=n&-5|i,n&2|0&&(n=(n&3|0)==3?-1:1,e[r+(n*48|0)+16>>2]=t,n=r+(n*48|0)|0,e[n>>2]=e[n>>2]&-5|i)}function $e(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;s=We(r)|0,o=lt(r,t,0)|0;e:do if((i|0)!=0&(o|0)==0)switch(i=Sn(s,i)|0,e[i>>2]=un(s,t)|0,e[r>>2]&3){case 0:{j9(r,i),l=i;break e}case 1:{j9(r,i),l=i;break e}case 2:case 3:{j9(r,i),l=i;break e}default:}else l=o;while(0);return n|0&<(r,t,1)|0,l|0}function j9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[r+16>>2]|0;do if(i)if(n=i+4|0,o=e[n>>2]|0,(o|0)==(i|0)){e[n>>2]=t,n=i,i=t;break}else{e[t+4>>2]=o,n=t;break}else n=t,i=t;while(0);e[i+4>>2]=n,e[r>>2]&4||M9(r,t,0)}function An(r,t){r=r|0,t=t|0;var i=0,n=0;return n=We(r)|0,i=lt(r,t,0)|0,i?(of0(r,i),e[r>>2]&3?(oc(a2(n)|0,r,60,i,0)|0,t=i):(CW(n,r,i),t=i),Ai(n,e[i>>2]|0)|0,_n(n,t),t=0):t=-1,t|0}function of0(r,t){r=r|0,t=t|0;var i=0;r=e[r+16>>2]|0;do i=r+4|0,r=e[i>>2]|0;while((r|0)!=(t|0));e[i>>2]=e[t+4>>2]}function CW(r,t,i){r=r|0,t=t|0,i=i|0,(e[t+16>>2]|0)==(i|0)&&(r=e[i+4>>2]|0,M9(t,(r|0)==(i|0)?0:r,0))}function Ll(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;l=(n|0)>-1,s=l?n:0-n|0;e:do switch(t|0){case 0:{if($e(r,i,s,o)|0,!l)for(t=yt(r)|0;;){if(!t)break e;Ll(t,0,i,n,o),t=Ct(t)|0}break}case 3:case 2:case 1:for(n=(t|0)==1,t=U0(r)|0;;){if(!t)break e;r:do if(n)$e(t,i,s,o)|0;else for(l=Me(r,t)|0;;){if(!l)break r;$e(l,i,s,o)|0,l=Qe(r,l)|0}while(0);t=X0(r,t)|0}default:}while(0)}function wf(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;e:do switch(t|0){case 0:{oc(r,r,61,i,1)|0;break}case 3:case 2:case 1:for(o=(t|0)==1,n=U0(r)|0;;){if(!n)break e;r:do if(o)An(n,i)|0;else for(t=Me(r,n)|0;;){if(!t)break r;An(t,i)|0,t=Qe(r,t)|0}while(0);n=X0(r,n)|0}default:}while(0)}function lf0(r,t,i){r=r|0,t=t|0,i=i|0,An(t,i)|0}function N9(r){r=r|0;var t=0,i=0,n=0;if(i=We(r)|0,t=r+16|0,r=e[t>>2]|0,r|0)do n=r,r=e[r+4>>2]|0,Ai(i,e[n>>2]|0)|0,_n(i,n);while((r|0)!=(e[t>>2]|0));e[t>>2]=0}function sf0(r){return r=r|0,Es(r,uh(r)|0)|0}function uh(r){r=r|0;var t=0,i=0;return r?i=(e[r+64>>2]|0)+20|0:i=187844,t=e[i>>2]|0,t||(t=ho(r,18864,e[4589]|0)|0,e[i>>2]=t,r=186312,e[r>>2]=-2147483648,e[r+4>>2]=0,r=186320,e[r>>2]=2147483647,e[r+4>>2]=-1),t|0}function EW(r,t){return r=r|0,t=t|0,Af0(uh(r)|0,t)|0}function Af0(r,t){return r=r|0,t=t|0,r=zd(r,t)|0,r?r=e[r+16>>2]|0:r=0,r|0}function zd(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+32|0,n=i,e[n+16>>2]=t,t=oe[e[r>>2]&63](r,n,4)|0,g=i,t|0}function un(r,t){r=r|0,t=t|0;var i=0,n=0;return t?(n=uh(r)|0,i=zd(n,t)|0,i?(n=i+8|0,t=n,t=ar(e[t>>2]|0,e[t+4>>2]|0,1,0)|0,e[n>>2]=t,e[n+4>>2]=b):(i=(d2(t)|0)+24|0,r?i=Sn(r,i)|0:i=Te(i)|0,r=i+8|0,e[r>>2]=1,e[r+4>>2]=0,r=i+20|0,yo(r,t)|0,e[i+16>>2]=r,oe[e[n>>2]&63](n,i,1)|0),i=e[i+16>>2]|0):i=0,i|0}function uf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return t?(n=uh(r)|0,i=zd(n,t)|0,i?(l=i+8|0,o=l,o=ar(e[o>>2]|0,e[o+4>>2]|0,1,0)|0,e[l>>2]=o,e[l+4>>2]=b):(i=(d2(t)|0)+24|0,r?i=Sn(r,i)|0:i=Te(i)|0,l=186312,o=e[l+4>>2]|0,r=i+8|0,e[r>>2]=e[l>>2]|1,e[r+4>>2]=o,r=i+20|0,yo(r,t)|0,e[i+16>>2]=r,oe[e[n>>2]&63](n,i,1)|0),i=e[i+16>>2]|0):i=0,i|0}function Ai(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return t|0&&(i=uh(r)|0,n=zd(i,t)|0,(n|0)!=0)?((e[n+16>>2]|0)==(t|0)&&(t=n+8|0,l=t,l=ar(e[l>>2]|0,e[l+4>>2]|0,-1,-1)|0,o=b,e[t>>2]=l,e[t+4>>2]=o,t=186320,(l|0)==0&(o|0)==0|(e[t>>2]|0)==0&(e[t+4>>2]|0)==0)&&zf0(r,i,n)|0,r=0):r=-1,r|0}function Rl(r){r=r|0;var t=0;return r?(r=r+-12|0,t=186312,r=e[t>>2]&e[r>>2]):r=0,r|0}function ff0(r){r=r|0;var t=0,i=0,n=0;r|0&&(i=186312,r=r+-12|0,n=r,t=e[n+4>>2]|e[i+4>>2],e[r>>2]=e[n>>2]|e[i>>2],e[r+4>>2]=t)}function af0(r){r=r|0,e[46966]=r,e[4725]=1}function cf0(r,t){r=r|0,t=t|0,e[46967]=r,e[46968]=t,e[46969]=0}function hf0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;e[46970]|0||(e[46970]=1,e[46971]|0||(e[46971]=1),e[46962]|0||(e[46962]=e[15647]),e[46963]|0||(e[46963]=e[15679]),s=e[46972]|0,s|0&&e[s>>2]|0||(BW(),s=IW(e[46962]|0,16384)|0,e[e[46972]>>2]=s),Q9());e:for(;;){l=e[46973]|0,y[l>>0]=y[194805]|0,r=(e[(e[e[46972]>>2]|0)+28>>2]|0)+(e[46971]|0)|0,t=l;r:for(;;){for(n=t;;){t=e[18904+(s0[n>>0]<<2)>>2]|0,$[63856+(r<<1)>>1]|0&&(e[46974]=r,e[46975]=n);t:for(;;){i=t&255;do{if(t=i+($[64042+(r<<1)>>1]|0)|0,(r|0)==($[64252+(t<<1)>>1]|0))break t;s=$[64788+(r<<1)>>1]|0,r=s<<16>>16}while(s<<16>>16<=92);t=e[19928+(i<<2)>>2]|0}if(r=$[64998+(t<<1)>>1]|0,t=n+1|0,($[64042+(r<<1)>>1]|0)==219)break;n=t}t:for(;;){s=l;i:for(;;){r=$[63856+(r<<1)>>1]|0,r<<16>>16?r=r<<16>>16:(r=$[63856+(e[46974]<<1)>>1]|0,t=e[46975]|0),e[46964]=l,o=t,e[46965]=o-s,y[194805]=y[t>>0]|0,y[t>>0]=0,e[46973]=t;n:for(;;){switch(r|0){case 1:{a=27;break e}case 12:{a=53;break e}case 13:{a=55;break e}case 14:{a=57;break e}case 15:{a=61;break e}case 16:{a=65;break e}case 17:{a=67;break e}case 18:{a=69;break e}case 19:{a=72;break e}case 20:{a=75;break e}case 21:{a=78;break e}case 23:{a=86;break e}case 33:{a=118;break e}case 39:case 38:case 37:case 36:{A=0;break e}case 2:{a=29;break r}case 3:{a=32;break r}case 4:{a=35;break r}case 5:{a=37;break r}case 6:{a=39;break r}case 7:{a=42;break r}case 8:{a=44;break r}case 9:{a=47;break r}case 10:{a=49;break r}case 11:{a=51;break r}case 22:{a=83;break r}case 24:{a=89;break r}case 25:{a=92;break r}case 26:{a=95;break r}case 27:{a=98;break r}case 28:{a=101;break r}case 29:{a=104;break r}case 30:{a=109;break r}case 31:{a=112;break r}case 32:{a=115;break r}case 34:{a=121;break r}case 0:break n;case 35:break;default:{a=134;break e}}if(n=e[46964]|0,y[t>>0]=y[194805]|0,r=e[46972]|0,i=e[r>>2]|0,e[i+44>>2]|0?r=e[46977]|0:(c=e[i+16>>2]|0,e[46977]=c,e[i>>2]=e[46962],i=e[r>>2]|0,e[i+44>>2]=1,r=c),(e[46973]|0)>>>0<=((e[i+4>>2]|0)+r|0)>>>0){a=128;break i}switch(mf0()|0){case 0:{a=132;break t}case 2:{a=133;break i}case 1:break;default:continue e}e[46973]=e[46964],r=(((e[46971]|0)+-1|0)/2|0)+36|0}y[t>>0]=y[194805]|0,t=e[46975]|0,r=e[46974]|0}if((a|0)==128)if(a=0,i=o-n|0,n=e[46964]|0,t=n+(i+-1)|0,e[46973]=t,r=T9()|0,o=vf0(r)|0,l=e[46964]|0,o){a=129;break}else continue;else if((a|0)==133){a=0,t=(e[(e[e[46972]>>2]|0)+4>>2]|0)+(e[46977]|0)|0,e[46973]=t,r=T9()|0,l=e[46964]|0;continue}}if((a|0)==129){a=0,t=n+i|0,e[46973]=t,r=o;continue}else if((a|0)==132){a=0,t=(e[46964]|0)+(o-n+-1)|0,e[46973]=t,r=T9()|0,l=e[46964]|0;continue}}switch(a|0){case 29:{a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[4725]=(e[4725]|0)+1;continue e}case 32:{a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=3;continue e}case 35:{if(a=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 37:{if(a=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 39:{a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=1;continue e}case 42:{if(a=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 44:{a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),wf0();continue e}case 47:{if(a=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 49:{if(a=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 51:{if(a=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 83:{a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=5,xW();continue e}case 89:{a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),df(98744);continue e}case 92:{a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),df(96616);continue e}case 95:{a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[4725]=(e[4725]|0)+1;continue e}case 98:{a=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[r+(t+-1)>>0]|0)==10&1),df(r);continue e}case 101:{a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=7,e[46976]=1,xW();continue e}case 104:{if(a=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),c=(e[46976]|0)+-1|0,e[46976]=c,!c){a=108;break e}df(e[46964]|0);continue e}case 109:{a=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[r+(t+-1)>>0]|0)==10&1),e[46976]=(e[46976]|0)+1,df(r);continue e}case 112:{a=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[r+(t+-1)>>0]|0)==10&1),df(r),e[4725]=(e[4725]|0)+1;continue e}case 115:{a=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[r+(t+-1)>>0]|0)==10&1),df(r);continue e}case 121:{a=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[r+(t+-1)>>0]|0)==10&1),cn(r,t,1,e[46963]|0)|0;continue e}}}switch(a|0){case 27:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=-1;break}case 53:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=259;break}case 55:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=260;break}case 57:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46969]|0||(e[46969]=258),A=258;break}case 61:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46969]|0||(e[46969]=261),A=261;break}case 65:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=263;break}case 67:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=262;break}case 69:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=(e[46969]|0)==261?264:45;break}case 72:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=(e[46969]|0)==258?264:45;break}case 75:{t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[r+(t+-1)>>0]|0)==10&1),e[46992]=un(e[46942]|0,r)|0,A=267;break}case 78:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),df0()|0&&(a=(e[46965]|0)+-1|0,y[t>>0]=y[194805]|0,c=l+a|0,e[46973]=c,e[46964]=l,e[46965]=a,y[194805]=y[c>>0]|0,y[c>>0]=0,e[46973]=c),e[46992]=un(e[46942]|0,e[46964]|0)|0,A=267;break}case 86:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=1,pf0(),A=268;break}case 108:{e[46971]=1,kf0(),A=268;break}case 118:{t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(y[r+(t+-1)>>0]|0)==10&1),A=y[r>>0]|0;break}case 134:{Cs(96619);break}}return A|0}function BW(){var r=0,t=0,i=0;t=e[46972]|0;do if(t){if(r=e[46983]|0,0>=(r+-1|0)>>>0)if(r=r+8|0,t=F9(t,r<<2)|0,e[46972]=t,!t)Cs(96977);else{i=t+(e[46983]<<2)|0,e[i>>2]=0,e[i+4>>2]=0,e[i+8>>2]=0,e[i+12>>2]=0,e[i+16>>2]=0,e[i+20>>2]=0,e[i+24>>2]=0,e[i+28>>2]=0,i=9;break}}else if(r=P9(4)|0,e[46972]=r,!r)Cs(96977);else{e[r>>2]=0,r=1,i=9;break}while(0);(i|0)==9&&(e[46983]=r)}function IW(r,t){r=r|0,t=t|0;var i=0;if(i=P9(48)|0,i||Cs(96932),e[i+12>>2]=t,t=P9(t+2|0)|0,e[i+4>>2]=t,!t)Cs(96932);else return e[i+20>>2]=1,SW(i,r),i|0;return 0}function Q9(){var r=0,t=0;t=e[46972]|0,r=e[t>>2]|0,e[46977]=e[r+16>>2],r=e[r+8>>2]|0,e[46973]=r,e[46964]=r,e[46962]=e[e[t>>2]>>2],y[194805]=y[r>>0]|0}function wf0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0;if(o=g,g=g+32|0,n=o,t=o+16|0,i=o+12|0,l=e[46964]|0,r=l+1|0,s=(Yr(r,96916,4)|0)==0,r=s?l+5|0:r,e[n>>2]=i,e[n+4>>2]=o+20,e[n+8>>2]=t,n=X2(r,96921,n)|0,(n|0)>0&&(e[4725]=(e[i>>2]|0)+-1,(n|0)!=1)){t=r+(e[t>>2]|0)|0,r=t;e:for(;;){switch(i=y[r>>0]|0,i<<24>>24){case 0:case 34:break e;default:}r=r+1|0}(r|0)!=(t|0)&i<<24>>24==34&&(y[r>>0]=0,Cf0(t,r-t|0))}g=o}function df0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;return A=g,g=g+2080|0,s=A+8|0,n=A,r=A+1056|0,t=A+32|0,l=A+16|0,a=y[(e[46964]|0)+((e[46965]|0)+-1)>>0]|0,i=a<<24>>24==46,i|((a&255)+-48|0)>>>0<10?i&&yf0()|0?o=4:r=0:o=4,(o|0)==4&&(a=e[46966]|0,Ot(l,1024,r),t2(l,96827)|0,t2(l,e[46964]|0)|0,e[n>>2]=e[4725],Ke(t,96871,n)|0,t2(l,t)|0,t2(l,a|0?a:96821)|0,t2(l,96888)|0,t=l+4|0,r=e[t>>2]|0,r>>>0>=(e[l+8>>2]|0)>>>0&&(Xe(l,1)|0,r=e[t>>2]|0),y[r>>0]=0,r=e[l>>2]|0,e[t>>2]=r,e[s>>2]=r,$0(0,96913,s)|0,Vt(l),r=1),g=A,r|0}function xW(){var r=0;r=e[46978]|0,r||(r=Te(1024)|0,e[46978]=r,e[46980]=r+1024),e[46979]=r,y[r>>0]=0}function pf0(){e[46992]=un(e[46942]|0,e[46978]|0)|0,y[e[46978]>>0]=0}function df(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;i=e[46979]|0,t=e[46978]|0,i>>>0>t>>>0&&(i=i+-1|0,n=3);e:for(;;){(n|0)==3&&(e[46979]=i),n=e[46980]|0,o=n;do if(l=r,r=r+1|0,l=y[l>>0]|0,s=i,i=i+1|0,y[s>>0]=l,!(l<<24>>24))break e;while(i>>>0>>0);e[46979]=i,n=t,s=o-n<<1,t=O2(t,s)|0,e[46978]=t,e[46980]=t+s,i=t+(i-n)|0,n=3}e[46979]=i}function kf0(){e[46992]=uf0(e[46942]|0,e[46978]|0)|0,y[e[46978]>>0]=0}function T9(){var r=0,t=0,i=0,n=0,o=0;for(o=e[46973]|0,n=e[46964]|0,t=(e[(e[e[46972]>>2]|0)+28>>2]|0)+(e[46971]|0)|0;!(n>>>0>=o>>>0);){r=y[n>>0]|0,r<<24>>24?r=e[18904+((r&255)<<2)>>2]|0:r=1,$[63856+(t<<1)>>1]|0&&(e[46974]=t,e[46975]=n);e:for(;;){i=r&255;do{if(r=i+($[64042+(t<<1)>>1]|0)|0,(t|0)==($[64252+(r<<1)>>1]|0))break e;r=$[64788+(t<<1)>>1]|0,t=r<<16>>16}while(r<<16>>16<=92);r=e[19928+(i<<2)>>2]|0}n=n+1|0,t=$[64998+(r<<1)>>1]|0}return t|0}function vf0(r){r=r|0;var t=0;for($[63856+(r<<1)>>1]|0&&(t=e[46973]|0,e[46974]=r,e[46975]=t);t=($[64042+(r<<1)>>1]|0)+1|0,(r|0)!=($[64252+(t<<1)>>1]|0);)r=$[64788+(r<<1)>>1]|0;return t=$[64998+(t<<1)>>1]|0,(t<<16>>16==92?0:t<<16>>16)|0}function mf0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;if(A=e[46972]|0,o=e[A>>2]|0,s=e[o+4>>2]|0,n=e[46964]|0,c=e[46973]|0,a=c,c>>>0>(s+((e[46977]|0)+1)|0)>>>0&&Cs(96674),l=a-n|0,!(e[o+40>>2]|0))r=(l|0)==1?1:2;else{for(c=l+-1|0,l=s,o=0;!((o|0)>=(c|0));)y[l>>0]=y[n>>0]|0,l=l+1|0,n=n+1|0,o=o+1|0;n=e[A>>2]|0;do if((e[n+44>>2]|0)==2)e[46977]=0,e[n+16>>2]=0,i=n,w=17;else{for(;;){if(s=n+12|0,l=e[s>>2]|0,o=l-c+-1|0,o|0){w=16;break}if(o=n+4|0,A=e[o>>2]|0,!(e[n+20>>2]|0)){w=12;break}if(n=l<<1,n=n|0?n:(l>>>3)+l|0,e[s>>2]=n,n=F9(A,n+2|0)|0,e[o>>2]=n,!n)break;A=n+(a-A)|0,e[46973]=A,n=e[e[46972]>>2]|0,a=A}if((w|0)==12)e[o>>2]=0;else if((w|0)==16)if(t=oe[e[e[(e[46967]|0)+8>>2]>>2]&63](e[46968]|0,(e[n+4>>2]|0)+c|0,o>>>0<8192?o:8192)|0,i=e[e[46972]>>2]|0,e[46977]=t,e[i+16>>2]=t,t){r=0;break}else{w=17;break}Cs(96730)}while(0);do if((w|0)==17)if(c){e[i+44>>2]=2,r=2,t=0;break}else{gf0(e[46962]|0),r=1,t=e[46977]|0,i=e[e[46972]>>2]|0;break}while(0);n=t+c|0;do if(n>>>0>(e[i+12>>2]|0)>>>0)if(w=F9(e[i+4>>2]|0,n+(t>>>1)|0)|0,t=e[46972]|0,e[(e[t>>2]|0)+4>>2]=w,t=e[(e[t>>2]|0)+4>>2]|0,!t)Cs(96774);else{p=e[46977]|0,v=t;break}else p=t,v=e[i+4>>2]|0;while(0);p=p+c|0,e[46977]=p,y[v+p>>0]=0,v=e[46972]|0,y[(e[(e[v>>2]|0)+4>>2]|0)+((e[46977]|0)+1)>>0]=0,e[46964]=e[(e[v>>2]|0)+4>>2]}return r|0}function Cs(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=e[15712]|0,e[t>>2]=r,A2(i,96670,t)|0,Va(2)}function F9(r,t){return r=r|0,t=t|0,O2(r,t)|0}function gf0(r){r=r|0;var t=0,i=0,n=0;i=e[46972]|0,i|0&&(t=e[i>>2]|0,(t|0)!=0)?n=4:(BW(),t=IW(e[46962]|0,16384)|0,i=e[46972]|0,e[i>>2]=t,i?n=4:t=0),SW(t,r),Q9()}function SW(r,t){r=r|0,t=t|0;var i=0;i=e[(kr()|0)>>2]|0,_W(r),e[r>>2]=t,e[r+40>>2]=1,t=e[46972]|0,t?t=e[t>>2]|0:t=0,(t|0)!=(r|0)&&(e[r+32>>2]=1,e[r+36>>2]=0),e[r+24>>2]=0,e[(kr()|0)>>2]=i}function _W(r){r=r|0;var t=0;r|0&&(e[r+16>>2]=0,t=r+4|0,y[e[t>>2]>>0]=0,y[(e[t>>2]|0)+1>>0]=0,e[r+8>>2]=e[t>>2],e[r+28>>2]=1,e[r+44>>2]=0,t=e[46972]|0,t?t=e[t>>2]|0:t=0,(t|0)==(r|0)&&Q9())}function yf0(){var r=0,t=0;for(t=e[46964]|0,r=(e[46965]|0)+-2|0;;){if((r|0)<=-1){r=0;break}if((y[t+r>>0]|0)==46){r=1;break}else r=r+-1|0}return r|0}function Cf0(r,t){r=r|0,t=t|0;var i=0;i=e[46981]|0,(i|0)<(t|0)?(i?i=O2(e[46982]|0,t+1|0)|0:i=Te(t+1|0)|0,e[46982]=i,e[46981]=t):i=e[46982]|0,yo(i,r)|0,e[46966]=e[46982]}function P9(r){return r=r|0,Te(r)|0}function zW(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=g,g=g+2112|0,a=c+32|0,s=c+24|0,l=c+16|0,o=c+8|0,n=c,t=c+56|0,A=c+40|0,Ot(A,1024,c+1080|0),i=e[46966]|0,i|0&&(t2(A,i)|0,t2(A,97027)|0),t2(A,r)|0,e[n>>2]=e[4725],Ke(t,97030,n)|0,t2(A,t)|0;e:do if(y[e[46964]>>0]|0)t2(A,97042)|0,t2(A,e[46964]|0)|0,t=A+4|0,r=e[t>>2]|0,r>>>0>=(e[A+8>>2]|0)>>>0&&(Xe(A,1)|0,r=e[t>>2]|0),e[t>>2]=r+1,y[r>>0]=39;else switch(((e[46971]|0)+-1|0)/2|0|0){case 2:{if(e[o>>2]=16384,Ke(t,97050,o)|0,t2(A,t)|0,r=e[46978]|0,!(y[r>>0]|0))break e;s=d2(r)|0,t2(A,97112)|0,r=e[46978]|0,(s|0)>80&&(y[r+80>>0]=0),t2(A,r)|0;break e}case 3:{if(e[l>>2]=16384,Ke(t,97131,l)|0,t2(A,t)|0,r=e[46978]|0,!(y[r>>0]|0))break e;s=d2(r)|0,t2(A,97199)|0,r=e[46978]|0,(s|0)>80&&(y[r+80>>0]=0),t2(A,r)|0;break e}case 1:{e[s>>2]=16384,Ke(t,97218,s)|0,t2(A,t)|0;break e}default:break e}while(0);i=A+4|0,r=e[i>>2]|0,t=A+8|0,r>>>0>=(e[t>>2]|0)>>>0&&(Xe(A,1)|0,r=e[i>>2]|0),e[i>>2]=r+1,y[r>>0]=10,r=e[i>>2]|0,r>>>0>=(e[t>>2]|0)>>>0&&(Xe(A,1)|0,r=e[i>>2]|0),y[r>>0]=0,s=e[A>>2]|0,e[i>>2]=s,e[a>>2]=s,$0(1,96913,a)|0,Vt(A),g=c}function Ef0(){Bf0(e[46964]|0)}function Bf0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;if(A=e[46973]|0,y[A>>0]=y[194805]|0,s=e[46972]|0,i=e[s>>2]|0,t=e[i+4>>2]|0,A>>>0<(t+2|0)>>>0){for(n=t+((e[46977]|0)+2)|0,o=t+((e[i+12>>2]|0)+2)|0,a=t,l=i;!(n>>>0<=a>>>0);)i=n+-1|0,a=o+-1|0,y[a>>0]=y[i>>0]|0,l=e[s>>2]|0,n=i,o=a,a=e[l+4>>2]|0;i=o-n|0,t=A+i|0,A=e[l+12>>2]|0,e[46977]=A,e[l+16>>2]=A,t>>>0<(a+2|0)>>>0?Cs(97277):(c=r+i|0,w=t)}else c=r,w=A;r=w+-1|0,y[r>>0]=64,e[46964]=c,y[194805]=y[r>>0]|0,e[46973]=r}function If0(){var r=0;r=e[46972]|0,r?r=e[r>>2]|0:r=0,_W(r)}function LW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return n=g,g=g+80|0,o=n,l=r+52|0,Lf0(r,e[l>>2]|0,18548),r=o+8|0,e[r>>2]=t,e[r+4>>2]=i,i=e[l>>2]|0,i=oe[e[i>>2]&63](i,o,4)|0,g=n,i|0}function xf0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return n=LW(r,t,i)|0,n||(n=Sn(r,72)|0,e[n+64>>2]=e[r+64>>2],o=n+24|0,l=e[r+24>>2]|0,e[o>>2]=l,y[o>>0]=l&255&-9,e[n+56>>2]=r,e[n+60>>2]=e[r+60>>2],r=n+8|0,e[r>>2]=t,e[r+4>>2]=i,lW(n)|0),n|0}function ji(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return l=g,g=g+16|0,o=l,t|0&&cf(r,0,t,o,0)|0&&(n=o,n=LW(r,e[n>>2]|0,e[n+4>>2]|0)|0,(n|0)!=0)||(i|0&&cf(r,0,t,o,1)|0?(n=o,n=xf0(r,e[n>>2]|0,e[n+4>>2]|0)|0,Sd(r,0,n)):n=0),g=l,n|0}function yt(r){return r=r|0,r=e[r+52>>2]|0,oe[e[r>>2]&63](r,0,128)|0}function Ct(r){r=r|0;var t=0;return t=D1(r)|0,t?(t=e[t+52>>2]|0,r=oe[e[t>>2]&63](t,r,8)|0):r=0,r|0}function D1(r){return r=r|0,e[r+56>>2]|0}function RW(r,t){return r=r|0,t=t|0,r=e[r+52>>2]|0,oe[e[r>>2]&63](r,t,2)|0}function Sf0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,r=e[46984]|0,n=(t|0)!=0;do if(r)if(n){_n(r,t),r=0;break}else{r=Sn(r,i)|0;break}else if(n){r0(t),r=0;break}else{r=Te(i)|0;break}while(0);return r|0}function _f0(r,t,i){r=r|0,t=t|0,i=i|0,r=e[46984]|0,r?_n(r,t):r0(t)}function ho(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=t+28|0,o=e[n>>2]|0,e[n>>2]=7,e[46984]=r,i=at(t,i)|0,e[n>>2]=o,e[46984]=0,i|0}function zf0(r,t,i){return r=r|0,t=t|0,i=i|0,e[46984]=r,oe[e[t>>2]&63](t,i,2)|0}function Es(r,t){r=r|0,t=t|0;var i=0,n=0;return i=(sh(t,0,0)|0)+28|0,n=e[i>>2]|0,e[i>>2]=7,e[46984]=r,Fr(t)|0?r=1:(e[i>>2]=n,e[46984]=0,r=0),r|0}function Lf0(r,t,i){r=r|0,t=t|0,i=i|0,i|0&&(sh(t,0,0)|0)!=(i|0)&&sh(t,i,0)|0}function Rf0(r,t){return r=r|0,t=t|0,Rl(r)|0?Gf0(r,t)|0:t=GW(r,t)|0,t|0}function Gf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(y[t>>0]=60,n=t;i=n+1|0,o=y[r>>0]|0,!!(o<<24>>24);)y[i>>0]=o,r=r+1|0,n=i;return y[i>>0]=62,y[n+2>>0]=0,t|0}function GW(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;e:do if(r|0&&y[r>>0]|0){y[t>>0]=34,c=y[r>>0]|0,E=0,o=((c+-45&255)<2|((c&255)+-48|0)>>>0<10)&1,l=0,s=0,A=0,i=t+1|0,n=r+1|0;r:for(;;){for(a=i;;){if(!(c<<24>>24))break r;i=c&255;t:do if(c<<24>>24==34)y[a>>0]=92,w=o,p=1,a=a+1|0;else{if(!o){p=c<<24>>24>-1&(c<<24>>24!=95&(jf(i)|0)==0),w=0,p=p?1:l;break}switch(c<<24>>24){case 45:{p=(A|0)==0,w=p?o:0,p=p?l:1;break t}case 46:{p=(s|0)==0,w=p?o:0,p=p?l:1,s=s+1|0;break t}default:{p=(i+-48|0)>>>0<10,w=p?o:0,p=p?l:1;break t}}}while(0);if(i=a+1|0,y[a>>0]=c,m=n+1|0,v=y[n>>0]|0,A=A+1|0,n=e[5031]|0,!n){o=w,l=p,a=i,n=m,c=v;continue}if(o=v&255,l=v<<24>>24!=0,E&l&&!(c<<24>>24==92|c<<24>>24>-1&((c+-45&255)>1&(jf(c<<24>>24)|0)==0)^1)&&!(v<<24>>24>-1&((v+-45&255)>1&(jf(o)|0)==0)))break;if((A|0)<(n|0)|l^1){o=w,l=p,a=i,n=m,c=v;continue}if(c<<24>>24==92|c<<24>>24>-1&((jf(c<<24>>24)|0)==0&(c+-45&255)>1)^1){E=1,o=w,l=p,c=v,n=m;continue r}if(v<<24>>24>-1&((v+-45&255)>1&(jf(o)|0)==0)){E=1,o=w,l=p,c=v,n=m;continue r}y[i>>0]=92,y[a+2>>0]=10,o=w,l=1,A=0,a=a+3|0,n=m,c=v}y[i>>0]=92,y[a+2>>0]=10,E=0,o=w,l=1,A=0,c=v,i=a+3|0,n=m}if(y[a>>0]=34,y[a+1>>0]=0,l)r=t;else{if((A|0)==1&&((y[r>>0]|0)+-45&255)<2){r=t;break}else i=20128;for(;;){if(n=e[i>>2]|0,!n)break e;if(De(n,r)|0)i=i+4|0;else{r=t;break}}}}else r=97309;while(0);return r|0}function nc(r){return r=r|0,Rf0(r,ZW(r)|0)|0}function ZW(r){r=r|0;var t=0;return t=((d2(r)|0)<<1)+2|0,t=t>>>0>1024?t:1024,r=e[46986]|0,t>>>0>(e[46985]|0)>>>0&&(r?r=O2(r,t)|0:r=Te(t)|0,e[46986]=r,e[46985]=t),r|0}function Zf0(r,t){for(r=r|0,t=t|0,r=yt(r)|0;;){if(!r){r=0;break}if(!(Y9(r)|0)&&ct(r,t,0)|0){r=1;break}r=Ct(r)|0}return r|0}function Y9(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;l=te(r)|0,l|0&&(y[l>>0]|0)!=37?t=0:i=3;e:do if((i|0)==3){t=Hn(r)|0;r:do if(t|0&&(n=Hn(D1(r)|0)|0,n|0))for(l=sn(e[(Hn(a2(r)|0)|0)+8>>2]|0)|0,o=t+12|0,i=n+12|0,t=0;;){if((t|0)>=(l|0))break r;if(n=e[(e[o>>2]|0)+(t<<2)>>2]|0,n|0&&(s=e[(e[i>>2]|0)+(t<<2)>>2]|0,s|0)&&ge(n,s)|0){t=0;break e}t=t+1|0}while(0);if(t=vs(r,0)|0,t)if((sn(e[t+8>>2]|0)|0)>0)t=0;else return(sn(e[t+12>>2]|0)|0)<1|0;else t=1}while(0);return t|0}function WW(r,t){r=r|0,t=t|0;var i=0,n=0;return e[46987]=0,i=he(r,97319)|0,i|0&&((y[i>>0]|0)+-48|0)>>>0<10&&(n=Dk(i,0,10)|0,(n|0)==0|(n|0)>59)&&(e[5031]=n),DW(r,1),(MW(r,t,1)|0)!=-1&&(jW(r,t)|0)!=-1&&(NW(r,t)|0)!=-1?(e[5031]=128,r=nr[e[(e[(e[r+64>>2]|0)+8>>2]|0)+8>>2]&63](t)|0):r=-1,r|0}function DW(r,t){r=r|0,t=t|0;var i=0;for(e[r>>2]=e[r>>2]&-9,i=yt(r)|0;i;)DW(i,0),i=Ct(i)|0;e:do if(t|0)for(t=U0(r)|0;;){if(!t)break e;for(e[t>>2]=e[t>>2]&-9,i=Me(r,t)|0;i;)e[i>>2]=e[i>>2]&-9,i=Qe(r,i)|0;t=X0(r,t)|0}while(0)}function MW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;!(i|0)&&D1(r)|0?(s=0,o=195059,a=109514):(a=y[r+24>>0]&1?97363:195059,o=(Id(r)|0)==0,e[46988]=re(r,2,111455,0)|0,e[46989]=re(r,2,111464,0)|0,s=1,o=o?195059:97366),n=te(r)|0,n|0&&(y[n>>0]|0)!=37?(l=1,A=102604):(l=0,A=195059,n=195059);do if((Bs(r,t)|0)!=-1&&(Et(r,t,o)|0)!=-1){if(o=(l|0)==0,l|s|0){if((Et(r,t,a)|0)==-1){n=-1;break}if((Et(r,t,102597)|0)==-1){n=-1;break}}if(!o&&(yA(r,t,n)|0)==-1){n=-1;break}(Et(r,t,A)|0)!=-1&&(Et(r,t,97374)|0)!=-1&&(e[46987]=(e[46987]|0)+1,(Qf0(r,t,i)|0)!=-1)?(e[r>>2]=e[r>>2]|8,n=0):n=-1}else n=-1;while(0);return n|0}function jW(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;e:do if((QW(r,t)|0)==-1)i=-1;else for(c=vs(a2(r)|0,0)|0,A=(c|0)==0,a=c+12|0,c=c+8|0,s=U0(r)|0;;){if(!s){i=0;break e}if(TW(r,s,(e[s>>2]|0)>>>4,0)|0&&(A?i=0:i=e[c>>2]|0,(FW(s,t,i)|0)==-1)){i=-1;break e}for(l=Me(r,s)|0,i=s;l;){if(o=l+-48|0,n=e[((e[l>>2]&3|0)==2?l:o)+40>>2]|0,(i|0)!=(n|0)&&TW(r,n,(e[s>>2]|0)>>>4,0)|0){if(A?i=0:i=e[c>>2]|0,(FW(e[((e[l>>2]&3|0)==2?l:o)+40>>2]|0,t,i)|0)==-1){i=-1;break e}i=e[((e[l>>2]&3|0)==2?l:o)+40>>2]|0}if(Wf0(r,l)|0&&(A?n=0:n=e[a>>2]|0,(Df0(l,t,n)|0)==-1)){i=-1;break e}l=Qe(r,l)|0}s=X0(r,s)|0}while(0);return i|0}function NW(r,t){return r=r|0,t=t|0,e[46987]=(e[46987]|0)+-1,(Bs(r,t)|0)==-1?r=-1:r=((Et(r,t,111008)|0)==-1)<<31>>31,r|0}function Bs(r,t){r=r|0,t=t|0;var i=0;for(i=e[46987]|0;;){if((i|0)<=0){i=0;break}if((Et(r,t,153597)|0)==-1){i=-1;break}else i=i+-1|0}return i|0}function Et(r,t,i){return r=r|0,t=t|0,i=i|0,ke[e[(e[(e[r+64>>2]|0)+8>>2]|0)+4>>2]&127](t,i)|0}function QW(r,t){for(r=r|0,t=t|0,r=yt(r)|0;;){if(!r){r=0;break}if(Y9(r)|0)QW(r,t)|0;else{if((MW(r,t,0)|0)==-1){r=-1;break}if((jW(r,t)|0)==-1){r=-1;break}if((NW(r,t)|0)==-1){r=-1;break}}r=Ct(r)|0}return r|0}function TW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return!(Zf0(r,t)|0)&&Mf0(r,t,i,n)|0?!(jf0(r,t)|0)&&!(Nf0(t)|0)?o=5:r=1:o=5,(o|0)==5&&(r=0),r|0}function FW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=We(r)|0;do if((Bs(n,t)|0)!=-1&&(O9(r,t)|0)!=-1){if(!(YW(r)|0)&&(OW(r,t,i)|0)==-1){r=-1;break}r=Et(n,t,97330)|0}else r=-1;while(0);return r|0}function Wf0(r,t){for(r=r|0,t=t|0,r=yt(r)|0;;){if(!r){r=1;break}if(!(Y9(r)|0)&&gs(r,t,0)|0){r=0;break}r=Ct(r)|0}return r|0}function Df0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=e[r>>2]&3,l=e[((n|0)==3?r:r+48|0)+40>>2]|0,n=e[((n|0)==2?r:r+-48|0)+40>>2]|0,o=We(l)|0;do if((Bs(o,t)|0)!=-1&&(O9(l,t)|0)!=-1&&(PW(r,t,e[46988]|0)|0)!=-1&&(l=(d1(We(l)|0)|0)!=0,(Et(o,t,l?100079:100084)|0)!=-1)&&(O9(n,t)|0)!=-1&&(PW(r,t,e[46989]|0)|0)!=-1){if(YW(r)|0){if((VW(r,t,1)|0)==-1){r=-1;break}}else if((OW(r,t,i)|0)==-1){r=-1;break}r=Et(o,t,97330)|0}else r=-1;while(0);return r|0}function O9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;return A=g,g=g+32|0,l=A,i=A+8|0,n=te(r)|0,o=We(r)|0,n?(yA(o,t,n)|0)==-1?r=-1:s=4:(a=r+8|0,r=e[a+4>>2]|0,n=l,e[n>>2]=e[a>>2],e[n+4>>2]=r,Ke(i,97350,l)|0,(Et(o,t,i)|0)==-1?r=-1:s=4),(s|0)==4&&(r=0),g=A,r|0}function PW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;e:do if(i|0&&(n=We(r)|0,o=k2(r,i)|0,(y[o>>0]|0)!=0))if((Et(n,t,107984)|0)==-1)r=-1;else{do if(Rl(o)|0){if((yA(n,t,o)|0)==-1){r=-1;break e}}else{if(r=Zr(o,58)|0,!r)if((Ld(n,t,o,0)|0)==-1){r=-1;break e}else break;if(y[r>>0]=0,(Ld(n,t,o,0)|0)==-1){r=-1;break e}if((Et(n,t,107984)|0)==-1){r=-1;break e}if((Ld(n,t,r+1|0,0)|0)==-1){r=-1;break e}y[r>>0]=58}while(0);r=0}else r=0;while(0);return r|0}function YW(r){return r=r|0,(e[r>>2]|0)>>>3&1|0}function OW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;e:do if(!(e[r>>2]&2))n=0,c=4;else{switch(VW(r,t,0)|0){case-1:{n=-1;break e}case 0:{n=0,c=4;break e}default:}n=1,c=4}while(0);e:do if((c|0)==4){o=Hn(r)|0,a=We(r)|0;r:do if(o)for(A=o+12|0,s=oe[e[i>>2]&63](i,0,128)|0;;){if(!s)break r;do if(e[r>>2]&2){if(l=e[46988]|0,l|0&&(e[s+16>>2]|0)==(e[l+16>>2]|0))break;l=e[46989]|0,l|0&&(e[s+16>>2]|0)==(e[l+16>>2]|0)||(c=12)}else c=12;while(0);if((c|0)==12&&(c=0,o=s+16|0,(e[(e[A>>2]|0)+(e[o>>2]<<2)>>2]|0)!=(e[s+12>>2]|0))){if(l=n+1|0,n){if((Et(a,t,97345)|0)==-1){n=-1;break e}if((Bs(a,t)|0)==-1){n=-1;break e}}else{if((Bs(a,t)|0)==-1){n=-1;break e}if((Et(a,t,97342)|0)==-1){n=-1;break e}e[46987]=(e[46987]|0)+1}if((yA(a,t,e[s+8>>2]|0)|0)==-1){n=-1;break e}if((Et(a,t,97348)|0)==-1){n=-1;break e}if((yA(a,t,e[(e[A>>2]|0)+(e[o>>2]<<2)>>2]|0)|0)==-1){n=-1;break e}else n=l}s=oe[e[i>>2]&63](i,s,8)|0}while(0);if((n|0)>0){if((Et(a,t,97340)|0)==-1){n=-1;break}e[46987]=(e[46987]|0)+-1}e[r>>2]=e[r>>2]|8,n=0}while(0);return n|0}function VW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=te(r)|0,r=We(r)|0,n|0&&y[n>>0]|0?(Et(r,t,97333)|0)!=-1&&(yA(r,t,n)|0)!=-1?i|0&&(Et(r,t,97340)|0)==-1?r=-1:(r=1,o=7):r=-1:(r=0,o=7),r|0}function yA(r,t,i){return r=r|0,t=t|0,i=i|0,Ld(r,t,i,1)|0}function Ld(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,n?i=nc(i)|0:i=GW(i,ZW(i)|0)|0,Et(r,t,i)|0}function Mf0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;e:do if(0>>0|(n|0?0:(e[t>>2]|0)>>>4>>>0>>0))t=0;else for(t=Xo(r,t)|0;;){if(!t){t=1;break e}if(0>>0|(n|0?0:(e[e[t+40>>2]>>2]|0)>>>4>>>0>>0)){t=0;break e}t=ms(r,t)|0}while(0);return t|0}function jf0(r,t){return r=r|0,t=t|0,Xo(r,t)|0?r=0:r=(Me(r,t)|0)==0&1,r|0}function Nf0(r){r=r|0;var t=0,i=0,n=0;r=Hn(r)|0;e:do if(!r)r=0;else for(i=r+8|0,n=e[i>>2]|0,t=r+12|0,r=oe[e[n>>2]&63](n,0,128)|0;;){if(!r){r=0;break e}if((e[(e[t>>2]|0)+(e[r+16>>2]<<2)>>2]|0)!=(e[r+12>>2]|0)){r=1;break e}n=e[i>>2]|0,r=oe[e[n>>2]&63](n,r,8)|0}while(0);return r|0}function Qf0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=vs(r,0)|0,n?(V9(r,t,111494,e[n+16>>2]|0,i)|0)!=-1&&(V9(r,t,111481,e[n+8>>2]|0,i)|0)!=-1&&(V9(r,t,111450,e[n+12>>2]|0,i)|0)!=-1?o=5:r=-1:o=5,(o|0)==5&&(r=0),r|0}function V9(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(w=(o|0)!=0,w?c=0:c=mA(n,0)|0,a=(c|0)==0,A=oe[e[n>>2]&63](n,0,128)|0,o=0;;){if(!A){p=23;break}s=A+12|0,p=e[s>>2]|0,p|0&&y[p>>0]|0?p=12:p=7;do if((p|0)==7){if(p=0,y[A+22>>0]|0)p=12;else if(!a){if(l=oe[e[c>>2]&63](c,A,4)|0,v=e[l+12>>2]|0,v|0&&y[v>>0]|0){p=12;break}y[l+22>>0]|0||(p=12)}}while(0);if((p|0)==12){if(p=0,l=o+1|0,o){if((Et(r,t,97345)|0)==-1){o=-1;break}if((Bs(r,t)|0)==-1){o=-1;break}}else{if((Bs(r,t)|0)==-1){o=-1;break}if((Et(r,t,i)|0)==-1){o=-1;break}if((Et(r,t,97342)|0)==-1){o=-1;break}e[46987]=(e[46987]|0)+1}if((yA(r,t,e[A+8>>2]|0)|0)==-1){o=-1;break}if((Et(r,t,97348)|0)==-1){o=-1;break}if((yA(r,t,e[s>>2]|0)|0)==-1){o=-1;break}else o=l}A=oe[e[n>>2]&63](n,A,8)|0}do if((p|0)==23){if((o|0)>0){if(e[46987]=(e[46987]|0)+-1,(o|0)!=1){if((Et(r,t,153599)|0)==-1){o=-1;break}if((Bs(r,t)|0)==-1){o=-1;break}}if(o=(Et(r,t,97377)|0)==-1,w|o){o=o<<31>>31;break}}else if(w){o=0;break}mA(n,c)|0,o=0}while(0);return o|0}function oc(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(e[t>>2]&3){case 0:{l=82;break}case 1:{l=83;break}case 3:case 2:{l=84;break}default:}return t=ke[l&127](r,t)|0,t?(HW(r,t,i,n,l,o),t=0):t=-1,t|0}function Tf0(r,t){return r=r|0,t=t|0,(We(t)|0)!=(r|0)&&(t=gs(r,t,0)|0),t|0}function Ff0(r,t){return r=r|0,t=t|0,(We(t)|0)!=(r|0)&&(t=ct(r,t,0)|0),t|0}function Pf0(r,t){return r=r|0,t=t|0,r|0}function HW(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0;for(A=(l|0)!=0,A&&cr[i&127](r,t,n),s=yt(r)|0;s;)a=ke[o&127](s,t)|0,a|0&&HW(s,a,i,n,o,l),s=Ct(s)|0;A||cr[i&127](r,t,n)}function Yf0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+1200|0,v=E+800|0,i=E,e[46990]=0,e[46991]=-2,t=v,o=200,a=i,w=0,p=0,c=v;e:for(;;){if($[c>>1]=w,(t+(o<<1)+-2|0)>>>0>c>>>0)s=o;else{if(A=c-t>>1,r=A+1|0,o>>>0>9999){m=75;break}switch(s=o<<1,s=s>>>0<1e4?s:1e4,n=Te(s*6|3)|0,n?(u2(n|0,t|0,r<<1|0)|0,o=n+(s>>>1<<2)|0,u2(o|0,a|0,r<<2|0)|0,(t|0)==(v|0)?(r=0,t=n):(r0(t),r=0,t=n)):(r=4,o=a),l=(r|0)==0,n=t+(A<<1)|0,(l?(t+(s<<1)+-2|0)>>>0>n>>>0?0:9:r)&15){case 9:{r=1,m=76;break e}case 4:{m=75;break e}case 0:{i=l?o+(A<<2)|0:i,a=o,c=l?n:c;break}default:{r=0;break e}}}if((w|0)==6){r=0,m=76;break}r=y[97381+w>>0]|0,l=r<<24>>24;do if(r<<24>>24!=-18)if(n=e[46991]|0,(n|0)==-2&&(n=hf0()|0,e[46991]=n),(n|0)>=1?n>>>0<269?o=s0[97461+n>>0]|0:o=2:(e[46991]=0,o=0),n=o+l|0,n>>>0<=59&&(o|0)==(s0[97730+n>>0]|0))if(w=y[97790+n>>0]|0,r=w<<24>>24,w<<24>>24<1){n=0-r|0,m=23;break}else{e[46991]=-2,i=i+4|0,e[i>>2]=e[46992],l=p|0?p+-1|0:0,n=c;break}else m=22;else m=22;while(0);if((m|0)==22)if(m=0,w=y[97850+w>>0]|0,n=w&255,w<<24>>24)m=23;else{n=e[46991]|0;r:do switch(p|0){case 0:{e[46990]=(e[46990]|0)+1,zW(143761),n=c;break}case 3:if((n|0)<1)if(n){n=c;break r}else{r=1,m=76;break e}else{e[46991]=-2,n=c;break r}default:n=c}while(0);for(;r<<24>>24!=18;){if((n|0)==(t|0)){r=1,m=76;break e}r=n+-2|0,i=i+-4|0,n=r,r=y[97381+($[r>>1]|0)>>0]|0}i=i+4|0,e[i>>2]=e[46992],r=1,l=3}do if((m|0)==23){m=0,o=s0[97930+n>>0]|0,r=e[i+(1-o<<2)>>2]|0;r:do switch(n|0){case 2:{JW(),UW();break}case 3:{e[46993]|0&&(JW(),UW(),Di(e[46993]|0)|0,e[46942]=0,e[46993]=0);break}case 6:{Of0(e[i>>2]|0,e[i+-4>>2]|0,e[i+-8>>2]|0);break}case 7:{r=e[i>>2]|0;break}case 8:{r=0;break}case 9:{r=1;break}case 10:{r=0;break}case 11:{r=0;break}case 12:{r=1;break}case 21:if(e[i+-4>>2]|0){Vf0();break r}else{Hf0();break r}case 24:{XW();break}case 25:{XW();break}case 26:{r=1;break}case 27:{r=0;break}case 30:{H9(e[i>>2]|0,0,0);break}case 31:{H9(e[i+-8>>2]|0,e[i>>2]|0,0);break}case 32:{H9(e[i+-16>>2]|0,e[i+-8>>2]|0,e[i>>2]|0);break}case 33:{qW(e[i+-8>>2]|0,e[i+-4>>2]|0);break}case 34:{qW(258,0);break}case 35:{r=258;break}case 36:{r=259;break}case 37:{r=260;break}case 38:{r=e[i+-4>>2]|0;break}case 39:{r=0;break}case 48:{$W(e[i+-8>>2]|0,e[i>>2]|0);break}case 49:{$W(e[i>>2]|0,0);break}case 51:{Jf0(e[i>>2]|0);break}case 52:{Uf0();break}case 53:{r=e[i>>2]|0;break}case 54:{r=0;break}case 55:{r=0;break}case 59:{r=e[i>>2]|0;break}case 60:{r=e[i>>2]|0;break}case 61:{r=e[i>>2]|0;break}case 62:{r=Xf0(e[i+-8>>2]|0,e[i>>2]|0)|0;break}default:}while(0);if(o=0-o|0,w=i+(o<<2)|0,o=c+(o<<1)|0,i=w+4|0,e[w+4>>2]=r,r=(s0[97993+n>>0]|0)+-24|0,w=$[o>>1]|0,n=w+(y[98056+r>>0]|0)|0,n>>>0<60&&(s0[97730+n>>0]|0)==(w|0)){r=y[97790+n>>0]|0,l=p,n=o;break}r=y[98091+r>>0]|0,l=p,n=o}while(0);o=s,w=r,p=l,c=n+2|0}return(m|0)==75&&(zW(140558),r=2,m=76),(m|0)==76&&(t|0)!=(v|0)&&r0(t),g=E,r|0}function JW(){var r=0,t=0;for(r=e[46994]|0;r;)Gl(r+8|0),Gl((e[46994]|0)+24|0),Gl((e[46994]|0)+16|0),t=KW(e[46994]|0)|0,e[46994]=t,r=t}function UW(){Ef0(),ju0(e[46993]|0)}function Of0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+16|0,o=l,n=e[46993]|0,n||(y[187980]=t&1|(i&255)<<1&2|y[187980]&-12|8,n=e[46996]|0,y[o>>0]=y[187980]|0,y[o+1>>0]=y[187981]|0,y[o+2>>0]=y[187982]|0,y[o+3>>0]=y[187983]|0,n=w1(r,o,n)|0,e[46993]=n),e[46942]=n,e[46994]=bW(e[46994]|0,n)|0,Ai(0,r)|0,g=l}function Vf0(){var r=0,t=0,i=0,n=0,o=0,l=0;for(U9(2),i=e[46994]|0,n=y[98126]|0,l=0,r=i+24|0;t=e[r>>2]|0,!!t;)(e[t>>2]|0)==267&&(o=e[t+4>>2]|0,(y[o>>0]|0)==n<<24>>24)&&!(ge(o,98126)|0)?r=e[t+8>>2]|0:r=l,l=r,r=t+12|0;r=i+16|0;e:for(;i=e[r>>2]|0,r=i+12|0,!!(e[r>>2]|0);)if(t=i+4|0,(e[i>>2]|0)==262)for(i=e[t>>2]|0,t=U0(i)|0;;){if(!t)continue e;o=ct(e[e[46994]>>2]|0,t,0)|0,iD(o,0,e[r>>2]|0,l),t=X0(i,t)|0}else for(;;){if(t=e[t>>2]|0,!t)continue e;iD(e[t+4>>2]|0,e[t+8>>2]|0,e[r>>2]|0,l),t=t+12|0}Gl((e[46994]|0)+8|0),Gl((e[46994]|0)+16|0),Gl((e[46994]|0)+24|0),e[(e[46994]|0)+4>>2]=0}function Hf0(){var r=0;for(U9(1),r=(e[46994]|0)+8|0;r=e[r>>2]|0,!!r;)tD(e[r+4>>2]|0),r=r+12|0;Gl((e[46994]|0)+8|0),Gl((e[46994]|0)+24|0),Gl((e[46994]|0)+16|0),e[(e[46994]|0)+4>>2]=0}function XW(){var r=0,t=0;r=e[46994]|0,t=e[r+8>>2]|0,t?(t=bf0(t)|0,r=e[46994]|0,e[r+12>>2]=0,e[r+8>>2]=0):(t=e[r+4>>2]|0,t?(t=ea0(t)|0,r=e[46994]|0):t=0,e[r+4>>2]=0),t|0&&J9(r+16|0,t)}function H9(r,t,i){r=r|0,t=t|0,i=i|0,i&&(t=$f0(t,i)|0),i=Kf0(ht(e[e[46994]>>2]|0,r,1)|0,t)|0,J9((e[46994]|0)+8|0,i),Ai(e[46993]|0,r)|0}function qW(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(t|0&&eD(),t=(e[46994]|0)+24|0;t=e[t>>2]|0,!!t;)e[t+8>>2]|0||eD(),t=t+12|0;for(o=(r|0)==260?2:(r|0)==259&1,U9(o),r=e[46994]|0,t=r+24|0;n=e[t>>2]|0,!!n;){do if((e[n>>2]|0)!=267){if(t=e[n+4>>2]|0,i=e[r>>2]|0,!((y[t+21>>0]|0)!=0&(i|0)==(e[46993]|0))&&(t=re(i,o,e[t+8>>2]|0,e[n+8>>2]|0)|0,r=e[46994]|0,(e[r>>2]|0)!=(e[46993]|0)))break;y[t+22>>0]=1}while(0);t=n+12|0}Gl(r+24|0)}function $W(r,t){r=r|0,t=t|0,t=qf0(r,t)|0,J9((e[46994]|0)+24|0,t)}function Jf0(r){r=r|0;var t=0;t=e[46994]|0,e[46994]=bW(t,ji(e[t>>2]|0,r,1)|0)|0,Ai(e[46993]|0,r)|0}function Uf0(){var r=0,t=0;r=e[46994]|0,t=e[r>>2]|0,r=KW(r)|0,e[46994]=r,e[r+4>>2]=t}function Xf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+1024|0,o=l,i=d2(r)|0,i=i+1+(d2(t)|0)|0,i>>>0<1025?i=o:i=Te(i)|0,yo(i,r)|0,Tf(i,t)|0,n=un(e[46993]|0,i)|0,Ai(e[46993]|0,r)|0,Ai(e[46993]|0,t)|0,(i|0)!=(o|0)&&r0(i),g=l,n|0}function KW(r){r=r|0;var t=0;return t=e[(e[46994]|0)+32>>2]|0,_n(e[46993]|0,r),t|0}function bW(r,t){r=r|0,t=t|0;var i=0;return i=Sn(e[46993]|0,36)|0,e[i+32>>2]=r,e[i>>2]=t,i|0}function qf0(r,t){return r=r|0,t=t|0,Rd(267,r,t)|0}function J9(r,t){r=r|0,t=t|0;var i=0,n=0;i=r+4|0,n=e[i>>2]|0,n|0&&(e[n+12>>2]=t),e[i>>2]=t,e[r>>2]|0||(e[r>>2]=t)}function Rd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=Sn(e[46993]|0,16)|0,e[n>>2]=r,e[n+4>>2]=t,e[n+8>>2]=i,n|0}function eD(){var r=0;r=g,g=g+16|0,$0(0,98130,r)|0,g=r}function U9(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=(r|0)==2,t=(e[46994]|0)+24|0;t=e[t>>2]|0,!!t;)i=t+4|0,n=e[i>>2]|0,o&&(y[n>>0]|0)==(y[98126]|0)&&!(ge(n,98126)|0)||(l=re(e[e[46994]>>2]|0,r,n,0)|0,e[i>>2]=l,l||(e[i>>2]=re(e[e[46994]>>2]|0,r,n,195059)|0),e[t>>2]=266,Ai(e[46993]|0,n)|0),t=t+12|0}function Gl(r){r=r|0,rD(e[r>>2]|0),e[r+4>>2]=0,e[r>>2]=0}function rD(r){r=r|0;for(var t=0;r;){switch(t=e[r+12>>2]|0,e[r>>2]|0){case 265:{rD(e[r+4>>2]|0);break}case 266:case 267:{Ai(e[46993]|0,e[r+8>>2]|0)|0;break}default:}_n(e[46993]|0,r),r=t}}function $f0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return s=g,g=g+1040|0,o=s,l=s+8|0,i=d2(r)|0,i=i+2+(d2(t)|0)|0,i>>>0<1025?n=l:n=Te(i)|0,e[o>>2]=r,e[o+4>>2]=t,Ke(n,98163,o)|0,i=un(e[46993]|0,n)|0,Ai(e[46993]|0,r)|0,Ai(e[46993]|0,t)|0,(n|0)!=(l|0)&&r0(n),g=s,i|0}function Kf0(r,t){return r=r|0,t=t|0,Rd(259,r,t)|0}function bf0(r){return r=r|0,Rd(265,r,0)|0}function ea0(r){return r=r|0,Rd(262,r,0)|0}function tD(r){r=r|0;var t=0,i=0;for(t=(e[46994]|0)+24|0;t=e[t>>2]|0,!!t;)(e[t>>2]|0)==266&&(i=e[t+4>>2]|0,i|0)&&Er(r,i,e[t+8>>2]|0)|0,t=t+12|0}function iD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;o=i+4|0;e:do if((e[i>>2]|0)==262)for(i=e[o>>2]|0,o=U0(i)|0;;){if(!o)break e;nD(r,t,ct(e[e[46994]>>2]|0,o,0)|0,0,n),o=X0(i,o)|0}else for(;;){if(o=e[o>>2]|0,!o)break e;i=ct(e[e[46994]>>2]|0,e[o+4>>2]|0,0)|0,nD(r,t,i,e[o+8>>2]|0,n),o=o+12|0}while(0)}function nD(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;i=rr(e[e[46994]>>2]|0,r,i,o,1)|0,i|0&&(l=e[i>>2]&3,o=e[((l|0)==2?i:i+-48|0)+40>>2]|0,r=(o|0)==(r|0)?(e[((l|0)==3?i:i+48|0)+40>>2]|0)!=(o|0):0,oD(i,111455,r?n:t),oD(i,111464,r?t:n),tD(i))}function oD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;i|0&&(n=re(e[e[46994]>>2]|0,2,t,0)|0,n||(n=re(e[e[46994]>>2]|0,2,t,195059)|0),Er(r,n,i)|0)}function ra0(r,t,i){return r=r|0,t=t|0,i=i|0,e[46962]=t,e[46993]=r,e[46942]=0,r=i|0?i:18600,e[46996]=r,cf0(r,t),Yf0()|0,r=e[46942]|0,r||(If0(),r=e[46942]|0),r|0}function X9(r,t){return r=r|0,t=t|0,ra0(0,r,t)|0}function ta0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+16|0,A=a+8|0,s=a,t=e[r+76>>2]|0,n=e[r>>2]|0,t|0&&(i=e[t>>2]|0,(i|0)!=0)?(l2[i&127](r),o=12):o=4;do if((o|0)==4)if(!(e[r+40>>2]|0)&&(l=r+36|0,(e[l>>2]|0)==0)){if(y[n+13>>0]|0&&ia0(r),t=r+32|0,i=e[t>>2]|0,!i){e[l>>2]=e[15679],o=12;break}n=A8(i,106512)|0,e[l>>2]=n,n?o=12:(A=e[(e[r+12>>2]|0)+16>>2]|0,l=e[t>>2]|0,t=n8(e[(kr()|0)>>2]|0)|0,e[s>>2]=l,e[s+4>>2]=t,Bt[A&63](98169,s),t=1)}else o=12;while(0);return(o|0)==12&&(e[r+152>>2]&1024?(Bt[e[(e[r+12>>2]|0)+16>>2]&63](98207,A),t=1):t=0),g=a,t|0}function ia0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(l=g,g=g+112|0,i=l,o=l+4|0,t=e[r+24>>2]|0,t?(e[i>>2]=t+1,Ke(o,98225,i)|0):y[o>>0]=0,i=e[r+20>>2]|0,i=i|0?i:98229,t=d2(i)|0,s=d2(o)|0,n=r+52|0,s=t+1+s+(d2(e[n>>2]|0)|0)|0,t=s+11|0,(e[46997]|0)>>>0<(s+1|0)>>>0?(e[46997]=t,t=O2(e[46998]|0,t)|0,e[46998]=t):t=e[46998]|0,yo(t,i)|0,Tf(e[46998]|0,o)|0,t=e[46998]|0,t=t+(d2(t)|0)|0,y[t>>0]=46,y[t+1>>0]=0,t=C2(e[n>>2]|0)|0,n=e[46998]|0;i=yY(t,58)|0,!!i;)Tf(n,i+1|0)|0,s=e[46998]|0,o=s+(d2(s)|0)|0,y[o>>0]=46,y[o+1>>0]=0,y[i>>0]=0,n=s;Tf(n,t)|0,r0(t),e[r+32>>2]=e[46998],g=l}function CA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return s=g,g=g+16|0,l=s+8|0,o=s,(t|0)!=0&(i|0)!=0?(e[r+152>>2]&1024|0&&(Bt[e[(e[r+12>>2]|0)+16>>2]&63](98207,o),Va(1)),(na0(r,t,i)|0)==(i|0)?n=i:(o=e[(e[r+12>>2]|0)+16>>2]|0,e[l>>2]=i,Bt[o&63](98239,l),Va(1))):n=0,g=s,n|0}function na0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+16|0,w=p,n=e[(e[r>>2]|0)+104>>2]|0;do if(n)i=oe[n&63](r,t,i)|0;else{if(A=r+40|0,l=e[A>>2]|0,!l){i=cn(t,1,i,e[r+36>>2]|0)|0;break}n=r+44|0,s=r+48|0,o=e[s>>2]|0;do if(((e[n>>2]|0)+-1-o|0)>>>0>>0)if(o=i+4096+o&-4096,e[n>>2]=o,n=O2(l,o)|0,e[A>>2]=n,!n)Bt[e[(e[r+12>>2]|0)+16>>2]&63](98264,w),Va(1);else{a=n,c=e[s>>2]|0;break}else a=l,c=o;while(0);u2(a+c|0,t|0,i|0)|0,w=(e[s>>2]|0)+i|0,e[s>>2]=w,y[(e[A>>2]|0)+w>>0]=0}while(0);return g=p,i|0}function m0(r,t){r=r|0,t=t|0;var i=0;return i=d2(t)|0,t=(CA(r,t,i)|0)==(i|0),(t?1:-1)|0}function lD(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,y[n>>0]=t,r=(CA(r,n,1)|0)==1,g=i,(r?t:-1)|0}function q9(r){r=r|0;var t=0;return t=e[r+36>>2]|0,t|0&&!(y[r+144>>0]|0)&&!(e[(e[r>>2]|0)+104>>2]|0)?r=Mk(t)|0:r=0,r|0}function oa0(r){r=r|0;var t=0,i=0;t=e[r+76>>2]|0,t|0&&(i=e[t+4>>2]|0,i|0)&&l2[i&127](r),q9(r)|0}function sD(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=e[r+76>>2]|0,e[r+152>>2]&1024|0&&(Bt[e[(e[r+12>>2]|0)+16>>2]&63](98291,n),Va(1)),i|0&&(t=e[i+8>>2]|0,(t|0)!=0)?l2[t&127](r):(q9(r)|0,la0(r)),g=n}function la0(r){r=r|0;var t=0,i=0,n=0;t=r+32|0,e[t>>2]|0&&(i=r+36|0,n=e[i>>2]|0,(n|0)!=(e[15679]|0))&&!(y[r+144>>0]|0)&&(n|0&&(Yc(n)|0,e[i>>2]=0),e[t>>2]=0)}function Y0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+1056|0,o=A,s=A+24|0,l=A+8|0,e[l>>2]=i,n=Lk(s,1024,t,l)|0,(n|0)>=0?((n|0)>1023?(n=_0(n+1|0)|0,e[l>>2]=i,o=n,n=zE(n,t,l)|0):o=s,CA(r,o,n)|0,(o|0)!=(s|0)&&r0(o)):(e[o>>2]=n8(e[(kr()|0)>>2]|0)|0,$0(1,98308,o)|0),g=A}function Pr(r,t){r=r|0,t=+t;var i=0,n=0,o=0;i=g,g=g+16|0,n=i,o=$9(n,t)|0,CA(r,o,e[n>>2]|0)|0,g=i}function $9(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(t<-1e15)n=98322,i=19;else if(t>1e15)n=98323,i=18;else if(t=t*1e4,n=~~((t<0?-.5:.5)+t),!n)n=138394,i=1;else{for(c=(n|0)<0,a=4,s=0,i=194826,n=c?0-n|0:n;(n|0)!=0|(a|0)>0;)o=(n|0)%10|0,A=(n|0)/10|0,l=i+-1|0,(o|0)==0&s<<24>>24==0?n=0:(y[l>>0]=o|48,n=1,i=l),(a|0)==1&&(n<<24>>24&&(i=i+-1|0,y[i>>0]=46),n=1),a=a+-1|0,s=n,n=A;c&&(i=i+-1|0,y[i>>0]=45),n=i,i=194826-i|0}return e[r>>2]=i,n|0}function M1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=g,g=g+16|0,n=i,o=$9(n,+u[t>>3])|0,CA(r,o,e[n>>2]|0)|0,CA(r,102604,1)|0,t=$9(n,+u[t+8>>3])|0,CA(r,t,e[n>>2]|0)|0,g=i}function $o(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=g,g=g+16|0,o=l,n=0;s=t+(n<<4)|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2],M1(r,o),n=n+1|0,!((n|0)>=(i|0));)CA(r,102604,1)|0;g=l}function sa0(r,t){r=r|0,t=t|0;var i=0;return i=j0(392)|0,i|0&&(e[i>>2]=20156,e[i+16>>2]=23,e[i+32>>2]=r,e[i+36>>2]=t),i|0}function Aa0(r){r=r|0;var t=0,i=0,n=0,o=0;t=j0(392)|0,i=t,n=r,o=i+40|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));return o=t+60|0,n=r+60|0,e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],e[o+16>>2]=e[n+16>>2],o=t+80|0,n=r+80|0,e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],e[o+16>>2]=e[n+16>>2],t|0}function ua0(r){r=r|0,Gd(r),r0(r)}function fa0(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+160|0,i=e[n>>2]|0,i?(n=e[46999]|0,n&&(i=e[n+4>>2]|0,i||(i=j0(632)|0,e[(e[46999]|0)+4>>2]=i))):(i=j0(632)|0,e[n>>2]=i,e[r+164>>2]=i),e[46999]=i,e[i+32>>2]=t,e[i>>2]=r}function K9(r,t){r=r|0,t=t|0;var i=0,n=0;return n=r+160|0,i=e[n>>2]|0,i?(n=e[47e3]|0,n&&(i=e[n+4>>2]|0,i||(i=j0(632)|0,e[(e[47e3]|0)+4>>2]=i))):(i=j0(632)|0,e[n>>2]=i,e[r+164>>2]=i),e[47e3]=i,e[i+52>>2]=t,e[i>>2]=r,(lc(r,3,t)|0)!=0|0}function aa0(r){r=r|0;var t=0;return t=e[r+160>>2]|0,e[r+164>>2]=t,t|0}function ca0(r){r=r|0;var t=0,i=0,n=0;return r=r+164|0,t=e[r>>2]|0,i=e[t+4>>2]|0,i|0&&(n=i+52|0,(e[n>>2]|0)==0)&&(e[n>>2]=e[t+52>>2]),e[r>>2]=i,i|0}function mi(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=r+8|0,o=t+10|0,(e[n>>2]|0)>(t|0)?r=e[r>>2]|0:(e[n>>2]=o,o=Oe(e[r>>2]|0,o<<2)|0,e[r>>2]=o,r=o),e[r+(t<<2)>>2]=i}function AD(r){r=r|0;var t=0;t=e[r>>2]|0,t|0&&r0(t),e[r>>2]=0,e[r+8>>2]=0,e[r+4>>2]=0}function Gd(r){r=r|0;var t=0,i=0,n=0;for(i=r+160|0,t=e[i>>2]|0;t;)n=e[t+4>>2]|0,AD(t+604|0),AD(t+592|0),r0(e[t+584>>2]|0),r0(e[t+588>>2]|0),r0(t),t=n;e[47e3]=0,e[46999]=0,e[r+192>>2]=0,e[r+164>>2]=0,e[i>>2]=0,e[r+28>>2]=0}function ha0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+128|0,a=w+64|0,c=w,Pc(a,i,63)|0,s=Zr(a,58)|0,s|0&&(y[s>>0]=0),r=r+60+(t<<2)|0;;){if(t=e[r>>2]|0,!t){t=r,r=0;break}if(Pc(c,e[t+4>>2]|0,63)|0,t=Zr(c,58)|0,t|0&&(y[t>>0]=0),(ge(a,c)|0)<1){A=9;break}r=e[r>>2]|0}for(;(A|0)==9&&(t=r,r=e[r>>2]|0),!(!r||(Pc(c,e[r+4>>2]|0,63)|0,r=Zr(c,58)|0,r|0&&(y[r>>0]=0),ge(a,c)|0)||(r=e[t>>2]|0,(e[r+8>>2]|0)<=(n|0)));)A=9;return c=_0(20)|0,e[c>>2]=e[t>>2],e[t>>2]=c,e[c+4>>2]=i,e[c+8>>2]=n,e[c+12>>2]=o,e[c+16>>2]=l,g=w,1}function wa0(r,t){return r=r|0,t=t|0,t=g,g=g+16|0,$0(1,98396,t)|0,g=t,0}function lc(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;B=g,g=g+144|0,E=B,p=B+80|0,v=B+16|0,w=(t+-3|0)>>>0<2?0:t,Pc(p,i,63)|0,i=Zr(p,58)|0,i?(n=i+1|0,y[i>>0]=0,i=Zr(n,58)|0,i?(y[i>>0]=0,c=i+1|0):c=0):(c=0,n=0),s=(n|0)!=0,A=(c|0)==0,a=(w|0)==(t|0),l=r+60+(t<<2)|0;e:for(;;){if(i=e[l>>2]|0,!i){i=0;break}Pc(v,e[i+4>>2]|0,63)|0,i=Zr(v,58)|0,i?(y[i>>0]=0,i=i+1|0):i=0;do if(!(ge(v,p)|0)){if(o=(i|0)!=0,s&o&&ge(i,n)|0||!A&&ge(c,e[(e[(e[l>>2]|0)+12>>2]|0)+8>>2]|0)|0)break;if(a|o^1){m=16;break e}if(lc(r,w,i)|0){m=16;break e}}while(0);l=e[l>>2]|0}do if((m|0)==16)if(i=e[l>>2]|0,i){if(n=i+16|0,!(e[n>>2]|0)&&(wa0(0,0)|0,(e[n>>2]|0)==0)){i=0;break}(e[r+8>>2]|0)>0&&(m=e[15712]|0,p=e[i+4>>2]|0,v=e[(e[i+12>>2]|0)+8>>2]|0,e[E>>2]=e[20168+(t<<2)>>2],e[E+4>>2]=p,e[E+8>>2]=v,A2(m,98427,E)|0)}else i=0;while(0);return e[r+80+(t<<2)>>2]=i,g=B,i|0}function uD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;do if(!i)i=0;else{if(e[5047]|0&&(Ot(188004,0,0),e[5047]=0),l=C2(i)|0,i=Zr(l,58)|0,i){for(y[i>>0]=0,n=r+60+(t<<2)|0,i=1,o=n;r=e[o>>2]|0,!!r;)t=C2(e[r+4>>2]|0)|0,r=Zr(t,58)|0,r|0&&(y[r>>0]=0),y[l>>0]|0&&De(l,t)|0||(i=e[47002]|0,i>>>0>=(e[47003]|0)>>>0&&(Xe(188004,1)|0,i=e[47002]|0),e[47002]=i+1,y[i>>0]=32,t2(188004,e[(e[o>>2]|0)+4>>2]|0)|0,i=e[47002]|0,i>>>0>=(e[47003]|0)>>>0&&(Xe(188004,1)|0,i=e[47002]|0),e[47002]=i+1,y[i>>0]=58,t2(188004,e[(e[(e[o>>2]|0)+12>>2]|0)+8>>2]|0)|0,i=0),r0(t),o=e[o>>2]|0;r0(l),i<<24>>24&&(o=0,s=19)}else r0(l),o=0,n=r+60+(t<<2)|0,i=1,s=19;if((s|0)==19){for(;r=e[n>>2]|0,!!r;)t=C2(e[r+4>>2]|0)|0,r=Zr(t,58)|0,r|0&&(y[r>>0]=0),o|0&&!(De(o,t)|0)||(i=e[47002]|0,i>>>0>=(e[47003]|0)>>>0&&(Xe(188004,1)|0,i=e[47002]|0),e[47002]=i+1,y[i>>0]=32,t2(188004,t)|0,i=0),o=t,n=e[n>>2]|0,s=19;if(i<<24>>24){i=195059;break}}i=e[47002]|0,i>>>0>=(e[47003]|0)>>>0&&(Xe(188004,1)|0,i=e[47002]|0),y[i>>0]=0,i=e[47001]|0,e[47002]=i}while(0);return i|0}function fD(r){r=r|0;var t=0;return r||H0(111208,98444,573,98458),y[r>>0]|0||H0(111213,98444,574,98458),t=e[47005]|0,t?r=oe[e[t>>2]&63](t,r,512)|0:r=0,r|0}function aD(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+16|0,A=a+8|0,s=a,r||H0(111312,98444,589,98475),o=r+8|0,i=e[o>>2]|0,i||H0(111315,98444,590,98475),y[i>>0]|0||H0(111324,98444,591,98475),l=r+20|0,n=e[l>>2]|0;do if(n)T1(n,0,0)|0,e[l>>2]|0?t=1:H0(98545,98444,614,98475);else{if(t=Gp(i)|0,!t){e[s>>2]=e[o>>2],$0(0,98499,s)|0,t=0;break}if(s=A8(t,138821)|0,e[l>>2]=s,!s){e[A>>2]=n8(e[(kr()|0)>>2]|0)|0,e[A+4>>2]=t,$0(0,98524,A)|0,t=0;break}if(t=e[47006]|0,(t|0)>49){y[r+17>>0]=1,t=1;break}else{e[47006]=t+1,t=1;break}}while(0);return g=a,t|0}function b9(r){r=r|0;var t=0,i=0;y[r+17>>0]|0&&(t=r+20|0,i=e[t>>2]|0,i|0)&&(Yc(i)|0,e[t>>2]=0)}function cD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;t?(n=e[t+48>>2]|0,o=+(n|0),n?(u[i+8>>3]=o,u[i>>3]=o,l=o):(l=+u[i>>3],o=+u[i+8>>3]),n=~~(+((e[t+40>>2]|0)*72|0)/l),i=~~(+((e[t+44>>2]|0)*72|0)/o)):(n=-1,i=-1),e[r>>2]=n,e[r+4>>2]=i}function e7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;a=g,g=g+48|0,n=a+16|0,s=a,A=a+32|0,i|0&&y[i>>0]|0?(o=e[47133]|0,(e[47007]|0)!=(o|0)&&(e[47007]=o,l=e[47005]|0,l|0)&&(Fr(l)|0,e[47005]=0),c=+u[(e[(e[t+16>>2]|0)+8>>2]|0)+24>>3],c=c>=1?c:96,u[s+8>>3]=c,u[s>>3]=c,t=da0(i)|0,e[n>>2]=e[s>>2],e[n+4>>2]=e[s+4>>2],e[n+8>>2]=e[s+8>>2],e[n+12>>2]=e[s+12>>2],cD(A,t,n),t=e[A>>2]|0,n=e[A+4>>2]|0):(t=-1,n=-1),e[r>>2]=t,e[r+4>>2]=n,g=a}function da0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+16|0,n=o,r||H0(111208,98444,638,98551),e[47005]|0||(e[47005]=at(20192,e[4589]|0)|0),t=fD(r)|0;e:do if(t)b9(t);else if(t=j0(64)|0,!t)t=0;else{if(i=t+8|0,e[i>>2]=un(0,r)|0,!((aD(t)|0)<<24>>24)){hD(t),t=0;break}e[t+20>>2]|0||H0(98545,98444,653,98551);do switch(pa0(t)|0){case 0:{if(r=mC(e[i>>2]|0)|0,e[t+52>>2]=r,!r){e[n>>2]=e[i>>2],$0(0,98568,n)|0,hD(t),t=0;break e}break}case 2:{ka0(t);break}case 3:{va0(t);break}case 1:{ma0(t);break}case 4:{ga0(t);break}case 6:{ya0(t);break}case 11:{Ca0(t);break}case 8:{Ea0(t);break}case 5:{Ba0(t);break}case 12:{Ia0(t);break}default:}while(0);b9(t),n=e[47005]|0,oe[e[n>>2]&63](n,t,1)|0}while(0);return g=o,t|0}function hD(r){r=r|0;var t=0;t=e[r+8>>2]|0,t|0&&Ai(0,t)|0,r0(r)}function pa0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+224|0,o=a+200|0,l=a,s=r+20|0,t=e[s>>2]|0;e:do if(t|0&&(QY(o,1,20,t)|0)==20){for(i=0;;){if(i>>>0>=10){A=13;break e}if(!(Q1(o,e[20228+(i<<4)>>2]|0,e[20228+(i<<4)+4>>2]|0)|0))break;i=i+1|0}switch(n=r+28|0,e[n>>2]=e[20228+(i<<4)+12>>2],t=e[20228+(i<<4)+8>>2]|0,r=r+24|0,e[r>>2]=t,i|0){case 7:break;case 8:{if(Q1(o+8|0,98784,4)|0)break e;e[n>>2]=98789,e[r>>2]=11,t=11;break e}default:break e}for(;;){if(!(tu(l,200,e[s>>2]|0)|0)){A=11;break}if(!(Q1(l,98779,4)|0)){A=8;break}}if((A|0)==8){e[n>>2]=101803,e[r>>2]=8,t=8;break}else if((A|0)==11){t=e[r>>2]|0;break}}else A=13;while(0);return(A|0)==13&&(e[r+28>>2]=98794,e[r+24>>2]=0,t=0),g=a,t|0}function ka0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+16|0,t=o+4|0,i=o,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,6,0)|0,(Zl(e[n>>2]|0,2,t)|0)<<24>>24&&(Zl(e[n>>2]|0,2,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2]),g=o}function va0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+16|0,t=o+4|0,i=o,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,16,0)|0,(wo(e[n>>2]|0,4,t)|0)<<24>>24&&(wo(e[n>>2]|0,4,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2]),g=o}function ma0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+16|0,t=s+12|0,i=s+8|0,n=s+4|0,o=s,e[r+48>>2]=0,l=r+20|0,T1(e[l>>2]|0,16,0)|0,(Zl(e[l>>2]|0,2,t)|0)<<24>>24&&(Zl(e[l>>2]|0,2,i)|0)<<24>>24&&(Zl(e[l>>2]|0,2,n)|0)<<24>>24&&(Zl(e[l>>2]|0,2,o)|0)<<24>>24&&(e[r+40>>2]=e[t>>2]<<16|e[i>>2],e[r+44>>2]=e[n>>2]<<16|e[o>>2]),g=s}function ga0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+32|0,t=w+16|0,n=w+12|0,o=w+8|0,s=w+4|0,A=w,e[r+48>>2]=0,a=r+20|0;(wo(e[a>>2]|0,1,t)|0)<<24>>24;)if(i=e[t>>2]|0,(i|0)!=255&&!(Zr(98767,i)|0)){if((i|0)==192){c=6;break}if(l=e[a>>2]|0,(i|0)==194){c=11;break}if(!((wo(l,2,n)|0)<<24>>24))break;T1(e[a>>2]|0,(e[n>>2]|0)+-2|0,1)|0}(c|0)==6?(wo(e[a>>2]|0,3,A)|0)<<24>>24&&(wo(e[a>>2]|0,2,o)|0)<<24>>24&&(wo(e[a>>2]|0,2,s)|0)<<24>>24&&(e[r+44>>2]=e[o>>2],e[r+40>>2]=e[s>>2]):(c|0)==11&&(wo(l,3,A)|0)<<24>>24&&(wo(e[a>>2]|0,2,o)|0)<<24>>24&&(wo(e[a>>2]|0,2,s)|0)<<24>>24&&(e[r+44>>2]=e[o>>2],e[r+40>>2]=e[s>>2]),g=w}function ya0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+1056|0,a=w,t=w+32|0,n=w+28|0,o=w+24|0,l=w+20|0,s=w+16|0,e[r+48>>2]=72,A=r+20|0,T1(e[A>>2]|0,0,0)|0;tu(t,1024,e[A>>2]|0)|0;)if(i=s8(t,98752)|0,!!i&&(e[a>>2]=n,e[a+4>>2]=o,e[a+8>>2]=l,e[a+12>>2]=s,(X2(i,104311,a)|0)==4)){c=5;break}(c|0)==5&&(a=e[n>>2]|0,e[r+32>>2]=a,c=e[o>>2]|0,e[r+36>>2]=c,e[r+40>>2]=(e[l>>2]|0)-a,e[r+44>>2]=(e[s>>2]|0)-c),g=w}function Ca0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;l=g,g=g+16|0,t=l+4|0,i=l,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,15,0)|0,s=(OE(e[n>>2]|0)|0)==88,o=e[n>>2]|0,s?(T1(o,24,0)|0,(Zl(e[n>>2]|0,4,t)|0)<<24>>24&&(Zl(e[n>>2]|0,4,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2])):(T1(o,26,0)|0,(Zl(e[n>>2]|0,2,t)|0)<<24>>24&&(Zl(e[n>>2]|0,2,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2])),g=l}function Ea0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;J=g,g=g+352|0,D=J+80|0,T=J+72|0,U=J+64|0,P=J+56|0,N=J+48|0,t=J+40|0,E=J+32|0,B=J+24|0,x=J+16|0,z=J+8|0,_=J,L=J+328|0,G=J+128|0,W=J+96|0,e[47008]|0||($B0(188036,98637,1)|0&&(e[t>>2]=98637,$0(1,98664,t)|0),e[47008]=188036),a=r+20|0,T1(e[a>>2]|0,0,0)|0,c=W+12|0,w=W+20|0,p=W+8|0,v=W+16|0,m=W+4|0,t=0,o=0,n=0,i=0;e:for(;tu(G,200,e[a>>2]|0)|0;){if(o<<24>>24==0|t<<24>>24==0)l=G,A=i;else break;r:for(;;){s=n;t:for(;;){for(;;){if(aI0(188036,l,4,W,0)|0){n=s,i=A;continue e}if(y[l+(e[c>>2]|0)>>0]=0,y[l+(e[w>>2]|0)>>0]=0,i=l+(e[p>>2]|0)|0,n=l+(e[v>>2]|0)|0,l=l+((e[m>>2]|0)+1)|0,!(ge(i,141116)|0))break;if(!(ge(i,141048)|0))break t;if(!(ge(i,98711)|0)&&(e[D>>2]=B,e[D+4>>2]=x,e[D+8>>2]=z,e[D+12>>2]=_,(X2(n,98719,D)|0)==4))break r}if(e[N>>2]=E,e[N+4>>2]=L,(X2(n,98701,N)|0)!=2?(e[P>>2]=E,(X2(n,101209,P)|0)==1?(i=1,n=Dd(+u[E>>3],98708)|0):(i=o,n=s)):(i=1,n=Dd(+u[E>>3],L)|0),!(t<<24>>24))t=0,o=i,s=n;else{o=i,i=A;continue e}}if(e[U>>2]=E,e[U+4>>2]=L,(X2(n,98701,U)|0)!=2?(e[T>>2]=E,(X2(n,101209,T)|0)==1?(t=1,i=Dd(+u[E>>3],98708)|0):i=A):(t=1,i=Dd(+u[E>>3],L)|0),!(o<<24>>24))o=0,n=s,A=i;else{n=s;continue e}}t=1,o=1,n=~~(+u[z>>3]+1-+u[B>>3])>>>0,i=~~(+u[_>>3]+1-+u[x>>3])>>>0}e[r+48>>2]=0,e[r+40>>2]=n,e[r+44>>2]=i,g=J}function Ba0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;i=g,g=g+32|0,t=i,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,0,0)|0,xa0(e[n>>2]|0,t)|0||(l=+u[t>>3],e[r+32>>2]=~~l,o=+u[t+8>>3],e[r+36>>2]=~~o,e[r+40>>2]=~~(+u[t+16>>3]-l),e[r+44>>2]=~~(+u[t+24>>3]-o)),g=i}function Ia0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+16|0,t=o+4|0,i=o,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,6,0)|0,(wo(e[n>>2]|0,1,t)|0)<<24>>24&&(wo(e[n>>2]|0,1,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2]),g=o}function wo(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(e[i>>2]=0,n=0;;){if(n>>>0>=t>>>0){n=1;break}if(o=OE(r)|0,CY(r)|0){n=0;break}e[i>>2]=e[i>>2]<<8|o,n=n+1|0}return n|0}function xa0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+1040|0,i=s,n=s+16|0;;){if(!(tu(n,1024,r)|0)){r=1;break}if(o=s8(n,98627)|0,o|0){l=4;break}}return(l|0)==4&&(e[i+4>>2]=n,e[i>>2]=o+9,e[i+8>>2]=r,r=Sa0(i,t)|0),g=s,r|0}function Sa0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=g,g=g+1024|0,n=o,wD(r),i=y[e[r>>2]>>0]|0,i<<24>>24?i=i<<24>>24:i=(r7(r)|0)&255,(i|0)==91&&(e[r>>2]=(e[r>>2]|0)+1,Zd(r,n),(Wd(n,t)|0)==0)&&(Zd(r,n),(Wd(n,t+8|0)|0)==0)&&(Zd(r,n),(Wd(n,t+16|0)|0)==0)?(Zd(r,n),i=(Wd(n,t+24|0)|0)!=0&1):i=1,g=o,i|0}function wD(r){r=r|0;var t=0;for(t=e[r>>2]|0;t=y[t>>0]|0,t<<24>>24?t=t<<24>>24:t=(r7(r)|0)&255,!(!((t&255)<<24>>24)||!(an(t&255)|0));)t=(e[r>>2]|0)+1|0,e[r>>2]=t}function r7(r){r=r|0;var t=0;return t=r+4|0,tu(e[t>>2]|0,1024,e[r+8>>2]|0)|0?(t=e[t>>2]|0,e[r>>2]=t,r=y[t>>0]|0):r=0,r|0}function Zd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(wD(r),i=0,n=e[r>>2]|0;n=y[n>>0]|0,n<<24>>24?o=n<<24>>24:o=(r7(r)|0)&255,n=o<<24>>24,!(!n||!((n|0)==46|(n+-48|0)>>>0<10));)if(y[t+i>>0]=o,i=i+1|0,n=(e[r>>2]|0)+1|0,e[r>>2]=n,(i|0)==1023){i=1023;break}y[t+i>>0]=0}function Wd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return n=g,g=g+16|0,o=n,i=+P1(r,o),(e[o>>2]|0)==(r|0)?r=1:(u[t>>3]=i,r=0),g=n,r|0}function Dd(r,t){r=+r,t=t|0;var i=0;do if(!(ge(t,98735)|0))r=r*72,i=r,r=r>=0?.5:-.5;else{if(!(ge(t,98738)|0)){r=r*.75,i=r,r=r>=0?.5:-.5;break}if(!(ge(t,98741)|0)){r=r*12,i=r,r=r>=0?.5:-.5;break}if(ge(t,98708)|0&&ge(t,98744)|0){if(ge(t,98746)|0)return t=(ge(t,98749)|0)==0,i=r*2.8346456663999997,(t?~~(i+(i>=0?.5:-.5)):0)|0;r=r*28.346456664,i=r,r=r>=0?.5:-.5;break}i=r>=0?.5:-.5}while(0);return~~(r+i)|0}function Zl(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(e[i>>2]=0,n=0;;){if(n>>>0>=t>>>0){n=1;break}if(o=OE(r)|0,CY(r)|0){n=0;break}e[i>>2]=e[i>>2]|o<<(n<<3),n=n+1|0}return n|0}function _a0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;r=e[t+20>>2]|0,r|0&&Yc(r)|0,e[t+52>>2]|0&&(n=e[t+60>>2]|0,n|0)&&l2[n&127](t),r0(t)}function za0(){var r=0;return re(0,1,108224,105493)|0,r=sa0(0,1)|0,Ei0(r,0),r|0}function t7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;return A=g,g=g+304|0,s=A+24|0,l=A+8|0,n=A,o=A+40|0,(DR(r,i)|0)!=999?(Xt0(r,t)|0)==-1?r=-1:(r=e[t+16>>2]|0,i=r+16|0,y[(e[r+8>>2]|0)+81>>0]|0?(a=+u[r+24>>3],c=+u[i>>3],w=+u[r+40>>3],p=+u[r+32>>3],e[l>>2]=~~(a+(a>=0?.5:-.5)),e[l+4>>2]=~~(c+(c>=0?.5:-.5)),e[l+8>>2]=~~(w+(w>=0?.5:-.5)),e[l+12>>2]=~~(p+(p>=0?.5:-.5)),Ke(o,98899,l)|0):(p=+u[i>>3],w=+u[r+24>>3],c=+u[r+32>>3],a=+u[r+40>>3],e[s>>2]=~~(p+(p>=0?.5:-.5)),e[s+4>>2]=~~(w+(w>=0?.5:-.5)),e[s+8>>2]=~~(c+(c>=0?.5:-.5)),e[s+12>>2]=~~(a+(a>=0?.5:-.5)),Ke(o,98899,s)|0),nW(t,102671,o,195059)|0,r=0):(r=uD(r,1,i)|0,e[n>>2]=i,e[n+4>>2]=r,$0(1,111233,n)|0,r=-1),g=A,r|0}function La0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return A=g,g=g+16|0,l=A,o=e[t+60>>2]|0,K9(r,i)|0,t=e[r+164>>2]|0,e[t+56>>2]=Yw(t,e[t+52>>2]|0)|0,$e(o,137483,0,1)|0&&e[(e[o+16>>2]|0)+8>>2]|0||e[t+152>>2]&67108864?s=5:(vd(98911,l),t=-1),(s|0)==5&&(e[t+36>>2]=n,n||(s=t+152|0,e[s>>2]=e[s>>2]|134217728),s=eC(r,o)|0,Ow(t),Gd(r),t=s),g=A,t|0}function Ra0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return A=g,g=g+16|0,l=A,o=e[t+60>>2]|0,K9(r,i)|0,t=e[r+164>>2]|0,e[t+56>>2]=Yw(t,e[t+52>>2]|0)|0,$e(o,137483,0,1)|0&&e[(e[o+16>>2]|0)+8>>2]|0||e[t+152>>2]&67108864?s=5:(vd(98911,l),t=-1),(s|0)==5&&(fa0(r,n),s=eC(r,o)|0,Ow(t),sD(t),Gd(r),t=s),g=A,t|0}function Ga0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0;w=g,g=g+16|0,s=w+8|0,l=w,t=e[t+60>>2]|0,K9(r,i)|0,a=e[r+164>>2]|0,e[a+56>>2]=Yw(a,e[a+52>>2]|0)|0,$e(t,137483,0,1)|0&&e[(e[t+16>>2]|0)+8>>2]|0||e[a+152>>2]&67108864?c=5:(vd(98911,l),t=-1);do if((c|0)==5){if(n|0&&(A=Te(4096)|0,e[n>>2]=A,A|0)){l=a+40|0,e[l>>2]=A,e[a+44>>2]=4096,i=a+48|0,e[i>>2]=0,t=eC(r,t)|0,Ow(a),t||(e[n>>2]=e[l>>2],e[o>>2]=e[i>>2]),Gd(r);break}$0(1,98932,s)|0,t=-1}while(0);return g=w,t|0}function i7(r,t){r=r|0,t=t|0,NR(r,0,t)}function Za0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;J=g,g=g+4288|0,D=J+8|0,T=J,P=4,U=Te(40)|0,e[U>>2]=0,G=J+4152|0,W=J+4148|0,N=J+4128|0,A=J+4112|0,a=J+16|0,v0=0,s=gt(24,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1;e:do if((l|0)!=1){if(!s){e[t>>2]=0,o=0;break}if(v0=0,w=Yt(29,i|0,W|0,G|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)!=1)if(v0=0,c=gt(23,40)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)!=1)if(v0=0,F3(7,N|0,A|0,a|0,24,85),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)!=1)if(v0=0,i=gt(25,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)!=1){for(A=N+16|0,s=e[A>>2]|0,o=i;o;){if(v0=0,nt(s|0,o|0,0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(i=se(e[l>>2]|0,U|0,P|0)|0,i||ie(l|0,g0|0),b=g0):i=-1,(i|0)==1){L=0,_=A,z=c,x=w,o=b,c=15;break e}if(v0=0,o=nt(86,r|0,o|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(i=se(e[l>>2]|0,U|0,P|0)|0,i||ie(l|0,g0|0),b=g0):i=-1,(i|0)==1){L=0,_=A,z=c,x=w,o=b,c=15;break e}}U=il(188068,1,U|0,P|0)|0,P=b,v0=0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1?(L=c,_=A,z=c,x=w,o=b,c=15):(L=c,_=A,z=c,x=w,o=0,c=15)}else L=0,_=0,z=c,x=w,o=b,c=15;else L=0,_=0,z=c,x=w,o=b,c=15;else L=0,_=0,z=c,x=w,o=b,c=15;else L=0,_=0,z=0,x=w,o=b,c=15}else L=0,_=0,z=0,x=0,o=b,c=15;while(0);do if((c|0)==15){e:for(;;){r:do if(o)c=1,a=0,w=L,A=0,s=z,i=z;else{if(v0=0,i=gt(25,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}for(B=x+(e[W>>2]|0)|0,a=0,c=0,A=0;i;){if(v0=0,o=nt(e[_>>2]|0,i|0,-1)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,U|0,P|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}if(!(o|0)&&(y[(e[i+16>>2]|0)+119>>0]|0)==3){if(c)s=c;else{if(v0=0,e[T>>2]=A,Yt(30,B|0,137395,T|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}if(v0=0,s=Yt(31,r|0,x|0,1)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}if(v0=0,Ya(53,s|0,137483,280,1)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}e[L+(A<<2)>>2]=s,a=1,A=A+1|0}if(v0=0,Ya(54,r|0,i|0,s|0,N|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}}else s=c;if(v0=0,i=nt(86,r|0,i|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}c=s}if(v0=0,i=gt(25,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}for(s=10,w=L,p=z,v=z,E=z;;){if(!i){c=0,s=v,i=E;break r}if(v0=0,o=nt(e[_>>2]|0,i|0,-1)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(c=se(e[l>>2]|0,U|0,P|0)|0,c||ie(l|0,g0|0),b=g0):c=-1,(c|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}if(o)c=E;else{if(v0=0,e[D>>2]=A,Yt(30,B|0,137395,D|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}if(v0=0,m=Yt(31,r|0,x|0,1)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}if(v0=0,Ya(53,m|0,137483,280,1)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(o=se(e[l>>2]|0,U|0,P|0)|0,o||ie(l|0,g0|0),b=g0):o=-1,(o|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}if(v0=0,Ya(54,r|0,i|0,m|0,N|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}if((A|0)==(s|0)){if(s=A<<1,v0=0,c=nt(87,p|0,A<<3|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}o=c,p=c,v=c,l=c}else o=w,l=E;e[o+(A<<2)>>2]=m,w=o,A=A+1|0,c=l}if(v0=0,i=nt(86,r|0,i|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}E=c}}while(0);if(v0=0,Tr(108,N|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue}if((x|0)!=(G|0)&&(v0=0,Tr(105,x|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue}if(!c)if(v0=0,o=nt(87,i|0,A<<2|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(i=se(e[l>>2]|0,U|0,P|0)|0,i||ie(l|0,g0|0),b=g0):i=-1,(i|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue}else{c=58;break}for(e[t>>2]=0,o=0;!((o|0)>=(A|0));){if(v0=0,gt(26,e[w+(o<<2)>>2]|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(i=se(e[l>>2]|0,U|0,P|0)|0,i||ie(l|0,g0|0),b=g0):i=-1,(i|0)==1){m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;continue e}o=o+1|0}if(v0=0,Tr(105,s|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,U|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)m=x,E=z,B=_,c=L,o=b,x=m,z=E,_=B,L=c,c=15;else{c=56;break}}if((c|0)==56){o=0;break}else if((c|0)==58){e[t>>2]=A,y[n>>0]=a;break}}while(0);return r0(U|0),g=J,o|0}function dD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return r|0&&Na0(r)|0||(r=98988),n=d2(r)|0,(n|0)>=104?(i=_0(n+25|0)|0,i?o=6:i=0):o=6,(o|0)==6&&(yo(i,r)|0,e[t>>2]=n),i|0}function Wa0(r,t){r=r|0,t=t|0,ct(t,r,1)|0}function Da0(r,t){r=r|0,t=t|0;var i=0;return r=(e[r+16>>2]|0)+157|0,i=y[r>>0]|0,(t|0)>=0&&(y[r>>0]=t),i|0}function pD(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,e[t>>2]=i,e[t+4>>2]=i+4096,e[t+12>>2]=0,e[t+8>>2]=0,e[r>>2]=t,e[r+4>>2]=t,e[r+8>>2]=i,e[r+12>>2]=n,e[r+16>>2]=o}function kD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;mD(n,t),A=n+12|0,a=n+16|0,t=0;e:for(;c=ja0(n)|0,!!c;)for(t=t+1|0,o=e[A>>2]|0,o|0&&Bt[o&63](c,i),s=Jr(r,c)|0;;){if(!s)continue e;l=e[s>>2]&3,o=e[((l|0)==3?s:s+48|0)+40>>2]|0,(o|0)==(c|0)&&(o=e[((l|0)==2?s:s+-48|0)+40>>2]|0),ke[e[a>>2]&127](o,-1)|0||mD(n,o),s=ot(r,s,c)|0}return t|0}function vD(r){r=r|0;var t=0;for(r=e[(e[r>>2]|0)+12>>2]|0;r;)t=e[r+12>>2]|0,Ma0(r),r=t}function Ma0(r){r=r|0,r0(e[r>>2]|0),r0(r)}function mD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(c=g,g=g+16|0,a=c+8|0,o=c,l=r+8|0,A=r+4|0,i=e[A>>2]|0,(e[l>>2]|0)==(e[i+4>>2]|0)){i=e[i+12>>2]|0;do if(i)s=i;else if(n=_0(16)|0,n||($0(1,98969,o)|0,ie(188068,1)),e[n+8>>2]=e[A>>2],e[n+12>>2]=0,i=_0(4e6)|0,e[n>>2]=i,!i)$0(1,98969,a)|0,ie(188068,1);else{e[n+4>>2]=i+4e6,e[(e[A>>2]|0)+12>>2]=n,s=n;break}while(0);e[A>>2]=s,e[l>>2]=e[s>>2]}ke[e[r+16>>2]&127](t,1)|0,a=e[l>>2]|0,e[l>>2]=a+4,e[a>>2]=t,g=c}function ja0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return o=r+8|0,t=e[o>>2]|0,i=r+4|0,n=e[i>>2]|0,(t|0)==(e[n>>2]|0)?(n|0)==(e[r>>2]|0)?t=0:(t=e[n+8>>2]|0,e[i>>2]=t,t=e[t+4>>2]|0,e[o>>2]=t,l=4):l=4,(l|0)==4&&(t=t+-4|0,e[o>>2]=t,t=e[t>>2]|0),t|0}function Na0(r){r=r|0;var t=0;e:for(;;){switch(t=r,r=r+1|0,t=y[t>>0]|0,t<<24>>24){case 95:continue e;case 0:{r=1;break e}default:}if(!(jf(t&255)|0)){r=0;break}}return r|0}function n7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;N=g,g=g+4272|0,L=N,G=4,W=Te(40)|0,e[W>>2]=0,x=N+4144|0,z=N+4140|0,_=N+4120|0,s=N+4104|0,A=N+8|0,v0=0,o=gt(24,r|0)|0,l=v0,v0=0,(l|0)!=0&(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;else B=0,E=a,m=c,n=b,a=14;else B=0,E=0,m=c,n=b,a=14;else i=0,n=0;else B=0,E=0,m=0,n=b,a=14;while(0);e:do if((a|0)==14){r:for(;;){if(n|0){if(v0=0,Tr(108,_|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,W|0,G|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue}if(v0=0,Tr(105,E|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,W|0,G|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue}if((m|0)==(x|0)){i=0,n=0;break e}if(v0=0,Tr(105,m|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,W|0,G|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue}else{a=19;break}}if(v0=0,o=gt(25,r|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,W|0,G|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue}for(v=m+(e[z>>2]|0)|0,s=10,c=E,n=0,a=E,p=E;o;){if(v0=0,i=nt(e[B>>2]|0,o|0,-1)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,W|0,G|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue r}if(i)A=p;else{if(v0=0,e[L>>2]=n,Yt(30,v|0,137395,L|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,G|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue r}if(v0=0,w=Yt(31,r|0,m|0,1)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,G|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue r}if(v0=0,Ya(53,w|0,137483,280,1)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,G|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue r}if(v0=0,Ya(54,r|0,o|0,w|0,_|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,G|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue r}if((n|0)==(s|0)){if(s=n<<1,v0=0,A=nt(87,a|0,n<<3|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,G|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue r}l=A,a=A,i=A}else l=c,i=p;e[l+(n<<2)>>2]=w,n=n+1|0,c=l,A=i}if(v0=0,o=nt(86,r|0,o|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,G|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue r}p=A}if(v0=0,Tr(108,_|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(o=se(e[i>>2]|0,W|0,G|0)|0,o||ie(i|0,g0|0),b=g0):o=-1,(o|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue}if(v0=0,i=nt(87,p|0,n<<2|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,W|0,G|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;continue}if((m|0)==(x|0))break e;if(v0=0,Tr(105,m|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,W|0,G|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)p=m,v=E,a=B,n=b,m=p,E=v,B=a,a=14;else{a=39;break}}if((a|0)==19){i=0,n=0;break}else if((a|0)==39)break}while(0);return e[t>>2]=n,r0(W|0),g=N,i|0}function gD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0,o=U0(r)|0;o;){for(n=Me(t,o)|0;n;)ct(r,e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,0)|0&&(gs(r,n,1)|0,i=i+1|0),n=Qe(t,n)|0;o=X0(r,o)|0}return i|0}function yD(r){if(r=r|0,r=lt(r,98993,0)|0,!r)H0(98998,99001,529,99010);else return e[r+8>>2]|0;return 0}function Qa0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;if(z=g,g=g+4320|0,B=z+24|0,E=z+8|0,m=z,x=z+4184|0,v=z+4160|0,n=z+40|0,v2(r)|0){for(Ll(r,0,99019,-12,0),Ll(r,1,99031,16,0),p=dD(i,n,x)|0,a=Ta0(r)|0,c=_0((v2(a)|0)<<2)|0,pD(v,z+4144|0,z+48|0,24,88),l=U0(a)|0,w=v+16|0,s=p+(e[n>>2]|0)|0,A=e[15712]|0,i=0;l;)ke[e[w>>2]&127](l,-1)|0||(e[m>>2]=i,Ke(s,99933,m)|0,_=ji(a,p,1)|0,L=ji(r,p,1)|0,$e(L,99019,12,0)|0,y[(lt(L,99019,0)|0)+8>>0]=1,n=kD(a,l,_,v)|0,Pa0(_,L),o=sc(L)|0,Ya0(r,L),e[c+(i<<2)>>2]=L,zn(a,_)|0,i=i+1|0),l=X0(a,l)|0;Di(a)|0,wf(r,0,99019),wf(r,1,99031),vD(v),n=Oe(c,i<<2)|0,(p|0)!=(x|0)&&r0(p)}else n=0,i=0;return e[t>>2]=i,g=z,n|0}function Ta0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,y[l>>0]=y[18596]|0,y[l+1>>0]=y[18597]|0,y[l+2>>0]=y[18598]|0,y[l+3>>0]=y[18599]|0,l=w1(99120,l,0)|0,ED(l,r),t=U0(r)|0;t;)e[(lt(t,99031,0)|0)+12>>2]|0||(o=ht(l,te(t)|0,1)|0,$e(o,99031,16,1)|0,e[(e[o+16>>2]|0)+12>>2]=t,e[(lt(t,99031,0)|0)+12>>2]=o),t=X0(r,t)|0;for(i=U0(r)|0;i;){for(n=e[(lt(i,99031,0)|0)+12>>2]|0,t=Me(r,i)|0;t;){o=e[(lt(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,99031,0)|0)+12>>2]|0;do if((o|0)!=(n|0))if(o>>>0>n>>>0){rr(l,n,o,0,1)|0;break}else{rr(l,o,n,0,1)|0;break}while(0);t=Qe(r,t)|0}i=X0(r,i)|0}return g=s,l|0}function Fa0(r,t){r=r|0,t=t|0;var i=0;return r=(e[r+16>>2]|0)+8|0,i=y[r>>0]|0,(t|0)>=0&&(y[r>>0]=t),i|0}function Pa0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(n=U0(r)|0;n;){o=e[(e[n+16>>2]|0)+12>>2]|0;e:do if((e[o>>2]&3|0)==1)ct(t,o,1)|0;else for(i=U0(o)|0;;){if(!i)break e;ct(t,i,1)|0,i=X0(o,i)|0}while(0);n=X0(r,n)|0}}function sc(r){return r=r|0,gD(r,e[r+60>>2]|0)|0}function Ya0(r,t){r=r|0,t=t|0,CD(r,t,0)}function CD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(l=(i|0)==0,r=yt(r)|0;r;)!(y[(lt(r,99019,0)|0)+8>>0]|0)&&(o=Oa0(r,t,i)|0,o|0)&&(l?n=(Yr(te(r)|0,108006,7)|0)==0:n=1,CD(r,o,n&1)),r=Ct(r)|0}function Oa0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(n=0,l=U0(r)|0;l;)o=ht(t,te(l)|0,0)|0,o&&(n||(n=ji(t,te(r)|0,1)|0),ct(n,o,1)|0),l=X0(r,l)|0;return(i|0)!=0&(n|0)==0&&(n=ji(t,te(r)|0,1)|0),n|0&&(gD(n,r)|0,yd(r,n)|0,(Yr(te(n)|0,108006,7)|0)==0)&&(e[($e(n,98993,12,0)|0)+8>>2]=r),n|0}function ED(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(s=g,g=g+16|0,l=s,i=yt(t)|0,n=e[15712]|0;i;){e:do if(Yr(te(i)|0,108006,7)|0)ED(r,i);else for(o=ht(r,te(i)|0,1)|0,$e(o,99031,16,1)|0,e[(e[o+16>>2]|0)+12>>2]=i,t=U0(i)|0;;){if(!t)break e;e[(lt(t,99031,0)|0)+12>>2]|0&&(c=te(t)|0,a=te(i)|0,A=te(e[(lt(t,99031,0)|0)+12>>2]|0)|0,e[l>>2]=c,e[l+4>>2]=a,e[l+8>>2]=A,A2(n,99123,l)|0),e[(lt(t,99031,0)|0)+12>>2]=o,t=X0(i,t)|0}while(0);i=Ct(i)|0}g=s}function Md(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=+u[r>>3],a=~~(v+(v>=0?.5:-.5)),v=+u[r+8>>3],r=~~(v+(v>=0?.5:-.5)),v=+u[t>>3],s=~~(v+(v>=0?.5:-.5)),v=+u[t+8>>3],l=~~(v+(v>=0?.5:-.5)),w=s-a|0,A=((w|0)>-1?w:0-w|0)<<1,w=w>>31|1,p=l-r|0,c=((p|0)>-1?p:0-p|0)<<1,p=p>>31|1;e:do if((A|0)>(c|0))for(o=0-A|0,n=c-(A>>1)|0,t=a;;){if(GA(i,t,r),(t|0)==(s|0))break e;a=(n|0)>-1,n=n+c+(a?o:0)|0,t=t+w|0,r=(a?p:0)+r|0}else for(o=0-c|0,n=a,t=A-(c>>1)|0;;){if(GA(i,n,r),(r|0)==(l|0))break e;c=(t|0)>-1,n=(c?w:0)+n|0,t=t+A+(c?o:0)|0,r=r+p|0}while(0)}function BD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+16|0,c=p,a=p+4|0;do if((r|0)<1)i=0;else{if(o=n+16|0,(e[o>>2]|0)>>>0<4){i=Va0(r,t,i,n)|0;break}for(w=_0(r<<5)|0,i=0;(i|0)!=(r|0);)l=e[t+(i<<2)>>2]|0,MA(l),s=w+(i<<5)|0,l=(e[l+16>>2]|0)+16|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],e[s+16>>2]=e[l+16>>2],e[s+20>>2]=e[l+20>>2],e[s+24>>2]=e[l+24>>2],e[s+28>>2]=e[l+28>>2],i=i+1|0;if((e[o>>2]|0)==4){s=n+28|0;e:do if(e[s>>2]&2|0)for(o=n+24|0,e[o>>2]=j0(r<<2)|0,i=0;;){if((i|0)==(r|0))break e;l=he(e[t+(i<<2)>>2]|0,99190)|0,l|0&&(e[c>>2]=a,l=(X2(l,137395,c)|0)>0,A=e[a>>2]|0,l&(A|0)>-1)&&(e[(e[o>>2]|0)+(i<<2)>>2]=A),i=i+1|0}while(0);i=ID(r,w,n)|0,e[s>>2]&2&&r0(e[n+24>>2]|0)}else i=0;r0(w)}while(0);return g=p,i|0}function Va0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=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2]=e[B+28>>2],o=o+1|0;if(w=n+8|0,p=xD(r,v,e[w>>2]|0)|0,(p|0)>=1){for(c=(P|0)!=0,c?(l=((e[_>>2]|0)+(e[L>>2]|0)|0)/2|0,o=((e[W>>2]|0)+(e[G>>2]|0)|0)/2|0):(l=0,o=0),e[D+4>>2]=o,e[D>>2]=l,a=j0(r<<4)|0,A=n+16|0,o=0;!((o|0)>=(r|0));)l=e[t+(o<<2)>>2]|0,s=a+(o<<4)|0,e[a+(o<<4)+12>>2]=o,(e[A>>2]|0)==3?(L=(e[l+16>>2]|0)+16|0,G=e[w>>2]|0,W=te(l)|0,e[N>>2]=e[L>>2],e[N+4>>2]=e[L+4>>2],e[N+8>>2]=e[L+8>>2],e[N+12>>2]=e[L+12>>2],e[N+16>>2]=e[L+16>>2],e[N+20>>2]=e[L+20>>2],e[N+24>>2]=e[L+24>>2],e[N+28>>2]=e[L+28>>2],e[T>>2]=e[D>>2],e[T+4>>2]=e[D+4>>2],SD(N,s,p,G,T,W)):(e[T>>2]=e[D>>2],e[T+4>>2]=e[D+4>>2],Ua0(i,l,s,p,n,T)),o=o+1|0;for(s=j0(r<<2)|0,o=0;!((o|0)>=(r|0));)e[s+(o<<2)>>2]=a+(o<<4),o=o+1|0;ei(s,r,4,89),A=yc()|0,o=j0(r<<3)|0;r:do if(c){for(l=0;;){if((l|0)>=(r|0)){l=0;break}y[P+l>>0]|0&&(i=e[s+(l<<2)>>2]|0,n=o+(e[i+12>>2]<<3)|0,e[T>>2]=e[D>>2],e[T+4>>2]=e[D+4>>2],qa0(i,A,n,T)),l=l+1|0}for(;;){if((l|0)>=(r|0))break r;y[P+l>>0]|0||(D=e[s+(l<<2)>>2]|0,o7(l,D,A,o+(e[D+12>>2]<<3)|0,p,e[w>>2]|0,v)),l=l+1|0}}else for(l=0;;){if((l|0)>=(r|0))break r;P=e[s+(l<<2)>>2]|0,o7(l,P,A,o+(e[P+12>>2]<<3)|0,p,e[w>>2]|0,v),l=l+1|0}while(0);for(r0(s),l=0;!((l|0)>=(r|0));)r0(e[a+(l<<4)+4>>2]|0),l=l+1|0;r0(a),Cc(A),r0(v)}else o=0}else o=0;while(0);return g=F,o|0}function ID(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;N=g,g=g+16|0,l=N,G=j0(r<<3)|0,o=e[i+4>>2]|0,W=i+28|0,n=(o|0)>0;do if(e[W>>2]&1)if(n){a=0,L=o,o=(r+-1+o|0)/(o|0)|0;break}else{o=~~+mt(+ +G0(+ +(r|0))),a=0,L=o,o=(r+-1+o|0)/(o|0)|0;break}else if(n){a=1,L=(r+-1+o|0)/(o|0)|0;break}else{o=~~+mt(+ +G0(+ +(r|0))),a=1,L=(r+-1+o|0)/(o|0)|0;break}while(0);for(x=j0((o<<3)+8|0)|0,z=j0((L<<3)+8|0)|0,_=j0(r*24|0)|0,A=i+8|0,n=0,l=_;!((n|0)>=(r|0));)v=+u[t+(n<<5)+8>>3],p=+u[t+(n<<5)+24>>3],m=+((e[A>>2]|0)>>>0),u[l>>3]=+u[t+(n<<5)+16>>3]-+u[t+(n<<5)>>3]+m,u[l+8>>3]=p-v+m,e[l+16>>2]=n,n=n+1|0,l=l+24|0;for(B=j0(r<<2)|0,n=0;!((n|0)>=(r|0));)e[B+(n<<2)>>2]=_+(n*24|0),n=n+1|0;for(n=e[i+24>>2]|0,n?(e[47056]=n,ei(B,r,4,90)):e[W>>2]&64||ei(B,r,4,91),E=(a|0)==0,n=0,l=0,A=0;;){if((A|0)>=(r|0)){s=0,n=0;break}a=e[B+(A<<2)>>2]|0,i=x+(l<<3)|0,m=+u[i>>3],v=+u[a>>3],u[i>>3]=m>v?m:v,i=z+(n<<3)|0,v=+u[i>>3],m=+u[a+8>>3],u[i>>3]=v>m?v:m,E?(n=n+1|0,i=(n|0)==(L|0),n=i?0:n,l=l+(i&1)|0):(l=l+1|0,i=(l|0)==(o|0),n=n+(i&1)|0,l=i?0:l),A=A+1|0}for(;;){if((n|0)>(o|0)){s=0,n=L;break}i=x+(n<<3)|0,m=+u[i>>3],u[i>>3]=s,s=m+s,n=n+1|0}for(;!((n|0)<=0);)i=n+-1|0,m=+u[z+(i<<3)>>3],u[z+(n<<3)>>3]=s,s=m+s,n=i;for(u[z>>3]=s,n=0,l=0,i=0;!((i|0)>=(r|0));){a=e[(e[B+(i<<2)>>2]|0)+16>>2]|0,s=+u[t+(a<<5)>>3],c=-s,v=+u[t+(a<<5)+8>>3],m=-v,w=+u[t+(a<<5)+16>>3],p=+u[t+(a<<5)+24>>3],A=e[W>>2]|0;do if(A&4)s=+u[x+(l<<3)>>3];else if(A&8){s=s-w+ +u[x+(l+1<<3)>>3];break}else{s=(c-w+ +u[x+(l<<3)>>3]+ +u[x+(l+1<<3)>>3])*.5;break}while(0);e[G+(a<<3)>>2]=~~s;do if(A&16)s=v-p+ +u[z+(n<<3)>>3];else if(A&32){s=+u[z+(n+1<<3)>>3];break}else{s=(m-p+ +u[z+(n<<3)>>3]+ +u[z+(n+1<<3)>>3])*.5;break}while(0);e[G+(a<<3)+4>>2]=~~s,E?(n=n+1|0,a=(n|0)==(L|0),n=a?0:n,l=l+(a&1)|0):(l=l+1|0,a=(l|0)==(o|0),n=n+(a&1)|0,l=a?0:l),i=i+1|0}return r0(_),r0(B),r0(x),r0(z),g=N,G|0}function Ha0(r,t){r=r|0,t=t|0;var i=0;return i=e[47056]|0,r=e[i+(e[(e[r>>2]|0)+16>>2]<<2)>>2]|0,t=e[i+(e[(e[t>>2]|0)+16>>2]<<2)>>2]|0,((r|0)>(t|0)?1:((r|0)<(t|0))<<31>>31)|0}function Ja0(r,t){r=r|0,t=t|0;var i=0,n=0;return r=e[r>>2]|0,t=e[t>>2]|0,n=+u[r>>3]+ +u[r+8>>3],i=+u[t>>3]+ +u[t+8>>3],(ni)<<31>>31)|0}function xD(r,t,i){r=r|0,t=t|0,i=i|0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+4>>2],TN(t,s),r=r+1|0,n=n+8|0;g=a}function o7(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;a=e[t+12>>2]|0,c=+u[s+(a<<5)>>3],w=+u[s+(a<<5)+8>>3],p=+u[s+(a<<5)+16>>3],v=+u[s+(a<<5)+24>>3],!(r|0)&&(E=+(l<<1|0),m=+(o|0),(po((~~+mt(+((E-c+p)/m))|0)/-2|0,(~~+mt(+((E-w+v)/m))|0)/-2|0,t,i,n,o,s)|0)!=0)||(A=3);e:do if((A|0)==3&&!(po(0,0,t,i,n,o,s)|0))if((~~+mt(+(p-c))|0)<(~~+mt(+(v-w))|0))for(a=1;;){for(A=0-a|0,r=0;;){if((r|0)<=(A|0)){l=A;break}if(po(A,r,t,i,n,o,s)|0)break e;r=r+-1|0}for(;!((l|0)>=(a|0));){if(po(l,r,t,i,n,o,s)|0)break e;l=l+1|0}for(;!((r|0)>=(a|0));){if(po(l,r,t,i,n,o,s)|0)break e;r=r+1|0}for(;!((l|0)<=(A|0));){if(po(l,r,t,i,n,o,s)|0)break e;l=l+-1|0}for(;!((r|0)<=0);)if(!(po(l,r,t,i,n,o,s)|0))r=r+-1|0;else break e;a=a+1|0}else for(a=1;;){for(A=0-a|0,r=0;;){if((r|0)>=(a|0)){l=A;break}if(po(r,A,t,i,n,o,s)|0)break e;r=r+1|0}for(;!((l|0)>=(a|0));){if(po(r,l,t,i,n,o,s)|0)break e;l=l+1|0}for(;!((r|0)<=(A|0));){if(po(r,l,t,i,n,o,s)|0)break e;r=r+-1|0}for(;!((l|0)<=(A|0));){if(po(r,l,t,i,n,o,s)|0)break e;l=l+-1|0}for(;!((r|0)>=0);)if(!(po(r,l,t,i,n,o,s)|0))r=r+1|0;else break e;a=a+1|0}while(0)}function po(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,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40>>2]|0),e[N>>2]=e[w>>2],e[N+4>>2]=e[w+4>>2],e[N+8>>2]=e[w+8>>2],e[N+12>>2]=e[w+12>>2],A=+u[N>>3]+ +(n|0),u[N>>3]=A,c=N+8|0,a=+u[c>>3]+ +(o|0),u[c>>3]=a,A>=0?A=A/+(l|0):A=(A+1)/+(l|0)+-1,u[N>>3]=A,a>=0?A=a/+(l|0):A=(a+1)/+(l|0)+-1,u[c>>3]=A,e[L>>2]=e[W>>2],e[L+4>>2]=e[W+4>>2],e[L+8>>2]=e[W+8>>2],e[L+12>>2]=e[W+12>>2],e[G>>2]=e[N>>2],e[G+4>>2]=e[N+4>>2],e[G+8>>2]=e[N+8>>2],e[G+12>>2]=e[N+12>>2],Md(L,G,i)),g=T}function $a0(r,t,i){r=r|0,t=t|0,i=i|0;e:do if((r|0)<1)r=0;else switch(e[i+16>>2]|0){case 4:{r=ID(r,t,i)|0;break e}case 3:{r=Ka0(r,t,i)|0;break e}default:{r=0;break e}}while(0);return r|0}function Ka0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;p=g,g=g+80|0,l=p+64|0,o=p+24|0,w=p+8|0,n=p,s=p+56|0,a=i+8|0,c=xD(r,t,e[a>>2]|0)|0;do if((c|0)>=1){for(e[s+4>>2]=0,e[s>>2]=0,A=j0(r<<4)|0,i=0;!((i|0)>=(r|0));)e[A+(i<<4)+12>>2]=i,v=t+(i<<5)|0,n=e[a>>2]|0,e[o>>2]=e[v>>2],e[o+4>>2]=e[v+4>>2],e[o+8>>2]=e[v+8>>2],e[o+12>>2]=e[v+12>>2],e[o+16>>2]=e[v+16>>2],e[o+20>>2]=e[v+20>>2],e[o+24>>2]=e[v+24>>2],e[o+28>>2]=e[v+28>>2],e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],SD(o,A+(i<<4)|0,c,n,l,195059),i=i+1|0;for(o=j0(r<<2)|0,i=0;!((i|0)>=(r|0));)e[o+(i<<2)>>2]=A+(i<<4),i=i+1|0;for(ei(o,r,4,89),l=yc()|0,i=j0(r<<3)|0,n=0;!((n|0)>=(r|0));)v=e[o+(n<<2)>>2]|0,o7(n,v,l,i+(e[v+12>>2]<<3)|0,c,e[a>>2]|0,t),n=n+1|0;for(r0(o),n=0;!((n|0)>=(r|0));)r0(e[A+(n<<4)+4>>2]|0),n=n+1|0;r0(A),Cc(l)}else i=0;while(0);return g=p,i|0}function ba0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;e:do if((r|0)<1)o=0-r|0;else for(x=(n|0)==0,E=(o|0)==0,A=0;;){if((A|0)==(r|0)){o=0;break e}for(B=e[t+(A<<2)>>2]|0,l=x?B:n,a=e[i+(A<<3)>>2]|0,c=e[i+(A<<3)+4>>2]|0,w=+(a|0),p=w*.013888888888888888,v=+(c|0),m=v*.013888888888888888,s=U0(B)|0;s;){o=e[s+16>>2]|0,z=e[o+132>>2]|0,u[z>>3]=+u[z>>3]+p,z=z+8|0,u[z>>3]=+u[z>>3]+m,z=o+16|0,u[z>>3]=+u[z>>3]+w,z=o+24|0,u[z>>3]=+u[z>>3]+v,o=e[o+108>>2]|0,o|0&&(z=o+56|0,u[z>>3]=+u[z>>3]+w,z=o+64|0,u[z>>3]=+u[z>>3]+v);r:do if(!E)for(o=Me(l,s)|0;;){if(!o)break r;ec0(o,a,c),o=Qe(l,o)|0}while(0);s=X0(B,s)|0}LD(B,a,c),A=A+1|0}while(0);return o|0}function ec0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;n=e[r+16>>2]|0,r=e[n+96>>2]|0,r|0&&(w=r+56|0,u[w>>3]=+u[w>>3]+ +(t|0),w=r+64|0,u[w>>3]=+u[w>>3]+ +(i|0)),r=e[n+108>>2]|0,r|0&&(w=r+56|0,u[w>>3]=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)>>2]|0,t,i),n=n+1|0,r=e[s>>2]|0}function RD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=BD(r,t,i,n)|0,o?(r=ba0(r,t,o,i,e[n+12>>2]|0)|0,r0(o)):r=1,r|0}function jd(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(v=g,g=g+32|0,p=v,w=RD(r,t,i,n)|0,!w){for(MA(i),c=(e[i+16>>2]|0)+16|0,e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],e[p+16>>2]=e[c+16>>2],e[p+20>>2]=e[c+20>>2],e[p+24>>2]=e[c+24>>2],e[p+28>>2]=e[c+28>>2],o=p+8|0,l=p+16|0,s=p+24|0,n=0;!((n|0)>=(r|0));){for(a=e[(e[t+(n<<2)>>2]|0)+16>>2]|0,A=e[a+180>>2]|0,a=a+184|0,i=1;!((i|0)>(A|0));)E=(e[(e[(e[a>>2]|0)+(i<<2)>>2]|0)+16>>2]|0)+16|0,u[p>>3]=+u[(+u[p>>3]<+u[E>>3]?p:E)>>3],E=e[(e[(e[a>>2]|0)+(i<<2)>>2]|0)+16>>2]|0,m=E+16|0,u[o>>3]=+u[(+u[o>>3]<+u[E+24>>3]?p:m)+8>>3],u[l>>3]=+u[(+u[l>>3]>+u[E+32>>3]?p:m)+16>>3],u[s>>3]=+u[(+u[s>>3]>+u[E+40>>3]?p:m)+24>>3],i=i+1|0;n=n+1|0}e[c>>2]=e[p>>2],e[c+4>>2]=e[p+4>>2],e[c+8>>2]=e[p+8>>2],e[c+12>>2]=e[p+12>>2],e[c+16>>2]=e[p+16>>2],e[c+20>>2]=e[p+20>>2],e[c+24>>2]=e[p+24>>2],e[c+28>>2]=e[p+28>>2]}return g=v,w|0}function Ac(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;return l=g,g=g+16|0,o=l,n||H0(99534,99540,1400,99547),i=Nd(r,i,i)|0,e[n+8>>2]=i,e[n+12>>2]=0,e[n+20>>2]=0,s7(r,t,n)|0,g=l,e[n+16>>2]|0}function Nd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,l=s,n=s+4|0,o=he(r,99689)|0;e:do if(o)if(e[l>>2]=n,l=(X2(o,137395,l)|0)==1,r=e[n>>2]|0,l&(r|0)>-1)t=r;else{switch(y[o>>0]|0){case 84:case 116:break;default:break e}t=i}while(0);return g=s,t|0}function s7(r,t,i){return r=r|0,t=t|0,i=i|0,rc0(he(r,99572)|0,t,i)|0}function rc0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;B=g,g=g+64|0,v=B+40|0,p=B+32|0,E=B+24|0,m=B+16|0,A=B+8|0,s=B,o=B+48|0,l=B+44|0,i||H0(99534,99540,1292,99581),c=i+28|0,e[c>>2]=0,w=i+16|0,e[w>>2]=t,a=i+4|0,e[a>>2]=0,e[i+24>>2]=0;e:do if(r|0&&(n=y[r>>0]|0,n<<24>>24))switch(n<<24>>24|0){case 97:if(Yr(r,99599,5)|0){if(Yr(r,99605,6)|0)break e;e[w>>2]=5,e[A>>2]=o,A=(X2(r+5|0,99612,A)|0)>0,x=+x0[o>>2],x0[i>>2]=A&x>0?x:1;break e}else{if(e[w>>2]=4,A=tc0(r+5|0,i)|0,e[s>>2]=l,A=(X2(A,137395,s)|0)>0,t=e[l>>2]|0,!(A&(t|0)>0))break e;e[a>>2]=t;break e}case 99:{if(n<<24>>24!=99||ge(r,108006)|0)break e;e[w>>2]=1;break e}case 103:{if(n<<24>>24!=103||ge(r,111494)|0)break e;e[w>>2]=3;break e}case 110:{if(n<<24>>24!=110||ge(r,111481)|0)break e;e[w>>2]=2;break e}default:break e}while(0);return g=B,e[w>>2]|0}function tc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;e:do if((y[r>>0]|0)==95)for(n=t+28|0,i=1;;){r=r+1|0;r:for(;;){if(!i||(t=y[r>>0]|0,!(t<<24>>24)))break e;switch(t<<24>>24|0){case 99:{o=10;break r}case 105:{o=9;break r}case 117:{o=11;break r}case 116:{o=12;break r}case 98:{t=32;break r}case 108:{o=7;break r}case 114:{o=8;break r}default:i=0}}(o|0)==7?(o=0,t=4):(o|0)==8?(o=0,t=8):(o|0)==9?(o=0,t=64):(o|0)==10?(o=0,t=1):(o|0)==11?(o=0,t=2):(o|0)==12&&(o=0,t=16),e[n>>2]=e[n>>2]|t}while(0);return r|0}function I2e(r){switch(r=r|0,r|0){case 1:{r=108006;break}case 2:{r=111481;break}case 3:{r=111494;break}case 4:{r=99599;break}case 5:{r=99605;break}default:r=99679}return r|0}function ic0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+96|0,c=p,w=p+80|0;do if(r){for(n||(n=Un(1,20)|0,e[n+4>>2]=i>>>0>80?i:80),i=e[n>>2]|0,a=e[n+4>>2]|0,i?(s=i+100|0,A=O2(e[n+8>>2]|0,N0(s,a)|0)|0,Ur(A+(N0(a,i)|0)|0,0,a*100|0)|0,i=r):(s=100,i=r,A=Un(100,a)|0);i=nc0(c,i,t,w)|0,!!i;){r=e[n>>2]|0,o=s<<1,l=N0(s,a)|0,(r|0)==(s|0)?(A=O2(A,N0(o,a)|0)|0,Ur(A+l|0,0,l|0)|0,r=e[n>>2]|0):o=s,r=A+(N0(r,a)|0)|0,l=c,s=r+80|0;do e[r>>2]=e[l>>2],r=r+4|0,l=l+4|0;while((r|0)<(s|0));e[n>>2]=(e[n>>2]|0)+1,s=o}if(e[w>>2]|0&&(w=n+16|0,e[w>>2]=e[w>>2]|1),i=e[n>>2]|0,i){e[n+8>>2]=O2(A,N0(i,a)|0)|0;break}else{r0(A),r0(n),n=0;break}}while(0);return g=p,n|0}function nc0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+80|0,l=A+64|0,s=A,e[n>>2]=0;do o=y[t>>0]|0,t=t+1|0;while(an(o)|0);e:do switch(o|0){case 69:{if(e[r>>2]=0,t=A7(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i>>2]);break}case 101:{if(e[r>>2]=1,t=A7(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i>>2]);break}case 80:{if(e[r>>2]=2,t=fh(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+4>>2]);break}case 112:{if(e[r>>2]=3,t=fh(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+4>>2]);break}case 98:{if(e[r>>2]=4,t=fh(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+8>>2]);break}case 66:{if(e[r>>2]=5,t=fh(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+8>>2]);break}case 99:{if(t=EA(t,l)|0,!t){e[n>>2]=1,t=0;break e}if(o=GD(e[l>>2]|0,s)|0,e[l>>2]=o,!o){e[n>>2]=1,t=0;break e}if(e[s>>2]|0){e[r>>2]=14,n=r+8|0,o=s,l=n+64|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));if(!i)break e;e[r+72>>2]=e[i+40>>2];break e}else{if(e[r>>2]=9,e[r+8>>2]=e[s+8>>2],!i)break e;e[r+72>>2]=e[i+24>>2];break e}}case 67:{if(t=EA(t,l)|0,!t){e[n>>2]=1,t=0;break e}if(o=GD(e[l>>2]|0,s)|0,e[l>>2]=o,!o){e[n>>2]=1,t=0;break e}if(e[s>>2]|0){e[r>>2]=13,n=r+8|0,o=s,l=n+64|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));if(!i)break e;e[r+72>>2]=e[i+40>>2];break e}else{if(e[r>>2]=8,e[r+8>>2]=e[s+8>>2],!i)break e;e[r+72>>2]=e[i+20>>2];break e}}case 76:{if(e[r>>2]=6,t=fh(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+12>>2]);break}case 84:{if(e[r>>2]=7,t=Ln(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=Ln(t,r+16|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=oc0(t,r+24|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=Ln(t,r+32|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=EA(t,r+40|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+16>>2]);break}case 70:{if(e[r>>2]=10,t=Ln(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=EA(t,r+16|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+28>>2]);break}case 83:{if(e[r>>2]=11,t=EA(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+32>>2]);break}case 73:{if(e[r>>2]=12,t=A7(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=EA(t,r+40|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+36>>2]);break}case 116:{if(e[r>>2]=15,t=lc0(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+44>>2]);break}case 0:{t=0;break}default:e[n>>2]=1,t=0}while(0);return g=A,t|0}function A7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return s=g,g=g+16|0,n=s,u[t>>3]=+P1(r,n),o=e[n>>2]|0,(o|0)!=(r|0)&&(u[t+8>>3]=+P1(o,n),l=e[n>>2]|0,(o|0)!=(l|0))&&(u[t+16>>3]=+P1(l,n),i=e[n>>2]|0,(l|0)!=(i|0))?(u[t+24>>3]=+P1(i,n),r=e[n>>2]|0,r=(i|0)==(r|0)?0:r):r=0,g=s,r|0}function fh(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+16|0,A=a+4|0,l=a,r=ah(r,A)|0;do if(r){for(i=e[A>>2]|0,s=Un(i,24)|0,e[t>>2]=i,n=s,o=0;;){if((o|0)>=(i|0)){i=9;break}if(u[n>>3]=+P1(r,l),i=e[l>>2]|0,(r|0)==(i|0)){i=5;break}if(u[n+8>>3]=+P1(i,l),r=e[l>>2]|0,(i|0)==(r|0)){i=7;break}u[n+16>>3]=0,n=n+24|0,i=e[t>>2]|0,o=o+1|0}if((i|0)==5){e[A>>2]=o,r0(s),r=0;break}else if((i|0)==7){e[A>>2]=o,r0(s),r=0;break}else if((i|0)==9){e[A>>2]=o,e[t+4>>2]=s;break}}else r=0;while(0);return g=a,r|0}function EA(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,r=ah(r,s)|0,n=e[s>>2]|0;do if((r|0)==0|(n|0)<1)r=0;else{for(;l=y[r>>0]|0,i=l<<24>>24==0,i^l<<24>>24!=45;)r=r+1|0;if(i)r=0;else{for(l=Un(n+1|0,1)|0,o=l,i=n;;){if(r=r+1|0,(i|0)<=0){i=9;break}if(i=y[r>>0]|0,!(i<<24>>24)){i=8;break}y[o>>0]=i,i=(e[s>>2]|0)+-1|0,e[s>>2]=i,o=o+1|0}if((i|0)==8){r0(l),r=0;break}else if((i|0)==9){y[o>>0]=0,e[t>>2]=l;break}}}while(0);return g=A,r|0}function GD(r,t){r=r|0,t=t|0;var i=0;switch(i=y[r>>0]|0,i|0){case 91:{r=sc0(r+1|0,t)|0;break}case 40:{r=Ac0(r+1|0,t)|0;break}case 47:case 35:{e[t>>2]=0,e[t+8>>2]=r;break}default:jf(i)|0?(e[t>>2]=0,e[t+8>>2]=r):r=0}return r|0}function Ln(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=g,g=g+16|0,i=o,n=+P1(r,i),i=e[i>>2]|0,(i|0)==(r|0)?i=0:u[t>>3]=n,g=o,i|0}function oc0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,r=ah(r,n)|0,n=e[n>>2]|0,e[t>>2]=(n|0)<0?0:n|0?2:1,g=i,r|0}function lc0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[t>>2]=bE0(r,n,10)|0,t=e[n>>2]|0,g=i,((t|0)==(r|0)?0:t)|0}function ah(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[t>>2]=Dk(r,n,10)|0,t=e[n>>2]|0,g=i,((t|0)==(r|0)?0:t)|0}function sc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;w=g,g=g+16|0,a=w,e[t>>2]=1,c=t+8|0,l=Ln(r,c)|0;do if(l|0&&(s=Ln(l,t+16|0)|0,(s|0)!=0)&&(n=Ln(s,t+24|0)|0,(n|0)!=0)&&(o=Ln(n,t+32|0)|0,(o|0)!=0)&&(A=t+40|0,i=ah(o,A)|0,(i|0)!=0)){for(t=e[A>>2]|0,o=Un(t,8)|0,n=0;;){if((n|0)>=(t|0)){i=13;break}if(i=Ln(i,a)|0,!i){i=9;break}if(x0[o+(n<<3)>>2]=+u[a>>3],i=EA(i,o+(n<<3)+4|0)|0,!i){i=12;break}n=n+1|0,t=e[A>>2]|0}if((i|0)==9){r0(o),r=0;break}else if((i|0)==12){r0(o),r=0;break}else if((i|0)==13){e[c+36>>2]=o;break}}else r=0;while(0);return g=w,r|0}function Ac0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+16|0,c=p,e[t>>2]=2,A=Ln(r,t+8|0)|0;do if(A|0&&(a=Ln(A,t+16|0)|0,(a|0)!=0)&&(n=Ln(a,t+24|0)|0,(n|0)!=0)&&(o=Ln(n,t+32|0)|0,(o|0)!=0)&&(l=Ln(o,t+40|0)|0,(l|0)!=0)&&(s=Ln(l,t+48|0)|0,(s|0)!=0)&&(w=t+56|0,i=ah(s,w)|0,(i|0)!=0)){for(n=e[w>>2]|0,l=Un(n,8)|0,o=0;;){if((o|0)>=(n|0)){i=15;break}if(i=Ln(i,c)|0,!i){i=11;break}if(x0[l+(o<<3)>>2]=+u[c>>3],i=EA(i,l+(o<<3)+4|0)|0,!i){i=14;break}o=o+1|0,n=e[w>>2]|0}if((i|0)==11){r0(l),r=0;break}else if((i|0)==14){r0(l),r=0;break}else if((i|0)==15){e[t+60>>2]=l;break}}else r=0;while(0);return g=p,r|0}function ZD(r,t,i){return r=r|0,t=t|0,i=i|0,ic0(r,t,i,0)|0}function uc0(r){return r=r|0,ZD(r,0,0)|0}function WD(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(n=e[r+12>>2]|0,r|0){for(o=e[r+8>>2]|0,l=r+4|0,s=(n|0)==0,t=0;!((t|0)>=(e[r>>2]|0));)i=o+(N0(e[l>>2]|0,t)|0)|0,s||l2[n&127](i),fc0(i),t=t+1|0;r0(o),r0(r)}}function fc0(r){switch(r=r|0,e[r>>2]|0){case 3:case 2:{r0(e[r+8+4>>2]|0);break}case 5:case 4:{r0(e[r+8+4>>2]|0);break}case 6:{r0(e[r+8+4>>2]|0);break}case 7:{r0(e[r+40>>2]|0);break}case 9:case 8:{r0(e[r+8>>2]|0);break}case 14:case 13:{ac0(r+8|0);break}case 10:{r0(e[r+16>>2]|0);break}case 11:{r0(e[r+8>>2]|0);break}case 12:{r0(e[r+40>>2]|0);break}default:}}function ac0(r){r=r|0;var t=0,i=0,n=0;switch(e[r>>2]|0){case 1:{for(n=r+40|0,t=r+8+36|0,r=0;i=e[t>>2]|0,!((r|0)>=(e[n>>2]|0));)r0(e[i+(r<<3)+4>>2]|0),r=r+1|0;r0(i);break}case 2:{for(n=r+56|0,i=r+60|0,r=0;t=e[i>>2]|0,!((r|0)>=(e[n>>2]|0));)r0(e[t+(r<<3)+4>>2]|0),r=r+1|0;r0(t);break}default:}}function ch(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+16|0,a=p+4|0,w=p,e[t>>2]=0,e[i>>2]=(d1(We(r)|0)|0)!=0&1,n=e[47184]|0;e:do if(n|0&&(l=k2(r,n)|0,s=y[l>>0]|0,s<<24>>24)){for(n=20388;;){if(o=e[n>>2]|0,!o)break e;if(s<<24>>24==(y[o>>0]|0)&&!(ge(l,o)|0))break;n=n+12|0}e[t>>2]=e[n+4>>2],e[i>>2]=e[n+8>>2]}while(0);n=e[47195]|0,n|0&&(e[i>>2]|0)==1&&(A=k2(r,n)|0,y[A>>0]|0)&&DD(A,i),n=e[47196]|0,n|0&&(e[t>>2]|0)==1&&(c=k2(r,n)|0,y[c>>0]|0)&&DD(c,t),y[(e[r+16>>2]|0)+153>>0]|0&&(A=r+-48|0,s=We(e[((e[r>>2]&3|0)==2?r:A)+40>>2]|0)|0,c=e[r>>2]&3,ch(rr(s,e[((c|0)==2?r:A)+40>>2]|0,e[((c|0)==3?r:r+48|0)+40>>2]|0,0,0)|0,a,w),e[i>>2]=e[a>>2]|e[i>>2],e[t>>2]=e[w>>2]|e[t>>2]),g=p}function DD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+16|0,c=p,a=p+4|0,A=0,i=0;e:for(;;){for(e[t>>2]=i,o=(A|0)<4,l=(A|0)==3,s=(A|0)==0;;){if(!(o&(y[r>>0]|0)!=0))break e;if(e[a>>2]=0,n=cc0(r,a)|0,i=e[a>>2]|0,!i){w=5;break e}if(r=(i|0)==8,!(l&r)&&(!(s&r)||y[n>>0]|0))break;e[a>>2]=0,r=n}i=e[t>>2]|i<<(A<<3),A=A+1|0,r=n}(w|0)==5&&(e[c>>2]=r,$0(0,99694,c)|0),g=p}function cc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;if(o=g,g=g+16|0,n=o,e[n>>2]=0,i=u7(r,20448,n)|0,(i|0)==(r|0)){for(;i=u7(r,20464,n)|0,(r|0)!=(i|0);)r=i;i=u7(r,20512,n)|0}return r=e[n>>2]|0,(r|0)!=0&(r&15|0)==0&&(r=r|1,e[n>>2]=r),e[t>>2]=e[t>>2]|r,g=o,i|0}function u7(r,t,i){r=r|0,t=t|0,i=i|0;for(var n=0,o=0,l=0;n=e[t>>2]|0,!!n;){if(o=d2(n)|0,!(Yr(r,n,o)|0)){l=4;break}t=t+8|0}return(l|0)==4&&(e[i>>2]=e[i>>2]|e[t+4>>2],r=r+o|0),r|0}function pf(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(l=0,i=0;(l|0)!=4;){for(o=t>>(l<<3)&15,n=1400;e[n+16>>2]|0;){if((o|0)==(e[n>>2]|0)){s=6;break}n=n+24|0}(s|0)==6&&(s=0,i=+u[n+8>>3]+i),l=l+1|0}return+(i*10*+sr(r,e[47188]|0,1,0))}function hc0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+96|0,c=v+80|0,p=v,a=o>4?o*.0875:.35,s=+u[i+8>>3],w=s*a,A=+u[i>>3],a=A*a,n=+u[t>>3],A=n+A,u[c>>3]=A,o=+u[t+8>>3],s=s+o,u[c+8>>3]=s,i=p+64|0,l&32?(e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],e[p>>2]=e[t>>2],e[p+4>>2]=e[t+4>>2],e[p+8>>2]=e[t+8>>2],e[p+12>>2]=e[t+12>>2],t=p+32|0,e[t>>2]=e[c>>2],e[t+4>>2]=e[c+4>>2],e[t+8>>2]=e[c+8>>2],e[t+12>>2]=e[c+12>>2]):(e[i>>2]=e[c>>2],e[i+4>>2]=e[c+4>>2],e[i+8>>2]=e[c+8>>2],e[i+12>>2]=e[c+12>>2],e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],c=p+32|0,e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],o=s,n=A),u[p+16>>3]=n+w,u[p+24>>3]=o-a,u[p+48>>3]=n-w,u[p+56>>3]=o+a;do if(l&64)Q2(r,p,3,l>>>4&1^1);else if(l&128){Q2(r,p+32|0,3,l>>>4&1^1);break}else{Q2(r,p+16|0,3,l>>>4&1^1);break}while(0);g=v}function wc0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0;G=g,g=g+160|0,w=G+144|0,L=G,m=n*4,W=(l&32|0)==0,m=!(m1)|W?0:(o+-1)*.05/n,z=+u[i+8>>3],E=-z,_=m*E,x=+u[i>>3],m=x*m,E=B*E,B=x*B,v=+u[t>>3],n=v+x,u[w>>3]=n,p=+u[t+8>>3],o=z+p,u[w+8>>3]=o,x=x*.5+v,z=z*.5+p,i=L+128|0,W?(e[i>>2]=e[w>>2],e[i+4>>2]=e[w+4>>2],e[i+8>>2]=e[w+8>>2],e[i+12>>2]=e[w+12>>2],e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],W=L+64|0,e[W>>2]=e[t>>2],e[W+4>>2]=e[t+4>>2],e[W+8>>2]=e[t+8>>2],e[W+12>>2]=e[t+12>>2],s=p,A=v,a=p,c=v,o=p,n=v):(e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],e[L>>2]=e[t>>2],e[L+4>>2]=e[t+4>>2],e[L+8>>2]=e[t+8>>2],e[L+12>>2]=e[t+12>>2],W=L+64|0,e[W>>2]=e[w>>2],e[W+4>>2]=e[w+4>>2],e[W+8>>2]=e[w+8>>2],e[W+12>>2]=e[w+12>>2],s=o+B,A=n+E,a=o-B,c=n-E),u[L+16>>3]=n-_,u[L+24>>3]=o-m,u[L+32>>3]=x-E,u[L+40>>3]=z-B,u[L+48>>3]=c,u[L+56>>3]=a,u[L+80>>3]=A,u[L+88>>3]=s,u[L+96>>3]=x+E,u[L+104>>3]=z+B,u[L+112>>3]=n+_,u[L+120>>3]=o+m;do if(l&64)Q2(r,L,6,1);else if(l&128){Q2(r,L+48|0,6,1);break}else{Q2(r,L,9,1);break}while(0);g=G}function dc0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;m=g,g=g+64|0,v=m,x=+u[i+8>>3],B=+u[i>>3],a=+u[t>>3],n=a+B,c=+u[t+8>>3],o=c+x,s=a+B*.2,A=c+x*.2,a=a+B*.6,c=c+x*.6,u[v>>3]=s-x,u[v+8>>3]=A+B,w=v+16|0,u[w>>3]=s+x,p=v+24|0,u[p>>3]=A-B,u[v+32>>3]=a+x,u[v+40>>3]=c-B,u[v+48>>3]=a-x,u[v+56>>3]=c+B,l&64?(i=3,l=0,E=3):l&128|0&&(i=2,l=1,E=3),(E|0)==3&&(u[v+(l<<4)>>3]=s,u[v+(l<<4)+8>>3]=A,u[v+(i<<4)>>3]=a,u[v+(i<<4)+8>>3]=c),Q2(r,v,4,1),e[v>>2]=e[t>>2],e[v+4>>2]=e[t+4>>2],e[v+8>>2]=e[t+8>>2],e[v+12>>2]=e[t+12>>2],u[w>>3]=n,u[p>>3]=o,y2(r,v,2),g=m}function pc0(r,t,i,n,o,l){r=r|0,t=t|0,i=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if(l&64)Q2(r,i,3,l>>>4&1^1);else if(i=l>>>4&1^1,l&128){Q2(r,s,3,i);break}else{Q2(r,s,4,i);break}while(0);g=A}function vc0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,a=0,c=0,w=0;s=g,g=g+32|0,A=s,c=+u[i>>3],o=+u[i+8>>3],n=+G0(+(o*o+c*c))*.5,w=+u[t>>3],c=c*.5,u[A>>3]=w+c-n,a=+u[t+8>>3],o=o*.5,u[A+8>>3]=a-n+o,u[A+16>>3]=w+n+c,u[A+24>>3]=a+n+o,Y3(r,A,2,l>>>4&1^1),g=s}function mc0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+112|0,m=x+48|0,E=x+16|0,B=x,w=o>4?o*.125:.5,v=+u[t>>3],p=+u[i>>3],s=+u[t+8>>3],c=+u[i+8>>3],n=c*w,o=p*w,e[E>>2]=e[t>>2],e[E+4>>2]=e[t+4>>2],e[E+8>>2]=e[t+8>>2],e[E+12>>2]=e[t+12>>2],u[E+16>>3]=p+v,u[E+24>>3]=c+s,u[m>>3]=w*(p-c)+v,A=w*(c+p),a=A+s,u[m+8>>3]=a,u[m+48>>3]=A+v,s=w*(c-p)+s,u[m+56>>3]=s,p=n*-.95,c=p+o+v,w=o*1.3333333333333333,l&32?(n=n*1.3333333333333333,A=o*2.333333333333333,s=s+n,o=a+n,n=c+w):(n=n*1.3333333333333333,A=o*-.33333333333333326,s=s-n,o=a-n,n=c-w),u[m+16>>3]=n,u[m+24>>3]=o,u[m+32>>3]=A-p+v,u[m+40>>3]=s,y2(r,E,2),l&64?Ei(B,m,3,.5,0,m):l&128|0&&Ei(B,m,3,.5,m,0),Ao(r,m,4,0,0,0),g=x}function gc0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0;l=g,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+8>>2],e[r+12>>2]=e[i+12>>2],g=m}function Bc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return s=g,g=g+16|0,o=s+8|0,n=s,t=he(r,99796)|0,t|0&&y[t>>0]|0?(i=t,l=5):(t=he(r,99808)|0,t|0&&y[t>>0]|0?(i=t,l=5):t=0),(l|0)==5&&(t=ZD(i,0,120)|0,t||(e[n>>2]=te(r)|0,$0(0,99815,n)|0,e[o>>2]=i,$0(3,99868,o)|0)),g=s,t|0}function hh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(l=g,g=g+16|0,o=j0(304)|0,o||$0(1,99876,l)|0,n=r+16|0,r=e[n>>2]|0,e[o>>2]=r,e[n>>2]=o,!r)e[o+144>>2]=3,e[o+148>>2]=0,u[o+152>>3]=1;else{t=o+16|0,i=r+16|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));t=o+56|0,i=r+56|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));e[o+144>>2]=e[r+144>>2],e[o+148>>2]=e[r+148>>2],u[o+152>>3]=+u[r+152>>3],e[o+136>>2]=e[r+136>>2],t=o+96|0,i=r+96|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0))}return g=l,o|0}function wh(r){r=r|0;var t=0;if(r=r+16|0,t=e[r>>2]|0,!t)H0(99902,99906,117,99913);else{r0(e[t+212>>2]|0),r0(e[t+208>>2]|0),r0(e[t+216>>2]|0),r0(e[t+220>>2]|0),r0(e[t+224>>2]|0),r0(e[t+228>>2]|0),r0(e[t+232>>2]|0),r0(e[t+236>>2]|0),r0(e[t+240>>2]|0),r0(e[t+244>>2]|0),r0(e[t+248>>2]|0),r0(e[t+252>>2]|0),r0(e[t+256>>2]|0),r0(e[t+272>>2]|0),r0(e[t+284>>2]|0),r0(e[t+280>>2]|0),e[r>>2]=e[t>>2],r0(t);return}}function MD(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0;a=e[r+16>>2]|0,A=e[r+152>>2]|0,(t|0)!=0&(A&32768|0)!=0&&(e[a+192>>2]=t),A&65536|0&&(e[a+212>>2]=st(l,s)|0,(i|0)!=0)&&y[i>>0]|0?(e[a+208>>2]=st(i,s)|0,r=1):r=0;do if(A&4194304){if(n|0&&y[n>>0]|0){e[a+228>>2]=st(n,s)|0,r=a+260|0,$[r>>1]=$[r>>1]|1,r=1;break}t=e[a+192>>2]|0,t&&(e[a+228>>2]=C2(t)|0,r=1)}while(0);return(o|0)!=0&(A&8388608|0)!=0&&y[o>>0]|0&&(e[a+244>>2]=st(o,s)|0,r=1),r|0}function c7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+80|0,s=A,l=A+8|0,o=e[(e[r>>2]|0)+168>>2]|0,n=e[(e[(e[o+16>>2]|0)+8>>2]|0)+92>>2]|0,jD(r,i),r=he(t,141060)|0,r|0&&y[r>>0]|0)t2(i,r)|0,n=i+4|0,r=e[n>>2]|0,r>>>0>=(e[i+8>>2]|0)>>>0&&(Xe(i,1)|0,r=e[n>>2]|0),y[r>>0]=0,r=e[i>>2]|0,e[n>>2]=r;else{switch((o|0)!=(t|0)&(n|0)!=0&&(t2(i,n)|0,n=i+4|0,r=e[n>>2]|0,r>>>0>=(e[i+8>>2]|0)>>>0&&(Xe(i,1)|0,r=e[n>>2]|0),e[n>>2]=r+1,y[r>>0]=95),qo(t)|0){case 0:{n=(o|0)==(t|0)?111494:99927,r=(e[t>>2]|0)>>>4;break}case 1:{n=111481,r=(e[t>>2]|0)>>>4;break}case 2:{n=111450,r=(e[t>>2]|0)>>>4;break}default:n=0,r=0}t2(i,n)|0,e[s>>2]=r,Ke(l,99933,s)|0,t2(i,l)|0,n=i+4|0,r=e[n>>2]|0,r>>>0>=(e[i+8>>2]|0)>>>0&&(Xe(i,1)|0,r=e[n>>2]|0),y[r>>0]=0,r=e[i>>2]|0,e[n>>2]=r}return g=A,r|0}function jD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;s=g,g=g+144|0,l=s,o=s+8|0,i=e[r+160>>2]|0,(i|0)>1&&e[r+152>>2]&64|0&&(t2(t,e[(e[(e[r>>2]|0)+308>>2]|0)+(i<<2)>>2]|0)|0,n=t+4|0,i=e[n>>2]|0,i>>>0>=(e[t+8>>2]|0)>>>0&&(Xe(t,1)|0,i=e[n>>2]|0),e[n>>2]=i+1,y[i>>0]=95),n=e[r+196>>2]|0,i=e[r+200>>2]|0,(n|0)>0|(i|0)>0&&(e[l>>2]=n,e[l+4>>2]=i,Ke(o,99937,l)|0,t2(t,o)|0),g=s}function ND(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(E=g,g=g+48|0,p=E+16|0,o=E+32|0,v=E,m=+u[(e[r+16>>2]|0)+152>>3],w=Qd(i,0,o)|0,(w+-1|0)>>>0>=2){for(n=+u[t+16>>3],A=(n+ +u[t>>3])*.5,u[v>>3]=A,l=+u[t+24>>3],a=(l+ +u[t+8>>3])*.5,u[v+8>>3]=a,A=n-A,a=l-a,c=m>.5,c&&Uo(r,.5),s=e[o>>2]|0,l=0,o=e[s+8>>2]|0;i=e[o>>2]|0,!!i;)t=o+4|0,+x0[t>>2]==0?n=l:(tr(r,i),e[o+12>>2]|0?n=+x0[t>>2]*6.283185307179586+l:n=6.283185307179586,e[p>>2]=e[v>>2],e[p+4>>2]=e[v+4>>2],e[p+8>>2]=e[v+8>>2],e[p+12>>2]=e[v+12>>2],t=Ji0(p,A,a,l,n)|0,Ao(r,e[t>>2]|0,e[t+4>>2]|0,0,0,1),Uo0(t)),l=n,o=o+12|0;c&&Uo(r,m),fc(s)}return g=E,w|0}function Qd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;m=g,g=g+16|0,w=m+8|0,c=m,v=j0(12)|0,l=C2(r)|0;e:do if(!t)for(t=1,n=l;;){switch(y[n>>0]|0){case 0:break e;case 58:{t=t+1|0;break}default:}n=n+1|0}while(0);for(e[v+4>>2]=l,p=j0((t*12|0)+12|0)|0,e[v+8>>2]=p,a=1,o=0,t=0,n=l;;){if(n=Qf(n,107984)|0,!n){n=20;break}if(s=+Ic0(n),!(s>=0)){n=17;break}if(A=s-a,A>0&&(e[5156]|0&&!(A<1e-5&A>-1e-5)?(e[c>>2]=r,$0(0,99948,c)|0,e[5156]=0,s=a,t=3):s=a),A=a-s,s>0&&(y[p+(o*12|0)+8>>0]=1),y[n>>0]|0&&(e[p+(o*12|0)>>2]=n),n=o+1|0,x0[p+(o*12|0)+4>>2]=s,A<1e-5&A>-1e-5){o=n,n=30;break}else a=A,o=n,n=0}e:do if((n|0)==17)e[5156]|0?(e[w>>2]=r,$0(1,99983,w)|0,e[5156]=0,t=2):t=1,fc(v);else if((n|0)==20)if(a>0){for(n=0,l=0;!((n|0)>=(o|0));)w=l+(+x0[p+(n*12|0)+4>>2]==0&1)|0,n=n+1|0,l=w;if((l|0)<=0){n=p+((o+-1|0)*12|0)+4|0,x0[n>>2]=a+ +x0[n>>2],n=30;break}for(s=a/+(l|0),n=0;;){if((n|0)>=(o|0)){n=30;break e}l=p+(n*12|0)+4|0,+x0[l>>2]==0&&(x0[l>>2]=s),n=n+1|0}}else n=30;while(0);if((n|0)==30){for(;n=o+-1|0,!((o|0)<=0||+x0[p+(n*12|0)+4>>2]>0);)o=n;e[p+(o*12|0)>>2]=0,e[v>>2]=o,e[i>>2]=v}return g=m,t|0}function fc(r){r=r|0,r0(e[r+4>>2]|0),r0(e[r+8>>2]|0),r0(r)}function Ic0(r){r=r|0;var t=0,i=0,n=0,o=0;return n=g,g=g+16|0,i=n,r=Zr(r,59)|0,r?(o=r+1|0,y[r>>0]=0,t=+P1(o,i),t=t>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,+x0[t>>2]!=0&&(tr(r,i),e[n+12>>2]|0?o=c*+x0[t>>2]+ +u[m>>3]:o=a,u[w>>3]=o,u[A>>3]=o,Q2(r,m,4,1),o=+u[A>>3],u[s>>3]=o,u[m>>3]=o),n=n+12|0;p&&Uo(r,E),fc(l)}return g=B,v|0}function Td(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;i=e[r+16>>2]|0,n=e[r+152>>2]|0,n&4259840|0&&(o=n&131072,l=o>>>16^2,e[i+264>>2]=l,s=i+268|0,e[s>>2]=l+2,l=i+272|0,r0(e[l>>2]|0),i=j0(e[s>>2]<<4)|0,e[l>>2]=i,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],l=i+16|0,t=t+16|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],n&8192||El(r,i,i,2)|0,o||wp(i))}function Fd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+144|0,i=E+80|0,o=E+16|0,l=E,c=+u[t>>3],v=r+16|0,w=+u[v>>3],!(c>w)&&(p=+u[r>>3],!(c>3],A=+u[r+24>>3],!(n>A))&&(a=+u[r+8>>3],!(n>3],!(c>w|c>3],!(c>A|c>3],!(c>w|c>3],!(c>A|c>3],!(c>w|c>3],!(p>A|p>3],n>+u[v>>3]?(i=v,m=16):n<+u[r>>3]&&(i=r,m=16),(m|0)==16&&(m=0,u[i>>3]=n),n=+u[t+(o<<4)+8>>3],n>+u[l>>3]?(i=v,m=19):n<+u[s>>3]&&(i=r,m=19),(m|0)==19&&(m=0,u[i+8>>3]=n),o=o+1|0}}while(0);g=E}function QD(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;return t=g,g=g+48|0,i=t+32|0,n=t+16|0,o=t,A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>2]=0,!B)e[r>>2]=e[L>>2],e[r+4>>2]=e[L+4>>2],e[r+8>>2]=e[L+8>>2],e[r+12>>2]=e[L+12>>2],e[r+16>>2]=e[L+16>>2],e[r+20>>2]=e[L+20>>2],e[r+24>>2]=e[L+24>>2],e[r+28>>2]=e[L+28>>2];else{for(t=L+16|0,+u[L>>3]==+u[t>>3]&&(i=L+8|0,n=L+24|0,+u[i>>3]==+u[n>>3])&&(u[i>>3]=17976931348623157e292,u[L>>3]=17976931348623157e292,u[n>>3]=-17976931348623157e292,u[t>>3]=-17976931348623157e292),s=z+8|0,A=z+16|0,a=z+24|0,c=G+16|0,w=G+24|0,p=E+144|0,v=_+16|0,m=B+12|0,t=0,n=e[B+8>>2]|0,i=0,o=0,l=0;!((l|0)>=(e[B>>2]|0));){switch(e[G>>2]=e[W>>2],e[G+4>>2]=e[W+4>>2],e[G+8>>2]=e[W+8>>2],e[G+12>>2]=e[W+12>>2],e[G+16>>2]=e[W+16>>2],e[G+20>>2]=e[W+20>>2],e[G+24>>2]=e[W+24>>2],e[G+28>>2]=e[W+28>>2],e[n>>2]|0){case 1:case 0:{q=+u[n+8>>3],t0=+u[n+24>>3],u[z>>3]=q-t0,J=+u[n+16>>3],F=+u[n+32>>3],u[s>>3]=J-F,u[A>>3]=t0+q,u[a>>3]=F+J,U=n+80|0,e[U>>2]=e[z>>2],e[U+4>>2]=e[z+4>>2],e[U+8>>2]=e[z+8>>2],e[U+12>>2]=e[z+12>>2],U=n+96|0,e[U>>2]=e[A>>2],e[U+4>>2]=e[A+4>>2],e[U+8>>2]=e[A+8>>2],e[U+12>>2]=e[A+12>>2],e[x>>2]=e[z>>2],e[x+4>>2]=e[z+4>>2],e[x+8>>2]=e[z+8>>2],e[x+12>>2]=e[z+12>>2],ac(L,x),e[x>>2]=e[A>>2],e[x+4>>2]=e[A+4>>2],e[x+8>>2]=e[A+8>>2],e[x+12>>2]=e[A+12>>2],ac(L,x);break}case 3:case 2:{U=n+80|0,Y=n+8|0,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>>2],e[x>>2]=e[_>>2],e[x+4>>2]=e[_+4>>2],e[x+8>>2]=e[_+8>>2],e[x+12>>2]=e[_+12>>2],ac(L,x),e[x>>2]=e[v>>2],e[x+4>>2]=e[v+4>>2],e[x+8>>2]=e[v+8>>2],e[x+12>>2]=e[v+12>>2],ac(L,x),e[m>>2]|0||(e[m>>2]=109);break}case 10:{i=e[n+16>>2]|0,o=+u[n+8>>3];break}case 15:{t=e[n+8>>2]|0;break}default:}n=n+120|0,l=l+1|0}e[r>>2]=e[L>>2],e[r+4>>2]=e[L+4>>2],e[r+8>>2]=e[L+8>>2],e[r+12>>2]=e[L+12>>2],e[r+16>>2]=e[L+16>>2],e[r+20>>2]=e[L+20>>2],e[r+24>>2]=e[L+24>>2],e[r+28>>2]=e[L+28>>2]}g=P}function ac(r,t){r=r|0,t=t|0;var i=0,n=0;i=+u[t>>3],n=r+16|0,i>+u[n>>3]&&(u[n>>3]=i),i<+u[r>>3]&&(u[r>>3]=i),i=+u[t+8>>3],t=r+24|0,i>+u[t>>3]&&(u[t>>3]=i),t=r+8|0,i<+u[t>>3]&&(u[t>>3]=i)}function w7(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(E=g,g=g+48|0,a=E+32|0,w=E,o=+u[t>>3],p=w+16|0,u[p>>3]=o,u[w>>3]=o,o=+u[t+8>>3],v=w+24|0,u[v>>3]=o,c=w+8|0,u[c>>3]=o,A=1;!((A|0)>=(i|0));)s=t+24|0,o=+u[s>>3],o<+u[w>>3]?(l=w,m=5):o>+u[p>>3]&&(l=p,m=5),(m|0)==5&&(m=0,u[l>>3]=o),o=+u[t+32>>3],o<+u[c>>3]?(t=w,m=8):o>+u[v>>3]&&(t=p,m=8),(m|0)==8&&(m=0,u[t+8>>3]=o),A=A+1|0,t=s;e[a>>2]=e[w>>2],e[a+4>>2]=e[w+4>>2],e[a+8>>2]=e[w+8>>2],e[a+12>>2]=e[w+12>>2],ac(n,a),e[a>>2]=e[p>>2],e[a+4>>2]=e[p+4>>2],e[a+8>>2]=e[p+8>>2],e[a+12>>2]=e[p+12>>2],ac(n,a),e[r>>2]=e[w>>2],e[r+4>>2]=e[w+4>>2],e[r+8>>2]=e[w+8>>2],e[r+12>>2]=e[w+12>>2],e[r+16>>2]=e[w+16>>2],e[r+20>>2]=e[w+20>>2],e[r+24>>2]=e[w+24>>2],e[r+28>>2]=e[w+28>>2],g=E}function Sc0(r,t,i,n){r=r|0,t=+t,i=+i,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;switch(w=g,g=g+16|0,s=w+8|0,A=w,o=+u[n+32>>3],a=+u[n+40>>3],y[n+48>>0]|0){case 108:{u[s>>3]=t,o=o+t,l=A,c=5;break}case 110:{o=o*.5,u[s>>3]=t-o,o=o+t,l=A,c=5;break}case 114:{u[A>>3]=t,o=t-o,l=s,c=5;break}default:t=0,o=0}(c|0)==5&&(u[l>>3]=o,t=+u[s>>3],o=+u[A>>3]),i=+u[n+16>>3]+i,u[r>>3]=t,u[r+8>>3]=i-a,u[r+16>>3]=o,u[r+24>>3]=i,g=w}function _c0(r){r=r|0,(e[r>>2]|0)==7&&BN(e[r+112>>2]|0,1)}function TD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(a=g,g=g+16|0,A=a,s=e[r+152>>2]|0,c=+u[r+432>>3],l=+u[r+352>>3]*.013888888888888888,n=l*c,u[r+488>>3]=n,o=+u[r+440>>3],l=l*o,u[r+496>>3]=l,u[r+520>>3]=c*.013888888888888888,i=r+528|0,u[i>>3]=o*.013888888888888888,s&4096|0&&(u[i>>3]=o*-.013888888888888888),i=(e[r+360>>2]|0)==0,c=+((e[r+448>>2]|0)>>>0),o=+((e[r+452>>2]|0)>>>0),u[r+368>>3]=(i?c:o)/n,u[r+376>>3]=(i?o:c)/l,O3(r,wt(t,re(t,0,101522,0)|0,195059)|0),e[r+160>>2]=0,zc0(r,t),s&2|0&&Lc0(r,t),i=U0(t)|0;i;)y[(e[i+16>>2]|0)+116>>0]=0,i=X0(t,i)|0;for(Rc0(r,A);(Gc0(r)|0)<<24>>24;){for((FD(r)|0)>1&&Tt0(r),Zc0(r);(PD(r)|0)<<24>>24;)Wc0(r,t),Dc0(r);(FD(r)|0)>1&&Ft0(r),Mc0(r,A)}jc0(r),g=a}function zc0(r,t){r=r|0,t=t|0;var i=0;i=hh(r)|0,e[i+4>>2]=0,e[i+8>>2]=t,e[i+12>>2]=0,K7(r,e[(e[t+16>>2]|0)+12>>2]|0,t),Mt0(r,t)}function Lc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(tr(r,134800),i=he(t,140977)|0,i|0&&y[i>>0]|0&&tr(r,i),i=he(t,101446)|0,i|0&&y[i>>0]|0&&Z2(r,i),pN(r,t),l=U0(t)|0;l;){i=he(l,140823)|0,i|0&&y[i>>0]|0&&Z2(r,i),i=he(l,137729)|0,i|0&&y[i>>0]|0&&tr(r,i),i=he(l,101418)|0;do if(i|0&&y[i>>0]|0){if(!(Zr(i,58)|0)){Z2(r,i);break}for(n=C2(i)|0,i=n;i=Qf(i,107984)|0,!!i;){if(!(y[i>>0]|0)){i=0;continue}Z2(r,i),i=0}r0(n)}while(0);for(i=he(l,101446)|0,i|0&&y[i>>0]|0&&Z2(r,i),o=Me(t,l)|0;o;){i=he(o,140823)|0;do if(i|0&&y[i>>0]|0){if(!(Zr(i,58)|0)){Z2(r,i);break}for(n=C2(i)|0,i=n;i=Qf(i,107984)|0,!!i;){if(!(y[i>>0]|0)){i=0;continue}Z2(r,i),i=0}r0(n)}while(0);i=he(o,101446)|0,i|0&&y[i>>0]|0&&Z2(r,i),o=Qe(t,o)|0}l=X0(t,l)|0}}function Rc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,n=A+8|0,l=A,s=e[r>>2]|0,i=e[s+312>>2]|0,o=r+156|0,e[o>>2]=i,s=e[s+316>>2]|0,s?(i=s+4|0,(e[s>>2]|0)>1&&!(e[r+152>>2]&64|0)&&(e[l>>2]=e[r+52>>2],$0(0,100567,l)|0,e[s+8>>2]=(e[o>>2]|0)+1),n=e[i>>2]|0,i=s+8|0):(i|0)>1&&!(e[r+152>>2]&64|0)?(e[n>>2]=e[r+52>>2],$0(0,100567,n)|0,e[o>>2]=1,n=1,i=0):(n=1,i=0),e[r+160>>2]=n,e[t>>2]=i,g=A}function Gc0(r){return r=r|0,(e[r+160>>2]|0)<=(e[r+156>>2]|0)|0}function FD(r){r=r|0;var t=0;return t=e[(e[r>>2]|0)+316>>2]|0,e[(t|0?t:r+156|0)>>2]|0}function Zc0(r){r=r|0;var t=0,i=0;i=r+172|0,t=e[i+4>>2]|0,r=r+196|0,e[r>>2]=e[i>>2],e[r+4>>2]=t}function PD(r){r=r|0;var t=0,i=0;return i=e[r+196>>2]|0,(i|0)>-1&&(i|0)<(e[r+164>>2]|0)&&(t=e[r+200>>2]|0,(t|0)>-1)?r=(t|0)<(e[r+168>>2]|0)&1:r=0,r|0}function Wc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;p=g,g=g+176|0,A=p,i=p+48|0,a=p+32|0,c=e[r+16>>2]|0,w=e[r+152>>2]|0,(e[r+160>>2]|0)<=1&&(e[r+196>>2]|0)<=0?o=0:(Ot(a,128,i),n=c+212|0,o=e[n>>2]|0,jD(r,a),t2(a,o)|0,l=a+4|0,i=e[l>>2]|0,i>>>0>=(e[a+8>>2]|0)>>>0&&(Xe(a,1)|0,i=e[l>>2]|0),y[i>>0]=0,i=e[a>>2]|0,e[l>>2]=i,e[n>>2]=i),Jw(he(t,100032)|0),Nc0(r),Nt0(r),Z2(r,137314),tr(r,134800);do if(w&4259840|0){if(!(e[c+208>>2]|0)&&!($[c+260>>1]&1))break;w&655360?(l=w&131072,e[c+264>>2]=l>>>16^2,i=j0((l>>>12^32)+32|0)|0,n=r+288|0,e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[i+8>>2]=e[n+8>>2],e[i+12>>2]=e[n+12>>2],n=i+16|0,v=r+304|0,e[n>>2]=e[v>>2],e[n+4>>2]=e[v+4>>2],e[n+8>>2]=e[v+8>>2],e[n+12>>2]=e[v+12>>2],l?n=2:(wp(i),n=4)):(i=0,n=0),w&8192||El(r,i,i,n)|0,e[c+272>>2]=i,e[c+268>>2]=n}while(0);w&32768|0&&(s=e[(e[t+16>>2]|0)+12>>2]|0,s|0)&&(e[c+192>>2]=e[s>>2]),n=(w&4|0)!=0;do if(!n){if(i=c+208|0,!(e[i>>2]|0)&&!($[c+260>>1]&1))break;v=r+256|0,e[A>>2]=e[v>>2],e[A+4>>2]=e[v+4>>2],e[A+8>>2]=e[v+8>>2],e[A+12>>2]=e[v+12>>2],e[A+16>>2]=e[v+16>>2],e[A+20>>2]=e[v+20>>2],e[A+24>>2]=e[v+24>>2],e[A+28>>2]=e[v+28>>2],Td(r,A),xn(r,e[i>>2]|0,e[c+228>>2]|0,e[c+244>>2]|0,e[c+212>>2]|0)}while(0);Qc0(r,t),i=e[(e[t+16>>2]|0)+12>>2]|0,i|0&&Ef(r,4,i);do if(!n){if(!(e[c+208>>2]|0)&&!($[c+260>>1]&1))break;Bl(r)}while(0);Tc0(r,t,w),Qt0(r),o|0&&(Vt(a),e[c+212>>2]=o),g=p}function Dc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;s=g,g=g+32|0,i=s+24|0,t=s+16|0,a=s+8|0,o=s,l=r+196|0,A=r+188|0,e[t>>2]=e[l>>2],e[t+4>>2]=e[l+4>>2],e[i>>2]=e[A>>2],e[i+4>>2]=e[A+4>>2],YD(a,t,i),A=e[a+4>>2]|0,n=l,e[n>>2]=e[a>>2],e[n+4>>2]=A,(PD(r)|0)<<24>>24||(n=r+180|0,e[r+184>>2]|0?e[l>>2]=e[r+172>>2]:e[r+200>>2]=e[r+176>>2],e[t>>2]=e[l>>2],e[t+4>>2]=e[l+4>>2],e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],YD(o,t,i),A=e[o+4>>2]|0,a=l,e[a>>2]=e[o>>2],e[a+4>>2]=A),g=s}function Mc0(r,t){r=r|0,t=t|0;var i=0;i=e[t>>2]|0,i?(e[r+160>>2]=e[i>>2],e[t>>2]=i+4):(i=r+160|0,e[i>>2]=(e[i>>2]|0)+1)}function jc0(r){r=r|0,jt0(r),wh(r)}function YD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(e[i+4>>2]|0)+(e[t+4>>2]|0)|0,e[r>>2]=(e[i>>2]|0)+(e[t>>2]|0),e[r+4>>2]=n}function Nc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;x=g,g=g+48|0,w=x+32|0,o=x+24|0,A=x+8|0,a=x+16|0,c=x,E=r+196|0,m=e[E>>2]|0,E=e[E+4>>2]|0,v=o,e[v>>2]=m,e[v+4>>2]=E,v=r+164|0,s=e[v>>2]|0,v=e[v+4>>2]|0,B=A,e[B>>2]=s,e[B+4>>2]=v,B=r+360|0,e[B>>2]|0?(e[w>>2]=e[o>>2],e[w+4>>2]=e[o+4>>2],cp(a,w),E=a,a=e[E>>2]|0,E=e[E+4>>2]|0,v=o,e[v>>2]=a,e[v+4>>2]=E,e[w>>2]=e[A>>2],e[w+4>>2]=e[A+4>>2],cp(c,w),v=c,s=e[v>>2]|0,v=e[v+4>>2]|0,e[A>>2]=s,e[A+4>>2]=v,A=E):(a=m,A=E),i=+u[r+320>>3],l=i*+(a|0)-+u[r+240>>3],u[r+288>>3]=l,n=+u[r+328>>3],p=n*+(A|0)-+u[r+248>>3],u[r+296>>3]=p,u[r+304>>3]=i+l,u[r+312>>3]=n+p,o=r+472|0,e[(e[r+12>>2]|0)+28>>2]|0?(m=r+456|0,e[o>>2]=e[((e[o>>2]|0)<(e[m>>2]|0)?o:m)>>2],E=r+476|0,e[E>>2]=e[((e[E>>2]|0)<(e[r+460>>2]|0)?o:m)+4>>2],E=r+480|0,e[E>>2]=e[((e[E>>2]|0)>(e[r+464>>2]|0)?o:m)+8>>2],E=r+484|0,e[E>>2]=e[((e[E>>2]|0)>(e[r+468>>2]|0)?o:m)+12>>2]):(E=r+456|0,e[o>>2]=e[E>>2],e[o+4>>2]=e[E+4>>2],e[o+8>>2]=e[E+8>>2],e[o+12>>2]=e[E+12>>2]),c=e[r+152>>2]|0,t=+u[r+336>>3],c&128?(i=+u[r+368>>3]*.5,n=t-i,u[r+256>>3]=n,l=+u[r+344>>3],z=+u[r+376>>3]*.5,p=l-z,i=i+t,l=z+l,t=n):(t=(+(a|0)-+(s|0)*.5)*i+t,u[r+256>>3]=t,l=(+(A|0)-+(v|0)*.5)*n+ +u[r+344>>3],p=l,i=i+t,l=l+n),u[r+264>>3]=p,u[r+272>>3]=i,u[r+280>>3]=l,e[B>>2]|0?(o=r+384|0,n=+u[r+352>>3],u[r+512>>3]=-l-+u[r+392>>3]/n,c&4096?(i=-i,t=+u[o>>3]/n):i=+u[o>>3]/n,u[r+504>>3]=i-t):(n=+u[r+352>>3],u[r+504>>3]=+u[r+384>>3]/n-t,c&4096?(i=-l,t=+u[r+392>>3]/n):(i=+u[r+392>>3]/n,t=p),u[r+512>>3]=i-t),g=x}function Qc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+48|0,v=E,w=E+40|0,p=E+36|0,m=E+32|0,i=he(t,140977)|0,i?(l=(y[i>>0]|0)==0,s=l&1,i=l?137198:i):(s=1,i=137198),o=e[r+152>>2]|0,l=(y[i>>0]|0)==116,o&256?l&&!(ge(i,137379)|0)||(A=i,a=s,c=8):l?(a=(ge(i,137379)|0)==0,A=a?137198:i,a=a?1:s,c=8):(A=i,a=s,c=8),(c|0)==8&&!((a|0)!=0&(o&33554432|0)!=0)&&((Rh(A,w,p)|0)<<24>>24?(e[m>>2]=0,l=e[w>>2]|0,tr(r,l),Z2(r,137379),dN(t,m)|0,i=e[w+4>>2]|0,o=pr(t,e[47143]|0,0,0)|0,n=+x0[p>>2],i?so(r,i,o,n):so(r,137314,o,n),m=(e[m>>2]|0)>>>1&1|2,p=r+256|0,e[v>>2]=e[p>>2],e[v+4>>2]=e[p+4>>2],e[v+8>>2]=e[p+8>>2],e[v+12>>2]=e[p+12>>2],e[v+16>>2]=e[p+16>>2],e[v+20>>2]=e[p+20>>2],e[v+24>>2]=e[p+24>>2],e[v+28>>2]=e[p+28>>2],Il(r,v,m),r0(l)):(tr(r,A),Z2(r,137379),m=r+256|0,e[v>>2]=e[m>>2],e[v+4>>2]=e[m+4>>2],e[v+8>>2]=e[m+8>>2],e[v+12>>2]=e[m+12>>2],e[v+16>>2]=e[m+16>>2],e[v+20>>2]=e[m+20>>2],e[v+24>>2]=e[m+24>>2],e[v+28>>2]=e[m+28>>2],Il(r,v,1))),i=e[(e[(e[t+16>>2]|0)+8>>2]|0)+88>>2]|0,i|0&&Ld0(r,i),g=E}function Tc0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=(e[r>>2]|0)+28|0,e[l>>2]=(e[l>>2]|0)+1,l=(i&4|0)!=0,l||Pd(r,t,i);e:do if(i&1){for(Wy(r),n=U0(t)|0;n;)cc(r,n),n=X0(t,n)|0;for(Dy(r),My(r),o=U0(t)|0;o;){for(n=Me(t,o)|0;n;)dh(r,n),n=Qe(t,n)|0;o=X0(t,o)|0}jy(r)}else{if(i&16|0){for(My(r),o=U0(t)|0;o;){for(n=Me(t,o)|0;n;)dh(r,n),n=Qe(t,n)|0;o=X0(t,o)|0}for(jy(r),Wy(r),n=U0(t)|0;n;)cc(r,n),n=X0(t,n)|0;Dy(r);break}if(!(i&8))for(o=U0(t)|0;;){if(!o)break e;for(cc(r,o),n=Me(t,o)|0;n;)cc(r,e[((e[n>>2]&3|0)==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c=m+16|0,n=s0[(e[c>>2]|0)+112>>0]|0;do if(n&1)n=F2(m,0,106240)|0,o=F2(m,0,106248)|0,f0=29;else{if(n&2|0){n=F2(m,0,106256)|0,o=F2(m,0,106264)|0,f0=29;break}if(n&8|0){n=F2(m,0,106272)|0,o=F2(m,0,106280)|0,f0=29;break}if(n&4|0){n=F2(m,0,106288)|0,o=F2(m,0,106296)|0,f0=29;break}if(n=he(m,140823)|0,n?o=y[n>>0]|0?n:0:o=0,n=he(m,137729)|0,n?n=y[n>>0]|0?n:o:n=o,l=he(m,101418)|0,l&&(o=y[l>>0]|0?l:o),(a|0)!=0&(o|0)!=0)f0=29;else{if(l=he(m,140977)|0,l|0&&y[l>>0]|0){o=l,f0=29;break}n=n|0?n:137314,s=o|0?o:134800,e[F>>2]=0,a?f0=31:o=0}}while(0);(f0|0)==29&&(e[F>>2]=0,n=n|0?n:137314,s=o|0?o:134800,f0=31),(f0|0)==31&&(f0=0,(Rh(s,F,B)|0)<<24>>24?(tr(r,e[F>>2]|0),o=e[P>>2]|0,l=pr(m,e[47143]|0,0,0)|0,A=+x0[B>>2],o?so(r,o,l,A):so(r,137314,l,A),o=(e[U>>2]|0)>>>1&1|2):(tr(r,s),o=1)),l=e[47142]|0,l|0&&(_=k2(m,l)|0,_|0)&&y[_>>0]|0&&Uo(r,+sr(m,e[47142]|0,1,0)),a=e[U>>2]|0;do if(a&4)l=pr(m,e[47141]|0,1,0)|0,l|o|0&&(s=e[c>>2]|0,B0=s+16|0,e[J>>2]=e[B0>>2],e[J+4>>2]=e[B0+4>>2],e[J+8>>2]=e[B0+8>>2],e[J+12>>2]=e[B0+12>>2],s=s+32|0,e[x>>2]=e[s>>2],e[x+4>>2]=e[s+4>>2],e[x+8>>2]=e[s+8>>2],e[x+12>>2]=e[s+12>>2],u[z>>3]=+u[x>>3],u[G>>3]=+u[L>>3],u[W>>3]=+u[J>>3],u[T>>3]=+u[N>>3],l?Z2(r,n):Z2(r,137379),_f(r,J,4,a,o));else{if(!(a&64)){if(pr(m,e[47141]|0,1,0)|0){Z2(r,n),B0=(e[c>>2]|0)+16|0,e[B>>2]=e[B0>>2],e[B+4>>2]=e[B0+4>>2],e[B+8>>2]=e[B0+8>>2],e[B+12>>2]=e[B0+12>>2],e[B+16>>2]=e[B0+16>>2],e[B+20>>2]=e[B0+20>>2],e[B+24>>2]=e[B0+24>>2],e[B+28>>2]=e[B0+28>>2],Il(r,B,o);break}if(!o)break;Z2(r,137379),B0=(e[c>>2]|0)+16|0,e[B>>2]=e[B0>>2],e[B+4>>2]=e[B0+4>>2],e[B+8>>2]=e[B0+8>>2],e[B+12>>2]=e[B0+12>>2],e[B+16>>2]=e[B0+16>>2],e[B+20>>2]=e[B0+20>>2],e[B+24>>2]=e[B0+24>>2],e[B+28>>2]=e[B0+28>>2],Il(r,B,o);break}B0=e[c>>2]|0,a=B0+16|0,e[J>>2]=e[a>>2],e[J+4>>2]=e[a+4>>2],e[J+8>>2]=e[a+8>>2],e[J+12>>2]=e[a+12>>2],B0=B0+32|0,e[x>>2]=e[B0>>2],e[x+4>>2]=e[B0+4>>2],e[x+8>>2]=e[B0+8>>2],e[x+12>>2]=e[B0+12>>2],u[z>>3]=+u[x>>3],u[G>>3]=+u[L>>3],u[W>>3]=+u[J>>3],u[T>>3]=+u[N>>3],pr(m,e[47141]|0,1,0)|0?Z2(r,n):Z2(r,137379),(h7(r,J,s,0)|0)>1&&(e[H>>2]=te(m)|0,$0(3,100400,H)|0),B0=(e[c>>2]|0)+16|0,e[B>>2]=e[B0>>2],e[B+4>>2]=e[B0+4>>2],e[B+8>>2]=e[B0+8>>2],e[B+12>>2]=e[B0+12>>2],e[B+16>>2]=e[B0+16>>2],e[B+20>>2]=e[B0+20>>2],e[B+24>>2]=e[B0+24>>2],e[B+28>>2]=e[B0+28>>2],Il(r,B,0)}while(0);r0(e[F>>2]|0),n=e[(e[c>>2]|0)+12>>2]|0,n|0&&Ef(r,5,n),v&&(t0&&(B0=(e[c>>2]|0)+16|0,e[B>>2]=e[B0>>2],e[B+4>>2]=e[B0+4>>2],e[B+8>>2]=e[B0+8>>2],e[B+12>>2]=e[B0+12>>2],e[B+16>>2]=e[B0+16>>2],e[B+20>>2]=e[B0+20>>2],e[B+24>>2]=e[B0+24>>2],e[B+28>>2]=e[B0+28>>2],Td(r,B),xn(r,e[p>>2]|0,e[w+228>>2]|0,e[w+244>>2]|0,e[w+212>>2]|0)),Bl(r));e:do if(!D)for(o=U0(m)|0;;){if(!o)break e;for(cc(r,o),n=Me(m,o)|0;n;)dh(r,n),n=Qe(m,n)|0;o=X0(m,o)|0}while(0);zd0(r,t),t0||Pd(r,m,i)}E=E+1|0}g=k0}function cc(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;A=g,g=g+32|0,i=A,l=e[r>>2]|0,s=t+16|0;e:do if(e[(e[s>>2]|0)+8>>2]|0&&(wN(r,We(t)|0,t)|0)<<24>>24&&(a=r+256|0,e[i>>2]=e[a>>2],e[i+4>>2]=e[a+4>>2],e[i+8>>2]=e[a+8>>2],e[i+12>>2]=e[a+12>>2],e[i+16>>2]=e[a+16>>2],e[i+20>>2]=e[a+20>>2],e[i+24>>2]=e[a+24>>2],e[i+28>>2]=e[a+28>>2],(yd0(t,i)|0)<<24>>24)&&(n=(e[s>>2]|0)+116|0,o=e[l+28>>2]|0,(o|0)!=(y[n>>0]|0))){y[n>>0]=o,O3(r,te(t)|0),i=wt(t,e[47169]|0,195059)|0,y[i>>0]|0&&O3(r,i),i=wt(t,e[47157]|0,195059)|0;r:do if(y[i>>0]|0)for(hc(i)|0,i=188228;;){if(n=i,i=i+4|0,n=e[n>>2]|0,!n)break r;if((y[n>>0]|0)==105&&!(ge(n,134335)|0))break e}while(0);Cd0(r,t),Bt[e[(e[(e[(e[s>>2]|0)+8>>2]|0)+4>>2]|0)+20>>2]&63](r,t),i=e[(e[s>>2]|0)+108>>2]|0,i|0&&y[i+81>>0]|0&&Ef(r,10,i),Ed0(r)}while(0);g=A}function dh(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+32|0,o=l,i=r+256|0,e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],e[o+16>>2]=e[i+16>>2],e[o+20>>2]=e[i+20>>2],e[o+24>>2]=e[i+24>>2],e[o+28>>2]=e[i+28>>2];e:do if((Yc0(t,o)|0)<<24>>24&&(n=t+-48|0,(Oc0(r,t)|0)<<24>>24)){s=t+48|0,i=d2(te(e[((e[t>>2]&3|0)==3?t:s)+40>>2]|0)|0)|0,i=Te(i+3+(d2(te(e[((e[t>>2]&3|0)==2?t:n)+40>>2]|0)|0)|0)|0)|0,yo(i,te(e[((e[t>>2]&3|0)==3?t:s)+40>>2]|0)|0)|0,s=(d1(We(e[((e[t>>2]&3|0)==2?t:n)+40>>2]|0)|0)|0)==0,o=i+(d2(i)|0)|0,s?(y[o>>0]=y[141747]|0,y[o+1>>0]=y[141748]|0,y[o+2>>0]=y[141749]|0):(y[o>>0]=y[137738]|0,y[o+1>>0]=y[137739]|0,y[o+2>>0]=y[137740]|0),Tf(i,te(e[((e[t>>2]&3|0)==2?t:n)+40>>2]|0)|0)|0,O3(r,i),r0(i),i=wt(t,e[47191]|0,195059)|0,y[i>>0]|0&&O3(r,i),i=wt(t,e[47185]|0,195059)|0;r:do if(!(y[i>>0]|0))i=0;else for(hc(i)|0,i=188228;;){if(n=i,i=i+4|0,n=e[n>>2]|0,!n){i=188228;break r}if((y[n>>0]|0)==105&&!(ge(n,134335)|0))break e}while(0);$w0(r,t,i),Kw0(r,t,i),bw0(r)}while(0);g=l}function Fc0(r,t){r=r|0,t=t|0;var i=0,n=0;for(i=r+16|0,r=1;;){if(n=e[i>>2]|0,(r|0)>(e[n+180>>2]|0)){r=1;break}if(!(Mi(e[(e[n+184>>2]|0)+(r<<2)>>2]|0,t)|0))r=r+1|0;else{r=0;break}}return r|0}function Pc0(r,t){r=r|0,t=t|0;var i=0,n=0;for(i=r+16|0,r=1;;){if(n=e[i>>2]|0,(r|0)>(e[n+180>>2]|0)){r=1;break}if(!(Mi(e[(e[n+184>>2]|0)+(r<<2)>>2]|0,t)|0))r=r+1|0;else{r=0;break}}return r|0}function Yc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+64|0,s=A+32|0,n=A,o=r+16|0,r=e[o>>2]|0,i=e[r+8>>2]|0,i|0&&(i=i+8|0,e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],e[n+16>>2]=e[i+16>>2],e[n+20>>2]=e[i+20>>2],e[n+24>>2]=e[i+24>>2],e[n+28>>2]=e[i+28>>2],e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],e[s+16>>2]=e[t+16>>2],e[s+20>>2]=e[t+20>>2],e[s+24>>2]=e[t+24>>2],e[s+28>>2]=e[t+28>>2],(Cf(n,s)|0)!=0)?r=1:l=3;do if((l|0)==3){if(i=e[r+96>>2]|0,i){if(e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],e[s+16>>2]=e[t+16>>2],e[s+20>>2]=e[t+20>>2],e[s+24>>2]=e[t+24>>2],e[s+28>>2]=e[t+28>>2],(DC(i,s)|0)<<24>>24){r=1;break}r=e[o>>2]|0}if(r=e[r+108>>2]|0,r|0&&y[r+81>>0]|0&&(e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],e[s+16>>2]=e[t+16>>2],e[s+20>>2]=e[t+20>>2],e[s+24>>2]=e[t+24>>2],e[s+28>>2]=e[t+28>>2],(DC(r,s)|0)<<24>>24)){r=1;break}r=0}while(0);return g=A,r|0}function Oc0(r,t){r=r|0,t=t|0;var i=0,n=0;e:do if((e[r+156>>2]|0)>=2&&(i=wt(t,e[47190]|0,195059)|0,(Lh(r,i)|0)<<24>>24==0))if(y[i>>0]|0)i=0;else for(i=0;;){if((i|0)>=2){i=0;break e}if(n=(i|0)==1,n=wt(e[((e[t>>2]&3|0)==((n?2:3)|0)?t:t+((n?-1:1)*48|0)|0)+40>>2]|0,e[47167]|0,195059)|0,!(y[n>>0]|0)){i=1;break e}if(!((Lh(r,n)|0)<<24>>24))i=i+1|0;else{i=1;break}}else i=1;while(0);return i|0}function hc(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+192|0,p=v+24|0,w=v+16|0,c=v+8|0,a=v,o=v+48|0,A=v+32|0,y[100282]|0&&(Ot(188492,128,194826),y[100282]=0),Ot(A,128,v+56|0),e[o>>2]=r,l=A+4|0,s=A+8|0,t=0,i=0;e:for(;;){n=t;r:for(;;)switch(vd0(o,A)|0){case 0:{t=21;break e}case 40:if(n<<24>>24){t=7;break e}else{n=1;continue r}case 41:if(n<<24>>24){n=0;continue r}else{t=9;break e}default:break r}if(!(n<<24>>24)){if((i|0)==63){t=12;break}t=e[47124]|0,t>>>0>=(e[47125]|0)>>>0&&(Xe(188492,1)|0,t=e[47124]|0),e[47124]=t+1,y[t>>0]=0,e[188228+(i<<2)>>2]=e[47124],i=i+1|0}t=e[l>>2]|0,t>>>0>=(e[s>>2]|0)>>>0&&(Xe(A,1)|0,t=e[l>>2]|0),y[t>>0]=0,t=e[A>>2]|0,e[l>>2]=t,t2(188492,t)|0,t=e[47124]|0,t>>>0>=(e[47125]|0)>>>0&&(Xe(188492,1)|0,t=e[47124]|0),e[47124]=t+1,y[t>>0]=0,t=n}do if((t|0)==7)e[a>>2]=r,$0(1,100283,a)|0,e[47057]=0,Vt(A);else if((t|0)==9)e[c>>2]=r,$0(1,100317,c)|0,e[47057]=0,Vt(A);else if((t|0)==12)e[w>>2]=r,$0(0,100345,w)|0,e[47120]=0,Vt(A);else if((t|0)==21){if(n<<24>>24){e[p>>2]=r,$0(1,100368,p)|0,e[47057]=0,Vt(A);break}e[188228+(i<<2)>>2]=0,Vt(A),t=e[47124]|0,t>>>0>=(e[47125]|0)>>>0&&(Xe(188492,1)|0,t=e[47124]|0),y[t>>0]=0,e[47124]=e[47123]}while(0);return g=v,188228}function Vc0(r){r=r|0;var t=0;return t=g,g=g+r|0,g=g+15&-16,t|0}function Hc0(){return g|0}function Jc0(r){r=r|0,g=r}function Uc0(r,t){r=r|0,t=t|0,g=r,on=t}function Xc0(r,t){r=r|0,t=t|0,v0||(v0=r,g0=t)}function qc0(r){r=r|0,b=r}function $c0(){return b|0}function Kc0(r){return r=r|0,e[46654]=r,0}function bc0(){return e[46654]|0}function e40(r,t){r=r|0,t=t|0,Yr0(0,r|0,t|0)|0}function r40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,o=A+4|0,l=A,e[o>>2]=0,s=za0()|0,i7(s,10976),i7(s,17220),i7(s,17440),su0(1)|0,lu0(18)|0;r=Pu0(r)|0,n=e[o>>2]|0,!!r;){if(n|0){r=195059;continue}t7(s,r,i)|0,Ga0(s,r,t,o,l)|0,r=195059}return g=A,n|0}function t40(r){r=r|0;var t=0,i=0,n=0,o=0;switch(o=g,g=g+16|0,t=o+4|0,i=o,n=e[(e[r+16>>2]|0)+8>>2]|0,r=r+64|0,e[r>>2]|0){case 0:{QN(n);break}case 1:{$[(e[n+16>>2]|0)+136>>1]&1&&TQ(n);break}case 4:case 5:case 6:{MN(n,i,t),o40(n,e[i>>2]|0,e[t>>2]|0,e[r>>2]|0);break}default:}g=o}function i40(r){r=r|0;var t=0,i=0,n=0,o=0;switch(i=e[(e[r+16>>2]|0)+8>>2]|0,e[46655]|0||(e[46655]=e[4678],e[46656]=57,e[46657]=19),n=i+64|0,o=(e[n>>2]|0)+8|0,t=e[o>>2]|0,e[o>>2]=186620,e[r+64>>2]|0){case 2:{ZN(r,i,r,0);break}case 3:{ZN(r,i,r,1);break}case 1:case 0:{e[r+152>>2]&134217728||WW(i,r)|0;break}case 6:case 5:case 4:{n40(i),e[r+152>>2]&134217728||WW(i,r)|0;break}default:}e[(e[n>>2]|0)+8>>2]=t}function n40(r){r=r|0;var t=0,i=0;for(t=e[46659]|0,(t|0)!=(e[46658]|0)&&(i=e[e[46690]>>2]|0,i||(i=Lt(r,0,99808,195059)|0,e[e[46690]>>2]=i,t=e[46659]|0),t>>>0>=(e[46660]|0)>>>0&&(Xe(186632,1)|0,t=e[46659]|0),y[t>>0]=0,t=e[46658]|0,e[46659]=t,Er(r,i,t)|0),e[(e[r+16>>2]|0)+12>>2]|0&&(i=e[(e[46690]|0)+4>>2]|0,t=e[46675]|0,t>>>0>=(e[46676]|0)>>>0&&(Xe(186696,1)|0,t=e[46675]|0),y[t>>0]=0,t=e[46674]|0,e[46675]=t,Er(r,i,t)|0),nW(r,66753,e[(e[46690]|0)+8236>>2]|0,195059)|0,t=0;(t|0)!=8;)Vt(186632+(t<<4)|0),t=t+1|0;r0(e[46690]|0),u[1]=1,u[5]=1,e[46691]=0,e[46695]=0}function o40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;l=Te(8240)|0,e[46690]=l;e:do switch(n|0){case 6:{$[l+8232>>1]=14,n=66769;break}case 5:{$[l+8232>>1]=12,n=66773;break}default:{if(n=he(r,66753)|0,n|0&&y[n>>0]|0&&(o=OD(n)|0,(o&65535)>10)){l=e[46690]|0,$[l+8232>>1]=o;break e}n=OD(66765)|0,l=e[46690]|0,$[l+8232>>1]=n,n=66765}}while(0);for(e[l+8236>>2]=n,s=r+16|0,n=e[s>>2]|0,e[n+180>>2]|0?(o=Lt(r,0,99808,195059)|0,l=e[46690]|0,n=e[s>>2]|0):o=0,e[l>>2]=o,y[n+113>>0]&8?n=Lt(r,0,66777,195059)|0:n=0,e[(e[46690]|0)+4>>2]=n,l=Lt(r,1,99808,195059)|0,e[(e[46690]|0)+8>>2]=l,l=Lt(r,1,66777,195059)|0,e[(e[46690]|0)+12>>2]=l,l=Lt(r,2,99808,195059)|0,n=e[46690]|0,e[n+16>>2]=l,i?(o=Lt(r,2,66785,195059)|0,n=e[46690]|0):o=0,e[n+20>>2]=o,t?(o=Lt(r,2,66793,195059)|0,n=e[46690]|0):o=0,e[n+24>>2]=o,o=y[(e[s>>2]|0)+113>>0]|0,o&33?(l=Lt(r,2,66777,195059)|0,n=e[46690]|0,o=y[(e[s>>2]|0)+113>>0]|0):l=0,e[n+28>>2]=l,o&2?(l=Lt(r,2,66801,195059)|0,n=e[46690]|0,o=y[(e[s>>2]|0)+113>>0]|0):l=0,e[n+32>>2]=l,o&4?(o=Lt(r,2,66810,195059)|0,n=e[46690]|0):o=0,e[n+36>>2]=o,n=0;(n|0)!=8;)Ot(186632+(n<<4)|0,1024,(e[46690]|0)+40+(n<<10)|0),n=n+1|0}function OD(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+1040|0,l=A,o=A+8|0,n=0,t=r;e:for(;;){do if(i=t,t=t+1|0,i=y[i>>0]|0,!(i<<24>>24))break e;while(((i<<24>>24)+-48|0)>>>0>=10);if((n|0)>=1023){s=7;break}y[o+n>>0]=i,n=n+1|0}return(s|0)==7&&(e[l>>2]=r,$0(0,66819,l)|0),y[o+n>>0]=0,s=(F1(o)|0)&65535,g=A,s|0}function l40(r){r=r|0;var t=0,i=0;i=e[(e[r+16>>2]|0)+8>>2]|0,t=e[e[46690]>>2]|0,r=e[46663]|0,r>>>0>=(e[46664]|0)>>>0&&(Xe(186648,1)|0,r=e[46663]|0),y[r>>0]=0,r=e[46662]|0,e[46663]=r,Er(i,t,r)|0,e[(e[i+16>>2]|0)+12>>2]|0&&(t=e[(e[46690]|0)+4>>2]|0,r=e[46679]|0,r>>>0>=(e[46680]|0)>>>0&&(Xe(186712,1)|0,r=e[46679]|0),y[r>>0]=0,r=e[46678]|0,e[46679]=r,Er(i,t,r)|0),u[2]=1,u[6]=1,e[46692]=0,e[46696]=0}function s40(r){r=r|0;var t=0,i=0;i=e[(e[r+16>>2]|0)+8>>2]|0,r=e[46663]|0,(e[46662]|0)!=(r|0)&&(t=e[(e[46690]|0)+8>>2]|0,r>>>0>=(e[46664]|0)>>>0&&(Xe(186648,1)|0,r=e[46663]|0),y[r>>0]=0,r=e[46662]|0,e[46663]=r,Er(i,t,r)|0),r=e[46679]|0,(e[46678]|0)!=(r|0)&&(t=e[(e[46690]|0)+12>>2]|0,r>>>0>=(e[46680]|0)>>>0&&(Xe(186712,1)|0,r=e[46679]|0),y[r>>0]=0,r=e[46678]|0,e[46679]=r,Er(i,t,r)|0),u[9]=1,u[11]=1,e[46699]=0,e[46701]=0}function A40(r){r=r|0;var t=0,i=0;i=e[(e[r+16>>2]|0)+8>>2]|0,r=e[46663]|0,(e[46662]|0)!=(r|0)&&(t=e[(e[46690]|0)+16>>2]|0,r>>>0>=(e[46664]|0)>>>0&&(Xe(186648,1)|0,r=e[46663]|0),y[r>>0]=0,r=e[46662]|0,e[46663]=r,Er(i,t,r)|0),r=e[46667]|0,(e[46666]|0)!=(r|0)&&(t=e[(e[46690]|0)+24>>2]|0,r>>>0>=(e[46668]|0)>>>0&&(Xe(186664,1)|0,r=e[46667]|0),y[r>>0]=0,r=e[46666]|0,e[46667]=r,Er(i,t,r)|0),r=e[46671]|0,(e[46670]|0)!=(r|0)&&(t=e[(e[46690]|0)+20>>2]|0,r>>>0>=(e[46672]|0)>>>0&&(Xe(186680,1)|0,r=e[46671]|0),y[r>>0]=0,r=e[46670]|0,e[46671]=r,Er(i,t,r)|0),r=e[46679]|0,(e[46678]|0)!=(r|0)&&(t=e[(e[46690]|0)+28>>2]|0,r>>>0>=(e[46680]|0)>>>0&&(Xe(186712,1)|0,r=e[46679]|0),y[r>>0]=0,r=e[46678]|0,e[46679]=r,Er(i,t,r)|0),r=e[46683]|0,(e[46682]|0)!=(r|0)&&(t=e[(e[46690]|0)+36>>2]|0,r>>>0>=(e[46684]|0)>>>0&&(Xe(186728,1)|0,r=e[46683]|0),y[r>>0]=0,r=e[46682]|0,e[46683]=r,Er(i,t,r)|0),r=e[46687]|0,(e[46686]|0)!=(r|0)&&(t=e[(e[46690]|0)+32>>2]|0,r>>>0>=(e[46688]|0)>>>0&&(Xe(186744,1)|0,r=e[46687]|0),y[r>>0]=0,r=e[46686]|0,e[46687]=r,Er(i,t,r)|0),u[10]=1,u[12]=1,u[3]=1,u[4]=1,u[7]=1,u[8]=1,e[46700]=0,e[46702]=0,e[46693]=0,e[46694]=0,e[46697]=0,e[46698]=0}function u40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+1056|0,l=E+16|0,m=E+8|0,v=E,s=E+32|0,c=e[(e[r+16>>2]|0)+12>>2]|0,w=e[11416+(c<<2)>>2]|0,t2(w,66916)|0,n=i+4|0,Is(s,+u[(e[n>>2]|0)+16>>3]),t2(w,s)|0,xA(r,195059,e[e[n>>2]>>2]|0),ph(r),p=y[i+48>>0]|0,p=p<<24>>24==108?-1:p<<24>>24==114&1,n=e[n>>2]|0,n?n=e[n+24>>2]&127:n=0,o=$[(e[46690]|0)+8232>>1]|0,(o&65535)>14&&(A=e[11464+((o&65535)+-15<<2)>>2]&n,a=186764+(c<<2)|0,(e[a>>2]|0)!=(A|0))&&(e[v>>2]=A,Ke(s,66919,v)|0,t2(w,s)|0,e[a>>2]=A),v=t+8|0,u[v>>3]=+u[v>>3]+ +u[i+24>>3],t2(w,66925)|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],IA(w,l),e[m>>2]=p,Ke(s,102220,m)|0,t2(w,s)|0,Is(s,+u[i+32>>3]),t2(w,s)|0,xA(r,195059,e[i>>2]|0),g=E}function f40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+1040|0,o=s,l=s+16|0,n=e[(e[r+16>>2]|0)+12>>2]|0,Yd(r),ph(r),i?((i|1|0)==3?k7(r,i,t,2):Od(r),r=e[11416+(n<<2)>>2]|0,t2(r,66910)|0):(r=e[11416+(n<<2)>>2]|0,t2(r,66913)|0),e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],IA(r,o),Is(l,+u[t+16>>3]-+u[t>>3]),t2(r,l)|0,Is(l,+u[t+24>>3]-+u[t+8>>3]),t2(r,l)|0,g=s}function a40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,Yd(r),ph(r),n?((n|1|0)==3?k7(r,n,t,i):Od(r),kh(r,80,t,i)):kh(r,112,t,i)}function c40(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,Yd(r),ph(r),l?((l|1|0)==3?k7(r,l,t,i):Od(r),kh(r,98,t,i)):kh(r,66,t,i)}function h40(r,t,i){r=r|0,t=t|0,i=i|0,Yd(r),ph(r),kh(r,76,t,i)}function Yd(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(c=g,g=g+1184|0,l=c,n=c+24|0,a=c+8|0,Ot(a,1024,c+152|0),s=r+16|0,t=e[s>>2]|0,o=+u[t+152>>3],i=8+(e[t+12>>2]<<3)|0,o!=+u[i>>3]&&(u[i>>3]=o,t2(a,66882)|0,u[l>>3]=+u[(e[s>>2]|0)+152>>3],Ke(n,66896,l)|0,d7(n,0),t2(a,n)|0,n=a+4|0,t=e[n>>2]|0,i=a+8|0,t>>>0>=(e[i>>2]|0)>>>0&&(Xe(a,1)|0,t=e[n>>2]|0),e[n>>2]=t+1,y[t>>0]=41,t=e[n>>2]|0,t>>>0>=(e[i>>2]|0)>>>0&&(Xe(a,1)|0,t=e[n>>2]|0),y[t>>0]=0,t=e[a>>2]|0,e[n>>2]=t,xA(r,66901,t),t=e[s>>2]|0),t=e[t+160>>2]|0,t|0){s=a+4|0,A=a+8|0;e:for(;l=t+4|0,t=e[t>>2]|0,!!t;){switch(y[t>>0]|0){case 102:{if(!(ge(t,111101)|0)){t=l;continue e}break}case 98:{if(!(ge(t,111083)|0)){t=l;continue e}break}case 115:{if(!(ge(t,111088)|0)){t=l;continue e}break}default:}t2(a,t)|0;do n=t,t=t+1|0;while(y[n>>0]|0);if(y[t>>0]|0){for(i=e[s>>2]|0,i>>>0>=(e[A>>2]|0)>>>0&&(Xe(a,1)|0,i=e[s>>2]|0),e[s>>2]=i+1,y[i>>0]=40,n=0;y[t>>0]|0;){n|0&&(i=e[s>>2]|0,i>>>0>=(e[A>>2]|0)>>>0&&(Xe(a,1)|0,i=e[s>>2]|0),e[s>>2]=i+1,y[i>>0]=44),t2(a,t)|0;do i=t,t=t+1|0;while(y[i>>0]|0);n=n+1|0}t=e[s>>2]|0,t>>>0>=(e[A>>2]|0)>>>0&&(Xe(a,1)|0,t=e[s>>2]|0),e[s>>2]=t+1,y[t>>0]=41}t=e[s>>2]|0,t>>>0>=(e[A>>2]|0)>>>0&&(Xe(a,1)|0,t=e[s>>2]|0),y[t>>0]=0,t=e[a>>2]|0,e[s>>2]=t,xA(r,66901,t),t=l}Vt(a)}g=c}function ph(r){r=r|0,p7((e[r+16>>2]|0)+16|0),xA(r,75834,193758)}function kh(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;for(a=g,g=g+1040|0,A=a,s=a+16|0,l=e[11416+(e[(e[r+16>>2]|0)+12>>2]<<2)>>2]|0,o=l+4|0,r=e[o>>2]|0,r>>>0>=(e[l+8>>2]|0)>>>0&&(Xe(l,1)|0,r=e[o>>2]|0),e[o>>2]=r+1,y[r>>0]=t,e[A>>2]=n,Ke(s,66846,A)|0,t2(l,s)|0,r=0;!((r|0)>=(n|0));)s=i+(r<<4)|0,e[A>>2]=e[s>>2],e[A+4>>2]=e[s+4>>2],e[A+8>>2]=e[s+8>>2],e[A+12>>2]=e[s+12>>2],IA(l,A),r=r+1|0;g=a}function IA(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+1024|0,n=i,Is(n,+u[t>>3]),t2(r,n)|0,Is(n,+vp0(+u[t+8>>3])),t2(r,n)|0,g=i}function Is(r,t){r=r|0,t=+t;var i=0,n=0;i=g,g=g+16|0,n=i,u[n>>3]=t>-1e-8&t<1e-8?0:t,Ke(r,66851,n)|0,d7(r,1),g=i}function d7(r,t){r=r|0,t=t|0;var i=0,n=0;if(i=Zr(r,46)|0,!i)t|0&&(i=r+(d2(r)|0)|0,n=10);else{for(;r=i+1|0,y[r>>0]|0;)i=r;e:for(;;){switch(y[i>>0]|0){case 46:{n=5;break e}case 48:break;default:{n=6;break e}}y[i>>0]=0,i=i+-1|0}(n|0)==5?y[i>>0]=0:(n|0)==6&&(i=i+1|0),t|0&&(n=10)}(n|0)==10&&(y[i>>0]=32,y[i+1>>0]=0)}function p7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+32|0,l=s+16|0,o=s,t=y[r+3>>0]|0,i=s0[r>>0]|0,n=s0[r+1>>0]|0,r=s0[r+2>>0]|0,t<<24>>24==-1?(e[o>>2]=i,e[o+4>>2]=n,e[o+8>>2]=r,Ke(193758,75714,o)|0):(e[l>>2]=i,e[l+4>>2]=n,e[l+8>>2]=r,e[l+12>>2]=t&255,Ke(193758,66864,l)|0),g=s}function xA(r,t,i){r=r|0,t=t|0,i=i|0,VD(e[11416+(e[(e[r+16>>2]|0)+12>>2]<<2)>>2]|0,t,i)}function VD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;n=g,g=g+1040|0,l=n,o=n+8|0,s=d2(i)|0,e[l>>2]=t,e[l+4>>2]=s,Ke(o,66857,l)|0,t2(r,o)|0,t2(r,i)|0,i=r+4|0,t=e[i>>2]|0,t>>>0>=(e[r+8>>2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o=+x0[t>>2],i=E+56|0,o>0?(Vd(x,o,i),Vd(x,+x0[t>>2],E+96|0)):(Vd(x,0,i),Vd(x,1,E+96|0)),KZ(x)|0,l=x+4|0,t=e[l>>2]|0,n=x+8|0,i=t>>>0>=(e[n>>2]|0)>>>0,B?(i&&(Xe(x,1)|0,t=e[l>>2]|0),e[l>>2]=t+1,y[t>>0]=93):(i&&(Xe(x,1)|0,t=e[l>>2]|0),e[l>>2]=t+1,y[t>>0]=41),t=e[l>>2]|0,t>>>0>=(e[n>>2]|0)>>>0&&(Xe(x,1)|0,t=e[l>>2]|0),y[t>>0]=0,B=e[x>>2]|0,e[l>>2]=B,xA(r,66904,B),Vt(x)),g=z}function Od(r){r=r|0,p7((e[r+16>>2]|0)+56|0),xA(r,66904,193758)}function HD(r,t){r=r|0,t=+t;var i=0,n=0;i=g,g=g+1024|0,n=i,Is(n,t),t2(r,n)|0,g=i}function Vd(r,t,i){r=r|0,t=+t,i=i|0;var n=0,o=0,l=0;n=g,g=g+1040|0,l=n,o=n+8|0,u[l>>3]=t,Ke(o,94168,l)|0,d7(o,1),p7(i),VD(r,o,193758),g=n}function w40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;n=g,g=g+1040|0,s=n,o=n+16|0,l=e[11416+(e[(e[r+16>>2]|0)+12>>2]<<2)>>2]|0,t2(l,67013)|0,e[s>>2]=e[i>>2],e[s+4>>2]=e[i+4>>2],e[s+8>>2]=e[i+8>>2],e[s+12>>2]=e[i+12>>2],IA(l,s),Is(o,+u[i+16>>3]-+u[i>>3]),t2(l,o)|0,Is(o,+u[i+24>>3]-+u[i+8>>3]),t2(l,o)|0,xA(r,195059,e[t+8>>2]|0),g=n}function d40(r){r=r|0;var t=0;switch(e[r+64>>2]|0){case 0:{t=Aa0(e[r>>2]|0)|0,La0(t,e[(e[r+16>>2]|0)+8>>2]|0,67797,0)|0,ua0(t);break}case 1:{QN(e[(e[r>>2]|0)+168>>2]|0);break}default:}}function p40(r){r=r|0;var t=0,i=0,n=0,o=0;n=g,g=g+16|0,t=n,i=e[(e[r+16>>2]|0)+8>>2]|0,e[46703]|0||(e[46703]=e[4678],e[46704]=57,e[46705]=19),e[(e[i+64>>2]|0)+8>>2]=186812,JD(i,1),e[t>>2]=0,y[t+4>>0]=(y[(e[i+16>>2]|0)+115>>0]|0)==1&1,o=e[r+64>>2]|0,y[t+5>>0]=((o|0)==0|(o|0)==3)&1,y[t+6>>0]=0,UD(i,r,1,t),g=n}function JD(r,t){r=r|0,t=t|0;var i=0;for(e[r>>2]=e[r>>2]&-9,i=yt(r)|0;i;)JD(i,0),i=Ct(i)|0;e:do if(t|0)for(t=U0(r)|0;;){if(!t)break e;for(e[t>>2]=e[t>>2]&-9,i=Me(r,t)|0;i;)e[i>>2]=e[i>>2]&-9,i=Qe(r,i)|0;t=X0(r,t)|0}while(0)}function UD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(E=g,g=g+16|0,m=E+8|0,v=E,p=(i|0)!=0,p){for(w=at(11836,e[4581]|0)|0,Ll(r,1,141060,12,0),Ll(r,2,141060,12,0),Ll(r,0,141060,-12,0),o=XD(r,0,w)|0,a=U0(r)|0,A=0,l=0;a;){for(Yr(te(a)|0,108006,7)|0?(c=l+1|0,l=l+o|0):(c=l,l=k40(w,te(a)|0)|0),e[(lt(a,141060,0)|0)+8>>2]=l,s=Me(r,a)|0,l=A;s;)e[(lt(s,141060,0)|0)+8>>2]=l,s=Qe(r,s)|0,l=l+1|0;a=X0(r,a)|0,A=l,l=c}Fr(w)|0}else o=0;w=e[n>>2]|0,e[n>>2]=w+1,L2(t,w),m0(t,97374)|0,v40(r,t,i,n),v7(r,t,n),m0(t,97345)|0,L2(t,e[n>>2]|0),p?(e[v>>2]=o,Y0(t,67016,v)):(e[m>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,67036,m)),g40(r,t,i,m40(r,t,i,n)|0,n),y40(r,t,i,n),m0(t,153599)|0,m=(e[n>>2]|0)+-1|0,e[n>>2]=m,L2(t,m),p?m0(t,111008)|0:m0(t,75357)|0,g=E}function XD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for((a2(r)|0)!=(r|0)&&(n=t+1|0,e[(lt(r,141060,0)|0)+8>>2]=t,Yr(te(r)|0,108006,7)|0||(t=te(r)|0,z40(i,t,e[(lt(r,141060,0)|0)+8>>2]|0)),t=n),n=yt(r)|0;n;)r=XD(n,t,i)|0,n=Ct(n)|0,t=r;return t|0}function k40(r,t){return r=r|0,t=t|0,r=oe[e[r>>2]&63](r,t,512)|0,r?r=e[r+12>>2]|0:r=-1,r|0}function L2(r,t){for(r=r|0,t=t|0;!((t|0)<=0);)m0(r,90574)|0,t=t+-1|0}function v40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;s=g,g=g+32|0,l=s+16|0,o=s+8|0,A=s,a=te(r)|0,L2(t,e[n>>2]|0),e[A>>2]=Wl(a,n)|0,Y0(t,67124,A),i|0&&(m0(t,97345)|0,L2(t,e[n>>2]|0),a=(d1(r)|0)!=0,e[o>>2]=a?107652:137308,Y0(t,67738,o),L2(t,e[n>>2]|0),a=(Id(r)|0)!=0,e[l>>2]=a?107652:137308,Y0(t,67755,l)),g=s}function v7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+16|0,w=p+8|0,c=p,s=a2(r)|0,A=e[r>>2]&3,n=ao(s,A,0)|0;e:do if(n|0)for(a=i+5|0;;){if(!n)break e;o=k2(r,n)|0;do if(o|0){if(l=n+8|0,!(y[o>>0]|0)&&(o=e[l>>2]|0,(y[o>>0]|0)!=108||ge(o,108224)|0))break;if(m0(t,97345)|0,L2(t,e[i>>2]|0),e[c>>2]=Wl(e[l>>2]|0,i)|0,Y0(t,67174,c),y[a>>0]|0&&B40(e[l>>2]|0)|0){I40(k2(r,n)|0,t,i);break}e[w>>2]=Wl(k2(r,n)|0,i)|0,Y0(t,67181,w)}while(0);n=ao(s,A,n)|0}while(0);g=p}function m40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(A=g,g=g+16|0,s=A,o=yt(r)|0,o){for(m0(t,97345)|0,l=e[n>>2]|0,e[n>>2]=l+1,L2(t,l),l=(i|0)!=0,l?(m0(t,67098)|0,r=0,i=o):(m0(t,67158)|0,L2(t,e[n>>2]|0),r=0,i=o);i;)r?m0(t,97345)|0:r=1,l?qD(i,t,n):(e[s>>2]=e[(lt(i,141060,0)|0)+8>>2],Y0(t,137395,s)),i=Ct(i)|0;l||(e[n>>2]=(e[n>>2]|0)+-1,m0(t,153599)|0,L2(t,e[n>>2]|0),m0(t,97340)|0),r=1}else r=0;return g=A,r|0}function g40(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;if(l=U0(r)|0,!l)(i|0)!=0&(n|0)!=0&&(e[o>>2]=(e[o>>2]|0)+-1,m0(t,153599)|0,L2(t,e[o>>2]|0),m0(t,97340)|0);else{for(m0(t,97345)|0,s=(i|0)!=0,s?(n||(n=e[o>>2]|0,e[o>>2]=n+1,L2(t,n),m0(t,67098)|0),n=0):(n=e[o>>2]|0,e[o>>2]=n+1,L2(t,n),m0(t,67112)|0,L2(t,e[o>>2]|0),n=0);l;){if(Yr(te(l)|0,108006,7)|0){do if(n)if(s){m0(t,97345)|0;break}else{m0(t,100999)|0;break}else n=1;while(0);E40(l,t,i,o)}l=X0(r,l)|0}e[o>>2]=(e[o>>2]|0)+-1,m0(t,153599)|0,L2(t,e[o>>2]|0),m0(t,97340)|0}}function y40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;o=U0(r)|0;e:do if(o|0){for(;;){if(!o)break e;if(Me(r,o)|0)break;o=X0(r,o)|0}for(m0(t,97345)|0,A=e[n>>2]|0,e[n>>2]=A+1,L2(t,A),m0(t,67048)|0,A=(i|0)!=0,A||L2(t,e[n>>2]|0),l=0;o;){for(s=Me(r,o)|0;s;){do if(l)if(A){m0(t,97345)|0;break}else{m0(t,100999)|0;break}else l=1;while(0);C40(s,t,i,n),s=Qe(r,s)|0}o=X0(r,o)|0}e[n>>2]=(e[n>>2]|0)+-1,m0(t,153599)|0,L2(t,e[n>>2]|0),m0(t,97340)|0}while(0)}function C40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;a=g,g=g+32|0,A=a+24|0,s=a+16|0,l=a+8|0,o=a,i?(A=e[n>>2]|0,e[n>>2]=A+1,L2(t,A),m0(t,97374)|0,L2(t,e[n>>2]|0),e[o>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,67060,o),L2(t,e[n>>2]|0),e[l>>2]=e[(lt(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0,141060,0)|0)+8>>2],Y0(t,67074,l),L2(t,e[n>>2]|0),e[s>>2]=e[(lt(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0,141060,0)|0)+8>>2],Y0(t,67087,s),v7(r,t,n),m0(t,153599)|0,A=(e[n>>2]|0)+-1|0,e[n>>2]=A,L2(t,A),m0(t,75357)|0):(e[A>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,137395,A)),g=a}function E40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+32|0,s=A+16|0,l=A+8|0,o=A,i?(s=e[n>>2]|0,e[n>>2]=s+1,L2(t,s),m0(t,97374)|0,L2(t,e[n>>2]|0),e[o>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,67060,o),L2(t,e[n>>2]|0),e[l>>2]=Wl(te(r)|0,n)|0,Y0(t,67124,l),v7(r,t,n),m0(t,153599)|0,s=(e[n>>2]|0)+-1|0,e[n>>2]=s,L2(t,s),m0(t,75357)|0):(e[s>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,137395,s)),g=A}function Wl(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=t+4|0,y[o>>0]|0&&(r=Ph(r)|0),e[46706]|0||Ot(186824,1024,0),i=r;e:for(;;){switch(n=y[i>>0]|0,n<<24>>24){case 0:break e;case 34:{t2(186824,67137)|0;break}case 92:{t2(186824,96616)|0;break}case 47:{t2(186824,67140)|0;break}case 8:{t2(186824,67143)|0;break}case 12:{t2(186824,67146)|0;break}case 10:{t2(186824,67149)|0;break}case 13:{t2(186824,67152)|0;break}case 9:{t2(186824,67155)|0;break}default:t=e[46707]|0,t>>>0>=(e[46708]|0)>>>0&&(Xe(186824,1)|0,t=e[46707]|0),e[46707]=t+1,y[t>>0]=n}i=i+1|0}return t=e[46707]|0,t>>>0>=(e[46708]|0)>>>0&&(Xe(186824,1)|0,t=e[46707]|0),y[t>>0]=0,t=e[46706]|0,e[46707]=t,y[o>>0]|0&&r0(r),t|0}function qD(r,t,i){for(r=r|0,t=t|0,i=i|0,UD(r,t,0,i),r=yt(r)|0;r;)m0(t,97345)|0,qD(r,t,i),r=Ct(r)|0}function B40(r){r=r|0;var t=0;t=r+1|0;e:do if((y[r>>0]|0)==95){switch(r=(y[t>>0]|0)+-100<<24>>24,((r&255)>>>2|r<<6&255)<<24>>24){case 0:{if(!(ge(t,67695)|0)){r=1;break e}break}case 2:{if(!(ge(t,67701)|0)){r=1;break e}break}case 1:{if(!(ge(t,67708)|0)){r=1;break e}return(ge(t,67722)|0)==0|0}case 4:{if(!(ge(t,67715)|0)){r=1;break e}r=(ge(t,67730)|0)==0&1;break e}default:{r=0;break e}}r=0}else r=0;while(0);return r|0}function I40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,n=s;do if(r|0&&y[r>>0]|0){if(l=uc0(r)|0,!l){e[n>>2]=r,$0(0,67186,n)|0;break}for(m0(t,153599)|0,o=e[i>>2]|0,e[i>>2]=o+1,L2(t,o),m0(t,67213)|0,o=l+8|0,r=0,n=0;!((n|0)>=(e[l>>2]|0));)r?m0(t,97345)|0:r=1,x40((e[o>>2]|0)+(n*80|0)|0,t,i),n=n+1|0;e[i>>2]=(e[i>>2]|0)+-1,m0(t,153599)|0,L2(t,e[i>>2]|0),m0(t,97340)|0,WD(l)}while(0);g=s}function x40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0;T=g,g=g+240|0,W=T+224|0,G=T+216|0,L=T+208|0,_=T+200|0,z=T+192|0,x=T+184|0,B=T+176|0,E=T+152|0,m=T+136|0,v=T+128|0,p=T+112|0,w=T+104|0,c=T+96|0,a=T+88|0,A=T+72|0,s=T+48|0,N=T+40|0,l=T+8|0,o=T,n=e[i>>2]|0,e[i>>2]=n+1,L2(t,n),m0(t,97374)|0,L2(t,e[i>>2]|0),n=e[r>>2]|0;e:do switch(n|0){case 1:case 0:{e[o>>2]=n|0?101:69,Y0(t,67216,o),L2(t,e[i>>2]|0),U=+u[r+16>>3],P=+u[r+24>>3],D=+u[r+32>>3],u[l>>3]=+u[r+8>>3],u[l+8>>3]=U,u[l+16>>3]=P,u[l+24>>3]=D,Y0(t,67229,l);break}case 3:case 2:{e[N>>2]=(n|0)==2?80:112,Y0(t,67216,N),L2(t,e[i>>2]|0),m7(t,r+8|0);break}case 5:case 4:{e[s>>2]=(n|0)==4?66:98,Y0(t,67216,s),L2(t,e[i>>2]|0),m7(t,r+8|0);break}case 6:{Y0(t,67264,T+56|0),L2(t,e[i>>2]|0),m7(t,r+8|0);break}case 7:{Y0(t,67276,T+64|0),L2(t,e[i>>2]|0),U=+u[r+16>>3],u[A>>3]=+u[r+8>>3],u[A+8>>3]=U,Y0(t,67288,A),L2(t,e[i>>2]|0),N=e[r+24>>2]|0,e[a>>2]=N|0?(N|0)==1?99:114:108,Y0(t,67310,a),L2(t,e[i>>2]|0),u[c>>3]=+u[r+32>>3],Y0(t,67326,c),L2(t,e[i>>2]|0),e[w>>2]=Wl(e[r+40>>2]|0,i)|0,Y0(t,67343,w);break}case 9:case 8:{e[p>>2]=(n|0)==8?67:99,Y0(t,67216,p),L2(t,e[i>>2]|0),Y0(t,67357,T+120|0),L2(t,e[i>>2]|0),e[v>>2]=Wl(e[r+8>>2]|0,i)|0,Y0(t,67374,v);break}case 13:case 14:switch(e[m>>2]=(n|0)==13?67:99,Y0(t,67216,m),L2(t,e[i>>2]|0),e[r+8>>2]|0){case 0:{Y0(t,67357,T+144|0),L2(t,e[i>>2]|0),e[E>>2]=Wl(e[r+16>>2]|0,i)|0,Y0(t,67374,E);break e}case 1:{Y0(t,67389,T+160|0),L2(t,e[i>>2]|0),S40(t,r+16|0,i);break e}default:{Y0(t,67408,T+168|0),L2(t,e[i>>2]|0),_40(t,r+16|0,i);break e}}case 10:{Y0(t,67427,B),L2(t,e[i>>2]|0),u[x>>3]=+u[r+8>>3],Y0(t,67439,x),L2(t,e[i>>2]|0),e[z>>2]=Wl(e[r+16>>2]|0,i)|0,Y0(t,67455,z);break}case 11:{Y0(t,67469,_),L2(t,e[i>>2]|0),e[L>>2]=Wl(e[r+8>>2]|0,i)|0,Y0(t,67481,L);break}case 15:{Y0(t,67496,G),L2(t,e[i>>2]|0),e[W>>2]=e[r+8>>2],Y0(t,67508,W);break}default:}while(0);N=(e[i>>2]|0)+-1|0,e[i>>2]=N,L2(t,N),m0(t,75357)|0,g=T}function m7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(A=g,g=g+48|0,s=A+32|0,l=A+16|0,o=A+8|0,n=e[t>>2]|0,i=e[t+4>>2]|0,Y0(r,67669,A),t=0;!((t|0)>=(n|0));)(t|0)>0&&Y0(r,100999,o),a=+u[i+(t*24|0)+8>>3],u[l>>3]=+u[i+(t*24|0)>>3],u[l+8>>3]=a,Y0(r,67681,l),t=t+1|0;Y0(r,67622,s),g=A}function S40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;n=g,g=g+32|0,o=n+16|0,s=n,L2(r,e[i>>2]|0),l=+u[t+8>>3],u[s>>3]=+u[t>>3],u[s+8>>3]=l,Y0(r,67625,s),L2(r,e[i>>2]|0),l=+u[t+24>>3],u[o>>3]=+u[t+16>>3],u[o+8>>3]=l,Y0(r,67647,o),L2(r,e[i>>2]|0),$D(r,e[t+32>>2]|0,e[t+36>>2]|0,i),g=n}function _40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;n=g,g=g+48|0,o=n+24|0,A=n,L2(r,e[i>>2]|0),l=+u[t+8>>3],s=+u[t+16>>3],u[A>>3]=+u[t>>3],u[A+8>>3]=l,u[A+16>>3]=s,Y0(r,67524,A),L2(r,e[i>>2]|0),s=+u[t+32>>3],l=+u[t+40>>3],u[o>>3]=+u[t+24>>3],u[o+8>>3]=s,u[o+16>>3]=l,Y0(r,67552,o),L2(r,e[i>>2]|0),$D(r,e[t+48>>2]|0,e[t+52>>2]|0,i),g=n}function $D(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(a=g,g=g+48|0,A=a+32|0,s=a+16|0,l=a+8|0,Y0(r,67580,a),o=0;!((o|0)>=(t|0));)(o|0)>0&&Y0(r,100999,l),w=+x0[i+(o<<3)>>2],c=Wl(e[i+(o<<3)+4>>2]|0,n)|0,u[s>>3]=w,e[s+8>>2]=c,Y0(r,67591,s),o=o+1|0;Y0(r,67622,A),g=a}function z40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+16|0,o=l,n=oe[e[r>>2]&63](r,t,512)|0,n?(e[n+12>>2]|0)!=(i|0)&&(e[o>>2]=t,$0(0,67768,o)|0):(o=Un(1,16)|0,e[o+8>>2]=C2(t)|0,e[o+12>>2]=i,oe[e[r>>2]&63](r,o,1)|0),g=l}function L40(r,t,i){r=r|0,t=t|0,i=i|0,r0(e[t+8>>2]|0),r0(t)}function R40(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;t=g,g=g+32|0,i=t+24|0,n=t+16|0,l=t,o=e[r+16>>2]|0,m0(r,68623)|0,a=e[e[r+12>>2]>>2]|0,A=e[a+4>>2]|0,s=e[a+8>>2]|0,e[l>>2]=e[a>>2],e[l+4>>2]=A,e[l+8>>2]=s,Y0(r,68633,l),e[n>>2]=te(e[o+8>>2]|0)|0,Y0(r,68668,n),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,68681,i),m0(r,68694)|0,m0(r,68704)|0,m0(r,68712)|0,m0(r,68720)|0,m0(r,68728)|0,m0(r,68736)|0,m0(r,68744)|0,m0(r,68748)|0,m0(r,68753)|0,g=t}function G40(r){r=r|0,m0(r,68604)|0}function Z40(r){r=r|0,e[46710]=2}function W40(r){r=r|0,e[46710]=1}function D40(r){r=r|0,e[46710]=2}function M40(r){r=r|0,e[46710]=0}function j40(r){r=r|0,e[46710]=2}function N40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;p=g,g=g+80|0,w=p,a=e[(e[r+16>>2]|0)+16>>2]|0,c=e[46710]|0,n=e[i+4>>2]|0,o=+u[r+352>>3]*+u[n+16>>3],l=e[r+360>>2]|0?1.5707963267948966:0,s=e[i>>2]|0,A=o*.3333333333333333*+((d2(s)|0)>>>0),n=e[n+8>>2]|0,n?n=e[n+20>>2]|0:n=-1,E=y[i+48>>0]|0,m=+u[t>>3],v=+u[t+8>>3],i=H40(s)|0,e[w>>2]=4,e[w+4>>2]=E<<24>>24==108?0:E<<24>>24==114?2:1,e[w+8>>2]=a,e[w+12>>2]=c,e[w+16>>2]=0,e[w+20>>2]=n,u[w+24>>3]=o,u[w+32>>3]=l,e[w+40>>2]=6,u[w+48>>3]=o,u[w+56>>3]=A,e[w+64>>2]=~~(m+(m>=0?.5:-.5)),e[w+68>>2]=~~(v+(v+-72>=0?-71.5:-72.5)),e[w+72>>2]=i,Y0(r,68549,w),g=p}function Q40(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;c=g,g=g+32|0,s=c,l=c+20|0,a=t+32|0;e:do switch(e[a>>2]|0){case 5:for(i=0;;){if(n=e[12724+(i<<2)>>2]|0,(i|0)==8)break e;if(o=e[t>>2]|0,(y[n>>0]|0)==(y[o>>0]|0)&&!(ge(n,o)|0)){A=10;break e}i=i+1|0}case 1:{n=t+1|0,o=t+2|0,i=(V40(l,s0[t>>0]|0,s0[n>>0]|0,s0[o>>0]|0)|0)+32|0,e[l>>2]|0&&(w=s0[t>>0]|0,l=s0[n>>0]|0,A=s0[o>>0]|0,e[s>>2]=0,e[s+4>>2]=i,e[s+8>>2]=w,e[s+12>>2]=l,e[s+16>>2]=A,Y0(r,68492,s)),A=10;break}default:H0(138394,67889,163,67920)}while(0);(A|0)==10&&(e[t>>2]=i),e[a>>2]=6,g=c}function T40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;n=g,g=g+112|0,o=n+8|0,z=n+104|0,x=n,a=e[r+16>>2]|0,B=~~+u[a+152>>3],E=e[a+16>>2]|0,m=e[a+56>>2]|0,v=e[46710]|0,Hd(a,z,x),w=+u[t>>3],a=~~(w+(w>=0?.5:-.5)),c=+u[t+8>>3],A=~~(c+(c>=0?.5:-.5)),s=+u[t+16>>3],w=s-w,l=+u[t+24>>3],c=l-c,t=e[z>>2]|0,p=+u[x>>3],e[o>>2]=1,e[o+4>>2]=1,e[o+8>>2]=t,e[o+12>>2]=B,e[o+16>>2]=E,e[o+20>>2]=m,e[o+24>>2]=v,e[o+28>>2]=0,e[o+32>>2]=i|0?20:-1,u[o+40>>3]=p,e[o+48>>2]=0,u[o+56>>3]=0,e[o+64>>2]=a,e[o+68>>2]=A,e[o+72>>2]=~~(w+(w>=0?.5:-.5)),e[o+76>>2]=~~(c+(c>=0?.5:-.5)),e[o+80>>2]=a,e[o+84>>2]=A,e[o+88>>2]=~~(s+(s>=0?.5:-.5)),e[o+92>>2]=~~(l+(l>=0?.5:-.5)),Y0(r,68427,o),g=n}function F40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;o=g,g=g+96|0,l=o+8|0,p=o+80|0,v=o,m=e[r+16>>2]|0,w=~~+u[m+152>>3],c=e[m+16>>2]|0,a=e[m+56>>2]|0,A=e[46710]|0,Hd(m,p,v),p=e[p>>2]|0,s=+u[v>>3],e[l>>2]=2,e[l+4>>2]=3,e[l+8>>2]=p,e[l+12>>2]=w,e[l+16>>2]=c,e[l+20>>2]=a,e[l+24>>2]=A,e[l+28>>2]=0,e[l+32>>2]=n|0?20:-1,u[l+40>>3]=s,e[l+48>>2]=0,e[l+52>>2]=0,e[l+56>>2]=0,e[l+60>>2]=0,e[l+64>>2]=0,e[l+68>>2]=i+1,Y0(r,68331,l),KD(r,t,i,1),g=o}function P40(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0;for(P=g,g=g+192|0,D=P+176|0,N=P+168|0,T=P+104|0,W=P+96|0,s=P+88|0,z=P+180|0,_=P+80|0,L=P+16|0,G=P,o=r+16|0,n=e[o>>2]|0,m=~~+u[n+152>>3],E=e[n+16>>2]|0,B=e[46710]|0,(i|0)<=3&&H0(67882,67889,360,67909),x=Te((i*140|0)+140|0)|0,Hd(n,z,_),l?(p=5,A=e[(e[o>>2]|0)+56>>2]|0,a=20):(p=4,A=0,a=-1),J=+u[t>>3],w=L+48|0,u[w>>3]=J,U=+u[t+8>>3],u[L+56>>3]=U,e[s>>2]=~~(J+(J>=0?.5:-.5)),e[s+4>>2]=~~(U+(U>=0?.5:-.5)),c=G+8|0,n=x+(Ke(x,81099,s)|0)|0,v=1,l=0;s=l+3|0,!((s|0)>=(i|0));){for(e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],o=1;;){if((o|0)==4){o=1;break}F=o+l|0,u[L+(o<<4)>>3]=+u[t+(F<<4)>>3],u[L+(o<<4)+8>>3]=+u[t+(F<<4)+8>>3],o=o+1|0}for(;(o|0)!=7;)Ei(G,L,3,+(o|0)*.16666666666666666,0,0),U=+u[G>>3],J=+u[c>>3],e[W>>2]=~~(U+(U>=0?.5:-.5)),e[W+4>>2]=~~(J+(J>=0?.5:-.5)),o=o+1|0,n=n+(Ke(n,81099,W)|0)|0;v=v+6|0,l=s}for(o=e[z>>2]|0,J=+u[_>>3],e[T>>2]=3,e[T+4>>2]=p,e[T+8>>2]=o,e[T+12>>2]=m,e[T+16>>2]=E,e[T+20>>2]=A,e[T+24>>2]=B,e[T+28>>2]=0,e[T+32>>2]=a,u[T+40>>3]=J,e[T+48>>2]=0,e[T+52>>2]=0,e[T+56>>2]=0,e[T+60>>2]=v,Y0(r,68382,T),e[N>>2]=x,Y0(r,81106,N),r0(x),o=v+-1|0,n=0;!((n|0)>=(v|0));)e[D>>2]=((n|0)%(o|0)|0|0)!=0&1,Y0(r,81111,D),n=n+1|0;m0(r,153599)|0,g=P}function Y40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;n=g,g=g+96|0,o=n+8|0,c=n+80|0,w=n,p=e[r+16>>2]|0,a=~~+u[p+152>>3],A=e[p+16>>2]|0,s=e[46710]|0,Hd(p,c,w),c=e[c>>2]|0,l=+u[w>>3],e[o>>2]=2,e[o+4>>2]=1,e[o+8>>2]=c,e[o+12>>2]=a,e[o+16>>2]=A,e[o+20>>2]=0,e[o+24>>2]=s,e[o+28>>2]=0,e[o+32>>2]=0,u[o+40>>3]=l,e[o+48>>2]=0,e[o+52>>2]=0,e[o+56>>2]=0,e[o+60>>2]=0,e[o+64>>2]=0,e[o+68>>2]=i,Y0(r,68331,o),KD(r,t,i,0),g=n}function O40(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,Y0(r,68325,n),g=i}function Hd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;switch(e[r+144>>2]|0){case 1:{n=10,r=1;break}case 2:{n=10,r=2;break}default:n=0,r=0}e[t>>2]=r,u[i>>3]=n}function KD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(A=g,g=g+16|0,s=A+8|0,l=A,o=0;!((o|0)>=(i|0));)c=+u[t+(o<<4)>>3],a=+u[t+(o<<4)+8>>3],e[l>>2]=~~(c+(c>=0?.5:-.5)),e[l+4>>2]=~~(a+(a>=0?.5:-.5)),Y0(r,81099,l),o=o+1|0;n|0&&(a=+u[t>>3],c=+u[t+8>>3],e[s>>2]=~~(a+(a>=0?.5:-.5)),e[s+4>>2]=~~(c+(c>=0?.5:-.5)),Y0(r,81099,s)),m0(r,153599)|0,g=A}function V40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(e[r>>2]=0,a=e[46711]|0,l=195075,o=0,s=-1;;){if((o|0)>=(a|0)){c=6;break}if(w=($[190680+(o<<1)>>1]|0)-t|0,p=($[191192+(o<<1)>>1]|0)-i|0,A=($[191704+(o<<1)>>1]|0)-n|0,A=(N0(p,p)|0)+(N0(w,w)|0)+(N0(A,A)|0)|0,(A|0)<(l|0))if(A)l=A,s=o;else break;o=o+1|0}return(c|0)==6&&(e[46711]=a+1,(a|0)==256?o=s:($[190680+(o<<1)>>1]=t,$[191192+(o<<1)>>1]=i,$[191704+(o<<1)>>1]=n,e[r>>2]=1)),o|0}function H40(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,t=e[46712]|0,t||(e[46713]=64,t=Te(64)|0,e[46712]=t),i=0;o=r+1|0,n=y[r>>0]|0,!!(n<<24>>24);){if(r=e[46713]|0,(i|0)>(r+-8|0)&&(t=r<<1,e[46713]=t,t=O2(e[46712]|0,t)|0,e[46712]=t,t=t+i|0),n<<24>>24<=-1){y[t>>0]=92,e[l>>2]=n&255,Ke(t+1|0,81224,l)|0,r=o,t=t+4|0,i=i+4|0;continue}n<<24>>24==92&&(y[t>>0]=92,i=i+1|0,t=t+1|0),y[t>>0]=n,r=o,t=t+1|0,i=i+1|0}return y[t>>0]=0,g=s,e[46712]|0}function J40(r){r=r|0;var t=0,i=0,n=0;switch(i=e[r+16>>2]|0,e[r+64>>2]|0){case 0:{m0(r,68220)|0,t=i+208|0,i=e[t>>2]|0,i|0&&y[i>>0]|0&&(m0(r,68234)|0,m0(r,bt(e[t>>2]|0)|0)|0,m0(r,153599)|0);break}case 1:{t=i+208|0,n=e[t>>2]|0,n|0&&y[n>>0]|0&&(m0(r,68234)|0,m0(r,bt(e[t>>2]|0)|0)|0,m0(r,102604)|0,m0(r,bt(te(e[i+8>>2]|0)|0)|0)|0,m0(r,153599)|0);break}case 3:{n=bt(te(e[i+8>>2]|0)|0)|0,m0(r,68243)|0,m0(r,n)|0,m0(r,68253)|0,m0(r,n)|0,m0(r,68208)|0;break}default:}}function U40(r){r=r|0;var t=0;switch(t=e[r+16>>2]|0,e[r+64>>2]|0){case 2:{g7(r,e[t+264>>2]|0,e[t+272>>2]|0,e[t+268>>2]|0,e[t+208>>2]|0,e[t+228>>2]|0,e[t+244>>2]|0,e[t+212>>2]|0);break}case 3:{g7(r,e[t+264>>2]|0,e[t+272>>2]|0,e[t+268>>2]|0,e[t+208>>2]|0,e[t+228>>2]|0,e[t+244>>2]|0,e[t+212>>2]|0),m0(r,68212)|0;break}default:}}function X40(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;l=e[r+16>>2]|0,g7(r,e[l+264>>2]|0,e[l+272>>2]|0,e[l+268>>2]|0,t,i,n,o)}function g7(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0;var a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0;G=g,g=g+128|0,L=G+120|0,x=G+112|0,B=G+96|0,E=G+80|0,m=G+56|0,_=G+48|0,v=G+40|0,z=G+24|0,p=G;e:do if((i|0)!=0&(n|0)!=0){for(a=n+10|0,(e[46714]|0)<(n|0)?(e[46714]=a,w=O2(e[46715]|0,a<<3)|0,e[46715]=w):w=e[46715]|0,a=0;!((a|0)>=(n|0));)W=+u[i+(a<<4)>>3],e[w+(a<<3)>>2]=~~(W+(W>=0?.5:-.5)),W=+u[i+(a<<4)+8>>3],e[w+(a<<3)+4>>2]=~~(W+(W>=0?.5:-.5)),a=a+1|0;if(c=r+64|0,a=e[c>>2]|0,i=(o|0)!=0,i&(a|0)==0){if(!(y[o>>0]|0))break;switch(t|0){case 0:{z=e[w>>2]|0,_=e[w+12>>2]|0,L=e[w+8>>2]|0,n=e[w+4>>2]|0,e[p>>2]=o,e[p+4>>2]=z,e[p+8>>2]=_,e[p+12>>2]=L,e[p+16>>2]=n,Y0(r,67954,p);break e}case 1:{_=e[w>>2]|0,L=e[w+4>>2]|0,n=(e[w+8>>2]|0)-_|0,e[z>>2]=o,e[z+4>>2]=_,e[z+8>>2]=L,e[z+12>>2]=n,Y0(r,67975,z);break e}case 2:{for(e[v>>2]=o,Y0(r,67995,v),a=0;!((a|0)>=(n|0));)z=e[46715]|0,L=e[z+(a<<3)+4>>2]|0,e[_>>2]=e[z+(a<<3)>>2],e[_+4>>2]=L,Y0(r,68003,_),a=a+1|0;m0(r,153599)|0;break e}default:H0(138394,68010,63,68030)}}if(i&(a|0)==1){if(!(y[o>>0]|0))break;if(t)H0(138394,68010,75,68030);else{_=e[w+12>>2]|0,L=e[w+8>>2]|0,n=e[w+4>>2]|0,e[m>>2]=e[w>>2],e[m+4>>2]=_,e[m+8>>2]=L,e[m+12>>2]=n,e[m+16>>2]=o,e[m+20>>2]=l,Y0(r,68047,m);break}}if((a&-2|0)==2){switch(t|0){case 1:{m0(r,68080)|0;break}case 0:{m0(r,68101)|0;break}case 2:{m0(r,68120)|0;break}default:H0(138394,68010,91,68030)}A|0&&y[A>>0]|0&&(m0(r,73600)|0,m0(r,xN(A)|0)|0,m0(r,98744)|0),i&&y[o>>0]|0&&(m0(r,68139)|0,m0(r,xN(o)|0)|0,m0(r,98744)|0),s|0&&y[s>>0]|0&&(m0(r,74559)|0,m0(r,bt(s)|0)|0,m0(r,98744)|0),l|0&&y[l>>0]|0&&(m0(r,68147)|0,m0(r,bt(l)|0)|0,m0(r,98744)|0),m0(r,68156)|0,m0(r,68164)|0;r:do switch(t|0){case 1:{n=e[46715]|0,_=e[n>>2]|0,L=e[n+4>>2]|0,n=(e[n+8>>2]|0)-_|0,e[E>>2]=_,e[E+4>>2]=L,e[E+8>>2]=n,Y0(r,68174,E);break}case 0:{z=e[46715]|0,_=e[z+12>>2]|0,L=e[z+8>>2]|0,n=e[z+4>>2]|0,e[B>>2]=e[z>>2],e[B+4>>2]=_,e[B+8>>2]=L,e[B+12>>2]=n,Y0(r,68183,B);break}case 2:for(_=e[46715]|0,a=e[_+4>>2]|0,e[x>>2]=e[_>>2],e[x+4>>2]=a,Y0(r,68195,x),a=1;;){if((a|0)>=(n|0))break r;z=e[46715]|0,_=e[z+(a<<3)+4>>2]|0,e[L>>2]=e[z+(a<<3)>>2],e[L+4>>2]=_,Y0(r,68201,L),a=a+1|0}default:}while(0);if((e[c>>2]|0)==3){m0(r,73424)|0;break}else{m0(r,68208)|0;break}}}while(0);g=G}function q40(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;t=g,g=g+32|0,i=t+24|0,n=t+16|0,l=t,o=e[r+16>>2]|0,m0(r,68623)|0,a=e[e[r+12>>2]>>2]|0,A=e[a+4>>2]|0,s=e[a+8>>2]|0,e[l>>2]=e[a>>2],e[l+4>>2]=A,e[l+8>>2]=s,Y0(r,68633,l),e[n>>2]=te(e[o+8>>2]|0)|0,Y0(r,68668,n),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,68681,i),m0(r,68694)|0,m0(r,68704)|0,m0(r,68712)|0,m0(r,68720)|0,m0(r,68728)|0,m0(r,68736)|0,m0(r,68744)|0,m0(r,68748)|0,m0(r,68753)|0,g=t}function $40(r){r=r|0,m0(r,68604)|0}function K40(r){r=r|0,e[46716]=2}function b40(r){r=r|0,e[46716]=1}function e30(r){r=r|0,e[46716]=2}function r30(r){r=r|0,e[46716]=0}function t30(r){r=r|0,e[46716]=2}function i30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;c=g,g=g+80|0,a=c,s=e[(e[r+16>>2]|0)+16>>2]|0,A=e[46716]|0,n=e[i+4>>2]|0,o=+u[r+352>>3]*+u[n+16>>3],l=e[r+360>>2]|0?1.5707963267948966:0,n=e[n+8>>2]|0,n?n=e[n+20>>2]|0:n=-1,v=y[i+48>>0]|0,p=+u[t>>3],w=+u[t+8>>3],i=a30(e[i>>2]|0)|0,e[a>>2]=4,e[a+4>>2]=v<<24>>24==108?0:v<<24>>24==114?2:1,e[a+8>>2]=s,e[a+12>>2]=A,e[a+16>>2]=0,e[a+20>>2]=n,u[a+24>>3]=o,u[a+32>>3]=l,e[a+40>>2]=4,u[a+48>>3]=0,u[a+56>>3]=0,e[a+64>>2]=~~(p+(p>=0?.5:-.5)),e[a+68>>2]=~~(w+(w>=0?.5:-.5)),e[a+72>>2]=i,Y0(r,68549,a),g=c}function n30(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;c=g,g=g+32|0,s=c,l=c+20|0,a=t+32|0;e:do switch(e[a>>2]|0){case 5:for(i=0;;){if(n=e[12724+(i<<2)>>2]|0,(i|0)==8)break e;if(o=e[t>>2]|0,(y[n>>0]|0)==(y[o>>0]|0)&&!(ge(n,o)|0)){A=10;break e}i=i+1|0}case 1:{n=t+1|0,o=t+2|0,i=(f30(l,s0[t>>0]|0,s0[n>>0]|0,s0[o>>0]|0)|0)+32|0,e[l>>2]|0&&(w=s0[t>>0]|0,l=s0[n>>0]|0,A=s0[o>>0]|0,e[s>>2]=0,e[s+4>>2]=i,e[s+8>>2]=w,e[s+12>>2]=l,e[s+16>>2]=A,Y0(r,68492,s)),A=10;break}case 0:{i=0,A=10;break}default:H0(138394,68513,168,68532)}while(0);(A|0)==10&&(e[t>>2]=i),e[a>>2]=6,g=c}function o30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;n=g,g=g+112|0,o=n+8|0,z=n+104|0,x=n,a=e[r+16>>2]|0,B=~~+u[a+152>>3],E=e[a+16>>2]|0,m=e[a+56>>2]|0,v=e[46716]|0,Jd(a,z,x),w=+u[t>>3],a=~~(w+(w>=0?.5:-.5)),c=+u[t+8>>3],A=~~(c+(c>=0?.5:-.5)),s=+u[t+16>>3],w=s-w,l=+u[t+24>>3],c=l-c,t=e[z>>2]|0,p=+u[x>>3],e[o>>2]=1,e[o+4>>2]=1,e[o+8>>2]=t,e[o+12>>2]=B,e[o+16>>2]=E,e[o+20>>2]=m,e[o+24>>2]=v,e[o+28>>2]=0,e[o+32>>2]=i|0?20:-1,u[o+40>>3]=p,e[o+48>>2]=0,u[o+56>>3]=0,e[o+64>>2]=a,e[o+68>>2]=A,e[o+72>>2]=~~(w+(w>=0?.5:-.5)),e[o+76>>2]=~~(c+(c>=0?.5:-.5)),e[o+80>>2]=a,e[o+84>>2]=A,e[o+88>>2]=~~(s+(s>=0?.5:-.5)),e[o+92>>2]=~~(l+(l>=0?.5:-.5)),Y0(r,68427,o),g=n}function l30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;o=g,g=g+96|0,l=o+8|0,p=o+80|0,v=o,m=e[r+16>>2]|0,w=~~+u[m+152>>3],c=e[m+16>>2]|0,a=e[m+56>>2]|0,A=e[46716]|0,Jd(m,p,v),p=e[p>>2]|0,s=+u[v>>3],e[l>>2]=2,e[l+4>>2]=3,e[l+8>>2]=p,e[l+12>>2]=w,e[l+16>>2]=c,e[l+20>>2]=a,e[l+24>>2]=A,e[l+28>>2]=0,e[l+32>>2]=n|0?20:-1,u[l+40>>3]=s,e[l+48>>2]=0,e[l+52>>2]=0,e[l+56>>2]=0,e[l+60>>2]=0,e[l+64>>2]=0,e[l+68>>2]=i+1,Y0(r,68331,l),bD(r,t,i,1),g=o}function s30(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0;for(P=g,g=g+192|0,D=P+176|0,N=P+168|0,T=P+104|0,W=P+96|0,o=P+88|0,z=P+180|0,_=P+80|0,L=P+16|0,G=P,n=r+16|0,v=e[n>>2]|0,m=~~+u[v+152>>3],E=e[v+16>>2]|0,B=e[46716]|0,x=Te((i*140|0)+140|0)|0,Jd(v,z,_),l?(p=5,A=e[(e[n>>2]|0)+56>>2]|0,a=20):(p=4,A=0,a=-1),J=+u[t>>3],w=L+48|0,u[w>>3]=J,U=+u[t+8>>3],u[L+56>>3]=U,e[o>>2]=~~(J+(J>=0?.5:-.5)),e[o+4>>2]=~~(U+(U>=0?.5:-.5)),c=G+8|0,n=x+(Ke(x,81099,o)|0)|0,v=1,l=0;s=l+3|0,!((s|0)>=(i|0));){for(e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],o=1;;){if((o|0)==4){o=1;break}F=o+l|0,u[L+(o<<4)>>3]=+u[t+(F<<4)>>3],u[L+(o<<4)+8>>3]=+u[t+(F<<4)+8>>3],o=o+1|0}for(;(o|0)!=7;)Ei(G,L,3,+(o|0)*.16666666666666666,0,0),U=+u[G>>3],J=+u[c>>3],e[W>>2]=~~(U+(U>=0?.5:-.5)),e[W+4>>2]=~~(J+(J>=0?.5:-.5)),o=o+1|0,n=n+(Ke(n,81099,W)|0)|0;v=v+6|0,l=s}for(o=e[z>>2]|0,J=+u[_>>3],e[T>>2]=3,e[T+4>>2]=p,e[T+8>>2]=o,e[T+12>>2]=m,e[T+16>>2]=E,e[T+20>>2]=A,e[T+24>>2]=B,e[T+28>>2]=0,e[T+32>>2]=a,u[T+40>>3]=J,e[T+48>>2]=0,e[T+52>>2]=0,e[T+56>>2]=0,e[T+60>>2]=v,Y0(r,68382,T),e[N>>2]=x,Y0(r,81106,N),r0(x),o=v+-1|0,n=0;!((n|0)>=(v|0));)e[D>>2]=((n|0)%(o|0)|0|0)!=0&1,Y0(r,81111,D),n=n+1|0;m0(r,153599)|0,g=P}function A30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;n=g,g=g+96|0,o=n+8|0,c=n+80|0,w=n,p=e[r+16>>2]|0,a=~~+u[p+152>>3],A=e[p+16>>2]|0,s=e[46716]|0,Jd(p,c,w),c=e[c>>2]|0,l=+u[w>>3],e[o>>2]=2,e[o+4>>2]=1,e[o+8>>2]=c,e[o+12>>2]=a,e[o+16>>2]=A,e[o+20>>2]=0,e[o+24>>2]=s,e[o+28>>2]=0,e[o+32>>2]=0,u[o+40>>3]=l,e[o+48>>2]=0,e[o+52>>2]=0,e[o+56>>2]=0,e[o+60>>2]=0,e[o+64>>2]=0,e[o+68>>2]=i,Y0(r,68331,o),bD(r,t,i,0),g=n}function u30(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,Y0(r,68325,n),g=i}function Jd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;switch(e[r+144>>2]|0){case 1:{n=10,r=1;break}case 2:{n=10,r=2;break}default:n=0,r=0}e[t>>2]=r,u[i>>3]=n}function bD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(A=g,g=g+16|0,s=A+8|0,l=A,o=0;!((o|0)>=(i|0));)c=+u[t+(o<<4)>>3],a=+u[t+(o<<4)+8>>3],e[l>>2]=~~(c+(c>=0?.5:-.5)),e[l+4>>2]=~~(a+(a>=0?.5:-.5)),Y0(r,81099,l),o=o+1|0;n|0&&(a=+u[t>>3],c=+u[t+8>>3],e[s>>2]=~~(a+(a>=0?.5:-.5)),e[s+4>>2]=~~(c+(c>=0?.5:-.5)),Y0(r,81099,s)),m0(r,153599)|0,g=A}function f30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(e[r>>2]=0,a=e[46717]|0,l=195075,o=0,s=-1;;){if((o|0)>=(a|0)){c=6;break}if(w=($[192216+(o<<1)>>1]|0)-t|0,p=($[192728+(o<<1)>>1]|0)-i|0,A=($[193240+(o<<1)>>1]|0)-n|0,A=(N0(p,p)|0)+(N0(w,w)|0)+(N0(A,A)|0)|0,(A|0)<(l|0))if(A)l=A,s=o;else break;o=o+1|0}return(c|0)==6&&(e[46717]=a+1,(a|0)==256?o=s:($[192216+(o<<1)>>1]=t,$[192728+(o<<1)>>1]=i,$[193240+(o<<1)>>1]=n,e[r>>2]=1)),o|0}function a30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,t=e[46718]|0,t||(e[46719]=64,t=Te(64)|0,e[46718]=t),i=0;o=r+1|0,n=y[r>>0]|0,!!(n<<24>>24);){if(r=e[46719]|0,(i|0)>(r+-8|0)&&(t=r<<1,e[46719]=t,t=O2(e[46718]|0,t)|0,e[46718]=t,t=t+i|0),n<<24>>24<=-1){y[t>>0]=92,e[l>>2]=n&255,Ke(t+1|0,81224,l)|0,r=o,t=t+4|0,i=i+4|0;continue}n<<24>>24==92&&(y[t>>0]=92,i=i+1|0,t=t+1|0),y[t>>0]=n,r=o,t=t+1|0,i=i+1|0}return y[t>>0]=0,g=s,e[46718]|0}function c30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;i=g,g=g+16|0,t=i,m0(r,73332)|0,(e[r+64>>2]|0)==2?m0(r,73347)|0:m0(r,153599)|0,l=e[e[r+12>>2]>>2]|0,o=e[l+4>>2]|0,n=e[l+8>>2]|0,e[t>>2]=e[l>>2],e[t+4>>2]=o,e[t+8>>2]=n,Y0(r,73358,t),g=i}function h30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+32|0,o=l+8|0,n=l,m0(r,73286)|0,i=r+64|0,t=r+12|0,(e[i>>2]|0)!=2&&(e[n>>2]=e[(e[t>>2]|0)+28>>2],Y0(r,73297,n)),!(e[(e[t>>2]|0)+20>>2]|0)&&(e[i>>2]|0)!=2&&(t=e[r+476>>2]|0,i=e[r+480>>2]|0,n=e[r+484>>2]|0,e[o>>2]=e[r+472>>2],e[o+4>>2]=t,e[o+8>>2]=i,e[o+12>>2]=n,Y0(r,69666,o)),m0(r,73312)|0,m0(r,73325)|0,g=l}function w30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;if(a=g,g=g+32|0,A=a+24|0,n=a+8|0,s=a,o=e[r+16>>2]|0,y[193768]=0,i=r+12|0,l=o+8|0,!(e[(e[i>>2]|0)+28>>2]|0)){e[s>>2]=te(e[l>>2]|0)|0,Y0(r,69597,s),t=r+64|0,(e[t>>2]|0)==2?m0(r,69630)|0:m0(r,69612)|0;do if(!(e[(e[i>>2]|0)+20>>2]|0))if((e[t>>2]|0)==2){w=e[r+460>>2]|0,c=e[r+464>>2]|0,t=e[r+468>>2]|0,e[n>>2]=e[r+456>>2],e[n+4>>2]=w,e[n+8>>2]=c,e[n+12>>2]=t,Y0(r,69666,n);break}else{m0(r,69642)|0;break}while(0);m0(r,69696)|0,wC(r,e[(e[i>>2]|0)+24>>2]|0,13e3),Fp0(r),t=e[(e[i>>2]|0)+20>>2]|0,t|0&&(e[s>>2]=e[t>>2],e[s+4>>2]=0,wC(r,0,s))}e[46720]=(y[(e[(e[l>>2]|0)+16>>2]|0)+115>>0]|0)==1?1:-1,y[193768]|0||(m0(r,69716)|0,y[193768]=1),t=e[o+208>>2]|0,t|0&&(e[A>>2]=dC(t,e[46720]|0)|0,Y0(r,69729,A)),g=a}function d30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;t=g,g=g+16|0,o=t,e[o>>2]=i,e[o+4>>2]=n,Y0(r,69581,o),g=t}function p30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;B=g,g=g+144|0,E=B+128|0,m=B+112|0,v=B+72|0,p=B+56|0,w=B+40|0,c=B+32|0,n=B+24|0,t=B+8|0,i=B,o=e[r+456>>2]|0,A=e[r+460>>2]|0,l=e[r+464>>2]|0,s=e[r+468>>2]|0,a=r+12|0,x=(e[(e[a>>2]|0)+28>>2]|0)+1|0,e[i>>2]=x,e[i+4>>2]=x,Y0(r,69208,i),e[(e[a>>2]|0)+20>>2]|0||(e[t>>2]=o,e[t+4>>2]=A,e[t+8>>2]=l,e[t+12>>2]=s,Y0(r,69225,t)),i=r+360|0,e[n>>2]=e[i>>2]|0?69259:69269,Y0(r,69278,n),t=r+64|0,(e[t>>2]|0)==1&&(e[c>>2]=l,e[c+4>>2]=s,Y0(r,69303,c)),c=e[r+200>>2]|0,x=e[r+204>>2]|0,e[w>>2]=e[r+196>>2],e[w+4>>2]=c,e[w+8>>2]=x,Y0(r,69342,w),e[(e[a>>2]|0)+20>>2]|0||(e[p>>2]=o,e[p+4>>2]=A,e[p+8>>2]=l-o,e[p+12>>2]=s-A,Y0(r,69362,p)),L=+u[r+496>>3],x=e[i>>2]|0,_=+u[r+504>>3],z=+u[r+512>>3],u[v>>3]=+u[r+488>>3],u[v+8>>3]=L,e[v+16>>2]=x,u[v+24>>3]=_,u[v+32>>3]=z,Y0(r,69402,v),(e[t>>2]|0)==1&&((l|0)>14399|(s|0)>14399&&(x=e[(e[a>>2]|0)+16>>2]|0,e[m>>2]=l,e[m+4>>2]=s,e[m+8>>2]=14400,Bt[x&63](69445,m)),e[E>>2]=o,e[E+4>>2]=A,e[E+8>>2]=l,e[E+12>>2]=s,Y0(r,69540,E)),g=B}function k30(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=r+12|0,e[(e[t>>2]|0)+20>>2]|0&&(m0(r,69132)|0,wC(r,0,(e[(e[t>>2]|0)+20>>2]|0)+4|0)),m0(r,69149)|0,m0(r,69176)|0,e[i>>2]=e[(e[t>>2]|0)+28>>2],Y0(r,69191,i),g=n}function v30(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=t,e[i>>2]=te(e[(e[r+16>>2]|0)+8>>2]|0)|0,Y0(r,69125,i),m0(r,69118)|0,g=t}function m30(r){r=r|0,m0(r,84552)|0}function g30(r){r=r|0,m0(r,69118)|0}function y30(r){r=r|0,m0(r,84552)|0}function C30(r){r=r|0,m0(r,69118)|0}function E30(r){r=r|0,m0(r,84552)|0}function B30(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;n=g,g=g+16|0,i=n,t|0&&(l=(e[r+16>>2]|0)+272|0,e[l>>2]|0)&&(m0(r,69014)|0,$o(r,e[l>>2]|0,2),m0(r,69025)|0,e[i>>2]=dC(t,e[46720]|0)|0,Y0(r,69029,i)),g=n}function I30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(a=g,g=g+32|0,s=a+8|0,A=a,n=e[r+16>>2]|0,!(+u[n+40>>3]<.5)){switch(Dl(r,n+16|0),l=i+4|0,Pr(r,+u[(e[l>>2]|0)+16>>3]),e[s>>2]=e[e[l>>2]>>2],Y0(r,68973,s),l=dC(e[i>>2]|0,e[46720]|0)|0,y[i+48>>0]|0){case 114:{c=i+32|0,n=c,o=+u[c>>3];break}case 108:{n=i+32|0,o=0;break}default:c=i+32|0,n=c,o=+u[c>>3]*.5}u[t>>3]=+u[t>>3]-o,c=t+8|0,u[c>>3]=+u[c>>3]+ +u[i+24>>3],e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],M1(r,s),m0(r,68988)|0,Pr(r,+u[n>>3]),e[A>>2]=l,Y0(r,68997,A)}g=a}function x30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+32|0,o=l,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],u[o+16>>3]=+u[t+16>>3]-+u[t>>3],u[o+24>>3]=+u[t+24>>3]-+u[t+8>>3],t=r+16|0,i|0&&(n=e[t>>2]|0,+u[n+80>>3]>.5)&&(Dl(r,n+56|0),$o(r,o,2),m0(r,68931)|0),+u[(e[t>>2]|0)+40>>3]>.5&&(vh(r),Dl(r,(e[t>>2]|0)+16|0),$o(r,o,2),m0(r,68951)|0),g=l}function S30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(A=g,g=g+16|0,s=A,l=r+16|0,n|0&&(o=e[l>>2]|0,+u[o+80>>3]>.5)){for(Dl(r,o+56|0),m0(r,68852)|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],M1(r,s),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)o=t+(n<<4)|0,e[s>>2]=e[o>>2],e[s+4>>2]=e[o+4>>2],e[s+8>>2]=e[o+8>>2],e[s+12>>2]=e[o+12>>2],M1(r,s),m0(r,68870)|0,n=n+1|0;m0(r,68897)|0}if(+u[(e[l>>2]|0)+40>>3]>.5){for(vh(r),Dl(r,(e[l>>2]|0)+16|0),m0(r,68852)|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],M1(r,s),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)l=t+(n<<4)|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],M1(r,s),m0(r,68870)|0,n=n+1|0;m0(r,68913)|0}g=A}function _30(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0;if(a=g,g=g+16|0,o=a,s=r+16|0,l|0&&(A=e[s>>2]|0,+u[A+80>>3]>.5)){for(Dl(r,A+56|0),m0(r,68852)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],M1(r,o),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)$o(r,t+(n<<4)|0,3),m0(r,68887)|0,n=n+3|0;m0(r,68897)|0}if(+u[(e[s>>2]|0)+40>>3]>.5){for(vh(r),Dl(r,(e[s>>2]|0)+16|0),m0(r,68852)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],M1(r,o),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)$o(r,t+(n<<4)|0,3),m0(r,68887)|0,n=n+3|0;m0(r,68879)|0}g=a}function z30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;if(l=g,g=g+16|0,o=l,n=r+16|0,+u[(e[n>>2]|0)+40>>3]>.5){for(vh(r),Dl(r,(e[n>>2]|0)+16|0),m0(r,68852)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],M1(r,o),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)s=t+(n<<4)|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2],M1(r,o),m0(r,68870)|0,n=n+1|0;m0(r,68879)|0}g=l}function L30(r,t){r=r|0,t=t|0,m0(r,68849)|0,m0(r,t)|0,m0(r,153599)|0}function R30(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0;w=g,g=g+32|0,l=w+16|0,c=w+8|0,a=w,s=r+16|0,o|0&&(A=e[s>>2]|0,+u[A+80>>3]>.5)&&(Dl(r,A+56|0),m0(r,84447)|0,$o(r,i,n),m0(r,102604)|0,e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],e[l+12>>2]=e[i+12>>2],M1(r,l),e[a>>2]=n,e[a+4>>2]=t,Y0(r,68766,a)),+u[(e[s>>2]|0)+40>>3]>.5&&(vh(r),Dl(r,(e[s>>2]|0)+16|0),m0(r,84447)|0,$o(r,i,n),m0(r,102604)|0,e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],e[l+12>>2]=e[i+12>>2],M1(r,l),e[c>>2]=n,e[c+4>>2]=t,Y0(r,68782,c)),g=w}function Dl(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;if(o=g,g=g+32|0,n=o,t|0){switch(e[(e[r+16>>2]|0)+4>>2]|0){case 1:case 0:{i=111494;break}case 2:{i=111481;break}case 3:{i=111450;break}default:i=68818}s=+u[t+8>>3],l=+u[t+16>>3],u[n>>3]=+u[t>>3],u[n+8>>3]=s,u[n+16>>3]=l,e[n+24>>2]=i,Y0(r,68825,n)}g=o}function vh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(a=g,g=g+16|0,A=a+8|0,s=a,o=r+16|0,l=e[o>>2]|0,t=e[l+160>>2]|0,Pr(r,+u[l+152>>3]),m0(r,68799)|0;!(!t||(l=t+4|0,n=e[t>>2]|0,!n));){if(ge(n,111088)|0)i=n;else{t=l;continue}for(;t=i+1|0,y[i>>0]|0;)i=t;e:for(;y[t>>0]|0;)for(e[s>>2]=t,Y0(r,68814,s);;)if(i=t+1|0,y[t>>0]|0)t=i;else{t=i;continue e}ge(n,134335)|0||(u[(e[o>>2]|0)+152>>3]=0),e[A>>2]=n,Y0(r,96670,A),t=l}g=a}function G30(r){r=r|0;var t=0;m0(r,74838)|0,t=he(e[(e[r>>2]|0)+168>>2]|0,74894)|0,t|0&&y[t>>0]|0&&(m0(r,74905)|0,m0(r,t)|0,m0(r,74929)|0),m0(r,74950)|0,m0(r,74998)|0,m0(r,75052)|0,t=r+12|0,m0(r,bt(e[e[e[t>>2]>>2]>>2]|0)|0)|0,m0(r,78181)|0,m0(r,bt(e[(e[e[t>>2]>>2]|0)+4>>2]|0)|0)|0,m0(r,78191)|0,m0(r,bt(e[(e[e[t>>2]>>2]|0)+8>>2]|0)|0)|0,m0(r,75434)|0,m0(r,75458)|0}function Z30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;l=g,g=g+48|0,o=l+16|0,n=l+8|0,i=l,t=e[r+16>>2]|0,m0(r,74673)|0,t=t+8|0,y[(te(e[t>>2]|0)|0)>>0]|0&&(m0(r,75397)|0,m0(r,bt(te(e[t>>2]|0)|0)|0)|0),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,74678,i),i=e[r+452>>2]|0,e[n>>2]=e[r+448>>2],e[n+4>>2]=i,Y0(r,74694,n),a=+u[r+392>>3],A=+u[r+400>>3],s=+u[r+408>>3],u[o>>3]=+u[r+384>>3],u[o+8>>3]=a,u[o+16>>3]=A,u[o+24>>3]=s,Y0(r,74727,o),m0(r,74758)|0,m0(r,74794)|0,m0(r,76388)|0,g=l}function W30(r){r=r|0,m0(r,74665)|0}function D30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,mh(r,t,0,101510,e[(e[r+16>>2]|0)+8>>2]|0),m0(r,76388)|0}function M30(r){r=r|0,m0(r,74513)|0}function j30(r){r=r|0;var t=0,i=0,n=0,o=0;i=g,g=g+16|0,n=i,o=e[r+16>>2]|0,t=o+8|0,mh(r,e[o+212>>2]|0,0,111494,e[t>>2]|0),m0(r,74617)|0,Pr(r,+u[r+488>>3]),m0(r,102604)|0,Pr(r,+u[r+496>>3]),e[n>>2]=0-(e[r+360>>2]|0),Y0(r,74636,n),Pr(r,+u[r+504>>3]),m0(r,102604)|0,Pr(r,-+u[r+512>>3]),m0(r,74660)|0,y[(te(e[t>>2]|0)|0)>>0]|0&&(m0(r,74569)|0,m0(r,bt(te(e[t>>2]|0)|0)|0)|0,m0(r,74577)|0),g=i}function N30(r){r=r|0,m0(r,74513)|0}function Q30(r){r=r|0;var t=0,i=0;i=e[r+16>>2]|0,t=i+8|0,mh(r,e[i+212>>2]|0,0,108006,e[t>>2]|0),m0(r,76388)|0,m0(r,74569)|0,m0(r,bt(te(e[t>>2]|0)|0)|0)|0,m0(r,74577)|0}function T30(r){r=r|0,m0(r,74513)|0}function F30(r){r=r|0;var t=0,i=0,n=0;i=e[r+16>>2]|0,t=e[r+160>>2]|0,(t|0)>1?t=e[(e[(e[r>>2]|0)+308>>2]|0)+(t<<2)>>2]|0:t=0,n=i+8|0,mh(r,e[i+212>>2]|0,t,111481,e[n>>2]|0),m0(r,76388)|0,m0(r,74569)|0,m0(r,bt(te(e[n>>2]|0)|0)|0)|0,m0(r,74577)|0}function P30(r){r=r|0,m0(r,74513)|0}function Y30(r){r=r|0;var t=0,i=0;i=e[r+16>>2]|0,t=i+8|0,mh(r,e[i+212>>2]|0,0,111450,e[t>>2]|0),m0(r,76388)|0,m0(r,74569)|0,t=st(102095,e[t>>2]|0)|0,m0(r,bt(t)|0)|0,r0(t),m0(r,74577)|0}function O30(r){r=r|0,m0(r,74513)|0}function V30(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,m0(r,74519)|0,o|0&&(m0(r,74522)|0,m0(r,bt(o)|0)|0,m0(r,98744)|0),m0(r,74412)|0,m0(r,76349)|0,t|0&&y[t>>0]|0&&(m0(r,74530)|0,m0(r,t)|0,m0(r,98744)|0),i|0&&y[i>>0]|0&&(m0(r,74544)|0,m0(r,tC(i,1)|0)|0,m0(r,98744)|0),n|0&&y[n>>0]|0&&(m0(r,74559)|0,m0(r,bt(n)|0)|0,m0(r,98744)|0),m0(r,76388)|0}function H30(r){r=r|0,m0(r,76343)|0,m0(r,74513)|0}function J30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0;switch(H=g,g=g+176|0,Y=H+160|0,t0=H+152|0,P=H+136|0,q=H+128|0,D=H+120|0,T=H+112|0,N=H+104|0,W=H+96|0,G=H+88|0,_=H+80|0,x=H+72|0,B=H+64|0,E=H+56|0,m=H+48|0,n=H+40|0,w=H+32|0,v=H+24|0,p=H+16|0,c=H+8|0,a=H,F=e[r+16>>2]|0,m0(r,74044)|0,y[i+48>>0]|0){case 108:{m0(r,74050)|0;break}case 114:{m0(r,74071)|0;break}default:m0(r,74090)|0}if(J=t+8|0,U=+u[J>>3]+ +u[i+24>>3],u[J>>3]=U,J=F+260|0,$[J>>1]&512||(m0(r,74112)|0,Pr(r,+u[t>>3]),m0(r,74117)|0,Pr(r,-U),m0(r,98744)|0),z=i+4|0,t=e[z>>2]|0,A=e[t+8>>2]|0,A){switch(e[(e[(e[(e[r>>2]|0)+168>>2]|0)+16>>2]|0)+244>>2]|0){case 1:{s=A,t=A+16|0,n=A+8|0;break}case 2:{s=A+24|0,t=A+32|0,n=A+28|0;break}default:s=A+4|0,t=A+16|0,n=A+8|0}o=e[t>>2]|0,t=e[n>>2]|0,l=e[A+12>>2]|0,e[a>>2]=e[s>>2],Y0(r,74123,a),n=e[A+24>>2]|0,n|0&&(e[c>>2]=n,Y0(r,74140,c)),m0(r,98744)|0,t|0&&(e[p>>2]=t,Y0(r,74144,p)),l|0&&(e[v>>2]=l,Y0(r,74162,v)),o?(e[w>>2]=o,Y0(r,74181,w)):o=0}else e[n>>2]=e[t>>2],Y0(r,74198,n),o=0,t=0;switch(n=e[z>>2]|0,n|0&&(L=e[n+24>>2]|0,L&127|0)&&((t|0)!=0|(L&1|0)==0||Y0(r,74216,m),(o|0)!=0|(L&2|0)==0||Y0(r,74236,E),L&100|0&&(Y0(r,74257,B),L&4?(Y0(r,105986,x),t=1):t=0,L&64&&(e[_>>2]=t|0?100999:195059,Y0(r,74276,_),t=1),L&32|0&&(e[G>>2]=t|0?100999:195059,Y0(r,74287,G)),Y0(r,98744,W)),L&8|0&&Y0(r,74302,N),L&16|0&&Y0(r,74326,T)),u[D>>3]=+u[(e[z>>2]|0)+16>>3],Y0(r,74348,D),t=F+16|0,e[F+48>>2]|0){case 5:{t=e[t>>2]|0,De(t,137314)|0&&(e[q>>2]=t,Y0(r,74366,q));break}case 1:{D=s0[t+1>>0]|0,q=s0[t+2>>0]|0,e[P>>2]=s0[t>>0],e[P+4>>2]=D,e[P+8>>2]=q,Y0(r,74377,P);break}default:H0(138394,73558,486,74399)}m0(r,74412)|0,$[J>>1]&512&&(e[t0>>2]=bt(e[F+212>>2]|0)|0,Y0(r,74414,t0),m0(r,74463)|0,Pr(r,-U),m0(r,74481)|0),m0(r,tC(e[i>>2]|0,1)|0)|0,$[J>>1]&512&&Y0(r,74484,Y),m0(r,74504)|0,g=H}function U30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;switch(i|0){case 2:{n=y7(r,t,2)|0;break}case 3:{n=C7(r)|0;break}default:n=0}m0(r,74008)|0,Ud(r,i,n),m0(r,74017)|0,Pr(r,+u[t>>3]),m0(r,74023)|0,i=t+8|0,Pr(r,-+u[i>>3]),m0(r,74030)|0,Pr(r,+u[t+16>>3]-+u[t>>3]),m0(r,74037)|0,Pr(r,+u[t+24>>3]-+u[i>>3]),m0(r,73424)|0}function X30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;switch(n|0){case 2:{o=y7(r,t,i)|0;break}case 3:{o=C7(r)|0;break}default:o=0}for(m0(r,73999)|0,Ud(r,n,o),m0(r,73414)|0,o=0;!((o|0)>=(i|0));)Pr(r,+u[t+(o<<4)>>3]),m0(r,100999)|0,Pr(r,-+u[t+(o<<4)+8>>3]),m0(r,102604)|0,o=o+1|0;Pr(r,+u[t>>3]),m0(r,100999)|0,Pr(r,-+u[t+8>>3]),m0(r,73424)|0}function q30(r,t,i,n,o,l){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,o=e[r+16>>2]|0,l|0){case 2:{n=y7(r,t,i)|0;break}case 3:{n=C7(r)|0;break}default:n=0}m0(r,73594)|0,$[o+260>>1]&512&&(m0(r,73600)|0,m0(r,bt(e[o+212>>2]|0)|0)|0,m0(r,73606)|0),Ud(r,l,n),m0(r,73611)|0,b30(r,t,i),m0(r,73424)|0}function $30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(m0(r,73404)|0,Ud(r,0,0),m0(r,73414)|0,n=0;!((n|0)>=(i|0));)Pr(r,+u[t+(n<<4)>>3]),m0(r,100999)|0,Pr(r,-+u[t+(n<<4)+8>>3]),m0(r,102604)|0,n=n+1|0;m0(r,73424)|0}function K30(r,t){r=r|0,t=t|0,m0(r,73398)|0,m0(r,bt(t)|0)|0,m0(r,75458)|0}function Ud(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+96|0,A=v+48|0,p=v+40|0,c=v+32|0,w=v+24|0,s=v+16|0,o=v+8|0,n=v,a=e[r+16>>2]|0,m0(r,73429)|0;e:do switch(t|0){case 2:{e[n>>2]=i,Y0(r,73437,n);break}case 3:{e[o>>2]=i,Y0(r,73448,o);break}case 0:{m0(r,135709)|0;break}default:{t=a+56|0,n=A,o=t,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));if(wc(r,A),(e[a+88>>2]|0)==1){switch(t=y[t+3>>0]|0,t<<24>>24){case-1:case 0:break e;default:}u[s>>3]=+(t&255)*.00392156862745098,Y0(r,73459,s)}}}while(0);m0(r,73478)|0,i=a+16|0,n=A,o=i,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));switch(wc(r,A),t=a+152|0,+u[t>>3]!=1&&(m0(r,73489)|0,Pr(r,+u[t>>3])),e[a+144>>2]|0){case 1:{e[w>>2]=73529,Y0(r,73506,w);break}case 2:{e[c>>2]=73533,Y0(r,73506,c);break}default:}e:do if((e[a+48>>2]|0)==1){switch(t=y[i+3>>0]|0,t<<24>>24){case-1:case 0:break e;default:}u[p>>3]=+(t&255)*.00392156862745098,Y0(r,73537,p)}while(0);m0(r,98744)|0,g=v}function wc(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=g,g=g+16|0,i=n;e:do switch(e[t+32>>2]|0){case 5:{m0(r,e[t>>2]|0)|0;break}case 1:if(y[t+3>>0]|0){l=s0[t+1>>0]|0,o=s0[t+2>>0]|0,e[i>>2]=s0[t>>0],e[i+4>>2]=l,e[i+8>>2]=o,Y0(r,75714,i);break e}else{m0(r,137379)|0;break e}default:H0(138394,73558,117,73578)}while(0);g=n}function y7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+112|0,c=E+64|0,v=E+56|0,a=E+48|0,A=E+40|0,o=E+32|0,s=E,p=e[46722]|0,e[46722]=p+1,w=e[r+16>>2]|0,n=+(e[w+136>>2]|0)*.017453292519943295,e[s>>2]=0,e[s+4>>2]=0,e[s+8>>2]=0,e[s+12>>2]=0,e[s+16>>2]=0,e[s+20>>2]=0,e[s+24>>2]=0,e[s+28>>2]=0,MC(t,s,i,n,0),e[c>>2]=p,Y0(r,73831,c),m0(r,73896)|0,Pr(r,+u[s>>3]),m0(r,73901)|0,Pr(r,+u[s+8>>3]),m0(r,73908)|0,Pr(r,+u[s+16>>3]),m0(r,73915)|0,Pr(r,+u[s+24>>3]),m0(r,73922)|0,s=w+140|0,n=+x0[s>>2],n>0?(u[o>>3]=n+-.001,Y0(r,73927,o)):m0(r,73703)|0,t=w+56|0,i=c,o=t,l=i+40|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(l|0));wc(r,c),m0(r,73739)|0;e:do if((e[w+88>>2]|0)==1){switch(t=y[t+3>>0]|0,t<<24>>24){case-1:case 0:{m=7;break e}default:}u[A>>3]=+(t&255)*.00392156862745098,Y0(r,99612,A)}else m=7;while(0);(m|0)==7&&m0(r,73754)|0,m0(r,73757)|0,n=+x0[s>>2],n>0?(u[a>>3]=n,Y0(r,73927,a)):m0(r,73763)|0,t=w+96|0,i=c,o=t,l=i+40|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(l|0));wc(r,c),m0(r,73739)|0;e:do if((e[w+128>>2]|0)==1){switch(t=y[t+3>>0]|0,t<<24>>24){case-1:case 0:{m=14;break e}default:}u[v>>3]=+(t&255)*.00392156862745098,Y0(r,99612,v)}else m=14;while(0);return(m|0)==14&&m0(r,73754)|0,m0(r,73967)|0,g=E,p|0}function C7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;v=g,g=g+64|0,A=v+16|0,w=v+8|0,s=v,c=e[46721]|0,e[46721]=c+1,a=e[r+16>>2]|0,m=+(e[a+136>>2]|0)*.017453292519943295,i=m,m==0?(n=50,t=50):(n=~~((+ee(+i)+1)*50),t=~~((1-+le(+i))*50)),e[A>>2]=c,e[A+4>>2]=n,e[A+8>>2]=t,Y0(r,73619,A),m0(r,73703)|0,t=a+56|0,n=A,o=t,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));wc(r,A),m0(r,73739)|0;e:do if((e[a+88>>2]|0)==1){switch(t=y[t+3>>0]|0,t<<24>>24){case-1:case 0:{p=6;break e}default:}u[s>>3]=+(t&255)*.00392156862745098,Y0(r,99612,s)}else p=6;while(0);(p|0)==6&&m0(r,73754)|0,m0(r,73757)|0,m0(r,73763)|0,t=a+96|0,n=A,o=t,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));wc(r,A),m0(r,73739)|0;e:do if((e[a+128>>2]|0)==1){switch(t=y[t+3>>0]|0,t<<24>>24){case-1:case 0:{p=10;break e}default:}u[w>>3]=+(t&255)*.00392156862745098,Y0(r,99612,w)}else p=10;while(0);return(p|0)==10&&m0(r,73754)|0,m0(r,73799)|0,g=v,c|0}function b30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,n=77,o=0;!((o|0)>=(i|0));)e[l>>2]=n,Y0(r,73616,l),Pr(r,+u[t+(o<<4)>>3]),m0(r,100999)|0,Pr(r,-+u[t+(o<<4)+8>>3]),n=o|0?32:67,o=o+1|0;g=s}function mh(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;A=g,g=g+16|0,s=A+8|0,l=A,m0(r,74587)|0,m0(r,bt(t)|0)|0,i|0&&(e[l>>2]=bt(i)|0,Y0(r,74595,l)),e[s>>2]=n,Y0(r,74599,s),t=he(o,74611)|0,t|0&&y[t>>0]|0&&(m0(r,102604)|0,m0(r,bt(t)|0)|0),m0(r,98744)|0,g=A}function eh0(r){r=r|0;var t=0;m0(r,75418)|0,t=r+12|0,m0(r,gh(e[e[e[t>>2]>>2]>>2]|0)|0)|0,m0(r,78181)|0,m0(r,gh(e[(e[e[t>>2]>>2]|0)+4>>2]|0)|0)|0,m0(r,78191)|0,m0(r,gh(e[(e[e[t>>2]>>2]|0)+8>>2]|0)|0)|0,m0(r,75434)|0}function rh0(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=e[r+16>>2]|0,m0(r,75395)|0,t=t+8|0,y[(te(e[t>>2]|0)|0)>>0]|0&&(m0(r,75397)|0,m0(r,gh(te(e[t>>2]|0)|0)|0)|0),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,75406,i),e[46723]=0,g=n}function th0(r){r=r|0,e[46723]=1}function ih0(r){r=r|0,e[46723]=-1}function nh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(c=g,g=g+48|0,l=c+8|0,a=c,n=e[r+16>>2]|0,e[n+144>>2]|0&&(A=i+4|0,s=~~(+u[r+352>>3]*+u[(e[A>>2]|0)+16>>3]),s|0)){yh(r),m0(r,75334)|0,o=t+8|0,u[o>>3]=+u[o>>3]-+(s|0)*.55,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],M1(r,l),m0(r,75348)|0,m0(r,e[i>>2]|0)|0,m0(r,75357)|0,m0(r,75155)|0,o=l,t=n+16|0,n=o+40|0;do e[o>>2]=e[t>>2],o=o+4|0,t=t+4|0;while((o|0)<(n|0));switch(kf(r,l),m0(r,75359)|0,l=e[A>>2]|0,A=e[l+8>>2]|0,A=e[(A|0?A+4|0:l)>>2]|0,m0(r,98744)|0,m0(r,A)|0,m0(r,98744)|0,e[a>>2]=s,Y0(r,75368,a),y[i+48>>0]|0){case 108:{m0(r,75373)|0;break}case 114:{m0(r,75384)|0;break}default:}Ch(r),m0(r,153599)|0}g=c}function oh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;if(A=g,g=g+48|0,o=A,l=e[r+16>>2]|0,s=l+144|0,e[s>>2]|0){w=+u[t>>3],c=+u[t+24>>3],n=t+8|0,a=+u[n>>3],u[t>>3]=w-+u[t+16>>3]+w,u[n>>3]=a-c+a,yh(r),m0(r,75320)|0,$o(r,t,2),m0(r,75155)|0;do if(i){t=o,i=l+56|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));kf(r,o)}else if(e[46723]|0){m0(r,137198)|0;break}else{m0(r,97309)|0;break}while(0);(e[46723]|0)==1&&(e[46723]=0),m0(r,75266)|0,Pr(r,+u[l+152>>3]),m0(r,75309)|0,t=o,i=l+16|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));kf(r,o),t=e[s>>2]|0,(t|0)==1&&(m0(r,75163)|0,t=e[s>>2]|0),(t|0)==2&&m0(r,75172)|0,Ch(r),m0(r,153599)|0}g=A}function lh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(A=g,g=g+48|0,o=A,l=e[r+16>>2]|0,s=l+144|0,e[s>>2]|0){yh(r),m0(r,75292)|0,$o(r,t,i),m0(r,75155)|0;do if(n){t=o,i=l+56|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));kf(r,o)}else if(e[46723]|0){m0(r,137198)|0;break}else{m0(r,97309)|0;break}while(0);(e[46723]|0)==1&&(e[46723]=0),m0(r,75266)|0,Pr(r,+u[l+152>>3]),m0(r,75309)|0,t=o,i=l+16|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));kf(r,o),t=e[s>>2]|0,(t|0)==1&&(m0(r,75163)|0,t=e[s>>2]|0),(t|0)==2&&m0(r,75172)|0,Ch(r),m0(r,153599)|0}g=A}function sh0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0;if(c=g,g=g+48|0,s=c,A=e[r+16>>2]|0,a=A+144|0,e[a>>2]|0){yh(r),m0(r,75141)|0,$o(r,t,i),m0(r,75155)|0,n=s,o=A+16|0,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));kf(r,s),m0(r,75266)|0,Pr(r,+u[A+152>>3]),n=e[a>>2]|0,(n|0)==1&&(m0(r,75163)|0,n=e[a>>2]|0),(n|0)==2&&m0(r,75172)|0,m0(r,75275)|0,Ch(r),m0(r,153599)|0}g=c}function Ah0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+48|0,l=A,n=e[r+16>>2]|0,s=n+144|0,e[s>>2]|0){yh(r),m0(r,75141)|0,$o(r,t,i),m0(r,75155)|0,o=l,t=n+16|0,i=o+40|0;do e[o>>2]=e[t>>2],o=o+4|0,t=t+4|0;while((o|0)<(i|0));kf(r,l),t=e[s>>2]|0,(t|0)==1&&(m0(r,75163)|0,t=e[s>>2]|0),(t|0)==2&&m0(r,75172)|0,Ch(r),m0(r,153599)|0}g=A}function uh0(r,t){r=r|0,t=t|0,m0(r,75138)|0,m0(r,gh(t)|0)|0,m0(r,153599)|0}function gh(r){return r=r|0,r|0}function yh(r){r=r|0,y[r+144>>0]|0?m0(r,e[r+148>>2]|0)|0:m0(r,75263)|0}function kf(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=g,g=g+16|0,i=n;e:do switch(e[t+32>>2]|0){case 5:{m0(r,e[t>>2]|0)|0;break}case 1:if(y[t+3>>0]|0){l=s0[t+1>>0]|0,o=s0[t+2>>0]|0,e[i>>2]=s0[t>>0],e[i+4>>2]=l,e[i+8>>2]=o,Y0(r,75714,i);break e}else{m0(r,97309)|0;break e}default:H0(138394,75181,49,75245)}while(0);g=n}function Ch(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;switch(s=g,g=g+16|0,l=s,o=e[r+16>>2]|0,e[o+12>>2]|0){case 8:{t=1,i=111481,n=o+8|0;break}case 10:{t=0,i=111481,n=o+8|0;break}case 3:case 2:case 9:{t=1,i=111450,n=o+8|0;break}case 7:case 6:case 11:{t=0,i=111450,n=o+8|0;break}case 0:{t=1,i=111494,n=o+8|0;break}case 4:{t=0,i=75217,n=o+8|0;break}case 1:{t=1,i=111494,n=o+8|0;break}case 5:{t=0,i=111494,n=o+8|0;break}default:H0(138394,75181,106,75200)}o=e[(e[n>>2]|0)+8>>2]|0,e[l>>2]=t,e[l+4>>2]=i,e[l+8>>2]=o,Y0(r,75229,l),g=s}function fh0(r){r=r|0;var t=0;m0(r,78153)|0,m0(r,78161)|0,t=r+12|0,m0(r,xs(e[e[e[t>>2]>>2]>>2]|0)|0)|0,m0(r,78181)|0,m0(r,xs(e[(e[e[t>>2]>>2]|0)+4>>2]|0)|0)|0,m0(r,78191)|0,m0(r,xs(e[(e[e[t>>2]>>2]|0)+8>>2]|0)|0)|0,m0(r,78194)|0}function ah0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+32|0,l=s+24|0,o=s+16|0,n=s+8|0,i=s,t=e[r+16>>2]|0,e[46727]=~~(+u[r+232>>3]-+u[r+216>>3]),e[46726]=~~(+u[r+224>>3]-+u[r+208>>3]),m0(r,76840)|0,m0(r,76847)|0,t=te(e[t+8>>2]|0)|0,y[t>>0]|0&&(m0(r,76916)|0,m0(r,xs(t)|0)|0,m0(r,76924)|0),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,76933,i),m0(r,76953)|0,m0(r,76988)|0,m0(r,77016)|0,m0(r,77022)|0,m0(r,77065)|0,m0(r,77106)|0,m0(r,77125)|0,m0(r,77142)|0,m0(r,77190)|0,m0(r,77243)|0,m0(r,77319)|0,m0(r,77395)|0,m0(r,77404)|0,m0(r,77427)|0,m0(r,77454)|0,m0(r,77507)|0,m0(r,77529)|0,m0(r,77574)|0,m0(r,77586)|0,m0(r,77596)|0,m0(r,77622)|0,m0(r,77507)|0,m0(r,77674)|0,m0(r,77574)|0,m0(r,77586)|0,m0(r,77718)|0,m0(r,77427)|0,m0(r,77454)|0,m0(r,77507)|0,m0(r,77674)|0,m0(r,77574)|0,m0(r,77586)|0,m0(r,77596)|0,m0(r,77622)|0,m0(r,77507)|0,m0(r,77529)|0,m0(r,77574)|0,m0(r,77586)|0,m0(r,77731)|0,m0(r,77739)|0,m0(r,77745)|0,m0(r,77759)|0,m0(r,77767)|0,m0(r,77800)|0,i=(e[46727]|0)+10|0,e[n>>2]=e[46726],e[n+4>>2]=i,Y0(r,77877,n),m0(r,77907)|0,m0(r,77916)|0,m0(r,77974)|0,m0(r,77984)|0,m0(r,78049)|0,n=e[46727]|0,e[o>>2]=e[46726],e[o+4>>2]=n,Y0(r,78086,o),o=e[46727]|0,e[l>>2]=e[46726],e[l+4>>2]=o,Y0(r,78114,l),g=s}function ch0(r){r=r|0,m0(r,76391)|0,m0(r,76403)|0,m0(r,76411)|0,m0(r,76474)|0,m0(r,76403)|0,m0(r,76519)|0,m0(r,76568)|0,m0(r,76622)|0,m0(r,76403)|0,m0(r,76722)|0,m0(r,76771)|0,m0(r,76403)|0,m0(r,76823)|0}function hh0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;A=g,g=g+32|0,s=A+16|0,l=A+8|0,o=A,m0(r,76349)|0,t|0&&y[t>>0]|0&&(e[o>>2]=xs(t)|0,Y0(r,76352,o)),i|0&&y[i>>0]|0&&(e[l>>2]=xs(i)|0,Y0(r,76363,l)),n|0&&y[n>>0]|0&&(e[s>>2]=xs(n)|0,Y0(r,76375,s)),m0(r,76388)|0,g=A}function wh0(r){r=r|0,m0(r,76343)|0}function dh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;switch(W=g,g=g+112|0,L=W+96|0,G=W+88|0,z=W+80|0,p=W+72|0,x=W+64|0,E=W+56|0,m=W+48|0,v=W+40|0,w=W+24|0,c=W+8|0,a=W,_=e[r+16>>2]|0,y[i+48>>0]|0){case 108:{l=+u[t>>3],A=+u[i+32>>3];break}case 114:{A=+u[i+32>>3],l=+u[t>>3]-A;break}default:A=+u[i+32>>3],l=+u[t>>3]-A*.5}switch(n=i+40|0,o=+u[n>>3],B=i+4|0,s=+u[(e[B>>2]|0)+16>>3],o>3]=o),N=l+-8,s=+((e[46727]|0)>>>0)-+u[t+8>>3]-o+s*.2+(s<12?1.4:2),Y0(r,76005,a),u[c>>3]=N,u[c+8>>3]=s,Y0(r,75942,c),u[w>>3]=l+8+A-N,u[w+8>>3]=o,Y0(r,75966,w),m0(r,76040)|0,m0(r,76074)|0,n=e[B>>2]|0,t=e[n+8>>2]|0,t?(e[v>>2]=e[t+4>>2],Y0(r,76164,v),n=e[t+8>>2]|0,n|0&&(e[m>>2]=n,Y0(r,76183,m)),n=e[t+12>>2]|0,n|0&&(e[E>>2]=n,Y0(r,76200,E)),n=e[t+16>>2]|0,n|0&&(e[x>>2]=n,Y0(r,76218,x))):(e[p>>2]=e[n>>2],Y0(r,76164,p)),u[z>>3]=+u[(e[B>>2]|0)+16>>3],Y0(r,76234,z),n=_+16|0,e[_+48>>2]|0){case 5:{n=e[n>>2]|0,De(n,137314)|0&&(e[G>>2]=n,Y0(r,76254,G));break}case 1:{_=s0[n+1>>0]|0,G=s0[n+2>>0]|0,e[L>>2]=s0[n>>0],e[L+4>>2]=_,e[L+8>>2]=G,Y0(r,76264,L);break}default:H0(138394,75728,438,76285)}m0(r,76298)|0,m0(r,xs(e[i>>2]|0)|0)|0,m0(r,76309)|0,m0(r,76332)|0,g=W}function ph0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;n=g,g=g+32|0,o=n+16|0,A=n,m0(r,75906)|0,c=+u[t>>3],s=+u[t+16>>3]-c,a=+u[t+24>>3],l=a-+u[t+8>>3],a=+((e[46727]|0)>>>0)-a,u[A>>3]=c-s,u[A+8>>3]=a,Y0(r,75942,A),u[o>>3]=s*2,u[o+8>>3]=l*2,Y0(r,75966,o),E7(r,i),m0(r,75788)|0,Xd(r),m0(r,75994)|0,g=n}function kh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(c=g,g=g+48|0,a=c+24|0,A=c+8|0,l=c,m0(r,75511)|0,w=e[46727]|0,e[l>>2]=e[46726],e[l+4>>2]=w,Y0(r,75764,l),E7(r,n),m0(r,75788)|0,Xd(r),m0(r,75791)|0,l=i+-1|0,n=0;!((n|0)>=(i|0));)s=+u[t+(n<<4)>>3],o=+((e[46727]|0)>>>0)-+u[t+(n<<4)+8>>3],n?(u[a>>3]=s,u[a+8>>3]=o,Y0(r,75884,a)):(m0(r,75818)|0,u[A>>3]=s,u[A+8>>3]=o,Y0(r,75884,A),m0(r,75895)|0),(n|0)==(l|0)&&m0(r,75898)|0,n=n+1|0;m0(r,75627)|0,g=c}function vh0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0;o=g,g=g+16|0,n=o,m0(r,75511)|0,s=e[46727]|0,e[n>>2]=e[46726],e[n+4>>2]=s,Y0(r,75764,n),E7(r,l),m0(r,75788)|0,Xd(r),m0(r,75791)|0,Ch0(r,t,i),m0(r,75804)|0,g=o}function mh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(a=g,g=g+48|0,A=a+24|0,s=a+8|0,o=a,m0(r,75511)|0,l=e[46727]|0,e[o>>2]=e[46726],e[o+4>>2]=l,Y0(r,75548,o),m0(r,75588)|0,o=i+-1|0,l=t+8|0,n=0;!((n|0)>=(i|0));)n?(c=+((e[46727]|0)>>>0)-+u[t+(n<<4)+8>>3],u[A>>3]=+u[t+(n<<4)>>3],u[A+8>>3]=c,Y0(r,75604,A)):(m0(r,75600)|0,c=+((e[46727]|0)>>>0)-+u[l>>3],u[s>>3]=+u[t>>3],u[s+8>>3]=c,Y0(r,75604,s),m0(r,75615)|0),(n|0)==(o|0)&&m0(r,75619)|0,n=n+1|0;m0(r,75623)|0,Xd(r),m0(r,75627)|0,g=a}function gh0(r,t){r=r|0,t=t|0,m0(r,75446)|0,m0(r,xs(t)|0)|0,m0(r,75458)|0}function xs(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=g,g=g+16|0,i=z,t=e[46724]|0,t||(e[46725]=64,t=_0(64)|0,e[46724]=t),B=i+15|0,E=i+14|0,o=0,m=0,p=0,i=0,n=0;e:for(;;){w=(p|0)!=0,a=o,v=r,A=i;r:for(;;){if(!v){x=32;break e}if(i=y[v>>0]|0,!(i<<24>>24)){x=32;break e}switch(r=e[46725]|0,(m|0)>(r+-8|0)&&(t=r<<1,e[46725]=t,t=Oe(e[46724]|0,t)|0,e[46724]=t,t=t+m|0,i=y[v>>0]|0),i<<24>>24){case 60:{i=4,r=102153,x=26;break r}case 62:{i=4,r=102136,x=27;break r}case 38:{x=10;break r}case 45:{i=5,r=102147,s=A;break r}default:}if(w&i<<24>>24==32){x=12;break}switch(i<<24>>24){case 34:{i=6,r=102116,x=26;break r}case 39:{i=5,r=102141,x=27;break r}default:}if(i<<24>>24<0)s=127,r=0;else{i=1,r=v,x=26;break}for(;o=s&255,l=i&255,!(o>>>0>=l>>>0);)i=s&l&255,s=o>>>1,r=r+1|0;if((r|0)<=1)if(o=Br(A|0,n|0,6)|0,o=ar(o|0,b|0,i&255|0,0)|0,n=b,c=a+-1|0,(a|0)>1)r=c,i=o;else{x=21;break}else r=r+-1|0,i=i&255,n=0;a=r,v=v+1|0,A=i}if((x|0)==10)x=0,r=(yh0(v)|0)==0,i=r?5:1,r=r?102130:v,s=A;else if((x|0)==12)x=0,r=(y[p>>0]|0)==32,i=r?6:1,r=r?102123:v,s=A;else if((x|0)==21){for(x=0,y[B>>0]=59,i=3,l=E,s=o,A=n;;){if(r=f8(s|0,A|0,10,0)|0,o=l+-1|0,y[l>>0]=r|48,r=s,s=Jc(s|0,A|0,10,0)|0,n=A,A=b,p=i,i=i+1|0,(p|0)>11){x=23;break e}if(n>>>0>0|(n|0)==0&r>>>0>9)l=o;else break}r=l+-2|0,y[o>>0]=35,y[r>>0]=38,a=c,n=A}else((x|0)==26||(x|0)==27)&&(x=0,s=A);for(l=t+i|0,o=i;o;)y[t>>0]=y[r>>0]|0,o=o+-1|0,r=r+1|0,t=t+1|0;o=a,r=v+1|0,m=i+m|0,p=v,t=l,i=s}if((x|0)==23)cn(75464,46,1,e[15712]|0)|0,Va(1);else if((x|0)==32)return y[t>>0]=0,g=z,e[46724]|0;return 0}function yh0(r){r=r|0;var t=0,i=0;i=r+1|0,t=y[i>>0]|0;e:do if(t<<24>>24==35){switch(i=r+2|0,t=y[i>>0]|0,t<<24>>24){case 88:case 120:break;default:for(r=i;;){if(i=r+1|0,(t+-48&255)>=10)break e;r=i,t=y[i>>0]|0}}for(i=r+3|0;;){if(t=y[i>>0]|0,(t+-48&255)>=10)switch(t<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break e}i=i+1|0}}else for(;;){if(r=i+1|0,((t&-33)+-65&255)>=26)break e;i=r,t=y[r>>0]|0}while(0);return t<<24>>24==59|0}function Xd(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+48|0,i=a+8|0,A=a,s=e[r+16>>2]|0,m0(r,75639)|0,n=i,o=s+16|0,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));switch(eM(r,i),t=+u[s+152>>3],t!=1&&(u[A>>3]=t,Y0(r,75657,A)),e[s+144>>2]|0){case 1:{m0(r,75674)|0;break}case 2:{m0(r,75692)|0;break}default:}m0(r,75709)|0,g=a}function eM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=g,g=g+16|0,i=n;e:do switch(e[t+32>>2]|0){case 5:{m0(r,e[t>>2]|0)|0;break}case 1:if(y[t+3>>0]|0){l=s0[t+1>>0]|0,o=s0[t+2>>0]|0,e[i>>2]=s0[t>>0],e[i+4>>2]=l,e[i+8>>2]=o,Y0(r,75714,i);break e}else{m0(r,135709)|0;break e}default:H0(138394,75728,94,75748)}while(0);g=n}function E7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;if(l=g,g=g+48|0,o=l,!t)m0(r,75867)|0;else{i=e[r+16>>2]|0,m0(r,75837)|0,t=o,i=i+56|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));eM(r,o),m0(r,75864)|0}g=l}function Ch0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;for(s=g,g=g+32|0,l=s,n=75818,o=0;!((o|0)>=(i|0));)a=+u[t+(o<<4)>>3],A=+((e[46727]|0)>>>0)-+u[t+(o<<4)+8>>3],e[l>>2]=n,u[l+8>>3]=a,u[l+16>>3]=A,Y0(r,75821,l),n=o|0?195059:75834,o=o+1|0;m0(r,98744)|0,g=s}function Eh0(r){r=r|0;var t=0,i=0,n=0;t=g,g=g+16|0,i=t+8|0,n=t,m0(r,80451)|0,m0(r,80466)|0,m0(r,80505)|0,m0(r,80554)|0,e[n>>2]=137314,e[n+4>>2]=80642,Y0(r,80623,n),e[i>>2]=137198,e[i+4>>2]=80648,Y0(r,80623,i),g=t}function Bh0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;t=g,g=g+64|0,i=t+8|0,A=t,e[A>>2]=te(e[(e[r+16>>2]|0)+8>>2]|0)|0,Y0(r,79404,A),s=+u[r+368>>3]*.5*+u[r+488>>3],l=+u[r+376>>3]*.5*+u[r+496>>3],o=+G2(+(s*.0020000000949949026))*180*.6366197723675814,n=+G2(+(l*.0020000000949949026))*180*.6366197723675814,u[i>>3]=s,u[i+8>>3]=l,u[i+16>>3]=-500,u[i+24>>3]=s,u[i+32>>3]=l,u[i+40>>3]=0,u[i+48>>3]=(o>n?o:n)*1.2,Y0(r,79426,i),m0(r,79573)|0,m0(r,80403)|0,g=t}function Ih0(r){r=r|0,m0(r,79387)|0}function xh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=g,g=g+16|0,l=o,e[l>>2]=t,e[l+4>>2]=i,e[l+8>>2]=n,Y0(r,79357,l),x0[46728]=+(N0(i,-10)|0),g=o}function Sh0(r){r=r|0,m0(r,79340)|0}function _h0(r){r=r|0,m0(r,79322)|0}function zh0(r){r=r|0,m0(r,79306)|0}function Lh0(r){r=r|0,m0(r,79285)|0,x0[46728]=+x0[46728]+-2}function Rh0(r){r=r|0,m0(r,79266)|0}function Gh0(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=t,e[i>>2]=te(e[(e[r+16>>2]|0)+8>>2]|0)|0,Y0(r,79244,i),g=t}function Zh0(r){r=r|0,m0(r,79228)|0}function Wh0(r){r=r|0,m0(r,79210)|0,x0[46728]=+x0[46728]+-5}function Dh0(r){r=r|0,m0(r,79194)|0,x0[46728]=+x0[46728]+5}function Mh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;switch(v=g,g=g+144|0,c=v+104|0,p=v+56|0,A=v+32|0,l=v+24|0,a=v,w=i+4|0,o=e[w>>2]|0,n=+u[o+16>>3],o=e[o>>2]|0,e[a>>2]=e[i>>2],u[a+8>>3]=n,e[a+16>>2]=o,Y0(r,79040,a),x0[46729]=+x0[46728]+-9,y[i+48>>0]|0){case 108:{n=+u[t>>3];break}case 114:{o=t,n=+u[t>>3]-+u[i+32>>3],s=5;break}default:o=t,n=+u[t>>3]-+u[i+32>>3]*.5,s=5}(s|0)==5&&(u[o>>3]=n),B=+u[r+488>>3],E=(+u[r+504>>3]+n)*B,m=(+u[r+512>>3]+ +u[t+8>>3])*+u[r+496>>3],u[l>>3]=+u[(e[w>>2]|0)+16>>3]*B,a=W2(r,79092,l)|0,n=+(e[r+360>>2]|0),u[A>>3]=0,u[A+8>>3]=0,u[A+16>>3]=n,o=W2(r,78309,A)|0,n=+x0[46729],u[c>>3]=E,u[c+8>>3]=m,u[c+16>>3]=n,t=W2(r,78341,c)|0,l=c,s=(e[r+16>>2]|0)+16|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));c=vf(r,c,0)|0,i=e[i>>2]|0,e[p>>2]=e[e[w>>2]>>2],u[p+8>>3]=.25,u[p+16>>3]=0,e[p+24>>2]=i,e[p+28>>2]=79179,e[p+32>>2]=a,e[p+36>>2]=o,e[p+40>>2]=t,e[p+44>>2]=c,p=W2(r,79104,p)|0,m0(r,p)|0,r0(p),r0(o),r0(c),r0(t),r0(a),g=v}function jh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;W=g,g=g+240|0,L=W+192|0,G=W+152|0,B=W+128|0,m=W+104|0,w=W+80|0,c=W+48|0,n=W+24|0,a=W,m0(r,78917)|0,x0[46729]=+x0[46728]+-6,l=+u[t>>3],s=+u[r+488>>3],p=(+u[r+504>>3]+l)*s,N=+u[t+8>>3],A=+u[r+496>>3],v=(+u[r+512>>3]+N)*A,s=(+u[t+16>>3]-l)*s,A=(+u[t+24>>3]-N)*A,E=r+16|0,N=A+s,l=+u[(e[E>>2]|0)+152>>3]/N*2.5,u[a>>3]=s,u[a+8>>3]=N*.25,u[a+16>>3]=A,t=W2(r,78277,a)|0,a=r+360|0,N=+(e[a>>2]|0),u[n>>3]=90,u[n+8>>3]=0,u[n+16>>3]=N,n=W2(r,78309,n)|0,N=+x0[46729],u[L>>3]=p,u[L+8>>3]=v,u[L+16>>3]=N,o=W2(r,78341,L)|0,x=L,z=(e[E>>2]|0)+16|0,_=x+40|0;do e[x>>2]=e[z>>2],x=x+4|0,z=z+4|0;while((x|0)<(_|0));if(z=vf(r,L,0)|0,u[c>>3]=1,u[c+8>>3]=l,e[c+16>>2]=t,e[c+20>>2]=n,e[c+24>>2]=o,e[c+28>>2]=z,_=W2(r,78932,c)|0,m0(r,_)|0,r0(t),r0(n),r0(o),r0(z),r0(_),i|0){u[w>>3]=s,u[w+8>>3]=A,u[w+16>>3]=1,o=W2(r,78277,w)|0,N=+(e[a>>2]|0),u[m>>3]=0,u[m+8>>3]=0,u[m+16>>3]=N,n=W2(r,78309,m)|0,N=+x0[46729],u[B>>3]=p,u[B+8>>3]=v,u[B+16>>3]=N,t=W2(r,78341,B)|0,x=L,z=(e[E>>2]|0)+56|0,_=x+40|0;do e[x>>2]=e[z>>2],x=x+4|0,z=z+4|0;while((x|0)<(_|0));L=vf(r,L,0)|0,u[G>>3]=0,u[G+8>>3]=0,u[G+16>>3]=0,e[G+24>>2]=o,e[G+28>>2]=n,e[G+32>>2]=t,e[G+36>>2]=L,G=W2(r,78978,G)|0,m0(r,G)|0,r0(o),r0(n),r0(t),r0(L),r0(G)}g=W}function Nh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0;H=g,g=g+336|0,T=H+296|0,Y=H+288|0,t0=H+272|0,q=H+264|0,F=H+240|0,P=H+232|0,N=H+208|0,W=H+184|0,_=H+160|0,z=H+152|0,x=H+136|0,B=H+128|0,E=H+96|0,m=H+88|0,v=H+56|0,o=H+48|0,a=H+24|0,A=H,m0(r,78782)|0,x0[46729]=+x0[46728]+-2,w=r+488|0,p=r+496|0,f0=+u[p>>3],u[A>>3]=+u[w>>3],u[A+8>>3]=f0,u[A+16>>3]=1,A=W2(r,78277,A)|0,G=r+360|0,f0=+(e[G>>2]|0),u[a>>3]=0,u[a+8>>3]=0,u[a+16>>3]=f0,a=W2(r,78309,a)|0,f0=+x0[46729]+-2,u[T>>3]=0,u[T+8>>3]=0,u[T+16>>3]=f0,c=W2(r,78341,T)|0,D=r+16|0,l=T,s=(e[D>>2]|0)+16|0,L=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(L|0));for(s=vf(r,T,0)|0,e[o>>2]=78404,e[o+4>>2]=i+1,U=r+504|0,J=r+512|0,l=0,o=W2(r,78373,o)|0;!((l|0)>=(i|0));)B0=+u[J>>3]+ +u[t+(l<<4)+8>>3],f0=+u[(e[D>>2]|0)+152>>3],u[v>>3]=+u[U>>3]+ +u[t+(l<<4)>>3],u[v+8>>3]=B0,u[v+16>>3]=0,u[v+24>>3]=f0,k0=W2(r,78418,v)|0,e[m>>2]=o,e[m+4>>2]=k0,L=W2(r,78447,m)|0,r0(k0),r0(o),l=l+1|0,o=L;if(f0=+u[J>>3]+ +u[t+8>>3],B0=+u[(e[D>>2]|0)+152>>3],u[E>>3]=+u[U>>3]+ +u[t>>3],u[E+8>>3]=f0,u[E+16>>3]=0,u[E+24>>3]=B0,L=W2(r,78418,E)|0,e[B>>2]=o,e[B+4>>2]=L,k0=W2(r,78447,B)|0,r0(L),r0(o),e[x>>2]=A,e[x+4>>2]=a,e[x+8>>2]=c,e[x+12>>2]=s,L=W2(r,78797,x)|0,e[z>>2]=k0,e[z+4>>2]=L,k0=W2(r,78502,z)|0,r0(L),m0(r,k0)|0,r0(A),r0(a),r0(c),r0(s),r0(k0),n|0){B0=+u[p>>3],u[_>>3]=+u[w>>3],u[_+8>>3]=B0,u[_+16>>3]=1,c=W2(r,78277,_)|0,B0=+(e[G>>2]|0),u[W>>3]=0,u[W+8>>3]=0,u[W+16>>3]=B0,a=W2(r,78309,W)|0,B0=+x0[46729]+-2,u[N>>3]=0,u[N+8>>3]=0,u[N+16>>3]=B0,A=W2(r,78341,N)|0,l=T,s=(e[D>>2]|0)+56|0,L=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(L|0));for(s=vf(r,T,.25)|0,e[P>>2]=i,l=0,o=W2(r,78842,P)|0;!((l|0)>=(i|0));)B0=+u[J>>3]+ +u[t+(l<<4)+8>>3],u[F>>3]=+u[U>>3]+ +u[t+(l<<4)>>3],u[F+8>>3]=B0,u[F+16>>3]=0,P=W2(r,78857,F)|0,e[q>>2]=o,e[q+4>>2]=P,k0=W2(r,78879,q)|0,r0(P),r0(o),l=l+1|0,o=k0;e[t0>>2]=c,e[t0+4>>2]=a,e[t0+8>>2]=A,e[t0+12>>2]=s,t0=W2(r,78889,t0)|0,e[Y>>2]=o,e[Y+4>>2]=t0,k0=W2(r,78502,Y)|0,r0(t0),m0(r,k0)|0,r0(c),r0(a),r0(A),r0(s),r0(k0)}g=H}function Qh0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;T=g,g=g+208|0,n=T+160|0,N=T+152|0,W=T+136|0,G=T+128|0,L=T+96|0,_=T+88|0,z=T+56|0,A=T+48|0,E=T+24|0,m=T,m0(r,78709)|0,x0[46729]=+x0[46728]+-4,D=+u[r+496>>3],u[m>>3]=+u[r+488>>3],u[m+8>>3]=D,u[m+16>>3]=1,m=W2(r,78277,m)|0,D=+(e[r+360>>2]|0),u[E>>3]=0,u[E+8>>3]=0,u[E+16>>3]=D,E=W2(r,78309,E)|0,D=+x0[46729]+-2,u[n>>3]=0,u[n+8>>3]=0,u[n+16>>3]=D,B=W2(r,78341,n)|0,x=r+16|0,o=n,l=(e[x>>2]|0)+56|0,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));for(c=vf(r,n,0)|0,e[A>>2]=78723,e[A+4>>2]=i+2,w=r+504|0,p=r+512|0,v=i+-1|0,a=0,n=W2(r,78373,A)|0;!((a|0)>=(i|0));)o=t+(a<<4)|0,l=t+(a<<4)+8|0,P=+u[p>>3]+ +u[l>>3],D=+u[(e[x>>2]|0)+152>>3],u[z>>3]=+u[w>>3]+ +u[o>>3],u[z+8>>3]=P,u[z+16>>3]=0,u[z+24>>3]=D,A=W2(r,78418,z)|0,e[_>>2]=n,e[_+4>>2]=A,s=W2(r,78447,_)|0,r0(A),r0(n),(a|0)==0|(a|0)==(v|0)?(D=+u[p>>3]+ +u[l>>3],P=+u[(e[x>>2]|0)+152>>3],u[L>>3]=+u[w>>3]+ +u[o>>3],u[L+8>>3]=D,u[L+16>>3]=0,u[L+24>>3]=P,A=W2(r,78418,L)|0,e[G>>2]=s,e[G+4>>2]=A,n=W2(r,78447,G)|0,r0(A),r0(s)):n=s,a=a+1|0;e[W>>2]=m,e[W+4>>2]=E,e[W+8>>2]=B,e[W+12>>2]=c,t=W2(r,78732,W)|0,e[N>>2]=n,e[N+4>>2]=t,i=W2(r,78502,N)|0,r0(t),m0(r,i)|0,r0(m),r0(E),r0(B),r0(c),r0(i),g=T}function Th0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;z=g,g=g+160|0,n=z+120|0,x=z+112|0,B=z+96|0,E=z+88|0,m=z+56|0,a=z+48|0,c=z+24|0,v=z,m0(r,78261)|0,x0[46729]=+x0[46728]+-6,_=+u[r+496>>3],u[v>>3]=+u[r+488>>3],u[v+8>>3]=_,u[v+16>>3]=1,v=W2(r,78277,v)|0,_=+(e[r+360>>2]|0),u[c>>3]=0,u[c+8>>3]=0,u[c+16>>3]=_,c=W2(r,78309,c)|0,_=+x0[46729],u[n>>3]=0,u[n+8>>3]=0,u[n+16>>3]=_,w=W2(r,78341,n)|0,p=r+16|0,o=n,l=(e[p>>2]|0)+16|0,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));for(l=vf(r,n,0)|0,e[a>>2]=78404,e[a+4>>2]=i,s=r+504|0,A=r+512|0,o=0,n=W2(r,78373,a)|0;!((o|0)>=(i|0));)G=+u[A>>3]+ +u[t+(o<<4)+8>>3],_=+u[(e[p>>2]|0)+152>>3],u[m>>3]=+u[s>>3]+ +u[t+(o<<4)>>3],u[m+8>>3]=G,u[m+16>>3]=0,u[m+24>>3]=_,L=W2(r,78418,m)|0,e[E>>2]=n,e[E+4>>2]=L,a=W2(r,78447,E)|0,r0(L),r0(n),o=o+1|0,n=a;e[B>>2]=v,e[B+4>>2]=c,e[B+8>>2]=w,e[B+12>>2]=l,B=W2(r,78456,B)|0,e[x>>2]=n,e[x+4>>2]=B,L=W2(r,78502,x)|0,r0(B),m0(r,L)|0,r0(v),r0(c),r0(w),r0(l),r0(L),g=z}function Fh0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,Y0(r,78242,n),g=i}function W2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+1056|0,s=A,n=A+24|0,o=A+8|0,e[o>>2]=i,l=Lk(n,1024,t,o)|0;do if((l|0)>=0)if((l|0)>1023){r=Te(l+1|0)|0,e[o>>2]=i,zE(r,t,o)|0;break}else{r=C2(n)|0;break}else r=e[(e[r+12>>2]|0)+16>>2]|0,e[s>>2]=n8(e[(kr()|0)>>2]|0)|0,Bt[r&63](78687,s),r=C2(195059)|0;while(0);return g=A,r|0}function vf(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;v=g,g=g+112|0,w=v+104|0,s=v+96|0,l=v+64|0,c=v+48|0,p=v+32|0,a=v+16|0,A=v,o=e[t+32>>2]|0;e:do switch(o|0){case 5:{if(n=e[t>>2]|0,!(ge(n,136302)|0)){e[A>>2]=78524,u[A+8>>3]=i,n=W2(r,78507,A)|0;break e}if(!(ge(n,133432)|0)){e[a>>2]=78528,u[a+8>>3]=i,n=W2(r,78507,a)|0;break e}if(ge(n,131431)|0){e[c>>2]=n,u[c+8>>3]=i,n=W2(r,78507,c)|0;break e}else{e[p>>2]=78534,u[p+8>>3]=i,n=W2(r,78507,p)|0;break e}}case 1:{E=+(s0[t+1>>0]|0)*.00390625,m=+(s0[t+2>>0]|0)*.00390625,u[l>>3]=+(s0[t>>0]|0)*.00390625,u[l+8>>3]=E,u[l+16>>3]=m,u[l+24>>3]=i,n=W2(r,78539,l)|0;break}default:p=e[15712]|0,c=e[t>>2]|0,e[s>>2]=o,e[s+4>>2]=c,A2(p,78578,s)|0,H0(138394,78628,436,78648)}while(0);return e[w>>2]=n,p=W2(r,78665,w)|0,r0(n),g=v,p|0}function Ph0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;t=g,g=g+32|0,i=t+24|0,n=t+16|0,l=t,o=e[r+16>>2]|0,s=e[e[r+12>>2]>>2]|0,a=e[s>>2]|0,A=e[s+4>>2]|0,s=e[s+8>>2]|0,e[l>>2]=81094,e[l+4>>2]=a,e[l+8>>2]=A,e[l+12>>2]=s,Y0(r,83704,l),o=te(e[o+8>>2]|0)|0,e[n>>2]=81094,e[n+4>>2]=o,Y0(r,83736,n),e[i>>2]=81094,Y0(r,83750,i),g=t}function Yh0(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=t,e[i>>2]=81094,Y0(r,83652,i),g=t}function Oh0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0;me=g,g=g+304|0,ze=me+296|0,O0=me+288|0,b0=me+272|0,Z0=me+264|0,V0=me+256|0,J0=me+248|0,D0=me+240|0,B0=me+232|0,k0=me+224|0,f0=me+216|0,H=me+208|0,Y=me+200|0,t0=me+192|0,q=me+184|0,F=me+176|0,J=me+168|0,U=me+160|0,P=me+152|0,T=me+144|0,N=me+136|0,W=me+128|0,G=me+120|0,L=me+112|0,_=me+104|0,z=me+96|0,x=me+88|0,B=me+80|0,E=me+72|0,m=me+64|0,v=me+56|0,p=me+48|0,F0=me+40|0,D=me+24|0,w=me+16|0,c=me,l=e[r+456>>2]|0,s=e[r+460>>2]|0,A=e[r+464>>2]|0,a=e[r+468>>2]|0,o=r+360|0;e:do if(e[4025]|0){switch(e[o>>2]|0){case 90:case 0:break e;default:}e80(),e[4025]=0}while(0);n=(+(a|0)-+(s|0))*.013888888888888888,t=(+(A|0)-+(l|0))*.013888888888888888,a=(e[o>>2]|0)==90,i=a?n:t,n=a?t:n,u[c>>3]=i,u[c+8>>3]=n,Y0(r,81281,c),e[w>>2]=81094,Y0(r,81296,w),i>0?(t=+VE0(i),u[19214]=t,t=t+3-+(~~t|0)):t=3,t=+K0(10,+t),u[19214]=t,u[D>>3]=t,u[D+8>>3]=t,Y0(r,81465,D),e[F0>>2]=81094,Y0(r,81500,F0),e[p>>2]=81094,Y0(r,81558,p),e[v>>2]=81094,Y0(r,81618,v),e[m>>2]=81094,Y0(r,81667,m),e[E>>2]=81094,Y0(r,81706,E),e[B>>2]=81094,Y0(r,81757,B),e[x>>2]=81094,Y0(r,81819,x),e[z>>2]=81094,Y0(r,81929,z),e[_>>2]=81094,Y0(r,82020,_),e[L>>2]=81094,Y0(r,82074,L),e[G>>2]=81094,Y0(r,82143,G),Y0(r,82179,W),e[N>>2]=81094,Y0(r,82304,N),e[T>>2]=81094,Y0(r,82333,T),Y0(r,82373,P),e[U>>2]=81094,Y0(r,82466,U),e[J>>2]=81094,Y0(r,82525,J),e[F>>2]=81094,Y0(r,82606,F),Y0(r,82676,q),e[t0>>2]=81094,Y0(r,82765,t0),e[Y>>2]=81094,Y0(r,82870,Y),e[H>>2]=81094,Y0(r,82946,H),e[f0>>2]=81094,Y0(r,82985,f0),e[k0>>2]=81094,Y0(r,83084,k0),e[B0>>2]=81094,Y0(r,83130,B0),Y0(r,83219,D0),e[J0>>2]=81094,Y0(r,83260,J0),e[V0>>2]=81094,Y0(r,83343,V0),e[Z0>>2]=81094,Y0(r,83444,Z0),u[b0>>3]=n,u[b0+8>>3]=i,Y0(r,83508,b0),Y0(r,83536,O0),Y0(r,83544,ze),g=me}function Vh0(r){r=r|0;var t=0;t=g,g=g+16|0,Y0(r,81274,t),g=t}function Hh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;switch(m=g,g=g+48|0,v=m+24|0,p=m+8|0,w=m,y[i+48>>0]|0){case 108:{A=t,l=+u[i+32>>3],s=+u[t>>3];break}case 114:{l=+u[i+32>>3],o=l,n=5;break}default:l=+u[i+32>>3],o=l*.5,n=5}(n|0)==5&&(s=+u[t>>3]-o,u[t>>3]=s,A=t),a=i+4|0,n=e[a>>2]|0,o=+u[n+16>>3],t=t+8|0,c=+u[t>>3]+o*.004629629629629629,u[t>>3]=c,l=s+l*.006944444444444444,u[A>>3]=l,n=e[n>>2]|0;do if(n){if(t=e[46730]|0,t|0&&!(ge(t,n)|0))break;e[w>>2]=Kh0(n)|0,Y0(r,81173,w),w=e[a>>2]|0,e[46730]=e[w>>2],o=+u[w+16>>3]}while(0);n=~~o,n=(n|0)>1?n:1,(n|0)!=(e[46731]|0)&&(s=+u[19214],e[p>>2]=n,u[p+8>>3]=s,Y0(r,81181,p),e[46731]=n),e[v>>2]=bh0(e[i>>2]|0)|0,u[v+8>>3]=l,u[v+16>>3]=c,Y0(r,81202,v),g=m}function Jh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;n=g,g=g+48|0,o=n,s=+u[t>>3],a=(+u[t+16>>3]-s)*.027777777777777776,l=+u[t+8>>3],A=(+u[t+24>>3]-l)*.027777777777777776,e[o>>2]=1,e[o+4>>2]=i|0?81115:195059,u[o+8>>3]=a,u[o+16>>3]=A,u[o+24>>3]=s*.013888888888888888,u[o+32>>3]=l*.013888888888888888,Y0(r,81121,o),g=n}function Uh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,n=g,g=g+16|0,B7(e[r+16>>2]|0,n+8|0,n),rM(r,t,i,1),g=n}function Xh0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(x=g,g=g+128|0,B=x+112|0,m=x+104|0,v=x+96|0,n=x+88|0,w=x+16|0,p=x,a=e[r+16>>2]|0,A=Te((i*140|0)+140|0)|0,B7(a,x+116|0,x+80|0),_=+u[t>>3],a=w+48|0,u[a>>3]=_,z=+u[t+8>>3],u[w+56>>3]=z,e[n>>2]=~~(_+(_>=0?.5:-.5)),e[n+4>>2]=~~(z+(z>=0?.5:-.5)),s=p+8|0,n=A+(Ke(A,81099,n)|0)|0,E=1,l=0;c=l+3|0,!((c|0)>=(i|0));){for(e[w>>2]=e[a>>2],e[w+4>>2]=e[a+4>>2],e[w+8>>2]=e[a+8>>2],e[w+12>>2]=e[a+12>>2],o=1;;){if((o|0)==4){o=1;break}L=o+l|0,u[w+(o<<4)>>3]=+u[t+(L<<4)>>3],u[w+(o<<4)+8>>3]=+u[t+(L<<4)+8>>3],o=o+1|0}for(;(o|0)!=7;)Ei(p,w,3,+(o|0)*.16666666666666666,0,0),z=+u[p>>3],_=+u[s>>3],e[v>>2]=~~(z+(z>=0?.5:-.5)),e[v+4>>2]=~~(_+(_>=0?.5:-.5)),o=o+1|0,n=n+(Ke(n,81099,v)|0)|0;E=E+6|0,l=c}for(e[m>>2]=A,Y0(r,81106,m),r0(A),o=E+-1|0,n=0;!((n|0)>=(E|0));)e[B>>2]=((n|0)%(o|0)|0|0)!=0&1,Y0(r,81111,B),n=n+1|0;m0(r,153599)|0,g=x}function qh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=g,g=g+16|0,B7(e[r+16>>2]|0,n+8|0,n),rM(r,t,i,0),g=n}function $h0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=81094,e[n+4>>2]=t,Y0(r,81087,n),g=i}function B7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;switch(e[r+144>>2]|0){case 1:{n=10,r=1;break}case 2:{n=10,r=2;break}default:n=0,r=0}e[t>>2]=r,u[i>>3]=n}function rM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(A=g,g=g+16|0,s=A+8|0,l=A,o=0;!((o|0)>=(i|0));)c=+u[t+(o<<4)>>3],a=+u[t+(o<<4)+8>>3],e[l>>2]=~~(c+(c>=0?.5:-.5)),e[l+4>>2]=~~(a+(a>=0?.5:-.5)),Y0(r,81099,l),o=o+1|0;n|0&&(a=+u[t>>3],c=+u[t+8>>3],e[s>>2]=~~(a+(a>=0?.5:-.5)),e[s+4>>2]=~~(c+(c>=0?.5:-.5)),Y0(r,81099,s)),m0(r,153599)|0,g=A}function Kh0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+16|0,n=l;e:for(;;){for(t=15828;i=e[t+4>>2]|0,!!i;){if(!(ge(i,r)|0)){o=6;break e}t=t+8|0}if(e[n>>2]=81255,e[n+4>>2]=r,$0(1,81229,n)|0,t=yY(r,45)|0,!t){t=81272;break}y[t>>0]=0}return g=l,t|0}function bh0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,t=e[46732]|0,t||(e[46733]=64,t=Te(64)|0,e[46732]=t),i=0;o=r+1|0,n=y[r>>0]|0,!!(n<<24>>24);){if(r=e[46733]|0,(i|0)>(r+-8|0)&&(t=r<<1,e[46733]=t,t=O2(e[46732]|0,t)|0,e[46732]=t,t=t+i|0),n<<24>>24<=-1){y[t>>0]=92,e[l>>2]=n&255,Ke(t+1|0,81224,l)|0,r=o,t=t+4|0,i=i+4|0;continue}n<<24>>24==92&&(y[t>>0]=92,i=i+1|0,t=t+1|0),y[t>>0]=n,r=o,t=t+1|0,i=i+1|0}return y[t>>0]=0,g=s,e[46732]|0}function e80(){var r=0,t=0;r=g,g=g+16|0,t=r,e[t>>2]=81255,e[t+4>>2]=91269,$0(0,83634,t)|0,g=r}function r80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;n=g,g=g+32|0,o=n+8|0,A=n,t=t+8|0,a=e[t>>2]|0,e[A>>2]=a,e[A+4>>2]=a,Y0(r,84223,A),s=(+u[i>>3]+ +u[i+16>>3])*.5,l=(+u[i+8>>3]+ +u[i+24>>3])*.5,e[o>>2]=e[t>>2],u[o+8>>3]=s,u[o+16>>3]=l,Y0(r,84265,o),g=n}function t80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;n=g,g=g+48|0,o=n,s=+u[i>>3],a=+u[i+16>>3]-s,l=+u[i+24>>3],A=l-+u[i+8>>3],l=+(~~(+u[r+232>>3]-+u[r+216>>3])>>>0)-l,e[o>>2]=e[t+8>>2],u[o+8>>3]=a,u[o+16>>3]=A,u[o+24>>3]=s,u[o+32>>3]=l,Y0(r,84310,o),m0(r,84402)|0,g=n}function i80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0}function n80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;if(x=g,g=g+160|0,B=x+152|0,E=x+136|0,m=x+120|0,a=x+112|0,w=x+104|0,c=x+88|0,A=x+72|0,s=x+64|0,p=x,r||H0(111282,84407,212,84426),t||H0(111312,84407,213,84426),v=t+8|0,e[v>>2]|0||H0(111315,84407,214,84426),e[t+52>>2]|0){if(e[p>>2]=e[i>>2],e[p+4>>2]=e[i+4>>2],e[p+8>>2]=e[i+8>>2],e[p+12>>2]=e[i+12>>2],t=p+32|0,i=i+16|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],o=+u[p>>3],u[p+16>>3]=o,u[p+24>>3]=+u[p+40>>3],u[p+48>>3]=+u[t>>3],l=+u[p+8>>3],u[p+56>>3]=l,n<<24>>24){for(Y0(r,84447,s),t=0;(t|0)!=4;)z=+u[p+(t<<4)+8>>3],u[A>>3]=+u[p+(t<<4)>>3],u[A+8>>3]=z,Y0(r,84450,A),t=t+1|0;u[c>>3]=o,u[c+8>>3]=l,Y0(r,84450,c),c=e[v>>2]|0,e[w>>2]=4,e[w+4>>2]=c,Y0(r,84457,w)}for(Y0(r,84447,a),t=0;(t|0)!=4;)z=+u[p+(t<<4)+8>>3],u[m>>3]=+u[p+(t<<4)>>3],u[m+8>>3]=z,Y0(r,84450,m),t=t+1|0;u[E>>3]=o,u[E+8>>3]=l,Y0(r,84450,E),E=e[v>>2]|0,e[B>>2]=4,e[B+4>>2]=E,Y0(r,84472,B)}g=x}function o80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;w=g,g=g+112|0,c=w+24|0,a=w+16|0,A=w,l=w+28|0,r||H0(111282,84407,153,84488),t||H0(111312,84407,154,84488),e[t+8>>2]|0||H0(111315,84407,155,84488),s=t+52|0,e[s>>2]|0?(n=t+60|0,o=e[n>>2]|0,(o|0)==100?o=18:(l2[o&127](t),e[s>>2]=0,e[n>>2]=0,e[t+56>>2]=0,o=10)):o=10;do if((o|0)==10){if(!((aD(t)|0)<<24>>24))break;n=FY(e[t+20>>2]|0)|0,(e[t+24>>2]&-2|0)==6?(BY(n,l)|0,l=e[l+36>>2]|0,e[t+56>>2]=l,n=NE0(0,l,1,1,n,0)|0,e[s>>2]=n,y[t+16>>0]=1):n=e[s>>2]|0,n|0&&(e[t+60>>2]=100),b9(t),e[s>>2]|0&&(o=18)}while(0);(o|0)==18&&(p=+u[i+8>>3]-+(e[t+36>>2]|0),u[A>>3]=+u[i>>3]-+(e[t+32>>2]|0),u[A+8>>3]=p,Y0(r,84506,A),y[t+16>>0]|0?$N(r,t):(e[a>>2]=e[t+12>>2],Y0(r,84537,a)),Y0(r,84552,c)),g=w}function l80(r){r=r|0,UP(e[r+52>>2]|0,e[r+56>>2]|0)|0}function s80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;if(l=g,g=g+80|0,o=l+48|0,r||H0(111282,84407,121,84562),n=e[r+16>>2]|0,n||H0(99902,84407,123,84562),t||H0(111312,84407,124,84562),i=t+8|0,e[i>>2]|0||H0(111315,84407,125,84562),!(e[n+8>>2]|0))H0(138879,84407,128,84562);else{Y0(r,84582,l),Y0(r,84591,l+8|0),Y0(r,84618,l+16|0),Y0(r,84643,l+24|0),Y0(r,84672,l+32|0),Y0(r,84700,l+40|0),e[o>>2]=e[i>>2],Y0(r,84707,o),Y0(r,84746,l+56|0),Y0(r,111008,l+64|0),g=l;return}}function A80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;if(s=g,g=g+128|0,l=s+80|0,o=s,r||H0(111282,84407,97,84751),t||H0(111312,84407,98,84751),n=e[t+8>>2]|0,!n)H0(111315,84407,99,84751);else{c=+u[i>>3],A=~~(c+(c>=0?.5:-.5)),c=+u[i+8>>3],t=~~(c+(c>=0?.5:-.5)),c=+u[i+16>>3],a=~~(c+(c>=0?.5:-.5)),c=+u[i+24>>3],i=~~(c+(c>=0?.5:-.5)),e[o>>2]=2,e[o+4>>2]=5,e[o+8>>2]=0,e[o+12>>2]=0,e[o+16>>2]=0,e[o+20>>2]=-1,e[o+24>>2]=1,e[o+28>>2]=-1,e[o+32>>2]=0,u[o+40>>3]=0,e[o+48>>2]=0,e[o+52>>2]=0,e[o+56>>2]=0,e[o+60>>2]=0,e[o+64>>2]=0,e[o+68>>2]=5,e[o+72>>2]=0,e[o+76>>2]=n,Y0(r,84770,o),e[l>>2]=A,e[l+4>>2]=t,e[l+8>>2]=A,e[l+12>>2]=i,e[l+16>>2]=a,e[l+20>>2]=i,e[l+24>>2]=a,e[l+28>>2]=t,e[l+32>>2]=A,e[l+36>>2]=t,Y0(r,84828,l),g=s;return}}function u80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+96|0,w=p+56|0,c=p+32|0,a=p,s=+u[i>>3],A=+u[i+16>>3]-s,o=+u[i+24>>3],l=o-+u[i+8>>3],r||H0(111282,84407,53,84860),t||H0(111312,84407,54,84860),n=t+8|0,e[n>>2]|0||H0(111315,84407,55,84860),m0(r,84879)|0,m0(r,e[n>>2]|0)|0,n=r+360|0,o=-o,e[n>>2]|0?(u[a>>3]=l,u[a+8>>3]=A,u[a+16>>3]=s,u[a+24>>3]=o,Y0(r,84899,a),e[c>>2]=e[n>>2],u[c+8>>3]=s,u[c+16>>3]=o,Y0(r,84978,c)):(u[w>>3]=A,u[w+8>>3]=l,u[w+16>>3]=s,u[w+24>>3]=o,Y0(r,85008,w)),m0(r,85087)|0,g=p}function tM(r){r=r|0;var t=0,i=0;for(t=U0(r)|0;t;)f80(t),t=X0(r,t)|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)a80(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function f80(r){r=r|0;var t=0,i=0;$e(r,137447,304,1)|0,Zp(r),Sc(r,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1),r=r+16|0,e[(e[r>>2]|0)+176>>2]=0,t=j0(20)|0,i=e[r>>2]|0,e[i+172>>2]=t,e[i+184>>2]=0,i=j0(20)|0,t=e[r>>2]|0,e[t+180>>2]=i,e[t+200>>2]=0,t=j0(12)|0,i=e[r>>2]|0,e[i+196>>2]=t,e[i+192>>2]=0,i=j0(12)|0,t=e[r>>2]|0,e[t+188>>2]=i,e[t+208>>2]=0,t=j0(12)|0,r=e[r>>2]|0,e[r+204>>2]=t,e[r+216>>2]=1}function a80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;$e(r,137460,176,1)|0,Rf(r)|0,o=pr(r,e[47174]|0,1,0)|0,n=r+16|0,e[(e[n>>2]|0)+156>>2]=o,o=wt(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0,e[47168]|0,195059)|0,l=wt(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0,e[47168]|0,195059)|0,t=e[n>>2]|0,i=t+154|0,$[i>>1]=1,$[t+168>>1]=1,(o|0)==(l|0)&(y[o>>0]|0)!=0&&($[i>>1]=1e3,l=t+156|0,e[l>>2]=(e[l>>2]|0)*100),Pj(r)|0&&(l=e[n>>2]|0,$[l+154>>1]=0,e[l+156>>2]=0),l=(pr(r,e[47187]|0,0,0)|0)&255,y[(e[n>>2]|0)+152>>0]=l,l=(pr(r,e[47175]|0,1,0)|0)&65535,$[(e[n>>2]|0)+170>>1]=l}function iM(r){r=r|0;var t=0,i=0;for(c80(e[(e[r+16>>2]|0)+192>>2]|0),i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)NA(t),t=Qe(r,t)|0;nM(i),i=X0(r,i)|0}I7(r)}function c80(r){r=r|0;for(var t=0,i=0,n=0,o=0;r;){if(n=r+16|0,o=e[(e[n>>2]|0)+164>>2]|0,h80(r),t=e[n>>2]|0,(y[t+156>>0]|0)!=1){r=o;continue}i=e[t+180>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+172>>2]|0,i&&(r0(i),t=e[n>>2]|0),r0(t),r0(r),r=o}}function nM(r){r=r|0;var t=0,i=0,n=0;n=r+16|0,t=e[n>>2]|0,i=e[t+172>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+180>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+188>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+196>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+204>>2]|0,i&&(r0(i),t=e[n>>2]|0),fn(e[t+104>>2]|0),fn(e[(e[n>>2]|0)+108>>2]|0),t=e[(e[n>>2]|0)+8>>2]|0,t|0&&l2[e[(e[t+4>>2]|0)+4>>2]&127](r),An(r,137447)|0}function I7(r){r=r|0;var t=0,i=0,n=0;for(t=yt(r)|0;t;)I7(t),t=Ct(t)|0;if($e(r,137483,0,1)|0){n=r+16|0,t=e[n>>2]|0,i=e[t+184>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+268>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+216>>2]|0,i&&(r0(i),t=e[n>>2]|0);do if(e[t+196>>2]|0){for(i=$[t+236>>1]|0;!((i|0)>($[t+238>>1]|0));)r0(e[(e[t+196>>2]|0)+(i<<6)+12>>2]|0),i=i+1|0,t=e[n>>2]|0;if(i=e[t+196>>2]|0,($[t+236>>1]|0)==-1){r0(i+-64|0);break}else{r0(i);break}}while(0);(a2(r)|0)!=(r|0)&&(fn(e[(e[n>>2]|0)+12>>2]|0),An(r,137483)|0)}}function h80(r){r=r|0;var t=0,i=0,n=0;for(n=r+16|0,i=e[n>>2]|0,t=e[i+176>>2]|0;r=t+-1|0,!((t|0)<=0);)t=e[(e[i+172>>2]|0)+(r<<2)>>2]|0,bo(t),r0(e[t+16>>2]|0),r0(t),t=r,i=e[n>>2]|0;for(t=e[i+184>>2]|0;r=t+-1|0,!((t|0)<=0);)t=e[(e[(e[n>>2]|0)+180>>2]|0)+(r<<2)>>2]|0,bo(t),r0(e[t+16>>2]|0),r0(t),t=r}function w80(r){r=r|0,v2(r)|0&&d80(r),Sf(r)}function d80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=g,g=g+48|0,l=s+32|0,o=s,t=Nd(r,-1,8)|0,i=s7(r,0,o)|0,Ac(r,2,8,o)|0,i=(i|0)==0,n=(t|0)<0,n&i)qd(r);else{i?e[o+16>>2]=3:t=n?8:t,e[o+8>>2]=t,e[o+20>>2]=0,n=Qa0(r,l,0)|0,t=e[l>>2]|0;do if((t|0)==1)qd(r),t=0;else{if(e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]|0){qd(r),t=0;break}for(e[o+12>>2]=1,i=0;!((i|0)>=(t|0));)t=e[n+(i<<2)>>2]|0,p80(t,r),qd(t),i=i+1|0,t=e[l>>2]|0;k80(r),jd(e[l>>2]|0,n,r,o)|0,v80(r),m80(e[l>>2]|0,n,r),t=0}while(0);for(;!((t|0)>=(e[l>>2]|0));)o=n+(t<<2)|0,r0(e[(e[(e[o>>2]|0)+16>>2]|0)+8>>2]|0),I7(e[o>>2]|0),zn(r,e[o>>2]|0)|0,t=t+1|0;r0(n)}g=s}function qd(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(c=g,g=g+48|0,a=c+40|0,i=c,s=pr(r,re(r,0,85102,0)|0,-1,1)|0,rl(r,10),t=gw0(r,i)|0,lM(r,r),tM(r),n=(s|0)==1,o=i+32|0,l=(s|0)==2,s=(s|0)==3,A=i+28|0,i=i+24|0;;){if(mj(r,t),n){t=3;break}if(e[o>>2]|0&&($0(0,85108,a)|0,e[i>>2]=0,t=0),zM(r,(t|0)!=0&1),l){t=7;break}if(KM(r,t),s){t=9;break}if(w=(e[A>>2]|0)+-1|0,e[A>>2]=w,!((w|0)!=0&(e[i>>2]|0)!=0)){t=11;break}}(t|0)==3?x7(r,1):(t|0)==7||(t|0)==9?x7(r,2):(t|0)==11&&($[(e[r+16>>2]|0)+136>>1]&16&&g80(r),Wj(r),C80(r),(jt(he(r,85199)|0)|0)<<24>>24&&Ww0(r)),g=c}function p80(r,t){r=r|0,t=t|0;var i=0,n=0;$e(r,137483,280,1)|0,i=j0(96)|0,r=e[r+16>>2]|0,e[r+8>>2]=i,t=e[t+16>>2]|0,n=e[t+8>>2]|0,u[i>>3]=+u[n>>3],u[i+24>>3]=+u[n+24>>3],e[r+144>>2]=e[t+144>>2],y[r+115>>0]=y[t+115>>0]|0,e[r+116>>2]=e[t+116>>2],e[r+248>>2]=e[t+248>>2],e[r+252>>2]=e[t+252>>2],e[r+244>>2]=e[t+244>>2]}function k80(r){r=r|0;var t=0,i=0,n=0;for(t=j0((v2(r)|0)<<4)|0,i=U0(r)|0;i;)n=e[i+16>>2]|0,e[n+132>>2]=t,u[t>>3]=+u[n+16>>3]*.013888888888888888,u[t+8>>3]=+u[n+24>>3]*.013888888888888888,t=t+16|0,i=X0(r,i)|0}function v80(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=e[(e[(U0(r)|0)+16>>2]|0)+132>>2]|0,t=n,i=U0(r)|0;i;)o=e[i+16>>2]|0,e[o+132>>2]=0,u[o+16>>3]=+u[t>>3]*72,u[o+24>>3]=+u[t+8>>3]*72,t=t+16|0,i=X0(r,i)|0;r0(n)}function m80(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(n=0,o=0;!((n|0)>=(r|0));)A=(e[(e[(e[t+(n<<2)>>2]|0)+16>>2]|0)+180>>2]|0)+o|0,n=n+1|0,o=A;for(A=i+16|0,e[(e[A>>2]|0)+180>>2]=o,l=j0((o<<2)+4|0)|0,e[(e[A>>2]|0)+184>>2]=l,l=0,n=1;!((l|0)>=(r|0));){for(s=(e[t+(l<<2)>>2]|0)+16|0,o=1;i=e[s>>2]|0,!((o|0)>(e[i+180>>2]|0));)i=yD(e[(e[i+184>>2]|0)+(o<<2)>>2]|0)|0,e[(e[(e[A>>2]|0)+184>>2]|0)+(n<<2)>>2]=i,oM(e[(e[(e[s>>2]|0)+184>>2]|0)+(o<<2)>>2]|0,i),o=o+1|0,n=n+1|0;l=l+1|0}}function oM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;$e(t,137483,280,1)|0,o=t+16|0,t=(e[o>>2]|0)+16|0,n=r+16|0,r=(e[n>>2]|0)+16|0,e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2],e[t+16>>2]=e[r+16>>2],e[t+20>>2]=e[r+20>>2],e[t+24>>2]=e[r+24>>2],e[t+28>>2]=e[r+28>>2],r=e[n>>2]|0,t=e[o>>2]|0,y[t+275>>0]=y[r+275>>0]|0,t=t+48|0,r=r+48|0,i=t+64|0;do e[t>>2]=e[r>>2],t=t+4|0,r=r+4|0;while((t|0)<(i|0));for(r=e[(e[n>>2]|0)+180>>2]|0,e[(e[o>>2]|0)+180>>2]=r,t=j0((r<<2)+4|0)|0,e[(e[o>>2]|0)+184>>2]=t,t=1;i=e[n>>2]|0,!((t|0)>(r|0));)i=yD(e[(e[i+184>>2]|0)+(t<<2)>>2]|0)|0,e[(e[(e[o>>2]|0)+184>>2]|0)+(t<<2)>>2]=i,oM(e[(e[(e[n>>2]|0)+184>>2]|0)+(t<<2)>>2]|0,i),t=t+1|0;n=i+12|0,e[(e[o>>2]|0)+12>>2]=e[n>>2],e[n>>2]=0}function lM(r,t){for(r=r|0,t=t|0,(a2(r)|0)!=(r|0)&&$e(r,137483,280,1)|0,(r|0)==(t|0)&&(e[(e[(a2(r)|0)+16>>2]|0)+188>>2]=r),r=yt(r)|0;r;)lM(r,t),r=Ct(r)|0}function x7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+1040|0,c=w+8|0,a=w,n=w+16|0,o=re(r,1,87171,195059)|0,l=re(r,1,85242,195059)|0,s=(t|0)>0,i=(t|0)==1,t=U0(r)|0;t;)s&&(A=t+16|0,e[a>>2]=e[(e[A>>2]|0)+232>>2],Ke(n,137395,a)|0,Er(t,o,n)|0,!i)&&(e[c>>2]=e[(e[A>>2]|0)+236>>2],Ke(n,137395,c)|0,Er(t,l,n)|0),t=X0(r,t)|0;g=w}function g80(r){r=r|0;var t=0,i=0,n=0;if(i=ji(r,86675,0)|0,i|0){for(t=U0(i)|0;t;)n=X0(i,t)|0,Kd(r,t),y80(r,t),nM(t),Ah(r,t)|0,t=n;RW(r,i)|0}}function y80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(a=e[(e[t+16>>2]|0)+232>>2]|0,A=r+16|0,r=e[(e[A>>2]|0)+196>>2]|0,i=e[r+(a<<6)>>2]|0,s=r+(a<<6)+4|0,l=0,n=0;;){if((n|0)>=(i|0)){o=7;break}if(o=e[(e[s>>2]|0)+(n<<2)>>2]|0,n=n+1|0,(o|0)==(t|0)){o=4;break}else l=o}if((o|0)==4){for(;!((n|0)>=(i|0));)o=e[r+(a<<6)+4>>2]|0,e[o+(n+-1<<2)>>2]=e[o+(n<<2)>>2],o=e[(e[A>>2]|0)+196>>2]|0,n=n+1|0,i=e[o+(a<<6)>>2]|0,r=o,o=4;e[r+(a<<6)>>2]=i+-1}else(o|0)==7&&(l|0)!=(t|0)&&H0(85208,85215,248,85225)}function fr(r){return r=r|0,e[(e[(a2(r)|0)+16>>2]|0)+188>>2]|0}function dc(r,t){r=r|0,t=t|0;var i=0;return i=y[r+28>>0]|0,y[t+28>>0]|0?i<<24>>24?(i=~~(+u[r>>3]-+u[t>>3]),i||(i=~~(+u[r+8>>3]-+u[t+8>>3]))):i=-1:i=i<<24>>24!=0&1,i|0}function C80(r){r=r|0,sM(r,1)}function sM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0,g2=0,i2=0;g2=g,g=g+656|0,B0=g2+592|0,k0=g2+552|0,i=g2+544|0,F0=g2+96|0,b0=g2,pe=g2+632|0,O0=r+16|0,me=$[(e[O0>>2]|0)+136>>1]&14,D0=me&65535,J0=F0+16|0,e[J0>>2]=g2+368,V0=b0+16|0,e[V0>>2]=g2+192;do if(me<<16>>16){Z0=me<<16>>16==4;do if(Z0)AM(r),y[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1&&$0(0,85248,i)|0,W=9;else if(me<<16>>16==8)if(AM(r),y[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1){E80(r),Ry(r,1),a=0,A=0,s=0;break}else{Ry(r,0),a=0,A=0,s=0;break}else W=9;while(0);if((W|0)==9){if(U7(r),Yp0()|0)break;ze=j0(96)|0,Y=e[(e[O0>>2]|0)+248>>2]|0,e[pe+8>>2]=(Y|0)/4|0,e[pe+12>>2]=Y,s=j0(512)|0,U=pe+4|0,e[U>>2]=0,e[pe>>2]=0,l=e[O0>>2]|0,T=$[l+236>>1]|0,D=0,H=0,f0=s,P=s,A=s,a=s,c=s,F=0,q=0;e:for(;!((T|0)>($[l+238>>1]|0));){for(w=e[l+196>>2]|0,o=e[w+(T<<6)>>2]|0,J=o+D|0,n=e[w+(T<<6)+4>>2]|0,i=e[n>>2]|0,i?(i2=+(F|0),i=e[i+16>>2]|0,L=+u[i+16>>3]-+u[i+88>>3],i=~~(L>i2?i2:L)):i=F,o|0&&(t0=e[n+(o+-1<<2)>>2]|0,(t0|0)!=0)?(L=+(q|0),n=e[t0+16>>2]|0,i2=+u[n+96>>3]+ +u[n+16>>3],n=~~(i2=(o|0));){if(s=e[(e[i+(T<<6)+4>>2]|0)+(_<<2)>>2]|0,z=s+16|0,i=e[z>>2]|0,o=e[i+112>>2]|0,o){if(o=o+16|0,l=e[(e[o>>2]|0)+96>>2]|0,!l){W=21;break e}m=l+56|0,i=i+16|0,e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],y[(e[(e[o>>2]|0)+96>>2]|0)+81>>0]=1,i=e[z>>2]|0}y[i+156>>0]|0&&!((nr[e[4325]&63](s)|0)<<24>>24)?(p=E,i=v,l=B,s=x,o=c):(m=0,p=E,l=B,s=x,W=25);r:do if((W|0)==25){for(;W=0,w=e[z>>2]|0,o=e[(e[w+180>>2]|0)+(m<<2)>>2]|0,!!o;){switch(y[(e[o+16>>2]|0)+112>>0]|0){case 6:case 4:{i=p,o=v;break}default:S7(o,1,16,64),i=p+1|0,e[v+(p<<2)>>2]=o,i&127?o=v:(n=Oe(n,(p<<2)+516|0)|0,o=n,l=n,s=n,a=n,c=n)}m=m+1|0,p=i,v=o,W=25}i=e[w+188>>2]|0;t:do if(!i)o=c;else for(m=0,o=c;;){if(i=e[i+(m<<2)>>2]|0,!i)break t;S7(i,2,0,128),c=p+1|0,e[v+(p<<2)>>2]=i,c&127?i=v:(n=Oe(o,(p<<2)+516|0)|0,i=n,l=n,s=n,a=n,o=n),w=e[z>>2]|0,m=m+1|0,p=c,v=i,i=e[w+188>>2]|0}while(0);if(i=e[w+204>>2]|0,!i)i=v;else for(y[w+156>>0]|0?(m=0,w=v):(x=w+96|0,i2=+u[x>>3],m=w+240|0,u[x>>3]=+u[m>>3],u[m>>3]=i2,m=0,w=v);;){if(i=e[i+(m<<2)>>2]|0,!i){i=w;break r}S7(i,0,0,128),c=p+1|0,e[w+(p<<2)>>2]=i,c&127?i=w:(n=Oe(a,(p<<2)+516|0)|0,i=n,l=n,s=n,a=n,o=n),m=m+1|0,p=c,w=i,i=e[(e[z>>2]|0)+204>>2]|0}}while(0);B=e[O0>>2]|0,z=e[B+196>>2]|0,_=_+1|0,E=p,v=i,p=B,B=l,x=s,c=o,o=e[z+(T<<6)>>2]|0,i=z}T=T+1|0,D=J,H=E,f0=v,P=B,l=p,A=x,s=n,F=N,q=G}(W|0)==21&&H0(85316,85329,313,85342),e[pe>>2]=F,e[U>>2]=q,ei(P,H,4,58),e[ze+84>>2]=j0((D<<5)+11520|0)|0,e[pe+16>>2]=j0(T<<5)|0;e:do if(me<<16>>16==2)for(i=(e[O0>>2]|0)+192|0;;){if(n=e[i>>2]|0,!n)break e;o=n+16|0,i=e[o>>2]|0,(y[i+156>>0]|0)==1&&e[i+104>>2]|0&&(_7(n),i=e[o>>2]|0),i=i+164|0}while(0);G=b0+48|0,W=b0+-48|0,N=F0+48|0,T=F0+-48|0,L=+(Y|0),_=0;e:for(;!((_|0)>=(H|0));){if(x=f0+(_<<2)|0,v=e[x>>2]|0,m=pc(v)|0,E=v+16|0,n=e[E>>2]|0,y[n+44>>0]|0?i=v:(n=y[n+84>>0]|0?v:m,i=n,n=e[n+16>>2]|0),o=i+16|0,e[n+164>>2]&32){n=e[J0>>2]|0,u2(n|0,e[o>>2]|0,176)|0,a=F0,c=i,w=a+48|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));e[J0>>2]=n,c=e[i>>2]&3,a=e[F0>>2]&3,e[((a|0)==3?F0:N)+40>>2]=e[((c|0)==2?i:i+-48|0)+40>>2],e[((a|0)==2?F0:T)+40>>2]=e[((c|0)==3?i:i+48|0)+40>>2],a=n+16|0,c=(e[o>>2]|0)+56|0,w=a+40|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));a=n+56|0,c=(e[o>>2]|0)+16|0,w=a+40|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));y[n+112>>0]=1,e[n+116>>2]=i,i=F0}for(p=i+16|0,z=1,i=_;B=i+1|0,!((B|0)>=(H|0)||(l=f0+(B<<2)|0,i=e[l>>2]|0,(m|0)!=(pc(i)|0)));){if(!(y[(e[E>>2]|0)+113>>0]|0)){if(s=i+16|0,n=e[s>>2]|0,y[n+44>>0]|0||(n=y[n+84>>0]|0?i:m,i=n,n=e[n+16>>2]|0),o=i+16|0,e[n+164>>2]&32){n=e[V0>>2]|0,u2(n|0,e[o>>2]|0,176)|0,a=b0,c=i,w=a+48|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));e[V0>>2]=n,c=e[i>>2]&3,a=e[b0>>2]&3,e[((a|0)==3?b0:G)+40>>2]=e[((c|0)==2?i:i+-48|0)+40>>2],e[((a|0)==2?b0:W)+40>>2]=e[((c|0)==3?i:i+48|0)+40>>2],a=n+16|0,c=(e[o>>2]|0)+56|0,w=a+40|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));a=n+56|0,c=(e[o>>2]|0)+16|0,w=a+40|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));y[n+112>>0]=1,e[n+116>>2]=i}o=e[p>>2]|0,i=n+16|0,a=k0,c=o+16|0,w=a+40|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));a=B0,c=i,w=a+40|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));if(dc(k0,B0)|0)break;i=n+56|0,a=k0,c=o+56|0,w=a+40|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));a=B0,c=i,w=a+40|0;do e[a>>2]=e[c>>2],a=a+4|0,c=c+4|0;while((a|0)<(w|0));if(dc(k0,B0)|0||(Y=e[E>>2]|0,(e[Y+164>>2]&15|0)==2&&(e[Y+96>>2]|0)!=(e[(e[s>>2]|0)+96>>2]|0))||e[(e[(e[l>>2]|0)+16>>2]|0)+164>>2]&64|0)break}z=z+1|0,i=B}if(Z0){for((z|0)==1?i=B0:i=j0(z<<2)|0,e[i>>2]=pc(e[x>>2]|0)|0,n=1;!((n|0)>=(z|0));)e[i+(n<<2)>>2]=e[x+(n<<2)>>2],n=n+1|0;iQ(r,i,z,D0,17296),(z|0)>1&&r0(i),_=B;continue}if(i=e[v>>2]&3,Y=e[((i|0)==3?v:v+48|0)+40>>2]|0,i=e[((i|0)==2?v:v+-48|0)+40>>2]|0,n=e[Y+16>>2]|0,o=e[n+232>>2]|0,(Y|0)!=(i|0))if((o|0)==(e[(e[i+16>>2]|0)+232>>2]|0)){I80(r,pe,ze,f0,_,z,D0),_=B;continue}else{x80(r,pe,ze,f0,_,z,D0),_=B;continue}i=e[O0>>2]|0;do if((o|0)==($[i+238>>1]|0))if((o|0)>0){i=~~(+u[(e[(e[e[(e[i+196>>2]|0)+(o+-1<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-+u[n+24>>3]);break}else{i=~~+u[n+80>>3];break}else if((o|0)==($[i+236>>1]|0)){i=~~(+u[n+24>>3]-+u[(e[(e[e[(e[i+196>>2]|0)+(o+1<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]);break}else{i=e[i+196>>2]|0,i2=+u[n+24>>3],Y=~~(+u[(e[(e[e[i+(o+-1<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-i2),i=~~(i2-+u[(e[(e[e[i+(o+1<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]),i=(Y|0)<(i|0)?Y:i;break}while(0);for(EC(ze,f0,_,z,L,+((i|0)/2|0|0),17296),i=0;;){if((i|0)>=(z|0)){_=B;continue e}n=e[(e[(e[f0+(i+_<<2)>>2]|0)+16>>2]|0)+96>>2]|0,n|0&&el(r,n),i=i+1|0}}for(i=(e[O0>>2]|0)+192|0;n=e[i>>2]|0,!!n;)o=n+16|0,i=e[o>>2]|0,(y[i+156>>0]|0)==1&&e[i+104>>2]|0&&(_7(n),el(r,e[(e[o>>2]|0)+104>>2]|0),i=e[o>>2]|0),i=i+164|0;t?(S80(r),a=ze,s=ze):(a=ze,s=ze)}e:do if((e[47197]|0)!=0|(e[47198]|0)!=0&&(e[47203]|0)!=0|(e[47202]|0)!=0)for(l=U0(r)|0;;){if(!l)break e;r:do if(e[47197]|0)for(i=Xo(r,l)|0;;){if(!i)break r;n=i+-48|0,o=(e[i>>2]&3|0)==2?i:n,e[(e[o+16>>2]|0)+100>>2]|0&&(Sp(o,1)|0,el(r,e[(e[((e[i>>2]&3|0)==2?i:n)+16>>2]|0)+100>>2]|0)),i=ms(r,i)|0}while(0);r:do if(e[47198]|0)for(i=Me(r,l)|0;;){if(!i)break r;n=i+16|0,e[(e[n>>2]|0)+104>>2]|0&&Sp(i,0)|0&&el(r,e[(e[n>>2]|0)+104>>2]|0),i=Qe(r,i)|0}while(0);l=X0(r,l)|0}while(0);switch(me&15){case 4:case 8:break;default:r0(A),r0(e[a+84>>2]|0),r0(s),r0(e[pe+16>>2]|0),Op0()}e[47138]=1,e[47139]=1}while(0);g=g2}function AM(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=U0(r)|0;t;)i=e[t+16>>2]|0,e[i+204>>2]|0&&(o=i+96|0,n=+u[o>>3],i=i+240|0,u[o>>3]=+u[i>>3],u[i>>3]=n),t=X0(r,t)|0}function E80(r){r=r|0;var t=0,i=0,n=0,o=0;t=(e[r+16>>2]|0)+192|0;e:for(;;){if(n=e[t>>2]|0,!n){t=12;break}o=n+16|0,t=e[o>>2]|0;do if((y[t+156>>0]|0)==1){if(i=e[t+112>>2]|0,i){if(i=e[(e[i+16>>2]|0)+96>>2]|0,!i){t=6;break e}n=i+56|0,t=t+16|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],y[i+81>>0]=1,t=i}else{if(i=e[t+104>>2]|0,!i)break;_7(n),t=i}el(r,t),t=e[o>>2]|0}while(0);t=t+164|0}if((t|0)==6)H0(85516,85329,234,85535);else if((t|0)==12)return}function S7(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;do if(!t){if(o=e[r>>2]&3,t=e[((o|0)==3?r:r+48|0)+40>>2]|0,o=e[((o|0)==2?r:r+-48|0)+40>>2]|0,(t|0)!=(o|0)){t=(e[(e[t+16>>2]|0)+232>>2]|0)==(e[(e[o+16>>2]|0)+232>>2]|0)?2:1;break}t=e[r+16>>2]|0,y[t+44>>0]|0?t=4:t=y[t+84>>0]|0?4:8}while(0);e:do if(!i)switch(t|0){case 1:{i=e[r>>2]&3,i=(e[(e[(e[((i|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)<(e[(e[(e[((i|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)?16:32;break e}case 2:{i=e[r>>2]&3,i=(e[(e[(e[((i|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)<(e[(e[(e[((i|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)?16:32;break e}default:{i=16;break e}}while(0);e[(e[r+16>>2]|0)+164>>2]=t|n|i}function B80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;P=g,g=g+624|0,W=P+584|0,G=P+544|0,E=P+368|0,i=P+192|0,B=P+96|0,z=P,x=B+16|0,e[x>>2]=E,_=z+16|0,e[_>>2]=i,D=e[r>>2]|0,T=e[t>>2]|0,L=D+16|0,v=e[L>>2]|0,t=e[v+164>>2]|0,n=t&15,N=T+16|0,r=e[N>>2]|0,o=e[r+164>>2]&15;do if((o|0)==(n|0)){if(p=pc(D)|0,m=pc(T)|0,c=e[p>>2]|0,o=c&3,n=e[(e[((o|0)==3?p:p+48|0)+40>>2]|0)+16>>2]|0,o=e[(e[((o|0)==2?p:p+-48|0)+40>>2]|0)+16>>2]|0,l=(e[n+232>>2]|0)-(e[o+232>>2]|0)|0,w=e[m>>2]|0,a=w&3,A=e[(e[((a|0)==3?m:m+48|0)+40>>2]|0)+16>>2]|0,a=e[(e[((a|0)==2?m:m+-48|0)+40>>2]|0)+16>>2]|0,s=(e[A+232>>2]|0)-(e[a+232>>2]|0)|0,l=(l|0)>-1?l:0-l|0,s=(s|0)>-1?s:0-s|0,(l|0)!=(s|0)){r=l-s|0;break}if(o=~~(+u[n+16>>3]-+u[o+16>>3]),o=(o|0)>-1?o:0-o|0,n=~~(+u[A+16>>3]-+u[a+16>>3]),n=(n|0)>-1?n:0-n|0,(o|0)!=(n|0)){r=o-n|0;break}if(o=c>>>4,n=w>>>4,(o|0)!=(n|0)){r=o-n|0;break}if(y[v+44>>0]|0?o=D:(t=y[v+84>>0]|0?D:p,o=t,t=e[(e[t+16>>2]|0)+164>>2]|0),n=o+16|0,t&32){u2(E|0,e[n>>2]|0,176)|0,l=B,s=o,A=l+48|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));e[x>>2]=E,s=e[o>>2]&3,l=e[B>>2]&3,e[((l|0)==3?B:B+48|0)+40>>2]=e[((s|0)==2?o:o+-48|0)+40>>2],e[((l|0)==2?B:B+-48|0)+40>>2]=e[((s|0)==3?o:o+48|0)+40>>2],l=E+16|0,s=(e[n>>2]|0)+56|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=E+56|0,s=(e[n>>2]|0)+16|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));y[E+112>>0]=1,e[E+116>>2]=o,o=B,r=e[N>>2]|0}if(y[r+44>>0]|0?n=T:(r=y[r+84>>0]|0?T:m,n=r,r=e[r+16>>2]|0),t=n+16|0,!(e[r+164>>2]&32))i=r;else{u2(i|0,e[t>>2]|0,176)|0,l=z,s=n,A=l+48|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));e[_>>2]=i,s=e[n>>2]&3,l=e[z>>2]&3,e[((l|0)==3?z:z+48|0)+40>>2]=e[((s|0)==2?n:n+-48|0)+40>>2],e[((l|0)==2?z:z+-48|0)+40>>2]=e[((s|0)==3?n:n+48|0)+40>>2],l=i+16|0,s=(e[t>>2]|0)+56|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=i+56|0,s=(e[t>>2]|0)+16|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));y[i+112>>0]=1,e[i+116>>2]=n}t=e[o+16>>2]|0,r=i+16|0,l=G,s=t+16|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=W,s=r,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));if(r=dc(G,W)|0,!r){r=i+56|0,l=G,s=t+56|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=W,s=r,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));if(r=dc(G,W)|0,!r)if(t=e[(e[L>>2]|0)+164>>2]&192,r=e[(e[N>>2]|0)+164>>2]&192,(t|0)==(r|0)){r=((e[D>>2]|0)>>>4)-((e[T>>2]|0)>>>4)|0;break}else{r=t-r|0;break}}}else r=o-n|0;while(0);return g=P,r|0}function _7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(n=r+16|0,t=e[n>>2]|0,e[t+176>>2]|0){for(t=e[t+180>>2]|0;t=(e[t>>2]|0)+16|0,i=e[t>>2]|0,y[i+112>>0]|0;)t=i+116|0;i=e[i+96>>2]|0,o=+u[i+24>>3],l=+u[i+32>>3],i=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1|0)!=0,r=e[n>>2]|0,n=e[(e[t>>2]|0)+96>>2]|0,u[n+56>>3]=(i?l:o)*.5+ +u[r+16>>3],u[n+64>>3]=+u[r+24>>3],y[n+81>>0]=1}}function pc(r){r=r|0;for(var t=0,i=0;t=e[r+16>>2]|0,i=e[t+172>>2]|0,i;)r=i;for(;t=e[t+116>>2]|0,!!t;)r=t,t=e[t+16>>2]|0;return r|0}function I80(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0;if(T=g,g=g+1712|0,L=T+1664|0,E=T+1488|0,B=T+1392|0,N=T+1696|0,G=T+696|0,W=T,p=B+16|0,e[p>>2]=E,v=e[n+(o<<2)>>2]|0,m=v+16|0,A=e[m>>2]|0,x=y[A+113>>0]|0,e[A+164>>2]&32){u2(E|0,A|0,176)|0,A=B,c=v,w=A+48|0;do e[A>>2]=e[c>>2],A=A+4|0,c=c+4|0;while((A|0)<(w|0));e[p>>2]=E,A=e[B>>2]&3,e[((A|0)==3?B:B+48|0)+40>>2]=e[((e[v>>2]&3|0)==2?v:v+-48|0)+40>>2],e[((A|0)==2?B:B+-48|0)+40>>2]=e[((e[v>>2]&3|0)==3?v:v+48|0)+40>>2],A=E+16|0,c=(e[m>>2]|0)+56|0,w=A+40|0;do e[A>>2]=e[c>>2],A=A+4|0,c=c+4|0;while((A|0)<(w|0));A=E+56|0,c=(e[m>>2]|0)+16|0,w=A+40|0;do e[A>>2]=e[c>>2],A=A+4|0,c=c+4|0;while((A|0)<(w|0));y[E+112>>0]=1,e[E+116>>2]=v,v=B}for(A=1;;){if((A|0)>=(l|0)){_=6;break}if(!(y[(e[(e[n+(A+o<<2)>>2]|0)+16>>2]|0)+113>>0]|0))A=A+1|0;else{_=7;break}}e:do if((_|0)==6)if(x<<24>>24)_=7;else{if(A=e[v+16>>2]|0,e[A+96>>2]|0){j80(r,t,i,v,s);break}if((s|0)==2){N=e[v>>2]&3,mM(e[((N|0)==3?v:v+48|0)+40>>2]|0,e[((N|0)==2?v:v+-48|0)+40>>2]|0,n,o,l,2);break}if(B=y[A+49>>0]|0,x=y[A+89>>0]|0,!(B<<24>>24==1&x<<24>>24!=4)&&!(B<<24>>24!=4&x<<24>>24==1))for(p=e[v>>2]&3,w=e[((p|0)==3?v:v+48|0)+40>>2]|0,p=e[((p|0)==2?v:v+-48|0)+40>>2]|0,A=e[w+16>>2]|0,c=e[A+232>>2]|0,(c|0)>0?(x=e[(e[r+16>>2]|0)+196>>2]|0,B=c+~(y[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1)|0,a=+u[(e[(e[e[x+(B<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-+u[x+(B<<6)+16>>3]-+u[A+24>>3]-+u[x+(c<<6)+24>>3]):a=+(e[(e[r+16>>2]|0)+252>>2]|0),D=+(l+1|0),z=+(e[t+12>>2]|0)/D,a=a/D,$d(r,t,i,w,v,G,1),$d(r,t,i,p,v,W,0),E=G+52|0,B=W+52|0,p=(s|0)==10,v=i+80|0,A=0;;){if((A|0)>=(l|0))break e;for(m=e[n+(A+o<<2)>>2]|0,w=e[E>>2]|0,c=w+-1|0,F=+u[G+56+(c<<5)>>3],J=+u[G+56+(c<<5)+16>>3],U=+u[G+56+(c<<5)+24>>3],u[19215]=F,u[19216]=U,A=A+1|0,D=+(A|0),P=z*D,u[19217]=J+P,D=U+a*D,u[19218]=D,u[19219]=F,u[19220]=D,c=(e[B>>2]|0)+-1|0,F=+u[W+56+(c<<5)+16>>3],u[19221]=F,u[19222]=D+a,U=+u[W+56+(c<<5)>>3],J=+u[W+56+(c<<5)+24>>3],u[19225]=F,u[19224]=J,u[19223]=U-P,u[19226]=D,c=0;;){if((c|0)>=(w|0)){c=0;break}w=G+56+(c<<5)|0,e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],e[L+16>>2]=e[w+16>>2],e[L+20>>2]=e[w+20>>2],e[L+24>>2]=e[w+24>>2],e[L+28>>2]=e[w+28>>2],mo(i,L),c=c+1|0,w=e[E>>2]|0}for(;(c|0)!=3;)s=153720+(c<<5)|0,e[L>>2]=e[s>>2],e[L+4>>2]=e[s+4>>2],e[L+8>>2]=e[s+8>>2],e[L+12>>2]=e[s+12>>2],e[L+16>>2]=e[s+16>>2],e[L+20>>2]=e[s+20>>2],e[L+24>>2]=e[s+24>>2],e[L+28>>2]=e[s+28>>2],mo(i,L),c=c+1|0;for(w=e[B>>2]|0;c=w+-1|0,!((w|0)<=0);)w=W+56+(c<<5)|0,e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],e[L+16>>2]=e[w+16>>2],e[L+20>>2]=e[w+20>>2],e[L+24>>2]=e[w+24>>2],e[L+28>>2]=e[w+28>>2],mo(i,L),w=c;if(p?c=Mh(i,N)|0:c=jh(i,N)|0,w=e[N>>2]|0,!w)break e;yi(m,e[((e[m>>2]&3|0)==2?m:m+-48|0)+40>>2]|0,c,w,17296),e[v>>2]=0}N80(r,t,i,n,o,l,v,(s|0)==10&1)}while(0);(_|0)==7&&M80(r,n,o,l,v,s),g=T}function x80(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0,dr=0,D2=0,ue=0;if(D2=g,g=g+2576|0,Z0=D2+2528|0,i2=D2+2568|0,A=D2+2352|0,c=D2+2176|0,B=D2+1904|0,pe=D2+1808|0,T2=D2+1712|0,F0=D2+1016|0,b0=D2+320|0,O0=D2+256|0,me=D2+2564|0,g2=D2+2560|0,W=D2+288|0,N=D2+224|0,f0=D2+192|0,k0=D2+160|0,B0=D2+128|0,D0=D2+96|0,J0=D2+64|0,V0=D2+32|0,ze=D2,E=B+16|0,e[E>>2]=A,w=pe+16|0,e[w>>2]=c,dr=T2+16|0,e[dr>>2]=D2+2e3,e[46734]|0||(e[46734]=_0(32e3)|0,e[46735]=_0(32e3)|0,e[46736]=2e3,e[46737]=2e3),x=e[n+(o<<2)>>2]|0,H=e[x>>2]&3,p=x+48|0,v=x+-48|0,H=(e[(e[(e[((H|0)==3?x:p)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((H|0)==2?x:v)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0,m=x+16|0,(((H|0)>-1?H:0-H|0)|0)<=1)if(A=e[m>>2]|0,!(e[A+164>>2]&32))H=x,c=0;else{c=e[E>>2]|0,u2(c|0,A|0,176)|0,_=B,L=x,G=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));e[E>>2]=c,_=e[B>>2]&3,e[((_|0)==3?B:B+48|0)+40>>2]=e[((e[x>>2]&3|0)==2?x:v)+40>>2],e[((_|0)==2?B:B+-48|0)+40>>2]=e[((e[x>>2]&3|0)==3?x:p)+40>>2],_=c+16|0,L=(e[m>>2]|0)+56|0,G=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));A=e[E>>2]|0,_=A+56|0,L=(e[m>>2]|0)+16|0,G=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));y[A+112>>0]=1,c=0,Y=12}else{u2(A|0,e[m>>2]|0,176)|0,_=B,L=x,G=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));_=B+48|0,L=p,G=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));if(e[E>>2]=A,A=e[m>>2]|0,e[A+164>>2]&32){c=e[w>>2]|0,u2(c|0,A|0,176)|0,_=pe,L=x,G=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));e[w>>2]=c,_=e[pe>>2]&3,e[((_|0)==3?pe:pe+48|0)+40>>2]=e[((e[x>>2]&3|0)==2?x:v)+40>>2],e[((_|0)==2?pe:pe+-48|0)+40>>2]=e[((e[x>>2]&3|0)==3?x:p)+40>>2],_=c+16|0,L=(e[m>>2]|0)+56|0,G=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));A=e[w>>2]|0,_=A+56|0,L=(e[m>>2]|0)+16|0,G=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));y[A+112>>0]=1,e[A+116>>2]=x,w=e[B>>2]|0,e[((w&3|0)==3?B:B+48|0)+40>>2]=e[((e[x>>2]&3|0)==2?x:v)+40>>2],_=(e[E>>2]|0)+16|0,L=(e[m>>2]|0)+56|0,G=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0))}else{u2(c|0,A|0,176)|0,_=pe,L=x,G=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));e[w>>2]=c,w=e[B>>2]|0,e[((w&3|0)==3?B:B+48|0)+40>>2]=e[((e[x>>2]&3|0)==3?x:p)+40>>2],_=pe+48|0,L=p,G=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0))}for(A=pc(x)|0;c=e[(e[A+16>>2]|0)+172>>2]|0,c;)A=c;e[((w&3|0)==2?B:B+-48|0)+40>>2]=e[((e[A>>2]&3|0)==2?A:A+-48|0)+40>>2],A=e[E>>2]|0,y[A+84>>0]=0,y[A+112>>0]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>2]=e[N+12>>2],e[O0+16>>2]=e[N+16>>2],e[O0+20>>2]=e[N+20>>2],e[O0+24>>2]=e[N+24>>2],e[O0+28>>2]=e[N+28>>2],N=O0+16|0,+u[O0>>3]<+u[N>>3]&&+u[U>>3]<+u[P>>3]&&(t0=e[T>>2]|0,e[T>>2]=t0+1,t0=F0+56+(t0<<5)|0,e[t0>>2]=e[O0>>2],e[t0+4>>2]=e[O0+4>>2],e[t0+8>>2]=e[O0+8>>2],e[t0+12>>2]=e[O0+12>>2],e[t0+16>>2]=e[O0+16>>2],e[t0+20>>2]=e[O0+20>>2],e[t0+24>>2]=e[O0+24>>2],e[t0+28>>2]=e[O0+28>>2]),_=r+60|0,D=b0+52|0,L=i+56|0,G=i+69|0,s=i+16|0,W=i+29|0,t0=H,v=0,m=-1;r:for(;;){for(E=A,B=0,A=0,x=t0;;){if(p=w,z=w,(y[(e[p+16>>2]|0)+156>>0]|0)!=1||(nr[e[4325]&63](p)|0)<<24>>24)break r;if(w=B|1,ue=153720+(B<<5)|0,uM(f0,t,r,e[(e[E+16>>2]|0)+232>>2]|0),e[ue>>2]=e[f0>>2],e[ue+4>>2]=e[f0+4>>2],e[ue+8>>2]=e[f0+8>>2],e[ue+12>>2]=e[f0+12>>2],e[ue+16>>2]=e[f0+16>>2],e[ue+20>>2]=e[f0+20>>2],e[ue+24>>2]=e[f0+24>>2],e[ue+28>>2]=e[f0+28>>2],A||(v=R80(p)|0,A=(v|0)<((y[(e[(e[_>>2]|0)+16>>2]|0)+113>>0]<<1&2)+3&255|0),v=A?v:v+-2|0,m=A?m:1,A=(A^1)&1),!((A|0)==0|(m|0)>0))break;ue=153720+(w<<5)|0,mf(k0,r,t,p,x,e[e[(e[p+16>>2]|0)+180>>2]>>2]|0),e[ue>>2]=e[k0>>2],e[ue+4>>2]=e[k0+4>>2],e[ue+8>>2]=e[k0+8>>2],e[ue+12>>2]=e[k0+12>>2],e[ue+16>>2]=e[k0+16>>2],e[ue+20>>2]=e[k0+20>>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2]|0)+196>>2]|0)+(e[t0+232>>2]<<6)+16>>3],e[Z0>>2]=e[ue>>2],e[Z0+4>>2]=e[ue+4>>2],e[Z0+8>>2]=e[ue+8>>2],e[Z0+12>>2]=e[ue+12>>2],e[Z0+16>>2]=e[ue+16>>2],e[Z0+20>>2]=e[ue+20>>2],e[Z0+24>>2]=e[ue+24>>2],e[Z0+28>>2]=e[ue+28>>2],kc(O0,Z0,1,a),+u[O0>>3]<+u[N>>3]&&+u[U>>3]<+u[P>>3]&&(ue=e[T>>2]|0,e[T>>2]=ue+1,ue=F0+56+(ue<<5)|0,e[ue>>2]=e[O0>>2],e[ue+4>>2]=e[O0+4>>2],e[ue+8>>2]=e[O0+8>>2],e[ue+12>>2]=e[O0+12>>2],e[ue+16>>2]=e[O0+16>>2],e[ue+20>>2]=e[O0+20>>2],e[ue+24>>2]=e[O0+24>>2],e[ue+28>>2]=e[O0+28>>2]),u[s>>3]=-1.5707963267948966,y[W>>0]=1,t0=w,w=p}if(A=B|1,m=153720+(B<<5)|0,uM(J0,t,r,e[(e[E+16>>2]|0)+232>>2]|0),e[m>>2]=e[J0>>2],e[m+4>>2]=e[J0+4>>2],e[m+8>>2]=e[J0+8>>2],e[m+12>>2]=e[J0+12>>2],e[m+16>>2]=e[J0+16>>2],e[m+20>>2]=e[J0+20>>2],e[m+24>>2]=e[J0+24>>2],e[m+28>>2]=e[J0+28>>2],mf(V0,r,t,p,x,0),e[b0>>2]=e[V0>>2],e[b0+4>>2]=e[V0+4>>2],e[b0+8>>2]=e[V0+8>>2],e[b0+12>>2]=e[V0+12>>2],e[b0+16>>2]=e[V0+16>>2],e[b0+20>>2]=e[V0+20>>2],e[b0+24>>2]=e[V0+24>>2],e[b0+28>>2]=e[V0+28>>2],e[O0>>2]=e[V0>>2],e[O0+4>>2]=e[V0+4>>2],e[O0+8>>2]=e[V0+8>>2],e[O0+12>>2]=e[V0+12>>2],e[O0+16>>2]=e[V0+16>>2],e[O0+20>>2]=e[V0+20>>2],e[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ue=v+32|0,A=v+(A+-1<<4)|0,e[ue>>2]=e[A>>2],e[ue+4>>2]=e[A+4>>2],e[ue+8>>2]=e[A+8>>2],e[ue+12>>2]=e[A+12>>2],Yl(v+48|0,A|0,16)|0,e[me>>2]=4,A=4;else if(!A)break;for(w=e[g2>>2]|0,c=w+A|0,(c|0)>(e[46736]|0)?(e[46736]=c<<1,p=Oe(e[46734]|0,c<<5)|0,e[46734]=p,A=e[me>>2]|0):p=e[46734]|0,c=0;!((c|0)>=(A|0));)ue=p+(w<<4)|0,me=v+(c<<4)|0,e[ue>>2]=e[me>>2],e[ue+4>>2]=e[me+4>>2],e[ue+8>>2]=e[me+8>>2],e[ue+12>>2]=e[me+12>>2],c=c+1|0,w=w+1|0;e[g2>>2]=w,aM(t0,i),m?A=(e[pe>>2]&3|0)==2?pe:pe+-48|0:A=(e[x>>2]&3|0)==2?x:E,e[i2>>2]=e[A+40>>2],z=w,Y=63}while(0);e:do if((Y|0)==63){if((l|0)==1){yi(H,e[i2>>2]|0,e[46734]|0,z,17296);break}for(B=t+12|0,x=z+-1|0,a=+((N0(e[B>>2]|0,l+-1|0)|0)/2|0|0),c=e[46734]|0,A=1;!((A|0)>=(x|0));)ue=c+(A<<4)|0,u[ue>>3]=+u[ue>>3]-a,A=A+1|0;for(A=e[46736]|0,(A|0)>(e[46737]|0)?(e[46737]=A,w=Oe(e[46735]|0,A<<4)|0,e[46735]=w,c=e[46734]|0):w=e[46735]|0,A=0;!((A|0)>=(z|0));)ue=w+(A<<4)|0,t=c+(A<<4)|0,e[ue>>2]=e[t>>2],e[ue+4>>2]=e[t+4>>2],e[ue+8>>2]=e[t+8>>2],e[ue+12>>2]=e[t+12>>2],A=A+1|0;for(yi(H,e[i2>>2]|0,w,z,17296),m=T2+48|0,E=T2+-48|0,v=1;;){if((v|0)>=(l|0))break e;if(w=e[n+(v+o<<2)>>2]|0,p=w+16|0,A=e[p>>2]|0,e[A+164>>2]&32){c=e[dr>>2]|0,u2(c|0,A|0,176)|0,_=T2,L=w,G=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));e[dr>>2]=c,_=e[T2>>2]&3,e[((_|0)==3?T2:m)+40>>2]=e[((e[w>>2]&3|0)==2?w:w+-48|0)+40>>2],e[((_|0)==2?T2:E)+40>>2]=e[((e[w>>2]&3|0)==3?w:w+48|0)+40>>2],_=c+16|0,L=(e[p>>2]|0)+56|0,G=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));A=e[dr>>2]|0,_=A+56|0,L=(e[p>>2]|0)+16|0,G=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(G|0));y[A+112>>0]=1,e[A+116>>2]=w,w=T2}for(p=e[46734]|0,A=1;!((A|0)>=(x|0));)ue=p+(A<<4)|0,u[ue>>3]=+u[ue>>3]+ +(e[B>>2]|0),A=A+1|0;for(c=e[46735]|0,A=0;!((A|0)>=(z|0));)ue=c+(A<<4)|0,i2=p+(A<<4)|0,e[ue>>2]=e[i2>>2],e[ue+4>>2]=e[i2+4>>2],e[ue+8>>2]=e[i2+8>>2],e[ue+12>>2]=e[i2+12>>2],A=A+1|0;yi(w,e[((e[w>>2]&3|0)==2?w:w+-48|0)+40>>2]|0,c,z,17296),v=v+1|0}}while(0);g=D2}function S80(r){r=r|0;var t=0,i=0,n=0;for(t=U0(r)|0;t;){for(i=Me(r,t)|0;i;)(nr[e[4324]&63](i)|0)<<24>>24&&(n=e[(e[i+16>>2]|0)+8>>2]|0,n|0)&&_80(n),i=Qe(r,i)|0;t=X0(r,t)|0}}function _80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=e[r+4>>2]|0,l=_0(o*48|0)|0,t=l,i=0,n=(e[r>>2]|0)+((o+-1|0)*48|0)|0;;){if((i|0)>=(o|0)){t=0;break}z80(n,t),t=t+48|0,i=i+1|0,n=n+-48|0}for(;i=e[r>>2]|0,!((t|0)>=(o|0));)r0(e[i+(t*48|0)>>2]|0),t=t+1|0;r0(i),e[r>>2]=l}function z80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(l=e[r+4>>2]|0,s=_0(l<<4)|0,i=s,n=0,o=(e[r>>2]|0)+(l+-1<<4)|0;!((n|0)>=(l|0));)e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],i=i+16|0,n=n+1|0,o=o+-16|0;e[t>>2]=s,e[t+4>>2]=l,e[t+8>>2]=e[r+12>>2],e[t+12>>2]=e[r+8>>2],s=t+16|0,l=r+32|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],s=t+32|0,l=r+16|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2]}function L80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;for(L=g,g=g+96|0,v=L+80|0,E=L+64|0,m=L+48|0,x=L+32|0,z=L+16|0,_=L,a=t;B=a+16|0,o=e[B>>2]|0,!!(y[o+112>>0]|0);)a=e[o+116>>2]|0;switch(o=e[a>>2]&3,w=e[((o|0)==2?a:a+-48|0)+40>>2]|0,o=e[((o|0)==3?a:a+48|0)+40>>2]|0,a=w+16|0,c=o+16|0,G=(e[(e[a>>2]|0)+232>>2]|0)-(e[(e[c>>2]|0)+232>>2]|0)|0,((G|0)>-1?G:0-G|0)|0){case 1:{o=0;break}case 2:{y[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1?o=0:p=6;break}default:p=6}do if((p|0)==6){if((e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)==(o|0)?(e[n>>2]=w,G=(e[c>>2]|0)+16|0,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2]=e[z+4>>2],e[G+8>>2]=e[z+8>>2],e[G+12>>2]=e[z+12>>2],e[o>>2]=e[z>>2],e[o+4>>2]=e[z+4>>2],e[o+8>>2]=e[z+8>>2],e[o+12>>2]=e[z+12>>2],o=7}while(0);return g=L,o|0}function mf(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;if(m=e[n+16>>2]|0,v=+u[m+16>>3],s=v-+u[m+88>>3],c=s+-4,a=pM(t,n,o,l,-1)|0,!a)w=~~(s+(c>=0?-3.5:-4.5)),A=e[i>>2]|0,A=(A|0)>(w|0)?w:A;else{A=kM(t,n,a)|0;do if(A)s=+u[(e[A+16>>2]|0)+32>>3]+ +(e[i+8>>2]|0);else if(w=e[a+16>>2]|0,s=+u[w+240>>3]+ +u[w+16>>3],y[w+156>>0]|0){s=s+ +(e[i+8>>2]|0);break}else{s=+(e[(e[t+16>>2]|0)+248>>2]|0)*.5+s;break}while(0);p=s=0?.5:-.5))}if(p=+(A|0),w=(y[m+156>>0]|0)==1,w&&e[m+104>>2]|0?c=v+10:c=v+4+ +u[m+96>>3],a=pM(t,n,o,l,1)|0,!a)n=~~(c+(c>=0?.5:-.5)),A=e[i+4>>2]|0,A=(A|0)<(n|0)?n:A;else{A=kM(t,n,a)|0;do if(A)s=+u[(e[A+16>>2]|0)+16>>3]-+(e[i+8>>2]|0);else if(n=e[a+16>>2]|0,s=+u[n+16>>3]-+u[n+88>>3],y[n+156>>0]|0){s=s-+(e[i+8>>2]|0);break}else{s=s-+(e[(e[t+16>>2]|0)+248>>2]|0)*.5;break}while(0);c=s>c?s:c,A=~~(c+(c>=0?.5:-.5))}s=+(A|0),w&&e[m+104>>2]|0&&(s=s-+u[m+96>>3],s>3],t=e[(e[t+16>>2]|0)+196>>2]|0,m=e[m+232>>2]|0,c=v-+u[t+(m<<6)+16>>3],v=+u[t+(m<<6)+24>>3]+v,u[r>>3]=p,u[r+8>>3]=c,u[r+16>>3]=s,u[r+24>>3]=v}function Eh(r){return r=r|0,r=e[r+16>>2]|0,(y[r+156>>0]|0)==1?(e[r+176>>2]|0)>1?r=1:r=(e[r+184>>2]|0)>1&1:r=0,r|0}function kc(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0;switch(l=g,g=g+32|0,o=l,i|0){case 1:{dM(o,+u[t>>3],n,+u[t+16>>3],+u[t+8>>3]);break}case 4:{dM(o,+u[t>>3],+u[t+24>>3],+u[t+16>>3],n);break}default:}e[r>>2]=e[o>>2],e[r+4>>2]=e[o+4>>2],e[r+8>>2]=e[o+8>>2],e[r+12>>2]=e[o+12>>2],e[r+16>>2]=e[o+16>>2],e[r+20>>2]=e[o+20>>2],e[r+24>>2]=e[o+24>>2],e[r+28>>2]=e[o+28>>2],g=l}function uM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;c=e[t+16>>2]|0,a=c+(n<<5)|0,A=+u[a>>3],w=c+(n<<5)+8|0,l=+u[w>>3],p=c+(n<<5)+16|0,o=+u[p>>3],c=c+(n<<5)+24|0,s=+u[c>>3],A==o&&(i=e[(e[i+16>>2]|0)+196>>2]|0,v=n+1|0,A=+(e[t>>2]|0),l=+u[i+(v<<6)+24>>3]+ +u[(e[(e[e[i+(v<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],o=+(e[t+4>>2]|0),s=+u[(e[(e[e[i+(n<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-+u[i+(n<<6)+16>>3],u[a>>3]=A,u[w>>3]=l,u[p>>3]=o,u[c>>3]=s),u[r>>3]=A,u[r+8>>3]=l,u[r+16>>3]=o,u[r+24>>3]=s}function R80(r){r=r|0;var t=0,i=0;for(r=e[r+16>>2]|0,i=r+16|0,t=0;r=e[e[r+180>>2]>>2]|0,r=e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0,!((y[r+156>>0]|0)!=1||(e[r+184>>2]|0)!=1||(e[r+176>>2]|0)!=1||+u[r+16>>3]!=+u[i>>3]);)t=t+1|0;return t|0}function fM(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0;c=g,g=g+32|0,a=c,s=hM(t,-1)|0,t=hM(t,1)|0,s|0&&!(zf(s)|0)||(A=3);do if((A|0)==3){if(t|0&&!(zf(t)|0)||(s=wM(i,-1)|0,t=wM(i,1)|0,s|0&&!(zf(s)|0))||t|0&&!(zf(t)|0))break;for(s=n+52|0,t=0;!((t|0)>=(e[s>>2]|0));)i=n+56+(t<<5)|0,e[a>>2]=e[i>>2],e[a+4>>2]=e[i+4>>2],e[a+8>>2]=e[i+8>>2],e[a+12>>2]=e[i+12>>2],e[a+16>>2]=e[i+16>>2],e[a+20>>2]=e[i+20>>2],e[a+24>>2]=e[i+24>>2],e[a+28>>2]=e[i+28>>2],mo(r,a),t=t+1|0;for(s=e[r+80>>2]|0,A=l+-3|0,t=0;!((t|0)>=(l|0));)n=153720+(t<<5)|0,e[a>>2]=e[n>>2],e[a+4>>2]=e[n+4>>2],e[a+8>>2]=e[n+8>>2],e[a+12>>2]=e[n+12>>2],e[a+16>>2]=e[n+16>>2],e[a+20>>2]=e[n+20>>2],e[a+24>>2]=e[n+24>>2],e[a+28>>2]=e[n+28>>2],mo(r,a),t=t+1|0;for(i=s+1|0,A=A+i|0,s=e[o+52>>2]|0;t=s+-1|0,!((s|0)<=0);)s=o+56+(t<<5)|0,e[a>>2]=e[s>>2],e[a+4>>2]=e[s+4>>2],e[a+8>>2]=e[s+8>>2],e[a+12>>2]=e[s+12>>2],e[a+16>>2]=e[s+16>>2],e[a+20>>2]=e[s+20>>2],e[a+24>>2]=e[s+24>>2],e[a+28>>2]=e[s+28>>2],mo(r,a),s=t;Z80(r,i,A)}while(0);g=c}function G80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=e[n>>2]|0;t;)r=e[e[(e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0,t=t+-1|0;return e[n>>2]=o+1,l=i+(o<<4)|0,t=i+(o+-1<<4)|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],o=e[n>>2]|0,e[n>>2]=o+1,o=i+(o<<4)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],o=i+(e[n>>2]<<4)|0,n=(e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+16|0,e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],r|0}function aM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=t+84|0,a=t+80|0,i=0,t=r;e:for(;s=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,A=s+16|0,!((y[(e[A>>2]|0)+156>>0]|0)!=1||(nr[e[4325]&63](s)|0)<<24>>24);){for(t=e[a>>2]|0;;){if((i|0)>=(t|0))break e;if(!(+u[(e[c>>2]|0)+(i<<5)+8>>3]>+u[(e[A>>2]|0)+24>>3]))break;i=i+1|0}t=e[c>>2]|0,r=e[A>>2]|0;do if(!(+u[t+(i<<5)+24>>3]<+u[r+24>>3]))if(o=+u[t+(i<<5)>>3],l=~~o,n=+u[t+(i<<5)+16>>3],e[r+104>>2]|0){cM(s,l,~~n,~~(+u[r+96>>3]+n));break}else{cM(s,l,~~((n+o)*.5),~~n);break}while(0);t=e[e[(e[A>>2]|0)+180>>2]>>2]|0}}function cM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,r=e[r+16>>2]|0,u[r+16>>3]=+(i|0),u[r+88>>3]=+(i-t|0),u[r+96>>3]=+(n-i|0)}function hM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(s=e[r>>2]&3,A=e[(e[(e[((s|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+180>>2]|0,s=((s|0)==2?r:r+-48|0)+40|0,l=0,r=0;n=e[A+(l<<2)>>2]|0,!!n;){o=e[(e[(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0;do if((N0(o-(e[(e[(e[s>>2]|0)+16>>2]|0)+236>>2]|0)|0,t)|0)>=1){if(i=e[n+16>>2]|0,!(e[i+8>>2]|0)&&(i=e[i+116>>2]|0,!i||!(e[(e[i+16>>2]|0)+8>>2]|0))||r|0&&(N0((e[(e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-o|0,t)|0)<=0)break;r=n}while(0);l=l+1|0}return r|0}function wM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(s=e[r>>2]&3,A=e[(e[(e[((s|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+172>>2]|0,s=((s|0)==3?r:r+48|0)+40|0,l=0,r=0;n=e[A+(l<<2)>>2]|0,!!n;){o=e[(e[(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0;do if((N0(o-(e[(e[(e[s>>2]|0)+16>>2]|0)+236>>2]|0)|0,t)|0)>=1){if(i=e[n+16>>2]|0,!(e[i+8>>2]|0)&&(i=e[i+116>>2]|0,!i||!(e[(e[i+16>>2]|0)+8>>2]|0))||r|0&&(N0((e[(e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-o|0,t)|0)<=0)break;r=n}while(0);l=l+1|0}return r|0}function Z80(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(c=r+84|0,s=t+-1|0;!((s|0)>(i|0));)o=e[c>>2]|0,A=o+(s<<5)|0,n=+u[A>>3],s-t&1?(o=o+(s<<5)+16|0,w=+u[o>>3],l=~~((w+n)*.5),n+16>w&&(u[A>>3]=+(l+-8|0),u[o>>3]=+(l+8|0))):(o=o+(s<<5)+16|0,w=+u[o>>3],l=~~((w+n)*.5),n>=w&&(u[A>>3]=+(l+-8|0),u[o>>3]=+(l+8|0))),s=s+1|0;for(a=(e[r+80>>2]|0)+-1|0,l=0;!((l|0)>=(a|0));){if(s=e[c>>2]|0,o=s+(l<<5)|0,A=l+1|0,r=s+(A<<5)|0,!((l|0)<(t|0)|(l|0)>(i|0))&&!(l-t&1|0)){if(n=+u[o>>3]+16,o=s+(A<<5)+16|0,n>+u[o>>3]&&(u[o>>3]=n),n=+u[s+(l<<5)+16>>3]+-16,!(n<+u[r>>3])){l=A;continue}u[r>>3]=n,l=A;continue}if(!((l|0)<(i|0)&(A|0)>=(t|0))){l=A;continue}if(A-t&1|0){l=A;continue}if(n=+u[s+(A<<5)+16>>3],+u[o>>3]+16>n&&(u[o>>3]=n+-16),o=s+(l<<5)+16|0,n=+u[r>>3],!(+u[o>>3]+-16>3]=n+16,l=A}}function dM(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o,u[r>>3]=t,u[r+8>>3]=i,u[r+16>>3]=n,u[r+24>>3]=o}function pM(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;a=e[(e[r+16>>2]|0)+196>>2]|0,l=e[t+16>>2]|0,A=e[l+232>>2]|0,s=a+(A<<6)|0,A=a+(A<<6)+4|0,l=e[l+236>>2]|0;e:do{if(l=l+o|0,(l|0)<=-1){r=0;break}if((l|0)>=(e[s>>2]|0)){r=0;break}switch(r=e[(e[A>>2]|0)+(l<<2)>>2]|0,a=e[r+16>>2]|0,y[a+156>>0]|0){case 0:break e;case 1:{if(e[a+104>>2]|0)break e;break}default:}}while((W80(r,t,i,n)|0)<<24>>24);return r|0}function kM(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;if(t=e[t+16>>2]|0,y[t+156>>0]|0?(s=e[(e[(e[e[t+180>>2]>>2]|0)+16>>2]|0)+116>>2]|0,o=e[s>>2]&3,l=e[(e[(e[((o|0)==2?s:s+-48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,s=e[(e[(e[((o|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0):(s=e[t+212>>2]|0,l=s),t=e[i+16>>2]|0,!(y[t+156>>0]|0))return i=e[t+212>>2]|0,i=(i|0)==(r|0)?0:i,((i|0)==(l|0)|((i|0)==0|(i|0)==(s|0))?0:i)|0;if(n=e[(e[(e[e[t+180>>2]>>2]|0)+16>>2]|0)+116>>2]|0,o=e[n>>2]&3,t=e[(e[(e[((o|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,t=(t|0)==(r|0)?0:t,!(!((t|0)==(l|0)|((t|0)==0|(t|0)==(s|0)))&&vM(t,i)|0))if(t=e[(e[(e[((o|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,t=(t|0)==(r|0)?0:t,(t|0)==(l|0)|((t|0)==0|(t|0)==(s|0)))t=0;else return i=(vM(t,i)|0)==0,(i?0:t)|0;return t|0}function vM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=e[r+16>>2]|0,r=e[t+16>>2]|0,o=+u[r+16>>3],+u[i+16>>3]<=o&&o<=+u[i+32>>3]&&(n=+u[r+24>>3],+u[i+24>>3]<=n)?r=n<=+u[i+40>>3]&1:r=0,r|0}function W80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=e[r+16>>2]|0,A=(e[s+236>>2]|0)>(e[(e[t+16>>2]|0)+236>>2]|0);e:do if((e[s+184>>2]|0)==1){r:do if(n|0)for(l=0,r=e[e[s+180>>2]>>2]|0;;){if((l|0)>=2||(r=e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0,t=e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,(r|0)==(t|0)))break r;if(o=e[r+16>>2]|0,r=e[t+16>>2]|0,A^(e[o+236>>2]|0)>(e[r+236>>2]|0)){r=1;break e}if((e[o+184>>2]|0)!=1||!(y[o+156>>0]|0)||(e[r+184>>2]|0)!=1||!(y[r+156>>0]|0))break r;l=l+1|0,n=e[e[r+180>>2]>>2]|0,r=e[e[o+180>>2]>>2]|0}while(0);if(i|0&&(e[s+176>>2]|0)==1)for(o=0,t=i,r=e[e[s+172>>2]>>2]|0;;){if((o|0)>=2){r=0;break e}if(r=e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0,t=e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0,(r|0)==(t|0)){r=0;break e}if(n=e[r+16>>2]|0,r=e[t+16>>2]|0,A^(e[n+236>>2]|0)>(e[r+236>>2]|0)){r=1;break e}if((e[n+176>>2]|0)!=1){r=0;break e}if(!(y[n+156>>0]|0)){r=0;break e}if((e[r+176>>2]|0)!=1){r=0;break e}if(!(y[r+156>>0]|0)){r=0;break e}o=o+1|0,t=e[e[r+172>>2]>>2]|0,r=e[e[n+172>>2]>>2]|0}else r=0}else r=0;while(0);return r|0}function Ko(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function D80(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=+u[t+8>>3],o=+u[t>>3],(~~((+u[i>>3]-o)*(+u[r+8>>3]-n)-(+u[r>>3]-o)*(+u[i+8>>3]-n))|0)>0|0}function M80(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0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L,e[47174]|0,85482)|0,o=W+16|0,c=e[o>>2]|0,e[c+144>>2]=e[(e[N>>2]|0)+144>>2],e[c+188>>2]=W,rl(W,l),tM(W),mj(W,0),zM(W,0),KM(W,0),v=v+16|0,l=e[v>>2]|0,c=e[m+16>>2]|0,m=B+16|0,w=e[m>>2]|0,p=w+16|0,z=+(~~a|0),_=+(~~((+u[(e[x+16>>2]|0)+16>>3]+ +u[p>>3])*.5)|0),a=+(~~E|0),E=+(~~((+u[l+16>>3]-+u[l+96>>3]+ +u[c+16>>3]+ +u[c+88>>3])*.5)|0),c=w+24|0,o=(e[o>>2]|0)+192|0;s=e[o>>2]|0,!!s;){do if((s|0)!=(B|0))if(o=e[s+16>>2]|0,A=o+24|0,(s|0)==(x|0)){u[A>>3]=a,u[o+16>>3]=_;break}else{u[A>>3]=E;break}else u[c>>3]=z,u[p>>3]=_,o=w;while(0);o=o+164|0}for(Wj(W),sM(W,0),Sf(W),A=e[v>>2]|0,o=e[m>>2]|0,e[(e[N>>2]|0)+116>>2]&1?(s=o+24|0,a=+u[o+16>>3]+ +u[A+24>>3]):(s=o+16|0,a=+u[A+24>>3]-+u[o+24>>3]),u[H>>3]=+u[A+16>>3]-+u[s>>3],u[H+8>>3]=a,l=B0+16|0,B=B0+32|0,x=B0+48|0,m=0;!((m|0)>=(n|0));){for(o=t+(m+i<<2)|0;s=e[o>>2]|0,v=s+16|0,o=e[v>>2]|0,y[o+112>>0]|0;)o=o+116|0;if(w=e[o+120>>2]|0,p=w+16|0,o=e[p>>2]|0,!((w|0)==(L|0)&(e[o+120>>2]|0)==0)){for(c=e[e[o+8>>2]>>2]|0,w=c+4|0,s=CC(s,e[w>>2]|0)|0,e[s+8>>2]=e[c+8>>2],o=s+16|0,A=c+16|0,F0=e[(e[N>>2]|0)+116>>2]&1,e[D>>2]=e[A>>2],e[D+4>>2]=e[A+4>>2],e[D+8>>2]=e[A+8>>2],e[D+12>>2]=e[A+12>>2],e[P>>2]=e[H>>2],e[P+4>>2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>2]|0)+116>>2]&1,e[D>>2]=e[p>>2],e[D+4>>2]=e[p+4>>2],e[D+8>>2]=e[p+8>>2],e[D+12>>2]=e[p+12>>2],e[P>>2]=e[H>>2],e[P+4>>2]=e[H+4>>2],e[P+8>>2]=e[H+8>>2],e[P+12>>2]=e[H+12>>2],gf(t0,D,P,F0),e[b0>>2]=e[t0>>2],e[b0+4>>2]=e[t0+4>>2],e[b0+8>>2]=e[t0+8>>2],e[b0+12>>2]=e[t0+12>>2],b0=e[(e[v>>2]|0)+96>>2]|0,y[b0+81>>0]=1,el(r,b0))}m=m+1|0}F80(W,G)}else V0=3;while(0);(V0|0)==3&&!(e[46738]|0)&&(e[46738]=1,$0(0,85355,D0)|0,V0=te(Y)|0,F0=(d1(r)|0)!=0,b0=te(T)|0,e[J0>>2]=V0,e[J0+4>>2]=F0?137738:141747,e[J0+8>>2]=b0,$0(3,85461,J0)|0),g=Z0}function j80(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0;for(W=g,g=g+1600|0,x=W+1552|0,c=W+1536|0,B=W+840|0,z=W+144|0,_=W+1584|0,s=W+32|0,E=W+16|0,w=W,v=e[n>>2]&3,p=e[((v|0)==3?n:n+48|0)+40>>2]|0,L=n+-48|0,v=e[((v|0)==2?n:L)+40>>2]|0,m=n+16|0,A=e[m>>2]|0,l=e[A+172>>2]|0;a=e[(e[l+16>>2]|0)+172>>2]|0,a;)l=a;if(A=(e[A+96>>2]|0)+56|0,l=(e[((e[l>>2]&3|0)==3?l:l+48|0)+40>>2]|0)+16|0,a=(e[l>>2]|0)+16|0,e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],A=e[m>>2]|0,y[(e[A+96>>2]|0)+81>>0]=1,(o|0)!=2){for(A=e[l>>2]|0,D=+u[A+16>>3],U=D-+u[A+88>>3],D=+u[A+96>>3]+D,T=+u[A+24>>3],P=+u[A+80>>3]*.5+T,A=e[(e[r+16>>2]|0)+196>>2]|0,a=e[p+16>>2]|0,s=e[a+232>>2]|0,T=+(~~(+(~~(T-+u[A+(s<<6)+16>>3]-+u[a+24>>3]+ +u[A+(s<<6)+24>>3])|0)*.16666666666666666)|0),T=P-(T<5?5:T),$d(r,t,i,p,n,B,1),$d(r,t,i,v,n,z,0),s=B+52|0,A=e[s>>2]|0,a=A+-1|0,N=+u[B+56+(a<<5)>>3],u[19215]=N,u[19216]=+u[B+56+(a<<5)+24>>3],u[19217]=U,u[19218]=T,u[19219]=N,u[19220]=T,a=z+52|0,l=(e[a>>2]|0)+-1|0,N=+u[z+56+(l<<5)+16>>3],u[19221]=N,u[19222]=P,u[19223]=D,u[19226]=T,u[19224]=+u[z+56+(l<<5)+24>>3],u[19225]=N,l=0;;){if((l|0)>=(A|0)){l=0;break}A=B+56+(l<<5)|0,e[x>>2]=e[A>>2],e[x+4>>2]=e[A+4>>2],e[x+8>>2]=e[A+8>>2],e[x+12>>2]=e[A+12>>2],e[x+16>>2]=e[A+16>>2],e[x+20>>2]=e[A+20>>2],e[x+24>>2]=e[A+24>>2],e[x+28>>2]=e[A+28>>2],mo(i,x),l=l+1|0,A=e[s>>2]|0}for(;(l|0)!=3;)B=153720+(l<<5)|0,e[x>>2]=e[B>>2],e[x+4>>2]=e[B+4>>2],e[x+8>>2]=e[B+8>>2],e[x+12>>2]=e[B+12>>2],e[x+16>>2]=e[B+16>>2],e[x+20>>2]=e[B+20>>2],e[x+24>>2]=e[B+24>>2],e[x+28>>2]=e[B+28>>2],mo(i,x),l=l+1|0;for(s=e[a>>2]|0;l=s+-1|0,!((s|0)<=0);)s=z+56+(l<<5)|0,e[x>>2]=e[s>>2],e[x+4>>2]=e[s+4>>2],e[x+8>>2]=e[s+8>>2],e[x+12>>2]=e[s+12>>2],e[x+16>>2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n=n|0,o=o|0,l=l|0,s=s|0,A=A|0;var a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;for(L=g,g=g+1440|0,B=L+1392|0,z=L+1424|0,_=L+696|0,x=L,m=e[s>>2]&3,v=e[((m|0)==3?s:s+48|0)+40>>2]|0,m=e[((m|0)==2?s:s+-48|0)+40>>2]|0,a=e[v+16>>2]|0,w=e[a+232>>2]|0,p=e[r+16>>2]|0,(w|0)<($[p+238>>1]|0)?(G=e[p+196>>2]|0,p=w+1|0,c=+u[a+24>>3]-+u[G+(w<<6)+32>>3]-+u[(e[(e[e[G+(p<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-+u[G+(p<<6)+40>>3]):c=+(e[p+252>>2]|0),W=+(l+1|0),E=+(e[t+12>>2]|0)/W,c=c/W,gM(r,t,i,v,s,_,1),gM(r,t,i,m,s,x,0),m=_+52|0,s=x+52|0,r=(A|0)==0,t=i+80|0,a=0;!((a|0)>=(l|0));){for(v=e[n+(a+o<<2)>>2]|0,p=e[m>>2]|0,w=p+-1|0,P=+u[_+56+(w<<5)>>3],T=+u[_+56+(w<<5)+8>>3],D=+u[_+56+(w<<5)+16>>3],u[19215]=P,u[19218]=T,a=a+1|0,W=+(a|0),N=E*W,u[19217]=D+N,W=T-c*W,u[19216]=W,u[19219]=P,u[19222]=W,w=(e[s>>2]|0)+-1|0,P=+u[x+56+(w<<5)+16>>3],u[19221]=P,u[19220]=W-c,T=+u[x+56+(w<<5)>>3],D=+u[x+56+(w<<5)+8>>3],u[19225]=P,u[19226]=D,u[19223]=T-N,u[19224]=W,w=0;;){if((w|0)>=(p|0)){w=0;break}p=_+56+(w<<5)|0,e[B>>2]=e[p>>2],e[B+4>>2]=e[p+4>>2],e[B+8>>2]=e[p+8>>2],e[B+12>>2]=e[p+12>>2],e[B+16>>2]=e[p+16>>2],e[B+20>>2]=e[p+20>>2],e[B+24>>2]=e[p+24>>2],e[B+28>>2]=e[p+28>>2],mo(i,B),w=w+1|0,p=e[m>>2]|0}for(;(w|0)!=3;)G=153720+(w<<5)|0,e[B>>2]=e[G>>2],e[B+4>>2]=e[G+4>>2],e[B+8>>2]=e[G+8>>2],e[B+12>>2]=e[G+12>>2],e[B+16>>2]=e[G+16>>2],e[B+20>>2]=e[G+20>>2],e[B+24>>2]=e[G+24>>2],e[B+28>>2]=e[G+28>>2],mo(i,B),w=w+1|0;for(p=e[s>>2]|0;w=p+-1|0,!((p|0)<=0);)p=x+56+(w<<5)|0,e[B>>2]=e[p>>2],e[B+4>>2]=e[p+4>>2],e[B+8>>2]=e[p+8>>2],e[B+12>>2]=e[p+12>>2],e[B+16>>2]=e[p+16>>2],e[B+20>>2]=e[p+20>>2],e[B+24>>2]=e[p+24>>2],e[B+28>>2]=e[p+28>>2],mo(i,B),p=w;if(r?w=jh(i,z)|0:w=Mh(i,z)|0,p=e[z>>2]|0,!p)break;yi(v,e[((e[v>>2]&3|0)==2?v:v+-48|0)+40>>2]|0,w,p,17296),e[t>>2]=0}g=L}function $d(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0;w=g,g=g+128|0,A=w+96|0,a=w+64|0,p=w+32|0,c=w,mf(p,r,t,n,0,o),e[l>>2]=e[p>>2],e[l+4>>2]=e[p+4>>2],e[l+8>>2]=e[p+8>>2],e[l+12>>2]=e[p+12>>2],e[l+16>>2]=e[p+16>>2],e[l+20>>2]=e[p+20>>2],e[l+24>>2]=e[p+24>>2],e[l+28>>2]=e[p+28>>2],e[a>>2]=e[p>>2],e[a+4>>2]=e[p+4>>2],e[a+8>>2]=e[p+8>>2],e[a+12>>2]=e[p+12>>2],e[a+16>>2]=e[p+16>>2],e[a+20>>2]=e[p+20>>2],e[a+24>>2]=e[p+24>>2],e[a+28>>2]=e[p+28>>2],e[l+48>>2]=4,s<<24>>24?Bp(i,o,2,l,0):Ip(i,o,2,l,0),t=l+52|0,o=(e[t>>2]|0)+-1|0,p=a+24|0,u[p>>3]=+u[l+56+(o<<5)+24>>3],s=a+8|0,u[s>>3]=+u[l+56+(o<<5)+8>>3],n=e[n+16>>2]|0,v=+u[(e[(e[r+16>>2]|0)+196>>2]|0)+(e[n+232>>2]<<6)+24>>3]+ +u[n+24>>3],e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],e[A+16>>2]=e[a+16>>2],e[A+20>>2]=e[a+20>>2],e[A+24>>2]=e[a+24>>2],e[A+28>>2]=e[a+28>>2],kc(c,A,4,v),e[a>>2]=e[c>>2],e[a+4>>2]=e[c+4>>2],e[a+8>>2]=e[c+8>>2],e[a+12>>2]=e[c+12>>2],e[a+16>>2]=e[c+16>>2],e[a+20>>2]=e[c+20>>2],e[a+24>>2]=e[c+24>>2],e[a+28>>2]=e[c+28>>2],+u[a>>3]<+u[a+16>>3]&&+u[s>>3]<+u[p>>3]&&(p=e[t>>2]|0,e[t>>2]=p+1,p=l+56+(p<<5)|0,e[p>>2]=e[a>>2],e[p+4>>2]=e[a+4>>2],e[p+8>>2]=e[a+8>>2],e[p+12>>2]=e[a+12>>2],e[p+16>>2]=e[a+16>>2],e[p+20>>2]=e[a+20>>2],e[p+24>>2]=e[a+24>>2],e[p+28>>2]=e[a+28>>2]),g=w}function gM(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0;w=g,g=g+128|0,A=w+96|0,a=w+64|0,p=w+32|0,c=w,mf(p,r,t,n,0,o),e[l>>2]=e[p>>2],e[l+4>>2]=e[p+4>>2],e[l+8>>2]=e[p+8>>2],e[l+12>>2]=e[p+12>>2],e[l+16>>2]=e[p+16>>2],e[l+20>>2]=e[p+20>>2],e[l+24>>2]=e[p+24>>2],e[l+28>>2]=e[p+28>>2],e[a>>2]=e[p>>2],e[a+4>>2]=e[p+4>>2],e[a+8>>2]=e[p+8>>2],e[a+12>>2]=e[p+12>>2],e[a+16>>2]=e[p+16>>2],e[a+20>>2]=e[p+20>>2],e[a+24>>2]=e[p+24>>2],e[a+28>>2]=e[p+28>>2],e[l+48>>2]=1,s<<24>>24?Bp(i,o,2,l,0):Ip(i,o,2,l,0),t=l+52|0,o=(e[t>>2]|0)+-1|0,p=a+24|0,u[p>>3]=+u[l+56+(o<<5)+24>>3],s=a+8|0,u[s>>3]=+u[l+56+(o<<5)+8>>3],n=e[n+16>>2]|0,v=+u[n+24>>3]-+u[(e[(e[r+16>>2]|0)+196>>2]|0)+(e[n+232>>2]<<6)+24>>3],e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],e[A+16>>2]=e[a+16>>2],e[A+20>>2]=e[a+20>>2],e[A+24>>2]=e[a+24>>2],e[A+28>>2]=e[a+28>>2],kc(c,A,1,v),e[a>>2]=e[c>>2],e[a+4>>2]=e[c+4>>2],e[a+8>>2]=e[c+8>>2],e[a+12>>2]=e[c+12>>2],e[a+16>>2]=e[c+16>>2],e[a+20>>2]=e[c+20>>2],e[a+24>>2]=e[c+24>>2],e[a+28>>2]=e[c+28>>2],+u[a>>3]<+u[a+16>>3]&&+u[s>>3]<+u[p>>3]&&(p=e[t>>2]|0,e[t>>2]=p+1,p=l+56+(p<<5)|0,e[p>>2]=e[a>>2],e[p+4>>2]=e[a+4>>2],e[p+8>>2]=e[a+8>>2],e[p+12>>2]=e[a+12>>2],e[p+16>>2]=e[a+16>>2],e[p+20>>2]=e[a+20>>2],e[p+24>>2]=e[a+24>>2],e[p+28>>2]=e[a+28>>2]),g=w}function SA(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function Q80(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0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>0]|0,y[n+1>>0]=y[s+1>>0]|0,y[n+2>>0]=y[s+2>>0]|0,y[n+3>>0]=y[s+3>>0]|0,n=w1(85493,n,0)|0,$e(n,137483,280,1)|0,re(n,0,87171,195059)|0,s=j0(96)|0,i=e[n+16>>2]|0,e[i+8>>2]=s,l=e[r+16>>2]|0,A=e[l+8>>2]|0,u[s>>3]=+u[A>>3],u[s+24>>3]=+u[A+24>>3],y[i+115>>0]=y[l+115>>0]|0,e[i+116>>2]=e[l+116>>2]&1^1,e[i+248>>2]=e[l+248>>2],e[i+252>>2]=e[l+252>>2],i=ao(a2(r)|0,1,0)|0;i;)re(n,1,e[i+8>>2]|0,e[i+12>>2]|0)|0,i=ao(a2(r)|0,1,i)|0;for(i=ao(a2(r)|0,2,0)|0;i;)re(n,2,e[i+8>>2]|0,e[i+12>>2]|0)|0,i=ao(a2(r)|0,2,i)|0;return re(n,2,111464,0)|0||re(n,2,111464,195059)|0,re(n,2,111455,0)|0||re(n,2,111455,195059)|0,P80(n,t),g=o,n|0}function yM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return n=g,g=g+16|0,i=n,r=ht(r,te(t)|0,1)|0,$e(r,137447,304,1)|0,yd(t,r)|0,(ZA(t)|0)==2&&(o=t+16|0,t=_0((d2(e[e[(e[o>>2]|0)+104>>2]>>2]|0)|0)+3|0)|0,e[i>>2]=e[e[(e[o>>2]|0)+104>>2]>>2],Ke(t,85488,i)|0,h1(r,108224,t)|0),g=n,r|0}function CM(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,i=rr(r,t,i,0,1)|0,$e(i,137460,176,1)|0,yd(n,i)|0,i|0}function gf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=g,g=g+32|0,l=s+16|0,o=s,n|0&&(A=+u[t>>3],n=t+8|0,u[t>>3]=+u[n>>3],u[n>>3]=-A),e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],e[l+12>>2]=e[i+12>>2],Ko(r,o,l),g=s}function F80(r,t){r=r|0,t=t|0,e[47189]=e[t>>2],e[47193]=e[t+4>>2],e[47194]=e[t+8>>2],e[47174]=e[t+12>>2],e[47175]=e[t+16>>2],e[47181]=e[t+20>>2],e[47180]=e[t+24>>2],e[47179]=e[t+28>>2],e[47205]=e[t+32>>2],e[47197]=e[t+36>>2],e[47182]=e[t+40>>2],e[47192]=e[t+44>>2],e[47201]=e[t+48>>2],e[47200]=e[t+52>>2],e[47199]=e[t+56>>2],e[47204]=e[t+60>>2],e[47198]=e[t+64>>2],e[47183]=e[t+68>>2],e[47145]=e[t+72>>2],e[47146]=e[t+76>>2],e[47147]=e[t+80>>2],e[47157]=e[t+84>>2],e[47150]=e[t+88>>2],e[47151]=e[t+92>>2],e[47152]=e[t+96>>2],e[47154]=e[t+100>>2],e[47155]=e[t+104>>2],e[47158]=e[t+108>>2],e[47161]=e[t+112>>2],e[47159]=e[t+116>>2],e[47160]=e[t+120>>2],e[47163]=e[t+124>>2],e[47162]=e[t+128>>2],e[47164]=e[t+132>>2],e[47165]=e[t+136>>2],e[47156]=e[t+140>>2],e[47168]=e[t+144>>2],e[47140]=e[t+148>>2],e[47138]=e[t+152>>2],r0(t),iM(r),Di(r)|0}function P80(r,t){r=r|0,t=t|0,e[t>>2]=e[47189],e[t+4>>2]=e[47193],e[t+8>>2]=e[47194],e[t+12>>2]=e[47174],e[t+16>>2]=e[47175],e[t+20>>2]=e[47181],e[t+24>>2]=e[47180],e[t+28>>2]=e[47179],e[t+32>>2]=e[47205],e[t+36>>2]=e[47197],e[t+40>>2]=e[47182],e[t+44>>2]=e[47192],e[t+48>>2]=e[47201],e[t+52>>2]=e[47200],e[t+56>>2]=e[47199],e[t+60>>2]=e[47204],e[t+64>>2]=e[47198],e[t+68>>2]=e[47183],e[t+72>>2]=e[47145],e[t+76>>2]=e[47146],e[t+80>>2]=e[47147],e[t+84>>2]=e[47157],e[t+88>>2]=e[47150],e[t+92>>2]=e[47151],e[t+96>>2]=e[47152],e[t+100>>2]=e[47154],e[t+104>>2]=e[47155],e[t+108>>2]=e[47158],e[t+112>>2]=e[47161],e[t+116>>2]=e[47159],e[t+120>>2]=e[47160],e[t+124>>2]=e[47163],e[t+128>>2]=e[47162],e[t+132>>2]=e[47164],e[t+136>>2]=e[47165],e[t+140>>2]=e[47156],e[t+144>>2]=e[47168],e[t+152>>2]=e[47138],e[t+148>>2]=e[47140],e[47189]=0,e[47193]=re(r,2,87412,0)|0,e[47194]=re(r,2,87421,0)|0,t=re(r,2,101541,0)|0,e[47174]=t,t||(e[47174]=re(r,2,101541,195059)|0),e[47175]=0,e[47181]=0,e[47180]=re(r,2,101437,0)|0,e[47179]=re(r,2,101428,0)|0,e[47205]=re(r,2,101717,0)|0,e[47197]=0,e[47182]=re(r,2,108224,0)|0,e[47192]=re(r,2,85498,0)|0,e[47201]=0,e[47200]=re(r,2,101617,0)|0,e[47199]=re(r,2,101603,0)|0,e[47204]=re(r,2,101708,0)|0,e[47198]=0,e[47183]=0,e[47145]=re(r,1,141048,0)|0,e[47146]=re(r,1,141116,0)|0,e[47147]=re(r,1,108230,0)|0,e[47157]=0,e[47150]=re(r,1,101428,0)|0,e[47151]=re(r,1,101437,0)|0,e[47152]=0,e[47154]=re(r,1,108224,0)|0,e[47155]=0,e[47158]=0,e[47161]=re(r,1,101409,0)|0,e[47159]=re(r,1,141076,0)|0,e[47160]=re(r,1,101472,0)|0,e[47163]=re(r,1,101484,0)|0,e[47162]=re(r,1,101348,0)|0,e[47164]=re(r,1,101489,0)|0,e[47165]=re(r,1,85510,0)|0,e[47156]=0,e[47168]=0,e[47140]=re(r,0,101409,0)|0}function Y80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return i=e[(e[(e[r>>2]|0)+16>>2]|0)+96>>2]|0,r=e[(e[(e[t>>2]|0)+16>>2]|0)+96>>2]|0,t=(r|0)!=0,i?t&&(o=+u[i+24>>3],s=+u[i+32>>3],n=+u[r+24>>3],l=+u[r+32>>3],!(o>n))?ol?r=-1:r=s>2]|0)+116>>2]|0,t;)r=t;return t=e[r>>2]&3,i=e[(e[((t|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0,n=e[i+232>>2]|0,r=e[(e[((t|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0,t=e[r+232>>2]|0,(n|0)<=(t|0)?(n|0)<(t|0)?r=1:r=(e[i+236>>2]|0)<(e[r+236>>2]|0)&1:r=0,r|0}function yf(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return i=g,g=g+16|0,n=i+8|0,o=i,s=(e[r+16>>2]|0)+180|0,l=(e[t+16>>2]|0)+172|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[n>>2]=e[l>>2],e[n+4>>2]=e[l+4>>2],t=EM(r,o,t,n)|0,g=i,t|0}function EM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=e[t+4>>2]|0;e:do if((o|0)>0&&(l=e[n+4>>2]|0,(l|0)>0))if((o|0)<(l|0))for(o=e[t>>2]|0,n=0;;){if(t=e[o+(n<<2)>>2]|0,!t){t=0;break e}if((e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)==(i|0))break;n=n+1|0}else for(o=e[n>>2]|0,n=0;;){if(t=e[o+(n<<2)>>2]|0,!t){t=0;break e}if((e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)==(r|0))break;n=n+1|0}else t=0;while(0);return t|0}function BM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return i=g,g=g+16|0,n=i+8|0,o=i,s=(e[r+16>>2]|0)+188|0,l=(e[t+16>>2]|0)+196|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[n>>2]=e[l>>2],e[n+4>>2]=e[l+4>>2],t=EM(r,o,t,n)|0,g=i,t|0}function IM(r){r=r|0;var t=0,i=0,n=0,o=0;return n=r+48|0,i=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,t=e[i+180>>2]|0,t?t=Oe(t,(e[i+184>>2]<<2)+8|0)|0:t=_0((e[i+184>>2]<<2)+8|0)|0,e[(e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0)+180>>2]=t,o=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,i=e[o+180>>2]|0,o=o+184|0,t=e[o>>2]|0,e[o>>2]=t+1,e[i+(t<<2)>>2]=r,n=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,e[(e[n+180>>2]|0)+(e[n+184>>2]<<2)>>2]=0,n=r+-48|0,t=e[(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16>>2]|0,i=e[t+172>>2]|0,i?t=Oe(i,(e[t+176>>2]<<2)+8|0)|0:t=_0((e[t+176>>2]<<2)+8|0)|0,e[(e[(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16>>2]|0)+172>>2]=t,t=e[(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16>>2]|0,i=e[t+172>>2]|0,t=t+176|0,o=e[t>>2]|0,e[t>>2]=o+1,e[i+(o<<2)>>2]=r,o=e[(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16>>2]|0,e[(e[o+172>>2]|0)+(e[o+176>>2]<<2)>>2]=0,r|0}function vc(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(n=r+4|0,o=e[n>>2]|0,i=0;!((i|0)>=(o|0));)if(l=e[r>>2]|0,s=l+(i<<2)|0,(e[s>>2]|0)==(t|0)){A=4;break}else i=i+1|0;(A|0)==4&&(A=o+-1|0,e[n>>2]=A,e[s>>2]=e[l+(A<<2)>>2],e[(e[r>>2]|0)+(A<<2)>>2]=0)}function bo(r){if(r=r|0,!r)H0(85551,85561,117,85570);else{vc((e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+180|0,r),vc((e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+172|0,r);return}}function _A(r){r=r|0;var t=0,i=0,n=0,o=0;n=r+48|0,i=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,t=e[i+204>>2]|0,t?t=Oe(t,(e[i+208>>2]<<2)+8|0)|0:t=_0((e[i+208>>2]<<2)+8|0)|0,e[(e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0)+204>>2]=t,o=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,t=e[o+204>>2]|0,o=o+208|0,i=e[o>>2]|0,e[o>>2]=i+1,e[t+(i<<2)>>2]=r,n=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,e[(e[n+204>>2]|0)+(e[n+208>>2]<<2)>>2]=0}function xM(r){r=r|0,V80(r,(e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+204|0)}function V80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(s=t+4|0,n=e[s>>2]|0,o=e[t>>2]|0,i=0;;){if((i|0)>=(n|0)){l=4;break}if((e[o+(i<<2)>>2]|0)==(r|0))break;i=i+1|0}(l|0)==4&&(o?i=Oe(o,(n<<2)+8|0)|0:i=_0((n<<2)+8|0)|0,e[t>>2]=i,o=e[s>>2]|0,l=o+1|0,e[s>>2]=l,e[i+(o<<2)>>2]=r,e[(e[t>>2]|0)+(l<<2)>>2]=0)}function z7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;if(w=j0(96)|0,n=w+48|0,e[n>>2]=e[n>>2]|3,e[w>>2]=e[w>>2]&-4|2,o=j0(176)|0,c=w+16|0,e[c>>2]=o,e[((e[w>>2]&3|0)==3?w:n)+40>>2]=r,s=w+-48|0,e[((e[w>>2]&3|0)==2?w:s)+40>>2]=t,y[o+112>>0]=1,!i)e[o+156>>2]=1,$[o+154>>1]=1,$[o+168>>1]=1,$[o+170>>1]=1;else{if(e[w>>2]=e[w>>2]&15|e[i>>2]&-16,e[n>>2]=e[n>>2]&15|e[i>>2]&-16,a=i+16|0,l=e[a>>2]|0,$[o+168>>1]=$[l+168>>1]|0,$[o+154>>1]=$[l+154>>1]|0,e[o+156>>2]=e[l+156>>2],$[o+170>>1]=$[l+170>>1]|0,r=e[((e[w>>2]&3|0)==3?w:n)+40>>2]|0,t=e[i>>2]&3,A=i+48|0,(r|0)!=(e[((t|0)==3?i:A)+40>>2]|0)){if(n=i+-48|0,(r|0)==(e[((t|0)==2?i:n)+40>>2]|0)){o=o+16|0,r=l+56|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0))}}else{o=o+16|0,r=l+16|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));n=i+-48|0}if(r=e[((e[w>>2]&3|0)==2?w:s)+40>>2]|0,t=e[i>>2]&3,(r|0)!=(e[((t|0)==2?i:n)+40>>2]|0)){if((r|0)==(e[((t|0)==3?i:A)+40>>2]|0)){o=(e[c>>2]|0)+56|0,r=(e[a>>2]|0)+16|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0))}}else{o=(e[c>>2]|0)+56|0,r=(e[a>>2]|0)+56|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0))}r=(e[a>>2]|0)+172|0,e[r>>2]|0||(e[r>>2]=w),e[(e[c>>2]|0)+116>>2]=i}return w|0}function Jn(r,t,i){return r=r|0,t=t|0,i=i|0,IM(z7(r,t,i)|0)|0}function L7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;if(r=(e[r+16>>2]|0)+192|0,o=e[r>>2]|0,i=e[t+16>>2]|0,e[i+164>>2]=o,n=o,o|0&&(e[(e[n+16>>2]|0)+168>>2]=t),e[r>>2]=t,e[i+168>>2]=0,(n|0)==(t|0))H0(85587,85561,215,85603);else return}function H80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;(r|0)==(t|0)&&H0(85613,85561,220,85620),o=e[t+16>>2]|0,i=o+164|0,e[i>>2]|0&&H0(85633,85561,221,85620),n=(e[r+16>>2]|0)+164|0,e[i>>2]=e[n>>2],i=e[n>>2]|0,i|0&&(e[(e[i+16>>2]|0)+168>>2]=t),e[o+168>>2]=r,e[n>>2]=t}function Kd(r,t){r=r|0,t=t|0;var i=0,n=0;J80(r,t)|0||H0(85652,85561,231,85673),t=e[t+16>>2]|0,i=e[t+164>>2]|0,n=i,t=t+168|0,i|0&&(e[(e[i+16>>2]|0)+168>>2]=e[t>>2]),t=e[t>>2]|0,t?e[(e[t+16>>2]|0)+164>>2]=n:e[(e[r+16>>2]|0)+192>>2]=n}function J80(r,t){for(r=r|0,t=t|0,r=(e[r+16>>2]|0)+192|0;r=e[r>>2]|0,!((r|0)==0|(r|0)==(t|0));)r=(e[r+16>>2]|0)+164|0;return r|0}function Ml(r){r=r|0;var t=0,i=0,n=0,o=0;return t=j0(64)|0,e[t>>2]=e[t>>2]&-4|1,i=t+16|0,e[i>>2]=j0(304)|0,e[t+24>>2]=a2(r)|0,o=e[i>>2]|0,y[o+156>>0]=1,u[o+96>>3]=1,u[o+88>>3]=1,u[o+80>>3]=1,e[o+216>>2]=1,e[o+176>>2]=0,o=j0(20)|0,n=e[i>>2]|0,e[n+172>>2]=o,e[n+184>>2]=0,n=j0(20)|0,e[(e[i>>2]|0)+180>>2]=n,L7(r,t),r=(e[r+16>>2]|0)+232|0,e[r>>2]=(e[r>>2]|0)+1,t|0}function bd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;o=t+48|0,i=e[(e[((e[t>>2]&3|0)==3?t:o)+40>>2]|0)+16>>2]|0,n=e[i+188>>2]|0,n?i=Oe(n,(e[i+192>>2]<<2)+8|0)|0:i=_0((e[i+192>>2]<<2)+8|0)|0,e[(e[(e[((e[t>>2]&3|0)==3?t:o)+40>>2]|0)+16>>2]|0)+188>>2]=i,l=e[(e[((e[t>>2]&3|0)==3?t:o)+40>>2]|0)+16>>2]|0,n=e[l+188>>2]|0,l=l+192|0,i=e[l>>2]|0,e[l>>2]=i+1,e[n+(i<<2)>>2]=t,o=e[(e[((e[t>>2]&3|0)==3?t:o)+40>>2]|0)+16>>2]|0,e[(e[o+188>>2]|0)+(e[o+192>>2]<<2)>>2]=0,o=t+-48|0,i=e[(e[((e[t>>2]&3|0)==2?t:o)+40>>2]|0)+16>>2]|0,n=e[i+196>>2]|0,n?i=Oe(n,(e[i+200>>2]<<2)+8|0)|0:i=_0((e[i+200>>2]<<2)+8|0)|0,e[(e[(e[((e[t>>2]&3|0)==2?t:o)+40>>2]|0)+16>>2]|0)+196>>2]=i,i=e[(e[((e[t>>2]&3|0)==2?t:o)+40>>2]|0)+16>>2]|0,n=e[i+196>>2]|0,i=i+200|0,l=e[i>>2]|0,e[i>>2]=l+1,e[n+(l<<2)>>2]=t,l=e[(e[((e[t>>2]&3|0)==2?t:o)+40>>2]|0)+16>>2]|0,e[(e[l+196>>2]|0)+(e[l+200>>2]<<2)>>2]=0,y[(e[r+16>>2]|0)+240>>0]=1,y[(e[(fr(r)|0)+16>>2]|0)+240>>0]=1}function R7(r){r=r|0;var t=0,i=0;r||H0(85551,85561,269,85690),t=e[(e[r+16>>2]|0)+116>>2]|0,t|0&&(i=(e[t+16>>2]|0)+172|0,(e[i>>2]|0)==(r|0))&&(e[i>>2]=0),vc((e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+188|0,r),vc((e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+196|0,r)}function Ss(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,i=(e[r+16>>2]|0)+172|0,n=e[i>>2]|0;do if((n|0)!=(t|0))if(n)H0(87593,85561,340,85728);else{e[i>>2]=t,U80(r,t);break}else $0(0,85707,o)|0;while(0);g=o}function U80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(i=(e[t+16>>2]|0)+170|0,l=e[r+16>>2]|0,r=$[l+170>>1]|0,(M0[i>>1]|0)<(r&65535)&&($[i>>1]=r),n=l+168|0,o=l+154|0,i=l+156|0,r=t;r;)t=e[r+16>>2]|0,l=t+168|0,$[l>>1]=(M0[l>>1]|0)+(M0[n>>1]|0),l=t+154|0,$[l>>1]=(M0[l>>1]|0)+(M0[o>>1]|0),l=t+156|0,e[l>>2]=(e[l>>2]|0)+(e[i>>2]|0),r=e[t+172>>2]|0}function SM(r){r=r|0;var t=0,i=0,n=0,o=0;i=r+16|0,t=e[(e[i>>2]|0)+172>>2]|0;e:for(;t;)for(_M(t,r),o=e[t+16>>2]|0,n=e[o+172>>2]|0,$[o+168>>1]|0||X80(t);;){if((y[(e[t+16>>2]|0)+112>>0]|0)!=1){t=n;continue e}if(t=e[(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0,(y[t+156>>0]|0)!=1){t=n;continue e}if((e[t+184>>2]|0)!=1){t=n;continue e}t=e[e[t+180>>2]>>2]|0,_M(t,r)}e[(e[i>>2]|0)+172>>2]=0}function _M(r,t){r=r|0,t=t|0;var i=0;i=e[t+16>>2]|0,t=e[r+16>>2]|0,r=t+168|0,$[r>>1]=(M0[r>>1]|0)-(M0[i+168>>1]|0),r=t+154|0,$[r>>1]=(M0[r>>1]|0)-(M0[i+154>>1]|0),t=t+156|0,e[t>>2]=(e[t>>2]|0)-(e[i+156>>2]|0)}function X80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(r||H0(85551,85561,128,85741),l=r+48|0,i=0;t=e[r>>2]|0,n=(e[(e[((t&3|0)==3?r:l)+40>>2]|0)+16>>2]|0)+180|0,o=e[(e[n>>2]|0)+(i<<2)>>2]|0,!!o;)(o|0)==(r|0)&&vc(n,r),i=i+1|0;for(l=r+-48|0,o=0;i=(e[(e[((t&3|0)==2?r:l)+40>>2]|0)+16>>2]|0)+172|0,n=e[(e[i>>2]|0)+(o<<2)>>2]|0,!!n;)(n|0)==(r|0)&&(vc(i,r),t=e[r>>2]|0),o=o+1|0}function q80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(p=g,g=g+1040|0,c=p+1032|0,w=p,a=p+8|0,A=r+16|0,r=e[A>>2]|0,s=$[r+236>>1]|0;!((s|0)>($[r+238>>1]|0));){for(l=e[r+196>>2]|0,o=l+(s<<6)|0,l=l+(s<<6)+4|0,n=0,r=0;!((n|0)>=(e[o>>2]|0));)t=e[(e[l>>2]|0)+(n<<2)>>2]|0,i=t+16|0,e[(e[i>>2]|0)+112>>2]|0&&(r||(y[c>>0]=y[18588]|0,y[c+1>>0]=y[18589]|0,y[c+2>>0]=y[18590]|0,y[c+3>>0]=y[18591]|0,r=w1(85763,c,0)|0),e[w>>2]=n,Ke(a,137395,w)|0,B=ht(r,a,1)|0,$e(B,91164,24,1)|0,v=e[(e[i>>2]|0)+180>>2]|0,m=e[v>>2]|0,m=e[(e[(e[((e[m>>2]&3|0)==2?m:m+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,v=e[v+4>>2]|0,v=e[(e[(e[((e[v>>2]&3|0)==2?v:v+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,E=(m|0)>(v|0),i=e[B+16>>2]|0,e[i+12>>2]=E?v:m,e[i+16>>2]=E?m:v,e[i+20>>2]=t),n=n+1|0;r|0&&((v2(r)|0)>1&&$80(r,o),Di(r)|0),s=s+1|0,r=e[A>>2]|0}g=p}function $80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;i=0,s=U0(r)|0;e:for(;s;)for(A=X0(r,s)|0,a=s+16|0,l=A;;){if(!l){s=A;continue e}o=e[l+16>>2]|0,n=e[a>>2]|0,(e[o+16>>2]|0)>(e[n+12>>2]|0)?(e[n+16>>2]|0)<=(e[o+12>>2]|0)&&rr(r,s,l,0,1)|0:(rr(r,l,s,0,1)|0,i=1),l=X0(r,l)|0}do if(i|0){s=ji(r,85766,1)|0,a=j0((v2(r)|0)<<2)|0,A=j0((v2(r)|0)<<2)|0,o=t+4|0,n=U0(r)|0;e:for(;;){if(!n){i=23;break}if(!(e[(e[n+16>>2]|0)+8>>2]|0)&&G9(r,n,1,1)|0){r:do if(G7(r,n,s,A)|0){if(l=v2(s)|0,(K80(r,s,a)|0)!=(l|0)){i=17;break e}for(ei(A,l,4,60),i=0;;){if((i|0)>=(l|0))break r;t=A+(i<<2)|0,c=e[a+(i<<2)>>2]|0,e[(e[c+16>>2]|0)+236>>2]=e[t>>2],e[(e[o>>2]|0)+(e[t>>2]<<2)>>2]=c,i=i+1|0}}while(0);e60(s)}n=X0(r,n)|0}if((i|0)==17)H0(85771,85781,265,85792);else if((i|0)==23){r0(a);break}}while(0)}function G7(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;for(s=e[t+16>>2]|0,e[s+8>>2]=1,s=e[(e[(e[s+20>>2]|0)+16>>2]|0)+236>>2]|0,e[n+((v2(i)|0)<<2)>>2]=s,ct(i,t,1)|0,s=Me(r,t)|0,o=0;s;)a=e[s>>2]&3,l=e[((a|0)==2?s:s+-48|0)+40>>2]|0,A=e[l+16>>2]|0,o=o+((e[(e[(e[A+20>>2]|0)+16>>2]|0)+236>>2]|0)>(e[(e[(e[(e[(e[((a|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+20>>2]|0)+16>>2]|0)+236>>2]|0)&1)|0,e[A+8>>2]|0||(o=(G7(r,l,i,n)|0)+o|0),s=Qe(r,s)|0;for(s=Xo(r,t)|0;s;)A=e[s>>2]&3,l=e[((A|0)==3?s:s+48|0)+40>>2]|0,a=e[l+16>>2]|0,o=o+((e[(e[(e[(e[(e[((A|0)==2?s:s+-48|0)+40>>2]|0)+16>>2]|0)+20>>2]|0)+16>>2]|0)+236>>2]|0)>(e[(e[(e[a+20>>2]|0)+16>>2]|0)+236>>2]|0)&1)|0,e[a+8>>2]|0||(o=(G7(r,l,i,n)|0)+o|0),s=ms(r,s)|0;return o|0}function K80(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(o=0;n=r60(r,t)|0,!!n;){for(e[i+(o<<2)>>2]=e[(e[n+16>>2]|0)+20>>2],Ah(t,n)|0,n=Me(r,n)|0;n;)l=Qe(r,n)|0,R9(r,n)|0,n=l;o=o+1|0}return o|0}function b80(r,t){return r=r|0,t=t|0,(e[r>>2]|0)-(e[t>>2]|0)|0}function e60(r){r=r|0;var t=0,i=0;for(t=U0(r)|0;t;)i=X0(r,t)|0,Ah(r,t)|0,t=i}function r60(r,t){r=r|0,t=t|0;var i=0;for(i=U0(t)|0;;){if(!i){i=0;break}if(!(G9(r,i,1,0)|0))break;i=X0(t,i)|0}return i|0}function zM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(t60(r),s=r+16|0,n=0,i=0;!((n|0)>=(e[(e[s>>2]|0)+220>>2]|0));)i60(r,n),n=n+1|0,i=(Z7(r,0,t)|0)+i|0;for(n60(r),l=1;n=e[s>>2]|0,o=e[n+180>>2]|0,!((l|0)>(o|0));)o=(LM(e[(e[n+184>>2]|0)+(l<<2)>>2]|0,t)|0)+i|0,l=l+1|0,i=o;do if((o|0)>0){if(n=he(r,85806)|0,n|0&&!((jt(n)|0)<<24>>24))break;U7(r),y[193769]=1,i=Z7(r,2,t)|0}while(0);o60(r,i)}function t60(r){r=r|0;var t=0;y[193769]=0,e[46741]=r,t=((ys(fr(r)|0)|0)<<2)+4|0,e[46740]=j0(t)|0,e[46739]=j0(t)|0,y60(r),t=r+16|0,$[(e[t>>2]|0)+136>>1]&16&&C60(r),Hj(r),fp(r,1),UM(r),D7(r),t=e[t>>2]|0,e[46742]=$[t+236>>1],e[46743]=$[t+238>>1]}function i60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;r=e[r+16>>2]|0,e[r+192>>2]=e[(e[r+216>>2]|0)+(t<<2)>>2];e:do if((t|0)>0)for(t=$[r+238>>1]|0,i=r+196|0,r=$[r+236>>1]|0;;){if((r|0)>(t|0))break e;n=e[i>>2]|0,o=n+(r<<6)+4|0,n=n+(r<<6)|0,e[o>>2]=(e[o>>2]|0)+(e[n>>2]<<2),e[n>>2]=0,r=r+1|0}while(0)}function Z7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(p=g,g=g+32|0,w=p,(t|0)>1?(n=Bh(0)|0,j7(r)):n=2147483647,c=e[15712]|0,a=t,o=0,t=n;!((a|0)>=3);){for(o=e[47136]|0,(a|0)==2?((n|0)>(t|0)&&OM(r),n=t):(n=(o|0)<4?o:4,(fr(r)|0)==(r|0)&&YM(r,a),a||WM(r),DM(r),l=Bh(0)|0,(l|0)>(t|0)?(o=n,n=l):(j7(r),o=n,n=l,t=l)),l=0,A=0;!((A|0)>=(o|0)||(s=l+1|0,(n|0)==0|(l|0)>=(e[46744]|0)));)c60(r,A),n=Bh(0)|0,(n|0)>(t|0)?l=s:(j7(r),l=+u[23215]*+(t|0)>+(n|0)?0:s,t=n),A=A+1|0;if(n)a=a+1|0;else{n=0;break}}(n|0)>(t|0)&&OM(r),(t|0)>0?(N7(r,0),n=Bh(0)|0):n=t;e:do if(i|0)for(t=0;;){if((t|0)>=(o|0))break e;h60(r),t=t+1|0}while(0);return g=p,n|0}function n60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(v=g,g=g+16|0,w=v,a60(r),a=r+16|0,t=e[a>>2]|0,c=e[15712]|0,A=$[t+236>>1]|0;!((A|0)>($[t+238>>1]|0));){for(i=e[t+196>>2]|0,n=e[i+(A<<6)+8>>2]|0,e[i+(A<<6)>>2]=n,o=e[i+(A<<6)+12>>2]|0,e[i+(A<<6)+4>>2]=o,s=0;!((s|0)>=(n|0));){if(l=e[o+(s<<2)>>2]|0,!l){p=6;break}e[(e[l+16>>2]|0)+236>>2]=s,s=s+1|0}(p|0)==6&&(p=0,e[i+(A<<6)>>2]=s),A=A+1|0}g=v}function LM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(zw0(r),D7(r),WM(r),DM(r),o=r+16|0,i=Z7(r,2,t)|0,n=1;l=e[o>>2]|0,!((n|0)>(e[l+180>>2]|0));)i=(LM(e[(e[l+184>>2]|0)+(n<<2)>>2]|0,t)|0)+i|0,n=n+1|0;return MM(r),i|0}function o60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(p=g,g=g+16|0,w=p,i=e[46739]|0,i|0&&(r0(i),e[46739]=0),i=e[46740]|0,i|0&&(r0(i),e[46740]=0),c=r+16|0,i=1;n=e[c>>2]|0,!((i|0)>(e[n+180>>2]|0));)W7(e[(e[n+184>>2]|0)+(i<<2)>>2]|0),i=i+1|0;for(a=$[n+236>>1]|0,i=n;!((a|0)>($[i+238>>1]|0));){for(A=0;i=e[i+196>>2]|0,!((A|0)>=(e[i+(a<<6)>>2]|0));){s=(e[(e[i+(a<<6)+4>>2]|0)+(A<<2)>>2]|0)+16|0,i=e[s>>2]|0,e[i+236>>2]=A,i=e[i+188>>2]|0;e:do if(i|0)for(n=0;;){if(o=e[i+(n<<2)>>2]|0,!o)break e;l=o+16|0,(y[(e[l>>2]|0)+112>>0]|0)==4&&(R7(o),r0(e[l>>2]|0),r0(o),n=n+-1|0,i=e[(e[s>>2]|0)+188>>2]|0),n=n+1|0}while(0);A=A+1|0,i=e[c>>2]|0}l60(e[i+(a<<6)+56>>2]|0),a=a+1|0,i=e[c>>2]|0}g=p}function W7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(o=r+16|0,t=1;n=e[o>>2]|0,!((t|0)>(e[n+180>>2]|0));)W7(e[(e[n+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0;e:do if(e[n+268>>2]|0)for(i=$[n+236>>1]|0,t=n;;){if((i|0)>($[t+238>>1]|0))break e;A=e[(e[t+268>>2]|0)+(i<<2)>>2]|0,s=RM(r,A,-1)|0,A=RM(r,A,1)|0,e[(e[(e[o>>2]|0)+268>>2]|0)+(i<<2)>>2]=s,a=e[(e[(e[(fr(r)|0)+16>>2]|0)+196>>2]|0)+(i<<6)+4>>2]|0,s=e[(e[s+16>>2]|0)+236>>2]|0,n=e[o>>2]|0,l=e[n+196>>2]|0,e[l+(i<<6)+4>>2]=a+(s<<2),e[l+(i<<6)>>2]=(e[(e[A+16>>2]|0)+236>>2]|0)+1-s,i=i+1|0,t=n}while(0)}function l60(r){r=r|0,r|0&&(r0(e[r+8>>2]|0),r0(r))}function RM(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=t;t=s60(t,i)|0,!!t;){if(GM(r,t)|0){n=t;continue}o=(ZM(r,t)|0)==0,n=o?n:t}return n|0}function s60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return r||H0(85856,85781,1023,85858),(t|0)<0?(r=e[r+16>>2]|0,n=e[r+236>>2]|0,(n|0)>0?(r=(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(e[r+232>>2]<<6)+4|0,i=n+-1|0,o=7):l=0):(r=e[r+16>>2]|0,n=e[r+236>>2]|0,r=(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(e[r+232>>2]<<6)+4|0,i=n+1|0,o=7),(o|0)==7&&(r=e[(e[r>>2]|0)+(i<<2)>>2]|0,r?(N0((e[(e[r+16>>2]|0)+236>>2]|0)-n|0,t)|0)>0?l=r:H0(85867,85781,1029,85858):l=0),l|0}function GM(r,t){return r=r|0,t=t|0,y[(e[t+16>>2]|0)+156>>0]|0?r=0:r=(Mi(r,t)|0)!=0&1,r|0}function ZM(r,t){r=r|0,t=t|0;var i=0,n=0;if(t=e[t+16>>2]|0,(y[t+156>>0]|0)==1&&(e[t+176>>2]|0)==1&&(e[t+184>>2]|0)==1){for(t=e[t+180>>2]|0;t=e[t>>2]|0,i=e[t+16>>2]|0,y[i+112>>0]|0;)t=i+116|0;Mi(r,t)|0?t=1:n=7}else n=7;return(n|0)==7&&(t=0),t|0}function D7(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=e[47140]|0;e:do if((t|0)!=0|(e[47161]|0)!=0){if(t=wt(r,t,0)|0,t|0){switch(y[t>>0]|0){case 0:break e;case 111:{if(!(ge(t,86069)|0)){FM(r,1);break e}break}case 105:{if(!(ge(t,98735)|0)){FM(r,0);break e}break}default:}e[i>>2]=t,$0(1,86073,i)|0;break}for(t=yt(r)|0;t;)_j(t)|0||D7(t),t=Ct(t)|0;e[47161]|0&&u60(r)}while(0);g=n}function WM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(A=r+16|0,t=e[A>>2]|0,s=$[t+236>>1]|0;!((s|0)>($[t+238>>1]|0));){for(i=0,l=0;n=e[t+196>>2]|0,o=e[n+(s<<6)>>2]|0,!((l|0)>=(o|0));)n=e[(e[(e[n+(s<<6)+4>>2]|0)+(l<<2)>>2]|0)+16>>2]|0,y[n+158>>0]=0,y[n+157>>0]=0,e[n+284>>2]=l,(i|0)==0&(e[n+192>>2]|0)>0&&(i=A60(o,o)|0,t=e[A>>2]|0,e[(e[t+196>>2]|0)+(s<<6)+56>>2]=i,i=1),l=l+1|0;e:do if(i)for(l=0,i=o;;){if((l|0)>=(i|0))break e;o=e[(e[n+(s<<6)+4>>2]|0)+(l<<2)>>2]|0,y[(e[o+16>>2]|0)+157>>0]|0||(TM(r,o),t=e[A>>2]|0,i=e[t+196>>2]|0,n=i,i=e[i+(s<<6)>>2]|0),l=l+1|0}while(0);s=s+1|0}}function DM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;if(B=r+16|0,t=e[B>>2]|0,y[t+240>>0]|0){o=0,E=$[t+236>>1]|0,m=0,l=0;e:for(;!((E|0)>($[t+238>>1]|0));){if(i=e[t+196>>2]|0,n=e[i+(E<<6)>>2]|0,!n)n=m,i=l;else{for(i=e[i+(E<<6)+4>>2]|0,p=e[(e[(e[i>>2]|0)+16>>2]|0)+236>>2]|0,t=0;!((t|0)>=(n|0));)y[(e[(e[i+(t<<2)>>2]|0)+16>>2]|0)+157>>0]=0,t=t+1|0;for(t=(t<<2)+4|0,o?v=Oe(l,t)|0:v=_0(t)|0,c=0,w=0;t=e[B>>2]|0,i=e[t+196>>2]|0,n=e[i+(E<<6)>>2]|0,!((n|0)<=(w|0));){for(s=e[(e[i+(E<<6)+4>>2]|0)+((e[t+116>>2]&1|0?w:n+~w|0)<<2)>>2]|0,a=s+16|0,t=0,A=0;;){if(l=e[a>>2]|0,(t|0)>=(e[l+200>>2]|0)){i=0,n=0,t=l;break}l=A+((ep(r,e[(e[l+196>>2]|0)+(t<<2)>>2]|0)|0)!=0&1)|0,t=t+1|0,A=l}for(;!((n|0)>=(e[t+192>>2]|0));)l=i+((ep(r,e[(e[t+188>>2]|0)+(n<<2)>>2]|0)|0)!=0&1)|0,i=l,n=n+1|0,t=e[a>>2]|0;i|A?(A|0)==0&(y[t+157>>0]|0)==0?t=(jM(r,s,v+(c<<2)|0,E)|0)+c|0:t=c:(e[v+(c<<2)>>2]=s,t=c+1|0),c=t,w=w+1|0}r:do if(c){t:do if(e[t+116>>2]&1)n=0;else for(i=v,t=v+(c<<2)|0;;){if(t=t+-4|0,i>>>0>=t>>>0){n=0;break t}w=e[i>>2]|0,e[i>>2]=e[t>>2],e[t>>2]=w,i=i+4|0}while(0);for(;;){if(t=e[B>>2]|0,l=e[t+196>>2]|0,i=e[l+(E<<6)>>2]|0,(n|0)>=(i|0)){c=0,n=l;break}w=e[v+(n<<2)>>2]|0,e[(e[l+(E<<6)+4>>2]|0)+(n<<2)>>2]=w,e[(e[w+16>>2]|0)+236>>2]=n+p,n=n+1|0}for(;;){if((c|0)>=(i|0))break r;if(a=(e[(e[n+(E<<6)+4>>2]|0)+(c<<2)>>2]|0)+16|0,l=e[(e[a>>2]|0)+188>>2]|0,l){for(A=0,i=l;n=e[i+(A<<2)>>2]|0,t=e[B>>2]|0,!!n;){if(s=e[n>>2]&3,l=e[(e[(e[((s|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,s=e[(e[(e[((s|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,e[t+116>>2]&1?(l|0)>(s|0)?x=36:t=A:(l|0)<(s|0)?x=36:t=A,(x|0)==36){if(x=0,ep(r,n)|0){x=37;break e}R7(n),NM(r,n),t=A+-1|0,i=e[(e[a>>2]|0)+188>>2]|0}A=t+1|0}i=e[t+196>>2]|0,n=i,i=e[i+(E<<6)>>2]|0}c=c+1|0}}while(0);y[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(E<<6)+49>>0]=0,o=v,n=v,i=v}E=E+1|0,m=n,l=i}(x|0)==37&&H0(85915,85781,1561,85954),o|0&&r0(m)}}function MM(r){r=r|0;var t=0,i=0;i=r+16|0,r=e[i>>2]|0;e:do if(e[r+268>>2]|0)for(t=$[r+236>>1]|0;;){if((t|0)>($[r+238>>1]|0))break e;e[(e[r+268>>2]|0)+(t<<2)>>2]=e[e[(e[r+196>>2]|0)+(t<<6)+4>>2]>>2],t=t+1|0,r=e[i>>2]|0}while(0)}function ep(r,t){return r=r|0,t=t|0,e[(e[t+16>>2]|0)+156>>2]|0&&QM(r,e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0?r=(QM(r,e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0)!=0&1:r=0,r|0}function jM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;c=t+16|0,o=e[c>>2]|0,y[o+157>>0]=1;e:do if((e[o+192>>2]|0)>0)for(l=0,A=0;;){if(s=e[(e[o+188>>2]|0)+(A<<2)>>2]|0,!s)break e;ep(r,s)|0&&(a=e[((e[s>>2]&3|0)==2?s:s+-48|0)+40>>2]|0,(y[(e[a+16>>2]|0)+157>>0]|0)==0)&&(l=(jM(r,a,i+(l<<2)|0,n)|0)+l|0),A=A+1|0,o=e[c>>2]|0}else l=0;while(0);return(e[o+232>>2]|0)==(n|0)?(e[i+(l<<2)>>2]=t,l+1|0):(H0(85967,85781,1490,85983),0)}function NM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;s=e[t>>2]&3,A=e[((s|0)==2?t:t+-48|0)+40>>2]|0,n=e[(e[A+16>>2]|0)+188>>2]|0;e:do if(!n)i=t+48|0,w=15;else{for(c=t+48|0,o=((s|0)==3?t:c)+40|0,i=0;;){if(l=e[n+(i<<2)>>2]|0,!l){i=c,w=15;break e}if((e[((e[l>>2]&3|0)==2?l:l+-48|0)+40>>2]|0)==(e[o>>2]|0))break;i=i+1|0}Ss(t,l),i=(e[t+16>>2]|0)+172|0,e[i>>2]|0||(e[i>>2]=l),i=e[l+16>>2]|0,(y[i+112>>0]|0)==4&&(a=i+116|0,(e[a>>2]|0)==0)&&(e[a>>2]=t),i=e[(e[((e[t>>2]&3|0)==3?t:c)+40>>2]|0)+16>>2]|0,n=e[i+204>>2]|0,n?i=Oe(n,(e[i+208>>2]<<2)+8|0)|0:i=_0((e[i+208>>2]<<2)+8|0)|0,e[(e[(e[((e[t>>2]&3|0)==3?t:c)+40>>2]|0)+16>>2]|0)+204>>2]=i,s=e[(e[((e[t>>2]&3|0)==3?t:c)+40>>2]|0)+16>>2]|0,A=e[s+204>>2]|0,s=s+208|0,a=e[s>>2]|0,e[s>>2]=a+1,e[A+(a<<2)>>2]=t,t=e[(e[((e[t>>2]&3|0)==3?t:c)+40>>2]|0)+16>>2]|0,e[(e[t+204>>2]|0)+(e[t+208>>2]<<2)>>2]=0}while(0);(w|0)==15&&(w=z7(A,e[((s|0)==3?t:i)+40>>2]|0,t)|0,c=e[t+16>>2]|0,t=e[w+16>>2]|0,y[t+112>>0]=(y[c+112>>0]|0)==4?4:3,e[t+96>>2]=e[c+96>>2],bd(r,w))}function QM(r,t){r=r|0,t=t|0;var i=0;return i=GM(r,t)|0,ZM(r,t)|0|i|0}function A60(r,t){r=r|0,t=t|0;var i=0;return i=j0(12)|0,e[i>>2]=r,e[i+4>>2]=t,e[i+8>>2]=j0(N0(t,r)|0)|0,i|0}function TM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;v=t+16|0,c=e[v>>2]|0,a=e[(e[(e[r+16>>2]|0)+196>>2]|0)+(e[c+232>>2]<<6)+56>>2]|0,y[c+157>>0]=1,y[c+158>>0]=1,c=(e[(e[(fr(r)|0)+16>>2]|0)+180>>2]|0)>0,i=e[v>>2]|0,n=e[i+188>>2]|0;e:do if(n){w=a+4|0,p=a+8|0,t=0;r:for(;;){if(A=e[n+(t<<2)>>2]|0,!A){m=i;break e}c?Mi(r,e[((e[A>>2]&3|0)==3?A:A+48|0)+40>>2]|0)|0&&Mi(r,e[((e[A>>2]&3|0)==2?A:A+-48|0)+40>>2]|0)|0&&(E=7):E=7;do if((E|0)==7&&(E=0,l=A+16|0,e[(e[l>>2]|0)+156>>2]|0))if(i=e[A>>2]&3,o=A+-48|0,B=e[(e[((i|0)==2?A:o)+40>>2]|0)+16>>2]|0,s=e[B+284>>2]|0,n=(s|0)<(e[a>>2]|0),(y[B+158>>0]|0)==1){if(!n){E=10;break r}if(i=e[(e[(e[((i|0)==3?A:A+48|0)+40>>2]|0)+16>>2]|0)+284>>2]|0,n=e[w>>2]|0,(i|0)>=(n|0)){E=12;break r}if(y[(e[p>>2]|0)+((N0(n,s)|0)+i)>>0]=1,R7(A),t=t+-1|0,(y[(e[l>>2]|0)+112>>0]|0)==4)break;NM(r,A);break}else{if(!n){E=16;break r}if(i=e[(e[(e[((i|0)==3?A:A+48|0)+40>>2]|0)+16>>2]|0)+284>>2]|0,n=e[w>>2]|0,(i|0)>=(n|0)){E=18;break r}if(y[(e[p>>2]|0)+((N0(n,i)|0)+s)>>0]=1,i=e[((e[A>>2]&3|0)==2?A:o)+40>>2]|0,y[(e[i+16>>2]|0)+157>>0]|0)break;TM(r,i);break}while(0);n=e[v>>2]|0,t=t+1|0,i=n,n=e[n+188>>2]|0}(E|0)==10?H0(85993,85781,1251,86025):(E|0)==12?H0(86037,85781,1252,86025):(E|0)==16?H0(85993,85781,1260,86025):(E|0)==18&&H0(86037,85781,1261,86025)}else m=i;while(0);y[m+158>>0]=0}function FM(r,t){r=r|0,t=t|0;var i=0;for(i=U0(r)|0;i;)M7(r,i,t),i=X0(r,i)|0}function u60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=g,g=g+16|0,n=o,t=U0(r)|0;t;){i=wt(t,e[47161]|0,0)|0;e:do if(i|0){switch(y[i>>0]|0){case 0:break e;case 111:{if(!(ge(i,86069)|0)){M7(r,t,1);break e}break}case 105:{if(!(ge(i,98735)|0)){M7(r,t,0);break e}break}default:}l=te(t)|0,e[n>>2]=i,e[n+4>>2]=l,$0(1,86104,n)|0}while(0);t=X0(r,t)|0}g=o}function M7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=e[46740]|0,l=t+16|0,n=e[l>>2]|0;e:do if(!(e[n+212>>2]|0)){s=(i|0)!=0;r:do if(s)for(o=0,t=0,i=n;;){if(n=e[(e[i+180>>2]|0)+(o<<2)>>2]|0,!n)break r;PM(n)|0||(e[A+(t<<2)>>2]=n,t=t+1|0,i=e[l>>2]|0),o=o+1|0}else for(o=0,t=0,i=n;;){if(n=e[(e[i+172>>2]|0)+(o<<2)>>2]|0,!n)break r;PM(n)|0||(e[A+(t<<2)>>2]=n,t=t+1|0,i=e[l>>2]|0),o=o+1|0}while(0);if((t|0)>=2)for(e[A+(t<<2)>>2]=0,ei(A,t,4,61),l=s?2:3,o=s?-1:1,n=1;;){if(t=e[A+(n<<2)>>2]|0,!t||(i=e[A+(n+-1<<2)>>2]|0,i=e[((e[i>>2]&3|0)==(l|0)?i:i+(o*48|0)|0)+40>>2]|0,t=e[((e[t>>2]&3|0)==(l|0)?t:t+(o*48|0)|0)+40>>2]|0,BM(i,t)|0))break e;s=z7(i,t,0)|0,y[(e[s+16>>2]|0)+112>>0]=4,bd(r,s),n=n+1|0}}while(0)}function PM(r){r=r|0;for(var t=0;t=e[(e[r+16>>2]|0)+116>>2]|0,t;)r=t;return t=e[r>>2]&3,(e[(e[(e[((t|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0)!=(e[(e[(e[((t|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0)|0}function f60(r,t){return r=r|0,t=t|0,((e[e[r>>2]>>2]|0)>>>4)-((e[e[t>>2]>>2]|0)>>>4)|0}function a60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(n=e[r+16>>2]|0,o=n+220|0,l=e[o>>2]|0,(l|0)>=2){for(s=n+216|0,r=0,i=0;!((i|0)>=(l|0));){for(t=e[(e[s>>2]|0)+(i<<2)>>2]|0,r|0&&(e[(e[r+16>>2]|0)+164>>2]=t),A=e[t+16>>2]|0,e[A+168>>2]=r,r=t,t=A;t=e[t+164>>2]|0,!!t;)r=t,t=e[t+16>>2]|0;i=i+1|0}e[o>>2]=1,e[n+192>>2]=e[e[n+216>>2]>>2],$[n+236>>1]=e[46742],$[n+238>>1]=e[46743]}}function Bh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(l=e[46741]|0,s=l+16|0,i=e[s>>2]|0,n=0,o=$[i+236>>1]|0;!((o|0)>=($[i+238>>1]|0));)r=e[i+196>>2]|0,y[r+(o<<6)+49>>0]|0?(t=e[r+(o<<6)+52>>2]|0,r=i):(t=g60(l,o)|0,r=e[s>>2]|0,i=e[r+196>>2]|0,e[i+(o<<6)+52>>2]=t,y[i+(o<<6)+49>>0]=1),n=t+n|0,o=o+1|0,i=r;return n|0}function j7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(r=e[r+16>>2]|0,o=$[r+238>>1]|0,l=r+196|0,r=$[r+236>>1]|0;!((r|0)>(o|0));){for(n=e[l>>2]|0,i=e[n+(r<<6)>>2]|0,n=n+(r<<6)+4|0,t=0;!((t|0)>=(i|0));)s=e[(e[(e[n>>2]|0)+(t<<2)>>2]|0)+16>>2]|0,u[s+16>>3]=+(e[s+236>>2]|0),t=t+1|0;r=r+1|0}}function YM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(m=g,g=g+16|0,a=m,c=r+16|0,w=SQ(e[(e[c>>2]|0)+232>>2]|0)|0,s=e[c>>2]|0,i=s+192|0,n=i;n=e[n>>2]|0,!!n;)n=e[n+16>>2]|0,y[n+157>>0]=0,n=n+164|0;for(o=$[s+238>>1]|0,l=s+196|0,n=$[s+236>>1]|0;!((n|0)>(o|0));)e[(e[l>>2]|0)+(n<<6)>>2]=0,n=n+1|0;for(l=(t|0)==0;n=e[i>>2]|0,!!n;){if(o=n+16|0,i=e[o>>2]|0,!(e[e[(l?i+172|0:i+180|0)>>2]>>2]|0)&&(A=i+157|0,(y[A>>0]|0)==0)){for(y[A>>0]=1,Th(w,n);i=SC(w)|0,!!i;)if((y[(e[i+16>>2]|0)+159>>0]|0)==7){Zw0(r,i,t,w);continue}else{VM(r,i),HM(w,i,t);continue}i=e[o>>2]|0}i=i+164|0}for(SC(w)|0&&$0(1,86312,a)|0,i=e[c>>2]|0,s=$[i+236>>1]|0;!((s|0)>($[i+238>>1]|0));){if(y[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(s<<6)+49>>0]=0,e[i+116>>2]&1|0&&(p=e[i+196>>2]|0,v=e[p+(s<<6)>>2]|0,(v|0)>0)){for(n=e[p+(s<<6)+4>>2]|0,o=v+-1|0,l=(o|0)/2|0,i=0;!((i|0)>(l|0));)Ih(e[n+(i<<2)>>2]|0,e[n+(o-i<<2)>>2]|0),i=i+1|0;i=e[c>>2]|0}s=s+1|0}(fr(r)|0)==(r|0)&&(Bh(0)|0)>0&&N7(r,0),_Q(w),g=m}function OM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(c=r+16|0,r=e[c>>2]|0,i=$[r+236>>1]|0,t=$[r+238>>1]|0,A=t<<16>>16,a=r+196|0,n=i;!((n|0)>(A|0));){for(s=e[a>>2]|0,l=e[s+(n<<6)>>2]|0,s=s+(n<<6)+4|0,o=0;!((o|0)>=(l|0));)w=e[(e[(e[s>>2]|0)+(o<<2)>>2]|0)+16>>2]|0,e[w+236>>2]=~~+u[w+16>>3],o=o+1|0;n=n+1|0}for(;!((i|0)>(t<<16>>16|0));)y[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(i<<6)+49>>0]=0,w=e[r+196>>2]|0,ei(e[w+(i<<6)+4>>2]|0,e[w+(i<<6)>>2]|0,4,62),w=e[c>>2]|0,i=i+1|0,t=$[w+238>>1]|0,r=w}function c60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=((t|0)%4|0|0)<2&1,i=e[r+16>>2]|0,t&1?(t=$[i+238>>1]|0,n=-1,i=$[i+236>>1]|0,t=((t<<16>>16>=($[(e[(e[46741]|0)+16>>2]|0)+238>>1]|0))<<31>>31)+(t<<16>>16)|0):(t=$[i+236>>1]|0,n=1,i=$[i+238>>1]|0,t=(t<<16>>16<=($[(e[(e[46741]|0)+16>>2]|0)+236>>1]|0)&1)+(t<<16>>16)|0),i=n+i|0;(t|0)!=(i|0);)k60(r,t,o,(p60(r,t,t-n|0)|0)&255),t=t+n|0;N7(r,o^1)}function N7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=r+16|0,n=e[A>>2]|0,l=$[n+236>>1]|0,s=$[n+238>>1]|0,o=n+196|0,i=l<<16>>16;;){if((i|0)>(s|0)){o=l;break}y[(e[o>>2]|0)+(i<<6)+48>>0]=1,i=i+1|0}for(;;){for(i=0,o=o<<16>>16;!((o|0)>($[n+238>>1]|0));)y[(e[n+196>>2]|0)+(o<<6)+48>>0]|0&&(i=(d60(r,o,t)|0)+i|0,n=e[A>>2]|0),o=o+1|0;if((i|0)<=0)break;o=$[n+236>>1]|0}}function h60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;p=r+16|0,t=e[p>>2]|0,w=$[t+238>>1]|0;e:for(;;){if((w|0)<($[t+236>>1]|0)){t=16;break}i=e[t+196>>2]|0,y[i+(w<<6)+48>>0]=0,v=(w|0)>0,m=w+1|0,n=0;r:for(;;){for(a=(e[i+(w<<6)>>2]|0)+-1|0,c=i+(w<<6)+4|0,A=i+(m<<6)|0;;){if((n|0)>=(a|0))break r;if(s=e[c>>2]|0,l=e[s+(n<<2)>>2]|0,n=n+1|0,s=e[s+(n<<2)>>2]|0,(e[(e[l+16>>2]|0)+236>>2]|0)>=(e[(e[s+16>>2]|0)+236>>2]|0)){t=7;break e}if(!(Q7(r,l,s)|0)&&(v?(i=rp(l,s)|0,o=rp(s,l)|0):(i=0,o=0),(e[A>>2]|0)>0&&(i=(tp(l,s)|0)+i|0,o=(tp(s,l)|0)+o|0),(o|0)<=(i|0)))break}w60(r,w,l,s),t=e[p>>2]|0,i=e[t+196>>2]|0}w=w+-1|0}if((t|0)==7)H0(86263,85781,721,86289);else if((t|0)==16)return}function Q7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;A=e[t+16>>2]|0,s=e[A+212>>2]|0,n=e[i+16>>2]|0,o=e[n+212>>2]|0,l=(s|0)!=(o|0);do if(y[193769]|0)l?r=1:a=9;else if((o|0)==0|((s|0)==0|l^1))a=9;else{if((y[A+159>>0]|0)==7&&(y[A+156>>0]|0)==1){r=0;break}if((y[n+159>>0]|0)==7&&(y[n+156>>0]|0)==1){r=0;break}r=1}while(0);return(a|0)==9&&(n=e[r+16>>2]|0,r=e[(e[n+196>>2]|0)+(e[A+232>>2]<<6)+56>>2]|0,r?(A=(e[n+116>>2]&1|0)==0,a=N0(e[r+4>>2]|0,e[(e[(A?t:i)+16>>2]|0)+284>>2]|0)|0,r=y[(e[r+8>>2]|0)+((e[(e[(A?i:t)+16>>2]|0)+284>>2]|0)+a)>>0]|0):r=0),r|0}function rp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(a=r+16|0,s=e[(e[t+16>>2]|0)+172>>2]|0,t=0;r=e[s>>2]|0,!!r;){for(l=e[r+16>>2]|0,A=$[l+154>>1]|0,o=e[(e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,l=l+16|0,n=e[(e[a>>2]|0)+172>>2]|0,r=t;t=e[n>>2]|0,!!t;)i=(e[(e[(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-o|0,(i|0)<=0?!(i|0)&&(c=e[t+16>>2]|0,+u[c+16>>3]>+u[l>>3])&&(t=c,w=9):(t=e[t+16>>2]|0,w=9),(w|0)==9&&(w=0,r=(N0($[t+154>>1]|0,A)|0)+r|0),n=n+4|0;s=s+4|0,t=r}return t|0}function tp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(a=r+16|0,s=e[(e[t+16>>2]|0)+180>>2]|0,t=0;r=e[s>>2]|0,!!r;){for(l=e[r+16>>2]|0,A=$[l+154>>1]|0,o=e[(e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,l=l+56|0,n=e[(e[a>>2]|0)+180>>2]|0,r=t;t=e[n>>2]|0,!!t;)i=(e[(e[(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-o|0,(i|0)<=0?!(i|0)&&(c=e[t+16>>2]|0,+u[c+56>>3]>+u[l>>3])&&(t=c,w=9):(t=e[t+16>>2]|0,w=9),(w|0)==9&&(w=0,r=(N0($[t+154>>1]|0,A)|0)+r|0),n=n+4|0;s=s+4|0,t=r}return t|0}function w60(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;if(s=y[(e[i+16>>2]|0)+156>>0]|0,s<<24>>24!=(y[(e[n+16>>2]|0)+156>>0]|0)){for(A=r+16|0,c=e[(e[A>>2]|0)+196>>2]|0,a=e[c+(t<<6)>>2]|0,c=c+(t<<6)+4|0,r=0,o=0,l=0;!((r|0)>=(a|0));)v=(y[(e[(e[(e[c>>2]|0)+(r<<2)>>2]|0)+16>>2]|0)+156>>0]|0)==0,r=r+1|0,o=o+(v&1)|0,l=l+((v^1)&1)|0;for(s=s<<24>>24==0,l=(o|0)<(l|0)?s?i:n:s?n:i,s=0,r=0;!((r|0)>=(a|0));)s=(e[(e[c>>2]|0)+(r<<2)>>2]|0)==(l|0)?r:s,r=r+1|0;for(v=(y[(e[l+16>>2]|0)+156>>0]|0)==0&1,p=0,o=s;;){if(r=o+-1|0,(o|0)<=0){w=0,r=s;break}if((y[(e[(e[(e[c>>2]|0)+(r<<2)>>2]|0)+16>>2]|0)+156>>0]|0)!=(v|0)){w=0,r=s;break}p=p+1|0,o=r}for(;r=r+1|0,!((r|0)>=(a|0)||(y[(e[(e[(e[c>>2]|0)+(r<<2)>>2]|0)+16>>2]|0)+156>>0]|0)!=(v|0));)w=w+1|0;for(Ih(i,n),A=e[(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)>>2]|0,(e[(e[s+16>>2]|0)+236>>2]|0)>=(e[(e[A+16>>2]|0)+236>>2]|0)){i=5;break e}if(!(Q7(r,s,A)|0)){if(E?(i=rp(s,A)|0,n=rp(A,s)|0):(i=0,n=0),(e[o>>2]|0)>0&&(i=(tp(s,A)|0)+i|0,n=(tp(A,s)|0)+n|0),(i|0)>(n|0))break;if((i|0)==(n|0)&(p&(i|0)>0)){i=n;break}}}if(Ih(s,A),l=i-n+l|0,n=e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0,y[n+(t<<6)+49>>0]=0,o=e[m>>2]|0,i=e[o+196>>2]|0,y[i+(t<<6)+48>>0]=1,($[o+236>>1]|0)<(t|0)&&(y[n+(v<<6)+49>>0]=0,y[i+(v<<6)+48>>0]=1),($[o+238>>1]|0)<=(t|0)){n=w;continue}y[n+(B<<6)+49>>0]=0,y[i+(B<<6)+48>>0]=1,n=w}if((i|0)==5)H0(86263,85781,770,86297);else if((i|0)==17)return l|0;return 0}function p60(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(p=e[46739]|0,v=r+16|0,r=e[(e[v>>2]|0)+196>>2]|0,m=e[r+(t<<6)+4>>2]|0,c=(i|0)>(t|0),w=p+4|0,a=0;;){if(i=e[r+(t<<6)>>2]|0,(a|0)>=(i|0)){r=0,l=0;break}A=(e[m+(a<<2)>>2]|0)+16|0,r=e[A>>2]|0;e:do if(c)for(s=e[r+180>>2]|0,r=0,l=0;;){if(i=e[s+(l<<2)>>2]|0,!i)break e;n=e[i+16>>2]|0,($[n+154>>1]|0)>0&&(e[p+(r<<2)>>2]=e[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]<<8|s0[n+88>>0],r=r+1|0),l=l+1|0}else for(s=e[r+172>>2]|0,l=0,r=0;;){if(i=e[s+(l<<2)>>2]|0,!i)break e;n=e[i+16>>2]|0,($[n+154>>1]|0)>0&&(e[p+(r<<2)>>2]=e[(e[(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+236>>2]<<8|s0[n+48>>0],r=r+1|0),l=l+1|0}while(0);e:do switch(r|0){case 0:{o=-1;break}case 1:{o=+(e[p>>2]|0);break}case 2:{o=+(((e[w>>2]|0)+(e[p>>2]|0)|0)/2|0|0);break}default:{if(ei(p,r,4,60),i=(r|0)/2|0,r&1|0){o=+(e[p+(i<<2)>>2]|0);break e}if(l=e[p+(i<<2)>>2]|0,n=(e[p+(r+-1<<2)>>2]|0)-l|0,r=e[p+(i+-1<<2)>>2]|0,i=r-(e[p>>2]|0)|0,(i|0)==(n|0)){o=+((r+l|0)/2|0|0);break e}else{o=+(((N0(i,l)|0)+(N0(r,n)|0)|0)/(i+n|0)|0|0);break e}}}while(0);u[(e[A>>2]|0)+240>>3]=o,a=a+1|0,r=e[(e[v>>2]|0)+196>>2]|0}for(;!((l|0)>=(i|0));)n=e[m+(l<<2)>>2]|0,p=e[n+16>>2]|0,!(e[p+184>>2]|0)&&!(e[p+176>>2]|0)&&(r=(v60(n)|0|r&255)&255,i=e[(e[(e[v>>2]|0)+196>>2]|0)+(t<<6)>>2]|0),l=l+1|0;return r|0}function k60(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(p=e[(e[r+16>>2]|0)+196>>2]|0,B=e[p+(t<<6)+4>>2]|0,p=e[p+(t<<6)>>2]|0,m=(i|0)!=0,v=(n|i|0)==0,n=0,i=p,p=B+(p<<2)|0;w=i+-1|0,(i|0)>0;){i=B;e:for(;;){r:for(;;){if(i>>>0>=p>>>0)break e;for(;;){if(i>>>0>=p>>>0)break e;if(a=e[i>>2]|0,c=+u[(e[a+16>>2]|0)+240>>3],!(c<0))break;i=i+4|0}for(A=0;;){for(o=A<<24>>24==0;;){if(i=i+4|0,i>>>0>=p>>>0)break e;if(o){o=11;break}if(l=e[i>>2]|0,!(e[(e[l+16>>2]|0)+212>>2]|0)){o=13;break}}if((o|0)==11?(l=e[i>>2]|0,s=l):(o|0)==13&&(s=l),Q7(r,a,s)|0)continue r;if(o=e[l+16>>2]|0,+u[o+240>>3]>=0)break;A=e[o+212>>2]|0?1:A}if(o=~~c,A=~~+u[(e[l+16>>2]|0)+240>>3],(o|0)>(A|0)|m&(o|0)==(A|0))break}Ih(a,s),n=n+1|0}i=w,p=v?p+-4|0:p}n|0&&(E=e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0,y[E+(t<<6)+49>>0]=0,(t|0)>0)&&(y[E+(t+-1<<6)+49>>0]=0)}function v60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(l=e[r+16>>2]|0,(e[l+200>>2]|0)>0){for(o=e[l+196>>2]|0,r=e[o>>2]|0,r=e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0,i=1;n=e[o+(i<<2)>>2]|0,!!n;)n=e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0,r=(e[(e[n+16>>2]|0)+236>>2]|0)>(e[(e[r+16>>2]|0)+236>>2]|0)?n:r,i=i+1|0;t=+u[(e[r+16>>2]|0)+240>>3],t>=0?(u[l+240>>3]=t+1,r=0):r=1}else if((e[l+192>>2]|0)>0){for(n=e[l+188>>2]|0,i=e[n>>2]|0,r=1,i=e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0;o=e[n+(r<<2)>>2]|0,!!o;)o=e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0,r=r+1|0,i=(e[(e[o+16>>2]|0)+236>>2]|0)<(e[(e[i+16>>2]|0)+236>>2]|0)?o:i;t=+u[(e[i+16>>2]|0)+240>>3],t>0?(u[l+240>>3]=t+-1,r=0):r=1}else r=1;return r|0}function m60(r,t){return r=r|0,t=t|0,(e[(e[(e[r>>2]|0)+16>>2]|0)+236>>2]|0)-(e[(e[(e[t>>2]|0)+16>>2]|0)+236>>2]|0)|0}function VM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+96|0,p=v+64|0,w=v+48|0,l=v+24|0,n=v,A=t+16|0,a=e[(e[A>>2]|0)+232>>2]|0,c=r+16|0,i=e[(e[c>>2]|0)+196>>2]|0,s=e[i+(a<<6)>>2]|0;do if((e[i+(a<<6)+8>>2]|0)>=1){if(e[(e[i+(a<<6)+4>>2]|0)+(s<<2)>>2]=t,e[(e[A>>2]|0)+236>>2]=s,r=e[c>>2]|0,n=e[r+196>>2]|0,i=n+(a<<6)|0,o=e[i>>2]|0,e[i>>2]=o+1,(o|0)>=(e[n+(a<<6)+8>>2]|0)&&H0(86377,85781,1346,86413),o=e[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(a<<6)+8>>2]|0,(s|0)>(o|0)){c=te(t)|0,w=e[(e[A>>2]|0)+236>>2]|0,p=e[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(a<<6)+8>>2]|0,e[l>>2]=1359,e[l+4>>2]=c,e[l+8>>2]=w,e[l+12>>2]=a,e[l+16>>2]=p,$0(1,86429,l)|0;break}if(i=$[r+236>>1]|0,r=$[r+238>>1]|0,(a|0)<(i|0)|(a|0)>(r<<16>>16|0)){e[w>>2]=1364,e[w+4>>2]=a,e[w+8>>2]=i,e[w+12>>2]=r<<16>>16,$0(1,86502,w)|0;break}((e[n+(a<<6)+4>>2]|0)+(s<<2)|0)>>>0>((e[n+(a<<6)+12>>2]|0)+(o<<2)|0)>>>0&&(s=te(t)|0,w=e[(e[c>>2]|0)+196>>2]|0,c=(e[w+(a<<6)+4>>2]|0)+(e[(e[A>>2]|0)+236>>2]<<2)|0,w=(e[w+(a<<6)+12>>2]|0)+(e[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(a<<6)+8>>2]<<2)|0,e[p>>2]=1370,e[p+4>>2]=a,e[p+8>>2]=s,e[p+12>>2]=c,e[p+16>>2]=a,e[p+20>>2]=a,e[p+24>>2]=w,$0(1,86563,p)|0)}else w=te(r)|0,p=te(t)|0,e[n>>2]=1339,e[n+4>>2]=w,e[n+8>>2]=p,e[n+12>>2]=a,e[n+16>>2]=s,$0(1,86322,n)|0;while(0);g=v}function HM(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=t+16|0;e:do if(i)for(o=0;;){if(t=e[l>>2]|0,(o|0)>=(e[t+176>>2]|0))break e;t=e[(e[t+172>>2]|0)+(o<<2)>>2]|0,i=t+48|0,n=(e[(e[((e[t>>2]&3|0)==3?t:i)+40>>2]|0)+16>>2]|0)+157|0,y[n>>0]|0||(y[n>>0]=1,Th(r,e[((e[t>>2]&3|0)==3?t:i)+40>>2]|0)),o=o+1|0}else for(o=0;;){if(t=e[l>>2]|0,(o|0)>=(e[t+184>>2]|0))break e;t=e[(e[t+180>>2]|0)+(o<<2)>>2]|0,i=t+-48|0,n=(e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0)+157|0,y[n>>0]|0||(y[n>>0]=1,Th(r,e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)),o=o+1|0}while(0)}function g60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(z=g,g=g+16|0,x=z,n=r+16|0,i=e[(e[n>>2]|0)+196>>2]|0,E=e[i+(t<<6)+4>>2]|0,B=t+1|0,r=e[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(B<<6)>>2]|0,(e[46745]|0)>(r|0)?v=e[46746]|0:(r=r+1|0,e[46745]=r,i=e[46746]|0,i?r=Oe(i,r<<2)|0:r=_0(r<<2)|0,e[46746]=r,i=e[(e[n>>2]|0)+196>>2]|0,v=r),m=i+(B<<6)|0,r=0;!((r|0)>=(e[m>>2]|0));)e[v+(r<<2)>>2]=0,r=r+1|0;for(p=i+(t<<6)|0,w=0,o=0,r=0,s=v;A=e[p>>2]|0,!((w|0)>=(A|0));){c=e[(e[(e[E+(w<<2)>>2]|0)+16>>2]|0)+180>>2]|0;e:do if((o|0)>0)for(a=0;;){if(n=e[c+(a<<2)>>2]|0,!n)break e;for(A=n+16|0,l=e[(e[(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0;n=l+1|0,!((l|0)>=(o|0));)l=n,r=(N0(e[s+(n<<2)>>2]|0,$[(e[A>>2]|0)+154>>1]|0)|0)+r|0;a=a+1|0}while(0);for(l=0;n=e[c+(l<<2)>>2]|0,!!n;)s=e[(e[(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,a=v+(s<<2)|0,e[a>>2]=(e[a>>2]|0)+($[(e[n+16>>2]|0)+154>>1]|0),o=(s|0)>(o|0)?s:o,l=l+1|0,s=v;w=w+1|0}for(l=i+(t<<6)+4|0,o=0;!((o|0)>=(A|0));)n=e[(e[(e[l>>2]|0)+(o<<2)>>2]|0)+16>>2]|0,y[n+145>>0]|0&&(t=n+180|0,e[x>>2]=e[t>>2],e[x+4>>2]=e[t+4>>2],r=(JM(x,1)|0)+r|0),o=o+1|0;for(l=e[m>>2]|0,o=i+(B<<6)+4|0,n=0;!((n|0)>=(l|0));)i=e[(e[(e[o>>2]|0)+(n<<2)>>2]|0)+16>>2]|0,y[i+145>>0]|0&&(B=i+172|0,e[x>>2]=e[B>>2],e[x+4>>2]=e[B+4>>2],r=(JM(x,-1)|0)+r|0),n=n+1|0;return g=z,r|0}function JM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;w=(t|0)<1,a=e[r>>2]|0,t=0,r=0;e:for(;c=e[a+(t<<2)>>2]|0,!!c;)if(t=t+1|0,w)for(s=c+48|0,A=c+16|0,l=t;;){if(i=e[a+(l<<2)>>2]|0,!i)continue e;n=e[i+16>>2]|0,o=e[A>>2]|0,(+u[n+56>>3]-+u[o+56>>3])*+((e[(e[(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-(e[(e[(e[((e[c>>2]&3|0)==3?c:s)+40>>2]|0)+16>>2]|0)+236>>2]|0)|0)<0&&(r=(N0($[n+154>>1]|0,$[o+154>>1]|0)|0)+r|0),l=l+1|0}else for(s=c+-48|0,A=c+16|0,l=t;;){if(i=e[a+(l<<2)>>2]|0,!i)continue e;n=e[i+16>>2]|0,o=e[A>>2]|0,(+u[n+16>>3]-+u[o+16>>3])*+((e[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-(e[(e[(e[((e[c>>2]&3|0)==2?c:s)+40>>2]|0)+16>>2]|0)+236>>2]|0)|0)<0&&(r=(N0($[n+154>>1]|0,$[o+154>>1]|0)|0)+r|0),l=l+1|0}return r|0}function y60(r){r=r|0;var t=0,i=0;e[46744]=8,e[47136]=24,u[23215]=.995,r=he(r,86685)|0,r|0&&(t=+Fl(r),t>0)&&(i=t*+(e[46744]|0),e[46744]=~~(i>1?i:1),t=t*+(e[47136]|0),e[47136]=~~(t>1?t:1))}function C60(r){r=r|0;var t=0,i=0;i=($[(e[r+16>>2]|0)+238>>1]|0)+2|0,t=j0(i<<2)|0,XM(r,t,i,0)|0,r0(t)}function UM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(l=r+16|0,s=j0(($[(e[l>>2]|0)+238>>1]<<2)+8|0)|0,o=U0(r)|0;o;){for(n=s+(e[(e[o+16>>2]|0)+232>>2]<<2)|0,e[n>>2]=(e[n>>2]|0)+1,n=Me(r,o)|0;n;){for(A=e[n>>2]&3,t=e[(e[(e[((A|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0,A=e[(e[(e[((A|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0,a=(t|0)>(A|0),i=a?t:A,t=a?A:t;t=t+1|0,!((t|0)>=(i|0));)a=s+(t<<2)|0,e[a>>2]=(e[a>>2]|0)+1;n=Qe(r,n)|0}o=X0(r,o)|0}for(n=j0(($[(e[l>>2]|0)+238>>1]<<6)+128|0)|0,i=e[l>>2]|0,e[i+196>>2]=n,t=$[i+236>>1]|0;!((t|0)>($[i+238>>1]|0));)A=s+(t<<2)|0,i=e[A>>2]|0,e[n+(t<<6)>>2]=i,e[n+(t<<6)+8>>2]=i,A=j0((e[A>>2]<<2)+4|0)|0,i=e[l>>2]|0,a=e[i+196>>2]|0,e[a+(t<<6)+4>>2]=A,e[a+(t<<6)+12>>2]=A,t=t+1|0,n=a;r0(s)}function XM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(c=r+16|0,l=1;o=e[c>>2]|0,!((l|0)>(e[o+180>>2]|0));)a=XM(e[(e[o+184>>2]|0)+(l<<2)>>2]|0,t,i,n)|0,l=l+1|0,n=a;e:do if((fr(r)|0)!=(r|0)){for(Ur(t|0,0,i<<2|0)|0,o=U0(r)|0;o;){for(A=o+16|0,e[t+(e[(e[A>>2]|0)+232>>2]<<2)>>2]=1,l=Me(r,o)|0;l;){for(a=l+-48|0,s=e[(e[A>>2]|0)+232>>2]|0;i=s+1|0,!((s|0)>=(e[(e[(e[((e[l>>2]&3|0)==2?l:a)+40>>2]|0)+16>>2]|0)+232>>2]|0));)e[t+(i<<2)>>2]=1,s=i;l=Qe(r,l)|0}o=X0(r,o)|0}for(o=e[c>>2]|0,l=$[o+236>>1]|0;;){if((l|0)>($[o+238>>1]|0))break e;e[t+(l<<2)>>2]|0||(n||(n=ji(fr(r)|0,86675,1)|0),o=ht(n,0,1)|0,$e(o,137447,304,1)|0,a=o+16|0,s=e[a>>2]|0,e[s+232>>2]=l,u[s+96>>3]=.5,u[s+88>>3]=.5,u[s+80>>3]=1,e[s+216>>2]=1,e[s+176>>2]=0,s=j0(20)|0,A=e[a>>2]|0,e[A+172>>2]=s,e[A+184>>2]=0,A=j0(20)|0,e[(e[a>>2]|0)+180>>2]=A,ct(r,o,1)|0,o=e[c>>2]|0),l=l+1|0}}while(0);return n|0}function qM(r){r=r|0;var t=0,i=0;for(MM(r),t=r+16|0,r=1;i=e[t>>2]|0,!((r|0)>(e[i+180>>2]|0));)qM(e[(e[i+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0}function E60(r){r=r|0;var t=0,i=0;t=e[r>>2]&3,i=$M(e[((t|0)==3?r:r+48|0)+40>>2]|0)|0,t=e[17308+(i*12|0)+(($M(e[((t|0)==2?r:r+-48|0)+40>>2]|0)|0)<<2)>>2]|0,r=(e[r+16>>2]|0)+156|0,e[r>>2]=N0(e[r>>2]|0,t)|0}function $M(r){return r=r|0,r=e[r+16>>2]|0,(y[r+156>>0]|0)==1?r=2:r=(y[r+160>>0]|0)<2&1,r|0}function KM(r,t){r=r|0,t=t|0,e[(e[r+16>>2]|0)+192>>2]|0&&(U7(r),bM(r),y[194954]|0&&Nw0(r),B60(r),Xw0(r)|0&&bM(r),I60(r),Bf(r,2,ej(r)|0)|0&&(x60(r),Bf(r,2,ej(r)|0)|0)&&H0(86693,86721,134,86732),S60(r),_60(r,t),z60(r))}function bM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0;for(z=r+16|0,t=e[z>>2]|0,_=e[t+196>>2]|0,B=$[t+236>>1]|0;!((B|0)>($[t+238>>1]|0));){for(c=_+(B<<6)|0,w=_+(B<<6)+4|0,p=_+(B<<6)+40|0,v=_+(B<<6)+24|0,m=_+(B<<6)+32|0,E=_+(B<<6)+16|0,a=0;!((a|0)>=(e[c>>2]|0));){A=(e[(e[w>>2]|0)+(a<<2)>>2]|0)+16|0,t=e[A>>2]|0,l=+u[t+80>>3]*.5,o=e[t+204>>2]|0;e:do if(o)for(n=0;;){if(i=e[o+(n<<2)>>2]|0,!i)break e;L=e[i>>2]&3,(e[((L|0)==3?i:i+48|0)+40>>2]|0)==(e[((L|0)==2?i:i+-48|0)+40>>2]|0)&&(x=e[(e[i+16>>2]|0)+96>>2]|0,(x|0)!=0)&&(s=+u[x+32>>3]*.5,l=l>s?l:s),n=n+1|0}while(0);+u[p>>3]>3]=l,u[p>>3]=l),+u[m>>3]>3]=l,u[m>>3]=l),i=e[t+212>>2]|0,i|0&&((i|0)==(r|0)?n=0:(n=pr(i,e[47144]|0,8,0)|0,t=e[A>>2]|0),o=e[t+232>>2]|0,i=e[i+16>>2]|0,t=i+128|0,l=l+ +(n|0),(o|0)==($[i+236>>1]|0)&&(s=+u[t>>3],u[t>>3]=s>l?s:l),t=i+120|0,(o|0)==($[i+238>>1]|0)&&(s=+u[t>>3],u[t>>3]=s>l?s:l)),a=a+1|0}B=B+1|0,t=e[z>>2]|0}for(a=pj(r)|0,n=e[z>>2]|0,t=$[n+238>>1]|0,u[(e[(e[e[_+(t<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]=+u[_+(t<<6)+16>>3],i=$[n+236>>1]|0,o=n+252|0,s=0;A=t+-1|0,!((t|0)<=(i|0));)G=+u[_+(A<<6)+32>>3]+ +u[_+(t<<6)+40>>3]+ +(e[o>>2]|0),l=+u[_+(t<<6)+24>>3]+8+ +u[_+(A<<6)+16>>3],l=G>l?G:l,(e[_+(A<<6)>>2]|0)>0&&(u[(e[(e[e[_+(A<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]=+u[(e[(e[e[_+(t<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]+l),s=s>l?s:l,t=A;e:do if(a|0&&e[n+116>>2]&1|0&&(kj(r,0),n=e[z>>2]|0,y[n+276>>0]|0))for(t=$[n+238>>1]|0,i=$[n+236>>1]|0,l=+u[(e[(e[e[_+(t<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],s=0;;){if(o=t+-1|0,(t|0)<=(i|0))break e;W=+u[(e[(e[e[_+(o<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],G=W-l,l=W,s=s>G?s:G,t=o}while(0);e:do if(y[n+276>>0]|0)for(o=$[n+236>>1]|0,i=$[n+238>>1]|0;;){if(t=i+-1|0,(i|0)<=(o|0))break e;if((e[_+(t<<6)>>2]|0)<=0){i=t;continue}u[(e[(e[e[_+(t<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]=+u[(e[(e[e[_+(i<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]+s,i=t}while(0);for(t=n+192|0;t=e[t>>2]|0,!!t;)t=e[t+16>>2]|0,u[t+24>>3]=+u[(e[(e[e[_+(e[t+232>>2]<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],t=t+164|0}function B60(r){r=r|0;var t=0,i=0,n=0;for(N60(r),t=(e[r+16>>2]|0)+192|0;t=e[t>>2]|0,!!t;){if(n=t+16|0,t=e[n>>2]|0,i=e[t+224>>2]|0,i&&(hj(r,i),t=e[n>>2]|0),i=e[t+228>>2]|0,i?(hj(r,i),i=e[n>>2]|0):i=t,n=e[i+204>>2]|0,n|0)for(t=0;e[n+(t<<2)>>2]|0;)t=t+1|0;t=i+164|0}}function I60(r){r=r|0,Z60(r),W60(r),D60(r),M60(r),j60(r)}function ej(r){r=r|0;var t=0,i=0;return t=he(r,86921)|0,t?(i=+Fl(t),r=~~(i*+(v2(r)|0))):r=2147483647,r|0}function x60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(E=r+16|0,t=e[E>>2]|0,m=$[t+236>>1]|0;;){if(v=$[t+238>>1]|0,(m|0)>(v|0)){B=19;break}w=e[t+196>>2]|0,p=w+(m<<6)|0,c=e[p>>2]|0,w=w+(m<<6)+4|0,a=0,i=0;e:for(;;){if((a|0)>=(c|0)){B=14;break}i=e[(e[w>>2]|0)+(a<<2)>>2]|0,o=e[i+16>>2]|0,l=e[o+256>>2]|0;r:do if(l|0)for(n=0;;){if(s=e[l+(n<<2)>>2]|0,!s)break r;if(A=e[s>>2]&3,(e[(e[(e[((A|0)==2?s:s+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(m|0)||(e[(e[(e[((A|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(m|0))break e;n=n+1|0}while(0);o=e[o+248>>2]|0;r:do if(o|0)for(n=0;;){if(l=e[o+(n<<2)>>2]|0,!l)break r;if(s=e[l>>2]&3,(e[(e[(e[((s|0)==3?l:l+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(m|0)||(e[(e[(e[((s|0)==2?l:l+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(m|0))break e;n=n+1|0}while(0);a=a+1|0}if((B|0)==14&&(B=0,i)){if(i=e[e[w>>2]>>2]|0,t=e[e[p+(((m|0)<(v|0)?1:-1)<<6)+4>>2]>>2]|0,!t){B=16;break}p=Ml(r)|0,v=p+16|0,y[(e[v>>2]|0)+156>>0]=2,gi(p,i,0,0)|0,gi(p,t,0,0)|0,e[(e[v>>2]|0)+232>>2]=e[(e[((e[(e[i+16>>2]|0)+232>>2]|0)<(e[(e[t+16>>2]|0)+232>>2]|0)?i:t)+16>>2]|0)+232>>2],t=e[E>>2]|0}m=m+1|0}if((B|0)==16)H0(86829,86721,111,86832);else if((B|0)==19)return}function S60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(r=e[r+16>>2]|0,l=e[r+196>>2]|0,i=$[r+238>>1]|0,r=$[r+236>>1]|0;!((r|0)>(i|0));){for(n=e[l+(r<<6)>>2]|0,o=l+(r<<6)+4|0,t=0;!((t|0)>=(n|0));)A=e[(e[(e[o>>2]|0)+(t<<2)>>2]|0)+16>>2]|0,s=A+232|0,u[A+16>>3]=+(e[s>>2]|0),e[s>>2]=r,t=t+1|0;r=r+1|0}}function _60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;rj(r,r),o=r+16|0,A=e[o>>2]|0;e:do if(($[A+238>>1]|0)>0&&(s=e[A+8>>2]|0,i=e[s+84>>2]|0,i|0)){p=~~(+u[A+32>>3]-+u[A+16>>3]),c=~~(+u[A+40>>3]-+u[A+24>>3]),v=(e[A+116>>2]&1|0)==0,w=v?c:p,c=v?p:c,(i|0)==4?(i=L60(r)|0,A=e[o>>2]|0,s=e[A+8>>2]|0):i=(i|0)==2&1;r:do if(i<<24>>24){if(n=+u[s+64>>3],n<=0)break e;if(l=n/+(c|0),n=+u[s+72>>3]/+(w|0),l<1|n<1)if(l>2]|0){case 5:{if(n=+u[s+64>>3],n<=0)break e;if(l=n/+u[A+32>>3],a=+u[s+72>>3]/+u[A+40>>3],n=l1&a>1){a=n;break r}else break e}case 1:break;default:break e}if(l=+u[s+16>>3],n=+(w|0)/+(c|0),n>2]&1|0)==0,l=i?n:a,n=i?a:n,i=A+192|0;i=e[i>>2]|0,!!i;)i=e[i+16>>2]|0,v=i+16|0,a=+u[v>>3]*n,u[v>>3]=+(~~(a+(a>=0?.5:-.5))|0),v=i+24|0,a=+u[v>>3]*l,u[v>>3]=+(~~(a+(a>=0?.5:-.5))|0),i=i+164|0;tj(r,n,l)}while(0);t|0&&R60(r,t)}function z60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(l=r+16|0,r=(e[l>>2]|0)+192|0;r=e[r>>2]|0,!!r;){for(o=r+16|0,t=0;r=e[o>>2]|0,n=e[r+180>>2]|0,i=e[n+(t<<2)>>2]|0,!!i;)r0(e[i+16>>2]|0),r0(i),t=t+1|0;n&&(r0(n),r=e[o>>2]|0),t=e[r+172>>2]|0,t&&(r0(t),r=e[o>>2]|0),n=r+256|0,i=e[n+4>>2]|0,r=r+180|0,e[r>>2]=e[n>>2],e[r+4>>2]=i,r=e[o>>2]|0,i=r+248|0,n=e[i+4>>2]|0,r=r+172|0,e[r>>2]=e[i>>2],e[r+4>>2]=n,r=(e[o>>2]|0)+164|0}r=0,t=e[(e[l>>2]|0)+192>>2]|0;e:for(;;)for(o=(r|0)==0,n=r+16|0,r=t;;){if(!r)break e;if(i=e[r+16>>2]|0,t=e[i+164>>2]|0,(y[i+156>>0]|0)!=2)continue e;o?e[(e[l>>2]|0)+192>>2]=t:e[(e[n>>2]|0)+164>>2]=t,r0(i),r0(r),r=t}e[(e[(e[(e[l>>2]|0)+192>>2]|0)+16>>2]|0)+168>>2]=0}function rj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(n=r+16|0,i=1;o=e[n>>2]|0,!((i|0)>(e[o+180>>2]|0));)rj(e[(e[o+184>>2]|0)+(i<<2)>>2]|0,t),i=i+1|0;G60(r,t)}function L60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;return B=g,g=g+80|0,n=B+64|0,i=B+48|0,o=B+16|0,c=B,E=B+32|0,r=r+16|0,t=e[(e[r>>2]|0)+8>>2]|0,x=t+48|0,e[o>>2]=e[x>>2],e[o+4>>2]=e[x+4>>2],e[o+8>>2]=e[x+8>>2],e[o+12>>2]=e[x+12>>2],!(+u[o>>3]<.001)&&(l=o+8|0,!(+u[l>>3]<.001))&&(s=t+32|0,e[c>>2]=e[s>>2],e[c+4>>2]=e[s+4>>2],e[c+8>>2]=e[s+8>>2],e[c+12>>2]=e[s+12>>2],e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],e[n>>2]=e[s>>2],e[n+4>>2]=e[s+4>>2],e[n+8>>2]=e[s+8>>2],e[n+12>>2]=e[s+12>>2],ij(E,i,n),e[o>>2]=e[E>>2],e[o+4>>2]=e[E+4>>2],e[o+8>>2]=e[E+8>>2],e[o+12>>2]=e[E+12>>2],e[i>>2]=e[E>>2],e[i+4>>2]=e[E+4>>2],e[i+8>>2]=e[E+8>>2],e[i+12>>2]=e[E+12>>2],e[n>>2]=e[c>>2],e[n+4>>2]=e[c+4>>2],e[n+8>>2]=e[c+8>>2],e[n+12>>2]=e[c+12>>2],ij(o,i,n),s=e[r>>2]|0,A=+u[s+32>>3],a=+u[s+40>>3],w=+u[o>>3],p=w/A,v=+u[l>>3],m=v/a,!(p>=1&m>=1))?(p=p.5?p:.5,m=+mt(+(p*a/v))*v/a,v=+mt(+(p*A/w))*w/A*A,r=e[s+8>>2]|0,u[r+64>>3]=v,u[r+72>>3]=m*a,r=1):r=0,g=B,r|0}function tj(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0;for(n=r+16|0,r=1;o=e[n>>2]|0,!((r|0)>(e[o+180>>2]|0));)tj(e[(e[o+184>>2]|0)+(r<<2)>>2]|0,t,i),r=r+1|0;n=o+16|0,u[n>>3]=+u[n>>3]*t,n=o+24|0,u[n>>3]=+u[n>>3]*i,n=o+32|0,u[n>>3]=+u[n>>3]*t,o=o+40|0,u[o>>3]=+u[o>>3]*i}function R60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;c=g,g=g+32|0,A=c+24|0,l=c+16|0,o=c,w=e[r+16>>2]|0,n=+u[w+32>>3]-+u[w+16>>3],i=+u[w+40>>3]-+u[w+24>>3],s=n/i,i=+u[t>>3];do if(s>i*1.1)e[t+24>>2]=~~(i*+((e[t+20>>2]|0)-(e[t+16>>2]|0)|0)/s),a=9;else{if(r=t+24|0,!(s<=i*.8)){e[r>>2]=0,a=9;break}e[r>>2]=-1}while(0);a|0,g=c}function ij(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[t+8>>3]-+u[i+8>>3],u[r>>3]=+u[t>>3]-+u[i>>3],u[r+8>>3]=n}function G60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;E=(fr(r)|0)==(r|0),z=r+16|0,_=e[z>>2]|0;e:do if(E){for(i=$[_+236>>1]|0,r=$[_+238>>1]|0,v=r<<16>>16,m=_+196|0,E=_+196|0,p=i<<16>>16,o=-2147483647,n=2147483647;!((p|0)>(v|0));){if(l=e[m>>2]|0,w=e[l+(p<<6)>>2]|0,w|0&&(B=e[l+(p<<6)+4>>2]|0,x=e[B>>2]|0,(x|0)!=0)){for(A=1,l=x;l=e[l+16>>2]|0,s=y[l+156>>0]|0,!!((A|0)<(w|0)&s<<24>>24!=0);)l=e[B+(A<<2)>>2]|0,A=A+1|0;if(!(s<<24>>24)){for(a=+u[l+16>>3]-+u[l+88>>3],c=n>2]|0)+(p<<6)+4>>2]|0,s=w+-2|0,l=w+-1|0;l=e[(e[A+(l<<2)>>2]|0)+16>>2]|0,y[l+156>>0]|0;)l=s,s=s+-1|0;L=+u[l+96>>3]+ +u[l+16>>3],o=o>L?o:L,n=c?n:a}}p=p+1|0}for(s=e[_+180>>2]|0,A=_+184|0,l=1;;){if((l|0)>(s|0))break e;x=e[(e[(e[A>>2]|0)+(l<<2)>>2]|0)+16>>2]|0,L=+u[x+16>>3]+-8,a=+u[x+32>>3]+8,l=l+1|0,o=o>a?o:a,n=n>2]|0)+16>>2]|0)+232>>2]|0),n=+(e[(e[(e[_+256>>2]|0)+16>>2]|0)+232>>2]|0),i=$[_+236>>1]|0,r=$[_+238>>1]|0;while(0);t=e[(e[t+16>>2]|0)+196>>2]|0,a=+u[(e[(e[e[t+(r<<16>>16<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-+u[_+120>>3],L=+u[_+128>>3]+ +u[(e[(e[e[t+(i<<16>>16<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],u[_+16>>3]=n,u[_+24>>3]=a,t=e[z>>2]|0,u[t+32>>3]=o,u[t+40>>3]=L}function gi(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0,l=0,s=0,A=0;return s=j0(96)|0,A=s+48|0,e[A>>2]=e[A>>2]|3,e[s>>2]=e[s>>2]&-4|2,o=j0(176)|0,l=s+16|0,e[l>>2]=o,e[((e[s>>2]&3|0)==3?s:A)+40>>2]=r,e[((e[s>>2]&3|0)==2?s:s+-48|0)+40>>2]=t,i>65535&&(nj(i),i=65535,o=e[l>>2]|0),$[o+170>>1]=~~(i+(i>=0?.5:-.5)),e[o+156>>2]=n,IM(s)|0,s|0}function nj(r){r=+r;var t=0,i=0;t=g,g=g+16|0,i=t,u[i>>3]=r,e[i+8>>2]=65535,$0(1,86845,i)|0,g=t}function Z60(r){r=r|0;var t=0,i=0,n=0,o=0;for(r=(e[r+16>>2]|0)+192|0;r=e[r>>2]|0,!!r;){for(o=r+16|0,n=e[o>>2]|0,r=n+172|0,i=e[r+4>>2]|0,n=n+248|0,e[n>>2]=e[r>>2],e[n+4>>2]=i,n=e[o>>2]|0,i=n+180|0,r=e[i+4>>2]|0,n=n+256|0,e[n>>2]=e[i>>2],e[n+4>>2]=r,n=e[o>>2]|0,r=e[n+180>>2]|0,i=0;e[r+(i<<2)>>2]|0;)i=i+1|0;for(t=e[n+172>>2]|0,r=0;e[t+(r<<2)>>2]|0;)r=r+1|0;e[n+176>>2]=0,r=j0((r+i<<2)+16|0)|0,n=e[o>>2]|0,e[n+172>>2]=r,e[n+184>>2]=0,n=j0(16)|0,r=e[o>>2]|0,e[r+180>>2]=n,r=r+164|0}}function W60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0;for(L=g,g=g+16|0,x=L,z=r+16|0,E=e[z>>2]|0,_=e[E+196>>2]|0,r=(y[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1)!=0,B=e[E+248>>2]|0,e[x>>2]=B,e[x+4>>2]=r?5:B,B=$[E+236>>1]|0,r=E;!((B|0)>($[r+238>>1]|0));){p=_+(B<<6)+4|0,e[(e[(e[e[p>>2]>>2]|0)+16>>2]|0)+232>>2]=0,v=_+(B<<6)|0,m=+(e[x+((B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 +u[(e[r+16>>2]|0)+88>>3])|0),e[(e[l>>2]|0)+156>>2]|0)|0,a=0):a=0;;){if(r=e[E>>2]|0,(a|0)>=(e[r+192>>2]|0)){l=w;continue e}s=e[(e[r+188>>2]|0)+(a<<2)>>2]|0,l=e[s>>2]&3,i=e[((l|0)==3?s:s+48|0)+40>>2]|0,l=e[((l|0)==2?s:s+-48|0)+40>>2]|0,o=(e[(e[i+16>>2]|0)+236>>2]|0)<(e[(e[l+16>>2]|0)+236>>2]|0),t=o?i:l,i=o?l:i,n=+u[(e[i+16>>2]|0)+88>>3]+ +u[(e[t+16>>2]|0)+96>>3],l=s+16|0,o=~~(n+ +(N0(e[(e[z>>2]|0)+248>>2]|0,M0[(e[l>>2]|0)+170>>1]|0)|0)),A=yf(t,i)|0,A?(G=+(o|0),r=e[l>>2]|0,W=+u[r+136>>3],n=n+ +(e[(e[z>>2]|0)+248>>2]|0)+ +(~~(W+(W>=0?.5:-.5))|0),t=~~(n65535&&(nj(+(t|0)),t=65535,r=e[l>>2]|0),l=e[A+16>>2]|0,o=l+170|0,i=M0[o>>1]|0,$[o>>1]=(t|0)<(i|0)?i:t,l=l+156|0,e[l>>2]=e[(e[((e[l>>2]|0)>(e[r+156>>2]|0)?A:s)+16>>2]|0)+156>>2]):(r=e[l>>2]|0,e[r+96>>2]|0||gi(t,i,+(o|0),e[r+156>>2]|0)|0),a=a+1|0}}B=B+1|0,r=e[z>>2]|0}g=L}function D60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(t=(e[r+16>>2]|0)+192|0;t=e[t>>2]|0,!!t;){o=t+16|0,t=e[o>>2]|0,i=e[t+256>>2]|0;e:do if(i)for(n=0;;){if(i=e[i+(n<<2)>>2]|0,!i)break e;w=Ml(r)|0,t=w+16|0,y[(e[t>>2]|0)+156>>0]=2,a=i+16|0,A=e[a>>2]|0,l=~~(+u[A+56>>3]-+u[A+16>>3]),c=(l|0)>0,s=c?0:0-l|0,l=c?l:0,c=i+48|0,gi(w,e[((e[i>>2]&3|0)==3?i:c)+40>>2]|0,+(l+1|0),e[A+156>>2]|0)|0,A=i+-48|0,gi(w,e[((e[i>>2]&3|0)==2?i:A)+40>>2]|0,+(s+1|0),e[(e[a>>2]|0)+156>>2]|0)|0,a=e[i>>2]&3,l=(e[(e[(e[((a|0)==3?i:c)+40>>2]|0)+16>>2]|0)+232>>2]|0)-l|0,i=(e[(e[(e[((a|0)==2?i:A)+40>>2]|0)+16>>2]|0)+232>>2]|0)-s|0,e[(e[t>>2]|0)+232>>2]=((l|0)<(i|0)?l:i)+-1,t=e[o>>2]|0,n=n+1|0,i=e[t+256>>2]|0}while(0);t=t+164|0}}function M60(r){r=r|0,(e[(e[r+16>>2]|0)+180>>2]|0)>0&&(lj(r),sj(r),Aj(r),uj(r))}function j60(r){r=r|0;var t=0,i=0,n=0,o=0;n=r+16|0,o=e[(e[n>>2]|0)+8>>2]|0,(e[o+84>>2]|0)==3&&(t=+u[o+64>>3],i=+u[o+72>>3],!(i*t<=1))&&(oj(r),o=e[n>>2]|0,i=e[o+116>>2]&1|0?i:t,gi(e[o+256>>2]|0,e[o+260>>2]|0,i<65535?i:65535,1e3)|0)}function oj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(c=g,g=g+16|0,a=c,i=pr(r,e[47144]|0,8,0)|0,ip(r),l=r+16|0,o=e[l>>2]|0,s=e[o+256>>2]|0,A=e[o+260>>2]|0,n=+(i|0),i=$[o+236>>1]|0;!((i|0)>($[o+238>>1]|0));){t=e[o+196>>2]|0;do if(e[t+(i<<6)>>2]|0)if(t=e[e[t+(i<<6)+4>>2]>>2]|0,t){gi(s,t,+u[(e[t+16>>2]|0)+88>>3]+n+ +u[o+96>>3],0)|0,o=e[l>>2]|0,t=e[o+196>>2]|0,t=e[(e[t+(i<<6)+4>>2]|0)+((e[t+(i<<6)>>2]|0)+-1<<2)>>2]|0,gi(t,A,+u[(e[t+16>>2]|0)+96>>3]+n+ +u[o+64>>3],0)|0;break}else{e[a>>2]=te(r)|0,e[a+4>>2]=i,$0(1,86929,a)|0;break}while(0);i=i+1|0,o=e[l>>2]|0}g=c}function ip(r){r=r|0;var t=0,i=0,n=0;t=r+16|0,e[(e[t>>2]|0)+256>>2]|0||(n=Ml(fr(r)|0)|0,y[(e[n+16>>2]|0)+156>>0]=2,i=Ml(fr(r)|0)|0,y[(e[i+16>>2]|0)+156>>0]=2,e[(e[t>>2]|0)+12>>2]|0&&(fr(r)|0)!=(r|0)&&!(e[(e[(a2(r)|0)+16>>2]|0)+116>>2]&1|0)&&(r=e[t>>2]|0,gi(n,i,+(~~+u[r+48+((+u[r+48>>3]>+u[r+80>>3]?0:2)<<4)>>3]|0),0)|0),t=e[t>>2]|0,e[t+256>>2]=n,e[t+260>>2]=i)}function lj(r){r=r|0;var t=0,i=0;do if((fr(r)|0)!=(r|0))if(oj(r),r=r+16|0,t=e[r>>2]|0,t=yf(e[t+256>>2]|0,e[t+260>>2]|0)|0,t){i=(e[t+16>>2]|0)+156|0,e[i>>2]=(e[i>>2]|0)+128;break}else{i=e[r>>2]|0,gi(e[i+256>>2]|0,e[i+260>>2]|0,1,128)|0;break}else r=r+16|0;while(0);for(t=1;i=e[r>>2]|0,!((t|0)>(e[i+180>>2]|0));)lj(e[(e[i+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0}function sj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(s=pr(r,e[47144]|0,8,0)|0,w=r+16|0,t=e[w>>2]|0,a=+(s|0),s=$[t+236>>1]|0;;){if((s|0)>($[t+238>>1]|0)){i=1;break}t=e[t+196>>2]|0;e:do if(e[t+(s<<6)>>2]|0&&(A=e[e[t+(s<<6)+4>>2]>>2]|0,A|0)){for(o=A+16|0,i=e[(e[o>>2]|0)+236>>2]|0;!((i|0)<=0);){if(i=i+-1|0,l=e[(e[(e[(e[(fr(r)|0)+16>>2]|0)+196>>2]|0)+(s<<6)+4>>2]|0)+(i<<2)>>2]|0,n=l+16|0,t=e[n>>2]|0,!(y[t+156>>0]|0)){c=10;break}if(fj(r,l)|0){c=9;break}}for((c|0)==9&&(t=e[n>>2]|0,c=10),(c|0)==10&&(c=0,gi(l,e[(e[w>>2]|0)+256>>2]|0,+u[t+96>>3]+a,0)|0),i=(e[(e[(e[w>>2]|0)+196>>2]|0)+(s<<6)>>2]|0)+(e[(e[o>>2]|0)+236>>2]|0)|0;;){if((i|0)>=(e[(e[(e[(fr(r)|0)+16>>2]|0)+196>>2]|0)+(s<<6)>>2]|0))break e;if(o=e[(e[(e[(e[(fr(r)|0)+16>>2]|0)+196>>2]|0)+(s<<6)+4>>2]|0)+(i<<2)>>2]|0,n=o+16|0,t=e[n>>2]|0,!(y[t+156>>0]|0))break;if(!(fj(r,o)|0))i=i+1|0;else{c=15;break}}(c|0)==15&&(c=0,t=e[n>>2]|0),gi(e[(e[w>>2]|0)+260>>2]|0,o,+u[t+88>>3]+a,0)|0}while(0);s=s+1|0,t=e[w>>2]|0}for(;!((i|0)>(e[t+180>>2]|0));)sj(e[(e[t+184>>2]|0)+(i<<2)>>2]|0),i=i+1|0,t=e[w>>2]|0}function Aj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(n=pr(r,e[47144]|0,8,0)|0,ip(r),t=r+16|0,i=+(n|0),r=1;n=e[t>>2]|0,!((r|0)>(e[n+180>>2]|0));)n=e[(e[n+184>>2]|0)+(r<<2)>>2]|0,ip(n),o=e[t>>2]|0,l=n+16|0,gi(e[o+256>>2]|0,e[(e[l>>2]|0)+256>>2]|0,+u[o+96>>3]+i,0)|0,o=e[t>>2]|0,gi(e[(e[l>>2]|0)+260>>2]|0,e[o+260>>2]|0,+u[o+64>>3]+i,0)|0,Aj(n),r=r+1|0}function uj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(t=pr(r,e[47144]|0,8,0)|0,p=r+16|0,r=1;n=e[p>>2]|0,i=e[n+180>>2]|0,!((r|0)>(i|0));)ip(e[(e[n+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0;for(w=+(t|0),c=1,r=i,t=n;!((c|0)>(r|0));){for(a=c+1|0,A=a;i=e[t+184>>2]|0,n=e[i+(c<<2)>>2]|0,!((A|0)>(r|0));)i=e[i+(A<<2)>>2]|0,o=($[(e[n+16>>2]|0)+236>>1]|0)>($[(e[i+16>>2]|0)+236>>1]|0),s=o?i:n,i=o?n:i,n=e[s+16>>2]|0,o=e[i+16>>2]|0,v=$[o+236>>1]|0,l=v<<16>>16,($[n+238>>1]|0)>=v<<16>>16&&(r=(e[(e[(e[e[(e[n+196>>2]|0)+(l<<6)+4>>2]>>2]|0)+16>>2]|0)+236>>2]|0)<(e[(e[(e[e[(e[o+196>>2]|0)+(l<<6)+4>>2]>>2]|0)+16>>2]|0)+236>>2]|0),gi(e[(e[(r?s:i)+16>>2]|0)+260>>2]|0,e[(e[(r?i:s)+16>>2]|0)+256>>2]|0,w,0)|0,r=e[p>>2]|0,t=r,r=e[r+180>>2]|0),A=A+1|0;uj(n),t=e[p>>2]|0,c=a,r=e[t+180>>2]|0}}function fj(r,t){r=r|0,t=t|0;var i=0;if(t=e[t+16>>2]|0,(y[t+156>>0]|0)==1){for(t=e[e[t+256>>2]>>2]|0;i=e[(e[t+16>>2]|0)+116>>2]|0,i;)t=i;Mi(r,e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0?t=0:t=(Mi(r,e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0)==0&1}else t=0;return t|0}function aj(r,t){return r=r|0,t=t|0,cj(r,t)|0}function cj(r,t){r=r|0,t=t|0;var i=0,n=0;e:do if((r|0)==(t|0))r=1;else for(i=e[(e[r+16>>2]|0)+180>>2]|0,r=0;;){if(n=e[i+(r<<2)>>2]|0,!n){r=0;break e}if(!(cj(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,t)|0))r=r+1|0;else{r=1;break}}while(0);return r|0}function N60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(A=r+16|0,r=e[A>>2]|0,s=$[r+236>>1]|0;!((s|0)>($[r+238>>1]|0));){for(o=e[r+196>>2]|0,n=e[o+(s<<6)>>2]|0,o=o+(s<<6)+4|0,l=0,i=0;!((i|0)>=(n|0));)t=e[(e[(e[o>>2]|0)+(i<<2)>>2]|0)+16>>2]|0,e[t+236>>2]=l,(y[t+159>>0]|0)==6?t=e[t+216>>2]|0:t=1,l=t+l|0,i=i+1|0;if((l|0)>(n|0)){for(r=e[o>>2]|0,r?r=Oe(r,(l<<2)+4|0)|0:r=_0((l<<2)+4|0)|0,i=e[(e[A>>2]|0)+196>>2]|0,e[i+(s<<6)+4>>2]=r,t=e[i+(s<<6)>>2]|0;r=t+-1|0,!((t|0)<=0);)o=e[i+(s<<6)+4>>2]|0,t=e[o+(r<<2)>>2]|0,e[o+(e[(e[t+16>>2]|0)+236>>2]<<2)>>2]=t,t=r,i=e[(e[A>>2]|0)+196>>2]|0;e[i+(s<<6)>>2]=l,e[(e[i+(s<<6)+4>>2]|0)+(l<<2)>>2]=0,r=e[A>>2]|0}s=s+1|0}}function hj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;p=g,g=g+48|0,w=p+32|0,c=p+8|0,i=p+24|0,a=p+16|0,A=p,n=t+16|0,o=e[n>>2]|0;e:do if((e[o+216>>2]|0)>=2)if(e[c>>2]=~~(+u[o+16>>3]-+u[o+88>>3]),e[c+4>>2]=~~+u[o+24>>3],e[w>>2]=e[c>>2],e[w+4>>2]=e[c+4>>2],wj(i,t,w),l=i,s=e[l+4>>2]|0,i=c,e[i>>2]=e[l>>2],e[i+4>>2]=s,i=e[n>>2]|0,(e[i+184>>2]|0)>0)for(A=e[e[i+180>>2]>>2]|0,i=(e[i+236>>2]|0)+1|0,A=Xo(r,e[((e[A>>2]&3|0)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n+180>>2]|0,o?n=Oe(o,(e[n+184>>2]<<2)+8|0)|0:n=_0((e[n+184>>2]<<2)+8|0)|0,e[(e[(e[((e[s>>2]&3|0)==3?s:l)+40>>2]|0)+16>>2]|0)+180>>2]=n,o=e[(e[((e[s>>2]&3|0)==3?s:l)+40>>2]|0)+16>>2]|0,a=e[o+180>>2]|0,o=o+184|0,v=e[o>>2]|0,e[o>>2]=v+1,e[a+(v<<2)>>2]=s,v=e[(e[((e[s>>2]&3|0)==3?s:l)+40>>2]|0)+16>>2]|0,e[(e[v+180>>2]|0)+(e[v+184>>2]<<2)>>2]=0,i=i+1|0),s=Qe(r,s)|0}while(0);g=p}function wj(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;Sc(t,e[(e[(We(t)|0)+16>>2]|0)+116>>2]&1),n=e[t+16>>2]|0,u[n+24>>3]=+(e[i+4>>2]|0),o=+u[n+88>>3]+ +(e[i>>2]|0),u[n+16>>3]=o,o=o+ +u[n+96>>3],e[i>>2]=~~(o+ +(e[(e[(We(t)|0)+16>>2]|0)+248>>2]|0)),n=i,t=e[n+4>>2]|0,i=r,e[i>>2]=e[n>>2],e[i+4>>2]=t}function dj(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;A=g,g=g+16|0,s=A,t=fr(t)|0,l=Ht(i)|0,(l|0)!=(i|0)&&H80(l,i),a=e[i+16>>2]|0,e[a+236>>2]=o,l=e[(e[l+16>>2]|0)+232>>2]|0,e[a+232>>2]=l,e[(e[(e[(e[t+16>>2]|0)+196>>2]|0)+(l<<6)+4>>2]|0)+(o<<2)>>2]=i,e[s>>2]=e[n>>2],e[s+4>>2]=e[n+4>>2],wj(r,i,s),g=A}function pj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(c=e[(e[(fr(r)|0)+16>>2]|0)+196>>2]|0,(fr(r)|0)==(r|0)?s=8:s=+(pr(r,e[47144]|0,8,0)|0),a=r+16|0,o=e[a>>2]|0,n=0,A=1,i=+u[o+120>>3],t=+u[o+128>>3];!((A|0)>(e[o+180>>2]|0));)l=e[(e[o+184>>2]|0)+(A<<2)>>2]|0,n=pj(l)|0|n,l=e[l+16>>2]|0,o=e[a>>2]|0,($[l+238>>1]|0)==($[o+238>>1]|0)&&(w=+u[l+120>>3]+s,i=i>w?i:w),($[l+236>>1]|0)==($[o+236>>1]|0)&&(w=+u[l+128>>3]+s,t=t>w?t:w),A=A+1|0;return(fr(r)|0)!=(r|0)&&e[(e[a>>2]|0)+12>>2]|0&&(e[(e[(a2(r)|0)+16>>2]|0)+116>>2]&1?n=1:(A=e[a>>2]|0,n=1,i=+u[A+56>>3]+i,t=+u[A+88>>3]+t)),A=e[a>>2]|0,u[A+120>>3]=i,u[A+128>>3]=t,(fr(r)|0)!=(r|0)&&(a=e[a>>2]|0,r=c+($[a+236>>1]<<6)+24|0,w=+u[r>>3],u[r>>3]=w>t?w:t,c=c+($[a+238>>1]<<6)+16|0,w=+u[c>>3],u[c>>3]=w>i?w:i),n|0}function kj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(p=e[(e[(fr(r)|0)+16>>2]|0)+196>>2]|0,(fr(r)|0)==(r|0)?i=0:i=pr(r,e[47144]|0,8,0)|0,a=r+16|0,l=e[a>>2]|0,c=i+t|0,A=+(i|0),s=1,n=+u[l+128>>3],o=+u[l+120>>3],i=l;!((s|0)>(e[i+180>>2]|0));)l=e[(e[i+184>>2]|0)+(s<<2)>>2]|0,kj(l,c),l=e[l+16>>2]|0,i=e[a>>2]|0,($[l+238>>1]|0)==($[i+238>>1]|0)&&(m=+u[l+120>>3]+A,o=o>m?o:m),($[l+236>>1]|0)==($[i+236>>1]|0)&&(m=+u[l+128>>3]+A,n=n>m?n:m),s=s+1|0;u[i+120>>3]=o,u[i+128>>3]=n,(fr(r)|0)!=(r|0)&&(w=e[a>>2]|0,e[w+12>>2]|0)&&(v=-o-n+ +u[w+48+((+u[w+104>>3]>+u[w+72>>3]?3:1)<<4)+8>>3]-+u[(e[(e[e[p+($[w+236>>1]<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]+ +u[(e[(e[e[p+($[w+238>>1]<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],v>0)&&Q60(r,~~v,t),(fr(r)|0)!=(r|0)&&(w=e[a>>2]|0,c=p+($[w+236>>1]<<6)+24|0,m=+u[c>>3],v=+u[w+128>>3],u[c>>3]=m>v?m:v,p=p+($[w+238>>1]<<6)+16|0,v=+u[p>>3],m=+u[w+120>>3],u[p>>3]=v>m?v:m)}function Q60(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(A=e[(fr(r)|0)+16>>2]|0,m=e[A+196>>2]|0,v=e[r+16>>2]|0,r=$[v+238>>1]|0,n=$[v+236>>1]|0,a=(t+1|0)/2|0,c=v+120|0,w=+u[c>>3],p=+(a|0),l=+(i|0),i=~~(p+l+w-+u[m+(r<<6)+16>>3]),(i|0)>0){for(o=+(i|0);!((r|0)<(n|0));)(e[m+(r<<6)>>2]|0)>0&&(E=(e[(e[e[m+(r<<6)+4>>2]>>2]|0)+16>>2]|0)+24|0,u[E>>3]=+u[E>>3]+o),r=r+-1|0;s=+u[v+128>>3],r=i,o=s+ +(t-a|0)}else s=+u[v+128>>3],r=t-a|0,o=s;r=~~(+(r|0)+l+o-+u[m+(n<<6)+24>>3]);e:do if((r|0)>0)for(i=$[A+236>>1]|0,o=+(r|0);;){if(r=n+-1|0,(n|0)<=(i|0))break e;if((e[m+(r<<6)>>2]|0)<=0){n=r;continue}n=(e[(e[e[m+(r<<6)+4>>2]>>2]|0)+16>>2]|0)+24|0,u[n>>3]=+u[n>>3]+o,n=r}while(0);u[v+128>>3]=s+ +(t-a|0),u[c>>3]=w+p}function xh(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r+16>>2]|0,n=y[i+84>>0]|0,r=e[t+16>>2]|0;do if(n<<24>>24==(y[r+84>>0]|0)){if(+u[i+56>>3]==+u[r+56>>3]){if(!(!(n<<24>>24)||+u[i+64>>3]==+u[r+64>>3])){r=0;break}}else if(n<<24>>24){r=0;break}if(+u[i+16>>3]==+u[r+16>>3]&&+u[i+24>>3]==+u[r+24>>3]){r=1;break}r=(y[i+44>>0]|0)==0&1}else r=0;while(0);return r|0}function vj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=r+16|0,t=e[s>>2]|0,$[t+236>>1]=32767,$[t+238>>1]=-1,t=0,l=U0(r)|0;i=e[s>>2]|0,!!l;)n=i+238|0,o=e[(e[l+16>>2]|0)+232>>2]|0,(o|0)>($[n>>1]|0)&&($[n>>1]=o),i=i+236|0,(o|0)<($[i>>1]|0)&&($[i>>1]=o),t?t=(o|0)<(e[(e[t+16>>2]|0)+232>>2]|0)?l:t:t=l,l=X0(r,l)|0;e[i+264>>2]=t}function T7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(t=he(r,86974)|0,t?(l=+Fl(t),t=~~(l*+(v2(r)|0))):t=2147483647,n=r+16|0,i=0;o=e[n>>2]|0,!((i|0)>=(e[o+220>>2]|0));)e[o+192>>2]=e[(e[o+216>>2]|0)+(i<<2)>>2],Bf(r,(e[o+180>>2]|0)==0&1,t)|0,i=i+1|0}function mj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=g,g=g+16|0,i=n,he(r,86983)|0?(o=(e[r+16>>2]|0)+136|0,$[o>>1]=$[o>>1]|16,T60(r,t)):gj(r,t),g=n}function T60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;s=g,g=g+16|0,l=s,e[46747]=0,y[l>>0]=y[18588]|0,y[l+1>>0]=y[18589]|0,y[l+2>>0]=y[18590]|0,y[l+3>>0]=y[18591]|0,l=w1(87201,l,0)|0,$e(l,87230,280,1)|0,rf0(l,17404,17344),yj(r),i=he(r,86974)|0,i?(A=+Fl(i),n=~~(A*+(v2(r)|0))):n=2147483647,zj(r,0),U60(r,l),X60(r,l),Lj(r,l,0,0),q60(l),o=$60(l)|0,K60(l),t|0&&(Fj(l),Nj(l)),i=he(r,102586)|0,i?i=F1(i)|0:i=-1,SN(l,1,n,i)|0,b60(r,l,o),Di(l)|0,g=s}function gj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;l=g,g=g+32|0,o=l+16|0,n=l+8|0,i=l,yj(r);do if(!t)F7(r,r),Yj(r),Cj(i,r),s=i,i=e[s+4>>2]|0,t=n,e[t>>2]=e[s>>2],e[t+4>>2]=i,fp(r,0),t=0;else{if(Fj(r),Nj(r),F7(r,r),Yj(r),Cj(i,r),A=i,i=e[A+4>>2]|0,s=n,e[s>>2]=e[A>>2],e[s+4>>2]=i,fp(r,0),s=e[r+16>>2]|0,(e[s+220>>2]|0)<=1&&(e[s+180>>2]|0)<=0)break;e[t+32>>2]=1,t=0}while(0);aw0(r),e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],F60(r,o)|0&&fp(r,0),t?cw0(r,t):T7(r),P60(r,t),Y60(r),g=l}function yj(r){r=r|0;var t=0,i=0,n=0;if(y[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1){for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)n=(e[t+16>>2]|0)+170|0,$[n>>1]=(M0[n>>1]|0)<<1,t=Qe(r,t)|0;i=X0(r,i)|0}n=(e[r+16>>2]|0)+252|0,e[n>>2]=((e[n>>2]|0)+1|0)/2|0}}function F7(r,t){r=r|0,t=t|0;var i=0;for(t=yt(t)|0;t;){i=H60(t)|0;do if(i)if((i|0)==7&(e[47135]|0)==100){Ij(r,t);break}else{J60(r,t,i);break}else F7(r,t);while(0);t=Ct(t)|0}}function Cj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;s=t+16|0,i=e[s>>2]|0,t=e[i+228>>2]|0,i=e[i+224>>2]|0,n=(i|0)==0,t?n?o=5:o=4:n?(A=0,a=0):o=4,(o|0)==4&&(t=Ht(i)|0,i=e[s>>2]|0,e[i+224>>2]=t,t=e[i+228>>2]|0,t?o=5:(l=0,t=i,o=12));do if((o|0)==5)if(t=Ht(t)|0,i=e[s>>2]|0,e[i+228>>2]=t,t){for(i=t+16|0,t=e[i>>2]|0,n=(y[t+159>>0]|0)==5&1;;){if(t=e[e[t+180>>2]>>2]|0,!t){o=11;break}if(l=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,(l|0)!=(Ht(l)|0)){o=9;break}H7(t),t=e[i>>2]|0}if((o|0)==9)H0(87094,87034,346,87126);else if((o|0)==11){l=n,t=e[s>>2]|0,o=12;break}}else l=0,t=i,o=12;while(0);e:do if((o|0)==12)if(t=e[t+224>>2]|0,!t)A=0,a=l;else{for(i=t+16|0,t=e[i>>2]|0,n=(y[t+159>>0]|0)==3&1;;){if(t=e[e[t+172>>2]>>2]|0,!t){A=n,a=l;break e}if(s=e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0,(s|0)!=(Ht(s)|0))break;H7(t),t=e[i>>2]|0}H0(87139,87034,353,87126)}while(0);e[r>>2]=A,e[r+4>>2]=a}function F60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;A=r+16|0,s=e[A>>2]|0,!(e[s+228>>2]|0)&&!(e[s+224>>2]|0)?t=0:i=3;e:do if((i|0)==3)for(o=U0(r)|0,s=t+4|0,l=e[t>>2]&65535,t=0;;){if(!o)break e;(o|0)==(Ht(o)|0)&&(n=o+16|0,i=e[n>>2]|0,!(e[i+184>>2]|0)&&(a=e[(e[A>>2]|0)+228>>2]|0,!((a|0)==0|(o|0)==(a|0)))&&(t=Jn(o,a,0)|0,i=e[t+16>>2]|0,$[i+170>>1]=e[s>>2],e[i+156>>2]=0,i=e[n>>2]|0),!(e[i+176>>2]|0)&&(c=e[(e[A>>2]|0)+224>>2]|0,!((c|0)==0|(o|0)==(c|0)))&&(t=Jn(c,o,0)|0,n=e[t+16>>2]|0,$[n+170>>1]=l,e[n+156>>2]=0)),o=X0(r,o)|0}while(0);return(t|0)!=0|0}function P60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;n=U0(r)|0,A=r+16|0,i=e[A>>2]|0;e:do if(n){for($[i+236>>1]=32767,$[i+238>>1]=-1,s=(t|0)==0;n;){i=Ht(n)|0,l=e[n+16>>2]|0,t=e[l+232>>2]|0;do if((i|0)!=(n|0)){if(!s)if(!t)t=0;else break;t=t+(e[(e[i+16>>2]|0)+232>>2]|0)|0,e[l+232>>2]=t}while(0);switch(i=e[A>>2]|0,o=i+238|0,(t|0)>($[o>>1]|0)&&($[o>>1]=t),i=i+236|0,(t|0)<($[i>>1]|0)&&($[i>>1]=t),y[l+159>>0]|0){case 6:case 0:break;default:RQ(n)}n=X0(r,n)|0}if((fr(r)|0)==(r|0)){if((e[47135]|0)==100)t=1;else{O60(r);break}for(;;){if(i=e[A>>2]|0,(t|0)>(e[i+180>>2]|0))break e;Bj(e[(e[i+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0}}}else $[i+238>>1]=0,$[i+236>>1]=0;while(0)}function Y60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(A=r+16|0,i=0;t=e[A>>2]|0,!((i|0)>=(e[t+220>>2]|0));){for(s=e[(e[t+216>>2]|0)+(i<<2)>>2]|0,e[t+192>>2]=s,t=s;t;)s=t+16|0,Ej((e[s>>2]|0)+172|0),Ej((e[s>>2]|0)+180|0),s=e[s>>2]|0,y[s+157>>0]=0,t=e[s+164>>2]|0;i=i+1|0}for(s=U0(r)|0;s;){for(l=Me(r,s)|0;l;){if(n=l+16|0,t=e[n>>2]|0,o=e[t+172>>2]|0,o|0&&(a=o+16|0,(l|0)==(e[(e[a>>2]|0)+116>>2]|0))){for(t=U0(r)|0;t;){for(i=Me(r,t)|0;i;)(l|0)!=(i|0)&&(c=(e[i+16>>2]|0)+172|0,w=e[c>>2]|0,(w|0)!=0&(o|0)==(w|0))&&(e[c>>2]=0),i=Qe(r,i)|0;t=X0(r,t)|0}r0(e[a>>2]|0),r0(o),t=e[n>>2]|0}e[t+172>>2]=0,l=Qe(r,l)|0}s=X0(r,s)|0}r0(e[(e[A>>2]|0)+216>>2]|0),w=e[A>>2]|0,e[w+216>>2]=0,e[w+220>>2]=0}function Ej(r){r=r|0;var t=0,i=0;for(i=r+4|0,t=e[i>>2]|0;!((t|0)<=-1);)e[(e[r>>2]|0)+(t<<2)>>2]=0,t=t+-1|0;e[i>>2]=0}function Bj(r){r=r|0;var t=0,i=0,n=0;for(t=r+16|0,i=e[t>>2]|0,n=e[(e[(e[i+264>>2]|0)+16>>2]|0)+232>>2]|0,r=i+236|0,$[r>>1]=n+(M0[r>>1]|0),r=i+238|0,$[r>>1]=n+(M0[r>>1]|0),r=1;!((r|0)>(e[i+180>>2]|0));)Bj(e[(e[i+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0,i=e[t>>2]|0}function O60(r){r=r|0;var t=0;for(t=yt(fr(r)|0)|0;t;)(y[(e[t+16>>2]|0)+274>>0]|0)==7&&Ij(r,t),t=Ct(t)|0}function Ij(r,t){r=r|0,t=t|0;var i=0;i=(e[t+16>>2]|0)+200|0;do if(!(e[i>>2]|0)&&(e[i>>2]=r,xj(r,t),U0(t)|0))if(Sj(r,t),(e[47135]|0)==100){gj(t,0),V60(t);break}else{vj(t);break}while(0)}function xj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(l=r+16|0,o=U0(t)|0;o;){if(s=X0(t,o)|0,A=o+16|0,!(y[(e[A>>2]|0)+159>>0]|0))n=1;else{zn(t,o)|0,o=s;continue}for(;i=e[l>>2]|0,r=e[i+180>>2]|0,!((n|0)>=(r|0));){if(Mi(e[(e[i+184>>2]|0)+(n<<2)>>2]|0,o)|0){a=7;break}n=n+1|0}(a|0)==7&&(a=0,r=e[(e[l>>2]|0)+180>>2]|0),(n|0)<(r|0)&&zn(t,o)|0,e[(e[A>>2]|0)+212>>2]=0,o=s}for(i=U0(t)|0;i;){for(r=Me(fr(t)|0,i)|0;r;)Mi(t,e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0&&gs(t,r,1)|0,r=Qe(fr(t)|0,r)|0;i=X0(t,i)|0}}function Sj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=r+16|0,i=e[n>>2]|0,l=i+180|0,r=e[l>>2]|0,o=r+1|0,e[l>>2]=o,i=e[i+184>>2]|0,i?r=iC(i,r+2|0,4,o)|0:r=j0((r<<2)+8|0)|0,e[(e[n>>2]|0)+184>>2]=r,e[r+(o<<2)>>2]=t,Zh(t)}function V60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=e[r+16>>2]|0,t=o+192|0,l=0;t=e[t>>2]|0,!!t;)n=e[t+16>>2]|0,e[n+232>>2]|0?i=l:i=y[n+156>>0]|0?l:t,t=n+164|0,l=i;for(l||H0(87019,87034,238,87041),e[o+264>>2]=l,t=U0(r)|0;;){if(!t){t=13;break}if(i=t+16|0,!((t|0)==(l|0)||(e[(e[i>>2]|0)+216>>2]|0)<2)){t=11;break}Lp(t,l)|0,y[(e[i>>2]|0)+159>>0]=7,t=X0(r,t)|0}if((t|0)==11)H0(87056,87034,242,87041);else if((t|0)==13)return}function H60(r){r=r|0;var t=0;return _j(r)|0?r=7:(t=_C(he(r,87171)|0,17356,17380)|0,y[(e[r+16>>2]|0)+274>>0]=t,r=t),r|0}function J60(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;o=U0(t)|0;e:do if(o|0){for(A=i&255,s=o+16|0,n=o,l=A;y[(e[n+16>>2]|0)+159>>0]=l,n=X0(t,n)|0,!!n;)Lp(o,n)|0,l=y[(e[s>>2]|0)+159>>0]|0;switch(i|0){case 3:case 2:{r=r+16|0,n=e[r>>2]|0,l=e[n+224>>2]|0,l&&(o=Lp(l,o)|0,n=e[r>>2]|0),e[n+224>>2]=o;break}case 5:case 4:{r=r+16|0,n=e[r>>2]|0,l=e[n+228>>2]|0,l&&(o=Lp(l,o)|0,n=e[r>>2]|0),e[n+228>>2]=o;break}default:break e}switch(i|0){case 3:{n=n+224|0;break}case 5:{n=n+228|0;break}default:break e}y[(e[(e[n>>2]|0)+16>>2]|0)+159>>0]=A}while(0)}function _j(r){return r=r|0,(Yr(te(r)|0,108006,7)|0)==0|0}function zj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(c=g,g=g+16|0,o=c,!(ow0(r)|0)){do if(Dp(r)|0)if(t){e[(e[r+16>>2]|0)+204>>2]=(e[(e[t+16>>2]|0)+204>>2]|0)+1,lw0(r,t),t=r;break}else{e[(e[r+16>>2]|0)+204>>2]=0,t=r;break}while(0);for(i=yt(r)|0;i;)zj(i,t),i=Ct(i)|0;e:do if(Dp(r)|0)for(i=U0(r)|0;;){if(!i)break e;n=(e[i+16>>2]|0)+212|0,e[n>>2]|0||(e[n>>2]=r),i=X0(r,i)|0}while(0);switch(sw0(r)|0){case 3:{t=t+16|0,y[(e[t>>2]|0)+241>>0]=1,a=19;break}case 2:{t=t+16|0,a=19;break}case 5:{t=t+16|0,y[(e[t>>2]|0)+242>>0]=1,a=21;break}case 4:{t=t+16|0,a=21;break}case 1:{np(r)|0;break}case 6:break;default:i=te(r)|0,n=he(r,87171)|0,e[o>>2]=i,e[o+4>>2]=n,$0(0,87354,o)|0}(a|0)==19?(a=np(r)|0,a=V7(a,e[(e[t>>2]|0)+208>>2]|0)|0,e[(e[t>>2]|0)+208>>2]=a):(a|0)==21&&(a=np(r)|0,a=V7(a,e[(e[t>>2]|0)+212>>2]|0)|0,e[(e[t>>2]|0)+212>>2]=a),Dp(r)|0&&(l=r+16|0,s=e[l>>2]|0,A=e[s+208>>2]|0,A|0)&&(A|0)==(e[s+212>>2]|0)&&(A=np(r)|0,a=e[l>>2]|0,e[a+208>>2]=A,e[a+212>>2]=A)}g=c}function U60(r,t){r=r|0,t=t|0;var i=0,n=0;for(e[46747]=0,i=U0(r)|0;i;)(ko(i)|0)==(i|0)&&(n=Sh(t,te(i)|0)|0,e[(e[i+16>>2]|0)+148>>2]=n),i=X0(r,i)|0;for(i=U0(r)|0;i;)t=i+16|0,e[(e[t>>2]|0)+148>>2]|0||(n=e[(e[(ko(i)|0)+16>>2]|0)+148>>2]|0,e[(e[t>>2]|0)+148>>2]=n),i=X0(r,i)|0}function X60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(s=U0(r)|0;s;){for(i=e[(e[s+16>>2]|0)+148>>2]|0,A=Me(r,s)|0;A;){do if(!(rw0(A)|0)&&(a=A+-48|0,c=e[(e[(ko(e[((e[A>>2]&3|0)==2?A:a)+40>>2]|0)|0)+16>>2]|0)+148>>2]|0,(i|0)!=(c|0)))if(o=e[A>>2]&3,l=A+48|0,n=((o|0)==3?A:l)+40|0,o=e[(e[(e[((o|0)==2?A:a)+40>>2]|0)+16>>2]|0)+212>>2]|0,tw0(A)|0){o=ko(e[n>>2]|0)|0,n=e[A>>2]&3,(o|0)!=(e[(e[(e[(e[(e[((n|0)==3?A:l)+40>>2]|0)+16>>2]|0)+212>>2]|0)+16>>2]|0)+212>>2]|0)&&(l=ko(e[((n|0)==2?A:a)+40>>2]|0)|0,(l|0)!=(e[(e[(e[(e[(e[((e[A>>2]&3|0)==2?A:a)+40>>2]|0)+16>>2]|0)+212>>2]|0)+16>>2]|0)+208>>2]|0))?n=c:(n=i,i=c),Zj(t,i,n,A);break}else{if(!(O7(e[(e[(e[n>>2]|0)+16>>2]|0)+212>>2]|0)|0)&&!(O7(o)|0)){Zj(t,i,c,A);break}iw0(t,i,c,A);break}while(0);A=Qe(r,A)|0}s=X0(r,s)|0}}function Lj(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;if(Dp(r)|0&&O7(r)|0){for(l=U0(r)|0;l;)Xo(r,l)|0||(o=e[(e[(ko(l)|0)+16>>2]|0)+148>>2]|0,i||(i=Sh(t,87252)|0),rr(t,i,o,0,1)|0),Me(r,l)|0||(o=e[(e[(ko(l)|0)+16>>2]|0)+148>>2]|0,n||(n=Sh(t,87257)|0),rr(t,o,n,0,1)|0),l=X0(r,l)|0;(n|0)!=0&(i|0)!=0&&Y7(rr(t,i,n,0,1)|0,0,1e3),o=i}else o=i;for(i=yt(r)|0;i;)Lj(i,t,o,n),i=Ct(i)|0}function q60(r){r=r|0;var t=0,i=0;for(t=U0(r)|0;t;)i=e[t+16>>2]|0,y[i+158>>0]=0,y[i+157>>0]=0,t=X0(r,t)|0;for(t=U0(r)|0;t;)Gj(r,t),t=X0(r,t)|0}function $60(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=U0(r)|0;t;)e[(e[t+16>>2]|0)+128>>2]=0,t=X0(r,t)|0;for(t=0,n=U0(r)|0;n;)i=t+1|0,e[(e[n+16>>2]|0)+128>>2]|0||(P7(r,n,i),t=i),n=X0(r,n)|0;e:do if((t|0)>1)for(o=Sh(r,87246)|0,i=1,n=U0(r)|0;;){if(!n)break e;(e[(e[n+16>>2]|0)+128>>2]|0)==(i|0)&&(rr(r,o,n,0,1)|0,i=i+1|0),n=X0(r,n)|0}while(0);return t|0}function K60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(l=U0(r)|0;l;){for(s=l+16|0,o=Me(r,l)|0;o;)t=e[s>>2]|0,i=e[t+180>>2]|0,i?t=Oe(i,(e[t+184>>2]<<2)+8|0)|0:t=_0((e[t+184>>2]<<2)+8|0)|0,i=e[s>>2]|0,e[i+180>>2]=t,i=i+184|0,n=e[i>>2]|0,e[i>>2]=n+1,e[t+(n<<2)>>2]=o,n=e[s>>2]|0,e[(e[n+180>>2]|0)+(e[n+184>>2]<<2)>>2]=0,n=o+-48|0,t=e[(e[((e[o>>2]&3|0)==2?o:n)+40>>2]|0)+16>>2]|0,i=e[t+172>>2]|0,i?t=Oe(i,(e[t+176>>2]<<2)+8|0)|0:t=_0((e[t+176>>2]<<2)+8|0)|0,e[(e[(e[((e[o>>2]&3|0)==2?o:n)+40>>2]|0)+16>>2]|0)+172>>2]=t,A=e[(e[((e[o>>2]&3|0)==2?o:n)+40>>2]|0)+16>>2]|0,t=e[A+172>>2]|0,A=A+176|0,i=e[A>>2]|0,e[A>>2]=i+1,e[t+(i<<2)>>2]=o,n=e[(e[((e[o>>2]&3|0)==2?o:n)+40>>2]|0)+16>>2]|0,e[(e[n+172>>2]|0)+(e[n+176>>2]<<2)>>2]=0,o=Qe(r,o)|0;l=X0(r,l)|0}}function b60(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;w=r+16|0,p=e[w>>2]|0,$[p+236>>1]=32767,$[p+238>>1]=-1;e:do if((i|0)>1)for(o=j0((i<<2)+4|0)|0,n=i+1|0,i=1;;){if((i|0)==(n|0)){c=o,p=o;break e}e[o+(i<<2)>>2]=32767,i=i+1|0}else c=0,p=0;while(0);for(l=(c|0)==0,o=U0(r)|0;o;)s=e[(e[(e[(ko(o)|0)+16>>2]|0)+148>>2]|0)+16>>2]|0,A=e[s+232>>2]|0,a=e[o+16>>2]|0,e[a+232>>2]=A,i=e[w>>2]|0,n=i+238|0,(A|0)>($[n>>1]|0)&&($[n>>1]=A),i=i+236|0,(A|0)<($[i>>1]|0)&&($[i>>1]=A),l||(s=e[s+128>>2]|0,e[a+128>>2]=s,a=c+(s<<2)|0,s=e[a>>2]|0,e[a>>2]=(s|0)<(A|0)?s:A),o=X0(r,o)|0;s=(c|0)!=0;e:do if(s)for(i=U0(r)|0;;){if(!i){i=1;break e}a=e[i+16>>2]|0,w=a+232|0,e[w>>2]=(e[w>>2]|0)-(e[c+(e[a+128>>2]<<2)>>2]|0),i=X0(r,i)|0}else if(c=$[(e[w>>2]|0)+236>>1]|0,n=c<<16>>16,c<<16>>16>0){for(i=U0(r)|0;i;)c=(e[i+16>>2]|0)+232|0,e[c>>2]=(e[c>>2]|0)-n,i=X0(r,i)|0;i=e[w>>2]|0,w=i+236|0,$[w>>1]=(M0[w>>1]|0)-n,i=i+238|0,$[i>>1]=(M0[i>>1]|0)-n,i=0}else i=0;while(0);for(Rj(r,i),l=U0(t)|0;l;)n=l+16|0,i=e[n>>2]|0,o=e[i+172>>2]|0,o&&(r0(o),i=e[n>>2]|0),i=e[i+180>>2]|0,i|0&&r0(i),l=X0(t,l)|0;for(r0(e[(e[(U0(r)|0)+16>>2]|0)+112>>2]|0),i=U0(r)|0;i;)e[(e[i+16>>2]|0)+112>>2]=0,i=X0(r,i)|0;s&&r0(p)}function ko(r){r=r|0;var t=0,i=0,n=0;if(t=r+16|0,i=(e[t>>2]|0)+152|0,n=e[i>>2]|0,n){if((n|0)!=(r|0))return n=ko(n)|0,e[(e[t>>2]|0)+152>>2]=n,n|0}else e[i>>2]=r;return r|0}function Rj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(s=r+16|0,i=1;n=e[s>>2]|0,!((i|0)>(e[n+180>>2]|0));)Rj(e[(e[n+184>>2]|0)+(i<<2)>>2]|0,0),i=i+1|0;if((t|0)!=0|(e[n+200>>2]|0)!=0){for($[n+236>>1]=32767,$[n+238>>1]=-1,i=0,l=U0(r)|0;l;)o=e[(e[l+16>>2]|0)+232>>2]|0,t=e[s>>2]|0,n=t+238|0,(o|0)>($[n>>1]|0)&&($[n>>1]=o),t=t+236|0,(o|0)<($[t>>1]|0)&&($[t>>1]=o,i=l),l=X0(r,l)|0;e[(e[s>>2]|0)+264>>2]=i}}function P7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(e[t+16>>2]|0)+128|0;e:do if(!(e[n>>2]|0)){for(e[n>>2]=i,n=Me(r,t)|0;n;)P7(r,e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,i),n=Qe(r,n)|0;for(n=Xo(r,t)|0;;){if(!n)break e;P7(r,e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0,i),n=ms(r,n)|0}}while(0)}function Sh(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=ht(r,t,1)|0,t=o+16|0,e[(e[t>>2]|0)+176>>2]=0,n=j0(20)|0,i=e[t>>2]|0,e[i+172>>2]=n,e[i+184>>2]=0,i=j0(20)|0,t=e[t>>2]|0,e[t+180>>2]=i,i=e[46747]|0,n=t+168|0,i?(e[n>>2]=i,e[(e[i+16>>2]|0)+164>>2]=o):(e[n>>2]=0,e[(e[r+16>>2]|0)+192>>2]=o),e[46747]=o,e[t+164>>2]=0,o|0}function Gj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;if(l=t+16|0,i=e[l>>2]|0,n=i+157|0,!(y[n>>0]|0)){for(y[n>>0]=1,y[i+158>>0]=1,t=Me(r,t)|0;t;){if(i=Qe(r,t)|0,n=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,o=e[n+16>>2]|0,y[o+158>>0]|0){ew0(r,t),t=i;continue}if(y[o+157>>0]|0){t=i;continue}Gj(r,n),t=i}y[(e[l>>2]|0)+158>>0]=0}}function ew0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[t>>2]&3,o=t+-48|0,n=t+48|0,i=rr(r,e[((i|0)==2?t:o)+40>>2]|0,e[((i|0)==3?t:n)+40>>2]|0,0,0)|0,i||(i=e[t>>2]&3,i=rr(r,e[((i|0)==2?t:o)+40>>2]|0,e[((i|0)==3?t:n)+40>>2]|0,0,1)|0),o=e[t+16>>2]|0,Y7(i,M0[o+170>>1]|0,e[o+156>>2]|0),zn(r,t)|0}function Y7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;r=e[r+16>>2]|0,n=r+170|0,o=M0[n>>1]|0,$[n>>1]=(o|0)>(t|0)?o:t,t=r+156|0,e[t>>2]=(e[t>>2]|0)+i}function O7(r){return r=r|0,(DA(he(r,87262)|0,0)|0)&255|0}function rw0(r){r=r|0;var t=0,i=0;return t=e[47189]|0,t|0&&(i=k2(r,t)|0,(i|0)!=0)&&y[i>>0]|0&&!((jt(i)|0)<<24>>24)?r=1:r=0,r|0}function tw0(r){r=r|0;var t=0,i=0;return i=e[r>>2]&3,t=e[(e[(e[((i|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,r=e[(e[(e[((i|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,(t|0)==(r|0)?1:(i=nw0(t,r)|0,((i|0)==(t|0)|(i|0)==(r|0))&1|0)}function Zj(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+16|0,l=A,o=rr(r,t,i,0,0)|0,o?s=4:(o=rr(r,i,t,0,0)|0,o?s=4:(o=rr(r,t,i,0,1)|0,o?s=4:(t=te(t)|0,n=te(i)|0,e[l>>2]=t,e[l+4>>2]=n,$0(1,87279,l)|0))),(s|0)==4&&(s=e[n+16>>2]|0,Y7(o,M0[s+170>>1]|0,e[s+156>>2]|0)),g=A}function iw0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(a=g,g=g+112|0,s=a,l=a+4|0,o=Xo(r,t)|0;;){if(!o){A=6;break}if(c=Me(r,e[((e[o>>2]&3|0)==3?o:o+48|0)+40>>2]|0)|0,c|0&&(e[((e[c>>2]&3|0)==2?c:c+-48|0)+40>>2]|0)==(i|0))break;o=ms(r,o)|0}(A|0)==6&&(c=e[46748]|0,e[46748]=c+1,e[s>>2]=c,Ke(l,87270,s)|0,l=Sh(r,l)|0,c=rr(r,l,t,0,1)|0,l=rr(r,l,i,0,1)|0,i=e[n+16>>2]|0,A=i+156|0,c=(e[c+16>>2]|0)+156|0,e[c>>2]=(e[c>>2]|0)+((e[A>>2]|0)*1e3|0),c=e[l+16>>2]|0,s=c+170|0,$[s>>1]=$[(e[((M0[s>>1]|0)>(M0[i+170>>1]|0)?l:n)+16>>2]|0)+170>>1]|0,c=c+156|0,e[c>>2]=(e[c>>2]|0)+(e[A>>2]|0)),g=a}function nw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;e:for(;;){for(n=r+16|0;;){if((r|0)==(t|0))break e;if(o=e[n>>2]|0,i=e[t+16>>2]|0,(e[o+204>>2]|0)>=(e[i+204>>2]|0))break;t=e[i+200>>2]|0}r=e[o+200>>2]|0}return r|0}function ow0(r){return r=r|0,(U0(r)|0)==0|0}function lw0(r,t){r=r|0,t=t|0,e[(e[r+16>>2]|0)+200>>2]=t,Sj(t,r),xj(t,r)}function sw0(r){r=r|0;var t=0;return r=he(r,87171)|0,r|0&&y[r>>0]|0?ge(r,87181)|0?ge(r,87185)|0?ge(r,87192)|0?ge(r,87196)|0?ge(r,87176)|0?t=8:r=1:r=5:r=4:r=3:r=2:t=8,(t|0)==8&&(r=6),r|0}function np(r){r=r|0;var t=0,i=0;i=U0(r)|0;e:do if(!i)t=0;else for(t=ko(i)|0;;){if(i=X0(r,i)|0,!i)break e;V7(t,i)|0}while(0);return t|0}function V7(r,t){return r=r|0,t=t|0,t&&(r=ko(r)|0,e[(e[(ko(t)|0)+16>>2]|0)+152>>2]=r),r|0}function Aw0(r,t,i){r=r|0,t=t|0,i=i|0,$e(t,87230,e[i>>2]|0,1)|0}function uw0(r,t,i){r=r|0,t=t|0,i=i|0,$e(t,87397,e[i+4>>2]|0,1)|0}function fw0(r,t,i){r=r|0,t=t|0,i=i|0,$e(t,87382,e[i+8>>2]|0,1)|0}function Wj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+240|0,c=v+120|0,w=v,e[47193]=re(r,2,87412,0)|0,a=re(r,2,87421,0)|0,e[47194]=a;e:do if((a|0)!=0|(e[47193]|0)!=0)for(a=U0(r)|0;;){if(!a)break e;for(A=0,t=0,s=Jr(r,a)|0;;){if(!s){n=0;break}i=e[s>>2]|0,o=i&3,n=e[((o|0)==2?s:s+-48|0)+40>>2]|0,l=s+48|0;r:do if((n|0)!=(e[((o|0)==3?s:l)+40>>2]|0)){o=e[47193]|0;do if((n|0)==(a|0)&(o|0)!=0)if(n=k2(s,o)|0,y[n>>0]|0){i=A,t=Dj(c,t,a,s,n)|0;break r}else{i=e[s>>2]|0;break}while(0);n=e[47194]|0,n|0&&(e[((i&3|0)==3?s:l)+40>>2]|0)==(a|0)&&(p=k2(s,n)|0,(y[p>>0]|0)!=0)?i=Dj(w,A,a,s,p)|0:i=A}else i=A;while(0);A=i,s=ot(r,s,a)|0}for(;;){if((n|0)>=(t|0)){i=0;break}i=c+(n*24|0)+4|0,(e[c+(n*24|0)+8>>2]|0)>1&&Mj(a,i),i=e[i>>2]|0,i|0&&r0(i),n=n+1|0}for(;!((i|0)>=(A|0));)t=w+(i*24|0)+4|0,(e[w+(i*24|0)+8>>2]|0)>1&&Mj(a,t),t=e[t>>2]|0,t|0&&r0(t),i=i+1|0;a=X0(r,a)|0}while(0);g=v}function Dj(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(p=g,g=g+16|0,A=p,a=p+12|0,c=p+8|0,w=0;;){if((w|0)>=(t|0)){s=10;break}if(s=e[r+(w*24|0)>>2]|0,(y[s>>0]|0)==(y[o>>0]|0)&&!(ge(s,o)|0)){s=5;break}w=w+1|0}do if((s|0)==5)A=r+(w*24|0)+4|0,s=e[A>>2]|0,s?(v=r+(w*24|0)+8|0,o=v,s=Oe(s,(e[v>>2]<<2)+8|0)|0):(s=r+(w*24|0)+8|0,o=s,s=_0((e[s>>2]<<2)+8|0)|0),e[A>>2]=s,m=e[o>>2]|0,v=m+1|0,e[o>>2]=v,e[s+(m<<2)>>2]=n,e[(e[A>>2]|0)+(v<<2)>>2]=0,s=13;else if((s|0)==10)if((t|0)>4){m=te(i)|0,e[A>>2]=5,e[A+4>>2]=m,$0(1,87430,A)|0;break}else{E=r+(w*24|0)+8|0,e[E>>2]=0,A=j0(8)|0,m=r+(w*24|0)+4|0,e[m>>2]=A,v=e[E>>2]|0,s=v+1|0,e[E>>2]=s,e[A+(v<<2)>>2]=n,e[(e[m>>2]|0)+(s<<2)>>2]=0,e[r+(w*24|0)>>2]=o,e[r+(w*24|0)+12>>2]=0,u[r+(w*24|0)+16>>3]=0,t=t+1|0,s=13;break}while(0);return(s|0)==13&&(ch(n,a,c),s=(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)==(i|0)?e[c>>2]|0:e[a>>2]|0,s&&(m=r+(w*24|0)+12|0,E=e[m>>2]|0,e[m>>2]=E+1,E?l=0:l=+pf(n,s),u[r+(w*24|0)+16>>3]=l)),g=p,t|0}function Mj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;for(L=g,g=g+80|0,B=L+68|0,x=L+64|0,m=L,z=t+4|0,c=e[z>>2]|0,_=r+16|0,l=0,p=0,v=0;!((l|0)>=(c|0));)n=e[(e[t>>2]|0)+(l<<2)>>2]|0,o=e[n>>2]&3,i=e[((o|0)==2?n:n+-48|0)+40>>2]|0,(i|0)==(r|0)&&(i=e[((o|0)==3?n:n+48|0)+40>>2]|0),o=e[i+16>>2]|0,E=e[_>>2]|0,A=+u[o+16>>3]-+u[E+16>>3],a=+u[o+24>>3]-+u[E+24>>3],w=+Qc(A,a),l=l+1|0,p=A/w+p,v=a/w+v;for(s=+Qc(p,v),E=e[_>>2]|0,A=+u[E+16>>3],a=+u[E+24>>3],G=+u[E+96>>3]+ +u[E+88>>3],w=+u[E+80>>3],E=G>w+ +(e[(e[(We(r)|0)+16>>2]|0)+252>>2]|0),i=e[_>>2]|0,E?w=+u[i+96>>3]+ +u[i+88>>3]:(w=+u[i+80>>3],w=w+ +(e[(e[(We(r)|0)+16>>2]|0)+252>>2]|0),i=e[_>>2]|0),G=+u[i+16>>3]+w*(p/s),s=+u[i+24>>3]+w*(v/s),u[m>>3]=A,c=m+8|0,u[c>>3]=a,u[m+16>>3]=(G+A*2)*.3333333333333333,u[m+24>>3]=(s+a*2)*.3333333333333333,u[m+32>>3]=(G*2+A)*.3333333333333333,u[m+40>>3]=(s*2+a)*.3333333333333333,u[m+48>>3]=G,u[m+56>>3]=s,Sk0(r,m),E=e[_>>2]|0,s=+u[m>>3]-+u[E+16>>3],A=+u[c>>3]-+u[E+24>>3],s=+(~~(s+(s>=0?.5:-.5))|0),A=+(~~(A+(A>=0?.5:-.5))|0),G=+u[E+88>>3],E=~~((G+s)*256/(+u[E+96>>3]+G))&255,m=0;!((m|0)>=(e[z>>2]|0));){for(c=e[(e[t>>2]|0)+(m<<2)>>2]|0,ch(c,B,x);c;){o=c;for(;;){if(!o){l=c;break}if(i=e[o>>2]|0,l=o+-48|0,(e[((i&3|0)==2?o:l)+40>>2]|0)==(r|0)&&(i=e[o+16>>2]|0,u[i+56>>3]=s,u[i+64>>3]=A,u[i+72>>3]=0,e[i+80>>2]=0,y[i+84>>0]=1,y[i+85>>0]=0,y[i+86>>0]=0,y[i+87>>0]=0,y[i+88>>0]=E,y[i+89>>0]=0,e[i+92>>2]=0,i=e[o>>2]|0),n=o+16|0,(e[((i&3|0)==3?o:o+48|0)+40>>2]|0)==(r|0)&&(i=e[n>>2]|0,u[i+16>>3]=s,u[i+24>>3]=A,u[i+32>>3]=0,e[i+40>>2]=0,y[i+44>>0]=1,y[i+45>>0]=0,y[i+46>>0]=0,y[i+47>>0]=0,y[i+48>>0]=E,y[i+49>>0]=0,e[i+52>>2]=0),(y[(e[n>>2]|0)+112>>0]|0)!=1){o=0;continue}if(i=e[(e[((e[o>>2]&3|0)==2?o:l)+40>>2]|0)+16>>2]|0,(y[i+156>>0]|0)!=1){o=0;continue}if((e[i+184>>2]|0)!=1){o=0;continue}o=e[e[i+180>>2]>>2]|0}for(;l;){if(i=e[l>>2]|0,(e[((i&3|0)==2?l:l+-48|0)+40>>2]|0)==(r|0)&&(i=e[l+16>>2]|0,u[i+56>>3]=s,u[i+64>>3]=A,u[i+72>>3]=0,e[i+80>>2]=0,y[i+84>>0]=1,y[i+85>>0]=0,y[i+86>>0]=0,y[i+87>>0]=0,y[i+88>>0]=E,y[i+89>>0]=0,e[i+92>>2]=0,i=e[l>>2]|0),n=l+48|0,o=l+16|0,(e[((i&3|0)==3?l:n)+40>>2]|0)==(r|0)&&(i=e[o>>2]|0,u[i+16>>3]=s,u[i+24>>3]=A,u[i+32>>3]=0,e[i+40>>2]=0,y[i+44>>0]=1,y[i+45>>0]=0,y[i+46>>0]=0,y[i+47>>0]=0,y[i+48>>0]=E,y[i+49>>0]=0,e[i+52>>2]=0),(y[(e[o>>2]|0)+112>>0]|0)!=1){l=0;continue}if(i=e[(e[((e[l>>2]&3|0)==3?l:n)+40>>2]|0)+16>>2]|0,(y[i+156>>0]|0)!=1){l=0;continue}if((e[i+176>>2]|0)!=1){l=0;continue}l=e[e[i+172>>2]>>2]|0}c=e[(e[c+16>>2]|0)+172>>2]|0}m=m+1|0}y[(e[_>>2]|0)+145>>0]=1,g=L}function H7(r){r=r|0;var t=0,i=0,n=0;bo(r),t=e[r>>2]&3,i=r+-48|0,n=r+48|0,t=yf(e[((t|0)==2?r:i)+40>>2]|0,e[((t|0)==3?r:n)+40>>2]|0)|0,t?Ss(r,t):(t=e[r>>2]&3,Jn(e[((t|0)==2?r:i)+40>>2]|0,e[((t|0)==3?r:n)+40>>2]|0,r)|0)}function aw0(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=r+16|0,i=0;r=e[n>>2]|0,!((i|0)>=(e[r+220>>2]|0));){for(t=e[(e[r+216>>2]|0)+(i<<2)>>2]|0,e[r+192>>2]=t,r=t,t=r;t;)o=e[t+16>>2]|0,y[o+157>>0]=0,t=e[o+164>>2]|0;for(;r;)jj(r),r=e[(e[r+16>>2]|0)+164>>2]|0;i=i+1|0}}function jj(r){r=r|0;var t=0,i=0,n=0,o=0;if(o=r+16|0,t=e[o>>2]|0,r=t+157|0,!(y[r>>0]|0)){for(y[r>>0]=1,y[t+158>>0]=1,r=0;n=e[(e[t+180>>2]|0)+(r<<2)>>2]|0,!!n;)t=e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,i=e[t+16>>2]|0,y[i+158>>0]|0?(H7(n),r=r+-1|0):y[i+157>>0]|0||jj(t),r=r+1|0,t=e[o>>2]|0;y[t+158>>0]=0}}function x2e(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(n=U0(r)|0,t=0;n;){for(i=Me(r,n)|0;i;)l=e[i>>2]&3,s=e[(e[(e[((l|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0,l=e[(e[(e[((l|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0,o=s-l|0,i=Qe(r,i)|0,t=((s|0)==(l|0)?0:((o|0)>-1?o:0-o|0)+-1|0)+t|0;n=X0(r,n)|0}return t|0}function Nj(r){r=r|0;var t=0,i=0,n=0,o=0;for(i=U0(r)|0;i;){for(o=e[i+16>>2]|0,n=e[o+176>>2]|0,o=o+172|0,t=0;!((t|0)>=(n|0));)y[(e[(e[(e[o>>2]|0)+(t<<2)>>2]|0)+16>>2]|0)+112>>0]=0,t=t+1|0;i=X0(r,i)|0}}function cw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(m=g,g=g+16|0,p=m,A=e[t+24>>2]|0,hw0(r),a=(A|0)==-1,c=t+8|0,s=a^1,w=e[15712]|0,o=17976931348623157e292,l=0;a|(l|0)<(A|0);){for(i=U0(r)|0;i;)e[(e[i+16>>2]|0)+232>>2]=0,i=X0(r,i)|0;if(T7(r),n=+Qj(r),u[c>>3]=n,!(!(n<=+u[t>>3])&(!(o<=n)|s))){v=9;break}ww0(r),o=n,l=l+1|0}(v|0)==9&&(v=t+20|0,e[t+16>>2]=e[v>>2],e[v>>2]=l),T7(r),J7(r),dw0(),u[c>>3]=+Qj(r),g=m}function hw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(e[46752]=_0((v2(r)|0)*24|0)|0,e[46751]=0,t=U0(r)|0;t;)e[(e[t+16>>2]|0)+120>>2]=-1,t=X0(r,t)|0;for(s=U0(r)|0;s;){A=s+16|0;do if(!(e[(e[A>>2]|0)+216>>2]|0))o=j0(4)|0,l=e[46752]|0,a=e[46751]|0,e[l+(a*24|0)>>2]=o,e[o>>2]=s,e[l+(a*24|0)+4>>2]=1,A=e[A>>2]|0,u[l+(a*24|0)+8>>3]=+u[A+32>>3],u[l+(a*24|0)+16>>3]=+u[A+40>>3],e[A+120>>2]=a,e[46751]=a+1;else{if(l=Ht(s)|0,a=l+16|0,t=e[a>>2]|0,i=e[t+120>>2]|0,(i|0)>-1){l=e[46752]|0,o=e[l+(i*24|0)>>2]|0,n=l+(i*24|0)+4|0,a=e[n>>2]|0,e[n>>2]=a+1,e[o+(a<<2)>>2]=s,a=e[A>>2]|0,A=l+(i*24|0)+8|0,u[A>>3]=+u[A>>3]+ +u[a+32>>3],A=l+(i*24|0)+16|0,c=+u[A>>3],w=+u[a+40>>3],u[A>>3]=c>2]=i;break}i=j0(e[t+216>>2]<<2)|0,n=e[46752]|0,o=e[46751]|0,t=n+(o*24|0)|0,e[t>>2]=i,e[i>>2]=l,(l|0)==(s|0)?(u[n+(o*24|0)+8>>3]=+u[(e[a>>2]|0)+32>>3],i=1,t=s):(e[(e[t>>2]|0)+4>>2]=s,p=e[a>>2]|0,t=e[A>>2]|0,u[n+(o*24|0)+8>>3]=+u[t+32>>3]+ +u[p+32>>3],i=2,t=+u[p+40>>3]<+u[t+40>>3]?s:l),e[n+(o*24|0)+4>>2]=i,u[n+(o*24|0)+16>>3]=+u[(e[t+16>>2]|0)+40>>3],e[(e[a>>2]|0)+120>>2]=o,e[(e[A>>2]|0)+120>>2]=o,e[46751]=o+1}while(0);s=X0(r,s)|0}}function Qj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(J7(r),l=e[46749]|0,n=e[r+16>>2]|0,t=+(N0(e[n+252>>2]|0,l+-1|0)|0),o=e[46750]|0,n=n+248|0,r=0,i=0;!((r|0)>=(l|0));)s=+u[o+(r*40|0)+24>>3]+ +(N0(e[n>>2]|0,e[o+(r*40|0)+16>>2]|0)|0),A=+u[o+(r*40|0)+32>>3]+t,r=r+1|0,t=A,i=i=(v2(r)|0));)e[(e[46753]|0)+(t<<2)>>2]=t,t=t+1|0;J7(r),pw0(r),kw0(r)}function J7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(e[46749]=0,t=e[46750]|0,t|0){for(n=0;!((n|0)>=(e[46751]|0));)i=e[t+(n*40|0)+4>>2]|0,i&&(r0(i),t=e[46750]|0),i=e[t+(n*40|0)+8>>2]|0,i&&(r0(i),t=e[46750]|0),n=n+1|0;r0(t)}for(e[46750]=j0((e[46751]|0)*40|0)|0,t=0;i=e[46751]|0,!((t|0)>=(i|0));)a=j0(i<<2)|0,e[(e[46750]|0)+(t*40|0)+4>>2]=a,a=j0(e[46751]<<2)|0,c=e[46750]|0,e[c+(t*40|0)+8>>2]=a,e[c+(t*40|0)>>2]=t,e[c+(t*40|0)+12>>2]=0,e[c+(t*40|0)+16>>2]=0,c=c+(t*40|0)+24|0,e[c>>2]=0,e[c+4>>2]=0,e[c+8>>2]=0,e[c+12>>2]=0,t=t+1|0;for(n=U0(r)|0;n;){for(i=Me(r,n)|0;i;){for(s=e[i>>2]|0,o=i+-48|0,l=e[46750]|0,t=e[(e[(e[((s&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0;t=t+1|0,!((t|0)>=(e[(e[(e[((s&3|0)==2?i:o)+40>>2]|0)+16>>2]|0)+232>>2]|0));)s=l+(t*40|0)+16|0,e[s>>2]=(e[s>>2]|0)+1,s=e[i>>2]|0;i=Qe(r,i)|0}n=X0(r,n)|0}for(s=e[46751]|0,a=e[46752]|0,c=e[46750]|0,i=r+16|0,t=0;!((t|0)>=(s|0));)n=(e[e[a+(t*24|0)>>2]>>2]|0)+16|0,o=e[(e[n>>2]|0)+232>>2]|0,(o|0)>=(e[46749]|0)&&(e[46749]=o+1),l=c+(o*40|0)+24|0,A=+u[l>>3],u[l>>3]=A+ +u[a+(t*24|0)+8>>3]*72+(A>0?+(e[(e[i>>2]|0)+248>>2]|0):0),l=c+(o*40|0)+32|0,A=+u[a+(t*24|0)+16>>3]*72,+u[l>>3]>3]=A),e[(e[c+(o*40|0)+4>>2]|0)+(e[c+(o*40|0)+12>>2]<<2)>>2]=a+(t*24|0),r=c+((e[(e[n>>2]|0)+232>>2]|0)*40|0)+12|0,e[r>>2]=(e[r>>2]|0)+1,t=t+1|0}function dw0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(c=e[46749]|0,w=e[46750]|0,a=0,t=0,r=0;!((a|0)>=(c|0));){i=w+(a*40|0)|0,A=e[w+(a*40|0)+12>>2]|0,n=(t|0)==0;e:do if(A){if(n)t=0;else if((e[i>>2]|0)>(r|0))for(o=w+(a*40|0)+4|0,i=0;;){if((i|0)>=(A|0))break e;for(l=e[(e[o>>2]|0)+(i<<2)>>2]|0,s=e[l+4>>2]|0,n=0;!((n|0)>=(s|0));)p=(e[(e[(e[l>>2]|0)+(n<<2)>>2]|0)+16>>2]|0)+232|0,e[p>>2]=(e[p>>2]|0)-t,n=n+1|0;i=i+1|0}}else n&&(r=e[i>>2]|0),t=t+1|0;while(0);a=a+1|0}}function pw0(r){r=r|0;var t=0;t=e[46753]|0,ei(t,v2(r)|0,4,63)}function kw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(s=e[46749]|0,A=e[46750]|0,o=e[46753]|0,l=0;;){if((l|0)>=(s|0)){i=0,t=0;break}if(i=e[o+(l<<2)>>2]|0,n=l+1|0,(e[A+(i*40|0)+12>>2]|0)<2)l=n;else{a=4;break}}(a|0)==4&&((s|0)>(n|0)?t=+u[A+((e[o+(n<<2)>>2]|0)*40|0)+24>>3]:t=0);e:do if((l|0)!=(s|0))for(ei(e[A+(i*40|0)+4>>2]|0,e[A+(i*40|0)+12>>2]|0,4,64),o=e[46750]|0,E=+u[o+(i*40|0)+24>>3],E=!(t<=E*.25)&!(t>=E*.75)?t:E*.5,B=e[o+(i*40|0)+12>>2]|0,m=r+16|0,w=0,p=0,t=0,n=0,v=0;;){if((v|0)>=(n+B|0))break e;do if(e[(e[o+(i*40|0)+8>>2]|0)+(v<<2)>>2]|0)s=w,l=p,n=n+1|0;else{if(a=e[(e[o+(i*40|0)+4>>2]|0)+(v<<2)>>2]|0,r=a+8|0,c=+u[r>>3]*72+t+(t>0?+(e[(e[m>>2]|0)+248>>2]|0):0),l=(p|0)!=0,!(l&!(c<=E))){s=l?w:a,l=l?p:1,t=c;break}for(s=w+4|0,A=a+4|0,l=0;(l|0)<(e[s>>2]|0);){o=0;for(;!((o|0)>=(e[A>>2]|0));)y[(e[(Jn(e[(e[w>>2]|0)+(l<<2)>>2]|0,e[(e[a>>2]|0)+(o<<2)>>2]|0,0)|0)+16>>2]|0)+112>>0]=1,o=o+1|0;l=l+1|0}o=e[46750]|0,e[(e[o+(i*40|0)+8>>2]|0)+(v<<2)>>2]=1,s=o+(i*40|0)+12|0,e[s>>2]=(e[s>>2]|0)+-1,s=o+(i*40|0)+16|0,e[s>>2]=(e[s>>2]|0)+1,s=o+(i*40|0)+24|0,u[s>>3]=+u[r>>3]*-72-+(e[(e[m>>2]|0)+248>>2]|0)+ +u[s>>3],s=w,l=p}while(0);w=s,p=l,v=v+1|0}while(0)}function vw0(r,t){return r=r|0,t=t|0,r=Tj(e[r>>2]|0)|0,t=Tj(e[t>>2]|0)|0,((t|0)<(r|0)&1)-((t|0)>(r|0)&1)|0}function Tj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=r+4|0,i=0,t=0;!((i|0)>=(e[o>>2]|0));){for(n=e[(e[r>>2]|0)+(i<<2)>>2]|0,l=We(n)|0,n=Me(l,n)|0;n;)n=Qe(l,n)|0,t=t+1|0;i=i+1|0}return t|0}function mw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=e[46750]|0,n=+u[o+((e[t>>2]|0)*40|0)+24>>3],i=+u[o+((e[r>>2]|0)*40|0)+24>>3],(n>i&1)-(n>2]|0)+216>>2]=0,t=X0(r,t)|0}function gw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+32|0,o=l+16|0,n=l+8|0,i=l+20|0,e[i>>2]=5,r=he(r,99605)|0,r|0&&(e[n>>2]=l,e[n+4>>2]=i,(X2(r,87497,n)|0)>=1)&&$0(0,87504,o)|0,e[t+24>>2]=0,e[t+32>>2]=0,g=l,0}function Pj(r){r=r|0;var t=0,i=0;return t=e[47189]|0,t|0&&(i=k2(r,t)|0,(i|0)!=0)&&y[i>>0]|0&&!((jt(i)|0)<<24>>24)?r=1:r=0,r|0}function Yj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for($j(r),t=U0(r)|0;t;){for(i=Me(r,t)|0;i;){do if(!(e[(e[i+16>>2]|0)+172>>2]|0)&&!(Pj(i)|0)&&(n=i+48|0,o=Ht(e[((e[i>>2]&3|0)==3?i:n)+40>>2]|0)|0,l=i+-48|0,s=Ht(e[((e[i>>2]&3|0)==2?i:l)+40>>2]|0)|0,(o|0)!=(s|0))){if(!(e[(e[o+16>>2]|0)+212>>2]|0)&&!(e[(e[s+16>>2]|0)+212>>2]|0))if(A=yf(o,s)|0,A){Ss(i,A);break}else{Jn(o,s,i)|0;break}A=e[i>>2]&3,yw0(r,e[((A|0)==3?i:n)+40>>2]|0,e[((A|0)==2?i:l)+40>>2]|0,i)}while(0);i=Qe(r,i)|0}t=X0(r,t)|0}}function yw0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=e[n>>2]&3,o=e[(e[((s|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0,l=e[o+212>>2]|0,l?A=(e[o+232>>2]|0)-(e[(e[(e[(e[l+16>>2]|0)+264>>2]|0)+16>>2]|0)+232>>2]|0)|0:A=0,o=e[(e[((s|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0,l=e[o+212>>2]|0,l?o=(e[(e[(e[(e[l+16>>2]|0)+264>>2]|0)+16>>2]|0)+232>>2]|0)-(e[o+232>>2]|0)|0:o=0,s=n+16|0,A=o+A+(M0[(e[s>>2]|0)+170>>1]|0)|0,r=Ml(r)|0,y[(e[r+16>>2]|0)+156>>0]=2,l=Ht(t)|0,t=Ht(i)|0,i=gi(r,l,(A|0)>0?0:+(0-A|0),(e[(e[s>>2]|0)+156>>2]|0)*10|0)|0,e[(e[(gi(r,t,+(((A|0)>0?A:0)|0),e[(e[s>>2]|0)+156>>2]|0)|0)+16>>2]|0)+116>>2]=n,e[(e[i+16>>2]|0)+116>>2]=n}function _h(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=e[t>>2]&3,l=(s|0)==3?t:t+48|0,s=(s|0)==2?t:t+-48|0,s=e[(e[(e[((e[(e[(e[l+40>>2]|0)+16>>2]|0)+232>>2]|0)>(e[(e[(e[s+40>>2]|0)+16>>2]|0)+232>>2]|0)?l:s)+40>>2]|0)+16>>2]|0)+232>>2]|0,l=t+16|0,t=(e[l>>2]|0)+172|0,e[t>>2]|0&&H0(87593,87615,148,87624),e[t>>2]=i,o=(n|0)==0;do{if(t=e[l>>2]|0,o?n=e[i+16>>2]|0:(n=e[i+16>>2]|0,A=n+168|0,$[A>>1]=(M0[A>>1]|0)+(M0[t+168>>1]|0)),A=n+154|0,$[A>>1]=(M0[A>>1]|0)+(M0[t+154>>1]|0),n=n+156|0,e[n>>2]=(e[n>>2]|0)+(e[t+156>>2]|0),t=i+-48|0,n=e[((e[i>>2]&3|0)==2?i:t)+40>>2]|0,(e[(e[n+16>>2]|0)+232>>2]|0)==(s|0))break;Oj(r,n),i=e[e[(e[(e[((e[i>>2]&3|0)==2?i:t)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}while(i|0)}function Oj(r,t){r=r|0,t=t|0;var i=0;i=+((e[(e[r+16>>2]|0)+248>>2]|0)/2|0|0),t=e[t+16>>2]|0,r=t+88|0,u[r>>3]=+u[r>>3]+i,t=t+96|0,u[t>>3]=+u[t>>3]+i}function Vj(r,t){r=r|0,t=t|0;var i=0,n=0;return(r|0)!=0&(t|0)!=0&&(n=e[r>>2]&3,i=e[t>>2]&3,(e[((n|0)==3?r:r+48|0)+40>>2]|0)==(e[((i|0)==3?t:t+48|0)+40>>2]|0))&&(e[((n|0)==2?r:r+-48|0)+40>>2]|0)==(e[((i|0)==2?t:t+-48|0)+40>>2]|0)&&(e[(e[r+16>>2]|0)+96>>2]|0)==(e[(e[t+16>>2]|0)+96>>2]|0)&&xh(r,t)|0?r=1:r=0,r|0}function Hj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(B=r+16|0,t=e[B>>2]|0,e[t+192>>2]=0,e[t+232>>2]=0,$j(r),t=1;i=e[B>>2]|0,!((t|0)>(e[i+180>>2]|0));)Gw0(r,e[(e[i+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0;for(l=U0(r)|0;l;){for(o=Me(r,l)|0;o;)t=e[o>>2]|0,i=(e[(e[((t&3|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+160|0,n=y[i>>0]|0,n<<24>>24<3&&(y[i>>0]=n+1<<24>>24,t=e[o>>2]|0),t=(e[(e[((t&3|0)==3?o:o+48|0)+40>>2]|0)+16>>2]|0)+160|0,i=y[t>>0]|0,i<<24>>24<3&&(y[t>>0]=i+1<<24>>24),o=Qe(r,o)|0;l=X0(r,l)|0}for(w=U0(r)|0;w;){for(!(e[(e[w+16>>2]|0)+212>>2]|0)&&(w|0)==(Ht(w)|0)&&(L7(r,w),c=(e[B>>2]|0)+232|0,e[c>>2]=(e[c>>2]|0)+1),t=0,c=Me(r,w)|0;c;){a=c+16|0,l=e[a>>2]|0;e:do if(e[l+172>>2]|0)t=c;else{if(Cw0(c)|0){if(!(Vj(t,c)|0)){Ew0(r,c),t=c;break}if(i=e[(e[t+16>>2]|0)+172>>2]|0,i|0){_h(r,c,i,0),_A(c);break}if(a=e[c>>2]&3,(e[(e[(e[((a|0)==3?c:c+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)!=(e[(e[(e[((a|0)==2?c:c+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0))break;Ss(c,t),_A(c);break}if(t)if(s=e[c>>2]&3,i=c+48|0,n=e[((s|0)==3?c:i)+40>>2]|0,o=e[t>>2]&3,(n|0)==(e[((o|0)==3?t:t+48|0)+40>>2]|0)&&(p=e[((s|0)==2?c:c+-48|0)+40>>2]|0,(p|0)==(e[((o|0)==2?t:t+-48|0)+40>>2]|0))){if((e[(e[n+16>>2]|0)+232>>2]|0)==(e[(e[p+16>>2]|0)+232>>2]|0)){Ss(c,t),_A(c);break}if(!(e[l+96>>2]|0)&&(v=t+16|0,(e[(e[v>>2]|0)+96>>2]|0)==0)&&xh(c,t)|0)if(y[194954]|0){y[(e[a>>2]|0)+112>>0]=6;break}else{_h(r,c,e[(e[v>>2]|0)+172>>2]|0,1),_A(c);break}else s=i}else s=i;else s=c+48|0;if(l=e[c>>2]&3,i=e[((l|0)==3?c:s)+40>>2]|0,A=c+-48|0,(i|0)==(e[((l|0)==2?c:A)+40>>2]|0)){_A(c),t=c;break}if(i=Ht(i)|0,n=Ht(e[((e[c>>2]&3|0)==2?c:A)+40>>2]|0)|0,l=e[c>>2]&3,(e[((l|0)==3?c:s)+40>>2]|0)==(i|0)&&(e[((l|0)==2?c:A)+40>>2]|0)==(n|0)){if(o=e[(e[i+16>>2]|0)+232>>2]|0,l=e[(e[n+16>>2]|0)+232>>2]|0,(o|0)==(l|0)){bd(r,c),t=c;break}if((l|0)>(o|0)){op(r,i,n,c),t=c;break}i=rr(r,n,i,0,0)|0;do if(i|0&&(m=e[i>>2]&3,E=e[((m|0)==2?i:i+-48|0)+40>>2]|0,(E|0)!=(e[((e[c>>2]&3|0)==2?c:A)+40>>2]|0))&&(n=i+16|0,e[(e[n>>2]|0)+172>>2]|0||op(r,e[((m|0)==3?i:i+48|0)+40>>2]|0,E,i),!(e[(e[a>>2]|0)+96>>2]|0)&&!(e[(e[n>>2]|0)+96>>2]|0))){if(!(xh(c,i)|0))break;if(y[194954]|0){y[(e[a>>2]|0)+112>>0]=6,y[(e[n>>2]|0)+153>>0]=1;break e}else{_A(c),_h(r,c,e[(e[n>>2]|0)+172>>2]|0,1);break e}}while(0);t=e[c>>2]&3,op(r,e[((t|0)==2?c:A)+40>>2]|0,e[((t|0)==3?c:s)+40>>2]|0,c),t=c}}while(0);c=Qe(r,c)|0}w=X0(r,w)|0}(fr(r)|0)!=(r|0)&&(t=e[(e[B>>2]|0)+216>>2]|0,t?t=Oe(t,4)|0:t=_0(4)|0,B=e[B>>2]|0,e[B+216>>2]=t,e[t>>2]=e[B+192>>2])}function Cw0(r){r=r|0;var t=0;return t=e[r>>2]&3,(y[(e[(e[((t|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+159>>0]|0)==7?r=1:r=(y[(e[(e[((t|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+159>>0]|0)==7&1,r|0}function Ew0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;n=Jj(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,o=Jj(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,s=(e[(e[n+16>>2]|0)+232>>2]|0)>(e[(e[o+16>>2]|0)+232>>2]|0),i=s?n:o,n=s?o:n,o=n+16|0,s=i+16|0;e:do if((e[(e[o>>2]|0)+212>>2]|0)!=(e[(e[s>>2]|0)+212>>2]|0)){if(l=yf(n,i)|0,l|0){_h(r,t,l,1);break}if((e[(e[o>>2]|0)+232>>2]|0)!=(e[(e[s>>2]|0)+232>>2]|0))for(op(r,n,i,t),i=(e[t+16>>2]|0)+172|0;;){if(i=e[i>>2]|0,!i||(n=i+-48|0,(e[(e[(e[((e[i>>2]&3|0)==2?i:n)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(e[(e[s>>2]|0)+232>>2]|0)))break e;y[(e[i+16>>2]|0)+112>>0]=5,i=e[(e[(e[((e[i>>2]&3|0)==2?i:n)+40>>2]|0)+16>>2]|0)+180>>2]|0}}while(0)}function op(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(c=n+16|0,o=e[c>>2]|0,e[o+96>>2]|0?a=((e[(e[i+16>>2]|0)+232>>2]|0)+(e[(e[t+16>>2]|0)+232>>2]|0)|0)/2|0:a=-1,e[o+172>>2]|0&&H0(87636,87615,89,87661),A=i+16|0,s=e[(e[t+16>>2]|0)+232>>2]|0;l=s+1|0,o=e[(e[A>>2]|0)+232>>2]|0,!((s|0)>=(o|0));)(l|0)<(o|0)?((l|0)==(a|0)?o=Bw0(r,n)|0:o=Iw0(r)|0,e[(e[o+16>>2]|0)+232>>2]=l):o=i,E60(Jn(t,o,n)|0),s=l,t=o;if(!(e[(e[c>>2]|0)+172>>2]|0))H0(87672,87615,103,87661);else return}function Bw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return l=t+16|0,o=e[(e[l>>2]|0)+96>>2]|0,i=+u[o+24>>3],n=+u[o+32>>3],o=Ml(r)|0,t=o+16|0,e[(e[t>>2]|0)+104>>2]=e[(e[l>>2]|0)+96>>2],s=+(e[(e[(a2(o)|0)+16>>2]|0)+248>>2]|0),u[(e[t>>2]|0)+88>>3]=s,y[(e[l>>2]|0)+114>>0]|0||(r=(e[(e[(a2(r)|0)+16>>2]|0)+116>>2]&1|0)==0,l=e[t>>2]|0,u[l+80>>3]=r?n:i,u[l+96>>3]=r?i:n),o|0}function Iw0(r){r=r|0;var t=0;return t=Ml(r)|0,Oj(r,t),t|0}function Jj(r){r=r|0;var t=0;return t=e[r+16>>2]|0,(y[t+159>>0]|0)==7?r=e[(e[(e[(e[t+212>>2]|0)+16>>2]|0)+268>>2]|0)+(e[t+232>>2]<<2)>>2]|0:r=Ht(r)|0,r|0}function xw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(a=fr(r)|0,s=U0(r)|0;s;){for(t=Jr(a,s)|0,A=0;t;){if(w=ot(a,t,s)|0,Mi(r,t)|0){c=A,t=w,A=c;continue}if(c=(e[t>>2]&3|0)==2?t:t+-48|0,p=(Vj(A,c)|0)==0,n=e[c>>2]&3,t=e[((n|0)==3?c:c+48|0)+40>>2]|0,i=e[(e[t+16>>2]|0)+232>>2]|0,n=e[((n|0)==2?c:c+-48|0)+40>>2]|0,o=e[(e[n+16>>2]|0)+232>>2]|0,l=(i|0)==(o|0),!p){if(e[(e[c+16>>2]|0)+172>>2]=l?A:0,t=e[(e[A+16>>2]|0)+172>>2]|0,!t){p=A,t=w,A=p;continue}_h(r,c,t,0),xM(c),p=A,t=w,A=p;continue}if(!l)if((o|0)>(i|0)){Uj(t,n,c),t=w,A=c;continue}else{Uj(n,t,c),t=w,A=c;continue}if(t=BM(t,n)|0,!t){bd(a,c),t=w,A=c;continue}if((c|0)==(t|0)){p=A,t=w,A=p;continue}if(xM(c),e[(e[c+16>>2]|0)+172>>2]|0){p=A,t=w,A=p;continue}Ss(c,t),p=A,t=w,A=p}s=X0(r,s)|0}}function Uj(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;o=Xj(r)|0,n=Xj(t)|0,Sw0(o,n,i,e[(e[i+16>>2]|0)+172>>2]|0,(o|0)==(r|0)&(n|0)==(t|0)?1:5)}function Xj(r){r=r|0;var t=0,i=0,n=0;return t=e[r+16>>2]|0,i=e[t+212>>2]|0,i|0&&(n=e[i+16>>2]|0,(y[n+272>>0]|0)==0)&&(r=e[(e[n+268>>2]|0)+(e[t+232>>2]<<2)>>2]|0),r|0}function Sw0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0;w=r+16|0,A=e[(e[w>>2]|0)+232>>2]|0,p=t+16|0,l=e[(e[p>>2]|0)+232>>2]|0,(l|0)<=(A|0)&&H0(87697,87725,81,87735),c=e[n>>2]&3,(e[((c|0)==3?n:n+48|0)+40>>2]|0)==(r|0)&&(e[((c|0)==2?n:n+-48|0)+40>>2]|0)==(t|0)||(a=5);e:do if((a|0)==5){if(($[(e[n+16>>2]|0)+168>>1]|0)>1){if(e[(e[i+16>>2]|0)+172>>2]=0,(l-A|0)==1&&(s=yf(r,t)|0,s|0)&&xh(i,s)|0){if(Ss(i,s),y[(e[w>>2]|0)+156>>0]|0||y[(e[p>>2]|0)+156>>0]|0)break;_A(i);break}for(c=o&255,o=r,a=e[(e[w>>2]|0)+232>>2]|0;;){if(l=e[(e[p>>2]|0)+232>>2]|0,(a|0)>=(l|0))break e;(a|0)<(l+-1|0)?(l=fr(r)|0,s=n+-48|0,l=_w0(l,e[((e[n>>2]&3|0)==2?n:s)+40>>2]|0)|0,A=n):(l=t,s=n+-48|0,A=n),y[(e[(Jn(o,l,i)|0)+16>>2]|0)+112>>0]=c,w=(e[n+16>>2]|0)+168|0,$[w>>1]=($[w>>1]|0)+-1<<16>>16,o=l,a=a+1|0,n=e[e[(e[(e[((e[A>>2]&3|0)==2?n:s)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}}do if((l-A|0)==1){if(n=yf(r,t)|0,n|0&&xh(i,n)|0){if(e[(e[i+16>>2]|0)+172>>2]=n,c=e[n+16>>2]|0,y[c+112>>0]=o,c=c+168|0,$[c>>1]=($[c>>1]|0)+1<<16>>16,y[(e[w>>2]|0)+156>>0]|0||y[(e[p>>2]|0)+156>>0]|0)break;_A(i);break}e[(e[i+16>>2]|0)+172>>2]=0,n=Jn(r,t,i)|0,y[(e[n+16>>2]|0)+112>>0]=o}while(0);if(l=e[(e[p>>2]|0)+232>>2]|0,(l-(e[(e[w>>2]|0)+232>>2]|0)|0)>1){for((e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)==(r|0)?a=l:(w=i+16|0,e[(e[w>>2]|0)+172>>2]=0,a=Jn(r,e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,i)|0,e[(e[w>>2]|0)+172>>2]=a,bo(n),n=a,a=e[(e[p>>2]|0)+232>>2]|0);l=e[n>>2]&3,s=e[((l|0)==2?n:n+-48|0)+40>>2]|0,A=e[s+16>>2]|0,(e[A+232>>2]|0)!=(a|0);)n=e[e[A+180>>2]>>2]|0;(s|0)!=(t|0)&&(y[(e[(Jn(e[((l|0)==3?n:n+48|0)+40>>2]|0,t,i)|0)+16>>2]|0)+112>>0]=o,bo(n))}}while(0)}function _w0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=t+16|0,t=e[i>>2]|0,n=e[t+232>>2]|0,qj(r,n,e[t+236>>2]|0,2),t=Ml(r)|0,i=e[i>>2]|0,o=e[t+16>>2]|0,u[o+88>>3]=+u[i+88>>3],u[o+96>>3]=+u[i+96>>3],e[o+232>>2]=e[i+232>>2],i=(e[i+236>>2]|0)+1|0,e[o+236>>2]=i,e[(e[(e[(e[r+16>>2]|0)+196>>2]|0)+(n<<6)+4>>2]|0)+(i<<2)>>2]=t,t|0}function qj(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;s=r+16|0,o=e[(e[s>>2]|0)+196>>2]|0,A=e[o+(t<<6)+4>>2]|0;e:do if((n|0)<1){for(i=i-n|0;l=i+1|0,r=e[o+(t<<6)>>2]|0,!((l|0)>=(r|0));)r=e[A+(l<<2)>>2]|0,o=i+n|0,e[(e[r+16>>2]|0)+236>>2]=o,e[A+(o<<2)>>2]=r,i=l,o=e[(e[s>>2]|0)+196>>2]|0;for(l=n+-1|0,i=l+r|0;;){if((i|0)>=(r|0))break e;e[A+(i<<2)>>2]=0,o=e[(e[s>>2]|0)+196>>2]|0,i=i+1|0,r=e[o+(t<<6)>>2]|0}}else{for(l=n+-1|0,r=e[o+(t<<6)>>2]|0;r=r+-1|0,!((r|0)<=(i|0));)a=e[A+(r<<2)>>2]|0,o=l+r|0,e[(e[a+16>>2]|0)+236>>2]=o,e[A+(o<<2)>>2]=a;for(o=n+i|0,r=i;r=r+1|0,!((r|0)>=(o|0));)e[A+(r<<2)>>2]=0;r=e[(e[s>>2]|0)+196>>2]|0,o=r,r=e[r+(t<<6)>>2]|0}while(0);e[o+(t<<6)>>2]=l+r}function zw0(r){r=r|0;var t=0;Hj(r),t=e[r+16>>2]|0,e[t+220>>2]=1,e[e[t+216>>2]>>2]=e[t+192>>2],UM(r),YM(r,0),Lw0(r),xw0(r),Rw0(r)}function Lw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(A=fr(r)|0,a=r+16|0,i=e[a>>2]|0,s=$[i+236>>1]|0,t=s<<16>>16,c=A+16|0,s<<16>>16>0&&(y[(e[(e[c>>2]|0)+196>>2]|0)+(t+-1<<6)+49>>0]=0),s=t;!((s|0)>($[i+238>>1]|0));){for(l=e[(e[(e[(e[i+268>>2]|0)+(s<<2)>>2]|0)+16>>2]|0)+236>>2]|0,qj(A,s,l,e[(e[i+196>>2]|0)+(s<<6)>>2]|0),n=0,o=l;i=e[a>>2]|0,t=e[i+196>>2]|0,!((n|0)>=(e[t+(s<<6)>>2]|0));)t=e[(e[t+(s<<6)+4>>2]|0)+(n<<2)>>2]|0,e[(e[(e[(e[c>>2]|0)+196>>2]|0)+(s<<6)+4>>2]|0)+(o<<2)>>2]=t,i=e[t+16>>2]|0,e[i+236>>2]=o,(y[i+156>>0]|0)==1&&(e[t+24>>2]=a2(A)|0),Kd(r,t),L7(A,t),i=(e[c>>2]|0)+232|0,e[i>>2]=(e[i>>2]|0)+1,n=n+1|0,o=o+1|0;o=e[(e[c>>2]|0)+196>>2]|0,e[t+(s<<6)+4>>2]=(e[o+(s<<6)+4>>2]|0)+(l<<2),y[o+(s<<6)+49>>0]=0,s=s+1|0}t=e[c>>2]|0,(s|0)<($[t+238>>1]|0)&&(y[(e[t+196>>2]|0)+(s<<6)+49>>0]=0),y[i+272>>0]=1}function Rw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=r+16|0,t=e[s>>2]|0,l=$[t+236>>1]|0;!((l|0)>($[t+238>>1]|0));){for(n=e[(e[t+268>>2]|0)+(l<<2)>>2]|0,o=n+16|0;t=e[o>>2]|0,i=e[e[t+180>>2]>>2]|0,!!i;)bo(i);for(;t=e[e[t+172>>2]>>2]|0,!!t;)bo(t),t=e[o>>2]|0;Kd(fr(r)|0,n),e[(e[(e[s>>2]|0)+268>>2]|0)+(l<<2)>>2]=0,l=l+1|0,t=e[s>>2]|0}}function $j(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(p=g,g=g+16|0,w=p,n=U0(r)|0;n;)i=n+16|0,t=e[i>>2]|0,(y[t+159>>0]|0)==7&&(RQ(n),t=e[i>>2]|0),e[t+212>>2]=0,n=X0(r,n)|0;for(c=r+16|0,a=1;t=e[c>>2]|0,!((a|0)>(e[t+180>>2]|0));){l=e[(e[t+184>>2]|0)+(a<<2)>>2]|0,s=l+16|0,t=U0(l)|0;e:for(;t;){if(A=X0(l,t)|0,i=t+16|0,y[(e[i>>2]|0)+159>>0]|0){n=te(t)|0,o=te(r)|0,e[w>>2]=n,e[w+4>>2]=o,$0(0,87744,w)|0,zn(l,t)|0,t=A;continue}for(Xk0(t,e[(e[s>>2]|0)+264>>2]|0),o=e[i>>2]|0,e[o+212>>2]=l,y[o+159>>0]=7,o=Me(l,t)|0;;){if(!o){t=A;continue e}t=e[(e[o+16>>2]|0)+172>>2]|0;r:do if(t|0)do{if(i=t+-48|0,n=e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0,(y[n+156>>0]|0)!=1)break r;e[n+212>>2]=l,t=e[e[(e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}while(t|0);while(0);o=Qe(l,o)|0}}a=a+1|0}g=p}function Gw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=t+16|0,n=j0(($[(e[A>>2]|0)+238>>1]<<2)+8|0)|0,i=e[A>>2]|0,e[i+268>>2]=n,n=0,o=$[i+236>>1]|0;!((o|0)>($[i+238>>1]|0));)i=Ml(r)|0,e[(e[(e[A>>2]|0)+268>>2]|0)+(o<<2)>>2]=i,s=e[i+16>>2]|0,e[s+232>>2]=o,y[s+159>>0]=7,e[s+212>>2]=t,n|0&&(s=(e[(Jn(n,i,0)|0)+16>>2]|0)+154|0,$[s>>1]=($[s>>1]|0)*1e3),n=i,o=o+1|0,i=e[A>>2]|0;for(s=U0(t)|0;i=e[A>>2]|0,!!s;){for(o=(e[(e[i+268>>2]|0)+(e[(e[s+16>>2]|0)+232>>2]<<2)>>2]|0)+16|0,i=(e[o>>2]|0)+216|0,e[i>>2]=(e[i>>2]|0)+1,i=Me(t,s)|0;i;){for(l=e[i>>2]|0,r=i+-48|0,n=e[(e[(e[((l&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0;!((n|0)>=(e[(e[(e[((l&3|0)==2?i:r)+40>>2]|0)+16>>2]|0)+232>>2]|0));)l=(e[(e[e[(e[o>>2]|0)+180>>2]>>2]|0)+16>>2]|0)+168|0,$[l>>1]=($[l>>1]|0)+1<<16>>16,n=n+1|0,l=e[i>>2]|0;i=Qe(t,i)|0}s=X0(t,s)|0}for(r=$[i+238>>1]|0,l=i+268|0,i=$[i+236>>1]|0;!((i|0)>(r|0));)n=(e[(e[(e[l>>2]|0)+(i<<2)>>2]|0)+16>>2]|0)+216|0,o=e[n>>2]|0,(o|0)>1&&(e[n>>2]=o+-1),i=i+1|0}function Zw0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(A=(e[(e[t+16>>2]|0)+212>>2]|0)+16|0,t=e[A>>2]|0,s=i+1|0,(s|0)!=(y[t+273>>0]|0)){for(l=$[t+236>>1]|0;o=$[t+238>>1]|0,!((l|0)>(o<<16>>16|0));)VM(r,e[(e[t+268>>2]|0)+(l<<2)>>2]|0),l=l+1|0,t=e[A>>2]|0;for(l=$[t+236>>1]|0;!((l|0)>(o<<16>>16|0));)HM(n,e[(e[t+268>>2]|0)+(l<<2)>>2]|0,i),r=e[A>>2]|0,l=l+1|0,o=$[r+238>>1]|0,t=r;y[t+273>>0]=s}}function U7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(l=U0(r)|0;l;){for(e[(e[l+16>>2]|0)+212>>2]=0,o=Me(r,l)|0;o;){t=e[(e[o+16>>2]|0)+172>>2]|0;e:do if(t|0)do{if(i=t+-48|0,n=e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0,(y[n+156>>0]|0)!=1)break e;e[n+212>>2]=0,t=e[e[(e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}while(t|0);while(0);o=Qe(r,o)|0}l=X0(r,l)|0}Kj(r)}function Kj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(i=r+16|0,t=1;n=e[i>>2]|0,!((t|0)>(e[n+180>>2]|0));)Kj(e[(e[n+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0;for(s=U0(r)|0;s;){for(t=(e[s+16>>2]|0)+212|0,e[t>>2]|0||(e[t>>2]=r),l=Me(r,s)|0;l;){t=e[(e[l+16>>2]|0)+172>>2]|0;e:do if(t|0)do{if(i=e[t>>2]|0,o=t+-48|0,n=e[(e[((i&3|0)==2?t:o)+40>>2]|0)+16>>2]|0,(y[n+156>>0]|0)!=1)break e;n=n+212|0,e[n>>2]|0||(e[n>>2]=r,i=e[t>>2]|0),t=e[e[(e[(e[((i&3|0)==2?t:o)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}while(t|0);while(0);l=Qe(r,l)|0}s=X0(r,s)|0}}function Ww0(r){r=r|0;var t=0,i=0,n=0;for(n=NQ(r)|0,i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)Dw0(t,n),t=Qe(r,t)|0;i=X0(r,i)|0}Fr(n)|0}function Dw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0;D0=g,g=g+320|0,Y=D0+296|0,t0=D0+280|0,W=D0+136|0,G=D0+120|0,p=D0+104|0,A=D0+88|0,o=D0+80|0,F=D0+16|0,T=D0,a=D0+264|0,c=D0+248|0,w=D0+232|0,v=D0+216|0,D=D0+200|0,P=D0+184|0,N=D0+168|0,J=D0+152|0,l=bj(he(r,87798)|0,t)|0,E=bj(he(r,87804)|0,t)|0,B=(E|0)!=0,t=(l|0)!=0;do if(t|B&&(B0=r+16|0,n=e[(e[B0>>2]|0)+8>>2]|0,n|0)){if((e[n+4>>2]|0)>1){k0=te(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0,B0=te(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0,e[o>>2]=k0,e[o+4>>2]=B0,$0(0,87810,o)|0;break}H=e[n>>2]|0,n=e[H+4>>2]|0,m=e[r>>2]&3,x=r+-48|0,z=e[((m|0)==2?r:x)+40>>2]|0,_=r+48|0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+12>>2]=e[w+12>>2],e[Y>>2]=e[p>>2],e[Y+4>>2]=e[p+4>>2],e[Y+8>>2]=e[p+8>>2],e[Y+12>>2]=e[p+12>>2],lp(v,t0,Y,s),e[q>>2]=e[v>>2],e[q+4>>2]=e[v+4>>2],e[q+8>>2]=e[v+8>>2],e[q+12>>2]=e[v+12>>2],q=l;break}else H0(87975,87947,387,87958);else{o&&(t=f7(r,e[H>>2]|0,0,t,f0,n)|0),q=t+3|0;break}}else k0=26;while(0);(k0|0)==26&&(t=n+-1|0,e[L>>2]|0&&(q=f0+32|0,v=H+32|0,e[q>>2]=e[v>>2],e[q+4>>2]=e[v+4>>2],e[q+8>>2]=e[v+8>>2],e[q+12>>2]=e[v+12>>2]),q=t);do if(B){if(o=(e[E+16>>2]|0)+16|0,B=(e[m+16>>2]|0)+16|0,e[Y>>2]=e[B>>2],e[Y+4>>2]=e[B+4>>2],e[Y+8>>2]=e[B+8>>2],e[Y+12>>2]=e[B+12>>2],!(mc(Y,o)|0)){t0=te(e[((e[r>>2]&3|0)==3?r:_)+40>>2]|0)|0,Y=te(e[((e[r>>2]&3|0)==2?r:x)+40>>2]|0)|0,k0=he(r,87804)|0,e[G>>2]=t0,e[G+4>>2]=Y,e[G+8>>2]=k0,$0(0,87986,G)|0,k0=52;break}if(t=(e[H>>2]|0)+(q<<4)|0,e[Y>>2]=e[t>>2],e[Y+4>>2]=e[t+4>>2],e[Y+8>>2]=e[t+8>>2],e[Y+12>>2]=e[t+12>>2],mc(Y,o)|0){if(F=(e[z+16>>2]|0)+16|0,e[Y>>2]=e[F>>2],e[Y+4>>2]=e[F+4>>2],e[Y+8>>2]=e[F+8>>2],e[Y+12>>2]=e[F+12>>2],mc(Y,o)|0){t0=te(e[((e[r>>2]&3|0)==3?r:_)+40>>2]|0)|0,Y=te(e[((e[r>>2]&3|0)==2?r:x)+40>>2]|0)|0,k0=he(r,87804)|0,e[W>>2]=t0,e[W+4>>2]=Y,e[W+8>>2]=k0,$0(0,88029,W)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>2],e[Y+12>>2]=e[T+12>>2],gc(N,t0,Y),e[t>>2]=e[N>>2],e[t+4>>2]=e[N+4>>2],e[t+8>>2]=e[N+8>>2],e[t+12>>2]=e[N+12>>2],t=e[U>>2]|0,!t)break;i=a7(r,e[H>>2]|0,i,i,f0,t)|0;break}for(n=q;(n|0)>0;){t=0;for(;(t|0)!=4;)P=F+(t<<4)|0,D=(e[H>>2]|0)+(n-t<<4)|0,e[P>>2]=e[D>>2],e[P+4>>2]=e[D+4>>2],e[P+8>>2]=e[D+8>>2],e[P+12>>2]=e[D+12>>2],t=t+1|0;if(eN(F,o)|0){t=0,k0=43;break}n=n+-3|0}e:do if((k0|0)==43)for(;;){if(k0=0,(t|0)==4)break e;k0=(e[H>>2]|0)+(n-t<<4)|0,P=F+(t<<4)|0,e[k0>>2]=e[P>>2],e[k0+4>>2]=e[P+4>>2],e[k0+8>>2]=e[P+8>>2],e[k0+12>>2]=e[P+12>>2],t=t+1|0,k0=43}while(0);if(n|0){if(i=n+-3|0,t=e[U>>2]|0,!t)break;i=a7(r,e[H>>2]|0,i,q+-3|0,f0,t)|0;break}if(!(e[U>>2]|0))H0(87936,87947,452,87958);else{i=f0+16|0,F=H+16|0,r=e[H>>2]|0,e[t0>>2]=e[F>>2],e[t0+4>>2]=e[F+4>>2],e[t0+8>>2]=e[F+8>>2],e[t0+12>>2]=e[F+12>>2],e[Y>>2]=e[r>>2],e[Y+4>>2]=e[r+4>>2],e[Y+8>>2]=e[r+8>>2],e[Y+12>>2]=e[r+12>>2],lp(J,t0,Y,o),e[i>>2]=e[J>>2],e[i+4>>2]=e[J+4>>2],e[i+8>>2]=e[J+8>>2],e[i+12>>2]=e[J+12>>2],i=0;break}}else k0=52;while(0);for((k0|0)==52&&(e[U>>2]|0&&(i=f0+16|0,k0=H+16|0,e[i>>2]=e[k0>>2],e[i+4>>2]=e[k0+4>>2],e[i+8>>2]=e[k0+8>>2],e[i+12>>2]=e[k0+12>>2]),i=0),t=q-i+1|0,n=f0+4|0,e[n>>2]=t,e[f0>>2]=_0(t<<4)|0,t=0;!((t|0)>=(e[n>>2]|0));)k0=(e[f0>>2]|0)+(t<<4)|0,r=(e[H>>2]|0)+(i<<4)|0,e[k0>>2]=e[r>>2],e[k0+4>>2]=e[r+4>>2],e[k0+8>>2]=e[r+8>>2],e[k0+12>>2]=e[r+12>>2],i=i+1|0,t=t+1|0;r0(e[H>>2]|0),r0(H),e[e[(e[B0>>2]|0)+8>>2]>>2]=f0}while(0);g=D0}function bj(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,r|0&&y[r>>0]|0?(t=GC(t,r)|0,t||(e[i>>2]=r,$0(0,88149,i)|0,t=0)):t=0,g=n,t|0}function mc(r,t){r=r|0,t=t|0;var i=0,n=0;return n=+u[r>>3],+u[t>>3]<=n&&n<=+u[t+16>>3]&&(i=+u[r+8>>3],+u[t+8>>3]<=i)?r=i<=+u[t+24>>3]&1:r=0,r|0}function lp(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;P=g,g=g+464|0,w=P+48|0,D=P+32|0,z=P+16|0,_=P,L=P+364|0,G=P+264|0,N=P+164|0,T=P+64|0,m=+u[t>>3],E=+u[t+8>>3],B=+u[i>>3],x=+u[i+8>>3],e[z>>2]=e[n>>2],e[z+4>>2]=e[n+4>>2],e[z+8>>2]=e[n+8>>2],e[z+12>>2]=e[n+12>>2],n=n+16|0,e[_>>2]=e[n>>2],e[_+4>>2]=e[n+4>>2],e[_+8>>2]=e[n+8>>2],e[_+12>>2]=e[n+12>>2],a=+u[z>>3],B=+u[z+8>>3])&&o<=+u[_+8>>3]?(p=o,v=a):s=4;do if((s|0)==4){if(A=+u[_>>3],B>A){if(l=E+ +(~~((A-m)*(E-x)/(m-B))|0),o=+u[z+8>>3],l>=o&&l<=+u[_+8>>3]){p=l,v=A;break}}else o=+u[z+8>>3];if(x=a)|!(c<=A)))){p=o,v=c;break}if(o=+u[_+8>>3],x>o&&(W=m+ +(~~((o-E)*(m-B)/(E-x))|0),!(!(W>=a)|!(W<=A)))){p=o,v=W;break}e[w>>2]=e[t>>2],e[w+4>>2]=e[t+4>>2],e[w+8>>2]=e[t+8>>2],e[w+12>>2]=e[t+12>>2],L=up(w,L)|0,e[w>>2]=e[i>>2],e[w+4>>2]=e[i+4>>2],e[w+8>>2]=e[i+8>>2],e[w+12>>2]=e[i+12>>2],G=up(w,G)|0,e[w>>2]=e[z>>2],e[w+4>>2]=e[z+4>>2],e[w+8>>2]=e[z+8>>2],e[w+12>>2]=e[z+12>>2],N=up(w,N)|0,e[w>>2]=e[_>>2],e[w+4>>2]=e[_+4>>2],e[w+8>>2]=e[_+8>>2],e[w+12>>2]=e[_+12>>2],T=up(w,T)|0,e[D>>2]=L,e[D+4>>2]=G,e[D+8>>2]=N,e[D+12>>2]=T,$0(1,88071,D)|0,H0(138394,87947,78,88123)}while(0);u[r>>3]=v,u[r+8>>3]=p,g=P}function gc(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(+u[i+8>>3]+ +u[t+8>>3])*.5,u[r>>3]=(+u[i>>3]+ +u[t>>3])*.5,u[r+8>>3]=n}function eN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(c=g,g=g+80|0,A=c+16|0,a=c,n=0;(n|0)!=4;)s=A+(n<<4)|0,l=r+(n<<4)|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],n=n+1|0;return n=t+8|0,s=t+24|0,i=+sp(r,0,1,+u[t>>3],+u[n>>3],+u[s>>3]),i>=0&i<2?Ei(a,A,3,i,r,0):i=2,l=t+16|0,o=+sp(r,0,i>1?1:i,+u[l>>3],+u[n>>3],+u[s>>3]),o>=0&o1?1:i,+u[n>>3],+u[t>>3],+u[l>>3]),o>=0&o1?1:i,+u[s>>3],+u[t>>3],+u[l>>3]),o>=0&o>3]-n))<=.005){t=+u[r+56>>3],t=!(t>=o)|!(t<=l)?-1:i;break e}break}default:}Ei(A,r,3,.5,a,c),s=(i+t)*.5,t=+sp(a,t,s,n,o,l),t>=0||(t=+sp(c,s,i,n,o,l))}while(0);return g=w,+t}function Ap(r,t,i,n,o,l){r=r|0,t=+t,i=+i,n=+n,o=+o,l=+l;var s=0,A=0,a=0,c=0,w=0;w=g,g=g+144|0,a=w+80|0,c=w+16|0,A=w;e:do if(t!=i){switch(Mw0(r,n)|0){case 0:{t=-1;break e}case 1:{if(+L0(+(+u[r+56>>3]-n))<=.005){t=+u[r+48>>3],t=!(t>=o)|!(t<=l)?-1:i;break e}break}default:}Ei(A,r,3,.5,a,c),s=(i+t)*.5,t=+Ap(a,t,s,n,o,l),t>=0||(t=+Ap(c,s,i,n,o,l))}while(0);return g=w,+t}function Mw0(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0;for(l=+u[r+8>>3],o=lt&1,i=1,n=o,o=(o|0)==0&1;(i|0)!=4;)l=+u[r+(i<<4)+8>>3],A=lt&1,s=o+((n|0)!=0&(A|0)!=(n|0)&1)|0,i=i+1|0,n=A,o=s;return o|0}function jw0(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0;for(l=+u[r>>3],o=lt&1,i=1,n=o,o=(o|0)==0&1;(i|0)!=4;)l=+u[r+(i<<4)>>3],A=lt&1,s=o+((n|0)!=0&(A|0)!=(n|0)&1)|0,i=i+1|0,n=A,o=s;return o|0}function up(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+16|0,n=i,o=+u[r+8>>3],u[n>>3]=+u[r>>3],u[n+8>>3]=o,Ke(t,88137,n)|0,g=i,t|0}function Nw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+16|0,m=x,B=4,E=Te(40)|0,e[E>>2]=0,v=r+16|0,i=e[v>>2]|0;e:do if((($[i+238>>1]|0)-($[i+236>>1]|0)|0)>=2){c=1,t=i,i=e[i+196>>2]|0;r:for(;;){if(w=c+1|0,e[i+(w<<6)>>2]|0)a=0;else{p=15;break}for(;;){if(l=e[i+(c<<6)>>2]|0,(a|0)>=(l|0)){c=w;continue r}if(A=e[(e[i+(c<<6)+4>>2]|0)+(a<<2)>>2]|0,v0=0,t=gt(20,A|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,E|0,B|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){t=b;break r}if(t<<24>>24){for(s=a,t=l;o=s+1|0,!((o|0)>=(t|0));){if(v0=0,t=nt(65,A|0,e[(e[i+(c<<6)+4>>2]|0)+(o<<2)>>2]|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,E|0,B|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){t=b;break r}if(!(t<<24>>24))break;t=e[(e[v>>2]|0)+196>>2]|0,s=o,i=t,t=e[t+(c<<6)>>2]|0}if((o-a|0)>1&&(v0=0,F3(6,r|0,c|0,a|0,s|0,1),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1)){t=b;break r}}i=e[v>>2]|0,a=a+1|0,t=i,i=e[i+196>>2]|0}}r:do if((p|0)==15){for(;(c|0)>0;){a=0;for(;i=e[t+196>>2]|0,l=e[i+(c<<6)>>2]|0,!((a|0)>=(l|0));){if(A=e[(e[i+(c<<6)+4>>2]|0)+(a<<2)>>2]|0,v0=0,t=gt(21,A|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,E|0,B|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){t=b;break r}if(t<<24>>24){for(s=a,t=l;o=s+1|0,!((o|0)>=(t|0));){if(v0=0,t=nt(66,A|0,e[(e[i+(c<<6)+4>>2]|0)+(o<<2)>>2]|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,E|0,B|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){t=b;break r}if(!(t<<24>>24))break;t=e[(e[v>>2]|0)+196>>2]|0,s=o,i=t,t=e[t+(c<<6)>>2]|0}if((o-a|0)>1&&(v0=0,F3(6,r|0,c|0,a|0,s|0,0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1)){t=b;break r}}a=a+1|0,t=e[v>>2]|0}c=c+-1|0,p=15}E=il(187016,1,E|0,B|0)|0,B=b,v0=0,t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1?t=b:t=0}while(0);r:for(;;){if(t)if(v0=0,Yt(20,3,88177,m|0)|0,t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1){t=b;continue}else break;else n=1;for(;;){if(t=e[v>>2]|0,(n|0)>(e[t+180>>2]|0))break e;if(v0=0,Tr(101,e[(e[t+184>>2]|0)+(n<<2)>>2]|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1){t=b;continue r}n=n+1|0}}}while(0);r0(E|0),g=x}function rN(r){return r=r|0,r=e[r+16>>2]|0,(y[r+156>>0]|0)==1&&(e[r+176>>2]|0)==1&&(e[r+184>>2]|0)==1?r=(e[r+104>>2]|0)==0&1:r=0,r|0}function Qw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+80|0,s=A+40|0,l=A,n=e[e[(e[r+16>>2]|0)+172>>2]>>2]|0,r=e[e[(e[t+16>>2]|0)+172>>2]>>2]|0,(rN(t)|0)<<24>>24&&(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)==(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)&&(oN(n,r)|0)<<24>>24){i=(e[r+16>>2]|0)+16|0,o=l,r=(e[n+16>>2]|0)+16|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));o=s,r=i,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));r=(dc(l,s)|0)==0&1}else r=0;return g=A,r|0}function Tw0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for(_=r+16|0,B=e[(e[(e[(e[_>>2]|0)+196>>2]|0)+(t<<6)+4>>2]|0)+(i<<2)>>2]|0,E=i+1|0,p=(o|0)==1,v=B+16|0,w=E;;){if((w|0)>(n|0)){l=n,z=E;break}m=e[(e[(e[(e[_>>2]|0)+196>>2]|0)+(t<<6)+4>>2]|0)+(w<<2)>>2]|0,c=m+16|0;e:do if(p)for(;;){if(i=e[c>>2]|0,a=e[e[i+180>>2]>>2]|0,!a)break e;for(s=e[(e[v>>2]|0)+180>>2]|0,A=a+-48|0,o=0;;){if(i=e[s+(o<<2)>>2]|0,!i){x=8;break}if((e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)==(e[((e[a>>2]&3|0)==2?a:A)+40>>2]|0))break;o=o+1|0}for((x|0)==8&&(x=0,i=Jn(B,e[((e[a>>2]&3|0)==2?a:A)+40>>2]|0,a)|0);o=e[e[(e[c>>2]|0)+172>>2]>>2]|0,!!o;)Ss(o,i),bo(o);bo(a)}else for(;;){if(i=e[c>>2]|0,a=e[e[i+172>>2]>>2]|0,!a)break e;for(s=e[(e[v>>2]|0)+172>>2]|0,A=a+48|0,o=0;;){if(i=e[s+(o<<2)>>2]|0,!i){x=17;break}if((e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)==(e[((e[a>>2]&3|0)==3?a:A)+40>>2]|0))break;o=o+1|0}for((x|0)==17&&(x=0,i=Jn(e[((e[a>>2]&3|0)==3?a:A)+40>>2]|0,B,a)|0);o=e[e[(e[c>>2]|0)+180>>2]>>2]|0,!!o;)Ss(o,i),bo(o);bo(a)}while(0);if((e[i+176>>2]|0)!=(0-(e[i+184>>2]|0)|0)){x=23;break}Kd(r,m),w=w+1|0}for((x|0)==23&&H0(88313,88357,115,88364);l=l+1|0,i=e[(e[_>>2]|0)+196>>2]|0,o=i+(t<<6)|0,!((l|0)>=(e[o>>2]|0));)n=e[i+(t<<6)+4>>2]|0,x=e[n+(l<<2)>>2]|0,e[n+(z<<2)>>2]=x,e[(e[x+16>>2]|0)+236>>2]=z,z=z+1|0;e[o>>2]=z,e[(e[i+(t<<6)+4>>2]|0)+(z<<2)>>2]=0}function tN(r){return r=r|0,r=e[r+16>>2]|0,(y[r+156>>0]|0)==1&&(e[r+184>>2]|0)==1&&(e[r+176>>2]|0)==1?r=(e[r+104>>2]|0)==0&1:r=0,r|0}function Fw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+80|0,s=A+40|0,l=A,n=e[e[(e[r+16>>2]|0)+180>>2]>>2]|0,r=e[e[(e[t+16>>2]|0)+180>>2]>>2]|0,(tN(t)|0)<<24>>24&&(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)==(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)&&(oN(n,r)|0)<<24>>24){i=(e[r+16>>2]|0)+56|0,o=l,r=(e[n+16>>2]|0)+56|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));o=s,r=i,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));r=(dc(l,s)|0)==0&1}else r=0;return g=A,r|0}function iN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(m=g,g=g+32|0,p=m+16|0,w=m,a=r+16|0,i=e[a>>2]|0,t=$[i+236>>1]|0;!((t|0)>($[i+238>>1]|0));)e[(e[i+268>>2]|0)+(t<<2)>>2]=0,t=t+1|0,i=e[a>>2]|0;for(vj(r),s=U0(r)|0;s;){for(nN(r,s),l=Me(r,s)|0;l;){i=l;for(;t=e[(e[i+16>>2]|0)+172>>2]|0,t;)i=t;for(o=l+-48|0;t=i+-48|0,n=e[((e[i>>2]&3|0)==2?i:t)+40>>2]|0,!((e[(e[n+16>>2]|0)+232>>2]|0)>=(e[(e[(e[((e[l>>2]&3|0)==2?l:o)+40>>2]|0)+16>>2]|0)+232>>2]|0));)nN(r,n),i=e[e[(e[(e[((e[i>>2]&3|0)==2?i:t)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0;l=Qe(r,l)|0}s=X0(r,s)|0}for(t=e[a>>2]|0,l=$[t+236>>1]|0;;){if((l|0)>($[t+238>>1]|0)){A=1,c=t;break}if(t=e[(e[t+268>>2]|0)+(l<<2)>>2]|0,s=e[(e[(e[(fr(r)|0)+16>>2]|0)+196>>2]|0)+(l<<6)+4>>2]|0,i=t+16|0,(e[s+(e[(e[i>>2]|0)+236>>2]<<2)>>2]|0)!=(t|0)){v=17;break}o=e[(e[(e[(fr(r)|0)+16>>2]|0)+196>>2]|0)+(l<<6)+4>>2]|0,t=e[a>>2]|0,i=e[t+196>>2]|0,e[i+(l<<6)+4>>2]=o+(e[(e[(e[(e[t+268>>2]|0)+(l<<2)>>2]|0)+16>>2]|0)+236>>2]<<2),t=-1,o=0;e:for(;!((o|0)>=(e[i+(l<<6)>>2]|0)||(i=e[(e[i+(l<<6)+4>>2]|0)+(o<<2)>>2]|0,!i));){n=e[i+16>>2]|0;r:do if(y[n+156>>0]|0){for(i=e[e[n+172>>2]>>2]|0;;){if(!i)break r;if(n=e[(e[i+16>>2]|0)+116>>2]|0,n)i=n;else break}Mi(r,e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)|0&&(s=(Mi(r,e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)|0)==0,t=s?t:o)}else if(Mi(r,i)|0)t=o;else break e;while(0);o=o+1|0,i=e[(e[a>>2]|0)+196>>2]|0}(t|0)==-1&&(e[p>>2]=te(r)|0,e[p+4>>2]=l,$0(0,88277,p)|0),s=e[a>>2]|0,e[(e[s+196>>2]|0)+(l<<6)>>2]=t+1,l=l+1|0,t=s}for((v|0)==17&&(p=te(t)|0,v=e[(e[i>>2]|0)+236>>2]|0,e[w>>2]=p,e[w+4>>2]=v,e[w+8>>2]=l,$0(1,88219,w)|0,ie(187016,1));!((A|0)>(e[c+180>>2]|0));)iN(e[(e[c+184>>2]|0)+(A<<2)>>2]|0),A=A+1|0,c=e[a>>2]|0;g=m}function nN(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[t+16>>2]|0,r=(e[(e[r+16>>2]|0)+268>>2]|0)+(e[i+232>>2]<<2)|0,n=e[r>>2]|0,n|0&&(e[(e[n+16>>2]|0)+236>>2]|0)<=(e[i+236>>2]|0)||(e[r>>2]=t)}function oN(r,t){r=r|0,t=t|0;for(var i=0,n=0;n=e[r+16>>2]|0,!!(y[n+112>>0]|0);)r=e[n+116>>2]|0;for(;i=e[t+16>>2]|0,!!(y[i+112>>0]|0);)t=e[i+116>>2]|0;return!(y[n+153>>0]|0)&&!(y[i+153>>0]|0)?(n=e[t>>2]&3,i=e[r>>2]&3,r=(N0((e[(e[(e[((i|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((i|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0,(e[(e[(e[((n|0)==3?t:t+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((n|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0)|0)>0&1):r=0,r|0}function fp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(a=g,g=g+544|0,A=a+528|0,Pw0(A,a+512|0,a),i=(y[193770]|0)+1<<24>>24,y[193770]=i<<24>>24?i:1,i=e[r+16>>2]|0,e[i+220>>2]=0,e[i+232>>2]=0,i=(t|0)>0,t=U0(r)|0;t;)i&&(l=e[t+16>>2]|0,s=e[l+212>>2]|0,(s|0)!=0)?(o=e[(e[(e[s+16>>2]|0)+268>>2]|0)+(e[l+232>>2]<<2)>>2]|0,n=7):n=6,(n|0)==6&&(n=0,(t|0)==(Ht(t)|0))&&(o=t,n=7),(n|0)==7&&(y[(e[o+16>>2]|0)+157>>0]|0)!=(y[193770]|0)&&(Yw0(r),Ow0(A,r,o),Vw0(r)),t=X0(r,t)|0;Hw0(A),g=a}function Pw0(r,t,i){r=r|0,t=t|0,i=i|0,e[t>>2]=i,e[t+4>>2]=i+512,e[t+12>>2]=0,e[t+8>>2]=0,e[r>>2]=t,e[r+4>>2]=t,e[r+8>>2]=i}function Yw0(r){r=r|0,e[(e[r+16>>2]|0)+192>>2]=0,e[46793]=0}function Ow0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;m=g,g=g+32|0,v=m,lN(r,i),a=v+8|0,c=v+16|0,w=v+24|0;e:for(;p=Jw0(r)|0,!!p;)if(i=p+16|0,(y[(e[i>>2]|0)+157>>0]|0)!=(y[193770]|0))for(Uw0(t,p),l=e[i>>2]|0,o=l+180|0,A=e[o+4>>2]|0,s=v,e[s>>2]=e[o>>2],e[s+4>>2]=A,s=l+172|0,A=e[s+4>>2]|0,o=a,e[o>>2]=e[s>>2],e[o+4>>2]=A,o=l+188|0,A=e[o+4>>2]|0,s=c,e[s>>2]=e[o>>2],e[s+4>>2]=A,l=l+196|0,s=e[l+4>>2]|0,A=w,e[A>>2]=e[l>>2],e[A+4>>2]=s,A=3;;){if((A|0)<=-1)continue e;i=e[v+(A<<3)>>2]|0;r:do if(i|0)for(s=(e[v+(A<<3)+4>>2]|0)+-1|0,l=i+(s<<2)|0;;){if((s|0)<=-1)break r;n=e[l>>2]|0,o=e[n>>2]&3,i=e[((o|0)==2?n:n+-48|0)+40>>2]|0,(i|0)==(p|0)&&(i=e[((o|0)==3?n:n+48|0)+40>>2]|0),(y[(e[i+16>>2]|0)+157>>0]|0)!=(y[193770]|0)&&(i|0)==(Ht(i)|0)&&lN(r,i),l=l+-4|0,s=s+-1|0}while(0);A=A+-1|0}g=m}function Vw0(r){r=r|0;var t=0,i=0,n=0,o=0;i=r+16|0,t=e[i>>2]|0,o=t+220|0,n=e[o>>2]|0,r=n+1|0,e[o>>2]=r,t=e[t+216>>2]|0,t?r=Oe(t,r<<2)|0:r=_0(r<<2)|0,o=e[i>>2]|0,e[o+216>>2]=r,e[r+(n<<2)>>2]=e[o+192>>2]}function Hw0(r){r=r|0;var t=0;for(r=e[(e[r>>2]|0)+12>>2]|0;r;)t=e[r+12>>2]|0,r0(e[r>>2]|0),r0(r),r=t}function lN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,o=A+8|0,n=A,s=r+8|0,i=e[s>>2]|0,l=r+4|0,r=e[l>>2]|0,(i|0)==(e[r+4>>2]|0)&&(i=e[r+12>>2]|0,i||(i=j0(16)|0,i||$0(1,98969,n)|0,e[i+8>>2]=e[l>>2],e[i+12>>2]=0,r=j0(4e6)|0,e[i>>2]=r,r||($0(1,88377,o)|0,r=e[i>>2]|0),e[i+4>>2]=r+4e6,e[(e[l>>2]|0)+12>>2]=i),e[l>>2]=i,i=e[i>>2]|0,e[s>>2]=i),y[(e[t+16>>2]|0)+157>>0]=(s0[193770]|0)+1,e[s>>2]=i+4,e[i>>2]=t,g=A}function Jw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return o=r+8|0,t=e[o>>2]|0,i=r+4|0,n=e[i>>2]|0,(t|0)==(e[n>>2]|0)?(n|0)==(e[r>>2]|0)?t=0:(t=e[n+8>>2]|0,e[i>>2]=t,t=e[t+4>>2]|0,e[o>>2]=t,l=4):l=4,(l|0)==4&&(t=t+-4|0,e[o>>2]=t,t=e[t>>2]|0),t|0}function Uw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=e[r+16>>2]|0,o=n+232|0,e[o>>2]=(e[o>>2]|0)+1,o=e[t+16>>2]|0,y[o+157>>0]=y[193770]|0,r=e[46793]|0,i=o+168|0,r?(e[i>>2]=r,e[(e[r+16>>2]|0)+164>>2]=t):(e[i>>2]=0,e[n+192>>2]=t),e[46793]=t,e[o+164>>2]=0}function Xw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(c=r+16|0,t=(e[c>>2]|0)+192|0;t=e[t>>2]|0,!!t;){o=t+16|0,t=e[o>>2]|0,i=e[t+188>>2]|0;e:do if(!i)n=0;else for(n=0;;){if(i=e[i+(n<<2)>>2]|0,!i){n=0;break e}sN(i),t=e[o>>2]|0,n=n+1|0,i=e[t+188>>2]|0}while(0);for(;!((n|0)>=(e[t+208>>2]|0));)i=e[(e[t+204>>2]|0)+(n<<2)>>2]|0,a=e[i>>2]&3,(e[(e[(e[((a|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)==(e[(e[(e[((a|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)&&(sN(i),t=e[o>>2]|0),n=n+1|0;t=t+164|0}a=e[c>>2]|0,t=e[a+196>>2]|0,!(e[t+56>>2]|0)&&(e[a+180>>2]|0)<=0||(l=13);e:do if((l|0)==13){l=e[t+4>>2]|0,o=0;r:for(;;){if(t=e[l+(o<<2)>>2]|0,!t)break e;for(i=e[(e[t+16>>2]|0)+196>>2]|0,t=0;n=e[i+(t<<2)>>2]|0,!!n;){if(a=e[n+16>>2]|0,e[a+96>>2]|0&&!(y[a+113>>0]|0))break r;t=t+1|0}o=o+1|0}qw0(r)}while(0);for(qM(r),i=0,t=(e[c>>2]|0)+192|0;t=e[t>>2]|0,!!t;){a=t+16|0,t=e[a>>2]|0,n=e[t+188>>2]|0;e:do if(n){for(A=0;;){if(o=e[n+(A<<2)>>2]|0,!o){A=0;break}l=e[o+16>>2]|0,s=e[l+96>>2]|0;do if(s)if(y[l+113>>0]|0){u[l+136>>3]=+u[(e[(e[c>>2]|0)+116>>2]&1|0?s+32|0:s+24|0)>>3];break}else{AN(o),n=e[a>>2]|0,i=1,t=n,n=e[n+188>>2]|0;break}while(0);A=A+1|0}for(;;){if((A|0)>=(e[t+208>>2]|0))break e;l=e[(e[t+204>>2]|0)+(A<<2)>>2]|0,s=e[l>>2]&3,o=e[((s|0)==3?l:l+48|0)+40>>2]|0,s=e[((s|0)==2?l:l+-48|0)+40>>2]|0;do if(!((o|0)==(s|0)||(e[(e[o+16>>2]|0)+232>>2]|0)!=(e[(e[s+16>>2]|0)+232>>2]|0))){n=l;do s=e[n+16>>2]|0,n=e[s+172>>2]|0;while(n|0);if(n=y[s+113>>0]|0,o=e[l+16>>2]|0,y[o+113>>0]=n,o=e[o+96>>2]|0,o)if(n<<24>>24){p=+u[(e[(e[c>>2]|0)+116>>2]&1|0?o+32|0:o+24|0)>>3],s=s+136|0,w=+u[s>>3],u[s>>3]=p>w?p:w;break}else{AN(l),i=1,t=e[a>>2]|0;break}}while(0);A=A+1|0}}while(0);t=t+164|0}return i|0&&(q80(r),W7(r)),i|0}function sN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;t=e[r>>2]&3,s=e[((t|0)==3?r:r+48|0)+40>>2]|0,n=s+16|0,o=e[(e[n>>2]|0)+236>>2]|0,t=e[(e[(e[((t|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,l=(o|0)<(t|0),i=l?t:o,s=e[(e[(fr(s)|0)+16>>2]|0)+196>>2]|0,n=s+(e[(e[n>>2]|0)+232>>2]<<6)+4|0,t=l?o:t;e:for(;t=t+1|0,!((t|0)>=(i|0));){switch(o=e[(e[(e[n>>2]|0)+(t<<2)>>2]|0)+16>>2]|0,y[o+156>>0]|0){case 0:break e;case 1:break;default:continue e}if(e[o+104>>2]|0)break}if((t|0)==(i|0))do s=e[r+16>>2]|0,y[s+113>>0]=1,r=e[s+172>>2]|0;while(r|0)}function qw0(r){r=r|0;var t=0,i=0,n=0,o=0;for(o=r+16|0,r=e[o>>2]|0,$[r+236>>1]|0&&H0(88434,88417,190,88453),t=($[r+238>>1]|0)+3|0,r=e[r+196>>2]|0,r?r=Oe(r,t<<6)|0:r=_0(t<<6)|0,t=r+64|0,r=e[o>>2]|0,e[r+196>>2]=t,r=$[r+238>>1]|0;!((r|0)<=-1);){n=r+-1|0,i=t+(r<<6)|0,r=t+(n<<6)|0,t=i+64|0;do e[i>>2]=e[r>>2],i=i+4|0,r=r+4|0;while((i|0)<(t|0));r=n,t=e[(e[o>>2]|0)+196>>2]|0}e[t+(r<<6)+8>>2]=0,e[t+(r<<6)>>2]=0,i=j0(8)|0,o=e[o>>2]|0,n=e[o+196>>2]|0,e[n+(r<<6)+12>>2]=i,e[n+(r<<6)+4>>2]=i,e[n+(r<<6)+56>>2]=0,u[n+(r<<6)+24>>3]=1,u[n+(r<<6)+16>>3]=1,u[n+(r<<6)+40>>3]=1,u[n+(r<<6)+32>>3]=1,o=o+236|0,$[o>>1]=($[o>>1]|0)+-1<<16>>16}function AN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;s=r+16|0,e[(e[s>>2]|0)+96>>2]|0&&(c=r+48|0,A=fr(e[((e[r>>2]&3|0)==3?r:c)+40>>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L=0,G=0;G=g,g=g+160|0,_=G+24|0,x=G+20|0,B=G+16|0,a=G,c=G+32|0,z=e[r+152>>2]|0,e[_>>2]=0,e[x>>2]=0,e[B>>2]=0,L=hh(r)|0,e[L+4>>2]=3,e[L+8>>2]=t,e[L+12>>2]=9,m=t+16|0,A=e[(e[m>>2]|0)+96>>2]|0,A|0&&!(y[A+82>>0]|0)&&(DA(he(t,100105)|0,0)|0)<<24>>24&&(A=L+260|0,$[A>>1]=$[A>>1]|512),i|0&&e[(e[m>>2]|0)+8>>2]|0&&a1(r,i),i=e[47206]|0,i|0&&(n=k2(t,i)|0,n|0)&&y[n>>0]|0&&Uo(r,+sr(t,e[47206]|0,1,0));do if(z&16777216|0)if(i=t+48|0,(M0[(e[(We(e[((e[t>>2]&3|0)==3?t:i)+40>>2]|0)|0)+16>>2]|0)+178>>1]|0)>2){s=+u[(e[(e[(e[((e[t>>2]&3|0)==3?t:i)+40>>2]|0)+16>>2]|0)+132>>2]|0)+16>>3]*72,u[L+176>>3]=+(~~(s+(s>=0?.5:-.5))|0),s=+u[(e[(e[(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+132>>2]|0)+16>>3]*72,u[L+184>>3]=+(~~(s+(s>=0?.5:-.5))|0);break}else{A=L+176|0,e[A>>2]=0,e[A+4>>2]=0,e[A+8>>2]=0,e[A+12>>2]=0;break}while(0);if(z&32768|0&&(A=e[m>>2]|0,i=e[A+96>>2]|0,i?(i=e[i>>2]|0,e[L+192>>2]=i):i=e[L+192>>2]|0,n=L+196|0,e[n>>2]=i,l=L+204|0,e[l>>2]=i,o=L+200|0,e[o>>2]=i,i=e[A+108>>2]|0,i|0&&(e[n>>2]=e[i>>2]),i=e[A+104>>2]|0,i|0&&(e[o>>2]=e[i>>2]),i=e[A+100>>2]|0,i|0&&(e[l>>2]=e[i>>2])),!(z&65536))o=0;else{Ot(a,128,c),e[L+212>>2]=st(c7(r,t,a)|0,t)|0,Vt(a),i=he(t,141055)|0,i|0&&y[i>>0]|0?w=31:(i=he(t,111477)|0,i|0&&y[i>>0]|0?w=31:n=0),(w|0)==31&&(n=st(i,t)|0),i=he(t,100118)|0,i|0&&y[i>>0]|0?w=36:w=34;do if((w|0)==34){if(i=he(t,100127)|0,i|0&&y[i>>0]|0){w=36;break}n|0&&(i=C2(n)|0,w=39)}while(0);(w|0)==36&&(i=st(i,t)|0,w=39),(w|0)==39&&(e[L+208>>2]=i),i=he(t,100135)|0,i|0&&y[i>>0]|0?w=44:w=42;do if((w|0)==42){if(i=he(t,100145)|0,i|0&&y[i>>0]|0){w=44;break}n|0&&(i=C2(n)|0,w=47)}while(0);(w|0)==44&&(i=st(i,t)|0,w=47),(w|0)==47&&(e[L+216>>2]=i),i=he(t,100154)|0,i|0&&y[i>>0]|0?w=52:w=50;do if((w|0)==50){if(i=he(t,100163)|0,i|0&&y[i>>0]|0){w=52;break}n|0&&(e[L+220>>2]=C2(n)|0)}while(0);(w|0)==52&&(e[L+220>>2]=st(i,t)|0,w=L+260|0,$[w>>1]=$[w>>1]|128),i=he(t,100171)|0,i|0&&y[i>>0]|0?w=59:w=57;do if((w|0)==57){if(i=he(t,100180)|0,i|0&&y[i>>0]|0){w=59;break}n|0&&(e[L+224>>2]=C2(n)|0)}while(0);(w|0)==59&&(e[L+224>>2]=st(i,t)|0,w=L+260|0,$[w>>1]=$[w>>1]|256),o=n}do if(z&8388608){if(i=he(t,141088)|0,i|0&&y[i>>0]|0?n=st(i,t)|0:n=0,i=he(t,100188)|0,i|0&&y[i>>0]|0?(w=L+260|0,$[w>>1]=$[w>>1]|64,i=st(i,t)|0,w=72):w=70,(w|0)==70&&n|0&&(i=C2(n)|0,w=72),(w|0)==72&&(e[L+244>>2]=i),i=he(t,100199)|0,i|0&&y[i>>0]|0?(i=st(i,t)|0,w=78):w=76,(w|0)==76&&n|0&&(i=C2(n)|0,w=78),(w|0)==78&&(e[L+248>>2]=i),i=he(t,100211)|0,i|0&&y[i>>0]|0?(e[L+252>>2]=st(i,t)|0,c=L+260|0,$[c>>1]=$[c>>1]|16):w=82,(w|0)==82&&n|0&&(e[L+252>>2]=C2(n)|0),i=he(t,100222)|0,i|0&&y[i>>0]|0){w=L+260|0,$[w>>1]=$[w>>1]|32,e[L+256>>2]=st(i,t)|0;break}n?e[L+256>>2]=C2(n)|0:n=0}else n=0;while(0);do if(z&4194304|0){i=he(t,141101)|0,i|0&&y[i>>0]|0?w=94:w=92;do if((w|0)==92){if(i=he(t,100233)|0,i|0&&y[i>>0]|0){w=94;break}i=e[L+192>>2]|0,i|0&&(e[L+228>>2]=C2(i)|0)}while(0);if((w|0)==94&&(c=zh(i,t)|0,e[L+228>>2]=st(c,t)|0,r0(c),c=L+260|0,$[c>>1]=$[c>>1]|1),i=he(t,100245)|0,i|0&&y[i>>0]|0?(c=zh(i,t)|0,e[L+232>>2]=st(c,t)|0,r0(c),c=L+260|0,$[c>>1]=$[c>>1]|8):w=100,(w|0)==100&&(p=e[L+192>>2]|0,p|0)&&(e[L+232>>2]=C2(p)|0),i=he(t,100258)|0,i|0&&y[i>>0]|0?(p=zh(i,t)|0,e[L+236>>2]=st(p,t)|0,r0(p),p=L+260|0,$[p>>1]=$[p>>1]|2):w=105,(w|0)==105&&(v=e[L+200>>2]|0,v|0)&&(e[L+236>>2]=C2(v)|0),i=he(t,100270)|0,i|0&&y[i>>0]|0){v=zh(i,t)|0,e[L+240>>2]=st(v,t)|0,r0(v),v=L+260|0,$[v>>1]=$[v>>1]|4;break}i=e[L+204>>2]|0,i|0&&(e[L+240>>2]=C2(i)|0)}while(0);r0(o),r0(n);do if(z&4259840|0&&(E=e[(e[m>>2]|0)+8>>2]|0,E|0)){if(e[L+208>>2]|0){if(!(z&524288))break}else if((z&524288|0)==0|(e[L+228>>2]|0)==0)break;for(s=+u[(e[r+16>>2]|0)+152>>3]*.5,s=s>2?s:2,n=e[E+4>>2]|0,i=0;!((i|0)>=(n|0));)cd0(_,x,B,(e[E>>2]|0)+(i*48|0)|0,s),i=i+1|0;if(o=e[B>>2]|0,e[L+276>>2]=o,l=e[x>>2]|0,e[L+280>>2]=l,z&8192)i=e[_>>2]|0;else{for(i=0,n=0;!((n|0)>=(o|0));)i=(e[l+(n<<2)>>2]|0)+i|0,n=n+1|0;_=e[_>>2]|0,El(r,_,_,i)|0,i=_}e[L+284>>2]=i,e[L+264>>2]=2,e[L+272>>2]=i,e[L+268>>2]=e[l>>2]}while(0);Ht0(r,t),i=e[L+208>>2]|0,!(i|0)&&!($[L+260>>1]&1)||xn(r,i,e[L+228>>2]|0,e[L+244>>2]|0,e[L+212>>2]|0),g=G}function Kw0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0;D0=g,g=g+240|0,H=D0+224|0,Y=D0+208|0,_=D0+128|0,z=D0+112|0,B0=D0+64|0,T=D0+48|0,D=D0+32|0,P=D0+16|0,U=D0,J=D0+192|0,F=D0+176|0,L=D0+160|0,N=D0+144|0,e[P>>2]=0,e[P+4>>2]=0,e[P+8>>2]=0,e[P+12>>2]=0,f0=+u[(e[r+16>>2]|0)+152>>3],Jw(he(t,100032)|0),t0=t+16|0;e:do if(e[(e[t0>>2]|0)+8>>2]|0){k0=+sr(t,e[47188]|0,1,0),s=wt(t,e[47176]|0,195059)|0,x=(i|0)!=0;r:do if(x)for(n=i;;){if(o=n,n=n+4|0,o=e[o>>2]|0,!o){c=0;break r}if((y[o>>0]|0)==116&&!(ge(o,111117)|0)){c=1;break}}else c=0;while(0);l=s,p=0,o=0;r:for(;;){switch(y[l>>0]|0){case 0:break r;case 58:{n=p+1|0;break}case 59:{n=p,o=o+1|0;break}default:n=p}l=l+1|0,p=n}if(a=(p|0)!=0,(o|0)!=0&a)if(td0(r,t,i,s,p+1|0,k0,f0)|0)A=137314;else break;else A=s;if(n=s0[(e[t0>>2]|0)+115>>0]|0,n&1?(l=106248,n=106240,s=188712,o=188712,w=18):n&2?(l=106264,n=106256,s=188712,o=188712,w=18):n&8?(l=106280,n=106272,s=188712,o=188712,w=18):n&4?(l=106296,n=106288,s=188712,o=188712,w=18):(o=A,l=F2(t,e[47177]|0,A)|0),(w|0)==18&&(o=e[o>>2]|0,o=F2(t,o,id0(A,n)|0)|0,n=F2(t,e[s>>2]|0,l)|0,(o|0)==(A|0)?(o=A,l=n):(Z2(r,o),l=n)),(l|0)!=(A|0)&&tr(r,l),c<<24>>24){o=y[o>>0]|0?o:137314,n=y[l>>0]|0?l:137314,Z2(r,137379),tr(r,o),B=B0,v=e[e[(e[t0>>2]|0)+8>>2]>>2]|0,m=B+48|0;do e[B>>2]=e[v>>2],B=B+4|0,v=v+4|0;while((B|0)<(m|0));if(t0=Dk0(B0,nd0(t)|0,f0,0,0)|0,Q2(r,e[t0+8>>2]|0,e[t0>>2]|0,1),od0(t0),Z2(r,o),(n|0)!=(o|0)&&tr(r,n),n=e[B0+8>>2]|0,n|0&&(q=B0+16|0,t0=e[B0>>2]|0,e[Y>>2]=e[q>>2],e[Y+4>>2]=e[q+4>>2],e[Y+8>>2]=e[q+8>>2],e[Y+12>>2]=e[q+12>>2],e[H>>2]=e[t0>>2],e[H+4>>2]=e[t0+4>>2],e[H+8>>2]=e[t0+8>>2],e[H+12>>2]=e[t0+12>>2],BA(r,2,Y,H,k0,f0,n)),n=e[B0+12>>2]|0,!n)break;t0=B0+32|0,B0=(e[B0>>2]|0)+((e[B0+4>>2]|0)+-1<<4)|0,e[Y>>2]=e[t0>>2],e[Y+4>>2]=e[t0+4>>2],e[Y+8>>2]=e[t0+8>>2],e[Y+12>>2]=e[t0+12>>2],e[H>>2]=e[B0>>2],e[H+4>>2]=e[B0+4>>2],e[H+8>>2]=e[B0+8>>2],e[H+12>>2]=e[B0+12>>2],BA(r,3,Y,H,k0,f0,n);break}if(n=e[t0>>2]|0,!a){do if(!(y[n+115>>0]&3)){if(y[o>>0]|0){Z2(r,o),tr(r,l);break}if(Z2(r,137314),y[l>>0]|0){tr(r,l);break}else{tr(r,137314);break}}while(0);for(s=r+152|0,A=B0+4|0,a=B0+8|0,c=B0+12|0,w=B0+32|0,p=B0+16|0,l=0;;){if(n=e[(e[t0>>2]|0)+8>>2]|0,(l|0)>=(e[n+4>>2]|0))break e;B=B0,v=(e[n>>2]|0)+(l*48|0)|0,m=B+48|0;do e[B>>2]=e[v>>2],B=B+4|0,v=v+4|0;while((B|0)<(m|0));n=e[B0>>2]|0,o=e[A>>2]|0;do if(e[s>>2]&16384)Ao(r,n,o,e[a>>2]|0,e[c>>2]|0,0);else if(Ao(r,n,o,0,0,0),n=e[a>>2]|0,n|0&&(q=e[B0>>2]|0,e[Y>>2]=e[p>>2],e[Y+4>>2]=e[p+4>>2],e[Y+8>>2]=e[p+8>>2],e[Y+12>>2]=e[p+12>>2],e[H>>2]=e[q>>2],e[H+4>>2]=e[q+4>>2],e[H+8>>2]=e[q+8>>2],e[H+12>>2]=e[q+12>>2],BA(r,2,Y,H,k0,f0,n)),n=e[c>>2]|0,n|0&&(q=(e[B0>>2]|0)+((e[A>>2]|0)+-1<<4)|0,e[Y>>2]=e[w>>2],e[Y+4>>2]=e[w+4>>2],e[Y+8>>2]=e[w+8>>2],e[Y+12>>2]=e[w+12>>2],e[H>>2]=e[q>>2],e[H+4>>2]=e[q+4>>2],e[H+8>>2]=e[q+8>>2],e[H+12>>2]=e[q+12>>2],BA(r,3,Y,H,k0,f0,n)),(e[(e[(e[t0>>2]|0)+8>>2]|0)+4>>2]|0)>1){if(e[a>>2]|0){if(!x)break}else if(!(x&(e[c>>2]|0)!=0))break;a1(r,i)}while(0);l=l+1|0}}for(q=e[(e[n+8>>2]|0)+4>>2]|0,W=q*48|0,G=Te(W)|0,W=Te(W)|0,E=+(p+2|0)*.5,x=B0+4|0,w=T+8|0,p=D+8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t<<13&65535)<<16>>16>>15&255),t=e[m>>2]|0):n=L+260|0,i=e[t+96>>2]|0,o=($[n>>1]<<12&65535)<<16>>16>>15<<16>>16,c=L+216|0,l=e[c>>2]|0,w=L+232|0,s=e[w>>2]|0,p=L+248|0,A=e[p>>2]|0,v=L+212|0,a=e[v>>2]|0,(jt(wt(_,e[47186]|0,137308)|0)|0)<<24>>24?t=e[(e[m>>2]|0)+8>>2]|0:t=0,ap(r,i,11,o,l,s,A,a,t),A=e[(e[m>>2]|0)+108>>2]|0,a=($[n>>1]<<12&65535)<<16>>16>>15<<16>>16,s=e[c>>2]|0,l=e[w>>2]|0,i=e[p>>2]|0,o=e[v>>2]|0,(jt(wt(_,e[47186]|0,137308)|0)|0)<<24>>24?t=e[(e[m>>2]|0)+8>>2]|0:t=0,ap(r,A,11,a,s,l,i,o,t),ap(r,e[(e[m>>2]|0)+100>>2]|0,7,($[n>>1]<<13&65535)<<16>>16>>15<<16>>16,e[L+224>>2]|0,e[L+240>>2]|0,e[L+256>>2]|0,e[v>>2]|0,0),ap(r,e[(e[m>>2]|0)+104>>2]|0,6,($[n>>1]<<14&65535)<<16>>16>>15<<16>>16,e[L+220>>2]|0,e[L+236>>2]|0,e[L+252>>2]|0,e[v>>2]|0,0),Jt0(r),wh(r),g=G}function uN(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;A=g,g=g+16|0,l=A,s=e[r+16>>2]|0,i<<24>>24||(n=e[s+208>>2]|0),!(o<<24>>24||n|0)&&!($[s+260>>1]&1)||(e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],rd0(r,l)),g=A}function ap(r,t,i,n,o,l,s,A,a){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0;var c=0,w=0,p=0,v=0,m=0,E=0;if(E=g,g=g+16|0,p=E,m=e[r+152>>2]|0,t|0&&y[t+81>>0]|0){if(!A)w=0;else{switch(w=j0((d2(A)|0)+11|0)|0,i|0){case 11:{c=108224;break}case 7:{c=101583;break}case 6:{c=101593;break}default:H0(138394,99906,2730,100044)}e[p>>2]=A,e[p+4>>2]=c,Ke(w,100060,p)|0}p=r+16|0,A=(e[p>>2]|0)+12|0,v=e[A>>2]|0,e[A>>2]=i,A=(n|0)!=0|(o|0)!=0,c=(m&4|0)==0,A&c&&(fN(r,t),xn(r,o,l,s,w)),Ef(r,i,t),a|0&&ed0(r,t,a),A&&(c||(fN(r,t),xn(r,o,l,s,w)),Bl(r)),r0(w),e[(e[p>>2]|0)+12>>2]=v}g=E}function fN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;i=e[r+16>>2]|0,n=e[r+152>>2]|0,n&4259840|0&&(o=n&131072,s=o>>>16^2,e[i+264>>2]=s,A=i+268|0,e[A>>2]=s+2,s=i+272|0,r0(e[s>>2]|0),i=j0(e[A>>2]<<4)|0,e[s>>2]=i,s=t+56|0,A=t+24|0,u[i>>3]=+u[s>>3]-+u[A>>3]*.5,l=t+64|0,t=t+32|0,u[i+8>>3]=+u[l>>3]-+u[t>>3]*.5,u[i+16>>3]=+u[A>>3]*.5+ +u[s>>3],u[i+24>>3]=+u[t>>3]*.5+ +u[l>>3],n&8192||El(r,i,i,2)|0,o||wp(i))}function ed0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(w=g,g=g+96|0,o=w+80|0,l=w+32|0,s=w+16|0,A=w,n=e[t>>2]|0;a=y[n>>0]|0,!!(a<<24>>24);)if(an(a&255)|0)n=n+1|0;else{c=4;break}(c|0)==4&&(p=+u[t+24>>3],a=t+56|0,aN(l,+u[a>>3]+p*.5,+u[t+64>>3]-+u[t+32>>3]*.5),c=l+16|0,aN(s,+u[l>>3]-p,+u[l+8>>3]),e[c>>2]=e[s>>2],e[c+4>>2]=e[s+4>>2],e[c+8>>2]=e[s+8>>2],e[c+12>>2]=e[s+12>>2],c=l+32|0,e[o>>2]=e[a>>2],e[o+4>>2]=e[a+4>>2],e[o+8>>2]=e[a+8>>2],e[o+12>>2]=e[a+12>>2],GQ(A,i,o),e[c>>2]=e[A>>2],e[c+4>>2]=e[A+4>>2],e[c+8>>2]=e[A+8>>2],e[c+12>>2]=e[A+12>>2],a1(r,e[(e[r>>2]|0)+336>>2]|0),Z2(r,e[t+8>>2]|0),y2(r,l,3)),g=w}function aN(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function rd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;i=e[r+16>>2]|0,n=e[r+152>>2]|0,n&4259840|0&&(o=n&131072,A=o>>>16^2,e[i+264>>2]=A,a=i+268|0,e[a>>2]=A+2,A=i+272|0,r0(e[A>>2]|0),i=j0(e[a>>2]<<4)|0,e[A>>2]=i,s=+u[t>>3],u[i>>3]=s+-3,l=+u[t+8>>3],u[i+8>>3]=l+-3,u[i+16>>3]=s+3,u[i+24>>3]=l+3,n&8192||El(r,i,i,2)|0,o||wp(i))}function td0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=+l,s=+s;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0;if(H=g,g=g+256|0,U=H+224|0,P=H+208|0,A=H+192|0,F=H+144|0,q=H+96|0,t0=H+48|0,J=H,a=H+240|0,n=Qd(n,o,a)|0,(n|0)>1?(N=t+48|0,T=We(e[((e[t>>2]&3|0)==3?t:N)+40>>2]|0)|0,N=te(e[((e[t>>2]&3|0)==3?t:N)+40>>2]|0)|0,T=(d1(T)|0)!=0,D=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,e[A>>2]=N,e[A+4>>2]=T?100079:100084,e[A+8>>2]=D,$0(3,100089,A)|0,(n|0)==2?n=1:Y=4):(n|0)==1?n=1:Y=4,(Y|0)==4){for(D=t+16|0,E=e[a>>2]|0,B=E+8|0,x=t0+4|0,z=F+8|0,_=F+12|0,L=(i|0)!=0,m=(i|0)==0,G=F+32|0,W=F+4|0,N=F+16|0,T=J+4|0,n=0,v=0;o=e[(e[D>>2]|0)+8>>2]|0,!((v|0)>=(e[o+4>>2]|0));){A=F,o=(e[o>>2]|0)+(v*48|0)|0,t=A+48|0;do e[A>>2]=e[o>>2],A=A+4|0,o=o+4|0;while((A|0)<(t|0));t=1,c=1,p=e[B>>2]|0;e:for(;o=e[p>>2]|0,!!o;){a=p+4|0,w=+x0[a>>2];do if(w<1e-5&w>-1e-5)o=t;else{if(Z2(r,o),w=+x0[a>>2],c=c-w,n=e[p>>2]|0,t|0)if(cN(F,w,t0,J),a=e[t0>>2]|0,Ao(r,a,e[x>>2]|0,0,0,0),r0(a),c<1e-5&c>-1e-5){Y=11;break e}else{o=0;break}if(c<1e-5&c>-1e-5){Y=13;break e}A=q,o=J,t=A+48|0;do e[A>>2]=e[o>>2],A=A+4|0,o=o+4|0;while((A|0)<(t|0));w=+x0[a>>2],cN(q,w/(c+w),t0,J),r0(e[q>>2]|0),o=e[t0>>2]|0,Ao(r,o,e[x>>2]|0,0,0,0),r0(o),o=0}while(0);t=o,p=p+12|0}(Y|0)==11?(Y=0,r0(e[J>>2]|0)):(Y|0)==13&&(Y=0,p=e[J>>2]|0,Ao(r,p,e[T>>2]|0,0,0,0),r0(p)),e[z>>2]|0&&(Z2(r,e[e[B>>2]>>2]|0),tr(r,e[e[B>>2]>>2]|0),a=e[F>>2]|0,p=e[z>>2]|0,e[P>>2]=e[N>>2],e[P+4>>2]=e[N+4>>2],e[P+8>>2]=e[N+8>>2],e[P+12>>2]=e[N+12>>2],e[U>>2]=e[a>>2],e[U+4>>2]=e[a+4>>2],e[U+8>>2]=e[a+8>>2],e[U+12>>2]=e[a+12>>2],BA(r,2,P,U,l,s,p)),e[_>>2]|0&&(Z2(r,n),tr(r,n),a=(e[F>>2]|0)+((e[W>>2]|0)+-1<<4)|0,p=e[_>>2]|0,e[P>>2]=e[G>>2],e[P+4>>2]=e[G+4>>2],e[P+8>>2]=e[G+8>>2],e[P+12>>2]=e[G+12>>2],e[U>>2]=e[a>>2],e[U+4>>2]=e[a+4>>2],e[U+8>>2]=e[a+8>>2],e[U+12>>2]=e[a+12>>2],BA(r,3,P,U,l,s,p));do if((e[(e[(e[D>>2]|0)+8>>2]|0)+4>>2]|0)>1){if(e[z>>2]|0){if(m)break}else if(!(L&(e[_>>2]|0)!=0))break;a1(r,i)}while(0);v=v+1|0}fc(E),n=0}return g=H,n|0}function id0(r,t){r=r|0,t=t|0;var i=0,n=0;i=1;e:for(;;){switch(y[r>>0]|0){case 0:break e;case 58:{i=i+1|0;break}default:}r=r+1|0}for(n=N0((d2(t)|0)+1|0,i)|0,r=n+10|0,(e[47121]|0)<(n|0)?(e[47121]=r,r=O2(e[47122]|0,r)|0,e[47122]=r):r=e[47122]|0,yo(r,t)|0;i=i+-1|0,r=e[47122]|0,!!i;)n=r+(d2(r)|0)|0,y[n>>0]=58,y[n+1>>0]=0,Tf(r,t)|0;return r|0}function nd0(r){r=r|0;var t=0,i=0;t=e[47184]|0;e:do if(!t)i=7;else switch(t=k2(r,t)|0,y[t>>0]|0){case 110:if(ge(t,135709)|0){i=7;break e}else{t=1;break e}case 102:if(ge(t,100066)|0){i=7;break e}else{t=2;break e}case 98:{if(!(ge(t,100074)|0)){t=3;break e}if(ge(t,111221)|0){i=7;break e}else{t=4;break e}}default:{i=7;break e}}while(0);return(i|0)==7&&(t=(d1(We(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0)|0)!=0,t=t?2:1),t|0}function od0(r){r=r|0,r|0&&(r0(e[r+8>>2]|0),r0(r))}function X7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;o=+u[t>>3]-+u[i>>3],l=+u[t+8>>3]-+u[i+8>>3],n=2/+G0(+(o*o+1e-4+l*l)),u[r>>3]=n*l,u[r+8>>3]=-(o*n)}function ld0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;s=+u[i>>3]-+u[n>>3],A=+u[i+8>>3]-+u[n+8>>3],l=+G0(+(A*A+s*s)),l<1e-4&&(a=+u[t>>3]-+u[o>>3],l=+u[t+8>>3]-+u[o+8>>3],A=l,s=a,l=+G0(+(a*a+1e-4+l*l))),a=2/l,u[r>>3]=A*a,u[r+8>>3]=-(a*s)}function sd0(r,t,i){return r=+r,t=+t,i=+i,+(i*.5*(1-r/t))}function Ad0(r,t,i){return r=+r,t=+t,i=+i,+(i*.5)}function ud0(r,t,i){return r=+r,t=+t,i=+i,+(i*.5*(r/t))}function fd0(r,t,i){return r=+r,t=+t,i=+i,t=r/t,+((t<=.5?t:1-t)*i)}function cN(r,t,i,n){r=r|0,t=+t,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;if(v=g,g=g+16|0,p=v,w=e[r+4>>2]|0,A=(w+-1|0)/3|0,(w+-4|0)>>>0<3)e[i+4>>2]=4,e[i>>2]=j0(64)|0,e[n+4>>2]=4,w=j0(64)|0,e[n>>2]=w,Ei(p,e[r>>2]|0,3,t,e[i>>2]|0,w);else{for(w=j0(A<<3)|0,l=0,s=e[r>>2]|0,o=0;!((l|0)>=(A|0));)m=+ad0(s),u[w+(l<<3)>>3]=m,l=l+1|0,s=s+48|0,o=m+o;for(t=o*t,c=0,o=0;!((A|0)<=(c|0)||(o=+u[w+(c<<3)>>3]+o,o>=t));)c=c+1|0;for(a=c*3|0,l=a+4|0,s=i+4|0,e[s>>2]=l,e[i>>2]=j0(l<<4)|0,l=((A-c|0)*3|0)+1|0,A=n+4|0,e[A>>2]=l,e[n>>2]=j0(l<<4)|0,l=0;!((l|0)>=(e[s>>2]|0));)E=(e[i>>2]|0)+(l<<4)|0,B=(e[r>>2]|0)+(l<<4)|0,e[E>>2]=e[B>>2],e[E+4>>2]=e[B+4>>2],e[E+8>>2]=e[B+8>>2],e[E+12>>2]=e[B+12>>2],l=l+1|0;for(l=l+-4|0,s=0;!((s|0)>=(e[A>>2]|0));)B=(e[n>>2]|0)+(s<<4)|0,E=(e[r>>2]|0)+(l<<4)|0,e[B>>2]=e[E>>2],e[B+4>>2]=e[E+4>>2],e[B+8>>2]=e[E+8>>2],e[B+12>>2]=e[E+12>>2],l=l+1|0,s=s+1|0;m=+u[w+(c<<3)>>3],Ei(p,(e[r>>2]|0)+(a<<4)|0,3,(t-o+m)/m,(e[i>>2]|0)+(a<<4)|0,e[n>>2]|0),r0(w)}g=v}function ad0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return o=+u[r+16>>3],n=+u[r>>3]-o,l=+u[r+24>>3],t=+u[r+8>>3]-l,n=+G0(+(t*t+n*n)),t=+u[r+32>>3],o=o-t,i=+u[r+40>>3],l=l-i,n=+G0(+(l*l+o*o))+n,t=t-+u[r+48>>3],i=i-+u[r+56>>3],+(n+ +G0(+(i*i+t*t)))}function zh(r,t){return r=r|0,t=t|0,t=a2(t)|0,(y[(e[t+16>>2]|0)+115>>0]|0)==1?t=Ph(r)|0:t=WC(r,t)|0,kd0(t)|0}function cd0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=+o;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(E=g,g=g+1664|0,w=E+1600|0,p=E+800|0,v=E,m=_0(24)|0,e[m+16>>2]=1,a=((e[n+4>>2]|0)+-1|0)/3|0,s=0,A=m;!((s|0)>=(a|0));){for(c=s*3|0,l=0;(l|0)!=4;)B=w+(l<<4)|0,x=(e[n>>2]|0)+(l+c<<4)|0,e[B>>2]=e[x>>2],e[B+4>>2]=e[x+4>>2],e[B+8>>2]=e[x+8>>2],e[B+12>>2]=e[x+12>>2],l=l+1|0;s=s+1|0,A=q7(w,A)|0}for(l=0,s=0,A=m;;){if(!A){s=m,l=m;break}if(a=e[A+16>>2]|0,c=p+(l<<4)|0,n=v+(l<<4)|0,hd0(s,A,a,c,n,o),l=l+1|0,!((l|0)==50|(a|0)==0)){s=A,A=a;continue}wd0(r,t,i,l,p,v),e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],e[v>>2]=e[n>>2],e[v+4>>2]=e[n+4>>2],e[v+8>>2]=e[n+8>>2],e[v+12>>2]=e[n+12>>2],s=A,l=1,A=a}for(;s;)x=e[s+16>>2]|0,r0(l),s=x,l=x;g=E}function q7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+144|0,o=l+128|0,i=l+64|0,n=l,QD(r)|0?(i=t+16|0,(e[i>>2]|0)==1&&(e[i>>2]=0,e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2]),i=r+48|0,e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],i=pd0(o,t)|0):(Ei(o,r,3,.5,i,n),i=q7(n,q7(i,t)|0)|0),g=l,i|0}function hd0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=+l;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;E=g,g=g+96|0,w=E+80|0,c=E+64|0,a=E+48|0,p=E+32|0,v=E+16|0,m=E,e[p>>2]=e[t>>2],e[p+4>>2]=e[t+4>>2],e[p+8>>2]=e[t+8>>2],e[p+12>>2]=e[t+12>>2];do if(r)if(e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],i){e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>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<4)|0,e[w>>2]=e[a>>2],e[w+4>>2]=e[a+4>>2],e[w+8>>2]=e[a+8>>2],e[w+12>>2]=e[a+12>>2],s=s+1|0}function dd0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return l=+u[t+8>>3],n=+u[t>>3],o=+I2(+(+u[i+8>>3]-l),+(+u[i>>3]-n)),n=+I2(+(+u[r+8>>3]-l),+(+u[r>>3]-n)),o=o-n,+((o>0?o+-6.283185307179586:o)*.5+n)}function pd0(r,t){r=r|0,t=t|0;var i=0;return i=_0(24)|0,e[i+16>>2]=0,e[i>>2]=e[r>>2],e[i+4>>2]=e[r+4>>2],e[i+8>>2]=e[r+8>>2],e[i+12>>2]=e[r+12>>2],e[t+16>>2]=i,i|0}function kd0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;t=r,o=r;e:for(;;){for(n=0;;){if(i=t,t=t+1|0,i=y[i>>0]|0,!(i<<24>>24))break e;if(n<<24>>24){l=5;break}if(i<<24>>24!=92)break;n=1}r:do if((l|0)==5)switch(l=0,i<<24>>24|0){case 114:{i=13;break r}case 108:case 110:{i=10;break r}default:break r}while(0);y[o>>0]=i,o=o+1|0}return y[o>>0]=0,r|0}function vd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(i=e[r>>2]|0;;){if(o=y[i>>0]|0,!(o<<24>>24)){n=0;break}if(n=o<<24>>24,!(o<<24>>24==44|(an(n)|0)!=0)){l=5;break}i=i+1|0}e:do if((l|0)==5){switch(n|0){case 0:{n=0;break e}case 41:case 40:{i=i+1|0;break e}default:}for(l=t+4|0,s=t+8|0;;){if((md0(o<<24>>24)|0)<<24>>24){n=1;break e}n=e[l>>2]|0,n>>>0>=(e[s>>2]|0)>>>0&&(Xe(t,1)|0,n=e[l>>2]|0),e[l>>2]=n+1,y[n>>0]=o,n=i+1|0,i=n,o=y[n>>0]|0}}while(0);return e[r>>2]=i,n|0}function md0(r){switch(r=r|0,r|0){case 0:case 44:case 41:case 40:{r=1;break}default:r=0}return r|0}function Lh(r,t){return r=r|0,t=t|0,hN(e[r>>2]|0,e[r+160>>2]|0,e[r+156>>2]|0,t)|0}function hN(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+160|0,a=p+20|0,c=p+16|0,w=p,e[a>>2]=0,e[c>>2]=0,Ot(w,128,p+24|0),t2(w,n)|0,o=w+4|0,n=e[o>>2]|0,n>>>0>=(e[w+8>>2]|0)>>>0&&(Xe(w,1)|0,n=e[o>>2]|0),y[n>>0]=0,l=e[w>>2]|0,e[o>>2]=l,s=r+300|0,A=r+296|0,n=0,o=l;e:for(;;){if(n){n=1;break}if(n=GE(o,e[s>>2]|0,a)|0,!n){n=0;break}switch(o=GE(n,e[A>>2]|0,c)|0,l=(o|0)!=0,l?n=GE(0,e[A>>2]|0,c)|0:n=0,((n|0)!=0&1)+(l&1)&3){case 2:{o=$7(r,o,0)|0,n=$7(r,n,i)|0,l=(o|0)>(n|0),n=(n&o|0)>-1&(((l?o:n)|0)>=(t|0)&((l?n:o)|0)<=(t|0)),o=0;continue e}case 1:{n=($7(r,o,t)|0)==(t|0),o=0;continue e}default:{n=0,o=0;continue e}}}return Vt(w),g=p,n|0}function $7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=y[t>>0]|0,l<<24>>24==97&&!(ge(t,100396)|0)||(n=3);e:do if((n|0)==3){if((gd0(t)|0)<<24>>24){i=F1(t)|0;break}if(o=e[r+308>>2]|0,!o)i=-1;else for(r=e[r+312>>2]|0,i=1;;){if((i|0)>(r|0)){i=-1;break e}if(n=e[o+(i<<2)>>2]|0,l<<24>>24==(y[n>>0]|0)&&!(ge(t,n)|0))break e;i=i+1|0}}while(0);return i|0}function gd0(r){r=r|0;for(var t=0;;){if(t=y[r>>0]|0,!(t<<24>>24)){r=1;break}if(((t&255)+-48|0)>>>0<10)r=r+1|0;else{r=0;break}}return r|0}function Cf(r,t){return r=r|0,t=t|0,+u[r+16>>3]>=+u[t>>3]&&+u[t+16>>3]>=+u[r>>3]&&+u[r+24>>3]>=+u[t+8>>3]?r=+u[t+24>>3]>=+u[r+8>>3]&1:r=0,r|0}function wN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;e:do if((e[r+156>>2]|0)>=2&&(n=wt(i,e[47167]|0,195059)|0,(Lh(r,n)|0)<<24>>24==0))if(y[n>>0]|0)n=0;else if(!(Jr(t,i)|0))n=1;else for(n=Jr(t,i)|0;;){if(!n){n=0;break e}if(o=wt(n,e[47190]|0,195059)|0,!(y[o>>0]|0)){n=1;break e}if((Lh(r,o)|0)<<24>>24){n=1;break e}n=ot(t,n,i)|0}else n=1;while(0);return n|0}function yd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+64|0,n=i+32|0,o=i,r=(e[r+16>>2]|0)+48|0,e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[o+16>>2]=e[r+16>>2],e[o+20>>2]=e[r+20>>2],e[o+24>>2]=e[r+24>>2],e[o+28>>2]=e[r+28>>2],e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],e[n+16>>2]=e[t+16>>2],e[n+20>>2]=e[t+20>>2],e[n+24>>2]=e[t+24>>2],e[n+28>>2]=e[t+28>>2],t=(Cf(o,n)|0)&255,g=i,t|0}function Cd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;m=e[r+152>>2]|0,E=hh(r)|0,e[E+4>>2]=2,e[E+8>>2]=t,e[E+12>>2]=8,m&16777216|0&&((M0[(e[(We(t)|0)+16>>2]|0)+178>>1]|0)>2?(i=+u[(e[(e[t+16>>2]|0)+132>>2]|0)+16>>3]*72,i=+(~~(i+(i>=0?.5:-.5))|0)):i=0,u[E+168>>3]=i),s=t+16|0,K7(r,e[(e[s>>2]|0)+104>>2]|0,t);do if(m&4259840|0){if(!(e[E+208>>2]|0)&&!($[E+260>>1]&1))break;p=ZA(t)|0,A=e[s>>2]|0,i=+u[A+16>>3],v=+u[A+24>>3],A=Bd0(t)|0;e:do if((p|2|0)==3)if(c=e[(e[s>>2]|0)+12>>2]|0,(Id0(c)|0)<<24>>24?n=(e[c+4>>2]|A|0)!=0:n=0,(m&524288|0)==0|((c|0)==0|n))B=31;else{if(o=c+8|0,w=e[o>>2]|0,w=(w|0)<3?1:w,l=c+4|0,a=e[l>>2]|0,a=(a|0)>1?a:1,p=e[c+44>>2]|0,n=he(t,102705)|0,n?n=F1(n)|0:n=0,n=(n+-4|0)>>>0>56?20:n,!(e[l>>2]|A)){e[E+264>>2]=0,o=j0(32)|0,n=e[s>>2]|0,z=+u[n+88>>3],u[o>>3]=i-z,x=+u[n+80>>3]*.5,u[o+8>>3]=v-x,u[o+16>>3]=z+i,u[o+24>>3]=x+v,n=2;break}if(o=e[o>>2]|0,(o|0)<3&&+u[c+32>>3]==0&&+u[c+24>>3]==0){if(o=E+264|0,e[c>>2]|0){e[o>>2]=1,o=j0(32)|0,u[o>>3]=i,u[o+8>>3]=v,n=(a<<1)+-1|0,u[o+16>>3]=+u[p+(n<<4)>>3]+i,u[o+24>>3]=+u[p+(n<<4)+8>>3]+v,n=2;break}for(e[o>>2]=2,o=(a<<1)+-1|0,o=xd0(+u[p+(o<<4)>>3],+u[p+(o<<4)+8>>3],n)|0,l=0;;){if((l|0)>=(n|0))break e;p=o+(l<<4)|0,u[p>>3]=+u[p>>3]+i,p=o+(l<<4)+8|0,u[p>>3]=+u[p>>3]+v,l=l+1|0}}if(a=N0(o,a+-1|0)|0,e[E+264>>2]=2,(o|0)<(n|0))for(o=j0(w<<4)|0,n=0;;){if((n|0)>=(w|0)){n=w;break e}c=n+a|0,u[o+(n<<4)>>3]=+u[p+(c<<4)>>3]+i,u[o+(n<<4)+8>>3]=+u[p+(c<<4)+8>>3]+v,n=n+1|0}else for(A=(o|0)/(n|0)|0,o=j0(n<<4)|0,l=0,s=0;;){if((l|0)>=(n|0))break e;w=s+a|0,u[o+(l<<4)>>3]=+u[p+(w<<4)>>3]+i,u[o+(l<<4)+8>>3]=+u[p+(w<<4)+8>>3]+v,l=l+1|0,s=s+A|0}}else B=31;while(0);(B|0)==31&&(e[E+264>>2]=0,o=j0(32)|0,n=e[s>>2]|0,u[o>>3]=i-+u[n+88>>3],z=+u[n+80>>3]*.5,u[o+8>>3]=v-z,u[o+16>>3]=+u[n+96>>3]+i,u[o+24>>3]=z+v,n=2),m&8192||El(r,o,o,n)|0,e[E+272>>2]=o,e[E+268>>2]=n}while(0);Jw(he(t,100032)|0),Ot0(r,t)}function Ed0(r){r=r|0,Vt0(r),wh(r)}function K7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=g,g=g+144|0,A=c,n=he(i,141055)|0,s=he(i,141101)|0,a=he(i,141088)|0,Ot(A,128,c+16|0),t?l=e[t>>2]|0:l=0,n|0&&y[n>>0]|0||(n=he(i,111477)|0),o=c7(r,i,A)|0,s?t=zh(s,i)|0:t=0,MD(r,l,n,t,a,o,i)|0,r0(t),Vt(A),g=c}function Bd0(r){r=r|0;var t=0,i=0;r=F2(r,e[47157]|0,195059)|0;e:do if(!(y[r>>0]|0))r=0;else for(hc(r)|0,r=0,t=188228;;){if(i=e[t>>2]|0,!i)break e;i=(ge(i,111101)|0)==0,r=i?1:r,t=t+4|0}while(0);return r|0}function Id0(r){r=r|0;var t=0;return(e[r+8>>2]|0)==4&&(t=+u[r+16>>3],((~~(t+(t>=0?.5:-.5))|0)%90|0|0)==0)&&+u[r+24>>3]==0?r=+u[r+32>>3]==0&1:r=0,r|0}function xd0(r,t,i){r=+r,t=+t,i=i|0;var n=0,o=0,l=0,s=0;for(l=6.283185307179586/+(i|0),s=j0(i<<4)|0,n=0,o=0;!((o|0)>=(i|0));)u[s+(o<<4)>>3]=+ee(+n)*r,u[s+(o<<4)+8>>3]=+le(+n)*t,n=n+l,o=o+1|0;return s|0}function Sd0(r,t){r=r|0,t=t|0;var i=0;e:do if((e[r+156>>2]|0)>=2&&(i=wt(t,re(t,0,101510,0)|0,195059)|0,(Lh(r,i)|0)<<24>>24==0))if(y[i>>0]|0)i=0;else for(i=U0(t)|0;;){if(!i){i=0;break e}if((wN(r,t,i)|0)<<24>>24){i=1;break e}i=X0(t,i)|0}else i=1;while(0);return i|0}function _d0(r,t){r=r|0,t=t|0;var i=0;i=hh(r)|0,e[i+4>>2]=1,e[i+8>>2]=t,e[i+12>>2]=1,K7(r,e[(e[t+16>>2]|0)+12>>2]|0,t),Pt0(r,t)}function dN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;r=he(r,141082)|0;e:do if(r|0&&y[r>>0]|0)for(hc(r)|0,i=188228,r=0;;){for(;;){if(n=e[i>>2]|0,!n){i=188228;break e}if(!(ge(n,111101)|0)){o=10;break}if(!(ge(n,106334)|0)){n=i,o=12;break}if(!(ge(n,106341)|0)){n=i,o=14;break}if(!(ge(n,106316)|0)){n=i,o=16;break}i=i+4|0}if((o|0)==10){i=i+4|0,r=r|1;continue}else if((o|0)==12){for(;l=n,n=n+4|0,o=e[n>>2]|0,e[l>>2]=o,o;)o=12;r=r|3;continue}else if((o|0)==14){for(;o=n,n=n+4|0,l=e[n>>2]|0,e[o>>2]=l,l;)o=14;r=r|64;continue}else if((o|0)==16){for(;o=n,n=n+4|0,l=e[n>>2]|0,e[o>>2]=l,l;)o=16;r=r|4;continue}}else i=0,r=0;while(0);return e[t>>2]=r,i|0}function Rh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;if(A=g,g=g+16|0,l=A,s=A+4|0,e[s>>2]=0,a=(Qd(r,0,s)|0)==0,s=e[s>>2]|0,a&&(n=e[s>>2]|0,(n|0)>=2)&&(o=s+8|0,(e[e[o>>2]>>2]|0)!=0)){(n|0)>2&&$0(0,100415,l)|0,a=_0((d2(r)|0)+1|0)|0,e[t>>2]=a,yo(a,e[e[o>>2]>>2]|0)|0,e[(e[o>>2]|0)+12>>2]|0?(a=e[t>>2]|0,a=a+((d2(a)|0)+1)|0,e[t+4>>2]=a,yo(a,e[(e[o>>2]|0)+12>>2]|0)|0):e[t+4>>2]=0,r=e[o>>2]|0;do if(y[r+8>>0]|0)e[i>>2]=e[r+4>>2];else if(y[r+20>>0]|0){x0[i>>2]=1-+x0[r+16>>2];break}else{x0[i>>2]=0;break}while(0);fc(s),r=1}else e[t>>2]=0,fc(s),r=0;return g=A,r|0}function zd0(r,t){r=r|0,t=t|0,Yt0(r,t),wh(r)}function Ld0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;for(L=g,g=g+96|0,p=L+48|0,E=L+16|0,_=L+8|0,z=L,B=L+80|0,e[B>>2]=1e3,o=_0(16e3)|0,x=r+256|0,n=1,s=1,l=0,v=0,m=e[t+8>>2]|0;!((v|0)>=(e[t>>2]|0));){i=e[m>>2]|0;e:do switch(i|0){case 1:case 0:{c=m+80|0,e[E>>2]=e[c>>2],e[E+4>>2]=e[c+4>>2],e[E+8>>2]=e[c+8>>2],e[E+12>>2]=e[c+12>>2],e[E+16>>2]=e[c+16>>2],e[E+20>>2]=e[c+20>>2],e[E+24>>2]=e[c+24>>2],e[E+28>>2]=e[c+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],Cf(E,p)|0&&(W=m+8|0,N=m+24|0,u[o>>3]=+u[W>>3]-+u[N>>3],c=m+16|0,G=m+32|0,u[o+8>>3]=+u[c>>3]-+u[G>>3],u[o+16>>3]=+u[N>>3]+ +u[W>>3],u[o+24>>3]=+u[G>>3]+ +u[c>>3],Y3(r,o,2,i|0?0:s)),i=s;break}case 3:case 2:{N=m+80|0,e[E>>2]=e[N>>2],e[E+4>>2]=e[N+4>>2],e[E+8>>2]=e[N+8>>2],e[E+12>>2]=e[N+12>>2],e[E+16>>2]=e[N+16>>2],e[E+20>>2]=e[N+20>>2],e[E+24>>2]=e[N+24>>2],e[E+28>>2]=e[N+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],Cf(E,p)|0&&(i=m+8|0,o=b7(o,B,e[i+4>>2]|0,e[i>>2]|0)|0,Q2(r,o,e[i>>2]|0,(e[m>>2]|0)==2?s:0)),i=s;break}case 5:case 4:{N=m+80|0,e[E>>2]=e[N>>2],e[E+4>>2]=e[N+4>>2],e[E+8>>2]=e[N+8>>2],e[E+12>>2]=e[N+12>>2],e[E+16>>2]=e[N+16>>2],e[E+20>>2]=e[N+20>>2],e[E+24>>2]=e[N+24>>2],e[E+28>>2]=e[N+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],Cf(E,p)|0&&(i=m+8|0,o=b7(o,B,e[i+4>>2]|0,e[i>>2]|0)|0,Ao(r,o,e[i>>2]|0,0,0,(e[m>>2]|0)==4?s&255:0)),i=s;break}case 6:{N=m+80|0,e[E>>2]=e[N>>2],e[E+4>>2]=e[N+4>>2],e[E+8>>2]=e[N+8>>2],e[E+12>>2]=e[N+12>>2],e[E+16>>2]=e[N+16>>2],e[E+20>>2]=e[N+20>>2],e[E+24>>2]=e[N+24>>2],e[E+28>>2]=e[N+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],Cf(E,p)|0&&(i=m+8|0,o=b7(o,B,e[i+4>>2]|0,e[i>>2]|0)|0,y2(r,o,e[i>>2]|0)),i=s;break}case 7:{N=m+80|0,e[E>>2]=e[N>>2],e[E+4>>2]=e[N+4>>2],e[E+8>>2]=e[N+8>>2],e[E+12>>2]=e[N+12>>2],e[E+16>>2]=e[N+16>>2],e[E+20>>2]=e[N+20>>2],e[E+24>>2]=e[N+24>>2],e[E+28>>2]=e[N+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],Cf(E,p)|0&&(u[o>>3]=+u[m+8>>3],u[o+8>>3]=+u[m+16>>3],i=e[m+112>>2]|0,e[p>>2]=e[o>>2],e[p+4>>2]=e[o+4>>2],e[p+8>>2]=e[o+8>>2],e[p+12>>2]=e[o+12>>2],Ny(r,p,i)),i=s;break}case 8:{tr(r,e[m+8>>2]|0),i=1;break}case 9:{Z2(r,e[m+8>>2]|0),i=1;break}case 13:{if((e[m+8>>2]|0)!=2){i=m+16|0,W=e[i+36>>2]|0,N=e[W+12>>2]|0,w=+x0[W+8>>2],i=~~(+I2(+(+u[m+40>>3]-+u[m+24>>3]),+(+u[m+32>>3]-+u[i>>3]))*57.29577951308232),tr(r,e[W+4>>2]|0),so(r,N,i,w),i=2;break e}N=e[m+68>>2]|0,s=e[N+4>>2]|0,c=e[N+12>>2]|0,w=+x0[N+8>>2],A=+u[m+40>>3],a=+u[m+16>>3],A==a&&+u[m+48>>3]==+u[m+24>>3]?i=0:i=~~(+s2(+((a-A)/+u[m+32>>3]))*57.29577951308232),tr(r,s),so(r,c,i,w),i=3;break}case 14:{$0(0,100481,z)|0,i=s;break}case 12:{n?($0(0,100521,_)|0,n=0,i=s):(n=0,i=s);break}case 11:{hc(e[m+8>>2]|0)|0,a1(r,188228),l=188228,i=s;break}default:i=s}while(0);s=i,v=v+1|0,m=m+120|0}l|0&&a1(r,e[(e[r>>2]|0)+336>>2]|0),r0(o),g=L}function b7(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(l=e[t>>2]|0,o=l<<1,o=(o|0)>(n|0)?o:n,(l|0)<(n|0)&&(r=Oe(r,o<<4)|0,e[t>>2]=o),t=0;!((t|0)>=(n|0));)u[r+(t<<4)>>3]=+u[i+(t*24|0)>>3],u[r+(t<<4)+8>>3]=+u[i+(t*24|0)+8>>3],t=t+1|0;return r|0}function cp(r,t){r=r|0,t=t|0;var i=0;i=e[t>>2]|0,e[r>>2]=e[t+4>>2],e[r+4>>2]=i}function pN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=t+16|0,n=1;t=e[o>>2]|0,!((n|0)>(e[t+180>>2]|0));)i=e[(e[t+184>>2]|0)+(n<<2)>>2]|0,pN(r,i),t=he(i,140823)|0,t|0&&y[t>>0]|0&&Z2(r,t),t=he(i,137729)|0,t|0&&y[t>>0]|0&&Z2(r,t),t=he(i,140977)|0,t|0&&y[t>>0]|0&&Z2(r,t),t=he(i,101418)|0,t|0&&y[t>>0]|0&&tr(r,t),t=he(i,101446)|0,t|0&&y[t>>0]|0&&Z2(r,t),n=n+1|0}function Rd0(r){r=r|0;var t=0,i=0,n=0;return t=e[47127]|0,t||(t=at(20628,e[4581]|0)|0,e[47127]=t),oe[e[t>>2]&63](t,r,4)|0?t=0:(i=e[47127]|0,n=e[i>>2]|0,t=C2(r)|0,oe[n&63](i,t,1)|0,t=1),t|0}function Gd0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function zA(r){r=r|0;var t=0;t=e[47128]|0,r?(e[47128]=t+1,t||(e[47129]=C2(_E(1,0)|0)|0,_E(1,153563)|0)):(t|0)>0&&(t=t+-1|0,e[47128]=t,(t|0)==0)&&(_E(1,e[47129]|0)|0,r0(e[47129]|0))}function eC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;z=g,g=g+96|0,E=z+72|0,m=z+56|0,v=z+48|0,x=z+32|0,B=z+24|0,n=z+8|0,i=z;do if($e(t,137483,0,1)|0&&(p=t+16|0,(e[(e[p>>2]|0)+8>>2]|0)!=0)){Zd0(t),Wd0(r,t),Dd0(r,t),zA(1),A=r+56|0,a=r+184|0,c=r+192|0,w=r+28|0,s=aa0(r)|0;e:for(;;){if(!s){l=33;break}if(i=e[A>>2]|0,i?(e[s+20>>2]=e[i+8>>2],i=e[i+12>>2]|0):(e[s+20>>2]=0,i=0),e[s+24>>2]=i,e[s+12>>2]=r,e[s+28>>2]=e[a>>2],e[s+620>>2]=25764,e[s+624>>2]=14,!(e[(e[p>>2]|0)+8>>2]|0)){l=13;break}switch(n=s+52|0,l=Yw(s,e[n>>2]|0)|0,e[s+56>>2]=l,l|0){case 999:{l=16;break e}case 21:{i=1;break}case 24:{i=520;break}default:i=Md0(t)|0}o=s+152|0,e[o>>2]=e[o>>2]|i,i=e[c>>2]|0;do if(!i)l=24;else{if(e[i+152>>2]&32|0&&!(ge(e[n>>2]|0,e[i+52>>2]|0)|0)){if(i=e[47130]|0,!i){l=27;break}e[i+8>>2]=s,e[s+36>>2]=e[i+36>>2],l=29;break}Ow(i),e[c>>2]=0,e[w>>2]=0,l=24}while(0);(l|0)==24&&(e[47130]=0,l=27),(l|0)==27&&(l=0,(Dt0(s)|0)==0)&&(e[c>>2]=s,l=29),(l|0)==29&&(e[s+8>>2]=0,e[s+104>>2]=25876,jd0(s),Nd0(s),Qd0(s,t),Td0(s,t),Fd0(s,t),e[o>>2]&128||TD(s,t),e[47130]=s),s=ca0(r)|0}if((l|0)==13){$0(1,100679,B)|0,zA(0),i=-1;break}else if((l|0)==16){e[v>>2]=e[n>>2],$0(1,100700,v)|0,zA(0),i=-1;break}else if((l|0)==33){zA(0),i=0;break}}else l=5;while(0);return(l|0)==5&&($0(1,100602,i)|0,i=-1),g=z,i|0}function Zd0(r){r=r|0;var t=0;for(t=U0(r)|0;t;)Od0(r,t),t=X0(r,t)|0}function Wd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;w=g,g=g+32|0,A=w+24|0,n=w+16|0,s=w+8|0,c=w,e[r+168>>2]=t,o=r+293|0,y[o>>0]=0,i=he(t,105496)|0,i|0&&(e[n>>2]=s,e[n+4>>2]=c,l=X2(i,105503,n)|0,(l|0)>0)&&(p=+u[s>>3]*72,i=r+208|0,u[i>>3]=p,u[r+200>>3]=p,(l|0)!=1&&(u[i>>3]=+u[c>>3]*72),y[o>>0]=1),n=r+292|0,y[n>>0]=0,i=he(t,101102)|0,i|0&&(e[A>>2]=s,e[A+4>>2]=c,a=X2(i,105503,A)|0,(a|0)>0)&&(p=+u[s>>3]*72,i=r+224|0,u[i>>3]=p,u[r+216>>3]=p,(a|0)!=1&&(u[i>>3]=+u[c>>3]*72),y[n>>0]=1),i=r+294|0,y[i>>0]=0,n=r+232|0,o=t+16|0,c=(e[(e[o>>2]|0)+8>>2]|0)+48|0,e[n>>2]=e[c>>2],e[n+4>>2]=e[c+4>>2],e[n+8>>2]=e[c+8>>2],e[n+12>>2]=e[c+12>>2],n=e[(e[o>>2]|0)+8>>2]|0,+u[n+48>>3]>.001&&+u[n+56>>3]>.001&&(y[i>>0]=1),e[r+288>>2]=y[n+81>>0]|0?90:0,i=r+196|0,e[i>>2]=101106,n=he(t,101109)|0,n|0&&y[n>>0]|0&&(e[i>>2]=n),c=r+256|0,a=(e[o>>2]|0)+16|0,e[c>>2]=e[a>>2],e[c+4>>2]=e[a+4>>2],e[c+8>>2]=e[a+8>>2],e[c+12>>2]=e[a+12>>2],e[c+16>>2]=e[a+16>>2],e[c+20>>2]=e[a+20>>2],e[c+24>>2]=e[a+24>>2],e[c+28>>2]=e[a+28>>2],e[47141]=re(t,0,101472,0)|0,e[47142]=re(t,0,101463,0)|0,e[r+320>>2]=F2(0,e[47151]|0,107994)|0,u[r+328>>3]=+sr(0,e[47150]|0,14,1),e[r+336>>2]=20664,e[r+188>>2]=te(t)|0,g=w}function Dd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=r+304|0,n=e[i>>2]|0,n|0&&(r0(n),e[i>>2]=0),n=r+308|0,i=e[n>>2]|0,i|0&&(r0(i),e[n>>2]=0),o=r+316|0,i=e[o>>2]|0,i|0&&(r0(i),e[o>>2]=0),i=he(t,100853)|0,i?(e[r+312>>2]=Pd0(r,t,i)|0,i=he(t,100860)|0,i|0&&y[i>>0]|0&&(e[o>>2]=Yd0(r,i)|0)):(e[n>>2]=0,e[r+312>>2]=1)}function Md0(r){r=r|0,r=he(r,100821)|0;e:do if(!r)r=0;else switch(y[r>>0]|0){case 110:{if(!(ge(r+1|0,100833)|0))r=1;else{r=0;break e}break}case 101:{if(!(ge(r+1|0,100843)|0))r=16;else{r=0;break e}break}default:{r=0;break e}}while(0);return r|0}function jd0(r){r=r|0;var t=0,i=0;i=e[r>>2]|0,y[i+292>>0]|0?(r=r+240|0,i=i+216|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2]):((e[r+56>>2]|0)==300?t=+u[(e[r+68>>2]|0)+8>>3]:t=4,u[r+248>>3]=t,u[r+240>>3]=t)}function Nd0(r){r=r|0;var t=0;t=e[r>>2]|0;e:do if(y[t+293>>0]|0)r=r+416|0,t=t+200|0,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];else switch(e[r+56>>2]|0){case 300:{t=r+416|0,r=(e[r+84>>2]|0)+8|0,e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2];break e}case 30:case 21:case 22:case 4:case 3:case 2:{u[r+424>>3]=36,u[r+416>>3]=36;break e}default:{t=r+416|0,e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0;break e}}while(0)}function Qd0(r,t){r=r|0,t=t|0;var i=0,n=0;n=e[(e[r>>2]|0)+192>>2]|0,i=+u[(e[(e[t+16>>2]|0)+8>>2]|0)+24>>3];do if(i==0){if(n|0&&y[n+128>>0]|0){r=r+432|0,n=n+112|0,e[r>>2]=e[n>>2],e[r+4>>2]=e[n+4>>2],e[r+8>>2]=e[n+8>>2],e[r+12>>2]=e[n+12>>2];break}if(t=r+432|0,(e[r+56>>2]|0)==300){r=(e[r+84>>2]|0)+40|0,e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2];break}else{u[r+440>>3]=96,u[t>>3]=96;break}}else u[r+440>>3]=i,u[r+432>>3]=i;while(0)}function Td0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;N=g,g=g+112|0,B=N+80|0,x=N+56|0,E=N+40|0,z=N+32|0,_=N+24|0,L=N+16|0,G=N+8|0,W=N,a=e[r>>2]|0,w=+u[a+272>>3],v=+u[a+280>>3],p=+u[a+256>>3],m=+u[a+264>>3],n=+u[r+240>>3],i=p-n,u[r+208>>3]=i,l=+u[r+248>>3],s=m-l,u[r+216>>3]=s,n=n+w,u[r+224>>3]=n,l=l+v,u[r+232>>3]=l,i=n-i,s=l-s,u[L>>3]=1,o=e[(e[t+16>>2]|0)+8>>2]|0,l=+u[o+64>>3];do if(l>.001&&(A=+u[o+72>>3],A>.001)){if(i=i==0?l:i,n=s==0?A:s,!(ln&(l>i&(y[o+80>>0]|0)!=0))){A=i,s=n,l=1;break}c=l/i>3]=l,A=i,s=n}else A=i,l=1;while(0);if(n=(p+w)*.5,u[G>>3]=n,i=(m+v)*.5,u[W>>3]=i,e[r+360>>2]=e[a+288>>2],A=l*A,u[z>>3]=A,s=l*s,u[_>>3]=s,o=he(t,100752)|0,o){a=Te((d2(o)|0)+1|0)|0,c=Te((d2(o)|0)+1|0)|0,e[E>>2]=z,e[E+4>>2]=_,e[E+8>>2]=L,e[E+12>>2]=a;do if((X2(o,100761,E)|0)==4)o=ht(e[t+60>>2]|0,a,0)|0,o|0&&(x=e[o+16>>2]|0,u[G>>3]=+u[x+16>>3],u[W>>3]=+u[x+24>>3]);else{if(e[x>>2]=z,e[x+4>>2]=_,e[x+8>>2]=L,e[x+12>>2]=a,e[x+16>>2]=c,(X2(o,100781,x)|0)!=4){e[B>>2]=z,e[B+4>>2]=_,e[B+8>>2]=L,e[B+12>>2]=G,e[B+16>>2]=W,X2(o,100801,B)|0;break}o=ht(e[t+60>>2]|0,a,0)|0,o|0&&(x=e[o+16>>2]|0,u[G>>3]=+u[x+16>>3],u[W>>3]=+u[x+24>>3])}while(0);r0(a),r0(c),A=+u[z>>3],s=+u[_>>3],l=+u[L>>3],n=+u[G>>3],i=+u[W>>3]}u[r+368>>3]=A,u[r+376>>3]=s,u[r+352>>3]=l,u[r+336>>3]=n,u[r+344>>3]=i,g=N}function Fd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0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=0?.5:-.5)),w=c*.013888888888888888*w,e[r+468>>2]=~~(w+(w>=0?.5:-.5)),s||(e[Y>>2]=e[n>>2],e[Y+4>>2]=e[n+4>>2],cp(H,Y),t0=H,H=e[t0+4>>2]|0,r=n,e[r>>2]=e[t0>>2],e[r+4>>2]=H,e[Y>>2]=e[i>>2],e[Y+4>>2]=e[i+4>>2],cp(f0,Y),r=f0,H=e[r+4>>2]|0,f0=i,e[f0>>2]=e[r>>2],e[f0+4>>2]=H),g=k0}function Gh(r,t){r=r|0,t=t|0;var i=0;i=+u[t>>3],u[r>>3]=+u[t+8>>3],u[r+8>>3]=i}function hp(r,t,i){switch(r=r|0,t=t|0,i=i|0,i=(i<<24>>24)+-66|0,i>>>1|i<<31|0){case 9:{e[t+176>>2]=(e[t+168>>2]|0)+-1,t=0,i=-1;break}case 0:{t=0,i=1;break}case 5:{t=1,i=0;break}case 8:{e[t+172>>2]=(e[t+164>>2]|0)+-1,t=-1,i=0;break}default:t=0,i=0}e[r>>2]=t,e[r+4>>2]=i}function Pd0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,o=A,n=he(t,100973)|0,s=r+296|0,e[s>>2]=n|0?n:100982,t=he(t,100986)|0,n=r+300|0,t=t|0?t:100999,e[n>>2]=t,t=zB0(e[s>>2]|0,t)|0,t|0&&(e[o>>2]=y[t>>0],$0(0,101001,o)|0,e[n>>2]=195059),t=C2(i)|0,e[r+304>>2]=t,l=r+308|0,n=0,r=0;i=Qf(t,e[s>>2]|0)|0,!!i;)o=r+1|0,(r|0)<(n|0)?t=e[l>>2]|0:(n=n+128|0,t=e[l>>2]|0,t?t=Oe(t,n<<2)|0:t=_0(n<<2)|0,e[l>>2]=t),e[t+(o<<2)>>2]=i,r=o,t=0;return r|0&&(s=Oe(e[l>>2]|0,(r<<2)+8|0)|0,e[l>>2]=s,e[s>>2]=0,e[(e[l>>2]|0)+(r+1<<2)>>2]=0),g=A,r|0}function Yd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(c=g,g=g+16|0,a=c,A=r+312|0,i=_0((e[A>>2]<<2)+8|0)|0,n=0,s=1;l=e[A>>2]|0,!((s|0)>(l|0));)o=n+1|0,(hN(r,s,l,t)|0)<<24>>24&&(e[i+(o<<2)>>2]=s,n=o),s=s+1|0;return n?(e[i>>2]=n,e[i+(n+1<<2)>>2]=(e[A>>2]|0)+1):(e[a>>2]=t,$0(0,100872,a)|0,r0(i),i=0),g=c,i|0}function Od0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(i=e[t+16>>2]|0,l=+u[i+16>>3],u[i+48>>3]=l-+u[i+88>>3],n=+u[i+24>>3],o=+u[i+80>>3]*.5,u[i+56>>3]=n-o,u[i+64>>3]=+u[i+96>>3]+l,u[i+72>>3]=o+n,t=Me(r,t)|0;t;)Vd0(t),t=Qe(r,t)|0}function Vd0(r){r=r|0,r=e[(e[r+16>>2]|0)+8>>2]|0,r|0&&Hd0(r)}function Hd0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;P=g,g=g+240|0,_=P+192|0,z=P+176|0,L=P+64|0,G=P+32|0,W=P,N=P+144|0,T=P+112|0,D=r+4|0,(e[D>>2]|0)<=0&&H0(101140,99906,3994,101154),t=e[r>>2]|0,i=L,n=t,o=i+48|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));i=_,n=t,o=i+48|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));for(kN(G,_),s=G+8|0,A=W+8|0,a=G+16|0,c=W+16|0,w=G+24|0,p=W+24|0,v=L+8|0,m=L+12|0,E=L+32|0,B=L+4|0,x=L+16|0,l=0;!((l|0)>=(e[D>>2]|0));){if((l|0)>0){t=(e[r>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W+4>>2]=e[T+4>>2],e[W+8>>2]=e[T+8>>2],e[W+12>>2]=e[T+12>>2],e[W+16>>2]=e[T+16>>2],e[W+20>>2]=e[T+20>>2],e[W+24>>2]=e[T+24>>2],e[W+28>>2]=e[T+28>>2],u[G>>3]=+u[(+u[G>>3]<+u[W>>3]?G:W)>>3],u[s>>3]=+u[(+u[s>>3]<+u[A>>3]?G:W)+8>>3],u[a>>3]=+u[(+u[a>>3]>+u[c>>3]?G:W)+16>>3],u[w>>3]=+u[(+u[w>>3]>+u[p>>3]?G:W)+24>>3]),l=l+1|0}D=r+8|0,e[D>>2]=e[G>>2],e[D+4>>2]=e[G+4>>2],e[D+8>>2]=e[G+8>>2],e[D+12>>2]=e[G+12>>2],e[D+16>>2]=e[G+16>>2],e[D+20>>2]=e[G+20>>2],e[D+24>>2]=e[G+24>>2],e[D+28>>2]=e[G+28>>2],g=P}function kN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(w=g,g=g+48|0,s=w+32|0,A=w,a=e[t+4>>2]|0,(a|0)<=0&&H0(101170,99906,3968,101182),((a>>>0)%3|0|0)!=1&&H0(101192,99906,3969,101182),c=A+16|0,i=e[t>>2]|0,e[c>>2]=e[i>>2],e[c+4>>2]=e[i+4>>2],e[c+8>>2]=e[i+8>>2],e[c+12>>2]=e[i+12>>2],e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],n=s+8|0,o=A+8|0,l=A+24|0,t=1;!((t|0)>=(a|0));)v=+u[i+(t<<4)+8>>3],x=t+1|0,p=+u[i+(x<<4)+8>>3],E=(+u[i+(x<<4)>>3]+ +u[i+(t<<4)>>3])*.5,u[s>>3]=E,v=(p+v)*.5,u[n>>3]=v,p=+u[(+u[A>>3]>3],u[A>>3]=p,B=+u[(+u[o>>3]>3],u[o>>3]=B,E=+u[(+u[c>>3]>E?c:s)>>3],u[c>>3]=E,v=+u[(+u[l>>3]>v?c:s)+8>>3],u[l>>3]=v,x=i+(t+2<<4)|0,e[s>>2]=e[x>>2],e[s+4>>2]=e[x+4>>2],e[s+8>>2]=e[x+8>>2],e[s+12>>2]=e[x+12>>2],m=+u[s>>3],u[A>>3]=+u[(p>3],p=+u[n>>3],u[o>>3]=+u[(B>3],u[c>>3]=+u[(E>m?c:s)>>3],u[l>>3]=+u[(v>p?c:s)+8>>3],t=t+3|0;e[r>>2]=e[A>>2],e[r+4>>2]=e[A+4>>2],e[r+8>>2]=e[A+8>>2],e[r+12>>2]=e[A+12>>2],e[r+16>>2]=e[A+16>>2],e[r+20>>2]=e[A+20>>2],e[r+24>>2]=e[A+24>>2],e[r+28>>2]=e[A+28>>2],g=w}function Jd0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;B=+u[r>>3],x=+u[i>>3],c=!(B>=x),!c&&B<=+u[i+16>>3]&&(o=+u[r+8>>3],o>=+u[i+8>>3])?A=o<=+u[i+24>>3]:A=0,o=+u[t>>3],o>=x&&o<=+u[i+16>>3]&&(l=+u[t+8>>3],l>=+u[i+8>>3])?(n=l<=+u[i+24>>3],A^n?n=0:A&n?n=1:w=11):A?n=0:w=11;e:do if((w|0)==11){E=+u[r+8>>3];do if(B==o){if(x=+u[i+8>>3],!(c|E>=x^+u[t+8>>3]>=x^1)&&B<=+u[i+16>>3]){n=0;break e}}else{if(a=+u[t+8>>3],E==a){if(!(B>=x^o>=x)||!(E>=+u[i+8>>3]))break;if(E<=+u[i+24>>3]){n=0;break e}else break}if(m=(a-E)/(o-B),w=B>3],!(!(x>=s)|!(x<=o)|!(l>=p))&&l<=+u[i+24>>3]){n=0;break e}if(v=+u[i+16>>3],l=(v-x)*m+l,l>=p&&!(!(v<=o)|(v>=s?!(l<=+u[i+24>>3]):1))){n=0;break e}if(w=E=x&&!(!(p<=l)|(!(p>=s)|!(o<=v)))){n=0;break e}if(E=+u[i+24>>3],B=(E-p)/m+o,B>=x&&!(!(E<=l)|(!(E>=s)|!(B<=v)))){n=0;break e}}while(0);n=-1}while(0);return n|0}function wp(r){r=r|0;var t=0,i=0;t=r+16|0,i=+u[t>>3],u[r+32>>3]=i,u[r+48>>3]=i,u[r+40>>3]=+u[r+24>>3],u[r+56>>3]=+u[r+8>>3],u[t>>3]=+u[r>>3]}function vN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;(e[47131]|0)!=(i|0)&&(l8(+(i|0)*.15915494309189535,186328,186336),e[47131]=i),l=+u[t>>3],n=+u[23292],o=+u[t+8>>3],s=+u[23291],u[r>>3]=n*l-s*o,u[r+8>>3]=s*l+o*n}function dp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+16|0,o=a,n=+u[t>>3],s=t+8|0,l=+u[s>>3];e:do switch(i|0){case 0:{A=11;break}case 90:{u[t>>3]=l,n=-n,A=10;break}case 180:{n=-l,A=10;break}case 270:{u[t>>3]=l,A=10;break}default:{if((i|0)<0){e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],_s(r,o,0-i|0);break e}if((i|0)>360){e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],dp(r,o,(i>>>0)%360|0);break e}else{e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],vN(r,o,i);break e}}}while(0);(A|0)==10&&(u[s>>3]=n,A=11),(A|0)==11&&(e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]),g=a}function _s(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+16|0,o=a,n=+u[t>>3],s=t+8|0,l=+u[s>>3];e:do switch(i|0){case 0:{A=11;break}case 90:{u[t>>3]=-l,A=10;break}case 180:{n=-l,A=10;break}case 270:{u[t>>3]=l,A=10;break}default:{if((i|0)<0){e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],dp(r,o,0-i|0);break e}if((i|0)>360){e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],_s(r,o,(i>>>0)%360|0);break e}else{e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],vN(r,o,360-i|0);break e}}}while(0);(A|0)==10&&(u[s>>3]=n,A=11),(A|0)==11&&(e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]),g=a}function Ud0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=+u[i>>3],n=+u[i+8>>3],l=n+ +u[t>>3],o=s+ +u[t+24>>3],n=n+ +u[t+16>>3],u[r>>3]=s+ +u[t+8>>3],u[r+8>>3]=l,u[r+16>>3]=o,u[r+24>>3]=n}function mN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return l=+u[r>>3],n=+u[t>>3]-l,s=+u[r+8>>3],o=+u[t+8>>3]-s,l=(+u[i+8>>3]-s)*n-(+u[i>>3]-l)*o,l=l*l,+(l<1e-10?0:l/(o*o+n*n))}function gN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+16|0,o=l+8|0,n=l,r=he(r,t)|0,r|0&&(e[o>>2]=n,(X2(r,101209,o)|0)>0)&&(u[i>>3]=+u[n>>3]),g=l}function Xd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=g,g=g+16|0,o=c+8|0,l=c,i=j0(96)|0,a=r+16|0,e[(e[a>>2]|0)+8>>2]=i,i=he(r,101213)|0,i?A=3:(i=Ha(101222)|0,i|0&&(A=3)),(A|0)==3&&Hr0(101234,i|0,1)|0,i=(qd0(r)|0)&255,y[(e[a>>2]|0)+115>>0]=i,i=he(r,101245)|0,e[47133]=i,!(i|0)&&(e[47133]=e[47132]),n=+sr(r,re(r,0,101255,0)|0,0,0),u[e[(e[a>>2]|0)+8>>2]>>3]=n,i=he(r,101263)|0;e:do if(!i)i=0;else{switch(y[i>>0]|0){case 76:{if(!(ge(i,101271)|0)){i=1;break e}break}case 66:{if(!(ge(i,101274)|0)){i=2;break e}break}case 82:{i=(ge(i,101277)|0)==0,i=i?3:0;break e}default:{i=0;break e}}i=0}while(0);e[(e[a>>2]|0)+116>>2]=i<<2|(t<<24>>24?i:0),n=+sr(r,re(r,0,101280,0)|0,.25,.02),u[l>>3]=n,n=n*72,e[(e[a>>2]|0)+248>>2]=~~(n+(n>=0?.5:-.5)),i=wt(r,re(r,0,101288,0)|0,0)|0,i?(e[o>>2]=l,X2(i,101209,o)|0?(n=+u[l>>3],n<.02&&(u[l>>3]=.02,n=.02)):(u[l>>3]=.5,n=.5),s8(i,101296)|0&&(y[(e[a>>2]|0)+276>>0]=1)):(u[l>>3]=.5,n=.5),n=n*72,e[(e[a>>2]|0)+252>>2]=~~(n+(n>=0?.5:-.5)),l=(pr(r,re(r,0,101304,0)|0,0,0)|0)&255,y[(e[a>>2]|0)+243>>0]=l,l=_C(wt(r,re(r,0,101314,0)|0,0)|0,20676,20692)|0,e[(e[a>>2]|0)+244>>2]=l,$d0(r),l=yN(r,101324,(e[(e[a>>2]|0)+8>>2]|0)+64|0)|0,i=e[(e[a>>2]|0)+8>>2]|0,y[i+80>>0]=l,yN(r,101329,i+48|0)|0,i=jt(he(r,101334)|0)|0,y[(e[(e[a>>2]|0)+8>>2]|0)+82>>0]=i,i=he(r,101341)|0;do if(i)i=(F1(i)|0)==90&1,A=27;else{if(i=he(r,101348)|0,i|0){i=(y[i>>0]|32)<<24>>24==108&1,A=27;break}i=he(r,101360)|0,i|0&&(i=jt(i)|0,A=27)}while(0);(A|0)==27&&(y[(e[(e[a>>2]|0)+8>>2]|0)+81>>0]=i),e[47135]=_C(he(r,101370)|0,20708,20724)|0,y[194954]=jt(he(r,101382)|0)|0,e[47138]=0,e[47139]=0,u[(e[(e[a>>2]|0)+8>>2]|0)+24>>3]=0,i=he(r,101394)|0,i|0&&y[i>>0]|0?A=32:A=30,(A|0)==30&&(s=he(r,101398)|0,s|0)&&y[s>>0]|0&&(i=s,A=32),(A|0)==32&&(n=+Fl(i),u[(e[(e[a>>2]|0)+8>>2]|0)+24>>3]=n),Zh(r),u[23295]=1e37,e[47140]=re(r,0,101409,0)|0,e[47143]=re(r,0,141034,0)|0,e[47144]=re(r,0,105496,0)|0,e[47145]=re(r,1,141048,0)|0,e[47146]=re(r,1,141116,0)|0,e[47147]=re(r,1,108230,0)|0,e[47148]=re(r,1,140823,0)|0,e[47149]=re(r,1,101418,0)|0,e[47157]=re(r,1,141082,0)|0,e[47150]=re(r,1,101428,0)|0,e[47151]=re(r,1,101437,0)|0,e[47152]=re(r,1,101446,0)|0,A=re(r,1,108224,0)|0,e[47154]=A,A||(e[47154]=re(r,1,108224,105493)|0),e[47155]=re(r,1,101456,0)|0,e[47158]=re(r,1,101304,0)|0,e[47172]=re(r,1,101463,0)|0,e[47161]=re(r,1,101409,0)|0,e[47153]=re(r,1,105496,0)|0,e[47159]=re(r,1,141076,0)|0,e[47160]=re(r,1,101472,0)|0,e[47163]=re(r,1,101484,0)|0,e[47162]=re(r,1,101348,0)|0,e[47164]=re(r,1,101489,0)|0,e[47165]=re(r,1,141024,0)|0,e[47166]=re(r,1,137297,0)|0,e[47156]=re(r,1,101500,0)|0,e[47167]=re(r,1,101510,0)|0,e[47168]=re(r,1,101516,0)|0,e[47169]=re(r,1,101522,0)|0,e[47170]=re(r,1,101530,0)|0,e[47171]=re(r,1,101539,0)|0,e[47173]=re(r,1,141034,0)|0,e[47174]=re(r,2,101541,0)|0,e[47176]=re(r,2,140823,0)|0,e[47177]=re(r,2,101418,0)|0,e[47179]=re(r,2,101428,0)|0,e[47180]=re(r,2,101437,0)|0,e[47181]=re(r,2,101446,0)|0,e[47182]=re(r,2,108224,0)|0,e[47183]=re(r,2,101456,0)|0,e[47192]=re(r,2,101548,0)|0,e[47184]=re(r,2,101559,0)|0,e[47195]=re(r,2,101563,0)|0,e[47196]=re(r,2,101573,0)|0,e[47197]=re(r,2,101583,0)|0,e[47198]=re(r,2,101593,0)|0,e[47199]=re(r,2,101603,0)|0,e[47200]=re(r,2,101617,0)|0,e[47201]=re(r,2,101631,0)|0,e[47202]=re(r,2,101646,0)|0,e[47203]=re(r,2,101660,0)|0,e[47175]=re(r,2,101671,0)|0,e[47187]=re(r,2,101304,0)|0,e[47185]=re(r,2,141082,0)|0,e[47186]=re(r,2,101678,0)|0,e[47188]=re(r,2,101687,0)|0,e[47189]=re(r,2,101697,0)|0,e[47190]=re(r,2,101510,0)|0,e[47191]=re(r,2,101522,0)|0,e[47204]=re(r,2,101708,0)|0,e[47205]=re(r,2,101717,0)|0,e[47206]=re(r,2,101463,0)|0,i=Bc0(r)|0,e[(e[(e[a>>2]|0)+8>>2]|0)+88>>2]=i,i=he(r,141060)|0,i|0&&y[i>>0]|0&&(r=st(i,r)|0,e[(e[(e[a>>2]|0)+8>>2]|0)+92>>2]=r),g=c}function qd0(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=i,r=F2(r,re(r,0,101807,0)|0,101815)|0,De(r,101821)|0&&De(r,101829)|0&&De(r,101836)|0&&De(r,101839)|0&&De(r,101850)|0&&De(r,101861)|0&&De(r,101871)|0?De(r,101882)|0&&De(r,101888)|0?(De(r,101815)|0&&De(r,101893)|0&&(e[t>>2]=r,$0(0,101898,t)|0),r=0):r=2:r=1,g=i,r|0}function $d0(r){r=r|0;var t=0,i=0,n=0;i=he(r,101765)|0;e:do if(i|0&&(n=y[i>>0]|0,n<<24>>24))switch(n<<24>>24|0){case 97:{if(n<<24>>24!=97||ge(i,101771)|0)break e;e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]=4;break e}case 99:{if(n<<24>>24!=99||ge(i,101776)|0)break e;e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]=3;break e}case 101:{if(n<<24>>24!=101||ge(i,101785)|0)break e;e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]=5;break e}case 102:{if(n<<24>>24!=102||ge(i,101792)|0)break e;e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]=2;break e}default:{if(t=+Fl(i),!(t>0))break e;r=e[(e[r+16>>2]|0)+8>>2]|0,e[r+84>>2]=1,u[r+16>>3]=t;break e}}while(0)}function yN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;w=g,g=g+48|0,a=w+32|0,l=w+16|0,A=w+8|0,s=w,c=w+40|0,y[c>>0]=0,r=he(r,t)|0;do if(r){if(e[l>>2]=A,e[l+4>>2]=s,e[l+8>>2]=c,l=(X2(r,101749,l)|0)>1,o=+u[A>>3],n=+u[s>>3],l&o>0&n>0){o=o*72,u[i>>3]=+(~~(o+(o>=0?.5:-.5))|0),o=n*72,u[i+8>>3]=+(~~(o+(o>=0?.5:-.5))|0),r=(y[c>>0]|0)==33;break}y[c>>0]=0,e[a>>2]=A,e[a+4>>2]=c,a=(X2(r,101759,a)|0)>0,n=+u[A>>3],a&n>0?(o=n*72,o=+(~~(o+(o>=0?.5:-.5))|0),u[i>>3]=o,u[i+8>>3]=o,r=(y[c>>0]|0)==33):r=0}else r=0;while(0);return g=w,r&1|0}function Zh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;t=he(r,108224)|0;do if(t|0&&y[t>>0]|0){i=(e[(e[r+60>>2]|0)+16>>2]|0)+113|0,y[i>>0]=y[i>>0]|8,i=(Rl(t)|0)!=0,o=+sr(r,re(r,0,101428,0)|0,14,1),l=F2(r,re(r,0,101437,0)|0,107994)|0,t=LA(r,t,i?2:0,o,l,F2(r,re(r,0,101446,0)|0,137314)|0)|0,l=r+16|0,e[(e[l>>2]|0)+12>>2]=t,t=he(r,105628)|0,i=(t|0)!=0;do if((a2(r)|0)==(r|0)){if(i&&(y[t>>0]|0)==116){t=1;break}t=0}else{if(i&&(y[t>>0]|0)==98){t=0;break}t=1}while(0);i=he(r,101726)|0;e:do if(i)switch(y[i>>0]|0){case 108:{t=t|2;break e}case 114:{t=t|4;break e}default:break e}while(0);if(y[(e[l>>2]|0)+275>>0]=t,(a2(r)|0)!=(r|0))if(t=e[(e[l>>2]|0)+12>>2]|0,n=+u[t+24>>3]+16,o=+u[t+32>>3]+8,r=(e[(e[(a2(r)|0)+16>>2]|0)+116>>2]&1|0)==0,t=e[l>>2]|0,i=y[t+275>>0]<<1&2,r){r=i&255,u[t+48+(r<<4)>>3]=n,u[t+48+(r<<4)+8>>3]=o;break}else{r=(i^3)&255,u[t+48+(r<<4)>>3]=o,u[t+48+(r<<4)+8>>3]=n;break}}while(0)}function Kd0(r){r=r|0;var t=0,i=0,n=0;n=r+16|0,i=e[n>>2]|0,t=e[i+8>>2]|0;do if(!t)t=i;else{if(i=e[t+88>>2]|0,i&&(WD(i),i=e[n>>2]|0,t=e[i+8>>2]|0,!t)){t=i;break}r0(e[t+92>>2]|0),t=e[n>>2]|0}while(0);r0(e[t+8>>2]|0),n=e[n>>2]|0,e[n+8>>2]=0,fn(e[n+12>>2]|0),wf(r,0,137483)}function bd0(r){r=r|0;var t=0,i=0;switch(i=g,g=g+16|0,t=i,r|0){case 0:{r=101971;break}case 1:{r=101839;break}case 2:{r=101977;break}default:e[t>>2]=r,$0(1,101941,t)|0,r=101971}return g=i,r|0}function CN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(n=e[t>>2]|0,c=t+24|0,e[c>>2]=0,e[c+4>>2]=0,e[c+8>>2]=0,e[c+12>>2]=0,y[n>>0]|0){s=_0((d2(n)|0)+1|0)|0,y[s>>0]=0,A=t+12|0,i=s;e:for(;;){r:for(;;){if(l=n+1|0,o=y[n>>0]|0,!(o<<24>>24))break e;if(!(o<<24>>24==-1|((o&255)<161|(e[A>>2]|0)!=2)))if(y[i>>0]=o,l=y[l>>0]|0,o=i+2|0,y[i+1>>0]=l,l<<24>>24){i=o,n=n+2|0;continue}else{i=o;break e}switch(o<<24>>24){case 92:break r;case 10:{a=12;break r}default:}y[i>>0]=o,i=i+1|0,n=l}if((a|0)==12){a=0,n=i+1|0,y[i>>0]=0,rC(r,t,s,110),i=n,s=n,n=l;continue}switch(o=y[l>>0]|0,o<<24>>24|0){case 114:case 108:case 110:{o=i+1|0,y[i>>0]=0,rC(r,t,s,y[l>>0]|0),i=o;break}default:y[i>>0]=o,i=i+1|0,o=s}s=o,n=y[l>>0]|0?n+2|0:l}(s|0)!=(i|0)&&(y[i>>0]=0,rC(r,t,s,110)),t=t+40|0,e[t>>2]=e[c>>2],e[t+4>>2]=e[c+4>>2],e[t+8>>2]=e[c+8>>2],e[t+12>>2]=e[c+12>>2]}}function rC(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;m=g,g=g+32|0,p=m+16|0,w=m,v=t+76|0,s=$[v>>1]|0,c=t+72|0,A=e[c>>2]|0,A?a=iC(A,s+2|0,56,s+1|0)|0:a=j0((s*56|0)+112|0)|0,e[c>>2]=a,s=$[v>>1]|0,A=a+(s*56|0)|0,e[A>>2]=i,y[a+(s*56|0)+48>>0]=n,i|0&&y[i>>0]|0?(e[46594]=e[t+4>>2],u[23299]=+u[t+16>>3],n=e[r+144>>2]|0,e[a+(s*56|0)+4>>2]=oe[e[n>>2]&63](n,186376,1)|0,xC(w,r,A),l=+u[w>>3],u[p>>3]=l,o=+u[w+8>>3]):(u[p>>3]=0,o=+(~~(+u[t+16>>3]*1.2)|0),u[a+(s*56|0)+40>>3]=o,l=0),$[v>>1]=($[v>>1]|0)+1<<16>>16,v=t+24|0,u[v>>3]=+u[(+u[v>>3]>l?v:p)>>3],v=t+32|0,u[v>>3]=+u[v>>3]+o,g=m}function LA(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;switch(B=g,g=g+32|0,v=B+16|0,p=B+8|0,w=B,E=j0(88)|0,qo(r)|0){case 0:{A=0,m=e[r+60>>2]|0,a=r,c=0;break}case 1:{A=0,m=a2(We(r)|0)|0,a=0,c=r;break}case 2:{A=r,m=a2(We(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0)|0,a=0,c=0;break}default:A=0,m=0,a=0,c=0}e[E+4>>2]=o,e[E+8>>2]=l,u[E+16>>3]=n,s=m+16|0,l=E+12|0,e[l>>2]=s0[(e[s>>2]|0)+115>>0];e:do if(i&4)e[E>>2]=C2(t)|0,i&2|0&&(y[E+82>>0]=1);else switch(i|0){case 2:{if(e[E>>2]=C2(t)|0,y[E+82>>0]=1,!(gn0(r,E)|0))break e;switch(qo(r)|0){case 0:{e[w>>2]=te(a)|0,$0(3,101983,w)|0;break e}case 1:{e[p>>2]=te(c)|0,$0(3,102005,p)|0;break e}case 2:{w=te(e[((e[A>>2]&3|0)==3?A:A+48|0)+40>>2]|0)|0,p=(d1(m)|0)!=0,m=te(e[((e[A>>2]&3|0)==2?A:A+-48|0)+40>>2]|0)|0,e[v>>2]=w,e[v+4>>2]=p?137738:141747,e[v+8>>2]=m,$0(3,102026,v)|0;break e}default:break e}}case 0:{o=EN(t,r,0)|0,e[E>>2]=o,(e[l>>2]|0)==1?o=Ph(o)|0:o=WC(o,m)|0,r0(e[E>>2]|0),e[E>>2]=o,CN(e[(e[s>>2]|0)+144>>2]|0,E);break e}default:H0(102053,102069,166,102078)}while(0);return g=B,E|0}function EN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;switch(qo(t)|0){case 0:{s=te(t)|0,o=d2(s)|0,n=e[(e[t+16>>2]|0)+12>>2]|0,n?(n=e[n>>2]|0,r?(L=0,z=2,_=2,x=2,l=2,N=102101,w=102098,A=105493,v=195059,E=195059,m=0,B=0,p=d2(n)|0,G=n,W=102095):(L=0,z=2,_=2,x=2,l=2,N=102101,w=102098,A=105493,v=195059,E=195059,m=0,B=0,p=2,G=n,W=102095)):(L=0,z=2,_=2,x=2,l=2,N=102101,w=102098,A=105493,v=195059,E=195059,m=0,B=0,p=2,G=102089,W=102095);break}case 1:{s=te(We(t)|0)|0,o=d2(s)|0,A=te(t)|0,l=d2(A)|0,n=e[(e[t+16>>2]|0)+104>>2]|0,n?(n=e[n>>2]|0,r?(L=0,z=2,_=2,x=2,N=102101,w=102098,v=195059,E=195059,m=0,B=0,p=d2(n)|0,G=n,W=102095):(L=0,z=2,_=2,x=2,N=102101,w=102098,v=195059,E=195059,m=0,B=0,p=2,G=n,W=102095)):(L=0,z=2,_=2,x=2,N=102101,w=102098,v=195059,E=195059,m=0,B=0,p=2,G=102089,W=102095);break}case 2:{l=t+48|0,s=te(a2(We(e[((e[t>>2]&3|0)==3?t:l)+40>>2]|0)|0)|0)|0,o=d2(s)|0,c=te(e[((e[t>>2]&3|0)==3?t:l)+40>>2]|0)|0,a=d2(c)|0,n=t+16|0,E=e[(e[n>>2]|0)+52>>2]|0,E?B=d2(E)|0:B=0,w=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,n=e[n>>2]|0,v=e[n+92>>2]|0,v?m=d2(v)|0:m=0,A=d2(w)|0,n=e[n+96>>2]|0,n?(n=e[n>>2]|0,r?p=d2(n)|0:p=2):(p=2,n=102089),W=(d1(a2(We(e[((e[t>>2]&3|0)==3?t:l)+40>>2]|0)|0)|0)|0)==0,L=1,z=a,_=A,x=a+2+(B|0?B+1|0:0)+A+(m|0?m+1|0:0)|0,l=2,N=c,A=105493,G=n,W=W?141747:137738;break}default:L=0,z=2,_=2,x=2,l=2,o=2,N=102101,w=102098,A=105493,s=102092,v=195059,E=195059,m=0,B=0,p=2,G=102089,W=102095}i=(i|0)==0,c=0,n=r;e:for(;;){t=n+1|0;r:do switch(y[n>>0]|0){case 0:break e;case 92:{switch(n=n+2|0,y[t>>0]|0){case 78:{a=l;break r}case 71:{a=o;break r}case 69:{a=x;break r}case 72:{a=_;break r}case 84:{a=z;break r}case 76:{a=p;break r}case 92:{if(!i){a=1;break r}break}default:}a=2;break}default:a=1,n=t}while(0);c=c+a|0}x=_0(c+1|0)|0,p=(L|0)==0,c=(B|0)==0,t=(m|0)==0,n=x,o=r;e:for(;;){switch(a=o+1|0,l=y[o>>0]|0,l<<24>>24){case 0:break e;case 92:break;default:{y[n>>0]=l,n=n+1|0,o=a;continue e}}switch(l=o+2|0,o=y[a>>0]|0,o<<24>>24|0){case 71:for(o=s;;){if(r=y[o>>0]|0,y[n>>0]=r,!(r<<24>>24)){o=l;continue e}o=o+1|0,n=n+1|0}case 78:for(o=A;;){if(r=y[o>>0]|0,y[n>>0]=r,!(r<<24>>24)){o=l;continue e}o=o+1|0,n=n+1|0}case 69:{if(p){o=l;continue e}else o=N;for(;r=y[o>>0]|0,y[n>>0]=r,!!(r<<24>>24);)o=o+1|0,n=n+1|0;if(c)o=W;else for(y[n>>0]=58,o=E;;)if(n=n+1|0,r=y[o>>0]|0,y[n>>0]=r,r<<24>>24)o=o+1|0;else{o=W;break}for(;;){if(r=y[o>>0]|0,y[n>>0]=r,!(r<<24>>24)){o=w;break}o=o+1|0,n=n+1|0}for(;r=y[o>>0]|0,y[n>>0]=r,!!(r<<24>>24);)o=o+1|0,n=n+1|0;if(t){o=l;continue e}for(y[n>>0]=58,o=v;;)if(n=n+1|0,r=y[o>>0]|0,y[n>>0]=r,r<<24>>24)o=o+1|0;else{o=l;continue e}}case 84:for(o=N;;){if(r=y[o>>0]|0,y[n>>0]=r,!(r<<24>>24)){o=l;continue e}o=o+1|0,n=n+1|0}case 72:for(o=w;;){if(r=y[o>>0]|0,y[n>>0]=r,!(r<<24>>24)){o=l;continue e}n=n+1|0,o=o+1|0}case 76:for(o=G;;){if(r=y[o>>0]|0,y[n>>0]=r,!(r<<24>>24)){o=l;continue e}n=n+1|0,o=o+1|0}case 92:{if(!i){y[n>>0]=92,n=n+1|0,o=l;continue e}break}default:}y[n>>0]=92,y[n+1>>0]=o,n=n+2|0,o=l}return y[n>>0]=0,x|0}function BN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;if(r|0){for(i=r,n=0;!((n|0)>=(t|0));)n||r0(e[i>>2]|0),l=e[i+8>>2]|0,l|0&&(o=e[i+12>>2]|0,o|0)&&l2[o&127](l),i=i+56|0,n=n+1|0;r0(r)}}function fn(r){r=r|0;var t=0;r|0&&(r0(e[r>>2]|0),t=r+72|0,y[r+82>>0]|0?(t=e[t>>2]|0,t|0&&Yy(t,1)):BN(e[t>>2]|0,$[r+76>>1]|0),r0(r))}function Ef(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;if(B=g,g=g+32|0,p=B+16|0,v=B,s=e[r+16>>2]|0,m=s+12|0,E=e[m>>2]|0,e[m>>2]=t,y[i+82>>0]|0)tn0(r,e[i+72>>2]|0,i),o=18;else if(w=i+76|0,($[w>>1]|0)>=1){switch(GR(r,0),Z2(r,e[i+8>>2]|0),y[i+80>>0]|0){case 116:{l=+u[i+64>>3],n=+u[i+48>>3]*.5+l;break}case 98:{l=+u[i+64>>3],n=+u[i+48>>3]*-.5+l+ +u[i+32>>3];break}default:l=+u[i+64>>3],n=+u[i+32>>3]*.5+l}for(n=n-+u[i+16>>3],c=v+8|0,u[c>>3]=n,$[s+260>>1]&512&&(u[c>>3]=n-l),A=i+72|0,a=i+56|0,o=i+40|0,t=0;!((t|0)>=($[w>>1]|0));){switch(s=e[A>>2]|0,y[s+(t*56|0)+48>>0]|0){case 108:{n=+u[a>>3]-+u[o>>3]*.5;break}case 114:{n=+u[o>>3]*.5+ +u[a>>3];break}default:n=+u[a>>3]}u[v>>3]=n,e[p>>2]=e[v>>2],e[p+4>>2]=e[v+4>>2],e[p+8>>2]=e[v+8>>2],e[p+12>>2]=e[v+12>>2],Ny(r,p,s+(t*56|0)|0),u[c>>3]=+u[c>>3]-+u[(e[A>>2]|0)+(t*56|0)+40>>3],t=t+1|0}ZR(r),o=18}(o|0)==18&&(e[m>>2]=E),g=B}function st(r,t){return r=r|0,t=t|0,EN(r,t,1)|0}function bt(r){return r=r|0,tC(r,0)|0}function tC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(i=e[47207]|0,i||(e[47208]=64,i=_0(64)|0,e[47207]=i),A=t<<24>>24==0,s=0,n=0,l=r;!(!l||(t=y[l>>0]|0,!(t<<24>>24)));){r=e[47208]|0,(s|0)>(r+-8|0)&&(i=r<<1,e[47208]=i,i=Oe(e[47207]|0,i)|0,e[47207]=i,i=i+s|0,t=y[l>>0]|0);e:do switch(t<<24>>24){case 38:{A&&IN(l)|0?a=18:(n=5,t=102130);break}case 60:{n=4,t=102153;break}case 62:{n=4,t=102136;break}case 45:{n=5,t=102147;break}default:{if((n|0)!=0&t<<24>>24==32)if((y[n>>0]|0)==32){n=6,t=102123;break e}else{a=18;break e}switch(t<<24>>24){case 34:{n=6,t=102116;break e}case 39:{n=5,t=102141;break e}case 10:if(A){a=18;break e}else{n=5,t=102110;break e}default:{a=18;break e}}}}while(0);for((a|0)==18&&(a=0,t=A|t<<24>>24!=13,n=t?1:5,t=t?l:102104),o=i+n|0,r=n;r;)y[i>>0]=y[t>>0]|0,r=r+-1|0,t=t+1|0,i=i+1|0;r=l,s=n+s|0,i=o,l=l+1|0,n=r}return y[i>>0]=0,e[47207]|0}function IN(r){r=r|0;var t=0,i=0;i=r+1|0,t=y[i>>0]|0;e:do if(t<<24>>24==35){switch(i=r+2|0,t=y[i>>0]|0,t<<24>>24){case 88:case 120:break;default:for(r=i;;){if(i=r+1|0,(t+-48&255)>=10)break e;r=i,t=y[i>>0]|0}}for(i=r+3|0;;){if(t=y[i>>0]|0,(t+-48&255)>=10)switch(t<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break e}i=i+1|0}}else for(;;){if(r=i+1|0,((t&-33)+-65&255)>=26)break e;i=r,t=y[r>>0]|0}while(0);return t<<24>>24==59|0}function xN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(t=e[47209]|0,t||(e[47210]=64,t=_0(64)|0,e[47209]=t),s=0;!(!r||(i=y[r>>0]|0,!(i<<24>>24)));){switch(n=e[47210]|0,(s|0)>(n+-8|0)&&(t=n<<1,e[47210]=t,t=Oe(e[47209]|0,t)|0,e[47209]=t,t=t+s|0,i=y[r>>0]|0),i<<24>>24){case 38:{IN(r)|0?A=12:(o=5,i=102130);break}case 60:{o=4,i=102153;break}case 62:{o=4,i=102136;break}case 34:{o=6,i=102116;break}case 39:{o=5,i=102141;break}default:A=12}for((A|0)==12&&(A=0,o=1,i=r),l=t+o|0,n=o;n;)y[t>>0]=y[i>>0]|0,n=n+-1|0,i=i+1|0,t=t+1|0;s=o+s|0,t=l,r=r+1|0}return y[t>>0]=0,e[47209]|0}function j0(r){r=r|0;var t=0;return r?(t=_0(r)|0,Ur(t|0,0,r|0)|0,r=t):r=0,r|0}function _0(r){return r=r|0,r?(r=Te(r)|0,r||(cn(111740,14,1,e[15712]|0)|0,r=0)):r=0,r|0}function iC(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=O2(r,N0(i,t)|0)|0,(t|0)!=0&(r|0)==0?cn(111740,14,1,e[15712]|0)|0:t>>>0>n>>>0&&Ur(r+(N0(n,i)|0)|0,0,N0(t-n|0,i)|0)|0,r|0}function Oe(r,t){return r=r|0,t=t|0,r=O2(r,t)|0,(t|0)!=0&(r|0)==0&&cn(111740,14,1,e[15712]|0)|0,r|0}function SN(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;B=g,g=g+80|0,v=B+40|0,p=B+32|0,w=B+24|0,c=B,m=4,E=Te(40)|0,e[E>>2]=0,o=B+68|0,l=B+64|0,A=6;do if((A|0)==6)if(v0=0,o=gt(27,r|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,E|0,m|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)!=1){if(!o&&(v0=0,aA(2),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)){o=b,A=15;break}if((i|0)<1){if(v0=0,aA(3),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;break}o=0;break}else{if(e[47211]=(n|0)>-1?n:30,E=il(188848,1,E|0,m|0)|0,m=b,v0=0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;break}o=0,A=15;break}}else o=b,A=15;while(0);e:do if((A|0)==15){r:for(;;){if(o|0){o=2;break e}if(v0=0,aA(4),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue}for(r=e[15712]|0,c=0;;){if(v0=0,A=aR(2)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}if(!A)break;if(v0=0,o=gt(28,A|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,E|0,m|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)==1){o=b,A=15;continue r}if(v0=0,On(25,A|0,o|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}c=c+1|0;do if(((c|0)%100|0|0)==0&!1){if(o=(c|0)%1e3|0,(o|0)==100){if(v0=0,nt(93,102202,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}if(v0=0,e[w>>2]=c,Yt(32,r|0,102220,w|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}break}if(v0=0,e[p>>2]=c,Yt(32,r|0,102220,p|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,E|0,m|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)==1){o=b,A=15;continue r}if(!o&&(v0=0,nt(94,10,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)){o=b,A=15;continue r}}while(0);if((c|0)>=(i|0))break}switch(t|0){case 1:{if(v0=0,aA(5),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}break}case 2:{if(v0=0,aA(6),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}break}default:{if(v0=0,aA(7),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}if(v0=0,aA(3),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}}}o=0;break e}o=0}while(0);return r0(E|0),g=B,o|0}function ep0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(r=(e[r+16>>2]|0)+192|0,n=0,s=0;r=e[r>>2]|0,!!r;){for(l=e[r+16>>2]|0,o=e[l+180>>2]|0,r=0;e[o+(r<<2)>>2]|0;)r=r+1|0,n=n+1|0;r=l+164|0,s=s+1|0}e[t>>2]=s,e[i>>2]=n}function rp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(e[47254]=r,e[47261]=0,e[47252]=0,e[47251]=0,l=r+16|0,r=(e[l>>2]|0)+192|0,o=0,i=0;r=e[r>>2]|0,!!r;){for(n=e[r+16>>2]|0,y[n+157>>0]=0,o=o+1|0,e[47251]=o,t=e[n+180>>2]|0,r=0;e[t+(r<<2)>>2]|0;)A=i+1|0,e[47252]=A,r=r+1|0,i=A;r=n+164|0}for(r=e[47262]|0,r?r=Oe(r,o<<2)|0:r=_0(o<<2)|0,e[47262]=r,e[47263]=0,r=e[47256]|0,r?r=Oe(r,e[47251]<<2)|0:r=_0(e[47251]<<2)|0,e[47256]=r,e[47255]=0,t=1,r=(e[l>>2]|0)+192|0;r=e[r>>2]|0,!!r;){for(A=r+16|0,l=e[A>>2]|0,s=l+292|0,e[s>>2]=0,l=e[l+172>>2]|0,o=t,n=0,r=0;t=e[l+(n<<2)>>2]|0,!!t;)i=r+1|0,e[s>>2]=i,r=e[t+16>>2]|0,e[r+160>>2]=0,e[r+164>>2]=-1,o?(a=e[t>>2]&3,r=((e[(e[(e[((a|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((a|0)==3?t:t+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0)<(M0[r+170>>1]|0|0)?0:o):r=0,o=r,n=n+1|0,r=i;r=j0((n<<2)+4|0)|0,t=e[A>>2]|0,e[t+264>>2]=r,e[t+268>>2]=0,t=e[t+180>>2]|0,r=0;do a=r,r=r+1|0;while(e[t+(a<<2)>>2]|0);t=j0(r<<2)|0,r=e[A>>2]|0,e[r+272>>2]=t,e[r+276>>2]=0,t=o,r=r+164|0}return t|0}function tp0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(p=g,g=g+16|0,w=p+8|0,a=p,c=SQ(e[47251]|0)|0,r=(e[(e[47254]|0)+16>>2]|0)+192|0;;){if(t=e[r>>2]|0,!t){A=0;break}i=t+16|0,r=e[i>>2]|0,e[r+292>>2]|0||(Th(c,t),r=e[i>>2]|0),r=r+164|0}for(;r=SC(c)|0,!!r;){for(s=r+16|0,r=e[s>>2]|0,n=r+232|0,e[n>>2]=0,i=e[r+172>>2]|0,t=0,l=0;;){if(o=e[i+(t<<2)>>2]|0,!o){n=0;break}o=(e[(e[(e[((e[o>>2]&3|0)==3?o:o+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)+(M0[(e[o+16>>2]|0)+170>>1]|0)|0,o=(l|0)>(o|0)?l:o,e[n>>2]=o,t=t+1|0,l=o}for(;t=e[(e[r+180>>2]|0)+(n<<2)>>2]|0,!!t;)i=t+-48|0,o=(e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0)+292|0,l=e[o>>2]|0,e[o>>2]=l+-1,(l|0)<2&&(Th(c,e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0),r=e[s>>2]|0),n=n+1|0;A=A+1|0}e:do if((A|0)!=(e[47251]|0))for($0(1,102556,a)|0,r=(e[(e[47254]|0)+16>>2]|0)+192|0;;){if(t=e[r>>2]|0,!t)break e;i=t+16|0,r=e[i>>2]|0,e[r+292>>2]|0&&(a=te(t)|0,r=e[(e[i>>2]|0)+292>>2]|0,e[w>>2]=a,e[w+4>>2]=r,$0(3,102578,w)|0,r=e[i>>2]|0),r=r+164|0}while(0);_Q(c),g=p}function _N(){var r=0,t=0,i=0;for(r=(e[(e[47254]|0)+16>>2]|0)+192|0;r=e[r>>2]|0,!!r;)i=r+16|0,r=e[i>>2]|0,t=e[r+264>>2]|0,t&&(r0(t),r=e[i>>2]|0),t=e[r+272>>2]|0,t&&(r0(t),r=e[i>>2]|0),y[r+157>>0]=0,r=r+164|0}function ip0(){var r=0,t=0,i=0,n=0,o=0;for(r=(e[(e[47254]|0)+16>>2]|0)+192|0;r=e[r>>2]|0,!!r;)r=e[r+16>>2]|0,e[r+280>>2]=0,r=r+164|0;for(o=j0(e[47251]<<2)|0,n=0,r=(e[(e[47254]|0)+16>>2]|0)+192|0;t=e[r>>2]|0,!!t;)i=t+16|0,r=e[i>>2]|0,e[r+280>>2]|0?t=n:(e[o+(n<<2)>>2]=up0(t)|0,t=n+1|0,r=e[i>>2]|0),n=t,r=r+164|0;for(r=fp0(o,n)|0;!((ap0(r)|0)<=1);)lC(r,e[(wp0(hp0(cp0(r)|0)|0)|0)+8>>2]|0);for(r0(r),r=0;!((r|0)>=(n|0));)r0(e[o+(r<<2)>>2]|0),r=r+1|0;if(r0(o),(e[47255]|0)==((e[47251]|0)+-1|0)){dp0();return}else H0(102301,102331,523,102336)}function np0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(A=e[47261]|0,o=e[47255]|0,a=e[47256]|0,c=e[47211]|0,t=0,r=0,l=A;;){if((l|0)>=(o|0)){s=8;break}if(n=e[a+(l<<2)>>2]|0,i=e[(e[n+16>>2]|0)+160>>2]|0,(i|0)<0&&(r?r=(e[(e[r+16>>2]|0)+160>>2]|0)>(i|0)?n:r:r=n,t=t+1|0,(t|0)>=(c|0)))break;n=l+1|0,e[47261]=n,l=n}if((s|0)==8&&(A|0)>0){for(o=0;!((o|0)>=(A|0)||(i=e[a+(o<<2)>>2]|0,n=e[(e[i+16>>2]|0)+160>>2]|0,(n|0)<0&&(r?r=(e[(e[r+16>>2]|0)+160>>2]|0)>(n|0)?i:r:r=i,t=t+1|0,(t|0)>=(c|0))));)o=o+1|0;e[47261]=o}return r|0}function zN(r){r=r|0;var t=0,i=0;return t=e[r>>2]&3,i=e[((t|0)==3?r:r+48|0)+40>>2]|0,r=e[((t|0)==2?r:r+-48|0)+40>>2]|0,t=(e[(e[i+16>>2]|0)+288>>2]|0)<(e[(e[r+16>>2]|0)+288>>2]|0),r=t?i:r,e[47257]=0,e[47258]=2147483647,i=e[r+16>>2]|0,e[47259]=e[i+284>>2],e[47260]=e[i+288>>2],t?oC(r):nC(r),e[47257]|0}function op0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+16|0,w=p,o=e[t>>2]&3,c=t+-48|0,A=t+48|0,a=t+16|0,o=(e[(e[(e[((o|0)==2?t:c)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((o|0)==3?t:A)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[a>>2]|0)+170>>1]|0)|0;do if((o|0)>0){if(i=e[r>>2]&3,l=e[((i|0)==3?r:r+48|0)+40>>2]|0,s=e[l+16>>2]|0,((e[s+276>>2]|0)+(e[s+268>>2]|0)|0)==1){RA(l,o);break}if(i=e[((i|0)==2?r:r+-48|0)+40>>2]|0,n=e[i+16>>2]|0,((e[n+276>>2]|0)+(e[n+268>>2]|0)|0)==1){RA(i,0-o|0);break}if((e[s+288>>2]|0)<(e[n+288>>2]|0)){RA(l,o);break}else{RA(i,0-o|0);break}}while(0);if(i=r+16|0,n=e[(e[i>>2]|0)+160>>2]|0,o=e[t>>2]&3,o=RN(e[((o|0)==3?t:A)+40>>2]|0,e[((o|0)==2?t:c)+40>>2]|0,n,1)|0,s=e[t>>2]&3,(RN(e[((s|0)==2?t:c)+40>>2]|0,e[((s|0)==3?t:A)+40>>2]|0,n,0)|0)==(o|0)){e[(e[a>>2]|0)+160>>2]=0-n,e[(e[i>>2]|0)+160>>2]=0,Ap0(r,t),w=e[o+16>>2]|0,pp(o,e[w+280>>2]|0,e[w+284>>2]|0)|0,g=p;return}else $0(1,102262,w)|0,ie(188848,1)}function lp0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(LN(),c=j0((e[47253]<<2)+4|0)|0,t=e[47253]|0,r=0;!((r|0)>(t|0));)e[c+(r<<2)>>2]=0,r=r+1|0;for(r=(e[(e[47254]|0)+16>>2]|0)+192|0,t=r;t=e[t>>2]|0,!!t;)t=e[t+16>>2]|0,y[t+156>>0]|0||(a=c+(e[t+232>>2]<<2)|0,e[a>>2]=(e[a>>2]|0)+1),t=t+164|0;for(;r=e[r>>2]|0,!!r;){if(a=r+16|0,r=e[a>>2]|0,!(y[r+156>>0]|0)){for(o=e[47253]|0,i=e[r+172>>2]|0,A=0,s=0,t=0;n=e[i+(t<<2)>>2]|0,!!n;)w=e[n+16>>2]|0,l=(e[(e[(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)+(M0[w+170>>1]|0)|0,A=(e[w+156>>2]|0)+A|0,s=(s|0)>(l|0)?s:l,t=t+1|0;for(n=e[r+180>>2]|0,l=0,t=0;i=e[n+(t<<2)>>2]|0,!!i;)p=e[i+16>>2]|0,w=(e[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[p+170>>1]|0)|0,l=(e[p+156>>2]|0)+l|0,o=(o|0)<(w|0)?o:w,t=t+1|0;if(t=(s|0)>0?s:0,(A|0)==(l|0)){for(n=t,i=t;t=i+1|0,!((i|0)>=(o|0));)n=(e[c+(t<<2)>>2]|0)<(e[c+(n<<2)>>2]|0)?t:n,i=t;p=r+232|0,w=c+(e[p>>2]<<2)|0,e[w>>2]=(e[w>>2]|0)+-1,w=c+(n<<2)|0,e[w>>2]=(e[w>>2]|0)+1,e[p>>2]=n}t=e[r+264>>2]|0,t&&(r0(t),r=e[a>>2]|0),t=e[r+272>>2]|0,t&&(r0(t),r=e[a>>2]|0),y[r+157>>0]=0}r=r+164|0}r0(c)}function sp0(){var r=0,t=0,i=0,n=0,o=0,l=0;for(t=0;!((t|0)>=(e[47255]|0));){r=e[(e[47256]|0)+(t<<2)>>2]|0;do if(!(e[(e[r+16>>2]|0)+160>>2]|0)&&(i=zN(r)|0,i|0)&&(n=e[i>>2]&3,n=(e[(e[(e[((n|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((n|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[i+16>>2]|0)+170>>1]|0)|0,(n|0)>=2))if(l=e[r>>2]&3,o=e[((l|0)==3?r:r+48|0)+40>>2]|0,r=e[((l|0)==2?r:r+-48|0)+40>>2]|0,(e[(e[o+16>>2]|0)+288>>2]|0)<(e[(e[r+16>>2]|0)+288>>2]|0)){RA(o,n>>>1);break}else{RA(r,(n|0)/-2|0);break}while(0);t=t+1|0}_N()}function LN(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=g,g=g+16|0,l=s,e[l>>2]=0,e[l>>2]=2147483647,e[47253]=-2147483647,r=(e[(e[47254]|0)+16>>2]|0)+192|0,i=r,o=2147483647,n=-2147483647;t=e[i>>2]|0,!!t;)i=e[t+16>>2]|0,y[i+156>>0]|0?t=o:(A=e[i+232>>2]|0,t=(o|0)<(A|0)?o:A,e[l>>2]=t,n=(n|0)>(A|0)?n:A,e[47253]=n),i=i+164|0,o=t;if(o|0){for(;r=e[r>>2]|0,!!r;)r=e[r+16>>2]|0,A=r+232|0,e[A>>2]=(e[A>>2]|0)-o,r=r+164|0;e[47253]=n-o,e[l>>2]=0}g=s}function RA(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=r+16|0,r=e[o>>2]|0,n=r+232|0,e[n>>2]=(e[n>>2]|0)-t,n=0;;){if(i=e[(e[r+272>>2]|0)+(n<<2)>>2]|0,!i){n=0;break}(i|0)!=(e[r+280>>2]|0)&&(RA(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0,t),r=e[o>>2]|0),n=n+1|0}for(;i=e[(e[r+264>>2]|0)+(n<<2)>>2]|0,!!i;)(i|0)!=(e[r+280>>2]|0)&&(RA(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0,t),r=e[o>>2]|0),n=n+1|0}function RN(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;for(l=(n|0)==0&1,s=0-i|0,o=e[(e[t+16>>2]|0)+288>>2]|0,t=r;r=e[t+16>>2]|0,!((e[r+284>>2]|0)<=(o|0)&&(o|0)<=(e[r+288>>2]|0));)r=e[r+280>>2]|0,A=r+48|0,a=(e[r+16>>2]|0)+160|0,e[a>>2]=(((t|0)==(e[((e[r>>2]&3|0)==3?r:A)+40>>2]|0)?n:l)|0?i:s)+(e[a>>2]|0),a=e[r>>2]&3,A=e[((a|0)==3?r:A)+40>>2]|0,r=e[((a|0)==2?r:r+-48|0)+40>>2]|0,t=(e[(e[A+16>>2]|0)+288>>2]|0)>(e[(e[r+16>>2]|0)+288>>2]|0)?A:r;return t|0}function Ap0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(A=r+16|0,n=(e[A>>2]|0)+164|0,e[(e[t+16>>2]|0)+164>>2]=e[n>>2],e[(e[47256]|0)+(e[n>>2]<<2)>>2]=t,e[(e[A>>2]|0)+164>>2]=-1,A=(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16|0,n=e[A>>2]|0,l=n+276|0,o=e[l>>2]|0,a=o+-1|0,e[l>>2]=a,l=n+272|0,s=0;;){if((s|0)>=(o|0)){c=3;break}if(i=e[l>>2]|0,(e[i+(s<<2)>>2]|0)==(r|0))break;s=s+1|0}for((c|0)==3&&(i=e[n+272>>2]|0),e[i+(s<<2)>>2]=e[i+(a<<2)>>2],e[(e[(e[A>>2]|0)+272>>2]|0)+(a<<2)>>2]=0,A=(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16|0,n=e[A>>2]|0,l=n+268|0,o=e[l>>2]|0,a=o+-1|0,e[l>>2]=a,l=n+264|0,s=0;;){if((s|0)>=(o|0)){c=8;break}if(i=e[l>>2]|0,(e[i+(s<<2)>>2]|0)==(r|0))break;s=s+1|0}(c|0)==8&&(i=e[n+264>>2]|0),e[i+(s<<2)>>2]=e[i+(a<<2)>>2],e[(e[(e[A>>2]|0)+264>>2]|0)+(a<<2)>>2]=0,c=(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)+16|0,r=e[c>>2]|0,a=e[r+272>>2]|0,r=r+276|0,A=e[r>>2]|0,e[r>>2]=A+1,e[a+(A<<2)>>2]=t,c=e[c>>2]|0,e[(e[c+272>>2]|0)+(e[c+276>>2]<<2)>>2]=0,c=(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)+16|0,A=e[c>>2]|0,a=e[A+264>>2]|0,A=A+268|0,r=e[A>>2]|0,e[A>>2]=r+1,e[a+(r<<2)>>2]=t,c=e[c>>2]|0,e[(e[c+264>>2]|0)+(e[c+268>>2]<<2)>>2]=0}function pp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(l=r+16|0,r=e[l>>2]|0,e[r+280>>2]=t,e[r+284>>2]=i,o=0;;){if(n=e[(e[r+272>>2]|0)+(o<<2)>>2]|0,!n){o=0;break}(n|0)!=(t|0)&&(i=pp(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,n,i)|0,r=e[l>>2]|0),o=o+1|0}for(;n=e[(e[r+264>>2]|0)+(o<<2)>>2]|0,!!n;)(n|0)!=(t|0)&&(i=pp(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0,n,i)|0,r=e[l>>2]|0),o=o+1|0;return e[r+288>>2]=i,i+1|0}function nC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=r+16|0,o=0;;){if(r=e[s>>2]|0,i=e[(e[r+180>>2]|0)+(o<<2)>>2]|0,!i){i=0;break}n=e[i+16>>2]|0,(e[n+164>>2]|0)<0?(r=e[i>>2]&3,t=e[(e[((r|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0,A=e[t+288>>2]|0,(e[47259]|0)>(A|0)|(A|0)>(e[47260]|0)&&(l=(e[t+232>>2]|0)-(e[(e[(e[((r|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[n+170>>1]|0)|0,(l|0)<(e[47258]|0)|(e[47257]|0)==0)&&(e[47257]=i,e[47258]=l)):(t=e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0,(e[(e[t+16>>2]|0)+288>>2]|0)<(e[r+288>>2]|0)&&nC(t)),o=o+1|0}for(;t=e[(e[r+264>>2]|0)+(i<<2)>>2]|0,!!((t|0)!=0&(e[47258]|0)>0);)t=e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0,(e[(e[t+16>>2]|0)+288>>2]|0)<(e[r+288>>2]|0)&&(nC(t),r=e[s>>2]|0),i=i+1|0}function oC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=r+16|0,o=0;;){if(r=e[s>>2]|0,i=e[(e[r+172>>2]|0)+(o<<2)>>2]|0,!i){i=0;break}n=e[i+16>>2]|0,(e[n+164>>2]|0)<0?(r=e[i>>2]&3,t=e[(e[((r|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0,A=e[t+288>>2]|0,(e[47259]|0)>(A|0)|(A|0)>(e[47260]|0)&&(l=(e[(e[(e[((r|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[t+232>>2]|0)-(M0[n+170>>1]|0)|0,(l|0)<(e[47258]|0)|(e[47257]|0)==0)&&(e[47257]=i,e[47258]=l)):(t=e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0,(e[(e[t+16>>2]|0)+288>>2]|0)<(e[r+288>>2]|0)&&oC(t)),o=o+1|0}for(;t=e[(e[r+272>>2]|0)+(i<<2)>>2]|0,!!((t|0)!=0&(e[47258]|0)>0);)t=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,(e[(e[t+16>>2]|0)+288>>2]|0)<(e[r+288>>2]|0)&&(oC(t),r=e[s>>2]|0),i=i+1|0}function up0(r){r=r|0;var t=0;return t=j0(16)|0,e[t>>2]=r,e[t+4>>2]=fC(r,t)|0,e[t+12>>2]=t,t|0}function fp0(r,t){r=r|0,t=t|0;var i=0,n=0;for(n=j0(8)|0,e[n>>2]=r,e[n+4>>2]=t,i=0;!((i|0)>=(t|0));)e[(e[r+(i<<2)>>2]|0)+8>>2]=i,i=i+1|0;for(i=(t|0)/2|0;!((i|0)<=-1);)lC(n,i),i=i+-1|0;return n|0}function ap0(r){return r=r|0,e[r+4>>2]|0}function cp0(r){r=r|0;var t=0,i=0,n=0,o=0;return o=e[r>>2]|0,t=e[o>>2]|0,e[t+8>>2]=-1,i=r+4|0,n=(e[i>>2]|0)+-1|0,e[o>>2]=e[o+(n<<2)>>2],o=e[r>>2]|0,e[(e[o>>2]|0)+8>>2]=0,e[o+(n<<2)>>2]=t,e[i>>2]=n,lC(r,0),t|0}function hp0(r){return r=r|0,uC(e[r>>2]|0,0,0)|0}function wp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return t=r+16|0,(e[(e[t>>2]|0)+164>>2]|0)>-1&&H0(102350,102331,463,102364),o=r+48|0,i=Wh(e[((e[r>>2]&3|0)==3?r:o)+40>>2]|0)|0,s=r+-48|0,n=Wh(e[((e[r>>2]&3|0)==2?r:s)+40>>2]|0)|0,l=e[r>>2]&3,t=(e[(e[(e[((l|0)==2?r:s)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((l|0)==3?r:o)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[t>>2]|0)+170>>1]|0)|0,(e[i+8>>2]|0)==-1?kp(e[i>>2]|0,0,t):kp(e[n>>2]|0,0,0-t|0),AC(r),kp0(i,n)|0}function lC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(s=e[r>>2]|0,l=e[r+4>>2]|0;r=t<<1,o=r+2|0,r=r|1,(r|0)<(l|0)&&(e[(e[s+(r<<2)>>2]|0)+4>>2]|0)<(e[(e[s+(t<<2)>>2]|0)+4>>2]|0)||(r=t),!((o|0)>=(l|0)||(i=s+(o<<2)|0,n=e[i>>2]|0,(o|0)==(t|0)||(e[n+4>>2]|0)>=(e[(e[s+(r<<2)>>2]|0)+4>>2]|0)));)A=s+(t<<2)|0,r=e[A>>2]|0,e[A>>2]=n,e[i>>2]=r,e[(e[A>>2]|0)+8>>2]=t,e[r+8>>2]=o,t=o}function dp0(){pp(e[(e[(e[47254]|0)+16>>2]|0)+192>>2]|0,0,1)|0,sC(e[(e[(e[47254]|0)+16>>2]|0)+192>>2]|0,0)}function sC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=r+16|0,i=0;;){if(r=e[o>>2]|0,n=e[(e[r+272>>2]|0)+(i<<2)>>2]|0,!n){n=0;break}(n|0)!=(t|0)&&sC(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,n),i=i+1|0}for(;i=e[(e[r+264>>2]|0)+(n<<2)>>2]|0,!!i;)(i|0)!=(t|0)&&(sC(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0,i),r=e[o>>2]|0),n=n+1|0;t|0&&pp0(t)}function pp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(t=e[r>>2]&3,i=e[((t|0)==3?r:r+48|0)+40>>2]|0,n=e[i+16>>2]|0,(e[n+280>>2]|0)==(r|0)?A=1:(n=e[((t|0)==2?r:r+-48|0)+40>>2]|0,A=-1,i=n,n=e[n+16>>2]|0),l=e[n+180>>2]|0,t=0,o=0;s=e[l+(o<<2)>>2]|0,!!s;)t=(GN(s,i,A)|0)+t|0,o=o+1|0;for(l=e[n+172>>2]|0,n=0;o=e[l+(n<<2)>>2]|0,!!o;)t=(GN(o,i,A)|0)+t|0,n=n+1|0;e[(e[r+16>>2]|0)+160>>2]=t}function GN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;return s=e[r>>2]&3,A=(s|0)==3?r:r+48|0,n=e[A+40>>2]|0,(n|0)==(t|0)&&(n=e[((s|0)==2?r:r+-48|0)+40>>2]|0),l=e[t+16>>2]|0,o=e[(e[n+16>>2]|0)+288>>2]|0,(e[l+284>>2]|0)<=(o|0)&&(o|0)<=(e[l+288>>2]|0)?(o=e[r+16>>2]|0,(e[o+164>>2]|0)>-1?n=e[o+160>>2]|0:n=0,l=1,n=n-(e[o+156>>2]|0)|0):(l=0,n=e[(e[r+16>>2]|0)+156>>2]|0),A=(e[((i|0)>0?(s|0)==2?r:r+-48|0:A)+40>>2]|0)==(t|0)?1:-1,(((l?A:0-A|0)|0)<0?0-n|0:n)|0}function Wh(r){r=r|0;var t=0,i=0;for(r=e[(e[r+16>>2]|0)+280>>2]|0;t=r+12|0,i=e[t>>2]|0,!!((i|0)!=(r|0)&(i|0)!=0);){if(r=e[i+12>>2]|0,!r){r=i;continue}e[t>>2]=r}return r|0}function kp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(s=r+16|0,n=e[s>>2]|0,l=n+232|0,e[l>>2]=(e[l>>2]|0)+i,l=0;;){if(o=e[(e[n+264>>2]|0)+(l<<2)>>2]|0,!o){l=0;break}o=e[((e[o>>2]&3|0)==3?o:o+48|0)+40>>2]|0,(o|0)!=(t|0)&&(kp(o,r,i),n=e[s>>2]|0),l=l+1|0}for(;o=e[(e[n+272>>2]|0)+(l<<2)>>2]|0,!!o;)o=e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0,(o|0)!=(t|0)&&(kp(o,r,i),n=e[s>>2]|0),l=l+1|0}function AC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(l=g,g=g+32|0,t=(e[r+16>>2]|0)+164|0,(e[t>>2]|0)>-1&&($0(1,102453,l)|0,ie(188848,1)),o=e[47255]|0,e[t>>2]=o,t=e[47256]|0,e[47255]=o+1,e[t+(o<<2)>>2]=r,t=e[r>>2]|0,o=r+48|0,i=e[((t&3|0)==3?r:o)+40>>2]|0,y[(e[i+16>>2]|0)+157>>0]|0||(n=e[47262]|0,t=e[47263]|0,e[47263]=t+1,e[n+(t<<2)>>2]=i,t=e[r>>2]|0),n=r+-48|0,i=e[((t&3|0)==2?r:n)+40>>2]|0,y[(e[i+16>>2]|0)+157>>0]|0||(s=e[47262]|0,t=e[47263]|0,e[47263]=t+1,e[s+(t<<2)>>2]=i,t=e[r>>2]|0),s=(e[((t&3|0)==3?r:o)+40>>2]|0)+16|0,t=e[s>>2]|0,y[t+157>>0]=1,i=e[t+272>>2]|0,t=t+276|0,o=e[t>>2]|0,e[t>>2]=o+1,e[i+(o<<2)>>2]=r,o=e[s>>2]|0,e[(e[o+272>>2]|0)+(e[o+276>>2]<<2)>>2]=0,s=e[s>>2]|0,e[(e[s+180>>2]|0)+((e[s+276>>2]|0)+-1<<2)>>2]|0||($0(1,102487,l+8|0)|0,ie(188848,1)),s=(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16|0,i=e[s>>2]|0,y[i+157>>0]=1,n=e[i+264>>2]|0,i=i+268|0,o=e[i>>2]|0,e[i>>2]=o+1,e[n+(o<<2)>>2]=r,r=e[s>>2]|0,e[(e[r+264>>2]|0)+(e[r+268>>2]<<2)>>2]=0,s=e[s>>2]|0,!(e[(e[s+172>>2]|0)+((e[s+268>>2]|0)+-1<<2)>>2]|0))$0(1,102522,l+16|0)|0,ie(188848,1);else{g=l;return}}function kp0(r,t){r=r|0,t=t|0;for(var i=0,n=0,o=0,l=0,s=0,A=0,a=0;l=r+12|0,i=e[l>>2]|0,!((i|0)==0|(i|0)==(r|0));)r=i;for(;o=t+12|0,i=e[o>>2]|0,!((i|0)==0|(i|0)==(t|0));)t=i;if((r|0)!=(t|0)){n=e[r+8>>2]|0,i=e[t+8>>2]|0;do if((n|0)>-1)(i|0)==-1?s=r:a=10;else if((i|0)>-1)if((n|0)==-1){s=t;break}else{a=10;break}else H0(102376,102331,327,102423);while(0);(a|0)==10&&(s=(e[t+4>>2]|0)<(e[r+4>>2]|0)?r:t),e[o>>2]=s,e[l>>2]=s,e[s+4>>2]=(e[t+4>>2]|0)+(e[r+4>>2]|0),(e[s+8>>2]|0)>-1?A=s:H0(102434,102331,335,102423)}else A=r;return A|0}function uC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;c=Wh(r)|0,i?(a=e[i>>2]&3,((e[(e[(e[((a|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((a|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0)!=(M0[(e[i+16>>2]|0)+170>>1]|0|0)&&(n=3)):(i=0,n=3);e:do if((n|0)==3){for(a=r+16|0,A=0;;){if(n=e[a>>2]|0,s=e[(e[n+180>>2]|0)+(A<<2)>>2]|0,!s){A=0;break}n=s+16|0,o=s+-48|0,l=e[((e[s>>2]&3|0)==2?s:o)+40>>2]|0;do if((e[(e[n>>2]|0)+164>>2]|0)>-1)(l|0)!=(t|0)&&(i=uC(l,r,i)|0);else if((Wh(l)|0)!=(c|0)){if(i|0&&(w=e[s>>2]&3,l=e[i>>2]&3,((e[(e[(e[((w|0)==2?s:o)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((w|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[n>>2]|0)+170>>1]|0)|0)>=((e[(e[(e[((l|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((l|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[i+16>>2]|0)+170>>1]|0)|0)))break;i=s}while(0);A=A+1|0}for(;;){if(n=e[(e[n+172>>2]|0)+(A<<2)>>2]|0,!n)break e;o=n+16|0,l=n+48|0,s=e[((e[n>>2]&3|0)==3?n:l)+40>>2]|0;do if((e[(e[o>>2]|0)+164>>2]|0)>-1)(s|0)!=(t|0)&&(i=uC(s,r,i)|0);else if((Wh(s)|0)!=(c|0)){if(i|0&&(s=e[n>>2]&3,w=e[i>>2]&3,((e[(e[(e[((s|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((s|0)==3?n:l)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[o>>2]|0)+170>>1]|0)|0)>=((e[(e[(e[((w|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((w|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[i+16>>2]|0)+170>>1]|0)|0)))break;i=n}while(0);A=A+1|0,n=e[a>>2]|0}}while(0);return i|0}function fC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(c=r+16|0,i=e[c>>2]|0,e[i+280>>2]=t,r=1,l=0;;){if(o=e[(e[i+172>>2]|0)+(l<<2)>>2]|0,!o){l=0;break}n=e[o+16>>2]|0,(e[n+164>>2]|0)<=-1&&(s=e[o>>2]&3,A=o+48|0,a=e[(e[((s|0)==3?o:A)+40>>2]|0)+16>>2]|0,(e[a+280>>2]|0)==0)&&((e[(e[(e[((s|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[a+232>>2]|0)|0)==(M0[n+170>>1]|0|0)&&(AC(o),r=(fC(e[((e[o>>2]&3|0)==3?o:A)+40>>2]|0,t)|0)+r|0,i=e[c>>2]|0),l=l+1|0}for(;n=e[(e[i+180>>2]|0)+(l<<2)>>2]|0,!!n;)o=e[n+16>>2]|0,(e[o+164>>2]|0)<=-1&&(w=e[n>>2]&3,p=n+-48|0,v=e[(e[((w|0)==2?n:p)+40>>2]|0)+16>>2]|0,(e[v+280>>2]|0)==0)&&((e[v+232>>2]|0)-(e[(e[(e[((w|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0)==(M0[o+170>>1]|0|0)&&(AC(n),r=(fC(e[((e[n>>2]&3|0)==2?n:p)+40>>2]|0,t)|0)+r|0,i=e[c>>2]|0),l=l+1|0;return r|0}function Bf(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=he(r,102586)|0,n?n=F1(n)|0:n=30,SN(r,t,i,n)|0}function vp0(r){return r=+r,+r}function ZN(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(m=g,g=g+16|0,v=m,e[47264]=e[(e[(e[t+64>>2]|0)+8>>2]|0)+4>>2],WN(t),l=e[t+16>>2]|0,B=+u[l+32>>3],E=+u[l+40>>3],If(i,102597,+u[r+352>>3]),If(i,102604,B*.013888888888888888),If(i,102604,E*.013888888888888888),aC(i),l=U0(t)|0;l;)o=l+16|0,y[(e[o>>2]|0)+118>>0]|0||(vo(i,102606,nc(te(l)|0)|0),p=(e[o>>2]|0)+16|0,e[v>>2]=e[p>>2],e[v+4>>2]=e[p+4>>2],e[v+8>>2]=e[p+8>>2],e[v+12>>2]=e[p+12>>2],cC(i,v),y[(e[(e[o>>2]|0)+104>>2]|0)+82>>0]|0?r=nc(k2(l,e[47154]|0)|0)|0:(r=We(l)|0,r=hC(r,e[e[(e[o>>2]|0)+104>>2]>>2]|0)|0),If(i,102604,+u[(e[o>>2]|0)+32>>3]),If(i,102604,+u[(e[o>>2]|0)+40>>3]),vo(i,102604,r),vo(i,102604,F2(l,e[47157]|0,111067)|0),vo(i,102604,e[e[(e[o>>2]|0)+8>>2]>>2]|0),vo(i,102604,F2(l,e[47148]|0,137314)|0),r=F2(l,e[47149]|0,195059)|0,y[r>>0]|0||(r=F2(l,e[47148]|0,134800)|0),vo(i,102604,r),aC(i)),l=X0(t,l)|0;for(w=n<<24>>24==0,c=U0(t)|0;c;){for(a=Me(t,c)|0;a;){w?(n=195059,s=195059):(s=he(a,111455)|0,n=he(a,111464)|0,n=n|0?n:195059,s=s|0?s:195059),p=a+16|0,r=e[p>>2]|0,A=e[r+8>>2]|0;e:do if(A){for(l=e[A+4>>2]|0,r=0,o=0;!((r|0)>=(l|0));)x=(e[(e[A>>2]|0)+(r*48|0)+4>>2]|0)+o|0,r=r+1|0,o=x;for(vo(i,0,111450),DN(i,e[((e[a>>2]&3|0)==3?a:a+48|0)+40>>2]|0,s),DN(i,e[((e[a>>2]&3|0)==2?a:a+-48|0)+40>>2]|0,n),mp0(i,o),n=0;;){if(r=e[p>>2]|0,o=e[r+8>>2]|0,(n|0)>=(e[o+4>>2]|0))break e;for(l=e[o>>2]|0,o=e[l+(n*48|0)>>2]|0,l=e[l+(n*48|0)+4>>2]|0,r=0;!((r|0)>=(l|0));)x=o+(r<<4)|0,e[v>>2]=e[x>>2],e[v+4>>2]=e[x+4>>2],e[v+8>>2]=e[x+8>>2],e[v+12>>2]=e[x+12>>2],cC(i,v),r=r+1|0;n=n+1|0}}while(0);e[r+96>>2]|0&&(x=We(e[((e[a>>2]&3|0)==3?a:a+48|0)+40>>2]|0)|0,vo(i,102604,hC(x,e[e[(e[p>>2]|0)+96>>2]>>2]|0)|0),x=(e[(e[p>>2]|0)+96>>2]|0)+56|0,e[v>>2]=e[x>>2],e[v+4>>2]=e[x+4>>2],e[v+8>>2]=e[x+8>>2],e[v+12>>2]=e[x+12>>2],cC(i,v)),vo(i,102604,F2(a,e[47185]|0,111067)|0),vo(i,102604,F2(a,e[47176]|0,137314)|0),aC(i),a=Qe(t,a)|0}c=X0(t,c)|0}xf(102612,i),g=m}function WN(r){r=r|0;var t=0}function If(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0;l=g,g=g+1040|0,o=l,n=l+8|0,t|0&&xf(t,r),u[o>>3]=i,Ke(n,102618,o)|0,xf(n,r),g=l}function aC(r){r=r|0,y[194955]=10,ke[e[47264]&127](r,194955)|0}function vo(r,t,i){r=r|0,t=t|0,i=i|0,t|0&&xf(t,r),xf(i,r)}function cC(r,t){r=r|0,t=t|0;var i=0;If(r,102604,+u[t>>3]*.013888888888888888),i=+u[t+8>>3],If(r,102604,i*.013888888888888888)}function hC(r,t){r=r|0,t=t|0;var i=0;return i=un(r,t)|0,t=nc(i)|0,Ai(r,i)|0,t|0}function DN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;y[(e[t+16>>2]|0)+118>>0]|0?(n=We(t)|0,t=hC(n,(Zr(te(t)|0,58)|0)+1|0)|0):t=nc(te(t)|0)|0,vo(r,102604,t),i|0&&y[i>>0]|0&&vo(r,107984,nc(i)|0)}function mp0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=g,g=g+1040|0,o=i,n=i+8|0,xf(102604,r),e[o>>2]=t,Ke(n,137395,o)|0,xf(n,r),g=i}function xf(r,t){r=r|0,t=t|0,ke[e[47264]&127](t,r)|0}function MN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0;for(O0=g,g=g+2288|0,F0=O0+208|0,Z0=O0+192|0,V0=O0+176|0,J0=O0+160|0,D0=O0+144|0,B0=O0+128|0,f0=O0+112|0,H=O0+96|0,Y=O0+80|0,t0=O0+64|0,q=O0+56|0,F=O0+48|0,b0=O0+32|0,k0=O0+24|0,J=O0,D=O0+1264|0,P=O0+224|0,U=r+16|0,N=(M0[(e[U>>2]|0)+178>>1]|0)>2,zA(1),WN(r),Ot(P,1024,O0+240|0),Lt(r,1,102623,195059)|0,Lt(r,1,102627,195059)|0,e[47146]=Lt(r,1,141116,195059)|0,e[47145]=Lt(r,1,141048,195059)|0,Lt(r,2,102623,195059)|0,n=y[(e[U>>2]|0)+113>>0]|0,n&16&&(Lt(r,1,102633,195059)|0,n=y[(e[U>>2]|0)+113>>0]|0),n&1&&(Lt(r,2,102637,195059)|0,n=y[(e[U>>2]|0)+113>>0]|0),n&32&&(Lt(r,2,102633,195059)|0,n=y[(e[U>>2]|0)+113>>0]|0),n&2&&(Lt(r,2,102640,195059)|0,n=y[(e[U>>2]|0)+113>>0]|0),n&4&&(Lt(r,2,102648,195059)|0,n=y[(e[U>>2]|0)+113>>0]|0),n&8?(z=Lt(r,0,102637,195059)|0,x=Lt(r,0,102656,195059)|0,B=Lt(r,0,102663,195059)|0):(B=0,x=0,z=0),L=Lt(r,0,102671,195059)|0,G=P+4|0,W=P+8|0,E=0,n=0,_=U0(r)|0;_;){if(m=_+16|0,l=e[m>>2]|0,a=+u[l+16>>3],o=!0,N){for(o?s=+u[l+24>>3]:s=+u[23301]-+u[l+24>>3],w=+u[(e[l+132>>2]|0)+16>>3]*72,u[J>>3]=a,u[J+8>>3]=s,u[J+16>>3]=w,Ke(D,102674,J)|0,t2(P,D)|0,o=3;!((o|0)>=(M0[(e[U>>2]|0)+178>>1]|0));)u[k0>>3]=+u[(e[(e[m>>2]|0)+132>>2]|0)+(o<<3)>>3]*72,Ke(D,102689,k0)|0,t2(P,D)|0,o=o+1|0;o=e[G>>2]|0,o>>>0>=(e[W>>2]|0)>>>0&&(Xe(P,1)|0,o=e[G>>2]|0),y[o>>0]=0,v=e[P>>2]|0,e[G>>2]=v,h1(_,102623,v)|0,v=_}else o?s=+u[l+24>>3]:s=+u[23301]-+u[l+24>>3],u[b0>>3]=a,u[b0+8>>3]=s,Ke(D,102695,b0)|0,h1(_,102623,D)|0,v=_;if(u[F>>3]=+u[(e[m>>2]|0)+80>>3]*.013888888888888888,Ke(D,102618,F)|0,Er(v,e[47145]|0,D)|0,o=e[m>>2]|0,u[q>>3]=(+u[o+96>>3]+ +u[o+88>>3])*.013888888888888888,Ke(D,102618,q)|0,Er(v,e[47146]|0,D)|0,o=e[m>>2]|0,l=e[o+108>>2]|0,l|0&&y[l+81>>0]|0&&(w=+u[l+64>>3],w=w,u[t0>>3]=+u[l+56>>3],u[t0+8>>3]=w,Ke(D,102695,t0)|0,h1(v,102633,D)|0,o=e[m>>2]|0),ge(e[e[o+8>>2]>>2]|0,106220)|0){if(e[47170]|0&&(ek0(_)|0)<<24>>24){for(l=e[(e[m>>2]|0)+12>>2]|0,p=l+8|0,o=e[p>>2]|0,(o|0)<3&&(o=he(v,102705)|0,o?o=F1(o)|0:o=8,o=(o|0)<3?8:o),c=l+44|0,w=1/+(o|0),A=0;!((A|0)>=(o|0));)(A|0)>0&&(l=e[G>>2]|0,l>>>0>=(e[W>>2]|0)>>>0&&(Xe(P,1)|0,l=e[G>>2]|0),e[G>>2]=l+1,y[l>>0]=32),(e[p>>2]|0)>2?(l=e[c>>2]|0,s=+u[l+(A<<4)+8>>3]*.013888888888888888,u[Y>>3]=+u[l+(A<<4)>>3]*.013888888888888888,u[Y+8>>3]=s,Ke(D,102718,Y)|0):(l=e[m>>2]|0,s=w*+(A|0)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]=l+1,y[l>>0]=32,l=e[e[(e[v>>2]|0)+8>>2]>>2]|0):l=A,E=e[l+(p*48|0)>>2]|0,w=+u[E+(c<<4)+8>>3],w=w,u[D0>>3]=+u[E+(c<<4)>>3],u[D0+8>>3]=w,Ke(D,102695,D0)|0,t2(P,D)|0,c=c+1|0;p=p+1|0}l=e[G>>2]|0,l>>>0>=(e[W>>2]|0)>>>0&&(Xe(P,1)|0,l=e[G>>2]|0),y[l>>0]=0,l=e[P>>2]|0,e[G>>2]=l,h1(m,102623,l)|0,l=e[v>>2]|0,A=e[l+96>>2]|0,A&&(w=+u[A+64>>3],w=w,u[J0>>3]=+u[A+56>>3],u[J0+8>>3]=w,Ke(D,102695,J0)|0,h1(m,102637,D)|0,l=e[v>>2]|0),A=e[l+108>>2]|0;do if(A){if(!(y[A+81>>0]|0))break;w=+u[A+64>>3],w=w,u[V0>>3]=+u[A+56>>3],u[V0+8>>3]=w,Ke(D,102695,V0)|0,h1(m,102633,D)|0,l=e[v>>2]|0}while(0);if(A=e[l+100>>2]|0,A&&(w=+u[A+64>>3],w=w,u[Z0>>3]=+u[A+56>>3],u[Z0+8>>3]=w,Ke(D,102695,Z0)|0,h1(m,102640,D)|0,l=e[v>>2]|0),l=e[l+104>>2]|0,!l)break;w=+u[l+64>>3],w=w,u[F0>>3]=+u[l+56>>3],u[F0+8>>3]=w,Ke(D,102695,F0)|0,h1(m,102648,D)|0}while(0);m=Qe(r,m)|0}else o=E;while(0);E=o,_=X0(r,_)|0}NN(r,L,z,x,B),Vt(P),$[(e[U>>2]|0)+136>>1]&1&&TQ(r),e[t>>2]=n,e[i>>2]=E,zA(0),g=O0}function jN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(w=g,g=g+1056|0,a=w,A=w+32|0,c=t+48|0,e[c>>2]|0||(n=e[r+16>>2]|0,s=+u[n+16>>3],l=+u[n+24>>3],o=l+ +u[t+24>>3],l=l+ +u[t+40>>3],p=s+ +u[t+32>>3],u[a>>3]=s+ +u[t+16>>3],u[a+8>>3]=o,u[a+16>>3]=p,u[a+24>>3]=l,Ke(A,102779,a)|0,t2(i,A)|0),t=t+56|0,n=0;!((n|0)>=(e[c>>2]|0));)jN(r,e[(e[t>>2]|0)+(n<<2)>>2]|0,i),n=n+1|0;g=w}function NN(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(E=g,g=g+1088|0,w=E+56|0,v=E+48|0,p=E+32|0,s=E,c=E+64|0,m=r+16|0,l=e[m>>2]|0,A=+u[l+24>>3],a=+u[l+40>>3],B=+u[l+32>>3],u[s>>3]=+u[l+16>>3],u[s+8>>3]=A,u[s+16>>3]=B,u[s+24>>3]=a,Ke(c,102754,s)|0,Er(r,t,c)|0,l=e[(e[m>>2]|0)+12>>2]|0,l|0&&y[e[l>>2]>>0]|0&&(B=+u[l+64>>3],B=B,u[p>>3]=+u[l+56>>3],u[p+8>>3]=B,Ke(c,102695,p)|0,Er(r,i,c)|0,l=e[(e[m>>2]|0)+12>>2]|0,B=+u[l+32>>3],u[v>>3]=+u[l+24>>3]*.013888888888888888,Ke(c,102774,v)|0,Er(r,n,c)|0,u[w>>3]=B*.013888888888888888,Ke(c,102774,w)|0,Er(r,o,c)|0),l=1;s=e[m>>2]|0,!((l|0)>(e[s+180>>2]|0));)NN(e[(e[s+184>>2]|0)+(l<<2)>>2]|0,t,i,n,o),l=l+1|0;g=E}function QN(r){r=r|0;var t=0;t=g,g=g+16|0,MN(r,t,t+4|0),g=t}function yc(){return at(20740,e[4581]|0)|0}function gp0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function yp0(r,t,i,n){if(r=r|0,t=t|0,i=i|0,n=n|0,r=e[t>>2]|0,n=e[i>>2]|0,(r|0)<=(n|0))if((r|0)<(n|0))r=-1;else return t=e[t+4>>2]|0,i=e[i+4>>2]|0,((t|0)>(i|0)?1:((t|0)<(i|0))<<31>>31)|0;else r=1;return r|0}function Cc(r){r=r|0,Fr(r)|0}function TN(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],t=FN(n)|0,(oe[e[r>>2]&63](r,t,1)|0)!=(t|0)&&r0(t),g=i}function FN(r){r=r|0;var t=0,i=0,n=0;return t=j0(16)|0,n=r,i=e[n+4>>2]|0,r=t+8|0,e[r>>2]=e[n>>2],e[r+4>>2]=i,t|0}function GA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=g,g=g+16|0,o=n+8|0,l=n,e[l>>2]=t,e[l+4>>2]=i,e[o>>2]=e[l>>2],e[o+4>>2]=e[l+4>>2],t=FN(o)|0,(oe[e[r>>2]&63](r,t,1)|0)!=(t|0)&&r0(t),g=n}function Cp0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=g,g=g+16|0,n=i,l=t,o=e[l+4>>2]|0,t=n+8|0,e[t>>2]=e[l>>2],e[t+4>>2]=o,t=(oe[e[r>>2]&63](r,n,4)|0)!=0&1,g=i,t|0}function PN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o+8>>2]=t,e[o+12>>2]=i,i=(oe[e[r>>2]&63](r,o,4)|0)!=0&1,g=n,i|0}function YN(r){return r=r|0,sn(r)|0}function ON(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(i=j0((sn(r)|0)<<3)|0,t=i,r=Mt(r)|0;r;)l=r+8|0,o=e[l+4>>2]|0,n=t,e[n>>2]=e[l>>2],e[n+4>>2]=o,t=t+8|0,r=e[r>>2]|0;return i|0}function Ep0(){var r=0,t=0,i=0,n=0;r=_0(40)|0,t=r,i=20776,n=t+36|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));return e[r+36>>2]=0,at(r,e[4581]|0)|0}function Bp0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return i=i+36|0,r=e[i>>2]|0,r?e[i>>2]=e[r>>2]:r=_0(20)|0,o=t+8|0,n=e[o+4>>2]|0,i=r+8|0,e[i>>2]=e[o>>2],e[i+4>>2]=n,e[r+16>>2]=e[t+16>>2],r|0}function Ip0(r,t,i){r=r|0,t=t|0,i=i|0,i=i+36|0,e[t>>2]=e[i>>2],e[i>>2]=t}function xp0(r){r=r|0,oe[e[r>>2]&63](r,0,64)|0}function Sp0(r){r=r|0;var t=0,i=0;for(t=e[r+4>>2]|0,Fr(r)|0,r=e[t+36>>2]|0;r;)i=e[r>>2]|0,r0(r),r=i;r0(t)}function _p0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=g,g=g+32|0,l=o,e[l+8>>2]=t,e[l+12>>2]=i,e[l+16>>2]=n,n=e[(oe[e[r>>2]&63](r,l,1)|0)+16>>2]|0,g=o,n|0}function VN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(x=g,g=g+160|0,m=x+144|0,i=x+48|0,A=x+128|0,a=x+112|0,c=x+96|0,w=x+80|0,p=x+32|0,v=x+16|0,E=x,B=r+16|0,r=e[B>>2]|0,n=+u[r+16>>3],o=+u[r+24>>3],l=+u[r+32>>3],s=+u[r+40>>3],(t+-1|0)>>>0<2?(zs(A,n,s),e[m>>2]=e[A>>2],e[m+4>>2]=e[A+4>>2],e[m+8>>2]=e[A+8>>2],e[m+12>>2]=e[A+12>>2],p1(i,m),v=i+16|0,zs(a,l,o),e[m>>2]=e[a>>2],e[m+4>>2]=e[a+4>>2],e[m+8>>2]=e[a+8>>2],e[m+12>>2]=e[a+12>>2],p1(c,m),e[v>>2]=e[c>>2],e[v+4>>2]=e[c+4>>2],e[v+8>>2]=e[c+8>>2],e[v+12>>2]=e[c+12>>2]):(zs(w,n,o),e[m>>2]=e[w>>2],e[m+4>>2]=e[w+4>>2],e[m+8>>2]=e[w+8>>2],e[m+12>>2]=e[w+12>>2],p1(i,m),w=i+16|0,zs(p,l,s),e[m>>2]=e[p>>2],e[m+4>>2]=e[p+4>>2],e[m+8>>2]=e[p+8>>2],e[m+12>>2]=e[p+12>>2],p1(v,m),e[w>>2]=e[v>>2],e[w+4>>2]=e[v+4>>2],e[w+8>>2]=e[v+8>>2],e[w+12>>2]=e[v+12>>2]),r=(e[B>>2]|0)+16|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2],e[r+16>>2]=e[i+16>>2],e[r+20>>2]=e[i+20>>2],e[r+24>>2]=e[i+24>>2],e[r+28>>2]=e[i+28>>2],r=e[(e[B>>2]|0)+12>>2]|0,r&&(r=r+56|0,e[m>>2]=e[r>>2],e[m+4>>2]=e[r+4>>2],e[m+8>>2]=e[r+8>>2],e[m+12>>2]=e[r+12>>2],p1(E,m),e[r>>2]=e[E>>2],e[r+4>>2]=e[E+4>>2],e[r+8>>2]=e[E+8>>2],e[r+12>>2]=e[E+12>>2]),r=1;i=e[B>>2]|0,!((r|0)>(e[i+180>>2]|0));)VN(e[(e[i+184>>2]|0)+(r<<2)>>2]|0,t),r=r+1|0;g=x}function zs(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function p1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;i=g,g=g+32|0,l=i+16|0,n=i,o=(e[47265]|0)*90|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],_s(n,l,o),e[t>>2]=e[n>>2],e[t+4>>2]=e[n+4>>2],e[t+8>>2]=e[n+8>>2],e[t+12>>2]=e[n+12>>2],u[t>>3]=+u[t>>3]-+u[23303],n=t+8|0,u[n>>3]=+u[n>>3]-+u[23304],e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2],g=i}function vp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;_=g,g=g+1168|0,E=_+144|0,z=_+96|0,x=_+64|0,B=_+48|0,w=_+32|0,p=_+16|0,v=_,e[B>>2]=0,e[B+4>>2]=0,e[B+8>>2]=0,e[B+12>>2]=0,m=r+16|0,a=e[(e[m>>2]|0)+116>>2]|0,e[47265]=a&3,a=a&1,y[194957]=a,a<<24>>24?HN(r):JN(r),zp0(r),a=e[m>>2]|0,i=e[a+12>>2]|0;do if(i|0&&!(y[i+81>>0]|0)){if(o=i+24|0,e[B>>2]=e[o>>2],e[B+4>>2]=e[o+4>>2],e[B+8>>2]=e[o+8>>2],e[B+12>>2]=e[o+12>>2],c=+u[B>>3]+16,u[B>>3]=c,o=B+8|0,n=+u[o>>3]+8,u[o>>3]=n,o=(y[a+275>>0]&1)!=0,y[194957]|0){if(o?(l=a+32|0,u[l>>3]=+u[l>>3]+n):(l=a+16|0,u[l>>3]=+u[l>>3]-n),o=a+40|0,n=+u[o>>3],l=a+24|0,s=+u[l>>3],A=n-s,!(c>A))break;c=(c-A)*.5,u[l>>3]=s-c,u[o>>3]=n+c;break}l=(e[47265]|0)==0;do if(o)if(l){l=a+40|0,u[l>>3]=+u[l>>3]+n;break}else{l=a+24|0,u[l>>3]=+u[l>>3]-n;break}else if(l){l=a+24|0,u[l>>3]=+u[l>>3]-n;break}else{l=a+40|0,u[l>>3]=+u[l>>3]+n;break}while(0);o=a+32|0,n=+u[o>>3],l=a+16|0,s=+u[l>>3],A=n-s,c>A&&(c=(c-A)*.5,u[l>>3]=s-c,u[o>>3]=n+c)}while(0);if(t){switch(e[47265]|0){case 0:{v=a+16|0,e[46606]=e[v>>2],e[46607]=e[v+4>>2],e[46608]=e[v+8>>2],e[46609]=e[v+12>>2];break}case 1:{zs(w,-+u[a+40>>3],+u[a+16>>3]),e[46606]=e[w>>2],e[46607]=e[w+4>>2],e[46608]=e[w+8>>2],e[46609]=e[w+12>>2];break}case 2:{zs(p,+u[a+16>>3],-+u[a+40>>3]),e[46606]=e[p>>2],e[46607]=e[p+4>>2],e[46608]=e[p+8>>2],e[46609]=e[p+12>>2];break}case 3:{zs(v,+u[a+24>>3],+u[a+16>>3]),e[46606]=e[v>>2],e[46607]=e[v+4>>2],e[46608]=e[v+8>>2],e[46609]=e[v+12>>2];break}default:}Lp0(r),i=e[(e[m>>2]|0)+12>>2]|0}i|0&&!(y[i+81>>0]|0)&&(e[E>>2]=e[B>>2],e[E+4>>2]=e[B+4>>2],e[E+8>>2]=e[B+8>>2],e[E+12>>2]=e[B+12>>2],Rp0(r,E)),g=_}function HN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=r+16|0,(a2(r)|0)!=(r|0)&&(o=e[s>>2]|0,l=e[o+12>>2]|0,(l|0)!=0)&&!(y[l+81>>0]|0)){t=y[o+275>>0]|0,t&1?(n=+u[o+32>>3]-+u[o+64>>3]*.5,r=o+72|0):(n=+u[o+16>>3]+ +u[o+96>>3]*.5,r=o+104|0),i=+u[r>>3],r=t<<24>>24;do if(r&4)i=+u[o+24>>3]+i*.5;else if(r&2){i=+u[o+40>>3]-i*.5;break}else{i=(+u[o+40>>3]+ +u[o+24>>3])*.5;break}while(0);u[l+56>>3]=n,u[l+64>>3]=i,y[(e[(e[s>>2]|0)+12>>2]|0)+81>>0]=1,r=1}else r=1;for(;t=e[s>>2]|0,!((r|0)>(e[t+180>>2]|0));)HN(e[(e[t+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0}function JN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(A=r+16|0,(a2(r)|0)!=(r|0)&&(l=e[A>>2]|0,s=e[l+12>>2]|0,(s|0)!=0)&&!(y[s+81>>0]|0)){t=y[l+275>>0]|0,t&1?(o=+u[l+40>>3]-+u[l+88>>3]*.5,r=l+80|0):(o=+u[l+24>>3]+ +u[l+56>>3]*.5,r=l+48|0),n=+u[r>>3],r=t<<24>>24;do if(r&4)i=+u[l+32>>3]-n*.5;else if(i=+u[l+16>>3],r&2){i=i+n*.5;break}else{i=(+u[l+32>>3]+i)*.5;break}while(0);u[s+56>>3]=i,u[s+64>>3]=o,y[(e[(e[A>>2]|0)+12>>2]|0)+81>>0]=1,r=1}else r=1;for(;t=e[A>>2]|0,!((r|0)>(e[t+180>>2]|0));)JN(e[(e[t+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0}function zp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0;if(Z0=g,g=g+544|0,H=Z0+504|0,V0=Z0+416|0,J0=Z0+376|0,Y=Z0+352|0,t0=Z0+312|0,q=Z0+288|0,F=Z0+248|0,f0=Z0+200|0,N=Z0+152|0,B0=Z0+96|0,w=Z0+488|0,T=Z0+456|0,D=Z0+424|0,P=Z0+384|0,U=Z0+360|0,J=Z0+320|0,z=Z0+296|0,_=Z0+256|0,L=Z0+232|0,G=Z0+168|0,W=Z0+136|0,t=Z0+56|0,k0=Z0+16|0,D0=Z0,c=r+16|0,B=e[c>>2]|0,i=$[B+136>>1]&14,B=s0[B+113>>0]|0,!(!(B&54|0)&&(B&1|0)==0|(e[47139]|0)!=0)){for(B=i<<16>>16==0,a=U0(r)|0,n=0,l=0,o=0;a;){i=e[(e[a+16>>2]|0)+108>>2]|0;do if(i)if(y[i+81>>0]|0){n=n+1|0;break}else{o=o+1|0;break}while(0);for(A=Me(r,a)|0,i=l;A;){s=e[A+16>>2]|0,l=e[s+108>>2]|0;do if(l){if(y[l+81>>0]|0){n=n+1|0;break}B||(i=i+((e[s+8>>2]|0)!=0&1)|0)}while(0);l=e[s+100>>2]|0;do if(l){if(y[l+81>>0]|0){n=n+1|0;break}B||(i=i+((e[s+8>>2]|0)!=0&1)|0)}while(0);l=e[s+104>>2]|0;do if(l){if(y[l+81>>0]|0){n=n+1|0;break}B||(i=i+((e[s+8>>2]|0)!=0&1)|0)}while(0);l=e[s+96>>2]|0;do if(l){if(y[l+81>>0]|0){n=n+1|0;break}B||(i=i+((e[s+8>>2]|0)!=0&1)|0)}while(0);A=Qe(r,A)|0}a=X0(r,a)|0,l=i}if(y[(e[c>>2]|0)+113>>0]&8?c=UN(r)|0:c=0,E=l+o|0,E|0){for(p=n+l+c+(v2(r)|0)|0,v=j0(p*40|0)|0,m=j0(E*40|0)|0,zs(f0,2147483647,2147483647),i=f0+16|0,zs(w,-2147483647,-2147483647),e[i>>2]=e[w>>2],e[i+4>>2]=e[w+4>>2],e[i+8>>2]=e[w+8>>2],e[i+12>>2]=e[w+12>>2],i=m,o=v,a=U0(r)|0;a;){e[H>>2]=e[f0>>2],e[H+4>>2]=e[f0+4>>2],e[H+8>>2]=e[f0+8>>2],e[H+12>>2]=e[f0+12>>2],e[H+16>>2]=e[f0+16>>2],e[H+20>>2]=e[f0+20>>2],e[H+24>>2]=e[f0+24>>2],e[H+28>>2]=e[f0+28>>2],Zp0(T,a,o,H),e[f0>>2]=e[T>>2],e[f0+4>>2]=e[T+4>>2],e[f0+8>>2]=e[T+8>>2],e[f0+12>>2]=e[T+12>>2],e[f0+16>>2]=e[T+16>>2],e[f0+20>>2]=e[T+20>>2],e[f0+24>>2]=e[T+24>>2],e[f0+28>>2]=e[T+28>>2],n=e[(e[a+16>>2]|0)+108>>2]|0;do if(n)if(y[n+81>>0]|0){o=o+40|0,e[H>>2]=e[f0>>2],e[H+4>>2]=e[f0+4>>2],e[H+8>>2]=e[f0+8>>2],e[H+12>>2]=e[f0+12>>2],e[H+16>>2]=e[f0+16>>2],e[H+20>>2]=e[f0+20>>2],e[H+24>>2]=e[f0+24>>2],e[H+28>>2]=e[f0+28>>2],Ec(D,n,o,H),e[f0>>2]=e[D>>2],e[f0+4>>2]=e[D+4>>2],e[f0+8>>2]=e[D+8>>2],e[f0+12>>2]=e[D+12>>2],e[f0+16>>2]=e[D+16>>2],e[f0+20>>2]=e[D+20>>2],e[f0+24>>2]=e[D+24>>2],e[f0+28>>2]=e[D+28>>2];break}else{e[H>>2]=e[N>>2],e[H+4>>2]=e[N+4>>2],e[H+8>>2]=e[N+8>>2],e[H+12>>2]=e[N+12>>2],Dh(n,o,i,0,H),i=i+40|0;break}while(0);for(A=Me(r,a)|0,o=o+40|0;A;){s=A+16|0,n=e[s>>2]|0,l=e[n+96>>2]|0;e:do if(!l)x=52;else{do if(y[l+81>>0]|0)e[H>>2]=e[f0>>2],e[H+4>>2]=e[f0+4>>2],e[H+8>>2]=e[f0+8>>2],e[H+12>>2]=e[f0+12>>2],e[H+16>>2]=e[f0+16>>2],e[H+20>>2]=e[f0+20>>2],e[H+24>>2]=e[f0+24>>2],e[H+28>>2]=e[f0+28>>2],Ec(P,l,o,H),e[f0>>2]=e[P>>2],e[f0+4>>2]=e[P+4>>2],e[f0+8>>2]=e[P+8>>2],e[f0+12>>2]=e[P+12>>2],e[f0+16>>2]=e[P+16>>2],e[f0+20>>2]=e[P+20>>2],e[f0+24>>2]=e[P+24>>2],e[f0+28>>2]=e[P+28>>2];else{if(!B&&e[n+8>>2]|0){EQ(U,r,A),e[H>>2]=e[U>>2],e[H+4>>2]=e[U+4>>2],e[H+8>>2]=e[U+8>>2],e[H+12>>2]=e[U+12>>2],Dh(l,o,i,1,H),i=i+40|0;break}e[F>>2]=e[l>>2],$0(0,103827,F)|0;break e}while(0);o=o+40|0,n=e[s>>2]|0,x=52}while(0);e:do if((x|0)==52){if(x=0,l=e[n+104>>2]|0,l){do if(y[l+81>>0]|0)e[H>>2]=e[f0>>2],e[H+4>>2]=e[f0+4>>2],e[H+8>>2]=e[f0+8>>2],e[H+12>>2]=e[f0+12>>2],e[H+16>>2]=e[f0+16>>2],e[H+20>>2]=e[f0+20>>2],e[H+24>>2]=e[f0+24>>2],e[H+28>>2]=e[f0+28>>2],Ec(J,l,o,H),e[f0>>2]=e[J>>2],e[f0+4>>2]=e[J+4>>2],e[f0+8>>2]=e[J+8>>2],e[f0+12>>2]=e[J+12>>2],e[f0+16>>2]=e[J+16>>2],e[f0+20>>2]=e[J+20>>2],e[f0+24>>2]=e[J+24>>2],e[f0+28>>2]=e[J+28>>2];else{if(!B&&e[n+8>>2]|0){Wp0(z,A),e[H>>2]=e[z>>2],e[H+4>>2]=e[z+4>>2],e[H+8>>2]=e[z+8>>2],e[H+12>>2]=e[z+12>>2],Dh(l,o,i,1,H),i=i+40|0;break}e[q>>2]=e[l>>2],$0(0,103862,q)|0;break e}while(0);o=o+40|0,n=e[s>>2]|0}if(l=e[n+100>>2]|0,l){do if(y[l+81>>0]|0)e[H>>2]=e[f0>>2],e[H+4>>2]=e[f0+4>>2],e[H+8>>2]=e[f0+8>>2],e[H+12>>2]=e[f0+12>>2],e[H+16>>2]=e[f0+16>>2],e[H+20>>2]=e[f0+20>>2],e[H+24>>2]=e[f0+24>>2],e[H+28>>2]=e[f0+28>>2],Ec(_,l,o,H),e[f0>>2]=e[_>>2],e[f0+4>>2]=e[_+4>>2],e[f0+8>>2]=e[_+8>>2],e[f0+12>>2]=e[_+12>>2],e[f0+16>>2]=e[_+16>>2],e[f0+20>>2]=e[_+20>>2],e[f0+24>>2]=e[_+24>>2],e[f0+28>>2]=e[_+28>>2];else{if(!B&&e[n+8>>2]|0){Dp0(L,A),e[H>>2]=e[L>>2],e[H+4>>2]=e[L+4>>2],e[H+8>>2]=e[L+8>>2],e[H+12>>2]=e[L+12>>2],Dh(l,o,i,1,H),i=i+40|0;break}e[t0>>2]=e[l>>2],$0(0,103902,t0)|0;break e}while(0);o=o+40|0,n=e[s>>2]|0}if(l=e[n+108>>2]|0,l){do if(y[l+81>>0]|0)e[H>>2]=e[f0>>2],e[H+4>>2]=e[f0+4>>2],e[H+8>>2]=e[f0+8>>2],e[H+12>>2]=e[f0+12>>2],e[H+16>>2]=e[f0+16>>2],e[H+20>>2]=e[f0+20>>2],e[H+24>>2]=e[f0+24>>2],e[H+28>>2]=e[f0+28>>2],Ec(G,l,o,H),e[f0>>2]=e[G>>2],e[f0+4>>2]=e[G+4>>2],e[f0+8>>2]=e[G+8>>2],e[f0+12>>2]=e[G+12>>2],e[f0+16>>2]=e[G+16>>2],e[f0+20>>2]=e[G+20>>2],e[f0+24>>2]=e[G+24>>2],e[f0+28>>2]=e[G+28>>2];else{if(!B&&e[n+8>>2]|0){EQ(W,r,A),e[H>>2]=e[W>>2],e[H+4>>2]=e[W+4>>2],e[H+8>>2]=e[W+8>>2],e[H+12>>2]=e[W+12>>2],Dh(l,o,i,1,H),i=i+40|0;break}e[Y>>2]=e[l>>2],$0(0,103942,Y)|0;break e}while(0);o=o+40|0}}while(0);A=Qe(r,A)|0}a=X0(r,a)|0}if(c|0){e[t>>2]=e[f0>>2],e[t+4>>2]=e[f0+4>>2],e[t+8>>2]=e[f0+8>>2],e[t+12>>2]=e[f0+12>>2],e[t+16>>2]=e[f0+16>>2],e[t+20>>2]=e[f0+20>>2],e[t+24>>2]=e[f0+24>>2],e[t+28>>2]=e[f0+28>>2],e[t+32>>2]=o,n=H,i=n+40|0;do e[n>>2]=e[t>>2],n=n+4|0,t=t+4|0;while((n|0)<(i|0));XN(k0,r,H),e[f0>>2]=e[k0>>2],e[f0+4>>2]=e[k0+4>>2],e[f0+8>>2]=e[k0+8>>2],e[f0+12>>2]=e[k0+12>>2],e[f0+16>>2]=e[k0+16>>2],e[f0+20>>2]=e[k0+20>>2],e[f0+24>>2]=e[k0+24>>2],e[f0+28>>2]=e[k0+28>>2]}for(y[B0+32>>0]=LQ(r,re(r,0,103978,0)|0,1)|0,e[B0>>2]=e[f0>>2],e[B0+4>>2]=e[f0+4>>2],e[B0+8>>2]=e[f0+8>>2],e[B0+12>>2]=e[f0+12>>2],e[B0+16>>2]=e[f0+16>>2],e[B0+20>>2]=e[f0+20>>2],e[B0+24>>2]=e[f0+24>>2],e[B0+28>>2]=e[f0+28>>2],Li0(v,p,m,E,B0)|0,t=0,i=0,n=m;!((i|0)>=(E|0));)y[n+36>>0]|0&&(B0=e[n+32>>2]|0,y[B0+81>>0]=1,k0=B0+56|0,Mp0(D0,n),e[k0>>2]=e[D0>>2],e[k0+4>>2]=e[D0+4>>2],e[k0+8>>2]=e[D0+8>>2],e[k0+12>>2]=e[D0+12>>2],el(r,B0),t=t+1|0),i=i+1|0,n=n+40|0;(t|0)!=(E|0)&&(e[V0>>2]=t,e[V0+4>>2]=E,$0(0,104023,V0)|0),r0(v),r0(m)}}g=Z0}function Lp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(s=g,g=g+48|0,n=s+32|0,o=s+16|0,l=s,+u[23303]!=0|+u[23304]!=0|(e[47265]|0)!=0){for(i=U0(r)|0;i;){e[47265]|0&&Sc(i,0),t=i+16|0,A=(e[t>>2]|0)+16|0,e[n>>2]=e[A>>2],e[n+4>>2]=e[A+4>>2],e[n+8>>2]=e[A+8>>2],e[n+12>>2]=e[A+12>>2],p1(o,n),e[A>>2]=e[o>>2],e[A+4>>2]=e[o+4>>2],e[A+8>>2]=e[o+8>>2],e[A+12>>2]=e[o+12>>2],t=e[(e[t>>2]|0)+108>>2]|0,t|0&&(A=t+56|0,e[n>>2]=e[A>>2],e[n+4>>2]=e[A+4>>2],e[n+8>>2]=e[A+8>>2],e[n+12>>2]=e[A+12>>2],p1(l,n),e[A>>2]=e[l>>2],e[A+4>>2]=e[l+4>>2],e[A+8>>2]=e[l+8>>2],e[A+12>>2]=e[l+12>>2]);e:do if((e[47138]|0)==1)for(t=Me(r,i)|0;;){if(!t)break e;Gp0(t),t=Qe(r,t)|0}while(0);i=X0(r,i)|0}VN(r,e[(e[r+16>>2]|0)+116>>2]&3)}g=s}function Rp0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=r+16|0,s=e[l>>2]|0,o=y[s+275>>0]|0,r=o<<24>>24;do if(r&4)n=+u[s+32>>3]-+u[t>>3]*.5;else if(i=+u[s+16>>3],r&2){n=+u[t>>3]*.5+i;break}else{n=(+u[s+32>>3]+i)*.5;break}while(0);o&1?i=+u[s+40>>3]-+u[t+8>>3]*.5:i=+u[t+8>>3]*.5+ +u[s+24>>3],s=e[s+12>>2]|0,u[s+56>>3]=n,u[s+64>>3]=i,y[(e[(e[l>>2]|0)+12>>2]|0)+81>>0]=1}function Gp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;if(B=g,g=g+144|0,m=B+120|0,i=B+16|0,s=B+104|0,A=B+88|0,a=B+72|0,c=B+56|0,w=B+40|0,p=B+24|0,E=B,v=r+16|0,t=e[v>>2]|0,n=e[t+8>>2]|0,!n)!(y[194954]|0)&&(y[t+112>>0]|0)!=6&&(m=te(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0,E=te(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0,e[i>>2]=m,e[i+4>>2]=E,$0(1,103810,i)|0);else{for(l=0,r=n;!((l|0)>=(e[r+4>>2]|0));){for(o=e[r>>2]|0,r=e[o+(l*48|0)>>2]|0,i=e[o+(l*48|0)+4>>2]|0,n=e[o+(l*48|0)+8>>2]|0,o=e[o+(l*48|0)+12>>2]|0,t=0;!((t|0)>=(i|0));)x=r+(t<<4)|0,e[m>>2]=e[x>>2],e[m+4>>2]=e[x+4>>2],e[m+8>>2]=e[x+8>>2],e[m+12>>2]=e[x+12>>2],p1(s,m),e[x>>2]=e[s>>2],e[x+4>>2]=e[s+4>>2],e[x+8>>2]=e[s+8>>2],e[x+12>>2]=e[s+12>>2],t=t+1|0;n|0&&(x=(e[e[(e[v>>2]|0)+8>>2]>>2]|0)+(l*48|0)+16|0,e[m>>2]=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>>2],e[m+12>>2]=e[x+12>>2],p1(E,m),e[x>>2]=e[E>>2],e[x+4>>2]=e[E+4>>2],e[x+8>>2]=e[E+8>>2],e[x+12>>2]=e[E+12>>2])}g=B}function UN(r){r=r|0;var t=0,i=0,n=0;for(n=r+16|0,(a2(r)|0)!=(r|0)&&(t=e[(e[n>>2]|0)+12>>2]|0,(t|0)!=0)?(i=1,r=(y[t+81>>0]|0)!=0&1):(i=1,r=0);t=e[n>>2]|0,!((i|0)>(e[t+180>>2]|0));)t=(UN(e[(e[t+184>>2]|0)+(i<<2)>>2]|0)|0)+r|0,i=i+1|0,r=t;return r|0}function Zp0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;o=g,g=g+32|0,l=o,c=(y[194957]|0)==0,t=t+16|0,a=e[t>>2]|0,A=+u[(c?a+32|0:a+40|0)>>3],u[i+16>>3]=A*72,s=+u[(c?a+40|0:a+32|0)>>3],u[i+24>>3]=s*72,t=(e[t>>2]|0)+16|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],u[i>>3]=+u[i>>3]-A*36,t=i+8|0,u[t>>3]=+u[t>>3]-s*36,e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],e[l+16>>2]=e[n+16>>2],e[l+20>>2]=e[n+20>>2],e[l+24>>2]=e[n+24>>2],e[l+28>>2]=e[n+28>>2],qN(r,i,l),g=o}function Ec(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;o=g,g=g+32|0,l=o,c=(y[194957]|0)==0,a=t+24|0,A=+u[(c?a:t+32|0)>>3],u[i+16>>3]=A,s=+u[(c?t+32|0:a)>>3],u[i+24>>3]=s,t=t+56|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],u[i>>3]=+u[i>>3]-A*.5,t=i+8|0,u[t>>3]=+u[t>>3]-s*.5,e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],e[l+16>>2]=e[n+16>>2],e[l+20>>2]=e[n+20>>2],e[l+24>>2]=e[n+24>>2],e[l+28>>2]=e[n+28>>2],qN(r,i,l),g=o}function Dh(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,n|0&&(n=t+16|0,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[t>>2]=e[o>>2],e[t+4>>2]=e[o+4>>2],e[t+8>>2]=e[o+8>>2],e[t+12>>2]=e[o+12>>2]),y[194957]|0?(u[i>>3]=+u[r+32>>3],u[i+8>>3]=+u[r+24>>3]):(o=r+24|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2]),e[i+32>>2]=r,y[i+36>>0]=0,e[t+32>>2]=i}function Wp0(r,t){r=r|0,t=t|0,t=zf(t)|0;do if(t)if(t=e[t>>2]|0,e[t+8>>2]|0){t=t+16|0,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else{t=e[t>>2]|0,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0;while(0)}function Dp0(r,t){r=r|0,t=t|0;var i=0;t=zf(t)|0;do if(t)if(i=e[t>>2]|0,t=(e[t+4>>2]|0)+-1|0,e[i+(t*48|0)+12>>2]|0){i=i+(t*48|0)+32|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}else{i=(e[i+(t*48|0)>>2]|0)+((e[i+(t*48|0)+4>>2]|0)+-1<<4)|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}else e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0;while(0)}function XN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(m=g,g=g+112|0,a=m+72|0,w=m+32|0,p=m,v=t+16|0,A=1;n=e[v>>2]|0,!((A|0)>(e[n+180>>2]|0));){n=e[(e[n+184>>2]|0)+(A<<2)>>2]|0,o=a,l=i,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));XN(w,n,a),o=i,l=w,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));A=A+1|0}(a2(t)|0)!=(t|0)&&(c=e[(e[v>>2]|0)+12>>2]|0,c|0)&&y[c+81>>0]|0&&(v=i+32|0,w=e[v>>2]|0,e[a>>2]=e[i>>2],e[a+4>>2]=e[i+4>>2],e[a+8>>2]=e[i+8>>2],e[a+12>>2]=e[i+12>>2],e[a+16>>2]=e[i+16>>2],e[a+20>>2]=e[i+20>>2],e[a+24>>2]=e[i+24>>2],e[a+28>>2]=e[i+28>>2],Ec(p,c,w,a),e[i>>2]=e[p>>2],e[i+4>>2]=e[p+4>>2],e[i+8>>2]=e[p+8>>2],e[i+12>>2]=e[p+12>>2],e[i+16>>2]=e[p+16>>2],e[i+20>>2]=e[p+20>>2],e[i+24>>2]=e[p+24>>2],e[i+28>>2]=e[p+28>>2],e[v>>2]=(e[v>>2]|0)+40),o=r,l=i,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));g=m}function S2e(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+160|0,m=E+96|0,p=E+48|0,w=E,v=e[15712]|0,c=s0[o+32>>0]|0,l=+u[o>>3],s=+u[o+8>>3],A=+u[o+16>>3],a=+u[o+24>>3],e[w>>2]=t,e[w+4>>2]=n,e[w+8>>2]=c,u[w+16>>3]=l,u[w+24>>3]=s,u[w+32>>3]=A,u[w+40>>3]=a,A2(v,104065,w)|0;do;while(0);g=E}function Mp0(r,t){r=r|0,t=t|0;var i=0;i=+u[t+8>>3]*.5+ +u[t+24>>3],u[r>>3]=+u[t>>3]*.5+ +u[t+16>>3],u[r+8>>3]=i}function qN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;n=g,g=g+16|0,o=n,A=+u[t>>3],u[i>>3]=+u[(+u[i>>3]>3],l=i+8|0,s=+u[t+8>>3],u[l>>3]=+u[(+u[l>>3]>3],A=+u[t+16>>3]+A,u[o>>3]=A,s=+u[t+24>>3]+s,u[o+8>>3]=s,l=i+16|0,u[l>>3]=+u[(+u[l>>3]>A?l:o)>>3],t=i+24|0,u[t>>3]=+u[(+u[t>>3]>s?l:o)+8>>3],e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2],e[r+16>>2]=e[i+16>>2],e[r+20>>2]=e[i+20>>2],e[r+24>>2]=e[i+24>>2],e[r+28>>2]=e[i+28>>2],g=n}function Sf(r){r=r|0,vp(r,1)}function jp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;n=g,g=g+16|0,i=n,t=Gp(he(r,105526)|0)|0,t?(t=Np0(t)|0,t|0&&(o=e[t+40>>2]|0,i=e[t+44>>2]|0,l=r+16|0,r=e[l>>2]|0,u[r+32>>3]=+(o|0)*.013888888888888888,u[r+40>>3]=+(i|0)*.013888888888888888,r=j0(12)|0,e[(e[l>>2]|0)+12>>2]=r,e[r>>2]=e[t+12>>2],e[r+4>>2]=((o|0)/-2|0)-(e[t+32>>2]|0),e[r+8>>2]=((i|0)/-2|0)-(e[t+36>>2]|0))):(e[i>>2]=te(r)|0,$0(0,104234,i)|0),g=n}function Np0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;v=g,g=g+1152|0,s=v+24|0,l=v+8|0,i=v,n=v+120|0,A=v+44|0,a=v+40|0,c=v+36|0,w=v+32|0,p=v+28|0,t=e[47266]|0,t||(t=at(20812,e[4581]|0)|0,e[47266]=t),t=oe[e[t>>2]&63](t,r,512)|0;do if(!t){if(o=A8(r,138821)|0,o)t=0,i=0;else{e[i>>2]=r,$0(0,104283,i)|0,t=0;break}for(;;){if(!(tu(n,1024,o)|0)){n=11;break}if(e[l>>2]=a,e[l+4>>2]=c,e[l+8>>2]=w,e[l+12>>2]=p,m=(X2(n,104311,l)|0)==4,i=m?1:i,(y[n>>0]|0)!=37&&(m=(s8(n,104340)|0)==0,t=m?t:1),(i|0)!=0&(t|0)!=0){n=12;break}}(n|0)==11&&(i?n=12:(e[s>>2]=r,$0(0,104345,s)|0,t=0)),(n|0)==12&&(m=_0(64)|0,a=e[a>>2]|0,e[m+32>>2]=a,c=e[c>>2]|0,e[m+40>>2]=(e[w>>2]|0)-a,e[m+36>>2]=(e[p>>2]|0)-c,e[m+8>>2]=r,p=e[47267]|0,e[47267]=p+1,e[m+12>>2]=p,BY(FY(o)|0,A)|0,p=e[A+36>>2]|0,w=_0(p+1|0)|0,e[m+52>>2]=w,T1(o,0,0)|0,QY(w,p,1,o)|0,y[w+p>>0]=0,p=e[47266]|0,oe[e[p>>2]&63](p,m,1)|0,y[m+16>>0]=t,t=m),Yc(o)|0}while(0);return g=v,t|0}function Qp0(r,t,i){r=r|0,t=t|0,i=i|0,r0(e[t+52>>2]|0)}function Tp0(r){r=r|0,r0(e[(e[r+16>>2]|0)+12>>2]|0)}function wC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;w=g,g=g+16|0,c=w+8|0,a=w,A=(t|0)!=0;e:do if(A){l=0,n=0;r:for(;;)for(;;){if(l)break e;if(o=e[t+(n<<2)>>2]|0,!o){s=6;break e}if(n=n+1|0,!(y[o>>0]|0)){l=1;continue r}}}else s=6;while(0);e:do if((s|0)==6)for(;;){if(n=e[i>>2]|0,!n)break e;m0(r,n)|0,m0(r,153599)|0,i=i+4|0,s=6}while(0);e:do if(A)for(l=0;;){if(n=e[t+(l<<2)>>2]|0,!n)break e;do if(y[n>>0]|0){if(i=Gp(n)|0,!i){e[a>>2]=n,$0(0,104384,a)|0;break}if(o=A8(i,138821)|0,!o){e[c>>2]=i,$0(0,104412,c)|0;break}for(;n=qk0(o)|0,!!n;)m0(r,n)|0;m0(r,153599)|0,Yc(o)|0}while(0);l=l+1|0}while(0);g=w}function $N(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;t=e[t+52>>2]|0;e:for(;;){i=y[t>>0]|0;r:do switch(i<<24>>24){case 0:break e;case 37:{if((y[t+1>>0]|0)==37){if(i=t+2|0,go(i,104440,3)|0&&go(i,104444,5)|0&&go(i,104450,3)|0&&go(i,104454,7)|0){i=37;break r}else o=37;t:for(;;){switch(o<<24>>24){case 13:{n=10;break t}case 10:case 0:{n=12;break t}default:}o=t+1|0,t=o,o=y[o>>0]|0}if((n|0)==10){if(i=t+1|0,(y[i>>0]|0)==10){t=t+2|0;continue e}}else(n|0)==12&&(i=t+1|0);t=o<<24>>24?i:t;continue e}else i=37;break}default:}while(0);r:for(;;){switch(i<<24>>24){case 10:case 13:case 0:break r;default:}lD(r,i<<24>>24)|0,o=t+1|0,t=o,i=y[o>>0]|0}n=t+1|0,i<<24>>24==13&&(y[n>>0]|0)==10?t=t+2|0:t=i<<24>>24?n:t,lD(r,10)|0}}function Fp0(r){r=r|0;var t=0,i=0,n=0,o=0;n=g,g=g+16|0,i=n,t=e[47266]|0;e:do if(t|0)for(t=oe[e[t>>2]&63](t,0,128)|0;;){if(!t)break e;y[t+16>>0]|0||(e[i>>2]=e[t+12>>2],Y0(r,104462,i),m0(r,104480)|0,$N(r,t),m0(r,104498)|0,m0(r,104513)|0),o=e[47266]|0,t=oe[e[o>>2]&63](o,t,8)|0}while(0);g=n}function dC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;o=g,g=g+16|0,i=o;e:do switch(t|0){case 0:{n=r;break}case 1:{n=OQ(r)|0;break}default:{switch(Pp0(r)|0){case 2:break;case 1:{n=OQ(r)|0;break e}default:{n=r;break e}}e[47268]|0||($0(0,104525,i)|0,e[47268]=1),n=r}}while(0);e[47269]|0||Ot(189076,0,0),t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),e[47270]=t+1,y[t>>0]=40,i=n;e:for(;;){switch(y[i>>0]|0){case 0:break e;case 92:case 41:case 40:{t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),e[47270]=t+1,y[t>>0]=92;break}default:}t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),l=y[i>>0]|0,e[47270]=t+1,y[t>>0]=l,i=i+1|0}return t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),e[47270]=t+1,y[t>>0]=41,(n|0)!=(r|0)&&r0(n),t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),y[t>>0]=0,l=e[47269]|0,e[47270]=l,g=o,l|0}function Pp0(r){r=r|0;var t=0,i=0;t=0;e:for(;;){for(;;){if(i=y[r>>0]|0,!(i<<24>>24))break e;if((i&255)<127)r=r+1|0;else break}if((i&-4)<<24>>24==-64)t=1,r=r+2|0;else{t=2;break}}return t|0}function KN(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;w=g,g=g+96|0,s=w+80|0,A=w+72|0,c=w+64|0,l=w+32|0,a=w,u[l>>3]=+u[r>>3],u[l+8>>3]=+u[r+8>>3],u[l+16>>3]=+u[t>>3],u[l+24>>3]=+u[t+8>>3];do if((FG(i,l,A)|0)>=0){if(o)e[s>>2]=e[A>>2],e[s+4>>2]=e[A+4>>2],q3(s,c);else{for(t=i+4|0,r=e[t>>2]|0,o=e[47274]|0,(r|0)>(e[47273]|0)?(o?r=Oe(o,r<<5)|0:r=_0(r<<5)|0,e[47274]=r,l=e[t>>2]|0,e[47273]=l,o=r):l=r,t=e[i>>2]|0,r=0;!((r|0)>=(l|0));)p=o+(r<<5)|0,i=t+(r<<4)|0,e[p>>2]=e[i>>2],e[p+4>>2]=e[i+4>>2],e[p+8>>2]=e[i+8>>2],e[p+12>>2]=e[i+12>>2],p=o+(r<<5)+16|0,i=r+1|0,v=t+(((i|0)%(l|0)|0)<<4)|0,e[p>>2]=e[v>>2],e[p+4>>2]=e[v+4>>2],e[p+8>>2]=e[v+8>>2],e[p+12>>2]=e[v+12>>2],r=i;if(e[a>>2]=0,e[a+4>>2]=0,e[a+8>>2]=0,e[a+12>>2]=0,e[a+16>>2]=0,e[a+20>>2]=0,e[a+24>>2]=0,e[a+28>>2]=0,e[s>>2]=e[A>>2],e[s+4>>2]=e[A+4>>2],(Xy(o,l,s,a,c)|0)<0){r=0;break}}if(r=c+4|0,bN(e[r>>2]|0)|0)r=0;else{for(l=e[r>>2]|0,r=e[47275]|0,o=e[c>>2]|0,t=0;!((t|0)>=(l|0));)v=r+(t<<4)|0,p=o+(t<<4)|0,e[v>>2]=e[p>>2],e[v+4>>2]=e[p+4>>2],e[v+8>>2]=e[p+8>>2],e[v+12>>2]=e[p+12>>2],t=t+1|0;e[n>>2]=l}}else r=0;while(0);return g=w,r|0}function bN(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=e[47276]|0;do if((t|0)<(r|0))if(r=r+300-((r|0)%300|0)+t|0,t=Oe(e[47275]|0,r<<4)|0,e[47275]=t,t){e[47276]=r,r=0;break}else{$0(1,104615,i)|0,r=1;break}else r=0;while(0);return g=n,r|0}function Yp0(){var r=0,t=0,i=0;t=g,g=g+16|0,r=t,i=e[47277]|0,e[47277]=i+1;do if((i|0)<=0){if(i=_0(4800)|0,e[47275]=i,!i){$0(1,104638,r)|0,r=1;break}e[47276]=300,e[47278]=0,e[47279]=0,r=0}else r=0;while(0);return g=t,r|0}function Op0(){var r=0,t=0,i=0,n=0,o=0,l=0;t=g,g=g+16|0,r=t,i=e[47277]|0,e[47277]=i+-1,(i|0)<=1&&r0(e[47275]|0),g=t}function Mh(r,t){return r=r|0,t=t|0,eQ(r,t,0)|0}function eQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0;for(Y=g,g=g+176|0,U=Y+168|0,t0=Y+128|0,L=Y+120|0,z=Y+112|0,l=Y+104|0,E=Y+88|0,c=Y+72|0,o=Y+64|0,B=Y+160|0,F=Y+152|0,G=Y+144|0,x=Y+32|0,_=Y,q=Y+136|0,e[47278]=(e[47278]|0)+1,J=e[r+80>>2]|0,e[47279]=(e[47279]|0)+J,n=r+88|0;;){if(D=e[n>>2]|0,!D){P=4;break}if(n=e[D+16>>2]|0,y[n+112>>0]|0)n=n+116|0;else{P=5;break}}do if((P|0)==4)$0(1,104719,o)|0,n=0;else if((P|0)==5)if(T=e[r+84>>2]|0,Vp0(J,T,r)|0)n=0;else{o=J<<3,(o|0)>(e[47280]|0)&&(n=e[47281]|0,n?n=Oe(n,J<<7)|0:n=_0(J<<7)|0,e[47281]=n,e[47280]=o);e:do if((J|0)>1&&+u[T+8>>3]>+u[T+40>>3])for(n=0;;){if((n|0)==(J|0)){p=1;break e}W=T+(n<<5)+24|0,a=+u[W>>3],N=T+(n<<5)+8|0,u[W>>3]=-+u[N>>3],u[N>>3]=-a,n=n+1|0}else p=0;while(0);if(m=e[D>>2]&3,W=D+48|0,n=e[((m|0)==3?D:W)+40>>2]|0,N=D+-48|0,(n|0)==(e[((m|0)==2?D:N)+40>>2]|0)){e[l>>2]=te(n)|0,$0(1,104826,l)|0,n=0;break}w=J+-1|0,v=e[47281]|0,m=v,n=0,s=0;e:for(;;){if((s|0)>=(J|0)){s=w,c=n;break}(s|0)>0?o=+u[T+(s<<5)+8>>3]>+u[T+(s+-1<<5)+8>>3]?-1:1:o=0,(s|0)<(w|0)?l=+u[T+(s+1<<5)+8>>3]>+u[T+(s<<5)+8>>3]?1:-1:l=0;r:do if((o|0)!=(l|0))if((o|0)==1|(l|0)==-1){o=T+(s<<5)|0,u[v+(n<<4)>>3]=+u[o>>3],l=n+1|0,u[v+(n<<4)+8>>3]=+u[T+(s<<5)+24>>3],u[v+(l<<4)>>3]=+u[o>>3],o=T+(s<<5)+8|0,P=29;break}else{o=T+(s<<5)+16|0,u[v+(n<<4)>>3]=+u[o>>3],l=n+1|0,u[v+(n<<4)+8>>3]=+u[T+(s<<5)+8>>3],u[v+(l<<4)>>3]=+u[o>>3],o=T+(s<<5)+24|0,P=29;break}else{switch(o|0){case-1:break r;case 0:break;default:{P=28;break e}}o=T+(s<<5)|0,u[v+(n<<4)>>3]=+u[o>>3],l=n+1|0,u[v+(n<<4)+8>>3]=+u[T+(s<<5)+24>>3],u[v+(l<<4)>>3]=+u[o>>3],o=T+(s<<5)+8|0,P=29}while(0);(P|0)==29&&(P=0,u[v+(l<<4)+8>>3]=+u[o>>3],n=n+2|0),s=s+1|0}if((P|0)==28){e[c>>2]=o,e[c+4>>2]=o,e[c+8>>2]=480,$0(1,104761,c)|0,n=0;break}e:for(;!((s|0)<=-1);){(s|0)<(w|0)?n=+u[T+(s<<5)+8>>3]>+u[T+(s+1<<5)+8>>3]?-1:1:n=0,(s|0)>0?o=+u[T+(s+-1<<5)+8>>3]>+u[T+(s<<5)+8>>3]?1:-1:o=0;r:do if((n|0)!=(o|0))if((n|0)==1|(o|0)==-1){n=T+(s<<5)|0,u[v+(c<<4)>>3]=+u[n>>3],o=c+1|0,u[v+(c<<4)+8>>3]=+u[T+(s<<5)+24>>3],u[v+(o<<4)>>3]=+u[n>>3],n=T+(s<<5)+8|0,l=2;break}else{n=T+(s<<5)+16|0,u[v+(c<<4)>>3]=+u[n>>3],o=c+1|0,u[v+(c<<4)+8>>3]=+u[T+(s<<5)+8>>3],u[v+(o<<4)>>3]=+u[n>>3],n=T+(s<<5)+24|0,l=2;break}else switch(n|0){case 0:{n=T+(s<<5)+16|0,u[v+(c<<4)>>3]=+u[n>>3],o=c+1|0,u[v+(c<<4)+8>>3]=+u[T+(s<<5)+8>>3],u[v+(o<<4)>>3]=+u[n>>3],n=T+(s<<5)+24|0,l=2;break r}case-1:{f0=T+(s<<5)+16|0,u[v+(c<<4)>>3]=+u[f0>>3],n=T+(s<<5)+8|0,l=c+1|0,u[v+(c<<4)+8>>3]=+u[n>>3],u[v+(l<<4)>>3]=+u[f0>>3],f0=T+(s<<5)+24|0,H=c+2|0,u[v+(l<<4)+8>>3]=+u[f0>>3],l=T+(s<<5)|0,u[v+(H<<4)>>3]=+u[l>>3],o=c+3|0,u[v+(H<<4)+8>>3]=+u[f0>>3],u[v+(o<<4)>>3]=+u[l>>3],l=4;break r}default:{P=42;break e}}while(0);u[v+(o<<4)+8>>3]=+u[n>>3],s=s+-1|0,c=c+l|0}if((P|0)==42){e[E>>2]=n,e[E+4>>2]=n,e[E+8>>2]=513,$0(1,104761,E)|0,n=0;break}e:do if(!p)n=0;else{for(n=0;;){if((n|0)>=(J|0)){n=0;break}H=T+(n<<5)+24|0,a=+u[H>>3],f0=T+(n<<5)+8|0,u[H>>3]=-+u[f0>>3],u[f0>>3]=-a,n=n+1|0}for(;;){if((n|0)>=(c|0)){n=0;break e}f0=v+(n<<4)+8|0,u[f0>>3]=-+u[f0>>3],n=n+1|0}}while(0);for(;!((n|0)>=(J|0));)u[T+(n<<5)>>3]=2147483647,u[T+(n<<5)+16>>3]=-2147483648,n=n+1|0;if(e[B>>2]=m,l=B+4|0,e[l>>2]=c,u[x>>3]=+u[r>>3],u[x+8>>3]=+u[r+8>>3],u[x+16>>3]=+u[r+40>>3],u[x+24>>3]=+u[r+48>>3],(FG(B,x,F)|0)<0){$0(1,104865,z)|0,n=0;break}if(i)e[U>>2]=e[F>>2],e[U+4>>2]=e[F+4>>2],q3(U,G);else{for(o=e[l>>2]|0,n=e[47274]|0,(o|0)>(e[47273]|0)&&(n?n=Oe(n,o<<5)|0:n=_0(o<<5)|0,e[47274]=n,o=e[l>>2]|0,e[47273]=o),s=e[47281]|0,l=0;!((l|0)>=(o|0));)H=n+(l<<5)|0,f0=s+(l<<4)|0,e[H>>2]=e[f0>>2],e[H+4>>2]=e[f0+4>>2],e[H+8>>2]=e[f0+8>>2],e[H+12>>2]=e[f0+12>>2],H=n+(l<<5)+16|0,f0=l+1|0,z=s+(((f0|0)%(o|0)|0)<<4)|0,e[H>>2]=e[z>>2],e[H+4>>2]=e[z+4>>2],e[H+8>>2]=e[z+8>>2],e[H+12>>2]=e[z+12>>2],l=f0;if(y[r+29>>0]|0?(a=+u[r+16>>3],A=+ee(+a),a=+le(+a)):(A=0,a=0),u[_+8>>3]=a,u[_>>3]=A,y[r+69>>0]|0?(a=+u[r+56>>3],A=-+ee(+a),a=-+le(+a)):(A=0,a=0),u[_+24>>3]=a,u[_+16>>3]=A,e[U>>2]=e[F>>2],e[U+4>>2]=e[F+4>>2],(Xy(n,o,U,_,G)|0)<0){$0(1,104904,L)|0,n=0;break}}if(c=G+4|0,bN(e[c>>2]|0)|0)n=0;else{for(n=0;!((n|0)>=(J|0));)u[T+(n<<5)>>3]=2147483647,u[T+(n<<5)+16>>3]=-2147483648,n=n+1|0;for(l=e[c>>2]|0,s=e[47275]|0,o=e[G>>2]|0,n=0;;){if((n|0)>=(l|0)){l=1,n=10,o=0;break}f0=s+(n<<4)|0,H=o+(n<<4)|0,e[f0>>2]=e[H>>2],e[f0+4>>2]=e[H+4>>2],e[f0+8>>2]=e[H+8>>2],e[f0+12>>2]=e[H+12>>2],n=n+1|0}for(;(o|0)<15&l<<24>>24!=0;){for(rQ(T,J,e[47275]|0,e[c>>2]|0,n),s=0;!((s|0)>=(J|0));){if(+u[T+(s<<5)>>3]==2147483647){P=82;break}if(+u[T+(s<<5)+16>>3]==-2147483648){P=82;break}s=s+1|0}(P|0)==82&&(P=0,f0=n<<1,n=f0,o=(f0|0)>(2147483647/(J|0)|0|0)?15:o),l=(s|0)==(J|0)?0:l,o=o+1|0}l<<24>>24&&(H=te(e[((e[D>>2]&3|0)==3?D:W)+40>>2]|0)|0,f0=te(e[((e[D>>2]&3|0)==2?D:N)+40>>2]|0)|0,e[t0>>2]=H,e[t0+4>>2]=f0,$0(0,104942,t0)|0,e[U>>2]=e[F>>2],e[U+4>>2]=e[F+4>>2],q3(U,q),rQ(T,J,e[q>>2]|0,e[q+4>>2]|0,10),r0(e[q>>2]|0)),e[t>>2]=e[c>>2],n=e[47275]|0}}while(0);return g=Y,n|0}function Vp0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0;for(F0=g,g=g+32|0,Y=F0+16|0,t0=F0+8|0,a=F0,n=0,A=0;!((A|0)>=(r|0));)s=t+(A<<5)|0,B=+u[t+(A<<5)+8>>3]-+u[t+(A<<5)+24>>3],!((B>=0?B:-B)<.01)&&(B=+u[s>>3]-+u[t+(A<<5)+16>>3],!((B>=0?B:-B)<.01))&&((n|0)!=(A|0)&&(V0=t+(n<<5)|0,e[V0>>2]=e[s>>2],e[V0+4>>2]=e[s+4>>2],e[V0+8>>2]=e[s+8>>2],e[V0+12>>2]=e[s+12>>2],e[V0+16>>2]=e[s+16>>2],e[V0+20>>2]=e[s+20>>2],e[V0+24>>2]=e[s+24>>2],e[V0+28>>2]=e[s+28>>2]),n=n+1|0),A=A+1|0;H=t+16|0;do if(!(+u[t>>3]>+u[H>>3])&&(k0=t+8|0,D0=t+24|0,!(+u[k0>>3]>+u[D0>>3]))){for(V0=n+-1|0,B0=e[15712]|0,L=0;!((L|0)>=(V0|0));){if(U=L+1|0,J=t+(U<<5)|0,o=+u[J>>3],F=t+(U<<5)+16|0,l=+u[F>>3],o>l){Z0=16;break}if(T=t+(U<<5)+8|0,c=+u[T>>3],D=t+(U<<5)+24|0,w=+u[D>>3],c>w){Z0=16;break}q=t+(L<<5)+16|0,_=+u[q>>3]>3]>l,r=z&1,N=t+(L<<5)+24|0,x=+u[N>>3]>3]>w,s=a&1,G=r+n+A+s|0,p=(G|0)!=0,!0|p^1||(e[Y>>2]=L,e[Y+4>>2]=U,A2(B0,105142,Y)|0,pC(i));e:do if(p)for(_?(a=s,p=0,n=J,s=q,Z0=24):z?(a=s,r=0,p=n,n=F,s=P,Z0=24):x?(a=s,A=0,p=n,n=T,s=N,Z0=24):a&&(a=0,p=n,n=D,s=W,Z0=24),(Z0|0)==24&&(Z0=0,L=~~+u[s>>3],u[s>>3]=+u[n>>3],u[n>>3]=+(L|0),s=a,n=p),p=G+-1|0,a=0;;){if((a|0)>=(p|0))break e;do if((n|0)!=1){if((r|0)==1){B=+(~~((+u[F>>3]+ +u[P>>3])*.5+.5)|0),u[F>>3]=B,u[P>>3]=B,r=0;break}if((A|0)==1){B=+(~~((+u[T>>3]+ +u[N>>3])*.5+.5)|0),u[T>>3]=B,u[N>>3]=B,A=0;break}(s|0)==1&&(B=+(~~((+u[D>>3]+ +u[W>>3])*.5+.5)|0),u[D>>3]=B,u[W>>3]=B,s=0)}else B=+(~~((+u[J>>3]+ +u[q>>3])*.5+.5)|0),u[J>>3]=B,u[q>>3]=B,n=0;while(0);a=a+1|0}while(0);if(v=+u[P>>3],m=+u[q>>3],E=+u[J>>3],B=+u[F>>3],s=tQ(~~v,~~m,~~E,~~B)|0,w=+u[W>>3],c=+u[N>>3],l=+u[T>>3],o=+u[D>>3],n=tQ(~~w,~~c,~~l,~~o)|0,!((s|0)!=0&(n|0)!=0)){L=U;continue}if((s|0)<(n|0)){D=m-v>B-E,L=m>3]=D?L?E:B:L?m:v,L=U;continue}else{D=c-w>o-l,L=c>3]=D?L?l:o:L?c:w,L=U;continue}}if((Z0|0)==16){e[t0>>2]=U,$0(1,105096,t0)|0,pC(i),n=1;break}if(o=+u[i>>3],l=+u[t>>3],!(o+u[H>>3])&&(f0=+u[i+8>>3],!(f0<+u[k0>>3]))&&!(f0>+u[D0>>3])||(o>3]=l:l=o,o=+u[H>>3],l>o&&(u[i>>3]=o),n=i+8|0,l=+u[n>>3],o=+u[k0>>3],l>3]=o,l=o),o=+u[D0>>3],l>o&&(u[n>>3]=o)),s=i+40|0,o=+u[s>>3],n=t+(V0<<5)|0,l=+u[n>>3],!(o+u[t+(V0<<5)+16>>3])&&(J0=+u[i+48>>3],!(J0<+u[t+(V0<<5)+8>>3]))&&!(J0>+u[t+(V0<<5)+24>>3])){n=0;break}o>3]=l,o=l),l=+u[t+(V0<<5)+16>>3],o>l&&(u[s>>3]=l),n=i+48|0,o=+u[n>>3],l=+u[t+(V0<<5)+8>>3],o>3]=l:l=o,o=+u[t+(V0<<5)+24>>3],l>o&&(u[n>>3]=o),n=0}else Z0=12;while(0);return(Z0|0)==12&&($0(1,105051,a)|0,pC(i),n=1),g=F0,n|0}function rQ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0;z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A2(i,105338,A)|0,p=+u[r+48>>3],v=+u[r+56>>3],m=y[r+69>>0]|0?105310:105322,u[s>>3]=+u[r+40>>3],u[s+8>>3]=p,u[s+16>>3]=v,e[s+24>>2]=m,A2(i,105389,s)|0,g=a}function tQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;do if((t|0)>(i|0)&(n|0)>(r|0)){if(!((i|0)>(r|0)|(n|0)<(r|0))){r=n-r|0;break}if((t|0)<(i|0)|(t|0)>(n|0)){t=t-r|0,r=n-i|0,r=(t|0)<(r|0)?t:r;break}else{r=t-i|0;break}}else r=0;while(0);return r|0}function jh(r,t){return r=r|0,t=t|0,eQ(r,t,1)|0}function Hp0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;for(a=g,g=g+80|0,l=a,A=1,o=t;s=o,o=e[(e[o+16>>2]|0)+172>>2]|0,(o|0)!=0&(s|0)!=(o|0);)A=A+1|0;for((A|0)>=21&&(l=j0(A<<2)|0),s=0,o=t;!((s|0)>=(A|0));)e[l+(s<<2)>>2]=o,s=s+1|0,o=e[(e[o+16>>2]|0)+172>>2]|0;iQ(r,l,A,i,n),(A|0)>20&&r0(l),g=a}function iQ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0;Y=g,g=g+304|0,N=Y+272|0,W=Y+208|0,J=Y+96|0,F=Y+32|0,q=Y+16|0,t0=Y,m=Y+192|0,G=Y+176|0,l=Y+160|0,T=Y+296|0,D=Y+288|0,s=e[t>>2]|0,_=e[s>>2]&3,A=s+-48|0,P=e[((_|0)==2?s:A)+40>>2]|0,B=J+16|0,_=(e[(e[((_|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+16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=e[U+4>>2],e[m+8>>2]=e[U+8>>2],e[m+12>>2]=e[U+12>>2],G=J+24|0,L=J+40|0,c=0,a=0):(f0=c-a,H=+G0(+(v+f0*f0)),_=e[(e[(e[r+60>>2]|0)+16>>2]|0)+248>>2]|0,k0=+((N0(_,i+-1|0)|0)/2|0|0),v=E*k0/H,u[B>>3]=v+a,a=f0*k0/H,G=J+24|0,u[G>>3]=a+w,u[m>>3]=v+c,L=J+40|0,u[L>>3]=p+a,a=+(0-_|0),c=f0*a/H,a=E*a/H),n=(n|0)==6,x=D+4|0,z=T+4|0,s=0;;){if((s|0)>=(i|0))break e;_=e[t+(s<<2)>>2]|0,A=_+-48|0;r:do if((e[((e[_>>2]&3|0)==2?_:A)+40>>2]|0)==(P|0))for(e[q>>2]=e[J>>2],e[q+4>>2]=e[J+4>>2],e[q+8>>2]=e[J+8>>2],e[q+12>>2]=e[J+12>>2],e[t0>>2]=e[U>>2],e[t0+4>>2]=e[U+4>>2],e[t0+8>>2]=e[U+8>>2],e[t0+12>>2]=e[U+12>>2],l=0;;){if((l|0)==4)break r;B0=F+(l<<4)|0,D0=J+(l<<4)|0,e[B0>>2]=e[D0>>2],e[B0+4>>2]=e[D0+4>>2],e[B0+8>>2]=e[D0+8>>2],e[B0+12>>2]=e[D0+12>>2],l=l+1|0}else for(e[q>>2]=e[U>>2],e[q+4>>2]=e[U+4>>2],e[q+8>>2]=e[U+8>>2],e[q+12>>2]=e[U+12>>2],e[t0>>2]=e[J>>2],e[t0+4>>2]=e[J+4>>2],e[t0+8>>2]=e[J+8>>2],e[t0+12>>2]=e[J+12>>2],l=0;;){if((l|0)==4)break r;D0=F+(3-l<<4)|0,B0=J+(l<<4)|0,e[D0>>2]=e[B0>>2],e[D0+4>>2]=e[B0+4>>2],e[D0+8>>2]=e[B0+8>>2],e[D0+12>>2]=e[B0+12>>2],l=l+1|0}while(0);if(n){for(e[x>>2]=4,e[D>>2]=W,l=0;(l|0)!=4;)D0=W+(l<<4)|0,B0=F+(l<<4)|0,e[D0>>2]=e[B0>>2],e[D0+4>>2]=e[B0+4>>2],e[D0+8>>2]=e[B0+8>>2],e[D0+12>>2]=e[B0+12>>2],l=l+1|0;e[N>>2]=e[D>>2],e[N+4>>2]=e[D+4>>2],q3(N,T),yi(_,e[((e[_>>2]&3|0)==2?_:A)+40>>2]|0,e[T>>2]|0,e[z>>2]|0,o)}else yi(_,e[((e[_>>2]&3|0)==2?_:A)+40>>2]|0,F,4,o);e[W>>2]=e[q>>2],e[W+4>>2]=e[q+4>>2],e[W+8>>2]=e[q+8>>2],e[W+12>>2]=e[q+12>>2],e[N>>2]=e[t0>>2],e[N+4>>2]=e[t0+4>>2],e[N+8>>2]=e[t0+8>>2],e[N+12>>2]=e[t0+12>>2],xc(r,_,W,N),u[B>>3]=+u[B>>3]+a,u[G>>3]=+u[G>>3]+c,u[m>>3]=+u[m>>3]+a,u[L>>3]=+u[L>>3]+c,s=s+1|0}else(n|0)==4&&(Jp0(l,r),e[N>>2]=e[l>>2],e[N+4>>2]=e[l+4>>2],e[N+8>>2]=e[l+8>>2],e[N+12>>2]=e[l+12>>2],Up0(J,N)),yi(s,e[((e[s>>2]&3|0)==2?s:A)+40>>2]|0,J,4,o),e[W>>2]=e[q>>2],e[W+4>>2]=e[q+4>>2],e[W+8>>2]=e[q+8>>2],e[W+12>>2]=e[q+12>>2],e[N>>2]=e[t0>>2],e[N+4>>2]=e[t0+4>>2],e[N+8>>2]=e[t0+8>>2],e[N+12>>2]=e[t0+12>>2],xc(r,s,W,N);while(0);g=Y}function nQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function Jp0(r,t){r=r|0,t=t|0,t=e[t+16>>2]|0,u[23305]=(+u[t+32>>3]+ +u[t+16>>3])*.5,u[23306]=(+u[t+40>>3]+ +u[t+24>>3])*.5,e[r>>2]=e[46610],e[r+4>>2]=e[46611],e[r+8>>2]=e[46612],e[r+12>>2]=e[46613]}function Up0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;l=+u[r>>3],n=+u[r+48>>3],A=(n+l)*.5,s=+u[r+8>>3],i=+u[r+56>>3],o=(i+s)*.5,l=n-l,s=i-s,l=+G0(+(s*s+l*l))*.2,s=+u[t>>3]-A,i=+u[t+8>>3]-o,n=+G0(+(i*i+s*s)),n!=0&&(s=A-s/n*l,A=o-i/n*l,u[r+32>>3]=s,u[r+16>>3]=s,u[r+40>>3]=A,u[r+24>>3]=A)}function _f(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0;if(U=g,g=g+208|0,x=U+192|0,B=U+176|0,D=U+32|0,L=U+16|0,G=U,W=U+160|0,N=U+144|0,z=U+128|0,_=U+112|0,l=n&2130706432,T=n&8|0?8:l|0?l:4,(T|0)==436207616)Xp0(r,t,i,o);else{for(P=j0((i<<6)+64|0)|0,v=i+-1|0,m=G+8|0,E=L+8|0,p=12,n=0;!((n|0)>=(i|0));)w=t+(n<<4)|0,e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],(n|0)<(v|0)?(n=n+1|0,w=t+(n<<4)|0,e[G>>2]=e[w>>2],e[G+4>>2]=e[w+4>>2],e[G+8>>2]=e[w+8>>2],e[G+12>>2]=e[w+12>>2]):(e[G>>2]=e[t>>2],e[G+4>>2]=e[t+4>>2],e[G+8>>2]=e[t+8>>2],e[G+12>>2]=e[t+12>>2],n=n+1|0),c=+u[G>>3]-+u[L>>3],J=+u[m>>3]-+u[E>>3],c=+G0(+(J*J+c*c))*.3333333333333333,p=p=(i|0));)l=t+(s<<4)|0,e[L>>2]=e[l>>2],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[x+12>>2]=e[G+12>>2],mp(z,1-c,B,x),e[F>>2]=e[z>>2],e[F+4>>2]=e[z+4>>2],e[F+8>>2]=e[z+8>>2],e[F+12>>2]=e[z+12>>2],w?(F=P+(l<<4)|0,e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[x>>2]=e[G>>2],e[x+4>>2]=e[G+4>>2],e[x+8>>2]=e[G+8>>2],e[x+12>>2]=e[G+12>>2],mp(_,1-c*.5,B,x),e[F>>2]=e[_>>2],e[F+4>>2]=e[_+4>>2],e[F+8>>2]=e[_+8>>2],e[F+12>>2]=e[_+12>>2],n=n+4|0):n=l,s=s+1|0;a=P+(n<<4)|0,e[a>>2]=e[P>>2],e[a+4>>2]=e[P+4>>2],e[a+8>>2]=e[P+8>>2],e[a+12>>2]=e[P+12>>2],a=P+(n+1<<4)|0,A=P+16|0,e[a>>2]=e[A>>2],e[a+4>>2]=e[A+4>>2],e[a+8>>2]=e[A+8>>2],e[a+12>>2]=e[A+12>>2],n=P+(n+2<<4)|0,a=P+32|0,e[n>>2]=e[a>>2],e[n+4>>2]=e[a+4>>2],e[n+8>>2]=e[a+8>>2],e[n+12>>2]=e[a+12>>2],n=T&2147483647;e:do if((n|0)<201326592){if((n|0)>=83886080){if((n|0)<134217728){if((n|0)<100663296){switch(n|0){case 83886080:break;default:break e}if((i|0)==4){F=j0(192)|0,e[F>>2]=e[t>>2],e[F+4>>2]=e[t+4>>2],e[F+8>>2]=e[t+8>>2],e[F+12>>2]=e[t+12>>2],v=F+16|0,x=t+16|0,e[v>>2]=e[x>>2],e[v+4>>2]=e[x+4>>2],e[v+8>>2]=e[x+8>>2],e[v+12>>2]=e[x+12>>2],v=P+48|0,x=P+64|0,p=+u[x>>3],w=F+32|0,u[w>>3]=p,m=P+56|0,E=P+72|0,q=+u[E>>3],N=F+40|0,u[N>>3]=q,J=+u[v>>3]+p-+u[a>>3],z=F+48|0,u[z>>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e[B+12>>2],q=+u[B>>3],c=+u[x>>3],q=q-(c-q),u[z>>3]=q,p=+u[_>>3],J=+u[L>>3],p=p-(J-p),u[G>>3]=p,u[N>>3]=+u[W>>3]+q-c,u[t>>3]=+u[T>>3]+p-J,e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],y2(r,D,4),r0(F);break}else H0(105438,105449,737,105458)}if((n|0)<117440512){switch(n|0){case 100663296:break;default:break e}W=i+5|0,F=j0(W<<4)|0,N=t+16|0,q=+u[N>>3],q=(+u[t>>3]-q)*.625+q,u[F>>3]=q,T=t+40|0,Y=+u[T>>3],i=t+24|0,_=P+48|0,L=P+56|0,G=P+72|0,Y=(+u[i>>3]-Y)*.5+Y+(+u[L>>3]-+u[G>>3])*1.5,u[F+8>>3]=Y,t0=+u[N>>3],t0=(+u[t>>3]-t0)*.25+t0,u[F+16>>3]=t0,u[F+24>>3]=Y,u[F+32>>3]=t0,J=+u[T>>3],u[F+40>>3]=(+u[i>>3]-J)*.5+J,t0=(+u[a>>3]-+u[_>>3])*.5+t0,u[F+48>>3]=t0,J=+u[T>>3],u[F+56>>3]=(+u[i>>3]-J)*.5+J,u[F+64>>3]=t0,t0=+u[T>>3],t0=(+u[i>>3]-t0)*.5+t0+(+u[L>>3]-+u[G>>3]),u[F+72>>3]=t0,u[F+80>>3]=q,u[F+88>>3]=t0,u[F+96>>3]=q,t0=t0-(+u[L>>3]-+u[G>>3])*.25,u[F+104>>3]=t0,u[F+112>>3]=+u[a>>3]+q-+u[_>>3],u[F+120>>3]=(+u[L>>3]-+u[G>>3])*.5+t0,u[F+128>>3]=+u[F>>3],u[F+136>>3]=(+u[L>>3]-+u[G>>3])*.25+Y,Q2(r,F,W,o),u[D>>3]=+u[N>>3],Y=+u[T>>3],u[D+8>>3]=(+u[i>>3]-Y)*.5+Y,u[D+16>>3]=+u[t>>3],u[D+24>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}else{switch(n|0){case 117440512:break;default:break e}i=i+1|0,F=j0(i<<4)|0,u[F>>3]=+u[A>>3],N=P+56|0,T=P+72|0,u[F+8>>3]=+u[P+24>>3]-(+u[N>>3]-+u[T>>3])*.5,u[F+16>>3]=+u[P+48>>3],Y=+u[N>>3],u[F+24>>3]=Y-(Y-+u[T>>3])*.5,u[F+32>>3]=+u[t+32>>3],D=t+40|0,u[F+40>>3]=(+u[N>>3]-+u[T>>3])*.5+ +u[D>>3],u[F+48>>3]=+u[A>>3],u[F+56>>3]=(+u[N>>3]-+u[T>>3])*.5+ +u[D>>3],Y=+u[t+8>>3],u[F+72>>3]=Y-(Y-+u[t+56>>3])*.5,u[F+64>>3]=+u[t>>3],Q2(r,F,i,o),r0(F);break}}if((n|0)<167772160)if((n|0)<150994944){switch(n|0){case 134217728:break;default:break e}W=i+4|0,F=j0(W<<4)|0,N=t+16|0,J=+u[N>>3],G=P+48|0,J=(+u[t>>3]-J)*.5+J+(+u[a>>3]-+u[G>>3])*.25,u[F>>3]=J,T=t+40|0,Y=+u[T>>3],i=t+24|0,Y=(+u[i>>3]-Y)*.5+Y,u[F+8>>3]=Y,u[F+16>>3]=J,_=P+56|0,L=P+72|0,q=(+u[_>>3]-+u[L>>3])*.5+Y,u[F+24>>3]=q,J=(+u[a>>3]-+u[G>>3])*.5+J,u[F+32>>3]=J,u[F+40>>3]=q,u[F+48>>3]=J,J=(+u[_>>3]-+u[L>>3])*.5+q,u[F+56>>3]=J,t0=+u[N>>3],t0=(+u[t>>3]-t0)*.5+t0+(+u[a>>3]-+u[G>>3])*-.75,u[F+64>>3]=t0,u[F+72>>3]=J,u[F+80>>3]=t0,u[F+88>>3]=q,t0=+u[N>>3],t0=(+u[t>>3]-t0)*.5+t0+(+u[a>>3]-+u[G>>3])*-.25,u[F+96>>3]=t0,u[F+104>>3]=q,u[F+112>>3]=t0,u[F+120>>3]=Y,Q2(r,F,W,o),u[D>>3]=+u[N>>3],Y=+u[T>>3],u[D+8>>3]=(+u[i>>3]-Y)*.5+Y,u[D+16>>3]=+u[t>>3],u[D+24>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}else{switch(n|0){case 150994944:break;default:break e}W=i+2|0,F=j0(W<<4)|0,N=t+16|0,q=+u[N>>3],G=P+48|0,q=(+u[t>>3]-q)*.5+q+(+u[a>>3]-+u[G>>3])*.75,u[F>>3]=q,T=t+40|0,Y=+u[T>>3],i=t+24|0,Y=(+u[i>>3]-Y)*.5+Y,u[F+8>>3]=Y,u[F+16>>3]=q,_=P+56|0,L=P+72|0,q=(+u[_>>3]-+u[L>>3])*.25+Y,u[F+24>>3]=q,t0=+u[N>>3],u[F+32>>3]=(+u[t>>3]-t0)*.5+t0+(+u[a>>3]-+u[G>>3])*.25,t0=(+u[_>>3]-+u[L>>3])*.5+q,u[F+40>>3]=t0,J=+u[N>>3],u[F+48>>3]=(+u[t>>3]-J)*.5+J+(+u[a>>3]-+u[G>>3])*-.25,u[F+56>>3]=t0,t0=+u[N>>3],t0=(+u[t>>3]-t0)*.5+t0+(+u[a>>3]-+u[G>>3])*-.75,u[F+64>>3]=t0,u[F+72>>3]=q,u[F+80>>3]=t0,u[F+88>>3]=Y,Q2(r,F,W,o),u[D>>3]=+u[N>>3],Y=+u[T>>3],u[D+8>>3]=(+u[i>>3]-Y)*.5+Y,u[D+16>>3]=+u[t>>3],u[D+24>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}else if((n|0)<184549376){switch(n|0){case 167772160:break;default:break e}W=i+1|0,F=j0(W<<4)|0,N=t+16|0,q=+u[N>>3],_=P+48|0,q=+u[a>>3]+q+(+u[t>>3]-q)*.5-+u[_>>3],u[F>>3]=q,T=t+40|0,Y=+u[T>>3],i=t+24|0,L=P+56|0,G=P+72|0,Y=(+u[i>>3]-Y)*.5+Y+(+u[L>>3]-+u[G>>3])*.25,u[F+8>>3]=Y,q=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=e[F+4>>2],e[i+8>>2]=e[F+8>>2],e[i+12>>2]=e[F+12>>2],Ao(r,F,A,0,0,o&255),r0(s);break}if((n|0)<16777216){switch(n|0){case 8:break;default:break e}for(Q2(r,t,i,o),l=D+16|0,n=0;;){if((n|0)>=(i|0))break e;F=n*3|0,o=P+(F+2<<4)|0,e[D>>2]=e[o>>2],e[D+4>>2]=e[o+4>>2],e[D+8>>2]=e[o+8>>2],e[D+12>>2]=e[o+12>>2],F=P+(F+4<<4)|0,e[l>>2]=e[F>>2],e[l+4>>2]=e[F+4>>2],e[l+8>>2]=e[F+8>>2],e[l+12>>2]=e[F+12>>2],y2(r,D,2),n=n+1|0}}switch(n|0){case 16777216:break;default:break e}for(l=i+1|0,s=j0(l<<4)|0,n=1;!((n|0)>=(i|0));)F=s+(n<<4)|0,T=t+(n<<4)|0,e[F>>2]=e[T>>2],e[F+4>>2]=e[T+4>>2],e[F+8>>2]=e[T+8>>2],e[F+12>>2]=e[T+12>>2],n=n+1|0;t=i*3|0,T=P+(t+1<<4)|0,e[s>>2]=e[T>>2],e[s+4>>2]=e[T+4>>2],e[s+8>>2]=e[T+8>>2],e[s+12>>2]=e[T+12>>2],i=s+(i<<4)|0,F=P+(t+-1<<4)|0,e[i>>2]=e[F>>2],e[i+4>>2]=e[F+4>>2],e[i+8>>2]=e[F+8>>2],e[i+12>>2]=e[F+12>>2],Q2(r,s,l,o),r0(s),e[D>>2]=e[F>>2],e[D+4>>2]=e[F+4>>2],e[D+8>>2]=e[F+8>>2],e[D+12>>2]=e[F+12>>2],F=D+16|0,e[F>>2]=e[T>>2],e[F+4>>2]=e[T+4>>2],e[F+8>>2]=e[T+8>>2],e[F+12>>2]=e[T+12>>2],o=D+32|0,u[o>>3]=+u[D>>3]+ +u[F>>3]-+u[P+(t<<4)>>3],u[D+40>>3]=+u[D+8>>3]+ +u[D+24>>3]-+u[P+(t<<4)+8>>3],y2(r,F,2),e[F>>2]=e[o>>2],e[F+4>>2]=e[o+4>>2],e[F+8>>2]=e[o+8>>2],e[F+12>>2]=e[o+12>>2],y2(r,D,2);break}else{if((n|0)<50331648){switch(n|0){case 33554432:break;default:break e}for(l=i+2|0,s=j0(l<<4)|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],A=s+16|0,e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],A=P+48|0,i=P+64|0,u[s+32>>3]=(+u[A>>3]-+u[i>>3])*.3333333333333333+ +u[a>>3],F=P+56|0,n=P+72|0,u[s+40>>3]=(+u[F>>3]-+u[n>>3])*.3333333333333333+ +u[P+40>>3],Y=+u[A>>3],u[s+48>>3]=(Y-+u[i>>3])*.3333333333333333+Y,Y=+u[F>>3],u[s+56>>3]=(Y-+u[n>>3])*.3333333333333333+Y,n=4;!((n|0)>=(l|0));)F=s+(n<<4)|0,i=t+(n+-2<<4)|0,e[F>>2]=e[i>>2],e[F+4>>2]=e[i+4>>2],e[F+8>>2]=e[i+8>>2],e[F+12>>2]=e[i+12>>2],n=n+1|0;Q2(r,s,l,o),r0(s),e[D>>2]=e[A>>2],e[D+4>>2]=e[A+4>>2],e[D+8>>2]=e[A+8>>2],e[D+12>>2]=e[A+12>>2],F=D+16|0,e[F>>2]=e[a>>2],e[F+4>>2]=e[a+4>>2],e[F+8>>2]=e[a+8>>2],e[F+12>>2]=e[a+12>>2],y2(r,D,2);break}if((n|0)>=67108864){switch(n|0){case 67108864:break;default:break e}if((i|0)==4){F=j0(96)|0,e[F>>2]=e[t>>2],e[F+4>>2]=e[t+4>>2],e[F+8>>2]=e[t+8>>2],e[F+12>>2]=e[t+12>>2],i=F+16|0,e[i>>2]=e[a>>2],e[i+4>>2]=e[a+4>>2],e[i+8>>2]=e[a+8>>2],e[i+12>>2]=e[a+12>>2],i=F+32|0,T=P+64|0,e[i>>2]=e[T>>2],e[i+4>>2]=e[T+4>>2],e[i+8>>2]=e[T+8>>2],e[i+12>>2]=e[T+12>>2],i=F+48|0,t=t+32|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],t=F+64|0,i=P+128|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],t=F+80|0,N=P+160|0,e[t>>2]=e[N>>2],e[t+4>>2]=e[N+4>>2],e[t+8>>2]=e[N+8>>2],e[t+12>>2]=e[N+12>>2],Q2(r,F,6,o),r0(F),u[D>>3]=+u[P+176>>3]+ +u[A>>3]-+u[P>>3],u[D+8>>3]=+u[P+184>>3]+ +u[P+24>>3]-+u[P+8>>3],F=D+16|0,e[F>>2]=e[T>>2],e[F+4>>2]=e[T+4>>2],e[F+8>>2]=e[T+8>>2],e[F+12>>2]=e[T+12>>2],y2(r,D,2),e[F>>2]=e[i>>2],e[F+4>>2]=e[i+4>>2],e[F+8>>2]=e[i+8>>2],e[F+12>>2]=e[i+12>>2],y2(r,D,2),e[F>>2]=e[P>>2],e[F+4>>2]=e[P+4>>2],e[F+8>>2]=e[P+8>>2],e[F+12>>2]=e[P+12>>2],y2(r,D,2);break}else H0(105438,105449,714,105458)}switch(n|0){case 50331648:break;default:break e}for(l=i+3|0,s=j0(l<<4)|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],Y=+u[t>>3],u[s+16>>3]=Y-(Y-+u[A>>3])*.25,n=P+56|0,Y=(+u[n>>3]-+u[P+72>>3])*.3333333333333333+ +u[t+8>>3],u[s+24>>3]=Y,t0=+u[t>>3],u[s+32>>3]=t0-(t0-+u[A>>3])*2,u[s+40>>3]=Y,Y=+u[t>>3],u[s+48>>3]=Y-(Y-+u[A>>3])*2.25,u[s+56>>3]=+u[n>>3],u[s+64>>3]=+u[P+48>>3],u[s+72>>3]=+u[n>>3],n=4;!((n|0)>=(l|0));)F=s+(n<<4)|0,i=t+(n+-3<<4)|0,e[F>>2]=e[i>>2],e[F+4>>2]=e[i+4>>2],e[F+8>>2]=e[i+8>>2],e[F+12>>2]=e[i+12>>2],n=n+1|0;Q2(r,s,l,o),r0(s);break}}else if((n|0)<318767104){if((n|0)<251658240){if((n|0)<218103808){switch(n|0){case 201326592:break;default:break e}F=i<<4,z=j0(F)|0,_=t+16|0,Y=+u[_>>3],u[z>>3]=Y,N=t+40|0,t0=+u[N>>3],T=t+24|0,W=P+48|0,L=P+56|0,G=P+72|0,t0=(+u[T>>3]-t0)*.5+t0+(+u[L>>3]-+u[G>>3])*.125,u[z+8>>3]=t0,q=(+u[a>>3]-+u[W>>3])*2+Y,u[z+16>>3]=q,u[z+24>>3]=t0,u[z+32>>3]=q,t0=(+u[L>>3]-+u[G>>3])*.5+t0,u[z+40>>3]=t0,u[z+48>>3]=Y,u[z+56>>3]=t0,Q2(r,z,i,o),r0(z),F=j0(F)|0,t0=+u[a>>3]+ +u[_>>3]-+u[W>>3],u[F>>3]=t0,Y=+u[N>>3],Y=(+u[T>>3]-Y)*.5+Y+(+u[L>>3]-+u[G>>3])*-.625,u[F+8>>3]=Y,q=+u[a>>3]-+u[W>>3]+t0,W=F+16|0,u[W>>3]=q,u[F+24>>3]=Y,u[F+32>>3]=q,Y=(+u[L>>3]-+u[G>>3])*.5+Y,u[F+40>>3]=Y,u[F+48>>3]=t0,u[F+56>>3]=Y,Q2(r,F,i,o),u[D>>3]=+u[W>>3],Y=+u[N>>3],u[D+8>>3]=(+u[T>>3]-Y)*.5+Y,u[D+16>>3]=+u[t>>3],u[D+24>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}if((n|0)<234881024){switch(n|0){case 218103808:break;default:break e}F=i<<4,L=j0(F)|0,Y=+u[t>>3],u[L>>3]=Y,W=t+40|0,t0=+u[W>>3],N=t+24|0,G=P+56|0,T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3],u[o>>3]=(+u[T>>3]-+u[i>>3])*.5+Y,y2(r,D,2),r0(F);break}else{switch(n|0){case 268435456:break;default:break e}F=j0(i<<4)|0,u[F>>3]=+u[t>>3],_=P+48|0,G=P+56|0,W=P+72|0,u[F+8>>3]=+u[P+24>>3]-(+u[G>>3]-+u[W>>3])*.5,u[F+16>>3]=+u[_>>3],Y=+u[G>>3],u[F+24>>3]=Y-(Y-+u[W>>3])*.5,u[F+32>>3]=+u[t+32>>3],N=t+40|0,u[F+40>>3]=(+u[G>>3]-+u[W>>3])*.5+ +u[N>>3],u[F+48>>3]=+u[t>>3],u[F+56>>3]=(+u[G>>3]-+u[W>>3])*.5+ +u[N>>3],Q2(r,F,i,o),L=t+16|0,Y=(+u[a>>3]-+u[_>>3])*.25,t0=Y+ +u[L>>3],u[D>>3]=t0,q=+u[N>>3],z=t+24|0,J=+u[G>>3]-+u[W>>3],q=(+u[z>>3]-q)*.5+q+J*.125,T=D+8|0,u[T>>3]=q,i=D+16|0,u[i>>3]=Y+t0,o=D+24|0,u[o>>3]=q-J*.25,y2(r,D,2),J=(+u[a>>3]-+u[_>>3])*.25,q=J+ +u[L>>3],u[D>>3]=q,t0=+u[N>>3],Y=+u[G>>3]-+u[W>>3],t0=(+u[z>>3]-t0)*.5+t0+Y*-.125,u[T>>3]=t0,u[i>>3]=J+q,u[o>>3]=Y*.25+t0,y2(r,D,2),t0=(+u[a>>3]-+u[_>>3])*.25,u[D>>3]=t0+ +u[L>>3],Y=(+u[G>>3]-+u[W>>3])*.75+ +u[N>>3],u[T>>3]=Y,u[i>>3]=+u[t>>3]-t0,u[o>>3]=Y,y2(r,D,2),r0(F);break}else if((n|0)<301989888){switch(n|0){case 285212672:break;default:break e}W=j0(i<<4)|0,_=t+16|0,t0=+u[_>>3],N=P+48|0,t0=(+u[a>>3]-+u[N>>3]+(+u[t>>3]-t0))*.5+t0,u[W>>3]=t0,L=t+40|0,J=+u[L>>3],G=t+24|0,J=(+u[a>>3]-+u[N>>3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+u[W>>3],u[T>>3]=(+u[N>>3]-Y)*.5+Y,u[i>>3]=+u[t>>3],u[o>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}if((n|0)<352321536){switch(n|0){case 335544320:break;default:break e}G=i+12|0,F=j0(G<<4)|0,W=t+16|0,c=+u[W>>3],z=P+48|0,c=(+u[t>>3]-c)*.5+c+(+u[a>>3]-+u[z>>3])*.25,u[F>>3]=c,N=t+40|0,J=+u[N>>3],T=t+24|0,B=P+56|0,x=P+72|0,J=(+u[B>>3]-+u[x>>3]+(+u[T>>3]-J))*.5+J,i=F+8|0,u[i>>3]=J,u[F+16>>3]=c,J=(+u[B>>3]-+u[x>>3])*.125+J,_=F+24|0,u[_>>3]=J,t0=c-(+u[a>>3]-+u[z>>3])*.125,L=F+32|0,u[L>>3]=t0,p=(+u[B>>3]-+u[x>>3])*.125+J,u[F+40>>3]=p,u[F+48>>3]=c,q=(+u[B>>3]-+u[x>>3])*.125+p,u[F+56>>3]=q,u[F+64>>3]=c,c=(+u[B>>3]-+u[x>>3])*.125+q,u[F+72>>3]=c,u[F+80>>3]=t0,u[F+88>>3]=c,t0=+u[W>>3],t0=(+u[t>>3]-t0)*.5+t0,u[F+96>>3]=t0,u[F+104>>3]=q,Y=t0-(+u[a>>3]-+u[z>>3])*.125,u[F+112>>3]=Y,u[F+120>>3]=c,Y=Y-(+u[a>>3]-+u[z>>3])*.125,u[F+128>>3]=Y,u[F+136>>3]=c,u[F+144>>3]=Y,u[F+152>>3]=q,q=(+u[a>>3]-+u[z>>3])*.125+Y,u[F+160>>3]=q,u[F+168>>3]=p,u[F+176>>3]=Y,u[F+184>>3]=J,u[F+192>>3]=Y,Y=+u[i>>3],u[F+200>>3]=Y,u[F+208>>3]=q,u[F+216>>3]=Y,i=F+224|0,u[i>>3]=t0,u[F+232>>3]=+u[_>>3],u[F+240>>3]=+u[L>>3],u[F+248>>3]=Y,Q2(r,F,G,o),e[D>>2]=e[i>>2],e[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-Y)*.5+Y,u[i>>3]=+u[t>>3],u[o>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}}if((n|0)<402653184)if((n|0)<385875968){switch(n|0){case 369098752:break;default:break e}i=i+5|0,F=j0(i<<4)|0,D=P+48|0,u[F>>3]=+u[A>>3]-(+u[a>>3]-+u[D>>3])*.5,W=P+56|0,T=P+72|0,u[F+8>>3]=+u[P+24>>3]-(+u[W>>3]-+u[T>>3])*.5,u[F+16>>3]=+u[D>>3],Y=+u[W>>3],u[F+24>>3]=Y-(Y-+u[T>>3])*.5,u[F+32>>3]=+u[t+32>>3],N=t+40|0,u[F+40>>3]=+u[N>>3],Y=+u[a>>3],u[F+48>>3]=(Y-+u[D>>3])*.5+Y,u[F+56>>3]=+u[N>>3],Y=+u[a>>3],u[F+64>>3]=(Y-+u[D>>3])*.5+Y,u[F+72>>3]=(+u[W>>3]-+u[T>>3])*.5+ +u[N>>3],u[F+80>>3]=+u[A>>3]-(+u[a>>3]-+u[D>>3])*.5,u[F+88>>3]=(+u[W>>3]-+u[T>>3])*.5+ +u[N>>3],u[F+96>>3]=+u[A>>3]-(+u[a>>3]-+u[D>>3])*.5,N=t+56|0,u[F+104>>3]=+u[N>>3],T=t+8|0,Y=+u[T>>3],u[F+120>>3]=Y-(Y-+u[N>>3])*.5,u[F+112>>3]=+u[t>>3],u[F+136>>3]=+u[T>>3],u[F+128>>3]=+u[A>>3]-(+u[a>>3]-+u[D>>3])*.5,Q2(r,F,i,o),r0(F);break}else{switch(n|0){case 385875968:break;default:break e}i=i+3|0,F=j0(i<<4)|0,D=P+48|0,u[F>>3]=+u[A>>3]-(+u[a>>3]-+u[D>>3])*.5,W=P+56|0,T=P+72|0,u[F+8>>3]=+u[P+24>>3]-(+u[W>>3]-+u[T>>3])*.5,u[F+16>>3]=+u[D>>3],Y=+u[W>>3],u[F+24>>3]=Y-(Y-+u[T>>3])*.5,u[F+32>>3]=+u[t+32>>3],N=t+40|0,u[F+40>>3]=(+u[W>>3]-+u[T>>3])*.5+ +u[N>>3],u[F+48>>3]=+u[A>>3]-(+u[a>>3]-+u[D>>3])*.5,u[F+56>>3]=(+u[W>>3]-+u[T>>3])*.5+ +u[N>>3],u[F+64>>3]=+u[A>>3]-(+u[a>>3]-+u[D>>3])*.5,N=t+56|0,u[F+72>>3]=+u[N>>3],T=t+8|0,Y=+u[T>>3],u[F+88>>3]=Y-(Y-+u[N>>3])*.5,u[F+80>>3]=+u[t>>3],u[F+104>>3]=+u[T>>3],u[F+96>>3]=+u[A>>3]-(+u[a>>3]-+u[D>>3])*.5,Q2(r,F,i,o),r0(F);break}else if((n|0)<419430400){switch(n|0){case 402653184:break;default:break e}i=i+3|0,F=j0(i<<4)|0,u[F>>3]=+u[t>>3],W=t+8|0,N=P+48|0,T=P+56|0,D=P+72|0,u[F+8>>3]=+u[W>>3]-(+u[T>>3]-+u[D>>3])*.5,Y=+u[a>>3],u[F+16>>3]=(Y-+u[N>>3])*.5+Y,u[F+24>>3]=+u[W>>3]-(+u[T>>3]-+u[D>>3])*.5,Y=+u[a>>3],u[F+32>>3]=(Y-+u[N>>3])*.5+Y,u[F+40>>3]=+u[P+40>>3],u[F+48>>3]=+u[t+16>>3],Y=+u[t+24>>3],W=t+40|0,u[F+56>>3]=Y-(Y-+u[W>>3])*.5,Y=+u[a>>3],u[F+64>>3]=(Y-+u[N>>3])*.5+Y,u[F+72>>3]=+u[W>>3],u[F+88>>3]=(+u[T>>3]-+u[D>>3])*.5+ +u[W>>3],Y=+u[a>>3],u[F+80>>3]=(Y-+u[N>>3])*.5+Y,u[F+104>>3]=(+u[T>>3]-+u[D>>3])*.5+ +u[t+56>>3],u[F+96>>3]=+u[t>>3],Q2(r,F,i,o),r0(F);break}else{switch(n|0){case 419430400:break;default:break e}i=i+5|0,F=j0(i<<4)|0,u[F>>3]=+u[t>>3],D=t+8|0,T=P+48|0,W=P+56|0,N=P+72|0,u[F+8>>3]=+u[D>>3]-(+u[W>>3]-+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[s+12>>2]=e[A+12>>2],Ao(r,t,i,0,0,n&255),Ao(r,l,7,0,0,0),g=o}function mp(r,t,i,n){r=r|0,t=+t,i=i|0,n=n|0;var o=0,l=0;l=+u[i>>3],o=+u[i+8>>3],o=(+u[n+8>>3]-o)*t+o,u[r>>3]=(+u[n>>3]-l)*t+l,u[r+8>>3]=o}function ZA(r){if(r=r|0,r=e[(e[r+16>>2]|0)+8>>2]|0,r)if(r=e[e[r+4>>2]>>2]|0,(r|0)!=91)if((r|0)==94)r=2;else return((r|0)==93?3:(r|0)==96?4:0)|0;else r=1;else r=0;return r|0}function qp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0;me=g,g=g+144|0,J=me+112|0,t0=me+104|0,D=me+96|0,P=me+88|0,l=me+80|0,F0=me+64|0,O0=me+48|0,f0=me+40|0,k0=me+32|0,s=me+24|0,p=me+16|0,T=me+136|0,N=me+128|0,F=me,ze=j0(48)|0,b0=r+16|0,V0=e[(e[(e[b0>>2]|0)+8>>2]|0)+8>>2]|0,o=(V0|0)==1616,Z0=e[V0>>2]|0,t=e[V0+4>>2]|0,i=e[V0+8>>2]|0,a=+u[V0+16>>3],c=+u[V0+32>>3],w=+u[V0+24>>3],Z0=Z0|(jt(he(r,105511)|0)|0)&255;do if(o)n=0,A=0;else{if(!Z0){V0=e[b0>>2]|0,A=+u[V0+32>>3]*72,n=+u[V0+40>>3]*72,n=+(~~(n+(n>=0?.5:-.5))|0),A=+(~~(A+(A>=0?.5:-.5))|0);break}A=+bp0(r),A>0||(V0=e[b0>>2]|0,n=+u[V0+32>>3],A=+u[V0+40>>3],A=(n=0?.5:-.5))|0)),n=A}while(0);if(V0=pr(r,e[47160]|0,t,0)|0,J0=+sr(r,e[47162]|0,0,-360)+a,i?(U=i,D0=c,B0=w):(D0=+sr(r,e[47163]|0,0,-100),U=pr(r,e[47159]|0,4,0)|0,B0=+sr(r,e[47164]|0,0,-100)),t=e[(e[b0>>2]|0)+104>>2]|0,i=t+24|0,e[F0>>2]=e[i>>2],e[F0+4>>2]=e[i+4>>2],e[F0+8>>2]=e[i+8>>2],e[F0+12>>2]=e[i+12>>2],v=+u[F0>>3],v>0?o||(q=11):o|!(+u[F0+8>>3]>0)||(q=11),(q|0)==11){t=he(r,105496)|0;do if(t){if(u[p>>3]=0,u[s>>3]=0,e[l>>2]=s,e[l+4>>2]=p,t=X2(t,105503,l)|0,a=+u[s>>3],a<0&&(u[s>>3]=0,a=0),c=+u[p>>3],c<0?(u[p>>3]=0,w=0):w=c,(t|0)<=0){c=v+16,u[F0>>3]=c,a=8;break}a=a*72,a=+(~~(a+(a>=0?.5:-.5))<<1|0),c=v+a,u[F0>>3]=c,(t|0)!=1&&(a=w*72,a=+(~~(a+(a>=0?.5:-.5))<<1|0))}else c=v+16,u[F0>>3]=c,a=8;while(0);t=F0+8|0,u[t>>3]=+u[t>>3]+a,t=e[(e[b0>>2]|0)+104>>2]|0,v=c}E=+u[t+24>>3],a=+u[e[(e[(We(r)|0)+16>>2]|0)+8>>2]>>3],a>0?(Y=a*72,Y=+(~~(Y+(Y>=0?.5:-.5))|0),H=+AQ(v,Y),u[F0>>3]=H,p=F0+8|0,u[p>>3]=+AQ(+u[p>>3],Y)):H=v,t=e[(e[b0>>2]|0)+8>>2]|0;do if(y[t+12>>0]|0)if(t=e[t>>2]|0,(y[t>>0]|0)==99&&!(ge(t,105519)|0))if(i=he(r,105526)|0,e7(T,We(r)|0,i),t=e[T>>2]|0,o=e[T+4>>2]|0,(o&t|0)==-1){t=te(r)|0,e[P>>2]=i|0?i:105536,e[P+4>>2]=t,$0(0,105542,P)|0,i=0,t=0;break}else{y[(e[(We(r)|0)+16>>2]|0)+114>>0]=1,i=t+2|0,t=o+2|0;break}else i=0,t=0;else if(i=he(r,109025)|0,i|0&&y[i>>0]|0)if(e7(N,We(r)|0,i),t=e[N>>2]|0,o=e[N+4>>2]|0,(o&t|0)==-1){t=te(r)|0,e[D>>2]=i,e[D+4>>2]=t,$0(0,105587,D)|0,i=0,t=0;break}else{y[(e[(We(r)|0)+16>>2]|0)+114>>0]=1,i=t+2|0,t=o+2|0;break}else i=0,t=0;while(0);Y=+(i|0),u[O0>>3]=H>Y?H:Y,Y=+u[F0+8>>3],m=+(t|0),t=O0+8|0,u[t>>3]=Y>m?Y:m,i=(U|0)<3&(B0!=0|D0!=0)?120:U,o=he(r,105628)|0,o?(l=y[o>>0]|0,l=l<<24>>24==116?116:l<<24>>24==98?98:99):l=99,o=e[b0>>2]|0,y[(e[o+104>>2]|0)+80>>0]=l,(i|0)==4&&(B0==0?((~~(J0+(J0>=0?.5:-.5))|0)%90|0|0)==0:0)&D0==0?p=1:q=39;do if((q|0)==39){if(o=e[(e[(e[o+8>>2]|0)+8>>2]|0)+44>>2]|0,o|0){p=e[o>>2]|0,e[J>>2]=e[O0>>2],e[J+4>>2]=e[O0+4>>2],e[J+8>>2]=e[O0+8>>2],e[J+12>>2]=e[O0+12>>2],Bt[p&63](F,J),e[O0>>2]=e[F>>2],e[O0+4>>2]=e[F+4>>2],e[O0+8>>2]=e[F+8>>2],e[O0+12>>2]=e[F+12>>2],p=0;break}a=+u[t>>3],c=a*1.4142135623730951,n>c&l<<24>>24==99?(w=a/n,w=+G0(+(1/(1-w*w))),w=+u[O0>>3]*w,u[O0>>3]=w):(w=+u[O0>>3]*1.4142135623730951,u[O0>>3]=w,u[t>>3]=c,a=c),(i|0)>2&&(W=+ee(+(3.141592653589793/+(i|0))),u[O0>>3]=w/W,u[t>>3]=a/W),p=0}while(0);a=+u[t>>3],o=wt(r,e[47165]|0,137308)|0,(y[o>>0]|0)==115&&!(ge(o,108230)|0)?(u[O0>>3]=A,u[t>>3]=n,t0=ze+40|0,e[t0>>2]=e[t0>>2]|2048):((jt(o)|0)<<24>>24?(q=e[(e[b0>>2]|0)+104>>2]|0,!(A<+u[q+24>>3])&&!(n<+u[q+32>>3])||(F=te(r)|0,q=te(We(r)|0)|0,e[t0>>2]=F,e[t0+4>>2]=q,$0(0,105637,t0)|0),u[O0>>3]=A):(W=+u[O0>>3],A=A>W?A:W,u[O0>>3]=A,W=+u[t>>3],n=n>W?n:W),u[t>>3]=n),Z0?(G=A>n?A:n,u[t>>3]=G,u[O0>>3]=G,W=G):(W=n,G=A);do if((jt(wt(r,e[47156]|0,137308)|0)|0)<<24>>24)n=H;else{if(p){n=+u[(H>+u[O0>>3]?F0:O0)>>3];break}n=+u[t>>3],Y>3]*+G0(+(1-Y*Y/(n*n))),n=H>n?H:n):n=H}while(0);o=e[(e[b0>>2]|0)+104>>2]|0,u[o+40>>3]=E-v+n,N=ze+40|0,e[N>>2]&2048||(L=+u[t>>3]-a,u[o+48>>3]=(Y1,o=s?V0:1;e:do if((i|0)<3)if(o=j0(o<<5)|0,A=+u[O0>>3]*.5,n=+u[t>>3]*.5,u[o>>3]=-A,u[o+8>>3]=-n,u[o+16>>3]=A,u[o+24>>3]=n,s){for(i=1,l=2;(i|0)!=(V0|0);)G=A+4,W=n+4,u[o+(l<<4)>>3]=-G,u[o+(l<<4)+8>>3]=-W,k0=l|1,u[o+(k0<<4)>>3]=G,u[o+(k0<<4)+8>>3]=W,i=i+1|0,l=l+2|0,A=G,n=W;u[O0>>3]=A*2,u[t>>3]=n*2,i=2}else i=2;else{o=j0(N0(o<<4,i)|0)|0,l=e[(e[(e[(e[b0>>2]|0)+8>>2]|0)+8>>2]|0)+44>>2]|0;r:do if(l)Bt[e[l+4>>2]&63](o,O0),A=+u[t>>3]*.5,n=+u[O0>>3]*.5;else{for(v=6.283185307179586/+(i|0),B=v*.5,m=+le(+B),E=+Qc(+L0(+D0)+ +L0(+B0),1),B=B0*1.4142135623730951/+ee(+B),x=D0*.5,l8((v+-3.141592653589793)*.5,f0,k0),z=J0*.017453292519943295,A=0,n=0,a=0,l=0,c=+u[k0>>3]*.5,w=+u[f0>>3]*.5;;){if((l|0)>=(i|0))break r;if(a=a+v,l8(a,f0,k0),c=+u[k0>>3]*m+c,w=+u[f0>>3]*m+w,L=(w*B+E)*c+x*w,l8(+I2(+w,+L)+z,f0,k0),L=+Qc(L,w),_=+u[k0>>3]*L*+u[O0>>3],L=+u[f0>>3]*L*+u[t>>3],pe=+L0(+_),n=pe>n?pe:n,pe=+L0(+L),A=pe>A?pe:A,u[o+(l<<4)>>3]=_,u[o+(l<<4)+8>>3]=L,p)break;l=l+1|0}pe=-_,u[o+16>>3]=pe,u[o+24>>3]=L,u[o+32>>3]=pe,pe=-L,u[o+40>>3]=pe,u[o+48>>3]=_,u[o+56>>3]=pe}while(0);for(n=n*2,A=A*2,G=G>n?G:n,u[O0>>3]=G,pe=W>A?W:A,u[t>>3]=pe,n=G/n,A=pe/A,l=0;!((l|0)>=(i|0));)t0=o+(l<<4)|0,r=o+(l<<4)+8|0,pe=+u[r>>3]*A,u[t0>>3]=+u[t0>>3]*n,u[r>>3]=pe,l=l+1|0;if(s){s=i+-1|0,A=+u[o>>3],a=+u[o+8>>3],n=+I2(+(a-+u[o+(s<<4)+8>>3]),+(A-+u[o+(s<<4)>>3])),s=0;r:for(;!((s|0)>=(i|0));)for(p=s+1|0,l=(p|0)%(i|0)|0,c=+u[o+(l<<4)>>3],w=+u[o+(l<<4)+8>>3],v=+I2(+(w-a),+(c-A)),W=(n+3.141592653589793-v)*.5,pe=4/+le(+W),l8(n-W,f0,k0),u[f0>>3]=+u[f0>>3]*pe,u[k0>>3]=+u[k0>>3]*pe,l=1,n=a;;){if((l|0)==(V0|0)){n=v,s=p,A=c,a=w;continue r}W=+u[k0>>3]+A,pe=+u[f0>>3]+n,r=(N0(l,i)|0)+s|0,u[o+(r<<4)>>3]=W,u[o+(r<<4)+8>>3]=pe,l=l+1|0,A=W,n=pe}for(s=N0(i,V0+-1|0)|0,l=0;;){if((l|0)>=(i|0))break e;k0=l+s|0,W=+u[o+(k0<<4)+8>>3],G=+L0(+ +u[o+(k0<<4)>>3])*2,pe=+u[O0>>3],u[O0>>3]=G>pe?G:pe,W=+L0(+W)*2,pe=+u[t>>3],u[t>>3]=W>pe?W:pe,l=l+1|0}}}while(0);e[ze>>2]=Z0,e[ze+4>>2]=V0,e[ze+8>>2]=i,u[ze+16>>3]=J0,u[ze+32>>3]=D0,u[ze+24>>3]=B0,e[ze+44>>2]=o,n=+u[O0>>3],e[N>>2]&2048?(i=e[b0>>2]|0,u[i+32>>3]=+u[(H>n?F0:O0)>>3]*.013888888888888888,t=(Y>+u[t>>3]?F0:O0)+8|0):(i=e[b0>>2]|0,u[i+32>>3]=n*.013888888888888888),u[i+40>>3]=+u[t>>3]*.013888888888888888,e[i+12>>2]=ze,g=me}function $p0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+64|0,A=p+40|0,n=p+32|0,a=p+16|0,w=p,i=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]|0)>>>2&1^1,c=r+16|0,o=e[e[(e[c>>2]|0)+104>>2]>>2]|0,e[47282]=o,o=d2(o)|0,o=j0(((o|0)>1?o:1)+1|0)|0,t=kC(r,i,1,o)|0,t||(e[n>>2]=e[e[(e[c>>2]|0)+104>>2]>>2],$0(1,105472,n)|0,e[47282]=105493,t=kC(r,i,1,o)|0),r0(o),oQ(A,r,t),i=e[c>>2]|0,s=+u[i+32>>3]*72,s=+(~~(s+(s>=0?.5:-.5))|0),u[w>>3]=s,l=+u[i+40>>3]*72,l=+(~~(l+(l>=0?.5:-.5))|0),i=w+8|0,u[i>>3]=l,(jt(wt(r,e[47165]|0,137308)|0)|0)<<24>>24?(i=t+8|0,n=t):(s=+u[(+u[t>>3]>s?t:w)>>3],u[w>>3]=s,n=t+8|0,l=+u[(+u[n>>3]>l?t:w)+8>>3],u[i>>3]=l,i=n,n=t),r=(jt(wt(r,e[47156]|0,137308)|0)|0)&255,e[A>>2]=e[w>>2],e[A+4>>2]=e[w+4>>2],e[A+8>>2]=e[w+8>>2],e[A+12>>2]=e[w+12>>2],lQ(t,A,r),Bc(a,s*-.5,l*.5),e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],sQ(t,A,15),w=e[c>>2]|0,u[w+32>>3]=+u[n>>3]*.013888888888888888,u[w+40>>3]=(+u[i>>3]+1)*.013888888888888888,e[w+12>>2]=t,g=p}function Kp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;if(A=j0(48)|0,a=r+16|0,l=e[(e[(e[(e[a>>2]|0)+8>>2]|0)+8>>2]|0)+4>>2]|0,o=+sr(r,e[47146]|0,17976931348623157e292,0),t=+sr(r,e[47145]|0,17976931348623157e292,0),o=o0?o>3e-4?o:3e-4:o,s=e[a>>2]|0,u[s+40>>3]=o,u[s+32>>3]=o,t=o*72,l=pr(r,e[47160]|0,l,0)|0,s=j0((l|0)<1?32:l<<5)|0,o=o*36,n=-o,u[s>>3]=n,u[s+8>>3]=n,u[s+16>>3]=o,u[s+24>>3]=o,(l|0)>1){for(r=1,i=2,n=o,t=o;(r|0)!=(l|0);)c=n+4,o=t+4,u[s+(i<<4)>>3]=-c,u[s+(i<<4)+8>>3]=-o,w=i|1,u[s+(w<<4)>>3]=c,u[s+(w<<4)+8>>3]=o,r=r+1|0,i=i+2|0,n=c,t=o;t=n*2}e[A>>2]=1,e[A+4>>2]=l,e[A+8>>2]=2,w=A+16|0,e[w>>2]=0,e[w+4>>2]=0,e[w+8>>2]=0,e[w+12>>2]=0,e[w+16>>2]=0,e[w+20>>2]=0,e[A+44>>2]=s,c=t*.013888888888888888,w=e[a>>2]|0,u[w+32>>3]=c,u[w+40>>3]=c,e[w+12>>2]=A}function kC(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;o=j0(72)|0,w=e[(e[r+16>>2]|0)+104>>2]|0,c=0,l=1,s=e[47282]|0;e:for(;;){switch(A=y[s>>0]|0,A<<24>>24){case 0:break e;case 92:{switch(s=s+1|0,A=y[s>>0]|0,A<<24>>24){case 124:case 125:case 123:case 92:{a=c;break}default:J=4}break}default:J=4}if((J|0)==4){switch(J=0,A<<24>>24){case 123:{a=c+1|0;break}case 125:{a=c+-1|0;break}default:a=c,l=l+((c|0)==0&A<<24>>24==124&1)|0}if((a|0)<0)break}c=a,s=s+1|0}D=o+56|0,e[D>>2]=j0(l<<2)|0,y[o+64>>0]=t,W=(t|0)==0&1,N=w+82|0,T=n+1|0,_=(i|0)!=0,L=w+16|0,G=w+4|0,z=w+8|0,A=0,c=0,t=0,x=0,a=0,i=0,w=n,l=0,s=0;e:for(;;){v=A,A=0;r:for(;;){t:for(;;){B=i;i:for(;;){E=A,p=l;n:for(;;){m=c;o:for(;;){for(;;){if(x){J=78;break e}if(c=e[47282]|0,l=y[c>>0]|0,(l+-1&255)>=31)break;e[47282]=c+1}switch(l<<24>>24|0){case 92:{J=53;break t}case 0:case 124:case 125:break i;case 60:break n;case 62:break o;case 123:break;default:{A=t,l=c;break t}}if(l=c+1|0,e[47282]=l,a|0){J=34;break e}if(!(y[l>>0]|0)){J=34;break e}if(i=kC(r,W,0,n)|0,e[(e[D>>2]|0)+(m<<2)>>2]=i,i)m=m+1|0,a=4;else{J=36;break e}}if(y[N>>0]|0){A=t,l=c;break t}if(!(a&16)){J=27;break e}p>>>0>T>>>0&&(P=p+-1|0,(P|0)!=(B|0))?l=(y[P>>0]|0)==32?P:p:l=p,y[l>>0]=0,E=C2(n)|0,e[47282]=(e[47282]|0)+1,c=m,a=a&-17,p=l}if(a&6|0){J=22;break e}if(y[N>>0]|0){A=t,l=c;break t}e[47282]=c+1,c=m,a=a|18,A=E,B=n,l=n}if(!((a&16|0)==0&(_|l<<24>>24!=0))){J=38;break e}switch(a&4?(A=v,c=m):(A=j0(72)|0,e[(e[D>>2]|0)+(m<<2)>>2]=A,c=m+1|0),E|0&&(e[A+60>>2]=E),a&5||(y[n+s>>0]=32,a=a|1,s=s+1|0),l=n+s|0,a&1&&((s|0)>1&&(U=l+-1|0,(U|0)!=(w|0))&&(l=(y[U>>0]|0)==32?U:l),y[l>>0]=0,w=C2(n)|0,e[A+52>>2]=LA(r,w,y[N>>0]|0?2:0,+u[L>>3],e[G>>2]|0,e[z>>2]|0)|0,y[A+64>>0]=1,w=n,s=0),l=e[47282]|0,y[l>>0]|0){case 0:{x=1,i=B,l=p;continue e}case 125:{J=51;break e}default:}e[47282]=l+1,v=A,a=0,A=0,i=B,l=p}t:do if((J|0)==53){switch(J=0,A=n+s|0,l=c+1|0,y[l>>0]|0){case 0:{A=t,l=c;break t}case 62:case 60:case 124:case 125:case 123:{A=t;break}case 32:{y[N>>0]|0?J=55:A=1;break}default:J=55}(J|0)==55&&(J=0,y[A>>0]=92,A=t,a=a|9,s=s+1|0),e[47282]=l}while(0);if(t=n+s|0,a&4|0&&(y[l>>0]|0)!=32){J=59;break e}for(a&24||(a=(y[l>>0]|0)==32?a:a|9),a&8?(c=y[l>>0]|0,i=(A|0)!=0,!(i|c<<24>>24!=32)&&(y[t+-1>>0]|0)==32&&!(y[N>>0]|0)||(y[t>>0]=c,s=s+1|0),i?(i=B,w=n+s+-1|0):i=B):a&16?(c=y[l>>0]|0,t=(A|0)!=0,t|c<<24>>24!=32?J=73:(p|0)!=(n|0)?(y[p+-1>>0]|0)==32?c=p:J=73:c=n,(J|0)==73&&(J=0,y[p>>0]=c,c=p+1|0,l=e[47282]|0),i=t?c+-1|0:B,p=c):i=B,l=l+1|0,e[47282]=l;;){if((y[l>>0]|0)>=0){c=m,t=A,A=E,l=p;continue r}B=l+1|0,e[47282]=B,y[n+s>>0]=y[l>>0]|0,s=s+1|0,l=B}}}return(J|0)==22||(J|0)==27||(J|0)==34||(J|0)==36||(J|0)==38?(Ic(o,E),o=0):(J|0)==51?(e[47282]=l+1,e[o+48>>2]=c):(J|0)==59?(Ic(o,E),o=0):(J|0)==78&&(e[o+48>>2]=m),o|0}function oQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+64|0,A=x+48|0,a=x+40|0,c=x+32|0,B=x+16|0,E=x,s=e[i+52>>2]|0;e:do if(s){if(o=+u[s+24>>3],n=+u[s+32>>3],o>0|n>0){s=he(t,105496)|0;do if(s){if(e[A>>2]=a,e[A+4>>2]=c,s=X2(s,105503,A)|0,(s|0)<=0){l=8,o=o+16;break}l=+u[a>>3]*72,l=+(~~(l+(l>=0?.5:-.5))<<1|0),o=o+l,(s|0)!=1&&(l=+u[c>>3]*72,l=+(~~(l+(l>=0?.5:-.5))<<1|0))}else l=8,o=o+16;while(0);n=l+n}u[B>>3]=o,u[B+8>>3]=n}else for(c=B+8|0,w=i+48|0,p=i+56|0,v=i+64|0,m=E+8|0,e[B>>2]=0,e[B+4>>2]=0,e[B+8>>2]=0,e[B+12>>2]=0,s=0;;){if((s|0)>=(e[w>>2]|0))break e;oQ(E,t,e[(e[p>>2]|0)+(s<<2)>>2]|0),y[v>>0]|0?(u[B>>3]=+u[B>>3]+ +u[E>>3],A=c,a=(+u[c>>3]>+u[m>>3]?B:E)+8|0):(u[c>>3]=+u[c>>3]+ +u[m>>3],A=B,a=+u[B>>3]>+u[E>>3]?B:E),u[A>>3]=+u[a>>3],s=s+1|0}while(0);e[i>>2]=e[B>>2],e[i+4>>2]=e[B+4>>2],e[i+8>>2]=e[B+8>>2],e[i+12>>2]=e[B+12>>2],e[r>>2]=e[B>>2],e[r+4>>2]=e[B+4>>2],e[r+8>>2]=e[B+8>>2],e[r+12>>2]=e[B+12>>2],g=x}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=e[a+12>>2],A=e[r+48>>2]|0,a=A+-1|0,c=(i|0)==0,w=r+56|0,l=r+64|0,o=0;!((o|0)>=(A|0));){do if(c)r=0;else if(r=(o|0)==0,n=(o|0)==(a|0),y[l>>0]|0)if(r){r=n?15:13;break}else{r=n?7:5;break}else if(r){r=n?15:14;break}else{r=n?11:10;break}while(0);n=e[(e[w>>2]|0)+(o<<2)>>2]|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],sQ(n,s,r&i),y[l>>0]|0?u[t>>3]=+u[e[(e[w>>2]|0)+(o<<2)>>2]>>3]+ +u[t>>3]:u[p>>3]=+u[p>>3]-+u[(e[(e[w>>2]|0)+(o<<2)>>2]|0)+8>>3],o=o+1|0}g=v}function Ic(r,t){r=r|0,t=t|0,vC(r),r0(t)}function vC(r){r=r|0;var t=0,i=0,n=0;for(i=r+48|0,n=r+56|0,t=0;!((t|0)>=(e[i>>2]|0));)vC(e[(e[n>>2]|0)+(t<<2)>>2]|0),t=t+1|0;r0(e[r+60>>2]|0),fn(e[r+52>>2]|0),r0(e[n>>2]|0),r0(r)}function bp0(r){r=r|0;var t=0,i=0;return i=+sr(r,e[47146]|0,0,.01),t=+sr(r,e[47145]|0,0,.02),t=(i>t?i:t)*72,+ +(~~(t+(t>=0?.5:-.5))|0)}function AQ(r,t){r=+r,t=+t;var i=0;return i=~~(r/t),+(+((+(i|0)*t+1e-5>2]|0)+8>>2]|0,r?r=(e[e[r+4>>2]>>2]|0)==91&1:r=0,r|0}function mC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;n=e[47283]|0;e:do if(!n)t=0;else for(o=e[47284]|0,i=0;;){if((i|0)>=(o|0)){t=0;break e}if(t=e[n+(i<<2)>>2]|0,l=e[t>>2]|0,(y[l>>0]|0)==(y[r>>0]|0)&&!(ge(l,r)|0))break e;i=i+1|0}while(0);return t|0}function rk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;Gp(he(t,105526)|0)|0?(y[r>>0]|0)==101&&!(ge(r,105685)|0)?(t=101,o=6):(r=105519,o=4):o=4,(o|0)==4&&(t=y[r>>0]|0,t<<24>>24==99?ge(r,105519)|0?(t=99,o=6):o=11:o=6);e:do if((o|0)==6)for(i=20848;;){if(n=e[i>>2]|0,!n){o=11;break e}if((y[n>>0]|0)==t<<24>>24&&!(ge(n,r)|0)){r=i;break e}i=i+16|0}while(0);return(o|0)==11&&(r=tk0(r)|0),r|0}function tk0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(l=g,g=g+16|0,o=l,t=mC(r)|0,!t){n=e[47284]|0,t=n+1|0,e[47284]=t,i=e[47283]|0,i?t=Oe(i,t<<2)|0:t=_0(t<<2)|0,e[47283]=t,t=j0(16)|0,e[(e[47283]|0)+(n<<2)>>2]=t,e[t>>2]=e[5212],e[t+4>>2]=e[5213],e[t+8>>2]=e[5214],e[t+12>>2]=e[5215],i=C2(r)|0,e[t>>2]=i;do{if((y[r>>0]|0)==99&&!(ge(r,105519)|0)){i=1;break}e[o>>2]=e[5212],e[o+4>>2]=i,$0(0,105690,o)|0,i=0}while(0);y[t+12>>0]=i}return g=l,t|0}function ik0(r,t){r=r|0,t=t|0;var i=0,n=0;n=+u[t>>3]*.5257311121191336,i=+u[t+8>>3]*.8944271909999159,i=n>i?n:i,u[r>>3]=i*4.97979656976556,u[r+8>>3]=i*4.73606797749979}function nk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(n=+u[t>>3],c=t+8|0,o=+u[c>>3],i=o/n,i>.9510565162951536?a=o*1.0514622242382672:i<.9510565162951536?(a=n,o=n*.9510565162951536):a=n,n=a*.5257311121191336,s=a*.20081141588622725,A=a*.05020285397155681,i=.3141592653589793,l=0;!((l|0)>=10);)u[r+(l<<4)>>3]=+ee(+i)*n,u[r+(l<<4)+8>>3]=+le(+i)*n-A,p=i+.6283185307179586,w=l|1,u[r+(w<<4)>>3]=+ee(+p)*s,u[r+(w<<4)+8>>3]=+le(+p)*s-A,i=i+1.2566370614359172,l=l+2|0;u[t>>3]=a,u[c>>3]=o}function ok0(r){r=r|0,r=e[(e[r+16>>2]|0)+12>>2]|0,r|0&&(r0(e[r+44>>2]|0),r0(r))}function lk0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;if(p=g,g=g+80|0,a=p+40|0,o=p,w=p+64|0,l=p+56|0,y[i>>0]|0){s=n|0?n:106356,e[w>>2]=15,A=t+16|0,n=e[A>>2]|0;do if(y[(e[n+104>>2]|0)+82>>0]|0){if(n=cn0(t,i,w)|0,!n){n=e[A>>2]|0,c=8;break}Qh(t,n,o,s,e[w>>2]|0,0)|0&&(e[a>>2]=te(t)|0,e[a+4>>2]=i,e[a+8>>2]=s,$0(0,106358,a)|0)}else c=8;while(0);(c|0)==8&&((e[(e[n+8>>2]|0)+8>>2]|0)==1664?l=0:(e[l>>2]=t,e[l+4>>2]=0),Qh(t,0,o,i,e[w>>2]|0,l)|0&&wQ(t,i)),e[o+36>>2]=0,l=r+40|0;do e[r>>2]=e[o>>2],r=r+4|0,o=o+4|0;while((r|0)<(l|0))}else{o=4208,l=r+40|0;do e[r>>2]=e[o>>2],r=r+4|0,o=o+4|0;while((r|0)<(l|0))}g=p}function uQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;if(E=g,g=g+112|0,w=E+96|0,c=E+80|0,v=E+64|0,a=E+48|0,m=E+32|0,p=E,o=E+16|0,!r)e[47287]=0,r=0;else{l=e[r+4>>2]|0,r=e[r>>2]|0,s=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[w>>2]=e[t>>2],e[w+4>>2]=e[t+4>>2],e[w+8>>2]=e[t+8>>2],e[w+12>>2]=e[t+12>>2],_s(o,w,s),e[m>>2]=e[o>>2],e[m+4>>2]=e[o+4>>2],e[m+8>>2]=e[o+8>>2],e[m+12>>2]=e[o+12>>2];e:do if(l)i=+u[l+8>>3],n=+u[l+24>>3],B=+u[m>>3],+u[l>>3]<=B&&B<=+u[l+16>>3]&&(A=+u[m+8>>3],i<=A)?r=A<=n&1:r=0;else for((r|0)==(e[47287]|0)?(o=e[47288]|0,l=e[47290]|0,s=e[47289]|0):(l=e[(e[r+16>>2]|0)+12>>2]|0,e[47291]=l,s=e[l+44>>2]|0,e[47289]=s,o=e[l+8>>2]|0,e[47288]=o,l=N0((e[l+4>>2]|0)+-1|0,o)|0,l=(l|0)>0?l:0,e[47290]=l,e[47287]=r),r=0,t=0;;){if((r|0)>=(o|0)){r=1;break e}if(x=s+(l+r<<4)|0,e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],x=s+(l+((r+4|0)%(o|0)|0)<<4)|0,e[a>>2]=e[m>>2],e[a+4>>2]=e[m+4>>2],e[a+8>>2]=e[m+8>>2],e[a+12>>2]=e[m+12>>2],e[v>>2]=e[46614],e[v+4>>2]=e[46615],e[v+8>>2]=e[46616],e[v+12>>2]=e[46617],e[c>>2]=e[p>>2],e[c+4>>2]=e[p+4>>2],e[c+8>>2]=e[p+8>>2],e[c+12>>2]=e[p+12>>2],e[w>>2]=e[x>>2],e[w+4>>2]=e[x+4>>2],e[w+8>>2]=e[x+8>>2],e[w+12>>2]=e[x+12>>2],t=t+((Nh(a,v,c,w)|0)==0&1)|0,(t|0)==2){r=0;break}else r=r+2|0}while(0)}return g=E,r|0}function sk0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,i=e[r+16>>2]|0,y[(e[i+104>>2]|0)+82>>0]|0&&y[i+145>>0]|0?r=wn0(r,t,0,n,o)|0:r=0,r|0}function Ak0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0;f0=g,g=g+48|0,U=f0+24|0,P=f0+16|0,L=f0+8|0,_=f0,t0=f0+32|0,s=f0+28|0,Y=e[r+16>>2]|0,H=Y+208|0,i=e[H>>2]|0,!(i|0)&&!($[Y+260>>1]&1)?F=0:T=4,(T|0)==4&&(e[r+152>>2]&4||xn(r,i,e[Y+228>>2]|0,e[Y+244>>2]|0,e[Y+212>>2]|0),F=1),J=t+16|0,i=e[J>>2]|0,w=e[i+12>>2]|0,D=e[w+44>>2]|0,q=e[w+8>>2]|0,w=e[w+4>>2]|0,(e[47285]|0)<(q|0)&&(i=q+5|0,e[47285]=i,n=e[47286]|0,n?i=Oe(n,i<<4)|0:i=_0(i<<4)|0,e[47286]=i,i=e[J>>2]|0),N=(e[i+104>>2]|0)+56|0,i=i+16|0,e[N>>2]=e[i>>2],e[N+4>>2]=e[i+4>>2],e[N+8>>2]=e[i+8>>2],e[N+12>>2]=e[i+12>>2],N=e[J>>2]|0,G=+u[N+32>>3]*72,G=(+u[N+96>>3]+ +u[N+88>>3])/+(~~(G+(G>=0?.5:-.5))|0),W=+u[N+40>>3]*72,W=+u[N+80>>3]/+(~~(W+(W>=0?.5:-.5))|0),N=fQ(r,t)|0,e[t0>>2]=0,i=s0[(e[J>>2]|0)+117>>0]|0;do if(i&1)p=F2(t,0,106240)|0,Z2(r,p),tr(r,F2(t,0,106248)|0),n=0,i=1;else{if(i&2|0){p=F2(t,0,106256)|0,Z2(r,p),tr(r,F2(t,0,106264)|0),n=0,i=1;break}if(i&8|0){p=F2(t,0,106272)|0,Z2(r,p),tr(r,F2(t,0,106280)|0),n=0,i=1;break}if(i&4|0){p=F2(t,0,106288)|0,Z2(r,p),tr(r,F2(t,0,106296)|0),n=0,i=1;break}N&1?(n=gC(t)|0,(Rh(n,t0,s)|0)<<24>>24?(tr(r,e[t0>>2]|0),i=e[t0+4>>2]|0,l=pr(t,e[47173]|0,0,0)|0,o=+x0[s>>2],i?so(r,i,l,o):so(r,137314,l,o),i=(N&2)>>>1|2):(tr(r,n),i=1)):N&576?(n=gC(t)|0,i=1):(n=0,i=0),p=gp(r,t)|0}while(0);for(l=e[(e[J>>2]|0)+8>>2]|0,y[l+12>>0]|0?(l=e[l>>2]|0,(y[l>>0]|0)==99?(l=(ge(l,105519)|0)==0,T=33):m=1):(l=1,T=33),(T|0)==33&&(l=l^1,(w|0)!=0|i<<24>>24==0|l?m=l:(Z2(r,137379),w=1,m=0)),E=(q|0)<3,B=(N&512|0)!=0,z=(N&8|0)==0,x=(N&64|0)==0,a=(N&1024|0)==0,c=(N&2130706444|0)==0,v=0;!((v|0)>=(w|0));){for(s=N0(v,q)|0,A=e[47286]|0,l=0;!((l|0)>=(q|0));)B0=l+s|0,o=+u[D+(B0<<4)+8>>3],k0=e[J>>2]|0,u[A+(l<<4)>>3]=+u[k0+16>>3]+ +u[D+(B0<<4)>>3]*G,u[A+(l<<4)+8>>3]=+u[k0+24>>3]+o*W,l=l+1|0;do if(E)B&(v|0)==0&&Zr(n,58)|0&&((ND(r,A,n)|0)>1&&(e[_>>2]=te(t)|0,$0(3,106304,_)|0),i=0),Y3(r,e[47286]|0,q,i&255),z||aQ(r,t);else{if(!x){!(v|0)&&(h7(r,A,n,1)|0)>1&&(e[L>>2]=te(t)|0,$0(3,106304,L)|0),Q2(r,e[47286]|0,q,0);break}if(!a){Z2(r,137379),Q2(r,e[47286]|0,q,i&255),Z2(r,p),y2(r,(e[47286]|0)+32|0,2);break}if(i=i&255,c){Q2(r,A,q,i);break}else{_f(r,A,q,N,i);break}}while(0);v=v+1|0,i=0}if(l=e[(e[J>>2]|0)+8>>2]|0,y[l+12>>0]|0?(l=e[l>>2]|0,(y[l>>0]|0)==99&&!(ge(l,105519)|0)?(l=he(t,105526)|0,l|0&&y[l>>0]|0&&(A=l,T=65)):(A=l,T=65)):(l=he(t,109025)|0,l|0&&y[l>>0]|0&&(A=l,T=65)),(T|0)==65){for(s=e[47286]|0,l=0;!((l|0)>=(q|0));)o=+u[D+(l<<4)+8>>3],B0=e[J>>2]|0,u[s+(l<<4)>>3]=+u[B0+16>>3]+ +u[D+(l<<4)>>3]*G,u[s+(l<<4)+8>>3]=+u[B0+24>>3]+o*W,l=l+1|0;l=i&255;do if(!(m|i<<24>>24==0)){if(E){if(B&(v|0)==0&&Zr(n,58)|0&&((ND(r,s,n)|0)>1&&(e[P>>2]=te(t)|0,$0(3,106304,P)|0),i=0),Y3(r,e[47286]|0,q,i&255),z)break;aQ(r,t);break}if(x)if(N&12){_f(r,s,q,N,l);break}else{Q2(r,s,q,l);break}else{(h7(r,s,n,1)|0)>1&&(e[U>>2]=te(t)|0,$0(3,106304,U)|0),Q2(r,e[47286]|0,q,0);break}}while(0);B0=e[47286]|0,WR(r,A,B0,q,i,wt(t,e[47166]|0,137308)|0)}r0(e[t0>>2]|0),Ef(r,10,e[(e[J>>2]|0)+104>>2]|0),F&&(e[r+152>>2]&4|0&&xn(r,e[H>>2]|0,e[Y+228>>2]|0,e[Y+244>>2]|0,e[Y+212>>2]|0),Bl(r)),g=f0}function fQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+16|0,n=l,i=hQ(t,n)|0,i|0&&a1(r,i),i=e[47172]|0,i|0&&(o=k2(t,i)|0,o|0)&&y[o>>0]|0&&Uo(r,+sr(t,e[47172]|0,1,0)),g=l,e[n>>2]|0}function gC(r){return r=r|0,cQ(r,134800)|0}function gp(r,t){return r=r|0,t=t|0,t=F2(t,e[47148]|0,195059)|0,t=y[t>>0]|0?t:137314,Z2(r,t),t|0}function aQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;i=g,g=g+96|0,A=i+80|0,a=i+64|0,n=i+32|0,c=i+16|0,l=i,t=e[t+16>>2]|0,o=+u[t+80>>3],u[c+8>>3]=o*.375,s=+u[t+96>>3],u[c>>3]=s*.6614,t=t+16|0,e[a>>2]=e[c>>2],e[a+4>>2]=e[c+4>>2],e[a+8>>2]=e[c+8>>2],e[a+12>>2]=e[c+12>>2],e[A>>2]=e[t>>2],e[A+4>>2]=e[t+4>>2],e[A+8>>2]=e[t+8>>2],e[A+12>>2]=e[t+12>>2],yp(l,a,A),e[n>>2]=e[l>>2],e[n+4>>2]=e[l+4>>2],e[n+8>>2]=e[l+8>>2],e[n+12>>2]=e[l+12>>2],l=n+8|0,t=n+24|0,u[t>>3]=+u[l>>3],u[n+16>>3]=+u[n>>3]-s*1.3228,y2(r,n,2),o=+u[l>>3]-o*.75,u[l>>3]=o,u[t>>3]=o,y2(r,n,2),g=i}function yp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function cQ(r,t){r=r|0,t=t|0;var i=0;return i=F2(r,e[47149]|0,195059)|0,y[i>>0]|0?i|0:(i=F2(r,e[47148]|0,195059)|0,(y[i>>0]|0?i:t)|0)}function hQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;i=F2(r,e[47157]|0,195059)|0;e:do if(!(y[i>>0]|0))o=0,i=0;else{o=hc(i)|0,l=o,i=0;r:for(;;){if(n=e[l>>2]|0,!n)break e;switch(y[n>>0]|0){case 102:{if(!(ge(n,111101)|0)){l=l+4|0,i=i|1;continue r}break}case 114:{if(!(ge(n,106316)|0)){n=l;do A=n,n=n+4|0,s=e[n>>2]|0,e[A>>2]=s;while(s|0);A=l,i=i|4,l=A;continue r}if(!(ge(n,106334)|0)){n=l;do s=n,n=n+4|0,A=e[n>>2]|0,e[s>>2]=A;while(A|0);A=l,i=i|3,l=A;continue r}break}case 100:{if(!(ge(n,106324)|0)){n=l;do s=n,n=n+4|0,A=e[n>>2]|0,e[s>>2]=A;while(A|0);A=l,i=i|8,l=A;continue r}break}case 105:{if(!(ge(n,134335)|0)){l=l+4|0,i=i|32;continue r}break}case 115:{if(!(ge(n,106341)|0)&&uk0(r)|0){n=l;do s=n,n=n+4|0,A=e[n>>2]|0,e[s>>2]=A;while(A|0);A=l,i=i|64,l=A;continue r}break}case 119:{if(!(ge(n,106349)|0)&&fk0(r)|0){n=l;do s=n,n=n+4|0,A=e[n>>2]|0,e[s>>2]=A;while(A|0);A=l,i=i|512,l=A;continue r}break}default:}l=l+4|0}}while(0);return n=e[(e[(e[r+16>>2]|0)+8>>2]|0)+8>>2]|0,n&&(i=e[n+40>>2]|i),e[t>>2]=i,o|0}function uk0(r){r=r|0;var t=0;return r=e[(e[(e[r+16>>2]|0)+8>>2]|0)+8>>2]|0,r|0&&(e[r+8>>2]|0)==4&&(t=+u[r+16>>3],((~~(t+(t>=0?.5:-.5))|0)%90|0|0)==0)&&+u[r+24>>3]==0?r=+u[r+32>>3]==0&1:r=0,r|0}function fk0(r){return r=r|0,r=e[(e[(e[r+16>>2]|0)+8>>2]|0)+8>>2]|0,r?r=(e[r+8>>2]|0)<3&1:r=0,r|0}function Nh(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return A=+u[i+8>>3],s=-(+u[n+8>>3]-A),l=+u[i>>3],o=+u[n>>3]-l,l=o*A+l*s,(+u[r+8>>3]*o+ +u[r>>3]*s-l>=0^+u[t>>3]*s-l+ +u[t+8>>3]*o>=0^1)&1|0}function Qh(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0;F=g,g=g+192|0,T=F+176|0,U=F+160|0,a=F+144|0,W=F+128|0,N=F+112|0,c=F+96|0,w=F+80|0,p=F+64|0,z=F+48|0,_=F+32|0,L=F+16|0,P=F,t?(A=+u[t>>3],B=+u[t+8>>3],v=+u[t+16>>3],m=+u[t+24>>3],Bc(a,(v+A)*.5,(m+B)*.5),e[U>>2]=e[a>>2],e[U+4>>2]=e[a+4>>2],e[U+8>>2]=e[a+8>>2],e[U+12>>2]=e[a+12>>2],q=U+8|0,a=1,D=U,s=+u[U>>3],J=q,E=+u[q>>3]):(e[U>>2]=0,e[U+4>>2]=0,e[U+8>>2]=0,e[U+12>>2]=0,a=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1|0)==0,D=e[r+16>>2]|0,v=+u[D+80>>3]*.5,s=+u[D+88>>3],B=a?v:s,v=a?s:v,a=0,D=U,s=0,A=-v,m=B,J=U+8|0,E=0,B=-B),x=(v>m?v:m)*4;e:do if(n|0&&(G=y[n>>0]|0,G<<24>>24!=0))switch(n=n+1|0,G<<24>>24|0){case 99:{p=1,o=0,n=0,c=0,s=0,w=0;break e}case 101:{if(y[n>>0]|0){p=1,o=0,n=0,c=0,s=0,w=1;break e}l?(WA(W,l,E,x),e[U>>2]=e[W>>2],e[U+4>>2]=e[W+4>>2],e[U+8>>2]=e[W+8>>2],e[U+12>>2]=e[W+12>>2]):u[D>>3]=v,p=0,o=o&2,n=0,c=1,s=0,w=0,a=1;break e}case 115:switch(u[J>>3]=B,y[n>>0]|0){case 0:{l?(WA(N,l,-x,s),e[U>>2]=e[N>>2],e[U+4>>2]=e[N+4>>2],e[U+8>>2]=e[N+8>>2],e[U+12>>2]=e[N+12>>2]):u[D>>3]=s,p=0,o=o&1,n=0,c=1,s=-1.5707963267948966,w=0,a=1;break e}case 101:{l?(WA(c,l,-x,x),e[U>>2]=e[c>>2],e[U+4>>2]=e[c+4>>2],e[U+8>>2]=e[c+8>>2],e[U+12>>2]=e[c+12>>2]):u[D>>3]=v,p=0,o=o&3,n=0,c=1,s=-.7853981633974483,w=0,a=1;break e}case 119:{l?(x=-x,WA(w,l,x,x),e[U>>2]=e[w>>2],e[U+4>>2]=e[w+4>>2],e[U+8>>2]=e[w+8>>2],e[U+12>>2]=e[w+12>>2]):u[D>>3]=A,p=0,o=o&9,n=0,c=1,s=-2.356194490192345,w=0,a=1;break e}default:{u[J>>3]=E,p=1,o=0,n=0,c=0,s=0,w=1;break e}}case 119:{if(y[n>>0]|0){p=1,o=0,n=0,c=0,s=0,w=1;break e}l?(WA(p,l,E,-x),e[U>>2]=e[p>>2],e[U+4>>2]=e[p+4>>2],e[U+8>>2]=e[p+8>>2],e[U+12>>2]=e[p+12>>2]):u[D>>3]=A,p=0,o=o&8,n=0,c=1,s=3.141592653589793,w=0,a=1;break e}case 110:switch(u[J>>3]=m,y[n>>0]|0){case 0:{l?(WA(z,l,x,s),e[U>>2]=e[z>>2],e[U+4>>2]=e[z+4>>2],e[U+8>>2]=e[z+8>>2],e[U+12>>2]=e[z+12>>2]):u[D>>3]=s,p=0,o=o&4,n=0,c=1,s=1.5707963267948966,w=0,a=1;break e}case 101:{l?(WA(_,l,x,x),e[U>>2]=e[_>>2],e[U+4>>2]=e[_+4>>2],e[U+8>>2]=e[_+8>>2],e[U+12>>2]=e[_+12>>2]):u[D>>3]=v,p=0,o=o&6,n=0,c=1,s=.7853981633974483,w=0,a=1;break e}case 119:{l?(WA(L,l,x,-x),e[U>>2]=e[L>>2],e[U+4>>2]=e[L+4>>2],e[U+8>>2]=e[L+8>>2],e[U+12>>2]=e[L+12>>2]):u[D>>3]=A,p=0,o=o&12,n=0,c=1,s=2.356194490192345,w=0,a=1;break e}default:{u[J>>3]=E,p=1,o=0,n=0,c=0,s=0,w=1;break e}}case 95:{p=1,n=1,c=0,s=0,w=0;break e}default:{p=1,o=0,n=0,c=0,s=0,w=1;break e}}else p=1,o=0,n=0,c=0,s=0,w=0;while(0);return q=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[T>>2]=e[U>>2],e[T+4>>2]=e[U+4>>2],e[T+8>>2]=e[U+8>>2],e[T+12>>2]=e[U+12>>2],dp(P,T,q),e[U>>2]=e[P>>2],e[U+4>>2]=e[P+4>>2],e[U+8>>2]=e[P+8>>2],e[U+12>>2]=e[P+12>>2],n<<24>>24||(o=ak0(o,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)|0),y[i+33>>0]=o,e[i+24>>2]=t,A=+u[D>>3],u[i>>3]=+(~~(A+(A>=0?.5:-.5))|0),A=+u[J>>3],u[i+8>>3]=+(~~(A+(A>=0?.5:-.5))|0),u[i+16>>3]=+ck0(s,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3),A=+u[D>>3],s=+u[J>>3],A==0&s==0?o=-128:(x=+I2(+s,+A),B=x+4.71238898038469,o=~~((B>=6.283185307179586?x+-1.5707963267948966:B)*40.74366543152521)&255),y[i+32>>0]=o,y[i+29>>0]=c,y[i+28>>0]=a,y[i+30>>0]=p,y[i+31>>0]=n,g=F,w|0}function wQ(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=te(r)|0,e[n+4>>2]=t,$0(0,106419,n)|0,g=i}function WA(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;v=g,g=g+128|0,l=v+112|0,A=v+48|0,a=v+16|0,c=v+32|0,w=v,p=e[t>>2]|0,s=e[(e[(We(p)|0)+16>>2]|0)+116>>2]&3,u[a>>3]=n,u[a+8>>3]=i,o=(s|0)!=0,o&&(e[l>>2]=e[a>>2],e[l+4>>2]=e[a+4>>2],e[l+8>>2]=e[a+8>>2],e[l+12>>2]=e[a+12>>2],dp(c,l,s*90|0),e[a>>2]=e[c>>2],e[a+4>>2]=e[c+4>>2],e[a+8>>2]=e[c+8>>2],e[a+12>>2]=e[c+12>>2]),c=A+48|0,m=A+32|0,e[A>>2]=0,e[A+4>>2]=0,e[A+8>>2]=0,e[A+12>>2]=0,e[A+16>>2]=0,e[A+20>>2]=0,e[A+24>>2]=0,e[A+28>>2]=0,e[m>>2]=e[a>>2],e[m+4>>2]=e[a+4>>2],e[m+8>>2]=e[a+8>>2],e[m+12>>2]=e[a+12>>2],e[c>>2]=e[a>>2],e[c+4>>2]=e[a+4>>2],e[c+8>>2]=e[a+8>>2],e[c+12>>2]=e[a+12>>2],Ep(t,e[(e[(e[(e[p+16>>2]|0)+8>>2]|0)+4>>2]|0)+12>>2]|0,A,1),o&&(e[l>>2]=e[A>>2],e[l+4>>2]=e[A+4>>2],e[l+8>>2]=e[A+8>>2],e[l+12>>2]=e[A+12>>2],_s(w,l,s*90|0),e[A>>2]=e[w>>2],e[A+4>>2]=e[w+4>>2],e[A+8>>2]=e[w+8>>2],e[A+12>>2]=e[w+12>>2]),e[r>>2]=e[A>>2],e[r+4>>2]=e[A+4>>2],e[r+8>>2]=e[A+8>>2],e[r+12>>2]=e[A+12>>2],g=v}function ak0(r,t){r=r|0,t=t|0;e:do switch(t|0){case 3:switch(r|0){case 4:{r=2;break e}case 1:{r=8;break e}case 8:{r=1;break e}case 2:{r=4;break e}default:break e}case 2:switch(r|0){case 4:{r=1;break e}case 1:{r=4;break e}default:break e}case 1:switch(r|0){case 4:{r=2;break e}case 1:{r=8;break e}case 8:{r=4;break e}case 2:{r=1;break e}default:break e}default:}while(0);return r|0}function ck0(r,t){switch(r=+r,t=t|0,t|0){case 3:{r!=3.141592653589793?r!=2.356194490192345?r!=1.5707963267948966?r!=0?r!=-.7853981633974483?r==-1.5707963267948966&&(r=3.141592653589793):r=2.356194490192345:r=1.5707963267948966:r=0:r=-.7853981633974483:r=-1.5707963267948966;break}case 2:{r=-r;break}case 1:{r=r+-1.5707963267948966;break}default:}return+r}function hk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;return n=g,g=g+32|0,a=n+16|0,s=n,r=e[r>>2]|0,A=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[a>>2]=e[t>>2],e[a+4>>2]=e[t+4>>2],e[a+8>>2]=e[t+8>>2],e[a+12>>2]=e[t+12>>2],_s(s,a,A),i=+u[s>>3],l=+u[s+8>>3],r=e[r+16>>2]|0,o=+u[r+80>>3]*.5,!(!(l>=-o)|!(l<=o))&&i>=-+u[r+88>>3]?r=i<=+u[r+96>>3]&1:r=0,g=n,r|0}function wk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;c=g,g=g+32|0,a=c,l=e[r+16>>2]|0,s=l+208|0,o=e[s>>2]|0,o?A=1:A=($[l+260>>1]&1)!=0,i=t+16|0,t=e[i>>2]|0,n=e[t+12>>2]|0,n|0&&(A&&!(e[r+152>>2]&4|0)&&(xn(r,o,e[l+228>>2]|0,e[l+244>>2]|0,e[l+212>>2]|0),t=e[i>>2]|0),o=e[r+36>>2]|0,p=+u[t+24>>3]+ +(e[n+8>>2]|0),w=e[n>>2]|0,u[a>>3]=+u[t+16>>3]+ +(e[n+4>>2]|0),u[a+8>>3]=p,e[a+16>>2]=w,A2(o,106450,a)|0,o=e[i>>2]|0,a=(e[o+104>>2]|0)+56|0,o=o+16|0,e[a>>2]=e[o>>2],e[a+4>>2]=e[o+4>>2],e[a+8>>2]=e[o+8>>2],e[a+12>>2]=e[o+12>>2],Ef(r,10,e[(e[i>>2]|0)+104>>2]|0),A&&(e[r+152>>2]&4|0&&xn(r,e[s>>2]|0,e[l+228>>2]|0,e[l+244>>2]|0,e[l+212>>2]|0),Bl(r))),g=c}function dk0(r){r=r|0,vC(e[(e[r+16>>2]|0)+12>>2]|0)}function pk0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;if(a=g,g=g+64|0,A=a+40|0,o=a,y[i>>0]|0){n=n|0?n:106356,l=e[(e[t+16>>2]|0)+12>>2]|0,s=pQ(l,i)|0,s?Qh(t,s+16|0,o,n,s0[s+65>>0]|0,0)|0&&(e[A>>2]=te(t)|0,e[A+4>>2]=i,e[A+8>>2]=n,$0(0,106358,A)|0):Qh(t,l+16|0,o,i,15,0)|0&&wQ(t,i),n=r+40|0;do e[r>>2]=e[o>>2],r=r+4|0,o=o+4|0;while((r|0)<(n|0))}else{o=4208,n=r+40|0;do e[r>>2]=e[o>>2],r=r+4|0,o=o+4|0;while((r|0)<(n|0))}g=a}function kk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;return a=g,g=g+32|0,c=a+16|0,s=a,o=e[r+4>>2]|0,r=e[r>>2]|0,l=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],_s(s,c,l),e[t>>2]=e[s>>2],e[t+4>>2]=e[s+4>>2],e[t+8>>2]=e[s+8>>2],e[t+12>>2]=e[s+12>>2],o?(l=o,r=o+8|0,s=o+16|0,o=o+24|0):(o=e[(e[r+16>>2]|0)+12>>2]|0,l=o+16|0,r=o+24|0,s=o+32|0,o=o+40|0),n=+u[r>>3],i=+u[o>>3],w=+u[t>>3],+u[l>>3]<=w&&w<=+u[s>>3]&&(A=+u[t+8>>3],n<=A)?r=A<=i&1:r=0,g=a,r|0}function vk0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;x=g,g=g+80|0,m=x+64|0,v=x+32|0,B=x;e:do if(!(y[t+28>>0]|0))i=0;else{for(l=+u[t>>3],p=r+16|0,a=e[(e[p>>2]|0)+12>>2]|0,A=a+48|0,a=a+56|0,t=0;;){if((t|0)>=(e[A>>2]|0))break e;if(c=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1|0)==0,w=e[(e[a>>2]|0)+(t<<2)>>2]|0,s=+(~~+u[(c?w+16|0:w+24|0)>>3]|0),l>=s&&(E=+(~~+u[(c?w+32|0:w+40|0)>>3]|0),l<=E))break;t=t+1|0}e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1?(w=(e[(e[a>>2]|0)+(t<<2)>>2]|0)+16|0,r=(e[p>>2]|0)+16|0,e[v>>2]=e[w>>2],e[v+4>>2]=e[w+4>>2],e[v+8>>2]=e[w+8>>2],e[v+12>>2]=e[w+12>>2],e[v+16>>2]=e[w+16>>2],e[v+20>>2]=e[w+20>>2],e[v+24>>2]=e[w+24>>2],e[v+28>>2]=e[w+28>>2],e[m>>2]=e[r>>2],e[m+4>>2]=e[r+4>>2],e[m+8>>2]=e[r+8>>2],e[m+12>>2]=e[r+12>>2],Ud0(B,v,m),e[n>>2]=e[B>>2],e[n+4>>2]=e[B+4>>2],e[n+8>>2]=e[B+8>>2],e[n+12>>2]=e[B+12>>2],e[n+16>>2]=e[B+16>>2],e[n+20>>2]=e[B+20>>2],e[n+24>>2]=e[B+24>>2],e[n+28>>2]=e[B+28>>2],B=e[p>>2]|0,l=+u[B+80>>3],s=+u[B+24>>3]):(B=e[p>>2]|0,z=+u[B+16>>3],u[n>>3]=z+s,s=+u[B+24>>3],l=+u[B+80>>3],u[n+8>>3]=s-l*.5,u[n+16>>3]=z+E),u[n+24>>3]=l*.5+s,e[o>>2]=1}while(0);return g=x,i|0}function mk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;x=g,g=g+144|0,A=x+96|0,c=x+64|0,p=x,v=x+128|0,m=e[r+16>>2]|0,E=m+208|0,i=e[E>>2]|0,i?B=1:B=($[m+260>>1]&1)!=0,s=t+16|0,w=e[s>>2]|0,a=e[w+12>>2]|0,o=a+16|0,e[c>>2]=e[o>>2],e[c+4>>2]=e[o+4>>2],e[c+8>>2]=e[o+8>>2],e[c+12>>2]=e[o+12>>2],e[c+16>>2]=e[o+16>>2],e[c+20>>2]=e[o+20>>2],e[c+24>>2]=e[o+24>>2],e[c+28>>2]=e[o+28>>2],z=+u[w+16>>3],u[c>>3]=+u[c>>3]+z,l=+u[w+24>>3],w=c+8|0,u[w>>3]=+u[w>>3]+l,w=c+16|0,u[w>>3]=+u[w>>3]+z,o=c+24|0,u[o>>3]=+u[o>>3]+l,B&&!(e[r+152>>2]&4|0)&&xn(r,i,e[m+228>>2]|0,e[m+244>>2]|0,e[m+212>>2]|0),i=fQ(r,t)|0,gp(r,t)|0,e[v>>2]=0,i&1?(n=gC(t)|0,(Rh(n,v,A)|0)<<24>>24?(tr(r,e[v>>2]|0),n=e[v+4>>2]|0,o=pr(t,e[47173]|0,0,0)|0,l=+x0[A>>2],n?so(r,n,o,l):so(r,137314,o,l),n=i>>>1&1|2):(tr(r,n),n=1)):n=0,o=e[e[(e[s>>2]|0)+8>>2]>>2]|0,(y[o>>0]|0)==77&&(s=(ge(o,106227)|0)==0,i=s?i|4:i),i&2130706444?(e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],c=p+32|0,e[c>>2]=e[w>>2],e[c+4>>2]=e[w+4>>2],e[c+8>>2]=e[w+8>>2],e[c+12>>2]=e[w+12>>2],u[p+16>>3]=+u[c>>3],u[p+24>>3]=+u[p+8>>3],u[p+48>>3]=+u[p>>3],u[p+56>>3]=+u[p+40>>3],_f(r,p,4,i,n)):(e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],e[A+16>>2]=e[c+16>>2],e[A+20>>2]=e[c+20>>2],e[A+24>>2]=e[c+24>>2],e[A+28>>2]=e[c+28>>2],Il(r,A,n)),dQ(r,t,a),r0(e[v>>2]|0),B&&(e[r+152>>2]&4|0&&xn(r,e[E>>2]|0,e[m+228>>2]|0,e[m+244>>2]|0,e[m+212>>2]|0),Bl(r)),g=x}function dQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(x=g,g=g+144|0,p=x+128|0,w=x+112|0,v=x+16|0,m=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>>2],e[w+8>>2]=e[v+8>>2],e[w+12>>2]=e[v+12>>2],e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],yp(E,w,p),e[v>>2]=e[E>>2],e[v+4>>2]=e[E+4>>2],e[v+8>>2]=e[E+8>>2],e[v+12>>2]=e[E+12>>2],e[w>>2]=e[c>>2],e[w+4>>2]=e[c+4>>2],e[w+8>>2]=e[c+8>>2],e[w+12>>2]=e[c+12>>2],e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],yp(B,w,p),e[c>>2]=e[B>>2],e[c+4>>2]=e[B+4>>2],e[c+8>>2]=e[B+8>>2],e[c+12>>2]=e[B+12>>2],y2(r,v,2)),dQ(r,t,e[(e[s>>2]|0)+(l<<2)>>2]|0),l=l+1|0;g=x}function gk0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(+u[i+8>>3]+ +u[t+8>>3])*.5,u[r>>3]=(+u[i>>3]+ +u[t>>3])*.5,u[r+8>>3]=n}function pQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[r+60>>2]|0,i|0&&(y[i>>0]|0)==(y[t>>0]|0)&&!(ge(i,t)|0)||(n=4);e:do if((n|0)==4)for(o=r+56|0,n=e[r+48>>2]|0,i=0;;){if((i|0)>=(n|0)){r=0;break e}if(r=pQ(e[(e[o>>2]|0)+(i<<2)>>2]|0,t)|0,!r)i=i+1|0;else break}while(0);return r|0}function yk0(r,t){r=r|0,t=t|0;var i=0;i=t+8|0,u[i>>3]=+u[i>>3]*1.375,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function Ck0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;a=+u[t>>3],o=a*.5,w=+u[t+8>>3],s=w*.5,u[r>>3]=o,n=w*.40909090909090906,u[r+8>>3]=n,u[r+16>>3]=o,l=w*.4592530909090909,u[r+24>>3]=l,A=a*.275892,u[r+32>>3]=A,u[r+40>>3]=s,u[r+48>>3]=0,u[r+56>>3]=s,a=a*-.275892,u[r+64>>3]=a,u[r+72>>3]=s,c=-o,u[r+80>>3]=c,u[r+88>>3]=l,i=r+96|0,u[i>>3]=c,u[r+104>>3]=n,t=r+112|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],t=r+128|0,u[t>>3]=c,u[r+136>>3]=w*-.40909090909090906,i=r+144|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],u[r+160>>3]=c,l=-l,u[r+168>>3]=l,u[r+176>>3]=a,s=-s,u[r+184>>3]=s,u[r+192>>3]=0,u[r+200>>3]=s,u[r+208>>3]=A,u[r+216>>3]=s,u[r+224>>3]=o,u[r+232>>3]=l,i=r+240|0,u[i>>3]=o,u[r+248>>3]=-n,t=r+256|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],t=r+288|0,i=r+272|0,e[i>>2]=e[r>>2],e[i+4>>2]=e[r+4>>2],e[i+8>>2]=e[r+8>>2],e[i+12>>2]=e[r+12>>2],e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2]}function kQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;G=g,g=g+144|0,z=G+112|0,x=G+96|0,_=G+80|0,B=G+64|0,L=G+32|0,m=G+16|0,E=G,l=G+48|0;do if(r){if(A=e[r+4>>2]|0,a=e[r>>2]|0,p=(e[(e[(We(a)|0)+16>>2]|0)+116>>2]&3)*90|0,e[z>>2]=e[t>>2],e[z+4>>2]=e[t+4>>2],e[z+8>>2]=e[t+8>>2],e[z+12>>2]=e[t+12>>2],_s(l,z,p),e[L>>2]=e[l>>2],e[L+4>>2]=e[l+4>>2],e[L+8>>2]=e[l+8>>2],e[L+12>>2]=e[l+12>>2],A|0){if(i=+u[L>>3],!(+u[A>>3]<=i)){r=0;break}if(!(i<=+u[A+16>>3])){r=0;break}if(i=+u[L+8>>3],!(+u[A+8>>3]<=i)){r=0;break}r=i<=+u[A+24>>3];break}if((a|0)==(e[47292]|0)?(i=+u[23309],n=+u[23310],s=+u[23311]):(r=a+16|0,t=e[(e[r>>2]|0)+12>>2]|0,e[47293]=t,e[47294]=e[t+44>>2],e[47295]=e[t+8>>2],e[t+40>>2]&2048?(MQ(z,t),s=+u[z+16>>3]-+u[z>>3],o=+u[z+24>>3]-+u[z+8>>3],p=(e[(e[(We(a)|0)+16>>2]|0)+116>>2]&1|0)==0,u[(p?186496:186504)>>3]=s,u[(p?186504:186496)>>3]=o):(w=(e[(e[(We(a)|0)+16>>2]|0)+116>>2]&1|0)==0,p=e[r>>2]|0,u[(w?186496:186504)>>3]=+u[p+96>>3]+ +u[p+88>>3],u[(w?186504:186496)>>3]=+u[p+80>>3],s=+u[p+32>>3]*72,o=+u[p+40>>3]*72,o=+(~~(o+(o>=0?.5:-.5))|0),s=+(~~(s+(s>=0?.5:-.5))|0)),i=+u[23312],i==0&&(u[23312]=1,i=1),n=+u[23313],n==0&&(u[23313]=1,n=1),i=s/i,u[23309]=i,n=o/n,u[23310]=n,s=s*.5,u[23311]=s,u[23314]=o*.5,p=N0((e[(e[47293]|0)+4>>2]|0)+-1|0,e[47295]|0)|0,e[47296]=(p|0)>0?p:0,e[47292]=a),o=+u[L>>3]*i,u[L>>3]=o,p=L+8|0,i=+u[p>>3]*n,u[p>>3]=i,!(+L0(+o)>s)&&(n=+L0(+i),v=+u[23314],!(n>v))){if(p=e[47295]|0,(p|0)<3){r=+Qc(o/s,i/v)<1;break}if(t=(e[47297]|0)%(p|0)|0,r=(t+1|0)%(p|0)|0,a=e[47294]|0,c=e[47296]|0,w=a+(c+t<<4)|0,e[m>>2]=e[w>>2],e[m+4>>2]=e[w+4>>2],e[m+8>>2]=e[w+8>>2],e[m+12>>2]=e[w+12>>2],w=a+(c+r<<4)|0,e[E>>2]=e[w>>2],e[E+4>>2]=e[w+4>>2],e[E+8>>2]=e[w+8>>2],e[E+12>>2]=e[w+12>>2],e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[_>>2]=e[46630],e[_+4>>2]=e[46631],e[_+8>>2]=e[46632],e[_+12>>2]=e[46633],e[x>>2]=e[m>>2],e[x+4>>2]=e[m+4>>2],e[x+8>>2]=e[m+8>>2],e[x+12>>2]=e[m+12>>2],e[z>>2]=e[w>>2],e[z+4>>2]=e[w+4>>2],e[z+8>>2]=e[w+8>>2],e[z+12>>2]=e[w+12>>2],Nh(B,_,x,z)|0){if(e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[_>>2]=e[m>>2],e[_+4>>2]=e[m+4>>2],e[_+8>>2]=e[m+8>>2],e[_+12>>2]=e[m+12>>2],e[x>>2]=e[E>>2],e[x+4>>2]=e[E+4>>2],e[x+8>>2]=e[E+8>>2],e[x+12>>2]=e[E+12>>2],e[z>>2]=e[46630],e[z+4>>2]=e[46631],e[z+8>>2]=e[46632],e[z+12>>2]=e[46633],w=(Nh(B,_,x,z)|0)!=0,w&&(e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[_>>2]=e[E>>2],e[_+4>>2]=e[E+4>>2],e[_+8>>2]=e[E+8>>2],e[_+12>>2]=e[E+12>>2],e[x>>2]=e[46630],e[x+4>>2]=e[46631],e[x+8>>2]=e[46632],e[x+12>>2]=e[46633],e[z>>2]=e[m>>2],e[z+4>>2]=e[m+4>>2],e[z+8>>2]=e[m+8>>2],e[z+12>>2]=e[m+12>>2],(Nh(B,_,x,z)|0)!=0)){r=1;break}else A=t,t=1;for(;;){if((t|0)>=(p|0)){t=31;break}if(w?(l=r,r=(r+1|0)%(p|0)|0):(l=(A+-1+p|0)%(p|0)|0,r=A),m=a+(c+l<<4)|0,E=a+(c+r<<4)|0,e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[_>>2]=e[46630],e[_+4>>2]=e[46631],e[_+8>>2]=e[46632],e[_+12>>2]=e[46633],e[x>>2]=e[m>>2],e[x+4>>2]=e[m+4>>2],e[x+8>>2]=e[m+8>>2],e[x+12>>2]=e[m+12>>2],e[z>>2]=e[E>>2],e[z+4>>2]=e[E+4>>2],e[z+8>>2]=e[E+8>>2],e[z+12>>2]=e[E+12>>2],Nh(B,_,x,z)|0)A=l,t=t+1|0;else{t=30;break}}if((t|0)==30){e[47297]=l,r=0;break}else if((t|0)==31){e[47297]=A,r=1;break}}else r=0}else r=0}else e[47292]=0,r=0;while(0);return g=G,r&1|0}function vQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;return A=g,g=g+32|0,o=A+16|0,s=A,r?(r=e[r>>2]|0,a=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],_s(s,o,a),l=+u[s>>3],n=+u[s+8>>3],(r|0)==(e[47300]|0)?i=+u[23317]:(s=e[(e[r+16>>2]|0)+12>>2]|0,a=(e[s+4>>2]<<1)+-2|0,i=+u[(e[s+44>>2]|0)+((((a|0)>0?a:0)|1)<<4)>>3],u[23317]=i,e[47300]=r),+L0(+l)>i|+L0(+n)>i?r=0:r=+Qc(l,n)<=i&1):(e[47300]=0,r=0),g=A,r|0}function Ek0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;m=g,g=g+16|0,o=m,p=e[r+16>>2]|0,v=p+208|0,i=e[v>>2]|0,!(i|0)&&!($[p+260>>1]&1)?w=0:(e[r+152>>2]&4||xn(r,i,e[p+228>>2]|0,e[p+244>>2]|0,e[p+212>>2]|0),w=1),A=t+16|0,l=e[(e[A>>2]|0)+12>>2]|0,a=e[l+44>>2]|0,c=e[l+8>>2]|0,l=e[l+4>>2]|0,(e[47298]|0)<(c|0)&&(i=c+2|0,e[47298]=i,n=e[47299]|0,n?i=Oe(n,i<<4)|0:i=_0(i<<4)|0,e[47299]=i),hQ(t,o)|0,e[o>>2]&32?a1(r,22016):a1(r,22020),i=e[47172]|0,i|0&&Uo(r,+sr(t,i,1,0)),i=s0[(e[A>>2]|0)+117>>0]|0;do if(i&1)Z2(r,F2(t,0,106240)|0),i=F2(t,0,106248)|0,tr(r,i);else{if(i&2|0){Z2(r,F2(t,0,106256)|0),i=F2(t,0,106264)|0,tr(r,i);break}if(i&8|0){Z2(r,F2(t,0,106272)|0),i=F2(t,0,106280)|0,tr(r,i);break}if(i&4){Z2(r,F2(t,0,106288)|0),i=F2(t,0,106296)|0,tr(r,i);break}else{i=cQ(t,137314)|0,tr(r,i),gp(r,t)|0;break}}while(0);for(l?n=l:(y[i>>0]|0&&Z2(r,i),n=1),o=1,t=0;!((t|0)>=(n|0));){for(l=N0(t,c)|0,s=e[47299]|0,i=0;!((i|0)>=(c|0));)x=i+l|0,E=+u[a+(x<<4)+8>>3],B=e[A>>2]|0,u[s+(i<<4)>>3]=+u[B+16>>3]+ +u[a+(x<<4)>>3],u[s+(i<<4)+8>>3]=+u[B+24>>3]+E,i=i+1|0;Y3(r,s,c,o),o=0,t=t+1|0}w&&(e[r+152>>2]&4|0&&xn(r,e[v>>2]|0,e[p+228>>2]|0,e[p+244>>2]|0,e[p+212>>2]|0),Bl(r)),g=m}function Cp(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=g,g=g+48|0,l=o,i=Bk0(t,i,n)|0,e[l+36>>2]=e[n+36>>2],Qh(t,e[n+24>>2]|0,l,i,s0[n+33>>0]|0,0)|0,t=l,i=r+40|0;do e[r>>2]=e[t>>2],r=r+4|0,t=t+4|0;while((r|0)<(i|0));g=o}function Bk0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0;W=g,g=g+32|0,G=W,o=W+24|0,A=W+16|0,L=e[(e[(e[(We(r)|0)+60>>2]|0)+16>>2]|0)+116>>2]&3,n=r+16|0,_=(e[n>>2]|0)+16|0,e[G>>2]=e[_>>2],e[G+4>>2]=e[_+4>>2],e[G+8>>2]=e[_+8>>2],e[G+12>>2]=e[_+12>>2],mQ(o,G,L),_=(e[t+16>>2]|0)+16|0,e[G>>2]=e[_>>2],e[G+4>>2]=e[_+4>>2],e[G+8>>2]=e[_+8>>2],e[G+12>>2]=e[_+12>>2],mQ(A,G,L),L=y[i+33>>0]|0,G=L&255;e:do switch(L<<24>>24){case 0:case 15:{t=0;break}default:for(t=e[i+24>>2]|0,t?(c=+u[t>>3],l=+u[t+16>>3],a=+u[t+24>>3],s=+u[t+8>>3]):(L=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1|0)==0,_=e[n>>2]|0,T=+u[_+80>>3]*.5,N=-T,a=+u[_+88>>3],s=-a,c=L?s:N,l=L?a:T,a=L?T:a,s=L?N:s),L=e[o>>2]|0,z=e[o+4>>2]|0,_=e[A>>2]|0,E=e[A+4>>2]|0,B=~~s,x=~~((l+c)*.5),m=~~l,v=~~((a+s)*.5),p=~~a,w=~~c,o=0,A=0,t=0,i=0,r=0;;){if((A|0)==4)break e;if(1<>2]|0:n=o}else n=o;o=n,A=A+1|0}}while(0);return g=W,t|0}function mQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;switch(i|0){case 0:{o=+u[t>>3],n=+u[t+8>>3];break}case 2:{o=+u[t>>3],n=-+u[t+8>>3];break}case 1:{o=-+u[t+8>>3],n=+u[t>>3];break}case 3:{o=+u[t+8>>3],n=+u[t>>3];break}default:o=0,n=0}e[r>>2]=~~(o+(o>=0?.5:-.5)),e[r+4>>2]=~~(n+(n>=0?.5:-.5))}function Ik0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=g,g=g+80|0,n=s+40|0,l=s,o=r+16|0,i=e[o>>2]|0,t=i+16|0,y[i+47>>0]|0){i=e[r>>2]&3,Cp(n,e[((i|0)==3?r:r+48|0)+40>>2]|0,e[((i|0)==2?r:r+-48|0)+40>>2]|0,t),i=n,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));i=e[o>>2]|0}if(t=i+56|0,y[i+87>>0]|0){i=e[r>>2]&3,Cp(l,e[((i|0)==2?r:r+-48|0)+40>>2]|0,e[((i|0)==3?r:r+48|0)+40>>2]|0,t),i=l,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0))}g=s}function xk0(){var r=0,t=0,i=0;r=g,g=g+32|0,t=r+16|0,i=r,e[i>>2]=0,e[i+4>>2]=0,e[i+8>>2]=0,e[i+12>>2]=0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],kQ(0,t)|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],vQ(0,t)|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],uQ(0,t)|0,g=r}function Ep(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0;for(N=g,g=g+192|0,B=N+176|0,G=N+112|0,W=N+48|0,x=N+32|0,z=N+24|0,_=N+16|0,L=N,n<<24>>24?(e[x>>2]=e[i>>2],e[x+4>>2]=e[i+4>>2],e[x+8>>2]=e[i+8>>2],e[x+12>>2]=e[i+12>>2],a=_,c=z,w=0,p=G):(a=i+48|0,e[x>>2]=e[a>>2],e[x+4>>2]=e[a+4>>2],e[x+8>>2]=e[a+8>>2],e[x+12>>2]=e[a+12>>2],a=z,c=_,w=G,p=0),u[z>>3]=0,u[_>>3]=1,m=x+8|0,o=0,l=1,A=0,v=+u[x>>3];;){E=+u[m>>3],o=(o+l)*.5,Ei(L,i,3,o,w,p),e[x>>2]=e[L>>2],e[x+4>>2]=e[L+4>>2],e[x+8>>2]=e[L+8>>2],e[x+12>>2]=e[L+12>>2],e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2];e:do if((ke[t&127](r,B)|0)<<24>>24)n=c;else for(n=0;;){if((n|0)==4){n=a,A=1;break e}A=W+(n<<4)|0,T=G+(n<<4)|0,e[A>>2]=e[T>>2],e[A+4>>2]=e[T+4>>2],e[A+8>>2]=e[T+8>>2],e[A+12>>2]=e[T+12>>2],n=n+1|0}while(0);if(u[n>>3]=o,s=+u[x>>3],v=v-s,!((v>=0?v:-v)>.5)&&(E=E-+u[m>>3],!((E>=0?E:-E)>.5)))break;o=+u[z>>3],l=+u[_>>3],v=s}e:do if(A<<24>>24)for(n=0;;){if((n|0)==4)break e;T=i+(n<<4)|0,G=W+(n<<4)|0,e[T>>2]=e[G>>2],e[T+4>>2]=e[G+4>>2],e[T+8>>2]=e[G+8>>2],e[T+12>>2]=e[G+12>>2],n=n+1|0}else for(n=0;;){if((n|0)==4)break e;T=i+(n<<4)|0,W=G+(n<<4)|0,e[T>>2]=e[W>>2],e[T+4>>2]=e[W+4>>2],e[T+8>>2]=e[W+8>>2],e[T+12>>2]=e[W+12>>2],n=n+1|0}while(0);g=N}function Sk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;c=g,g=g+48|0,i=c+16|0,n=c,o=c+32|0,l=r+16|0,s=e[l>>2]|0,A=e[s+8>>2]|0,A|0&&(a=A+4|0,e[(e[a>>2]|0)+12>>2]|0)&&(e[o>>2]=r,e[o+4>>2]=0,w=+u[s+96>>3],u[n>>3]=+u[t>>3]-+u[s+16>>3],u[n+8>>3]=+u[t+8>>3]-+u[s+24>>3],a=e[(e[a>>2]|0)+12>>2]|0,e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[i+8>>2]=e[n+8>>2],e[i+12>>2]=e[n+12>>2],a=ke[a&127](o,i)|0,u[(e[l>>2]|0)+96>>3]=w,yC(o,r,t,a)),g=c}function yC(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+64|0,c=w,A=t+16|0,l=e[A>>2]|0,a=+u[l+96>>3],s=l+16|0,o=l+24|0,t=0;(t|0)!=4;)u[c+(t<<4)>>3]=+u[i+(t<<4)>>3]-+u[s>>3],u[c+(t<<4)+8>>3]=+u[i+(t<<4)+8>>3]-+u[o>>3],t=t+1|0;for(Ep(r,e[(e[(e[l+8>>2]|0)+4>>2]|0)+12>>2]|0,c,n),t=0;(t|0)!=4;)n=e[A>>2]|0,u[i+(t<<4)>>3]=+u[n+16>>3]+ +u[c+(t<<4)>>3],u[i+(t<<4)+8>>3]=+u[n+24>>3]+ +u[c+(t<<4)+8>>3],t=t+1|0;u[(e[A>>2]|0)+96>>3]=a,g=w}function CC(r,t){r=r|0,t=t|0;for(var i=0,n=0;n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(e[B>>2]|0)+16|0,e[w>>2]=e[l>>2],e[w+4>>2]=e[l+4>>2],e[w+8>>2]=e[l+8>>2],e[w+12>>2]=e[l+12>>2],e[x>>2]=e[s>>2],e[x+4>>2]=e[s+4>>2],e[x+8>>2]=e[s+8>>2],e[x+12>>2]=e[s+12>>2],gQ(v,w,x),e[r>>2]=e[v>>2],e[r+4>>2]=e[v+4>>2],e[r+8>>2]=e[v+8>>2],e[r+12>>2]=e[v+12>>2],o<<24>>24?(A=+yQ(e[((e[t>>2]&3|0)==3?t:p)+40>>2]|0),z=9):(l=e[B>>2]|0,y[l+45>>0]|0?(A=+u[l+32>>3],z=9):l=0),(z|0)==9&&(u[r+16>>3]=A,l=1),y[r+29>>0]=l,e[r+80>>2]=0,e[r+88>>2]=t,v=n+32|0,e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],i|0){case 1:{if(s=e[m>>2]|0,!(y[s+156>>0]|0)&&(v=y[(e[B>>2]|0)+49>>0]|0,E=v&255,v<<24>>24!=0)){e[x>>2]=e[n>>2],e[x+4>>2]=e[n+4>>2],e[x+8>>2]=e[n+8>>2],e[x+12>>2]=e[n+12>>2],e[x+16>>2]=e[n+16>>2],e[x+20>>2]=e[n+20>>2],e[x+24>>2]=e[n+24>>2],e[x+28>>2]=e[n+28>>2];do if(E&4)if(e[n+48>>2]=4,A=+u[x>>3],+u[r>>3]<+u[s+16>>3]){W=A+-1,G=+u[r+8>>3],r=x+16|0,A=+u[r>>3],a=+u[s+80>>3]*.5+ +u[s+24>>3],a=a+ +((e[(e[(We(_)|0)+16>>2]|0)+252>>2]|0)/2|0|0),l=e[m>>2]|0,u[r>>3]=+u[l+16>>3]-+u[l+88>>3],u[x+24>>3]=G,u[x+8>>3]=+u[l+24>>3]-+u[l+80>>3]*.5,u[x>>3]=W,u[n+56>>3]=W,u[n+64>>3]=G,u[n+72>>3]=A,u[n+80>>3]=a,l=n+88|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=2;break}else{a=+u[r+8>>3],l=x+16|0,G=+u[l>>3]+1,W=+u[s+80>>3]*.5+ +u[s+24>>3],W=W+ +((e[(e[(We(_)|0)+16>>2]|0)+252>>2]|0)/2|0|0),r=e[m>>2]|0,u[x>>3]=+u[r+96>>3]+ +u[r+16>>3],u[x+24>>3]=a,u[x+8>>3]=+u[r+24>>3]-+u[r+80>>3]*.5,u[l>>3]=G,u[n+56>>3]=A,u[n+64>>3]=a,u[n+72>>3]=G,u[n+80>>3]=W,l=n+88|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=2;break}else{if(E&1|0){e[n+48>>2]=1,l=x+24|0,u[l>>3]=+u[(+u[l>>3]>+u[r+8>>3]?x+16|0:r)+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}if(l=n+48|0,E&8){e[l>>2]=8,u[x+16>>3]=+u[r>>3],u[x+8>>3]=+u[s+24>>3]-+u[s+80>>3]*.5,u[x+24>>3]=+u[r+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}else{e[l>>2]=2,u[x>>3]=+u[r>>3],u[x+8>>3]=+u[s+24>>3]-+u[s+80>>3]*.5,u[x+24>>3]=+u[r+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}}while(0);for(e[n+52>>2]=l;l=e[t+16>>2]|0,!!(y[l+112>>0]|0);)t=e[l+116>>2]|0;y[((_|0)==(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)?l+16|0:l+56|0)+30>>0]=0}else s=1,z=47;break}case 2:{if(E=y[(e[B>>2]|0)+49>>0]|0,s=E&255,!(E<<24>>24))z=46;else{e[x>>2]=e[n>>2],e[x+4>>2]=e[n+4>>2],e[x+8>>2]=e[n+8>>2],e[x+12>>2]=e[n+12>>2],e[x+16>>2]=e[n+16>>2],e[x+20>>2]=e[n+20>>2],e[x+24>>2]=e[n+24>>2],e[x+28>>2]=e[n+28>>2];do if(s&4)l=x+8|0,u[l>>3]=+u[(+u[l>>3]<+u[r+8>>3]?x:r)+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;else{if(s&1|0)if((e[n+48>>2]|0)==4){l=e[m>>2]|0,W=+u[l+24>>3]-+u[l+80>>3]*.5,l=x+16|0,G=+u[l>>3]+1,A=+u[r>>3],a=W-+((e[(e[(We(_)|0)+16>>2]|0)+252>>2]|0)/2|0|0),r=e[m>>2]|0,u[x>>3]=+u[r+96>>3]+ +u[r+16>>3],u[x+8>>3]=W,u[x+24>>3]=+u[r+80>>3]*.5+ +u[r+24>>3],u[l>>3]=G,u[n+56>>3]=A,u[n+64>>3]=a,u[n+72>>3]=G,u[n+80>>3]=W,l=n+88|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=2;break}else{l=x+24|0,u[l>>3]=+u[(+u[l>>3]>+u[r+8>>3]?x+16|0:r)+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}if(A=+u[r>>3],s&8){l=x+16|0,u[l>>3]=A+1,i=e[m>>2]|0,A=+u[i+24>>3],a=+u[i+80>>3]*.5,(e[n+48>>2]|0)==4?(u[x+24>>3]=a+A,A=+u[r+8>>3]+-1,l=x):(u[x+8>>3]=A-a,A=+u[r+8>>3]+1),u[l+8>>3]=A,l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}else{u[x>>3]=A,i=e[m>>2]|0,A=+u[i+24>>3],a=+u[i+80>>3]*.5,(e[n+48>>2]|0)==4?(u[x+24>>3]=a+A,A=+u[r+8>>3],l=x):(u[x+8>>3]=A-a,A=+u[r+8>>3]+1,l=x+16|0),u[l+8>>3]=A,l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}}while(0);for(e[n+52>>2]=l;l=e[t+16>>2]|0,!!(y[l+112>>0]|0);)t=e[l+116>>2]|0;y[((_|0)==(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)?l+16|0:l+56|0)+30>>0]=0,e[n+48>>2]=s}break}default:z=46}(z|0)==46&&(s=e[n+48>>2]|0,z=47);e:do if((z|0)==47){if(c){if(t=n+56|0,l=n+52|0,s=fi[c&127](_,(e[B>>2]|0)+16|0,s,t,l)|0,s){e[n+48>>2]=s;break}}else l=n+52|0,t=n+56|0;switch(e[t>>2]=e[n>>2],e[t+4>>2]=e[n+4>>2],e[t+8>>2]=e[n+8>>2],e[t+12>>2]=e[n+12>>2],e[t+16>>2]=e[n+16>>2],e[t+20>>2]=e[n+20>>2],e[t+24>>2]=e[n+24>>2],e[t+28>>2]=e[n+28>>2],e[l>>2]=1,i|0){case 8:{H0(138394,106514,569,106524);break}case 2:{u[((e[n+48>>2]|0)==4?n+56|0:n+72|0)+8>>3]=+u[r+8>>3];break e}case 1:{u[n+80>>3]=+u[r+8>>3],e[n+48>>2]=1;break e}default:break e}}while(0);g=L}function gQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function yQ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(s=e[r+16>>2]|0,A=e[s+172>>2]|0,o=0,l=0;r=e[A+(l<<2)>>2]|0,!!r;)o=+u[(e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+16>>3]+o,l=l+1|0;for(n=e[s+180>>2]|0,t=0,r=0;i=e[n+(r<<2)>>2]|0,!!i;)t=+u[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+16>>3]+t,r=r+1|0;return a=+u[s+16>>3],c=+u[s+24>>3],A=e[A>>2]|0,o=+I2(+(c-+u[(e[(e[((e[A>>2]&3|0)==3?A:A+48|0)+40>>2]|0)+16>>2]|0)+24>>3]),+(a-o/+(l|0))),A=e[n>>2]|0,+((+I2(+(+u[(e[(e[((e[A>>2]&3|0)==2?A:A+-48|0)+40>>2]|0)+16>>2]|0)+24>>3]-c),+(t/+(r|0)-a))+o)*.5)}function Ip(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0;if(W=g,g=g+112|0,_=W+72|0,p=W+56|0,c=W+16|0,B=W,s=e[t>>2]&3,m=t+-48|0,G=e[((s|0)==2?t:m)+40>>2]|0,x=t+16|0,E=e[x>>2]|0,l=E+56|0,y[E+87>>0]|0){Cp(c,G,e[((s|0)==3?t:t+48|0)+40>>2]|0,l),s=c,c=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(c|0))}switch(E=G+16|0,s=e[E>>2]|0,l=e[s+8>>2]|0,l?w=e[(e[l+4>>2]|0)+16>>2]|0:w=0,c=r+40|0,l=s+16|0,s=(e[x>>2]|0)+56|0,e[p>>2]=e[l>>2],e[p+4>>2]=e[l+4>>2],e[p+8>>2]=e[l+8>>2],e[p+12>>2]=e[l+12>>2],e[_>>2]=e[s>>2],e[_+4>>2]=e[s+4>>2],e[_+8>>2]=e[s+8>>2],e[_+12>>2]=e[s+12>>2],gQ(B,p,_),e[c>>2]=e[B>>2],e[c+4>>2]=e[B+4>>2],e[c+8>>2]=e[B+8>>2],e[c+12>>2]=e[B+12>>2],o<<24>>24?(a=+yQ(e[((e[t>>2]&3|0)==2?t:m)+40>>2]|0)+3.141592653589793,u[r+56>>3]=a,a<6.283185307179586?v=1:H0(106534,106514,606,106558)):(l=e[x>>2]|0,y[l+85>>0]|0?(u[r+56>>3]=+u[l+72>>3],v=1):v=0),y[r+69>>0]=v,B=n+32|0,e[B>>2]=e[c>>2],e[B+4>>2]=e[c+4>>2],e[B+8>>2]=e[c+8>>2],e[B+12>>2]=e[c+12>>2],i|0){case 1:{if(s=e[E>>2]|0,!(y[s+156>>0]|0)&&(B=y[(e[x>>2]|0)+89>>0]|0,z=B&255,B<<24>>24!=0)){e[_>>2]=e[n>>2],e[_+4>>2]=e[n+4>>2],e[_+8>>2]=e[n+8>>2],e[_+12>>2]=e[n+12>>2],e[_+16>>2]=e[n+16>>2],e[_+20>>2]=e[n+20>>2],e[_+24>>2]=e[n+24>>2],e[_+28>>2]=e[n+28>>2];do if(z&4)e[n+48>>2]=4,l=_+8|0,u[l>>3]=+u[(+u[l>>3]<+u[r+48>>3]?_:c)+8>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;else if(z&1)if(e[n+48>>2]=1,A=+u[_>>3],+u[c>>3]<+u[s+16>>3]){T=A+-1,a=+u[r+48>>3],r=_+16|0,A=+u[r>>3],N=+u[s+80>>3]*-.5+ +u[s+24>>3],N=N-+((e[(e[(We(G)|0)+16>>2]|0)+252>>2]|0)/2|0|0),l=e[E>>2]|0,u[r>>3]=+u[l+16>>3]-+u[l+88>>3],u[_+8>>3]=a,u[_+24>>3]=+u[l+80>>3]*.5+ +u[l+24>>3],u[_>>3]=T,u[n+56>>3]=T,u[n+64>>3]=N,u[n+72>>3]=A,u[n+80>>3]=a,l=n+88|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=2;break}else{T=+u[r+48>>3],l=_+16|0,N=+u[l>>3]+1,a=+u[s+80>>3]*-.5+ +u[s+24>>3],a=a-+((e[(e[(We(G)|0)+16>>2]|0)+252>>2]|0)/2|0|0),r=e[E>>2]|0,u[_>>3]=+u[r+96>>3]+ +u[r+16>>3],u[_+8>>3]=T,u[_+24>>3]=+u[r+80>>3]*.5+ +u[r+24>>3],u[l>>3]=N,u[n+56>>3]=A,u[n+64>>3]=a,u[n+72>>3]=N,u[n+80>>3]=T,l=n+88|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=2;break}else if(l=n+48|0,z&8){e[l>>2]=8,u[_+16>>3]=+u[c>>3],u[_+24>>3]=+u[s+80>>3]*.5+ +u[s+24>>3],u[_+8>>3]=+u[r+48>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}else{e[l>>2]=2,u[_>>3]=+u[c>>3],u[_+24>>3]=+u[s+80>>3]*.5+ +u[s+24>>3],u[_+8>>3]=+u[r+48>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}while(0);for(e[n+52>>2]=l;l=e[t+16>>2]|0,!!(y[l+112>>0]|0);)t=e[l+116>>2]|0;y[((G|0)==(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)?l+56|0:l+16|0)+30>>0]=0,e[n+48>>2]=z}else s=4,L=47;break}case 2:{if(z=y[(e[x>>2]|0)+89>>0]|0,s=z&255,!(z<<24>>24))L=46;else{e[_>>2]=e[n>>2],e[_+4>>2]=e[n+4>>2],e[_+8>>2]=e[n+8>>2],e[_+12>>2]=e[n+12>>2],e[_+16>>2]=e[n+16>>2],e[_+20>>2]=e[n+20>>2],e[_+24>>2]=e[n+24>>2],e[_+28>>2]=e[n+28>>2];do if(s&4)l=_+8|0,u[l>>3]=+u[(+u[l>>3]<+u[r+48>>3]?_:c)+8>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;else{if(s&1|0)if((e[n+48>>2]|0)==4){A=+u[_>>3]+-1,l=e[E>>2]|0,T=+u[l+24>>3]-+u[l+80>>3]*.5,N=+u[c>>3],a=T-+((e[(e[(We(G)|0)+16>>2]|0)+252>>2]|0)/2|0|0),l=e[E>>2]|0,u[_+16>>3]=+u[l+16>>3]+-2-+u[l+88>>3],u[_+8>>3]=T,u[_+24>>3]=+u[l+80>>3]*.5+ +u[l+24>>3],u[_>>3]=A,u[n+56>>3]=A,u[n+64>>3]=a,u[n+72>>3]=N,u[n+80>>3]=T,l=n+88|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=2;break}else{l=_+24|0,u[l>>3]=+u[(+u[l>>3]>+u[r+8>>3]?_+16|0:r)+8>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}if(A=+u[c>>3],s&8){l=_+16|0,u[l>>3]=A+1,i=e[E>>2]|0,A=+u[i+24>>3],a=+u[i+80>>3]*.5,(e[n+48>>2]|0)==4?(u[_+24>>3]=a+A,A=+u[r+48>>3]+-1,l=_):(u[_+8>>3]=A-a,A=+u[r+48>>3]+1),u[l+8>>3]=A,l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}else{u[_>>3]=A+-1,i=e[E>>2]|0,A=+u[i+24>>3],a=+u[i+80>>3]*.5,(e[n+48>>2]|0)==4?(u[_+24>>3]=a+A,A=+u[r+48>>3]+-1,l=_):(u[_+8>>3]=A-a,A=+u[r+48>>3],l=_+16|0),u[l+8>>3]=A,l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}}while(0);for(e[n+52>>2]=l;l=e[t+16>>2]|0,!!(y[l+112>>0]|0);)t=e[l+116>>2]|0;y[((G|0)==(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)?l+56|0:l+16|0)+30>>0]=0,e[n+48>>2]=s}break}default:L=46}(L|0)==46&&(s=e[n+48>>2]|0,L=47);e:do if((L|0)==47){if(w){if(t=n+56|0,l=n+52|0,s=fi[w&127](G,(e[x>>2]|0)+56|0,s,t,l)|0,s){e[n+48>>2]=s;break}}else l=n+52|0,t=n+56|0;switch(e[t>>2]=e[n>>2],e[t+4>>2]=e[n+4>>2],e[t+8>>2]=e[n+8>>2],e[t+12>>2]=e[n+12>>2],e[t+16>>2]=e[n+16>>2],e[t+20>>2]=e[n+20>>2],e[t+24>>2]=e[n+24>>2],e[t+28>>2]=e[n+28>>2],e[l>>2]=1,i|0){case 8:{H0(138394,106514,765,106558);break}case 2:{u[((e[n+48>>2]|0)==4?n+56|0:n+72|0)+8>>3]=+u[r+48>>3];break e}case 1:{u[n+64>>3]=+u[r+48>>3],e[n+48>>2]=4;break e}default:break e}}while(0);g=W}function zk0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return o=e[r+16>>2]|0,l=e[o+96>>2]|0,!(y[o+44>>0]|0)&&!(y[o+84>>0]|0)?s=6:(t=y[o+49>>0]|0,i=t&255,!(i&8|0)&&(n=y[o+89>>0]|0,(n&8)==0)&&(!(i&5|0)||t<<24>>24!=n<<24>>24)?s=6:r=0),(s|0)==6&&(l?(r=(e[(e[(We(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0)+16>>2]|0)+116>>2]&1|0)!=0,r=~~(+u[(r?l+32|0:l+24|0)>>3]+18)):r=18),r|0}function EC(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=+l,s=s|0;var A=0,a=0,c=0,w=0;r=e[(e[t+(i<<2)>>2]|0)+16>>2]|0,!(y[r+44>>0]|0)&&!(y[r+84>>0]|0)?c=6:c=3;do if((c|0)==3){if(A=y[r+49>>0]|0,a=A&255,!(a&8)){if(w=y[r+89>>0]|0,!(w&8)&&(!(a&5|0)||A<<24>>24!=w<<24>>24)){c=6;break}if(!(y[r+89>>0]&8)){if(a&4|0){CQ(t,i,n,o,l,s);break}if(!(a&1))H0(138394,106514,1231,106566);else{Gk0(t,i,n,o,l,s);break}}}if(!(A&2)&&!(y[r+89>>0]&2)){Rk0(t,i,n,o,l,s);break}CQ(t,i,n,o,l,s)}while(0);(c|0)==6&&Lk0(t,i,n,o,l,s)}function Lk0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0;switch(D0=g,g=g+16080|0,H=D0+80|0,f0=D0+64|0,k0=D0+48|0,B0=D0+32|0,t0=D0+16|0,Y=D0,N=e[r+(t<<2)>>2]|0,a=o*.5/+(i|0),a=a>2?a:2,D=(e[((e[N>>2]&3|0)==3?N:N+48|0)+40>>2]|0)+16|0,W=e[D>>2]|0,T=+u[W+16>>3],F=+u[W+24>>3],N=e[N+16>>2]|0,A=+u[N+16>>3],P=A+T,U=+u[N+24>>3]+F,o=+u[N+56>>3],J=o+T,F=+u[N+64>>3]+F,s=U>=F?1:-1,w=+u[W+96>>3],xp(s0[N+49>>0]|0,s0[N+89>>0]|0)|0){case 65:case 32:{U==F&&(s=0-s|0);break}default:}for(J0=(w-A)*3,A=(w-o)*3,x=a*+(s|0),B=H+8|0,z=H+16|0,_=H+32|0,L=H+48|0,G=(F+U)*.5,W=H+64|0,N=H+80|0,m=H+96|0,E=H+104|0,v=0,c=0,o=w,a=w=(i|0));)p=t+1|0,t=e[r+(t<<2)>>2]|0,w=o+n,a=a+n,A=A+n,c=c+x,u[H>>3]=P,u[B>>3]=U,J0=c+U,Ci(f0,a*.3333333333333333+P,J0),e[z>>2]=e[f0>>2],e[z+4>>2]=e[f0+4>>2],e[z+8>>2]=e[f0+8>>2],e[z+12>>2]=e[f0+12>>2],V0=w+T,Ci(k0,V0,J0),e[_>>2]=e[k0>>2],e[_+4>>2]=e[k0+4>>2],e[_+8>>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>3],D=+u[A+24>>3],T=e[T+16>>2]|0,s=+u[T+16>>3],w=+u[T+24>>3],U=s+F,J=w+D,n=+u[T+56>>3],c=+u[T+64>>3],F=n+F,q=c+D,a=U>=F?1:-1,m=+u[A+80>>3]*.5,xp(s0[T+49>>0]|0,s0[T+89>>0]|0)|0){case 15:{s=(p-n+ +u[A+96>>3])*a;break}case 38:{s=(n+p+ +u[A+88>>3])*a;break}case 41:{s=(p-s+ +u[A+96>>3])*a;break}case 48:{s=(p-s+ +u[A+96>>3])*a;break}case 58:case 57:case 51:case 47:case 37:case 14:{s=a*.3333333333333333*(s-n+ +u[A+88>>3]+ +u[A+96>>3]);break}case 73:{s=(s+p+ +u[A+88>>3])*a;break}case 83:{s=(+u[A+88>>3]+s)*a;break}case 84:{s=((s-n+ +u[A+88>>3]+ +u[A+96>>3])*.5+p)*a;break}case 85:case 75:case 74:{s=((s-n+ +u[A+88>>3]+ +u[A+96>>3])*.5+p*2)*a;break}default:s=0}for(w=(m-w)*3,c=(m-c)*3,p=a*p,z=f0+8|0,_=f0+16|0,L=f0+32|0,G=f0+48|0,W=(F+U)*.5,N=f0+64|0,T=f0+80|0,B=f0+96|0,x=f0+104|0,E=0,n=m,w=m=(i|0));)v=t+1|0,t=e[r+(t<<2)>>2]|0,c=n+o,w=w+o,a=a+o,s=s+p,u[f0>>3]=U,u[z>>3]=J,m=s+U,Ci(k0,m,w*.3333333333333333+J),e[_>>2]=e[k0>>2],e[_+4>>2]=e[k0+4>>2],e[_+8>>2]=e[k0+8>>2],e[_+12>>2]=e[k0+12>>2],V0=c+D,Ci(B0,m,V0),e[L>>2]=e[B0>>2],e[L+4>>2]=e[B0+4>>2],e[L+8>>2]=e[B0+8>>2],e[L+12>>2]=e[B0+12>>2],Ci(D0,W,V0),e[G>>2]=e[D0>>2],e[G+4>>2]=e[D0+4>>2],e[G+8>>2]=e[D0+8>>2],e[G+12>>2]=e[D0+12>>2],m=F-s,Ci(Y,m,V0),e[N>>2]=e[Y>>2],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[P+12>>2]=e[B0+12>>2],J0=G-s,Ci(t0,J0,V0),e[J>>2]=e[t0>>2],e[J+4>>2]=e[t0+4>>2],e[J+8>>2]=e[t0+8>>2],e[J+12>>2]=e[t0+12>>2],Ci(Y,J0,W-a*.3333333333333333),e[F>>2]=e[Y>>2],e[F+4>>2]=e[Y+4>>2],e[F+8>>2]=e[Y+8>>2],e[F+12>>2]=e[Y+12>>2],u[m>>3]=G,u[E>>3]=W,t=w+16|0,e[(e[t>>2]|0)+96>>2]|0&&(Z0=(e[(e[(We(e[((e[w>>2]&3|0)==3?w:w+48|0)+40>>2]|0)|0)+16>>2]|0)+116>>2]&1|0)==0,t=e[(e[t>>2]|0)+96>>2]|0,q=+u[(Z0?t+32|0:t+24|0)>>3],Z0=e[z>>2]|0,u[t+64>>3]=q*-.5-c+ +u[Z0+24>>3],u[t+56>>3]=+u[Z0+16>>3],y[t+81>>0]=1,q>o)?n=q+n:n=c,yi(w,e[((e[w>>2]&3|0)==2?w:w+-48|0)+40>>2]|0,H,7,l),t=v,p=p+1|0;g=D0}function xp(r,t){r=r|0,t=t|0;var i=0;for(i=0;;){if((i|0)>=8){t=-1;break}if((e[22044+(i<<2)>>2]|0)==(t|0)){t=i;break}i=i+1|0}for(i=0;;){if((i|0)>=8){i=-1;break}if((e[22044+(i<<2)>>2]|0)==(r|0))break;i=i+1|0}return(i|t|0)<0?i=0:i=e[22076+(i<<5)+(t<<2)>>2]|0,i|0}function Ci(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function BC(r){r=r|0;var t=0,i=0;(e[47203]|0)!=0|(e[47202]|0)!=0&&(t=r+16|0,i=e[(e[t>>2]|0)+100>>2]|0,i|0&&!(y[i+81>>0]|0)&&Sp(r,1)|0&&(i=We(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0,el(i,e[(e[t>>2]|0)+100>>2]|0)),i=e[(e[t>>2]|0)+104>>2]|0,i|0&&!(y[i+81>>0]|0)&&Sp(r,0)|0&&(i=We(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0,el(i,e[(e[t>>2]|0)+104>>2]|0)))}function Sp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;v=g,g=g+96|0,w=v+32|0,a=v+16|0,c=v,l=r+16|0;do if((y[(e[l>>2]|0)+112>>0]|0)!=6){if(i=e[47203]|0,!(i|0&&y[(k2(r,i)|0)>>0]|0)){if(i=e[47202]|0,!i){i=0;break}if(!(y[(k2(r,i)|0)>>0]|0)){i=0;break}}if(t=t<<24>>24==0,p=e[l>>2]|0,p=e[(t?p+104|0:p+100|0)>>2]|0,i=zf(r)|0,i){A=e[i>>2]|0;do if(t){if(e[A+8>>2]|0){i=e[A>>2]|0,s=+u[i>>3],o=+u[A+16>>3],i=i+8|0,n=+u[A+24>>3];break}for(i=e[A>>2]|0,o=+u[i>>3],n=+u[i+8>>3],i=0;(i|0)!=4;)c=w+(i<<4)|0,l=(e[A>>2]|0)+(i<<4)|0,e[c>>2]=e[l>>2],e[c+4>>2]=e[l+4>>2],e[c+8>>2]=e[l+8>>2],e[c+12>>2]=e[l+12>>2],i=i+1|0;Ei(a,w,3,.1,0,0),s=+u[a>>3],i=a+8|0}else{if(t=(e[i+4>>2]|0)+-1|0,l=A+(t*48|0)|0,e[A+(t*48|0)+12>>2]|0){w=e[l>>2]|0,i=(e[A+(t*48|0)+4>>2]|0)+-1|0,s=+u[w+(i<<4)>>3],o=+u[A+(t*48|0)+32>>3],i=w+(i<<4)+8|0,n=+u[A+(t*48|0)+40>>3];break}for(a=e[l>>2]|0,t=A+(t*48|0)+4|0,i=(e[t>>2]|0)+-1|0,o=+u[a+(i<<4)>>3],n=+u[a+(i<<4)+8>>3],i=0;(i|0)!=4;)a=w+(i<<4)|0,A=(e[l>>2]|0)+(i+-4+(e[t>>2]|0)<<4)|0,e[a>>2]=e[A>>2],e[a+4>>2]=e[A+4>>2],e[a+8>>2]=e[A+8>>2],e[a+12>>2]=e[A+12>>2],i=i+1|0;Ei(c,w,3,.9,0,0),s=+u[c>>3],i=c+8|0}while(0);m=+I2(+(+u[i>>3]-n),+(s-o)),m=+sr(r,e[47203]|0,-25,-180)*.017453292519943295+m,s=+sr(r,e[47202]|0,1,0)*10,u[p+56>>3]=s*+ee(+m)+o,u[p+64>>3]=+le(+m)*s+n,y[p+81>>0]=1,i=1}else i=0}else i=0;while(0);return g=v,i|0}function zf(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(l=g,g=g+16|0,n=l,t=r;i=e[t+16>>2]|0,t=e[i+8>>2]|0,!(t|0);){if(!(y[i+112>>0]|0)){o=5;break}t=e[i+116>>2]|0}return(o|0)==5&&(o=te(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0,t=te(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0,e[n>>2]=o,e[n+4>>2]=t,$0(1,106579,n)|0,t=0),g=l,t|0}function EQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;E=g,g=g+96|0,a=E+80|0,c=E+64|0,w=E+48|0,p=E+32|0,v=E+16|0,m=E,A=$[(e[t+16>>2]|0)+136>>1]|0,t=i+16|0,Zk0(e[(e[t>>2]|0)+8>>2]|0,p,v),n=+u[p>>3],o=+u[v>>3],B=n-o,l=+u[p+8>>3],s=+u[v+8>>3],x=l-s;e:do if(x*x+B*B<1e-6)e[w>>2]=e[p>>2],e[w+4>>2]=e[p+4>>2],e[w+8>>2]=e[p+8>>2],e[w+12>>2]=e[p+12>>2];else switch(A&14){case 4:case 10:{u[c>>3]=(o+n)*.5,u[c+8>>3]=(s+l)*.5,v=e[(e[t>>2]|0)+8>>2]|0,e[a>>2]=e[c>>2],e[a+4>>2]=e[c+4>>2],e[a+8>>2]=e[c+8>>2],e[a+12>>2]=e[c+12>>2],GQ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e[c+4>>2],e[i+8>>2]=e[c+8>>2],e[i+12>>2]=e[c+12>>2]),g=s}function Wk0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(B=e[t+4>>2]|0,l=0,o=0;!((o|0)>=(B|0));){for(c=e[t>>2]|0,a=e[c+(o*48|0)>>2]|0,c=e[c+(o*48|0)+4>>2]|0,s=3,A=0;!((s|0)>=(c|0));)E=+u[a+(A<<4)>>3]-+u[a+(s<<4)>>3],m=+u[a+(A<<4)+8>>3]-+u[a+(s<<4)+8>>3],s=s+3|0,A=A+3|0,l=+G0(+(m*m+E*E))+l;o=o+1|0}c=0,l=l*.5;e:for(;;){if((c|0)>=(B|0)){o=15;break}for(a=e[t>>2]|0,A=e[a+(c*48|0)>>2]|0,a=e[a+(c*48|0)+4>>2]|0,o=3,s=0;!((o|0)>=(a|0));){if(w=+u[A+(s<<4)>>3],m=+u[A+(s<<4)+8>>3],p=+u[A+(o<<4)>>3],v=+u[A+(o<<4)+8>>3],E=w-p,x=m-v,E=+G0(+(x*x+E*E)),E>=l){o=12;break e}o=o+3|0,s=s+3|0,l=l-E}c=c+1|0}if((o|0)==12){u[i>>3]=w,u[i+8>>3]=m,u[n>>3]=p,u[n+8>>3]=v,x=E-l,u[r>>3]=(x*w+p*l)/E,u[r+8>>3]=(x*m+v*l)/E;return}else(o|0)==15&&H0(138712,106514,1316,106641)}function xc(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,BC(t)}function Dk0(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0;for(t0=Mk0(r)|0,q=e[t0+4>>2]|0,Y=e[t0>>2]|0,F=q+-1|0,D=+u[Y+(F<<6)+16>>3],P=+(q|0),U=(o|0)==2,J=(n|0)!=0,w=0,s=0,l=0,a=0,c=0;!((w|0)>=(q|0));){r=~~+_p(+(w+-1|0),P),T=w+1|0,H=~~+_p(+(T|0),P),p=Y+(w<<6)|0,c=+u[p>>3],N=Y+(w<<6)+8|0,a=+u[N>>3],B=Y+(w<<6)+16|0,x=+u[B>>3],z=Y+(w<<6)+24|0,_=Y+(w<<6)+32|0,L=Y+(w<<6)+40|0,G=Y+(w<<6)+48|0,W=Y+(w<<6)+56|0,A=+BQ(+u[Y+(H<<6)+8>>3]-a,+u[Y+(H<<6)>>3]-c),m=+BQ(+u[Y+(r<<6)+8>>3]-a,+u[Y+(r<<6)>>3]-c),E=+UY[t&7](x,D,i),r=(w|0)==0;do if(r|(w|0)==(F|0))if(r){if(l=A+1.5707963267948966,!U){r=0,v=l,s=E;break}r=0,v=l,s=E,a=a-+le(+A)*E,c=c-+ee(+A)*E;break}else{if(l=m+-1.5707963267948966,!U){r=0,v=l,s=E;break}r=0,v=l,s=E,a=a-+le(+m)*E,c=c-+ee(+m)*E;break}else v=A-m,v=1.5707963267948966-(v<0?v+6.283185307179586:v)*.5,s=+ee(+v),s=s==0?0:E/s,l=A+1.5707963267948966,A=v+l,J|s>E*10?(m=+_p(m+-1.5707963267948966,6.283185307179586),r=1,v=+_p(l,6.283185307179586),s=E,l=m):(r=0,v=A,l=A);while(0);u[p>>3]=c,u[N>>3]=a,u[B>>3]=x,y[z>>0]=108,u[_>>3]=l,u[L>>3]=s,e[G>>2]=r,u[W>>3]=v,w=T}for(p=j0(12)|0,r=0;!((r|0)>=(q|0));)c=+u[Y+(r<<6)>>3],a=+u[Y+(r<<6)+8>>3],l=+u[Y+(r<<6)+32>>3],s=+u[Y+(r<<6)+40>>3],H=e[Y+(r<<6)+48>>2]|0,A=+u[Y+(r<<6)+56>>3],Lf(p,+ee(+l)*s+c,+le(+l)*s+a),H|0&&IQ(c,a,s,1,l,A,n,p),r=r+1|0;for(w=(o|0)==1,A=l+3.141592653589793,w?IC(p,c,a,s,l,A):(Lf(p,+ee(+A)*s+c,+le(+A)*s+a),l=A),r=q+-2|0,A=c;!((r|0)<=-1);)c=+u[Y+(r<<6)>>3],a=+u[Y+(r<<6)+8>>3],s=+u[Y+(r<<6)+40>>3],H=e[Y+(r<<6)+48>>2]|0,l=+u[Y+(r<<6)+32>>3]+3.141592653589793,A=+u[Y+(r<<6)+56>>3]+3.141592653589793,Lf(p,+ee(+A)*s+c,+le(+A)*s+a),H|0&&IQ(c,a,s,0,l,A,n,p),r=r+-1|0,A=c;return w&&IC(p,A,a,s,l,l+3.141592653589793),jk0(t0),p|0}function Mk0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;E=g,g=g+144|0,A=E+128|0,s=E+112|0,a=E+96|0,c=E+64|0,w=E,p=E+80|0,v=Nk0()|0,m=e[r+4>>2]|0,o=e[r>>2]|0,e[A>>2]=e[o>>2],e[A+4>>2]=e[o+4>>2],e[A+8>>2]=e[o+8>>2],e[A+12>>2]=e[o+12>>2],xQ(v,A,0),l=w+48|0,e[l>>2]=e[o>>2],e[l+4>>2]=e[o+4>>2],e[l+8>>2]=e[o+8>>2],e[l+12>>2]=e[o+12>>2],i=0,t=0;e:for(;n=i+3|0,!((n|0)>=(m|0));){for(e[w>>2]=e[l>>2],e[w+4>>2]=e[l+4>>2],e[w+8>>2]=e[l+8>>2],e[w+12>>2]=e[l+12>>2],r=1;(r|0)!=4;)B=w+(r<<4)|0,x=o+(r+i<<4)|0,e[B>>2]=e[x>>2],e[B+4>>2]=e[x+4>>2],e[B+8>>2]=e[x+8>>2],e[B+12>>2]=e[x+12>>2],r=r+1|0;for(e[a>>2]=e[w>>2],e[a+4>>2]=e[w+4>>2],e[a+8>>2]=e[w+8>>2],e[a+12>>2]=e[w+12>>2],r=1;;){if((r|0)==21){i=n;continue e}Ei(p,w,3,+(r|0)*.05,0,0),e[c>>2]=e[p>>2],e[c+4>>2]=e[p+4>>2],e[c+8>>2]=e[p+8>>2],e[c+12>>2]=e[p+12>>2],e[s>>2]=e[a>>2],e[s+4>>2]=e[a+4>>2],e[s+8>>2]=e[a+8>>2],e[s+12>>2]=e[a+12>>2],e[A>>2]=e[p>>2],e[A+4>>2]=e[p+4>>2],e[A+8>>2]=e[p+8>>2],e[A+12>>2]=e[p+12>>2],z=+Qk0(s,A)+t,e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],xQ(v,A,z),e[a>>2]=e[c>>2],e[a+4>>2]=e[c+4>>2],e[a+8>>2]=e[c+8>>2],e[a+12>>2]=e[c+12>>2],r=r+1|0,t=z}}return Tk0(v),g=E,v|0}function _p(r,t){r=+r,t=+t;var i=0;return i=r-+S0(+(r/t))*t,+(!(r<0)&!(r>=t)?r:i)}function BQ(r,t){return r=+r,t=+t,r==0&t==0?r=0:(r=+I2(+r,+t),r>=0||(r=r+6.283185307179586)),+r}function Lf(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0;n=e[r>>2]|0,o=r+4|0,(n|0)<(e[o>>2]|0)?o=e[r+8>>2]|0:(e[o>>2]=2e3,n=r+8|0,o=Oe(e[n>>2]|0,32e3)|0,e[n>>2]=o,n=e[r>>2]|0),e[r>>2]=n+1,u[o+(n<<4)>>3]=t,u[o+(n<<4)+8>>3]=i}function IQ(r,t,i,n,o,l,s,A){r=+r,t=+t,i=+i,n=n|0,o=+o,l=+l,s=s|0,A=A|0;var a=0;n=(n|0)==0,a=n?o:l;do if((s|0)==1)if(o=(n?l:o)-a,o=o<=.0017453292519943296?o+6.283185307179586:o,o<3.141592653589793){IC(A,r,t,i,o+a,a);break}else{Lf(A,+ee(+a)*i+r,+le(+a)*i+r);break}else Lf(A,+ee(+a)*i+r,+le(+a)*i+r);while(0)}function IC(r,t,i,n,o,l){r=r|0,t=+t,i=+i,n=+n,o=+o,l=+l;var s=0,A=0;Lf(r,+ee(+o)*n+t,+le(+o)*n+i);e:do if(n!=0){for(;l>o;)l=l+-6.283185307179586;for(l=o-l;l>6.283185307179586;)l=l+-6.283185307179586;for(l=l*.05263157894736842,s=1;;){if((s|0)==20)break e;A=o-l*+(s|0),Lf(r,+ee(+A)*n+t,+le(+A)*n+i),s=s+1|0}}while(0)}function jk0(r){r=r|0,r0(e[r>>2]|0),r0(r)}function Nk0(){var r=0;return r=j0(12)|0,e[r+4>>2]=0,e[r+8>>2]=2e3,e[r>>2]=j0(128e3)|0,r|0}function xQ(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0;s=r+4|0,n=e[s>>2]|0,o=r+8|0,l=e[o>>2]|0,(n|0)<(l|0)?r=e[r>>2]|0:(e[o>>2]=l<<1,n=Oe(e[r>>2]|0,l<<7)|0,e[r>>2]=n,r=n,n=e[s>>2]|0),u[r+(n<<6)>>3]=+u[t>>3],u[r+(n<<6)+8>>3]=+u[t+8>>3],e[s>>2]=n+1,u[r+(n<<6)+16>>3]=i}function Qk0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3]-+u[t>>3],n=+u[r+8>>3]-+u[t+8>>3],+ +G0(+(n*n+i*i))}function Tk0(r){r=r|0;var t=0;t=e[r+4>>2]|0,(e[r+8>>2]|0)>(t|0)&&(e[r>>2]=Oe(e[r>>2]|0,t<<6)|0)}function xC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=g,g=g+16|0,a=c+8|0,A=c,l=c+12|0,e[l>>2]=0,s=e[i+4>>2]|0,s||H0(106658,106669,203,106680),n=e[s>>2]|0,n||H0(106694,106669,206,106680),o=s+8|0,e[o>>2]|0||(e[o>>2]=Fk0(n)|0),n=0,(xi0(t,i,n)|0)<<24>>24||Pk0(i,n);do if(n|0)if(o=e[l>>2]|0,t=e[15712]|0,n=e[s>>2]|0,o){e[A>>2]=n,e[A+4>>2]=o,A2(t,106705,A)|0;break}else{e[a>>2]=n,A2(t,106737,a)|0;break}while(0);a=i+32|0,e[r>>2]=e[a>>2],e[r+4>>2]=e[a+4>>2],e[r+8>>2]=e[a+8>>2],e[r+12>>2]=e[a+12>>2],g=c}function Fk0(r){r=r|0;var t=0;return t=e[47301]|0,t|0&&!(De(t,r)|0)?r=e[47310]|0:(r0(t),e[47301]=C2(r)|0,r=Oc(189204,22332,35,36,95)|0,e[47310]=r),r|0}function Pk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(s=e[r+4>>2]|0,i=e[s>>2]|0,l=+u[s+16>>3],s=r+32|0,u[s>>3]=0,u[r+40>>3]=l*1.2,u[r+16>>3]=0,u[r+24>>3]=l*.1,e[r+8>>2]=0,e[r+12>>2]=0,go(i,106771,4)|0?go(i,106776,5)|0&&go(i,106782,9)|0?(o=4248,i=106792):(o=8344,i=106828):(o=6296,i=106809),t|0&&(e[t>>2]=i),i=e[r>>2]|0,i|0){for(n=0;r=y[i>>0]|0,!!(r<<24>>24);)A=n+ +u[o+((r&255)<<3)>>3],u[s>>3]=A,i=i+1|0,n=A;u[s>>3]=n*l}}function Yk0(r,t){return r=r|0,t=t|0,De(e[r>>2]|0,e[t>>2]|0)|0}function Ok0(r){r=r|0;var t=0;return t=r+108|0,e[t>>2]=0,e[r+112>>2]=32,e[r+116>>2]=-1,e[r+120>>2]=33,e[r+124>>2]=63,e[r+128>>2]=55,e[r+132>>2]=0,e[r+136>>2]=0,e[r+140>>2]=0,t=at(t,e[4581]|0)|0,e[r+144>>2]=t,t|0}function Vk0(r,t,i){return r=r|0,t=t|0,i=i|0,i=Un(1,32)|0,r=e[t>>2]|0,r|0&&(e[i>>2]=C2(r)|0),r=e[t+4>>2]|0,r|0&&(e[i+4>>2]=C2(r)|0),e[i+24>>2]=e[t+24>>2]&127,u[i+16>>3]=+u[t+16>>3],e[i+8>>2]=e[t+8>>2],i|0}function Hk0(r,t,i){r=r|0,t=t|0,i=i|0,r0(e[t>>2]|0),r0(e[t+4>>2]|0),r0(t)}function Jk0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;r=e[t>>2]|0,n=e[i>>2]|0,s=(n|0)==0,r?s?r=1:(r=ge(r,n)|0,r||(A=5)):s?A=5:r=-1;do if((A|0)==5){if(r=e[t+4>>2]|0,n=e[i+4>>2]|0,s=(n|0)==0,r){if(s){r=1;break}if(r=ge(r,n)|0,r|0)break}else if(!s){r=-1;break}r=(e[t+24>>2]&127)-(e[i+24>>2]&127)|0,r||(l=+u[t+16>>3],o=+u[i+16>>3],lo&1)}while(0);return r|0}function Uk0(){pR(189244)|0}function zp(){var r=0,t=0;return t=g,g=g+16|0,r=t,pR(r|0)|0,g=t,+(+((e[r+4>>2]|0)+(e[r>>2]|0)-(e[47311]|0)-(e[47312]|0)|0)*.016666666666666666)}function SQ(r){r=r|0;var t=0,i=0;return t=j0(16)|0,r=(r|0)>2?r:2,i=j0(r<<2)|0,e[t>>2]=i,e[t+12>>2]=i,e[t+8>>2]=i,e[t+4>>2]=i+(r<<2),t|0}function _Q(r){r=r|0,r0(e[r>>2]|0),r0(r)}function Th(r,t){r=r|0,t=t|0;var i=0,n=0;i=r+12|0,n=e[i>>2]|0,e[i>>2]=n+4,e[n>>2]=t,(e[i>>2]|0)>>>0>=(e[r+4>>2]|0)>>>0&&(e[i>>2]=e[r>>2])}function SC(r){r=r|0;var t=0,i=0,n=0;return i=r+8|0,t=e[i>>2]|0,(t|0)!=(e[r+12>>2]|0)?(n=t+4|0,e[i>>2]=n,t=e[t>>2]|0,n>>>0>=(e[r+4>>2]|0)>>>0&&(e[i>>2]=e[r>>2])):t=0,t|0}function pr(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;return s=g,g=g+16|0,o=s,t|0&&(l=k2(r,t)|0,(l|0)!=0)&&y[l>>0]|0&&(t=Dk(l,o,10)|0,i=(l|0)==(e[o>>2]|0)?i:(t|0)<(n|0)?n:t),g=s,i|0}function sr(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0;return s=g,g=g+16|0,o=s,(r|0)!=0&(t|0)!=0&&(l=k2(r,t)|0,(l|0)!=0)&&y[l>>0]|0&&(A=+P1(l,o),i=(l|0)==(e[o>>2]|0)?i:A0||(t=+sr(r,re(r,0,107638,0)|0,-1,0),t=t==0?72:t),+t}function wt(r,t,i){return r=r|0,t=t|0,i=i|0,(r|0)!=0&(t|0)!=0&&(i=k2(r,t)|0),i|0}function F2(r,t,i){return r=r|0,t=t|0,i=i|0,r=wt(r,t,i)|0,r|0&&y[r>>0]|0&&(i=r),i|0}function LQ(r,t,i){return r=r|0,t=t|0,i=i|0,t?r=jt(k2(r,t)|0)|0:r=i&255,r|0}function jt(r){return r=r|0,DA(r,0)|0}function DA(r,t){r=r|0,t=t|0;var i=0;return r|0&&(i=y[r>>0]|0,i<<24>>24!=0)&&(De(r,137308)|0&&De(r,107649)|0?De(r,107652)|0&&De(r,107657)|0?((i<<24>>24)+-48|0)>>>0<10&&(t=(F1(r)|0)&255):t=1:t=0),t|0}function Ht(r){r=r|0;for(var t=0,i=0;t=(e[r+16>>2]|0)+220|0,i=e[t>>2]|0,!!((i|0)!=(r|0)&(i|0)!=0);){if(r=e[(e[i+16>>2]|0)+220>>2]|0,!r){r=i;continue}e[t>>2]=r}return r|0}function Lp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return(r|0)!=(t|0)&&(i=e[r+16>>2]|0,n=i+220|0,e[n>>2]|0?r=Ht(r)|0:(e[n>>2]=r,e[i+216>>2]=1),i=e[t+16>>2]|0,n=i+220|0,e[n>>2]|0?(i=Ht(t)|0,t=i,i=e[i+16>>2]|0):(e[n>>2]=t,e[i+216>>2]=1),l=r+16|0,n=e[l>>2]|0,o=t+16|0,s=(e[n+120>>2]|0)>(e[i+120>>2]|0),r=s?t:r,e[(s?n:i)+220>>2]=r,n=(e[(s?o:l)>>2]|0)+216|0,e[n>>2]=(e[n>>2]|0)+(e[(e[(s?l:o)>>2]|0)+216>>2]|0)),r|0}function RQ(r){r=r|0,r=e[r+16>>2]|0,e[r+216>>2]=1,e[r+220>>2]=0,y[r+159>>0]=0}function Xk0(r,t){if(r=r|0,t=t|0,(Ht(r)|0)==(r|0)){r=e[r+16>>2]|0,e[r+220>>2]=t,t=(e[t+16>>2]|0)+216|0,e[t>>2]=(e[t>>2]|0)+(e[r+216>>2]|0);return}else H0(107669,107661,194,107685)}function Rp(r,t){r=r|0,t=t|0;var i=0;t=e[(e[t+16>>2]|0)+132>>2]|0,i=+u[t+8>>3]*72,u[r>>3]=+u[t>>3]*72,u[r+8>>3]=i}function Ei(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(p=g,g=g+576|0,w=p,s=0;!((s|0)>(i|0));)a=w+(s<<4)|0,A=t+(s<<4)|0,e[a>>2]=e[A>>2],e[a+4>>2]=e[A+4>>2],e[a+8>>2]=e[A+8>>2],e[a+12>>2]=e[A+12>>2],s=s+1|0;for(c=1-n,s=1;!((s|0)>(i|0));){for(A=i-s|0,a=s+-1|0,t=0;!((t|0)>(A|0));)v=t+1|0,u[w+(s*96|0)+(t<<4)>>3]=+u[w+(a*96|0)+(v<<4)>>3]*n+ +u[w+(a*96|0)+(t<<4)>>3]*c,u[w+(s*96|0)+(t<<4)+8>>3]=+u[w+(a*96|0)+(v<<4)+8>>3]*n+ +u[w+(a*96|0)+(t<<4)+8>>3]*c,t=v;s=s+1|0}e:do if(o|0)for(s=0;;){if((s|0)>(i|0))break e;v=o+(s<<4)|0,a=w+(s*96|0)|0,e[v>>2]=e[a>>2],e[v+4>>2]=e[a+4>>2],e[v+8>>2]=e[a+8>>2],e[v+12>>2]=e[a+12>>2],s=s+1|0}while(0);e:do if(l|0)for(s=0;;){if((s|0)>(i|0))break e;v=l+(s<<4)|0,o=w+((i-s|0)*96|0)+(s<<4)|0,e[v>>2]=e[o>>2],e[v+4>>2]=e[o+4>>2],e[v+8>>2]=e[o+8>>2],e[v+12>>2]=e[o+12>>2],s=s+1|0}while(0);v=w+(i*96|0)|0,e[r>>2]=e[v>>2],e[r+4>>2]=e[v+4>>2],e[r+8>>2]=e[v+8>>2],e[r+12>>2]=e[v+12>>2],g=p}function qk0(r){r=r|0;var t=0,i=0,n=0,o=0;i=0;do{if(t=e[47315]|0,n=t+1024|0,(t-i|0)<1024?(e[47315]=n,n=Oe(e[47316]|0,n)|0,e[47316]=n,t=e[47315]|0):n=e[47316]|0,t=tu(n+i|0,t-i|0,r)|0,!t){o=6;break}i=(d2(t)|0)+i|0,t=e[47316]|0}while((y[t+(i+-1)>>0]|0)!=10);return(o|0)==6&&(t=e[47316]|0),((i|0)>0?t:0)|0}function Gp(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0;do if(r|0&&y[r>>0]|0){if(t=e[47133]|0,i=e[47318]|0,(e[47317]|0)==(t|0))t=i;else{if(i&&(r0(e[i>>2]|0),r0(e[47318]|0),e[47318]=0,t=e[47133]|0),e[47317]=t,!t||!(y[t>>0]|0))break;t=$k0(t)|0,e[47318]=t}if(!((y[r>>0]|0)!=47&(t|0)!=0))break;r=Kk0(t,e[47319]|0,r)|0;break}else r=0;while(0);return g=n,r|0}function $k0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(n=0,o=0,l=0,t=C2(r)|0,i=0;t=Qf(t,107984)|0,!!t;)r=(l<<2)+8|0,o?r=Oe(i,r)|0:r=_0(r)|0,e[r+(l<<2)>>2]=t,o=d2(t)|0,n=n>>>0>o>>>0?n:o,o=r,l=l+1|0,t=0,i=r;return e[o+(l<<2)>>2]=0,e[47319]=n,o|0}function Kk0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=g,g=g+16|0,n=l,s=e[47320]|0,e[47320]=O2(s,t+2+(d2(i)|0)|0)|0;;){if(t=e[r>>2]|0,!t){r=0;break}if(s=e[47320]|0,e[n>>2]=t,e[n+4>>2]=107982,e[n+8>>2]=i,Ke(s,107975,n)|0,MB0(e[47320]|0,4)|0)r=r+4|0;else{o=4;break}}return(o|0)==4&&(r=e[47320]|0),g=l,r|0}function _C(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(o=(r|0)==0,n=0;l=e[t+(n<<2)>>2]|0,!(!l||!o&&(y[r>>0]|0)==(y[l>>0]|0)&&!(ge(r,l)|0));)n=n+1|0;return e[i+(n<<2)>>2]|0}function GQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0;for(N=g,g=g+80|0,G=N+16|0,W=N,z=e[t+4>>2]|0,_=e[t>>2]|0,L=i+8|0,o=0,n=-1,l=1e38,t=-1;!((o|0)>=(z|0));){for(B=e[_+(o*48|0)>>2]|0,x=e[_+(o*48|0)+4>>2]|0,E=0;!((E|0)>=(x|0));)m=+u[B+(E<<4)>>3]-+u[i>>3],v=+u[B+(E<<4)+8>>3]-+u[L>>3],m=v*v+m*m,T=(n|0)==-1|m>2]|0,n=n+(((n|0)==((e[_+(t*48|0)+4>>2]|0)+-1|0))<<31>>31)|0,n=n-((n|0)%3|0)|0,t=0;(t|0)!=4;)D=t+n|0,u[G+(t<<4)>>3]=+u[o+(D<<4)>>3],u[G+(t<<4)+8>>3]=+u[o+(D<<4)+8>>3],t=t+1|0;for(m=+u[i>>3],a=+u[G>>3]-m,p=+u[L>>3],v=+u[G+8>>3]-p,A=+u[G+48>>3]-m,w=+u[G+56>>3]-p,t=W+8|0,l=1,s=0,A=w*w+A*A,a=v*v+a*a;v=(l+s)*.5,Ei(W,G,3,v,0,0),c=+u[W>>3],w=+u[t>>3],!(+L0(+(a-A))<1||+L0(+(l-s))<1e-5);)D=a>3]=c,u[r+8>>3]=w,g=N}function bk0(){return 0}function Zp(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;t=+sr(r,e[47146]|0,.75,.01),o=r+16|0,u[(e[o>>2]|0)+32>>3]=t,t=+sr(r,e[47145]|0,.5,.02),u[(e[o>>2]|0)+40>>3]=t,a=rk0(F2(r,e[47147]|0,107986)|0,r)|0,e[(e[o>>2]|0)+8>>2]=a,a=k2(r,e[47154]|0)|0,t=+sr(r,e[47150]|0,14,1),i=F2(r,e[47151]|0,107994)|0,n=F2(r,e[47152]|0,137314)|0,l=(Rl(a)|0)!=0,A=(ZA(r)|0)==2,l=LA(r,a,(A?4:0)|(l?2:0),t,i,n)|0,e[(e[o>>2]|0)+104>>2]=l,l=e[47155]|0,l|0&&(s=k2(r,l)|0,s|0)&&y[s>>0]|0&&(a=(Rl(s)|0)!=0,a=LA(r,s,a?2:0,t,i,n)|0,e[(e[o>>2]|0)+108>>2]=a,a=(e[(We(r)|0)+16>>2]|0)+113|0,y[a>>0]=y[a>>0]|16),A=(pr(r,e[47158]|0,0,0)|0)&255,a=e[o>>2]|0,y[a+144>>0]=A,l2[e[e[(e[a+8>>2]|0)+4>>2]>>2]&127](r)}function Rf(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=g,g=g+112|0,a=z+96|0,c=z+80|0,E=z+40|0,x=z,m=r+48|0,p=We(e[((e[r>>2]&3|0)==3?r:m)+40>>2]|0)|0,o=a+8|0,e[o>>2]=0,w=c+8|0,e[w>>2]=0,t=e[47182]|0,t|0&&(i=k2(r,t)|0,(i|0)!=0)&&y[i>>0]|0?(zC(r,a),B=(Rl(i)|0)!=0,l=+u[a>>3],n=e[o>>2]|0,t=e[a+12>>2]|0,i=LA(r,i,B?2:0,l,n,t)|0,B=r+16|0,e[(e[B>>2]|0)+96>>2]=i,i=(e[p+16>>2]|0)+113|0,y[i>>0]=y[i>>0]|1,i=jt(wt(r,e[47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[(e[((e[r>>2]&3|0)==2?r:i)+40>>2]|0)+16>>2]|0)+145>>0]=1):i=r+-48|0,n=(e[o>>2]|0)+56|0,i=e[((e[r>>2]&3|0)==2?r:i)+40>>2]|0,WQ(x,e[(e[(e[(e[i+16>>2]|0)+8>>2]|0)+4>>2]|0)+8>>2]|0,i,t),t=x,i=n+40|0;do e[n>>2]=e[t>>2],n=n+4|0,t=t+4|0;while((n|0)<(i|0));return(DQ(r,e[47205]|0)|0)<<24>>24&&(y[(e[o>>2]|0)+86>>0]=0),g=z,B|0}function zC(r,t){r=r|0,t=t|0,u[t>>3]=+sr(r,e[47179]|0,14,1),e[t+8>>2]=F2(r,e[47180]|0,107994)|0,e[t+12>>2]=F2(r,e[47181]|0,137314)|0}function ZQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=t+8|0,e[n>>2]|0||zC(r,t),u[i>>3]=+sr(r,e[47199]|0,+u[t>>3],1),e[i+8>>2]=F2(r,e[47200]|0,e[n>>2]|0)|0,e[i+12>>2]=F2(r,e[47201]|0,e[t+12>>2]|0)|0}function WQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;if(c=g,g=g+128|0,a=c+80|0,l=c+40|0,o=c,n|0&&(A=Zr(n,58)|0,(A|0)!=0)){y[A>>0]=0,s=A+1|0,Y1[t&31](l,i,n,s),i=a,o=l,t=i+36|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(t|0));y[A>>0]=58,n=s}else{Y1[t&31](o,i,n,0),i=a,t=i+36|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(t|0))}i=r,o=a,t=i+36|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(t|0));e[r+36>>2]=n,g=c}function DQ(r,t){r=r|0,t=t|0;var i=0;return t|0&&(i=k2(r,t)|0,(i|0)!=0)&&y[i>>0]|0?r=(jt(i)|0)<<24>>24==0&1:r=0,r|0}function MQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(a=g,g=g+32|0,s=a,A=e[t+8>>2]|0,i=e[t+4>>2]|0,i=(e[t+44>>2]|0)+((N0((i|0)>1?i+-1|0:0,A)|0)<<4)|0,n=s+16|0,e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],e[s>>2]=e[i>>2],e[s+4>>2]=e[i+4>>2],e[s+8>>2]=e[i+8>>2],e[s+12>>2]=e[i+12>>2],o=s+8|0,l=s+24|0,t=1;!((t|0)>=(A|0));)c=i+(t<<4)|0,p=+u[c>>3],u[s>>3]=+u[(+u[s>>3]>3],w=+u[c+8>>3],u[o>>3]=+u[(+u[o>>3]>3],u[n>>3]=+u[(+u[n>>3]>p?n:c)>>3],u[l>>3]=+u[(+u[l>>3]>w?n:c)+8>>3],t=t+1|0;e[r>>2]=e[s>>2],e[r+4>>2]=e[s+4>>2],e[r+8>>2]=e[s+8>>2],e[r+12>>2]=e[s+12>>2],e[r+16>>2]=e[s+16>>2],e[r+20>>2]=e[s+20>>2],e[r+24>>2]=e[s+24>>2],e[r+28>>2]=e[s+28>>2],g=a}function el(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;i=g,g=g+64|0,l=i+32|0,n=i,o=e[r+16>>2]|0,r=o+16|0,o=e[o+116>>2]&1,e[l>>2]=e[r>>2],e[l+4>>2]=e[r+4>>2],e[l+8>>2]=e[r+8>>2],e[l+12>>2]=e[r+12>>2],e[l+16>>2]=e[r+16>>2],e[l+20>>2]=e[r+20>>2],e[l+24>>2]=e[r+24>>2],e[l+28>>2]=e[r+28>>2],Gf(n,l,t,o),e[r>>2]=e[n>>2],e[r+4>>2]=e[n+4>>2],e[r+8>>2]=e[n+8>>2],e[r+12>>2]=e[n+12>>2],e[r+16>>2]=e[n+16>>2],e[r+20>>2]=e[n+20>>2],e[r+24>>2]=e[n+24>>2],e[r+28>>2]=e[n+28>>2],g=i}function Gf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;l=+u[i+56>>3],c=+u[i+64>>3],A=n<<24>>24==0,a=+u[i+24>>3],s=+u[i+32>>3],w=(A?a:s)*.5,o=l-w,l=w+l,o<+u[t>>3]&&(u[t>>3]=o),n=t+16|0,l>+u[n>>3]&&(u[n>>3]=l),l=(A?s:a)*.5,o=c-l,l=l+c,n=t+8|0,o<+u[n>>3]&&(u[n>>3]=o),n=t+24|0,l>+u[n>>3]&&(u[n>>3]=l),e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2],e[r+16>>2]=e[t+16>>2],e[r+20>>2]=e[t+20>>2],e[r+24>>2]=e[t+24>>2],e[r+28>>2]=e[t+28>>2]}function MA(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0;if(f0=g,g=g+448|0,q=f0+416|0,B=f0+384|0,x=f0+304|0,H=f0+256|0,F=f0+192|0,T=f0+144|0,D=f0+96|0,t=f0+400|0,i=f0+368|0,n=f0+352|0,o=f0+336|0,z=f0+288|0,_=f0+224|0,L=f0+160|0,G=f0+112|0,W=f0+64|0,N=f0+32|0,t0=f0,Y=r+16|0,!(v2(r)|0)&&!(e[(e[Y>>2]|0)+180>>2]|0))Wp(t,0,0),e[H>>2]=e[t>>2],e[H+4>>2]=e[t+4>>2],e[H+8>>2]=e[t+8>>2],e[H+12>>2]=e[t+12>>2],H=H+16|0,Wp(i,0,0),e[H>>2]=e[i>>2],e[H+4>>2]=e[i+4>>2],e[H+8>>2]=e[i+8>>2],e[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A>>2]|0),i=e[t+100>>2]|0,i|0&&y[i+81>>0]|0&&(t=e[(e[Y>>2]|0)+116>>2]&1,e[q>>2]=e[H>>2],e[q+4>>2]=e[H+4>>2],e[q+8>>2]=e[H+8>>2],e[q+12>>2]=e[H+12>>2],e[q+16>>2]=e[H+16>>2],e[q+20>>2]=e[H+20>>2],e[q+24>>2]=e[H+24>>2],e[q+28>>2]=e[H+28>>2],Gf(G,q,i,t),e[H>>2]=e[G>>2],e[H+4>>2]=e[G+4>>2],e[H+8>>2]=e[G+8>>2],e[H+12>>2]=e[G+12>>2],e[H+16>>2]=e[G+16>>2],e[H+20>>2]=e[G+20>>2],e[H+24>>2]=e[G+24>>2],e[H+28>>2]=e[G+28>>2],t=e[A>>2]|0),i=e[t+104>>2]|0,i|0&&y[i+81>>0]|0&&(t=e[(e[Y>>2]|0)+116>>2]&1,e[q>>2]=e[H>>2],e[q+4>>2]=e[H+4>>2],e[q+8>>2]=e[H+8>>2],e[q+12>>2]=e[H+12>>2],e[q+16>>2]=e[H+16>>2],e[q+20>>2]=e[H+20>>2],e[q+24>>2]=e[H+24>>2],e[q+28>>2]=e[H+28>>2],Gf(W,q,i,t),e[H>>2]=e[W>>2],e[H+4>>2]=e[W+4>>2],e[H+8>>2]=e[W+8>>2],e[H+12>>2]=e[W+12>>2],e[H+16>>2]=e[W+16>>2],e[H+20>>2]=e[W+20>>2],e[H+24>>2]=e[W+24>>2],e[H+28>>2]=e[W+28>>2],t=e[A>>2]|0),t=e[t+108>>2]|0,t|0&&y[t+81>>0]|0&&(A=e[(e[Y>>2]|0)+116>>2]&1,e[q>>2]=e[H>>2],e[q+4>>2]=e[H+4>>2],e[q+8>>2]=e[H+8>>2],e[q+12>>2]=e[H+12>>2],e[q+16>>2]=e[H+16>>2],e[q+20>>2]=e[H+20>>2],e[q+24>>2]=e[H+24>>2],e[q+28>>2]=e[H+28>>2],Gf(N,q,t,A),e[H>>2]=e[N>>2],e[H+4>>2]=e[N+4>>2],e[H+8>>2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+24>>2],e[Y+28>>2]=e[H+28>>2]}g=f0}function Wp(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function LC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[t+8>>3]-+u[i+8>>3],u[r>>3]=+u[t>>3]-+u[i>>3],u[r+8>>3]=n}function jQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function Dp(r){return r=r|0,(e[r+60>>2]|0)==(r|0)?r=1:r=(go(te(r)|0,108006,7)|0)==0&1,r|0}function RC(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;e:do if(!o)switch(qo(t)|0){case 0:{o=re(r,0,i,195059)|0;break e}case 1:{o=re(r,1,i,195059)|0;break e}case 2:{o=re(r,2,i,195059)|0;break e}default:{o=0;break e}}while(0);return Er(t,o,n)|0,o|0}function ev0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+144|0,n=A,l=NQ(r)|0,o=at(23592,e[4581]|0)|0,s=ji(r,108014,1)|0,$e(s,137483,280,1)|0,Ot(n,128,A+16|0),t=U0(r)|0;t;){e:do if(!(y[(e[t+16>>2]|0)+118>>0]|0))for(i=Me(r,t)|0;;){if(!i)break e;rv0(i,s,n,o,l),i=Qe(r,i)|0}while(0);t=X0(r,t)|0}for(Vt(n),Fr(o)|0,i=v2(s)|0,t=U0(s)|0;t;)o=X0(s,t)|0,zn(r,t)|0,t=o;return Di(s)|0,i|0&&(s=(e[r+16>>2]|0)+136|0,$[s>>1]=$[s>>1]|1),Fr(l)|0,g=A,i|0}function NQ(r){r=r|0;var t=0;return t=at(23628,e[4581]|0)|0,QQ(r,t),t|0}function rv0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+48|0,m=x+32|0,v=x+24|0,B=x+16|0,E=x+8|0,a=x,w=e[r>>2]&3,c=e[((w|0)==3?r:r+48|0)+40>>2]|0,w=e[((w|0)==2?r:r+-48|0)+40>>2]|0;do if(!(y[(e[w+16>>2]|0)+118>>0]|0)&&(Yr(te(c)|0,108006,7)|0?p=0:p=GC(o,te(c)|0)|0,Yr(te(w)|0,108006,7)|0?s=0:s=GC(o,te(w)|0)|0,l=(p|0)!=0,A=(s|0)!=0,l|A)){if((p|0)==(s|0)){E=te(c)|0,B=te(c)|0,e[a>>2]=E,e[a+4>>2]=B,$0(0,108029,a)|0;break}if(o=tv0(n,r)|0,o|0){Fh(r,e[o+16>>2]|0,e[o+20>>2]|0)|0;break}if(!A)if(Mi(p,w)|0){E=te(w)|0,B=te(p)|0,e[m>>2]=E,e[m+4>>2]=B,$0(0,108184,m)|0;break}else{ZC(n,c,w,Fh(r,Mp(c,p,i,t)|0,w)|0);break}if(!l)if(Mi(s,c)|0){E=te(c)|0,B=te(s)|0,e[v>>2]=E,e[v+4>>2]=B,$0(0,108147,v)|0;break}else{ZC(n,c,w,Fh(r,c,Mp(w,s,i,t)|0)|0);break}if(Mi(s,p)|0){m=te(p)|0,B=te(s)|0,e[E>>2]=m,e[E+4>>2]=B,$0(0,108067,E)|0;break}if(Mi(p,s)|0){m=te(s)|0,E=te(p)|0,e[B>>2]=m,e[B+4>>2]=E,$0(0,108107,B)|0;break}else{B=Mp(c,p,i,t)|0,ZC(n,c,w,Fh(r,B,Mp(w,s,i,t)|0)|0);break}}while(0);g=x}function GC(r,t){return r=r|0,t=t|0,r=oe[e[r>>2]&63](r,t,512)|0,r?r=e[r+12>>2]|0:r=0,r|0}function tv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+16|0,n=i,o=e[t>>2]&3,e[n>>2]=e[((o|0)==3?t:t+48|0)+40>>2],e[n+4>>2]=e[((o|0)==2?t:t+-48|0)+40>>2],t=oe[e[r>>2]&63](r,n,512)|0,g=i,t|0}function Fh(r,t,i){return r=r|0,t=t|0,i=i|0,i=rr(We(t)|0,t,i,0,1)|0,$e(i,137460,176,1)|0,yd(r,i)|0,i|0}function Mp(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;return a=g,g=g+112|0,o=a,A=a+4|0,t2(i,108221)|0,s=e[47321]|0,e[47321]=s+1,e[o>>2]=s,Ke(A,137395,o)|0,t2(i,A)|0,A=i+4|0,o=e[A>>2]|0,s=i+8|0,o>>>0>=(e[s>>2]|0)>>>0&&(Xe(i,1)|0,o=e[A>>2]|0),e[A>>2]=o+1,y[o>>0]=58,t2(i,te(t)|0)|0,l=a2(t)|0,o=e[A>>2]|0,o>>>0>=(e[s>>2]|0)>>>0&&(Xe(i,1)|0,o=e[A>>2]|0),y[o>>0]=0,i=e[i>>2]|0,e[A>>2]=i,A=ht(l,i,1)|0,$e(A,137447,304,1)|0,y[(e[A+16>>2]|0)+118>>0]=1,ct(t,A,1)|0,ct(n,r,1)|0,n=We(A)|0,e[47154]=RC(n,A,108224,195059,e[47154]|0)|0,n=We(A)|0,e[47157]=RC(n,A,141082,134335,e[47157]|0)|0,n=We(A)|0,e[47147]=RC(n,A,108230,108236,e[47147]|0)|0,g=a,A|0}function ZC(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;o=g,g=g+32|0,l=o,p=l+8|0,e[p>>2]=t,w=l+12|0,e[w>>2]=i,v=e[n>>2]&3,A=n+48|0,a=l+16|0,e[a>>2]=e[((v|0)==3?n:A)+40>>2],c=n+-48|0,s=l+20|0,e[s>>2]=e[((v|0)==2?n:c)+40>>2],oe[e[r>>2]&63](r,l,1)|0,e[p>>2]=i,e[w>>2]=t,i=e[n>>2]&3,e[a>>2]=e[((i|0)==2?n:c)+40>>2],e[s>>2]=e[((i|0)==3?n:A)+40>>2],oe[e[r>>2]&63](r,l,1)|0,g=o}function iv0(r,t,i){return r=r|0,t=t|0,i=i|0,i=j0(24)|0,e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],e[i+16>>2]=e[t+16>>2],e[i+20>>2]=e[t+20>>2],i|0}function nv0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function ov0(r,t,i,n){if(r=r|0,t=t|0,i=i|0,n=n|0,r=e[t>>2]|0,n=e[i>>2]|0,r>>>0>=n>>>0)if(r>>>0>n>>>0)r=1;else return t=e[t+4>>2]|0,i=e[i+4>>2]|0,(t>>>0>>0?-1:t>>>0>i>>>0&1)|0;else r=-1;return r|0}function QQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(s=g,g=g+16|0,l=s,o=r+16|0,n=1;r=e[o>>2]|0,!((n|0)>(e[r+180>>2]|0));)r=e[(e[r+184>>2]|0)+(n<<2)>>2]|0,i=te(r)|0,oe[e[t>>2]&63](t,i,512)|0?(e[l>>2]=i,$0(0,108240,l)|0):(A=j0(16)|0,e[A+8>>2]=i,e[A+12>>2]=r,oe[e[t>>2]&63](t,A,1)|0),QQ(r,t),n=n+1|0;g=s}function lv0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function TQ(r){r=r|0;var t=0,i=0,n=0;for(n=ji(r,108014,1)|0,$e(n,137483,280,1)|0,t=U0(r)|0;t;){for(i=Me(r,t)|0;i;)sv0(i,n),i=Qe(r,i)|0;t=X0(r,t)|0}for(t=U0(n)|0;t;)i=X0(n,t)|0,jA(t),zn(r,t)|0,t=i;Di(n)|0}function sv0(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r>>2]&3,n=e[((i|0)==3?r:r+48|0)+40>>2]|0,i=e[((i|0)==2?r:r+-48|0)+40>>2]|0,!(y[(e[n+16>>2]|0)+118>>0]|0)&&!(y[(e[i+16>>2]|0)+118>>0]|0)||(n=FQ(n,t)|0,i=Fh(r,n,FQ(i,t)|0)|0,n=e[r+16>>2]|0,t=n+8|0,i=e[i+16>>2]|0,e[i+8>>2]=e[t>>2],e[t>>2]=0,t=n+96|0,e[i+96>>2]=e[t>>2],e[t>>2]=0,t=n+108|0,e[i+108>>2]=e[t>>2],e[t>>2]=0,t=n+100|0,e[i+100>>2]=e[t>>2],e[t>>2]=0,n=n+104|0,e[i+104>>2]=e[n>>2],e[n>>2]=0,NA(r))}function jA(r){r=r|0;var t=0,i=0,n=0;n=r+16|0,t=e[n>>2]|0,i=e[t+132>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+8>>2]|0,i&&(l2[e[(e[i+4>>2]|0)+4>>2]&127](r),t=e[n>>2]|0),fn(e[t+104>>2]|0),fn(e[(e[n>>2]|0)+108>>2]|0),An(r,137447)|0}function FQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=We(r)|0;e:do if(y[(e[r+16>>2]|0)+118>>0]|0&&(ct(t,r,1)|0,r=Zr(te(r)|0,58)|0,r||H0(111208,107661,1225,108292),t=r+1|0,r=ht(n,t,0)|0,!r))for(r=ht(n,t,1)|0,$e(r,137447,304,1)|0,t=ao(n,1,0)|0;;){if(!t)break e;o=k2(r,t)|0,i=e[t+12>>2]|0,(o|0)!=(i|0)&&Er(r,t,i)|0,t=ao(n,1,t)|0}while(0);return r|0}function NA(r){r=r|0;var t=0;t=r+16|0,r0(e[(e[t>>2]|0)+144>>2]|0),jp(r),fn(e[(e[t>>2]|0)+96>>2]|0),fn(e[(e[t>>2]|0)+108>>2]|0),fn(e[(e[t>>2]|0)+100>>2]|0),fn(e[(e[t>>2]|0)+104>>2]|0),An(r,137460)|0}function jp(r){r=r|0;var t=0,i=0,n=0;if(n=r+16|0,r=e[n>>2]|0,t=e[r+8>>2]|0,t){for(i=0;r=e[t>>2]|0,!((i|0)>=(e[t+4>>2]|0));)r0(e[r+(i*48|0)>>2]|0),i=i+1|0,t=e[(e[n>>2]|0)+8>>2]|0;r0(r),r0(e[(e[n>>2]|0)+8>>2]|0),r=e[n>>2]|0}e[r+8>>2]=0}function Lt(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=re(r,t,i,0)|0,o||(o=re(r,t,i,n)|0),o|0}function Av0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;return p=g,g=g+32|0,s=p,l=p+8|0,A=p+16|0,c=Zr(r,59)|0,w=t+4|0,i=e[w>>2]|0,a=t+8|0,i>>>0>=(e[a>>2]|0)>>>0&&(Xe(t,1)|0,i=e[w>>2]|0),e[w>>2]=i+1,y[i>>0]=38,c|0&&(n=c-r|0,(n+-2|0)>>>0<=6)&&(Pc(A,r,n)|0,y[A+n>>0]=0,e[l>>2]=A,o=Oc(l,23664,252,8,96)|0,(o|0)!=0)&&(e[s>>2]=e[o+4>>2],Ke(A,137395,s)|0,r=e[w>>2]|0,r>>>0>=(e[a>>2]|0)>>>0&&(Xe(t,1)|0,r=e[w>>2]|0),e[w>>2]=r+1,y[r>>0]=35,t2(t,A)|0,r=e[w>>2]|0,r>>>0>=(e[a>>2]|0)>>>0&&(Xe(t,1)|0,r=e[w>>2]|0),e[w>>2]=r+1,y[r>>0]=59,r=c+1|0),g=p,r|0}function uv0(r,t){return r=r|0,t=t|0,ge(e[r>>2]|0,e[t>>2]|0)|0}function WC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(m=g,g=g+1072|0,a=m+8|0,A=m,s=m+16|0,p=m+24|0,e[s>>2]=r,(e[47322]|0)!=(t|0)&&(e[47322]=t,y[194958]=0),Ot(p,1024,m+40|0),v=p+4|0,w=p+8|0;n=r+1|0,e[s>>2]=n,i=y[r>>0]|0,!!(i<<24>>24);){do if((i&255)<192)if(i<<24>>24==38)if(n=YQ(s)|0,!n)i=38;else{if(n>>>0<127){i=n&255;break}if(r=e[v>>2]|0,i=r>>>0>=(e[w>>2]|0)>>>0,n>>>0<2047){i&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,y[r>>0]=n>>>6|192,i=(n&63|128)&255;break}i&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,y[r>>0]=n>>>12|224,r=e[v>>2]|0,r>>>0>=(e[w>>2]|0)>>>0&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,y[r>>0]=n>>>6&63|128,i=(n&63|128)&255}else l=0,c=9;else(i&255)>=224?(i&255)>=240?(i&255)<248?(l=3,c=9):(y[194958]|0||(e[A>>2]=te(t)|0,$0(0,109707,A)|0,y[194958]=1),l=-1,i=PQ(i,p)|0,c=9):(l=2,c=9):(l=1,c=9);while(0);do if((c|0)==9){for(c=0,o=0;;){if((o|0)>=(l|0)){c=34;break}if((y[n>>0]&-64)<<24>>24!=-128)break;r=e[v>>2]|0,r>>>0>=(e[w>>2]|0)>>>0&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,y[r>>0]=i,o=o+1|0,i=y[n>>0]|0,n=n+1|0}if((c|0)==34){c=0,e[s>>2]=n;break}e[s>>2]=n,y[194958]|0||(o=te(t)|0,e[a>>2]=l+1,e[a+4>>2]=o,$0(0,109828,a)|0,y[194958]=1),i=PQ(i,p)|0}while(0);r=e[v>>2]|0,r>>>0>=(e[w>>2]|0)>>>0&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,y[r>>0]=i,r=e[s>>2]|0}return r=e[v>>2]|0,r>>>0>=(e[w>>2]|0)>>>0&&(Xe(p,1)|0,r=e[v>>2]|0),y[r>>0]=0,w=e[p>>2]|0,e[v>>2]=w,v=C2(w)|0,Vt(p),g=m,v|0}function PQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(A=g,g=g+16|0,o=A,y[o>>0]=r,y[o+1>>0]=0,o=Ph(o)|0,l=t+4|0,s=t+8|0,i=d2(o)|0,n=o;!((i|0)<=1);)r=e[l>>2]|0,r>>>0>=(e[s>>2]|0)>>>0&&(Xe(t,1)|0,r=e[l>>2]|0),a=y[n>>0]|0,e[l>>2]=r+1,y[r>>0]=a,i=i+-1|0,n=n+1|0;return a=y[n>>0]|0,r0(o),g=A,a|0}function YQ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+32|0,l=s,t=s+8|0,i=e[r>>2]|0;e:do if((y[i>>0]|0)!=35){e[l>>2]=t,o=0;r:for(;;){if((o|0)>=8){t=0;break e}switch(n=y[i+o>>0]|0,n<<24>>24){case 0:{t=0;break e}case 59:break r;default:}y[t>>0]=n,t=t+1|0,o=o+1|0}y[t>>0]=0,t=Oc(l,23664,252,8,96)|0,t?(i=i+(o+1)|0,t=e[t+4>>2]|0):t=0}else{l=y[i+1>>0]|0,t=l&255;r:do if((l|32)<<24>>24==120)for(l=0,o=2;;){if((o|0)>=8){n=l;break r}if(n=y[i+o>>0]|0,t=n&255,(n+-65&255)>=6)if((n+-97&255)>=6)if((n+-48&255)<10)n=-48;else{n=l;break r}else n=-87;else n=-55;t=n+t|0,l=t+(l<<4)|0,o=o+1|0}else for(n=0,o=1;;){if((o|0)>=8||(l=y[i+o>>0]|0,t=l&255,(l+-48&255)>=10))break r;n=(n*10|0)+-48+t|0,o=o+1|0}while(0);t=(t|0)==59,i=t?i+(o+1)|0:i,t=t?n:0}while(0);return e[r>>2]=i,g=s,t|0}function Ph(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(a=g,g=g+1056|0,o=a,s=a+8|0,e[o>>2]=r,Ot(s,1024,a+24|0),A=s+4|0,l=s+8|0;e[o>>2]=r+1,t=y[r>>0]|0,!!(t<<24>>24);){r=t&255,t<<24>>24==38?(r=YQ(o)|0,r?n=5:(r=38,n=6)):n=5;do if((n|0)==5)if(n=0,r>>>0<127)n=6;else{if(t=e[A>>2]|0,i=t>>>0>=(e[l>>2]|0)>>>0,r>>>0<2047){i&&(Xe(s,1)|0,t=e[A>>2]|0),e[A>>2]=t+1,y[t>>0]=r>>>6|192,t=e[A>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8>>2],e[A+12>>2]=e[c+12>>2],LC(w,a,A),s=+u[w>>3],o=+u[w+8>>3],e[a>>2]=e[r>>2],e[a+4>>2]=e[r+4>>2],e[a+8>>2]=e[r+8>>2],e[a+12>>2]=e[r+12>>2],e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],jQ(l,a,A),i=+u[l+8>>3],+u[t+16>>3]>=s&&+u[l>>3]>=+u[t>>3]&&+u[t+24>>3]>=o?r=i>=+u[t+8>>3]&1:r=0,g=n,r|0}function cv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+80|0,c=p+48|0,a=p,s=r+16|0,r=e[s>>2]|0,A=e[r+8>>2]|0;e:do if(A|0&&(l=A+8|0,e[a>>2]=e[l>>2],e[a+4>>2]=e[l+4>>2],e[a+8>>2]=e[l+8>>2],e[a+12>>2]=e[l+12>>2],e[a+16>>2]=e[l+16>>2],e[a+20>>2]=e[l+20>>2],e[a+24>>2]=e[l+24>>2],e[a+28>>2]=e[l+28>>2],e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],e[c+16>>2]=e[t+16>>2],e[c+20>>2]=e[t+20>>2],e[c+24>>2]=e[t+24>>2],e[c+28>>2]=e[t+28>>2],(hv0(a,c)|0)!=0)){for(i=A+4|0,r=0;!((r|0)>=(e[i>>2]|0));){n=a,o=(e[A>>2]|0)+(r*48|0)|0,l=n+48|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));if(e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],e[c+16>>2]=e[t+16>>2],e[c+20>>2]=e[t+20>>2],e[c+24>>2]=e[t+24>>2],e[c+28>>2]=e[t+28>>2],!((wv0(a,c)|0)<<24>>24))r=r+1|0;else{r=1;break e}}r=e[s>>2]|0,w=7}else w=7;while(0);do if((w|0)==7){if(r=e[r+96>>2]|0,r|0&&(e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],e[c+16>>2]=e[t+16>>2],e[c+20>>2]=e[t+20>>2],e[c+24>>2]=e[t+24>>2],e[c+28>>2]=e[t+28>>2],(DC(r,c)|0)<<24>>24)){r=1;break}r=0}while(0);return g=p,r|0}function hv0(r,t){return r=r|0,t=t|0,+u[r+16>>3]>=+u[t>>3]&&+u[t+16>>3]>=+u[r>>3]&&+u[r+24>>3]>=+u[t+8>>3]?r=+u[t+24>>3]>=+u[r+8>>3]&1:r=0,r|0}function wv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(p=g,g=g+96|0,c=p+64|0,a=p+48|0,A=p+32|0,o=p+16|0,l=p,w=r+4|0,i=e[w>>2]|0,i||H0(109937,107661,1637,109945),n=e[r>>2]|0,e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],n=1;;){if((n|0)>=(i|0)){s=7;break}if(i=(e[r>>2]|0)+(n<<4)|0,e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],e[a>>2]=e[l>>2],e[a+4>>2]=e[l+4>>2],e[a+8>>2]=e[l+8>>2],e[a+12>>2]=e[l+12>>2],e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],e[c+16>>2]=e[t+16>>2],e[c+20>>2]=e[t+20>>2],e[c+24>>2]=e[t+24>>2],e[c+28>>2]=e[t+28>>2],(Jd0(A,a,c)|0)!=-1){i=1;break}e[l>>2]=e[o>>2],e[l+4>>2]=e[o+4>>2],e[l+8>>2]=e[o+8>>2],e[l+12>>2]=e[o+12>>2],n=n+1|0,i=e[w>>2]|0}do if((s|0)==7){if(i=e[r+8>>2]|0,i|0&&(l=r+16|0,s=e[r>>2]|0,e[A>>2]=e[l>>2],e[A+4>>2]=e[l+4>>2],e[A+8>>2]=e[l+8>>2],e[A+12>>2]=e[l+12>>2],e[a>>2]=e[s>>2],e[a+4>>2]=e[s+4>>2],e[a+8>>2]=e[s+8>>2],e[a+12>>2]=e[s+12>>2],e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],e[c+16>>2]=e[t+16>>2],e[c+20>>2]=e[t+20>>2],e[c+24>>2]=e[t+24>>2],e[c+28>>2]=e[t+28>>2],(VQ(A,a,i,c)|0)<<24>>24)){i=1;break}if(i=e[r+12>>2]|0,i|0&&(s=r+32|0,w=(e[r>>2]|0)+((e[w>>2]|0)+-1<<4)|0,e[A>>2]=e[s>>2],e[A+4>>2]=e[s+4>>2],e[A+8>>2]=e[s+8>>2],e[A+12>>2]=e[s+12>>2],e[a>>2]=e[w>>2],e[a+4>>2]=e[w+4>>2],e[a+8>>2]=e[w+8>>2],e[a+12>>2]=e[w+12>>2],e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],e[c+16>>2]=e[t+16>>2],e[c+20>>2]=e[t+20>>2],e[c+24>>2]=e[t+24>>2],e[c+28>>2]=e[t+28>>2],(VQ(A,a,i,c)|0)<<24>>24)){i=1;break}i=0}while(0);return g=p,i|0}function VQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;return c=g,g=g+160|0,l=c+144|0,o=c+128|0,w=c+96|0,s=c+64|0,A=c+32|0,a=c,p=+u[n+16>>3],e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],uc(w,o,l,1,i),p>=+u[w>>3]&&(e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],uc(s,o,l,1,i),+u[s+16>>3]>=+u[n>>3])&&(p=+u[n+24>>3],e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],uc(A,o,l,1,i),p>=+u[A+8>>3])&&(e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],uc(a,o,l,1,i),+u[a+24>>3]>=+u[n+8>>3])?o=1:o=0,g=c,o|0}function dv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,n=o;e:do if(r|0&&(i=y[r>>0]|0,i<<24>>24!=0)){do switch(i<<24>>24|0){case 48:{t=2;break e}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:{t=10;break e}case 67:case 99:{if(i=r+1|0,!(De(i,109960)|0)){t=4;break e}if(!(De(i,109966)|0)){t=12;break e}break}case 70:case 102:{if(!(De(r+1|0,109974)|0)){t=2;break e}break}case 76:case 108:{if(!(De(r+1|0,109979)|0)){t=2;break e}break}case 78:case 110:{if(i=r+1|0,!(De(i,109983)|0)){t=0;break e}if(!(De(i,109987)|0)){t=2;break e}break}case 79:case 111:{if(!(De(r+1|0,109989)|0)){t=8;break e}break}case 80:case 112:{if(!(De(r+1|0,109994)|0)){t=6;break e}break}case 83:case 115:{if(!(De(r+1|0,110002)|0)){t=10;break e}break}case 84:case 116:{if(!(De(r+1|0,110008)|0)){t=10;break e}break}case 89:case 121:{if(!(De(r+1|0,110012)|0)){t=10;break e}break}default:}while(0);e[n>>2]=r,$0(0,110015,n)|0}while(0);return g=o,t|0}function rl(r,t){r=r|0,t=t|0;var i=0;i=he(r,110056)|0,i&&(y[i>>0]|0?t=dv0(i,t)|0:t=0),r=(e[r+16>>2]|0)+136|0,$[r>>1]=t|M0[r>>1]}function MC(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;L=g,g=g+32|0,m=L+16|0,B=L,z=o&1,_=o&2;e:do if((i|0)==2)x=+u[r+16>>3],l=+u[r>>3],a=+u[r+24>>3],A=+u[r+8>>3],l=l-(x-l),u[m>>3]=l,u[B>>3]=x,A=A-(a-A),u[m+8>>3]=A,u[B+8>>3]=a;else for(s=+u[r>>3],u[B>>3]=s,u[m>>3]=s,a=+u[r+8>>3],w=B+8|0,u[w>>3]=a,p=m+8|0,u[p>>3]=a,o=0,l=s,A=a;;){if((o|0)>=(i|0)){x=s;break e}G=r+(o<<4)|0,E=+u[G>>3],c=+u[(E>3],u[m>>3]=c,x=+u[r+(o<<4)+8>>3],v=+u[(x>3],u[p>>3]=v,E=+u[(E>s?G:B)>>3],u[B>>3]=E,x=+u[(x>a?G:B)+8>>3],u[w>>3]=x,o=o+1|0,l=c,A=v,s=E,a=x}while(0);s=(x-l)*.5,E=s+l,v=(a-A)*.5,c=v+A,z?(n=+G0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2]|0)+196>>2]|0,n=o+(t<<6)|0,o=e[o+(t<<6)+4>>2]|0,o?o=Oe(o,(e[n>>2]<<2)+8|0)|0:o=_0((e[n>>2]<<2)+8|0)|0,n=e[(e[l>>2]|0)+196>>2]|0,e[n+(t<<6)+4>>2]=o,n=e[n+(t<<6)>>2]|0;!((n|0)<=(i|0));)s=n+-1|0,A=e[o+(s<<2)>>2]|0,e[o+(n<<2)>>2]=A,A=(e[A+16>>2]|0)+236|0,e[A>>2]=(e[A>>2]|0)+1,n=s;return s=Ml(r)|0,A=o+(i<<2)|0,e[A>>2]=s,s=e[s+16>>2]|0,e[s+236>>2]=i,e[s+232>>2]=t,l=(e[(e[l>>2]|0)+196>>2]|0)+(t<<6)|0,s=(e[l>>2]|0)+1|0,e[l>>2]=s,e[o+(s<<2)>>2]=0,e[A>>2]|0}function HQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;r=e[(e[r+16>>2]|0)+236>>2]|0,t=e[(e[t+16>>2]|0)+236>>2]|0,o=(r|0)>(t|0),e[i>>2]=o?t:r,e[n>>2]=o?r:t}function JQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;c=g,g=g+16|0,l=c+4|0,o=c,r=e[r+16>>2]|0;do if((y[r+156>>0]|0)==1){if(a=e[r+236>>2]|0,e[r+176>>2]|0){for(s=e[r+180>>2]|0,r=0,o=0,l=0;A=e[s+(l<<2)>>2]|0,!!A;)w=e[(e[(e[((e[A>>2]&3|0)==2?A:A+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,A=(w|0)>(i|0),r=A?(w|0)<(n|0)?r:1:r,o=A?o:1,l=l+1|0;if(o<<24>>24!=0&r<<24>>24==0){e[t>>2]=a+1;break}if(!(o<<24>>24==0&r<<24>>24!=0))break;e[t+4>>2]=a+-1;break}if((e[r+184>>2]|0)!=2&&H0(88397,88417,63,88424),s=e[r+180>>2]|0,w=e[s>>2]|0,s=e[s+4>>2]|0,HQ(e[((e[w>>2]&3|0)==2?w:w+-48|0)+40>>2]|0,e[((e[s>>2]&3|0)==2?s:s+-48|0)+40>>2]|0,l,o),s=e[o>>2]|0,(s|0)<=(i|0)){e[t>>2]=a,e[t+8>>2]=a;break}if(r=e[l>>2]|0,(r|0)>=(n|0)){e[t+4>>2]=a,e[t+12>>2]=a;break}if(o=(r|0)<(i|0),l=(s|0)>(n|0),!(l&o)){if(!o&&!((s|0)<(n|0)&(r|0)==(i|0))||(e[t+8>>2]=a),!l&&!((s|0)==(n|0)&(r|0)>(i|0)))break;e[t+12>>2]=a}}while(0);g=c}function vv0(r){r=r|0,e[47134]=1,NC(r),e[47134]=0}function mv0(r){r=r|0,e[47134]=2,NC(r),e[47134]=0}function Yh(r){r=r|0;var t=0;$e(r,137447,304,1)|0,Zp(r),t=j0((M0[(e[(We(r)|0)+16>>2]|0)+176>>1]|0)<<3)|0,e[(e[r+16>>2]|0)+132>>2]=t,Sc(r,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1)}function gv0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;E=g,g=g+64|0,s=E+48|0,w=E+40|0,A=E+24|0,l=E+8|0,v=E+56|0,a=E;do if(r|0&&(m=i+16|0,p=e[(e[m>>2]|0)+132>>2]|0,o=k2(i,r)|0,(y[o>>0]|0)!=0)){if(y[v>>0]=0,r=p+8|0,(e[47137]|0)>2&&(e[l>>2]=p,e[l+4>>2]=r,e[l+8>>2]=p+16,e[l+12>>2]=v,(X2(o,88535,l)|0)>2)){y[(e[m>>2]|0)+119>>0]=1,o=e[47137]|0;e:do if(+u[23293]>0)for(r=0;;){if((r|0)>=(o|0))break e;w=p+(r<<3)|0,u[w>>3]=+u[w>>3]/+u[23293],r=r+1|0}while(0);if((o|0)>3&&VC(i,n,3),(y[v>>0]|0)!=33){if(!t){r=1;break}if(!((jt(k2(i,t)|0)|0)<<24>>24)){r=1;break}}y[(e[m>>2]|0)+119>>0]=3,r=1;break}if(e[A>>2]=p,e[A+4>>2]=r,e[A+8>>2]=v,(X2(o,101749,A)|0)<=1){e[s>>2]=te(i)|0,e[s+4>>2]=o,$0(1,88549,s)|0,r=0;break}y[(e[m>>2]|0)+119>>0]=1,o=e[47137]|0;e:do if(+u[23293]>0)for(r=0;;){if((r|0)>=(o|0))break e;A=p+(r<<3)|0,u[A>>3]=+u[A>>3]/+u[23293],r=r+1|0}while(0);do if((o|0)>2){if(r=e[47171]|0,r|0&&(c=k2(i,r)|0,c|0)&&(e[w>>2]=a,(X2(c,101209,w)|0)==1)){x=+u[23293],B=+u[a>>3],u[p+16>>3]=x>0?B/x:B,VC(i,n,3);break}HC(i,n)}while(0);if((y[v>>0]|0)!=33){if(!t){r=1;break}if(!((jt(k2(i,t)|0)|0)<<24>>24)){r=1;break}}y[(e[m>>2]|0)+119>>0]=3,r=1}else r=0;while(0);return g=E,r|0}function yv0(r){r=r|0;var t=0,i=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)NA(t),t=Qe(r,t)|0;jA(i),i=X0(r,i)|0}Cv0(r)}function Cv0(r){r=r|0,(e[47134]|0)!=0|(e[46795]|0)<0&&vT(r),(a2(r)|0)!=(r|0)&&wf(r,0,137483)}function Ev0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(v=g,g=g+48|0,a=v+32|0,w=v,A=re(r,0,102637,0)|0,i=re(r,0,102671,0)|0,p=(DA(he(r,88593)|0,0)|0)<<24>>24!=0,i||(i=re(r,0,102671,195059)|0),o50(r)|0,c=r+16|0,l=0;;){if(s=e[(e[(e[c>>2]|0)+152>>2]|0)+(l<<2)>>2]|0,!s){n=12;break}if(o=s+16|0,n=e[o>>2]|0,!(y[n+119>>0]|0)){if(Yr(te(s)|0,108006,7)|0){n=8;break}n=e[o>>2]|0}n=e[n+108>>2]|0,n|0&&Oh(s,n,102633),l=l+1|0}e:do if((n|0)==8)p=te(s)|0,i=te(r)|0,e[a>>2]=p,e[a+4>>2]=i,$0(1,88605,a)|0,i=-1;else if((n|0)==12){if(UQ(r,A,i),s=Bv0(r)|0,i=e[(e[c>>2]|0)+8>>2]|0,e[i+88>>2]|0?(e[i+84>>2]=0,i=1):i=0,o=(t|0)!=0,l=(i|0)!=0,!(l|o&(e[47134]|0)==1^1)&&Uh(r)|0?(n=e[(e[c>>2]|0)+12>>2]|0,n&&(y[n+81>>0]=0),n=1):n=0,MA(r),l&&(t=(e[c>>2]|0)+16|0,xc0(w,r),e[t>>2]=e[w>>2],e[t+4>>2]=e[w+4>>2],e[t+8>>2]=e[w+8>>2],e[t+12>>2]=e[w+12>>2],e[t+16>>2]=e[w+16>>2],e[t+20>>2]=e[w+20>>2],e[t+24>>2]=e[w+24>>2],e[t+28>>2]=e[w+28>>2]),!o)for(e[47138]=1,n=U0(r)|0;;){if(!n)break e;p=e[n+16>>2]|0,w=e[p+132>>2]|0,u[p+16>>3]=+u[w>>3]*72,u[p+24>>3]=+u[w+8>>3]*72,n=X0(r,n)|0}do if(!(p|l)){if(p=e[c>>2]|0,+u[p+16>>3]==0&&+u[p+24>>3]==0)break;lT(r)}while(0);if((s|0)!=0&(n|(PC(r)|0)<<24>>24!=0))Iv0(r);else if((s|0)==2){e[47138]=1;break}Tp(r,0)}while(0);return g=v,i|0}function Oh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+48|0,s=A+32|0,n=A+24|0,o=A+16|0,l=A,r=he(r,i)|0,r|0&&(e[s>>2]=n,e[s+4>>2]=o,(X2(r,105503,s)|0)==2)&&(s=t+56|0,XQ(l,+u[n>>3],+u[o>>3]),e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],y[t+81>>0]=1),g=A}function UQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;a=g,g=g+48|0,A=a+32|0,n=a+24|0,o=a+16|0,l=a,s=r+16|0,t|0&&e[(e[s>>2]|0)+12>>2]|0&&(c=k2(r,t)|0,e[A>>2]=n,e[A+4>>2]=o,(X2(c,105503,A)|0)==2)&&(c=(e[(e[s>>2]|0)+12>>2]|0)+56|0,XQ(l,+u[n>>3],+u[o>>3]),e[c>>2]=e[l>>2],e[c+4>>2]=e[l+4>>2],e[c+8>>2]=e[l+8>>2],e[c+12>>2]=e[l+12>>2],y[(e[(e[s>>2]|0)+12>>2]|0)+81>>0]=1);e:do if(i|0)for(n=yt(r)|0;;){if(!n)break e;qQ(n,r,t,i),n=Ct(n)|0}while(0);g=a}function Bv0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(ys(r)|0)if(o=re(r,2,102623,0)|0,(o|0)==0|(e[47134]|0)<2)t=0;else{for(t=0,n=U0(r)|0;n;){for(i=Me(r,n)|0;i;)l=t+((xv0(o,i)|0)!=0&1)|0,i=Qe(r,i)|0,t=l;n=X0(r,n)|0}t?(t=(t|0)==(ys(r)|0),t=t?2:1):t=0}else t=2;return t|0}function Iv0(r){r=r|0;var t=0,i=0,n=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)jp(t),n=t+16|0,fn(e[(e[n>>2]|0)+96>>2]|0),fn(e[(e[n>>2]|0)+108>>2]|0),fn(e[(e[n>>2]|0)+100>>2]|0),fn(e[(e[n>>2]|0)+104>>2]|0),t=Qe(r,t)|0;i=X0(r,i)|0}}function xv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0;T=g,g=g+96|0,W=T+72|0,L=T+56|0,N=T+48|0,G=T+32|0,_=T+16|0,m=T+88|0,E=T+8|0,B=T,x=T+84|0,z=T+80|0,r=k2(t,r)|0;do if(y[r>>0]|0){ch(t,x,z),v=1,n=0,i=0,s=0,l=0,A=0,o=0;e:for(;;){if(e[_>>2]=E,e[_+4>>2]=B,e[_+8>>2]=m,(X2(r,88642,_)|0)==2?(p=1,r=r+(e[m>>2]|0)|0,l=+u[E>>3],o=+u[B>>3]):p=i,e[G>>2]=E,e[G+4>>2]=B,e[G+8>>2]=m,(X2(r,88654,G)|0)==2?(w=1,r=r+(e[m>>2]|0)|0,s=+u[E>>3],A=+u[B>>3]):w=n,a=Sv0(r)|0,!((a|0)>3&((a|0)%3|0|0)==1)){i=8;break}for(c=_0(a<<4)|0,i=c,n=a;n;){if(e[L>>2]=E,e[L+4>>2]=B,e[L+8>>2]=m,(X2(r,88724,L)|0)<2){i=13;break e}D=r+(e[m>>2]|0)|0,u[i>>3]=+u[E>>3],u[i+8>>3]=+u[B>>3],i=i+16|0,n=n+-1|0,r=D}for(;i=y[r>>0]|0,n=r+1|0,an(i<<24>>24)|0;)r=n;for(D=i<<24>>24==0,r=D?r:n,v=D?0:v,n=CC(t,a)|0,p|0&&(e[n+8>>2]=e[x>>2],u[n+16>>3]=l,u[n+24>>3]=o),w|0&&(e[n+12>>2]=e[z>>2],u[n+32>>3]=s,u[n+40>>3]=A),i=0;!((i|0)>=(a|0));)D=(e[n>>2]|0)+(i<<4)|0,P=c+(i<<4)|0,e[D>>2]=e[P>>2],e[D+4>>2]=e[P+4>>2],e[D+8>>2]=e[P+8>>2],e[D+12>>2]=e[P+12>>2],i=i+1|0;if(r0(c),v)n=w,i=p;else{i=26;break}}if((i|0)==8){if(jp(t),y[193771]|0){r=0;break}y[193771]=1,P=te(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,r=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,e[N>>2]=P,e[N+4>>2]=r,$0(0,88667,N)|0,r=0;break}else if((i|0)==13){y[193771]|0||(y[193771]=1,D=te(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,P=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,e[W>>2]=D,e[W+4>>2]=P,$0(0,88734,W)|0),r0(c),jp(t),r=0;break}else if((i|0)==26){if(n=t+16|0,r=e[n>>2]|0,i=e[r+96>>2]|0,i&&(Oh(t,i,102637),r=e[n>>2]|0),i=e[r+108>>2]|0,i&&(Oh(t,i,102633),r=e[n>>2]|0),i=e[r+100>>2]|0,i&&(Oh(t,i,102640),r=e[n>>2]|0),r=e[r+104>>2]|0,!r){r=1;break}Oh(t,r,102648),r=1;break}}else r=0;while(0);return g=T,r|0}function Sv0(r){r=r|0;var t=0,i=0;i=0;do{for(;t=y[r>>0]|0,an(t&255)|0;)r=r+1|0;e:do if(!(t<<24>>24))t=0;else for(i=i+1|0;;){if(!(t<<24>>24)){t=0;break e}if(t<<24>>24==59|(an(t&255)|0)!=0)break e;t=r+1|0,r=t,t=y[t>>0]|0}while(0)}while(an(t&255)|0);return i|0}function XQ(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function qQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=g,g=g+32|0,o=s,!(Yr(te(r)|0,108006,7)|0)&&_v0(r,n,o)|0?($e(r,137483,280,1)|0,A=(e[r+16>>2]|0)+16|0,e[A>>2]=e[o>>2],e[A+4>>2]=e[o+4>>2],e[A+8>>2]=e[o+8>>2],e[A+12>>2]=e[o+12>>2],e[A+16>>2]=e[o+16>>2],e[A+20>>2]=e[o+20>>2],e[A+24>>2]=e[o+24>>2],e[A+28>>2]=e[o+28>>2],zv0(t,r),UQ(r,i,n)):l=4;e:do if((l|0)==4)for(r=yt(r)|0;;){if(!r)break e;qQ(r,t,i,n),r=Ct(r)|0}while(0);g=s}function _v0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;return s=g,g=g+48|0,A=s+32|0,l=s,a=k2(r,t)|0,r=l+8|0,t=l+24|0,e[A>>2]=l,e[A+4>>2]=r,e[A+8>>2]=l+16,e[A+12>>2]=t,(X2(a,88782,A)|0)==4?(n=+u[r>>3],o=+u[t>>3],n>o&&(u[r>>3]=o,u[t>>3]=n),e[i>>2]=e[l>>2],e[i+4>>2]=e[l+4>>2],e[i+8>>2]=e[l+8>>2],e[i+12>>2]=e[l+12>>2],e[i+16>>2]=e[l+16>>2],e[i+20>>2]=e[l+20>>2],e[i+24>>2]=e[l+24>>2],e[i+28>>2]=e[l+28>>2],r=1):r=0,g=s,r|0}function zv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=r+16|0,i=e[n>>2]|0,l=i+180|0,r=e[l>>2]|0,o=r+1|0,e[l>>2]=o,i=e[i+184>>2]|0,i?r=iC(i,r+2|0,4,o)|0:r=j0((r<<2)+8|0)|0,e[(e[n>>2]|0)+184>>2]=r,e[r+(o<<2)>>2]=t,Zh(t)}function jC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=g,g=g+48|0,a=c+8|0,A=c,l=c+16|0,s=c+12|0,o=he(r,88798)|0;do if(o|0&&(n=y[o>>0]|0,n<<24>>24!=0)){if(n=n&255,zk(n)|0){if(!(Yr(o,88804,4)|0)){t=0;break}if(!(Yr(o,105511,7)|0)){t=1;break}if(Yr(o,88809,6)|0)if((t|0)==2)t=o;else break;else t=o+6|0}else if((t|0)==2|(n+-48|0)>>>0<10)t=o;else break;((s0[t>>0]|0)+-48|0)>>>0<10&&(e[A>>2]=s,(X2(t,99933,A)|0)>=1)||(A=jE()|0,A=(dR(0)|0)^A,e[s>>2]=A,e[a>>2]=A,Ke(l,99933,a)|0,h1(r,88798,l)|0),e[i>>2]=e[s>>2],t=2}while(0);return g=c,t|0}function $Q(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=g,g=g+16|0,n=o+4|0,e[n>>2]=1,i=jC(r,i,n)|0,(i|0)!=2&(e[46796]|0)!=0&&$0(0,88816,o)|0,(i|0)==1&&Lv0(r,t),NE(e[n>>2]|0),g=o,i|0}function Lv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(o=+(t|0),l=6.283185307179586/o,i=U0(r)|0,n=0;i;)a=+ee(+n)*o,s=e[i+16>>2]|0,A=e[s+132>>2]|0,u[A>>3]=a,u[A+8>>3]=+le(+n)*o,y[s+119>>0]=1,(e[47137]|0)>2&&HC(i,t),i=X0(r,i)|0,n=n+l}function NC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;m=g,g=g+80|0,t=m+24|0,c=m+32|0,A=m,p=m+28|0,a=m+64|0,v=+u[23293];do if(e[47134]|0)if(u[23293]=72,KQ(r),QC(r),(Ev0(r,1)|0)<0){$0(3,88864,t)|0;break}else{vp(r,0),n=32;break}else{w=DA(he(r,88593)|0,0)|0,u[23293]=+zQ(r),KQ(r),o=Rv0(r)|0,UT(r,A,0)|0,l=Gv0(r)|0,s=s7(r,0,c)|0,t=Nd(r,-1,8)|0,e[46795]=t,i=(t|0)<0;do if(s)i&&(e[46795]=8),n=11;else{if((o|0)!=0&i){e[46795]=8,e[c+16>>2]=2,n=11;break}if(e[c+16>>2]=2,(t|0)<=-1)if(TC(r,o,l),_c(r,A)|0,QC(r),w<<24>>24){FC(r);break}else{FA(r);break}else n=11}while(0);if((n|0)==11){s=Za0(r,p,88892,a)|0,t=e[p>>2]|0;do if((t|0)<=1)if(TC(r,o,l),_c(r,A)|0,w<<24>>24){FC(r);break}else{FA(r);break}else{for(n=w<<24>>24==0,i=0;!((i|0)>=(t|0));)t=e[s+(i<<2)>>2]|0,sc(t)|0,TC(t,o,l),_c(t,A)|0,rl(t,2),n?FA(t):FC(t),i=i+1|0,t=e[p>>2]|0;y[a>>0]|0?(i=j0(t)|0,y[i>>0]=1,t=e[p>>2]|0):i=0,e[c+8>>2]=e[46795],e[c+20>>2]=i,e[c+12>>2]=1,RD(t,s,r,c)|0,r0(i)}while(0);for(MA(r),QC(r),t=0;!((t|0)>=(e[p>>2]|0));)c=e[s+(t<<2)>>2]|0,vT(c),An(c,137483)|0,zn(r,c)|0,t=t+1|0;r0(s)}vp(r,w<<24>>24==0&1),n=32}while(0);(n|0)==32&&(u[23293]=v),g=m}function KQ(r){r=r|0;var t=0,i=0,n=0,o=0;rl(r,2),n=pr(r,re(r,0,91368,0)|0,2,2)|0,t=(pr(r,re(r,0,91374,0)|0,n,2)|0)&65535,$[(e[(a2(r)|0)+16>>2]|0)+176>>1]=t,t=e[(e[r+60>>2]|0)+16>>2]|0,o=t+176|0,i=$[o>>1]|0,i=(i&65535)<10?i:10,$[o>>1]=i,i=i&65535,e[47137]=i,$[t+178>>1]=(n|0)<(i|0)?n:i,Tv0(r)}function QC(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+1040|0,n=o,i=o+8|0;e:do if((e[47137]|0)>2&(e[47171]|0)!=0)for(t=U0(r)|0;;){if(!t)break e;u[n>>3]=+u[(e[(e[t+16>>2]|0)+132>>2]|0)+16>>3]*72,Ke(i,101209,n)|0,Er(t,e[47171]|0,i)|0,t=X0(r,t)|0}while(0);g=o}function Rv0(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=he(r,89577)|0;e:do if(!t)r=1;else{switch(y[t>>0]|0){case 0:{r=1;break e}case 75:{if(!(ge(t,89582)|0)){r=0;break e}break}case 109:{if(!(ge(t,89585)|0)){r=1;break e}break}case 104:{if(!(ge(t,89591)|0)){r=2;break e}break}default:}r=te(r)|0,e[i>>2]=t,e[i+4>>2]=r,$0(0,89596,i)|0,r=1}while(0);return g=n,r|0}function Gv0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+32|0,o=l+16|0,n=l+8|0,i=l,t=he(r,89360)|0;e:do if(!t)r=0;else{switch(y[t>>0]|0){case 0:{r=0;break e}case 99:{if(!(ge(t,89366)|0)){r=1;break e}break}case 115:{if(!(ge(t,89374)|0)){r=2;break e}if(!(ge(t,89381)|0)){r=0;break e}break}case 109:{if(!(ge(t,89391)|0)){if(re(r,2,92493,0)|0){r=3;break e}e[i>>2]=te(r)|0,$0(0,89395,i)|0,$0(3,89458,n)|0,r=0;break e}break}default:}r=te(r)|0,e[o>>2]=t,e[o+4>>2]=r,$0(0,89515,o)|0,r=0}while(0);return g=l,r|0}function TC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=he(r,91061)|0,n?n=F1(n)|0:(t|0)==1?n=200:n=(v2(r)|0)*100|0,e[47136]=n,n=pT(r,t)|0;do if(!((n|0)<2|(e[47136]|0)<0))if(t){Zv0(r,n,t,i,e[47137]|0);break}else{Wv0(r,n,i);break}while(0)}function FC(r){r=r|0,MA(r),Tp(r,1)}function Zv0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(z=g,g=g+64|0,E=z+40|0,p=z+24|0,w=z,v=z+48|0,x=z+44|0,m=(i|0)==2,s=$Q(r,t,m?0:2)|0,A=Qv0(r)|0,a=A|4,B=_0(o<<2)|0,e[B>>2]=_0(N0(t<<3,o)|0)|0,l=e[47137]|0,o=1;!((o|0)>=(l|0));)e[B+(o<<2)>>2]=(e[B>>2]|0)+((N0(o,t)|0)<<3),o=o+1|0;l=(s|0)==0,o=l?a:A,w=bQ(r,t,v,i,n,x)|0,(i|0)!=1?(c=+sr(r,re(r,0,89279,0)|0,0,-17976931348623157e292),m?(o=Ng0(w,t,e[v>>2]|0,B,e[x>>2]|0,e[47137]|0,o,n,e[47136]|0,c)|0,l=12):l=14):(o=Fp(w,t,e[v>>2]|0,B,e[x>>2]|0,e[47137]|0,o,n,e[47136]|0)|0,l=12),(l|0)==12&&((o|0)<0?$0(3,89289,E)|0:l=14);e:do if((l|0)==14)for(l=U0(r)|0;;){if(!l)break e;for(a=e[l+16>>2]|0,s=e[a+120>>2]|0,A=e[47137]|0,a=a+132|0,o=0;!((o|0)>=(A|0));)u[(e[a>>2]|0)+(o<<3)>>3]=+u[(e[B+(o<<2)>>2]|0)+(s<<3)>>3],o=o+1|0;l=X0(r,l)|0}while(0);uF(w),r0(e[B>>2]|0),r0(B),r0(e[x>>2]|0),g=z}function Wv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;switch(l=g,g=g+48|0,o=l+32|0,n=l,i|0){case 2:{Dv0(r,t);break}case 1:{Mg0(r,t)|0||(e[n>>2]=te(r)|0,$0(0,88902,n)|0,$0(3,93364,l+8|0)|0,$0(3,88954,l+16|0)|0,$0(3,89026,l+24|0)|0,yT(r,t));break}default:yT(r,t),(i|0)==3&&Mv0(r)}A50(r,t),u50(r,t),f50(r,t),g=l}function Dv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,l=bQ(r,t,A,0,2,0)|0,s=xy0(l,t)|0,n=r+16|0,r=0;!((r|0)>=(t|0));){for(o=s+(r<<2)|0,i=0;(i|0)!=(t|0);)u[(e[(e[(e[n>>2]|0)+160>>2]|0)+(r<<2)>>2]|0)+(i<<3)>>3]=+(e[(e[o>>2]|0)+(i<<2)>>2]|0),i=i+1|0;r=r+1|0}r0(e[s>>2]|0),r0(s),uF(l),g=A}function Mv0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(o=r+16|0,i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)l=e[t>>2]&3,n=(e[e[((l|0)==3?t:t+48|0)+40>>2]>>2]|0)>>>4,l=(e[e[((l|0)==2?t:t+-48|0)+40>>2]>>2]|0)>>>4,(n|0)!=(l|0)&&(A=+u[(e[t+16>>2]|0)+136>>3],s=e[(e[o>>2]|0)+160>>2]|0,u[(e[s+(l<<2)>>2]|0)+(n<<3)>>3]=A,u[(e[s+(n<<2)>>2]|0)+(l<<3)>>3]=A),t=Qe(r,t)|0;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]=e[(e[(e[((e[a+40>>2]|0)==(G|0)?(Y|0)==2?x:v:a)+40>>2]|0)+16>>2]|0)+120>>2],P&&(x0[s>>2]=+u[(e[x+16>>2]|0)+128>>3],s=s+4|0),U?(a=o+4|0,x0[o>>2]=+u[(e[x+16>>2]|0)+136>>3],T?(o=a,D=27):o=a):T&&(x0[o>>2]=1,o=o+4|0,D=27),(D|0)==27&&(D=0,a=he(x,101559)|0,a|0&&!(Yr(a,135709,4)|0)?p=0:p=(G|0)==(e[((e[x>>2]&3|0)==2?x:v)+40>>2]|0)?1:-1,x0[A>>2]=p,A=A+4|0),v=B+1|0,a=m,c=E}while(0);E=w,x=ot(r,x,G)|0,B=v,m=a}e[J+(W*20|0)>>2]=B,e[e[z>>2]>>2]=W,a=m,G=X0(r,G)|0,W=W+1|0}(D|0)==12&&H0(89103,89118,819,89130),T&&Nv0(J,t,n,F),w=(a|0)/2|0;e:do if((w|0)!=(ys(r)|0))for(a=(w<<1)+t<<2,A=Oe(e[J+4>>2]|0,a)|0,U&&(o=Oe(e[J+8>>2]|0,a)|0),P?(c=0,s=Oe(e[J+12>>2]|0,a)|0):c=0;;){if((c|0)>=(t|0))break e;a=e[J+(c*20|0)>>2]|0,e[J+(c*20|0)+4>>2]=A,U&&(e[J+(c*20|0)+8>>2]=o,o=o+(a<<2)|0),P&&(e[J+(c*20|0)+12>>2]=s,s=s+(a<<2)|0),c=c+1|0,A=A+(a<<2)|0}while(0);return e[i>>2]=w,l?e[l>>2]=F:r0(F),Sp0(q),J|0}function jv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=e[t>>2]&3,n=e[(e[(e[((o|0)==3?t:t+48|0)+40>>2]|0)+16>>2]|0)+120>>2]|0,t=e[(e[(e[((o|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+120>>2]|0,o=(n|0)>(t|0),_p0(r,o?t:n,o?n:t,i)|0}function Nv0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=0;;){if((o|0)>=(t|0)){o=0;break}l=e[(e[n+(o<<2)>>2]|0)+16>>2]|0,y[l+157>>0]=0,y[l+158>>0]=0,o=o+1|0}for(;!((o|0)>=(t|0));)y[(e[(e[n+(o<<2)>>2]|0)+16>>2]|0)+157>>0]|0||eT(r,o,i,n),o=o+1|0}function eT(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;m=(e[n+(t<<2)>>2]|0)+16|0,a=e[m>>2]|0,y[a+157>>0]=1,y[a+158>>0]=1,a=r+(t*20|0)|0,c=r+(t*20|0)+16|0,w=r+(t*20|0)+4|0,p=(i|0)==3?-1:1,A=1;e:for(;;){if((A|0)>=(e[a>>2]|0)){o=14;break}o=(e[c>>2]|0)+(A<<2)|0;do if(+x0[o>>2]!=1){if(v=e[(e[w>>2]|0)+(A<<2)>>2]|0,l=e[(e[n+(v<<2)>>2]|0)+16>>2]|0,!(y[l+158>>0]|0)){if(y[l+157>>0]|0)break;eT(r,v,i,n);break}for(x0[o>>2]=p,l=r+(v*20|0)+4|0,s=e[r+(v*20|0)>>2]|0,o=1;;){if((o|0)>=(s|0)){o=9;break e}if((e[(e[l>>2]|0)+(o<<2)>>2]|0)==(t|0))break;o=o+1|0}x0[(e[r+(v*20|0)+16>>2]|0)+(o<<2)>>2]=-1}while(0);A=A+1|0}if((o|0)==9)H0(89144,89118,721,89164);else if((o|0)==14){y[(e[m>>2]|0)+158>>0]=0;return}}function Qv0(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=i,r=pr(r,re(r,0,89305,0)|0,2,0)|0,(r|0)==0|(r|0)>2&&(e[t>>2]=89305,$0(0,89314,t)|0,r=2),g=i,r|0}function Tv0(r){r=r|0;var t=0,i=0,n=0;for(i=v2(r)|0,e[46796]=re(r,1,102623,0)|0,n=re(r,1,90660,0)|0,t=U0(r)|0;t;)Yh(t),gv0(e[46796]|0,n,t,i)|0,t=X0(r,t)|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)Fv0(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function Fv0(r){r=r|0;var t=0;$e(r,137460,176,1)|0,Rf(r)|0,t=+sr(r,e[47174]|0,1,1),u[(e[r+16>>2]|0)+128>>3]=t}function Pv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;r=j0(64)|0,i=r+8|0,n=t+8|0,o=i+48|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));return t=e[t+56>>2]|0,e[r+56>>2]=t,$[(e[t+16>>2]|0)+168>>1]=1,r|0}function Yv0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function Ov0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=e[t>>2]|0,n=e[i>>2]|0,r>>>0<=n>>>0?r>>>0>=n>>>0?(n=e[t+24>>2]|0,r=e[i+24>>2]|0,n>>>0<=r>>>0?n>>>0>=r>>>0?(r=~~(+u[t+8>>3]-+u[i+8>>3]),r||(r=~~(+u[t+16>>3]-+u[i+16>>3]),r||(r=~~(+u[t+32>>3]-+u[i+32>>3]),r||(r=~~(+u[t+40>>3]-+u[i+40>>3]))))):r=-1:r=1):r=-1:r=1,r|0}function rT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;if(A=g,g=g+16|0,n=A,o=t+16|0,l=$[(e[o>>2]|0)+168>>1]|0,s=l<<16>>16,l<<16>>16!=1&(y[194954]|0)==0){for(l=_0(s<<2)|0,n=0;!((n|0)>=(s|0));)e[l+(n<<2)>>2]=t,t=e[(e[t+16>>2]|0)+172>>2]|0,n=n+1|0;for(a=+(i|0),EC(r,l,0,s,a,a,17792),t=0;!((t|0)>=(s|0));)n=e[l+(t<<2)>>2]|0,o=n+16|0,e[(e[o>>2]|0)+96>>2]|0&&(i=We(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)|0,el(i,e[(e[o>>2]|0)+96>>2]|0)),BC(n),t=t+1|0;r0(l)}else e[n>>2]=t,a=+(i|0),EC(r,n,0,1,a,a,17792),e[(e[o>>2]|0)+96>>2]|0&&(s=We(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,el(s,e[(e[o>>2]|0)+96>>2]|0)),BC(t);g=A}function Vv0(r){return r=r|0,0}function Hv0(r){return r=r|0,0}function tT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0;k0=g,g=g+384|0,H=k0+368|0,f0=k0+112|0,l=k0+32|0,v=k0+336|0,F=k0+320|0,q=k0+304|0,t0=k0+288|0,Y=k0+272|0,o=k0+256|0,P=k0+240|0,U=k0+224|0,J=k0+208|0,E=k0+192|0,B=k0+176|0,x=k0+160|0,G=k0+144|0,W=k0+128|0,N=k0+96|0,T=k0+16|0,D=k0;e:do switch(ZA(r)|0){case 3:case 1:{n=j0(8)|0,G=r+16|0,r=e[G>>2]|0,o=e[r+12>>2]|0;do if(i<<24>>24)if(e[o+40>>2]&2048){MQ(v,o),w=+u[v>>3],_=+u[v+8>>3],p=+u[v+16>>3],L=+u[v+24>>3],u[l>>3]=w,u[l+8>>3]=_,u[l+16>>3]=p,u[l+24>>3]=_,u[l+32>>3]=p,u[l+40>>3]=L,u[l+48>>3]=w,u[l+56>>3]=L,L=0,r=4,i=0,w=0,p=0;break}else{p=+u[r+88>>3],w=-p,L=+u[r+80>>3],_=L*-.5,u[l>>3]=w,u[l+8>>3]=_,u[l+16>>3]=p,u[l+24>>3]=_,L=L*.5,u[l+32>>3]=p,u[l+40>>3]=L,u[l+48>>3]=w,u[l+56>>3]=L,L=0,r=4,i=0,w=0,p=0;break}else if(r=e[o+8>>2]|0,(r|0)>2){L=0,l=e[o+44>>2]|0,i=0,w=+x0[t>>2],p=+x0[t+4>>2];break}else{L=+Rn()*.01,r=8,l=0,i=1,w=0,p=0;break}while(0);for(e[n+4>>2]=r,v=j0(r<<4)|0,e[n>>2]=v,m=1/+(r|0),E=t+8|0,B=t+4|0,x=(r|0)==4,z=-w,_=-p,o=0;;){if((r|0)<=(o|0))break e;do if(i)s=+(o|0)*6.283185307179586*m+L,A=+ee(+s),s=+le(+s),y[E>>0]|0?(f0=e[G>>2]|0,a=(+u[f0+80>>3]+ +x0[B>>2])*s,s=(+u[f0+96>>3]+ +u[f0+88>>3]+ +x0[t>>2])*A):(f0=e[G>>2]|0,a=s*+x0[B>>2]*+u[f0+80>>3],s=A*+x0[t>>2]*(+u[f0+96>>3]+ +u[f0+88>>3])),c=s*.5,s=a*.5;else{if(!(y[E>>0]|0)){c=+u[l+(o<<4)>>3]*w,s=+u[l+(o<<4)+8>>3]*p;break}if(!x){c=+u[l+(o<<4)>>3],s=+u[l+(o<<4)+8>>3],a=+G0(+(s*s+c*c)),c=(w/a+1)*c,s=(p/a+1)*s;break}switch(o|0){case 0:{A=p,s=w;break}case 1:{A=p,s=z;break}case 2:{A=_,s=z;break}case 3:{A=_,s=w;break}default:A=0,s=0}c=+u[l+(o<<4)>>3]+s,s=+u[l+(o<<4)+8>>3]+A}while(0);H=e[G>>2]|0,f0=r-o+-1|0,u[v+(f0<<4)>>3]=+u[H+16>>3]+c,u[v+(f0<<4)+8>>3]=+u[H+24>>3]+s,o=o+1|0}}case 2:if(D=r+16|0,n=e[(e[D>>2]|0)+12>>2]|0,s=+u[n+16>>3],c=+u[n+24>>3],A=+u[n+32>>3],a=+u[n+40>>3],n=j0(8)|0,e[n+4>>2]=4,r=j0(64)|0,e[n>>2]=r,D=(e[D>>2]|0)+16|0,e[f0>>2]=e[D>>2],e[f0+4>>2]=e[D+4>>2],e[f0+8>>2]=e[D+8>>2],e[f0+12>>2]=e[D+12>>2],y[t+8>>0]|0){L=s-+x0[t>>2],J=t+4|0,_=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96>>3],_=+u[t0+80>>3],e[H>>2]=e[f0>>2],e[H+4>>2]=e[f0+4>>2],e[H+8>>2]=e[f0+8>>2],e[H+12>>2]=e[f0+12>>2],TA(T,L,_,H,t),e[Y>>2]=e[T>>2],e[Y+4>>2]=e[T+4>>2],e[Y+8>>2]=e[T+8>>2],e[Y+12>>2]=e[T+12>>2],Y=(e[n>>2]|0)+48|0,t0=e[r>>2]|0,_=+u[t0+96>>3],L=-+u[t0+80>>3],e[H>>2]=e[f0>>2],e[H+4>>2]=e[f0+4>>2],e[H+8>>2]=e[f0+8>>2],e[H+12>>2]=e[f0+12>>2],TA(D,_,L,H,t),e[Y>>2]=e[D>>2],e[Y+4>>2]=e[D+4>>2],e[Y+8>>2]=e[D+8>>2],e[Y+12>>2]=e[D+12>>2];break e}default:n=0}while(0);return g=k0,n|0}function QA(r,t,i,n){r=r|0,t=+t,i=+i,n=n|0,i=+u[n+8>>3]+i,u[r>>3]=+u[n>>3]+t,u[r+8>>3]=i}function TA(r,t,i,n,o){r=r|0,t=+t,i=+i,n=n|0,o=o|0,i=+x0[o+4>>2]*i+ +u[n+8>>3],u[r>>3]=+x0[o>>2]*t+ +u[n>>3],u[r+8>>3]=i}function iT(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;v=g,g=g+112|0,a=v+88|0,A=v+72|0,c=v+32|0,w=v+16|0,p=v,o=v+56|0,l=v+40|0,s=t+48|0,B=(e[(e[((e[t>>2]&3|0)==3?t:s)+40>>2]|0)+16>>2]|0)+16|0,m=t+16|0,E=(e[m>>2]|0)+16|0,e[A>>2]=e[B>>2],e[A+4>>2]=e[B+4>>2],e[A+8>>2]=e[B+8>>2],e[A+12>>2]=e[B+12>>2],e[a>>2]=e[E>>2],e[a+4>>2]=e[E+4>>2],e[a+8>>2]=e[E+8>>2],e[a+12>>2]=e[E+12>>2],Np(o,A,a),e[w>>2]=e[o>>2],e[w+4>>2]=e[o+4>>2],e[w+8>>2]=e[o+8>>2],e[w+12>>2]=e[o+12>>2],o=t+-48|0,E=(e[(e[((e[t>>2]&3|0)==2?t:o)+40>>2]|0)+16>>2]|0)+16|0,m=(e[m>>2]|0)+56|0,e[A>>2]=e[E>>2],e[A+4>>2]=e[E+4>>2],e[A+8>>2]=e[E+8>>2],e[A+12>>2]=e[E+12>>2],e[a>>2]=e[m>>2],e[a+4>>2]=e[m+4>>2],e[a+8>>2]=e[m+8>>2],e[a+12>>2]=e[m+12>>2],Np(l,A,a),e[p>>2]=e[l>>2],e[p+4>>2]=e[l+4>>2],e[p+8>>2]=e[l+8>>2],e[p+12>>2]=e[l+12>>2],n?(B=e[t>>2]&3,l=e[(e[(e[((B|0)==2?t:o)+40>>2]|0)+16>>2]|0)+288>>2]|0,o=e[(e[(e[((B|0)==3?t:s)+40>>2]|0)+16>>2]|0)+288>>2]|0):(l=-1111,o=-1111),e[A>>2]=e[w>>2],e[A+4>>2]=e[w+4>>2],e[A+8>>2]=e[w+8>>2],e[A+12>>2]=e[w+12>>2],e[a>>2]=e[p>>2],e[a+4>>2]=e[p+4>>2],e[a+8>>2]=e[p+8>>2],e[a+12>>2]=e[p+12>>2],Eo0(i,A,o,a,l,c)|0,m=c,E=e[m+4>>2]|0,B=r,e[B>>2]=e[m>>2],e[B+4>>2]=E,g=v}function Np(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function nT(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;_=g,g=g+144|0,m=_+104|0,E=_+88|0,v=_+80|0,p=_+72|0,a=_+64|0,x=_+128|0,c=_+32|0,w=_+124|0,z=_+16|0,B=_,A=_+120|0,s=(e[t+16>>2]|0)+144|0,l=e[s>>2]|0,s=e[s+4>>2]|0,L=a,e[L>>2]=l,e[L+4>>2]=s,L=l,e[z>>2]=e[L>>2],e[z+4>>2]=e[L+4>>2],e[z+8>>2]=e[L+8>>2],e[z+12>>2]=e[L+12>>2],s=l+(s+-1<<4)|0,e[B>>2]=e[s>>2],e[B+4>>2]=e[s+4>>2],e[B+8>>2]=e[s+8>>2],e[B+12>>2]=e[s+12>>2];e:do if(!(o<<24>>24))l=-1111,o=-1111;else for(l=-1111,o=-1111,s=0;;){if((s|0)>=(n|0))break e;(o|0)==-1111&&(o=e[i+(s<<2)>>2]|0,e[E>>2]=e[o>>2],e[E+4>>2]=e[o+4>>2],e[m>>2]=e[z>>2],e[m+4>>2]=e[z+4>>2],e[m+8>>2]=e[z+8>>2],e[m+12>>2]=e[z+12>>2],o=(H3(E,m)|0)==0,o=o?-1111:s),(l|0)==-1111&&(l=e[i+(s<<2)>>2]|0,e[E>>2]=e[l>>2],e[E+4>>2]=e[l+4>>2],e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],l=(H3(E,m)|0)==0,l=l?-1111:s),s=s+1|0}while(0);Jv0(i,n,o,l,A,w),e[c>>2]=0,e[c+4>>2]=0,e[c+8>>2]=0,e[c+12>>2]=0,e[c+16>>2]=0,e[c+20>>2]=0,e[c+24>>2]=0,e[c+28>>2]=0,s=e[A>>2]|0,L=e[w>>2]|0,e[m>>2]=e[a>>2],e[m+4>>2]=e[a+4>>2],(Xy(s,L,m,c,x)|0)<0?(z=te(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,L=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,e[p>>2]=z,e[p+4>>2]=L,$0(1,89657,p)|0):(0>1||(o=t+-48|0,l=t),yi(t,e[((e[l>>2]&3|0)==2?t:o)+40>>2]|0,e[x>>2]|0,e[x+4>>2]|0,17792),r0(s),e[E>>2]=e[z>>2],e[E+4>>2]=e[z+4>>2],e[E+8>>2]=e[z+8>>2],e[E+12>>2]=e[z+12>>2],e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],xc(r,t,E,m)),g=_}function Jv0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(A=0,s=0;!((A|0)>=(t|0));)(A|0)==(i|0)|(A|0)==(n|0)||(s=(e[(e[r+(A<<2)>>2]|0)+4>>2]|0)+s|0),A=A+1|0;for(m=_0(s<<5)|0,A=0,v=0;!((v|0)>=(t|0));){e:do if(!((v|0)==(i|0)|(v|0)==(n|0)))for(p=r+(v<<2)|0,w=0;;){if(a=e[p>>2]|0,c=e[a+4>>2]|0,(w|0)>=(c|0))break e;E=w+1|0,B=m+(A<<5)|0,a=(e[a>>2]|0)+(w<<4)|0,e[B>>2]=e[a>>2],e[B+4>>2]=e[a+4>>2],e[B+8>>2]=e[a+8>>2],e[B+12>>2]=e[a+12>>2],a=m+(A<<5)+16|0,c=(e[e[p>>2]>>2]|0)+(((E|0)<(c|0)?E:0)<<4)|0,e[a>>2]=e[c>>2],e[a+4>>2]=e[c+4>>2],e[a+8>>2]=e[c+8>>2],e[a+12>>2]=e[c+12>>2],w=E,A=A+1|0}while(0);v=v+1|0}if((A|0)==(s|0)){e[o>>2]=m,e[l>>2]=s;return}else H0(89719,89726,77,89741)}function oT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(w=g,g=g+32|0,a=w+12|0,n=w,Wg0(n,r),e[a>>2]=e[n>>2],e[a+4>>2]=e[n+4>>2],e[a+8>>2]=e[n+8>>2],n=U0(r)|0;n;){for(o=Me(r,n)|0;o;)Ik0(o),o=Qe(r,o)|0;n=X0(r,n)|0}for(l=at(17756,e[4581]|0)|0,n=U0(r)|0;n;){for(o=Me(r,n)|0;o;)(e[47134]|0)>1&&(s=e[o+16>>2]|0,(e[s+8>>2]|0)!=0)?(p=s+168|0,$[p>>1]=($[p>>1]|0)+1<<16>>16):c=14,(c|0)==14&&(c=0,A=Uv0(l,o)|0,(A|0)!=(o|0))&&(p=e[A+16>>2]|0,v=p+168|0,$[v>>1]=($[v>>1]|0)+1<<16>>16,p=p+172|0,e[(e[o+16>>2]|0)+172>>2]=e[p>>2],e[p>>2]=o),o=Qe(r,o)|0;n=X0(r,n)|0}return Fr(l)|0,oe[t&63](r,a,i)|0?n=1:(e[47138]=1,n=0),g=w,n|0}function Uv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;m=g,g=g+64|0,v=m,n=e[t>>2]&3,s=e[((n|0)==3?t:t+48|0)+40>>2]|0,n=e[((n|0)==2?t:t+-48|0)+40>>2]|0;do if(s>>>0>=n>>>0){if(i=t+16|0,s>>>0>n>>>0){i=e[i>>2]|0,p=n,n=s,a=+u[i+16>>3],c=+u[i+24>>3],l=+u[i+56>>3],o=+u[i+64>>3];break}p=e[i>>2]|0,A=+u[p+56>>3],w=+u[p+64>>3],l=+u[p+16>>3],o=+u[p+24>>3],lA?(p=s,n=s,a=l,c=o,l=A,o=w):(i=o>w,o>2]|0,p=s,a=+u[i+56>>3],c=+u[i+64>>3],l=+u[i+16>>3],o=+u[i+24>>3];while(0);return e[v+8>>2]=p,u[v+16>>3]=l,u[v+24>>3]=o,e[v+32>>2]=n,u[v+40>>3]=a,u[v+48>>3]=c,e[v+56>>2]=t,v=e[(oe[e[r>>2]&63](r,v,1)|0)+56>>2]|0,g=m,v|0}function Qp(r,t){return r=r|0,t=t|0,oT(r,21,t)|0}function Xv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;P=g,g=g+112|0,W=P+88|0,G=P+72|0,m=P+40|0,w=P+8|0,c=P,E=P+64|0,N=P+48|0,T=P+24|0,n=(e[47134]|0)>1&1;do if((i|0)>5){for(v=j0((v2(r)|0)<<2)|0,a=(i|0)==8,A=a&1,s=U0(r)|0,p=0;s;)o=tT(s,t,A)|0,l=(e[s+16>>2]|0)+288|0,o?(e[l>>2]=p,e[v+(p<<2)>>2]=o,o=p+1|0):(e[l>>2]=-1111,o=p),s=X0(r,s)|0,p=o;if(v){if(o=SF(v,p)|0,o|0){if(a){_=0,L=v,z=v,x=1;break}_=jG(v,p)|0,L=v,z=v,x=1;break}if(a){$0(0,89755,c)|0,o=0,_=0,L=v,z=v,x=1;break}else{U=+x0[t+4>>2],u[w>>3]=+x0[t>>2],u[w+8>>3]=U,$0(0,89833,w)|0,o=0,_=0,L=v,z=v,x=1;break}}else o=0,_=0,L=0,z=0,x=0}else o=0,_=0,L=0,p=0,z=0,x=0;while(0);B=(_|0)!=0;e:do if(!B)(i|0)==8&(o|0)!=0&&(Ry(r,0),n=1);else for(l=U0(r)|0;;){if(!l)break e;for(o=Me(r,l)|0;o;)m=(e[o+16>>2]|0)+144|0,iT(E,o,_,1,0,0),w=E,v=e[w+4>>2]|0,e[m>>2]=e[w>>2],e[m+4>>2]=v,o=Qe(r,o)|0;l=X0(r,l)|0}while(0);for(c=(n|0)==0,w=r+60|0,v=(i|0)==10,n=0,a=U0(r)|0,o=0;a;){for(m=a+16|0,t=Me(r,a)|0;t;){A=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,l=t+16|0,s=e[l>>2]|0,!c&&e[s+8>>2]|0?(J=(e[m>>2]|0)+16|0,E=s+16|0,e[G>>2]=e[J>>2],e[G+4>>2]=e[J+4>>2],e[G+8>>2]=e[J+8>>2],e[G+12>>2]=e[J+12>>2],e[W>>2]=e[E>>2],e[W+4>>2]=e[E+4>>2],e[W+8>>2]=e[E+8>>2],e[W+12>>2]=e[E+12>>2],Np(N,G,W),A=(e[A+16>>2]|0)+16|0,E=(e[l>>2]|0)+56|0,e[G>>2]=e[A>>2],e[G+4>>2]=e[A+4>>2],e[G+8>>2]=e[A+8>>2],e[G+12>>2]=e[A+12>>2],e[W>>2]=e[E>>2],e[W+4>>2]=e[E+4>>2],e[W+8>>2]=e[E+8>>2],e[W+12>>2]=e[E+12>>2],Np(T,G,W),e[G>>2]=e[N>>2],e[G+4>>2]=e[N+4>>2],e[G+8>>2]=e[N+8>>2],e[G+12>>2]=e[N+12>>2],e[W>>2]=e[T>>2],e[W+4>>2]=e[T+4>>2],e[W+8>>2]=e[T+8>>2],e[W+12>>2]=e[T+12>>2],xc(r,t,G,W)):D=35;e:do if((D|0)==35&&(D=0,J=$[s+168>>1]|0,l=J<<16>>16,J<<16>>16)){if((a|0)==(A|0)){n||(o=j0(96)|0,e[o+84>>2]=j0(((v2(r)|0)<<5)+11520|0)|0,n=o),rT(n,t,e[(e[(e[w>>2]|0)+16>>2]|0)+248>>2]|0);break}if(!B){Hp0(r,t,i,17792);break}for(l=y[194954]|0?1:l,s=t,A=0;;){if((A|0)>=(l|0))break e;v?nT(r,s,L,p,1):qv0(r,s),s=e[(e[s+16>>2]|0)+172>>2]|0,A=A+1|0}}while(0);t=Qe(r,t)|0}a=X0(r,a)|0}if(B&&Co0(_),n|0&&(r0(e[n+84>>2]|0),r0(o)),x){for(n=0;!((n|0)>=(p|0));)r0(e[L+(n<<2)>>2]|0),n=n+1|0;r0(z)}return g=P,0}function qv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;c=g,g=g+96|0,l=c+64|0,o=c+48|0,i=c+40|0,s=c+80|0,n=c+32|0,A=c+16|0,a=c,w=(e[t+16>>2]|0)+144|0,p=e[w>>2]|0,w=e[w+4>>2]|0,v=n,e[v>>2]=p,e[v+4>>2]=w,v=p,e[A>>2]=e[v>>2],e[A+4>>2]=e[v+4>>2],e[A+8>>2]=e[v+8>>2],e[A+12>>2]=e[v+12>>2],w=p+(w+-1<<4)|0,e[a>>2]=e[w>>2],e[a+4>>2]=e[w+4>>2],e[a+8>>2]=e[w+8>>2],e[a+12>>2]=e[w+12>>2],e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],q3(l,s),0>1||(i=t+-48|0,n=t),yi(t,e[((e[n>>2]&3|0)==2?t:i)+40>>2]|0,e[s>>2]|0,e[s+4>>2]|0,17792),e[o>>2]=e[A>>2],e[o+4>>2]=e[A+4>>2],e[o+8>>2]=e[A+8>>2],e[o+12>>2]=e[A+12>>2],e[l>>2]=e[a>>2],e[l+4>>2]=e[a+4>>2],e[l+8>>2]=e[a+8>>2],e[l+12>>2]=e[a+12>>2],xc(r,t,o,l),g=c}function Tp(r,t){r=r|0,t=t|0;var i=0;i=$[(e[r+16>>2]|0)+136>>1]&14,t<<24>>24&&PC(r)|0,i<<16>>16&&Qp(r,i&65535)|0}function PC(r){r=r|0;var t=0,i=0,n=0,o=0;for(i=$v0(r)|0,t=U0(r)|0;t;)n=e[t+16>>2]|0,o=e[n+132>>2]|0,u[n+16>>3]=+u[o>>3]*72,u[n+24>>3]=+u[o+8>>3]*72,t=X0(r,t)|0;return i|0}function $v0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;e:do if((e[r+60>>2]|0)==(r|0)&&(i=r+16|0,n=e[i>>2]|0,(e[(e[n+8>>2]|0)+84>>2]|0)!=0)){+u[n+16>>3]==0&&+u[n+24>>3]==0?t=0:(lT(r),t=1,n=e[i>>2]|0),A=(e[n+116>>2]&1|0)==0,A||(a=n+32|0,s=+u[a>>3],i=n+40|0,u[a>>3]=+u[i>>3],u[i>>3]=s),i=e[n+8>>2]|0;r:do switch(e[i+84>>2]|0){case 2:{if(o=+u[i+64>>3],o<=0)break e;if(l=o/+u[n+32>>3],o=+u[i+72>>3]/+u[n+40>>3],l<1|o<1)if(l>3],o<=0||(l=o/+u[n+32>>3],o=+u[i+72>>3]/+u[n+40>>3],!(l>1&o>1)))break e;o=l>3],o=+u[n+40>>3]/+u[n+32>>3],o1)for(i=U0(r)|0;;){if(!i)break r;for(t=Me(r,i)|0;t;)e[(e[t+16>>2]|0)+8>>2]|0&&Kv0(t,o,l),t=Qe(r,t)|0;i=X0(r,i)|0}while(0);for(t=U0(r)|0;t;)a=e[(e[t+16>>2]|0)+132>>2]|0,u[a>>3]=+u[a>>3]*o,a=a+8|0,u[a>>3]=+u[a>>3]*l,t=X0(r,t)|0;sT(r,o,l),t=1}else t=0;while(0);return t|0}function lT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(c=g,g=g+32|0,A=c+16|0,a=c,t=(e[r+16>>2]|0)+16|0,e[a>>2]=e[t>>2],e[a+4>>2]=e[t+4>>2],e[a+8>>2]=e[t+8>>2],e[a+12>>2]=e[t+12>>2],n=+u[a>>3],o=n*.013888888888888888,l=+u[a+8>>3],s=l*.013888888888888888,t=U0(r)|0;t;)i=e[t+16>>2]|0,w=e[i+132>>2]|0,u[w>>3]=+u[w>>3]-o,w=w+8|0,u[w>>3]=+u[w>>3]-s,i=e[i+108>>2]|0,i|0&&y[i+81>>0]|0&&(w=i+56|0,u[w>>3]=+u[w>>3]-n,w=i+64|0,u[w>>3]=+u[w>>3]-l),t=X0(r,t)|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)e[(e[t+16>>2]|0)+8>>2]|0&&(e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],bv0(t,A)),t=Qe(r,t)|0;i=X0(r,i)|0}e[A>>2]=e[a>>2],e[A+4>>2]=e[a+4>>2],e[A+8>>2]=e[a+8>>2],e[A+12>>2]=e[a+12>>2],AT(r,A),g=c}function Kv0(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0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]),r=e[A+104>>2]|0,r|0&&y[r+81>>0]|0&&(c=r+56|0,u[c>>3]=+u[c>>3]-+u[t>>3],c=r+64|0,u[c>>3]=+u[c>>3]-+u[a>>3])}function AT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(A=g,g=g+16|0,s=A,o=+u[t>>3],l=r+16|0,r=e[l>>2]|0,i=r+32|0,u[i>>3]=+u[i>>3]-o,n=+u[t+8>>3],i=r+40|0,u[i>>3]=+u[i>>3]-n,i=r+16|0,u[i>>3]=+u[i>>3]-o,i=r+24|0,u[i>>3]=+u[i>>3]-n,i=e[r+12>>2]|0,i|0&&y[i+81>>0]|0&&(a=i+56|0,u[a>>3]=+u[a>>3]-o,i=i+64|0,u[i>>3]=+u[i>>3]-n),i=1;!((i|0)>(e[r+180>>2]|0));)a=e[(e[r+184>>2]|0)+(i<<2)>>2]|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],AT(a,s),i=i+1|0,r=e[l>>2]|0;g=A}function FA(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=g,g=g+16|0,i=s,MA(r),n=r+16|0,t=e[n>>2]|0,o=+u[t+16>>3]*.013888888888888888,l=+u[t+24>>3]*.013888888888888888,t=U0(r)|0;t;)A=e[(e[t+16>>2]|0)+132>>2]|0,u[A>>3]=+u[A>>3]-o,A=A+8|0,u[A>>3]=+u[A>>3]-l,t=X0(r,t)|0;A=(e[n>>2]|0)+16|0,e[i>>2]=e[A>>2],e[i+4>>2]=e[A+4>>2],e[i+8>>2]=e[A+8>>2],e[i+12>>2]=e[A+12>>2],uT(r,i),Tp(r,1),g=s}function uT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(l=g,g=g+16|0,o=l,i=r+16|0,r=1;n=e[i>>2]|0,!((r|0)>(e[n+180>>2]|0));)n=e[(e[n+184>>2]|0)+(r<<2)>>2]|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],uT(n,o),r=r+1|0;A=+u[t>>3],o=n+32|0,u[o>>3]=+u[o>>3]-A,s=+u[t+8>>3],t=n+40|0,u[t>>3]=+u[t>>3]-s,t=n+16|0,u[t>>3]=+u[t>>3]-A,t=n+24|0,u[t>>3]=+u[t>>3]-s,g=l}function fT(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(v=(i|0)>2,w=0,p=0,s=e[n+4>>2]|0,r=e[n>>2]|0;;){if((p|0)>=(t|0)){r=0;break}l=e[(e[o+(p<<2)>>2]|0)+16>>2]|0,a=y[l+119>>0]|0;e:do if(a<<24>>24){A=e[l+132>>2]|0,c=r+8|0,u[r>>3]=+u[A>>3],l=s+8|0,u[s>>3]=+u[A+8>>3];r:do if(v)for(s=2,r=A+16|0;;){if((s|0)==(i|0))break r;u[(e[n+(s<<2)>>2]|0)+(p<<3)>>3]=+u[r>>3],s=s+1|0,r=r+8|0}while(0);s=(a&255)>1?1:w,r=c}else if(A=r+8|0,u[r>>3]=+Rn(),l=s+8|0,u[s>>3]=+Rn(),v)for(r=2;;){if((r|0)==(i|0)){s=w,r=A;break e}m=+Rn(),u[(e[n+(r<<2)>>2]|0)+(p<<3)>>3]=m,r=r+1|0}else s=w,r=A;while(0);w=s,p=p+1|0,s=l}for(;!((r|0)>=(i|0));)qA(t,e[n+(r<<2)>>2]|0),r=r+1|0;return w|0}function aT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;i=j0(((N0(t+1|0,t)|0)/2|0)<<2)|0,w=PA(t,t,0)|0,p=PA(t,t,0)|0;e:do if(e[r+8>>2]|0)for(n=0;;){if((n|0)>=(t|0))break e;for(l=e[r+(n*20|0)>>2]|0,s=r+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2]-E)),x0[l>>2]=E),s=s+1|0;p=p+1|0}else i=0;return g=m,i|0}function YC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+16|0,s=w,A=j0(((N0(t+1|0,t)|0)/2|0)<<2)|0,a=j0(t<<2)|0,Xh(s,t),i=0,o=0,c=t;!((i|0)>=(t|0));){for(ly0(i,r,t,a),n=i,l=o;(n|0)!=(t|0);)e[A+(l<<2)>>2]=e[a+(n<<2)>>2],n=n+1|0,l=l+1|0;i=i+1|0,o=o+c|0,c=c+-1|0}return r0(a),Xp(s),g=w,A|0}function OC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+16|0,s=w,A=j0(((N0(t+1|0,t)|0)/2|0)<<2)|0,a=j0(t<<2)|0,Xh(s,t),i=0,o=0,c=t;!((i|0)>=(t|0));){for(Lc(i,r,t,a,s),n=i,l=o;(n|0)!=(t|0);)x0[A+(l<<2)>>2]=+(e[a+(n<<2)>>2]|0),n=n+1|0,l=l+1|0;i=i+1|0,o=o+c|0,c=c+-1|0}return r0(a),Xp(s),g=w,A|0}function hT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(B=r+8|0,i=e[B>>2]|0,n=0,o=0;!((o|0)>=(t|0));)n=(e[r+(o*20|0)>>2]|0)+n|0,o=o+1|0;for(o=j0(n<<2)|0,E=j0(t<<2)|0,n=0;!((n|0)>=(t|0));)e[E+(n<<2)>>2]=0,n=n+1|0;if(e[B>>2]|0){for(A=0;!((A|0)>=(t|0));){for(cE(r,A,E),a=r+(A*20|0)|0,w=e[a>>2]|0,p=r+(A*20|0)+4|0,v=w+-2|0,m=r+(A*20|0)+8|0,s=1;!((s|0)>=(w|0));)n=e[(e[p>>2]|0)+(s<<2)>>2]|0,l=v+(e[r+(n*20|0)>>2]|0)|0,x=+(l-((ek(r,A,n,E)|0)<<1)|0),c=+x0[(e[m>>2]|0)+(s<<2)>>2],c>2]=c,s=s+1|0;hE(r,A,E),e[m>>2]=o,o=o+(e[a>>2]<<2)|0,A=A+1|0}o=YC(r,t)|0}else{for(l=0;!((l|0)>=(t|0));){for(e[r+(l*20|0)+8>>2]=o,cE(r,l,E),s=r+(l*20|0)|0,A=e[s>>2]|0,a=r+(l*20|0)+4|0,c=+(A+-1|0),n=1;!((n|0)>=(A|0));)m=e[(e[a>>2]|0)+(n<<2)>>2]|0,x=+((e[r+(m*20|0)>>2]|0)+-1|0)+c,x0[o+(n<<2)>>2]=x-+((ek(r,l,m,E)|0)<<1|0),n=n+1|0;hE(r,l,E),o=o+(e[s>>2]<<2)|0,l=l+1|0}o=OC(r,t)|0}r0(E),r0(e[B>>2]|0),e[B>>2]=0;e:do if(i|0)for(n=0;;){if((n|0)>=(t|0))break e;e[r+(n*20|0)+8>>2]=i,i=i+(e[r+(n*20|0)>>2]<<2)|0,n=n+1|0}while(0);return o|0}function Fp(r,t,i,n,o,l,s,A,a){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0;var c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0;H=g,g=g+80|0,Y=H+56|0,t0=H+48|0,W=H+40|0,B=H+32|0,E=H+24|0,m=H+16|0,w=H+8|0,c=H,p=s&4,q=s&3;e:do if((a|0)<0)i=0;else{s=(A|0)==2;r:do if(s)i=hT(r,t)|0,z=14;else{switch(A|0){case 1:{if(i=aT(r,t)|0,i|0){F=i;break r}$0(0,93315,c)|0,$0(3,93364,w)|0,z=15;break r}case 3:break;default:{z=15;break r}}i=cT(r,t)|0,z=14}while(0);(z|0)==14&&(i?F=i:z=15);do if((z|0)==15)if(e[r+8>>2]|0){F=YC(r,t)|0;break}else{F=OC(r,t)|0;break}while(0);r:do if((t|0)>1&(p|0)!=0)if((e50(r,t,n,l,p,q,s&1)|0)<0)B=0,E=0,i=-1,r=0,m=0,p=0,w=0,c=0,A=0,s=0;else for(s=0;;){if((s|0)>=(l|0)){L=0,z=35;break r}for(A=n+(s<<2)|0,v=1,i=0;(i|0)!=(t|0);)_=+L0(+ +u[(e[A>>2]|0)+(i<<3)>>3]),v=_>v?_:v,i=i+1|0;for(v=1/v,i=0;;){if((i|0)==(t|0)){i=0;break}J=(e[A>>2]|0)+(i<<3)|0,u[J>>3]=+u[J>>3]*v,i=i+1|0}for(;(i|0)!=(t|0);)_=(+Rn()+-.5)*1e-6,J=(e[A>>2]|0)+(i<<3)|0,u[J>>3]=+u[J>>3]+_,i=i+1|0;qA(t,e[A>>2]|0),s=s+1|0}else L=fT(0,t,l,n,o)|0,z=35;while(0);r:do if((z|0)==35){if((t|0)==1|(a|0)==0){i=0;break e}for(m=l<<2,J=j0(m)|0,E=t<<2,r=N0(E,l)|0,U=j0(r)|0,i=0;!((i|0)>=(l|0));){for(A=U+((N0(i,t)|0)<<2)|0,e[J+(i<<2)>>2]=A,c=n+(i<<2)|0,s=0;!((s|0)>=(t|0));)x0[A+(s<<2)>>2]=+u[(e[c>>2]|0)+(s<<3)>>3],s=s+1|0;i=i+1|0}t:do if(q)v=+(t|0)*.5*+(t+-1|0);else for(w=t+-1|0,i=0,v=0,c=0;;){if((c|0)>=(w|0))break t;for(p=t-c|0,A=i,s=1;i=A+1|0,!((s|0)>=(p|0));)A=i,v=+x0[F+(i<<2)>>2]+v,s=s+1|0;c=c+1|0}while(0);for(N=(N0(t+1|0,t)|0)/2|0,T=(q|0)==2,T&&ok(N,F),FF(N,F),D=t<<3,A=j0(D)|0,Ur(A|0,0,D|0)|0,P=t+-1|0,i=0,c=0;;){if((c|0)>=(P|0)){i=t,s=0,c=0;break}for(w=t-c|0,x=0,s=1;i=i+1|0,!((s|0)>=(w|0));)_=+x0[F+(i<<2)>>2],G=A+(s+c<<3)|0,u[G>>3]=+u[G>>3]-_,x=x+_,s=s+1|0;G=A+(c<<3)|0,u[G>>3]=+u[G>>3]-x,c=c+1|0}for(;!((s|0)>=(t|0));)x0[F+(c<<2)>>2]=+u[A+(s<<3)>>3],G=i+c|0,i=i+-1|0,s=s+1|0,c=G;for(G=j0(m)|0,e[G>>2]=j0(r)|0,i=1;!((i|0)>=(l|0));)e[G+(i<<2)>>2]=(e[G>>2]|0)+((N0(i,t)|0)<<2),i=i+1|0;for(w=j0(E)|0,c=j0(E)|0,s=j0(N<<2)|0,z=(L|0)==0,L=e[15712]|0,i=0,p=0,_=17976931348623157e292;p<<24>>24==0&(i|0)<(a|0);){for(Ur(A|0,0,D|0)|0,T?(PF(N,F,s),B=0,r=0):(B=0,r=0);;){if((B|0)>=(P|0)){p=t,m=0,r=0;break}for(E=t-B+-1|0,Kh(E,0,c),p=0;!((p|0)>=(l|0));)W=J+(p<<2)|0,Kh(E,+x0[(e[W>>2]|0)+(B<<2)>>2],w),nk(E,w,-1,(e[W>>2]|0)+(B<<2)+4|0),ok(E,w),pE(E,w,c,c),p=p+1|0;for(YF(E,c),p=0;!((p|0)>=(E|0));)m=c+(p<<2)|0,x=+x0[m>>2],x>=34028234663852886e22|x<0&&(x0[m>>2]=0),p=p+1|0;p=r+1|0,r=B+1|0;t:do if(T)for(x=0,m=0;;){if((m|0)>=(E|0))break t;W=s+(p<<2)|0,f0=+x0[W>>2]*+x0[c+(m<<2)>>2],x0[W>>2]=f0,W=A+(r+m<<3)|0,u[W>>3]=+u[W>>3]-f0,x=x+f0,p=p+1|0,m=m+1|0}else for(x=0,m=0;;){if((m|0)>=(E|0))break t;f0=+x0[c+(m<<2)>>2],x0[s+(p<<2)>>2]=f0,W=A+(r+m<<3)|0,u[W>>3]=+u[W>>3]-f0,x=x+f0,p=p+1|0,m=m+1|0}while(0);W=A+(B<<3)|0,u[W>>3]=+u[W>>3]-x,B=r,r=p}for(;;){if((m|0)>=(t|0)){p=0;break}x0[s+(r<<2)>>2]=+u[A+(m<<3)>>3],W=p+r|0,p=p+-1|0,m=m+1|0,r=W}for(;;){if((p|0)>=(l|0)){x=0,p=0;break}Wc(s,t,e[J+(p<<2)>>2]|0,e[G+(p<<2)>>2]|0),p=p+1|0}for(;!((p|0)>=(l|0));)x=+Df(t,e[J+(p<<2)>>2]|0,e[G+(p<<2)>>2]|0)+x,p=p+1|0;for(x=x*2+v,p=0;!((p|0)>=(l|0));)W=J+(p<<2)|0,Wc(F,t,e[W>>2]|0,w),x=x-+Df(t,e[W>>2]|0,w),p=p+1|0;for(k0=_-x,f0=+u[23294],p=(x=0?k0:-k0)/_=(l|0));){E=J+(r<<2)|0,m=e[E>>2]|0;t:do if(z){if((tE(F,m,e[G+(r<<2)>>2]|0,t,.001,t)|0)<0){B=G,E=F,i=-1,r=U,m=J,p=G;break r}}else{if(QF(t,m,w),(tE(F,w,e[G+(r<<2)>>2]|0,t,.001,t)|0)<0){B=G,E=F,i=-1,r=U,m=J,p=G;break r}else m=0;for(;;){if((m|0)>=(t|0))break t;(s0[(e[(e[o+(m<<2)>>2]|0)+16>>2]|0)+119>>0]|0)<=1&&(e[(e[E>>2]|0)+(m<<2)>>2]=e[w+(m<<2)>>2]),m=m+1|0}}while(0);r=r+1|0}((i|0)%5|0|0)==0&!1&&(u[t0>>3]=x,A2(L,90371,t0)|0,((i+5|0)%50|0|0)==0)&&VE(10,L)|0,i=i+1|0,_=x}for(p=0;;){if((p|0)>=(l|0)){B=G,E=F,r=U,m=J,p=G;break r}for(r=J+(p<<2)|0,E=n+(p<<2)|0,m=0;!((m|0)>=(t|0));)u[(e[E>>2]|0)+(m<<3)>>3]=+x0[(e[r>>2]|0)+(m<<2)>>2],m=m+1|0;p=p+1|0}}while(0);r0(r),r0(m),r0(E),B|0&&(r0(e[B>>2]|0),r0(p)),r0(w),r0(c),r0(A),r0(s)}while(0);return g=H,i|0}function e50(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n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,e[T+(E*20|0)+8>>2]=p,A=(e[P+(E<<4)>>2]|0)+1|0,z=T+(E*20|0)|0,e[z>>2]=A,c=(e[P+(E<<4)+8>>2]|0)+-4|0,s=P+(E<<4)+4|0;e:do if(x)for(w=0,a=1;;){if((a|0)>=(A|0))break e;e[v+(a<<2)>>2]=e[(e[s>>2]|0)+(a+-1<<2)>>2],B=+(e[c+(a<<2)>>2]|0),B=-1/(B*B),x0[p+(a<<2)>>2]=B,w=w-B,a=a+1|0,A=e[z>>2]|0}else for(w=0,a=1;;){if((a|0)>=(A|0))break e;e[v+(a<<2)>>2]=e[(e[s>>2]|0)+(a+-1<<2)>>2],B=-1/+(e[c+(a<<2)>>2]|0),x0[p+(a<<2)>>2]=B,w=w-B,a=a+1|0,A=e[z>>2]|0}while(0);e[v>>2]=E,x0[p>>2]=w,D=e[z>>2]|0,p=p+(D<<2)|0,v=v+(D<<2)|0,E=E+1|0}for(N=_0(n<<2)|0,e[N>>2]=_0(N0(n<<3,H)|0)|0,A=1;!((A|0)>=(n|0));)e[N+(A<<2)>>2]=(e[N>>2]|0)+((N0(A,H)|0)<<3),A=A+1|0;e:do if(o){for(A=0;!((A|0)>=(n|0));){for(c=N+(A<<2)|0,a=0;!((a|0)>=(H|0));)u[(e[c>>2]|0)+(a<<3)>>3]=0,a=a+1|0;A=A+1|0}if((n|0)!=2)for(A=0;;){if((A|0)>=(n|0)){A=0;break e}u[(e[N+(A<<2)>>2]|0)+(A<<3)>>3]=1,A=A+1|0}if(u[e[N>>2]>>3]=1,A=N+4|0,(Oy0(k0,H,t,e[A>>2]|0)|0)<<24>>24)A=0;else{for(a=e[A>>2]|0,A=0;!((A|0)>=(H|0));)u[a+(A<<3)>>3]=0,A=A+1|0;u[a+8>>3]=1,A=0}}else for(a=0;;){if((a|0)>=(n|0)){A=0;break e}for(c=N+(a<<2)|0,A=0;!((A|0)>=(H|0));)B=+(ri()|0)*4656612875245797e-25,u[(e[c>>2]|0)+(A<<3)>>3]=B,A=A+1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,A|0&&(r0(e[A>>2]|0),r0(e[f0>>2]|0)),r0(e[k0>>2]|0),r0(k0),Xp(B0),g=D0,a|0}function _2e(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(E=n+-1|0,v=(o|0)==2,l=0,o=0,w=0;!((w|0)>=(E|0));){for(m=n-w|0,p=1;o=o+1|0,!((p|0)>=(m|0));){for(a=p+w|0,s=0,A=0;!((A|0)>=(i|0));)B=e[r+(A<<2)>>2]|0,c=+x0[B+(w<<2)>>2]-+x0[B+(a<<2)>>2],s=s+c*c,A=A+1|0;s=+G0(+s),c=+x0[t+(o<<2)>>2],v?(s=1/+G0(+c)-s,s=s*s):(s=1/c-s,s=s*s),p=p+1|0,l=s*c+l}w=w+1|0}return+l}function wT(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;e:do if((o|0)==2)for(l=0,c=0;;){if((c|0)>=(n|0))break e;for(p=e[t+(c<<4)>>2]|0,v=t+(c<<4)+4|0,w=t+(c<<4)+8|0,a=0;!((a|0)>=(p|0));){if(A=e[(e[v>>2]|0)+(a<<2)>>2]|0,(A|0)>(c|0)){for(s=0,o=0;!((o|0)>=(i|0));)E=e[r+(o<<2)>>2]|0,m=+u[E+(c<<3)>>3]-+u[E+(A<<3)>>3],s=m*m+s,o=o+1|0;s=+G0(+s),m=+(e[(e[w>>2]|0)+(a<<2)>>2]|0),s=m-s,l=s*s/(m*m)+l}a=a+1|0}c=c+1|0}else for(c=0,l=0;;){if((c|0)>=(n|0))break e;for(w=e[t+(c<<4)>>2]|0,p=t+(c<<4)+4|0,v=t+(c<<4)+8|0,a=0;!((a|0)>=(w|0));){if(A=e[(e[p>>2]|0)+(a<<2)>>2]|0,(A|0)>(c|0)){for(s=0,o=0;!((o|0)>=(i|0));)E=e[r+(o<<2)>>2]|0,m=+u[E+(c<<3)>>3]-+u[E+(A<<3)>>3],s=m*m+s,o=o+1|0;s=+G0(+s),m=+(e[(e[v>>2]|0)+(a<<2)>>2]|0),s=m-s,l=s*s/m+l}a=a+1|0}c=c+1|0}while(0);return+l}function r50(r){return r=+r,+(+G0(+r)*r)}function dT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=e[47137]|0,n=0,o=0;!((o|0)>=(l|0));)s=+u[r+(o<<3)>>3]-+u[t+(o<<3)>>3],u[i+(o<<3)>>3]=s,n=s*s+n,o=o+1|0;return+ +G0(+n)}function PA(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0;for(s=j0(r<<2)|0,o=0,l=j0(N0(r<<3,t)|0)|0;!((o|0)>=(r|0));){for(e[s+(o<<2)>>2]=l,n=0;!((n|0)>=(t|0));)u[l+(n<<3)>>3]=i,n=n+1|0;o=o+1|0,l=l+(t<<3)|0}return s|0}function YA(r){r=r|0,r|0&&(r0(e[r>>2]|0),r0(r))}function pT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;w=g,g=g+16|0,c=v2(r)|0,a=ys(r)|0,A=re(r,2,92493,0)|0;e:do if(t)for(u[23294]=1e-4,gN(r,108886,186352),o=0,i=0,l=U0(r)|0;;){if(!l)break e;e[(e[l+16>>2]|0)+120>>2]=o,n=+kT(r,l,A)+i,o=o+1|0,i=n,l=X0(r,l)|0}else for(u[23294]=+(c|0)*1e-4,gN(r,108886,186352),o=he(e[r+60>>2]|0,90100)|0,o?i=+Fl(o):i=.99,u[23296]=i,o=j0((c<<2)+4|0)|0,s=r+16|0,e[(e[s>>2]|0)+152>>2]=o,o=0,i=0,l=U0(r)|0;;){if(!l)break e;e[(e[(e[s>>2]|0)+152>>2]|0)+(o<<2)>>2]=l,p=e[l+16>>2]|0,e[p+120>>2]=o,e[p+124>>2]=-1,n=+kT(r,l,A)+i,o=o+1|0,i=n,l=X0(r,l)|0}while(0);return o=he(r,90108)|0,o|0&&y[o>>0]|0?(i=+u[23294],n=+Fl(o),i>n||(i=n)):i=i/+(((a|0)>1?a:1)|0)*+G0(+ +(c|0))+1,u[23295]=i,e[47134]|t||(t=PA(c,c,i)|0,p=r+16|0,e[(e[p>>2]|0)+160>>2]=t,t=PA(c,c,1)|0,e[(e[p>>2]|0)+164>>2]=t,t=PA(c,e[47137]|0,1)|0,e[(e[p>>2]|0)+168>>2]=t,t=i50(c,c,e[47137]|0)|0,e[(e[p>>2]|0)+172>>2]=t),g=w,c|0}function t50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;o=0,n=0,a=Jr(r,t)|0;e:for(;a;){s=e[a>>2]&3,l=e[((s|0)==2?a:a+-48|0)+40>>2]|0,s=e[((s|0)==3?a:a+48|0)+40>>2]|0;do if((l|0)!=(s|0)){if(A=(s|0)==(t|0),(n|0)!=1){o=A?l:s,e[i>>2]=o,n=n+1|0;break}if(!((l|0)==(o|0)&A)&&!((l|0)==(t|0)&(s|0)==(o|0))){n=2;break e}else n=1}while(0);a=ot(r,a,t)|0}return n|0}function z2e(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,o=s,l=r+60|0;e:for(;;){r:for(;;){if(!t)break e;switch(t50(r,t,o)|0){case 0:{n=5;break r}case 1:{n=8;break r}default:t=0}}if((n|0)==5){(i|0)==(t|0)&&(i=X0(r,i)|0),zn(e[l>>2]|0,t)|0,t=0;continue}else if((n|0)==8){(i|0)==(t|0)&&(i=X0(r,i)|0),zn(e[l>>2]|0,t)|0,t=e[o>>2]|0;continue}}return g=s,i|0}function kT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;for(a=g,g=g+32|0,s=a+8|0,l=a,t=Me(r,t)|0,n=0;t;){switch(n50(t,i,l)|0){case 0:{o=+u[l>>3];break}case 2:{e[s>>2]=te(r)|0,u[s+8>>3]=1,$0(3,90120,s)|0,A=6;break}default:A=6}(A|0)==6&&(A=0,u[l>>3]=1,o=1),u[(e[t+16>>2]|0)+136>>3]=o,t=Qe(r,t)|0,n=o+n}return g=a,+n}function i50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(A=j0((r<<2)+4|0)|0,a=(t<<2)+4|0,c=i<<3,l=0;!((l|0)>=(r|0));){for(s=A+(l<<2)|0,e[s>>2]=j0(a)|0,o=0;!((o|0)>=(t|0));){for(n=j0(c)|0,e[(e[s>>2]|0)+(o<<2)>>2]=n,n=0;!((n|0)>=(i|0));)u[(e[(e[s>>2]|0)+(o<<2)>>2]|0)+(n<<3)>>3]=0,n=n+1|0;o=o+1|0}e[(e[s>>2]|0)+(o<<2)>>2]=0,l=l+1|0}return e[A+(l<<2)>>2]=0,A|0}function n50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A+8|0,l=A;do if(t|0&&(n=k2(r,t)|0,(y[n>>0]|0)!=0)){if(e[l>>2]=i,(X2(n,101209,l)|0)>=1&&(o=+u[i>>3],!(o<0))&&o!=0|(e[47134]|0)!=0){r=0;break}e[s>>2]=n,$0(0,90147,s)|0,r=2}else r=1;while(0);return g=A,r|0}function o50(r){return r=r|0,pT(r,0)|0}function vT(r){r=r|0,r=r+16|0,r0(e[(e[r>>2]|0)+152>>2]|0),e[47134]|0||(YA(e[(e[r>>2]|0)+160>>2]|0),YA(e[(e[r>>2]|0)+164>>2]|0),YA(e[(e[r>>2]|0)+168>>2]|0),l50(e[(e[r>>2]|0)+172>>2]|0),e[(e[r>>2]|0)+172>>2]=0)}function l50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(r|0){for(o=0;l=r+(o<<2)|0,t=e[l>>2]|0,t;){n=0;for(;i=e[t+(n<<2)>>2]|0,!!i;)r0(i),n=n+1|0,t=e[l>>2]|0;r0(t),o=o+1|0}r0(r)}}function VC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=+(t|0),t=r+16|0;!((i|0)>=(e[47137]|0));)o=+Rn()*n,u[(e[(e[t>>2]|0)+132>>2]|0)+(i<<3)>>3]=o,i=i+1|0}function HC(r,t){r=r|0,t=t|0,VC(r,t,2)}function s50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=+(t|0),o=+Rn()*n,i=r+16|0,u[e[(e[i>>2]|0)+132>>2]>>3]=o,n=+Rn()*n,u[(e[(e[i>>2]|0)+132>>2]|0)+8>>3]=n,(e[47137]|0)>2&&HC(r,t)}function A50(r,t){r=r|0,t=t|0;var i=0,n=0;n=g,g=g+16|0,i=n,t=$Q(r,t,2)|0;e:do if((t|0)!=1)for(e[46797]|t||($0(0,90192,i)|0,e[46797]=1),i=r+16|0,t=0;;){if(r=e[(e[(e[i>>2]|0)+152>>2]|0)+(t<<2)>>2]|0,!r)break e;y[(e[r+16>>2]|0)+119>>0]|0||s50(r,1),t=t+1|0}while(0);g=n}function u50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(m=g,g=g+96|0,v=m+80|0,w=m,p=r+16|0,o=e[p>>2]|0,a=e[o+164>>2]|0,o=e[o+160>>2]|0,c=0;!((c|0)>=(t|0));){for(s=o+(c<<2)|0,A=a+(c<<2)|0,n=0;(n|0)!=(c|0);)l=+u[(e[s>>2]|0)+(n<<3)>>3],l=1/(l*l),i=e[(e[p>>2]|0)+152>>2]|0,i=rr(r,e[i+(c<<2)>>2]|0,e[i+(n<<2)>>2]|0,0,0)|0,i&&(l=+u[(e[i+16>>2]|0)+128>>3]*l),u[(e[a+(n<<2)>>2]|0)+(c<<3)>>3]=l,u[(e[A>>2]|0)+(n<<3)>>3]=l,n=n+1|0;c=c+1|0}for(r=e[47137]|0,n=0;(n|0)<(t|0);){i=0;for(;!((i|0)>=(r|0));)u[(e[(e[(e[p>>2]|0)+168>>2]|0)+(n<<2)>>2]|0)+(i<<3)>>3]=0,i=i+1|0;n=n+1|0}for(s=0;i=e[(e[(e[p>>2]|0)+152>>2]|0)+(s<<2)>>2]|0,!!i;){for(r=i+16|0,i=0;!((i|0)>=(t|0));){e:do if((s|0)!=(i|0))for(l=+dT(e[(e[r>>2]|0)+132>>2]|0,e[(e[(e[(e[(e[p>>2]|0)+152>>2]|0)+(i<<2)>>2]|0)+16>>2]|0)+132>>2]|0,w),o=e[47137]|0,l=1/l,n=0;;){if((n|0)>=(o|0))break e;c=e[p>>2]|0,E=+u[w+(n<<3)>>3],E=(E-+u[(e[(e[c+160>>2]|0)+(s<<2)>>2]|0)+(i<<3)>>3]*E*l)*+u[(e[(e[c+164>>2]|0)+(s<<2)>>2]|0)+(i<<3)>>3],u[(e[(e[(e[c+172>>2]|0)+(s<<2)>>2]|0)+(i<<2)>>2]|0)+(n<<3)>>3]=E,c=(e[(e[c+168>>2]|0)+(s<<2)>>2]|0)+(n<<3)|0,u[c>>3]=+u[c>>3]+E,n=n+1|0}while(0);i=i+1|0}s=s+1|0}g=m}function f50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(s=g,g=g+32|0,l=s+24|0,o=s+8|0,n=s,A=+u[23294],u[23216]=A*A;i=a50(r,t)|0,!!i;)c50(r,t,i);t=r+16|0,t=e[(e[t>>2]|0)+156>>2]|0,(t|0)==(e[47136]|0)&&(a=te(r)|0,e[l>>2]=t,e[l+4>>2]=a,$0(0,90320,l)|0),g=s}function a50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(m=g,g=g+16|0,v=m,w=(e[46799]|0)+1|0,e[46799]=w,r=e[r+16>>2]|0,(e[r+156>>2]|0)<(e[47136]|0)){for(a=e[47137]|0,c=r+152|0,A=r+168|0,r=0,i=0,s=0;!((s|0)>=(t|0));){if(o=e[(e[c>>2]|0)+(s<<2)>>2]|0,(s0[(e[o+16>>2]|0)+119>>0]|0)<=1){for(l=0,n=0;!((n|0)>=(a|0));)E=+u[(e[(e[A>>2]|0)+(s<<2)>>2]|0)+(n<<3)>>3],l=E*E+l,n=n+1|0;l>i&&(r=o,i=l)}s=s+1|0}i<+u[23216]?r=0:!1&((w|0)%100|0|0)==0&&(p=e[15712]|0,u[v>>3]=+G0(+i),A2(p,90371,v)|0,((e[46799]|0)%1e3|0|0)==0)&&VE(10,p)|0}else r=0;return g=m,r|0}function c50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(p=g,g=g+16|0,w=p,a=i+16|0,c=e[(e[a>>2]|0)+120>>2]|0,o=e[46798]|0,o?(l=e[47137]|0,l=Oe(o,N0(l<<3,l)|0)|0):(l=e[47137]|0,l=_0(N0(l<<3,l)|0)|0),e[46798]=l,h50(r,t,c,l),s=e[47137]|0,A=r+16|0,o=0;!((o|0)>=(s|0));)u[185736+(o<<3)>>3]=-+u[(e[(e[(e[A>>2]|0)+168>>2]|0)+(c<<2)>>2]|0)+(o<<3)>>3],o=o+1|0;for(c90(l,185816,185736,s),o=0;!((o|0)>=(e[47137]|0));)n=+u[23296],n=(1-n)*2*+Rn()+n,s=185816+(o<<3)|0,n=n*+u[s>>3],u[s>>3]=n,s=(e[(e[a>>2]|0)+132>>2]|0)+(o<<3)|0,u[s>>3]=+u[s>>3]+n,o=o+1|0;a=(e[A>>2]|0)+156|0,e[a>>2]=(e[a>>2]|0)+1,w50(r,t,c),bk0()|0,g=p}function L2e(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;E=t+-1|0,p=r+16|0,v=e[47137]|0,l=0,i=0;e:for(;!((l|0)>=(E|0));)for(w=e[p>>2]|0,m=e[w+152>>2]|0,A=l+1|0,a=(e[m+(l<<2)>>2]|0)+16|0,c=w+164|0,w=w+160|0,s=A;;){if((s|0)>=(t|0)){l=A;continue e}for(o=(e[m+(s<<2)>>2]|0)+16|0,r=0,n=0;!((r|0)>=(v|0));)B=+u[(e[(e[a>>2]|0)+132>>2]|0)+(r<<3)>>3]-+u[(e[(e[o>>2]|0)+132>>2]|0)+(r<<3)>>3],r=r+1|0,n=B*B+n;B=+u[(e[(e[w>>2]|0)+(l<<2)>>2]|0)+(s<<3)>>3],B=((+G0(+n)*-2+B)*B+n)*+u[(e[(e[c>>2]|0)+(l<<2)>>2]|0)+(s<<3)>>3]+i,s=s+1|0,i=B}return+i}function h50(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;for(G=g,g=g+80|0,L=G,_=e[r+16>>2]|0,a=e[_+164>>2]|0,c=e[_+160>>2]|0,_=e[_+152>>2]|0,A=e[_+(i<<2)>>2]|0,l=e[47137]|0,r=0;!((r|0)>=(l|0));){for(s=N0(l,r)|0,o=0;(o|0)!=(l|0);)u[n+(s+o<<3)>>3]=0,o=o+1|0;r=r+1|0}for(z=e[47137]|0,x=A+16|0,B=a+(i<<2)|0,a=c+(i<<2)|0,A=0;!((A|0)>=(t|0));){e:do if((A|0)!=(i|0)){for(o=(e[_+(A<<2)>>2]|0)+16|0,E=0,r=0;!((r|0)>=(z|0));)m=+u[(e[(e[x>>2]|0)+132>>2]|0)+(r<<3)>>3]-+u[(e[(e[o>>2]|0)+132>>2]|0)+(r<<3)>>3],u[L+(r<<3)>>3]=m,E=m*m+E,r=r+1|0;for(w=1/+r50(E),s=0;;){if((s|0)>=(z|0))break e;for(o=(e[B>>2]|0)+(A<<3)|0,l=(e[a>>2]|0)+(A<<3)|0,p=+u[L+(s<<3)>>3],r=0;v=+u[o>>3],m=+u[l>>3],(r|0)!=(s|0);)c=n+((N0(z,r)|0)+s<<3)|0,u[c>>3]=+u[c>>3]+v*w*m*p*+u[L+(r<<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=n+1|0}while(0);r=r+1|0}g=c}function mT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(i=r+16|0,l=e[46800]|0,t=e[(e[i>>2]|0)+124>>2]|0;!((t|0)<=0||(s=(t+-1|0)/2|0,A=l+(s<<2)|0,n=e[A>>2]|0,o=n+16|0,+u[(e[o>>2]|0)+136>>3]<=+u[(e[i>>2]|0)+136>>3]));)e[A>>2]=r,e[(e[i>>2]|0)+124>>2]=s,e[l+(t<<2)>>2]=n,e[(e[o>>2]|0)+124>>2]=t,t=s}function d50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(s=r+16|0,A=e[46801]|0,a=e[46800]|0,l=e[(e[s>>2]|0)+124>>2]|0;n=l<<1|1,!((n|0)>=(A|0)||(i=n+1|0,(i|0)<(A|0)?(o=e[a+(i<<2)>>2]|0,t=e[a+(n<<2)>>2]|0,+u[(e[o+16>>2]|0)+136>>3]<+u[(e[t+16>>2]|0)+136>>3]?(n=i,t=o):c=6):(t=e[a+(n<<2)>>2]|0,c=6),(c|0)==6&&(c=0),i=t+16|0,+u[(e[s>>2]|0)+136>>3]<=+u[(e[i>>2]|0)+136>>3]));)e[a+(n<<2)>>2]=r,e[(e[s>>2]|0)+124>>2]=n,e[a+(l<<2)>>2]=t,e[(e[i>>2]|0)+124>>2]=l,l=n}function gT(r){r=r|0;var t=0,i=0;t=(e[r+16>>2]|0)+124|0,(e[t>>2]|0)>=0&&H0(90377,90397,643,90405),i=e[46801]|0,e[46801]=i+1,e[t>>2]=i,e[(e[46800]|0)+(i<<2)>>2]=r,(i|0)>0&&mT(r)}function p50(){var r=0,t=0,i=0,n=0;return t=e[46801]|0,t?(n=e[46800]|0,r=e[n>>2]|0,i=t+-1|0,e[46801]=i,i=e[n+(i<<2)>>2]|0,e[n>>2]=i,e[(e[i+16>>2]|0)+124>>2]=0,(t|0)>2&&d50(i),e[(e[r+16>>2]|0)+124>>2]=-1):r=0,r|0}function yT(r,t){r=r|0,t=t|0;var i=0,n=0;for(n=g,g=g+16|0,i=n,e[46800]=j0((t<<2)+4|0)|0,t=U0(r)|0;t;)k50(r,t),t=X0(r,t)|0;r0(e[46800]|0),g=n}function k50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(n=e[(e[r+16>>2]|0)+152>>2]|0,o=+u[23295],i=0;l=e[n+(i<<2)>>2]|0,!!l;)u[(e[l+16>>2]|0)+136>>3]=o,i=i+1|0;e[46802]=t,a=e[t+16>>2]|0,u[a+136>>3]=0,e[a+128>>2]=0,gT(t);e:for(;a=p50()|0,!!a;)for(i=e[46802]|0,A=a+16|0,(a|0)!=(i|0)&&v50(r,i,a,+u[(e[A>>2]|0)+136>>3]),s=Jr(r,a)|0;;){if(!s)continue e;i=e[s>>2]&3,t=e[((i|0)==3?s:s+48|0)+40>>2]|0,(t|0)==(a|0)&&(t=e[((i|0)==2?s:s+-48|0)+40>>2]|0),i=e[A>>2]|0,o=+u[(e[s+16>>2]|0)+136>>3]+ +u[i+136>>3],n=e[t+16>>2]|0,l=n+136|0;do if(+u[l>>3]>o)if(u[l>>3]=o,(e[n+124>>2]|0)>-1){mT(t);break}else{e[n+128>>2]=(e[i+128>>2]|0)+1,gT(t);break}while(0);s=ot(r,s,a)|0}}function v50(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n,t=e[(e[t+16>>2]|0)+120>>2]|0,i=e[(e[i+16>>2]|0)+120>>2]|0,r=e[(e[r+16>>2]|0)+160>>2]|0,u[(e[r+(i<<2)>>2]|0)+(t<<3)>>3]=n,u[(e[r+(t<<2)>>2]|0)+(i<<3)>>3]=n}function m50(r){r=r|0,rl(r,2),$[(e[r+16>>2]|0)+176>>1]=2,e[47137]=2,g50(r)}function g50(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=v2(r)|0,n=j0(t*56|0)|0,t=j0((t<<2)+4|0)|0,o=r+16|0,e[(e[o>>2]|0)+152>>2]=t,t=U0(r)|0,i=0;t;)Yh(t),e[(e[t+16>>2]|0)+112>>2]=n+(i*56|0),e[(e[(e[o>>2]|0)+152>>2]|0)+(i<<2)>>2]=t,t=X0(r,t)|0,i=i+1|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)y50(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function y50(r){r=r|0;var t=0;$e(r,137460,176,1)|0,Rf(r)|0,t=+sr(r,e[47174]|0,1,0),u[(e[r+16>>2]|0)+128>>3]=t}function C50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;if(x=g,g=g+80|0,a=x+32|0,l=x+24|0,o=x+16|0,s=x,B=x+72|0,p=x+40|0,v2(r)|0){if(m50(r),n=he(r,95738)|0,n?y[n>>0]|0?(t=ht(r,n,0)|0,t?E=0:(e[o>>2]=n,$0(0,90448,o)|0,$0(3,90488,l)|0,t=0,E=1)):(t=0,E=1):(t=0,E=0),c=re(r,1,95738,0)|0,w=(c|0)!=0,n=he(r,140742)|0,n|0&&y[n>>0]|0&&(A=s+8|0,e[a>>2]=s,e[a+4>>2]=A,(X2(n,105503,a)|0)==1)&&(u[A>>3]=+u[s>>3]),v2(r)|0){if(a=n7(r,B,0)|0,(e[B>>2]|0)==1){o=(t|0)!=0;do if(o)i=t;else{if(w&&(i=CT(r,c)|0,i|0))break;i=0}while(0);n=rP(r,i)|0,(i|0)!=0|w^1||Er(n,c,142463)|0,m=(U0(r)|0)+16|0,r0(e[(e[m>>2]|0)+112>>2]|0),e[(e[m>>2]|0)+112>>2]=0,Uh(r)|0,FA(r),t=(E|0)==0|o?t:n}else{for(Ac(r,2,8,p)|0,e[p+12>>2]=0,A=(E|0)==0,s=0;!((s|0)>=(e[B>>2]|0));){o=e[a+(s<<2)>>2]|0,i=(t|0)!=0,i&&Mi(o,t)|0?n=t:m=23;do if((m|0)==23){if(m=0,w&&(v=CT(o,c)|0,v|0)){n=v;break}n=0}while(0);sc(o)|0,l=rP(o,n)|0,t=A|i?t:l,w&&(n|0)==0|(n|0)==(t|0)&&Er(l,c,142463)|0,Uh(o)|0,s=s+1|0}m=(U0(r)|0)+16|0,r0(e[(e[m>>2]|0)+112>>2]|0),e[(e[m>>2]|0)+112>>2]=0,jd(e[B>>2]|0,a,r,p)|0,FA(r)}for(i=0;!((i|0)>=(e[B>>2]|0));)zn(r,e[a+(i<<2)>>2]|0)|0,i=i+1|0;r0(a)}E|0&&h1(r,95738,te(t)|0)|0,Sf(r)}g=x}function CT(r,t){r=r|0,t=t|0;var i=0;for(i=U0(r)|0;;){if(!i){i=0;break}if((jt(k2(i,t)|0)|0)<<24>>24)break;i=X0(r,i)|0}return i|0}function E50(r){r=r|0;var t=0,i=0;if(t=U0(r)|0,t|0){for(;t;){for(i=Me(r,t)|0;i;)NA(i),i=Qe(r,i)|0;jA(t),t=X0(r,t)|0}B50(r)}}function B50(r){r=r|0,r0(e[(e[r+16>>2]|0)+152>>2]|0),(a2(r)|0)!=(r|0)&&wf(r,0,137483)}function I50(r){r=r|0,x50(r),!(v2(r)|0)&&!(e[(e[r+16>>2]|0)+180>>2]|0)||(B90(r),Sf(r))}function x50(r){r=r|0,e[47147]=re(r,1,108230,108236)|0,rl(r,2),$[(e[r+16>>2]|0)+176>>1]=2,e[47137]=2,JC(r,0),S50(r)}function JC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,l=A,s=(t|0)==0,s&&(L50(l),t=l),i=yt(r)|0;i;)Yr(te(i)|0,108006,7)|0?JC(i,t):($e(i,137483,280,1)|0,R50(t,i),JC(i,0)),i=Ct(i)|0;s&&(n=e[l+8>>2]|0,o=r+16|0,e[(e[o>>2]|0)+180>>2]=n,n|0)&&(s=Oe(e[l>>2]|0,(n<<2)+4|0)|0,e[(e[o>>2]|0)+184>>2]=s),g=A}function S50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=j0((v2(r)|0)<<2)|0,t=j0(((v2(r)|0)<<2)+4|0)|0,l=r+16|0,e[(e[l>>2]|0)+152>>2]=t,t=U0(r)|0,i=0;t;){for($e(t,137447,304,1)|0,e[(e[t+16>>2]|0)+112>>2]=o+(i<<2),e[(e[(e[l>>2]|0)+152>>2]|0)+(i<<2)>>2]=t,_50(t),n=Me(r,t)|0;n;)z50(n),n=Qe(r,n)|0;t=X0(r,t)|0,i=i+1|0}}function _50(r){r=r|0,h1(r,108230,108236)|0}function z50(r){r=r|0,$e(r,137460,304,1)|0}function L50(r){r=r|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0}function R50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=r+8|0,i=(e[l>>2]|0)+1|0,e[l>>2]=i,n=r+4|0,s=e[n>>2]|0,o=s+10|0,(i|0)<(s|0)?r=e[r>>2]|0:(e[n>>2]=o,i=Oe(e[r>>2]|0,o<<2)|0,e[r>>2]=i,r=i,i=e[l>>2]|0),e[r+(i<<2)>>2]=t}function G50(r){r=r|0;var t=0,i=0;if(t=U0(r)|0,t|0){for(r0(e[(e[t+16>>2]|0)+112>>2]|0);t;){for(i=Me(r,t)|0;i;)NA(i),i=Qe(r,i)|0;jA(t),t=X0(r,t)|0}Z50(r)}}function Z50(r){r=r|0,r0(e[(e[r+16>>2]|0)+152>>2]|0),(a2(r)|0)!=(r|0)&&wf(r,0,137483)}function W50(r){r=r|0;var t=0,i=0,n=0;if(D50(r),UC(r,0),ET(r,0),BT(r,0),t=e[r+16>>2]|0,!(e[(e[t+8>>2]|0)+84>>2]|0))t=$[t+136>>1]&14,t<<16>>16&&Qp(r,t&65535)|0;else{for(t=U0(r)|0;t;)n=e[t+16>>2]|0,i=e[n+132>>2]|0,u[i>>3]=+u[n+16>>3]*.013888888888888888,u[i+8>>3]=+u[n+24>>3]*.013888888888888888,t=X0(r,t)|0;Tp(r,1)}Sf(r)}function D50(r){r=r|0;var t=0,i=0;for(rl(r,2),$[(e[r+16>>2]|0)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0,e[V0>>2]=0,e[V0+4>>2]=0,e[V0+8>>2]=0,e[V0+12>>2]=0,u[i+40>>3]=18,u[i+32>>3]=18;else{i=D+16|0;do if((Ac(r,4,4,D)|0)>>>0>=3)if((e[i>>2]|0)==4&&e[D+28>>2]&2|0)if(n=re(w,0,99190,0)|0,i=re(w,1,99190,0)|0,(n|0)!=0|(i|0)!=0){e[D+24>>2]=j0(P<<2)|0;break}else{e[p>>2]=te(r)|0,$0(0,90577,p)|0,i=0,n=0;break}else i=0,n=0;else e[i>>2]=3,i=0,n=0;while(0);for(N=j0(P<<5)|0,T=j0(P<<2)|0,B=D+24|0,w=(n|0)!=0,E=0,l=1;o=e[J>>2]|0,!((l|0)>(e[o+180>>2]|0));)o=e[(e[o+184>>2]|0)+(l<<2)>>2]|0,x=N+(E<<5)|0,m=(e[o+16>>2]|0)+16|0,e[x>>2]=e[m>>2],e[x+4>>2]=e[m+4>>2],e[x+8>>2]=e[m+8>>2],e[x+12>>2]=e[m+12>>2],e[x+16>>2]=e[m+16>>2],e[x+20>>2]=e[m+20>>2],e[x+24>>2]=e[m+24>>2],e[x+28>>2]=e[m+28>>2],w&(e[B>>2]|0)!=0&&(x=pr(o,n,0,0)|0,e[(e[B>>2]|0)+(E<<2)>>2]=x),e[T+(E<<2)>>2]=o,E=E+1|0,l=l+1|0;e:do if((v|0)>0)for(p=Y+16|0,v=Y+24|0,m=(i|0)!=0,w=U0(r)|0,n=E;;){if(!w)break e;o=e[w+16>>2]|0,l=o+112|0,e[l>>2]|0||(e[l>>2]=r,e[Y>>2]=0,e[Y+4>>2]=0,e[Y+8>>2]=0,e[Y+12>>2]=0,u[p>>3]=+u[o+96>>3]+ +u[o+88>>3],u[v>>3]=+u[o+80>>3],x=N+(n<<5)|0,e[x>>2]=e[Y>>2],e[x+4>>2]=e[Y+4>>2],e[x+8>>2]=e[Y+8>>2],e[x+12>>2]=e[Y+12>>2],e[x+16>>2]=e[Y+16>>2],e[x+20>>2]=e[Y+20>>2],e[x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2],Vh(t0,F,q),e[H>>2]=e[t0>>2],e[H+4>>2]=e[t0+4>>2],e[H+8>>2]=e[t0+8>>2],e[H+12>>2]=e[t0+12>>2],J0=(e[J>>2]|0)+16|0,e[J0>>2]=e[H>>2],e[J0+4>>2]=e[H+4>>2],e[J0+8>>2]=e[H+8>>2],e[J0+12>>2]=e[H+12>>2],e[J0+16>>2]=e[H+16>>2],e[J0+20>>2]=e[H+20>>2],e[J0+24>>2]=e[H+24>>2],e[J0+28>>2]=e[H+28>>2],r0(N),r0(T),r0(x)}g=Z0}function BT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;x=g,g=g+80|0,B=x+32|0,s=x+8|0,i=x,E=r+16|0,p=e[E>>2]|0,v=+u[p+16>>3],m=+u[p+24>>3],p=(t|0)!=0;e:do if(p)for(i=U0(r)|0,n=e[15712]|0;;){if(!i)break e;o=i+16|0,l=e[o>>2]|0,(e[l+112>>2]|0)==(r|0)&&(z=l+16|0,u[z>>3]=+u[z>>3]+v,l=l+24|0,u[l>>3]=+u[l>>3]+m,0>1)&&(M50(t),z=te(i)|0,l=e[o>>2]|0,c=+u[l+16>>3],w=+u[l+24>>3],e[s>>2]=z,u[s+8>>3]=c,u[s+16>>3]=w,A2(n,90544,s)|0),i=X0(r,i)|0}else n=e[15712]|0;while(0);for(s=t+1|0,r=1;i=e[E>>2]|0,!((r|0)>(e[i+180>>2]|0));)l=e[(e[i+184>>2]|0)+(r<<2)>>2]|0,p&&(o=l+16|0,i=e[o>>2]|0,A=+u[i+16>>3]+v,a=+u[i+24>>3]+m,c=+u[i+32>>3]+v,w=+u[i+40>>3]+m,u[i+16>>3]=A,u[i+24>>3]=a,u[i+32>>3]=c,u[i+40>>3]=w),BT(l,s),r=r+1|0;g=x}function M50(r){r=r|0;var t=0;for(t=e[15712]|0;!((r|0)<=0);)Bi(90574,t)|0,r=r+-1|0}function IT(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function j50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(+u[i+8>>3]+ +u[t+8>>3])*.5,u[r>>3]=(+u[i>>3]+ +u[t>>3])*.5,u[r+8>>3]=n}function Vh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[t+8>>3]-+u[i+8>>3],u[r>>3]=+u[t>>3]-+u[i>>3],u[r+8>>3]=n}function N50(r){r=r|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0}function Q50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=r+8|0,i=(e[l>>2]|0)+1|0,e[l>>2]=i,n=r+4|0,s=e[n>>2]|0,o=s+10|0,(i|0)<(s|0)?r=e[r>>2]|0:(e[n>>2]=o,i=Oe(e[r>>2]|0,o<<2)|0,e[r>>2]=i,r=i,i=e[l>>2]|0),e[r+(i<<2)>>2]=t}function T50(r){r=r|0;var t=0;for(t=U0(r)|0;t;)jA(t),t=X0(r,t)|0;xT(r)}function xT(r){r=r|0;var t=0,i=0,n=0;for(t=r+16|0,r=1;n=e[t>>2]|0,i=e[n+184>>2]|0,!((r|0)>(e[n+180>>2]|0));)n=e[i+(r<<2)>>2]|0,fn(e[(e[n+16>>2]|0)+12>>2]|0),xT(n),r=r+1|0;r0(i)}function F50(r){r=r|0;var t=0,i=0,n=0;for(Ll(r,1,137447,304,1),ev0(r)|0,t=j0(((v2(r)|0)<<2)+4|0)|0,n=r+16|0,e[(e[n>>2]|0)+152>>2]=t,t=0,i=U0(r)|0;i;)P50(i),e[(e[(e[n>>2]|0)+152>>2]|0)+(t<<2)>>2]=i,e[(e[i+16>>2]|0)+120>>2]=t,t=t+1|0,i=X0(r,i)|0;for(n=re(r,2,92493,0)|0,i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)Y50(t,n),t=Qe(r,t)|0;i=X0(r,i)|0}O50(r)}function P50(r){r=r|0;var t=0;Zp(r),t=j0((M0[(e[(We(r)|0)+16>>2]|0)+176>>1]|0)<<3)|0,e[(e[r+16>>2]|0)+132>>2]=t,Sc(r,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1)}function Y50(r,t){r=r|0,t=t|0;var i=0,n=0;$e(r,137460,176,1)|0,n=+sr(r,e[47174]|0,1,0),i=r+16|0,u[(e[i>>2]|0)+128>>3]=n,n=+sr(r,t,+u[1371],0),u[(e[i>>2]|0)+136>>3]=n,Rf(r)|0}function O50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;m=g,g=g+32|0,v=m+16|0,p=m,a=m+24|0,c=re(r,1,102623,0)|0;e:do if(c|0)for(w=re(r,1,90660,0)|0,l=r+16|0,s=(w|0)==0,A=e[15712]|0,o=0;;){if(i=e[(e[(e[l>>2]|0)+152>>2]|0)+(o<<2)>>2]|0,!i)break e;r=k2(i,c)|0;do if(y[r>>0]|0){if(n=i+16|0,t=e[(e[n>>2]|0)+132>>2]|0,y[a>>0]=0,e[p>>2]=t,e[p+4>>2]=t+8,e[p+8>>2]=a,(X2(r,101749,p)|0)<=1){e[v>>2]=te(i)|0,e[v+4>>2]=r,A2(A,90664,v)|0;break}r:do if(+u[23293]>0)for(r=0;;){if((r|0)==2)break r;E=t+(r<<3)|0,u[E>>3]=+u[E>>3]/+u[23293],r=r+1|0}while(0);if(r=e[n>>2]|0,y[r+119>>0]=1,(y[a>>0]|0)!=33){if(s||!((jt(k2(i,w)|0)|0)<<24>>24))break;r=e[n>>2]|0}y[r+119>>0]=3}while(0);o=o+1|0}while(0);g=m}function V50(r){r=r|0;var t=0,i=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)NA(t),t=Qe(r,t)|0;jA(i),i=X0(r,i)|0}H50(r)}function H50(r){r=r|0,ST(r),r=r+16|0,r0(e[(e[r>>2]|0)+152>>2]|0),r0(e[(e[r>>2]|0)+140>>2]|0)}function ST(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(l=r+16|0,o=1;n=e[l>>2]|0,t=e[n+184>>2]|0,!((o|0)>(e[n+180>>2]|0));)n=e[t+(o<<2)>>2]|0,t=n+16|0,fn(e[(e[t>>2]|0)+12>>2]|0),i=e[(e[t>>2]|0)+140>>2]|0,i|0&&(r0(e[i>>2]|0),r0(e[(e[t>>2]|0)+140>>2]|0)),ST(n),o=o+1|0;r0(t),(a2(r)|0)!=(r|0)&&An(r,137483)|0}function J50(r,t){r=r|0,t=t|0,e[t+4>>2]=re(r,0,90716,0)|0,e[t+8>>2]=re(r,0,141116,0)|0,e[t+12>>2]=re(r,0,141048,0)|0,e[t>>2]=r,e[t+16>>2]=0,e[t+36>>2]=Ac(r,2,4,t+20|0)|0}function U50(r){r=r|0;var t=0,i=0;rl(r,2),t=j0(56)|0,i=r+16|0,e[(e[i>>2]|0)+140>>2]=t,t=(pr(r,re(r,0,91374,0)|0,2,2)|0)&65535,t=(t&65535)<10?t:10,$[(e[i>>2]|0)+176>>1]=t,e[47137]=t&65535,XC(r,0,r),am0(r),F50(r)}function XC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(c=g,g=g+16|0,A=c,a=(t|0)==0,a&&(X50(A),t=A),o=i+16|0,n=yt(r)|0;n;)Yr(te(n)|0,108006,7)|0?XC(n,t,i):($e(n,137483,280,1)|0,w=j0(56)|0,v=e[n+16>>2]|0,e[v+140>>2]=w,p=e[o>>2]|0,$[v+176>>1]=$[p+176>>1]|0,e[w+44>>2]=(e[(e[p+140>>2]|0)+44>>2]|0)+1,e[w+48>>2]=i,q50(t,n),XC(n,0,n)),n=Ct(n)|0;a&&(l=e[A+8>>2]|0,s=r+16|0,e[(e[s>>2]|0)+180>>2]=l,l|0)&&(v=Oe(e[A>>2]|0,(l<<2)+4|0)|0,e[(e[s>>2]|0)+184>>2]=v),g=c}function X50(r){r=r|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0}function q50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=r+8|0,i=(e[l>>2]|0)+1|0,e[l>>2]=i,n=r+4|0,s=e[n>>2]|0,o=s+10|0,(i|0)<(s|0)?r=e[r>>2]|0:(e[n>>2]=o,i=Oe(e[r>>2]|0,o<<2)|0,e[r>>2]=i,r=i,i=e[l>>2]|0),e[r+(i<<2)>>2]=t}function $50(r){r=r|0;var t=0,i=0;t=g,g=g+64|0,i=t,J50(r,i),_T(r,i),K50(r),zT(r,r),LT(r),g=t}function _T(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(E=g,g=g+64|0,m=E+48|0,i=E+40|0,w=E+56|0,c=E+52|0,a=E,i=U0(r)|0;i;)e[(e[i+16>>2]|0)+164>>2]=0,i=X0(r,i)|0;for(p=b50(r,t)|0,v=D90(p,w,c)|0,i=v;A=i+4|0,n=e[i>>2]|0,!!n;){for(cm0(n,a),i=U0(n)|0;i;){if(o=X0(n,i)|0,l=i+16|0,s=e[l>>2]|0,e[s+212>>2]|0){z=em0(i,n)|0,_T(z,t),z=e[(e[z+16>>2]|0)+140>>2]|0,x=+u[z+24>>3],s=e[l>>2]|0,u[s+32>>3]=x,B=+u[z+32>>3],u[s+40>>3]=B,x=x*36,u[s+88>>3]=x,u[s+96>>3]=x,u[s+80>>3]=B*72,i=o;continue}if(e[(e[s+112>>2]|0)+8>>2]|0){i=o;continue}zn(n,i)|0,i=o}if((v2(n)|0)<=1){i=A;continue}(e[t>>2]|0)==(r|0)&&JT(n)|0,mm0(n,a),i=A}for(i=e[w>>2]|0,(i|0)<=1?((i|0)==1&&MA(e[v>>2]|0),i=0):(e[c>>2]|0?(n=j0(i)|0,y[n>>0]=1,i=e[w>>2]|0):n=0,e[t+40>>2]=n,i=BD(i,v,0,t+20|0)|0,r0(n)),rm0(p,e[w>>2]|0,v,i,r,t),r0(i),n=U0(p)|0;n;)o=e[n+16>>2]|0,i=e[o+212>>2]|0,i?(w=e[o+132>>2]|0,L=+u[o+32>>3],_=+u[w>>3]-L*.5,z=e[(e[i+16>>2]|0)+140>>2]|0,u[z+8>>3]=_,B=+u[o+40>>3],x=+u[w+8>>3]-B*.5,u[z+16>>3]=x,u[z+24>>3]=L+_,u[z+32>>3]=B+x):(i=e[(e[o+112>>2]|0)+8>>2]|0,i|0&&(w=e[o+132>>2]|0,z=e[(e[i+16>>2]|0)+132>>2]|0,u[z>>3]=+u[w>>3],u[z+8>>3]=+u[w+8>>3])),n=X0(p,n)|0;z=(e[(e[r+16>>2]|0)+140>>2]|0)+8|0,w=(e[(e[p+16>>2]|0)+140>>2]|0)+8|0,e[z>>2]=e[w>>2],e[z+4>>2]=e[w+4>>2],e[z+8>>2]=e[w+8>>2],e[z+12>>2]=e[w+12>>2],e[z+16>>2]=e[w+16>>2],e[z+20>>2]=e[w+20>>2],e[z+24>>2]=e[w+24>>2],e[z+28>>2]=e[w+28>>2],tm0(p,v),r0(v),g=E}function K50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(t=U0(r)|0;t;)i=e[t+16>>2]|0,y[i+118>>0]|0&&(A=e[(e[(e[i+212>>2]|0)+16>>2]|0)+140>>2]|0,s=+u[A+24>>3]-+u[A+8>>3],l=+u[A+32>>3]-+u[A+16>>3],o=s*36,n=l*36,A=e[i+132>>2]|0,u[A>>3]=s*.5,u[A+8>>3]=l*.5,u[i+32>>3]=s,u[i+40>>3]=l,u[i+96>>3]=o,u[i+88>>3]=o,u[i+80>>3]=l*72,i=e[(e[i+12>>2]|0)+44>>2]|0,u[i>>3]=o,u[i+8>>3]=n,l=-o,u[i+16>>3]=l,u[i+24>>3]=n,u[i+32>>3]=l,n=-n,u[i+40>>3]=n,u[i+48>>3]=o,u[i+56>>3]=n),t=X0(r,t)|0}function zT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;s=r+16|0,A=e[(e[s>>2]|0)+140>>2]|0,o=+u[A+8>>3],l=+u[A+16>>3],A=(r|0)!=(t|0);e:do if(A)for(i=U0(r)|0;;){if(!i){r=1;break e}n=e[i+16>>2]|0,(e[n+212>>2]|0)==(r|0)&&(n=e[n+132>>2]|0,u[n>>3]=+u[n>>3]+o,n=n+8|0,u[n>>3]=+u[n>>3]+l),i=X0(r,i)|0}else r=1;while(0);for(;i=e[s>>2]|0,!((r|0)>(e[i+180>>2]|0));)i=e[(e[i+184>>2]|0)+(r<<2)>>2]|0,A&&(n=e[(e[i+16>>2]|0)+140>>2]|0,m=n+8|0,p=n+16|0,c=n+24|0,n=n+32|0,v=+u[p>>3]+l,w=+u[c>>3]+o,a=+u[n>>3]+l,u[m>>3]=+u[m>>3]+o,u[p>>3]=v,u[c>>3]=w,u[n>>3]=a),zT(i,t),r=r+1|0}function LT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(t=r+16|0,r=e[t>>2]|0,i=e[r+140>>2]|0,l=+u[i+16>>3]*72,o=+u[i+24>>3]*72,n=+u[i+32>>3]*72,u[r+16>>3]=+u[i+8>>3]*72,u[r+24>>3]=l,u[r+32>>3]=o,u[r+40>>3]=n,r=1;i=e[t>>2]|0,!((r|0)>(e[i+180>>2]|0));)LT(e[(e[i+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0}function b50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(L=g,g=g+160|0,m=L+24|0,E=L+8|0,n=L,i=L+56|0,z=t+16|0,_=e[z>>2]|0,e[z>>2]=_+1,e[m>>2]=_,Ke(i,90796,m)|0,y[m>>0]=y[18588]|0,y[m+1>>0]=y[18589]|0,y[m+2>>0]=y[18590]|0,y[m+3>>0]=y[18591]|0,_=w1(91156,m,0)|0,$e(_,137483,280,1)|0,x=j0(56)|0,z=_+16|0,c=e[z>>2]|0,e[c+140>>2]=x,x=r+16|0,$[c+176>>1]=$[(e[x>>2]|0)+176>>1]|0,qC(r,_,92507),qC(r,_,93112),qC(r,_,91202),c=t+4|0,w=m+16|0,p=m+8|0,v=m+24|0,l=0,a=1;i=e[x>>2]|0,!((a|0)>(e[i+180>>2]|0));){for(e[m>>2]=e[332],e[m+4>>2]=e[333],e[m+8>>2]=e[334],e[m+12>>2]=e[335],e[m+16>>2]=e[336],e[m+20>>2]=e[337],e[m+24>>2]=e[338],e[m+28>>2]=e[339],n=e[(e[i+184>>2]|0)+(a<<2)>>2]|0,Zh(n),o=$C(_,te(n)|0)|0,s=o+16|0,i=e[s>>2]|0,e[i+212>>2]=n,A=l+1|0,e[i+120>>2]=l,e[c>>2]|0&&sm0(n,o,t,m),i=U0(n)|0;i;)e[(e[i+16>>2]|0)+164>>2]=o,i=X0(n,i)|0;i=e[s>>2]|0,y[i+119>>0]|0&&(s=e[i+132>>2]|0,u[s>>3]=(+u[w>>3]+ +u[m>>3])*.5,u[s+8>>3]=(+u[v>>3]+ +u[p>>3])*.5),l=A,a=a+1|0}for(s=U0(r)|0;s;){if(i=s+16|0,n=e[i>>2]|0,e[n+164>>2]|0)i=l;else{if(o=n+212|0,m=e[o>>2]|0,m|0&&(m|0)!=(e[(e[(e[x>>2]|0)+140>>2]|0)+48>>2]|0)){B=18;break}e[o>>2]=r,y[n+118>>0]|0?i=l:(o=$C(_,te(s)|0)|0,n=e[i>>2]|0,e[n+164>>2]=o,o=e[o+16>>2]|0,e[o+120>>2]=l,u[o+32>>3]=+u[n+32>>3],u[o+40>>3]=+u[n+40>>3],u[o+88>>3]=+u[n+88>>3],u[o+96>>3]=+u[n+96>>3],u[o+80>>3]=+u[n+80>>3],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],i=y[n+119>>0]|0,i<<24>>24&&(t=e[n+132>>2]|0,m=e[o+132>>2]|0,u[m>>3]=+u[t>>3],u[m+8>>3]=+u[t+8>>3],y[o+119>>0]=i),e[(e[o+112>>2]|0)+8>>2]=s,i=l+1|0)}s=X0(r,s)|0,l=i}for((B|0)==18&&(t=te(s)|0,m=te(r)|0,B=te(e[(e[i>>2]|0)+212>>2]|0)|0,e[E>>2]=t,e[E+4>>2]=m,e[E+8>>2]=B,$0(1,90826,E)|0,ie(187212,1)),A=U0(r)|0;A;){for(a=e[(e[A+16>>2]|0)+164>>2]|0,c=a+16|0,o=Me(r,A)|0;o;)i=e[(e[(e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+164>>2]|0,(i|0)!=(a|0)&&(i>>>0>a>>>0?s=rr(_,a,i,0,1)|0:s=rr(_,i,a,0,1)|0,$e(s,137460,176,1)|0,n=e[o+16>>2]|0,B=e[s+16>>2]|0,u[B+136>>3]=+u[n+136>>3],u[B+128>>3]=+u[n+128>>3],i=e[(e[i+16>>2]|0)+112>>2]|0,n=i+4|0,e[n>>2]=(e[n>>2]|0)+1,n=e[(e[c>>2]|0)+112>>2]|0,E=n+4|0,e[E>>2]=(e[E>>2]|0)+1,e[B+172>>2]|0||(e[i>>2]=(e[i>>2]|0)+1,e[n>>2]=(e[n>>2]|0)+1),GT(s,o)),o=Qe(r,o)|0;A=X0(r,A)|0}if(i=e[(e[x>>2]|0)+140>>2]|0,n=e[i>>2]|0,n|0){for(o=j0((e[i+4>>2]<<4)+16|0)|0,e[e[(e[z>>2]|0)+140>>2]>>2]=o,i=0;e[n>>2]|0;)A=e[(e[(e[n+4>>2]|0)+16>>2]|0)+164>>2]|0,A&&(Am0(r,n),a=$C(_,193772)|0,c=a+16|0,e[(e[c>>2]|0)+120>>2]=l,a>>>0>A>>>0?s=rr(_,A,a,0,1)|0:s=rr(_,a,A,0,1)|0,$e(s,137460,176,1)|0,B=e[n>>2]|0,E=e[B+16>>2]|0,x=e[s+16>>2]|0,u[x+136>>3]=+u[E+136>>3],u[x+128>>3]=+u[E+128>>3],GT(s,B),B=e[(e[c>>2]|0)+112>>2]|0,x=B+4|0,e[x>>2]=(e[x>>2]|0)+1,x=e[(e[A+16>>2]|0)+112>>2]|0,E=x+4|0,e[E>>2]=(e[E>>2]|0)+1,e[B>>2]=(e[B>>2]|0)+1,e[x>>2]=(e[x>>2]|0)+1,e[o+4>>2]=a,u[o+8>>3]=+u[n+8>>3],e[o>>2]=s,i=i+1|0,o=o+16|0,l=l+1|0),n=n+16|0;e[(e[(e[z>>2]|0)+140>>2]|0)+4>>2]=i}return g=L,_|0}function em0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=e[r+16>>2]|0,a=e[c+212>>2]|0,c=e[(e[c+112>>2]|0)+4>>2]|0;do if(c|0){for(A=j0((c<<4)+16|0)|0,o=nm0(r,t)|0,l=o+8|0,t=0,n=o;e[n>>2]|0;)s=n+24|0,e[s>>2]|0?i=+u[n+32>>3]:i=+u[l>>3]+6.283185307179586,t=om0(r,n,A,t,i)|0,n=s;if((t|0)==(c|0)){r=e[(e[a+16>>2]|0)+140>>2]|0,e[r>>2]=A,e[r+4>>2]=c,r0(o);break}else H0(90742,90752,766,90761)}while(0);return a|0}function rm0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0;D=g,g=g+32|0,G=D+16|0,T=D,c=e[l+8>>2]|0,A=e[l+12>>2]|0,W=(e[l>>2]|0)==(o|0),N=(t|0)!=0;e:do if(N)if(v=e[(e[i>>2]|0)+16>>2]|0,a=+u[v+16>>3],c=~~(a+(a>=0?.5:-.5)),e[T>>2]=c,a=+u[v+24>>3],l=~~(a+(a>=0?.5:-.5)),z=T+4|0,e[z>>2]=l,a=+u[v+32>>3],w=~~(a+(a>=0?.5:-.5)),_=T+8|0,e[_>>2]=w,a=+u[v+40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p,t=~~(+u[l+88>>3]+ +(A+v|0)+ +(B|0)),e[T+12>>2]=t;e:do if(N){l=n;r:for(;;){if(w=i+4|0,A=e[i>>2]|0,!A)break e;for(l?(c=l+8|0,i=(e[l>>2]|0)+m|0,l=(e[l+4>>2]|0)+v|0):(c=0,i=m,l=v),a=+(i|0)*.013888888888888888,s=+(l|0)*.013888888888888888,i=U0(A)|0;;){if(!i){i=w,l=c;continue r}F=e[(e[i+16>>2]|0)+132>>2]|0,u[F>>3]=+u[F>>3]+a,F=F+8|0,u[F>>3]=+u[F>>3]+s,i=X0(A,i)|0}}}while(0);F=e[(e[r+16>>2]|0)+140>>2]|0,J=F+8|0,e[J>>2]=0,e[J+4>>2]=0,e[J+8>>2]=0,e[J+12>>2]=0,u[F+24>>3]=+(p|0)*.013888888888888888,u[F+32>>3]=+(t|0)*.013888888888888888,g=D}function tm0(r,t){r=r|0,t=t|0;for(var i=0,n=0;i=e[t>>2]|0,!!i;)RT(i),An(i,137483)|0,t=t+4|0;for(t=e[e[(e[r+16>>2]|0)+140>>2]>>2]|0,t|0&&r0(t),RT(r),An(r,137483)|0,i=U0(r)|0;i;){for(n=X0(r,i)|0,t=Me(r,i)|0;t;)r0(e[(e[t+16>>2]|0)+172>>2]|0),An(t,137460)|0,t=Qe(r,t)|0;im0(i),i=n}Di(r)|0}function RT(r){r=r|0,r0(e[(e[r+16>>2]|0)+140>>2]|0)}function im0(r){r=r|0;var t=0;t=r+16|0,r0(e[(e[t>>2]|0)+112>>2]|0),r0(e[(e[t>>2]|0)+132>>2]|0),An(r,137447)|0}function nm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(a=r+16|0,c=e[e[(e[a>>2]|0)+112>>2]>>2]|0,w=j0((c*24|0)+24|0)|0,s=0,A=Jr(t,r)|0;A;)o=e[A>>2]&3,n=e[((o|0)==2?A:A+-48|0)+40>>2]|0,(n|0)==(r|0)&&(n=e[((o|0)==3?A:A+48|0)+40>>2]|0),n=e[(e[n+16>>2]|0)+132>>2]|0,o=e[(e[a>>2]|0)+132>>2]|0,l=+u[n>>3]-+u[o>>3],i=+u[n+8>>3]-+u[o+8>>3],e[w+(s*24|0)>>2]=A,u[w+(s*24|0)+8>>3]=+I2(+i,+l),u[w+(s*24|0)+16>>3]=i*i+l*l,s=s+1|0,A=ot(t,A,r)|0;(s|0)!=(c|0)&&H0(90775,90752,642,90784),ei(w,c,24,67);e:do if((c|0)>1){A=c+-1|0,n=0;r:for(;;){if((n|0)>=(A|0))break e;for(l=+u[w+(n*24|0)+8>>3],o=n+1|0,s=o;!((s|0)>=(c|0)||+u[w+(s*24|0)+8>>3]!=l);)s=s+1|0;if((s|0)==(o|0)){n=o;continue}for((s|0)==(c|0)?i=3.141592653589793:i=+u[w+(s*24|0)+8>>3],i=(i-l)/+(s-n|0),i=i>.03490658503988659?.03490658503988659:i,l=0;;){if((n|0)>=(s|0))continue r;a=w+(n*24|0)+8|0,u[a>>3]=+u[a>>3]+l,l=l+i,n=n+1|0}}}while(0);return w|0}function om0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=+o;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(A=e[t>>2]|0,w=e[A+16>>2]|0,c=$[w+168>>1]|0,p=c<<16>>16,s=e[A>>2]&3,l=e[((s|0)==2?A:A+-48|0)+40>>2]|0,(l|0)==(r|0)&&(l=e[((s|0)==3?A:A+48|0)+40>>2]|0),v=+u[t+8>>3],o=(o-v)/+(c<<16>>16),o=o>.03490658503988659?.03490658503988659:o,c=l>>>0>r>>>0,a=c?o:-o,t=c?1:-1,A=0,l=e[w+172>>2]|0,s=c?n:n+-1+p|0,o=c?v:o*+(p+-1|0)+v;!((A|0)>=(p|0));)w=e[l>>2]|0,e[i+(s<<4)>>2]=w,c=e[w>>2]&3,m=(c|0)==3?w:w+48|0,e[i+(s<<4)+4>>2]=e[((e[(e[(e[m+40>>2]|0)+16>>2]|0)+164>>2]|0)==(r|0)?m:(c|0)==2?w:w+-48|0)+40>>2],u[i+(s<<4)+8>>3]=o,A=A+1|0,l=l+4|0,s=s+t|0,o=o+a;return p+n|0}function lm0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r+8>>3],n=+u[t+8>>3],i>n?r=1:i>3],i=+u[t+16>>3],n>i?r=1:r=(n>31),r|0}function qC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=re(r,0,i,0)|0;do if(n|0)if(r=k2(r,n)|0,n=re(t,0,i,0)|0,n){Er(t,n,r)|0;break}else{re(t,0,i,r)|0;break}while(0)}function $C(r,t){r=r|0,t=t|0;var i=0,n=0;return t=ht(r,t,1)|0,$e(t,137447,304,1)|0,n=j0(32)|0,i=t+16|0,e[(e[i>>2]|0)+112>>2]=n,r=_0((M0[(e[r+16>>2]|0)+176>>1]|0)<<3)|0,e[(e[i>>2]|0)+132>>2]=r,t|0}function sm0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+80|0,c=v+56|0,a=v+32|0,p=v,w=v+64|0,l=e[i+4>>2]|0,A=k2(r,l)|0;do if(y[A>>0]|0){if((e[i>>2]|0)!=(r|0)&&(i=k2(D1(r)|0,l)|0,(i|0)==(A|0)||!(ge(A,i)|0)))break;if(y[w>>0]=0,i=p+8|0,l=p+16|0,s=p+24|0,e[a>>2]=p,e[a+4>>2]=i,e[a+8>>2]=l,e[a+12>>2]=s,e[a+16>>2]=w,(X2(A,90937,a)|0)<=3){e[c>>2]=te(r)|0,e[c+4>>2]=A,$0(0,90955,c)|0;break}o=+u[23293],o>0&&(u[p>>3]=+u[p>>3]/o,u[i>>3]=+u[i>>3]/o,u[l>>3]=+u[l>>3]/o,u[s>>3]=+u[s>>3]/o),i=y[w>>0]|0,i<<24>>24==33?y[(e[t+16>>2]|0)+119>>0]=3:y[(e[t+16>>2]|0)+119>>0]=i<<24>>24==63?2:1,e[n>>2]=e[p>>2],e[n+4>>2]=e[p+4>>2],e[n+8>>2]=e[p+8>>2],e[n+12>>2]=e[p+12>>2],e[n+16>>2]=e[p+16>>2],e[n+20>>2]=e[p+20>>2],e[n+24>>2]=e[p+24>>2],e[n+28>>2]=e[p+28>>2]}while(0);g=v}function GT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+16|0,n=e[o>>2]|0,r=$[n+168>>1]|0,n=e[n+172>>2]|0,n?(r=r<<16>>16,i=r,r=Oe(n,(r<<2)+4|0)|0):(r=r<<16>>16,i=r,r=_0((r<<2)+4|0)|0),e[r+(i<<2)>>2]=t,t=e[o>>2]|0,e[t+172>>2]=r,t=t+168|0,$[t>>1]=($[t>>1]|0)+1<<16>>16}function Am0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;A=g,g=g+48|0,s=A+24|0,l=A,n=e[t>>2]|0,i=e[n>>2]&3,o=e[((i|0)==2?n:n+-48|0)+40>>2]|0,i=e[((i|0)==3?n:n+48|0)+40>>2]|0,t=d2(te(r)|0)|0,a=d2(te(o)|0)|0,a=(t+8+a+(d2(te(i)|0)|0)|0)>999,t=te(r)|0,a?(i=te(i)|0,a=te(o)|0,s=(e[n>>2]|0)>>>4,e[l>>2]=t,e[l+4>>2]=i,e[l+8>>2]=a,a=l+16|0,e[a>>2]=s,e[a+4>>2]=0,Ke(193772,90895,l)|0):(i=e[(e[i+16>>2]|0)+120>>2]|0,a=e[(e[o+16>>2]|0)+120>>2]|0,l=(e[n>>2]|0)>>>4,e[s>>2]=t,e[s+4>>2]=i,e[s+8>>2]=a,a=s+16|0,e[a>>2]=l,e[a+4>>2]=0,Ke(193772,90914,s)|0),g=A}function um0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=4,l=Te(40)|0,e[l>>2]=0,o=+u[23293],v0=0,n=+_r0(1,r|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)!=1?(u[23293]=n,v0=0,Tr(102,r|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)!=1?(l=il(187212,1,l|0,s|0)|0,s=b,v0=0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(t=se(e[i>>2]|0,l|0,s|0)|0,t||ie(i|0,g0|0),b=g0):t=-1,(t|0)!=1?t=0:t=b):t=b):t=b;!(t|0);){if(v0=0,Tr(103,r|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1){t=b;continue}if(v0=0,gt(22,r|0)|0,t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1){t=b;continue}if($[(e[r+16>>2]|0)+136>>1]&14&&(v0=0,Tr(104,r|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1)){t=b;continue}if(v0=0,On(22,r|0,0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1)t=b;else{A=12;break}}(A|0)==12&&(u[23293]=o),r0(l|0)}function fm0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=g,g=g+16|0,o=s,i=r+16|0,n=$[(e[i>>2]|0)+136>>1]&14,t=n&65535,(n&65535)>8){n<<16>>16==12?oT(r,22,10)|0&&(e[47134]=2,l=5):l=5;do if((l|0)==5)if($[(e[i>>2]|0)+136>>1]&1){$0(0,90998,o)|0,t=2;break}else{Qp(r,t)|0;break}while(0);e[47134]=0}(e[47138]|0)<1&&Qp(r,t)|0,g=s}function am0(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,e[46474]=1,e[46475]=1,e[46477]=-1,e[46479]=50,u[23245]=0,u[23240]=0,u[23241]=1,e[46478]=pr(r,re(r,0,91061,0)|0,600,0)|0,i=+sr(r,re(r,0,91202,0)|0,.3,0),u[23242]=i,u[1371]=i,t=+sr(r,re(r,0,91069,0)|0,-1,0),u[23243]=t,e[46476]=1,r=jC(r,2,185904)|0,e[46488]=r,r||($0(0,91072,n)|0,e[46476]=2),e[46504]=(N0(e[46478]|0,e[46479]|0)|0)/100|0,i=+u[23242],u[23247]=i*i,e[46474]|0&&(t=+u[23245],t<=0&&(t=i*3,u[23245]=t),u[23246]=t*t),g=n}function cm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,i=A,l=e[e[(e[r+16>>2]|0)+140>>2]>>2]|0,s=hm0(r,t)|0,wm0(i,r,l),n=+u[i>>3],o=+u[i+8>>3];e:do if(e[46474]|0){for(i=M90(v2(r)|0)|0,T90(i,v2(r)|0),t=0;!((t|0)>=(e[46505]|0));)dm0(r,+KC(t),l,i),t=t+1|0;P90(i)}else for(t=0;;){if((t|0)>=(e[46505]|0))break e;pm0(r,+KC(t),l),t=t+1|0}while(0);e:do if(n!=0|o!=0)for(t=U0(r)|0;;){if(!t)break e;l=e[(e[t+16>>2]|0)+132>>2]|0,u[l>>3]=+u[l>>3]+n,l=l+8|0,u[l>>3]=+u[l>>3]+o,t=X0(r,t)|0}while(0);s|0&&km0(),g=A}function hm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;+u[23243]==-1?(s=v2(r)|0,i=+u[23242],u[23243]=+u[23241]*.2*i*+G0(+ +(s|0)),s=1):(s=0,i=+u[23242]),l=e[46504]|0,u[t+8>>3]=+KC(l),u[t+16>>3]=i,u[t+24>>3]=+u[23240],n=e[46478]|0,r=n-l|0,e[t>>2]=r,o=e[46477]|0;do if((o|0)>-1){if((o|0)<=(l|0)){e[46505]=o,r=0,A=10;break}(o|0)<=(n|0)&&(e[46505]=l,r=o-l|0,A=10)}else e[46505]=l,A=10;while(0);return(A|0)==10&&(e[t+32>>2]=r),s|0}function wm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;for(_=v2(t)|0,G=e[(e[(e[t+16>>2]|0)+140>>2]|0)+4>>2]|0,z=U0(t)|0,m=0,E=0,o=0,A=0,w=0;z;)n=e[z+16>>2]|0,y[n+119>>0]|0?(n=e[n+132>>2]|0,l=+u[n>>3],m?(v=+(E|0),B=+u[n+8>>3],x=+(o|0),L=+(A|0),p=+(w|0),w=~~(B>p?B:p),n=~~(lL?l:L)):(A=~~l,o=~~+u[n+8>>3],w=o,n=A),m=m+1|0):n=E,z=X0(t,z)|0,E=n;if(l=+u[23242]*(+G0(+ +(_-G|0))+1),B=l*.6,u[23249]=B,u[23248]=B,(m|0)!=1)if((m|0)>1){x=+(A+E|0)*.5,L=+(w+o|0)*.5,p=+(A-E|0),v=p*1.2,a=+(w-o|0),c=a*1.2,l=l*2.4*B,s=c*v/l;do if(s>=1)s=p*.6,u[23248]=s,l=a*.6,N=20;else{if(s>0){l=+G0(+s)*2,s=v/l,u[23248]=s,l=c/l,N=20;break}if(v>0){s=p*.6,u[23248]=s,l=l/v*.5,N=20;break}c>0?(s=l/c*.5,u[23248]=s,l=a*.6,N=20):(l=B,s=B)}while(0);(N|0)==20&&(u[23249]=l),B=+I2(+l,+s),s=s/+ee(+B),u[23248]=s,l=l/+le(+B),u[23249]=l}else x=0,L=0,s=B,l=B;else x=+(E|0),L=+(o|0),s=B,l=B;u[23250]=s*s,u[23251]=l*l,(e[46488]|0)==2?n=e[46476]|0:(n=jE()|0,n=(dR(0)|0)^n),NE(n);e:do if(i){for(;e[i>>2]|0;)z=i+8|0,B=+ee(+ +u[z>>3])*+u[23248]+x,G=e[(e[i+4>>2]|0)+16>>2]|0,_=e[G+132>>2]|0,u[_>>3]=B,u[_+8>>3]=+le(+ +u[z>>3])*+u[23249]+L,y[G+119>>0]=1,i=i+16|0;for(a=x*.1,c=L*.1,E=U0(t)|0;;){if(!E)break e;m=E+16|0,i=e[m>>2]|0,!(e[(e[i+112>>2]|0)+8>>2]|0)&&!(e[i+212>>2]|0)||(N=32);do if((N|0)==32){if(N=0,y[i+119>>0]|0){G=e[i+132>>2]|0,u[G>>3]=+u[G>>3]-x,G=G+8|0,u[G>>3]=+u[G>>3]-L;break}for(w=Jr(t,E)|0,i=0,s=0,l=0;w;){A=e[w>>2]&3,n=(A|0)==2?w:w+-48|0,o=e[n+40>>2]|0,A=(A|0)==3?w:w+48|0;do if((o|0)!=(e[A+40>>2]|0)&&(W=e[(e[((o|0)==(E|0)?A:n)+40>>2]|0)+16>>2]|0,(y[W+119>>0]|0)!=0))if(i){v=+(i|0),G=e[W+132>>2]|0,i=i+1|0,B=+(i|0),s=(+u[G>>3]+s*v)/B,l=(+u[G+8>>3]+l*v)/B;break}else{G=e[W+132>>2]|0,i=1,s=+u[G>>3],l=+u[G+8>>3];break}while(0);w=ot(t,w,E)|0}do if((i|0)<=1)if((i|0)==1){n=e[m>>2]|0,i=e[n+132>>2]|0,u[i>>3]=s*.98+a,l=l*.9+c;break}else{l=+Rn()*6.283185307179586,B=+Rn()*.9,v=B*+u[23248]*+ee(+l),n=e[m>>2]|0,i=e[n+132>>2]|0,u[i>>3]=v,l=+u[23249]*B*+le(+l);break}else n=e[m>>2]|0,i=e[n+132>>2]|0,u[i>>3]=s;while(0);u[i+8>>3]=l,y[n+119>>0]=1}while(0);E=X0(t,E)|0}}else{if(i=U0(t)|0,!m)for(;;){if(!i)break e;B=+u[23248],B=(+Rn()*2+-1)*B,N=i+16|0,u[e[(e[N>>2]|0)+132>>2]>>3]=B,B=+u[23249],B=(+Rn()*2+-1)*B,u[(e[(e[N>>2]|0)+132>>2]|0)+8>>3]=B,i=X0(t,i)|0}for(;;){if(!i)break e;n=i+16|0,o=e[n>>2]|0,y[o+119>>0]|0?(N=e[o+132>>2]|0,u[N>>3]=+u[N>>3]-x,N=N+8|0,u[N>>3]=+u[N>>3]-L):(B=+u[23248],B=(+Rn()*2+-1)*B,u[e[(e[n>>2]|0)+132>>2]>>3]=B,B=+u[23249],B=(+Rn()*2+-1)*B,u[(e[(e[n>>2]|0)+132>>2]|0)+8>>3]=B),i=X0(t,i)|0}}while(0);u[r>>3]=x,u[r+8>>3]=L}function KC(r){r=r|0;var t=0;return t=e[46478]|0,+(+u[23243]*+(t-r|0)/+(t|0))}function dm0(r,t,i,n){r=r|0,t=+t,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(!(t<=0)){for(F90(n),o=U0(r)|0;o;)s=e[o+16>>2]|0,l=(e[s+112>>2]|0)+16|0,e[l>>2]=0,e[l+4>>2]=0,e[l+8>>2]=0,e[l+12>>2]=0,s=e[s+132>>2]|0,A=+u[23245],l=~~+S0(+(+u[s>>3]/A)),O90(n,l,~~+S0(+(+u[s+8>>3]/A)),o),o=X0(r,o)|0;for(l=U0(r)|0;l;){for(o=Me(r,l)|0;o;)s=e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0,(l|0)!=(s|0)&&WT(l,s,o),o=Qe(r,o)|0;l=X0(r,l)|0}H90(n,23),DT(r,t,i)}}function pm0(r,t,i){r=r|0,t=+t,i=i|0;var n=0,o=0,l=0;if(!(t<=0)){for(n=U0(r)|0;n;)l=(e[(e[n+16>>2]|0)+112>>2]|0)+16|0,e[l>>2]=0,e[l+4>>2]=0,e[l+8>>2]=0,e[l+12>>2]=0,n=X0(r,n)|0;for(l=U0(r)|0;l;){n=l;for(;n=X0(r,n)|0,!!n;)ZT(l,n);for(n=Me(r,l)|0;n;)o=e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,(l|0)!=(o|0)&&WT(l,o,n),n=Qe(r,n)|0;l=X0(r,l)|0}DT(r,t,i)}}function km0(){u[23243]=-1}function ZT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=e[(e[t+16>>2]|0)+132>>2]|0,o=e[(e[r+16>>2]|0)+132>>2]|0,i=+u[l>>3]-+u[o>>3],n=+u[l+8>>3]-+u[o+8>>3],MT(r,t,i,n,n*n+i*i)}function WT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;for(A=t+16|0,a=e[(e[A>>2]|0)+132>>2]|0,r=r+16|0,t=e[(e[r>>2]|0)+132>>2]|0,n=+u[a>>3]-+u[t>>3],o=+u[a+8>>3]-+u[t+8>>3],l=n,s=o,n=n*n,o=o*o;n=n+o,n==0;)n=+(5-((ri()|0)%10|0)|0),o=+(5-((ri()|0)%10|0)|0),l=n,s=o,n=n*n,o=o*o;o=+G0(+n),t=e[i+16>>2]|0,n=+u[t+128>>3],e[46475]|0?n=(o-+u[t+136>>3])*n/o:n=n*o/+u[t+136>>3],l=n*l,a=e[(e[A>>2]|0)+112>>2]|0,A=a+16|0,u[A>>3]=+u[A>>3]-l,s=n*s,a=a+24|0,u[a>>3]=+u[a>>3]-s,a=e[(e[r>>2]|0)+112>>2]|0,A=a+16|0,u[A>>3]=+u[A>>3]+l,a=a+24|0,u[a>>3]=+u[a>>3]+s}function DT(r,t,i){r=r|0,t=+t,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(p=t*t,w=(i|0)==0,c=U0(r)|0;c;){if(a=e[c+16>>2]|0,!(y[a+119>>0]&2)){A=e[a+112>>2]|0,n=+u[A+16>>3],l=+u[A+24>>3],o=l*l+n*n,o>2]|0,s=+u[i>>3]+n,n=+u[i+8>>3]+l):(o=t/+G0(+o),i=e[a+132>>2]|0,s=+u[i>>3]+o*n,n=+u[i+8>>3]+o*l);do if(w)u[i>>3]=s;else{if(o=+G0(+(n*n/+u[23251]+s*s/+u[23250])),!(e[A+8>>2]|0)&&!(e[a+212>>2]|0)){u[i>>3]=s/o,n=n/o;break}if(o>=1){u[i>>3]=s*.95/o,n=n*.95/o;break}else{u[i>>3]=s;break}}while(0);u[i+8>>3]=n}c=X0(r,c)|0}}function MT(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=+n,o=+o;var l=0,s=0,A=0;for(l=i,i=o;i==0;)i=+(5-((ri()|0)%10|0)|0),n=+(5-((ri()|0)%10|0)|0),l=i,i=n*n+i*i;e[46475]|0?(o=+G0(+i),i=+u[23247]/(o*i)):i=+u[23247]/i,A=e[r+16>>2]|0,r=e[A+112>>2]|0,!(e[r+8>>2]|0)&&!(e[A+212>>2]|0)&&(s=e[t+16>>2]|0,(e[(e[s+112>>2]|0)+8>>2]|0)==0)&&(i=e[s+212>>2]|0?i:i*10),o=i*l,A=e[(e[t+16>>2]|0)+112>>2]|0,t=A+16|0,u[t>>3]=+u[t>>3]+o,l=i*n,A=A+24|0,u[A>>3]=+u[A>>3]+l,A=r+16|0,u[A>>3]=+u[A>>3]-o,A=r+24|0,u[A>>3]=+u[A>>3]-l}function vm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(o=e[t+8>>2]|0,l=e[t>>2]|0,n=e[t+4>>2]|0,t=o;t;){for(r=o;r;)(t|0)!=(r|0)&&ZT(e[t>>2]|0,e[r>>2]|0),r=e[r+4>>2]|0;t=e[t+4>>2]|0}return s=l+-1|0,r=n+-1|0,OA(i,s,r,o),OA(i,s,n,o),t=n+1|0,OA(i,s,t,o),OA(i,l,r,o),OA(i,l,t,o),l=l+1|0,OA(i,l,r,o),OA(i,l,n,o),OA(i,l,t,o),0}function OA(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;if(r=J90(r,t,i)|0,(n|0)!=0&(r|0)!=0){a=r+8|0;do{for(i=e[n>>2]|0,A=i+16|0,r=a;r=e[r>>2]|0,!!r;)t=e[r>>2]|0,w=e[(e[t+16>>2]|0)+132>>2]|0,c=e[(e[A>>2]|0)+132>>2]|0,o=+u[w>>3]-+u[c>>3],l=+u[w+8>>3]-+u[c+8>>3],s=l*l+o*o,s<+u[23246]&&MT(i,t,o,l,s),r=r+4|0;n=e[n+4>>2]|0}while(n|0)}}function mm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+16|0,o=l,i=he(r,92507)|0,i|0&&y[i>>0]|0||(i=91125),n=Zr(i,58)|0;do if(!n)n=0;else{if((n|0)!=(i|0)&&((y[i>>0]|0)+-48|0)>>>0>=10){n=0;break}s=F1(i)|0,i=n+1|0,n=(s|0)>0?s:0}while(0);n|0&&!(gm0(r,t,n)|0)||rF(r,i)|0,g=l}function gm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+64|0,v=E,l=E+40|0,m=v2(r)|0,s=ys(r)|0,zc(l,r),e[46842]=e[l>>2],e[46843]=e[l+4>>2],e[46844]=e[l+8>>2],y[187376]|0&&(x0[46842]=+x0[46842]*.013888888888888888,x0[46843]=+x0[46843]*.013888888888888888),n=ym0(r)|0;e:do if(!n)n=0;else{l=v,o=l+40|0;do e[l>>2]=e[t>>2],l=l+4|0,t=t+4|0;while((l|0)<(o|0));for(l=v+16|0,p=+u[l>>3],c=+(s|0)*2,w=1/+(N0(m+-1|0,m)|0),o=0,a=p;;){if(!((n|0)!=0&(o|0)<(i|0)))break e;for(Cm0(m,v),A=+u[23253]*+u[170],u[23254]=A,u[23255]=c*A*w,t=0;!((t|0)>=(e[46512]|0)||(A=+Em0(t),A<=0));)if(n=Bm0(r,A)|0,n)t=t+1|0;else{n=0;break}A=a+p,u[l>>3]=A,o=o+1|0,a=A}}while(0);return g=E,n|0}function ym0(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=0,o=U0(r)|0;o;){n=o;for(;i=X0(r,n)|0,!!i;)n=i,t=(bC(o,i)|0)+t|0;o=X0(r,o)|0}return t|0}function Cm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=+u[t+16>>3],u[171]=n,e[344]=e[t>>2],o=+u[t+8>>3],u[23257]=o,e[46512]=e[t+32>>2],i=+u[t+24>>3],i>0&&(u[170]=i),u[23253]=n*n,o==0&&(u[23257]=+G0(+ +(r|0))*.2*n)}function Em0(r){r=r|0;var t=0;return t=e[344]|0,+(+u[23257]*+(t-r|0)/+(t|0))}function Bm0(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(i=U0(r)|0;i;)s=(e[(e[i+16>>2]|0)+112>>2]|0)+16|0,e[s>>2]=0,e[s+4>>2]=0,e[s+8>>2]=0,e[s+12>>2]=0,i=X0(r,i)|0;for(i=0,s=U0(r)|0;s;){o=s;for(;n=X0(r,o)|0,!!n;)o=n,i=(Im0(s,n)|0)+i|0;for(n=Me(r,s)|0;n;)xm0(s,e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0),n=Qe(r,n)|0;s=X0(r,s)|0}e:do if(!i)i=0;else for(c=t*t,o=U0(r)|0;;){if(!o)break e;n=e[o+16>>2]|0,(y[n+119>>0]|0)!=3&&(s=e[n+112>>2]|0,A=+u[s+16>>3],l=+u[s+24>>3],a=l*l+A*A,a>2]|0,u[n>>3]=+u[n>>3]+A):(a=+G0(+a),n=e[n+132>>2]|0,u[n>>3]=+u[n>>3]+A*t/a,l=l*t/a),s=n+8|0,u[s>>3]=+u[s>>3]+l),o=X0(r,o)|0}while(0);return i|0}function Im0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=e[(e[t+16>>2]|0)+132>>2]|0,o=e[(e[r+16>>2]|0)+132>>2]|0,i=+u[l>>3]-+u[o>>3],n=+u[l+8>>3]-+u[o+8>>3],Sm0(r,t,i,n,n*n+i*i)|0}function xm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;bC(r,t)|0||(s=e[t+16>>2]|0,w=e[s+132>>2]|0,o=e[r+16>>2]|0,c=e[o+132>>2]|0,n=+u[w>>3]-+u[c>>3],i=+u[w+8>>3]-+u[c+8>>3],l=+G0(+(i*i+n*n)),A=+jT(r),A=+jT(t)+A,a=l-A,l=a*a/((+u[171]+A)*l),n=l*n,t=e[s+112>>2]|0,r=t+16|0,u[r>>3]=+u[r>>3]-n,i=l*i,t=t+24|0,u[t>>3]=+u[t>>3]-i,t=e[o+112>>2]|0,r=t+16|0,u[r>>3]=+u[r>>3]+n,t=t+24|0,u[t>>3]=+u[t>>3]+i)}function bC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;return s=e[t+16>>2]|0,A=e[s+132>>2]|0,t=e[r+16>>2]|0,r=e[t+132>>2]|0,o=+u[A>>3]-+u[r>>3],l=+u[A+8>>3]-+u[r+8>>3],l=l<0?-l:l,r=(y[187376]|0)==0,i=+u[t+32>>3],r?(n=+x0[46842],i=i*.5*n,n=+u[s+32>>3]*.5*n):(n=+x0[46842],i=i*.5+n,n=+u[s+32>>3]*.5+n),(o<0?-o:o)<=n+i?(i=+u[t+40>>3],r?(o=+x0[46843],n=i*.5*o,i=+u[s+40>>3]*.5*o):(o=+x0[46843],n=i*.5+o,i=+u[s+40>>3]*.5+o),t=l<=i+n&1):t=0,t|0}function jT(r){r=r|0;var t=0,i=0;return r=e[r+16>>2]|0,t=+u[r+32>>3],y[187376]|0?(i=t*.5+ +x0[46842],t=+u[r+40>>3]*.5+ +x0[46843]):(i=t*.5*+x0[46842],t=+u[r+40>>3]*.5*+x0[46843]),+ +G0(+(t*t+i*i))}function Sm0(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=+n,o=+o;for(var l=0,s=0;o==0;)o=+(5-((ri()|0)%10|0)|0),n=+(5-((ri()|0)%10|0)|0),i=o,o=n*n+o*o;return l=bC(r,t)|0,o=(l|0?+u[23254]:+u[23255])/o,i=o*i,t=e[(e[t+16>>2]|0)+112>>2]|0,s=t+16|0,u[s>>3]=+u[s>>3]+i,o=o*n,t=t+24|0,u[t>>3]=+u[t>>3]+o,t=e[(e[r+16>>2]|0)+112>>2]|0,r=t+16|0,u[r>>3]=+u[r>>3]-i,t=t+24|0,u[t>>3]=+u[t>>3]-o,l|0}function _m0(r){r=r|0,rl(r,2),$[(e[r+16>>2]|0)+176>>1]=2,e[47137]=2,zm0(r)}function zm0(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=j0((v2(r)|0)<<2)|0,t=j0(((v2(r)|0)<<2)+4|0)|0,o=r+16|0,e[(e[o>>2]|0)+152>>2]=t,t=U0(r)|0,i=0;t;)Yh(t),e[(e[t+16>>2]|0)+112>>2]=n+(i<<2),e[(e[(e[o>>2]|0)+152>>2]|0)+(i<<2)>>2]=t,t=X0(r,t)|0,i=i+1|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)Lm0(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function Lm0(r){r=r|0;var t=0;$e(r,137460,176,1)|0,Rf(r)|0,t=+sr(r,e[47174]|0,1,0),u[(e[r+16>>2]|0)+128>>3]=t}function Rm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(w=g,g=g+16|0,c=w+4|0,a=w,y[c>>0]=y[18596]|0,y[c+1>>0]=y[18597]|0,y[c+2>>0]=y[18598]|0,y[c+3>>0]=y[18599]|0,c=w1(91156,c,0)|0,$e(c,91164,280,1)|0,e[(e[r+16>>2]|0)+140>>2]=c,i=U0(r)|0;i;)n=i+16|0,e[e[(e[n>>2]|0)+112>>2]>>2]|0||(A=Gm0(c,te(i)|0,i)|0,e[e[(e[n>>2]|0)+112>>2]>>2]=A),i=X0(r,i)|0;for(n=U0(r)|0;n;){for(i=Me(r,n)|0;i;)l=e[i>>2]&3,o=e[e[(e[(e[((l|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+112>>2]>>2]|0,l=e[e[(e[(e[((l|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]>>2]|0,(o|0)!=(l|0)&&$e(rr(c,o,l,0,1)|0,137460,176,1)|0,i=Qe(r,i)|0;n=X0(r,n)|0}for(A=n7(c,a,0)|0,n=0;!((n|0)>=(e[a>>2]|0));){for(l=e[A+(n<<2)>>2]|0,i=U0(l)|0;i;){for(o=Me(r,e[e[(e[i+16>>2]|0)+112>>2]>>2]|0)|0;o;)s=e[e[(e[(e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]>>2]|0,(i|0)!=(s|0)&&(s=rr(c,i,s,0,1)|0,$e(s,137460,176,1)|0,gs(l,s,1)|0),o=Qe(r,o)|0;i=X0(l,i)|0}n=n+1|0}for(i=U0(c)|0;i;){for(n=Me(c,i)|0;n;)r=j0(8)|0,e[(e[n+16>>2]|0)+120>>2]=r,n=Qe(c,n)|0;i=X0(c,i)|0}return e[t>>2]=e[a>>2],g=w,A|0}function Gm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return t=ht(r,t,1)|0,$e(t,137447,304,1)|0,n=j0(40)|0,r=t+16|0,e[(e[r>>2]|0)+112>>2]=n,n=j0(e[47137]<<3)|0,r=e[r>>2]|0,e[r+132>>2]=n,n=e[i+16>>2]|0,u[r+88>>3]=+u[n+88>>3],u[r+96>>3]=+u[n+96>>3],u[r+80>>3]=+u[n+80>>3],e[e[r+112>>2]>>2]=i,t|0}function Zm0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(s=g,g=g+48|0,t=s+32|0,n=s,v2(r)|0){if(l=Rm0(r,t)|0,o=e[t>>2]|0,t=e[l>>2]|0,(o|0)==1)xZ(t,r),NT(e[l>>2]|0),Uh(r)|0;else{for(i=e[t+60>>2]|0,Ac(r,2,8,n)|0,t=0;!((t|0)>=(o|0));)A=e[l+(t<<2)>>2]|0,xZ(A,r),Uh(A)|0,t=t+1|0;for(jd(o,l,i,n)|0,t=0;!((t|0)>=(o|0));)NT(e[l+(t<<2)>>2]|0),t=t+1|0}r0(l)}g=s}function NT(r){r=r|0;var t=0,i=0,n=0;for(t=U0(r)|0;t;)i=e[t+16>>2]|0,n=e[i+132>>2]|0,i=e[(e[(e[e[i+112>>2]>>2]|0)+16>>2]|0)+132>>2]|0,u[i>>3]=+u[n>>3],u[i+8>>3]=+u[n+8>>3],t=X0(r,t)|0}function Wm0(r){r=r|0,v2(r)|0&&(_m0(r),Zm0(r),r0(e[(e[(U0(r)|0)+16>>2]|0)+112>>2]|0),FA(r),Sf(r))}function Dm0(r){r=r|0;var t=0,i=0,n=0;if(t=U0(r)|0,t|0){for(n=r+16|0,Mm0(e[(e[n>>2]|0)+140>>2]|0);t;){for(i=Me(r,t)|0;i;)NA(i),i=Qe(r,i)|0;jA(t),t=X0(r,t)|0}r0(e[(e[n>>2]|0)+152>>2]|0),(a2(r)|0)!=(r|0)&&wf(r,0,137483)}}function Mm0(r){r=r|0;var t=0,i=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)r0(e[(e[t+16>>2]|0)+120>>2]|0),t=Qe(r,t)|0;t=i+16|0,r0(e[(e[t>>2]|0)+112>>2]|0),r0(e[(e[t>>2]|0)+132>>2]|0),i=X0(r,i)|0}Di(r)|0}function jm0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;if(m=g,g=g+112|0,A=m+40|0,a=m+16|0,v=m+100|0,c=m,l=m+88|0,w=m+56|0,Nm0(r),o=(e[47137]|0)==2,t=o&1,v2(r)|0){if(p=TT()|0,Qm0(r,p),UT(r,a,0)|0,o&(e[a>>2]|0)==18?(e[p+124>>2]=e[a+8>>2],u[p+144>>3]=+u[a+16>>3],zc(l,r),y[l+8>>0]|0?(n=+x0[l+4>>2]*.013888888888888888,i=+x0[l>>2]*.013888888888888888):(n=.05555555555555555,i=.05555555555555555),u[c>>3]=i,u[c+8>>3]=n,t=0):e[p+124>>2]=-1,s=n7(r,v,0)|0,(e[v>>2]|0)==1)e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],QT(r,p,A),t|0&&_c(r,a)|0,FA(r),t=0;else{for(Ac(r,2,8,w)|0,e[w+12>>2]=1,l=(t|0)==0,o=0;t=e[v>>2]|0,!((o|0)>=(t|0));)t=e[s+(o<<2)>>2]|0,sc(t)|0,e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],QT(t,p,A),l||_c(t,a)|0,rl(t,2),FA(t),o=o+1|0;jd(t,s,r,w)|0,t=0}for(;!((t|0)>=(e[v>>2]|0));)zn(r,e[s+(t<<2)>>2]|0)|0,t=t+1|0;r0(s),FT(p)}Sf(r),g=m}function Nm0(r){r=r|0;var t=0,i=0;rl(r,2),t=pr(r,re(r,0,91368,0)|0,2,2)|0,i=(pr(r,re(r,0,91374,0)|0,t,2)|0)&65535,$[(e[(a2(r)|0)+16>>2]|0)+176>>1]=i,(M0[(e[(a2(r)|0)+16>>2]|0)+176>>1]|0)<10?i=$[(e[(a2(r)|0)+16>>2]|0)+176>>1]|0:i=10,$[(e[(a2(r)|0)+16>>2]|0)+176>>1]=i,i=i&65535,e[47137]=i,$[(e[(a2(r)|0)+16>>2]|0)+178>>1]=(t|0)<(i|0)?t:i,Ym0(r)}function Qm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=g,g=g+16|0,o=l+8|0,i=l+12|0,n=t+108|0,e[i>>2]=e[n>>2],(jC(r,2,i)|0)!=2&&$0(0,91169,l)|0,e[n>>2]=e[i>>2],u[t+24>>3]=+sr(r,re(r,0,91202,0)|0,-1,0),u[t>>3]=-+sr(r,re(r,0,91204,0)|0,1.0001234,0),e[t+40>>2]=pr(r,re(r,0,91219,0)|0,2147483647,0)|0,e[t+120>>2]=Fm0(r,re(r,0,91226,0)|0)|0,e[t+132>>2]=Pm0(r,re(r,0,91236,0)|0)|0,e[t+136>>2]=0,e[t+112>>2]=(DA(he(r,91245)|0,0)|0)&255,e[t+128>>2]=(DA(he(r,91254)|0,1)|0)&255,u[t+152>>3]=+sr(r,re(r,0,91269,0)|0,0,-17976931348623157e292),i=pr(r,re(r,0,91278,0)|0,0,0)|0,r=t+160|0,e[r>>2]=i,(i|0)>4&&(e[o>>2]=i,$0(0,91291,o)|0,e[r>>2]=0),g=l}function QT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;m=g,g=g+48|0,o=m,w=m+32|0,A=m+28|0,l=m+24|0,v=m+20|0,p=m+16|0,e[l>>2]=0,e[v>>2]=0,e[p>>2]=0,s=t+136|0,n=e[47137]|0,(e[s>>2]|0)==1?c=HT(r,n,p)|0:c=HT(r,n,0)|0;do if((e[t+124>>2]|0)>-1)if((e[t+160>>2]|0)>0){e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],a=VT(r,o,l,v)|0;break}else{e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],a=VT(r,o,0,0)|0;break}else a=0;while(0);switch(n=Tm0(r)|0,e[w>>2]=n,e[s>>2]|0){case 1:case 0:{OT(e[47137]|0,c,e[p>>2]|0,t,0,a,n,e[l>>2]|0,e[v>>2]|0,A);break}case 5:{dg0(e[47137]|0,c,n,A);break}case 4:{n=e[p>>2]|0,n?n=gk(n,0)|0:n=nh(c)|0,e[p>>2]=n,hg0(e[47137]|0,c,n,w,1,200,.001,A);break}default:}for(n=U0(r)|0;n;){for(i=e[47137]|0,l=e[n+16>>2]|0,t=(e[w>>2]|0)+((N0(e[l+120>>2]|0,i)|0)<<3)|0,l=l+132|0,o=0;!((o|0)>=(i|0));)u[(e[l>>2]|0)+(o<<3)>>3]=+u[t+(o<<3)>>3],o=o+1|0;n=X0(r,n)|0}r0(a),r0(e[w>>2]|0),U2(c),n=e[p>>2]|0,n|0&&U2(n),n=e[v>>2]|0,n|0&&r0(n),g=m}function Tm0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=e[47137]|0,s=j0(N0(s<<3,v2(r)|0)|0)|0;e:do if(re(r,1,102623,0)|0)for(n=U0(r)|0;;){if(!n)break e;t=e[n+16>>2]|0;r:do if(y[t+119>>0]|0)for(o=e[47137]|0,l=N0(o,e[t+120>>2]|0)|0,i=t+132|0,t=0;;){if((t|0)>=(o|0))break r;u[s+(l+t<<3)>>3]=+u[(e[i>>2]|0)+(t<<3)>>3],t=t+1|0}while(0);n=X0(r,n)|0}while(0);return s|0}function Fm0(r,t){r=r|0,t=t|0;do if(t){if(r=k2(r,t)|0,t=y[r>>0]|0,(t+-48|0)>>>0<10){r=F1(r)|0,r=(r|0)<5?r:0;break}zk(t)|0?De(r,91330)|0?De(r,91339)|0?De(r,135709)|0?De(r,91350)|0?(r=(De(r,91361)|0)==0,r=r?4:0):r=3:r=0:r=1:r=2:r=0}else r=0;while(0);return r|0}function Pm0(r,t){r=r|0,t=t|0;do if(t){if(r=k2(r,t)|0,t=y[r>>0]|0,(t+-48|0)>>>0<10){r=F1(r)|0,r=r>>>0<3?r:1;break}zk(t)|0?De(r,135709)|0&&De(r,137308)|0?De(r,99730)|0&&De(r,107652)|0&&De(r,107657)|0?(r=(De(r,91325)|0)==0,r=r?2:1):r=1:r=0:r=1}else r=1;while(0);return r|0}function Ym0(r){r=r|0;var t=0,i=0;for(t=U0(r)|0;t;)Yh(t),t=X0(r,t)|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)Om0(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function Om0(r){r=r|0,$e(r,137460,176,1)|0,Rf(r)|0}function Vm0(r){r=r|0;var t=0,i=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)NA(t),t=Qe(r,t)|0;jA(i),i=X0(r,i)|0}}function TT(){var r=0,t=0;return r=_0(168)|0,u[r>>3]=-1.0001234,u[r+8>>3]=1,e[r+16>>2]=1,u[r+24>>3]=-1,u[r+32>>3]=.2,e[r+40>>2]=0,e[r+44>>2]=4,e[r+48>>2]=1,e[r+52>>2]=45,e[r+56>>2]=10,u[r+64>>3]=.6,u[r+72>>3]=.001,e[r+80>>2]=500,u[r+88>>3]=.9,u[r+96>>3]=.1,e[r+104>>2]=1,e[r+108>>2]=123,t=r+112|0,e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,e[r+128>>2]=1,e[r+132>>2]=3,e[r+136>>2]=0,u[r+144>>3]=-4,u[r+152>>3]=0,e[r+160>>2]=0,r|0}function FT(r){r=r|0,r0(r)}function R2e(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;t=g,g=g+176|0,i=t+160|0,o=t+152|0,l=t+128|0,a=t+112|0,A=t+88|0,c=t+64|0,w=t+56|0,p=t+40|0,m=t+24|0,v=t+16|0,E=t,n=e[15712]|0,cn(91378,27,1,n)|0,s=+u[r+8>>3],u[E>>3]=+u[r>>3],u[E+8>>3]=s,A2(n,91406,E)|0,E=e[r+108>>2]|0,e[v>>2]=e[r+16>>2],e[v+4>>2]=E,A2(n,91457,v)|0,s=+u[r+32>>3],u[m>>3]=+u[r+24>>3],u[m+8>>3]=s,A2(n,91484,m)|0,m=e[r+44>>2]|0,v=e[r+48>>2]|0,e[p>>2]=e[r+40>>2],e[p+4>>2]=m,e[p+8>>2]=v,A2(n,91507,p)|0,p=e[r+56>>2]|0,e[w>>2]=e[r+52>>2],e[w+4>>2]=p,A2(n,91558,w)|0,s=+u[r+72>>3],w=e[r+80>>2]|0,u[c>>3]=+u[r+64>>3],u[c+8>>3]=s,e[c+16>>2]=w,A2(n,91591,c)|0,s=+u[r+96>>3],c=e[r+104>>2]|0,u[A>>3]=+u[r+88>>3],u[A+8>>3]=s,e[A+16>>2]=c,A2(n,91649,A)|0,A=e[r+116>>2]|0,s=+u[r+152>>3],e[a>>2]=e[r+112>>2],e[a+4>>2]=A,u[a+8>>3]=s,A2(n,91695,a)|0,a=e[r+124>>2]|0,A=e[r+128>>2]|0,s=+u[r+144>>3],e[l>>2]=e[17804+(e[r+120>>2]<<2)>>2],e[l+4>>2]=a,e[l+8>>2]=A,u[l+16>>3]=s,A2(n,91748,l)|0,l=e[17848+(e[r+136>>2]<<2)>>2]|0,e[o>>2]=e[17832+(e[r+132>>2]<<2)>>2],e[o+4>>2]=l,A2(n,91813,o)|0,e[i>>2]=e[r+160>>2],A2(n,91843,i)|0,g=t}function eE(r){r=r|0,r0(r)}function rE(r){r=r|0;var t=0;return t=_0(184)|0,e[t>>2]=r,e[t+176>>2]=0,t|0}function PT(r,t){r=r|0,t=+t;var i=0,n=0,o=0;n=e[r>>2]|0,u[r+8+(n<<3)>>3]=t,o=r+176|0;e:do switch(e[o>>2]|0){case 0:{i=e[r>>2]|0,(i|0)==20?(e[o>>2]=-1,i=19):(e[o>>2]=1,i=(i|0)>19?20:i+1|0),e[r>>2]=i;break}case 1:if(i=e[r>>2]|0,(i|0)<20&&+u[r+8+(n+-1<<3)>>3]>t){e[r>>2]=i+1;break e}else{e[r>>2]=i+-1,e[o>>2]=-1;break e}default:if(i=e[r>>2]|0,(i|0)>0&&+u[r+8+(n+1<<3)>>3]>t){e[r>>2]=i+-1;break e}else{e[r>>2]=i+1,e[o>>2]=1;break e}}while(0)}function YT(r){return r=r|0,e[r>>2]|0}function Pp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(v=e[r+20>>2]|0,m=e[r+24>>2]|0,w=e[r>>2]|0,p=e[v+(w<<2)>>2]|0,!p)n=1;else{r=0,n=0;e:for(;!((r|0)>=(w|0));)for(A=r+1|0,a=e[v+(A<<2)>>2]|0,c=N0(r,t)|0,s=e[v+(r<<2)>>2]|0;;){if((s|0)>=(a|0)){r=A;continue e}for(l=m+(s<<2)|0,r=0,o=0;!((r|0)>=(t|0));)E=+u[i+(r+c<<3)>>3]-+u[i+((N0(e[l>>2]|0,t)|0)<<3)>>3],r=r+1|0,o=E*E+o;s=s+1|0,n=+G0(+o)+n}n=n/+(p|0)}return+n}function Hm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=t+10|0,(e[i>>2]|0)<=(t|0)&&(e[i>>2]=n,e[r>>2]=Oe(e[r>>2]|0,n<<3)|0)}function Jm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=t+10|0,(e[i>>2]|0)<=(t|0)&&(e[i>>2]=n,e[r>>2]=Oe(e[r>>2]|0,n<<2)|0)}function Um0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(c=g,g=g+16|0,a=c,A=N0(n,t)|0,t=N0(i,t)|0,n=0;(n|0)!=2;)u[a+(n<<3)>>3]=+u[r+(n+A<<3)>>3]-+u[r+(n+t<<3)>>3],n=n+1|0;s=+u[a>>3],l=+u[a+8>>3];do if((s>=0?s:-s)<=(l>=0?l:-l)*1e-5)o=l>0?1.5707963267948966:4.71238898038469;else if(o=+G2(+(l/s)),s>0){if(!(l<0))break;o=o+6.283185307179586;break}else{if(!(s<0))break;o=o+3.141592653589793;break}while(0);return g=c,+o}function Xm0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=+u[r>>3],i=+u[t>>3],(n>i?1:(n>31)|0}function qm0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0;g2=g,g=g+80|0,pe=g2+32|0,me=g2,v=+u[i>>3],c=i+24|0,w=+u[c>>3],p=i+32|0,A=+u[p>>3],J0=+u[i+72>>3],V0=e[i+80>>2]|0,Z0=+u[i+88>>3],m=+u[i+96>>3],F0=e[i+104>>2]|0,b0=i+56|0,s=e[b0>>2]|0;do if(!((t|0)==0|(V0|0)<1)&&(O0=e[t+4>>2]|0,!((r|0)<1|(O0|0)<1))){if(D0=e[t>>2]|0,ze=rE(s)|0,e[l>>2]=0,(D0|0)!=(O0|0)){e[l>>2]=-100,eE(ze),e[b0>>2]=s;break}k0=Ql(t,1)|0,B0=e[k0+20>>2]|0,D0=e[k0+24>>2]|0;e:do if(e[i+16>>2]|0)for(Vc(e[i+108>>2]|0),a=N0(O0,r)|0,s=0;;){if((s|0)>=(a|0))break e;u[o+(s<<3)>>3]=+_l(),s=s+1|0}while(0);for(w<0&&(w=+Pp(k0,r,o),u[c>>3]=w),A<0&&(u[p>>3]=.2,A=.2),v>=0&&(u[i>>3]=-1,v=-1),f0=+K0(+w,+(1-v)),T=+K0(+A,+((2-v)*.3333333333333333))/w,D=N0(O0,r<<3)|0,P=_0(D)|0,U=_0(D)|0,J=i+116|0,F=i+64|0,q=e[15712]|0,t0=k0+8|0,Y=me+8|0,H=me+16|0,W=0,N=0,_=m;;){u2(P|0,o|0,D|0)|0,L=YT(ze)|0,G=vk(r,O0,L,o,e[J>>2]|0?n:0)|0,X90(G,U,o,+u[F>>3],v,f0,me,l),c=0;e:for(;;){if((c|0)>=(O0|0)){m=0,a=0;break}for(p=N0(c,r)|0,E=U+(p<<3)|0,B=c+1|0,x=B0+(B<<2)|0,a=e[B0+(c<<2)>>2]|0;;){if((a|0)>=(e[x>>2]|0)){c=B;continue e}z=D0+(a<<2)|0,s=e[z>>2]|0;r:do if((s|0)!=(c|0))for(A=+Vn(o,r,c,s)*T,s=0;;){if((s|0)>=(r|0))break r;m=A*(+u[o+(s+p<<3)>>3]-+u[o+((N0(e[z>>2]|0,r)|0)+s<<3)>>3]),i2=E+(s<<3)|0,u[i2>>3]=+u[i2>>3]-m,s=s+1|0}while(0);a=a+1|0}}for(;!((a|0)>=(O0|0));){for(c=N0(a,r)|0,p=U+(c<<3)|0,A=0,s=0;!((s|0)>=(r|0));)T2=+u[p+(s<<3)>>3],A=T2*T2+A,s=s+1|0;A=+G0(+A),m=A+m;e:do if(A>0)for(A=1/A,s=0;;){if((s|0)>=(r|0)){s=0;break e}i2=p+(s<<3)|0,u[i2>>3]=+u[i2>>3]*A,s=s+1|0}else s=0;while(0);for(;!((s|0)>=(r|0));)i2=o+(s+c<<3)|0,u[i2>>3]=+u[i2>>3]+ +u[p+(s<<3)>>3]*_,s=s+1|0;a=a+1|0}if(W=W+1|0,G&&(i8(G),PT(ze,+u[Y>>3]*.85+ +u[me>>3]+ +u[H>>3]*3.3)),_=+Hh(F0,_,m,N,Z0),(W|0)<(V0|0)&_>J0)N=m;else break}e[i+112>>2]|0&&Jh(r,k0,o),eE(ze),e[b0>>2]=L,r0(P),(k0|0)!=(t|0)&&U2(k0),r0(U)}while(0);g=g2}function Hh(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o;do if(r){if(i>=n){t=o*t;break}n*.95>2]|0,P=e[t+20>>2]|0,x=e[t+24>>2]|0,e[_>>2]=10,e[T>>2]=10,z=_0(D<<2)|0,o=_0(80)|0,e[W>>2]=o,n=_0(40)|0,e[N>>2]=n,t=0;;){if((t|0)>=(D|0)){w=0,E=o,a=n,p=n,c=o;break}e[z+(t<<2)>>2]=0,t=t+1|0}for(;!((w|0)>=(D|0));){t=e[P+(w<<2)>>2]|0;e:do if(((e[P+(w+1<<2)>>2]|0)-t|0)==1&&!(e[z+(w<<2)>>2]|0)&&(L=e[x+(t<<2)>>2]|0,G=z+(L<<2)|0,(e[G>>2]|0)==0)){for(e[G>>2]=1,m=P+(L+1<<2)|0,w=0,B=0,l=0,v=e[P+(L<<2)>>2]|0,a=p,t=E;!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,s=e[i+56>>2]|0,cn(92198,32,1,e[15712]|0)|0,!((t|0)==0|(J0|0)<1)&&(F0=e[t>>2]|0,A=e[t+4>>2]|0,!((r|0)<1|(A|0)<1))){if(m=r<<3,b0=_0(N0(m,A)|0)|0,(A|0)<(e[i+52>>2]|0)?(t0=0,Y=0,H=0,f0=0,k0=0,B0=0):(rE(s)|0,f0=_0(r*80|0)|0,k0=_0(80)|0,B0=_0(80)|0,t0=B0,Y=k0,H=f0),e[l>>2]=0,(F0|0)==(A|0)){J=Ql(t,1)|0,F=e[J+20>>2]|0,q=e[J+24>>2]|0;e:do if(e[i+16>>2]|0)for(Vc(e[i+108>>2]|0),A=N0(F0,r)|0,s=0;;){if((s|0)>=(A|0))break e;u[o+(s<<3)>>3]=+_l(),s=s+1|0}while(0);for(c<0&&(c=+Pp(J,r,o),u[w>>3]=c),a<0&&(u[p>>3]=.2,a=.2),v>=0&&(u[i>>3]=-1,v=-1),P=1-v,U=+K0(+c,+P),T=+K0(+a,+((2-v)*.3333333333333333))/c,D=_0(m)|0,_=N0(F0,m)|0,L=_0(_)|0,G=N0(F0,r)|0,W=i+116|0,N=(n|0)!=0,z=v==-1,x=0,v=0;;){for(s=0;!((s|0)>=(G|0));)u[b0+(s<<3)>>3]=0,s=s+1|0;for(u2(L|0,o|0,_|0)|0,m=0;;){if((m|0)<(F0|0))s=0;else{p=0;break}for(;!((s|0)>=(r|0));)u[D+(s<<3)>>3]=0,s=s+1|0;p=N0(m,r)|0;e:do if(N&(e[W>>2]|0)!=0)for(s=0;;){if((s|0)==(F0|0)){s=0;break e}r:do if((s|0)!=(m|0))for(c=+$i(o,r,m,s),l=n+(s<<3)|0,w=N0(s,r)|0,a=+K0(+c,+P),a=1/(z?c*c:a),A=0;;){if((A|0)>=(r|0))break r;E=D+(A<<3)|0,u[E>>3]=+u[l>>3]*U*(+u[o+(A+p<<3)>>3]-+u[o+(A+w<<3)>>3])*a+ +u[E>>3],A=A+1|0}while(0);s=s+1|0}else for(s=0;;){if((s|0)==(F0|0)){s=0;break e}r:do if((s|0)!=(m|0))for(c=+$i(o,r,m,s),l=N0(s,r)|0,a=+K0(+c,+P),a=1/(z?c*c:a),A=0;;){if((A|0)>=(r|0))break r;E=D+(A<<3)|0,u[E>>3]=(+u[o+(A+p<<3)>>3]-+u[o+(A+l<<3)>>3])*U*a+ +u[E>>3],A=A+1|0}while(0);s=s+1|0}while(0);for(;!((s|0)>=(r|0));)E=b0+(s+p<<3)|0,u[E>>3]=+u[E>>3]+ +u[D+(s<<3)>>3],s=s+1|0;m=m+1|0}e:for(;;){if((p|0)<(F0|0))s=0;else{c=0,A=0;break}for(;!((s|0)>=(r|0));)u[D+(s<<3)>>3]=0,s=s+1|0;for(m=p+1|0,l=F+(m<<2)|0,E=N0(p,r)|0,A=e[F+(p<<2)>>2]|0;;){if((A|0)>=(e[l>>2]|0)){s=0;break}w=q+(A<<2)|0,s=e[w>>2]|0;r:do if((s|0)!=(p|0))for(a=+Vn(o,r,p,s)*T,s=0;;){if((s|0)>=(r|0))break r;c=a*(+u[o+(s+E<<3)>>3]-+u[o+((N0(e[w>>2]|0,r)|0)+s<<3)>>3]),O0=D+(s<<3)|0,u[O0>>3]=+u[O0>>3]-c,s=s+1|0}while(0);A=A+1|0}for(;;){if((s|0)>=(r|0)){p=m;continue e}O0=b0+(s+E<<3)|0,u[O0>>3]=+u[O0>>3]+ +u[D+(s<<3)>>3],s=s+1|0}}for(;!((A|0)>=(F0|0));){for(l=N0(A,r)|0,s=0;;){if((s|0)>=(r|0)){a=0,s=0;break}u[D+(s<<3)>>3]=+u[b0+(s+l<<3)>>3],s=s+1|0}for(;!((s|0)>=(r|0));)ze=+u[D+(s<<3)>>3],a=ze*ze+a,s=s+1|0;a=+G0(+a),c=a+c;e:do if(a>0)for(a=1/a,s=0;;){if((s|0)>=(r|0)){s=0;break e}O0=D+(s<<3)|0,u[O0>>3]=+u[O0>>3]*a,s=s+1|0}else s=0;while(0);for(;!((s|0)>=(r|0));)O0=o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;r:do if(e[i+16>>2]|0)for(Vc(e[i+108>>2]|0),A=N0(pe,r)|0,s=0;;){if((s|0)>=(A|0))break r;u[o+(s<<3)>>3]=+_l(),s=s+1|0}while(0);for(E<0&&(E=+Pp(p,r,o),u[a>>3]=E),m<0&&(u[c>>3]=.2,m=.2),B>=0&&(u[i>>3]=-1,B=-1),k0=1-B,B0=+K0(+E,+k0),q=+K0(+m,+((2-B)*.3333333333333333))/E,t0=r<<3,V0=_0(t0)|0,t0=N0(pe,t0)|0,Z0=_0(t0)|0,Y=(T2|0)!=0,H=i+116|0,f0=i+64|0,U=B==-1,J=(n|0)!=0,F=1/+(pe|0),s=0,D=0,P=0;;){D=D+1|0,u2(Z0|0,o|0,t0|0)|0,Y&&(s=YT(dr)|0,w=s,s=vk(r,pe,s,o,e[H>>2]|0?n:0)|0),z=0,B=0,_=0,E=0;r:for(;(_|0)<(pe|0);){A=0;for(;!((A|0)>=(r|0));)u[V0+(A<<3)>>3]=0,A=A+1|0;for(N=_+1|0,c=D0+(N<<2)|0,T=N0(_,r)|0,a=e[D0+(_<<2)>>2]|0;!((a|0)>=(e[c>>2]|0));){v=J0+(a<<2)|0,A=e[v>>2]|0;t:do if((A|0)!=(_|0))for(m=+Vn(o,r,_,A)*q,A=0;;){if((A|0)>=(r|0))break t;Fe=m*(+u[o+(A+T<<3)>>3]-+u[o+((N0(e[v>>2]|0,r)|0)+A<<3)>>3]),W=V0+(A<<3)|0,u[W>>3]=+u[W>>3]-Fe,A=A+1|0}while(0);a=a+1|0}t:do if(Y){if(kE(s,+u[f0>>3],o+(T<<3)|0,_,g2,i2,ue,gr,yr,F0,l),z=+u[F0>>3]+z,W=e[g2>>2]|0,B=B+ +(W|0),e[l>>2]|0){c=V0,a=Z0,s=V0,A=Z0,v=67;break e}for(c=e[yr>>2]|0,v=e[gr>>2]|0,_=e[ue>>2]|0,A=0;;){if((A|0)>=(W|0))break t;for(Fe=+u[c+(A<<3)>>3],Fe=Fe>1e-15?Fe:1e-15,L=v+(A<<3)|0,G=N0(A,r)|0,m=+K0(+Fe,+k0),m=1/(U?Fe*Fe:m),a=0;!((a|0)>=(r|0));)M2=V0+(a<<3)|0,u[M2>>3]=+u[L>>3]*B0*(+u[o+(a+T<<3)>>3]-+u[_+(a+G<<3)>>3])*m+ +u[M2>>3],a=a+1|0;A=A+1|0}}else if(J&(e[H>>2]|0)!=0)for(A=0;;){if((A|0)==(pe|0))break t;i:do if((A|0)!=(_|0))for(Fe=+$i(o,r,_,A),c=n+(A<<3)|0,v=N0(A,r)|0,m=+K0(+Fe,+k0),m=1/(U?Fe*Fe:m),a=0;;){if((a|0)>=(r|0))break i;W=V0+(a<<3)|0,u[W>>3]=+u[c>>3]*B0*(+u[o+(a+T<<3)>>3]-+u[o+(a+v<<3)>>3])*m+ +u[W>>3],a=a+1|0}while(0);A=A+1|0}else for(A=0;;){if((A|0)==(pe|0))break t;i:do if((A|0)!=(_|0))for(Fe=+$i(o,r,_,A),c=N0(A,r)|0,m=+K0(+Fe,+k0),m=1/(U?Fe*Fe:m),a=0;;){if((a|0)>=(r|0))break i;W=V0+(a<<3)|0,u[W>>3]=(+u[o+(a+T<<3)>>3]-+u[o+(a+c<<3)>>3])*B0*m+ +u[W>>3],a=a+1|0}while(0);A=A+1|0}while(0);for(m=0,A=0;!((A|0)>=(r|0));)Fe=+u[V0+(A<<3)>>3],m=Fe*Fe+m,A=A+1|0;m=+G0(+m),E=m+E;t:do if(m>0)for(m=1/m,A=0;;){if((A|0)>=(r|0)){A=0;break t}M2=V0+(A<<3)|0,u[M2>>3]=+u[M2>>3]*m,A=A+1|0}else A=0;while(0);for(;;){if((A|0)>=(r|0)){_=N;continue r}M2=o+(A+T<<3)|0,u[M2>>3]=+u[M2>>3]+ +u[V0+(A<<3)>>3]*x,A=A+1|0}}if(s|0&&(i8(s),PT(dr,B*F*5+z*F)),x=+Hh(me,x,E,P,ze),(D|0)<(O0|0)&x>b0)P=E;else break}e[i+112>>2]|0?(Jh(r,p,o),c=V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):(F0=0,a=b0),Z0=e[a+24>>2]|0,V0=e[a+20>>2]|0,s<0&&(J=+rg0(T2,V0,F0),U=+(e[V0+(T2<<2)>>2]|0),D=+(T2|0),s=U/(D*D-U)*s/+K0(+J,+(v+1)),J0=e[15712]|0,u[p>>3]=J,u[p+8>>3]=s,A2(J0,92231,p)|0);e:do if(e[n+16>>2]|0)for(cn(92253,24,1,e[15712]|0)|0,Vc(e[n+108>>2]|0),c=N0(T2,r)|0,a=0;;){if((a|0)>=(c|0))break e;u[l+(a<<3)>>3]=+_l(),a=a+1|0}while(0);tg0(T2,r,l,V0,Z0,F0),E<0&&(u[m>>3]=.2),v>=0&&(u[n>>3]=-1,v=-1),D0=r<<3,B0=_0(D0)|0,D0=N0(T2,D0)|0,J0=_0(D0)|0,q=(B|0)!=0,t0=n+116|0,Y=(F0|0)==0,H=n+8|0,f0=(o|0)!=0,k0=v==-1,J=1-v,F=n+64|0,a=0,P=0,U=0,v=1,D=x;e:for(;;){P=P+1|0,u2(J0|0,l|0,D0|0)|0,q&&(a=vk(r,T2,10,l,e[t0>>2]|0?o:0)|0),B=0,x=0;r:for(;(B|0)<(T2|0);){c=0;for(;!((c|0)>=(r|0));)u[B0+(c<<3)>>3]=0,c=c+1|0;for(T=B+1|0,m=V0+(T<<2)|0,N=N0(B,r)|0,p=e[V0+(B<<2)>>2]|0;!((p|0)>=(e[m>>2]|0));){i=Z0+(p<<2)|0,c=e[i>>2]|0;t:do if((c|0)!=(B|0)){W=+$i(l,r,B,c),Y||(v=+u[F0+(p<<3)>>3]),E=+u[H>>3];i:do if(E!=2)if(E==1)for(E=(W-v)*(1/(v*v)),z=1/W,c=0;;){if((c|0)>=(r|0))break i;_=E*(+u[l+(c+N<<3)>>3]-+u[l+((N0(e[i>>2]|0,r)|0)+c<<3)>>3])*z,G=B0+(c<<3)|0,u[G>>3]=+u[G>>3]-_,c=c+1|0}else for(E=1/+K0(+v,+(E+1)),z=W-v,_=1/W,c=0;;){if((c|0)>=(r|0))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;c=c+1|0}}else if(f0&(e[t0>>2]|0)!=0)for(c=0;;){if((c|0)==(T2|0)){E=0,c=0;break t}i:do if((c|0)!=(B|0))for(Fe=+$i(l,r,B,c),i=o+(c<<3)|0,p=N0(c,r)|0,E=+K0(+Fe,+J),E=1/(k0?Fe*Fe:E),w=0;;){if((w|0)>=(r|0))break i;G=B0+(w<<3)|0,u[G>>3]=+u[i>>3]*s*(+u[l+(w+N<<3)>>3]-+u[l+(w+p<<3)>>3])*E+ +u[G>>3],w=w+1|0}while(0);c=c+1|0}else for(c=0;;){if((c|0)==(T2|0)){E=0,c=0;break t}i:do if((c|0)!=(B|0))for(Fe=+$i(l,r,B,c),i=N0(c,r)|0,E=+K0(+Fe,+J),E=1/(k0?Fe*Fe:E),w=0;;){if((w|0)>=(r|0))break i;G=B0+(w<<3)|0,u[G>>3]=(+u[l+(w+N<<3)>>3]-+u[l+(w+i<<3)>>3])*s*E+ +u[G>>3],w=w+1|0}while(0);c=c+1|0}while(0);for(;!((c|0)>=(r|0));)Fe=+u[B0+(c<<3)>>3],E=Fe*Fe+E,c=c+1|0;E=+G0(+E),x=E+x;t:do if(E>0)for(E=1/E,c=0;;){if((c|0)>=(r|0)){c=0;break t}M2=B0+(c<<3)|0,u[M2>>3]=+u[M2>>3]*E,c=c+1|0}else c=0;while(0);for(;;){if((c|0)>=(r|0)){B=T;continue r}M2=l+(c+N<<3)|0,u[M2>>3]=+u[M2>>3]+ +u[B0+(c<<3)>>3]*D,c=c+1|0}}if(a|0&&i8(a),D=+Hh(i2,D,x,U,g2),(P|0)<(pe|0)&D>me)U=x;else{ue=83;break}}(ue|0)==83&&e[n+112>>2]|0&&Jh(r,b0,l),r0(J0),(b0|0)!=(t|0)&&U2(b0),r0(B0),a=e[O0>>2]|0,c=a}else e[A>>2]=-100;c|0&&r0(a),a=e[gr>>2]|0,a|0&&r0(a),a=e[yr>>2]|0,a|0&&r0(a)}g=ur}function rg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;if(!i)n=1;else{o=0,n=0;e:for(;!((o|0)>=(r|0));)for(l=o+1|0,s=e[t+(l<<2)>>2]|0,o=e[t+(o<<2)>>2]|0;;){if((o|0)>=(s|0)){o=l;continue e}A=+u[i+(o<<3)>>3]+n,o=o+1|0,n=A}n=n/+(e[t+(r<<2)>>2]|0)}return+n}function tg0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;_=g,g=g+16|0,z=_,x=(l|0)==0,a=0,c=0,w=1,A=0;e:for(;!((A|0)>=(r|0));)for(E=A+1|0,B=n+(E<<2)|0,m=e[n+(A<<2)>>2]|0;;){if((m|0)>=(e[B>>2]|0)){A=E;continue e}s=e[o+(m<<2)>>2]|0;r:do if((s|0)!=(A|0))for(p=+$i(i,t,A,s),x||(w=+u[l+(m<<3)>>3]),L=1/(w*w),v=w*p*L,p=p*p*L,s=0;;){if((s|0)>=(t|0))break r;s=s+1|0,a=a+p,c=c+v}while(0);m=m+1|0}for(a=c/a,A=N0(t,r)|0,s=0;!((s|0)>=(A|0));)t=i+(s<<3)|0,u[t>>3]=+u[t>>3]*a,s=s+1|0;i=e[15712]|0,u[z>>3]=a,A2(i,92278,z)|0,g=_}function ig0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0,dr=0,D2=0,ue=0,gr=0,yr=0,ur=0,Fe=0,M2=0;if(yr=g,g=g+32|0,i2=yr+24|0,T2=yr+20|0,dr=yr+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;!((c|0)>=(e[i>>2]|0));){v=V0+(c<<2)|0,a=e[v>>2]|0;t:do if((a|0)!=(B|0))for(w=+Vn(l,r,B,a)*q,a=0;;){if((a|0)>=(r|0))break t;E=w*(+u[l+(a+G<<3)>>3]-+u[l+((N0(e[v>>2]|0,r)|0)+a<<3)>>3]),z=t0+(a<<3)|0,u[z>>3]=+u[z>>3]-E,a=a+1|0}while(0);c=c+1|0}for(v=Z0+(L<<2)|0,i=e[Z0+(B<<2)>>2]|0;!((i|0)>=(e[v>>2]|0));){m=F0+(i<<2)|0,a=e[m>>2]|0;t:do if((a|0)!=(B|0))for(w=+$i(l,r,B,a),c=B0+(i<<3)|0,E=1/w,a=0;;){if((a|0)>=(r|0))break t;Fe=+u[c>>3],ur=w-Fe,ur=ur*ur*J*(+u[l+(a+G<<3)>>3]-+u[l+((N0(e[m>>2]|0,r)|0)+a<<3)>>3])*E,z=t0+(a<<3)|0,u[z>>3]=(w>3],a=a+1|0}while(0);i=i+1|0}t:do if(P){if(kE(A,+u[F>>3],l+(G<<3)|0,B,i2,T2,dr,ue,gr,b0,s),i=e[i2>>2]|0,e[s>>2]|0)break e;for(v=e[gr>>2]|0,m=e[ue>>2]|0,B=e[dr>>2]|0,a=0;;){if((a|0)>=(i|0)){w=0,a=0;break t}for(Fe=+u[v+(a<<3)>>3],Fe=Fe>1e-15?Fe:1e-15,x=m+(a<<3)|0,z=N0(a,r)|0,w=+K0(+Fe,+f0),w=1/(T?Fe*Fe:w),c=0;!((c|0)>=(r|0));)M2=t0+(c<<3)|0,u[M2>>3]=+u[x>>3]*k0*(+u[l+(c+G<<3)>>3]-+u[B+(c+z<<3)>>3])*w+ +u[M2>>3],c=c+1|0;a=a+1|0}}else if(D&(e[U>>2]|0)!=0)for(a=0;;){if((a|0)==(g2|0)){w=0,a=0;break t}i:do if((a|0)!=(B|0))for(Fe=+$i(l,r,B,a),i=o+(a<<3)|0,v=N0(a,r)|0,w=+K0(+Fe,+f0),w=1/(T?Fe*Fe:w),c=0;;){if((c|0)>=(r|0))break i;z=t0+(c<<3)|0,u[z>>3]=+u[i>>3]*k0*(+u[l+(c+G<<3)>>3]-+u[l+(c+v<<3)>>3])*w+ +u[z>>3],c=c+1|0}while(0);a=a+1|0}else for(a=0;;){if((a|0)==(g2|0)){w=0,a=0;break t}i:do if((a|0)!=(B|0))for(Fe=+$i(l,r,B,a),i=N0(a,r)|0,w=+K0(+Fe,+f0),w=1/(T?Fe*Fe:w),c=0;;){if((c|0)>=(r|0))break i;z=t0+(c<<3)|0,u[z>>3]=(+u[l+(c+G<<3)>>3]-+u[l+(c+i<<3)>>3])*k0*w+ +u[z>>3],c=c+1|0}while(0);a=a+1|0}while(0);for(;!((a|0)>=(r|0));)Fe=+u[t0+(a<<3)>>3],w=Fe*Fe+w,a=a+1|0;w=+G0(+w),p=w+p;t:do if(w>0)for(w=1/w,a=0;;){if((a|0)>=(r|0)){a=0;break t}M2=t0+(a<<3)|0,u[M2>>3]=+u[M2>>3]*w,a=a+1|0}else a=0;while(0);for(;;){if((a|0)>=(r|0)){B=L;continue r}M2=l+(a+G<<3)|0,u[M2>>3]=+u[M2>>3]+ +u[t0+(a<<3)>>3]*_,a=a+1|0}}if(A|0&&i8(A),_=+Hh(pe,_,p,N,me),(W|0)<(ze|0)&_>O0)N=p;else{D2=70;break}}(D2|0)==70&&e[n+112>>2]|0&&Jh(r,D0,l),r0(H),(D0|0)!=(t|0)&&U2(D0),r0(t0),A=e[dr>>2]|0,a=A}else e[s>>2]=-100;a|0&&r0(A),A=e[ue>>2]|0,A|0&&r0(A),A=e[gr>>2]|0,A|0&&r0(A)}g=yr}function ng0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;p=e[t+20>>2]|0,v=e[t+24>>2]|0,m=_0(r<<3)|0,w=e[t>>2]|0,a=0;e:for(;(a|0)<(w|0);){t=0;for(;!((t|0)>=(r|0));)u[m+(t<<3)>>3]=0,t=t+1|0;for(c=a+1|0,A=e[p+(c<<2)>>2]|0,s=e[p+(a<<2)>>2]|0,t=0;!((s|0)>=(A|0));){if(n=e[v+(s<<2)>>2]|0,(n|0)!=(a|0)){for(l=N0(n,r)|0,n=0;!((n|0)>=(r|0));)E=m+(n<<3)|0,u[E>>3]=+u[E>>3]+ +u[i+(l+n<<3)>>3],n=n+1|0;t=t+1|0}s=s+1|0}if((t|0)<=0){a=c;continue}for(o=.5/+(t|0),n=N0(a,r)|0,t=0;;){if((t|0)>=(r|0)){a=c;continue e}E=i+(t+n<<3)|0,u[E>>3]=+u[m+(t<<3)>>3]*o+ +u[E>>3]*.5,t=t+1|0}}r0(m)}function og0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(A=e[r+20>>2]|0,a=e[r+24>>2]|0,s=e[r>>2]|0,c=_0((s<<2)+4|0)|0,r=0;;){if((r|0)>(s|0)){i=0,n=0;break}e[c+(r<<2)>>2]=0,r=r+1|0}for(;!((n|0)>=(s|0));){for(o=n+1|0,l=e[A+(o<<2)>>2]|0,r=0,t=e[A+(n<<2)>>2]|0;!((t|0)>=(l|0));)r=r+((n|0)!=(e[a+(t<<2)>>2]|0)&1)|0,t=t+1|0;l=c+(r<<2)|0,n=(e[l>>2]|0)+1|0,e[l>>2]=n,i=(i|0)>(n|0)?i:n,n=o}return w=+(e[c+4>>2]|0),+(i|0)*.8=(s|0)){o=0;break}u[p+(o<<3)>>3]=0,o=o+1|0}for(;;){if((o|0)>=(t|0)){s=0;break}u[a+(o<<3)>>3]=0,o=o+1|0}for(;!((s|0)>=(r|0));){for(A=N0(s,t)|0,o=0;!((o|0)>=(t|0));)w=a+(o<<3)|0,u[w>>3]=+u[w>>3]+ +u[i+(o+A<<3)>>3],o=o+1|0;s=s+1|0}for(n=1/+(r|0),o=0;;){if((o|0)>=(t|0)){s=0;break}w=a+(o<<3)|0,u[w>>3]=+u[w>>3]*n,o=o+1|0}for(;;){if((s|0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[n+136>>2]|0)==1){H=gk(t,0)|0,p=gk(i,0)|0;break}else{H=nh(t)|0,p=i;break}while(0);if(q=n+160|0,v=e[q>>2]|0,(v|0)==3?(A|0)>0&&(x=14):(A|0)>0&(v|0)==4&&(x=14),(x|0)==14){if(i=_0(N0(r<<3,e[H>>2]|0)|0)|0,k0=Ag0(H,A,a)|0,OT(r,k0,0,n,0,0,i,0,0,c),ug0(r,H,A,a,s,i),VF(r,H,s,l,e[n+124>>2]|0,+u[n+144>>3],e[q>>2]|0,A,a),U2(k0),r0(i),(H|0)==(t|0))break;U2(H);break}for(J=es0(e[n+44>>2]|0,e[n+48>>2]|0)|0,e[J+16>>2]=e[n+40>>2],F=cs0(H,p,o,J)|0,m=hs0(F)|0,e[m+32>>2]|0?E=_0(N0(r<<3,e[m+4>>2]|0)|0)|0:E=s,v=og0(H)|0,+u[n>>3]==-1.0001234&&(u[n>>3]=v|0?-1.8:-1),_=n+136|0,L=n+24|0,G=n+16|0,W=n+104|0,N=n+96|0,T=r<<3,D=n+132|0,P=e[15712]|0,U=n+80|0;;){e:do switch(e[_>>2]|0){case 0:{switch(e[D>>2]|0){case 0:{bm0(r,e[m+8>>2]|0,n,e[m+24>>2]|0,E,c);break e}case 2:{v=m+8|0,x=29;break}case 3:{v=m+8|0,B=e[v>>2]|0,(e[B>>2]|0)>1e4?x=29:x=30;break}default:B=e[m+8>>2]|0,x=30}if((x|0)==29){qm0(r,e[v>>2]|0,n,e[m+24>>2]|0,E,c);break e}else if((x|0)==30){eg0(r,B,n,e[m+24>>2]|0,E,c);break e}break}case 1:{u[N>>3]=1,e[W>>2]=1,z=(e[m+28>>2]|0)==0,w=z?.5:.05,e[U>>2]=z?500:100,z=(e[m+32>>2]|0)==0,v=m+8|0,B=m+12|0,x=m+24|0,Yp(r,e[v>>2]|0,e[B>>2]|0,n,e[x>>2]|0,E,w,c),z&&(e[G>>2]=0,u[N>>3]=.05,e[W>>2]=0,Yp(r,e[v>>2]|0,e[B>>2]|0,n,e[x>>2]|0,E,w*.5,c),Yp(r,e[v>>2]|0,e[B>>2]|0,n,e[x>>2]|0,E,w*.125,c),Yp(r,e[v>>2]|0,e[B>>2]|0,n,e[x>>2]|0,E,w*.03125,c));break}default:}while(0);if(x=e[m+32>>2]|0,!x){x=39;break}if(e[c>>2]|0){x=35;break}z=e[m+16>>2]|0,v=e[m+40>>2]|0,e[x+32>>2]|0?B=_0(N0(T,e[x+4>>2]|0)|0)|0:B=s,fg0(r,e[x+8>>2]|0,z,e[x+20>>2]|0,E,B,v,+u[L>>3]*.001),r0(E),e[G>>2]=0,u[L>>3]=+u[L>>3]*.75,e[W>>2]=0,u[N>>3]=((e[(e[x+28>>2]|0)+40>>2]|0)+-9|0)>>>0<2?1:.1,m=x,E=B}(x|0)==35?r0(E):(x|0)==39&&(Rs0(r,H,n,o,s,c),(r|0)==2&&lg0(k0,2,s),w=+u[n+152>>3],w!=0&&ag0(k0,r,s,w),VF(r,H,s,l,e[n+124>>2]|0,+u[n+144>>3],e[q>>2]|0,A,a)),u2(n|0,f0|0,168)|0,(H|0)!=(t|0)&&U2(H),(p|0)==0|(p|0)==(i|0)||U2(p),rs0(J),SZ(F)}while(0);g=B0}function Ag0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;for(N=g,g=g+16|0,W=N,_=e[r+20>>2]|0,L=e[r+24>>2]|0,G=_0(e[r>>2]<<2)|0,n=0;;){if((n|0)>=(e[r>>2]|0)){n=0;break}e[G+(n<<2)>>2]=1,n=n+1|0}for(;;){if((n|0)>=(t|0)){n=0,i=0;break}e[G+(e[i+(n<<2)>>2]<<2)>>2]=-1,n=n+1|0}for(;;){if(w=e[r>>2]|0,(i|0)>=(w|0)){i=0,t=0;break}t=G+(i<<2)|0,(e[t>>2]|0)>0&&(e[t>>2]=n,n=n+1|0),i=i+1|0}e:for(;;){for(;;){if((t|0)>=(w|0))break e;if((e[G+(t<<2)>>2]|0)>=0)break;t=t+1|0}for(a=t+1|0,c=e[_+(a<<2)>>2]|0,A=e[_+(t<<2)>>2]|0;;){if((A|0)>=(c|0)){t=a;continue e}o=e[L+(A<<2)>>2]|0;r:do if((e[G+(o<<2)>>2]|0)>-1)i=i+1|0;else for(s=e[_+(o+1<<2)>>2]|0,l=e[_+(o<<2)>>2]|0;;){if((l|0)>=(s|0))break r;o=e[L+(l<<2)>>2]|0,(o|0)!=(t|0)&&(i=((e[G+(o<<2)>>2]|0)>>>31^1)+i|0),l=l+1|0}while(0);A=A+1|0}}t=i<<2,(i|0)>0?(B=_0(t)|0,x=_0(t)|0,m=x,E=B):(m=0,E=0,B=0,x=0),z=e[15712]|0,t=0,o=0;e:for(;;){for(i=e[r>>2]|0;;){if((t|0)>=(i|0))break e;if(v=G+(t<<2)|0,(e[v>>2]|0)>=0)break;t=t+1|0}for(w=t+1|0,p=_+(w<<2)|0,c=e[_+(t<<2)>>2]|0,i=o;;){if((c|0)>=(e[p>>2]|0)){t=w,o=i;continue e}o=L+(c<<2)|0,l=e[o>>2]|0;r:do if((e[G+(l<<2)>>2]|0)>-1)e[E+(i<<2)>>2]=e[v>>2],e[m+(i<<2)>>2]=e[G+(e[o>>2]<<2)>>2],i=i+1|0;else for(a=_+(l+1<<2)|0,A=e[_+(l<<2)>>2]|0;;){if((A|0)>=(e[a>>2]|0))break r;o=L+(A<<2)|0,s=e[o>>2]|0;do if((s|0)!=(t|0)&&(e[G+(s<<2)>>2]|0)>-1){if(e[E+(i<<2)>>2]=e[v>>2],s=i+1|0,e[m+(i<<2)>>2]=e[G+(e[o>>2]<<2)>>2],l=e[v>>2]|0,i=e[G+(e[o>>2]<<2)>>2]|0,(l|0)!=68)if((i|0)==68)i=68;else{i=s;break}e[W>>2]=l,e[W+4>>2]=i,A2(z,92380,W)|0,i=s}while(0);A=A+1|0}while(0);c=c+1|0}}return W=Rs(o,n,n,E,m,0,8,8)|0,r0(B),r0(x),r0(G),g=N,W|0}function ug0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(m=_0(e[t>>2]<<2)|0,s=0;;){if((s|0)>=(e[t>>2]|0)){s=0;break}e[m+(s<<2)>>2]=1,s=s+1|0}for(;;){if((s|0)>=(i|0)){s=0,c=0;break}A=e[n+(s<<2)>>2]|0,(A|0)>-1&&(A|0)<(e[t>>2]|0)&&(e[m+(A<<2)>>2]=-1),s=s+1|0}for(;;){if(p=e[t>>2]|0,(c|0)>=(p|0)){c=0;break}A=m+(c<<2)|0,(e[A>>2]|0)>-1&&(e[A>>2]=s,s=s+1|0),c=c+1|0}for(;!((c|0)>=(p|0));){s=e[m+(c<<2)>>2]|0;e:do if((s|0)>-1)for(w=N0(c,r)|0,A=N0(s,r)|0,s=0;;){if((s|0)>=(r|0))break e;u[o+(s+w<<3)>>3]=+u[l+(A+s<<3)>>3],s=s+1|0}while(0);c=c+1|0}for(v=t+20|0,l=t+24|0,p=0;!((p|0)>=(i|0));){for(t=e[n+(p<<2)>>2]|0,s=e[v>>2]|0,c=e[s+(t+1<<2)>>2]|0,s=e[s+(t<<2)>>2]|0,w=c-s|0,t=N0(t,r)|0,A=0;!((A|0)>=(r|0));)u[o+(A+t<<3)>>3]=0,A=A+1|0;for(;(s|0)<(c|0);){A=0;for(;!((A|0)>=(r|0));)a=+u[o+((N0(e[(e[l>>2]|0)+(s<<2)>>2]|0,r)|0)+A<<3)>>3],E=o+(A+t<<3)|0,u[E>>3]=+u[E>>3]+a,A=A+1|0;s=s+1|0}for(a=1/+(w|0),s=0;!((s|0)>=(r|0));)E=o+(s+t<<3)|0,u[E>>3]=+u[E>>3]*a,s=s+1|0;p=p+1|0}r0(m)}function fg0(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=+A;var a=0,c=0,w=0,p=0,v=0,m=0;p=g,g=g+16|0,w=p,e[w>>2]=l,CZ(i,0,o,0,w,0,r);e:do if((s+-1|0)>>>0<6){ng0(r,t,e[w>>2]|0),a=e[n>>2]|0,c=e[n+20>>2]|0,l=e[n+24>>2]|0,t=0;r:for(;;){if((t|0)>=(a|0))break e;s=t+1|0,n=c+(s<<2)|0,t=e[c+(t<<2)>>2]|0;t:for(;;){if(t=t+1|0,(t|0)>=(e[n>>2]|0)){t=s;continue r}for(o=l+(t<<2)|0,i=0;;){if((i|0)>=(r|0))continue t;m=(+_l()+-.5)*A,v=(e[w>>2]|0)+((N0(e[o>>2]|0,r)|0)+i<<3)|0,u[v>>3]=+u[v>>3]+m,i=i+1|0}}}}while(0);g=p}function ag0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(c=g,g=g+16|0,a=c,o=0;;){if((o|0)>=(t|0)){s=0;break}u[a+(o<<3)>>3]=0,o=o+1|0}for(;!((s|0)>=(r|0));){for(A=N0(s,t)|0,o=0;!((o|0)>=(t|0));)w=a+(o<<3)|0,u[w>>3]=+u[w>>3]+ +u[i+(o+A<<3)>>3],o=o+1|0;s=s+1|0}for(l=1/+(r|0),o=0;;){if((o|0)>=(t|0)){s=0;break}w=a+(o<<3)|0,u[w>>3]=+u[w>>3]*l,o=o+1|0}for(;!((s|0)>=(r|0));){for(A=N0(s,t)|0,o=0;!((o|0)>=(t|0));)w=i+(o+A<<3)|0,u[w>>3]=+u[w>>3]-+u[a+(o<<3)>>3],o=o+1|0;s=s+1|0}for(n=n*-.017453277777777776,l=+ee(+n),n=+le(+n),o=0;!((o|0)>=(r|0));)w=N0(o,t)|0,a=i+(w<<3)|0,p=+u[a>>3],w=i+(w+1<<3)|0,v=+u[w>>3],u[a>>3]=v*n+p*l,u[w>>3]=v*l-p*n,o=o+1|0;g=c}function cg0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=+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2]|0,m=e[A+20>>2]|0,E=e[A+24>>2]|0,e[m>>2]=0,e[p>>2]=0,t=0,i=0;!((t|0)>=(L|0));){for(B=t+1|0,x=G+(B<<2)|0,n=0,o=0,s=e[G+(t<<2)>>2]|0;!((s|0)>=(e[x>>2]|0));)l=e[z+(s<<2)>>2]|0,(l|0)!=(t|0)&&(W=+u[_+(s<<3)>>3],W=W>=0?W:-W,W=W>.01?W:.01,e[v+(i<<2)>>2]=l,e[E+(i<<2)>>2]=l,l=c+(i<<3)|0,u[l>>3]=-1,u[w+(i<<3)>>3]=-W,n=+u[l>>3]+n,o=o-W,i=i+1|0),s=s+1|0;e[v+(i<<2)>>2]=t,e[E+(i<<2)>>2]=t,u[c+(i<<3)>>3]=-n,u[w+(i<<3)>>3]=-o,i=i+1|0,e[p+(B<<2)>>2]=i,e[m+(B<<2)>>2]=i,t=B}e[a+8>>2]=i,e[A+8>>2]=i}return r|0}function Vp(r){r=r|0,ff(r)}function Hp(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,+ +dd(r,t,i,n,.001)}function wg0(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0;(e[r+16>>2]|0)==1?i=Ql(r,0)|0:i=nh(r)|0,o=e[i+28>>2]|0;e:do if(t!=1)for(n=e[i+8>>2]|0,r=0;;){if((r|0)>=(n|0))break e;l=o+(r<<3)|0,u[l>>3]=+u[l>>3]*t,r=r+1|0}while(0);return i|0}function dg0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(A=e[t>>2]|0,e[n>>2]=0,a=N0(A,r)|0,n=0;;){if((n|0)>=(a|0)){n=1,o=1;break}u[i+(n<<3)>>3]=+_l()*100,n=n+1|0}for(;!((o|0)>=(A|0));){for(s=N0(o,r)|0,l=0;!((l|0)>=(r|0));)if(c=+u[i+(l<<3)>>3]-+u[i+(l+s<<3)>>3],(c>=0?c:-c)>1e-16){n=0,o=A;break}else l=l+1|0;o=o+1|0}e:do if(n|0)for(Vc(1),n=0;;){if((n|0)>=(a|0))break e;u[i+(n<<3)>>3]=+_l()*100,n=n+1|0}while(0);if(n=wg0(t,1)|0,!(j1(n,0)|0))H0(92430,92387,164,92466);else{a=Op(0,n,0,101e5,100,0)|0,+Hp(a,r,i,300),Vp(a),a=Op(0,n,0,101e3,100,0)|0,+Hp(a,r,i,300),Vp(a),a=Op(0,n,0,1010,100,0)|0,+Hp(a,r,i,300),Vp(a),a=Op(0,n,0,10.1,100,0)|0,+Hp(a,r,i,300),Vp(a),ql0(0,0,490,700,e[t>>2]|0,r,i),U2(n);return}}function VT(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(a=_0((v2(r)|0)<<4)|0,s=(n|0)!=0,A=t+8|0,l=U0(r)|0,o=0;l;)s&&(o=o+((Yr(te(l)|0,92481,11)|0)==0&1)|0),w=e[l+16>>2]|0,c=e[w+120>>2]<<1,u[a+(c<<3)>>3]=+u[w+32>>3]*.5+ +u[t>>3],u[a+((c|1)<<3)>>3]=+u[w+40>>3]*.5+ +u[A>>3],l=X0(r,l)|0;if(s&(o|0)!=0){for(t=_0(o<<2)|0,l=U0(r)|0,o=0;l;)Yr(te(l)|0,92481,11)|0||(e[t+(o<<2)>>2]=e[(e[l+16>>2]|0)+120>>2],o=o+1|0),l=X0(r,l)|0;e[n>>2]=t,e[i>>2]=o}return a|0}function HT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0;if(N=g,g=g+32|0,L=N+16|0,_=N+8|0,z=N,r){for(G=v2(r)|0,W=ys(r)|0,t=U0(r)|0,n=0;t;)e[(e[t+16>>2]|0)+120>>2]=n,t=X0(r,t)|0,n=n+1|0;for(E=W<<2,m=_0(E)|0,E=_0(E)|0,t=W<<3,B=_0(t)|0,p=re(r,2,101541,0)|0,x=(i|0)!=0,x?(n=re(r,2,92493,0)|0,v=j0(t)|0,w=v):(w=0,n=0,v=0),A=(p|0)==0,a=(n|0)==0,s=U0(r)|0,t=0;s;){for(c=e[(e[s+16>>2]|0)+120>>2]|0,l=Me(r,s)|0;l;)e[m+(t<<2)>>2]=c,e[E+(t<<2)>>2]=e[(e[(e[((e[l>>2]&3|0)==2?l:l+-48|0)+40>>2]|0)+16>>2]|0)+120>>2],!A&&(T=k2(l,p)|0,e[_>>2]=z,(X2(T,101209,_)|0)==1)?o=+u[z>>3]:(u[z>>3]=1,o=1),u[B+(t<<3)>>3]=o,a||(T=k2(l,n)|0,e[L>>2]=z,(X2(T,101209,L)|0)==1?o=+u[z>>3]:(u[z>>3]=1,o=1),u[w+(t<<3)>>3]=o),l=Qe(r,l)|0,t=t+1|0;s=X0(r,s)|0}t=Rs(W,G,G,m,E,B,1,8)|0,x&&(e[i>>2]=Rs(W,G,G,m,E,v,1,8)|0),r0(m),r0(E),r0(B),w&&r0(v)}else t=0;return g=N,t|0}function JT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;c=g,g=g+16|0,a=c;e:do if(pg0(r,a)|0){for(t=e[(e[(U0(r)|0)+16>>2]|0)+132>>2]|0,l=+u[t>>3],n=+u[t+8>>3],t=U0(r)|0;t;)o=e[(e[t+16>>2]|0)+132>>2]|0,u[o>>3]=+u[o>>3]-l,o=o+8|0,u[o>>3]=+u[o>>3]-n,t=X0(r,t)|0;for(t=(l!=0|n!=0)&1,i=U0(r)|0;;){if(!i)break e;if(o=Me(r,i)|0,o|0)break;i=X0(r,i)|0}if(w=e[o>>2]&3,i=e[(e[(e[((w|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+132>>2]|0,o=e[(e[(e[((w|0)==3?o:o+48|0)+40>>2]|0)+16>>2]|0)+132>>2]|0,s=+u[o+8>>3],A=+u[o>>3],n=+I2(+(+u[i+8>>3]-s),+(+u[i>>3]-A)),n=+u[a>>3]-n,u[a>>3]=n,n!=0)for(l=+ee(+n),n=+le(+n),t=U0(r)|0;;){if(!t){t=1;break e}a=e[(e[t+16>>2]|0)+132>>2]|0,v=+u[a>>3]-A,w=a+8|0,p=+u[w>>3]-s,u[a>>3]=v*l+A-p*n,u[w>>3]=v*n+s+p*l,t=X0(r,t)|0}}else t=0;while(0);return g=c,t|0}function pg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,n=o,r=he(r,92497)|0;do if(r|0&&y[r>>0]|0){if(i=+P1(r,n),(e[n>>2]|0)==(r|0))if((jt(r)|0)<<24>>24)i=0;else{r=0;break}for(;i>180;)i=i+-360;for(;i<=-180;)i=i+360;u[t>>3]=i*.017453292519943295,r=1}else r=0;while(0);return g=o,r|0}function UT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=he(r,92507)|0,XT(r,n|0?n:i|0?i:195059,t)|0}function XT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;if(c=g,g=g+32|0,a=c+16|0,s=c+8|0,l=c,t|0&&y[t>>0]|0){for(n=17896;o=e[n+4>>2]|0,!!o;){if(!(go(t,o,e[n+8>>2]|0)|0)){A=6;break}n=n+16|0}(A|0)==6&&(e[n+12>>2]|0||(e[l>>2]=o,$0(0,92515,l)|0,n=17896),l=e[n>>2]|0,e[i>>2]=l,e[i+4>>2]=e[n+12>>2],(l|0)==18&&kg0(r,t+(e[n+8>>2]|0)|0,i)),e[n+4>>2]|0||(n=DA(t,63)|0,n<<24>>24==63?(e[s>>2]=t,$0(0,92557,s)|0,n=0):n=n&255,n=(n|0)==0,e[i>>2]=n&1,n=n?92604:135709,A=15)}else e[i>>2]=0,n=135709,A=15;return(A|0)==15&&(e[i+4>>2]=n),g=c,i|0}function kg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=g,g=g+16|0,o=n,l=n+4|0,e[o>>2]=l,o=(X2(t,137395,o)|0)>0,t=e[l>>2]|0,e[i+8>>2]=o&(t|0)>-1?t:1e3,u[i+16>>3]=+sr(r,re(r,0,92648,0)|0,-4,-1e10),g=n}function _c(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;s=g,g=g+16|0,l=s+8|0,o=s;do if((v2(r)|0)>=2){if(i=JT(r)|0,i=(vg0(r)|0)+i|0,n=e[t>>2]|0,n){if(n>>>0>2){switch(n|0){case 3:{n=oE(r,1)|0;break}case 4:{n=oE(r,0)|0;break}case 6:case 5:{n=0;break}case 10:case 9:case 7:case 8:case 14:case 13:case 11:case 12:{Qg0(r,n)|0,n=0;break}case 15:{n=oE(r,-1)|0;break}default:e[l>>2]=e[t+4>>2],$0(0,93e3,l)|0,n=0}i=n+i|0;break}if(mg0(r)|0){qT(),r0(e[46845]|0),e[46845]=0;break}gg0(r),(e[t>>2]|0)==2?n=yg0()|0:n=Cg0()|0,n|0&&Eg0(),qT(),r0(e[46845]|0),e[46845]=0,i=n+i|0}}else i=0;while(0);return g=s,i|0}function vg0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=g,g=g+48|0,s=c+24|0,o=c+16|0,A=c,t=he(r,140742)|0;e:do if(t|0&&(a=A+8|0,e[o>>2]=A,e[o+4>>2]=a,n=X2(t,105503,o)|0,(n|0)!=0)&&(l=+u[A>>3],!(+L0(+l)<1e-9))){if((n|0)!=1){if(i=+u[a>>3],+L0(+i)<1e-9){t=0;break}}else u[a>>3]=l,i=l;if(i==1&l==1)t=0;else for(t=U0(r)|0;;){if(!t){t=1;break e}s=e[(e[t+16>>2]|0)+132>>2]|0,u[s>>3]=+u[s>>3]*+u[A>>3],s=s+8|0,u[s>>3]=+u[s>>3]*+u[a>>3],t=X0(r,t)|0}}else t=0;while(0);return g=c,t|0}function mg0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(a=g,g=g+16|0,s=a,e[46854]=v2(r)|0,hy0(),e[46869]=_0((e[46854]|0)*96|0)|0,n=U0(r)|0,t=e[46869]|0,zc(s,r),o=+x0[s>>2],l=+x0[s+4>>2],s=(y[s+8>>0]|0)==0,l=s?l:l*.013888888888888888,o=s?o:o*.013888888888888888,s=s?2:1,i=0;;){if((i|0)>=(e[46854]|0)){t=0;break}if(c=e[(e[n+16>>2]|0)+132>>2]|0,u[t+8>>3]=+u[c>>3],u[t+16>>3]=+u[c+8>>3],XY[s&3](t+40|0,n,o,l)|0){A=4;break}e[t+24>>2]=i,e[t+28>>2]=1,e[t>>2]=n,e[t+88>>2]=0,t=t+96|0,i=i+1|0,n=X0(r,n)|0}return(A|0)==4&&(r0(e[46869]|0),e[46869]=0,t=1),g=a,t|0}function qT(){var r=0,t=0;for(r=e[46869]|0,t=0;!((t|0)>=(e[46854]|0));)Hy0(r+40|0),r=r+96|0,t=t+1|0;Vy0(),CF(),r0(e[46869]|0)}function gg0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(w=g,g=g+32|0,a=w+16|0,c=w,p=e[46869]|0,l=+u[p+8>>3],A=+u[p+16>>3],n=e[46854]|0,t=p,i=1,o=+u[p+40>>3]+l,l=+u[p+56>>3]+l,s=+u[p+48>>3]+A,A=+u[p+64>>3]+A;!((i|0)>=(n|0));)E=+u[t+104>>3],v=+u[t+112>>3],B=+u[t+136>>3]+E,m=+u[t+144>>3]+v,E=+u[t+152>>3]+E,v=+u[t+160>>3]+v,t=t+96|0,i=i+1|0,o=Bl?E:l,s=mA?v:A;t=he(r,93100)|0,t|0&&y[t>>0]|0&&(u[173]=+Fl(t)),E=+u[173],B=E*(A-s),E=E*(l-o),u[a>>3]=o-E,u[a+8>>3]=s-B,u[c>>3]=E+l,u[c+8>>3]=B+A,bT(a,c),g=w}function yg0(){var r=0,t=0,i=0,n=0;if(i=g,g=g+16|0,t=i,Jp(0)|0){$T(),r=0;do Zg0(),r=r+1|0;while(Jp(r)|0);r=1}else r=0;return g=i,r|0}function Cg0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+16|0,s=A+8|0,l=A,t=Jp(0)|0,!t)r=0;else{for($T(),KT(0),eP(0,1),r=0,n=0,i=0;Ig0(),i=i+1|0,o=Jp(i)|0,!!o;)t=(o|0)<(t|0)?0:n+1|0,e[46846]=1,t&&(xg0(),r=r+1|0),KT(1),eP(0,1),n=t,t=o;Sg0(),r=1}return g=A,r|0}function Eg0(){var r=0,t=0,i=0,n=0;for(i=e[46854]|0,r=e[46869]|0,t=0;!((t|0)>=(i|0));)n=e[(e[(e[r>>2]|0)+16>>2]|0)+132>>2]|0,u[n>>3]=+u[r+8>>3],u[n+8>>3]=+u[r+16>>3],r=r+96|0,t=t+1|0}function Jp(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(E=g,g=g+48|0,v=E+24|0,p=E+8|0,m=E,i=e[46869]|0,n=e[46854]|0,t=0;;){if((t|0)>=(n|0)){o=0,t=0;break}e[i+(t*96|0)+32>>2]=0,t=t+1|0}e:for(;!((t|0)>=(n+-1|0));)for(w=i+96|0,t=t+1|0,a=i+8|0,c=i+40|0,A=i+32|0,l=w,s=t;;){if((s|0)>=(n|0)){i=w;continue e}n=l+8|0,e[p>>2]=e[a>>2],e[p+4>>2]=e[a+4>>2],e[p+8>>2]=e[a+8>>2],e[p+12>>2]=e[a+12>>2],e[v>>2]=e[n>>2],e[v+4>>2]=e[n+4>>2],e[v+8>>2]=e[n+8>>2],e[v+12>>2]=e[n+12>>2],qy0(p,c,v,l+40|0)|0?(e[A>>2]=1,e[l+32>>2]=1,i=o+1|0):i=o,l=l+96|0,s=s+1|0,o=i,n=e[46854]|0}return g=E,o|0}function $T(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;eF(),a=e[46848]|0,c=e[46869]|0,r=e[46845]|0;e:for(;s=r,!(r>>>0>=a>>>0);){if(t=r+4|0,t>>>0>=a>>>0){r=t;continue}if(o=e[t>>2]|0,i=e[r>>2]|0,l=+u[i>>3],+u[o>>3]!=l){r=t;continue}if(n=+u[i+8>>3],+u[o+8>>3]!=n){r=t;continue}for(A=r+8|0,o=2;!(A>>>0>=a>>>0);){if(i=e[A>>2]|0,+u[i>>3]!=l){w=11;break}if(+u[i+8>>3]!=n){w=11;break}A=A+4|0,o=o+1|0}if((w|0)==11&&(w=0,i=e[A>>2]|0,+u[i+8>>3]==n))for(n=(+u[i>>3]-l)/+(o|0),i=(((A>>>0>t>>>0?A:t)+-1+(0-s)|0)>>>2)+1|0,r=1;;){if((r|0)==(i|0)){r=A;continue e}s=e[t>>2]|0,u[s>>3]=+u[s>>3]+n*+(r|0),r=r+1|0,t=t+4|0}for(;;){if(t>>>0>=A>>>0){r=A;continue e}o=e[r>>2]|0,p=e[o+16>>2]|0,s=e[t>>2]|0,i=e[s+16>>2]|0,u[s>>3]=(+u[c+(p*96|0)+56>>3]-+u[c+(p*96|0)+40>>3]+ +u[c+(i*96|0)+56>>3]-+u[c+(i*96|0)+40>>3])*.5+ +u[o>>3],t=t+4|0,r=r+4|0}}}function KT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(r|0&&eF(),s=e[46845]|0,A=e[s>>2]|0,i=+u[A>>3],u[23272]=i,a=e[46854]|0,o=1,l=+u[A>>3];!((o|0)>=(a|0));)r=e[s+(o<<2)>>2]|0,t=+u[r>>3],t>3]):(n=t,t=i),o=o+1|0,i=t,l=n>l?n:l;n=+u[A+8>>3],u[23273]=n,u[23275]=+u[(e[s+(a+-1<<2)>>2]|0)+8>>3]-n,u[23274]=l-i}function Bg0(){var r=0;return r=e[46847]|0,r>>>0<(e[46848]|0)>>>0?(e[46847]=r+4,r=e[r>>2]|0):r=0,r|0}function Ig0(){var r=0,t=0,i=0;for(r=e[46869]|0,_g0(),i=(e[46846]|0)==0,t=0;!((t|0)>=(e[46854]|0));)i&&!(e[r+32>>2]|0)||zg0(r),r=r+96|0,t=t+1|0}function xg0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;r=g,g=g+32|0,i=r+16|0,t=r,a=+u[23268],A=+u[23266],s=+u[23269],o=+u[23267],n=(A-o)*.05,l=(a-s)*.05,u[t>>3]=l+a,u[t+8>>3]=A+n,u[i>>3]=s-l,u[i+8>>3]=o-n,bT(i,t),g=r}function Sg0(){ky0(),my0(),KF(),hF()}function bT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=+u[r>>3],u[23269]=l,o=+u[t>>3],u[23268]=o,i=+u[r+8>>3],u[23267]=i,n=+u[t+8>>3],u[23266]=n,u[23258]=l,u[23260]=l,u[23262]=o,u[23264]=o,u[23265]=n,u[23261]=n,u[23263]=i,u[23259]=i}function _g0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for(w=e[46869]|0,l=w+8|0,o=+JA(l,186064),n=+JA(l,186080),i=+JA(l,186096),r=1,t=+JA(l,186112),l=w,s=w,A=w,a=w;c=w+96|0,!((r|0)>=(e[46854]|0));)E=w+104|0,B=+JA(E,186064),p=B>2]|0,p=a+8|0,t=0,i=0,n=0,a=e[a>>2]|0;o=e[a>>2]|0,!!o;)B=a+8|0,E=o+8|0,e[l>>2]=e[p>>2],e[l+4>>2]=e[p+4>>2],e[l+8>>2]=e[p+8>>2],e[l+12>>2]=e[p+12>>2],e[s>>2]=e[B>>2],e[s+4>>2]=e[B+4>>2],e[s+8>>2]=e[B+8>>2],e[s+12>>2]=e[B+12>>2],e[A>>2]=e[E>>2],e[A+4>>2]=e[E+4>>2],e[A+8>>2]=e[E+8>>2],e[A+12>>2]=e[E+12>>2],m=+Lg0(l,s,A),e[l>>2]=e[p>>2],e[l+4>>2]=e[p+4>>2],e[l+8>>2]=e[p+8>>2],e[l+12>>2]=e[p+12>>2],e[s>>2]=e[B>>2],e[s+4>>2]=e[B+4>>2],e[s+8>>2]=e[B+8>>2],e[s+12>>2]=e[B+12>>2],e[A>>2]=e[E>>2],e[A+4>>2]=e[E+4>>2],e[A+8>>2]=e[E+8>>2],e[A+12>>2]=e[E+12>>2],Rg0(l,s,A,c,w),t=+u[w>>3]*m+t,i=+u[c>>3]*m+i,n=m+n,a=o;u[r+8>>3]=i/n,u[r+16>>3]=t/n,g=v}function Lg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return n=+u[t+8>>3],l=+u[i+8>>3],o=+u[r+8>>3],+(+L0(+((l-o)*+u[t>>3]+(n-l)*+u[r>>3]+ +u[i>>3]*(o-n)))*.5)}function Rg0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,u[n>>3]=(+u[t>>3]+ +u[r>>3]+ +u[i>>3])*.3333333333333333,u[o>>3]=(+u[t+8>>3]+ +u[r+8>>3]+ +u[i+8>>3])*.3333333333333333}function eF(){var r=0,t=0,i=0,n=0;for(r=e[46845]|0,r||(r=_0(e[46854]<<2)|0,e[46845]=r,e[46848]=r+(e[46854]<<2)),i=e[46869]|0,CF(),n=e[46854]|0,t=0;!((t|0)>=(n|0));)e[r>>2]=i+8,e[i+88>>2]=0,e[i+28>>2]=1,i=i+96|0,r=r+4|0,t=t+1|0;ei(e[46845]|0,n,4,69),e[46847]=e[46845]}function Gg0(r,t){r=r|0,t=t|0;var i=0,n=0;return r=e[r>>2]|0,t=e[t>>2]|0,i=+u[r+8>>3],n=+u[t+8>>3],in?r=1:(n=+u[r>>3],i=+u[t>>3],ni&1),r|0}function Zg0(){var r=0,t=0,i=0,n=0;for(i=e[46854]|0,r=0,t=e[46869]|0;!((r|0)>=(i|0));)n=t+8|0,u[n>>3]=+u[n>>3]*1.05,n=t+16|0,u[n>>3]=+u[n>>3]*1.05,r=r+1|0,t=t+96|0}function zc(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;s=g,g=g+48|0,l=s,o=s+24|0,i=he(t,93112)|0,i|0&&Up(i,o,1,0)|0||(n=3);do if((n|0)==3){if(t=he(t,93116)|0,t|0&&Up(t,o,.800000011920929,4)|0)break;x0[o+4>>2]=4,x0[o>>2]=4,y[o+8>>0]=1}while(0);e[r>>2]=e[o>>2],e[r+4>>2]=e[o+4>>2],e[r+8>>2]=e[o+8>>2],g=s}function Up(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(w=g,g=g+16|0,a=w,s=w+12|0,A=w+8|0;o=y[r>>0]|0,l=r+1|0,an(o<<24>>24)|0;)r=l;switch(p=o<<24>>24==43,o=t+8|0,y[o>>0]=p&1,e[a>>2]=s,e[a+4>>2]=A,X2(p?l:r,93154,a)|0){case 0:{r=0;break}case 1:{e[A>>2]=e[s>>2],c=5;break}default:c=5}if((c|0)==5){do if(y[o>>0]|0){if(i>1){v=+x0[s>>2]/i,x0[t>>2]=v>n?n:v,i=+x0[A>>2]/i,i=i>n?n:i;break}if(i<1){v=+x0[s>>2]/i,x0[t>>2]=v>2]/i,i=i>2]=e[s>>2],i=+x0[A>>2];break}}else x0[t>>2]=+x0[s>>2]/i+1,i=+x0[A>>2]/i+1;while(0);x0[t+4>>2]=i,r=1}return g=w,r|0}function rF(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+32|0,i=n,(v2(r)|0)<2?r=0:(XT(r,t,i)|0,r=_c(r,i)|0),g=n,r|0}function Uh(r){return r=r|0,rF(r,he(r,92507)|0)|0}function Wg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;s=g,g=g+48|0,l=s,o=s+24|0,i=he(t,93116)|0,i|0&&Up(i,o,1,0)|0||(n=3);do if((n|0)==3){if(t=he(t,93112)|0,t|0&&Up(t,o,1.25,3.200000047683716)|0)break;x0[o+4>>2]=3.200000047683716,x0[o>>2]=3.200000047683716,y[o+8>>0]=1}while(0);e[r>>2]=e[o>>2],e[r+4>>2]=e[o+4>>2],e[r+8>>2]=e[o+8>>2],g=s}function Lc(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(v=g,g=g+16|0,p=v,l=0;!((l|0)>=(i|0));)e[n+(l<<2)>>2]=-1,l=l+1|0;e[n+(r<<2)>>2]=0,Dg0(o,r);e:do if(e[t+8>>2]|0){l=2147483647;r:for(;;){if(!((tF(o,p)|0)<<24>>24))break e;for(a=e[p>>2]|0,l=e[n+(a<<2)>>2]|0,s=t+(a*20|0)|0,A=t+(a*20|0)+4|0,a=t+(a*20|0)+8|0,r=1;;){if((r|0)>=(e[s>>2]|0))continue r;c=e[(e[A>>2]|0)+(r<<2)>>2]|0,w=n+(c<<2)|0,(e[w>>2]|0)<0&&(e[w>>2]=l+~~+x0[(e[a>>2]|0)+(r<<2)>>2],iF(o,c)|0),r=r+1|0}}}else{l=2147483647;r:for(;;){if(!((tF(o,p)|0)<<24>>24))break e;for(A=e[p>>2]|0,l=e[n+(A<<2)>>2]|0,s=t+(A*20|0)|0,A=t+(A*20|0)+4|0,a=l+1|0,r=1;;){if((r|0)>=(e[s>>2]|0))continue r;c=e[(e[A>>2]|0)+(r<<2)>>2]|0,w=n+(c<<2)|0,(e[w>>2]|0)<0&&(e[w>>2]=a,iF(o,c)|0),r=r+1|0}}}while(0);for(r=l+10|0,l=0;!((l|0)>=(i|0));)s=n+(l<<2)|0,(e[s>>2]|0)<0&&(e[s>>2]=r),l=l+1|0;g=v}function Dg0(r,t){r=r|0,t=t|0,e[e[r>>2]>>2]=t,e[r+12>>2]=0,e[r+8>>2]=1}function tF(r,t){r=r|0,t=t|0;var i=0,n=0;return i=r+12|0,n=e[i>>2]|0,(n|0)<(e[r+8>>2]|0)?(r=e[r>>2]|0,e[i>>2]=n+1,e[t>>2]=e[r+(n<<2)>>2],r=1):r=0,r|0}function iF(r,t){r=r|0,t=t|0;var i=0,n=0;return i=r+8|0,n=e[i>>2]|0,(n|0)<(e[r+4>>2]|0)?(r=e[r>>2]|0,e[i>>2]=n+1,e[r+(n<<2)>>2]=t,r=1):r=0,r|0}function Xh(r,t){r=r|0,t=t|0,e[r>>2]=_0(t<<2)|0,e[r+4>>2]=t,e[r+8>>2]=0,e[r+12>>2]=0}function Xp(r){r=r|0,r0(e[r>>2]|0)}function nF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=0;!((l|0)>=(r|0));){for(s=t+(l<<2)|0,o=0,n=0;(o|0)!=(r|0);)(l|0)!=(o|0)&&(n=+u[(e[s>>2]|0)+(o<<3)>>3]+n),o=o+1|0;u[(e[s>>2]|0)+(l<<3)>>3]=-n,l=l+1|0}return Wy0(t,i,r+-1|0)|0}function Mg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(A=PA(t,t,0)|0,a=PA(t,t,0)|0,n=U0(r)|0;n;){for(i=Jr(r,n)|0;i;)l=e[i>>2]&3,o=(e[e[((l|0)==3?i:i+48|0)+40>>2]>>2]|0)>>>4,l=(e[e[((l|0)==2?i:i+-48|0)+40>>2]>>2]|0)>>>4,(o|0)!=(l|0)&&(c=-1/+u[(e[i+16>>2]|0)+136>>3],u[(e[A+(l<<2)>>2]|0)+(o<<3)>>3]=c,u[(e[A+(o<<2)>>2]|0)+(l<<3)>>3]=c),i=ot(r,i,n)|0;n=X0(r,n)|0}s=nF(t,A,a)|0;e:do if(s|0)for(o=r+16|0,n=0;;){if((n|0)>=(t|0))break e;for(l=a+(n<<2)|0,i=0;(i|0)!=(t|0);)r=e[l>>2]|0,u[(e[(e[(e[o>>2]|0)+160>>2]|0)+(n<<2)>>2]|0)+(i<<3)>>3]=+u[(e[a+(i<<2)>>2]|0)+(i<<3)>>3]+ +u[r+(n<<3)>>3]+ +u[r+(i<<3)>>3]*-2,i=i+1|0;n=n+1|0}while(0);return YA(A),YA(a),s|0}function jg0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(z=g,g=g+16|0,c=z,v=n<<3,m=_0(v)|0,E=_0(v)|0,B=_0(v)|0,w=_0(v)|0,p=_0(v)|0,v=_0(v)|0,ik(n,i,v),qA(n,v),qA(n,t),DF(r,n,t,w),rk(n,v,w,m),ik(n,m,E),a=l+-1|0,i=0,s=+Zc(n,m,m);;){if((i|0)>=(l|0)){i=0;break}if(!(+jF(n,m)>o)){i=0;break}if(DF(r,n,E,B),A=+Zc(n,E,B),A==0){i=0;break}if(A=s/A,Gc(n,E,A,p),tk(n,t,p,t),(i|0)<(a|0)){if(Gc(n,B,A,B),rk(n,m,B,m),A=+Zc(n,m,m),s==0){x=7;break}Gc(n,E,A/s,E),tk(n,m,E,E),s=A}i=i+1|0}return(x|0)==7&&($0(1,93242,c)|0,i=1),r0(m),r0(E),r0(B),r0(w),r0(p),r0(v),g=z,i|0}function oF(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(z=g,g=g+16|0,c=z,m=n<<3,E=_0(m)|0,B=_0(m)|0,w=_0(m)|0,p=_0(m)|0,v=_0(m)|0,m=_0(m)|0,ik(n,i,m),s<<24>>24&&(qA(n,m),qA(n,t)),MF(r,n,t,p),rk(n,m,p,E),ik(n,E,B),s=l+-1|0,i=0,A=+Zc(n,E,E);;){if((i|0)>=(l|0)){i=0;break}if(!(+jF(n,E)>o)){i=0;break}if(MF(r,n,B,w),a=+Zc(n,B,w),a==0){i=0;break}if(a=A/a,Gc(n,B,a,v),tk(n,t,v,t),(i|0)<(s|0)){if(Gc(n,w,a,w),rk(n,E,w,E),a=+Zc(n,E,E),A==0){x=9;break}Gc(n,B,a/A,B),tk(n,E,B,B),A=a}i=i+1|0}return(x|0)==9&&($0(1,93242,c)|0,i=1),r0(E),r0(B),r0(w),r0(p),r0(v),r0(m),g=z,i|0}function tE(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(B=g,g=g+16|0,c=B,w=n<<2,p=j0(w)|0,v=j0(w)|0,m=j0(w)|0,w=j0(w)|0,$A(n,t),$A(n,i),Wc(r,n,t,w),$A(n,w),Ny0(n,i,w,p),QF(n,p,v),a=l+-1|0,i=0,s=+Df(n,p,p);;){if((i|0)>=(l|0)){i=0;break}if(!(+Ty0(n,p)>o)){i=0;break}if($A(n,v),$A(n,t),$A(n,p),Wc(r,n,v,m),$A(n,m),A=+Df(n,v,m),A==0){i=0;break}if(A=s/A,nk(n,t,A,v),(i|0)<(a|0)){if(nk(n,p,-A,m),A=+Df(n,p,p),s==0){E=7;break}Qy0(n,v,A/s,v),pE(n,p,v,v),s=A}i=i+1|0}return(E|0)==7&&($0(1,93242,c)|0,i=1),r0(p),r0(v),r0(m),r0(w),g=B,i|0}function Ng0(r,t,i,n,o,l,s,A,a,c){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,c=+c;var w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0;f0=g,g=g+48|0,U=f0+24|0,P=f0+16|0,D=f0+8|0,T=f0,t0=f0+40|0,Y=f0+36|0,F=f0+32|0,E=s&4,e[t0>>2]=0,e[Y>>2]=0;e:do if(e[r+16>>2]|0){for(p=0,w=0;!((p|0)>=(t|0));){for(B=e[r+(p*20|0)>>2]|0,x=r+(p*20|0)+16|0,m=1;!((m|0)>=(B|0));)w<<24>>24?w=1:w=+x0[(e[x>>2]|0)+(m<<2)>>2]!=0,m=m+1|0,w=w&1;p=p+1|0}if(w<<24>>24){if(W=(E|0)!=0,W){m=n+4|0;r:do if((l|0)>2){if(w=l+-1|0,(Fp(r,t,i,m,o,w,s,A,15)|0)<0){w=-1;break e}for(p=n+(w<<2)|0,w=0;;){if((w|0)>=(t|0))break r;u[(e[p>>2]|0)+(w<<3)>>3]=+u[(e[m>>2]|0)+(w<<3)>>3],w=w+1|0}}while(0);if(G=e[n>>2]|0,_=e[m>>2]|0,!(OF(r,t,_,t)|0)&&!(MZ(r,t,.01,.1,_,t0,Y,F)|0)){if(L=e[F>>2]|0,(L|0)<1){w=Fp(r,t,i,n,o,l,s,A,a)|0;break}r:do if(c>0)for(E=e[t0>>2]|0,B=e[Y>>2]|0,x=L+-1|0,v=0,m=0;;){if((m|0)>=(L|0))break r;for(w=e[B+(m<<2)>>2]|0,N=c-v-+u[_+(e[E+(w<<2)>>2]<<3)>>3]+ +u[_+(e[E+(w+-1<<2)>>2]<<3)>>3],v=(N<0?0:N)+v,(m|0)<(x|0)?p=e[B+(m+1<<2)>>2]|0:p=t;!((w|0)>=(p|0));)q=_+(e[E+(w<<2)>>2]<<3)|0,u[q>>3]=+u[q>>3]+v,w=w+1|0;m=m+1|0}while(0);(l|0)==2&&l90(r,t,_,G,+u[23294])|0?(p=0,w=-1):H=33}else p=0,w=-1}else fT(r,t,l,n,o)|0,MZ(r,t,.01,.1,0,t0,Y,F)|0?(p=0,w=-1):H=33;r:do if((H|0)==33){if((t|0)==1){w=0;break e}if(q=_0(e[F>>2]<<2)|0,!a){w=0;break e}switch(A|0){case 2:{w=hT(r,t)|0,H=46;break}case 1:{w=aT(r,t)|0,w?J=w:($0(0,93315,T)|0,$0(3,93364,D)|0,H=47);break}case 3:{w=cT(r,t)|0,H=46;break}default:H=47}(H|0)==46&&(w?J=w:H=47),(H|0)==47&&(J=OC(r,t)|0),r=t+-1|0,G=(N0(r,t)|0)/2|0,P=G+t|0;t:do if(!W){for(v=1,p=0;!((p|0)>=(l|0));){for(m=n+(p<<2)|0,w=0;!((w|0)>=(t|0));)N=+L0(+ +u[(e[m>>2]|0)+(w<<3)>>3]),v=N>v?N:v,w=w+1|0;p=p+1|0}for(v=1/v,p=0;;){if((p|0)>=(l|0))break t;for(m=n+(p<<2)|0,w=0;!((w|0)>=(t|0));)D=(e[m>>2]|0)+(w<<3)|0,u[D>>3]=+u[D>>3]*(10*v),w=w+1|0;p=p+1|0}}while(0);t:do if(c>0){z=+(G|0),w=0,v=0,E=0;i:for(;!((E|0)>=(r|0));)for(B=E+1|0,m=w,p=B;;){if(w=m+1|0,(p|0)>=(t|0)){E=B;continue i}N=+IF(n,l,E,p),m=w,v=N/+x0[J+(w<<2)>>2]+v,p=p+1|0}for(v=v/z,w=0;;){if((w|0)>=(P|0)){w=0;break t}D=J+(w<<2)|0,x0[D>>2]=+x0[D>>2]*v,w=w+1|0}}else w=0;while(0);for(;!((w|0)>=(l|0));)qA(t,e[n+(w<<2)>>2]|0),w=w+1|0;for(p=e[n+4>>2]|0,v=+u[p>>3],w=0;!((w|0)>=(t|0));)D=p+(w<<3)|0,u[D>>3]=+u[D>>3]-v,w=w+1|0;for(x=l<<2,D=_0(x)|0,L=t<<2,_=N0(L,l)|0,m=_0(_)|0,w=0;!((w|0)>=(l|0));){for(E=m+((N0(w,t)|0)<<2)|0,e[D+(w<<2)>>2]=E,B=n+(w<<2)|0,p=0;!((p|0)>=(t|0));)x0[E+(p<<2)>>2]=+u[(e[B>>2]|0)+(p<<3)>>3],p=p+1|0;w=w+1|0}for(z=+(G|0),ok(P,J),FF(P,J),T=_0(t<<3)|0,TF(t,0,T),w=0,m=0;;){if((m|0)>=(r|0)){w=t,p=0,m=0;break}for(E=t-m|0,v=0,p=1;w=w+1|0,!((p|0)>=(E|0));)N=+x0[J+(w<<2)>>2],U=T+(p+m<<3)|0,u[U>>3]=+u[U>>3]-N,v=v+N,p=p+1|0;U=T+(m<<3)|0,u[U>>3]=+u[U>>3]-v,m=m+1|0}for(;!((p|0)>=(t|0));)x0[J+(m<<2)>>2]=+u[T+(p<<3)>>3],U=w+m|0,w=w+-1|0,p=p+1|0,m=U;for(A=_0(x)|0,e[A>>2]=_0(_)|0,w=1;!((w|0)>=(l|0));)e[A+(w<<2)>>2]=(e[A>>2]|0)+((N0(w,t)|0)<<2),w=w+1|0;for(W=_0(L)|0,o=_0(L)|0,s=_0(P<<2)|0,p=$F(J,t)|0,i=i90(J,t,e[t0>>2]|0,e[Y>>2]|0,e[F>>2]|0)|0,G=A+4|0,m=0,N=17976931348623157e292,w=0;m<<24>>24==0&(w|0)<(a|0);){for(TF(t,0,T),PF(P,J,s),_=0,B=0;;){if((_|0)>=(r|0)){m=0,E=t,B=0;break}for(L=t-_+-1|0,Kh(t,0,o),m=0;!((m|0)>=(l|0));)F=D+(m<<2)|0,Kh(L,+x0[(e[F>>2]|0)+(_<<2)>>2],W),nk(L,W,-1,(e[F>>2]|0)+(_<<2)+4|0),ok(L,W),pE(L,W,o,o),m=m+1|0;for(YF(L,o),m=0;!((m|0)>=(L|0));)E=o+(m<<2)|0,v=+x0[E>>2],v>=34028234663852886e22|v<0&&(x0[E>>2]=0),m=m+1|0;for(x=_+1|0,v=0,m=B,E=0;m=m+1|0,!((E|0)>=(L|0));)F=s+(m<<2)|0,k0=+x0[F>>2]*+x0[o+(E<<2)>>2],x0[F>>2]=k0,F=T+(x+E<<3)|0,u[F>>3]=+u[F>>3]-k0,v=v+k0,E=E+1|0;B=T+(_<<3)|0,u[B>>3]=+u[B>>3]-v,_=x,B=m}for(;;){if((m|0)>=(t|0)){m=0;break}x0[s+(B<<2)>>2]=+u[T+(m<<3)>>3],F=E+B|0,m=m+1|0,E=E+-1|0,B=F}for(;;){if((m|0)>=(l|0)){v=0,m=0;break}Wc(s,t,e[D+(m<<2)>>2]|0,e[A+(m<<2)>>2]|0),m=m+1|0}for(;!((m|0)>=(l|0));)v=+Df(t,e[D+(m<<2)>>2]|0,e[A+(m<<2)>>2]|0)+v,m=m+1|0;for(v=v*2+z,m=0;!((m|0)>=(l|0));)F=D+(m<<2)|0,Wc(J,t,e[F>>2]|0,W),v=v-+Df(t,e[F>>2]|0,W),m=m+1|0;for(k0=+L0(+(v-N))/+L0(+(N+1e-10)),m=((w|0)>1&v>N|k0<+u[23294])&1,E=0;!((E|0)>=(l|0));){if((E|0)!=1){if(tE(J,e[D+(E<<2)>>2]|0,e[A+(E<<2)>>2]|0,t,.001,t)|0){w=-1;break r}}else by0(i,e[G>>2]|0,D,l,1,15,q,c)|0;E=E+1|0}N=v,w=w+1|0}if(r0(q),t90(i),D|0){for(m=0;!((m|0)>=(l|0));){for(B=D+(m<<2)|0,x=n+(m<<2)|0,E=0;!((E|0)>=(t|0));)u[(e[x>>2]|0)+(E<<3)>>3]=+x0[(e[B>>2]|0)+(E<<2)>>2],E=E+1|0;m=m+1|0}r0(e[D>>2]|0),r0(D)}A|0&&(r0(e[A>>2]|0),r0(A)),r0(W),r0(o),r0(T),r0(J),r0(s)}while(0);r0(e[t0>>2]|0),r0(e[Y>>2]|0),p&&(r0(e[p>>2]|0),r0(p))}else H=10}else H=10;while(0);return(H|0)==10&&(w=Fp(r,t,i,n,o,l,s,A,a)|0),g=f0,w|0}function Qg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(c=g,g=g+48|0,o=c+24|0,l=c+12|0,i=c,s=v2(r)|0,a=_0(s*48|0)|0,zc(i,r),e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],i=U0(r)|0,n=a;i;)e[o>>2]=e[l>>2],e[o+4>>2]=e[l+4>>2],e[o+8>>2]=e[l+8>>2],Tg0(i,n,o),i=X0(r,i)|0,n=n+48|0;e:do if(!(Fg0(a,s)|0))i=0;else{switch(t|0){case 9:{VA(r,a,s,70,1),HA(r,a,s,71,1),i=0,n=a;break}case 10:{HA(r,a,s,71,1),VA(r,a,s,70,1),i=0,n=a;break}case 7:{VA(r,a,s,72,1),HA(r,a,s,71,1),A=9;break}case 8:{A=9;break}case 13:{A=10;break}case 14:{HA(r,a,s,71,0),VA(r,a,s,70,0),i=0,n=a;break}case 12:{HA(r,a,s,73,0),VA(r,a,s,70,0),i=0,n=a;break}default:VA(r,a,s,72,0),HA(r,a,s,71,0),i=0,n=a}for((A|0)==9&&(HA(r,a,s,73,1),VA(r,a,s,70,1),A=10),(A|0)==10&&(VA(r,a,s,70,0),HA(r,a,s,71,0),i=0,n=a);;){if((i|0)>=(s|0)){i=1;break e}l=e[n+16>>2]|0,A=e[(e[(e[n+20>>2]|0)+16>>2]|0)+132>>2]|0,u[A>>3]=+(e[n+12>>2]|0)*.0013888888888888887,u[A+8>>3]=+(l|0)*.0013888888888888887,i=i+1|0,n=n+48|0}}while(0);return r0(a),g=c,i|0}function Tg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;n=e[r+16>>2]|0,s=e[n+132>>2]|0,A=+u[s>>3]*720,l=~~(A+(A>=0?.5:-.5)),A=+u[s+8>>3]*720,s=~~(A+(A>=0?.5:-.5)),y[i+8>>0]|0?(A=+u[n+32>>3]*36,a=+u[n+40>>3]*36,o=~~((+x0[i>>2]+ +(~~(A+(A>=0?.5:-.5))|0))*10),n=~~((+x0[i+4>>2]+ +(~~(a+(a>=0?.5:-.5))|0))*10)):(a=+u[n+32>>3]*72*(+x0[i>>2]*5),A=+u[n+40>>3]*72*(+x0[i+4>>2]*5),o=~~(a+(a>=0?.5:-.5)),n=~~(A+(A>=0?.5:-.5))),e[t+12>>2]=l,e[t+16>>2]=s,e[t+20>>2]=r,e[t+32>>2]=l-o,e[t+36>>2]=s-n,e[t+40>>2]=o+l,e[t+44>>2]=n+s}function Fg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=t+-1|0,i=0;e:for(;;){if((i|0)>=(c|0)){r=0;break}for(a=r+48|0,i=i+1|0,l=r+32|0,s=r+40|0,A=r+36|0,o=r+44|0,r=a,n=i;;){if((n|0)>=(t|0)){r=a;continue e}if((e[l>>2]|0)<=(e[r+40>>2]|0)&&(e[r+32>>2]|0)<=(e[s>>2]|0)&&(e[A>>2]|0)<=(e[r+44>>2]|0)&&(e[r+36>>2]|0)<=(e[o>>2]|0)){r=1;break e}r=r+48|0,n=n+1|0}}return r|0}function Pg0(r,t){return r=r|0,t=t|0,(e[r+36>>2]|0)>(e[t+44>>2]|0)?r=0:r=(e[t+36>>2]|0)<=(e[r+44>>2]|0)&1,r|0}function VA(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(A=at(18168,e[4584]|0)|0,l=t,s=0;!((s|0)>=(i|0));)e[l+8>>2]=e[l+12>>2],oe[e[A>>2]&63](A,l,1)|0,l=l+48|0,s=s+1|0;for(o?s=lF(A,n,74)|0:s=sF(r,A,n,74)|0,Bf(s,2,2147483647)|0,l=0;!((l|0)>=(i|0));)o=t+12|0,r=e[(e[(e[t+24>>2]|0)+16>>2]|0)+232>>2]|0,n=r-(e[o>>2]|0)|0,e[o>>2]=r,o=t+32|0,e[o>>2]=(e[o>>2]|0)+n,o=t+40|0,e[o>>2]=(e[o>>2]|0)+n,t=t+48|0,l=l+1|0;AF(s),Fr(A)|0}function Yg0(r,t){return r=r|0,t=t|0,(e[r+32>>2]|0)>(e[t+40>>2]|0)?r=0:r=(e[t+32>>2]|0)<=(e[r+40>>2]|0)&1,r|0}function HA(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(A=at(18168,e[4584]|0)|0,l=t,s=0;!((s|0)>=(i|0));)e[l+8>>2]=e[l+16>>2],oe[e[A>>2]&63](A,l,1)|0,l=l+48|0,s=s+1|0;for(o?s=lF(A,n,75)|0:s=sF(r,A,n,75)|0,Bf(s,2,2147483647)|0,l=0;!((l|0)>=(i|0));)o=t+16|0,r=e[(e[(e[t+24>>2]|0)+16>>2]|0)+232>>2]|0,n=r-(e[o>>2]|0)|0,e[o>>2]=r,o=t+36|0,e[o>>2]=(e[o>>2]|0)+n,o=t+44|0,e[o>>2]=(e[o>>2]|0)+n,t=t+48|0,l=l+1|0;AF(s),Fr(A)|0}function Og0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=r+32|0,n=t+32|0,(e[r+36>>2]|0)<=(e[t+44>>2]|0)&&(e[t+36>>2]|0)<=(e[r+44>>2]|0)?(e[r+40>>2]|0)<(e[n>>2]|0)?r=1:(l=nE(i,n)|0,l=l-(e[t+12>>2]|0)+(e[r+12>>2]|0)|0,t=e[t+16>>2]|0,r=e[r+16>>2]|0,o=(t|0)<(r|0),n=iE(i,n)|0,r=(l|0)<=(n-(o?r:t)+(o?t:r)|0)&1):r=0,r|0}function Vg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=r+32|0,n=t+32|0,(e[i>>2]|0)<=(e[t+40>>2]|0)&&(e[n>>2]|0)<=(e[r+40>>2]|0)?(e[r+44>>2]|0)<(e[t+36>>2]|0)?r=1:(l=iE(i,n)|0,l=l-(e[t+16>>2]|0)+(e[r+16>>2]|0)|0,t=e[t+12>>2]|0,r=e[r+12>>2]|0,o=(t|0)<(r|0),n=nE(i,n)|0,r=(l|0)<=(n-(o?r:t)+(o?t:r)|0)&1):r=0,r|0}function iE(r,t){return r=r|0,t=t|0,((e[r+12>>2]|0)-(e[r+4>>2]|0)+(e[t+12>>2]|0)-(e[t+4>>2]|0)|0)/2|0|0}function nE(r,t){return r=r|0,t=t|0,((e[r+8>>2]|0)-(e[r>>2]|0)+(e[t+8>>2]|0)-(e[t>>2]|0)|0)/2|0|0}function lF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(L=g,g=g+16|0,z=L,y[z>>0]=y[18588]|0,y[z+1>>0]=y[18589]|0,y[z+2>>0]=y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=p,o=c,l=v)):(A=n,n=c),e[m+24>>2]=A,c=n,n=A,m=e[m>>2]|0;for(a=a+16|0,e[(e[a>>2]|0)+184>>2]=0,n=j0(4)|0,e[(e[a>>2]|0)+180>>2]=n,y[z>>0]=y[18588]|0,y[z+1>>0]=y[18589]|0,y[z+2>>0]=y[18590]|0,y[z+3>>0]=y[18591]|0,a=w1(93562,z,0)|0,n=Mt(r)|0;n;)z=ht(a,te(e[n+20>>2]|0)|0,1)|0,$e(z,137447,304,1)|0,e[n+28>>2]=z,e[(e[z+16>>2]|0)+112>>2]=n,n=e[n>>2]|0;n=0,A=Mt(r)|0,o=-2147483647;e:for(;A;){s=e[A+8>>2]|0;r:do if((o|0)==(s|0))s=o;else for(n=A;;){if(n=e[n>>2]|0,!n)break e;if((e[n+8>>2]|0)!=(s|0))break r}while(0);for(l=A+28|0,o=n;o;)ke[t&127](A,o)|0&&rr(a,e[l>>2]|0,e[o+28>>2]|0,0,1)|0,o=e[o>>2]|0;A=e[A>>2]|0,o=s}return Hg0(a,_,i),Di(a)|0,g=L,_|0}function sF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;for(E=g,g=g+16|0,m=E,y[m>>0]=y[18588]|0,y[m+1>>0]=y[18589]|0,y[m+2>>0]=y[18590]|0,y[m+3>>0]=y[18591]|0,m=w1(93515,m,0)|0,$e(m,137483,280,1)|0,A=m+16|0,o=Mt(t)|0,l=0;o;)s=ht(m,te(e[o+20>>2]|0)|0,1)|0,$e(s,137447,304,1)|0,p=s+16|0,c=e[p>>2]|0,e[c+112>>2]=o,e[o+24>>2]=s,e[c+176>>2]=0,c=j0(4)|0,w=e[p>>2]|0,e[w+172>>2]=c,e[w+184>>2]=0,w=j0(4)|0,e[(e[p>>2]|0)+180>>2]=w,l?e[(e[l+16>>2]|0)+164>>2]=s:e[(e[A>>2]|0)+192>>2]=s,o=e[o>>2]|0,l=s;a=Mt(t)|0;e:for(;a;){for(c=a+32|0,w=a+24|0,p=a+20|0,o=a;o=e[o>>2]|0,!!o;)if(ke[i&127](a,o)|0){if(l=ke[n&127](c,o+32|0)|0,s=rr(m,e[w>>2]|0,e[o+24>>2]|0,0,1)|0,$e(s,137460,176,1)|0,(l|0)>=65536){v=13;break e}A=s+16|0,B=e[A>>2]|0,$[B+170>>1]=l,e[B+156>>2]=1,s|0&&rr(r,e[p>>2]|0,e[o+20>>2]|0,0,0)|0&&(e[(e[A>>2]|0)+156>>2]=100)}a=e[a>>2]|0}for((v|0)==13&&H0(93518,93534,254,93547),a=Mt(t)|0;a;){for(A=e[a+24>>2]|0,c=A+16|0,A=Me(m,A)|0;A;)o=e[c>>2]|0,l=e[o+180>>2]|0,l?o=Oe(l,(e[o+184>>2]<<2)+8|0)|0:o=_0((e[o+184>>2]<<2)+8|0)|0,l=e[c>>2]|0,e[l+180>>2]=o,l=l+184|0,s=e[l>>2]|0,e[l>>2]=s+1,e[o+(s<<2)>>2]=A,s=e[c>>2]|0,e[(e[s+180>>2]|0)+(e[s+184>>2]<<2)>>2]=0,s=A+-48|0,o=e[(e[((e[A>>2]&3|0)==2?A:s)+40>>2]|0)+16>>2]|0,l=e[o+172>>2]|0,l?o=Oe(l,(e[o+176>>2]<<2)+8|0)|0:o=_0((e[o+176>>2]<<2)+8|0)|0,e[(e[(e[((e[A>>2]&3|0)==2?A:s)+40>>2]|0)+16>>2]|0)+172>>2]=o,n=e[(e[((e[A>>2]&3|0)==2?A:s)+40>>2]|0)+16>>2]|0,v=e[n+172>>2]|0,n=n+176|0,B=e[n>>2]|0,e[n>>2]=B+1,e[v+(B<<2)>>2]=A,B=e[(e[((e[A>>2]&3|0)==2?A:s)+40>>2]|0)+16>>2]|0,e[(e[B+172>>2]|0)+(e[B+176>>2]<<2)>>2]=0,A=Qe(m,A)|0;a=e[a>>2]|0}return g=E,m|0}function AF(r){r=r|0;var t=0,i=0,n=0,o=0;for(o=U0(r)|0;o;)i=o+16|0,t=e[i>>2]|0,n=e[t+172>>2]|0,n&&(r0(n),t=e[i>>2]|0),t=e[t+180>>2]|0,t|0&&r0(t),o=X0(r,o)|0;Di(r)|0}function Hg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(a=U0(r)|0;a;){for(p=e[(e[a+16>>2]|0)+112>>2]|0,w=e[p+24>>2]|0,p=p+32|0,v=w+16|0,c=Me(r,a)|0;c;)l=e[(e[(e[((e[c>>2]&3|0)==2?c:c+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0,m=ke[i&127](p,l+32|0)|0,l=e[l+24>>2]|0,s=rr(t,w,l,0,1)|0,$e(s,137460,176,1)|0,A=s+16|0,n=e[A>>2]|0,e[n+156>>2]=1,o=$[n+170>>1]|0,(m|0)>(o&65535|0)&&(o<<16>>16||(n=e[v>>2]|0,o=e[n+180>>2]|0,o?n=Oe(o,(e[n+184>>2]<<2)+8|0)|0:n=_0((e[n+184>>2]<<2)+8|0)|0,E=e[v>>2]|0,e[E+180>>2]=n,E=E+184|0,o=e[E>>2]|0,e[E>>2]=o+1,e[n+(o<<2)>>2]=s,n=e[v>>2]|0,e[(e[n+180>>2]|0)+(e[n+184>>2]<<2)>>2]=0,l=l+16|0,n=e[l>>2]|0,o=e[n+172>>2]|0,o?n=Oe(o,(e[n+176>>2]<<2)+8|0)|0:n=_0((e[n+176>>2]<<2)+8|0)|0,o=e[l>>2]|0,e[o+172>>2]=n,o=o+176|0,E=e[o>>2]|0,e[o>>2]=E+1,e[n+(E<<2)>>2]=s,n=e[l>>2]|0,e[(e[n+172>>2]|0)+(e[n+176>>2]<<2)>>2]=0,n=e[A>>2]|0),$[n+170>>1]=m),c=Qe(r,c)|0;a=X0(r,a)|0}}function Jg0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,(e[t>>2]|0)-(e[i>>2]|0)|0}function oE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0;for(L=g,g=g+64|0,B=L+24|0,m=L+16|0,v=L+52|0,p=L+40|0,E=L,z=v2(r)|0,_=_0(z*72|0)|0,zc(p,r),s=+x0[p>>2],A=+x0[p+4>>2],p=(y[p+8>>0]|0)!=0,s=p?s*.013888888888888888:s,A=p?A*.013888888888888888:A,a=s*.5,c=A*.5,i=_,n=U0(r)|0;n;)w=e[n+16>>2]|0,o=+u[w+32>>3],p?(l=+u[w+40>>3]*.5+A,o=o*.5+s):(l=c*+u[w+40>>3],o=a*o),w=e[w+132>>2]|0,W=+u[w>>3],u[i>>3]=W,G=+u[w+8>>3],u[i+8>>3]=G,u[i+16>>3]=W-o,u[i+24>>3]=G-l,u[i+32>>3]=W+o,u[i+40>>3]=G+l,u[i+48>>3]=o,u[i+56>>3]=l,e[i+64>>2]=n,i=i+72|0,n=X0(r,n)|0;do if((t|0)<0){if(o=+Ug0(_,z),o==0){r0(_),i=0;break}s=o,l=o,x=19}else{if(n=Xg0(_,z,v)|0,i=e[v>>2]|0,!i){r0(n),r0(_),i=0;break}t?(l=+qg0(n,i),o=l):($g0(E,n,i),o=+u[E>>3],l=+u[E+8>>3]),r0(n),s=o,x=19}while(0);if((x|0)==19){for(i=0,n=_;!((i|0)>=(z|0));)x=e[(e[(e[n+64>>2]|0)+16>>2]|0)+132>>2]|0,u[x>>3]=+u[n>>3]*s,u[x+8>>3]=+u[n+8>>3]*l,i=i+1|0,n=n+72|0;r0(_),i=1}return g=L,i|0}function Ug0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;i=0,n=0;e:for(;!((n|0)>=(t|0));)for(x=r+72|0,n=n+1|0,p=r+16|0,v=r+8|0,m=r+56|0,E=r+48|0,B=r+32|0,c=r+24|0,w=r+40|0,A=n,a=x;;){if((A|0)>=(t|0)){r=x;continue e}if(+u[p>>3]<=+u[a+32>>3]&&+u[a+16>>3]<=+u[B>>3]&&+u[c>>3]<=+u[a+40>>3]&&+u[a+24>>3]<=+u[w>>3]){i=0;break e}o=+u[r>>3],l=+u[a>>3],o==l?s=Hr:(s=+L0(+(o-l)),s=(+u[a+48>>3]+ +u[E>>3])/s),o=+u[v>>3],l=+u[a+8>>3],o==l?o=Hr:(o=+L0(+(o-l)),o=(+u[a+56>>3]+ +u[m>>3])/o),s=oi?s:i}return+i}function Xg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0;a=_0((t<<4)+16|0)|0,w=0,n=0,p=a,v=t,s=a;e:for(;!((n|0)>=(t|0));)for(N=r+72|0,n=n+1|0,W=r+16|0,B=r+32|0,x=r+24|0,z=r+40|0,_=r+8|0,L=r+56|0,G=r+48|0,m=n,E=N,c=s;;){if((m|0)==(t|0)){r=N,s=c;continue e}+u[W>>3]<=+u[E+32>>3]&&+u[E+16>>3]<=+u[B>>3]&&+u[x>>3]<=+u[E+40>>3]&&+u[E+24>>3]<=+u[z>>3]?(s=v+t|0,(w|0)==(v|0)?(a=Oe(a,(s<<4)+16|0)|0,p=a,c=a):s=v,o=+u[r>>3],l=+u[E>>3],o!=l?(o=(+u[E+48>>3]+ +u[G>>3])/+L0(+(o-l)),o<1&&(o=1,T=13)):(o=Hr,T=13),(T|0)==13&&(T=0),l=+u[_>>3],A=+u[E+8>>3],l!=A?(l=(+u[E+56>>3]+ +u[L>>3])/+L0(+(l-A)),l<1&&(l=1,T=16)):(l=Hr,T=16),(T|0)==16&&(T=0),w=w+1|0,u[p+(w<<4)>>3]=o,u[p+(w<<4)+8>>3]=l):s=v,m=m+1|0,E=E+72|0,v=s}return T=Oe(s,(w<<4)+16|0)|0,e[i>>2]=w,T|0}function qg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(n=1,o=0;i=r+16|0,!((n|0)>(t|0));)s=+u[i>>3],l=+u[r+24>>3],l=so?l:o,r=i;return+o}function $g0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(u[t>>3]=1,u[t+8>>3]=Hr,ei(t+16|0,i,16,76),s=_0((i<<4)+16|0)|0,u[s+(i<<4)>>3]=+u[t+(i<<4)>>3],l=i,n=1;;){if(u[s+(l<<4)+8>>3]=n,o=l+-1|0,(l|0)<=0){n=Hr,o=0,l=0;break}u[s+(o<<4)>>3]=+u[t+(o<<4)>>3],A=+u[(+u[t+(l<<4)+8>>3]>n?t:s)+(l<<4)+8>>3],l=o,n=A}for(;!((l|0)>(i|0));)A=+u[s+(l<<4)+8>>3]*+u[s+(l<<4)>>3],t=A>3],u[r>>3]=+u[s+(o<<4)>>3],u[r+8>>3]=A;return}else H0(93596,93534,832,93616)}function Kg0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3],n=+u[t>>3],in?r=1:(n=+u[r+8>>3],i=+u[t+8>>3],ni&1),r|0}function bg0(r,t,i){return r=r|0,t=t|0,i=i|0,i=g,g=g+16|0,t=i,e[t>>2]=93631,$0(1,93681,t)|0,g=i,0}function ey0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,n=g,g=g+16|0,i=n,e[i>>2]=93631,$0(1,93709,i)|0,g=n,0}function ry0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;e:do switch(i|0){case 2:{n=_0(16)|0,o=_0(24)|0,e[o+8>>2]=0,e[o+4>>2]=n,e[o>>2]=2,e[n>>2]=0,e[n+4>>2]=1,i=n+8|0,e[o+16>>2]=i,e[o+20>>2]=0,e[o+12>>2]=2,e[i>>2]=1,e[n+12>>2]=0;break}case 1:{n=_0(4)|0,o=_0(12)|0,e[o+8>>2]=0,e[o+4>>2]=n,e[o>>2]=1,e[n>>2]=0;break}default:if(bg0(0,0,0)|0,r=(i|0)>0,n){if(!r){o=0;break e}Nw()}else{if(!r){o=0;break e}Nw()}}while(0);return o|0}function ty0(r){r=r|0;var t=0;r|0&&(t=e[r+4>>2]|0,t|0&&r0(t),t=e[r+8>>2]|0,t|0&&r0(t),r0(r))}function uF(r){r=r|0;var t=0;r|0&&(t=e[r+4>>2]|0,t|0&&r0(t),t=e[r+8>>2]|0,t|0&&r0(t),t=e[r+16>>2]|0,t|0&&r0(t),r0(r))}function qh(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(p=g,g=g+16|0,w=p+8|0,c=p,a=O2(e[46849]|0,i<<2)|0,e[46849]=a,o=0;!((o|0)>=(i|0));)e[n+(o<<2)>>2]=2147483647,o=o+1|0;for(e[n+(r<<2)>>2]=0,l=t+(r*20|0)|0,s=t+(r*20|0)+8|0,A=t+(r*20|0)+4|0,o=1;!((o|0)>=(e[l>>2]|0));)e[n+(e[(e[A>>2]|0)+(o<<2)>>2]<<2)>>2]=~~+x0[(e[s>>2]|0)+(o<<2)>>2],o=o+1|0;for(iy0(w,r,a,n,i),s=-2147483639;;){if(!((ny0(w,c,e[46849]|0,n)|0)<<24>>24)){o=0;break}if(o=e[c>>2]|0,r=e[n+(o<<2)>>2]|0,(r|0)==2147483647){o=0;break}for(s=t+(o*20|0)|0,A=t+(o*20|0)+4|0,l=t+(o*20|0)+8|0,o=1;!((o|0)>=(e[s>>2]|0));)oy0(w,e[(e[A>>2]|0)+(o<<2)>>2]|0,r+~~+x0[(e[l>>2]|0)+(o<<2)>>2]|0,e[46849]|0,n),o=o+1|0;s=r+10|0}for(;!((o|0)>=(i|0));)l=n+(o<<2)|0,(e[l>>2]|0)==2147483647&&(e[l>>2]=s),o=o+1|0;fF(w),g=p}function iy0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;for((o|0)==1?A=0:A=_0((o<<2)+-4|0)|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[s>>2]=e[a>>2],e[a>>2]=l,e[i+(e[s>>2]<<2)>>2]=o,e[i+(e[a>>2]<<2)>>2]=t,t=o}function ly0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(v=g,g=g+16|0,c=v+8|0,w=v,e[w>>2]=0,p=_0(i<<2)|0,o=0;!((o|0)>=(i|0));)x0[n+(o<<2)>>2]=34028234663852886e22,o=o+1|0;for(x0[n+(r<<2)>>2]=0,l=e[t+(r*20|0)>>2]|0,s=t+(r*20|0)+8|0,A=t+(r*20|0)+4|0,o=1;!((o|0)>=(l|0));)e[n+(e[(e[A>>2]|0)+(o<<2)>>2]<<2)>>2]=e[(e[s>>2]|0)+(o<<2)>>2],o=o+1|0;sy0(c,r,p,n,i);e:for(;!(!((Ay0(c,w,p,n)|0)<<24>>24)||(o=e[w>>2]|0,a=+x0[n+(o<<2)>>2],a==34028234663852886e22));)for(s=t+(o*20|0)|0,A=t+(o*20|0)+4|0,l=t+(o*20|0)+8|0,o=1;;){if((o|0)>=(e[s>>2]|0))continue e;uy0(c,e[(e[A>>2]|0)+(o<<2)>>2]|0,+x0[(e[l>>2]|0)+(o<<2)>>2]+a,p,n),o=o+1|0}fF(c),r0(p),g=v}function sy0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;for(A=o+-1|0,a=_0(A<<2)|0,e[r>>2]=a,e[r+4>>2]=A,l=0,s=0;!((s|0)>=(o|0));)(s|0)!=(t|0)&&(e[a+(l<<2)>>2]=s,e[i+(s<<2)>>2]=l,l=l+1|0),s=s+1|0;for(l=(A|0)/2|0;!((l|0)<=-1);)cF(r,l,i,n),l=l+-1|0}function Ay0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=r+4|0,e[o>>2]|0?(l=e[r>>2]|0,e[t>>2]=e[l>>2],t=e[l+((e[o>>2]|0)+-1<<2)>>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l,i=l,r=s+8|0):(u[s+8>>3]=1,n=l/i,r=s),u[r>>3]=n,u[t>>3]=o/i,t=e[46853]|0,e[s+40>>2]=t,e[46853]=t+1,s|0}function dF(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;c=+u[r>>3];e:do if(c==1){+u[r+8>>3]>=0?(t=e[r+24>>2]|0,i=e[r+28>>2]|0,i?w=5:w=9):(t=e[r+28>>2]|0,i=e[r+24>>2]|0,i?w=5:w=9);do if((w|0)==5){if(n=+u[i+8>>3],n>+u[23266])break e;if(o=+u[23267],n>=o){s=n,n=+u[i>>3];break}else{s=o,n=+u[r+16>>3]-+u[r+8>>3]*o;break}}else(w|0)==9&&(o=+u[23267],s=o,n=+u[r+16>>3]-+u[r+8>>3]*o);while(0);do if(t){if(l=+u[t+8>>3],l>3];break}else{l=o,o=+u[r+16>>3]-+u[r+8>>3]*o;break}}else o=+u[23266],l=o,o=+u[r+16>>3]-+u[r+8>>3]*o;while(0);A=+u[23268],t=n>A,i=o>A,a=+u[23269],t&i|n>3]-A)/+u[r+8>>3],n=A),n>3]-a)/+u[r+8>>3],n=a),i&&(l=(+u[r+16>>3]-A)/+u[r+8>>3],o=A),o>3]-a)/+u[r+8>>3],o=a),w=46)}else{i=e[r+28>>2]|0,t=e[r+24>>2]|0;do if(t){if(n=+u[t>>3],n>+u[23268])break e;if(l=+u[23269],n>=l){s=+u[t+8>>3];break}else{s=+u[r+16>>3]-l*c,n=l;break}}else l=+u[23269],s=+u[r+16>>3]-l*c,n=l;while(0);do if(i){if(o=+u[i>>3],o>3];break}else{l=+u[r+16>>3]-c*A,o=A;break}}else o=+u[23268],l=+u[r+16>>3]-c*o;while(0);A=+u[23266],t=s>A,i=l>A,a=+u[23267],t&i|s>3]-A)/c),s>3]-a)/c),i&&(l=A,o=(+u[r+16>>3]-A)/c),l>3]-a)/c),w=46)}while(0);(w|0)==46&&fy0(r,n,s,o,l)}function fy0(r,t,i,n,o){r=r|0,t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=0,c=0;for(A=1/+(t|0),s=0;!((s|0)>=(i|0));){for(a=r+(s<<2)|0,n=0,o=0;!((o|0)>=(t|0));)n=n+ +(e[(e[a>>2]|0)+(o<<2)>>2]|0),o=o+1|0;for(l=~~(n*A),o=0;!((o|0)>=(t|0));)c=(e[a>>2]|0)+(o<<2)|0,e[c>>2]=(e[c>>2]|0)-l,o=o+1|0;s=s+1|0}}function hy0(){e[46855]=~~+G0(+ +((e[46854]|0)+4|0))}function JA(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3]-+u[t>>3],n=+u[r+8>>3]-+u[t+8>>3],+(n*n+i*i)}function pF(r,t,i){r=r|0,t=t|0,i=i|0,u[r>>3]=+u[t>>3]-+u[i>>3],u[r+8>>3]=+u[t+8>>3]-+u[i+8>>3]}function qp(r,t,i){r=r|0,t=t|0,i=i|0,u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=+u[i+8>>3]+ +u[t+8>>3]}function kF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=+u[t+8>>3],o=+u[t>>3],+((+u[i>>3]-o)*(+u[r+8>>3]-n)-(+u[r>>3]-o)*(+u[i+8>>3]-n))}function vF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return n=g,g=g+48|0,o=n+32|0,l=n+16|0,s=n,e[s>>2]=e[r>>2],e[s+4>>2]=e[r+4>>2],e[s+8>>2]=e[r+8>>2],e[s+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],i=+kF(s,l,o)>0&1,g=n,i|0}function wy0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;return m=+u[r>>3],E=+u[n+8>>3],B=+u[i+8>>3],p=(E-B)*m,v=+u[t>>3],w=+u[n>>3],c=+u[t+8>>3],A=+u[r+8>>3],a=c-A,l=+u[i>>3],s=p+v*(B-E)+a*w+l*(A-c),s==0?n=0:(E=(l*(A-E)+p+(B-A)*w)/s,B=-(l*a+((B-c)*m+(A-B)*v))/s,u[o>>3]=E*(v-m)+m,u[o+8>>3]=a*E+A,n=B<=1&(B>=0&(E>=0&E<=1))&1),n|0}function $p(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0;for(e[r+20>>2]=t,ck(t),s=r+24|0,u[s>>3]=+u[t+8>>3]+i,n=e[46856]|0,n=n+((mF(r)|0)*40|0)|0;o=n+32|0,n=e[o>>2]|0,!!n;)if(i=+u[s>>3],l=+u[n+24>>3],!(i>l)&&(i!=l||!(+u[t>>3]>+u[e[n+20>>2]>>3])))break;e[r+32>>2]=n,e[o>>2]=r,e[46857]=(e[46857]|0)+1}function mF(r){r=r|0;var t=0,i=0,n=0;i=e[46858]|0,n=+(i|0),t=(+u[r+24>>3]-+u[23273])/+u[23275]*n;do if(t<0)r=0;else if(t>=n){r=i+-1|0;break}else{r=~~t;break}while(0);return(r|0)<(e[46859]|0)&&(e[46859]=r),r|0}function sE(r){r=r|0;var t=0,i=0,n=0;if(i=r+20|0,e[i>>2]|0){t=e[46856]|0,t=t+((mF(r)|0)*40|0)|0;do n=t+32|0,t=e[n>>2]|0;while((t|0)!=(r|0));e[n>>2]=e[r+32>>2],e[46857]=(e[46857]|0)+-1,ak(e[i>>2]|0),e[i>>2]=0}}function AE(){return(e[46857]|0)==0|0}function dy0(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=e[46856]|0,i=e[46859]|0;n=e[t+(i*40|0)+32>>2]|0,!(n|0);)n=i+1|0,e[46859]=n,i=n;o=+u[n+24>>3],u[r>>3]=+u[e[n+20>>2]>>3],u[r+8>>3]=o}function py0(){var r=0,t=0;return t=(e[46856]|0)+((e[46859]|0)*40|0)+32|0,r=e[t>>2]|0,e[t>>2]=e[r+32>>2],e[46857]=(e[46857]|0)+-1,r|0}function ky0(){r0(e[46856]|0),e[46856]=0}function vy0(){var r=0,t=0,i=0;for(e[46857]=0,e[46859]=0,r=e[46855]|0,t=r<<2,e[46858]=t,i=e[46856]|0,i||(i=_0(r*160|0)|0,e[46856]=i,t=e[46858]|0),r=0;!((r|0)>=(t|0));)e[i+(r*40|0)+32>>2]=0,r=r+1|0}function my0(){bh(187448,40),r0(e[46865]|0),e[46865]=0}function gy0(){var r=0,t=0,i=0;for(bh(187448,40),r=e[46855]|0,t=r<<1,e[46866]=t,i=e[46865]|0,i||(i=_0(r<<3)|0,e[46865]=i,t=e[46866]|0),r=0;!((r|0)>=(t|0));)e[i+(r<<2)>>2]=0,r=r+1|0;e[46860]=$h(0,0)|0,e[46861]=$h(0,0)|0,e[e[46860]>>2]=0,i=e[46861]|0,t=e[46860]|0,e[t+4>>2]=i,e[i>>2]=t,e[(e[46861]|0)+4>>2]=0,i=e[46865]|0,e[i>>2]=e[46860],e[i+((e[46866]|0)+-1<<2)>>2]=e[46861]}function $h(r,t){r=r|0,t=t|0;var i=0;return i=e8(187448)|0,e[i+8>>2]=r,y[i+16>>0]=t,e[i+32>>2]=0,e[i+20>>2]=0,e[i+12>>2]=0,i|0}function Kp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;l=e[r+8>>2]|0,A=e[t+8>>2]|0;do if(!((l|0)==0|(A|0)==0)&&(p=e[l+36>>2]|0,i=e[A+36>>2]|0,(p|0)!=(i|0))&&(s=+u[l>>3],n=+u[A+8>>3],o=+u[l+8>>3],a=+u[A>>3],c=n*s-a*o,!(c>-1e-10&c<1e-10))){v=+u[l+16>>3],m=+u[A+16>>3],w=(v*n-m*o)/c,s=(m*s-v*a)/c,n=+u[p+8>>3],o=+u[i+8>>3];do if(n>3]<+u[i>>3]){i=p;break}r=t}while(0);if(r=y[r+16>>0]|0,w>=+u[i>>3]){if(!(r<<24>>24)){r=0;break}}else if(r<<24>>24==1){r=0;break}r=n90()|0,e[r+20>>2]=0,u[r>>3]=w,u[r+8>>3]=s}else r=0;while(0);return r|0}function uE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;if(w=e[r+8>>2]|0,A=e[w+36>>2]|0,a=+u[t>>3],p=+u[A>>3],c=a>p,v=y[r+16>>0]|0,c?v<<24>>24?n=4:r=1:v<<24>>24==1?r=0:n=4,(n|0)==4){i=+u[w>>3];e:do if(i==1){i=+u[t+8>>3],o=i-+u[A+8>>3],l=a-p,s=+u[w+8>>3],t=s<0;do if(c?s>=0:t){if(o>=s*l){r=1;break e}}else if(r=s*i+a>+u[w+16>>3],t)if(r){r=0;break e}else break;else{if(r)break;r=0;break e}while(0);p=p-+u[e[w+32>>2]>>3],r=s*(l*l-o*o)>3]-a*i,s=+u[t+8>>3]-l,p=a-p,a=l-+u[A+8>>3],r=s*s>a*a+p*p;while(0);r=(r^v<<24>>24!=0)&1}return r|0}function fE(r,t){r=r|0,t=t|0,e[t>>2]=r,r=r+4|0,e[t+4>>2]=e[r>>2],e[e[r>>2]>>2]=t,e[r>>2]=t}function yy0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(o=e[46866]|0,t=~~((+u[r>>3]-+u[23272])/+u[23274]*+(o|0)),t=(t|0)>0?t:0,o=(t|0)<(o|0)?t:o+-1|0,t=aE(o)|0,!t){for(i=1;t=aE(o-i|0)|0,!(t|0||(t=aE(i+o|0)|0,t|0));)i=i+1|0;e[46867]=(e[46867]|0)+i}e[46868]=(e[46868]|0)+1,n=e[46860]|0,i=e[46861]|0;e:do if((t|0)==(n|0))l=9;else{if((t|0)!=(i|0)&&uE(t,r)|0){l=9;break}for(;;){if(t=e[t>>2]|0,(t|0)==(n|0))break e;if(uE(t,r)|0){n=t;break}}}while(0);if((l|0)==9){for(;t=e[t+4>>2]|0,(t|0)!=(i|0);)if(uE(t,r)|0)l=9;else break;n=e[t>>2]|0}return(o|0)>0&&(o|0)<((e[46866]|0)+-1|0)&&(t=(e[46865]|0)+(o<<2)|0,i=e[t>>2]|0,i|0&&(l=i+12|0,e[l>>2]=(e[l>>2]|0)+-1),e[t>>2]=n,l=n+12|0,e[l>>2]=(e[l>>2]|0)+1),n|0}function aE(r){r=r|0;var t=0,i=0;return(r|0)>-1&(e[46866]|0)>(r|0)&&(i=(e[46865]|0)+(r<<2)|0,t=e[i>>2]|0,(t|0)!=0)?(e[t+8>>2]|0)==-2&&(e[i>>2]=0,r=t+12|0,i=(e[r>>2]|0)+-1|0,e[r>>2]=i,i||lk(t,187448),t=0):t=0,t|0}function gF(r){r=r|0;var t=0,i=0;t=r+4|0,i=e[r>>2]|0,e[i+4>>2]=e[t>>2],e[e[t>>2]>>2]=i,e[r+8>>2]=-2}function bp(r){return r=r|0,e[r+4>>2]|0}function Cy0(r){return r=r|0,e[r>>2]|0}function Ey0(r){r=r|0;var t=0;return t=e[r+8>>2]|0,t?r=y[r+16>>0]|0?t+36|0:t+32|0:r=187672,e[r>>2]|0}function yF(r){r=r|0;var t=0;return t=e[r+8>>2]|0,t?r=y[r+16>>0]|0?t+32|0:t+36|0:r=187672,e[r>>2]|0}function CF(){bh(187480,24)}function UA(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+32|0,s=A,l=(e[46869]|0)+((e[r+16>>2]|0)*96|0)+88|0,o=e[l>>2]|0,u[s+8>>3]=t,u[s+16>>3]=i,n=EF(r,s,o)|0;do if(n|0){if((n|0)<0){s=e8(187480)|0,u[s+8>>3]=t,u[s+16>>3]=i,e[s>>2]=o,e[l>>2]=s;break}for(;n=e[o>>2]|0,l=EF(r,s,n)|0,(l|0)>0;)o=n;l|0&&(s=e8(187480)|0,u[s+8>>3]=t,u[s+16>>3]=i,e[o>>2]=s,e[s>>2]=n)}while(0);g=A}function EF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;do if(i)if(o=+u[t+8>>3],A=+u[i+8>>3],n=+u[t+16>>3],l=+u[i+16>>3],o==A&n==l)t=0;else{if(c=+u[r>>3],a=o-c,o=+u[r+8>>3],s=n-o,A=A-c,n=l-o,!(a>=0)){if(A>=0){t=1;break}if(o=n/A,n=s/a,no){t=1;break}t=a>A?-1:1;break}if(A<0)t=-1;else if(t=A>0,a>0){if(!t){t=n>0?-1:1;break}if(o=n/A,n=s/a,no){t=1;break}t=a>2]|0,i=r+(i*20|0)+4|0,t=1,r=0;!((t|0)>=(o|0));)l=r+((e[n+(e[(e[i>>2]|0)+(t<<2)>>2]<<2)>>2]|0)>0&1)|0,t=t+1|0,r=l;return r|0}function cE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(n=r+(t*20|0)|0,t=r+(t*20|0)+4|0,r=1;!((r|0)>=(e[n>>2]|0));)e[i+(e[(e[t>>2]|0)+(r<<2)>>2]<<2)>>2]=1,r=r+1|0}function hE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(n=r+(t*20|0)|0,t=r+(t*20|0)+4|0,r=1;!((r|0)>=(e[n>>2]|0));)e[i+(e[(e[t>>2]|0)+(r<<2)>>2]<<2)>>2]=0,r=r+1|0}function By0(r,t){return r=r|0,t=t|0,e[r+8>>2]|0?r=BF(r,t)|0:r=Iy0(r,t)|0,r|0}function BF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=t<<2,n=_0(N0(o,t)|0)|0,o=_0(o)|0,i=0;;){if((i|0)>=(t|0)){i=0;break}e[o+(i<<2)>>2]=n+((N0(i,t)|0)<<2),i=i+1|0}for(;!((i|0)>=(t|0));)qh(i,r,t,e[o+(i<<2)>>2]|0),i=i+1|0;return o|0}function Iy0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,o=s,l=t<<2,n=_0(N0(l,t)|0)|0,l=_0(l)|0,i=0;!((i|0)>=(t|0));)e[l+(i<<2)>>2]=n+((N0(i,t)|0)<<2),i=i+1|0;for(Xh(o,t),i=0;!((i|0)>=(t|0));)Lc(i,r,t,e[l+(i<<2)>>2]|0,o),i=i+1|0;return Xp(o),g=s,l|0}function xy0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=e[r+8>>2]|0,wE(r,t),i=BF(r,t)|0,dE(r,t,n),i|0}function wE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(c=_0(t<<2)|0,i=0,n=0;!((i|0)>=(t|0));)a=(e[r+(i*20|0)>>2]|0)+n|0,i=i+1|0,n=a;for(n=_0(n<<2)|0,i=0;!((i|0)>=(t|0));)e[c+(i<<2)>>2]=0,i=i+1|0;for(o=0;!((o|0)>=(t|0));){for(e[r+(o*20|0)+8>>2]=n,cE(r,o,c),l=r+(o*20|0)|0,s=e[l>>2]|0,A=r+(o*20|0)+4|0,a=s+-2|0,i=1;!((i|0)>=(s|0));)w=e[(e[A>>2]|0)+(i<<2)>>2]|0,p=e[r+(w*20|0)>>2]|0,x0[n+(i<<2)>>2]=+(a+p-((ek(r,0,w,c)|0)<<1)|0),i=i+1|0;hE(r,o,c),n=n+(e[l>>2]<<2)|0,o=o+1|0}r0(c)}function dE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=r+8|0,r0(e[n>>2]|0),e[n>>2]=0;e:do if(i|0)for(n=0;;){if((n|0)>=(t|0))break e;e[r+(n*20|0)+8>>2]=i,o=i+(e[r+(n*20|0)>>2]<<2)|0,n=n+1|0,i=o}while(0)}function IF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;for(o=0,l=0;!((o|0)>=(t|0));)A=e[r+(o<<2)>>2]|0,s=+u[A+(i<<3)>>3]-+u[A+(n<<3)>>3],o=o+1|0,l=s*s+l;return+ +G0(+l)}function Sy0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,(n|0)>(i|0)&&(e[46873]=r,ei(t+(i<<2)|0,1-i+n|0,4,77))}function _y0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=e[46873]|0,n=+x0[o+(e[r>>2]<<2)>>2],i=+x0[o+(e[t>>2]<<2)>>2],(ni&1)|0}function Rc(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;s=g,g=g+16|0,o=s,(i|0)<(n|0)&&(zy0(r,t,i,n,o),l=e[o>>2]|0,o=l+-1|0,Rc(r,t,i,o),l=l+1|0,Rc(r,t,l,n),xF(r,t,i,o)|0||Rc(r,t,i,o),xF(r,t,l,n)|0||Rc(r,t,l,n)),g=s}function zy0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0;l=ri()|0,l=t+(((((ri()|0)<<16|l)>>>0)%((1-i+n|0)>>>0)|0)+i<<2)|0,A=e[l>>2]|0,a=t+(i<<2)|0,e[l>>2]=e[a>>2],e[a>>2]=A,c=+u[r+(A<<3)>>3],l=i+1|0,i=n;e:for(;!((l|0)>=(i|0));){for(;!((l|0)>=(i|0)||!(+u[r+(e[t+(l<<2)>>2]<<3)>>3]<=c));)l=l+1|0;for(;;){if((l|0)>=(i|0))continue e;if(n=t+(i<<2)|0,s=e[n>>2]|0,!(+u[r+(s<<3)>>3]>c))break;i=i+-1|0}p=t+(l<<2)|0,w=e[p>>2]|0,e[p>>2]=s,e[n>>2]=w,l=l+1|0,i=i+-1|0}p=l+((+u[r+(e[t+(l<<2)>>2]<<3)>>3]>c)<<31>>31)|0,e[o>>2]=p,p=t+(p<<2)|0,e[a>>2]=e[p>>2],e[p>>2]=A}function xF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(l=1;o=i+1|0,!!((i|0)<(n|0)&(l|0)!=0);)l=+u[r+(e[t+(i<<2)>>2]<<3)>>3]>+u[r+(e[t+(o<<2)>>2]<<3)>>3]?0:l,i=o;return l|0}function SF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;if(_=g,g=g+16|0,x=4,z=Te(40)|0,e[z>>2]=0,E=_,v0=0,B=gt(23,t*40|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,x|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){for(i=0,v=0;!((i|0)>=(t|0));)m=(e[(e[r+(i<<2)>>2]|0)+4>>2]|0)+v|0,i=i+1|0,v=m;if(v0=0,m=gt(23,v*24|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,x|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){for(i=0,c=0;!((c|0)>=(t|0));){for(w=B+(c*40|0)|0,e[w>>2]=m+(i*24|0),p=r+(c<<2)|0,o=0,l=17976931348623157e292,s=-17976931348623157e292,A=-17976931348623157e292,a=17976931348623157e292;n=e[p>>2]|0,!((o|0)>=(e[n+4>>2]|0));)n=e[n>>2]|0,G=+u[n+(o<<4)>>3],L=+u[n+(o<<4)+8>>3],u[m+(i*24|0)>>3]=G,u[m+(i*24|0)+8>>3]=L,e[m+(i*24|0)+16>>2]=w,e[m+(i*24|0)+20>>2]=0,o=o+1|0,i=i+1|0,l=lG?s:G,A=A>L?A:L,a=a>2]=m+((i+-1|0)*24|0),u[B+(c*40|0)+8>>3]=l,u[B+(c*40|0)+16>>3]=a,u[B+(c*40|0)+24>>3]=s,u[B+(c*40|0)+32>>3]=A,c=c+1|0}e[E>>2]=v,e[E+4>>2]=t,z=il(187496,1,z|0,x|0)|0,x=b,v0=0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,x|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1?(i=b,p=m,c=m,w=B):(i=0,p=m,c=m,w=B)}else i=b,p=0,c=m,w=B}else i=b,p=0,c=0,w=0;for(;;){if(i|0){if(v0=0,Tr(105,B|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,x|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){o=w,v=c,m=p,i=b,w=o,c=v,p=m;continue}if(v0=0,Tr(105,c|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,x|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){o=w,v=c,m=p,i=b,w=o,c=v,p=m;continue}else{n=17;break}}if(v0=0,i=nt(78,p|0,E|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,x|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){o=w,v=c,m=p,i=b,w=o,c=v,p=m;continue}if(!i&&(v0=0,i=Yt(24,r|0,t|0,w|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,x|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1)){o=w,v=c,m=p,i=b,w=o,c=v,p=m;continue}if(v0=0,Tr(105,B|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,x|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){o=w,v=c,m=p,i=b,w=o,c=v,p=m;continue}if(v0=0,Tr(105,c|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,x|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1)o=w,v=c,m=p,i=b,w=o,c=v,p=m;else{n=24;break}}return(n|0)==17?i=0:(n|0)==24&&(i=(i|0)==0&1),r0(z|0),g=_,i|0}function Ly0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(L=g,g=g+16|0,E=L,v=L+8|0,m=L+4|0,e[t+8>>2]=0,_=_0(e[t>>2]<<2)|0,o=e[t>>2]|0,n=0;!((n|0)>=(o|0));)e[_+(n<<2)>>2]=r+(n*24|0),n=n+1|0;ei(_,o,4,79),w=0,l=0,o=0,s=0;e:for(;;){if((w|0)>=(e[t>>2]|0)){x=0,i=l,z=s;break}for(p=_+(w<<2)|0,n=e[p>>2]|0,e[v>>2]=n,r=e[n+16>>2]|0,(e[r>>2]|0)==(n|0)?n=e[r+4>>2]|0:n=n+-24|0,e[m>>2]=n,c=0,r=l,a=s;!((c|0)>=2);){switch(_F(v,m)|0){case-1:{for(l=0,s=r;!((l|0)>=(a|0));){if(A=Gy0(e[s>>2]|0,n)|0,A|0){x=A,i=r,z=a;break e}l=l+1|0,s=e[s+4>>2]|0}l=_0(12)|0,a?e[o+4>>2]=l:(o=0,r=l),e[l+8>>2]=o,e[l>>2]=n,e[l+4>>2]=0,e[n+20>>2]=l,s=a+1|0;break}case 1:{if(n=n+20|0,l=e[n>>2]|0,!l){B=19;break e}do if((a|0)!=1){if((l|0)==(r|0)){r=e[r+4>>2]|0,e[r+8>>2]=0;break}if((l|0)==(o|0)){o=e[o+8>>2]|0,e[o+4>>2]=0;break}else{A=l+4|0,s=e[l+8>>2]|0,e[s+4>>2]=e[A>>2],e[(e[A>>2]|0)+8>>2]=s;break}}else r=0,o=0;while(0);r0(l),e[n>>2]=0,l=o,s=a+-1|0;break}default:l=o,s=a}n=e[p>>2]|0,o=e[n+16>>2]|0,(n|0)==(e[o+4>>2]|0)?o=e[o>>2]|0:o=n+24|0,e[m>>2]=o,c=c+1|0,o=l,a=s}w=w+1|0,l=r,s=a}for((B|0)==19&&($0(1,93727,E)|0,ie(187496,1)),n=0;!((n|0)>=(z|0));)B=e[i+4>>2]|0,r0(i),n=n+1|0,i=B;return r0(_),g=L,x|0}function Ry0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;U=g,g=g+48|0,p=U+24|0,w=U+16|0,z=U,n=0;e:for(;;){if((n|0)>=(t|0)){n=0;break}for(N=e[r+(n<<2)>>2]|0,T=e[N>>2]|0,e[z>>2]=e[T>>2],e[z+4>>2]=e[T+4>>2],e[z+8>>2]=e[T+8>>2],e[z+12>>2]=e[T+12>>2],T=n+1|0,D=i+(n*40|0)+8|0,v=i+(n*40|0)+24|0,m=i+(n*40|0)+32|0,l=i+(n*40|0)+16|0,n=T;;){if((n|0)>=(t|0)){n=T;continue e}if(s=e[r+(n<<2)>>2]|0,A=+u[D>>3],a=+u[i+(n*40|0)+24>>3],c=!(A<=a),o=+u[i+(n*40|0)+8>>3],!(c|!(A>=o))&&(E=+u[l>>3],B=+u[i+(n*40|0)+32>>3],E<=B)&&(x=+u[i+(n*40|0)+16>>3],E>=x)&&(J=+u[v>>3],!(!(J<=a)|!(J>=o)))&&(J=+u[m>>3],!(!(J<=B)|!(J>=x)))){if(e[w>>2]=e[s>>2],e[w+4>>2]=e[s+4>>2],e[p>>2]=e[z>>2],e[p+4>>2]=e[z+4>>2],e[p+8>>2]=e[z+8>>2],e[p+12>>2]=e[z+12>>2],H3(w,p)|0){n=1;break e}}else P=11;if((P|0)==11&&(P=0,_=+u[v>>3],!(!(o<=_)|!(o>=A)))&&(L=+u[i+(n*40|0)+16>>3],G=+u[m>>3],L<=G)&&(W=+u[l>>3],!(!(L>=W)|(!(a<=_)|c)))&&(J=+u[i+(n*40|0)+32>>3],!(!(J<=G)|!(J>=W)))&&(c=e[s>>2]|0,e[w>>2]=e[N>>2],e[w+4>>2]=e[N+4>>2],e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],H3(w,p)|0)){n=1;break e}n=n+1|0}}return g=U,n|0}function _F(r,t){r=r|0,t=t|0;var i=0,n=0;return n=e[r>>2]|0,r=e[t>>2]|0,i=+u[n>>3]-+u[r>>3],i==0?(i=+u[n+8>>3]-+u[r+8>>3],i==0?r=0:r=i>0?1:-1):r=i>0?1:-1,r|0}function Gy0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=g,g=g+64|0,l=c+32|0,s=c+24|0,A=c+16|0,a=c,o=c+48|0,zF(r,t,o),i=o+8|0,n=e[i>>2]|0;do if((n|0)>0)i=0;else{if((n|0)<0){if(zF(t,r,o),i=e[i>>2]|0,(i|0)>0){i=0;break}if((i|0)<0?i=3:(i=e[o>>2]|0,i=jl(t,r,(i|0)>-1?i:0-i|0)|0),!(LF(r,t,s,A,i)|0)){i=0;break}}else if(i=e[o>>2]|0,(i|0)==(e[o+4>>2]|0)?(i=jl(r,t,0)|0,i=(jl(r,t,(i|0)<=(jl(r,t,1)|0)&1)|0)<<1):i=jl(r,t,(i|0)>-1?i:0-i|0)|0,!(LF(r,t,s,A,i)|0)){i=0;break}u[a>>3]=+u[s>>3],u[a+8>>3]=+u[A>>3],e[l>>2]=e[a>>2],e[l+4>>2]=e[a+4>>2],e[l+8>>2]=e[a+8>>2],e[l+12>>2]=e[a+12>>2],i=Zy0(r,t,l)|0}while(0);return g=c,i|0}function zF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;s=+u[r>>3],A=+u[r+8>>3],n=e[r+16>>2]|0,(e[n+4>>2]|0)==(r|0)?(r=e[n>>2]|0,n=r):(n=r+24|0,r=r+24|0),l=+u[n>>3]-s,o=+u[r+8>>3]-A,n=e[t+16>>2]|0,(e[n+4>>2]|0)==(t|0)?(r=e[n>>2]|0,n=r):(n=t+24|0,r=t+24|0),a=+u[n>>3]-s,c=+u[r+8>>3]-A,A=(+u[t+8>>3]-A)*l-(+u[t>>3]-s)*o,t=A==0?0:A>0?1:-1,e[i>>2]=t,A=c*l-a*o,r=A==0?0:A>0?1:-1,e[i+4>>2]=r,e[i+8>>2]=N0(r,t)|0}function jl(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;a=+u[r>>3],c=+u[r+8>>3],o=e[r+16>>2]|0,(e[o+4>>2]|0)==(r|0)?r=e[o>>2]|0:r=r+24|0,A=+u[r>>3],s=+u[r+8>>3];do if(i)if(r=e[t+16>>2]|0,(e[r+4>>2]|0)==(t|0)){t=e[r>>2]|0;break}else{t=t+24|0;break}while(0);return l=+u[t>>3],n=+u[t+8>>3],a==A?a==l?t=(RF(c,n,s)|0)!=-1&1:t=0:t=RF(a,l,A)|0,t|0}function LF(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;e:do if((o|0)<1)l=0;else{p=+u[r>>3],m=+u[r+8>>3],l=e[r+16>>2]|0,(e[l+4>>2]|0)==(r|0)?l=e[l>>2]|0:l=r+24|0,c=+u[l>>3],A=+u[l+8>>3],w=+u[t>>3],v=+u[t+8>>3],l=e[t+16>>2]|0,(e[l+4>>2]|0)==(t|0)?l=e[l>>2]|0:l=t+24|0,a=+u[l>>3],s=+u[l+8>>3];r:do switch(o|0){case 3:{if(p==c){u[i>>3]=p,s=(v-s)/(w-a)*(p-a)+s;break r}if(w==a){u[i>>3]=w,s=(m-A)/(p-c)*(w-c)+A;break r}else{a=(v-s)/(w-a),c=(m-A)/(p-c),v=v-a*w,m=m-c*p,s=a-c,u[i>>3]=(m-v)/s,s=(a*m-v*c)/s;break r}}case 2:{if((jl(r,t,0)|0)==-1)(jl(t,r,1)|0)==-1?(o=(jl(t,r,0)|0)==-1,c=o?c:p,a=w,A=o?A:m,s=v):(c=a,a=w,A=s,s=v);else if((jl(r,t,1)|0)!=-1)if((jl(t,r,0)|0)==-1)a=p,s=m;else{l=0;break e}else c=w,A=v;u[i>>3]=(a+c)*.5,s=(s+A)*.5;break}case 1:if((v-m)*(p-c)==(w-p)*(m-A)){u[i>>3]=w,s=v;break r}else{u[i>>3]=a;break r}default:{l=1;break e}}while(0);u[n>>3]=s,l=1}while(0);return l|0}function Zy0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;B=g,g=g+16|0,m=B,p=+u[r>>3],v=+u[r+8>>3],n=e[r+16>>2]|0,(e[n+4>>2]|0)==(r|0)?n=e[n>>2]|0:n=r+24|0,c=+u[n>>3],A=+u[n+8>>3],a=+u[t>>3],w=+u[t+8>>3],n=e[t+16>>2]|0,(e[n+4>>2]|0)==(t|0)?n=e[n>>2]|0:n=t+24|0,s=+u[n>>3],l=+u[n+8>>3];e:do if(p!=c&a!=s)E=18;else{do if(p==c){if(o=+u[i>>3],p==o&&v==+u[i+8>>3])break;if(c!=o){E=18;break e}if(A!=+u[i+8>>3]){E=18;break e}}while(0);if(a==s){if(o=+u[i>>3],a==o&&w==+u[i+8>>3]){n=0;break}s==o&&l==+u[i+8>>3]?n=0:E=18}else n=0}while(0);return(E|0)==18&&(0>1||(n=1)),g=B,n|0}function G2e(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;a=g,g=g+48|0,A=a,o=e[15712]|0,l=+u[t>>3],s=+u[t+8>>3],i=e[t+16>>2]|0,(e[i+4>>2]|0)==(t|0)?(i=e[i>>2]|0,n=i):(n=t+24|0,i=t+24|0),w=+u[n>>3],c=+u[i+8>>3],e[A>>2]=r,u[A+8>>3]=l,u[A+16>>3]=s,u[A+24>>3]=w,u[A+32>>3]=c,A2(o,93784,A)|0,g=a}function RF(r,t,i){return r=+r,t=+t,i=+i,(r==t|t==i?0:(r>3]=0,n=n+1|0;u[o+(r<<3)>>3]=1,tA0(e[t+(r<<2)>>2]|0,o,i),r=r+1|0}for(r0(o),o=0;;){if((o|0)>=(i|0)){r=1;break e}for(n=t+(o<<2)|0,r=0;(r|0)!=(o|0);)A=(e[n>>2]|0)+(r<<3)|0,s=+u[A>>3],l=(e[t+(r<<2)>>2]|0)+(o<<3)|0,u[A>>3]=+u[l>>3],u[l>>3]=s,r=r+1|0;o=o+1|0}}while(0);return r|0}function GF(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;E=t<<3,m=_0(E)|0,E=_0(E)|0,B=t*30|0,p=(i|0)<(t|0)?i:t,v=t+-1|0,w=(l|0)==0,i=0,s=0;e:for(;!((s|0)>=(p|0));){a=e[n+(s<<2)>>2]|0;do{r:do if(w)i=0;else for(i=0;;){if((i|0)==(t|0)){i=0;break r}u[a+(i<<3)>>3]=+((ri()|0)%100|0|0),i=i+1|0}while(0);for(;(i|0)!=(s|0);)l=e[n+(i<<2)>>2]|0,XA(a,0,v,-+tl(l,0,v,a),l),i=i+1|0;A=+Zf(a,0,v)}while(A<1e-10);Wf(a,0,v,1/A,a),i=0;do{for(Nl(E,0,v,a),ZF(r,t,t,a,m),Nl(a,0,v,m),l=0;(l|0)!=(s|0);)x=e[n+(l<<2)>>2]|0,XA(a,0,v,-+tl(x,0,v,a),x),l=l+1|0;if(x=i,i=i+1|0,A=+Zf(a,0,v),!((x|0)<(B|0)&!(A<1e-10)))break e;Wf(a,0,v,1/A,a),c=+tl(a,0,v,E)}while(+L0(+c)<.999);u[o+(s<<3)>>3]=c*A,s=s+1|0}for(;!((s|0)>=(p|0));){for(a=e[n+(s<<2)>>2]|0,l=0;;){if((l|0)>=(t|0)){l=0;break}u[a+(l<<3)>>3]=+((ri()|0)%100|0|0),l=l+1|0}for(;!((l|0)>=(s|0));)x=e[n+(l<<2)>>2]|0,XA(a,0,v,-+tl(x,0,v,a),x),l=l+1|0;Wf(a,0,v,1/+Zf(a,0,v),a),u[o+(s<<3)>>3]=0,s=s+1|0}for(w=p+-1|0,s=0;!((s|0)>=(w|0));){for(r=o+(s<<3)|0,t=s+1|0,A=+u[r>>3],l=s,a=t;!((a|0)>=(p|0));)c=+u[o+(a<<3)>>3],x=A>2]|0),x=n+(l<<2)|0,Nl(e[a>>2]|0,0,v,e[x>>2]|0),Nl(e[x>>2]|0,0,v,m),u[o+(l<<3)>>3]=+u[r>>3],u[r>>3]=A,s=t}return r0(m),r0(E),(i|0)<=(B|0)|0}function tl(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(l=0,o=1-t+i|0,n=n+(t<<3)|0,i=r+(t<<3)|0;o;)l=+u[n>>3]*+u[i>>3]+l,o=o+-1|0,n=n+8|0,i=i+8|0;return+l}function XA(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=o|0;var l=0;for(l=1-t+i|0,o=o+(t<<3)|0,i=r+(t<<3)|0;l;)u[i>>3]=+u[i>>3]+ +u[o>>3]*n,l=l+-1|0,o=o+8|0,i=i+8|0}function Zf(r,t,i){return r=r|0,t=t|0,i=i|0,+ +G0(+ +tl(r,t,i,r))}function Wf(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=o|0;var l=0;for(l=1-t+i|0,o=o+(t<<3)|0,i=r+(t<<3)|0;l;)u[i>>3]=+u[o>>3]*n,l=l+-1|0,o=o+8|0,i=i+8|0}function Nl(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(o=1-t+i|0,n=n+(t<<3)|0,i=r+(t<<3)|0;o;)u[i>>3]=+u[n>>3],o=o+-1|0,n=n+8|0,i=i+8|0}function ZF(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;for(A=0;!((A|0)>=(t|0));){for(a=r+(A<<2)|0,l=0,s=0;!((s|0)>=(i|0));)l=+u[n+(s<<3)>>3]*+u[(e[a>>2]|0)+(s<<3)>>3]+l,s=s+1|0;u[o+(A<<3)>>3]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(l=O2(e[s>>2]|0,N0(i*20|0,n)|0)|0,m=O2(s,i<<2)|0):(l=Te(N0(i*20|0,n)|0)|0,m=Te(i<<2)|0),e[o>>2]=m,s=0;;){if((s|0)>=(i|0)){o=0;break}e[m+(s<<2)>>2]=l,s=s+1|0,l=l+(n<<2)|0}for(;!((o|0)>=(i|0));){for(a=e[r+(o*20|0)+4>>2]|0,c=e[r+(o*20|0)+8>>2]|0,w=e[r+(o*20|0)>>2]|0,p=m+(o<<2)|0,l=0;!((l|0)>=(n|0));){for(v=t+(l<<2)|0,A=0,s=0;!((s|0)>=(w|0));)A=+u[(e[v>>2]|0)+(e[a+(s<<2)>>2]<<3)>>3]*+x0[c+(s<<2)>>2]+A,s=s+1|0;x0[(e[p>>2]|0)+(l<<2)>>2]=A,l=l+1|0}o=o+1|0}}function qA(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0,n=t,o=r;o;)i=+u[n>>3]+i,n=n+8|0,o=o+-1|0;for(i=i/+(r|0);r;)u[t>>3]=+u[t>>3]-i,t=t+8|0,r=r+-1|0}function jy0(r,t){r=r|0,t=t|0;var i=0;for(i=0;!((i|0)>=(r|0));)u[t+(i<<3)>>3]=+((ri()|0)%500|0|0),i=i+1|0;qA(r,t)}function DF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;for(s=0;!((s|0)>=(t|0));){for(A=e[r+(s*20|0)>>2]|0,a=r+(s*20|0)+8|0,c=r+(s*20|0)+4|0,o=0,l=0;!((l|0)>=(A|0));)o=+u[i+(e[(e[c>>2]|0)+(l<<2)>>2]<<3)>>3]*+x0[(e[a>>2]|0)+(l<<2)>>2]+o,l=l+1|0;u[n+(s<<3)>>3]=o,s=s+1|0}}function MF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;for(s=0;!((s|0)>=(t|0));){for(A=r+(s<<2)|0,o=0,l=0;(l|0)!=(t|0);)o=+u[i+(l<<3)>>3]*+x0[(e[A>>2]|0)+(l<<2)>>2]+o,l=l+1|0;u[n+(s<<3)>>3]=o,s=s+1|0}}function rk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)u[n+(o<<3)>>3]=+u[t+(o<<3)>>3]-+u[i+(o<<3)>>3],o=o+1|0}function tk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)u[n+(o<<3)>>3]=+u[i+(o<<3)>>3]+ +u[t+(o<<3)>>3],o=o+1|0}function Gc(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)u[n+(o<<3)>>3]=+u[t+(o<<3)>>3]*i,o=o+1|0}function ik(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(n=0;!((n|0)>=(r|0));)u[i+(n<<3)>>3]=+u[t+(n<<3)>>3],n=n+1|0}function Zc(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=0,o=0;!((o|0)>=(r|0));)n=+u[i+(o<<3)>>3]*+u[t+(o<<3)>>3]+n,o=o+1|0;return+n}function jF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0,n=-1e50;!((i|0)>=(r|0));)o=+L0(+ +u[t+(i<<3)>>3]),i=i+1|0,n=o>n?o:n;return+n}function NF(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(A=0;(A|0)<(t|0);){l=0,s=0;for(;!((s|0)>=(i|0));)l=+u[n+(s<<3)>>3]*+u[(e[r+(s<<2)>>2]|0)+(A<<3)>>3]+l,s=s+1|0;u[o+(A<<3)>>3]=l,A=A+1|0}}function $A(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0,n=t,o=r;o;)i=+x0[n>>2]+i,n=n+4|0,o=o+-1|0;for(i=i/+(r|0);r;)x0[t>>2]=+x0[t>>2]-i,t=t+4|0,r=r+-1|0}function Wc(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;for(o=0;;){if((o|0)>=(t|0)){s=0,a=0,p=t;break}x0[n+(o<<2)>>2]=0,o=o+1|0}for(;!((a|0)>=(t|0));){for(w=+x0[i+(a<<2)>>2],c=a+1|0,l=+x0[r+(s<<2)>>2]*w,A=c,o=s;o=o+1|0,(A|0)!=(t|0);)E=+x0[r+(o<<2)>>2],v=+x0[i+(A<<2)>>2]*E+l,m=n+(A<<2)|0,x0[m>>2]=+x0[m>>2]+E*w,l=v,A=A+1|0;m=n+(a<<2)|0,x0[m>>2]=+x0[m>>2]+l,s=s+p|0,a=c,p=p+-1|0}}function Ny0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)x0[n+(o<<2)>>2]=+x0[t+(o<<2)>>2]-+x0[i+(o<<2)>>2],o=o+1|0}function pE(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)x0[n+(o<<2)>>2]=+x0[i+(o<<2)>>2]+ +x0[t+(o<<2)>>2],o=o+1|0}function nk(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0,l=0;for(o=0;!((o|0)>=(r|0));)l=t+(o<<2)|0,x0[l>>2]=+x0[n+(o<<2)>>2]*i+ +x0[l>>2],o=o+1|0}function Qy0(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)x0[n+(o<<2)>>2]=+x0[t+(o<<2)>>2]*i,o=o+1|0}function QF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(n=0;!((n|0)>=(r|0));)e[i+(n<<2)>>2]=e[t+(n<<2)>>2],n=n+1|0}function Df(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=0,o=0;!((o|0)>=(r|0));)n=n+ +x0[i+(o<<2)>>2]*+x0[t+(o<<2)>>2],o=o+1|0;return+n}function TF(r,t,i){r=r|0,t=+t,i=i|0;var n=0;for(n=0;!((n|0)>=(r|0));)u[i+(n<<3)>>3]=t,n=n+1|0}function Kh(r,t,i){r=r|0,t=+t,i=i|0;var n=0;for(n=0;!((n|0)>=(r|0));)x0[i+(n<<2)>>2]=t,n=n+1|0}function Ty0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=-10000000150474662e14,n=0;!((n|0)>=(r|0));)o=+L0(+ +x0[t+(n<<2)>>2]),i=o>i?o:i,n=n+1|0;return+i}function ok(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0;!((i|0)>=(r|0));)n=t+(i<<2)|0,o=+x0[n>>2],x0[n>>2]=o*o,i=i+1|0}function FF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0;!((i|0)>=(r|0));)n=t+(i<<2)|0,o=+x0[n>>2],o!=0&&(x0[n>>2]=1/o),i=i+1|0}function PF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=0;!((n|0)>=(r|0));)o=+x0[t+(n<<2)>>2],o>=0&&(x0[i+(n<<2)>>2]=+G0(+o)),n=n+1|0}function YF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0;!((i|0)>=(r|0));)n=t+(i<<2)|0,o=+x0[n>>2],o>0&&(x0[n>>2]=1/+G0(+o)),i=i+1|0}function bh(r,t){r=r|0,t=t|0;var i=0;e[r>>2]=0,t&3&&(4%(t>>>0)|0?t=N0(4/((Fy0(t)|0)>>>0)|0,t)|0:t=4),e[r+8>>2]=t,r=r+4|0,t=e[r>>2]|0;e:do if(t|0)for(;;){if(!t)break e;i=e[t>>2]|0,r0(e[t+4>>2]|0),r0(t),t=i}while(0);e[r>>2]=0}function Fy0(r){r=r|0;var t=0,i=0;i=4;e:for(;;){for(t=i;;){if((t|0)==(r|0))break e;if((t|0)<=(r|0))break;t=t-r|0}i=t,r=r-t|0}return r|0}function e8(r){r=r|0;var t=0,i=0,n=0,o=0;if(t=e[r>>2]|0,!t){for(i=e[r+8>>2]|0,n=_0(8)|0,o=_0(N0(e[46855]|0,i)|0)|0,e[n+4>>2]=o,t=0;!((t|0)>=(e[46855]|0));)lk(o+(N0(t,i)|0)|0,r),t=t+1|0;t=r+4|0,e[n>>2]=e[t>>2],e[t>>2]=n,t=e[r>>2]|0}return e[r>>2]=e[t>>2],t|0}function lk(r,t){r=r|0,t=t|0,e[r>>2]=e[t>>2],e[t>>2]=r}function OF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;for(w=j0(t<<3)|0,c=r+8|0,o=e[c>>2]|0,Py0(r,t,w),jy0(t,i),l=0,s=0;!((s|0)>=(t|0));)l=(e[r+(s*20|0)>>2]|0)+l|0,s=s+1|0;for(l=_0(l<<2)|0,A=0;!((A|0)>=(t|0));){for(e[r+(A*20|0)+8>>2]=l,a=e[r+(A*20|0)>>2]|0,x0[l>>2]=+(1-a|0),s=1;!((s|0)>=(a|0));)x0[l+(s<<2)>>2]=1,s=s+1|0;l=l+(a<<2)|0,A=A+1|0}for(s=jg0(r,i,w,t,.001,n)|0,r0(e[c>>2]|0),l=0;!((l|0)>=(t|0));)e[r+(l*20|0)+8>>2]=o,o=o+(e[r+(l*20|0)>>2]<<2)|0,l=l+1|0;return r0(w),s>>>31|0}function Py0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(A=r+16|0,l=0;!((l|0)>=(t|0));){if(e[A>>2]|0){for(a=e[r+(l*20|0)>>2]|0,c=r+(l*20|0)+8|0,s=r+(l*20|0)+16|0,n=0,o=1;!((o|0)>=(a|0));)n=n+ +x0[(e[s>>2]|0)+(o<<2)>>2]*+x0[(e[c>>2]|0)+(o<<2)>>2],o=o+1|0;u[i+(l<<3)>>3]=n}l=l+1|0}}function VF(r,t,i,n,o,l,s,A,a){r=r|0,t=t|0,i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=o+12|0,s=o+8|0,e[l>>2]=n,e[A>>2]=0,e[s>>2]=0,Hs0(e[r>>2]|0,i,i<<2,a),WF(e[a>>2]|0,r,i,t,A),My0(r,e[A>>2]|0,t,i,t,s),r0(e[e[A>>2]>>2]|0),r0(e[A>>2]|0),n=(GF(e[s>>2]|0,t,1,l,o,1)|0)&255,g=o,n|0}function Vy0(){e[46914]=0,r0(e[46915]|0),r0(e[46916]|0),r0(e[46917]|0),e[46915]=0,e[46916]=0,e[46917]=0}function Hy0(r){r=r|0,r0(e[r+36>>2]|0)}function Jy0(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;m=g,g=g+80|0,w=m+64|0,v=m+68|0,l=m+48|0,s=m+32|0,A=m+16|0,a=m,c=t+16|0,o=e[c>>2]|0;e:do if(e[o+212>>2]|0)e[v>>2]=4,x=+u[o+32>>3]*.5+i,z=+u[o+40>>3]*.5+n,e[r+40>>2]=1,l=_0(64)|0,u[l>>3]=x,u[l+8>>3]=z,B=-x,u[l+16>>3]=B,u[l+24>>3]=z,u[l+32>>3]=B,z=-z,u[l+40>>3]=z,u[l+48>>3]=x,u[l+56>>3]=z,p=21;else switch(ZA(t)|0){case 1:{switch(o=e[c>>2]|0,s=e[o+12>>2]|0,A=e[s+8>>2]|0,e[v>>2]=A,o=e[e[o+8>>2]>>2]|0,y[o>>0]|0){case 98:{ge(o,108236)|0?p=8:p=11;break}case 112:{!(ge(o,105721)|0)&&HF(e[s+44>>2]|0,A)|0?p=11:p=8;break}default:p=8}do if((p|0)==8)if((A|0)<3){e[r+40>>2]=e[s>>2]|0?2:0,p=17;break}else{o=r+40|0,e[o>>2]=0;break}else(p|0)==11&&(o=r+40|0,e[o>>2]=1,(A|0)<=2&&(p=17));while(0);if((p|0)==17){l=sk(t,v,i,n)|0,p=21;break e}if(l=_0(A<<4)|0,s=s+44|0,(e[o>>2]|0)==1){p=e[s>>2]|0,E=i,u[l>>3]=+u[p>>3]*.013888888888888888+E,i=n,u[l+8>>3]=+u[p+8>>3]*.013888888888888888+i,u[l+16>>3]=+u[p+16>>3]*.013888888888888888-E,u[l+24>>3]=+u[p+24>>3]*.013888888888888888+i,u[l+32>>3]=+u[p+32>>3]*.013888888888888888-E,u[l+40>>3]=+u[p+40>>3]*.013888888888888888-i,u[l+48>>3]=+u[p+48>>3]*.013888888888888888+E,u[l+56>>3]=+u[p+56>>3]*.013888888888888888-i,p=21;break e}for(o=0;;){if((o|0)>=(A|0)){p=21;break e}p=e[s>>2]|0,x=+u[p+(o<<4)>>3],E=+u[p+(o<<4)+8>>3],B=+G0(+(E*E+x*x)),u[l+(o<<4)>>3]=(i/B+1)*x*.013888888888888888,u[l+(o<<4)+8>>3]=(n/B+1)*E*.013888888888888888,o=o+1|0}}case 2:{e[v>>2]=4,p=_0(64)|0,t=e[(e[c>>2]|0)+12>>2]|0,z=+u[t+32>>3],B=+u[t+40>>3],w=~~+u[t+16>>3],t=~~+u[t+24>>3],x=-i,E=-n,Ak(l,w,t,x,E),e[p>>2]=e[l>>2],e[p+4>>2]=e[l+4>>2],e[p+8>>2]=e[l+8>>2],e[p+12>>2]=e[l+12>>2],l=p+16|0,c=~~z,Ak(s,c,t,i,E),e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2],l=p+32|0,t=~~B,Ak(A,c,t,i,n),e[l>>2]=e[A>>2],e[l+4>>2]=e[A+4>>2],e[l+8>>2]=e[A+8>>2],e[l+12>>2]=e[A+12>>2],l=p+48|0,Ak(a,w,t,x,n),e[l>>2]=e[a>>2],e[l+4>>2]=e[a+4>>2],e[l+8>>2]=e[a+8>>2],e[l+12>>2]=e[a+12>>2],e[r+40>>2]=1,l=p,p=21;break e}case 3:{e[r+40>>2]=2,l=sk(t,v,i,n)|0,p=21;break e}default:{e[w>>2]=e[e[(e[c>>2]|0)+8>>2]>>2],$0(1,93883,w)|0,o=1;break e}}while(0);return(p|0)==21&&(e[r+36>>2]=l,o=e[v>>2]|0,e[r+32>>2]=o,JF(l,o,r,r+16|0),(o|0)>(e[46914]|0)&&(e[46914]=o),o=0),g=m,o|0}function HF(r,t){r=r|0,t=t|0;var i=0,n=0;do if((t|0)==4){if(i=+u[r+8>>3],t=r+16|0,n=+u[r+24>>3],i==n){if(+u[r+40>>3]!=+u[r+56>>3]){t=0;break}if(+u[r>>3]!=+u[r+48>>3]){t=0;break}t=+u[t>>3]==+u[r+32>>3];break}+u[r>>3]==+u[t>>3]&&+u[r+32>>3]==+u[r+48>>3]&&i==+u[r+56>>3]?t=n==+u[r+40>>3]:t=0}else t=0;while(0);return t&1|0}function sk(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,a=0,c=0;for(o=he(r,102705)|0,o?o=F1(o)|0:o=0,s=(o|0)<3?20:o,A=_0(s<<4)|0,r=r+16|0,l=1/+(s|0),o=0;!((o|0)>=(s|0));)c=e[r>>2]|0,a=l*+(o|0)*6.283185307179586,u[A+(o<<4)>>3]=(+u[c+32>>3]*.5+i)*+ee(+a),u[A+(o<<4)+8>>3]=(+u[c+40>>3]*.5+n)*+le(+a),o=o+1|0;return e[t>>2]=s,A|0}function Ak(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=+o,u[r>>3]=+(t|0)*.013888888888888888+n,u[r+8>>3]=+(i|0)*.013888888888888888+o}function JF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;for(a=+u[r>>3],A=+u[r+8>>3],o=1,l=A,s=a;!((o|0)>=(t|0));)c=r+16|0,w=+u[c>>3],p=+u[r+24>>3],o=o+1|0,l=p>l?p:l,s=w>s?w:s,A=p>3]=a,u[i+8>>3]=A,u[n>>3]=s,u[n+8>>3]=l}function Uy0(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;m=g,g=g+80|0,c=m+64|0,p=m+68|0,l=m+48|0,s=m+32|0,A=m+16|0,a=m,w=t+16|0,o=e[w>>2]|0;e:do if(e[o+212>>2]|0)e[p>>2]=4,x=+u[o+32>>3]*.5,z=+u[o+40>>3]*.5,e[r+40>>2]=1,l=_0(64)|0,u[l>>3]=x,u[l+8>>3]=z,B=-x,u[l+16>>3]=B,u[l+24>>3]=z,u[l+32>>3]=B,z=-z,u[l+40>>3]=z,u[l+48>>3]=x,u[l+56>>3]=z,v=20;else switch(ZA(t)|0){case 1:{a=e[(e[w>>2]|0)+12>>2]|0,c=a+8|0,A=e[c>>2]|0,e[p>>2]=A;r:do if((A|0)>2)for(l=_0(A<<4)|0,s=a+44|0,o=0;;){if((o|0)>=(A|0))break r;t=e[s>>2]|0,u[l+(o<<4)>>3]=+u[t+(o<<4)>>3]*.013888888888888888,u[l+(o<<4)+8>>3]=+u[t+(o<<4)+8>>3]*.013888888888888888,o=o+1|0}else l=sk(t,p,0,0)|0;while(0);switch(o=e[e[(e[w>>2]|0)+8>>2]>>2]|0,y[o>>0]|0){case 98:{ge(o,108236)|0?v=13:o=1;break}case 112:{!(ge(o,105721)|0)&&HF(l,e[p>>2]|0)|0?o=1:v=13;break}default:v=13}do if((v|0)==13){if((e[c>>2]|0)<3&&e[a>>2]|0){o=2;break}o=0}while(0);e[r+40>>2]=o,v=20;break e}case 2:{e[p>>2]=4,v=_0(64)|0,w=e[(e[w>>2]|0)+12>>2]|0,B=+u[w+16>>3],z=+u[w+24>>3],x=+u[w+32>>3],E=+u[w+40>>3],uk(l,B,z),e[v>>2]=e[l>>2],e[v+4>>2]=e[l+4>>2],e[v+8>>2]=e[l+8>>2],e[v+12>>2]=e[l+12>>2],l=v+16|0,uk(s,x,z),e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2],l=v+32|0,uk(A,x,E),e[l>>2]=e[A>>2],e[l+4>>2]=e[A+4>>2],e[l+8>>2]=e[A+8>>2],e[l+12>>2]=e[A+12>>2],l=v+48|0,uk(a,B,E),e[l>>2]=e[a>>2],e[l+4>>2]=e[a+4>>2],e[l+8>>2]=e[a+8>>2],e[l+12>>2]=e[a+12>>2],e[r+40>>2]=1,l=v,v=20;break e}case 3:{e[r+40>>2]=2,l=sk(t,p,0,0)|0,v=20;break e}default:{e[c>>2]=e[e[(e[w>>2]|0)+8>>2]>>2],$0(1,93919,c)|0,o=1;break e}}while(0);return(v|0)==20&&(o=e[p>>2]|0,i!=1|n!=1&&Xy0(l,o,i,n),e[r+36>>2]=l,e[r+32>>2]=o,JF(l,o,r,r+16|0),(o|0)>(e[46914]|0)&&(e[46914]=o),o=0),g=m,o|0}function uk(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t*.013888888888888888,u[r+8>>3]=i*.013888888888888888}function Xy0(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0;for(o=0;!((o|0)>=(t|0));)u[r>>3]=+u[r>>3]*i,l=r+8|0,u[l>>3]=+u[l>>3]*n,r=r+16|0,o=o+1|0}function qy0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;E=g,g=g+128|0,p=E+112|0,w=E+96|0,c=E+80|0,o=E+64|0,v=E+48|0,m=E+32|0,A=E+16|0,a=E,e[w>>2]=e[r>>2],e[w+4>>2]=e[r+4>>2],e[w+8>>2]=e[r+8>>2],e[w+12>>2]=e[r+12>>2],e[p>>2]=e[t>>2],e[p+4>>2]=e[t+4>>2],e[p+8>>2]=e[t+8>>2],e[p+12>>2]=e[t+12>>2],qp(v,w,p),l=t+16|0,e[w>>2]=e[r>>2],e[w+4>>2]=e[r+4>>2],e[w+8>>2]=e[r+8>>2],e[w+12>>2]=e[r+12>>2],e[p>>2]=e[l>>2],e[p+4>>2]=e[l+4>>2],e[p+8>>2]=e[l+8>>2],e[p+12>>2]=e[l+12>>2],qp(m,w,p),e[w>>2]=e[i>>2],e[w+4>>2]=e[i+4>>2],e[w+8>>2]=e[i+8>>2],e[w+12>>2]=e[i+12>>2],e[p>>2]=e[n>>2],e[p+4>>2]=e[n+4>>2],e[p+8>>2]=e[n+8>>2],e[p+12>>2]=e[n+12>>2],qp(A,w,p),s=n+16|0,e[w>>2]=e[i>>2],e[w+4>>2]=e[i+4>>2],e[w+8>>2]=e[i+8>>2],e[w+12>>2]=e[i+12>>2],e[p>>2]=e[s>>2],e[p+4>>2]=e[s+4>>2],e[p+8>>2]=e[s+8>>2],e[p+12>>2]=e[s+12>>2],qp(a,w,p),e[o>>2]=e[v>>2],e[o+4>>2]=e[v+4>>2],e[o+8>>2]=e[v+8>>2],e[o+12>>2]=e[v+12>>2],e[c>>2]=e[m>>2],e[c+4>>2]=e[m+4>>2],e[c+8>>2]=e[m+8>>2],e[c+12>>2]=e[m+12>>2],e[w>>2]=e[A>>2],e[w+4>>2]=e[A+4>>2],e[w+8>>2]=e[A+8>>2],e[w+12>>2]=e[A+12>>2],e[p>>2]=e[a>>2],e[p+4>>2]=e[a+4>>2],e[p+8>>2]=e[a+8>>2],e[p+12>>2]=e[a+12>>2];do if($y0(o,c,w,p)|0){if(o=e[t+40>>2]|0,o&1|0&&e[n+40>>2]&1|0){o=1;break}if(o&2|0&&e[n+40>>2]&2|0){B=+u[l>>3]-+u[t>>3]+ +u[s>>3]-+u[n>>3],x=+u[r>>3]-+u[i>>3],z=+u[r+8>>3]-+u[i+8>>3],o=!(z*z+x*x>B*B*.25);break}if(o=e[46915]|0,o?s=e[46916]|0:(e[46915]=_0(e[46914]<<4)|0,s=_0(e[46914]<<4)|0,e[46916]=s,o=e[46915]|0),_=e[t+36>>2]|0,t=t+32|0,l=e[t>>2]|0,e[p>>2]=e[r>>2],e[p+4>>2]=e[r+4>>2],e[p+8>>2]=e[r+8>>2],e[p+12>>2]=e[r+12>>2],UF(_,l,p,o),r=e[n+36>>2]|0,l=n+32|0,n=e[l>>2]|0,e[p>>2]=e[i>>2],e[p+4>>2]=e[i+4>>2],e[p+8>>2]=e[i+8>>2],e[p+12>>2]=e[i+12>>2],UF(r,n,p,s),Ky0(o,s,e[t>>2]|0,e[l>>2]|0)|0)o=1;else{if(o=e[46915]|0,e[c>>2]=e[o>>2],e[c+4>>2]=e[o+4>>2],e[c+8>>2]=e[o+8>>2],e[c+12>>2]=e[o+12>>2],e[w>>2]=e[A>>2],e[w+4>>2]=e[A+4>>2],e[w+8>>2]=e[A+8>>2],e[w+12>>2]=e[A+12>>2],e[p>>2]=e[a>>2],e[p+4>>2]=e[a+4>>2],e[p+8>>2]=e[a+8>>2],e[p+12>>2]=e[a+12>>2],XF(c,w,p)|0&&(a=e[46916]|0,_=e[l>>2]|0,e[p>>2]=e[o>>2],e[p+4>>2]=e[o+4>>2],e[p+8>>2]=e[o+8>>2],e[p+12>>2]=e[o+12>>2],qF(a,_,p)|0)){o=1;break}o=e[46916]|0,e[c>>2]=e[o>>2],e[c+4>>2]=e[o+4>>2],e[c+8>>2]=e[o+8>>2],e[c+12>>2]=e[o+12>>2],e[w>>2]=e[v>>2],e[w+4>>2]=e[v+4>>2],e[w+8>>2]=e[v+8>>2],e[w+12>>2]=e[v+12>>2],e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],XF(c,w,p)|0?(m=e[46915]|0,_=e[t>>2]|0,e[p>>2]=e[o>>2],e[p+4>>2]=e[o+4>>2],e[p+8>>2]=e[o+8>>2],e[p+12>>2]=e[o+12>>2],o=(qF(m,_,p)|0)!=0):o=0}}else o=0;while(0);return g=E,o&1|0}function $y0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,+u[r>>3]<=+u[n>>3]&&+u[i>>3]<=+u[t>>3]&&+u[r+8>>3]<=+u[n+8>>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+12>>2],a=+kF(E,B,x),e[E>>2]=e[U>>2],e[E+4>>2]=e[U+4>>2],e[E+8>>2]=e[U+8>>2],e[E+12>>2]=e[U+12>>2],e[B>>2]=e[P>>2],e[B+4>>2]=e[P+4>>2],e[B+8>>2]=e[P+8>>2],e[B+12>>2]=e[P+12>>2],e[x>>2]=e[v>>2],e[x+4>>2]=e[v+4>>2],e[x+8>>2]=e[v+8>>2],e[x+12>>2]=e[v+12>>2],c=vF(E,B,x)|0,e[E>>2]=e[p>>2],e[E+4>>2]=e[p+4>>2],e[E+8>>2]=e[p+8>>2],e[E+12>>2]=e[p+12>>2],e[B>>2]=e[v>>2],e[B+4>>2]=e[v+4>>2],e[B+8>>2]=e[v+8>>2],e[B+12>>2]=e[v+12>>2],e[x>>2]=e[P>>2],e[x+4>>2]=e[P+4>>2],e[x+8>>2]=e[P+8>>2],e[x+12>>2]=e[P+12>>2],w=vF(E,B,x)|0,e[m>>2]=e[U>>2],e[m+4>>2]=e[U+4>>2],e[m+8>>2]=e[U+8>>2],e[m+12>>2]=e[U+12>>2],e[E>>2]=e[P>>2],e[E+4>>2]=e[P+4>>2],e[E+8>>2]=e[P+8>>2],e[E+12>>2]=e[P+12>>2],e[B>>2]=e[p>>2],e[B+4>>2]=e[p+4>>2],e[B+8>>2]=e[p+8>>2],e[B+12>>2]=e[p+12>>2],e[x>>2]=e[v>>2],e[x+4>>2]=e[v+4>>2],e[x+8>>2]=e[v+8>>2],e[x+12>>2]=e[v+12>>2],wy0(m,E,B,x,G)|0){o=1;break}p=(c|0)==0,v=(w|0)==0;do if(a!=0|(w|c|0)!=0)if(a>=0)if(p){l=(l+1|0)%(n|0)|0,A=A+1|0;break}else{o=(o+1|0)%(i|0)|0,s=s+1|0;break}else if(v){o=(o+1|0)%(i|0)|0,s=s+1|0;break}else{l=(l+1|0)%(n|0)|0,A=A+1|0;break}else o=(o+1|0)%(i|0)|0,s=s+1|0;while(0);if(!((A|0)<(z|0)&((s|0)<(T|0)&((A|0)<(n|0)|(s|0)<(i|0))))){o=0;break}}return g=D,o|0}function XF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=+u[r>>3],o<=+u[i>>3]&&o>=+u[t>>3]&&(n=+u[r+8>>3],n<=+u[i+8>>3])?r=n>=+u[t+8>>3]&1:r=0,r|0}function qF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(n=e[46917]|0,n||(n=_0(e[46914]<<4)|0,e[46917]=n),s=i+8|0,l=0;!((l|0)>=(t|0));)u[n+(l<<4)>>3]=+u[r+(l<<4)>>3]-+u[i>>3],u[n+(l<<4)+8>>3]=+u[r+(l<<4)+8>>3]-+u[s>>3],l=l+1|0;i=t+-1|0,o=0,r=0;e:for(;;){if((r|0)>=(t|0)){c=19;break}if(l=(i+r|0)%(t|0)|0,A=+u[n+(r<<4)+8>>3],s=A==0,s&&+u[n+(l<<4)+8>>3]==0){if(+u[n+(l<<4)>>3]*+u[n+(r<<4)>>3]<0){n=1;break}}else c=11;do if((c|0)==11){if(c=0,a=+u[n+(l<<4)+8>>3],!(A>=0)|!(a<=0)&&!(a>=0)|!(A<=0))break;if(A=(a*+u[n+(r<<4)>>3]-A*+u[n+(l<<4)>>3])/(a-A),A==0){n=1;break e}if(A>0)if(a==0|s){o=o+.5;break}else{o=o+1;break}}while(0);r=r+1|0}return(c|0)==19&&(n=((~~o|0)%2|0|0)==1&1),n|0}function $F(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(a=_0(t<<2)|0,A=N0(t,t)|0,i=_0(A<<2)|0,e[a>>2]=i,Kh(A,0,i),i=1;;){if((i|0)>=(t|0)){i=0,l=0,A=t;break}e[a+(i<<2)>>2]=(e[a>>2]|0)+((N0(i,t)|0)<<2),i=i+1|0}for(;!((l|0)>=(t|0));){for(s=a+(l<<2)|0,n=l,o=i;(n|0)!=(t|0);)c=e[r+(o<<2)>>2]|0,e[(e[s>>2]|0)+(n<<2)>>2]=c,e[(e[a+(n<<2)>>2]|0)+(l<<2)>>2]=c,n=n+1|0,o=o+1|0;i=i+A|0,l=l+1|0,A=A+-1|0}return a|0}function by0(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=+A;var a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0;B0=e[i+(o<<2)>>2]|0,P=e[r+4>>2]|0,U=e[r>>2]|0,J=e[r+48>>2]|0,F=e[r+52>>2]|0,q=e[r+56>>2]|0;e:do if((l|0)<1)i=0;else{for(r90(B0,P,J,F,q,A),t0=e[r+28>>2]|0,Y=e[r+32>>2]|0,H=e[r+36>>2]|0,f0=e[r+12>>2]|0,k0=e[r+16>>2]|0,o=0,n=0,i=-1;!((o|0)>=(P|0));)(o|0)>=(n|0)&&(i=i+1|0,(i|0)==(q|0)?(n=P,i=q):n=e[F+(i<<2)>>2]|0),e[k0+(e[J+(o<<2)>>2]<<2)>>2]=i,o=o+1|0;for(T=e[r+40>>2]|0,D=Y+(P+-1<<2)|0,i=0,n=0;;){if(n<<24>>24==0&(i|0)<(l|0))a=-1e9,o=0,n=1;else break e;r:for(;;){for(W=o;;){if((W|0)>=(P|0))break r;for(o=e[J+(W<<2)>>2]|0,N=+x0[B0+(o<<2)>>2],c=N,G=W,w=0;;){if(x0[T+(o<<2)>>2]=w,o=G+1|0,(o|0)>=(P|0)){L=0;break}if(c=(e[k0+(o<<2)>>2]|0)>(e[k0+(G<<2)>>2]|0)?c+A:c,r=e[J+(o<<2)>>2]|0,w=+x0[B0+(r<<2)>>2],+L0(+(w-c))>1e-9){L=1;break}G=o,w=w-N,o=r}for(p=W;;){if((p|0)>(G|0)){r=0,v=W;break}for(v=e[J+(p<<2)>>2]|0,m=e[U+(v<<2)>>2]|0,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|0,e[c+16>>2]=_0(A)|0,e[c+20>>2]=_0(A)|0,e[c+24>>2]=_0(A)|0,c|0}function KF(){bh(187676,24),e[46922]=0}function n90(){return e8(187676)|0}function fk(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3]-+u[t>>3],n=+u[r+8>>3]-+u[t+8>>3],+ +G0(+(n*n+i*i))}function o90(r){r=r|0;var t=0;t=e[46922]|0,e[r+16>>2]=t,e[46922]=t+1}function ak(r){r=r|0;var t=0,i=0;i=r+20|0,t=(e[i>>2]|0)+-1|0,e[i>>2]=t,t||lk(r,187676)}function ck(r){r=r|0,r=r+20|0,e[r>>2]=(e[r>>2]|0)+1}function l90(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=+o;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;for(L=g,g=g+16|0,w=L,e[w>>2]=n,v=t<<2,z=_0(v)|0,a=t<<3,_=_0(a)|0,x=By0(r,t)|0,r=0;!((r|0)>=(t|0));){for(A=x+(r<<2)|0,s=0;(s|0)!=(t|0);)E=(e[A>>2]|0)+(s<<2)|0,e[E>>2]=e[E>>2]<<8,s=s+1|0;r=r+1|0}for(i||H0(93952,93960,283,93974),E=_0(a)|0,r=0;!((r|0)>=(t|0));)u[E+(r<<3)>>3]=+u[i+(r<<3)>>3],r=r+1|0;for(bF(E,t),l=0,c=0,a=1;!((a|0)>=(t|0));){for(s=x+(a<<2)|0,A=i+(a<<3)|0,r=0;(r|0)!=(a|0);)G=e[(e[s>>2]|0)+(r<<2)>>2]|0,m=+u[A>>3]-+u[i+(r<<3)>>3],l=m*m*(1/+(N0(G,G)|0))+l,c=+L0(+m)*(1/+(G|0))+c,r=r+1|0;a=a+1|0}for(m=c/l,r=0;!((r|0)>=(t|0));)G=i+(r<<3)|0,u[G>>3]=+u[G>>3]*m,r=r+1|0;for(s90(t,w,o,i,x),A=_0(N0(v,t)|0)|0,s=0;;){if((s|0)>=(t|0)){A=1;break}for(a=A+((N0(s,t)|0)<<2)|0,e[z+(s<<2)>>2]=a,w=x+(s<<2)|0,l=0,r=0;(r|0)!=(t|0);)(r|0)!=(s|0)&&(p=+(e[(e[w>>2]|0)+(r<<2)>>2]|0),p=-1/(p*p),x0[a+(r<<2)>>2]=p,l=l-p),r=r+1|0;x0[a+(s<<2)>>2]=l,s=s+1|0}for(;;){if((A|0)>=(t|0)){s=0;break}for(l=+u[i+(A<<3)>>3],s=x+(A<<2)|0,r=0;(r|0)!=(A|0);)G=(e[s>>2]|0)+(r<<2)|0,c=+(e[G>>2]|0),p=l-+u[i+(r<<3)>>3],p=c*c-p*p,v=~~+G0(+p),v=p>0?v:0,e[(e[x+(r<<2)>>2]|0)+(A<<2)>>2]=v,e[G>>2]=v,r=r+1|0;A=A+1|0}for(;;){if((s|0)>=(t|0)){v=0,r=0;break}for(c=+u[n+(s<<3)>>3],a=_+(s<<3)|0,u[a>>3]=0,w=x+(s<<2)|0,A=z+(s<<2)|0,r=0,l=0;(r|0)!=(t|0);)(r|0)!=(s|0)&&(p=+x0[(e[A>>2]|0)+(r<<2)>>2]*+(e[(e[w>>2]|0)+(r<<2)>>2]|0),l=l+(c>=+u[n+(r<<3)>>3]?-p:p),u[a>>3]=l),r=r+1|0;s=s+1|0}for(;;){if(!(r<<24>>24==0&(v|0)<200)){B=42;break}if((oF(z,n,_,t,o,t,1)|0)<0){r=1;break}else r=1,w=0;for(;!((w|0)>=(t|0));){for(p=+u[n+(w<<3)>>3],A=x+(w<<2)|0,a=z+(w<<2)|0,l=0,s=0;(s|0)!=(t|0);){do if((s|0)!=(w|0))if(c=+x0[(e[a>>2]|0)+(s<<2)>>2]*+(e[(e[A>>2]|0)+(s<<2)>>2]|0),p>=+u[n+(s<<3)>>3]){l=l+-c;break}else{l=l+c;break}while(0);s=s+1|0}s=_+(w<<3)|0,p=+u[s>>3],l!=p&&+L0(+(1-l/p))>1e-5&&(u[s>>3]=l,r=0),w=w+1|0}v=v+1|0}e:do if((B|0)==42)for(l=1/m,r=0;;){if((r|0)>=(t|0)){r=0;break e}G=i+(r<<3)|0,u[G>>3]=+u[G>>3]*l,G=n+(r<<3)|0,u[G>>3]=+u[G>>3]*l,r=r+1|0}while(0);return r0(e[x>>2]|0),r0(x),r0(e[z>>2]|0),r0(z),r0(E),r0(_),g=L,r|0}function bF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(i=0,n=0;!((i|0)>=(t|0));)o=+u[r+(i<<3)>>3]+n,i=i+1|0,n=o;for(n=n/+(t|0),i=0;!((i|0)>=(t|0));)l=r+(i<<3)|0,u[l>>3]=+u[l>>3]-n,i=i+1|0;l=t+-1|0,Wf(r,0,l,1/+Zf(r,0,l),r)}function s90(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0;if(a=A90(o,r)|0,c=_0(8)|0,!n)o=0,A=0;else{for(l=_0(r<<3)|0,o=0;!((o|0)>=(r|0));)u[l+(o<<3)>>3]=+u[n+(o<<3)>>3],o=o+1|0;bF(l,r),o=l,A=l}for(u90(a,r,t,c,o,i),n=0;(n|0)!=1;){for(l=c+(n<<3)|0,s=t+(n<<2)|0,o=0;!((o|0)>=(r|0));)i=+G0(+ +L0(+ +u[l>>3])),w=(e[s>>2]|0)+(o<<3)|0,u[w>>3]=+u[w>>3]*i,o=o+1|0;n=n+1|0}r0(e[a>>2]|0),r0(a),r0(c),r0(A)}function A90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(p=g,g=g+16|0,o=p,w=t<<2,n=_0(N0(w,t)|0)|0,w=_0(w)|0,i=0;!((i|0)>=(t|0));)e[w+(i<<2)>>2]=n+((N0(i,t)|0)<<2),i=i+1|0;for(c=a90(r,t,o)|0,l=+x0[o>>2],n=0,a=1;!((n|0)>=(t|0));){for(o=r+(n<<2)|0,s=c+(n<<2)|0,A=w+(n<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)<(E|0))l=0,o=m;else{w=21;break}for(;!((o|0)>=(n|0));)_=+L0(+ +u[r+((N0(o,n)|0)+m<<3)>>3]),p=_=(n|0));)w=r+(o+A<<3)|0,_=+u[w>>3],p=r+(o+v<<3)|0,u[w>>3]=+u[p>>3],u[p>>3]=_,o=o+1|0;for(p=i+(s<<3)|0,_=+u[p>>3],a=i+(m<<3)|0,u[p>>3]=+u[a>>3],u[a>>3]=_,p=m+1|0,c=r+(v+m<<3)|0,o=p;;){if((o|0)>=(n|0)){m=p;continue e}for(w=N0(o,n)|0,l=+u[r+(w+m<<3)>>3]/+u[c>>3],A=i+(o<<3)|0,u[A>>3]=+u[A>>3]-+u[a>>3]*l,A=0;!((A|0)>=(n|0));)L=r+(A+w<<3)|0,u[L>>3]=+u[L>>3]-+u[r+(A+v<<3)>>3]*l,A=A+1|0;o=o+1|0}}if((w|0)==21)if(l=+u[r+(B+-1<<3)>>3],+L0(+l)<1e-10)w=33;else{for(u[t+(E<<3)>>3]=+u[i+(E<<3)>>3]/l,o=0;;){if((o|0)>=(E|0)){o=0;break}for(s=n-o|0,A=s+-2|0,l=+u[i+(A<<3)>>3],a=t+(A<<3)|0,u[a>>3]=l,c=N0(A,n)|0,s=s+-1|0;!((s|0)>=(n|0));)_=l-+u[t+(s<<3)>>3]*+u[r+(s+c<<3)>>3],u[a>>3]=_,s=s+1|0,l=_;u[a>>3]=l/+u[r+(c+A<<3)>>3],o=o+1|0}for(;;){if((o|0)>=(n|0)){o=0;break}u[i+(o<<3)>>3]=+u[z+(o<<3)>>3],o=o+1|0}for(;!((o|0)>=(B|0));)u[r+(o<<3)>>3]=+u[x+(o<<3)>>3],o=o+1|0;r0(x),r0(z)}(w|0)==33&&(dI0(93989)|0,r0(x),r0(z))}function eP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;E=g,g=g+16|0,m=E,hF(),KF(),vy0(),e[46918]=Vk[t&3]()|0,gy0(),v=m+8|0,p=Vk[t&3]()|0,i=0,n=0;e:for(;;){for(c=(p|0)==0,w=p+8|0;AE()|0||(dy0(m),i=+u[m>>3],n=+u[v>>3]),!(!c&&(AE()|0||(o=+u[w>>3],o>3]>2]|0,o90(s),lE(e[B+8>>2]|0,y[B+16>>0]|0,s),lE(e[z+8>>2]|0,y[z+16>>0]|0,s),gF(B),sE(z),gF(z),z=+u[a+8>>3]>+u[x+8>>3],B=z&1,A=z?x:a,x=wF(A,z?a:x)|0,a=$h(x,B)|0,fE(r,a),lE(x,(B^1)&255,s),ak(s),s=Kp(r,a)|0,s|0&&(sE(r),$p(r,s,+fk(s,A))),r=Kp(a,l)|0,r&&$p(a,r,+fk(r,A))}r=yy0(p)|0,A=bp(r)|0,l=wF(yF(r)|0,p)|0,a=$h(l,0)|0,fE(r,a),s=Kp(r,a)|0,s|0&&(sE(r),$p(r,s,+fk(s,p))),l=$h(l,1)|0,fE(a,l),r=Kp(l,A)|0,r|0&&$p(l,r,+fk(r,p)),p=Vk[t&3]()|0}for(r=e[46860]|0;r=bp(r)|0,(r|0)!=(e[46861]|0);)dF(e[r+8>>2]|0);g=E}function rP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+16|0,o=l+8|0,n=l;do if((v2(r)|0)!=1)if(h90(r),t||(t=w90(r)|0),i=d90(r,t)|0,(i|0)<0){$0(1,94039,o)|0;break}else{p90(r),k90(r,t),v90(r,t),m90(r,i);break}else s=e[(e[(U0(r)|0)+16>>2]|0)+132>>2]|0,e[s>>2]=0,e[s+4>>2]=0,e[s+8>>2]=0,e[s+12>>2]=0;while(0);return g=l,t|0}function h90(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(i=v2(r)|0,i=N0(i,i)|0,t=U0(r)|0;t;)n=t+16|0,o=e[(e[n>>2]|0)+112>>2]|0,l=o+24|0,e[l>>2]=i,e[l+4>>2]=0,u[o+48>>3]=10,o=(E90(r,t)|0)==0,n=e[(e[n>>2]|0)+112>>2]|0,e[n>>2]=o?i:0,e[n+4>>2]=0,t=X0(r,t)|0}function w90(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;n=(v2(r)|0)<3,t=U0(r)|0;e:do if(!n){for(;t;)n=e[(e[t+16>>2]|0)+112>>2]|0,(e[n>>2]|0)==0&(e[n+4>>2]|0)==0&&oP(r,t,0),t=X0(r,t)|0;for(i=0,t=0,n=U0(r)|0;;){if(!n)break e;s=e[(e[n+16>>2]|0)+112>>2]|0,l=e[s>>2]|0,s=e[s+4>>2]|0,o=((i|0)<0)<<31>>31,o=s>>>0>o>>>0|(s|0)==(o|0)&l>>>0>i>>>0,i=o?l:i,t=o?n:t,n=X0(r,n)|0}}while(0);return t|0}function d90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(i=e[(e[t+16>>2]|0)+112>>2]|0,o=i+24|0,n=e[o>>2]|0,e[o>>2]=0,e[o+4>>2]=0,e[i+32>>2]=0,y90(r,t),i=U0(r)|0,n=Yk(0,n|0,32)|0,o=b,t=0;i;){if(s=(e[(e[i+16>>2]|0)+112>>2]|0)+24|0,l=e[s>>2]|0,s=e[s+4>>2]|0,(l|0)==(n|0)&(s|0)==(o|0)){t=-1;break}A=((t|0)<0)<<31>>31,t=s>>>0>A>>>0|(s|0)==(A|0)&l>>>0>t>>>0?l:t,i=X0(r,i)|0}return t|0}function p90(r){r=r|0;var t=0,i=0,n=0,o=0;for(i=U0(r)|0;i;){t=e[(e[i+16>>2]|0)+112>>2]|0,n=t+16|0;e:do if((e[n>>2]|0)==0&(e[n+4>>2]|0)==0)for(;;){if(n=t+8|0,o=n,o=ar(e[o>>2]|0,e[o+4>>2]|0,1,0)|0,e[n>>2]=o,e[n+4>>2]=b,t=e[t+32>>2]|0,!t)break e;t=e[(e[t+16>>2]|0)+112>>2]|0}while(0);i=X0(r,i)|0}}function k90(r,t){r=r|0,t=t|0,u[(e[(e[t+16>>2]|0)+112>>2]|0)+40>>3]=6.283185307179586,iP(r,t)}function v90(r,t){r=r|0,t=t|0,u[(e[(e[t+16>>2]|0)+112>>2]|0)+48>>3]=0,tP(r,t)}function m90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;for(s=g,g=g+16|0,o=s,l=g90(r,t)|0,i=U0(r)|0;i;)o=e[i+16>>2]|0,n=e[o+112>>2]|0,A=+u[l+(e[n+24>>2]<<3)>>3],n=n+48|0,a=+ee(+ +u[n>>3])*A,o=e[o+132>>2]|0,u[o>>3]=a,u[o+8>>3]=+le(+ +u[n>>3])*A,i=X0(r,i)|0;r0(l),g=s}function g90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;c=g,g=g+16|0,A=c,a=j0((t<<3)+8|0)|0,r=wt(r,re(e[r+60>>2]|0,0,101288,0)|0,0)|0;e:do if(!r)n=1,i=0,r=1;else{l=0,i=0,o=1;r:for(;;){if((o|0)>(t|0)){n=l,r=o;break e}if(n=+P1(r,A),!(n>0)){n=l,r=o;break e}for(l=n>.02?n:.02,i=l+i,s=o+1|0,u[a+(o<<3)>>3]=i,r=e[A>>2]|0;;){if(o=y[r>>0]|0,!(o<<24>>24)){o=s;continue r}if(!(o<<24>>24==58|(an(o<<24>>24)|0)!=0)){o=s;continue r}r=r+1|0}}}while(0);for(;!((r|0)>(t|0));)l=i+n,u[a+(r<<3)>>3]=l,r=r+1|0,i=l;return g=c,a|0}function tP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(i=e[(e[t+16>>2]|0)+112>>2]|0,e[i+32>>2]|0?n=+u[i+48>>3]-+u[i+40>>3]*.5:n=0,l=Jr(r,t)|0;l;)i=e[l>>2]&3,o=e[((i|0)==3?l:l+48|0)+40>>2]|0,(o|0)==(t|0)&&(o=e[((i|0)==2?l:l+-48|0)+40>>2]|0),i=e[(e[o+16>>2]|0)+112>>2]|0,(e[i+32>>2]|0)==(t|0)&&(s=i+48|0,+u[s>>3]==10)&&(A=+u[i+40>>3],u[s>>3]=A*.5+n,n=A+n,i=i+16|0,(e[i>>2]|0)==0&(e[i+4>>2]|0)==0||tP(r,o)),l=ot(r,l,t)|0}function iP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(n=e[(e[t+16>>2]|0)+112>>2]|0,o=n+8|0,l=+u[n+40>>3]/(+((e[o>>2]|0)>>>0)+4294967296*+((e[o+4>>2]|0)>>>0)),o=Jr(r,t)|0;o;)n=e[o>>2]&3,i=e[((n|0)==3?o:o+48|0)+40>>2]|0,(i|0)==(t|0)&&(i=e[((n|0)==2?o:o+-48|0)+40>>2]|0),n=e[(e[i+16>>2]|0)+112>>2]|0,(e[n+32>>2]|0)==(t|0)&&(s=n+40|0,+u[s>>3]==0)&&(A=n+8|0,u[s>>3]=l*(+((e[A>>2]|0)>>>0)+4294967296*+((e[A+4>>2]|0)>>>0)),n=n+16|0,!((e[n>>2]|0)==0&(e[n+4>>2]|0)==0))&&iP(r,i),o=ot(r,o,t)|0}function y90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;v=g,g=g+16|0,w=v,p=re(r,2,101541,0)|0,e[w+4>>2]=0,e[w>>2]=0,nP(w,t),A=(p|0)==0;e:for(;a=C90(w)|0,!!a;)for(c=a+16|0,l=e[(e[(e[c>>2]|0)+112>>2]|0)+24>>2]|0,o=Jr(r,a)|0,l=ar(0,l|0,0,1)|0,l=Yk(l|0,b|0,32)|0,s=b;;){if(!o)continue e;!A&&(y[(k2(o,p)|0)>>0]|0)==48&&!(ge(k2(o,p)|0,138394)|0)||(t=e[o>>2]&3,i=e[((t|0)==3?o:o+48|0)+40>>2]|0,(i|0)==(a|0)&&(i=e[((t|0)==2?o:o+-48|0)+40>>2]|0),t=e[(e[i+16>>2]|0)+112>>2]|0,n=t+24|0,m=n,E=e[m+4>>2]|0,s>>>0>>0|((s|0)==(E|0)?l>>>0<(e[m>>2]|0)>>>0:0)&&(E=n,e[E>>2]=l,e[E+4>>2]=s,e[t+32>>2]=a,E=(e[(e[c>>2]|0)+112>>2]|0)+16|0,m=E,m=ar(e[m>>2]|0,e[m+4>>2]|0,1,0)|0,e[E>>2]=m,e[E+4>>2]=b,nP(w,i))),o=ot(r,o,a)|0}g=v}function nP(r,t){r=r|0,t=t|0;var i=0,n=0;i=j0(8)|0,e[i>>2]=t,t=r+4|0,n=e[t>>2]|0,e[(n|0?n+4|0:r)>>2]=i,e[t>>2]=i}function C90(r){r=r|0;var t=0,i=0;return i=e[r>>2]|0,i?(t=e[i>>2]|0,e[r>>2]=e[i+4>>2],r0(i),e[r>>2]|0||(e[r+4>>2]=0)):t=0,t|0}function oP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;for(s=e[e[(e[t+16>>2]|0)+112>>2]>>2]|0,l=Jr(r,t)|0,s=ar(0,s|0,0,1)|0,s=Yk(s|0,b|0,32)|0,A=b;l;)o=e[l>>2]&3,n=e[((o|0)==3?l:l+48|0)+40>>2]|0,(n|0)==(t|0)&&(n=e[((o|0)==2?l:l+-48|0)+40>>2]|0),(n|0)!=(i|0)&&(a=e[(e[n+16>>2]|0)+112>>2]|0,o=a,c=e[o+4>>2]|0,A>>>0>>0|((A|0)==(c|0)?s>>>0<(e[o>>2]|0)>>>0:0))&&(c=a,e[c>>2]=s,e[c+4>>2]=A,oP(r,n,t)),l=ot(r,l,t)|0}function E90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(o=0,l=Jr(r,t)|0;;){if(!l){i=1;break}if(n=e[l>>2]&3,i=e[((n|0)==3?l:l+48|0)+40>>2]|0,(i|0)==(t|0)&&(i=e[((n|0)==2?l:l+-48|0)+40>>2]|0),(i|0)!=(t|0)){if(o)if((o|0)==(i|0))i=o;else{i=0;break}}else i=o;o=i,l=ot(r,l,t)|0}return i|0}function B90(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;t=g,g=g+32|0,n=t,i=re(r,1,94122,0)|0,l=re(r,0,94122,0)|0,r=lP(r,l,i,re(r,0,94127,0)|0)|0,i=r+16|0,o=+G0(+(+u[r>>3]+.1)),z90(n,0,0,o,o),e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[i+8>>2]=e[n+8>>2],e[i+12>>2]=e[n+12>>2],e[i+16>>2]=e[n+16>>2],e[i+20>>2]=e[n+20>>2],e[i+24>>2]=e[n+24>>2],e[i+28>>2]=e[n+28>>2],sP(r),AP(r),uP(r),g=t}function lP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;for(v=j0(72)|0,e[v+60>>2]=0,e[v+56>>2]=r,a=r+16|0,o=0,c=0,s=1,A=0,w=0;l=e[a>>2]|0,!((s|0)>(e[l+180>>2]|0));)l=lP(e[(e[l+184>>2]|0)+(s<<2)>>2]|0,t,i,n)|0,o=+u[l>>3]+o,A|0&&(e[A+52>>2]=l),c=c+1|0,s=s+1|0,A=l,w=w|0?w:l;for(p=U0(r)|0,l=w;p;)s=p+16|0,e[e[(e[s>>2]|0)+112>>2]>>2]|0?s=c:(a=S90(p,i)|0,o=+u[a>>3]+o,A|0&&(e[A+52>>2]=a),e[e[(e[s>>2]|0)+112>>2]>>2]=r,s=c+1|0,A=a,l=l|0?l:a),p=X0(r,p)|0,c=s;return e[v+64>>2]=c,c?(u[v+8>>3]=o,o=+_90(v,n)):o=+fP(r,t),u[v>>3]=o,e[v+48>>2]=l,v|0}function sP(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;v=g,g=g+176|0,o=v+144|0,w=v+64|0,a=v+32|0,s=v,p=e[r+64>>2]|0;e:do if(p|0){for(c=j0(p<<2)|0,t=r+48|0,n=0,i=t;i=e[i>>2]|0,!((n|0)>=(p|0));)e[c+(n<<2)>>2]=i,n=n+1|0,i=i+52|0;for(ei(c,p,4,80),A=j0(p<<3)|0,i=0;!((i|0)>=(p|0));)u[A+(i<<3)>>3]=+u[e[c+(i<<2)>>2]>>3],i=i+1|0;for(l=+u[r+8>>3],+u[r>>3]==l?(s=r+16|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2],e[o+16>>2]=e[s+16>>2],e[o+20>>2]=e[s+20>>2],e[o+24>>2]=e[s+24>>2],e[o+28>>2]=e[s+28>>2],s=aP(p,A,o)|0):(m=+u[r+40>>3],E=+u[r+32>>3],u[s>>3]=+u[r+16>>3],u[s+8>>3]=+u[r+24>>3],B=m-E,l=(E+m-+G0(+(l*4+B*B)))*.5,u[s+16>>3]=E-l,u[s+24>>3]=m-l,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2],e[o+16>>2]=e[s+16>>2],e[o+20>>2]=e[s+20>>2],e[o+24>>2]=e[s+24>>2],e[o+28>>2]=e[s+28>>2],s=aP(p,A,o)|0),n=e[15712]|0,i=0;!((i|0)>=(p|0));)a=(e[c+(i<<2)>>2]|0)+16|0,o=s+(i<<5)|0,e[a>>2]=e[o>>2],e[a+4>>2]=e[o+4>>2],e[a+8>>2]=e[o+8>>2],e[a+12>>2]=e[o+12>>2],e[a+16>>2]=e[o+16>>2],e[a+20>>2]=e[o+20>>2],e[a+24>>2]=e[o+24>>2],e[a+28>>2]=e[o+28>>2],i=i+1|0;for(r0(c),r0(A),r0(s),i=0;;){if(t=e[t>>2]|0,(i|0)>=(p|0))break e;e[t+60>>2]|0||sP(t),t=t+52|0,i=i+1|0}}while(0);g=v}function AP(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;if(o=g,g=g+48|0,n=o,e[r+60>>2]|0)a=+u[r+24>>3],s=+u[r+32>>3],l=+u[r+40>>3],t=e[r+56>>2]|0,i=t+16|0,A=e[i>>2]|0,u[A+16>>3]=+u[r+16>>3],u[A+24>>3]=a,r=e[i>>2]|0,u[r+32>>3]=s*.013888888888888888,u[r+40>>3]=l*.013888888888888888,Sc(t,e[(e[(We(t)|0)+16>>2]|0)+116>>2]&1),I90(t);else{for(t=r+48|0;t=e[t>>2]|0,!!t;)AP(t),t=t+52|0;s=+u[r+32>>3],c=+u[r+40>>3],l=+u[r+16>>3]-s*.5,a=+u[r+24>>3]-c*.5,A=e[(e[r+56>>2]|0)+16>>2]|0,u[A+16>>3]=l,u[A+24>>3]=a,u[A+32>>3]=l+s,u[A+40>>3]=a+c}g=o}function uP(r){r=r|0;var t=0,i=0,n=0;for(n=e[r+64>>2]|0,t=r+48|0,i=0;t=e[t>>2]|0,!((i|0)>=(n|0));)uP(t),t=t+52|0,i=i+1|0;r0(r)}function I90(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+48|0,n=o,t=o+8|0,i=e[47150]|0,i|0&&!(y[(k2(r,i)|0)>>0]|0)&&(u[n>>3]=+u[(e[r+16>>2]|0)+80>>3]*.7,Ke(t,94168,n)|0,Er(r,e[47150]|0,t)|0),Zp(r),g=o}function x90(r,t){r=r|0,t=t|0;var i=0;return i=+u[e[r>>2]>>3]-+u[e[t>>2]>>3],(i<0?1:(i>0)<<31>>31)|0}function S90(r,t){r=r|0,t=t|0;var i=0;return i=j0(72)|0,u[i>>3]=+fP(r,t),e[i+60>>2]=1,e[i+56>>2]=r,i|0}function _90(r,t){r=r|0,t=t|0;var i=0;return i=+sr(e[r+56>>2]|0,t,0,0),i==0?i=+u[r+8>>3]:(i=+G0(+ +u[r+8>>3])+i*2,i=i*i),+i}function fP(r,t){r=r|0,t=t|0;var i=0;return i=+sr(r,t,1,0),+(i==0?1e3:i*1e3)}function aP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(s=g,g=g+32|0,l=s,n=0,o=0;!((n|0)>=(r|0));)A=+u[t+(n<<3)>>3]+o,n=n+1|0,o=A;return o>+u[i+24>>3]*+u[i+16>>3]+.001?n=0:(n=j0(r<<5)|0,e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],e[l+12>>2]=e[i+12>>2],e[l+16>>2]=e[i+16>>2],e[l+20>>2]=e[i+20>>2],e[l+24>>2]=e[i+24>>2],e[l+28>>2]=e[i+28>>2],hk(r,t,n,0,0,1,0,1,l)),g=s,n|0}function hk(r,t,i,n,o,l,s,A,a){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=+l,s=+s,A=+A,a=a|0;var c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0;N=g,g=g+112|0,W=N+72|0,z=N+40|0,v=N+32|0,c=N,L=a+16|0,m=+u[L>>3],G=a+24|0,E=+u[G>>3],_=+u[a+16+((!(m>3];do if((r|0)>=1){if(!n){s=+u[t>>3],D=_*_,_=s/D,D=D/s,e[W>>2]=e[a>>2],e[W+4>>2]=e[a+4>>2],e[W+8>>2]=e[a+8>>2],e[W+12>>2]=e[a+12>>2],e[W+16>>2]=e[a+16>>2],e[W+20>>2]=e[a+20>>2],e[W+24>>2]=e[a+24>>2],e[W+28>>2]=e[a+28>>2],hk(r,t,i,1,s,s,s,_>D?_:D,W);break}if((r|0)>(n|0)&&(x=+u[t+(n<<3)>>3],w=xl?l:x,x=x+s,p=x/_,p=p*p,D=p/B,p=w/p,p=D>p?D:p,p<=A)){e[W>>2]=e[a>>2],e[W+4>>2]=e[a+4>>2],e[W+8>>2]=e[a+8>>2],e[W+12>>2]=e[a+12>>2],e[W+16>>2]=e[a+16>>2],e[W+20>>2]=e[a+20>>2],e[W+24>>2]=e[a+24>>2],e[W+28>>2]=e[a+28>>2],hk(r,t,i,n+1|0,w,B,x,p,W);break}if(m=s/_,w=+u[L>>3],_==w){for(p=1/m,v=a+8|0,w=+u[a>>3]-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==(e[((e[E>>2]&3|0)==2?E:E+-48|0)+40>>2]|0))i?(l=p,i=v):(n?i=v:(i=j0(96)|0,e[i+84>>2]=j0(((v2(r)|0)<<5)+11520|0)|0,n=i),rT(n,E,e[(e[z>>2]|0)+248>>2]|0),l=p);else if(i)l=p,i=v;else{if(o=R90(E,t)|0,l=o+8|0,SF(e[l>>2]|0,e[o>>2]|0)|0){if(s=jG(e[l>>2]|0,e[o>>2]|0)|0,s)i=E;else{$0(0,94352,G)|0,l=1,i=v;break}for(;i;)P=i+16|0,U=(e[P>>2]|0)+144|0,iT(x,i,s,0,e[l>>2]|0,e[o>>2]|0),F=x,J=e[F+4>>2]|0,e[U>>2]=e[F>>2],e[U+4>>2]=J,nT(r,i,e[l>>2]|0,e[o>>2]|0,0),i=e[(e[P>>2]|0)+172>>2]|0;G90(o),l=p,i=v;break}p?(l=p,i=v):(zc(B,r),i=Nd(r,8,8)|0,$0(0,94436,W)|0,a=+(i|0),c=+x0[t>>2],w=+x0[_>>2],!(c>=a)&!(w>=a)?(A=+x0[B>>2],a=+x0[L>>2],!(A<=c)&!(a<=w)||(u[T>>3]=A,u[T+8>>3]=a,u[T+16>>3]=c,u[T+24>>3]=w,$0(3,94552,T)|0)):(e[N>>2]=i,u[N+8>>3]=c,u[N+16>>3]=w,$0(3,94502,N)|0),l=1,i=v)}while(0);E=Qe(r,E)|0,p=l,v=i}m=X0(r,m)|0,i=p,l=v}return Z90(o),n|0&&(r0(e[n+84>>2]|0),r0(l)),g=D,i|0}function R90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;for(v=g,g=g+16|0,c=v+4|0,w=v,i=e[r>>2]&3,n=e[((i|0)==2?r:r+-48|0)+40>>2]|0,i=e[((i|0)==3?r:r+48|0)+40>>2]|0,m=n+16|0,l=e[(e[m>>2]|0)+212>>2]|0,e[c>>2]=l,s=i+16|0,o=e[(e[s>>2]|0)+212>>2]|0,e[w>>2]=o,a=j0(12)|0,r=l,A=o,y[(e[m>>2]|0)+118>>0]|0&&(r=e[(e[(e[r+16>>2]|0)+140>>2]|0)+48>>2]|0,e[c>>2]=r,n=l,l=r),y[(e[s>>2]|0)+118>>0]|0?(s=e[(e[(e[A+16>>2]|0)+140>>2]|0)+48>>2]|0,e[w>>2]=s,i=o,o=s):s=A,l=e[(e[(e[l+16>>2]|0)+140>>2]|0)+44>>2]|0,o=e[(e[(e[o+16>>2]|0)+140>>2]|0)+44>>2]|0,(l|0)<=(o|0)?(o|0)>(l|0)?(cP(a,o,i,l,w,t),r=e[w>>2]|0,o=r,i=w,p=11):l=s:(cP(a,l,n,o,c,t),r=e[c>>2]|0,n=r,o=i,i=c,p=11);(p|0)==11&&(e[i>>2]=e[(e[(e[r+16>>2]|0)+140>>2]|0)+48>>2],i=o,r=e[c>>2]|0,l=e[w>>2]|0),(r|0)!=(l|0);)wk(a,r,0,n,t),wk(a,l,i,0,t),e[c>>2]=e[(e[(e[r+16>>2]|0)+140>>2]|0)+48>>2],n=r,o=l,i=w,r=l,p=11;return wk(a,l,i,n,t),g=v,a|0}function G90(r){r=r|0,e[r>>2]=0}function Z90(r){r=r|0,r|0&&(r0(e[r+8>>2]|0),r0(r))}function cP(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0;for(A=o;s=e[A>>2]|0,!((t|0)<=(n|0));)wk(r,s,i,0,l),t=t+-1|0,A=(e[(e[s+16>>2]|0)+140>>2]|0)+48|0,i=s;e[o>>2]=i}function wk(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;for(l=U0(t)|0;l;)s=e[l+16>>2]|0,!((l|0)==(n|0)|((l|0)==(i|0)?1:(e[s+212>>2]|0)!=(t|0)))&&!(y[s+118>>0]|0)&&hP(r,tT(l,o,0)|0),l=X0(t,l)|0;for(s=t+16|0,t=1;l=e[s>>2]|0,!((t|0)>(e[l+180>>2]|0));)l=e[(e[l+184>>2]|0)+(t<<2)>>2]|0,(l|0)==(i|0)|(l|0)==(n|0)||hP(r,W90(l,o)|0),t=t+1|0}function hP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=r+4|0,o=e[n>>2]|0,l=r+8|0,i=e[l>>2]|0;do if((o|0)==(e[r>>2]|0))if(i){e[n>>2]=o<<1,i=Oe(i,o<<3)|0,e[l>>2]=i;break}else{i=_0(400)|0,e[l>>2]=i,e[n>>2]=100;break}while(0);l=e[r>>2]|0,e[r>>2]=l+1,e[i+(l<<2)>>2]=t}function W90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;return a=j0(8)|0,r=e[r+16>>2]|0,i=+u[r+16>>3],A=+u[r+24>>3],n=+u[r+32>>3],s=+u[r+40>>3],e[a+4>>2]=4,r=j0(64)|0,e[a>>2]=r,y[t+8>>0]|0?(o=+x0[t>>2],p=+x0[t+4>>2],l=i-o,o=n+o,n=s+p,i=A-p):(p=+x0[t>>2],w=+x0[t+4>>2],o=(n+i)*.5*(p+-1),c=(s+A)*.5*(w+-1),l=i*p-o,o=n*p-o,n=s*w-c,i=A*w-c),u[r>>3]=l,u[r+8>>3]=i,u[r+16>>3]=l,u[r+24>>3]=n,u[r+32>>3]=o,u[r+40>>3]=n,u[r+48>>3]=o,u[r+56>>3]=i,a|0}function D90(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;p=g,g=g+160|0,w=p+16|0,A=p+8|0,o=p,a=p+24|0,c=j0(v2(r)|0)|0,l=r+16|0,n=e[e[(e[l>>2]|0)+140>>2]>>2]|0;e:do if(!n)o=0,n=0;else for(v=te(r)|0,s=e[46923]|0,e[o>>2]=v,e[o+4>>2]=s,Ke(a,94612,o)|0,s=ji(r,a,1)|0,$e(s,137483,280,1)|0,o=j0(56)|0,e[(e[s+16>>2]|0)+140>>2]=o,e[o>>2]=n,e[o+4>>2]=e[(e[(e[l>>2]|0)+140>>2]|0)+4>>2];;){if(o=e[n+4>>2]|0,!o){o=s,n=1;break e}y[c+(e[(e[o+16>>2]|0)+120>>2]|0)>>0]|0||dk(r,o,s,c),n=n+16|0}while(0);for(l=0,s=U0(r)|0;s;)v=e[s+16>>2]|0,!(y[c+(e[v+120>>2]|0)>>0]|0)&&(y[v+119>>0]|0)==3&&(o||(v=te(r)|0,o=(e[46923]|0)+n|0,e[A>>2]=v,e[A+4>>2]=o,Ke(a,94612,A)|0,o=ji(r,a,1)|0,$e(o,137483,280,1)|0,v=j0(56)|0,e[(e[o+16>>2]|0)+140>>2]=v,n=n+1|0),dk(r,s,o,c),l=1),s=X0(r,s)|0;for(o|0&&sc(o)|0,o=U0(r)|0;o;)y[c+(e[(e[o+16>>2]|0)+120>>2]|0)>>0]|0||(A=te(r)|0,v=(e[46923]|0)+n|0,e[w>>2]=A,e[w+4>>2]=v,Ke(a,94620,w)|0,v=ji(r,a,1)|0,$e(v,137483,280,1)|0,A=j0(56)|0,e[(e[v+16>>2]|0)+140>>2]=A,dk(r,o,v,c),sc(v)|0,n=n+1|0),o=X0(r,o)|0;for(r0(c),e[46923]=(e[46923]|0)+n,t|0&&(e[t>>2]=n),i|0&&(e[i>>2]=l),s=j0((n<<2)+4|0)|0,l=s,o=yt(r)|0;o;)e[l>>2]=o,l=l+4|0,o=Ct(o)|0,n=n+-1|0;if(n)H0(94628,94639,134,94646);else return e[l>>2]=0,g=p,s|0;return 0}function dk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;for(y[n+(e[(e[t+16>>2]|0)+120>>2]|0)>>0]=1,ct(i,t,1)|0,s=Jr(r,t)|0;s;)l=e[s>>2]&3,o=e[((l|0)==3?s:s+48|0)+40>>2]|0,(o|0)==(t|0)&&(o=e[((l|0)==2?s:s+-48|0)+40>>2]|0),y[n+(e[(e[o+16>>2]|0)+120>>2]|0)>>0]|0||dk(r,o,i,n),s=ot(r,s,t)|0}function M90(r){r=r|0;var t=0;return t=_0(24)|0,e[46924]=t,e[t>>2]=at(18204,e[4581]|0)|0,e[t+16>>2]=0,e[t+12>>2]=0,e[t+4>>2]=wP(r)|0,t|0}function wP(r){r=r|0;var t=0,i=0;return t=_0(16)|0,e[t+12>>2]=0,i=_0(r*20|0)|0,e[t>>2]=i,e[t+8>>2]=i+(r*20|0),e[t+4>>2]=i,t|0}function j90(r,t,i){return r=r|0,t=t|0,i=i|0,i=Q90(e[46924]|0)|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=0,i|0}function N90(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=(e[t>>2]|0)-(e[i>>2]|0)|0,r||(r=(e[t+4>>2]|0)-(e[i+4>>2]|0)|0),r|0}function Q90(r){r=r|0;var t=0,i=0,n=0,o=0;return o=r+8|0,r=e[o>>2]|0,t=e[r+4>>2]|0,(t|0)==(e[r+8>>2]|0)&&(i=r+12|0,n=e[i>>2]|0,n?r=n:(r=wP(((t-(e[r>>2]|0)|0)/20|0)<<1)|0,e[i>>2]=r),e[o>>2]=r,t=e[r>>2]|0,e[r+4>>2]=t),e[r+4>>2]=t+20,t|0}function T90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+12|0,i=e[o>>2]|0,(i|0)<(t|0)&&(n=i<<1,n=(n|0)<(t|0)?t:n,t=r+16|0,i=e[t>>2]|0,i|0&&r0(i),e[t>>2]=_0(n<<3)|0,e[o>>2]=n)}function F90(r){r=r|0;var t=0;t=e[r>>2]|0,oe[e[t>>2]&63](t,0,64)|0,e[r+20>>2]=e[r+16>>2],t=e[r+4>>2]|0,e[r+8>>2]=t,e[t+4>>2]=e[t>>2]}function P90(r){r=r|0,Fr(e[r>>2]|0)|0,Y90(e[r+4>>2]|0),r0(e[r+16>>2]|0),r0(r)}function Y90(r){r=r|0;for(var t=0;r;)t=e[r+12>>2]|0,r0(e[r>>2]|0),r0(r),r=t}function O90(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;l=g,g=g+32|0,o=l,s=l+12|0,e[s>>2]=t,e[s+4>>2]=i,A=e[r>>2]|0,s=(oe[e[A>>2]&63](A,s,1)|0)+8|0,e[s>>2]=V90(r,n,e[s>>2]|0)|0,g=l}function V90(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=r+20|0,r=e[n>>2]|0,e[n>>2]=r+8,e[r>>2]=t,e[r+4>>2]=i,r|0}function H90(r,t){r=r|0,t=t|0,iu0(e[r>>2]|0,t,r)|0}function J90(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+32|0,o=n,e[o>>2]=t,e[o+4>>2]=i,i=e[r>>2]|0,i=oe[e[i>>2]&63](i,o,4)|0,g=n,i|0}function U90(r){r=r|0,r0(e[r+8>>2]|0),r0(r)}function r8(r){return r=r|0,+ +u[r>>3]}function pk(r){return r=r|0,e[r+8>>2]|0}function t8(r){return r=r|0,~~+u[r+16>>3]|0}function dP(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,t=e[t>>2]|0,(t|0)>=(e[i>>2]|0)&&(t=t+10|0,e[i>>2]=t,e[n>>2]=Oe(e[n>>2]|0,N0(r<<3,t)|0)|0,e[o>>2]=Oe(e[o>>2]|0,e[i>>2]<<3)|0,e[l>>2]=Oe(e[l>>2]|0,e[i>>2]<<3)|0)}function pP(r,t,i,n,o,l,s,A,a,c,w){r=r|0,t=+t,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,c=c|0,w=w|0;var p=0,v=0,m=0,E=0,B=0;u[c>>3]=+u[c>>3]+1;e:do if(r|0){if(E=e[r+16>>2]|0,p=e[r+40>>2]|0,p|0)do{if(dP(E,o,l,s,A,a),(t8(ln(p)|0)|0)!=(n|0)){for(m=pk(ln(p)|0)|0,v=0;!((v|0)>=(E|0));)u[(e[s>>2]|0)+((N0(e[o>>2]|0,E)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]-+u[t+(a<<3)>>3])*p,W=r+(a<<3)|0,u[W>>3]=l+ +u[W>>3],W=A+(a<<3)|0,u[W>>3]=+u[W>>3]-l,a=a+1|0}while(0);v=pd(v)|0}w=pd(w)|0}if(_)for(E=1<=(E|0))break e;for(m=e[(e[v>>2]|0)+(w<<2)>>2]|0,a=w;(a|0)!=(E|0);)Dc(m,e[(e[v>>2]|0)+(a<<2)>>2]|0,i,n,o,l,s,A),a=a+1|0;w=w+1|0}if(!(w|!(c>p)))for(v=1<=(v|0))break e;Dc(e[(e[w>>2]|0)+(a<<2)>>2]|0,t,i,n,o,l,s,A),a=a+1|0}if(!(a|!(p>c)))for(v=1<=(v|0))break e;Dc(e[(e[w>>2]|0)+(a<<2)>>2]|0,r,i,n,o,l,s,A),a=a+1|0}if(!w)for(v=1<=(v|0))break e;Dc(e[(e[w>>2]|0)+(a<<2)>>2]|0,t,i,n,o,l,s,A),a=a+1|0}for(a&&H0(138394,94681,273,94764),v=1<=(v|0))break e;Dc(e[(e[w>>2]|0)+(a<<2)>>2]|0,r,i,n,o,l,s,A),a=a+1|0}}H0(94739,94681,175,94764)}while(0)}function kP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;n=e[r+40>>2]|0,w=e[r+16>>2]|0,l=+u[r+8>>3],p=kk(r,w)|0,l>0||H0(94673,94681,289,94692),c=i+16|0,u[c>>3]=+u[c>>3]+1;e:do if(n)for(s=1/l;;){if(!n)break e;for(o=vE(t,t8(ln(n)|0)|0,n,w)|0,l=+r8(ln(n)|0)*s,r=0;!((r|0)>=(w|0));)v=o+(r<<3)|0,u[v>>3]=+u[v>>3]+ +u[p+(r<<3)>>3]*l,r=r+1|0;n=pd(n)|0}else{for(c=1<=(c|0))break e;if(o=e[(e[a>>2]|0)+(r<<2)>>2]|0,o|0){if((e[o>>2]|0)<=0)break;for(A=kk(o,w)|0,s=+u[o+8>>3]*l,n=0;!((n|0)>=(w|0));)v=A+(n<<3)|0,u[v>>3]=+u[v>>3]+ +u[p+(n<<3)>>3]*s,n=n+1|0;kP(o,t,i)}r=r+1|0}H0(94728,94681,307,94692)}while(0)}function kk(r,t){r=r|0,t=t|0;var i=0;i=r+48|0,r=e[i>>2]|0;e:do if(!r)for(r=_0(t<<3)|0,e[i>>2]=r,i=0;;){if((i|0)>=(t|0))break e;u[r+(i<<3)>>3]=0,i=i+1|0}while(0);return r|0}function vE(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=e[(ln(i)|0)+24>>2]|0,o||(o=r+((N0(n,t)|0)<<3)|0,e[(ln(i)|0)+24>>2]=o,o=e[(ln(i)|0)+24>>2]|0),o|0}function vk(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(p=r<<3,c=_0(p)|0,w=_0(p)|0,p=_0(p)|0,(c|0)!=0&(w|0)!=0&(p|0)!=0){for(l=0;;){if((l|0)>=(r|0)){l=0;break}u[c+(l<<3)>>3]=+u[n+(l<<3)>>3],l=l+1|0}for(;;){if((l|0)>=(r|0)){s=1;break}u[w+(l<<3)>>3]=+u[n+(l<<3)>>3],l=l+1|0}for(;!((s|0)>=(t|0));){for(a=N0(s,r)|0,l=0;!((l|0)>=(r|0));)v=c+(l<<3)|0,A=+u[v>>3],E=n+(l+a<<3)|0,m=+u[E>>3],u[v>>3]=A>3],A=+u[E>>3],u[v>>3]=m>A?m:A,l=l+1|0;s=s+1|0}for(A=+u[w>>3]-+u[c>>3],l=0;!((l|0)>=(r|0));)E=c+(l<<3)|0,v=w+(l<<3)|0,u[p+(l<<3)>>3]=(+u[v>>3]+ +u[E>>3])*.5,m=+u[v>>3]-+u[E>>3],A=A>m?A:m,l=l+1|0;l=vP(r,p,A==0?52e-7:A*.52,i)|0;e:do if(o)for(s=0;;){if((s|0)>=(t|0))break e;E=n+((N0(s,r)|0)<<3)|0,l=mP(l,E,+u[o+(s<<3)>>3],s)|0,s=s+1|0}else for(s=0;;){if((s|0)>=(t|0))break e;l=mP(l,n+((N0(s,r)|0)<<3)|0,1,s)|0,s=s+1|0}while(0);r0(c),r0(w),r0(p)}else r0(c),r0(w),r0(p),l=0;return l|0}function vP(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0,l=0,s=0;for(l=_0(56)|0,e[l+16>>2]=r,e[l>>2]=0,s=_0(r<<3)|0,e[l+20>>2]=s,o=0;!((o|0)>=(r|0));)u[s+(o<<3)>>3]=+u[t+(o<<3)>>3],o=o+1|0;return i>0?(u[l+24>>3]=i,u[l+8>>3]=0,e[l+32>>2]=0,e[l+36>>2]=0,e[l+40>>2]=0,e[l+44>>2]=n,e[l+48>>2]=0,l|0):(H0(94896,94681,410,94906),0)}function mP(r,t,i,n){return r=r|0,t=t|0,i=+i,n=n|0,r?mE(r,t,i,n,0)|0:r=0,r|0}function mE(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=r+16|0,B=e[z>>2]|0,x=e[r+44>>2]|0,w=e[r>>2]|0;do if(w){if((x|0)<=(o|0)){for(e[r+36>>2]|0&&H0(94881,94681,541,94815),l=w+1|0,e[r>>2]=l,s=r+8|0,u[s>>3]=+u[s>>3]+i,s=r+32|0,a=+(l|0),c=1/+(w+2|0),l=0;!((l|0)>=(B|0));)E=(e[s>>2]|0)+(l<<3)|0,u[E>>3]=(+u[E>>3]*a+ +u[t+(l<<3)>>3])*c,l=l+1|0;if(l=gP(B,i,t,n)|0,s=r+40|0,A=e[s>>2]|0,!A)H0(94891,94681,547,94815);else{e[s>>2]=iA0(A,l)|0;break}}for(s=r+8|0,u[s>>3]=+u[s>>3]+i,s=r+32|0,c=+(w|0),a=1/+(w+1|0),l=0;!((l|0)>=(B|0));)E=(e[s>>2]|0)+(l<<3)|0,u[E>>3]=(+u[E>>3]*c+ +u[t+(l<<3)>>3])*a,l=l+1|0;E=r+36|0,m=1<>2]|0))for(e[E>>2]=_0(m<<2)|0,l=0;;){if((l|0)>=(m|0))break e;e[(e[E>>2]|0)+(l<<2)>>2]=0,l=l+1|0}while(0);p=r+20|0,l=e[p>>2]|0,A=yP(B,l,t)|0,(A|0)<(m|0)&(A|0)>-1||H0(94837,94681,515,94815),s=e[(e[E>>2]|0)+(A<<2)>>2]|0,s||(s=CP(e[z>>2]|0,l,+u[r+24>>3]*.5,x,A)|0,e[(e[E>>2]|0)+(A<<2)>>2]=s,s=e[(e[E>>2]|0)+(A<<2)>>2]|0),v=o+1|0,n=mE(s,t,i,n,v)|0,e[(e[E>>2]|0)+(A<<2)>>2]=n,e[(e[E>>2]|0)+(A<<2)>>2]|0||H0(94860,94681,519,94815),t=r+40|0,l=e[t>>2]|0;do if(l|0)if(w=t8(ln(l)|0)|0,(e[r>>2]|0)!=1&&H0(94871,94681,523,94815),o=pk(ln(e[t>>2]|0)|0)|0,a=+r8(ln(e[t>>2]|0)|0),s=e[p>>2]|0,A=yP(B,s,o)|0,(A|0)<(m|0)&(A|0)>-1||H0(94837,94681,527,94815),l=e[(e[E>>2]|0)+(A<<2)>>2]|0,l||(l=CP(e[z>>2]|0,s,+u[r+24>>3]*.5,x,A)|0,e[(e[E>>2]|0)+(A<<2)>>2]=l,l=e[(e[E>>2]|0)+(A<<2)>>2]|0),z=mE(l,o,a,w,v)|0,e[(e[E>>2]|0)+(A<<2)>>2]=z,!(e[(e[E>>2]|0)+(A<<2)>>2]|0))H0(94860,94681,532,94815);else{NZ(e[t>>2]|0,106),e[t>>2]=0;break}while(0);e[r>>2]=(e[r>>2]|0)+1}else{for(e[r>>2]=1,u[r+8>>3]=i,A=_0(B<<3)|0,e[r+32>>2]=A,s=e[z>>2]|0,l=0;!((l|0)>=(s|0));)u[A+(l<<3)>>3]=+u[t+(l<<3)>>3],l=l+1|0;if(l=gP(s,i,t,n)|0,s=r+40|0,e[s>>2]|0)H0(94807,94681,502,94815);else{e[s>>2]=jZ(l)|0;break}}while(0);return r|0}function gP(r,t,i,n){r=r|0,t=+t,i=i|0,n=n|0;var o=0,l=0;for(l=_0(32)|0,u[l>>3]=t,o=_0(r<<3)|0,e[l+8>>2]=o,u[l+16>>3]=+(n|0),n=0;!((n|0)>=(r|0));)u[o+(n<<3)>>3]=+u[i+(n<<3)>>3],n=n+1|0;return e[l+24>>2]=0,l|0}function yP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(o=0;n=r+-1|0,!((r|0)<=0);)r=n,o=o<<1|!(+u[i+(n<<3)>>3]-+u[t+(n<<3)>>3]<0)&1;return o|0}function CP(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=vP(r,t,i,n)|0,s=e[l+20>>2]|0,A=-i,n=0,t=o;!((n|0)>=(r|0));)o=s+(n<<3)|0,u[o>>3]=+u[o>>3]+(t&1|0?i:A),n=n+1|0,t=(t|0)/2|0;return l|0}function i8(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(r|0){if(t=e[r+16>>2]|0,r0(e[r+20>>2]|0),r0(e[r+32>>2]|0),r0(e[r+48>>2]|0),l=r+36|0,n=e[l>>2]|0,n|0){for(o=1<=(o|0));)i8(e[t+(i<<2)>>2]|0),i=i+1|0,t=e[l>>2]|0;r0(t)}NZ(e[r+40>>2]|0,106),r0(r)}}function Mc(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;e:do if(!r)t=0;else{for(c=e[r+20>>2]|0,w=e[r+24>>2]|0,i=e[r+8>>2]|0,p=e[r>>2]|0,n=e[r+4>>2]|0,s=r+16|0,(e[r+32>>2]|0)!=1&&H0(94919,94943,76,94958),t=k1(n,p,i,e[s>>2]|0,1)|0,e[t+8>>2]=i,v=e[t+20>>2]|0,a=e[t+24>>2]|0,i=0;;){if((i|0)>(n|0)){i=0;break}e[v+(i<<2)>>2]=0,i=i+1|0}r:for(;;){if((i|0)>=(p|0)){i=0;break}for(o=i+1|0,l=c+(o<<2)|0,i=e[c+(i<<2)>>2]|0;;){if((i|0)>=(e[l>>2]|0)){i=o;continue r}A=v+((e[w+(i<<2)>>2]|0)+1<<2)|0,e[A>>2]=(e[A>>2]|0)+1,i=i+1|0}}for(;!((i|0)>=(n|0));)A=i+1|0,l=v+(A<<2)|0,e[l>>2]=(e[l>>2]|0)+(e[v+(i<<2)>>2]|0),i=A;r:do switch(e[s>>2]|0){case 1:{l=e[r+28>>2]|0,r=e[t+28>>2]|0,o=0;t:for(;;){if((o|0)>=(p|0))break r;for(s=o+1|0,A=c+(s<<2)|0,i=e[c+(o<<2)>>2]|0;;){if((i|0)>=(e[A>>2]|0)){o=s;continue t}B=w+(i<<2)|0,e[a+(e[v+(e[B>>2]<<2)>>2]<<2)>>2]=o,E=+u[l+(i<<3)>>3],B=v+(e[B>>2]<<2)|0,m=e[B>>2]|0,e[B>>2]=m+1,u[r+(m<<3)>>3]=E,i=i+1|0}}}case 2:{l=e[r+28>>2]|0,r=e[t+28>>2]|0,o=0;t:for(;;){if((o|0)>=(p|0))break r;for(s=o+1|0,A=c+(s<<2)|0,i=e[c+(o<<2)>>2]|0;;){if((i|0)>=(e[A>>2]|0)){o=s;continue t}B=w+(i<<2)|0,e[a+(e[v+(e[B>>2]<<2)>>2]<<2)>>2]=o,z=i<<1,B=v+(e[B>>2]<<2)|0,m=e[B>>2]|0,x=m<<1,u[r+(x<<3)>>3]=+u[l+(z<<3)>>3],u[r+((x|1)<<3)>>3]=+u[l+((z|1)<<3)>>3],e[B>>2]=m+1,i=i+1|0}}}case 4:{l=e[r+28>>2]|0,r=e[t+28>>2]|0,o=0;t:for(;;){if((o|0)>=(p|0))break r;for(s=o+1|0,A=c+(s<<2)|0,i=e[c+(o<<2)>>2]|0;;){if((i|0)>=(e[A>>2]|0)){o=s;continue t}B=w+(i<<2)|0,e[a+(e[v+(e[B>>2]<<2)>>2]<<2)>>2]=o,x=e[l+(i<<2)>>2]|0,B=v+(e[B>>2]<<2)|0,z=e[B>>2]|0,e[B>>2]=z+1,e[r+(z<<2)>>2]=x,i=i+1|0}}}case 8:{o=0;t:for(;;){if((o|0)>=(p|0))break r;for(l=o+1|0,r=c+(l<<2)|0,i=e[c+(o<<2)>>2]|0;;){if((i|0)>=(e[r>>2]|0)){o=l;continue t}x=v+(e[w+(i<<2)>>2]<<2)|0,z=e[x>>2]|0,e[x>>2]=z+1,e[a+(z<<2)>>2]=o,i=i+1|0}}}case 16:{U2(t),t=0;break e}default:{U2(t),t=0;break e}}while(0);for(;i=n+-1|0,!((n|0)<=0);)e[v+(n<<2)>>2]=e[v+(i<<2)>>2],n=i;e[v>>2]=0}while(0);return t|0}function U2(r){r=r|0;var t=0;r|0&&(t=e[r+20>>2]|0,t|0&&r0(t),t=e[r+24>>2]|0,t|0&&r0(t),r0(e[r+28>>2]|0),r0(r))}function k1(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,r=EP(r,t,n,q90(n)|0,o)|0,(i|0)>0&&BP(r,i)|0,r|0}function q90(r){switch(r=r|0,r|0){case 1:{r=8;break}case 2:{r=16;break}case 4:{r=4;break}case 8:{r=0;break}case 16:{r=0;break}default:r=0}return r|0}function EP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;return l=_0(44)|0,e[l>>2]=r,e[l+4>>2]=t,e[l+8>>2]=0,e[l+12>>2]=0,e[l+16>>2]=i,e[l+40>>2]=n,(o|0)==2?r=0:r=_0((r<<2)+4|0)|0,e[l+20>>2]=r,e[l+24>>2]=0,e[l+28>>2]=0,e[l+32>>2]=o,e[l+36>>2]=0,l|0}function BP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return s=e[r+32>>2]|0,o=r+28|0,e[o>>2]=0,i=t<<2,n=_0(i)|0,(s|0)!=2?(e[r+24>>2]=n,i=e[r+40>>2]|0,(t|0)!=0&(i|0)>0&&(l=4)):(e[r+20>>2]=n,e[r+24>>2]=_0(i)|0,i=e[r+40>>2]|0,l=4),(l|0)==4&&(e[o>>2]=_0(N0(i,t)|0)|0),e[r+12>>2]=t,r|0}function Ql(r,t){return r=r|0,t=t|0,j1(r,t)|0?t=jc(r)|0:(t=Mc(r)|0,t?(r=mk(r,t)|0,U2(t),t=r+36|0,e[t>>2]=e[t>>2]|3,t=r):t=0),t|0}function j1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;if(r)if((e[r+32>>2]|0)!=1&&H0(94919,94943,187,95074),x=r+36|0,i=e[x>>2]|0,!(i&2|0)&&(m=(t|0)!=0,(i&1|0)==0|m^1))if((e[r>>2]|0)==(e[r+4>>2]|0)&&(z=Mc(r)|0,(z|0)!=0)){for(a=e[r+20>>2]|0,c=e[r+24>>2]|0,w=e[z+20>>2]|0,p=e[z+24>>2]|0,v=e[r>>2]|0,E=_0(v<<2)|0,t=0;!((t|0)>=(v|0));)e[E+(t<<2)>>2]=-1,t=t+1|0;e:do switch((m?8:e[r+16>>2]|0)|0){case 1:{for(l=e[r+28>>2]|0,s=e[z+28>>2]|0,t=0;;){if((t|0)>(v|0)){i=0;break}if((e[a+(t<<2)>>2]|0)==(e[w+(t<<2)>>2]|0))t=t+1|0;else{t=0;break e}}r:for(;;){if((i|0)>=(v|0)){B=54;break e}for(n=a+(i<<2)|0,o=i+1|0,r=a+(o<<2)|0,t=e[n>>2]|0;!((t|0)>=(e[r>>2]|0));)e[E+(e[c+(t<<2)>>2]<<2)>>2]=t,t=t+1|0;for(t=e[w+(i<<2)>>2]|0,r=e[w+(o<<2)>>2]|0,i=t;!((i|0)>=(r|0));)if((e[E+(e[p+(i<<2)>>2]<<2)>>2]|0)<(e[n>>2]|0)){t=0;break e}else i=i+1|0;for(;;){if((t|0)>=(r|0)){i=o;continue r}if(_=+u[s+(t<<3)>>3]-+u[l+(e[E+(e[p+(t<<2)>>2]<<2)>>2]<<3)>>3],(_>=0?_:-_)>1e-7){t=0;break e}else t=t+1|0}}}case 2:{for(s=e[r+28>>2]|0,A=e[z+28>>2]|0,t=0;;){if((t|0)>(v|0)){i=0;break}if((e[a+(t<<2)>>2]|0)==(e[w+(t<<2)>>2]|0))t=t+1|0;else{t=0;break e}}r:for(;;){if((i|0)>=(v|0)){B=54;break e}for(o=a+(i<<2)|0,l=i+1|0,r=a+(l<<2)|0,t=e[o>>2]|0;!((t|0)>=(e[r>>2]|0));)e[E+(e[c+(t<<2)>>2]<<2)>>2]=t,t=t+1|0;for(i=e[w+(i<<2)>>2]|0,n=e[w+(l<<2)>>2]|0,t=i;;){if((t|0)>=(n|0)){t=i;break}if((e[E+(e[p+(t<<2)>>2]<<2)>>2]|0)<(e[o>>2]|0)){t=0;break e}else t=t+1|0}for(;;){if((t|0)>=(n|0)){i=l;continue r}if(i=t<<1,r=e[E+(e[p+(t<<2)>>2]<<2)>>2]<<1,_=+u[A+(i<<3)>>3]-+u[s+(r<<3)>>3],(_>=0?_:-_)>1e-7){t=0;break e}if(_=+u[A+((i|1)<<3)>>3]-+u[s+((r|1)<<3)>>3],(_>=0?_:-_)>1e-7){t=0;break e}else t=t+1|0}}}case 4:{o=e[r+28>>2]|0,l=e[z+28>>2]|0,t=0;r:for(;;){if((t|0)>=(v|0)){B=54;break e}for(n=a+(t<<2)|0,s=t+1|0,r=a+(s<<2)|0,i=e[n>>2]|0;!((i|0)>=(e[r>>2]|0));)e[E+(e[c+(i<<2)>>2]<<2)>>2]=i,i=i+1|0;for(t=e[w+(t<<2)>>2]|0,r=e[w+(s<<2)>>2]|0,i=t;!((i|0)>=(r|0));)if((e[E+(e[p+(i<<2)>>2]<<2)>>2]|0)<(e[n>>2]|0)){t=0;break e}else i=i+1|0;for(;;){if((t|0)>=(r|0)){t=s;continue r}if((e[l+(t<<2)>>2]|0)==(e[o+(e[E+(e[p+(t<<2)>>2]<<2)>>2]<<2)>>2]|0))t=t+1|0;else{t=0;break e}}}}case 8:{r=0;r:for(;;){if((r|0)>=(v|0)){B=54;break e}for(n=a+(r<<2)|0,o=r+1|0,i=a+(o<<2)|0,t=e[n>>2]|0;!((t|0)>=(e[i>>2]|0));)e[E+(e[c+(t<<2)>>2]<<2)>>2]=t,t=t+1|0;for(i=e[w+(o<<2)>>2]|0,t=e[w+(r<<2)>>2]|0;;){if((t|0)>=(i|0)){r=o;continue r}if((e[E+(e[p+(t<<2)>>2]<<2)>>2]|0)<(e[n>>2]|0)){t=0;break e}else t=t+1|0}}}default:t=0}while(0);(B|0)==54&&(i=e[x>>2]|0,m?t=1:(e[x>>2]=i|2,t=3),e[x>>2]=t|i,t=1),r0(E),U2(z)}else t=0;else t=1;else t=0;return t|0}function jc(r){r=r|0;var t=0,i=0,n=0,o=0;return r?(n=r+8|0,o=r+40|0,t=IP(e[r>>2]|0,e[r+4>>2]|0,e[n>>2]|0,e[r+16>>2]|0,e[o>>2]|0,e[r+32>>2]|0)|0,i=r+20|0,u2(e[t+20>>2]|0,e[i>>2]|0,(e[r>>2]<<2)+4|0)|0,u2(e[t+24>>2]|0,e[r+24>>2]|0,e[(e[i>>2]|0)+(e[r>>2]<<2)>>2]<<2|0)|0,i=e[r+28>>2]|0,i|0&&u2(e[t+28>>2]|0,i|0,N0(e[n>>2]|0,e[o>>2]|0)|0)|0,e[t+36>>2]=e[r+36>>2],e[t+8>>2]=e[n>>2]):t=0,t|0}function mk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;if(m=e[r+20>>2]|0,B=e[r+24>>2]|0,x=e[t+20>>2]|0,z=e[t+24>>2]|0,(r|0)!=0&(t|0)!=0||H0(94981,94943,973,94988),E=e[r+32>>2]|0,(E|0)==1&&(E|0)==(e[t+32>>2]|0)||H0(95005,94943,974,94988),n=r+16|0,i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[L>>2]<<2)>>2]=i,e[p+(i<<2)>>2]=e[L>>2],i=i+1|0,r=r+1|0;for(t=x+(s<<2)|0,l=w+(o<<2)|0,n=e[x+(o<<2)>>2]|0;!((n|0)>=(e[t>>2]|0));)r=e[z+(n<<2)>>2]|0,(e[E+(r<<2)>>2]|0)<(e[l>>2]|0)&&(e[p+(i<<2)>>2]=r,i=i+1|0),n=n+1|0;e[w+(s<<2)>>2]=i,o=s}default:i=0}while(0);return e[_+8>>2]=i,r0(E),_|0}return 0}function IP(r,t,i,n,o,l){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,r=EP(r,t,n,o,l)|0,(i|0)>0&&BP(r,i)|0,r|0}function gk(r,t){r=r|0,t=t|0;var i=0;return j1(r,t)|0?(t=jc(r)|0,i=5):(t=Mc(r)|0,t?(i=mk(r,t)|0,U2(t),t=i+36|0,e[t>>2]=e[t>>2]|3,t=i,i=5):t=0),(i|0)==5&&(t=Ls(t)|0),t|0}function Ls(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;e:do if(!r)r=0;else{a=e[r+20>>2]|0,c=e[r+24>>2]|0,i=e[a>>2]|0;r:do switch(e[r+16>>2]|0){case 1:for(A=e[r+28>>2]|0,s=0,t=0;;){if((s|0)>=(e[r>>2]|0))break r;for(o=s+1|0,l=a+(o<<2)|0;n=e[l>>2]|0,!((i|0)>=(n|0));)n=e[c+(i<<2)>>2]|0,(n|0)!=(s|0)&&(e[c+(t<<2)>>2]=n,u[A+(t<<3)>>3]=+u[A+(i<<3)>>3],t=t+1|0),i=i+1|0;e[l>>2]=t,s=o,i=n}case 2:for(A=e[r+28>>2]|0,s=0,t=0;;){if((s|0)>=(e[r>>2]|0))break r;for(o=s+1|0,l=a+(o<<2)|0;n=e[l>>2]|0,!((i|0)>=(n|0));)n=e[c+(i<<2)>>2]|0,(n|0)!=(s|0)&&(e[c+(t<<2)>>2]=n,w=i<<1,n=t<<1,u[A+(n<<3)>>3]=+u[A+(w<<3)>>3],u[A+((n|1)<<3)>>3]=+u[A+((w|1)<<3)>>3],t=t+1|0),i=i+1|0;e[l>>2]=t,s=o,i=n}case 4:for(A=e[r+28>>2]|0,s=0,t=0;;){if((s|0)>=(e[r>>2]|0))break r;for(o=s+1|0,l=a+(o<<2)|0;n=e[l>>2]|0,!((i|0)>=(n|0));)n=e[c+(i<<2)>>2]|0,(n|0)!=(s|0)&&(e[c+(t<<2)>>2]=n,e[A+(t<<2)>>2]=e[A+(i<<2)>>2],t=t+1|0),i=i+1|0;e[l>>2]=t,s=o,i=n}case 8:for(s=0,t=0;;){if((s|0)>=(e[r>>2]|0))break r;for(o=s+1|0,l=a+(o<<2)|0;n=e[l>>2]|0,!((i|0)>=(n|0));)n=e[c+(i<<2)>>2]|0,(n|0)!=(s|0)&&(e[c+(t<<2)>>2]=n,t=t+1|0),i=i+1|0;e[l>>2]=t,s=o,i=n}default:{r=0;break e}}while(0);e[r+8>>2]=t}while(0);return r|0}function xP(r){return r=r|0,(e[r+32>>2]|0)==2?Rs(e[r+8>>2]|0,e[r>>2]|0,e[r+4>>2]|0,e[r+20>>2]|0,e[r+24>>2]|0,e[r+28>>2]|0,e[r+16>>2]|0,e[r+40>>2]|0)|0:(H0(95100,94943,803,95126),0)}function Rs(r,t,i,n,o,l,s,A){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,Fl0(r,t,i,n,o,l,s,A,1)|0}function $90(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;s=r+72|0,A=r+352|0,a=r+356|0,c=r+360|0,l=0;e:for(;;){if(o=i-t|0,(o|0)<=0){i=-1;break}switch(y[s+(s0[t>>0]|0)>>0]|0){case 8:case 1:case 0:{w=16;break e}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[A>>2]&127](r,t)|0){w=6;break e}o=l,t=t+2|0,l=o;continue e}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[a>>2]&127](r,t)|0){w=10;break e}o=l,t=t+3|0,l=o;continue e}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[c>>2]&127](r,t)|0){w=14;break e}o=l,t=t+4|0,l=o;continue e}case 2:{if(o=t+1|0,(i-o|0)<=0){i=-1;break e}if((y[o>>0]|0)!=33){p=l,t=o,l=p;continue e}if(o=t+2|0,(i-o|0)<=0){i=-1;break e}p=(y[o>>0]|0)==91,l=l+(p&1)|0,t=p?t+3|0:o;continue e}case 4:{if(o=t+1|0,(i-o|0)<=0){i=-1;break e}if((y[o>>0]|0)!=93){p=l,t=o,l=p;continue e}if(o=t+2|0,(i-o|0)<=0){i=-1;break e}if((y[o>>0]|0)!=62){p=l,t=o,l=p;continue e}if(t=t+3|0,!l){w=26;break e}l=l+-1|0;continue e}default:{p=l,t=t+1|0,l=p;continue e}}}return(w|0)==6||(w|0)==10||(w|0)==14||(w|0)==16?(e[n>>2]=t,i=0):(w|0)==26&&(e[n>>2]=t,i=42),i|0}function K90(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;do if(t>>>0>>0)if(A=i,(A-t|0)>0){a=r+72|0,l=t;e:for(;;){if((A-l|0)<=0){s=24;break}switch(y[a+(s0[l>>0]|0)>>0]|0){case 3:{s=8;break e}case 2:{s=11;break e}case 10:{s=12;break e}case 9:{s=15;break e}case 21:{s=19;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=1}l=l+o|0}if((s|0)==8)if((l|0)==(t|0)){o=yk(r,t+1|0,i,n)|0;break}else{e[n>>2]=l,o=6;break}else if((s|0)==11){e[n>>2]=l,o=0;break}else if((s|0)==12)if((l|0)==(t|0)){e[n>>2]=t+1,o=7;break}else{e[n>>2]=l,o=6;break}else if((s|0)==15){if((l|0)!=(t|0)){e[n>>2]=l,o=6;break}if(o=t+1|0,(A-o|0)<=0){o=-3;break}e[n>>2]=(y[a+(s0[o>>0]|0)>>0]|0)==10?t+2|0:o,o=7;break}else if((s|0)==19)if((l|0)==(t|0)){e[n>>2]=t+1,o=39;break}else{e[n>>2]=l,o=6;break}else if((s|0)==24){e[n>>2]=l,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function b90(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;do if(t>>>0>>0)if(A=i,(A-t|0)>0){a=r+72|0,l=t;e:for(;;){if((A-l|0)<=0){s=23;break}switch(y[a+(s0[l>>0]|0)>>0]|0){case 3:{s=8;break e}case 30:{s=11;break e}case 10:{s=14;break e}case 9:{s=17;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=1}l=l+o|0}if((s|0)==8)if((l|0)==(t|0)){o=yk(r,t+1|0,i,n)|0;break}else{e[n>>2]=l,o=6;break}else if((s|0)==11)if((l|0)==(t|0)){o=_P(r,t+1|0,i,n)|0,o=(o|0)==22?0:o;break}else{e[n>>2]=l,o=6;break}else if((s|0)==14)if((l|0)==(t|0)){e[n>>2]=t+1,o=7;break}else{e[n>>2]=l,o=6;break}else if((s|0)==17){if((l|0)!=(t|0)){e[n>>2]=l,o=6;break}if(o=t+1|0,(A-o|0)<=0){o=-3;break}e[n>>2]=(y[a+(s0[o>>0]|0)>>0]|0)==10?t+2|0:o,o=7;break}else if((s|0)==23){e[n>>2]=l,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function e70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=i,r=t;;){if(t=y[n>>0]|0,!(t<<24>>24)){l=6;break}if((o-r|0)<1){r=0;break}if((y[r>>0]|0)!=t<<24>>24){r=0;break}n=n+1|0,r=r+1|0}return(l|0)==6&&(r=(r|0)==(i|0)&1),r|0}function r70(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+72|0,r=t;e:for(;;){switch(y[n+(s0[r>>0]|0)>>0]|0){case 5:{i=2;break}case 6:{i=3;break}case 7:{i=4;break}case 27:case 26:case 25:case 24:case 23:case 22:case 29:{i=1;break}default:break e}r=r+i|0}return r-t|0}function t70(r,t){r=r|0,t=t|0,r=r+72|0;e:for(;;){switch(y[r+(s0[t>>0]|0)>>0]|0){case 21:case 9:case 10:break;default:break e}t=t+1|0}return t|0}function i70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;a=r+72|0,s=0,A=0,r=1;e:for(;;){o=t+1|0,l=y[o>>0]|0;do switch(y[a+(l&255)>>0]|0){case 5:{r||((A|0)<(i|0)&&(e[n+(A<<4)>>2]=o,y[n+(A<<4)+12>>0]=1),r=1),o=A,l=s,t=t+2|0,A=o,s=l;continue e}case 6:{r||((A|0)<(i|0)&&(e[n+(A<<4)>>2]=o,y[n+(A<<4)+12>>0]=1),r=1),o=A,l=s,t=t+3|0,A=o,s=l;continue e}case 7:{r||((A|0)<(i|0)&&(e[n+(A<<4)>>2]=o,y[n+(A<<4)+12>>0]=1),r=1),o=A,l=s,t=t+4|0,A=o,s=l;continue e}case 24:case 22:case 29:{if(r|0){p=r,w=A,l=s,t=o,r=p,A=w,s=l;continue e}if((A|0)>=(i|0)){w=A,p=s,r=1,t=o,A=w,s=p;continue e}e[n+(A<<4)>>2]=o,y[n+(A<<4)+12>>0]=1,w=A,p=s,r=1,t=o,A=w,s=p;continue e}case 12:{if((r|0)!=2){if((A|0)>=(i|0)){p=A,s=12,r=2,t=o,A=p;continue e}e[n+(A<<4)+4>>2]=t+2,p=A,s=12,r=2,t=o,A=p;continue e}if((s|0)!=12){w=A,p=s,r=2,t=o,A=w,s=p;continue e}(A|0)<(i|0)&&(e[n+(A<<4)+8>>2]=o),s=12,A=A+1|0,r=0,t=o;continue e}case 13:{if((r|0)!=2){if((A|0)>=(i|0)){p=A,s=13,r=2,t=o,A=p;continue e}e[n+(A<<4)+4>>2]=t+2,p=A,s=13,r=2,t=o,A=p;continue e}if((s|0)!=13){w=A,p=s,r=2,t=o,A=w,s=p;continue e}(A|0)<(i|0)&&(e[n+(A<<4)+8>>2]=o),s=13,A=A+1|0,r=0,t=o;continue e}case 3:{if((A|0)>=(i|0)){l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}y[n+(A<<4)+12>>0]=0,l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}case 21:{switch(r|0){case 1:{w=A,p=s,r=0,t=o,A=w,s=p;continue e}case 2:break;default:{l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}}if((A|0)>=(i|0)){w=A,p=s,r=2,t=o,A=w,s=p;continue e}if(r=n+(A<<4)+12|0,!(y[r>>0]|0)){w=A,p=s,r=2,t=o,A=w,s=p;continue e}if(l<<24>>24==32&&(o|0)!=(e[n+(A<<4)+4>>2]|0)&&(c=y[t+2>>0]|0,c<<24>>24!=32)&&(s|0)!=(s0[a+(c&255)>>0]|0)){w=A,p=s,r=2,t=o,A=w,s=p;continue e}y[r>>0]=0,w=A,p=s,r=2,t=o,A=w,s=p;continue e}case 10:case 9:{switch(r|0){case 1:{w=A,p=s,r=0,t=o,A=w,s=p;continue e}case 2:break;default:{l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}}if((A|0)>=(i|0)){w=A,p=s,r=2,t=o,A=w,s=p;continue e}y[n+(A<<4)+12>>0]=0,w=A,p=s,r=2,t=o,A=w,s=p;continue e}case 17:case 11:if((r|0)==2){w=A,p=s,r=2,t=o,A=w,s=p;continue e}else break e;default:{l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}}while(0)}return A|0}function n70(r,t){r=r|0,t=t|0;var i=0,n=0;r=t+2|0,i=y[r>>0]|0;e:do if(i<<24>>24==120)for(i=t+3|0,r=0;;){r:for(;;){if(n=y[i>>0]|0,t=n<<24>>24,n<<24>>24==59){n=14;break e}switch(t|0){case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{n=7;break r}case 70:case 69:case 68:case 67:case 66:case 65:{n=8;break r}case 102:case 101:case 100:case 99:case 98:case 97:{n=9;break r}default:}i=i+1|0}if((n|0)==7?(n=0,r=t+-48|r<<4):(n|0)==8?(n=0,r=(r<<4)+-55+t|0):(n|0)==9&&(n=0,r=(r<<4)+-87+t|0),(r|0)<1114112)i=i+1|0;else{r=-1;break}}else for(t=r,r=0;;){if(i<<24>>24==59){n=14;break e}if(r=(i<<24>>24)+-48+(r*10|0)|0,(r|0)>=1114112){r=-1;break e}i=t+1|0,t=i,i=y[i>>0]|0}while(0);return(n|0)==14&&(r=th(r)|0),r|0}function o70(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do switch(i-t|0){case 2:{(y[t+1>>0]|0)==116?(r=y[t>>0]|0,r=r<<24>>24==108?60:r<<24>>24==103?62:0):n=14;break}case 3:{(y[t>>0]|0)==97&&(y[t+1>>0]|0)==109&&(y[t+2>>0]|0)==112?r=38:n=14;break}case 4:switch(y[t>>0]|0){case 113:{if((y[t+1>>0]|0)!=117){n=14;break e}if((y[t+2>>0]|0)!=111){n=14;break e}if((y[t+3>>0]|0)==116){r=34;break e}else{n=14;break e}}case 97:{if((y[t+1>>0]|0)!=112){n=14;break e}if((y[t+2>>0]|0)!=111){n=14;break e}if((y[t+3>>0]|0)==115){r=39;break e}else{n=14;break e}}default:{n=14;break e}}default:n=14}while(0);return(n|0)==14&&(r=0),r|0}function SP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=r+72|0,l=n+4|0;!((i-t|0)<=0);){switch(y[o+(s0[t>>0]|0)>>0]|0){case 5:{t=t+2|0;break}case 6:{t=t+3|0;break}case 7:{t=t+4|0;break}case 10:{e[l>>2]=-1,e[n>>2]=(e[n>>2]|0)+1,t=t+1|0;break}case 9:{e[n>>2]=(e[n>>2]|0)+1,r=t+1|0,(i-r|0)>0?t=(y[o+(s0[r>>0]|0)>>0]|0)==10?t+2|0:r:t=r,e[l>>2]=-1;break}default:t=t+1|0}e[l>>2]=(e[l>>2]|0)+1}}function l70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=i+-1|0,r=r+72|0;e:for(;;){if(t=t+1|0,(o-t|0)<=0){t=1;break}switch(i=y[t>>0]|0,y[r+(i&255)>>0]|0){case 23:case 19:case 30:case 33:case 16:case 18:case 10:case 9:case 15:case 14:case 17:case 35:case 34:case 32:case 31:case 13:case 27:case 24:case 25:continue e;case 21:if(i<<24>>24==9){l=7;break e}else continue e;case 22:case 26:{if(i<<24>>24>=0)continue e;break}default:}switch(i<<24>>24|0){case 64:case 36:break;default:{l=7;break e}}}return(l|0)==7&&(e[n>>2]=t,t=0),t|0}function s70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=o;;){if(s=e[t>>2]|0,(s|0)==(i|0)){r=0;break}if(A=s0[s>>0]|0,r=e[n>>2]|0,A&128){if((l-r|0)<2){r=2;break}e[n>>2]=r+1,y[r>>0]=A>>>6|192,s=e[n>>2]|0,e[n>>2]=s+1,y[s>>0]=A&63|128,e[t>>2]=(e[t>>2]|0)+1;continue}else{if((r|0)==(o|0)){r=2;break}e[t>>2]=s+1,s=y[s>>0]|0,A=e[n>>2]|0,e[n>>2]=A+1,y[A>>0]=s;continue}}return r|0}function A70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;for(var l=0,s=0;r=e[t>>2]|0,l=r>>>0>>0,s=e[n>>2]|0,!!(l&s>>>0>>0);)e[t>>2]=r+1,l=s0[r>>0]|0,s=e[n>>2]|0,e[n>>2]=s+2,$[s>>1]=l;return((s|0)!=(o|0)|l^1?0:2)|0}function yk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;A=i,o=A-t|0;e:do if((o|0)>0){switch(a=r+72|0,y[a+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{i=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)i=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)i=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)i=4;else{e[n>>2]=t,i=0;break e}break}case 19:{i=u70(r,t+1|0,i,n)|0;break e}default:{e[n>>2]=t,i=0;break e}}o=r+328|0,l=r+332|0,s=r+336|0,t=t+i|0;r:for(;;){if(i=A-t|0,(i|0)<=0){i=-1;break e}switch(y[a+(s0[t>>0]|0)>>0]|0){case 29:{o=18;break r}case 18:{o=29;break r}case 27:case 26:case 25:case 24:case 22:{i=1;break}case 5:{if((i|0)<2){i=-2;break e}if(ke[e[o>>2]&127](r,t)|0)i=2;else{o=21;break r}break}case 6:{if((i|0)<3){i=-2;break e}if(ke[e[l>>2]&127](r,t)|0)i=3;else{o=24;break r}break}case 7:{if((i|0)<4){i=-2;break e}if(ke[e[s>>2]&127](r,t)|0)i=4;else{o=27;break r}break}default:{o=30;break r}}t=t+i|0}if((o|0)==18){e[n>>2]=t,i=0;break}else if((o|0)==21){e[n>>2]=t,i=0;break}else if((o|0)==24){e[n>>2]=t,i=0;break}else if((o|0)==27){e[n>>2]=t,i=0;break}else if((o|0)==29){e[n>>2]=t+1,i=9;break}else if((o|0)==30){e[n>>2]=t,i=0;break}}else i=-1;while(0);return i|0}function _P(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;o=i-t|0;e:do if((o|0)>0){switch(a=r+72|0,y[a+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=4;else{e[n>>2]=t,i=0;break e}break}case 30:case 9:case 10:case 21:{e[n>>2]=t,i=22;break e}default:{e[n>>2]=t,i=0;break e}}l=r+328|0,s=r+332|0,A=r+336|0,t=t+o|0;r:for(;;){if(o=i-t|0,(o|0)<=0){i=-1;break e}switch(y[a+(s0[t>>0]|0)>>0]|0){case 29:{o=18;break r}case 18:{o=29;break r}case 27:case 26:case 25:case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,t)|0)o=2;else{o=21;break r}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,t)|0)o=3;else{o=24;break r}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,t)|0)o=4;else{o=27;break r}break}default:{o=30;break r}}t=t+o|0}if((o|0)==18){e[n>>2]=t,i=0;break}else if((o|0)==21){e[n>>2]=t,i=0;break}else if((o|0)==24){e[n>>2]=t,i=0;break}else if((o|0)==27){e[n>>2]=t,i=0;break}else if((o|0)==29){e[n>>2]=t+1,i=28;break}else if((o|0)==30){e[n>>2]=t,i=0;break}}else i=-1;while(0);return i|0}function u70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;l=i;e:do if((l-t|0)>0){if(o=y[t>>0]|0,o<<24>>24==120){r=f70(r,t+1|0,i,n)|0;break}if(i=r+72|0,(y[i+(o&255)>>0]|0)!=25){e[n>>2]=t,r=0;break}r:for(;;){if(r=t+1|0,(l-r|0)<=0){r=-1;break e}switch(y[i+(s0[r>>0]|0)>>0]|0){case 25:{t=r;break}case 18:{i=8;break r}default:{i=9;break r}}}if((i|0)==8){e[n>>2]=t+2,r=10;break}else if((i|0)==9){e[n>>2]=r,r=0;break}}else r=-1;while(0);return r|0}function f70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;e:do if((i-t|0)>0){if(r=r+72|0,(y[r+(s0[t>>0]|0)>>0]&-2)<<24>>24!=24){e[n>>2]=t,i=0;break}r:for(;;){if(o=t+1|0,(i-o|0)<=0){i=-1;break e}switch(y[r+(s0[o>>0]|0)>>0]|0){case 24:case 25:{t=o;break}case 18:{r=6;break r}default:{r=7;break r}}}if((r|0)==6){e[n>>2]=t+2,i=10;break}else if((r|0)==7){e[n>>2]=o,i=0;break}}else i=-1;while(0);return i|0}function a70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;m=i,o=m-t|0;e:do if((o|0)>0){switch(v=r+72|0,y[v+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,o=0;break e}case 24:case 22:{o=1;break}case 5:{if((o|0)<2){o=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=2;else{e[n>>2]=t,o=0;break e}break}case 6:{if((o|0)<3){o=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=3;else{e[n>>2]=t,o=0;break e}break}case 7:{if((o|0)<4){o=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=4;else{e[n>>2]=t,o=0;break e}break}case 16:{if(o=t+1|0,(m-o|0)<=0){o=-1;break e}switch(y[v+(s0[o>>0]|0)>>0]|0){case 27:{o=zP(r,t+2|0,i,n)|0;break e}case 20:{o=c70(t+2|0,i,n)|0;break e}default:{e[n>>2]=o,o=0;break e}}}case 15:{o=LP(r,t+1|0,i,n)|0;break e}case 17:{o=h70(r,t+1|0,i,n)|0;break e}default:{e[n>>2]=t,o=0;break e}}s=r+328|0,A=r+332|0,a=r+336|0,c=r+340|0,w=r+344|0,p=r+348|0,l=0,o=t+o|0;r:for(;;){if(t=m-o|0,(t|0)<=0){o=-1;break e}t:do switch(y[v+(s0[o>>0]|0)>>0]|0){case 29:{E=24;break r}case 10:case 9:case 21:{E=50;break r}case 11:{E=64;break r}case 17:break r;case 27:case 26:case 25:case 24:case 22:{t=1;break}case 5:{if((t|0)<2){o=-2;break e}if(ke[e[s>>2]&127](r,o)|0)t=2;else{E=27;break r}break}case 6:{if((t|0)<3){o=-2;break e}if(ke[e[A>>2]&127](r,o)|0)t=3;else{E=30;break r}break}case 7:{if((t|0)<4){o=-2;break e}if(ke[e[a>>2]&127](r,o)|0)t=4;else{E=33;break r}break}case 23:{if(l|0){E=35;break r}if(l=o+1|0,t=m-l|0,(t|0)<=0){o=-1;break e}switch(y[v+(s0[l>>0]|0)>>0]|0){case 29:{E=38;break r}case 24:case 22:{l=1,t=2;break t}case 5:{if((t|0)<2){o=-2;break e}if(ke[e[c>>2]&127](r,l)|0){l=1,t=3;break t}else{E=42;break r}}case 6:{if((t|0)<3){o=-2;break e}if(ke[e[w>>2]&127](r,l)|0){l=1,t=4;break t}else{E=45;break r}}case 7:{if((t|0)<4){o=-2;break e}if(ke[e[p>>2]&127](r,l)|0){l=1,t=5;break t}else{E=48;break r}}default:{E=49;break r}}}default:{E=69;break r}}while(0);o=o+t|0}r:switch(E|0){case 24:{e[n>>2]=o,o=0;break e}case 27:{e[n>>2]=o,o=0;break e}case 30:{e[n>>2]=o,o=0;break e}case 33:{e[n>>2]=o,o=0;break e}case 35:{e[n>>2]=o,o=0;break e}case 38:{e[n>>2]=l,o=0;break e}case 42:{e[n>>2]=l,o=0;break e}case 45:{e[n>>2]=l,o=0;break e}case 48:{e[n>>2]=l,o=0;break e}case 49:{e[n>>2]=l,o=0;break e}case 50:{t:for(;;){if(E=0,l=o+1|0,t=m-l|0,(t|0)<=0){o=-1;break e}switch(y[v+(s0[l>>0]|0)>>0]|0){case 11:{o=l,E=64;break r}case 17:{o=l;break r}case 10:case 9:case 21:{o=l,E=50;break}case 29:{E=52;break t}case 24:case 22:{l=2;break t}case 5:{E=53;break t}case 6:{E=56;break t}case 7:{E=59;break t}default:{E=62;break t}}}if((E|0)==52){e[n>>2]=l,o=0;break e}else if((E|0)==53){if((t|0)<2){o=-2;break e}if(ke[e[c>>2]&127](r,l)|0)l=3;else{e[n>>2]=l,o=0;break e}}else if((E|0)==56){if((t|0)<3){o=-2;break e}if(ke[e[w>>2]&127](r,l)|0)l=4;else{e[n>>2]=l,o=0;break e}}else if((E|0)==59){if((t|0)<4){o=-2;break e}if(ke[e[p>>2]&127](r,l)|0)l=5;else{e[n>>2]=l,o=0;break e}}else if((E|0)==62){e[n>>2]=l,o=0;break e}o=w70(r,o+l|0,i,n)|0;break e}case 69:{e[n>>2]=o,o=0;break e}}if((E|0)==64){e[n>>2]=o+1,o=2;break}if(l=o+1|0,(m-l|0)>0)if((y[l>>0]|0)==62){e[n>>2]=o+2,o=4;break}else{e[n>>2]=l,o=0;break}else o=-1}else o=-1;while(0);return o|0}function zP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;e:do if((i-t|0)>0){if((y[t>>0]|0)!=45){e[n>>2]=t,i=0;break}o=r+72|0,l=r+352|0,s=r+356|0,A=r+360|0,a=t+1|0;r:for(;;){if(t=i-a|0,(t|0)<=0){i=-1;break e}switch(y[o+(s0[a>>0]|0)>>0]|0){case 8:case 1:case 0:{t=19;break r}case 5:{if((t|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,a)|0){t=9;break r}a=a+2|0;continue r}case 6:{if((t|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,a)|0){t=13;break r}a=a+3|0;continue r}case 7:{if((t|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,a)|0){t=17;break r}a=a+4|0;continue r}case 27:{if(t=a+1|0,(i-t|0)<=0){i=-1;break e}if((y[t>>0]|0)==45){t=22;break r}else{a=t;continue r}}default:{a=a+1|0;continue r}}}if((t|0)==9){e[n>>2]=a,i=0;break}else if((t|0)==13){e[n>>2]=a,i=0;break}else if((t|0)==17){e[n>>2]=a,i=0;break}else if((t|0)==19){e[n>>2]=a,i=0;break}else if((t|0)==22){if(t=a+2|0,(i-t|0)<=0){i=-1;break}if((y[t>>0]|0)==62){e[n>>2]=a+3,i=13;break}else{e[n>>2]=t,i=0;break}}}else i=-1;while(0);return i|0}function c70(r,t,i){if(r=r|0,t=t|0,i=i|0,(t-r|0)>5){for(t=0;;){if((t|0)>=6){t=8;break}if((y[r>>0]|0)!=(y[144300+t>>0]|0)){t=0;break}t=t+1|0,r=r+1|0}e[i>>2]=r}else t=-1;return t|0}function LP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+16|0,p=v,w=i,i=w-t|0;e:do if((i|0)>0){switch(c=r+72|0,y[c+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{i=1;break}case 5:{if((i|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)i=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((i|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)i=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((i|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)i=4;else{e[n>>2]=t,i=0;break e}break}default:{e[n>>2]=t,i=0;break e}}l=r+328|0,s=r+332|0,A=r+336|0,i=t+i|0;r:for(;;){if(o=w-i|0,(o|0)<=0){i=-1;break e}switch(y[c+(s0[i>>0]|0)>>0]|0){case 29:{a=17;break r}case 10:case 9:case 21:{a=28;break r}case 15:{a=50;break r}case 27:case 26:case 25:case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,i)|0)o=2;else{a=20;break r}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,i)|0)o=3;else{a=23;break r}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,i)|0)o=4;else{a=26;break r}break}default:break r}i=i+o|0}if((a|0)==17){e[n>>2]=i,i=0;break}else if((a|0)==20){e[n>>2]=i,i=0;break}else if((a|0)==23){e[n>>2]=i,i=0;break}else if((a|0)==26){e[n>>2]=i,i=0;break}else if((a|0)==28){if(!(RP(t,i,p)|0)){e[n>>2]=i,i=0;break}l=r+352|0,s=r+356|0,A=r+360|0,o=i+1|0;r:for(;;){if(i=w-o|0,(i|0)<=0){i=-1;break e}switch(y[c+(s0[o>>0]|0)>>0]|0){case 8:case 1:case 0:{a=45;break r}case 5:{if((i|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,o)|0){a=35;break r}o=o+2|0;continue r}case 6:{if((i|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,o)|0){a=39;break r}o=o+3|0;continue r}case 7:{if((i|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,o)|0){a=43;break r}o=o+4|0;continue r}case 15:{if(i=o+1|0,(w-i|0)<=0){i=-1;break e}if((y[i>>0]|0)==62){a=48;break r}else{o=i;continue r}}default:{o=o+1|0;continue r}}}if((a|0)==35){e[n>>2]=o,i=0;break}else if((a|0)==39){e[n>>2]=o,i=0;break}else if((a|0)==43){e[n>>2]=o,i=0;break}else if((a|0)==45){e[n>>2]=o,i=0;break}else if((a|0)==48){e[n>>2]=o+2,i=e[p>>2]|0;break}}else if((a|0)==50){if(!(RP(t,i,p)|0)){e[n>>2]=i,i=0;break}if(o=i+1|0,(w-o|0)<=0){i=-1;break}if((y[o>>0]|0)==62){e[n>>2]=i+2,i=e[p>>2]|0;break}else i=o}e[n>>2]=i,i=0}else i=-1;while(0);return g=v,i|0}function h70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;o=i-t|0;e:do if((o|0)>0){switch(a=r+72|0,y[a+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=4;else{e[n>>2]=t,i=0;break e}break}default:{e[n>>2]=t,i=0;break e}}l=r+328|0,s=r+332|0,A=r+336|0,o=t+o|0;r:for(;;){if(t=i-o|0,(t|0)<=0){i=-1;break e}switch(y[a+(s0[o>>0]|0)>>0]|0){case 29:{l=17;break r}case 10:case 9:case 21:{l=27;break r}case 11:{l=32;break r}case 23:case 27:case 26:case 25:case 24:case 22:{t=1;break}case 5:{if((t|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,o)|0)t=2;else{l=20;break r}break}case 6:{if((t|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,o)|0)t=3;else{l=23;break r}break}case 7:{if((t|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,o)|0)t=4;else{l=26;break r}break}default:{l=33;break r}}o=o+t|0}if((l|0)==17){e[n>>2]=o,i=0;break}else if((l|0)==20){e[n>>2]=o,i=0;break}else if((l|0)==23){e[n>>2]=o,i=0;break}else if((l|0)==26){e[n>>2]=o,i=0;break}else if((l|0)==27){r:for(;;){if(t=o+1|0,(i-t|0)<=0){i=-1;break e}switch(y[a+(s0[t>>0]|0)>>0]|0){case 10:case 9:case 21:{o=t,l=27;break}case 11:{l=29;break r}default:{l=30;break r}}}if((l|0)==29){e[n>>2]=o+2,i=5;break}else if((l|0)==30){e[n>>2]=t,i=0;break}}else if((l|0)==32){e[n>>2]=o+1,i=5;break}else if((l|0)==33){e[n>>2]=o,i=0;break}}else i=-1;while(0);return i|0}function w70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;G=g,g=g+16|0,z=G,e[z>>2]=t,_=i,m=r+72|0,E=r+328|0,B=r+332|0,x=r+336|0,A=r+340|0,a=r+344|0,c=r+348|0,w=r+352|0,p=r+356|0,v=r+360|0,l=0;e:for(;;){if(o=_-t|0,(o|0)<=0){t=-1;break}r:do switch(y[m+(s0[t>>0]|0)>>0]|0){case 29:{L=4;break e}case 27:case 26:case 25:case 24:case 22:{o=t+1|0,e[z>>2]=o,s=l,t=o,l=s;continue e}case 5:{if((o|0)<2){t=-2;break e}if(!(ke[e[E>>2]&127](r,t)|0)){L=8;break e}o=t+2|0,e[z>>2]=o,s=l,t=o,l=s;continue e}case 6:{if((o|0)<3){t=-2;break e}if(!(ke[e[B>>2]&127](r,t)|0)){L=12;break e}o=t+3|0,e[z>>2]=o,s=l,t=o,l=s;continue e}case 7:{if((o|0)<4){t=-2;break e}if(!(ke[e[x>>2]&127](r,t)|0)){L=16;break e}o=t+4|0,e[z>>2]=o,s=l,t=o,l=s;continue e}case 23:{if(l|0){L=19;break e}if(o=t+1|0,e[z>>2]=o,l=_-o|0,(l|0)<=0){t=-1;break e}switch(y[m+(s0[o>>0]|0)>>0]|0){case 29:{L=22;break e}case 24:case 22:{s=t+2|0,e[z>>2]=s,l=1,t=s;continue e}case 5:{if((l|0)<2){t=-2;break e}if(!(ke[e[A>>2]&127](r,o)|0)){L=26;break e}s=t+3|0,e[z>>2]=s,l=1,t=s;continue e}case 6:{if((l|0)<3){t=-2;break e}if(!(ke[e[a>>2]&127](r,o)|0)){L=30;break e}s=t+4|0,e[z>>2]=s,l=1,t=s;continue e}case 7:{if((l|0)<4){t=-2;break e}if(!(ke[e[c>>2]&127](r,o)|0)){L=34;break e}s=t+5|0,e[z>>2]=s,l=1,t=s;continue e}default:{L=36;break e}}}case 10:case 9:case 21:for(;;){if(t=t+1|0,e[z>>2]=t,(_-t|0)<=0){t=-1;break e}switch(y[m+(s0[t>>0]|0)>>0]|0){case 14:break r;case 9:case 10:case 21:break;default:{L=39;break e}}}case 14:break;default:{L=92;break e}}while(0);for(;;){if(o=t+1|0,e[z>>2]=o,(_-o|0)<=0){t=-1;break e}if(s=y[m+(s0[o>>0]|0)>>0]|0,(s|1)<<24>>24==13)break;switch(s<<24>>24){case 9:case 10:case 21:{t=o;break}default:{L=43;break e}}}t=t+2|0,e[z>>2]=t;r:for(;;){if(o=_-t|0,(o|0)<=0){t=-1;break e}if(l=y[m+(s0[t>>0]|0)>>0]|0,l<<24>>24==s<<24>>24)break;switch(l<<24>>24){case 8:case 1:case 0:{L=60;break e}case 2:{L=65;break e}case 5:{if((o|0)<2){t=-2;break e}if(ke[e[w>>2]&127](r,t)|0){L=50;break e}l=t+2|0,e[z>>2]=l,t=l;continue r}case 6:{if((o|0)<3){t=-2;break e}if(ke[e[p>>2]&127](r,t)|0){L=54;break e}l=t+3|0,e[z>>2]=l,t=l;continue r}case 7:{if((o|0)<4){t=-2;break e}if(ke[e[v>>2]&127](r,t)|0){L=58;break e}l=t+4|0,e[z>>2]=l,t=l;continue r}case 3:{if(t=yk(r,t+1|0,i,z)|0,(t|0)<1){L=63;break e}t=e[z>>2]|0;continue r}default:{l=t+1|0,e[z>>2]=l,t=l;continue r}}}if(o=t+1|0,e[z>>2]=o,(_-o|0)<=0){t=-1;break}switch(y[m+(s0[o>>0]|0)>>0]|0){case 11:{L=86;break e}case 17:{L=87;break e}case 10:case 9:case 21:{t=o;break}default:{L=69;break e}}r:for(;;){if(o=t+1|0,e[z>>2]=o,l=_-o|0,(l|0)<=0){t=-1;break e}switch(y[m+(s0[o>>0]|0)>>0]|0){case 29:{L=72;break e}case 11:{L=86;break e}case 17:{L=87;break e}case 10:case 9:case 21:{t=o;break}case 24:case 22:{L=73;break r}case 5:{L=74;break r}case 6:{L=78;break r}case 7:{L=82;break r}default:{L=91;break e}}}if((L|0)==73){L=0,t=t+2|0,e[z>>2]=t,l=0;continue}else if((L|0)==74){if(L=0,(l|0)<2){t=-2;break}if(!(ke[e[A>>2]&127](r,o)|0)){L=76;break}t=t+3|0,e[z>>2]=t,l=0;continue}else if((L|0)==78){if(L=0,(l|0)<3){t=-2;break}if(!(ke[e[a>>2]&127](r,o)|0)){L=80;break}t=t+4|0,e[z>>2]=t,l=0;continue}else if((L|0)==82){if(L=0,(l|0)<4){t=-2;break}if(!(ke[e[c>>2]&127](r,o)|0)){L=84;break}t=t+5|0,e[z>>2]=t,l=0;continue}}switch(L|0){case 4:{e[n>>2]=t,t=0;break}case 8:{e[n>>2]=t,t=0;break}case 12:{e[n>>2]=t,t=0;break}case 16:{e[n>>2]=t,t=0;break}case 19:{e[n>>2]=t,t=0;break}case 22:{e[n>>2]=o,t=0;break}case 26:{e[n>>2]=o,t=0;break}case 30:{e[n>>2]=o,t=0;break}case 34:{e[n>>2]=o,t=0;break}case 36:{e[n>>2]=o,t=0;break}case 39:{e[n>>2]=t,t=0;break}case 43:{e[n>>2]=o,t=0;break}case 50:{e[n>>2]=t,t=0;break}case 54:{e[n>>2]=t,t=0;break}case 58:{e[n>>2]=t,t=0;break}case 60:{e[n>>2]=t,t=0;break}case 63:{t||(e[n>>2]=e[z>>2],t=0);break}case 65:{e[n>>2]=t,t=0;break}case 69:{e[n>>2]=o,t=0;break}case 72:{e[n>>2]=o,t=0;break}case 76:{e[n>>2]=o,t=0;break}case 80:{e[n>>2]=o,t=0;break}case 84:{e[n>>2]=o,t=0;break}case 86:{e[n>>2]=t+2,t=1;break}case 87:{if(t=o+1|0,e[z>>2]=t,(_-t|0)>0)if((y[t>>0]|0)==62){e[n>>2]=o+2,t=3;break}else{e[n>>2]=t,t=0;break}else t=-1;break}case 91:{e[n>>2]=o,t=0;break}case 92:{e[n>>2]=t,t=0;break}}return g=G,t|0}function RP(r,t,i){r=r|0,t=t|0,i=i|0,e[i>>2]=11;e:do if((t-r|0)==3){switch(y[r>>0]|0){case 120:{t=0;break}case 88:{t=1;break}default:{t=1;break e}}switch(y[r+1>>0]|0){case 109:break;case 77:{t=1;break}default:{t=1;break e}}switch(y[r+2>>0]|0){case 108:break;case 76:{t=0;break e}default:{t=1;break e}}t?t=0:(e[i>>2]=12,t=1)}else t=1;while(0);return t|0}function GP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0;A=t+72|0,a=t+352|0,c=t+356|0,w=t+360|0;e:for(;;){if(l=n-i|0,(l|0)<=0){n=-1;break}switch(s=y[A+(s0[i>>0]|0)>>0]|0,s<<24>>24){case 8:case 1:case 0:{p=16;break e}case 5:{if((l|0)<2){n=-2;break e}if(ke[e[a>>2]&127](t,i)|0){p=6;break e}i=i+2|0;continue e}case 6:{if((l|0)<3){n=-2;break e}if(ke[e[c>>2]&127](t,i)|0){p=10;break e}i=i+3|0;continue e}case 7:{if((l|0)<4){n=-2;break e}if(ke[e[w>>2]&127](t,i)|0){p=14;break e}i=i+4|0;continue e}case 13:case 12:if(i=i+1|0,(s&255|0)==(r|0)){p=18;break e}else continue e;default:{i=i+1|0;continue e}}}e:do if((p|0)==6)e[o>>2]=i,n=0;else if((p|0)==10)e[o>>2]=i,n=0;else if((p|0)==14)e[o>>2]=i,n=0;else if((p|0)==16)e[o>>2]=i,n=0;else if((p|0)==18)if((n-i|0)>0){switch(e[o>>2]=i,y[A+(s0[i>>0]|0)>>0]|0){case 20:case 30:case 11:case 10:case 9:case 21:{n=27;break e}default:}n=0}else n=-27;while(0);return n|0}function d70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;o=i;e:do if((o-t|0)>0)switch(l=r+72|0,y[l+(s0[t>>0]|0)>>0]|0){case 27:{r=zP(r,t+1|0,i,n)|0;break e}case 20:{e[n>>2]=t+1,r=33;break e}case 24:case 22:{r:for(;;){if(r=t+1|0,i=o-r|0,(i|0)<=0){r=-1;break e}switch(y[l+(s0[r>>0]|0)>>0]|0){case 24:case 22:{t=r;break}case 30:{s=8;break r}case 10:case 9:case 21:break r;default:{s=12;break r}}}if((s|0)==12){e[n>>2]=r,r=0;break e}r:do if((s|0)==8){if((i|0)<=1){r=-1;break e}switch(y[l+(s0[t+2>>0]|0)>>0]|0){case 30:case 10:case 9:case 21:break;default:break r}e[n>>2]=r,r=0;break e}while(0);e[n>>2]=r,r=16;break e}default:{e[n>>2]=t,r=0;break e}}else r=-1;while(0);return r|0}function p70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;o=i-t|0;e:do if((o|0)>0){switch(a=r+72|0,y[a+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=4;else{e[n>>2]=t,i=0;break e}break}default:{e[n>>2]=t,i=0;break e}}l=r+328|0,s=r+332|0,A=r+336|0,t=t+o|0;r:for(;;){if(o=i-t|0,(o|0)<=0){i=-20;break e}switch(y[a+(s0[t>>0]|0)>>0]|0){case 29:{o=17;break r}case 36:case 30:case 11:case 32:case 21:case 10:case 9:{o=28;break r}case 27:case 26:case 25:case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,t)|0)o=2;else{o=20;break r}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,t)|0)o=3;else{o=23;break r}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,t)|0)o=4;else{o=26;break r}break}default:{o=29;break r}}t=t+o|0}if((o|0)==17){e[n>>2]=t,i=0;break}else if((o|0)==20){e[n>>2]=t,i=0;break}else if((o|0)==23){e[n>>2]=t,i=0;break}else if((o|0)==26){e[n>>2]=t,i=0;break}else if((o|0)==28){e[n>>2]=t,i=20;break}else if((o|0)==29){e[n>>2]=t,i=0;break}}else i=-1;while(0);return i|0}function k70(){return 58220}function v70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;return A=g,g=g+16|0,l=A,e[l>>2]=i,s=e[t>>2]|0,r=o-(e[n>>2]|0)|0,(i-s|0)>(r|0)?(r=s+r|0,e[l>>2]=r,o=1):(o=0,r=i),Rl0(s,l),s=e[l>>2]|0,i=e[t>>2]|0,l=s-i|0,u2(e[n>>2]|0,i|0,l|0)|0,e[t>>2]=(e[t>>2]|0)+l,e[n>>2]=(e[n>>2]|0)+l,g=A,(o?2:s>>>0>>0&1)|0}function m70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0;s=r+72|0,A=i,a=o,c=e[t>>2]|0,w=e[n>>2]|0;e:for(;;){if(r=c>>>0>>0,!(w>>>0>>0&r)){p=12;break}switch(r=y[c>>0]|0,l=r&255,y[s+l>>0]|0){case 5:{if((A-c|0)<2){r=1;break e}$[w>>1]=(r&31)<<6|y[c+1>>0]&63,c=c+2|0,w=w+2|0;continue e}case 6:{if((A-c|0)<3){r=1;break e}$[w>>1]=(y[c+1>>0]&63)<<6|l<<12|y[c+2>>0]&63,c=c+3|0,w=w+2|0;continue e}case 7:{if((a-w|0)<4){r=2;break e}if((A-c|0)<4){r=1;break e}l=((y[c+1>>0]&63)<<12|(r&7)<<18|(y[c+2>>0]&63)<<6|y[c+3>>0]&63)+-65536|0,$[w>>1]=l>>>10|55296,$[w+2>>1]=l&1023|56320,c=c+4|0,w=w+4|0;continue e}default:{$[w>>1]=r<<24>>24,c=c+1|0,w=w+2|0;continue e}}}return(p|0)==12&&(r=r?2:0),e[t>>2]=c,e[n>>2]=w,r|0}function g70(r,t){return r=r|0,t=t|0,r=s0[t>>0]|0,t=s0[t+1>>0]|0,1<<(t&31)&e[56940+(((s0[144044+(r>>>2&7)>>0]|0)<<3|r<<1&6|t>>>5&1)<<2)>>2]|0}function y70(r,t){r=r|0,t=t|0;var i=0;return i=s0[t+1>>0]|0,r=s0[t+2>>0]|0,1<<(r&31)&e[56940+(((s0[144044+(i>>>2&15|y[t>>0]<<4&255)>>0]|0)<<3|i<<1&6|r>>>5&1)<<2)>>2]|0}function C70(r,t){return r=r|0,t=t|0,0}function E70(r,t){return r=r|0,t=t|0,r=s0[t>>0]|0,t=s0[t+1>>0]|0,1<<(t&31)&e[56940+(((s0[143788+(r>>>2&7)>>0]|0)<<3|r<<1&6|t>>>5&1)<<2)>>2]|0}function B70(r,t){r=r|0,t=t|0;var i=0;return i=s0[t+1>>0]|0,r=s0[t+2>>0]|0,1<<(r&31)&e[56940+(((s0[143788+(i>>>2&15|y[t>>0]<<4&255)>>0]|0)<<3|i<<1&6|r>>>5&1)<<2)>>2]|0}function I70(r,t){return r=r|0,t=t|0,(s0[t>>0]|0)<194?1:(t=s0[t+1>>0]|0,t>>>7^1|(t&192|0)==192|0)}function x70(r,t){r=r|0,t=t|0;var i=0;r=y[t+2>>0]|0;do if(r<<24>>24>-1)r=1;else{if(i=y[t>>0]|0,i<<24>>24==-17&&(y[t+1>>0]|0)==-65)if((r&255)>189){r=1;break}else r=191,t=-65;else{if((r&255)>191){r=1;break}if(t=y[t+1>>0]|0,r=t&255,i<<24>>24==-32){r=(t&255)<160|(r&192|0)==192;break}}r=r&128|0?i<<24>>24==-19?(t&255)>159:(r&192|0)==192:1}while(0);return r&1|0}function S70(r,t){r=r|0,t=t|0;var i=0;i=s0[t+3>>0]|0;do if(!((i&128|0)==0|(i&192|0)==192)&&(i=s0[t+2>>0]|0,!((i&128|0)==0|(i&192|0)==192)))if(i=y[t>>0]|0,r=y[t+1>>0]|0,t=r&255,i<<24>>24==-16){r=(r&255)<144|(t&192|0)==192;break}else{r=t&128|0?i<<24>>24==-12?(r&255)>143:(t&192|0)==192:1;break}else r=1;while(0);return r&1|0}function _70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;e:do if(t>>>0>>0)if(l=t,c=i-l|0,A=(c&1|0)==0,c=c&-2,a=(c|0)==0,c=A|a?i:t+c|0,A|a^1){i=y[t+1>>0]|0,i<<24>>24?(o=y[t>>0]|0,s=o,o=Re(i,o)|0):(o=y[t>>0]|0,s=o,o=s0[r+72+(o&255)>>0]|0);do switch(o|0){case 12:{i=jP(12,r,t+2|0,c,n)|0;break e}case 13:{i=jP(13,r,t+2|0,c,n)|0;break e}case 2:{if(o=t+2|0,(c-o|0)<=1){i=-1;break e}switch(i=y[t+3>>0]|0,i<<24>>24?i=Re(i,y[o>>0]|0)|0:i=s0[r+72+(s0[o>>0]|0)>>0]|0,i|0){case 16:{i=q70(r,t+4|0,c,n)|0;break e}case 15:{i=DP(r,t+4|0,c,n)|0;break e}case 7:case 6:case 5:case 29:case 24:case 22:{e[n>>2]=t,i=29;break e}default:{e[n>>2]=o,i=0;break e}}}case 9:{if((t+2|0)==(c|0)){e[n>>2]=c,i=-15;break e}else l=7;break}case 10:case 21:{l=7;break}case 30:{i=ZP(r,t+2|0,c,n)|0;break e}case 35:{e[n>>2]=t+2,i=38;break e}case 20:{e[n>>2]=t+2,i=25;break e}case 4:{if(o=t+2|0,i=c-o|0,(i|0)<=1){i=-26;break e}if(!(y[t+3>>0]|0)&&(y[o>>0]|0)==93){if((i|0)<=3){i=-1;break e}if(!(y[t+5>>0]|0)&&(y[t+4>>0]|0)==62){e[n>>2]=t+6,i=34;break e}}e[n>>2]=o,i=26;break e}case 31:{e[n>>2]=t+2,i=23;break e}case 32:{if(o=t+2|0,(c-o|0)<=1){i=-24;break e}switch(i=y[t+3>>0]|0,i<<24>>24?i=Re(i,y[o>>0]|0)|0:i=s0[r+72+(s0[o>>0]|0)>>0]|0,i|0){case 33:{e[n>>2]=t+4,i=36;break e}case 15:{e[n>>2]=t+4,i=35;break e}case 34:{e[n>>2]=t+4,i=37;break e}case 32:case 36:case 35:case 11:case 21:case 10:case 9:{e[n>>2]=o,i=24;break e}default:{e[n>>2]=o,i=0;break e}}}case 36:{e[n>>2]=t+2,i=21;break e}case 11:{e[n>>2]=t+2,i=17;break e}case 19:{i=$70(r,t+2|0,c,n)|0;break e}case 5:{if((c-l|0)<2){i=-2;break e}e[n>>2]=t,i=0;break e}case 6:{if((c-l|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((c-l|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}case 24:case 22:{i=18,l=61;break}case 23:case 27:case 26:case 25:{i=19,l=61;break}case 29:{l=i&255,o=s&255,i=o>>>5,o=1<<(o&31),o&e[56940+((i|s0[143788+l>>0]<<3)<<2)>>2]?(i=18,l=61):e[56940+((s0[144044+l>>0]<<3|i)<<2)>>2]&o?(i=19,l=61):l=64;break}default:l=64}while(0);if((l|0)==7){A=c,r=r+72|0,s=t;r:for(;;){if(l=s,s=s+2|0,(A-s|0)<=1){l=28;break}switch(i=y[l+3>>0]|0,o=y[s>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[r+(o&255)>>0]|0,i|0){case 10:case 21:continue r;case 9:break;default:{l=27;break r}}if((l+4|0)==(c|0)){l=27;break}}if((l|0)==27){e[n>>2]=s,i=15;break}else if((l|0)==28){e[n>>2]=s,i=15;break}}else if((l|0)==61){a=r+72|0,o=t+2|0;r:for(;;){t=i&255;t:for(;;){if(A=c-o|0,(A|0)<=1){l=104;break r}switch(l=y[o+1>>0]|0,s=y[o>>0]|0,l<<24>>24?r=Re(l,s)|0:r=s0[a+(s&255)>>0]|0,r|0){case 5:{l=73;break r}case 6:{l=74;break r}case 7:{l=76;break r}case 10:case 9:case 21:case 30:case 20:case 36:case 35:case 32:case 11:{l=78;break r}case 34:{l=94;break r}case 33:{l=97;break r}case 15:{l=100;break r}case 29:{if(A=s&255,!(1<<(A&31)&e[56940+((A>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])){l=71;break r}break}case 27:case 26:case 25:case 24:case 22:break;case 23:switch(A=o+2|0,t&63){case 41:{i=19,o=A;continue r}case 18:break t;default:{o=A;continue t}}default:{l=103;break r}}o=o+2|0}if(r=c-A|0,(r|0)<=1){i=-1;break e}switch(i=y[o+3>>0]|0,l=y[A>>0]|0,i<<24>>24?s=Re(i,l)|0:s=s0[a+(l&255)>>0]|0,s|0){case 5:{l=89;break r}case 6:{l=90;break r}case 7:{l=92;break r}case 29:{if(t=l&255,!(1<<(t&31)&e[56940+((t>>>5|s0[144044+(i&255)>>0]<<3)<<2)>>2])){l=87;break r}break}case 27:case 26:case 25:case 24:case 22:break;default:{i=19,o=A;continue r}}i=41,o=o+4|0}switch(l|0){case 71:{e[n>>2]=o,i=0;break e}case 73:{e[n>>2]=o,i=0;break e}case 74:{if((A|0)<3){i=-2;break e}e[n>>2]=o,i=0;break e}case 76:{if((A|0)<4){i=-2;break e}e[n>>2]=o,i=0;break e}case 78:{e[n>>2]=o;break e}case 87:{e[n>>2]=A,i=0;break e}case 89:{e[n>>2]=A,i=0;break e}case 90:{if((r|0)<3){i=-2;break e}e[n>>2]=A,i=0;break e}case 92:{if((r|0)<4){i=-2;break e}e[n>>2]=A,i=0;break e}case 94:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=32;break e}case 97:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=31;break e}case 100:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=30;break e}case 103:{e[n>>2]=o,i=0;break e}case 104:{i=0-i|0;break e}}}else if((l|0)==64){e[n>>2]=t,i=0;break}}else i=-1;else i=-4;while(0);return i|0}function z70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;e:do if(t>>>0>>0)if(o=t,l=i-o|0,A=(l&1|0)==0,l=l&-2,s=(l|0)==0,l=A|s?i:t+l|0,A|s^1){i=y[t+1>>0]|0,i<<24>>24?i=Re(i,y[t>>0]|0)|0:i=s0[r+72+(s0[t>>0]|0)>>0]|0;do switch(i|0){case 2:{i=H70(r,t+2|0,l,n)|0;break e}case 3:{i=Ck(r,t+2|0,l,n)|0;break e}case 9:{if(o=t+2|0,(l-o|0)<=1){i=-3;break e}i=y[t+3>>0]|0,i<<24>>24?i=Re(i,y[o>>0]|0)|0:i=s0[r+72+(s0[o>>0]|0)>>0]|0,e[n>>2]=(i|0)==10?t+4|0:o,i=7;break e}case 10:{e[n>>2]=t+2,i=7;break e}case 4:{if(o=t+2|0,(l-o|0)<=1){i=-5;break e}if(!(y[t+3>>0]|0)&&(y[o>>0]|0)==93){if(i=t+4|0,(l-i|0)<=1){i=-5;break e}if(!(y[t+5>>0]|0)&&(y[i>>0]|0)==62){e[n>>2]=i,i=0;break e}else i=l}else i=l;break}case 5:{if(i=l,(i-o|0)<2){i=-2;break e}o=t+2|0;break}case 6:{if(i=l,(i-o|0)<3){i=-2;break e}o=t+3|0;break}case 7:{if(i=l,(i-o|0)<4){i=-2;break e}o=t+4|0;break}case 8:case 1:case 0:{e[n>>2]=t,i=0;break e}default:o=t+2|0,i=l}while(0);s=r+72|0,r=o;r:for(;;){if(t=i-r|0,(t|0)<=1){o=52;break}switch(o=y[r+1>>0]|0,l=y[r>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[s+(l&255)>>0]|0,o|0){case 10:case 9:case 8:case 1:case 0:case 2:case 3:{o=50;break r}case 5:{r=r+2|0;continue r}case 6:{if((t|0)<3){o=38;break r}r=r+3|0;continue r}case 7:{if((t|0)<4){o=41;break r}r=r+4|0;continue r}case 4:{if((t|0)<=3){o=50;break r}if(o=r+2|0,y[r+3>>0]|0){r=o;continue r}if((y[o>>0]|0)!=93){r=o;continue r}if((t|0)<=5){o=50;break r}if(l=r+4|0,y[r+5>>0]|0){r=o;continue r}if((y[l>>0]|0)==62){o=49;break r}else{r=o;continue r}}default:{r=r+2|0;continue r}}}if((o|0)==38){e[n>>2]=r,i=6;break}else if((o|0)==41){e[n>>2]=r,i=6;break}else if((o|0)==49){e[n>>2]=l,i=0;break}else if((o|0)==50){e[n>>2]=r,i=6;break}else if((o|0)==52){e[n>>2]=r,i=6;break}}else i=-1;else i=-4;while(0);return i|0}function L70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;e:do if(t>>>0>>0)if(o=t,l=i-o|0,A=(l&1|0)==0,l=l&-2,s=(l|0)==0,l=A|s?i:t+l|0,A|s^1){switch(i=y[t+1>>0]|0,i<<24>>24?i=Re(i,y[t>>0]|0)|0:i=s0[r+72+(s0[t>>0]|0)>>0]|0,i|0){case 4:{if(o=t+2|0,(l-o|0)<=1){i=-1;break e}if(!(y[t+3>>0]|0)&&(y[o>>0]|0)==93){if(i=t+4|0,(l-i|0)<=1){i=-1;break e}if(!(y[t+5>>0]|0)&&(y[i>>0]|0)==62){e[n>>2]=t+6,i=40;break e}}break}case 9:{if(o=t+2|0,(l-o|0)<=1){i=-1;break e}i=y[t+3>>0]|0,i<<24>>24?i=Re(i,y[o>>0]|0)|0:i=s0[r+72+(s0[o>>0]|0)>>0]|0,e[n>>2]=(i|0)==10?t+4|0:o,i=7;break e}case 10:{e[n>>2]=t+2,i=7;break e}case 5:{if(i=l,(i-o|0)<2){i=-2;break e}o=t+2|0,l=i;break}case 6:{if(i=l,(i-o|0)<3){i=-2;break e}o=t+3|0,l=i;break}case 7:{if(i=l,(i-o|0)<4){i=-2;break e}o=t+4|0,l=i;break}case 8:case 1:case 0:{e[n>>2]=t,i=0;break e}default:o=t+2|0}s=r+72|0,r=o;r:for(;;){if(t=l-r|0,(t|0)<=1){o=40;break}switch(i=y[r+1>>0]|0,o=y[r>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[s+(o&255)>>0]|0,i|0){case 10:case 9:case 8:case 1:case 0:case 4:{o=38;break r}case 6:{if((t|0)<3){o=35;break r}else i=3;break}case 7:{if((t|0)<4){o=37;break r}else i=4;break}default:i=2}r=r+i|0}if((o|0)==35){e[n>>2]=r,i=6;break}else if((o|0)==37){e[n>>2]=r,i=6;break}else if((o|0)==38){e[n>>2]=r,i=6;break}else if((o|0)==40){e[n>>2]=r,i=6;break}}else i=-1;else i=-4;while(0);return i|0}function R70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;A=i-t|0,A=A&1|0?t+(A&-2)|0:i,s=r+72|0,l=0,i=t;e:for(;;){if(o=A-i|0,(o|0)<=1){i=-1;break}switch(r=y[i+1>>0]|0,t=y[i>>0]|0,r<<24>>24?r=Re(r,t)|0:r=s0[s+(t&255)>>0]|0,r|0){case 8:case 1:case 0:{a=12;break e}case 5:{o=l,i=i+2|0,l=o;continue e}case 6:{if((o|0)<3){i=-2;break e}o=l,i=i+3|0,l=o;continue e}case 7:{if((o|0)<4){i=-2;break e}o=l,i=i+4|0,l=o;continue e}case 2:{if(r=i+2|0,(A-r|0)<=1){i=-1;break e}if(y[i+3>>0]|0){o=l,i=r,l=o;continue e}if((y[r>>0]|0)!=33){o=l,i=r,l=o;continue e}if(r=i+4|0,(A-r|0)<=1){i=-1;break e}if(y[i+5>>0]|0){o=l,i=r,l=o;continue e}o=(y[r>>0]|0)==91,l=l+(o&1)|0,i=o?i+6|0:r;continue e}case 4:{if(r=i+2|0,(A-r|0)<=1){i=-1;break e}if(y[i+3>>0]|0){o=l,i=r,l=o;continue e}if((y[r>>0]|0)!=93){o=l,i=r,l=o;continue e}if(r=i+4|0,(A-r|0)<=1){i=-1;break e}if(y[i+5>>0]|0){o=l,i=r,l=o;continue e}if((y[r>>0]|0)!=62){o=l,i=r,l=o;continue e}if(i=i+6|0,!l){a=26;break e}l=l+-1|0;continue e}default:{o=l,i=i+2|0,l=o;continue e}}}return(a|0)==12?(e[n>>2]=i,i=0):(a|0)==26&&(e[n>>2]=i,i=42),i|0}function G70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;do if(t>>>0>>0)if(A=i,(A-t|0)>1){a=r+72|0,s=t;e:for(;;){if((A-s|0)<=1){l=30;break}switch(o=y[s+1>>0]|0,l=y[s>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,o|0){case 3:{l=11;break e}case 2:{l=14;break e}case 10:{l=15;break e}case 9:{l=18;break e}case 21:{l=25;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=2}s=s+o|0}if((l|0)==11)if((s|0)==(t|0)){o=Ck(r,t+2|0,i,n)|0;break}else{e[n>>2]=s,o=6;break}else if((l|0)==14){e[n>>2]=s,o=0;break}else if((l|0)==15)if((s|0)==(t|0)){e[n>>2]=t+2,o=7;break}else{e[n>>2]=s,o=6;break}else if((l|0)==18){if((s|0)!=(t|0)){e[n>>2]=s,o=6;break}if(s=t+2|0,(A-s|0)<=1){o=-3;break}o=y[t+3>>0]|0,l=y[s>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,e[n>>2]=(o|0)==10?t+4|0:s,o=7;break}else if((l|0)==25)if((s|0)==(t|0)){e[n>>2]=t+2,o=39;break}else{e[n>>2]=s,o=6;break}else if((l|0)==30){e[n>>2]=s,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function Z70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;do if(t>>>0>>0)if(A=i,(A-t|0)>1){a=r+72|0,s=t;e:for(;;){if((A-s|0)<=1){l=29;break}switch(o=y[s+1>>0]|0,l=y[s>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,o|0){case 3:{l=11;break e}case 30:{l=14;break e}case 10:{l=17;break e}case 9:{l=20;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=2}s=s+o|0}if((l|0)==11)if((s|0)==(t|0)){o=Ck(r,t+2|0,i,n)|0;break}else{e[n>>2]=s,o=6;break}else if((l|0)==14)if((s|0)==(t|0)){o=ZP(r,t+2|0,i,n)|0,o=(o|0)==22?0:o;break}else{e[n>>2]=s,o=6;break}else if((l|0)==17)if((s|0)==(t|0)){e[n>>2]=t+2,o=7;break}else{e[n>>2]=s,o=6;break}else if((l|0)==20){if((s|0)!=(t|0)){e[n>>2]=s,o=6;break}if(s=t+2|0,(A-s|0)<=1){o=-3;break}o=y[t+3>>0]|0,l=y[s>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,e[n>>2]=(o|0)==10?t+4|0:s,o=7;break}else if((l|0)==29){e[n>>2]=s,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function W70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=i,r=t;;){if(t=y[n>>0]|0,!(t<<24>>24)){l=7;break}if((o-r|0)<2){r=0;break}if(y[r+1>>0]|0){r=0;break}if((y[r>>0]|0)!=t<<24>>24){r=0;break}n=n+1|0,r=r+2|0}return(l|0)==7&&(r=(r|0)==(i|0)&1),r|0}function D70(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+72|0,n=t;e:for(;;){switch(r=y[n+1>>0]|0,i=y[n>>0]|0,r<<24>>24?r=Re(r,i)|0:r=s0[o+(i&255)>>0]|0,r|0){case 5:{r=2;break}case 6:{r=3;break}case 7:{r=4;break}case 27:case 26:case 25:case 24:case 23:case 22:case 29:{r=2;break}default:break e}n=n+r|0}return n-t|0}function M70(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+72|0;e:for(;;){switch(r=y[t+1>>0]|0,i=y[t>>0]|0,r<<24>>24?r=Re(r,i)|0:r=s0[n+(i&255)>>0]|0,r|0){case 21:case 9:case 10:break;default:break e}t=t+2|0}return t|0}function j70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=r+72|0,c=0,w=0,r=1;e:for(;;){a=t+2|0,l=t+3|0,o=y[l>>0]|0,s=o<<24>>24==0,A=y[a>>0]|0,s?o=s0[p+(A&255)>>0]|0:o=Re(o,A)|0;do switch(o|0){case 5:{if(r|0){l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}if((w|0)>=(i|0)){s=w,A=c,r=1,t=a,w=s,c=A;continue e}e[n+(w<<4)>>2]=a,y[n+(w<<4)+12>>0]=1,s=w,A=c,r=1,t=a,w=s,c=A;continue e}case 6:{if(r|0){s=r,A=w,a=c,t=l,r=s,w=A,c=a;continue e}if((w|0)>=(i|0)){A=w,a=c,r=1,t=l,w=A,c=a;continue e}e[n+(w<<4)>>2]=a,y[n+(w<<4)+12>>0]=1,A=w,a=c,r=1,t=l,w=A,c=a;continue e}case 7:{r||((w|0)<(i|0)&&(e[n+(w<<4)>>2]=a,y[n+(w<<4)+12>>0]=1),r=1),A=w,a=c,t=t+4|0,w=A,c=a;continue e}case 24:case 22:case 29:{if(r|0){l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}if((w|0)>=(i|0)){s=w,A=c,r=1,t=a,w=s,c=A;continue e}e[n+(w<<4)>>2]=a,y[n+(w<<4)+12>>0]=1,s=w,A=c,r=1,t=a,w=s,c=A;continue e}case 12:{if((r|0)!=2){if((w|0)>=(i|0)){A=w,c=12,r=2,t=a,w=A;continue e}e[n+(w<<4)+4>>2]=t+4,A=w,c=12,r=2,t=a,w=A;continue e}if((c|0)!=12){s=w,A=c,r=2,t=a,w=s,c=A;continue e}(w|0)<(i|0)&&(e[n+(w<<4)+8>>2]=a),c=12,w=w+1|0,r=0,t=a;continue e}case 13:{if((r|0)!=2){if((w|0)>=(i|0)){A=w,c=13,r=2,t=a,w=A;continue e}e[n+(w<<4)+4>>2]=t+4,A=w,c=13,r=2,t=a,w=A;continue e}if((c|0)!=13){s=w,A=c,r=2,t=a,w=s,c=A;continue e}(w|0)<(i|0)&&(e[n+(w<<4)+8>>2]=a),c=13,w=w+1|0,r=0,t=a;continue e}case 3:{if((w|0)>=(i|0)){l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}y[n+(w<<4)+12>>0]=0,l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}case 21:{switch(r|0){case 1:{s=w,A=c,r=0,t=a,w=s,c=A;continue e}case 2:break;default:{l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}}if((w|0)>=(i|0)){s=w,A=c,r=2,t=a,w=s,c=A;continue e}if(l=n+(w<<4)+12|0,!(y[l>>0]|0)){s=w,A=c,r=2,t=a,w=s,c=A;continue e}do if(s&(a|0)!=(e[n+(w<<4)+4>>2]|0)&A<<24>>24==32){if(o=y[t+5>>0]|0,r=y[t+4>>0]|0,o<<24>>24)r=Re(o,r)|0;else{if(r<<24>>24==32)break;r=s0[p+(r&255)>>0]|0}if((r|0)!=(c|0)){s=w,A=c,r=2,t=a,w=s,c=A;continue e}}while(0);y[l>>0]=0,s=w,A=c,r=2,t=a,w=s,c=A;continue e}case 10:case 9:{switch(r|0){case 1:{s=w,A=c,r=0,t=a,w=s,c=A;continue e}case 2:break;default:{l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}}if((w|0)>=(i|0)){s=w,A=c,r=2,t=a,w=s,c=A;continue e}y[n+(w<<4)+12>>0]=0,s=w,A=c,r=2,t=a,w=s,c=A;continue e}case 17:case 11:if((r|0)==2){s=w,A=c,r=2,t=a,w=s,c=A;continue e}else break e;default:{l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}}while(0)}return w|0}function N70(r,t){r=r|0,t=t|0;var i=0,n=0;r=t+4|0;e:do if(!(y[t+5>>0]|0)&&(y[r>>0]|0)==120)for(t=t+6|0,r=0;;){r:for(;;){if(!(y[t+1>>0]|0)){if(i=y[t>>0]|0,i<<24>>24==59){n=17;break e}switch(i=i<<24>>24,i|0){case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{n=8;break r}case 70:case 69:case 68:case 67:case 66:case 65:{n=9;break r}case 102:case 101:case 100:case 99:case 98:case 97:{n=10;break r}default:}}t=t+2|0}if((n|0)==8?(n=0,r=i+-48|r<<4):(n|0)==9?(n=0,r=(r<<4)+-55+i|0):(n|0)==10&&(n=0,r=(r<<4)+-87+i|0),(r|0)<1114112)t=t+2|0;else{r=-1;break}}else i=r,r=0,n=13;while(0);e:do if((n|0)==13)for(;;){if(n=0,y[i+1>>0]|0)t=-1;else{if(t=y[i>>0]|0,t<<24>>24==59){n=17;break e}t=t<<24>>24}if(r=(r*10|0)+-48+t|0,(r|0)>=1114112){r=-1;break}else i=i+2|0,n=13}while(0);return(n|0)==17&&(r=th(r)|0),r|0}function Q70(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do switch((i-t|0)/2|0|0){case 2:{!(y[t+3>>0]|0)&&(y[t+2>>0]|0)==116?(y[t+1>>0]|0?r=-1:r=y[t>>0]|0,r=(r|0)==108?60:(r|0)==103?62:0):n=27;break}case 3:{!(y[t+1>>0]|0)&&(y[t>>0]|0)==97&&!(y[t+3>>0]|0)&&(y[t+2>>0]|0)==109&&!(y[t+5>>0]|0)&&(y[t+4>>0]|0)==112?r=38:n=27;break}case 4:{if(y[t+1>>0]|0)n=27;else switch(y[t>>0]|0){case 113:{if(y[t+3>>0]|0){n=27;break e}if((y[t+2>>0]|0)!=117){n=27;break e}if(y[t+5>>0]|0){n=27;break e}if((y[t+4>>0]|0)!=111){n=27;break e}if(y[t+7>>0]|0){n=27;break e}if((y[t+6>>0]|0)==116){r=34;break e}else{n=27;break e}}case 97:{if(y[t+3>>0]|0){n=27;break e}if((y[t+2>>0]|0)!=112){n=27;break e}if(y[t+5>>0]|0){n=27;break e}if((y[t+4>>0]|0)!=111){n=27;break e}if(y[t+7>>0]|0){n=27;break e}if((y[t+6>>0]|0)==115){r=39;break e}else{n=27;break e}}default:{n=27;break e}}break}default:n=27}while(0);return(n|0)==27&&(r=0),r|0}function T70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;for(s=r+72|0,A=n+4|0;!((i-t|0)<=1);){switch(r=y[t+1>>0]|0,o=y[t>>0]|0,r<<24>>24?r=Re(r,o)|0:r=s0[s+(o&255)>>0]|0,r|0){case 5:{t=t+2|0;break}case 6:{t=t+3|0;break}case 7:{t=t+4|0;break}case 10:{e[A>>2]=-1,e[n>>2]=(e[n>>2]|0)+1,t=t+2|0;break}case 9:{e[n>>2]=(e[n>>2]|0)+1,l=t+2|0,(i-l|0)>1?(r=y[t+3>>0]|0,o=y[l>>0]|0,r<<24>>24?r=Re(r,o)|0:r=s0[s+(o&255)>>0]|0,t=(r|0)==10?t+4|0:l):t=l,e[A>>2]=-1;break}default:t=t+2|0}e[A>>2]=(e[A>>2]|0)+1}}function F70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i+-2|0,l=r+72|0,i=t;e:for(;;){if(o=i+2|0,(s-o|0)<=1){i=1;break}switch(i=y[i+3>>0]|0,r=i<<24>>24==0,t=y[o>>0]|0,r?i=s0[l+(t&255)>>0]|0:i=Re(i,t)|0,i|0){case 23:case 19:case 30:case 33:case 16:case 18:case 10:case 9:case 15:case 14:case 17:case 35:case 34:case 32:case 31:case 13:case 27:case 24:case 25:{i=o;continue e}case 21:if(r&t<<24>>24==9){A=12;break e}else{i=o;continue e}case 22:case 26:{if(!r){A=12;break e}if(t<<24>>24>=0){i=o;continue e}break}default:if(!r){A=12;break e}}switch(t<<24>>24|0){case 64:case 36:{i=o;break}default:{A=12;break e}}}return(A|0)==12&&(e[n>>2]=o,i=0),i|0}function P70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0;s=e[t>>2]|0,A=s+(i-s&-2)|0,a=A,c=o;e:for(;;){if(s>>>0>=A>>>0){r=0;break}switch(l=y[s>>0]|0,r=y[s+1>>0]|0,i=r&255,r<<24>>24){case 0:{if(l<<24>>24>-1){if(r=e[n>>2]|0,(r|0)==(o|0)){r=2;break e}e[n>>2]=r+1,y[r>>0]=l,r=s}else w=7;break}case 7:case 6:case 5:case 4:case 3:case 2:case 1:{w=7;break}case-37:case-38:case-39:case-40:{if(r=e[n>>2]|0,(c-r|0)<4){r=2;break e}if((a-s|0)<4){r=1;break e}p=l&255,l=(i<<2&12|p>>>6)+1|0,e[n>>2]=r+1,y[r>>0]=l>>>2|240,r=e[n>>2]|0,e[n>>2]=r+1,y[r>>0]=p>>>2&15|l<<4&48|128,r=s+2|0,l=s0[r>>0]|0,i=(p<<4&48|l>>>6|y[s+3>>0]<<2&12|128)&255,s=e[n>>2]|0,e[n>>2]=s+1,y[s>>0]=i,s=e[n>>2]|0,e[n>>2]=s+1,y[s>>0]=l&63|128;break}default:{if(r=e[n>>2]|0,(c-r|0)<3){r=2;break e}e[n>>2]=r+1,y[r>>0]=i>>>4|224,p=l&255,r=e[n>>2]|0,e[n>>2]=r+1,y[r>>0]=p>>>6|i<<2&60|128,r=e[n>>2]|0,e[n>>2]=r+1,y[r>>0]=p&63|128,r=s}}if((w|0)==7){if(w=0,r=e[n>>2]|0,(c-r|0)<2){r=2;break}p=l&255,e[n>>2]=r+1,y[r>>0]=p>>>6|i<<2|192,r=e[n>>2]|0,e[n>>2]=r+1,y[r>>0]=p&63|128,r=s}s=r+2|0}return e[t>>2]=s,r|0}function Y70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=e[t>>2]|0,A=i-l&-2,r=l+A|0,(A|0)>(o-(e[n>>2]|0)|0)?(s=r+-2|0,i=(y[s+1>>0]&-8)<<24>>24==-40,A=i&1,r=i?s:r):A=0,i=l;l=i>>>0>>0,s=e[n>>2]|0,!!(l&s>>>0>>0);)l=((s0[i+1>>0]|0)<<8|(s0[i>>0]|0))&65535,e[n>>2]=s+2,$[s>>1]=l,s=(e[t>>2]|0)+2|0,e[t>>2]=s,i=s;return((s|0)!=(o|0)|l^1?A:2)|0}function Re(r,t){r=r|0,t=t|0;var i=0;switch(r<<24>>24){case-37:case-38:case-39:case-40:{r=7;break}case-33:case-34:case-35:case-36:{r=8;break}case-1:{(t&255)>253?r=0:i=4;break}default:i=4}return(i|0)==4&&(r=29),r|0}function Ck(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;a=i,s=a-t|0;e:do if((s|0)>1){switch(A=y[t+1>>0]|0,A<<24>>24?(l=y[t>>0]|0,o=Re(A,l)|0):(l=y[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(s=l&255,!(1<<(s&31)&e[56940+((s>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,r=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,r=0;break e}case 6:{if((s|0)<3){r=-2;break e}e[n>>2]=t,r=0;break e}case 7:{if((s|0)<4){r=-2;break e}e[n>>2]=t,r=0;break e}case 19:{r=O70(r,t+2|0,i,n)|0;break e}default:{e[n>>2]=t,r=0;break e}}A=r+72|0,s=t;r:for(;;){if(l=s+2|0,t=a-l|0,(t|0)<=1){r=-1;break e}switch(r=y[s+3>>0]|0,o=y[l>>0]|0,r<<24>>24?i=Re(r,o)|0:i=s0[A+(o&255)>>0]|0,i|0){case 27:case 26:case 25:case 24:case 22:{s=l;continue r}case 5:{o=23;break r}case 6:{o=24;break r}case 7:{o=26;break r}case 18:{o=28;break r}case 29:break;default:{o=29;break r}}if(t=o&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(r&255)>>0]|0)<<3)<<2)>>2])s=l;else{o=22;break}}if((o|0)==22){e[n>>2]=l,r=0;break}else if((o|0)==23){e[n>>2]=l,r=0;break}else if((o|0)==24){if((t|0)<3){r=-2;break}e[n>>2]=l,r=0;break}else if((o|0)==26){if((t|0)<4){r=-2;break}e[n>>2]=l,r=0;break}else if((o|0)==28){e[n>>2]=s+4,r=9;break}else if((o|0)==29){e[n>>2]=l,r=0;break}}else r=-1;while(0);return r|0}function ZP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;s=i-t|0;e:do if((s|0)>1){switch(A=y[t+1>>0]|0,A<<24>>24?(l=y[t>>0]|0,o=Re(A,l)|0):(l=y[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(a=l&255,!(1<<(a&31)&e[56940+((a>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}case 30:case 9:case 10:case 21:{e[n>>2]=t,i=22;break e}default:{e[n>>2]=t,i=0;break e}}a=r+72|0,r=t;r:for(;;){if(A=r+2|0,t=i-A|0,(t|0)<=1){i=-1;break e}switch(o=y[r+3>>0]|0,l=y[A>>0]|0,o<<24>>24?s=Re(o,l)|0:s=s0[a+(l&255)>>0]|0,s|0){case 27:case 26:case 25:case 24:case 22:{r=A;continue r}case 5:{o=23;break r}case 6:{o=24;break r}case 7:{o=26;break r}case 18:{o=28;break r}case 29:break;default:{o=29;break r}}if(t=l&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])r=A;else{o=22;break}}if((o|0)==22){e[n>>2]=A,i=0;break}else if((o|0)==23){e[n>>2]=A,i=0;break}else if((o|0)==24){if((t|0)<3){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==26){if((t|0)<4){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==28){e[n>>2]=r+4,i=28;break}else if((o|0)==29){e[n>>2]=A,i=0;break}}else i=-1;while(0);return i|0}function O70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=i;e:do if((A-t|0)>1){l=y[t+1>>0]|0,o=y[t>>0]|0;do if(l<<24>>24)o=Re(l,o)|0;else if(o<<24>>24==120){o=V70(r,t+2|0,i,n)|0;break e}else{o=s0[r+72+(o&255)>>0]|0;break}while(0);if((o|0)!=25){e[n>>2]=t,o=0;break}s=r+72|0,r=t;r:for(;;){if(l=r+2|0,(A-l|0)<=1){o=-1;break e}switch(o=y[r+3>>0]|0,i=y[l>>0]|0,o<<24>>24?o=Re(o,i)|0:o=s0[s+(i&255)>>0]|0,o|0){case 25:{r=l;break}case 18:{i=15;break r}default:{i=16;break r}}}if((i|0)==15){e[n>>2]=r+4,o=10;break}else if((i|0)==16){e[n>>2]=l,o=0;break}}else o=-1;while(0);return o|0}function V70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e:do if((i-t|0)>1){if(o=y[t+1>>0]|0,o<<24>>24?o=Re(o,y[t>>0]|0)|0:o=s0[r+72+(s0[t>>0]|0)>>0]|0,(o&-2|0)!=24){e[n>>2]=t,i=0;break}s=r+72|0;r:for(;;){if(l=t+2|0,(i-l|0)<=1){i=-1;break e}switch(o=y[t+3>>0]|0,r=y[l>>0]|0,o<<24>>24?o=Re(o,r)|0:o=s0[s+(r&255)>>0]|0,o|0){case 24:case 25:{t=l;break}case 18:{o=13;break r}default:{o=14;break r}}}if((o|0)==13){e[n>>2]=t+4,i=10;break}else if((o|0)==14){e[n>>2]=l,i=0;break}}else i=-1;while(0);return i|0}function H70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=i,s=p-t|0;e:do if((s|0)>1){switch(A=y[t+1>>0]|0,A<<24>>24?(l=y[t>>0]|0,o=Re(A,l)|0):(l=y[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(c=l&255,!(1<<(c&31)&e[56940+((c>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])){e[n>>2]=t,o=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,o=0;break e}case 6:{if((s|0)<3){o=-2;break e}e[n>>2]=t,o=0;break e}case 7:{if((s|0)<4){o=-2;break e}e[n>>2]=t,o=0;break e}case 16:{if(l=t+2|0,(p-l|0)<=1){o=-1;break e}switch(o=y[t+3>>0]|0,o<<24>>24?o=Re(o,y[l>>0]|0)|0:o=s0[r+72+(s0[l>>0]|0)>>0]|0,o|0){case 27:{o=WP(r,t+4|0,i,n)|0;break e}case 20:{o=J70(t+4|0,i,n)|0;break e}default:{e[n>>2]=l,o=0;break e}}}case 15:{o=DP(r,t+2|0,i,n)|0;break e}case 17:{o=U70(r,t+2|0,i,n)|0;break e}default:{e[n>>2]=t,o=0;break e}}c=r+72|0,a=0,o=t+2|0;r:for(;;){t:for(;;){if(l=p-o|0,(l|0)<=1){o=-1;break e}switch(s=y[o+1>>0]|0,A=y[o>>0]|0,s<<24>>24?t=Re(s,A)|0:t=s0[c+(A&255)>>0]|0,t|0){case 5:{w=34;break r}case 6:{w=35;break r}case 7:{w=37;break r}case 10:case 9:case 21:{w=55;break r}case 11:{w=69;break r}case 17:break r;case 23:break t;case 29:{if(t=A&255,!(1<<(t&31)&e[56940+((t>>>5|s0[144044+(s&255)>>0]<<3)<<2)>>2])){w=32;break r}break}case 27:case 26:case 25:case 24:case 22:break;default:{w=75;break r}}o=o+2|0}if(a|0){w=40;break}if(A=o+2|0,t=p-A|0,(t|0)<=1){o=-1;break e}switch(a=y[o+3>>0]|0,l=y[A>>0]|0,a<<24>>24?s=Re(a,l)|0:s=s0[c+(l&255)>>0]|0,s|0){case 5:{w=49;break r}case 6:{w=50;break r}case 7:{w=52;break r}case 29:{if(t=l&255,!(1<<(t&31)&e[56940+((t>>>5|s0[143788+(a&255)>>0]<<3)<<2)>>2])){w=47;break r}break}case 24:case 22:break;default:{w=54;break r}}a=1,o=o+4|0}r:switch(w|0){case 32:{e[n>>2]=o,o=0;break e}case 34:{e[n>>2]=o,o=0;break e}case 35:{if((l|0)<3){o=-2;break e}e[n>>2]=o,o=0;break e}case 37:{if((l|0)<4){o=-2;break e}e[n>>2]=o,o=0;break e}case 40:{e[n>>2]=o,o=0;break e}case 47:{e[n>>2]=A,o=0;break e}case 49:{e[n>>2]=A,o=0;break e}case 50:{if((t|0)<3){o=-2;break e}e[n>>2]=A,o=0;break e}case 52:{if((t|0)<4){o=-2;break e}e[n>>2]=A,o=0;break e}case 54:{e[n>>2]=A,o=0;break e}case 55:{t:for(;;){if(w=0,l=o+2|0,s=p-l|0,(s|0)<=1){o=-1;break e}switch(A=y[o+3>>0]|0,t=y[l>>0]|0,A<<24>>24?a=Re(A,t)|0:a=s0[c+(t&255)>>0]|0,a|0){case 11:{o=l,w=69;break r}case 17:{o=l;break r}case 10:case 9:case 21:{o=l,w=55;break}case 29:{w=60;break t}case 24:case 22:break t;case 5:{w=63;break t}case 6:{w=64;break t}case 7:{w=66;break t}default:{w=68;break t}}}if((w|0)==60){if(p=t&255,!(1<<(p&31)&e[56940+((p>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])){e[n>>2]=l,o=0;break e}}else if((w|0)==63){e[n>>2]=l,o=0;break e}else if((w|0)==64){if((s|0)<3){o=-2;break e}e[n>>2]=l,o=0;break e}else if((w|0)==66){if((s|0)<4){o=-2;break e}e[n>>2]=l,o=0;break e}else if((w|0)==68){e[n>>2]=l,o=0;break e}o=X70(r,o+4|0,i,n)|0;break e}case 75:{e[n>>2]=o,o=0;break e}}if((w|0)==69){e[n>>2]=o+2,o=2;break}if(l=o+2|0,(p-l|0)>1){if(!(y[o+3>>0]|0)&&(y[l>>0]|0)==62){e[n>>2]=o+4,o=4;break}e[n>>2]=l,o=0}else o=-1}else o=-1;while(0);return o|0}function WP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i;e:do if((s-t|0)>1){if(!(y[t+1>>0]|0)&&(y[t>>0]|0)==45){l=r+72|0,o=t+2|0;r:for(;;){if(t=s-o|0,(t|0)<=1){i=-1;break e}switch(i=y[o+1>>0]|0,r=y[o>>0]|0,i<<24>>24?i=Re(i,r)|0:i=s0[l+(r&255)>>0]|0,i|0){case 8:case 1:case 0:{A=16;break r}case 5:{o=o+2|0;continue r}case 6:{if((t|0)<3){i=-2;break e}o=o+3|0;continue r}case 7:{if((t|0)<4){i=-2;break e}o=o+4|0;continue r}case 27:{if(i=o+2|0,(s-i|0)<=1){i=-1;break e}if(y[o+3>>0]|0){o=i;continue r}if((y[i>>0]|0)==45)break r;o=i;continue r}default:{o=o+2|0;continue r}}}if((A|0)==16){e[n>>2]=o,i=0;break}if(i=o+4|0,(s-i|0)<=1){i=-1;break}if(!(y[o+5>>0]|0)&&(y[i>>0]|0)==62){e[n>>2]=o+6,i=13;break}e[n>>2]=i,i=0;break}e[n>>2]=t,i=0}else i=-1;while(0);return i|0}function J70(r,t,i){if(r=r|0,t=t|0,i=i|0,(t-r|0)>11){for(t=0;;){if((t|0)>=6){t=8;break}if(y[r+1>>0]|0){t=0;break}if((y[r>>0]|0)!=(y[144300+t>>0]|0)){t=0;break}t=t+1|0,r=r+2|0}e[i>>2]=r}else t=-1;return t|0}function DP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+16|0,p=v,w=i,s=w-t|0;e:do if((s|0)>1){switch(i=y[t+1>>0]|0,i<<24>>24?(l=y[t>>0]|0,o=Re(i,l)|0):(l=y[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(a=l&255,!(1<<(a&31)&e[56940+((a>>>5|s0[143788+(i&255)>>0]<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}a=r+72|0,A=t;r:for(;;){if(i=A+2|0,o=w-i|0,(o|0)<=1){i=-1;break e}switch(l=y[A+3>>0]|0,s=y[i>>0]|0,l<<24>>24?r=Re(l,s)|0:r=s0[a+(s&255)>>0]|0,r|0){case 27:case 26:case 25:case 24:case 22:{A=i;continue r}case 5:{c=22;break r}case 6:{c=23;break r}case 7:{c=25;break r}case 10:case 9:case 21:{c=27;break r}case 15:{c=46;break r}case 29:break;default:break r}if(A=s&255,1<<(A&31)&e[56940+((A>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])A=i;else{c=21;break}}if((c|0)==21){e[n>>2]=i,i=0;break}else if((c|0)==22){e[n>>2]=i,i=0;break}else if((c|0)==23){if((o|0)<3){i=-2;break}e[n>>2]=i,i=0;break}else if((c|0)==25){if((o|0)<4){i=-2;break}e[n>>2]=i,i=0;break}else if((c|0)==27){if(!(MP(t,i,p)|0)){e[n>>2]=i,i=0;break}s=A+4|0;r:for(;;){if(l=w-s|0,(l|0)<=1){i=-1;break e}switch(i=y[s+1>>0]|0,o=y[s>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[a+(o&255)>>0]|0,i|0){case 8:case 1:case 0:{c=40;break r}case 5:{s=s+2|0;continue r}case 6:{if((l|0)<3){i=-2;break e}s=s+3|0;continue r}case 7:{if((l|0)<4){i=-2;break e}s=s+4|0;continue r}case 15:{if(i=s+2|0,(w-i|0)<=1){i=-1;break e}if(y[s+3>>0]|0){s=i;continue r}if((y[i>>0]|0)==62){c=44;break r}else{s=i;continue r}}default:{s=s+2|0;continue r}}}if((c|0)==40){e[n>>2]=s,i=0;break}else if((c|0)==44){e[n>>2]=s+4,i=e[p>>2]|0;break}}else if((c|0)==46){if(!(MP(t,i,p)|0)){e[n>>2]=i,i=0;break}if(i=A+4|0,(w-i|0)<=1){i=-1;break}if(!(y[A+5>>0]|0)&&(y[i>>0]|0)==62){e[n>>2]=A+6,i=e[p>>2]|0;break}}e[n>>2]=i,i=0}else i=-1;while(0);return g=v,i|0}function U70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;s=i-t|0;e:do if((s|0)>1){switch(A=y[t+1>>0]|0,A<<24>>24?(l=y[t>>0]|0,o=Re(A,l)|0):(l=y[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(a=l&255,!(1<<(a&31)&e[56940+((a>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}a=r+72|0,r=t;r:for(;;){if(s=r+2|0,t=i-s|0,(t|0)<=1){i=-1;break e}switch(o=y[r+3>>0]|0,l=y[s>>0]|0,o<<24>>24?A=Re(o,l)|0:A=s0[a+(l&255)>>0]|0,A|0){case 23:case 27:case 26:case 25:case 24:case 22:{r=s;continue r}case 5:{o=22;break r}case 6:{o=23;break r}case 7:{o=25;break r}case 10:case 9:case 21:{o=27;break r}case 11:{o=34;break r}case 29:break;default:{o=35;break r}}if(t=l&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])r=s;else{o=21;break}}if((o|0)==21){e[n>>2]=s,i=0;break}else if((o|0)==22){e[n>>2]=s,i=0;break}else if((o|0)==23){if((t|0)<3){i=-2;break}e[n>>2]=s,i=0;break}else if((o|0)==25){if((t|0)<4){i=-2;break}e[n>>2]=s,i=0;break}else if((o|0)==27){r:for(;;){if(A=s+2|0,(i-A|0)<=1){i=-1;break e}switch(o=y[s+3>>0]|0,l=y[A>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,o|0){case 10:case 9:case 21:{s=A,o=27;break}case 11:{o=32;break r}default:{o=33;break r}}}if((o|0)==32){e[n>>2]=s+4,i=5;break}else if((o|0)==33){e[n>>2]=A,i=0;break}}else if((o|0)==34){e[n>>2]=r+4,i=5;break}else if((o|0)==35){e[n>>2]=s,i=0;break}}else i=-1;while(0);return i|0}function X70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+16|0,v=E,e[v>>2]=t,m=i,w=r+72|0,o=0;e:for(;;){r:for(;;){if(a=m-t|0,(a|0)<=1){t=-1;break e}switch(l=y[t+1>>0]|0,s=y[t>>0]|0,l<<24>>24?A=Re(l,s)|0:A=s0[w+(s&255)>>0]|0,A|0){case 5:{p=11;break e}case 6:{p=12;break e}case 7:{p=14;break e}case 23:{p=16;break r}case 10:case 9:case 21:{p=31;break r}case 14:{p=37;break r}case 29:{if(c=s&255,!(1<<(c&31)&e[56940+((c>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])){p=9;break e}break}case 27:case 26:case 25:case 24:case 22:break;default:{p=89;break e}}c=t+2|0,e[v>>2]=c,t=c}r:do if((p|0)==16){if(p=0,o|0){p=17;break e}if(o=t+2|0,e[v>>2]=o,l=o,s=m-l|0,(s|0)<=1){t=-1;break e}switch(A=y[t+3>>0]|0,a=y[o>>0]|0,A<<24>>24?c=Re(A,a)|0:c=s0[w+(a&255)>>0]|0,c|0){case 5:{p=25;break e}case 6:{p=26;break e}case 7:{p=28;break e}case 24:case 22:{o=1;break r}case 29:break;default:{p=30;break e}}if(c=a&255,1<<(c&31)&e[56940+((c>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])o=1;else{p=24;break e}}else if((p|0)==31)for(;;){if(p=0,l=t+2|0,e[v>>2]=l,s=l,(m-s|0)<=1){t=-1;break e}switch(t=y[t+3>>0]|0,o=y[l>>0]|0,t<<24>>24?t=Re(t,o)|0:t=s0[w+(o&255)>>0]|0,t|0){case 14:{t=l,p=37;break r}case 9:case 10:case 21:{t=l,p=31;break}default:{p=36;break e}}}while(0);r:do if((p|0)==37){for(;;){if(p=0,s=t+2|0,e[v>>2]=s,A=s,(m-A|0)<=1){t=-1;break e}if(o=y[t+3>>0]|0,l=y[s>>0]|0,o<<24>>24?a=Re(o,l)|0:a=s0[w+(l&255)>>0]|0,(a|1|0)==13)break;switch(a|0){case 9:case 10:case 21:{t=s,p=37;break}default:{p=43;break e}}}t=t+4|0,e[v>>2]=t;t:for(;;){if(s=m-t|0,(s|0)<=1){t=-1;break e}if(o=y[t+1>>0]|0,l=y[t>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[w+(l&255)>>0]|0,(o|0)==(a|0))break;switch(o|0){case 8:case 1:case 0:{p=56;break e}case 2:{p=61;break e}case 5:{c=t+2|0,e[v>>2]=c,t=c;continue t}case 6:{if((s|0)<3){t=-2;break e}c=t+3|0,e[v>>2]=c,t=c;continue t}case 7:{if((s|0)<4){t=-2;break e}c=t+4|0,e[v>>2]=c,t=c;continue t}case 3:{if(t=Ck(r,t+2|0,i,v)|0,(t|0)<1){p=59;break e}t=e[v>>2]|0;continue t}default:{c=t+2|0,e[v>>2]=c,t=c;continue t}}}if(l=t+2|0,e[v>>2]=l,A=l,(m-A|0)<=1){t=-1;break e}switch(o=y[t+3>>0]|0,s=y[l>>0]|0,o<<24>>24?o=Re(o,s)|0:o=s0[w+(s&255)>>0]|0,o|0){case 11:{p=81;break e}case 17:{p=82;break e}case 10:case 9:case 21:{t=l;break}default:{p=68;break e}}t:for(;;){if(l=t+2|0,e[v>>2]=l,o=l,s=m-o|0,(s|0)<=1){t=-1;break e}switch(A=y[t+3>>0]|0,a=y[l>>0]|0,A<<24>>24?c=Re(A,a)|0:c=s0[w+(a&255)>>0]|0,c|0){case 5:{p=76;break e}case 6:{p=77;break e}case 7:{p=79;break e}case 11:{p=81;break e}case 17:{p=82;break e}case 24:case 22:{o=0;break r}case 10:case 9:case 21:{t=l;break}case 29:break t;default:{p=87;break e}}}if(c=a&255,1<<(c&31)&e[56940+((c>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])o=0;else{p=75;break e}}while(0);t=t+4|0,e[v>>2]=t}switch(p|0){case 9:{e[n>>2]=t,t=0;break}case 11:{e[n>>2]=t,t=0;break}case 12:{(a|0)<3?t=-2:(e[n>>2]=t,t=0);break}case 14:{(a|0)<4?t=-2:(e[n>>2]=t,t=0);break}case 17:{e[n>>2]=t,t=0;break}case 24:{e[n>>2]=o,t=0;break}case 25:{e[n>>2]=o,t=0;break}case 26:{(s|0)<3?t=-2:(e[n>>2]=o,t=0);break}case 28:{(s|0)<4?t=-2:(e[n>>2]=o,t=0);break}case 30:{e[n>>2]=l,t=0;break}case 36:{e[n>>2]=s,t=0;break}case 43:{e[n>>2]=A,t=0;break}case 56:{e[n>>2]=t,t=0;break}case 59:{t||(e[n>>2]=e[v>>2],t=0);break}case 61:{e[n>>2]=t,t=0;break}case 68:{e[n>>2]=A,t=0;break}case 75:{e[n>>2]=l,t=0;break}case 76:{e[n>>2]=l,t=0;break}case 77:{(s|0)<3?t=-2:(e[n>>2]=l,t=0);break}case 79:{(s|0)<4?t=-2:(e[n>>2]=l,t=0);break}case 81:{e[n>>2]=t+4,t=1;break}case 82:{if(o=l+2|0,e[v>>2]=o,t=o,(m-t|0)>1){if(!(y[l+3>>0]|0)&&(y[o>>0]|0)==62){e[n>>2]=l+4,t=3;break}e[n>>2]=t,t=0}else t=-1;break}case 87:{e[n>>2]=o,t=0;break}case 89:{e[n>>2]=t,t=0;break}}return g=E,t|0}function MP(r,t,i){r=r|0,t=t|0,i=i|0,e[i>>2]=11;e:do if((t-r|0)==6&&!(y[r+1>>0]|0)){switch(y[r>>0]|0){case 120:{t=0;break}case 88:{t=1;break}default:{t=1;break e}}if(y[r+3>>0]|0)t=1;else{switch(y[r+2>>0]|0){case 109:break;case 77:{t=1;break}default:{t=1;break e}}if(y[r+5>>0]|0)t=1;else{switch(y[r+4>>0]|0){case 108:break;case 76:{t=0;break e}default:{t=1;break e}}t?t=0:(e[i>>2]=12,t=1)}}}else t=1;while(0);return t|0}function jP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;A=t+72|0;e:for(;;){r:for(;;){if(s=n-i|0,(s|0)<=1){i=-1;break e}switch(t=y[i+1>>0]|0,l=y[i>>0]|0,t<<24>>24?t=Re(t,l)|0:t=s0[A+(l&255)>>0]|0,t|0){case 8:case 1:case 0:{a=10;break e}case 6:{a=9;break r}case 7:{a=19;break r}case 5:{i=i+2|0;continue r}case 13:case 12:if(l=i+2|0,(t|0)==(r|0)){a=12;break e}else{i=l;continue r}default:{i=i+2|0;continue r}}}if((a|0)==9)if(a=0,(s|0)<3){i=-2;break}else{i=i+3|0;continue}else if((a|0)==19)if(a=0,(s|0)<4){i=-2;break}else{i=i+4|0;continue}}e:do if((a|0)==10)e[o>>2]=i,i=0;else if((a|0)==12)if((n-l|0)>1){switch(e[o>>2]=l,n=y[i+3>>0]|0,i=y[l>>0]|0,n<<24>>24?i=Re(n,i)|0:i=s0[A+(i&255)>>0]|0,i|0){case 20:case 30:case 11:case 10:case 9:case 21:{i=27;break e}default:}i=0}else i=-27;while(0);return i|0}function q70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;A=i;e:do if((A-t|0)>1)switch(o=y[t+1>>0]|0,o<<24>>24?o=Re(o,y[t>>0]|0)|0:o=s0[r+72+(s0[t>>0]|0)>>0]|0,o|0){case 27:{o=WP(r,t+2|0,i,n)|0;break e}case 20:{e[n>>2]=t+2,o=33;break e}case 24:case 22:{s=r+72|0;r:for(;;){if(l=t+2|0,i=A-l|0,(i|0)<=1){o=-1;break e}switch(o=y[t+3>>0]|0,r=y[l>>0]|0,o<<24>>24?o=Re(o,r)|0:o=s0[s+(r&255)>>0]|0,o|0){case 24:case 22:{t=l;break}case 30:{a=15;break r}case 10:case 9:case 21:break r;default:{a=22;break r}}}if((a|0)==22){e[n>>2]=l,o=0;break e}r:do if((a|0)==15){if((i|0)<=3){o=-1;break e}switch(r=y[t+5>>0]|0,o=y[t+4>>0]|0,r<<24>>24?o=Re(r,o)|0:o=s0[s+(o&255)>>0]|0,o|0){case 30:case 10:case 9:case 21:break;default:break r}e[n>>2]=l,o=0;break e}while(0);e[n>>2]=l,o=16;break e}default:{e[n>>2]=t,o=0;break e}}else o=-1;while(0);return o|0}function $70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i-t|0;e:do if((s|0)>1){switch(A=y[t+1>>0]|0,A<<24>>24?(l=y[t>>0]|0,o=Re(A,l)|0):(l=y[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(s=l&255,!(1<<(s&31)&e[56940+((s>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}r=r+72|0,A=t;r:for(;;){if(o=A,A=A+2|0,t=i-A|0,(t|0)<=1){i=-20;break e}switch(o=y[o+3>>0]|0,l=y[A>>0]|0,o<<24>>24?s=Re(o,l)|0:s=s0[r+(l&255)>>0]|0,s|0){case 27:case 26:case 25:case 24:case 22:continue r;case 5:{o=22;break r}case 6:{o=23;break r}case 7:{o=25;break r}case 36:case 30:case 11:case 32:case 21:case 10:case 9:{o=27;break r}case 29:break;default:{o=28;break r}}if(t=l&255,!(1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])){o=21;break}}if((o|0)==21){e[n>>2]=A,i=0;break}else if((o|0)==22){e[n>>2]=A,i=0;break}else if((o|0)==23){if((t|0)<3){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==25){if((t|0)<4){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==27){e[n>>2]=A,i=20;break}else if((o|0)==28){e[n>>2]=A,i=0;break}}else i=-1;while(0);return i|0}function NP(r,t,i){return r=r|0,t=t|0,i=i|0,i=Ek(i)|0,(i|0)==-1?i=0:(y[r+69>>0]=i,e[r>>2]=67,e[r+4>>2]=68,e[r+48>>2]=31,e[r+72>>2]=t,e[t>>2]=r,i=1),i|0}function Ek(r){r=r|0;var t=0;e:do if(!r)t=6;else for(t=0;;){if((t|0)>=6){t=-1;break e}if(gE(r,e[60068+(t<<2)>>2]|0)|0)break e;t=t+1|0}while(0);return t|0}function K70(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,Bk(58948,r,0,t,i,n)|0}function b70(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,Bk(58948,r,1,t,i,n)|0}function eC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,SP(58584,t,i,n)}function Bk(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0;e:do if(n>>>0>>0){c=e[t+72>>2]|0,s=n+1|0;r:do if((s|0)==(o|0)){if(s=y[t+69>>0]|0,((s<<24>>24)+-3|0)>>>0<3){s=-1;break e}switch(y[n>>0]|0){case 60:case 0:{s=-1;break e}case-17:case-1:case-2:break;default:break r}if(!((i|0)==1&s<<24>>24==0)){s=-1;break e}}else{a=y[n>>0]|0,s=y[s>>0]|0,A=((a&255)<<8|s&255)&65535;t:do if(A<<16>>16<-2){if(A<<16>>16>=-257){switch(A<<16>>16){case-257:break;default:break t}if((i|0)==1&(y[t+69>>0]|0)==0)break r;e[l>>2]=n+2,e[c>>2]=e[r+16>>2],s=14;break e}switch(A<<16>>16){case-4165:break;default:break t}if((i|0)==1)switch(y[t+69>>0]|0){case 0:case 3:case 4:case 5:break r;default:}if(s=n+2|0,(s|0)==(o|0)){s=-1;break e}if((y[s>>0]|0)!=-65)break r;e[l>>2]=n+3,e[c>>2]=e[r+8>>2],s=14;break e}else{if(A<<16>>16<15360){switch(A<<16>>16){case-2:break;default:break t}if((i|0)==1&(y[t+69>>0]|0)==0)break r;e[l>>2]=n+2,e[c>>2]=e[r+20>>2],s=14;break e}switch(A<<16>>16){case 15360:break;default:break t}if(s=y[t+69>>0]|0,s<<24>>24==4){if((i|0)==1)break r}else if((i|0)==1&s<<24>>24==3)break r;s=e[r+20>>2]|0,e[c>>2]=s,s=e2[e[s+(i<<2)>>2]&127](s,n,o,l)|0;break e}while(0);if(a<<24>>24){if((i|0)==1|s<<24>>24!=0)break;s=e[r+20>>2]|0,e[c>>2]=s,s=e2[e[s+(i<<2)>>2]&127](s,n,o,l)|0;break e}if((i|0)==1&&(y[t+69>>0]|0)==5)break;s=e[r+16>>2]|0,e[c>>2]=s,s=e2[e[s+(i<<2)>>2]&127](s,n,o,l)|0;break e}while(0);s=e[r+(y[t+69>>0]<<2)>>2]|0,e[c>>2]=s,s=e2[e[s+(i<<2)>>2]&127](s,n,o,l)|0}else s=-4;while(0);return s|0}function rC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;e:do if(t>>>0>>0)if(l=t,c=i-l|0,A=(c&1|0)==0,c=c&-2,a=(c|0)==0,c=A|a?i:t+c|0,A|a^1){i=y[t>>0]|0,i<<24>>24?(o=y[t+1>>0]|0,s=o,o=Re(i,o)|0):(o=y[t+1>>0]|0,s=o,o=s0[r+72+(o&255)>>0]|0);do switch(o|0){case 12:{i=YP(12,r,t+2|0,c,n)|0;break e}case 13:{i=YP(13,r,t+2|0,c,n)|0;break e}case 2:{if(o=t+2|0,(c-o|0)<=1){i=-1;break e}switch(i=y[o>>0]|0,i<<24>>24?i=Re(i,y[t+3>>0]|0)|0:i=s0[r+72+(s0[t+3>>0]|0)>>0]|0,i|0){case 16:{i=EC0(r,t+4|0,c,n)|0;break e}case 15:{i=FP(r,t+4|0,c,n)|0;break e}case 7:case 6:case 5:case 29:case 24:case 22:{e[n>>2]=t,i=29;break e}default:{e[n>>2]=o,i=0;break e}}}case 9:{if((t+2|0)==(c|0)){e[n>>2]=c,i=-15;break e}else l=7;break}case 10:case 21:{l=7;break}case 30:{i=QP(r,t+2|0,c,n)|0;break e}case 35:{e[n>>2]=t+2,i=38;break e}case 20:{e[n>>2]=t+2,i=25;break e}case 4:{if(o=t+2|0,i=c-o|0,(i|0)<=1){i=-26;break e}if(!(y[o>>0]|0)&&(y[t+3>>0]|0)==93){if((i|0)<=3){i=-1;break e}if(!(y[t+4>>0]|0)&&(y[t+5>>0]|0)==62){e[n>>2]=t+6,i=34;break e}}e[n>>2]=o,i=26;break e}case 31:{e[n>>2]=t+2,i=23;break e}case 32:{if(o=t+2|0,(c-o|0)<=1){i=-24;break e}switch(i=y[o>>0]|0,i<<24>>24?i=Re(i,y[t+3>>0]|0)|0:i=s0[r+72+(s0[t+3>>0]|0)>>0]|0,i|0){case 33:{e[n>>2]=t+4,i=36;break e}case 15:{e[n>>2]=t+4,i=35;break e}case 34:{e[n>>2]=t+4,i=37;break e}case 32:case 36:case 35:case 11:case 21:case 10:case 9:{e[n>>2]=o,i=24;break e}default:{e[n>>2]=o,i=0;break e}}}case 36:{e[n>>2]=t+2,i=21;break e}case 11:{e[n>>2]=t+2,i=17;break e}case 19:{i=BC0(r,t+2|0,c,n)|0;break e}case 5:{if((c-l|0)<2){i=-2;break e}e[n>>2]=t,i=0;break e}case 6:{if((c-l|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((c-l|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}case 24:case 22:{i=18,l=61;break}case 23:case 27:case 26:case 25:{i=19,l=61;break}case 29:{l=i&255,o=s&255,i=o>>>5,o=1<<(o&31),o&e[56940+((i|s0[143788+l>>0]<<3)<<2)>>2]?(i=18,l=61):e[56940+((s0[144044+l>>0]<<3|i)<<2)>>2]&o?(i=19,l=61):l=64;break}default:l=64}while(0);if((l|0)==7){A=c,r=r+72|0,s=t;r:for(;;){if(l=s,s=s+2|0,(A-s|0)<=1){l=28;break}switch(i=y[s>>0]|0,o=y[l+3>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[r+(o&255)>>0]|0,i|0){case 10:case 21:continue r;case 9:break;default:{l=27;break r}}if((l+4|0)==(c|0)){l=27;break}}if((l|0)==27){e[n>>2]=s,i=15;break}else if((l|0)==28){e[n>>2]=s,i=15;break}}else if((l|0)==61){a=r+72|0,o=t+2|0;r:for(;;){t=i&255;t:for(;;){if(A=c-o|0,(A|0)<=1){l=104;break r}switch(l=y[o>>0]|0,s=y[o+1>>0]|0,l<<24>>24?r=Re(l,s)|0:r=s0[a+(s&255)>>0]|0,r|0){case 5:{l=73;break r}case 6:{l=74;break r}case 7:{l=76;break r}case 10:case 9:case 21:case 30:case 20:case 36:case 35:case 32:case 11:{l=78;break r}case 34:{l=94;break r}case 33:{l=97;break r}case 15:{l=100;break r}case 29:{if(A=s&255,!(1<<(A&31)&e[56940+((A>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])){l=71;break r}break}case 27:case 26:case 25:case 24:case 22:break;case 23:switch(A=o+2|0,t&63){case 41:{i=19,o=A;continue r}case 18:break t;default:{o=A;continue t}}default:{l=103;break r}}o=o+2|0}if(r=c-A|0,(r|0)<=1){i=-1;break e}switch(i=y[A>>0]|0,l=y[o+3>>0]|0,i<<24>>24?s=Re(i,l)|0:s=s0[a+(l&255)>>0]|0,s|0){case 5:{l=89;break r}case 6:{l=90;break r}case 7:{l=92;break r}case 29:{if(t=l&255,!(1<<(t&31)&e[56940+((t>>>5|s0[144044+(i&255)>>0]<<3)<<2)>>2])){l=87;break r}break}case 27:case 26:case 25:case 24:case 22:break;default:{i=19,o=A;continue r}}i=41,o=o+4|0}switch(l|0){case 71:{e[n>>2]=o,i=0;break e}case 73:{e[n>>2]=o,i=0;break e}case 74:{if((A|0)<3){i=-2;break e}e[n>>2]=o,i=0;break e}case 76:{if((A|0)<4){i=-2;break e}e[n>>2]=o,i=0;break e}case 78:{e[n>>2]=o;break e}case 87:{e[n>>2]=A,i=0;break e}case 89:{e[n>>2]=A,i=0;break e}case 90:{if((r|0)<3){i=-2;break e}e[n>>2]=A,i=0;break e}case 92:{if((r|0)<4){i=-2;break e}e[n>>2]=A,i=0;break e}case 94:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=32;break e}case 97:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=31;break e}case 100:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=30;break e}case 103:{e[n>>2]=o,i=0;break e}case 104:{i=0-i|0;break e}}}else if((l|0)==64){e[n>>2]=t,i=0;break}}else i=-1;else i=-4;while(0);return i|0}function tC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;e:do if(t>>>0>>0)if(o=t,l=i-o|0,A=(l&1|0)==0,l=l&-2,s=(l|0)==0,l=A|s?i:t+l|0,A|s^1){i=y[t>>0]|0,i<<24>>24?i=Re(i,y[t+1>>0]|0)|0:i=s0[r+72+(s0[t+1>>0]|0)>>0]|0;do switch(i|0){case 2:{i=mC0(r,t+2|0,l,n)|0;break e}case 3:{i=Ik(r,t+2|0,l,n)|0;break e}case 9:{if(o=t+2|0,(l-o|0)<=1){i=-3;break e}i=y[o>>0]|0,i<<24>>24?i=Re(i,y[t+3>>0]|0)|0:i=s0[r+72+(s0[t+3>>0]|0)>>0]|0,e[n>>2]=(i|0)==10?t+4|0:o,i=7;break e}case 10:{e[n>>2]=t+2,i=7;break e}case 4:{if(o=t+2|0,(l-o|0)<=1){i=-5;break e}if(!(y[o>>0]|0)&&(y[t+3>>0]|0)==93){if(i=t+4|0,(l-i|0)<=1){i=-5;break e}if(!(y[i>>0]|0)&&(y[t+5>>0]|0)==62){e[n>>2]=i,i=0;break e}else i=l}else i=l;break}case 5:{if(i=l,(i-o|0)<2){i=-2;break e}o=t+2|0;break}case 6:{if(i=l,(i-o|0)<3){i=-2;break e}o=t+3|0;break}case 7:{if(i=l,(i-o|0)<4){i=-2;break e}o=t+4|0;break}case 8:case 1:case 0:{e[n>>2]=t,i=0;break e}default:o=t+2|0,i=l}while(0);s=r+72|0,r=o;r:for(;;){if(t=i-r|0,(t|0)<=1){o=52;break}switch(o=y[r>>0]|0,l=y[r+1>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[s+(l&255)>>0]|0,o|0){case 10:case 9:case 8:case 1:case 0:case 2:case 3:{o=50;break r}case 5:{r=r+2|0;continue r}case 6:{if((t|0)<3){o=38;break r}r=r+3|0;continue r}case 7:{if((t|0)<4){o=41;break r}r=r+4|0;continue r}case 4:{if((t|0)<=3){o=50;break r}if(o=r+2|0,y[o>>0]|0){r=o;continue r}if((y[r+3>>0]|0)!=93){r=o;continue r}if((t|0)<=5){o=50;break r}if(l=r+4|0,y[l>>0]|0){r=o;continue r}if((y[r+5>>0]|0)==62){o=49;break r}else{r=o;continue r}}default:{r=r+2|0;continue r}}}if((o|0)==38){e[n>>2]=r,i=6;break}else if((o|0)==41){e[n>>2]=r,i=6;break}else if((o|0)==49){e[n>>2]=l,i=0;break}else if((o|0)==50){e[n>>2]=r,i=6;break}else if((o|0)==52){e[n>>2]=r,i=6;break}}else i=-1;else i=-4;while(0);return i|0}function iC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;e:do if(t>>>0>>0)if(o=t,l=i-o|0,A=(l&1|0)==0,l=l&-2,s=(l|0)==0,l=A|s?i:t+l|0,A|s^1){switch(i=y[t>>0]|0,i<<24>>24?i=Re(i,y[t+1>>0]|0)|0:i=s0[r+72+(s0[t+1>>0]|0)>>0]|0,i|0){case 4:{if(o=t+2|0,(l-o|0)<=1){i=-1;break e}if(!(y[o>>0]|0)&&(y[t+3>>0]|0)==93){if(i=t+4|0,(l-i|0)<=1){i=-1;break e}if(!(y[i>>0]|0)&&(y[t+5>>0]|0)==62){e[n>>2]=t+6,i=40;break e}}break}case 9:{if(o=t+2|0,(l-o|0)<=1){i=-1;break e}i=y[o>>0]|0,i<<24>>24?i=Re(i,y[t+3>>0]|0)|0:i=s0[r+72+(s0[t+3>>0]|0)>>0]|0,e[n>>2]=(i|0)==10?t+4|0:o,i=7;break e}case 10:{e[n>>2]=t+2,i=7;break e}case 5:{if(i=l,(i-o|0)<2){i=-2;break e}o=t+2|0,l=i;break}case 6:{if(i=l,(i-o|0)<3){i=-2;break e}o=t+3|0,l=i;break}case 7:{if(i=l,(i-o|0)<4){i=-2;break e}o=t+4|0,l=i;break}case 8:case 1:case 0:{e[n>>2]=t,i=0;break e}default:o=t+2|0}s=r+72|0,r=o;r:for(;;){if(t=l-r|0,(t|0)<=1){o=40;break}switch(i=y[r>>0]|0,o=y[r+1>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[s+(o&255)>>0]|0,i|0){case 10:case 9:case 8:case 1:case 0:case 4:{o=38;break r}case 6:{if((t|0)<3){o=35;break r}else i=3;break}case 7:{if((t|0)<4){o=37;break r}else i=4;break}default:i=2}r=r+i|0}if((o|0)==35){e[n>>2]=r,i=6;break}else if((o|0)==37){e[n>>2]=r,i=6;break}else if((o|0)==38){e[n>>2]=r,i=6;break}else if((o|0)==40){e[n>>2]=r,i=6;break}}else i=-1;else i=-4;while(0);return i|0}function nC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;A=i-t|0,A=A&1|0?t+(A&-2)|0:i,s=r+72|0,l=0,i=t;e:for(;;){if(o=A-i|0,(o|0)<=1){i=-1;break}switch(r=y[i>>0]|0,t=y[i+1>>0]|0,r<<24>>24?r=Re(r,t)|0:r=s0[s+(t&255)>>0]|0,r|0){case 8:case 1:case 0:{a=12;break e}case 5:{o=l,i=i+2|0,l=o;continue e}case 6:{if((o|0)<3){i=-2;break e}o=l,i=i+3|0,l=o;continue e}case 7:{if((o|0)<4){i=-2;break e}o=l,i=i+4|0,l=o;continue e}case 2:{if(r=i+2|0,(A-r|0)<=1){i=-1;break e}if(y[r>>0]|0){o=l,i=r,l=o;continue e}if((y[i+3>>0]|0)!=33){o=l,i=r,l=o;continue e}if(r=i+4|0,(A-r|0)<=1){i=-1;break e}if(y[r>>0]|0){o=l,i=r,l=o;continue e}o=(y[i+5>>0]|0)==91,l=l+(o&1)|0,i=o?i+6|0:r;continue e}case 4:{if(r=i+2|0,(A-r|0)<=1){i=-1;break e}if(y[r>>0]|0){o=l,i=r,l=o;continue e}if((y[i+3>>0]|0)!=93){o=l,i=r,l=o;continue e}if(r=i+4|0,(A-r|0)<=1){i=-1;break e}if(y[r>>0]|0){o=l,i=r,l=o;continue e}if((y[i+5>>0]|0)!=62){o=l,i=r,l=o;continue e}if(i=i+6|0,!l){a=26;break e}l=l+-1|0;continue e}default:{o=l,i=i+2|0,l=o;continue e}}}return(a|0)==12?(e[n>>2]=i,i=0):(a|0)==26&&(e[n>>2]=i,i=42),i|0}function oC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;do if(t>>>0>>0)if(A=i,(A-t|0)>1){a=r+72|0,s=t;e:for(;;){if((A-s|0)<=1){l=30;break}switch(o=y[s>>0]|0,l=y[s+1>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,o|0){case 3:{l=11;break e}case 2:{l=14;break e}case 10:{l=15;break e}case 9:{l=18;break e}case 21:{l=25;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=2}s=s+o|0}if((l|0)==11)if((s|0)==(t|0)){o=Ik(r,t+2|0,i,n)|0;break}else{e[n>>2]=s,o=6;break}else if((l|0)==14){e[n>>2]=s,o=0;break}else if((l|0)==15)if((s|0)==(t|0)){e[n>>2]=t+2,o=7;break}else{e[n>>2]=s,o=6;break}else if((l|0)==18){if((s|0)!=(t|0)){e[n>>2]=s,o=6;break}if(s=t+2|0,(A-s|0)<=1){o=-3;break}o=y[s>>0]|0,l=y[t+3>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,e[n>>2]=(o|0)==10?t+4|0:s,o=7;break}else if((l|0)==25)if((s|0)==(t|0)){e[n>>2]=t+2,o=39;break}else{e[n>>2]=s,o=6;break}else if((l|0)==30){e[n>>2]=s,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function lC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;do if(t>>>0>>0)if(A=i,(A-t|0)>1){a=r+72|0,s=t;e:for(;;){if((A-s|0)<=1){l=29;break}switch(o=y[s>>0]|0,l=y[s+1>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,o|0){case 3:{l=11;break e}case 30:{l=14;break e}case 10:{l=17;break e}case 9:{l=20;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=2}s=s+o|0}if((l|0)==11)if((s|0)==(t|0)){o=Ik(r,t+2|0,i,n)|0;break}else{e[n>>2]=s,o=6;break}else if((l|0)==14)if((s|0)==(t|0)){o=QP(r,t+2|0,i,n)|0,o=(o|0)==22?0:o;break}else{e[n>>2]=s,o=6;break}else if((l|0)==17)if((s|0)==(t|0)){e[n>>2]=t+2,o=7;break}else{e[n>>2]=s,o=6;break}else if((l|0)==20){if((s|0)!=(t|0)){e[n>>2]=s,o=6;break}if(s=t+2|0,(A-s|0)<=1){o=-3;break}o=y[s>>0]|0,l=y[t+3>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,e[n>>2]=(o|0)==10?t+4|0:s,o=7;break}else if((l|0)==29){e[n>>2]=s,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function sC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=i,r=t;;){if(t=y[n>>0]|0,!(t<<24>>24)){l=7;break}if((o-r|0)<2){r=0;break}if(y[r>>0]|0){r=0;break}if((y[r+1>>0]|0)!=t<<24>>24){r=0;break}n=n+1|0,r=r+2|0}return(l|0)==7&&(r=(r|0)==(i|0)&1),r|0}function AC0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+72|0,n=t;e:for(;;){switch(r=y[n>>0]|0,i=y[n+1>>0]|0,r<<24>>24?r=Re(r,i)|0:r=s0[o+(i&255)>>0]|0,r|0){case 5:{r=2;break}case 6:{r=3;break}case 7:{r=4;break}case 27:case 26:case 25:case 24:case 23:case 22:case 29:{r=2;break}default:break e}n=n+r|0}return n-t|0}function uC0(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+72|0;e:for(;;){switch(r=y[t>>0]|0,i=y[t+1>>0]|0,r<<24>>24?r=Re(r,i)|0:r=s0[n+(i&255)>>0]|0,r|0){case 21:case 9:case 10:break;default:break e}t=t+2|0}return t|0}function fC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=r+72|0,c=0,w=0,r=1;e:for(;;){a=t+2|0,o=y[a>>0]|0,s=o<<24>>24==0,l=t+3|0,A=y[l>>0]|0,s?o=s0[p+(A&255)>>0]|0:o=Re(o,A)|0;do switch(o|0){case 5:{if(r|0){l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}if((w|0)>=(i|0)){s=w,A=c,r=1,t=a,w=s,c=A;continue e}e[n+(w<<4)>>2]=a,y[n+(w<<4)+12>>0]=1,s=w,A=c,r=1,t=a,w=s,c=A;continue e}case 6:{if(r|0){s=r,A=w,a=c,t=l,r=s,w=A,c=a;continue e}if((w|0)>=(i|0)){A=w,a=c,r=1,t=l,w=A,c=a;continue e}e[n+(w<<4)>>2]=a,y[n+(w<<4)+12>>0]=1,A=w,a=c,r=1,t=l,w=A,c=a;continue e}case 7:{r||((w|0)<(i|0)&&(e[n+(w<<4)>>2]=a,y[n+(w<<4)+12>>0]=1),r=1),A=w,a=c,t=t+4|0,w=A,c=a;continue e}case 24:case 22:case 29:{if(r|0){l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}if((w|0)>=(i|0)){s=w,A=c,r=1,t=a,w=s,c=A;continue e}e[n+(w<<4)>>2]=a,y[n+(w<<4)+12>>0]=1,s=w,A=c,r=1,t=a,w=s,c=A;continue e}case 12:{if((r|0)!=2){if((w|0)>=(i|0)){A=w,c=12,r=2,t=a,w=A;continue e}e[n+(w<<4)+4>>2]=t+4,A=w,c=12,r=2,t=a,w=A;continue e}if((c|0)!=12){s=w,A=c,r=2,t=a,w=s,c=A;continue e}(w|0)<(i|0)&&(e[n+(w<<4)+8>>2]=a),c=12,w=w+1|0,r=0,t=a;continue e}case 13:{if((r|0)!=2){if((w|0)>=(i|0)){A=w,c=13,r=2,t=a,w=A;continue e}e[n+(w<<4)+4>>2]=t+4,A=w,c=13,r=2,t=a,w=A;continue e}if((c|0)!=13){s=w,A=c,r=2,t=a,w=s,c=A;continue e}(w|0)<(i|0)&&(e[n+(w<<4)+8>>2]=a),c=13,w=w+1|0,r=0,t=a;continue e}case 3:{if((w|0)>=(i|0)){l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}y[n+(w<<4)+12>>0]=0,l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}case 21:{switch(r|0){case 1:{s=w,A=c,r=0,t=a,w=s,c=A;continue e}case 2:break;default:{l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}}if((w|0)>=(i|0)){s=w,A=c,r=2,t=a,w=s,c=A;continue e}if(l=n+(w<<4)+12|0,!(y[l>>0]|0)){s=w,A=c,r=2,t=a,w=s,c=A;continue e}do if(s&(a|0)!=(e[n+(w<<4)+4>>2]|0)&A<<24>>24==32){if(o=y[t+4>>0]|0,r=y[t+5>>0]|0,o<<24>>24)r=Re(o,r)|0;else{if(r<<24>>24==32)break;r=s0[p+(r&255)>>0]|0}if((r|0)!=(c|0)){s=w,A=c,r=2,t=a,w=s,c=A;continue e}}while(0);y[l>>0]=0,s=w,A=c,r=2,t=a,w=s,c=A;continue e}case 10:case 9:{switch(r|0){case 1:{s=w,A=c,r=0,t=a,w=s,c=A;continue e}case 2:break;default:{l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}}if((w|0)>=(i|0)){s=w,A=c,r=2,t=a,w=s,c=A;continue e}y[n+(w<<4)+12>>0]=0,s=w,A=c,r=2,t=a,w=s,c=A;continue e}case 17:case 11:if((r|0)==2){s=w,A=c,r=2,t=a,w=s,c=A;continue e}else break e;default:{l=r,s=w,A=c,t=a,r=l,w=s,c=A;continue e}}while(0)}return w|0}function aC0(r,t){r=r|0,t=t|0;var i=0,n=0;r=t+4|0;e:do if(y[r>>0]|0)i=r,r=0,t=-1,n=16;else if((y[t+5>>0]|0)==120)for(t=t+6|0,r=0;;){r:for(;;){if(!(y[t>>0]|0)){if(i=y[t+1>>0]|0,i<<24>>24==59){n=18;break e}switch(i=i<<24>>24,i|0){case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{n=8;break r}case 70:case 69:case 68:case 67:case 66:case 65:{n=9;break r}case 102:case 101:case 100:case 99:case 98:case 97:{n=10;break r}default:}}t=t+2|0}if((n|0)==8?r=i+-48|r<<4:(n|0)==9?r=(r<<4)+-55+i|0:(n|0)==10&&(r=(r<<4)+-87+i|0),(r|0)<1114112)t=t+2|0;else{r=-1,n=19;break}}else t=r,r=0,n=13;while(0);for(;;)if((n|0)==13){if(y[t>>0]|0){i=t,t=-1,n=16;continue}if((y[t+1>>0]|0)==59){n=18;continue}i=t,t=y[t+1>>0]|0,n=16;continue}else if((n|0)==16){if(r=(r*10|0)+-48+t|0,(r|0)>=1114112){r=-1,n=19;continue}t=i+2|0,n=13;continue}else if((n|0)==18){r=th(r)|0,n=19;continue}else if((n|0)==19)return r|0;return 0}function cC0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do switch((i-t|0)/2|0|0){case 2:{!(y[t+2>>0]|0)&&(y[t+3>>0]|0)==116?(y[t>>0]|0?r=-1:r=y[t+1>>0]|0,r=(r|0)==108?60:(r|0)==103?62:0):n=27;break}case 3:{!(y[t>>0]|0)&&(y[t+1>>0]|0)==97&&!(y[t+2>>0]|0)&&(y[t+3>>0]|0)==109&&!(y[t+4>>0]|0)&&(y[t+5>>0]|0)==112?r=38:n=27;break}case 4:{if(y[t>>0]|0)n=27;else switch(y[t+1>>0]|0){case 113:{if(y[t+2>>0]|0){n=27;break e}if((y[t+3>>0]|0)!=117){n=27;break e}if(y[t+4>>0]|0){n=27;break e}if((y[t+5>>0]|0)!=111){n=27;break e}if(y[t+6>>0]|0){n=27;break e}if((y[t+7>>0]|0)==116){r=34;break e}else{n=27;break e}}case 97:{if(y[t+2>>0]|0){n=27;break e}if((y[t+3>>0]|0)!=112){n=27;break e}if(y[t+4>>0]|0){n=27;break e}if((y[t+5>>0]|0)!=111){n=27;break e}if(y[t+6>>0]|0){n=27;break e}if((y[t+7>>0]|0)==115){r=39;break e}else{n=27;break e}}default:{n=27;break e}}break}default:n=27}while(0);return(n|0)==27&&(r=0),r|0}function hC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;for(s=r+72|0,A=n+4|0;!((i-t|0)<=1);){switch(r=y[t>>0]|0,o=y[t+1>>0]|0,r<<24>>24?r=Re(r,o)|0:r=s0[s+(o&255)>>0]|0,r|0){case 5:{t=t+2|0;break}case 6:{t=t+3|0;break}case 7:{t=t+4|0;break}case 10:{e[A>>2]=-1,e[n>>2]=(e[n>>2]|0)+1,t=t+2|0;break}case 9:{e[n>>2]=(e[n>>2]|0)+1,l=t+2|0,(i-l|0)>1?(r=y[l>>0]|0,o=y[t+3>>0]|0,r<<24>>24?r=Re(r,o)|0:r=s0[s+(o&255)>>0]|0,t=(r|0)==10?t+4|0:l):t=l,e[A>>2]=-1;break}default:t=t+2|0}e[A>>2]=(e[A>>2]|0)+1}}function wC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;A=i+-2|0,s=r+72|0;e:for(;;){if(o=t+2|0,(A-o|0)<=1){i=1;break}switch(i=y[o>>0]|0,l=i<<24>>24==0,r=y[t+3>>0]|0,l?i=s0[s+(r&255)>>0]|0:i=Re(i,r)|0,i|0){case 23:case 19:case 30:case 33:case 16:case 18:case 10:case 9:case 15:case 14:case 17:case 35:case 34:case 32:case 31:case 13:case 27:case 24:case 25:{t=o;continue e}case 21:if(l&r<<24>>24==9){a=12;break e}else{t=o;continue e}case 22:case 26:{if(!l){a=12;break e}if(r<<24>>24>=0){t=o;continue e}break}default:if(!l){a=12;break e}}switch(r<<24>>24|0){case 64:case 36:{t=o;break}default:{a=12;break e}}}return(a|0)==12&&(e[n>>2]=o,i=0),i|0}function dC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0;s=e[t>>2]|0,A=s+(i-s&-2)|0,a=A,c=o;e:for(;;){if(s>>>0>=A>>>0){r=0;break}switch(l=y[s+1>>0]|0,r=y[s>>0]|0,i=r&255,r<<24>>24){case 0:{if(l<<24>>24>-1){if(r=e[n>>2]|0,(r|0)==(o|0)){r=2;break e}e[n>>2]=r+1,y[r>>0]=l,r=s}else w=7;break}case 7:case 6:case 5:case 4:case 3:case 2:case 1:{w=7;break}case-37:case-38:case-39:case-40:{if(r=e[n>>2]|0,(c-r|0)<4){r=2;break e}if((a-s|0)<4){r=1;break e}p=l&255,l=(i<<2&12|p>>>6)+1|0,e[n>>2]=r+1,y[r>>0]=l>>>2|240,r=e[n>>2]|0,e[n>>2]=r+1,y[r>>0]=p>>>2&15|l<<4&48|128,r=s+2|0,l=s0[s+3>>0]|0,i=(p<<4&48|l>>>6|y[r>>0]<<2&12|128)&255,s=e[n>>2]|0,e[n>>2]=s+1,y[s>>0]=i,s=e[n>>2]|0,e[n>>2]=s+1,y[s>>0]=l&63|128;break}default:{if(r=e[n>>2]|0,(c-r|0)<3){r=2;break e}e[n>>2]=r+1,y[r>>0]=i>>>4|224,p=l&255,r=e[n>>2]|0,e[n>>2]=r+1,y[r>>0]=p>>>6|i<<2&60|128,r=e[n>>2]|0,e[n>>2]=r+1,y[r>>0]=p&63|128,r=s}}if((w|0)==7){if(w=0,r=e[n>>2]|0,(c-r|0)<2){r=2;break}p=l&255,e[n>>2]=r+1,y[r>>0]=p>>>6|i<<2|192,r=e[n>>2]|0,e[n>>2]=r+1,y[r>>0]=p&63|128,r=s}s=r+2|0}return e[t>>2]=s,r|0}function pC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=e[t>>2]|0,A=i-l&-2,r=l+A|0,(A|0)>(o-(e[n>>2]|0)|0)?(s=r+-2|0,i=(y[s>>0]&-8)<<24>>24==-40,A=i&1,r=i?s:r):A=0,i=l;l=i>>>0>>0,s=e[n>>2]|0,!!(l&s>>>0>>0);)l=((s0[i>>0]|0)<<8|(s0[i+1>>0]|0))&65535,e[n>>2]=s+2,$[s>>1]=l,s=(e[t>>2]|0)+2|0,e[t>>2]=s,i=s;return((s|0)!=(o|0)|l^1?A:2)|0}function Ik(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;a=i,s=a-t|0;e:do if((s|0)>1){switch(A=y[t>>0]|0,A<<24>>24?(l=y[t+1>>0]|0,o=Re(A,l)|0):(l=y[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(s=l&255,!(1<<(s&31)&e[56940+((s>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,r=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,r=0;break e}case 6:{if((s|0)<3){r=-2;break e}e[n>>2]=t,r=0;break e}case 7:{if((s|0)<4){r=-2;break e}e[n>>2]=t,r=0;break e}case 19:{r=kC0(r,t+2|0,i,n)|0;break e}default:{e[n>>2]=t,r=0;break e}}A=r+72|0,s=t;r:for(;;){if(l=s+2|0,t=a-l|0,(t|0)<=1){r=-1;break e}switch(r=y[l>>0]|0,i=y[s+3>>0]|0,r<<24>>24?o=Re(r,i)|0:o=s0[A+(i&255)>>0]|0,o|0){case 27:case 26:case 25:case 24:case 22:{s=l;continue r}case 5:{i=23;break r}case 6:{i=24;break r}case 7:{i=26;break r}case 18:{i=28;break r}case 29:break;default:{i=29;break r}}if(t=i&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(r&255)>>0]|0)<<3)<<2)>>2])s=l;else{i=22;break}}if((i|0)==22){e[n>>2]=l,r=0;break}else if((i|0)==23){e[n>>2]=l,r=0;break}else if((i|0)==24){if((t|0)<3){r=-2;break}e[n>>2]=l,r=0;break}else if((i|0)==26){if((t|0)<4){r=-2;break}e[n>>2]=l,r=0;break}else if((i|0)==28){e[n>>2]=s+4,r=9;break}else if((i|0)==29){e[n>>2]=l,r=0;break}}else r=-1;while(0);return r|0}function QP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;s=i-t|0;e:do if((s|0)>1){switch(A=y[t>>0]|0,A<<24>>24?(l=y[t+1>>0]|0,o=Re(A,l)|0):(l=y[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(a=l&255,!(1<<(a&31)&e[56940+((a>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}case 30:case 9:case 10:case 21:{e[n>>2]=t,i=22;break e}default:{e[n>>2]=t,i=0;break e}}a=r+72|0,r=t;r:for(;;){if(A=r+2|0,t=i-A|0,(t|0)<=1){i=-1;break e}switch(o=y[A>>0]|0,l=y[r+3>>0]|0,o<<24>>24?s=Re(o,l)|0:s=s0[a+(l&255)>>0]|0,s|0){case 27:case 26:case 25:case 24:case 22:{r=A;continue r}case 5:{o=23;break r}case 6:{o=24;break r}case 7:{o=26;break r}case 18:{o=28;break r}case 29:break;default:{o=29;break r}}if(t=l&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])r=A;else{o=22;break}}if((o|0)==22){e[n>>2]=A,i=0;break}else if((o|0)==23){e[n>>2]=A,i=0;break}else if((o|0)==24){if((t|0)<3){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==26){if((t|0)<4){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==28){e[n>>2]=r+4,i=28;break}else if((o|0)==29){e[n>>2]=A,i=0;break}}else i=-1;while(0);return i|0}function kC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=i;e:do if((A-t|0)>1){l=y[t>>0]|0,o=y[t+1>>0]|0;do if(l<<24>>24)o=Re(l,o)|0;else if(o<<24>>24==120){o=vC0(r,t+2|0,i,n)|0;break e}else{o=s0[r+72+(o&255)>>0]|0;break}while(0);if((o|0)!=25){e[n>>2]=t,o=0;break}s=r+72|0,r=t;r:for(;;){if(l=r+2|0,(A-l|0)<=1){o=-1;break e}switch(o=y[l>>0]|0,i=y[r+3>>0]|0,o<<24>>24?o=Re(o,i)|0:o=s0[s+(i&255)>>0]|0,o|0){case 25:{r=l;break}case 18:{i=15;break r}default:{i=16;break r}}}if((i|0)==15){e[n>>2]=r+4,o=10;break}else if((i|0)==16){e[n>>2]=l,o=0;break}}else o=-1;while(0);return o|0}function vC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e:do if((i-t|0)>1){if(o=y[t>>0]|0,o<<24>>24?o=Re(o,y[t+1>>0]|0)|0:o=s0[r+72+(s0[t+1>>0]|0)>>0]|0,(o&-2|0)!=24){e[n>>2]=t,i=0;break}s=r+72|0;r:for(;;){if(l=t+2|0,(i-l|0)<=1){i=-1;break e}switch(o=y[l>>0]|0,r=y[t+3>>0]|0,o<<24>>24?o=Re(o,r)|0:o=s0[s+(r&255)>>0]|0,o|0){case 24:case 25:{t=l;break}case 18:{o=13;break r}default:{o=14;break r}}}if((o|0)==13){e[n>>2]=t+4,i=10;break}else if((o|0)==14){e[n>>2]=l,i=0;break}}else i=-1;while(0);return i|0}function mC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=i,s=p-t|0;e:do if((s|0)>1){switch(A=y[t>>0]|0,A<<24>>24?(l=y[t+1>>0]|0,o=Re(A,l)|0):(l=y[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(c=l&255,!(1<<(c&31)&e[56940+((c>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])){e[n>>2]=t,o=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,o=0;break e}case 6:{if((s|0)<3){o=-2;break e}e[n>>2]=t,o=0;break e}case 7:{if((s|0)<4){o=-2;break e}e[n>>2]=t,o=0;break e}case 16:{if(l=t+2|0,(p-l|0)<=1){o=-1;break e}switch(o=y[l>>0]|0,o<<24>>24?o=Re(o,y[t+3>>0]|0)|0:o=s0[r+72+(s0[t+3>>0]|0)>>0]|0,o|0){case 27:{o=TP(r,t+4|0,i,n)|0;break e}case 20:{o=gC0(t+4|0,i,n)|0;break e}default:{e[n>>2]=l,o=0;break e}}}case 15:{o=FP(r,t+2|0,i,n)|0;break e}case 17:{o=yC0(r,t+2|0,i,n)|0;break e}default:{e[n>>2]=t,o=0;break e}}c=r+72|0,a=0,o=t+2|0;r:for(;;){t:for(;;){if(l=p-o|0,(l|0)<=1){o=-1;break e}switch(s=y[o>>0]|0,A=y[o+1>>0]|0,s<<24>>24?t=Re(s,A)|0:t=s0[c+(A&255)>>0]|0,t|0){case 5:{w=34;break r}case 6:{w=35;break r}case 7:{w=37;break r}case 10:case 9:case 21:{w=55;break r}case 11:{w=69;break r}case 17:break r;case 23:break t;case 29:{if(t=A&255,!(1<<(t&31)&e[56940+((t>>>5|s0[144044+(s&255)>>0]<<3)<<2)>>2])){w=32;break r}break}case 27:case 26:case 25:case 24:case 22:break;default:{w=75;break r}}o=o+2|0}if(a|0){w=40;break}if(t=o+2|0,a=p-t|0,(a|0)<=1){o=-1;break e}switch(l=y[t>>0]|0,s=y[o+3>>0]|0,l<<24>>24?A=Re(l,s)|0:A=s0[c+(s&255)>>0]|0,A|0){case 5:{w=49;break r}case 6:{w=50;break r}case 7:{w=52;break r}case 29:{if(a=s&255,!(1<<(a&31)&e[56940+((a>>>5|s0[143788+(l&255)>>0]<<3)<<2)>>2])){w=47;break r}break}case 24:case 22:break;default:{w=54;break r}}a=1,o=o+4|0}r:switch(w|0){case 32:{e[n>>2]=o,o=0;break e}case 34:{e[n>>2]=o,o=0;break e}case 35:{if((l|0)<3){o=-2;break e}e[n>>2]=o,o=0;break e}case 37:{if((l|0)<4){o=-2;break e}e[n>>2]=o,o=0;break e}case 40:{e[n>>2]=o,o=0;break e}case 47:{e[n>>2]=t,o=0;break e}case 49:{e[n>>2]=t,o=0;break e}case 50:{if((a|0)<3){o=-2;break e}e[n>>2]=t,o=0;break e}case 52:{if((a|0)<4){o=-2;break e}e[n>>2]=t,o=0;break e}case 54:{e[n>>2]=t,o=0;break e}case 55:{t:for(;;){if(w=0,l=o+2|0,s=p-l|0,(s|0)<=1){o=-1;break e}switch(A=y[l>>0]|0,t=y[o+3>>0]|0,A<<24>>24?a=Re(A,t)|0:a=s0[c+(t&255)>>0]|0,a|0){case 11:{o=l,w=69;break r}case 17:{o=l;break r}case 10:case 9:case 21:{o=l,w=55;break}case 29:{w=60;break t}case 24:case 22:break t;case 5:{w=63;break t}case 6:{w=64;break t}case 7:{w=66;break t}default:{w=68;break t}}}if((w|0)==60){if(p=t&255,!(1<<(p&31)&e[56940+((p>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])){e[n>>2]=l,o=0;break e}}else if((w|0)==63){e[n>>2]=l,o=0;break e}else if((w|0)==64){if((s|0)<3){o=-2;break e}e[n>>2]=l,o=0;break e}else if((w|0)==66){if((s|0)<4){o=-2;break e}e[n>>2]=l,o=0;break e}else if((w|0)==68){e[n>>2]=l,o=0;break e}o=CC0(r,o+4|0,i,n)|0;break e}case 75:{e[n>>2]=o,o=0;break e}}if((w|0)==69){e[n>>2]=o+2,o=2;break}if(l=o+2|0,(p-l|0)>1){if(!(y[l>>0]|0)&&(y[o+3>>0]|0)==62){e[n>>2]=o+4,o=4;break}e[n>>2]=l,o=0}else o=-1}else o=-1;while(0);return o|0}function TP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i;e:do if((s-t|0)>1){if(!(y[t>>0]|0)&&(y[t+1>>0]|0)==45){l=r+72|0,o=t+2|0;r:for(;;){if(t=s-o|0,(t|0)<=1){i=-1;break e}switch(i=y[o>>0]|0,r=y[o+1>>0]|0,i<<24>>24?i=Re(i,r)|0:i=s0[l+(r&255)>>0]|0,i|0){case 8:case 1:case 0:{A=16;break r}case 5:{o=o+2|0;continue r}case 6:{if((t|0)<3){i=-2;break e}o=o+3|0;continue r}case 7:{if((t|0)<4){i=-2;break e}o=o+4|0;continue r}case 27:{if(i=o+2|0,(s-i|0)<=1){i=-1;break e}if(y[i>>0]|0){o=i;continue r}if((y[o+3>>0]|0)==45)break r;o=i;continue r}default:{o=o+2|0;continue r}}}if((A|0)==16){e[n>>2]=o,i=0;break}if(i=o+4|0,(s-i|0)<=1){i=-1;break}if(!(y[i>>0]|0)&&(y[o+5>>0]|0)==62){e[n>>2]=o+6,i=13;break}e[n>>2]=i,i=0;break}e[n>>2]=t,i=0}else i=-1;while(0);return i|0}function gC0(r,t,i){if(r=r|0,t=t|0,i=i|0,(t-r|0)>11){for(t=0;;){if((t|0)>=6){t=8;break}if(y[r>>0]|0){t=0;break}if((y[r+1>>0]|0)!=(y[144300+t>>0]|0)){t=0;break}t=t+1|0,r=r+2|0}e[i>>2]=r}else t=-1;return t|0}function FP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+16|0,p=v,w=i,l=w-t|0;e:do if((l|0)>1){switch(s=y[t>>0]|0,s<<24>>24?(o=y[t+1>>0]|0,i=Re(s,o)|0):(o=y[t+1>>0]|0,i=s0[r+72+(o&255)>>0]|0),i|0){case 29:{if(a=o&255,!(1<<(a&31)&e[56940+((a>>>5|s0[143788+(s&255)>>0]<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((l|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((l|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}a=r+72|0,A=t;r:for(;;){if(i=A+2|0,o=w-i|0,(o|0)<=1){i=-1;break e}switch(l=y[i>>0]|0,s=y[A+3>>0]|0,l<<24>>24?r=Re(l,s)|0:r=s0[a+(s&255)>>0]|0,r|0){case 27:case 26:case 25:case 24:case 22:{A=i;continue r}case 5:{c=22;break r}case 6:{c=23;break r}case 7:{c=25;break r}case 10:case 9:case 21:{c=27;break r}case 15:{c=46;break r}case 29:break;default:break r}if(A=s&255,1<<(A&31)&e[56940+((A>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])A=i;else{c=21;break}}if((c|0)==21){e[n>>2]=i,i=0;break}else if((c|0)==22){e[n>>2]=i,i=0;break}else if((c|0)==23){if((o|0)<3){i=-2;break}e[n>>2]=i,i=0;break}else if((c|0)==25){if((o|0)<4){i=-2;break}e[n>>2]=i,i=0;break}else if((c|0)==27){if(!(PP(t,i,p)|0)){e[n>>2]=i,i=0;break}s=A+4|0;r:for(;;){if(l=w-s|0,(l|0)<=1){i=-1;break e}switch(i=y[s>>0]|0,o=y[s+1>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[a+(o&255)>>0]|0,i|0){case 8:case 1:case 0:{c=40;break r}case 5:{s=s+2|0;continue r}case 6:{if((l|0)<3){i=-2;break e}s=s+3|0;continue r}case 7:{if((l|0)<4){i=-2;break e}s=s+4|0;continue r}case 15:{if(i=s+2|0,(w-i|0)<=1){i=-1;break e}if(y[i>>0]|0){s=i;continue r}if((y[s+3>>0]|0)==62){c=44;break r}else{s=i;continue r}}default:{s=s+2|0;continue r}}}if((c|0)==40){e[n>>2]=s,i=0;break}else if((c|0)==44){e[n>>2]=s+4,i=e[p>>2]|0;break}}else if((c|0)==46){if(!(PP(t,i,p)|0)){e[n>>2]=i,i=0;break}if(i=A+4|0,(w-i|0)<=1){i=-1;break}if(!(y[i>>0]|0)&&(y[A+5>>0]|0)==62){e[n>>2]=A+6,i=e[p>>2]|0;break}}e[n>>2]=i,i=0}else i=-1;while(0);return g=v,i|0}function yC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;s=i-t|0;e:do if((s|0)>1){switch(A=y[t>>0]|0,A<<24>>24?(l=y[t+1>>0]|0,o=Re(A,l)|0):(l=y[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(a=l&255,!(1<<(a&31)&e[56940+((a>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}a=r+72|0,r=t;r:for(;;){if(s=r+2|0,t=i-s|0,(t|0)<=1){i=-1;break e}switch(o=y[s>>0]|0,l=y[r+3>>0]|0,o<<24>>24?A=Re(o,l)|0:A=s0[a+(l&255)>>0]|0,A|0){case 23:case 27:case 26:case 25:case 24:case 22:{r=s;continue r}case 5:{o=22;break r}case 6:{o=23;break r}case 7:{o=25;break r}case 10:case 9:case 21:{o=27;break r}case 11:{o=34;break r}case 29:break;default:{o=35;break r}}if(t=l&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])r=s;else{o=21;break}}if((o|0)==21){e[n>>2]=s,i=0;break}else if((o|0)==22){e[n>>2]=s,i=0;break}else if((o|0)==23){if((t|0)<3){i=-2;break}e[n>>2]=s,i=0;break}else if((o|0)==25){if((t|0)<4){i=-2;break}e[n>>2]=s,i=0;break}else if((o|0)==27){r:for(;;){if(A=s+2|0,(i-A|0)<=1){i=-1;break e}switch(o=y[A>>0]|0,l=y[s+3>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[a+(l&255)>>0]|0,o|0){case 10:case 9:case 21:{s=A,o=27;break}case 11:{o=32;break r}default:{o=33;break r}}}if((o|0)==32){e[n>>2]=s+4,i=5;break}else if((o|0)==33){e[n>>2]=A,i=0;break}}else if((o|0)==34){e[n>>2]=r+4,i=5;break}else if((o|0)==35){e[n>>2]=s,i=0;break}}else i=-1;while(0);return i|0}function CC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+16|0,v=E,e[v>>2]=t,m=i,w=r+72|0,o=0;e:for(;;){r:for(;;){if(a=m-t|0,(a|0)<=1){t=-1;break e}switch(l=y[t>>0]|0,s=y[t+1>>0]|0,l<<24>>24?A=Re(l,s)|0:A=s0[w+(s&255)>>0]|0,A|0){case 5:{p=11;break e}case 6:{p=12;break e}case 7:{p=14;break e}case 23:{p=16;break r}case 10:case 9:case 21:{p=31;break r}case 14:{p=37;break r}case 29:{if(c=s&255,!(1<<(c&31)&e[56940+((c>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])){p=9;break e}break}case 27:case 26:case 25:case 24:case 22:break;default:{p=89;break e}}c=t+2|0,e[v>>2]=c,t=c}r:do if((p|0)==16){if(p=0,o|0){p=17;break e}if(o=t+2|0,e[v>>2]=o,l=o,s=m-l|0,(s|0)<=1){t=-1;break e}switch(A=y[o>>0]|0,a=y[t+3>>0]|0,A<<24>>24?c=Re(A,a)|0:c=s0[w+(a&255)>>0]|0,c|0){case 5:{p=25;break e}case 6:{p=26;break e}case 7:{p=28;break e}case 24:case 22:{o=1;break r}case 29:break;default:{p=30;break e}}if(c=a&255,1<<(c&31)&e[56940+((c>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])o=1;else{p=24;break e}}else if((p|0)==31)for(;;){if(p=0,l=t+2|0,e[v>>2]=l,s=l,(m-s|0)<=1){t=-1;break e}switch(o=y[l>>0]|0,t=y[t+3>>0]|0,o<<24>>24?t=Re(o,t)|0:t=s0[w+(t&255)>>0]|0,t|0){case 14:{t=l,p=37;break r}case 9:case 10:case 21:{t=l,p=31;break}default:{p=36;break e}}}while(0);r:do if((p|0)==37){for(;;){if(p=0,s=t+2|0,e[v>>2]=s,A=s,(m-A|0)<=1){t=-1;break e}if(o=y[s>>0]|0,l=y[t+3>>0]|0,o<<24>>24?a=Re(o,l)|0:a=s0[w+(l&255)>>0]|0,(a|1|0)==13)break;switch(a|0){case 9:case 10:case 21:{t=s,p=37;break}default:{p=43;break e}}}t=t+4|0,e[v>>2]=t;t:for(;;){if(s=m-t|0,(s|0)<=1){t=-1;break e}if(o=y[t>>0]|0,l=y[t+1>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[w+(l&255)>>0]|0,(o|0)==(a|0))break;switch(o|0){case 8:case 1:case 0:{p=56;break e}case 2:{p=61;break e}case 5:{c=t+2|0,e[v>>2]=c,t=c;continue t}case 6:{if((s|0)<3){t=-2;break e}c=t+3|0,e[v>>2]=c,t=c;continue t}case 7:{if((s|0)<4){t=-2;break e}c=t+4|0,e[v>>2]=c,t=c;continue t}case 3:{if(t=Ik(r,t+2|0,i,v)|0,(t|0)<1){p=59;break e}t=e[v>>2]|0;continue t}default:{c=t+2|0,e[v>>2]=c,t=c;continue t}}}if(l=t+2|0,e[v>>2]=l,A=l,(m-A|0)<=1){t=-1;break e}switch(o=y[l>>0]|0,s=y[t+3>>0]|0,o<<24>>24?o=Re(o,s)|0:o=s0[w+(s&255)>>0]|0,o|0){case 11:{p=81;break e}case 17:{p=82;break e}case 10:case 9:case 21:{t=l;break}default:{p=68;break e}}t:for(;;){if(l=t+2|0,e[v>>2]=l,o=l,s=m-o|0,(s|0)<=1){t=-1;break e}switch(A=y[l>>0]|0,a=y[t+3>>0]|0,A<<24>>24?c=Re(A,a)|0:c=s0[w+(a&255)>>0]|0,c|0){case 5:{p=76;break e}case 6:{p=77;break e}case 7:{p=79;break e}case 11:{p=81;break e}case 17:{p=82;break e}case 24:case 22:{o=0;break r}case 10:case 9:case 21:{t=l;break}case 29:break t;default:{p=87;break e}}}if(c=a&255,1<<(c&31)&e[56940+((c>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])o=0;else{p=75;break e}}while(0);t=t+4|0,e[v>>2]=t}switch(p|0){case 9:{e[n>>2]=t,t=0;break}case 11:{e[n>>2]=t,t=0;break}case 12:{(a|0)<3?t=-2:(e[n>>2]=t,t=0);break}case 14:{(a|0)<4?t=-2:(e[n>>2]=t,t=0);break}case 17:{e[n>>2]=t,t=0;break}case 24:{e[n>>2]=o,t=0;break}case 25:{e[n>>2]=o,t=0;break}case 26:{(s|0)<3?t=-2:(e[n>>2]=o,t=0);break}case 28:{(s|0)<4?t=-2:(e[n>>2]=o,t=0);break}case 30:{e[n>>2]=l,t=0;break}case 36:{e[n>>2]=s,t=0;break}case 43:{e[n>>2]=A,t=0;break}case 56:{e[n>>2]=t,t=0;break}case 59:{t||(e[n>>2]=e[v>>2],t=0);break}case 61:{e[n>>2]=t,t=0;break}case 68:{e[n>>2]=A,t=0;break}case 75:{e[n>>2]=l,t=0;break}case 76:{e[n>>2]=l,t=0;break}case 77:{(s|0)<3?t=-2:(e[n>>2]=l,t=0);break}case 79:{(s|0)<4?t=-2:(e[n>>2]=l,t=0);break}case 81:{e[n>>2]=t+4,t=1;break}case 82:{if(o=l+2|0,e[v>>2]=o,t=o,(m-t|0)>1){if(!(y[o>>0]|0)&&(y[l+3>>0]|0)==62){e[n>>2]=l+4,t=3;break}e[n>>2]=t,t=0}else t=-1;break}case 87:{e[n>>2]=o,t=0;break}case 89:{e[n>>2]=t,t=0;break}}return g=E,t|0}function PP(r,t,i){r=r|0,t=t|0,i=i|0,e[i>>2]=11;e:do if((t-r|0)==6&&!(y[r>>0]|0)){switch(y[r+1>>0]|0){case 120:{t=0;break}case 88:{t=1;break}default:{t=1;break e}}if(y[r+2>>0]|0)t=1;else{switch(y[r+3>>0]|0){case 109:break;case 77:{t=1;break}default:{t=1;break e}}if(y[r+4>>0]|0)t=1;else{switch(y[r+5>>0]|0){case 108:break;case 76:{t=0;break e}default:{t=1;break e}}t?t=0:(e[i>>2]=12,t=1)}}}else t=1;while(0);return t|0}function YP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;A=t+72|0;e:for(;;){r:for(;;){if(s=n-i|0,(s|0)<=1){i=-1;break e}switch(t=y[i>>0]|0,l=y[i+1>>0]|0,t<<24>>24?l=Re(t,l)|0:l=s0[A+(l&255)>>0]|0,l|0){case 8:case 1:case 0:{a=10;break e}case 6:{a=9;break r}case 7:{a=19;break r}case 5:{i=i+2|0;continue r}case 13:case 12:if(t=i+2|0,(l|0)==(r|0)){a=12;break e}else{i=t;continue r}default:{i=i+2|0;continue r}}}if((a|0)==9)if(a=0,(s|0)<3){i=-2;break}else{i=i+3|0;continue}else if((a|0)==19)if(a=0,(s|0)<4){i=-2;break}else{i=i+4|0;continue}}e:do if((a|0)==10)e[o>>2]=i,i=0;else if((a|0)==12)if((n-t|0)>1){switch(e[o>>2]=t,n=y[t>>0]|0,i=y[i+3>>0]|0,n<<24>>24?i=Re(n,i)|0:i=s0[A+(i&255)>>0]|0,i|0){case 20:case 30:case 11:case 10:case 9:case 21:{i=27;break e}default:}i=0}else i=-27;while(0);return i|0}function EC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0;A=i;e:do if((A-t|0)>1)switch(o=y[t>>0]|0,o<<24>>24?o=Re(o,y[t+1>>0]|0)|0:o=s0[r+72+(s0[t+1>>0]|0)>>0]|0,o|0){case 27:{o=TP(r,t+2|0,i,n)|0;break e}case 20:{e[n>>2]=t+2,o=33;break e}case 24:case 22:{s=r+72|0;r:for(;;){if(l=t+2|0,i=A-l|0,(i|0)<=1){o=-1;break e}switch(o=y[l>>0]|0,r=y[t+3>>0]|0,o<<24>>24?o=Re(o,r)|0:o=s0[s+(r&255)>>0]|0,o|0){case 24:case 22:{t=l;break}case 30:{a=15;break r}case 10:case 9:case 21:break r;default:{a=22;break r}}}if((a|0)==22){e[n>>2]=l,o=0;break e}r:do if((a|0)==15){if((i|0)<=3){o=-1;break e}switch(r=y[t+4>>0]|0,o=y[t+5>>0]|0,r<<24>>24?o=Re(r,o)|0:o=s0[s+(o&255)>>0]|0,o|0){case 30:case 10:case 9:case 21:break;default:break r}e[n>>2]=l,o=0;break e}while(0);e[n>>2]=l,o=16;break e}default:{e[n>>2]=t,o=0;break e}}else o=-1;while(0);return o|0}function BC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i-t|0;e:do if((s|0)>1){switch(A=y[t>>0]|0,A<<24>>24?(l=y[t+1>>0]|0,o=Re(A,l)|0):(l=y[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(s=l&255,!(1<<(s&31)&e[56940+((s>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}r=r+72|0,A=t;r:for(;;){if(o=A,A=A+2|0,t=i-A|0,(t|0)<=1){i=-20;break e}switch(s=y[A>>0]|0,o=y[o+3>>0]|0,s<<24>>24?l=Re(s,o)|0:l=s0[r+(o&255)>>0]|0,l|0){case 27:case 26:case 25:case 24:case 22:continue r;case 5:{o=22;break r}case 6:{o=23;break r}case 7:{o=25;break r}case 36:case 30:case 11:case 32:case 21:case 10:case 9:{o=27;break r}case 29:break;default:{o=28;break r}}if(t=o&255,!(1<<(t&31)&e[56940+((t>>>5|(s0[144044+(s&255)>>0]|0)<<3)<<2)>>2])){o=21;break}}if((o|0)==21){e[n>>2]=A,i=0;break}else if((o|0)==22){e[n>>2]=A,i=0;break}else if((o|0)==23){if((t|0)<3){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==25){if((t|0)<4){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==27){e[n>>2]=A,i=20;break}else if((o|0)==28){e[n>>2]=A,i=0;break}}else i=-1;while(0);return i|0}function IC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;for(var l=0,s=0;r=e[t>>2]|0,l=r>>>0>>0,s=e[n>>2]|0,!!(l&s>>>0>>0);)e[t>>2]=r+1,l=y[r>>0]|0,s=e[n>>2]|0,e[n>>2]=s+1,y[s>>0]=l;return((s|0)!=(o|0)|l^1?0:2)|0}function gE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;e:for(;;)switch(o=y[r>>0]|0,l=y[t>>0]|0,o=(o+-97&255)<26?(o&255)+224&255:o,(o<<24>>24==((l+-97&255)<26?(l&255)+224&255:l)<<24>>24?o<<24>>24?0:2:1)&3){case 0:{t=t+1|0,r=r+1|0;break}case 1:{n=3;break e}case 2:{i=1;break e}default:{n=5;break e}}return(n|0)==3&&(i=0),i|0}function xC0(r,t,i,n,o,l,s,A,a,c){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,c=c|0,OP(39,r,t,i,n,o,l,s,A,a,c)|0}function SC0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=g,g=g+144|0,s=l+4|0,n=l+8|0,o=l,e[s>>2]=t,e[o>>2]=n,fi[e[r+56>>2]&127](r,s,i,o,n+127|0)|0;do if((e[s>>2]|0)==(i|0)){if(y[e[o>>2]>>0]=0,gE(n,144315)|0&&(e[r+64>>2]|0)==2)break;r=Ek(n)|0,(r|0)!=-1?r=e[58948+(r<<2)>>2]|0:r=0}else r=0;while(0);return g=l,r|0}function OP(r,t,i,n,o,l,s,A,a,c,w){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,c=c|0,w=w|0;var p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;L=g,g=g+16|0,z=L+8|0,E=L+12|0,v=L+4|0,m=L,e[E>>2]=0,e[v>>2]=0,e[m>>2]=0,_=i+64|0,x=e[_>>2]|0,B=n+(x*5|0)|0,e[z>>2]=B,x=o+(0-(x<<1))|0,B=(yE(i,B,x,v,m,E,z)|0)!=0,p=e[v>>2]|0,n=p;e:do if(B&(p|0)!=0){B=i+24|0,o=e[m>>2]|0;do if(e2[e[B>>2]&127](i,p,o,144340)|0){if(s|0&&(e[s>>2]=e[E>>2]),A?(n=e[z>>2]|0,e[A>>2]=n):n=e[z>>2]|0,!(yE(i,n,x,v,m,E,z)|0)){e[l>>2]=e[z>>2],n=0;break e}if(o=e[v>>2]|0,o|0){n=o,p=o,o=e[m>>2]|0;break}if(!t){n=1;break e}e[l>>2]=e[z>>2],n=0;break e}else if(!t){e[l>>2]=n,n=0;break e}while(0);if(e2[e[B>>2]&127](i,p,o,144348)|0){if(o=e[E>>2]|0,n=o,(((KA(i,o,x)|0)&-33)+-65|0)>>>0>=26){e[l>>2]=n,n=0;break}if(a|0&&(e[a>>2]=n),n=e[z>>2]|0,c|0&&(e[c>>2]=oe[r&63](i,o,n+(0-(e[_>>2]|0))|0)|0),!(yE(i,n,x,v,m,E,z)|0)){e[l>>2]=e[z>>2],n=0;break}if(n=e[v>>2]|0,!n){n=1;break}p=n,o=e[m>>2]|0}if((t|0)!=0|(e2[e[B>>2]&127](i,p,o,144357)|0)==0){e[l>>2]=n,n=0;break}if(o=e[E>>2]|0,n=e[z>>2]|0,p=o,e2[e[B>>2]&127](i,o,n+(0-(e[_>>2]|0))|0,107657)|0)w&&(e[w>>2]=1);else{if(!(e2[e[B>>2]&127](i,o,n+(0-(e[_>>2]|0))|0,107649)|0)){e[l>>2]=p,n=0;break}w&&(e[w>>2]=0)}for(;Nc(KA(i,n,x)|0)|0;)n=n+(e[_>>2]|0)|0;e[z>>2]=n,(n|0)==(x|0)?n=1:(e[l>>2]=n,n=0)}else e[l>>2]=e[z>>2],n=0;while(0);return g=L,n|0}function yE(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0;e:do if((t|0)!=(i|0)){if(!(Nc(KA(r,t,i)|0)|0)){e[s>>2]=t,t=0;break}a=r+64|0;do t=t+(e[a>>2]|0)|0;while(Nc(KA(r,t,i)|0)|0);if((t|0)==(i|0)){e[n>>2]=0,t=1;break}e[n>>2]=t;r:for(;;){switch(A=KA(r,t,i)|0,A|0){case-1:{A=11;break r}case 61:{A=12;break r}default:}if(Nc(A)|0){A=14;break}t=t+(e[a>>2]|0)|0}if((A|0)==11){e[s>>2]=t,t=0;break}else if((A|0)==12)e[o>>2]=t;else if((A|0)==14){e[o>>2]=t;do t=t+(e[a>>2]|0)|0,A=KA(r,t,i)|0;while(Nc(A)|0);if((A|0)!=61){e[s>>2]=t,t=0;break}}if((t|0)==(e[n>>2]|0)){e[s>>2]=t,t=0;break}do t=t+(e[a>>2]|0)|0,A=KA(r,t,i)|0;while(Nc(A)|0);switch(A|0){case 34:case 39:break;default:{e[s>>2]=t,t=0;break e}}o=t+(e[a>>2]|0)|0,e[l>>2]=o,t=A<<24>>24;r:for(;;){if(A=KA(r,o,i)|0,(A|0)==(t|0)){A=30;break}if((A+-48|0)>>>0>9&((A&-33)+-65|0)>>>0>25)switch(A|0){case 45:case 46:case 95:break;default:{A=28;break r}}o=o+(e[a>>2]|0)|0}if((A|0)==28){e[s>>2]=o,t=0;break}else if((A|0)==30){e[s>>2]=o+(e[a>>2]|0),t=1;break}}else e[n>>2]=0,t=1;while(0);return t|0}function KA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return l=g,g=g+16|0,s=l+4|0,n=l+8|0,o=l,e[s>>2]=t,e[o>>2]=n,fi[e[r+56>>2]&127](r,s,i,o,n+1|0)|0,g=l,((e[o>>2]|0)==(n|0)?-1:y[n>>0]|0)|0}function Nc(r){switch(r=r|0,r|0){case 9:case 10:case 13:case 32:{r=1;break}default:r=0}return r|0}function _C0(){return 60092}function zC0(r,t,i){return r=r|0,t=t|0,i=i|0,i=Ek(i)|0,(i|0)==-1?i=0:(y[r+69>>0]=i,e[r>>2]=69,e[r+4>>2]=70,e[r+48>>2]=31,e[r+72>>2]=t,e[t>>2]=r,i=1),i|0}function LC0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,Bk(60456,r,0,t,i,n)|0}function RC0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,Bk(60456,r,1,t,i,n)|0}function GC0(r,t,i,n,o,l,s,A,a,c){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,c=c|0,OP(40,r,t,i,n,o,l,s,A,a,c)|0}function ZC0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=g,g=g+144|0,s=l+4|0,n=l+8|0,o=l,e[s>>2]=t,e[o>>2]=n,fi[e[r+56>>2]&127](r,s,i,o,n+127|0)|0;do if((e[s>>2]|0)==(i|0)){if(y[e[o>>2]>>0]=0,gE(n,144315)|0&&(e[r+64>>2]|0)==2)break;r=Ek(n)|0,(r|0)!=-1?r=e[60456+(r<<2)>>2]|0:r=0}else r=0;while(0);return g=l,r|0}function WC0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=yZ(r,t,i,n)|0,r|0&&(y[r+72+58>>0]=23),r|0}function DC0(r){r=r|0,e[r>>2]=15,e[r+16>>2]=1,e[r+12>>2]=0,e[r+20>>2]=0}function MC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 15:{e[r>>2]=16,r=0;break}case 12:{e[r>>2]=16,r=1;break}case 11:{e[r>>2]=16,r=55;break}case 13:{e[r>>2]=16,r=56;break}case 14:{r=0;break}case 16:{e2[e[o+24>>2]&127](o,i+(e[o+64>>2]<<1)|0,n,144368)|0?(e[r>>2]=17,r=3):l=9;break}case 29:{e[r>>2]=18,r=2;break}default:l=9}return(l|0)==9&&(r=P2(r,t)|0),r|0}function jC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 14:case 15:{r=0;break}case 11:{r=55;break}case 13:{r=56;break}case 16:{e2[e[o+24>>2]&127](o,i+(e[o+64>>2]<<1)|0,n,144368)|0?(e[r>>2]=17,r=3):l=7;break}case 29:{e[r>>2]=18,r=2;break}default:l=7}return(l|0)==7&&(r=P2(r,t)|0),r|0}function NC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 41:case 18:{e[r>>2]=19,r=4;break}default:r=P2(r,t)|0}return r|0}function QC0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,0}function P2(r,t){return r=r|0,t=t|0,(t|0)==28&(e[r+16>>2]|0)==0?r=59:(e[r>>2]=18,r=-1),r|0}function TC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=3;break}case 25:{e[r>>2]=20,r=7;break}case 17:{e[r>>2]=21,r=8;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144376)|0){e[r>>2]=22,r=3;break e}e2[e[l>>2]&127](o,i,n,144383)|0?(e[r>>2]=23,r=3):s=8;break}default:s=8}while(0);return(s|0)==8&&(r=P2(r,t)|0),r|0}function VP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;e:do switch(t|0){case-4:case 15:{r=0;break}case 16:{if(l=o+24|0,s=o+64|0,e2[e[l>>2]&127](o,i+(e[s>>2]<<1)|0,n,144390)|0){e[r>>2]=24,r=11;break e}if(e2[e[l>>2]&127](o,i+(e[s>>2]<<1)|0,n,144397)|0){e[r>>2]=25,r=33;break e}if(e2[e[l>>2]&127](o,i+(e[s>>2]<<1)|0,n,144405)|0){e[r>>2]=26,r=39;break e}e2[e[l>>2]&127](o,i+(e[s>>2]<<1)|0,n,144413)|0?(e[r>>2]=27,r=17):A=14;break}case 11:{r=55;break}case 13:{r=56;break}case 28:{r=60;break}case 26:{e[r>>2]=28,r=3;break}default:A=14}while(0);return(A|0)==14&&(r=P2(r,t)|0),r|0}function FC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,o=t+-11|0,o>>>1|o<<31|0){case 2:{r=0;break}case 0:{r=55;break}case 1:{r=56;break}case 9:{e[r>>2]=18,r=2;break}default:r=P2(r,t)|0}return r|0}function PC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 27:{e[r>>2]=29,r=5;break}default:r=P2(r,t)|0}return r|0}function YC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 27:{e[r>>2]=22,r=6;break}default:r=P2(r,t)|0}return r|0}function OC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 25:{e[r>>2]=20,r=7;break}case 17:{e[r>>2]=21,r=8;break}default:r=P2(r,t)|0}return r|0}function VC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 22:{e[r>>2]=30,r=11;break}case 18:{e[r>>2]=31,r=9;break}default:r=P2(r,t)|0}return r|0}function HC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 41:case 18:{e[r>>2]=32,r=34;break}default:r=P2(r,t)|0}return r|0}function JC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 41:case 18:{e[r>>2]=33,r=40;break}default:r=P2(r,t)|0}return r|0}function UC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=17;break}case 18:{e[r>>2]=34,r=18;break}default:r=P2(r,t)|0}return r|0}function XC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 17:{e[r>>2]=21,r=8;break}default:r=P2(r,t)|0}return r|0}function qC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=17;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144376)|0){e[r>>2]=35,r=17;break e}e2[e[l>>2]&127](o,i,n,144383)|0?(e[r>>2]=36,r=17):s=6;break}default:s=6}while(0);return(s|0)==6&&(r=P2(r,t)|0),r|0}function $C0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=17;break}case 27:{e[r>>2]=37,e[r+8>>2]=17,r=19;break}default:r=P2(r,t)|0}return r|0}function KC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=17;break}case 27:{e[r>>2]=38,r=21;break}default:r=P2(r,t)|0}return r|0}function bC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=17;break}case 27:{e[r>>2]=37,e[r+8>>2]=17,r=19;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=20;break}default:r=P2(r,t)|0}return r|0}function eE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=e[r+8>>2]|0;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=e[r+8>>2]|0;break}default:r=P2(r,t)|0}return r|0}function rE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 33:{e[r>>2]=40,i=0;break}case 34:{i=r+12|0,n=e[i>>2]|0,n?(e[i>>2]=n+-1,i=0):l=7;break}case 15:{i=0;break}case 26:{l=7;break}case-4:{e[r+12>>2]|0?l=7:i=0;break}default:i=VP(r,t,i,n,o)|0}return(l|0)==7&&(i=P2(r,t)|0),i|0}function tE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=0;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144422)|0){e[r>>2]=41,r=0;break e}e2[e[l>>2]&127](o,i,n,144430)|0?(e[r>>2]=42,r=0):s=6;break}default:s=6}while(0);return(s|0)==6&&(r=P2(r,t)|0),r|0}function iE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=0;break}case 25:{e[r>>2]=39,r=r+12|0,e[r>>2]=(e[r>>2]|0)+1,r=0;break}default:r=P2(r,t)|0}return r|0}function nE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=0;break}case 25:{e[r>>2]=39,r=58;break}default:r=P2(r,t)|0}return r|0}function oE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=39;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144437)|0){e[r>>2]=37,e[r+8>>2]=39,r=42;break e}e2[e[l>>2]&127](o,i,n,144443)|0?(e[r>>2]=37,e[r+8>>2]=39,r=41):s=7;break}case 23:{e[r>>2]=43,e[r+4>>2]=1,r=44;break}default:s=7}while(0);return(s|0)==7&&(r=P2(r,t)|0),r|0}function lE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 15:{r=39;break}case 20:{e2[e[o+24>>2]&127](o,i+(e[o+64>>2]|0)|0,n,144447)|0?(e[r>>2]=44,r=43):l=9;break}case 23:{e[r+4>>2]=2,e[r>>2]=45,r=44;break}case 41:case 18:{e[r>>2]=46,r=51;break}case 30:{e[r>>2]=46,r=53;break}case 31:{e[r>>2]=46,r=52;break}case 32:{e[r>>2]=46,r=54;break}default:l=9}return(l|0)==9&&(r=P2(r,t)|0),r|0}function sE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 24:{e[r>>2]=37,e[r+8>>2]=39,r=45;break}case 36:{e[r>>2]=37,e[r+8>>2]=39,r=46;break}case 21:{e[r>>2]=47,r=39;break}default:r=P2(r,t)|0}return r|0}function AE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 23:{r=r+4|0,e[r>>2]=(e[r>>2]|0)+1,r=44;break}case 41:case 18:{e[r>>2]=46,r=51;break}case 30:{e[r>>2]=46,r=53;break}case 31:{e[r>>2]=46,r=52;break}case 32:{e[r>>2]=46,r=54;break}default:r=P2(r,t)|0}return r|0}function uE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 24:{n=r+4|0,o=(e[n>>2]|0)+-1|0,e[n>>2]=o,o||(e[r>>2]=37,e[r+8>>2]=39),r=45;break}case 36:{n=r+4|0,o=(e[n>>2]|0)+-1|0,e[n>>2]=o,o||(e[r>>2]=37,e[r+8>>2]=39),r=46;break}case 35:{n=r+4|0,o=(e[n>>2]|0)+-1|0,e[n>>2]=o,o||(e[r>>2]=37,e[r+8>>2]=39),r=47;break}case 37:{n=r+4|0,o=(e[n>>2]|0)+-1|0,e[n>>2]=o,o||(e[r>>2]=37,e[r+8>>2]=39),r=48;break}case 38:{e[r>>2]=45,r=50;break}case 21:{e[r>>2]=45,r=49;break}default:r=P2(r,t)|0}return r|0}function fE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 41:case 18:{e[r>>2]=48,r=51;break}default:r=P2(r,t)|0}return r|0}function aE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 36:{e[r>>2]=37,e[r+8>>2]=39,r=46;break}case 21:{e[r>>2]=47,r=39;break}default:r=P2(r,t)|0}return r|0}function cE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=33;break}case 41:case 18:{e[r>>2]=49,r=22;break}default:r=P2(r,t)|0}return r|0}function hE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;e:do switch(t|0){case 15:{l=33;break}case 18:{for(s=o+24|0,l=0;A=e[s>>2]|0,!((l|0)>=8);){if(e2[A&127](o,i,n,e[62304+(l<<2)>>2]|0)|0){a=6;break}l=l+1|0}if((a|0)==6){e[r>>2]=50,l=l+23|0;break e}e2[A&127](o,i,n,144413)|0?(e[r>>2]=51,l=33):a=10;break}case 23:{e[r>>2]=52,l=33;break}default:a=10}while(0);return(a|0)==10&&(l=P2(r,t)|0),l|0}function wE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;e:do switch(t|0){case 15:{r=33;break}case 20:{if(l=o+24|0,s=o+64|0,e2[e[l>>2]&127](o,i+(e[s>>2]|0)|0,n,144454)|0){e[r>>2]=32,r=35;break e}if(e2[e[l>>2]&127](o,i+(e[s>>2]|0)|0,n,144462)|0){e[r>>2]=32,r=36;break e}e2[e[l>>2]&127](o,i+(e[s>>2]|0)|0,n,144471)|0?(e[r>>2]=53,r=33):A=9;break}case 27:{e[r>>2]=32,r=37;break}default:A=9}while(0);return(A|0)==9&&(r=P2(r,t)|0),r|0}function dE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 23:{e[r>>2]=54,r=33;break}default:r=P2(r,t)|0}return r|0}function pE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 41:case 18:case 19:{e[r>>2]=55,r=31;break}default:r=P2(r,t)|0}return r|0}function kE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 24:{e[r>>2]=50,r=33;break}case 21:{e[r>>2]=52,r=33;break}default:r=P2(r,t)|0}return r|0}function vE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 18:{e[r>>2]=56,r=32;break}default:r=P2(r,t)|0}return r|0}function mE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 24:{e[r>>2]=50,r=33;break}case 21:{e[r>>2]=54,r=33;break}default:r=P2(r,t)|0}return r|0}function gE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 27:{e[r>>2]=32,r=38;break}default:r=P2(r,t)|0}return r|0}function yE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 18:{e[r>>2]=57,r=10;break}default:r=P2(r,t)|0}return r|0}function CE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=11;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144376)|0){e[r>>2]=58,r=11;break e}e2[e[l>>2]&127](o,i,n,144383)|0?(e[r>>2]=59,r=11):s=7;break}case 27:{e[r>>2]=37,e[r+8>>2]=11,r=12;break}default:s=7}while(0);return(s|0)==7&&(r=P2(r,t)|0),r|0}function EE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 27:{e[r>>2]=60,r=13;break}default:r=P2(r,t)|0}return r|0}function BE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 27:{e[r>>2]=58,r=14;break}default:r=P2(r,t)|0}return r|0}function IE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 15:{r=11;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=15;break}case 18:{e2[e[o+24>>2]&127](o,i,n,144525)|0?(e[r>>2]=61,r=11):l=5;break}default:l=5}return(l|0)==5&&(r=P2(r,t)|0),r|0}function xE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 18:{e[r>>2]=37,e[r+8>>2]=11,r=16;break}default:r=P2(r,t)|0}return r|0}function SE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=11;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144376)|0){e[r>>2]=62,r=11;break e}e2[e[l>>2]&127](o,i,n,144383)|0?(e[r>>2]=63,r=11):s=7;break}case 27:{e[r>>2]=37,e[r+8>>2]=11,r=12;break}default:s=7}while(0);return(s|0)==7&&(r=P2(r,t)|0),r|0}function _E0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 27:{e[r>>2]=64,r=13;break}default:r=P2(r,t)|0}return r|0}function zE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 27:{e[r>>2]=62,r=14;break}default:r=P2(r,t)|0}return r|0}function LE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=15;break}default:r=P2(r,t)|0}return r|0}function Te(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0;W=g,g=g+16|0,m=W;do if(r>>>0<245){if(w=r>>>0<11?16:r+11&-8,r=w>>>3,v=e[47519]|0,i=v>>>r,i&3|0)return t=(i&1^1)+r|0,r=190116+(t<<1<<2)|0,i=r+8|0,n=e[i>>2]|0,o=n+8|0,l=e[o>>2]|0,(l|0)==(r|0)?e[47519]=v&~(1<>2]=r,e[i>>2]=l),G=t<<3,e[n+4>>2]=G|3,G=n+G+4|0,e[G>>2]=e[G>>2]|1,G=o,g=W,G|0;if(p=e[47521]|0,w>>>0>p>>>0){if(i|0)return t=2<>>12&16,t=t>>>A,i=t>>>5&8,t=t>>>i,l=t>>>2&4,t=t>>>l,r=t>>>1&2,t=t>>>r,n=t>>>1&1,n=(i|A|l|r|n)+(t>>>n)|0,t=190116+(n<<1<<2)|0,r=t+8|0,l=e[r>>2]|0,A=l+8|0,i=e[A>>2]|0,(i|0)==(t|0)?(r=v&~(1<>2]=t,e[r>>2]=i,r=v),G=n<<3,s=G-w|0,e[l+4>>2]=w|3,o=l+w|0,e[o+4>>2]=s|1,e[l+G>>2]=s,p|0&&(n=e[47524]|0,t=p>>>3,i=190116+(t<<1<<2)|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=n,e[t+12>>2]=n,e[n+8>>2]=t,e[n+12>>2]=i),e[47521]=s,e[47524]=o,G=A,g=W,G|0;if(a=e[47520]|0,a){if(i=(a&0-a)+-1|0,A=i>>>12&16,i=i>>>A,s=i>>>5&8,i=i>>>s,c=i>>>2&4,i=i>>>c,n=i>>>1&2,i=i>>>n,r=i>>>1&1,r=e[190380+((s|A|c|n|r)+(i>>>r)<<2)>>2]|0,i=(e[r+4>>2]&-8)-w|0,n=e[r+16+(((e[r+16>>2]|0)==0&1)<<2)>>2]|0,!n)c=r,s=i;else{do A=(e[n+4>>2]&-8)-w|0,c=A>>>0>>0,i=c?A:i,r=c?n:r,n=e[n+16+(((e[n+16>>2]|0)==0&1)<<2)>>2]|0;while(n|0);c=r,s=i}if(A=c+w|0,A>>>0>c>>>0){o=e[c+24>>2]|0,t=e[c+12>>2]|0;do if((t|0)==(c|0)){if(r=c+20|0,t=e[r>>2]|0,!t&&(r=c+16|0,t=e[r>>2]|0,!t)){i=0;break}for(;;){if(i=t+20|0,n=e[i>>2]|0,n|0){t=n,r=i;continue}if(i=t+16|0,n=e[i>>2]|0,n)t=n,r=i;else break}e[r>>2]=0,i=t}else i=e[c+8>>2]|0,e[i+12>>2]=t,e[t+8>>2]=i,i=t;while(0);do if(o|0){if(t=e[c+28>>2]|0,r=190380+(t<<2)|0,(c|0)==(e[r>>2]|0)){if(e[r>>2]=i,!i){e[47520]=a&~(1<>2]|0)!=(c|0)&1)<<2)>>2]=i,!i)break;e[i+24>>2]=o,t=e[c+16>>2]|0,t|0&&(e[i+16>>2]=t,e[t+24>>2]=i),t=e[c+20>>2]|0,t|0&&(e[i+20>>2]=t,e[t+24>>2]=i)}while(0);return s>>>0<16?(G=s+w|0,e[c+4>>2]=G|3,G=c+G+4|0,e[G>>2]=e[G>>2]|1):(e[c+4>>2]=w|3,e[A+4>>2]=s|1,e[A+s>>2]=s,p|0&&(n=e[47524]|0,t=p>>>3,i=190116+(t<<1<<2)|0,t=1<>2]|0):(e[47519]=v|t,t=i,r=i+8|0),e[r>>2]=n,e[t+12>>2]=n,e[n+8>>2]=t,e[n+12>>2]=i),e[47521]=s,e[47524]=A),G=c+8|0,g=W,G|0}else p=w}else p=w}else p=w}else if(r>>>0<=4294967231)if(r=r+11|0,w=r&-8,c=e[47520]|0,c){n=0-w|0,r=r>>>8,r?w>>>0>16777215?a=31:(v=(r+1048320|0)>>>16&8,L=r<>>16&4,L=L<>>16&2,a=14-(p|v|a)+(L<>>15)|0,a=w>>>(a+7|0)&1|a<<1):a=0,i=e[190380+(a<<2)>>2]|0;e:do if(!i)i=0,r=0,L=57;else for(r=0,A=i,s=w<<((a|0)==31?0:25-(a>>>1)|0),i=0;;){if(o=(e[A+4>>2]&-8)-w|0,o>>>0>>0)if(o)r=A,n=o;else{n=0,i=A,r=A,L=61;break e}if(o=e[A+20>>2]|0,A=e[A+16+(s>>>31<<2)>>2]|0,i=(o|0)==0|(o|0)==(A|0)?i:o,o=(A|0)==0,o){L=57;break}else s=s<<((o^1)&1)}while(0);if((L|0)==57){if((i|0)==0&(r|0)==0){if(r=2<>>12&16,v=v>>>A,s=v>>>5&8,v=v>>>s,a=v>>>2&4,v=v>>>a,p=v>>>1&2,v=v>>>p,i=v>>>1&1,r=0,i=e[190380+((s|A|a|p|i)+(v>>>i)<<2)>>2]|0}i?L=61:(A=r,s=n)}if((L|0)==61)for(;;)if(L=0,p=(e[i+4>>2]&-8)-w|0,v=p>>>0>>0,n=v?p:n,r=v?i:r,i=e[i+16+(((e[i+16>>2]|0)==0&1)<<2)>>2]|0,i)L=61;else{A=r,s=n;break}if(A|0&&s>>>0<((e[47521]|0)-w|0)>>>0){if(l=A+w|0,l>>>0<=A>>>0)return G=0,g=W,G|0;o=e[A+24>>2]|0,t=e[A+12>>2]|0;do if((t|0)==(A|0)){if(r=A+20|0,t=e[r>>2]|0,!t&&(r=A+16|0,t=e[r>>2]|0,!t)){t=0;break}for(;;){if(i=t+20|0,n=e[i>>2]|0,n|0){t=n,r=i;continue}if(i=t+16|0,n=e[i>>2]|0,n)t=n,r=i;else break}e[r>>2]=0}else G=e[A+8>>2]|0,e[G+12>>2]=t,e[t+8>>2]=G;while(0);do if(o){if(r=e[A+28>>2]|0,i=190380+(r<<2)|0,(A|0)==(e[i>>2]|0)){if(e[i>>2]=t,!t){n=c&~(1<>2]|0)!=(A|0)&1)<<2)>>2]=t,!t){n=c;break}e[t+24>>2]=o,r=e[A+16>>2]|0,r|0&&(e[t+16>>2]=r,e[r+24>>2]=t),r=e[A+20>>2]|0,r&&(e[t+20>>2]=r,e[r+24>>2]=t),n=c}else n=c;while(0);do if(s>>>0>=16){if(e[A+4>>2]=w|3,e[l+4>>2]=s|1,e[l+s>>2]=s,t=s>>>3,s>>>0<256){i=190116+(t<<1<<2)|0,r=e[47519]|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=l,e[t+12>>2]=l,e[l+8>>2]=t,e[l+12>>2]=i;break}if(t=s>>>8,t?s>>>0>16777215?t=31:(L=(t+1048320|0)>>>16&8,G=t<>>16&4,G=G<<_,t=(G+245760|0)>>>16&2,t=14-(_|L|t)+(G<>>15)|0,t=s>>>(t+7|0)&1|t<<1):t=0,i=190380+(t<<2)|0,e[l+28>>2]=t,r=l+16|0,e[r+4>>2]=0,e[r>>2]=0,r=1<>2]=l,e[l+24>>2]=i,e[l+12>>2]=l,e[l+8>>2]=l;break}for(r=s<<((t|0)==31?0:25-(t>>>1)|0),i=e[i>>2]|0;;){if((e[i+4>>2]&-8|0)==(s|0)){L=97;break}if(n=i+16+(r>>>31<<2)|0,t=e[n>>2]|0,t)r=r<<1,i=t;else{L=96;break}}if((L|0)==96){e[n>>2]=l,e[l+24>>2]=i,e[l+12>>2]=l,e[l+8>>2]=l;break}else if((L|0)==97){L=i+8|0,G=e[L>>2]|0,e[G+12>>2]=l,e[L>>2]=l,e[l+8>>2]=G,e[l+12>>2]=i,e[l+24>>2]=0;break}}else G=s+w|0,e[A+4>>2]=G|3,G=A+G+4|0,e[G>>2]=e[G>>2]|1;while(0);return G=A+8|0,g=W,G|0}else p=w}else p=w;else p=-1;while(0);if(i=e[47521]|0,i>>>0>=p>>>0)return t=i-p|0,r=e[47524]|0,t>>>0>15?(G=r+p|0,e[47524]=G,e[47521]=t,e[G+4>>2]=t|1,e[r+i>>2]=t,e[r+4>>2]=p|3):(e[47521]=0,e[47524]=0,e[r+4>>2]=i|3,G=r+i+4|0,e[G>>2]=e[G>>2]|1),G=r+8|0,g=W,G|0;if(A=e[47522]|0,A>>>0>p>>>0)return _=A-p|0,e[47522]=_,G=e[47525]|0,L=G+p|0,e[47525]=L,e[L+4>>2]=_|1,e[G+4>>2]=p|3,G=G+8|0,g=W,G|0;if(e[47637]|0?r=e[47639]|0:(e[47639]=4096,e[47638]=4096,e[47640]=-1,e[47641]=-1,e[47642]=0,e[47630]=0,e[47637]=m&-16^1431655768,r=4096),a=p+48|0,c=p+47|0,s=r+c|0,o=0-r|0,w=s&o,w>>>0<=p>>>0||(r=e[47629]|0,r|0&&(v=e[47627]|0,m=v+w|0,m>>>0<=v>>>0|m>>>0>r>>>0)))return G=0,g=W,G|0;e:do if(e[47630]&4)t=0,L=133;else{i=e[47525]|0;r:do if(i){for(n=190524;r=e[n>>2]|0,!(r>>>0<=i>>>0&&(x=n+4|0,(r+(e[x>>2]|0)|0)>>>0>i>>>0));)if(r=e[n+8>>2]|0,r)n=r;else{L=118;break r}if(t=s-A&o,t>>>0<2147483647)if(r=ou(t|0)|0,(r|0)==((e[n>>2]|0)+(e[x>>2]|0)|0)){if((r|0)!=-1){s=t,l=r,L=135;break e}}else n=r,L=126;else t=0}else L=118;while(0);do if((L|0)==118)if(i=ou(0)|0,(i|0)!=-1&&(t=i,E=e[47638]|0,B=E+-1|0,t=(B&t|0?(B+t&0-E)-t|0:0)+w|0,E=e[47627]|0,B=t+E|0,t>>>0>p>>>0&t>>>0<2147483647)){if(x=e[47629]|0,x|0&&B>>>0<=E>>>0|B>>>0>x>>>0){t=0;break}if(r=ou(t|0)|0,(r|0)==(i|0)){s=t,l=i,L=135;break e}else n=r,L=126}else t=0;while(0);do if((L|0)==126){if(i=0-t|0,!(a>>>0>t>>>0&(t>>>0<2147483647&(n|0)!=-1)))if((n|0)==-1){t=0;break}else{s=t,l=n,L=135;break e}if(r=e[47639]|0,r=c-t+r&0-r,r>>>0>=2147483647){s=t,l=n,L=135;break e}if((ou(r|0)|0)==-1){ou(i|0)|0,t=0;break}else{s=r+t|0,l=n,L=135;break e}}while(0);e[47630]=e[47630]|4,L=133}while(0);if((L|0)==133&&w>>>0<2147483647&&(l=ou(w|0)|0,x=ou(0)|0,z=x-l|0,_=z>>>0>(p+40|0)>>>0,!((l|0)==-1|_^1|l>>>0>>0&((l|0)!=-1&(x|0)!=-1)^1))&&(s=_?z:t,L=135),(L|0)==135){t=(e[47627]|0)+s|0,e[47627]=t,t>>>0>(e[47628]|0)>>>0&&(e[47628]=t),a=e[47525]|0;do if(a){for(t=190524;;){if(r=e[t>>2]|0,i=t+4|0,n=e[i>>2]|0,(l|0)==(r+n|0)){L=143;break}if(o=e[t+8>>2]|0,o)t=o;else break}if((L|0)==143&&!(e[t+12>>2]&8|0)&&l>>>0>a>>>0&r>>>0<=a>>>0){e[i>>2]=n+s,G=(e[47522]|0)+s|0,_=a+8|0,_=_&7|0?0-_&7:0,L=a+_|0,_=G-_|0,e[47525]=L,e[47522]=_,e[L+4>>2]=_|1,e[a+G+4>>2]=40,e[47526]=e[47641];break}for(l>>>0<(e[47523]|0)>>>0&&(e[47523]=l),r=l+s|0,t=190524;;){if((e[t>>2]|0)==(r|0)){L=151;break}if(t=e[t+8>>2]|0,!t){r=190524;break}}if((L|0)==151)if(e[t+12>>2]&8)r=190524;else{e[t>>2]=l,w=t+4|0,e[w>>2]=(e[w>>2]|0)+s,w=l+8|0,w=l+(w&7|0?0-w&7:0)|0,t=r+8|0,t=r+(t&7|0?0-t&7:0)|0,c=w+p|0,A=t-w-p|0,e[w+4>>2]=p|3;do if((a|0)!=(t|0)){if((e[47524]|0)==(t|0)){G=(e[47521]|0)+A|0,e[47521]=G,e[47524]=c,e[c+4>>2]=G|1,e[c+G>>2]=G;break}if(r=e[t+4>>2]|0,(r&3|0)==1){s=r&-8,n=r>>>3;e:do if(r>>>0<256)if(r=e[t+8>>2]|0,i=e[t+12>>2]|0,(i|0)==(r|0)){e[47519]=e[47519]&~(1<>2]=i,e[i+8>>2]=r;break}else{l=e[t+24>>2]|0,r=e[t+12>>2]|0;do if((r|0)==(t|0)){if(n=t+16|0,i=n+4|0,r=e[i>>2]|0,!r)if(r=e[n>>2]|0,r)i=n;else{r=0;break}for(;;){if(n=r+20|0,o=e[n>>2]|0,o|0){r=o,i=n;continue}if(n=r+16|0,o=e[n>>2]|0,o)r=o,i=n;else break}e[i>>2]=0}else G=e[t+8>>2]|0,e[G+12>>2]=r,e[r+8>>2]=G;while(0);if(!l)break;i=e[t+28>>2]|0,n=190380+(i<<2)|0;do if((e[n>>2]|0)!=(t|0)){if(e[l+16+(((e[l+16>>2]|0)!=(t|0)&1)<<2)>>2]=r,!r)break e}else{if(e[n>>2]=r,r|0)break;e[47520]=e[47520]&~(1<>2]=l,i=t+16|0,n=e[i>>2]|0,n|0&&(e[r+16>>2]=n,e[n+24>>2]=r),i=e[i+4>>2]|0,!i)break;e[r+20>>2]=i,e[i+24>>2]=r}while(0);t=t+s|0,o=s+A|0}else o=A;if(t=t+4|0,e[t>>2]=e[t>>2]&-2,e[c+4>>2]=o|1,e[c+o>>2]=o,t=o>>>3,o>>>0<256){i=190116+(t<<1<<2)|0,r=e[47519]|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=c,e[t+12>>2]=c,e[c+8>>2]=t,e[c+12>>2]=i;break}t=o>>>8;do if(!t)t=0;else{if(o>>>0>16777215){t=31;break}L=(t+1048320|0)>>>16&8,G=t<>>16&4,G=G<<_,t=(G+245760|0)>>>16&2,t=14-(_|L|t)+(G<>>15)|0,t=o>>>(t+7|0)&1|t<<1}while(0);if(n=190380+(t<<2)|0,e[c+28>>2]=t,r=c+16|0,e[r+4>>2]=0,e[r>>2]=0,r=e[47520]|0,i=1<>2]=c,e[c+24>>2]=n,e[c+12>>2]=c,e[c+8>>2]=c;break}for(r=o<<((t|0)==31?0:25-(t>>>1)|0),i=e[n>>2]|0;;){if((e[i+4>>2]&-8|0)==(o|0)){L=192;break}if(n=i+16+(r>>>31<<2)|0,t=e[n>>2]|0,t)r=r<<1,i=t;else{L=191;break}}if((L|0)==191){e[n>>2]=c,e[c+24>>2]=i,e[c+12>>2]=c,e[c+8>>2]=c;break}else if((L|0)==192){L=i+8|0,G=e[L>>2]|0,e[G+12>>2]=c,e[L>>2]=c,e[c+8>>2]=G,e[c+12>>2]=i,e[c+24>>2]=0;break}}else G=(e[47522]|0)+A|0,e[47522]=G,e[47525]=c,e[c+4>>2]=G|1;while(0);return G=w+8|0,g=W,G|0}for(;t=e[r>>2]|0,!(t>>>0<=a>>>0&&(G=t+(e[r+4>>2]|0)|0,G>>>0>a>>>0));)r=e[r+8>>2]|0;o=G+-47|0,r=o+8|0,r=o+(r&7|0?0-r&7:0)|0,o=a+16|0,r=r>>>0>>0?a:r,t=r+8|0,i=s+-40|0,_=l+8|0,_=_&7|0?0-_&7:0,L=l+_|0,_=i-_|0,e[47525]=L,e[47522]=_,e[L+4>>2]=_|1,e[l+i+4>>2]=40,e[47526]=e[47641],i=r+4|0,e[i>>2]=27,e[t>>2]=e[47631],e[t+4>>2]=e[47632],e[t+8>>2]=e[47633],e[t+12>>2]=e[47634],e[47631]=l,e[47632]=s,e[47634]=0,e[47633]=t,t=r+24|0;do L=t,t=t+4|0,e[t>>2]=7;while((L+8|0)>>>0>>0);if((r|0)!=(a|0)){if(l=r-a|0,e[i>>2]=e[i>>2]&-2,e[a+4>>2]=l|1,e[r>>2]=l,t=l>>>3,l>>>0<256){i=190116+(t<<1<<2)|0,r=e[47519]|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=a,e[t+12>>2]=a,e[a+8>>2]=t,e[a+12>>2]=i;break}if(t=l>>>8,t?l>>>0>16777215?i=31:(L=(t+1048320|0)>>>16&8,G=t<>>16&4,G=G<<_,i=(G+245760|0)>>>16&2,i=14-(_|L|i)+(G<>>15)|0,i=l>>>(i+7|0)&1|i<<1):i=0,n=190380+(i<<2)|0,e[a+28>>2]=i,e[a+20>>2]=0,e[o>>2]=0,t=e[47520]|0,r=1<>2]=a,e[a+24>>2]=n,e[a+12>>2]=a,e[a+8>>2]=a;break}for(r=l<<((i|0)==31?0:25-(i>>>1)|0),i=e[n>>2]|0;;){if((e[i+4>>2]&-8|0)==(l|0)){L=213;break}if(n=i+16+(r>>>31<<2)|0,t=e[n>>2]|0,t)r=r<<1,i=t;else{L=212;break}}if((L|0)==212){e[n>>2]=a,e[a+24>>2]=i,e[a+12>>2]=a,e[a+8>>2]=a;break}else if((L|0)==213){L=i+8|0,G=e[L>>2]|0,e[G+12>>2]=a,e[L>>2]=a,e[a+8>>2]=G,e[a+12>>2]=i,e[a+24>>2]=0;break}}}else G=e[47523]|0,(G|0)==0|l>>>0>>0&&(e[47523]=l),e[47631]=l,e[47632]=s,e[47634]=0,e[47528]=e[47637],e[47527]=-1,e[47532]=190116,e[47531]=190116,e[47534]=190124,e[47533]=190124,e[47536]=190132,e[47535]=190132,e[47538]=190140,e[47537]=190140,e[47540]=190148,e[47539]=190148,e[47542]=190156,e[47541]=190156,e[47544]=190164,e[47543]=190164,e[47546]=190172,e[47545]=190172,e[47548]=190180,e[47547]=190180,e[47550]=190188,e[47549]=190188,e[47552]=190196,e[47551]=190196,e[47554]=190204,e[47553]=190204,e[47556]=190212,e[47555]=190212,e[47558]=190220,e[47557]=190220,e[47560]=190228,e[47559]=190228,e[47562]=190236,e[47561]=190236,e[47564]=190244,e[47563]=190244,e[47566]=190252,e[47565]=190252,e[47568]=190260,e[47567]=190260,e[47570]=190268,e[47569]=190268,e[47572]=190276,e[47571]=190276,e[47574]=190284,e[47573]=190284,e[47576]=190292,e[47575]=190292,e[47578]=190300,e[47577]=190300,e[47580]=190308,e[47579]=190308,e[47582]=190316,e[47581]=190316,e[47584]=190324,e[47583]=190324,e[47586]=190332,e[47585]=190332,e[47588]=190340,e[47587]=190340,e[47590]=190348,e[47589]=190348,e[47592]=190356,e[47591]=190356,e[47594]=190364,e[47593]=190364,G=s+-40|0,_=l+8|0,_=_&7|0?0-_&7:0,L=l+_|0,_=G-_|0,e[47525]=L,e[47522]=_,e[L+4>>2]=_|1,e[l+G+4>>2]=40,e[47526]=e[47641];while(0);if(t=e[47522]|0,t>>>0>p>>>0)return _=t-p|0,e[47522]=_,G=e[47525]|0,L=G+p|0,e[47525]=L,e[L+4>>2]=_|1,e[G+4>>2]=p|3,G=G+8|0,g=W,G|0}return e[(kr()|0)>>2]=12,G=0,g=W,G|0}function r0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;if(r){i=r+-8|0,o=e[47523]|0,r=e[r+-4>>2]|0,t=r&-8,a=i+t|0;do if(r&1)A=i,s=i;else{if(n=e[i>>2]|0,!(r&3)||(s=i+(0-n)|0,l=n+t|0,s>>>0>>0))return;if((e[47524]|0)==(s|0)){if(r=a+4|0,t=e[r>>2]|0,(t&3|0)!=3){A=s,t=l;break}e[47521]=l,e[r>>2]=t&-2,e[s+4>>2]=l|1,e[s+l>>2]=l;return}if(i=n>>>3,n>>>0<256)if(r=e[s+8>>2]|0,t=e[s+12>>2]|0,(t|0)==(r|0)){e[47519]=e[47519]&~(1<>2]=t,e[t+8>>2]=r,A=s,t=l;break}o=e[s+24>>2]|0,r=e[s+12>>2]|0;do if((r|0)==(s|0)){if(i=s+16|0,t=i+4|0,r=e[t>>2]|0,!r)if(r=e[i>>2]|0,r)t=i;else{r=0;break}for(;;){if(i=r+20|0,n=e[i>>2]|0,n|0){r=n,t=i;continue}if(i=r+16|0,n=e[i>>2]|0,n)r=n,t=i;else break}e[t>>2]=0}else A=e[s+8>>2]|0,e[A+12>>2]=r,e[r+8>>2]=A;while(0);if(o){if(t=e[s+28>>2]|0,i=190380+(t<<2)|0,(e[i>>2]|0)==(s|0)){if(e[i>>2]=r,!r){e[47520]=e[47520]&~(1<>2]|0)!=(s|0)&1)<<2)>>2]=r,!r){A=s,t=l;break}e[r+24>>2]=o,t=s+16|0,i=e[t>>2]|0,i|0&&(e[r+16>>2]=i,e[i+24>>2]=r),t=e[t+4>>2]|0,t?(e[r+20>>2]=t,e[t+24>>2]=r,A=s,t=l):(A=s,t=l)}else A=s,t=l}while(0);if(!(s>>>0>=a>>>0)&&(r=a+4|0,n=e[r>>2]|0,!!(n&1))){if(n&2)e[r>>2]=n&-2,e[A+4>>2]=t|1,e[s+t>>2]=t,o=t;else{if((e[47525]|0)==(a|0)){if(a=(e[47522]|0)+t|0,e[47522]=a,e[47525]=A,e[A+4>>2]=a|1,(A|0)!=(e[47524]|0))return;e[47524]=0,e[47521]=0;return}if((e[47524]|0)==(a|0)){a=(e[47521]|0)+t|0,e[47521]=a,e[47524]=s,e[A+4>>2]=a|1,e[s+a>>2]=a;return}o=(n&-8)+t|0,i=n>>>3;do if(n>>>0<256)if(t=e[a+8>>2]|0,r=e[a+12>>2]|0,(r|0)==(t|0)){e[47519]=e[47519]&~(1<>2]=r,e[r+8>>2]=t;break}else{l=e[a+24>>2]|0,r=e[a+12>>2]|0;do if((r|0)==(a|0)){if(i=a+16|0,t=i+4|0,r=e[t>>2]|0,!r)if(r=e[i>>2]|0,r)t=i;else{i=0;break}for(;;){if(i=r+20|0,n=e[i>>2]|0,n|0){r=n,t=i;continue}if(i=r+16|0,n=e[i>>2]|0,n)r=n,t=i;else break}e[t>>2]=0,i=r}else i=e[a+8>>2]|0,e[i+12>>2]=r,e[r+8>>2]=i,i=r;while(0);if(l|0){if(r=e[a+28>>2]|0,t=190380+(r<<2)|0,(e[t>>2]|0)==(a|0)){if(e[t>>2]=i,!i){e[47520]=e[47520]&~(1<>2]|0)!=(a|0)&1)<<2)>>2]=i,!i)break;e[i+24>>2]=l,r=a+16|0,t=e[r>>2]|0,t|0&&(e[i+16>>2]=t,e[t+24>>2]=i),r=e[r+4>>2]|0,r|0&&(e[i+20>>2]=r,e[r+24>>2]=i)}}while(0);if(e[A+4>>2]=o|1,e[s+o>>2]=o,(A|0)==(e[47524]|0)){e[47521]=o;return}}if(r=o>>>3,o>>>0<256){i=190116+(r<<1<<2)|0,t=e[47519]|0,r=1<>2]|0):(e[47519]=t|r,r=i,t=i+8|0),e[t>>2]=A,e[r+12>>2]=A,e[A+8>>2]=r,e[A+12>>2]=i;return}r=o>>>8,r?o>>>0>16777215?r=31:(s=(r+1048320|0)>>>16&8,a=r<>>16&4,a=a<>>16&2,r=14-(l|s|r)+(a<>>15)|0,r=o>>>(r+7|0)&1|r<<1):r=0,n=190380+(r<<2)|0,e[A+28>>2]=r,e[A+20>>2]=0,e[A+16>>2]=0,t=e[47520]|0,i=1<>>1)|0),i=e[n>>2]|0;;){if((e[i+4>>2]&-8|0)==(o|0)){r=73;break}if(n=i+16+(t>>>31<<2)|0,r=e[n>>2]|0,r)t=t<<1,i=r;else{r=72;break}}if((r|0)==72){e[n>>2]=A,e[A+24>>2]=i,e[A+12>>2]=A,e[A+8>>2]=A;break}else if((r|0)==73){s=i+8|0,a=e[s>>2]|0,e[a+12>>2]=A,e[s>>2]=A,e[A+8>>2]=a,e[A+12>>2]=i,e[A+24>>2]=0;break}}else e[47520]=t|i,e[n>>2]=A,e[A+24>>2]=n,e[A+12>>2]=A,e[A+8>>2]=A;while(0);if(a=(e[47527]|0)+-1|0,e[47527]=a,!a)r=190532;else return;for(;r=e[r>>2]|0,r;)r=r+8|0;e[47527]=-1}}}function Un(r,t){r=r|0,t=t|0;var i=0;return r?(i=N0(t,r)|0,(t|r)>>>0>65535&&(i=((i>>>0)/(r>>>0)|0|0)==(t|0)?i:-1)):i=0,r=Te(i)|0,!r||!(e[r+-4>>2]&3)||Ur(r|0,0,i|0)|0,r|0}function O2(r,t){r=r|0,t=t|0;var i=0,n=0;return r?t>>>0>4294967231?(e[(kr()|0)>>2]=12,t=0,t|0):(i=RE0(r+-8|0,t>>>0<11?16:t+11&-8)|0,i|0?(t=i+8|0,t|0):(i=Te(t)|0,i?(n=e[r+-4>>2]|0,n=(n&-8)-(n&3|0?4:8)|0,u2(i|0,r|0,(n>>>0>>0?n:t)|0)|0,r0(r),t=i,t|0):(t=0,t|0))):(t=Te(t)|0,t|0)}function RE0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;if(w=r+4|0,p=e[w>>2]|0,i=p&-8,A=r+i|0,!(p&3))return t>>>0<256?(r=0,r|0):(i>>>0>=(t+4|0)>>>0&&(i-t|0)>>>0<=e[47639]<<1>>>0||(r=0),r|0);if(i>>>0>=t>>>0)return i=i-t|0,i>>>0<=15||(c=r+t|0,e[w>>2]=p&1|t|2,e[c+4>>2]=i|3,p=A+4|0,e[p>>2]=e[p>>2]|1,xk(c,i)),r|0;if((e[47525]|0)==(A|0))return c=(e[47522]|0)+i|0,i=c-t|0,n=r+t|0,c>>>0<=t>>>0?(r=0,r|0):(e[w>>2]=p&1|t|2,e[n+4>>2]=i|1,e[47525]=n,e[47522]=i,r|0);if((e[47524]|0)==(A|0))return n=(e[47521]|0)+i|0,n>>>0>>0?(r=0,r|0):(i=n-t|0,i>>>0>15?(c=r+t|0,n=r+n|0,e[w>>2]=p&1|t|2,e[c+4>>2]=i|1,e[n>>2]=i,n=n+4|0,e[n>>2]=e[n>>2]&-2,n=c):(e[w>>2]=p&1|n|2,n=r+n+4|0,e[n>>2]=e[n>>2]|1,n=0,i=0),e[47521]=i,e[47524]=n,r|0);if(n=e[A+4>>2]|0,n&2|0||(a=(n&-8)+i|0,a>>>0>>0))return r=0,r|0;c=a-t|0,o=n>>>3;do if(n>>>0<256)if(n=e[A+8>>2]|0,i=e[A+12>>2]|0,(i|0)==(n|0)){e[47519]=e[47519]&~(1<>2]=i,e[i+8>>2]=n;break}else{s=e[A+24>>2]|0,i=e[A+12>>2]|0;do if((i|0)==(A|0)){if(o=A+16|0,n=o+4|0,i=e[n>>2]|0,i)l=n;else if(i=e[o>>2]|0,i)l=o;else{o=0;break}for(;;){if(o=i+20|0,n=e[o>>2]|0,n|0){i=n,l=o;continue}if(n=i+16|0,o=e[n>>2]|0,o)i=o,l=n;else break}e[l>>2]=0,o=i}else o=e[A+8>>2]|0,e[o+12>>2]=i,e[i+8>>2]=o,o=i;while(0);if(s|0){if(i=e[A+28>>2]|0,n=190380+(i<<2)|0,(e[n>>2]|0)==(A|0)){if(e[n>>2]=o,!o){e[47520]=e[47520]&~(1<>2]|0)!=(A|0)&1)<<2)>>2]=o,!o)break;e[o+24>>2]=s,i=A+16|0,n=e[i>>2]|0,n|0&&(e[o+16>>2]=n,e[n+24>>2]=o),i=e[i+4>>2]|0,i|0&&(e[o+20>>2]=i,e[i+24>>2]=o)}}while(0);return c>>>0<16?(e[w>>2]=a|p&1|2,p=r+a+4|0,e[p>>2]=e[p>>2]|1,r|0):(A=r+t|0,e[w>>2]=p&1|t|2,e[A+4>>2]=c|3,p=r+a+4|0,e[p>>2]=e[p>>2]|1,xk(A,c),r|0)}function xk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=r+t|0,i=e[r+4>>2]|0;do if(i&1)s=r;else{if(o=e[r>>2]|0,!(i&3))return;if(s=r+(0-o)|0,t=o+t|0,(e[47524]|0)==(s|0)){if(r=A+4|0,i=e[r>>2]|0,(i&3|0)!=3)break;e[47521]=t,e[r>>2]=i&-2,e[s+4>>2]=t|1,e[A>>2]=t;return}if(n=o>>>3,o>>>0<256)if(r=e[s+8>>2]|0,i=e[s+12>>2]|0,(i|0)==(r|0)){e[47519]=e[47519]&~(1<>2]=i,e[i+8>>2]=r;break}l=e[s+24>>2]|0,r=e[s+12>>2]|0;do if((r|0)==(s|0)){if(n=s+16|0,i=n+4|0,r=e[i>>2]|0,!r)if(r=e[n>>2]|0,r)i=n;else{r=0;break}for(;;){if(n=r+20|0,o=e[n>>2]|0,o|0){r=o,i=n;continue}if(n=r+16|0,o=e[n>>2]|0,o)r=o,i=n;else break}e[i>>2]=0}else o=e[s+8>>2]|0,e[o+12>>2]=r,e[r+8>>2]=o;while(0);if(l){if(i=e[s+28>>2]|0,n=190380+(i<<2)|0,(e[n>>2]|0)==(s|0)){if(e[n>>2]=r,!r){e[47520]=e[47520]&~(1<>2]|0)!=(s|0)&1)<<2)>>2]=r,!r)break;e[r+24>>2]=l,i=s+16|0,n=e[i>>2]|0,n|0&&(e[r+16>>2]=n,e[n+24>>2]=r),i=e[i+4>>2]|0,i&&(e[r+20>>2]=i,e[i+24>>2]=r)}}while(0);if(r=A+4|0,n=e[r>>2]|0,n&2)e[r>>2]=n&-2,e[s+4>>2]=t|1,e[s+t>>2]=t,o=t;else{if((e[47525]|0)==(A|0)){if(A=(e[47522]|0)+t|0,e[47522]=A,e[47525]=s,e[s+4>>2]=A|1,(s|0)!=(e[47524]|0))return;e[47524]=0,e[47521]=0;return}if((e[47524]|0)==(A|0)){A=(e[47521]|0)+t|0,e[47521]=A,e[47524]=s,e[s+4>>2]=A|1,e[s+A>>2]=A;return}o=(n&-8)+t|0,i=n>>>3;do if(n>>>0<256)if(r=e[A+8>>2]|0,t=e[A+12>>2]|0,(t|0)==(r|0)){e[47519]=e[47519]&~(1<>2]=t,e[t+8>>2]=r;break}else{l=e[A+24>>2]|0,t=e[A+12>>2]|0;do if((t|0)==(A|0)){if(i=A+16|0,r=i+4|0,t=e[r>>2]|0,!t)if(t=e[i>>2]|0,t)r=i;else{i=0;break}for(;;){if(i=t+20|0,n=e[i>>2]|0,n|0){t=n,r=i;continue}if(i=t+16|0,n=e[i>>2]|0,n)t=n,r=i;else break}e[r>>2]=0,i=t}else i=e[A+8>>2]|0,e[i+12>>2]=t,e[t+8>>2]=i,i=t;while(0);if(l|0){if(t=e[A+28>>2]|0,r=190380+(t<<2)|0,(e[r>>2]|0)==(A|0)){if(e[r>>2]=i,!i){e[47520]=e[47520]&~(1<>2]|0)!=(A|0)&1)<<2)>>2]=i,!i)break;e[i+24>>2]=l,t=A+16|0,r=e[t>>2]|0,r|0&&(e[i+16>>2]=r,e[r+24>>2]=i),t=e[t+4>>2]|0,t|0&&(e[i+20>>2]=t,e[t+24>>2]=i)}}while(0);if(e[s+4>>2]=o|1,e[s+o>>2]=o,(s|0)==(e[47524]|0)){e[47521]=o;return}}if(t=o>>>3,o>>>0<256){i=190116+(t<<1<<2)|0,r=e[47519]|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=s,e[t+12>>2]=s,e[s+8>>2]=t,e[s+12>>2]=i;return}if(t=o>>>8,t?o>>>0>16777215?t=31:(l=(t+1048320|0)>>>16&8,A=t<>>16&4,A=A<>>16&2,t=14-(n|l|t)+(A<>>15)|0,t=o>>>(t+7|0)&1|t<<1):t=0,n=190380+(t<<2)|0,e[s+28>>2]=t,e[s+20>>2]=0,e[s+16>>2]=0,r=e[47520]|0,i=1<>2]=s,e[s+24>>2]=n,e[s+12>>2]=s,e[s+8>>2]=s;return}for(r=o<<((t|0)==31?0:25-(t>>>1)|0),i=e[n>>2]|0;;){if((e[i+4>>2]&-8|0)==(o|0)){t=69;break}if(n=i+16+(r>>>31<<2)|0,t=e[n>>2]|0,t)r=r<<1,i=t;else{t=68;break}}if((t|0)==68){e[n>>2]=s,e[s+24>>2]=i,e[s+12>>2]=s,e[s+8>>2]=s;return}else if((t|0)==69){l=i+8|0,A=e[l>>2]|0,e[A+12>>2]=s,e[l>>2]=s,e[s+8>>2]=A,e[s+12>>2]=i,e[s+24>>2]=0;return}}function GE0(r,t){return r=r|0,t=t|0,r>>>0<9?(t=Te(t)|0,t|0):(t=ZE0(r,t)|0,t|0)}function ZE0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(r=r>>>0>16?r:16,r+-1&r)for(i=16;;)if(i>>>0>>0)i=i<<1;else{r=i;break}if((-64-r|0)>>>0<=t>>>0)return e[(kr()|0)>>2]=12,s=0,s|0;if(l=t>>>0<11?16:t+11&-8,i=Te(l+12+r|0)|0,!i)return s=0,s|0;o=i+-8|0;do if(r+-1&i)if(n=(i+r+-1&0-r)+-8|0,t=o,n=(n-t|0)>>>0>15?n:n+r|0,t=n-t|0,r=i+-4|0,A=e[r>>2]|0,i=(A&-8)-t|0,A&3){A=n+4|0,e[A>>2]=i|e[A>>2]&1|2,i=n+i+4|0,e[i>>2]=e[i>>2]|1,e[r>>2]=t|e[r>>2]&1|2,e[A>>2]=e[A>>2]|1,xk(o,t),r=n,t=n;break}else{e[n>>2]=(e[o>>2]|0)+t,e[n+4>>2]=i,r=n,t=n;break}else r=o,t=o;while(0);return r=r+4|0,i=e[r>>2]|0,i&3|0&&(s=i&-8,s>>>0>(l+16|0)>>>0)&&(A=s-l|0,o=t+l|0,e[r>>2]=l|i&1|2,e[o+4>>2]=A|3,s=t+s+4|0,e[s>>2]=e[s>>2]|1,xk(o,A)),A=t+8|0,A|0}function WE0(r){r=r|0;var t=0,i=0;return t=g,g=g+16|0,i=t,e[i>>2]=HP(e[r+60>>2]|0)|0,r=Xn(jw(6,i|0)|0)|0,g=t,r|0}function DE0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0;return a=g,g=g+32|0,n=a,s=a+16|0,e[s>>2]=t,o=s+4|0,A=r+48|0,c=e[A>>2]|0,e[o>>2]=i-((c|0)!=0&1),l=r+44|0,e[s+8>>2]=e[l>>2],e[s+12>>2]=c,e[n>>2]=e[r+60>>2],e[n+4>>2]=s,e[n+8>>2]=2,n=Xn(Dr0(145,n|0)|0)|0,(n|0)>=1?(s=e[o>>2]|0,n>>>0>s>>>0&&(o=e[l>>2]|0,l=r+4|0,e[l>>2]=o,e[r+8>>2]=o+(n-s),e[A>>2]|0&&(e[l>>2]=o+1,y[t+(i+-1)>>0]=y[o>>0]|0),n=i)):e[r>>2]=e[r>>2]|n&48^16,g=a,n|0}function ME0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return o=g,g=g+32|0,l=o,n=o+20|0,e[l>>2]=e[r+60>>2],e[l+4>>2]=0,e[l+8>>2]=t,e[l+12>>2]=n,e[l+16>>2]=i,(Xn(Wr0(140,l|0)|0)|0)<0?(e[n>>2]=-1,r=-1):r=e[n>>2]|0,g=o,r|0}function Xn(r){return r=r|0,r>>>0>4294963200&&(e[(kr()|0)>>2]=0-r,r=-1),r|0}function kr(){return 190572}function HP(r){return r=r|0,r|0}function jE0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=g,g=g+32|0,n=o,e[r+36>>2]=18,!(e[r>>2]&64|0)&&(e[n>>2]=e[r+60>>2],e[n+4>>2]=21523,e[n+8>>2]=o+16,wR(54,n|0)|0)&&(y[r+75>>0]=-1),n=JP(r,t,i)|0,g=o,n|0}function JP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;p=g,g=g+48|0,c=p+16|0,l=p,o=p+32|0,A=r+28|0,n=e[A>>2]|0,e[o>>2]=n,a=r+20|0,n=(e[a>>2]|0)-n|0,e[o+4>>2]=n,e[o+8>>2]=t,e[o+12>>2]=i,n=n+i|0,s=r+60|0,e[l>>2]=e[s>>2],e[l+4>>2]=o,e[l+8>>2]=2,l=Xn(hR(146,l|0)|0)|0;e:do if((n|0)!=(l|0)){for(t=2;!((l|0)<0);)if(n=n-l|0,m=e[o+4>>2]|0,v=l>>>0>m>>>0,o=v?o+8|0:o,t=t+(v<<31>>31)|0,m=l-(v?m:0)|0,e[o>>2]=(e[o>>2]|0)+m,v=o+4|0,e[v>>2]=(e[v>>2]|0)-m,e[c>>2]=e[s>>2],e[c+4>>2]=o,e[c+8>>2]=t,l=Xn(hR(146,c|0)|0)|0,(n|0)==(l|0)){w=3;break e}e[r+16>>2]=0,e[A>>2]=0,e[a>>2]=0,e[r>>2]=e[r>>2]|32,(t|0)==2?i=0:i=i-(e[o+4>>2]|0)|0}else w=3;while(0);return(w|0)==3&&(m=e[r+44>>2]|0,e[r+16>>2]=m+(e[r+48>>2]|0),e[A>>2]=m,e[a>>2]=m),g=p,i|0}function UP(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[n>>2]=r,e[n+4>>2]=t,t=Xn(Pr0(91,n|0)|0)|0,g=i,t|0}function Z2e(){}function NE0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0;A=g,g=g+32|0,s=A;do if((l&4095|0)==0&(((l|0)<0)<<31>>31&-4096|0)==0){if(t>>>0>2147483646){e[(kr()|0)>>2]=12,r=-1;break}e[s>>2]=r,e[s+4>>2]=t,e[s+8>>2]=i,e[s+12>>2]=n,e[s+16>>2]=o,e[s+20>>2]=l>>12,r=Xn(Mr0(192,s|0)|0)|0}else e[(kr()|0)>>2]=22,r=-1;while(0);return g=A,r|0}function Sk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=t&255;e:do if(!n)r=r+(d2(r)|0)|0;else{if(r&3){i=t&255;do{if(o=y[r>>0]|0,!(o<<24>>24)||o<<24>>24==i<<24>>24)break e;r=r+1|0}while(r&3|0)}n=N0(n,16843009)|0,i=e[r>>2]|0;r:do if(!((i&-2139062144^-2139062144)&i+-16843009))do{if(o=i^n,(o&-2139062144^-2139062144)&o+-16843009|0)break r;r=r+4|0,i=e[r>>2]|0}while(!((i&-2139062144^-2139062144)&i+-16843009|0));while(0);for(i=t&255;o=y[r>>0]|0,!(!(o<<24>>24)||o<<24>>24==i<<24>>24);)r=r+1|0}while(0);return r|0}function d2(r){r=r|0;var t=0,i=0,n=0;n=r;e:do if(!(n&3))i=4;else for(t=n;;){if(!(y[r>>0]|0)){r=t;break e}if(r=r+1|0,t=r,!(t&3)){i=4;break}}while(0);if((i|0)==4){for(;t=e[r>>2]|0,!((t&-2139062144^-2139062144)&t+-16843009);)r=r+4|0;if((t&255)<<24>>24)do r=r+1|0;while(y[r>>0]|0)}return r-n|0}function QE0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;return s=g,g=g+48|0,l=s+16|0,o=s,n=s+32|0,t&4194368?(e[n>>2]=i,A=(e[n>>2]|0)+(4-1)&~(4-1),i=e[A>>2]|0,e[n>>2]=A+4,n=i):n=0,e[o>>2]=r,e[o+4>>2]=t|32768,e[o+8>>2]=n,n=Ly(5,o|0)|0,(t&524288|0)==0|(n|0)<0||(e[l>>2]=n,e[l+4>>2]=2,e[l+8>>2]=1,Oa(221,l|0)|0),A=Xn(n)|0,g=s,A|0}function TE0(r,t){r=r|0,t=t|0;var i=0,n=0;for(n=0;;){if((s0[144531+n>>0]|0)==(r|0)){r=2;break}if(i=n+1|0,(i|0)==87){i=144619,n=87,r=5;break}else n=i}if((r|0)==2&&(n?(i=144619,r=5):i=144619),(r|0)==5)for(;;){do r=i,i=i+1|0;while(y[r>>0]|0);if(n=n+-1|0,n)r=5;else break}return FE0(i,e[t+20>>2]|0)|0}function FE0(r,t){return r=r|0,t=t|0,PE0(r,t)|0}function PE0(r,t){return r=r|0,t=t|0,t?t=YE0(e[t>>2]|0,e[t+4>>2]|0,r)|0:t=0,(t|0?t:r)|0}function YE0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=(e[r>>2]|0)+1794895138|0,l=Mf(e[r+8>>2]|0,v)|0,n=Mf(e[r+12>>2]|0,v)|0,o=Mf(e[r+16>>2]|0,v)|0;e:do if(l>>>0>>2>>>0&&(p=t-(l<<2)|0,n>>>0

>>0&o>>>0

>>0){U=2,N=88;break}if(w>>>0>p>>>0)break;if(w=v+1|0,(v|0)<1)v=w;else{U=w,N=88;break}}if((N|0)==88&&(N=0,m&(U|0)==2)){s=0,p=0;break e}if(t=_+t|0,(W|0)==(a|0))W=a;else break}m=(1<<_)+-1|0,z=1e9>>>_,v=0,w=W,p=W;do D=J+(p<<2)|0,P=e[D>>2]|0,r=(P>>>_)+v|0,e[D>>2]=r,v=N0(P&m,z)|0,r=(p|0)==(w|0)&(r|0)==0,c=r?c+-9|0:c,w=r?w+1&127:w,p=p+1&127;while((p|0)!=(a|0));if(v){if((L|0)!=(w|0))break;e[G>>2]=e[G>>2]|1}}e[J+(a<<2)>>2]=v,a=L}do w=p+W&127,c=a+1&127,(w|0)==(a|0)&&(e[J+(c+-1<<2)>>2]=0,a=c),s=s*1e9+ +((e[J+(w<<2)>>2]|0)>>>0),p=p+1|0;while((p|0)!=2);if(x=+(o|0),A=s*x,p=t+53|0,v=p-n|0,m=(v|0)<(i|0),w=m?(v|0)>0?v:0:i,(w|0)<53?(Y=+bP(+bA(1,105-w|0),A),E=+rY(A,+bA(1,53-w|0)),B=Y,s=E,E=Y+(A-E)):(B=0,s=0,E=A),c=W+2&127,(c|0)!=(a|0)){c=e[J+(c<<2)>>2]|0;do if(c>>>0>=5e8){if((c|0)!=5e8){s=x*.75+s;break}if((W+3&127|0)==(a|0)){s=x*.5+s;break}else{s=x*.75+s;break}}else{if(!(c|0)&&(W+3&127|0)==(a|0))break;s=x*.25+s}while(0);(53-w|0)>1&&+rY(s,1)==0?A=s+1:A=s}else A=s;s=E+A-B;do if((p&2147483647|0)>(-2-F|0)){if(F=!(+L0(+s)>=9007199254740992),t=t+((F^1)&1)|0,s=F?s:s*.5,(t+50|0)<=(q|0)&&!(A!=0&(m&((w|0)!=(v|0)|F))))break;e[(kr()|0)>>2]=34}while(0);s=+eY(s,t)}while(0);return g=t0,+s}function SY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;switch(l=r+4|0,i=e[l>>2]|0,s=r+100|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0,i|0){case 43:case 45:{n=(i|0)==45&1,i=e[l>>2]|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0,(t|0)!=0&(i+-48|0)>>>0>9&&e[s>>2]|0&&(e[l>>2]=(e[l>>2]|0)+-1);break}default:n=0}if((i+-48|0)>>>0>9)e[s>>2]|0?(e[l>>2]=(e[l>>2]|0)+-1,n=-2147483648,i=0):(n=-2147483648,i=0);else{o=0;do o=i+-48+(o*10|0)|0,i=e[l>>2]|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0;while((i+-48|0)>>>0<10&(o|0)<214748364);if(t=((o|0)<0)<<31>>31,(i+-48|0)>>>0<10)do t=Hc(o|0,t|0,10,0)|0,o=b,i=ar(i|0,((i|0)<0)<<31>>31|0,-48,-1)|0,o=ar(i|0,b|0,t|0,o|0)|0,t=b,i=e[l>>2]|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0;while((i+-48|0)>>>0<10&((t|0)<21474836|(t|0)==21474836&o>>>0<2061584302));if((i+-48|0)>>>0<10)do i=e[l>>2]|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0;while((i+-48|0)>>>0<10);e[s>>2]|0&&(e[l>>2]=(e[l>>2]|0)+-1),s=(n|0)!=0,i=Pl(0,0,o|0,t|0)|0,n=s?b:t,i=s?i:o}return b=n,i|0}function VB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return n=r+84|0,l=e[n>>2]|0,s=i+256|0,o=Tc(l,0,s)|0,o=o|0?o-l|0:s,i=o>>>0>>0?o:i,u2(t|0,l|0,i|0)|0,e[r+4>>2]=l+i,t=l+o|0,e[r+8>>2]=t,e[n>>2]=t,i|0}function T1(r,t,i){return r=r|0,t=t|0,i=i|0,HB0(r,t,i)|0}function HB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return(e[r+76>>2]|0)>-1?(n=(qn(r)|0)==0,t=_Y(r,t,i)|0,n||N1(r)):t=_Y(r,t,i)|0,t|0}function _Y(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return(i|0)==1&&(t=t-(e[r+8>>2]|0)+(e[r+4>>2]|0)|0),n=r+20|0,o=r+28|0,(e[n>>2]|0)>>>0>(e[o>>2]|0)>>>0&&(oe[e[r+36>>2]&63](r,0,0)|0,(e[n>>2]|0)==0)?t=-1:(e[r+16>>2]=0,e[o>>2]=0,e[n>>2]=0,(oe[e[r+40>>2]&63](r,t,i)|0)<0?t=-1:(e[r+8>>2]=0,e[r+4>>2]=0,e[r>>2]=e[r>>2]&-17,t=0)),t|0}function F1(r){r=r|0;for(var t=0,i=0,n=0,o=0,l=0,s=0;n=y[r>>0]|0,t=n<<24>>24,o=r+1|0,an(t)|0;)r=o;switch(t|0){case 45:{r=1,l=5;break}case 43:{r=0,l=5;break}default:s=0,i=r,r=n}if((l|0)==5&&(s=r,i=o,r=y[o>>0]|0),t=(r<<24>>24)+-48|0,t>>>0<10){r=0;do i=i+1|0,r=(r*10|0)-t|0,t=(y[i>>0]|0)+-48|0;while(t>>>0<10)}else r=0;return(s|0?r:0-r|0)|0}function Fl(r){return r=r|0,+ +P1(r,0)}function P1(r,t){return r=r|0,t=t|0,+ +JB0(r,t,1)}function JB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+128|0,s=A,o=s,l=o+124|0;do e[o>>2]=0,o=o+4|0;while((o|0)<(l|0));return o=s+4|0,e[o>>2]=r,l=s+8|0,e[l>>2]=-1,e[s+44>>2]=r,e[s+76>>2]=-1,v1(s,0),n=+xY(s,i,1),i=(e[o>>2]|0)-(e[l>>2]|0)+(e[s+108>>2]|0)|0,t|0&&(e[t>>2]=i|0?r+i|0:r),g=A,+n}function Oc(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;e:do if(!i)t=0;else for(A=t;;){if(s=i>>>1,t=A+(N0(s,n)|0)|0,l=ke[o&127](r,t)|0,!l)break e;if((i|0)==1){t=0;break e}if(l=(l|0)<0,i=l?s:i-s|0,i)A=l?A:t;else{t=0;break}}while(0);return t|0}function UB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=r+2|0,n=r+4|0,i=Hc((M0[t+2>>1]|0)<<16|(M0[t>>1]|0)|0,M0[t+4>>1]|0|0,(M0[o>>1]|0)<<16|(M0[r>>1]|0)|0,M0[n>>1]|0|0)|0,t=ar(i|0,b|0,M0[t+6>>1]|0|0,0)|0,i=b,$[r>>1]=t,r=Qi(t|0,i|0,16)|0,$[o>>1]=r,$[n>>1]=i,b=i&65535,t|0}function Vc(r){r=r|0;var t=0;t=186608,e[t>>2]=r+-1,e[t+4>>2]=0}function ri(){var r=0,t=0,i=0;return t=186608,t=Hc(e[t>>2]|0,e[t+4>>2]|0,1284865837,1481765933)|0,t=ar(t|0,b|0,1,0)|0,r=b,i=186608,e[i>>2]=t,e[i+4>>2]=r,r=Qi(t|0,r|0,33)|0,r|0}function XB0(r){return r=r|0,$[96876]=$[32922]|0,$[96877]=$[32923]|0,$[96878]=$[32924]|0,$[32922]=$[r>>1]|0,$[32923]=$[r+2>>1]|0,$[32924]=$[r+4>>1]|0,193752}function NE(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=t,$[i>>1]=13070,$[i+2>>1]=r,$[i+4>>1]=r>>>16,XB0(i)|0,g=t}function qB0(r){r=r|0;var t=0;return t=UB0(r,65850)|0,t=Br(t|0,b|0,4)|0,r=b|1072693248,e[ne>>2]=t,e[ne+4>>2]=r,+(+u[ne>>3]+-1)}function Rn(){return+ +qB0(65844)}function zY(r,t){return r=r|0,t=t|0,r?(e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,e[t+16>>2]=0,e[t+20>>2]=0):t=Un(1,24)|0,t|0}function iu(r){r=r|0;var t=0,i=0;if(t=e[r>>2]|0,t|0)do r0(e[t>>2]|0),i=t,t=e[t+4>>2]|0,r0(i);while(t|0);r0(r)}function ui(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0;s=r+16|0;e:do if(e[s>>2]|0)t=0;else{if(c=r+12|0,l=e[c>>2]|0,l>>>0>>0){do if(t)if(i){s=r+8|0,e[s>>2]=i,l=1024,t=i;break}else{e[s>>2]=1,t=0;break e}else{if(l=o<<3,l=l>>>0>1024?l:1024,a=Te(8)|0,!a){e[s>>2]=1,t=0;break e}if(t=Te(l)|0,e[a>>2]=t,i=t,!t){r0(a),e[s>>2]=1,t=0;break e}e[a+4>>2]=0,s=r+4|0,A=e[s>>2]|0,A|0&&(e[A+4>>2]=a),e[r>>2]|0||(e[r>>2]=a),e[s>>2]=a,s=r+8|0,e[s>>2]=i}while(0);e[c>>2]=l}else s=r+8|0,t=e[s>>2]|0,i=t;i=i+o&3,i=(i|0?4-i|0:0)+o|0,e[s>>2]=t+i,e[c>>2]=l-i,n&&Ur(t|0,0,i|0)|0}while(0);return t|0}function $B0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0;L=g,g=g+48|0,A=L,z=KB0()|0;e:do if(!z)t=12;else{if(_=zY(0,0)|0,!_){QE(z),t=12;break}n=A+8|0,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,e[A>>2]=_,e[A+4>>2]=z,e[A+16>>2]=t,e[A+32>>2]=i,n=A+28|0,e[n>>2]=-1,t=bB0(A)|0;r:do if(t)l=0,s=0,A=0,o=0,n=0;else if(s=A+20|0,o=e[s>>2]|0,e[r>>2]=o+-1,a=e[A+8>>2]|0,t=e[n>>2]|0,(t|0)<(o|0))if(l=Un(1,68)|0,l){if(B=t>>>31^1,e[l+60>>2]=B,e[l+28>>2]=o,(i&8|0)==0|(B|0)!=0){if(t=LY(0,z,a,l)|0,t|0){s=0,A=0,o=0,n=0;break}if(o=e[l+40>>2]|0,(o|0)>0){if(t=(o<<2)+4|0,n=Te(t)|0,!n){s=0,A=0,t=12,o=0,n=0;break}e[l+32>>2]=n,Ur(n|0,-1,t|0)|0}else n=0;if(B=Un(o<<1|1,4)|0,e[l+36>>2]=B,!B){s=0,A=0,t=12,o=0,n=0;break}if(t=Un(e[s>>2]|0,12)|0,!t){s=0,A=0,t=12,o=0,n=0;break}if(e[l+16>>2]=t,t=LY(_,z,a,l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e[l+52>>2]=e[B>>2],e[l+56>>2]=i,iu(_),QE(z),r0(m),r0(E),e[r+4>>2]=l,t=0;break e}}else s=m,A=E,t=12,o=m,n=E}else s=m,A=E,t=12,o=m,n=0;else s=m,A=0,t=12,o=0,n=0;else s=0,A=0,t=12,o=0,n=0}else s=0,A=0,t=12,o=0,n=0;else l=0,s=0,A=0,t=6,o=0,n=0;while(0);iu(_),QE(z),s|0&&r0(o),A|0&&r0(n),e[r+4>>2]=l,tI0(r)}while(0);return g=L,t|0}function KB0(){var r=0,t=0;r=Te(20)|0;do if(r)if(t=Te(2048)|0,e[r+16>>2]=t,t){e[r>>2]=512,e[r+4>>2]=1024e3,e[r+8>>2]=128,e[r+12>>2]=0;break}else{r0(r),r=0;break}while(0);return r|0}function QE(r){r=r|0,r0(e[r+16>>2]|0),r0(r)}function bB0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=g,g=g+16|0,v=z+4|0,m=z,E=e[r+32>>2]&1,B=r+16|0,i=e[B>>2]|0,x=e[r+4>>2]|0,t=V2(x,0)|0;e:do if(!t){c=(E|0)!=0,w=r+8|0,p=r+12|0,t=0,a=1;r:for(;;){o=0,l=t,n=0;t:for(;;){if(t=y[i>>0]|0,c){if(t<<24>>24==40)break;(l|0)!=0&t<<24>>24==41?A=13:A=14}else if(t<<24>>24==92)switch(y[i+1>>0]|0){case 40:break t;case 41:{A=13;break}default:A=14}else A=14;if((A|0)==13)if(A=0,s=Nt(e[r>>2]|0,-1,-1,-1)|0,e[w>>2]=s,s)s=n;else{t=12;break e}else if((A|0)==14){if(A=0,t=WY(r,i)|0,t|0)break e;s=n,i=e[p>>2]|0}i:for(;;){n:for(;;){switch(t=y[i>>0]|0,t<<24>>24){case 42:case 92:break;default:{if(!c)break n;switch(t<<24>>24){case 123:case 63:case 43:break;default:break n}}}if(t=t<<24>>24==92,c&t)break;if(n=i+1|0,t)switch(y[n>>0]|0){case 123:case 63:case 43:break;default:break n}if(i=t?n:i,!c&&(i|0)==((e[B>>2]|0)+1|0)&&(y[i+-1>>0]|0)==94)break;if((y[i>>0]|0)==123){if(i=iI0(i+1|0,E,v,m)|0,!i){A=28;break r}t=e[m>>2]|0,n=e[r>>2]|0,t?A=36:t=Nt(n,-1,-1,-1)|0}else e[v>>2]=0,e[m>>2]=-1,t=y[i>>0]|0,t<<24>>24==43&&(e[v>>2]=1,t=y[i>>0]|0),t<<24>>24==63?(e[m>>2]=1,t=1):t=-1,i=i+1|0,n=e[r>>2]|0,A=36;if((A|0)==36&&(A=0,t=FE(n,e[w>>2]|0,e[v>>2]|0,t,0)|0),e[w>>2]=t,!t){t=12;break e}}t=Ff(e[r>>2]|0,o,e[w>>2]|0)|0,n=y[i>>0]|0;n:do if(c){if(n<<24>>24==124){A=40;break i}if((l|0)!=0&n<<24>>24==41|n<<24>>24==0)A=47;else{o=t,n=s;continue t}}else{switch(n<<24>>24){case 0:{A=47;break n}case 92:break;default:{o=t,n=s;continue t}}switch(y[i+1>>0]|0){case 124:case 41:break;default:{o=t,n=s;continue t}}if(t=nu(e[r>>2]|0,s,t)|0,(y[i+1>>0]|0)==124){n=2;break i}if(!l){t=8;break e}i=i+2|0,n=92}while(0);if((A|0)==47&&(A=0,t=nu(e[r>>2]|0,s,t)|0,i=n<<24>>24==41?i+1|0:i),t=nI0(r,t,$n(x)|0)|0,t|0)break e;if(t=n<<24>>24==0,n=(l|0)<1,n&t){A=50;break r}if(n|t){t=8;break e}o=m1(x)|0,l=l+-1|0,s=m1(x)|0}(A|0)==40&&(n=1,t=nu(e[r>>2]|0,s,t)|0),o=0,i=i+n|0,n=t}if(t=ir(x,n)|0,t|0||(t=ir(x,o)|0,t|0)||(t=V2(x,a)|0,t|0))break e;t=l+1|0,a=a+1|0,i=c?i+1|0:i+2|0}if((A|0)==28){t=10;break}else if((A|0)==50){e[r+20>>2]=a,t=0;break}}while(0);return g=z,t|0}function LY(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0;W=Gn(t)|0,N=(r|0)==0|(n|0)==0,N||(e[n+48>>2]=0,e[e[n+36>>2]>>2]=-1),l=e[n+28>>2]|0,T=Te((l<<3)+8|0)|0;do if(!T)o=12;else{if(e[T>>2]=-1,D=Te((l<<2)+4|0)|0,!D){r0(T),o=12;break}for(e[D>>2]=-1,o=0;!(o>>>0>l>>>0);)o=o+1|0;ir(t,i)|0,o=V2(t,0)|0;e:do if((o|0)!=0|(Gn(t)|0)<=(W|0))i=T,p=0,l=0,w=0,c=-1;else for(_=n+32|0,L=n+36|0,G=n+16|0,i=T,p=0,l=0,w=0,z=1,c=-1,x=0;;){r:do switch($n(t)|0){case 6:{s=$n(t)|0,o=0;do A=i+(o<<2)|0,o=o+1|0;while((e[A>>2]|0)>-1);for(e[A>>2]=s<<1|1,e[i+(o<<2)>>2]=-1,o=0;(e[D+(o<<2)>>2]|0)>-1;)o=o+1|0;e[D+(o+-1<<2)>>2]=-1,o=0,A=z,s=x;break}case 0:{if(E=m1(t)|0,B=E+12|0,A=e[B>>2]|0,(A|0)>-1){o=0;do s=i+(o<<2)|0,o=o+1|0;while((e[s>>2]|0)>-1);if(e[s>>2]=A<<1,e[i+(o<<2)>>2]=-1,!N){for(o=0;(e[D+(o<<2)>>2]|0)>-1;)o=o+1|0;if(s=(e[G>>2]|0)+(A*12|0)+8|0,e[s>>2]=0,(o|0)>0){if(o=Te((o<<2)+4|0)|0,!o){o=12,A=z,s=x;break r}if(e[s>>2]=o,s=e[D>>2]|0,(s|0)>-1){a=0,A=o;do e[A>>2]=s,a=a+1|0,s=e[D+(a<<2)>>2]|0,A=o+(a<<2)|0;while((s|0)>-1);o=A}e[o>>2]=-1}}if(o=V2(t,e[B>>2]|0)|0,o|0){A=z,s=x;break r}if(o=V2(t,6)|0,o|0){A=z,s=x;break r}}t:do switch(e[E>>2]|0){case 0:{if(m=e[e[E+4>>2]>>2]|0,(m|0)>-1|(m|0)==-4&&(e[i>>2]|0)>-1){if(N)e[E+20>>2]=1,o=0;else{if(o=PE(r,E,w)|0,e[(e[_>>2]|0)+(w<<2)>>2]=x,(c|0)>-1){for(A=e[L>>2]|0,s=0;a=A+(s<<2)|0,v=s+1|0,(e[a>>2]|0)>-1;)s=v;e[a>>2]=w,e[A+(v<<2)>>2]=c,e[A+(s+2<<2)>>2]=-1,l=l+1|0,c=-1}Pk(i,n,w)}e[i>>2]=-1,m=z+1|0,v=x,p=p+1|0,w=z}else m=z,o=0,v=x;break}case 1:{A=e[E+4>>2]|0,a=e[A>>2]|0,A=e[A+4>>2]|0,o=ir(t,E)|0,o?(m=z,v=x):(o=V2(t,5)|0,o?(m=z,v=x):(o=ir(t,A)|0,o?(m=z,v=x):(o=V2(t,0)|0,o?(m=z,v=x):(s=a+20|0,o=V2(t,(e[s>>2]|0)+z|0)|0,o?(m=z,v=x):((e[s>>2]|0)>0?(s=(e[A+20>>2]|0)>0,o=s?z:-1,s=z+(s&1)|0):(o=-1,s=z),o=V2(t,o)|0,o?(m=s,v=x):(o=V2(t,4)|0,o?(m=s,v=x):(o=ir(t,a)|0,o?(m=s,v=x):(m=s,o=V2(t,0)|0,v=x))))))));break}case 2:{if(s=e[E+4>>2]|0,N){if((e[i>>2]|0)>-1?o=1:o=(y[s+12>>0]&1)!=0,o=V2(t,o&1)|0,o|0){m=z,v=x;break t}}else{if(o=V2(t,w)|0,o|0){m=z,v=x;break t}if(o=V2(t,y[s+12>>0]&1)|0,o|0){m=z,v=x;break t}}if(o=ir(t,E)|0,o)m=z,v=x;else if(o=V2(t,1)|0,o)m=z,v=x;else if(o=ir(t,e[s>>2]|0)|0,o)m=z,v=x;else if(o=V2(t,0)|0,o)m=z,v=x;else{if((e[i>>2]|0)<=-1&&!(y[s+12>>0]&1)){m=z,o=0,v=0;break t}if(N)o=0;else{if(o=PE(r,E,w)|0,e[(e[_>>2]|0)+(w<<2)>>2]=y[s+12>>0]&1?1:x,(c|0)>-1){for(A=e[L>>2]|0,s=0;a=A+(s<<2)|0,v=s+1|0,(e[a>>2]|0)>-1;)s=v;e[a>>2]=w,e[A+(v<<2)>>2]=c,e[A+(s+2<<2)>>2]=-1,l=l+1|0,c=-1}Pk(i,n,w)}e[i>>2]=-1,m=z+1|0,v=0,p=p+1|0,w=z}break}case 3:{if(A=e[E+4>>2]|0,a=e[A>>2]|0,A=e[A+4>>2]|0,s=(e[i>>2]|0)>-1,m=z+1|0,o=V2(t,s?m:z)|0,o)m=z,v=x;else if(o=V2(t,s?z:w)|0,o)m=z,v=x;else if(o=ir(t,i)|0,o)m=z,v=x;else if(o=V2(t,(e[i>>2]|0)>>>31^1)|0,o)m=z,v=x;else if(o=ir(t,E)|0,o)m=z,v=x;else if(o=ir(t,A)|0,o)m=z,v=x;else if(o=ir(t,a)|0,o)m=z,v=x;else if(o=V2(t,3)|0,o)m=z,v=x;else if(o=ir(t,A)|0,o)m=z,v=x;else if(o=V2(t,0)|0,o)m=z,v=x;else{if(o=V2(t,2)|0,o|0){m=z,v=x;break t}if(o=ir(t,a)|0,o|0){m=z,v=x;break t}if(o=V2(t,0)|0,o|0){m=z,v=x;break t}if((e[i>>2]|0)>-1){if(N)o=0;else{if(o=PE(r,E,w)|0,e[(e[_>>2]|0)+(w<<2)>>2]=x,(c|0)>-1){for(A=e[L>>2]|0,s=0;a=A+(s<<2)|0,v=s+1|0,(e[a>>2]|0)>-1;)s=v;e[a>>2]=w,e[A+(v<<2)>>2]=c,e[A+(s+2<<2)>>2]=-1,l=l+1|0,c=-1}Pk(i,n,w)}e[i>>2]=-1,p=p+1|0,w=z,s=m}else o=0,s=z;z=(e[E+16>>2]|0)>0,m=z?s+2|0:s,v=x,w=z?s+1|0:w}break}default:m=z,o=0,v=x}while(0);if(A=e[B>>2]|0,(A|0)>-1){s=0;do a=D+(s<<2)|0,s=s+1|0;while((e[a>>2]|0)>-1);e[a>>2]=A,e[D+(s<<2)>>2]=-1,A=m,s=v}else A=m,s=v;break}case 1:{o=m1(t)|0,N?(s=e[(e[e[o+4>>2]>>2]|0)+20>>2]|0,e[o+20>>2]=($n(t)|0)+s,s=0,c=-1):(E=$n(t)|0,B=$n(t)|0,s=E,c=E|0?B:c),o=0,A=z,s=N?x:(s|0)==0&1;break}case 4:{s=$n(t)|0,A=$n(t)|0,o=0,w=(s|0)>-1?s:w,s=x;break}case 5:{o=m1(t)|0,N?(A=e[o+4>>2]|0,e[o+20>>2]=(e[(e[A+4>>2]|0)+20>>2]|0)+(e[(e[A>>2]|0)+20>>2]|0),o=0,A=z,s=x):(o=0,A=z,s=x);break}case 2:{for(;;)if((e[i>>2]|0)>-1)i=i+4|0;else{o=0,A=z,s=x;break}break}case 3:{A=m1(t)|0,v=m1(t)|0,o=m1(t)|0,i=$n(t)|0,N?(B=e[o+4>>2]|0,x=o+16|0,e[o+20>>2]=(e[(e[B>>2]|0)+20>>2]|0)+i+(e[(e[B+4>>2]|0)+20>>2]|0)+((e[x>>2]|0)>0?2:0),o=x):o=o+16|0,i=m1(t)|0,s=$n(t)|0,a=$n(t)|0,(e[o>>2]|0)>0?(N?o=0:(o=ZY(r,A,s)|0,e[(e[_>>2]|0)+(s<<2)>>2]=1,o||(o=ZY(r,v,a)|0),e[(e[_>>2]|0)+(a<<2)>>2]=1),p=p+2|0,A=z,s=1):(o=0,A=z,s=1);break}default:o=0,A=z,s=x}while(0);if((o|0)!=0|(Gn(t)|0)<=(W|0))break e;z=A,x=s}while(0);if(!N&&(Pk(i,n,w),(c|0)>-1)){for(s=e[n+36>>2]|0,i=0;A=s+(i<<2)|0,a=i+1|0,(e[A>>2]|0)>-1;)i=a;e[A>>2]=w,e[s+(a<<2)>>2]=c,e[s+(i+2<<2)>>2]=-1,l=l+1|0}e[n+48>>2]=p,e[n+40>>2]=p,e[n+44>>2]=l,r0(T),r0(D)}while(0);return o|0}function eI0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;N=g,g=g+16|0,z=N+12|0,W=N+8|0,_=N+4|0,L=N,G=Gn(t)|0,e[z>>2]=0,e[W>>2]=0,i=ir(t,i)|0;e:do if(!i&&(i=V2(t,0)|0,!i)){r:do if((Gn(t)|0)>(G|0)){l=0,A=0,a=0;t:for(;;){E=$n(t)|0,B=m1(t)|0;i:do switch(E|0){case 0:{switch(e[B>>2]|0){case 0:{if(i=e[B+4>>2]|0,B=e[i>>2]|0,!((B|0)>-1|(B|0)==-4)){i=a;break i}if(B=i+8|0,i=(e[B>>2]|0)+a|0,e[B>>2]=i,(i|0)<=(e[W>>2]|0)){i=a;break i}e[W>>2]=i,i=a;break i}case 3:{if(s=e[B+4>>2]|0,i=ir(t,e[s+4>>2]|0)|0,i|0||(i=V2(t,0)|0,i|0)||(i=ir(t,e[s>>2]|0)|0,i|0))break r;break}case 1:{if(s=e[B+4>>2]|0,i=ir(t,e[s+4>>2]|0)|0,i|0||(i=V2(t,0)|0,i|0)||(i=ir(t,e[s>>2]|0)|0,i|0))break r;break}case 2:{if(s=e[B+4>>2]|0,i=V2(t,a)|0,i|0||(i=ir(t,B)|0,i|0)||(i=V2(t,1)|0,i|0)||(i=ir(t,e[s>>2]|0)|0,i|0)||(i=V2(t,0)|0,i|0))break r;(e[s+4>>2]|0)<=1&&(e[s+8>>2]|0)<=1?i=a:(e[z>>2]=0,i=0),A=A+1|0;break i}default:{i=a;break i}}if(i=V2(t,0)|0,!i)i=a;else break r;break}case 1:{m=B+4|0,v=e[m>>2]|0,E=$n(t)|0,e[z>>2]=E,p=v+4|0,a=e[p>>2]|0,(a|0)<=1?(e[v+8>>2]|0)>1?(e[_>>2]=0,(a|0)>0?x=30:(i=E,s=0,x=37)):i=E:(e[_>>2]=0,x=30);n:do if((x|0)==30){if(i=Fk(r,t,e[v>>2]|0,(a|0)>1?1:2,z,o,L,W)|0,!i)s=0,c=E,w=1;else{x=34;break t}for(;;){if(i=e[L>>2]|0,s?s=Ff(r,s,i)|0:s=i,!s){i=12,x=34;break t}if(a=e[p>>2]|0,(w|0)>=(a|0)){i=c,x=37;break n}if(c=e[z>>2]|0,w=w+1|0,i=Fk(r,t,e[v>>2]|0,(w|0)<(a|0)?1:2,z,o,L,W)|0,i|0){x=34;break t}}}while(0);if((x|0)==37){if(x=0,p=v+8|0,c=e[p>>2]|0,(c|0)==-1){if(c=e[z>>2]|0,i=Fk(r,t,e[v>>2]|0,0,z,0,_,W)|0,i|0)break t;if(a=FE(r,e[_>>2]|0,0,-1,0)|0,e[_>>2]=a,a)i=c;else{i=12;break t}}else if((a|0)<(c|0))for(c=a,a=0;;){if(w=e[z>>2]|0,i=Fk(r,t,e[v>>2]|0,0,z,0,L,W)|0,i|0){x=49;break t}if(a?(i=Ff(r,e[L>>2]|0,a)|0,e[_>>2]=i):(i=e[L>>2]|0,e[_>>2]=i),!i){i=12,x=49;break t}if(a=Nt(r,-1,-1,-1)|0,!a){i=12,x=49;break t}if(a=nu(r,a,i)|0,e[_>>2]=a,!a){i=12,x=49;break t}if(c=c+1|0,(c|0)>=(e[p>>2]|0)){i=w;break}}else a=0;if(e[z>>2]=i,s?a&&(s=Ff(r,s,a)|0,x=54):(s=a,x=54),(x|0)==54&&(x=0,!s)){i=12;break t}e[m>>2]=e[s+4>>2],e[B>>2]=e[s>>2]}A=A+-1|0,s=i-E+l|0,A?l=s:(e[z>>2]=s,l=s,A=0,i=s);break}default:i=a}while(0);if((Gn(t)|0)>(G|0))a=i;else{i=0;break r}}break e}else i=0,l=0;while(0);G=(e[n>>2]|0)+l|0,W=e[W>>2]|0,e[n>>2]=(W|0)>(G|0)?W:G}while(0);return g=N,i|0}function Nt(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=ui(r,0,0,1,20)|0,r=u8(r,0,o)|0,r?(e[o>>2]=t,e[o+4>>2]=i,e[o+8>>2]=n):r=0,r|0}function Ff(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return t&&(n=ui(r,0,0,1,8)|0,r=u8(r,1,n)|0,r?(e[n>>2]=t,e[n+4>>2]=i,e[r+16>>2]=(e[i+16>>2]|0)+(e[t+16>>2]|0),i=r):i=0),i|0}function rI0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+16|0,a=v+4|0,c=v,w=Gn(t)|0,i=ir(t,i)|0;e:do if(!i&&(i=V2(t,0)|0,!i))if((Gn(t)|0)>(w|0)){r:for(;;){s=$n(t)|0,A=m1(t)|0;t:do switch(s|0){case 0:switch(e[A>>2]|0){case 0:{if(l=e[A+4>>2]|0,o=e[l>>2]|0,(o|0)==-4){if(e[A+8>>2]=0,i=l+8|0,s=Nk(r,e[i>>2]|0,0,1114111,0,0,-1)|0,e[A+24>>2]=s,!s){i=12;break e}if(s=Nk(r,e[i>>2]|0,0,1114111,0,0,e[l+4>>2]|0)|0,e[A+28>>2]=s,s)break t;i=12;break e}if(i=A+8|0,(o|0)<0){if(e[i>>2]=1,s=GY(r)|0,e[A+24>>2]=s,!s){i=12;break e}if(s=GY(r)|0,e[A+28>>2]=s,s)break t;i=12;break e}else{if(e[i>>2]=0,i=l+8|0,n=l+4|0,s=Nk(r,e[i>>2]|0,o,e[n>>2]|0,0,0,-1)|0,e[A+24>>2]=s,!s){i=12;break e}if(s=Nk(r,e[i>>2]|0,e[l>>2]|0,e[n>>2]|0,e[l+12>>2]|0,e[l+16>>2]|0,-1)|0,e[A+28>>2]=s,s)break t;i=12;break e}}case 3:{if(i=ir(t,A)|0,i|0||(i=V2(t,1)|0,i|0)||(n=A+4|0,i=ir(t,e[(e[n>>2]|0)+4>>2]|0)|0,i|0)||(i=V2(t,0)|0,i|0)||(i=ir(t,e[e[n>>2]>>2]|0)|0,i|0)||(i=V2(t,0)|0,i))break e;break t}case 1:{if(i=ir(t,A)|0,i|0||(i=V2(t,2)|0,i|0)||(n=A+4|0,i=ir(t,e[(e[n>>2]|0)+4>>2]|0)|0,i|0)||(i=V2(t,0)|0,i|0)||(i=ir(t,e[e[n>>2]>>2]|0)|0,i|0)||(i=V2(t,0)|0,i))break e;break t}case 2:{if(i=ir(t,A)|0,i|0||(i=V2(t,3)|0,i|0)||(i=ir(t,e[e[A+4>>2]>>2]|0)|0,i|0)||(i=V2(t,0)|0,i))break e;break t}default:break t}case 1:{if(i=e[A+4>>2]|0,n=e[i>>2]|0,o=i+4|0,l=e[o>>2]|0,e[n+8>>2]|0?s=1:s=(e[l+8>>2]|0)!=0,e[A+8>>2]=s&1,s=Qk(r,e[n+24>>2]|0,e[l+24>>2]|0,0,0)|0,e[A+24>>2]=s,!s){i=12;break e}if(s=Qk(r,e[(e[i>>2]|0)+28>>2]|0,e[(e[o>>2]|0)+28>>2]|0,0,0)|0,e[A+28>>2]=s,!s){i=12;break e}break}case 3:{s=e[A+4>>2]|0,i=e[s>>2]|0,e[s+4>>2]|0?n=(e[i+8>>2]|0)!=0&1:n=1,e[A+8>>2]=n,e[A+24>>2]=e[i+24>>2],e[A+28>>2]=e[i+28>>2];break}case 2:{if(l=e[A+4>>2]|0,i=e[l>>2]|0,n=i+8|0,e[n>>2]|0?o=(e[(e[l+4>>2]|0)+8>>2]|0)!=0:o=0,e[A+8>>2]=o&1,e[n>>2]|0){if(i=Tk(t,i,0,0,a)|0,i|0)break r;if(n=Te((e[a>>2]<<2)+4|0)|0,!n){i=12;break r}if(e[n>>2]=-1,e[c>>2]=0,i=Tk(t,e[l>>2]|0,n,c,0)|0,i|0){p=45;break r}if(i=l+4|0,s=A+24|0,e[s>>2]=Qk(r,e[(e[i>>2]|0)+24>>2]|0,e[(e[l>>2]|0)+24>>2]|0,n,e[c>>2]|0)|0,r0(n),e[s>>2]|0)o=i;else{i=12;break r}}else e[A+24>>2]=e[i+24>>2],o=l+4|0;if(i=e[o>>2]|0,e[i+8>>2]|0){if(i=Tk(t,i,0,0,a)|0,i|0)break r;if(n=Te((e[a>>2]<<2)+4|0)|0,!n){i=12;break r}if(e[n>>2]=-1,e[c>>2]=0,i=Tk(t,e[o>>2]|0,n,c,0)|0,i|0){p=52;break r}if(A=A+28|0,e[A>>2]=Qk(r,e[(e[l>>2]|0)+28>>2]|0,e[(e[o>>2]|0)+28>>2]|0,n,e[c>>2]|0)|0,r0(n),!(e[A>>2]|0)){i=12;break r}}else e[A+28>>2]=e[i+28>>2];break}default:}while(0);if((Gn(t)|0)<=(w|0)){i=0;break e}}((p|0)==45||(p|0)==52)&&r0(n)}else i=0;while(0);return g=v,i|0}function jk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e:for(;;){switch(e[r>>2]|0){case 2:{if(r=e[r+4>>2]|0,(e[r+8>>2]|0)==-1&&(s=e[r>>2]|0,s=RY(e[s+28>>2]|0,e[s+24>>2]|0,t,i,n)|0,(s|0)!=0)){r=s;break e}break}case 3:{if(o=e[r+4>>2]|0,r=jk(e[o>>2]|0,t,i,n)|0,r|0)break e;r=o+4|0;break}case 1:{if(o=e[r+4>>2]|0,l=o+4|0,r=RY(e[(e[o>>2]|0)+28>>2]|0,e[(e[l>>2]|0)+24>>2]|0,t,i,n)|0,r|0)break e;if(r=jk(e[o>>2]|0,t,i,n)|0,!r)r=l;else break e;break}default:{r=0;break e}}r=e[r>>2]|0}return r|0}function tI0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=e[r+4>>2]|0,s|0){if(n=s+4|0,r=e[s>>2]|0,e[n>>2]|0){i=0;do e[r+(i<<5)+8>>2]|0&&(t=e[r+(i<<5)+16>>2]|0,t&&(r0(t),r=e[s>>2]|0),t=e[r+(i<<5)+28>>2]|0,t&&(r0(t),r=e[s>>2]|0)),i=i+1|0;while(i>>>0<(e[n>>2]|0)>>>0)}if(r|0&&r0(r),i=s+8|0,r=e[i>>2]|0,r|0){if(e[r+8>>2]|0){for(;t=e[r+16>>2]|0,t|0&&r0(t),e[r+40>>2]|0;)r=r+32|0;r=e[i>>2]|0}r0(r)}if(o=s+16|0,r=e[o>>2]|0,r|0){if(l=s+28|0,t=e[l>>2]|0,t){n=0;do i=e[r+(n*12|0)+8>>2]|0,i&&(r0(i),t=e[l>>2]|0,r=e[o>>2]|0),n=n+1|0;while(n>>>0>>0)}r0(r)}r=e[s+32>>2]|0,r|0&&r0(r),r=e[s+20>>2]|0,r|0&&r0(r),r=e[s+36>>2]|0,r|0&&r0(r),r0(s)}}function RY(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0;l=e[r>>2]|0,s=(l|0)>-1;e:do if(i)if(s)for(;;){s=e[t>>2]|0;r:do if((s|0)>-1)for(E=r+4|0,B=r+8|0,x=r+16|0,z=r+20|0,_=r+24|0,L=r+28|0,G=r+12|0,n=-1,l=t;;){for(m=s;(m|0)==(n|0);)if(l=l+32|0,s=e[l>>2]|0,(s|0)>-1)m=s;else break r;for(w=i+(e[o+(e[r>>2]<<2)>>2]<<5)|0;s=w+8|0,e[s>>2]|0;)w=w+32|0;if(e[w+40>>2]=0,e[w>>2]=e[E>>2],e[w+4>>2]=e[B>>2],e[s>>2]=i+(e[o+(m<<2)>>2]<<5),e[w+12>>2]=m,s=e[z>>2]|0,n=e[l+16>>2]|e[x>>2]|(s|0?4:0)|(e[_>>2]|0?8:0),A=w+20|0,e[A>>2]=n,a=e[L>>2]|0,(a|0)>-1&&(e[A>>2]=n|256,s=a),e[w+24>>2]=s,n=e[_>>2]|0,!n)e[w+28>>2]=0;else{s=0;do v=s,s=s+1|0;while(e[n+(v<<2)>>2]|0);if(s=Te(s<<2)|0,e[w+28>>2]=s,!s){l=12;break e}if(c=e[_>>2]|0,n=e[c>>2]|0,n){a=0,A=s;do e[A>>2]=n,a=a+1|0,n=e[c+(a<<2)>>2]|0,A=s+(a<<2)|0;while(n|0);s=A}e[s>>2]=0}if(n=e[G>>2]|0,!n)s=0;else for(s=0;(e[n+(s<<2)>>2]|0)>-1;)s=s+1|0;if(c=l+12|0,A=e[c>>2]|0,!A)n=0;else for(n=0;(e[A+(n<<2)>>2]|0)>-1;)n=n+1|0;if(a=w+16|0,A=e[a>>2]|0,A|0&&r0(A),e[a>>2]=0,s=n+s|0,(s|0)>0){if(v=Te((s<<2)+4|0)|0,e[a>>2]=v,!v){l=12;break e}if(n=e[G>>2]|0,n|0&&(W=e[n>>2]|0,(W|0)>-1)){s=0,A=W;do e[v+(s<<2)>>2]=A,s=s+1|0,A=e[n+(s<<2)>>2]|0;while((A|0)>-1);p=s}else p=0;if(a=e[c>>2]|0,a|0&&(N=e[a>>2]|0,(N|0)>-1)){c=(p|0)>0,s=p,A=0,w=N;do{t:do if(c)for(n=0;;){if((e[v+(n<<2)>>2]|0)==(w|0))break t;if(n=n+1|0,(n|0)>=(p|0)){T=39;break}}else T=39;while(0);(T|0)==39&&(T=0,e[v+(s<<2)>>2]=w,s=s+1|0),A=A+1|0,w=e[a+(A<<2)>>2]|0}while((w|0)>-1)}else s=p;e[v+(s<<2)>>2]=-1}if(l=l+32|0,s=e[l>>2]|0,(s|0)<=-1)break;n=m}while(0);if(r=r+32|0,(e[r>>2]|0)<=-1){l=0;break}}else l=0;else if(s){s=t+32|0;do{if((e[t>>2]|0)>-1&&(T=n+(l<<2)|0,e[T>>2]=(e[T>>2]|0)+1,(e[s>>2]|0)>-1)){l=s;do T=n+(e[r>>2]<<2)|0,e[T>>2]=(e[T>>2]|0)+1,l=l+32|0;while((e[l>>2]|0)>-1)}r=r+32|0,l=e[r>>2]|0}while((l|0)>-1);l=0}else l=0;while(0);return l|0}function Gn(r){return r=r|0,e[r+12>>2]|0}function ir(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+16|0,n=i+4|0,o=i,e[o>>2]=t,e[n>>2]=e[o>>2],t=TE(r,n)|0,g=i,t|0}function V2(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+16|0,n=i+4|0,o=i,e[o>>2]=t,e[n>>2]=e[o>>2],t=TE(r,n)|0,g=i,t|0}function $n(r){r=r|0;var t=0,i=0;return t=e[r+16>>2]|0,i=r+12|0,r=(e[i>>2]|0)+-1|0,e[i>>2]=r,e[t+(r<<2)>>2]|0}function m1(r){r=r|0;var t=0,i=0;return t=e[r+16>>2]|0,i=r+12|0,r=(e[i>>2]|0)+-1|0,e[i>>2]=r,e[t+(r<<2)>>2]|0}function Nk(r,t,i,n,o,l,s){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,r=ui(r,0,0,1,64)|0,r?(e[r>>2]=t,e[r+4>>2]=i,e[r+8>>2]=n,e[r+20>>2]=o,e[r+24>>2]=l,e[r+28>>2]=s,e[r+32>>2]=-1,e[r+36>>2]=-1,e[r+40>>2]=-1):r=0,r|0}function GY(r){return r=r|0,r=ui(r,0,0,1,32)|0,r?(e[r>>2]=-1,e[r+4>>2]=-1,e[r+8>>2]=-1):r=0,r|0}function Qk(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;if(m=(n|0)==0,m)v=0;else for(l=0;;)if((e[n+(l<<2)>>2]|0)>-1)l=l+1|0;else{v=l;break}for(s=0;;)if((e[t+(s<<5)>>2]|0)>-1)s=s+1|0;else{l=0;break}for(;(e[i+(l<<5)>>2]|0)>-1;)l=l+1|0;l=ui(r,0,0,1,(l+s<<5)+32|0)|0;e:do if(!l)l=0;else{if(s=e[t>>2]|0,(s|0)>-1)for(p=(v|0)>0,A=0;;){if(e[l+(A<<5)>>2]=s,e[l+(A<<5)+4>>2]=e[t+(A<<5)+4>>2],e[l+(A<<5)+8>>2]=e[t+(A<<5)+8>>2],e[l+(A<<5)+16>>2]=e[t+(A<<5)+16>>2]|o,e[l+(A<<5)+20>>2]=e[t+(A<<5)+20>>2],e[l+(A<<5)+24>>2]=e[t+(A<<5)+24>>2],e[l+(A<<5)+28>>2]=e[t+(A<<5)+28>>2],w=t+(A<<5)+12|0,a=e[w>>2]|0,s=(a|0)==0,m&s)s=0;else{if(s)c=0;else for(s=0;;)if((e[a+(s<<2)>>2]|0)>-1)s=s+1|0;else{c=s;break}if(s=ui(r,0,0,0,(c+v<<2)+4|0)|0,!s){l=0;break e}if((c|0)>0){w=e[w>>2]|0,a=0;do e[s+(a<<2)>>2]=e[w+(a<<2)>>2],a=a+1|0;while((a|0)!=(c|0))}else c=0;if(p){a=0;do e[s+(a+c<<2)>>2]=e[n+(a<<2)>>2],a=a+1|0;while((a|0)!=(v|0));a=v}else a=0;e[s+(a+c<<2)>>2]=-1}if(e[l+(A<<5)+12>>2]=s,A=A+1|0,s=e[t+(A<<5)>>2]|0,(s|0)<=-1){v=A;break}}else v=0;if(A=e[i>>2]|0,s=l+(v<<5)|0,(A|0)>-1){p=0,w=v;do{if(e[s>>2]=A,e[l+(w<<5)+4>>2]=e[i+(p<<5)+4>>2],e[l+(w<<5)+8>>2]=e[i+(p<<5)+8>>2],e[l+(w<<5)+16>>2]=e[i+(p<<5)+16>>2],e[l+(w<<5)+20>>2]=e[i+(p<<5)+20>>2],e[l+(w<<5)+24>>2]=e[i+(p<<5)+24>>2],e[l+(w<<5)+28>>2]=e[i+(p<<5)+28>>2],a=i+(p<<5)+12|0,s=e[a>>2]|0,!s)s=0;else{for(A=0;(e[s+(A<<2)>>2]|0)>-1;)A=A+1|0;if(s=ui(r,0,0,0,(A<<2)+4|0)|0,!s){l=0;break e}if((A|0)>0){c=e[a>>2]|0,a=0;do e[s+(a<<2)>>2]=e[c+(a<<2)>>2],a=a+1|0;while((a|0)!=(A|0))}else A=0;e[s+(A<<2)>>2]=-1}e[l+(w<<5)+12>>2]=s,p=p+1|0,A=e[i+(p<<5)>>2]|0,w=p+v|0,s=l+(w<<5)|0}while((A|0)>-1)}e[s>>2]=-1}while(0);return l|0}function Tk(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;m=Gn(r)|0,E=(o|0)!=0,E&&(e[o>>2]=0),t=ir(r,t)|0;e:do if(t)l=t;else if(p=(i|0)==0,w=(n|0)==0,(Gn(r)|0)>(m|0))for(;;){t=m1(r)|0;r:do switch(e[t>>2]|0){case 0:{switch(t=e[t+4>>2]|0,e[t>>2]|0){case-3:break;case-2:{if(w)break r;e[n>>2]=e[n>>2]|e[t+4>>2];break r}default:break r}if(s=e[t+4>>2]|0,(s|0)>-1){t:do if(!p){for(t=0;A=i+(t<<2)|0,a=e[A>>2]|0,!((a|0)<=-1);){if((a|0)==(s|0))break t;t=t+1|0}e[A>>2]=s,e[i+(t+1<<2)>>2]=-1}while(0);E&&(e[o>>2]=(e[o>>2]|0)+1)}break}case 3:{if(t=e[t+4>>2]|0,s=e[t>>2]|0,e[s+8>>2]|0){c=s,v=6;break r}t=e[t+4>>2]|0,e[t+8>>2]|0&&(c=t,v=6);break}case 1:{if(t=e[t+4>>2]|0,s=ir(r,e[t>>2]|0)|0,s|0){l=s;break e}c=e[t+4>>2]|0,v=6;break}case 2:{t=e[e[t+4>>2]>>2]|0,e[t+8>>2]|0&&(c=t,v=6);break}default:}while(0);if((v|0)==6&&(v=0,l=ir(r,c)|0,l|0))break e;if((Gn(r)|0)<=(m|0)){l=0;break e}}else l=0;while(0);return l|0}function TE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;return c=g,g=g+16|0,l=c,i=r+12|0,n=e[i>>2]|0,a=e[r>>2]|0,(n|0)>=(a|0)?(i=e[r+4>>2]|0,(a|0)<(i|0)&&(o=(e[r+8>>2]|0)+a|0,o=(o|0)>(i|0)?i:o,s=r+16|0,A=O2(e[s>>2]|0,o<<2)|0,(A|0)!=0)?(e[r>>2]=o,e[s>>2]=A,e[l>>2]=e[t>>2],TE(r,l)|0,i=0):i=12):(e[(e[r+16>>2]|0)+(n<<2)>>2]=e[t>>2],e[i>>2]=(e[i>>2]|0)+1,i=0),g=c,i|0}function u8(r,t,i){return r=r|0,t=t|0,i=i|0,r=ui(r,0,0,1,32)|0,(i|0)!=0&(r|0)!=0?(e[r+4>>2]=i,e[r>>2]=t,e[r+8>>2]=-1,e[r+12>>2]=-1):r=0,r|0}function Fk(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0;var a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;B=Gn(t)|0,ir(t,i)|0,i=V2(t,0)|0;e:do if(i)n=0;else for(E=(n&1|0)==0,m=(n&2|0)!=0,v=0,c=1,i=s;;){if((Gn(t)|0)>(B|0))p=i;else{n=v,i=0;break e}r:for(;;){t:for(;;){switch($n(t)|0){case 1:{s=7;break t}case 0:{switch(i=m1(t)|0,e[i>>2]|0){case 0:{s=9;break r}case 3:{s=19;break r}case 1:{s=26;break r}case 2:{s=33;break t}default:}break}default:}if((Gn(t)|0)<=(B|0)){n=v,i=0;break e}}if((s|0)==7)i=m1(t)|0;else if((s|0)==33){if(n=e[i+4>>2]|0,i=ir(t,e[n>>2]|0)|0,i|0){n=v;break e}if(i=V2(t,0)|0,i|0){n=v;break e}if(i=FE(r,e[n>>2]|0,e[n+4>>2]|0,e[n+8>>2]|0,y[n+12>>0]&1)|0,e[p>>2]=i,!i){n=v,i=12;break e}i=e[i+4>>2]|0}if((Gn(t)|0)>(B|0))p=i;else{n=v,i=0;break e}}if((s|0)==9)w=e[i+4>>2]|0,s=e[w+8>>2]|0,n=e[w>>2]|0,i=e[w+4>>2]|0,(n|0)>-1|(n|0)==-4?(s=(e[o>>2]|0)+s|0,a=v+1|0):E|(n|0)!=-3?(n|0)==-3?m&(c|0)!=0?(e[l+(i<<2)>>2]=1,n=-3,a=v,c=0):(n=-3,a=v):a=v:(i=-1,n=-1,s=-1,a=v),i=Nt(r,n,i,s)|0,e[p>>2]=i,i?(i=e[i+4>>2]|0,e[i+12>>2]=e[w+12>>2],e[i+16>>2]=e[w+16>>2],i=0):i=12,(s|0)>(e[A>>2]|0)&&(e[A>>2]=s),n=p;else if((s|0)==19){if(s=e[i+4>>2]|0,n=s+4|0,i=nu(r,e[s>>2]|0,e[n>>2]|0)|0,e[p>>2]=i,!i){n=v,i=12;break e}if(w=e[i+4>>2]|0,i=ir(t,e[n>>2]|0)|0,i|0){n=v;break e}if(i=V2(t,0)|0,i|0){n=v;break e}if(i=ir(t,w+4|0)|0,i|0){n=v;break e}if(i=V2(t,1)|0,i|0){n=v;break e}if(i=ir(t,e[s>>2]|0)|0,i|0){n=v;break e}a=v,n=w,i=V2(t,0)|0}else if((s|0)==26){if(w=e[i+4>>2]|0,s=w+4|0,i=Ff(r,e[w>>2]|0,e[s>>2]|0)|0,e[p>>2]=i,!i){n=v,i=12;break e}if(n=e[i+4>>2]|0,e[n>>2]=0,a=n+4|0,e[a>>2]=0,i=ir(t,e[s>>2]|0)|0,i|0){n=v;break e}if(i=V2(t,0)|0,i|0){n=v;break e}if(i=ir(t,a)|0,i|0){n=v;break e}if(i=V2(t,1)|0,i|0){n=v;break e}if(i=ir(t,e[w>>2]|0)|0,i|0){n=v;break e}a=v,i=V2(t,0)|0}if(!i)v=a,i=n;else{n=a;break}}while(0);return e[o>>2]=(e[o>>2]|0)+n,i|0}function FE(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;return l=ui(r,0,0,1,16)|0,r=u8(r,2,l)|0,r?(e[l>>2]=t,e[l+4>>2]=i,e[l+8>>2]=n,l=l+12|0,y[l>>0]=y[l>>0]&-2|o&1,e[r+16>>2]=e[t+16>>2]):r=0,r|0}function nu(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return t&&(n=ui(r,0,0,1,8)|0,r=u8(r,3,n)|0,(i|0)!=0&(r|0)!=0?(e[n>>2]=t,e[n+4>>2]=i,e[r+16>>2]=(e[i+16>>2]|0)+(e[t+16>>2]|0),i=r):i=0),i|0}function PE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=ui(r,0,0,0,8)|0,n|0&&(i=Nt(r,-3,i,-1)|0,e[n>>2]=i,(i|0)!=0)&&(o=ui(r,0,0,0,32)|0,e[n+4>>2]=o,(o|0)!=0)?(r=t+4|0,e[o+4>>2]=e[r>>2],e[o>>2]=e[t>>2],e[o+8>>2]=-1,e[o+12>>2]=-1,o=o+16|0,e[o>>2]=0,e[o+4>>2]=0,e[o+8>>2]=0,e[o+12>>2]=0,e[r>>2]=n,e[t>>2]=1,r=0):r=12,r|0}function Pk(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(o=e[r>>2]|0,(o|0)>-1){l=e[t+16>>2]|0,n=0,t=o;do o=t>>>1,e[(t&1|0?l+(o*12|0)+4|0:l+(o*12|0)|0)>>2]=i,n=n+1|0,t=e[r+(n<<2)>>2]|0;while((t|0)>-1)}e[r>>2]=-1}function ZY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=ui(r,0,0,0,8)|0,n|0&&(i=Nt(r,-3,i,-1)|0,e[n+4>>2]=i,(i|0)!=0)&&(o=ui(r,0,0,0,32)|0,e[n>>2]=o,(o|0)!=0)?(r=t+4|0,e[o+4>>2]=e[r>>2],e[o>>2]=e[t>>2],e[o+8>>2]=-1,e[o+12>>2]=-1,o=o+16|0,e[o>>2]=0,e[o+4>>2]=0,e[o+8>>2]=0,e[o+12>>2]=0,e[r>>2]=n,e[t>>2]=1,r=0):r=12,r|0}function WY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0;c=g,g=g+16|0,A=c,s=r+32|0,l=e[s>>2]|0,o=l&1;e:do switch(y[t>>0]|0){case 91:{i=oI0(r,t+1|0)|0;break}case 92:{if(i=t+1|0,n=lI0(i)|0,n|0){i=WY(r,n)|0,e[r+12>>2]=t+2;break e}switch(n=y[i>>0]|0,n|0){case 0:{i=5;break e}case 98:{n=Nt(e[r>>2]|0,-2,64,-1)|0;break}case 66:{n=Nt(e[r>>2]|0,-2,128,-1)|0;break}case 60:{n=Nt(e[r>>2]|0,-2,16,-1)|0;break}case 62:{n=Nt(e[r>>2]|0,-2,32,-1)|0;break}case 120:{l=t+2|0,s=(y[l>>0]|0)==123,o=s?8:2,l=s?t+3|0:l,i=0,n=0;do{if(t=sI0(y[l+i>>0]|0)|0,(t|0)<0)break;n=t+(n<<4)|0,i=i+1|0}while((n|0)<1114112&(i|0)<(o|0));if(i=l+i|0,s){if((y[i>>0]|0)!=125){i=9;break e}i=i+1|0}A=e[r>>2]|0,s=r+24|0,a=e[s>>2]|0,e[s>>2]=a+1,n=Nt(A,n,n,a)|0,i=i+-1|0;break}case 63:case 43:case 123:if(o){a=37;break e}else{i=13;break e}case 124:{if(o|0){a=37;break e}i=Nt(e[r>>2]|0,-1,-1,-1)|0,a=45;break e}default:{if(!((o|0)==0&(n+-49|0)>>>0<9)){a=37;break e}A=n+-48|0,a=e[r>>2]|0,s=r+24|0,n=e[s>>2]|0,e[s>>2]=n+1,n=Nt(a,-4,A,n)|0,a=r+28|0,s=e[a>>2]|0,e[a>>2]=(A|0)<(s|0)?s:A}}t=i+1|0,i=n,a=45;break}case 46:{i=e[r>>2]|0,o=r+24|0,n=e[o>>2]|0,e[o>>2]=n+1,l&4?(n=Nt(i,0,9,n)|0,a=e[r>>2]|0,i=e[o>>2]|0,e[o>>2]=i+1,i=Nt(a,11,1114111,i)|0,(n|0)!=0&(i|0)!=0?i=nu(e[r>>2]|0,n,i)|0:i=0):i=Nt(i,0,1114111,n)|0,t=t+1|0,a=45;break}case 94:{if(!(o|0)&&(e[r+16>>2]|0)!=(t|0)){i=t,a=37;break e}t=t+1|0,i=Nt(e[r>>2]|0,-2,1,-1)|0,a=45;break}case 36:{if(i=t+1|0,!(o|0)&&y[i>>0]|0){i=t,a=37;break e}t=i,i=Nt(e[r>>2]|0,-2,2,-1)|0,a=45;break}case 63:case 43:case 123:case 42:{o?i=13:(i=t,a=37);break}case 124:{o?a=36:(i=t,a=37);break}case 0:{a=36;break}default:i=t,a=37}while(0);if((a|0)==36)i=Nt(e[r>>2]|0,-1,-1,-1)|0,a=45;else if((a|0)==37)if(l=Zs(A,i,-1)|0,(l|0)<0)i=2;else{do if(e[s>>2]&2){if(!(IE(e[A>>2]|0)|0)&&!(BE(e[A>>2]|0)|0)){a=43;break}s=e[r>>2]|0,w=eu(e[A>>2]|0)|0,o=eu(e[A>>2]|0)|0,n=r+24|0,o=Nt(s,w,o,e[n>>2]|0)|0,w=e[r>>2]|0,s=ru(e[A>>2]|0)|0,t=ru(e[A>>2]|0)|0,t=Nt(w,s,t,e[n>>2]|0)|0,(o|0)!=0&(t|0)!=0?o=nu(e[r>>2]|0,o,t)|0:o=0}else a=43;while(0);(a|0)==43&&(o=e[A>>2]|0,n=r+24|0,o=Nt(e[r>>2]|0,o,o,e[n>>2]|0)|0),e[n>>2]=(e[n>>2]|0)+1,t=i+l|0,i=o,a=45}return(a|0)==45&&(i?(e[r+8>>2]=i,e[r+12>>2]=t,i=0):i=12),g=c,i|0}function iI0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A+4|0,o=A,r=DY(r,s)|0,(y[r>>0]|0)==44?(r=DY(r+1|0,o)|0,l=e[o>>2]|0,o=e[s>>2]|0):(s=e[s>>2]|0,e[o>>2]=s,l=s,o=s);do if(o>>>0>255|((l|0)>255|(l|0)>-1&(l|0)<(o|0)))r=0;else{if(!t)if((y[r>>0]|0)==92)r=r+1|0;else{r=0;break}(y[r>>0]|0)==125?(e[i>>2]=o,e[n>>2]=l,r=r+1|0):r=0}while(0);return g=A,r|0}function nI0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return(e[t+12>>2]|0)>-1?(n=Nt(e[r>>2]|0,-1,-1,-1)|0,n|0&&(o=Ff(e[r>>2]|0,n,t)|0,(o|0)!=0)?(n=e[t+16>>2]|0,e[o+16>>2]=n,l=6):n=12):(o=t,n=e[t+16>>2]|0,l=6),(l|0)==6&&(e[o+12>>2]=i,e[o+16>>2]=n+1,e[r+8>>2]=o,n=0),n|0}function DY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;if(e[t>>2]=-1,((y[r>>0]|0)+-48|0)>>>0<10)for(e[t>>2]=0,i=r,o=0,n=y[r>>0]|0;o=(o*10|0)+-48+(n<<24>>24)|0,e[t>>2]=o,r=i+1|0,n=y[r>>0]|0,!((o|0)>255|((n<<24>>24)+-48|0)>>>0>9);)i=r;return r|0}function oI0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;if(B=g,g=g+288|0,i=B+264|0,o=B,e[i>>2]=e[r>>2],l=i+8|0,e[l>>2]=0,e[i+12>>2]=32,v=Te(128)|0,E=i+4|0,e[E>>2]=v,!v)t=12;else{n=o+4|0,e[n>>2]=0,v=(y[t>>0]|0)==94,e[o>>2]=v&1,t=AI0(r,v?t+1|0:t,i,o)|0;e:do if(t)i=0;else{if(v=(e[o>>2]|0)==0,v)n=0;else{if(ei(e[E>>2]|0,e[l>>2]|0,4,111),t=YE(i)|0,!t){t=12,i=0;break}if(e[t>>2]=1114112,e[t+4>>2]=1114112,e[t+8>>2]=-1,t=e[n>>2]|0,t){if(i=t<<2,n=ui(e[r>>2]|0,0,0,0,i+4|0)|0,!n){t=12,i=0;break}u2(n|0,o+8|0,i|0)|0,e[n+(t<<2)>>2]=0}else n=0}if(c=e[l>>2]|0,(c|0)>0)for(w=e[E>>2]|0,p=r+24|0,i=0,t=0,a=0;;){A=e[w+(a<<2)>>2]|0,o=e[A>>2]|0,l=A+4|0,s=e[l>>2]|0;do if(v)m=14;else if((o|0)>(t|0)){e[A>>2]=t,e[l>>2]=o+-1,t=s+1|0,m=14;break}else{A=s+1|0,t=(A|0)>=(t|0)?A:t;break}while(0);if((m|0)==14&&(m=0,e[A+8>>2]=e[p>>2],e[A+16>>2]=n,A=u8(e[r>>2]|0,0,A)|0,i=nu(e[r>>2]|0,i,A)|0,!i)){t=12,i=0;break e}if(a=a+1|0,(a|0)>=(c|0)){t=0;break}}else t=0,i=0}while(0);r0(e[E>>2]|0),E=r+24|0,e[E>>2]=(e[E>>2]|0)+1,e[r+8>>2]=i}return g=B,t|0}function lI0(r){r=r|0;var t=0;for(t=y[r>>0]|0,r=0;(y[63752+(r<<3)>>0]|0)!=t<<24>>24;)if(r=r+1|0,(r|0)==12){r=12;break}return e[63752+(r<<3)+4>>2]|0}function sI0(r){r=r|0;var t=0;return t=r+-48|0,t>>>0<10?t|0:(t=r|32,((t+-97|0)>>>0<6?t+-87|0:-1)|0)}function AI0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+32|0,p=x,m=x+4|0,s=Zs(p,t,-1)|0,o=y[t>>0]|0;e:do if((s|0)>=1){E=n+4|0,w=r+32|0,l=t,A=s;r:for(;;){if(s=(l|0)==(t|0),!(s|o<<24>>24!=93)){B=5;break}t:do if(!(s|o<<24>>24!=45)){switch(y[l+1>>0]|0){case 93:break t;case 45:break;default:{o=11;break e}}if((y[l+2>>0]|0)==93){o=11;break e}}while(0);t:do if(o<<24>>24==91){switch(y[l+1>>0]|0){case 61:case 46:{o=3;break e}case 58:break;default:{B=17;break t}}s=l+2|0,o=0;i:for(;;){switch(y[s+o>>0]|0){case 0:{B=16;break r}case 58:break i;default:}if((o|0)<13)o=o+1|0;else{B=16;break r}}if(u2(m|0,s|0,o|0)|0,y[m+o>>0]=0,A=vB0(m)|0,!A){B=16;break r}if(l=s+(o+2)|0,(y[s+(o+1)>>0]|0)!=93){B=16;break r}if(!(e[n>>2]|0))o=1114111,c=0,a=1,B=25;else{if(o=e[E>>2]|0,(o|0)>63){o=12;break e}e[E>>2]=o+1,e[n+8+(o<<2)>>2]=A}}else B=17;while(0);if((B|0)==17)if(B=0,s=e[p>>2]|0,l=l+A|0,(y[l>>0]|0)==45&&(v=l+1|0,(y[v>>0]|0)!=93)){if(l=Zs(p,v,-1)|0,o=e[p>>2]|0,(l|0)<1|(s|0)>(o|0)){o=11;break e}A=0,c=s,l=v+l|0,a=0,B=25}else A=0,o=s,c=s,a=0,B=25;if((B|0)==25){if(B=0,s=YE(i)|0,!s){o=12;break e}if(e[s>>2]=c,e[s+4>>2]=o,e[s+12>>2]=A,e[s+8>>2]=-1,!(a|(e[w>>2]&2|0)==0)&&fI0(i,c,o)|0){o=12;break e}}if(A=Zs(p,l,-1)|0,o=y[l>>0]|0,(A|0)<1){B=3;break e}}if((B|0)==5){e[r+12>>2]=l+1,o=0;break}else if((B|0)==16){o=4;break}}else B=3;while(0);return(B|0)==3&&(o=o<<24>>24?2:7),g=x,o|0}function uI0(r,t){return r=r|0,t=t|0,(e[e[r>>2]>>2]|0)-(e[e[t>>2]>>2]|0)|0}function YE(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;return s=r+8|0,i=e[s>>2]|0,n=r+12|0,o=e[n>>2]|0,(i|0)>=(o|0)?(o|0)<=32767&&(e[n>>2]=o<<1,l=r+4|0,t=O2(e[l>>2]|0,o<<3)|0,(t|0)!=0)?(e[l>>2]=t,i=e[s>>2]|0,A=6):t=0:(t=e[r+4>>2]|0,A=6),(A|0)==6&&(e[s>>2]=i+1,A=ui(e[r>>2]|0,0,0,1,20)|0,e[t+(i<<2)>>2]=A,t=A),t|0}function fI0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;e:do if((t|0)>(i|0))t=0;else for(;;){r:do if(BE(t)|0)for(o=eu(t)|0,n=o;;){if(l=t+1|0,n=n+1|0,(t|0)>=(i|0)){s=o,t=l,l=12;break r}if((eu(l)|0)==(n|0))t=l;else{s=o,t=l,l=12;break}}else{if(!(IE(t)|0)){t=t+1|0;break}for(o=ru(t)|0,n=o;;){if(l=t+1|0,n=n+1|0,(t|0)>=(i|0)){s=o,t=l,l=12;break r}if((ru(l)|0)==(n|0))t=l;else{s=o,t=l,l=12;break}}}while(0);if((l|0)==12){if(l=0,o=YE(r)|0,!o){t=-1;break e}e[o>>2]=s,e[o+4>>2]=n+-1,e[o+8>>2]=-1}if((t|0)>(i|0)){t=0;break}}while(0);return t|0}function aI0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0;return p=g,g=g+16|0,c=p,A=e[r+4>>2]|0,a=A+56|0,s=e[a>>2]&8|0?0:i,r=e[A+40>>2]|0,(r|0)>0&(s|0)!=0?(r=Te(r<<2)|0,r?(l=r,i=r,w=3):r=12):(l=0,i=0,w=3),(w|0)==3&&(e[A+60>>2]|0?r=cI0(A,t,l,o,c)|0:r=hI0(A,t,l,o,c)|0,r||MY(s,n,e[a>>2]|0,A,l,e[c>>2]|0),l&&r0(i)),g=p,r|0}function cI0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0;pe=g,g=g+16|0,ze=pe,e[ze>>2]=0,v=n&1,b0=n&2,O0=r+56|0,p=e[O0>>2]&4,me=zY(0,0)|0;e:do if(me){if(m=ui(me,0,0,0,32)|0,!m){iu(me),n=12;break}e[m+24>>2]=0,e[m+28>>2]=0,F0=r+40|0,E=e[F0>>2]|0,E?(n=Te(E<<2)|0,n?(a=n,A=n,U=6):(w=0,c=0,a=n,n=12,A=0,s=0,l=0)):(a=0,A=0,U=6);r:do if((U|0)==6){if(n=e[r+28>>2]|0,n)if(n=Te(n<<3)|0,n)w=n,s=n;else{w=n,c=0,n=12,s=0,l=0;break}else w=0,s=0;if(Z0=r+52|0,n=e[Z0>>2]|0,n)if(n=Te(n<<2)|0,n)c=n,l=n;else{c=n,n=12,l=0;break}else c=0,l=0;k0=r+8|0,B0=r+12|0,D0=(i|0)==0,J0=(i|0)!=0,V0=r+32|0,f0=(p|0)!=0,H=(v|0)==0,x=t,n=1,B=-1,L=-1,p=E,P=0;t:for(;;){if((p|0)>0){v=0;do e[a+(v<<2)>>2]=-1,D0||(e[i+(v<<2)>>2]=-1,p=e[F0>>2]|0),v=v+1|0;while((v|0)<(p|0))}if(p=e[Z0>>2]|0,(p|0)>0&&Ur(l|0,0,p<<2|0)|0,t0=n+B|0,n=Zs(ze,x,4)|0,(n|0)<1)if((n|0)<0){n=1;break r}else n=1;if(q=x+n|0,Y=e[ze>>2]|0,p=e[k0>>2]|0,v=p+8|0,e[v>>2]|0){for(G=(t0|0)!=0,W=(P|0)==95,N=(t0|0)==0,D=f0&(P|0)==10,T=(t0|0)<1&H,_=p,p=0,z=0,x=v;;){B=_+20|0,v=e[B>>2]|0;i:do if(v)if((v&1|0)==0|T|D){if(v&2|0&&(F=e[ze>>2]|0,!((F|b0|0)==0|f0&(F|0)==10))){E=z;break}do if(v&16|0){if(W){E=z;break i}if(_r(P)|0){E=z;break i}if(v=e[ze>>2]|0,(v|0)==95)break;if(!(_r(v)|0)){E=z;break i}}while(0);if(v=e[B>>2]|0,v&32){if(W){if(v=e[ze>>2]|0,(v|0)==95){E=z;break}}else if(F=(_r(P)|0)==0,v=e[ze>>2]|0,F|(v|0)==95){E=z;break}if(_r(v)|0){E=z;break}v=e[B>>2]|0}E=e[ze>>2]|0;do if((E|0)!=0&(G&(v&64|0)!=0))if(W?v=1:(v=(_r(P)|0)!=0,E=e[ze>>2]|0),(E|0)==95)if(v){E=z;break i}else break;else{if(v^(_r(E)|0)!=0)break;E=z;break i}while(0);if(!(e[B>>2]&128)){U=49;break}if(v=e[ze>>2]|0,N|(v|0)==0){E=z;break}if(W?E=1:(E=(_r(P)|0)!=0,v=e[ze>>2]|0),(v|0)==95)if(E){U=49;break}else{E=z;break}else if(E^(_r(v)|0)!=0){E=z;break}else{U=49;break}}else E=z;else U=49;while(0);do if((U|0)==49){if(U=0,!z){p=e[_+16>>2]|0,E=e[x>>2]|0;break}if(E=m+28|0,v=e[E>>2]|0,v)m=v;else{if(v=ui(me,0,0,0,32)|0,!v){U=53;break t}if(e[v+24>>2]=m,e[v+28>>2]=0,F=ui(me,0,0,0,e[F0>>2]<<2)|0,e[v+20>>2]=F,!F){U=60;break t}e[E>>2]=v,m=v}if(e[m>>2]=t0,e[m+4>>2]=q,e[m+8>>2]=e[x>>2],e[m+12>>2]=e[_+12>>2],e[m+16>>2]=e[ze>>2],(e[F0>>2]|0)>0){E=e[m+20>>2]|0,v=0;do e[E+(v<<2)>>2]=e[a+(v<<2)>>2],v=v+1|0;while((v|0)<(e[F0>>2]|0))}if(v=e[_+16>>2]|0,!v)E=z;else{if(E=e[v>>2]|0,(E|0)<=-1){E=z;break}B=e[m+20>>2]|0;do v=v+4|0,e[B+(E<<2)>>2]=t0,E=e[v>>2]|0;while((E|0)>-1);E=z}}while(0);if(x=_+40|0,e[x>>2]|0)_=_+32|0,z=E;else break}if(p){if(v=e[p>>2]|0,(v|0)>-1)do e[a+(v<<2)>>2]=t0,p=p+4|0,v=e[p>>2]|0;while((v|0)>-1)}else p=0;E?(x=t0,B=q,G=E,W=p,U=79):U=171}else p=0,U=171;i:for(;;){if((U|0)==79){if((G|0)==(e[B0>>2]|0)){if((L|0)>=(x|0)){if(!(J0&(L|0)==(x|0))){p=W,U=171;continue}if(p=e[F0>>2]|0,!(NY(p,e[V0>>2]|0,a,i)|0)){p=W,U=171;continue}}else{if(D0){L=x,p=W,U=171;continue}p=e[F0>>2]|0}if((p|0)>0)p=0;else{L=x,p=W,U=171;continue}for(;;)if(e[i+(p<<2)>>2]=e[a+(p<<2)>>2],p=p+1|0,(p|0)>=(e[F0>>2]|0)){L=x,p=W,U=171;continue i}}if(_=G+8|0,e[_>>2]|0&&e[G+20>>2]&256|0){if(v=e[G+24>>2]|0,MY(v+1|0,w,e[O0>>2]&-9,r,a,x),F=e[w+(v<<3)>>2]|0,v=(e[w+(v<<3)+4>>2]|0)-F|0,Yr(t+F|0,B+-1|0,v)|0){p=W,U=171;continue}if(F=(v|0)==0,p=F&1,E=e[G+12>>2]|0,F&&e[c+(E<<2)>>2]|0){p=W,U=171;continue}if(e[c+(E<<2)>>2]=p,v=v+-1|0,B=B+v|0,v=v+x|0,E=e[ze>>2]|0,p=Zs(ze,B,4)|0,(p|0)<1)if((p|0)<0){n=1;break r}else p=1;J=B+p|0,F=p}else{if(E=e[ze>>2]|0,!E){p=W,U=171;continue}if(p=Zs(ze,B,4)|0,(p|0)<1)if((p|0)<0){n=1;break r}else p=1;v=x,J=B+p|0,F=p}if(x=v+n|0,!(e[_>>2]|0)){n=F,p=W,U=171;continue}for(N=(x|0)!=0,T=(E|0)==95,D=(x|0)==0,U=f0&(E|0)==10,P=(x|0)<1&H,z=0,p=W;;){n:do if((e[G>>2]|0)>>>0<=E>>>0){if((e[G+4>>2]|0)>>>0>>0)break;B=G+20|0,n=e[B>>2]|0;do if(n|0){if(!((n&1|0)==0|P|U)||n&2|0&&(W=e[ze>>2]|0,!((W|b0|0)==0|f0&(W|0)==10)))break n;do if(n&16|0){if(T||_r(E)|0)break n;if(n=e[ze>>2]|0,(n|0)==95)break;if(!(_r(n)|0))break n}while(0);if(n=e[B>>2]|0,n&32){if(T){if(n=e[ze>>2]|0,(n|0)==95)break n}else if(W=(_r(E)|0)==0,n=e[ze>>2]|0,W|(n|0)==95)break n;if(_r(n)|0)break n;n=e[B>>2]|0}v=e[ze>>2]|0;do if((v|0)!=0&(N&(n&64|0)!=0))if(T?n=1:(n=(_r(E)|0)!=0,v=e[ze>>2]|0),(v|0)==95){if(n)break n;break}else{if(n^(_r(v)|0)!=0)break;break n}while(0);do if(e[B>>2]&128|0){if(n=e[ze>>2]|0,D|(n|0)==0)break n;if(T?v=1:(v=(_r(E)|0)!=0,n=e[ze>>2]|0),(n|0)==95){if(v)break;break n}else{if(v^(_r(n)|0)!=0)break n;break}}while(0);n=e[B>>2]|0;do if(n&4){if(e[O0>>2]&2|0)break;if(!(Gs(E,e[G+24>>2]|0)|0))break n;n=e[B>>2]|0}while(0);do if(n&4|0){if(!(e[O0>>2]&2)||(W=ru(E)|0,n=G+24|0,Gs(W,e[n>>2]|0)|0))break;if(W=eu(E)|0,!(Gs(W,e[n>>2]|0)|0))break n}while(0);if(!(e[B>>2]&8))break;if(jY(e[G+28>>2]|0,E,e[O0>>2]&2)|0)break n}while(0);if(!z){z=e[_>>2]|0,p=e[G+16>>2]|0;break}if(v=m+28|0,n=e[v>>2]|0,n)m=n;else{if(n=ui(me,0,0,0,32)|0,!n){U=145;break t}if(e[n+24>>2]=m,e[n+28>>2]=0,W=ui(me,0,0,0,e[F0>>2]<<2)|0,e[n+20>>2]=W,!W){U=152;break t}e[v>>2]=n,m=n}if(e[m>>2]=x,e[m+4>>2]=J,e[m+8>>2]=e[_>>2],e[m+12>>2]=e[G+12>>2],e[m+16>>2]=e[ze>>2],(e[F0>>2]|0)>0){v=e[m+20>>2]|0,n=0;do e[v+(n<<2)>>2]=e[a+(n<<2)>>2],n=n+1|0;while((n|0)<(e[F0>>2]|0))}if(n=e[G+16>>2]|0,!n||(v=e[n>>2]|0,(v|0)<=-1))break;B=e[m+20>>2]|0;do e[B+(v<<2)>>2]=x,n=n+4|0,v=e[n>>2]|0;while((v|0)>-1)}while(0);if(_=G+40|0,e[_>>2]|0)G=G+32|0;else break}if(!z){n=F,U=171;continue}if(p)if(n=e[p>>2]|0,(n|0)>-1){do p=p+4|0,e[a+(n<<2)>>2]=x,n=e[p>>2]|0;while((n|0)>-1);E=L,v=J,n=F}else E=L,v=J,n=F;else E=L,v=J,n=F,p=0}else if((U|0)==171){if(U=0,B=e[m+24>>2]|0,!B)break;if(z=e[m+8>>2]|0,e[z+20>>2]&256|0&&(e[c+(e[m+12>>2]<<2)>>2]=0),x=e[m>>2]|0,_=e[m+4>>2]|0,e[ze>>2]=e[m+16>>2],E=e[F0>>2]|0,(E|0)>0){m=e[m+20>>2]|0,v=0;do e[a+(v<<2)>>2]=e[m+(v<<2)>>2],v=v+1|0;while((v|0)<(E|0));m=B,E=L,v=_}else m=B,E=L,v=_}B=v,L=E,G=z,W=p,U=79}if(p=(L|0)>-1,p|(e[ze>>2]|0)==0){U=180;break}e[ze>>2]=Y,x=q,B=t0,p=e[F0>>2]|0,P=Y}if((U|0)==53){if(iu(me),a|0&&r0(A),w|0&&r0(s),!c){n=12;break e}r0(l),n=12;break e}else if((U|0)==60){if(iu(me),a|0&&r0(A),w|0&&r0(s),!c){n=12;break e}r0(l),n=12;break e}else if((U|0)==145){if(iu(me),a|0&&r0(A),w|0&&r0(s),!c){n=12;break e}r0(l),n=12;break e}else if((U|0)==152){if(iu(me),a|0&&r0(A),w|0&&r0(s),!c){n=12;break e}r0(l),n=12;break e}else if((U|0)==180){e[o>>2]=L,n=(p^1)&1;break}}while(0);iu(me),a|0&&r0(A),w|0&&r0(s),c&&r0(l)}else n=12;while(0);return g=pe,n|0}function hI0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0,B0=0,D0=0,J0=0,V0=0,Z0=0,F0=0,b0=0,O0=0,ze=0,me=0,pe=0;if(pe=g,g=g+16|0,O0=pe,e[O0>>2]=0,c=n&1,Z0=n&2,F0=r+56|0,a=e[F0>>2]&4,i?J0=e[r+40>>2]|0:J0=0,V0=J0<<2,A=e[r+52>>2]|0,s=A<<3,l=s+8|0,n=V0+12+s+(l+(N0(V0,A)|0)<<1)|0,ze=Te(n)|0,!ze)n=12;else{if(Ur(ze|0,0,n|0)|0,n=ze+V0|0,w=n&3,w=n+(w|0?4-w|0:0)|0,n=w+l|0,p=n&3,p=n+(p|0?4-p|0:0)|0,n=p+l|0,D0=n&3,D0=n+(D0|0?4-D0|0:0)|0,n=D0+s|0,l=n&3,s=(A|0)>0,s){for(n=n+(l|0?4-l|0:0)|0,l=0;e[p+(l<<3)+4>>2]=n,n=n+V0|0,e[w+(l<<3)+4>>2]=n,l=l+1|0,!((l|0)>=(A|0));)n=n+V0|0;if(s){n=0;do e[D0+(n<<3)>>2]=-1,n=n+1|0;while((n|0)<(A|0))}}n=Zs(O0,t,4)|0,(n|0)<1?(n|0)<0?n=1:(A=1,me=11):(A=n,me=11);e:do if((me|0)==11){for(B0=r+8|0,k0=(a|0)!=0,F=(c|0)==0,q=(J0|0)>0,t0=r+12|0,Y=(J0|0)<1,H=r+44|0,f0=r+32|0,U=r+36|0,J=(J0|0)==0,s=0,L=t+A|0,_=0,a=0,n=-1,l=w,D=ze,W=w,G=p;;){if((n|0)<0){r=e[B0>>2]|0,c=r+8|0;r:do if(e[c>>2]|0)for(m=(_|0)!=0,E=(s|0)==95,B=(_|0)==0,z=k0&(s|0)==10,x=(_|0)<1&F;;){t:for(;v=r+12|0,!((e[D0+(e[v>>2]<<3)>>2]|0)>=(_|0));){if(p=r+20|0,t=e[p>>2]|0,!t){me=46;break}i:do if((t&1|0)==0|x|z){if(t&2|0&&(P=e[O0>>2]|0,!((P|Z0|0)==0|k0&(P|0)==10)))break;do if(t&16|0){if(E||_r(s)|0)break i;if(t=e[O0>>2]|0,(t|0)==95)break;if(!(_r(t)|0))break i}while(0);if(t=e[p>>2]|0,t&32){if(E){if(t=e[O0>>2]|0,(t|0)==95)break}else if(P=(_r(s)|0)==0,t=e[O0>>2]|0,P|(t|0)==95)break;if(_r(t)|0)break;t=e[p>>2]|0}w=e[O0>>2]|0;do if((w|0)!=0&(m&(t&64|0)!=0))if(E?t=1:(t=(_r(s)|0)!=0,w=e[O0>>2]|0),(w|0)==95){if(t)break i;break}else{if(t^(_r(w)|0)!=0)break;break i}while(0);if(!(e[p>>2]&128)){me=46;break t}if(t=e[O0>>2]|0,B|(t|0)==0)break;if(E?w=1:(w=(_r(s)|0)!=0,t=e[O0>>2]|0),(t|0)==95)if(w){me=46;break t}else break;else{if(w^(_r(t)|0)!=0)break;me=46;break t}}while(0);if(c=r+40|0,e[c>>2]|0)r=r+32|0;else break r}if((me|0)==46){if(me=0,e[l>>2]=e[c>>2],q&&Ur(e[l+4>>2]|0,-1,V0|0)|0,c=e[r+16>>2]|0,c|0&&(b0=e[c>>2]|0,(b0|0)>-1)){w=l+4|0,t=b0;do(t|0)<(J0|0)&&(e[(e[w>>2]|0)+(t<<2)>>2]=_),c=c+4|0,t=e[c>>2]|0;while((t|0)>-1)}if(c=(e[l>>2]|0)!=(e[t0>>2]|0),c|Y)a=c?a:1,n=c?n:_,c=l+4|0;else{c=l+4|0,a=e[c>>2]|0,n=0;do e[i+(n<<2)>>2]=e[a+(n<<2)>>2],n=n+1|0;while((n|0)!=(J0|0));a=1,n=_}P=e[v>>2]|0,e[D0+(P<<3)>>2]=_,e[D0+(P<<3)+4>>2]=c,l=l+8|0}if(c=r+40|0,e[c>>2]|0)r=r+32|0;else break}while(0);if(e[l>>2]=0,l=e[O0>>2]|0,l)s=l;else break}else if(J||(s=e[O0>>2]|0,!((l|0)!=(W|0)&(s|0)!=0)))break;if(P=_+A|0,l=Zs(O0,L,4)|0,(l|0)<1)if((l|0)<0){n=1;break e}else A=1;else A=l;if(T=L+A|0,(a|0)!=0&(e[H>>2]|0)!=0){if(!(e[W>>2]|0))l=G;else{v=e[U>>2]|0,m=e[v>>2]|0,E=(m|0)>-1,p=W,l=G;do{w=p+4|0;r:do if(E){c=0,t=m;do{if(r=e[v+((c|1)<<2)>>2]|0,(t|0)>=(J0|0)||(a=e[w>>2]|0,(e[a+(r<<2)>>2]|0)==(e[i+(r<<2)>>2]|0)&&(e[a+(t<<2)>>2]|0)<(e[i+(t<<2)>>2]|0)))break r;c=c+2|0,t=e[v+(c<<2)>>2]|0}while((t|0)>-1);c=w,me=75}else c=w,a=e[w>>2]|0,me=75;while(0);(me|0)==75&&(me=0,e[l>>2]=e[p>>2],L=l+4|0,N=e[L>>2]|0,e[L>>2]=a,e[c>>2]=N,l=l+8|0),p=p+8|0}while(e[p>>2]|0)}e[l>>2]=0,N=W,a=0}else N=G,G=W;if(c=e[G>>2]|0,!c)c=D,l=N;else for(B=(P|0)!=0,x=(s|0)==95,z=(P|0)==0,L=k0&(s|0)==10,_=(P|0)<1&F,E=G,r=D,l=N;;){if(t=c+8|0,e[t>>2]|0)for(m=E+4|0,v=r,p=t;;){r:do if((e[c>>2]|0)>>>0<=s>>>0&&(e[c+4>>2]|0)>>>0>=s>>>0){w=c+20|0,r=e[w>>2]|0;do if(r|0){if(!((r&1|0)==0|_|L)){r=v;break r}if(r&2|0&&(D=e[O0>>2]|0,!((D|Z0|0)==0|k0&(D|0)==10))){r=v;break r}do if(r&16|0){if(x){r=v;break r}if(_r(s)|0){r=v;break r}if(r=e[O0>>2]|0,(r|0)==95)break;if(!(_r(r)|0)){r=v;break r}}while(0);if(r=e[w>>2]|0,r&32){if(x){if(r=e[O0>>2]|0,(r|0)==95){r=v;break r}}else if(D=(_r(s)|0)==0,r=e[O0>>2]|0,D|(r|0)==95){r=v;break r}if(_r(r)|0){r=v;break r}r=e[w>>2]|0}t=e[O0>>2]|0;do if((t|0)!=0&(B&(r&64|0)!=0))if(x?r=1:(r=(_r(s)|0)!=0,t=e[O0>>2]|0),(t|0)==95)if(r){r=v;break r}else break;else{if(r^(_r(t)|0)!=0)break;r=v;break r}while(0);do if(e[w>>2]&128|0){if(r=e[O0>>2]|0,z|(r|0)==0){r=v;break r}if(x?t=1:(t=(_r(s)|0)!=0,r=e[O0>>2]|0),(r|0)==95){if(t)break;r=v;break r}else if(t^(_r(r)|0)!=0){r=v;break r}else break}while(0);r=e[w>>2]|0;do if(r&4){if(e[F0>>2]&2|0)break;if(!(Gs(s,e[c+24>>2]|0)|0)){r=v;break r}r=e[w>>2]|0}while(0);do if(r&4|0){if(!(e[F0>>2]&2)||(D=ru(s)|0,r=c+24|0,Gs(D,e[r>>2]|0)|0))break;if(D=eu(s)|0,!(Gs(D,e[r>>2]|0)|0)){r=v;break r}}while(0);if(!(e[w>>2]&8))break;if(jY(e[c+28>>2]|0,s,e[F0>>2]&2)|0){r=v;break r}}while(0);if(q){t=e[m>>2]|0,r=0;do e[v+(r<<2)>>2]=e[t+(r<<2)>>2],r=r+1|0;while((r|0)!=(J0|0))}r=e[c+16>>2]|0;do if(r|0){if(t=e[r>>2]|0,(t|0)<=-1)break;do(t|0)<(J0|0)&&(e[v+(t<<2)>>2]=P),r=r+4|0,t=e[r>>2]|0;while((t|0)>-1)}while(0);if(r=e[c+12>>2]|0,t=D0+(r<<3)|0,(e[t>>2]|0)>=(P|0)){if(r=e[D0+(r<<3)+4>>2]|0,t=e[r>>2]|0,!(NY(J0,e[f0>>2]|0,v,t)|0)){r=v;break}if(e[r>>2]=v,(e[p>>2]|0)!=(e[t0>>2]|0)){r=t;break}if(q)n=0;else{a=1,r=t,n=P;break}for(;;)if(e[i+(n<<2)>>2]=e[v+(n<<2)>>2],n=n+1|0,(n|0)==(J0|0)){a=1,r=t,n=P;break r}}D=e[p>>2]|0,e[l>>2]=D,W=l+4|0,w=e[W>>2]|0,e[W>>2]=v,e[t>>2]=P,e[D0+(r<<3)+4>>2]=W;do if((e[t0>>2]|0)==(D|0)){if((n|0)==-1)if(q)n=0;else{n=P,a=1;break}else{if(!q||(e[v>>2]|0)>(e[i>>2]|0))break;n=0}do e[i+(n<<2)>>2]=e[v+(n<<2)>>2],n=n+1|0;while((n|0)<(J0|0));n=P,a=1}while(0);r=w,l=l+8|0}else r=v;while(0);if(p=c+40|0,e[p>>2]|0)c=c+32|0,v=r;else break}if(E=E+8|0,c=e[E>>2]|0,!c){c=r;break}}e[l>>2]=0,L=T,_=P,D=c,W=N}e[o>>2]=n,n=n>>>31}while(0);r0(ze)}return g=pe,n|0}function MY(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;if((i&8|0)==0&(l|0)>-1&&(p=e[n+16>>2]|0,v=e[n+28>>2]|0,w=(r|0)!=0&(v|0)!=0,w)){c=e[n+48>>2]|0,a=0;do i=e[p+(a*12|0)>>2]|0,(i|0)==(c|0)?A=l:A=e[o+(i<<2)>>2]|0,s=t+(a<<3)|0,e[s>>2]=A,i=e[p+(a*12|0)+4>>2]|0,(i|0)==(c|0)?i=l:i=e[o+(i<<2)>>2]|0,n=t+(a<<3)+4|0,e[n>>2]=i,(i|0)==-1|(A|0)==-1&&(e[n>>2]=-1,e[s>>2]=-1),a=a+1|0;while(a>>>0>>0&a>>>0>>0);if(w){i=0;do{if(A=t+(i<<3)+4|0,a=e[p+(i*12|0)+8>>2]|0,a|0&&(m=e[a>>2]|0,(m|0)>-1)){c=t+(i<<3)|0,s=0,o=m,n=e[c>>2]|0;do(n|0)>=(e[t+(o<<3)>>2]|0)&&(e[A>>2]|0)<=(e[t+(o<<3)+4>>2]|0)||(e[A>>2]=-1,e[c>>2]=-1,n=-1),s=s+1|0,o=e[a+(s<<2)>>2]|0;while((o|0)>-1)}i=i+1|0}while(i>>>0>>0&i>>>0>>0)}else i=0}else i=0;i>>>0>>0&&Ur(t+(i<<3)|0,-1,r-i<<3|0)|0}function jY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=e[r>>2]|0;e:do if(!n)i=0;else for(o=(i|0)==0,i=n;;){if(o){if(Gs(t,i)|0){i=1;break e}}else{if(n=eu(t)|0,Gs(n,e[r>>2]|0)|0){i=1;break e}if(n=ru(t)|0,Gs(n,e[r>>2]|0)|0){i=1;break e}}if(r=r+4|0,i=e[r>>2]|0,!i){i=0;break}}while(0);return i|0}function NY(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e:do if((r|0)>0)for(o=0;;){if(s=e[i+(o<<2)>>2]|0,l=e[n+(o<<2)>>2]|0,e[t+(o<<2)>>2]|0){if((s|0)>(l|0)){o=1;break e}if((s|0)<(l|0)){o=0;break e}}else{if((s|0)<(l|0)){o=1;break e}if((s|0)>(l|0)){o=0;break e}}if(o=o+1|0,(o|0)>=(r|0)){o=0;break}}else o=0;while(0);return o|0}function QY(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;a=N0(i,t)|0,i=t|0?i:0,(e[n+76>>2]|0)>-1?A=qn(n)|0:A=0,o=n+74|0,l=y[o>>0]|0,y[o>>0]=l+255|l,o=n+4|0,l=e[o>>2]|0,w=(e[n+8>>2]|0)-l|0,s=w>>>0>>0?w:a,(w|0)>0?(u2(r|0,l|0,s|0)|0,e[o>>2]=l+s,o=a-s|0,r=r+s|0):o=a;e:do if(!o)c=13;else{for(s=n+32|0;!(oY(n)|0||(l=oe[e[s>>2]&63](n,r,o)|0,(l+1|0)>>>0<2));)if(o=o-l|0,o)r=r+l|0;else{c=13;break e}A|0&&N1(n),i=((a-o|0)>>>0)/(t>>>0)|0}while(0);return(c|0)==13&&A&&N1(n),i|0}function wI0(r){r=r|0;var t=0;return(e[r+76>>2]|0)>-1&&(t=(qn(r)|0)==0),r=TY(r)|0,r|0}function TY(r){r=r|0;var t=0;return e[r>>2]&128?t=(e[r+20>>2]|0)>>>0>(e[r+28>>2]|0)>>>0?2:1:t=1,t=oe[e[r+40>>2]&63](r,0,t)|0,(t|0)>=0&&(t=t-(e[r+8>>2]|0)+(e[r+4>>2]|0)+(e[r+20>>2]|0)-(e[r+28>>2]|0)|0),t|0}function FY(r){return r=r|0,(e[r+76>>2]|0)>-1&&qn(r)|0,e[r+60>>2]|0}function dI0(r){r=r|0;var t=0,i=0,n=0,o=0;n=e[15679]|0,(e[n+76>>2]|0)>-1?o=qn(n)|0:o=0;do if((Bi(r,n)|0)<0)r=-1;else{if((y[n+75>>0]|0)!=10&&(t=n+20|0,i=e[t>>2]|0,i>>>0<(e[n+16>>2]|0)>>>0)){e[t>>2]=i+1,y[i>>0]=10,r=0;break}r=(ME(n,10)|0)>>31}while(0);return o|0&&N1(n),r|0}function pI0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+48|0,s=a+24|0,l=a+16|0,o=a,t=a+28|0,r=t,i=153686,n=r+20|0;do y[r>>0]=y[i>>0]|0,r=r+1|0,i=i+1|0;while((r|0)<(n|0));for(i=t+13|0,r=0;;){if(SB0(i)|0,e[o>>2]=t,e[o+4>>2]=32962,e[o+8>>2]=384,n=Xn(Ly(5,o|0)|0)|0,(n|0)>-1){A=4;break}if((r|0)<99)r=r+1|0;else{r=0;break}}return(A|0)==4&&(e[l>>2]=t,Zr0(10,l|0)|0,r=EY(n,153706)|0,r||(e[s>>2]=n,jw(6,s|0)|0,r=0)),g=a,r|0}function OE(r){r=r|0;var t=0,i=0,n=0;(e[r+76>>2]|0)>=0&&qn(r)|0?(t=r+4|0,i=e[t>>2]|0,i>>>0<(e[r+8>>2]|0)>>>0?(e[t>>2]=i+1,t=s0[i>>0]|0):t=_k(r)|0):n=3;do if((n|0)==3)if(t=r+4|0,i=e[t>>2]|0,i>>>0<(e[r+8>>2]|0)>>>0){e[t>>2]=i+1,t=s0[i>>0]|0;break}else{t=_k(r)|0;break}while(0);return t|0}function VE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;(e[t+76>>2]|0)>=0&&qn(t)|0?(n=r&255,i=r&255,(i|0)!=(y[t+75>>0]|0)&&(s=t+20|0,A=e[s>>2]|0,A>>>0<(e[t+16>>2]|0)>>>0)?(e[s>>2]=A+1,y[A>>0]=n):i=ME(t,r)|0,N1(t)):a=3;do if((a|0)==3){if(n=r&255,i=r&255,(i|0)!=(y[t+75>>0]|0)&&(o=t+20|0,l=e[o>>2]|0,l>>>0<(e[t+16>>2]|0)>>>0)){e[o>>2]=l+1,y[l>>0]=n;break}i=ME(t,r)|0}while(0);return i|0}function kI0(r){return r=r|0,wI0(r)|0}function vI0(){}function mI0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=r&65535,o=t&65535,i=N0(o,l)|0,n=r>>>16,r=(i>>>16)+(N0(o,n)|0)|0,o=t>>>16,t=N0(o,l)|0,b=(r>>>16)+(N0(o,n)|0)+(((r&65535)+t|0)>>>16)|0,r+t<<16|i&65535|0|0}function Hc(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=r,l=i,i=mI0(o,l)|0,r=b,b=(N0(t,l)|0)+(N0(n,o)|0)+r|r&0,i|0|0|0}function ar(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,i=r+i>>>0,b=t+n+(i>>>0>>0|0)>>>0,i|0|0}function Pl(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,n=t-n-(i>>>0>r>>>0|0)>>>0,b=n,r-i>>>0|0|0}function PY(r){r=r|0;var t=0;return t=y[In+(r&255)>>0]|0,(t|0)<8?t|0:(t=y[In+(r>>8&255)>>0]|0,(t|0)<8?t+8|0:(t=y[In+(r>>16&255)>>0]|0,(t|0)<8?t+16|0:(y[In+(r>>>24)>>0]|0)+24|0))}function YY(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;if(w=r,a=t,c=a,s=i,v=n,A=v,!c)return l=(o|0)!=0,A?l?(e[o>>2]=r|0,e[o+4>>2]=t&0,v=0,o=0,b=v,o|0):(v=0,o=0,b=v,o|0):(l&&(e[o>>2]=(w>>>0)%(s>>>0),e[o+4>>2]=0),v=0,o=(w>>>0)/(s>>>0)>>>0,b=v,o|0);l=(A|0)==0;do if(s){if(!l){if(l=(Pa(A|0)|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1,A=m&1,r=Pl(n|0,v|0,m&p|0,(((E|0)<0?-1:0)>>31|((E|0)<0?-1:0)<<1)&w|0)|0,t=b,s=s-1|0;while(s|0);c=a,a=0}return s=0,o|0&&(e[o>>2]=r,e[o+4>>2]=t),m=(l|0)>>>31|(c|s)<<1|(s<<1|l>>>31)&0|a,E=(l<<1|0)&-2|A,b=m,E|0}function Jc(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,YY(r,t,i,n,0)|0}function f8(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=g,g=g+16|0,o=l|0,YY(r,t,i,n,o)|0,g=l,b=e[o+4>>2]|0,e[o>>2]|0|0}function Yk(r,t,i){return r=r|0,t=t|0,i=i|0,(i|0)<32?(b=t>>i,r>>>i|(t&(1<>i-32|0)}function Qi(r,t,i){return r=r|0,t=t|0,i=i|0,(i|0)<32?(b=t>>>i,r>>>i|(t&(1<>>i-32|0)}function Br(r,t,i){return r=r|0,t=t|0,i=i|0,(i|0)<32?(b=t<>>32-i,r<>8&255|0}function VY(r){return r=r|0,(r&255)<<24|(r>>8&255)<<16|(r>>16&255)<<8|r>>>24|0}function il(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(Kt=Kt+1|0,e[r>>2]=Kt;(o|0)<(n|0);){if(!(e[i+(o<<3)>>2]|0))return e[i+(o<<3)>>2]=Kt,e[i+((o<<3)+4)>>2]=t,e[i+((o<<3)+8)>>2]=0,b=n,i|0;o=o+1|0}return n=n*2|0,i=O2(i|0,8*(n+1|0)|0)|0,i=il(r|0,t|0,i|0,n|0)|0,b=n,i|0}function se(r,t,i){r=r|0,t=t|0,i=i|0;for(var n=0,o=0;(o|0)<(i|0)&&(n=e[t+(o<<3)>>2]|0,!!n);){if((n|0)==(r|0))return e[t+((o<<3)+4)>>2]|0;o=o+1|0}return 0}function u2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if((i|0)>=8192)return Or0(r|0,t|0,i|0)|0;if(l=r|0,o=r+i|0,(r&3)==(t&3)){for(;r&3;){if(!i)return l|0;y[r>>0]=y[t>>0]|0,r=r+1|0,t=t+1|0,i=i-1|0}for(i=o&-4|0,n=i-64|0;(r|0)<=(n|0);)e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2],e[r+16>>2]=e[t+16>>2],e[r+20>>2]=e[t+20>>2],e[r+24>>2]=e[t+24>>2],e[r+28>>2]=e[t+28>>2],e[r+32>>2]=e[t+32>>2],e[r+36>>2]=e[t+36>>2],e[r+40>>2]=e[t+40>>2],e[r+44>>2]=e[t+44>>2],e[r+48>>2]=e[t+48>>2],e[r+52>>2]=e[t+52>>2],e[r+56>>2]=e[t+56>>2],e[r+60>>2]=e[t+60>>2],r=r+64|0,t=t+64|0;for(;(r|0)<(i|0);)e[r>>2]=e[t>>2],r=r+4|0,t=t+4|0}else for(i=o-4|0;(r|0)<(i|0);)y[r>>0]=y[t>>0]|0,y[r+1>>0]=y[t+1>>0]|0,y[r+2>>0]=y[t+2>>0]|0,y[r+3>>0]=y[t+3>>0]|0,r=r+4|0,t=t+4|0;for(;(r|0)<(o|0);)y[r>>0]=y[t>>0]|0,r=r+1|0,t=t+1|0;return l|0}function Yl(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;if((t|0)<(r|0)&(r|0)<(t+i|0)){for(n=r,t=t+i|0,r=r+i|0;(i|0)>0;)r=r-1|0,t=t-1|0,i=i-1|0,y[r>>0]=y[t>>0]|0;r=n}else u2(r,t,i)|0;return r|0}function Ur(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;if(l=r+i|0,t=t&255,(i|0)>=67){for(;r&3;)y[r>>0]=t,r=r+1|0;for(n=l&-4|0,o=n-64|0,s=t|t<<8|t<<16|t<<24;(r|0)<=(o|0);)e[r>>2]=s,e[r+4>>2]=s,e[r+8>>2]=s,e[r+12>>2]=s,e[r+16>>2]=s,e[r+20>>2]=s,e[r+24>>2]=s,e[r+28>>2]=s,e[r+32>>2]=s,e[r+36>>2]=s,e[r+40>>2]=s,e[r+44>>2]=s,e[r+48>>2]=s,e[r+52>>2]=s,e[r+56>>2]=s,e[r+60>>2]=s,r=r+64|0;for(;(r|0)<(n|0);)e[r>>2]=s,r=r+4|0}for(;(r|0)<(l|0);)y[r>>0]=t,r=r+1|0;return l-i|0}function ou(r){r=r|0;var t=0,i=0;return i=r+15&-16|0,t=e[be>>2]|0,r=t+i|0,(i|0)>0&(r|0)<(t|0)|(r|0)<0?(xr0()|0,cR(12),-1):(e[be>>2]=r,(r|0)>(Ir0()|0)&&!(Br0()|0)?(e[be>>2]=t,cR(12),-1):t|0)}function gI0(r){return r=r|0,+JI0[r&1]()}function yI0(r,t,i,n){return r=r|0,t=+t,i=+i,n=+n,+UY[r&7](+t,+i,+n)}function CI0(r,t){return r=r|0,t=t|0,+UI0[r&1](t|0)}function EI0(r){return r=r|0,Vk[r&3]()|0}function BI0(r,t){return r=r|0,t=t|0,nr[r&63](t|0)|0}function II0(r,t,i){return r=r|0,t=t|0,i=i|0,ke[r&127](t|0,i|0)|0}function xI0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=+n,o=+o,XY[r&3](t|0,i|0,+n,+o)|0}function SI0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,oe[r&63](t|0,i|0,n|0)|0}function _I0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,e2[r&127](t|0,i|0,n|0,o|0)|0}function zI0(r,t,i,n,o,l){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,fi[r&127](t|0,i|0,n|0,o|0,l|0)|0}function LI0(r,t,i,n,o,l,s){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,XI0[r&1](t|0,i|0,n|0,o|0,l|0,s|0)|0}function RI0(r,t,i,n,o,l,s,A,a,c,w){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,c=c|0,w=w|0,qY[r&3](t|0,i|0,n|0,o|0,l|0,s|0,A|0,a|0,c|0,w|0)|0}function GI0(r){r=r|0,qI0[r&15]()}function ZI0(r,t){r=r|0,t=t|0,l2[r&127](t|0)}function WI0(r,t,i){r=r|0,t=t|0,i=i|0,Bt[r&63](t|0,i|0)}function DI0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,cr[r&127](t|0,i|0,n|0)}function MI0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=+l,s=s|0,$Y[r&15](t|0,i|0,n|0,+o,+l,s|0)}function jI0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,Y1[r&31](t|0,i|0,n|0,o|0)}function NI0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,Pf[r&15](t|0,i|0,n|0,o|0,l|0)}function QI0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,Xc[r&15](t|0,i|0,n|0,o|0,l|0,s|0)}function TI0(r,t,i,n,o,l,s,A,a,c){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,c=c|0,Hk[r&0](t|0,i|0,n|0,o|0,l|0,s|0,A|0,a|0,c|0)}function FI0(){return si(0),0}function Ok(r,t,i){return r=+r,t=+t,i=+i,si(1),0}function PI0(r){return r=r|0,si(2),0}function YI0(){return si(3),0}function Xr(r){return r=r|0,si(4),0}function hn(r,t){return r=r|0,t=t|0,si(5),0}function HY(r,t,i,n){return r=r|0,t=t|0,i=+i,n=+n,si(6),0}function Jt(r,t,i){return r=r|0,t=t|0,i=i|0,si(7),0}function x2(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,si(8),0}function m2(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,si(9),0}function OI0(r,t,i,n,o,l){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,si(10),0}function JY(r,t,i,n,o,l,s,A,a,c){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,c=c|0,si(11),0}function lu(){si(12)}function Ol(r){r=r|0,si(13)}function Lr(r,t){r=r|0,t=t|0,si(14)}function z2(r,t,i){r=r|0,t=t|0,i=i|0,si(15)}function su(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0,si(16)}function VI0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,si(17)}function Au(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,si(18)}function Uc(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,si(19)}function HI0(r,t,i,n,o,l,s,A,a){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,a=a|0,si(20)}var JI0=[FI0,zp],UY=[Ok,Ad0,sd0,ud0,fd0,Ok,Ok,Ok],UI0=[PI0,zQ],Vk=[YI0,Bg0,np0,yc],nr=[Xr,O80,Eh,Vv0,Hv0,Fu0,Ou0,ot0,lt0,Kt0,bt0,ei0,ri0,ti0,ii0,ni0,oi0,WE0,Kc0,q9,rN,tN,PC,_0,v2,U0,Di,rp0,zN,ys,Ur0,j0,br0,et0,Qo0,Te,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr,Xr],ke=[hn,Bu0,Tu0,Vu0,kQ,vQ,kk0,hk0,uQ,F10,P10,Y10,O10,V10,H10,J10,U10,X10,q10,$10,K10,b10,eo0,ro0,to0,io0,no0,oo0,lo0,so0,Ao0,uo0,fo0,ao0,co0,ho0,wo0,do0,po0,ko0,r70,t70,n70,g70,y70,C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Hc,___udivdi3:Jc,___uremdi3:f8,_bitshift64Ashr:Yk,_bitshift64Lshr:Qi,_bitshift64Shl:Br,_dtextract:ks,_free:r0,_htons:mB0,_i64Add:ar,_i64Subtract:Pl,_llvm_bswap_i16:OY,_llvm_bswap_i32:VY,_malloc:Te,_memalign:GE0,_memcpy:u2,_memmove:Yl,_memset:Ur,_realloc:O2,_saveSetjmp:il,_sbrk:ou,_testSetjmp:se,_vizCreateFile:e40,_vizLastErrorMessage:bc0,_vizRenderFromString:r40,dynCall_d:gI0,dynCall_dddd:yI0,dynCall_di:CI0,dynCall_i:EI0,dynCall_ii:BI0,dynCall_iii:II0,dynCall_iiidd:xI0,dynCall_iiii:SI0,dynCall_iiiii:_I0,dynCall_iiiiii:zI0,dynCall_iiiiiii:LI0,dynCall_iiiiiiiiiii:RI0,dynCall_v:GI0,dynCall_vi:ZI0,dynCall_vii:WI0,dynCall_viii:DI0,dynCall_viiiddi:MI0,dynCall_viiii:jI0,dynCall_viiiii:NI0,dynCall_viiiiii:QI0,dynCall_viiiiiiiii:TI0,establishStackSpace:Uc0,getTempRet0:$c0,runPostSets:vI0,setTempRet0:qc0,setThrew:Xc0,stackAlloc:Vc0,stackRestore:Jc0,stackSave:Hc0}}(R.asmGlobalArg,R.asmLibraryArg,ae);R.___errno_location=E2.___errno_location,R.___muldi3=E2.___muldi3,R.___udivdi3=E2.___udivdi3,R.___uremdi3=E2.___uremdi3,R._bitshift64Ashr=E2._bitshift64Ashr,R._bitshift64Lshr=E2._bitshift64Lshr,R._bitshift64Shl=E2._bitshift64Shl,R._dtextract=E2._dtextract;var j3=R._free=E2._free;R._htons=E2._htons,R._i64Add=E2._i64Add,R._i64Subtract=E2._i64Subtract,R._llvm_bswap_i16=E2._llvm_bswap_i16,R._llvm_bswap_i32=E2._llvm_bswap_i32;var Xi=R._malloc=E2._malloc,Gi=R._memalign=E2._memalign;R._memcpy=E2._memcpy,R._memmove=E2._memmove;var rf=R._memset=E2._memset;R._realloc=E2._realloc,R._saveSetjmp=E2._saveSetjmp,R._sbrk=E2._sbrk,R._testSetjmp=E2._testSetjmp,R._vizCreateFile=E2._vizCreateFile,R._vizLastErrorMessage=E2._vizLastErrorMessage,R._vizRenderFromString=E2._vizRenderFromString,R.establishStackSpace=E2.establishStackSpace,R.getTempRet0=E2.getTempRet0,R.runPostSets=E2.runPostSets,R.setTempRet0=E2.setTempRet0,R.setThrew=E2.setThrew;var Ta=R.stackAlloc=E2.stackAlloc,Ww=R.stackRestore=E2.stackRestore,Dw=R.stackSave=E2.stackSave;if(R.dynCall_d=E2.dynCall_d,R.dynCall_dddd=E2.dynCall_dddd,R.dynCall_di=E2.dynCall_di,R.dynCall_i=E2.dynCall_i,R.dynCall_ii=E2.dynCall_ii,R.dynCall_iii=E2.dynCall_iii,R.dynCall_iiidd=E2.dynCall_iiidd,R.dynCall_iiii=E2.dynCall_iiii,R.dynCall_iiiii=E2.dynCall_iiiii,R.dynCall_iiiiii=E2.dynCall_iiiiii,R.dynCall_iiiiiii=E2.dynCall_iiiiiii,R.dynCall_iiiiiiiiiii=E2.dynCall_iiiiiiiiiii,R.dynCall_v=E2.dynCall_v,R.dynCall_vi=E2.dynCall_vi,R.dynCall_vii=E2.dynCall_vii,R.dynCall_viii=E2.dynCall_viii,R.dynCall_viiiddi=E2.dynCall_viiiddi,R.dynCall_viiii=E2.dynCall_viiii,R.dynCall_viiiii=E2.dynCall_viiiii,R.dynCall_viiiiii=E2.dynCall_viiiiii,R.dynCall_viiiiiiiii=E2.dynCall_viiiiiiiii,R.asm=E2,R.ccall=R0,R.Pointer_stringify=Se,R.UTF8ToString=Ne,Bn)if(hw(Bn)||(typeof R.locateFile=="function"?Bn=R.locateFile(Bn):R.memoryInitializerPrefixURL&&(Bn=R.memoryInitializerPrefixURL+Bn)),o0||A0){var kt=R.readBinary(Bn);Ye.set(kt,I0)}else{let V=function(){R.readAsync(Bn,tf,function(){throw"could not load memory initializer "+Bn})};var Jo=V;Da();var tf=function(K){K.byteLength&&(K=new Uint8Array(K)),Ye.set(K,I0),R.memoryInitializerRequest&&delete R.memoryInitializerRequest.response,$u()},N3=Ho(Bn);if(N3)tf(N3.buffer);else if(R.memoryInitializerRequest){let K=function(){var n0=R.memoryInitializerRequest,y=n0.response;if(n0.status!==200&&n0.status!==0){var $=Ho(R.memoryInitializerRequestURL);if($)y=$.buffer;else{console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+n0.status+", retrying "+Bn),V();return}}tf(y)};var xy=K;R.memoryInitializerRequest.response?setTimeout(K,0):R.memoryInitializerRequest.addEventListener("load",K)}else V()}function Zi(V){this.name="ExitStatus",this.message="Program terminated with exit("+V+")",this.status=V}Zi.prototype=new Error,Zi.prototype.constructor=Zi;var Q3;qu=function V(){R.calledRun||Fa(),R.calledRun||(qu=V)};function Fa(V){if(V=V||R.arguments,ml>0||(E3(),ml>0)||R.calledRun)return;function K(){R.calledRun||(R.calledRun=!0,!h0&&(Ga(),Li(),R.onRuntimeInitialized&&R.onRuntimeInitialized(),vl()))}R.setStatus?(R.setStatus("Running..."),setTimeout(function(){setTimeout(function(){R.setStatus("")},1),K()},1)):K()}R.run=Fa;function Mw(V,K){K&&R.noExitRuntime&&V===0||(R.noExitRuntime||(h0=!0,b2=Q3,B3(),R.onExit&&R.onExit(V)),o0&&process.exit(V),R.quit(V,new Zi(V)))}R.exit=Mw;function it(V){throw R.onAbort&&R.onAbort(V),V!==void 0?(R.print(V),R.printErr(V),V=JSON.stringify(V)):V="",h0=!0,"abort("+V+"). Build with -s ASSERTIONS=1 for more info."}if(R.abort=it,R.preInit)for(typeof R.preInit=="function"&&(R.preInit=[R.preInit]);R.preInit.length>0;)R.preInit.pop()();return R.noExitRuntime=!0,Fa(),R};function C(Z){var R=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],M=R.format===void 0?"svg":R.format,Q=R.engine===void 0?"dot":R.engine,O=R.scale,e0=R.totalMemory,o0=R.files===void 0?[]:R.files,A0=R.images===void 0?[]:R.images,l0;for(l0=0;l0 - -'});return M=="png-image-element"?C.svgXmlToPngImageElement(I(Z,"svg",Q,e0,o0),O):I(Z,M,Q,e0,o0)}function I(Z,R,M,Q,O){var e0=k({TOTAL_MEMORY:Q}),o0;for(o0=0;o01?R=window.devicePixelRatio:R=1);var Q=new Image;try{if(typeof fabric=="object"&&fabric.loadSVGFromString)fabric.loadSVGFromString(Z,function(e0,o0){if(e0.length==0)if(M!==void 0){M(new Error("Error loading SVG with Fabric"));return}else throw new Error("Error loading SVG with Fabric");var A0=document.createElement("canvas");A0.width=o0.width,A0.height=o0.height;var l0=new fabric.Canvas(A0,{enableRetinaScaling:!1}),w0=fabric.util.groupSVGElements(e0,o0);l0.add(w0).renderAll(),Q.src=l0.toDataURL({multiplier:R}),Q.width=o0.width,Q.height=o0.height,M!==void 0&&M(null,Q)});else{var O=new Image;O.onload=function(){var e0=document.createElement("canvas");e0.width=O.width*R,e0.height=O.height*R;var o0=e0.getContext("2d");o0.drawImage(O,0,0,e0.width,e0.height),Q.src=e0.toDataURL("image/png"),Q.width=O.width,Q.height=O.height,M!==void 0&&M(null,Q)},O.onerror=function(e0){var o0;if("error"in e0?o0=e0.error:o0=new Error("Error loading SVG"),M!==void 0)M(o0);else throw o0},O.src="data:image/svg+xml;base64,"+S(Z)}}catch(e0){if(M!==void 0)M(e0);else throw e0}if(M===void 0)return Q},C.svgXmlToPngBase64=function(Z,R,M){C.svgXmlToPngImageElement(Z,R,function(Q,O){Q?M(Q):M(null,O.src.slice(22))})},f.exports=C})()})(hr0);var U0e=hr0.exports;const Ay=NX(U0e);function SX(f,h){if(f.tag=="polygon"){var d=Wv(f);d.tag="path";var k=f.attributes,C=Wv(k),I=k.points;if(h.tag=="polygon"){var S=f.bbox;S.cx=S.x+S.width/2,S.cy=S.y+S.height/2;for(var Z=k.points,R=Z.split(" "),M=R.map(function(q0){var fe=q0.split(",");return[fe[0]-S.cx,fe[1]-S.cy]}),Q=M[M.length-1][0],O=M[M.length-1][1],e0=0;e00?Q0.key=de.children[0].text:Q0.key="")}}Q0.key==null&&(M&&(fe=="ellipse"||fe=="polygon")&&(fe="path"),Q0.key=fe+"-"+q0)}function a0(Q0,q0){var fe=(q0?q0.id+".":"")+Q0.key;Q0.id=fe}function c0(Q0){o0[Q0.id]=Q0}function y0(Q0,q0){M&&Q0.id in A0&&(q0.tag=="polygon"||q0.tag=="ellipse"||q0.tag=="path")&&(q0.tag!=Q0.tag||Q0.tag=="polygon")&&(q0.tag!="path"&&(Q0.alternativeOld=SX(q0,Q0)),Q0.tag!="path"&&(Q0.alternativeNew=SX(Q0,q0)))}function C0(Q0,q0){if(R&&q0&&(q0.tag=="path"||Q0.alternativeOld&&Q0.alternativeOld.tag=="path")){var fe=(Q0.alternativeNew||Q0).attributes.d;if(Q0.alternativeOld)var de=mS(Q0.alternativeOld);else var de=mS(q0);(Q0.alternativeOld||(Q0.alternativeOld={})).points=T0e(de,fe,Q,O)}}function I0(Q0,q0=0,fe){u0(Q0,q0),a0(Q0,fe);var de=Q0.id,Se=A0[de];c0(Q0),y0(Q0,Se),C0(Q0,Se);var we={};Q0.children.forEach(function(Ie){var Ne=Ie.tag;(Ne=="ellipse"||Ne=="polygon")&&(Ne="path"),we[Ne]==null&&(we[Ne]=0);var c2=we[Ne]++;I0(Ie,c2,Q0)})}function h0(Q0){var q0=Q0.tag;if(e0&&Q0.parent&&Q0.parent.attributes.class=="node"&&q0=="title"){if(Q0.children.length>0)var fe=Q0.children[0],de=fe.text;else var de="";l0[de]=Q0.parent}}function E0(Q0){var q0=Q0.id,fe=Q0.tag,de=A0[q0];if(e0&&!de&&Q0.parent&&cr0(Q0)&&(fe=="path"||fe=="polygon")){if(fe=="polygon"){var Se=Q0.parent.children.find(function(ae){return ae.tag=="path"});Q0.totalLength=Se.totalLength}var we=Y0e(Q0),Ie=we.children[0],Ne=Ie.text.split("->");Ne.length!=2&&(Ne=Ie.text.split("--"));var c2=Ne[0],f2=l0[c2],H2=w0[c2];if(H2){var qe=f2.children.findIndex(function(ae,Ue){return ae.tag=="g"});if(qe>=0){var j2=f2.children[qe].children.findIndex(function(ae,Ue){return ae.tag=="a"});f2=f2.children[qe].children[j2]}var qe=H2.children.findIndex(function(ae,Ue){return ae.tag=="g"});if(qe>=0){var j2=H2.children[qe].children.findIndex(function(Ue,Ye){return Ue.tag=="a"});H2=H2.children[qe].children[j2]}for(var ye=f2.children,qe=0;qe0){var Ie=this._queue.shift();Ie.call(this)}}return this}function b0e(f,h){var d=this;this.dot(f,k);function k(){d.render(h)}return this}function eee(f){return f instanceof Function?this._transitionFactory=f:this._transition=lR(f),this}function ree(f){var h=this._selection,d=h.selectWithoutDataPropagation("svg");return d.size()!=0?y0e(d.node(),f):null}function tee(f){if(typeof f>"u")return Object.assign({},this._options);for(var h of Object.keys(f))this._options[h]=f[h];return this}function iee(f){return this._options.width=f,this}function nee(f){return this._options.height=f,this}function oee(f){return this._options.scale=f,this}function lee(f){return this._options.fit=f,this}function see(f){return this._attributer=f,this}function Aee(f){return this._options.engine=f,this}function uee(f,h,d){return this._images.push({path:f,width:h,height:d}),this}function fee(f){return this._options.totalMemory=f,this}function aee(f){if(!this._keyModes.has(f))throw Error("Illegal keyMode: "+f);if(f!=this._options.keyMode&&this._data!=null)throw Error("Too late to change keyMode");return this._options.keyMode=f,this}function cee(f){return this._options.fade=f,this}function hee(f){return this._options.tweenPaths=f,this}function wee(f){return this._options.tweenShapes=f,f&&(this._options.tweenPaths=!0),this}function dee(f){return this._options.convertEqualSidedPolygons=f,this}function pee(f){return this._options.tweenPrecision=f,this}function kee(f){return this._options.growEnteringEdges=f,this}function vee(f,h){return this._dispatch.on(f,h),this}function mee(f){return this._onerror=f,this}function gee(f){return Math.abs(f=Math.round(f))>=1e21?f.toLocaleString("en").replace(/,/g,""):f.toString(10)}function _m(f,h){if((d=(f=h?f.toExponential(h-1):f.toExponential()).indexOf("e"))<0)return null;var d,k=f.slice(0,d);return[k.length>1?k[0]+k.slice(2):k,+f.slice(d+1)]}function yee(f){return f=_m(Math.abs(f)),f?f[1]:NaN}function Cee(f,h){return function(d,k){for(var C=d.length,I=[],S=0,Z=f[0],R=0;C>0&&Z>0&&(R+Z+1>k&&(Z=Math.max(1,k-R)),I.push(d.substring(C-=Z,C+Z)),!((R+=Z+1)>k));)Z=f[S=(S+1)%f.length];return I.reverse().join(h)}}function Eee(f){return function(h){return h.replace(/[0-9]/g,function(d){return f[+d]})}}var Bee=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function yS(f){if(!(h=Bee.exec(f)))throw new Error("invalid format: "+f);var h;return new uR({fill:h[1],align:h[2],sign:h[3],symbol:h[4],zero:h[5],width:h[6],comma:h[7],precision:h[8]&&h[8].slice(1),trim:h[9],type:h[10]})}yS.prototype=uR.prototype;function uR(f){this.fill=f.fill===void 0?" ":f.fill+"",this.align=f.align===void 0?">":f.align+"",this.sign=f.sign===void 0?"-":f.sign+"",this.symbol=f.symbol===void 0?"":f.symbol+"",this.zero=!!f.zero,this.width=f.width===void 0?void 0:+f.width,this.comma=!!f.comma,this.precision=f.precision===void 0?void 0:+f.precision,this.trim=!!f.trim,this.type=f.type===void 0?"":f.type+""}uR.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Iee(f){e:for(var h=f.length,d=1,k=-1,C;d0&&(k=0);break}return k>0?f.slice(0,k)+f.slice(C+1):f}var wr0;function xee(f,h){var d=_m(f,h);if(!d)return f+"";var k=d[0],C=d[1],I=C-(wr0=Math.max(-8,Math.min(8,Math.floor(C/3)))*3)+1,S=k.length;return I===S?k:I>S?k+new Array(I-S+1).join("0"):I>0?k.slice(0,I)+"."+k.slice(I):"0."+new Array(1-I).join("0")+_m(f,Math.max(0,h+I-1))[0]}function _X(f,h){var d=_m(f,h);if(!d)return f+"";var k=d[0],C=d[1];return C<0?"0."+new Array(-C).join("0")+k:k.length>C+1?k.slice(0,C+1)+"."+k.slice(C+1):k+new Array(C-k.length+2).join("0")}const zX={"%":function(f,h){return(f*100).toFixed(h)},b:function(f){return Math.round(f).toString(2)},c:function(f){return f+""},d:gee,e:function(f,h){return f.toExponential(h)},f:function(f,h){return f.toFixed(h)},g:function(f,h){return f.toPrecision(h)},o:function(f){return Math.round(f).toString(8)},p:function(f,h){return _X(f*100,h)},r:_X,s:xee,X:function(f){return Math.round(f).toString(16).toUpperCase()},x:function(f){return Math.round(f).toString(16)}};function LX(f){return f}var RX=Array.prototype.map,GX=["y","z","a","f","p","n","ยต","m","","k","M","G","T","P","E","Z","Y"];function See(f){var h=f.grouping===void 0||f.thousands===void 0?LX:Cee(RX.call(f.grouping,Number),f.thousands+""),d=f.currency===void 0?"":f.currency[0]+"",k=f.currency===void 0?"":f.currency[1]+"",C=f.decimal===void 0?".":f.decimal+"",I=f.numerals===void 0?LX:Eee(RX.call(f.numerals,String)),S=f.percent===void 0?"%":f.percent+"",Z=f.minus===void 0?"-":f.minus+"",R=f.nan===void 0?"NaN":f.nan+"";function M(O){O=yS(O);var e0=O.fill,o0=O.align,A0=O.sign,l0=O.symbol,w0=O.zero,u0=O.width,a0=O.comma,c0=O.precision,y0=O.trim,C0=O.type;C0==="n"?(a0=!0,C0="g"):zX[C0]||(c0===void 0&&(c0=12),y0=!0,C0="g"),(w0||e0==="0"&&o0==="=")&&(w0=!0,e0="0",o0="=");var I0=l0==="$"?d:l0==="#"&&/[boxX]/.test(C0)?"0"+C0.toLowerCase():"",h0=l0==="$"?k:/[%p]/.test(C0)?S:"",E0=zX[C0],z0=/[defgprs%]/.test(C0);c0=c0===void 0?6:/[gprs]/.test(C0)?Math.max(1,Math.min(21,c0)):Math.max(0,Math.min(20,c0));function W0(P0){var R0=I0,Q0=h0,q0,fe,de;if(C0==="c")Q0=E0(P0)+Q0,P0="";else{P0=+P0;var Se=P0<0||1/P0<0;if(P0=isNaN(P0)?R:E0(Math.abs(P0),c0),y0&&(P0=Iee(P0)),Se&&+P0==0&&A0!=="+"&&(Se=!1),R0=(Se?A0==="("?A0:Z:A0==="-"||A0==="("?"":A0)+R0,Q0=(C0==="s"?GX[8+wr0/3]:"")+Q0+(Se&&A0==="("?")":""),z0){for(q0=-1,fe=P0.length;++q0de||de>57){Q0=(de===46?C+P0.slice(q0+1):P0.slice(q0))+Q0,P0=P0.slice(0,q0);break}}}a0&&!w0&&(P0=h(P0,1/0));var we=R0.length+P0.length+Q0.length,Ie=we>1)+R0+P0+Q0+Ie.slice(we);break;default:P0=Ie+R0+P0+Q0;break}return I(P0)}return W0.toString=function(){return O+""},W0}function Q(O,e0){var o0=M((O=yS(O),O.type="f",O)),A0=Math.max(-8,Math.min(8,Math.floor(yee(e0)/3)))*3,l0=Math.pow(10,-A0),w0=GX[8+A0/3];return function(u0){return o0(l0*u0)+w0}}return{format:M,formatPrefix:Q}}var Dv,Eo;_ee({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function _ee(f){return Dv=See(f),Eo=Dv.format,Dv.formatPrefix,Dv}function zee(f){var h=Date.now(),d={},k=this._eventTypes,C=Math.max(...k.map(R=>R.length));for(let R in k){let M=k[R];d[M]=[];var I=this,S,Z;this.on(M+".log",f?function(){var Q=Date.now(),O=d[M].length;d[M].push(Q);var e0="";if(e0+="Event ",e0+=Eo(" >2")(R)+" ",e0+=M+" ".repeat(C-M.length),e0+=Eo(" >5")(Q-h)+" ",M!="initEnd"&&(e0+=Eo(" >5")(Q-d.start[O])),M=="dataProcessEnd"&&(e0+=" prepare "+Eo(" >5")(Q-d.layoutEnd[O])),M=="renderEnd"&&I._transition&&(e0+=" transition start margin "+Eo(" >5")(I._transition.delay()-(Q-d.renderStart[O])),S=I._transition.delay(),Z=I._transition.duration()),M=="transitionStart"){var o0=Q-d.renderStart[O];e0+=" transition delay "+Eo(" >5")(Q-d.renderStart[O]),e0+=" expected "+Eo(" >5")(S),e0+=" diff "+Eo(" >5")(o0-S)}if(M=="transitionEnd"){var A0=Q-d.transitionStart[O];e0+=" transition duration "+Eo(" >5")(A0),e0+=" expected "+Eo(" >5")(Z),e0+=" diff "+Eo(" >5")(A0-Z)}console.log(e0),h=Q}:null)}return this}var CS=Math.PI,ES=2*CS,bf=1e-6,Lee=ES-bf;function BS(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function dr0(){return new BS}BS.prototype=dr0.prototype={constructor:BS,moveTo:function(f,h){this._+="M"+(this._x0=this._x1=+f)+","+(this._y0=this._y1=+h)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(f,h){this._+="L"+(this._x1=+f)+","+(this._y1=+h)},quadraticCurveTo:function(f,h,d,k){this._+="Q"+ +f+","+ +h+","+(this._x1=+d)+","+(this._y1=+k)},bezierCurveTo:function(f,h,d,k,C,I){this._+="C"+ +f+","+ +h+","+ +d+","+ +k+","+(this._x1=+C)+","+(this._y1=+I)},arcTo:function(f,h,d,k,C){f=+f,h=+h,d=+d,k=+k,C=+C;var I=this._x1,S=this._y1,Z=d-f,R=k-h,M=I-f,Q=S-h,O=M*M+Q*Q;if(C<0)throw new Error("negative radius: "+C);if(this._x1===null)this._+="M"+(this._x1=f)+","+(this._y1=h);else if(O>bf)if(!(Math.abs(Q*Z-R*M)>bf)||!C)this._+="L"+(this._x1=f)+","+(this._y1=h);else{var e0=d-I,o0=k-S,A0=Z*Z+R*R,l0=e0*e0+o0*o0,w0=Math.sqrt(A0),u0=Math.sqrt(O),a0=C*Math.tan((CS-Math.acos((A0+O-l0)/(2*w0*u0)))/2),c0=a0/u0,y0=a0/w0;Math.abs(c0-1)>bf&&(this._+="L"+(f+c0*M)+","+(h+c0*Q)),this._+="A"+C+","+C+",0,0,"+ +(Q*e0>M*o0)+","+(this._x1=f+y0*Z)+","+(this._y1=h+y0*R)}},arc:function(f,h,d,k,C,I){f=+f,h=+h,d=+d,I=!!I;var S=d*Math.cos(k),Z=d*Math.sin(k),R=f+S,M=h+Z,Q=1^I,O=I?k-C:C-k;if(d<0)throw new Error("negative radius: "+d);this._x1===null?this._+="M"+R+","+M:(Math.abs(this._x1-R)>bf||Math.abs(this._y1-M)>bf)&&(this._+="L"+R+","+M),d&&(O<0&&(O=O%ES+ES),O>Lee?this._+="A"+d+","+d+",0,1,"+Q+","+(f-S)+","+(h-Z)+"A"+d+","+d+",0,1,"+Q+","+(this._x1=R)+","+(this._y1=M):O>bf&&(this._+="A"+d+","+d+",0,"+ +(O>=CS)+","+Q+","+(this._x1=f+d*Math.cos(C))+","+(this._y1=h+d*Math.sin(C))))},rect:function(f,h,d,k){this._+="M"+(this._x0=this._x1=+f)+","+(this._y0=this._y1=+h)+"h"+ +d+"v"+ +k+"h"+-d+"Z"},toString:function(){return this._}};function Ree(f,h,d,k){return h=-h,k=-k,[f,h]=[f*d-h*k,f*k+h*d],h=-h,[f,h]}function Gee(f,h,d,k,C,I={}){if(C=Object.assign({},C),C.style&&C.style.includes("invis"))var S=Cr(null);else{var Z=this._selection,R=Z.selectWithoutDataPropagation("svg"),M=R.selectWithoutDataPropagation("g"),Q=vr0(C),O=Ba(Q),S=M.append("g").data([O]);fw.call(S.node(),O),pr0(S,f,h,d,k,C,I)}return this._drawnEdge={g:S,x1:f,y1:h,x2:d,y2:k,attributes:C},this}function Zee(f,h,d,k,C={},I={}){if(!this._drawnEdge)throw Error("No edge has been drawn");var S=this._drawnEdge.g;if(C=Object.assign(this._drawnEdge.attributes,C),this._drawnEdge.x1=f,this._drawnEdge.y1=h,this._drawnEdge.x2=d,this._drawnEdge.y2=k,S.empty()&&!(C.style&&C.style.includes("invis"))){var Z=this._selection,R=Z.selectWithoutDataPropagation("svg"),M=R.selectWithoutDataPropagation("g"),S=M.append("g");this._drawnEdge.g=S}return S.empty()||pr0(S,f,h,d,k,C,I),this}function pr0(f,h,d,k,C,I,S){var Z=vr0(I),R=Ba(Z);f.data([R]),fw.call(f.node(),R),kr0(f,h,d,k,C,I,S)}function kr0(f,h,d,k,C,I,S){var Z=S.shortening||0,R=10,M=7,Q=.174,O=[[0,-M/2],[R,0],[0,M/2],[0,-M/2]],e0=k-h,o0=C-d,A0=Math.sqrt(e0*e0+o0*o0);if(A0==0)var l0=1,w0=0;else var l0=e0/A0,w0=o0/A0;if(k=h+(A0-Z-R-Q)*l0,C=d+(A0-Z-R-Q)*w0,I.URL||I.tooltip)var u0=f.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),a0=u0.selectWithoutDataPropagation("path"),c0=u0.selectWithoutDataPropagation("polygon");else var a0=f.selectWithoutDataPropagation("path"),c0=f.selectWithoutDataPropagation("polygon");var y0=dr0();y0.moveTo(h,d),y0.lineTo(k,C),a0.attr("d",y0),k=h+(A0-Z-R)*l0,C=d+(A0-Z-R)*w0;for(var C0=0;C0"u"&&(k=!1),k){var C=rR("script"),I=C.filter(function(){return Cr(this).attr("type")=="javascript/worker"||Cr(this).attr("src")&&Cr(this).attr("src").match(/.*\/viz.js$/)});I.size()==0?(console.warn('No script tag of type "javascript/worker" was found and "useWorker" is true. Not using web worker.'),k=!1):(this._vizURL=I.attr("src"),this._vizURL||(console.warn('No "src" attribute of was found on the "javascript/worker" script tag and "useWorker" is true. Not using web worker.'),k=!1))}if(k){var S=` - onmessage = function(event) { - if (event.data.vizURL) { - importScripts(event.data.vizURL); - } - try { - var svg = Viz(event.data.dot, event.data.options); - } - catch(error) { - postMessage({ - type: "error", - error: error.message, - }); - return; - } - if (svg) { - postMessage({ - type: "done", - svg: svg, - }); - } else { - postMessage({ - type: "skip", - }); - } - } - `,Z=new Blob([S]),R=window.URL.createObjectURL(Z);this._worker=new Worker(R)}this._selection=f,this._active=!1,this._busy=!1,this._jobs=[],this._queue=[],this._keyModes=new Set(["title","id","tag-index","index"]),this._images=[],this._translation=void 0,this._scale=void 0,this._eventTypes=["initEnd","start","layoutStart","layoutEnd","dataExtractEnd","dataProcessPass1End","dataProcessPass2End","dataProcessEnd","renderStart","renderEnd","transitionStart","transitionEnd","restoreEnd","end"],this._dispatch=ry(...this._eventTypes),$0e.call(this),f.node().__graphviz__=this}function Cr0(f,h){var d=Cr(f).graphviz(h);return d}IS.prototype=Cr0.prototype={constructor:IS,engine:Aee,addImage:uee,totalMemory:fee,keyMode:aee,fade:cee,tweenPaths:hee,tweenShapes:wee,convertEqualSidedPolygons:dee,tweenPrecision:pee,growEnteringEdges:kee,zoom:Z0e,resetZoom:W0e,zoomBehavior:j0e,zoomSelection:N0e,zoomScaleExtent:D0e,zoomTranslateExtent:M0e,render:O0e,dot:K0e,data:F0e,renderDot:b0e,transition:eee,active:ree,options:tee,width:iee,height:nee,scale:oee,fit:lee,attributer:see,on:vee,onerror:mee,logEvents:zee,drawEdge:Gee,updateDrawnEdge:Zee,moveDrawnEdgeEndPoint:Wee,insertDrawnEdge:Dee,removeDrawnEdge:ZX,removeDrawnEdge:ZX,drawnEdgeSelection:WX,drawnEdgeSelection:WX,drawNode:Mee,updateDrawnNode:jee,moveDrawnNode:Nee,insertDrawnNode:Qee,removeDrawnNode:DX,removeDrawnNode:DX,drawnNodeSelection:MX,drawnNodeSelection:MX};function Tee(f){var h=this.node().__graphviz__;return h?(h.options(f),h._dispatch.call("initEnd",this)):h=new IS(this,f),h}function Fee(f){return Cr(this.size()>0?this.node().querySelector(f):null)}Hu.prototype.graphviz=Tee;Hu.prototype.selectWithoutDataPropagation=Fee;const Pee={fit:!0,height:500,width:500,zoom:!1};let Yee=0;const Oee=()=>`graphviz${Yee++}`,Vee=({dot:f,className:h,options:d={}})=>{const k=T0.useMemo(Oee,[]);return T0.useEffect(()=>{Cr0(`#${k}`,Object.assign(Object.assign({},Pee),d)).renderDot(f)},[f,d]),T0.createElement("div",{className:h,id:k})},l4=({profile:f})=>{const h=A3(),[d,k]=T0.useState(new Map),[C,I]=T0.useState(!1),S=$2(et),Z=$2(Dj0),[R,M]=T0.useState(""),Q=async()=>{try{var c0=new XMLHttpRequest;c0.open("GET",O(),!0),c0.onreadystatechange=function(){c0.readyState===4&&c0.status===200&&(I(!1),d.set(f,c0.responseText),h(Zj0({nodeId:S,profileName:f,data:c0.responseText})))},c0.send()}catch(y0){I(!1),console.error(y0)}},O=()=>{switch(f){case"heap":return CH();case"goroutine":return IN0();case"threadcreate":return xN0();case"block":return _N0();case"mutex":return zN0();case"allocs":return SN0();default:return CH()}},e0=c0=>c0.length===0?c0:c0[0].toUpperCase()+c0.slice(1),o0=c0=>atob(c0),A0=window.innerHeight*.8,l0=window.innerWidth*.8,w0=Z.find(c0=>c0.name===f),u0=()=>X.jsx("div",{children:X.jsxs("table",{className:"table-auto bg-white text-left",children:[X.jsx("tr",{className:"border-b border-gray-200",children:X.jsx("th",{children:"Profile snapshot"})}),w0==null?void 0:w0.profile.map(c0=>X.jsx("tr",{className:"border-b border-gray-200 cursor-pointer",onClick:()=>{a0(w0.profile.indexOf(c0))},children:X.jsx("td",{children:c0.date})}))]})}),a0=c0=>{var y0;return(w0==null?void 0:w0.profile.length)===0?M(""):M(((y0=w0==null?void 0:w0.profile[c0])==null?void 0:y0.data)||"")};return X.jsxs("div",{className:"flex flex-col h-full",children:[X.jsx("div",{className:"flex justify-center",children:X.jsx("h3",{className:"text-xl font-semibold",children:e0(f)+" Profile"})}),X.jsxs("div",{className:"flex flex-row justify-between",children:[X.jsxs("div",{className:"w-[15%]",children:[u0(),C?X.jsx($L,{}):X.jsx(qL,{variant:"contained",color:"primary",onClick:()=>{I(!0),Q()},children:"Fetch Data"})]}),X.jsx("div",{className:"mt-5 mr-5 mb-5",children:R!=""&&X.jsx(Vee,{dot:o0(R),options:{fit:!0,zoom:!0,height:A0,width:l0}})})]})]})};function Hee(){return X.jsx("div",{children:X.jsx(pz0,{children:X.jsxs(Gt,{path:"/",element:X.jsx(Jee,{}),children:[X.jsx(Gt,{index:!0,element:X.jsx(LT0,{})}),X.jsx(Gt,{path:"sentry-network",element:X.jsx(oX,{type:"sentry"})}),X.jsx(Gt,{path:"sentinel-network",element:X.jsx(oX,{type:"sentinel"})}),X.jsx(Gt,{path:"downloader",element:X.jsx(o$0,{})}),X.jsx(Gt,{path:"logs",element:X.jsx(VV0,{})}),X.jsx(Gt,{path:"chain",element:X.jsx(Uee,{})}),X.jsx(Gt,{path:"data",element:X.jsx(cH0,{})}),X.jsx(Gt,{path:"debug",element:X.jsx(Xee,{})}),X.jsx(Gt,{path:"testing",element:X.jsx(qee,{})}),X.jsx(Gt,{path:"performance",element:X.jsx(u$0,{})}),X.jsx(Gt,{path:"documentation",element:X.jsx($ee,{})}),X.jsx(Gt,{path:"issues",element:X.jsx(f$0,{})}),X.jsx(Gt,{path:"sysinfo",element:X.jsx(a$0,{})}),X.jsx(Gt,{path:"processes",element:X.jsx(w$0,{})}),X.jsx(Gt,{path:"cpu-info",element:X.jsx(d$0,{})}),X.jsx(Gt,{path:"goroutine",element:X.jsx(l4,{profile:"goroutine"})}),X.jsx(Gt,{path:"threadcreate",element:X.jsx(l4,{profile:"threadcreate"})}),X.jsx(Gt,{path:"heap",element:X.jsx(l4,{profile:"heap"})}),X.jsx(Gt,{path:"allocs",element:X.jsx(l4,{profile:"allocs"})}),X.jsx(Gt,{path:"block",element:X.jsx(l4,{profile:"block"})}),X.jsx(Gt,{path:"mutex",element:X.jsx(l4,{profile:"mutex"})}),X.jsx(Gt,{path:"admin",element:X.jsx(dH0,{})}),X.jsx(Gt,{path:"*",element:X.jsx(Kee,{})})]})})})}function Jee(){const f=A3(),h=$2(et),d=$2(F_),k=$2(N_),C=$2(Q_),I=$2(ZM0),S=$2(Zb),[Z,R]=T0.useState(!1),[M,Q]=T0.useState(!1);T0.useEffect(()=>{},[]),T0.useEffect(()=>{C&&(document!=null&&document.title)&&(document.title="ErigonWatch - "+C.name)},[C]),T0.useEffect(()=>{KT0()},[]),T0.useEffect(()=>{S!==G4.Unknown?i5()?rF0():k!==""&&eF0():i5()&&f(Qx({name:"localSession",pin:"noPin",is_active:!0,nodes:[]}))},[S,k]),T0.useEffect(()=>{i5()&&f(Qx({name:"localSession",pin:"noPin",is_active:!0,nodes:[]}))},[S]),T0.useEffect(()=>{h!==""&&k!==""&&O()},[h]);const O=()=>{cF0(),nF0(),iF0(),tF0(),o00(),oF0(),lF0(),AF0(),DH(),setInterval(()=>{DH()},5*s4.second),uF0(),MH(),setInterval(()=>{MH()},20*s4.second),setInterval(()=>{},2*s4.second),setInterval(()=>{f(hM0({activeNodeId:h,countInterval:15}))},15*s4.second),aF0()};let e0=null;return T0.useEffect(()=>(I?e0=setInterval(()=>{fF0()},5*s4.second):clearInterval(e0),()=>clearInterval(e0)),[I]),T0.useEffect(()=>{h!==""&&d.length>0&&d.forEach(o0=>{o0.tables.length===0&&sF0(o0.path)})},[d]),X.jsxs("div",{className:"flex overflow-clip",children:[X.jsx(XX0,{}),X.jsx("div",{className:"flex flex-col w-full p-4 h-full overflow-scroll",children:X.jsx(wz0,{})}),X.jsx(CH0,{onSessionClicked:()=>{R(!0)},onNodeClicked:()=>{Q(!0)}}),X.jsx(EH0,{open:Z,onClose:()=>{R(!1)}}),X.jsx(IH0,{open:M,onClose:()=>{Q(!1)}})]})}function Uee(){return X.jsx("div",{children:X.jsx("h2",{children:"Chain"})})}function Xee(){return X.jsx("div",{children:X.jsx("h2",{children:"Debug"})})}function qee(){return X.jsx("div",{children:X.jsx("h2",{children:"Testing"})})}function $ee(){return X.jsx("div",{children:X.jsx("h2",{children:"Documentation"})})}function Kee(){return X.jsxs("div",{children:[X.jsx("h2",{children:"Nothing to see here!"}),X.jsx("p",{children:X.jsx(dn,{to:"/",children:"Go to the home page"})})]})}function p5(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p5=function(d){return typeof d}:p5=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},p5(f)}function bee(f,h){if(!(f instanceof h))throw new TypeError("Cannot call a class as a function")}function jX(f,h){for(var d=0;d

From 1ccd4dd40983c74d4b8be36e0d3f0c68adea337a Mon Sep 17 00:00:00 2001 From: Dmytro Vovk Date: Fri, 18 Oct 2024 10:50:13 +0100 Subject: [PATCH 2/2] updated build --- build/assets/index-2dc825ae.css | 1 + build/assets/index-b2ebc55e.js | 836 ++++++++++++++++++++++++++++++++ 2 files changed, 837 insertions(+) create mode 100644 build/assets/index-2dc825ae.css create mode 100644 build/assets/index-b2ebc55e.js diff --git a/build/assets/index-2dc825ae.css b/build/assets/index-2dc825ae.css new file mode 100644 index 0000000..6a0b136 --- /dev/null +++ b/build/assets/index-2dc825ae.css @@ -0,0 +1 @@ +.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1;color:#fff;background-color:#1ea7fd;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.storybook-button--primary{color:#fff;background-color:#1ea7fd}.storybook-button--secondary{color:#333;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-1{top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.bottom-0{bottom:0}.bottom-\[10vh\]{bottom:10vh}.bottom-\[50px\]{bottom:50px}.left-0{left:0}.right-0{right:0}.right-\[5vw\]{right:5vw}.top-0{top:0}.top-\[50px\]{top:50px}.top-\[80vh\]{top:80vh}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.mr-5{margin-right:1.25rem}.mt-10{margin-top:2.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-5{height:1.25rem}.h-\[75vh\]{height:75vh}.h-\[80\%\]{height:80%}.h-\[90\%\]{height:90%}.h-\[90vh\]{height:90vh}.h-\[95\%\]{height:95%}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-\[40vh\]{max-height:40vh}.max-h-\[45vh\]{max-height:45vh}.max-h-\[500px\]{max-height:500px}.max-h-\[660px\]{max-height:660px}.max-h-\[70vh\]{max-height:70vh}.max-h-\[760px\]{max-height:760px}.max-h-\[780px\]{max-height:780px}.max-h-\[80vh\]{max-height:80vh}.max-h-\[83vh\]{max-height:83vh}.max-h-\[90vh\]{max-height:90vh}.min-h-\[40px\]{min-height:40px}.w-2{width:.5rem}.w-5{width:1.25rem}.w-\[15\%\]{width:15%}.w-\[95\%\]{width:95%}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.min-w-\[20vw\]{min-width:20vw}.min-w-\[30vw\]{min-width:30vw}.max-w-3xl{max-width:48rem}.max-w-\[100vw\]{max-width:100vw}.max-w-\[1400px\]{max-width:1400px}.flex-\[1\]{flex:1}.flex-\[2\]{flex:2}.flex-auto{flex:1 1 auto}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.text-ellipsis{text-overflow:ellipsis}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/\[\.4\]{background-color:#0006}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-relaxed{line-height:1.625}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-25{opacity:.25}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}body{height:100%;overflow:hidden;background-color:azure;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.hover\:scale-125:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-500:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}@media (prefers-color-scheme: dark){.dark\:border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.dark\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:bg-gray-700:focus{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}} diff --git a/build/assets/index-b2ebc55e.js b/build/assets/index-b2ebc55e.js new file mode 100644 index 0000000..6955d3a --- /dev/null +++ b/build/assets/index-b2ebc55e.js @@ -0,0 +1,836 @@ +var KI0=Object.defineProperty;var bI0=(a,h,d)=>h in a?KI0(a,h,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[h]=d;var h8=(a,h,d)=>(bI0(a,typeof h!="symbol"?h+"":h,d),d);function ex0(a,h){for(var d=0;dk[y]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const h=document.createElement("link").relList;if(h&&h.supports&&h.supports("modulepreload"))return;for(const y of document.querySelectorAll('link[rel="modulepreload"]'))k(y);new MutationObserver(y=>{for(const I of y)if(I.type==="childList")for(const S of I.addedNodes)S.tagName==="LINK"&&S.rel==="modulepreload"&&k(S)}).observe(document,{childList:!0,subtree:!0});function d(y){const I={};return y.integrity&&(I.integrity=y.integrity),y.referrerPolicy&&(I.referrerPolicy=y.referrerPolicy),y.crossOrigin==="use-credentials"?I.credentials="include":y.crossOrigin==="anonymous"?I.credentials="omit":I.credentials="same-origin",I}function k(y){if(y.ep)return;y.ep=!0;const I=d(y);fetch(y.href,I)}})();var ba=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function NX(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}function Fn(a){if(a.__esModule)return a;var h=a.default;if(typeof h=="function"){var d=function k(){return this instanceof k?Reflect.construct(h,arguments,this.constructor):h.apply(this,arguments)};d.prototype=h.prototype}else d={};return Object.defineProperty(d,"__esModule",{value:!0}),Object.keys(a).forEach(function(k){var y=Object.getOwnPropertyDescriptor(a,k);Object.defineProperty(d,k,y.get?y:{enumerable:!0,get:function(){return a[k]}})}),d}var QX={exports:{}},Lm={},TX={exports:{}},vr={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var F6=Symbol.for("react.element"),rx0=Symbol.for("react.portal"),tx0=Symbol.for("react.fragment"),ix0=Symbol.for("react.strict_mode"),nx0=Symbol.for("react.profiler"),ox0=Symbol.for("react.provider"),lx0=Symbol.for("react.context"),sx0=Symbol.for("react.forward_ref"),Ax0=Symbol.for("react.suspense"),ux0=Symbol.for("react.memo"),ax0=Symbol.for("react.lazy"),bY=Symbol.iterator;function cx0(a){return a===null||typeof a!="object"?null:(a=bY&&a[bY]||a["@@iterator"],typeof a=="function"?a:null)}var FX={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},PX=Object.assign,YX={};function s3(a,h,d){this.props=a,this.context=h,this.refs=YX,this.updater=d||FX}s3.prototype.isReactComponent={};s3.prototype.setState=function(a,h){if(typeof a!="object"&&typeof a!="function"&&a!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,h,"setState")};s3.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function VX(){}VX.prototype=s3.prototype;function _S(a,h,d){this.props=a,this.context=h,this.refs=YX,this.updater=d||FX}var zS=_S.prototype=new VX;zS.constructor=_S;PX(zS,s3.prototype);zS.isPureReactComponent=!0;var eV=Array.isArray,OX=Object.prototype.hasOwnProperty,LS={current:null},HX={key:!0,ref:!0,__self:!0,__source:!0};function JX(a,h,d){var k,y={},I=null,S=null;if(h!=null)for(k in h.ref!==void 0&&(S=h.ref),h.key!==void 0&&(I=""+h.key),h)OX.call(h,k)&&!HX.hasOwnProperty(k)&&(y[k]=h[k]);var G=arguments.length-2;if(G===1)y.children=d;else if(1>>1,a2=we[f2];if(0>>1;f2y(qe,Ne))yey(Be,qe)?(we[f2]=Be,we[ye]=Ne,f2=ye):(we[f2]=qe,we[j2]=Ne,f2=j2);else if(yey(Be,Ne))we[f2]=Be,we[ye]=Ne,f2=ye;else break e}}return Ie}function y(we,Ie){var Ne=we.sortIndex-Ie.sortIndex;return Ne!==0?Ne:we.id-Ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var I=performance;a.unstable_now=function(){return I.now()}}else{var S=Date,G=S.now();a.unstable_now=function(){return S.now()-G}}var R=[],M=[],Q=1,V=null,e0=3,l0=!1,A0=!1,n0=!1,h0=typeof setTimeout=="function"?setTimeout:null,u0=typeof clearTimeout=="function"?clearTimeout:null,c0=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f0(we){for(var Ie=d(M);Ie!==null;){if(Ie.callback===null)k(M);else if(Ie.startTime<=we)k(M),Ie.sortIndex=Ie.expirationTime,h(R,Ie);else break;Ie=d(M)}}function y0(we){if(n0=!1,f0(we),!A0)if(d(R)!==null)A0=!0,de(C0);else{var Ie=d(M);Ie!==null&&Se(y0,Ie.startTime-we)}}function C0(we,Ie){A0=!1,n0&&(n0=!1,u0(E0),E0=-1),l0=!0;var Ne=e0;try{for(f0(Ie),V=d(R);V!==null&&(!(V.expirationTime>Ie)||we&&!P0());){var f2=V.callback;if(typeof f2=="function"){V.callback=null,e0=V.priorityLevel;var a2=f2(V.expirationTime<=Ie);Ie=a.unstable_now(),typeof a2=="function"?V.callback=a2:V===d(R)&&k(R),f0(Ie)}else k(R);V=d(R)}if(V!==null)var H2=!0;else{var j2=d(M);j2!==null&&Se(y0,j2.startTime-Ie),H2=!1}return H2}finally{V=null,e0=Ne,l0=!1}}var I0=!1,w0=null,E0=-1,z0=5,W0=-1;function P0(){return!(a.unstable_now()-W0we||125f2?(we.sortIndex=Ne,h(M,we),d(R)===null&&we===d(M)&&(n0?(u0(E0),E0=-1):n0=!0,Se(y0,Ne-f2))):(we.sortIndex=a2,h(R,we),A0||l0||(A0=!0,de(C0))),we},a.unstable_shouldYield=P0,a.unstable_wrapCallback=function(we){var Ie=e0;return function(){var Ne=e0;e0=Ie;try{return we.apply(this,arguments)}finally{e0=Ne}}}})(KX);$X.exports=KX;var Cx0=$X.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ex0=Q0,K1=Cx0;function Oe(a){for(var h="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),QI=Object.prototype.hasOwnProperty,Bx0=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,tV={},iV={};function Ix0(a){return QI.call(iV,a)?!0:QI.call(tV,a)?!1:Bx0.test(a)?iV[a]=!0:(tV[a]=!0,!1)}function xx0(a,h,d,k){if(d!==null&&d.type===0)return!1;switch(typeof h){case"function":case"symbol":return!0;case"boolean":return k?!1:d!==null?!d.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function Sx0(a,h,d,k){if(h===null||typeof h>"u"||xx0(a,h,d,k))return!0;if(k)return!1;if(d!==null)switch(d.type){case 3:return!h;case 4:return h===!1;case 5:return isNaN(h);case 6:return isNaN(h)||1>h}return!1}function n1(a,h,d,k,y,I,S){this.acceptsBooleans=h===2||h===3||h===4,this.attributeName=k,this.attributeNamespace=y,this.mustUseProperty=d,this.propertyName=a,this.type=h,this.sanitizeURL=I,this.removeEmptyString=S}var gn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){gn[a]=new n1(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var h=a[0];gn[h]=new n1(h,1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){gn[a]=new n1(a,2,!1,a.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){gn[a]=new n1(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){gn[a]=new n1(a,3,!1,a.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(a){gn[a]=new n1(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){gn[a]=new n1(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){gn[a]=new n1(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){gn[a]=new n1(a,5,!1,a.toLowerCase(),null,!1,!1)});var GS=/[\-:]([a-z])/g;function ZS(a){return a[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var h=a.replace(GS,ZS);gn[h]=new n1(h,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var h=a.replace(GS,ZS);gn[h]=new n1(h,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var h=a.replace(GS,ZS);gn[h]=new n1(h,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){gn[a]=new n1(a,1,!1,a.toLowerCase(),null,!1,!1)});gn.xlinkHref=new n1("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){gn[a]=new n1(a,1,!1,a.toLowerCase(),null,!0,!0)});function WS(a,h,d,k){var y=gn.hasOwnProperty(h)?gn[h]:null;(y!==null?y.type!==0:k||!(2G||y[S]!==I[G]){var R=` +`+y[S].replace(" at new "," at ");return a.displayName&&R.includes("")&&(R=R.replace("",a.displayName)),R}while(1<=S&&0<=G);break}}}finally{bE=!1,Error.prepareStackTrace=d}return(a=a?a.displayName||a.name:"")?G8(a):""}function _x0(a){switch(a.tag){case 5:return G8(a.type);case 16:return G8("Lazy");case 13:return G8("Suspense");case 19:return G8("SuspenseList");case 0:case 2:case 15:return a=eB(a.type,!1),a;case 11:return a=eB(a.type.render,!1),a;case 1:return a=eB(a.type,!0),a;default:return""}}function YI(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case h4:return"Fragment";case f4:return"Portal";case TI:return"Profiler";case DS:return"StrictMode";case FI:return"Suspense";case PI:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case rq:return(a.displayName||"Context")+".Consumer";case eq:return(a._context.displayName||"Context")+".Provider";case MS:var h=a.render;return a=a.displayName,a||(a=h.displayName||h.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case jS:return h=a.displayName||null,h!==null?h:YI(a.type)||"Memo";case cu:h=a._payload,a=a._init;try{return YI(a(h))}catch{}}return null}function zx0(a){var h=a.type;switch(a.tag){case 24:return"Cache";case 9:return(h.displayName||"Context")+".Consumer";case 10:return(h._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=h.render,a=a.displayName||a.name||"",h.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return h;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return YI(h);case 8:return h===DS?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h}return null}function Zu(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function iq(a){var h=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(h==="checkbox"||h==="radio")}function Lx0(a){var h=iq(a)?"checked":"value",d=Object.getOwnPropertyDescriptor(a.constructor.prototype,h),k=""+a[h];if(!a.hasOwnProperty(h)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var y=d.get,I=d.set;return Object.defineProperty(a,h,{configurable:!0,get:function(){return y.call(this)},set:function(S){k=""+S,I.call(this,S)}}),Object.defineProperty(a,h,{enumerable:d.enumerable}),{getValue:function(){return k},setValue:function(S){k=""+S},stopTracking:function(){a._valueTracker=null,delete a[h]}}}}function bk(a){a._valueTracker||(a._valueTracker=Lx0(a))}function nq(a){if(!a)return!1;var h=a._valueTracker;if(!h)return!0;var d=h.getValue(),k="";return a&&(k=iq(a)?a.checked?"true":"false":a.value),a=k,a!==d?(h.setValue(a),!0):!1}function g5(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function VI(a,h){var d=h.checked;return qt({},h,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??a._wrapperState.initialChecked})}function oV(a,h){var d=h.defaultValue==null?"":h.defaultValue,k=h.checked!=null?h.checked:h.defaultChecked;d=Zu(h.value!=null?h.value:d),a._wrapperState={initialChecked:k,initialValue:d,controlled:h.type==="checkbox"||h.type==="radio"?h.checked!=null:h.value!=null}}function oq(a,h){h=h.checked,h!=null&&WS(a,"checked",h,!1)}function OI(a,h){oq(a,h);var d=Zu(h.value),k=h.type;if(d!=null)k==="number"?(d===0&&a.value===""||a.value!=d)&&(a.value=""+d):a.value!==""+d&&(a.value=""+d);else if(k==="submit"||k==="reset"){a.removeAttribute("value");return}h.hasOwnProperty("value")?HI(a,h.type,d):h.hasOwnProperty("defaultValue")&&HI(a,h.type,Zu(h.defaultValue)),h.checked==null&&h.defaultChecked!=null&&(a.defaultChecked=!!h.defaultChecked)}function lV(a,h,d){if(h.hasOwnProperty("value")||h.hasOwnProperty("defaultValue")){var k=h.type;if(!(k!=="submit"&&k!=="reset"||h.value!==void 0&&h.value!==null))return;h=""+a._wrapperState.initialValue,d||h===a.value||(a.value=h),a.defaultValue=h}d=a.name,d!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,d!==""&&(a.name=d)}function HI(a,h,d){(h!=="number"||g5(a.ownerDocument)!==a)&&(d==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+d&&(a.defaultValue=""+d))}var Z8=Array.isArray;function I4(a,h,d,k){if(a=a.options,h){h={};for(var y=0;y"+h.valueOf().toString()+"",h=ev.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;h.firstChild;)a.appendChild(h.firstChild)}});function s6(a,h){if(h){var d=a.firstChild;if(d&&d===a.lastChild&&d.nodeType===3){d.nodeValue=h;return}}a.textContent=h}var H8={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Rx0=["Webkit","ms","Moz","O"];Object.keys(H8).forEach(function(a){Rx0.forEach(function(h){h=h+a.charAt(0).toUpperCase()+a.substring(1),H8[h]=H8[a]})});function uq(a,h,d){return h==null||typeof h=="boolean"||h===""?"":d||typeof h!="number"||h===0||H8.hasOwnProperty(a)&&H8[a]?(""+h).trim():h+"px"}function aq(a,h){a=a.style;for(var d in h)if(h.hasOwnProperty(d)){var k=d.indexOf("--")===0,y=uq(d,h[d],k);d==="float"&&(d="cssFloat"),k?a.setProperty(d,y):a[d]=y}}var Gx0=qt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function XI(a,h){if(h){if(Gx0[a]&&(h.children!=null||h.dangerouslySetInnerHTML!=null))throw Error(Oe(137,a));if(h.dangerouslySetInnerHTML!=null){if(h.children!=null)throw Error(Oe(60));if(typeof h.dangerouslySetInnerHTML!="object"||!("__html"in h.dangerouslySetInnerHTML))throw Error(Oe(61))}if(h.style!=null&&typeof h.style!="object")throw Error(Oe(62))}}function qI(a,h){if(a.indexOf("-")===-1)return typeof h.is=="string";switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $I=null;function NS(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var KI=null,x4=null,S4=null;function uV(a){if(a=V6(a)){if(typeof KI!="function")throw Error(Oe(280));var h=a.stateNode;h&&(h=Dm(h),KI(a.stateNode,a.type,h))}}function cq(a){x4?S4?S4.push(a):S4=[a]:x4=a}function fq(){if(x4){var a=x4,h=S4;if(S4=x4=null,uV(a),h)for(a=0;a>>=0,a===0?32:31-(Yx0(a)/Vx0|0)|0}var rv=64,tv=4194304;function W8(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function B5(a,h){var d=a.pendingLanes;if(d===0)return 0;var k=0,y=a.suspendedLanes,I=a.pingedLanes,S=d&268435455;if(S!==0){var G=S&~y;G!==0?k=W8(G):(I&=S,I!==0&&(k=W8(I)))}else S=d&~y,S!==0?k=W8(S):I!==0&&(k=W8(I));if(k===0)return 0;if(h!==0&&h!==k&&!(h&y)&&(y=k&-k,I=h&-h,y>=I||y===16&&(I&4194240)!==0))return h;if(k&4&&(k|=d&16),h=a.entangledLanes,h!==0)for(a=a.entanglements,h&=k;0d;d++)h.push(a);return h}function P6(a,h,d){a.pendingLanes|=h,h!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,h=31-cl(h),a[h]=d}function Ux0(a,h){var d=a.pendingLanes&~h;a.pendingLanes=h,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=h,a.mutableReadLanes&=h,a.entangledLanes&=h,h=a.entanglements;var k=a.eventTimes;for(a=a.expirationTimes;0=U8),vV=String.fromCharCode(32),mV=!1;function Gq(a,h){switch(a){case"keyup":return CS0.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zq(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var w4=!1;function BS0(a,h){switch(a){case"compositionend":return Zq(h);case"keypress":return h.which!==32?null:(mV=!0,vV);case"textInput":return a=h.data,a===vV&&mV?null:a;default:return null}}function IS0(a,h){if(w4)return a==="compositionend"||!HS&&Gq(a,h)?(a=Lq(),Fv=YS=pu=null,w4=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(h.ctrlKey||h.altKey||h.metaKey)||h.ctrlKey&&h.altKey){if(h.char&&1=h)return{node:d,offset:h-a};a=k}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=EV(d)}}function jq(a,h){return a&&h?a===h?!0:a&&a.nodeType===3?!1:h&&h.nodeType===3?jq(a,h.parentNode):"contains"in a?a.contains(h):a.compareDocumentPosition?!!(a.compareDocumentPosition(h)&16):!1:!1}function Nq(){for(var a=window,h=g5();h instanceof a.HTMLIFrameElement;){try{var d=typeof h.contentWindow.location.href=="string"}catch{d=!1}if(d)a=h.contentWindow;else break;h=g5(a.document)}return h}function JS(a){var h=a&&a.nodeName&&a.nodeName.toLowerCase();return h&&(h==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||h==="textarea"||a.contentEditable==="true")}function WS0(a){var h=Nq(),d=a.focusedElem,k=a.selectionRange;if(h!==d&&d&&d.ownerDocument&&jq(d.ownerDocument.documentElement,d)){if(k!==null&&JS(d)){if(h=k.start,a=k.end,a===void 0&&(a=h),"selectionStart"in d)d.selectionStart=h,d.selectionEnd=Math.min(a,d.value.length);else if(a=(h=d.ownerDocument||document)&&h.defaultView||window,a.getSelection){a=a.getSelection();var y=d.textContent.length,I=Math.min(k.start,y);k=k.end===void 0?I:Math.min(k.end,y),!a.extend&&I>k&&(y=k,k=I,I=y),y=BV(d,I);var S=BV(d,k);y&&S&&(a.rangeCount!==1||a.anchorNode!==y.node||a.anchorOffset!==y.offset||a.focusNode!==S.node||a.focusOffset!==S.offset)&&(h=h.createRange(),h.setStart(y.node,y.offset),a.removeAllRanges(),I>k?(a.addRange(h),a.extend(S.node,S.offset)):(h.setEnd(S.node,S.offset),a.addRange(h)))}}for(h=[],a=d;a=a.parentNode;)a.nodeType===1&&h.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d=document.documentMode,d4=null,nx=null,q8=null,ox=!1;function IV(a,h,d){var k=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;ox||d4==null||d4!==g5(k)||(k=d4,"selectionStart"in k&&JS(k)?k={start:k.selectionStart,end:k.selectionEnd}:(k=(k.ownerDocument&&k.ownerDocument.defaultView||window).getSelection(),k={anchorNode:k.anchorNode,anchorOffset:k.anchorOffset,focusNode:k.focusNode,focusOffset:k.focusOffset}),q8&&h6(q8,k)||(q8=k,k=S5(nx,"onSelect"),0v4||(a.current=cx[v4],cx[v4]=null,v4--)}function xt(a,h){v4++,cx[v4]=a.current,a.current=h}var Wu={},Tn=Tu(Wu),I1=Tu(!1),cc=Wu;function T4(a,h){var d=a.type.contextTypes;if(!d)return Wu;var k=a.stateNode;if(k&&k.__reactInternalMemoizedUnmaskedChildContext===h)return k.__reactInternalMemoizedMaskedChildContext;var y={},I;for(I in d)y[I]=h[I];return k&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=h,a.__reactInternalMemoizedMaskedChildContext=y),y}function x1(a){return a=a.childContextTypes,a!=null}function z5(){Wt(I1),Wt(Tn)}function GV(a,h,d){if(Tn.current!==Wu)throw Error(Oe(168));xt(Tn,h),xt(I1,d)}function Jq(a,h,d){var k=a.stateNode;if(h=h.childContextTypes,typeof k.getChildContext!="function")return d;k=k.getChildContext();for(var y in k)if(!(y in h))throw Error(Oe(108,zx0(a)||"Unknown",y));return qt({},d,k)}function L5(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Wu,cc=Tn.current,xt(Tn,a),xt(I1,I1.current),!0}function ZV(a,h,d){var k=a.stateNode;if(!k)throw Error(Oe(169));d?(a=Jq(a,h,cc),k.__reactInternalMemoizedMergedChildContext=a,Wt(I1),Wt(Tn),xt(Tn,a)):Wt(I1),xt(I1,d)}var Qs=null,Mm=!1,wB=!1;function Uq(a){Qs===null?Qs=[a]:Qs.push(a)}function HS0(a){Mm=!0,Uq(a)}function Fu(){if(!wB&&Qs!==null){wB=!0;var a=0,h=Kr;try{var d=Qs;for(Kr=1;a>=S,y-=S,Ys=1<<32-cl(h)+y|d<E0?(z0=w0,w0=null):z0=w0.sibling;var W0=e0(u0,w0,f0[E0],y0);if(W0===null){w0===null&&(w0=z0);break}a&&w0&&W0.alternate===null&&h(u0,w0),c0=I(W0,c0,E0),I0===null?C0=W0:I0.sibling=W0,I0=W0,w0=z0}if(E0===f0.length)return d(u0,w0),Ft&&Ua(u0,E0),C0;if(w0===null){for(;E0E0?(z0=w0,w0=null):z0=w0.sibling;var P0=e0(u0,w0,W0.value,y0);if(P0===null){w0===null&&(w0=z0);break}a&&w0&&P0.alternate===null&&h(u0,w0),c0=I(P0,c0,E0),I0===null?C0=P0:I0.sibling=P0,I0=P0,w0=z0}if(W0.done)return d(u0,w0),Ft&&Ua(u0,E0),C0;if(w0===null){for(;!W0.done;E0++,W0=f0.next())W0=V(u0,W0.value,y0),W0!==null&&(c0=I(W0,c0,E0),I0===null?C0=W0:I0.sibling=W0,I0=W0);return Ft&&Ua(u0,E0),C0}for(w0=k(u0,w0);!W0.done;E0++,W0=f0.next())W0=l0(w0,u0,E0,W0.value,y0),W0!==null&&(a&&W0.alternate!==null&&w0.delete(W0.key===null?E0:W0.key),c0=I(W0,c0,E0),I0===null?C0=W0:I0.sibling=W0,I0=W0);return a&&w0.forEach(function(R0){return h(u0,R0)}),Ft&&Ua(u0,E0),C0}function h0(u0,c0,f0,y0){if(typeof f0=="object"&&f0!==null&&f0.type===h4&&f0.key===null&&(f0=f0.props.children),typeof f0=="object"&&f0!==null){switch(f0.$$typeof){case Kk:e:{for(var C0=f0.key,I0=c0;I0!==null;){if(I0.key===C0){if(C0=f0.type,C0===h4){if(I0.tag===7){d(u0,I0.sibling),c0=y(I0,f0.props.children),c0.return=u0,u0=c0;break e}}else if(I0.elementType===C0||typeof C0=="object"&&C0!==null&&C0.$$typeof===cu&&MV(C0)===I0.type){d(u0,I0.sibling),c0=y(I0,f0.props),c0.ref=m8(u0,I0,f0),c0.return=u0,u0=c0;break e}d(u0,I0);break}else h(u0,I0);I0=I0.sibling}f0.type===h4?(c0=lc(f0.props.children,u0.mode,y0,f0.key),c0.return=u0,u0=c0):(y0=Xv(f0.type,f0.key,f0.props,null,u0.mode,y0),y0.ref=m8(u0,c0,f0),y0.return=u0,u0=y0)}return S(u0);case f4:e:{for(I0=f0.key;c0!==null;){if(c0.key===I0)if(c0.tag===4&&c0.stateNode.containerInfo===f0.containerInfo&&c0.stateNode.implementation===f0.implementation){d(u0,c0.sibling),c0=y(c0,f0.children||[]),c0.return=u0,u0=c0;break e}else{d(u0,c0);break}else h(u0,c0);c0=c0.sibling}c0=CB(f0,u0.mode,y0),c0.return=u0,u0=c0}return S(u0);case cu:return I0=f0._init,h0(u0,c0,I0(f0._payload),y0)}if(Z8(f0))return A0(u0,c0,f0,y0);if(w8(f0))return n0(u0,c0,f0,y0);uv(u0,f0)}return typeof f0=="string"&&f0!==""||typeof f0=="number"?(f0=""+f0,c0!==null&&c0.tag===6?(d(u0,c0.sibling),c0=y(c0,f0),c0.return=u0,u0=c0):(d(u0,c0),c0=yB(f0,u0.mode,y0),c0.return=u0,u0=c0),S(u0)):d(u0,c0)}return h0}var P4=Kq(!0),bq=Kq(!1),Z5=Tu(null),W5=null,y4=null,$S=null;function KS(){$S=y4=W5=null}function bS(a){var h=Z5.current;Wt(Z5),a._currentValue=h}function wx(a,h,d){for(;a!==null;){var k=a.alternate;if((a.childLanes&h)!==h?(a.childLanes|=h,k!==null&&(k.childLanes|=h)):k!==null&&(k.childLanes&h)!==h&&(k.childLanes|=h),a===d)break;a=a.return}}function z4(a,h){W5=a,$S=y4=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&h&&(E1=!0),a.firstContext=null)}function Zo(a){var h=a._currentValue;if($S!==a)if(a={context:a,memoizedValue:h,next:null},y4===null){if(W5===null)throw Error(Oe(308));y4=a,W5.dependencies={lanes:0,firstContext:a}}else y4=y4.next=a;return h}var rc=null;function e_(a){rc===null?rc=[a]:rc.push(a)}function e$(a,h,d,k){var y=h.interleaved;return y===null?(d.next=d,e_(h)):(d.next=y.next,y.next=d),h.interleaved=d,$s(a,k)}function $s(a,h){a.lanes|=h;var d=a.alternate;for(d!==null&&(d.lanes|=h),d=a,a=a.return;a!==null;)a.childLanes|=h,d=a.alternate,d!==null&&(d.childLanes|=h),d=a,a=a.return;return d.tag===3?d.stateNode:null}var fu=!1;function r_(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function r$(a,h){a=a.updateQueue,h.updateQueue===a&&(h.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function Us(a,h){return{eventTime:a,lane:h,tag:0,payload:null,callback:null,next:null}}function Iu(a,h,d){var k=a.updateQueue;if(k===null)return null;if(k=k.shared,zr&2){var y=k.pending;return y===null?h.next=h:(h.next=y.next,y.next=h),k.pending=h,$s(a,d)}return y=k.interleaved,y===null?(h.next=h,e_(k)):(h.next=y.next,y.next=h),k.interleaved=h,$s(a,d)}function Yv(a,h,d){if(h=h.updateQueue,h!==null&&(h=h.shared,(d&4194240)!==0)){var k=h.lanes;k&=a.pendingLanes,d|=k,h.lanes=d,TS(a,d)}}function jV(a,h){var d=a.updateQueue,k=a.alternate;if(k!==null&&(k=k.updateQueue,d===k)){var y=null,I=null;if(d=d.firstBaseUpdate,d!==null){do{var S={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};I===null?y=I=S:I=I.next=S,d=d.next}while(d!==null);I===null?y=I=h:I=I.next=h}else y=I=h;d={baseState:k.baseState,firstBaseUpdate:y,lastBaseUpdate:I,shared:k.shared,effects:k.effects},a.updateQueue=d;return}a=d.lastBaseUpdate,a===null?d.firstBaseUpdate=h:a.next=h,d.lastBaseUpdate=h}function D5(a,h,d,k){var y=a.updateQueue;fu=!1;var I=y.firstBaseUpdate,S=y.lastBaseUpdate,G=y.shared.pending;if(G!==null){y.shared.pending=null;var R=G,M=R.next;R.next=null,S===null?I=M:S.next=M,S=R;var Q=a.alternate;Q!==null&&(Q=Q.updateQueue,G=Q.lastBaseUpdate,G!==S&&(G===null?Q.firstBaseUpdate=M:G.next=M,Q.lastBaseUpdate=R))}if(I!==null){var V=y.baseState;S=0,Q=M=R=null,G=I;do{var e0=G.lane,l0=G.eventTime;if((k&e0)===e0){Q!==null&&(Q=Q.next={eventTime:l0,lane:0,tag:G.tag,payload:G.payload,callback:G.callback,next:null});e:{var A0=a,n0=G;switch(e0=h,l0=d,n0.tag){case 1:if(A0=n0.payload,typeof A0=="function"){V=A0.call(l0,V,e0);break e}V=A0;break e;case 3:A0.flags=A0.flags&-65537|128;case 0:if(A0=n0.payload,e0=typeof A0=="function"?A0.call(l0,V,e0):A0,e0==null)break e;V=qt({},V,e0);break e;case 2:fu=!0}}G.callback!==null&&G.lane!==0&&(a.flags|=64,e0=y.effects,e0===null?y.effects=[G]:e0.push(G))}else l0={eventTime:l0,lane:e0,tag:G.tag,payload:G.payload,callback:G.callback,next:null},Q===null?(M=Q=l0,R=V):Q=Q.next=l0,S|=e0;if(G=G.next,G===null){if(G=y.shared.pending,G===null)break;e0=G,G=e0.next,e0.next=null,y.lastBaseUpdate=e0,y.shared.pending=null}}while(1);if(Q===null&&(R=V),y.baseState=R,y.firstBaseUpdate=M,y.lastBaseUpdate=Q,h=y.shared.interleaved,h!==null){y=h;do S|=y.lane,y=y.next;while(y!==h)}else I===null&&(y.shared.lanes=0);wc|=S,a.lanes=S,a.memoizedState=V}}function NV(a,h,d){if(a=h.effects,h.effects=null,a!==null)for(h=0;hd?d:4,a(!0);var k=pB.transition;pB.transition={};try{a(!1),h()}finally{Kr=d,pB.transition=k}}function v$(){return Wo().memoizedState}function qS0(a,h,d){var k=Su(a);if(d={lane:k,action:d,hasEagerState:!1,eagerState:null,next:null},m$(a))g$(h,d);else if(d=e$(a,h,d,k),d!==null){var y=r1();fl(d,a,k,y),y$(d,h,k)}}function $S0(a,h,d){var k=Su(a),y={lane:k,action:d,hasEagerState:!1,eagerState:null,next:null};if(m$(a))g$(h,y);else{var I=a.alternate;if(a.lanes===0&&(I===null||I.lanes===0)&&(I=h.lastRenderedReducer,I!==null))try{var S=h.lastRenderedState,G=I(S,d);if(y.hasEagerState=!0,y.eagerState=G,hl(G,S)){var R=h.interleaved;R===null?(y.next=y,e_(h)):(y.next=R.next,R.next=y),h.interleaved=y;return}}catch{}finally{}d=e$(a,h,y,k),d!==null&&(y=r1(),fl(d,a,k,y),y$(d,h,k))}}function m$(a){var h=a.alternate;return a===Xt||h!==null&&h===Xt}function g$(a,h){$8=j5=!0;var d=a.pending;d===null?h.next=h:(h.next=d.next,d.next=h),a.pending=h}function y$(a,h,d){if(d&4194240){var k=h.lanes;k&=a.pendingLanes,d|=k,h.lanes=d,TS(a,d)}}var N5={readContext:Zo,useCallback:Zn,useContext:Zn,useEffect:Zn,useImperativeHandle:Zn,useInsertionEffect:Zn,useLayoutEffect:Zn,useMemo:Zn,useReducer:Zn,useRef:Zn,useState:Zn,useDebugValue:Zn,useDeferredValue:Zn,useTransition:Zn,useMutableSource:Zn,useSyncExternalStore:Zn,useId:Zn,unstable_isNewReconciler:!1},KS0={readContext:Zo,useCallback:function(a,h){return Jl().memoizedState=[a,h===void 0?null:h],a},useContext:Zo,useEffect:TV,useImperativeHandle:function(a,h,d){return d=d!=null?d.concat([a]):null,Ov(4194308,4,h$.bind(null,h,a),d)},useLayoutEffect:function(a,h){return Ov(4194308,4,a,h)},useInsertionEffect:function(a,h){return Ov(4,2,a,h)},useMemo:function(a,h){var d=Jl();return h=h===void 0?null:h,a=a(),d.memoizedState=[a,h],a},useReducer:function(a,h,d){var k=Jl();return h=d!==void 0?d(h):h,k.memoizedState=k.baseState=h,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:h},k.queue=a,a=a.dispatch=qS0.bind(null,Xt,a),[k.memoizedState,a]},useRef:function(a){var h=Jl();return a={current:a},h.memoizedState=a},useState:QV,useDebugValue:u_,useDeferredValue:function(a){return Jl().memoizedState=a},useTransition:function(){var a=QV(!1),h=a[0];return a=XS0.bind(null,a[1]),Jl().memoizedState=a,[h,a]},useMutableSource:function(){},useSyncExternalStore:function(a,h,d){var k=Xt,y=Jl();if(Ft){if(d===void 0)throw Error(Oe(407));d=d()}else{if(d=h(),en===null)throw Error(Oe(349));hc&30||o$(k,h,d)}y.memoizedState=d;var I={value:d,getSnapshot:h};return y.queue=I,TV(s$.bind(null,k,I,a),[a]),k.flags|=2048,y6(9,l$.bind(null,k,I,d,h),void 0,null),d},useId:function(){var a=Jl(),h=en.identifierPrefix;if(Ft){var d=Vs,k=Ys;d=(k&~(1<<32-cl(k)-1)).toString(32)+d,h=":"+h+"R"+d,d=m6++,0<\/script>",a=a.removeChild(a.firstChild)):typeof k.is=="string"?a=S.createElement(d,{is:k.is}):(a=S.createElement(d),d==="select"&&(S=a,k.multiple?S.multiple=!0:k.size&&(S.size=k.size))):a=S.createElementNS(a,d),a[bl]=h,a[p6]=k,R$(a,h,!1,!1),h.stateNode=a;e:{switch(S=qI(d,k),d){case"dialog":Rt("cancel",a),Rt("close",a),y=k;break;case"iframe":case"object":case"embed":Rt("load",a),y=k;break;case"video":case"audio":for(y=0;yO4&&(h.flags|=128,k=!0,g8(I,!1),h.lanes=4194304)}else{if(!k)if(a=M5(S),a!==null){if(h.flags|=128,k=!0,d=a.updateQueue,d!==null&&(h.updateQueue=d,h.flags|=4),g8(I,!0),I.tail===null&&I.tailMode==="hidden"&&!S.alternate&&!Ft)return Wn(h),null}else 2*hi()-I.renderingStartTime>O4&&d!==1073741824&&(h.flags|=128,k=!0,g8(I,!1),h.lanes=4194304);I.isBackwards?(S.sibling=h.child,h.child=S):(d=I.last,d!==null?d.sibling=S:h.child=S,I.last=S)}return I.tail!==null?(h=I.tail,I.rendering=h,I.tail=h.sibling,I.renderingStartTime=hi(),h.sibling=null,d=Ut.current,xt(Ut,k?d&1|2:d&1),h):(Wn(h),null);case 22:case 23:return d_(),k=h.memoizedState!==null,a!==null&&a.memoizedState!==null!==k&&(h.flags|=8192),k&&h.mode&1?V1&1073741824&&(Wn(h),h.subtreeFlags&6&&(h.flags|=8192)):Wn(h),null;case 24:return null;case 25:return null}throw Error(Oe(156,h.tag))}function l_0(a,h){switch(XS(h),h.tag){case 1:return x1(h.type)&&z5(),a=h.flags,a&65536?(h.flags=a&-65537|128,h):null;case 3:return Y4(),Wt(I1),Wt(Tn),n_(),a=h.flags,a&65536&&!(a&128)?(h.flags=a&-65537|128,h):null;case 5:return i_(h),null;case 13:if(Wt(Ut),a=h.memoizedState,a!==null&&a.dehydrated!==null){if(h.alternate===null)throw Error(Oe(340));F4()}return a=h.flags,a&65536?(h.flags=a&-65537|128,h):null;case 19:return Wt(Ut),null;case 4:return Y4(),null;case 10:return bS(h.type._context),null;case 22:case 23:return d_(),null;case 24:return null;default:return null}}var cv=!1,Qn=!1,s_0=typeof WeakSet=="function"?WeakSet:Set,p2=null;function C4(a,h){var d=a.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(k){ni(a,h,k)}else d.current=null}function Ex(a,h,d){try{d()}catch(k){ni(a,h,k)}}var $V=!1;function A_0(a,h){if(lx=I5,a=Nq(),JS(a)){if("selectionStart"in a)var d={start:a.selectionStart,end:a.selectionEnd};else e:{d=(d=a.ownerDocument)&&d.defaultView||window;var k=d.getSelection&&d.getSelection();if(k&&k.rangeCount!==0){d=k.anchorNode;var y=k.anchorOffset,I=k.focusNode;k=k.focusOffset;try{d.nodeType,I.nodeType}catch{d=null;break e}var S=0,G=-1,R=-1,M=0,Q=0,V=a,e0=null;r:for(;;){for(var l0;V!==d||y!==0&&V.nodeType!==3||(G=S+y),V!==I||k!==0&&V.nodeType!==3||(R=S+k),V.nodeType===3&&(S+=V.nodeValue.length),(l0=V.firstChild)!==null;)e0=V,V=l0;for(;;){if(V===a)break r;if(e0===d&&++M===y&&(G=S),e0===I&&++Q===k&&(R=S),(l0=V.nextSibling)!==null)break;V=e0,e0=V.parentNode}V=l0}d=G===-1||R===-1?null:{start:G,end:R}}else d=null}d=d||{start:0,end:0}}else d=null;for(sx={focusedElem:a,selectionRange:d},I5=!1,p2=h;p2!==null;)if(h=p2,a=h.child,(h.subtreeFlags&1028)!==0&&a!==null)a.return=h,p2=a;else for(;p2!==null;){h=p2;try{var A0=h.alternate;if(h.flags&1024)switch(h.tag){case 0:case 11:case 15:break;case 1:if(A0!==null){var n0=A0.memoizedProps,h0=A0.memoizedState,u0=h.stateNode,c0=u0.getSnapshotBeforeUpdate(h.elementType===h.type?n0:ll(h.type,n0),h0);u0.__reactInternalSnapshotBeforeUpdate=c0}break;case 3:var f0=h.stateNode.containerInfo;f0.nodeType===1?f0.textContent="":f0.nodeType===9&&f0.documentElement&&f0.removeChild(f0.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Oe(163))}}catch(y0){ni(h,h.return,y0)}if(a=h.sibling,a!==null){a.return=h.return,p2=a;break}p2=h.return}return A0=$V,$V=!1,A0}function K8(a,h,d){var k=h.updateQueue;if(k=k!==null?k.lastEffect:null,k!==null){var y=k=k.next;do{if((y.tag&a)===a){var I=y.destroy;y.destroy=void 0,I!==void 0&&Ex(h,d,I)}y=y.next}while(y!==k)}}function Qm(a,h){if(h=h.updateQueue,h=h!==null?h.lastEffect:null,h!==null){var d=h=h.next;do{if((d.tag&a)===a){var k=d.create;d.destroy=k()}d=d.next}while(d!==h)}}function Bx(a){var h=a.ref;if(h!==null){var d=a.stateNode;switch(a.tag){case 5:a=d;break;default:a=d}typeof h=="function"?h(a):h.current=a}}function W$(a){var h=a.alternate;h!==null&&(a.alternate=null,W$(h)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(h=a.stateNode,h!==null&&(delete h[bl],delete h[p6],delete h[ax],delete h[VS0],delete h[OS0])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function D$(a){return a.tag===5||a.tag===3||a.tag===4}function KV(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||D$(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Ix(a,h,d){var k=a.tag;if(k===5||k===6)a=a.stateNode,h?d.nodeType===8?d.parentNode.insertBefore(a,h):d.insertBefore(a,h):(d.nodeType===8?(h=d.parentNode,h.insertBefore(a,d)):(h=d,h.appendChild(a)),d=d._reactRootContainer,d!=null||h.onclick!==null||(h.onclick=_5));else if(k!==4&&(a=a.child,a!==null))for(Ix(a,h,d),a=a.sibling;a!==null;)Ix(a,h,d),a=a.sibling}function xx(a,h,d){var k=a.tag;if(k===5||k===6)a=a.stateNode,h?d.insertBefore(a,h):d.appendChild(a);else if(k!==4&&(a=a.child,a!==null))for(xx(a,h,d),a=a.sibling;a!==null;)xx(a,h,d),a=a.sibling}var pn=null,sl=!1;function uu(a,h,d){for(d=d.child;d!==null;)M$(a,h,d),d=d.sibling}function M$(a,h,d){if(ts&&typeof ts.onCommitFiberUnmount=="function")try{ts.onCommitFiberUnmount(Rm,d)}catch{}switch(d.tag){case 5:Qn||C4(d,h);case 6:var k=pn,y=sl;pn=null,uu(a,h,d),pn=k,sl=y,pn!==null&&(sl?(a=pn,d=d.stateNode,a.nodeType===8?a.parentNode.removeChild(d):a.removeChild(d)):pn.removeChild(d.stateNode));break;case 18:pn!==null&&(sl?(a=pn,d=d.stateNode,a.nodeType===8?hB(a.parentNode,d):a.nodeType===1&&hB(a,d),c6(a)):hB(pn,d.stateNode));break;case 4:k=pn,y=sl,pn=d.stateNode.containerInfo,sl=!0,uu(a,h,d),pn=k,sl=y;break;case 0:case 11:case 14:case 15:if(!Qn&&(k=d.updateQueue,k!==null&&(k=k.lastEffect,k!==null))){y=k=k.next;do{var I=y,S=I.destroy;I=I.tag,S!==void 0&&(I&2||I&4)&&Ex(d,h,S),y=y.next}while(y!==k)}uu(a,h,d);break;case 1:if(!Qn&&(C4(d,h),k=d.stateNode,typeof k.componentWillUnmount=="function"))try{k.props=d.memoizedProps,k.state=d.memoizedState,k.componentWillUnmount()}catch(G){ni(d,h,G)}uu(a,h,d);break;case 21:uu(a,h,d);break;case 22:d.mode&1?(Qn=(k=Qn)||d.memoizedState!==null,uu(a,h,d),Qn=k):uu(a,h,d);break;default:uu(a,h,d)}}function bV(a){var h=a.updateQueue;if(h!==null){a.updateQueue=null;var d=a.stateNode;d===null&&(d=a.stateNode=new s_0),h.forEach(function(k){var y=k_0.bind(null,a,k);d.has(k)||(d.add(k),k.then(y,y))})}}function ol(a,h){var d=h.deletions;if(d!==null)for(var k=0;ky&&(y=S),k&=~I}if(k=y,k=hi()-k,k=(120>k?120:480>k?480:1080>k?1080:1920>k?1920:3e3>k?3e3:4320>k?4320:1960*a_0(k/1960))-k,10a?16:a,ku===null)var k=!1;else{if(a=ku,ku=null,F5=0,zr&6)throw Error(Oe(331));var y=zr;for(zr|=4,p2=a.current;p2!==null;){var I=p2,S=I.child;if(p2.flags&16){var G=I.deletions;if(G!==null){for(var R=0;Rhi()-h_?oc(a,0):f_|=d),S1(a,h)}function V$(a,h){h===0&&(a.mode&1?(h=tv,tv<<=1,!(tv&130023424)&&(tv=4194304)):h=1);var d=r1();a=$s(a,h),a!==null&&(P6(a,h,d),S1(a,d))}function p_0(a){var h=a.memoizedState,d=0;h!==null&&(d=h.retryLane),V$(a,d)}function k_0(a,h){var d=0;switch(a.tag){case 13:var k=a.stateNode,y=a.memoizedState;y!==null&&(d=y.retryLane);break;case 19:k=a.stateNode;break;default:throw Error(Oe(314))}k!==null&&k.delete(h),V$(a,d)}var O$;O$=function(a,h,d){if(a!==null)if(a.memoizedProps!==h.pendingProps||I1.current)E1=!0;else{if(!(a.lanes&d)&&!(h.flags&128))return E1=!1,n_0(a,h,d);E1=!!(a.flags&131072)}else E1=!1,Ft&&h.flags&1048576&&Xq(h,G5,h.index);switch(h.lanes=0,h.tag){case 2:var k=h.type;Hv(a,h),a=h.pendingProps;var y=T4(h,Tn.current);z4(h,d),y=l_(null,h,k,a,y,d);var I=s_();return h.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(h.tag=1,h.memoizedState=null,h.updateQueue=null,x1(k)?(I=!0,L5(h)):I=!1,h.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,r_(h),y.updater=Nm,h.stateNode=y,y._reactInternals=h,px(h,k,a,d),h=mx(null,h,k,!0,I,d)):(h.tag=0,Ft&&I&&US(h),bn(null,h,y,d),h=h.child),h;case 16:k=h.elementType;e:{switch(Hv(a,h),a=h.pendingProps,y=k._init,k=y(k._payload),h.type=k,y=h.tag=m_0(k),a=ll(k,a),y){case 0:h=vx(null,h,k,a,d);break e;case 1:h=UV(null,h,k,a,d);break e;case 11:h=HV(null,h,k,a,d);break e;case 14:h=JV(null,h,k,ll(k.type,a),d);break e}throw Error(Oe(306,k,""))}return h;case 0:return k=h.type,y=h.pendingProps,y=h.elementType===k?y:ll(k,y),vx(a,h,k,y,d);case 1:return k=h.type,y=h.pendingProps,y=h.elementType===k?y:ll(k,y),UV(a,h,k,y,d);case 3:e:{if(_$(h),a===null)throw Error(Oe(387));k=h.pendingProps,I=h.memoizedState,y=I.element,r$(a,h),D5(h,k,null,d);var S=h.memoizedState;if(k=S.element,I.isDehydrated)if(I={element:k,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},h.updateQueue.baseState=I,h.memoizedState=I,h.flags&256){y=V4(Error(Oe(423)),h),h=XV(a,h,k,d,y);break e}else if(k!==y){y=V4(Error(Oe(424)),h),h=XV(a,h,k,d,y);break e}else for(J1=Bu(h.stateNode.containerInfo.firstChild),X1=h,Ft=!0,Al=null,d=bq(h,null,k,d),h.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(F4(),k===y){h=Ks(a,h,d);break e}bn(a,h,k,d)}h=h.child}return h;case 5:return t$(h),a===null&&hx(h),k=h.type,y=h.pendingProps,I=a!==null?a.memoizedProps:null,S=y.children,Ax(k,y)?S=null:I!==null&&Ax(k,I)&&(h.flags|=32),S$(a,h),bn(a,h,S,d),h.child;case 6:return a===null&&hx(h),null;case 13:return z$(a,h,d);case 4:return t_(h,h.stateNode.containerInfo),k=h.pendingProps,a===null?h.child=P4(h,null,k,d):bn(a,h,k,d),h.child;case 11:return k=h.type,y=h.pendingProps,y=h.elementType===k?y:ll(k,y),HV(a,h,k,y,d);case 7:return bn(a,h,h.pendingProps,d),h.child;case 8:return bn(a,h,h.pendingProps.children,d),h.child;case 12:return bn(a,h,h.pendingProps.children,d),h.child;case 10:e:{if(k=h.type._context,y=h.pendingProps,I=h.memoizedProps,S=y.value,xt(Z5,k._currentValue),k._currentValue=S,I!==null)if(hl(I.value,S)){if(I.children===y.children&&!I1.current){h=Ks(a,h,d);break e}}else for(I=h.child,I!==null&&(I.return=h);I!==null;){var G=I.dependencies;if(G!==null){S=I.child;for(var R=G.firstContext;R!==null;){if(R.context===k){if(I.tag===1){R=Us(-1,d&-d),R.tag=2;var M=I.updateQueue;if(M!==null){M=M.shared;var Q=M.pending;Q===null?R.next=R:(R.next=Q.next,Q.next=R),M.pending=R}}I.lanes|=d,R=I.alternate,R!==null&&(R.lanes|=d),wx(I.return,d,h),G.lanes|=d;break}R=R.next}}else if(I.tag===10)S=I.type===h.type?null:I.child;else if(I.tag===18){if(S=I.return,S===null)throw Error(Oe(341));S.lanes|=d,G=S.alternate,G!==null&&(G.lanes|=d),wx(S,d,h),S=I.sibling}else S=I.child;if(S!==null)S.return=I;else for(S=I;S!==null;){if(S===h){S=null;break}if(I=S.sibling,I!==null){I.return=S.return,S=I;break}S=S.return}I=S}bn(a,h,y.children,d),h=h.child}return h;case 9:return y=h.type,k=h.pendingProps.children,z4(h,d),y=Zo(y),k=k(y),h.flags|=1,bn(a,h,k,d),h.child;case 14:return k=h.type,y=ll(k,h.pendingProps),y=ll(k.type,y),JV(a,h,k,y,d);case 15:return I$(a,h,h.type,h.pendingProps,d);case 17:return k=h.type,y=h.pendingProps,y=h.elementType===k?y:ll(k,y),Hv(a,h),h.tag=1,x1(k)?(a=!0,L5(h)):a=!1,z4(h,d),C$(h,k,y),px(h,k,y,d),mx(null,h,k,!0,a,d);case 19:return L$(a,h,d);case 22:return x$(a,h,d)}throw Error(Oe(156,h.tag))};function H$(a,h){return mq(a,h)}function v_0(a,h,d,k){this.tag=a,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=h,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=k,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zo(a,h,d,k){return new v_0(a,h,d,k)}function k_(a){return a=a.prototype,!(!a||!a.isReactComponent)}function m_0(a){if(typeof a=="function")return k_(a)?1:0;if(a!=null){if(a=a.$$typeof,a===MS)return 11;if(a===jS)return 14}return 2}function _u(a,h){var d=a.alternate;return d===null?(d=zo(a.tag,h,a.key,a.mode),d.elementType=a.elementType,d.type=a.type,d.stateNode=a.stateNode,d.alternate=a,a.alternate=d):(d.pendingProps=h,d.type=a.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=a.flags&14680064,d.childLanes=a.childLanes,d.lanes=a.lanes,d.child=a.child,d.memoizedProps=a.memoizedProps,d.memoizedState=a.memoizedState,d.updateQueue=a.updateQueue,h=a.dependencies,d.dependencies=h===null?null:{lanes:h.lanes,firstContext:h.firstContext},d.sibling=a.sibling,d.index=a.index,d.ref=a.ref,d}function Xv(a,h,d,k,y,I){var S=2;if(k=a,typeof a=="function")k_(a)&&(S=1);else if(typeof a=="string")S=5;else e:switch(a){case h4:return lc(d.children,y,I,h);case DS:S=8,y|=8;break;case TI:return a=zo(12,d,h,y|2),a.elementType=TI,a.lanes=I,a;case FI:return a=zo(13,d,h,y),a.elementType=FI,a.lanes=I,a;case PI:return a=zo(19,d,h,y),a.elementType=PI,a.lanes=I,a;case tq:return Fm(d,y,I,h);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case eq:S=10;break e;case rq:S=9;break e;case MS:S=11;break e;case jS:S=14;break e;case cu:S=16,k=null;break e}throw Error(Oe(130,a==null?a:typeof a,""))}return h=zo(S,d,h,y),h.elementType=a,h.type=k,h.lanes=I,h}function lc(a,h,d,k){return a=zo(7,a,k,h),a.lanes=d,a}function Fm(a,h,d,k){return a=zo(22,a,k,h),a.elementType=tq,a.lanes=d,a.stateNode={isHidden:!1},a}function yB(a,h,d){return a=zo(6,a,null,h),a.lanes=d,a}function CB(a,h,d){return h=zo(4,a.children!==null?a.children:[],a.key,h),h.lanes=d,h.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},h}function g_0(a,h,d,k,y){this.tag=h,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tB(0),this.expirationTimes=tB(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tB(0),this.identifierPrefix=k,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function v_(a,h,d,k,y,I,S,G,R){return a=new g_0(a,h,d,G,R),h===1?(h=1,I===!0&&(h|=8)):h=0,I=zo(3,null,null,h),a.current=I,I.stateNode=a,I.memoizedState={element:k,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},r_(I),a}function y_0(a,h,d){var k=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(q$)}catch(a){console.error(a)}}q$(),qX.exports=eo;var H6=qX.exports,sO=H6;NI.createRoot=sO.createRoot,NI.hydrateRoot=sO.hydrateRoot;/** + * @remix-run/router v1.16.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function E6(){return E6=Object.assign?Object.assign.bind():function(a){for(var h=1;h"u")throw new Error(h)}function $$(a,h){if(!a){typeof console<"u"&&console.warn(h);try{throw new Error(h)}catch{}}}function S_0(){return Math.random().toString(36).substr(2,8)}function uO(a,h){return{usr:a.state,key:a.key,idx:h}}function Rx(a,h,d,k){return d===void 0&&(d=null),E6({pathname:typeof a=="string"?a:a.pathname,search:"",hash:""},typeof h=="string"?a3(h):h,{state:d,key:h&&h.key||k||S_0()})}function V5(a){let{pathname:h="/",search:d="",hash:k=""}=a;return d&&d!=="?"&&(h+=d.charAt(0)==="?"?d:"?"+d),k&&k!=="#"&&(h+=k.charAt(0)==="#"?k:"#"+k),h}function a3(a){let h={};if(a){let d=a.indexOf("#");d>=0&&(h.hash=a.substr(d),a=a.substr(0,d));let k=a.indexOf("?");k>=0&&(h.search=a.substr(k),a=a.substr(0,k)),a&&(h.pathname=a)}return h}function __0(a,h,d,k){k===void 0&&(k={});let{window:y=document.defaultView,v5Compat:I=!1}=k,S=y.history,G=vu.Pop,R=null,M=Q();M==null&&(M=0,S.replaceState(E6({},S.state,{idx:M}),""));function Q(){return(S.state||{idx:null}).idx}function V(){G=vu.Pop;let h0=Q(),u0=h0==null?null:h0-M;M=h0,R&&R({action:G,location:n0.location,delta:u0})}function e0(h0,u0){G=vu.Push;let c0=Rx(n0.location,h0,u0);d&&d(c0,h0),M=Q()+1;let f0=uO(c0,M),y0=n0.createHref(c0);try{S.pushState(f0,"",y0)}catch(C0){if(C0 instanceof DOMException&&C0.name==="DataCloneError")throw C0;y.location.assign(y0)}I&&R&&R({action:G,location:n0.location,delta:1})}function l0(h0,u0){G=vu.Replace;let c0=Rx(n0.location,h0,u0);d&&d(c0,h0),M=Q();let f0=uO(c0,M),y0=n0.createHref(c0);S.replaceState(f0,"",y0),I&&R&&R({action:G,location:n0.location,delta:0})}function A0(h0){let u0=y.location.origin!=="null"?y.location.origin:y.location.href,c0=typeof h0=="string"?h0:V5(h0);return c0=c0.replace(/ $/,"%20"),_i(u0,"No window.location.(origin|href) available to create URL for href: "+c0),new URL(c0,u0)}let n0={get action(){return G},get location(){return a(y,S)},listen(h0){if(R)throw new Error("A history only accepts one active listener");return y.addEventListener(AO,V),R=h0,()=>{y.removeEventListener(AO,V),R=null}},createHref(h0){return h(y,h0)},createURL:A0,encodeLocation(h0){let u0=A0(h0);return{pathname:u0.pathname,search:u0.search,hash:u0.hash}},push:e0,replace:l0,go(h0){return S.go(h0)}};return n0}var aO;(function(a){a.data="data",a.deferred="deferred",a.redirect="redirect",a.error="error"})(aO||(aO={}));function z_0(a,h,d){d===void 0&&(d="/");let k=typeof h=="string"?a3(h):h,y=C_(k.pathname||"/",d);if(y==null)return null;let I=K$(a);L_0(I);let S=null;for(let G=0;S==null&&G{let R={relativePath:G===void 0?I.path||"":G,caseSensitive:I.caseSensitive===!0,childrenIndex:S,route:I};R.relativePath.startsWith("/")&&(_i(R.relativePath.startsWith(k),'Absolute route path "'+R.relativePath+'" nested under path '+('"'+k+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),R.relativePath=R.relativePath.slice(k.length));let M=zu([k,R.relativePath]),Q=d.concat(R);I.children&&I.children.length>0&&(_i(I.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+M+'".')),K$(I.children,h,Q,M)),!(I.path==null&&!I.index)&&h.push({path:M,score:j_0(M,I.index),routesMeta:Q})};return a.forEach((I,S)=>{var G;if(I.path===""||!((G=I.path)!=null&&G.includes("?")))y(I,S);else for(let R of b$(I.path))y(I,S,R)}),h}function b$(a){let h=a.split("/");if(h.length===0)return[];let[d,...k]=h,y=d.endsWith("?"),I=d.replace(/\?$/,"");if(k.length===0)return y?[I,""]:[I];let S=b$(k.join("/")),G=[];return G.push(...S.map(R=>R===""?I:[I,R].join("/"))),y&&G.push(...S),G.map(R=>a.startsWith("/")&&R===""?"/":R)}function L_0(a){a.sort((h,d)=>h.score!==d.score?d.score-h.score:N_0(h.routesMeta.map(k=>k.childrenIndex),d.routesMeta.map(k=>k.childrenIndex)))}const R_0=/^:[\w-]+$/,G_0=3,Z_0=2,W_0=1,D_0=10,M_0=-2,cO=a=>a==="*";function j_0(a,h){let d=a.split("/"),k=d.length;return d.some(cO)&&(k+=M_0),h&&(k+=Z_0),d.filter(y=>!cO(y)).reduce((y,I)=>y+(R_0.test(I)?G_0:I===""?W_0:D_0),k)}function N_0(a,h){return a.length===h.length&&a.slice(0,-1).every((k,y)=>k===h[y])?a[a.length-1]-h[h.length-1]:0}function Q_0(a,h){let{routesMeta:d}=a,k={},y="/",I=[];for(let S=0;S{let{paramName:e0,isOptional:l0}=Q;if(e0==="*"){let n0=G[V]||"";S=I.slice(0,I.length-n0.length).replace(/(.)\/+$/,"$1")}const A0=G[V];return l0&&!A0?M[e0]=void 0:M[e0]=(A0||"").replace(/%2F/g,"/"),M},{}),pathname:I,pathnameBase:S,pattern:a}}function F_0(a,h,d){h===void 0&&(h=!1),d===void 0&&(d=!0),$$(a==="*"||!a.endsWith("*")||a.endsWith("/*"),'Route path "'+a+'" will be treated as if it were '+('"'+a.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+a.replace(/\*$/,"/*")+'".'));let k=[],y="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(S,G,R)=>(k.push({paramName:G,isOptional:R!=null}),R?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(k.push({paramName:"*"}),y+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):d?y+="\\/*$":a!==""&&a!=="/"&&(y+="(?:(?=\\/|$))"),[new RegExp(y,h?void 0:"i"),k]}function P_0(a){try{return a.split("/").map(h=>decodeURIComponent(h).replace(/\//g,"%2F")).join("/")}catch(h){return $$(!1,'The URL path "'+a+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+h+").")),a}}function C_(a,h){if(h==="/")return a;if(!a.toLowerCase().startsWith(h.toLowerCase()))return null;let d=h.endsWith("/")?h.length-1:h.length,k=a.charAt(d);return k&&k!=="/"?null:a.slice(d)||"/"}function Y_0(a,h){h===void 0&&(h="/");let{pathname:d,search:k="",hash:y=""}=typeof a=="string"?a3(a):a;return{pathname:d?d.startsWith("/")?d:V_0(d,h):h,search:J_0(k),hash:U_0(y)}}function V_0(a,h){let d=h.replace(/\/+$/,"").split("/");return a.split("/").forEach(y=>{y===".."?d.length>1&&d.pop():y!=="."&&d.push(y)}),d.length>1?d.join("/"):"/"}function EB(a,h,d,k){return"Cannot include a '"+a+"' character in a manually specified "+("`to."+h+"` field ["+JSON.stringify(k)+"]. Please separate it out to the ")+("`to."+d+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function O_0(a){return a.filter((h,d)=>d===0||h.route.path&&h.route.path.length>0)}function eK(a,h){let d=O_0(a);return h?d.map((k,y)=>y===a.length-1?k.pathname:k.pathnameBase):d.map(k=>k.pathnameBase)}function rK(a,h,d,k){k===void 0&&(k=!1);let y;typeof a=="string"?y=a3(a):(y=E6({},a),_i(!y.pathname||!y.pathname.includes("?"),EB("?","pathname","search",y)),_i(!y.pathname||!y.pathname.includes("#"),EB("#","pathname","hash",y)),_i(!y.search||!y.search.includes("#"),EB("#","search","hash",y)));let I=a===""||y.pathname==="",S=I?"/":y.pathname,G;if(S==null)G=d;else{let V=h.length-1;if(!k&&S.startsWith("..")){let e0=S.split("/");for(;e0[0]==="..";)e0.shift(),V-=1;y.pathname=e0.join("/")}G=V>=0?h[V]:"/"}let R=Y_0(y,G),M=S&&S!=="/"&&S.endsWith("/"),Q=(I||S===".")&&d.endsWith("/");return!R.pathname.endsWith("/")&&(M||Q)&&(R.pathname+="/"),R}const zu=a=>a.join("/").replace(/\/\/+/g,"/"),H_0=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),J_0=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,U_0=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;function X_0(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}const tK=["post","put","patch","delete"];new Set(tK);const q_0=["get",...tK];new Set(q_0);/** + * React Router v6.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function B6(){return B6=Object.assign?Object.assign.bind():function(a){for(var h=1;h{G.current=!0}),Q0.useCallback(function(M,Q){if(Q===void 0&&(Q={}),!G.current)return;if(typeof M=="number"){k.go(M);return}let V=rK(M,JSON.parse(S),I,Q.relative==="path");a==null&&h!=="/"&&(V.pathname=V.pathname==="/"?h:zu([h,V.pathname])),(Q.replace?k.replace:k.push)(V,Q.state,Q)},[h,k,S,I,a])}const ez0=Q0.createContext(null);function rz0(a){let h=Q0.useContext(Pu).outlet;return h&&Q0.createElement(ez0.Provider,{value:a},h)}function lK(a,h){let{relative:d}=h===void 0?{}:h,{future:k}=Q0.useContext(xc),{matches:y}=Q0.useContext(Pu),{pathname:I}=Jm(),S=JSON.stringify(eK(y,k.v7_relativeSplatPath));return Q0.useMemo(()=>rK(a,JSON.parse(S),I,d==="path"),[a,S,I,d])}function tz0(a,h){return iz0(a,h)}function iz0(a,h,d,k){J6()||_i(!1);let{navigator:y}=Q0.useContext(xc),{matches:I}=Q0.useContext(Pu),S=I[I.length-1],G=S?S.params:{};S&&S.pathname;let R=S?S.pathnameBase:"/";S&&S.route;let M=Jm(),Q;if(h){var V;let h0=typeof h=="string"?a3(h):h;R==="/"||(V=h0.pathname)!=null&&V.startsWith(R)||_i(!1),Q=h0}else Q=M;let e0=Q.pathname||"/",l0=e0;if(R!=="/"){let h0=R.replace(/^\//,"").split("/");l0="/"+e0.replace(/^\//,"").split("/").slice(h0.length).join("/")}let A0=z_0(a,{pathname:l0}),n0=Az0(A0&&A0.map(h0=>Object.assign({},h0,{params:Object.assign({},G,h0.params),pathname:zu([R,y.encodeLocation?y.encodeLocation(h0.pathname).pathname:h0.pathname]),pathnameBase:h0.pathnameBase==="/"?R:zu([R,y.encodeLocation?y.encodeLocation(h0.pathnameBase).pathname:h0.pathnameBase])})),I,d,k);return h&&n0?Q0.createElement(Hm.Provider,{value:{location:B6({pathname:"/",search:"",hash:"",state:null,key:"default"},Q),navigationType:vu.Pop}},n0):n0}function nz0(){let a=fz0(),h=X_0(a)?a.status+" "+a.statusText:a instanceof Error?a.message:JSON.stringify(a),d=a instanceof Error?a.stack:null,y={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},I=null;return Q0.createElement(Q0.Fragment,null,Q0.createElement("h2",null,"Unexpected Application Error!"),Q0.createElement("h3",{style:{fontStyle:"italic"}},h),d?Q0.createElement("pre",{style:y},d):null,I)}const oz0=Q0.createElement(nz0,null);class lz0 extends Q0.Component{constructor(h){super(h),this.state={location:h.location,revalidation:h.revalidation,error:h.error}}static getDerivedStateFromError(h){return{error:h}}static getDerivedStateFromProps(h,d){return d.location!==h.location||d.revalidation!=="idle"&&h.revalidation==="idle"?{error:h.error,location:h.location,revalidation:h.revalidation}:{error:h.error!==void 0?h.error:d.error,location:d.location,revalidation:h.revalidation||d.revalidation}}componentDidCatch(h,d){console.error("React Router caught the following error during render",h,d)}render(){return this.state.error!==void 0?Q0.createElement(Pu.Provider,{value:this.props.routeContext},Q0.createElement(iK.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function sz0(a){let{routeContext:h,match:d,children:k}=a,y=Q0.useContext(E_);return y&&y.static&&y.staticContext&&(d.route.errorElement||d.route.ErrorBoundary)&&(y.staticContext._deepestRenderedBoundaryId=d.route.id),Q0.createElement(Pu.Provider,{value:h},k)}function Az0(a,h,d,k){var y;if(h===void 0&&(h=[]),d===void 0&&(d=null),k===void 0&&(k=null),a==null){var I;if((I=d)!=null&&I.errors)a=d.matches;else return null}let S=a,G=(y=d)==null?void 0:y.errors;if(G!=null){let Q=S.findIndex(V=>V.route.id&&(G==null?void 0:G[V.route.id])!==void 0);Q>=0||_i(!1),S=S.slice(0,Math.min(S.length,Q+1))}let R=!1,M=-1;if(d&&k&&k.v7_partialHydration)for(let Q=0;Q=0?S=S.slice(0,M+1):S=[S[0]];break}}}return S.reduceRight((Q,V,e0)=>{let l0,A0=!1,n0=null,h0=null;d&&(l0=G&&V.route.id?G[V.route.id]:void 0,n0=V.route.errorElement||oz0,R&&(M<0&&e0===0?(wz0("route-fallback",!1),A0=!0,h0=null):M===e0&&(A0=!0,h0=V.route.hydrateFallbackElement||null)));let u0=h.concat(S.slice(0,e0+1)),c0=()=>{let f0;return l0?f0=n0:A0?f0=h0:V.route.Component?f0=Q0.createElement(V.route.Component,null):V.route.element?f0=V.route.element:f0=Q,Q0.createElement(sz0,{match:V,routeContext:{outlet:Q,matches:u0,isDataRoute:d!=null},children:f0})};return d&&(V.route.ErrorBoundary||V.route.errorElement||e0===0)?Q0.createElement(lz0,{location:d.location,revalidation:d.revalidation,component:n0,error:l0,children:c0(),routeContext:{outlet:null,matches:u0,isDataRoute:!0}}):c0()},null)}var sK=function(a){return a.UseBlocker="useBlocker",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a}(sK||{}),O5=function(a){return a.UseBlocker="useBlocker",a.UseLoaderData="useLoaderData",a.UseActionData="useActionData",a.UseRouteError="useRouteError",a.UseNavigation="useNavigation",a.UseRouteLoaderData="useRouteLoaderData",a.UseMatches="useMatches",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a.UseRouteId="useRouteId",a}(O5||{});function uz0(a){let h=Q0.useContext(E_);return h||_i(!1),h}function az0(a){let h=Q0.useContext($_0);return h||_i(!1),h}function cz0(a){let h=Q0.useContext(Pu);return h||_i(!1),h}function AK(a){let h=cz0(),d=h.matches[h.matches.length-1];return d.route.id||_i(!1),d.route.id}function fz0(){var a;let h=Q0.useContext(iK),d=az0(O5.UseRouteError),k=AK(O5.UseRouteError);return h!==void 0?h:(a=d.errors)==null?void 0:a[k]}function hz0(){let{router:a}=uz0(sK.UseNavigateStable),h=AK(O5.UseNavigateStable),d=Q0.useRef(!1);return nK(()=>{d.current=!0}),Q0.useCallback(function(y,I){I===void 0&&(I={}),d.current&&(typeof y=="number"?a.navigate(y):a.navigate(y,B6({fromRouteId:h},I)))},[a,h])}const fO={};function wz0(a,h,d){!h&&!fO[a]&&(fO[a]=!0)}function dz0(a){return rz0(a.context)}function Gt(a){_i(!1)}function pz0(a){let{basename:h="/",children:d=null,location:k,navigationType:y=vu.Pop,navigator:I,static:S=!1,future:G}=a;J6()&&_i(!1);let R=h.replace(/^\/*/,"/"),M=Q0.useMemo(()=>({basename:R,navigator:I,static:S,future:B6({v7_relativeSplatPath:!1},G)}),[R,G,I,S]);typeof k=="string"&&(k=a3(k));let{pathname:Q="/",search:V="",hash:e0="",state:l0=null,key:A0="default"}=k,n0=Q0.useMemo(()=>{let h0=C_(Q,R);return h0==null?null:{location:{pathname:h0,search:V,hash:e0,state:l0,key:A0},navigationType:y}},[R,Q,V,e0,l0,A0,y]);return n0==null?null:Q0.createElement(xc.Provider,{value:M},Q0.createElement(Hm.Provider,{children:d,value:n0}))}function kz0(a){let{children:h,location:d}=a;return tz0(Gx(h),d)}new Promise(()=>{});function Gx(a,h){h===void 0&&(h=[]);let d=[];return Q0.Children.forEach(a,(k,y)=>{if(!Q0.isValidElement(k))return;let I=[...h,y];if(k.type===Q0.Fragment){d.push.apply(d,Gx(k.props.children,I));return}k.type!==Gt&&_i(!1),!k.props.index||!k.props.children||_i(!1);let S={id:k.props.id||I.join("-"),caseSensitive:k.props.caseSensitive,element:k.props.element,Component:k.props.Component,index:k.props.index,path:k.props.path,loader:k.props.loader,action:k.props.action,errorElement:k.props.errorElement,ErrorBoundary:k.props.ErrorBoundary,hasErrorBoundary:k.props.ErrorBoundary!=null||k.props.errorElement!=null,shouldRevalidate:k.props.shouldRevalidate,handle:k.props.handle,lazy:k.props.lazy};k.props.children&&(S.children=Gx(k.props.children,I)),d.push(S)}),d}/** + * React Router DOM v6.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Zx(){return Zx=Object.assign?Object.assign.bind():function(a){for(var h=1;h=0)&&(d[y]=a[y]);return d}function mz0(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function gz0(a,h){return a.button===0&&(!h||h==="_self")&&!mz0(a)}const yz0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Cz0="6";try{window.__reactRouterVersion=Cz0}catch{}const Ez0="startTransition",hO=N4[Ez0];function Bz0(a){let{basename:h,children:d,future:k,window:y}=a,I=Q0.useRef();I.current==null&&(I.current=x_0({window:y,v5Compat:!0}));let S=I.current,[G,R]=Q0.useState({action:S.action,location:S.location}),{v7_startTransition:M}=k||{},Q=Q0.useCallback(V=>{M&&hO?hO(()=>R(V)):R(V)},[R,M]);return Q0.useLayoutEffect(()=>S.listen(Q),[S,Q]),Q0.createElement(pz0,{basename:h,children:d,location:G.location,navigationType:G.action,navigator:S,future:k})}const Iz0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xz0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dn=Q0.forwardRef(function(h,d){let{onClick:k,relative:y,reloadDocument:I,replace:S,state:G,target:R,to:M,preventScrollReset:Q,unstable_viewTransition:V}=h,e0=vz0(h,yz0),{basename:l0}=Q0.useContext(xc),A0,n0=!1;if(typeof M=="string"&&xz0.test(M)&&(A0=M,Iz0))try{let f0=new URL(window.location.href),y0=M.startsWith("//")?new URL(f0.protocol+M):new URL(M),C0=C_(y0.pathname,l0);y0.origin===f0.origin&&C0!=null?M=C0+y0.search+y0.hash:n0=!0}catch{}let h0=K_0(M,{relative:y}),u0=Sz0(M,{replace:S,state:G,target:R,preventScrollReset:Q,relative:y,unstable_viewTransition:V});function c0(f0){k&&k(f0),f0.defaultPrevented||u0(f0)}return Q0.createElement("a",Zx({},e0,{href:A0||h0,onClick:n0||I?k:c0,ref:d,target:R}))});var wO;(function(a){a.UseScrollRestoration="useScrollRestoration",a.UseSubmit="useSubmit",a.UseSubmitFetcher="useSubmitFetcher",a.UseFetcher="useFetcher",a.useViewTransitionState="useViewTransitionState"})(wO||(wO={}));var dO;(function(a){a.UseFetcher="useFetcher",a.UseFetchers="useFetchers",a.UseScrollRestoration="useScrollRestoration"})(dO||(dO={}));function Sz0(a,h){let{target:d,replace:k,state:y,preventScrollReset:I,relative:S,unstable_viewTransition:G}=h===void 0?{}:h,R=oK(),M=Jm(),Q=lK(a,{relative:S});return Q0.useCallback(V=>{if(gz0(V,d)){V.preventDefault();let e0=k!==void 0?k:V5(M)===V5(Q);R(a,{replace:e0,state:y,preventScrollReset:I,relative:S,unstable_viewTransition:G})}},[M,R,Q,k,y,d,a,I,S,G])}var uK={exports:{}},aK={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var H4=Q0;function _z0(a,h){return a===h&&(a!==0||1/a===1/h)||a!==a&&h!==h}var zz0=typeof Object.is=="function"?Object.is:_z0,Lz0=H4.useState,Rz0=H4.useEffect,Gz0=H4.useLayoutEffect,Zz0=H4.useDebugValue;function Wz0(a,h){var d=h(),k=Lz0({inst:{value:d,getSnapshot:h}}),y=k[0].inst,I=k[1];return Gz0(function(){y.value=d,y.getSnapshot=h,BB(y)&&I({inst:y})},[a,d,h]),Rz0(function(){return BB(y)&&I({inst:y}),a(function(){BB(y)&&I({inst:y})})},[a]),Zz0(d),d}function BB(a){var h=a.getSnapshot;a=a.value;try{var d=h();return!zz0(a,d)}catch{return!0}}function Dz0(a,h){return h()}var Mz0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Dz0:Wz0;aK.useSyncExternalStore=H4.useSyncExternalStore!==void 0?H4.useSyncExternalStore:Mz0;uK.exports=aK;var jz0=uK.exports,cK={exports:{}},fK={};/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Um=Q0,Nz0=jz0;function Qz0(a,h){return a===h&&(a!==0||1/a===1/h)||a!==a&&h!==h}var Tz0=typeof Object.is=="function"?Object.is:Qz0,Fz0=Nz0.useSyncExternalStore,Pz0=Um.useRef,Yz0=Um.useEffect,Vz0=Um.useMemo,Oz0=Um.useDebugValue;fK.useSyncExternalStoreWithSelector=function(a,h,d,k,y){var I=Pz0(null);if(I.current===null){var S={hasValue:!1,value:null};I.current=S}else S=I.current;I=Vz0(function(){function R(l0){if(!M){if(M=!0,Q=l0,l0=k(l0),y!==void 0&&S.hasValue){var A0=S.value;if(y(A0,l0))return V=A0}return V=l0}if(A0=V,Tz0(Q,l0))return A0;var n0=k(l0);return y!==void 0&&y(A0,n0)?A0:(Q=l0,V=n0)}var M=!1,Q,V,e0=d===void 0?null:d;return[function(){return R(h())},e0===null?void 0:function(){return R(e0())}]},[h,d,k,y]);var G=Fz0(a,I[0],I[1]);return Yz0(function(){S.hasValue=!0,S.value=G},[G]),Oz0(G),G};cK.exports=fK;var Hz0=cK.exports;function Jz0(a){a()}let hK=Jz0;const Uz0=a=>hK=a,Xz0=()=>hK,pO=Symbol.for("react-redux-context"),kO=typeof globalThis<"u"?globalThis:{};function qz0(){var a;if(!Q0.createContext)return{};const h=(a=kO[pO])!=null?a:kO[pO]=new Map;let d=h.get(Q0.createContext);return d||(d=Q0.createContext(null),h.set(Q0.createContext,d)),d}const Du=qz0();function B_(a=Du){return function(){return Q0.useContext(a)}}const wK=B_(),$z0=()=>{throw new Error("uSES not initialized!")};let dK=$z0;const Kz0=a=>{dK=a},bz0=(a,h)=>a===h;function eL0(a=Du){const h=a===Du?wK:B_(a);return function(k,y={}){const{equalityFn:I=bz0,stabilityCheck:S=void 0,noopCheck:G=void 0}=typeof y=="function"?{equalityFn:y}:y,{store:R,subscription:M,getServerState:Q,stabilityCheck:V,noopCheck:e0}=h();Q0.useRef(!0);const l0=Q0.useCallback({[k.name](n0){return k(n0)}}[k.name],[k,V,S]),A0=dK(M.addNestedSub,R.getState,Q||R.getState,l0,I);return Q0.useDebugValue(A0),A0}}const q2=eL0();function Le(){return Le=Object.assign?Object.assign.bind():function(a){for(var h=1;h=0)continue;d[k]=a[k]}return d}var pK={exports:{}},br={};/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var tn=typeof Symbol=="function"&&Symbol.for,I_=tn?Symbol.for("react.element"):60103,x_=tn?Symbol.for("react.portal"):60106,Xm=tn?Symbol.for("react.fragment"):60107,qm=tn?Symbol.for("react.strict_mode"):60108,$m=tn?Symbol.for("react.profiler"):60114,Km=tn?Symbol.for("react.provider"):60109,bm=tn?Symbol.for("react.context"):60110,S_=tn?Symbol.for("react.async_mode"):60111,eg=tn?Symbol.for("react.concurrent_mode"):60111,rg=tn?Symbol.for("react.forward_ref"):60112,tg=tn?Symbol.for("react.suspense"):60113,tL0=tn?Symbol.for("react.suspense_list"):60120,ig=tn?Symbol.for("react.memo"):60115,ng=tn?Symbol.for("react.lazy"):60116,iL0=tn?Symbol.for("react.block"):60121,nL0=tn?Symbol.for("react.fundamental"):60117,oL0=tn?Symbol.for("react.responder"):60118,lL0=tn?Symbol.for("react.scope"):60119;function to(a){if(typeof a=="object"&&a!==null){var h=a.$$typeof;switch(h){case I_:switch(a=a.type,a){case S_:case eg:case Xm:case $m:case qm:case tg:return a;default:switch(a=a&&a.$$typeof,a){case bm:case rg:case ng:case ig:case Km:return a;default:return h}}case x_:return h}}}function kK(a){return to(a)===eg}br.AsyncMode=S_;br.ConcurrentMode=eg;br.ContextConsumer=bm;br.ContextProvider=Km;br.Element=I_;br.ForwardRef=rg;br.Fragment=Xm;br.Lazy=ng;br.Memo=ig;br.Portal=x_;br.Profiler=$m;br.StrictMode=qm;br.Suspense=tg;br.isAsyncMode=function(a){return kK(a)||to(a)===S_};br.isConcurrentMode=kK;br.isContextConsumer=function(a){return to(a)===bm};br.isContextProvider=function(a){return to(a)===Km};br.isElement=function(a){return typeof a=="object"&&a!==null&&a.$$typeof===I_};br.isForwardRef=function(a){return to(a)===rg};br.isFragment=function(a){return to(a)===Xm};br.isLazy=function(a){return to(a)===ng};br.isMemo=function(a){return to(a)===ig};br.isPortal=function(a){return to(a)===x_};br.isProfiler=function(a){return to(a)===$m};br.isStrictMode=function(a){return to(a)===qm};br.isSuspense=function(a){return to(a)===tg};br.isValidElementType=function(a){return typeof a=="string"||typeof a=="function"||a===Xm||a===eg||a===$m||a===qm||a===tg||a===tL0||typeof a=="object"&&a!==null&&(a.$$typeof===ng||a.$$typeof===ig||a.$$typeof===Km||a.$$typeof===bm||a.$$typeof===rg||a.$$typeof===nL0||a.$$typeof===oL0||a.$$typeof===lL0||a.$$typeof===iL0)};br.typeOf=to;pK.exports=br;var sL0=pK.exports,vK=sL0,AL0={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},uL0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},mK={};mK[vK.ForwardRef]=AL0;mK[vK.Memo]=uL0;var gK={exports:{}},et={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var __=Symbol.for("react.element"),z_=Symbol.for("react.portal"),og=Symbol.for("react.fragment"),lg=Symbol.for("react.strict_mode"),sg=Symbol.for("react.profiler"),Ag=Symbol.for("react.provider"),ug=Symbol.for("react.context"),aL0=Symbol.for("react.server_context"),ag=Symbol.for("react.forward_ref"),cg=Symbol.for("react.suspense"),fg=Symbol.for("react.suspense_list"),hg=Symbol.for("react.memo"),wg=Symbol.for("react.lazy"),cL0=Symbol.for("react.offscreen"),yK;yK=Symbol.for("react.module.reference");function No(a){if(typeof a=="object"&&a!==null){var h=a.$$typeof;switch(h){case __:switch(a=a.type,a){case og:case sg:case lg:case cg:case fg:return a;default:switch(a=a&&a.$$typeof,a){case aL0:case ug:case ag:case wg:case hg:case Ag:return a;default:return h}}case z_:return h}}}et.ContextConsumer=ug;et.ContextProvider=Ag;et.Element=__;et.ForwardRef=ag;et.Fragment=og;et.Lazy=wg;et.Memo=hg;et.Portal=z_;et.Profiler=sg;et.StrictMode=lg;et.Suspense=cg;et.SuspenseList=fg;et.isAsyncMode=function(){return!1};et.isConcurrentMode=function(){return!1};et.isContextConsumer=function(a){return No(a)===ug};et.isContextProvider=function(a){return No(a)===Ag};et.isElement=function(a){return typeof a=="object"&&a!==null&&a.$$typeof===__};et.isForwardRef=function(a){return No(a)===ag};et.isFragment=function(a){return No(a)===og};et.isLazy=function(a){return No(a)===wg};et.isMemo=function(a){return No(a)===hg};et.isPortal=function(a){return No(a)===z_};et.isProfiler=function(a){return No(a)===sg};et.isStrictMode=function(a){return No(a)===lg};et.isSuspense=function(a){return No(a)===cg};et.isSuspenseList=function(a){return No(a)===fg};et.isValidElementType=function(a){return typeof a=="string"||typeof a=="function"||a===og||a===sg||a===lg||a===cg||a===fg||a===cL0||typeof a=="object"&&a!==null&&(a.$$typeof===wg||a.$$typeof===hg||a.$$typeof===Ag||a.$$typeof===ug||a.$$typeof===ag||a.$$typeof===yK||a.getModuleId!==void 0)};et.typeOf=No;gK.exports=et;var vO=gK.exports;function fL0(){const a=Xz0();let h=null,d=null;return{clear(){h=null,d=null},notify(){a(()=>{let k=h;for(;k;)k.callback(),k=k.next})},get(){let k=[],y=h;for(;y;)k.push(y),y=y.next;return k},subscribe(k){let y=!0,I=d={callback:k,next:null,prev:d};return I.prev?I.prev.next=I:h=I,function(){!y||h===null||(y=!1,I.next?I.next.prev=I.prev:d=I.prev,I.prev?I.prev.next=I.next:h=I.next)}}}}const mO={notify(){},get:()=>[]};function hL0(a,h){let d,k=mO,y=0,I=!1;function S(n0){Q();const h0=k.subscribe(n0);let u0=!1;return()=>{u0||(u0=!0,h0(),V())}}function G(){k.notify()}function R(){A0.onStateChange&&A0.onStateChange()}function M(){return I}function Q(){y++,d||(d=h?h.addNestedSub(R):a.subscribe(R),k=fL0())}function V(){y--,d&&y===0&&(d(),d=void 0,k.clear(),k=mO)}function e0(){I||(I=!0,Q())}function l0(){I&&(I=!1,V())}const A0={addNestedSub:S,notifyNestedSubs:G,handleChangeWrapper:R,isSubscribed:M,trySubscribe:e0,tryUnsubscribe:l0,getListeners:()=>k};return A0}const wL0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dL0=wL0?Q0.useLayoutEffect:Q0.useEffect;function pL0({store:a,context:h,children:d,serverState:k,stabilityCheck:y="once",noopCheck:I="once"}){const S=Q0.useMemo(()=>{const M=hL0(a);return{store:a,subscription:M,getServerState:k?()=>k:void 0,stabilityCheck:y,noopCheck:I}},[a,k,y,I]),G=Q0.useMemo(()=>a.getState(),[a]);dL0(()=>{const{subscription:M}=S;return M.onStateChange=M.notifyNestedSubs,M.trySubscribe(),G!==a.getState()&&M.notifyNestedSubs(),()=>{M.tryUnsubscribe(),M.onStateChange=void 0}},[S,G]);const R=h||Du;return Q0.createElement(R.Provider,{value:S},d)}function CK(a=Du){const h=a===Du?wK:B_(a);return function(){const{store:k}=h();return k}}const kL0=CK();function vL0(a=Du){const h=a===Du?kL0:CK(a);return function(){return h().dispatch}}const c3=vL0();Kz0(Hz0.useSyncExternalStoreWithSelector);Uz0(H6.unstable_batchedUpdates);function al(a){for(var h=arguments.length,d=Array(h>1?h-1:0),k=1;k3?h.i-4:h.i:Array.isArray(a)?1:L_(a)?2:R_(a)?3:0}function R4(a,h){return f3(a)===2?a.has(h):Object.prototype.hasOwnProperty.call(a,h)}function mL0(a,h){return f3(a)===2?a.get(h):a[h]}function EK(a,h,d){var k=f3(a);k===2?a.set(h,d):k===3?a.add(d):a[h]=d}function BK(a,h){return a===h?a!==0||1/a==1/h:a!=a&&h!=h}function L_(a){return IL0&&a instanceof Map}function R_(a){return xL0&&a instanceof Set}function qa(a){return a.o||a.t}function G_(a){if(Array.isArray(a))return Array.prototype.slice.call(a);var h=xK(a);delete h[Tt];for(var d=G4(h),k=0;k1&&(a.set=a.add=a.clear=a.delete=gL0),Object.freeze(a),h&&pc(a,function(d,k){return Z_(k,!0)},!0)),a}function gL0(){al(2)}function W_(a){return a==null||typeof a!="object"||Object.isFrozen(a)}function ns(a){var h=jx[a];return h||al(18,a),h}function yL0(a,h){jx[a]||(jx[a]=h)}function Wx(){return I6}function IB(a,h){h&&(ns("Patches"),a.u=[],a.s=[],a.v=h)}function H5(a){Dx(a),a.p.forEach(CL0),a.p=null}function Dx(a){a===I6&&(I6=a.l)}function gO(a){return I6={p:[],l:I6,h:a,m:!0,_:0}}function CL0(a){var h=a[Tt];h.i===0||h.i===1?h.j():h.g=!0}function xB(a,h){h._=h.p.length;var d=h.p[0],k=a!==void 0&&a!==d;return h.h.O||ns("ES5").S(h,a,k),k?(d[Tt].P&&(H5(h),al(4)),bs(a)&&(a=J5(h,a),h.l||U5(h,a)),h.u&&ns("Patches").M(d[Tt].t,a,h.u,h.s)):a=J5(h,d,[]),H5(h),h.u&&h.v(h.u,h.s),a!==IK?a:void 0}function J5(a,h,d){if(W_(h))return h;var k=h[Tt];if(!k)return pc(h,function(G,R){return yO(a,k,h,G,R,d)},!0),h;if(k.A!==a)return h;if(!k.P)return U5(a,k.t,!0),k.t;if(!k.I){k.I=!0,k.A._--;var y=k.i===4||k.i===5?k.o=G_(k.k):k.o,I=y,S=!1;k.i===3&&(I=new Set(y),y.clear(),S=!0),pc(I,function(G,R){return yO(a,k,y,G,R,d,S)}),U5(a,y,!1),d&&a.u&&ns("Patches").N(k,d,a.u,a.s)}return k.o}function yO(a,h,d,k,y,I,S){if(Mu(y)){var G=J5(a,y,I&&h&&h.i!==3&&!R4(h.R,k)?I.concat(k):void 0);if(EK(d,k,G),!Mu(G))return;a.m=!1}else S&&d.add(y);if(bs(y)&&!W_(y)){if(!a.h.D&&a._<1)return;J5(a,y),h&&h.A.l||U5(a,y)}}function U5(a,h,d){d===void 0&&(d=!1),!a.l&&a.h.D&&a.m&&Z_(h,d)}function SB(a,h){var d=a[Tt];return(d?qa(d):a)[h]}function CO(a,h){if(h in a)for(var d=Object.getPrototypeOf(a);d;){var k=Object.getOwnPropertyDescriptor(d,h);if(k)return k;d=Object.getPrototypeOf(d)}}function du(a){a.P||(a.P=!0,a.l&&du(a.l))}function _B(a){a.o||(a.o=G_(a.t))}function Mx(a,h,d){var k=L_(h)?ns("MapSet").F(h,d):R_(h)?ns("MapSet").T(h,d):a.O?function(y,I){var S=Array.isArray(y),G={i:S?1:0,A:I?I.A:Wx(),P:!1,I:!1,R:{},l:I,t:y,k:null,o:null,j:null,C:!1},R=G,M=x6;S&&(R=[G],M=M8);var Q=Proxy.revocable(R,M),V=Q.revoke,e0=Q.proxy;return G.k=e0,G.j=V,e0}(h,d):ns("ES5").J(h,d);return(d?d.A:Wx()).p.push(k),k}function EL0(a){return Mu(a)||al(22,a),function h(d){if(!bs(d))return d;var k,y=d[Tt],I=f3(d);if(y){if(!y.P&&(y.i<4||!ns("ES5").K(y)))return y.t;y.I=!0,k=EO(d,I),y.I=!1}else k=EO(d,I);return pc(k,function(S,G){y&&mL0(y.t,S)===G||EK(k,S,h(G))}),I===3?new Set(k):k}(a)}function EO(a,h){switch(h){case 2:return new Map(a);case 3:return Array.from(a)}return G_(a)}function BL0(){function a(I,S){var G=y[I];return G?G.enumerable=S:y[I]=G={configurable:!0,enumerable:S,get:function(){var R=this[Tt];return x6.get(R,I)},set:function(R){var M=this[Tt];x6.set(M,I,R)}},G}function h(I){for(var S=I.length-1;S>=0;S--){var G=I[S][Tt];if(!G.P)switch(G.i){case 5:k(G)&&du(G);break;case 4:d(G)&&du(G)}}}function d(I){for(var S=I.t,G=I.k,R=G4(G),M=R.length-1;M>=0;M--){var Q=R[M];if(Q!==Tt){var V=S[Q];if(V===void 0&&!R4(S,Q))return!0;var e0=G[Q],l0=e0&&e0[Tt];if(l0?l0.t!==V:!BK(e0,V))return!0}}var A0=!!S[Tt];return R.length!==G4(S).length+(A0?0:1)}function k(I){var S=I.k;if(S.length!==I.t.length)return!0;var G=Object.getOwnPropertyDescriptor(S,S.length-1);if(G&&!G.get)return!0;for(var R=0;R1?u0-1:0),f0=1;f01?Q-1:0),e0=1;e0=0;y--){var I=k[y];if(I.path.length===0&&I.op==="replace"){d=I.value;break}}y>-1&&(k=k.slice(y+1));var S=ns("Patches").$;return Mu(d)?S(d,k):this.produce(d,function(G){return S(G,k)})},a}(),b1=new _L0,SK=b1.produce;b1.produceWithPatches.bind(b1);b1.setAutoFreeze.bind(b1);b1.setUseProxies.bind(b1);b1.applyPatches.bind(b1);b1.createDraft.bind(b1);b1.finishDraft.bind(b1);function J4(a){"@babel/helpers - typeof";return J4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},J4(a)}function zL0(a,h){if(J4(a)!="object"||!a)return a;var d=a[Symbol.toPrimitive];if(d!==void 0){var k=d.call(a,h||"default");if(J4(k)!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(a)}function _K(a){var h=zL0(a,"string");return J4(h)=="symbol"?h:h+""}function Ae(a,h,d){return h=_K(h),h in a?Object.defineProperty(a,h,{value:d,enumerable:!0,configurable:!0,writable:!0}):a[h]=d,a}function SO(a,h){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(a);h&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(a,y).enumerable})),d.push.apply(d,k)}return d}function _O(a){for(var h=1;h"u"&&(d=h,h=void 0),typeof d<"u"){if(typeof d!="function")throw new Error(Nn(1));return d(M_)(a,h)}if(typeof a!="function")throw new Error(Nn(2));var y=a,I=h,S=[],G=S,R=!1;function M(){G===S&&(G=S.slice())}function Q(){if(R)throw new Error(Nn(3));return I}function V(n0){if(typeof n0!="function")throw new Error(Nn(4));if(R)throw new Error(Nn(5));var h0=!0;return M(),G.push(n0),function(){if(h0){if(R)throw new Error(Nn(6));h0=!1,M();var c0=G.indexOf(n0);G.splice(c0,1),S=null}}}function e0(n0){if(!LL0(n0))throw new Error(Nn(7));if(typeof n0.type>"u")throw new Error(Nn(8));if(R)throw new Error(Nn(9));try{R=!0,I=y(I,n0)}finally{R=!1}for(var h0=S=G,u0=0;u0"u")throw new Error(Nn(12));if(typeof d(void 0,{type:X5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Nn(13))})}function zK(a){for(var h=Object.keys(a),d={},k=0;k"u")throw M&&M.type,new Error(Nn(14));V[l0]=h0,Q=Q||h0!==n0}return Q=Q||I.length!==Object.keys(R).length,Q?V:R}}function q5(){for(var a=arguments.length,h=new Array(a),d=0;d-1){var M=d[R];return R>0&&(d.splice(R,1),d.unshift(M)),M.value}return $5}function y(G,R){k(G)===$5&&(d.unshift({key:G,value:R}),d.length>a&&d.pop())}function I(){return d}function S(){d=[]}return{get:k,put:y,getEntries:I,clear:S}}var DL0=function(h,d){return h===d};function ML0(a){return function(d,k){if(d===null||k===null||d.length!==k.length)return!1;for(var y=d.length,I=0;I1?h-1:0),k=1;k0&&I[I.length-1])&&(M[0]===6||M[0]===2)){d=0;continue}if(M[0]===3&&(!I||M[1]>I[0]&&M[1]{let d=a.sessions.findIndex(k=>k.pin===h.payload.pin);d!==-1?a.sessions[d]=h.payload:a.sessions.push(h.payload),a.activeSessionPin=h.payload.pin},updateNodesInfoInCurrentSession:(a,h)=>{let d=a.sessions.findIndex(k=>k.pin===a.activeSessionPin);d!==-1&&(a.sessions[d].nodes=h.payload,h.payload.length>0&&(a.activeNodeId=h.payload[0].id))},setActiveSessionPin:(a,h)=>{a.activeSessionPin=h.payload,a.activeNodeId=""},setActiveNodeId:(a,h)=>{a.activeNodeId=h.payload},addOrUpdateNodeVersion:(a,h)=>{let d=a.nodeVersions.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.nodeVersions[d]=h.payload:a.nodeVersions.push(h.payload)},addOrUpdateNodeFlags:(a,h)=>{let d=a.flags.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.flags[d]=h.payload:a.flags.push(h.payload)},addOrUpdateCmdLineArgs:(a,h)=>{let d=a.cmdLineArgs.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.cmdLineArgs[d]=h.payload:a.cmdLineArgs.push(h.payload)},addOrUpdateNodeLogs:(a,h)=>{let d=a.nodeLogs.findIndex(k=>k.nodeId===a.activeNodeId);d!==-1?a.nodeLogs[d]=h.payload:a.nodeLogs.push(h.payload)},addOrUpdateSyncStages:(a,h)=>{let d=a.syncStages.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.syncStages[d]=h.payload:a.syncStages.push(h.payload)},setLogWithNameSelected:(a,h)=>{let d=a.nodeLogs.findIndex(k=>k.nodeId===a.activeNodeId);if(d!==-1){a.nodeLogs[d].logFiles.forEach(y=>{y.selected=!1});let k=a.nodeLogs[d].logFiles.findIndex(y=>y.name===h.payload);k!==-1&&(a.nodeLogs[d].logFiles[k].selected=!0)}},addOrUpdateDBs:(a,h)=>{let d=a.dbs.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.dbs[d]=h.payload:a.dbs.push(h.payload)},addOrUpdateDBTable:(a,h)=>{let d=a.dbs.findIndex(k=>k.nodeId===h.payload.nodeId);if(d!==-1){let k=a.dbs[d].dbs.findIndex(y=>y.path===h.payload.path);k!==-1?(a.dbs[d].dbs[k].tables=h.payload.tables,a.dbs[d].dbs[k].keysCount=h.payload.keysCount,a.dbs[d].dbs[k].size=h.payload.size):a.dbs[d].dbs.push({path:h.payload.path,tables:h.payload.tables,keysCount:h.payload.keysCount,size:h.payload.size})}},addOrUpdateReorg:(a,h)=>{let d=a.reorgs.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.reorgs[d]=h.payload:a.reorgs.push(h.payload)},resetAppStateToMockState:a=>{a.sessions=[],a.activeSession=null,a.activeSessionPin="",a.activeNodeId="",a.nodeVersions=[],a.flags=[],a.cmdLineArgs=[],a.nodeLogs=[],a.syncStages=[],a.dbs=[],a.reorgs=[]}}}),{addOrUpdateSession:Qx,updateNodesInfoInCurrentSession:DK,setActiveSessionPin:fR0,setActiveNodeId:hR0,addOrUpdateNodeVersion:wR0,addOrUpdateNodeFlags:dR0,addOrUpdateCmdLineArgs:pR0,addOrUpdateNodeLogs:kR0,addOrUpdateSyncStages:vR0,setLogWithNameSelected:mR0,addOrUpdateDBs:gR0,addOrUpdateDBTable:yR0,addOrUpdateReorg:CR0,resetAppStateToMockState:ER0}=WK.actions,MK=a=>a.app.sessions,N_=a=>a.app.activeSessionPin,Hr=a=>a.app.activeNodeId,jK=a=>a.app.nodeVersions,BR0=a=>a.app.flags,IR0=a=>a.app.cmdLineArgs,xR0=a=>a.app.nodeLogs,SR0=a=>a.app.syncStages,_R0=a=>a.app.dbs,zR0=a=>a.app.reorgs,Q_=ar([MK,N_],(a,h)=>{let d=null;return h!=""&&a.forEach(k=>{k.pin===h&&(d=k)}),d}),T_=ar([Q_],a=>{let h=[];return a!=null&&(h=a.nodes),h}),LR0=ar([MK,N_],(a,h)=>{let d=[];return h!=""&&a.forEach(k=>{d.push({pin:k.pin,name:k.name,active:k.pin===h})}),d}),RR0=ar([T_,Hr],(a,h)=>{let d;return a.forEach(k=>{k.id===h&&(d=k)}),d}),GR0=ar([T_,Hr,jK],(a,h,d)=>{let k=null;return a.forEach(y=>{if(y.id===h){let I="";d.forEach(S=>{S.nodeId===y.id&&(I=S.version.nodeVersion)}),k={active:!0,name:y.name,id:y.id,version:I,chain:y.protocols.eth.config.ChainName,block:y.protocols.eth.config.londonBlock,address:""}}}),k}),ZR0=ar([T_,Hr,jK],(a,h,d)=>{let k=[];return a.forEach(y=>{let I="";d.forEach(S=>{S.nodeId===y.id&&(I=S.version.nodeVersion)}),k.push({active:y.id===h,name:y.name,id:y.id,version:I,chain:y.protocols.eth.config.ChainName,block:y.protocols.eth.config.londonBlock,address:""})}),k}),NK=ar([BR0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.flags)}),d}),WR0=ar([IR0,Hr],(a,h)=>{let d="";return a.forEach(k=>{k.nodeId===h&&(d=k.args)}),d}),DR0=ar([xR0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.logFiles)}),d}),MR0=ar([SR0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.syncStages)}),d}),F_=ar([_R0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.dbs)}),d}),jR0=ar([zR0,Hr],(a,h)=>{let d;return a.forEach(k=>{k.nodeId===h&&(d=k)}),d}),NR0=()=>ar([F_,(a,h)=>h],(a,h)=>{let d={path:h,tables:[],keysCount:0,size:0};return a.forEach(k=>{k.path===h&&(d=k)}),d}),QR0=WK.reducer,GB=({tab:a,selectedTab:h,testId:d,onButtonClicked:k})=>{const y=I=>{let S="px-4 py-2 text-sm font-medium border-blue-600 hover:bg-blue-700 hover:text-white";const G="bg-blue-600 text-white",R="bg-white text-blue-600 outline-top",M="border-l border-r border-t border-b rounded-tl-md rounded-bl-md",Q="border-r border-t border-b rounded-tr-md rounded-br-md",V="border-r border-t border-b";return I===Ux.Command?S=S+" "+M:I===Ux.NodeInfo?S=S+" "+Q:S=S+" "+V,I===h?S+" "+G:S+" "+R};return J.jsx("button",{className:y(a),onClick:()=>{k(a)},"data-testid":d,children:a})},TR0=({cmdLine:a})=>a===void 0?null:J.jsx("div",{className:"flex flex-col",children:J.jsx("span",{className:"mb-2",children:a})}),FR0=({flag:a})=>{function h(y){return y&&typeof y=="object"&&y.constructor===Array}const d=y=>h(y)?k(y):J.jsx("td",{className:"px-4 py-2",children:String(y)}),k=y=>{let I="";return y.forEach((S,G)=>{G{const I=y.target,S=a.usage;S&&I.setAttribute("title",S)},children:[J.jsx("td",{className:"px-4 py-2",children:a.flag}),d(a.value),J.jsx("td",{className:"px-4 py-2",children:String(a.default)})]},a.flag)};var P_={},QK={exports:{}};(function(a){function h(d){return d&&d.__esModule?d:{default:d}}a.exports=h,a.exports.__esModule=!0,a.exports.default=a.exports})(QK);var Qr=QK.exports,ZB={};function Ts(a){if(typeof a!="object"||a===null)return!1;const h=Object.getPrototypeOf(a);return(h===null||h===Object.prototype||Object.getPrototypeOf(h)===null)&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)}function TK(a){if(!Ts(a))return a;const h={};return Object.keys(a).forEach(d=>{h[d]=TK(a[d])}),h}function Ro(a,h,d={clone:!0}){const k=d.clone?Le({},a):a;return Ts(a)&&Ts(h)&&Object.keys(h).forEach(y=>{y!=="__proto__"&&(Ts(h[y])&&y in a&&Ts(a[y])?k[y]=Ro(a[y],h[y],d):d.clone?k[y]=Ts(h[y])?TK(h[y]):h[y]:k[y]=h[y])}),k}const PR0=Object.freeze(Object.defineProperty({__proto__:null,default:Ro,isPlainObject:Ts},Symbol.toStringTag,{value:"Module"}));var WB={exports:{}},DB,DO;function YR0(){if(DO)return DB;DO=1;var a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return DB=a,DB}var MB,MO;function VR0(){if(MO)return MB;MO=1;var a=YR0();function h(){}function d(){}return d.resetWarningCache=h,MB=function(){function k(S,G,R,M,Q,V){if(V!==a){var e0=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw e0.name="Invariant Violation",e0}}k.isRequired=k;function y(){return k}var I={array:k,bigint:k,bool:k,func:k,number:k,object:k,string:k,symbol:k,any:k,arrayOf:y,element:k,elementType:k,instanceOf:y,node:k,objectOf:y,oneOf:y,oneOfType:y,shape:y,exact:y,checkPropTypes:d,resetWarningCache:h};return I.PropTypes=I,I},MB}var jO;function FK(){return jO||(jO=1,WB.exports=VR0()()),WB.exports}var Co=FK();function S6(a){let h="https://mui.com/production-error/?code="+a;for(let d=1;dd==null?h:function(...y){h.apply(this,y),d.apply(this,y)},()=>{})}function $R0(a,h=166){let d;function k(...y){const I=()=>{a.apply(this,y)};clearTimeout(d),d=setTimeout(I,h)}return k.clear=()=>{clearTimeout(d)},k}function KR0(a,h){return()=>null}function bR0(a,h){var d,k;return Q0.isValidElement(a)&&h.indexOf((d=a.type.muiName)!=null?d:(k=a.type)==null||(k=k._payload)==null||(k=k.value)==null?void 0:k.muiName)!==-1}function VK(a){return a&&a.ownerDocument||document}function eG0(a){return VK(a).defaultView||window}function rG0(a,h){return()=>null}function OK(a,h){typeof a=="function"?a(h):a&&(a.current=h)}const tG0=typeof window<"u"?Q0.useLayoutEffect:Q0.useEffect,HK=tG0;let QO=0;function iG0(a){const[h,d]=Q0.useState(a),k=a||h;return Q0.useEffect(()=>{h==null&&(QO+=1,d(`mui-${QO}`))},[h]),k}const TO=N4["useId".toString()];function nG0(a){if(TO!==void 0){const h=TO();return a??h}return iG0(a)}function oG0(a,h,d,k,y){return null}function JK({controlled:a,default:h,name:d,state:k="value"}){const{current:y}=Q0.useRef(a!==void 0),[I,S]=Q0.useState(h),G=y?a:I,R=Q0.useCallback(M=>{y||S(M)},[]);return[G,R]}function j8(a){const h=Q0.useRef(a);return HK(()=>{h.current=a}),Q0.useRef((...d)=>(0,h.current)(...d)).current}function K5(...a){return Q0.useMemo(()=>a.every(h=>h==null)?null:h=>{a.forEach(d=>{OK(d,h)})},a)}const FO={};function lG0(a,h){const d=Q0.useRef(FO);return d.current===FO&&(d.current=a(h)),d}const sG0=[];function AG0(a){Q0.useEffect(a,sG0)}class dg{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new dg}start(h,d){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,d()},h)}}function uG0(){const a=lG0(dg.create).current;return AG0(a.disposeEffect),a}let pg=!0,Tx=!1;const aG0=new dg,cG0={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function fG0(a){const{type:h,tagName:d}=a;return!!(d==="INPUT"&&cG0[h]&&!a.readOnly||d==="TEXTAREA"&&!a.readOnly||a.isContentEditable)}function hG0(a){a.metaKey||a.altKey||a.ctrlKey||(pg=!0)}function jB(){pg=!1}function wG0(){this.visibilityState==="hidden"&&Tx&&(pg=!0)}function dG0(a){a.addEventListener("keydown",hG0,!0),a.addEventListener("mousedown",jB,!0),a.addEventListener("pointerdown",jB,!0),a.addEventListener("touchstart",jB,!0),a.addEventListener("visibilitychange",wG0,!0)}function pG0(a){const{target:h}=a;try{return h.matches(":focus-visible")}catch{}return pg||fG0(h)}function UK(){const a=Q0.useCallback(y=>{y!=null&&dG0(y.ownerDocument)},[]),h=Q0.useRef(!1);function d(){return h.current?(Tx=!0,aG0.start(100,()=>{Tx=!1}),h.current=!1,!0):!1}function k(y){return pG0(y)?(h.current=!0,!0):!1}return{isFocusVisibleRef:h,onFocus:k,onBlur:d,ref:a}}function Y_(a,h){const d=Le({},h);return Object.keys(a).forEach(k=>{if(k.toString().match(/^(components|slots)$/))d[k]=Le({},a[k],d[k]);else if(k.toString().match(/^(componentsProps|slotProps)$/)){const y=a[k]||{},I=h[k];d[k]={},!I||!Object.keys(I)?d[k]=y:!y||!Object.keys(y)?d[k]=I:(d[k]=Le({},I),Object.keys(y).forEach(S=>{d[k][S]=Y_(y[S],I[S])}))}else d[k]===void 0&&(d[k]=a[k])}),d}function Qo(a,h,d=void 0){const k={};return Object.keys(a).forEach(y=>{k[y]=a[y].reduce((I,S)=>{if(S){const G=h(S);G!==""&&I.push(G),d&&d[S]&&I.push(d[S])}return I},[]).join(" ")}),k}const PO=a=>a,kG0=()=>{let a=PO;return{configure(h){a=h},generate(h){return a(h)},reset(){a=PO}}},vG0=kG0(),XK=vG0,mG0={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function io(a,h,d="Mui"){const k=mG0[h];return k?`${d}-${k}`:`${XK.generate(a)}-${h}`}function To(a,h,d="Mui"){const k={};return h.forEach(y=>{k[y]=io(a,y,d)}),k}function gG0(a,h=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER){return Math.max(h,Math.min(a,d))}const yG0=Object.freeze(Object.defineProperty({__proto__:null,default:gG0},Symbol.toStringTag,{value:"Module"}));function qK(a){var h,d,k="";if(typeof a=="string"||typeof a=="number")k+=a;else if(typeof a=="object")if(Array.isArray(a)){var y=a.length;for(h=0;h{const h=Object.keys(a).map(d=>({key:d,val:a[d]}))||[];return h.sort((d,k)=>d.val-k.val),h.reduce((d,k)=>Le({},d,{[k.key]:k.val}),{})};function $K(a){const{values:h={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:d="px",step:k=5}=a,y=At(a,EG0),I=BG0(h),S=Object.keys(I);function G(e0){return`@media (min-width:${typeof h[e0]=="number"?h[e0]:e0}${d})`}function R(e0){return`@media (max-width:${(typeof h[e0]=="number"?h[e0]:e0)-k/100}${d})`}function M(e0,l0){const A0=S.indexOf(l0);return`@media (min-width:${typeof h[e0]=="number"?h[e0]:e0}${d}) and (max-width:${(A0!==-1&&typeof h[S[A0]]=="number"?h[S[A0]]:l0)-k/100}${d})`}function Q(e0){return S.indexOf(e0)+1`@media (min-width:${V_[a]}px)`};function wl(a,h,d){const k=a.theme||{};if(Array.isArray(h)){const I=k.breakpoints||YO;return h.reduce((S,G,R)=>(S[I.up(I.keys[R])]=d(h[R]),S),{})}if(typeof h=="object"){const I=k.breakpoints||YO;return Object.keys(h).reduce((S,G)=>{if(Object.keys(I.values||V_).indexOf(G)!==-1){const R=I.up(G);S[R]=d(h[G],G)}else{const R=G;S[R]=h[R]}return S},{})}return d(h)}function KK(a={}){var h;return((h=a.keys)==null?void 0:h.reduce((k,y)=>{const I=a.up(y);return k[I]={},k},{}))||{}}function bK(a,h){return a.reduce((d,k)=>{const y=d[k];return(!y||Object.keys(y).length===0)&&delete d[k],d},h)}function SG0(a,...h){const d=KK(a),k=[d,...h].reduce((y,I)=>Ro(y,I),{});return bK(Object.keys(d),k)}function _G0(a,h){if(typeof a!="object")return{};const d={},k=Object.keys(h);return Array.isArray(a)?k.forEach((y,I)=>{I{a[y]!=null&&(d[y]=!0)}),d}function NB({values:a,breakpoints:h,base:d}){const k=d||_G0(a,h),y=Object.keys(k);if(y.length===0)return a;let I;return y.reduce((S,G,R)=>(Array.isArray(a)?(S[G]=a[R]!=null?a[R]:a[I],I=R):typeof a=="object"?(S[G]=a[G]!=null?a[G]:a[I],I=G):S[G]=a,S),{})}function kg(a,h,d=!0){if(!h||typeof h!="string")return null;if(a&&a.vars&&d){const k=`vars.${h}`.split(".").reduce((y,I)=>y&&y[I]?y[I]:null,a);if(k!=null)return k}return h.split(".").reduce((k,y)=>k&&k[y]!=null?k[y]:null,a)}function b5(a,h,d,k=d){let y;return typeof a=="function"?y=a(d):Array.isArray(a)?y=a[d]||k:y=kg(a,d)||k,h&&(y=h(y,k,a)),y}function wi(a){const{prop:h,cssProperty:d=a.prop,themeKey:k,transform:y}=a,I=S=>{if(S[h]==null)return null;const G=S[h],R=S.theme,M=kg(R,k)||{};return wl(S,G,V=>{let e0=b5(M,y,V);return V===e0&&typeof V=="string"&&(e0=b5(M,y,`${h}${V==="default"?"":K2(V)}`,V)),d===!1?e0:{[d]:e0}})};return I.propTypes={},I.filterProps=[h],I}function zG0(a){const h={};return d=>(h[d]===void 0&&(h[d]=a(d)),h[d])}const LG0={m:"margin",p:"padding"},RG0={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},VO={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},GG0=zG0(a=>{if(a.length>2)if(VO[a])a=VO[a];else return[a];const[h,d]=a.split(""),k=LG0[h],y=RG0[d]||"";return Array.isArray(y)?y.map(I=>k+I):[k+y]}),O_=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],H_=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...O_,...H_];function U6(a,h,d,k){var y;const I=(y=kg(a,h,!1))!=null?y:d;return typeof I=="number"?S=>typeof S=="string"?S:I*S:Array.isArray(I)?S=>typeof S=="string"?S:I[S]:typeof I=="function"?I:()=>{}}function J_(a){return U6(a,"spacing",8)}function kc(a,h){if(typeof h=="string"||h==null)return h;const d=Math.abs(h),k=a(d);return h>=0?k:typeof k=="number"?-k:`-${k}`}function ZG0(a,h){return d=>a.reduce((k,y)=>(k[y]=kc(h,d),k),{})}function WG0(a,h,d,k){if(h.indexOf(d)===-1)return null;const y=GG0(d),I=ZG0(y,k),S=a[d];return wl(a,S,I)}function eb(a,h){const d=J_(a.theme);return Object.keys(a).map(k=>WG0(a,h,k,d)).reduce(r6,{})}function ti(a){return eb(a,O_)}ti.propTypes={};ti.filterProps=O_;function ii(a){return eb(a,H_)}ii.propTypes={};ii.filterProps=H_;function DG0(a=8){if(a.mui)return a;const h=J_({spacing:a}),d=(...k)=>(k.length===0?[1]:k).map(I=>{const S=h(I);return typeof S=="number"?`${S}px`:S}).join(" ");return d.mui=!0,d}function vg(...a){const h=a.reduce((k,y)=>(y.filterProps.forEach(I=>{k[I]=y}),k),{}),d=k=>Object.keys(k).reduce((y,I)=>h[I]?r6(y,h[I](k)):y,{});return d.propTypes={},d.filterProps=a.reduce((k,y)=>k.concat(y.filterProps),[]),d}function _o(a){return typeof a!="number"?a:`${a}px solid`}function Fo(a,h){return wi({prop:a,themeKey:"borders",transform:h})}const MG0=Fo("border",_o),jG0=Fo("borderTop",_o),NG0=Fo("borderRight",_o),QG0=Fo("borderBottom",_o),TG0=Fo("borderLeft",_o),FG0=Fo("borderColor"),PG0=Fo("borderTopColor"),YG0=Fo("borderRightColor"),VG0=Fo("borderBottomColor"),OG0=Fo("borderLeftColor"),HG0=Fo("outline",_o),JG0=Fo("outlineColor"),mg=a=>{if(a.borderRadius!==void 0&&a.borderRadius!==null){const h=U6(a.theme,"shape.borderRadius",4),d=k=>({borderRadius:kc(h,k)});return wl(a,a.borderRadius,d)}return null};mg.propTypes={};mg.filterProps=["borderRadius"];vg(MG0,jG0,NG0,QG0,TG0,FG0,PG0,YG0,VG0,OG0,mg,HG0,JG0);const gg=a=>{if(a.gap!==void 0&&a.gap!==null){const h=U6(a.theme,"spacing",8),d=k=>({gap:kc(h,k)});return wl(a,a.gap,d)}return null};gg.propTypes={};gg.filterProps=["gap"];const yg=a=>{if(a.columnGap!==void 0&&a.columnGap!==null){const h=U6(a.theme,"spacing",8),d=k=>({columnGap:kc(h,k)});return wl(a,a.columnGap,d)}return null};yg.propTypes={};yg.filterProps=["columnGap"];const Cg=a=>{if(a.rowGap!==void 0&&a.rowGap!==null){const h=U6(a.theme,"spacing",8),d=k=>({rowGap:kc(h,k)});return wl(a,a.rowGap,d)}return null};Cg.propTypes={};Cg.filterProps=["rowGap"];const UG0=wi({prop:"gridColumn"}),XG0=wi({prop:"gridRow"}),qG0=wi({prop:"gridAutoFlow"}),$G0=wi({prop:"gridAutoColumns"}),KG0=wi({prop:"gridAutoRows"}),bG0=wi({prop:"gridTemplateColumns"}),eZ0=wi({prop:"gridTemplateRows"}),rZ0=wi({prop:"gridTemplateAreas"}),tZ0=wi({prop:"gridArea"});vg(gg,yg,Cg,UG0,XG0,qG0,$G0,KG0,bG0,eZ0,rZ0,tZ0);function Z4(a,h){return h==="grey"?h:a}const iZ0=wi({prop:"color",themeKey:"palette",transform:Z4}),nZ0=wi({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Z4}),oZ0=wi({prop:"backgroundColor",themeKey:"palette",transform:Z4});vg(iZ0,nZ0,oZ0);function H1(a){return a<=1&&a!==0?`${a*100}%`:a}const lZ0=wi({prop:"width",transform:H1}),U_=a=>{if(a.maxWidth!==void 0&&a.maxWidth!==null){const h=d=>{var k,y;const I=((k=a.theme)==null||(k=k.breakpoints)==null||(k=k.values)==null?void 0:k[d])||V_[d];return I?((y=a.theme)==null||(y=y.breakpoints)==null?void 0:y.unit)!=="px"?{maxWidth:`${I}${a.theme.breakpoints.unit}`}:{maxWidth:I}:{maxWidth:H1(d)}};return wl(a,a.maxWidth,h)}return null};U_.filterProps=["maxWidth"];const sZ0=wi({prop:"minWidth",transform:H1}),AZ0=wi({prop:"height",transform:H1}),uZ0=wi({prop:"maxHeight",transform:H1}),aZ0=wi({prop:"minHeight",transform:H1});wi({prop:"size",cssProperty:"width",transform:H1});wi({prop:"size",cssProperty:"height",transform:H1});const cZ0=wi({prop:"boxSizing"});vg(lZ0,U_,sZ0,AZ0,uZ0,aZ0,cZ0);const fZ0={border:{themeKey:"borders",transform:_o},borderTop:{themeKey:"borders",transform:_o},borderRight:{themeKey:"borders",transform:_o},borderBottom:{themeKey:"borders",transform:_o},borderLeft:{themeKey:"borders",transform:_o},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:_o},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:mg},color:{themeKey:"palette",transform:Z4},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Z4},backgroundColor:{themeKey:"palette",transform:Z4},p:{style:ii},pt:{style:ii},pr:{style:ii},pb:{style:ii},pl:{style:ii},px:{style:ii},py:{style:ii},padding:{style:ii},paddingTop:{style:ii},paddingRight:{style:ii},paddingBottom:{style:ii},paddingLeft:{style:ii},paddingX:{style:ii},paddingY:{style:ii},paddingInline:{style:ii},paddingInlineStart:{style:ii},paddingInlineEnd:{style:ii},paddingBlock:{style:ii},paddingBlockStart:{style:ii},paddingBlockEnd:{style:ii},m:{style:ti},mt:{style:ti},mr:{style:ti},mb:{style:ti},ml:{style:ti},mx:{style:ti},my:{style:ti},margin:{style:ti},marginTop:{style:ti},marginRight:{style:ti},marginBottom:{style:ti},marginLeft:{style:ti},marginX:{style:ti},marginY:{style:ti},marginInline:{style:ti},marginInlineStart:{style:ti},marginInlineEnd:{style:ti},marginBlock:{style:ti},marginBlockStart:{style:ti},marginBlockEnd:{style:ti},displayPrint:{cssProperty:!1,transform:a=>({"@media print":{display:a}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:gg},rowGap:{style:Cg},columnGap:{style:yg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:H1},maxWidth:{style:U_},minWidth:{transform:H1},height:{transform:H1},maxHeight:{transform:H1},minHeight:{transform:H1},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},X6=fZ0;function hZ0(...a){const h=a.reduce((k,y)=>k.concat(Object.keys(y)),[]),d=new Set(h);return a.every(k=>d.size===Object.keys(k).length)}function wZ0(a,h){return typeof a=="function"?a(h):a}function rb(){function a(d,k,y,I){const S={[d]:k,theme:y},G=I[d];if(!G)return{[d]:k};const{cssProperty:R=d,themeKey:M,transform:Q,style:V}=G;if(k==null)return null;if(M==="typography"&&k==="inherit")return{[d]:k};const e0=kg(y,M)||{};return V?V(S):wl(S,k,A0=>{let n0=b5(e0,Q,A0);return A0===n0&&typeof A0=="string"&&(n0=b5(e0,Q,`${d}${A0==="default"?"":K2(A0)}`,A0)),R===!1?n0:{[R]:n0}})}function h(d){var k;const{sx:y,theme:I={}}=d||{};if(!y)return null;const S=(k=I.unstable_sxConfig)!=null?k:X6;function G(R){let M=R;if(typeof R=="function")M=R(I);else if(typeof R!="object")return R;if(!M)return null;const Q=KK(I.breakpoints),V=Object.keys(Q);let e0=Q;return Object.keys(M).forEach(l0=>{const A0=wZ0(M[l0],I);if(A0!=null)if(typeof A0=="object")if(S[l0])e0=r6(e0,a(l0,A0,I,S));else{const n0=wl({theme:I},A0,h0=>({[l0]:h0}));hZ0(n0,A0)?e0[l0]=h({sx:A0,theme:I}):e0=r6(e0,n0)}else e0=r6(e0,a(l0,A0,I,S))}),bK(V,e0)}return Array.isArray(y)?y.map(G):G(y)}return h}const tb=rb();tb.filterProps=["sx"];const Eg=tb;function ib(a,h){const d=this;return d.vars&&typeof d.getColorSchemeSelector=="function"?{[d.getColorSchemeSelector(a).replace(/(\[[^\]]+\])/,"*:where($1)")]:h}:d.palette.mode===a?h:{}}const dZ0=["breakpoints","palette","spacing","shape"];function q6(a={},...h){const{breakpoints:d={},palette:k={},spacing:y,shape:I={}}=a,S=At(a,dZ0),G=$K(d),R=DG0(y);let M=Ro({breakpoints:G,direction:"ltr",components:{},palette:Le({mode:"light"},k),spacing:R,shape:Le({},xG0,I)},S);return M.applyStyles=ib,M=h.reduce((Q,V)=>Ro(Q,V),M),M.unstable_sxConfig=Le({},X6,S==null?void 0:S.unstable_sxConfig),M.unstable_sx=function(V){return Eg({sx:V,theme:this})},M}const pZ0=Object.freeze(Object.defineProperty({__proto__:null,default:q6,private_createBreakpoints:$K,unstable_applyStyles:ib},Symbol.toStringTag,{value:"Module"}));function nb(a){var h=Object.create(null);return function(d){return h[d]===void 0&&(h[d]=a(d)),h[d]}}var kZ0=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,vZ0=nb(function(a){return kZ0.test(a)||a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&a.charCodeAt(2)<91});function mZ0(a){if(a.sheet)return a.sheet;for(var h=0;h0?kn(h3,--L1):0,X4--,Ii===10&&(X4=1,Ig--),Ii}function q1(){return Ii=L12||z6(Ii)>3?"":" "}function GZ0(a,h){for(;--h&&q1()&&!(Ii<48||Ii>102||Ii>57&&Ii<65||Ii>70&&Ii<97););return $6(a,qv()+(h<6&&os()==32&&q1()==32))}function Px(a){for(;q1();)switch(Ii){case a:return L1;case 34:case 39:a!==34&&a!==39&&Px(Ii);break;case 40:a===41&&Px(a);break;case 92:q1();break}return L1}function ZZ0(a,h){for(;q1()&&a+Ii!==47+10;)if(a+Ii===42+42&&os()===47)break;return"/*"+$6(h,L1-1)+"*"+Bg(a===47?a:q1())}function WZ0(a){for(;!z6(os());)q1();return $6(a,L1)}function DZ0(a){return ab(Kv("",null,null,null,[""],a=ub(a),0,[0],a))}function Kv(a,h,d,k,y,I,S,G,R){for(var M=0,Q=0,V=S,e0=0,l0=0,A0=0,n0=1,h0=1,u0=1,c0=0,f0="",y0=y,C0=I,I0=k,w0=f0;h0;)switch(A0=c0,c0=q1()){case 40:if(A0!=108&&kn(w0,V-1)==58){Fx(w0+=Mr($v(c0),"&","&\f"),"&\f")!=-1&&(u0=-1);break}case 34:case 39:case 91:w0+=$v(c0);break;case 9:case 10:case 13:case 32:w0+=RZ0(A0);break;case 92:w0+=GZ0(qv()-1,7);continue;case 47:switch(os()){case 42:case 47:wv(MZ0(ZZ0(q1(),qv()),h,d),R);break;default:w0+="/"}break;case 123*n0:G[M++]=Ul(w0)*u0;case 125*n0:case 59:case 0:switch(c0){case 0:case 125:h0=0;case 59+Q:u0==-1&&(w0=Mr(w0,/\f/g,"")),l0>0&&Ul(w0)-V&&wv(l0>32?HO(w0+";",k,d,V-1):HO(Mr(w0," ","")+";",k,d,V-2),R);break;case 59:w0+=";";default:if(wv(I0=OO(w0,h,d,M,Q,y,G,f0,y0=[],C0=[],V),I),c0===123)if(Q===0)Kv(w0,h,I0,I0,y0,I,V,G,C0);else switch(e0===99&&kn(w0,3)===110?100:e0){case 100:case 108:case 109:case 115:Kv(a,I0,I0,k&&wv(OO(a,I0,I0,0,0,y,G,f0,y,y0=[],V),C0),y,C0,V,G,k?y0:C0);break;default:Kv(w0,I0,I0,I0,[""],C0,0,G,C0)}}M=Q=l0=0,n0=u0=1,f0=w0="",V=S;break;case 58:V=1+Ul(w0),l0=A0;default:if(n0<1){if(c0==123)--n0;else if(c0==125&&n0++==0&&LZ0()==125)continue}switch(w0+=Bg(c0),c0*n0){case 38:u0=Q>0?1:(w0+="\f",-1);break;case 44:G[M++]=(Ul(w0)-1)*u0,u0=1;break;case 64:os()===45&&(w0+=$v(q1())),e0=os(),Q=V=Ul(f0=w0+=WZ0(qv())),c0++;break;case 45:A0===45&&Ul(w0)==2&&(n0=0)}}return I}function OO(a,h,d,k,y,I,S,G,R,M,Q){for(var V=y-1,e0=y===0?I:[""],l0=$_(e0),A0=0,n0=0,h0=0;A00?e0[u0]+" "+c0:Mr(c0,/&\f/g,e0[u0])))&&(R[h0++]=f0);return xg(a,h,d,y===0?X_:G,R,M,Q)}function MZ0(a,h,d){return xg(a,h,d,ob,Bg(zZ0()),_6(a,2,-2),0)}function HO(a,h,d,k){return xg(a,h,d,q_,_6(a,0,k),_6(a,k+1,-1),k)}function W4(a,h){for(var d="",k=$_(a),y=0;y6)switch(kn(a,h+1)){case 109:if(kn(a,h+4)!==45)break;case 102:return Mr(a,/(.+:)(.+)-([^]+)/,"$1"+Wr+"$2-$3$1"+em+(kn(a,h+3)==108?"$3":"$2-$3"))+a;case 115:return~Fx(a,"stretch")?cb(Mr(a,"stretch","fill-available"),h)+a:a}break;case 4949:if(kn(a,h+1)!==115)break;case 6444:switch(kn(a,Ul(a)-3-(~Fx(a,"!important")&&10))){case 107:return Mr(a,":",":"+Wr)+a;case 101:return Mr(a,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Wr+(kn(a,14)===45?"inline-":"")+"box$3$1"+Wr+"$2$3$1"+Mn+"$2box$3")+a}break;case 5936:switch(kn(a,h+11)){case 114:return Wr+a+Mn+Mr(a,/[svh]\w+-[tblr]{2}/,"tb")+a;case 108:return Wr+a+Mn+Mr(a,/[svh]\w+-[tblr]{2}/,"tb-rl")+a;case 45:return Wr+a+Mn+Mr(a,/[svh]\w+-[tblr]{2}/,"lr")+a}return Wr+a+Mn+a+a}return a}var OZ0=function(h,d,k,y){if(h.length>-1&&!h.return)switch(h.type){case q_:h.return=cb(h.value,h.length);break;case lb:return W4([C8(h,{value:Mr(h.value,"@","@"+Wr)})],y);case X_:if(h.length)return _Z0(h.props,function(I){switch(SZ0(I,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W4([C8(h,{props:[Mr(I,/:(read-\w+)/,":"+em+"$1")]})],y);case"::placeholder":return W4([C8(h,{props:[Mr(I,/:(plac\w+)/,":"+Wr+"input-$1")]}),C8(h,{props:[Mr(I,/:(plac\w+)/,":"+em+"$1")]}),C8(h,{props:[Mr(I,/:(plac\w+)/,Mn+"input-$1")]})],y)}return""})}},HZ0=[OZ0],fb=function(h){var d=h.key;if(d==="css"){var k=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(k,function(n0){var h0=n0.getAttribute("data-emotion");h0.indexOf(" ")!==-1&&(document.head.appendChild(n0),n0.setAttribute("data-s",""))})}var y=h.stylisPlugins||HZ0,I={},S,G=[];S=h.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+d+' "]'),function(n0){for(var h0=n0.getAttribute("data-emotion").split(" "),u0=1;u0=4;++k,y-=4)d=a.charCodeAt(k)&255|(a.charCodeAt(++k)&255)<<8|(a.charCodeAt(++k)&255)<<16|(a.charCodeAt(++k)&255)<<24,d=(d&65535)*1540483477+((d>>>16)*59797<<16),d^=d>>>24,h=(d&65535)*1540483477+((d>>>16)*59797<<16)^(h&65535)*1540483477+((h>>>16)*59797<<16);switch(y){case 3:h^=(a.charCodeAt(k+2)&255)<<16;case 2:h^=(a.charCodeAt(k+1)&255)<<8;case 1:h^=a.charCodeAt(k)&255,h=(h&65535)*1540483477+((h>>>16)*59797<<16)}return h^=h>>>13,h=(h&65535)*1540483477+((h>>>16)*59797<<16),((h^h>>>15)>>>0).toString(36)}var qZ0={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$Z0=/[A-Z]|^ms/g,KZ0=/_EMO_([^_]+?)_([^]*?)_EMO_/g,db=function(h){return h.charCodeAt(1)===45},UO=function(h){return h!=null&&typeof h!="boolean"},QB=nb(function(a){return db(a)?a:a.replace($Z0,"-$&").toLowerCase()}),XO=function(h,d){switch(h){case"animation":case"animationName":if(typeof d=="string")return d.replace(KZ0,function(k,y,I){return Xl={name:y,styles:I,next:Xl},y})}return qZ0[h]!==1&&!db(h)&&typeof d=="number"&&d!==0?d+"px":d};function L6(a,h,d){if(d==null)return"";if(d.__emotion_styles!==void 0)return d;switch(typeof d){case"boolean":return"";case"object":{if(d.anim===1)return Xl={name:d.name,styles:d.styles,next:Xl},d.name;if(d.styles!==void 0){var k=d.next;if(k!==void 0)for(;k!==void 0;)Xl={name:k.name,styles:k.styles,next:Xl},k=k.next;var y=d.styles+";";return y}return bZ0(a,h,d)}case"function":{if(a!==void 0){var I=Xl,S=d(a);return Xl=I,L6(a,h,S)}break}}if(h==null)return d;var G=h[d];return G!==void 0?G:d}function bZ0(a,h,d){var k="";if(Array.isArray(d))for(var y=0;y96?nW0:oW0},bO=function(h,d,k){var y;if(d){var I=d.shouldForwardProp;y=h.__emotion_forwardProp&&I?function(S){return h.__emotion_forwardProp(S)&&I(S)}:I}return typeof y!="function"&&k&&(y=h.__emotion_forwardProp),y},lW0=function(h){var d=h.cache,k=h.serialized,y=h.isStringTag;return hb(d,k,y),rW0(function(){return wb(d,k,y)}),null},sW0=function a(h,d){var k=h.__emotion_real===h,y=k&&h.__emotion_base||h,I,S;d!==void 0&&(I=d.label,S=d.target);var G=bO(h,d,k),R=G||KO(y),M=!R("as");return function(){var Q=arguments,V=k&&h.__emotion_styles!==void 0?h.__emotion_styles.slice(0):[];if(I!==void 0&&V.push("label:"+I+";"),Q[0]==null||Q[0].raw===void 0)V.push.apply(V,Q);else{V.push(Q[0][0]);for(var e0=Q.length,l0=1;l0h(aW0(y)?d:y):h;return J.jsx(iW0,{styles:k})}/** + * @mui/styled-engine v5.15.14 + * + * @license MIT + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */function mb(a,h){return Yx(a,h)}const gb=(a,h)=>{Array.isArray(a.__emotion_styles)&&(a.__emotion_styles=h(a.__emotion_styles))},fW0=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:cW0,StyledEngineProvider:uW0,ThemeContext:Sg,css:_g,default:mb,internal_processStyles:gb,keyframes:w3},Symbol.toStringTag,{value:"Module"}));function hW0(a){return Object.keys(a).length===0}function wW0(a=null){const h=Q0.useContext(Sg);return!h||hW0(h)?a:h}const dW0=q6();function pW0(a=dW0){return wW0(a)}function yb({props:a,name:h,defaultTheme:d,themeId:k}){let y=pW0(d);return k&&(y=y[k]||y),CG0({theme:y,name:h,props:a})}const kW0=["sx"],vW0=a=>{var h,d;const k={systemProps:{},otherProps:{}},y=(h=a==null||(d=a.theme)==null?void 0:d.unstable_sxConfig)!=null?h:X6;return Object.keys(a).forEach(I=>{y[I]?k.systemProps[I]=a[I]:k.otherProps[I]=a[I]}),k};function b_(a){const{sx:h}=a,d=At(a,kW0),{systemProps:k,otherProps:y}=vW0(d);let I;return Array.isArray(h)?I=[k,...h]:typeof h=="function"?I=(...S)=>{const G=h(...S);return Ts(G)?Le({},k,G):k}:I=Le({},k,h),Le({},y,{sx:I})}const mW0=Object.freeze(Object.defineProperty({__proto__:null,default:Eg,extendSxProp:b_,unstable_createStyleFunctionSx:rb,unstable_defaultSxConfig:X6},Symbol.toStringTag,{value:"Module"}));function gW0(a,h){return Le({toolbar:{minHeight:56,[a.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[a.up("sm")]:{minHeight:64}}},h)}var di={};const yW0=Fn(OR0),CW0=Fn(yG0);var Cb=Qr;Object.defineProperty(di,"__esModule",{value:!0});var rs=di.alpha=xb;di.blend=ZW0;di.colorChannel=void 0;var rm=di.darken=rz;di.decomposeColor=Do;di.emphasize=Sb;var EW0=di.getContrastRatio=_W0;di.getLuminance=im;di.hexToRgb=Eb;di.hslToRgb=Ib;var tm=di.lighten=tz;di.private_safeAlpha=zW0;di.private_safeColorChannel=void 0;di.private_safeDarken=LW0;di.private_safeEmphasize=GW0;di.private_safeLighten=RW0;di.recomposeColor=d3;di.rgbToHex=SW0;var eH=Cb(yW0),BW0=Cb(CW0);function ez(a,h=0,d=1){return(0,BW0.default)(a,h,d)}function Eb(a){a=a.slice(1);const h=new RegExp(`.{1,${a.length>=6?2:1}}`,"g");let d=a.match(h);return d&&d[0].length===1&&(d=d.map(k=>k+k)),d?`rgb${d.length===4?"a":""}(${d.map((k,y)=>y<3?parseInt(k,16):Math.round(parseInt(k,16)/255*1e3)/1e3).join(", ")})`:""}function IW0(a){const h=a.toString(16);return h.length===1?`0${h}`:h}function Do(a){if(a.type)return a;if(a.charAt(0)==="#")return Do(Eb(a));const h=a.indexOf("("),d=a.substring(0,h);if(["rgb","rgba","hsl","hsla","color"].indexOf(d)===-1)throw new Error((0,eH.default)(9,a));let k=a.substring(h+1,a.length-1),y;if(d==="color"){if(k=k.split(" "),y=k.shift(),k.length===4&&k[3].charAt(0)==="/"&&(k[3]=k[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(y)===-1)throw new Error((0,eH.default)(10,y))}else k=k.split(",");return k=k.map(I=>parseFloat(I)),{type:d,values:k,colorSpace:y}}const Bb=a=>{const h=Do(a);return h.values.slice(0,3).map((d,k)=>h.type.indexOf("hsl")!==-1&&k!==0?`${d}%`:d).join(" ")};di.colorChannel=Bb;const xW0=(a,h)=>{try{return Bb(a)}catch{return a}};di.private_safeColorChannel=xW0;function d3(a){const{type:h,colorSpace:d}=a;let{values:k}=a;return h.indexOf("rgb")!==-1?k=k.map((y,I)=>I<3?parseInt(y,10):y):h.indexOf("hsl")!==-1&&(k[1]=`${k[1]}%`,k[2]=`${k[2]}%`),h.indexOf("color")!==-1?k=`${d} ${k.join(" ")}`:k=`${k.join(", ")}`,`${h}(${k})`}function SW0(a){if(a.indexOf("#")===0)return a;const{values:h}=Do(a);return`#${h.map((d,k)=>IW0(k===3?Math.round(255*d):d)).join("")}`}function Ib(a){a=Do(a);const{values:h}=a,d=h[0],k=h[1]/100,y=h[2]/100,I=k*Math.min(y,1-y),S=(M,Q=(M+d/30)%12)=>y-I*Math.max(Math.min(Q-3,9-Q,1),-1);let G="rgb";const R=[Math.round(S(0)*255),Math.round(S(8)*255),Math.round(S(4)*255)];return a.type==="hsla"&&(G+="a",R.push(h[3])),d3({type:G,values:R})}function im(a){a=Do(a);let h=a.type==="hsl"||a.type==="hsla"?Do(Ib(a)).values:a.values;return h=h.map(d=>(a.type!=="color"&&(d/=255),d<=.03928?d/12.92:((d+.055)/1.055)**2.4)),Number((.2126*h[0]+.7152*h[1]+.0722*h[2]).toFixed(3))}function _W0(a,h){const d=im(a),k=im(h);return(Math.max(d,k)+.05)/(Math.min(d,k)+.05)}function xb(a,h){return a=Do(a),h=ez(h),(a.type==="rgb"||a.type==="hsl")&&(a.type+="a"),a.type==="color"?a.values[3]=`/${h}`:a.values[3]=h,d3(a)}function zW0(a,h,d){try{return xb(a,h)}catch{return a}}function rz(a,h){if(a=Do(a),h=ez(h),a.type.indexOf("hsl")!==-1)a.values[2]*=1-h;else if(a.type.indexOf("rgb")!==-1||a.type.indexOf("color")!==-1)for(let d=0;d<3;d+=1)a.values[d]*=1-h;return d3(a)}function LW0(a,h,d){try{return rz(a,h)}catch{return a}}function tz(a,h){if(a=Do(a),h=ez(h),a.type.indexOf("hsl")!==-1)a.values[2]+=(100-a.values[2])*h;else if(a.type.indexOf("rgb")!==-1)for(let d=0;d<3;d+=1)a.values[d]+=(255-a.values[d])*h;else if(a.type.indexOf("color")!==-1)for(let d=0;d<3;d+=1)a.values[d]+=(1-a.values[d])*h;return d3(a)}function RW0(a,h,d){try{return tz(a,h)}catch{return a}}function Sb(a,h=.15){return im(a)>.5?rz(a,h):tz(a,h)}function GW0(a,h,d){try{return Sb(a,h)}catch{return a}}function ZW0(a,h,d,k=1){const y=(R,M)=>Math.round((R**(1/k)*(1-d)+M**(1/k)*d)**k),I=Do(a),S=Do(h),G=[y(I.values[0],S.values[0]),y(I.values[1],S.values[1]),y(I.values[2],S.values[2])];return d3({type:"rgb",values:G})}const WW0={black:"#000",white:"#fff"},R6=WW0,DW0={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},MW0=DW0,jW0={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},e4=jW0,NW0={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},r4=NW0,QW0={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},E8=QW0,TW0={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},t4=TW0,FW0={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},i4=FW0,PW0={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},n4=PW0,YW0=["mode","contrastThreshold","tonalOffset"],rH={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:R6.white,default:R6.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},TB={text:{primary:R6.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:R6.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function tH(a,h,d,k){const y=k.light||k,I=k.dark||k*1.5;a[h]||(a.hasOwnProperty(d)?a[h]=a[d]:h==="light"?a.light=tm(a.main,y):h==="dark"&&(a.dark=rm(a.main,I)))}function VW0(a="light"){return a==="dark"?{main:t4[200],light:t4[50],dark:t4[400]}:{main:t4[700],light:t4[400],dark:t4[800]}}function OW0(a="light"){return a==="dark"?{main:e4[200],light:e4[50],dark:e4[400]}:{main:e4[500],light:e4[300],dark:e4[700]}}function HW0(a="light"){return a==="dark"?{main:r4[500],light:r4[300],dark:r4[700]}:{main:r4[700],light:r4[400],dark:r4[800]}}function JW0(a="light"){return a==="dark"?{main:i4[400],light:i4[300],dark:i4[700]}:{main:i4[700],light:i4[500],dark:i4[900]}}function UW0(a="light"){return a==="dark"?{main:n4[400],light:n4[300],dark:n4[700]}:{main:n4[800],light:n4[500],dark:n4[900]}}function XW0(a="light"){return a==="dark"?{main:E8[400],light:E8[300],dark:E8[700]}:{main:"#ed6c02",light:E8[500],dark:E8[900]}}function qW0(a){const{mode:h="light",contrastThreshold:d=3,tonalOffset:k=.2}=a,y=At(a,YW0),I=a.primary||VW0(h),S=a.secondary||OW0(h),G=a.error||HW0(h),R=a.info||JW0(h),M=a.success||UW0(h),Q=a.warning||XW0(h);function V(n0){return EW0(n0,TB.text.primary)>=d?TB.text.primary:rH.text.primary}const e0=({color:n0,name:h0,mainShade:u0=500,lightShade:c0=300,darkShade:f0=700})=>{if(n0=Le({},n0),!n0.main&&n0[u0]&&(n0.main=n0[u0]),!n0.hasOwnProperty("main"))throw new Error(S6(11,h0?` (${h0})`:"",u0));if(typeof n0.main!="string")throw new Error(S6(12,h0?` (${h0})`:"",JSON.stringify(n0.main)));return tH(n0,"light",c0,k),tH(n0,"dark",f0,k),n0.contrastText||(n0.contrastText=V(n0.main)),n0},l0={dark:TB,light:rH};return Ro(Le({common:Le({},R6),mode:h,primary:e0({color:I,name:"primary"}),secondary:e0({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:e0({color:G,name:"error"}),warning:e0({color:Q,name:"warning"}),info:e0({color:R,name:"info"}),success:e0({color:M,name:"success"}),grey:MW0,contrastThreshold:d,getContrastText:V,augmentColor:e0,tonalOffset:k},l0[h]),y)}const $W0=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function KW0(a){return Math.round(a*1e5)/1e5}const iH={textTransform:"uppercase"},nH='"Roboto", "Helvetica", "Arial", sans-serif';function bW0(a,h){const d=typeof h=="function"?h(a):h,{fontFamily:k=nH,fontSize:y=14,fontWeightLight:I=300,fontWeightRegular:S=400,fontWeightMedium:G=500,fontWeightBold:R=700,htmlFontSize:M=16,allVariants:Q,pxToRem:V}=d,e0=At(d,$W0),l0=y/14,A0=V||(u0=>`${u0/M*l0}rem`),n0=(u0,c0,f0,y0,C0)=>Le({fontFamily:k,fontWeight:u0,fontSize:A0(c0),lineHeight:f0},k===nH?{letterSpacing:`${KW0(y0/c0)}em`}:{},C0,Q),h0={h1:n0(I,96,1.167,-1.5),h2:n0(I,60,1.2,-.5),h3:n0(S,48,1.167,0),h4:n0(S,34,1.235,.25),h5:n0(S,24,1.334,0),h6:n0(G,20,1.6,.15),subtitle1:n0(S,16,1.75,.15),subtitle2:n0(G,14,1.57,.1),body1:n0(S,16,1.5,.15),body2:n0(S,14,1.43,.15),button:n0(G,14,1.75,.4,iH),caption:n0(S,12,1.66,.4),overline:n0(S,12,2.66,1,iH),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ro(Le({htmlFontSize:M,pxToRem:A0,fontFamily:k,fontSize:y,fontWeightLight:I,fontWeightRegular:S,fontWeightMedium:G,fontWeightBold:R},h0),e0,{clone:!1})}const eD0=.2,rD0=.14,tD0=.12;function Qt(...a){return[`${a[0]}px ${a[1]}px ${a[2]}px ${a[3]}px rgba(0,0,0,${eD0})`,`${a[4]}px ${a[5]}px ${a[6]}px ${a[7]}px rgba(0,0,0,${rD0})`,`${a[8]}px ${a[9]}px ${a[10]}px ${a[11]}px rgba(0,0,0,${tD0})`].join(",")}const iD0=["none",Qt(0,2,1,-1,0,1,1,0,0,1,3,0),Qt(0,3,1,-2,0,2,2,0,0,1,5,0),Qt(0,3,3,-2,0,3,4,0,0,1,8,0),Qt(0,2,4,-1,0,4,5,0,0,1,10,0),Qt(0,3,5,-1,0,5,8,0,0,1,14,0),Qt(0,3,5,-1,0,6,10,0,0,1,18,0),Qt(0,4,5,-2,0,7,10,1,0,2,16,1),Qt(0,5,5,-3,0,8,10,1,0,3,14,2),Qt(0,5,6,-3,0,9,12,1,0,3,16,2),Qt(0,6,6,-3,0,10,14,1,0,4,18,3),Qt(0,6,7,-4,0,11,15,1,0,4,20,3),Qt(0,7,8,-4,0,12,17,2,0,5,22,4),Qt(0,7,8,-4,0,13,19,2,0,5,24,4),Qt(0,7,9,-4,0,14,21,2,0,5,26,4),Qt(0,8,9,-5,0,15,22,2,0,6,28,5),Qt(0,8,10,-5,0,16,24,2,0,6,30,5),Qt(0,8,11,-5,0,17,26,2,0,6,32,5),Qt(0,9,11,-5,0,18,28,2,0,7,34,6),Qt(0,9,12,-6,0,19,29,2,0,7,36,6),Qt(0,10,13,-6,0,20,31,3,0,8,38,7),Qt(0,10,13,-6,0,21,33,3,0,8,40,7),Qt(0,10,14,-6,0,22,35,3,0,8,42,7),Qt(0,11,14,-7,0,23,36,3,0,9,44,8),Qt(0,11,15,-7,0,24,38,3,0,9,46,8)],nD0=iD0,oD0=["duration","easing","delay"],lD0={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},sD0={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function oH(a){return`${Math.round(a)}ms`}function AD0(a){if(!a)return 0;const h=a/36;return Math.round((4+15*h**.25+h/5)*10)}function uD0(a){const h=Le({},lD0,a.easing),d=Le({},sD0,a.duration);return Le({getAutoHeightDuration:AD0,create:(y=["all"],I={})=>{const{duration:S=d.standard,easing:G=h.easeInOut,delay:R=0}=I;return At(I,oD0),(Array.isArray(y)?y:[y]).map(M=>`${M} ${typeof S=="string"?S:oH(S)} ${G} ${typeof R=="string"?R:oH(R)}`).join(",")}},a,{easing:h,duration:d})}const aD0={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},cD0=aD0,fD0=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function hD0(a={},...h){const{mixins:d={},palette:k={},transitions:y={},typography:I={}}=a,S=At(a,fD0);if(a.vars)throw new Error(S6(18));const G=qW0(k),R=q6(a);let M=Ro(R,{mixins:gW0(R.breakpoints,d),palette:G,shadows:nD0.slice(),typography:bW0(G,I),transitions:uD0(y),zIndex:Le({},cD0)});return M=Ro(M,S),M=h.reduce((Q,V)=>Ro(Q,V),M),M.unstable_sxConfig=Le({},X6,S==null?void 0:S.unstable_sxConfig),M.unstable_sx=function(V){return Eg({sx:V,theme:this})},M}const wD0=hD0(),_b=wD0,zb="$$material";function dl({props:a,name:h}){return yb({props:a,name:h,defaultTheme:_b,themeId:zb})}var K6={};const dD0=Fn(rL0);var FB={exports:{}},lH;function pD0(){return lH||(lH=1,function(a){function h(d,k){if(d==null)return{};var y={};for(var I in d)if(Object.prototype.hasOwnProperty.call(d,I)){if(k.indexOf(I)>=0)continue;y[I]=d[I]}return y}a.exports=h,a.exports.__esModule=!0,a.exports.default=a.exports}(FB)),FB.exports}const kD0=Fn(fW0),vD0=Fn(PR0),mD0=Fn(XR0),gD0=Fn(UR0),yD0=Fn(pZ0),CD0=Fn(mW0);var p3=Qr;Object.defineProperty(K6,"__esModule",{value:!0});var ED0=K6.default=MD0;K6.shouldForwardProp=bv;K6.systemDefaultTheme=void 0;var Bo=p3(dD0),Ox=p3(pD0()),sH=LD0(kD0),BD0=vD0;p3(mD0);p3(gD0);var ID0=p3(yD0),xD0=p3(CD0);const SD0=["ownerState"],_D0=["variants"],zD0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Lb(a){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(Lb=function(k){return k?d:h})(a)}function LD0(a,h){if(!h&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var d=Lb(h);if(d&&d.has(a))return d.get(a);var k={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in a)if(I!=="default"&&Object.prototype.hasOwnProperty.call(a,I)){var S=y?Object.getOwnPropertyDescriptor(a,I):null;S&&(S.get||S.set)?Object.defineProperty(k,I,S):k[I]=a[I]}return k.default=a,d&&d.set(a,k),k}function RD0(a){return Object.keys(a).length===0}function GD0(a){return typeof a=="string"&&a.charCodeAt(0)>96}function bv(a){return a!=="ownerState"&&a!=="theme"&&a!=="sx"&&a!=="as"}const ZD0=K6.systemDefaultTheme=(0,ID0.default)(),WD0=a=>a&&a.charAt(0).toLowerCase()+a.slice(1);function dv({defaultTheme:a,theme:h,themeId:d}){return RD0(h)?a:h[d]||h}function DD0(a){return a?(h,d)=>d[a]:null}function e5(a,h){let{ownerState:d}=h,k=(0,Ox.default)(h,SD0);const y=typeof a=="function"?a((0,Bo.default)({ownerState:d},k)):a;if(Array.isArray(y))return y.flatMap(I=>e5(I,(0,Bo.default)({ownerState:d},k)));if(y&&typeof y=="object"&&Array.isArray(y.variants)){const{variants:I=[]}=y;let G=(0,Ox.default)(y,_D0);return I.forEach(R=>{let M=!0;typeof R.props=="function"?M=R.props((0,Bo.default)({ownerState:d},k,d)):Object.keys(R.props).forEach(Q=>{(d==null?void 0:d[Q])!==R.props[Q]&&k[Q]!==R.props[Q]&&(M=!1)}),M&&(Array.isArray(G)||(G=[G]),G.push(typeof R.style=="function"?R.style((0,Bo.default)({ownerState:d},k,d)):R.style))}),G}return y}function MD0(a={}){const{themeId:h,defaultTheme:d=ZD0,rootShouldForwardProp:k=bv,slotShouldForwardProp:y=bv}=a,I=S=>(0,xD0.default)((0,Bo.default)({},S,{theme:dv((0,Bo.default)({},S,{defaultTheme:d,themeId:h}))}));return I.__mui_systemSx=!0,(S,G={})=>{(0,sH.internal_processStyles)(S,C0=>C0.filter(I0=>!(I0!=null&&I0.__mui_systemSx)));const{name:R,slot:M,skipVariantsResolver:Q,skipSx:V,overridesResolver:e0=DD0(WD0(M))}=G,l0=(0,Ox.default)(G,zD0),A0=Q!==void 0?Q:M&&M!=="Root"&&M!=="root"||!1,n0=V||!1;let h0,u0=bv;M==="Root"||M==="root"?u0=k:M?u0=y:GD0(S)&&(u0=void 0);const c0=(0,sH.default)(S,(0,Bo.default)({shouldForwardProp:u0,label:h0},l0)),f0=C0=>typeof C0=="function"&&C0.__emotion_real!==C0||(0,BD0.isPlainObject)(C0)?I0=>e5(C0,(0,Bo.default)({},I0,{theme:dv({theme:I0.theme,defaultTheme:d,themeId:h})})):C0,y0=(C0,...I0)=>{let w0=f0(C0);const E0=I0?I0.map(f0):[];R&&e0&&E0.push(P0=>{const R0=dv((0,Bo.default)({},P0,{defaultTheme:d,themeId:h}));if(!R0.components||!R0.components[R]||!R0.components[R].styleOverrides)return null;const T0=R0.components[R].styleOverrides,q0={};return Object.entries(T0).forEach(([ae,de])=>{q0[ae]=e5(de,(0,Bo.default)({},P0,{theme:R0}))}),e0(P0,q0)}),R&&!A0&&E0.push(P0=>{var R0;const T0=dv((0,Bo.default)({},P0,{defaultTheme:d,themeId:h})),q0=T0==null||(R0=T0.components)==null||(R0=R0[R])==null?void 0:R0.variants;return e5({variants:q0},(0,Bo.default)({},P0,{theme:T0}))}),n0||E0.push(I);const z0=E0.length-I0.length;if(Array.isArray(C0)&&z0>0){const P0=new Array(z0).fill("");w0=[...C0,...P0],w0.raw=[...C0.raw,...P0]}const W0=c0(w0,...E0);return S.muiName&&(W0.muiName=S.muiName),W0};return c0.withConfig&&(y0.withConfig=c0.withConfig),y0}}function jD0(a){return a!=="ownerState"&&a!=="theme"&&a!=="sx"&&a!=="as"}const ND0=a=>jD0(a)&&a!=="classes",iz=ND0,QD0=ED0({themeId:zb,defaultTheme:_b,rootShouldForwardProp:iz}),St=QD0;function TD0(a){return io("MuiSvgIcon",a)}To("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const FD0=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],PD0=a=>{const{color:h,fontSize:d,classes:k}=a,y={root:["root",h!=="inherit"&&`color${K2(h)}`,`fontSize${K2(d)}`]};return Qo(y,TD0,k)},YD0=St("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.root,d.color!=="inherit"&&h[`color${K2(d.color)}`],h[`fontSize${K2(d.fontSize)}`]]}})(({theme:a,ownerState:h})=>{var d,k,y,I,S,G,R,M,Q,V,e0,l0,A0;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:h.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(d=a.transitions)==null||(k=d.create)==null?void 0:k.call(d,"fill",{duration:(y=a.transitions)==null||(y=y.duration)==null?void 0:y.shorter}),fontSize:{inherit:"inherit",small:((I=a.typography)==null||(S=I.pxToRem)==null?void 0:S.call(I,20))||"1.25rem",medium:((G=a.typography)==null||(R=G.pxToRem)==null?void 0:R.call(G,24))||"1.5rem",large:((M=a.typography)==null||(Q=M.pxToRem)==null?void 0:Q.call(M,35))||"2.1875rem"}[h.fontSize],color:(V=(e0=(a.vars||a).palette)==null||(e0=e0[h.color])==null?void 0:e0.main)!=null?V:{action:(l0=(a.vars||a).palette)==null||(l0=l0.action)==null?void 0:l0.active,disabled:(A0=(a.vars||a).palette)==null||(A0=A0.action)==null?void 0:A0.disabled,inherit:void 0}[h.color]}}),Rb=Q0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiSvgIcon"}),{children:y,className:I,color:S="inherit",component:G="svg",fontSize:R="medium",htmlColor:M,inheritViewBox:Q=!1,titleAccess:V,viewBox:e0="0 0 24 24"}=k,l0=At(k,FD0),A0=Q0.isValidElement(y)&&y.type==="svg",n0=Le({},k,{color:S,component:G,fontSize:R,instanceFontSize:h.fontSize,inheritViewBox:Q,viewBox:e0,hasSvgAsChild:A0}),h0={};Q||(h0.viewBox=e0);const u0=PD0(n0);return J.jsxs(YD0,Le({as:G,className:Zt(u0.root,I),focusable:"false",color:M,"aria-hidden":V?void 0:!0,role:V?"img":void 0,ref:d},h0,l0,A0&&y.props,{ownerState:n0,children:[A0?y.props.children:y,V?J.jsx("title",{children:V}):null]}))});Rb.muiName="SvgIcon";const AH=Rb;function Sc(a,h){function d(k,y){return J.jsx(AH,Le({"data-testid":`${h}Icon`,ref:y},k,{children:a}))}return d.muiName=AH.muiName,Q0.memo(Q0.forwardRef(d))}const VD0={configure:a=>{XK.configure(a)}},OD0=Object.freeze(Object.defineProperty({__proto__:null,capitalize:K2,createChainedFunction:qR0,createSvgIcon:Sc,debounce:$R0,deprecatedPropType:KR0,isMuiElement:bR0,ownerDocument:VK,ownerWindow:eG0,requirePropFactory:rG0,setRef:OK,unstable_ClassNameGenerator:VD0,unstable_useEnhancedEffect:HK,unstable_useId:nG0,unsupportedProp:oG0,useControlled:JK,useEventCallback:j8,useForkRef:K5,useIsFocusVisible:UK},Symbol.toStringTag,{value:"Module"})),HD0=Fn(OD0);var uH;function rt(){return uH||(uH=1,function(a){"use client";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return h.createSvgIcon}});var h=HD0}(ZB)),ZB}var JD0=Qr;Object.defineProperty(P_,"__esModule",{value:!0});var _c=P_.default=void 0,UD0=JD0(rt()),XD0=J;_c=P_.default=(0,UD0.default)((0,XD0.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var nz={},qD0=Qr;Object.defineProperty(nz,"__esModule",{value:!0});var zc=nz.default=void 0,$D0=qD0(rt()),KD0=J;zc=nz.default=(0,$D0.default)((0,KD0.jsx)("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp");var oz={},bD0=Qr;Object.defineProperty(oz,"__esModule",{value:!0});var Lc=oz.default=void 0,eM0=bD0(rt()),rM0=J;Lc=oz.default=(0,eM0.default)((0,rM0.jsx)("path",{d:"M3 18h6v-2H3zM3 6v2h18V6zm0 7h12v-2H3z"}),"Sort");const tM0=({flags:a})=>{const[h,d]=Je.useState(!1),[k,y]=Je.useState([]),[I,S]=Je.useState(!0);Q0.useEffect(()=>{const V=G(a);y(V)},[a]);const G=V=>V===void 0?[]:V.filter(l0=>l0.value!==void 0&&l0.value!==""&&l0.value!==null).sort((l0,A0)=>l0.flag.localeCompare(l0.flag)),R=(V,e0)=>{if(e0==="default"){let l0=[];return I?l0=V.sort((A0,n0)=>A0.default>n0.default?1:-1):l0=V.sort((A0,n0)=>A0.defaultl0.flag.localeCompare(A0.flag)):V},M=()=>{const V=R(k,"default");y(V),S(!I),d(!0)},Q=()=>h?I?J.jsx(_c,{}):J.jsx(zc,{}):J.jsx(Lc,{className:"ml-2"});return J.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2",children:"Flag"}),J.jsx("th",{className:"px-4 py-2",children:"Value"}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:M,children:J.jsxs("div",{className:"flex flex-row",children:["Default",Q()]})})]})}),J.jsx("tbody",{children:k.map(V=>J.jsx(FR0,{flag:V},V.flag))})]})},iM0=({flags:a})=>{const[h,d]=Q0.useState([]);return Q0.useEffect(()=>{a!==void 0&&d(a)},[a]),J.jsxs("div",{className:"flex flex-col",children:[J.jsx("input",{type:"text",className:"border-2 border-gray-300 rounded-lg p-2 mb-2",placeholder:"Search",onChange:k=>{const y=a==null?void 0:a.filter(S=>S.flag.toLowerCase().includes(k.target.value.toLowerCase())),I=a==null?void 0:a.filter(S=>S.usage.toLowerCase().includes(k.target.value.toLowerCase()));d([...y,...I])}}),J.jsx(tM0,{flags:h})]})},nM0=({nodeInfo:a,onRowClicked:h})=>{const k=(I,S)=>J.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100",onClick:()=>{h(I,String(S))},children:[J.jsxs("td",{className:"px-4 py-2 font-bold",children:[I,":"]}),J.jsx("td",{className:"px-4 py-2",children:String(S).length>50?`${String(S).substring(0,50)}...`:S})]}),y=(I,S)=>{if(!I)return k(S,"null");let G=Object.keys(I);return J.jsxs("tr",{className:"border-b border-gray-200",children:[S.length>0?J.jsx("td",{className:"px-4 py-2 font-bold",children:S+":"}):null,G.map(R=>typeof I[R]=="object"?y(I[R],R):k(R,I[R]))]})};return J.jsx("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:J.jsx("tbody",{children:y(a,"")})})},oM0=({nodeDetails:a,onShowNodeValueDetails:h})=>a===void 0?null:J.jsx("div",{className:"flex flex-col",children:J.jsx(nM0,{nodeInfo:a,onRowClicked:(d,k)=>{h(d,k)}})}),lM0=({syncStages:a})=>a===void 0?null:J.jsx("div",{className:"flex flex-col",children:J.jsx("table",{className:"table-auto rounded-lg bg-white text-left",children:J.jsx("tbody",{children:a.map(h=>J.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:[J.jsx("td",{className:"px-4 py-2",children:h.key}),J.jsx("td",{className:"px-4 py-2",children:h.value})]},h.key))})})}),sM0=({reorg:a})=>a===void 0?null:J.jsxs("div",{className:"flex flex-col",children:[J.jsx("span",{className:"font-bold",children:"Blocks scanned:"}),J.jsx("span",{children:a.totalBlocks}),J.jsx("span",{className:"font-bold",children:"Time took:"}),J.jsx("span",{children:a.timeTook}),J.jsx("span",{className:"font-bold",children:"Wrong blocks:"}),a.wrongBlocks.length===0?J.jsx("span",{children:"None"}):J.jsx("table",{className:"table-auto rounded-lg bg-white text-left",children:J.jsx("tbody",{children:a.wrongBlocks.map(h=>J.jsx("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:J.jsx("td",{className:"px-4 py-2",children:h})},h))})})]}),k3="#1ea7fd",b6="red";const us=({primary:a=!1,size:h="medium",backgroundColor:d,disabled:k=!1,label:y,...I})=>{const S=a?"storybook-button--primary":"storybook-button--secondary",G=k?"gray":d;return J.jsx("button",{type:"button",className:["storybook-button",`storybook-button--${h}`,S].join(" "),style:{backgroundColor:G},disabled:k,...I,children:y})};var D4=(a=>(a.Unknown="Unknown",a.Local="Local",a.Remote="Remote",a))(D4||{});const aH={isConnectedToInternet:!0,isConnectedToNode:!0,nodeConnectionType:"Unknown",backendAddress:"http://localhost:8080"},Gb=Yu({name:"app",initialState:aH,reducers:{setIsConnectedToInternet:(a,h)=>{a.isConnectedToInternet=h.payload},setIsConnectedToNode:(a,h)=>{a.isConnectedToNode=h.payload},setNodeConnectionType:(a,h)=>{a.nodeConnectionType=h.payload},setBackendAddress:(a,h)=>{a.backendAddress=h.payload,console.log("Backend address set to: "+h.payload)},resetConectionState:()=>aH}}),{setIsConnectedToInternet:N2e,setIsConnectedToNode:cH,setNodeConnectionType:PB,setBackendAddress:AM0,resetConectionState:uM0}=Gb.actions,Zb=a=>a.connection.nodeConnectionType,aM0=Gb.reducer,a4={second:1e3,minute:6e4,hour:36e5},fH={peers:[],bootnodes:[]},Wb=Yu({name:"network",initialState:fH,reducers:{updatePeersState:(a,h)=>{const d=a.peers.findIndex(k=>k.nodeId===h.payload.activeNodeId);d!==-1&&a.peers[d].peers.forEach(k=>{if(k.lastUpdateTime0&&(S=y/h.payload.countInterval);let G=0;I>0&&(G=I/h.payload.countInterval);let R=k.network.bytesIn,M=k.network.bytesOut;k.network.inRate=S*8,k.network.outRate=G*8,k.network.sCountedBytesIn=R,k.network.sCountedBytesOut=M}})},addOrUpdatePeer:(a,h)=>{const d=h.payload.nodeId;let k=h.payload.peer;k.lastUpdateTime=Date.now();let y=a.peers.findIndex(I=>I.nodeId===d);if(y!==-1){let I=a.peers[y].peers.findIndex(S=>S.id===k.id);I!==-1?(k.network.inRate=a.peers[y].peers[I].network.inRate,k.network.outRate=a.peers[y].peers[I].network.outRate,k.network.sCountedBytesIn=a.peers[y].peers[I].network.sCountedBytesIn,k.network.sCountedBytesOut=a.peers[y].peers[I].network.sCountedBytesOut,k.network.bytesIn+=a.peers[y].peers[I].network.bytesIn,k.network.bytesOut+=a.peers[y].peers[I].network.bytesOut,pv(a.peers[y].peers[I].network,k.network,"capBytesIn"),pv(a.peers[y].peers[I].network,k.network,"capBytesOut"),pv(a.peers[y].peers[I].network,k.network,"typeBytesIn"),pv(a.peers[y].peers[I].network,k.network,"typeBytesOut"),a.peers[y].peers[I]=k):a.peers[y].peers.push(k)}else a.peers.push({nodeId:d,peers:[k]})},addOrUpdateBootnodes:(a,h)=>{let d=a.bootnodes.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.bootnodes[d]=h.payload:a.bootnodes.push(h.payload)},resetNetworkStateToMockState:()=>fH}}),pv=(a,h,d)=>{let k=a[d],y=Object.keys(k);y.length>0&&y.forEach(I=>{let S=0;if(typeof k[I]=="number"){let G=a[d][I]||0;S=h[d][I]||0,h[d][I]=S+G}})},{resetNetworkStateToMockState:cM0,addOrUpdatePeer:fM0,addOrUpdateBootnodes:hM0,updatePeersState:wM0}=Wb.actions,dM0=a=>a.network.peers,lz=ar([dM0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.peers)}),d}),pM0=()=>ar([lz,(a,h)=>h],(a,h)=>{let d={};return a.forEach(k=>{k.id===h&&(d=k)}),d}),zg=ar([lz,Hr],(a,h)=>Db(h,"Sentry",a)),Lg=ar([lz,Hr],(a,h)=>Db(h,"Sentinel",a)),Db=(a,h,d)=>{let k=[];return d.forEach(y=>{y.type.toLowerCase()===h.toLowerCase()&&k.push(y)}),k},kM0=ar([zg],a=>Mb(a)),vM0=ar([Lg],a=>Mb(a)),Mb=a=>{let h=[];return a.forEach(d=>{d.active&&h.push(d)}),h},mM0=ar([zg],a=>jb(a)),gM0=ar([Lg],a=>jb(a)),jb=a=>{let h=[];return a.forEach(d=>{d.network.static&&h.push(d)}),h},yM0=ar([zg],a=>Nb(a)),CM0=ar([Lg],a=>Nb(a)),Nb=a=>{let h={activePeers:0,totalPeers:a.length,staticPeers:0,totalErrors:0,totalInBytes:0,totalOutBytes:0,totalInRate:0,totalOutRate:0};return a.forEach(d=>{h.totalInBytes+=d.network.bytesIn,h.totalOutBytes+=d.network.bytesOut,h.totalInRate+=d.network.inRate,h.totalOutRate+=d.network.outRate,d.active&&h.activePeers++,d.network.static&&h.staticPeers++}),h},EM0=Wb.reducer;var r5=(a=>(a[a.Queued=0]="Queued",a[a.Running=1]="Running",a[a.Completed=2]="Completed",a))(r5||{});const hH={snapshotFilesList:[],snapshotDownloadStatus:[],snapshotIndexStatus:[],syncStages:[],testSnpSyncMsgIdx:0},Qb=Yu({name:"syncStages",initialState:hH,reducers:{setSnapshotFilesList:(a,h)=>{let d=a.snapshotFilesList.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.snapshotFilesList[d].files=h.payload.files:a.snapshotFilesList.push(h.payload)},setSnapshotDownloadStatus:(a,h)=>{let d=a.snapshotDownloadStatus.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.snapshotDownloadStatus[d].downloadStatus=h.payload.downloadStatus:a.snapshotDownloadStatus.push(h.payload)},setSnapshotIndexStatus:(a,h)=>{let d=a.snapshotIndexStatus.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.snapshotIndexStatus[d].indexStatus=h.payload.indexStatus:a.snapshotIndexStatus.push(h.payload)},setNodeSyncStages:(a,h)=>{let d=a.syncStages.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.syncStages[d]=h.payload:a.syncStages.push(h.payload)},setTestSnpSyncMsgIdx:(a,h)=>{a.testSnpSyncMsgIdx=h.payload},resetSyncStagesState:()=>hH}}),{setSnapshotFilesList:BM0,resetSyncStagesState:Q2e,setSnapshotDownloadStatus:IM0,setSnapshotIndexStatus:xM0,setNodeSyncStages:SM0,setTestSnpSyncMsgIdx:T2e}=Qb.actions,Tb=a=>a.syncStages.snapshotDownloadStatus,Fb=ar([Tb,Hr],(a,h)=>{let d={};return a.forEach(k=>{k.nodeId===h&&(d=k.downloadStatus)}),d}),_M0=ar([Tb,Hr],(a,h)=>{let d=[];return a.forEach(y=>{y.nodeId===h&&y.downloadStatus.segments.forEach(I=>{d.push(...I.peers)})}),[...new Set(d)]}),zM0=a=>a.syncStages.snapshotIndexStatus;ar([zM0,Hr],(a,h)=>{let d={};return a.forEach(k=>{k.nodeId===h&&(d=k.indexStatus)}),d});const LM0=a=>a.syncStages.syncStages,RM0=ar([LM0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.stages)}),d}),GM0=a=>a.syncStages.snapshotFilesList,ZM0=ar([GM0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.files)}),d}),WM0=ar([ZM0],a=>(a==null?void 0:a.length)===0),DM0=Qb.reducer,wH={issues:[]},MM0=Yu({name:"issue",initialState:wH,reducers:{addOrUpdateIssue:(a,h)=>{let d=a.issues.findIndex(k=>k.nodeId===h.payload.nodeId);if(d!==-1){let k=a.issues[d].issues.findIndex(y=>y.id===h.payload.issue.id);k!==-1?a.issues[d].issues[k]=h.payload.issue:a.issues[d].issues.push(h.payload.issue)}else a.issues.push({nodeId:h.payload.nodeId,issues:[h.payload.issue]})},removeIssueWithId:(a,h)=>{let d=a.issues.findIndex(k=>k.nodeId===h.payload.nodeId);if(d!==-1){let k=a.issues[d].issues.findIndex(y=>y.id===h.payload.issueId);k!==-1&&a.issues[d].issues.splice(k,1)}},resetIssueState:()=>wH}}),jM0=a=>a.issues.issues,sz=ar([jM0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.issues)}),d}),NM0=ar([sz],a=>a.length>10?"9+":a.length.toString()),QM0=ar([sz],a=>{let h=[];return a.forEach(d=>{d.type==="NetworkSpeedIssue"&&h.push(d)}),h}),TM0=MM0.reducer;var Az="persist:",uz="persist/FLUSH",Rg="persist/REHYDRATE",az="persist/PAUSE",cz="persist/PERSIST",fz="persist/PURGE",hz="persist/REGISTER",FM0=-1;function t5(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t5=function(d){return typeof d}:t5=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},t5(a)}function dH(a,h){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(a);h&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(a,y).enumerable})),d.push.apply(d,k)}return d}function PM0(a){for(var h=1;h=0)&&Object.prototype.propertyIsEnumerable.call(a,k)&&(d[k]=a[k])}return d}function bM0(a,h){if(a==null)return{};var d={},k=Object.keys(a),y,I;for(I=0;I=0)&&(d[y]=a[y]);return d}var ej0=5e3;function rj0(a,h){var d=a.version!==void 0?a.version:FM0;a.debug;var k=a.stateReconciler===void 0?VM0:a.stateReconciler,y=a.getStoredState||JM0,I=a.timeout!==void 0?a.timeout:ej0,S=null,G=!1,R=!0,M=function(V){return V._persist.rehydrated&&S&&!R&&S.update(V),V};return function(Q,V){var e0=Q||{},l0=e0._persist,A0=KM0(e0,["_persist"]),n0=A0;if(V.type===cz){var h0=!1,u0=function(E0,z0){h0||(V.rehydrate(a.key,E0,z0),h0=!0)};if(I&&setTimeout(function(){!h0&&u0(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(a.key,'"')))},I),R=!1,S||(S=OM0(a)),l0)return Ds({},h(n0,V),{_persist:l0});if(typeof V.rehydrate!="function"||typeof V.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return V.register(a.key),y(a).then(function(w0){var E0=a.migrate||function(z0,W0){return Promise.resolve(z0)};E0(w0,d).then(function(z0){u0(z0)},function(z0){u0(void 0,z0)})},function(w0){u0(void 0,w0)}),Ds({},h(n0,V),{_persist:{version:d,rehydrated:!1}})}else{if(V.type===fz)return G=!0,V.result(XM0(a)),Ds({},h(n0,V),{_persist:l0});if(V.type===uz)return V.result(S&&S.flush()),Ds({},h(n0,V),{_persist:l0});if(V.type===az)R=!0;else if(V.type===Rg){if(G)return Ds({},n0,{_persist:Ds({},l0,{rehydrated:!0})});if(V.key===a.key){var c0=h(n0,V),f0=V.payload,y0=k!==!1&&f0!==void 0?k(f0,Q,c0,a):c0,C0=Ds({},y0,{_persist:Ds({},l0,{rehydrated:!0})});return M(C0)}}}if(!l0)return h(Q,V);var I0=h(n0,V);return I0===n0?Q:M(Ds({},I0,{_persist:l0}))}}function kH(a){return nj0(a)||ij0(a)||tj0()}function tj0(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ij0(a){if(Symbol.iterator in Object(a)||Object.prototype.toString.call(a)==="[object Arguments]")return Array.from(a)}function nj0(a){if(Array.isArray(a)){for(var h=0,d=new Array(a.length);h0&&arguments[0]!==void 0?arguments[0]:Pb,d=arguments.length>1?arguments[1]:void 0;switch(d.type){case hz:return Hx({},h,{registry:[].concat(kH(h.registry),[d.key])});case Rg:var k=h.registry.indexOf(d.key),y=kH(h.registry);return y.splice(k,1),Hx({},h,{registry:y,bootstrapped:y.length===0});default:return h}};function sj0(a,h,d){var k=d||!1,y=M_(lj0,Pb,h&&h.enhancer?h.enhancer:void 0),I=function(M){y.dispatch({type:hz,key:M})},S=function(M,Q,V){var e0={type:Rg,payload:Q,err:V,key:M};a.dispatch(e0),y.dispatch(e0),k&&G.getState().bootstrapped&&(k(),k=!1)},G=Hx({},y,{purge:function(){var M=[];return a.dispatch({type:fz,result:function(V){M.push(V)}}),Promise.all(M)},flush:function(){var M=[];return a.dispatch({type:uz,result:function(V){M.push(V)}}),Promise.all(M)},pause:function(){a.dispatch({type:az})},persist:function(){a.dispatch({type:cz,register:I,rehydrate:S})}});return h&&h.manualPersist||G.persist(),G}var wz={},dz={};dz.__esModule=!0;dz.default=aj0;function i5(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?i5=function(d){return typeof d}:i5=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},i5(a)}function YB(){}var Aj0={getItem:YB,setItem:YB,removeItem:YB};function uj0(a){if((typeof self>"u"?"undefined":i5(self))!=="object"||!(a in self))return!1;try{var h=self[a],d="redux-persist ".concat(a," test");h.setItem(d,"test"),h.getItem(d),h.removeItem(d)}catch{return!1}return!0}function aj0(a){var h="".concat(a,"Storage");return uj0(h)?self[h]:Aj0}wz.__esModule=!0;wz.default=hj0;var cj0=fj0(dz);function fj0(a){return a&&a.__esModule?a:{default:a}}function hj0(a){var h=(0,cj0.default)(a);return{getItem:function(k){return new Promise(function(y,I){y(h.getItem(k))})},setItem:function(k,y){return new Promise(function(I,S){I(h.setItem(k,y))})},removeItem:function(k){return new Promise(function(y,I){y(h.removeItem(k))})}}}var Yb=void 0,wj0=dj0(wz);function dj0(a){return a&&a.__esModule?a:{default:a}}var pj0=(0,wj0.default)("local");Yb=pj0;const mH={nodeHeaders:[]},Vb=Yu({name:"headers",initialState:mH,reducers:{addOrUpdateHeaders:(a,h)=>{let d=a.nodeHeaders.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.nodeHeaders[d].headers=h.payload.headers:a.nodeHeaders.push({nodeId:h.payload.nodeId,headers:h.payload.headers})},resetHeadersState:()=>mH}}),{addOrUpdateHeaders:kj0,resetHeadersState:F2e}=Vb.actions,vj0=a=>a.headers.nodeHeaders;ar([vj0,Hr],(a,h)=>a.find(d=>d.nodeId===h));const mj0=Vb.reducer,gH={networkSpeed:[],ramInfo:[],cpuInfo:[],diskInfo:[],processesInfo:[]},Ob=Yu({name:"systemInfo",initialState:gH,reducers:{addOrUpdateNetworkSpeed:(a,h)=>{let d=a.networkSpeed.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.networkSpeed[d].networkSpeed=h.payload.networkSpeed:a.networkSpeed.push({nodeId:h.payload.nodeId,networkSpeed:h.payload.networkSpeed})},addOrUpdateRAMInfo:(a,h)=>{let d=a.ramInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.ramInfo[d]=h.payload:a.ramInfo.push({nodeId:h.payload.nodeId,info:h.payload.info})},addOrUpdateCPUInfo:(a,h)=>{a.cpuInfo||(a.cpuInfo=[]);let d=a.cpuInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.cpuInfo[d].info=h.payload.info:a.cpuInfo.push({nodeId:h.payload.nodeId,info:h.payload.info,usage:{total:0,cores:[]}})},addOrUpdateCPUUsage:(a,h)=>{let d=a.cpuInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.cpuInfo[d].usage=h.payload.usage:a.cpuInfo.push({nodeId:h.payload.nodeId,info:[],usage:h.payload.usage})},addOrUpdateDiskInfo:(a,h)=>{let d=a.diskInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.diskInfo[d].info=h.payload.info:a.diskInfo.push({nodeId:h.payload.nodeId,info:h.payload.info})},addOrUpdateProcessesInfo:(a,h)=>{let d=a.processesInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.processesInfo[d].processes=h.payload.info:a.processesInfo.push({nodeId:h.payload.nodeId,processes:h.payload.info})},addOrUpdateRAMUsage:(a,h)=>{let d=a.ramInfo.findIndex(k=>k.nodeId===h.payload.nodeId);d!==-1?a.ramInfo[d].info.usedPercent=h.payload.usage:a.ramInfo.push({nodeId:h.payload.nodeId,info:{total:0,available:0,used:0,usedPercent:h.payload.usage}})},resetSystemInfoState:()=>gH}}),{addOrUpdateNetworkSpeed:P2e,addOrUpdateCPUInfo:gj0,addOrUpdateDiskInfo:yj0,addOrUpdateProcessesInfo:Cj0,addOrUpdateRAMInfo:Ej0,addOrUpdateCPUUsage:Bj0,addOrUpdateRAMUsage:Y2e,resetSystemInfoState:V2e}=Ob.actions,Ij0=a=>a.sysInfo.networkSpeed;ar([Ij0,Hr],(a,h)=>{let d={};return a.forEach(k=>{k.nodeId===h&&(d=k.networkSpeed)}),d});const xj0=a=>a.sysInfo.ramInfo,Sj0=ar([xj0,Hr],(a,h)=>{let d={};return a.forEach(k=>{k.nodeId===h&&(d=k.info)}),d}),Hb=a=>a.sysInfo.cpuInfo,Jb=ar([Hb,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.info)}),d}),_j0=ar([Hb,Hr],(a,h)=>{let d={total:0,cores:[]};return a.forEach(k=>{k.nodeId===h&&(d=k.usage)}),d}),zj0=a=>a.sysInfo.diskInfo,Lj0=ar([zj0,Hr],(a,h)=>{let d={};return a.forEach(k=>{k.nodeId===h&&(d=k.info)}),d}),Rj0=a=>a.sysInfo.processesInfo,Gj0=ar([Rj0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.processes)}),d}),Zj0=Ob.reducer,yH={profileData:[]},Ub=Yu({name:"profile",initialState:yH,reducers:{addProfile:(a,h)=>{let d=a.profileData.findIndex(k=>k.nodeId===h.payload.nodeId);if(d!==-1){let k=a.profileData[d].profileData.findIndex(y=>y.name===h.payload.profileName);k!==-1?(a.profileData[d].profileData[k].profile.push({date:new Date().toISOString(),data:h.payload.data}),a.profileData[d].profileData[k].profile.length>10&&a.profileData[d].profileData[k].profile.shift()):a.profileData[d].profileData.push({name:h.payload.profileName,profile:[{date:new Date().toISOString(),data:h.payload.data}]})}else a.profileData.push({nodeId:h.payload.nodeId,profileData:[{name:h.payload.profileName,profile:[{date:new Date().toISOString(),data:h.payload.data}]}]})},resetSyncStagesState:()=>yH}}),{addProfile:Wj0}=Ub.actions,Dj0=a=>a.profile.profileData,Mj0=ar([Dj0,Hr],(a,h)=>{let d=[];return a.forEach(k=>{k.nodeId===h&&(d=k.profileData)}),d}),jj0=Ub.reducer,Nj0={key:"root",blacklist:["connection"],storage:Yb},Qj0=zK({app:QR0,network:EM0,connection:aM0,syncStages:DM0,issues:TM0,headers:mj0,sysInfo:Zj0,profile:jj0}),Tj0=rj0(Nj0,Qj0),lr=rR0({reducer:Tj0,middleware:a=>a({serializableCheck:{ignoredActions:[uz,Rg,az,cz,fz,hz]}})}),Fj0=sj0(lr),n5=()=>lr.getState().connection.nodeConnectionType===D4.Local,Pj0="sessions",Yj0="nodes",Vj0="version",Oj0="flags",Hj0="cmdline",Jj0="logs",Uj0="sync-stages",Xb="dbs",Xj0="tables",qj0="reorgs",$j0="peers",Kj0="bootnodes",bj0="snapshot-sync",eN0="snapshot-files-list",rN0="headers",tN0="nodeinfo",iN0="hardware-info",nN0="cpu-usage",oN0="processes-info",lN0="pprof/goroutine",sN0="pprof/threadcreate",AN0="pprof/heap",uN0="pprof/allocs",aN0="pprof/block",cN0="pprof/mutex",fN0=()=>lr.getState().app.activeSessionPin,pz=(a=!1)=>{const h=fN0();let k=`${lr.getState().connection.backendAddress}/api`;return a&&(k+="/v2"),`${k}/${Pj0}/${h}`},$t=(a=!1)=>{if(n5())return`${lr.getState().connection.backendAddress}/debug/diag`;{const h=pz(a),d=lr.getState().app.activeNodeId;return`${h}/${Yj0}/${d}`}},hN0=()=>`${$t(!0)}/${Vj0}`,qb=()=>`${$t(!0)}/${Oj0}`,$b=()=>`${$t(!0)}/${Hj0}`,Kb=(a=!1)=>`${$t(a)}/${Jj0}`,bb=()=>`${$t()}/${Uj0}`,wN0=()=>`${$t(!0)}/${Xb}`,dN0=a=>`${$t()}/${Xb}/${a}/${Xj0}`,e00=()=>`${$t()}/${qj0}`,pN0=()=>`${$t(!0)}/${$j0}`,kN0=()=>`${$t(!0)}/${Kj0}`,vN0=()=>`${$t(!0)}/${bj0}`,mN0=()=>`${$t(!0)}/${eN0}`,gN0=()=>`${$t(!0)}/${rN0}`,yN0=()=>`${$t(!0)}/${tN0}`,CN0=()=>`${window.location.origin}/diagaddr`,EN0=()=>`${$t(!0)}/${iN0}`,BN0=()=>`${$t(!0)}/${nN0}`,IN0=()=>`${$t(!0)}/${oN0}`,xN0=()=>`${$t(!0)}/${lN0}`,SN0=()=>`${$t(!0)}/${sN0}`,CH=()=>`${$t(!0)}/${AN0}`,_N0=()=>`${$t(!0)}/${uN0}`,zN0=()=>`${$t(!0)}/${aN0}`,LN0=()=>`${$t(!0)}/${cN0}`,RN0=()=>{{const a=Hi(CN0(),"GET");return Oi(a)}},GN0=()=>{{const a=Hi(pz(),"GET");return Oi(a)}},ZN0=()=>{{const a=Hi(yN0(),"GET");return Oi(a)}},WN0=()=>{{const a=Hi(hN0(),"GET");return Oi(a)}},DN0=()=>{{const a=Hi(qb(),"GET");return Oi(a)}},MN0=()=>{{const a=Hi($b(),"GET");return Oi(a)}},jN0=()=>{{const a=Hi(Kb(!0),"GET");return Oi(a)}},NN0=()=>{{const a=Hi(bb(),"GET");return Oi(a)}},QN0=()=>{{const a=Hi(wN0(),"GET");return Oi(a)}},TN0=a=>{{const h=Hi(dN0(a),"GET");return Oi(h)}},FN0=()=>{{const a=Hi(e00(),"GET");return Oi(a)}},PN0=()=>{{const a=Hi(pN0(),"GET");return Oi(a)}},YN0=()=>{{const a=Hi(kN0(),"GET");return Oi(a)}},VN0=()=>{{const a=Hi(vN0(),"GET");return Oi(a)}},ON0=()=>{{const a=Hi(mN0(),"GET");return Oi(a)}},HN0=()=>{{const a=Hi(gN0(),"GET");return Oi(a)}},JN0=()=>{{const a=Hi(EN0(),"GET");return Oi(a)}},UN0=()=>{{const a=Hi(BN0(),"GET");return Oi(a)}},XN0=()=>{{const a=Hi(IN0(),"GET");return Oi(a)}},Oi=a=>fetch(a).then(h=>(lr.dispatch(cH(!0)),h.json())).catch(h=>{throw lr.dispatch(cH(!1)),h});function Hi(a,h,d){return new Request(a,{method:h,headers:{"Content-Type":"application/json"}})}var kz={},qN0=Qr;Object.defineProperty(kz,"__esModule",{value:!0});var nm=kz.default=void 0,$N0=qN0(rt()),KN0=J;nm=kz.default=(0,$N0.default)((0,KN0.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");var vz={},bN0=Qr;Object.defineProperty(vz,"__esModule",{value:!0});var ew=vz.default=void 0,eQ0=bN0(rt()),rQ0=J;ew=vz.default=(0,eQ0.default)((0,rQ0.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function r00(a){return dl}function tQ0(a){return typeof a=="string"}function iQ0(a,h,d){return a===void 0||tQ0(a)?h:Le({},h,{ownerState:Le({},h.ownerState,d)})}function nQ0(a,h=[]){if(a===void 0)return{};const d={};return Object.keys(a).filter(k=>k.match(/^on[A-Z]/)&&typeof a[k]=="function"&&!h.includes(k)).forEach(k=>{d[k]=a[k]}),d}function oQ0(a,h,d){return typeof a=="function"?a(h,d):a}function EH(a){if(a===void 0)return{};const h={};return Object.keys(a).filter(d=>!(d.match(/^on[A-Z]/)&&typeof a[d]=="function")).forEach(d=>{h[d]=a[d]}),h}function lQ0(a){const{getSlotProps:h,additionalProps:d,externalSlotProps:k,externalForwardedProps:y,className:I}=a;if(!h){const l0=Zt(d==null?void 0:d.className,I,y==null?void 0:y.className,k==null?void 0:k.className),A0=Le({},d==null?void 0:d.style,y==null?void 0:y.style,k==null?void 0:k.style),n0=Le({},d,y,k);return l0.length>0&&(n0.className=l0),Object.keys(A0).length>0&&(n0.style=A0),{props:n0,internalRef:void 0}}const S=nQ0(Le({},y,k)),G=EH(k),R=EH(y),M=h(S),Q=Zt(M==null?void 0:M.className,d==null?void 0:d.className,I,y==null?void 0:y.className,k==null?void 0:k.className),V=Le({},M==null?void 0:M.style,d==null?void 0:d.style,y==null?void 0:y.style,k==null?void 0:k.style),e0=Le({},M,d,R,G);return Q.length>0&&(e0.className=Q),Object.keys(V).length>0&&(e0.style=V),{props:e0,internalRef:M.ref}}const sQ0=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],AQ0=["component","slots","slotProps"],uQ0=["component"];function BH(a,h){const{className:d,elementType:k,ownerState:y,externalForwardedProps:I,getSlotOwnerState:S,internalForwardedProps:G}=h,R=At(h,sQ0),{component:M,slots:Q={[a]:void 0},slotProps:V={[a]:void 0}}=I,e0=At(I,AQ0),l0=Q[a]||k,A0=oQ0(V[a],y),n0=lQ0(Le({className:d},R,{externalForwardedProps:a==="root"?e0:void 0,externalSlotProps:A0})),{props:{component:h0},internalRef:u0}=n0,c0=At(n0.props,uQ0),f0=K5(u0,A0==null?void 0:A0.ref,h.ref),y0=S?S(c0):{},C0=Le({},y,y0),I0=a==="root"?h0||M:h0,w0=iQ0(l0,Le({},a==="root"&&!M&&!Q[a]&&G,a!=="root"&&!Q[a]&&G,c0,I0&&{as:I0},{ref:f0}),C0);return Object.keys(y0).forEach(E0=>{delete w0[E0]}),[l0,w0]}const aQ0=a=>{let h;return a<1?h=5.11916*a**2:h=4.5*Math.log(a+1)+2,(h/100).toFixed(2)},IH=aQ0,cQ0=["ownerState"],fQ0=["variants"],hQ0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function wQ0(a){return Object.keys(a).length===0}function dQ0(a){return typeof a=="string"&&a.charCodeAt(0)>96}function VB(a){return a!=="ownerState"&&a!=="theme"&&a!=="sx"&&a!=="as"}const pQ0=q6(),kQ0=a=>a&&a.charAt(0).toLowerCase()+a.slice(1);function kv({defaultTheme:a,theme:h,themeId:d}){return wQ0(h)?a:h[d]||h}function vQ0(a){return a?(h,d)=>d[a]:null}function o5(a,h){let{ownerState:d}=h,k=At(h,cQ0);const y=typeof a=="function"?a(Le({ownerState:d},k)):a;if(Array.isArray(y))return y.flatMap(I=>o5(I,Le({ownerState:d},k)));if(y&&typeof y=="object"&&Array.isArray(y.variants)){const{variants:I=[]}=y;let G=At(y,fQ0);return I.forEach(R=>{let M=!0;typeof R.props=="function"?M=R.props(Le({ownerState:d},k,d)):Object.keys(R.props).forEach(Q=>{(d==null?void 0:d[Q])!==R.props[Q]&&k[Q]!==R.props[Q]&&(M=!1)}),M&&(Array.isArray(G)||(G=[G]),G.push(typeof R.style=="function"?R.style(Le({ownerState:d},k,d)):R.style))}),G}return y}function mQ0(a={}){const{themeId:h,defaultTheme:d=pQ0,rootShouldForwardProp:k=VB,slotShouldForwardProp:y=VB}=a,I=S=>Eg(Le({},S,{theme:kv(Le({},S,{defaultTheme:d,themeId:h}))}));return I.__mui_systemSx=!0,(S,G={})=>{gb(S,C0=>C0.filter(I0=>!(I0!=null&&I0.__mui_systemSx)));const{name:R,slot:M,skipVariantsResolver:Q,skipSx:V,overridesResolver:e0=vQ0(kQ0(M))}=G,l0=At(G,hQ0),A0=Q!==void 0?Q:M&&M!=="Root"&&M!=="root"||!1,n0=V||!1;let h0,u0=VB;M==="Root"||M==="root"?u0=k:M?u0=y:dQ0(S)&&(u0=void 0);const c0=mb(S,Le({shouldForwardProp:u0,label:h0},l0)),f0=C0=>typeof C0=="function"&&C0.__emotion_real!==C0||Ts(C0)?I0=>o5(C0,Le({},I0,{theme:kv({theme:I0.theme,defaultTheme:d,themeId:h})})):C0,y0=(C0,...I0)=>{let w0=f0(C0);const E0=I0?I0.map(f0):[];R&&e0&&E0.push(P0=>{const R0=kv(Le({},P0,{defaultTheme:d,themeId:h}));if(!R0.components||!R0.components[R]||!R0.components[R].styleOverrides)return null;const T0=R0.components[R].styleOverrides,q0={};return Object.entries(T0).forEach(([ae,de])=>{q0[ae]=o5(de,Le({},P0,{theme:R0}))}),e0(P0,q0)}),R&&!A0&&E0.push(P0=>{var R0;const T0=kv(Le({},P0,{defaultTheme:d,themeId:h})),q0=T0==null||(R0=T0.components)==null||(R0=R0[R])==null?void 0:R0.variants;return o5({variants:q0},Le({},P0,{theme:T0}))}),n0||E0.push(I);const z0=E0.length-I0.length;if(Array.isArray(C0)&&z0>0){const P0=new Array(z0).fill("");w0=[...C0,...P0],w0.raw=[...C0.raw,...P0]}const W0=c0(w0,...E0);return S.muiName&&(W0.muiName=S.muiName),W0};return c0.withConfig&&(y0.withConfig=c0.withConfig),y0}}const gQ0=mQ0(),yQ0=gQ0,CQ0=["component","direction","spacing","divider","children","className","useFlexGap"],EQ0=q6(),BQ0=yQ0("div",{name:"MuiStack",slot:"Root",overridesResolver:(a,h)=>h.root});function IQ0(a){return yb({props:a,name:"MuiStack",defaultTheme:EQ0})}function xQ0(a,h){const d=Q0.Children.toArray(a).filter(Boolean);return d.reduce((k,y,I)=>(k.push(y),I({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[a],_Q0=({ownerState:a,theme:h})=>{let d=Le({display:"flex",flexDirection:"column"},wl({theme:h},NB({values:a.direction,breakpoints:h.breakpoints.values}),k=>({flexDirection:k})));if(a.spacing){const k=J_(h),y=Object.keys(h.breakpoints.values).reduce((R,M)=>((typeof a.spacing=="object"&&a.spacing[M]!=null||typeof a.direction=="object"&&a.direction[M]!=null)&&(R[M]=!0),R),{}),I=NB({values:a.direction,base:y}),S=NB({values:a.spacing,base:y});typeof I=="object"&&Object.keys(I).forEach((R,M,Q)=>{if(!I[R]){const e0=M>0?I[Q[M-1]]:"column";I[R]=e0}}),d=Ro(d,wl({theme:h},S,(R,M)=>a.useFlexGap?{gap:kc(k,R)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${SQ0(M?I[M]:a.direction)}`]:kc(k,R)}}))}return d=SG0(h.breakpoints,d),d};function zQ0(a={}){const{createStyledComponent:h=BQ0,useThemeProps:d=IQ0,componentName:k="MuiStack"}=a,y=()=>Qo({root:["root"]},R=>io(k,R),{}),I=h(_Q0);return Q0.forwardRef(function(R,M){const Q=d(R),V=b_(Q),{component:e0="div",direction:l0="column",spacing:A0=0,divider:n0,children:h0,className:u0,useFlexGap:c0=!1}=V,f0=At(V,CQ0),y0={direction:l0,spacing:A0,useFlexGap:c0},C0=y();return J.jsx(I,Le({as:e0,ownerState:y0,ref:M,className:Zt(C0.root,u0)},f0,{children:n0?xQ0(h0,n0):h0}))})}function LQ0(a){return io("MuiPaper",a)}To("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const RQ0=["className","component","elevation","square","variant"],GQ0=a=>{const{square:h,elevation:d,variant:k,classes:y}=a,I={root:["root",k,!h&&"rounded",k==="elevation"&&`elevation${d}`]};return Qo(I,LQ0,y)},ZQ0=St("div",{name:"MuiPaper",slot:"Root",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.root,h[d.variant],!d.square&&h.rounded,d.variant==="elevation"&&h[`elevation${d.elevation}`]]}})(({theme:a,ownerState:h})=>{var d;return Le({backgroundColor:(a.vars||a).palette.background.paper,color:(a.vars||a).palette.text.primary,transition:a.transitions.create("box-shadow")},!h.square&&{borderRadius:a.shape.borderRadius},h.variant==="outlined"&&{border:`1px solid ${(a.vars||a).palette.divider}`},h.variant==="elevation"&&Le({boxShadow:(a.vars||a).shadows[h.elevation]},!a.vars&&a.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${rs("#fff",IH(h.elevation))}, ${rs("#fff",IH(h.elevation))})`},a.vars&&{backgroundImage:(d=a.vars.overlays)==null?void 0:d[h.elevation]}))}),WQ0=Q0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiPaper"}),{className:y,component:I="div",elevation:S=1,square:G=!1,variant:R="elevation"}=k,M=At(k,RQ0),Q=Le({},k,{component:I,elevation:S,square:G,variant:R}),V=GQ0(Q);return J.jsx(ZQ0,Le({as:I,ownerState:Q,className:Zt(V.root,y),ref:d},M))}),DQ0=WQ0;function MQ0(a){return io("MuiAlert",a)}const jQ0=To("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),xH=jQ0;function om(a,h){return om=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,y){return k.__proto__=y,k},om(a,h)}function NQ0(a,h){a.prototype=Object.create(h.prototype),a.prototype.constructor=a,om(a,h)}const SH=Je.createContext(null);function Ge(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function mz(a,h){var d=function(I){return h&&Q0.isValidElement(I)?h(I):I},k=Object.create(null);return a&&Q0.Children.map(a,function(y){return y}).forEach(function(y){k[y.key]=d(y)}),k}function QQ0(a,h){a=a||{},h=h||{};function d(Q){return Q in h?h[Q]:a[Q]}var k=Object.create(null),y=[];for(var I in a)I in h?y.length&&(k[I]=y,y=[]):y.push(I);var S,G={};for(var R in h){if(k[R])for(S=0;S{if(!G&&R!=null){const n0=setTimeout(R,M);return()=>{clearTimeout(n0)}}},[R,G,M]),J.jsx("span",{className:e0,style:l0,children:J.jsx("span",{className:A0})})}const HQ0=To("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Io=HQ0,JQ0=["center","classes","className"];let Gg=a=>a,_H,zH,LH,RH;const Jx=550,UQ0=80,XQ0=w3(_H||(_H=Gg` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),qQ0=w3(zH||(zH=Gg` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),$Q0=w3(LH||(LH=Gg` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),KQ0=St("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),bQ0=St(OQ0,{name:"MuiTouchRipple",slot:"Ripple"})(RH||(RH=Gg` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Io.rippleVisible,XQ0,Jx,({theme:a})=>a.transitions.easing.easeInOut,Io.ripplePulsate,({theme:a})=>a.transitions.duration.shorter,Io.child,Io.childLeaving,qQ0,Jx,({theme:a})=>a.transitions.easing.easeInOut,Io.childPulsate,$Q0,({theme:a})=>a.transitions.easing.easeInOut),eT0=Q0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiTouchRipple"}),{center:y=!1,classes:I={},className:S}=k,G=At(k,JQ0),[R,M]=Q0.useState([]),Q=Q0.useRef(0),V=Q0.useRef(null);Q0.useEffect(()=>{V.current&&(V.current(),V.current=null)},[R]);const e0=Q0.useRef(!1),l0=uG0(),A0=Q0.useRef(null),n0=Q0.useRef(null),h0=Q0.useCallback(y0=>{const{pulsate:C0,rippleX:I0,rippleY:w0,rippleSize:E0,cb:z0}=y0;M(W0=>[...W0,J.jsx(bQ0,{classes:{ripple:Zt(I.ripple,Io.ripple),rippleVisible:Zt(I.rippleVisible,Io.rippleVisible),ripplePulsate:Zt(I.ripplePulsate,Io.ripplePulsate),child:Zt(I.child,Io.child),childLeaving:Zt(I.childLeaving,Io.childLeaving),childPulsate:Zt(I.childPulsate,Io.childPulsate)},timeout:Jx,pulsate:C0,rippleX:I0,rippleY:w0,rippleSize:E0},Q.current)]),Q.current+=1,V.current=z0},[I]),u0=Q0.useCallback((y0={},C0={},I0=()=>{})=>{const{pulsate:w0=!1,center:E0=y||C0.pulsate,fakeElement:z0=!1}=C0;if((y0==null?void 0:y0.type)==="mousedown"&&e0.current){e0.current=!1;return}(y0==null?void 0:y0.type)==="touchstart"&&(e0.current=!0);const W0=z0?null:n0.current,P0=W0?W0.getBoundingClientRect():{width:0,height:0,left:0,top:0};let R0,T0,q0;if(E0||y0===void 0||y0.clientX===0&&y0.clientY===0||!y0.clientX&&!y0.touches)R0=Math.round(P0.width/2),T0=Math.round(P0.height/2);else{const{clientX:ae,clientY:de}=y0.touches&&y0.touches.length>0?y0.touches[0]:y0;R0=Math.round(ae-P0.left),T0=Math.round(de-P0.top)}if(E0)q0=Math.sqrt((2*P0.width**2+P0.height**2)/3),q0%2===0&&(q0+=1);else{const ae=Math.max(Math.abs((W0?W0.clientWidth:0)-R0),R0)*2+2,de=Math.max(Math.abs((W0?W0.clientHeight:0)-T0),T0)*2+2;q0=Math.sqrt(ae**2+de**2)}y0!=null&&y0.touches?A0.current===null&&(A0.current=()=>{h0({pulsate:w0,rippleX:R0,rippleY:T0,rippleSize:q0,cb:I0})},l0.start(UQ0,()=>{A0.current&&(A0.current(),A0.current=null)})):h0({pulsate:w0,rippleX:R0,rippleY:T0,rippleSize:q0,cb:I0})},[y,h0,l0]),c0=Q0.useCallback(()=>{u0({},{pulsate:!0})},[u0]),f0=Q0.useCallback((y0,C0)=>{if(l0.clear(),(y0==null?void 0:y0.type)==="touchend"&&A0.current){A0.current(),A0.current=null,l0.start(0,()=>{f0(y0,C0)});return}A0.current=null,M(I0=>I0.length>0?I0.slice(1):I0),V.current=C0},[l0]);return Q0.useImperativeHandle(d,()=>({pulsate:c0,start:u0,stop:f0}),[c0,u0,f0]),J.jsx(KQ0,Le({className:Zt(Io.root,I.root,S),ref:n0},G,{children:J.jsx(VQ0,{component:null,exit:!0,children:R})}))}),rT0=eT0;function tT0(a){return io("MuiButtonBase",a)}const iT0=To("MuiButtonBase",["root","disabled","focusVisible"]),nT0=iT0,oT0=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],lT0=a=>{const{disabled:h,focusVisible:d,focusVisibleClassName:k,classes:y}=a,S=Qo({root:["root",h&&"disabled",d&&"focusVisible"]},tT0,y);return d&&k&&(S.root+=` ${k}`),S},sT0=St("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(a,h)=>h.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${nT0.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),AT0=Q0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiButtonBase"}),{action:y,centerRipple:I=!1,children:S,className:G,component:R="button",disabled:M=!1,disableRipple:Q=!1,disableTouchRipple:V=!1,focusRipple:e0=!1,LinkComponent:l0="a",onBlur:A0,onClick:n0,onContextMenu:h0,onDragLeave:u0,onFocus:c0,onFocusVisible:f0,onKeyDown:y0,onKeyUp:C0,onMouseDown:I0,onMouseLeave:w0,onMouseUp:E0,onTouchEnd:z0,onTouchMove:W0,onTouchStart:P0,tabIndex:R0=0,TouchRippleProps:T0,touchRippleRef:q0,type:ae}=k,de=At(k,oT0),Se=Q0.useRef(null),we=Q0.useRef(null),Ie=K5(we,q0),{isFocusVisibleRef:Ne,onFocus:f2,onBlur:a2,ref:H2}=UK(),[j2,qe]=Q0.useState(!1);M&&j2&&qe(!1),Q0.useImperativeHandle(y,()=>({focusVisible:()=>{qe(!0),Se.current.focus()}}),[]);const[ye,Be]=Q0.useState(!1);Q0.useEffect(()=>{Be(!0)},[]);const Ce=ye&&!Q&&!M;Q0.useEffect(()=>{j2&&e0&&!Q&&ye&&we.current.pulsate()},[Q,e0,j2,ye]);function _e(R2,hs,G1=V){return j8(no=>(hs&&hs(no),!G1&&we.current&&we.current[R2](no),!0))}const ce=_e("start",I0),Ue=_e("stop",h0),Ye=_e("stop",u0),He=_e("stop",E0),Ee=_e("stop",R2=>{j2&&R2.preventDefault(),w0&&w0(R2)}),xe=_e("start",P0),Pe=_e("stop",z0),je=_e("stop",W0),r2=_e("stop",R2=>{a2(R2),Ne.current===!1&&qe(!1),A0&&A0(R2)},!1),n2=j8(R2=>{Se.current||(Se.current=R2.currentTarget),f2(R2),Ne.current===!0&&(qe(!0),f0&&f0(R2)),c0&&c0(R2)}),h2=()=>{const R2=Se.current;return R&&R!=="button"&&!(R2.tagName==="A"&&R2.href)},N2=Q0.useRef(!1),b2=j8(R2=>{e0&&!N2.current&&j2&&we.current&&R2.key===" "&&(N2.current=!0,we.current.stop(R2,()=>{we.current.start(R2)})),R2.target===R2.currentTarget&&h2()&&R2.key===" "&&R2.preventDefault(),y0&&y0(R2),R2.target===R2.currentTarget&&h2()&&R2.key==="Enter"&&!M&&(R2.preventDefault(),n0&&n0(R2))}),mr=j8(R2=>{e0&&R2.key===" "&&we.current&&j2&&!R2.defaultPrevented&&(N2.current=!1,we.current.stop(R2,()=>{we.current.pulsate(R2)})),C0&&C0(R2),n0&&R2.target===R2.currentTarget&&h2()&&R2.key===" "&&!R2.defaultPrevented&&n0(R2)});let xr=R;xr==="button"&&(de.href||de.to)&&(xr=l0);const tt={};xr==="button"?(tt.type=ae===void 0?"button":ae,tt.disabled=M):(!de.href&&!de.to&&(tt.role="button"),M&&(tt["aria-disabled"]=M));const nn=K5(d,H2,Se),Ji=Le({},k,{centerRipple:I,component:R,disabled:M,disableRipple:Q,disableTouchRipple:V,focusRipple:e0,tabIndex:R0,focusVisible:j2}),ki=lT0(Ji);return J.jsxs(sT0,Le({as:xr,className:Zt(ki.root,G),ownerState:Ji,onBlur:r2,onClick:n0,onContextMenu:Ue,onFocus:n2,onKeyDown:b2,onKeyUp:mr,onMouseDown:ce,onMouseLeave:Ee,onMouseUp:He,onDragLeave:Ye,onTouchEnd:Pe,onTouchMove:je,onTouchStart:xe,ref:nn,tabIndex:M?-1:R0,type:ae},tt,de,{children:[S,Ce?J.jsx(rT0,Le({ref:Ie,center:I},T0)):null]}))}),yz=AT0;function uT0(a){return io("MuiIconButton",a)}const aT0=To("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),cT0=aT0,fT0=["edge","children","className","color","disabled","disableFocusRipple","size"],hT0=a=>{const{classes:h,disabled:d,color:k,edge:y,size:I}=a,S={root:["root",d&&"disabled",k!=="default"&&`color${K2(k)}`,y&&`edge${K2(y)}`,`size${K2(I)}`]};return Qo(S,uT0,h)},wT0=St(yz,{name:"MuiIconButton",slot:"Root",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.root,d.color!=="default"&&h[`color${K2(d.color)}`],d.edge&&h[`edge${K2(d.edge)}`],h[`size${K2(d.size)}`]]}})(({theme:a,ownerState:h})=>Le({textAlign:"center",flex:"0 0 auto",fontSize:a.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(a.vars||a).palette.action.active,transition:a.transitions.create("background-color",{duration:a.transitions.duration.shortest})},!h.disableRipple&&{"&:hover":{backgroundColor:a.vars?`rgba(${a.vars.palette.action.activeChannel} / ${a.vars.palette.action.hoverOpacity})`:rs(a.palette.action.active,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},h.edge==="start"&&{marginLeft:h.size==="small"?-3:-12},h.edge==="end"&&{marginRight:h.size==="small"?-3:-12}),({theme:a,ownerState:h})=>{var d;const k=(d=(a.vars||a).palette)==null?void 0:d[h.color];return Le({},h.color==="inherit"&&{color:"inherit"},h.color!=="inherit"&&h.color!=="default"&&Le({color:k==null?void 0:k.main},!h.disableRipple&&{"&:hover":Le({},k&&{backgroundColor:a.vars?`rgba(${k.mainChannel} / ${a.vars.palette.action.hoverOpacity})`:rs(k.main,a.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),h.size==="small"&&{padding:5,fontSize:a.typography.pxToRem(18)},h.size==="large"&&{padding:12,fontSize:a.typography.pxToRem(28)},{[`&.${cT0.disabled}`]:{backgroundColor:"transparent",color:(a.vars||a).palette.action.disabled}})}),dT0=Q0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiIconButton"}),{edge:y=!1,children:I,className:S,color:G="default",disabled:R=!1,disableFocusRipple:M=!1,size:Q="medium"}=k,V=At(k,fT0),e0=Le({},k,{edge:y,color:G,disabled:R,disableFocusRipple:M,size:Q}),l0=hT0(e0);return J.jsx(wT0,Le({className:Zt(l0.root,S),centerRipple:!0,focusRipple:!M,disabled:R,ref:d},V,{ownerState:e0,children:I}))}),pT0=dT0,kT0=Sc(J.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),vT0=Sc(J.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),mT0=Sc(J.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),gT0=Sc(J.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),yT0=Sc(J.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),CT0=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],ET0=r00(),BT0=a=>{const{variant:h,color:d,severity:k,classes:y}=a,I={root:["root",`color${K2(d||k)}`,`${h}${K2(d||k)}`,`${h}`],icon:["icon"],message:["message"],action:["action"]};return Qo(I,MQ0,y)},IT0=St(DQ0,{name:"MuiAlert",slot:"Root",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.root,h[d.variant],h[`${d.variant}${K2(d.color||d.severity)}`]]}})(({theme:a})=>{const h=a.palette.mode==="light"?rm:tm,d=a.palette.mode==="light"?tm:rm;return Le({},a.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(a.palette).filter(([,k])=>k.main&&k.light).map(([k])=>({props:{colorSeverity:k,variant:"standard"},style:{color:a.vars?a.vars.palette.Alert[`${k}Color`]:h(a.palette[k].light,.6),backgroundColor:a.vars?a.vars.palette.Alert[`${k}StandardBg`]:d(a.palette[k].light,.9),[`& .${xH.icon}`]:a.vars?{color:a.vars.palette.Alert[`${k}IconColor`]}:{color:a.palette[k].main}}})),...Object.entries(a.palette).filter(([,k])=>k.main&&k.light).map(([k])=>({props:{colorSeverity:k,variant:"outlined"},style:{color:a.vars?a.vars.palette.Alert[`${k}Color`]:h(a.palette[k].light,.6),border:`1px solid ${(a.vars||a).palette[k].light}`,[`& .${xH.icon}`]:a.vars?{color:a.vars.palette.Alert[`${k}IconColor`]}:{color:a.palette[k].main}}})),...Object.entries(a.palette).filter(([,k])=>k.main&&k.dark).map(([k])=>({props:{colorSeverity:k,variant:"filled"},style:Le({fontWeight:a.typography.fontWeightMedium},a.vars?{color:a.vars.palette.Alert[`${k}FilledColor`],backgroundColor:a.vars.palette.Alert[`${k}FilledBg`]}:{backgroundColor:a.palette.mode==="dark"?a.palette[k].dark:a.palette[k].main,color:a.palette.getContrastText(a.palette[k].main)})}))]})}),xT0=St("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(a,h)=>h.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),ST0=St("div",{name:"MuiAlert",slot:"Message",overridesResolver:(a,h)=>h.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),GH=St("div",{name:"MuiAlert",slot:"Action",overridesResolver:(a,h)=>h.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),ZH={success:J.jsx(kT0,{fontSize:"inherit"}),warning:J.jsx(vT0,{fontSize:"inherit"}),error:J.jsx(mT0,{fontSize:"inherit"}),info:J.jsx(gT0,{fontSize:"inherit"})},_T0=Q0.forwardRef(function(h,d){const k=ET0({props:h,name:"MuiAlert"}),{action:y,children:I,className:S,closeText:G="Close",color:R,components:M={},componentsProps:Q={},icon:V,iconMapping:e0=ZH,onClose:l0,role:A0="alert",severity:n0="success",slotProps:h0={},slots:u0={},variant:c0="standard"}=k,f0=At(k,CT0),y0=Le({},k,{color:R,severity:n0,variant:c0,colorSeverity:R||n0}),C0=BT0(y0),I0={slots:Le({closeButton:M.CloseButton,closeIcon:M.CloseIcon},u0),slotProps:Le({},Q,h0)},[w0,E0]=BH("closeButton",{elementType:pT0,externalForwardedProps:I0,ownerState:y0}),[z0,W0]=BH("closeIcon",{elementType:yT0,externalForwardedProps:I0,ownerState:y0});return J.jsxs(IT0,Le({role:A0,elevation:0,ownerState:y0,className:Zt(C0.root,S),ref:d},f0,{children:[V!==!1?J.jsx(xT0,{ownerState:y0,className:C0.icon,children:V||e0[n0]||ZH[n0]}):null,J.jsx(ST0,{ownerState:y0,className:C0.message,children:I}),y!=null?J.jsx(GH,{ownerState:y0,className:C0.action,children:y}):null,y==null&&l0?J.jsx(GH,{ownerState:y0,className:C0.action,children:J.jsx(w0,Le({size:"small","aria-label":G,title:G,color:"inherit",onClick:l0},E0,{children:J.jsx(z0,Le({fontSize:"small"},W0))}))}):null]}))}),t00=_T0,i00=()=>J.jsx("div",{className:"justify-center items-center flex top-[80vh] bottom-0 left-0 right-0 z-50 absolute",children:J.jsx("div",{className:"absolute bottom-[50px] flex items-center w-fit h-fit",role:"alert",children:J.jsx(t00,{severity:"success",children:"Copied!"})})}),zT0=({value:a,onClose:h})=>{const[d,k]=Je.useState(!1),y=()=>{k(!0),setTimeout(()=>{k(!1)},1500),navigator.clipboard.writeText(a.value)};return J.jsxs(J.Fragment,{children:[J.jsxs("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-0 z-50 outline-none focus:outline-none absolute bg-black/[.4]",children:[J.jsx("div",{className:"relative w-auto my-6 mx-auto max-w-3xl",children:J.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-white outline-none focus:outline-none items-center p-4 min-w-[20vw]",children:[J.jsxs("div",{className:"flex flex-row w-full",children:[J.jsx("div",{className:"flex-[1]"}),J.jsx("div",{className:"flex flex-[2] justify-center",children:J.jsx("h3",{className:"text-3xl font-semibold",children:a.key})}),J.jsx("div",{className:"flex flex-[1] justify-end",children:J.jsx(ew,{onClick:()=>h(),className:"cursor-pointer"})})]}),J.jsx("div",{className:"inline-block relative p-6 flex-auto justify-center items-center w-full break-all max-h-[80vh] overflow-scroll",children:J.jsx("p",{className:"my-4 text-slate-500 text-lg leading-relaxed",children:a.value})}),J.jsx("div",{className:"flex items-center justify-end p-6",children:J.jsx(nm,{onClick:()=>y(),className:"cursor-pointer"})})]})}),d&&J.jsx(i00,{})]}),J.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})};var Ux=(a=>(a.Command="Command",a.Flags="Flags",a.NodeInfo="Node Info",a.SyncStages="Stages",a.Reorgs="Reorgs",a))(Ux||{});const LT0=({cmdLine:a,flags:h,nodeDetails:d,syncStages:k,reorgs:y})=>{const[I,S]=Q0.useState("Command"),[G,R]=Q0.useState(!1),[M,Q]=Q0.useState(null),V=Q0.useRef(null);async function e0(u0){return"clipboard"in navigator?await navigator.clipboard.writeText(u0):document.execCommand("copy",!0,u0)}const l0=()=>{let u0="";switch(I){case"Command":u0=$b();break;case"Flags":u0=qb();break;case"Node Info":u0=pz();break;case"Stages":u0=bb();break;case"Reorgs":u0=e00();break}return u0},A0=()=>{const u0=l0();e0(u0).then(()=>{R(!0),setTimeout(()=>{R(!1)},1500)}).catch(c0=>{console.log(c0)})},n0=u0=>{S(u0),h0()},h0=()=>{V.current&&V.current.scroll({top:0,behavior:"smooth"})};return J.jsxs("div",{className:"flex flex-row",children:[J.jsxs("div",{className:"flex flex-col max-h-[90vh] items-center justify-center w-full",children:[J.jsxs("div",{className:"flex flex-row",children:[J.jsx(GB,{tab:"Command",selectedTab:I,testId:"command_button",onButtonClicked:u0=>{n0(u0)}}),J.jsx(GB,{tab:"Flags",selectedTab:I,testId:"flags_button",onButtonClicked:u0=>{n0(u0)}}),J.jsx(GB,{tab:"Node Info",selectedTab:I,testId:"node_info_button",onButtonClicked:u0=>{n0(u0)}}),J.jsx("div",{className:"w-5"}),J.jsx(us,{backgroundColor:k3,label:G?"Copied":"Copy curl",onClick:()=>A0(),primary:!0})]}),J.jsx("div",{className:"h-10"}),J.jsxs("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-w-[1400px] min-w-[30vw] overflow-auto","data-testid":"test_details_section_content",ref:V,children:[I==="Command"&&J.jsx(TR0,{cmdLine:a}),I==="Flags"&&J.jsx(iM0,{flags:h}),I==="Node Info"&&J.jsx(oM0,{nodeDetails:d,onShowNodeValueDetails:(u0,c0)=>{Q({key:u0,value:c0})}}),I==="Stages"&&J.jsx(lM0,{syncStages:k}),I==="Reorgs"&&J.jsx(sM0,{reorg:y})]})]}),M&&J.jsx(zT0,{value:M,onClose:()=>Q(null)})]})},RT0=()=>{const a=q2(Hr),h=q2(NK),d=q2(WR0),k=q2(RR0),y=q2(MR0),I=q2(jR0);return J.jsx("div",{className:"mt-4",children:a!==""&&J.jsx(LT0,{cmdLine:d,flags:h,nodeDetails:k,syncStages:y,reorgs:I})})},GT0=a=>{let h={eth:{network:0,difficulty:0,genesis:"",config:{}}};if(a.protocols){const k=atob(a.protocols);h=JSON.parse(k)}let d=[];return d.push({enode:a.enode||"",enr:a.enr||"",ports:{discovery:a.ports.discovery||0,listener:a.ports.listener||0},listener_addr:a.listener_addr||""}),{id:a.id,name:a.name,protocols:n00(h),enodes:o00(d)}},ZT0=a=>({id:a.id,name:a.name,protocols:n00(a.protocols),enodes:o00(a.enodes)}),n00=a=>({eth:WT0(a.eth)}),WT0=a=>({network:a.network,difficulty:a.difficulty,genesis:a.genesis,config:a.config}),o00=a=>{let h=[];return a.forEach(d=>{h.push({enode:d.enode,enr:d.enr,ports:d.ports,listener_addr:d.listener_addr})}),h},DT0=["boolean","string","number"],MT0=a=>{let h=[];for(let d in a)h.push(jT0(d,a[d]));return h},jT0=(a,h)=>({flag:a,default:h.default,usage:h.usage,value:NT0(h.value)}),NT0=a=>{let h=typeof a;return DT0.includes(h)||QT0(a)||TT0(a)?a:""};function QT0(a){return Array.isArray(a)&&a.every(h=>typeof h=="string")}function TT0(a){return Array.isArray(a)&&a.every(h=>typeof h=="number")}const FT0=a=>({nodeVersion:a.nodeVersion,supportVersion:a.supportVersion,codeVersion:a.codeVersion,gitCommit:a.gitCommit}),PT0=a=>{let h=Object.keys(a),d=[];return h.forEach(k=>{d.push({key:k,value:a[k]})}),d},YT0=(a,h)=>({enr:(a==null?void 0:a.enr)||"",enode:(a==null?void 0:a.enode)||"",id:a.id,name:a.name,caps:a.caps,network:VT0(a,h),protocols:a.protocols,type:a.type,lastUpdateTime:0,active:!0}),VT0=(a,h)=>({localAddress:a.network.localAddress,remoteAddress:a.network.remoteAddress,inbound:a.network.inbound,trusted:a.network.trusted,static:a.network.static,bootnode:OT0(a.enr,h),bytesIn:a.network.bytesIn,bytesOut:a.network.bytesOut,capBytesIn:vv(a.network.capBytesIn),capBytesOut:vv(a.network.capBytesOut),typeBytesIn:vv(a.network.typeBytesIn),typeBytesOut:vv(a.network.typeBytesOut),inRate:0,outRate:0,sCountedBytesIn:0,sCountedBytesOut:0}),OT0=(a,h)=>h.includes(a),vv=a=>{let h=new Map;for(let k in a)h.set(k,a[k]);return Object.fromEntries(h)},HT0=(a,h,d)=>{let k=[];for(let Q in a.segmentsDownloading){let V=JT0(Q,d);Q.includes("beaconblocks")&&(V=100),k.push(UT0(a.segmentsDownloading[Q],V,Q))}let y=(h==null?void 0:h.downloadFinished)||!1;if(!y){let Q=!1;for(let V of k)if(V.downloadedBytesR?G.push(R):G.length>0?G[G.length-1]=R:G.push(R),{downloaded:a.downloaded,total:a.total,totalTime:G,downloadRate:a.downloadRate,uploadRate:a.uploadRate,peers:a.peers,files:a.files,connections:a.connections,alloc:a.alloc,sys:a.sys,downloadFinished:y,segments:k,indexingFinished:I,indexed:S,torrentMetadataReady:a.torrentMetadataReady}},JT0=(a,h)=>{let d=h.segments.find(k=>k.name===a);return d?d.progress:0},UT0=(a,h,d)=>({name:d,totalBytes:a.totalBytes,downloadedBytes:a.downloadedBytes,webseeds:WH(a.webseeds),peers:WH(a.peers),indexed:h,downloadedStats:XT0(a==null?void 0:a.downloadedStats)}),XT0=a=>a?{timeTook:a==null?void 0:a.timeTook,averageRate:a==null?void 0:a.averageRate}:null,WH=a=>{if(a){let h=[];return a.forEach(d=>{h.push({url:d.url,downloadRate:d.downloadRate,remoteAddr:d.remoteAddr,peerId:d.peerId,piecesCount:d.piecesCount,torrentName:d.torrentName})}),h}else return[]},qT0=(a,h)=>{let d=[],k=0;if(a.segments!==null)for(let G in a.segments){let R=$T0(a.segments[G]);d.push(R),k+=R.progress}d.length>0&&(k=k/h);let y=[0],I=a.timeElapsed;return(y[y.length-1]||0)>I?y.push(I):y.length>0?y[y.length-1]=I:y.push(I),{totalTime:y,progress:k,segments:d,alloc:0,sys:0}},$T0=a=>({name:a.segmentName,progress:a.percent}),KT0=a=>{var h,d,k,y,I,S,G,R,M,Q,V,e0,l0,A0;return{canonicalMarker:{ancestorHash:((h=a==null?void 0:a.canonicalMarker)==null?void 0:h.ancestorHash)||"",ancestorHeight:((d=a==null?void 0:a.canonicalMarker)==null?void 0:d.ancestorHeight)||0},waitingForHeaders:(a==null?void 0:a.waitingForHeaders)||0,processed:{age:((k=a==null?void 0:a.processed)==null?void 0:k.age)||0,blkPerSec:((y=a==null?void 0:a.processed)==null?void 0:y.blkPerSec)||0,headers:((I=a==null?void 0:a.processed)==null?void 0:I.headers)||0,highest:((S=a==null?void 0:a.processed)==null?void 0:S.highest)||0,in:((G=a==null?void 0:a.processed)==null?void 0:G.in)||0},write:{alloc:((R=a==null?void 0:a.writeHeaders)==null?void 0:R.alloc)||0,blockNumber:((M=a==null?void 0:a.writeHeaders)==null?void 0:M.blockNumber)||0,invalidHeaders:((Q=a==null?void 0:a.writeHeaders)==null?void 0:Q.invalidHeaders)||0,previousBlockNumber:((V=a==null?void 0:a.writeHeaders)==null?void 0:V.previousBlockNumber)||0,rejectedBadHeaders:((e0=a==null?void 0:a.writeHeaders)==null?void 0:e0.rejectedBadHeaders)||0,speed:((l0=a==null?void 0:a.writeHeaders)==null?void 0:l0.speed)||0,sys:((A0=a==null?void 0:a.writeHeaders)==null?void 0:A0.sys)||0}}},oi=()=>lr.getState().app.activeNodeId,bT0=()=>{RN0().then(a=>{if(a.address!=null){let h=a.address;lr.dispatch(PB(D4.Local)),(a.address.includes("127.0.0.1")||a.address.includes("localhost"))&&!window.location.origin.includes("127.0.0.1")&&!window.location.origin.includes("localhost")&&(h=window.location.origin+"/api"),lr.dispatch(AM0(h))}else lr.dispatch(PB(D4.Unknown))}).catch(a=>{lr.dispatch(PB(D4.Remote))})},eF0=()=>{let a=oi();for(let h of lr.getState().syncStages.snapshotDownloadStatus)if(h.nodeId===a)return h.downloadStatus},rF0=()=>{GN0().then(a=>{let h=[];(a==null?void 0:a.nodes)!==null&&a.nodes.forEach(d=>{h.push(ZT0(d))}),lr.dispatch(DK(h))}).catch(a=>{console.log("Error fetching session: ",a)})},tF0=()=>{ZN0().then(a=>{let h=[];a!==null&&a.nodes_info.length>0&&h.push(GT0(a.nodes_info[0])),lr.dispatch(DK(h))}).catch(a=>{console.log("Error fetching node info: ",a)})},iF0=()=>{WN0().then(a=>{let h=FT0(a);lr.dispatch(wR0({nodeId:oi(),version:h}))}).catch(a=>{console.log("Error fetching version: ",a)})},nF0=()=>{DN0().then(a=>{let h=MT0(a);lr.dispatch(dR0({nodeId:oi(),flags:h}))}).catch(a=>{console.log("Error fetching flags: ",a)})},oF0=()=>{MN0().then(a=>{lr.dispatch(pR0({nodeId:oi(),args:a}))}).catch(a=>{console.log("Error fetching cmd line args: ",a)})},lF0=()=>{NN0().then(a=>{lr.dispatch(vR0({nodeId:oi(),syncStages:PT0(a)}))}).catch(a=>{console.log("Error fetching sync stages: ",a)})},l00=()=>{jN0().then(a=>{let h=[];a.forEach(d=>{if(d.name.endsWith(".log")){const y=`${Kb()}/${d.name}`;h.push({name:d.name,size:d.size,url:y,selected:!1})}}),lr.dispatch(kR0({nodeId:oi(),logFiles:h}))}).catch(a=>{console.log("Error fetching logs: ",a)})},sF0=()=>{QN0().then(a=>{let h=[];a.forEach(d=>{h.push({path:d,tables:[],keysCount:0,size:0})}),lr.dispatch(gR0({nodeId:oi(),dbs:h}))}).catch(a=>{console.log("Error fetching DBs: ",a)})},AF0=a=>{TN0(a).then(h=>{let d=0,k=0,y=[];h.forEach(I=>{d+=I.count,k+=I.size,y.push({name:I.name,count:I.count,size:I.size})}),lr.dispatch(yR0({nodeId:oi(),path:a,tables:y,keysCount:d,size:k}))}).catch(h=>{console.log("Error fetching DB: ",h)})},uF0=()=>{FN0().then(a=>{let h=[];a.WrongBlocks!==null&&a.WrongBlocks.forEach(k=>{h.push(k)});let d={nodeId:oi(),totalBlocks:a.TotalScanned,wrongBlocks:h,timeTook:a.TimeTook};lr.dispatch(CR0(d))}).catch(a=>{console.log("Error fetching reorgs: ",a)})},DH=()=>{const a=oi(),h=lr.getState().network.bootnodes.findIndex(k=>k.nodeId===a);let d=[];h!==-1&&(d=lr.getState().network.bootnodes[h].bootnodes),PN0().then(k=>{k.forEach(y=>{let I=YT0(y,d);lr.dispatch(fM0({peer:I,nodeId:oi()}))})}).catch(k=>{console.log("Error fetching peers: ",k)})},aF0=()=>{YN0().then(a=>{lr.dispatch(hM0({nodeId:oi(),bootnodes:a}))}).catch(a=>{console.log("Error fetching bootnodes: ",a)})},MH=()=>{VN0().then(a=>{if(a){let h=eF0(),d=0;h&&h.segments.forEach(I=>{I.name.includes("beaconblocks")||d++});let k=qT0(a.snapshotIndexing,d),y=HT0(a.snapshotDownload,h,k);a.syncStages!=null&&a.syncStages.length!=0&&lr.dispatch(SM0({nodeId:oi(),stages:a.syncStages})),lr.dispatch(xM0({nodeId:oi(),indexStatus:k})),lr.dispatch(IM0({nodeId:oi(),downloadStatus:y}))}}).catch(a=>{console.log("Error fetching snapshot download status: ",a)})},cF0=()=>{ON0().then(a=>{lr.dispatch(BM0({nodeId:oi(),files:a.files}))}).catch(a=>{console.log("Error fetching snapshot files list: ",a)})},fF0=()=>{HN0().then(a=>{const h=KT0(a);lr.dispatch(kj0({nodeId:oi(),headers:h}))}).catch(a=>{console.log("Error fetching headers: ",a)})},hF0=()=>{JN0().then(a=>{let h=[];a.cpu.forEach(d=>{h.push({cpu:d.cpu,vendorId:d.vendorId,family:d.family,model:d.model,stepping:d.stepping,physicalId:d.physicalId,coreId:d.coreId,cores:d.cores,modelName:d.modelName,mhz:d.mhz,cacheSize:d.cacheSize,flags:d.flags,microcode:d.microcode})}),lr.dispatch(gj0({nodeId:oi(),info:h})),lr.dispatch(Ej0({nodeId:oi(),info:a.ram})),lr.dispatch(yj0({nodeId:oi(),info:a.disk}))}).catch(a=>{console.log("Error fetching hardware info: ",a)})},wF0=()=>{UN0().then(a=>{let h=[];a.Cores.forEach(k=>{h.push(k)});let d={total:a.Total,cores:h};lr.dispatch(Bj0({nodeId:oi(),usage:d}))}).catch(a=>{console.log("Error fetching CPU usage: ",a)})},dF0=()=>{XN0().then(a=>{let h=[];a.forEach(d=>{h.push({pid:d.Pid,name:d.Name,cpuUsage:d.CPUUsage,memory:d.Memory})}),lr.dispatch(Cj0({nodeId:oi(),info:h}))}).catch(a=>{console.log("Error fetching processes info: ",a)})};var s00={exports:{}},OB={exports:{}},jH;function pF0(){return jH||(jH=1,function(a,h){(function(d,k){a.exports=k()})(ba,function(){var d=Array.prototype.slice;function k(j,i0){i0&&(j.prototype=Object.create(i0.prototype)),j.prototype.constructor=j}function y(j){return R(j)?j:He(j)}k(I,y);function I(j){return M(j)?j:Ee(j)}k(S,y);function S(j){return Q(j)?j:xe(j)}k(G,y);function G(j){return R(j)&&!V(j)?j:Pe(j)}function R(j){return!!(j&&j[l0])}function M(j){return!!(j&&j[A0])}function Q(j){return!!(j&&j[n0])}function V(j){return M(j)||Q(j)}function e0(j){return!!(j&&j[h0])}y.isIterable=R,y.isKeyed=M,y.isIndexed=Q,y.isAssociative=V,y.isOrdered=e0,y.Keyed=I,y.Indexed=S,y.Set=G;var l0="@@__IMMUTABLE_ITERABLE__@@",A0="@@__IMMUTABLE_KEYED__@@",n0="@@__IMMUTABLE_INDEXED__@@",h0="@@__IMMUTABLE_ORDERED__@@",u0="delete",c0=5,f0=1<>>0;if(""+d0!==i0||d0===4294967295)return NaN;i0=d0}return i0<0?R0(j)+i0:i0}function q0(){return!0}function ae(j,i0,d0){return(j===0||d0!==void 0&&j<=-d0)&&(i0===void 0||d0!==void 0&&i0>=d0)}function de(j,i0){return we(j,i0,0)}function Se(j,i0){return we(j,i0,i0)}function we(j,i0,d0){return j===void 0?d0:j<0?Math.max(0,i0+j):i0===void 0?j:Math.min(i0,j)}var Ie=0,Ne=1,f2=2,a2=typeof Symbol=="function"&&Symbol.iterator,H2="@@iterator",j2=a2||H2;function qe(j){this.next=j}qe.prototype.toString=function(){return"[Iterator]"},qe.KEYS=Ie,qe.VALUES=Ne,qe.ENTRIES=f2,qe.prototype.inspect=qe.prototype.toSource=function(){return this.toString()},qe.prototype[j2]=function(){return this};function ye(j,i0,d0,b){var S0=j===0?i0:j===1?d0:[i0,d0];return b?b.value=S0:b={value:S0,done:!1},b}function Be(){return{value:void 0,done:!0}}function Ce(j){return!!Ue(j)}function _e(j){return j&&typeof j.next=="function"}function ce(j){var i0=Ue(j);return i0&&i0.call(j)}function Ue(j){var i0=j&&(a2&&j[a2]||j[H2]);if(typeof i0=="function")return i0}function Ye(j){return j&&typeof j.length=="number"}k(He,y);function He(j){return j==null?xr():R(j)?j.toSeq():Ji(j)}He.of=function(){return He(arguments)},He.prototype.toSeq=function(){return this},He.prototype.toString=function(){return this.__toString("Seq {","}")},He.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},He.prototype.__iterate=function(j,i0){return R2(this,j,i0,!0)},He.prototype.__iterator=function(j,i0){return hs(this,j,i0,!0)},k(Ee,He);function Ee(j){return j==null?xr().toKeyedSeq():R(j)?M(j)?j.toSeq():j.fromEntrySeq():tt(j)}Ee.prototype.toKeyedSeq=function(){return this},k(xe,He);function xe(j){return j==null?xr():R(j)?M(j)?j.entrySeq():j.toIndexedSeq():nn(j)}xe.of=function(){return xe(arguments)},xe.prototype.toIndexedSeq=function(){return this},xe.prototype.toString=function(){return this.__toString("Seq [","]")},xe.prototype.__iterate=function(j,i0){return R2(this,j,i0,!1)},xe.prototype.__iterator=function(j,i0){return hs(this,j,i0,!1)},k(Pe,He);function Pe(j){return(j==null?xr():R(j)?M(j)?j.entrySeq():j:nn(j)).toSetSeq()}Pe.of=function(){return Pe(arguments)},Pe.prototype.toSetSeq=function(){return this},He.isSeq=b2,He.Keyed=Ee,He.Set=Pe,He.Indexed=xe;var je="@@__IMMUTABLE_SEQ__@@";He.prototype[je]=!0,k(r2,xe);function r2(j){this._array=j,this.size=j.length}r2.prototype.get=function(j,i0){return this.has(j)?this._array[T0(this,j)]:i0},r2.prototype.__iterate=function(j,i0){for(var d0=this._array,b=d0.length-1,S0=0;S0<=b;S0++)if(j(d0[i0?b-S0:S0],S0,this)===!1)return S0+1;return S0},r2.prototype.__iterator=function(j,i0){var d0=this._array,b=d0.length-1,S0=0;return new qe(function(){return S0>b?Be():ye(j,S0,d0[i0?b-S0++:S0++])})},k(n2,Ee);function n2(j){var i0=Object.keys(j);this._object=j,this._keys=i0,this.size=i0.length}n2.prototype.get=function(j,i0){return i0!==void 0&&!this.has(j)?i0:this._object[j]},n2.prototype.has=function(j){return this._object.hasOwnProperty(j)},n2.prototype.__iterate=function(j,i0){for(var d0=this._object,b=this._keys,S0=b.length-1,L0=0;L0<=S0;L0++){var G0=b[i0?S0-L0:L0];if(j(d0[G0],G0,this)===!1)return L0+1}return L0},n2.prototype.__iterator=function(j,i0){var d0=this._object,b=this._keys,S0=b.length-1,L0=0;return new qe(function(){var G0=b[i0?S0-L0:L0];return L0++>S0?Be():ye(j,G0,d0[G0])})},n2.prototype[h0]=!0,k(h2,xe);function h2(j){this._iterable=j,this.size=j.length||j.size}h2.prototype.__iterateUncached=function(j,i0){if(i0)return this.cacheResult().__iterate(j,i0);var d0=this._iterable,b=ce(d0),S0=0;if(_e(b))for(var L0;!(L0=b.next()).done&&j(L0.value,S0++,this)!==!1;);return S0},h2.prototype.__iteratorUncached=function(j,i0){if(i0)return this.cacheResult().__iterator(j,i0);var d0=this._iterable,b=ce(d0);if(!_e(b))return new qe(Be);var S0=0;return new qe(function(){var L0=b.next();return L0.done?L0:ye(j,S0++,L0.value)})},k(N2,xe);function N2(j){this._iterator=j,this._iteratorCache=[]}N2.prototype.__iterateUncached=function(j,i0){if(i0)return this.cacheResult().__iterate(j,i0);for(var d0=this._iterator,b=this._iteratorCache,S0=0;S0=b.length){var L0=d0.next();if(L0.done)return L0;b[S0]=L0.value}return ye(j,S0,b[S0++])})};function b2(j){return!!(j&&j[je])}var mr;function xr(){return mr||(mr=new r2([]))}function tt(j){var i0=Array.isArray(j)?new r2(j).fromEntrySeq():_e(j)?new N2(j).fromEntrySeq():Ce(j)?new h2(j).fromEntrySeq():typeof j=="object"?new n2(j):void 0;if(!i0)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+j);return i0}function nn(j){var i0=ki(j);if(!i0)throw new TypeError("Expected Array or iterable object of values: "+j);return i0}function Ji(j){var i0=ki(j)||typeof j=="object"&&new n2(j);if(!i0)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+j);return i0}function ki(j){return Ye(j)?new r2(j):_e(j)?new N2(j):Ce(j)?new h2(j):void 0}function R2(j,i0,d0,b){var S0=j._cache;if(S0){for(var L0=S0.length-1,G0=0;G0<=L0;G0++){var K0=S0[d0?L0-G0:G0];if(i0(K0[1],b?K0[0]:G0,j)===!1)return G0+1}return G0}return j.__iterateUncached(i0,d0)}function hs(j,i0,d0,b){var S0=j._cache;if(S0){var L0=S0.length-1,G0=0;return new qe(function(){var K0=S0[d0?L0-G0:G0];return G0++>L0?Be():ye(i0,b?K0[0]:G0-1,K0[1])})}return j.__iteratorUncached(i0,d0)}function G1(j,i0){return i0?no(i0,j,"",{"":j}):ws(j)}function no(j,i0,d0,b){return Array.isArray(i0)?j.call(b,d0,xe(i0).map(function(S0,L0){return no(j,S0,L0,i0)})):C3(i0)?j.call(b,d0,Ee(i0).map(function(S0,L0){return no(j,S0,L0,i0)})):i0}function ws(j){return Array.isArray(j)?xe(j).map(ws).toList():C3(j)?Ee(j).map(ws).toMap():j}function C3(j){return j&&(j.constructor===Object||j.constructor===void 0)}function Dt(j,i0){if(j===i0||j!==j&&i0!==i0)return!0;if(!j||!i0)return!1;if(typeof j.valueOf=="function"&&typeof i0.valueOf=="function"){if(j=j.valueOf(),i0=i0.valueOf(),j===i0||j!==j&&i0!==i0)return!0;if(!j||!i0)return!1}return!!(typeof j.equals=="function"&&typeof i0.equals=="function"&&j.equals(i0))}function Zc(j,i0){if(j===i0)return!0;if(!R(i0)||j.size!==void 0&&i0.size!==void 0&&j.size!==i0.size||j.__hash!==void 0&&i0.__hash!==void 0&&j.__hash!==i0.__hash||M(j)!==M(i0)||Q(j)!==Q(i0)||e0(j)!==e0(i0))return!1;if(j.size===0&&i0.size===0)return!0;var d0=!V(j);if(e0(j)){var b=j.entries();return i0.every(function(ee,le){var Ze=b.next().value;return Ze&&Dt(Ze[1],ee)&&(d0||Dt(Ze[0],le))})&&b.next().done}var S0=!1;if(j.size===void 0)if(i0.size===void 0)typeof j.cacheResult=="function"&&j.cacheResult();else{S0=!0;var L0=j;j=i0,i0=L0}var G0=!0,K0=i0.__iterate(function(ee,le){if(d0?!j.has(ee):S0?!Dt(ee,j.get(le,C0)):!Dt(j.get(le,C0),ee))return G0=!1,!1});return G0&&j.size===K0}k(zi,xe);function zi(j,i0){if(!(this instanceof zi))return new zi(j,i0);if(this._value=j,this.size=i0===void 0?1/0:Math.max(0,i0),this.size===0){if(E3)return E3;E3=this}}zi.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},zi.prototype.get=function(j,i0){return this.has(j)?this._value:i0},zi.prototype.includes=function(j){return Dt(this._value,j)},zi.prototype.slice=function(j,i0){var d0=this.size;return ae(j,i0,d0)?this:new zi(this._value,Se(i0,d0)-de(j,d0))},zi.prototype.reverse=function(){return this},zi.prototype.indexOf=function(j){return Dt(this._value,j)?0:-1},zi.prototype.lastIndexOf=function(j){return Dt(this._value,j)?this.size:-1},zi.prototype.__iterate=function(j,i0){for(var d0=0;d0=0&&i0=0&&d0d0?Be():ye(j,L0++,G0)})},Li.prototype.equals=function(j){return j instanceof Li?this._start===j._start&&this._end===j._end&&this._step===j._step:Zc(this,j)};var B3;k(vl,y);function vl(){throw TypeError("Abstract")}k(Ju,vl);function Ju(){}k(iA,vl);function iA(){}k(Dc,vl);function Dc(){}vl.Keyed=Ju,vl.Indexed=iA,vl.Set=Dc;var Uu=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(i0,d0){i0=i0|0,d0=d0|0;var b=i0&65535,S0=d0&65535;return b*S0+((i0>>>16)*S0+b*(d0>>>16)<<16>>>0)|0};function Xu(j){return j>>>1&1073741824|j&3221225471}function En(j){if(j===!1||j===null||j===void 0||typeof j.valueOf=="function"&&(j=j.valueOf(),j===!1||j===null||j===void 0))return 0;if(j===!0)return 1;var i0=typeof j;if(i0==="number"){if(j!==j||j===1/0)return 0;var d0=j|0;for(d0!==j&&(d0^=j*4294967295);j>4294967295;)j/=4294967295,d0^=j;return Xu(d0)}if(i0==="string")return j.length>ww?fw(j):Mc(j);if(typeof j.hashCode=="function")return j.hashCode();if(i0==="object")return uy(j);if(typeof j.toString=="function")return Mc(j.toString());throw new Error("Value type "+i0+" cannot be hashed.")}function fw(j){var i0=x3[j];return i0===void 0&&(i0=Mc(j),I3===ay&&(I3=0,x3={}),I3++,x3[j]=i0),i0}function Mc(j){for(var i0=0,d0=0;d00)switch(j.nodeType){case 1:return j.uniqueID;case 9:return j.documentElement&&j.documentElement.uniqueID}}var jc=typeof WeakMap=="function",$u;jc&&($u=new WeakMap);var Bn=0,Yo="__immutablehash__";typeof Symbol=="function"&&(Yo=Symbol(Yo));var ww=16,ay=255,I3=0,x3={};function Yn(j){Wc(j!==1/0,"Cannot perform this action with an infinite size.")}k(er,Ju);function er(j){return j==null?Gr():Nc(j)&&!e0(j)?j:Gr().withMutations(function(i0){var d0=I(j);Yn(d0.size),d0.forEach(function(b,S0){return i0.set(S0,b)})})}er.of=function(){var j=d.call(arguments,0);return Gr().withMutations(function(i0){for(var d0=0;d0=j.length)throw new Error("Missing value for key: "+j[d0]);i0.set(j[d0],j[d0+1])}})},er.prototype.toString=function(){return this.__toString("Map {","}")},er.prototype.get=function(j,i0){return this._root?this._root.get(0,void 0,j,i0):i0},er.prototype.set=function(j,i0){return p0(this,j,i0)},er.prototype.setIn=function(j,i0){return this.updateIn(j,C0,function(){return i0})},er.prototype.remove=function(j){return p0(this,j,C0)},er.prototype.deleteIn=function(j){return this.updateIn(j,function(){return C0})},er.prototype.update=function(j,i0,d0){return arguments.length===1?j(this):this.updateIn([j],i0,d0)},er.prototype.updateIn=function(j,i0,d0){d0||(d0=i0,i0=void 0);var b=mw(this,j3(j),i0,d0);return b===C0?void 0:b},er.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Gr()},er.prototype.merge=function(){return Qc(this,void 0,arguments)},er.prototype.mergeWith=function(j){var i0=d.call(arguments,1);return Qc(this,j,i0)},er.prototype.mergeIn=function(j){var i0=d.call(arguments,1);return this.updateIn(j,Gr(),function(d0){return typeof d0.merge=="function"?d0.merge.apply(d0,i0):i0[i0.length-1]})},er.prototype.mergeDeep=function(){return Qc(this,pw,arguments)},er.prototype.mergeDeepWith=function(j){var i0=d.call(arguments,1);return Qc(this,kw(j),i0)},er.prototype.mergeDeepIn=function(j){var i0=d.call(arguments,1);return this.updateIn(j,Gr(),function(d0){return typeof d0.mergeDeep=="function"?d0.mergeDeep.apply(d0,i0):i0[i0.length-1]})},er.prototype.sort=function(j){return Pt(aA(this,j))},er.prototype.sortBy=function(j,i0){return Pt(aA(this,i0,j))},er.prototype.withMutations=function(j){var i0=this.asMutable();return j(i0),i0.wasAltered()?i0.__ensureOwner(this.__ownerID):this},er.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new W0)},er.prototype.asImmutable=function(){return this.__ensureOwner()},er.prototype.wasAltered=function(){return this.__altered},er.prototype.__iterator=function(j,i0){return new S2(this,j,i0)},er.prototype.__iterate=function(j,i0){var d0=this,b=0;return this._root&&this._root.iterate(function(S0){return b++,j(S0[1],S0[0],d0)},i0),b},er.prototype.__ensureOwner=function(j){return j===this.__ownerID?this:j?dt(this.size,this._root,j,this.__hash):(this.__ownerID=j,this.__altered=!1,this)};function Nc(j){return!!(j&&j[fe])}er.isMap=Nc;var fe="@@__IMMUTABLE_MAP__@@",J2=er.prototype;J2[fe]=!0,J2[u0]=J2.remove,J2.removeIn=J2.deleteIn;function nA(j,i0){this.ownerID=j,this.entries=i0}nA.prototype.get=function(j,i0,d0,b){for(var S0=this.entries,L0=0,G0=S0.length;L0=py)return cy(j,ee,b,S0);var w2=j&&j===this.ownerID,G2=w2?ee:P0(ee);return s2?K0?le===Ze-1?G2.pop():G2[le]=G2.pop():G2[le]=[b,S0]:G2.push([b,S0]),w2?(this.entries=G2,this):new nA(j,G2)}};function oA(j,i0,d0){this.ownerID=j,this.bitmap=i0,this.nodes=d0}oA.prototype.get=function(j,i0,d0,b){i0===void 0&&(i0=En(d0));var S0=1<<((j===0?i0:i0>>>j)&y0),L0=this.bitmap;return L0&S0?this.nodes[gw(L0&S0-1)].get(j+c0,i0,d0,b):b},oA.prototype.update=function(j,i0,d0,b,S0,L0,G0){d0===void 0&&(d0=En(b));var K0=(i0===0?d0:d0>>>i0)&y0,ee=1<=ky)return hy(j,w2,le,K0,I2);if(Ze&&!I2&&w2.length===2&&dw(w2[s2^1]))return w2[s2^1];if(Ze&&I2&&w2.length===1&&dw(I2))return I2;var vt=j&&j===this.ownerID,lo=Ze?I2?le:le^ee:le|ee,mt=Ze?I2?yw(w2,s2,I2,vt):dy(w2,s2,vt):wy(w2,s2,I2,vt);return vt?(this.bitmap=lo,this.nodes=mt,this):new oA(j,lo,mt)};function Ku(j,i0,d0){this.ownerID=j,this.count=i0,this.nodes=d0}Ku.prototype.get=function(j,i0,d0,b){i0===void 0&&(i0=En(d0));var S0=(j===0?i0:i0>>>j)&y0,L0=this.nodes[S0];return L0?L0.get(j+c0,i0,d0,b):b},Ku.prototype.update=function(j,i0,d0,b,S0,L0,G0){d0===void 0&&(d0=En(b));var K0=(i0===0?d0:d0>>>i0)&y0,ee=S0===C0,le=this.nodes,Ze=le[K0];if(ee&&!Ze)return this;var s2=o2(Ze,j,i0+c0,d0,b,S0,L0,G0);if(s2===Ze)return this;var w2=this.count;if(!Ze)w2++;else if(!s2&&(w2--,w2>>d0)&y0,G0=(d0===0?b:b>>>d0)&y0,K0,ee=L0===G0?[S3(j,i0,d0+c0,b,S0)]:(K0=new Vo(i0,b,S0),L0>>=1)G0[K0]=d0&1?i0[L0++]:void 0;return G0[b]=S0,new Ku(j,L0+1,G0)}function Qc(j,i0,d0){for(var b=[],S0=0;S0>1&1431655765),j=(j&858993459)+(j>>2&858993459),j=j+(j>>4)&252645135,j=j+(j>>8),j=j+(j>>16),j&127}function yw(j,i0,d0,b){var S0=b?j:P0(j);return S0[i0]=d0,S0}function wy(j,i0,d0,b){var S0=j.length+1;if(b&&i0+1===S0)return j[i0]=d0,j;for(var L0=new Array(S0),G0=0,K0=0;K00&&b=0&&j>>i0&y0;if(b>=this.array.length)return new s1([],j);var S0=b===0,L0;if(i0>0){var G0=this.array[b];if(L0=G0&&G0.removeBefore(j,i0-c0,d0),L0===G0&&S0)return this}if(S0&&!L0)return this;var K0=AA(this,j);if(!S0)for(var ee=0;ee>>i0&y0;if(b>=this.array.length)return this;var S0;if(i0>0){var L0=this.array[b];if(S0=L0&&L0.removeAfter(j,i0-c0,d0),S0===L0&&b===this.array.length-1)return this}var G0=AA(this,j);return G0.array.splice(b+1),S0&&(G0.array[b]=S0),G0};var Ri={};function sA(j,i0){var d0=j._origin,b=j._capacity,S0=ea(b),L0=j._tail;return G0(j._root,j._level,0);function G0(le,Ze,s2){return Ze===0?K0(le,s2):ee(le,Ze,s2)}function K0(le,Ze){var s2=Ze===S0?L0&&L0.array:le&&le.array,w2=Ze>d0?0:d0-Ze,G2=b-Ze;return G2>f0&&(G2=f0),function(){if(w2===G2)return Ri;var I2=i0?--G2:w2++;return s2&&s2[I2]}}function ee(le,Ze,s2){var w2,G2=le&&le.array,I2=s2>d0?0:d0-s2>>Ze,vt=(b-s2>>Ze)+1;return vt>f0&&(vt=f0),function(){do{if(w2){var lo=w2();if(lo!==Ri)return lo;w2=null}if(I2===vt)return Ri;var mt=i0?--vt:I2++;w2=G0(G2&&G2[mt],Ze-c0,s2+(mt<=j.size||i0<0)return j.withMutations(function(G0){i0<0?gl(G0,i0).set(0,d0):gl(G0,0,i0+1).set(i0,d0)});i0+=j._origin;var b=j._tail,S0=j._root,L0=E0(w0);return i0>=ea(j._capacity)?b=L3(b,j.__ownerID,0,i0,d0,L0):S0=L3(S0,j.__ownerID,j._level,i0,d0,L0),L0.value?j.__ownerID?(j._root=S0,j._tail=b,j.__hash=void 0,j.__altered=!0,j):bu(j._origin,j._capacity,j._level,S0,b):j}function L3(j,i0,d0,b,S0,L0){var G0=b>>>d0&y0,K0=j&&G00){var le=j&&j.array[G0],Ze=L3(le,i0,d0-c0,b,S0,L0);return Ze===le?j:(ee=AA(j,i0),ee.array[G0]=Ze,ee)}return K0&&j.array[G0]===S0?j:(z0(L0),ee=AA(j,i0),S0===void 0&&G0===ee.array.length-1?ee.array.pop():ee.array[G0]=S0,ee)}function AA(j,i0){return i0&&j&&i0===j.ownerID?j:new s1(j?j.array.slice():[],i0)}function Bw(j,i0){if(i0>=ea(j._capacity))return j._tail;if(i0<1<0;)d0=d0.array[i0>>>b&y0],b-=c0;return d0}}function gl(j,i0,d0){i0!==void 0&&(i0=i0|0),d0!==void 0&&(d0=d0|0);var b=j.__ownerID||new W0,S0=j._origin,L0=j._capacity,G0=S0+i0,K0=d0===void 0?L0:d0<0?L0+d0:S0+d0;if(G0===S0&&K0===L0)return j;if(G0>=K0)return j.clear();for(var ee=j._level,le=j._root,Ze=0;G0+Ze<0;)le=new s1(le&&le.array.length?[void 0,le]:[],b),ee+=c0,Ze+=1<=1<s2?new s1([],b):G2;if(G2&&w2>s2&&G0c0;lo-=c0){var mt=s2>>>lo&y0;vt=vt.array[mt]=AA(vt.array[mt],b)}vt.array[s2>>>c0&y0]=G2}if(K0=w2)G0-=w2,K0-=w2,ee=c0,le=null,I2=I2&&I2.removeBefore(b,0,G0);else if(G0>S0||w2>>ee&y0;if(N0!==w2>>>ee&y0)break;N0&&(Ze+=(1<S0&&(le=le.removeBefore(b,ee,G0-Ze)),le&&w2S0&&(S0=K0.size),R(G0)||(K0=K0.map(function(ee){return G1(ee)})),b.push(K0)}return S0>j.size&&(j=j.setSize(S0)),vw(j,i0,b)}function ea(j){return j>>c0<=f0&&S0.size>=b.size*2?(ee=S0.filter(function(le,Ze){return le!==void 0&&L0!==Ze}),K0=ee.toKeyedSeq().map(function(le){return le[0]}).flip().toMap(),j.__ownerID&&(K0.__ownerID=ee.__ownerID=j.__ownerID)):(K0=b.remove(i0),ee=L0===S0.size-1?S0.pop():S0.set(L0,void 0))}else if(G0){if(d0===S0.get(L0)[1])return j;K0=b,ee=S0.set(L0,[i0,d0])}else K0=b.set(i0,S0.size),ee=S0.set(S0.size,[i0,d0]);return j.__ownerID?(j.size=K0.size,j._map=K0,j._list=ee,j.__hash=void 0,j):R3(K0,ee)}k(A1,Ee);function A1(j,i0){this._iter=j,this._useKeys=i0,this.size=j.size}A1.prototype.get=function(j,i0){return this._iter.get(j,i0)},A1.prototype.has=function(j){return this._iter.has(j)},A1.prototype.valueSeq=function(){return this._iter.valueSeq()},A1.prototype.reverse=function(){var j=this,i0=Z3(this,!0);return this._useKeys||(i0.valueSeq=function(){return j._iter.toSeq().reverse()}),i0},A1.prototype.map=function(j,i0){var d0=this,b=Ho(this,j,i0);return this._useKeys||(b.valueSeq=function(){return d0._iter.toSeq().map(j,i0)}),b},A1.prototype.__iterate=function(j,i0){var d0=this,b;return this._iter.__iterate(this._useKeys?function(S0,L0){return j(S0,L0,d0)}:(b=i0?Zw(this):0,function(S0){return j(S0,i0?--b:b++,d0)}),i0)},A1.prototype.__iterator=function(j,i0){if(this._useKeys)return this._iter.__iterator(j,i0);var d0=this._iter.__iterator(Ne,i0),b=i0?Zw(this):0;return new qe(function(){var S0=d0.next();return S0.done?S0:ye(j,i0?--b:b++,S0.value,S0)})},A1.prototype[h0]=!0,k(yl,xe);function yl(j){this._iter=j,this.size=j.size}yl.prototype.includes=function(j){return this._iter.includes(j)},yl.prototype.__iterate=function(j,i0){var d0=this,b=0;return this._iter.__iterate(function(S0){return j(S0,b++,d0)},i0)},yl.prototype.__iterator=function(j,i0){var d0=this._iter.__iterator(Ne,i0),b=0;return new qe(function(){var S0=d0.next();return S0.done?S0:ye(j,b++,S0.value,S0)})},k(ds,Pe);function ds(j){this._iter=j,this.size=j.size}ds.prototype.has=function(j){return this._iter.includes(j)},ds.prototype.__iterate=function(j,i0){var d0=this;return this._iter.__iterate(function(b){return j(b,b,d0)},i0)},ds.prototype.__iterator=function(j,i0){var d0=this._iter.__iterator(Ne,i0);return new qe(function(){var b=d0.next();return b.done?b:ye(j,b.value,b.value,b)})},k(uA,Ee);function uA(j){this._iter=j,this.size=j.size}uA.prototype.entrySeq=function(){return this._iter.toSeq()},uA.prototype.__iterate=function(j,i0){var d0=this;return this._iter.__iterate(function(b){if(b){Gw(b);var S0=R(b);return j(S0?b.get(1):b[1],S0?b.get(0):b[0],d0)}},i0)},uA.prototype.__iterator=function(j,i0){var d0=this._iter.__iterator(Ne,i0);return new qe(function(){for(;;){var b=d0.next();if(b.done)return b;var S0=b.value;if(S0){Gw(S0);var L0=R(S0);return ye(j,L0?S0.get(0):S0[0],L0?S0.get(1):S0[1],b)}}})},yl.prototype.cacheResult=A1.prototype.cacheResult=ds.prototype.cacheResult=uA.prototype.cacheResult=M3;function Sw(j){var i0=oo(j);return i0._iter=j,i0.size=j.size,i0.flip=function(){return j},i0.reverse=function(){var d0=j.reverse.apply(this);return d0.flip=function(){return j.reverse()},d0},i0.has=function(d0){return j.includes(d0)},i0.includes=function(d0){return j.has(d0)},i0.cacheResult=M3,i0.__iterateUncached=function(d0,b){var S0=this;return j.__iterate(function(L0,G0){return d0(G0,L0,S0)!==!1},b)},i0.__iteratorUncached=function(d0,b){if(d0===f2){var S0=j.__iterator(d0,b);return new qe(function(){var L0=S0.next();if(!L0.done){var G0=L0.value[0];L0.value[0]=L0.value[1],L0.value[1]=G0}return L0})}return j.__iterator(d0===Ne?Ie:Ne,b)},i0}function Ho(j,i0,d0){var b=oo(j);return b.size=j.size,b.has=function(S0){return j.has(S0)},b.get=function(S0,L0){var G0=j.get(S0,C0);return G0===C0?L0:i0.call(d0,G0,S0,j)},b.__iterateUncached=function(S0,L0){var G0=this;return j.__iterate(function(K0,ee,le){return S0(i0.call(d0,K0,ee,le),ee,G0)!==!1},L0)},b.__iteratorUncached=function(S0,L0){var G0=j.__iterator(f2,L0);return new qe(function(){var K0=G0.next();if(K0.done)return K0;var ee=K0.value,le=ee[0];return ye(S0,le,i0.call(d0,ee[1],le,j),K0)})},b}function Z3(j,i0){var d0=oo(j);return d0._iter=j,d0.size=j.size,d0.reverse=function(){return j},j.flip&&(d0.flip=function(){var b=Sw(j);return b.reverse=function(){return j.flip()},b}),d0.get=function(b,S0){return j.get(i0?b:-1-b,S0)},d0.has=function(b){return j.has(i0?b:-1-b)},d0.includes=function(b){return j.includes(b)},d0.cacheResult=M3,d0.__iterate=function(b,S0){var L0=this;return j.__iterate(function(G0,K0){return b(G0,K0,L0)},!S0)},d0.__iterator=function(b,S0){return j.__iterator(b,!S0)},d0}function _w(j,i0,d0,b){var S0=oo(j);return b&&(S0.has=function(L0){var G0=j.get(L0,C0);return G0!==C0&&!!i0.call(d0,G0,L0,j)},S0.get=function(L0,G0){var K0=j.get(L0,C0);return K0!==C0&&i0.call(d0,K0,L0,j)?K0:G0}),S0.__iterateUncached=function(L0,G0){var K0=this,ee=0;return j.__iterate(function(le,Ze,s2){if(i0.call(d0,le,Ze,s2))return ee++,L0(le,b?Ze:ee-1,K0)},G0),ee},S0.__iteratorUncached=function(L0,G0){var K0=j.__iterator(f2,G0),ee=0;return new qe(function(){for(;;){var le=K0.next();if(le.done)return le;var Ze=le.value,s2=Ze[0],w2=Ze[1];if(i0.call(d0,w2,s2,j))return ye(L0,b?s2:ee++,w2,le)}})},S0}function gy(j,i0,d0){var b=er().asMutable();return j.__iterate(function(S0,L0){b.update(i0.call(d0,S0,L0,j),0,function(G0){return G0+1})}),b.asImmutable()}function yy(j,i0,d0){var b=M(j),S0=(e0(j)?Pt():er()).asMutable();j.__iterate(function(G0,K0){S0.update(i0.call(d0,G0,K0,j),function(ee){return ee=ee||[],ee.push(b?[K0,G0]:G0),ee})});var L0=Ww(j);return S0.map(function(G0){return Jr(j,L0(G0))})}function W3(j,i0,d0,b){var S0=j.size;if(i0!==void 0&&(i0=i0|0),d0!==void 0&&(d0===1/0?d0=S0:d0=d0|0),ae(i0,d0,S0))return j;var L0=de(i0,S0),G0=Se(d0,S0);if(L0!==L0||G0!==G0)return W3(j.toSeq().cacheResult(),i0,d0,b);var K0=G0-L0,ee;K0===K0&&(ee=K0<0?0:K0);var le=oo(j);return le.size=ee===0?ee:j.size&&ee||void 0,!b&&b2(j)&&ee>=0&&(le.get=function(Ze,s2){return Ze=T0(this,Ze),Ze>=0&&Zeee)return Be();var vt=w2.next();return b||Ze===Ne?vt:Ze===Ie?ye(Ze,I2-1,void 0,vt):ye(Ze,I2-1,vt.value[1],vt)})},le}function Cy(j,i0,d0){var b=oo(j);return b.__iterateUncached=function(S0,L0){var G0=this;if(L0)return this.cacheResult().__iterate(S0,L0);var K0=0;return j.__iterate(function(ee,le,Ze){return i0.call(d0,ee,le,Ze)&&++K0&&S0(ee,le,G0)}),K0},b.__iteratorUncached=function(S0,L0){var G0=this;if(L0)return this.cacheResult().__iterator(S0,L0);var K0=j.__iterator(f2,L0),ee=!0;return new qe(function(){if(!ee)return Be();var le=K0.next();if(le.done)return le;var Ze=le.value,s2=Ze[0],w2=Ze[1];return i0.call(d0,w2,s2,G0)?S0===f2?le:ye(S0,s2,w2,le):(ee=!1,Be())})},b}function zw(j,i0,d0,b){var S0=oo(j);return S0.__iterateUncached=function(L0,G0){var K0=this;if(G0)return this.cacheResult().__iterate(L0,G0);var ee=!0,le=0;return j.__iterate(function(Ze,s2,w2){if(!(ee&&(ee=i0.call(d0,Ze,s2,w2))))return le++,L0(Ze,b?s2:le-1,K0)}),le},S0.__iteratorUncached=function(L0,G0){var K0=this;if(G0)return this.cacheResult().__iterator(L0,G0);var ee=j.__iterator(f2,G0),le=!0,Ze=0;return new qe(function(){var s2,w2,G2;do{if(s2=ee.next(),s2.done)return b||L0===Ne?s2:L0===Ie?ye(L0,Ze++,void 0,s2):ye(L0,Ze++,s2.value[1],s2);var I2=s2.value;w2=I2[0],G2=I2[1],le&&(le=i0.call(d0,G2,w2,K0))}while(le);return L0===f2?s2:ye(L0,w2,G2,s2)})},S0}function Ey(j,i0){var d0=M(j),b=[j].concat(i0).map(function(G0){return R(G0)?d0&&(G0=I(G0)):G0=d0?tt(G0):nn(Array.isArray(G0)?G0:[G0]),G0}).filter(function(G0){return G0.size!==0});if(b.length===0)return j;if(b.length===1){var S0=b[0];if(S0===j||d0&&M(S0)||Q(j)&&Q(S0))return S0}var L0=new r2(b);return d0?L0=L0.toKeyedSeq():Q(j)||(L0=L0.toSetSeq()),L0=L0.flatten(!0),L0.size=b.reduce(function(G0,K0){if(G0!==void 0){var ee=K0.size;if(ee!==void 0)return G0+ee}},0),L0}function Lw(j,i0,d0){var b=oo(j);return b.__iterateUncached=function(S0,L0){var G0=0,K0=!1;function ee(le,Ze){var s2=this;le.__iterate(function(w2,G2){return(!i0||Ze0}function D3(j,i0,d0){var b=oo(j);return b.size=new r2(d0).map(function(S0){return S0.size}).min(),b.__iterate=function(S0,L0){for(var G0=this.__iterator(Ne,L0),K0,ee=0;!(K0=G0.next()).done&&S0(K0.value,ee++,this)!==!1;);return ee},b.__iteratorUncached=function(S0,L0){var G0=d0.map(function(le){return le=y(le),ce(L0?le.reverse():le)}),K0=0,ee=!1;return new qe(function(){var le;return ee||(le=G0.map(function(Ze){return Ze.next()}),ee=le.some(function(Ze){return Ze.done})),ee?Be():ye(S0,K0++,i0.apply(null,le.map(function(Ze){return Ze.value})))})},b}function Jr(j,i0){return b2(j)?i0:j.constructor(i0)}function Gw(j){if(j!==Object(j))throw new TypeError("Expected [K, V] tuple: "+j)}function Zw(j){return Yn(j.size),R0(j)}function Ww(j){return M(j)?I:Q(j)?S:G}function oo(j){return Object.create((M(j)?Ee:Q(j)?xe:Pe).prototype)}function M3(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):He.prototype.cacheResult.call(this)}function E2(j,i0){return j>i0?1:j=0;d0--)i0={value:arguments[d0],next:i0};return this.__ownerID?(this.size=j,this._head=i0,this.__hash=void 0,this.__altered=!0,this):ve(j,i0)},$.prototype.pushAll=function(j){if(j=S(j),j.size===0)return this;Yn(j.size);var i0=this.size,d0=this._head;return j.reverse().forEach(function(b){i0++,d0={value:b,next:d0}}),this.__ownerID?(this.size=i0,this._head=d0,this.__hash=void 0,this.__altered=!0,this):ve(i0,d0)},$.prototype.pop=function(){return this.slice(1)},$.prototype.unshift=function(){return this.push.apply(this,arguments)},$.prototype.unshiftAll=function(j){return this.pushAll(j)},$.prototype.shift=function(){return this.pop.apply(this,arguments)},$.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):u()},$.prototype.slice=function(j,i0){if(ae(j,i0,this.size))return this;var d0=de(j,this.size),b=Se(i0,this.size);if(b!==this.size)return iA.prototype.slice.call(this,j,i0);for(var S0=this.size-d0,L0=this._head;d0--;)L0=L0.next;return this.__ownerID?(this.size=S0,this._head=L0,this.__hash=void 0,this.__altered=!0,this):ve(S0,L0)},$.prototype.__ensureOwner=function(j){return j===this.__ownerID?this:j?ve(this.size,this._head,j,this.__hash):(this.__ownerID=j,this.__altered=!1,this)},$.prototype.__iterate=function(j,i0){if(i0)return this.reverse().__iterate(j);for(var d0=0,b=this._head;b&&j(b.value,d0++,this)!==!1;)b=b.next;return d0},$.prototype.__iterator=function(j,i0){if(i0)return this.reverse().__iterator(j);var d0=0,b=this._head;return new qe(function(){if(b){var S0=b.value;return b=b.next,ye(j,d0++,S0)}return Be()})};function e(j){return!!(j&&j[s0])}$.isStack=e;var s0="@@__IMMUTABLE_STACK__@@",M0=$.prototype;M0[s0]=!0,M0.withMutations=J2.withMutations,M0.asMutable=J2.asMutable,M0.asImmutable=J2.asImmutable,M0.wasAltered=J2.wasAltered;function ve(j,i0,d0,b){var S0=Object.create(M0);return S0.size=j,S0._head=i0,S0.__ownerID=d0,S0.__hash=b,S0.__altered=!1,S0}var x0;function u(){return x0||(x0=ve(0))}function be(j,i0){var d0=function(b){j.prototype[b]=i0[b]};return Object.keys(i0).forEach(d0),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i0).forEach(d0),j}y.Iterator=qe,be(y,{toArray:function(){Yn(this.size);var j=new Array(this.size||0);return this.valueSeq().__iterate(function(i0,d0){j[d0]=i0}),j},toIndexedSeq:function(){return new yl(this)},toJS:function(){return this.toSeq().map(function(j){return j&&typeof j.toJS=="function"?j.toJS():j}).__toJS()},toJSON:function(){return this.toSeq().map(function(j){return j&&typeof j.toJSON=="function"?j.toJSON():j}).__toJS()},toKeyedSeq:function(){return new A1(this,!0)},toMap:function(){return er(this.toKeyedSeq())},toObject:function(){Yn(this.size);var j={};return this.__iterate(function(i0,d0){j[d0]=i0}),j},toOrderedMap:function(){return Pt(this.toKeyedSeq())},toOrderedSet:function(){return Jo(M(this)?this.valueSeq():this)},toSet:function(){return kt(M(this)?this.valueSeq():this)},toSetSeq:function(){return new ds(this)},toSeq:function(){return Q(this)?this.toIndexedSeq():M(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return $(M(this)?this.valueSeq():this)},toList:function(){return at(M(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(j,i0){return this.size===0?j+i0:j+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+i0},concat:function(){var j=d.call(arguments,0);return Jr(this,Ey(this,j))},includes:function(j){return this.some(function(i0){return Dt(i0,j)})},entries:function(){return this.__iterator(f2)},every:function(j,i0){Yn(this.size);var d0=!0;return this.__iterate(function(b,S0,L0){if(!j.call(i0,b,S0,L0))return d0=!1,!1}),d0},filter:function(j,i0){return Jr(this,_w(this,j,i0,!0))},find:function(j,i0,d0){var b=this.findEntry(j,i0);return b?b[1]:d0},forEach:function(j,i0){return Yn(this.size),this.__iterate(i0?j.bind(i0):j)},join:function(j){Yn(this.size),j=j!==void 0?""+j:",";var i0="",d0=!0;return this.__iterate(function(b){d0?d0=!1:i0+=j,i0+=b!=null?b.toString():""}),i0},keys:function(){return this.__iterator(Ie)},map:function(j,i0){return Jr(this,Ho(this,j,i0))},reduce:function(j,i0,d0){Yn(this.size);var b,S0;return arguments.length<2?S0=!0:b=i0,this.__iterate(function(L0,G0,K0){S0?(S0=!1,b=L0):b=j.call(d0,b,L0,G0,K0)}),b},reduceRight:function(j,i0,d0){var b=this.toKeyedSeq().reverse();return b.reduce.apply(b,arguments)},reverse:function(){return Jr(this,Z3(this,!0))},slice:function(j,i0){return Jr(this,W3(this,j,i0,!0))},some:function(j,i0){return!this.every(In(j),i0)},sort:function(j){return Jr(this,aA(this,j))},values:function(){return this.__iterator(Ne)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(j,i0){return R0(j?this.toSeq().filter(j,i0):this)},countBy:function(j,i0){return gy(this,j,i0)},equals:function(j){return Zc(this,j)},entrySeq:function(){var j=this;if(j._cache)return new r2(j._cache);var i0=j.toSeq().map(on).toIndexedSeq();return i0.fromEntrySeq=function(){return j.toSeq()},i0},filterNot:function(j,i0){return this.filter(In(j),i0)},findEntry:function(j,i0,d0){var b=d0;return this.__iterate(function(S0,L0,G0){if(j.call(i0,S0,L0,G0))return b=[L0,S0],!1}),b},findKey:function(j,i0){var d0=this.findEntry(j,i0);return d0&&d0[0]},findLast:function(j,i0,d0){return this.toKeyedSeq().reverse().find(j,i0,d0)},findLastEntry:function(j,i0,d0){return this.toKeyedSeq().reverse().findEntry(j,i0,d0)},findLastKey:function(j,i0){return this.toKeyedSeq().reverse().findKey(j,i0)},first:function(){return this.find(q0)},flatMap:function(j,i0){return Jr(this,By(this,j,i0))},flatten:function(j){return Jr(this,Lw(this,j,!0))},fromEntrySeq:function(){return new uA(this)},get:function(j,i0){return this.find(function(d0,b){return Dt(b,j)},void 0,i0)},getIn:function(j,i0){for(var d0=this,b=j3(j),S0;!(S0=b.next()).done;){var L0=S0.value;if(d0=d0&&d0.get?d0.get(L0,C0):C0,d0===C0)return i0}return d0},groupBy:function(j,i0){return yy(this,j,i0)},has:function(j){return this.get(j,C0)!==C0},hasIn:function(j){return this.getIn(j,C0)!==C0},isSubset:function(j){return j=typeof j.includes=="function"?j:y(j),this.every(function(i0){return j.includes(i0)})},isSuperset:function(j){return j=typeof j.isSubset=="function"?j:y(j),j.isSubset(this)},keyOf:function(j){return this.findKey(function(i0){return Dt(i0,j)})},keySeq:function(){return this.toSeq().map(g).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(j){return this.toKeyedSeq().reverse().keyOf(j)},max:function(j){return Fc(this,j)},maxBy:function(j,i0){return Fc(this,i0,j)},min:function(j){return Fc(this,j?v0(j):u1)},minBy:function(j,i0){return Fc(this,i0?v0(i0):u1,j)},rest:function(){return this.slice(1)},skip:function(j){return this.slice(Math.max(0,j))},skipLast:function(j){return Jr(this,this.toSeq().reverse().skip(j).reverse())},skipWhile:function(j,i0){return Jr(this,zw(this,j,i0,!0))},skipUntil:function(j,i0){return this.skipWhile(In(j),i0)},sortBy:function(j,i0){return Jr(this,aA(this,i0,j))},take:function(j){return this.slice(0,Math.max(0,j))},takeLast:function(j){return Jr(this,this.toSeq().reverse().take(j).reverse())},takeWhile:function(j,i0){return Jr(this,Cy(this,j,i0))},takeUntil:function(j,i0){return this.takeWhile(In(j),i0)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=a1(this))}});var ne=y.prototype;ne[l0]=!0,ne[j2]=ne.values,ne.__toJS=ne.toArray,ne.__toStringMapper=g0,ne.inspect=ne.toSource=function(){return this.toString()},ne.chain=ne.flatMap,ne.contains=ne.includes,be(I,{flip:function(){return Jr(this,Sw(this))},mapEntries:function(j,i0){var d0=this,b=0;return Jr(this,this.toSeq().map(function(S0,L0){return j.call(i0,[L0,S0],b++,d0)}).fromEntrySeq())},mapKeys:function(j,i0){var d0=this;return Jr(this,this.toSeq().flip().map(function(b,S0){return j.call(i0,b,S0,d0)}).flip())}});var B2=I.prototype;B2[A0]=!0,B2[j2]=ne.entries,B2.__toJS=ne.toObject,B2.__toStringMapper=function(j,i0){return JSON.stringify(i0)+": "+g0(j)},be(S,{toKeyedSeq:function(){return new A1(this,!1)},filter:function(j,i0){return Jr(this,_w(this,j,i0,!1))},findIndex:function(j,i0){var d0=this.findEntry(j,i0);return d0?d0[0]:-1},indexOf:function(j){var i0=this.keyOf(j);return i0===void 0?-1:i0},lastIndexOf:function(j){var i0=this.lastKeyOf(j);return i0===void 0?-1:i0},reverse:function(){return Jr(this,Z3(this,!1))},slice:function(j,i0){return Jr(this,W3(this,j,i0,!1))},splice:function(j,i0){var d0=arguments.length;if(i0=Math.max(i0|0,0),d0===0||d0===2&&!i0)return this;j=de(j,j<0?this.count():this.size);var b=this.slice(0,j);return Jr(this,d0===1?b:b.concat(P0(arguments,2),this.slice(j+i0)))},findLastIndex:function(j,i0){var d0=this.findLastEntry(j,i0);return d0?d0[0]:-1},first:function(){return this.get(0)},flatten:function(j){return Jr(this,Lw(this,j,!1))},get:function(j,i0){return j=T0(this,j),j<0||this.size===1/0||this.size!==void 0&&j>this.size?i0:this.find(function(d0,b){return b===j},void 0,i0)},has:function(j){return j=T0(this,j),j>=0&&(this.size!==void 0?this.size===1/0||ji0?-1:0}function a1(j){if(j.size===1/0)return 0;var i0=e0(j),d0=M(j),b=i0?1:0,S0=j.__iterate(d0?i0?function(L0,G0){b=31*b+Sy(En(L0),En(G0))|0}:function(L0,G0){b=b+Sy(En(L0),En(G0))|0}:i0?function(L0){b=31*b+En(L0)|0}:function(L0){b=b+En(L0)|0});return Ur(S0,b)}function Ur(j,i0){return i0=Uu(i0,3432918353),i0=Uu(i0<<15|i0>>>-15,461845907),i0=Uu(i0<<13|i0>>>-13,5),i0=(i0+3864292196|0)^j,i0=Uu(i0^i0>>>16,2246822507),i0=Uu(i0^i0>>>13,3266489909),i0=Xu(i0^i0>>>16),i0}function Sy(j,i0){return j^i0+2654435769+(j<<6)+(j>>2)|0}var aR={Iterable:y,Seq:He,Collection:vl,Map:er,OrderedMap:Pt,List:at,Stack:$,Set:kt,OrderedSet:Jo,Record:Xi,Range:Li,Repeat:zi,is:Dt,fromJS:G1};return aR})}(OB)),OB.exports}function kF0(a){return a=a||Object.create(null),{on:function(d,k){(a[d]||(a[d]=[])).push(k)},off:function(d,k){a[d]&&a[d].splice(a[d].indexOf(k)>>>0,1)},emit:function(d,k){(a[d]||[]).slice().map(function(y){y(k)}),(a["*"]||[]).slice().map(function(y){y(d,k)})}}}const vF0=Object.freeze(Object.defineProperty({__proto__:null,default:kF0},Symbol.toStringTag,{value:"Module"})),mF0=Fn(vF0);var HB,NH;function A00(){if(NH)return HB;NH=1;var a=typeof ba=="object"&&ba&&ba.Object===Object&&ba;return HB=a,HB}var JB,QH;function gF0(){if(QH)return JB;QH=1;var a=A00(),h=typeof self=="object"&&self&&self.Object===Object&&self,d=a||h||Function("return this")();return JB=d,JB}var UB,TH;function Zg(){if(TH)return UB;TH=1;var a=gF0(),h=a.Symbol;return UB=h,UB}var XB,FH;function yF0(){if(FH)return XB;FH=1;var a=Zg(),h=Object.prototype,d=h.hasOwnProperty,k=h.toString,y=a?a.toStringTag:void 0;function I(S){var G=d.call(S,y),R=S[y];try{S[y]=void 0;var M=!0}catch{}var Q=k.call(S);return M&&(G?S[y]=R:delete S[y]),Q}return XB=I,XB}var qB,PH;function CF0(){if(PH)return qB;PH=1;var a=Object.prototype,h=a.toString;function d(k){return h.call(k)}return qB=d,qB}var $B,YH;function Wg(){if(YH)return $B;YH=1;var a=Zg(),h=yF0(),d=CF0(),k="[object Null]",y="[object Undefined]",I=a?a.toStringTag:void 0;function S(G){return G==null?G===void 0?y:k:I&&I in Object(G)?h(G):d(G)}return $B=S,$B}var KB,VH;function rw(){if(VH)return KB;VH=1;function a(h){return h!=null&&typeof h=="object"}return KB=a,KB}var bB,OH;function EF0(){if(OH)return bB;OH=1;var a=Wg(),h=rw(),d="[object RegExp]";function k(y){return h(y)&&a(y)==d}return bB=k,bB}var eI,HH;function BF0(){if(HH)return eI;HH=1;function a(h){return function(d){return h(d)}}return eI=a,eI}var N8={exports:{}};N8.exports;var JH;function IF0(){return JH||(JH=1,function(a,h){var d=A00(),k=h&&!h.nodeType&&h,y=k&&!0&&a&&!a.nodeType&&a,I=y&&y.exports===k,S=I&&d.process,G=function(){try{var R=y&&y.require&&y.require("util").types;return R||S&&S.binding&&S.binding("util")}catch{}}();a.exports=G}(N8,N8.exports)),N8.exports}var rI,UH;function xF0(){if(UH)return rI;UH=1;var a=EF0(),h=BF0(),d=IF0(),k=d&&d.isRegExp,y=k?h(k):a;return rI=y,rI}var tI,XH;function SF0(){if(XH)return tI;XH=1;function a(h,d){for(var k=-1,y=h==null?0:h.length,I=Array(y);++k0&&I(Q)?y>1?d(Q,y-1,I,S,G):a(G,Q):S||(G[G.length]=Q)}return G}return hI=d,hI}var wI,sJ;function NF0(){if(sJ)return wI;sJ=1;var a=jF0();function h(d){var k=d==null?0:d.length;return k?a(d,1):[]}return wI=h,wI}var dI,AJ;function QF0(){if(AJ)return dI;AJ=1;var a=xF0(),h=RF0(),d=GF0(),k=NF0();function y(I,S,G){var R=0,M=0;if(I==="")return I;if(!I||!d(I))throw new TypeError("First argument to react-string-replace#replaceString must be a string");var Q=S;a(Q)||(Q=new RegExp("("+h(Q)+")","gi"));for(var V=I.split(Q),e0=1,l0=V.length;e0=0&&R===G&&M())}function Q8(a,h){if(a==null)return{};var d=At(a,h),k,y;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(a);for(y=0;y=0)&&Object.prototype.propertyIsEnumerable.call(a,k)&&(d[k]=a[k])}return d}var TF0=function(){function a(h){var d=h.cellCount,k=h.cellSizeGetter,y=h.estimatedCellSize;li(this,a),Ae(this,"_cellSizeAndPositionData",{}),Ae(this,"_lastMeasuredIndex",-1),Ae(this,"_lastBatchedIndex",-1),Ae(this,"_cellCount",void 0),Ae(this,"_cellSizeGetter",void 0),Ae(this,"_estimatedCellSize",void 0),this._cellSizeGetter=k,this._cellCount=d,this._estimatedCellSize=y}return pi(a,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(d){var k=d.cellCount,y=d.estimatedCellSize,I=d.cellSizeGetter;this._cellCount=k,this._estimatedCellSize=y,this._cellSizeGetter=I}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(d){if(d<0||d>=this._cellCount)throw Error("Requested index ".concat(d," is outside of range 0..").concat(this._cellCount));if(d>this._lastMeasuredIndex)for(var k=this.getSizeAndPositionOfLastMeasuredCell(),y=k.offset+k.size,I=this._lastMeasuredIndex+1;I<=d;I++){var S=this._cellSizeGetter({index:I});if(S===void 0||isNaN(S))throw Error("Invalid size returned for cell ".concat(I," of value ").concat(S));S===null?(this._cellSizeAndPositionData[I]={offset:y,size:0},this._lastBatchedIndex=d):(this._cellSizeAndPositionData[I]={offset:y,size:S},y+=S,this._lastMeasuredIndex=d)}return this._cellSizeAndPositionData[d]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var d=this.getSizeAndPositionOfLastMeasuredCell(),k=d.offset+d.size,y=this._cellCount-this._lastMeasuredIndex-1,I=y*this._estimatedCellSize;return k+I}},{key:"getUpdatedOffsetForIndex",value:function(d){var k=d.align,y=k===void 0?"auto":k,I=d.containerSize,S=d.currentOffset,G=d.targetIndex;if(I<=0)return 0;var R=this.getSizeAndPositionOfCell(G),M=R.offset,Q=M-I+R.size,V;switch(y){case"start":V=M;break;case"end":V=Q;break;case"center":V=M-(I-R.size)/2;break;default:V=Math.max(Q,Math.min(M,S));break}var e0=this.getTotalSize();return Math.max(0,Math.min(e0-I,V))}},{key:"getVisibleCellRange",value:function(d){var k=d.containerSize,y=d.offset,I=this.getTotalSize();if(I===0)return{};var S=y+k,G=this._findNearestCell(y),R=this.getSizeAndPositionOfCell(G);y=R.offset+R.size;for(var M=G;yy&&(d=I-1)}return k>0?k-1:0}},{key:"_exponentialSearch",value:function(d,k){for(var y=1;d=d?this._binarySearch(y,0,d):this._exponentialSearch(y,d)}}]),a}(),FF0=15e5,PF0=16777100,YF0=function(){return typeof window<"u"},VF0=function(){return!!window.chrome},OF0=function(){return YF0()&&VF0()?PF0:FF0},cJ=function(){function a(h){var d=h.maxScrollSize,k=d===void 0?OF0():d,y=Q8(h,["maxScrollSize"]);li(this,a),Ae(this,"_cellSizeAndPositionManager",void 0),Ae(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new TF0(y),this._maxScrollSize=k}return pi(a,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(d){this._cellSizeAndPositionManager.configure(d)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(d){var k=d.containerSize,y=d.offset,I=this._cellSizeAndPositionManager.getTotalSize(),S=this.getTotalSize(),G=this._getOffsetPercentage({containerSize:k,offset:y,totalSize:S});return Math.round(G*(S-I))}},{key:"getSizeAndPositionOfCell",value:function(d){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(d)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(d){var k=d.align,y=k===void 0?"auto":k,I=d.containerSize,S=d.currentOffset,G=d.targetIndex;S=this._safeOffsetToOffset({containerSize:I,offset:S});var R=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:y,containerSize:I,currentOffset:S,targetIndex:G});return this._offsetToSafeOffset({containerSize:I,offset:R})}},{key:"getVisibleCellRange",value:function(d){var k=d.containerSize,y=d.offset;return y=this._safeOffsetToOffset({containerSize:k,offset:y}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:k,offset:y})}},{key:"resetCell",value:function(d){this._cellSizeAndPositionManager.resetCell(d)}},{key:"_getOffsetPercentage",value:function(d){var k=d.containerSize,y=d.offset,I=d.totalSize;return I<=k?0:y/(I-k)}},{key:"_offsetToSafeOffset",value:function(d){var k=d.containerSize,y=d.offset,I=this._cellSizeAndPositionManager.getTotalSize(),S=this.getTotalSize();if(I===S)return y;var G=this._getOffsetPercentage({containerSize:k,offset:y,totalSize:I});return Math.round(G*(S-k))}},{key:"_safeOffsetToOffset",value:function(d){var k=d.containerSize,y=d.offset,I=this._cellSizeAndPositionManager.getTotalSize(),S=this.getTotalSize();if(I===S)return y;var G=this._getOffsetPercentage({containerSize:k,offset:y,totalSize:S});return Math.round(G*(I-k))}}]),a}();function q4(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,h={};return function(d){var k=d.callback,y=d.indices,I=Object.keys(y),S=!a||I.every(function(R){var M=y[R];return Array.isArray(M)?M.length>0:M>=0}),G=I.length!==Object.keys(h).length||I.some(function(R){var M=h[R],Q=y[R];return Array.isArray(Q)?M.join(",")!==Q.join(","):M!==Q});h=y,S&&G&&k(y)}}var mv=-1,Ms=1;function h00(a){var h=a.cellCount,d=a.overscanCellsCount,k=a.scrollDirection,y=a.startIndex,I=a.stopIndex;return k===Ms?{overscanStartIndex:Math.max(0,y),overscanStopIndex:Math.min(h-1,I+d)}:{overscanStartIndex:Math.max(0,y-d),overscanStopIndex:Math.min(h-1,I)}}function fJ(a){var h=a.cellSize,d=a.cellSizeAndPositionManager,k=a.previousCellsCount,y=a.previousCellSize,I=a.previousScrollToAlignment,S=a.previousScrollToIndex,G=a.previousSize,R=a.scrollOffset,M=a.scrollToAlignment,Q=a.scrollToIndex,V=a.size,e0=a.sizeJustIncreasedFromZero,l0=a.updateScrollIndexCallback,A0=d.getCellCount(),n0=Q>=0&&Q0&&(Vd.getTotalSize()-V&&l0(A0-1)}function w00(a){for(var h=a.cellCache,d=a.cellRenderer,k=a.columnSizeAndPositionManager,y=a.columnStartIndex,I=a.columnStopIndex,S=a.deferredMeasurementCache,G=a.horizontalOffsetAdjustment,R=a.isScrolling,M=a.isScrollingOptOut,Q=a.parent,V=a.rowSizeAndPositionManager,e0=a.rowStartIndex,l0=a.rowStopIndex,A0=a.styleCache,n0=a.verticalOffsetAdjustment,h0=a.visibleColumnIndices,u0=a.visibleRowIndices,c0=[],f0=k.areOffsetsAdjusted()||V.areOffsetsAdjusted(),y0=!R&&!f0,C0=e0;C0<=l0;C0++)for(var I0=V.getSizeAndPositionOfCell(C0),w0=y;w0<=I;w0++){var E0=k.getSizeAndPositionOfCell(w0),z0=w0>=h0.start&&w0<=h0.stop&&C0>=u0.start&&C0<=u0.stop,W0="".concat(C0,"-").concat(w0),P0=void 0;y0&&A0[W0]?P0=A0[W0]:S&&!S.has(C0,w0)?P0={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(P0={height:I0.size,left:E0.offset+G,position:"absolute",top:I0.offset+n0,width:E0.size},A0[W0]=P0);var R0={columnIndex:w0,isScrolling:R,isVisible:z0,key:W0,parent:Q,rowIndex:C0,style:P0},T0=void 0;(M||R)&&!G&&!n0?(h[W0]||(h[W0]=d(R0)),T0=h[W0]):T0=d(R0),!(T0==null||T0===!1)&&c0.push(T0)}return c0}const HF0=!!(typeof window<"u"&&window.document&&window.document.createElement);var gv;function Xx(a){if((!gv&&gv!==0||a)&&HF0){var h=document.createElement("div");h.style.position="absolute",h.style.top="-9999px",h.style.width="50px",h.style.height="50px",h.style.overflow="scroll",document.body.appendChild(h),gv=h.offsetWidth-h.clientWidth,document.body.removeChild(h)}return gv}var e1;typeof window<"u"?e1=window:typeof self<"u"?e1=self:e1={};var JF0=e1.requestAnimationFrame||e1.webkitRequestAnimationFrame||e1.mozRequestAnimationFrame||e1.oRequestAnimationFrame||e1.msRequestAnimationFrame||function(a){return e1.setTimeout(a,1e3/60)},UF0=e1.cancelAnimationFrame||e1.webkitCancelAnimationFrame||e1.mozCancelAnimationFrame||e1.oCancelAnimationFrame||e1.msCancelAnimationFrame||function(a){e1.clearTimeout(a)},hJ=JF0,XF0=UF0,$4=function(h){return XF0(h.id)},Ez=function(h,d){var k;Promise.resolve().then(function(){k=Date.now()});var y=function S(){Date.now()-k>=d?h.call():I.id=hJ(S)},I={id:hJ(y)};return I},wJ,dJ;function pJ(a,h){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(a);h&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(a,y).enumerable})),d.push.apply(d,k)}return d}function Oa(a){for(var h=1;h0&&(k._initialScrollTop=k._getCalculatedScrollTop(d,k.state)),d.scrollToColumn>0&&(k._initialScrollLeft=k._getCalculatedScrollLeft(d,k.state)),k}return pi(h,[{key:"getOffsetForCell",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=k.alignment,I=y===void 0?this.props.scrollToAlignment:y,S=k.columnIndex,G=S===void 0?this.props.scrollToColumn:S,R=k.rowIndex,M=R===void 0?this.props.scrollToRow:R,Q=Oa({},this.props,{scrollToAlignment:I,scrollToColumn:G,scrollToRow:M});return{scrollLeft:this._getCalculatedScrollLeft(Q),scrollTop:this._getCalculatedScrollTop(Q)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(k){var y=k.scrollLeft,I=y===void 0?0:y,S=k.scrollTop,G=S===void 0?0:S;if(!(G<0)){this._debounceScrollEnded();var R=this.props,M=R.autoHeight,Q=R.autoWidth,V=R.height,e0=R.width,l0=this.state.instanceProps,A0=l0.scrollbarSize,n0=l0.rowSizeAndPositionManager.getTotalSize(),h0=l0.columnSizeAndPositionManager.getTotalSize(),u0=Math.min(Math.max(0,h0-e0+A0),I),c0=Math.min(Math.max(0,n0-V+A0),G);if(this.state.scrollLeft!==u0||this.state.scrollTop!==c0){var f0=u0!==this.state.scrollLeft?u0>this.state.scrollLeft?Ms:mv:this.state.scrollDirectionHorizontal,y0=c0!==this.state.scrollTop?c0>this.state.scrollTop?Ms:mv:this.state.scrollDirectionVertical,C0={isScrolling:!0,scrollDirectionHorizontal:f0,scrollDirectionVertical:y0,scrollPositionChangeReason:pI.OBSERVED};M||(C0.scrollTop=c0),Q||(C0.scrollLeft=u0),C0.needToResetStyleCache=!1,this.setState(C0)}this._invokeOnScrollMemoizer({scrollLeft:u0,scrollTop:c0,totalColumnsWidth:h0,totalRowsHeight:n0})}}},{key:"invalidateCellSizeAfterRender",value:function(k){var y=k.columnIndex,I=k.rowIndex;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,y):y,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,I):I}},{key:"measureAllCells",value:function(){var k=this.props,y=k.columnCount,I=k.rowCount,S=this.state.instanceProps;S.columnSizeAndPositionManager.getSizeAndPositionOfCell(y-1),S.rowSizeAndPositionManager.getSizeAndPositionOfCell(I-1)}},{key:"recomputeGridSize",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=k.columnIndex,I=y===void 0?0:y,S=k.rowIndex,G=S===void 0?0:S,R=this.props,M=R.scrollToColumn,Q=R.scrollToRow,V=this.state.instanceProps;V.columnSizeAndPositionManager.resetCell(I),V.rowSizeAndPositionManager.resetCell(G),this._recomputeScrollLeftFlag=M>=0&&(this.state.scrollDirectionHorizontal===Ms?I<=M:I>=M),this._recomputeScrollTopFlag=Q>=0&&(this.state.scrollDirectionVertical===Ms?G<=Q:G>=Q),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(k){var y=k.columnIndex,I=k.rowIndex,S=this.props.columnCount,G=this.props;S>1&&y!==void 0&&this._updateScrollLeftForScrollToColumn(Oa({},G,{scrollToColumn:y})),I!==void 0&&this._updateScrollTopForScrollToRow(Oa({},G,{scrollToRow:I}))}},{key:"componentDidMount",value:function(){var k=this.props,y=k.getScrollbarSize,I=k.height,S=k.scrollLeft,G=k.scrollToColumn,R=k.scrollTop,M=k.scrollToRow,Q=k.width,V=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),V.scrollbarSizeMeasured||this.setState(function(A0){var n0=Oa({},A0,{needToResetStyleCache:!1});return n0.instanceProps.scrollbarSize=y(),n0.instanceProps.scrollbarSizeMeasured=!0,n0}),typeof S=="number"&&S>=0||typeof R=="number"&&R>=0){var e0=h._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:S,scrollTop:R});e0&&(e0.needToResetStyleCache=!1,this.setState(e0))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var l0=I>0&&Q>0;G>=0&&l0&&this._updateScrollLeftForScrollToColumn(),M>=0&&l0&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:S||0,scrollTop:R||0,totalColumnsWidth:V.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:V.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(k,y){var I=this,S=this.props,G=S.autoHeight,R=S.autoWidth,M=S.columnCount,Q=S.height,V=S.rowCount,e0=S.scrollToAlignment,l0=S.scrollToColumn,A0=S.scrollToRow,n0=S.width,h0=this.state,u0=h0.scrollLeft,c0=h0.scrollPositionChangeReason,f0=h0.scrollTop,y0=h0.instanceProps;this._handleInvalidatedGridSize();var C0=M>0&&k.columnCount===0||V>0&&k.rowCount===0;c0===pI.REQUESTED&&(!R&&u0>=0&&(u0!==this._scrollingContainer.scrollLeft||C0)&&(this._scrollingContainer.scrollLeft=u0),!G&&f0>=0&&(f0!==this._scrollingContainer.scrollTop||C0)&&(this._scrollingContainer.scrollTop=f0));var I0=(k.width===0||k.height===0)&&Q>0&&n0>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):fJ({cellSizeAndPositionManager:y0.columnSizeAndPositionManager,previousCellsCount:k.columnCount,previousCellSize:k.columnWidth,previousScrollToAlignment:k.scrollToAlignment,previousScrollToIndex:k.scrollToColumn,previousSize:k.width,scrollOffset:u0,scrollToAlignment:e0,scrollToIndex:l0,size:n0,sizeJustIncreasedFromZero:I0,updateScrollIndexCallback:function(){return I._updateScrollLeftForScrollToColumn(I.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):fJ({cellSizeAndPositionManager:y0.rowSizeAndPositionManager,previousCellsCount:k.rowCount,previousCellSize:k.rowHeight,previousScrollToAlignment:k.scrollToAlignment,previousScrollToIndex:k.scrollToRow,previousSize:k.height,scrollOffset:f0,scrollToAlignment:e0,scrollToIndex:A0,size:Q,sizeJustIncreasedFromZero:I0,updateScrollIndexCallback:function(){return I._updateScrollTopForScrollToRow(I.props)}}),this._invokeOnGridRenderedHelper(),u0!==y.scrollLeft||f0!==y.scrollTop){var w0=y0.rowSizeAndPositionManager.getTotalSize(),E0=y0.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:u0,scrollTop:f0,totalColumnsWidth:E0,totalRowsHeight:w0})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&$4(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var k=this.props,y=k.autoContainerWidth,I=k.autoHeight,S=k.autoWidth,G=k.className,R=k.containerProps,M=k.containerRole,Q=k.containerStyle,V=k.height,e0=k.id,l0=k.noContentRenderer,A0=k.role,n0=k.style,h0=k.tabIndex,u0=k.width,c0=this.state,f0=c0.instanceProps,y0=c0.needToResetStyleCache,C0=this._isScrolling(),I0={boxSizing:"border-box",direction:"ltr",height:I?"auto":V,position:"relative",width:S?"auto":u0,WebkitOverflowScrolling:"touch",willChange:"transform"};y0&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w0=f0.columnSizeAndPositionManager.getTotalSize(),E0=f0.rowSizeAndPositionManager.getTotalSize(),z0=E0>V?f0.scrollbarSize:0,W0=w0>u0?f0.scrollbarSize:0;(W0!==this._horizontalScrollBarSize||z0!==this._verticalScrollBarSize)&&(this._horizontalScrollBarSize=W0,this._verticalScrollBarSize=z0,this._scrollbarPresenceChanged=!0),I0.overflowX=w0+z0<=u0?"hidden":"auto",I0.overflowY=E0+W0<=V?"hidden":"auto";var P0=this._childrenToDisplay,R0=P0.length===0&&V>0&&u0>0;return Q0.createElement("div",Le({ref:this._setScrollingContainerRef},R,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:ul("ReactVirtualized__Grid",G),id:e0,onScroll:this._onScroll,role:A0,style:Oa({},I0,{},n0),tabIndex:h0}),P0.length>0&&Q0.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:M,style:Oa({width:y?"auto":w0,height:E0,maxWidth:w0,maxHeight:E0,overflow:"hidden",pointerEvents:C0?"none":"",position:"relative"},Q)},P0),R0&&l0())}},{key:"_calculateChildrenToRender",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,I=k.cellRenderer,S=k.cellRangeRenderer,G=k.columnCount,R=k.deferredMeasurementCache,M=k.height,Q=k.overscanColumnCount,V=k.overscanIndicesGetter,e0=k.overscanRowCount,l0=k.rowCount,A0=k.width,n0=k.isScrollingOptOut,h0=y.scrollDirectionHorizontal,u0=y.scrollDirectionVertical,c0=y.instanceProps,f0=this._initialScrollTop>0?this._initialScrollTop:y.scrollTop,y0=this._initialScrollLeft>0?this._initialScrollLeft:y.scrollLeft,C0=this._isScrolling(k,y);if(this._childrenToDisplay=[],M>0&&A0>0){var I0=c0.columnSizeAndPositionManager.getVisibleCellRange({containerSize:A0,offset:y0}),w0=c0.rowSizeAndPositionManager.getVisibleCellRange({containerSize:M,offset:f0}),E0=c0.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:A0,offset:y0}),z0=c0.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:M,offset:f0});this._renderedColumnStartIndex=I0.start,this._renderedColumnStopIndex=I0.stop,this._renderedRowStartIndex=w0.start,this._renderedRowStopIndex=w0.stop;var W0=V({direction:"horizontal",cellCount:G,overscanCellsCount:Q,scrollDirection:h0,startIndex:typeof I0.start=="number"?I0.start:0,stopIndex:typeof I0.stop=="number"?I0.stop:-1}),P0=V({direction:"vertical",cellCount:l0,overscanCellsCount:e0,scrollDirection:u0,startIndex:typeof w0.start=="number"?w0.start:0,stopIndex:typeof w0.stop=="number"?w0.stop:-1}),R0=W0.overscanStartIndex,T0=W0.overscanStopIndex,q0=P0.overscanStartIndex,ae=P0.overscanStopIndex;if(R){if(!R.hasFixedHeight()){for(var de=q0;de<=ae;de++)if(!R.has(de,0)){R0=0,T0=G-1;break}}if(!R.hasFixedWidth()){for(var Se=R0;Se<=T0;Se++)if(!R.has(0,Se)){q0=0,ae=l0-1;break}}}this._childrenToDisplay=S({cellCache:this._cellCache,cellRenderer:I,columnSizeAndPositionManager:c0.columnSizeAndPositionManager,columnStartIndex:R0,columnStopIndex:T0,deferredMeasurementCache:R,horizontalOffsetAdjustment:E0,isScrolling:C0,isScrollingOptOut:n0,parent:this,rowSizeAndPositionManager:c0.rowSizeAndPositionManager,rowStartIndex:q0,rowStopIndex:ae,scrollLeft:y0,scrollTop:f0,styleCache:this._styleCache,verticalOffsetAdjustment:z0,visibleColumnIndices:I0,visibleRowIndices:w0}),this._columnStartIndex=R0,this._columnStopIndex=T0,this._rowStartIndex=q0,this._rowStopIndex=ae}}},{key:"_debounceScrollEnded",value:function(){var k=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&$4(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=Ez(this._debounceScrollEndedCallback,k)}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"&&typeof this._deferredInvalidateRowIndex=="number"){var k=this._deferredInvalidateColumnIndex,y=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:k,rowIndex:y})}}},{key:"_invokeOnScrollMemoizer",value:function(k){var y=this,I=k.scrollLeft,S=k.scrollTop,G=k.totalColumnsWidth,R=k.totalRowsHeight;this._onScrollMemoizer({callback:function(Q){var V=Q.scrollLeft,e0=Q.scrollTop,l0=y.props,A0=l0.height,n0=l0.onScroll,h0=l0.width;n0({clientHeight:A0,clientWidth:h0,scrollHeight:R,scrollLeft:V,scrollTop:e0,scrollWidth:G})},indices:{scrollLeft:I,scrollTop:S}})}},{key:"_isScrolling",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return Object.hasOwnProperty.call(k,"isScrolling")?!!k.isScrolling:!!y.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var k=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,k({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(k){var y=k.scrollLeft,I=k.scrollTop,S=h._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:y,scrollTop:I});S&&(S.needToResetStyleCache=!1,this.setState(S))}},{key:"_getCalculatedScrollLeft",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return h._getCalculatedScrollLeft(k,y)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,I=h._getScrollLeftForScrollToColumnStateUpdate(k,y);I&&(I.needToResetStyleCache=!1,this.setState(I))}},{key:"_getCalculatedScrollTop",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return h._getCalculatedScrollTop(k,y)}},{key:"_resetStyleCache",value:function(){var k=this._styleCache,y=this._cellCache,I=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var S=this._rowStartIndex;S<=this._rowStopIndex;S++)for(var G=this._columnStartIndex;G<=this._columnStopIndex;G++){var R="".concat(S,"-").concat(G);this._styleCache[R]=k[R],I&&(this._cellCache[R]=y[R])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,I=h._getScrollTopForScrollToRowStateUpdate(k,y);I&&(I.needToResetStyleCache=!1,this.setState(I))}}],[{key:"getDerivedStateFromProps",value:function(k,y){var I={};k.columnCount===0&&y.scrollLeft!==0||k.rowCount===0&&y.scrollTop!==0?(I.scrollLeft=0,I.scrollTop=0):(k.scrollLeft!==y.scrollLeft&&k.scrollToColumn<0||k.scrollTop!==y.scrollTop&&k.scrollToRow<0)&&Object.assign(I,h._getScrollToPositionStateUpdate({prevState:y,scrollLeft:k.scrollLeft,scrollTop:k.scrollTop}));var S=y.instanceProps;I.needToResetStyleCache=!1,(k.columnWidth!==S.prevColumnWidth||k.rowHeight!==S.prevRowHeight)&&(I.needToResetStyleCache=!0),S.columnSizeAndPositionManager.configure({cellCount:k.columnCount,estimatedCellSize:h._getEstimatedColumnSize(k),cellSizeGetter:h._wrapSizeGetter(k.columnWidth)}),S.rowSizeAndPositionManager.configure({cellCount:k.rowCount,estimatedCellSize:h._getEstimatedRowSize(k),cellSizeGetter:h._wrapSizeGetter(k.rowHeight)}),(S.prevColumnCount===0||S.prevRowCount===0)&&(S.prevColumnCount=0,S.prevRowCount=0),k.autoHeight&&k.isScrolling===!1&&S.prevIsScrolling===!0&&Object.assign(I,{isScrolling:!1});var G,R;return aJ({cellCount:S.prevColumnCount,cellSize:typeof S.prevColumnWidth=="number"?S.prevColumnWidth:null,computeMetadataCallback:function(){return S.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:k,nextCellsCount:k.columnCount,nextCellSize:typeof k.columnWidth=="number"?k.columnWidth:null,nextScrollToIndex:k.scrollToColumn,scrollToIndex:S.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){G=h._getScrollLeftForScrollToColumnStateUpdate(k,y)}}),aJ({cellCount:S.prevRowCount,cellSize:typeof S.prevRowHeight=="number"?S.prevRowHeight:null,computeMetadataCallback:function(){return S.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:k,nextCellsCount:k.rowCount,nextCellSize:typeof k.rowHeight=="number"?k.rowHeight:null,nextScrollToIndex:k.scrollToRow,scrollToIndex:S.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){R=h._getScrollTopForScrollToRowStateUpdate(k,y)}}),S.prevColumnCount=k.columnCount,S.prevColumnWidth=k.columnWidth,S.prevIsScrolling=k.isScrolling===!0,S.prevRowCount=k.rowCount,S.prevRowHeight=k.rowHeight,S.prevScrollToColumn=k.scrollToColumn,S.prevScrollToRow=k.scrollToRow,S.scrollbarSize=k.getScrollbarSize(),S.scrollbarSize===void 0?(S.scrollbarSizeMeasured=!1,S.scrollbarSize=0):S.scrollbarSizeMeasured=!0,I.instanceProps=S,Oa({},I,{},G,{},R)}},{key:"_getEstimatedColumnSize",value:function(k){return typeof k.columnWidth=="number"?k.columnWidth:k.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(k){return typeof k.rowHeight=="number"?k.rowHeight:k.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(k){var y=k.prevState,I=k.scrollLeft,S=k.scrollTop,G={scrollPositionChangeReason:pI.REQUESTED};return typeof I=="number"&&I>=0&&(G.scrollDirectionHorizontal=I>y.scrollLeft?Ms:mv,G.scrollLeft=I),typeof S=="number"&&S>=0&&(G.scrollDirectionVertical=S>y.scrollTop?Ms:mv,G.scrollTop=S),typeof I=="number"&&I>=0&&I!==y.scrollLeft||typeof S=="number"&&S>=0&&S!==y.scrollTop?G:{}}},{key:"_wrapSizeGetter",value:function(k){return typeof k=="function"?k:function(){return k}}},{key:"_getCalculatedScrollLeft",value:function(k,y){var I=k.columnCount,S=k.height,G=k.scrollToAlignment,R=k.scrollToColumn,M=k.width,Q=y.scrollLeft,V=y.instanceProps;if(I>0){var e0=I-1,l0=R<0?e0:Math.min(e0,R),A0=V.rowSizeAndPositionManager.getTotalSize(),n0=V.scrollbarSizeMeasured&&A0>S?V.scrollbarSize:0;return V.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:G,containerSize:M-n0,currentOffset:Q,targetIndex:l0})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(k,y){var I=y.scrollLeft,S=h._getCalculatedScrollLeft(k,y);return typeof S=="number"&&S>=0&&I!==S?h._getScrollToPositionStateUpdate({prevState:y,scrollLeft:S,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(k,y){var I=k.height,S=k.rowCount,G=k.scrollToAlignment,R=k.scrollToRow,M=k.width,Q=y.scrollTop,V=y.instanceProps;if(S>0){var e0=S-1,l0=R<0?e0:Math.min(e0,R),A0=V.columnSizeAndPositionManager.getTotalSize(),n0=V.scrollbarSizeMeasured&&A0>M?V.scrollbarSize:0;return V.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:G,containerSize:I-n0,currentOffset:Q,targetIndex:l0})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(k,y){var I=y.scrollTop,S=h._getCalculatedScrollTop(k,y);return typeof S=="number"&&S>=0&&I!==S?h._getScrollToPositionStateUpdate({prevState:y,scrollLeft:-1,scrollTop:S}):{}}}]),h}(Q0.PureComponent),Ae(wJ,"propTypes",null),dJ);Ae(Os,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:w00,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:Xx,noContentRenderer:$F0,onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:h00,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:qF0,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1});tw(Os);var KF0=1;function Bz(a){var h=a.cellCount,d=a.overscanCellsCount,k=a.scrollDirection,y=a.startIndex,I=a.stopIndex;return d=Math.max(1,d),k===KF0?{overscanStartIndex:Math.max(0,y-1),overscanStopIndex:Math.min(h-1,I+d)}:{overscanStartIndex:Math.max(0,y-d),overscanStopIndex:Math.min(h-1,I+1)}}var kJ,vJ;function mJ(a,h){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(a);h&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(a,y).enumerable})),d.push.apply(d,k)}return d}function bF0(a){for(var h=1;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',W0=E0.head||E0.getElementsByTagName("head")[0],P0=E0.createElement("style");P0.id="detectElementResize",P0.type="text/css",a!=null&&P0.setAttribute("nonce",a),P0.styleSheet?P0.styleSheet.cssText=z0:P0.appendChild(E0.createTextNode(z0)),W0.appendChild(P0)}},C0=function(E0,z0){if(k)E0.attachEvent("onresize",z0);else{if(!E0.__resizeTriggers__){var W0=E0.ownerDocument,P0=d.getComputedStyle(E0);P0&&P0.position=="static"&&(E0.style.position="relative"),y0(W0),E0.__resizeLast__={},E0.__resizeListeners__=[],(E0.__resizeTriggers__=W0.createElement("div")).className="resize-triggers";var R0='
';if(window.trustedTypes){var T0=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return R0}});E0.__resizeTriggers__.innerHTML=T0.createHTML("")}else E0.__resizeTriggers__.innerHTML=R0;E0.appendChild(E0.__resizeTriggers__),S(E0),E0.addEventListener("scroll",R,!0),V&&(E0.__resizeTriggers__.__animationListener__=function(ae){ae.animationName==u0&&S(E0)},E0.__resizeTriggers__.addEventListener(V,E0.__resizeTriggers__.__animationListener__))}E0.__resizeListeners__.push(z0)}},I0=function(E0,z0){if(k)E0.detachEvent("onresize",z0);else if(E0.__resizeListeners__.splice(E0.__resizeListeners__.indexOf(z0),1),!E0.__resizeListeners__.length){E0.removeEventListener("scroll",R,!0),E0.__resizeTriggers__.__animationListener__&&(E0.__resizeTriggers__.removeEventListener(V,E0.__resizeTriggers__.__animationListener__),E0.__resizeTriggers__.__animationListener__=null);try{E0.__resizeTriggers__=!E0.removeChild(E0.__resizeTriggers__)}catch{}}};return{addResizeListener:C0,removeResizeListener:I0}}var gJ,yJ;function CJ(a,h){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(a);h&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(a,y).enumerable})),d.push.apply(d,k)}return d}function eP0(a){for(var h=1;h0&&arguments[0]!==void 0?arguments[0]:{};li(this,a),Ae(this,"_cellHeightCache",{}),Ae(this,"_cellWidthCache",{}),Ae(this,"_columnWidthCache",{}),Ae(this,"_rowHeightCache",{}),Ae(this,"_defaultHeight",void 0),Ae(this,"_defaultWidth",void 0),Ae(this,"_minHeight",void 0),Ae(this,"_minWidth",void 0),Ae(this,"_keyMapper",void 0),Ae(this,"_hasFixedHeight",void 0),Ae(this,"_hasFixedWidth",void 0),Ae(this,"_columnCount",0),Ae(this,"_rowCount",0),Ae(this,"columnWidth",function(Q){var V=Q.index,e0=h._keyMapper(0,V);return h._columnWidthCache[e0]!==void 0?h._columnWidthCache[e0]:h._defaultWidth}),Ae(this,"rowHeight",function(Q){var V=Q.index,e0=h._keyMapper(V,0);return h._rowHeightCache[e0]!==void 0?h._rowHeightCache[e0]:h._defaultHeight});var k=d.defaultHeight,y=d.defaultWidth,I=d.fixedHeight,S=d.fixedWidth,G=d.keyMapper,R=d.minHeight,M=d.minWidth;this._hasFixedHeight=I===!0,this._hasFixedWidth=S===!0,this._minHeight=R||0,this._minWidth=M||0,this._keyMapper=G||nP0,this._defaultHeight=Math.max(this._minHeight,typeof k=="number"?k:rP0),this._defaultWidth=Math.max(this._minWidth,typeof y=="number"?y:tP0)}return pi(a,[{key:"clear",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,y=this._keyMapper(d,k);delete this._cellHeightCache[y],delete this._cellWidthCache[y],this._updateCachedColumnAndRowSizes(d,k)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var y=this._keyMapper(d,k);return this._cellHeightCache[y]!==void 0?Math.max(this._minHeight,this._cellHeightCache[y]):this._defaultHeight}},{key:"getWidth",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var y=this._keyMapper(d,k);return this._cellWidthCache[y]!==void 0?Math.max(this._minWidth,this._cellWidthCache[y]):this._defaultWidth}},{key:"has",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,y=this._keyMapper(d,k);return this._cellHeightCache[y]!==void 0}},{key:"set",value:function(d,k,y,I){var S=this._keyMapper(d,k);k>=this._columnCount&&(this._columnCount=k+1),d>=this._rowCount&&(this._rowCount=d+1),this._cellHeightCache[S]=I,this._cellWidthCache[S]=y,this._updateCachedColumnAndRowSizes(d,k)}},{key:"_updateCachedColumnAndRowSizes",value:function(d,k){if(!this._hasFixedWidth){for(var y=0,I=0;I=0){var h0=R.getScrollPositionForCell({align:Q,cellIndex:V,height:M,scrollLeft:A0,scrollTop:n0,width:e0});(h0.scrollLeft!==A0||h0.scrollTop!==n0)&&k._setScrollPosition(h0)}}),Ae(Ge(k),"_onScroll",function(G){if(G.target===k._scrollingContainer){k._enablePointerEventsAfterDelay();var R=k.props,M=R.cellLayoutManager,Q=R.height,V=R.isScrollingChange,e0=R.width,l0=k._scrollbarSize,A0=M.getTotalSize(),n0=A0.height,h0=A0.width,u0=Math.max(0,Math.min(h0-e0+l0,G.target.scrollLeft)),c0=Math.max(0,Math.min(n0-Q+l0,G.target.scrollTop));if(k.state.scrollLeft!==u0||k.state.scrollTop!==c0){var f0=G.cancelable?o4.OBSERVED:o4.REQUESTED;k.state.isScrolling||V(!0),k.setState({isScrolling:!0,scrollLeft:u0,scrollPositionChangeReason:f0,scrollTop:c0})}k._invokeOnScrollMemoizer({scrollLeft:u0,scrollTop:c0,totalWidth:h0,totalHeight:n0})}}),k._scrollbarSize=Xx(),k._scrollbarSize===void 0?(k._scrollbarSizeMeasured=!1,k._scrollbarSize=0):k._scrollbarSizeMeasured=!0,k}return pi(h,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var k=this.props,y=k.cellLayoutManager,I=k.scrollLeft,S=k.scrollToCell,G=k.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Xx(),this._scrollbarSizeMeasured=!0,this.setState({})),S>=0?this._updateScrollPositionForScrollToCell():(I>=0||G>=0)&&this._setScrollPosition({scrollLeft:I,scrollTop:G}),this._invokeOnSectionRenderedHelper();var R=y.getTotalSize(),M=R.height,Q=R.width;this._invokeOnScrollMemoizer({scrollLeft:I||0,scrollTop:G||0,totalHeight:M,totalWidth:Q})}},{key:"componentDidUpdate",value:function(k,y){var I=this.props,S=I.height,G=I.scrollToAlignment,R=I.scrollToCell,M=I.width,Q=this.state,V=Q.scrollLeft,e0=Q.scrollPositionChangeReason,l0=Q.scrollTop;e0===o4.REQUESTED&&(V>=0&&V!==y.scrollLeft&&V!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=V),l0>=0&&l0!==y.scrollTop&&l0!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=l0)),(S!==k.height||G!==k.scrollToAlignment||R!==k.scrollToCell||M!==k.width)&&this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var k=this.props,y=k.autoHeight,I=k.cellCount,S=k.cellLayoutManager,G=k.className,R=k.height,M=k.horizontalOverscanSize,Q=k.id,V=k.noContentRenderer,e0=k.style,l0=k.verticalOverscanSize,A0=k.width,n0=this.state,h0=n0.isScrolling,u0=n0.scrollLeft,c0=n0.scrollTop;(this._lastRenderedCellCount!==I||this._lastRenderedCellLayoutManager!==S||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=I,this._lastRenderedCellLayoutManager=S,this._calculateSizeAndPositionDataOnNextUpdate=!1,S.calculateSizeAndPositionData());var f0=S.getTotalSize(),y0=f0.height,C0=f0.width,I0=Math.max(0,u0-M),w0=Math.max(0,c0-l0),E0=Math.min(C0,u0+A0+M),z0=Math.min(y0,c0+R+l0),W0=R>0&&A0>0?S.cellRenderers({height:z0-w0,isScrolling:h0,width:E0-I0,x:I0,y:w0}):[],P0={boxSizing:"border-box",direction:"ltr",height:y?"auto":R,position:"relative",WebkitOverflowScrolling:"touch",width:A0,willChange:"transform"},R0=y0>R?this._scrollbarSize:0,T0=C0>A0?this._scrollbarSize:0;return P0.overflowX=C0+R0<=A0?"hidden":"auto",P0.overflowY=y0+T0<=R?"hidden":"auto",Q0.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:ul("ReactVirtualized__Collection",G),id:Q,onScroll:this._onScroll,role:"grid",style:oP0({},P0,{},e0),tabIndex:0},I>0&&Q0.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:y0,maxHeight:y0,maxWidth:C0,overflow:"hidden",pointerEvents:h0?"none":"",width:C0}},W0),I===0&&V())}},{key:"_enablePointerEventsAfterDelay",value:function(){var k=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){var y=k.props.isScrollingChange;y(!1),k._disablePointerEventsTimeoutId=null,k.setState({isScrolling:!1})},lP0)}},{key:"_invokeOnScrollMemoizer",value:function(k){var y=this,I=k.scrollLeft,S=k.scrollTop,G=k.totalHeight,R=k.totalWidth;this._onScrollMemoizer({callback:function(Q){var V=Q.scrollLeft,e0=Q.scrollTop,l0=y.props,A0=l0.height,n0=l0.onScroll,h0=l0.width;n0({clientHeight:A0,clientWidth:h0,scrollHeight:G,scrollLeft:V,scrollTop:e0,scrollWidth:R})},indices:{scrollLeft:I,scrollTop:S}})}},{key:"_setScrollPosition",value:function(k){var y=k.scrollLeft,I=k.scrollTop,S={scrollPositionChangeReason:o4.REQUESTED};y>=0&&(S.scrollLeft=y),I>=0&&(S.scrollTop=I),(y>=0&&y!==this.state.scrollLeft||I>=0&&I!==this.state.scrollTop)&&this.setState(S)}}],[{key:"getDerivedStateFromProps",value:function(k,y){return k.cellCount===0&&(y.scrollLeft!==0||y.scrollTop!==0)?{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:o4.REQUESTED}:k.scrollLeft!==y.scrollLeft||k.scrollTop!==y.scrollTop?{scrollLeft:k.scrollLeft!=null?k.scrollLeft:y.scrollLeft,scrollTop:k.scrollTop!=null?k.scrollTop:y.scrollTop,scrollPositionChangeReason:o4.REQUESTED}:null}}]),h}(Q0.PureComponent);Ae(Dg,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0});Dg.propTypes={};tw(Dg);var sP0=function(){function a(h){var d=h.height,k=h.width,y=h.x,I=h.y;li(this,a),this.height=d,this.width=k,this.x=y,this.y=I,this._indexMap={},this._indices=[]}return pi(a,[{key:"addCellIndex",value:function(d){var k=d.index;this._indexMap[k]||(this._indexMap[k]=!0,this._indices.push(k))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),a}(),AP0=100,uP0=function(){function a(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:AP0;li(this,a),this._sectionSize=h,this._cellMetadata=[],this._sections={}}return pi(a,[{key:"getCellIndices",value:function(d){var k=d.height,y=d.width,I=d.x,S=d.y,G={};return this.getSections({height:k,width:y,x:I,y:S}).forEach(function(R){return R.getCellIndices().forEach(function(M){G[M]=M})}),Object.keys(G).map(function(R){return G[R]})}},{key:"getCellMetadata",value:function(d){var k=d.index;return this._cellMetadata[k]}},{key:"getSections",value:function(d){for(var k=d.height,y=d.width,I=d.x,S=d.y,G=Math.floor(I/this._sectionSize),R=Math.floor((I+y-1)/this._sectionSize),M=Math.floor(S/this._sectionSize),Q=Math.floor((S+k-1)/this._sectionSize),V=[],e0=G;e0<=R;e0++)for(var l0=M;l0<=Q;l0++){var A0="".concat(e0,".").concat(l0);this._sections[A0]||(this._sections[A0]=new sP0({height:this._sectionSize,width:this._sectionSize,x:e0*this._sectionSize,y:l0*this._sectionSize})),V.push(this._sections[A0])}return V}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var d=this;return Object.keys(this._sections).map(function(k){return d._sections[k].toString()})}},{key:"registerCell",value:function(d){var k=d.cellMetadatum,y=d.index;this._cellMetadata[y]=k,this.getSections(k).forEach(function(I){return I.addCellIndex({index:y})})}}]),a}();function aP0(a){for(var h=a.cellCount,d=a.cellSizeAndPositionGetter,k=a.sectionSize,y=[],I=new uP0(k),S=0,G=0,R=0;R=0&&Ia.length)&&(h=a.length);for(var d=0,k=new Array(h);dd||y0;){var A0=l0.startIndex-1;if(!h({index:A0}))l0.startIndex=A0;else break}return S}function vP0(a){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,d=typeof a.recomputeGridSize=="function"?a.recomputeGridSize:a.recomputeRowHeights;d?d.call(a,h):a.forceUpdate()}var SJ,_J,g00=(_J=SJ=function(a){l1(h,a);function h(){var d,k;li(this,h);for(var y=arguments.length,I=new Array(y),S=0;S0&&arguments[0]!==void 0?arguments[0]:{},y=k.columnIndex,I=y===void 0?0:y,S=k.rowIndex,G=S===void 0?0:S;this.Grid&&this.Grid.recomputeGridSize({rowIndex:G,columnIndex:I})}},{key:"recomputeRowHeights",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:k,columnIndex:0})}},{key:"scrollToPosition",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:k})}},{key:"scrollToRow",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:k})}},{key:"render",value:function(){var k=this.props,y=k.className,I=k.noRowsRenderer,S=k.scrollToIndex,G=k.width,R=ul("ReactVirtualized__List",y);return Q0.createElement(Os,Le({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:R,columnWidth:G,columnCount:1,noContentRenderer:I,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:S}))}}]),h}(Q0.PureComponent),Ae(SJ,"propTypes",null),_J);Ae(g00,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:Bz,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});function mP0(a){if(Array.isArray(a))return a}function gP0(a,h){var d=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(d!=null){var k,y,I,S,G=[],R=!0,M=!1;try{if(I=(d=d.call(a)).next,h===0){if(Object(d)!==d)return;R=!1}else for(;!(R=(k=I.call(d)).done)&&(G.push(k.value),G.length!==h);R=!0);}catch(Q){M=!0,y=Q}finally{try{if(!R&&d.return!=null&&(S=d.return(),Object(S)!==S))return}finally{if(M)throw y}}return G}}function yP0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CP0(a,h){return mP0(a)||gP0(a,h)||m00(a,h)||yP0()}function EP0(a,h,d,k){for(var y=d+1;h<=d;){var I=h+d>>>1,S=a[I];S>=k?(y=I,d=I-1):h=I+1}return y}function BP0(a,h,d,k,y){for(var I=d+1;h<=d;){var S=h+d>>>1,G=a[S];y(G,k)>=0?(I=S,d=S-1):h=S+1}return I}function IP0(a,h,d,k,y){return typeof d=="function"?BP0(a,k===void 0?0:k|0,y===void 0?a.length-1:y|0,h,d):EP0(a,d===void 0?0:d|0,k===void 0?a.length-1:k|0,h)}function xP0(a,h,d,k){for(var y=d+1;h<=d;){var I=h+d>>>1,S=a[I];S>k?(y=I,d=I-1):h=I+1}return y}function SP0(a,h,d,k,y){for(var I=d+1;h<=d;){var S=h+d>>>1,G=a[S];y(G,k)>0?(I=S,d=S-1):h=S+1}return I}function _P0(a,h,d,k,y){return typeof d=="function"?SP0(a,k===void 0?0:k|0,y===void 0?a.length-1:y|0,h,d):xP0(a,d===void 0?0:d|0,k===void 0?a.length-1:k|0,h)}function zP0(a,h,d,k){for(var y=h-1;h<=d;){var I=h+d>>>1,S=a[I];S>>1,G=a[S];y(G,k)<0?(I=S,h=S+1):d=S-1}return I}function RP0(a,h,d,k,y){return typeof d=="function"?LP0(a,k===void 0?0:k|0,y===void 0?a.length-1:y|0,h,d):zP0(a,d===void 0?0:d|0,k===void 0?a.length-1:k|0,h)}function GP0(a,h,d,k){for(var y=h-1;h<=d;){var I=h+d>>>1,S=a[I];S<=k?(y=I,h=I+1):d=I-1}return y}function ZP0(a,h,d,k,y){for(var I=h-1;h<=d;){var S=h+d>>>1,G=a[S];y(G,k)<=0?(I=S,h=S+1):d=S-1}return I}function WP0(a,h,d,k,y){return typeof d=="function"?ZP0(a,k===void 0?0:k|0,y===void 0?a.length-1:y|0,h,d):GP0(a,d===void 0?0:d|0,k===void 0?a.length-1:k|0,h)}function DP0(a,h,d,k){for(;h<=d;){var y=h+d>>>1,I=a[y];if(I===k)return y;I<=k?h=y+1:d=y-1}return-1}function MP0(a,h,d,k,y){for(;h<=d;){var I=h+d>>>1,S=a[I],G=y(S,k);if(G===0)return I;G<=0?h=I+1:d=I-1}return-1}function jP0(a,h,d,k,y){return typeof d=="function"?MP0(a,k===void 0?0:k|0,y===void 0?a.length-1:y|0,h,d):DP0(a,d===void 0?0:d|0,k===void 0?a.length-1:k|0,h)}const lm={ge:IP0,gt:_P0,lt:RP0,le:WP0,eq:jP0};var B4=0,$a=1,l5=2;function _z(a,h,d,k,y){this.mid=a,this.left=h,this.right=d,this.leftPoints=k,this.rightPoints=y,this.count=(h?h.count:0)+(d?d.count:0)+k.length}var iw=_z.prototype;function kI(a,h){a.mid=h.mid,a.left=h.left,a.right=h.right,a.leftPoints=h.leftPoints,a.rightPoints=h.rightPoints,a.count=h.count}function y00(a,h){var d=K4(h);a.mid=d.mid,a.left=d.left,a.right=d.right,a.leftPoints=d.leftPoints,a.rightPoints=d.rightPoints,a.count=d.count}function zJ(a,h){var d=a.intervals([]);d.push(h),y00(a,d)}function LJ(a,h){var d=a.intervals([]),k=d.indexOf(h);return k<0?B4:(d.splice(k,1),y00(a,d),$a)}iw.intervals=function(a){return a.push.apply(a,this.leftPoints),this.left&&this.left.intervals(a),this.right&&this.right.intervals(a),a};iw.insert=function(a){var h=this.count-this.leftPoints.length;if(this.count+=1,a[1]3*(h+1)?zJ(this,a):this.left.insert(a):this.left=K4([a]);else if(a[0]>this.mid)this.right?4*(this.right.count+1)>3*(h+1)?zJ(this,a):this.right.insert(a):this.right=K4([a]);else{var d=lm.ge(this.leftPoints,a,zz),k=lm.ge(this.rightPoints,a,Lz);this.leftPoints.splice(d,0,a),this.rightPoints.splice(k,0,a)}};iw.remove=function(a){var h=this.count-this.leftPoints;if(a[1]3*(h-1))return LJ(this,a);var k=this.left.remove(a);return k===l5?(this.left=null,this.count-=1,$a):(k===$a&&(this.count-=1),k)}else if(a[0]>this.mid){if(!this.right)return B4;var y=this.left?this.left.count:0;if(4*y>3*(h-1))return LJ(this,a);var k=this.right.remove(a);return k===l5?(this.right=null,this.count-=1,$a):(k===$a&&(this.count-=1),k)}else{if(this.count===1)return this.leftPoints[0]===a?l5:B4;if(this.leftPoints.length===1&&this.leftPoints[0]===a){if(this.left&&this.right){for(var I=this,S=this.left;S.right;)I=S,S=S.right;if(I===this)S.right=this.right;else{var G=this.left,k=this.right;I.count-=S.count,I.right=S.left,S.left=G,S.right=k}kI(this,S),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?kI(this,this.left):kI(this,this.right);return $a}for(var G=lm.ge(this.leftPoints,a,zz);G=0&&a[k][1]>=h;--k){var y=d(a[k]);if(y)return y}}function B00(a,h){for(var d=0;dthis.mid){if(this.right){var d=this.right.queryPoint(a,h);if(d)return d}return E00(this.rightPoints,a,h)}else return B00(this.leftPoints,h)};iw.queryInterval=function(a,h,d){if(athis.mid&&this.right){var k=this.right.queryInterval(a,h,d);if(k)return k}return hthis.mid?E00(this.rightPoints,a,d):B00(this.leftPoints,d)};function NP0(a,h){return a-h}function zz(a,h){var d=a[0]-h[0];return d||a[1]-h[1]}function Lz(a,h){var d=a[1]-h[1];return d||a[0]-h[0]}function K4(a){if(a.length===0)return null;for(var h=[],d=0;d>1],y=[],I=[],S=[],d=0;d"u"?(W0=q0,P0=q0):(W0=Math.min(W0,q0),P0=Math.max(P0,q0)),I0.push(R({index:q0,isScrolling:y0,key:e0(q0),parent:k,style:(Se={height:G.getHeight(q0)},Ae(Se,c0==="ltr"?"left":"right",ae),Ae(Se,"position","absolute"),Ae(Se,"top",de),Ae(Se,"width",G.getWidth(q0)),Se)}))}),E00&&arguments[0]!==void 0?arguments[0]:{};li(this,a),Ae(this,"_cellMeasurerCache",void 0),Ae(this,"_columnIndexOffset",void 0),Ae(this,"_rowIndexOffset",void 0),Ae(this,"columnWidth",function(R){var M=R.index;h._cellMeasurerCache.columnWidth({index:M+h._columnIndexOffset})}),Ae(this,"rowHeight",function(R){var M=R.index;h._cellMeasurerCache.rowHeight({index:M+h._rowIndexOffset})});var k=d.cellMeasurerCache,y=d.columnIndexOffset,I=y===void 0?0:y,S=d.rowIndexOffset,G=S===void 0?0:S;this._cellMeasurerCache=k,this._columnIndexOffset=I,this._rowIndexOffset=G}return pi(a,[{key:"clear",value:function(d,k){this._cellMeasurerCache.clear(d+this._rowIndexOffset,k+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getHeight(d+this._rowIndexOffset,k+this._columnIndexOffset)}},{key:"getWidth",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getWidth(d+this._rowIndexOffset,k+this._columnIndexOffset)}},{key:"has",value:function(d){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.has(d+this._rowIndexOffset,k+this._columnIndexOffset)}},{key:"set",value:function(d,k,y,I){this._cellMeasurerCache.set(d+this._rowIndexOffset,k+this._columnIndexOffset,y,I)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),a}();function DJ(a,h){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(a);h&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(a,y).enumerable})),d.push.apply(d,k)}return d}function Dn(a){for(var h=1;h0?new mI({cellMeasurerCache:I,columnIndexOffset:0,rowIndexOffset:G}):I,y._deferredMeasurementCacheBottomRightGrid=S>0||G>0?new mI({cellMeasurerCache:I,columnIndexOffset:S,rowIndexOffset:G}):I,y._deferredMeasurementCacheTopRightGrid=S>0?new mI({cellMeasurerCache:I,columnIndexOffset:S,rowIndexOffset:0}):I),y}return pi(h,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=k.columnIndex,I=y===void 0?0:y,S=k.rowIndex,G=S===void 0?0:S;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,I):I,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,G):G}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=k.columnIndex,I=y===void 0?0:y,S=k.rowIndex,G=S===void 0?0:S,R=this.props,M=R.fixedColumnCount,Q=R.fixedRowCount,V=Math.max(0,I-M),e0=Math.max(0,G-Q);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:I,rowIndex:e0}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:V,rowIndex:e0}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:I,rowIndex:G}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:V,rowIndex:G}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var k=this.props,y=k.scrollLeft,I=k.scrollTop;if(y>0||I>0){var S={};y>0&&(S.scrollLeft=y),I>0&&(S.scrollTop=I),this.setState(S)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var k=this.props,y=k.onScroll,I=k.onSectionRendered;k.onScrollbarPresenceChange,k.scrollLeft;var S=k.scrollToColumn;k.scrollTop;var G=k.scrollToRow,R=Q8(k,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),this.props.width===0||this.props.height===0)return null;var M=this.state,Q=M.scrollLeft,V=M.scrollTop;return Q0.createElement("div",{style:this._containerOuterStyle},Q0.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(R),this._renderTopRightGrid(Dn({},R,{onScroll:y,scrollLeft:Q}))),Q0.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(Dn({},R,{onScroll:y,scrollTop:V})),this._renderBottomRightGrid(Dn({},R,{onScroll:y,onSectionRendered:I,scrollLeft:Q,scrollToColumn:S,scrollToRow:G,scrollTop:V}))))}},{key:"_getBottomGridHeight",value:function(k){var y=k.height,I=this._getTopGridHeight(k);return y-I}},{key:"_getLeftGridWidth",value:function(k){var y=k.fixedColumnCount,I=k.columnWidth;if(this._leftGridWidth==null)if(typeof I=="function"){for(var S=0,G=0;G=0?k.scrollLeft:y.scrollLeft,scrollTop:k.scrollTop!=null&&k.scrollTop>=0?k.scrollTop:y.scrollTop}:null}}]),h}(Q0.PureComponent);Ae(Mg,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1});Mg.propTypes={};tw(Mg);var I00=function(a){l1(h,a);function h(d,k){var y;return li(this,h),y=o1(this,yn(h).call(this,d,k)),y.state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},y._onScroll=y._onScroll.bind(Ge(y)),y}return pi(h,[{key:"render",value:function(){var k=this.props.children,y=this.state,I=y.clientHeight,S=y.clientWidth,G=y.scrollHeight,R=y.scrollLeft,M=y.scrollTop,Q=y.scrollWidth;return k({clientHeight:I,clientWidth:S,onScroll:this._onScroll,scrollHeight:G,scrollLeft:R,scrollTop:M,scrollWidth:Q})}},{key:"_onScroll",value:function(k){var y=k.clientHeight,I=k.clientWidth,S=k.scrollHeight,G=k.scrollLeft,R=k.scrollTop,M=k.scrollWidth;this.setState({clientHeight:y,clientWidth:I,scrollHeight:S,scrollLeft:G,scrollTop:R,scrollWidth:M})}}]),h}(Q0.PureComponent);I00.propTypes={};function OP0(a){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=h.defaultSortBy,k=h.defaultSortDirection,y=k===void 0?{}:k;if(!a)throw Error('Required parameter "sortCallback" not specified');var I=d||[],S={};I.forEach(function(R){S[R]=y[R]!==void 0?y[R]:"ASC"});function G(R){var M=R.defaultSortDirection,Q=R.event,V=R.sortBy;if(Q.shiftKey)S[V]!==void 0?S[V]=S[V]==="ASC"?"DESC":"ASC":(S[V]=M,I.push(V));else if(Q.ctrlKey||Q.metaKey){var e0=I.indexOf(V);e0>=0&&(I.splice(e0,1),delete S[V])}else{I.length=0,I.push(V);var l0=Object.keys(S);l0.forEach(function(A0){A0!==V&&delete S[A0]}),S[V]!==void 0?S[V]=S[V]==="ASC"?"DESC":"ASC":S[V]=M}a({sortBy:I,sortDirection:S})}return{sort:G,sortBy:I,sortDirection:S}}function x00(a){var h=a.dataKey,d=a.rowData;return typeof d.get=="function"?d.get(h):d[h]}function S00(a){var h=a.cellData;return h==null?"":String(h)}function Gz(a){var h=a.className,d=a.columns,k=a.style;return Q0.createElement("div",{className:h,role:"row",style:k},d)}Gz.propTypes=null;var Hs={ASC:"ASC",DESC:"DESC"};function Zz(a){var h=a.sortDirection,d=ul("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":h===Hs.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":h===Hs.DESC});return Q0.createElement("svg",{className:d,width:18,height:18,viewBox:"0 0 24 24"},h===Hs.ASC?Q0.createElement("path",{d:"M7 14l5-5 5 5z"}):Q0.createElement("path",{d:"M7 10l5 5 5-5z"}),Q0.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}Zz.propTypes={};function Wz(a){var h=a.dataKey,d=a.label,k=a.sortBy,y=a.sortDirection,I=k===h,S=[Q0.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:typeof d=="string"?d:null},d)];return I&&S.push(Q0.createElement(Zz,{key:"SortIndicator",sortDirection:y})),S}Wz.propTypes=null;function Dz(a){var h=a.className,d=a.columns,k=a.index,y=a.key,I=a.onRowClick,S=a.onRowDoubleClick,G=a.onRowMouseOut,R=a.onRowMouseOver,M=a.onRowRightClick,Q=a.rowData,V=a.style,e0={"aria-rowindex":k+1};return(I||S||G||R||M)&&(e0["aria-label"]="row",e0.tabIndex=0,I&&(e0.onClick=function(l0){return I({event:l0,index:k,rowData:Q})}),S&&(e0.onDoubleClick=function(l0){return S({event:l0,index:k,rowData:Q})}),G&&(e0.onMouseOut=function(l0){return G({event:l0,index:k,rowData:Q})}),R&&(e0.onMouseOver=function(l0){return R({event:l0,index:k,rowData:Q})}),M&&(e0.onContextMenu=function(l0){return M({event:l0,index:k,rowData:Q})})),Q0.createElement("div",Le({},e0,{className:h,key:y,role:"row",style:V}),d)}Dz.propTypes=null;var Mz=function(a){l1(h,a);function h(){return li(this,h),o1(this,yn(h).apply(this,arguments))}return h}(Q0.Component);Ae(Mz,"defaultProps",{cellDataGetter:x00,cellRenderer:S00,defaultSortDirection:Hs.ASC,flexGrow:0,flexShrink:1,headerRenderer:Wz,style:{}});Mz.propTypes={};function jJ(a,h){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(a);h&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(a,y).enumerable})),d.push.apply(d,k)}return d}function l4(a){for(var h=1;h0&&arguments[0]!==void 0?arguments[0]:{},y=k.columnIndex,I=y===void 0?0:y,S=k.rowIndex,G=S===void 0?0:S;this.Grid&&this.Grid.recomputeGridSize({rowIndex:G,columnIndex:I})}},{key:"recomputeRowHeights",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:k})}},{key:"scrollToPosition",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:k})}},{key:"scrollToRow",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:k})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var k=H6.findDOMNode(this.Grid),y=k.clientWidth||0,I=k.offsetWidth||0;return I-y}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var k=this,y=this.props,I=y.children,S=y.className,G=y.disableHeader,R=y.gridClassName,M=y.gridStyle,Q=y.headerHeight,V=y.headerRowRenderer,e0=y.height,l0=y.id,A0=y.noRowsRenderer,n0=y.rowClassName,h0=y.rowStyle,u0=y.scrollToIndex,c0=y.style,f0=y.width,y0=this.state.scrollbarWidth,C0=G?e0:e0-Q,I0=typeof n0=="function"?n0({index:-1}):n0,w0=typeof h0=="function"?h0({index:-1}):h0;return this._cachedColumnStyles=[],Q0.Children.toArray(I).forEach(function(E0,z0){var W0=k._getFlexStyleForColumn(E0,E0.props.style);k._cachedColumnStyles[z0]=l4({overflow:"hidden"},W0)}),Q0.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":Q0.Children.toArray(I).length,"aria-rowcount":this.props.rowCount,className:ul("ReactVirtualized__Table",S),id:l0,role:"grid",style:c0},!G&&V({className:ul("ReactVirtualized__Table__headerRow",I0),columns:this._getHeaderColumns(),style:l4({height:Q,overflow:"hidden",paddingRight:y0,width:f0},w0)}),Q0.createElement(Os,Le({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:ul("ReactVirtualized__Table__Grid",R),cellRenderer:this._createRow,columnWidth:f0,columnCount:1,height:C0,id:void 0,noContentRenderer:A0,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:y0,scrollToRow:u0,style:l4({},M,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(k){var y=k.column,I=k.columnIndex,S=k.isScrolling,G=k.parent,R=k.rowData,M=k.rowIndex,Q=this.props.onColumnClick,V=y.props,e0=V.cellDataGetter,l0=V.cellRenderer,A0=V.className,n0=V.columnData,h0=V.dataKey,u0=V.id,c0=e0({columnData:n0,dataKey:h0,rowData:R}),f0=l0({cellData:c0,columnData:n0,columnIndex:I,dataKey:h0,isScrolling:S,parent:G,rowData:R,rowIndex:M}),y0=function(E0){Q&&Q({columnData:n0,dataKey:h0,event:E0})},C0=this._cachedColumnStyles[I],I0=typeof f0=="string"?f0:null;return Q0.createElement("div",{"aria-colindex":I+1,"aria-describedby":u0,className:ul("ReactVirtualized__Table__rowColumn",A0),key:"Row"+M+"-Col"+I,onClick:y0,role:"gridcell",style:C0,title:I0},f0)}},{key:"_createHeader",value:function(k){var y=k.column,I=k.index,S=this.props,G=S.headerClassName,R=S.headerStyle,M=S.onHeaderClick,Q=S.sort,V=S.sortBy,e0=S.sortDirection,l0=y.props,A0=l0.columnData,n0=l0.dataKey,h0=l0.defaultSortDirection,u0=l0.disableSort,c0=l0.headerRenderer,f0=l0.id,y0=l0.label,C0=!u0&&Q,I0=ul("ReactVirtualized__Table__headerColumn",G,y.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:C0}),w0=this._getFlexStyleForColumn(y,l4({},R,{},y.props.headerStyle)),E0=c0({columnData:A0,dataKey:n0,disableSort:u0,label:y0,sortBy:V,sortDirection:e0}),z0,W0,P0,R0,T0;if(C0||M){var q0=V!==n0,ae=q0?h0:e0===Hs.DESC?Hs.ASC:Hs.DESC,de=function(Ie){C0&&Q({defaultSortDirection:h0,event:Ie,sortBy:n0,sortDirection:ae}),M&&M({columnData:A0,dataKey:n0,event:Ie})},Se=function(Ie){(Ie.key==="Enter"||Ie.key===" ")&&de(Ie)};T0=y.props["aria-label"]||y0||n0,R0="none",P0=0,z0=de,W0=Se}return V===n0&&(R0=e0===Hs.ASC?"ascending":"descending"),Q0.createElement("div",{"aria-label":T0,"aria-sort":R0,className:I0,id:f0,key:"Header-Col"+I,onClick:z0,onKeyDown:W0,role:"columnheader",style:w0,tabIndex:P0},E0)}},{key:"_createRow",value:function(k){var y=this,I=k.rowIndex,S=k.isScrolling,G=k.key,R=k.parent,M=k.style,Q=this.props,V=Q.children,e0=Q.onRowClick,l0=Q.onRowDoubleClick,A0=Q.onRowRightClick,n0=Q.onRowMouseOver,h0=Q.onRowMouseOut,u0=Q.rowClassName,c0=Q.rowGetter,f0=Q.rowRenderer,y0=Q.rowStyle,C0=this.state.scrollbarWidth,I0=typeof u0=="function"?u0({index:I}):u0,w0=typeof y0=="function"?y0({index:I}):y0,E0=c0({index:I}),z0=Q0.Children.toArray(V).map(function(R0,T0){return y._createColumn({column:R0,columnIndex:T0,isScrolling:S,parent:R,rowData:E0,rowIndex:I,scrollbarWidth:C0})}),W0=ul("ReactVirtualized__Table__row",I0),P0=l4({},M,{height:this._getRowHeight(I),overflow:"hidden",paddingRight:C0},w0);return f0({className:W0,columns:z0,index:I,isScrolling:S,key:G,onRowClick:e0,onRowDoubleClick:l0,onRowRightClick:A0,onRowMouseOver:n0,onRowMouseOut:h0,rowData:E0,style:P0})}},{key:"_getFlexStyleForColumn",value:function(k){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I="".concat(k.props.flexGrow," ").concat(k.props.flexShrink," ").concat(k.props.width,"px"),S=l4({},y,{flex:I,msFlex:I,WebkitFlex:I});return k.props.maxWidth&&(S.maxWidth=k.props.maxWidth),k.props.minWidth&&(S.minWidth=k.props.minWidth),S}},{key:"_getHeaderColumns",value:function(){var k=this,y=this.props,I=y.children,S=y.disableHeader,G=S?[]:Q0.Children.toArray(I);return G.map(function(R,M){return k._createHeader({column:R,index:M})})}},{key:"_getRowHeight",value:function(k){var y=this.props.rowHeight;return typeof y=="function"?y({index:k}):y}},{key:"_onScroll",value:function(k){var y=k.clientHeight,I=k.scrollHeight,S=k.scrollTop,G=this.props.onScroll;G({clientHeight:y,scrollHeight:I,scrollTop:S})}},{key:"_onSectionRendered",value:function(k){var y=k.rowOverscanStartIndex,I=k.rowOverscanStopIndex,S=k.rowStartIndex,G=k.rowStopIndex,R=this.props.onRowsRendered;R({overscanStartIndex:y,overscanStopIndex:I,startIndex:S,stopIndex:G})}},{key:"_setRef",value:function(k){this.Grid=k}},{key:"_setScrollbarWidth",value:function(){var k=this.getScrollbarWidth();this.setState({scrollbarWidth:k})}}]),h}(Q0.PureComponent);Ae(jz,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:Bz,overscanRowCount:10,rowRenderer:Dz,headerRowRenderer:Gz,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}});jz.propTypes={};var Gu=[],t6=null,sc=null;function _00(){sc&&(sc=null,document.body&&t6!=null&&(document.body.style.pointerEvents=t6),t6=null)}function HP0(){_00(),Gu.forEach(function(a){return a.__resetIsScrolling()})}function JP0(){sc&&$4(sc);var a=0;Gu.forEach(function(h){a=Math.max(a,h.props.scrollingResetTimeInterval)}),sc=Ez(HP0,a)}function z00(a){a.currentTarget===window&&t6==null&&document.body&&(t6=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),JP0(),Gu.forEach(function(h){h.props.scrollElement===a.currentTarget&&h.__handleWindowScrollEvent()})}function NJ(a,h){Gu.some(function(d){return d.props.scrollElement===h})||h.addEventListener("scroll",z00),Gu.push(a)}function QJ(a,h){Gu=Gu.filter(function(d){return d!==a}),Gu.length||(h.removeEventListener("scroll",z00),sc&&($4(sc),_00()))}var Nz=function(h){return h===window},T8=function(h){return h.getBoundingClientRect()};function TJ(a,h){if(a)if(Nz(a)){var d=window,k=d.innerHeight,y=d.innerWidth;return{height:typeof k=="number"?k:0,width:typeof y=="number"?y:0}}else return T8(a);else return{height:h.serverHeight,width:h.serverWidth}}function UP0(a,h){if(Nz(h)&&document.documentElement){var d=document.documentElement,k=T8(a),y=T8(d);return{top:k.top-y.top,left:k.left-y.left}}else{var I=L00(h),S=T8(a),G=T8(h);return{top:S.top+I.top-G.top,left:S.left+I.left-G.left}}}function L00(a){return Nz(a)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:a.scrollTop,left:a.scrollLeft}}var FJ,PJ;function YJ(a,h){var d=Object.keys(a);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(a);h&&(k=k.filter(function(y){return Object.getOwnPropertyDescriptor(a,y).enumerable})),d.push.apply(d,k)}return d}function XP0(a){for(var h=1;h0&&arguments[0]!==void 0?arguments[0]:this.props.scrollElement,y=this.props.onResize,I=this.state,S=I.height,G=I.width,R=this._child||H6.findDOMNode(this);if(R instanceof Element&&k){var M=UP0(R,k);this._positionFromTop=M.top,this._positionFromLeft=M.left}var Q=TJ(k,this.props);(S!==Q.height||G!==Q.width)&&(this.setState({height:Q.height,width:Q.width}),y({height:Q.height,width:Q.width}))}},{key:"componentDidMount",value:function(){var k=this.props.scrollElement;this._detectElementResize=d00(),this.updatePosition(k),k&&(NJ(this,k),this._registerResizeListener(k)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(k,y){var I=this.props.scrollElement,S=k.scrollElement;S!==I&&S!=null&&I!=null&&(this.updatePosition(I),QJ(this,S),NJ(this,I),this._unregisterResizeListener(S),this._registerResizeListener(I))}},{key:"componentWillUnmount",value:function(){var k=this.props.scrollElement;k&&(QJ(this,k),this._unregisterResizeListener(k)),this._isMounted=!1}},{key:"render",value:function(){var k=this.props.children,y=this.state,I=y.isScrolling,S=y.scrollTop,G=y.scrollLeft,R=y.height,M=y.width;return k({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:R,isScrolling:I,scrollLeft:G,scrollTop:S,width:M})}}]),h}(Q0.PureComponent),Ae(FJ,"propTypes",null),PJ);Ae(G00,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:qP0,scrollElement:R00(),serverHeight:0,serverWidth:0});const $P0=Object.freeze(Object.defineProperty({__proto__:null,ArrowKeyStepper:Iz,AutoSizer:p00,CellMeasurer:k00,CellMeasurerCache:iP0,Collection:xz,Column:Mz,ColumnSizer:v00,Grid:Os,InfiniteLoader:Sz,List:g00,Masonry:Rz,MultiGrid:Mg,ScrollSync:I00,SortDirection:Hs,SortIndicator:Zz,Table:jz,WindowScroller:G00,accessibilityOverscanIndicesGetter:Bz,createMasonryCellPositioner:VP0,createTableMultiSort:OP0,defaultCellRangeRenderer:w00,defaultOverscanIndicesGetter:h00,defaultTableCellDataGetter:x00,defaultTableCellRenderer:S00,defaultTableHeaderRenderer:Wz,defaultTableHeaderRowRenderer:Gz,defaultTableRowRenderer:Dz},Symbol.toStringTag,{value:"Module"})),KP0=Fn($P0);function Fs(a,h,d){return h<=a&&a<=d}function jg(a){if(a===void 0)return{};if(a===Object(a))return a;throw TypeError("Could not convert argument to dictionary")}function bP0(a){for(var h=String(a),d=h.length,k=0,y=[];k57343)y.push(I);else if(56320<=I&&I<=57343)y.push(65533);else if(55296<=I&&I<=56319)if(k===d-1)y.push(65533);else{var S=a.charCodeAt(k+1);if(56320<=S&&S<=57343){var G=I&1023,R=S&1023;y.push(65536+(G<<10)+R),k+=1}else y.push(65533)}k+=1}return y}function eY0(a){for(var h="",d=0;d>10)+55296,(k&1023)+56320))}return h}var sm=-1;function Qz(a){this.tokens=[].slice.call(a)}Qz.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():sm},prepend:function(a){if(Array.isArray(a))for(var h=a;h.length;)this.tokens.unshift(h.pop());else this.tokens.unshift(a)},push:function(a){if(Array.isArray(a))for(var h=a;h.length;)this.tokens.push(h.shift());else this.tokens.push(a)}};var b4=-1;function gI(a,h){if(a)throw TypeError("Decoder error");return h||65533}var Am="utf-8";function um(a,h){if(!(this instanceof um))return new um(a,h);if(a=a!==void 0?String(a).toLowerCase():Am,a!==Am)throw new Error("Encoding not supported. Only utf-8 is supported");h=jg(h),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!h.fatal,this._ignoreBOM=!!h.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}um.prototype={decode:function(h,d){var k;typeof h=="object"&&h instanceof ArrayBuffer?k=new Uint8Array(h):typeof h=="object"&&"buffer"in h&&h.buffer instanceof ArrayBuffer?k=new Uint8Array(h.buffer,h.byteOffset,h.byteLength):k=new Uint8Array(0),d=jg(d),this._streaming||(this._decoder=new rY0({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!d.stream;for(var y=new Qz(k),I=[],S;!y.endOfStream()&&(S=this._decoder.handler(y,y.read()),S!==b4);)S!==null&&(Array.isArray(S)?I.push.apply(I,S):I.push(S));if(!this._streaming){do{if(S=this._decoder.handler(y,y.read()),S===b4)break;S!==null&&(Array.isArray(S)?I.push.apply(I,S):I.push(S))}while(!y.endOfStream());this._decoder=null}return I.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(I[0]===65279?(this._BOMseen=!0,I.shift()):this._BOMseen=!0),eY0(I)}};function am(a,h){if(!(this instanceof am))return new am(a,h);if(a=a!==void 0?String(a).toLowerCase():Am,a!==Am)throw new Error("Encoding not supported. Only utf-8 is supported");h=jg(h),this._streaming=!1,this._encoder=null,this._options={fatal:!!h.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}am.prototype={encode:function(h,d){h=h?String(h):"",d=jg(d),this._streaming||(this._encoder=new tY0(this._options)),this._streaming=!!d.stream;for(var k=[],y=new Qz(bP0(h)),I;!y.endOfStream()&&(I=this._encoder.handler(y,y.read()),I!==b4);)Array.isArray(I)?k.push.apply(k,I):k.push(I);if(!this._streaming){for(;I=this._encoder.handler(y,y.read()),I!==b4;)Array.isArray(I)?k.push.apply(k,I):k.push(I);this._encoder=null}return new Uint8Array(k)}};function rY0(a){var h=a.fatal,d=0,k=0,y=0,I=128,S=191;this.handler=function(G,R){if(R===sm&&y!==0)return y=0,gI(h);if(R===sm)return b4;if(y===0){if(Fs(R,0,127))return R;if(Fs(R,194,223))y=1,d=R-192;else if(Fs(R,224,239))R===224&&(I=160),R===237&&(S=159),y=2,d=R-224;else if(Fs(R,240,244))R===240&&(I=144),R===244&&(S=143),y=3,d=R-240;else return gI(h);return d=d<<6*y,null}if(!Fs(R,I,S))return d=y=k=0,I=128,S=191,G.prepend(R),gI(h);if(I=128,S=191,k+=1,d+=R-128<<6*(y-k),k!==y)return null;var M=d;return d=y=k=0,M}}function tY0(a){a.fatal,this.handler=function(h,d){if(d===sm)return b4;if(Fs(d,0,127))return d;var k,y;Fs(d,128,2047)?(k=1,y=192):Fs(d,2048,65535)?(k=2,y=224):Fs(d,65536,1114111)&&(k=3,y=240);for(var I=[(d>>6*k)+y];k>0;){var S=d>>6*(k-1);I.push(128|S&63),k-=1}return I}}const iY0=Object.freeze(Object.defineProperty({__proto__:null,TextDecoder:um,TextEncoder:am},Symbol.toStringTag,{value:"Module"})),nY0=Fn(iY0);var VJ={},OJ;function oY0(){return OJ||(OJ=1,function(a){if(a.fetch)return;var h={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};if(h.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],k=function(w0){return w0&&DataView.prototype.isPrototypeOf(w0)},y=ArrayBuffer.isView||function(w0){return w0&&d.indexOf(Object.prototype.toString.call(w0))>-1};function I(w0){if(typeof w0!="string"&&(w0=String(w0)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(w0))throw new TypeError("Invalid character in header field name");return w0.toLowerCase()}function S(w0){return typeof w0!="string"&&(w0=String(w0)),w0}function G(w0){var E0={next:function(){var z0=w0.shift();return{done:z0===void 0,value:z0}}};return h.iterable&&(E0[Symbol.iterator]=function(){return E0}),E0}function R(w0){this.map={},w0 instanceof R?w0.forEach(function(E0,z0){this.append(z0,E0)},this):Array.isArray(w0)?w0.forEach(function(E0){this.append(E0[0],E0[1])},this):w0&&Object.getOwnPropertyNames(w0).forEach(function(E0){this.append(E0,w0[E0])},this)}R.prototype.append=function(w0,E0){w0=I(w0),E0=S(E0);var z0=this.map[w0];this.map[w0]=z0?z0+","+E0:E0},R.prototype.delete=function(w0){delete this.map[I(w0)]},R.prototype.get=function(w0){return w0=I(w0),this.has(w0)?this.map[w0]:null},R.prototype.has=function(w0){return this.map.hasOwnProperty(I(w0))},R.prototype.set=function(w0,E0){this.map[I(w0)]=S(E0)},R.prototype.forEach=function(w0,E0){for(var z0 in this.map)this.map.hasOwnProperty(z0)&&w0.call(E0,this.map[z0],z0,this)},R.prototype.keys=function(){var w0=[];return this.forEach(function(E0,z0){w0.push(z0)}),G(w0)},R.prototype.values=function(){var w0=[];return this.forEach(function(E0){w0.push(E0)}),G(w0)},R.prototype.entries=function(){var w0=[];return this.forEach(function(E0,z0){w0.push([z0,E0])}),G(w0)},h.iterable&&(R.prototype[Symbol.iterator]=R.prototype.entries);function M(w0){if(w0.bodyUsed)return Promise.reject(new TypeError("Already read"));w0.bodyUsed=!0}function Q(w0){return new Promise(function(E0,z0){w0.onload=function(){E0(w0.result)},w0.onerror=function(){z0(w0.error)}})}function V(w0){var E0=new FileReader,z0=Q(E0);return E0.readAsArrayBuffer(w0),z0}function e0(w0){var E0=new FileReader,z0=Q(E0);return E0.readAsText(w0),z0}function l0(w0){for(var E0=new Uint8Array(w0),z0=new Array(E0.length),W0=0;W0-1?E0:w0}function c0(w0,E0){E0=E0||{};var z0=E0.body;if(w0 instanceof c0){if(w0.bodyUsed)throw new TypeError("Already read");this.url=w0.url,this.credentials=w0.credentials,E0.headers||(this.headers=new R(w0.headers)),this.method=w0.method,this.mode=w0.mode,!z0&&w0._bodyInit!=null&&(z0=w0._bodyInit,w0.bodyUsed=!0)}else this.url=String(w0);if(this.credentials=E0.credentials||this.credentials||"omit",(E0.headers||!this.headers)&&(this.headers=new R(E0.headers)),this.method=u0(E0.method||this.method||"GET"),this.mode=E0.mode||this.mode||null,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&z0)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(z0)}c0.prototype.clone=function(){return new c0(this,{body:this._bodyInit})};function f0(w0){var E0=new FormData;return w0.trim().split("&").forEach(function(z0){if(z0){var W0=z0.split("="),P0=W0.shift().replace(/\+/g," "),R0=W0.join("=").replace(/\+/g," ");E0.append(decodeURIComponent(P0),decodeURIComponent(R0))}}),E0}function y0(w0){var E0=new R,z0=w0.replace(/\r?\n[\t ]+/g," ");return z0.split(/\r?\n/).forEach(function(W0){var P0=W0.split(":"),R0=P0.shift().trim();if(R0){var T0=P0.join(":").trim();E0.append(R0,T0)}}),E0}n0.call(c0.prototype);function C0(w0,E0){E0||(E0={}),this.type="default",this.status=E0.status===void 0?200:E0.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in E0?E0.statusText:"OK",this.headers=new R(E0.headers),this.url=E0.url||"",this._initBody(w0)}n0.call(C0.prototype),C0.prototype.clone=function(){return new C0(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new R(this.headers),url:this.url})},C0.error=function(){var w0=new C0(null,{status:0,statusText:""});return w0.type="error",w0};var I0=[301,302,303,307,308];C0.redirect=function(w0,E0){if(I0.indexOf(E0)===-1)throw new RangeError("Invalid status code");return new C0(null,{status:E0,headers:{location:w0}})},a.Headers=R,a.Request=c0,a.Response=C0,a.fetch=function(w0,E0){return new Promise(function(z0,W0){var P0=new c0(w0,E0),R0=new XMLHttpRequest;R0.onload=function(){var T0={status:R0.status,statusText:R0.statusText,headers:y0(R0.getAllResponseHeaders()||"")};T0.url="responseURL"in R0?R0.responseURL:T0.headers.get("X-Request-URL");var q0="response"in R0?R0.response:R0.responseText;z0(new C0(q0,T0))},R0.onerror=function(){W0(new TypeError("Network request failed"))},R0.ontimeout=function(){W0(new TypeError("Network request failed"))},R0.open(P0.method,P0.url,!0),P0.credentials==="include"?R0.withCredentials=!0:P0.credentials==="omit"&&(R0.withCredentials=!1),"responseType"in R0&&h.blob&&(R0.responseType="blob"),P0.headers.forEach(function(T0,q0){R0.setRequestHeader(q0,T0)}),R0.send(typeof P0._bodyInit>"u"?null:P0._bodyInit)})},a.fetch.polyfill=!0}(typeof self<"u"?self:ba)),VJ}function HJ(a,h){for(var d=0;d0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");iL(this)}},fs(a,[{key:"closed",get:function(){return nc(this)===!1?Promise.reject(Ev("closed")):this._closedPromise}}]),a}(),GV0=function(){function a(d){if(!Ns(d))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(c4(d._readableStreamController)===!1)throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(mu(d))throw new TypeError("This stream has already been locked for exclusive reading by another reader");oe0(this,d),this._readIntoRequests=[]}var h=a.prototype;return h.cancel=function(k){return P8(this)?this._ownerReadableStream===void 0?Promise.reject(vm("cancel")):le0(this,k):Promise.reject(Bv("cancel"))},h.read=function(k){return P8(this)?this._ownerReadableStream===void 0?Promise.reject(vm("read from")):ArrayBuffer.isView(k)?hm(k.buffer)===!0?Promise.reject(new TypeError("Cannot read into a view onto a detached ArrayBuffer")):k.byteLength===0?Promise.reject(new TypeError("view must have non-zero byteLength")):ZV0(this,k,!0):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(Bv("read"))},h.releaseLock=function(){if(!P8(this))throw Bv("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");iL(this)}},fs(a,[{key:"closed",get:function(){return P8(this)?this._closedPromise:Promise.reject(Bv("closed"))}}]),a}();function P8(a){return!(!m3(a)||!Object.prototype.hasOwnProperty.call(a,"_readIntoRequests"))}function nc(a){return!(!m3(a)||!Object.prototype.hasOwnProperty.call(a,"_readRequests"))}function oe0(a,h){a._ownerReadableStream=h,h._reader=a,h._state==="readable"?JV0(a):h._state==="closed"?XV0(a):(UV0(a,h._storedError),a._closedPromise.catch(function(){}))}function le0(a,h){var d=a._ownerReadableStream;return Ac(d,h)}function iL(a){a._ownerReadableStream._state==="readable"?ge0(a,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):qV0(a,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),a._closedPromise.catch(function(){}),a._ownerReadableStream._reader=void 0,a._ownerReadableStream=void 0}function ZV0(a,h,d){d===void 0&&(d=!1);var k=a._ownerReadableStream;return k._disturbed=!0,k._state==="errored"?Promise.reject(k._storedError):jV0(k._readableStreamController,h,d)}function nL(a,h){h===void 0&&(h=!1);var d=a._ownerReadableStream;return d._disturbed=!0,d._state==="closed"?Promise.resolve(ju(void 0,!0,h)):d._state==="errored"?Promise.reject(d._storedError):d._readableStreamController[$z](h)}var se0=function(){function a(){throw new TypeError}var h=a.prototype;return h.close=function(){if(Cv(this)===!1)throw Iv("close");if(km(this)===!1)throw new TypeError("The stream is not in a state that permits close");dm(this)},h.enqueue=function(k){if(Cv(this)===!1)throw Iv("enqueue");if(km(this)===!1)throw new TypeError("The stream is not in a state that permits enqueue");return pm(this,k)},h.error=function(k){if(Cv(this)===!1)throw Iv("error");Nu(this,k)},h[qz]=function(d){g3(this);var k=this._cancelAlgorithm(d);return wm(this),k},h[$z]=function(d){var k=this._controlledReadableStream;if(this._queue.length>0){var y=gV0(this);return this._closeRequested===!0&&this._queue.length===0?(wm(this),ow(k)):G6(this),Promise.resolve(ju(y,!1,d))}var I=re0(k,d);return G6(this),I},fs(a,[{key:"desiredSize",get:function(){if(Cv(this)===!1)throw Iv("desiredSize");return oL(this)}}]),a}();function Cv(a){return!(!m3(a)||!Object.prototype.hasOwnProperty.call(a,"_controlledReadableStream"))}function G6(a){var h=Ae0(a);if(h!==!1){if(a._pulling===!0){a._pullAgain=!0;return}a._pulling=!0;var d=a._pullAlgorithm();d.then(function(){if(a._pulling=!1,a._pullAgain===!0)return a._pullAgain=!1,G6(a)},function(k){Nu(a,k)}).catch(Ps)}}function Ae0(a){var h=a._controlledReadableStream;if(km(a)===!1||a._started===!1)return!1;if(mu(h)===!0&&Pg(h)>0)return!0;var d=oL(a);return d>0}function wm(a){a._pullAlgorithm=void 0,a._cancelAlgorithm=void 0,a._strategySizeAlgorithm=void 0}function dm(a){var h=a._controlledReadableStream;a._closeRequested=!0,a._queue.length===0&&(wm(a),ow(h))}function pm(a,h){var d=a._controlledReadableStream;if(mu(d)===!0&&Pg(d)>0)rL(d,h,!1);else{var k;try{k=a._strategySizeAlgorithm(h)}catch(y){throw Nu(a,y),y}try{yV0(a,h,k)}catch(y){throw Nu(a,y),y}}G6(a)}function Nu(a,h){var d=a._controlledReadableStream;d._state==="readable"&&(g3(a),wm(a),te0(d,h))}function oL(a){var h=a._controlledReadableStream,d=h._state;return d==="errored"?null:d==="closed"?0:a._strategyHWM-a._queueTotalSize}function WV0(a){return Ae0(a)!==!0}function km(a){var h=a._controlledReadableStream._state;return a._closeRequested===!1&&h==="readable"}function ue0(a,h,d,k,y,I,S){h._controlledReadableStream=a,h._queue=void 0,h._queueTotalSize=void 0,g3(h),h._started=!1,h._closeRequested=!1,h._pullAgain=!1,h._pulling=!1,h._strategySizeAlgorithm=S,h._strategyHWM=I,h._pullAlgorithm=k,h._cancelAlgorithm=y,a._readableStreamController=h;var G=d();Promise.resolve(G).then(function(){h._started=!0,G6(h)},function(R){Nu(h,R)}).catch(Ps)}function DV0(a,h,d,k){var y=Object.create(se0.prototype);function I(){return ee0(h,"start",[y])}var S=fm(h,"pull",0,[y]),G=fm(h,"cancel",1,[]);ue0(a,y,I,S,G,d,k)}var MV0=function(){function a(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}var h=a.prototype;return h.respond=function(k){if(BI(this)===!1)throw II("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(hm(this._view.buffer)===!0)throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");YV0(this._associatedReadableByteStreamController,k)},h.respondWithNewView=function(k){if(BI(this)===!1)throw II("respond");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(k))throw new TypeError("You can only respond with array buffer views");if(hm(k.buffer)===!0)throw new TypeError("The supplied view's buffer has been detached and so cannot be used as a response");VV0(this._associatedReadableByteStreamController,k)},fs(a,[{key:"view",get:function(){if(BI(this)===!1)throw II("view");return this._view}}]),a}(),ae0=function(){function a(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}var h=a.prototype;return h.close=function(){if(c4(this)===!1)throw B8("close");if(this._closeRequested===!0)throw new TypeError("The stream has already been closed; do not close it again!");var k=this._controlledReadableByteStream._state;if(k!=="readable")throw new TypeError("The stream (in "+k+" state) is not in the readable state and cannot be closed");FV0(this)},h.enqueue=function(k){if(c4(this)===!1)throw B8("enqueue");if(this._closeRequested===!0)throw new TypeError("stream is closed or draining");var y=this._controlledReadableByteStream._state;if(y!=="readable")throw new TypeError("The stream (in "+y+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(k))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");if(hm(k.buffer)===!0)throw new TypeError("Cannot enqueue a view onto a detached ArrayBuffer");PV0(this,k)},h.error=function(k){if(c4(this)===!1)throw B8("error");lw(this,k)},h[qz]=function(d){if(this._pendingPullIntos.length>0){var k=this._pendingPullIntos[0];k.bytesFilled=0}g3(this);var y=this._cancelAlgorithm(d);return Yg(this),y},h[$z]=function(d){var k=this._controlledReadableByteStream;if(this._queueTotalSize>0){var y=this._queue.shift();this._queueTotalSize-=y.byteLength,de0(this);var I;try{I=new Uint8Array(y.buffer,y.byteOffset,y.byteLength)}catch(Q){return Promise.reject(Q)}return Promise.resolve(ju(I,!1,d))}var S=this._autoAllocateChunkSize;if(S!==void 0){var G;try{G=new ArrayBuffer(S)}catch(Q){return Promise.reject(Q)}var R={buffer:G,byteOffset:0,byteLength:S,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(R)}var M=re0(k,d);return Gc(this),M},fs(a,[{key:"byobRequest",get:function(){if(c4(this)===!1)throw B8("byobRequest");if(this._byobRequest===void 0&&this._pendingPullIntos.length>0){var k=this._pendingPullIntos[0],y=new Uint8Array(k.buffer,k.byteOffset+k.bytesFilled,k.byteLength-k.bytesFilled),I=Object.create(MV0.prototype);HV0(I,this,y),this._byobRequest=I}return this._byobRequest}},{key:"desiredSize",get:function(){if(c4(this)===!1)throw B8("desiredSize");return ve0(this)}}]),a}();function c4(a){return!(!m3(a)||!Object.prototype.hasOwnProperty.call(a,"_controlledReadableByteStream"))}function BI(a){return!(!m3(a)||!Object.prototype.hasOwnProperty.call(a,"_associatedReadableByteStreamController"))}function Gc(a){var h=TV0(a);if(h!==!1){if(a._pulling===!0){a._pullAgain=!0;return}a._pulling=!0;var d=a._pullAlgorithm();d.then(function(){a._pulling=!1,a._pullAgain===!0&&(a._pullAgain=!1,Gc(a))},function(k){lw(a,k)}).catch(Ps)}}function ce0(a){sL(a),a._pendingPullIntos=[]}function lL(a,h){var d=!1;a._state==="closed"&&(d=!0);var k=fe0(h);h.readerType==="default"?rL(a,k,d):LV0(a,k,d)}function fe0(a){var h=a.bytesFilled,d=a.elementSize;return new a.ctor(a.buffer,a.byteOffset,h/d)}function s5(a,h,d,k){a._queue.push({buffer:h,byteOffset:d,byteLength:k}),a._queueTotalSize+=k}function he0(a,h){var d=h.elementSize,k=h.bytesFilled-h.bytesFilled%d,y=Math.min(a._queueTotalSize,h.byteLength-h.bytesFilled),I=h.bytesFilled+y,S=I-I%d,G=y,R=!1;S>k&&(G=S-h.bytesFilled,R=!0);for(var M=a._queue;G>0;){var Q=M[0],V=Math.min(G,Q.byteLength),e0=h.byteOffset+h.bytesFilled;pV0(h.buffer,e0,Q.buffer,Q.byteOffset,V),Q.byteLength===V?M.shift():(Q.byteOffset+=V,Q.byteLength-=V),a._queueTotalSize-=V,we0(a,V,h),G-=V}return R}function we0(a,h,d){sL(a),d.bytesFilled+=h}function de0(a){a._queueTotalSize===0&&a._closeRequested===!0?(Yg(a),ow(a._controlledReadableByteStream)):Gc(a)}function sL(a){a._byobRequest!==void 0&&(a._byobRequest._associatedReadableByteStreamController=void 0,a._byobRequest._view=void 0,a._byobRequest=void 0)}function pe0(a){for(;a._pendingPullIntos.length>0;){if(a._queueTotalSize===0)return;var h=a._pendingPullIntos[0];he0(a,h)===!0&&(AL(a),lL(a._controlledReadableByteStream,h))}}function jV0(a,h,d){var k=a._controlledReadableByteStream,y=1;h.constructor!==DataView&&(y=h.constructor.BYTES_PER_ELEMENT);var I=h.constructor,S=Fg(h.buffer),G={buffer:S,byteOffset:h.byteOffset,byteLength:h.byteLength,bytesFilled:0,elementSize:y,ctor:I,readerType:"byob"};if(a._pendingPullIntos.length>0)return a._pendingPullIntos.push(G),rU(k,d);if(k._state==="closed"){var R=new h.constructor(G.buffer,G.byteOffset,0);return Promise.resolve(ju(R,!0,d))}if(a._queueTotalSize>0){if(he0(a,G)===!0){var M=fe0(G);return de0(a),Promise.resolve(ju(M,!1,d))}if(a._closeRequested===!0){var Q=new TypeError("Insufficient bytes to fill elements in the given buffer");return lw(a,Q),Promise.reject(Q)}}a._pendingPullIntos.push(G);var V=rU(k,d);return Gc(a),V}function NV0(a,h){h.buffer=Fg(h.buffer);var d=a._controlledReadableByteStream;if(tL(d)===!0)for(;ie0(d)>0;){var k=AL(a);lL(d,k)}}function QV0(a,h,d){if(d.bytesFilled+h>d.byteLength)throw new RangeError("bytesWritten out of range");if(we0(a,h,d),!(d.bytesFilled0){var y=d.byteOffset+d.bytesFilled,I=d.buffer.slice(y-k,y);s5(a,I,0,I.byteLength)}d.buffer=Fg(d.buffer),d.bytesFilled-=k,lL(a._controlledReadableByteStream,d),pe0(a)}}function ke0(a,h){var d=a._pendingPullIntos[0],k=a._controlledReadableByteStream;if(k._state==="closed"){if(h!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");NV0(a,d)}else QV0(a,h,d);Gc(a)}function AL(a){var h=a._pendingPullIntos.shift();return sL(a),h}function TV0(a){var h=a._controlledReadableByteStream;if(h._state!=="readable"||a._closeRequested===!0||a._started===!1)return!1;if(ne0(h)===!0&&Pg(h)>0||tL(h)===!0&&ie0(h)>0)return!0;var d=ve0(a);return d>0}function Yg(a){a._pullAlgorithm=void 0,a._cancelAlgorithm=void 0}function FV0(a){var h=a._controlledReadableByteStream;if(a._queueTotalSize>0){a._closeRequested=!0;return}if(a._pendingPullIntos.length>0){var d=a._pendingPullIntos[0];if(d.bytesFilled>0){var k=new TypeError("Insufficient bytes to fill elements in the given buffer");throw lw(a,k),k}}Yg(a),ow(h)}function PV0(a,h){var d=a._controlledReadableByteStream,k=h.buffer,y=h.byteOffset,I=h.byteLength,S=Fg(k);if(ne0(d)===!0)if(Pg(d)===0)s5(a,S,y,I);else{var G=new Uint8Array(S,y,I);rL(d,G,!1)}else tL(d)===!0?(s5(a,S,y,I),pe0(a)):s5(a,S,y,I);Gc(a)}function lw(a,h){var d=a._controlledReadableByteStream;d._state==="readable"&&(ce0(a),g3(a),Yg(a),te0(d,h))}function ve0(a){var h=a._controlledReadableByteStream,d=h._state;return d==="errored"?null:d==="closed"?0:a._strategyHWM-a._queueTotalSize}function YV0(a,h){if(h=Number(h),kV0(h)===!1)throw new RangeError("bytesWritten must be a finite");ke0(a,h)}function VV0(a,h){var d=a._pendingPullIntos[0];if(d.byteOffset+d.bytesFilled!==h.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(d.byteLength!==h.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");d.buffer=h.buffer,ke0(a,h.byteLength)}function me0(a,h,d,k,y,I,S){h._controlledReadableByteStream=a,h._pullAgain=!1,h._pulling=!1,ce0(h),h._queue=h._queueTotalSize=void 0,g3(h),h._closeRequested=!1,h._started=!1,h._strategyHWM=Kx(I),h._pullAlgorithm=k,h._cancelAlgorithm=y,h._autoAllocateChunkSize=S,h._pendingPullIntos=[],a._readableStreamController=h;var G=d();Promise.resolve(G).then(function(){h._started=!0,Gc(h)},function(R){lw(h,R)}).catch(Ps)}function OV0(a,h,d){var k=Object.create(ae0.prototype);function y(){return ee0(h,"start",[k])}var I=fm(h,"pull",0,[k]),S=fm(h,"cancel",1,[]),G=h.autoAllocateChunkSize;if(G!==void 0&&(G=Number(G),lY0(G)===!1||G<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");me0(a,k,y,I,S,d,G)}function HV0(a,h,d){a._associatedReadableByteStreamController=h,a._view=d}function tU(a){if(typeof a!="object"||a===null)return!1;var h=Object.getOwnPropertyDescriptor(AbortSignal.prototype,"aborted").get;try{return h.call(a),!0}catch{return!1}}function s4(a){return new TypeError("ReadableStream.prototype."+a+" can only be used on a ReadableStream")}function vm(a){return new TypeError("Cannot "+a+" a stream using a released reader")}function Ev(a){return new TypeError("ReadableStreamDefaultReader.prototype."+a+" can only be used on a ReadableStreamDefaultReader")}function JV0(a){a._closedPromise=new Promise(function(h,d){a._closedPromise_resolve=h,a._closedPromise_reject=d})}function UV0(a,h){a._closedPromise=Promise.reject(h),a._closedPromise_resolve=void 0,a._closedPromise_reject=void 0}function XV0(a){a._closedPromise=Promise.resolve(void 0),a._closedPromise_resolve=void 0,a._closedPromise_reject=void 0}function ge0(a,h){a._closedPromise_reject(h),a._closedPromise_resolve=void 0,a._closedPromise_reject=void 0}function qV0(a,h){a._closedPromise=Promise.reject(h)}function $V0(a){a._closedPromise_resolve(void 0),a._closedPromise_resolve=void 0,a._closedPromise_reject=void 0}function Bv(a){return new TypeError("ReadableStreamBYOBReader.prototype."+a+" can only be used on a ReadableStreamBYOBReader")}function Iv(a){return new TypeError("ReadableStreamDefaultController.prototype."+a+" can only be used on a ReadableStreamDefaultController")}function II(a){return new TypeError("ReadableStreamBYOBRequest.prototype."+a+" can only be used on a ReadableStreamBYOBRequest")}function B8(a){return new TypeError("ReadableByteStreamController.prototype."+a+" can only be used on a ReadableByteStreamController")}var KV0=Vu.ReadableStream,bV0=ut.createDataProperty,eO0=function(){function a(d){var k=d.highWaterMark;bV0(this,"highWaterMark",k)}var h=a.prototype;return h.size=function(k){return k.byteLength},a}(),rO0=ut.createDataProperty,tO0=function(){function a(d){var k=d.highWaterMark;rO0(this,"highWaterMark",k)}var h=a.prototype;return h.size=function(){return 1},a}();D00("streams:transform-stream:verbose");var iO0=ut.InvokeOrNoop,nO0=ut.CreateAlgorithmFromUnderlyingMethod,oO0=ut.PromiseCall,ye0=ut.typeIsObject,iU=ut.ValidateAndNormalizeHighWaterMark;ut.IsNonNegativeNumber;var nU=ut.MakeSizeAlgorithmFromSizeFunction,lO0=Vu.CreateReadableStream,Ce0=Vu.ReadableStreamDefaultControllerClose,sO0=Vu.ReadableStreamDefaultControllerEnqueue,AO0=Vu.ReadableStreamDefaultControllerError,uO0=Vu.ReadableStreamDefaultControllerGetDesiredSize,aO0=Vu.ReadableStreamDefaultControllerHasBackpressure,uL=Vu.ReadableStreamDefaultControllerCanCloseOrEnqueue,cO0=pl.CreateWritableStream,fO0=pl.WritableStreamDefaultControllerErrorIfNeeded,Ee0=function(){function a(h,d,k){h===void 0&&(h={}),d===void 0&&(d={}),k===void 0&&(k={});var y=d.size,I=d.highWaterMark,S=k.size,G=k.highWaterMark,R=h.writableType;if(R!==void 0)throw new RangeError("Invalid writable type specified");var M=nU(y);I===void 0&&(I=1),I=iU(I);var Q=h.readableType;if(Q!==void 0)throw new RangeError("Invalid readable type specified");var V=nU(S);G===void 0&&(G=0),G=iU(G);var e0,l0=new Promise(function(n0){e0=n0});Be0(this,l0,I,M,G,V),wO0(this,h);var A0=iO0(h,"start",[this._transformStreamController]);e0(A0)}return fs(a,[{key:"readable",get:function(){if(oU(this)===!1)throw sU("readable");return this._readable}},{key:"writable",get:function(){if(oU(this)===!1)throw sU("writable");return this._writable}}]),a}();function hO0(a,h,d,k,y,I,S){k===void 0&&(k=1),y===void 0&&(y=function(){return 1}),I===void 0&&(I=0),S===void 0&&(S=function(){return 1});var G=Object.create(Ee0.prototype),R,M=new Promise(function(e0){R=e0});Be0(G,M,k,y,I,S);var Q=Object.create(Ie0.prototype);xe0(G,Q,h,d);var V=a();return R(V),G}function Be0(a,h,d,k,y,I){function S(){return h}function G(e0){return kO0(a,e0)}function R(e0){return vO0(a,e0)}function M(){return mO0(a)}a._writable=cO0(S,G,M,R,d,k);function Q(){return gO0(a)}function V(e0){return Og(a,e0),Promise.resolve()}a._readable=lO0(S,Q,V,y,I),a._backpressure=void 0,a._backpressureChangePromise=void 0,a._backpressureChangePromise_resolve=void 0,Hg(a,!0),a._transformStreamController=void 0}function oU(a){return!(!ye0(a)||!Object.prototype.hasOwnProperty.call(a,"_transformStreamController"))}function Vg(a,h){AO0(a._readable._readableStreamController,h),Og(a,h)}function Og(a,h){Se0(a._transformStreamController),fO0(a._writable._writableStreamController,h),a._backpressure===!0&&Hg(a,!1)}function Hg(a,h){a._backpressureChangePromise!==void 0&&a._backpressureChangePromise_resolve(),a._backpressureChangePromise=new Promise(function(d){a._backpressureChangePromise_resolve=d}),a._backpressure=h}var Ie0=function(){function a(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}var h=a.prototype;return h.enqueue=function(k){if(xv(this)===!1)throw Sv("enqueue");_e0(this,k)},h.error=function(k){if(xv(this)===!1)throw Sv("error");dO0(this,k)},h.terminate=function(){if(xv(this)===!1)throw Sv("terminate");pO0(this)},fs(a,[{key:"desiredSize",get:function(){if(xv(this)===!1)throw Sv("desiredSize");var k=this._controlledTransformStream._readable._readableStreamController;return uO0(k)}}]),a}();function xv(a){return!(!ye0(a)||!Object.prototype.hasOwnProperty.call(a,"_controlledTransformStream"))}function xe0(a,h,d,k){h._controlledTransformStream=a,a._transformStreamController=h,h._transformAlgorithm=d,h._flushAlgorithm=k}function wO0(a,h){var d=Object.create(Ie0.prototype),k=function(G){try{return _e0(d,G),Promise.resolve()}catch(R){return Promise.reject(R)}},y=h.transform;if(y!==void 0){if(typeof y!="function")throw new TypeError("transform is not a method");k=function(G){return oO0(y,h,[G,d])}}var I=nO0(h,"flush",0,[d]);xe0(a,d,k,I)}function Se0(a){a._transformAlgorithm=void 0,a._flushAlgorithm=void 0}function _e0(a,h){var d=a._controlledTransformStream,k=d._readable._readableStreamController;if(uL(k)===!1)throw new TypeError("Readable side is not in a state that permits enqueue");try{sO0(k,h)}catch(I){throw Og(d,I),d._readable._storedError}var y=aO0(k);y!==d._backpressure&&Hg(d,!0)}function dO0(a,h){Vg(a._controlledTransformStream,h)}function lU(a,h){var d=a._transformAlgorithm(h);return d.catch(function(k){throw Vg(a._controlledTransformStream,k),k})}function pO0(a){var h=a._controlledTransformStream,d=h._readable._readableStreamController;uL(d)===!0&&Ce0(d);var k=new TypeError("TransformStream terminated");Og(h,k)}function kO0(a,h){var d=a._transformStreamController;if(a._backpressure===!0){var k=a._backpressureChangePromise;return k.then(function(){var y=a._writable,I=y._state;if(I==="erroring")throw y._storedError;return lU(d,h)})}return lU(d,h)}function vO0(a,h){return Vg(a,h),Promise.resolve()}function mO0(a){var h=a._readable,d=a._transformStreamController,k=d._flushAlgorithm();return Se0(d),k.then(function(){if(h._state==="errored")throw h._storedError;var y=h._readableStreamController;uL(y)===!0&&Ce0(y)}).catch(function(y){throw Vg(a,y),h._storedError})}function gO0(a){return Hg(a,!1),a._backpressureChangePromise}var yO0={CreateTransformStream:hO0,TransformStream:Ee0};function Sv(a){return new TypeError("TransformStreamDefaultController.prototype."+a+" can only be used on a TransformStreamDefaultController")}function sU(a){return new TypeError("TransformStream.prototype."+a+" can only be used on a TransformStream")}var CO0=yO0.TransformStream;const EO0=Object.freeze(Object.defineProperty({__proto__:null,ByteLengthQueuingStrategy:eO0,CountQueuingStrategy:tO0,ReadableStream:KV0,TransformStream:CO0,WritableStream:dV0},Symbol.toStringTag,{value:"Module"})),BO0=Fn(EO0);function IO0(a,h){return fetch(a,h).then(d=>({body:d.body,headers:d.headers,ok:d.ok,status:d.status,statusText:d.statusText,url:d.url}))}let xO0=class ze0{constructor(h={}){this.h={},h instanceof ze0&&h.forEach((d,k)=>this.append(k,d)),Object.getOwnPropertyNames(h).forEach(d=>this.append(d,h[d]))}append(h,d){h=h.toLowerCase(),Array.isArray(this.h[h])||(this.h[h]=[]),this.h[h].push(d)}set(h,d){this.h[h.toLowerCase()]=[d]}has(h){return Array.isArray(this.h[h.toLowerCase()])}get(h){if(h=h.toLowerCase(),Array.isArray(this.h[h]))return this.h[h][0]}getAll(h){return this.h[h.toLowerCase()].concat()}entries(){const h=[];return this.forEach((d,k)=>{h.push([k,d])}),SO0(h)}forEach(h,d){Object.getOwnPropertyNames(this.h).forEach(k=>{this.h[k].forEach(y=>h.call(d,y,k,this))},this)}};function SO0(a){return{next(){const h=a.shift();return{done:h===void 0,value:h}},[Symbol.iterator](){return this}}}function xI(){try{return new DOMException("Aborted","AbortError")}catch{const h=new Error("Aborted");return h.name="AbortError",h}}function AU({responseType:a,responseParserFactory:h}){return function(k,y){const I=new XMLHttpRequest,S=h();let G,R=!1;const M=new ReadableStream({start(e0){G=e0},cancel(){R=!0,I.abort()}}),{method:Q="GET",signal:V}=y;if(I.open(Q,k),I.responseType=a,I.withCredentials=y.credentials!=="omit",y.headers)for(const e0 of y.headers.entries())I.setRequestHeader(e0[0],e0[1]);return new Promise((e0,l0)=>{if(y.body&&(Q==="GET"||Q==="HEAD")&&l0(new TypeError("Failed to execute 'fetchStream' on 'Window': Request with GET/HEAD method cannot have body")),V)if(V.aborted){l0(xI());return}else V.addEventListener("abort",()=>{I.abort(),G&&G.error(xI()),l0(xI())},{once:!0});I.onreadystatechange=function(){if(I.readyState===I.HEADERS_RECEIVED)return e0({body:M,headers:LO0(I.getAllResponseHeaders()),ok:I.status>=200&&I.status<300,status:I.status,statusText:I.statusText,url:zO0(I.responseURL,k)})},I.onerror=function(){return l0(new TypeError("Network request failed"))},I.ontimeout=function(){l0(new TypeError("Network request failed"))},I.onprogress=function(){if(!R){const A0=S(I.response);G.enqueue(A0)}},I.onload=function(){G.close()},I.send(y.body)})}}function _O0(){return typeof Headers<"u"?new Headers:new xO0}function zO0(a,h){return a||(h.substring(0,4)!=="http"?location.origin+h:h)}function LO0(a){const h=_O0();if(a){const d=a.split(`\r +`);for(let k=0;k0){const S=y.substring(0,I),G=y.substring(I+2);h.append(S,G)}}}return h}let SI=null;function RO0(){return SI||(SI=GO0()),SI}function GO0(){if(typeof Response<"u"&&Response.prototype.hasOwnProperty("body"))return IO0;const a="moz-chunked-arraybuffer";return ZO0(a)?AU({responseType:a,responseParserFactory:function(){return h=>new Uint8Array(h)}}):AU({responseType:"text",responseParserFactory:function(){const h=new TextEncoder;let d=0;return function(k){const y=k.substr(d);return d=k.length,h.encode(y,{stream:!0})}}})}function ZO0(a){try{const h=new XMLHttpRequest;return h.responseType=a,h.responseType===a}catch{}return!1}function aL(a,h={}){let d=h.transport;return d||(d=aL.transportFactory()),d(a,h)}aL.transportFactory=RO0;const WO0=Object.freeze(Object.defineProperty({__proto__:null,default:aL},Symbol.toStringTag,{value:"Module"})),DO0=Fn(WO0);(function(a,h){(function(d,k){a.exports=k()})(typeof self>"u"?ba:self,function(){return function(d){function k(I){if(y[I])return y[I].exports;var S=y[I]={i:I,l:!1,exports:{}};return d[I].call(S.exports,S,S.exports,k),S.l=!0,S.exports}var y={};return k.m=d,k.c=y,k.d=function(I,S,G){k.o(I,S)||Object.defineProperty(I,S,{configurable:!1,enumerable:!0,get:G})},k.n=function(I){var S=I&&I.__esModule?function(){return I.default}:function(){return I};return k.d(S,"a",S),S},k.o=function(I,S){return Object.prototype.hasOwnProperty.call(I,S)},k.p="./",k(k.s=46)}([function(d){d.exports=Q0},function(d){function k(I,S){var G=I[1]||"",R=I[3];if(!R)return G;if(S&&typeof btoa=="function"){var M=y(R),Q=R.sources.map(function(V){return"/*# sourceURL="+R.sourceRoot+V+" */"});return[G].concat(Q).concat([M]).join(` +`)}return[G].join(` +`)}function y(I){var S=btoa(unescape(encodeURIComponent(JSON.stringify(I))));return"/*# "+("sourceMappingURL=data:application/json;charset=utf-8;base64,"+S)+" */"}d.exports=function(I){var S=[];return S.toString=function(){return this.map(function(G){var R=k(G,I);return G[2]?"@media "+G[2]+"{"+R+"}":R}).join("")},S.i=function(G,R){typeof G=="string"&&(G=[[null,G,""]]);for(var M,Q={},V=0;V"u"&&(W0=z0.apply(this,arguments)),W0}}(function(){return window&&document&&document.all&&!window.atob}),c0=function(z0){return document.querySelector(z0)},f0=function(){var z0={};return function(W0){if(typeof W0=="function")return W0();if(typeof z0[W0]>"u"){var P0=c0.call(this,W0);if(window.HTMLIFrameElement&&P0 instanceof window.HTMLIFrameElement)try{P0=P0.contentDocument.head}catch{P0=null}z0[W0]=P0}return z0[W0]}}(),y0=null,C0=0,I0=[],w0=y(5);d.exports=function(z0,W0){if(typeof DEBUG<"u"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");W0=W0||{},W0.attrs=typeof W0.attrs=="object"?W0.attrs:{},W0.singleton||typeof W0.singleton=="boolean"||(W0.singleton=u0()),W0.insertInto||(W0.insertInto="head"),W0.insertAt||(W0.insertAt="bottom");var P0=S(z0,W0);return I(P0,W0),function(R0){for(var T0=[],q0=0;q0I0?-1:I0?I0-1-R0:-1},A0=function(f0){return f0?Array.isArray(f0)?f0.length===1?Object(I.Range)(f0[0],f0[0]+1):Object(I.Range)(f0[0],f0[1]+1):Object(I.Range)(f0,f0+1):Object(I.Range)(0,0)},n0=function(f0,y0){var C0=new Uint8Array(f0.length+y0.length);return C0.set(f0,0),C0.set(y0,f0.length),C0},h0=function(f0,y0){var C0=y0?n0(y0,f0):f0,I0=C0.length,w0=0,E0=0,z0=Object(I.List)().withMutations(function(W0){for(;E0h0.b?Se(ae):we()}}),z0),M(W0,P0)}return Q(w0,I0),y0(w0,[{key:"render",value:function(){var E0=this.props,z0=E0.resultsCount,W0=E0.filterActive,P0=E0.disabled,R0="match"+(z0===1?"":"es"),T0=W0?u0.active:u0.inactive;return Object(V.createElement)("div",{className:"react-lazylog-searchbar "+u0.searchBar},Object(V.createElement)("input",{autoComplete:"off",type:"text",name:"search",placeholder:"Search",className:"react-lazylog-searchbar-input "+u0.searchInput,onChange:this.handleSearchChange,onKeyPress:this.handleSearchKeyPress,value:this.state.keywords,disabled:P0}),Object(V.createElement)("button",{disabled:P0,className:"react-lazylog-searchbar-filter "+(W0?"active":"inactive")+" "+u0.button+" "+T0,onClick:this.handleFilterToggle},Object(V.createElement)(n0,null)),Object(V.createElement)("span",{className:"react-lazylog-searchbar-matches "+(z0?"active":"inactive")+" "+(z0?u0.active:u0.inactive)},z0," ",R0))}}]),w0}(V.Component),Object.defineProperty(c0,"propTypes",{enumerable:!0,writable:!0,value:{onSearch:e0.func,onClearSearch:e0.func,onFilterLinesWithMatches:e0.func,resultsCount:e0.number,filterActive:e0.bool,disabled:e0.bool}}),Object.defineProperty(c0,"defaultProps",{enumerable:!0,writable:!0,value:{onSearch:function(){},onClearSearch:function(){},onFilterLinesWithMatches:function(){},resultsCount:0,filterActive:!1,disabled:!1}}),f0)},function(d,k,y){var I=y(26);typeof I=="string"&&(I=[[d.i,I,""]]);var S,G={hmr:!0};G.transform=S,G.insertInto=void 0,y(2)(I,G),I.locals&&(d.exports=I.locals)},function(d,k,y){k=d.exports=y(1)(!1),k.push([d.i,`._1lq6olr9h2p7MJDCA8c-aL { + height: 15px; + cursor: pointer; +} +`,""]),k.locals={filterLinesIcon:"_1lq6olr9h2p7MJDCA8c-aL"}},function(d,k,y){var I=y(28);typeof I=="string"&&(I=[[d.i,I,""]]);var S,G={hmr:!0};G.transform=S,G.insertInto=void 0,y(2)(I,G),I.locals&&(d.exports=I.locals)},function(d,k,y){k=d.exports=y(1)(!1),k.push([d.i,`._3hsz3SFOTsWryCiRA9Mjtq { + display: flex; + align-items: center; + justify-content: flex-end; + font-family: "Monaco", monospace; + font-size: 12px; + background-color: #222222; + color: #d6d6d6; + padding: 10px; +} + +._2JObJsQyVcVoB1YD6078ip { + background-color: #464646; + color: #d6d6d6; + height: 20px; + min-width: 200px; + font-size: 12px; + padding: 2px 5px; + border: 1px solid #4e4e4e; + margin-right: 10px; +} + +._1NGepveS5BPffleJYyamDk { + color: #d6d6d6; + fill: #d6d6d6; +} + +._3cXa-36GYrmnrGIXEg46cX { + color: #464646; + fill: #464646; +} + +.qZaVIaYTJWY-GaoXJJ2Cp { + background: none; + border: none; + margin-right: 10px; +} +`,""]),k.locals={searchBar:"_3hsz3SFOTsWryCiRA9Mjtq",searchInput:"_2JObJsQyVcVoB1YD6078ip",active:"_1NGepveS5BPffleJYyamDk",inactive:"_3cXa-36GYrmnrGIXEg46cX",button:"qZaVIaYTJWY-GaoXJJ2Cp"}},function(d,k,y){function I(ye){if(Array.isArray(ye)){for(var Be=0,Ce=Array(ye.length);Bexr&&(nn=ki-xr,Ji=Ji.slice(-xr),ki=Ji.count());var R2=Object(I0.g)({follow:h2,scrollToLine:n2,previousCount:tt,count:ki,offset:nn});ce.setState({lines:Ji,offset:nn,count:ki,scrollToIndex:R2}),(N2||b2)&&ce.forceSearch()}}),Object.defineProperty(ce,"handleEnd",{enumerable:!0,writable:!0,value:function(xe){ce.encodedLog=xe,ce.setState({loaded:!0}),ce.props.onLoad&&ce.props.onLoad()}}),Object.defineProperty(ce,"handleError",{enumerable:!0,writable:!0,value:function(xe){ce.setState({error:xe}),ce.props.onError&&ce.props.onError(xe)}}),Object.defineProperty(ce,"handleHighlight",{enumerable:!0,writable:!0,value:function(xe){var Pe=ce.props.onHighlight,je=ce.state.isFilteringLinesWithMatches;if(xe.target.id){var r2=+xe.target.id;if(r2){var n2=ce.state.highlight.first(),h2=ce.state.highlight.last(),N2=void 0;N2=n2===r2?null:xe.shiftKey&&n2?r2>n2?[n2,r2]:[r2,h2]:r2;var b2=Object(I0.e)(N2),mr={highlight:b2};je&&Object.assign(mr,{scrollToIndex:Object(I0.g)({scrollToLine:r2})}),ce.setState(mr,function(){Pe&&Pe(b2),je&&ce.handleFilterLinesWithMatches(!1)})}}}}),Object.defineProperty(ce,"handleSearch",{enumerable:!0,writable:!0,value:function(xe){var Pe=ce.state,je=Pe.resultLines,r2=Pe.searchKeywords,n2=ce.props,h2=n2.caseInsensitive,N2=n2.stream,b2=n2.websocket,mr=N2||b2||xe!==r2?Ie(xe,ce.encodedLog,h2):je;ce.setState({resultLines:mr,isSearching:!0,searchKeywords:xe},ce.filterLinesWithMatches)}}),Object.defineProperty(ce,"forceSearch",{enumerable:!0,writable:!0,value:function(){var xe=ce.state.searchKeywords;xe&&xe.length>I0.b&&ce.handleSearch(ce.state.searchKeywords)}}),Object.defineProperty(ce,"handleClearSearch",{enumerable:!0,writable:!0,value:function(){ce.setState({isSearching:!1,searchKeywords:"",resultLines:[],filteredLines:Object(e0.List)(),resultLineUniqueIndexes:[],isFilteringLinesWithMatches:ce.state.isFilteringLinesWithMatches,scrollToIndex:0})}}),Object.defineProperty(ce,"handleFilterLinesWithMatches",{enumerable:!0,writable:!0,value:function(xe){ce.setState({isFilteringLinesWithMatches:xe,filteredLines:Object(e0.List)(),resultLineUniqueIndexes:[]},ce.filterLinesWithMatches)}}),Object.defineProperty(ce,"filterLinesWithMatches",{enumerable:!0,writable:!0,value:function(){var xe=ce.state,Pe=xe.resultLines,je=xe.lines,r2=xe.isFilteringLinesWithMatches;if(0{const h=["Bytes","KB","MB","GB","TB"];if(a===0)return"0 Byte";const d=Math.floor(Math.log(a)/Math.log(1024));return(a/Math.pow(1024,d)).toFixed(2)+" "+h[d]},B1=a=>{if(isNaN(a)||a===void 0||a===null||a===0)return"0 B/s";const h=["B/s","KB/s","MB/s","GB/s","TB/s"],d=Math.floor(Math.log(a)/Math.log(1024));return(a/Math.pow(1024,d)).toFixed(2)+" "+h[d]},YO0=a=>a==null||isNaN(a)?"0%":a.toFixed(2)+"%",hL=a=>{const h=Math.floor(a/3600),d=Math.floor(a%3600/60),k=Math.floor(a%60),y=h>0?h+"h ":"",I=d>0?d+"m ":"",S=k+"s";return y+I+S},VO0=(a,h,d)=>{if(d===0)return"999hrs:99m";const y=(h-a)/d;return hL(y)},wL=(a,h)=>a===0||h===0?"0%":YO0(a/h*100),uU=a=>Or(a)+"/s",OO0=({logs:a=[],onLogSelected:h,onDownload:d,...k})=>{const y=S=>{h(S)},I=()=>J.jsxs("table",{className:"table-auto w-fit text-left border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{}),J.jsx("th",{className:"px-4 py-2",children:"Name"}),J.jsx("th",{className:"px-4 py-2",children:"Size"}),J.jsx("th",{})]})}),J.jsx("tbody",{children:a.map((S,G)=>J.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>y(S.name),children:[J.jsx("td",{className:"pl-2",children:S.selected&&J.jsx(Jg,{})}),J.jsx("td",{className:"px-4 py-2",children:S.name}),J.jsx("td",{className:"px-4 py-2",children:Or(S.size)}),J.jsx("td",{children:J.jsx(Le0,{onClick:R=>{R.preventDefault(),R.stopPropagation(),d(S)},className:"cursor-pointer pr-2 hover:scale-125"})})]},G))})]});return J.jsx(J.Fragment,{children:I()})},HO0=()=>{const a=c3(),h=q2(Hr),d=q2(DR0),[k,y]=Q0.useState(""),[I,S]=Q0.useState("Head");Q0.useEffect(()=>{d.forEach(M=>{if(M.selected){const Q=Math.round(M.size/10);let V=M.url;I==="Head"?V=M.url+"?offset=0&limit="+Q:I==="Tail"&&(V=M.url+"?offset="+(M.size-Q)+"&limit="+Q),y(V)}})},[I,d]),Q0.useEffect(()=>{let M=!1;d.forEach(Q=>{Q.selected&&(M=!0)}),M||y("")},[d]),Q0.useEffect(()=>{h!==""&&l00()},[h]);const G=M=>{fetch(M.url,{method:"GET",headers:{"Content-Type":"text/plain"}}).then(Q=>Q.blob()).then(Q=>{const V=window.URL.createObjectURL(new Blob([Q])),e0=document.createElement("a");e0.href=V,e0.setAttribute("download",M.name),document.body.appendChild(e0),e0.click(),document.body.removeChild(e0)})},R=M=>{let Q="px-4 py-2 mr-2 text-sm font-medium text-gray-900 bg-white-100 border-gray-900 hover:bg-gray-500 hover:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700 border";const V="bg-gray-900 text-white";return M===I?Q+" "+V:Q};return J.jsxs("div",{className:"flex flex-col w-full pt-4 pb-4",children:[J.jsx(OO0,{logs:d,onLogSelected:M=>{a(mR0(M))},onDownload:M=>{G(M)}}),k!==""?J.jsxs(J.Fragment,{children:[J.jsxs("div",{className:"flex flex-row pb-2 pt-2",children:[J.jsx("button",{className:R("Head"),onClick:()=>S("Head"),children:"Head"}),J.jsx("button",{className:R("Tail"),onClick:()=>S("Tail"),children:"Tail"}),J.jsx("button",{className:R("All"),onClick:()=>S("All"),children:"All"})]}),J.jsx(MO0.LazyLog,{extraLines:1,enableSearch:!0,caseInsensitive:!0,url:k,height:window.innerHeight*.7,width:"auto"})]}):null]})},JO0=({db:a,selected:h,onDbSelected:d})=>J.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",style:{backgroundColor:h?"lightblue":"white"},onClick:()=>d(a.path),children:[J.jsx("td",{className:"px-4 py-2",children:a.path}),J.jsx("td",{className:"px-4 py-2",children:a.keysCount}),J.jsx("td",{className:"px-4 py-2",children:Or(a.size)})]},a.path),UO0=Sc(J.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown"),M4=({title:a,filter:h=!1,sort:d=!0,onFilterChange:k,onSortChange:y})=>{const[I,S]=Je.useState("asc");return J.jsx("th",{className:"px-4 py-2",children:J.jsxs("div",{className:"flex flex-row",children:[J.jsxs("div",{className:"flex flex-col",children:[J.jsx("span",{children:a}),h&&J.jsx("input",{className:"border rounded-lg p-1",onChange:G=>k&&k(G.target.value)})]}),d&&J.jsx("div",{className:"flex flex-col",children:J.jsx(UO0,{className:"cursor-pointer",onClick:()=>{S(I==="asc"?"desc":"asc"),y&&y(I==="asc"?"desc":"asc")}})})]})})},XO0=({dbs:a,onDbSelected:h})=>{const[d,k]=Je.useState(""),[y,I]=Je.useState(a),[S,G]=Je.useState(""),[R,M]=Je.useState({db:{sortDirection:"asc",sortValue:!0},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:"asc",sortValue:!1}});return Q0.useEffect(()=>{I(a.filter(Q=>Q.path.toLowerCase().includes(S.toLowerCase())))},[a,S]),Q0.useEffect(()=>{I([...y].sort((Q,V)=>R.db.sortValue?R.db.sortDirection==="asc"?Q.path.localeCompare(V.path):V.path.localeCompare(Q.path):R.keysCount.sortValue?R.keysCount.sortDirection==="asc"?Q.keysCount-V.keysCount:V.keysCount-Q.keysCount:R.size.sortValue?R.size.sortDirection==="asc"?Q.size-V.size:V.size-Q.size:0))},[R]),J.jsxs("table",{className:"table-auto rounded-lg bg-white text-left w-full","data-testid":"details_section_flags_table",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx(M4,{title:"DB",filter:!0,sort:!0,onFilterChange:Q=>G(Q),onSortChange:Q=>{M({...R,db:{sortDirection:Q,sortValue:!0},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:"asc",sortValue:!1}})}}),J.jsx(M4,{title:"Keys Count",sort:!0,onSortChange:Q=>{M({...R,db:{sortDirection:"asc",sortValue:!1},keysCount:{sortDirection:Q,sortValue:!0},size:{sortDirection:"asc",sortValue:!1}})}}),J.jsx(M4,{title:"Size",sort:!0,onSortChange:Q=>{M({...R,db:{sortDirection:"asc",sortValue:!1},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:Q,sortValue:!0}})}})]})}),J.jsx("tbody",{children:y.map(Q=>J.jsx(JO0,{db:Q,selected:d===Q.path,onDbSelected:V=>{k(V),h(V)}}))})]})},qO0=({table:a})=>J.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",children:[J.jsx("td",{className:"px-4 py-2",children:a.name}),J.jsx("td",{className:"px-4 py-2",children:a.count}),J.jsx("td",{className:"px-4 py-2",children:Or(a.size)})]},a.name),$O0=({tables:a})=>{const[h,d]=Je.useState(a),[k,y]=Je.useState(""),[I,S]=Je.useState({table:{sortDirection:"asc",sortValue:!0},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:"asc",sortValue:!1}});return Q0.useEffect(()=>{d(a.filter(G=>G.name.toLowerCase().includes(k.toLowerCase())))},[a,k]),Q0.useEffect(()=>{d([...h].sort((G,R)=>I.table.sortValue?I.table.sortDirection==="asc"?G.name.localeCompare(R.name):R.name.localeCompare(G.name):I.keysCount.sortValue?I.keysCount.sortDirection==="asc"?G.count-R.count:R.count-G.count:I.size.sortValue?I.size.sortDirection==="asc"?G.size-R.size:R.size-G.size:0))},[I]),J.jsxs("table",{className:"table-auto rounded-lg bg-white text-left w-full","data-testid":"details_section_flags_table",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx(M4,{title:"Table",filter:!0,sort:!0,onFilterChange:G=>y(G),onSortChange:G=>{S({...I,table:{sortDirection:G,sortValue:!0},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:"asc",sortValue:!1}})}}),J.jsx(M4,{title:"Keys Count",sort:!0,onSortChange:G=>{S({...I,table:{sortDirection:"asc",sortValue:!1},keysCount:{sortDirection:G,sortValue:!0},size:{sortDirection:"asc",sortValue:!1}})}}),J.jsx(M4,{title:"Size",sort:!0,onSortChange:G=>{S({...I,table:{sortDirection:"asc",sortValue:!1},keysCount:{sortDirection:"asc",sortValue:!1},size:{sortDirection:G,sortValue:!0}})}})]})}),J.jsx("tbody",{children:h.map(G=>J.jsx(qO0,{table:G}))})]})},KO0=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Re0=a=>Array.isArray(a)&&a.every(h=>typeof h=="object"&&!(h instanceof Array)),bO0=a=>Array.isArray(a)&&a.every(h=>Array.isArray(h)),eH0=a=>Array.from(a.map(h=>Object.keys(h)).reduce((h,d)=>new Set([...h,...d]),[])),rH0=(a,h)=>{h=h||eH0(a);let d=h,k=h;Re0(h)&&(d=h.map(I=>I.label),k=h.map(I=>I.key));const y=a.map(I=>k.map(S=>tH0(S,I)));return[d,...y]},tH0=(a,h)=>{const d=a.replace(/\[([^\]]+)]/g,".$1").split(".").reduce(function(k,y,I,S){const G=k[y];if(G==null)S.splice(1);else return G},h);return d===void 0?a in h?h[a]:"":d},iH0=a=>typeof a>"u"||a===null?"":a,Ge0=(a,h=",",d='"')=>a.filter(k=>k).map(k=>k.map(y=>iH0(y)).map(y=>`${d}${y}${d}`).join(h)).join(` +`),nH0=(a,h,d,k)=>Ge0(h?[h,...a]:a,d,k),oH0=(a,h,d,k)=>Ge0(rH0(a,h),d,k),lH0=(a,h,d,k)=>h?`${h.join(d)} +${a}`:a.replace(/"/g,'""'),Ze0=(a,h,d,k)=>{if(Re0(a))return oH0(a,h,d,k);if(bO0(a))return nH0(a,h,d,k);if(typeof a=="string")return lH0(a,h,d);throw new TypeError('Data should be a "String", "Array of arrays" OR "Array of objects" ')},We0=(a,h,d,k,y)=>{const I=Ze0(a,d,k,y),S=KO0()?"application/csv":"text/csv",G=new Blob([h?"\uFEFF":"",I],{type:S}),R=`data:${S};charset=utf-8,${h?"\uFEFF":""}${I}`,M=window.URL||window.webkitURL;return typeof M.createObjectURL>"u"?R:M.createObjectURL(G)},De0={data:Co.oneOfType([Co.string,Co.array,Co.func]).isRequired,headers:Co.array,target:Co.string,separator:Co.string,filename:Co.string,uFEFF:Co.bool,onClick:Co.func,asyncOnClick:Co.bool,enclosingCharacter:Co.string},Me0={separator:",",filename:"generatedBy_react-csv.csv",uFEFF:!0,asyncOnClick:!1,enclosingCharacter:'"'},sH0={target:"_blank"};class aU extends Je.Component{constructor(h){super(h),this.state={}}buildURI(){return We0(...arguments)}componentDidMount(){const{data:h,headers:d,separator:k,enclosingCharacter:y,uFEFF:I,target:S,specs:G,replace:R}=this.props;this.state.page=window.open(this.buildURI(h,I,d,k,y),S,G,R)}getWindow(){return this.state.page}render(){return null}}h8(aU,"defaultProps",Object.assign(Me0,sH0)),h8(aU,"propTypes",De0);var jv;let AH0=(jv=class extends Je.Component{constructor(h){super(h),this.buildURI=this.buildURI.bind(this)}buildURI(){return We0(...arguments)}handleLegacy(h,d=!1){if(window.navigator.msSaveOrOpenBlob){h.preventDefault();const{data:k,headers:y,separator:I,filename:S,enclosingCharacter:G,uFEFF:R}=this.props,M=d&&typeof k=="function"?k():k;let Q=new Blob([R?"\uFEFF":"",Ze0(M,y,I,G)]);return window.navigator.msSaveBlob(Q,S),!1}}handleAsyncClick(h){const d=k=>{if(k===!1){h.preventDefault();return}this.handleLegacy(h,!0)};this.props.onClick(h,d)}handleSyncClick(h){if(this.props.onClick(h)===!1){h.preventDefault();return}this.handleLegacy(h)}handleClick(){return h=>{if(typeof this.props.onClick=="function")return this.props.asyncOnClick?this.handleAsyncClick(h):this.handleSyncClick(h);this.handleLegacy(h)}}render(){const{data:h,headers:d,separator:k,filename:y,uFEFF:I,children:S,onClick:G,asyncOnClick:R,enclosingCharacter:M,...Q}=this.props,e0=typeof window>"u"?"":this.buildURI(h,I,d,k,M);return J.jsx("a",{download:y,...Q,ref:l0=>this.link=l0,target:"_self",href:e0,onClick:this.handleClick(),children:S})}},h8(jv,"defaultProps",Me0),h8(jv,"propTypes",De0),jv);const uH0=AH0;var dL={},aH0=Qr;Object.defineProperty(dL,"__esModule",{value:!0});var pL=dL.default=void 0,cH0=aH0(rt()),fH0=J;pL=dL.default=(0,cH0.default)((0,fH0.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack");const hH0=()=>{const a=q2(F_),[h,d]=Q0.useState(""),y=NR0()(lr.getState(),h),[I,S]=Q0.useState([]),G=Q=>{Q.key==="Escape"&&d("")};Q0.useEffect(()=>(window.addEventListener("keydown",G),()=>{window.removeEventListener("keydown",G)}),[]),Q0.useEffect(()=>{h.length>0&&S(y.tables.map(Q=>({tName:Q.name,KC:Q.count,size:Or(Q.size)})))},[h]);const R=()=>h.length>0?[{label:"Table Name",key:"tName"},{label:"Keys Count",key:"KC"},{label:"Size",key:"size"}]:[{label:"DB Name",key:"dbName"},{label:"Keys Count",key:"KC"},{label:"Size",key:"size"}],M=()=>h.length>0?y.tables.map(Q=>({tName:Q.name,KC:Q.count,size:Or(Q.size)})):a.map(Q=>({dbName:Q.path,KC:Q.keysCount,size:Or(Q.size)}));return J.jsxs("div",{className:"flex flex-col w-full py-4",children:[J.jsx(uH0,{headers:R(),data:M(),filename:h.length>0?h+".csv":"dbs.csv",className:"btn btn-primary",target:"_blank",children:J.jsx(us,{backgroundColor:k3,label:"Export to CSV",onClick:()=>{},primary:!0})}),h.length<=0?J.jsxs("div",{className:"w-full h-[90vh] overflow-y-auto mt-10 flex flex-col items-center",children:[J.jsx("span",{className:"mb-5 font-bold text-lg",children:"Data Bases"}),J.jsx(XO0,{dbs:a,onDbSelected:Q=>d(Q)})]}):J.jsxs("div",{className:"w-full h-[90vh] overflow-y-auto mt-10 flex flex-col items-center",children:[J.jsxs("div",{className:"mb-5 flex flex-row space-between w-full",children:[J.jsx("div",{className:"flex-[1]",children:J.jsx(pL,{onClick:()=>{d("")},className:"cursor-pointer"})}),J.jsx("div",{className:"contents flex-[1]",children:J.jsx("span",{className:"font-bold text-lg",children:h})}),J.jsx("div",{className:"flex-[1]"})]}),J.jsx($O0,{tables:y.tables})]})]})},wH0=({onClose:a,onCreate:h,...d})=>{const[k,y]=Je.useState(""),I=S=>{y(S.target.value)};return J.jsxs(J.Fragment,{children:[J.jsx("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-1 z-50 outline-none focus:outline-none",children:J.jsx("div",{className:"relative w-auto my-6 mx-auto max-w-3xl",children:J.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-white outline-none focus:outline-none items-center",children:[J.jsx("h3",{className:"text-3xl font-semibold mt-5",children:"Create Session"}),J.jsxs("div",{className:"flex flex-col relative p-6 flex-auto justify-center",children:[J.jsx("p",{className:"my-4 text-slate-500 text-lg leading-relaxed",children:"To create a new session, enter a name."}),J.jsx("input",{type:"text",placeholder:"Enter Session Name",className:"border-2 border-slate-200 rounded-md p-2",value:k,onChange:I})]}),J.jsxs("div",{className:"flex items-center justify-end p-6",children:[J.jsx(us,{backgroundColor:b6,label:"Close",onClick:()=>a(),primary:!0}),J.jsx("div",{className:"w-2"}),J.jsx(us,{backgroundColor:k3,label:"Create",onClick:()=>{h(k)},primary:!0})]})]})})}),J.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})},je0=({onSessionSelected:a,...h})=>{const d=c3(),k=q2(LR0),[y,I]=Q0.useState(!1),S=Q=>{I(!0),setTimeout(()=>{I(!1)},1500),navigator.clipboard.writeText(Q)},G=Q=>{d(fR0(Q)),a()},R=Q=>{let V="";return!window.location.origin.includes("127.0.0.1")&&!window.location.origin.includes("localhost")&&(V="--diagnostics.addr "+window.location.host),"./build/bin/erigon support "+V+" --diagnostics.sessions "+Q},M=()=>J.jsxs(J.Fragment,{children:[J.jsxs("table",{className:"table-auto rounded-lg shadow-lg bg-white text-left w-fit mb-4",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{}),J.jsx("th",{className:"px-4 py-2",children:"Name"}),J.jsx("th",{className:"px-4 py-2",children:"PIN"}),J.jsx("th",{className:"px-4 py-2",children:"Support cmd"})]})}),J.jsx("tbody",{children:k.map((Q,V)=>J.jsxs("tr",{className:"border-b border-gray-200",onClick:()=>G(Q.pin),children:[J.jsx("td",{className:"pl-2",children:Q.active&&J.jsx(Jg,{})}),J.jsx("td",{className:"px-4 py-2",children:Q.name}),J.jsxs("td",{className:"px-4 py-2 hover:bg-gray-100",children:[Q.pin," ",J.jsx(nm,{onClick:()=>S(Q.pin),className:"cursor-pointer pr-2"})]}),J.jsxs("td",{className:"px-4 py-2 hover:bg-gray-100",children:[R(Q.pin)," ",J.jsx(nm,{onClick:()=>S(R(Q.pin)),className:"cursor-pointer pr-2"})]})]},V))})]}),y&&J.jsx(i00,{})]});return J.jsx(J.Fragment,{children:k.length>0&&M()})},dH0=({title:a="",body:h="",positiveButton:d="",negativeButton:k="",onClose:y=()=>{},onNegativeClick:I=()=>{},onPositiveClick:S=()=>{}})=>{const G=()=>d!==""&&k!==""?J.jsxs(J.Fragment,{children:[R(!0,d),J.jsx("div",{className:"w-2"}),R(!1,k)]}):d!==""?J.jsx(J.Fragment,{children:R(!0,d)}):k!==""?J.jsx(J.Fragment,{children:R(!1,k)}):null,R=(M,Q)=>J.jsx(us,{backgroundColor:M?b6:k3,label:Q,onClick:M?S:I,primary:!0});return J.jsxs(J.Fragment,{children:[J.jsx("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-0 z-50 outline-none focus:outline-none absolute bg-black/[.4]",children:J.jsx("div",{className:"relative w-auto my-6 mx-auto max-w-3xl",children:J.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-white outline-none focus:outline-none items-center p-4 min-w-[20vw]",children:[J.jsxs("div",{className:"flex flex-row w-full",children:[J.jsx("div",{className:"flex-[1]"}),J.jsx("div",{className:"flex flex-[2] justify-center",children:J.jsx("h3",{className:"text-3xl font-semibold",children:a})}),J.jsx("div",{className:"flex flex-[1] justify-end",children:J.jsx(ew,{onClick:()=>y(),className:"cursor-pointer"})})]}),J.jsx("div",{className:"inline-block relative p-6 flex-auto justify-center items-center w-full break-all max-h-[80vh] overflow-scroll",children:J.jsx("p",{className:"my-4 text-slate-500 text-lg leading-relaxed",children:h})}),J.jsx("div",{className:"flex items-center justify-end p-6",children:G()})]})})}),J.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})},pH0=()=>{const a=c3(),[h,d]=Q0.useState(!1),[k,y]=Q0.useState(!1);q2(Zb);function I(S,G){return Math.floor(Math.random()*(G-S)+S)}return J.jsxs("div",{className:"flex flex-col",children:[J.jsx("h3",{className:"py-2 text-xl font-semibold",children:"Sessions List"}),J.jsx(je0,{onSessionSelected:()=>{}}),J.jsx("div",{className:"absolute right-[5vw] bottom-[10vh]",children:J.jsx(us,{backgroundColor:b6,label:"Clear all data",onClick:()=>{y(!0)},primary:!0})}),h?J.jsx(wH0,{onClose:()=>d(!1),onCreate:S=>{let G=I(1e7,99999999).toString();a(Qx({name:S,pin:G,is_active:!0,nodes:[]})),d(!1)}}):J.jsx(us,{backgroundColor:k3,label:"Create Session",onClick:()=>d(!0),primary:!0}),k&&J.jsx(dH0,{title:"Clear all data",body:"Are you sure you want to clear all data?",positiveButton:"Clear",negativeButton:"Cancel",onPositiveClick:()=>{a(ER0()),a(cM0()),a(uM0()),y(!1)},onNegativeClick:()=>y(!1),onClose:()=>y(!1)})]})};var kL={},kH0=Qr;Object.defineProperty(kL,"__esModule",{value:!0});var Ne0=kL.default=void 0,vH0=kH0(rt()),mH0=J;Ne0=kL.default=(0,vH0.default)((0,mH0.jsx)("path",{d:"m17 16-4-4V8.82C14.16 8.4 15 7.3 15 6c0-1.66-1.34-3-3-3S9 4.34 9 6c0 1.3.84 2.4 2 2.82V12l-4 4H3v5h5v-3.05l4-4.2 4 4.2V21h5v-5z"}),"DeviceHub");var vL={},gH0=Qr;Object.defineProperty(vL,"__esModule",{value:!0});var Qe0=vL.default=void 0,yH0=gH0(rt()),CH0=J;Qe0=vL.default=(0,yH0.default)((0,CH0.jsx)("path",{d:"M8.4 18.2c.38.5.6 1.12.6 1.8 0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3c.44 0 .85.09 1.23.26l1.41-1.77c-.92-1.03-1.29-2.39-1.09-3.69l-2.03-.68c-.54.83-1.46 1.38-2.52 1.38-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3c0 .07 0 .14-.01.21l2.03.68c.64-1.21 1.82-2.09 3.22-2.32V5.91C9.96 5.57 9 4.4 9 3c0-1.66 1.34-3 3-3s3 1.34 3 3c0 1.4-.96 2.57-2.25 2.91v2.16c1.4.23 2.58 1.11 3.22 2.32L18 9.71V9.5c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-1.06 0-1.98-.55-2.52-1.37l-2.03.68c.2 1.29-.16 2.65-1.09 3.69l1.41 1.77c.38-.18.79-.27 1.23-.27 1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.68.22-1.3.6-1.8l-1.41-1.77c-1.35.75-3.01.76-4.37 0z"}),"Hub");const EH0=({onSessionClicked:a,onNodeClicked:h})=>{const d=q2(Q_),k=q2(GR0);return J.jsxs("div",{className:"flex flex-row h-10 bg-blue-500 absolute bottom-0 left-0 w-full z-10 px-5 py-1",children:[J.jsxs("button",{className:"text-white bg-blue-600 hover:bg-blue-700 px-2 rounded-md",onClick:()=>{a()},children:[J.jsx(Ne0,{}),J.jsx("span",{className:"px-1"}),(d==null?void 0:d.name)||"No Session Selected"]}),J.jsx("span",{className:"mx-4"}),J.jsxs("button",{className:"text-white bg-blue-600 hover:bg-blue-700 px-2 rounded-md",onClick:()=>{h()},children:[J.jsx(Qe0,{}),J.jsx("span",{className:"px-1"}),(k==null?void 0:k.name)||"No Node Selected"]})]})},BH0=({open:a,onClose:h,...d})=>J.jsxs("dialog",{className:"fixed z-10 inset-0 overflow-y-auto",open:a,onClose:()=>{h()},children:[J.jsx("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75","aria-hidden":"true"}),J.jsx("div",{className:"flex items-center justify-center",children:J.jsxs("div",{className:"flex flex-col items-center relative bg-white rounded-lg p-4",children:[J.jsx("h3",{className:"pb-4 text-xl font-semibold",children:"Sessions List"}),J.jsx(je0,{onSessionSelected:()=>{h()}}),J.jsx(us,{backgroundColor:b6,label:"Close",onClick:h,primary:!0})]})})]}),IH0=({onNodeSelected:a,...h})=>{const d=c3(),k=q2(ZR0),y=S=>{d(hR0(S)),a()},I=()=>J.jsxs("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{}),J.jsx("th",{className:"px-4 py-2",children:"Name"}),J.jsx("th",{className:"px-4 py-2",children:"Version"}),J.jsx("th",{className:"px-4 py-2",children:"Chain"}),J.jsx("th",{className:"px-4 py-2",children:"Block"}),J.jsx("th",{className:"px-4 py-2",children:"Address"})]})}),J.jsx("tbody",{children:k.map((S,G)=>J.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>y(S.id),children:[J.jsx("td",{className:"pl-2",children:S.active&&J.jsx(Jg,{})}),J.jsx("td",{className:"px-4 py-2",children:S.name}),J.jsx("td",{className:"px-4 py-2",children:S.version}),J.jsx("td",{className:"px-4 py-2",children:S.chain}),J.jsx("td",{className:"px-4 py-2",children:S.block}),J.jsx("td",{className:"px-4 py-2",children:S.address})]},G))})]});return J.jsx(J.Fragment,{children:k.length>0&&I()})},xH0=({open:a,onClose:h,...d})=>J.jsxs("dialog",{className:"fixed z-10 inset-0 overflow-y-auto",open:a,onClose:()=>{h()},children:[J.jsx("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75","aria-hidden":"true"}),J.jsx("div",{className:"flex items-center justify-center",children:J.jsxs("div",{className:"flex flex-col items-center relative bg-white rounded-lg p-4",children:[J.jsx("h3",{className:"pb-4 text-xl font-semibold",children:"Nodes List"}),J.jsx(IH0,{onNodeSelected:()=>{h()}}),J.jsx(us,{backgroundColor:b6,label:"Close",onClick:h,primary:!0})]})})]});/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var O1=function(){return O1=Object.assign||function(h){for(var d,k=1,y=arguments.length;k0?vn(y3,--R1):0,e3--,xi===10&&(e3=1,Xg--),xi}function $1(){return xi=R12||W6(xi)>3?"":" "}function FH0(a,h){for(;--h&&$1()&&!(xi<48||xi>102||xi>57&&xi<65||xi>70&&xi<97););return sw(a,A5()+(h<6&&ls()==32&&$1()==32))}function iS(a){for(;$1();)switch(xi){case a:return R1;case 34:case 39:a!==34&&a!==39&&iS(xi);break;case 40:a===41&&iS(a);break;case 92:$1();break}return R1}function PH0(a,h){for(;$1()&&a+xi!==47+10;)if(a+xi===42+42&&ls()===47)break;return"/*"+sw(h,R1-1)+"*"+Ug(a===47?a:$1())}function YH0(a){for(;!W6(ls());)$1();return sw(a,R1)}function cU(a){return Oe0(a5("",null,null,null,[""],a=Ve0(a),0,[0],a))}function a5(a,h,d,k,y,I,S,G,R){for(var M=0,Q=0,V=S,e0=0,l0=0,A0=0,n0=1,h0=1,u0=1,c0=0,f0="",y0=y,C0=I,I0=k,w0=f0;h0;)switch(A0=c0,c0=$1()){case 40:if(A0!=108&&vn(w0,V-1)==58){tS(w0+=Vr(u5(c0),"&","&\f"),"&\f")!=-1&&(u0=-1);break}case 34:case 39:case 91:w0+=u5(c0);break;case 9:case 10:case 13:case 32:w0+=TH0(A0);break;case 92:w0+=FH0(A5()-1,7);continue;case 47:switch(ls()){case 42:case 47:_v(VH0(PH0($1(),A5()),h,d),R);break;default:w0+="/"}break;case 123*n0:G[M++]=ql(w0)*u0;case 125*n0:case 59:case 0:switch(c0){case 0:case 125:h0=0;case 59+Q:l0>0&&ql(w0)-V&&_v(l0>32?hU(w0+";",k,d,V-1):hU(Vr(w0," ","")+";",k,d,V-2),R);break;case 59:w0+=";";default:if(_v(I0=fU(w0,h,d,M,Q,y,G,f0,y0=[],C0=[],V),I),c0===123)if(Q===0)a5(w0,h,I0,I0,y0,I,V,G,C0);else switch(e0===99&&vn(w0,3)===110?100:e0){case 100:case 109:case 115:a5(a,I0,I0,k&&_v(fU(a,I0,I0,0,0,y,G,f0,y,y0=[],V),C0),y,C0,V,G,k?y0:C0);break;default:a5(w0,I0,I0,I0,[""],C0,0,G,C0)}}M=Q=l0=0,n0=u0=1,f0=w0="",V=S;break;case 58:V=1+ql(w0),l0=A0;default:if(n0<1){if(c0==123)--n0;else if(c0==125&&n0++==0&&QH0()==125)continue}switch(w0+=Ug(c0),c0*n0){case 38:u0=Q>0?1:(w0+="\f",-1);break;case 44:G[M++]=(ql(w0)-1)*u0,u0=1;break;case 64:ls()===45&&(w0+=u5($1())),e0=ls(),Q=V=ql(f0=w0+=YH0(A5())),c0++;break;case 45:A0===45&&ql(w0)==2&&(n0=0)}}return I}function fU(a,h,d,k,y,I,S,G,R,M,Q){for(var V=y-1,e0=y===0?I:[""],l0=CL(e0),A0=0,n0=0,h0=0;A00?e0[u0]+" "+c0:Vr(c0,/&\f/g,e0[u0])))&&(R[h0++]=f0);return qg(a,h,d,y===0?gL:G,R,M,Q)}function VH0(a,h,d){return qg(a,h,d,Te0,Ug(NH0()),Z6(a,2,-2),0)}function hU(a,h,d,k){return qg(a,h,d,yL,Z6(a,0,k),Z6(a,k+1,-1),k)}function uc(a,h){for(var d="",k=CL(a),y=0;y6)switch(vn(a,h+1)){case 109:if(vn(a,h+4)!==45)break;case 102:return Vr(a,/(.+:)(.+)-([^]+)/,"$1"+Dr+"$2-$3$1"+mm+(vn(a,h+3)==108?"$3":"$2-$3"))+a;case 115:return~tS(a,"stretch")?He0(Vr(a,"stretch","fill-available"),h)+a:a}break;case 4949:if(vn(a,h+1)!==115)break;case 6444:switch(vn(a,ql(a)-3-(~tS(a,"!important")&&10))){case 107:return Vr(a,":",":"+Dr)+a;case 101:return Vr(a,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Dr+(vn(a,14)===45?"inline-":"")+"box$3$1"+Dr+"$2$3$1"+jn+"$2box$3")+a}break;case 5936:switch(vn(a,h+11)){case 114:return Dr+a+jn+Vr(a,/[svh]\w+-[tblr]{2}/,"tb")+a;case 108:return Dr+a+jn+Vr(a,/[svh]\w+-[tblr]{2}/,"tb-rl")+a;case 45:return Dr+a+jn+Vr(a,/[svh]\w+-[tblr]{2}/,"lr")+a}return Dr+a+jn+a+a}return a}var KH0=function(h,d,k,y){if(h.length>-1&&!h.return)switch(h.type){case yL:h.return=He0(h.value,h.length);break;case Fe0:return uc([I8(h,{value:Vr(h.value,"@","@"+Dr)})],y);case gL:if(h.length)return jH0(h.props,function(I){switch(MH0(I,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return uc([I8(h,{props:[Vr(I,/:(read-\w+)/,":"+mm+"$1")]})],y);case"::placeholder":return uc([I8(h,{props:[Vr(I,/:(plac\w+)/,":"+Dr+"input-$1")]}),I8(h,{props:[Vr(I,/:(plac\w+)/,":"+mm+"$1")]}),I8(h,{props:[Vr(I,/:(plac\w+)/,jn+"input-$1")]})],y)}return""})}},c5=typeof document<"u",bH0=c5?void 0:HH0(function(){return mL(function(){var a={};return function(h){return a[h]}})}),eJ0=[KH0],Je0=function(h){var d=h.key;if(c5&&d==="css"){var k=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(k,function(y0){var C0=y0.getAttribute("data-emotion");C0.indexOf(" ")!==-1&&(document.head.appendChild(y0),y0.setAttribute("data-s",""))})}var y=h.stylisPlugins||eJ0,I={},S,G=[];c5&&(S=h.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+d+' "]'),function(y0){for(var C0=y0.getAttribute("data-emotion").split(" "),I0=1;I0=4;++k,y-=4)d=a.charCodeAt(k)&255|(a.charCodeAt(++k)&255)<<8|(a.charCodeAt(++k)&255)<<16|(a.charCodeAt(++k)&255)<<24,d=(d&65535)*1540483477+((d>>>16)*59797<<16),d^=d>>>24,h=(d&65535)*1540483477+((d>>>16)*59797<<16)^(h&65535)*1540483477+((h>>>16)*59797<<16);switch(y){case 3:h^=(a.charCodeAt(k+2)&255)<<16;case 2:h^=(a.charCodeAt(k+1)&255)<<8;case 1:h^=a.charCodeAt(k)&255,h=(h&65535)*1540483477+((h>>>16)*59797<<16)}return h^=h>>>13,h=(h&65535)*1540483477+((h>>>16)*59797<<16),((h^h>>>15)>>>0).toString(36)}var uJ0={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},aJ0=/[A-Z]|^ms/g,cJ0=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qe0=function(h){return h.charCodeAt(1)===45},vU=function(h){return h!=null&&typeof h!="boolean"},_I=mL(function(a){return qe0(a)?a:a.replace(aJ0,"-$&").toLowerCase()}),mU=function(h,d){switch(h){case"animation":case"animationName":if(typeof d=="string")return d.replace(cJ0,function(k,y,I){return $l={name:y,styles:I,next:$l},y})}return uJ0[h]!==1&&!qe0(h)&&typeof d=="number"&&d!==0?d+"px":d};function D6(a,h,d){if(d==null)return"";if(d.__emotion_styles!==void 0)return d;switch(typeof d){case"boolean":return"";case"object":{if(d.anim===1)return $l={name:d.name,styles:d.styles,next:$l},d.name;if(d.styles!==void 0){var k=d.next;if(k!==void 0)for(;k!==void 0;)$l={name:k.name,styles:k.styles,next:$l},k=k.next;var y=d.styles+";";return y}return fJ0(a,h,d)}case"function":{if(a!==void 0){var I=$l,S=d(a);return $l=I,D6(a,h,S)}break}}if(h==null)return d;var G=h[d];return G!==void 0?G:d}function fJ0(a,h,d){var k="";if(Array.isArray(d))for(var y=0;y96?wJ0:dJ0},CU=function(h,d,k){var y;if(d){var I=d.shouldForwardProp;y=h.__emotion_forwardProp&&I?function(S){return h.__emotion_forwardProp(S)&&I(S)}:I}return typeof y!="function"&&k&&(y=h.__emotion_forwardProp),y},pJ0=typeof document<"u",kJ0=function(h){var d=h.cache,k=h.serialized,y=h.isStringTag;Xe0(d,k,y);var I=iJ0(function(){return sJ0(d,k,y)});if(!pJ0&&I!==void 0){for(var S,G=k.name,R=k.next;R!==void 0;)G+=" "+R.name,R=R.next;return Q0.createElement("style",(S={},S["data-emotion"]=d.key+" "+G,S.dangerouslySetInnerHTML={__html:I},S.nonce=d.sheet.nonce,S))}return null},vJ0=function a(h,d){var k=h.__emotion_real===h,y=k&&h.__emotion_base||h,I,S;d!==void 0&&(I=d.label,S=d.target);var G=CU(h,d,k),R=G||yU(y),M=!R("as");return function(){var Q=arguments,V=k&&h.__emotion_styles!==void 0?h.__emotion_styles.slice(0):[];if(I!==void 0&&V.push("label:"+I+";"),Q[0]==null||Q[0].raw===void 0)V.push.apply(V,Q);else{V.push(Q[0][0]);for(var e0=Q.length,l0=1;l0"u")return!1;var h=Po(a).ShadowRoot;return a instanceof h||a instanceof ShadowRoot}function qJ0(a){var h=a.state;Object.keys(h.elements).forEach(function(d){var k=h.styles[d]||{},y=h.attributes[d]||{},I=h.elements[d];!Go(I)||!as(I)||(Object.assign(I.style,k),Object.keys(y).forEach(function(S){var G=y[S];G===!1?I.removeAttribute(S):I.setAttribute(S,G===!0?"":G)}))})}function $J0(a){var h=a.state,d={popper:{position:h.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(h.elements.popper.style,d.popper),h.styles=d,h.elements.arrow&&Object.assign(h.elements.arrow.style,d.arrow),function(){Object.keys(h.elements).forEach(function(k){var y=h.elements[k],I=h.attributes[k]||{},S=Object.keys(h.styles.hasOwnProperty(k)?h.styles[k]:d[k]),G=S.reduce(function(R,M){return R[M]="",R},{});!Go(y)||!as(y)||(Object.assign(y.style,G),Object.keys(I).forEach(function(R){y.removeAttribute(R)}))})}}var KJ0={name:"applyStyles",enabled:!0,phase:"write",fn:qJ0,effect:$J0,requires:["computeStyles"]};function ss(a){return a.split("-")[0]}var ac=Math.max,Cm=Math.min,t3=Math.round;function oS(){var a=navigator.userAgentData;return a!=null&&a.brands?a.brands.map(function(h){return h.brand+"/"+h.version}).join(" "):navigator.userAgent}function l20(){return!/^((?!chrome|android).)*safari/i.test(oS())}function i3(a,h,d){h===void 0&&(h=!1),d===void 0&&(d=!1);var k=a.getBoundingClientRect(),y=1,I=1;h&&Go(a)&&(y=a.offsetWidth>0&&t3(k.width)/a.offsetWidth||1,I=a.offsetHeight>0&&t3(k.height)/a.offsetHeight||1);var S=gc(a)?Po(a):window,G=S.visualViewport,R=!l20()&&d,M=(k.left+(R&&G?G.offsetLeft:0))/y,Q=(k.top+(R&&G?G.offsetTop:0))/I,V=k.width/y,e0=k.height/I;return{width:V,height:e0,top:Q,right:M+V,bottom:Q+e0,left:M,x:M,y:Q}}function xL(a){var h=i3(a),d=a.offsetWidth,k=a.offsetHeight;return Math.abs(h.width-d)<=1&&(d=h.width),Math.abs(h.height-k)<=1&&(k=h.height),{x:a.offsetLeft,y:a.offsetTop,width:d,height:k}}function s20(a,h){var d=h.getRootNode&&h.getRootNode();if(a.contains(h))return!0;if(d&&IL(d)){var k=h;do{if(k&&a.isSameNode(k))return!0;k=k.parentNode||k.host}while(k)}return!1}function eA(a){return Po(a).getComputedStyle(a)}function bJ0(a){return["table","td","th"].indexOf(as(a))>=0}function Ou(a){return((gc(a)?a.ownerDocument:a.document)||window.document).documentElement}function Kg(a){return as(a)==="html"?a:a.assignedSlot||a.parentNode||(IL(a)?a.host:null)||Ou(a)}function NU(a){return!Go(a)||eA(a).position==="fixed"?null:a.offsetParent}function eU0(a){var h=/firefox/i.test(oS()),d=/Trident/i.test(oS());if(d&&Go(a)){var k=eA(a);if(k.position==="fixed")return null}var y=Kg(a);for(IL(y)&&(y=y.host);Go(y)&&["html","body"].indexOf(as(y))<0;){var I=eA(y);if(I.transform!=="none"||I.perspective!=="none"||I.contain==="paint"||["transform","perspective"].indexOf(I.willChange)!==-1||h&&I.willChange==="filter"||h&&I.filter&&I.filter!=="none")return y;y=y.parentNode}return null}function uw(a){for(var h=Po(a),d=NU(a);d&&bJ0(d)&&eA(d).position==="static";)d=NU(d);return d&&(as(d)==="html"||as(d)==="body"&&eA(d).position==="static")?h:d||eU0(a)||h}function SL(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function n6(a,h,d){return ac(a,Cm(h,d))}function rU0(a,h,d){var k=n6(a,h,d);return k>d?d:k}function A20(){return{top:0,right:0,bottom:0,left:0}}function u20(a){return Object.assign({},A20(),a)}function a20(a,h){return h.reduce(function(d,k){return d[k]=a,d},{})}var tU0=function(h,d){return h=typeof h=="function"?h(Object.assign({},d.rects,{placement:d.placement})):h,u20(typeof h!="number"?h:a20(h,Aw))};function iU0(a){var h,d=a.state,k=a.name,y=a.options,I=d.elements.arrow,S=d.modifiersData.popperOffsets,G=ss(d.placement),R=SL(G),M=[z1,jo].indexOf(G)>=0,Q=M?"height":"width";if(!(!I||!S)){var V=tU0(y.padding,d),e0=xL(I),l0=R==="y"?_1:z1,A0=R==="y"?Mo:jo,n0=d.rects.reference[Q]+d.rects.reference[R]-S[R]-d.rects.popper[Q],h0=S[R]-d.rects.reference[R],u0=uw(I),c0=u0?R==="y"?u0.clientHeight||0:u0.clientWidth||0:0,f0=n0/2-h0/2,y0=V[l0],C0=c0-e0[Q]-V[A0],I0=c0/2-e0[Q]/2+f0,w0=n6(y0,I0,C0),E0=R;d.modifiersData[k]=(h={},h[E0]=w0,h.centerOffset=w0-I0,h)}}function nU0(a){var h=a.state,d=a.options,k=d.element,y=k===void 0?"[data-popper-arrow]":k;y!=null&&(typeof y=="string"&&(y=h.elements.popper.querySelector(y),!y)||s20(h.elements.popper,y)&&(h.elements.arrow=y))}var oU0={name:"arrow",enabled:!0,phase:"main",fn:iU0,effect:nU0,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function n3(a){return a.split("-")[1]}var lU0={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sU0(a){var h=a.x,d=a.y,k=window,y=k.devicePixelRatio||1;return{x:t3(h*y)/y||0,y:t3(d*y)/y||0}}function QU(a){var h,d=a.popper,k=a.popperRect,y=a.placement,I=a.variation,S=a.offsets,G=a.position,R=a.gpuAcceleration,M=a.adaptive,Q=a.roundOffsets,V=a.isFixed,e0=S.x,l0=e0===void 0?0:e0,A0=S.y,n0=A0===void 0?0:A0,h0=typeof Q=="function"?Q({x:l0,y:n0}):{x:l0,y:n0};l0=h0.x,n0=h0.y;var u0=S.hasOwnProperty("x"),c0=S.hasOwnProperty("y"),f0=z1,y0=_1,C0=window;if(M){var I0=uw(d),w0="clientHeight",E0="clientWidth";if(I0===Po(d)&&(I0=Ou(d),eA(I0).position!=="static"&&G==="absolute"&&(w0="scrollHeight",E0="scrollWidth")),I0=I0,y===_1||(y===z1||y===jo)&&I===M6){y0=Mo;var z0=V&&I0===C0&&C0.visualViewport?C0.visualViewport.height:I0[w0];n0-=z0-k.height,n0*=R?1:-1}if(y===z1||(y===_1||y===Mo)&&I===M6){f0=jo;var W0=V&&I0===C0&&C0.visualViewport?C0.visualViewport.width:I0[E0];l0-=W0-k.width,l0*=R?1:-1}}var P0=Object.assign({position:G},M&&lU0),R0=Q===!0?sU0({x:l0,y:n0}):{x:l0,y:n0};if(l0=R0.x,n0=R0.y,R){var T0;return Object.assign({},P0,(T0={},T0[y0]=c0?"0":"",T0[f0]=u0?"0":"",T0.transform=(C0.devicePixelRatio||1)<=1?"translate("+l0+"px, "+n0+"px)":"translate3d("+l0+"px, "+n0+"px, 0)",T0))}return Object.assign({},P0,(h={},h[y0]=c0?n0+"px":"",h[f0]=u0?l0+"px":"",h.transform="",h))}function AU0(a){var h=a.state,d=a.options,k=d.gpuAcceleration,y=k===void 0?!0:k,I=d.adaptive,S=I===void 0?!0:I,G=d.roundOffsets,R=G===void 0?!0:G,M={placement:ss(h.placement),variation:n3(h.placement),popper:h.elements.popper,popperRect:h.rects.popper,gpuAcceleration:y,isFixed:h.options.strategy==="fixed"};h.modifiersData.popperOffsets!=null&&(h.styles.popper=Object.assign({},h.styles.popper,QU(Object.assign({},M,{offsets:h.modifiersData.popperOffsets,position:h.options.strategy,adaptive:S,roundOffsets:R})))),h.modifiersData.arrow!=null&&(h.styles.arrow=Object.assign({},h.styles.arrow,QU(Object.assign({},M,{offsets:h.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:R})))),h.attributes.popper=Object.assign({},h.attributes.popper,{"data-popper-placement":h.placement})}var uU0={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:AU0,data:{}},zv={passive:!0};function aU0(a){var h=a.state,d=a.instance,k=a.options,y=k.scroll,I=y===void 0?!0:y,S=k.resize,G=S===void 0?!0:S,R=Po(h.elements.popper),M=[].concat(h.scrollParents.reference,h.scrollParents.popper);return I&&M.forEach(function(Q){Q.addEventListener("scroll",d.update,zv)}),G&&R.addEventListener("resize",d.update,zv),function(){I&&M.forEach(function(Q){Q.removeEventListener("scroll",d.update,zv)}),G&&R.removeEventListener("resize",d.update,zv)}}var cU0={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:aU0,data:{}},fU0={left:"right",right:"left",bottom:"top",top:"bottom"};function f5(a){return a.replace(/left|right|bottom|top/g,function(h){return fU0[h]})}var hU0={start:"end",end:"start"};function TU(a){return a.replace(/start|end/g,function(h){return hU0[h]})}function _L(a){var h=Po(a),d=h.pageXOffset,k=h.pageYOffset;return{scrollLeft:d,scrollTop:k}}function zL(a){return i3(Ou(a)).left+_L(a).scrollLeft}function wU0(a,h){var d=Po(a),k=Ou(a),y=d.visualViewport,I=k.clientWidth,S=k.clientHeight,G=0,R=0;if(y){I=y.width,S=y.height;var M=l20();(M||!M&&h==="fixed")&&(G=y.offsetLeft,R=y.offsetTop)}return{width:I,height:S,x:G+zL(a),y:R}}function dU0(a){var h,d=Ou(a),k=_L(a),y=(h=a.ownerDocument)==null?void 0:h.body,I=ac(d.scrollWidth,d.clientWidth,y?y.scrollWidth:0,y?y.clientWidth:0),S=ac(d.scrollHeight,d.clientHeight,y?y.scrollHeight:0,y?y.clientHeight:0),G=-k.scrollLeft+zL(a),R=-k.scrollTop;return eA(y||d).direction==="rtl"&&(G+=ac(d.clientWidth,y?y.clientWidth:0)-I),{width:I,height:S,x:G,y:R}}function LL(a){var h=eA(a),d=h.overflow,k=h.overflowX,y=h.overflowY;return/auto|scroll|overlay|hidden/.test(d+y+k)}function c20(a){return["html","body","#document"].indexOf(as(a))>=0?a.ownerDocument.body:Go(a)&&LL(a)?a:c20(Kg(a))}function o6(a,h){var d;h===void 0&&(h=[]);var k=c20(a),y=k===((d=a.ownerDocument)==null?void 0:d.body),I=Po(k),S=y?[I].concat(I.visualViewport||[],LL(k)?k:[]):k,G=h.concat(S);return y?G:G.concat(o6(Kg(S)))}function lS(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function pU0(a,h){var d=i3(a,!1,h==="fixed");return d.top=d.top+a.clientTop,d.left=d.left+a.clientLeft,d.bottom=d.top+a.clientHeight,d.right=d.left+a.clientWidth,d.width=a.clientWidth,d.height=a.clientHeight,d.x=d.left,d.y=d.top,d}function FU(a,h,d){return h===n20?lS(wU0(a,d)):gc(h)?pU0(h,d):lS(dU0(Ou(a)))}function kU0(a){var h=o6(Kg(a)),d=["absolute","fixed"].indexOf(eA(a).position)>=0,k=d&&Go(a)?uw(a):a;return gc(k)?h.filter(function(y){return gc(y)&&s20(y,k)&&as(y)!=="body"}):[]}function vU0(a,h,d,k){var y=h==="clippingParents"?kU0(a):[].concat(h),I=[].concat(y,[d]),S=I[0],G=I.reduce(function(R,M){var Q=FU(a,M,k);return R.top=ac(Q.top,R.top),R.right=Cm(Q.right,R.right),R.bottom=Cm(Q.bottom,R.bottom),R.left=ac(Q.left,R.left),R},FU(a,S,k));return G.width=G.right-G.left,G.height=G.bottom-G.top,G.x=G.left,G.y=G.top,G}function f20(a){var h=a.reference,d=a.element,k=a.placement,y=k?ss(k):null,I=k?n3(k):null,S=h.x+h.width/2-d.width/2,G=h.y+h.height/2-d.height/2,R;switch(y){case _1:R={x:S,y:h.y-d.height};break;case Mo:R={x:S,y:h.y+h.height};break;case jo:R={x:h.x+h.width,y:G};break;case z1:R={x:h.x-d.width,y:G};break;default:R={x:h.x,y:h.y}}var M=y?SL(y):null;if(M!=null){var Q=M==="y"?"height":"width";switch(I){case r3:R[M]=R[M]-(h[Q]/2-d[Q]/2);break;case M6:R[M]=R[M]+(h[Q]/2-d[Q]/2);break}}return R}function j6(a,h){h===void 0&&(h={});var d=h,k=d.placement,y=k===void 0?a.placement:k,I=d.strategy,S=I===void 0?a.strategy:I,G=d.boundary,R=G===void 0?NJ0:G,M=d.rootBoundary,Q=M===void 0?n20:M,V=d.elementContext,e0=V===void 0?x8:V,l0=d.altBoundary,A0=l0===void 0?!1:l0,n0=d.padding,h0=n0===void 0?0:n0,u0=u20(typeof h0!="number"?h0:a20(h0,Aw)),c0=e0===x8?QJ0:x8,f0=a.rects.popper,y0=a.elements[A0?c0:e0],C0=vU0(gc(y0)?y0:y0.contextElement||Ou(a.elements.popper),R,Q,S),I0=i3(a.elements.reference),w0=f20({reference:I0,element:f0,strategy:"absolute",placement:y}),E0=lS(Object.assign({},f0,w0)),z0=e0===x8?E0:I0,W0={top:C0.top-z0.top+u0.top,bottom:z0.bottom-C0.bottom+u0.bottom,left:C0.left-z0.left+u0.left,right:z0.right-C0.right+u0.right},P0=a.modifiersData.offset;if(e0===x8&&P0){var R0=P0[y];Object.keys(W0).forEach(function(T0){var q0=[jo,Mo].indexOf(T0)>=0?1:-1,ae=[_1,Mo].indexOf(T0)>=0?"y":"x";W0[T0]+=R0[ae]*q0})}return W0}function mU0(a,h){h===void 0&&(h={});var d=h,k=d.placement,y=d.boundary,I=d.rootBoundary,S=d.padding,G=d.flipVariations,R=d.allowedAutoPlacements,M=R===void 0?o20:R,Q=n3(k),V=Q?G?jU:jU.filter(function(A0){return n3(A0)===Q}):Aw,e0=V.filter(function(A0){return M.indexOf(A0)>=0});e0.length===0&&(e0=V);var l0=e0.reduce(function(A0,n0){return A0[n0]=j6(a,{placement:n0,boundary:y,rootBoundary:I,padding:S})[ss(n0)],A0},{});return Object.keys(l0).sort(function(A0,n0){return l0[A0]-l0[n0]})}function gU0(a){if(ss(a)===BL)return[];var h=f5(a);return[TU(a),h,TU(h)]}function yU0(a){var h=a.state,d=a.options,k=a.name;if(!h.modifiersData[k]._skip){for(var y=d.mainAxis,I=y===void 0?!0:y,S=d.altAxis,G=S===void 0?!0:S,R=d.fallbackPlacements,M=d.padding,Q=d.boundary,V=d.rootBoundary,e0=d.altBoundary,l0=d.flipVariations,A0=l0===void 0?!0:l0,n0=d.allowedAutoPlacements,h0=h.options.placement,u0=ss(h0),c0=u0===h0,f0=R||(c0||!A0?[f5(h0)]:gU0(h0)),y0=[h0].concat(f0).reduce(function(j2,qe){return j2.concat(ss(qe)===BL?mU0(h,{placement:qe,boundary:Q,rootBoundary:V,padding:M,flipVariations:A0,allowedAutoPlacements:n0}):qe)},[]),C0=h.rects.reference,I0=h.rects.popper,w0=new Map,E0=!0,z0=y0[0],W0=0;W0=0,ae=q0?"width":"height",de=j6(h,{placement:P0,boundary:Q,rootBoundary:V,altBoundary:e0,padding:M}),Se=q0?T0?jo:z1:T0?Mo:_1;C0[ae]>I0[ae]&&(Se=f5(Se));var we=f5(Se),Ie=[];if(I&&Ie.push(de[R0]<=0),G&&Ie.push(de[Se]<=0,de[we]<=0),Ie.every(function(j2){return j2})){z0=P0,E0=!1;break}w0.set(P0,Ie)}if(E0)for(var Ne=A0?3:1,f2=function(qe){var ye=y0.find(function(Be){var Ce=w0.get(Be);if(Ce)return Ce.slice(0,qe).every(function(_e){return _e})});if(ye)return z0=ye,"break"},a2=Ne;a2>0;a2--){var H2=f2(a2);if(H2==="break")break}h.placement!==z0&&(h.modifiersData[k]._skip=!0,h.placement=z0,h.reset=!0)}}var CU0={name:"flip",enabled:!0,phase:"main",fn:yU0,requiresIfExists:["offset"],data:{_skip:!1}};function PU(a,h,d){return d===void 0&&(d={x:0,y:0}),{top:a.top-h.height-d.y,right:a.right-h.width+d.x,bottom:a.bottom-h.height+d.y,left:a.left-h.width-d.x}}function YU(a){return[_1,jo,Mo,z1].some(function(h){return a[h]>=0})}function EU0(a){var h=a.state,d=a.name,k=h.rects.reference,y=h.rects.popper,I=h.modifiersData.preventOverflow,S=j6(h,{elementContext:"reference"}),G=j6(h,{altBoundary:!0}),R=PU(S,k),M=PU(G,y,I),Q=YU(R),V=YU(M);h.modifiersData[d]={referenceClippingOffsets:R,popperEscapeOffsets:M,isReferenceHidden:Q,hasPopperEscaped:V},h.attributes.popper=Object.assign({},h.attributes.popper,{"data-popper-reference-hidden":Q,"data-popper-escaped":V})}var BU0={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:EU0};function IU0(a,h,d){var k=ss(a),y=[z1,_1].indexOf(k)>=0?-1:1,I=typeof d=="function"?d(Object.assign({},h,{placement:a})):d,S=I[0],G=I[1];return S=S||0,G=(G||0)*y,[z1,jo].indexOf(k)>=0?{x:G,y:S}:{x:S,y:G}}function xU0(a){var h=a.state,d=a.options,k=a.name,y=d.offset,I=y===void 0?[0,0]:y,S=o20.reduce(function(Q,V){return Q[V]=IU0(V,h.rects,I),Q},{}),G=S[h.placement],R=G.x,M=G.y;h.modifiersData.popperOffsets!=null&&(h.modifiersData.popperOffsets.x+=R,h.modifiersData.popperOffsets.y+=M),h.modifiersData[k]=S}var SU0={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:xU0};function _U0(a){var h=a.state,d=a.name;h.modifiersData[d]=f20({reference:h.rects.reference,element:h.rects.popper,strategy:"absolute",placement:h.placement})}var zU0={name:"popperOffsets",enabled:!0,phase:"read",fn:_U0,data:{}};function LU0(a){return a==="x"?"y":"x"}function RU0(a){var h=a.state,d=a.options,k=a.name,y=d.mainAxis,I=y===void 0?!0:y,S=d.altAxis,G=S===void 0?!1:S,R=d.boundary,M=d.rootBoundary,Q=d.altBoundary,V=d.padding,e0=d.tether,l0=e0===void 0?!0:e0,A0=d.tetherOffset,n0=A0===void 0?0:A0,h0=j6(h,{boundary:R,rootBoundary:M,padding:V,altBoundary:Q}),u0=ss(h.placement),c0=n3(h.placement),f0=!c0,y0=SL(u0),C0=LU0(y0),I0=h.modifiersData.popperOffsets,w0=h.rects.reference,E0=h.rects.popper,z0=typeof n0=="function"?n0(Object.assign({},h.rects,{placement:h.placement})):n0,W0=typeof z0=="number"?{mainAxis:z0,altAxis:z0}:Object.assign({mainAxis:0,altAxis:0},z0),P0=h.modifiersData.offset?h.modifiersData.offset[h.placement]:null,R0={x:0,y:0};if(I0){if(I){var T0,q0=y0==="y"?_1:z1,ae=y0==="y"?Mo:jo,de=y0==="y"?"height":"width",Se=I0[y0],we=Se+h0[q0],Ie=Se-h0[ae],Ne=l0?-E0[de]/2:0,f2=c0===r3?w0[de]:E0[de],a2=c0===r3?-E0[de]:-w0[de],H2=h.elements.arrow,j2=l0&&H2?xL(H2):{width:0,height:0},qe=h.modifiersData["arrow#persistent"]?h.modifiersData["arrow#persistent"].padding:A20(),ye=qe[q0],Be=qe[ae],Ce=n6(0,w0[de],j2[de]),_e=f0?w0[de]/2-Ne-Ce-ye-W0.mainAxis:f2-Ce-ye-W0.mainAxis,ce=f0?-w0[de]/2+Ne+Ce+Be+W0.mainAxis:a2+Ce+Be+W0.mainAxis,Ue=h.elements.arrow&&uw(h.elements.arrow),Ye=Ue?y0==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,He=(T0=P0==null?void 0:P0[y0])!=null?T0:0,Ee=Se+_e-He-Ye,xe=Se+ce-He,Pe=n6(l0?Cm(we,Ee):we,Se,l0?ac(Ie,xe):Ie);I0[y0]=Pe,R0[y0]=Pe-Se}if(G){var je,r2=y0==="x"?_1:z1,n2=y0==="x"?Mo:jo,h2=I0[C0],N2=C0==="y"?"height":"width",b2=h2+h0[r2],mr=h2-h0[n2],xr=[_1,z1].indexOf(u0)!==-1,tt=(je=P0==null?void 0:P0[C0])!=null?je:0,nn=xr?b2:h2-w0[N2]-E0[N2]-tt+W0.altAxis,Ji=xr?h2+w0[N2]+E0[N2]-tt-W0.altAxis:mr,ki=l0&&xr?rU0(nn,h2,Ji):n6(l0?nn:b2,h2,l0?Ji:mr);I0[C0]=ki,R0[C0]=ki-h2}h.modifiersData[k]=R0}}var GU0={name:"preventOverflow",enabled:!0,phase:"main",fn:RU0,requiresIfExists:["offset"]};function ZU0(a){return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}}function WU0(a){return a===Po(a)||!Go(a)?_L(a):ZU0(a)}function DU0(a){var h=a.getBoundingClientRect(),d=t3(h.width)/a.offsetWidth||1,k=t3(h.height)/a.offsetHeight||1;return d!==1||k!==1}function MU0(a,h,d){d===void 0&&(d=!1);var k=Go(h),y=Go(h)&&DU0(h),I=Ou(h),S=i3(a,y,d),G={scrollLeft:0,scrollTop:0},R={x:0,y:0};return(k||!k&&!d)&&((as(h)!=="body"||LL(I))&&(G=WU0(h)),Go(h)?(R=i3(h,!0),R.x+=h.clientLeft,R.y+=h.clientTop):I&&(R.x=zL(I))),{x:S.left+G.scrollLeft-R.x,y:S.top+G.scrollTop-R.y,width:S.width,height:S.height}}function jU0(a){var h=new Map,d=new Set,k=[];a.forEach(function(I){h.set(I.name,I)});function y(I){d.add(I.name);var S=[].concat(I.requires||[],I.requiresIfExists||[]);S.forEach(function(G){if(!d.has(G)){var R=h.get(G);R&&y(R)}}),k.push(I)}return a.forEach(function(I){d.has(I.name)||y(I)}),k}function NU0(a){var h=jU0(a);return XJ0.reduce(function(d,k){return d.concat(h.filter(function(y){return y.phase===k}))},[])}function QU0(a){var h;return function(){return h||(h=new Promise(function(d){Promise.resolve().then(function(){h=void 0,d(a())})})),h}}function TU0(a){var h=a.reduce(function(d,k){var y=d[k.name];return d[k.name]=y?Object.assign({},y,k,{options:Object.assign({},y.options,k.options),data:Object.assign({},y.data,k.data)}):k,d},{});return Object.keys(h).map(function(d){return h[d]})}var VU={placement:"bottom",modifiers:[],strategy:"absolute"};function OU(){for(var a=arguments.length,h=new Array(a),d=0;d .`,` { + `,`; + + `,`; + } +`],[` + position: relative; + width: 100%; + + `,`; + + `,`; + + > .`,` { + `,`; + + `,`; + } +`])),function(a){var h=a.menuItemStyles;return h},function(a){var h=a.rootStyles;return h},jr.button,function(a){var h=a.level,d=a.disabled,k=a.active,y=a.collapsed,I=a.rtl;return h20({level:h,disabled:d,active:k,collapsed:y,rtl:I})},function(a){var h=a.buttonStyles;return h}),JU0=function(a,h){var d,k=a.children,y=a.className,I=a.label,S=a.icon,G=a.title,R=a.prefix,M=a.suffix,Q=a.open,V=a.defaultOpen,e0=a.active,l0=e0===void 0?!1:e0,A0=a.disabled,n0=A0===void 0?!1:A0,h0=a.rootStyles,u0=a.component,c0=a.onOpenChange,f0=a.onClick,y0=a.onKeyUp,C0=mc(a,["children","className","label","icon","title","prefix","suffix","open","defaultOpen","active","disabled","rootStyles","component","onOpenChange","onClick","onKeyUp"]),I0=Je.useContext(ym),w0=Je.useContext($g),E0=w0.collapsed,z0=w0.rtl,W0=w0.transitionDuration,P0=EL(),R0=P0.renderExpandIcon,T0=P0.closeOnClick,q0=P0.menuItemStyles,ae=P0.transitionDuration,de=Je.useState(!!V),Se=de[0],we=de[1],Ie=Je.useState(!1),Ne=Ie[0],f2=Ie[1],a2=Je.useState(!1),H2=a2[0],j2=a2[1],qe=Je.useRef(null),ye=Je.useRef(null),Be=Je.useRef(),Ce=VU0({level:I0,buttonRef:qe,contentRef:ye}).popperInstance,_e=Je.useCallback(function(){var Pe,je=ye.current;if(je){var r2=(Pe=je==null?void 0:je.querySelector(".".concat(jr.subMenuContent," > ul")))===null||Pe===void 0?void 0:Pe.clientHeight;je.style.overflow="hidden",je.style.height="".concat(r2,"px"),Be.current=setTimeout(function(){je.style.overflow="auto",je.style.height="auto"},ae)}},[ae]),ce=function(){var Pe,je=ye.current;if(je){var r2=(Pe=je==null?void 0:je.querySelector(".".concat(jr.subMenuContent," > ul")))===null||Pe===void 0?void 0:Pe.clientHeight;je.style.overflow="hidden",je.style.height="".concat(r2,"px"),je.offsetHeight,je.style.height="0px"}},Ue=function(){I0===0&&E0||(typeof Q>"u"?(clearTimeout(Number(Be.current)),Se?ce():_e(),c0==null||c0(!Se),we(!Se)):c0==null||c0(!Q))};Je.useEffect(function(){!(I0===0&&E0)&&typeof Q<"u"&&H2&&(clearTimeout(Number(Be.current)),Q?_e():ce())},[E0,_e,I,I0,c0,Q]);var Ye=function(Pe){f0==null||f0(Pe),Ue()},He=function(Pe){y0==null||y0(Pe),Pe.key==="Enter"&&Ue()},Ee=function(Pe){if(q0){var je={level:I0,disabled:n0,active:l0,isSubmenu:!0,open:Q??Se},r2=q0.root,n2=q0.button,h2=q0.label,N2=q0.icon,b2=q0.prefix,mr=q0.suffix,xr=q0.subMenuContent,tt=q0.SubMenuExpandIcon;switch(Pe){case"root":return typeof r2=="function"?r2(je):r2;case"button":return typeof n2=="function"?n2(je):n2;case"label":return typeof h2=="function"?h2(je):h2;case"icon":return typeof N2=="function"?N2(je):N2;case"prefix":return typeof b2=="function"?b2(je):b2;case"suffix":return typeof mr=="function"?mr(je):mr;case"SubMenuExpandIcon":return typeof tt=="function"?tt(je):tt;case"subMenuContent":return typeof xr=="function"?xr(je):xr;default:return}}};Je.useEffect(function(){setTimeout(function(){return Ce==null?void 0:Ce.update()},W0),E0&&I0===0&&f2(!1)},[E0,I0,z0,W0,Ce]),Je.useEffect(function(){var Pe=function(h2){var N2,b2,mr;!Ne&&(!((N2=qe.current)===null||N2===void 0)&&N2.contains(h2))?f2(!0):(T0&&!(!((b2=h2.closest(".".concat(jr.menuItemRoot)))===null||b2===void 0)&&b2.classList.contains(jr.subMenuRoot))||!(!((mr=ye.current)===null||mr===void 0)&&mr.contains(h2))&&Ne)&&f2(!1)},je=function(h2){Pe(h2.target)},r2=function(h2){h2.key==="Enter"?Pe(h2.target):h2.key==="Escape"&&f2(!1)},n2=function(){document.removeEventListener("click",je),document.removeEventListener("keyup",r2)};return n2(),E0&&I0===0&&(document.addEventListener("click",je,!1),document.addEventListener("keyup",r2,!1)),function(){n2()}},[E0,I0,T0,Ne]),Je.useEffect(function(){j2(!0)},[]);var xe=(d={},d[jr.active]=l0,d[jr.disabled]=n0,d[jr.open]=Q??Se,d);return Je.createElement(HU0,{ref:h,className:Yi(jr.menuItemRoot,jr.subMenuRoot,xe,y),menuItemStyles:Ee("root"),level:I0,collapsed:E0,rtl:z0,disabled:n0,active:l0,buttonStyles:Ee("button"),rootStyles:h0},Je.createElement(w20,O1({"data-testid":"".concat(jr.button,"-test-id"),ref:qe,title:G,className:Yi(jr.button,xe),onClick:Ye,onKeyUp:He,component:u0,tabIndex:0},C0),S&&Je.createElement(r20,{rtl:z0,className:Yi(jr.icon,xe),rootStyles:Ee("icon")},S),R&&Je.createElement(t20,{collapsed:E0,transitionDuration:W0,firstLevel:I0===0,className:Yi(jr.prefix,xe),rtl:z0,rootStyles:Ee("prefix")},R),Je.createElement(e20,{className:Yi(jr.label,xe),rootStyles:Ee("label")},I),M&&Je.createElement(i20,{collapsed:E0,transitionDuration:W0,firstLevel:I0===0,className:Yi(jr.suffix,xe),rootStyles:Ee("suffix")},M),Je.createElement(DJ0,{rtl:z0,className:Yi(jr.SubMenuExpandIcon,xe),collapsed:E0,level:I0,rootStyles:Ee("SubMenuExpandIcon")},R0?R0({level:I0,disabled:n0,active:l0,open:Q??Se}):E0&&I0===0?Je.createElement(jJ0,null):Je.createElement(MJ0,{rtl:z0,open:Q??Se}))),Je.createElement(WJ0,{ref:ye,openWhenCollapsed:Ne,open:Q??Se,firstLevel:I0===0,collapsed:E0,defaultOpen:Q&&!H2||V,className:Yi(jr.subMenuContent,xe),rootStyles:Ee("subMenuContent")},Je.createElement(ym.Provider,{value:I0+1},k)))},zI=Je.forwardRef(JU0),HU,UU0=rn.li(JU||(JU=Pn([` + width: 100%; + position: relative; + + `,`; + + `,`; + + > .`,` { + `,`; + + `,`; + } +`],[` + width: 100%; + position: relative; + + `,`; + + `,`; + + > .`,` { + `,`; + + `,`; + } +`])),function(a){var h=a.menuItemStyles;return h},function(a){var h=a.rootStyles;return h},jr.button,function(a){var h=a.level,d=a.disabled,k=a.active,y=a.collapsed,I=a.rtl;return h20({level:h,disabled:d,active:k,collapsed:y,rtl:I})},function(a){var h=a.buttonStyles;return h}),XU0=function(a,h){var d,k=a.children,y=a.icon,I=a.className,S=a.prefix,G=a.suffix,R=a.active,M=R===void 0?!1:R,Q=a.disabled,V=Q===void 0?!1:Q,e0=a.component,l0=a.rootStyles,A0=mc(a,["children","icon","className","prefix","suffix","active","disabled","component","rootStyles"]),n0=Je.useContext(ym),h0=Je.useContext($g),u0=h0.collapsed,c0=h0.rtl,f0=h0.transitionDuration,y0=EL().menuItemStyles,C0=function(w0){if(y0){var E0={level:n0,disabled:V,active:M,isSubmenu:!1},z0=y0.root,W0=y0.button,P0=y0.label,R0=y0.icon,T0=y0.prefix,q0=y0.suffix;switch(w0){case"root":return typeof z0=="function"?z0(E0):z0;case"button":return typeof W0=="function"?W0(E0):W0;case"label":return typeof P0=="function"?P0(E0):P0;case"icon":return typeof R0=="function"?R0(E0):R0;case"prefix":return typeof T0=="function"?T0(E0):T0;case"suffix":return typeof q0=="function"?q0(E0):q0;default:return}}},I0=(d={},d[jr.active]=M,d[jr.disabled]=V,d);return Je.createElement(UU0,{ref:h,className:Yi(jr.menuItemRoot,I0,I),menuItemStyles:C0("root"),level:n0,collapsed:u0,rtl:c0,disabled:V,active:M,buttonStyles:C0("button"),rootStyles:l0},Je.createElement(w20,O1({className:Yi(jr.button,I0),"data-testid":"".concat(jr.button,"-test-id"),component:e0,tabIndex:0},A0),y&&Je.createElement(r20,{rtl:c0,className:Yi(jr.icon,I0),rootStyles:C0("icon")},y),S&&Je.createElement(t20,{collapsed:u0,transitionDuration:f0,firstLevel:n0===0,className:Yi(jr.prefix,I0),rtl:c0,rootStyles:C0("prefix")},S),Je.createElement(e20,{className:Yi(jr.label,I0),rootStyles:C0("label")},k),G&&Je.createElement(i20,{collapsed:u0,transitionDuration:f0,firstLevel:n0===0,className:Yi(jr.suffix,I0),rootStyles:C0("suffix")},G)))},wn=Je.forwardRef(XU0),JU,RL={},qU0=Qr;Object.defineProperty(RL,"__esModule",{value:!0});var d20=RL.default=void 0,$U0=qU0(rt()),KU0=J;d20=RL.default=(0,$U0.default)((0,KU0.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"MenuOutlined");var GL={},bU0=Qr;Object.defineProperty(GL,"__esModule",{value:!0});var p20=GL.default=void 0,eX0=bU0(rt()),rX0=J;p20=GL.default=(0,eX0.default)((0,rX0.jsx)("path",{d:"M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5m3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"PermDataSetting");var ZL={},tX0=Qr;Object.defineProperty(ZL,"__esModule",{value:!0});var k20=ZL.default=void 0,iX0=tX0(rt()),nX0=J;k20=ZL.default=(0,iX0.default)((0,nX0.jsx)("path",{d:"M12 14.67 3.41 6.09 2 7.5l8.5 8.5H4v2h16v-2h-6.5l5.15-5.15c.26.1.55.15.85.15 1.38 0 2.5-1.12 2.5-2.5S20.88 6 19.5 6 17 7.12 17 8.5c0 .35.07.67.2.97z"}),"NetworkPing");var WL={},oX0=Qr;Object.defineProperty(WL,"__esModule",{value:!0});var v20=WL.default=void 0,lX0=oX0(rt()),sX0=J;v20=WL.default=(0,lX0.default)((0,sX0.jsx)("path",{d:"M19 3H4.99C3.89 3 3 3.9 3 5l.01 14c0 1.1.89 2 1.99 2h10l6-6V5c0-1.1-.9-2-2-2M7 8h10v2H7zm5 6H7v-2h5zm2 5.5V14h5.5z"}),"StickyNote2");var DL={},AX0=Qr;Object.defineProperty(DL,"__esModule",{value:!0});var m20=DL.default=void 0,uX0=AX0(rt()),aX0=J;m20=DL.default=(0,uX0.default)((0,aX0.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-8 14H7v-4h4zm0-6H7V7h4zm6 6h-4v-4h4zm0-6h-4V7h4z"}),"Dataset");var ML={},cX0=Qr;Object.defineProperty(ML,"__esModule",{value:!0});var g20=ML.default=void 0,fX0=cX0(rt()),UU=J;g20=ML.default=(0,fX0.default)([(0,UU.jsx)("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6"},"0"),(0,UU.jsx)("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12m0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17"},"1")],"AdminPanelSettings");var jL={},hX0=Qr;Object.defineProperty(jL,"__esModule",{value:!0});var y20=jL.default=void 0,wX0=hX0(rt()),dX0=J;y20=jL.default=(0,wX0.default)((0,dX0.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Sync");var NL={},pX0=Qr;Object.defineProperty(NL,"__esModule",{value:!0});var sS=NL.default=void 0,kX0=pX0(rt()),vX0=J;sS=NL.default=(0,kX0.default)((0,vX0.jsx)("path",{d:"M16.5 13c-1.2 0-3.07.34-4.5 1-1.43-.67-3.3-1-4.5-1C5.33 13 1 14.08 1 16.25V19h22v-2.75c0-2.17-4.33-3.25-6.5-3.25m-4 4.5h-10v-1.25c0-.54 2.56-1.75 5-1.75s5 1.21 5 1.75zm9 0H14v-1.25c0-.46-.2-.86-.52-1.22.88-.3 1.96-.53 3.02-.53 2.44 0 5 1.21 5 1.75zM7.5 12c1.93 0 3.5-1.57 3.5-3.5S9.43 5 7.5 5 4 6.57 4 8.5 5.57 12 7.5 12m0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m9 5.5c1.93 0 3.5-1.57 3.5-3.5S18.43 5 16.5 5 13 6.57 13 8.5s1.57 3.5 3.5 3.5m0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2"}),"PeopleOutline");var QL={},mX0=Qr;Object.defineProperty(QL,"__esModule",{value:!0});var C20=QL.default=void 0,gX0=mX0(rt()),yX0=J;C20=QL.default=(0,gX0.default)((0,yX0.jsx)("path",{d:"M20 3H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6v2H8v2h8v-2h-2v-2h6c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"DesktopWindows");var TL={},CX0=Qr;Object.defineProperty(TL,"__esModule",{value:!0});var E20=TL.default=void 0,EX0=CX0(rt()),BX0=J;E20=TL.default=(0,EX0.default)((0,BX0.jsx)("path",{d:"M15 9H9v6h6zm-2 4h-2v-2h2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2v-2zm-4 6H7V7h10z"}),"Memory");var FL={},IX0=Qr;Object.defineProperty(FL,"__esModule",{value:!0});var B20=FL.default=void 0,xX0=IX0(rt()),SX0=J;B20=FL.default=(0,xX0.default)((0,SX0.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");var PL={},_X0=Qr;Object.defineProperty(PL,"__esModule",{value:!0});var I20=PL.default=void 0,zX0=_X0(rt()),LX0=J;I20=PL.default=(0,zX0.default)((0,LX0.jsx)("path",{d:"M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"}),"ListAlt");var YL={},RX0=Qr;Object.defineProperty(YL,"__esModule",{value:!0});var x20=YL.default=void 0,GX0=RX0(rt()),ZX0=J;x20=YL.default=(0,GX0.default)((0,ZX0.jsx)("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18c-1.16.41-2 1.51-2 2.82 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82"}),"Route");var VL={},WX0=Qr;Object.defineProperty(VL,"__esModule",{value:!0});var S20=VL.default=void 0,DX0=WX0(rt()),MX0=J;S20=VL.default=(0,DX0.default)((0,MX0.jsx)("path",{d:"M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48"}),"Gesture");var OL={},jX0=Qr;Object.defineProperty(OL,"__esModule",{value:!0});var _20=OL.default=void 0,NX0=jX0(rt()),QX0=J;_20=OL.default=(0,NX0.default)((0,QX0.jsx)("path",{d:"m20.38 8.57-1.23 1.85a8 8 0 0 1-.22 7.58H5.07A8 8 0 0 1 15.58 6.85l1.85-1.23A10 10 0 0 0 3.35 19a2 2 0 0 0 1.72 1h13.85a2 2 0 0 0 1.74-1 10 10 0 0 0-.27-10.44zm-9.79 6.84a2 2 0 0 0 2.83 0l5.66-8.49-8.49 5.66a2 2 0 0 0 0 2.83"}),"Speed");var HL={},TX0=Qr;Object.defineProperty(HL,"__esModule",{value:!0});var z20=HL.default=void 0,FX0=TX0(rt()),PX0=J;z20=HL.default=(0,FX0.default)((0,PX0.jsx)("path",{d:"M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z"}),"AccountTree");var JL={},YX0=Qr;Object.defineProperty(JL,"__esModule",{value:!0});var L20=JL.default=void 0,VX0=YX0(rt()),XU=J;L20=JL.default=(0,VX0.default)([(0,XU.jsx)("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8z"},"0"),(0,XU.jsx)("path",{d:"M20 3h-8c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 8h-8V7h8zM4 12H2v7c0 1.1.9 2 2 2h9v-2H4z"},"1")],"DynamicFeed");var UL={},OX0=Qr;Object.defineProperty(UL,"__esModule",{value:!0});var R20=UL.default=void 0,HX0=OX0(rt()),JX0=J;R20=UL.default=(0,HX0.default)((0,JX0.jsx)("path",{d:"M14.67 5v6.5H9.33V5zm1 6.5H21V5h-5.33zm-1 7.5v-6.5H9.33V19zm1-6.5V19H21v-6.5zm-7.34 0H3V19h5.33zm0-1V5H3v6.5z"}),"ViewModule");var XL={},UX0=Qr;Object.defineProperty(XL,"__esModule",{value:!0});var G20=XL.default=void 0,XX0=UX0(rt()),LI=J;G20=XL.default=(0,XX0.default)([(0,LI.jsx)("path",{d:"m10.1 15.9 1.42-1.42C8.79 12.05 7 10.41 7 8.85 7 7.8 7.8 7 8.85 7c1.11 0 1.54.65 2.68 2h.93c1.12-1.31 1.53-2 2.68-2 .87 0 1.55.54 1.77 1.32.35-.04.68-.06 1-.06.36 0 .7.03 1.03.08C18.7 6.43 17.13 5 15.15 5c-.12 0-.23.03-.35.04.12-.33.2-.67.2-1.04 0-1.66-1.34-3-3-3S9 2.34 9 4c0 .37.08.71.2 1.04-.12-.01-.23-.04-.35-.04C6.69 5 5 6.69 5 8.85c0 2.42 2.04 4.31 5.1 7.05"},"0"),(0,LI.jsx)("path",{d:"M22.5 16.24c-.32-.18-.66-.29-1-.35.07-.1.15-.18.21-.28 1.08-1.87.46-4.18-1.41-5.26-2.09-1.21-4.76-.39-8.65.9l.52 1.94c3.47-1.14 5.79-1.88 7.14-1.1.91.53 1.2 1.61.68 2.53-.56.96-1.33 1-3.07 1.32l-.47.81c.58 1.62.97 2.33.39 3.32-.53.91-1.61 1.2-2.53.68-.06-.03-.11-.09-.17-.13-.3.67-.64 1.24-1.03 1.73.07.04.13.09.2.14 1.87 1.08 4.18.46 5.26-1.41.06-.1.09-.21.14-.32.22.27.48.51.8.69 1.43.83 3.27.34 4.1-1.1s.32-3.29-1.11-4.11"},"1"),(0,LI.jsx)("path",{d:"M12.32 14.01c-.74 3.58-1.27 5.95-2.62 6.73-.91.53-2 .24-2.53-.68-.56-.96-.2-1.66.39-3.32l-.46-.81c-1.7-.31-2.5-.33-3.07-1.32-.53-.91-.24-2 .68-2.53.09-.05.19-.08.29-.11-.35-.56-.64-1.17-.82-1.85-.16.07-.32.14-.48.23-1.87 1.08-2.49 3.39-1.41 5.26.06.1.14.18.21.28-.34.06-.68.17-1 .35-1.43.83-1.93 2.66-1.1 4.1s2.66 1.93 4.1 1.1c.32-.18.58-.42.8-.69.05.11.08.22.14.32 1.08 1.87 3.39 2.49 5.26 1.41 2.09-1.21 2.71-3.93 3.55-7.94z"},"2")],"Diversity2");const qX0=()=>{const[a,h]=Q0.useState(!1);return q2(NM0),J.jsx(_J0,{collapsed:a,style:{height:"100vh",backgroundColor:"#fff"},children:J.jsxs(RJ0,{menuItemStyles:{button:{color:"#2e67eb","&:hover":{backgroundColor:"#2e67eb",color:"#fff"}}},children:[J.jsx(wn,{icon:J.jsx(d20,{}),onClick:()=>{h(!a)}}),J.jsx(wn,{component:J.jsx(dn,{to:"/"}),icon:J.jsx(p20,{}),children:"Process"}),J.jsxs(zI,{label:"Network",icon:J.jsx(k20,{}),children:[J.jsx(wn,{component:J.jsx(dn,{to:"/sentry-network"}),icon:J.jsx(sS,{}),children:"eth/6x P2P"}),J.jsx(wn,{component:J.jsx(dn,{to:"/sentinel-network"}),icon:J.jsx(sS,{}),children:"Beacon chain P2P"}),J.jsx(wn,{component:J.jsx(dn,{to:"/downloader"}),icon:J.jsx(y20,{}),children:"Downloader"})]}),J.jsx(wn,{component:J.jsx(dn,{to:"/logs"}),icon:J.jsx(v20,{}),children:"Logs"}),J.jsx(wn,{component:J.jsx(dn,{to:"/data"}),icon:J.jsx(m20,{}),children:"Data"}),J.jsxs(zI,{label:"System Info",icon:J.jsx(C20,{}),children:[J.jsx(wn,{component:J.jsx(dn,{to:"/sysinfo"}),icon:J.jsx(B20,{}),children:"Info"}),J.jsx(wn,{component:J.jsx(dn,{to:"/cpu-info"}),icon:J.jsx(E20,{}),children:"CPU"}),J.jsx(wn,{component:J.jsx(dn,{to:"/processes"}),icon:J.jsx(I20,{}),children:"Processes"})]}),J.jsxs(zI,{label:"Profile",icon:J.jsx(_20,{}),children:[J.jsx(wn,{component:J.jsx(dn,{to:"/goroutine"}),icon:J.jsx(x20,{}),children:"Goroutine"}),J.jsx(wn,{component:J.jsx(dn,{to:"/threadcreate"}),icon:J.jsx(S20,{}),children:"Thread Create"}),J.jsx(wn,{component:J.jsx(dn,{to:"/heap"}),icon:J.jsx(z20,{}),children:"Heap"}),J.jsx(wn,{component:J.jsx(dn,{to:"/allocs"}),icon:J.jsx(L20,{}),children:"Allocs"}),J.jsx(wn,{component:J.jsx(dn,{to:"/block"}),icon:J.jsx(R20,{}),children:"Block"}),J.jsx(wn,{component:J.jsx(dn,{to:"/mutex"}),icon:J.jsx(G20,{}),children:"Mutex"})]}),J.jsx(wn,{component:J.jsx(dn,{to:"/admin"}),icon:J.jsx(g20,{}),children:"Admin"})]})})};function $X0(a){return io("MuiTypography",a)}To("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const KX0=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],bX0=a=>{const{align:h,gutterBottom:d,noWrap:k,paragraph:y,variant:I,classes:S}=a,G={root:["root",I,a.align!=="inherit"&&`align${K2(h)}`,d&&"gutterBottom",k&&"noWrap",y&&"paragraph"]};return Qo(G,$X0,S)},eq0=St("span",{name:"MuiTypography",slot:"Root",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.root,d.variant&&h[d.variant],d.align!=="inherit"&&h[`align${K2(d.align)}`],d.noWrap&&h.noWrap,d.gutterBottom&&h.gutterBottom,d.paragraph&&h.paragraph]}})(({theme:a,ownerState:h})=>Le({margin:0},h.variant==="inherit"&&{font:"inherit"},h.variant!=="inherit"&&a.typography[h.variant],h.align!=="inherit"&&{textAlign:h.align},h.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},h.gutterBottom&&{marginBottom:"0.35em"},h.paragraph&&{marginBottom:16})),qU={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},rq0={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tq0=a=>rq0[a]||a,iq0=Q0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiTypography"}),y=tq0(k.color),I=b_(Le({},k,{color:y})),{align:S="inherit",className:G,component:R,gutterBottom:M=!1,noWrap:Q=!1,paragraph:V=!1,variant:e0="body1",variantMapping:l0=qU}=I,A0=At(I,KX0),n0=Le({},I,{align:S,color:y,className:G,component:R,gutterBottom:M,noWrap:Q,paragraph:V,variant:e0,variantMapping:l0}),h0=R||(V?"p":l0[e0]||qU[e0])||"span",u0=bX0(n0);return J.jsx(eq0,Le({as:h0,ref:d,ownerState:n0,className:Zt(u0.root,G)},A0))}),$U=iq0;function nq0({props:a,states:h,muiFormControl:d}){return h.reduce((k,y)=>(k[y]=a[y],d&&typeof a[y]>"u"&&(k[y]=d[y]),k),{})}const oq0=Q0.createContext(void 0),lq0=oq0;function Z20(){return Q0.useContext(lq0)}function sq0(a){return io("MuiButton",a)}const Aq0=To("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Lv=Aq0,uq0=Q0.createContext({}),aq0=uq0,cq0=Q0.createContext(void 0),fq0=cq0,hq0=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],wq0=a=>{const{color:h,disableElevation:d,fullWidth:k,size:y,variant:I,classes:S}=a,G={root:["root",I,`${I}${K2(h)}`,`size${K2(y)}`,`${I}Size${K2(y)}`,`color${K2(h)}`,d&&"disableElevation",k&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${K2(y)}`],endIcon:["icon","endIcon",`iconSize${K2(y)}`]},R=Qo(G,sq0,S);return Le({},S,R)},W20=a=>Le({},a.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},a.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},a.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),dq0=St(yz,{shouldForwardProp:a=>iz(a)||a==="classes",name:"MuiButton",slot:"Root",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.root,h[d.variant],h[`${d.variant}${K2(d.color)}`],h[`size${K2(d.size)}`],h[`${d.variant}Size${K2(d.size)}`],d.color==="inherit"&&h.colorInherit,d.disableElevation&&h.disableElevation,d.fullWidth&&h.fullWidth]}})(({theme:a,ownerState:h})=>{var d,k;const y=a.palette.mode==="light"?a.palette.grey[300]:a.palette.grey[800],I=a.palette.mode==="light"?a.palette.grey.A100:a.palette.grey[700];return Le({},a.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(a.vars||a).shape.borderRadius,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":Le({textDecoration:"none",backgroundColor:a.vars?`rgba(${a.vars.palette.text.primaryChannel} / ${a.vars.palette.action.hoverOpacity})`:rs(a.palette.text.primary,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},h.variant==="text"&&h.color!=="inherit"&&{backgroundColor:a.vars?`rgba(${a.vars.palette[h.color].mainChannel} / ${a.vars.palette.action.hoverOpacity})`:rs(a.palette[h.color].main,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},h.variant==="outlined"&&h.color!=="inherit"&&{border:`1px solid ${(a.vars||a).palette[h.color].main}`,backgroundColor:a.vars?`rgba(${a.vars.palette[h.color].mainChannel} / ${a.vars.palette.action.hoverOpacity})`:rs(a.palette[h.color].main,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},h.variant==="contained"&&{backgroundColor:a.vars?a.vars.palette.Button.inheritContainedHoverBg:I,boxShadow:(a.vars||a).shadows[4],"@media (hover: none)":{boxShadow:(a.vars||a).shadows[2],backgroundColor:(a.vars||a).palette.grey[300]}},h.variant==="contained"&&h.color!=="inherit"&&{backgroundColor:(a.vars||a).palette[h.color].dark,"@media (hover: none)":{backgroundColor:(a.vars||a).palette[h.color].main}}),"&:active":Le({},h.variant==="contained"&&{boxShadow:(a.vars||a).shadows[8]}),[`&.${Lv.focusVisible}`]:Le({},h.variant==="contained"&&{boxShadow:(a.vars||a).shadows[6]}),[`&.${Lv.disabled}`]:Le({color:(a.vars||a).palette.action.disabled},h.variant==="outlined"&&{border:`1px solid ${(a.vars||a).palette.action.disabledBackground}`},h.variant==="contained"&&{color:(a.vars||a).palette.action.disabled,boxShadow:(a.vars||a).shadows[0],backgroundColor:(a.vars||a).palette.action.disabledBackground})},h.variant==="text"&&{padding:"6px 8px"},h.variant==="text"&&h.color!=="inherit"&&{color:(a.vars||a).palette[h.color].main},h.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},h.variant==="outlined"&&h.color!=="inherit"&&{color:(a.vars||a).palette[h.color].main,border:a.vars?`1px solid rgba(${a.vars.palette[h.color].mainChannel} / 0.5)`:`1px solid ${rs(a.palette[h.color].main,.5)}`},h.variant==="contained"&&{color:a.vars?a.vars.palette.text.primary:(d=(k=a.palette).getContrastText)==null?void 0:d.call(k,a.palette.grey[300]),backgroundColor:a.vars?a.vars.palette.Button.inheritContainedBg:y,boxShadow:(a.vars||a).shadows[2]},h.variant==="contained"&&h.color!=="inherit"&&{color:(a.vars||a).palette[h.color].contrastText,backgroundColor:(a.vars||a).palette[h.color].main},h.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},h.size==="small"&&h.variant==="text"&&{padding:"4px 5px",fontSize:a.typography.pxToRem(13)},h.size==="large"&&h.variant==="text"&&{padding:"8px 11px",fontSize:a.typography.pxToRem(15)},h.size==="small"&&h.variant==="outlined"&&{padding:"3px 9px",fontSize:a.typography.pxToRem(13)},h.size==="large"&&h.variant==="outlined"&&{padding:"7px 21px",fontSize:a.typography.pxToRem(15)},h.size==="small"&&h.variant==="contained"&&{padding:"4px 10px",fontSize:a.typography.pxToRem(13)},h.size==="large"&&h.variant==="contained"&&{padding:"8px 22px",fontSize:a.typography.pxToRem(15)},h.fullWidth&&{width:"100%"})},({ownerState:a})=>a.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Lv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Lv.disabled}`]:{boxShadow:"none"}}),pq0=St("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.startIcon,h[`iconSize${K2(d.size)}`]]}})(({ownerState:a})=>Le({display:"inherit",marginRight:8,marginLeft:-4},a.size==="small"&&{marginLeft:-2},W20(a))),kq0=St("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.endIcon,h[`iconSize${K2(d.size)}`]]}})(({ownerState:a})=>Le({display:"inherit",marginRight:-4,marginLeft:8},a.size==="small"&&{marginRight:-2},W20(a))),vq0=Q0.forwardRef(function(h,d){const k=Q0.useContext(aq0),y=Q0.useContext(fq0),I=Y_(k,h),S=dl({props:I,name:"MuiButton"}),{children:G,color:R="primary",component:M="button",className:Q,disabled:V=!1,disableElevation:e0=!1,disableFocusRipple:l0=!1,endIcon:A0,focusVisibleClassName:n0,fullWidth:h0=!1,size:u0="medium",startIcon:c0,type:f0,variant:y0="text"}=S,C0=At(S,hq0),I0=Le({},S,{color:R,component:M,disabled:V,disableElevation:e0,disableFocusRipple:l0,fullWidth:h0,size:u0,type:f0,variant:y0}),w0=wq0(I0),E0=c0&&J.jsx(pq0,{className:w0.startIcon,ownerState:I0,children:c0}),z0=A0&&J.jsx(kq0,{className:w0.endIcon,ownerState:I0,children:A0}),W0=y||"";return J.jsxs(dq0,Le({ownerState:I0,className:Zt(k.className,w0.root,Q,W0),component:M,disabled:V,focusRipple:!l0,focusVisibleClassName:Zt(w0.focusVisible,n0),ref:d,type:f0},C0,{classes:w0,children:[E0,G,z0]}))}),qL=vq0;function mq0(a){return io("PrivateSwitchBase",a)}To("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const gq0=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],yq0=a=>{const{classes:h,checked:d,disabled:k,edge:y}=a,I={root:["root",d&&"checked",k&&"disabled",y&&`edge${K2(y)}`],input:["input"]};return Qo(I,mq0,h)},Cq0=St(yz)(({ownerState:a})=>Le({padding:9,borderRadius:"50%"},a.edge==="start"&&{marginLeft:a.size==="small"?-3:-12},a.edge==="end"&&{marginRight:a.size==="small"?-3:-12})),Eq0=St("input",{shouldForwardProp:iz})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Bq0=Q0.forwardRef(function(h,d){const{autoFocus:k,checked:y,checkedIcon:I,className:S,defaultChecked:G,disabled:R,disableFocusRipple:M=!1,edge:Q=!1,icon:V,id:e0,inputProps:l0,inputRef:A0,name:n0,onBlur:h0,onChange:u0,onFocus:c0,readOnly:f0,required:y0=!1,tabIndex:C0,type:I0,value:w0}=h,E0=At(h,gq0),[z0,W0]=JK({controlled:y,default:!!G,name:"SwitchBase",state:"checked"}),P0=Z20(),R0=Ie=>{c0&&c0(Ie),P0&&P0.onFocus&&P0.onFocus(Ie)},T0=Ie=>{h0&&h0(Ie),P0&&P0.onBlur&&P0.onBlur(Ie)},q0=Ie=>{if(Ie.nativeEvent.defaultPrevented)return;const Ne=Ie.target.checked;W0(Ne),u0&&u0(Ie,Ne)};let ae=R;P0&&typeof ae>"u"&&(ae=P0.disabled);const de=I0==="checkbox"||I0==="radio",Se=Le({},h,{checked:z0,disabled:ae,disableFocusRipple:M,edge:Q}),we=yq0(Se);return J.jsxs(Cq0,Le({component:"span",className:Zt(we.root,S),centerRipple:!0,focusRipple:!M,disabled:ae,tabIndex:null,role:void 0,onFocus:R0,onBlur:T0,ownerState:Se,ref:d},E0,{children:[J.jsx(Eq0,Le({autoFocus:k,checked:y,defaultChecked:G,className:we.input,disabled:ae,id:de?e0:void 0,name:n0,onChange:q0,readOnly:f0,ref:A0,required:y0,ownerState:Se,tabIndex:C0,type:I0},I0==="checkbox"&&w0===void 0?{}:{value:w0},l0)),z0?I:V]}))}),Iq0=Bq0;function xq0(a){return io("MuiCircularProgress",a)}To("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Sq0=["className","color","disableShrink","size","style","thickness","value","variant"];let bg=a=>a,KU,bU,eX,rX;const au=44,_q0=w3(KU||(KU=bg` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`)),zq0=w3(bU||(bU=bg` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -125px; + } +`)),Lq0=a=>{const{classes:h,variant:d,color:k,disableShrink:y}=a,I={root:["root",d,`color${K2(k)}`],svg:["svg"],circle:["circle",`circle${K2(d)}`,y&&"circleDisableShrink"]};return Qo(I,xq0,h)},Rq0=St("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.root,h[d.variant],h[`color${K2(d.color)}`]]}})(({ownerState:a,theme:h})=>Le({display:"inline-block"},a.variant==="determinate"&&{transition:h.transitions.create("transform")},a.color!=="inherit"&&{color:(h.vars||h).palette[a.color].main}),({ownerState:a})=>a.variant==="indeterminate"&&_g(eX||(eX=bg` + animation: ${0} 1.4s linear infinite; + `),_q0)),Gq0=St("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(a,h)=>h.svg})({display:"block"}),Zq0=St("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.circle,h[`circle${K2(d.variant)}`],d.disableShrink&&h.circleDisableShrink]}})(({ownerState:a,theme:h})=>Le({stroke:"currentColor"},a.variant==="determinate"&&{transition:h.transitions.create("stroke-dashoffset")},a.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:a})=>a.variant==="indeterminate"&&!a.disableShrink&&_g(rX||(rX=bg` + animation: ${0} 1.4s ease-in-out infinite; + `),zq0)),Wq0=Q0.forwardRef(function(h,d){const k=dl({props:h,name:"MuiCircularProgress"}),{className:y,color:I="primary",disableShrink:S=!1,size:G=40,style:R,thickness:M=3.6,value:Q=0,variant:V="indeterminate"}=k,e0=At(k,Sq0),l0=Le({},k,{color:I,disableShrink:S,size:G,thickness:M,value:Q,variant:V}),A0=Lq0(l0),n0={},h0={},u0={};if(V==="determinate"){const c0=2*Math.PI*((au-M)/2);n0.strokeDasharray=c0.toFixed(3),u0["aria-valuenow"]=Math.round(Q),n0.strokeDashoffset=`${((100-Q)/100*c0).toFixed(3)}px`,h0.transform="rotate(-90deg)"}return J.jsx(Rq0,Le({className:Zt(A0.root,y),style:Le({width:G,height:G},h0,R),ownerState:l0,ref:d,role:"progressbar"},u0,e0,{children:J.jsx(Gq0,{className:A0.svg,ownerState:l0,viewBox:`${au/2} ${au/2} ${au} ${au}`,children:J.jsx(Zq0,{className:A0.circle,style:n0,ownerState:l0,cx:au,cy:au,r:(au-M)/2,fill:"none",strokeWidth:M})})}))}),$L=Wq0,Dq0=zQ0({createStyledComponent:St("div",{name:"MuiStack",slot:"Root",overridesResolver:(a,h)=>h.root}),useThemeProps:a=>dl({props:a,name:"MuiStack"})}),Mq0=Dq0;function jq0(a){return io("MuiFormControlLabel",a)}const Nq0=To("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Y8=Nq0,Qq0=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],Tq0=a=>{const{classes:h,disabled:d,labelPlacement:k,error:y,required:I}=a,S={root:["root",d&&"disabled",`labelPlacement${K2(k)}`,y&&"error",I&&"required"],label:["label",d&&"disabled"],asterisk:["asterisk",y&&"error"]};return Qo(S,jq0,h)},Fq0=St("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[{[`& .${Y8.label}`]:h.label},h.root,h[`labelPlacement${K2(d.labelPlacement)}`]]}})(({theme:a,ownerState:h})=>Le({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Y8.disabled}`]:{cursor:"default"}},h.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},h.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},h.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${Y8.label}`]:{[`&.${Y8.disabled}`]:{color:(a.vars||a).palette.text.disabled}}})),Pq0=St("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(a,h)=>h.asterisk})(({theme:a})=>({[`&.${Y8.error}`]:{color:(a.vars||a).palette.error.main}})),Yq0=Q0.forwardRef(function(h,d){var k,y;const I=dl({props:h,name:"MuiFormControlLabel"}),{className:S,componentsProps:G={},control:R,disabled:M,disableTypography:Q,label:V,labelPlacement:e0="end",required:l0,slotProps:A0={}}=I,n0=At(I,Qq0),h0=Z20(),u0=(k=M??R.props.disabled)!=null?k:h0==null?void 0:h0.disabled,c0=l0??R.props.required,f0={disabled:u0,required:c0};["checked","name","onChange","value","inputRef"].forEach(z0=>{typeof R.props[z0]>"u"&&typeof I[z0]<"u"&&(f0[z0]=I[z0])});const y0=nq0({props:I,muiFormControl:h0,states:["error"]}),C0=Le({},I,{disabled:u0,labelPlacement:e0,required:c0,error:y0.error}),I0=Tq0(C0),w0=(y=A0.typography)!=null?y:G.typography;let E0=V;return E0!=null&&E0.type!==$U&&!Q&&(E0=J.jsx($U,Le({component:"span"},w0,{className:Zt(I0.label,w0==null?void 0:w0.className),children:E0}))),J.jsxs(Fq0,Le({className:Zt(I0.root,S),ownerState:C0,ref:d},n0,{children:[Q0.cloneElement(R,f0),c0?J.jsxs(Mq0,{display:"block",children:[E0,J.jsxs(Pq0,{ownerState:C0,"aria-hidden":!0,className:I0.asterisk,children:["โ€‰","*"]})]}):E0]}))}),tX=Yq0;function Vq0(a){return io("MuiSwitch",a)}const Oq0=To("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Kn=Oq0,Hq0=["className","color","edge","size","sx"],Jq0=r00(),Uq0=a=>{const{classes:h,edge:d,size:k,color:y,checked:I,disabled:S}=a,G={root:["root",d&&`edge${K2(d)}`,`size${K2(k)}`],switchBase:["switchBase",`color${K2(y)}`,I&&"checked",S&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},R=Qo(G,Vq0,h);return Le({},h,R)},Xq0=St("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.root,d.edge&&h[`edge${K2(d.edge)}`],h[`size${K2(d.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Kn.thumb}`]:{width:16,height:16},[`& .${Kn.switchBase}`]:{padding:4,[`&.${Kn.checked}`]:{transform:"translateX(16px)"}}}}]}),qq0=St(Iq0,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(a,h)=>{const{ownerState:d}=a;return[h.switchBase,{[`& .${Kn.input}`]:h.input},d.color!=="default"&&h[`color${K2(d.color)}`]]}})(({theme:a})=>({position:"absolute",top:0,left:0,zIndex:1,color:a.vars?a.vars.palette.Switch.defaultColor:`${a.palette.mode==="light"?a.palette.common.white:a.palette.grey[300]}`,transition:a.transitions.create(["left","transform"],{duration:a.transitions.duration.shortest}),[`&.${Kn.checked}`]:{transform:"translateX(20px)"},[`&.${Kn.disabled}`]:{color:a.vars?a.vars.palette.Switch.defaultDisabledColor:`${a.palette.mode==="light"?a.palette.grey[100]:a.palette.grey[600]}`},[`&.${Kn.checked} + .${Kn.track}`]:{opacity:.5},[`&.${Kn.disabled} + .${Kn.track}`]:{opacity:a.vars?a.vars.opacity.switchTrackDisabled:`${a.palette.mode==="light"?.12:.2}`},[`& .${Kn.input}`]:{left:"-100%",width:"300%"}}),({theme:a})=>({"&:hover":{backgroundColor:a.vars?`rgba(${a.vars.palette.action.activeChannel} / ${a.vars.palette.action.hoverOpacity})`:rs(a.palette.action.active,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(a.palette).filter(([,h])=>h.main&&h.light).map(([h])=>({props:{color:h},style:{[`&.${Kn.checked}`]:{color:(a.vars||a).palette[h].main,"&:hover":{backgroundColor:a.vars?`rgba(${a.vars.palette[h].mainChannel} / ${a.vars.palette.action.hoverOpacity})`:rs(a.palette[h].main,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Kn.disabled}`]:{color:a.vars?a.vars.palette.Switch[`${h}DisabledColor`]:`${a.palette.mode==="light"?tm(a.palette[h].main,.62):rm(a.palette[h].main,.55)}`}},[`&.${Kn.checked} + .${Kn.track}`]:{backgroundColor:(a.vars||a).palette[h].main}}}))]})),$q0=St("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(a,h)=>h.track})(({theme:a})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:a.transitions.create(["opacity","background-color"],{duration:a.transitions.duration.shortest}),backgroundColor:a.vars?a.vars.palette.common.onBackground:`${a.palette.mode==="light"?a.palette.common.black:a.palette.common.white}`,opacity:a.vars?a.vars.opacity.switchTrack:`${a.palette.mode==="light"?.38:.3}`})),Kq0=St("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(a,h)=>h.thumb})(({theme:a})=>({boxShadow:(a.vars||a).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),bq0=Q0.forwardRef(function(h,d){const k=Jq0({props:h,name:"MuiSwitch"}),{className:y,color:I="primary",edge:S=!1,size:G="medium",sx:R}=k,M=At(k,Hq0),Q=Le({},k,{color:I,edge:S,size:G}),V=Uq0(Q),e0=J.jsx(Kq0,{className:V.thumb,ownerState:Q});return J.jsxs(Xq0,{className:Zt(V.root,y),sx:R,ownerState:Q,children:[J.jsx(qq0,Le({type:"checkbox",icon:e0,checkedIcon:e0,ref:d,ownerState:Q},M,{classes:Le({},V,{root:V.switchBase})})),J.jsx($q0,{className:V.track,ownerState:Q})]})}),iX=bq0,e$0=({segments:a,segmentSelected:h,onSegmentClicked:d})=>{const k=a.map(w0=>({status:w0,visible:!0,active:w0.downloadedBytes0})),[y,I]=Q0.useState(k),[S,G]=Q0.useState(!1),[R,M]=Q0.useState(!1),[Q,V]=Q0.useState({column:"Name",descending:!0}),e0=w0=>w0.peers.length||0,l0=w0=>{let E0=0;return w0.peers.forEach(z0=>{E0+=z0.downloadRate}),E0},A0=w0=>w0.webseeds.length||0,n0=w0=>{let E0=0;return w0.webseeds.forEach(z0=>{E0+=z0.downloadRate}),E0},h0=(w0,E0)=>w0/E0*100,u0=(w0,E0)=>{let W0=[...w0].sort((P0,R0)=>E0.column==="Name"?c0(P0.status.name,R0.status.name,E0.descending):E0.column==="Progress"?f0(h0(P0.status.downloadedBytes,P0.status.totalBytes),h0(R0.status.downloadedBytes,R0.status.totalBytes),E0.descending):E0.column==="Size"?f0(P0.status.totalBytes,R0.status.totalBytes,E0.descending):E0.column==="PeersCount"?f0(e0(P0.status),e0(R0.status),E0.descending):E0.column==="PeersRate"?f0(l0(P0.status),l0(R0.status),E0.descending):E0.column==="WebseedsCount"?f0(A0(P0.status),A0(R0.status),E0.descending):E0.column==="WebseedsRate"?f0(n0(P0.status),n0(R0.status),E0.descending):f0(P0.active?1:0,R0.active?1:0,E0.descending));V(E0),I(W0)},c0=(w0,E0,z0)=>z0?E0.localeCompare(w0):w0.localeCompare(E0),f0=(w0,E0,z0)=>z0?E0-w0:w0-E0,y0=w0=>Q.column!==w0?J.jsx(Lc,{className:"ml-2"}):Q.descending?J.jsx(_c,{}):J.jsx(zc,{}),C0=w0=>{G(w0.target.checked);let E0=y;E0.forEach(z0=>{w0.target.checked?h0(z0.status.downloadedBytes,z0.status.totalBytes)===100&&(z0.visible=!1):h0(z0.status.downloadedBytes,z0.status.totalBytes)===100&&(z0.visible=!0)}),I(E0)},I0=w0=>{M(w0.target.checked);let E0=y;E0.forEach(z0=>{w0.target.checked?h0(z0.status.downloadedBytes,z0.status.totalBytes)===0&&(z0.visible=!1):h0(z0.status.downloadedBytes,z0.status.totalBytes)===0&&(z0.visible=!0)}),I(E0)};return J.jsxs("div",{className:"w-full h-[95%]",style:{overflowY:h?"hidden":"scroll"},children:[J.jsxs("div",{className:"flex flex-row justify-around",children:[J.jsx(tX,{control:J.jsx(iX,{checked:S,onChange:C0}),label:"Hide downloaded files"}),J.jsx(tX,{control:J.jsx(iX,{checked:R,onChange:I0}),label:"Hide files with no progress"})]}),J.jsxs("table",{className:"table-fixed text-left",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(y,{column:"Name",descending:!Q.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Name",y0("Name")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(y,{column:"Progress",descending:!Q.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Progress",y0("Progress")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(y,{column:"Size",descending:!Q.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Size",y0("Size")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(y,{column:"PeersCount",descending:!Q.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Peers Count",y0("PeersCount")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(y,{column:"PeersRate",descending:!Q.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Peers Rate",y0("PeersRate")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(y,{column:"WebseedsCount",descending:!Q.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Webseeds Count",y0("WebseedsCount")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(y,{column:"WebseedsRate",descending:!Q.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Webseeds Rate",y0("WebseedsRate")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{u0(y,{column:"Active",descending:!Q.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Active",y0("Active")]})})]})}),J.jsx("tbody",{children:y.map(w0=>J.jsxs("tr",{className:"border-b hover:bg-gray-100 cursor-pointer",onClick:()=>{d(w0.status)},children:[J.jsx("td",{className:"px-4 py-2",children:w0.status.name}),J.jsx("td",{className:"px-4 py-2",children:wL(w0.status.downloadedBytes,w0.status.totalBytes)}),J.jsx("td",{className:"px-4 py-2",children:Or(w0.status.totalBytes)}),J.jsx("td",{className:"px-4 py-2",children:e0(w0.status)}),J.jsx("td",{className:"px-4 py-2",children:B1(l0(w0.status))}),J.jsx("td",{className:"px-4 py-2",children:A0(w0.status)}),J.jsx("td",{className:"px-4 py-2",children:B1(n0(w0.status))}),J.jsx("td",{className:"px-4 py-2",children:w0.active.toString()})]},w0.status.name))})]})]})},nX=({peers:a})=>{const[h,d]=Q0.useState(a),[k,y]=Q0.useState({column:"Url",descending:!0});Q0.useEffect(()=>{I(a,k)},[a]);const I=(M,Q)=>{let e0=[...M].sort((l0,A0)=>Q.column==="Url"?S(l0.url,A0.url,Q.descending):G(l0.downloadRate,A0.downloadRate,Q.descending));y(Q),d(e0)},S=(M,Q,V)=>V?Q.localeCompare(M):M.localeCompare(Q),G=(M,Q,V)=>V?Q-M:M-Q,R=M=>k.column!==M?J.jsx(Lc,{className:"ml-2"}):k.descending?J.jsx(_c,{}):J.jsx(zc,{});return J.jsxs("table",{className:"table-fixed text-left",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{I(h,{column:"Url",descending:!k.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["URL",R("Url")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{I(h,{column:"Rate",descending:!k.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Rate",R("Rate")]})})]})}),J.jsx("tbody",{children:h.map(M=>J.jsxs("tr",{className:"border-b",children:[J.jsx("td",{className:"px-4 py-2",children:M.url}),J.jsx("td",{className:"px-4 py-2",children:Or(M.downloadRate)})]}))})]})},r$0=({segment:a})=>{const h=V=>V?V.downloadedBytes>=V.totalBytes:!1,[d,k]=Q0.useState(h(a)),y=V=>{let e0=0;return V.forEach(l0=>{e0+=l0.downloadRate}),B1(e0)},I=V=>V.peers.length||0,S=V=>{let e0=0;return V.peers.forEach(l0=>{e0+=l0.downloadRate}),e0},G=V=>V.webseeds.length||0,R=V=>{let e0=0;return V.webseeds.forEach(l0=>{e0+=l0.downloadRate}),e0},M=V=>{var e0,l0;return J.jsx("div",{className:"flex flex-col justify-around",children:J.jsxs("table",{className:"table-fixed text-left",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{children:"Name"}),J.jsx("th",{children:"Size"}),J.jsx("th",{children:"Time Taken"}),J.jsx("th",{children:"AverageRate"})]})}),J.jsx("tbody",{children:J.jsxs("tr",{children:[J.jsx("td",{className:"px-4 py-2",children:V.name}),J.jsx("td",{className:"px-4 py-2",children:Or(V.totalBytes)}),J.jsx("td",{className:"px-4 py-2",children:hL(((e0=V.downloadedStats)==null?void 0:e0.timeTook)||0)}),J.jsx("td",{className:"px-4 py-2",children:B1(((l0=V.downloadedStats)==null?void 0:l0.averageRate)||0)})]})})]})})},Q=V=>J.jsxs("div",{className:"flex flex-col justify-around",children:[J.jsxs("table",{className:"table-fixed text-left",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{children:"Name"}),J.jsx("th",{children:"Progress"}),J.jsx("th",{children:"Size"}),J.jsx("th",{children:"Peers Count"}),J.jsx("th",{children:"Peers Rate"}),J.jsx("th",{children:"Webseeds Count"}),J.jsx("th",{children:"Webseeds Rate"})]})}),J.jsx("tbody",{children:J.jsxs("tr",{children:[J.jsx("td",{className:"px-4 py-2",children:V.name}),J.jsx("td",{className:"px-4 py-2",children:wL(V.downloadedBytes,V.totalBytes)}),J.jsx("td",{className:"px-4 py-2",children:Or(V.totalBytes)}),J.jsx("td",{className:"px-4 py-2",children:I(V)}),J.jsx("td",{className:"px-4 py-2",children:B1(S(V))}),J.jsx("td",{className:"px-4 py-2",children:G(V)}),J.jsx("td",{className:"px-4 py-2",children:B1(R(V))})]})})]}),J.jsxs("div",{className:"flex flex-row justify-around mt-20",children:[V.peers.length>0&&J.jsx("div",{className:"flex flex-col",children:J.jsxs("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[45vh] w-full overflow-auto items-center",children:[J.jsx("p",{className:"font-bold text-lg",children:V.peers.length+" peers"}),J.jsx("p",{className:"font-bold text-lg",children:"Total speed: "+y(V.peers)}),J.jsx(nX,{peers:V.peers})]})}),V.webseeds.length>0&&J.jsx("div",{className:"flex flex-col",children:J.jsxs("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[40vh] w-full overflow-auto items-center",children:[J.jsx("p",{className:"font-bold text-lg",children:V.webseeds.length+" webseeds"}),J.jsx("p",{className:"font-bold text-lg",children:"Total speed: "+y(V.webseeds)}),J.jsx(nX,{peers:V.webseeds})]})})]})]});return J.jsx("div",{className:"w-full h-full",children:a?d?M(a):Q(a):J.jsx("div",{})})},t$0=({onClose:a})=>{const h=q2(Fb),[d,k]=Q0.useState(0),[y,I]=Q0.useState(0),[S,G]=Q0.useState(null),R=e0=>{e0.key==="Escape"&&(S?G(null):a())};Q0.useEffect(()=>(window.addEventListener("keydown",R),()=>{window.removeEventListener("keydown",R)}),[S]),Q0.useEffect(()=>{let e0=0,l0=0;h.segments.forEach(A0=>{e0+=Q(A0),l0+=M(A0)}),k(e0),I(l0)},[h]);const M=e0=>{let l0=0;return e0.peers.forEach(A0=>{l0+=A0.downloadRate}),l0},Q=e0=>{let l0=0;return e0.webseeds.forEach(A0=>{l0+=A0.downloadRate}),l0},V=()=>J.jsxs("div",{className:"flex flex-row w-full pt-10 pr-10 pl-10",children:[J.jsx("div",{className:"flex-[1]",children:S&&J.jsx(pL,{onClick:()=>{G(null)},className:"cursor-pointer"})}),J.jsx("div",{className:"flex flex-[2] justify-center",children:J.jsxs("h3",{className:"text-3xl font-semibold",children:[S?"Segment details":"Segments List"," "]})}),J.jsx("div",{className:"flex flex-[1] justify-end",children:J.jsx(ew,{onClick:()=>a(),className:"cursor-pointer"})})]});return J.jsxs(J.Fragment,{children:[J.jsx("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-0 z-50 outline-none focus:outline-none absolute bg-black/[.4]",children:J.jsx("div",{className:"relative w-auto my-6 mx-auto max-w-[100vw]",children:J.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-fit bg-white outline-none focus:outline-none items-center",children:[V(),J.jsxs("div",{className:"flex flex-col relative p-6 flex-auto justify-start items-center h-[75vh] overflow-scroll",children:[J.jsxs("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white h-[90%]",children:[J.jsx(e$0,{segments:h.segments,segmentSelected:S!=null,onSegmentClicked:e0=>G(e0)}),S&&J.jsx("div",{className:"absolute z-10 w-[95%] h-[80%] bg-white",children:J.jsx(r$0,{segment:S})})]}),!S&&J.jsxs(J.Fragment,{children:[J.jsxs("div",{className:"flex flex-row",children:[J.jsx("p",{className:"font-bold",children:"webseeds :"}),J.jsx("p",{children:B1(d)})]}),J.jsxs("div",{className:"flex flex-row",children:[J.jsx("p",{className:"font-bold",children:"peers :"}),J.jsx("p",{children:B1(y)})]})]})]})]})})}),J.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})},i$0=({flag:a})=>{function h(y){return y&&typeof y=="object"&&y.constructor===Array}const d=y=>h(y)?k(y):J.jsx("td",{className:"px-4 py-2",children:String(y)}),k=y=>J.jsx(J.Fragment,{children:y.map(I=>J.jsx("tr",{className:"border-b border-gray-200 hover:bg-gray-100",children:J.jsx("td",{className:"px-4 py-2",children:I+""})},I))});return J.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onMouseOver:y=>{const I=y.target,S=a.usage;S&&I.setAttribute("title",S)},children:[J.jsx("td",{className:"px-4 py-2",children:a.flag}),d(a.value),J.jsx("td",{className:"px-4 py-2",children:String(a.usage)})]},a.flag)},n$0=({flags:a})=>J.jsx("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[500px] max-w-[1400px] min-w-[30vw] overflow-auto",children:J.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_flags_table",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2",children:"Flag"}),J.jsx("th",{className:"px-4 py-2",children:"Value"}),J.jsx("th",{className:"px-4 py-2",children:"Flag Usage"})]})}),J.jsx("tbody",{children:a==null?void 0:a.map(h=>J.jsx(i$0,{flag:h},h.flag))})]})}),o$0=["datadir","downloader.api.addr","downloader.disable.ipv4","downloader.disable.ipv6","nat","pprof","pprof.addr","pprof.cpuprofile","pprof.port","seedbox","torrent.conns.perfile","torrent.download.rate","torrent.download.slots","torrent.maxpeers","torrent.port","torrent.staticpeers","torrent.upload.rate","torrent.verbosity","trace","verbosity","verify","verify.failfast","verify.files","webseed"],l$0=({peers:a,peerSelected:h,onPeerClicked:d})=>{const[k,y]=Q0.useState(a),[I,S]=Q0.useState({column:"Url",descending:!0}),G=(n0,h0)=>{console.log("sortSegments",n0[0]);let c0=[...n0].sort((f0,y0)=>h0.column==="Url"?R(f0.url,y0.url,h0.descending):h0.column==="DlRate"?M(f0.downloadRate,y0.downloadRate,h0.descending):h0.column==="PiecesCount"?M(f0.piecesCount,y0.piecesCount,h0.descending):h0.column==="Address"?R(f0.remoteAddr,y0.remoteAddr,h0.descending):h0.column==="ID"?R(V(f0.peerId),V(y0.peerId),h0.descending):R(f0.torrentName,y0.torrentName,h0.descending));console.log("sortedSegments",c0[0]),S(h0),y(c0)},R=(n0,h0,u0)=>u0?h0.localeCompare(n0):n0.localeCompare(h0),M=(n0,h0,u0)=>u0?h0-n0:n0-h0,Q=n0=>I.column!==n0?J.jsx(Lc,{className:"ml-2"}):I.descending?J.jsx(_c,{}):J.jsx(zc,{}),V=n0=>{const h0=new Uint8Array(n0);return e0(h0)};function e0(n0){return n0[0]===45&&n0[7]===45?l0(n0.slice(8)):l0(n0)}function l0(n0){return Array.from(n0).map(h0=>h0.toString(16).padStart(2,"0")).join("")}return J.jsx("div",{className:"w-full h-[95%]",style:{overflowY:h?"hidden":"scroll"},children:J.jsxs("table",{className:"table-fixed text-left",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{G(k,{column:"Url",descending:!I.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["URL",Q("Url")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{G(k,{column:"DlRate",descending:!I.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Download Rate",Q("DlRate")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{G(k,{column:"Address",descending:!I.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Remote Address",Q("Address")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{G(k,{column:"ID",descending:!I.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["ID",Q("ID")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{G(k,{column:"PiecesCount",descending:!I.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Pieces Count",Q("PiecesCount")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{G(k,{column:"TorrentName",descending:!I.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Torrent Name",Q("TorrentName")]})})]})}),J.jsx("tbody",{children:k.map(n0=>J.jsxs("tr",{className:"border-b",children:[J.jsx("td",{className:"px-4 py-2",children:n0.url}),J.jsx("td",{className:"px-4 py-2",children:Or(n0.downloadRate)}),J.jsx("td",{className:"px-4 py-2",children:n0.remoteAddr}),J.jsx("td",{className:"px-4 py-2",children:V(n0.peerId)}),J.jsx("td",{className:"px-4 py-2",children:n0.piecesCount}),J.jsx("td",{className:"px-4 py-2",children:n0.torrentName})]},A0()))})]})});function A0(){return Math.random().toString(36).substr(2,9)}},s$0=({onClose:a})=>{const h=q2(_M0),d=y=>{y.key==="Escape"&&a()};Q0.useEffect(()=>(window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}),[]);const k=()=>J.jsxs("div",{className:"flex flex-row w-full pt-10 pr-10 pl-10",children:[J.jsx("div",{className:"flex-[1]"}),J.jsx("div",{className:"flex flex-[2] justify-center",children:J.jsx("h3",{className:"text-3xl font-semibold",children:"Peers list"})}),J.jsx("div",{className:"flex flex-[1] justify-end",children:J.jsx(ew,{onClick:()=>a(),className:"cursor-pointer"})})]});return J.jsxs(J.Fragment,{children:[J.jsx("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-0 z-50 outline-none focus:outline-none absolute bg-black/[.4]",children:J.jsx("div",{className:"relative w-auto my-6 mx-auto max-w-[100vw]",children:J.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-fit bg-white outline-none focus:outline-none items-center",children:[k(),J.jsx("div",{className:"flex flex-col relative p-6 flex-auto justify-start items-center h-[75vh] overflow-scroll",children:J.jsx(l$0,{peers:h,peerSelected:!1,onPeerClicked:()=>{}})})]})})}),J.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})},A$0=()=>{const a=q2(Fb),[h,d]=Q0.useState(!1),[k,y]=Q0.useState(!1),I=q2(NK),S=q2(QM0),G=oK(),R=()=>G("/issues"),M=I.filter(e0=>o$0.includes(e0.flag)),Q=()=>!a.downloadFinished&&a.indexed<100&&a.torrentMetadataReady0?"downloading and waiting for metadata":"waiting for metadata":!a.downloadFinished&&a.indexed<100?"Downloading":a.indexed<100?"Indexing":"Finished",V=()=>{let e0=0;return a.totalTime.forEach(l0=>{e0+=l0}),hL(e0)};return J.jsxs("div",{children:[S.length>0&&J.jsx("p",{className:"font-bold mt-5 mb-5 text-yellow-400 cursor-pointer",onClick:R,children:"Found "+S.length+" download speed issues"}),J.jsxs("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2",children:"Name"}),J.jsx("th",{className:"px-4 py-2",children:"Status"}),J.jsx("th",{className:"px-4 py-2",children:"Progress"}),J.jsx("th",{className:"px-4 py-2",children:"Downaloaded"}),J.jsx("th",{className:"px-4 py-2",children:"Total"}),J.jsx("th",{className:"px-4 py-2",children:"Time Left"}),J.jsx("th",{className:"px-4 py-2",children:"Total Time"}),J.jsx("th",{className:"px-4 py-2",children:"Download Rate"}),J.jsx("th",{className:"px-4 py-2",children:"Upload Rate"}),J.jsx("th",{className:"px-4 py-2",children:"Peers"}),J.jsx("th",{className:"px-4 py-2",children:"Files"}),J.jsx("th",{className:"px-4 py-2",children:"Connections"}),J.jsx("th",{className:"px-4 py-2",children:"Alloc"}),J.jsx("th",{className:"px-4 py-2",children:"Sys"})]})}),J.jsx("tbody",{children:J.jsxs("tr",{onClick:()=>{d(!0)},children:[J.jsx("td",{className:"px-4 py-2",children:"Snapshots"}),J.jsx("td",{className:"px-4 py-2 text-center",children:Q()}),J.jsx("td",{className:"px-4 py-2",children:wL(a.downloaded,a.total)}),J.jsx("td",{className:"px-4 py-2",children:Or(a.downloaded)}),J.jsx("td",{className:"px-4 py-2",children:Or(a.total)}),J.jsx("td",{className:"px-4 py-2",children:VO0(a.downloaded,a.total,a.downloadRate)}),J.jsx("td",{className:"px-4 py-2",children:V()}),J.jsx("td",{className:"px-4 py-2",children:uU(a.downloadRate)}),J.jsx("td",{className:"px-4 py-2",children:uU(a.uploadRate)}),J.jsx("td",{className:"px-4 py-2",children:a.peers}),J.jsx("td",{className:"px-4 py-2",children:a.files}),J.jsx("td",{className:"px-4 py-2",children:a.connections}),J.jsx("td",{className:"px-4 py-2",children:Or(a.alloc)}),J.jsx("td",{className:"px-4 py-2",children:Or(a.sys)})]})})]}),J.jsx("button",{className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded",onClick:()=>y(!0),children:"Show Peers"}),J.jsxs("div",{className:"flex flex-col",children:[J.jsx("p",{className:"font-bold mt-5",children:"Flags related to downloader"}),J.jsx(n$0,{flags:M})]}),h&&J.jsx(t$0,{onClose:()=>{d(!1)}}),k&&J.jsx(s$0,{onClose:()=>{y(!1)}})]})},u$0=({selectedStatistics:a,statistics:h,onRowClicked:d})=>{const k=y=>{let I="px-4 py-2 hover:bg-gray-100";const S="bg-gray-300",G="bg-white text-black";return(y===Hl.Active||y===Hl.Static||y===Hl.Total)&&(I+=" border-r"),y===a?I+" "+S:I+" "+G};return J.jsxs("div",{className:"flex flex-row",children:[J.jsx("div",{className:"shadow-lg rounded-md bg-white overflow-auto mr-5",children:J.jsx("table",{className:"table-fixed text-center",children:J.jsx("tbody",{children:J.jsxs("tr",{children:[J.jsxs("td",{className:k(Hl.Active),onClick:()=>d(Hl.Active),children:[J.jsx("span",{children:"Active:"}),J.jsx("br",{}),J.jsx("span",{className:"font-bold",children:h.activePeers})]}),J.jsxs("td",{className:k(Hl.Static),onClick:()=>d(Hl.Static),children:[J.jsx("span",{children:"Static:"}),J.jsx("br",{}),J.jsx("span",{className:"font-bold",children:h.staticPeers})]}),J.jsxs("td",{className:k(Hl.Total),onClick:()=>d(Hl.Total),children:[J.jsx("span",{children:"Total Seen:"}),J.jsx("br",{}),J.jsx("span",{className:"font-bold",children:h.totalPeers})]})]})})})}),J.jsx("div",{className:"shadow-lg rounded-md bg-white overflow-auto",children:J.jsx("table",{className:"table-fixed text-center",children:J.jsx("tbody",{children:J.jsxs("tr",{children:[J.jsxs("td",{className:"px-4 py-2",children:[J.jsx("span",{children:"In Rate:"}),J.jsx("br",{}),J.jsx("span",{className:"font-bold",children:B1(h.totalInRate)})]}),J.jsxs("td",{className:"px-4 py-2",children:[J.jsx("span",{children:"Network In:"}),J.jsx("br",{}),J.jsx("span",{className:"font-bold",children:Or(h.totalInBytes)})]}),J.jsxs("td",{className:"px-4 py-2",children:[J.jsx("span",{children:"Out Rate:"}),J.jsx("br",{}),J.jsx("span",{className:"font-bold",children:B1(h.totalOutRate)})]}),J.jsxs("td",{className:"px-4 py-2",children:[J.jsx("span",{children:"Network Out:"}),J.jsx("br",{}),J.jsx("span",{className:"font-bold",children:Or(h.totalOutBytes)})]}),J.jsxs("td",{className:"px-4 py-2",children:[J.jsx("span",{children:"Total Network:"}),J.jsx("br",{}),J.jsx("span",{className:"font-bold",children:Or(h.totalInBytes+h.totalOutBytes)})]})]})})})})]})},RI=({peers:a,onPeerClicked:h})=>{const[d,k]=Q0.useState(a),[y,I]=Q0.useState({column:"Type",descending:!0});Q0.useEffect(()=>{S(a,y)},[a]);const S=(V,e0)=>{let l0=V.sort((A0,n0)=>e0.column==="Id"?G(A0.id,n0.id,e0.descending):e0.column==="Name"?G(A0.name,n0.name,e0.descending):e0.column==="Type"?G(A0.type,n0.type,e0.descending):e0.column==="Status"?G(A0.active.toString(),n0.active.toString(),e0.descending):e0.column==="TotalIn"?R(A0.network.bytesIn,n0.network.bytesIn,e0.descending):e0.column==="TotalOut"?R(A0.network.bytesOut,n0.network.bytesOut,e0.descending):e0.column==="InSpeed"?R(A0.network.inRate,n0.network.inRate,e0.descending):R(A0.network.outRate,n0.network.outRate,e0.descending));I(e0),k(l0)},G=(V,e0,l0)=>l0?e0.localeCompare(V):V.localeCompare(e0),R=(V,e0,l0)=>l0?e0-V:V-e0,M=V=>y.column!==V?J.jsx(Lc,{className:"ml-2"}):y.descending?J.jsx(_c,{}):J.jsx(zc,{}),Q=V=>V.network.static?"static":V.network.bootnode?"bootnode":"dynamic";return J.jsx("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[83vh] w-full overflow-auto",children:J.jsxs("table",{className:"table-auto text-left w-full",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"Id",descending:!y.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["peer ID",M("Id")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"Name",descending:!y.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["peer Name",M("Name")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"Type",descending:!y.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Type",M("Type")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"Status",descending:!y.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Status",M("Status")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"TotalIn",descending:!y.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Total In",M("TotalIn")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"TotalOut",descending:!y.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Total Out",M("TotalOut")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"InSpeed",descending:!y.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["In Speed",M("InSpeed")]})}),J.jsx("th",{className:"px-4 py-2 cursor-pointer",onClick:()=>{S(d,{column:"OutSpeed",descending:!y.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Out Speed",M("OutSpeed")]})})]})}),J.jsx("tbody",{children:d.map((V,e0)=>J.jsxs("tr",{className:"border-b border-gray-200 hover:bg-gray-100 cursor-pointer",onClick:()=>{h(V.id)},children:[J.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:V.id}),J.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:V.name}),J.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:Q(V)}),J.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:V.active?"active":""}),J.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:Or(V.network.bytesIn)}),J.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:Or(V.network.bytesOut)}),J.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:B1(V.network.inRate)}),J.jsx("td",{className:"px-4 py-2 overflow-hidden text-ellipsis",children:B1(V.network.outRate)})]},e0))})]})})},a$0=({peerId:a,onClose:h,...d})=>{const y=pM0()(lr.getState(),a),I=(V,e0)=>{let l0=Object.keys(V),A0=Object.keys(e0);const n0=new Set([...l0,...A0]),h0=Array.from(n0);let u0=[];return h0.forEach(c0=>{let f0=V[c0]|0,y0=e0[c0]|0;u0.push({key:c0,bytesIn:f0,bytesOut:y0})}),u0},S=()=>{let V=I(y.network.capBytesIn,y.network.capBytesOut);return R(V)},G=()=>{let V=I(y.network.typeBytesIn,y.network.typeBytesOut);return R(V)},R=V=>J.jsxs("table",{className:"table-auto text-left w-full",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b font-bold",children:[J.jsx("th",{children:"Type"}),J.jsx("th",{children:"In"}),J.jsx("th",{children:"Out"})]})}),J.jsx("tbody",{children:V.map(e0=>J.jsxs("tr",{className:"border-b",children:[J.jsx("td",{children:e0.key}),J.jsx("td",{children:Or(e0.bytesIn)}),J.jsx("td",{children:Or(e0.bytesOut)})]},e0.key))})]}),M=()=>J.jsxs("table",{className:"table-auto text-left w-full",children:[J.jsx("thead",{}),J.jsxs("tbody",{children:[Q("ID",y.id),Q("Name",y.name),Q("protocols",y.protocols),Q("enr",y.enr),Q("Enode",y.enode),Q("Cient",y.name),Q("caps",y.caps.toString()),Q("local address",y.network.localAddress),Q("remote address",y.network.remoteAddress),Q("In",Or(y.network.bytesIn)),Q("Out",Or(y.network.bytesOut)),Q("In speed",B1(y.network.inRate)),Q("Out speed",B1(y.network.outRate))]})]}),Q=(V,e0)=>J.jsxs("tr",{className:"border-b",children:[J.jsx("td",{children:V+": "}),J.jsx("td",{children:e0})]},V);return J.jsxs(J.Fragment,{children:[J.jsx("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto inset-0 z-50 outline-none focus:outline-none absolute bg-black/[.4]",children:J.jsx("div",{className:"",children:J.jsxs("div",{className:"border-0 rounded-lg shadow-lg relative flex flex-col w-max bg-white outline-none focus:outline-none items-center",children:[J.jsx("h3",{className:"text-3xl font-semibold mt-5",children:"Peer Details"}),J.jsxs("div",{className:"flex flex-col relative p-6 flex-auto justify-center items-center max-h-[70vh] overflow-scroll",children:[J.jsx("p",{className:"font-bold underline",children:"Main info :"}),M(),J.jsx("div",{className:"h-5"}),J.jsx("p",{className:"font-bold underline",children:"Network Usage By Capability :"}),S(),J.jsx("div",{className:"h-5"}),J.jsx("p",{className:"font-bold underline",children:"Network Usage By Type :"}),G()]}),J.jsx("div",{className:"flex items-center justify-end p-6",children:J.jsx(us,{backgroundColor:k3,label:"Close",onClick:()=>h(),primary:!0})})]})})}),J.jsx("div",{className:"opacity-25 inset-0 z-40 bg-black"})]})};var Hl=(a=>(a.Active="active",a.Static="static",a.Total="total",a.Errors="errors",a.Network="network",a.None="none",a))(Hl||{});const oX=({type:a})=>{let h=[],d={activePeers:0,totalPeers:0,staticPeers:0,totalErrors:0,totalInBytes:0,totalOutBytes:0,totalInRate:0,totalOutRate:0},k=[],y=[];a==="sentry"?(h=q2(zg),d=q2(yM0),k=q2(kM0),y=q2(mM0)):(h=q2(Lg),d=q2(CM0),k=q2(vM0),y=q2(gM0));const[I,S]=Q0.useState(null),[G,R]=Q0.useState("none"),M=()=>J.jsxs("table",{className:"table-fixed rounded-lg shadow-lg bg-white text-left mb-4 w-full h-fit",children:[J.jsx("thead",{children:J.jsx("tr",{className:"border-b",children:J.jsx("th",{className:"px-4 py-2",children:"Error"})})}),J.jsx("tbody",{})]});return J.jsxs("div",{className:"flex items-center flex-col",children:[J.jsxs("div",{className:"flex justify-center items-center flex-row mb-5",children:[J.jsx("p",{className:"mb-2 font-bold text-2xl",children:a==="sentry"?"eth/6x P2P":"Beacon chain P2P"}),J.jsx("div",{className:"w-5"}),J.jsx(u$0,{statistics:d,selectedStatistics:G,onRowClicked:Q=>{R(Q)}})]}),G==="active"&&J.jsx(RI,{peers:k,onPeerClicked:Q=>{S(Q)}}),G==="static"&&J.jsx(RI,{peers:y,onPeerClicked:Q=>{S(Q)}}),G==="total"&&J.jsx(RI,{peers:h,onPeerClicked:Q=>{S(Q)}}),G==="errors"&&M(),I&&J.jsx(a$0,{peerId:I,onClose:()=>{S(null)}})]})},c$0=()=>{const a=q2(RM0),h=k=>{switch(k){case r5.Queued:return"Queued";case r5.Running:return"Running";case r5.Completed:return"Completed";default:return"Unknown"}},d=k=>J.jsxs("tr",{className:"border-b",children:[J.jsx("td",{className:"px-4 py-2",children:k.id}),J.jsx("td",{className:"px-4 py-2",children:h(k.state)}),k.subStages.length===0?null:J.jsxs("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2",children:"SubStage"}),J.jsx("th",{className:"px-4 py-2",children:"State"})]})}),J.jsx("tbody",{children:k.subStages.map(y=>J.jsxs("tr",{className:"border-b",children:[J.jsx("td",{className:"px-4 py-2",children:y.id}),J.jsx("td",{className:"px-4 py-2",children:h(y.state)})]}))})]})]});return J.jsx("div",{children:J.jsxs("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2",children:"Stage"}),J.jsx("th",{className:"px-4 py-2",children:"State"})]})}),J.jsx("tbody",{children:a.map(k=>d(k))})]})})},f$0=()=>J.jsx("div",{children:J.jsx(c$0,{})}),h$0=()=>{const a=q2(sz),h=()=>J.jsx("div",{children:J.jsx("table",{className:"table-auto w-fit border-0 rounded-lg shadow-lg relative bg-white outline-none focus:outline-none mb-4",children:J.jsx("tbody",{children:a.map(d=>J.jsx("tr",{children:J.jsx("div",{className:"p-1",children:J.jsx(t00,{variant:"filled",severity:"warning",children:d.message})})}))})})});return J.jsx("div",{className:"flex flex-col",children:a.length>0?h():J.jsx("h3",{className:"py-2 text-xl font-semibold",children:"No issues detected"})})},w$0=()=>{const a=q2(Jb),h=q2(Lj0),d=q2(Sj0),k=I=>Math.round(I*100)/100,y=I=>{const S=[],G=I==null?void 0:I.split(` +`);if(!G)return S;for(const R of G){const M=R==null?void 0:R.split(":");if(!M)continue;const Q=M.map(V=>J.jsx("td",{children:V}));S.push(J.jsx("tr",{children:Q}))}return S};return J.jsxs("div",{className:"flex flex-col p-2 min-h-[40px] max-h-[780px] overflow-auto",children:[J.jsx("h3",{className:"text-xl font-semibold",children:"CPU Info"}),J.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_processes_table",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2",children:"CPU"}),J.jsx("th",{className:"px-4 py-2",children:"Vendor ID"}),J.jsx("th",{className:"px-4 py-2",children:"Family"}),J.jsx("th",{className:"px-4 py-2",children:"Model"}),J.jsx("th",{className:"px-4 py-2",children:"Stepping"}),J.jsx("th",{className:"px-4 py-2",children:"Physical ID"}),J.jsx("th",{className:"px-4 py-2",children:"Core ID"}),J.jsx("th",{className:"px-4 py-2",children:"Cores"}),J.jsx("th",{className:"px-4 py-2",children:"Model Name"}),J.jsx("th",{className:"px-4 py-2",children:"Mhz"}),J.jsx("th",{className:"px-4 py-2",children:"Cache Size"}),J.jsx("th",{className:"px-4 py-2",children:"Flags"}),J.jsx("th",{className:"px-4 py-2",children:"Microcode"})]})}),J.jsx("tbody",{children:a.map(I=>{var S;return J.jsxs("tr",{className:"border-b border-gray-200",children:[J.jsx("td",{className:"px-4 py-2",children:I.cpu}),J.jsx("td",{className:"px-4 py-2",children:I.vendorId}),J.jsx("td",{className:"px-4 py-2",children:I.family}),J.jsx("td",{className:"px-4 py-2",children:I.model}),J.jsx("td",{className:"px-4 py-2",children:I.stepping}),J.jsx("td",{className:"px-4 py-2",children:I.physicalId}),J.jsx("td",{className:"px-4 py-2",children:I.coreId}),J.jsx("td",{className:"px-4 py-2",children:I.cores}),J.jsx("td",{className:"px-4 py-2",children:I.modelName}),J.jsx("td",{className:"px-4 py-2",children:I.mhz}),J.jsx("td",{className:"px-4 py-2",children:I.cacheSize}),J.jsx("td",{className:"px-4 py-2",children:(S=I==null?void 0:I.flags)==null?void 0:S.join(", ")}),J.jsx("td",{className:"px-4 py-2",children:I.microcode})]},I.modelName)})})]}),J.jsx("h3",{className:"text-xl font-semibold mt-4",children:"Disk Info"}),J.jsx("table",{className:"table-auto text-left bg-white",children:J.jsxs("tbody",{children:[J.jsxs("tr",{children:[J.jsx("td",{children:"Device"}),J.jsx("td",{children:h.device})]}),J.jsxs("tr",{children:[J.jsx("td",{children:"Mount Point"}),J.jsx("td",{children:h.mountPoint})]}),J.jsxs("tr",{children:[J.jsx("td",{children:"File System Type"}),J.jsx("td",{children:h.fsType})]}),J.jsxs("tr",{children:[J.jsx("td",{children:"Total"}),J.jsx("td",{children:Or(h.total)})]}),J.jsxs("tr",{children:[J.jsx("td",{children:"Free"}),J.jsx("td",{children:Or(h.free)})]}),y(h.details)]})}),J.jsx("h3",{className:"text-xl font-semibold",children:"Ram Info"}),J.jsx("table",{className:"table-auto text-left bg-white",children:J.jsxs("tbody",{children:[J.jsxs("tr",{children:[J.jsx("td",{children:"Total"}),J.jsx("td",{children:Or(d.total)})]}),J.jsxs("tr",{children:[J.jsx("td",{children:"Available"}),J.jsx("td",{children:Or(d.available)})]}),J.jsxs("tr",{children:[J.jsx("td",{children:"Used"}),J.jsx("td",{children:Or(d.used)})]}),J.jsxs("tr",{children:[J.jsx("td",{children:"Used Percent"}),J.jsxs("td",{children:[k(d.usedPercent),"%"]})]})]})})]})},lX=a=>Math.round(a*100)/100,d$0=({process:a})=>J.jsxs("tr",{className:"border-b border-gray-200",children:[J.jsx("td",{className:"px-4 py-2",children:a.pid}),J.jsx("td",{className:"px-4 py-2",children:a.name}),J.jsx("td",{className:"px-4 py-2",children:lX(a.cpuUsage)}),J.jsx("td",{className:"px-4 py-2",children:lX(a.memory)})]},a.pid),p$0=({processes:a})=>{const[h,d]=Q0.useState([]),[k,y]=Q0.useState({column:"Name",descending:!0});Q0.useEffect(()=>{I(a||[],k)},[a]);const I=(M,Q)=>{let e0=[...M].sort((l0,A0)=>Q.column==="Pid"?G(l0.pid,A0.pid,Q.descending):Q.column==="Name"?S(l0.name,A0.name,Q.descending):Q.column==="Cpu"?G(l0.cpuUsage,A0.cpuUsage,Q.descending):Q.column==="Memory"?G(l0.memory,A0.memory,Q.descending):0);y(Q),d(e0)},S=(M,Q,V)=>V?Q.localeCompare(M):M.localeCompare(Q),G=(M,Q,V)=>V?Q-M:M-Q,R=M=>k.column!==M?J.jsx(Lc,{className:"ml-2"}):k.descending?J.jsx(_c,{}):J.jsx(zc,{});return J.jsx("div",{className:"flex flex-col shadow-lg rounded-md p-2 bg-white min-h-[40px] max-h-[660px] overflow-auto",children:J.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_processes_table",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2",onClick:()=>{I(h,{column:"Pid",descending:!k.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["PID",R("Pid")]})}),J.jsx("th",{className:"px-4 py-2",onClick:()=>{I(h,{column:"Name",descending:!k.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["Name",R("Name")]})}),J.jsx("th",{className:"px-4 py-2",onClick:()=>{I(h,{column:"Cpu",descending:!k.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["% CPU Usage",R("Cpu")]})}),J.jsx("th",{className:"px-4 py-2",onClick:()=>{I(h,{column:"Memory",descending:!k.descending})},children:J.jsxs("div",{className:"flex flex-row",children:["% Memory Usage",R("Memory")]})})]})}),J.jsx("tbody",{children:h==null?void 0:h.map(M=>J.jsx(d$0,{process:M},M.pid))})]})})},k$0=()=>{const a=q2(Gj0),[h,d]=Q0.useState(a),[k,y]=Q0.useState(!1);return Q0.useEffect(()=>{d(a),y(!1)},[a]),J.jsxs("div",{className:"mt-4 flex flex-col",children:[J.jsx("div",{className:"flex w-full items-center justify-center mb-4",children:k?J.jsx($L,{}):J.jsx(qL,{variant:"contained",color:"primary",onClick:()=>{y(!0),dF0()},children:"Fetch Data"})}),J.jsx("input",{type:"text",className:"border-2 border-gray-300 rounded-lg p-2 mb-2",placeholder:"Search",onChange:I=>{const S=a==null?void 0:a.filter(G=>G.name.toLowerCase().includes(I.target.value.toLowerCase()));d(S)}}),J.jsx(p$0,{processes:h})]})},v$0=()=>{var I;const a=q2(Jb),h=q2(_j0),[d,k]=Q0.useState(!1);Q0.useEffect(()=>{k(!1)},[h]);const y=S=>Math.round(S*100)/100;return J.jsxs("div",{className:"mt-4 flex flex-col max-h-[760px] overflow-auto",children:[J.jsx("h3",{className:"text-xl font-semibold",children:"CPU Info"}),J.jsxs("table",{className:"table-auto bg-white text-left","data-testid":"details_section_processes_table",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2",children:"CPU"}),J.jsx("th",{className:"px-4 py-2",children:"Vendor ID"}),J.jsx("th",{className:"px-4 py-2",children:"Family"}),J.jsx("th",{className:"px-4 py-2",children:"Model"}),J.jsx("th",{className:"px-4 py-2",children:"Stepping"}),J.jsx("th",{className:"px-4 py-2",children:"Physical ID"}),J.jsx("th",{className:"px-4 py-2",children:"Core ID"}),J.jsx("th",{className:"px-4 py-2",children:"Cores"}),J.jsx("th",{className:"px-4 py-2",children:"Model Name"}),J.jsx("th",{className:"px-4 py-2",children:"Mhz"}),J.jsx("th",{className:"px-4 py-2",children:"Cache Size"}),J.jsx("th",{className:"px-4 py-2",children:"Flags"}),J.jsx("th",{className:"px-4 py-2",children:"Microcode"})]})}),J.jsx("tbody",{children:a.map(S=>{var G;return J.jsxs("tr",{className:"border-b border-gray-200",children:[J.jsx("td",{className:"px-4 py-2",children:S.cpu}),J.jsx("td",{className:"px-4 py-2",children:S.vendorId}),J.jsx("td",{className:"px-4 py-2",children:S.family}),J.jsx("td",{className:"px-4 py-2",children:S.model}),J.jsx("td",{className:"px-4 py-2",children:S.stepping}),J.jsx("td",{className:"px-4 py-2",children:S.physicalId}),J.jsx("td",{className:"px-4 py-2",children:S.coreId}),J.jsx("td",{className:"px-4 py-2",children:S.cores}),J.jsx("td",{className:"px-4 py-2",children:S.modelName}),J.jsx("td",{className:"px-4 py-2",children:S.mhz}),J.jsx("td",{className:"px-4 py-2",children:S.cacheSize}),J.jsx("td",{className:"px-4 py-2",children:(G=S==null?void 0:S.flags)==null?void 0:G.join(", ")}),J.jsx("td",{className:"px-4 py-2",children:S.microcode})]},S.modelName)})})]}),J.jsx("h3",{className:"text-xl font-semibold",children:"CPU Usage"}),J.jsx("div",{className:"flex w-full items-center justify-center mb-4",children:d?J.jsx($L,{}):J.jsx(qL,{variant:"contained",color:"primary",onClick:()=>{k(!0),wF0()},children:"Fetch Data"})}),J.jsxs("table",{className:"table-auto rounded-lg bg-white text-left","data-testid":"details_section_processes_table",children:[J.jsx("thead",{children:J.jsxs("tr",{className:"border-b",children:[J.jsx("th",{className:"px-4 py-2",children:"Core #"}),J.jsx("th",{className:"px-4 py-2",children:"% Usage"})]})}),J.jsx("tbody",{children:(I=h.cores)==null?void 0:I.map((S,G)=>J.jsxs("tr",{className:"border-b border-gray-200",children:[J.jsx("td",{className:"px-4 py-2",children:G+1}),J.jsx("td",{className:"px-4 py-2",children:y(S)})]},G))})]})]})};var AS="http://www.w3.org/1999/xhtml";const sX={svg:"http://www.w3.org/2000/svg",xhtml:AS,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ey(a){var h=a+="",d=h.indexOf(":");return d>=0&&(h=a.slice(0,d))!=="xmlns"&&(a=a.slice(d+1)),sX.hasOwnProperty(h)?{space:sX[h],local:a}:a}function m$0(a){return function(){var h=this.ownerDocument,d=this.namespaceURI;return d===AS&&h.documentElement.namespaceURI===AS?h.createElement(a):h.createElementNS(d,a)}}function g$0(a){return function(){return this.ownerDocument.createElementNS(a.space,a.local)}}function D20(a){var h=ey(a);return(h.local?g$0:m$0)(h)}function y$0(){}function KL(a){return a==null?y$0:function(){return this.querySelector(a)}}function C$0(a){typeof a!="function"&&(a=KL(a));for(var h=this._groups,d=h.length,k=new Array(d),y=0;y=f0&&(f0=c0+1);!(C0=h0[f0])&&++f0=0;)(S=k[y])&&(I&&S.compareDocumentPosition(I)^4&&I.parentNode.insertBefore(S,I),I=S);return this}function D$0(a){a||(a=M$0);function h(V,e0){return V&&e0?a(V.__data__,e0.__data__):!V-!e0}for(var d=this._groups,k=d.length,y=new Array(k),I=0;Ih?1:a>=h?0:NaN}function j$0(){var a=arguments[0];return arguments[0]=this,a.apply(null,arguments),this}function N$0(){var a=new Array(this.size()),h=-1;return this.each(function(){a[++h]=this}),a}function Q$0(){for(var a=this._groups,h=0,d=a.length;h1?this.each((h==null?q$0:typeof h=="function"?K$0:$$0)(a,h,d??"")):o3(this.node(),a)}function o3(a,h){return a.style.getPropertyValue(h)||Q20(a).getComputedStyle(a,null).getPropertyValue(h)}function eK0(a){return function(){delete this[a]}}function rK0(a,h){return function(){this[a]=h}}function tK0(a,h){return function(){var d=h.apply(this,arguments);d==null?delete this[a]:this[a]=d}}function iK0(a,h){return arguments.length>1?this.each((h==null?eK0:typeof h=="function"?tK0:rK0)(a,h)):this.node()[a]}function T20(a){return a.trim().split(/^|\s+/)}function bL(a){return a.classList||new F20(a)}function F20(a){this._node=a,this._names=T20(a.getAttribute("class")||"")}F20.prototype={add:function(a){var h=this._names.indexOf(a);h<0&&(this._names.push(a),this._node.setAttribute("class",this._names.join(" ")))},remove:function(a){var h=this._names.indexOf(a);h>=0&&(this._names.splice(h,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(a){return this._names.indexOf(a)>=0}};function P20(a,h){for(var d=bL(a),k=-1,y=h.length;++k=0&&(d=h.slice(k+1),h=h.slice(0,k)),{type:h,name:d}})}function GK0(a){return function(){var h=this.__on;if(h){for(var d=0,k=-1,y=h.length,I;d=0&&(k=d.slice(y+1),d=d.slice(0,y)),d&&!h.hasOwnProperty(d))throw new Error("unknown type: "+d);return{type:d,name:k}})}h5.prototype=ry.prototype={constructor:h5,on:function(a,h){var d=this._,k=TK0(a+"",d),y,I=-1,S=k.length;if(arguments.length<2){for(;++I0)for(var d=new Array(y),k=0,y,I;k=0&&a._call.call(null,h),a=a._next;--l3}function cX(){yc=(Im=N6.now())+ty,l3=V8=0;try{YK0()}finally{l3=0,OK0(),yc=0}}function VK0(){var a=N6.now(),h=a-Im;h>X20&&(ty-=h,Im=a)}function OK0(){for(var a,h=Bm,d,k=1/0;h;)h._call?(k>h._time&&(k=h._time),a=h,h=h._next):(d=h._next,h._next=null,h=a?a._next=d:Bm=d);O8=a,uS(k)}function uS(a){if(!l3){V8&&(V8=clearTimeout(V8));var h=a-yc;h>24?(a<1/0&&(V8=setTimeout(cX,a-N6.now()-ty)),S8&&(S8=clearInterval(S8))):(S8||(Im=N6.now(),S8=setInterval(VK0,X20)),l3=1,q20(cX))}}function aS(a,h,d){var k=new xm;return h=h==null?0:+h,k.restart(function(y){k.stop(),a(y+h)},h,d),k}var HK0=ry("start","end","cancel","interrupt"),JK0=[],K20=0,cS=1,fS=2,w5=3,fX=4,hS=5,d5=6;function ny(a,h,d,k,y,I){var S=a.__transition;if(!S)a.__transition={};else if(d in S)return;UK0(a,d,{name:h,index:k,group:y,on:HK0,tween:JK0,time:I.time,delay:I.delay,duration:I.duration,ease:I.ease,timer:null,state:K20})}function tR(a,h){var d=kl(a,h);if(d.state>K20)throw new Error("too late; already scheduled");return d}function tA(a,h){var d=kl(a,h);if(d.state>w5)throw new Error("too late; already running");return d}function kl(a,h){var d=a.__transition;if(!d||!(d=d[h]))throw new Error("transition not found");return d}function UK0(a,h,d){var k=a.__transition,y;k[h]=d,d.timer=$20(I,0,d.time);function I(M){d.state=cS,d.timer.restart(S,d.delay,d.time),d.delay<=M&&S(M-d.delay)}function S(M){var Q,V,e0,l0;if(d.state!==cS)return R();for(Q in k)if(l0=k[Q],l0.name===d.name){if(l0.state===w5)return aS(S);l0.state===fX?(l0.state=d5,l0.timer.stop(),l0.on.call("interrupt",a,a.__data__,l0.index,l0.group),delete k[Q]):+QfS&&k.state>8&15|h>>4&240,h>>4&15|h&240,(h&15)<<4|h&15,1):d===8?Gv(h>>24&255,h>>16&255,h>>8&255,(h&255)/255):d===4?Gv(h>>12&15|h>>8&240,h>>8&15|h>>4&240,h>>4&15|h&240,((h&15)<<4|h&15)/255):null):(h=$K0.exec(a))?new U1(h[1],h[2],h[3],1):(h=KK0.exec(a))?new U1(h[1]*255/100,h[2]*255/100,h[3]*255/100,1):(h=bK0.exec(a))?Gv(h[1],h[2],h[3],h[4]):(h=eb0.exec(a))?Gv(h[1]*255/100,h[2]*255/100,h[3]*255/100,h[4]):(h=rb0.exec(a))?mX(h[1],h[2]/100,h[3]/100,1):(h=tb0.exec(a))?mX(h[1],h[2]/100,h[3]/100,h[4]):hX.hasOwnProperty(a)?pX(hX[a]):a==="transparent"?new U1(NaN,NaN,NaN,0):null}function pX(a){return new U1(a>>16&255,a>>8&255,a&255,1)}function Gv(a,h,d,k){return k<=0&&(a=h=d=NaN),new U1(a,h,d,k)}function nb0(a){return a instanceof aw||(a=Cc(a)),a?(a=a.rgb(),new U1(a.r,a.g,a.b,a.opacity)):new U1}function wS(a,h,d,k){return arguments.length===1?nb0(a):new U1(a,h,d,k??1)}function U1(a,h,d,k){this.r=+a,this.g=+h,this.b=+d,this.opacity=+k}iR(U1,wS,b20(aw,{brighter:function(a){return a=a==null?Sm:Math.pow(Sm,a),new U1(this.r*a,this.g*a,this.b*a,this.opacity)},darker:function(a){return a=a==null?Q6:Math.pow(Q6,a),new U1(this.r*a,this.g*a,this.b*a,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:kX,formatHex:kX,formatRgb:vX,toString:vX}));function kX(){return"#"+GI(this.r)+GI(this.g)+GI(this.b)}function vX(){var a=this.opacity;return a=isNaN(a)?1:Math.max(0,Math.min(1,a)),(a===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(a===1?")":", "+a+")")}function GI(a){return a=Math.max(0,Math.min(255,Math.round(a)||0)),(a<16?"0":"")+a.toString(16)}function mX(a,h,d,k){return k<=0?a=h=d=NaN:d<=0||d>=1?a=h=NaN:h<=0&&(a=NaN),new es(a,h,d,k)}function er0(a){if(a instanceof es)return new es(a.h,a.s,a.l,a.opacity);if(a instanceof aw||(a=Cc(a)),!a)return new es;if(a instanceof es)return a;a=a.rgb();var h=a.r/255,d=a.g/255,k=a.b/255,y=Math.min(h,d,k),I=Math.max(h,d,k),S=NaN,G=I-y,R=(I+y)/2;return G?(h===I?S=(d-k)/G+(d0&&R<1?0:S,new es(S,G,R,a.opacity)}function ob0(a,h,d,k){return arguments.length===1?er0(a):new es(a,h,d,k??1)}function es(a,h,d,k){this.h=+a,this.s=+h,this.l=+d,this.opacity=+k}iR(es,ob0,b20(aw,{brighter:function(a){return a=a==null?Sm:Math.pow(Sm,a),new es(this.h,this.s,this.l*a,this.opacity)},darker:function(a){return a=a==null?Q6:Math.pow(Q6,a),new es(this.h,this.s,this.l*a,this.opacity)},rgb:function(){var a=this.h%360+(this.h<0)*360,h=isNaN(a)||isNaN(this.s)?0:this.s,d=this.l,k=d+(d<.5?d:1-d)*h,y=2*d-k;return new U1(ZI(a>=240?a-240:a+120,y,k),ZI(a,y,k),ZI(a<120?a+240:a-120,y,k),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var a=this.opacity;return a=isNaN(a)?1:Math.max(0,Math.min(1,a)),(a===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(a===1?")":", "+a+")")}}));function ZI(a,h,d){return(a<60?h+(d-h)*a/60:a<180?d:a<240?h+(d-h)*(240-a)/60:h)*255}function nR(a){return function(){return a}}function lb0(a,h){return function(d){return a+d*h}}function sb0(a,h,d){return a=Math.pow(a,d),h=Math.pow(h,d)-a,d=1/d,function(k){return Math.pow(a+k*h,d)}}function Ab0(a){return(a=+a)==1?rr0:function(h,d){return d-h?sb0(h,d,a):nR(isNaN(h)?d:h)}}function rr0(a,h){var d=h-a;return d?lb0(a,d):nR(isNaN(a)?h:a)}const _m=function a(h){var d=Ab0(h);function k(y,I){var S=d((y=wS(y)).r,(I=wS(I)).r),G=d(y.g,I.g),R=d(y.b,I.b),M=rr0(y.opacity,I.opacity);return function(Q){return y.r=S(Q),y.g=G(Q),y.b=R(Q),y.opacity=M(Q),y+""}}return k.gamma=a,k}(1);function ub0(a,h){h||(h=[]);var d=a?Math.min(h.length,a.length):0,k=h.slice(),y;return function(I){for(y=0;yd&&(I=h.slice(d,I),G[S]?G[S]+=I:G[++S]=I),(k=k[0])===(y=y[0])?G[S]?G[S]+=y:G[++S]=y:(G[++S]=null,R.push({i:S,x:Kl(k,y)})),d=WI.lastIndex;return d180?Q+=360:Q-M>180&&(M+=360),e0.push({i:V.push(y(V)+"rotate(",null,k)-2,x:Kl(M,Q)})):Q&&V.push(y(V)+"rotate("+Q+k)}function G(M,Q,V,e0){M!==Q?e0.push({i:V.push(y(V)+"skewX(",null,k)-2,x:Kl(M,Q)}):Q&&V.push(y(V)+"skewX("+Q+k)}function R(M,Q,V,e0,l0,A0){if(M!==V||Q!==e0){var n0=l0.push(y(l0)+"scale(",null,",",null,")");A0.push({i:n0-4,x:Kl(M,V)},{i:n0-2,x:Kl(Q,e0)})}else(V!==1||e0!==1)&&l0.push(y(l0)+"scale("+V+","+e0+")")}return function(M,Q){var V=[],e0=[];return M=a(M),Q=a(Q),I(M.translateX,M.translateY,Q.translateX,Q.translateY,V,e0),S(M.rotate,Q.rotate,V,e0),G(M.skewX,Q.skewX,V,e0),R(M.scaleX,M.scaleY,Q.scaleX,Q.scaleY,V,e0),M=Q=null,function(l0){for(var A0=-1,n0=e0.length,h0;++A0=0&&(h=h.slice(0,d)),!h||h==="start"})}function Xb0(a,h,d){var k,y,I=Ub0(h)?tR:tA;return function(){var S=I(this,a),G=S.on;G!==k&&(y=(k=G).copy()).on(h,d),S.on=y}}function qb0(a,h){var d=this._id;return arguments.length<2?kl(this.node(),d).on.on(a):this.each(Xb0(d,a,h))}function $b0(a){return function(){var h=this.parentNode;for(var d in this.__transition)if(+d!==a)return;h&&h.removeChild(this)}}function Kb0(){return this.on("end.remove",$b0(this._id))}function bb0(a){var h=this._name,d=this._id;typeof a!="function"&&(a=KL(a));for(var k=this._groups,y=k.length,I=new Array(y),S=0;ScS&&k.name===h)return new cs([[a]],E0e,h,+y)}return null}function vS(){Nr.preventDefault(),Nr.stopImmediatePropagation()}function I0e(a){var h=a.document.documentElement,d=Cr(a).on("dragstart.drag",vS,!0);"onselectstart"in h?d.on("selectstart.drag",vS,!0):(h.__noselect=h.style.MozUserSelect,h.style.MozUserSelect="none")}function x0e(a,h){var d=a.document.documentElement,k=Cr(a).on("dragstart.drag",null);h&&(k.on("click.drag",vS,!0),setTimeout(function(){k.on("click.drag",null)},0)),"onselectstart"in d?k.on("selectstart.drag",null):(d.style.MozUserSelect=d.__noselect,delete d.__noselect)}function Wv(a){return function(){return a}}function S0e(a,h,d){this.target=a,this.type=h,this.transform=d}function Js(a,h,d){this.k=a,this.x=h,this.y=d}Js.prototype={constructor:Js,scale:function(a){return a===1?this:new Js(this.k*a,this.x,this.y)},translate:function(a,h){return a===0&h===0?this:new Js(this.k,this.x+this.k*a,this.y+this.k*h)},apply:function(a){return[a[0]*this.k+this.x,a[1]*this.k+this.y]},applyX:function(a){return a*this.k+this.x},applyY:function(a){return a*this.k+this.y},invert:function(a){return[(a[0]-this.x)/this.k,(a[1]-this.y)/this.k]},invertX:function(a){return(a-this.x)/this.k},invertY:function(a){return(a-this.y)/this.k},rescaleX:function(a){return a.copy().domain(a.range().map(this.invertX,this).map(a.invert,a))},rescaleY:function(a){return a.copy().domain(a.range().map(this.invertY,this).map(a.invert,a))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var ly=new Js(1,0,0);sy.prototype=Js.prototype;function sy(a){for(;!a.__zoom;)if(!(a=a.parentNode))return ly;return a.__zoom}function jI(){Nr.stopImmediatePropagation()}function L8(){Nr.preventDefault(),Nr.stopImmediatePropagation()}function _0e(){return!Nr.ctrlKey&&!Nr.button}function z0e(){var a=this;return a instanceof SVGElement?(a=a.ownerSVGElement||a,a.hasAttribute("viewBox")?(a=a.viewBox.baseVal,[[a.x,a.y],[a.x+a.width,a.y+a.height]]):[[0,0],[a.width.baseVal.value,a.height.baseVal.value]]):[[0,0],[a.clientWidth,a.clientHeight]]}function BX(){return this.__zoom||ly}function L0e(){return-Nr.deltaY*(Nr.deltaMode===1?.05:Nr.deltaMode?1:.002)}function R0e(){return navigator.maxTouchPoints||"ontouchstart"in this}function G0e(a,h,d){var k=a.invertX(h[0][0])-d[0][0],y=a.invertX(h[1][0])-d[1][0],I=a.invertY(h[0][1])-d[0][1],S=a.invertY(h[1][1])-d[1][1];return a.translate(y>k?(k+y)/2:Math.min(0,k)||Math.max(0,y),S>I?(I+S)/2:Math.min(0,I)||Math.max(0,S))}function Z0e(){var a=_0e,h=z0e,d=G0e,k=L0e,y=R0e,I=[0,1/0],S=[[-1/0,-1/0],[1/0,1/0]],G=250,R=Cb0,M=ry("start","zoom","end"),Q,V,e0=500,l0=150,A0=0;function n0(R0){R0.property("__zoom",BX).on("wheel.zoom",I0).on("mousedown.zoom",w0).on("dblclick.zoom",E0).filter(y).on("touchstart.zoom",z0).on("touchmove.zoom",W0).on("touchend.zoom touchcancel.zoom",P0).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}n0.transform=function(R0,T0,q0){var ae=R0.selection?R0.selection():R0;ae.property("__zoom",BX),R0!==ae?f0(R0,T0,q0):ae.interrupt().each(function(){y0(this,arguments).start().zoom(null,typeof T0=="function"?T0.apply(this,arguments):T0).end()})},n0.scaleBy=function(R0,T0,q0){n0.scaleTo(R0,function(){var ae=this.__zoom.k,de=typeof T0=="function"?T0.apply(this,arguments):T0;return ae*de},q0)},n0.scaleTo=function(R0,T0,q0){n0.transform(R0,function(){var ae=h.apply(this,arguments),de=this.__zoom,Se=q0==null?c0(ae):typeof q0=="function"?q0.apply(this,arguments):q0,we=de.invert(Se),Ie=typeof T0=="function"?T0.apply(this,arguments):T0;return d(u0(h0(de,Ie),Se,we),ae,S)},q0)},n0.translateBy=function(R0,T0,q0){n0.transform(R0,function(){return d(this.__zoom.translate(typeof T0=="function"?T0.apply(this,arguments):T0,typeof q0=="function"?q0.apply(this,arguments):q0),h.apply(this,arguments),S)})},n0.translateTo=function(R0,T0,q0,ae){n0.transform(R0,function(){var de=h.apply(this,arguments),Se=this.__zoom,we=ae==null?c0(de):typeof ae=="function"?ae.apply(this,arguments):ae;return d(ly.translate(we[0],we[1]).scale(Se.k).translate(typeof T0=="function"?-T0.apply(this,arguments):-T0,typeof q0=="function"?-q0.apply(this,arguments):-q0),de,S)},ae)};function h0(R0,T0){return T0=Math.max(I[0],Math.min(I[1],T0)),T0===R0.k?R0:new Js(T0,R0.x,R0.y)}function u0(R0,T0,q0){var ae=T0[0]-q0[0]*R0.k,de=T0[1]-q0[1]*R0.k;return ae===R0.x&&de===R0.y?R0:new Js(R0.k,ae,de)}function c0(R0){return[(+R0[0][0]+ +R0[1][0])/2,(+R0[0][1]+ +R0[1][1])/2]}function f0(R0,T0,q0){R0.on("start.zoom",function(){y0(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){y0(this,arguments).end()}).tween("zoom",function(){var ae=this,de=arguments,Se=y0(ae,de),we=h.apply(ae,de),Ie=q0==null?c0(we):typeof q0=="function"?q0.apply(ae,de):q0,Ne=Math.max(we[1][0]-we[0][0],we[1][1]-we[0][1]),f2=ae.__zoom,a2=typeof T0=="function"?T0.apply(ae,de):T0,H2=R(f2.invert(Ie).concat(Ne/f2.k),a2.invert(Ie).concat(Ne/a2.k));return function(j2){if(j2===1)j2=a2;else{var qe=H2(j2),ye=Ne/qe[2];j2=new Js(ye,Ie[0]-qe[0]*ye,Ie[1]-qe[1]*ye)}Se.zoom(null,j2)}})}function y0(R0,T0,q0){return!q0&&R0.__zooming||new C0(R0,T0)}function C0(R0,T0){this.that=R0,this.args=T0,this.active=0,this.extent=h.apply(R0,T0),this.taps=0}C0.prototype={start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(R0,T0){return this.mouse&&R0!=="mouse"&&(this.mouse[1]=T0.invert(this.mouse[0])),this.touch0&&R0!=="touch"&&(this.touch0[1]=T0.invert(this.touch0[0])),this.touch1&&R0!=="touch"&&(this.touch1[1]=T0.invert(this.touch1[0])),this.that.__zoom=T0,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(R0){DK0(new S0e(n0,R0,this.that.__zoom),M.apply,M,[R0,this.that,this.args])}};function I0(){if(!a.apply(this,arguments))return;var R0=y0(this,arguments),T0=this.__zoom,q0=Math.max(I[0],Math.min(I[1],T0.k*Math.pow(2,k.apply(this,arguments)))),ae=Rv(this);if(R0.wheel)(R0.mouse[0][0]!==ae[0]||R0.mouse[0][1]!==ae[1])&&(R0.mouse[1]=T0.invert(R0.mouse[0]=ae)),clearTimeout(R0.wheel);else{if(T0.k===q0)return;R0.mouse=[ae,T0.invert(ae)],p5(this),R0.start()}L8(),R0.wheel=setTimeout(de,l0),R0.zoom("mouse",d(u0(h0(T0,q0),R0.mouse[0],R0.mouse[1]),R0.extent,S));function de(){R0.wheel=null,R0.end()}}function w0(){if(V||!a.apply(this,arguments))return;var R0=y0(this,arguments,!0),T0=Cr(Nr.view).on("mousemove.zoom",Se,!0).on("mouseup.zoom",we,!0),q0=Rv(this),ae=Nr.clientX,de=Nr.clientY;I0e(Nr.view),jI(),R0.mouse=[q0,this.__zoom.invert(q0)],p5(this),R0.start();function Se(){if(L8(),!R0.moved){var Ie=Nr.clientX-ae,Ne=Nr.clientY-de;R0.moved=Ie*Ie+Ne*Ne>A0}R0.zoom("mouse",d(u0(R0.that.__zoom,R0.mouse[0]=Rv(R0.that),R0.mouse[1]),R0.extent,S))}function we(){T0.on("mousemove.zoom mouseup.zoom",null),x0e(Nr.view,R0.moved),L8(),R0.end()}}function E0(){if(a.apply(this,arguments)){var R0=this.__zoom,T0=Rv(this),q0=R0.invert(T0),ae=R0.k*(Nr.shiftKey?.5:2),de=d(u0(h0(R0,ae),T0,q0),h.apply(this,arguments),S);L8(),G>0?Cr(this).transition().duration(G).call(f0,de,T0):Cr(this).call(n0.transform,de)}}function z0(){if(a.apply(this,arguments)){var R0=Nr.touches,T0=R0.length,q0=y0(this,arguments,Nr.changedTouches.length===T0),ae,de,Se,we;for(jI(),de=0;de1&&(R.thisProgram=process.argv[1].replace(/\\/g,"/")),R.arguments=process.argv.slice(2),a.exports=R,process.on("uncaughtException",function(O){if(!(O instanceof Zi))throw O}),process.on("unhandledRejection",function(O,K){process.exit(1)}),R.inspect=function(){return"[Emscripten Module object]"}}else A0?(typeof read<"u"&&(R.read=function(K){var o0=Ho(K);return o0?ds(o0):read(K)}),R.readBinary=function(K){var o0;return o0=Ho(K),o0||(typeof readbuffer=="function"?new Uint8Array(readbuffer(K)):(o0=read(K,"binary"),E0(typeof o0=="object"),o0))},typeof scriptArgs<"u"?R.arguments=scriptArgs:typeof arguments<"u"&&(R.arguments=arguments),typeof quit=="function"&&(R.quit=function(O,K){quit(O)})):(V||e0)&&(R.read=function(K){try{var o0=new XMLHttpRequest;return o0.open("GET",K,!1),o0.send(null),o0.responseText}catch($){var C=Ho(K);if(C)return ds(C);throw $}},e0&&(R.readBinary=function(K){try{var o0=new XMLHttpRequest;return o0.open("GET",K,!1),o0.responseType="arraybuffer",o0.send(null),new Uint8Array(o0.response)}catch($){var C=Ho(K);if(C)return C;throw $}}),R.readAsync=function(K,o0,C){var $=new XMLHttpRequest;$.open("GET",K,!0),$.responseType="arraybuffer",$.onload=function(){if($.status==200||$.status==0&&$.response){o0($.response);return}var s0=Ho(K);if(s0){o0(s0.buffer);return}C()},$.onerror=C,$.send(null)},typeof arguments<"u"&&(R.arguments=arguments),R.setWindowTitle=function(O){document.title=O});R.print=typeof console<"u"?console.log:typeof print<"u"?print:null,R.printErr=typeof printErr<"u"?printErr:typeof console<"u"&&console.warn||R.print,R.print=R.print,R.printErr=R.printErr;for(Q in M)M.hasOwnProperty(Q)&&(R[Q]=M[Q]);M=void 0;var u0=16;function c0(O){E0(!h2);var K=n2;return n2=n2+O+15&-16,K}function f0(O){E0(tt);var K=Ee[tt>>2],o0=K+O+15&-16;if(Ee[tt>>2]=o0,o0>=R2){var C=Ji();if(!C)return Ee[tt>>2]=K,0}return K}function y0(O,K){K||(K=u0);var o0=O=Math.ceil(O/K)*K;return o0}function C0(O){switch(O){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(O[O.length-1]==="*")return 4;if(O[0]==="i"){var K=parseInt(O.substr(1));return E0(K%8===0),K/8}else return 0}}}new Array(0);var I0=8,w0=0;function E0(O,K){O||it("Assertion failed: "+K)}function z0(O){var K=R["_"+O];return E0(K,"Cannot call unknown function "+O+", make sure it is exported"),K}var W0={stackSave:function(){Mw()},stackRestore:function(){Dw()},arrayToC:function(O){var K=Pc(O.length);return Dc(O,K),K},stringToC:function(O){var K=0;if(O!=null&&O!==0){var o0=(O.length<<2)+1;K=Pc(o0),a2(O,K,o0)}return K}},P0={string:W0.stringToC,array:W0.arrayToC};function R0(O,K,o0,C,$){var e=z0(O),s0=[],M0=0;if(C)for(var ve=0;ve>0]=K;break;case"i8":Ue[O>>0]=K;break;case"i16":He[O>>1]=K;break;case"i32":Ee[O>>2]=K;break;case"i64":tempI64=[K>>>0,(tempDouble=K,+Xu(tempDouble)>=1?tempDouble>0?(hw(+Mc(tempDouble/4294967296),4294967295)|0)>>>0:~~+fw((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],Ee[O>>2]=tempI64[0],Ee[O+4>>2]=tempI64[1];break;case"float":xe[O>>2]=K;break;case"double":Pe[O>>3]=K;break;default:it("invalid type for setValue: "+o0)}}var q0=2,ae=4;function de(O,K,o0,C){var $,e;typeof O=="number"?($=!0,e=O):($=!1,e=O.length);var s0=typeof K=="string"?K:null,M0;if(o0==ae?M0=C:M0=[typeof Xi=="function"?Xi:c0,Pc,c0,f0][o0===void 0?q0:o0](Math.max(e,s0?1:K.length)),$){var ve;for(C=M0,E0((M0&3)==0),ve=M0+(e&-4);C>2]=0;for(ve=M0+e;C>0]=0;return M0}if(s0==="i8")return O.subarray||O.slice?Ye.set(O,M0):Ye.set(new Uint8Array(O),M0),M0;for(var x0=0,u,be,ne;x0>0],o0|=C,!(C==0&&!K||($++,K&&$==K)););K||(K=$);var e="";if(o0<128){for(var s0=1024,M0;K>0;)M0=String.fromCharCode.apply(String,Ye.subarray(O,O+Math.min(K,s0))),e=e?e+M0:M0,O+=s0,K-=s0;return e}return Ne(O)}var we=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function Ie(O,K){for(var o0=K;O[o0];)++o0;if(o0-K>16&&O.subarray&&we)return we.decode(O.subarray(K,o0));for(var C,$,e,s0,M0,ve,x0="";;){if(C=O[K++],!C)return x0;if(!(C&128)){x0+=String.fromCharCode(C);continue}if($=O[K++]&63,(C&224)==192){x0+=String.fromCharCode((C&31)<<6|$);continue}if(e=O[K++]&63,(C&240)==224?C=(C&15)<<12|$<<6|e:(s0=O[K++]&63,(C&248)==240?C=(C&7)<<18|$<<12|e<<6|s0:(M0=O[K++]&63,(C&252)==248?C=(C&3)<<24|$<<18|e<<12|s0<<6|M0:(ve=O[K++]&63,C=(C&1)<<30|$<<24|e<<18|s0<<12|M0<<6|ve))),C<65536)x0+=String.fromCharCode(C);else{var u=C-65536;x0+=String.fromCharCode(55296|u>>10,56320|u&1023)}}}function Ne(O){return Ie(Ye,O)}function f2(O,K,o0,C){if(!(C>0))return 0;for(var $=o0,e=o0+C-1,s0=0;s0=55296&&M0<=57343&&(M0=65536+((M0&1023)<<10)|O.charCodeAt(++s0)&1023),M0<=127){if(o0>=e)break;K[o0++]=M0}else if(M0<=2047){if(o0+1>=e)break;K[o0++]=192|M0>>6,K[o0++]=128|M0&63}else if(M0<=65535){if(o0+2>=e)break;K[o0++]=224|M0>>12,K[o0++]=128|M0>>6&63,K[o0++]=128|M0&63}else if(M0<=2097151){if(o0+3>=e)break;K[o0++]=240|M0>>18,K[o0++]=128|M0>>12&63,K[o0++]=128|M0>>6&63,K[o0++]=128|M0&63}else if(M0<=67108863){if(o0+4>=e)break;K[o0++]=248|M0>>24,K[o0++]=128|M0>>18&63,K[o0++]=128|M0>>12&63,K[o0++]=128|M0>>6&63,K[o0++]=128|M0&63}else{if(o0+5>=e)break;K[o0++]=252|M0>>30,K[o0++]=128|M0>>24&63,K[o0++]=128|M0>>18&63,K[o0++]=128|M0>>12&63,K[o0++]=128|M0>>6&63,K[o0++]=128|M0&63}}return K[o0]=0,o0-$}function a2(O,K,o0){return f2(O,Ye,K,o0)}function H2(O){for(var K=0,o0=0;o0=55296&&C<=57343&&(C=65536+((C&1023)<<10)|O.charCodeAt(++o0)&1023),C<=127?++K:C<=2047?K+=2:C<=65535?K+=3:C<=2097151?K+=4:C<=67108863?K+=5:K+=6}return K}typeof TextDecoder<"u"&&new TextDecoder("utf-16le");function j2(O){var K=H2(O)+1,o0=Xi(K);return o0&&f2(O,Ue,o0,K),o0}function qe(O){return O}function ye(O){var K=/__Z[\w\d_]+/g;return O.replace(K,function(o0){var C=o0;return o0===C?o0:o0+" ["+C+"]"})}function Be(){var O=new Error;if(!O.stack){try{throw new Error(0)}catch(K){O=K}if(!O.stack)return"(no stack trace available)"}return O.stack.toString()}function Ce(){var O=Be();return R.extraStackTrace&&(O+=` +`+R.extraStackTrace()),ye(O)}var _e=16384,ce,Ue,Ye,He,Ee,xe,Pe;function je(){R.HEAP8=Ue=new Int8Array(ce),R.HEAP16=He=new Int16Array(ce),R.HEAP32=Ee=new Int32Array(ce),R.HEAPU8=Ye=new Uint8Array(ce),R.HEAPU16=new Uint16Array(ce),R.HEAPU32=new Uint32Array(ce),R.HEAPF32=xe=new Float32Array(ce),R.HEAPF64=Pe=new Float64Array(ce)}var r2,n2,h2,N2,b2,mr,xr,tt;r2=n2=N2=b2=mr=xr=tt=0,h2=!1;function nn(){it("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+R2+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function Ji(){nn()}var ki=R.TOTAL_STACK||5242880,R2=R.TOTAL_MEMORY||16777216;R20;){var K=O.shift();if(typeof K=="function"){K();continue}var o0=K.func;typeof o0=="number"?K.arg===void 0?R.dynCall_v(o0):R.dynCall_vi(o0,K.arg):o0(K.arg===void 0?null:K.arg)}}var no=[],ws=[],C3=[],Dt=[],Zc=[],zi=!1;function E3(){if(R.preRun)for(typeof R.preRun=="function"&&(R.preRun=[R.preRun]);R.preRun.length;)Ju(R.preRun.shift());G1(no)}function Wc(){zi||(zi=!0,G1(ws))}function Li(){G1(C3)}function B3(){G1(Dt)}function vl(){if(R.postRun)for(typeof R.postRun=="function"&&(R.postRun=[R.postRun]);R.postRun.length;)iA(R.postRun.shift());G1(Zc)}function Ju(O){no.unshift(O)}function iA(O){Zc.unshift(O)}function Dc(O,K){Ue.set(O,K)}function Uu(O,K,o0){for(var C=0;C>0]=O.charCodeAt(C);o0||(Ue[K>>0]=0)}(!Math.imul||Math.imul(4294967295,5)!==-5)&&(Math.imul=function(K,o0){var C=K>>>16,$=K&65535,e=o0>>>16,s0=o0&65535;return $*s0+(C*s0+$*e<<16)|0}),Math.imul=Math.imul,Math.clz32||(Math.clz32=function(O){O=O>>>0;for(var K=0;K<32;K++)if(O&1<<31-K)return K;return 32}),Math.clz32=Math.clz32,Math.trunc||(Math.trunc=function(O){return O<0?Math.ceil(O):Math.floor(O)}),Math.trunc=Math.trunc;var Xu=Math.abs,En=Math.sqrt,fw=Math.ceil,Mc=Math.floor,uy=Math.pow,hw=Math.min,ml=0,qu=null;function jc(O){ml++,R.monitorRunDependencies&&R.monitorRunDependencies(ml)}function $u(O){if(ml--,R.monitorRunDependencies&&R.monitorRunDependencies(ml),ml==0&&qu){var K=qu;qu=null,K()}}R.preloadedImages={},R.preloadedAudios={};var Bn=null,Yo="data:application/octet-stream;base64,";function ww(O){return String.prototype.startsWith?O.startsWith(Yo):O.indexOf(Yo)===0}var ay=[function(O,K){var o0=Se(O),C=Se(K);p0.createPath("/",S2.dirname(o0)),p0.writeFile(S2.join("/",o0),C)}];function I3(O,K,o0){return ay[O](K,o0)}r2=I0,n2=r2+197232,ws.push(),Bn="data:application/octet-stream;base64,AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/ACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAIMEAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABSQAAAAAAAAFJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFJAAAAAAAAAUkAAIME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MAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAALgAAABMAAAATAAAAEwAAAC8AAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAADAAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAEwAAABMAAAATAAAAAAAAAAEAAAABAAAAAgAAAAMAAAABAAAABAAAAAEAAAAFAAAAAQAAAAYAAAAHAAAABwAAAAEAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAAAwAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAIAAAAB5swEAWrMBACB8AQCGswEAfrMBAIyzAQAAAAAAJoABAC+AAQA2gAEARIABAHqyAQCiswEAS4ABAFKAAQABAAAACAAAAP////8AAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAA8IEBAAgAAAADAAAA+YEBAP2BAQALAAAABgAAAKiNAQAJggEAAgAAAAEAAAAMggEAEIIBAAQAAAACAAAAFYIBABmCAQAEAAAABAAAAB6CAQAjggEABQAAAAUAAAApggEALYIBAAQAAAAHAAAAMoIBADaCAQAFAAAACQAAADyCAQBAggEABAAAAAoAAABFggEASoIBAAQAAAAMAAAAT4IBAOKG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wWHBwcHBwcHBwcHBYcGhwcFhwcHBwcFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYcFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhwWFhYWFhYWFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////8AAAAAAAAABP7//4f+//8HAAAAAAAAAAD//3////9///////////N//v3//////3///////////w/g/////zH8////AAAAAAAAAP//////////////AQD4AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQNf///v/////f39U/f8PAP7f///////////+3/////8DAP///////58Z////zz8DAAAAAAAA/v///38C/v///38AAAAAAAAAAAD///8HBwAAAAAA/v//B/4HAAAAAP7//////////3z/fy8AYAAAAOD///////8jAAAA/wMAAADgn/n///3FAwAAALADAAMA4If5///9bQMAAABeAAAcAOCv+////e0jAAAAAAEAAADgn/n///3NIwAAALADAAAA4Mc91hjHvwMAAAAAAAAAAODf/f///e8DAAAAAAMAAADg3/3///3vAwAAAEADAAAA4N/9///9/wMAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAD+/////38NAD8AAAAAAAAAliXw/q5sDSAfAAAAAAAAAAAAAAAAAAAA//7///8DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////PwD/////fwDt2gcAAAAAUAFQMYKrYiwAAAAAQADJgPUHAAAAAAgBAv////////////////////////8P//////////////8D//8/P/////8/P/+q////P////////99f3B/PD/8f3B8AAAAAQEwAAAAAAAAAAAAABwAAAAAAAAAAAAAAAAAAAIAAAAD+AwAA/v///////////x8A/v////////////8H4P////8fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//////////////////////////z8AAAAAAAAAAAAAAP//////////////////////////DwAAAAAAAAAAAAAAAAAAAABg/wf+//+H/v//BwAAAAAAAIAA//9/////f/////8AAAAAAAAA//////////////8BAPgDAAMAAAAAAP//////////PwAAAAMAAADA1///+/////9/f1T9/w8A/t////////////7f/////3sA////////nxn////PPwMAAAAAAAD+////fwL+////fwD+//v//7sWAP///wcHAAAAAAD+//8H//8HAP8D////////////fP9/7///Pf8D7v////////P/Px7/z/8AAO6f+f///cXTnzmAsM//AwDkh/n///1t04c5AF7A/x8A7q/7///97fO/OwAAwf8AAO6f+f///c3zjznAsMP/AADsxz3WGMe/w8c9gACA/wAA7t/9///978PfPWAAw/8AAOzf/f///e/D3z1gQMP/AADs3/3///3/w889gADD/wAAAAAAAAAAAAAAAAAAAAAAAP7/////f/8H/3//AwAAAACWJfD+rmz/O18//wMAAAAAAAAAA/8DoML//v///wP+/98Pv/7/P/4CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP8fAgAAAKAAAAD+/z4A/v///////////x9m/v////////////93GQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACgAAAApAAAAIAAAACoAAAAMAAAAGQAAACEAAAAGAAAABwAAAAEAAAABAAAAAAAAAAAAAAAAFQoAABUAAAAAAAAAAAAAAAAAAAAAAAAVEAwTHB4DDR8gISIjGxoRGRkZGRkZGRkZGRYSAg4LDxwYGBgYGBgWFhYWFhYWFhYWFhYWFhYWFhYWFhQcBBwWHBgYGBgYGBYWFhYWFhYWFhYWFhYWFhYWFhYWHCQcHBwICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUGBgYGBgYGBgYGBgYGBgYGBwcHBwcAAAAAAAAAAAABASsAAAAsAAAALQAAAC4AAAAvAAAALQAAADAAAAAxAAAAMgAAABkAAAAaAAAAGwAAABwAAAAdAAAAHgAAAB8AAAAoAAAAKQAAACAAAAAqAAAADAAAABkAAAAhAAAABgAAAAcAAAABAAAAAQAAAAAAAAAAAAAAABUKAAAJAAAAAAAAAAAAAAAAAAAAA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AAQABAAEAAQABAAEAAQABAAEAAQABAAMABAAHAAMABAAFAAUABgAGAAgABwAHABEAFgASABEAEgAIAAgADwAPABcADwAYAA8AGQAaABoAHgAWADQAHgAFADIABgAiACIAMwAXABgANQAZABoAGgAqADYAKgA0ADcAMgBFADsAPAAzADsAPABGADUARwBIAEwANgAiAEkASgA3AEUATgBQAGIAUQBSAFQARgBHAFUASABMAFYASQBKAFgAWgBOAEQAUABRAFIAVAA4AC8ALABVACkAVgAbABAAWABaAF0AXQBdAF0AXQBdAF0AXgBeAF4AXgBeAF4AXgBfAF8AXwBfAF8AXwBfAGAACQBgAGAAYABgAGAAYQBhAGMAAgBjAGMAYwBjAGMAZAAAAGQAAABkAGQAZABlAAAAZQBlAGUAZQBlAGYAZgAAAGYAZgBmAGYAZwAAAGcAZwBnAGcAaAAAAGgAaABoAGgAaABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAAAAXAABAF0AXQBeAF4AXwBfAFwAXABcAFwAXABgAFwAXABcAGEAXABcAGIAYgBiAGIAYgBiAGIAYwBkAGUAZgBmAFwAXABnAFwAXABcAGAAXABcAGEAXABhAFwAaABhAFwAYgBiAGIAYgBiAGIAYgBiAGMAZABlAGUAXABmAFwAXABcAGcAaABhAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgBiAGIAYgAAAFwAXABcAFwAXABcAFwAXABcAFwAXABcAAAACgALAAwADQAOAAoADwAQABEAEgATAAoAFAAVABUAFQAWABcAFQAYABUAFQAZABUAFQAVABoAFQAVAAoAFQAVABUAFgAXABgAFQAVABkAFQAVABUAGgAVABUAFQAVABsADAAMACQAHgAeACAAIQAgACEAJAAlACYALQAyAC8ALgAqACUAJgAoACkAMwAqADQAKwA1ADYANwA8ADIARwA9ACIARQAiAD8AQABGADMANABIADUANg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EVDVABkaQBzdHJpY3QgAHsKAF07CgAS7u4UCQPu/u7u7gHu7u4B7u4K/u4TGRXuEwHu7u7uCxHu7u7u7u7u7u4B7u4WCQEBHQ8X7u4aFxvu7hzu7u7uARn77u7uAe4Q7u4e7u7u7gACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIXEQICAgICAgICAgICAgISEAITAgIWAgICAgICAgICAgICAgICAgICAgICAgICAgIUAhUCAgICAgICAgICAgICAgICAgICAgICAgICAgICAg4CDwICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBAgMEBQYHCAkKCwwNCwMEBQ8HAwwNBgwNDgwNGhUWAAEAAwcOBg8IDA0SEyoQEQkQLzARMhcTDRQSLhIUQRMyEyxAKkIZLEJGIgwNDiMPCRARChARyRARLUVG/AEG9g8H9iQCEBEvMDZNTigmOzwqNjE5PT8vOkDYRDA+JTdDNUsrOElMAAMJAAAAAQ4CCwwIIyQlNjs9AA0QEhsWHBInMiIXMx48Bgc1BQ8RFBgpABMpAAAAAAA3FSgdHgAhJjQfMD4ZLAAbACAaKgArOi4vADE4OS0AAgIBAAMDAQABAAEBAQACAQEAAgIDAQEAAAUAAQMBAwUDAQEBAQIAAQAEAgACAQEDAgEAAwIBAAEBAAEBAQMAGBkZGRobHBwdHR4eHx8gICEhIiIjJCQmJyUlKCgpKSkqKisrKywsLS0uLy8wMTEyMzQ2NTc3Nzg4ODk5Ojru7v/u7u7u7u4fIO4A7+7u7gzu7u4IDe7u7vju7u7u7u717v8DCAQhBQsSEycUFRYpMkEXGBkaLDM0QkdIG0ocHS4eTx8ga2V5AGF0dHJpYnV0ZSBtYWNyb3Mgbm90IGltcGxlbWVudGVkACVzOiVzAENvdWxkIG5vdCBvcGVuICIlcyIgZm9yIHdyaXRpbmcgOiAl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Avc3ZnL3BpbmsAL3N2Zy9wbHVtAC9zdmcvcG93ZGVyYmx1ZQAvc3ZnL3B1cnBsZQAvc3ZnL3JlZAAvc3ZnL3Jvc3licm93bgAvc3ZnL3JveWFsYmx1ZQAvc3ZnL3NhZGRsZWJyb3duAC9zdmcvc2FsbW9uAC9zdmcvc2FuZHlicm93bgAvc3ZnL3NlYWdyZWVuAC9zdmcvc2Vhc2hlbGwAL3N2Zy9zaWVubmEAL3N2Zy9zaWx2ZXIAL3N2Zy9za3libHVlAC9zdmcvc2xhdGVibHVlAC9zdmcvc2xhdGVncmF5AC9zdmcvc2xhdGVncmV5AC9zdmcvc25vdwAvc3ZnL3NwcmluZ2dyZWVuAC9zdmcvc3RlZWxibHVlAC9zdmcvdGFuAC9zdmcvdGVhbAAvc3ZnL3RoaXN0bGUAL3N2Zy90b21hdG8AL3N2Zy90dXJxdW9pc2UAL3N2Zy92aW9sZXQAL3N2Zy93aGVhdAAvc3ZnL3doaXRlAC9zdmcvd2hpdGVzbW9rZQAvc3ZnL3llbGxvdwAvc3ZnL3llbGxvd2dyZWVuAC95bGduMy8xAC95bGduMy8yAC95bGduMy8zAC95bGduNC8xAC95bGduNC8yAC95bGduNC8zAC95bGduNC80AC95bGduNS8xAC95bGduNS8yAC95bGduNS8zAC95bGduNS80AC95bGduNS81AC95bGduNi8xAC95bGduNi8yAC95bGduNi8zAC95bGduNi80AC95bGduNi81AC95bGduNi82AC95bGduNy8xAC95bGduNy8yAC95bGduNy8zAC95bGduNy80AC95bGduNy81AC95bGduNy82AC95bGduNy83AC95bGduOC8xAC95bGduOC8yAC95bGduOC8zAC95bGduOC80AC95bGduOC81AC95bGduOC82AC95bGduOC83AC95bGduOC84AC95bGduOS8xAC95bGduOS8yAC95bGduOS8zAC95bGduOS80AC95bGduOS81AC95bGduOS82AC95bGduOS83AC95bGduOS84AC95bGduOS85AC95bGduYnUzLzEAL3lsZ25idTMvMgAveWxnbmJ1My8zAC95bGduYnU0LzEAL3lsZ25id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AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKAICAgICAhAMWQEAH1AIAwcSExRXFhcIC2kMHwoFDA4pESsPLRAvMCAyBjQ1GxwdHgsMISIjJCUmJygMGBkXBAobHBogKgohIiMkJSYnKAwKDlMKLFgxWFhYWFhYDBscDy5YMyEiIyQlJicoGxz/U///ISIjJCUmJygM//8F////CRT//////wwbHP8QFRYhIiMkJSYnKBsc/////yEiIyQlJicoDP8SExQRFhf///////8MGxz///8SISIjJCUmJygbHP////8hIiMkJSYnKAz///////8T////////DBsc/////yEiIyQlJicoGxz/////ISIjJCUmJygSExQVFhcYGf///////////yMkJSYnGxITFBYXIjZoAR84ViEgAhsbG14bGzc5cDbSwk8EPCJHIj8iRCIiWCJlIiIFBl9gOQQHCAkKCwwNDgRmZ11qbQUGb1g7cQcICQoLDA0OBHI8W3M+YUYbEhMUFhcEBQY/QWJJBwgJCgsMDQ4FBgBcAAAHCAkKCwwNDgQAAE8AAABTQgAAAAAABAUGAERUVQcICQoLDA0OBQYAAAAABwgJCgsMDQ4EACosLkcxMwAAAAAAAAQFBgAAAEoHCAkKCwwNDgUGAAAAAAcICQoLDA0OBAAAAAAAAEwAAAAAAAAEBQYAAAAABwgJCgsMDQ4FBgAAAAAHCAkKCwwNDikrLS8wMjQ1AAAAAAAAAAAAKSstMDIABC8AJCMAEhQWGhweIBgABQcvLy8ALy8AAAkIKAAAASICBgAAAAAACAAAAAAAAAAAAAAAAAAlAyYTCikVCyoXDi0ZERsMKx0NLB8PIRAAMwAwAC9DADEALwA1LidCMkEAOjgAPDRFADYAQAAAPwBENzs5PQACAwMBAQIBAQEDAwMDAwMDAwEBAQEBAQEBAQEBAQEBAQECAQECAAYBAwMDAwMBAAECAwAEAQIDAAQABAAEAAMCAQIBAgF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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAEAABgAAAAAAAAAAAA4AAAAABAAAABwAAAAAAAAAAAAAAAAAAAAMAAA/n8vAAD/A/9/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4xAAAAAAAAAAAAAAAAAAAAAAAAxP////8AAADAAAAAAAAAAAABAOCfAAAAAH8/AAAAAAAAAAAAAAAAAAAAABAAEAAA/P///x8AAAAAAAwAAAAAAABAAAzwAAAAAAAAwPgAAAAAAAAAwAAAAAAAAAAA/wD///8hEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////fwAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAPgAOAA4ABggPj////8//////9/H/zxf/9/AAD///8DAAD/////AQB7A9DBr0IADB+8//8AAAAAAAL//////////////////////////////////////////////////////////w8A/////38AAAD/BwAA/////////////z8AAAAAAAD8///+/////////////////////////////////////////////////////x//AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOCHA/4AAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAP//////f/8PAAAAAAAAAAD////7/////////////w8A//////////////////////////////////8/AAAA/w8e////AfzB4AAAAAAAAAAAAAAAHgEAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAP//AAAAAP////8PAAAA////f////////////////////////////////////38AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAP///////38AAAAAAADAAOAAAAAAAAAAAAAAAIAPcAAAAAAAAAAAAAAAAAAA/wD//38AAwAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAEQIAAAAD/8DAAAAAAAA8AAAAAAAAAAAABDAAAD//wMHAAAAAAD4AAAAAAiAAAAAAAAAAAAAAAgA/z8AwAAAAAAAAAAAAAAAAAAAAPAAAIALAAAAAAAAAIACAADAAABDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAgAAAAAAAAAAAAAAAAAAAAD8/wMAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADD///8DfwD/////9/9/DwAAAAAAAAAAAAAAAAAAAAAAgP7/APwBAAD4AQAA+D8AAAAAAAAAAAAAAAAAAAB/fwAwh///////j/8AAAAAAADg//8H/w8AAAAAAAD//////z8AAAAADwAAAAAAAAAAAAAAAAAAgAAAAAAAAAEAAAAAAAAAAAAAAAAAAACA/wAAAAAAAAAAAAAAAAAAAAAAAAAAAADAjwAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAh/8A/wEAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+AAAA/wAAAP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////fwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMA//P8/AAAAAwAAAAAAAP4DAAAAAAAAAAAAAAAAABgADwAAAAAAAAAAAAAAAAAAAOEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAcAAAAAAAAAAAAAAAAA////////////////////////////////////////PwD/////f/7///////////////////////////8/AAAAAP//////////PwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////////////38A//8DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAIAAAACAAAIAAAACAAAIAAAACAAAAAAgAAAAIAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwD//////w////////////////8PAP9//n/+//7/AAAAAP8H////f/////////8P//////8HAAAAAAAAAADA////BwD//////wf/AQMAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////AQC///////////8f//8PAP/////fBwAA//8BAP////////9//f////////////////////////////8e/////////z8PAP///wAAAAAAAAAAAAAAAAAAAAAAAPj//////////+H/AAAAAAAA//////////8/AAAAAAAAAP//////////////////DwAAAAAAAAAAAAAAAAAAAAAA/////////////////////////////////////////////////////////////////wABAgMEBQYHCAn/////////CgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiP///////8KCwwNDg8QERITFBUWFxgZGhscHR4fICEiI/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AAQIEBwMGBQASERMUFRYXGBkaGxwdHh8gIREiIyQRJSYnKCkqKywRLS4vEBAwEBAQEBAQEDEyMxA0NRAQERERERERERERERERERERERERERERERERETYRERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERE3ERERETgROTo7PD0+ERERERERERERERERERERERERERERERERERERERERERERERERERERERERET8QEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBARQEERQkNERUZHSEkQEBBKS0xNThAQEE9QEBAQEFEQEBAQEBAQEBARERFSUxAQEBAQEBAQEBAQEREREVQQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAREVUQEBAQVhAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBBXEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBBYWVpbEBAQEBAQEBAQEBAQEBAQEBAQEBAQEFwQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////8AAAAAAAAAAP7//wf+//8HAAAAAAAEIAT//3////9//////////////////////////////////8P/AwAfUAAAAAAAAAAAAAAgAAAAAADfPEDX///7////////////v///////////////////////A/z/////////////////////////AP7///9/Av7/////AAAAAAD/v7YA////BwcAAAD/B//////////+/8P////////////////vH/7h/58AAP///////wDg////////////////AwD//////wcwBP////z/HwAA////AQAAAAAAAAAA/R8AAAAAAADwA/9//////////+//3+H/z//+/u6f+f///cXjn1mAsM//AwDuh/n///1tw4cZAl7A/z8A7r/7///97eO/GwEAz/8AAO6f+f///e3jnxnAsM//AgDsxz3WGMf/w8cdgQDA/wAA7t/9///97+PfHWADz/8AAOzf/f///e/j3x1gQM//BgDs3/3/////599dgADP/wD87P9//P//+y9/gF//AAAMAP7/////f/8HPyD/AwAAAACWJfD+ruz/O18g//MAAAAAAQAAAP8DAAD//v///x/+/wP///7///8fAAAAAAAAAAD///////9/+f8D///nwf//f0D/M/////+/IP//////9////////////z1/Pf//////Pf////89fz3/f/////////89//////////+HAAAAAP//AAD/////////////HwD+//////////////////////////////////////////////////////////+f///+//8H////////////xwEA/98PAP//DwD//w8A/98NAP///////8///wGAEP8DAAAAAP8D//////////////8A//////8H//////////8/AP///x//D/8BwP////8/HwD//////w////8D/wMAAAAA////D/////////9//v8fAP8D/wOAAAAAAAAAAAAAAAD////////v/+8P/wMAAAAA///////z////////v/8DAP///////z8A/+P//////z8AAAAAAAAAAAAAAAAA3m8A////////////////////////////////AAAAAAAAAAD//z8//////z8//6r///8/////////31/cH88P/x/cHwAAAAAAAAAAAAAAAAAAAoAAAP8fAAAAAAAAAAAAAAAAhPwvPlC9//PgQwAA//////8BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwP///////wMAAP//////f///////f/////////////////////8feAwA/////78g/////////4AAAP//fwB/f39/f39/f/////8AAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAD+Az4f/v///////////3/g/v/////////////34P////8//v////////////9/AAD///8HAAAAAAAA////////////////////////////////PwAAAAAAAAAAAP////////////////////////////////8fAAAAAAAA//////////////////////8fAAAAAAAAAAD//////z//H////w8AAP//////f/CP////gP////////////8AAAAAgP/8////////////////eQ8A/wcAAAAAAAAAAAD/u/f///8AAAD///////8PAP//////////DwD/AwAA/Aj//////wf/////BwD///8f////////9/8AgP8DAAAAAP///////38A/z//A///fwT/////////fwUAADj//zwAfn5+AH9/AAAAAAAAAAAAAAAAAAAAAAAA//////8H/wP//////////////////////////w8A//9/+P//////D/////////////////8//////////////////wMAAAAAfwD44P/9f1/b/////////////////wMAAAD4////////////////PwAA///////////8////////AAAAAAD/DwAAAAAAAAAAAAAAAAAA3/////////////////////8fAAD/A/7//wf+//8HwP////////////9//Pz8HAAAAAD/7///f///t/8//z8AAAAA////////////////////BwAAAAAAAAAA////////HwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///x////////8BAAAAAAD///9/AAD///8HAAAAAAAA////P/////8P/z4AAAAAAP////////////////////////8//wMAAAAAAAAAAAAAP/3/////v5H//z8AAAAAAAAAAAAAAAAAAAAAAAAAAAD//z8A////AwAAAAAAAAAA/////////8AAAAAAAAAAAG/w7/7//w8AAAAAAP///x8AAAAAAAAAAAAAAAAAAAAA////////PwD//z8A//8HAAAAAAAAAAAAAAAAAAAAAAD///////////8BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//////////PwAAAMD/AAD8////////AQAA////Af8D////////x/8AAAAAAAAAAP//////////HgD/AwAAAAAAAAAAAAAAAAAAAAAAAAAA////////PwD/AwAAAAAAAP////////////////9/AAAAAAAAAAAAAAAAAAAAAAAA////////////////BwAAAAAAAAAAAAAAAAAAAAAAAAD//////38AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////8BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////8fAP//////fwAA+P8AAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/////////////f///////////fZN7/6+//////////v+ff3////3tf/P3//////////////////////////////////////////////////////z/////9///3////9///3////9///3////9//////f////3///fP////////7////5b+9wqE6paqlvf3Xv/7/w/u+/8PAAAAAAAAAABMQ19BTEwATENfQ1RZUEUAAAAATENfTlVNRVJJQwAATENfVElNRQAAAAAATENfQ09MTEFURQAATENfTU9ORVRBUlkATENfTUVTU0FHRVMATEFORwBDLlVURi04AFBPU0lYAE1VU0xfTE9DUEFUSAARAAoAERERAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABEADwoREREDCgcAARMJCwsAAAkGCwAACwAGEQAAABEREQAAAAAAAAAAAAAAAAAAAAALAAAAAAAAAAARAAoKERERAAoAAAIACQsAAAAJAAsAAAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAADAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA0AAAAEDQAAAAAJDgAAAAAADgAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAPAAAAAA8AAAAACRAAAAAAABAAABAAABIAAAASEhIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEgAAABISEgAAAAAAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAAoAAAAACgAAAAAJCwAAAAAACwAACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAwAAAAACQwAAAAAAAwAAAwAAC0rICAgMFgweAAobnVsbCkALTBYKzBYIDBYLTB4KzB4IDB4AGluZgBJTkYATkFOADAxMjM0NTY3ODlBQkNERUYuAGFsbnVtAGFscGhhAGJsYW5rAGNudHJsAGRpZ2l0AGdyYXBoAGxvd2VyAHByaW50AHB1bmN0AHNwYWNlAHVwcGVyAHhkaWdpdABDLlVURi04AAAAAAAAAAAAQwAvcHJvYy9zZWxmL2ZkLwByd2EAaW5maW5pdHkAbmFuAAkACgANAAwABwAbAFtbOmFsbnVtOl1fXQBbXls6YWxudW06XV9dAFtbOnNwYWNlOl1dAFteWzpzcGFjZTpdXQBbWzpkaWdpdDpdXQBbXls6ZGlnaXQ6XV0AL3RtcC90bXBmaWxlX1hYWFhYWAB3Kw==";var x3=n2;n2+=16;function Yn(O,K,o0,C){it("Assertion failed: "+Se(O)+", at: "+[K?Se(K):"unknown filename",o0,C?Se(C):"unknown function"])}function er(){it()}function Nc(){return l0||typeof dateNow<"u"||(V||e0)&&self.performance&&self.performance.now}var fe={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};function J2(O){return R.___errno_location&&(Ee[R.___errno_location()>>2]=O),O}function nA(O,K){var o0;if(O===0)o0=Date.now();else if(O===1&&Nc())o0=er();else return J2(fe.EINVAL),-1;return Ee[K>>2]=o0/1e3|0,Ee[K+4>>2]=o0%1e3*1e3*1e3|0,0}function oA(){return nA.apply(null,arguments)}function Ku(){}function lA(O,K){return J2(fe.EPERM),-1}var Vo={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"},S2={splitPath:function(O){var K=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return K.exec(O).slice(1)},normalizeArray:function(O,K){for(var o0=0,C=O.length-1;C>=0;C--){var $=O[C];$==="."?O.splice(C,1):$===".."?(O.splice(C,1),o0++):o0&&(O.splice(C,1),o0--)}if(K)for(;o0;o0--)O.unshift("..");return O},normalize:function(O){var K=O.charAt(0)==="/",o0=O.substr(-1)==="/";return O=S2.normalizeArray(O.split("/").filter(function(C){return!!C}),!K).join("/"),!O&&!K&&(O="."),O&&o0&&(O+="/"),(K?"/":"")+O},dirname:function(O){var K=S2.splitPath(O),o0=K[0],C=K[1];return!o0&&!C?".":(C&&(C=C.substr(0,C.length-1)),o0+C)},basename:function(O){if(O==="/")return"/";var K=O.lastIndexOf("/");return K===-1?O:O.substr(K+1)},extname:function(O){return S2.splitPath(O)[3]},join:function(){var O=Array.prototype.slice.call(arguments,0);return S2.normalize(O.join("/"))},join2:function(O,K){return S2.normalize(O+"/"+K)},resolve:function(){for(var O="",K=!1,o0=arguments.length-1;o0>=-1&&!K;o0--){var C=o0>=0?arguments[o0]:p0.cwd();if(typeof C!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!C)return"";O=C+"/"+O,K=C.charAt(0)==="/"}return O=S2.normalizeArray(O.split("/").filter(function($){return!!$}),!K).join("/"),(K?"/":"")+O||"."},relative:function(O,K){O=S2.resolve(O).substr(1),K=S2.resolve(K).substr(1);function o0(x0){for(var u=0;u=0&&x0[be]==="";be--);return u>be?[]:x0.slice(u,be-u+1)}for(var C=o0(O.split("/")),$=o0(K.split("/")),e=Math.min(C.length,$.length),s0=e,M0=0;M00?K=C.slice(0,$).toString("utf-8"):K=null}else typeof window<"u"&&typeof window.prompt=="function"?(K=window.prompt("Input: "),K!==null&&(K+=` +`)):typeof readline=="function"&&(K=readline(),K!==null&&(K+=` +`));if(!K)return null;O.input=yl(K,!0)}return O.input.shift()},put_char:function(O,K){K===null||K===10?(R.print(Ie(O.output,0)),O.output=[]):K!=0&&O.output.push(K)},flush:function(O){O.output&&O.output.length>0&&(R.print(Ie(O.output,0)),O.output=[])}},default_tty1_ops:{put_char:function(O,K){K===null||K===10?(R.printErr(Ie(O.output,0)),O.output=[]):K!=0&&O.output.push(K)},flush:function(O){O.output&&O.output.length>0&&(R.printErr(Ie(O.output,0)),O.output=[])}}},Y2={ops_table:null,mount:function(O){return Y2.createNode(null,"/",16895,0)},createNode:function(O,K,o0,C){if(p0.isBlkdev(o0)||p0.isFIFO(o0))throw new p0.ErrnoError(fe.EPERM);Y2.ops_table||(Y2.ops_table={dir:{node:{getattr:Y2.node_ops.getattr,setattr:Y2.node_ops.setattr,lookup:Y2.node_ops.lookup,mknod:Y2.node_ops.mknod,rename:Y2.node_ops.rename,unlink:Y2.node_ops.unlink,rmdir:Y2.node_ops.rmdir,readdir:Y2.node_ops.readdir,symlink:Y2.node_ops.symlink},stream:{llseek:Y2.stream_ops.llseek}},file:{node:{getattr:Y2.node_ops.getattr,setattr:Y2.node_ops.setattr},stream:{llseek:Y2.stream_ops.llseek,read:Y2.stream_ops.read,write:Y2.stream_ops.write,allocate:Y2.stream_ops.allocate,mmap:Y2.stream_ops.mmap,msync:Y2.stream_ops.msync}},link:{node:{getattr:Y2.node_ops.getattr,setattr:Y2.node_ops.setattr,readlink:Y2.node_ops.readlink},stream:{}},chrdev:{node:{getattr:Y2.node_ops.getattr,setattr:Y2.node_ops.setattr},stream:p0.chrdev_stream_ops}});var $=p0.createNode(O,K,o0,C);return p0.isDir($.mode)?($.node_ops=Y2.ops_table.dir.node,$.stream_ops=Y2.ops_table.dir.stream,$.contents={}):p0.isFile($.mode)?($.node_ops=Y2.ops_table.file.node,$.stream_ops=Y2.ops_table.file.stream,$.usedBytes=0,$.contents=null):p0.isLink($.mode)?($.node_ops=Y2.ops_table.link.node,$.stream_ops=Y2.ops_table.link.stream):p0.isChrdev($.mode)&&($.node_ops=Y2.ops_table.chrdev.node,$.stream_ops=Y2.ops_table.chrdev.stream),$.timestamp=Date.now(),O&&(O.contents[K]=$),$},getFileDataAsRegularArray:function(O){if(O.contents&&O.contents.subarray){for(var K=[],o0=0;o0O.contents.length&&(O.contents=Y2.getFileDataAsRegularArray(O),O.usedBytes=O.contents.length),!O.contents||O.contents.subarray){var o0=O.contents?O.contents.length:0;if(o0>=K)return;var C=1024*1024;K=Math.max(K,o0*(o00&&O.contents.set($.subarray(0,O.usedBytes),0);return}for(!O.contents&&K>0&&(O.contents=[]);O.contents.lengthK)O.contents.length=K;else for(;O.contents.length=O.node.usedBytes)return 0;var s0=Math.min(O.node.usedBytes-$,C);if(E0(s0>=0),s0>8&&e.subarray)K.set(e.subarray($,$+s0),o0);else for(var M0=0;M00||$+CB2.timestamp)&&($.push(be),C++)});var e=[];if(Object.keys(K.entries).forEach(function(be){K.entries[be];var ne=O.entries[be];ne||(e.push(be),C++)}),!C)return o0(null);var s0=0,M0=O.type==="remote"?O.db:K.db,ve=M0.transaction([dt.DB_STORE_NAME],"readwrite"),x0=ve.objectStore(dt.DB_STORE_NAME);function u(be){if(be)return u.errored?void 0:(u.errored=!0,o0(be));if(++s0>=C)return o0(null)}ve.onerror=function(be){u(this.error),be.preventDefault()},$.sort().forEach(function(be){K.type==="local"?dt.loadRemoteEntry(x0,be,function(ne,B2){if(ne)return u(ne);dt.storeLocalEntry(be,B2,u)}):dt.loadLocalEntry(be,function(ne,B2){if(ne)return u(ne);dt.storeRemoteEntry(x0,be,B2,u)})}),e.sort().reverse().forEach(function(be){K.type==="local"?dt.removeLocalEntry(be,u):dt.removeRemoteEntry(x0,be,u)})}},Sr={isWindows:!1,staticInit:function(){Sr.isWindows=!!process.platform.match(/^win/);var O=process.binding("constants");O.fs&&(O=O.fs),Sr.flagsForNodeMap={1024:O.O_APPEND,64:O.O_CREAT,128:O.O_EXCL,0:O.O_RDONLY,2:O.O_RDWR,4096:O.O_SYNC,512:O.O_TRUNC,1:O.O_WRONLY}},bufferFrom:function(O){return Buffer.alloc?Buffer.from(O):new Buffer(O)},mount:function(O){return E0(l0),Sr.createNode(null,"/",Sr.getMode(O.opts.root),0)},createNode:function(O,K,o0,C){if(!p0.isDir(o0)&&!p0.isFile(o0)&&!p0.isLink(o0))throw new p0.ErrnoError(fe.EINVAL);var $=p0.createNode(O,K,o0);return $.node_ops=Sr.node_ops,$.stream_ops=Sr.stream_ops,$},getMode:function(O){var K;try{K=pt.lstatSync(O),Sr.isWindows&&(K.mode=K.mode|(K.mode&292)>>2)}catch(o0){throw o0.code?new p0.ErrnoError(fe[o0.code]):o0}return K.mode},realPath:function(O){for(var K=[];O.parent!==O;)K.push(O.name),O=O.parent;return K.push(O.mount.opts.root),K.reverse(),S2.join.apply(null,K)},flagsForNode:function(O){O&=-2097153,O&=-2049,O&=-32769,O&=-524289;var K=0;for(var o0 in Sr.flagsForNodeMap)O&o0&&(K|=Sr.flagsForNodeMap[o0],O^=o0);if(O)throw new p0.ErrnoError(fe.EINVAL);return K},node_ops:{getattr:function(O){var K=Sr.realPath(O),o0;try{o0=pt.lstatSync(K)}catch(C){throw C.code?new p0.ErrnoError(fe[C.code]):C}return Sr.isWindows&&!o0.blksize&&(o0.blksize=4096),Sr.isWindows&&!o0.blocks&&(o0.blocks=(o0.size+o0.blksize-1)/o0.blksize|0),{dev:o0.dev,ino:o0.ino,mode:o0.mode,nlink:o0.nlink,uid:o0.uid,gid:o0.gid,rdev:o0.rdev,size:o0.size,atime:o0.atime,mtime:o0.mtime,ctime:o0.ctime,blksize:o0.blksize,blocks:o0.blocks}},setattr:function(O,K){var o0=Sr.realPath(O);try{if(K.mode!==void 0&&(pt.chmodSync(o0,K.mode),O.mode=K.mode),K.timestamp!==void 0){var C=new Date(K.timestamp);pt.utimesSync(o0,C,C)}K.size!==void 0&&pt.truncateSync(o0,K.size)}catch($){throw $.code?new p0.ErrnoError(fe[$.code]):$}},lookup:function(O,K){var o0=S2.join2(Sr.realPath(O),K),C=Sr.getMode(o0);return Sr.createNode(O,K,C)},mknod:function(O,K,o0,C){var $=Sr.createNode(O,K,o0,C),e=Sr.realPath($);try{p0.isDir($.mode)?pt.mkdirSync(e,$.mode):pt.writeFileSync(e,"",{mode:$.mode})}catch(s0){throw s0.code?new p0.ErrnoError(fe[s0.code]):s0}return $},rename:function(O,K,o0){var C=Sr.realPath(O),$=S2.join2(Sr.realPath(K),o0);try{pt.renameSync(C,$)}catch(e){throw e.code?new p0.ErrnoError(fe[e.code]):e}},unlink:function(O,K){var o0=S2.join2(Sr.realPath(O),K);try{pt.unlinkSync(o0)}catch(C){throw C.code?new p0.ErrnoError(fe[C.code]):C}},rmdir:function(O,K){var o0=S2.join2(Sr.realPath(O),K);try{pt.rmdirSync(o0)}catch(C){throw C.code?new p0.ErrnoError(fe[C.code]):C}},readdir:function(O){var K=Sr.realPath(O);try{return pt.readdirSync(K)}catch(o0){throw o0.code?new p0.ErrnoError(fe[o0.code]):o0}},symlink:function(O,K,o0){var C=S2.join2(Sr.realPath(O),K);try{pt.symlinkSync(o0,C)}catch($){throw $.code?new p0.ErrnoError(fe[$.code]):$}},readlink:function(O){var K=Sr.realPath(O);try{return K=pt.readlinkSync(K),K=G3.relative(G3.resolve(O.mount.opts.root),K),K}catch(o0){throw o0.code?new p0.ErrnoError(fe[o0.code]):o0}}},stream_ops:{open:function(O){var K=Sr.realPath(O.node);try{p0.isFile(O.node.mode)&&(O.nfd=pt.openSync(K,Sr.flagsForNode(O.flags)))}catch(o0){throw o0.code?new p0.ErrnoError(fe[o0.code]):o0}},close:function(O){try{p0.isFile(O.node.mode)&&O.nfd&&pt.closeSync(O.nfd)}catch(K){throw K.code?new p0.ErrnoError(fe[K.code]):K}},read:function(O,K,o0,C,$){if(C===0)return 0;try{return pt.readSync(O.nfd,Sr.bufferFrom(K.buffer),o0,C,$)}catch(e){throw new p0.ErrnoError(fe[e.code])}},write:function(O,K,o0,C,$){try{return pt.writeSync(O.nfd,Sr.bufferFrom(K.buffer),o0,C,$)}catch(e){throw new p0.ErrnoError(fe[e.code])}},llseek:function(O,K,o0){var C=K;if(o0===1)C+=O.position;else if(o0===2&&p0.isFile(O.node.mode))try{var $=pt.fstatSync(O.nfd);C+=$.size}catch(e){throw new p0.ErrnoError(fe[e.code])}if(C<0)throw new p0.ErrnoError(fe.EINVAL);return C}}},Gr={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:function(O){E0(e0),Gr.reader||(Gr.reader=new FileReaderSync);var K=Gr.createNode(null,"/",Gr.DIR_MODE,0),o0={};function C(e){for(var s0=e.split("/"),M0=K,ve=0;ve=O.node.size)return 0;var e=O.node.contents.slice($,$+C),s0=Gr.reader.readAsArrayBuffer(e);return K.set(new Uint8Array(s0),o0),e.size},write:function(O,K,o0,C,$){throw new p0.ErrnoError(fe.EIO)},llseek:function(O,K,o0){var C=K;if(o0===1?C+=O.position:o0===2&&p0.isFile(O.node.mode)&&(C+=O.node.size),C<0)throw new p0.ErrnoError(fe.EINVAL);return C}}};n2+=16,n2+=16,n2+=16;var p0={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function(O){if(!(O instanceof p0.ErrnoError))throw O+" : "+Ce();return J2(O.errno)},lookupPath:function(O,K){if(O=S2.resolve(p0.cwd(),O),K=K||{},!O)return{path:"",node:null};var o0={follow_mount:!0,recurse_count:0};for(var C in o0)K[C]===void 0&&(K[C]=o0[C]);if(K.recurse_count>8)throw new p0.ErrnoError(fe.ELOOP);for(var $=S2.normalizeArray(O.split("/").filter(function(ne){return!!ne}),!1),e=p0.root,s0="/",M0=0;M0<$.length;M0++){var ve=M0===$.length-1;if(ve&&K.parent)break;if(e=p0.lookupNode(e,$[M0]),s0=S2.join2(s0,$[M0]),p0.isMountpoint(e)&&(!ve||ve&&K.follow_mount)&&(e=e.mounted.root),!ve||K.follow)for(var x0=0;p0.isLink(e.mode);){var u=p0.readlink(s0);s0=S2.resolve(S2.dirname(s0),u);var be=p0.lookupPath(s0,{recurse_count:K.recurse_count});if(e=be.node,x0++>40)throw new p0.ErrnoError(fe.ELOOP)}}return{path:s0,node:e}},getPath:function(O){for(var K;;){if(p0.isRoot(O)){var o0=O.mount.mountpoint;return K?o0[o0.length-1]!=="/"?o0+"/"+K:o0+K:o0}K=K?O.name+"/"+K:O.name,O=O.parent}},hashName:function(O,K){for(var o0=0,C=0;C>>0)%p0.nameTable.length},hashAddNode:function(O){var K=p0.hashName(O.parent.id,O.name);O.name_next=p0.nameTable[K],p0.nameTable[K]=O},hashRemoveNode:function(O){var K=p0.hashName(O.parent.id,O.name);if(p0.nameTable[K]===O)p0.nameTable[K]=O.name_next;else for(var o0=p0.nameTable[K];o0;){if(o0.name_next===O){o0.name_next=O.name_next;break}o0=o0.name_next}},lookupNode:function(O,K){var o0=p0.mayLookup(O);if(o0)throw new p0.ErrnoError(o0,O);for(var C=p0.hashName(O.id,K),$=p0.nameTable[C];$;$=$.name_next){var e=$.name;if($.parent.id===O.id&&e===K)return $}return p0.lookup(O,K)},createNode:function(O,K,o0,C){if(!p0.FSNode){p0.FSNode=function(M0,ve,x0,u){M0||(M0=this),this.parent=M0,this.mount=M0.mount,this.mounted=null,this.id=p0.nextInode++,this.name=ve,this.mode=x0,this.node_ops={},this.stream_ops={},this.rdev=u},p0.FSNode.prototype={};var $=365,e=146;Object.defineProperties(p0.FSNode.prototype,{read:{get:function(){return(this.mode&$)===$},set:function(M0){M0?this.mode|=$:this.mode&=~$}},write:{get:function(){return(this.mode&e)===e},set:function(M0){M0?this.mode|=e:this.mode&=~e}},isFolder:{get:function(){return p0.isDir(this.mode)}},isDevice:{get:function(){return p0.isChrdev(this.mode)}}})}var s0=new p0.FSNode(O,K,o0,C);return p0.hashAddNode(s0),s0},destroyNode:function(O){p0.hashRemoveNode(O)},isRoot:function(O){return O===O.parent},isMountpoint:function(O){return!!O.mounted},isFile:function(O){return(O&61440)===32768},isDir:function(O){return(O&61440)===16384},isLink:function(O){return(O&61440)===40960},isChrdev:function(O){return(O&61440)===8192},isBlkdev:function(O){return(O&61440)===24576},isFIFO:function(O){return(O&61440)===4096},isSocket:function(O){return(O&49152)===49152},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(O){var K=p0.flagModes[O];if(typeof K>"u")throw new Error("Unknown file open mode: "+O);return K},flagsToPermissionString:function(O){var K=["r","w","rw"][O&3];return O&512&&(K+="w"),K},nodePermissions:function(O,K){return p0.ignorePermissions?0:K.indexOf("r")!==-1&&!(O.mode&292)||K.indexOf("w")!==-1&&!(O.mode&146)||K.indexOf("x")!==-1&&!(O.mode&73)?fe.EACCES:0},mayLookup:function(O){var K=p0.nodePermissions(O,"x");return K||(O.node_ops.lookup?0:fe.EACCES)},mayCreate:function(O,K){try{var o0=p0.lookupNode(O,K);return fe.EEXIST}catch{}return p0.nodePermissions(O,"wx")},mayDelete:function(O,K,o0){var C;try{C=p0.lookupNode(O,K)}catch(e){return e.errno}var $=p0.nodePermissions(O,"wx");if($)return $;if(o0){if(!p0.isDir(C.mode))return fe.ENOTDIR;if(p0.isRoot(C)||p0.getPath(C)===p0.cwd())return fe.EBUSY}else if(p0.isDir(C.mode))return fe.EISDIR;return 0},mayOpen:function(O,K){return O?p0.isLink(O.mode)?fe.ELOOP:p0.isDir(O.mode)&&(p0.flagsToPermissionString(K)!=="r"||K&512)?fe.EISDIR:p0.nodePermissions(O,p0.flagsToPermissionString(K)):fe.ENOENT},MAX_OPEN_FDS:4096,nextfd:function(O,K){O=O||0,K=K||p0.MAX_OPEN_FDS;for(var o0=O;o0<=K;o0++)if(!p0.streams[o0])return o0;throw new p0.ErrnoError(fe.EMFILE)},getStream:function(O){return p0.streams[O]},createStream:function(O,K,o0){p0.FSStream||(p0.FSStream=function(){},p0.FSStream.prototype={},Object.defineProperties(p0.FSStream.prototype,{object:{get:function(){return this.node},set:function(s0){this.node=s0}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}));var C=new p0.FSStream;for(var $ in O)C[$]=O[$];O=C;var e=p0.nextfd(K,o0);return O.fd=e,p0.streams[e]=O,O},closeStream:function(O){p0.streams[O]=null},chrdev_stream_ops:{open:function(O){var K=p0.getDevice(O.node.rdev);O.stream_ops=K.stream_ops,O.stream_ops.open&&O.stream_ops.open(O)},llseek:function(){throw new p0.ErrnoError(fe.ESPIPE)}},major:function(O){return O>>8},minor:function(O){return O&255},makedev:function(O,K){return O<<8|K},registerDevice:function(O,K){p0.devices[O]={stream_ops:K}},getDevice:function(O){return p0.devices[O]},getMounts:function(O){for(var K=[],o0=[O];o0.length;){var C=o0.pop();K.push(C),o0.push.apply(o0,C.mounts)}return K},syncfs:function(O,K){typeof O=="function"&&(K=O,O=!1),p0.syncFSRequests++,p0.syncFSRequests>1&&console.log("warning: "+p0.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var o0=p0.getMounts(p0.root.mount),C=0;function $(s0){return E0(p0.syncFSRequests>0),p0.syncFSRequests--,K(s0)}function e(s0){if(s0)return e.errored?void 0:(e.errored=!0,$(s0));++C>=o0.length&&$(null)}o0.forEach(function(s0){if(!s0.type.syncfs)return e(null);s0.type.syncfs(s0,O,e)})},mount:function(O,K,o0){var C=o0==="/",$=!o0,e;if(C&&p0.root)throw new p0.ErrnoError(fe.EBUSY);if(!C&&!$){var s0=p0.lookupPath(o0,{follow_mount:!1});if(o0=s0.path,e=s0.node,p0.isMountpoint(e))throw new p0.ErrnoError(fe.EBUSY);if(!p0.isDir(e.mode))throw new p0.ErrnoError(fe.ENOTDIR)}var M0={type:O,opts:K,mountpoint:o0,mounts:[]},ve=O.mount(M0);return ve.mount=M0,M0.root=ve,C?p0.root=ve:e&&(e.mounted=M0,e.mount&&e.mount.mounts.push(M0)),ve},unmount:function(O){var K=p0.lookupPath(O,{follow_mount:!1});if(!p0.isMountpoint(K.node))throw new p0.ErrnoError(fe.EINVAL);var o0=K.node,C=o0.mounted,$=p0.getMounts(C);Object.keys(p0.nameTable).forEach(function(s0){for(var M0=p0.nameTable[s0];M0;){var ve=M0.name_next;$.indexOf(M0.mount)!==-1&&p0.destroyNode(M0),M0=ve}}),o0.mounted=null;var e=o0.mount.mounts.indexOf(C);E0(e!==-1),o0.mount.mounts.splice(e,1)},lookup:function(O,K){return O.node_ops.lookup(O,K)},mknod:function(O,K,o0){var C=p0.lookupPath(O,{parent:!0}),$=C.node,e=S2.basename(O);if(!e||e==="."||e==="..")throw new p0.ErrnoError(fe.EINVAL);var s0=p0.mayCreate($,e);if(s0)throw new p0.ErrnoError(s0);if(!$.node_ops.mknod)throw new p0.ErrnoError(fe.EPERM);return $.node_ops.mknod($,e,K,o0)},create:function(O,K){return K=K!==void 0?K:438,K&=4095,K|=32768,p0.mknod(O,K,0)},mkdir:function(O,K){return K=K!==void 0?K:511,K&=1023,K|=16384,p0.mknod(O,K,0)},mkdirTree:function(O,K){for(var o0=O.split("/"),C="",$=0;$"u"&&(o0=K,K=438),K|=8192,p0.mknod(O,K,o0)},symlink:function(O,K){if(!S2.resolve(O))throw new p0.ErrnoError(fe.ENOENT);var o0=p0.lookupPath(K,{parent:!0}),C=o0.node;if(!C)throw new p0.ErrnoError(fe.ENOENT);var $=S2.basename(K),e=p0.mayCreate(C,$);if(e)throw new p0.ErrnoError(e);if(!C.node_ops.symlink)throw new p0.ErrnoError(fe.EPERM);return C.node_ops.symlink(C,$,O)},rename:function(O,K){var o0=S2.dirname(O),C=S2.dirname(K),$=S2.basename(O),e=S2.basename(K),s0,M0,ve;try{s0=p0.lookupPath(O,{parent:!0}),M0=s0.node,s0=p0.lookupPath(K,{parent:!0}),ve=s0.node}catch{throw new p0.ErrnoError(fe.EBUSY)}if(!M0||!ve)throw new p0.ErrnoError(fe.ENOENT);if(M0.mount!==ve.mount)throw new p0.ErrnoError(fe.EXDEV);var x0=p0.lookupNode(M0,$),u=S2.relative(O,C);if(u.charAt(0)!==".")throw new p0.ErrnoError(fe.EINVAL);if(u=S2.relative(K,o0),u.charAt(0)!==".")throw new p0.ErrnoError(fe.ENOTEMPTY);var be;try{be=p0.lookupNode(ve,e)}catch{}if(x0!==be){var ne=p0.isDir(x0.mode),B2=p0.mayDelete(M0,$,ne);if(B2)throw new p0.ErrnoError(B2);if(B2=be?p0.mayDelete(ve,e,ne):p0.mayCreate(ve,e),B2)throw new p0.ErrnoError(B2);if(!M0.node_ops.rename)throw new p0.ErrnoError(fe.EPERM);if(p0.isMountpoint(x0)||be&&p0.isMountpoint(be))throw new p0.ErrnoError(fe.EBUSY);if(ve!==M0&&(B2=p0.nodePermissions(M0,"w"),B2))throw new p0.ErrnoError(B2);try{p0.trackingDelegate.willMovePath&&p0.trackingDelegate.willMovePath(O,K)}catch(g){console.log("FS.trackingDelegate['willMovePath']('"+O+"', '"+K+"') threw an exception: "+g.message)}p0.hashRemoveNode(x0);try{M0.node_ops.rename(x0,ve,e)}catch(g){throw g}finally{p0.hashAddNode(x0)}try{p0.trackingDelegate.onMovePath&&p0.trackingDelegate.onMovePath(O,K)}catch(g){console.log("FS.trackingDelegate['onMovePath']('"+O+"', '"+K+"') threw an exception: "+g.message)}}},rmdir:function(O){var K=p0.lookupPath(O,{parent:!0}),o0=K.node,C=S2.basename(O),$=p0.lookupNode(o0,C),e=p0.mayDelete(o0,C,!0);if(e)throw new p0.ErrnoError(e);if(!o0.node_ops.rmdir)throw new p0.ErrnoError(fe.EPERM);if(p0.isMountpoint($))throw new p0.ErrnoError(fe.EBUSY);try{p0.trackingDelegate.willDeletePath&&p0.trackingDelegate.willDeletePath(O)}catch(s0){console.log("FS.trackingDelegate['willDeletePath']('"+O+"') threw an exception: "+s0.message)}o0.node_ops.rmdir(o0,C),p0.destroyNode($);try{p0.trackingDelegate.onDeletePath&&p0.trackingDelegate.onDeletePath(O)}catch(s0){console.log("FS.trackingDelegate['onDeletePath']('"+O+"') threw an exception: "+s0.message)}},readdir:function(O){var K=p0.lookupPath(O,{follow:!0}),o0=K.node;if(!o0.node_ops.readdir)throw new p0.ErrnoError(fe.ENOTDIR);return o0.node_ops.readdir(o0)},unlink:function(O){var K=p0.lookupPath(O,{parent:!0}),o0=K.node,C=S2.basename(O),$=p0.lookupNode(o0,C),e=p0.mayDelete(o0,C,!1);if(e)throw new p0.ErrnoError(e);if(!o0.node_ops.unlink)throw new p0.ErrnoError(fe.EPERM);if(p0.isMountpoint($))throw new p0.ErrnoError(fe.EBUSY);try{p0.trackingDelegate.willDeletePath&&p0.trackingDelegate.willDeletePath(O)}catch(s0){console.log("FS.trackingDelegate['willDeletePath']('"+O+"') threw an exception: "+s0.message)}o0.node_ops.unlink(o0,C),p0.destroyNode($);try{p0.trackingDelegate.onDeletePath&&p0.trackingDelegate.onDeletePath(O)}catch(s0){console.log("FS.trackingDelegate['onDeletePath']('"+O+"') threw an exception: "+s0.message)}},readlink:function(O){var K=p0.lookupPath(O),o0=K.node;if(!o0)throw new p0.ErrnoError(fe.ENOENT);if(!o0.node_ops.readlink)throw new p0.ErrnoError(fe.EINVAL);return S2.resolve(p0.getPath(o0.parent),o0.node_ops.readlink(o0))},stat:function(O,K){var o0=p0.lookupPath(O,{follow:!K}),C=o0.node;if(!C)throw new p0.ErrnoError(fe.ENOENT);if(!C.node_ops.getattr)throw new p0.ErrnoError(fe.EPERM);return C.node_ops.getattr(C)},lstat:function(O){return p0.stat(O,!0)},chmod:function(O,K,o0){var C;if(typeof O=="string"){var $=p0.lookupPath(O,{follow:!o0});C=$.node}else C=O;if(!C.node_ops.setattr)throw new p0.ErrnoError(fe.EPERM);C.node_ops.setattr(C,{mode:K&4095|C.mode&-4096,timestamp:Date.now()})},lchmod:function(O,K){p0.chmod(O,K,!0)},fchmod:function(O,K){var o0=p0.getStream(O);if(!o0)throw new p0.ErrnoError(fe.EBADF);p0.chmod(o0.node,K)},chown:function(O,K,o0,C){var $;if(typeof O=="string"){var e=p0.lookupPath(O,{follow:!C});$=e.node}else $=O;if(!$.node_ops.setattr)throw new p0.ErrnoError(fe.EPERM);$.node_ops.setattr($,{timestamp:Date.now()})},lchown:function(O,K,o0){p0.chown(O,K,o0,!0)},fchown:function(O,K,o0){var C=p0.getStream(O);if(!C)throw new p0.ErrnoError(fe.EBADF);p0.chown(C.node,K,o0)},truncate:function(O,K){if(K<0)throw new p0.ErrnoError(fe.EINVAL);var o0;if(typeof O=="string"){var C=p0.lookupPath(O,{follow:!0});o0=C.node}else o0=O;if(!o0.node_ops.setattr)throw new p0.ErrnoError(fe.EPERM);if(p0.isDir(o0.mode))throw new p0.ErrnoError(fe.EISDIR);if(!p0.isFile(o0.mode))throw new p0.ErrnoError(fe.EINVAL);var $=p0.nodePermissions(o0,"w");if($)throw new p0.ErrnoError($);o0.node_ops.setattr(o0,{size:K,timestamp:Date.now()})},ftruncate:function(O,K){var o0=p0.getStream(O);if(!o0)throw new p0.ErrnoError(fe.EBADF);if(!(o0.flags&2097155))throw new p0.ErrnoError(fe.EINVAL);p0.truncate(o0.node,K)},utime:function(O,K,o0){var C=p0.lookupPath(O,{follow:!0}),$=C.node;$.node_ops.setattr($,{timestamp:Math.max(K,o0)})},open:function(O,K,o0,C,$){if(O==="")throw new p0.ErrnoError(fe.ENOENT);K=typeof K=="string"?p0.modeStringToFlags(K):K,o0=typeof o0>"u"?438:o0,K&64?o0=o0&4095|32768:o0=0;var e;if(typeof O=="object")e=O;else{O=S2.normalize(O);try{var s0=p0.lookupPath(O,{follow:!(K&131072)});e=s0.node}catch{}}var M0=!1;if(K&64)if(e){if(K&128)throw new p0.ErrnoError(fe.EEXIST)}else e=p0.mknod(O,o0,0),M0=!0;if(!e)throw new p0.ErrnoError(fe.ENOENT);if(p0.isChrdev(e.mode)&&(K&=-513),K&65536&&!p0.isDir(e.mode))throw new p0.ErrnoError(fe.ENOTDIR);if(!M0){var ve=p0.mayOpen(e,K);if(ve)throw new p0.ErrnoError(ve)}K&512&&p0.truncate(e,0),K&=-641;var x0=p0.createStream({node:e,path:p0.getPath(e),flags:K,seekable:!0,position:0,stream_ops:e.stream_ops,ungotten:[],error:!1},C,$);x0.stream_ops.open&&x0.stream_ops.open(x0),R.logReadFiles&&!(K&1)&&(p0.readFiles||(p0.readFiles={}),O in p0.readFiles||(p0.readFiles[O]=1,R.printErr("read file: "+O)));try{if(p0.trackingDelegate.onOpenFile){var u=0;(K&2097155)!==1&&(u|=p0.tracking.openFlags.READ),K&2097155&&(u|=p0.tracking.openFlags.WRITE),p0.trackingDelegate.onOpenFile(O,u)}}catch(be){console.log("FS.trackingDelegate['onOpenFile']('"+O+"', flags) threw an exception: "+be.message)}return x0},close:function(O){O.getdents&&(O.getdents=null);try{O.stream_ops.close&&O.stream_ops.close(O)}catch(K){throw K}finally{p0.closeStream(O.fd)}},llseek:function(O,K,o0){if(!O.seekable||!O.stream_ops.llseek)throw new p0.ErrnoError(fe.ESPIPE);return O.position=O.stream_ops.llseek(O,K,o0),O.ungotten=[],O.position},read:function(O,K,o0,C,$){if(C<0||$<0)throw new p0.ErrnoError(fe.EINVAL);if((O.flags&2097155)===1)throw new p0.ErrnoError(fe.EBADF);if(p0.isDir(O.node.mode))throw new p0.ErrnoError(fe.EISDIR);if(!O.stream_ops.read)throw new p0.ErrnoError(fe.EINVAL);var e=typeof $<"u";if(!e)$=O.position;else if(!O.seekable)throw new p0.ErrnoError(fe.ESPIPE);var s0=O.stream_ops.read(O,K,o0,C,$);return e||(O.position+=s0),s0},write:function(O,K,o0,C,$,e){if(C<0||$<0)throw new p0.ErrnoError(fe.EINVAL);if(!(O.flags&2097155))throw new p0.ErrnoError(fe.EBADF);if(p0.isDir(O.node.mode))throw new p0.ErrnoError(fe.EISDIR);if(!O.stream_ops.write)throw new p0.ErrnoError(fe.EINVAL);O.flags&1024&&p0.llseek(O,0,2);var s0=typeof $<"u";if(!s0)$=O.position;else if(!O.seekable)throw new p0.ErrnoError(fe.ESPIPE);var M0=O.stream_ops.write(O,K,o0,C,$,e);s0||(O.position+=M0);try{O.path&&p0.trackingDelegate.onWriteToFile&&p0.trackingDelegate.onWriteToFile(O.path)}catch(ve){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+ve.message)}return M0},allocate:function(O,K,o0){if(K<0||o0<=0)throw new p0.ErrnoError(fe.EINVAL);if(!(O.flags&2097155))throw new p0.ErrnoError(fe.EBADF);if(!p0.isFile(O.node.mode)&&!p0.isDir(O.node.mode))throw new p0.ErrnoError(fe.ENODEV);if(!O.stream_ops.allocate)throw new p0.ErrnoError(fe.EOPNOTSUPP);O.stream_ops.allocate(O,K,o0)},mmap:function(O,K,o0,C,$,e,s0){if((O.flags&2097155)===1)throw new p0.ErrnoError(fe.EACCES);if(!O.stream_ops.mmap)throw new p0.ErrnoError(fe.ENODEV);return O.stream_ops.mmap(O,K,o0,C,$,e,s0)},msync:function(O,K,o0,C,$){return!O||!O.stream_ops.msync?0:O.stream_ops.msync(O,K,o0,C,$)},munmap:function(O){return 0},ioctl:function(O,K,o0){if(!O.stream_ops.ioctl)throw new p0.ErrnoError(fe.ENOTTY);return O.stream_ops.ioctl(O,K,o0)},readFile:function(O,K){if(K=K||{},K.flags=K.flags||"r",K.encoding=K.encoding||"binary",K.encoding!=="utf8"&&K.encoding!=="binary")throw new Error('Invalid encoding type "'+K.encoding+'"');var o0,C=p0.open(O,K.flags),$=p0.stat(O),e=$.size,s0=new Uint8Array(e);return p0.read(C,s0,0,e,0),K.encoding==="utf8"?o0=Ie(s0,0):K.encoding==="binary"&&(o0=s0),p0.close(C),o0},writeFile:function(O,K,o0){o0=o0||{},o0.flags=o0.flags||"w";var C=p0.open(O,o0.flags,o0.mode);if(typeof K=="string"){var $=new Uint8Array(H2(K)+1),e=f2(K,$,0,$.length);p0.write(C,$,0,e,void 0,o0.canOwn)}else if(ArrayBuffer.isView(K))p0.write(C,K,0,K.byteLength,void 0,o0.canOwn);else throw new Error("Unsupported data type");p0.close(C)},cwd:function(){return p0.currentPath},chdir:function(O){var K=p0.lookupPath(O,{follow:!0});if(K.node===null)throw new p0.ErrnoError(fe.ENOENT);if(!p0.isDir(K.node.mode))throw new p0.ErrnoError(fe.ENOTDIR);var o0=p0.nodePermissions(K.node,"x");if(o0)throw new p0.ErrnoError(o0);p0.currentPath=K.path},createDefaultDirectories:function(){p0.mkdir("/tmp"),p0.mkdir("/home"),p0.mkdir("/home/web_user")},createDefaultDevices:function(){p0.mkdir("/dev"),p0.registerDevice(p0.makedev(1,3),{read:function(){return 0},write:function(o0,C,$,e,s0){return e}}),p0.mkdev("/dev/null",p0.makedev(1,3)),Oo.register(p0.makedev(5,0),Oo.default_tty_ops),Oo.register(p0.makedev(6,0),Oo.default_tty1_ops),p0.mkdev("/dev/tty",p0.makedev(5,0)),p0.mkdev("/dev/tty1",p0.makedev(6,0));var O;if(typeof crypto<"u"){var K=new Uint8Array(1);O=function(){return crypto.getRandomValues(K),K[0]}}else l0?O=function(){return R8.randomBytes(1)[0]}:O=function(){return Math.random()*256|0};p0.createDevice("/dev","random",O),p0.createDevice("/dev","urandom",O),p0.mkdir("/dev/shm"),p0.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){p0.mkdir("/proc"),p0.mkdir("/proc/self"),p0.mkdir("/proc/self/fd"),p0.mount({mount:function(){var O=p0.createNode("/proc/self","fd",16895,73);return O.node_ops={lookup:function(K,o0){var C=+o0,$=p0.getStream(C);if(!$)throw new p0.ErrnoError(fe.EBADF);var e={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return $.path}}};return e.parent=e,e}},O}},{},"/proc/self/fd")},createStandardStreams:function(){R.stdin?p0.createDevice("/dev","stdin",R.stdin):p0.symlink("/dev/tty","/dev/stdin"),R.stdout?p0.createDevice("/dev","stdout",null,R.stdout):p0.symlink("/dev/tty","/dev/stdout"),R.stderr?p0.createDevice("/dev","stderr",null,R.stderr):p0.symlink("/dev/tty1","/dev/stderr");var O=p0.open("/dev/stdin","r");E0(O.fd===0,"invalid handle for stdin ("+O.fd+")");var K=p0.open("/dev/stdout","w");E0(K.fd===1,"invalid handle for stdout ("+K.fd+")");var o0=p0.open("/dev/stderr","w");E0(o0.fd===2,"invalid handle for stderr ("+o0.fd+")")},ensureErrnoError:function(){p0.ErrnoError||(p0.ErrnoError=function(K,o0){this.node=o0,this.setErrno=function(C){this.errno=C;for(var $ in fe)if(fe[$]===C){this.code=$;break}},this.setErrno(K),this.message=Vo[K],this.stack&&Object.defineProperty(this,"stack",{value:new Error().stack,writable:!0})},p0.ErrnoError.prototype=new Error,p0.ErrnoError.prototype.constructor=p0.ErrnoError,[fe.ENOENT].forEach(function(O){p0.genericErrors[O]=new p0.ErrnoError(O),p0.genericErrors[O].stack=""}))},staticInit:function(){p0.ensureErrnoError(),p0.nameTable=new Array(4096),p0.mount(Y2,{},"/"),p0.createDefaultDirectories(),p0.createDefaultDevices(),p0.createSpecialDirectories(),p0.filesystems={MEMFS:Y2,IDBFS:dt,NODEFS:Sr,WORKERFS:Gr}},init:function(O,K,o0){E0(!p0.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),p0.init.initialized=!0,p0.ensureErrnoError(),R.stdin=O||R.stdin,R.stdout=K||R.stdout,R.stderr=o0||R.stderr,p0.createStandardStreams()},quit:function(){p0.init.initialized=!1;var O=R._fflush;O&&O(0);for(var K=0;Kthis.length-1||ne<0)){var B2=ne%this.chunkSize,g=ne/this.chunkSize|0;return this.getter(g)[B2]}},e.prototype.setDataGetter=function(ne){this.getter=ne},e.prototype.cacheLength=function(){var ne=new XMLHttpRequest;if(ne.open("HEAD",o0,!1),ne.send(null),!(ne.status>=200&&ne.status<300||ne.status===304))throw new Error("Couldn't load "+o0+". Status: "+ne.status);var B2=Number(ne.getResponseHeader("Content-length")),g,on=(g=ne.getResponseHeader("Accept-Ranges"))&&g==="bytes",In=(g=ne.getResponseHeader("Content-Encoding"))&&g==="gzip",v0=1024*1024;on||(v0=B2);var g0=function(u1,a1){if(u1>a1)throw new Error("invalid range ("+u1+", "+a1+") or no bytes requested!");if(a1>B2-1)throw new Error("only "+B2+" bytes available! programmer error!");var Ur=new XMLHttpRequest;if(Ur.open("GET",o0,!1),B2!==v0&&Ur.setRequestHeader("Range","bytes="+u1+"-"+a1),typeof Uint8Array<"u"&&(Ur.responseType="arraybuffer"),Ur.overrideMimeType&&Ur.overrideMimeType("text/plain; charset=x-user-defined"),Ur.send(null),!(Ur.status>=200&&Ur.status<300||Ur.status===304))throw new Error("Couldn't load "+o0+". Status: "+Ur.status);return Ur.response!==void 0?new Uint8Array(Ur.response||[]):yl(Ur.responseText||"",!0)},Kt=this;Kt.setDataGetter(function(u1){var a1=u1*v0,Ur=(u1+1)*v0-1;if(Ur=Math.min(Ur,B2-1),typeof Kt.chunks[u1]>"u"&&(Kt.chunks[u1]=g0(a1,Ur)),typeof Kt.chunks[u1]>"u")throw new Error("doXHR failed!");return Kt.chunks[u1]}),(In||!B2)&&(v0=B2=1,B2=this.getter(0).length,v0=B2,console.log("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=B2,this._chunkSize=v0,this.lengthKnown=!0},typeof XMLHttpRequest<"u"){if(!e0)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var s0=new e;Object.defineProperties(s0,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var M0={isDevice:!1,contents:s0}}else var M0={isDevice:!1,url:o0};var ve=p0.createFile(O,K,M0,C,$);M0.contents?ve.contents=M0.contents:M0.url&&(ve.contents=null,ve.url=M0.url),Object.defineProperties(ve,{usedBytes:{get:function(){return this.contents.length}}});var x0={},u=Object.keys(ve.stream_ops);return u.forEach(function(be){var ne=ve.stream_ops[be];x0[be]=function(){if(!p0.forceLoadFile(ve))throw new p0.ErrnoError(fe.EIO);return ne.apply(null,arguments)}}),x0.read=function(ne,B2,g,on,In){if(!p0.forceLoadFile(ve))throw new p0.ErrnoError(fe.EIO);var v0=ne.node.contents;if(In>=v0.length)return 0;var g0=Math.min(v0.length-In,on);if(E0(g0>=0),v0.slice)for(var Kt=0;Kt>2]=C.dev,Ee[o0+4>>2]=0,Ee[o0+8>>2]=C.ino,Ee[o0+12>>2]=C.mode,Ee[o0+16>>2]=C.nlink,Ee[o0+20>>2]=C.uid,Ee[o0+24>>2]=C.gid,Ee[o0+28>>2]=C.rdev,Ee[o0+32>>2]=0,Ee[o0+36>>2]=C.size,Ee[o0+40>>2]=4096,Ee[o0+44>>2]=C.blocks,Ee[o0+48>>2]=C.atime.getTime()/1e3|0,Ee[o0+52>>2]=0,Ee[o0+56>>2]=C.mtime.getTime()/1e3|0,Ee[o0+60>>2]=0,Ee[o0+64>>2]=C.ctime.getTime()/1e3|0,Ee[o0+68>>2]=0,Ee[o0+72>>2]=C.ino,0},doMsync:function(O,K,o0,C){var $=new Uint8Array(Ye.subarray(O,O+o0));p0.msync(K,$,0,o0,C)},doMkdir:function(O,K){return O=S2.normalize(O),O[O.length-1]==="/"&&(O=O.substr(0,O.length-1)),p0.mkdir(O,K,0),0},doMknod:function(O,K,o0){switch(K&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-fe.EINVAL}return p0.mknod(O,K,o0),0},doReadlink:function(O,K,o0){if(o0<=0)return-fe.EINVAL;var C=p0.readlink(O),$=Math.min(o0,H2(C)),e=Ue[K+$];return a2(C,K,o0+1),Ue[K+$]=e,$},doAccess:function(O,K){if(K&-8)return-fe.EINVAL;var o0,C=p0.lookupPath(O,{follow:!0});o0=C.node;var $="";return K&4&&($+="r"),K&2&&($+="w"),K&1&&($+="x"),$&&p0.nodePermissions(o0,$)?-fe.EACCES:0},doDup:function(O,K,o0){var C=p0.getStream(o0);return C&&p0.close(C),p0.open(O,K,0,o0,o0).fd},doReadv:function(O,K,o0,C){for(var $=0,e=0;e>2],M0=Ee[K+(e*8+4)>>2],ve=p0.read(O,Ue,s0,M0,C);if(ve<0)return-1;if($+=ve,ve>2],M0=Ee[K+(e*8+4)>>2],ve=p0.write(O,Ue,s0,M0,C);if(ve<0)return-1;$+=ve}return $},varargs:0,get:function(O){o2.varargs+=4;var K=Ee[o2.varargs-4>>2];return K},getStr:function(){var O=Se(o2.get());return O},getStreamFromFD:function(){var O=p0.getStream(o2.get());if(!O)throw new p0.ErrnoError(fe.EBADF);return O},getSocketFromFD:function(){var O=SOCKFS.getSocket(o2.get());if(!O)throw new p0.ErrnoError(fe.EBADF);return O},getSocketAddress:function(O){var K=o2.get(),o0=o2.get();if(O&&K===0)return null;var C=__read_sockaddr(K,o0);if(C.errno)throw new p0.ErrnoError(C.errno);return C.addr=DNS.lookup_addr(C.addr)||C.addr,C},get64:function(){var O=o2.get(),K=o2.get();return O>=0?E0(K===0):E0(K===-1),O},getZero:function(){E0(o2.get()===0)}};function dw(O,K){o2.varargs=K;try{var o0=o2.getStr();return p0.unlink(o0),0}catch(C){return(typeof p0>"u"||!(C instanceof p0.ErrnoError))&&it(C),-C.errno}}function S3(O,K){o2.varargs=K;try{var o0=o2.getStreamFromFD(),C=o2.get(),$=o2.get(),e=o2.get(),s0=o2.get(),M0=$;return p0.llseek(o0,M0,s0),Ee[e>>2]=o0.position,o0.getdents&&M0===0&&s0===0&&(o0.getdents=null),0}catch(ve){return(typeof p0>"u"||!(ve instanceof p0.ErrnoError))&&it(ve),-ve.errno}}function cy(O,K){o2.varargs=K;try{var o0=o2.getStreamFromFD(),C=o2.get(),$=o2.get();return o2.doReadv(o0,C,$)}catch(e){return(typeof p0>"u"||!(e instanceof p0.ErrnoError))&&it(e),-e.errno}}function fy(O,K){o2.varargs=K;try{var o0=o2.getStreamFromFD(),C=o2.get(),$=o2.get();return o2.doWritev(o0,C,$)}catch(e){return(typeof p0>"u"||!(e instanceof p0.ErrnoError))&&it(e),-e.errno}}function hy(O,K){o2.varargs=K;try{var o0=o2.get(),C=o2.get(),$=o2.get(),e=o2.get(),s0=o2.get(),M0=o2.get();M0<<=12;var ve,x0=!1;if(s0===-1){if(ve=Gi(_e,C),!ve)return-fe.ENOMEM;ra(ve,0,C),x0=!0}else{var u=p0.getStream(s0);if(!u)return-fe.EBADF;var be=p0.mmap(u,Ye,o0,C,M0,$,e);ve=be.ptr,x0=be.allocated}return o2.mappings[ve]={malloc:ve,len:C,allocated:x0,fd:s0,flags:e},ve}catch(ne){return(typeof p0>"u"||!(ne instanceof p0.ErrnoError))&&it(ne),-ne.errno}}function Qc(O,K){o2.varargs=K;try{var o0=o2.getStr(),C=o2.get();return o2.doStat(p0.stat,o0,C)}catch($){return(typeof p0>"u"||!($ instanceof p0.ErrnoError))&&it($),-$.errno}}function pw(O,K){o2.varargs=K;try{var o0=o2.getStreamFromFD(),C=o2.get();return o2.doStat(p0.stat,o0.path,C)}catch($){return(typeof p0>"u"||!($ instanceof p0.ErrnoError))&&it($),-$.errno}}var kw={ppid:1,pid:42,sid:42,pgid:42};function vw(O,K){o2.varargs=K;try{return kw.pid}catch(o0){return(typeof p0>"u"||!(o0 instanceof p0.ErrnoError))&&it(o0),-o0.errno}}function mw(O,K){o2.varargs=K;try{var o0=o2.getStreamFromFD(),C=o2.get();switch(C){case 0:{var $=o2.get();if($<0)return-fe.EINVAL;var e;return e=p0.open(o0.path,o0.flags,0,$),e.fd}case 1:case 2:return 0;case 3:return o0.flags;case 4:{var $=o2.get();return o0.flags|=$,0}case 12:case 12:{var $=o2.get(),s0=0;return He[$+s0>>1]=2,0}case 13:case 14:case 13:case 14:return 0;case 16:case 8:return-fe.EINVAL;case 9:return J2(fe.EINVAL),-1;default:return-fe.EINVAL}}catch(M0){return(typeof p0>"u"||!(M0 instanceof p0.ErrnoError))&&it(M0),-M0.errno}}function gw(O,K){o2.varargs=K;try{var o0=o2.getStreamFromFD(),C=o2.get(),$=o2.get();return p0.read(o0,Ue,C,$)}catch(e){return(typeof p0>"u"||!(e instanceof p0.ErrnoError))&&it(e),-e.errno}}function yw(O,K){o2.varargs=K;try{var o0=o2.getStr(),C=o2.get();return o2.doAccess(o0,C)}catch($){return(typeof p0>"u"||!($ instanceof p0.ErrnoError))&&it($),-$.errno}}function wy(O,K){o2.varargs=K;try{var o0=o2.getStr(),C=o2.get(),$=o2.get(),e=p0.open(o0,C,$);return e.fd}catch(s0){return(typeof p0>"u"||!(s0 instanceof p0.ErrnoError))&&it(s0),-s0.errno}}function dy(O,K){o2.varargs=K;try{var o0=o2.getStreamFromFD(),C=o2.get();switch(C){case 21509:case 21505:return o0.tty?0:-fe.ENOTTY;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return o0.tty?0:-fe.ENOTTY;case 21519:{if(!o0.tty)return-fe.ENOTTY;var $=o2.get();return Ee[$>>2]=0,0}case 21520:return o0.tty?-fe.EINVAL:-fe.ENOTTY;case 21531:{var $=o2.get();return p0.ioctl(o0,C,$)}case 21523:return o0.tty?0:-fe.ENOTTY;default:it("bad ioctl syscall "+C)}}catch(e){return(typeof p0>"u"||!(e instanceof p0.ErrnoError))&&it(e),-e.errno}}function py(O,K){o2.varargs=K;try{var o0=o2.getStreamFromFD();return p0.close(o0),0}catch(C){return(typeof p0>"u"||!(C instanceof p0.ErrnoError))&&it(C),-C.errno}}function ky(O,K){o2.varargs=K;try{var o0=o2.get(),C=o2.get(),$=o2.mappings[o0];if(!$)return 0;if(C===$.len){var e=p0.getStream($.fd);o2.doMsync(o0,e,C,$.flags),p0.munmap(e),o2.mappings[o0]=null,$.allocated&&j3($.malloc)}return 0}catch(s0){return(typeof p0>"u"||!(s0 instanceof p0.ErrnoError))&&it(s0),-s0.errno}}var vy=de([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",q0);function at(){}function _3(O){R.exit(O)}function Cw(O){_3(O)}var Ui=n2;n2+=16;function s1(O){var K=64,o0=1024,C,$;s1.called?($=Ee[Ui>>2],C=Ee[$>>2]):(s1.called=!0,Ri.USER=Ri.LOGNAME="web_user",Ri.PATH="/",Ri.PWD="/",Ri.HOME="/home/web_user",Ri.LANG="C.UTF-8",Ri._=R.thisProgram,C=c0(o0),$=c0(K*4),Ee[$>>2]=C,Ee[Ui>>2]=$);var e=[],s0=0;for(var M0 in O)if(typeof O[M0]=="string"){var ve=M0+"="+O[M0];e.push(ve),s0+=ve.length}if(s0>o0)throw new Error("Environment size exceeded TOTAL_ENV_SIZE!");for(var x0=4,u=0;u>2]=C,C+=ve.length+1}Ee[$+e.length*x0>>2]=0}var Ri={};function sA(O){return O===0||(O=Se(O),!Ri.hasOwnProperty(O))?0:(sA.ret&&j3(sA.ret),sA.ret=j2(Ri[O]),sA.ret)}function bu(O){var K=Date.now();return Ee[O>>2]=K/1e3|0,Ee[O+4>>2]=K%1e3*1e3|0,0}var Ew=fw,z3=Xu,my=Xu,L3=Mc,AA=uy,Bw=En,gl=En;function Tc(){it("trap!")}function ea(O,K){throw R.setThrew(O,K||1),"longjmp"}function Pt(O,K,o0){return Ye.set(Ye.subarray(K,K+o0),O),O}function Iw(O,K,o0){if(O===0)return J2(fe.EINVAL),-1;var C=Se(O),$=Se(K);return C===""||C.indexOf("=")!==-1?(J2(fe.EINVAL),-1):(Ri.hasOwnProperty(C)&&!o0||(Ri[C]=$,s1(Ri)),0)}function R3(O){var K=Date.now()/1e3|0;return O&&(Ee[O>>2]=K),K}function xw(O){return O!==0&&ra(O,0,16),0}if(l0?er=function(){var K=process.hrtime();return K[0]*1e3+K[1]/1e6}:typeof dateNow<"u"?er=dateNow:typeof self=="object"&&self.performance&&typeof self.performance.now=="function"?er=function(){return self.performance.now()}:typeof performance=="object"&&typeof performance.now=="function"?er=function(){return performance.now()}:er=Date.now,p0.staticInit(),ws.unshift(function(){!R.noFSInit&&!p0.init.initialized&&p0.init()}),C3.push(function(){p0.ignorePermissions=!1}),Dt.push(function(){p0.quit()}),ws.unshift(function(){}),Dt.push(function(){}),l0){var pt=R8,G3=R8;Sr.staticInit()}s1(Ri),tt=c0(4),N2=b2=y0(n2),mr=N2+ki,xr=y0(mr),Ee[tt>>2]=xr,h2=!0;var A1=!1;function yl(O,K,o0){var C=o0>0?o0:H2(O)+1,$=new Array(C),e=f2(O,$,0,$.length);return K&&($.length=e),$}function ds(O){for(var K=[],o0=0;o0255&&(A1&&E0(!1,"Character code "+C+" ("+String.fromCharCode(C)+") at offset "+o0+" not in 0x00-0xFF."),C&=255),K.push(String.fromCharCode(C))}return K.join("")}var uA=typeof atob=="function"?atob:function(O){var K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o0="",C,$,e,s0,M0,ve,x0,u=0;O=O.replace(/[^A-Za-z0-9\+\/\=]/g,"");do s0=K.indexOf(O.charAt(u++)),M0=K.indexOf(O.charAt(u++)),ve=K.indexOf(O.charAt(u++)),x0=K.indexOf(O.charAt(u++)),C=s0<<2|M0>>4,$=(M0&15)<<4|ve>>2,e=(ve&3)<<6|x0,o0=o0+String.fromCharCode(C),ve!==64&&(o0=o0+String.fromCharCode($)),x0!==64&&(o0=o0+String.fromCharCode(e));while(u>2]=0,m=L,v0=0,i=gt(29,r|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,_|0)|0,o||ie(n|0,g0|0),b=g0):o=-1;e:do if((o|0)!=1)if(v0=0,x=gt(23,i<<3|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,z|0,_|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)!=1){if(!(C[194954]|0))E=0;else{if(v0=0,i=cR(3)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,_|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){w=0,c=0,f=0,A=0,s=0,t=x,l=x,i=b,o=0,B=74;break}E=i}if(v0=0,i=nt(97,r|0,110064)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,_|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)!=1){e[47323]=0;r:do if(i|0&&(s=C[i>>0]|0,s<<24>>24))for(l=i,n=s,o=0;;){if(s=l+1|0,!(n<<24>>24))break r;switch(n<<24>>24|0){case 99:{i=8,B=16;break}case 105:{i=18,B=16;break}case 109:{i=1,B=16;break}case 114:{i=4,B=16;break}case 115:{i=2,B=16;break}default:i=o}(B|0)==16&&(B=0,i=o|i,e[47323]=i),l=s,n=C[s>>0]|0,o=i}while(0);if(t|0&&(v0=0,Yt(20,0,110068,A|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1)){w=0,c=E,f=0,A=0,s=0,t=x,l=x,i=b,o=0,B=74;break}if(v0=0,v=nt(98,r|0,0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){if(f=e[v+16>>2]|0,e[47323]&2|0&&(v0=0,Vn(26,e[15712]|0,f|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1)){w=0,c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break}if(v0=0,o=gt(25,r|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){for(w=0;o;){if(v0=0,i=nt(99,r|0,o|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}for(s=w;i;){(e[47134]|0)==2&&e[(e[i+16>>2]|0)+8>>2]|0||(B=32);r:do if((B|0)==32){B=0;do if(C[194954]|0)if(c=e[i>>2]&3,A=(e[e[((c|0)==3?i:i+48|0)+40>>2]>>2]|0)>>>4,c=(e[e[((c|0)==2?i:i+-48|0)+40>>2]>>2]|0)>>>4,A>>>0>c>>>0){if(v0=0,n=Yt(34,E|0,c|0,A|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(t=se(e[l>>2]|0,z|0,_|0)|0,t||ie(l|0,g0|0),b=g0):t=-1,(t|0)==1){c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}if(n|0)break r;if(v0=0,T3(64,E|0,c|0,A|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}break}else{if(v0=0,n=Yt(34,E|0,A|0,c|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(t=se(e[l>>2]|0,z|0,_|0)|0,t||ie(l|0,g0|0),b=g0):t=-1,(t|0)==1){c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}if(n|0)break r;if(v0=0,T3(64,E|0,A|0,c|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}break}while(0);if(e[x+(s<<3)+4>>2]=i,v0=0,t=gt(30,i|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}e[x+(s<<3)>>2]=t,s=s+1|0}while(0);if(v0=0,i=nt(100,r|0,i|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,z|0,_|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}}if(v0=0,o=nt(86,r|0,o|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74;break e}w=s}if(v0=0,A=gt(31,w<<3|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1)if(v0=0,_y(28,x|0,w|0,8,101),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1)if(o=e[f>>2]|0,v0=0,Tr(110,o+2|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){for(s=e[f+16>>2]|0,t=s+(o*40|0)|0,s=s+((o+1|0)*40|0)|0,p=e[15712]|0,l=0;!((l|0)>=(w|0));){if((l|0)>0&&e[47323]&16|0&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)}else c=E,f=A,s=v,t=x,l=x,i=b,o=0,B=74;else c=E,f=A,s=v,t=x,l=x,i=b,o=0,B=74;else c=E,f=0,s=v,t=x,l=x,i=b,o=0,B=74}else w=0,c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74}else w=0,c=E,f=0,A=0,s=v,t=x,l=x,i=b,o=0,B=74}else w=0,c=E,f=0,A=0,s=0,t=x,l=x,i=b,o=0,B=74}else w=0,c=0,f=0,A=0,s=0,t=0,l=x,i=b,o=0,B=74;else w=0,c=0,f=0,A=0,s=0,t=0,l=0,i=b,o=0,B=74;while(0);e:for(;;){if((B|0)==74){if(B=0,i|0){p=o;continue}if(v0=0,Tr(112,s|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){Z=o,n=l,p=t,v=s,m=A,E=f,x=c,B=w,i=b,o=Z,l=n,t=p,s=v,A=m,f=E,c=x,w=B,B=74;continue}if(e[47323]&4|0&&(v0=0,F3(8,o|0,s|0,w|0,f|0,t|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1)){n=o,p=l,v=t,m=s,E=A,x=f,Z=c,B=w,i=b,o=n,l=p,t=v,s=m,A=E,f=x,c=Z,w=B,B=74;continue}if(v0=0,Rr0(10,r|0,s|0,w|0,f|0,t|0,0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){n=o,p=l,v=t,m=s,E=A,x=f,Z=c,B=w,i=b,o=n,l=p,t=v,s=m,A=E,f=x,c=Z,w=B,B=74;continue}p=o}if(!(C[194954]|0))i=0;else{if(v0=0,Tr(113,c|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){i=b,o=p,B=74;continue}i=0}for(;!((i|0)>=(w|0));){if(v0=0,Tr(105,e[f+(i<<3)+4>>2]|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,_|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){i=b,o=p,B=74;continue e}i=i+1|0}if(v0=0,Tr(105,A|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){i=b,o=p,B=74;continue}if(v0=0,Tr(114,s|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){i=b,o=p,B=74;continue}if(v0=0,Tr(105,l|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,_|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1)i=b,o=p,B=74;else break}r0(z|0),g=L}function Ur0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(m=g,g=g+64|0,v=m+32|0,p=m+16|0,A=m,c=m+48|0,Bi(110935,r)|0,Bi(110946,r)|0,f=t+16|0,w=A+8|0,s=c+4|0,l=0;!((l|0)>=(e[t>>2]|0));)i=e[f>>2]|0,n=e[i+(l*40|0)+20>>2]|0,o=e[i+(l*40|0)+24>>2]|0,(n|0)==(o|0)?(Yw(A,n),i=~~+u[A>>3],n=~~+u[w>>3]):(mt0(c,e[n>>2]&1|0?o:n,i+(l*40|0)|0),i=e[c>>2]|0,n=e[s>>2]|0),e[p>>2]=l,e[p+4>>2]=i,e[p+8>>2]=n,A2(r,110966,p)|0,l=l+1|0;for(o=t+4|0,n=t+20|0,i=0;!((i|0)>=(e[o>>2]|0));)p=e[n>>2]|0,t=e[p+(i*24|0)+16>>2]|0,E=+u[p+(i*24|0)>>3],e[v>>2]=e[p+(i*24|0)+12>>2],e[v+4>>2]=t,u[v+8>>3]=E,A2(r,110986,v)|0,i=i+1|0;Bi(111008,r)|0,g=m}function Xr0(r){r=r|0;var t=0,i=0,n=0,o=0;return o=e[r>>2]&3,n=e[(e[((o|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0,r=e[(e[((o|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0,t=+u[n+16>>3]-+u[r+16>>3],i=+u[n+24>>3]-+u[r+24>>3],~~(i*i+t*t)|0}function qr0(r,t){return r=r|0,t=t|0,(e[r>>2]|0)-(e[t>>2]|0)|0}function $r0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+32|0,A=w,Yw(w+16|0,t),c=t+32|0,f=t+36|0,o=0;!((o|0)>=(e[c>>2]|0));){l=e[(e[f>>2]|0)+(o<<2)>>2]|0;do if(!(C[l+36>>0]|0))if(s=e[l+20>>2]|0,(s|0)==(t|0)){$c(A,l,e[l+24>>2]|0),ps(r,n,l,0)|0;break}else{$c(A,l,s),ps(r,i,l,0)|0;break}while(0);o=o+1|0}e[r>>2]=(e[r>>2]|0)+2,g=w}function Kr0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(f=g,g=g+32|0,s=f,Yw(f+16|0,t),A=t+32|0,c=t+36|0,o=0;!((o|0)>=(e[A>>2]|0));)l=e[(e[c>>2]|0)+(o<<2)>>2]|0,n=e[l+20>>2]|0,(n|0)==(t|0)&&(n=e[l+24>>2]|0),$c(s,l,n),ps(r,i,l,0)|0,o=o+1|0;e[r>>2]=(e[r>>2]|0)+1,e[i+24>>2]=t,e[i+20>>2]=t,g=f}function br0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=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|0,o=T+(v*56|0)|0,i=D,s=o+56|0;do e[o>>2]=e[i>>2],o=o+4|0,i=i+4|0;while((o|0)<(s|0));o=z,s=l,p=w,w=_,i=f,c=L}else o=z,s=l,p=w,w=_,i=v,c=L}z=l,l=e[Z>>2]|0,v=s,W=i,L=A,s=z}for(l=V2(T,W*56|0)|0,i=W+-1|0,o=0;!((o|0)>=(W|0));)if((o|0)>0&&(e[l+(o*56|0)+48>>2]=l+((o+-1|0)*56|0)),(o|0)<(i|0)){F=o+1|0,e[l+(o*56|0)+52>>2]=l+(F*56|0),o=F;continue}else{o=o+1|0;continue}e[r>>2]=W,e[r+4>>2]=l,g=q}function et0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(A=ct(25692,e[4581]|0)|0,c=r+8|0,s=0;!((s|0)>=(e[r>>2]|0));){if(t=(e[c>>2]|0)+(s*72|0)|0,!(e[t>>2]&4)){for(;i=e[(e[t+36>>2]|0)+8>>2]|0,!(!i||(i=e[i+20>>2]|0,!i));)if(!(e[i>>2]&1))t=i;else break;for(l=j0(40)|0,e[l+36>>2]=t,u[l+8>>3]=+u[t+40>>3],o=t,i=e[t>>2]|0;e[o>>2]=i|4,i=e[e[o+36>>2]>>2]|0,!(!i||(n=e[i+24>>2]|0,!n)||(i=e[n>>2]|0,i&1|0));)o=n;u[l+16>>3]=+u[o+56>>3],_R(A,l,+u[t+48>>3])}s=s+1|0}return A|0}function rt0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(A=ct(25692,e[4581]|0)|0,c=r+8|0,s=0;!((s|0)>=(e[r>>2]|0));){if(t=(e[c>>2]|0)+(s*72|0)|0,!(e[t>>2]&2)){for(;i=e[(e[t+36>>2]|0)+12>>2]|0,!(!i||(i=e[i+20>>2]|0,!i));)if(!(e[i>>2]&1))t=i;else break;for(l=j0(40)|0,e[l+36>>2]=t,u[l+8>>3]=+u[t+48>>3],o=t,i=e[t>>2]|0;e[o>>2]=i|2,i=e[(e[o+36>>2]|0)+4>>2]|0,!(!i||(n=e[i+24>>2]|0,!n)||(i=e[n>>2]|0,i&1|0));)o=n;u[l+16>>3]=+u[o+64>>3],_R(A,l,+u[t+40>>3])}s=s+1|0}return A|0}function tt0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;for(A=i+20|0,s=i+24|0,i=0;!((i|0)>=(r|0));){for(o=e[t+(i<<3)>>2]|0,l=e[t+(i<<3)+4>>2]|0,n=0;!((n|0)>=(o|0));)c=l+(n*56|0)|0,ht0(ia(e[(C[c>>0]|0?s:A)>>2]|0,c)|0,c),n=n+1|0;i=i+1|0}}function it0(r){r=r|0;var t=0,i=0;i=r+20|0,vR(e[i>>2]|0),t=r+24|0,vR(e[t>>2]|0),mR(e[i>>2]|0),mR(e[t>>2]|0),gR(e[i>>2]|0,r),gR(e[t>>2]|0,r),yR(e[i>>2]|0),yR(e[t>>2]|0)}function nt0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;for(N=g,g=g+224|0,w=N+176|0,f=N+208|0,Z=N+160|0,W=N+128|0,c=N+96|0,x=N+64|0,z=N,p=N+32|0,_=z+8|0,u[_>>3]=17976931348623157e292,u[z>>3]=17976931348623157e292,L=z+24|0,u[L>>3]=-17976931348623157e292,v=z+16|0,u[v>>3]=-17976931348623157e292,Bi(110183,r)|0,e[w>>2]=10,e[w+4>>2]=10,A2(r,110589,w)|0,Bi(138265,r)|0,s=t+4|0,A=t+12|0,m=x+8|0,E=x+16|0,B=x+24|0,l=0;!((l|0)>=(e[s>>2]|0));)X=(e[A>>2]|0)+(l*72|0)+40|0,e[x>>2]=e[X>>2],e[x+4>>2]=e[X+4>>2],e[x+8>>2]=e[X+8>>2],e[x+12>>2]=e[X+12>>2],e[x+16>>2]=e[X+16>>2],e[x+20>>2]=e[X+20>>2],e[x+24>>2]=e[X+24>>2],e[x+28>>2]=e[X+28>>2],P=+u[m>>3],D=+u[E>>3],T=+u[B>>3],u[c>>3]=+u[x>>3],u[c+8>>3]=P,u[c+16>>3]=D,u[c+24>>3]=T,A2(r,138284,c)|0,l=l+1|0;for(l=0;!((l|0)>=(i|0));)X=e[o+(l<<3)+4>>2]|0,c=n+(l<<3)|0,e[f>>2]=e[c>>2],e[f+4>>2]=e[c+4>>2],e[w>>2]=e[z>>2],e[w+4>>2]=e[z+4>>2],e[w+8>>2]=e[z+8>>2],e[w+12>>2]=e[z+12>>2],e[w+16>>2]=e[z+16>>2],e[w+20>>2]=e[z+20>>2],e[w+24>>2]=e[z+24>>2],e[w+28>>2]=e[z+28>>2],At0(p,r,X,f,t,w),e[z>>2]=e[p>>2],e[z+4>>2]=e[p+4>>2],e[z+8>>2]=e[p+8>>2],e[z+12>>2]=e[p+12>>2],e[z+16>>2]=e[p+16>>2],e[z+20>>2]=e[p+20>>2],e[z+24>>2]=e[p+24>>2],e[z+28>>2]=e[p+28>>2],l=l+1|0;for(Bi(110606,r)|0,s=t+8|0,l=0;!((l|0)>=(e[t>>2]|0));)X=(e[s>>2]|0)+(l*72|0)+40|0,e[x>>2]=e[X>>2],e[x+4>>2]=e[X+4>>2],e[x+8>>2]=e[X+8>>2],e[x+12>>2]=e[X+12>>2],e[x+16>>2]=e[X+16>>2],e[x+20>>2]=e[X+20>>2],e[x+24>>2]=e[X+24>>2],e[x+28>>2]=e[X+28>>2],U=+u[x>>3],T=+u[m>>3],D=+u[E>>3],P=+u[B>>3],u[W>>3]=U,u[W+8>>3]=T,u[W+16>>3]=D,u[W+24>>3]=P,A2(r,138321,W)|0,u[z>>3]=+u[(+u[z>>3]>3],u[_>>3]=+u[(+u[_>>3]>3],u[v>>3]=+u[(+u[v>>3]>D?z:x)+16>>3],u[L>>3]=+u[(+u[L>>3]>P?z:x)+24>>3],l=l+1|0;_=~~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+4>>2]=e[t0+4>>2],e[X+8>>2]=e[t0+8>>2],e[X+12>>2]=e[t0+12>>2],e[U>>2]=e[Y>>2],e[U+4>>2]=e[Y+4>>2],e[U+8>>2]=e[Y+8>>2],e[U+12>>2]=e[Y+12>>2],zf(r,W,X,U)),z=z+1|0}r0(w),g=B0}function kR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;u[t>>3]=+u[t>>3]+ +u[i>>3],n=t+8|0,u[n>>3]=+u[n>>3]+ +u[i+8>>3],e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function Xc(r,t){r=r|0,t=t|0;var i=0,n=0;return t=ia(e[t+24>>2]|0,r)|0,n=e[t+36>>2]|0,i=+u[n+40>>3],+((+u[n+56>>3]-i)*(+(e[r+44>>2]|0)/+((e[t+24>>2]|0)+1|0))+i)}function qc(r,t){r=r|0,t=t|0;var i=0,n=0;return n=ia(e[t+20>>2]|0,r)|0,t=e[n+36>>2]|0,i=+u[t+48>>3],~~((1-+(e[r+44>>2]|0)/+((e[n+24>>2]|0)+1|0))*(+u[t+64>>3]-i)+i)|0}function lt0(r){return r=r|0,0}function st0(r){return r=r|0,0}function ia(r,t){if(r=r|0,t=t|0,r=oe[e[r>>2]&63](r,t+8|0,512)|0,r||H0(110155,110161,423,110169),r=e[r+16>>2]|0,r=oe[e[r>>2]&63](r,t+16|0,512)|0,!r)H0(110180,110161,425,110169);else return r|0;return 0}function At0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0;for(W=g,g=g+32|0,Z=W+16|0,x=W+8|0,c=W,s=e[(e[(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0,B=e[n+4>>2]|0,C[B>>0]|0?(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}function mR(r){r=r|0;var t=0;for(r=Mt(r)|0;r;){for(t=Mt(e[r+16>>2]|0)|0;t;)e[t+24>>2]|0&&ft0(t),t=e[t>>2]|0;r=e[r>>2]|0}}function gR(r,t){r=r|0,t=t|0;var i=0;for(i=Mt(r)|0;i;){for(r=Mt(e[i+16>>2]|0)|0;r;)at0(r,t),r=e[r>>2]|0;i=e[i>>2]|0}}function yR(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(n=Mt(r)|0;n;){for(s=n+8|0,o=Mt(e[n+16>>2]|0)|0;o;){r=o+24|0;e:do if(e[r>>2]|0)for(e[47323]&8|0&&ut0(o,~~+u[s>>3]),l=o+32|0,Et0(e[l>>2]|0),t=e[r>>2]|0,i=o+28|0,r=0;;){if((r|0)>=(t|0))break e;e[(e[(e[i>>2]|0)+(r<<2)>>2]|0)+44>>2]=(e[(e[(e[l>>2]|0)+4>>2]|0)+(r*12|0)+4>>2]|0)+1,r=r+1|0}while(0);o=e[o>>2]|0}n=e[n>>2]|0}}function ut0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;A=g,g=g+32|0,i=A,l=r+24|0;e:do if((e[l>>2]|0)>=2)for(s=e[15712]|0,f=+u[r+8>>3],c=+u[r+16>>3],e[i>>2]=t,u[i+8>>3]=f,u[i+16>>3]=c,A2(s,110739,i)|0,o=r+32|0,r=r+28|0,t=0;;){if((t|0)>=(e[l>>2]|0))break e;n=e[(e[(e[o>>2]|0)+4>>2]|0)+(t*12|0)+8>>2]|0;r:do if(sn(n)|0)for(CR(s,e[(e[r>>2]|0)+(t<<2)>>2]|0),Bi(110759,s)|0,i=oe[e[n>>2]&63](n,0,128)|0;;){if(!i)break r;Bi(110764,s)|0,CR(s,e[(e[r>>2]|0)+(e[i>>2]<<2)>>2]|0),Bi(153599,s)|0,i=oe[e[n>>2]&63](n,i,8)|0}while(0);t=t+1|0}while(0);g=A}function CR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;o=g,g=g+80|0,n=o+40|0,i=o,C[t>>0]|0?(A=+u[t+8>>3],s=+u[t+16>>3],c=+u[t+24>>3],n=Tw(e[t+32>>2]|0)|0,l=Tw(e[t+36>>2]|0)|0,u[i>>3]=A,u[i+8>>3]=s,u[i+16>>3]=A,u[i+24>>3]=c,e[i+32>>2]=n,e[i+36>>2]=l,A2(r,110770,i)|0):(c=+u[t+16>>3],s=+u[t+8>>3],A=+u[t+24>>3],l=Tw(e[t+32>>2]|0)|0,i=Tw(e[t+36>>2]|0)|0,u[n>>3]=c,u[n+8>>3]=s,u[n+16>>3]=A,u[n+24>>3]=s,e[n+32>>2]=l,e[n+36>>2]=i,A2(r,110770,n)|0),g=o}function Tw(r){switch(r=r|0,r|0){case 0:{r=110821;break}case 1:{r=110816;break}case 2:{r=110809;break}case 3:{r=110802;break}case 4:{r=110794;break}default:r=0}return r|0}function at0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;L=g,g=g+16|0,E=L+8|0,x=L,z=e[r+32>>2]|0,_=e[r+28>>2]|0,v=r+24|0,f=E+4|0,w=x+4|0,A=0,r=e[v>>2]|0;e:for(;m=A+1|0,!((m|0)>=(r|0));)for(p=_+(A<<2)|0,c=m;;){if((c|0)>=(r|0)){A=m;continue e}r:do if(!(Kc(z,A,c)|0)&&!(Kc(z,c,A)|0)&&(B=_+(c<<2)|0,Gy(e[p>>2]|0,e[B>>2]|0)|0))switch(o=e[p>>2]|0,r=e[o+48>>2]|0,s=e[B>>2]|0,i=e[s+48>>2]|0,n=(i|0)==0,r?n?r=1:r=+u[r+8>>3]!=+u[i+8>>3]:r=n^1,l=r&1,ER(E,o,s,0,l),r=e[E>>2]|0,s=e[f>>2]|0,o=l^1,ER(x,e[p>>2]|0,e[B>>2]|0,1,o),i=e[x>>2]|0,n=e[w>>2]|0,s|0){case-1:{if(Cl(e[B>>2]|0,e[p>>2]|0,l,0,r,t),Cl(e[B>>2]|0,e[p>>2]|0,o,1,i,t),(n|0)!=1)break r;BR(e[p>>2]|0,e[B>>2]|0,o,t);break r}case 0:switch(n|0){case-1:{Cl(e[B>>2]|0,e[p>>2]|0,l,0,r,t),Cl(e[B>>2]|0,e[p>>2]|0,o,1,i,t);break r}case 0:{Cl(e[p>>2]|0,e[B>>2]|0,0,l,r,t),Cl(e[p>>2]|0,e[B>>2]|0,1,o,i,t);break r}case 1:{Cl(e[p>>2]|0,e[B>>2]|0,0,l,r,t),Cl(e[p>>2]|0,e[B>>2]|0,1,o,i,t);break r}default:break r}case 1:{if(Cl(e[p>>2]|0,e[B>>2]|0,0,l,r,t),Cl(e[p>>2]|0,e[B>>2]|0,1,o,i,t),(n|0)!=-1)break r;BR(e[p>>2]|0,e[B>>2]|0,o,t);break r}default:break r}while(0);c=c+1|0,r=e[v>>2]|0}g=L}function Gy(r,t){return r=r|0,t=t|0,+u[r+8>>3]!=+u[t+8>>3]&&H0(110892,110161,843,110923),+u[r+16>>3]==+u[t+16>>3]&&+u[r+24>>3]==+u[t+24>>3]&&(e[r+32>>2]|0)==(e[t+32>>2]|0)?r=(e[r+36>>2]|0)==(e[t+36>>2]|0)&1:r=0,r|0}function ER(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=0;;){if(t=na(t,n)|0,!t){s=0;break}if(i=na(i,o)|0,!i){A=6;break}if(!(Gy(t,i)|0)){A=7;break}l=l+1|0}(A|0)==6?H0(138394,110161,871,110841):(A|0)==7&&(s=ct0(t,IR(t,i)|0,l+1|0,1-n|0)|0),e[r>>2]=l,e[r+4>>2]=s}function Cl(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(p=l+20|0,w=l+24|0,l=ia(e[(C[r>>0]|0?w:p)>>2]|0,r)|0,Wi(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0),A=1;!((A|0)>(o|0));){c=na(r,i)|0,f=na(t,n)|0;do if(C[r>>0]|0)if(s=ia(e[p>>2]|0,c)|0,+u[c+8>>3]==+u[r+16>>3])if(v=(e[r+32>>2]|0)==2,l=(Kc(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0)|0)!=0,r=e[s+32>>2]|0,v)if(l){Wi(r,e[c+40>>2]|0,e[f+40>>2]|0),l=s;break}else{Wi(r,e[f+40>>2]|0,e[c+40>>2]|0),l=s;break}else if(l){Wi(r,e[f+40>>2]|0,e[c+40>>2]|0),l=s;break}else{Wi(r,e[c+40>>2]|0,e[f+40>>2]|0),l=s;break}else if(v=(e[r+36>>2]|0)==2,l=(Kc(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0)|0)!=0,r=e[s+32>>2]|0,v)if(l){Wi(r,e[f+40>>2]|0,e[c+40>>2]|0),l=s;break}else{Wi(r,e[c+40>>2]|0,e[f+40>>2]|0),l=s;break}else if(l){Wi(r,e[c+40>>2]|0,e[f+40>>2]|0),l=s;break}else{Wi(r,e[f+40>>2]|0,e[c+40>>2]|0),l=s;break}else if(s=ia(e[w>>2]|0,c)|0,+u[c+8>>3]==+u[r+16>>3])if(v=(e[r+32>>2]|0)==1,l=(Kc(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0)|0)!=0,r=e[s+32>>2]|0,v)if(l){Wi(r,e[f+40>>2]|0,e[c+40>>2]|0),l=s;break}else{Wi(r,e[c+40>>2]|0,e[f+40>>2]|0),l=s;break}else if(l){Wi(r,e[c+40>>2]|0,e[f+40>>2]|0),l=s;break}else{Wi(r,e[f+40>>2]|0,e[c+40>>2]|0),l=s;break}else if(v=(e[r+36>>2]|0)==1,l=(Kc(e[l+32>>2]|0,e[r+40>>2]|0,e[t+40>>2]|0)|0)!=0,r=e[s+32>>2]|0,v)if(l){Wi(r,e[c+40>>2]|0,e[f+40>>2]|0),l=s;break}else{Wi(r,e[f+40>>2]|0,e[c+40>>2]|0),l=s;break}else if(l){Wi(r,e[f+40>>2]|0,e[c+40>>2]|0),l=s;break}else{Wi(r,e[c+40>>2]|0,e[f+40>>2]|0),l=s;break}while(0);r=c,t=f,A=A+1|0}}function BR(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;for(var o=0;Gy(r,t)|0;)o=na(r,1)|0,t=na(t,i)|0,r=o;o=e[(ia(e[(C[r>>0]|0?n+24|0:n+20|0)>>2]|0,r)|0)+32>>2]|0,Ct0(o,e[r+40>>2]|0,e[t+40>>2]|0)}function na(r,t){if(r=r|0,t=t|0,!r)H0(110828,110161,798,110832);else return e[(t|0?r+52|0:r+48|0)>>2]|0;return 0}function IR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=g,g=g+16|0,n=o,i=C[r>>0]|0,i<<24>>24==(C[t>>0]|0)&&+u[r+8>>3]==+u[t+8>>3]?(i<<24>>24?r=xR(r,t,4,2)|0:r=xR(r,t,3,1)|0,g=o,r|0):($0(1,110854,n)|0,ie(189296,1),0)}function ct0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;for(s=1;!((s|0)>(i|0));){l=na(r,n)|0,o=+u[l+8>>3]==+u[r+16>>3];do if(C[r>>0]|0)if(o){o=(e[r+32>>2]|0)==4;break}else{o=(e[r+36>>2]|0)==2;break}else if(o){o=(e[r+32>>2]|0)==1;break}else{o=(e[r+36>>2]|0)==3;break}while(0);r=l,s=s+1|0,t=o?0-t|0:t}return t|0}function xR(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;A=+u[r+24>>3],c=+u[t+16>>3];do if(!(A>3],s=+u[t+24>>3],!(l>s))){if(c>2]|0,((i|0)==(e[t+32>>2]|0)?0:(i|0)==(n|0)?1:-1)|0;i=e[r+32>>2]|0,t=(i|0)==(e[t+36>>2]|0)?0:(i|0)==(n|0)?1:-1;break}if(A!=s){if(A>2]|0)==(i|0),i=Pw(e[t+32>>2]|0,e[r+32>>2]|0,i,n)|0,(v?i:0-i|0)|0;v=(e[t+36>>2]|0)==(n|0),t=Pw(e[r+32>>2]|0,e[t+32>>2]|0,i,n)|0,t=v?t:0-t|0;break}if(v=e[r+32>>2]|0,p=e[t+32>>2]|0,(v|0)==(p|0)){if(t=e[t+36>>2]|0,(e[r+36>>2]|0)==(t|0)){t=0;break}}else t=e[t+36>>2]|0;if(w=(p|0)==(i|0),(p|0)==(t|0)){if(w){t=1;break}if((p|0)==(n|0)){t=-1;break}if((v|0)!=(i|0)&&(e[r+36>>2]|0)!=(i|0)){t=1;break}if((v|0)!=(n|0)&&(e[r+36>>2]|0)!=(n|0)){t=-1;break}t=0;break}if(o=(t|0)==(n|0),w&o){if(t=(e[r+36>>2]|0)==(n|0),(v|0)==(i|0)){if(!t){t=-1;break}}else if(t){t=1;break}t=0;break}if(f=(t|0)==(i|0),(p|0)==(n|0)&f){if(t=(v|0)==(n|0),(e[r+36>>2]|0)==(i|0)){if(!t){t=-1;break}}else if(t){t=1;break}t=0;break}if(!p){if(f){t=Fw(v,e[r+36>>2]|0,i)|0;break}if(o){t=0-(Fw(v,e[r+36>>2]|0,n)|0)|0;break}}if(o=e[r+36>>2]|0,w&(t|0)==0){t=Fw(o,v,i)|0;break}else{t=0-(Fw(o,v,n)|0)|0;break}}else t=0;while(0);return t|0}function SR(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=+u[r+24>>3],A=+u[t+24>>3];do if(s>2]|0,(r|0)==(i|0)&&(e[t+32>>2]|0)==(n|0)){r=-1;break}if((r|0)==(n|0)&&(e[t+32>>2]|0)==(i|0)){r=1;break}r=0}else{if(o=e[t+32>>2]|0,l=(o|0)==(n|0),s==A)if(l){r=Pw(e[r+36>>2]|0,e[t+36>>2]|0,i,n)|0;break}else{r=0-(Pw(e[t+36>>2]|0,e[r+36>>2]|0,i,n)|0)|0;break}if(l&&(e[t+36>>2]|0)==(n|0)){r=-1;break}if((o|0)==(i|0)&&(e[t+36>>2]|0)==(i|0)){r=1;break}r=0}while(0);return r|0}function Fw(r,t,i){return r=r|0,t=t|0,i=i|0,((r|0)==(i|0)?((t|0)==(i|0))<<31>>31:1)|0}function Pw(r,t,i,n){if(r=r|0,t=t|0,i=i|0,n=n|0,(r|0)==(n|0)){if(t=(r|0)==0,t)return 0;t=t&1}return((r|0)!=0|(t|0)!=(i|0))<<31>>31|0}function ft0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;l=e[r+28>>2]|0,s=e[r+24>>2]|0,i=e[r+32>>2]|0,r=0;e:for(;n=r+1|0,!((n|0)>=(s|0));)for(o=l+(r<<2)|0,t=n;;){if((t|0)==(s|0)){r=n;continue e}switch(IR(e[o>>2]|0,e[l+(t<<2)>>2]|0)|0){case 1:{Wi(i,r,t);break}case-1:{Wi(i,t,r);break}default:}t=t+1|0}}function ht0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+24|0,n=e[o>>2]|0,i=n+1|0,e[o>>2]=i,e[t+40>>2]=n,n=r+28|0,r=e[n>>2]|0,r?r=Ve(r,i<<2)|0:r=_0(i<<2)|0,e[n>>2]=r,e[r+((e[o>>2]|0)+-1<<2)>>2]=t}function _R(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0;l=g,g=g+16|0,o=l,u[o>>3]=i,n=oe[e[r>>2]&63](r,o,512)|0,n||(n=j0(24)|0,u[n+8>>3]=+u[o>>3],e[n+16>>2]=ct(25728,e[4581]|0)|0,oe[e[r>>2]&63](r,n,1)|0),o=e[n+16>>2]|0,oe[e[o>>2]&63](o,t,1)|0,g=l}function wt0(r,t,i){r=r|0,t=t|0,i=i|0,yt0(e[t+32>>2]|0),r0(e[t+28>>2]|0),r0(t)}function dt0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=+u[t>>3],l=+u[i>>3],o>l?r=!(+u[t+8>>3]<=+u[i+8>>3])&1:o>3]>=+u[i+8>>3])<<31>>31:r=0,r|0}function pt0(r,t,i){r=r|0,t=t|0,i=i|0,Fr(e[t+16>>2]|0)|0,r0(t)}function kt0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=+u[t>>3],o=+u[i>>3],(l>o?1:(l>31)|0}function $c(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=(C[t+36>>0]|0)!=0,s=i+40|0;do if((e[t+24>>2]|0)==(i|0))if(n=+u[s>>3],l){o=(+u[i+64>>3]+ +u[i+48>>3])*.5;break}else{o=+u[i+48>>3],n=(+u[i+56>>3]+n)*.5;break}else if(l){o=(+u[i+64>>3]+ +u[i+48>>3])*.5,n=+u[i+56>>3];break}else{o=+u[i+64>>3],n=(+u[i+56>>3]+ +u[s>>3])*.5;break}while(0);u[r>>3]=n,u[r+8>>3]=o}function vt0(r,t){r=r|0,t=t|0;var i=0;return i=e[r+20>>2]|0,(i|0)!=(e[t+20>>2]|0)&&(i|0)!=(e[t+24>>2]|0)&&(i=e[r+24>>2]|0),i|0}function Yw(r,t){r=r|0,t=t|0;var i=0;i=(+u[t+64>>3]+ +u[t+48>>3])*.5,u[r>>3]=(+u[t+56>>3]+ +u[t+40>>3])*.5,u[r+8>>3]=i}function zR(r,t,i,n,o,l,s){r=r|0,t=t|0,i=+i,n=+n,o=+o,l=l|0,s=s|0;var A=0,c=0;C[r>>0]=t,u[r+8>>3]=i,n>3]=n,u[r+16>>3]=i,e[r+36>>2]=t,e[r+32>>2]=c,C[r+1>>0]=A}function mt0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=e[t+36>>2]|0;do if((e[n+4>>2]|0)!=(i|0)){if((e[n+12>>2]|0)==(i|0)){n=~~((+u[t+56>>3]+ +u[t+40>>3])*.5),i=~~+u[t+48>>3];break}if((e[n+8>>2]|0)==(i|0)){n=~~+u[t+40>>3],i=~~((+u[t+64>>3]+ +u[t+48>>3])*.5);break}(e[n>>2]|0)==(i|0)?(n=~~+u[t+56>>3],i=~~((+u[t+64>>3]+ +u[t+48>>3])*.5)):(n=0,i=0)}else n=~~((+u[t+56>>3]+ +u[t+40>>3])*.5),i=~~+u[t+64>>3];while(0);e[r>>2]=n,e[r+4>>2]=i}function gt0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(i=j0(8)|0,e[i>>2]=r,n=i+4|0,e[n>>2]=j0(r*12|0)|0,t=0;!((t|0)>=(r|0));)l=sG()|0,o=e[n>>2]|0,e[o+(t*12|0)+8>>2]=l,e[o+(t*12|0)>>2]=0,t=t+1|0;return i|0}function yt0(r){r=r|0;var t=0,i=0,n=0;for(i=r+4|0,t=0;n=e[i>>2]|0,!((t|0)>=(e[r>>2]|0));)Fr(e[n+(t*12|0)+8>>2]|0)|0,t=t+1|0;r0(n),r0(r)}function Wi(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=g,g=g+16|0,o=n,e[o>>2]=i,i=e[(e[r+4>>2]|0)+(t*12|0)+8>>2]|0,oe[e[i>>2]&63](i,o,1)|0,g=n}function Ct0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=g,g=g+16|0,o=n,e[o>>2]=i,r=r+4|0,l=e[(e[r>>2]|0)+(t*12|0)+8>>2]|0,oe[e[l>>2]&63](l,o,2)|0,e[o>>2]=t,i=e[(e[r>>2]|0)+(i*12|0)+8>>2]|0,oe[e[i>>2]&63](i,o,2)|0,g=n}function Kc(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=e[(e[r+4>>2]|0)+(t*12|0)+8>>2]|0,i=(oe[e[i>>2]&63](i,o,512)|0)!=0&1,g=n,i|0}function Et0(r){r=r|0;var t=0,i=0,n=0,o=0;switch(t=e[r>>2]|0,t|0){case 0:break;case 1:{e[(e[r+4>>2]|0)+4>>2]=0;break}default:{for(n=Bt0(t)|0,o=r+4|0,i=0,t=0;;){if((i|0)>=(e[r>>2]|0)){t=0;break}e[(e[o>>2]|0)+(i*12|0)>>2]|0||(t=LR(r,i,t,n)|0),i=i+1|0}for(;i=It0(n)|0,!((i|0)<=-1);)e[(e[o>>2]|0)+(i*12|0)+4>>2]=t,t=t+1|0;xt0(n)}}}function Bt0(r){r=r|0;var t=0;return t=j0(8)|0,e[t+4>>2]=j0(r<<2)|0,e[t>>2]=-1,t|0}function LR(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;for(A=r+4|0,l=e[A>>2]|0,c=l+(t*12|0)|0,e[c>>2]=1,l=e[l+(t*12|0)+8>>2]|0,s=l+4|0,i=i+1|0,l=Mt(l)|0;l;)o=e[(e[s>>2]|0)+8>>2]|0,(o|0)<0?o=e[l+8>>2]|0:o=l+(0-o)|0,o=e[o>>2]|0,e[(e[A>>2]|0)+(o*12|0)>>2]|0||(i=LR(r,o,i,n)|0),l=e[l>>2]|0;return e[c>>2]=2,St0(n,t),i+1|0}function It0(r){r=r|0;var t=0,i=0;return t=e[r>>2]|0,(t|0)==-1?r=-1:(i=e[(e[r+4>>2]|0)+(t<<2)>>2]|0,e[r>>2]=t+-1,r=i),r|0}function xt0(r){r=r|0,r0(e[r+4>>2]|0),r0(r)}function St0(r,t){r=r|0,t=t|0;var i=0;i=(e[r>>2]|0)+1|0,e[r>>2]=i,e[(e[r+4>>2]|0)+(i<<2)>>2]=t}function _t0(r){r=r|0;var t=0,i=0,n=0;for(i=e[r>>2]|0,e[r+8>>2]=i,e[r+12>>2]=e[r+4>>2],t=r+16|0,r=0;!((r|0)>=(i|0));)n=e[t>>2]|0,$[n+(r*40|0)+18>>1]=$[n+(r*40|0)+16>>1]|0,r=r+1|0}function zt0(r){r=r|0;var t=0,i=0,n=0;for(t=e[r+8>>2]|0,e[r>>2]=t,e[r+4>>2]=e[r+12>>2],i=r+16|0,r=0;!((r|0)>=(t|0));)n=e[i>>2]|0,$[n+(r*40|0)+16>>1]=$[n+(r*40|0)+18>>1]|0,r=r+1|0;for(t=t+2|0;!((r|0)>=(t|0));)$[(e[i>>2]|0)+(r*40|0)+16>>1]=0,r=r+1|0}function Lt0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=j0(((e[r>>2]|0)*6|0)+(t<<1)<<2)|0,e[r+20>>2]=j0((((e[r>>2]|0)*3|0)+t|0)*24|0)|0,n=e[r>>2]|0,o=r+16|0,r=0;!((r|0)>=(n|0));)e[(e[o>>2]|0)+(r*40|0)+28>>2]=i,i=i+24|0,r=r+1|0;for(n=n+2|0;!((r|0)>=(n|0));)e[(e[o>>2]|0)+(r*40|0)+28>>2]=i,i=i+(t<<2)|0,r=r+1|0}function Rt0(r){r=r|0;var t=0;return t=j0(24)|0,e[t>>2]=0,e[t+16>>2]=j0(r*40|0)|0,t|0}function Gt0(r){r=r|0;var t=0,i=0;return i=e[r+16>>2]|0,t=e[r>>2]|0,e[i+(t*40|0)+32>>2]=t,e[r>>2]=t+1,i+(t*40|0)|0}function ps(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0;return l=r+4|0,o=e[l>>2]|0,e[l>>2]=o+1,l=e[r+20>>2]|0,r=l+(o*24|0)|0,e[l+(o*24|0)+12>>2]=e[t+32>>2],e[l+(o*24|0)+16>>2]=e[i+32>>2],u[r>>3]=n,e[l+(o*24|0)+8>>2]=0,RR(t,o),RR(i,o),r|0}function RR(r,t){r=r|0,t=t|0;var i=0,n=0;i=r+16|0,n=$[i>>1]|0,e[(e[r+28>>2]|0)+(n<<16>>16<<2)>>2]=t,$[i>>1]=n+1<<16>>16}function Zt0(r){r=r|0;var t=0;t=r+16|0,r0(e[(e[t>>2]|0)+28>>2]|0),r0(e[t>>2]|0),r0(e[r+20>>2]|0),r0(r)}function Wt0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(o=e[r>>2]|0,l=r+16|0,n=0;!((n|0)>=(o|0));)e[(e[l>>2]|0)+(n*40|0)>>2]=-2147483648,n=n+1|0;jn0();e:do if(uG(t)|0)n=1;else{e[t+8>>2]=0,e[t>>2]=0,t=r+20|0;r:for(;;){if(o=Qn0()|0,!o){n=0;break e}if(e[o>>2]=0-(e[o>>2]|0),(o|0)==(i|0)){n=0;break e}for(l=o+16|0,s=o+28|0,n=0;;){if((n|0)>=($[l>>1]|0))continue r;A=(e[t>>2]|0)+((e[(e[s>>2]|0)+(n<<2)>>2]|0)*24|0)|0,c=Dt0(r,A,o)|0,f=e[c>>2]|0;do if((f|0)<0)if(w=~~-(+u[A>>3]+ +(e[o>>2]|0)),(f|0)==-2147483648){if(e[c>>2]=w,uG(c)|0){n=1;break e}e[c+8>>2]=o,e[c+12>>2]=A;break}else{if((f|0)>=(w|0))break;Tn0(c,w),e[c+8>>2]=o,e[c+12>>2]=A;break}while(0);n=n+1|0}}}while(0);return n|0}function Dt0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=e[t+12>>2]|0,(n|0)==(e[i+32>>2]|0)&&(n=e[t+16>>2]|0),(e[r+16>>2]|0)+(n*40|0)|0}function Vw(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;l=e[r>>2]|0,uf(l,3,t)|0,t=e[l+92>>2]|0;do if(t)if(i=e[t+16>>2]|0,s=e[i+12>>2]|0,e[r+76>>2]=s,n=e[i+16>>2]|0,e[r+84>>2]=n,o=r+80|0,e[o>>2]=e[i>>2],e[r+88>>2]=e[t+4>>2],i=r+152|0,n=e[i>>2]|e[n>>2],e[i>>2]=n,t=e[l+80>>2]|0,t){l=e[t+16>>2]|0,e[r+60>>2]=e[l+12>>2],A=e[l+16>>2]|0,e[r+68>>2]=A,e[r+72>>2]=e[t+4>>2],e[i>>2]=n|e[A>>2],e[r+64>>2]=e[(s|0?l:o)>>2],t=300;break}else{e[r+60>>2]=0,t=999;break}else t=999;while(0);return t|0}function Mt0(r){r=r|0;var t=0,i=0;return t=e[r+60>>2]|0,ic0(r)|0?r=1:(t|0&&(i=e[t>>2]|0,(i|0)!=0)&&l2[i&127](r),r=0),r|0}function Ow(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+4>>2]|0,i|0)&&l2[i&127](r),e[(e[r>>2]|0)+24>>2]=0,sD(r)}function Zy(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;n=+u[t+504>>3],o=+u[t+512>>3],s=+u[t+352>>3],e[t+360>>2]|0?l=-(o+ +u[i+8>>3]):(l=+u[i>>3]+n,i=i+8|0,n=o),o=+u[t+528>>3]*s*(+u[i>>3]+n),u[r>>3]=+u[t+520>>3]*s*l,u[r+8>>3]=o}function El(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;o=+u[r+504>>3],l=+u[r+512>>3],s=+u[r+352>>3],A=+u[r+520>>3]*s,s=+u[r+528>>3]*s;e:do if(e[r+360>>2]|0)for(r=0;;){if((r|0)>=(n|0))break e;c=-(A*(+u[t+(r<<4)+8>>3]+l)),u[i+(r<<4)+8>>3]=(+u[t+(r<<4)>>3]+o)*s,u[i+(r<<4)>>3]=c,r=r+1|0}else for(r=0;;){if((r|0)>=(n|0))break e;u[i+(r<<4)>>3]=(+u[t+(r<<4)>>3]+o)*A,u[i+(r<<4)+8>>3]=(+u[t+(r<<4)+8>>3]+l)*s,r=r+1|0}while(0);return i|0}function jt0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+8>>2]|0,i|0)&&l2[i&127](r)}function Nt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+12>>2]|0,i|0)&&l2[i&127](r),lc0(r)}function Qt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+24>>2]|0,i|0)&&l2[i&127](r)}function Tt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+28>>2]|0,i|0)&&l2[i&127](r)}function Ft0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+16>>2]|0,i|0)&&(t=e[r+160>>2]|0,Y1[i&31](r,e[(e[(e[r>>2]|0)+308>>2]|0)+(t<<2)>>2]|0,t,e[r+156>>2]|0))}function Pt0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+20>>2]|0,i|0)&&l2[i&127](r)}function Yt0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+32>>2]|0,i|0)&&l2[i&127](r)}function Vt0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+36>>2]|0,i|0)&&l2[i&127](r)}function Wy(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+40>>2]|0,i|0)&&l2[i&127](r)}function Dy(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+44>>2]|0,i|0)&&l2[i&127](r)}function My(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+48>>2]|0,i|0)&&l2[i&127](r)}function jy(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+52>>2]|0,i|0)&&l2[i&127](r)}function Ot0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+56>>2]|0,i|0)&&l2[i&127](r)}function Ht0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+60>>2]|0,i|0)&&l2[i&127](r)}function Jt0(r,t){r=r|0,t=t|0;var i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+64>>2]|0,i|0)&&l2[i&127](r)}function Ut0(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+68>>2]|0,i|0)&&l2[i&127](r)}function xn(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;l=e[r+60>>2]|0,l|0&&(s=e[l+72>>2]|0,s|0)&&Fa[s&15](r,t,i,n,o)}function Bl(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+76>>2]|0,i|0)&&l2[i&127](r)}function GR(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r+60>>2]|0,i|0&&(n=e[i+80>>2]|0,n|0)&&Bt[n&63](r,t)}function ZR(r){r=r|0;var t=0,i=0;t=e[r+60>>2]|0,t|0&&(i=e[t+84>>2]|0,i|0)&&l2[i&127](r)}function Ny(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;c=g,g=g+48|0,n=c+32|0,l=c,s=c+16|0,A=e[r+60>>2]|0,f=e[i>>2]|0;do if(f|0&&C[f>>0]|0){if(f=e[r+16>>2]|0,f|0&&!(e[f+144>>2]|0))break;e[r+152>>2]&8192?(e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2]):(e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],Zy(s,r,n),e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2]),A|0&&(o=e[A+88>>2]|0,o|0)&&(e[n>>2]=e[l>>2],e[n+4>>2]=e[l+4>>2],e[n+8>>2]=e[l+8>>2],e[n+12>>2]=e[l+12>>2],hr[o&127](r,n,i))}while(0);g=c}function Z2(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;n=e[r+60>>2]|0,o=(e[r+16>>2]|0)+16|0,s=Zr(t,58)|0,l=(s|0)!=0,l&&(C[s>>0]=0),n|0&&(Qy(e[r+68>>2]|0,t,o),i=e[n+92>>2]|0,i|0)&&Bt[i&63](r,o),l&&(C[s>>0]=58)}function Qy(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=g,g=g+32|0,l=f+16|0,c=f+8|0,A=f,e[i>>2]=t,e[i+32>>2]=5,n=TR(t)|0,o=e[r+16>>2]|0,o|0&&Jf(n,o,e[r+20>>2]|0,4,102)|0||(s=3);e:do if((s|0)==3){switch(Vi0(t,i,e[r+24>>2]|0)|0){case 0:break e;case 1:break;default:{$0(1,111046,l)|0;break e}}r=_0((d2(t)|0)+16|0)|0,e[A>>2]=t,Ke(r,111011,A)|0,Gd0(r)|0&&(e[c>>2]=t,$0(0,111020,c)|0),r0(r)}while(0);g=f}function tr(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;n=e[r+60>>2]|0,o=(e[r+16>>2]|0)+56|0,s=Zr(t,58)|0,l=(s|0)!=0,l&&(C[s>>0]=0),n|0&&(Qy(e[r+68>>2]|0,t,o),i=e[n+92>>2]|0,i|0)&&Bt[i&63](r,o),l&&(C[s>>0]=58)}function so(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0,s=0,A=0;l=e[r+60>>2]|0,s=r+16|0,A=(e[s>>2]|0)+96|0,l|0&&(Qy(e[r+68>>2]|0,t,A),o=e[l+92>>2]|0,o|0)&&Bt[o&63](r,A),A=e[s>>2]|0,e[A+136>>2]=i,x0[A+140>>2]=n}function c1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+16|0,A=c,s=e[r+60>>2]|0,r=e[r+16>>2]|0,e[r+160>>2]=t;e:do if((t|0)!=0&(s|0)!=0){s=r+144|0,l=r+152|0,o=r+148|0,r=t;r:for(;;){if(n=r+4|0,r=e[r>>2]|0,!r)break e;t:do switch(C[r>>0]|0){case 115:{if(!(ge(r,111067)|0)){e[s>>2]=3,r=n;continue r}if(!(ge(r,111088)|0)){for(i=115;t=r+1|0,!!(i<<24>>24);)r=t,i=C[t>>0]|0;u[l>>3]=+Fl(t),r=n;continue r}break}case 100:{if(!(ge(r,137327)|0)){e[s>>2]=1,r=n;continue r}if(!(ge(r,137320)|0)){e[s>>2]=2,r=n;continue r}break}case 105:{if(ge(r,134335)|0&&ge(r,111073)|0)break t;e[s>>2]=0,r=n;continue r}case 98:{if(!(ge(r,111083)|0)){u[l>>3]=2,r=n;continue r}break}case 102:{if(!(ge(r,111101)|0)){e[o>>2]=1,r=n;continue r}break}case 117:{if(!(ge(r,111108)|0)){e[o>>2]=0,r=n;continue r}break}case 116:{if(!(ge(r,111117)|0)){r=n;continue r}break}default:}while(0);e[A>>2]=r,$0(0,111125,A)|0,r=n}}while(0);g=c}function Y3(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+32|0,l=A,i=e[r+60>>2]|0,i|0&&(s=i+96|0,o=e[s>>2]|0,o|0)&&e[(e[r+16>>2]|0)+144>>2]|0&&(i=t+16|0,u[l>>3]=(+u[i>>3]+ +u[t>>3])*.5,u[l+8>>3]=(+u[t+24>>3]+ +u[t+8>>3])*.5,t=l+16|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],e[r+152>>2]&8192||(El(r,l,l,2)|0,o=e[s>>2]|0),hr[o&127](r,l,n)),g=A}function Q2(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;if(v=g,g=g+48|0,w=v,o=e[r+60>>2]|0,o|0&&(p=o+100|0,e[p>>2]|0)&&(f=r+16|0,c=e[f>>2]|0,e[c+144>>2]|0)){if(!(n&4))o=n,l=0;else{o=n&-5,n=c+16|0,l=w,s=n,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=n,s=c+56|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=1}if(e[r+152>>2]&8192?Y1[e[p>>2]&31](r,t,i,o):(n=i+10|0,(e[47363]|0)<(i|0)?(e[47363]=n,n=Ve(e[47364]|0,n<<4)|0,e[47364]=n):n=e[47364]|0,El(r,t,n,i)|0,Y1[e[p>>2]&31](r,n,i,o)),l|0){l=(e[f>>2]|0)+16|0,s=w,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0))}}g=v}function Il(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=g,g=g+64|0,o=n,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],l=o+32|0,t=t+16|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],u[o+16>>3]=+u[o>>3],u[o+24>>3]=+u[o+40>>3],u[o+48>>3]=+u[l>>3],u[o+56>>3]=+u[o+8>>3],Q2(r,o,4,i),g=n}function Ao(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0;A=e[r+60>>2]|0;do if(A|0&&(c=A+104|0,s=e[c>>2]|0,s|0)&&e[(e[r+16>>2]|0)+144>>2]|0){if(e[r+152>>2]&8192|0){Kf[s&15](r,t,i,n,o,l&255);break}s=i+10|0,(e[47363]|0)<(i|0)?(e[47363]=s,s=Ve(e[47364]|0,s<<4)|0,e[47364]=s):s=e[47364]|0,El(r,t,s,i)|0,Kf[e[c>>2]&15](r,s,i,n,o,l&255)}while(0)}function y2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=e[r+60>>2]|0;do if(n|0&&(l=n+108|0,o=e[l>>2]|0,o|0)&&e[(e[r+16>>2]|0)+144>>2]|0){if(e[r+152>>2]&8192|0){hr[o&127](r,t,i);break}n=i+10|0,(e[47363]|0)<(i|0)?(e[47363]=n,n=Ve(e[47364]|0,n<<4)|0,e[47364]=n):n=e[47364]|0,El(r,t,n,i)|0,hr[e[l>>2]&127](r,n,i)}while(0)}function V3(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r+60>>2]|0,t|0&&!((i|0)==0|(C[t>>0]|0)==0)&&(n=e[i+112>>2]|0,n|0)&&Bt[n&63](r,t)}function WR(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0;if(U=g,g=g+112|0,T=U+64|0,X=U,f=U+96|0,L=U+48|0,Z=U+32|0,D=e[r+60>>2]|0,r||H0(111282,111178,691,111189),t||H0(111208,111178,692,111189),C[t>>0]|0||H0(111213,111178,693,111189),P=aD(t)|0,!P)(D|0)!=0&(mC(t)|0)!=0&&(c=e[D+116>>2]|0,c|0)&&Fa[c&15](r,t,i,n,o&255);else if(E=r+432|0,e[T>>2]=e[E>>2],e[T+4>>2]=e[E+4>>2],e[T+8>>2]=e[E+8>>2],e[T+12>>2]=e[E+12>>2],fD(f,P,T),E=e[f>>2]|0,c=e[f+4>>2]|0,!((E|0)<1&(c|0)<1)){for(f=X+16|0,e[f>>2]=e[i>>2],e[f+4>>2]=e[i+4>>2],e[f+8>>2]=e[i+8>>2],e[f+12>>2]=e[i+12>>2],e[X>>2]=e[i>>2],e[X+4>>2]=e[i+4>>2],e[X+8>>2]=e[i+8>>2],e[X+12>>2]=e[i+12>>2],W=X+8|0,N=X+24|0,t=1;!((t|0)>=(n|0));)F=i+(t<<4)|0,z=+u[F>>3],u[X>>3]=+u[(+u[X>>3]>3],_=+u[i+(t<<4)+8>>3],u[W>>3]=+u[(+u[W>>3]<_?X:F)+8>>3],u[f>>3]=+u[(+u[f>>3]>z?f:F)>>3],u[N>>3]=+u[(+u[N>>3]>_?f:F)+8>>3],t=t+1|0;A=+u[f>>3],s=+u[X>>3],B=A-s,x=+u[N>>3],z=+u[W>>3],_=x-z,w=+(c|0),p=+(E|0),v=B/p,m=_/w;e:do switch(Xt0(l)|0){case 1:if(v>3]=s,A=A-B,u[f>>3]=A),w<_&&(_=(_-w)*.5,u[W>>3]=z+_,u[N>>3]=x-_),e[r+152>>2]&8192||(e[T>>2]=e[X>>2],e[T+4>>2]=e[X+4>>2],e[T+8>>2]=e[X+8>>2],e[T+12>>2]=e[X+12>>2],Zy(L,r,T),e[X>>2]=e[L>>2],e[X+4>>2]=e[L+4>>2],e[X+8>>2]=e[L+8>>2],e[X+12>>2]=e[L+12>>2],e[T>>2]=e[f>>2],e[T+4>>2]=e[f+4>>2],e[T+8>>2]=e[f+8>>2],e[T+12>>2]=e[f+12>>2],Zy(Z,r,T),e[f>>2]=e[Z>>2],e[f+4>>2]=e[Z+4>>2],e[f+8>>2]=e[Z+8>>2],e[f+12>>2]=e[Z+12>>2],A=+u[f>>3],s=+u[X>>3]),s>A&&(u[X>>3]=A,u[f>>3]=s),s=+u[W>>3],A=+u[N>>3],s>A&&(u[W>>3]=A,u[N>>3]=s),D|0&&(F=e[r+72>>2]|0,e[T>>2]=e[X>>2],e[T+4>>2]=e[X+4>>2],e[T+8>>2]=e[X+8>>2],e[T+12>>2]=e[X+12>>2],e[T+16>>2]=e[X+16>>2],e[T+20>>2]=e[X+20>>2],e[T+24>>2]=e[X+24>>2],e[T+28>>2]=e[X+28>>2],$t0(r,P,T,o,F))}g=U}function Xt0(r){return r=r|0,C[r>>0]|0?De(r,141116)|0?De(r,141048)|0?De(r,111221)|0?r=(jt(r)|0)<<24>>24!=0&1:r=4:r=3:r=2:r=0,r|0}function Uo(r,t){r=r|0,t=+t,e[r+60>>2]|0&&(u[(e[r+16>>2]|0)+152>>3]=t)}function DR(r,t){return r=r|0,t=t|0,t=uf(r,1,t)|0,t?(t=e[t+16>>2]|0,e[r+184>>2]=e[t+4>>2],e[r+172>>2]=e[t+12>>2],e[r+176>>2]=e[t>>2],e[r+180>>2]=e[t+16>>2],t=300):t=999,t|0}function qt0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;return A=g,g=g+16|0,o=A,$e(t,137483,280,1)|0,l=t+16|0,e[(e[l>>2]|0)+144>>2]=r,(c2(t)|0)!=(t|0)&&(e[(e[(c2(t)|0)+16>>2]|0)+144>>2]=r),n=he(t,111226)|0,i=r+172|0,n|0&&(e[i>>2]=0,(DR(r,n)|0)==999)?(i=uD(r,1,n)|0,e[o>>2]=n,e[o+4>>2]=i,$0(1,111233,o)|0,i=-1):(n=e[i>>2]|0,n?(zA(1),qd0(t,e[e[r+180>>2]>>2]&1),i=e[(e[l>>2]|0)+8>>2]|0,e[(e[(c2(t)|0)+16>>2]|0)+8>>2]=i,Sk0(),i=e[n>>2]|0,i|0&&(l2[i&127](t),s=e[n+4>>2]|0,s|0)&&(e[(e[l>>2]|0)+148>>2]=s),zA(0),i=0):i=-1),g=A,i|0}function $t0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0;w=g,g=g+176|0,c=w+8|0,A=w,l=w+40|0,r||H0(111282,111286,52,111300),t||H0(111312,111286,53,111300),s=e[t+8>>2]|0,s||H0(111315,111286,54,111300),C[s>>0]|0||H0(111324,111286,55,111300),yo(l,e[t+28>>2]|0)|0,s=l+(d2(l)|0)|0,C[s>>0]=58,C[s+1>>0]=0,Qa(l,o)|0,(Kt0(r,l)|0)==999&&(e[A>>2]=l,$0(0,111336,A)|0),o=e[r+92>>2]|0,o|0&&(f=e[o>>2]|0,f|0)&&(e[c>>2]=e[i>>2],e[c+4>>2]=e[i+4>>2],e[c+8>>2]=e[i+8>>2],e[c+12>>2]=e[i+12>>2],e[c+16>>2]=e[i+16>>2],e[c+20>>2]=e[i+20>>2],e[c+24>>2]=e[i+24>>2],e[c+28>>2]=e[i+28>>2],Y1[f&31](r,t,c,n)),g=w}function Kt0(r,t){return r=r|0,t=t|0,t=uf(e[r>>2]|0,4,t)|0,t?(t=e[t+16>>2]|0,e[r+92>>2]=e[t+12>>2],e[r+96>>2]=e[t>>2],t=300):t=999,t|0}function bt0(r){return r=r|0,1}function ei0(r){r=r|0;var t=0;return C[r+536>>0]=0,t=r+336|0,u[t>>3]=+u[t>>3]+10/+u[r+352>>3],C[r+537>>0]=1,0}function ri0(r){r=r|0;var t=0;return C[r+536>>0]=0,t=r+336|0,u[t>>3]=+u[t>>3]-10/+u[r+352>>3],C[r+537>>0]=1,0}function ti0(r){r=r|0;var t=0;return C[r+536>>0]=0,t=r+344|0,u[t>>3]=+u[t>>3]-10/+u[r+352>>3],C[r+537>>0]=1,0}function ii0(r){r=r|0;var t=0;return C[r+536>>0]=0,t=r+344|0,u[t>>3]=+u[t>>3]+10/+u[r+352>>3],C[r+537>>0]=1,0}function ni0(r){r=r|0;var t=0;return C[r+536>>0]=0,t=r+352|0,u[t>>3]=+u[t>>3]*1.1,C[r+537>>0]=1,0}function oi0(r){r=r|0;var t=0;return C[r+536>>0]=0,t=r+352|0,u[t>>3]=+u[t>>3]*.9090909090909091,C[r+537>>0]=1,0}function li0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return i=r+536|0,t=(C[i>>0]|0)==0,C[i>>0]=t&1,t&&(t=e[r+448>>2]|0,i=e[r+452>>2]|0,l=+(t>>>0),o=+(i>>>0),n=l/+(t|0)>3]=(n?l:o)/+((n?t:i)|0),i=r+336|0,e[i>>2]=0,e[i+4>>2]=0,e[i+8>>2]=0,e[i+12>>2]=0,C[r+537>>0]=1),0}function si0(r){r=r|0;var t=0,i=0;t=e[(e[r>>2]|0)+168>>2]|0,i=r+580|0,e[i>>2]|0||(e[i>>2]=t,i=(e[t+16>>2]|0)+112|0,C[i>>0]=C[i>>0]|2,jR(r,t)),TD(r,t),C[r+540>>0]=1}function Ai0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;switch(A=g,g=g+16|0,n=A,t|0){case 1:{e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],Ty(r,n),gi0(r),C[r+538>>0]=1,C[r+541>>0]=1,s=13;break}case 2:{C[r+538>>0]=1,C[r+541>>0]=2,s=13;break}case 3:{e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],Ty(r,n),C[r+538>>0]=1,C[r+541>>0]=3,s=13;break}case 4:{C[r+536>>0]=0,e[r+360>>2]|0?(n=r+352|0,l=+u[n>>3],t=r+336|0,u[t>>3]=+u[t>>3]-(+u[i+8>>3]-+((e[r+452>>2]|0)>>>0)*.5)*.10000000000000009/(+u[r+528>>3]*l),o=+u[i>>3]-+((e[r+448>>2]|0)>>>0)*.5,t=r+520|0):(n=r+352|0,l=+u[n>>3],t=r+336|0,u[t>>3]=(+u[i>>3]-+((e[r+448>>2]|0)>>>0)*.5)*.10000000000000009/(+u[r+520>>3]*l)+ +u[t>>3],o=+u[i+8>>3]-+((e[r+452>>2]|0)>>>0)*.5,t=r+528|0),s=r+344|0,u[s>>3]=o*.10000000000000009/(+u[t>>3]*l)+ +u[s>>3],u[n>>3]=l*1.1,s=13;break}case 5:{C[r+536>>0]=0,s=r+352|0,l=+u[s>>3]*.9090909090909091,u[s>>3]=l,e[r+360>>2]|0?(n=r+336|0,u[n>>3]=(+u[i+8>>3]-+((e[r+452>>2]|0)>>>0)*.5)*.10000000000000009/(+u[r+528>>3]*l)+ +u[n>>3],o=+u[i>>3]-+((e[r+448>>2]|0)>>>0)*.5,n=r+520|0):(n=r+336|0,u[n>>3]=+u[n>>3]-(+u[i>>3]-+((e[r+448>>2]|0)>>>0)*.5)*.10000000000000009/(+u[r+520>>3]*l),o=+u[i+8>>3]-+((e[r+452>>2]|0)>>>0)*.5,n=r+528|0),s=r+344|0,u[s>>3]=+u[s>>3]-o*.10000000000000009/(+u[n>>3]*l),s=13;break}default:}(s|0)==13&&(C[r+537>>0]=1),r=r+560|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2],g=A}function ui0(r,t,i){r=r|0,t=t|0,i=i|0,C[r+538>>0]=0,C[r+541>>0]=0}function ai0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+16|0,i=A,l=r+560|0,s=(+u[t>>3]-+u[l>>3])/+u[r+520>>3],o=(+u[t+8>>3]-+u[r+568>>3])/+u[r+528>>3],!(+L0(+s)<1e-4&+L0(+o)<1e-4)){switch(C[r+541>>0]|0){case 0:{e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],Ty(r,i);break}case 2:{n=+u[r+352>>3],e[r+360>>2]|0?(i=r+336|0,u[i>>3]=+u[i>>3]-o/n,i=r+344|0,u[i>>3]=+u[i>>3]+s/n):(i=r+336|0,u[i>>3]=+u[i>>3]-s/n,i=r+344|0,u[i>>3]=+u[i>>3]-o/n),C[r+537>>0]=1;break}default:}e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2]}g=A}function ci0(r,t,i){r=r|0,t=t|0,i=i|0}function fi0(r){r=r|0}function hi0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=e[r>>2]|0,t?(t=A8(t,138821)|0,t|0&&(s=X9(t,0)|0,Hf(t)|0,n=5)):(s=X9(e[15647]|0,0)|0,n=5),(n|0)==5&&s|0&&(o=A+168|0,t=e[o>>2]|0,t|0&&(n=e[A+172>>2]|0,n|0&&(l=e[n+4>>2]|0,(l|0)!=0)&&(l2[l&127](t),t=e[o>>2]|0),bd0(t),Di(e[o>>2]|0)|0),Ll(s,0,137483,280,1),Ll(s,1,137447,304,1),Ll(s,2,137460,176,1),e[o>>2]=s,e[(e[s+16>>2]|0)+144>>2]=A,(t7(A,s,i)|0)!=-1&&(e[r+580>>2]=0,e[r+576>>2]=0,C[r+537>>0]=1))}function wi0(r,t){r=r|0,t=t|0,r=e[r>>2]|0,t7(r,e[r+168>>2]|0,t)|0}function di0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;l=e[r>>2]|0,o=l+160|0,n=e[o>>2]|0,n|0&&!(e[l+164>>2]|0)?(A=l+192|0,s=e[A>>2]|0,e[o>>2]=0,e[A>>2]=0,o=s):(o=0,n=0),Gc0(l,e[l+168>>2]|0,t,i)|0,n|0&&(A=e[r>>2]|0,e[A+160>>2]=n,e[A+192>>2]=o)}function Ty(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;n=g,g=g+80|0,i=n+48|0,o=n,c=n+32|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],pi0(c,r,i),A=+u[c>>3],s=+u[c+8>>3],l=1/+u[r+352>>3],u[o+16>>3]=l+A,u[o+24>>3]=l+s,u[o>>3]=A-l,u[o+8>>3]=s-l,t=e[(e[r>>2]|0)+168>>2]|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],e[i+16>>2]=e[o+16>>2],e[i+20>>2]=e[o+20>>2],e[i+24>>2]=e[o+24>>2],e[i+28>>2]=e[o+28>>2],t=ki0(t,i)|0,i=r+576|0,(t|0)!=(e[i>>2]|0)&&(vi0(r),e[i>>2]=t,mi0(r),C[r+537>>0]=1),g=n}function pi0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;e[t+360>>2]|0?(n=+u[t+352>>3],o=-+u[i>>3],l=n,s=t+520|0,n=+u[i+8>>3]/(+u[t+528>>3]*n)-+u[t+504>>3]):(n=+u[t+352>>3],o=+u[i+8>>3],l=n,s=t+528|0,n=+u[i>>3]/(+u[t+520>>3]*n)-+u[t+504>>3]),l=o/(+u[s>>3]*l)-+u[t+512>>3],u[r>>3]=n,u[r+8>>3]=l}function ki0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=g,g=g+32|0,o=l,n=U0(r)|0;e:for(;;){if(!n){n=9;break}for(i=Me(r,n)|0;i;){if(e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[o+16>>2]=e[t+16>>2],e[o+20>>2]=e[t+20>>2],e[o+24>>2]=e[t+24>>2],e[o+28>>2]=e[t+28>>2],(hv0(i,o)|0)<<24>>24){n=6;break e}i=Qe(r,i)|0}n=X0(r,n)|0}do if((n|0)!=6&&(n|0)==9){for(i=Ku0(r)|0;i;){if(e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[o+16>>2]=e[t+16>>2],e[o+20>>2]=e[t+20>>2],e[o+24>>2]=e[t+24>>2],e[o+28>>2]=e[t+28>>2],(cv0(i,o)|0)<<24>>24){n=12;break}i=bu0(r,i)|0}if((n|0)==12||(e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[o+16>>2]=e[t+16>>2],e[o+20>>2]=e[t+20>>2],e[o+24>>2]=e[t+24>>2],e[o+28>>2]=e[t+28>>2],i=MR(r,o)|0,i))break;i=r;break}while(0);return g=l,i|0}function vi0(r){r=r|0;var t=0;t=e[r+576>>2]|0;e:do if(t|0)switch(qo(t)|0){case 0:{t=(e[t+16>>2]|0)+112|0,C[t>>0]=C[t>>0]&-2;break e}case 1:{t=(e[t+16>>2]|0)+117|0,C[t>>0]=C[t>>0]&-2;break e}case 2:{t=(e[t+16>>2]|0)+115|0,C[t>>0]=C[t>>0]&-2;break e}default:break e}while(0);e[r+584>>2]=0}function mi0(r){r=r|0;var t=0,i=0;i=r+584|0,t=e[i>>2]|0,t|0&&(r0(t),e[i>>2]=0),t=e[r+576>>2]|0;e:do if(t|0)switch(qo(t)|0){case 0:{if(r=(e[t+16>>2]|0)+112|0,C[r>>0]=C[r>>0]|1,r=re(t,0,141101,0)|0,!r)break e;e[i>>2]=st(k2(t,r)|0,t)|0;break e}case 1:{if(r=(e[t+16>>2]|0)+117|0,C[r>>0]=C[r>>0]|1,r=re(We(t)|0,1,141101,0)|0,!r)break e;e[i>>2]=st(k2(t,r)|0,t)|0;break e}case 2:{if(r=(e[t+16>>2]|0)+115|0,C[r>>0]=C[r>>0]|1,r=re(We(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,2,141101,0)|0,!r)break e;e[i>>2]=st(k2(t,r)|0,t)|0;break e}default:break e}while(0)}function MR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(f=g,g=g+32|0,n=f,l=e[r+16>>2]|0,s=e[l+180>>2]|0,A=l+184|0,i=1;;){if((i|0)>(s|0)){c=4;break}if(o=e[(e[A>>2]|0)+(i<<2)>>2]|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],e[n+16>>2]=e[t+16>>2],e[n+20>>2]=e[t+20>>2],e[n+24>>2]=e[t+24>>2],e[n+28>>2]=e[t+28>>2],o=MR(o,n)|0,!o)i=i+1|0;else{r=o;break}}do if((c|0)==4){if(p=+u[l+24>>3],w=+u[l+40>>3],+u[t+16>>3]>=+u[l+16>>3]&&+u[l+32>>3]>=+u[t>>3]&&+u[t+24>>3]>=p&&w>=+u[t+8>>3])break;r=0}while(0);return g=f,r|0}function gi0(r){r=r|0;var t=0,i=0,n=0;n=r+580|0,t=e[n>>2]|0;e:do if(t|0)switch(qo(t)|0){case 0:{i=(e[t+16>>2]|0)+112|0,C[i>>0]=C[i>>0]&-7|4;break e}case 1:{i=(e[t+16>>2]|0)+117|0,C[i>>0]=C[i>>0]&-7|4;break e}case 2:{i=(e[t+16>>2]|0)+115|0,C[i>>0]=C[i>>0]&-7|4;break e}default:break e}while(0);t=r+588|0,i=e[t>>2]|0,i|0&&(r0(i),e[t>>2]=0),t=e[r+576>>2]|0,e[n>>2]=t;e:do if(t|0)switch(qo(t)|0){case 0:{n=(e[t+16>>2]|0)+112|0,C[n>>0]=C[n>>0]|2,jR(r,t);break e}case 1:{n=(e[t+16>>2]|0)+117|0,C[n>>0]=C[n>>0]|2,yi0(r,t);break e}case 2:{n=(e[t+16>>2]|0)+115|0,C[n>>0]=C[n>>0]|2,Ci0(r,t);break e}default:break e}while(0)}function jR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;i=r+592|0;do if((c2(t)|0)==(t|0))if(d1(t)|0){mi(i,0,111486);break}else{mi(i,0,111494);break}else mi(i,0,111500);while(0);for(mi(i,1,te(t)|0),e[r+596>>2]=2,o=r+604|0,i=0,n=2;i=co(t,0,i)|0,!!i;)mi(o,n,e[i+8>>2]|0),mi(o,n+1|0,k2(t,i)|0),mi(o,n+2|0,0),n=n+3|0;e[r+608>>2]=n,i=re(t,0,141055,0)|0,i?l=11:(i=re(t,0,111477,0)|0,i|0&&(l=11)),(l|0)==11&&(e[r+588>>2]=st(k2(t,i)|0,t)|0)}function yi0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(o=r+592|0,mi(o,0,111481),mi(o,1,te(t)|0),e[r+596>>2]=2,o=r+604|0,l=c2(We(t)|0)|0,n=2,i=0;i=co(l,1,i)|0,!!i;)mi(o,n,e[i+8>>2]|0),mi(o,n|1,k2(t,i)|0),n=n+2|0;e[r+608>>2]=n,i=re(We(t)|0,1,141055,0)|0,i?s=6:(i=re(We(t)|0,1,111477,0)|0,i|0&&(s=6)),(s|0)==6&&(e[r+588>>2]=st(k2(t,i)|0,t)|0)}function Ci0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;s=r+592|0,mi(s,0,111450),f=t+48|0,mi(s,1,te(e[((e[t>>2]&3|0)==3?t:f)+40>>2]|0)|0),f=(d1(We(e[((e[t>>2]&3|0)==3?t:f)+40>>2]|0)|0)|0)!=0,mi(s,3,f?137738:141747),f=t+-48|0,mi(s,4,te(e[((e[t>>2]&3|0)==2?t:f)+40>>2]|0)|0),e[r+596>>2]=7,A=r+604|0,c=c2(We(e[((e[t>>2]&3|0)==2?t:f)+40>>2]|0)|0)|0,l=7,i=0;e:for(;;){for(;;){if(i=co(c,2,i)|0,!i)break e;if(n=i+8|0,o=e[n>>2]|0,!(ge(o,111455)|0)){w=5;break}if(!(ge(o,111464)|0)){w=7;break}if(ge(o,111473)|0)break;mi(s,6,k2(t,i)|0)}(w|0)==5?(w=0,mi(s,2,k2(t,i)|0)):(w|0)==7&&(w=0,mi(s,5,k2(t,i)|0)),mi(A,l,e[n>>2]|0),mi(A,l+1|0,k2(t,i)|0),l=l+2|0}e[r+608>>2]=l,i=re(We(e[((e[t>>2]&3|0)==2?t:f)+40>>2]|0)|0,2,141055,0)|0,i?w=13:(i=re(We(e[((e[t>>2]&3|0)==2?t:f)+40>>2]|0)|0,2,111477,0)|0,i|0&&(w=13)),(w|0)==13&&(e[r+588>>2]=st(k2(t,i)|0,t)|0)}function NR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(l=Ei0(r,t,e[i>>2]|0)|0,i=e[i+4>>2]|0;o=e[i+4>>2]|0,!!o;){for(t=0;n=e[o+(t*20|0)+4>>2]|0,!!n;)wc0(r,e[i>>2]|0,n,e[o+(t*20|0)+8>>2]|0,l,o+(t*20|0)|0)|0,t=t+1|0;i=i+8|0}}function Ei0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=_0(12)|0,t?t=C2(t)|0:t=0,e[n+4>>2]=t,e[n+8>>2]=C2(i)|0,i=r+100|0,e[n>>2]=e[i>>2],e[i>>2]=n,n|0}function Bi0(r,t){r=r|0,t=t|0,Ii0(r),C[r+44>>0]=0,xi0(r)|0,Ok0(r)|0}function Ii0(r){r=r|0;var t=0,i=0;t=e[r+32>>2]|0;e:do if(t|0)for(;;){if(i=e[t>>2]|0,!i)break e;(C[i>>0]|0)==103&&s8(i,111509)|0&&NR(r,0,e[t+4>>2]|0),t=t+8|0}while(0)}function xi0(r){r=r|0;var t=0;return t=uf(r,2,111522)|0,t?(e[r+148>>2]=e[(e[t+16>>2]|0)+12>>2],r=300):r=999,r|0}function Si0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return r=e[r+148>>2]|0,r|0&&(n=e[r>>2]|0,(n|0)!=0)?r=ke[n&127](t,i)|0:r=0,r|0}function _i0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,(e[t>>2]|0)-(e[i>>2]|0)|0}function zi0(r){r=r|0;var t=0,i=0;return r=e[r+16>>2]|0,i=+u[r+16>>3],t=+u[r+24>>3],(Li0(~~(i>t?i:t)>>>0)|0)+1|0}function Li0(r){r=r|0;var t=0,i=0;return r?(i=r>>>0>65535,r=i?r>>>16:r,i=i?16:0,t=r>>>0>255,r=t?r>>>8:r,i=t?i|8:i,t=r>>>0>15,r=t?r>>>4:r,i=t?i|4:i,t=r>>>0>3,r=(t?i|2:i)+((t?r>>>2:r)>>>0>1&1)|0):r=-1,r|0}function Ri0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;if(m=g,g=g+32|0,v=m,p=Gi0(r,t,i,n,o)|0,i=Zi0(p)|0,(i|0)>=0){for(f=v+16|0,w=v+24|0,c=v+8|0,A=o+32|0,i=0,o=0;!((o|0)>=(t|0));){n=r+(o*40|0)+32|0;do if(e[n>>2]|0){if(Wi0(v,p,r+(o*40|0)|0),l=+u[f>>3],s=+u[w>>3],!(e[v>>2]|0)){C[(e[n>>2]|0)+36>>0]=1;break}if(+u[c>>3]==0){n=e[n>>2]|0,u[n+16>>3]=l,u[n+24>>3]=s,C[n+36>>0]=1;break}(C[A>>0]|0)==1?(n=e[n>>2]|0,u[n+16>>3]=l,u[n+24>>3]=s,C[n+36>>0]=1):i=1}while(0);o=o+1|0}Di0(p)}return g=m,i|0}function Gi0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;l=j0(28)|0,c=ct(25912,e[4584]|0)|0,s=l+20|0,e[s>>2]=c;do if(c)if(c=a10()|0,e[l+24>>2]=c,c){e[l>>2]=r,e[l+4>>2]=t,e[l+8>>2]=i,e[l+12>>2]=n,e[l+16>>2]=o;break}else{fn(111740,14,1,e[15712]|0)|0,A=6;break}else fn(111740,14,1,e[15712]|0)|0,A=6;while(0);return(A|0)==6&&(r=e[s>>2]|0,r|0&&Fr(r)|0,r=e[l+24>>2]|0,r|0&&yG(r)|0,r0(l),l=0),l|0}function Zi0(r){r=r|0;var t=0;return t=Qi0(r)|0,(t|0)>=0&&(Ti0(r),Fi0(r),t=Fr(e[r+20>>2]|0)|0),t|0}function Wi0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0;B0=g,g=g+464|0,H=B0+416|0,k0=B0+400|0,q=B0+384|0,f=B0+352|0,w=B0+320|0,p=B0+288|0,v=B0+256|0,E=B0+224|0,B=B0+192|0,x=B0+160|0,z=B0+128|0,_=B0+96|0,Z=B0+64|0,W=B0+32|0,t0=B0,N=e[i+32>>2]|0,n=+u[N>>3],P=i+16|0,T=(n*2+ +u[P>>3])*.125,X=N+8|0,Y=i+24|0,s=+u[Y>>3],a0=(+u[X>>3]*2+s)*.5,N||H0(111533,111543,445,111553),o=H,l=o+36|0;do e[o>>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[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break}if(s>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],f=l,o=A,n=s),u[F>>3]=+u[U>>3],uo(x,t,i,H),l=e[x>>2]|0,A=e[x+4>>2]|0,s=+u[x+8>>3],x=x+16|0,e[q>>2]=e[x>>2],e[q+4>>2]=e[x+4>>2],e[q+8>>2]=e[x+8>>2],e[q+12>>2]=e[x+12>>2],!l){e[r>>2]=0,e[r+4>>2]=A,u[r+8>>3]=s,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break}if(s>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],f=l,o=A,n=s),u[F>>3]=+u[U>>3]-+u[X>>3],uo(z,t,i,H),l=e[z>>2]|0,A=e[z+4>>2]|0,s=+u[z+8>>3],z=z+16|0,e[q>>2]=e[z>>2],e[q+4>>2]=e[z+4>>2],e[q+8>>2]=e[z+8>>2],e[q+12>>2]=e[z+12>>2],!l){e[r>>2]=0,e[r+4>>2]=A,u[r+8>>3]=s,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break}s>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],o=A,n=s):l=f,A=(e[H+28>>2]|0)==0;do if(e[H+24>>2]|0)A?L=38:L=46;else if(A){if(e[H+32>>2]|0){L=38;break}(e[H+12>>2]|0)==0&(e[H>>2]|0)==0||(L=38)}else L=46;while(0);r:do if((L|0)==38)if(e[H+32>>2]|0)L=46;else{u[D>>3]=+u[i>>3]-+u[N>>3],v=_+4|0,E=_+8|0,B=_+16|0,f=F,A=U,s=+u[Y>>3];t:for(;;){for(;;){if(u[f>>3]=+u[A>>3]+s,!(+u[D>>3]<=+u[P>>3]+ +u[i>>3])){L=46;break r}if(uo(_,t,i,H),w=e[_>>2]|0,p=e[v>>2]|0,c=+u[E>>3],e[q>>2]=e[B>>2],e[q+4>>2]=e[B+4>>2],e[q+8>>2]=e[B+8>>2],e[q+12>>2]=e[B+12>>2],!w)break t;if(c>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],f=D,A=D,s=T,l=w,o=p,n=c}e[r>>2]=0,e[r+4>>2]=p,u[r+8>>3]=c,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break e}while(0);r:do if((L|0)==46&&(e[H+12>>2]|0)==0&(e[H>>2]|0)==0){for(u[D>>3]=+u[i>>3]-+u[N>>3],c=+u[U>>3],w=Z+4|0,p=Z+8|0,v=Z+16|0,s=c,c=+u[Y>>3]+c;;){if(u[F>>3]=c,!(c>=s-+u[X>>3]))break r;if(uo(Z,t,i,H),A=e[Z>>2]|0,f=e[w>>2]|0,s=+u[p>>3],e[q>>2]=e[v>>2],e[q+4>>2]=e[v+4>>2],e[q+8>>2]=e[v+8>>2],e[q+12>>2]=e[v+12>>2],!A)break;s>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],l=A,o=f,n=s),s=+u[U>>3],c=+u[F>>3]-a0}e[r>>2]=0,e[r+4>>2]=f,u[r+8>>3]=s,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break e}while(0);s=+u[i>>3],c=+u[P>>3]+s,u[D>>3]=c,m=+u[X>>3],u[F>>3]=+u[U>>3]-m,A=e[H+4>>2]|0;do if(e[H+8>>2]|0)f=e[H>>2]|0,L=59;else{if(f=e[H>>2]|0,!((A|0)==0&(f|0)==0)){L=59;break}if(e[H+20>>2]|0){A=0,f=0,L=59;break}e[H+32>>2]|0&&(A=0,f=0,L=59)}while(0);r:do if((L|0)==59){t:do if((A|0)==0&(f|0)==0){u[D>>3]=c,v=W+4|0,E=W+8|0,B=W+16|0,f=F,A=U,s=m;i:for(;;){for(;;){if(u[f>>3]=+u[A>>3]-s,s=+u[i>>3],!(+u[D>>3]>=s-+u[N>>3]))break t;if(uo(W,t,i,H),w=e[W>>2]|0,p=e[v>>2]|0,c=+u[E>>3],e[q>>2]=e[B>>2],e[q+4>>2]=e[B+4>>2],e[q+8>>2]=e[B+8>>2],e[q+12>>2]=e[B+12>>2],!w)break i;if(c>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],f=D,A=D,s=T,l=w,o=p,n=c}e[r>>2]=0,e[r+4>>2]=p,u[r+8>>3]=c,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break e}while(0);if(e[H+20>>2]|0||e[H+32>>2]|0)break;for(u[D>>3]=+u[P>>3]+s,s=+u[U>>3],w=t0+4|0,p=t0+8|0,v=t0+16|0,c=s,s=s-+u[X>>3];;){if(u[F>>3]=s,!(s<=+u[Y>>3]+c))break r;if(uo(t0,t,i,H),A=e[t0>>2]|0,f=e[w>>2]|0,s=+u[p>>3],e[q>>2]=e[v>>2],e[q+4>>2]=e[v+4>>2],e[q+8>>2]=e[v+8>>2],e[q+12>>2]=e[v+12>>2],!A)break;s>2]=e[q>>2],e[k0+4>>2]=e[q+4>>2],e[k0+8>>2]=e[q+8>>2],e[k0+12>>2]=e[q+12>>2],l=A,o=f,n=s),c=+u[U>>3],s=+u[F>>3]+a0}e[r>>2]=0,e[r+4>>2]=f,u[r+8>>3]=s,r=r+16|0,e[r>>2]=e[q>>2],e[r+4>>2]=e[q+4>>2],e[r+8>>2]=e[q+8>>2],e[r+12>>2]=e[q+12>>2];break e}while(0);e[r>>2]=l,e[r+4>>2]=o,u[r+8>>3]=n,r=r+16|0,e[r>>2]=e[k0>>2],e[r+4>>2]=e[k0+4>>2],e[r+8>>2]=e[k0+8>>2],e[r+12>>2]=e[k0+12>>2]}while(0);g=B0}function Di0(r){r=r|0,yG(e[r+24>>2]|0)|0,r0(r)}function uo(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(B=g,g=g+48|0,v=B+32|0,E=B+16|0,p=B,o=e[i+32>>2]|0,o||H0(111533,111543,382,111562),w=o+16|0,e[p>>2]=e[w>>2],e[p+4>>2]=e[w+4>>2],e[p+8>>2]=e[w+8>>2],e[p+12>>2]=e[w+12>>2],w=t+4|0,c=0,o=0;!((c|0)>=(e[w>>2]|0));){s=e[t>>2]|0,A=s+(c*40|0)|0;do if((A|0)!=(i|0)){if(+u[s+(c*40|0)+16>>3]>0&&+u[s+(c*40|0)+24>>3]>0)break;o=o+((Mi0(i,A)|0)!=0&1)|0}while(0);c=c+1|0}if(Hw(i,v),c=e[t+24>>2]|0,c=EG(c,e[c>>2]|0,v)|0,!c)e[r>>2]=o,u[r+8>>3]=0,E=r+16|0,e[E>>2]=e[p>>2],e[E+4>>2]=e[p+4>>2],e[E+8>>2]=e[p+8>>2],e[E+12>>2]=e[p+12>>2];else{for(A=c,l=0;A;)s=e[(e[A+4>>2]|0)+16>>2]|0,(s|0)!=(i|0)&&(Fy(s,E),f=+bc(v,E),f>0&&(o=o+1|0,l=+ji0(i,s,v,f,n)+l),t=e[s+32>>2]|0,t|0&&C[t+36>>0]|0&&(Hw(s,E),m=+bc(v,E),m>0)&&(o=o+1|0,l=+Ni0(i,s,v,m,n)+l)),A=e[A>>2]|0;u10(c),e[r>>2]=o,u[r+8>>3]=l,E=r+16|0,e[E>>2]=e[p>>2],e[E+4>>2]=e[p+4>>2],e[E+8>>2]=e[p+8>>2],e[E+12>>2]=e[p+12>>2]}g=B}function Mi0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return r=e[r+32>>2]|0,+u[t+16>>3]==0&&+u[t+24>>3]==0?(r|0&&(i=+u[t>>3],n=+u[r+16>>3],i>n)&&i<+u[r>>3]+n&&(o=+u[t+8>>3],l=+u[r+24>>3],o>l)?r=o<+u[r+8>>3]+l&1:r=0,r|0):(H0(111599,111543,219,111636),0)}function Hw(r,t){r=r|0,t=t|0;var i=0,n=0;r=e[r+32>>2]|0,n=+u[r+16>>3],e[t>>2]=~~n,i=+u[r+24>>3],e[t+4>>2]=~~i,e[t+8>>2]=~~(+u[r>>3]+n),e[t+12>>2]=~~(+u[r+8>>3]+i)}function Fy(r,t){r=r|0,t=t|0;var i=0,n=0;n=+u[r>>3],e[t>>2]=~~n,i=+u[r+8>>3],e[t+4>>2]=~~i,e[t+8>>2]=~~(+u[r+16>>3]+n),e[t+12>>2]=~~(+u[r+24>>3]+i)}function bc(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;return A=e[r+8>>2]|0,c=e[t>>2]|0,(A|0)>=(c|0)&&(f=e[r>>2]|0,w=e[t+8>>2]|0,(f|0)<=(w|0))&&(n=e[r+12>>2]|0,o=e[t+4>>2]|0,(n|0)>=(o|0))&&(l=e[r+4>>2]|0,s=e[t+12>>2]|0,(l|0)<=(s|0))?i=(+(e[((n|0)<(s|0)?r:t)+12>>2]|0)-+(e[((l|0)>(o|0)?r:t)+4>>2]|0))*(+(e[((A|0)<(w|0)?r:t)+8>>2]|0)-+(e[((f|0)>(c|0)?r:t)>>2]|0)):i=0,+i}function ji0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=o|0;var l=0,s=0,A=0,c=0;return c=g,g=g+16|0,A=c,r=QR(r,t)|0,o=o+(((r|0)<0?5:r)<<2)|0,r=e[o>>2]|0,r?(Fy(r,A),l=+bc(i,A),l=l>n?l:0,r=e[o>>2]|0,e[r+32>>2]|0&&(Hw(r,A),s=+bc(i,A),s>n)&&(l=s>l?s:l),l>0||(e[o>>2]=t,l=n)):(e[o>>2]=t,l=n),g=c,+l}function Ni0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=o|0;var l=0,s=0,A=0,c=0;return c=g,g=g+16|0,A=c,r=QR(r,t)|0,o=o+(((r|0)<0?5:r)<<2)|0,r=e[o>>2]|0,r?(Fy(r,A),l=+bc(i,A),l=l>n?l:0,r=e[o>>2]|0,e[r+32>>2]|0&&(Hw(r,A),s=+bc(i,A),s>n)&&(l=s>l?s:l),l>0||(e[o>>2]=t,l=n)):(e[o>>2]=t,l=n),g=c,+l}function QR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;i=e[r+32>>2]|0,n=e[t+32>>2]|0,(i|0)==(n|0)&&H0(111578,111543,276,111588);do if(C[i+36>>0]|0&&C[n+36>>0]|0){if(s=+u[r>>3],s==0&&+u[r+8>>3]==0){i=-1;break}if(A=+u[t>>3],l=+u[t+8>>3],A==0&l==0)i=-1;else{if(o=+u[r+8>>3],ls?2:1;break}if(i=Ao){if(i){i=6;break}i=A>s?8:7;break}i?i=3:A>s?i=5:i=-1}}else i=-1;while(0);return i|0}function Qi0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(f=g,g=g+32|0,i=f+24|0,n=f+16|0,o=f,l=zi0(r)|0,s=r+4|0,A=n+4|0,c=r+20|0,t=0;;){if((t|0)>=(e[s>>2]|0)){t=0;break}if(w=j0(32)|0,v=(e[r>>2]|0)+(t*40|0)|0,p=w+12|0,e[w+28>>2]=v,Pi0(o,v),e[p>>2]=e[o>>2],e[p+4>>2]=e[o+4>>2],e[p+8>>2]=e[o+8>>2],e[p+12>>2]=e[o+12>>2],p=e[p>>2]|0,e[n>>2]=(((e[w+20>>2]|0)-p|0)/2|0)+p,p=e[w+16>>2]|0,e[A>>2]=(((e[w+24>>2]|0)-p|0)/2|0)+p,e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[w+8>>2]=Yi0(i,l)|0,p=e[c>>2]|0,oe[e[p>>2]&63](p,w,1)|0)t=t+1|0;else{t=-1;break}}return g=f,t|0}function Ti0(r){r=r|0;var t=0,i=0,n=0;for(i=r+20|0,n=e[i>>2]|0,t=r+24|0,r=oe[e[n>>2]&63](n,0,128)|0;r;)n=e[t>>2]|0,f10(n,r+12|0,e[r+28>>2]|0,n,0)|0,n=e[i>>2]|0,r=oe[e[n>>2]&63](n,r,8)|0}function Fi0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(n=r+20|0,o=sn(e[n>>2]|0)|0,i=0;sn(e[n>>2]|0)|0;){if(l=e[n>>2]|0,r=e[(e[l+8>>2]|0)+4>>2]|0,!r){s=8;break}if(t=e[(e[l+4>>2]|0)+8>>2]|0,(t|0)<0?r=e[r+8>>2]|0:r=r+(0-t)|0,!r){s=8;break}oe[e[l>>2]&63](l,r,4096)|0,r0(r),i=i+1|0}(s|0)==8&&H0(111649,111543,616,111652),(o|0)!=(i|0)&&H0(111664,111543,623,111652)}function Pi0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(i=e[t+32>>2]|0,i?(n=+u[i>>3],o=+u[i+8>>3]):(n=0,o=0),f=+u[t>>3],c=~~+S0(+(f-n)),l=+u[t+8>>3],A=~~+S0(+(l-o)),s=~~+mt(+(f+n+ +u[t+16>>3])),(s|0)==2147483647&&H0(111676,111543,264,111703),i=~~+mt(+(l+o+ +u[t+24>>3])),(i|0)==2147483647)H0(111713,111543,266,111703);else{e[r>>2]=c,e[r+4>>2]=A,e[r+8>>2]=s,e[r+12>>2]=i;return}}function Yi0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(o=0,n=e[r>>2]|0,i=e[r+4>>2]|0;r=t+-1|0,!((t|0)<=0);)A=n>>>r&1,t=i>>>r&1,l=t+-1|0,s=l&(n^i),l=l&0-A,o=A<<1|o<<2|A^t,t=r,n=s^n^l,i=s^i^l;return o|0}function TR(r){r=r|0;var t=0,i=0,n=0,o=0;if(t=d2(r)|0,t>>>0>=(e[47365]|0)>>>0?(t=t+11|0,e[47365]=t,t=Ve(e[47366]|0,t)|0,e[47366]=t,t?i=4:t=0):(t=e[47366]|0,i=4),(i|0)==4){for(o=t;i=C[r>>0]|0,!!(i<<24>>24);)n=i&255,sY(n)|0&&(i=(Tl(n)|0)&255),C[o>>0]=i,o=o+1|0,r=r+1|0;C[o>>0]=0}return t|0}function Vi0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;for(X=g,g=g+144|0,m=X+96|0,w=X+80|0,x=X+124|0,E=X+72|0,z=X+64|0,_=X+56|0,T=X+48|0,D=X+40|0,P=X+32|0,L=X+24|0,Z=X+16|0,W=X+8|0,N=X,o=X+120|0,A=X+116|0,c=X+112|0,f=X+108|0,e[t+32>>2]=i,v=r;(C[v>>0]|0)==32;)v=v+1|0;e[f>>2]=255,r=C[v>>0]|0;e:do if(r<<24>>24==35){if(e[w>>2]=o,e[w+4>>2]=A,e[w+8>>2]=c,e[w+12>>2]=f,(X2(v,111755,w)|0)<=2){r=C[v>>0]|0,p=12;break}switch(i|0){case 0:{U=+((e[o>>2]|0)>>>0)*.00392156862745098,u[T>>3]=U,n=+((e[A>>2]|0)>>>0)*.00392156862745098,u[D>>3]=n,l=+((e[c>>2]|0)>>>0)*.00392156862745098,u[P>>3]=l,s=+((e[f>>2]|0)>>>0)*.00392156862745098,Oi0(U,n,l,E,z,_),u[t>>3]=+u[E>>3],u[t+8>>3]=+u[z>>3],u[t+16>>3]=+u[_>>3],u[t+24>>3]=s,r=0;break e}case 1:{C[t>>0]=e[o>>2],C[t+1>>0]=e[A>>2],C[t+2>>0]=e[c>>2],C[t+3>>0]=e[f>>2],r=0;break e}case 3:{l=+((e[o>>2]|0)>>>0)*.00392156862745098,u[T>>3]=l,s=+((e[A>>2]|0)>>>0)*.00392156862745098,u[D>>3]=s,U=+((e[c>>2]|0)>>>0)*.00392156862745098,u[P>>3]=U,Py(l,s,U,L,Z,W,N),C[t>>0]=~~+u[L>>3]*255,C[t+1>>0]=~~+u[Z>>3]*255,C[t+2>>0]=~~+u[W>>3]*255,C[t+3>>0]=~~+u[N>>3]*255,r=0;break e}case 2:{e[t>>2]=(((e[o>>2]|0)*65535|0)>>>0)/255|0,e[t+4>>2]=(((e[A>>2]|0)*65535|0)>>>0)/255|0,e[t+8>>2]=(((e[c>>2]|0)*65535|0)>>>0)/255|0,e[t+12>>2]=(((e[f>>2]|0)*65535|0)>>>0)/255|0,r=0;break e}case 4:{u[t>>3]=+((e[o>>2]|0)>>>0)*.00392156862745098,u[t+8>>3]=+((e[A>>2]|0)>>>0)*.00392156862745098,u[t+16>>3]=+((e[c>>2]|0)>>>0)*.00392156862745098,u[t+24>>3]=+((e[f>>2]|0)>>>0)*.00392156862745098,r=0;break e}default:{r=0;break e}}}else p=12;while(0);e:do if((p|0)==12){if(!(r<<24>>24!=46&&((r&255)+-48|0)>>>0>=10)){if(r=d2(v)|0,r>>>0>=(e[47367]|0)>>>0){if(r=r+11|0,e[47367]=r,r=Ve(e[47368]|0,r)|0,e[47368]=r,!r){r=-1;break}}else r=e[47368]|0;A=r,o=v;r:for(;;){switch(c=o+1|0,o=C[o>>0]|0,o<<24>>24){case 0:break r;case 44:{o=32;break}default:}C[A>>0]=o,A=A+1|0,o=c}if(C[A>>0]=0,e[m>>2]=E,e[m+4>>2]=z,e[m+8>>2]=_,(X2(r,111769,m)|0)==3)switch(s=+u[E>>3],s=s<1?s:1,s=s>0?s:0,u[E>>3]=s,l=+u[z>>3],l=l<1?l:1,l=l>0?l:0,u[z>>3]=l,n=+u[_>>3],n=n<1?n:1,n=n>0?n:0,u[_>>3]=n,i|0){case 0:{u[t>>3]=s,u[t+8>>3]=l,u[t+16>>3]=n,u[t+24>>3]=1,r=0;break e}case 1:{Jw(s,l,n,T,D,P),C[t>>0]=~~(+u[T>>3]*255),C[t+1>>0]=~~(+u[D>>3]*255),C[t+2>>0]=~~(+u[P>>3]*255),C[t+3>>0]=-1,r=0;break e}case 3:{Jw(s,l,n,T,D,P),Py(+u[T>>3],+u[D>>3],+u[P>>3],L,Z,W,N),C[t>>0]=~~+u[L>>3]*255,C[t+1>>0]=~~+u[Z>>3]*255,C[t+2>>0]=~~+u[W>>3]*255,C[t+3>>0]=~~+u[N>>3]*255,r=0;break e}case 2:{Jw(s,l,n,T,D,P),e[t>>2]=~~(+u[T>>3]*65535),e[t+4>>2]=~~(+u[D>>3]*65535),e[t+8>>2]=~~(+u[P>>3]*65535),e[t+12>>2]=65535,r=0;break e}case 4:{Jw(s,l,n,T,D,P),u[t>>3]=+u[T>>3],u[t+8>>3]=+u[D>>3],u[t+16>>3]=+u[P>>3],u[t+24>>3]=1,r=0;break e}default:{r=0;break e}}}if(o=Hi0(v)|0,e[x>>2]=o,!o)r=-1;else{if(r=e[47369]|0,!(r|0&&(B=e[r>>2]|0,(C[B>>0]|0)==(C[o>>0]|0))&&!(ge(B,o)|0))&&(r=Jf(x,25948,2491,12,103)|0,e[47369]=r,!r))switch(i|0){case 0:{e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,e[t+16>>2]=0,e[t+20>>2]=0,u[t+24>>3]=1,r=1;break e}case 1:{C[t+2>>0]=0,C[t+1>>0]=0,C[t>>0]=0,C[t+3>>0]=-1,r=1;break e}case 3:{e[t>>2]=0,r=1;break e}case 2:{e[t+8>>2]=0,e[t+4>>2]=0,e[t>>2]=0,e[t+12>>2]=65535,r=1;break e}case 4:{e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,e[t+16>>2]=0,e[t+20>>2]=0,u[t+24>>3]=1,r=1;break e}default:{r=1;break e}}switch(i|0){case 0:{u[t>>3]=+(s0[r+4>>0]|0)*.00392156862745098,u[t+8>>3]=+(s0[r+5>>0]|0)*.00392156862745098,u[t+16>>3]=+(s0[r+6>>0]|0)*.00392156862745098,u[t+24>>3]=+(s0[r+10>>0]|0)*.00392156862745098,r=0;break e}case 1:{C[t>>0]=C[r+7>>0]|0,C[t+1>>0]=C[r+8>>0]|0,C[t+2>>0]=C[r+9>>0]|0,C[t+3>>0]=C[r+10>>0]|0,r=0;break e}case 3:{l=+(s0[r+7>>0]|0)*.00392156862745098,u[T>>3]=l,s=+(s0[r+8>>0]|0)*.00392156862745098,u[D>>3]=s,U=+(s0[r+9>>0]|0)*.00392156862745098,u[P>>3]=U,Py(l,s,U,L,Z,W,N),C[t>>0]=~~+u[L>>3]*255,C[t+1>>0]=~~+u[Z>>3]*255,C[t+2>>0]=~~+u[W>>3]*255,C[t+3>>0]=~~+u[N>>3]*255,r=0;break e}case 2:{e[t>>2]=(s0[r+7>>0]|0)*257,e[t+4>>2]=(s0[r+8>>0]|0)*257,e[t+8>>2]=(s0[r+9>>0]|0)*257,e[t+12>>2]=(s0[r+10>>0]|0)*257,r=0;break e}case 4:{u[t>>3]=+(s0[r+7>>0]|0)*.00392156862745098,u[t+8>>3]=+(s0[r+8>>0]|0)*.00392156862745098,u[t+16>>3]=+(s0[r+9>>0]|0)*.00392156862745098,u[t+24>>3]=+(s0[r+10>>0]|0)*.00392156862745098,r=0;break e}default:{r=0;break e}}}}while(0);return g=X,r|0}function Oi0(r,t,i,n,o,l){r=+r,t=+t,i=+i,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0;if(A=ti?t:i,p=pr?r:A),s=A/p,p>0)if(s>0){c=(p-r)/A,f=(p-t)/A,w=(p-i)/A;do if(p!=r){if(p==t){r=c+2-w;break}p==i?r=f+4-c:r=0}else r=(t-i)/A;while(0);r=r*60,r<0&&(r=r+360)}else r=0;else s=0,r=0;u[n>>3]=r*.002777777777777778,u[l>>3]=p,u[o>>3]=s}function Py(r,t,i,n,o,l,s){r=+r,t=+t,i=+i,n=n|0,o=o|0,l=l|0,s=s|0,u[n>>3]=1-r,u[o>>3]=1-t,u[l>>3]=1-i,t=+u[n>>3],i=+u[o>>3],i=t>3]=i,t=+u[l>>3],i=t>3]=i,u[n>>3]=+u[n>>3]-i,u[o>>3]=+u[o>>3]-+u[s>>3],u[l>>3]=+u[l>>3]-+u[s>>3]}function Jw(r,t,i,n,o,l){r=+r,t=+t,i=+i,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0;e:do if(t<=0)s=i,A=i,r=i,f=8;else switch(A=r>=1?0:r*6,w=~~A,A=A-+(w|0),r=(1-t)*i,c=(1-A*t)*i,t=(1-(1-A)*t)*i,w|0){case 0:{s=r,A=t,r=i,f=8;break e}case 1:{s=r,A=i,r=c,f=8;break e}case 2:{s=t,A=i,f=8;break e}case 3:{s=i,A=c,f=8;break e}case 4:{s=i,A=r,r=t,f=8;break e}case 5:{s=c,A=r,r=i,f=8;break e}default:break e}while(0);(f|0)==8&&(u[n>>3]=r,u[o>>3]=A,u[l>>3]=s)}function Hi0(r){r=r|0;var t=0,i=0;if(t=C[r>>0]|0,t<<24>>24!=98&&(i=r+1|0,!(t<<24>>24==119|(Yr(i,137266,4)|0)==0))&&!(t<<24>>24==108|(Yr(i,137271,4)|0)==0)&&Yr(i,137276,8)|0){do if(t<<24>>24==47)if(t=Zr(i,47)|0,!t)r=i;else{if((C[i>>0]|0)!=47){i=(go(137285,i,4)|0)==0,r=i?t+1|0:r;break}if(t=e[47370]|0,t|0&&C[t>>0]|0&&go(137285,t,3)|0){r=FR(t,r+2|0)|0;break}r=r+2|0}else t=e[47370]|0,t|0&&C[t>>0]|0&&go(137285,t,3)|0&&(r=FR(t,r)|0);while(0);r=TR(r)|0}return r|0}function Ji0(r,t){return r=r|0,t=t|0,De(e[r>>2]|0,e[t>>2]|0)|0}function FR(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return o=g,g=g+16|0,n=o,l=d2(r)|0,l=(d2(t)|0)+l|0,i=l+13|0,(l+3|0)>>>0<(e[47371]|0)>>>0?i=e[47372]|0:(e[47371]=i,i=Ve(e[47372]|0,i)|0,e[47372]=i),e[n>>2]=r,e[n+4>>2]=t,Ke(i,137290,n)|0,g=o,e[47372]|0}function Uw(r){r=r|0,e[47370]=r}function Ui0(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o;var l=0,s=0;return l=g,g=g+208|0,s=l,Xi0(s,+u[r>>3],+u[r+8>>3],t,i,n,o),r=qi0(s)|0,g=l,r|0}function Xi0(r,t,i,n,o,l,s){r=r|0,t=+t,i=+i,n=+n,o=+o,l=+l,s=+s;var A=0,c=0;u[r>>3]=t,u[r+8>>3]=i,c=r+16|0,u[c>>3]=n,A=r+24|0,u[A>>3]=o,u[r+32>>3]=0,i=+I2(+(+le(+l)/o),+(+ee(+l)/n)),u[r+56>>3]=i,o=+I2(+(+le(+s)/o),+(+ee(+s)/n)),u[r+40>>3]=1,u[r+48>>3]=0,o=o-+S0(+((o-i)*.15915494309189535))*6.283185307179586,u[r+64>>3]=s-l>3.141592653589793&o-i<3.141592653589793?o+6.283185307179586:o,en0(r),rn0(r),tn0(r),s=+u[c>>3],s=(s-+u[A>>3])/s,u[r+168>>3]=s,u[r+176>>3]=(2-s)*s,s=1-s,u[r+184>>3]=s,u[r+192>>3]=s*s}function qi0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0;for(B=j0(8)|0,l=+u[r+56>>3],o=+u[r+64>>3]-l,E=1,t=0;m=o/+(E|0),!!(t<<24>>24==0&(E|0)<1024);){e:do if(!(m<=1.5707963267948966))t=0;else for(i=l,n=0,t=1;;){if(!(t<<24>>24!=0&(n|0)<(E|0)))break e;v=i+m,t=+$i0(r,i,v)<=1e-5&1,i=v,n=n+1|0}while(0);E=E<<1}for(A=+ee(+l),L=+le(+l),n=r+16|0,z=+u[n>>3],Z=z*A,c=r+24|0,i=+u[c>>3],s=i*L,A=i*A,i=+u[r>>3],f=r+40|0,_=+u[f>>3],w=r+48|0,x=+u[w>>3],o=_*Z+i-x*s,p=r+8|0,v=+u[p>>3],s=x*Z+_*s+v,z=-(L*z),Ki0(B,i,v),PR(B,o,s),v=+Ze(+(m*.5)),v=+le(+m)*.3333333333333333*(+G0(+(v*v*3+4))+-1),i=l,l=s,s=x*z+_*A,A=_*z-x*A,t=0;!((t|0)>=(E|0));)x=i+m,L=+ee(+x),Z=+le(+x),N=+u[n>>3],D=N*L,W=+u[c>>3],_=W*Z,L=W*L,W=+u[f>>3],T=+u[w>>3],z=W*D+ +u[r>>3]-T*_,_=T*D+W*_+ +u[p>>3],N=-(Z*N),Z=W*N-T*L,L=T*N+W*L,YR(B,o+A*v,l+s*v,z-Z*v,_-L*v,z,_),i=x,o=z,l=_,s=L,A=Z,t=t+1|0;return bi0(B),B|0}function $i0(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0,l=0,s=0,A=0;return n=i+t,A=+u[r+16>>3],o=+u[r+24>>3]/A,s=+ee(+n),l=+ee(+(n*2)),n=+ee(+(n*3)),r=o<.25?10392:10648,+(((o*.001+4.98)*o+.207)/(o+.0067)*A*+vt(+(((+u[r+32>>3]*o+ +u[r+40>>3])*o+ +u[r+48>>3])/(+u[r+56>>3]+o)*s+((+u[r>>3]*o+ +u[r+8>>3])*o+ +u[r+16>>3])/(+u[r+24>>3]+o)+((+u[r+64>>3]*o+ +u[r+72>>3])*o+ +u[r+80>>3])/(+u[r+88>>3]+o)*l+((+u[r+96>>3]*o+ +u[r+104>>3])*o+ +u[r+112>>3])/(+u[r+120>>3]+o)*n+(((+u[r+160>>3]*o+ +u[r+168>>3])*o+ +u[r+176>>3])/(+u[r+184>>3]+o)*s+((+u[r+128>>3]*o+ +u[r+136>>3])*o+ +u[r+144>>3])/(+u[r+152>>3]+o)+((+u[r+192>>3]*o+ +u[r+200>>3])*o+ +u[r+208>>3])/(+u[r+216>>3]+o)*l+((+u[r+224>>3]*o+ +u[r+232>>3])*o+ +u[r+240>>3])/(+u[r+248>>3]+o)*n)*(i-t))))}function Ki0(r,t,i){r=r|0,t=+t,i=+i;var n=0;e[47373]=100,n=j0(1600)|0,e[r>>2]=n,u[n>>3]=t,u[n+8>>3]=i,e[r+4>>2]=1}function PR(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0;o=e[r>>2]|0,n=(e[r+4>>2]|0)+-1|0,YR(r,+u[o+(n<<4)>>3],+u[o+(n<<4)+8>>3],t,i,t,i)}function YR(r,t,i,n,o,l,s){r=r|0,t=+t,i=+i,n=+n,o=+o,l=+l,s=+s;var A=0,c=0,f=0,w=0;f=r+4|0,A=e[f>>2]|0,c=e[47373]|0,(A+3|0)<(c|0)?r=e[r>>2]|0:(e[47373]=c<<1,A=V2(e[r>>2]|0,c<<5)|0,e[r>>2]=A,r=A,A=e[f>>2]|0),u[r+(A<<4)>>3]=t,w=A+1|0,u[r+(A<<4)+8>>3]=i,u[r+(w<<4)>>3]=n,c=A+2|0,u[r+(w<<4)+8>>3]=o,u[r+(c<<4)>>3]=l,e[f>>2]=A+3,u[r+(c<<4)+8>>3]=s}function bi0(r){r=r|0;var t=0;t=e[r>>2]|0,PR(r,+u[t>>3],+u[t+8>>3]),e[r>>2]=V2(e[r>>2]|0,e[r+4>>2]<<4)|0,e[47373]=0}function en0(r){r=r|0;var t=0,i=0,n=0,o=0;n=+u[r+16>>3],t=+u[r+24>>3],t=+G0(+(n*n-t*t)),n=t*+u[r+40>>3],t=t*+u[r+48>>3],o=+u[r>>3],u[r+104>>3]=o-n,i=+u[r+8>>3],u[r+112>>3]=i-t,u[r+120>>3]=o+n,u[r+128>>3]=i+t}function rn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;n=+u[r+16>>3],A=+u[r+56>>3],c=+ee(+A)*n,t=+u[r+24>>3],A=+le(+A)*t,s=+u[r+64>>3],n=+ee(+s)*n,t=+le(+s)*t,s=+u[r>>3],i=+u[r+40>>3],o=+u[r+48>>3],u[r+72>>3]=i*c+s-o*A,l=+u[r+8>>3],u[r+80>>3]=o*c+l+i*A,u[r+88>>3]=s+i*n-o*t,u[r+96>>3]=l+o*n+i*t}function tn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;f=+u[r+24>>3],w=+u[r+16>>3],o=f/w,p=+u[r+48>>3],v=+L0(+p)<.1,c=+u[r+40>>3];do if(v)if(t=p/c,i=+G2(+(t*o)),n=-i,c<0){t=+G2(+(t/o)),o=n,n=3.141592653589793-i,i=4.71238898038469-t,t=1.5707963267948966-t;break}else{t=+G2(+(t/o)),o=-3.141592653589793-i,i=1.5707963267948966-t,t=-1.5707963267948966-t;break}else if(t=c/p,i=+G2(+(t/o)),n=i+1.5707963267948966,p<0){t=+G2(+(t*o)),o=i+-1.5707963267948966,i=t+3.141592653589793;break}else{t=+G2(+(t*o)),o=n,n=i+4.71238898038469,i=t,t=t+-3.141592653589793;break}while(0);s=+u[r+56>>3],o=o-+S0(+((o-s)*.15915494309189535))*6.283185307179586,t=t-+S0(+((t-s)*.15915494309189535))*6.283185307179586,l=n-+S0(+((n-s)*.15915494309189535))*6.283185307179586,s=i-+S0(+((i-s)*.15915494309189535))*6.283185307179586,A=+u[r+64>>3],o<=A?i=+ee(+o)*w*c+ +u[r>>3]-f*+le(+o)*p:(o=+u[r+72>>3],i=+u[r+88>>3],i=o>3]=i,t<=A?n=+ee(+t)*w*p+ +u[r+8>>3]+ +le(+t)*f*c:(o=+u[r+80>>3],n=+u[r+96>>3],n=o>3]=n,l<=A?t=+ee(+l)*w*c+ +u[r>>3]-f*+le(+l)*p:(l=+u[r+72>>3],t=+u[r+88>>3],t=l>t?l:t),u[r+152>>3]=t-i,s<=A?t=+ee(+s)*w*p+ +u[r+8>>3]+ +le(+s)*f*c:(p=+u[r+80>>3],t=+u[r+96>>3],t=p>t?p:t),u[r+160>>3]=t-n}function in0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;switch(f=g,g=g+80|0,c=f,nn0(r),A=+u[i+56>>3],o=+u[i+64>>3],C[i+80>>0]|0){case 116:{o=(+u[i+48>>3]-+VR(t))*.5+o,n=4;break}case 98:{o=o-(+u[i+48>>3]-+VR(t))*.5,n=4;break}default:}(n|0)==4&&(o=o+-1),u[c>>3]=A,u[c+8>>3]=o,e[c+20>>2]=e[i+8>>2],e[c+16>>2]=e[i+4>>2],u[c+32>>3]=+u[i+16>>3],s=r+16|0,n=he(e[(e[s>>2]|0)+8>>2]|0,137297)|0,i=c+56|0,e[i>>2]=n,l=c+60|0,e[l>>2]=e[(e[s>>2]|0)+212>>2],s=c+64|0,C[s>>0]=0,n|0&&C[n>>0]|0||(e[i>>2]=137308),(C[t+4>>0]|0)==1?(i=e[t>>2]|0,c1(r,e[(e[r>>2]|0)+336>>2]|0),n=e[i+24>>2]|0,n?Z2(r,n):Z2(r,137314),HR(r,i,c),C[s>>0]|0&&r0(e[l>>2]|0)):OR(r,e[t>>2]|0,c),on0(r),g=f}function nn0(r){r=r|0;var t=0,i=0,n=0;switch(t=hh(r)|0,i=e[t>>2]|0,r=e[i+4>>2]|0,e[t+4>>2]=r,e[t+12>>2]=e[i+12>>2],r|0){case 2:{r=i+8|0,n=6;break}case 0:{r=i+8|0,n=6;break}case 1:{r=i+8|0,n=6;break}case 3:{r=i+8|0,n=6;break}default:}(n|0)==6&&(e[t+8>>2]=e[r>>2]),e[t+208>>2]=e[i+208>>2],e[t+228>>2]=e[i+228>>2],e[t+244>>2]=e[i+244>>2],n=t+260|0,$[n>>1]=$[n>>1]&-2|$[i+260>>1]&1}function VR(r){r=r|0;var t=0,i=0,n=0;switch(C[r+4>>0]|0){case 1:{i=e[r>>2]|0,r=i+72|0,i=i+56|0,n=5;break}case 3:{i=e[r>>2]|0,r=i+24|0,i=i+8|0,n=5;break}case 2:{i=e[r>>2]|0,r=i+32|0,i=i+16|0,n=5;break}default:t=0}return(n|0)==5&&(t=+u[r>>3]-+u[i>>3]),+t}function OR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;c=g,g=g+96|0,l=c+64|0,o=c+32|0,n=c+16|0,s=c,A=$[t+4>>1]|0,A<<16>>16>=1&&(v=t+8|0,w=+u[t+24>>3],f=+u[v>>3],u[s>>3]=(f+w)*.5+ +u[i>>3],u[s+8>>3]=(+u[t+16>>3]+ +u[t+32>>3])*.5+ +u[i+8>>3],p=e[t>>2]|0,m=i+16|0,i=C[t+6>>0]|0,e[n>>2]=e[s>>2],e[n+4>>2]=e[s+4>>2],e[n+8>>2]=e[s+8>>2],e[n+12>>2]=e[s+12>>2],e[o>>2]=e[m>>2],e[o+4>>2]=e[m+4>>2],e[o+8>>2]=e[m+8>>2],e[o+12>>2]=e[m+12>>2],e[o+16>>2]=e[m+16>>2],e[o+20>>2]=e[m+20>>2],e[o+24>>2]=e[m+24>>2],e[o+28>>2]=e[m+28>>2],e[l>>2]=e[v>>2],e[l+4>>2]=e[v+4>>2],e[l+8>>2]=e[v+8>>2],e[l+12>>2]=e[v+12>>2],e[l+16>>2]=e[v+16>>2],e[l+20>>2]=e[v+20>>2],e[l+24>>2]=e[v+24>>2],e[l+28>>2]=e[v+28>>2],un0(r,A<<16>>16,p,n,(w-f)*.5,o,l,i)),g=c}function HR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;if(_=g,g=g+176|0,m=_+96|0,B=_+64|0,x=_+136|0,f=_,w=_+128|0,p=t+48|0,e[B>>2]=e[p>>2],e[B+4>>2]=e[p+4>>2],e[B+8>>2]=e[p+8>>2],e[B+12>>2]=e[p+12>>2],e[B+16>>2]=e[p+16>>2],e[B+20>>2]=e[p+20>>2],e[B+24>>2]=e[p+24>>2],e[B+28>>2]=e[p+28>>2],s=+u[i>>3],A=+u[i+8>>3],p=t+84|0,n=e[p>>2]|0,e[t>>2]|0?z=1:z=(e[t+8>>2]|0)!=0,E=t+108|0,o=e[E>>2]|0,o|0&&JR(i,o,186544),u[B>>3]=+u[B>>3]+s,v=B+16|0,u[v>>3]=+u[v>>3]+s,v=B+8|0,u[v>>3]=+u[v>>3]+A,v=B+24|0,u[v>>3]=+u[v>>3]+A,z&&!(e[r+152>>2]&4|0)?(e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],v=Xw(r,i,t,m,x)|0):v=0,c=t+42|0,o=$[c>>1]|0,!(o&32)){for(l=e[t+20>>2]|0,l&&(o=UR(r,l,e[t+28>>2]|0,o&65535,w)|0,$[c>>1]&4?(c=s0[t+33>>0]|0,e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],Sa(r,qw(f,m,c)|0,4,4,o)):(e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],Il(r,m,o)),r0(e[w>>2]|0));o=e[n>>2]|0,!!o;)ln0(r,o,i),n=n+4|0;for(n=e[p>>2]|0,Uo(r,1),o=t+24|0;l=n+4|0,n=e[n>>2]|0,!!n;){if(!(C[n+100>>0]|0)){n=l;continue}sn0(r,n,i,e[o>>2]|0,e[l>>2]|0),n=l}C[t+33>>0]|0&&(e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],XR(r,t,m))}v|0&&$w(r,x),z&&e[r+152>>2]&4|0&&(e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],e[m+16>>2]=e[B+16>>2],e[m+20>>2]=e[B+20>>2],e[m+24>>2]=e[B+24>>2],e[m+28>>2]=e[B+28>>2],Xw(r,i,t,m,x)|0)&&$w(r,x),e[E>>2]|0&&qR(i,186544),g=_}function on0(r){r=r|0;var t=0;t=e[r+16>>2]|0,e[t+208>>2]=0,e[t+228>>2]=0,e[t+244>>2]=0,e[t+212>>2]=0,wh(r)}function JR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=r+16|0,o=e[s>>2]|0,o|0&&(e[t>>2]|0?(e[i>>2]=o,o=e[t>>2]|0,l=s):(o=0,l=i),e[l>>2]=o),o=e[r+20>>2]|0,o|0&&(l=t+4|0,e[l>>2]|0?(e[i+4>>2]=o,o=e[l>>2]|0,l=s):(o=0,l=i),e[l+4>>2]=o),n=+u[r+32>>3],n>=0&&(o=t+16|0,+u[o>>3]>=0?(u[i+16>>3]=n,n=+u[o>>3],i=s):n=-1,u[i+16>>3]=n)}function Xw(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+224|0,f=x+8|0,A=x,B=x+40|0,s=x+184|0,l=x+56|0,c=e[r+16>>2]|0,w=c+208|0,e[o>>2]=e[w>>2],p=c+228|0,e[o+4>>2]=e[p>>2],v=c+244|0,e[o+8>>2]=e[v>>2],m=c+212|0,e[o+12>>2]=e[m>>2],E=c+260|0,C[o+16>>0]=($[E>>1]<<15&65535)<<16>>16>>15,o=e[i+16>>2]|0,o|0&&C[o>>0]|0?l=0:(Vt(B,128,l),l=t+60|0,o=e[l>>2]|0,o||(o=C2(f7(r,e[c+8>>2]|0,B)|0)|0,e[l>>2]=o,C[t+64>>0]=1),t2(B,o)|0,l=e[47374]|0,e[47374]=l+1,e[A>>2]=l,Ke(s,137391,A)|0,t2(B,s)|0,l=B+4|0,o=e[l>>2]|0,o>>>0>=(e[B+8>>2]|0)>>>0&&(Xe(B,1)|0,o=e[l>>2]|0),C[o>>0]=0,o=e[B>>2]|0,e[l>>2]=o,l=1),o=MD(r,0,e[i>>2]|0,e[i+12>>2]|0,e[i+8>>2]|0,o,e[c+8>>2]|0)|0,l&&Ot(B);do if(o|0){if(!(e[w>>2]|0)&&!($[E>>1]&1))break;e[f>>2]=e[n>>2],e[f+4>>2]=e[n+4>>2],e[f+8>>2]=e[n+8>>2],e[f+12>>2]=e[n+12>>2],e[f+16>>2]=e[n+16>>2],e[f+20>>2]=e[n+20>>2],e[f+24>>2]=e[n+24>>2],e[f+28>>2]=e[n+28>>2],Fd(r,f),xn(r,e[w>>2]|0,e[p>>2]|0,e[v>>2]|0,e[m>>2]|0)}while(0);return g=x,o|0}function UR(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;return A=g,g=g+16|0,s=A,(Rh(t,o,s)|0)<<24>>24?(tr(r,e[o>>2]|0),t=e[o+4>>2]|0,l=+x0[s>>2],t?so(r,t,i,l):so(r,137314,i,l),t=n>>>1&1|2):(tr(r,t),t=1),Z2(r,137379),g=A,t|0}function qw(r,t,i){r=r|0,t=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28>>2],c=Xw(r,i,t,p,v)|0):c=0,A=t+42|0,n=$[A>>1]|0;e:do if(!(n&32))switch(s=e[t+20>>2]|0,s|0&&(n=UR(r,s,e[t+28>>2]|0,n&65535,w)|0,$[A>>1]&4?(A=s0[t+33>>0]|0,e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],e[p+16>>2]=e[m+16>>2],e[p+20>>2]=e[m+20>>2],e[p+24>>2]=e[m+24>>2],e[p+28>>2]=e[m+28>>2],Sa(r,qw(f,p,A)|0,4,4,n)):(e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],e[p+16>>2]=e[m+16>>2],e[p+20>>2]=e[m+20>>2],e[p+24>>2]=e[m+24>>2],e[p+28>>2]=e[m+28>>2],Il(r,p,n)),r0(e[w>>2]|0)),C[t+33>>0]|0&&(e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],e[p+16>>2]=e[m+16>>2],e[p+20>>2]=e[m+20>>2],e[p+24>>2]=e[m+24>>2],e[p+28>>2]=e[m+28>>2],XR(r,t,p)),n=t+88|0,C[t+92>>0]|0){case 1:{HR(r,e[n>>2]|0,i);break e}case 3:{An0(r,e[n>>2]|0,i);break e}default:{OR(r,e[n>>2]|0,i);break e}}while(0);c|0&&$w(r,v),E&&e[r+152>>2]&4|0&&(e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],e[p+16>>2]=e[m+16>>2],e[p+20>>2]=e[m+20>>2],e[p+24>>2]=e[m+24>>2],e[p+28>>2]=e[m+28>>2],Xw(r,i,t,p,v)|0)&&$w(r,v),g=B}function sn0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0;if(L=g,g=g+32|0,z=L+16|0,_=L,w=+u[i>>3],x=+u[i+8>>3],f=n|0?n:137314,tr(r,f),Z2(r,f),v=+u[t+48>>3],A=+u[t+56>>3],m=+u[t+64>>3],c=+u[t+72>>3],p=v+w,w=m+w,x=A+x,f=t+100|0,i=C[f>>0]|0,i&1&&(s=e[t+96>>2]|0,((M0[t+80>>1]|0)+(M0[t+84>>1]|0)|0)<(e[s+104>>2]|0))){i=$[t+86>>1]|0;do if(i<<16>>16)if(((M0[t+82>>1]|0)+(i&65535)|0)==(e[s+100>>2]|0)){Z=C[s+32>>0]|0,W=(Z<<24>>24)/2|0,n=(W<<24>>24)+(s0[s+33>>0]|0)|0,i=n,n=n&255,l=x-+(W<<24>>24),s=Z;break}else{s=C[s+32>>0]|0,i=0,n=((s<<24>>24)/2|0)<<24>>24,l=x;break}else W=C[s+32>>0]|0,n=((W<<24>>24)/2|0)<<24>>24,i=n+(s0[s+33>>0]|0)|0,l=x,s=W;while(0);u[_+8>>3]=l-+(n|0),u[_>>3]=w+ +(((s<<24>>24)/2|0)<<24>>24),e[z>>2]=e[_>>2],e[z+4>>2]=e[_+4>>2],e[z+8>>2]=e[_+8>>2],e[z+12>>2]=e[_+12>>2],$R(r,z,0,c-A+ +(i&255|0)+ +(s<<24>>24)),i=C[f>>0]|0}if(i&2&&(E=$[t+86>>1]|0,B=e[t+96>>2]|0,((M0[t+82>>1]|0)+(E&65535)|0)<(e[B+100>>2]|0))){i=$[t+84>>1]|0;do if(i<<16>>16){if(((M0[t+80>>1]|0)+(i&65535)|0)==(e[B+104>>2]|0)){i=C[B+32>>0]|0,W=(i<<24>>24)/2|0,n=(W&255)+(s0[B+33>>0]|0)&255,u[_>>3]=p-+(W<<24>>24);break}i=C[B+32>>0]|0,l=+(((i<<24>>24)/2|0)<<24>>24),u[_>>3]=p-l,o|0&&($[o+86>>1]|0)!=E<<16>>16?n=~~(+u[B+64>>3]-m-l)&255:n=0}else{if(i=C[B+32>>0]|0,W=(i<<24>>24)/2|0,s=(W<<24>>24)+(s0[B+33>>0]|0)|0,n=s&255,s=s&255,l=+(W<<24>>24),u[_>>3]=p-l-+(s|0),(e[B+104>>2]|0)==(M0[t+80>>1]|0)){n=s<<1&255;break}o|0&&($[o+86>>1]|0)!=E<<16>>16&&(n=~~(+(n&255)-m+ +u[B+64>>3]-l)&255)}while(0);u[_+8>>3]=x-+(((i<<24>>24)/2|0)<<24>>24),e[z>>2]=e[_>>2],e[z+4>>2]=e[_+4>>2],e[z+8>>2]=e[_+8>>2],e[z+12>>2]=e[_+12>>2],$R(r,z,m-v+ +(n&255)+ +(i<<24>>24),0)}g=L}function XR(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;f=g,g=g+160|0,c=f+112|0,A=f,o=f+144|0,s=e[t+24>>2]|0,Z2(r,s|0?s:137314),s=t+42|0,n=$[s>>1]|0,n&384?(e[o+4>>2]=0,e[o>>2]=0,n=n&65535,n&256?(n=137327,l=4):n&128|0&&(n=137320,l=4),(l|0)==4&&(e[o>>2]=n),c1(r,o)):c1(r,e[(e[r>>2]|0)+336>>2]|0),l=t+33|0,Uo(r,+(s0[l>>0]|0));e:do if($[s>>1]&4)s=s0[l>>0]|0,e[c>>2]=e[i>>2],e[c+4>>2]=e[i+4>>2],e[c+8>>2]=e[i+8>>2],e[c+12>>2]=e[i+12>>2],e[c+16>>2]=e[i+16>>2],e[c+20>>2]=e[i+20>>2],e[c+24>>2]=e[i+24>>2],e[c+28>>2]=e[i+28>>2],Sa(r,qw(A,c,s)|0,4,4,0);else{if(n=$[t+36>>1]&15360,!(n<<16>>16)){n=C[l>>0]|0,(n&255)>1&&(w=+(n&255)*.5,u[i>>3]=+u[i>>3]+w,A=i+8|0,u[A>>3]=+u[A>>3]+w,A=i+16|0,u[A>>3]=+u[A>>3]-w,A=i+24|0,u[A>>3]=+u[A>>3]-w),e[c>>2]=e[i>>2],e[c+4>>2]=e[i+4>>2],e[c+8>>2]=e[i+8>>2],e[c+12>>2]=e[i+12>>2],e[c+16>>2]=e[i+16>>2],e[c+20>>2]=e[i+20>>2],e[c+24>>2]=e[i+24>>2],e[c+28>>2]=e[i+28>>2],Il(r,c,0);break}o=A+16|0,s=s0[l>>0]|0,e[c>>2]=e[i>>2],e[c+4>>2]=e[i+4>>2],e[c+8>>2]=e[i+8>>2],e[c+12>>2]=e[i+12>>2],e[c+16>>2]=e[i+16>>2],e[c+20>>2]=e[i+20>>2],e[c+24>>2]=e[i+24>>2],e[c+28>>2]=e[i+28>>2],qw(o,c,s)|0;do switch(((n&65535)+-1024|0)>>>10&4194303|0){case 7:{y2(r,o,2);break e}case 3:{y2(r,A+32|0,2);break e}case 1:{y2(r,A+48|0,2);break e}case 0:{i=A+64|0,e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],y2(r,A,2);break e}case 11:{y2(r,o,3);break e}case 5:{y2(r,A+32|0,3);break e}case 2:{i=A+80|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],y2(r,A+48|0,3);break e}case 8:{i=A+64|0,e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],y2(r,A,3);break e}case 13:{y2(r,o,4);break e}case 6:{i=A+80|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],y2(r,A+32|0,4);break e}case 10:{i=A+80|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],i=A+96|0,c=A+32|0,e[i>>2]=e[c>>2],e[i+4>>2]=e[c+4>>2],e[i+8>>2]=e[c+8>>2],e[i+12>>2]=e[c+12>>2],y2(r,A+48|0,4);break e}case 12:{i=A+64|0,e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],y2(r,A,4);break e}case 9:{y2(r,o,2),y2(r,A+48|0,2);break e}case 4:{i=A+64|0,e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],y2(r,A,2),y2(r,A+32|0,2);break e}default:break e}while(0)}while(0);g=f}function $w(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=e[r+16>>2]|0,i=o+208|0,!(e[i>>2]|0)&&!($[o+260>>1]&1)?r=0:(Bl(r),r=e[i>>2]|0),(r|0)!=(e[t>>2]|0)&&(r0(r),e[i>>2]=e[t>>2]),r=o+228|0,i=e[r>>2]|0,n=t+4|0,(i|0)!=(e[n>>2]|0)&&(r0(i),e[r>>2]=e[n>>2]),r=o+244|0,i=e[r>>2]|0,n=t+8|0,(i|0)!=(e[n>>2]|0)&&(r0(i),e[r>>2]=e[n>>2]),r=o+212|0,i=e[r>>2]|0,n=t+12|0,(i|0)!=(e[n>>2]|0)&&(r0(i),e[r>>2]=e[n>>2]),o=o+260|0,$[o>>1]=$[o>>1]&-2|C[t+16>>0]&1}function qR(r,t){r=r|0,t=t|0;var i=0,n=0;n=e[t>>2]|0,n|0&&(e[r+16>>2]=n),n=e[t+4>>2]|0,n|0&&(e[r+20>>2]=n),i=+u[t+16>>3],i>=0&&(u[r+32>>3]=i)}function $R(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0;o=g,g=g+64|0,l=o+32|0,s=o,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],u[s+16>>3]=+u[t>>3]+i,u[s+24>>3]=+u[t+8>>3]+n,e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2],e[l+16>>2]=e[s+16>>2],e[l+20>>2]=e[s+20>>2],e[l+24>>2]=e[s+24>>2],e[l+28>>2]=e[s+28>>2],Il(r,l,1),g=o}function An0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(l=g,g=g+64|0,o=l,A=+u[i>>3],f=A+ +u[t>>3],c=+u[i+8>>3],s=c+ +u[t+8>>3],A=A+ +u[t+16>>3],c=c+ +u[t+24>>3],u[o>>3]=A,u[o+8>>3]=c,u[o+32>>3]=f,u[o+40>>3]=s,u[o+16>>3]=f,u[o+24>>3]=c,u[o+48>>3]=A,u[o+56>>3]=s,n=e[t+36>>2]|0,n||(n=e[i+56>>2]|0),i=e[t+32>>2]|0,i||H0(137334,137342,623,137354),!(C[i>>0]|0))H0(137368,137342,624,137354);else{WR(r,i,o,4,1,n),g=l;return}}function un0(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0,s=s|0,A=A|0;var c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0;for(O0=g,g=g+128|0,Y=O0+104|0,B0=O0+48|0,D0=O0+16|0,H=O0,t0=H,e[t0>>2]=0,e[t0+4>>2]=0,a0=+u[n>>3],k0=a0-o,q=a0+o,t0=H+8|0,u[t0>>3]=(+u[s+24>>3]-+u[s+8>>3])*.5+ +u[n+8>>3],GR(r,1),D=D0+16|0,P=D0+4|0,X=D0+24|0,U=B0+4|0,F=B0+16|0,m=(A|0)==0,E=B0+24|0,B=B0+8|0,x=B0+32|0,z=B0+40|0,_=B0+48|0,L=l+16|0,Z=l+4|0,W=D0+8|0,p=0;!((p|0)>=(t|0));){switch(C[i+(p*24|0)+6>>0]|0){case 108:{o=k0;break}case 114:{o=q-+u[i+(p*24|0)+8>>3];break}default:o=a0-+u[i+(p*24|0)+8>>3]*.5}for(u[n>>3]=o,N=i+(p*24|0)+16|0,u[t0>>3]=+u[t0>>3]-+u[N>>3],T=i+(p*24|0)+4|0,w=e[i+(p*24|0)>>2]|0,v=0;!((v|0)>=($[T>>1]|0));)f=w+4|0,A=e[f>>2]|0,A?(u[D>>3]=+u[(+u[A+16>>3]>0?A:l)+16>>3],e[D0>>2]=e[(e[A>>2]|0?A:l)>>2],s=e[(e[A+4>>2]|0?A:l)+4>>2]|0,e[P>>2]=s,A=e[A+24>>2]&127,A?A=e[X>>2]&-128|A:J0=12):(u[D>>3]=+u[L>>3],e[D0>>2]=e[l>>2],s=e[Z>>2]|0,e[P>>2]=s,J0=12),(J0|0)==12&&(J0=0,A=e[X>>2]&-128),e[X>>2]=A,Z2(r,s),e[B0>>2]=e[w>>2],e[U>>2]=D0,u[F>>3]=+u[w+16>>3],m?c=1:c=+u[w+24>>3],u[E>>3]=c,e[W>>2]=e[(e[f>>2]|0)+8>>2],e[B>>2]=e[w+8>>2],f=w+32|0,u[x>>3]=+u[f>>3],u[z>>3]=+u[N>>3],C[_>>0]=108,u[H>>3]=o,e[Y>>2]=e[H>>2],e[Y+4>>2]=e[H+4>>2],e[Y+8>>2]=e[H+8>>2],e[Y+12>>2]=e[H+12>>2],Ny(r,Y,B0),c=+u[f>>3]+o,u[n>>3]=c,w=w+56|0,v=v+1|0,o=c;p=p+1|0}ZR(r),g=O0}function Kw(r){r=r|0,r0(e[r>>2]|0),r0(e[r+4>>2]|0),r0(e[r+8>>2]|0),r0(e[r+16>>2]|0),r0(e[r+12>>2]|0),r0(e[r+20>>2]|0),r0(e[r+24>>2]|0)}function KR(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;if(r|0){for(A=r+4|0,i=0,o=e[r>>2]|0;!((i|0)>=($[A>>1]|0));){for(c=o+4|0,t=0,n=e[o>>2]|0;!((t|0)>=($[c>>1]|0));)r0(e[n>>2]|0),l=e[n+8>>2]|0,l|0&&(s=e[n+12>>2]|0,s|0)&&l2[s&127](l),t=t+1|0,n=n+56|0;i=i+1|0,o=o+24|0}t=e[r>>2]|0,t|0&&r0(t),r0(r)}}function an0(r){r=r|0,r0(e[r+32>>2]|0),r0(r)}function Yy(r,t){switch(r=r|0,t=t|0,C[r+4>>0]|0){case 1:{cn0(e[r>>2]|0);break}case 3:{an0(e[r>>2]|0);break}default:KR(e[r>>2]|0)}t|0&&r0(r)}function cn0(r){r=r|0;var t=0,i=0,n=0;if(n=r+84|0,(e[r+100>>2]|0)==-1)Fr(e[n>>2]|0)|0;else{for(t=e[n>>2]|0,r0(e[r+92>>2]|0),r0(e[r+96>>2]|0);i=e[t>>2]|0,!!i;)fn0(i),t=t+4|0;r0(e[n>>2]|0)}Kw(r),r0(r)}function fn0(r){r=r|0,Yy(r+88|0,0),Kw(r),r0(r)}function hn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return r=e[(e[(e[r+16>>2]|0)+104>>2]|0)+72>>2]|0,(C[r+4>>0]|0)!=2&&(n=bR(e[r>>2]|0,t)|0,(n|0)!=0)?(e[i>>2]=s0[n+35>>0],r=n+48|0):r=0,r|0}function bR(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r+4>>2]|0,i|0&&!(De(i,t)|0)||(n=3);e:do if((n|0)==3)for(i=e[r+84>>2]|0;;){if(r=e[i>>2]|0,!r){r=0;break e}if(r=wn0(r,t)|0,!r)i=i+4|0;else break}while(0);return r|0}function wn0(r,t){r=r|0,t=t|0;var i=0;return i=e[r+4>>2]|0,i|0&&!(De(i,t)|0)||((C[r+92>>0]|0)==1?r=bR(e[r+88>>2]|0,t)|0:r=0),r|0}function dn0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,0}function pn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(w=r+92|0,e[w>>2]=j0((e[r+100>>2]<<2)+4|0)|0,c=j0((e[r+104>>2]<<2)+4|0)|0,e[r+96>>2]=c,f=r+32|0,A=e[r+84>>2]|0;s=e[A>>2]|0,!!s;){for(r=$[s+82>>1]|0,t=+u[s+72>>3],r<<16>>16==1?n=~~t:(n=~~((t-+(N0((C[f>>0]|0)+-1|0,(r&65535)+-1|0)|0))/+(r&65535)),n=(n|0)>1?n:1),o=$[s+80>>1]|0,t=+u[s+64>>3],o<<16>>16==1?l=~~t:(l=~~((t-+(N0((C[f>>0]|0)+-1|0,(o&65535)+-1|0)|0))/+(o&65535)),l=(l|0)>1?l:1),p=M0[s+86>>1]|0,i=(r&65535)+p|0,r=p;!((r|0)>=(i|0));)p=(e[w>>2]|0)+(r<<2)|0,v=e[p>>2]|0,e[p>>2]=(v|0)>(n|0)?v:n,r=r+1|0;for(r=M0[s+84>>1]|0,i=(o&65535)+r|0;!((r|0)>=(i|0));)v=c+(r<<2)|0,p=e[v>>2]|0,e[v>>2]=(p|0)>(l|0)?p:l,r=r+1|0;A=A+4|0}}function ef(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=i,r>>>0<21?r=e[55840+(r<<2)>>2]|0:(e[t>>2]=r,Ke(194959,137395,t)|0,r=194959),g=i,r|0}function kn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(A=r+104|0,c=r+100|0,s=i+16|0,n=0,o=0;!((n|0)>(e[A>>2]|0));)l=ht(i,ef(n)|0,1)|0,$e(l,137447,304,1)|0,f=l+16|0,e[(e[f>>2]|0)+176>>2]=0,p=j0((e[c>>2]<<2)+4|0)|0,w=e[f>>2]|0,e[w+172>>2]=p,e[w+184>>2]=0,w=j0((e[c>>2]<<2)+4|0)|0,e[(e[f>>2]|0)+180>>2]=w,o?e[(e[o+16>>2]|0)+164>>2]=l:e[(e[s>>2]|0)+192>>2]=l,n=n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)|0,n=e[t>>2]|0,e[n+172>>2]=r,n=n+176|0,i=e[n>>2]|0,e[n>>2]=i+1,e[r+(i<<2)>>2]=l,l=e[t>>2]|0,e[(e[l+172>>2]|0)+(e[l+176>>2]<<2)>>2]=0)}function rG(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(t=e[(e[r+16>>2]|0)+192>>2]|0;n=t+16|0,l=e[(e[n>>2]|0)+164>>2]|0,!!l;){if(rr(r,t,l,0,0)|0){t=l;continue}o=rr(r,t,l,0,1)|0,$e(o,137460,176,1)|0,$[(e[o+16>>2]|0)+170>>1]=0,t=e[n>>2]|0,i=e[t+180>>2]|0,i?t=Ve(i,(e[t+184>>2]<<2)+8|0)|0:t=_0((e[t+184>>2]<<2)+8|0)|0,s=e[n>>2]|0,e[s+180>>2]=t,s=s+184|0,i=e[s>>2]|0,e[s>>2]=i+1,e[t+(i<<2)>>2]=o,n=e[n>>2]|0,e[(e[n+180>>2]|0)+(e[n+184>>2]<<2)>>2]=0,n=l+16|0,t=e[n>>2]|0,i=e[t+172>>2]|0,i?t=Ve(i,(e[t+176>>2]<<2)+8|0)|0:t=_0((e[t+176>>2]<<2)+8|0)|0,i=e[n>>2]|0,e[i+172>>2]=t,i=i+176|0,s=e[i>>2]|0,e[i>>2]=s+1,e[t+(s<<2)>>2]=o,t=e[n>>2]|0,e[(e[t+172>>2]|0)+(e[t+176>>2]<<2)>>2]=0,t=l}}function vn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=r+92|0,n=0,o=0,t=e[(e[(e[t+16>>2]|0)+192>>2]|0)+16>>2]|0;t=e[t+164>>2]|0,!!t;)t=e[t+16>>2]|0,s=t+232|0,e[(e[l>>2]|0)+(o<<2)>>2]=(e[s>>2]|0)-n,n=e[s>>2]|0,o=o+1|0;for(r=r+96|0,n=0,o=0,t=e[(e[(e[i+16>>2]|0)+192>>2]|0)+16>>2]|0;t=e[t+164>>2]|0,!!t;)t=e[t+16>>2]|0,s=t+232|0,e[(e[r>>2]|0)+(o<<2)>>2]=(e[s>>2]|0)-n,n=e[s>>2]|0,o=o+1|0}function mn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+16|0,o=l+4|0,t=l,e[t>>2]=e[4647],i=e[r+100>>2]|0,(i|0)!=1&&(n=r+104|0,(e[n>>2]|0)!=1)?(e[r+92>>2]=j0((i<<2)+4|0)|0,e[r+96>>2]=j0((e[n>>2]<<2)+4|0)|0,C[o>>0]=C[t>>0]|0,C[o+1>>0]=C[t+1>>0]|0,C[o+2>>0]=C[t+2>>0]|0,C[o+3>>0]=C[t+3>>0]|0,n=w1(137473,o,0)|0,C[o>>0]=C[t>>0]|0,C[o+1>>0]=C[t+1>>0]|0,C[o+2>>0]=C[t+2>>0]|0,C[o+3>>0]=C[t+3>>0]|0,o=w1(137478,o,0)|0,$e(n,137483,280,1)|0,$e(o,137483,280,1)|0,kn0(r,n,o),Ea(n,2,2147483647)|0,Ea(o,2,2147483647)|0,vn0(r,n,o),gn0(n,o)):pn0(r),g=l}function gn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=(e[t+16>>2]|0)+192|0;i=e[i>>2]|0,!!i;)o=i+16|0,i=e[o>>2]|0,n=e[i+172>>2]|0,n&&(r0(n),i=e[o>>2]|0),n=e[i+180>>2]|0,n&&(r0(n),i=e[o>>2]|0),i=i+164|0;Di(r)|0,Di(t)|0}function yn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;switch(p=g,g=g+272|0,f=p+104|0,w=p+136|0,s=p+72|0,A=p,o=p+144|0,e[A+48>>2]=r,qo(r)|0){case 0:{i=e[r+60>>2]|0;break}case 1:{i=We(r)|0;break}case 2:{i=We(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0;break}default:}return l=A+52|0,e[l>>2]=i,c=e[i+60>>2]|0,u[A+32>>3]=+u[t+16>>3],e[A+16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r|0,t=t|0;var i=0;e:do switch(qo(r)|0){case 0:{t2(t,te(r)|0)|0;break}case 1:{t2(t,te(r)|0)|0;break}case 2:if(t2(t,te(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0)|0,i=r+-48|0,t2(t,te(e[((e[r>>2]&3|0)==2?r:i)+40>>2]|0)|0)|0,d1(We(e[((e[r>>2]&3|0)==2?r:i)+40>>2]|0)|0)|0){t2(t,137738)|0;break e}else{t2(t,141747)|0;break e}default:}while(0);return i=t+4|0,r=e[i>>2]|0,r>>>0>=(e[t+8>>2]|0)>>>0&&(Xe(t,1)|0,r=e[i>>2]|0),C[r>>0]=0,t=e[t>>2]|0,e[i>>2]=t,t|0}function tG(r){r=r|0;var t=0,i=0;t=he(r,137729)|0,t|0&&C[t>>0]|0||(i=3);do if((i|0)==3){if(t=he(r,140823)|0,t|0&&C[t>>0]|0)break;t=0}while(0);return t|0}function iG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(B=g,g=g+16|0,m=B+8|0,v=B,E=t+108|0,o=e[E>>2]|0,o|0&&JR(n,o,186576),e[t+80>>2]=i,o=xn0(r,t,n)|0,w=t+36|0,r=$[w>>1]|0,r&128||(C[t+32>>0]=2),i=t+33|0,r&32||(C[i>>0]=1),mn0(t),s=e[t+104>>2]|0,c=C[t+32>>0]|0,r=N0(s+1|0,c)|0,A=s0[i>>0]<<1,f=e[t+100>>2]|0,c=N0(f+1|0,c)|0,l=t+96|0,r=A+r|0,i=0;!((i|0)>=(s|0));)r=(e[(e[l>>2]|0)+(i<<2)>>2]|0)+r|0,i=i+1|0;for(s=t+92|0,i=c+A|0,l=0;!((l|0)>=(f|0));)i=(e[(e[s>>2]|0)+(l<<2)>>2]|0)+i|0,l=l+1|0;s=t+38|0;do if($[w>>1]&1){if(w=$[s>>1]|0,l=w&65535,w<<16>>16&&(p=$[t+40>>1]|0,p<<16>>16)){if(!((r|0)>(l|0)|(i|0)>(p&65535|0))){i=0,r=0;break}$0(0,137529,v)|0,o=1,i=0,r=0;break}$0(0,137563,m)|0,o=1}while(0);return m=M0[s>>1]|0,u[t+64>>3]=+(((r|0)>(m|0)?r:m)|0),m=M0[t+40>>1]|0,u[t+72>>3]=+(((i|0)>(m|0)?i:m)|0),e[E>>2]|0&&qR(n,186576),g=B,o|0}function nG(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o,u[r>>3]=t,u[r+8>>3]=i,u[r+16>>3]=n,u[r+24>>3]=o}function oG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0;F=g,g=g+64|0,X=F+32|0,U=F,D=e[r+84>>2]|0,l=e[r+80>>2]|0,l|0&&(n=e[l+24>>2]|0,n|0)&&(o=r+24|0,(e[o>>2]|0)==0)&&(e[o>>2]=C2(n)|0),P=r+48|0,n=t+16|0,A=+u[n>>3],s=+u[t>>3],l=~~(A-s-+(~~+u[r+64>>3]|0)),(l|0)<=-1&&H0(137496,137342,1761,137506),c=t+24|0,_=+u[c>>3],f=t+8|0,w=+u[f>>3],p=+(~~+u[r+72>>3]|0),v=~~(_-w-p),(v|0)<=-1&&H0(137519,137342,1764,137506),m=$[r+36>>1]|0,o=m&65535;e:do if(o&1){r:do if((l|0)>0)switch(o&6){case 4:{u[n>>3]=s+p;break r}case 2:{q=+(l|0),u[n>>3]=A+q,s=s+q,u[t>>3]=s;break r}default:{q=+(l>>>1|0),s=s+q,u[t>>3]=s,u[n>>3]=A-q;break r}}while(0);if((v|0)>0)switch(m&24){case 16:{_=w+p,u[c>>3]=_,v=0,n=0;break e}case 8:{q=+(v|0),_=_+q,u[c>>3]=_,u[f>>3]=w+q,v=0,n=0;break e}default:{q=+(v>>>1|0),u[f>>3]=w+q,_=_-q,u[c>>3]=_,v=0,n=0;break e}}else v=0,n=0}else n=l;while(0);for(A=+(s0[r+33>>0]|0),N=r+32|0,E=C[N>>0]|0,w=+(E<<24>>24),T=r+104|0,l=e[T>>2]|0,m=(n|0)/(l|0)|0,c=n-(N0(m,l)|0)|0,c=~~(((c|0)>-1?.5:-.5)+ +(c|0)),W=r+96|0,f=E<<24>>24,n=~~(s+A+w),o=0;!((o|0)>(l|0));)Z=(e[W>>2]|0)+(o<<2)|0,l=e[Z>>2]|0,e[Z>>2]=n,n=n+m+((o|0)<(c|0)&1)+l+f|0,o=o+1|0,l=e[T>>2]|0;for(Z=r+100|0,l=e[Z>>2]|0,m=(v|0)/(l|0)|0,f=v-(N0(m,l)|0)|0,f=~~(((f|0)>-1?.5:-.5)+ +(f|0)),L=r+92|0,c=E<<24>>24,n=~~(_-A-w),o=0;!((o|0)>(l|0));)z=(e[L>>2]|0)+(o<<2)|0,l=e[z>>2]|0,e[z>>2]=n,n=n-m+(((o|0)<(f|0))<<31>>31)-l-c|0,o=o+1|0,l=e[Z>>2]|0;for(E=(i|0)==0,B=U+16|0,x=U+24|0,z=U+8|0,n=D;c=e[n>>2]|0,!!c;)l=$[c+84>>1]|0,E?(o=0,f=$[c+80>>1]|0,v=$[c+86>>1]|0,m=$[c+82>>1]|0):(o=l<<16>>16?0:8,v=$[c+86>>1]|0,o=v<<16>>16?o:o|4,f=$[c+80>>1]|0,m=$[c+82>>1]|0,o=(((f&65535)+(l&65535)|0)==(e[T>>2]|0)?o|2:o)|((m&65535)+(v&65535)|0)==(e[Z>>2]|0)),t0=e[W>>2]|0,l=l&65535,u[U>>3]=+(e[t0+(l<<2)>>2]|0),D=C[N>>0]|0,u[B>>3]=+((e[t0+((f&65535)+l<<2)>>2]|0)-D|0),f=e[L>>2]|0,u[x>>3]=+(e[f+((v&65535)<<2)>>2]|0),u[z>>3]=+((e[f+((m&65535)+(v&65535)<<2)>>2]|0)+D|0),e[X>>2]=e[U>>2],e[X+4>>2]=e[U+4>>2],e[X+8>>2]=e[U+8>>2],e[X+12>>2]=e[U+12>>2],e[X+16>>2]=e[U+16>>2],e[X+20>>2]=e[U+20>>2],e[X+24>>2]=e[U+24>>2],e[X+28>>2]=e[U+28>>2],En0(c,X,o&i),n=n+4|0;C[r+35>>0]=i,e[P>>2]=e[t>>2],e[P+4>>2]=e[t+4>>2],e[P+8>>2]=e[t+8>>2],e[P+12>>2]=e[t+12>>2],e[P+16>>2]=e[t+16>>2],e[P+20>>2]=e[t+20>>2],e[P+24>>2]=e[t+24>>2],e[P+28>>2]=e[t+28>>2],g=F}function lG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0;for(B0=g,g=g+112|0,F=B0+48|0,q=B0+16|0,t0=B0,e[q>>2]=0,e[q+4>>2]=0,e[q+8>>2]=0,e[q+12>>2]=0,e[q+16>>2]=0,e[q+20>>2]=0,e[q+24>>2]=0,e[q+28>>2]=0,Y=t+4|0,H=i+16|0,a0=i+32|0,k0=q+16|0,v=$[Y>>1]|0,c=v<<16>>16,n=0,l=-1,A=0;;){if((A|0)>=(c|0)){n=1;break}if(o=e[t>>2]|0,($[o+(A*24|0)+4>>1]|0)>1){n=0;break}if(o=e[(e[o+(A*24|0)>>2]|0)+4>>2]|0,!o)s=+u[a0>>3],u[k0>>3]=s,o=H;else{if(e[o+24>>2]&127|0){n=0;break}s=+u[(+u[o+16>>3]>0?o:H)+16>>3],u[k0>>3]=s,o=e[o>>2]|0?o:H}if(o=e[o>>2]|0,e[q>>2]=o,l!=-1){if(s!=l){n=0;break}}else l=s;if(n){if(ge(o,n)|0){n=0;break}}else n=o;A=A+1|0}for(C[t+6>>0]=n,P=i+48|0,X=i+20|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-s,n=o;break}else{f=w,s=E-B+w-s,n=o+(c*24|0)|0;break}else f=l,s=n?w:l,n=o+(c*24|0)|0;while(0);u[n+16>>3]=s,m=p>m?p:m,E=f+E,B=+u[o+(c*24|0)+16>>3]+B,c=c+1|0,n=$[Y>>1]|0}u[t+24>>3]=m,u[t+32>>3]=n<<16>>16==1?l:E,g=B0}function En0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;_=g,g=g+64|0,B=_+32|0,z=_,o=r+24|0,!(e[o>>2]|0)&&(n=e[(e[r+96>>2]|0)+24>>2]|0,n|0)&&(e[o>>2]=C2(n)|0),m=r+36|0,x=$[m>>1]|0,n=x&65535;e:do if(n&1){l=+u[r+64>>3],w=+u[r+72>>3],o=t+16|0,s=+u[o>>3],c=+u[t>>3],A=s-c-l;r:do if(A>0)switch(n&6){case 4:{s=c+l,u[o>>3]=s,l=c;break r}case 2:{s=A+s,u[o>>3]=s,l=c+A,u[t>>3]=l;break r}default:{f=A*.5,l=f+c,u[t>>3]=l,s=s-f,u[o>>3]=s;break r}}else l=c;while(0);if(n=t+24|0,f=+u[n>>3],o=t+8|0,A=+u[o>>3],c=f-A-w,c>0)switch(x&24){case 16:{c=A+w,u[n>>3]=c;break e}case 8:{w=c+f,u[n>>3]=w,A=A+c,u[o>>3]=A,c=w;break e}default:{c=c*.5,A=c+A,u[o>>3]=A,c=f-c,u[n>>3]=c;break e}}else c=f}else l=+u[t>>3],A=+u[t+8>>3],s=+u[t+16>>3],c=+u[t+24>>3];while(0);switch(v=r+48|0,e[v>>2]=e[t>>2],e[v+4>>2]=e[t+4>>2],e[v+8>>2]=e[t+8>>2],e[v+12>>2]=e[t+12>>2],e[v+16>>2]=e[t+16>>2],e[v+20>>2]=e[t+20>>2],e[v+24>>2]=e[t+24>>2],e[v+28>>2]=e[t+28>>2],C[r+35>>0]=i,Z=+(s0[r+33>>0]|0),L=+(s0[r+34>>0]|0),f=l+Z+L,u[z>>3]=f,w=A+Z+L,v=z+8|0,u[v>>3]=w,A=s-Z-L,t=z+16|0,u[t>>3]=A,c=c-Z-L,p=z+24|0,u[p>>3]=c,o=r+88|0,C[r+92>>0]|0){case 1:{x=e[o>>2]|0,e[B>>2]=e[z>>2],e[B+4>>2]=e[z+4>>2],e[B+8>>2]=e[z+8>>2],e[B+12>>2]=e[z+12>>2],e[B+16>>2]=e[z+16>>2],e[B+20>>2]=e[z+20>>2],e[B+24>>2]=e[z+24>>2],e[B+28>>2]=e[z+28>>2],oG(x,B,i);break}case 3:{n=e[o>>2]|0,l=+u[n+24>>3],s=A-f-+u[n+16>>3];e:do if(s>0)switch(x&6){case 4:{u[t>>3]=A-s;break e}case 2:{u[z>>3]=s+f;break e}default:break e}while(0);l=c-w-l;e:do if(l>0)switch(x&24){case 16:{u[p>>3]=c-l;break e}case 8:{u[v>>3]=l+w;break e}default:break e}while(0);e[B>>2]=e[z>>2],e[B+4>>2]=e[z+4>>2],e[B+8>>2]=e[z+8>>2],e[B+12>>2]=e[z+12>>2],e[B+16>>2]=e[z+16>>2],e[B+20>>2]=e[z+20>>2],e[B+24>>2]=e[z+24>>2],e[B+28>>2]=e[z+28>>2],Bn0(n,B);break}default:{n=e[o>>2]|0,l=+u[n+32>>3],s=A-f-+u[n+24>>3];e:do if(s>0&&(E=x&6,E<<16>>16!=6))switch(E&7){case 4:{u[t>>3]=A-s;break e}case 2:{u[z>>3]=s+f;break e}default:{Z=s*.5,u[z>>3]=Z+f,u[t>>3]=A-Z;break e}}while(0);l=c-w-l;e:do if(l>0)switch(x&24){case 16:{u[p>>3]=c-l;break e}case 8:{u[v>>3]=l+w;break e}default:{Z=l*.5,u[v>>3]=Z+w,u[p>>3]=c-Z;break e}}while(0);x=n+8|0,e[x>>2]=e[z>>2],e[x+4>>2]=e[z+4>>2],e[x+8>>2]=e[z+8>>2],e[x+12>>2]=e[z+12>>2],e[x+16>>2]=e[z+16>>2],e[x+20>>2]=e[z+20>>2],e[x+24>>2]=e[z+24>>2],e[x+28>>2]=e[z+28>>2],z=$[m>>1]&768,In0(e[o>>2]|0,(z&1023)==512?108:(z&1023)==256?114:110)}}g=_}function Bn0(r,t){r=r|0,t=t|0,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2],e[r+16>>2]=e[t+16>>2],e[r+20>>2]=e[t+20>>2],e[r+24>>2]=e[t+24>>2],e[r+28>>2]=e[t+28>>2]}function In0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(n=$[r+4>>1]|0,i=0;!((i|0)>=(n|0));)o=(e[r>>2]|0)+(i*24|0)+6|0,C[o>>0]|0||(C[o>>0]=t),i=i+1|0}function xn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(A=t+84|0,B=e[A>>2]|0,x=Bf()|0,z=sG()|0,o=0,n=0,s=Mt(B)|0;s;){for(l=Mt(e[s+8>>2]|0)|0;l;)l=e[l>>2]|0,o=o+1|0;n=n+1|0,C[s+12>>0]|0&&Zn0(z,n),s=e[s>>2]|0}for(n=j0((o<<2)+4|0)|0,e[A>>2]=n,o=0,l=0,s=0,v=0,m=Mt(B)|0;m;){for(E=v&65535,p=0,w=Mt(e[m+8>>2]|0)|0;w;)f=e[w+8>>2]|0,e[n>>2]=f,s=Sn0(r,f,t,i)|0|s,A=_n0(x,v,p,f)|0,$[f+86>>1]=E,$[f+84>>1]=A,A=A+(M0[f+80>>1]|0)|0,c=v+(M0[f+82>>1]|0)|0,Wn0(z,c)|0&&(p=f+100|0,C[p>>0]=C[p>>0]|2),p=A,n=n+4|0,w=e[w>>2]|0,o=(A|0)>(o|0)?A:o,l=(c|0)>(l|0)?c:l;v=v+1|0,m=e[m>>2]|0}return e[t+100>>2]=l,e[t+104>>2]=o,Fr(B)|0,Fr(z)|0,If(x),s|0}function Sn0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;switch(m=g,g=g+16|0,v=m+8|0,p=m,e[t+96>>2]=i,f=t+36|0,A=$[f>>1]|0,A&64||($[i+36>>1]&64?s=C[i+34>>0]|0:s=2,C[t+34>>0]=s),A&32||(s=C[i+88>>0]|0,s<<24>>24<=-1&&($[i+36>>1]&32?s=C[i+33>>0]|0:s=1),C[t+33>>0]=s),s=t+88|0,c=t+92|0,C[c>>0]|0){case 1:{A=iG(r,e[s>>2]|0,t,n)|0,i=e[s>>2]|0,s=A,A=i+64|0,i=i+72|0;break}case 3:{A=zn0(e[s>>2]|0,n)|0,i=e[s>>2]|0,s=A,A=i+16|0,i=i+24|0;break}default:lG(e[(e[r+16>>2]|0)+144>>2]|0,e[s>>2]|0,n),i=e[s>>2]|0,s=0,A=i+24|0,i=i+32|0}o=+((s0[t+33>>0]|0)+(s0[t+34>>0]|0)<<1|0),l=+u[A>>3]+o,o=+u[i>>3]+o,i=t+38|0;do if($[f>>1]&1){if(A=$[i>>1]|0,A<<16>>16&&(w=$[t+40>>1]|0,w<<16>>16)){if(!(l>+(A&65535)|o>+(w&65535))){l=0,o=0;break}if((C[c>>0]|0)==3){l=0,o=0;break}$0(0,137614,p)|0,s=1,l=0,o=0;break}$0(0,137647,v)|0,s=1}while(0);return E=+(M0[i>>1]|0),u[t+64>>3]=l>E?l:E,l=+(M0[t+40>>1]|0),u[t+72>>3]=o>l?o:l,g=m,s|0}function _n0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;c=n+80|0,A=(M0[c>>1]|0)+-1|0,s=0;e:for(;;)for(o=i;;){if(s)break e;for(l=A+o|0;;){if((l|0)<(o|0)){i=o,s=1;continue e}if(PN(r,l,t)|0)break;l=l+-1|0}o=l+1|0}for(s=n+82|0,o=i;(o|0)<(i+(M0[c>>1]|0)|0);){l=t;for(;!((l|0)>=((M0[s>>1]|0)+t|0));)GA(r,o,l),l=l+1|0;o=o+1|0}return i|0}function zn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;return c=g,g=g+16|0,s=c,l=c+8|0,t=t+52|0,o=r+32|0,e7(l,e[t>>2]|0,e[o>>2]|0),A=e[l>>2]|0,l=e[l+4>>2]|0,(l&A|0)==-1?(e[s>>2]=e[o>>2],$0(1,137697,s)|0,t=1,n=0,i=0):(C[(e[(e[t>>2]|0)+16>>2]|0)+114>>0]=1,t=0,n=+(l|0),i=+(A|0)),e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0,u[r+16>>3]=i,u[r+24>>3]=n,g=c,t|0}function sG(){return ct(55924,e[4581]|0)|0}function Ln0(r,t,i){return r=r|0,t=t|0,i=i|0,i=j0(12)|0,e[i>>2]=e[t>>2],i|0}function Rn0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function Gn0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=e[t>>2]|0,n=e[i>>2]|0,((t|0)>(n|0)?1:((t|0)<(n|0))<<31>>31)|0}function Zn0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,oe[e[r>>2]&63](r,n,1)|0,g=i}function Wn0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[n>>2]=t,t=(oe[e[r>>2]&63](r,n,512)|0)!=0&1,g=i,t|0}function Dn0(r){r=r|0;var t=0;e[47375]|0||(t=j0((r<<2)+4|0)|0,e[47375]=t,e[t>>2]=189504,e[47386]=r),e[47387]=0}function Mn0(){r0(e[47375]|0),e[47375]=0,e[47387]=0}function jn0(){e[47387]=0}function Vy(){var r=0,t=0,i=0;for(t=e[47387]|0,i=e[47375]|0,r=1;;){if((r|0)>(t|0)){r=5;break}if((e[(e[i+(r<<2)>>2]|0)+4>>2]|0)==(r|0))r=r+1|0;else{r=4;break}}if((r|0)==4)H0(138394,137741,59,137747);else if((r|0)==5)return}function AG(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(o=e[47375]|0,l=e[o+(r<<2)>>2]|0,s=e[l>>2]|0;t=(r|0)/2|0,i=e[o+(t<<2)>>2]|0,n=o+(r<<2)|0,!((e[i>>2]|0)>=(s|0));)e[n>>2]=i,e[i+4>>2]=r,r=t;e[n>>2]=l,e[l+4>>2]=r}function uG(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=e[47387]|0,(t|0)==(e[47386]|0)?($0(1,137755,i)|0,r=1):(t=t+1|0,e[47387]=t,e[(e[47375]|0)+(t<<2)>>2]=r,AG(t),Vy(),r=0),g=i,r|0}function Nn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(n=e[47375]|0,o=e[n+(r<<2)>>2]|0,l=e[o>>2]|0,s=e[47387]|0,A=(s|0)/2|0;!((r|0)>(A|0)||(i=r<<1,t=e[n+(i<<2)>>2]|0,(i|0)<(s|0)&&(w=i|1,c=e[n+(w<<2)>>2]|0,f=(e[t>>2]|0)<(e[c>>2]|0),i=f?w:i,t=f?c:t),(l|0)>=(e[t>>2]|0)));)e[n+(r<<2)>>2]=t,e[t+4>>2]=r,r=i;e[n+(r<<2)>>2]=o,e[o+4>>2]=r}function Qn0(){var r=0,t=0,i=0,n=0;return t=e[47387]|0,t?(n=e[47375]|0,i=n+4|0,r=e[i>>2]|0,e[i>>2]=e[n+(t<<2)>>2],t=t+-1|0,e[47387]=t,t|0&&Nn0(1),Vy()):r=0,r|0}function Tn0(r,t){r=r|0,t=t|0,e[r>>2]=t,AG(e[r+4>>2]|0),Vy()}function Fn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(f=r+16|0,s=e[f>>2]|0,s=(C[s+((e[i+12>>2]|0)*40|0)+36>>0]|0)!=(C[s+((e[i+16>>2]|0)*40|0)+36>>0]|0),A=~~((+u[t+64>>3]+-3-+u[t+48>>3])*.5),c=~~((+u[t+56>>3]+-3-+u[t+40>>3])*.5),o=(A|0)<(c|0)?A:c,w=t+4|0,n=0;;){if(r=e[w>>2]|0,(n|0)>=(r|0)){o=n;break}if(l=e[t+8+(n<<2)>>2]|0,p=e[f>>2]|0,(C[p+((e[l+12>>2]|0)*40|0)+36>>0]|0)==(C[p+((e[l+16>>2]|0)*40|0)+36>>0]|0)){o=n;break}aG(l,o),n=n+1|0}for(;!((o|0)>=(r|0));)n=e[t+8+(o<<2)>>2]|0,s|(n|0)==(i|0)&&(aG(n,C[(e[f>>2]|0)+((e[n+12>>2]|0)*40|0)+36>>0]|0?A:c),r=e[w>>2]|0),o=o+1|0}function aG(r,t){r=r|0,t=t|0;var i=0,n=0;i=r+8|0,n=e[i>>2]|0,e[i>>2]=n+1,(n|0)>=(t|0)&&(e[i>>2]=0,u[r>>3]=+u[r>>3]+16384)}function Pn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;for(Z=g,g=g+112|0,z=Z+64|0,x=Z+96|0,f=Z+32|0,_=Z,L=j0(28)|0,t=v2(r)|0,B=L+4|0,e[B>>2]=t,t=j0(t*72|0)|0,E=L+12|0,e[E>>2]=t,n=_+8|0,u[n>>3]=17976931348623157e292,u[_>>3]=17976931348623157e292,o=_+24|0,u[o>>3]=-17976931348623157e292,l=_+16|0,u[l>>3]=-17976931348623157e292,s=f+16|0,A=f+8|0,c=f+24|0,i=U0(r)|0,w=17976931348623157e292,p=17976931348623157e292,v=-17976931348623157e292,m=-17976931348623157e292;i;)P=i+16|0,X=e[P>>2]|0,N=(+u[X+96>>3]+ +u[X+88>>3])*.5,N=N<1?1:N,W=+u[X+80>>3]*.5,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>>2]=e[P+4>>2],e[X+8>>2]=e[P+8>>2],e[X+12>>2]=e[P+12>>2],e[X+16>>2]=e[P+16>>2],e[X+20>>2]=e[P+20>>2],e[X+24>>2]=e[P+24>>2],e[X+28>>2]=e[P+28>>2],t=t+1|0;return r0(o),e[z>>2]=e[_>>2],e[z+4>>2]=e[_+4>>2],e[z+8>>2]=e[_+8>>2],e[z+12>>2]=e[_+12>>2],e[z+16>>2]=e[_+16>>2],e[z+20>>2]=e[_+20>>2],e[z+24>>2]=e[_+24>>2],e[z+28>>2]=e[_+28>>2],e[L+16>>2]=Vn0(L,z)|0,g=Z,L|0}function Yn0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for(m=g,g=g+128|0,v=m+96|0,p=m+64|0,A=m+32|0,E=m+16|0,B=m,f=+u[i+16>>3],w=+u[i>>3],c=+u[i+24>>3],l=+u[i+8>>3],s=e[15712]|0,Bi(137770,s)|0,e[B>>2]=10,e[B+4>>2]=10,e[B+8>>2]=~~(f+10-w),e[B+12>>2]=~~(c+10-l),A2(s,138200,B)|0,u[E>>3]=10-w,u[E+8>>3]=10-l,A2(s,138248,E)|0,Bi(138265,s)|0,i=0;!((i|0)>=(t|0));)_=+u[r+(i*72|0)+48>>3],z=+u[r+(i*72|0)+56>>3],x=+u[r+(i*72|0)+64>>3],u[A>>3]=+u[r+(i*72|0)+40>>3],u[A+8>>3]=_,u[A+16>>3]=z,u[A+24>>3]=x,A2(s,138284,A)|0,i=i+1|0;for(Bi(138302,s)|0,i=0;!((i|0)>=(o|0));)x=+u[n+(i<<5)+8>>3],z=+u[n+(i<<5)+16>>3],_=+u[n+(i<<5)+24>>3],u[p>>3]=+u[n+(i<<5)>>3],u[p+8>>3]=x,u[p+16>>3]=z,u[p+24>>3]=_,A2(s,138321,p)|0,i=i+1|0;Bi(138339,s)|0,u[v>>3]=w,u[v+8>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[m>>2],e[x+4>>2]=e[m+4>>2],e[x+8>>2]=e[m+8>>2],e[x+12>>2]=e[m+12>>2],B=bw(W,_,x,L,0)|0,e[B+24>>2]=p,e[(e[v>>2]|0)+12>>2]=B),i=i+1|0;for(p=j0(e[W>>2]<<2)|0,E=r+4|0,B=r+12|0,v=x+8|0,f=0,m=0,w=0;;){if(i=e[E>>2]|0,(w|0)>=(i|0)){t=0;break}for(l=e[B>>2]|0,s=l+(w*72|0)|0,A=l+(w*72|0)+36|0,e[A>>2]=p+(f<<2),t=l+(w*72|0)+40|0,e[x>>2]=e[t>>2],e[x+4>>2]=e[t+4>>2],e[x+8>>2]=e[t+8>>2],e[x+12>>2]=e[t+12>>2],t=l+(w*72|0)+56|0,c=l+(w*72|0)+32|0,i=oe[e[_>>2]&63](_,x,512)|0;!(!i||!(+u[i+8>>3]<+u[t>>3]));)P=e[i>>2]|0,D=e[A>>2]|0,o=e[c>>2]|0,e[c>>2]=o+1,e[D+(o<<2)>>2]=P,e[(e[i>>2]|0)+24>>2]=s,i=oe[e[_>>2]&63](_,i,8)|0;for(o=l+(w*72|0)+64|0,i=oe[e[N>>2]&63](N,x,512)|0;;){if(!i){z=20;break}if(n=+u[o>>3],!(+u[i+16>>3]>2]|0,D=e[A>>2]|0,P=e[c>>2]|0,e[c>>2]=P+1,e[D+(P<<2)>>2]=t,e[(e[i>>2]|0)+24>>2]=s,i=oe[e[N>>2]&63](N,i,8)|0}for((z|0)==20&&(z=0,n=+u[o>>3]),u[v>>3]=n,t=l+(w*72|0)+56|0,i=oe[e[_>>2]&63](_,x,512)|0;;){if(!i){z=25;break}if(n=+u[t>>3],!(+u[i+8>>3]>2]|0,D=e[A>>2]|0,P=e[c>>2]|0,e[c>>2]=P+1,e[D+(P<<2)>>2]=X,e[(e[i>>2]|0)+20>>2]=s,i=oe[e[_>>2]&63](_,i,8)|0}for((z|0)==25&&(z=0,n=+u[t>>3]),u[x>>3]=n,u[v>>3]=+u[l+(w*72|0)+48>>3],i=oe[e[N>>2]&63](N,x,512)|0;!(!i||!(+u[i+16>>3]<+u[o>>3]));)D=e[i>>2]|0,P=e[A>>2]|0,X=e[c>>2]|0,e[c>>2]=X+1,e[P+(X<<2)>>2]=D,e[(e[i>>2]|0)+20>>2]=s,i=oe[e[N>>2]&63](N,i,8)|0;X=e[c>>2]|0,f=X+f|0,m=(X|0)>(m|0)?X:m,w=w+1|0}for(;!((t|0)>=(i|0));)On0((e[B>>2]|0)+(t*72|0)|0),t=t+1|0,i=e[E>>2]|0;for(i=e[W>>2]|0,X=e[W+16>>2]|0,e[X+(i*40|0)+32>>2]=i,i=i+1|0,e[X+(i*40|0)+32>>2]=i,Lt0(W,m),i=0;!((i|0)>=(e[r>>2]|0));)Hn0((e[Z>>2]|0)+(i*72|0)|0,W),i=i+1|0;return Fr(N)|0,Fr(_)|0,r0(L),Jn0(W),_t0(W),g=T,W|0}function bw(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;l=oe[e[t>>2]&63](t,i,512)|0;do if(l)s=l;else if(r=Gt0(r)|0,!n)H0(138183,138131,291,138190);else{l=e[r+32>>2]|0,s=n+(l<<5)|0,n=n+(l<<5)+8|0,e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],e[s>>2]=r,C[r+36>>0]=o,oe[e[t>>2]&63](t,s,1)|0;break}while(0);return e[s>>2]|0}function On0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;e:do if((+u[r+64>>3]+-3-+u[r+48>>3])*.5<2)for(l=e[r+32>>2]|0,s=r+36|0,o=0;;){if((o|0)>=(l|0))break e;t=e[(e[s>>2]|0)+(o<<2)>>2]|0;r:do if(C[t+36>>0]|0)if(n=e[t+20>>2]|0,(n|0)==(r|0)){i=e[t+24>>2]|0,t=i,i=e[i>>2]|0;do{if(e[t>>2]=i|8,t=e[e[t+36>>2]>>2]|0,!t)break r;t=e[t+24>>2]|0,i=e[t>>2]|0}while(!(i&1|0))}else{i=n,t=e[n>>2]|0;do{if(e[i>>2]=t|8,t=e[(e[i+36>>2]|0)+8>>2]|0,!t)break r;i=e[t+20>>2]|0,t=e[i>>2]|0}while(!(t&1|0))}while(0);o=o+1|0}while(0);e:do if((+u[r+56>>3]+-3-+u[r+40>>3])*.5<2)for(l=e[r+32>>2]|0,s=r+36|0,o=0;;){if((o|0)>=(l|0))break e;t=e[(e[s>>2]|0)+(o<<2)>>2]|0;r:do if(!(C[t+36>>0]|0))if(n=e[t+20>>2]|0,(n|0)==(r|0)){i=e[t+24>>2]|0,t=i,i=e[i>>2]|0;do{if(e[t>>2]=i|16,t=e[(e[t+36>>2]|0)+4>>2]|0,!t)break r;t=e[t+24>>2]|0,i=e[t>>2]|0}while(!(i&1|0))}else{i=n,t=e[n>>2]|0;do{if(e[i>>2]=t|16,t=e[(e[i+36>>2]|0)+12>>2]|0,!t)break r;i=e[t+20>>2]|0,t=e[i>>2]|0}while(!(t&1|0))}while(0);o=o+1|0}while(0)}function Hn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;l=+u[r+56>>3]-+u[r+40>>3],s=+u[r+64>>3]-+u[r+48>>3],o=(s+l)*.5+500,(s+-3)*.5<2?(f=(e[r>>2]&8|0)==0,o=f?16384:o,m=f?16384:l):m=l,(l+-3)*.5<2&&(f=(e[r>>2]&16|0)==0,s=f?16384:s,o=f?16384:o),f=r+36|0,i=e[f>>2]|0,n=e[i+8>>2]|0,n|0&&(A=e[i+4>>2]|0,(A|0)!=0)&&(A=ps(t,n,A,o)|0,n=r+4|0,i=e[n>>2]|0,e[n>>2]=i+1,e[r+8+(i<<2)>>2]=A,i=e[f>>2]|0),n=e[i+4>>2]|0,n|0&&(c=e[i>>2]|0,(c|0)!=0)&&(c=ps(t,n,c,o)|0,A=r+4|0,i=e[A>>2]|0,e[A>>2]=i+1,e[r+8+(i<<2)>>2]=c,i=e[f>>2]|0),n=e[i+8>>2]|0,n|0&&(w=e[i+12>>2]|0,(w|0)!=0)&&(w=ps(t,n,w,o)|0,c=r+4|0,i=e[c>>2]|0,e[c>>2]=i+1,e[r+8+(i<<2)>>2]=w,i=e[f>>2]|0),n=e[i+12>>2]|0,n|0&&(p=e[i>>2]|0,(p|0)!=0)&&(p=ps(t,n,p,o)|0,w=r+4|0,i=e[w>>2]|0,e[w>>2]=i+1,e[r+8+(i<<2)>>2]=p,i=e[f>>2]|0),n=e[i+4>>2]|0,n|0&&(v=e[i+12>>2]|0,(v|0)!=0)&&(v=ps(t,n,v,s)|0,p=r+4|0,i=e[p>>2]|0,e[p>>2]=i+1,e[r+8+(i<<2)>>2]=v,i=e[f>>2]|0),n=e[i+8>>2]|0,n|0&&(E=e[i>>2]|0,E|0)&&(t=ps(t,n,E,m)|0,v=r+4|0,E=e[v>>2]|0,e[v>>2]=E+1,e[r+8+(E<<2)>>2]=t)}function Jn0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(c=g,g=g+16|0,A=c+8|0,s=c,o=r+16|0,l=e[15712]|0,n=0;;){if((n|0)>=(e[r>>2]|0)){t=10;break}if(t=e[o>>2]|0,i=t+(n*40|0)+20|0,!(e[i>>2]|0)&&(e[s>>2]=n,A2(l,138096,s)|0,(e[i>>2]|0)==0)){t=5;break}if(t=t+(n*40|0)+24|0,!(e[t>>2]|0)&&(e[A>>2]=n,A2(l,138148,A)|0,(e[t>>2]|0)==0)){t=8;break}n=n+1|0}if((t|0)==5)H0(138118,138131,311,138138);else if((t|0)==8)H0(138170,138131,313,138138);else if((t|0)==10){g=c;return}}function Un0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=+u[t+8>>3],l=+u[i+8>>3],o>l?r=1:o>3],o=+u[i>>3],l>o?r=1:r=(l>31),r|0}function Xn0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=+u[t>>3],l=+u[i>>3],o>l?r=1:o>3],o=+u[i+8>>3],l>o?r=1:r=(l>31),r|0}function qn0(r){r=r|0;var t=0,i=0;i=r+8|0,r0(e[(e[i>>2]|0)+36>>2]|0),t=r+12|0,r0(e[(e[t>>2]|0)+36>>2]|0),r0(e[i>>2]|0),r0(e[t>>2]|0),Zt0(e[r+16>>2]|0),Fr(e[r+20>>2]|0)|0,Fr(e[r+24>>2]|0)|0,r0(r)}function $n0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(m=g,g=g+32|0,s=m,A=t<<2,o=A+4|0,A=A+5|0,v=_0(A*56|0)|0,A=j0(A<<2)|0,l=o*5|1,c=_0(l*72|0)|0,w=l<<5,f=j0(w)|0,w=j0(w)|0,e[s>>2]=e[n>>2],e[s+4>>2]=e[n+4>>2],e[s+8>>2]=e[n+8>>2],e[s+12>>2]=e[n+12>>2],e[s+16>>2]=e[n+16>>2],e[s+20>>2]=e[n+20>>2],e[s+24>>2]=e[n+24>>2],e[s+28>>2]=e[n+28>>2],cG(r,t,s,v,0),NE(173),fG(o,A),kG(o,v,A,l,c)|0,p=hG(o,v,c,0,f)|0,e[s>>2]=e[n>>2],e[s+4>>2]=e[n+4>>2],e[s+8>>2]=e[n+8>>2],e[s+12>>2]=e[n+12>>2],e[s+16>>2]=e[n+16>>2],e[s+20>>2]=e[n+20>>2],e[s+24>>2]=e[n+24>>2],e[s+28>>2]=e[n+28>>2],cG(r,t,s,v,1),fG(o,A),kG(o,v,A,l,c)|0,o=hG(o,v,c,1,w)|0,l=j0(N0(p<<5,o)|0)|0,t=0,r=0;!((t|0)>=(o|0));){for(s=w+(t<<5)|0,n=0;!((n|0)>=(p|0));)E=r+((Kn0(l+(r<<5)|0,s,f+(n<<5)|0)|0)!=0&1)|0,n=n+1|0,r=E;t=t+1|0}return E=Ve(l,r<<5)|0,r0(v),r0(A),r0(c),r0(f),r0(w),e[i>>2]=r,g=m,E|0}function cG(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0;for(c=g,g=g+96|0,s=c+64|0,A=c,e[s>>2]=e[i>>2],e[s+4>>2]=e[i+4>>2],e[s+8>>2]=e[i+8>>2],e[s+12>>2]=e[i+12>>2],e[s+16>>2]=e[i+16>>2],e[s+20>>2]=e[i+20>>2],e[s+24>>2]=e[i+24>>2],e[s+28>>2]=e[i+28>>2],dG(s,o,1,A),i=pG(n,1,A)|0,l=0;!((l|0)>=(t|0));)f=r+(l*72|0)+40|0,e[s>>2]=e[f>>2],e[s+4>>2]=e[f+4>>2],e[s+8>>2]=e[f+8>>2],e[s+12>>2]=e[f+12>>2],e[s+16>>2]=e[f+16>>2],e[s+20>>2]=e[f+20>>2],e[s+24>>2]=e[f+24>>2],e[s+28>>2]=e[f+28>>2],dG(s,o,0,A),i=pG(n,i,A)|0,l=l+1|0;g=c}function fG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(i=0;!((i|0)>(r|0));)e[t+(i<<2)>>2]=i,i=i+1|0;for(l=r+1|0,i=1;!((i|0)>(r|0));)s=~~(+Rn()*+(l-i|0)+ +(i|0)),n=t+(i<<2)|0,o=t+(s<<2)|0,(i|0)!=(s|0)&&(s=e[n>>2]|0,e[n>>2]=e[o>>2],e[o>>2]=s),i=i+1|0}function hG(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(l=r*5|0,c=l+1|0,w=j0(c<<2)|0,e[47388]=j0(c<<4)|0,e[47389]=j0((r*56|0)+56|0)|0,c=j0(r<<2)|0,e[47390]=c,f=0;!((f|0)>(l|0)||bn0(i+(f*72|0)|0,t)|0);)f=f+1|0;for(s=e[47388]|0,A=e[47389]|0,l=1;!((l|0)>(r|0));)e[s+(l<<4)+8>>2]=e[t+(l*56|0)+48>>2],p=t+(l*56|0)+44|0,e[s+(l<<4)+4>>2]=e[p>>2],e[s+(l<<4)>>2]=l,v=A+(l*56|0)|0,m=t+(l*56|0)|0,e[v>>2]=e[m>>2],e[v+4>>2]=e[m+4>>2],e[v+8>>2]=e[m+8>>2],e[v+12>>2]=e[m+12>>2],e[A+(l*56|0)+16>>2]=e[p>>2],e[A+(l*56|0)+32>>2]=l,e[A+(l*56|0)+48>>2]=1,l=l+1|0;return e[47391]=r,e[47392]=0,e[c>>2]=1,l=e[i+(f*72|0)+40>>2]|0,(l|0)<=0?(l=e[i+(f*72|0)+48>>2]|0,(l|0)>0?l=_2(w,o,0,t,i,0,f,l,n,2)|0:l=0):l=_2(w,o,0,t,i,0,f,l,n,1)|0,r0(w),r0(e[47388]|0),r0(e[47389]|0),r0(e[47390]|0),l|0}function Kn0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return s=+u[(+u[t>>3]>+u[i>>3]?t:i)>>3],l=+u[(+u[t+16>>3]<+u[i+16>>3]?t:i)+16>>3],u[r+16>>3]=l,u[r>>3]=s,o=+u[(+u[t+8>>3]>+u[i+8>>3]?t:i)+8>>3],n=+u[(+u[t+24>>3]<+u[i+24>>3]?t:i)+24>>3],u[r+24>>3]=n,u[r+8>>3]=o,!(s>=l)&!(o>=n)&1|0}function bn0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=e[r+4>>2]|0;do if((e[r+68>>2]|0)!=2&&!((o|0)<1|(e[r>>2]|0)<1)){if(!((e[r+40>>2]|0)<1&&(e[r+44>>2]|0)<1)){if((e[r+48>>2]|0)>=1){r=0;break}if((e[r+52>>2]|0)>=1){r=0;break}}i=+u[t+(o*56|0)+24>>3],n=+u[t+(o*56|0)+8>>3],i>n+1e-7?r=1:i>3]>+u[t+(o*56|0)>>3]&1}else r=0;while(0);return r|0}function _2(r,t,i,n,o,l,s,A,c,f){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,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n=-o/(+G0(+(n*n+s*s))*+G0(+(l*l+A*A)))+-2,+n}function dG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;e[n>>2]=e[r>>2],e[n+4>>2]=e[r+4>>2],e[n+8>>2]=e[r+8>>2],e[n+12>>2]=e[r+12>>2],s=n+32|0,A=r+16|0,e[s>>2]=e[A>>2],e[s+4>>2]=e[A+4>>2],e[s+8>>2]=e[A+8>>2],e[s+12>>2]=e[A+12>>2],i?(o=r+24|0,l=r,s=r+8|0,i=A):(o=r+8|0,l=A,s=r+24|0,i=r),c=+u[l>>3],f=+u[s>>3],u[n+16>>3]=+u[i>>3],u[n+24>>3]=f,u[n+48>>3]=c,u[n+56>>3]=+u[o>>3];e:do if(t|0)for(i=0;;){if((i|0)==4)break e;A=n+(i<<4)+8|0,f=+u[A>>3],t=n+(i<<4)|0,u[A>>3]=+u[t>>3],u[t>>3]=-f,i=i+1|0}while(0)}function pG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(s=t+3|0,A=t+1|0,c=t+2|0,f=r+(t*56|0)+44|0,w=r+(s*56|0)+44|0,n=0,o=t;!((o|0)>(s|0));){do if((o|0)!=(t|0))if((o|0)==(s|0)){e[w>>2]=t,l=c;break}else{e[r+(o*56|0)+44>>2]=o+1,l=o+-1|0;break}else e[f>>2]=A,l=s;while(0);e[r+(o*56|0)+48>>2]=l,e[r+(o*56|0)+32>>2]=0,v=r+(o*56|0)|0,p=i+(n<<4)|0,e[v>>2]=e[p>>2],e[v+4>>2]=e[p+4>>2],e[v+8>>2]=e[p+8>>2],e[v+12>>2]=e[p+12>>2],Yl(r+(l*56|0)+16|0,p|0,16)|0,n=n+1|0,o=o+1|0}return t+4|0}function kG(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0;for(e[47393]=n<<1,e[47394]=n,f=j0(n*80|0)|0,e[47395]=1,e[47396]=1,qr(o|0,0,n*72|0)|0,l=r10(e[i+4>>2]|0,t,o,f)|0,n=1;!((n|0)>(r|0));)e[t+(n*56|0)+40>>2]=l,e[t+(n*56|0)+36>>2]=l,n=n+1|0;for(c=t10(r)|0,l=2,A=1;!((A|0)>(c|0));){for(n=Oy(r,A+-1|0)|0,s=Oy(r,A)|0;;){if((n|0)>=(s|0)){n=1;break}vG(e[i+(l<<2)>>2]|0,t,o,f),n=n+1|0,l=l+1|0}for(;!((n|0)>(r|0));)i10(n,t,o,f),n=n+1|0;A=A+1|0}for(n=Oy(r,c)|0;!((n|0)>=(r|0));)vG(e[i+(l<<2)>>2]|0,t,o,f),l=l+1|0,n=n+1|0;return r0(f),e[47395]|0}function r10(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;return o=Z1()|0,e[n+(o*40|0)>>2]=2,x=n+(o*40|0)+8|0,c=t+(r*56|0)|0,f=t+(r*56|0)+16|0,o10(x,c,f),p=Z1()|0,e[n+(o*40|0)+36>>2]=p,e[n+(p*40|0)>>2]=3,e[n+(p*40|0)+28>>2]=o,A=Z1()|0,e[n+(o*40|0)+32>>2]=A,e[n+(A*40|0)>>2]=2,B=n+(A*40|0)+8|0,l10(B,c,f),e[n+(A*40|0)+28>>2]=o,f=Z1()|0,e[n+(A*40|0)+32>>2]=f,e[n+(f*40|0)>>2]=3,e[n+(f*40|0)+28>>2]=A,c=Z1()|0,e[n+(A*40|0)+36>>2]=c,e[n+(c*40|0)>>2]=1,e[n+(c*40|0)+4>>2]=r,e[n+(c*40|0)+28>>2]=A,A=Z1()|0,e[n+(c*40|0)+32>>2]=A,e[n+(A*40|0)>>2]=3,e[n+(A*40|0)+28>>2]=c,l=Z1()|0,e[n+(c*40|0)+36>>2]=l,e[n+(l*40|0)>>2]=3,e[n+(l*40|0)+28>>2]=c,c=sa(i)|0,s=sa(i)|0,w=sa(i)|0,v=sa(i)|0,m=i+(c*72|0)+8|0,E=i+(s*72|0)+8|0,z=i+(v*72|0)+24|0,e[z>>2]=e[x>>2],e[z+4>>2]=e[x+4>>2],e[z+8>>2]=e[x+8>>2],e[z+12>>2]=e[x+12>>2],Yl(E|0,x|0,16)|0,e[m>>2]=e[E>>2],e[m+4>>2]=e[E+4>>2],e[m+8>>2]=e[E+8>>2],e[m+12>>2]=e[E+12>>2],m=i+(c*72|0)+24|0,E=i+(s*72|0)+24|0,x=i+(w*72|0)+8|0,e[x>>2]=e[B>>2],e[x+4>>2]=e[B+4>>2],e[x+8>>2]=e[B+8>>2],e[x+12>>2]=e[B+12>>2],Yl(E|0,B|0,16)|0,e[m>>2]=e[E>>2],e[m+4>>2]=e[E+4>>2],e[m+8>>2]=e[E+8>>2],e[m+12>>2]=e[E+12>>2],u[i+(v*72|0)+16>>3]=1073741824,u[i+(v*72|0)+8>>3]=1073741824,u[i+(w*72|0)+32>>3]=-1073741824,u[i+(w*72|0)+24>>3]=-1073741824,e[i+(s*72|0)>>2]=r,e[i+(c*72|0)+4>>2]=r,e[i+(s*72|0)+40>>2]=v,e[i+(c*72|0)+40>>2]=v,e[i+(s*72|0)+48>>2]=w,e[i+(c*72|0)+48>>2]=w,e[i+(w*72|0)+40>>2]=c,e[i+(v*72|0)+48>>2]=c,e[i+(w*72|0)+44>>2]=s,e[i+(v*72|0)+52>>2]=s,e[i+(c*72|0)+56>>2]=A,e[i+(s*72|0)+56>>2]=l,e[i+(w*72|0)+56>>2]=f,e[i+(v*72|0)+56>>2]=p,e[i+(s*72|0)+68>>2]=1,e[i+(c*72|0)+68>>2]=1,e[i+(v*72|0)+68>>2]=1,e[i+(w*72|0)+68>>2]=1,e[n+(p*40|0)+24>>2]=v,e[n+(f*40|0)+24>>2]=w,e[n+(A*40|0)+24>>2]=c,e[n+(l*40|0)+24>>2]=s,e[t+(r*56|0)+32>>2]=1,o|0}function t10(r){r=r|0;var t=0;for(t=+(r|0),r=0;t>=1;)t=+qP(t),r=r+1|0;return r+-1|0}function Oy(r,t){r=r|0,t=t|0;var i=0,n=0;for(n=+(r|0),i=n,r=0;!((r|0)>=(t|0));)i=+qP(i),r=r+1|0;return~~+mt(+(n/i))|0}function vG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0;me=g,g=g+96|0,F0=me+32|0,o=me+16|0,b0=me,B=F0,c=t+(r*56|0)|0,E=B+56|0;do e[B>>2]=e[c>>2],B=B+4|0,c=c+4|0;while((B|0)<(E|0));V0=F0+16|0,ze=F0+24|0,s=+u[ze>>3],q=F0+8|0,A=+u[q>>3];do if(s>A+1e-7)F=4;else{if(!(s>3]>+u[F0>>3]){F=4;break}F=(ed(r,t,1)|0)==0,o=e[F0+36>>2]|0,F?(w=0,F=7):(o=oa(F0,V0,o,t,n)|0,F=20)}while(0);if((F|0)==4&&(e[o>>2]=e[F0>>2],e[o+4>>2]=e[F0+4>>2],e[o+8>>2]=e[F0+8>>2],e[o+12>>2]=e[F0+12>>2],e[F0>>2]=e[V0>>2],e[F0+4>>2]=e[V0+4>>2],e[F0+8>>2]=e[V0+8>>2],e[F0+12>>2]=e[V0+12>>2],e[V0>>2]=e[o>>2],e[V0+4>>2]=e[o+4>>2],e[V0+8>>2]=e[o+8>>2],e[V0+12>>2]=e[o+12>>2],X=F0+36|0,U=e[X>>2]|0,F=F0+40|0,o=e[F>>2]|0,e[X>>2]=o,e[F>>2]=U,ed(r,t,2)|0?(o=oa(F0,V0,o,t,n)|0,F=19):(w=1,F=7)),(F|0)==7){f=oa(F0,V0,o,t,n)|0,o=sa(i)|0,e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i+(c*72|0)+44>>2]=-1,c=i+(Z*72|0)+52|0,pe=e[c>>2]|0,e[i+(pe*72|0)+40>>2]=L,e[i+(pe*72|0)+44>>2]=-1,e[i+(L*72|0)+48>>2]=pe,e[i+(L*72|0)+52>>2]=-1,e[c>>2]=-1,c=-1):F=116;do if((F|0)==116)if(F=0,c=e[x>>2]|0,e[i+(c*72|0)+40>>2]=Z,f=i+(c*72|0)+44|0,B){e[f>>2]=L,pe=i+(Z*72|0)+52|0,_=e[pe>>2]|0,e[i+(_*72|0)+40>>2]=L,e[i+(_*72|0)+44>>2]=-1,e[pe>>2]=-1;break}else{e[f>>2]=-1,c=i+(Z*72|0)+52|0,pe=e[c>>2]|0,e[i+(pe*72|0)+40>>2]=Z,e[i+(pe*72|0)+44>>2]=L,e[i+(L*72|0)+48>>2]=pe,e[i+(L*72|0)+52>>2]=-1,c=e[c>>2]|0;break}while(0);break}B=i+(Z*72|0)+40|0,c=e[B>>2]|0;do if((c|0)>0&&(t0=i+(Z*72|0)+44|0,Y=e[t0>>2]|0,(Y|0)>0)){if(E=i+(Z*72|0)+60|0,c=e[E>>2]|0,(c|0)<=0){e[i+(L*72|0)+40>>2]=Y,e[i+(L*72|0)+44>>2]=-1,e[t0>>2]=-1,e[i+(Y*72|0)+48>>2]=L;break}(e[i+(Z*72|0)+64>>2]|0)==1?(e[i+(L*72|0)+40>>2]=Y,e[t0>>2]=-1,e[i+(L*72|0)+44>>2]=c,e[i+((e[B>>2]|0)*72|0)+48>>2]=Z,v=L,w=Y):(e[i+(L*72|0)+44>>2]=-1,pe=i+(L*72|0)+40|0,e[pe>>2]=e[t0>>2],w=e[B>>2]|0,e[t0>>2]=w,e[B>>2]=c,e[i+(c*72|0)+48>>2]=Z,v=Z,c=e[pe>>2]|0),e[i+(w*72|0)+48>>2]=v,e[i+(c*72|0)+48>>2]=L,e[i+(L*72|0)+60>>2]=0,e[E>>2]=0}else F=51;while(0);do if((F|0)==51){if(F=0,w=i+(c*72|0)+48|0,v=e[w>>2]|0,c=i+(c*72|0)+52|0,(v|0)>0&&(e[c>>2]|0)>0){if(c=e[i+(v*72|0)+4>>2]|0,(c|0)>0&&!(la(c,t,V0)|0)){e[i+(L*72|0)+44>>2]=-1,e[i+(Z*72|0)+44>>2]=-1,e[B>>2]=-1,e[i+((e[i+(L*72|0)+40>>2]|0)*72|0)+52>>2]=L;break}e[i+(Z*72|0)+44>>2]=-1,e[i+(L*72|0)+44>>2]=-1,e[i+(L*72|0)+40>>2]=-1,e[i+((e[B>>2]|0)*72|0)+48>>2]=Z;break}e[w>>2]=Z,e[c>>2]=L}while(0);if(+L0(+(+u[z>>3]-+u[X>>3]))<=1e-7&&D&+L0(+(+u[_>>3]-+u[P>>3]))<=1e-7){c=e[W>>2]|0,(c|0)>0&&la(c,t,F0)|0?(e[i+((e[x>>2]|0)*72|0)+40>>2]=Z,f=i+(L*72|0)+52|0,c=L):(e[i+((e[i+(L*72|0)+48>>2]|0)*72|0)+44>>2]=L,c=Z),e[f>>2]=-1,e[i+(c*72|0)+48>>2]=-1,c=e[x>>2]|0;break}c=e[x>>2]|0,f=i+(c*72|0)+40|0,w=e[f>>2]|0,v=i+(c*72|0)+44|0,(w|0)>0&&(H=e[v>>2]|0,a0=(w|0)==(Z|0),(H|0)>0)&&(e[i+(c*72|0)+60>>2]=a0?H:w,e[i+(c*72|0)+64>>2]=a0?1:2),e[f>>2]=Z,e[v>>2]=L}while(0);if(e[T>>2]=r,e[i+(Z*72|0)+4>>2]=r,(c|0)>0)Z=c;else break e}fn(138424,19,1,e[15712]|0)|0}else l=0,o=0;while(0);gG(r,U,p,1,i,n),gG(r,l,o,2,i,n),e[t+(r*56|0)+32>>2]=1,g=me}function i10(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e[t+(r*56|0)+32>>2]|0||(o=t+(r*56|0)|0,l=t+(r*56|0)+16|0,s=t+(r*56|0)+36|0,e[s>>2]=e[i+((oa(o,l,e[s>>2]|0,t,n)|0)*72|0)+56>>2],r=t+(r*56|0)+40|0,e[r>>2]=e[i+((oa(l,o,e[r>>2]|0,t,n)|0)*72|0)+56>>2])}function oa(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;v=r+8|0,E=t+8|0;e:for(;;){r:do switch(e[o+(i*40|0)>>2]|0){case 3:{B=3;break e}case 2:{l=+u[v>>3],s=o+(i*40|0)+8|0,A=+u[o+(i*40|0)+16>>3],c=A+1e-7;do if(!(l>c)){if(f=A+-1e-7,!(l>3]>+u[s>>3])break;if(+L0(+(l-A))<=1e-7&&(w=+u[s>>3],+L0(+(+u[r>>3]-w))<=1e-7)){l=+u[E>>3];do if(!(l>c)){if(!(l>3]>w)break;i=o+(i*40|0)+32|0;break r}while(0);i=o+(i*40|0)+36|0;break r}i=o+(i*40|0)+32|0;break r}while(0);i=o+(i*40|0)+36|0;break}case 1:{l=+u[v>>3],s=e[o+(i*40|0)+4>>2]|0,+L0(+(l-+u[n+(s*56|0)+8>>3]))<=1e-7&&(p=+u[r>>3],+L0(+(p-+u[n+(s*56|0)>>3]))<=1e-7)?A=p:B=19;do if((B|0)==19){if(B=0,+L0(+(l-+u[n+(s*56|0)+24>>3]))<=1e-7&&(m=+u[r>>3],+L0(+(m-+u[n+(s*56|0)+16>>3]))<=1e-7)){A=m;break}if(la(s,n,r)|0){i=o+(i*40|0)+32|0;break r}else{i=o+(i*40|0)+36|0;break r}}while(0);if(+L0(+(l-+u[E>>3]))<=1e-7)if(+u[t>>3]>2]|0}return(B|0)==3?e[o+(i*40|0)+24>>2]|0:((B|0)==31&&(fn(138358,35,1,e[15712]|0)|0,H0(138394,138396,349,138408)),0)}function la(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;l=t+(r*56|0)+16|0,s=+u[t+(r*56|0)+24>>3],A=t+(r*56|0)|0,o=+u[t+(r*56|0)+8>>3];do if(s>o+1e-7)c=4;else{if(!(s>3]>+u[A>>3]){c=4;break}if(n=+u[i+8>>3],+L0(+(s-n))<=1e-7){n=+u[i>>3]<+u[l>>3]?1:-1;break}if(+L0(+(o-n))<=1e-7){n=+u[i>>3]<+u[A>>3]?1:-1;break}else{f=+u[l>>3],n=(+u[A>>3]-f)*(n-s)-(+u[i>>3]-f)*(o-s);break}}while(0);do if((c|0)==4){if(n=+u[i+8>>3],+L0(+(s-n))<=1e-7){n=+u[i>>3]<+u[l>>3]?1:-1;break}if(+L0(+(o-n))<=1e-7){n=+u[i>>3]<+u[A>>3]?1:-1;break}else{f=+u[A>>3],n=(+u[l>>3]-f)*(n-o)-(+u[i>>3]-f)*(s-o);break}}while(0);return n>0|0}function ed(r,t,i){return r=r|0,t=t|0,i=i|0,e[t+((e[((i|0)==1?t+(r*56|0)+48|0:t+(r*56|0)+44|0)>>2]|0)*56|0)+32>>2]|0}function sa(r){r=r|0;var t=0,i=0,n=0;return n=g,g=g+16|0,i=n,t=e[47395]|0,(t|0)<(e[47394]|0)?(e[r+(t*72|0)>>2]=-1,e[r+(t*72|0)+4>>2]=-1,e[r+(t*72|0)+68>>2]=1,e[47395]=t+1,g=n,t|0):(n=e[15712]|0,e[i>>2]=t,A2(n,138483,i)|0,H0(138394,138396,88,138521),0)}function Z1(){var r=0;return r=e[47396]|0,(r|0)<(e[47393]|0)?(e[47396]=r+1,r|0):(fn(138444,30,1,e[15712]|0)|0,H0(138394,138396,72,138475),0)}function mG(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r+8>>3],n=+u[t+8>>3],i>n+1e-7?r=1:i>3]>=+u[t>>3]&1,r|0}function n10(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r+8>>3],n=+u[t+8>>3],in+1e-7?r=0:r=+u[r>>3]<+u[t>>3]&1,r|0}function gG(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;B=o+(i*72|0)+24|0,E=(n|0)==1;e:for(;m=o+(t*72|0)+24|0,c=o+(t*72|0)+48|0,f=o+(t*72|0)+52|0,w=o+(t*72|0)|0,p=o+(t*72|0)+4|0,v=o+(t*72|0)+56|0,!((t|0)<=0);)for(;;){if(!(mG(m,B)|0))break e;i=e[c>>2]|0,n=(i|0)>0;do if(E){if(n&&(e[o+(i*72|0)+4>>2]|0)==(r|0))break;if(i=e[f>>2]|0,(i|0)<=0){t=i;continue e}if((e[o+(i*72|0)+4>>2]|0)!=(r|0)){t=i;continue e}}else{if(n&&(e[o+(i*72|0)>>2]|0)==(r|0))break;if(i=e[f>>2]|0,(i|0)<=0){t=i;continue e}if((e[o+(i*72|0)>>2]|0)!=(r|0)){t=i;continue e}}while(0);if((e[w>>2]|0)!=(e[o+(i*72|0)>>2]|0)){t=i;continue e}if((e[p>>2]|0)!=(e[o+(i*72|0)+4>>2]|0)){t=i;continue e}x=e[o+(i*72|0)+56>>2]|0,n=e[l+(x*40|0)+28>>2]|0,s=l+(n*40|0)+32|0,A=e[v>>2]|0,(e[s>>2]|0)==(x|0)?e[s>>2]=A:e[l+(n*40|0)+36>>2]=A,n=e[o+(i*72|0)+48>>2]|0,e[c>>2]=n;do if((n|0)>0){if(s=o+(n*72|0)+40|0,(e[s>>2]|0)==(i|0)){e[s>>2]=t;break}n=o+(n*72|0)+44|0,(e[n>>2]|0)==(i|0)&&(e[n>>2]=t)}while(0);n=e[o+(i*72|0)+52>>2]|0,e[f>>2]=n;do if((n|0)>0){if(s=o+(n*72|0)+40|0,(e[s>>2]|0)==(i|0)){e[s>>2]=t;break}n=o+(n*72|0)+44|0,(e[n>>2]|0)==(i|0)&&(e[n>>2]=t)}while(0);x=o+(i*72|0)+24|0,e[m>>2]=e[x>>2],e[m+4>>2]=e[x+4>>2],e[m+8>>2]=e[x+8>>2],e[m+12>>2]=e[x+12>>2],e[o+(i*72|0)+68>>2]=2}}function o10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=+u[t+8>>3],o=+u[i+8>>3];do if(n>o+1e-7)e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];else{if(!(+L0(+(n-o))<=1e-7)){e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}if(+u[t>>3]>+u[i>>3]+1e-7){e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else{e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}}while(0)}function l10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=+u[t+8>>3],o=+u[i+8>>3];do if(n>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];else{if(!(+L0(+(n-o))<=1e-7)){e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}if(+u[t>>3]<+u[i>>3]){e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else{e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}}while(0)}function s10(r){r=r|0;var t=0;return t=j0(8)|0,t|0&&(e[t+4>>2]=r,e[t>>2]=0),t|0}function A10(r,t){return r=r|0,t=t|0,t&&(t=s10(t)|0,e[t>>2]=r,r=t),r|0}function u10(r){r=r|0;var t=0;do t=r,r=e[r>>2]|0,r0(t);while(r|0)}function a10(){var r=0;return r=j0(1992)|0,r|0&&(e[r>>2]=c10(r)|0),r|0}function c10(r){r=r|0;var t=0;return t=Hy(r)|0,e[t+4>>2]=0,r=r+1972|0,e[r>>2]=(e[r>>2]|0)+1,t|0}function yG(r){return r=r|0,CG(r,e[r>>2]|0),r0(e[r>>2]|0),r0(r),0}function CG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;l=r+1980|0,s=r+1912|0,A=r+1936|0;e:do if((e[t+4>>2]|0)>0)for(i=0;;){if((i|0)==64)break e;n=t+8+(i*20|0)+16|0,o=e[n>>2]|0,o|0&&(CG(r,o),r0(e[n>>2]|0),SG(t,i),e[l>>2]=(e[l>>2]|0)+-1,e[s>>2]|0)&&(e[A>>2]=(e[A>>2]|0)+1),i=i+1|0}else for(i=0;;){if((i|0)==64)break e;e[t+8+(i*20|0)+16>>2]|0&&(SG(t,i),e[l>>2]=(e[l>>2]|0)+-1,e[s>>2]|0)&&(e[A>>2]=(e[A>>2]|0)+1),i=i+1|0}while(0)}function EG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;t||H0(138879,138529,194,138537),n=e[t+4>>2]|0,(n|0)<=-1&&H0(138549,138529,195,138537),i||H0(138821,138529,196,138537),A=r+1952|0,e[A>>2]=(e[A>>2]|0)+1;e:do if((n|0)>0)for(A=0,n=0;;){if((A|0)==64)break e;if(o=t+8+(A*20|0)+16|0,e[o>>2]|0&&zG(i,t+8+(A*20|0)|0)|0)if(l=EG(r,e[o>>2]|0,i)|0,!n)n=l;else{for(o=n;s=e[o>>2]|0,s;)o=s;e[o>>2]=l}A=A+1|0}else for(l=0,n=0;;){if((l|0)==64)break e;o=t+8+(l*20|0)|0,e[t+8+(l*20|0)+16>>2]|0&&zG(i,o)|0&&(n=A10(n,o)|0),l=l+1|0}while(0);return n|0}function f10(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(m=g,g=g+64|0,f=m+52|0,w=m+32|0,p=m+16|0,v=m,e[f>>2]=0,(t|0)!=0&(n|0)!=0||H0(138735,138529,247,138563),(o|0)>-1&&(c=e[n>>2]|0,(e[c+4>>2]|0)>=(o|0))){for(l=0;!((l|0)>=2);)if((e[t+(l<<2)>>2]|0)>(e[t+(l+2<<2)>>2]|0)){s=8;break}else l=l+1|0;return(s|0)==8&&H0(138610,138529,250,138563),A=r+1912|0,l=r+1908|0,s=e[l>>2]|0,e[A>>2]|0&&(E=s|0?r+1924|0:r+1916|0,e[E>>2]=(e[E>>2]|0)+1),s||(E=r+1964|0,e[E>>2]=(e[E>>2]|0)+1),BG(r,t,i,c,f,o)|0?(e[A>>2]|0&&(E=e[l>>2]|0?r+1948|0:r+1944|0,e[E>>2]=(e[E>>2]|0)+1),l=Hy(r)|0,E=r+1976|0,e[E>>2]=(e[E>>2]|0)+1,E=e[n>>2]|0,e[l+4>>2]=(e[E+4>>2]|0)+1,rd(p,E),e[w>>2]=e[p>>2],e[w+4>>2]=e[p+4>>2],e[w+8>>2]=e[p+8>>2],e[w+12>>2]=e[p+12>>2],E=w+16|0,e[E>>2]=e[n>>2],rf(r,w,l,0)|0,rd(v,e[f>>2]|0),e[w>>2]=e[v>>2],e[w+4>>2]=e[v+4>>2],e[w+8>>2]=e[v+8>>2],e[w+12>>2]=e[v+12>>2],e[E>>2]=e[f>>2],rf(r,w,l,0)|0,e[n>>2]=l,l=r+1980|0,e[l>>2]=(e[l>>2]|0)+2,l=1):l=0,g=m,l|0}return H0(138575,138529,248,138563),0}function BG(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(E=g,g=g+80|0,w=E+52|0,p=E+48|0,v=E+32|0,m=E+16|0,f=E,e[p>>2]=0,(t|0)!=0&(n|0)!=0&(o|0)!=0||H0(138653,138529,311,138667),(l|0)>-1&&(A=n+4|0,s=e[A>>2]|0,(s|0)>=(l|0))){e[r+1912>>2]|0&&(s=e[r+1908>>2]|0?r+1948|0:r+1944|0,e[s>>2]=(e[s>>2]|0)+1,s=e[A>>2]|0);do if((s|0)>(l|0))if(A=h10(t,n)|0,s=n+8+(A*20|0)+16|0,A=n+8+(A*20|0)|0,BG(r,t,i,e[s>>2]|0,p,l)|0){rd(m,e[s>>2]|0),e[A>>2]=e[m>>2],e[A+4>>2]=e[m+4>>2],e[A+8>>2]=e[m+8>>2],e[A+12>>2]=e[m+12>>2],c=e[p>>2]|0,e[w+16>>2]=c,rd(f,c),e[w>>2]=e[f>>2],e[w+4>>2]=e[f+4>>2],e[w+8>>2]=e[f+8>>2],e[w+12>>2]=e[f+12>>2],c=r+1980|0,e[c>>2]=(e[c>>2]|0)+1,c=rf(r,w,n,o)|0;break}else{fA(v,t,A),e[A>>2]=e[v>>2],e[A+4>>2]=e[v+4>>2],e[A+8>>2]=e[v+8>>2],e[A+12>>2]=e[v+12>>2],c=0;break}else if((s|0)==(l|0)){e[w>>2]=e[t>>2],e[w+4>>2]=e[t+4>>2],e[w+8>>2]=e[t+8>>2],e[w+12>>2]=e[t+12>>2],e[w+16>>2]=i,c=r+1980|0,e[c>>2]=(e[c>>2]|0)+1,c=rf(r,w,n,o)|0;break}else H0(138712,138529,341,138667);while(0);return g=E,c|0}return H0(138680,138529,312,138667),0}function Hy(r){return r=r|0,r=r+1968|0,e[r>>2]=(e[r>>2]|0)+1,r=Te(1288)|0,IG(r),r|0}function IG(r){r=r|0;var t=0;for(e[r>>2]=0,e[r+4>>2]=-1,t=0;(t|0)!=64;)xG(r+8+(t*20|0)|0),t=t+1|0}function xG(r){r=r|0,_G(r),e[r+16>>2]=0}function rd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+32|0,l=A+16|0,s=A,t||H0(138879,138718,99,138725),_G(l),i=1,o=0;(o|0)!=64;){do if(e[t+8+(o*20|0)+16>>2]|0)if(n=t+8+(o*20|0)|0,i){e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],i=0;break}else{fA(s,l,n),e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2],i=0;break}while(0);o=o+1|0}e[r>>2]=e[l>>2],e[r+4>>2]=e[l+4>>2],e[r+8>>2]=e[l+8>>2],e[r+12>>2]=e[l+12>>2],g=A}function h10(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(f=g,g=g+32|0,A=f+16|0,c=f,(r|0)!=0&(t|0)!=0||H0(138735,138718,125,138742),i=0,n=0,o=0,l=1,s=0;(s|0)!=64;)e[t+8+(s*20|0)+16>>2]|0&&(p=t+8+(s*20|0)|0,m=xl(p)|0,fA(c,r,p),e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],p=(xl(A)|0)-m|0,w=(l|0)!=0|(p|0)<(o|0),v=w|(m|0)<(n|0)&(p|0)==(o|0),i=v?s:i,n=v?m:n,o=v?p:o,l=w?0:l),s=s+1|0;return g=f,i|0}function rf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;t||H0(138901,138718,167,138753),i||H0(138879,138718,168,138753);do if((e[i>>2]|0)<64){for(r=0;;){if((r|0)>=64){n=10;break}if(!(e[i+8+(r*20|0)+16>>2]|0)){n=8;break}r=r+1|0}if((n|0)==8){o=i+8+(r*20|0)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[o+16>>2]=e[t+16>>2],o=0,l=i;break}else(n|0)==10&&H0(138763,138718,178,138753)}else if(e[r+1912>>2]|0&&(s=e[r+1908>>2]|0?r+1948|0:r+1944|0,e[s>>2]=(e[s>>2]|0)+1),!n)H0(138776,138718,187,138753);else{d10(r,i,t,n),o=1,l=e[i+4>>2]|0?r+1976|0:r+1972|0;break}while(0);return e[l>>2]=(e[l>>2]|0)+1,o|0}function SG(r,t){if(r=r|0,t=t|0,(r|0)!=0&t>>>0<64||H0(138780,138718,201,138808),!(e[r+8+(t*20|0)+16>>2]|0))H0(139302,138718,202,138808);else{xG(r+8+(t*20|0)|0),e[r>>2]=(e[r>>2]|0)+-1;return}}function _G(r){r=r|0;var t=0;for(t=0;(t|0)!=4;)e[r+(t<<2)>>2]=0,t=t+1|0}function w10(r){r=r|0;var t=0,i=0,n=0;for(n=g,g=g+16|0,i=n,e[i>>2]=1,e[i+8>>2]=-1,t=1;(t|0)!=2;)e[i+(t+2<<2)>>2]=0,e[i+(t<<2)>>2]=0,t=t+1|0;e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2],g=n}function xl(r){r=r|0;var t=0,i=0,n=0;r||H0(138821,138823,128,138835);e:do if((e[r>>2]|0)>(e[r+8>>2]|0))t=0;else for(t=1,i=0;;){if((i|0)==2)break e;n=N0(e[r+(i+2<<2)>>2]|0,t)|0,t=n-(e[r+(i<<2)>>2]|0)|0,i=i+1|0}while(0);return t|0}function fA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;l=g,g=g+16|0,o=l,(t|0)!=0&(i|0)!=0||H0(138844,138823,195,138852);do if((e[t>>2]|0)>(e[t+8>>2]|0))e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];else{if((e[i>>2]|0)>(e[i+8>>2]|0)){e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else n=0;for(;(n|0)!=2;)c=e[t+(n<<2)>>2]|0,s=e[i+(n<<2)>>2]|0,e[o+(n<<2)>>2]=(c|0)<(s|0)?c:s,s=n+2|0,c=e[t+(s<<2)>>2]|0,A=e[i+(s<<2)>>2]|0,e[o+(s<<2)>>2]=(c|0)>(A|0)?c:A,n=n+1|0;e[r>>2]=e[o>>2],e[r+4>>2]=e[o+4>>2],e[r+8>>2]=e[o+8>>2],e[r+12>>2]=e[o+12>>2]}while(0);g=l}function zG(r,t){r=r|0,t=t|0;var i=0,n=0;for((r|0)!=0&(t|0)!=0?i=0:H0(138864,138823,216,138871);;){if((i|0)>=2){i=1;break}if(n=i+2|0,(e[r+(i<<2)>>2]|0)>(e[t+(n<<2)>>2]|0)){i=0;break}if((e[t+(i<<2)>>2]|0)>(e[r+(n<<2)>>2]|0)){i=0;break}else i=i+1|0}return i|0}function d10(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;t||H0(138879,138881,40,138891),i||H0(138901,138881,41,138891),A=r+1912|0,e[A>>2]|0&&(s=e[r+1908>>2]|0?r+1932|0:r+1928|0,e[s>>2]=(e[s>>2]|0)+1),l=t+4|0,s=e[l>>2]|0,p10(r,t,i),i=r+1324|0,k10(r),o=xl(r+1852|0)|0,o=(xl(r+1868|0)|0)+o|0,e[A>>2]|0&&(o|0)!=0&(e[r+1908>>2]|0)==0&&(A=r+1960|0,x0[A>>2]=+((e[r+1320>>2]|0)>>>0)/+(o|0)+ +x0[A>>2]),A=Hy(r)|0,e[n>>2]=A,e[l>>2]=s,e[A+4>>2]=s,v10(r,t,A,i),((e[e[n>>2]>>2]|0)+(e[t>>2]|0)|0)!=65&&H0(138903,138881,86,138891)}function p10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;for(s=g,g=g+16|0,l=s,t||H0(138879,138881,106,139290),i?n=0:H0(138901,138881,107,139290);!((n|0)>=64);){if(!(e[t+8+(n*20|0)+16>>2]|0)){o=7;break}c=t+8+(n*20|0)|0,A=r+4+(n*20|0)|0,e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],e[A+16>>2]=e[c+16>>2],n=n+1|0}for((o|0)==7&&H0(139302,138881,111,139290),n=r+4|0,c=r+1284|0,e[c>>2]=e[i>>2],e[c+4>>2]=e[i+4>>2],e[c+8>>2]=e[i+8>>2],e[c+12>>2]=e[i+12>>2],e[c+16>>2]=e[i+16>>2],i=r+1304|0,e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[i+8>>2]=e[n+8>>2],e[i+12>>2]=e[n+12>>2],n=1;(n|0)!=65;)fA(l,i,r+4+(n*20|0)|0),e[i>>2]=e[l>>2],e[i+4>>2]=e[l+4>>2],e[i+8>>2]=e[l+8>>2],e[i+12>>2]=e[l+12>>2],n=n+1|0;e[r+1320>>2]=xl(i)|0,IG(t),g=s}function k10(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(_=g,g=g+48|0,A=_+32|0,f=_+16|0,w=_,m10(r),g10(r),E=r+1844|0,x=r+1848|0,z=r+1892|0,p=r+1852|0,v=r+1884|0,m=r+1868|0,c=r+1888|0,o=0,n=0;i=e[E>>2]|0,t=e[x>>2]|0,!((t+i|0)>=65);){if(s=65-(e[z>>2]|0)|0,(i|0)<(s|0)&(t|0)<(s|0))l=-1,s=0;else{B=12;break}for(;(s|0)!=65;)e[r+1584+(s<<2)>>2]|0?(t=l,i=o):(L=r+4+(s*20|0)|0,fA(f,L,p),e[A>>2]=e[f>>2],e[A+4>>2]=e[f+4>>2],e[A+8>>2]=e[f+8>>2],e[A+12>>2]=e[f+12>>2],t=xl(A)|0,i=e[v>>2]|0,fA(w,L,m),e[A>>2]=e[w>>2],e[A+4>>2]=e[w+4>>2],e[A+8>>2]=e[w+8>>2],e[A+12>>2]=e[w+12>>2],L=xl(A)|0,t=L-(e[c>>2]|0)+(i-t)|0,i=(t|0)>-1,t=i?t:0-t|0,i=(i^1)&1,(t|0)<=(l|0)?(t|0)==(l|0)?(L=(e[r+1844+(i<<2)>>2]|0)<(e[r+1844+(o<<2)>>2]|0),t=l,i=L?i:o,n=L?s:n):(t=l,i=o):n=s),l=t,s=s+1|0,o=i;td(r,n,o)}if((B|0)==12){for(t=(i|0)>=(65-(e[z>>2]|0)|0)&1,i=0;(i|0)!=65;)e[r+1584+(i<<2)>>2]|0||td(r,i,t),i=i+1|0;i=e[E>>2]|0,t=e[x>>2]|0}if((t+i|0)!=65&&H0(139046,138881,210,139132),L=e[z>>2]|0,(i|0)<(L|0)|(t|0)<(L|0))H0(139143,138881,212,139132);else{g=_;return}}function v10(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(t||H0(138879,138881,297,138943),i||H0(138953,138881,298,138943),n?o=0:H0(138955,138881,299,138943);;){if((o|0)>=65){n=14;break}if(n=e[r+1324+(o<<2)>>2]|0,n>>>0>=2){n=9;break}switch(n|0){case 0:{rf(r,r+4+(o*20|0)|0,t,0)|0;break}case 1:{rf(r,r+4+(o*20|0)|0,i,0)|0;break}default:}o=o+1|0}if((n|0)==9)H0(138957,138881,303,138943);else if((n|0)==14)return}function m10(r){r=r|0;var t=0,i=0,n=0,o=0;for(i=g,g=g+16|0,n=i,e[r+1848>>2]=0,e[r+1844>>2]=0,t=r+1852|0,o=r+1868|0,w10(n),e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],e[t>>2]=e[n>>2],e[t+4>>2]=e[n+4>>2],e[t+8>>2]=e[n+8>>2],e[t+12>>2]=e[n+12>>2],e[r+1888>>2]=0,e[r+1884>>2]=0,t=0;(t|0)!=65;)e[r+1584+(t<<2)>>2]=0,e[r+1324+(t<<2)>>2]=-1,t=t+1|0;g=i}function g10(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(v=g,g=g+304|0,f=v+32|0,w=v+16|0,p=v,t=0;(t|0)!=65;)e[f+(t<<2)>>2]=xl(r+4+(t*20|0)|0)|0,t=t+1|0;t=0,i=0,n=0,l=0;e:for(;(l|0)!=64;)for(A=l+1|0,c=r+4+(l*20|0)|0,s=f+(l<<2)|0,o=A;;){if((o|0)==65){l=A;continue e}fA(p,c,r+4+(o*20|0)|0),e[w>>2]=e[p>>2],e[w+4>>2]=e[p+4>>2],e[w+8>>2]=e[p+8>>2],e[w+12>>2]=e[p+12>>2],m=xl(w)|0,m=m-(e[s>>2]|0)-(e[f+(o<<2)>>2]|0)|0,E=m>>>0>n>>>0,B=E?o:t,o=o+1|0,t=B,i=E?l:i,n=E?m:n}td(r,i,0),td(r,t,1),g=v}function td(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,n=r+1584+(t<<2)|0,e[n>>2]|0&&H0(139246,138881,257,139281),e[r+1324+(t<<2)>>2]=i,e[n>>2]=1,l=r+1844+(i<<2)|0,o=r+1852+(i<<4)|0,n=r+4+(t*20|0)|0,e[l>>2]|0?(fA(s,n,o),e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2]):(e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2]),e[r+1884+(i<<2)>>2]=xl(o)|0,e[l>>2]=(e[l>>2]|0)+1,g=A}function y10(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+1200|0,v=E+800|0,i=E,e[47397]=0,e[47398]=-2,t=v,o=200,c=i,w=0,p=0,f=v;e:for(;;){if($[f>>1]=w,(t+(o<<1)+-2|0)>>>0>f>>>0)s=o;else{if(A=f-t>>1,r=A+1|0,o>>>0>9999){m=95;break}switch(s=o<<1,s=s>>>0<1e4?s:1e4,n=Te(s*6|3)|0,n?(u2(n|0,t|0,r<<1|0)|0,o=n+(s>>>1<<2)|0,u2(o|0,c|0,r<<2|0)|0,(t|0)==(v|0)?(r=0,t=n):(r0(t),r=0,t=n)):(r=4,o=c),l=(r|0)==0,n=t+(A<<1)|0,(l?(t+(s<<1)+-2|0)>>>0>n>>>0?0:9:r)&15){case 9:{r=1,m=96;break e}case 4:{m=95;break e}case 0:{i=l?o+(A<<2)|0:i,c=o,f=l?n:f;break}default:{r=0;break e}}}if((w|0)==31){r=0,m=96;break}r=$[65534+(w<<1)>>1]|0,l=r<<16>>16;do if(r<<16>>16!=-82)if(n=e[47398]|0,(n|0)==-2&&(n=go0()|0,e[47398]=n),(n|0)>=1?n>>>0<296?o=s0[139321+n>>0]|0:o=2:(e[47398]=0,o=0),n=o+l|0,n>>>0<=271&&(o|0)==(C[139617+n>>0]|0))if(w=C[139889+n>>0]|0,r=w<<24>>24,w<<24>>24<1){n=0-r|0,m=23;break}else{e[47398]=-2,i=i+4|0,e[i>>2]=e[47399],l=p|0?p+-1|0:0,n=f;break}else m=22;else m=22;while(0);if((m|0)==22)if(m=0,w=C[140161+w>>0]|0,n=w&255,w<<24>>24)m=23;else{n=e[47398]|0;r:do switch(p|0){case 0:{e[47397]=(e[47397]|0)+1,nd(143761),n=f;break}case 3:if((n|0)<1)if(n){n=f;break r}else{r=1,m=96;break e}else{e[47398]=-2,n=f;break r}default:n=f}while(0);for(;r<<16>>16!=8;){if((n|0)==(t|0)){r=1,m=96;break e}r=n+-2|0,i=i+-4|0,n=r,r=$[65534+($[r>>1]<<1)>>1]|0}i=i+4|0,e[i>>2]=e[47399],r=1,l=3}do if((m|0)==23){m=0,l=s0[140277+n>>0]|0,r=e[i+(1-l<<2)>>2]|0;do switch(n|0){case 4:{m=26;break e}case 2:{e[47400]=LG(e[i+-4>>2]|0,2)|0;break}case 3:{e[47400]=LG(e[i+-4>>2]|0,1)|0;break}case 5:{r=RG()|0;break}case 8:{C10(e[47401]|0);break}case 9:{GG(e[i>>2]|0);break}case 18:{hA(e[i>>2]|0);break}case 19:{wA();break}case 20:{hA(e[i>>2]|0);break}case 21:{wA();break}case 22:{hA(e[i>>2]|0);break}case 23:{wA();break}case 24:{hA(e[i>>2]|0);break}case 25:{wA();break}case 26:{hA(e[i>>2]|0);break}case 27:{wA();break}case 28:{hA(e[i>>2]|0);break}case 29:{wA();break}case 30:{hA(e[i>>2]|0);break}case 31:{wA();break}case 32:{hA(e[i>>2]|0);break}case 33:{wA();break}case 34:{r=e[i+-4>>2]|0;break}case 35:{r=e[i>>2]|0;break}case 38:{if(r=e[47401]|0,o=e[r+4>>2]|0,o>>>0>=(e[r+8>>2]|0)>>>0&&(Xe(r,1)|0,o=e[47401]|0,r=o,o=e[o+4>>2]|0),C[o>>0]=0,w=e[r>>2]|0,e[r+4>>2]=w,ZG(w)|0){m=51;break e}e[(e[i>>2]|0)+80>>2]=e[47402],r=ct(56032,e[4580]|0)|0,e[(e[i>>2]|0)+84>>2]=r,e[47402]=e[i>>2],e[(e[i>>2]|0)+108>>2]=e[e[47403]>>2],r=e[i>>2]|0;break}case 39:{if(r=e[47401]|0,o=e[r+4>>2]|0,o>>>0>=(e[r+8>>2]|0)>>>0&&(Xe(r,1)|0,o=e[47401]|0,r=o,o=e[o+4>>2]|0),C[o>>0]=0,w=e[r>>2]|0,e[r+4>>2]=w,ZG(w)|0){m=56;break e}r=e[47402]|0,e[47402]=e[r+80>>2];break}case 40:{r=e[i>>2]|0;break}case 41:{r=e[i+-4>>2]|0;break}case 42:{r=e[i+-4>>2]|0;break}case 43:{r=e[i+-4>>2]|0;break}case 44:{r=e[i+-4>>2]|0;break}case 45:{r=e[i+-4>>2]|0;break}case 48:{r=e[i>>2]|0;break}case 49:{r=e[i>>2]|0;break}case 50:{C[(e[i+-8>>2]|0)+12>>0]=1,r=e[i>>2]|0;break}case 51:{E10();break}case 52:{r=B10()|0;break}case 53:{r=e[i>>2]|0;break}case 54:{r=e[i>>2]|0;break}case 55:{r=(e[i+-8>>2]|0)+100|0,C[r>>0]=C[r>>0]|1,r=e[i>>2]|0;break}case 56:{id(e[i+-4>>2]|0,e[i>>2]|0,1);break}case 57:{r=e[i+-12>>2]|0;break}case 58:{id(e[i+-4>>2]|0,e[i>>2]|0,2);break}case 59:{r=e[i+-12>>2]|0;break}case 60:{id(e[i+-4>>2]|0,e[i>>2]|0,3);break}case 61:{r=e[i+-12>>2]|0;break}case 62:{id(e[i>>2]|0,RG()|0,2);break}case 63:{r=e[i+-8>>2]|0;break}case 64:{r=e[i+-4>>2]|0;break}case 65:{r=e[i>>2]|0;break}default:}while(0);if(o=0-l|0,w=i+(o<<2)|0,o=f+(o<<1)|0,i=w+4|0,e[w+4>>2]=r,r=(s0[140449+n>>0]|0)+-41|0,w=$[o>>1]|0,n=w+($[65766+(r<<1)>>1]|0)|0,n>>>0<272&&(C[139617+n>>0]|0)==(w|0)){r=C[139889+n>>0]|0,l=p,n=o;break}r=C[140519+r>>0]|0,l=p,n=o}while(0);o=s,w=r,p=l,f=n+2|0}return(m|0)==26?(Jy(),r=1,m=96):(m|0)==51?(nd(140347),Jy(),r=1,m=96):(m|0)==56?(nd(140398),Jy(),r=1,m=96):(m|0)==95&&(nd(140558),r=2,m=96),(m|0)==96&&(t|0)!=(v|0)&&r0(t),g=E,r|0}function LG(r,t){r=r|0,t=t|0;var i=0;return i=j0(8)|0,C[i+4>>0]=t,e[i>>2]=r,i|0}function Jy(){var r=0,t=0;for(r=e[47402]|0,t=e[47400]|0,t|0&&(Yy(t,1),e[47400]=0),e[14021]=67;r;)t=e[r+80>>2]|0,WG(r),r=t;e[14021]=56,e[14030]=68,t=e[47405]|0,oe[e[t>>2]&63](t,0,64)|0,e[14030]=56,e[14039]=69,t=e[47406]|0,oe[e[t>>2]&63](t,0,64)|0,e[14039]=56,L10()}function RG(){var r=0,t=0,i=0,n=0,o=0,l=0;i=e[47406]|0,n=j0(40)|0,sn(e[47405]|0)|0&&GG(0),r=sn(i)|0,$[n+4>>1]=r;e:do if(!r)r=i;else for(e[n>>2]=j0(r*24|0)|0,r=0,t=oe[e[i>>2]&63](i,0,128)|0;;){if(!t){r=i;break e}o=(e[n>>2]|0)+(r*24|0)|0,l=t+8|0,e[o>>2]=e[l>>2],e[o+4>>2]=e[l+4>>2],e[o+8>>2]=e[l+8>>2],e[o+12>>2]=e[l+12>>2],e[o+16>>2]=e[l+16>>2],e[o+20>>2]=e[l+20>>2],r=r+1|0,t=oe[e[i>>2]&63](i,t,8)|0}while(0);return oe[e[r>>2]&63](i,0,64)|0,n|0}function C10(r){r=r|0;var t=0,i=0,n=0;i=j0(64)|0,n=r+4|0,t=e[n>>2]|0,t>>>0>=(e[r+8>>2]|0)>>>0&&(Xe(r,1)|0,t=e[n>>2]|0),C[t>>0]=0,r=e[r>>2]|0,e[n>>2]=r,e[i+8>>2]=C2(r)|0,e[i+12>>2]=e[e[47403]>>2],n=e[47405]|0,oe[e[n>>2]&63](n,i,1)|0}function GG(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;l=j0(32)|0,s=e[47405]|0,t=sn(s)|0,A=l+8|0,C[l+14>>0]=r;e:do if(!t)e[A>>2]=j0(56)|0,$[l+12>>1]=1,o=C2(195059)|0,A=e[A>>2]|0,e[A>>2]=o,e[A+4>>2]=e[e[47403]>>2];else for($[l+12>>1]=t,e[A>>2]=j0(t*56|0)|0,r=0,t=Mt(s)|0;;){if(!t)break e;i=(e[A>>2]|0)+(r*56|0)|0,n=t+8|0,o=i+56|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));r=r+1|0,t=e[t>>2]|0}while(0);oe[e[s>>2]&63](s,0,64)|0,A=e[47406]|0,oe[e[A>>2]&63](A,l,1)|0}function hA(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+32|0,l=A,s=j0(8)|0,o=e[e[47403]>>2]|0,e[l>>2]=e[r>>2],e[l+4>>2]=e[r+4>>2],e[l+8>>2]=e[r+8>>2],e[l+12>>2]=e[r+12>>2],e[l+16>>2]=e[r+16>>2],e[l+20>>2]=e[r+20>>2],e[l+24>>2]=e[r+24>>2],e[l+28>>2]=e[r+28>>2],o|0&&(r=l+4|0,!(e[r>>2]|0)&&(t=e[o+4>>2]|0,t|0)&&(e[r>>2]=t),r=l+16|0,+u[r>>3]<0&&(i=+u[o+16>>3],i>=0)&&(u[r>>3]=i),!(e[l>>2]|0)&&(n=e[o>>2]|0,n|0)&&(e[l>>2]=n),r=e[o+24>>2]&127,r|0&&(o=l+24|0,n=e[o>>2]|0,e[o>>2]=n&127|r|n&-128)),o=e[(e[47404]|0)+144>>2]|0,e[s>>2]=oe[e[o>>2]&63](o,l,1)|0,e[s+4>>2]=e[47403],e[47403]=s,g=A}function wA(){var r=0,t=0;t=e[47403]|0,r=e[t+4>>2]|0,r0(t),e[47403]=r}function ZG(r){r=r|0;for(var t=0;;){if(t=C[r>>0]|0,!(t<<24>>24)){r=0;break}if(t<<24>>24==32)r=r+1|0;else{r=1;break}}return r|0}function E10(){var r=0,t=0,i=0;i=ct(56068,e[4580]|0)|0,r=e[47402]|0,t=j0(16)|0,e[t+8>>2]=i,C[r+112>>0]&2&&(C[t+12>>0]=1),i=e[r+84>>2]|0,oe[e[i>>2]&63](i,t,1)|0}function B10(){var r=0;return r=e[(e[47402]|0)+84>>2]|0,oe[e[r>>2]&63](r,0,256)|0}function id(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;o=j0(16)|0,n=e[47402]|0,l=e[n+84>>2]|0,l=e[(oe[e[l>>2]&63](l,0,256)|0)+8>>2]|0,e[o+8>>2]=r,oe[e[l>>2]&63](l,o,1)|0,C[r+92>>0]=i,C[n+112>>0]&1&&(C[r+100>>0]=1),e[r+88>>2]=t}function I10(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function x10(r,t,i){r=r|0,t=t|0,i=i|0,Fr(e[t+8>>2]|0)|0,r0(t)}function S10(r,t,i){r=r|0,t=t|0,i=i|0,R10(e[t+8>>2]|0),r0(t)}function WG(r){r=r|0,Fr(e[r+84>>2]|0)|0,Kw(r),r0(r)}function _10(r,t,i){r=r|0,t=t|0,i=i|0,r0(e[t+8>>2]|0),r0(t)}function z10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(o=t+12|0,r=$[o>>1]|0,r<<16>>16){for(l=t+8|0,i=0,n=e[l>>2]|0;!((i|0)>=(r<<16>>16|0));)r0(e[n>>2]|0),i=i+1|0,n=n+56|0,r=$[o>>1]|0;r0(e[l>>2]|0)}r0(t)}function L10(){var r=0,t=0;for(r=e[47403]|0;t=e[r+4>>2]|0,!!t;)r0(r),r=t}function R10(r){r=r|0;var t=0;switch(t=r+88|0,C[r+92>>0]|0){case 1:{WG(e[t>>2]|0);break}case 2:{KR(e[t>>2]|0);break}default:}Kw(r),r0(r)}function G10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return o=g,g=g+160|0,n=o+8|0,l=o,e[l>>2]=0,e[l+4>>2]=0,e[47403]=l,e[47402]=0,e[47400]=0,e[47404]=e[(e[(e[i+52>>2]|0)+16>>2]|0)+144>>2],e[47405]=ct(56104,e[4580]|0)|0,e[47406]=ct(56140,e[4580]|0)|0,Vt(n,128,o+24|0),e[47401]=n,Z10(r,n,i)|0||(y10()|0,e[t>>2]=mo0()|0,r=e[47400]|0),Fr(e[47405]|0)|0,Fr(e[47406]|0)|0,e[47405]=0,e[47406]=0,e[47403]=0,Ot(n),g=o,r|0}function nd(r){r=r|0;var t=0,i=0,n=0;i=g,g=g+16|0,t=i,C[189661]|0||(C[189661]=1,n=Uy()|0,e[t>>2]=r,e[t+4>>2]=n,$0(1,140575,t)|0,DG()),g=i}function Uy(){return Ll0(e[47407]|0)|0}function DG(){var r=0,t=0,i=0,n=0;n=g,g=g+16|0,i=n,r=e[47410]|0,e[r+4>>2]=e[r>>2],t=e[47419]|0,(t|0)>0&&(B9(r,e[47417]|0,t)|0,r=e[47410]|0),B9(r,e[47416]|0,e[47418]|0)|0,t=e[47410]|0,r=e[t+4>>2]|0,r>>>0>=(e[t+8>>2]|0)>>>0&&(Xe(t,1)|0,r=e[47410]|0,t=r,r=e[r+4>>2]|0),e[t+4>>2]=r+1,C[r>>0]=0,r=e[47410]|0,t=e[r>>2]|0,e[r+4>>2]=t,e[i>>2]=t,$0(3,140591,i)|0,g=n}function Z10(r,t,i){return r=r|0,t=t|0,i=i|0,e[47410]=t,Vt(189644,128,0),e[47408]=r,C[189663]=0,C[189660]=0,C[189661]=0,e[47418]=0,e[47419]=0,C[189662]=1,i=i+52|0,t=tl0(ep0(s0[(e[(e[i>>2]|0)+16>>2]|0)+115>>0]|0)|0)|0,e[47407]=t,gl0(t,e[(e[(e[i>>2]|0)+16>>2]|0)+144>>2]|0),yl0(e[47407]|0,70,27),Cl0(e[47407]|0,71),0}function W10(r,t,i){r=r|0,t=t|0,i=i|0;do if(!(De(t,140603)|0))e[47399]=j10(i)|0,C[189662]=0,e[47409]=286;else{if(De(t,140609)|0&&De(t,140612)|0){if(!(De(t,140615)|0)){C[189662]=1,e[47399]=N10(i)|0,e[47409]=287;break}if(!(De(t,140623)|0)){e[47399]=dA(r,i,0)|0,e[47409]=288;break}if(!(De(t,140628)|0)){e[47399]=dA(r,0,1)|0,e[47409]=290;break}if(!(De(t,140644)|0)){e[47399]=dA(r,0,32)|0,e[47409]=295;break}if(!(De(t,140630)|0)){e[47399]=dA(r,0,4)|0,e[47409]=291;break}if(!(De(t,140632)|0)){e[47399]=dA(r,0,64)|0,e[47409]=292;break}if(!(De(t,140634)|0)){e[47399]=dA(r,0,2)|0,e[47409]=289;break}if(!(De(t,140636)|0)){e[47399]=dA(r,0,8)|0,e[47409]=293;break}if(!(De(t,140640)|0)){e[47399]=dA(r,0,16)|0,e[47409]=294;break}if(!(De(t,140646)|0)){Q10(i),e[47409]=283;break}if(!(De(t,140649)|0)){e[47409]=277;break}if(!(De(t,140652)|0)){e[47409]=280;break}if(!(De(t,140655)|0)){e[47399]=T10(i)|0,e[47409]=285;break}if(De(t,140618)|0){MG(t);break}else{e[47409]=262;break}}C[189662]=0,e[47409]=260}while(0)}function D10(r,t){r=r|0,t=t|0;do if(!(De(t,140603)|0))e[47409]=264,C[189662]=1;else{if(De(t,140609)|0&&De(t,140612)|0){if(!(De(t,140615)|0)){e[47409]=265,C[189662]=0;break}if(!(De(t,140618)|0)){e[47409]=263;break}if(!(De(t,140623)|0)){e[47409]=266;break}if(!(De(t,140628)|0)){e[47409]=270;break}if(!(De(t,140630)|0)){e[47409]=271;break}if(!(De(t,140632)|0)){e[47409]=272;break}if(!(De(t,140634)|0)){e[47409]=269;break}if(!(De(t,140636)|0)){e[47409]=273;break}if(!(De(t,140640)|0)){e[47409]=274;break}if(!(De(t,140644)|0)){e[47409]=275;break}if(!(De(t,140646)|0)){e[47409]=(e[47409]|0)==283?282:258;break}if(!(De(t,140649)|0)){e[47409]=(e[47409]|0)==277?276:278;break}if(!(De(t,140652)|0)){e[47409]=(e[47409]|0)==280?279:281;break}if(De(t,140655)|0){MG(t);break}else{e[47409]=(e[47409]|0)==285?284:259;break}}e[47409]=261}while(0)}function M10(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(C[189662]|0){for(r=0;i;)l=t+1|0,o=C[t>>0]|0,(o&255)>31&&(t=e[47410]|0,n=e[t+4>>2]|0,n>>>0>=(e[t+8>>2]|0)>>>0&&(Xe(t,1)|0,n=e[47410]|0,t=n,n=e[n+4>>2]|0),e[t+4>>2]=n+1,C[n>>0]=o,r=r+1|0),t=l,i=i+-1|0;r|0&&(e[47409]=267)}}function MG(r){r=r|0;var t=0,i=0,n=0;t=g,g=g+16|0,i=t,e[47409]=268,C[189661]=1,n=Uy()|0,e[i>>2]=r,e[i+4>>2]=n,$0(1,140659,i)|0,g=t}function j10(r){r=r|0;var t=0;return t=j0(120)|0,e[t+100>>2]=-1,C[t+88>>0]=-1,O3(t,56400,22,r,141611),t|0}function N10(r){r=r|0;var t=0;return t=j0(104)|0,$[t+80>>1]=1,$[t+82>>1]=1,O3(t,56224,22,r,140965),t|0}function dA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=g,g=g+32|0,n=o,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,e[n+20>>2]=0,e[n+24>>2]=0,e[n+28>>2]=0,u[n+16>>3]=-1,e[n+24>>2]=i&127,t|0&&O3(n,56200,3,t,140816),i=e[r+144>>2]|0,n=oe[e[i>>2]&63](i,n,1)|0,g=o,n|0}function Q10(r){r=r|0,e[47399]=0,O3(189596,56192,1,r,140752)}function T10(r){r=r|0;var t=0;return t=j0(40)|0,O3(t,56176,2,r,140698),t|0}function O3(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+16|0,f=w,c=w+8|0;A=e[n>>2]|0,!!A;)l=e[n+4>>2]|0,e[c>>2]=A,s=Jf(c,t,i,8,104)|0,s?(l=ke[e[s+4>>2]&127](r,l)|0,l=(l|(s0[189660]|0))&255):(e[f>>2]=A,e[f+4>>2]=o,$0(0,140704,f)|0,l=1),C[189660]=l,n=n+8|0;g=w}function F10(r,t){return r=r|0,t=t|0,De(e[r>>2]|0,e[t>>2]|0)|0}function P10(r,t){return r=r|0,t=t|0,e[r+36>>2]=C2(t)|0,0}function Y10(r,t){return r=r|0,t=t|0,e[r+32>>2]=C2(t)|0,0}function V10(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;switch(s=g,g=g+16|0,o=s,n=(ja(C[t>>0]|0)|0)<<24>>24,n|0){case 82:{i=t+1|0,De(i,140763)|0?l=5:(e[r>>2]=114,i=0);break}case 76:{l=6;break}default:i=t+1|0,l=5}do if((l|0)==5)if(!(De(i,140768)|0))l=6;else{if((n|0)!=67&&!(De(i,140772)|0)){e[o>>2]=t,$0(0,140778,o)|0,i=1;break}e[r>>2]=110,i=0}while(0);return(l|0)==6&&(e[r>>2]=108,i=0),g=s,i|0}function O10(r,t){return r=r|0,t=t|0,e[r+4>>2]=t,0}function H10(r,t){return r=r|0,t=t|0,e[r>>2]=t,0}function J10(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,140845,0,255,i)|0?r=1:(u[r+16>>3]=+(e[i>>2]|0),r=0),g=n,r|0}function Sl(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0;f=g,g=g+48|0,c=f+24|0,A=f+8|0,s=f,w=f+36|0,l=Mk(r,w,10)|0;do if((e[w>>2]|0)!=(r|0)){if((l|0)>(n|0)){e[A>>2]=t,e[A+4>>2]=r,e[A+8>>2]=n,$0(0,140887,A)|0,r=1;break}if((l|0)<(i|0)){e[c>>2]=t,e[c+4>>2]=r,e[c+8>>2]=i,$0(0,140926,c)|0,r=1;break}else{e[o>>2]=l,r=0;break}}else e[s>>2]=t,e[s+4>>2]=r,$0(0,140856,s)|0,r=1;while(0);return g=f,r|0}function U10(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(ja(C[t>>0]|0)|0)<<24>>24|0){case 76:{De(t+1|0,140768)|0?n=9:(r=r+36|0,$[r>>1]=$[r>>1]|4,r=0);break}case 82:{De(t+1|0,140763)|0?n=9:(r=r+36|0,$[r>>1]=$[r>>1]|2,r=0);break}case 84:{De(t+1|0,141563)|0?n=9:(r=r+36|0,$[r>>1]=$[r>>1]|6,r=0);break}case 67:{De(t+1|0,140772)|0?n=9:r=0;break}default:n=9}return(n|0)==9&&(e[i>>2]=t,$0(0,141567,i)|0,r=1),g=o,r|0}function X10(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(ja(C[t>>0]|0)|0)<<24>>24|0){case 76:{De(t+1|0,140768)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|512,r=0);break}case 82:{De(t+1|0,140763)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|256,r=0);break}case 67:{De(t+1|0,140772)|0?n=7:r=0;break}default:n=7}return(n|0)==7&&(e[i>>2]=t,$0(0,141518,i)|0,r=1),g=o,r|0}function q10(r,t){return r=r|0,t=t|0,e[r+20>>2]=C2(t)|0,0}function $10(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141511,0,255,i)|0?r=1:(C[r+33>>0]=e[i>>2],r=r+36|0,$[r>>1]=$[r>>1]|32,r=0),g=n,r|0}function K10(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141499,0,255,i)|0?r=1:(C[r+34>>0]=e[i>>2],r=r+36|0,$[r>>1]=$[r>>1]|64,r=0),g=n,r|0}function b10(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141487,-128,127,i)|0?r=1:(C[r+32>>0]=e[i>>2],r=r+36|0,$[r>>1]=$[r>>1]|128,r=0),g=n,r|0}function eo0(r,t){return r=r|0,t=t|0,e[r+24>>2]=C2(t)|0,0}function ro0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,n=o,i=o+4|0;do if(Sl(t,141442,0,65535,i)|0)t=1;else if(t=e[i>>2]|0,t){$[r+80>>1]=t,t=0;break}else{$0(0,141450,n)|0,t=1;break}while(0);return g=o,t|0}function to0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(ja(s0[t>>0]|0)|0)<<24>>24|0){case 84:{De(t+1|0,141391)|0?n=5:(r=r+36|0,$[r>>1]=$[r>>1]|1,r=0);break}case 70:{De(t+1|0,141395)|0?n=5:r=0;break}default:n=5}return(n|0)==5&&(e[i>>2]=t,$0(0,141400,i)|0,r=1),g=o,r|0}function io0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141377,0,360,i)|0?r=1:(e[r+28>>2]=e[i>>2]&65535,r=0),g=n,r|0}function no0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141370,0,65535,i)|0?r=1:($[r+40>>1]=e[i>>2],r=0),g=n,r|0}function oo0(r,t){return r=r|0,t=t|0,e[r>>2]=C2(t)|0,0}function lo0(r,t){return r=r|0,t=t|0,e[r+16>>2]=C2(t)|0,0}function so0(r,t){return r=r|0,t=t|0,e[r+4>>2]=C2(t)|0,0}function Ao0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,n=o,i=o+4|0;do if(Sl(t,141325,0,65535,i)|0)t=1;else if(t=e[i>>2]|0,t){$[r+82>>1]=t,t=0;break}else{$0(0,141333,n)|0,t=1;break}while(0);return g=o,t|0}function uo0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,l=A,o=0;e:for(;;){r:for(;;){if(n=t+1|0,t=C[t>>0]|0,!(t<<24>>24))break e;switch(t=t<<24>>24,i=(Tl(t)|0)+-98|0,i>>>1|i<<31|0){case 5:{s=5;break r}case 9:{i=2048;break r}case 8:{s=6;break r}case 0:{s=7;break r}default:}e[l>>2]=t,e[l+4>>2]=t,$0(0,141272,l)|0,t=n}(s|0)==5?(s=0,i=1024):(s|0)==6?(s=0,i=4096):(s|0)==7&&(s=0,i=8192),t=n,o=o|i}return o<<16>>16!=15360&&(s=r+36|0,$[s>>1]=$[s>>1]|o),g=A,0}function ao0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,s=A+8|0,l=A,o=C2(t)|0,n=r+42|0,i=0,t=o;r=Na(t,141182)|0,!!r;){if(((ja(C[r>>0]|0)|0)&255|0)==82){if(t=r+1|0,!(De(t,141185)|0)){$[n>>1]=$[n>>1]|4,r=i,t=0,i=r;continue}if(De(t,141192)|0){e[l>>2]=r,$0(0,141198,l)|0,i=1,t=0;continue}else{$[n>>1]=$[n>>1]|2,r=i,t=0,i=r;continue}}if(!(De(r,141236)|0)){$[n>>1]=$[n>>1]&-385,r=i,t=0,i=r;continue}if(De(r,141242)|0&&De(r,141252)|0){if(!(De(r,141258)|0)){$[n>>1]=$[n>>1]|128,r=i,t=0,i=r;continue}if(De(r,141265)|0){e[s>>2]=r,$0(0,141198,s)|0,i=1,t=0;continue}else{$[n>>1]=$[n>>1]|256,r=i,t=0,i=r;continue}}$[n>>1]=$[n>>1]|32,r=i,t=0,i=r}return r0(o),g=A,i|0}function co0(r,t){return r=r|0,t=t|0,e[r+8>>2]=C2(t)|0,0}function fo0(r,t){return r=r|0,t=t|0,e[r+12>>2]=C2(t)|0,0}function ho0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(ja(C[t>>0]|0)|0)<<24>>24|0){case 66:{De(t+1|0,141128)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|16,r=0);break}case 84:{De(t+1|0,141134)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|8,r=0);break}case 77:{De(t+1|0,141137)|0?n=7:r=0;break}default:n=7}return(n|0)==7&&(e[i>>2]=t,$0(0,141143,i)|0,r=1),g=o,r|0}function wo0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141122,0,65535,i)|0?r=1:($[r+38>>1]=e[i>>2],r=0),g=n,r|0}function do0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;switch(o=g,g=g+16|0,i=o,(ja(C[t>>0]|0)|0)<<24>>24|0){case 76:{De(t+1|0,140768)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|4,r=0);break}case 82:{De(t+1|0,140763)|0?n=7:(r=r+36|0,$[r>>1]=$[r>>1]|2,r=0);break}case 67:{De(t+1|0,140772)|0?n=7:r=0;break}default:n=7}return(n|0)==7&&(e[i>>2]=t,$0(0,140778,i)|0,r=1),g=o,r|0}function po0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,Sl(t,141720,0,127,i)|0?r=1:(C[r+88>>0]=e[i>>2],r=0),g=n,r|0}function ko0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,(C[t>>0]|0)==42?(r=r+112|0,C[r>>0]=C[r>>0]|1,r=0):(e[i>>2]=t,$0(0,141680,i)|0,r=1),g=n,r|0}function vo0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,(C[t>>0]|0)==42?(r=r+112|0,C[r>>0]=C[r>>0]|2,r=0):(e[i>>2]=t,$0(0,141643,i)|0,r=1),g=n,r|0}function mo0(){var r=0;return r=(C[189661]|C[189660])<<24>>24,JG(e[47407]|0),Ot(189644),r|0}function go0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,e[47409]=0,t=0;e:do{r:do switch(C[189663]|0){case 2:{r=-1;break e}case 0:{C[189663]=1,l=6,r=141732,t=0;break}default:if(r=e[47408]|0,C[r>>0]|0){t=yo0(r)|0,l=t-r|0;break r}else{C[189663]=2,l=7,r=141739;break r}}while(0);e[47417]=e[47416],e[47419]=e[47418],e[47416]=r,e[47418]=l,i=e[47412]|0,n=i-(e[47411]|0)|0,o=e[47407]|0,n?(i>>>0<(e[47413]|0)>>>0?r=i:(Xe(189644,1)|0,r=e[47412]|0),C[r>>0]=0,r=e[47411]|0,e[47412]=r,r=vZ(o,r,n,0)|0):r=vZ(o,r,l,(l|0)==0&1)|0,(r|0)!=0|(C[189661]|0)!=0||(o=Rl0(zl0(e[47407]|0)|0)|0,l=Uy()|0,e[s>>2]=o,e[s+4>>2]=l,$0(1,140575,s)|0,DG(),C[189661]=1,e[47409]=268),t|0&&(e[47408]=t),r=e[47409]|0}while(!(r|0));return g=A,r|0}function yo0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+16|0,n=l,t=r+1|0,i=C[r>>0]|0;e:do if(i<<24>>24==60){i=C[t>>0]|0,i<<24>>24==33?Yr(r+2|0,141747,2)|0?(i=t,o=5):(i=Co0(r+4|0)|0,t=i,i=C[i>>0]|0,o=8):o=6;r:for(;;)if((o|0)==5){t=i,i=C[i>>0]|0,o=6;continue}else if((o|0)==6){switch(i<<24>>24){case 62:case 0:{o=8;continue r}default:}i=t+1|0,o=5;continue}else if((o|0)==8)if(i<<24>>24==62){o=10;break}else{o=9;break}if((o|0)==9){$0(0,141750,n)|0,C[189660]=1;break}else if((o|0)==10){t=t+1|0;break}}else for(t=r,r=i;;){switch(r<<24>>24){case 60:case 0:break e;case 38:{i=t+1|0,(C[i>>0]|0)==35?o=15:i=uv0(i,189644)|0;break}default:o=15}(o|0)==15&&(o=0,i=e[47412]|0,i>>>0>=(e[47413]|0)>>>0&&(Xe(189644,1)|0,i=e[47412]|0),e[47412]=i+1,C[i>>0]=r,i=t+1|0),t=i,r=C[i>>0]|0}while(0);return g=l,t|0}function Co0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+16|0,A=c,o=1,t=r;e:for(;;){n=(o|0)==0,i=t;r:for(;;){if(n)break e;switch(l=i+1|0,C[i>>0]|0){case 0:{t=l;break e}case 60:{s=5;break r}case 62:{t=-1;break r}default:i=l}}(s|0)==5&&(s=0,t=1),o=o+t|0,t=l}i=t+-1|0;do if(C[i>>0]|0){if(t=t+-3|0,t>>>0>=r>>>0&&!(Yr(t,141747,2)|0))break;$0(0,141791,A)|0,C[189660]=1}while(0);return g=c,i|0}function jG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;if(i=Te(28)|0,!i)i=0;else{for(n=0,o=0;!((n|0)>=(t|0));)x=(e[(e[r+(n<<2)>>2]|0)+4>>2]|0)+o|0,n=n+1|0,o=x;for(m=i+8|0,e[m>>2]=od(o<<4)|0,E=i+12|0,e[E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,s)|0)==1){r=0;break}else r=r+1|0}return g=c,r|0}function Xy(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(x=g,g=g+64|0,w=x+48|0,f=x+32|0,E=4,c=Te(40)|0,e[c>>2]=0,p=x+16|0,v=x,m=e[i>>2]|0,A=e[i+4>>2]|0,E=il(189680,1,c|0,E|0)|0,c=b,v0=0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,E|0,c|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1?i=b:i=0;;){if(i|0){i=-1;break}if(v0=0,e[w>>2]=e[n>>2],e[w+4>>2]=e[n+4>>2],e[w+8>>2]=e[n+8>>2],e[w+12>>2]=e[n+12>>2],Vn(28,p|0,w|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,E|0,c|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){i=b;continue}if(e[n>>2]=e[p>>2],e[n+4>>2]=e[p+4>>2],e[n+8>>2]=e[p+8>>2],e[n+12>>2]=e[p+12>>2],s=n+16|0,v0=0,e[w>>2]=e[s>>2],e[w+4>>2]=e[s+4>>2],e[w+8>>2]=e[s+8>>2],e[w+12>>2]=e[s+12>>2],Vn(28,v|0,w|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,E|0,c|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){i=b;continue}if(e[s>>2]=e[v>>2],e[s+4>>2]=e[v+4>>2],e[s+8>>2]=e[v+8>>2],e[s+12>>2]=e[v+12>>2],e[47459]=0,v0=0,Tr(115,4),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,E|0,c|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){i=b;continue}if(l=e[47460]|0,i=e[47459]|0,e[47459]=i+1,i=l+(i<<4)|0,e[i>>2]=e[m>>2],e[i+4>>2]=e[m+4>>2],e[i+8>>2]=e[m+8>>2],e[i+12>>2]=e[m+12>>2],v0=0,e[f>>2]=e[n>>2],e[f+4>>2]=e[n+4>>2],e[f+8>>2]=e[n+8>>2],e[f+12>>2]=e[n+12>>2],e[w>>2]=e[s>>2],e[w+4>>2]=e[s+4>>2],e[w+8>>2]=e[s+8>>2],e[w+12>>2]=e[s+12>>2],i=Lr0(1,r|0,t|0,m|0,A|0,f|0,w|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,E|0,c|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)==1)i=b;else{B=8;break}}return(B|0)==8&&((i|0)==-1?i=-1:(e[o+4>>2]=e[47459],e[o>>2]=e[47460],i=0)),r0(E|0),g=x,i|0}function ld(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;i=+u[t>>3],n=t+8|0,o=+u[n>>3],s=o*o+i*i,l=+G0(+s),s>1e-6&&(u[t>>3]=i/l,u[n>>3]=o/l),e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function qy(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+32|0,n=o+16|0,i=o,(e[47463]|0)<(r|0)&&(t=e[47460]|0,t?(i=V2(t,r<<4)|0,e[47460]=i,i||(i=e[15712]|0,e[n>>2]=141831,e[n+4>>2]=537,e[n+8>>2]=141984,A2(i,141839,n)|0,ie(189680,1))):(n=Te(r<<4)|0,e[47460]=n,n||(n=e[15712]|0,e[i>>2]=141831,e[i+4>>2]=531,e[i+8>>2]=141966,A2(n,141839,i)|0,ie(189680,1))),e[47463]=r),g=o}function $y(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0;F0=g,g=g+336|0,H=F0+320|0,Y=F0+304|0,L=F0+144|0,m=F0+128|0,q=F0+112|0,t0=F0+96|0,Z0=F0+80|0,T=F0+64|0,P=F0+48|0,a0=F0+32|0,k0=F0+16|0,B0=F0,Z=F0+288|0,W=F0+272|0,N=F0+256|0,D=F0+240|0,X=F0+224|0,U=F0+208|0,D0=F0+192|0,J0=F0+176|0,O0=F0+160|0,s=e[47462]|0;do if((e[47461]|0)<(n|0)){if(s){if(s=V2(s,n*40|0)|0,e[47462]=s,!s){s=-1;break}}else if(s=Te(n*40|0)|0,e[47462]=s,!s){s=-1;break}e[47461]=n,c=6}else c=6;while(0);if((c|0)==6){for(u[s>>3]=0,c=1,A=0;!((c|0)>=(n|0));)w=i+(c<<4)|0,F=i+(c+-1<<4)|0,e[Y>>2]=e[w>>2],e[Y+4>>2]=e[w+4>>2],e[Y+8>>2]=e[w+8>>2],e[Y+12>>2]=e[w+12>>2],e[H>>2]=e[F>>2],e[H+4>>2]=e[F+4>>2],e[H+8>>2]=e[F+8>>2],e[H+12>>2]=e[F+12>>2],_=+Ky(Y,H)+A,u[s+(c*40|0)>>3]=_,c=c+1|0,A=_;for(F=n+-1|0,w=s+(F*40|0)|0,c=1;!((c|0)>=(n|0));)b0=s+(c*40|0)|0,u[b0>>3]=+u[b0>>3]/+u[w>>3],c=c+1|0;for(c=0;!((c|0)>=(n|0));)b0=s+(c*40|0)+8|0,w=s+(c*40|0)|0,_=+NG(+u[w>>3]),e[H>>2]=e[o>>2],e[H+4>>2]=e[o+4>>2],e[H+8>>2]=e[o+8>>2],e[H+12>>2]=e[o+12>>2],pA(Z,H,_),e[b0>>2]=e[Z>>2],e[b0+4>>2]=e[Z+4>>2],e[b0+8>>2]=e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>2],e[D+12>>2]=e[U+12>>2],f=+Ky(_,D)*.3333333333333333,w=f),e[l>>2]=e[r>>2],e[l+4>>2]=e[r+4>>2],e[l+8>>2]=e[r+8>>2],e[l+12>>2]=e[r+12>>2],e[D>>2]=e[n>>2],e[D+4>>2]=e[n+4>>2],e[D+8>>2]=e[n+8>>2],e[D+12>>2]=e[n+12>>2],pA(P,D,f),e[s>>2]=e[P>>2],e[s+4>>2]=e[P+4>>2],e[s+8>>2]=e[P+8>>2],e[s+12>>2]=e[P+12>>2],e[A>>2]=e[U>>2],e[A+4>>2]=e[U+4>>2],e[A+8>>2]=e[U+8>>2],e[A+12>>2]=e[U+12>>2],e[D>>2]=e[o>>2],e[D+4>>2]=e[o+4>>2],e[D+8>>2]=e[o+8>>2],e[D+12>>2]=e[o+12>>2],pA(X,D,w),e[c>>2]=e[X>>2],e[c+4>>2]=e[X+4>>2],e[c+8>>2]=e[X+8>>2],e[c+12>>2]=e[X+12>>2],g=q}function xo0(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0;var c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;for(P=g,g=g+64|0,D=P,N=(A|0)==2,W=+u[i>>3],z=+u[i+8>>3],_=D+8|0,L=+u[n>>3],Z=D+16|0,v=+u[n+8>>3],m=D+24|0,E=+u[o>>3],B=+u[l>>3],x=D+32|0,p=+u[o+8>>3],w=+u[l+8>>3],n=D+40|0,o=D+48|0,l=D+56|0,i=1,c=4,f=4;;){if(u[D>>3]=W,u[_>>3]=z,X=f*.3333333333333333,u[Z>>3]=X*L+W,u[m>>3]=X*v+z,X=c*.3333333333333333,u[x>>3]=E-X*B,u[n>>3]=p-X*w,u[o>>3]=E,u[l>>3]=p,i&&(X=+TG(D,4),X<+TG(s,A)+-.001)){i=0;break}if(zo0(r,t,D)|0){T=5;break}if(f==0&c==0){T=9;break}U=f>.01,i=0,c=U?c*.5:0,f=U?f*.5:0}e:do if((T|0)==5)for(qy((e[47459]|0)+4|0),n=e[47460]|0,i=1;;){if((i|0)==4){i=1;break e}U=e[47459]|0,u[n+(U<<4)>>3]=+u[D+(i<<4)>>3],X=+u[D+(i<<4)+8>>3],e[47459]=U+1,u[n+(U<<4)+8>>3]=X,i=i+1|0}else if((T|0)==9)if(N)for(qy((e[47459]|0)+4|0),n=e[47460]|0,i=1;;){if((i|0)==4){i=1;break e}U=e[47459]|0,u[n+(U<<4)>>3]=+u[D+(i<<4)>>3],X=+u[D+(i<<4)+8>>3],e[47459]=U+1,u[n+(U<<4)+8>>3]=X,i=i+1|0}else i=0;while(0);return g=P,i|0}function by(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;u[t>>3]=+u[t>>3]+ +u[i>>3],n=t+8|0,u[n>>3]=+u[n>>3]+ +u[i+8>>3],e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function sd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;u[t>>3]=+u[t>>3]-+u[i>>3],n=t+8|0,u[n>>3]=+u[n>>3]-+u[i+8>>3],e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function So0(r){return r=+r,r=1-r,+(r*r*r)}function _o0(r){return r=+r,+(r*r*r)}function TG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(i=0,n=1;!((n|0)>=(t|0));)s=n+-1|0,o=+u[r+(n<<4)>>3]-+u[r+(s<<4)>>3],l=+u[r+(n<<4)+8>>3]-+u[r+(s<<4)+8>>3],i=+G0(+(l*l+o*o))+i,n=n+1|0;return+i}function zo0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=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]*A,+u[r+56>>3]-+u[p>>3]*A,B),u[B>>3]=A*v-m+ +u[B>>3],n=e9(B,x)|0,(n|0)==4)t=4;else{for(o=B+8|0,s=B+16|0,c=B+24|0,l=1/l,t=0;!((t|0)>=(n|0));)A=+u[x+(t<<3)>>3],A>=0&A<=1&&(J3(+u[r>>3],+u[f>>3],+u[w>>3],+u[p>>3],B),m=(+u[B>>3]-v+((+u[c>>3]*A+ +u[s>>3])*A+ +u[o>>3])*A)*l,m>=0&m<=1)&&U3(A,i,z),t=t+1|0;t=e[z>>2]|0}else{if(J3(+u[r>>3],+u[r+16>>3],+u[r+32>>3],+u[r+48>>3],B),u[B>>3]=+u[B>>3]-v,E=e9(B,x)|0,A!=0){if((E|0)==4){t=4;break}for(f=r+8|0,w=r+24|0,p=r+40|0,n=r+56|0,o=B+8|0,s=B+16|0,c=B+24|0,l=1/A,t=0;!((t|0)>=(E|0));)A=+u[x+(t<<3)>>3],A>=0&A<=1&&(J3(+u[f>>3],+u[w>>3],+u[p>>3],+u[n>>3],B),v=(+u[B>>3]-m+((+u[c>>3]*A+ +u[s>>3])*A+ +u[o>>3])*A)*l,v>=0&v<=1)&&U3(A,i,z),t=t+1|0;t=e[z>>2]|0;break}J3(+u[r+8>>3],+u[r+24>>3],+u[r+40>>3],+u[r+56>>3],B),u[B>>3]=+u[B>>3]-m,s=e9(B,c)|0,t=(s|0)==4;r:do if((E|0)==4){if(t){t=4;break e}else t=0;for(;;){if((t|0)>=(s|0))break r;U3(+u[c+(t<<3)>>3],i,z),t=t+1|0}}else{if(t)for(t=0;;){if((t|0)>=(E|0))break r;U3(+u[x+(t<<3)>>3],i,z),t=t+1|0}else n=0;for(;;){if((n|0)>=(E|0))break r;for(o=x+(n<<3)|0,t=0;!((t|0)>=(s|0));)l=+u[o>>3],l==+u[c+(t<<3)>>3]&&U3(l,i,z),t=t+1|0;n=n+1|0}}while(0);t=e[z>>2]|0}while(0);return g=_,t|0}function J3(r,t,i,n,o){r=+r,t=+t,i=+i,n=+n,o=o|0,u[o+24>>3]=n-r+(t-i)*3,u[o+16>>3]=(i+r)*3-t*6,u[o+8>>3]=(t-r)*3,u[o>>3]=r}function U3(r,t,i){r=+r,t=t|0,i=i|0;var n=0;r>=0&r<=1&&(n=e[i>>2]|0,u[t+(n<<3)>>3]=r,e[i>>2]=n+1)}function X3(r,t){return r=r|0,t=t|0,+(+u[t+8>>3]*+u[r+8>>3]+ +u[t>>3]*+u[r>>3])}function Ro0(r){r=+r;var t=0;return t=1-r,+(t*t*(t+r*3))}function Go0(r){return r=+r,+(r*r*((1-r)*3+r))}function FG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;X=g,g=g+112|0,T=X+80|0,N=X+64|0,W=X+48|0,P=4,D=Te(40)|0,e[D>>2]=0,x=X+32|0,z=X+16|0,_=X,L=X+96|0,P=il(189856,1,D|0,P|0)|0,D=b,v0=0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1?n=b:n=0;e:for(;;){if(n|0){n=-2;break}if(l=r+4|0,v0=0,Tr(116,e[l>>2]|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}if(e[47503]=0,e[47504]=0,v0=0,Tr(117,e[l>>2]<<1|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}for(f=(e[47506]|0)/2|0,e[47507]=f,e[47508]=f+-1,f=e[l>>2]|0,l=e[r>>2]|0,n=0,o=-1,s=Ur;!((n|0)>=(f|0));)U=+u[l+(n<<4)>>3],B=s>U,E=B?n:o,n=n+1|0,o=E,s=B?U:s;B=l+(o<<4)|0,e[z>>2]=e[B>>2],e[z+4>>2]=e[B+4>>2],e[z+8>>2]=e[B+8>>2],e[z+12>>2]=e[B+12>>2],B=l+((o|0?o:f)+-1<<4)|0,e[x>>2]=e[B>>2],e[x+4>>2]=e[B+4>>2],e[x+8>>2]=e[B+8>>2],e[x+12>>2]=e[B+12>>2],B=l+(((o|0)==(f+-1|0)?0:o+1|0)<<4)|0,e[_>>2]=e[B>>2],e[_+4>>2]=e[B+4>>2],e[_+8>>2]=e[B+8>>2],e[_+12>>2]=e[B+12>>2],U=+u[z>>3],+u[x>>3]==U&&U==+u[_>>3]&&+u[_+8>>3]>+u[z+8>>3]?B=15:B=12;r:do if((B|0)==12){if(B=0,v0=0,n=Yt(36,x|0,z|0,_|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,P|0,D|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if((n|0)==1)for(l=e[47510]|0,n=e[47511]|0,o=0;;){if((o|0)>=(f|0))break r;A=e[r>>2]|0,(o|0)>0&&(Z=o+-1|0,+u[A+(o<<4)>>3]==+u[A+(Z<<4)>>3])&&+u[A+(o<<4)+8>>3]==+u[A+(Z<<4)+8>>3]||(E=e[47503]|0,e[l+(E<<3)>>2]=A+(o<<4),e[l+(E<<3)+4>>2]=l+(((E|0)%(f|0)|0)<<3),e[n+(E<<2)>>2]=l+(E<<3),e[47503]=E+1),o=o+1|0}else B=15}while(0);r:do if((B|0)==15)for(B=0,A=e[47510]|0,n=e[47511]|0,l=f;;){if(o=l+-1|0,(l|0)<=0)break r;if(c=e[r>>2]|0,(l|0)<(f|0)&&+u[c+(o<<4)>>3]==+u[c+(l<<4)>>3]&&+u[c+(o<<4)+8>>3]==+u[c+(l<<4)+8>>3]){l=o;continue}l=e[47503]|0,e[A+(l<<3)>>2]=c+(o<<4),e[A+(l<<3)+4>>2]=A+(((l|0)%(f|0)|0)<<3),e[n+(l<<2)>>2]=A+(l<<3),e[47503]=l+1,l=o}while(0);if(v0=0,Vn(29,n|0,e[47503]|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}A=0,n=e[47504]|0;r:for(;;){if((A|0)>=(n|0)){m=0;break}for(c=A+1|0,l=c;;){if((l|0)>=(n|0)){A=c;continue r}if(v0=0,Vn(30,A|0,l|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue e}l=l+1|0,n=e[47504]|0}}for(;!((m|0)>=(n|0));){if(v0=0,o=nt(105,m|0,t|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){n=b;continue e}if(o|0)break;m=m+1|0}if((m|0)==(n|0))if(n=e[15712]|0,v0=0,e[W>>2]=141858,e[W+4>>2]=192,e[W+8>>2]=141869,Yt(32,n|0,141839,W|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}else{B=41;break}for(E=t+16|0,c=0;!((c|0)>=(n|0));){if(v0=0,o=nt(105,c|0,E|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){n=b;continue e}if(o|0)break;c=c+1|0}if((c|0)==(n|0))if(n=e[15712]|0,v0=0,e[N>>2]=141858,e[N+4>>2]=200,e[N+8>>2]=141902,Yt(32,n|0,141839,N|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}else{B=48;break}if(v0=0,n=nt(106,m|0,c|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,P|0,D|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue}if(!n){if(n=e[15712]|0,v0=0,e[T>>2]=141858,e[T+4>>2]=207,e[T+8>>2]=141940,Yt(32,n|0,141839,T|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}if(v0=0,Tr(118,2),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}else{B=53;break}}if((m|0)==(c|0))if(v0=0,Tr(118,2),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,P|0,D|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){n=b;continue}else{B=56;break}if(e[L>>2]=t,e[L+4>>2]=0,o=L+8|0,e[o>>2]=E,e[L+12>>2]=0,v0=0,Vn(31,1,L|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue}e[47509]=e[47507],p=m;r:for(;;){if((p|0)==-1){l=o,n=0;break}for(v=e[47513]|0,e[v+(p*52|0)>>2]=2,n=0;;){if((n|0)>=3){B=65;break}if(B=e[v+(p*52|0)+4+(n<<4)+12>>2]|0,B|0&&(e[B>>2]|0)==1){B=68;break}n=n+1|0}if((B|0)==65)if(B=0,(n|0)==3){if(n=e[47505]|0,c=e[n+(e[47508]<<2)>>2]|0,v0=0,n=Yt(36,E|0,e[e[n+(e[47507]<<2)>>2]>>2]|0,e[c>>2]|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){n=b;continue e}A=(n|0)==1,w=A?o:c,A=A?c:o}else B=68;if((B|0)==68){if(B=0,c=e[v+(p*52|0)+4+(n<<4)>>2]|0,f=e[v+(p*52|0)+4+(n<<4)+4>>2]|0,v0=0,n=Yt(36,e[c>>2]|0,e[e[v+(p*52|0)+4+(((n+1|0)%3|0)<<4)+4>>2]>>2]|0,e[f>>2]|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){n=b;continue e}A=(n|0)==1,w=A?c:f,A=A?f:c}do if((p|0)==(m|0)){if(v0=0,Vn(31,2,A|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,Vn(31,1,w|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}n=0}else{if(f=e[47505]|0,(e[f+(e[47507]<<2)>>2]|0)!=(w|0)&&(e[f+(e[47508]<<2)>>2]|0)!=(w|0)){if(v0=0,A=gt(34,w|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,Vn(32,2,A|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,Vn(31,1,w|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if((A|0)<=(e[47509]|0)){n=0;break}e[47509]=A,n=0;break}if(v0=0,c=gt(34,A|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,Vn(32,1,c|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if(v0=0,Vn(31,2,A|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(l=se(e[n>>2]|0,P|0,D|0)|0,l||ie(n|0,g0|0),b=g0):l=-1,(l|0)==1){n=b;continue e}if((c|0)>=(e[47509]|0)){n=0;break}e[47509]=c,n=0}while(0);for(;;){if((n|0)>=3){p=-1;continue r}if(l=e[v+(p*52|0)+4+(n<<4)+12>>2]|0,l|0&&(e[l>>2]|0)==1)break;n=n+1|0}p=(l-(e[47513]|0)|0)/52|0}for(;l;)l=e[l+4>>2]|0,n=n+1|0;if(v0=0,Tr(118,n|0),l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,P|0,D|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1)n=b;else{B=94;break}}if((B|0)==41)n=-1;else if((B|0)==48)n=-1;else if((B|0)==53)e[i+4>>2]=2,n=e[47512]|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],D=n+16|0,e[D>>2]=e[E>>2],e[D+4>>2]=e[E+4>>2],e[D+8>>2]=e[E+8>>2],e[D+12>>2]=e[E+12>>2],e[i>>2]=n,n=0;else if((B|0)==56)e[i+4>>2]=2,n=e[47512]|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],D=n+16|0,e[D>>2]=e[E>>2],e[D+4>>2]=e[E+4>>2],e[D+8>>2]=e[E+8>>2],e[D+12>>2]=e[E+12>>2],e[i>>2]=n,n=0;else if((B|0)==94){for(e[i+4>>2]=n,l=e[47512]|0;n=n+-1|0,!!o;)D=l+(n<<4)|0,T=e[o>>2]|0,e[D>>2]=e[T>>2],e[D+4>>2]=e[T+4>>2],e[D+8>>2]=e[T+8>>2],e[D+12>>2]=e[T+12>>2],o=e[o+4>>2]|0;e[i>>2]=l,n=0}return r0(P|0),g=X,n|0}function Zo0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+64|0,n=s+48|0,l=s+32|0,o=s+16|0,i=s,(e[47516]|0)<(r|0)&&(t=e[47510]|0,t?(o=V2(t,r<<3)|0,e[47510]=o,o||(o=e[15712]|0,e[l>>2]=141858,e[l+4>>2]=533,e[l+8>>2]=142147,A2(o,141839,l)|0,ie(189856,1)),l=V2(e[47511]|0,r<<2)|0,e[47511]=l,l||(l=e[15712]|0,e[n>>2]=141858,e[n+4>>2]=539,e[n+8>>2]=142167,A2(l,141839,n)|0,ie(189856,1))):(l=Te(r<<3)|0,e[47510]=l,l||(l=e[15712]|0,e[i>>2]=141858,e[i+4>>2]=523,e[i+8>>2]=142108,A2(l,141839,i)|0,ie(189856,1)),l=Te(r<<2)|0,e[47511]=l,l||(l=e[15712]|0,e[o>>2]=141858,e[o+4>>2]=527,e[o+8>>2]=142127,A2(l,141839,o)|0,ie(189856,1))),e[47516]=r),g=s}function Wo0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+32|0,n=o+16|0,i=o,(e[47506]|0)<(r|0)&&(t=e[47505]|0,t?(i=V2(t,r<<2)|0,e[47505]=i,i||(i=e[15712]|0,e[n>>2]=141858,e[n+4>>2]=580,e[n+8>>2]=142085,A2(i,141839,n)|0,ie(189856,1))):(n=Te(r<<2)|0,e[47505]=n,n||(n=e[15712]|0,e[i>>2]=141858,e[i+4>>2]=573,e[i+8>>2]=142063,A2(n,141839,i)|0,ie(189856,1))),e[47506]=r),g=o}function W1(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=+u[t+8>>3],o=+u[t>>3],n=(+u[i>>3]-o)*(+u[r+8>>3]-n)-(+u[r>>3]-o)*(+u[i+8>>3]-n),(n>0?1:n<0?2:3)|0}function Do0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A;e:for(;;){if((t|0)>3)n=0;else{t=9;break}for(;;){if((n|0)>=(t|0)){t=8;break e}if(o=n+1|0,i=(o|0)%(t|0)|0,l=(n+2|0)%(t|0)|0,!(Po0(n,l,r,t)|0))n=o;else break}for(YG(e[r+(n<<2)>>2]|0,e[r+(i<<2)>>2]|0,e[r+(l<<2)>>2]|0),t=t+-1|0;;){if((i|0)>=(t|0))continue e;l=i+1|0,e[r+(i<<2)>>2]=e[r+(l<<2)>>2],i=l}}(t|0)==8?(r=e[15712]|0,e[s>>2]=141858,e[s+4>>2]=324,e[s+8>>2]=142003,A2(r,141839,s)|0):(t|0)==9&&YG(e[r>>2]|0,e[r+4>>2]|0,e[r+8>>2]|0),g=A}function Mo0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(A=e[47513]|0,c=A+(r*52|0)|0,f=A+(t*52|0)|0,l=0;(l|0)!=3;){for(w=A+(r*52|0)+4+(l<<4)|0,p=A+(r*52|0)+4+(l<<4)+4|0,v=A+(r*52|0)+4+(l<<4)+12|0,o=0;(o|0)!=3;)m=e[e[w>>2]>>2]|0,s=e[e[A+(t*52|0)+4+(o<<4)>>2]>>2]|0,(m|0)==(s|0)?(i=e[e[A+(t*52|0)+4+(o<<4)+4>>2]>>2]|0,(e[e[p>>2]>>2]|0)==(i|0)?n=10:n=8):(i=e[e[A+(t*52|0)+4+(o<<4)+4>>2]>>2]|0,n=8),(n|0)==8&&(n=0,(m|0)==(i|0))&&(e[e[p>>2]>>2]|0)==(s|0)&&(n=10),(n|0)==10&&(e[v>>2]=f,e[A+(t*52|0)+4+(o<<4)+12>>2]=c),o=o+1|0;l=l+1|0}}function jo0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=e[47513]|0,i=0,n=0;(n|0)!=3;)i=i+((W1(e[e[o+(r*52|0)+4+(n<<4)>>2]>>2]|0,e[e[o+(r*52|0)+4+(n<<4)+4>>2]>>2]|0,t)|0)!=2&1)|0,n=n+1|0;return((i|0)==3|(i|0)==0)&1|0}function PG(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[47513]|0,n=i+(r*52|0)|0;e:do if(e[n>>2]|0)i=0;else if(e[n>>2]=1,(r|0)==(t|0))i=1;else{for(o=0;!((o|0)>=3);){if(n=e[i+(r*52|0)+4+(o<<4)+12>>2]|0,n){if(PG((n-i|0)/52|0,t)|0){i=1;break e}i=e[47513]|0}o=o+1|0}e[i+(r*52|0)>>2]=0,i=0}while(0);return i|0}function No0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+32|0,n=o+16|0,i=o,(e[47514]|0)<(r|0)&&(t=e[47512]|0,t?(i=V2(t,r<<4)|0,e[47512]=i,i||(i=e[15712]|0,e[n>>2]=141858,e[n+4>>2]=599,e[n+8>>2]=141984,A2(i,141839,n)|0,ie(189856,1))):(n=Te(r<<4)|0,e[47512]=n,n||(n=e[15712]|0,e[i>>2]=141858,e[i+4>>2]=593,e[i+8>>2]=141966,A2(n,141839,i)|0,ie(189856,1))),e[47514]=r),g=o}function Qo0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[47508]|0,n=e[47507]|0,o=(i|0)>=(n|0),(r|0)==1?o?(e[t+4>>2]=e[(e[47505]|0)+(n<<2)>>2],r=190028,i=-1):(r=190028,i=-1):o?(e[t+4>>2]=e[(e[47505]|0)+(i<<2)>>2],r=190032,i=1):(r=190032,i=1),o=(e[r>>2]|0)+i|0,e[r>>2]=o,e[(e[47505]|0)+(o<<2)>>2]=t}function To0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=e[47509]|0,l=e[47505]|0,t=e[47507]|0;;){if((t|0)>=(o|0)){n=4;break}if(i=t+1|0,(W1(e[e[l+(i<<2)>>2]>>2]|0,e[e[l+(t<<2)>>2]>>2]|0,e[r>>2]|0)|0)==1)break;t=i}e:do if((n|0)==4)for(t=e[47508]|0;;){if((t|0)<=(o|0)){t=o;break e}if(i=t+-1|0,(W1(e[e[l+(i<<2)>>2]>>2]|0,e[e[l+(t<<2)>>2]>>2]|0,e[r>>2]|0)|0)==2)break;t=i}while(0);return t|0}function Fo0(r,t){r=r|0,t=t|0,e[((r|0)==1?190032:190028)>>2]=t}function Po0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;o=e[e[i+(((r+-1+n|0)%(n|0)|0)<<2)>>2]>>2]|0,A=e[e[i+(r<<2)>>2]>>2]|0,l=e[e[i+(((r+1|0)%(n|0)|0)<<2)>>2]>>2]|0,f=(W1(o,A,l)|0)==1,c=e[e[i+(t<<2)>>2]>>2]|0,f?(W1(A,c,o)|0)==1?(o=W1(c,A,l)|0,l=1,s=5):o=0:(o=W1(A,c,l)|0,l=2,s=5);e:do if((s|0)==5)if((o|0)==(l|0))for(o=0;;){if((o|0)>=(n|0)){o=1;break e}if(l=o,o=o+1|0,s=(o|0)%(n|0)|0,!((s|0)==(t|0)|((l|0)==(t|0)|((l|0)==(r|0)|(s|0)==(r|0))))&&Vo0(A,c,e[e[i+(l<<2)>>2]>>2]|0,e[e[i+(s<<2)>>2]>>2]|0)|0){o=0;break}}else o=0;while(0);return o|0}function YG(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(n=e[47504]|0,o=e[47515]|0,(n|0)<(o|0)?s=n:(Yo0(o+20|0),s=e[47504]|0),l=e[47513]|0,e[47504]=s+1,o=l+(s*52|0)|0,e[o>>2]=0,e[l+(s*52|0)+4>>2]=r,e[l+(s*52|0)+8>>2]=t,e[l+(s*52|0)+16>>2]=0,e[l+(s*52|0)+20>>2]=t,e[l+(s*52|0)+24>>2]=i,e[l+(s*52|0)+32>>2]=0,e[l+(s*52|0)+36>>2]=i,e[l+(s*52|0)+40>>2]=r,e[l+(s*52|0)+48>>2]=0,n=0;(n|0)!=3;)e[l+(s*52|0)+4+(n<<4)+8>>2]=o,n=n+1|0}function Yo0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+32|0,n=o+16|0,i=o,(e[47515]|0)<(r|0)&&(t=e[47513]|0,t?(i=V2(t,r*52|0)|0,e[47513]=i,i||(i=e[15712]|0,e[n>>2]=141858,e[n+4>>2]=558,e[n+8>>2]=142043,A2(i,141839,n)|0,ie(189856,1))):(n=Te(r*52|0)|0,e[47513]=n,n||(n=e[15712]|0,e[i>>2]=141858,e[i+4>>2]=552,e[i+8>>2]=142024,A2(n,141839,i)|0,ie(189856,1))),e[47515]=r),g=o}function Vo0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return l=W1(r,t,i)|0,(l|0)!=3&&(s=W1(r,t,n)|0,(s|0)!=3)&&(A=W1(i,n,r)|0,(A|0)!=3)&&(o=W1(i,n,t)|0,(o|0)!=3)?((l|0)==1^(s|0)==1)&((A|0)==1^(o|0)==1)&1|0:!(Ad(r,t,i)|0)&&!(Ad(r,t,n)|0)&&!(Ad(i,n,r)|0)?(Ad(i,n,t)|0)!=0|0:1}function Ad(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return o=+u[r>>3],s=+u[t>>3]-o,l=+u[r+8>>3],n=+u[t+8>>3]-l,o=+u[i>>3]-o,l=+u[i+8>>3]-l,(W1(r,t,i)|0)==3&&l*n+o*s>=0?r=l*l+o*o<=n*n+s*s&1:r=0,r|0}function Oo0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(w=Te(i<<2)|0,p=Te((i<<3)+8|0)|0,v=p+8|0,o=0;!((o|0)>=(i|0));)e[w+(o<<2)>>2]=-1,u[v+(o<<3)>>3]=-2147483647,o=o+1|0;u[p>>3]=-2147483648;e:for(;(r|0)!=(t|0);)for(f=v+(r<<3)|0,A=+u[f>>3],u[f>>3]=A==-2147483647?0:-A,c=0,o=-1;;){if((c|0)>=(i|0)){r=o;continue e}s=v+(c<<3)|0,l=+u[s>>3],l<0&&(E=(r|0)<(c|0),m=+u[(e[n+((E?c:r)<<2)>>2]|0)+((E?r:c)<<3)>>3],A=-(m+ +u[f>>3]),m!=0&l>3]=A,e[w+(c<<2)>>2]=r,l=A),o=l>+u[v+(o<<3)>>3]?c:o),c=c+1|0}return r0(p),w|0}function Ho0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0;return c=g,g=g+32|0,f=c+16|0,w=c,A=e[s+4>>2]|0,e[w>>2]=e[r>>2],e[w+4>>2]=e[r+4>>2],e[w+8>>2]=e[r+8>>2],e[w+12>>2]=e[r+12>>2],e[f>>2]=e[n>>2],e[f+4>>2]=e[n+4>>2],e[f+8>>2]=e[n+8>>2],e[f+12>>2]=e[n+12>>2],rl0(w,t,f,o,s)|0?(r=Te((A<<2)+8|0)|0,w=A+1|0,e[r+(A<<2)>>2]=w,e[r+(w<<2)>>2]=-1):(r=e[s+24>>2]|0,e[r+(A<<2)>>2]=l,w=A+1|0,e[r+(w<<2)>>2]=i,r=Oo0(w,A,A+2|0,r)|0),g=c,r|0}function e9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;n=+u[r+24>>3];e:do if(n<1e-7&n>-1e-7)r=Jo0(r,t)|0;else for(s=+u[r+16>>3]/(n*3),l=+u[r+8>>3]/n,o=s*s,n=s*2*o-s*l+ +u[r>>3]/n,o=l*.3333333333333333-o,o=o*o*4*o,l=n*n+o,l<0?(A=+I2(+ +G0(+-l),+-n),n=+CE(+G0(+-o)*.5)*2,u[t>>3]=n*+ee(+(A*.3333333333333333)),u[t+8>>3]=+ee(+((A+6.283185307179586)*.3333333333333333))*n,n=+ee(+((A+-6.283185307179586)*.3333333333333333))*n,r=2,i=7):(A=(+G0(+l)-n)*.5,o=+CE(A),n=+CE(-n-A)+o,u[t>>3]=n,l>0?r=1:(n=n*-.5,u[t+16>>3]=n,r=1,i=7)),(i|0)==7&&(u[t+(r<<3)>>3]=n,r=3),i=0;;){if((i|0)>=(r|0))break e;c=t+(i<<3)|0,u[c>>3]=+u[c>>3]-s,i=i+1|0}while(0);return r|0}function Jo0(r,t){r=r|0,t=t|0;var i=0,n=0;i=+u[r+16>>3];do if(i<1e-7&i>-1e-7)r=Uo0(r,t)|0;else if(n=+u[r+8>>3]/(i*2),i=n*n-+u[r>>3]/i,i<0)r=0;else if(i==0){u[t>>3]=-n,r=1;break}else{i=+G0(+i)-n,u[t>>3]=i,u[t+8>>3]=n*-2-i,r=2;break}while(0);return r|0}function Uo0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=+u[r+8>>3],i=+u[r>>3],n<1e-7&n>-1e-7?r=i<1e-7&i>-1e-7?4:0:(u[t>>3]=-i/n,r=1),r|0}function Xo0(r){r=r|0,r0(e[r>>2]|0),r0(r)}function q3(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(n=e[r+4>>2]|0,A=(n*3|0)+-2|0,i=e[47518]|0,(A|0)>(e[47517]|0)?(i?i=V2(i,A<<4)|0:i=Te(A<<4)|0,e[47518]=i,e[47517]=A,s=i,l=i):(s=i,l=i),o=e[r>>2]|0,e[s>>2]=e[o>>2],e[s+4>>2]=e[o+4>>2],e[s+8>>2]=e[o+8>>2],e[s+12>>2]=e[o+12>>2],Yl(s+16|0,o|0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]=e[t+8>>2],e[A+12>>2]=e[t+12>>2],f=(N0(o,c)|0)<0,o=(N0(kA(l,s,A)|0,r)|0)>>>31,o=f?o:0}while(0);return g=w,o|0}function qo0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3]-+u[t>>3],n=+u[r+8>>3]-+u[t+8>>3],+(n*n+i*i)}function $o0(r){r=r|0,e[r+24>>2]=Ko0(e[r+4>>2]|0)|0,bo0(r)}function Ko0(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=r+2|0,o=Te(n<<2)|0,t=Un(N0(r,r)|0,8)|0,i=0;!((i|0)>=(r|0));)e[o+(i<<2)>>2]=t,t=t+(r<<3)|0,i=i+1|0;for(;!((r|0)>=(n|0));)e[o+(r<<2)>>2]=0,r=r+1|0;return o|0}function bo0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(v=g,g=g+32|0,s=v+16|0,l=v,A=e[r+4>>2]|0,f=e[r+8>>2]|0,w=e[r+16>>2]|0,p=e[r+20>>2]|0,i=e[r+24>>2]|0,t=0;!((t|0)>=(A|0));){for(m=e[p+(t<<2)>>2]|0,n=f+(t<<4)|0,o=f+(m<<4)|0,e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],e[s>>2]=e[o>>2],e[s+4>>2]=e[o+4>>2],e[s+8>>2]=e[o+8>>2],e[s+12>>2]=e[o+12>>2],E=+ud(l,s),o=e[i+(t<<2)>>2]|0,u[o+(m<<3)>>3]=E,u[(e[i+(m<<2)>>2]|0)+(t<<3)>>3]=E,r=t+-1|0,r=(m|0)==(r|0)?t+-2|0:r;!((r|0)<=-1);)OG(t,r,f,w,p)|0&&OG(r,t,f,w,p)|0&&(c=f+(r<<4)|0,e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2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e[o+12>>2],o=t9(f,c,A,s)|0,g=l,o|0}function r9(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(m=g,g=g+64|0,p=m+48|0,w=m+32|0,f=m+16|0,c=m,A=0;;){if((A|0)>=(i|0)){v=4;break}if(B=l+(A<<4)|0,E=l+(e[s+(A<<2)>>2]<<4)|0,e[c>>2]=e[r>>2],e[c+4>>2]=e[r+4>>2],e[c+8>>2]=e[r+8>>2],e[c+12>>2]=e[r+12>>2],e[f>>2]=e[t>>2],e[f+4>>2]=e[t+4>>2],e[f+8>>2]=e[t+8>>2],e[f+12>>2]=e[t+12>>2],e[w>>2]=e[B>>2],e[w+4>>2]=e[B+4>>2],e[w+8>>2]=e[B+8>>2],e[w+12>>2]=e[B+12>>2],e[p>>2]=e[E>>2],e[p+4>>2]=e[E+4>>2],e[p+8>>2]=e[E+8>>2],e[p+12>>2]=e[E+12>>2],!($3(c,f,w,p)|0))A=A+1|0;else{n=0;break}}e:do if((v|0)==4)for(;;){if((n|0)>=(o|0)){n=1;break e}if(E=l+(n<<4)|0,B=l+(e[s+(n<<2)>>2]<<4)|0,e[c>>2]=e[r>>2],e[c+4>>2]=e[r+4>>2],e[c+8>>2]=e[r+8>>2],e[c+12>>2]=e[r+12>>2],e[f>>2]=e[t>>2],e[f+4>>2]=e[t+4>>2],e[f+8>>2]=e[t+8>>2],e[f+12>>2]=e[t+12>>2],e[w>>2]=e[E>>2],e[w+4>>2]=e[E+4>>2],e[w+8>>2]=e[E+8>>2],e[w+12>>2]=e[E+12>>2],e[p>>2]=e[B>>2],e[p+4>>2]=e[B+4>>2],e[p+8>>2]=e[B+8>>2],e[p+12>>2]=e[B+12>>2],!($3(c,f,w,p)|0))n=n+1|0,v=4;else{n=0;break}}while(0);return g=m,n|0}function t9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,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A>>2]|0)+(p<<4),l=i+1|0,e[f>>2]=(e[v+(l<<2)>>2]|0)-p,e[n>>2]=e[s>>2],e[n+4>>2]=e[s+4>>2],e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],!(H3(n,o)|0))i=l;else break}return g=w,i|0}function rl0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=g,g=g+64|0,p=z+48|0,w=z+32|0,m=z+16|0,v=z,B=e[o+4>>2]|0,x=e[o+8>>2]|0,E=e[o+16>>2]|0,l=(n|0)<0;do if((t|0)<0)l?(l=0,A=0,o=0,s=0):(t=e[o+12>>2]|0,o=0,s=0,A=n,c=t,t=t+(n<<2)|0,f=9);else{if(l){f=e[o+12>>2]|0,o=0,s=0,A=t,c=f,t=f+(t<<2)|0,f=9;break}if(l=e[o+12>>2]|0,(t|0)>(n|0)){o=e[l+(n+1<<2)>>2]|0,s=e[l+(n<<2)>>2]|0,A=t,c=l,t=l+(t<<2)|0,f=9;break}else{o=e[l+(t+1<<2)>>2]|0,s=e[l+(t<<2)>>2]|0,A=n,c=l,t=l+(n<<2)|0,f=9;break}}while(0);for((f|0)==9&&(l=e[c+(A+1<<2)>>2]|0,A=e[t>>2]|0),t=0;;){if((t|0)>=(s|0)){f=13;break}if(c=x+(t<<4)|0,n=x+(e[E+(t<<2)>>2]<<4)|0,e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],e[w>>2]=e[c>>2],e[w+4>>2]=e[c+4>>2],e[w+8>>2]=e[c+8>>2],e[w+12>>2]=e[c+12>>2],e[p>>2]=e[n>>2],e[p+4>>2]=e[n+4>>2],e[p+8>>2]=e[n+8>>2],e[p+12>>2]=e[n+12>>2],!($3(v,m,w,p)|0))t=t+1|0;else{l=0;break}}e:do if((f|0)==13){for(;!((o|0)>=(A|0));)if(n=x+(o<<4)|0,f=x+(e[E+(o<<2)>>2]<<4)|0,e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],e[w>>2]=e[n>>2],e[w+4>>2]=e[n+4>>2],e[w+8>>2]=e[n+8>>2],e[w+12>>2]=e[n+12>>2],e[p>>2]=e[f>>2],e[p+4>>2]=e[f+4>>2],e[p+8>>2]=e[f+8>>2],e[p+12>>2]=e[f+12>>2],!($3(v,m,w,p)|0))o=o+1|0,f=13;else{l=0;break e}for(;;){if((l|0)>=(B|0)){l=1;break e}if(n=x+(l<<4)|0,f=x+(e[E+(l<<2)>>2]<<4)|0,e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],e[w>>2]=e[n>>2],e[w+4>>2]=e[n+4>>2],e[w+8>>2]=e[n+8>>2],e[w+12>>2]=e[n+12>>2],e[p>>2]=e[f>>2],e[p+4>>2]=e[f+4>>2],e[p+8>>2]=e[f+8>>2],e[p+12>>2]=e[f+12>>2],!($3(v,m,w,p)|0))l=l+1|0;else{l=0;break}}}while(0);return g=z,l|0}function tl0(r){return r=r|0,il0(r,0,0)|0}function il0(r,t,i){return r=r|0,t=t|0,i=i|0,nl0(r,t,i,0)|0}function nl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;t?(o=nr[e[t>>2]&63](496)|0,o?(l=e[t>>2]|0,e[o+12>>2]=l,e[o+16>>2]=e[t+4>>2],e[o+20>>2]=e[t+8>>2],t=l,l=6):o=0):(o=Te(496)|0,o?(e[o+12>>2]=35,e[o+16>>2]=107,e[o+20>>2]=105,t=35,l=6):o=0);do if((l|0)==6){if(e[o+8>>2]=0,e[o+32>>2]=0,e[o+376>>2]=16,A=o+12|0,s=nr[t&63](256)|0,t=o+388|0,e[t>>2]=s,!s){l2[e[o+20>>2]&127](o),o=0;break}if(l=nr[e[A>>2]&63](1024)|0,s=o+44|0,e[s>>2]=l,!l){i=o+20|0,l2[e[i>>2]&127](e[t>>2]|0),l2[e[i>>2]&127](o),o=0;break}if(e[o+48>>2]=l+1024,n)e[o+352>>2]=n;else if(n=ol0(A)|0,e[o+352>>2]=n,!n){i=o+20|0,l2[e[i>>2]&127](e[s>>2]|0),l2[e[i>>2]&127](e[t>>2]|0),l2[e[i>>2]&127](o),o=0;break}if(e[o+372>>2]=0,e[o+364>>2]=0,e[o+300>>2]=0,e[o+464>>2]=0,e[o+460>>2]=0,e[o+124>>2]=0,e[o+244>>2]=0,t=o+468|0,C[t>>0]=33,l=o+232|0,C[l>>0]=0,C[o+233>>0]=0,e[o+392>>2]=0,e[o+396>>2]=0,C[o+400>>0]=0,n=o+228|0,e[n>>2]=0,ad(o+412|0,A),ad(o+436|0,A),ll0(o,r),r|0&&!(e[n>>2]|0)){JG(o),o=0;break}if(i){C[l>>0]=1,e[o+224>>2]=zC0()|0,C[t>>0]=C[i>>0]|0;break}else{e[o+224>>2]=v70()|0;break}}while(0);return o|0}function ol0(r){r=r|0;var t=0;return t=nr[e[r>>2]&63](188)|0,t|0&&(ad(t+80|0,r),ad(t+104|0,r),eh(t,r),eh(t+20|0,r),eh(t+40|0,r),eh(t+60|0,r),C[t+131>>0]=0,eh(t+132|0,r),e[t+152>>2]=0,e[t+156>>2]=0,C[t+160>>0]=0,r=t+164|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0,e[r+16>>2]=0,e[r+20>>2]=0,C[t+128>>0]=1,C[t+129>>0]=0,C[t+130>>0]=0),t|0}function ad(r,t){r=r|0,t=t|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0,e[r+16>>2]=0,e[r+20>>2]=t}function ll0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;e[r+276>>2]=56,MC0(r+252|0),t|0&&(e[r+228>>2]=ul0(t,r+12|0)|0),e[r+356>>2]=0,NP(r+148|0,r+144|0,0)|0,e[r>>2]=0,e[r+4>>2]=0,t=r+116|0,n=r+52|0,o=n+64|0;do e[n>>2]=0,n=n+4|0;while((n|0)<(o|0));e[t>>2]=r,e[r+120>>2]=0,t=r+128|0,e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,t=e[r+8>>2]|0,e[r+24>>2]=t,e[r+28>>2]=t,e[r+36>>2]=0,e[r+40>>2]=0,t=r+312|0,n=r+404|0,e[n>>2]=0,e[n+4>>2]=0,n=r+280|0,i=r+304|0,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,n=t,o=n+36|0;do e[n>>2]=0,n=n+4|0;while((n|0)<(o|0));$[t+36>>1]=0,C[i>>0]=1,e[r+308>>2]=0,e[r+360>>2]=0,e[r+368>>2]=0,e[r+380>>2]=0,e[r+236>>2]=0,e[r+248>>2]=0,e[r+240>>2]=0,e[r+472>>2]=0,e[r+476>>2]=0,C[r+484>>0]=0,C[r+485>>0]=0,e[r+488>>2]=0,e[r+492>>2]=0}function JG(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(r|0){for(i=r+364|0,o=r+20|0,t=e[r+360>>2]|0;;){if(!t){if(t=e[i>>2]|0,!t)break;e[i>>2]=0}l=e[t>>2]|0,l2[e[o>>2]&127](e[t+36>>2]|0),i9(e[t+44>>2]|0,r),l2[e[o>>2]&127](t),t=l}for(i=r+300|0,t=e[r+296>>2]|0;;){if(!t){if(t=e[i>>2]|0,!t)break;e[i>>2]=0}l=e[t+8>>2]|0,l2[e[o>>2]&127](t),t=l}i9(e[r+372>>2]|0,r),i9(e[r+368>>2]|0,r),cd(r+412|0),cd(r+436|0),t=r+12|0,l2[e[o>>2]&127](e[r+228>>2]|0),!(C[r+484>>0]|0)&&(n=e[r+352>>2]|0,n|0)&&sl0(n,(e[r+472>>2]|0)==0&1,t),l2[e[o>>2]&127](e[r+388>>2]|0),l2[e[o>>2]&127](e[r+460>>2]|0),l2[e[o>>2]&127](e[r+8>>2]|0),l2[e[o>>2]&127](e[r+44>>2]|0),l2[e[o>>2]&127](e[r+392>>2]|0),l2[e[o>>2]&127](e[r+236>>2]|0),t=e[r+248>>2]|0,t|0&&l2[t&127](e[r+240>>2]|0),l2[e[o>>2]&127](r)}}function i9(r,t){r=r|0,t=t|0;var i=0;for(t=t+20|0;r;)i=e[r+4>>2]|0,l2[e[t>>2]&127](e[r+16>>2]|0),l2[e[t>>2]&127](r),r=i}function cd(r){r=r|0;var t=0,i=0,n=0;for(i=r+20|0,t=e[r>>2]|0;t;)n=e[t>>2]|0,l2[e[(e[i>>2]|0)+8>>2]&127](t),t=n;for(t=e[r+4>>2]|0;t;)n=e[t>>2]|0,l2[e[(e[i>>2]|0)+8>>2]&127](t),t=n}function sl0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,o=s,l=r+20|0,n9(o,l),i=i+8|0;n=o9(o)|0,!!n;)e[n+16>>2]|0&&l2[e[i>>2]&127](e[n+20>>2]|0);K3(r),K3(r+132|0),K3(l),K3(r+40|0),K3(r+60|0),cd(r+80|0),cd(r+104|0),t<<24>>24&&(l2[e[i>>2]&127](e[r+184>>2]|0),l2[e[i>>2]&127](e[r+164>>2]|0)),l2[e[i>>2]&127](r),g=s}function n9(r,t){r=r|0,t=t|0;var i=0;i=e[t>>2]|0,e[r>>2]=i,e[r+4>>2]=i+(e[t+8>>2]<<2)}function o9(r){r=r|0;var t=0,i=0,n=0;i=e[r+4>>2]|0,n=e[r>>2]|0;do{if((n|0)==(i|0)){t=0;break}t=n,n=n+4|0,e[r>>2]=n,t=e[t>>2]|0}while(!(t|0));return t|0}function K3(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(i=r+8|0,n=r+16|0,t=0;o=e[(e[n>>2]|0)+8>>2]|0,l=e[r>>2]|0,!(t>>>0>=(e[i>>2]|0)>>>0);)l2[o&127](e[l+(t<<2)>>2]|0),t=t+1|0;l2[o&127](l)}function Al0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=al0(r)|0,o||(e[r+276>>2]=57,o=l9(r,t,i,n)|0),o|0}function ul0(r,t){r=r|0,t=t|0;var i=0,n=0;i=0;do n=i,i=i+1|0;while(C[r+n>>0]|0);return t=nr[e[t>>2]&63](i)|0,t?u2(t|0,r|0,i|0)|0:t=0,t|0}function al0(r){r=r|0;var t=0;return t=r+228|0,oe[(C[r+232>>0]<<24>>24?38:37)&63](r+148|0,r+144|0,e[t>>2]|0)|0?r=0:r=kZ(r,e[t>>2]|0)|0,r|0}function l9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return o=g,g=g+16|0,l=o,e[l>>2]=t,A=r+144|0,s=e[A>>2]|0,s=e2[e[s>>2]&127](s,t,i,l)|0,n=fd(r,e[A>>2]|0,t,i,s,e[l>>2]|0,n,(C[r+480>>0]|0)==0&1)|0,g=o,n|0}function fd(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0;var c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0,dr=0,D2=0,ue=0,gr=0,yr=0,ur=0,Fe=0,M2=0,Ti=0,ci=0,g1=0,$2=0,It=0,Ir=0,y1=0,Rr=0,c8=0,Uk=0,Fi=0,Xk=0,nl=0,HE=0,Pa=0,Ya=0,qk=0,Ws=0,f8=0,Va=0,JE=0,UE=0,or=0,KY=0,XE=0,qE=0;qE=g,g=g+16|0,or=qE,e[or>>2]=l,m=e[r+352>>2]|0,E=r+144|0,(e[E>>2]|0)==(t|0)?(p=r+284|0,v=r+288|0,y1=r+296|0):(y1=r+296|0,v=e[y1>>2]|0,p=v,v=v+4|0),B=A<<24>>24!=0,c8=r+252|0,x=r+80|0,z=r+476|0,_=r+84|0,L=r+320|0,Z=r+412|0,W=r+316|0,N=r+424|0,T=r+428|0,D=r+324|0,Fi=r+4|0,P=r+485|0,X=m+132|0,U=r+312|0,nl=m+129|0,F=m+128|0,q=m+80|0,t0=m+92|0,Y=m+96|0,H=r+136|0,a0=r+88|0,k0=r+488|0,Pa=r+112|0,Ya=m+131|0,qk=r+116|0,Ws=m+130|0,f8=r+108|0,Va=r+356|0,B0=r+340|0,D0=r+132|0,J0=r+344|0,O0=r+348|0,Z0=r+328|0,F0=r+349|0,b0=r+420|0,V0=m+120|0,ze=m+116|0,me=r+92|0,pe=r+472|0,g2=r+336|0,i2=r+332|0,T2=r+96|0,dr=r+256|0,D2=r+464|0,ue=r+460|0,gr=m+160|0,yr=m+184|0,ur=m+180|0,Fe=m+164|0,M2=r+128|0,Ti=r+12|0,ci=r+16|0,g1=r+268|0,$2=r+120|0,It=m+176|0,Ir=m+168|0,w=t,f=i,t=o;e:for(;;){e[p>>2]=f,i=e[or>>2]|0,e[v>>2]=i,l=i;r:do if((t|0)<1){if(B&(t|0)!=0){c=7;break e}switch(t|0){case-1:{l=5,c=280;break e}case 0:{c=9;break e}case-2:{l=6;break e}case-4:{c=10;break e}case-15:{t=15;break r}default:}e[or>>2]=n,t=0-t|0,l=n}while(0);o=ai[e[c8>>2]&127](c8,t,f,l,w)|0;r:do switch(o|0){case 2:{c=58;break e}case-1:{c=184;break e}case 1:{if(l=UG(r,0,f,e[or>>2]|0)|0,l|0){c=280;break e}l=e[E>>2]|0;break}case 4:{if(!(e[_>>2]|0))l=1;else{if(c=_t(Z,w,f,e[or>>2]|0)|0,e[W>>2]=c,!c){l=1,c=280;break e}e[T>>2]=e[N>>2],e[D>>2]=0,l=0}e[L>>2]=0,c=274;break}case 7:{l=e[_>>2]|0,l?(Fa[l&15](e[Fi>>2]|0,e[W>>2]|0,e[L>>2]|0,e[D>>2]|0,1),e[W>>2]=0,ao(Z),l=w):c=275;break}case 57:{if(l=UG(r,1,f,e[or>>2]|0)|0,l|0){c=280;break e}l=e[E>>2]|0;break}case 6:{if(C[P>>0]=0,c=vi(r,X,75395,36)|0,e[U>>2]=c,!c){l=1,c=280;break e}if(C[nl>>0]=1,!(e[_>>2]|0))c=33;else{if(!(e2[e[w+52>>2]&127](w,f,e[or>>2]|0,p)|0)){l=32,c=280;break e}if(l=e[w+64>>2]|0,l=_t(Z,w,f+l|0,(e[or>>2]|0)+(0-l)|0)|0,!l){l=1,c=280;break e}s9(l),e[T>>2]=e[N>>2],e[D>>2]=l,l=0,c=34}break}case 14:{c=33;break}case 8:{if(l=e[W>>2]|0,l?(Fa[e[_>>2]&15](e[Fi>>2]|0,l,e[L>>2]|0,e[D>>2]|0,0),ao(Z),l=0):l=1,!(!(e[L>>2]|0)&&!(C[P>>0]|0))){i=C[nl>>0]|0,C[nl>>0]=1;do if(e[k0>>2]|0&&e[Pa>>2]|0){if(o=vi(r,X,75395,36)|0,!o){l=1,c=280;break e}if(C[P>>0]|0?(t=o+20|0,e[t>>2]=e[Va>>2]):t=o+20|0,C[Ya>>0]=0,!(ai[e[Pa>>2]&127](e[qk>>2]|0,0,e[t>>2]|0,e[o+16>>2]|0,e[o+24>>2]|0)|0)){l=21,c=280;break e}if(!(C[Ya>>0]|0)){if(e[L>>2]|0)break;C[nl>>0]=i;break}if(!(C[Ws>>0]|0)&&(Rr=e[f8>>2]|0,Rr|0)&&!(nr[Rr&63](e[Fi>>2]|0)|0)){l=22,c=280;break e}}while(0);C[P>>0]=0}t=e[a0>>2]|0,t?(l2[t&127](e[Fi>>2]|0),l=w):c=274;break}case 34:{if(c=u9(r,w,f,e[or>>2]|0)|0,e[B0>>2]=c,c)c=80;else{l=1,c=280;break e}break}case 22:{if(c=XG(r,w,f,e[or>>2]|0)|0,e[J0>>2]=c,!c){l=1,c=280;break e}C[O0>>0]=0,e[Z0>>2]=0,C[F0>>0]=0,c=80;break}case 23:{C[O0>>0]=1,e[Z0>>2]=142188,c=80;break}case 24:{C[F0>>0]=1,e[Z0>>2]=142194,c=80;break}case 25:{e[Z0>>2]=142197,c=80;break}case 26:{e[Z0>>2]=142203,c=80;break}case 27:{e[Z0>>2]=142210,c=80;break}case 28:{e[Z0>>2]=142217,c=80;break}case 29:{e[Z0>>2]=142226,c=80;break}case 30:{e[Z0>>2]=142234,c=80;break}case 32:case 31:{if(C[F>>0]|0&&e[D0>>2]|0){if(!(cl0(Z,e[Z0>>2]|0?142255:(o|0)==32?142243:142253)|0)){l=1,c=280;break e}if(!(hd(Z,w,f,e[or>>2]|0)|0)){l=1,c=280;break e}e[Z0>>2]=e[T>>2],l=w}else c=275;break}case 36:case 35:{if(C[F>>0]|0){if(!(qG(e[B0>>2]|0,e[J0>>2]|0,C[O0>>0]|0,C[F0>>0]|0,0,r)|0)){l=1,c=280;break e}if(e[D0>>2]|0&&(Uk=e[Z0>>2]|0,(Uk|0)!=0)){switch(C[Uk>>0]|0){case 40:{c=93;break}case 78:{(C[Uk+1>>0]|0)==79&&(c=93);break}default:}if((c|0)==93){if(c=0,l=e[N>>2]|0,(l|0)==(e[b0>>2]|0)){if(!((wr(Z)|0)<<24>>24)){l=1,c=280;break e}l=e[N>>2]|0}if(e[N>>2]=l+1,C[l>>0]=41,l=e[N>>2]|0,(l|0)==(e[b0>>2]|0)){if(!((wr(Z)|0)<<24>>24)){l=1,c=280;break e}l=e[N>>2]|0}e[N>>2]=l+1,C[l>>0]=0,e[Z0>>2]=e[T>>2],e[T>>2]=e[N>>2]}e[v>>2]=f,Kf[e[D0>>2]&15](e[Fi>>2]|0,e[e[B0>>2]>>2]|0,e[e[J0>>2]>>2]|0,e[Z0>>2]|0,0,(o|0)==36&1),ao(Z),l=w}else c=275}else c=275;break}case 38:case 37:{if(C[F>>0]|0){if(l=e[w+64>>2]|0,l=$G(r,w,C[O0>>0]|0,f+l|0,(e[or>>2]|0)+(0-l)|0,q)|0,l|0){c=280;break e}if(t=e[Y>>2]|0,e[Y>>2]=e[t0>>2],!(qG(e[B0>>2]|0,e[J0>>2]|0,C[O0>>0]|0,0,t,r)|0)){l=1,c=280;break e}if(e[D0>>2]|0&&(Xk=e[Z0>>2]|0,(Xk|0)!=0)){switch(C[Xk>>0]|0){case 40:{c=108;break}case 78:{(C[Xk+1>>0]|0)==79&&(c=108);break}default:}if((c|0)==108){if(c=0,l=e[N>>2]|0,(l|0)==(e[b0>>2]|0)){if(!((wr(Z)|0)<<24>>24)){l=1,c=280;break e}l=e[N>>2]|0}if(e[N>>2]=l+1,C[l>>0]=41,l=e[N>>2]|0,(l|0)==(e[b0>>2]|0)){if(!((wr(Z)|0)<<24>>24)){l=1,c=280;break e}l=e[N>>2]|0}e[N>>2]=l+1,C[l>>0]=0,e[Z0>>2]=e[T>>2],e[T>>2]=e[N>>2]}e[v>>2]=f,Kf[e[D0>>2]&15](e[Fi>>2]|0,e[e[B0>>2]>>2]|0,e[e[J0>>2]>>2]|0,e[Z0>>2]|0,t,(o|0)==38&1),ao(Z),l=w}else c=275}else c=275;break}case 12:{if(C[F>>0]|0)if(l=e[w+64>>2]|0,l=KG(r,w,f+l|0,(e[or>>2]|0)+(0-l)|0)|0,t=e[U>>2]|0,i=e[V0>>2]|0,t?(e[t+4>>2]=i,e[(e[U>>2]|0)+8>>2]=(e[ze>>2]|0)-(e[V0>>2]|0),e[V0>>2]=e[ze>>2],e[H>>2]|0?(e[v>>2]=f,t=e[U>>2]|0,Jk[e[H>>2]&0](e[Fi>>2]|0,e[t>>2]|0,s0[t+33>>0]|0,e[t+4>>2]|0,e[t+8>>2]|0,e[Va>>2]|0,0,0,0),t=0):t=1):(e[ze>>2]=i,t=1),!l)l=t,c=274;else{c=280;break e}else c=275;break}case 5:{if(C[P>>0]=0,C[nl>>0]=1,!(e[_>>2]|0))e[L>>2]=75395,l=1;else{if(c=e[w+64>>2]|0,c=_t(Z,w,f+c|0,(e[or>>2]|0)+(0-c)|0)|0,e[L>>2]=c,!c){l=1,c=280;break e}e[T>>2]=e[N>>2],l=0}if(!(C[Ws>>0]|0)&&!(e[k0>>2]|0)&&(HE=e[f8>>2]|0,HE|0)&&!(nr[HE&63](e[Fi>>2]|0)|0)){l=22,c=280;break e}if(e[U>>2]|0)c=133;else{if(t=vi(r,X,75395,36)|0,e[U>>2]=t,!t){l=1,c=280;break e}e[t+24>>2]=0,c=133}break}case 13:{l=1,c=133;break}case 15:{C[F>>0]|0&&e[U>>2]|0&&e[H>>2]|0?(e[v>>2]=f,l=e[U>>2]|0,Jk[e[H>>2]&0](e[Fi>>2]|0,e[l>>2]|0,s0[l+33>>0]|0,0,0,e[l+20>>2]|0,e[l+16>>2]|0,e[l+24>>2]|0,0),l=w):c=275;break}case 16:{if(C[F>>0]|0&&e[U>>2]|0){if(o=_t(q,w,f,e[or>>2]|0)|0,e[(e[U>>2]|0)+28>>2]=o,!(e[(e[U>>2]|0)+28>>2]|0)){l=1,c=280;break e}if(e[Y>>2]=e[t0>>2],e[me>>2]|0){e[v>>2]=f,l=e[U>>2]|0,Kf[e[me>>2]&15](e[Fi>>2]|0,e[l>>2]|0,e[l+20>>2]|0,e[l+16>>2]|0,e[l+24>>2]|0,e[l+28>>2]|0),l=w;break r}e[H>>2]|0?(e[v>>2]=f,l=e[U>>2]|0,Jk[e[H>>2]&0](e[Fi>>2]|0,e[l>>2]|0,0,0,0,e[l+20>>2]|0,e[l+16>>2]|0,e[l+24>>2]|0,e[l+28>>2]|0),l=w):c=275}else c=275;break}case 9:{if(oe[e[w+44>>2]&63](w,f,e[or>>2]|0)|0){e[U>>2]=0,c=275;break r}if(!(C[F>>0]|0)){e[t0>>2]=e[Y>>2],e[U>>2]=0,c=275;break r}if(l=_t(q,w,f,e[or>>2]|0)|0,!l){l=1,c=280;break e}if(t=vi(r,m,l,36)|0,e[U>>2]=t,!t){l=1,c=280;break e}if((e[t>>2]|0)!=(l|0)){e[t0>>2]=e[Y>>2],e[U>>2]=0,c=275;break r}e[Y>>2]=e[t0>>2],e[(e[U>>2]|0)+24>>2]=0,C[(e[U>>2]|0)+33>>0]=0,e[pe>>2]|0?l=1:l=(e[y1>>2]|0)!=0,C[(e[U>>2]|0)+34>>0]=(l^1)&1,e[H>>2]|0?l=w:c=275;break}case 10:{if(!(C[F>>0]|0)){e[t0>>2]=e[Y>>2],e[U>>2]=0,c=275;break r}if(l=_t(q,w,f,e[or>>2]|0)|0,!l){l=1,c=280;break e}if(t=vi(r,X,l,36)|0,e[U>>2]=t,!t){l=1,c=280;break e}if((e[t>>2]|0)!=(l|0)){e[t0>>2]=e[Y>>2],e[U>>2]=0,c=275;break r}e[Y>>2]=e[t0>>2],e[(e[U>>2]|0)+24>>2]=0,C[(e[U>>2]|0)+33>>0]=1,e[pe>>2]|0?l=1:l=(e[y1>>2]|0)!=0,C[(e[U>>2]|0)+34>>0]=(l^1)&1,e[H>>2]|0?l=w:c=275;break}case 18:{if(e[g2>>2]=0,e[i2>>2]=0,!(e[T2>>2]|0))c=275;else{if(f=_t(Z,w,f,e[or>>2]|0)|0,e[i2>>2]=f,!f){l=1,c=280;break e}e[T>>2]=e[N>>2],l=w}break}case 21:{if(!(e2[e[w+52>>2]&127](w,f,e[or>>2]|0,p)|0)){l=32,c=280;break e}if(!(e[i2>>2]|0))c=275;else{if(l=e[w+64>>2]|0,l=_t(Z,w,f+l|0,(e[or>>2]|0)+(0-l)|0)|0,!l){l=1,c=280;break e}s9(l),e[g2>>2]=l,e[T>>2]=e[N>>2],l=w}break}case 19:{if(e[i2>>2]|0&&e[T2>>2]|0){if(l=e[w+64>>2]|0,l=_t(Z,w,f+l|0,(e[or>>2]|0)+(0-l)|0)|0,!l){l=1,c=280;break e}e[v>>2]=f,Fa[e[T2>>2]&15](e[Fi>>2]|0,e[i2>>2]|0,e[Va>>2]|0,l,e[g2>>2]|0),l=0}else l=1;ao(Z),c=274;break}case 20:{e[g2>>2]|0&&e[T2>>2]|0?(e[v>>2]=f,Fa[e[T2>>2]&15](e[Fi>>2]|0,e[i2>>2]|0,e[Va>>2]|0,0,e[g2>>2]|0),l=0):l=1,ao(Z),c=274;break}case 58:{if(e[x>>2]|0&&zt(r,w,f,e[or>>2]|0),l=bG(r,w,or,n,s,A)|0,l|0){c=280;break e}if(e[or>>2]|0)l=w;else{c=189;break e}break}case 44:{l=e[D2>>2]|0;do if((e[dr>>2]|0)>>>0>=l>>>0){if(!l){if(o=e[Ti>>2]|0,e[D2>>2]=32,o=nr[o&63](32)|0,e[ue>>2]=o,o)break;c=198;break e}if(i=e[ci>>2]|0,o=e[ue>>2]|0,l=l<<1,e[D2>>2]=l,l=ke[i&127](o,l)|0,!l){c=193;break e}if(e[ue>>2]=l,l=e[yr>>2]|0,l|0){if(l=ke[e[ci>>2]&127](l,e[D2>>2]<<2)|0,!l){l=1,c=280;break e}e[yr>>2]=l}}while(0);if(C[(e[ue>>2]|0)+(e[dr>>2]|0)>>0]=0,C[gr>>0]|0){if(l=eZ(r)|0,(l|0)<0){l=1,c=280;break e}e[(e[yr>>2]|0)+(e[ur>>2]<<2)>>2]=l,e[ur>>2]=(e[ur>>2]|0)+1,e[(e[Fe>>2]|0)+(l*28|0)>>2]=6,e[M2>>2]|0?l=w:c=275}else c=275;break}case 50:{if(l=(e[ue>>2]|0)+(e[dr>>2]|0)|0,(C[l>>0]|0)==124){l=2,c=280;break e}C[l>>0]=44,C[gr>>0]|0&&e[M2>>2]|0?l=w:c=275;break}case 49:{if(i=e[ue>>2]|0,t=e[dr>>2]|0,l=C[i+t>>0]|0,l<<24>>24==44){l=2,c=280;break e}l<<24>>24==0&(C[gr>>0]|0)!=0&&(JE=(e[Fe>>2]|0)+((e[(e[yr>>2]|0)+((e[ur>>2]|0)+-1<<2)>>2]|0)*28|0)|0,(e[JE>>2]|0)!=3)?(e[JE>>2]=5,l=(e[M2>>2]|0)==0&1,i=e[ue>>2]|0,t=e[dr>>2]|0):l=1,C[i+t>>0]=124,c=274;break}case 59:case 60:{if(C[nl>>0]=1,e[k0>>2]|0){if(t=e[w+64>>2]|0,t=_t(q,w,f+t|0,(e[or>>2]|0)+(0-t)|0)|0,!t){l=1,c=280;break e}i=vi(r,X,t,0)|0,e[t0>>2]=e[Y>>2];do if(e[g1>>2]|0){if(C[Ws>>0]|0){if(e[y1>>2]|0){c=219;break}}else if(C[nl>>0]|0){c=219;break}if(!i){l=11,c=280;break e}if(!(C[i+34>>0]|0)){l=24,c=280;break e}}else c=219;while(0);if((c|0)==219&&(c=0,(i|0)==0)){if(C[F>>0]=C[Ws>>0]|0,(o|0)!=60){c=275;break r}if(l=e[$2>>2]|0,!l){c=275;break r}hr[l&127](e[Fi>>2]|0,t,1),l=w;break r}if(l=i+32|0,C[l>>0]|0){l=12,c=280;break e}if(e[i+4>>2]|0)if(l=rZ(r,i,(o|0)==60&1)|0,t=(l|0)==0,t){l=(t^1)&1,c=274;break r}else{c=280;break e}if(!(e[Pa>>2]|0)){C[F>>0]=C[Ws>>0]|0,c=275;break r}if(C[Ya>>0]=0,C[l>>0]=1,o=(ai[e[Pa>>2]&127](e[qk>>2]|0,0,e[i+20>>2]|0,e[i+16>>2]|0,e[i+24>>2]|0)|0)==0,C[l>>0]=0,o){l=21,c=280;break e}if(t=C[Ws>>0]|0,C[Ya>>0]|0)l=0;else{C[F>>0]=t,l=w;break r}}else t=C[Ws>>0]|0,C[F>>0]=t,l=1;if(!(t<<24>>24)&&(UE=e[f8>>2]|0,(UE|0)!=0)&&!(nr[UE&63](e[Fi>>2]|0)|0)){l=22,c=280;break e}else c=274;break}case 40:{if(!(e[M2>>2]|0))c=275;else{if(f=u9(r,w,f,e[or>>2]|0)|0,e[B0>>2]=f,!f){l=1,c=280;break e}e[ur>>2]=0,e[It>>2]=0,C[gr>>0]=1,l=w}break}case 42:case 41:{if(!(C[gr>>0]|0))c=275;else{if(!(e[M2>>2]|0))l=1;else{if(l=nr[e[Ti>>2]&63](20)|0,!l){l=1,c=280;break e}c=l+4|0,e[c>>2]=0,e[c+4>>2]=0,e[c+8>>2]=0,e[c+12>>2]=0,e[l>>2]=(o|0)==41?2:1,e[v>>2]=f,hr[e[M2>>2]&127](e[Fi>>2]|0,e[e[B0>>2]>>2]|0,l),l=0}C[gr>>0]=0,c=274}break}case 43:{C[gr>>0]|0&&(e[(e[Fe>>2]|0)+((e[(e[yr>>2]|0)+((e[ur>>2]|0)+-1<<2)>>2]|0)*28|0)>>2]=3,(e[M2>>2]|0)!=0)?l=w:c=275;break}case 51:{t=0,c=247;break}case 53:{t=1,c=247;break}case 52:{t=2,c=247;break}case 54:{t=3,c=247;break}case 45:{i=0,c=258;break}case 47:{i=1,c=258;break}case 46:{i=2,c=258;break}case 48:{i=3,c=258;break}case 55:{if(a9(r,w,f,e[or>>2]|0)|0)l=w;else{l=1,c=280;break e}break}case 56:{if(c9(r,w,f,e[or>>2]|0)|0)l=w;else{l=1,c=280;break e}break}case 0:{(t|0)==14?l=w:c=275;break}case 3:{e[_>>2]|0?l=w:c=275;break}case 11:{C[F>>0]|0&&e[H>>2]|0?l=w:c=275;break}case 17:{e[T2>>2]|0?l=w:c=275;break}case 33:{C[F>>0]|0&&e[D0>>2]|0?l=w:c=275;break}case 39:{e[M2>>2]|0?l=w:c=275;break}default:c=275}while(0);if((c|0)==33)if(e2[e[w+52>>2]&127](w,f,e[or>>2]|0,p)|0)l=1,c=34;else{l=32,c=280;break}else if((c|0)==80)c=0,C[F>>0]|0&&e[D0>>2]|0?l=w:c=275;else if((c|0)==133)if(c=0,C[F>>0]|0&&e[U>>2]|0){if(t=e[w+64>>2]|0,t=_t(q,w,f+t|0,(e[or>>2]|0)+(0-t)|0)|0,e[(e[U>>2]|0)+16>>2]=t,t=e[U>>2]|0,!(e[t+16>>2]|0)){l=1,c=280;break}e[t+20>>2]=e[Va>>2],e[Y>>2]=e[t0>>2],(o|0)==13&(e[H>>2]|0)!=0?l=w:c=274}else c=274;else if((c|0)==247)if(c=0,C[gr>>0]|0){if(l=e[or>>2]|0,t&&(l=l+(0-(e[w+64>>2]|0))|0),i=eZ(r)|0,(i|0)<0){l=1,c=280;break}if(e[(e[Fe>>2]|0)+(i*28|0)>>2]=4,e[(e[Fe>>2]|0)+(i*28|0)+4>>2]=t,l=u9(r,w,f,l)|0,!l){l=1,c=280;break}t=e[l>>2]|0,e[(e[Fe>>2]|0)+(i*28|0)+8>>2]=t,l=0;do o=l,l=l+1|0;while(C[t+o>>0]|0);e[Ir>>2]=(e[Ir>>2]|0)+l,e[M2>>2]|0?l=w:c=275}else c=275;else if((c|0)==258)if(C[gr>>0]|0)if(t=(e[M2>>2]|0)==0,l=t&1,c=(e[ur>>2]|0)+-1|0,e[ur>>2]=c,e[(e[Fe>>2]|0)+((e[(e[yr>>2]|0)+(c<<2)>>2]|0)*28|0)+4>>2]=i,e[ur>>2]|0)c=274;else{if(!t){if(t=hl0(r)|0,!t){l=1,c=280;break}e[v>>2]=f,hr[e[M2>>2]&127](e[Fi>>2]|0,e[e[B0>>2]>>2]|0,t)}C[gr>>0]=0,e[Ir>>2]=0,c=274}else c=275;if((c|0)==34)if(c=0,C[F>>0]|0&&e[U>>2]|0){if(t=e[w+64>>2]|0,t=_t(q,w,f+t|0,(e[or>>2]|0)+(0-t)|0)|0,!t){l=1,c=280;break}s9(t),e[(e[U>>2]|0)+24>>2]=t,e[Y>>2]=e[t0>>2],(o|0)==14&(e[H>>2]|0)!=0?l=w:c=274}else c=274;switch((c|0)==274&&(c=0,l<<24>>24?c=275:l=w),(c|0)==275&&(c=0,e[x>>2]|0&&zt(r,w,f,e[or>>2]|0),l=w),e[z>>2]|0){case 3:{c=278;break e}case 2:{l=35,c=280;break e}default:}t=e[or>>2]|0,w=l,f=t,t=e2[e[l>>2]&127](l,t,n,or)|0}e:switch(c|0){case 7:{e[s>>2]=f,l=0;break}case 9:{e[p>>2]=i,l=4;break}case 10:{if(l=(w|0)==(e[E>>2]|0),!l&&!(C[(e[y1>>2]|0)+20>>0]|0)){e[s>>2]=f,l=0;break}(C[r+484>>0]|0)!=0|l^1?(ai[e[c8>>2]&127](c8,-4,n,n,w)|0)==-1?l=29:(e[s>>2]=f,l=0):l=3;break}case 58:{do if(C[P>>0]|0&&(KY=C[nl>>0]|0,C[nl>>0]=1,e[k0>>2]|0)&&e[Pa>>2]|0){if(l=vi(r,X,75395,36)|0,!l){l=1;break e}if(or=l+20|0,e[or>>2]=e[Va>>2],C[Ya>>0]=0,!(ai[e[Pa>>2]&127](e[qk>>2]|0,0,e[or>>2]|0,e[l+16>>2]|0,e[l+24>>2]|0)|0)){l=21;break e}if(!(C[Ya>>0]|0)){C[nl>>0]=KY;break}if(!(C[Ws>>0]|0)&&(XE=e[f8>>2]|0,XE|0)&&!(nr[XE&63](e[Fi>>2]|0)|0)){l=22;break e}}while(0);e[r+276>>2]=58,l=A9(r,f,n,s)|0;break}case 184:{l=(t|0)==28?10:(t|0)==12?17:2;break}case 189:{e[r+276>>2]=59,l=0;break}case 193:{e[D2>>2]=(e[D2>>2]|0)>>>1,l=1;break}case 198:{e[D2>>2]=0,l=1;break}case 278:{e[s>>2]=e[or>>2],l=0;break}case 280:break}return g=qE,l|0}function UG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;m=g,g=g+32|0,v=m+16|0,f=m+12|0,s=m+8|0,A=m+4|0,c=m,e[v>>2]=0,e[f>>2]=0,e[s>>2]=0,e[c>>2]=-1,w=r+144|0,p=r+284|0,o=(t|0)!=0;e:do if(qY[(C[r+232>>0]<<24>>24?2:1)&3](t,e[w>>2]|0,i,n,p,s,A,v,f,c)|0){if((e[c>>2]|0)==1&(o^1)&&(C[(e[r+352>>2]|0)+130>>0]=1,l=r+488|0,(e[l>>2]|0)==1)&&(e[l>>2]=0),l=r+140|0,!(e[l>>2]|0))e[r+80>>2]|0?(zt(r,e[w>>2]|0,i,n),i=0,t=0):(i=0,t=0);else{if(t=e[v>>2]|0,!t)t=0;else{if(n=e[w>>2]|0,t=_t(r+436|0,n,t,t+(ke[e[n+28>>2]&127](n,t)|0)|0)|0,!t){t=1;break}e[r+452>>2]=e[r+448>>2]}if(o=e[s>>2]|0,o){if(s=e[w>>2]|0,o=_t(r+436|0,s,o,(e[A>>2]|0)+(0-(e[s+64>>2]|0))|0)|0,!o){t=1;break}}else o=0;Y1[e[l>>2]&31](e[r+4>>2]|0,o,t,e[c>>2]|0),i=o}do if(!(e[r+228>>2]|0)){if(o=e[f>>2]|0,l=o,o|0){if(c=e[o+64>>2]|0,f=e[w>>2]|0,(c|0)==(e[f+64>>2]|0)&&(c|0)!=2|(o|0)==(f|0)){e[w>>2]=l;break}e[p>>2]=e[v>>2],t=19;break e}if(o=e[v>>2]|0,o|0){if(l=r+436|0,!t&&(t=e[w>>2]|0,t=_t(l,t,o,o+(ke[e[t+28>>2]&127](t,o)|0)|0)|0,!t)){t=1;break e}if(t=kZ(r,t)|0,ao(l),(t|0)!=18)break e;e[p>>2]=e[v>>2],t=18;break e}}while(0);(t|0)!=0|(i|0)!=0&&ao(r+436|0),t=0}else t=o?31:30;while(0);return g=m,t|0}function _t(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;do if(!(hd(r,t,i,n)|0))t=0;else{if(i=r+12|0,t=e[i>>2]|0,(t|0)==(e[r+8>>2]|0)){if(!((wr(r)|0)<<24>>24)){t=0;break}t=e[i>>2]|0}e[i>>2]=t+1,C[t>>0]=0,t=e[r+16>>2]|0}while(0);return t|0}function ao(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;n=r+4|0,t=e[n>>2]|0;e:do if(!t)e[n>>2]=e[r>>2],t=r;else for(i=e[r>>2]|0;;){if(!i){t=r;break e}l=e[i>>2]|0,e[i>>2]=t,e[n>>2]=i,o=i,i=l,t=o}while(0);e[t>>2]=0,e[r+16>>2]=0,e[r+12>>2]=0,e[r+8>>2]=0}function vi(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;L=t+8|0;e:do if(e[L>>2]|0){for(_=p9(r,i)|0,A=e[L>>2]|0,s=A+-1|0,c=e[t>>2]|0,f=_&0-A,z=t+4|0,w=s>>>2,l=0,s=s&_;o=e[c+(s<<2)>>2]|0,!!o;){if((vl0(i,e[o>>2]|0)|0)<<24>>24)break e;l<<24>>24?o=l:o=(f>>>((s0[z>>0]|0)+-1|0)&w|1)&255,x=o&255,l=o,s=s-x+(s>>>0>>0?A:0)|0}if(n){if(l=C[z>>0]|0,o=l&255,!((e[t+12>>2]|0)>>>(o+-1|0))){o=t+16|0,l=t,p=27;break}if(m=o+1&255,s=l+1&255,B=1<>2]>>2]&63](l)|0,x){for(qr(x|0,0,l|0)|0,v=0-B|0,w=s+-1|0,p=E>>>2,f=0;!(f>>>0>=(e[L>>2]|0)>>>0);){if(l=e[(e[t>>2]|0)+(f<<2)>>2]|0,l|0){for(l=p9(r,e[l>>2]|0)|0,A=((l&v)>>>w&p|1)&255,l=l&E,s=0;c=x+(l<<2)|0,!!(e[c>>2]|0);)c=s<<24>>24?s:A,Z=c&255,l=l+(l>>>0>>0?B:0)-Z|0,s=c;e[c>>2]=e[(e[t>>2]|0)+(f<<2)>>2]}f=f+1|0}for(l2[e[(e[o>>2]|0)+8>>2]&127](e[t>>2]|0),e[t>>2]=x,C[z>>0]=m,e[L>>2]=B,A=((_&v)>>>w&p|1)&255,l=E&_,s=0;;){if(!(e[x+(l<<2)>>2]|0)){s=l,l=t,p=27;break e}Z=s<<24>>24?s:A,L=Z&255,l=l+(l>>>0>>0?B:0)-L|0,s=Z}}else o=0}else o=0}else if(n)if(C[t+4>>0]=6,e[L>>2]=64,o=t+16|0,l=nr[e[e[o>>2]>>2]&63](256)|0,e[t>>2]=l,l){qr(l|0,0,256)|0,s=p9(r,i)|0,s=(e[L>>2]|0)+-1&s,l=t,p=27;break}else{e[L>>2]=0,o=0;break}else o=0;while(0);return(p|0)==27&&(o=nr[e[e[o>>2]>>2]&63](n)|0,e[(e[l>>2]|0)+(s<<2)>>2]=o,o=e[(e[l>>2]|0)+(s<<2)>>2]|0,o?(qr(o|0,0,n|0)|0,e[e[(e[l>>2]|0)+(s<<2)>>2]>>2]=i,o=t+12|0,e[o>>2]=(e[o>>2]|0)+1,o=e[(e[l>>2]|0)+(s<<2)>>2]|0):o=0),o|0}function s9(r){r=r|0;var t=0,i=0,n=0;for(n=r,t=r;i=C[n>>0]|0,!!(i<<24>>24);){switch(i<<24>>24|0){case 10:case 13:case 32:{(t|0)!=(r|0)?(C[t+-1>>0]|0)!=32&&(C[t>>0]=32,t=t+1|0):t=r;break}default:C[t>>0]=i,t=t+1|0}n=n+1|0}(t|0)!=(r|0)&&(r=t+-1|0,r=(C[r>>0]|0)==32?r:t),C[r>>0]=0}function A9(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=b3(r,0,e[r+144>>2]|0,t,i,n,(C[r+480>>0]|0)==0&1)|0,!(t|0)&&!((AZ(r)|0)<<24>>24)&&(t=1),t|0}function u9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;l=e[r+352>>2]|0,t=_t(l+80|0,t,i,n)|0;do if(t|0&&(o=vi(r,l+20|0,t,24)|0,(o|0)!=0))if((e[o>>2]|0)==(t|0)){if(e[l+96>>2]=e[l+92>>2],!(aZ(r,o)|0)){o=0;break}}else e[l+92>>2]=e[l+96>>2];else o=0;while(0);return o|0}function XG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;w=e[r+352>>2]|0,c=w+80|0,p=w+92|0,l=e[p>>2]|0,f=w+88|0,(l|0)==(e[f>>2]|0)?(wr(c)|0)<<24>>24?(l=e[p>>2]|0,s=4):o=0:s=4;e:do if((s|0)==4)if(e[p>>2]=l+1,C[l>>0]=0,t=_t(c,t,i,n)|0,t|0&&(A=t+1|0,o=vi(r,w+40|0,A,12)|0,(o|0)!=0)){if((e[o>>2]|0)!=(A|0)){e[p>>2]=e[w+96>>2];break}if(l=e[p>>2]|0,s=w+96|0,e[s>>2]=l,C[r+232>>0]|0){i=C[A>>0]|0;r:do if(i<<24>>24==120)if((C[t+2>>0]|0)==109&&(C[t+3>>0]|0)==108&&(C[t+4>>0]|0)==110&&(C[t+5>>0]|0)==115){switch(C[t+6>>0]|0){case 0:{l=w+152|0;break}case 58:{l=vi(r,w+60|0,t+7|0,8)|0;break}default:{n=0,t=120;break r}}e[o+4>>2]=l,C[o+9>>0]=1;break e}else n=0,t=120;else n=0,t=i;while(0);r:for(;;){switch(t<<24>>24){case 0:break e;case 58:{i=0;break r}default:}t=n+1|0,n=t,t=C[A+t>>0]|0}for(;t=(l|0)==(e[f>>2]|0),!((i|0)>=(n|0));){if(t){if(!((wr(c)|0)<<24>>24)){o=0;break e}l=e[p>>2]|0}t=C[A+i>>0]|0,e[p>>2]=l+1,C[l>>0]=t,i=i+1|0,l=e[p>>2]|0}if(t){if(!((wr(c)|0)<<24>>24)){o=0;break}l=e[p>>2]|0}if(e[p>>2]=l+1,C[l>>0]=0,l=vi(r,w+60|0,e[s>>2]|0,8)|0,e[o+4>>2]=l,l)if(t=e[s>>2]|0,(e[l>>2]|0)==(t|0)){e[s>>2]=e[p>>2];break}else{e[p>>2]=t;break}else o=0}}else o=0;while(0);return o|0}function cl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(o=r+12|0,l=r+8|0;;){if(i=C[t>>0]|0,!(i<<24>>24)){s=7;break}if(n=e[o>>2]|0,(n|0)==(e[l>>2]|0)){if(!((wr(r)|0)<<24>>24)){t=0;break}n=e[o>>2]|0,i=C[t>>0]|0}e[o>>2]=n+1,C[n>>0]=i,t=t+1|0}return(s|0)==7&&(t=e[r+16>>2]|0),t|0}function hd(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,e[s>>2]=i,l=r+12|0,!(e[l>>2]|0)&&!((wr(r)|0)<<24>>24)?i=0:o=3;e:do if((o|0)==3){for(i=t+56|0,o=r+8|0;!((ai[e[i>>2]&127](t,s,n,l,e[o>>2]|0)|0)>>>0<2);)if(!((wr(r)|0)<<24>>24)){i=0;break e}i=e[r+16>>2]|0}while(0);return g=A,i|0}function qG(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0;s=n<<24>>24==0,p=r+12|0,w=e[p>>2]|0;e:do if(s&(o|0)==0)f=9;else{for(A=r+20|0,n=0;!((n|0)>=(w|0));)if((e[(e[A>>2]|0)+(n*12|0)>>2]|0)==(t|0)){n=1;break e}else n=n+1|0;!s&&(c=r+8|0,(e[c>>2]|0)==0)&&!(C[t+9>>0]|0)&&(e[c>>2]=t),f=9}while(0);e:do if((f|0)==9){A=r+16|0;do if((w|0)==(e[A>>2]|0))if(w){if(s=r+20|0,n=ke[e[l+16>>2]&127](e[s>>2]|0,w*24|0)|0,!n){n=0;break e}e[A>>2]=w<<1,e[s>>2]=n;break}else{if(e[A>>2]=8,n=nr[e[l+12>>2]&63](96)|0,e[r+20>>2]=n,n|0)break;e[A>>2]=0,n=0;break e}else n=e[r+20>>2]|0;while(0);l=e[p>>2]|0,e[n+(l*12|0)>>2]=t,e[n+(l*12|0)+8>>2]=o,C[n+(l*12|0)+4>>0]=i,i<<24>>24||(C[t+8>>0]=1),e[p>>2]=(e[p>>2]|0)+1,n=1}while(0);return n|0}function wr(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;t=r+4|0,n=e[t>>2]|0;do if(n){if(o=r+16|0,l=e[o>>2]|0,!l){e[r>>2]=n,e[t>>2]=e[n>>2],e[n>>2]=0,w=e[r>>2]|0,t=w+8|0,e[o>>2]=t,e[r+8>>2]=(e[w+4>>2]|0)+(w+8),e[r+12>>2]=t,t=1;break}i=r+8|0,((e[i>>2]|0)-l|0)<(e[n+4>>2]|0)?(f=e[n>>2]|0,e[n>>2]=e[r>>2],w=e[t>>2]|0,e[r>>2]=w,e[t>>2]=f,t=e[o>>2]|0,u2(w+8|0,t|0,(e[i>>2]|0)-t|0)|0,t=e[r>>2]|0,w=r+12|0,e[w>>2]=(e[w>>2]|0)-(e[o>>2]|0)+(t+8),e[o>>2]=t+8,e[i>>2]=(e[t+4>>2]|0)+(t+8),t=1):s=6}else s=6;while(0);e:do if((s|0)==6){n=e[r>>2]|0,f=r+16|0;do if(!n)A=f,t=e[f>>2]|0;else{if(c=e[f>>2]|0,t=c,(c|0)!=(n+8|0)){A=f;break}if(o=r+8|0,l=(e[o>>2]|0)-t<<1,s=r+12|0,i=(e[s>>2]|0)-t|0,(l|0)<0){t=0;break e}if(t=pZ(l)|0,!t){t=0;break e}if(t=ke[e[(e[r+20>>2]|0)+4>>2]&127](n,t)|0,!t){t=0;break e}e[r>>2]=t,e[t+4>>2]=l,t=e[r>>2]|0,e[s>>2]=t+8+i,e[f>>2]=t+8,e[o>>2]=t+8+l,t=1;break e}while(0);if(c=r+8|0,t=(e[c>>2]|0)-t|0,(t|0)>=0){if((t|0)>=1024){if(t=t<<1,(t|0)<0){t=0;break}}else t=1024;i=pZ(t)|0,i|0&&(w=nr[e[e[r+20>>2]>>2]&63](i)|0,(w|0)!=0)?(e[w+4>>2]=t,e[w>>2]=e[r>>2],e[r>>2]=w,s=r+12|0,r=e[s>>2]|0,n=e[f>>2]|0,i=r,o=n,(r|0)==(n|0)?(l=w+8|0,n=o):(l=w+8|0,u2(l|0,n|0,i-o|0)|0,n=e[A>>2]|0,i=e[s>>2]|0),e[s>>2]=w+8+(i-n),e[f>>2]=l,e[c>>2]=w+8+t,t=1):t=0}else t=0}while(0);return t|0}function $G(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0;r=dZ(r,t,i,n,o,l)|0;do if(!r){if(t=l+12|0,r=e[t>>2]|0,!(i<<24>>24)&&(e[l+16>>2]|0)!=(r|0)&&(s=r+-1|0,(C[s>>0]|0)==32)&&(e[t>>2]=s,r=s),(r|0)==(e[l+8>>2]|0)){if(!((wr(l)|0)<<24>>24)){r=1;break}r=e[t>>2]|0}e[t>>2]=r+1,C[r>>0]=0,r=0}while(0);return r|0}function KG(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0;if(t0=g,g=g+16|0,D=t0,P=t0+4|0,o=e[r+352>>2]|0,X=o+104|0,F=r+272|0,U=e[F>>2]|0,e[F>>2]=1,!(e[X>>2]|0)&&!((wr(X)|0)<<24>>24))o=1;else{w=t+20|0,p=r+484|0,v=r+144|0,m=r+412|0,E=t+64|0,B=o+132|0,x=r+428|0,z=r+424|0,_=r+224|0,L=r+112|0,f=o+130|0,Z=o+128|0,W=o+131|0,N=r+116|0,T=o+112|0,A=o+116|0,c=t+40|0;e:for(;;){r:do switch(e2[e[w>>2]&127](t,i,n,D)|0){case-4:{o=0;break e}case-1:{q=37;break e}case 0:{q=39;break e}case 28:{if(!(C[p>>0]|0)&&(e[v>>2]|0)==(t|0)){q=19;break e}if(o=e[E>>2]|0,o=_t(m,t,i+o|0,(e[D>>2]|0)+(0-o)|0)|0,!o){o=1;break e}if(l=vi(r,B,o,0)|0,e[z>>2]=e[x>>2],!l){q=9;break e}if(s=l+32|0,C[s>>0]|0){q=11;break e}if(o=l+16|0,!(e[o>>2]|0)){if(C[s>>0]=1,o=e[l+4>>2]|0,o=KG(r,e[_>>2]|0,o,o+(e[l+8>>2]|0)|0)|0,C[s>>0]=0,o)break e;break r}if(e[L>>2]|0){if(C[W>>0]=0,C[s>>0]=1,l=(ai[e[L>>2]&127](e[N>>2]|0,0,e[l+20>>2]|0,e[o>>2]|0,e[l+24>>2]|0)|0)==0,C[s>>0]=0,l){o=21;break e}if(C[W>>0]|0)break r}C[Z>>0]=C[f>>0]|0;break}case 6:case 9:{if(!(hd(X,t,i,e[D>>2]|0)|0)){o=1;break e}break}case-3:{e[D>>2]=i+(e[E>>2]|0),q=22;break}case 7:{q=22;break}case 10:{if(o=ke[e[c>>2]&127](t,i)|0,(o|0)<0){q=27;break e}for(l=rh(o,P)|0,i=0;!((i|0)>=(l|0));){if(o=e[A>>2]|0,(e[T>>2]|0)==(o|0)){if(!((wr(X)|0)<<24>>24)){o=1,q=35;break e}o=e[A>>2]|0}s=C[P+i>>0]|0,e[A>>2]=o+1,C[o>>0]=s,i=i+1|0}break}default:{q=41;break e}}while(0);if((q|0)==22){if(q=0,o=e[A>>2]|0,(e[T>>2]|0)==(o|0)){if(!((wr(X)|0)<<24>>24)){o=1;break}o=e[A>>2]|0}e[A>>2]=o+1,C[o>>0]=10}i=e[D>>2]|0}(q|0)==9?(C[Z>>0]=C[f>>0]|0,o=0):(q|0)==11?((e[v>>2]|0)==(t|0)&&(e[r+284>>2]=i),o=12):(q|0)==19?(e[r+284>>2]=i,o=10):(q|0)==27?(e[v>>2]|0)==(t|0)?(e[r+284>>2]=i,o=14,q=35):(o=14,q=35):(q|0)==37?((e[v>>2]|0)==(t|0)&&(e[r+284>>2]=i),o=4):(q|0)==39?((e[v>>2]|0)==(t|0)&&(e[r+284>>2]=e[D>>2]),o=4):(q|0)==41&&((e[v>>2]|0)==(t|0)&&(e[r+284>>2]=i),o=23),e[F>>2]=U}return g=t0,o|0}function zt(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;if(v=g,g=g+16|0,w=v,p=v+4|0,e[w>>2]=i,C[t+68>>0]|0)hr[e[r+80>>2]&127](e[r+4>>2]|0,i,n-i|0);else{(e[r+144>>2]|0)==(t|0)?(o=r+288|0,l=r+284|0):(l=e[r+296>>2]|0,o=l+4|0),s=r+44|0,A=t+56|0,c=r+48|0,f=r+80|0,i=r+4|0;do e[p>>2]=e[s>>2],r=ai[e[A>>2]&127](t,w,n,p,e[c>>2]|0)|0,e[o>>2]=e[w>>2],m=e[s>>2]|0,hr[e[f>>2]&127](e[i>>2]|0,m,(e[p>>2]|0)-m|0),e[l>>2]=e[w>>2];while(r>>>0>1)}g=v}function bG(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0;switch(w=g,g=g+16|0,c=w,f=e[i>>2]|0,(e[r+144>>2]|0)==(t|0)?(A=r+284|0,e[A>>2]=f,s=r+288|0):(A=e[r+296>>2]|0,s=A+4|0),e[A>>2]=f,e[i>>2]=0,p=e2[e[t+12>>2]&127](t,f,n,c)|0,n=e[c>>2]|0,e[s>>2]=n,p|0){case 42:{e[r+80>>2]|0&&(zt(r,t,f,n),n=e[c>>2]|0),e[i>>2]=n,e[o>>2]=n,n=(e[r+476>>2]|0)==2?35:0;break}case 0:{e[A>>2]=n,n=4;break}case-2:{l<<24>>24?(e[o>>2]=f,n=0):n=6;break}case-4:case-1:{l<<24>>24?(e[o>>2]=f,n=0):n=2;break}default:e[A>>2]=n,n=23}return g=w,n|0}function fl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=g,g=g+16|0,o=l,e[o>>2]=t,t=bG(r,e[r+144>>2]|0,o,i,n,(C[r+480>>0]|0)==0&1)|0,o=e[o>>2]|0,(t|0)!=0|(o|0)==0||(e[r+276>>2]=57,t=l9(r,o,i,n)|0),g=l,t|0}function eZ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;A=e[r+352>>2]|0,c=A+184|0,e[c>>2]|0?i=4:(t=nr[e[r+12>>2]&63](e[r+464>>2]<<2)|0,e[c>>2]=t,t?(e[t>>2]=0,i=4):t=-1);do if((i|0)==4){if(s=A+176|0,t=e[s>>2]|0,l=A+172|0,i=e[l>>2]|0,o=A+164|0,n=e[o>>2]|0,t>>>0>>0)l=n;else{if(n){if(t=ke[e[r+16>>2]&127](n,i*56|0)|0,!t){t=-1;break}i=t,t=e[l>>2]<<1}else if(t=nr[e[r+12>>2]&63](896)|0,t)i=t,t=32;else{t=-1;break}e[l>>2]=t,e[o>>2]=i,t=e[s>>2]|0,l=i}e[s>>2]=t+1,i=e[A+180>>2]|0,i|0&&(r=e[(e[c>>2]|0)+(i+-1<<2)>>2]|0,o=l+(r*28|0)+16|0,i=e[o>>2]|0,i|0&&(e[l+(i*28|0)+24>>2]=t),i=l+(r*28|0)+20|0,n=e[i>>2]|0,n||(e[l+(r*28|0)+12>>2]=t),e[o>>2]=t,e[i>>2]=n+1),c=l+(t*28|0)+12|0,e[c>>2]=0,e[c+4>>2]=0,e[c+8>>2]=0,e[c+12>>2]=0}while(0);return t|0}function rZ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+16|0,w=v,p=r+300|0,n=e[p>>2]|0,n?(e[p>>2]=e[n+8>>2],f=n,o=4):(n=nr[e[r+12>>2]&63](24)|0,n?(f=n,o=4):n=1);do if((o|0)==4&&(l=t+32|0,C[l>>0]=1,s=t+12|0,e[s>>2]=0,A=r+296|0,c=f+8|0,e[c>>2]=e[A>>2],e[A>>2]=f,e[f+12>>2]=t,n=r+308|0,e[f+16>>2]=e[n>>2],C[f+20>>0]=i,e[f>>2]=0,e[f+4>>2]=0,o=e[t+4>>2]|0,i=o+(e[t+8>>2]|0)|0,e[w>>2]=o,C[t+33>>0]|0?(t=r+224|0,n=e[t>>2]|0,n=e2[e[n>>2]&127](n,o,i,w)|0,n=fd(r,e[t>>2]|0,o,i,n,e[w>>2]|0,w,0)|0):n=b3(r,e[n>>2]|0,e[r+224>>2]|0,o,i,w,0)|0,!n)){if(n=e[w>>2]|0,(i|0)!=(n|0)&&(e[r+476>>2]|0)==3){e[s>>2]=n-o,e[r+276>>2]=60,n=0;break}C[l>>0]=0,e[A>>2]=e[c>>2],e[c>>2]=e[p>>2],e[p>>2]=f,n=0}while(0);return g=v,n|0}function hl0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return l=g,g=g+16|0,i=l+4|0,n=l,t=e[r+352>>2]|0,o=t+176|0,t=nr[e[r+12>>2]&63](((e[o>>2]|0)*20|0)+(e[t+168>>2]|0)|0)|0,t?(e[n>>2]=t+((e[o>>2]|0)*20|0),e[i>>2]=t+20,iZ(r,0,t,i,n)):t=0,g=l,t|0}function a9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;return c=r+64|0,e[c>>2]|0?(s=t+64|0,l=i+(e[s>>2]<<1)|0,i=l+(ke[e[t+28>>2]&127](t,l)|0)|0,o=r+412|0,l=_t(o,t,l,i)|0,l|0&&(e[r+428>>2]=e[r+424>>2],A=ke[e[t+32>>2]&127](t,i)|0,A=_t(o,t,A,n+(0-(e[s>>2]<<1))|0)|0,(A|0)!=0)?(tZ(A),hr[e[c>>2]&127](e[r+4>>2]|0,l,A),ao(o),i=1):i=0):(e[r+80>>2]|0&&zt(r,t,i,n),i=1),i|0}function c9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;return l=r+68|0,e[l>>2]|0?(o=r+412|0,s=e[t+64>>2]|0,t=_t(o,t,i+(s<<2)|0,n+(N0(s,-3)|0)|0)|0,t?(tZ(t),Bt[e[l>>2]&63](e[r+4>>2]|0,t),ao(o),t=1):t=0):(e[r+80>>2]|0&&zt(r,t,i,n),t=1),t|0}function tZ(r){r=r|0;var t=0,i=0,n=0;e:for(;;){switch(C[r>>0]|0){case 0:break e;case 13:{i=r,t=13,n=4;break e}default:}r=r+1|0}if((n|0)==4){for(;t<<24>>24==13?(C[i>>0]=10,n=r+1|0,r=(C[n>>0]|0)==10?r+2|0:n):(C[i>>0]=t,r=r+1|0),i=i+1|0,t=C[r>>0]|0,t<<24>>24;)n=4;C[i>>0]=0}}function iZ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;if(c=(e[r+352>>2]|0)+164|0,A=e[(e[c>>2]|0)+(t*28|0)>>2]|0,e[i>>2]=A,e[i+4>>2]=e[(e[c>>2]|0)+(t*28|0)+4>>2],(A|0)==4){for(e[i+8>>2]=e[o>>2],t=e[(e[c>>2]|0)+(t*28|0)+8>>2]|0;A=C[t>>0]|0,c=e[o>>2]|0,e[o>>2]=c+1,C[c>>0]=A,C[t>>0]|0;)t=t+1|0;e[i+12>>2]=0,e[i+16>>2]=0}else{for(l=e[(e[c>>2]|0)+(t*28|0)+20>>2]|0,s=i+12|0,e[s>>2]=l,A=i+16|0,e[A>>2]=e[n>>2],e[n>>2]=(e[n>>2]|0)+(l*20|0),t=(e[c>>2]|0)+(t*28|0)+12|0,l=0;t=e[t>>2]|0,!(l>>>0>=(e[s>>2]|0)>>>0);)iZ(r,t,(e[A>>2]|0)+(l*20|0)|0,n,o),t=(e[c>>2]|0)+(t*28|0)+24|0,l=l+1|0;e[i+8>>2]=0}}function b3(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0,dr=0,D2=0,ue=0,gr=0,yr=0,ur=0,Fe=0,M2=0,Ti=0,ci=0,g1=0,$2=0,It=0,Ir=0,y1=0,Rr=0;y1=g,g=g+48|0,$2=y1+28|0,Fe=y1+32|0,It=y1+24|0,T2=y1,e[$2>>2]=n,dr=e[r+352>>2]|0,(e[r+144>>2]|0)==(i|0)?(M2=r+284|0,i2=r+288|0):(i2=e[r+296>>2]|0,M2=i2,i2=i2+4|0),e[M2>>2]=n,x=i+4|0,Ti=r+80|0,z=r+476|0,_=i+44|0,L=i+64|0,Z=dr+80|0,W=dr+96|0,N=dr+92|0,T=dr+129|0,D=r+112|0,P=r+116|0,X=r+428|0,U=r+424|0,F=r+304|0,q=r+120|0,ci=r+4|0,t0=dr+130|0,D2=r+60|0,Y=r+364|0,H=r+12|0,a0=r+360|0,k0=i+28|0,g1=r+308|0,ue=i+56|0,B0=r+16|0,D0=r+52|0,J0=r+412|0,O0=r+388|0,Z0=r+56|0,F0=r+232|0,b0=r+233|0,V0=r+468|0,ze=r+104|0,me=r+372|0,pe=i+40|0,g2=r+72|0,gr=i+68|0,yr=r+44|0,ur=r+48|0;e:for(;;){B=e[$2>>2]|0,e[Fe>>2]=B,B=e2[e[x>>2]&127](i,B,o,Fe)|0,n=e[Fe>>2]|0,e[i2>>2]=n,c=n;r:do switch(B|0){case-3:{Ir=6;break e}case-4:{Ir=15;break e}case 0:{Ir=20;break e}case-1:{Ir=21;break e}case-2:{Ir=23;break e}case 12:{n=17;break e}case-5:{Ir=134;break e}case 9:{B=e[L>>2]|0,B=(oe[e[_>>2]&63](i,(e[$2>>2]|0)+B|0,c+(0-B)|0)|0)&255,C[It>>0]=B;do if(B<<24>>24){if(n=e[D2>>2]|0,n|0){hr[n&127](e[ci>>2]|0,It,1);break}e[Ti>>2]|0&&zt(r,i,e[$2>>2]|0,e[Fe>>2]|0)}else{if(A=e[L>>2]|0,A=_t(Z,i,(e[$2>>2]|0)+A|0,(e[Fe>>2]|0)+(0-A)|0)|0,!A){n=1,Ir=56;break e}if(c=vi(r,dr,A,0)|0,e[N>>2]=e[W>>2],C[T>>0]|0&&!(C[t0>>0]|0)){if(!c){if(n=e[q>>2]|0,n|0){hr[n&127](e[ci>>2]|0,A,0);break}if(!(e[Ti>>2]|0))break;zt(r,i,e[$2>>2]|0,e[Fe>>2]|0);break}}else{if(!c){n=11,Ir=56;break e}if(!(C[c+34>>0]|0)){n=24,Ir=56;break e}}if(n=c+32|0,C[n>>0]|0){n=12,Ir=56;break e}if(e[c+28>>2]|0){n=15,Ir=56;break e}if(!(e[c+4>>2]|0)){if(!(e[D>>2]|0)){if(!(e[Ti>>2]|0))break;zt(r,i,e[$2>>2]|0,e[Fe>>2]|0);break}if(C[n>>0]=1,A=dl0(r)|0,C[n>>0]=0,!A){n=1,Ir=56;break e}if(!(ai[e[D>>2]&127](e[P>>2]|0,A,e[c+20>>2]|0,e[c+16>>2]|0,e[c+24>>2]|0)|0)){n=21,Ir=56;break e}e[U>>2]=e[X>>2];break}if(C[F>>0]|0)if(n=rZ(r,c,0)|0,n){Ir=58;break e}else break;n=e[q>>2]|0,n?hr[n&127](e[ci>>2]|0,e[c>>2]|0,0):e[Ti>>2]|0&&zt(r,i,e[$2>>2]|0,e[Fe>>2]|0);break r}while(0);break}case 1:case 2:{if(n=e[Y>>2]|0,n)e[Y>>2]=e[n>>2];else{if(n=nr[e[H>>2]&63](48)|0,!n){n=1,Ir=75;break e}if(A=nr[e[H>>2]&63](32)|0,e[n+36>>2]=A,!A){Ir=63;break e}e[n+40>>2]=A+32}for(p=n+44|0,e[p>>2]=0,e[n>>2]=e[a0>>2],e[a0>>2]=n,B=n+12|0,e[n+16>>2]=0,e[n+20>>2]=0,E=(e[$2>>2]|0)+(e[L>>2]|0)|0,m=n+4|0,e[m>>2]=E,v=n+8|0,e[v>>2]=ke[e[k0>>2]&127](i,E)|0,e[g1>>2]=(e[g1>>2]|0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],e[w>>2]=e[Y>>2],e[Y>>2]=w,n=(e[$2>>2]|0)+(e[L>>2]<<1)|0,A=ke[e[k0>>2]&127](i,n)|0,(A|0)!=(e[w+8>>2]|0)){Ir=96;break e}if(Q1(e[w+4>>2]|0,n,A)|0){Ir=96;break e}if(e[g1>>2]=(e[g1>>2]|0)+-1,n=e[Z0>>2]|0,!n)e[Ti>>2]|0&&zt(r,i,e[$2>>2]|0,e[Fe>>2]|0);else{if(A=e[w+16>>2]|0,f=w+12|0,(A|0)!=0&(C[F0>>0]|0)!=0){for(n=(e[f>>2]|0)+(e[w+28>>2]|0)|0;c=C[A>>0]|0,!!(c<<24>>24);)C[n>>0]=c,n=n+1|0,A=A+1|0;A=e[w+20>>2]|0;t:do if((A|0)!=0&(C[b0>>0]|0)!=0)for(C[n>>0]=C[V0>>0]|0;;){if(n=n+1|0,c=C[A>>0]|0,!(c<<24>>24))break t;C[n>>0]=c,A=A+1|0}while(0);C[n>>0]=0,n=e[Z0>>2]|0}Bt[n&63](e[ci>>2]|0,e[f>>2]|0)}for(c=w+44|0;f=e[c>>2]|0,!!f;)n=e[ze>>2]|0,n?(Bt[n&63](e[ci>>2]|0,e[e[f>>2]>>2]|0),n=f,A=e[c>>2]|0):(n=f,A=f),e[c>>2]=e[A+4>>2],e[f+4>>2]=e[me>>2],e[me>>2]=f,e[(e[n>>2]|0)+4>>2]=e[f+8>>2];if(!(e[g1>>2]|0)){Ir=117;break e}break}case 10:{if(n=ke[e[pe>>2]&127](i,e[$2>>2]|0)|0,(n|0)<0){n=14;break e}if(A=e[D2>>2]|0,A|0){B=e[ci>>2]|0,Rr=rh(n,It)|0,hr[A&127](B,It,Rr);break r}e[Ti>>2]|0&&zt(r,i,e[$2>>2]|0,e[Fe>>2]|0);break}case 7:{if(n=e[D2>>2]|0,n|0){C[It>>0]=10,hr[n&127](e[ci>>2]|0,It,1);break r}e[Ti>>2]|0&&zt(r,i,e[$2>>2]|0,c);break}case 8:{if(n=e[g2>>2]|0,n?l2[n&127](e[ci>>2]|0):e[Ti>>2]|0&&zt(r,i,e[$2>>2]|0,c),n=lZ(r,i,Fe,o,l,s)|0,n|0)break e;if(!(e[Fe>>2]|0)){Ir=133;break e}break}case 6:{if(A=e[D2>>2]|0,!A){if(!(e[Ti>>2]|0))break r;zt(r,i,e[$2>>2]|0,c);break r}if(!(C[gr>>0]|0))n=c;else{Rr=e[$2>>2]|0,hr[A&127](e[ci>>2]|0,Rr,n-Rr|0);break r}for(;e[It>>2]=e[yr>>2],Rr=ai[e[ue>>2]&127](i,$2,n,It,e[ur>>2]|0)|0,e[i2>>2]=e[$2>>2],B=e[yr>>2]|0,hr[A&127](e[ci>>2]|0,B,(e[It>>2]|0)-B|0),!(Rr>>>0<2);)e[M2>>2]=e[$2>>2],n=e[Fe>>2]|0;break}case 11:{if(!(a9(r,i,e[$2>>2]|0,c)|0)){n=1;break e}break}case 13:{if(!(c9(r,i,e[$2>>2]|0,c)|0)){n=1;break e}break}default:e[Ti>>2]|0&&zt(r,i,e[$2>>2]|0,c)}while(0);switch(Rr=e[Fe>>2]|0,e[$2>>2]=Rr,e[M2>>2]=Rr,e[z>>2]|0){case 2:{n=35;break e}case 3:{Ir=160;break e}default:}}switch(Ir|0){case 6:{if(s<<24>>24){e[l>>2]=e[$2>>2],n=0;break}e[i2>>2]=o,n=e[D2>>2]|0,n?(C[It>>0]=10,hr[n&127](e[ci>>2]|0,It,1)):e[Ti>>2]|0&&zt(r,i,e[$2>>2]|0,o),t?(e[g1>>2]|0)==(t|0)?(e[l>>2]=o,n=0):n=13:n=3;break}case 15:{if(s<<24>>24){e[l>>2]=e[$2>>2],n=0;break}(t|0)>0?(e[g1>>2]|0)==(t|0)?(e[l>>2]=e[$2>>2],n=0):n=13:n=3;break}case 20:{e[M2>>2]=n,n=4;break}case 21:{s<<24>>24?(e[l>>2]=e[$2>>2],n=0):n=5;break}case 23:{s<<24>>24?(e[l>>2]=e[$2>>2],n=0):n=6;break}case 56:break;case 58:break;case 63:{l2[e[r+20>>2]&127](n),n=1,Ir=75;break}case 69:{n=1,Ir=75;break}case 79:{oZ(r,e[It>>2]|0),Ir=89;break}case 92:{n=f9(r,e[Fe>>2]|0,o,l)|0;break}case 96:{e[M2>>2]=n,n=7;break}case 117:{n=f9(r,e[Fe>>2]|0,o,l)|0;break}case 133:{e[r+276>>2]=61,n=0;break}case 134:{if(s<<24>>24){e[l>>2]=e[$2>>2],n=0;break}n=e[D2>>2]|0;do if(!n)e[Ti>>2]|0&&zt(r,i,e[$2>>2]|0,o);else if(C[gr>>0]|0){Rr=e[$2>>2]|0,hr[n&127](e[ci>>2]|0,Rr,o-Rr|0);break}else{e[It>>2]=e[yr>>2],ai[e[ue>>2]&127](i,$2,o,It,e[ur>>2]|0)|0,Rr=e[yr>>2]|0,hr[e[D2>>2]&127](e[ci>>2]|0,Rr,(e[It>>2]|0)-Rr|0);break}while(0);if(!t){e[M2>>2]=o,n=3;break}if((e[g1>>2]|0)==(t|0)){e[l>>2]=o,n=0;break}else{e[M2>>2]=o,n=13;break}}case 160:{e[l>>2]=e[Fe>>2],n=0;break}}return g=y1,n|0}function wl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;m=g,g=g+16|0,v=m,c=r+296|0,f=e[c>>2]|0;do if(f){if(w=e[f+12>>2]|0,l=w+4|0,A=e[l>>2]|0,s=w+12|0,o=A+(e[s>>2]|0)|0,A=A+(e[w+8>>2]|0)|0,e[v>>2]=o,p=w+33|0,C[p>>0]|0?(B=r+224|0,E=e[B>>2]|0,E=e2[e[E>>2]&127](E,o,A,v)|0,o=fd(r,e[B>>2]|0,o,A,E,e[v>>2]|0,v,0)|0):o=b3(r,e[f+16>>2]|0,e[r+224>>2]|0,o,A,v,0)|0,!o){if(o=e[v>>2]|0,(A|0)!=(o|0)&&(e[r+476>>2]|0)==3){e[s>>2]=o-(e[l>>2]|0),o=0;break}if(C[w+32>>0]=0,B=f+8|0,e[c>>2]=e[B>>2],o=r+300|0,e[B>>2]=e[o>>2],e[o>>2]=f,o=r+276|0,C[p>>0]|0){e[o>>2]=57,B=r+144|0,o=e[B>>2]|0,o=e2[e[o>>2]&127](o,t,i,v)|0,o=fd(r,e[B>>2]|0,t,i,o,e[v>>2]|0,n,(C[r+480>>0]|0)==0&1)|0;break}else{e[o>>2]=58,o=b3(r,(e[r+472>>2]|0)!=0&1,e[r+144>>2]|0,t,i,n,(C[r+480>>0]|0)==0&1)|0;break}}}else o=23;while(0);return g=m,o|0}function dl0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;m=g,g=g+16|0,w=m,f=e[r+352>>2]|0,l=f+156|0,p=r+412|0,v=r+424|0;e:do if(!(e[l>>2]|0))t=0,s=r+420|0,c=r+468|0,A=12;else{if(t=e[v>>2]|0,s=r+420|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break}t=e[v>>2]|0}for(e[v>>2]=t+1,C[t>>0]=61,o=r+468|0,i=(e[(e[l>>2]|0)+20>>2]|0)+(((C[o>>0]|0)!=0)<<31>>31)|0,n=0;;){if((n|0)>=(i|0)){t=1,c=o,A=12;break e}if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}c=C[(e[(e[l>>2]|0)+16>>2]|0)+n>>0]|0,e[v>>2]=t+1,C[t>>0]=c,n=n+1|0}}while(0);e:do if((A|0)==12){n9(w,f+60|0);r:for(;;){do{if(i=o9(w)|0,!i)break r;l=i+4|0}while(!(e[l>>2]|0));if(t<<24>>24){if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}e[v>>2]=t+1,C[t>>0]=12}for(o=e[i>>2]|0;i=C[o>>0]|0,t=e[v>>2]|0,n=(t|0)==(e[s>>2]|0),!!(i<<24>>24);){if(n){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0,i=C[o>>0]|0}e[v>>2]=t+1,C[t>>0]=i,o=o+1|0}if(n){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}for(e[v>>2]=t+1,C[t>>0]=61,n=(e[(e[l>>2]|0)+20>>2]|0)+(((C[c>>0]|0)!=0)<<31>>31)|0,i=0;;){if((i|0)>=(n|0)){t=1;continue r}if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}A=C[(e[(e[l>>2]|0)+16>>2]|0)+i>>0]|0,e[v>>2]=t+1,C[t>>0]=A,i=i+1|0}}n9(w,f);r:for(;;){do if(i=o9(w)|0,!i)break r;while(!(C[i+32>>0]|0));if(t<<24>>24){if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0}e[v>>2]=t+1,C[t>>0]=12}for(n=e[i>>2]|0;;){if(i=C[n>>0]|0,!(i<<24>>24)){t=1;continue r}if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break e}t=e[v>>2]|0,i=C[n>>0]|0}e[v>>2]=t+1,C[t>>0]=i,n=n+1|0}}if(t=e[v>>2]|0,(t|0)==(e[s>>2]|0)){if(!((wr(p)|0)<<24>>24)){t=0;break}t=e[v>>2]|0}e[v>>2]=t+1,C[t>>0]=0,t=e[r+428>>2]|0}while(0);return g=m,t|0}function nZ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0;D0=g,g=g+80|0,H=D0+16|0,a0=D0,k0=e[r+352>>2]|0,A=k0+20|0,l=vi(r,A,e[n>>2]|0,0)|0,l?(s=l,N=6):(l=uZ(k0+80|0,e[n>>2]|0)|0,l|0&&(s=vi(r,A,l,24)|0,(s|0)!=0)?C[r+232>>0]|0&&!(aZ(r,s)|0)?l=1:N=6:l=1);e:do if((N|0)==6){if(L=e[s+12>>2]|0,A=t+36|0,c=r+376|0,B=r+388|0,x=e2[e[A>>2]&127](t,i,e[c>>2]|0,e[B>>2]|0)|0,l=x+L|0,f=e[c>>2]|0,(l|0)>(f|0)){if(l=l+16|0,e[c>>2]=l,l=ke[e[r+16>>2]&127](e[B>>2]|0,l<<4)|0,!l){e[c>>2]=f,l=1;break}e[B>>2]=l,(x|0)>(f|0)&&e2[e[A>>2]&127](t,i,x,l)|0}for(Y=e[B>>2]|0,m=t+28|0,q=r+412|0,t0=r+428|0,_=s+20|0,v=r+424|0,E=0,p=0,A=0;!((p|0)>=(x|0));){if(w=e[(e[B>>2]|0)+(p<<4)>>2]|0,w=XG(r,t,w,w+(ke[e[m>>2]&127](t,w)|0)|0)|0,!w){l=1;break e}if(l=(e[w>>2]|0)+-1|0,C[l>>0]|0){N=15;break}if(C[l>>0]=1,i=E+1|0,e[Y+(E<<2)>>2]=e[w>>2],f=e[B>>2]|0,C[f+(p<<4)+12>>0]|0){if(F=_t(q,t,e[f+(p<<4)+4>>2]|0,e[f+(p<<4)+8>>2]|0)|0,e[Y+(i<<2)>>2]=F,!F){l=1;break e}}else{r:do if(!(C[w+8>>0]|0))l=1;else{for(l=0;;){if((l|0)>=(L|0)){l=1;break r}if(c=e[_>>2]|0,(w|0)==(e[c+(l*12|0)>>2]|0))break;l=l+1|0}l=C[c+(l*12|0)+4>>0]|0}while(0);if(l=$G(r,t,l,e[f+(p<<4)+4>>2]|0,e[f+(p<<4)+8>>2]|0,q)|0,l|0)break e;e[Y+(i<<2)>>2]=e[t0>>2]}e[t0>>2]=e[v>>2],l=e[w+4>>2]|0;do if(l)if(C[w+9>>0]|0){if(l=h9(r,l,w,e[Y+(i<<2)>>2]|0,o)|0,l)break e;l=E;break}else{C[(e[w>>2]|0)+-1>>0]=2,A=A+1|0,l=E+2|0;break}else l=E+2|0;while(0);E=l,p=p+1|0}if((N|0)==15){if((e[r+144>>2]|0)!=(t|0)){l=8;break}e[r+284>>2]=e[(e[B>>2]|0)+(p<<4)>>2],l=8;break}e[r+380>>2]=E,l=e[s+8>>2]|0;r:do if(l|0&&(z=e[l>>2]|0,(C[z+-1>>0]|0)!=0))for(l=0;;){if((l|0)>=(E|0)){i=0,p=A,F=E;break r}if((e[Y+(l<<2)>>2]|0)==(z|0)){N=37;break r}l=l+2|0}else l=-1,N=37;while(0);for((N|0)==37&&(e[r+384>>2]=l,i=0,p=A,F=E);!((i|0)>=(L|0));){l=e[_>>2]|0,f=l+(i*12|0)|0,A=e[f>>2]|0,c=(e[A>>2]|0)+-1|0;r:do if(!(C[c>>0]|0)&&(Z=l+(i*12|0)+8|0,W=e[Z>>2]|0,(W|0)!=0)){l=e[A+4>>2]|0;do if(l)if(C[A+9>>0]|0){if(l=h9(r,l,A,W,o)|0,l)break e;l=p,A=F;break r}else{C[c>>0]=2,l=p+1|0;break}else C[c>>0]=1,l=p;while(0);e[Y+(F<<2)>>2]=e[e[f>>2]>>2],e[Y+(F+1<<2)>>2]=e[Z>>2],A=F+2|0}else l=p,A=F;while(0);i=i+1|0,p=l,F=A}e[Y+(F<<2)>>2]=0;r:do if(!p)l=0;else{w=r+396|0,f=e[w>>2]|0,U=r+400|0,i=C[U>>0]|0,l=i&255;do if(!(p<<1>>l))l=1<>24;while(p>>(X&255)|0);if(l=(l&255)>3?l:3,C[U>>0]=l,l=l&255,c=r+392|0,A=ke[e[r+16>>2]&127](e[c>>2]|0,12<>2]=A,A=1<>0]=i,l=1;break e}}while(0);t:do if((N|0)==55)for(l=A;;){if(!l){l=-1;break t}X=l+-1|0,e[(e[c>>2]|0)+(X*12|0)>>2]=-1,l=X}while(0);X=l+-1|0,e[w>>2]=X,_=k0+40|0,L=r+424|0,Z=r+420|0,W=A+-1|0,N=0-A|0,T=W>>>2,D=r+233|0,P=r+468|0,l=0,z=p;t:for(;;){for(;;){if((l|0)>=(F|0))break r;if(t=Y+(l<<2)|0,f=e[t>>2]|0,i=f+-1|0,(C[i>>0]|0)==2)break;C[i>>0]=0,l=l+2|0}if(cZ(r,a0),fZ(H,a0),C[i>>0]=0,i=vi(r,_,f,0)|0,!i){l=1;break}if(i=e[i+4>>2]|0,!i){l=1;break}if(x=e[i+4>>2]|0,!x){l=27;break}for(v=x+20|0,m=x+16|0,p=0;i=e[v>>2]|0,w=e[m>>2]|0,!((p|0)>=(i|0));){if(w=C[w+p>>0]|0,i=e[L>>2]|0,(i|0)==(e[Z>>2]|0)){if(!((wr(q)|0)<<24>>24)){l=1;break t}i=e[L>>2]|0}e[L>>2]=i+1,C[i>>0]=w,p=p+1|0}w9(H,w,i);do B=f,f=f+1|0;while((C[B>>0]|0)!=58);for(w9(H,f,hZ(f)|0);;){if(i=e[L>>2]|0,(i|0)==(e[Z>>2]|0)){if(!((wr(q)|0)<<24>>24)){l=1;break t}i=e[L>>2]|0}if(B=C[f>>0]|0,e[L>>2]=i+1,C[i>>0]=B,C[f>>0]|0)f=f+1|0;else break}for(B=wZ(H)|0,v=e[c>>2]|0,m=B&N,f=0,E=W&B;(e[v+(E*12|0)>>2]|0)==(X|0);){if((e[v+(E*12|0)+4>>2]|0)==(B|0)){for(i=e[v+(E*12|0)+8>>2]|0,w=e[t0>>2]|0;J0=C[w>>0]|0,p=J0<<24>>24==0,!(p|J0<<24>>24!=(C[i>>0]|0));)i=i+1|0,w=w+1|0;if(p){l=8;break t}}f<<24>>24||(f=(m>>>((s0[U>>0]|0)+-1|0)&T|1)&255),J0=f&255,E=E+((E|0)<(J0|0)?A:0)-J0|0}if(C[D>>0]|0)for(C[(e[L>>2]|0)+-1>>0]=C[P>>0]|0,i=e[e[x>>2]>>2]|0;;){if(f=e[L>>2]|0,(f|0)==(e[Z>>2]|0)){if(!((wr(q)|0)<<24>>24)){l=1;break t}f=e[L>>2]|0}if(J0=C[i>>0]|0,e[L>>2]=f+1,C[f>>0]=J0,C[i>>0]|0)i=i+1|0;else break}if(J0=e[t0>>2]|0,e[t0>>2]=e[L>>2],e[t>>2]=J0,e[(e[c>>2]|0)+(E*12|0)>>2]=X,e[(e[c>>2]|0)+(E*12|0)+4>>2]=B,e[(e[c>>2]|0)+(E*12|0)+8>>2]=J0,z=z+-1|0,l=l+2|0,!z)break r}break e}while(0);for(;;){if((l|0)>=(F|0)){l=o;break}C[(e[Y+(l<<2)>>2]|0)+-1>>0]=0,l=l+2|0}for(;l=e[l>>2]|0,!!l;)C[(e[e[l+12>>2]>>2]|0)+-1>>0]=0,l=l+4|0;if(!(C[r+232>>0]|0))l=0;else{if(l=e[s+4>>2]|0,l){if(l=e[l+4>>2]|0,!l){l=27;break}for(s=e[n>>2]|0;A=s+1|0,(C[s>>0]|0)!=58;)s=A}else{if(l=e[k0+156>>2]|0,!l){l=0;break}A=e[n>>2]|0}if(C[r+233>>0]|0&&(B0=e[e[l>>2]>>2]|0,(B0|0)!=0))for(s=0;c=s+1|0,C[B0+s>>0]|0;)s=c;else c=0;for(e[n+4>>2]=A,p=l+20|0,e[n+16>>2]=e[p>>2],e[n+8>>2]=e[e[l>>2]>>2],e[n+20>>2]=c,v=0;m=v+1|0,C[A+v>>0]|0;)v=m;if(s=e[p>>2]|0,f=m+c+s|0,i=l+24|0,(f|0)>(e[i>>2]|0)){if(s=f+24|0,w=nr[e[r+12>>2]&63](s)|0,!w){l=1;break}for(e[i>>2]=s,i=l+16|0,u2(w|0,e[i>>2]|0,e[p>>2]|0)|0,s=r+360|0;s=e[s>>2]|0,!!s;)f=s+12|0,(e[f>>2]|0)==(e[i>>2]|0)&&(e[f>>2]=w);l2[e[r+20>>2]&127](e[i>>2]|0),e[i>>2]=w,f=w,s=e[p>>2]|0}else f=l+16|0,i=f,f=e[f>>2]|0;s=f+s|0,u2(s|0,A|0,m|0)|0,c|0&&(J0=s+v|0,C[J0>>0]=C[r+468>>0]|0,u2(J0+1|0,e[e[l>>2]>>2]|0,c|0)|0),e[n>>2]=e[i>>2],l=0}}while(0);return g=D0,l|0}function oZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(n=r+104|0,o=r+372|0,i=r+4|0;t;)r=e[n>>2]|0,r&&Bt[r&63](e[i>>2]|0,e[e[t>>2]>>2]|0),r=t,s=t+4|0,l=e[s>>2]|0,e[s>>2]=e[o>>2],e[o>>2]=t,e[(e[r>>2]|0)+4>>2]=e[t+8>>2],t=l}function f9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;m=g,g=g+16|0,A=m,e[r+276>>2]=62,c=r+284|0,e[c>>2]=t,f=r+144|0,w=r+288|0,p=r+80|0,s=r+476|0,o=t;e:for(;;){switch(e[A>>2]=0,E=e[f>>2]|0,E=e2[e[E>>2]&127](E,o,i,A)|0,t=e[A>>2]|0,e[w>>2]=t,l=t,E|0){case-15:{v=3;break e}case-4:{v=7;break e}case 0:{v=12;break e}case-1:{v=13;break e}case-2:{v=15;break e}case 15:{e[p>>2]|0&&zt(r,e[f>>2]|0,o,l);break}case 11:{if(!(a9(r,e[f>>2]|0,o,l)|0)){t=1;break e}break}case 13:{if(!(c9(r,e[f>>2]|0,o,l)|0)){t=1;break e}break}default:{t=9;break e}}switch(t=e[A>>2]|0,e[c>>2]=t,e[s>>2]|0){case 2:{t=35;break e}case 3:{v=18;break e}default:}o=t}do if((v|0)==3){if(e[p>>2]|0){if(zt(r,e[f>>2]|0,o,l),(e[s>>2]|0)==2){t=35;break}t=e[A>>2]|0}e[n>>2]=t,t=0}else(v|0)==7?(e[n>>2]=o,t=0):(v|0)==12?(e[c>>2]=t,t=4):(v|0)==13?C[r+480>>0]|0?t=5:(e[n>>2]=o,t=0):(v|0)==15?C[r+480>>0]|0?t=6:(e[n>>2]=o,t=0):(v|0)==18&&(e[n>>2]=t,t=0);while(0);return g=m,t|0}function lZ(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0;D=g,g=g+16|0,W=D+8|0,N=D+4|0,Z=D,s=e[i>>2]|0,e[W>>2]=s,(e[r+144>>2]|0)==(t|0)?(B=r+284|0,e[B>>2]=s,x=r+288|0):(x=e[r+296>>2]|0,B=x,x=x+4|0),e[B>>2]=s,e[i>>2]=0,c=t+8|0,f=r+60|0,z=r+80|0,_=r+4|0,L=r+476|0,w=t+68|0,p=r+44|0,v=t+56|0,m=r+48|0;e:for(;;){A=e2[e[c>>2]&127](t,e[W>>2]|0,n,N)|0,s=e[N>>2]|0,e[x>>2]=s,E=s;r:do switch(A|0){case 40:{T=6;break e}case 0:{T=23;break e}case-2:{T=24;break e}case-4:case-1:{T=26;break e}case 7:{if(s=e[f>>2]|0,s|0){C[Z>>0]=10,hr[s&127](e[_>>2]|0,Z,1);break r}e[z>>2]|0&&zt(r,t,e[W>>2]|0,E);break}case 6:{if(A=e[f>>2]|0,!A){if(!(e[z>>2]|0))break r;zt(r,t,e[W>>2]|0,E);break r}if(!(C[w>>0]|0))s=E;else{E=e[W>>2]|0,hr[A&127](e[_>>2]|0,E,s-E|0);break r}for(;e[Z>>2]=e[p>>2],E=ai[e[v>>2]&127](t,W,s,Z,e[m>>2]|0)|0,e[x>>2]=e[N>>2],s=e[p>>2]|0,hr[A&127](e[_>>2]|0,s,(e[Z>>2]|0)-s|0),!(E>>>0<2);)e[B>>2]=e[W>>2],s=e[N>>2]|0;break}default:{T=28;break e}}while(0);switch(E=e[N>>2]|0,e[W>>2]=E,e[B>>2]=E,e[L>>2]|0){case 3:{T=30;break e}case 2:{s=35;break e}default:}}return(T|0)==6?(s=e[r+76>>2]|0,s?l2[s&127](e[_>>2]|0):e[z>>2]|0&&zt(r,t,e[W>>2]|0,E),s=e[N>>2]|0,e[i>>2]=s,e[o>>2]=s,s=(e[L>>2]|0)==2?35:0):(T|0)==23?(e[B>>2]=s,s=4):(T|0)==24?l<<24>>24?(e[o>>2]=e[W>>2],s=0):s=6:(T|0)==26?l<<24>>24?(e[o>>2]=e[W>>2],s=0):s=20:(T|0)==28?(e[B>>2]=s,s=23):(T|0)==30&&(e[o>>2]=e[N>>2],s=0),g=D,s|0}function pl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;l=g,g=g+16|0,o=l,e[o>>2]=t,t=lZ(r,e[r+144>>2]|0,o,i,n,(C[r+480>>0]|0)==0&1)|0,o=e[o>>2]|0;do if(!((t|0)!=0|(o|0)==0))if(t=r+276|0,e[r+472>>2]|0){e[t>>2]=63,t=sZ(r,o,i,n)|0;break}else{e[t>>2]=58,t=A9(r,o,i,n)|0;break}while(0);return g=l,t|0}function sZ(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=b3(r,1,e[r+144>>2]|0,t,i,n,(C[r+480>>0]|0)==0&1)|0,!(t|0)&&!((AZ(r)|0)<<24>>24)&&(t=1),t|0}function AZ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(p=r+16|0,r=r+360|0;;){if(r=e[r>>2]|0,!r){r=1;break}if(A=(e[r+24>>2]|0)+1|0,c=r+36|0,o=e[c>>2]|0,n=o+A|0,w=r+4|0,i=e[w>>2]|0,(i|0)==(n|0)){r=1;break}if(f=r+8|0,t=e[f>>2]|0,l=t+A|0,s=r+40|0,(l|0)>((e[s>>2]|0)-o|0)){if(n=ke[e[p>>2]&127](o,l)|0,!n){r=0;break}t=r+12|0,o=e[c>>2]|0,(e[t>>2]|0)==(o|0)&&(e[t>>2]=n),t=r+16|0,i=e[t>>2]|0,i|0&&(e[t>>2]=n+(i-o)),e[c>>2]=n,e[s>>2]=n+l,n=n+A|0,i=e[w>>2]|0,t=e[f>>2]|0}u2(n|0,i|0,t|0)|0,e[w>>2]=n}return r|0}function uZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(n=r+12|0,o=r+8|0;;){if(i=e[n>>2]|0,(i|0)==(e[o>>2]|0)){if(!((wr(r)|0)<<24>>24)){t=0;break}i=e[n>>2]|0}if(s=C[t>>0]|0,e[n>>2]=i+1,C[i>>0]=s,C[t>>0]|0)t=t+1|0;else{l=6;break}}return(l|0)==6&&(s=r+16|0,t=e[s>>2]|0,e[s>>2]=e[n>>2]),t|0}function aZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=e[r+352>>2]|0,A=p+80|0,c=p+92|0,f=p+88|0,w=p+60|0,p=p+96|0,s=t+4|0,l=e[t>>2]|0;e:for(;;){switch(C[l>>0]|0){case 0:{i=1;break e}case 58:{for(o=e[t>>2]|0;i=e[c>>2]|0,n=(i|0)==(e[f>>2]|0),(o|0)!=(l|0);){if(n){if(!((wr(A)|0)<<24>>24)){i=0;break e}i=e[c>>2]|0}n=C[o>>0]|0,e[c>>2]=i+1,C[i>>0]=n,o=o+1|0}if(n){if(!((wr(A)|0)<<24>>24)){i=0;break e}i=e[c>>2]|0}if(e[c>>2]=i+1,C[i>>0]=0,i=vi(r,w,e[p>>2]|0,8)|0,!i){i=0;break e}n=e[p>>2]|0,(e[i>>2]|0)==(n|0)?e[p>>2]=e[c>>2]:e[c>>2]=n,e[s>>2]=i;break}default:}l=l+1|0}return i|0}function h9(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;c=C[n>>0]|0,s=e[t>>2]|0,l=(s|0)==0;do if(!(c<<24>>24))l?(w=0,A=11):l=28;else if(!l&&(C[s>>0]|0)==120&&(C[s+1>>0]|0)==109&&(C[s+2>>0]|0)==108){if(l=C[s+3>>0]|0,l<<24>>24==110&&(C[s+4>>0]|0)==115&&!(C[s+5>>0]|0)){l=39;break}w=l<<24>>24==0&1,A=11}else w=0,A=11;while(0);e:do if((A|0)==11){for(f=w<<24>>24!=0,l=1,s=1,p=0;A=s<<24>>24!=0,!!(c<<24>>24);){do if(A){if((p|0)<=36&&c<<24>>24==(C[142257+p>>0]|0))break;s=0}else s=0;while(0);do if(!(f|l<<24>>24==0)){if((p|0)<=29&&c<<24>>24==(C[142294+p>>0]|0))break;l=0}while(0);c=p+1|0,p=c,c=C[n+c>>0]|0}if((w&255|0)!=(A&(p|0)==36&1|0)){l=f?38:40;break}if(l<<24>>24!=0&(p|0)==29)l=40;else{v=r+468|0,p=p+((C[v>>0]|0)!=0&1)|0,l=r+372|0,A=e[l>>2]|0;do if(A){if(s=A+24|0,(p|0)>(e[s>>2]|0)){if(c=A+16|0,f=p+24|0,w=ke[e[r+16>>2]&127](e[c>>2]|0,f)|0,!w){l=1;break e}e[c>>2]=w,e[s>>2]=f}e[l>>2]=e[A+4>>2]}else{if(l=r+12|0,s=nr[e[l>>2]&63](28)|0,!s){l=1;break e}if(A=p+24|0,w=nr[e[l>>2]&63](A)|0,e[s+16>>2]=w,w){e[s+24>>2]=A,A=s;break}else{l2[e[r+20>>2]&127](s),l=1;break e}}while(0);e[A+20>>2]=p,s=A+16|0,u2(e[s>>2]|0,n|0,p|0)|0,l=C[v>>0]|0,l<<24>>24&&(C[(e[s>>2]|0)+(p+-1)>>0]=l),e[A>>2]=t,e[A+12>>2]=i,s=t+4|0,e[A+8>>2]=e[s>>2],!(C[n>>0]|0)&&((e[r+352>>2]|0)+152|0)==(t|0)?l=0:l=A,e[s>>2]=l,e[A+4>>2]=e[o>>2],e[o>>2]=A,i|0&&(m=e[r+100>>2]|0,(m|0)!=0)&&hr[m&127](e[r+4>>2]|0,e[t>>2]|0,e[s>>2]|0?n:0),l=0}}while(0);return l|0}function cZ(r,t){r=r|0,t=t|0;var i=0;i=t,e[i>>2]=0,e[i+4>>2]=0,t=t+8|0,e[t>>2]=kl0(r)|0,e[t+4>>2]=0}function fZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;i=t,l=e[i+4>>2]^1936682341,n=r,e[n>>2]=e[i>>2]^1886610805,e[n+4>>2]=l,n=t+8|0,l=n,i=e[l+4>>2]^1685025377,o=r+8|0,e[o>>2]=e[l>>2]^1852075885,e[o+4>>2]=i,o=t,t=e[o+4>>2]^1819895653,i=r+16|0,e[i>>2]=e[o>>2]^1852142177,e[i+4>>2]=t,i=e[n+4>>2]^1952801890,t=r+24|0,e[t>>2]=e[n>>2]^2037671283,e[t+4>>2]=i,e[r+40>>2]=r+32,t=r+48|0,e[t>>2]=0,e[t+4>>2]=0}function w9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0;w=t+i|0,p=r+40|0,v=r+40|0,m=r+32|0,E=r+33|0,B=r+34|0,x=r+35|0,o=r+36|0,l=r+37|0,s=r+38|0,A=r+39|0,c=r+24|0,f=r+48|0,i=t;do{for(;;){if(n=e[p>>2]|0,i>>>0>=w>>>0){t=0;break}if(n>>>0>=v>>>0){t=1;break}t=C[i>>0]|0,e[p>>2]=n+1,C[n>>0]=t,i=i+1|0}if(n>>>0>>0)break;N=s0[m>>0]|0,T=Br(s0[E>>0]|0|0,0,8)|0,n=b,W=Br(s0[B>>0]|0|0,0,16)|0,n=n|b,L=Br(s0[x>>0]|0|0,0,24)|0,n=n|b|(s0[o>>0]|0),z=Br(s0[l>>0]|0|0,0,40)|0,n=n|b,Z=Br(s0[s>>0]|0|0,0,48)|0,n=n|b,_=Br(s0[A>>0]|0|0,0,56)|0,_=T|N|W|L|z|Z|_,n=n|b,Z=c,z=n^e[Z+4>>2],L=c,e[L>>2]=_^e[Z>>2],e[L+4>>2]=z,d9(r,2),L=r,n=e[L+4>>2]^n,z=r,e[z>>2]=e[L>>2]^_,e[z+4>>2]=n,e[p>>2]=m,z=f,z=fr(e[z>>2]|0,e[z+4>>2]|0,8,0)|0,n=f,e[n>>2]=z,e[n+4>>2]=b}while(t)}function hZ(r){r=r|0;var t=0;for(t=0;C[r>>0]|0;)t=t+1|0,r=r+1|0;return t|0}function wZ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;switch(n=r+32|0,l=(e[r+40>>2]|0)-n|0,i=r+48|0,i=fr(e[i>>2]|0,e[i+4>>2]|0,l|0,0)|0,i=Br(i|0,b|0,56)|0,t=b,l<<24>>24|0){case 7:{i=Br(s0[r+38>>0]|0|0,0,48)|0|i,t=b|t,o=3;break}case 6:{o=3;break}case 5:{o=4;break}case 4:{o=5;break}case 3:{o=6;break}case 2:{o=7;break}case 1:{o=8;break}default:}return(o|0)==3&&(l=Br(s0[r+37>>0]|0|0,0,40)|0,i=l|i,t=b|t,o=4),(o|0)==4&&(t=s0[r+36>>0]|0|t,o=5),(o|0)==5&&(l=Br(s0[r+35>>0]|0|0,0,24)|0,i=l|i,t=b|t,o=6),(o|0)==6&&(l=Br(s0[r+34>>0]|0|0,0,16)|0,i=l|i,t=b|t,o=7),(o|0)==7&&(l=Br(s0[r+33>>0]|0|0,0,8)|0,t=b|t,i=l|i,o=8),(o|0)==8&&(i=i|(s0[n>>0]|0)),l=r+24|0,s=l,o=e[s+4>>2]^t,n=l,e[n>>2]=e[s>>2]^i,e[n+4>>2]=o,d9(r,2),n=r,t=e[n+4>>2]^t,o=r,e[o>>2]=e[n>>2]^i,e[o+4>>2]=t,o=r+16|0,t=o,i=e[t+4>>2]|0,n=o,e[n>>2]=e[t>>2]^255,e[n+4>>2]=i,d9(r,4),n=r,r=r+8|0,b=e[r+4>>2]^e[n+4>>2]^e[o+4>>2]^e[l+4>>2],e[r>>2]^e[n>>2]^e[o>>2]^e[l>>2]|0}function d9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0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|0,U=a0+130|0,F=a0+129|0,q=r+296|0,t0=r+224|0,s=0;e:for(;;){r:for(;;){switch(e2[e[p>>2]&127](t,n,o,Y)|0){case-4:{s=0,w=61;break e}case 0:{w=4;break e}case-1:{w=6;break e}case 6:{w=21;break r}case-3:{w=22;break r}case 7:case 39:{w=23;break r}case 10:{A=ke[e[v>>2]&127](t,n)|0;t:do if((A|0)<0)(e[m>>2]|0)==(t|0)?(e[E>>2]=n,A=1,s=14):(A=1,s=14);else{if(B&(A|0)==32){if(c=e[x>>2]|0,(e[_>>2]|0)==(c|0)){A=4;break}if((C[c+-1>>0]|0)==32){A=4;break}}for(f=rh(A,H)|0,c=0;;){if((c|0)>=(f|0)){A=0;break t}if(A=e[x>>2]|0,(A|0)==(e[L>>2]|0)){if(!((wr(l)|0)<<24>>24)){A=1,s=1;break t}A=e[x>>2]|0}B0=C[H+c>>0]|0,e[x>>2]=A+1,C[A>>0]=B0,c=c+1|0}}while(0);switch(A&7){case 4:case 0:break r;default:}break}case 9:{if(A=e[W>>2]|0,A=(oe[e[Z>>2]&63](t,n+A|0,(e[Y>>2]|0)+(0-A)|0)|0)&255,A<<24>>24){w=31;break r}if(A=e[W>>2]|0,A=_t(N,t,n+A|0,(e[Y>>2]|0)+(0-A)|0)|0,!A){s=1,w=61;break e}f=vi(r,a0,A,0)|0,e[D>>2]=e[T>>2];do if(P){if(!(e[X>>2]|0)){if(f)break;break r}if(C[U>>0]|0)if(A=(f|0)!=0,e[q>>2]|0){z=A,w=47;break}else{w=45;break}else if(A=(f|0)!=0,C[F>>0]|0){z=A,w=47;break}else{w=45;break}}else if(C[F>>0]|0)if(A=(f|0)!=0,C[U>>0]|0){w=45;break}else{z=A,w=47;break}else if(f){w=46;break}else{s=11,w=61;break e}while(0);if((w|0)==45)if(A)w=46;else{s=11,w=61;break e}else if((w|0)==47&&(w=0,!z))break r;if((w|0)==46&&(w=0,(C[f+34>>0]|0)==0)){s=24,w=61;break e}if(c=f+32|0,C[c>>0]|0){w=49;break e}if(e[f+28>>2]|0){w=52;break e}if(A=e[f+4>>2]|0,!A){w=55;break e}if(f=A+(e[f+8>>2]|0)|0,C[c>>0]=1,f=dZ(r,e[t0>>2]|0,i,A,f,l)|0,C[c>>0]=0,A=(f|0)==0,A)break r;A=(A^1)&1,s=f;break}default:{w=58;break e}}if(A)break e}if((w|0)==21){if(w=0,!(hd(l,t,n,e[Y>>2]|0)|0)){s=1,w=61;break}}else if((w|0)==22)e[Y>>2]=n+(e[W>>2]|0),w=23;else if((w|0)==31){if(w=0,n=e[x>>2]|0,(n|0)==(e[L>>2]|0)){if(!((wr(l)|0)<<24>>24)){s=1,w=61;break}n=e[x>>2]|0}e[x>>2]=n+1,C[n>>0]=A}do if((w|0)==23){if(w=0,n=e[x>>2]|0,B&&((e[_>>2]|0)==(n|0)||(C[n+-1>>0]|0)==32))break;if((n|0)==(e[L>>2]|0)){if(!((wr(l)|0)<<24>>24)){s=1,w=61;break e}n=e[x>>2]|0}e[x>>2]=n+1,C[n>>0]=32}while(0);n=e[Y>>2]|0}return(w|0)==4?(e[m>>2]|0)==(t|0)?(e[E>>2]=e[Y>>2],s=4,w=61):(s=4,w=61):(w|0)==6?(e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=4,w=61):(s=4,w=61):(w|0)==49?(e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=12,w=61):(s=12,w=61):(w|0)==52?(e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=15,w=61):(s=15,w=61):(w|0)==55?(e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=16,w=61):(s=16,w=61):(w|0)==58&&((e[m>>2]|0)==(t|0)?(e[E>>2]=n,s=23,w=61):(s=23,w=61)),g=k0,s|0}function pZ(r){r=r|0;var t=0;return t=r+8|0,((r|0)<1?0:(t|0)>0?t:0)|0}function p9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+80|0,n=i+16|0,o=i,cZ(r,o),fZ(n,o),w9(n,t,hZ(t)|0),t=wZ(n)|0,g=i,t|0}function vl0(r,t){r=r|0,t=t|0;for(var i=0;;){if(i=C[r>>0]|0,i<<24>>24!=(C[t>>0]|0)){t=0;break}if(!(i<<24>>24)){t=1;break}t=t+1|0,r=r+1|0}return t|0}function kZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+1040|0,s=c,n=e[r+124>>2]|0;e:do if(!n)i=18;else{for(i=0;(i|0)!=256;)e[s+(i<<2)>>2]=-1,i=i+1|0;o=s+1028|0,e[o>>2]=0,A=s+1024|0,e[A>>2]=0,l=s+1032|0,e[l>>2]=0;do if(oe[n&63](e[r+244>>2]|0,t,s)|0){if(n=e[r+12>>2]|0,i=Zl0()|0,i=nr[n&63](i)|0,e[r+236>>2]=i,!i)i=e[l>>2]|0,i&&l2[i&127](e[A>>2]|0),i=1;else{if(i=e2[(C[r+232>>0]<<24>>24?65:64)&127](i,s,e[o>>2]|0,e[A>>2]|0)|0,!i)break;e[r+240>>2]=e[A>>2],e[r+248>>2]=e[l>>2],e[r+144>>2]=i,i=0}break e}while(0);i=e[l>>2]|0,i|0&&l2[i&127](e[A>>2]|0),i=18}while(0);return g=c,i|0}function eh(r,t){r=r|0,t=t|0,C[r+4>>0]=0,e[r+8>>2]=0,e[r+12>>2]=0,e[r>>2]=0,e[r+16>>2]=t}function ml0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;f=e[r+352>>2]|0,w=r+424|0,p=r+420|0,v=r+412|0,m=r+428|0,E=f+152|0,B=r+368|0,A=f+60|0,c=f+80|0;e:for(;;){l=t;r:for(;;){if(!(C[t>>0]|0)){t=1;break e}switch(n=C[l>>0]|0,n<<24>>24){case 0:case 12:{x=5;break r}case 61:break r;default:}if(i=e[w>>2]|0,(i|0)==(e[p>>2]|0)){if(!((wr(v)|0)<<24>>24)){t=0;break e}i=e[w>>2]|0,n=C[l>>0]|0}e[w>>2]=i+1,C[i>>0]=n,l=l+1|0}if((x|0)==5){if(x=0,t=e[w>>2]|0,(t|0)==(e[p>>2]|0)){if(!((wr(v)|0)<<24>>24)){t=0;break}t=e[w>>2]|0}e[w>>2]=t+1,C[t>>0]=0,t=vi(r,f,e[m>>2]|0,0)|0,t|0&&(C[t+32>>0]=1),t=C[l>>0]|0?l+1|0:l,e[w>>2]=e[m>>2];continue}if(t=e[w>>2]|0,(e[m>>2]|0)==(t|0))n=E;else{if((t|0)==(e[p>>2]|0)){if(!((wr(v)|0)<<24>>24)){t=0;break}t=e[w>>2]|0}if(e[w>>2]=t+1,C[t>>0]=0,n=vi(r,A,e[m>>2]|0,8)|0,!n){t=0;break}if(i=e[n>>2]|0,s=e[m>>2]|0,t=s,(i|0)==(s|0)){if(s=uZ(c,i)|0,e[n>>2]=s,!s){t=0;break}t=e[m>>2]|0}e[w>>2]=t}r:for(;;){switch(s=l+1|0,i=C[s>>0]|0,o=(t|0)==(e[p>>2]|0),i<<24>>24){case 0:case 12:break r;default:}if(o){if(!((wr(v)|0)<<24>>24)){t=0;break e}t=e[w>>2]|0,i=C[s>>0]|0}e[w>>2]=t+1,C[t>>0]=i,l=s,t=e[w>>2]|0}if(o){if(!((wr(v)|0)<<24>>24)){t=0;break}t=e[w>>2]|0}if(e[w>>2]=t+1,C[t>>0]=0,h9(r,n,0,e[m>>2]|0,B)|0){t=0;break}e[w>>2]=e[m>>2],t=C[s>>0]|0?l+2|0:s}return t|0}function gl0(r,t){r=r|0,t=t|0;var i=0,n=0;r|0&&(i=r+4|0,n=(e[i>>2]|0)==(e[r>>2]|0),e[r>>2]=t,n)&&(e[i>>2]=t)}function yl0(r,t,i){r=r|0,t=t|0,i=i|0,r|0&&(e[r+52>>2]=t,e[r+56>>2]=i)}function Cl0(r,t){r=r|0,t=t|0,r|0&&(e[r+60>>2]=t)}function vZ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;o=(r|0)==0;e:do if(!(o|(i|0)<0)&&!((t|0)==0&(i|0)!=0)){switch(l=r+476|0,e[l>>2]|0){case 3:{e[r+280>>2]=33,o=0;break e}case 2:{e[r+280>>2]=36,o=0;break e}case 0:{if(!(e[r+472>>2]|0)&&!((mZ(r)|0)<<24>>24)){e[r+280>>2]=1,o=0;break e}break}default:}if(e[l>>2]=1,i|0){if(o=Bl0(r,i)|0,!o){o=0;break}u2(o|0,t|0,i|0)|0,o=Il0(r,i,n)|0;break}if(C[r+480>>0]=n,!n)o=1;else{if(o=r+24|0,A=e[o>>2]|0,t=r+292|0,e[t>>2]=A,n=e[r+28>>2]|0,e[r+40>>2]=n,i=r+276|0,n=e2[e[i>>2]&127](r,A,n,o)|0,e[r+280>>2]=n,n|0){e[r+288>>2]=e[r+284>>2],e[i>>2]=66,o=0;break}switch(e[l>>2]|0){case 3:{A=e[r+144>>2]|0,Y1[e[A+48>>2]&31](A,e[t>>2]|0,e[o>>2]|0,r+404|0),e[t>>2]=e[o>>2],o=2;break e}case 1:case 0:{e[l>>2]=2,o=1;break e}default:{o=1;break e}}}}else s=3;while(0);return(s|0)==3&&(o||(e[r+280>>2]=41),o=0),o|0}function mZ(r){r=r|0;var t=0;return t=r+492|0,e[t>>2]|0||(e[t>>2]=xl0()|0),C[r+232>>0]|0?r=ml0(r,142324)|0:r=1,r|0}function El0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,e[r+280>>2]|0}function Bl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;e:do if(!r)i=0;else{if((t|0)<0){e[r+280>>2]=1,i=0;break}switch(e[r+476>>2]|0){case 3:{e[r+280>>2]=33,i=0;break e}case 2:{e[r+280>>2]=36,i=0;break e}default:{if(p=r+32|0,c=e[p>>2]|0,v=r+28|0,n=e[v>>2]|0,i=n,(c-n|0)>=(t|0))break e;if(E=r+24|0,f=e[E>>2]|0,A=n-f|0,n=A+t|0,(n|0)<0){e[r+280>>2]=1,i=0;break e}w=r+8|0,o=e[w>>2]|0,B=o,l=f-B|0,s=(l|0)>1024,t=s?1024:l,n=t+n|0;do if((n|0)>(c-B|0)){i=c-f|0,i=i|0?i:1024;do i=i<<1;while((i|0)<(n|0)&(i|0)>0);if((i|0)<1){e[r+280>>2]=1,i=0;break e}if(n=nr[e[r+12>>2]&63](i)|0,!n){e[r+280>>2]=1,i=0;break e}if(e[p>>2]=n+i,i=e[E>>2]|0,i){B=i,m=B-(e[w>>2]|0)|0,m=(m|0)<1024?m:1024,u2(n|0,i+(0-m)|0,(e[v>>2]|0)-B+m|0)|0,l2[e[r+20>>2]&127](e[w>>2]|0),e[w>>2]=n,i=n+((e[v>>2]|0)-(e[E>>2]|0))+m|0,e[v>>2]=i,n=n+m|0,m=22;break}else{i=n+(e[v>>2]|0)|0,e[v>>2]=i,e[w>>2]=n,m=22;break}}else s&&(n=l-t|0,Yl(o|0,o+n|0,t+A|0)|0,n=0-n|0,i=(e[v>>2]|0)+n|0,e[v>>2]=i,n=(e[E>>2]|0)+n|0,m=22);while(0);(m|0)==22&&(e[E>>2]=n),e[r+288>>2]=0,e[r+284>>2]=0,e[r+292>>2]=0;break e}}}while(0);return i|0}function Il0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;e:do if(!r)t=0;else{switch(n=r+476|0,e[n>>2]|0){case 3:{e[r+280>>2]=33,t=0;break e}case 2:{e[r+280>>2]=36,t=0;break e}case 0:{if(!(e[r+472>>2]|0)&&!((mZ(r)|0)<<24>>24)){e[r+280>>2]=1,t=0;break e}break}default:}if(e[n>>2]=1,o=r+24|0,A=e[o>>2]|0,l=r+292|0,e[l>>2]=A,c=r+28|0,s=(e[c>>2]|0)+t|0,e[c>>2]=s,e[r+40>>2]=s,c=r+36|0,e[c>>2]=(e[c>>2]|0)+t,C[r+480>>0]=i,t=r+276|0,s=e2[e[t>>2]&127](r,A,s,o)|0,e[r+280>>2]=s,s|0){e[r+288>>2]=e[r+284>>2],e[t>>2]=66,t=0;break}switch(e[n>>2]|0){case 3:{t=2;break}case 1:case 0:{if(!i)t=1;else{e[n>>2]=2,t=1;break e}break}default:t=1}c=e[r+144>>2]|0,Y1[e[c+48>>2]&31](c,e[l>>2]|0,e[o>>2]|0,r+404|0),e[l>>2]=e[o>>2]}while(0);return t|0}function xl0(){var r=0,t=0,i=0;return t=g,g=g+16|0,r=t,Sl0(r)|0?r=gZ(142365,e[r>>2]|0)|0:(i=_l0()|0,i=(jE()|0)^i,e[r>>2]=i,r=gZ(142378,N0(i,2147483647)|0)|0),g=t,r|0}function Sl0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(o=g,g=g+16|0,n=TE0(142365,0,o)|0,(n|0)<0)t=0;else{for(t=0;;){if(l=DB0(n,r+t|0,4-t|0)|0,i=l+t|0,(l|0)>0)if(i>>>0<4)t=i;else{t=1;break}if((e[(kr()|0)>>2]|0)!=4){t=0;break}}SB0(n)|0}return g=o,t|0}function gZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=g,g=g+16|0,n=o,i=Uc(142443)|0,i|0&&!(ge(i,142463)|0)&&(i=e[15712]|0,e[n>>2]=r,e[n+4>>2]=8,e[n+8>>2]=t,e[n+12>>2]=4,A2(i,142465,n)|0),g=o,t|0}function _l0(){var r=0,t=0;if(t=g,g=g+16|0,r=t,Hr0(r|0,0)|0)H0(142390,142412,819,142423);else return g=t,e[r+4>>2]|0;return 0}function zl0(r){return r=r|0,r?r=e[r+280>>2]|0:r=41,r|0}function Ll0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return r?(t=r+284|0,i=e[t>>2]|0,i|0&&(n=r+292|0,o=e[n>>2]|0,i>>>0>=o>>>0)&&(l=e[r+144>>2]|0,Y1[e[l+48>>2]&31](l,o,i,r+404|0),e[n>>2]=e[t>>2]),r=(e[r+404>>2]|0)+1|0):r=0,r|0}function Rl0(r){r=r|0;do switch(r|0){case 41:{r=142502;break}case 1:{r=143774;break}case 2:{r=143761;break}case 3:{r=143744;break}case 4:{r=143712;break}case 5:{r=143697;break}case 6:{r=143679;break}case 7:{r=143664;break}case 8:{r=143644;break}case 9:{r=143616;break}case 10:{r=143581;break}case 11:{r=143564;break}case 12:{r=143537;break}case 13:{r=143517;break}case 14:{r=143479;break}case 15:{r=143452;break}case 16:{r=143410;break}case 17:{r=143363;break}case 18:{r=143346;break}case 19:{r=143295;break}case 20:{r=143272;break}case 21:{r=143226;break}case 22:{r=143199;break}case 23:{r=143148;break}case 24:{r=143112;break}case 25:{r=143060;break}case 26:{r=143015;break}case 27:{r=143e3;break}case 28:{r=142974;break}case 29:{r=142936;break}case 30:{r=142904;break}case 31:{r=142871;break}case 32:{r=142837;break}case 33:{r=142820;break}case 34:{r=142799;break}case 35:{r=142783;break}case 36:{r=142766;break}case 37:{r=142722;break}case 38:{r=142642;break}case 39:{r=142583;break}case 40:{r=142519;break}default:r=0}while(0);return r|0}function Gl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;i=e[t>>2]|0,n=0;e:for(;!(i>>>0<=r>>>0);){l=i+-1|0,o=s0[l>>0]|0;do if((o&248|0)==240)if((n+1|0)>>>0>3){s=5;break e}else n=0;else{if((o&240|0)==224)if((n+1|0)>>>0>2){s=8;break e}else{n=0;break}if((o&224|0)==192)if((n+1|0)>>>0>1){s=11;break e}else{n=0;break}else{if(o&128)break;break e}}while(0);i=l,n=n+1|0}(s|0)==5?i=i+3|0:(s|0)==8?i=i+2|0:(s|0)==11&&(i=i+1|0),e[t>>2]=i}function rh(r,t){r=r|0,t=t|0;do if((r|0)>=0){if((r|0)<128){C[t>>0]=r,r=1;break}if((r|0)<2048){C[t>>0]=r>>>6|192,C[t+1>>0]=r&63|128,r=2;break}if((r|0)<65536){C[t>>0]=r>>>12|224,C[t+1>>0]=r>>>6&63|128,C[t+2>>0]=r&63|128,r=3;break}(r|0)<1114112?(C[t>>0]=r>>>18|240,C[t+1>>0]=r>>>12&63|128,C[t+2>>0]=r>>>6&63|128,C[t+3>>0]=r&63|128,r=4):r=0}else r=0;while(0);return r|0}function Zl0(){return 1908}function yZ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(o=0;;){if((o|0)==364){o=0;break}C[r+o>>0]=C[56576+o>>0]|0,o=o+1|0}e:for(;;){if((o|0)>=128){l=5;break}switch(C[56648+o>>0]|0){case 0:case 28:break;default:if((e[t+(o<<2)>>2]|0)!=(o|0)){r=0;break e}}o=o+1|0}e:do if((l|0)==5){for(v=r+72|0,c=r+372|0,f=r+884|0,w=(i|0)==0,A=0;!((A|0)>=256);){p=e[t+(A<<2)>>2]|0;do if((p|0)==-1)C[v+A>>0]=1,$[c+(A<<1)>>1]=-1,C[f+(A<<2)>>0]=1,C[f+(A<<2)+1>>0]=0;else{if((p|0)<0){if(w|(p|0)<-4){r=0;break e}C[v+A>>0]=3-p,C[f+(A<<2)>>0]=0,$[c+(A<<1)>>1]=0;break}if((p|0)<128){switch(o=C[56648+p>>0]|0,o<<24>>24){case 0:case 28:break;default:if((p|0)!=(A|0)){r=0;break e}}C[v+A>>0]=o,C[f+(A<<2)>>0]=1,C[f+(A<<2)+1>>0]=p,$[c+(A<<1)>>1]=p|0?p&65535:-1;break}if((th(p)|0)<0){C[v+A>>0]=0,$[c+(A<<1)>>1]=-1,C[f+(A<<2)>>0]=1,C[f+(A<<2)+1>>0]=0;break}if((p|0)>65535){r=0;break e}o=p>>>8,l=p>>>5&7,s=1<<(p&31),e[56940+((s0[143788+o>>0]<<3|l)<<2)>>2]&s?C[v+A>>0]=22:C[v+A>>0]=e[56940+((s0[144044+o>>0]<<3|l)<<2)>>2]&s|0?26:28,C[f+(A<<2)>>0]=rh(p,f+(A<<2)+1|0)|0,$[c+(A<<1)>>1]=p}while(0);A=A+1|0}e[r+368>>2]=n,e[r+364>>2]=i,w||(e[r+328>>2]=108,e[r+332>>2]=108,e[r+336>>2]=108,e[r+340>>2]=109,e[r+344>>2]=109,e[r+348>>2]=109,e[r+352>>2]=110,e[r+356>>2]=110,e[r+360>>2]=110),e[r+56>>2]=13,e[r+60>>2]=14}while(0);return r|0}function th(r){r=r|0;var t=0;switch(r>>8|0){case 223:case 222:case 221:case 220:case 219:case 218:case 217:case 216:{r=-1;break}case 0:{C[56648+r>>0]|0?t=4:r=-1;break}case 255:{(r|1|0)==65535?r=-1:t=4;break}default:t=4}return r|0}function Wl0(r,t){return r=r|0,t=t|0,r=ke[e[r+364>>2]&127](e[r+368>>2]|0,t)|0,r>>>0>65535?r=0:r=e[56940+(((s0[144044+(r>>>8)>>0]|0)<<3|r>>>5&7)<<2)>>2]&1<<(r&31),r|0}function Dl0(r,t){return r=r|0,t=t|0,r=ke[e[r+364>>2]&127](e[r+368>>2]|0,t)|0,r>>>0>65535?r=0:r=e[56940+(((s0[143788+(r>>>8)>>0]|0)<<3|r>>>5&7)<<2)>>2]&1<<(r&31),r|0}function Ml0(r,t){return r=r|0,t=t|0,r=ke[e[r+364>>2]&127](e[r+368>>2]|0,t)|0,r>>>0>65535?r=1:r=(th(r)|0)>>>31,r|0}function jl0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(v=g,g=g+16|0,c=v,f=r+364|0,w=r+884|0,p=r+368|0,A=r+72|0;;){if(l=e[t>>2]|0,(l|0)==(i|0)){o=0;break}if(m=s0[l>>0]|0,s=w+(m<<2)+1|0,m=C[w+(m<<2)>>0]|0,r=m<<24>>24,m<<24>>24){if((o-(e[n>>2]|0)|0)<(r|0)){o=2;break}l=l+1|0}else{if(r=rh(ke[e[f>>2]&127](e[p>>2]|0,l)|0,c)|0,(r|0)>(o-(e[n>>2]|0)|0)){o=2;break}l=e[t>>2]|0,s=c,l=l+((s0[A+(s0[l>>0]|0)>>0]|0)+-3)|0}e[t>>2]=l,u2(e[n>>2]|0,s|0,r|0)|0,e[n>>2]=(e[n>>2]|0)+r}return g=v,o|0}function Nl0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(f=r+372|0,w=r+364|0,p=r+368|0,c=r+72|0;A=e[t>>2]|0,r=A>>>0>>0,l=e[n>>2]|0,!!(r&l>>>0>>0);)r=$[f+((s0[A>>0]|0)<<1)>>1]|0,r<<16>>16?(s=1,l=A):(r=(ke[e[w>>2]&127](e[p>>2]|0,A)|0)&65535,l=e[t>>2]|0,s=(s0[c+(s0[l>>0]|0)>>0]|0)+-3|0),e[t>>2]=l+s,A=e[n>>2]|0,e[n>>2]=A+2,$[A>>1]=r;return((l|0)!=(o|0)|r^1?0:2)|0}function Ql0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;e:do if(t>>>0>>0){w=r+72|0;do switch(C[w+(s0[t>>0]|0)>>0]|0){case 12:{o=GP(12,r,t+1|0,i,n)|0;break e}case 13:{o=GP(13,r,t+1|0,i,n)|0;break e}case 2:{if(o=t+1|0,(i-o|0)<=0){o=-1;break e}switch(C[w+(s0[o>>0]|0)>>0]|0){case 16:{o=p70(r,t+2|0,i,n)|0;break e}case 15:{o=LP(r,t+2|0,i,n)|0;break e}case 7:case 6:case 5:case 29:case 24:case 22:{e[n>>2]=t,o=29;break e}default:{e[n>>2]=o,o=0;break e}}}case 9:{if((t+1|0)==(i|0)){e[n>>2]=i,o=-15;break e}else A=3;break}case 10:case 21:{A=3;break}case 30:{o=_P(r,t+1|0,i,n)|0;break e}case 35:{e[n>>2]=t+1,o=38;break e}case 20:{e[n>>2]=t+1,o=25;break e}case 4:{if(l=t+1|0,o=i-l|0,(o|0)<=0){o=-26;break e}if((C[l>>0]|0)==93){if((o|0)<=1){o=-1;break e}if((C[t+2>>0]|0)==62){e[n>>2]=t+3,o=34;break e}}e[n>>2]=l,o=26;break e}case 31:{e[n>>2]=t+1,o=23;break e}case 32:{if(o=t+1|0,(i-o|0)<=0){o=-24;break e}switch(C[w+(s0[o>>0]|0)>>0]|0){case 33:{e[n>>2]=t+2,o=36;break e}case 15:{e[n>>2]=t+2,o=35;break e}case 34:{e[n>>2]=t+2,o=37;break e}case 32:case 36:case 35:case 11:case 21:case 10:case 9:{e[n>>2]=o,o=24;break e}default:{e[n>>2]=o,o=0;break e}}}case 36:{e[n>>2]=t+1,o=21;break e}case 11:{e[n>>2]=t+1,o=17;break e}case 19:{o=k70(r,t+1|0,i,n)|0;break e}case 5:{if((i-t|0)<2){o=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=18,l=2;else if(ke[e[r+328>>2]&127](r,t)|0)o=19,l=2;else{e[n>>2]=t,o=0;break e}break}case 6:{if((i-t|0)<3){o=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=18,l=3;else if(ke[e[r+332>>2]&127](r,t)|0)o=19,l=3;else{e[n>>2]=t,o=0;break e}break}case 7:{if((i-t|0)<4){o=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=18,l=4;else if(ke[e[r+336>>2]&127](r,t)|0)o=19,l=4;else{e[n>>2]=t,o=0;break e}break}case 24:case 22:{o=18,l=1;break}case 23:case 27:case 26:case 25:{o=19,l=1;break}default:{e[n>>2]=t,o=0;break e}}while(0);if((A|0)==3){s=i,l=t;r:for(;;){if(o=l,l=l+1|0,(s-l|0)<=0){A=18;break}switch(C[w+(s0[l>>0]|0)>>0]|0){case 10:case 21:continue r;case 9:break;default:{A=17;break r}}if((o+2|0)==(i|0)){A=17;break}}if((A|0)==17){e[n>>2]=l,o=15;break}else if((A|0)==18){e[n>>2]=l,o=15;break}}A=r+328|0,c=r+332|0,f=r+336|0,s=t+l|0;r:for(;;){if(l=i-s|0,(l|0)<=0){A=99;break}switch(C[w+(s0[s>>0]|0)>>0]|0){case 29:{A=56;break r}case 10:case 9:case 21:case 30:case 20:case 36:case 35:case 32:case 11:{A=70;break r}case 34:{A=89;break r}case 33:{A=92;break r}case 15:{A=95;break r}case 27:case 26:case 25:case 24:case 22:{t=o,s=s+1|0,o=t;continue r}case 5:{if((l|0)<2){o=-2;break e}if(!(ke[e[A>>2]&127](r,s)|0)){A=60;break r}t=o,s=s+2|0,o=t;continue r}case 6:{if((l|0)<3){o=-2;break e}if(!(ke[e[c>>2]&127](r,s)|0)){A=64;break r}t=o,s=s+3|0,o=t;continue r}case 7:{if((l|0)<4){o=-2;break e}if(!(ke[e[f>>2]&127](r,s)|0)){A=68;break r}t=o,s=s+4|0,o=t;continue r}case 23:{switch(l=s+1|0,o&63){case 18:break;case 41:{o=19,s=l;continue r}default:{t=o,s=l,o=t;continue r}}if(o=i-l|0,(o|0)<=0){o=-1;break e}switch(C[w+(s0[l>>0]|0)>>0]|0){case 29:{A=74;break r}case 27:case 26:case 25:case 24:case 22:{o=41,s=s+2|0;continue r}case 5:{if((o|0)<2){o=-2;break e}if(!(ke[e[A>>2]&127](r,l)|0)){A=78;break r}o=41,s=s+3|0;continue r}case 6:{if((o|0)<3){o=-2;break e}if(!(ke[e[c>>2]&127](r,l)|0)){A=82;break r}o=41,s=s+4|0;continue r}case 7:{if((o|0)<4){o=-2;break e}if(!(ke[e[f>>2]&127](r,l)|0)){A=86;break r}o=41,s=s+5|0;continue r}default:{o=19,s=l;continue r}}}default:{A=98;break r}}}switch(A|0){case 56:{e[n>>2]=s,o=0;break e}case 60:{e[n>>2]=s,o=0;break e}case 64:{e[n>>2]=s,o=0;break e}case 68:{e[n>>2]=s,o=0;break e}case 70:{e[n>>2]=s;break e}case 74:{e[n>>2]=l,o=0;break e}case 78:{e[n>>2]=l,o=0;break e}case 82:{e[n>>2]=l,o=0;break e}case 86:{e[n>>2]=l,o=0;break e}case 89:if((o|0)==19){e[n>>2]=s,o=0;break e}else{e[n>>2]=s+1,o=32;break e}case 92:if((o|0)==19){e[n>>2]=s,o=0;break e}else{e[n>>2]=s+1,o=31;break e}case 95:if((o|0)==19){e[n>>2]=s,o=0;break e}else{e[n>>2]=s+1,o=30;break e}case 98:{e[n>>2]=s,o=0;break e}case 99:{o=0-o|0;break e}}}else o=-4;while(0);return o|0}function Tl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;e:do if(t>>>0>>0){f=r+72|0;r:do switch(C[f+(s0[t>>0]|0)>>0]|0){case 2:{o=f70(r,t+1|0,i,n)|0;break e}case 3:{o=Ck(r,t+1|0,i,n)|0;break e}case 9:{if(o=t+1|0,(i-o|0)<=0){o=-3;break e}e[n>>2]=(C[f+(s0[o>>0]|0)>>0]|0)==10?t+2|0:o,o=7;break e}case 10:{e[n>>2]=t+1,o=7;break e}case 4:{if(l=t+1|0,(i-l|0)<=0){o=-5;break e}if((C[l>>0]|0)==93){if(o=t+2|0,(i-o|0)<=0){o=-5;break e}if((C[o>>0]|0)==62){e[n>>2]=o,o=0;break e}else o=i}else o=i;break}case 5:{if(o=i,(o-t|0)<2){o=-2;break e}if(ke[e[r+352>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+2|0;break r}}case 6:{if(o=i,(o-t|0)<3){o=-2;break e}if(ke[e[r+356>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+3|0;break r}}case 7:{if(o=i,(o-t|0)<4){o=-2;break e}if(ke[e[r+360>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+4|0;break r}}case 8:case 1:case 0:{e[n>>2]=t,o=0;break e}default:l=t+1|0,o=i}while(0);s=r+352|0,A=r+356|0,c=r+360|0;r:for(;;){if(i=o-l|0,(i|0)<=0){i=49;break}switch(C[f+(s0[l>>0]|0)>>0]|0){case 10:case 9:case 8:case 1:case 0:case 2:case 3:{i=47;break r}case 5:{if((i|0)<2){i=32;break r}if(ke[e[s>>2]&127](r,l)|0){i=32;break r}l=l+2|0;continue r}case 6:{if((i|0)<3){i=36;break r}if(ke[e[A>>2]&127](r,l)|0){i=36;break r}l=l+3|0;continue r}case 7:{if((i|0)<4){i=40;break r}if(ke[e[c>>2]&127](r,l)|0){i=40;break r}l=l+4|0;continue r}case 4:{if((i|0)<=1){i=47;break r}if(t=l+1|0,(C[t>>0]|0)!=93){l=t;continue r}if((i|0)<=2){i=47;break r}if(l=l+2|0,(C[l>>0]|0)==62){i=46;break r}else{l=t;continue r}}default:{l=l+1|0;continue r}}}if((i|0)==32){e[n>>2]=l,o=6;break}else if((i|0)==36){e[n>>2]=l,o=6;break}else if((i|0)==40){e[n>>2]=l,o=6;break}else if((i|0)==46){e[n>>2]=l,o=0;break}else if((i|0)==47){e[n>>2]=l,o=6;break}else if((i|0)==49){e[n>>2]=l,o=6;break}}else o=-4;while(0);return o|0}function Fl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;e:do if(t>>>0>>0){c=r+72|0;r:do switch(C[c+(s0[t>>0]|0)>>0]|0){case 4:{if(l=t+1|0,o=i,(o-l|0)<=0){o=-1;break e}if((C[l>>0]|0)==93){if(i=t+2|0,(o-i|0)<=0){o=-1;break e}if((C[i>>0]|0)==62){e[n>>2]=t+3,o=40;break e}}break}case 9:{if(o=t+1|0,(i-o|0)<=0){o=-1;break e}e[n>>2]=(C[c+(s0[o>>0]|0)>>0]|0)==10?t+2|0:o,o=7;break e}case 10:{e[n>>2]=t+1,o=7;break e}case 5:{if(o=i,(o-t|0)<2){o=-2;break e}if(ke[e[r+352>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+2|0;break r}}case 6:{if(o=i,(o-t|0)<3){o=-2;break e}if(ke[e[r+356>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+3|0;break r}}case 7:{if(o=i,(o-t|0)<4){o=-2;break e}if(ke[e[r+360>>2]&127](r,t)|0){e[n>>2]=t,o=0;break e}else{l=t+4|0;break r}}case 8:case 1:case 0:{e[n>>2]=t,o=0;break e}default:l=t+1|0,o=i}while(0);t=r+352|0,s=r+356|0,A=r+360|0;r:for(;;){if(i=o-l|0,(i|0)<=0){i=39;break}switch(C[c+(s0[l>>0]|0)>>0]|0){case 4:case 10:case 9:case 8:case 1:case 0:{i=37;break r}case 5:{if((i|0)<2){i=30;break r}if(!(ke[e[t>>2]&127](r,l)|0))i=2;else{i=30;break r}break}case 6:{if((i|0)<3){i=33;break r}if(!(ke[e[s>>2]&127](r,l)|0))i=3;else{i=33;break r}break}case 7:{if((i|0)<4){i=36;break r}if(!(ke[e[A>>2]&127](r,l)|0))i=4;else{i=36;break r}break}default:i=1}l=l+i|0}if((i|0)==30){e[n>>2]=l,o=6;break}else if((i|0)==33){e[n>>2]=l,o=6;break}else if((i|0)==36){e[n>>2]=l,o=6;break}else if((i|0)==37){e[n>>2]=l,o=6;break}else if((i|0)==39){e[n>>2]=l,o=6;break}}else o=-4;while(0);return o|0}function Pl0(r,t,i,n,o,l,s,A,c){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0;var f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for((r|0)>-1&((t|0)>0&(i|0)>0)||H0(95162,94943,843,95188),A=IP(t,i,r,s,A,1)|0,A||H0(95233,94943,847,95188),_=e[A+20>>2]|0,z=e[A+24>>2]|0,w=t+1|0,f=0;(f|0)!=(w|0);)e[_+(f<<2)>>2]=0,f=f+1|0;e:do switch(s|0){case 1:{for(s=e[A+28>>2]|0,f=0;;){if((f|0)>=(r|0)){E=0;break}if(w=e[n+(f<<2)>>2]|0,!((w|0)>-1&(w|0)<(t|0))){x=13;break}if(B=e[o+(f<<2)>>2]|0,!((B|0)>-1&(B|0)<(i|0))){x=13;break}B=_+(w+1<<2)|0,e[B>>2]=(e[B>>2]|0)+1,f=f+1|0}for((x|0)==13&&H0(138394,94943,862,95188);;){if((E|0)==(t|0)){f=0;break}x=E+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(E<<2)>>2]|0),E=x}for(;(f|0)!=(r|0);)B=_+(e[n+(f<<2)>>2]<<2)|0,x=e[B>>2]|0,u[s+(x<<3)>>3]=+u[l+(f<<3)>>3],i=e[o+(f<<2)>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,f=f+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}case 2:{for(s=e[A+28>>2]|0,f=0;;){if((f|0)>=(r|0)){B=0;break}if(w=e[n+(f<<2)>>2]|0,!((w|0)>-1&(w|0)<(t|0))){x=25;break}if(E=e[o+(f<<2)>>2]|0,!((E|0)>-1&(E|0)<(i|0))){x=25;break}E=_+(w+1<<2)|0,e[E>>2]=(e[E>>2]|0)+1,f=f+1|0}for((x|0)==25&&H0(138394,94943,880,95188);;){if((B|0)==(t|0)){f=0;break}x=B+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(B<<2)>>2]|0),B=x}for(;(f|0)!=(r|0);)B=_+(e[n+(f<<2)>>2]<<2)|0,x=e[B>>2]|0,i=x<<1,u[s+(i<<3)>>3]=+u[l>>3],u[s+((i|1)<<3)>>3]=+u[l+8>>3],i=e[o+(f<<2)>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,l=l+16|0,f=f+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}case 4:{for(s=e[A+28>>2]|0,f=0;;){if((f|0)>=(r|0)){m=0;break}if(w=e[n+(f<<2)>>2]|0,!((w|0)>-1&(w|0)<(t|0))){x=37;break}if(B=e[o+(f<<2)>>2]|0,!((B|0)>-1&(B|0)<(i|0))){x=37;break}B=_+(w+1<<2)|0,e[B>>2]=(e[B>>2]|0)+1,f=f+1|0}for((x|0)==37&&H0(138394,94943,899,95188);;){if((m|0)==(t|0)){f=0;break}x=m+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(m<<2)>>2]|0),m=x}for(;(f|0)!=(r|0);)B=n+(f<<2)|0,e[s+(e[_+(e[B>>2]<<2)>>2]<<2)>>2]=e[l+(f<<2)>>2],i=e[o+(f<<2)>>2]|0,B=_+(e[B>>2]<<2)|0,x=e[B>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,f=f+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}case 8:{for(l=0;;){if((l|0)>=(r|0)){p=0;break}if(f=e[n+(l<<2)>>2]|0,!((f|0)>-1&(f|0)<(t|0))){x=48;break}if(B=e[o+(l<<2)>>2]|0,!((B|0)>-1&(B|0)<(i|0))){x=48;break}B=_+(f+1<<2)|0,e[B>>2]=(e[B>>2]|0)+1,l=l+1|0}for((x|0)==48&&H0(138394,94943,915,95188);;){if((p|0)==(t|0)){l=0;break}x=p+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(p<<2)>>2]|0),p=x}for(;(l|0)!=(r|0);)i=e[o+(l<<2)>>2]|0,B=_+(e[n+(l<<2)>>2]<<2)|0,x=e[B>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,l=l+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}case 16:{for(f=0;;){if((f|0)>=(r|0)){v=0;break}if(w=e[n+(f<<2)>>2]|0,!((w|0)>-1&(w|0)<(t|0))){x=59;break}if(B=e[o+(f<<2)>>2]|0,!((B|0)>-1&(B|0)<(i|0))){x=59;break}B=_+(w+1<<2)|0,e[B>>2]=(e[B>>2]|0)+1,f=f+1|0}for((x|0)==59&&H0(138394,94943,930,95188);(v|0)!=(t|0);)x=v+1|0,i=_+(x<<2)|0,e[i>>2]=(e[i>>2]|0)+(e[_+(v<<2)>>2]|0),v=x;for(u2(e[A+28>>2]|0,l|0,N0(e[A+40>>2]|0,r)|0)|0,l=0;(l|0)!=(r|0);)i=e[o+(l<<2)>>2]|0,B=_+(e[n+(l<<2)>>2]<<2)|0,x=e[B>>2]|0,e[B>>2]=x+1,e[z+(x<<2)>>2]=i,l=l+1|0;for(;;){if((t|0)<=0)break e;o=t+-1|0,e[_+(t<<2)>>2]=e[_+(o<<2)>>2],t=o}}default:H0(138394,94943,944,95188)}while(0);return e[_>>2]=0,e[A+8>>2]=r,c&&(A=Yl0(A,c)|0),A|0}function Yl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;z=e[r+20>>2]|0,_=e[r+24>>2]|0,n=e[r+16>>2]|0,B=e[r+4>>2]|0;e:do if(t){for(w=B<<2,p=_0(w)|0,i=0;!((i|0)>=(B|0));)e[p+(i<<2)>>2]=-1,i=i+1|0;r:do switch(n|0){case 1:{c=e[r+28>>2]|0,o=0,n=e[z>>2]|0,i=0;t:for(;;){if((i|0)>=(e[r>>2]|0)){L=o,Z=p;break r}for(f=i+1|0,w=z+(f<<2)|0,s=z+(i<<2)|0,i=o;t=e[w>>2]|0,!((n|0)>=(t|0));){if(t=_+(n<<2)|0,o=e[t>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)<(e[s>>2]|0))e[_+(i<<2)>>2]=o,u[c+(i<<3)>>3]=+u[c+(n<<3)>>3],e[p+(e[t>>2]<<2)>>2]=i,i=i+1|0;else{if((e[_+(l<<2)>>2]|0)!=(o|0))break t;x=c+(l<<3)|0,u[x>>3]=+u[x>>3]+ +u[c+(n<<3)>>3]}n=n+1|0}e[w>>2]=i,o=i,n=t,i=f}H0(95235,94943,1792,95260);break}case 2:{switch(x=e[r+28>>2]|0,t|0){case 1:{t=e[z>>2]|0,n=0,i=0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,Z=p;break r}for(c=n+1|0,f=z+(c<<2)|0,s=z+(n<<2)|0;n=e[f>>2]|0,!((t|0)>=(n|0));){if(n=_+(t<<2)|0,o=e[n>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)<(e[s>>2]|0))e[_+(i<<2)>>2]=o,E=t<<1,B=i<<1,u[x+(B<<3)>>3]=+u[x+(E<<3)>>3],u[x+((B|1)<<3)>>3]=+u[x+((E|1)<<3)>>3],e[p+(e[n>>2]<<2)>>2]=i,i=i+1|0;else{if((e[_+(l<<2)>>2]|0)!=(o|0))break t;E=t<<1,B=l<<1,m=x+(B<<3)|0,u[m>>3]=+u[m>>3]+ +u[x+(E<<3)>>3],B=x+((B|1)<<3)|0,u[B>>3]=+u[B>>3]+ +u[x+((E|1)<<3)>>3]}t=t+1|0}e[f>>2]=i,t=n,n=c}H0(95235,94943,1815,95260);break}case 4:{t=e[z>>2]|0,n=0,i=0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,Z=p;break r}for(f=n+1|0,c=z+(f<<2)|0,s=z+(n<<2)|0;n=e[c>>2]|0,!((t|0)>=(n|0));){if(n=_+(t<<2)|0,o=e[n>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)<(e[s>>2]|0))e[_+(i<<2)>>2]=o,E=t<<1,B=i<<1,u[x+(B<<3)>>3]=+u[x+(E<<3)>>3],u[x+((B|1)<<3)>>3]=+u[x+((E|1)<<3)>>3],e[p+(e[n>>2]<<2)>>2]=i,i=i+1|0;else{if((e[_+(l<<2)>>2]|0)!=(o|0))break t;E=t<<1,B=l<<1,m=x+(B<<3)|0,u[m>>3]=+u[m>>3]+ +u[x+(E<<3)>>3],u[x+((B|1)<<3)>>3]=+u[x+((E|1)<<3)>>3]}t=t+1|0}e[c>>2]=i,t=n,n=f}H0(95235,94943,1835,95260);break}case 2:{E=~~+u[x+8>>3],s=e[r>>2]|0,n=E,l=0,i=0;t:for(;!((l|0)>=(s|0));)for(c=l+1|0,f=e[z+(c<<2)>>2]|0,o=i,t=E,i=e[z+(l<<2)>>2]|0;;){if((i|0)>=(f|0)){E=t,l=c,i=o;continue t}E=~~+u[x+((o<<1|1)<<3)>>3],o=o+1|0,n=(n|0)>(E|0)?n:E,t=(t|0)<(E|0)?t:E,i=i+1|0}for(r0(p),m=n-E+1|0,v=_0(N0(m,w)|0)|0,m=N0(m,B)|0,i=0;!((i|0)>=(m|0));)e[v+(i<<2)>>2]=-1,i=i+1|0;i=0,t=e[z>>2]|0,n=0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,Z=v;break r}for(w=n+1|0,p=z+(w<<2)|0,f=z+(n<<2)|0;n=e[p>>2]|0,!((t|0)>=(n|0));){if(n=e[_+(t<<2)>>2]|0,o=t<<1,A=+u[x+((o|1)<<3)>>3],l=(N0(~~A-E|0,B)|0)+n|0,s=v+(l<<2)|0,c=e[s>>2]|0,(c|0)<(e[f>>2]|0))e[_+(i<<2)>>2]=n,c=i<<1,u[x+(c<<3)>>3]=+u[x+(o<<3)>>3],u[x+((c|1)<<3)>>3]=A,e[s>>2]=i,i=i+1|0;else{if((l|0)>=(m|0)){i=55;break t}if((e[_+(c<<2)>>2]|0)!=(n|0)){i=57;break t}c=c<<1,s=x+(c<<3)|0,u[s>>3]=+u[s>>3]+ +u[x+(o<<3)>>3],u[x+((c|1)<<3)>>3]=A}t=t+1|0}e[p>>2]=i,t=n,n=w}(i|0)==55?H0(95292,94943,1869,95260):(i|0)==57&&H0(95313,94943,1870,95260);break}case 3:{o=~~+u[x+8>>3],s=e[r>>2]|0,i=o,n=0,l=0;t:for(;!((l|0)>=(s|0));)for(c=l+1|0,f=e[z+(c<<2)>>2]|0,t=i,i=e[z+(l<<2)>>2]|0;;){if((i|0)>=(f|0)){i=t,l=c;continue t}E=~~+u[x+(n<<1<<3)>>3],t=(t|0)>(E|0)?t:E,o=(o|0)>(E|0)?o:E,n=n+1|0,i=i+1|0}for(r0(p),n=i-o+1|0,v=_0(N0(n,w)|0)|0,n=N0(n,B)|0,i=0;!((i|0)>=(n|0));)e[v+(i<<2)>>2]=-1,i=i+1|0;i=0,t=e[z>>2]|0,n=0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,Z=v;break r}for(w=n+1|0,p=z+(w<<2)|0,f=z+(n<<2)|0;n=e[p>>2]|0,!((t|0)>=(n|0));){if(n=e[_+(t<<2)>>2]|0,l=t<<1,A=+u[x+(l<<3)>>3],s=v+((N0(~~A-o|0,B)|0)+n<<2)|0,c=e[s>>2]|0,(c|0)<(e[f>>2]|0))e[_+(i<<2)>>2]=n,E=i<<1,u[x+(E<<3)>>3]=A,u[x+((E|1)<<3)>>3]=+u[x+((l|1)<<3)>>3],e[s>>2]=i,i=i+1|0;else{if((e[_+(c<<2)>>2]|0)!=(n|0))break t;E=c<<1,u[x+(E<<3)>>3]=A,E=x+((E|1)<<3)|0,u[E>>3]=+u[E>>3]+ +u[x+((l|1)<<3)>>3]}t=t+1|0}e[p>>2]=i,t=n,n=w}H0(95313,94943,1905,95260);break}default:{L=0,Z=p;break r}}break}case 4:{c=e[r+28>>2]|0,n=0,i=0,t=e[z>>2]|0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,Z=p;break r}for(f=n+1|0,w=z+(f<<2)|0,s=z+(n<<2)|0;o=e[w>>2]|0,!((t|0)>=(o|0));){if(n=_+(t<<2)|0,o=e[n>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)<(e[s>>2]|0))e[_+(i<<2)>>2]=o,e[c+(i<<2)>>2]=e[c+(t<<2)>>2],e[p+(e[n>>2]<<2)>>2]=i,i=i+1|0;else{if((e[_+(l<<2)>>2]|0)!=(o|0))break t;x=c+(l<<2)|0,e[x>>2]=(e[x>>2]|0)+(e[c+(t<<2)>>2]|0)}t=t+1|0}e[w>>2]=i,n=f,t=o}H0(95235,94943,1929,95260);break}case 8:{n=0,i=0,t=e[z>>2]|0;t:for(;;){if((n|0)>=(e[r>>2]|0)){L=i,Z=p;break r}for(c=n+1|0,f=z+(c<<2)|0,s=z+(n<<2)|0;o=e[f>>2]|0,!((t|0)>=(o|0));){if(n=_+(t<<2)|0,o=e[n>>2]|0,l=e[p+(o<<2)>>2]|0,(l|0)>=(e[s>>2]|0)){if((e[_+(l<<2)>>2]|0)!=(o|0))break t}else e[_+(i<<2)>>2]=o,e[p+(e[n>>2]<<2)>>2]=i,i=i+1|0;t=t+1|0}e[f>>2]=i,n=c,t=o}H0(95235,94943,1948,95260);break}default:{r=0;break e}}while(0);e[r+8>>2]=L,r0(Z)}while(0);return r|0}function CZ(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,n?Ol0(r,i,o,s,t,l):Vl0(r,i,o,s,t,l)}function Vl0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;if((e[r+32>>2]|0)!=1&&H0(94919,94943,1121,95483),(e[r+16>>2]|0)!=1&&H0(95364,94943,1122,95483),m=e[r+28>>2]|0,E=e[r+20>>2]|0,B=e[r+24>>2]|0,x=e[r>>2]|0,v=e[r+4>>2]|0,r=e[i>>2]|0,s=(r|0)!=0,o){for(s||(r=_0(N0(n<<3,v)|0)|0),o=N0(v,n)|0,s=0;;){if((s|0)>=(o|0)){s=0;break}u[r+(s<<3)>>3]=0,s=s+1|0}e:for(;!((s|0)>=(x|0));)for(f=s+1|0,w=e[E+(f<<2)>>2]|0,p=N0(s,n)|0,s=e[E+(s<<2)>>2]|0;;){if((s|0)>=(w|0)){s=f;continue e}for(A=m+(s<<3)|0,c=B+(s<<2)|0,o=0;!((o|0)>=(n|0));)_=r+((N0(e[c>>2]|0,n)|0)+o<<3)|0,u[_>>3]=+u[_>>3]+ +u[t+(o+p<<3)>>3]*+u[A>>3],o=o+1|0;s=s+1|0}l&&wd(r,v,n)}else{s||(r=_0(N0(n<<3,x)|0)|0),o=0;e:for(;!((o|0)>=(x|0));){for(p=N0(o,n)|0,s=0;!((s|0)>=(n|0));)u[r+(s+p<<3)>>3]=0,s=s+1|0;for(f=o+1|0,w=e[E+(f<<2)>>2]|0,s=e[E+(o<<2)>>2]|0;;){if((s|0)>=(w|0)){o=f;continue e}for(A=m+(s<<3)|0,c=B+(s<<2)|0,o=0;!((o|0)>=(n|0));)z=+u[t+((N0(e[c>>2]|0,n)|0)+o<<3)>>3]*+u[A>>3],v=r+(o+p<<3)|0,u[v>>3]=+u[v>>3]+z,o=o+1|0;s=s+1|0}}l&&wd(r,x,n)}e[i>>2]=r}function Ol0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0;if(p=g,g=g+16|0,w=p,(e[r+32>>2]|0)!=1&&H0(94919,94943,1163,95335),(e[r+16>>2]|0)!=1&&H0(95364,94943,1164,95335),s=e[i>>2]|0,c=e[r>>2]|0,f=e[r+4>>2]|0,A=(s|0)!=0,o){for(A||(s=_0(N0(n<<3,f)|0)|0),A=0;!((A|0)>=(n|0));)e[w>>2]=s+((N0(A,f)|0)<<3),Aa(r,t+((N0(A,c)|0)<<3)|0,w,o),A=A+1|0;l||wd(s,n,f)}else{for(A||(s=_0(N0(n<<3,c)|0)|0),A=0;!((A|0)>=(n|0));)e[w>>2]=s+((N0(A,c)|0)<<3),Aa(r,t+((N0(A,f)|0)<<3)|0,w,0),A=A+1|0;l||wd(s,n,c)}e[i>>2]=s,g=p}function Aa(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;switch((e[r+32>>2]|0)!=1&&H0(94919,94943,1222,95392),s=e[r+16>>2]|0,s|0){case 4:case 1:break;default:H0(95421,94943,1223,95392)}p=e[r+20>>2]|0,w=e[r+24>>2]|0,v=e[r>>2]|0,c=e[r+4>>2]|0,A=e[i>>2]|0;e:do switch(s|0){case 1:if(f=e[r+28>>2]|0,r=(n|0)!=0,o=(A|0)!=0,t){if(!r){o?o=A:o=_0(v<<3)|0,r=0;r:for(;;){if((r|0)>=(v|0))break e;for(s=o+(r<<3)|0,u[s>>3]=0,A=r+1|0,n=e[p+(A<<2)>>2]|0,r=e[p+(r<<2)>>2]|0,l=0;;){if((r|0)>=(n|0)){r=A;continue r}m=l+ +u[t+(e[w+(r<<2)>>2]<<3)>>3]*+u[f+(r<<3)>>3],u[s>>3]=m,r=r+1|0,l=m}}}for(o?o=A:o=_0(c<<3)|0,r=0;;){if((r|0)>=(c|0)){r=0;break}u[o+(r<<3)>>3]=0,r=r+1|0}r:for(;;){if((r|0)>=(v|0))break e;for(s=r+1|0,A=e[p+(s<<2)>>2]|0,n=t+(r<<3)|0,r=e[p+(r<<2)>>2]|0;;){if((r|0)>=(A|0)){r=s;continue r}c=o+(e[w+(r<<2)>>2]<<3)|0,u[c>>3]=+u[c>>3]+ +u[n>>3]*+u[f+(r<<3)>>3],r=r+1|0}}}else{if(!r){o?o=A:o=_0(v<<3)|0,r=0;r:for(;;){if((r|0)>=(v|0))break e;for(s=o+(r<<3)|0,u[s>>3]=0,A=r+1|0,n=e[p+(A<<2)>>2]|0,r=e[p+(r<<2)>>2]|0,l=0;;){if((r|0)>=(n|0)){r=A;continue r}m=l+ +u[f+(r<<3)>>3],u[s>>3]=m,r=r+1|0,l=m}}}for(o||(A=_0(c<<3)|0),r=0;;){if((r|0)>=(c|0)){r=0;break}u[A+(r<<3)>>3]=0,r=r+1|0}r:for(;;){if((r|0)>=(v|0)){o=A;break e}for(o=r+1|0,s=e[p+(o<<2)>>2]|0,r=e[p+(r<<2)>>2]|0;;){if((r|0)>=(s|0)){r=o;continue r}t=A+(e[w+(r<<2)>>2]<<3)|0,u[t>>3]=+u[t>>3]+ +u[f+(r<<3)>>3],r=r+1|0}}}case 4:if(f=e[r+28>>2]|0,r=(n|0)!=0,o=(A|0)!=0,t){if(!r){o?o=A:o=_0(v<<3)|0,r=0;r:for(;;){if((r|0)>=(v|0))break e;for(s=o+(r<<3)|0,u[s>>3]=0,A=r+1|0,n=e[p+(A<<2)>>2]|0,r=e[p+(r<<2)>>2]|0,l=0;;){if((r|0)>=(n|0)){r=A;continue r}m=l+ +u[t+(e[w+(r<<2)>>2]<<3)>>3]*+(e[f+(r<<2)>>2]|0),u[s>>3]=m,r=r+1|0,l=m}}}for(o?o=A:o=_0(c<<3)|0,r=0;;){if((r|0)>=(c|0)){r=0;break}u[o+(r<<3)>>3]=0,r=r+1|0}r:for(;;){if((r|0)>=(v|0))break e;for(s=r+1|0,A=e[p+(s<<2)>>2]|0,n=t+(r<<3)|0,r=e[p+(r<<2)>>2]|0;;){if((r|0)>=(A|0)){r=s;continue r}c=o+(e[w+(r<<2)>>2]<<3)|0,u[c>>3]=+u[c>>3]+ +u[n>>3]*+(e[f+(r<<2)>>2]|0),r=r+1|0}}}else{if(!r){o?o=A:o=_0(v<<3)|0,r=0;r:for(;;){if((r|0)>=(v|0))break e;for(s=o+(r<<3)|0,u[s>>3]=0,A=r+1|0,n=e[p+(A<<2)>>2]|0,r=e[p+(r<<2)>>2]|0,l=0;;){if((r|0)>=(n|0)){r=A;continue r}m=l+ +(e[f+(r<<2)>>2]|0),u[s>>3]=m,r=r+1|0,l=m}}}for(o||(A=_0(c<<3)|0),r=0;;){if((r|0)>=(c|0)){r=0;break}u[A+(r<<3)>>3]=0,r=r+1|0}r:for(;;){if((r|0)>=(v|0)){o=A;break e}for(o=r+1|0,s=e[p+(o<<2)>>2]|0,r=e[p+(r<<2)>>2]|0;;){if((r|0)>=(s|0)){r=o;continue r}t=A+(e[w+(r<<2)>>2]<<3)|0,u[t>>3]=+u[t>>3]+ +(e[f+(r<<2)>>2]|0),r=r+1|0}}}default:H0(138394,94943,1315,95392)}while(0);e[i>>2]=o}function wd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(n=N0(t<<3,i)|0,l=_0(n)|0,u2(l|0,r|0,n|0)|0,n=0;!((n|0)>=(t|0));){for(s=N0(n,i)|0,o=0;!((o|0)>=(i|0));)u[r+((N0(o,t)|0)+n<<3)>>3]=+u[l+(o+s<<3)>>3],o=o+1|0;n=n+1|0}r0(l)}function EZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0;if(W=e[r+20>>2]|0,N=e[r+24>>2]|0,T=e[t+20>>2]|0,D=e[t+24>>2]|0,Z=e[r+32>>2]|0,(Z|0)==1&&(Z|0)==(e[t+32>>2]|0)||H0(95005,94943,1408,95512),Z=e[r>>2]|0,(e[r+4>>2]|0)==(e[t>>2]|0)&&(p=e[r+16>>2]|0,(p|0)==(e[t+16>>2]|0))&&(w=t+4|0,P=_0(e[w>>2]<<2)|0,(P|0)!=0)){for(i=0;;){if((i|0)>=(e[w>>2]|0)){n=0,i=0;break}e[P+(i<<2)>>2]=-1,i=i+1|0}e:for(;!((i|0)>=(Z|0));)for(A=i+1|0,c=W+(A<<2)|0,f=-2-i|0,s=e[W+(i<<2)>>2]|0;;){if((s|0)>=(e[c>>2]|0)){i=A;continue e}for(o=e[N+(s<<2)>>2]|0,l=T+(o+1<<2)|0,o=e[T+(o<<2)>>2]|0;!((o|0)>=(e[l>>2]|0));)i=P+(e[D+(o<<2)>>2]<<2)|0,(e[i>>2]|0)!=(f|0)&&(e[i>>2]=f,n=n+1|0),o=o+1|0;s=s+1|0}i=k1(Z,e[w>>2]|0,n,p,1)|0;e:do if(!i)i=0;else{z=e[i+20>>2]|0,_=e[i+24>>2]|0;r:do switch(p|0){case 1:{B=e[r+28>>2]|0,p=e[t+28>>2]|0,t=e[i+28>>2]|0,e[z>>2]=0,n=0,o=0;t:for(;;){if((n|0)>=(Z|0)){L=o;break r}for(v=n+1|0,m=W+(v<<2)|0,E=z+(n<<2)|0,r=e[W+(n<<2)>>2]|0;!((r|0)>=(e[m>>2]|0));){for(c=e[N+(r<<2)>>2]|0,f=T+(c+1<<2)|0,w=B+(r<<3)|0,c=e[T+(c<<2)>>2]|0;!((c|0)>=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>>3]*+u[w>>3]+ +u[A>>3]}c=c+1|0}p=p+1|0}e[z+(m<<2)>>2]=o,n=m}H0(95534,94943,1497,95512);break}case 4:{B=e[r+28>>2]|0,p=e[t+28>>2]|0,t=e[i+28>>2]|0,e[z>>2]=0,n=0,o=0;t:for(;;){if((o|0)>=(Z|0)){L=n;break r}for(v=o+1|0,m=W+(v<<2)|0,E=z+(o<<2)|0,f=e[W+(o<<2)>>2]|0;!((f|0)>=(e[m>>2]|0));){for(c=e[N+(f<<2)>>2]|0,w=T+(c+1<<2)|0,r=B+(f<<2)|0,c=e[T+(c<<2)>>2]|0;!((c|0)>=(e[w>>2]|0));){if(o=D+(c<<2)|0,l=e[o>>2]|0,s=P+(l<<2)|0,A=e[s>>2]|0,(A|0)<(e[E>>2]|0))e[s>>2]=n,e[_+(n<<2)>>2]=e[o>>2],e[t+(n<<2)>>2]=N0(e[p+(c<<2)>>2]|0,e[r>>2]|0)|0,n=n+1|0;else{if((e[_+(A<<2)>>2]|0)!=(l|0))break t;s=N0(e[p+(c<<2)>>2]|0,e[r>>2]|0)|0,x=t+(A<<2)|0,e[x>>2]=(e[x>>2]|0)+s}c=c+1|0}f=f+1|0}e[z+(v<<2)>>2]=n,o=v}H0(95534,94943,1523,95512);break}case 8:{e[z>>2]=0,n=0,o=0;t:for(;;){if((o|0)>=(Z|0)){L=n;break r}for(r=o+1|0,p=W+(r<<2)|0,t=z+(o<<2)|0,f=e[W+(o<<2)>>2]|0;!((f|0)>=(e[p>>2]|0));){for(c=e[N+(f<<2)>>2]|0,w=T+(c+1<<2)|0,c=e[T+(c<<2)>>2]|0;!((c|0)>=(e[w>>2]|0));){if(o=D+(c<<2)|0,l=e[o>>2]|0,s=P+(l<<2)|0,A=e[s>>2]|0,(A|0)>=(e[t>>2]|0)){if((e[_+(A<<2)>>2]|0)!=(l|0))break t}else e[s>>2]=n,e[_+(n<<2)>>2]=e[o>>2],n=n+1|0;c=c+1|0}f=f+1|0}e[z+(r<<2)>>2]=n,o=r}H0(95534,94943,1543,95512);break}default:{U2(i),i=0;break e}}while(0);e[i+8>>2]=L}while(0);r0(P)}else i=0;return i|0}function k9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0;if(q=e[r+20>>2]|0,t0=e[r+24>>2]|0,Y=e[t+20>>2]|0,P=e[t+24>>2]|0,X=e[i+20>>2]|0,U=e[i+24>>2]|0,F=e[r+32>>2]|0,(F|0)==1&&(F|0)==(e[t+32>>2]|0)||H0(95005,94943,1574,95559),F=e[r>>2]|0,(e[r+4>>2]|0)==(e[t>>2]|0)&&(e[t+4>>2]|0)==(e[i>>2]|0)&&(E=e[r+16>>2]|0,(E|0)==(e[t+16>>2]|0))&&(E|0)==(e[i+16>>2]|0)&&(m=i+4|0,H=_0(e[m>>2]<<2)|0,(H|0)!=0)){for(n=0;;){if((n|0)>=(e[m>>2]|0)){o=0,n=0;break}e[H+(n<<2)>>2]=-1,n=n+1|0}e:for(;!((n|0)>=(F|0));)for(w=n+1|0,p=q+(w<<2)|0,v=-2-n|0,f=e[q+(n<<2)>>2]|0;;){if((f|0)>=(e[p>>2]|0)){n=w;continue e}for(A=e[t0+(f<<2)>>2]|0,c=Y+(A+1<<2)|0,A=e[Y+(A<<2)>>2]|0;!((A|0)>=(e[c>>2]|0));){for(l=e[P+(A<<2)>>2]|0,s=X+(l+1<<2)|0,l=e[X+(l<<2)>>2]|0;!((l|0)>=(e[s>>2]|0));)n=H+(e[U+(l<<2)>>2]<<2)|0,(e[n>>2]|0)!=(v|0)&&(e[n>>2]=v,o=o+1|0),l=l+1|0;A=A+1|0}f=f+1|0}n=k1(F,e[m>>2]|0,o,E,1)|0;e:do if(!n)n=0;else{N=e[n+20>>2]|0,T=e[n+24>>2]|0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default:{U2(n),n=0;break e}}while(0);e[n+8>>2]=D}while(0);r0(H)}else n=0;return n|0}function ih(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;if((e[r+32>>2]|0)!=2&&H0(95100,94943,1971,95607),(t|0)>=1){for(s=e[r+8>>2]|0,l=s+t|0,(l|0)>=(e[r+12>>2]|0)&&Hl0(r,l+10|0)|0,A=s<<2,l=t<<2,u2((e[r+20>>2]|0)+A|0,i|0,l|0)|0,u2((e[r+24>>2]|0)+A|0,n|0,l|0)|0,l=e[r+40>>2]|0,l|0&&(A=N0(l,t)|0,s=N0(l,s)|0,u2((e[r+28>>2]|0)+s|0,o|0,A|0)|0),o=r+4|0,s=0;!((s|0)>=(t|0));)l=e[i+(s<<2)>>2]|0,(l|0)>=(e[r>>2]|0)&&(e[r>>2]=l+1),l=e[n+(s<<2)>>2]|0,(l|0)>=(e[o>>2]|0)&&(e[o>>2]=l+1),s=s+1|0;A=r+8|0,e[A>>2]=(e[A>>2]|0)+t}return r|0}function Hl0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return(e[r+32>>2]|0)==2?(i=r+20|0,o=t<<2,e[i>>2]=Ve(e[i>>2]|0,o)|0,i=r+24|0,e[i>>2]=Ve(e[i>>2]|0,o)|0,i=e[r+40>>2]|0,(i|0)>0&&(o=r+28|0,n=e[o>>2]|0,i=N0(i,t)|0,n?i=Ve(n,i)|0:i=_0(i)|0,e[o>>2]=i)):(i=r+24|0,e[i>>2]=Ve(e[i>>2]|0,t<<2)|0,i=e[r+40>>2]|0,(i|0)>0&&(o=r+28|0,n=e[o>>2]|0,i=N0(i,t)|0,n?i=Ve(n,i)|0:i=_0(i)|0,e[o>>2]=i)),e[r+12>>2]=t,r|0}function BZ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;e:do if(!r)r=0;else{f=e[r+20>>2]|0,c=e[r+24>>2]|0;r:do switch(e[r+16>>2]|0){case 1:{s=e[r+28>>2]|0,n=e[r>>2]|0,t=0;t:for(;;){if((t|0)>=(n|0))break r;for(o=t+1|0,l=e[f+(o<<2)>>2]|0,t=e[f+(t<<2)>>2]|0,i=1/+(l-t|0);;){if((t|0)>=(l|0)){t=o;continue t}c=s+(t<<3)|0,u[c>>3]=+u[c>>3]*i,t=t+1|0}}}case 2:{o=e[r+28>>2]|0,l=e[r>>2]|0,t=0;t:for(;;){if((t|0)>=(l|0))break r;for(s=t+1|0,A=e[f+(s<<2)>>2]|0,n=e[f+(t<<2)>>2]|0,i=1/+(A-n|0);;){if((n|0)>=(A|0)){t=s;continue t}(e[c+(n<<2)>>2]|0)!=(t|0)&&(w=n<<1,p=o+(w<<3)|0,u[p>>3]=+u[p>>3]*i,w=o+((w|1)<<3)|0,u[w>>3]=+u[w>>3]*i),n=n+1|0}}}case 4:{H0(138394,94943,2192,95648);break}case 8:break;default:{r=0;break e}}while(0)}while(0);return r|0}function nh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(r|0&&(t=r+8|0,i=e[t>>2]|0,n=e[r+4>>2]|0,(n|0)==(e[r>>2]|0))){for(l=e[r+24>>2]|0,r=e[r+20>>2]|0,o=k1(n,n,i,8,1)|0,u2(e[o+20>>2]|0,r|0,(n<<2)+4|0)|0,u2(e[o+24>>2]|0,l|0,i<<2|0)|0,e[o+8>>2]=e[t>>2],r=Ql(o,1)|0,U2(o),r=Ls(r)|0,n=r+8|0,i=_0(e[n>>2]<<3)|0,e[r+28>>2]=i,n=e[n>>2]|0,t=0;!((t|0)>=(n|0));)u[i+(t<<3)>>3]=1,t=t+1|0;e[r+16>>2]=1,e[r+40>>2]=8}else r=0;return r|0}function Jl0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;for(E=e[r+20>>2]|0,B=e[r+24>>2]|0,Z=e[r+4>>2]|0,v=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656612875245797e-25)}function Ul0(r){return r=r|0,(r|0)>1?(ri()|0)%(r|0)|0|0:(H0(95682,95688,58,95698),0)}function vA(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;e:do if((r|0)<1)t=0;else{for(t=_0(r<<2)|0,i=0;(i|0)!=(r|0);)e[t+(i<<2)>>2]=i,i=i+1|0;for(;;){if((r|0)<=1)break e;n=Ul0(r)|0,i=r+-1|0,l=t+(i<<2)|0,o=e[l>>2]|0,n=t+(n<<2)|0,e[l>>2]=e[n>>2],e[n>>2]=o,r=i}}while(0);return t|0}function Xl0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=0;!((n|0)>=(r|0));)o=i+(n<<3)|0,u[o>>3]=+u[t+(n<<3)>>3]-+u[o>>3],n=n+1|0;return i|0}function oh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(n=0,o=0;!((n|0)>=(r|0));)l=+u[i+(n<<3)>>3]*+u[t+(n<<3)>>3]+o,n=n+1|0,o=l;return+o}function ql0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0;for(o=0;!((o|0)>=(r|0));)l=i+(o<<3)|0,u[l>>3]=+u[l>>3]*n+ +u[t+(o<<3)>>3],o=o+1|0;return i|0}function IZ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0;for(o=0;!((o|0)>=(r|0));)l=t+(o<<3)|0,u[l>>3]=+u[i+(o<<3)>>3]*n+ +u[l>>3],o=o+1|0;return t|0}function $i(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;for(l=N0(i,t)|0,n=N0(n,t)|0,o=0,i=0;!((i|0)>=(t|0));)s=+u[r+(i+l<<3)>>3]-+u[r+(i+n<<3)>>3],o=s*s+o,i=i+1|0;return s=+G0(+o),+(s>1e-15?s:1e-15)}function On(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;for(l=N0(i,t)|0,n=N0(n,t)|0,o=0,i=0;!((i|0)>=(t|0));)s=+u[r+(i+l<<3)>>3]-+u[r+(i+n<<3)>>3],o=s*s+o,i=i+1|0;return+ +G0(+o)}function dd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(n=0,o=0;!((o|0)>=(i|0));)l=+u[r+(o<<3)>>3]-+u[t+(o<<3)>>3],n=l*l+n,o=o+1|0;return+ +G0(+n)}function $l0(r,t,i,n,o,l,s){r=+r,t=+t,i=+i,n=+n,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(m=g,g=g+80|0,p=m+48|0,w=m+24|0,v=m,A=0;;){if((A|0)>=(l|0)){c=0;break}E=+u[s+(A<<3)>>3],u[p+(A<<3)>>3]=E,u[w+(A<<3)>>3]=E,A=A+1|0}for(;!((c|0)>=(o|0));){for(f=N0(c,l)|0,A=0;!((A|0)>=(l|0));)x=+u[s+(A+f<<3)>>3],B=p+(A<<3)|0,E=+u[B>>3],u[B>>3]=x>3],u[B>>3]=x>E?x:E,A=A+1|0;c=c+1|0}for(E=+u[w>>3]-+u[p>>3],i=E!=0?(i-r)/E:1,E=+u[w+8>>3]-+u[p+8>>3],x=(n-t)/E,i=E!=0?i>3]=r,u[v+8>>3]=t,u[v+16>>3]=0,c=0;!((c|0)>=(o|0));){for(f=N0(c,l)|0,A=0;!((A|0)>=(l|0));)B=s+(A+f<<3)|0,u[B>>3]=(+u[B>>3]-+u[p+(A<<3)>>3])*i+ +u[v+(A<<3)>>3],A=A+1|0;c=c+1|0}g=m}function xZ(r,t){r=r|0,t=t|0,(v2(r)|0)==1?(r=e[(e[(U0(r)|0)+16>>2]|0)+132>>2]|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0):(Kl0(r),(jt(he(t,95704)|0)|0)<<24>>24?t=bl0(r)|0:t=aA0(r,186208)|0,dA0(r,t,186208),es0(t))}function Kl0(r){r=r|0;var t=0;t=We(e[e[(e[(U0(r)|0)+16>>2]|0)+112>>2]>>2]|0)|0,r=e[46925]|0,(t|0)!=(r|0)&&(e[46555]=0,e[46925]=t,e[46926]=re(t,0,95713,0)|0,e[46927]=re(e[46925]|0,1,95721,0)|0,e[46928]=re(e[46925]|0,1,95738,0)|0,r=e[46925]|0),e[46929]=he(r,95738)|0,g9(186208),e[46554]=1,u[23280]=+sr(e[46925]|0,e[46926]|0,1,0),e[46556]=e[46927],e[46557]=e[46928],e[46558]=e[46929]}function bl0(r){r=r|0;var t=0,i=0,n=0,o=0;for(o=g,g=g+144|0,n=o,i=o+8|0,t=e[46555]|0,e[46555]=t+1,e[n>>2]=t,Ke(i,96234,n)|0,i=TZ(ji(r,i,1)|0)|0,n=i+8|0,t=U0(r)|0;t;)ft(e[n>>2]|0,t,1)|0,e[(e[(e[t+16>>2]|0)+112>>2]|0)+12>>2]=i,t=X0(r,t)|0;return g=o,i|0}function es0(r){r=r|0,OZ(r)}function rs0(r,t){r=r|0,t=t|0;var i=0;return i=_0(32)|0,e[i>>2]=4,u[i+8>>3]=.75,e[i+16>>2]=1073741824,e[i+20>>2]=1,e[i+24>>2]=r,e[i+28>>2]=t,i|0}function ts0(r){r=r|0,r0(r)}function SZ(r){r=r|0;var t=0,i=0;if(r){i=e[r+8>>2]|0;do if(i|0){if(e[r>>2]|0){if(U2(i),t=e[r+12>>2]|0,!t)break;U2(t);break}e[r+36>>2]|0&&(U2(i),t=e[r+12>>2]|0,t|0)&&U2(t)}while(0);U2(e[r+16>>2]|0),U2(e[r+20>>2]|0),t=e[r+24>>2]|0,t|0&&(e[r>>2]|0)>0&&r0(t),SZ(e[r+28>>2]|0),r0(r)}}function is0(r,t,i,n,o,l,s,A,c,f){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0,f=f|0;var w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;_=g,g=g+32|0,w=_+16|0,p=_+12|0,v=_+8|0,m=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=i+1|0,e[D>>2]=f,u[N+(i<<3)>>3]=L,i=e[c>>2]|0):f=p,w=w+1|0,p=f}}P=Rs(p,P,x,Z,W,N,1,8)|0,e[s>>2]=P,P=Qf(P)|0,e[A>>2]=P,s=k9(P,r,e[s>>2]|0)|0,e[t>>2]=s,s?(Aa(e[A>>2]|0,o,l,0),v=e[t>>2]|0,m=v+36|0,e[m>>2]=e[m>>2]|3,e[t>>2]=Ls(v)|0,e[n>>2]=0,v=N,m=W,c=Z,p=Z,w=W,f=N):(v=N,m=W,c=Z,p=Z,w=W,f=N)}else v=0,m=0,c=0,p=0,w=0,f=0;break}case 5:{T=26;break}case 1:{f=c+20|0,ss0(r,e[f>>2]|0,X,m),i=e[v>>2]|0,(i|0)==2?(i=f,T=24):T=25;break}case 2:{i=c+20|0,T=24;break}case 3:{ns0(r,e[c+20>>2]|0,F,q,_),T=12;break}case 4:{os0(r,e[c+20>>2]|0,F,q,_),T=12;break}case 6:{ls0(r,F,q,_),T=12;break}default:v=0,m=0,c=0,p=0,w=0,f=0}while(0);do if((T|0)==12){if(E=e[_>>2]|0,e[c+28>>2]|0){if((E|0)==(P|0)){v=0,m=0,c=0,p=0,w=0,f=0;break}}else if((E|0)==(P|0)||+u[c+8>>3]*+(P|0)<+(E|0)){v=0,m=0,c=0,p=0,w=0,f=0;break}if((E|0)>=(e[c>>2]|0)){x=P<<2,B=_0(x)|0,x=_0(x)|0,z=_0(P<<3)|0,e[D>>2]=0,p=e[q>>2]|0,v=e[F>>2]|0,w=0,i=0;e:for(;!((w|0)>=(e[_>>2]|0));)for(m=w+1|0,c=p+(m<<2)|0,f=e[p+(w<<2)>>2]|0;;){if((f|0)>=(e[c>>2]|0)){w=m;continue e}e[B+(i<<2)>>2]=e[v+(f<<2)>>2],e[x+(e[D>>2]<<2)>>2]=w,W=e[D>>2]|0,N=W+1|0,e[D>>2]=N,u[z+(W<<3)>>3]=1,f=f+1|0,i=N}P=Rs(i,P,E,B,x,z,1,8)|0,e[s>>2]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0,f=c+1|0,w=e[x+(f<<2)>>2]|0,p=m+(c<<2)|0,v=+(w-t|0),l=1;!((t|0)>=(w|0));)r=e[z+(t<<2)>>2]|0,(c|0)!=(r|0)&&(e[m+(r<<2)>>2]|0)==(r|0)&&(e[p>>2]|0)==(c|0)&&(A=+u[B+(t<<3)>>3]/(+((e[x+(r+1<<2)>>2]|0)-(e[x+(r<<2)>>2]|0)|0)*v),!(l|0)&&!(A>s)?l=0:(l=0,o=r,s=A)),t=t+1|0;if(l|0){c=f;continue}e[m+(o<<2)>>2]=c,e[m+(c<<2)>>2]=o,e[n>>2]=(e[n>>2]|0)+-1,c=f}while(0)}function as0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(p=e[r+20>>2]|0,v=e[r+24>>2]|0,w=e[r>>2]|0,c=_0(w<<2)|0,e[i>>2]=c,r=0;!((r|0)>=(w|0));)e[c+(r<<2)>>2]=-100,r=r+1|0;e[n>>2]=0,e[o>>2]=0;e:do if(t){for(A=vA(w)|0,s=0;!((s|0)>=(w|0));){c=e[A+(s<<2)>>2]|0,f=e[i>>2]|0,r=f+(c<<2)|0;r:do if((e[r>>2]|0)==-100)for(t=e[n>>2]|0,e[n>>2]=t+1,e[r>>2]=t,t=p+(c+1<<2)|0,r=e[p+(c<<2)>>2]|0;;){if((r|0)>=(e[t>>2]|0))break r;l=e[v+(r<<2)>>2]|0,(c|0)!=(l|0)&&(e[f+(l<<2)>>2]=-1,e[o>>2]=(e[o>>2]|0)+1),r=r+1|0}while(0);s=s+1|0}r0(A)}else{t=0;r:for(;;){if((t|0)>=(w|0))break e;if((e[c+(t<<2)>>2]|0)!=-100){t=t+1|0;continue}for(l=e[n>>2]|0,e[n>>2]=l+1,e[c+(t<<2)>>2]=l,l=t+1|0,s=p+(l<<2)|0,r=e[p+(t<<2)>>2]|0;;){if((r|0)>=(e[s>>2]|0)){t=l;continue r}A=e[v+(r<<2)>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,s)|0,e[v>>2]=s,v9(f,e[t>>2]|0,s+1|0)|0),r=r+1|0}while(0);e[o>>2]=(e[o>>2]|0)+1,r=e[p>>2]|0}c=c+1|0}e[o>>2]=(e[o>>2]|0)+r,ps0(f),g=E}function fs0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=+u[r+8>>3],i=+u[t+8>>3],(n>i?-1:n>2]|0)==1?o=r:o=nh(r)|0;do if(!t)t=0;else{if(j1(t,0)|0&&(e[t+16>>2]|0)==1)break;t=yk(t,0)|0}while(0);return i=_Z(o,t,i)|0,t=zZ(i,n)|0,(o|0)!=(r|0)&&(e[i+36>>2]=1),t|0}function _Z(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return r?(n=_0(44)|0,e[n>>2]=0,e[n+4>>2]=e[r+4>>2],e[n+8>>2]=r,e[n+12>>2]=t,e[n+16>>2]=0,e[n+20>>2]=0,e[n+24>>2]=i,e[n+28>>2]=0,e[n+32>>2]=0,e[n+36>>2]=0,r=n):r=0,r|0}function zZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;return f=g,g=g+32|0,n=f+20|0,o=f+16|0,l=f+12|0,s=f+8|0,A=f+4|0,c=f,e[o>>2]=0,(e[r>>2]|0)<((e[t+16>>2]|0)+-1|0)&&(is0(e[r+8>>2]|0,A,e[r+12>>2]|0,c,0,o,l,s,t,n),i=e[A>>2]|0,i|0)&&(A=e[c>>2]|0,c=_Z(i,A,e[o>>2]|0)|0,e[r+28>>2]=c,e[c+40>>2]=e[n>>2],e[c>>2]=(e[r>>2]|0)+1,e[c+4>>2]=e[i>>2],e[c+8>>2]=i,e[c+12>>2]=A,e[c+16>>2]=e[l>>2],e[r+20>>2]=e[s>>2],e[c+32>>2]=r,zZ(c,t)|0),g=f,r|0}function ws0(r){r=r|0;for(var t=0;t=e[r+28>>2]|0,t;)r=t;return r|0}function ds0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=_0(28)|0,e[o>>2]=0,e[o+4>>2]=r,e[o+8>>2]=t,e[o+12>>2]=-1,n=o+16|0,e[n>>2]=_0((t<<2)+4|0)|0,i=0;!((i|0)>(t|0));)e[(e[n>>2]|0)+(i<<2)>>2]=0,i=i+1|0;for(t=(r<<2)+4|0,n=o+20|0,e[n>>2]=_0(t)|0,i=0;!((i|0)>(r|0));)e[(e[n>>2]|0)+(i<<2)>>2]=0,i=i+1|0;for(t=_0(t)|0,e[o+24>>2]=t,i=0;!((i|0)>(r|0));)e[t+(i<<2)>>2]=-999,i=i+1|0;return o|0}function ps0(r){r=r|0;var t=0,i=0,n=0,o=0;if(r|0){if(n=r+16|0,t=e[n>>2]|0,t|0){for(o=r+8|0,i=0;!((i|0)>(e[o>>2]|0));)oA0(e[t+(i<<2)>>2]|0,105),i=i+1|0,t=e[n>>2]|0;r0(t)}t=e[r+20>>2]|0,t|0&&r0(t),r0(e[r+24>>2]|0),r0(r)}}function v9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(l=r+8|0,c=r+20|0,A=r+24|0,f=r+16|0,r||H0(138953,95743,69,95759);;){if((e[l>>2]|0)<(i|0)){s=4;break}if(n=(e[c>>2]|0)+(t<<2)|0,o=e[n>>2]|0,!o)break;w=e[(e[A>>2]|0)+(t<<2)>>2]|0,e[n>>2]=0,e[r>>2]=(e[r>>2]|0)+-1,m9(o,105,(e[f>>2]|0)+(w<<2)|0)}return(s|0)==4&&H0(95778,95743,70,95759),e[r>>2]=(e[r>>2]|0)+1,n=r+12|0,(e[n>>2]|0)<(i|0)&&(e[n>>2]=i),e[(e[A>>2]|0)+(t<<2)>>2]=i,n=_0(4)|0,e[n>>2]=t,o=e[(e[f>>2]|0)+(i<<2)>>2]|0,o?n=lA0(o,n)|0:n=QZ(n)|0,e[(e[c>>2]|0)+(t<<2)>>2]=n,e[(e[f>>2]|0)+(i<<2)>>2]=n,r|0}function ks0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(r|0&&(e[r>>2]|0)>=1){if(o=r+12|0,n=e[o>>2]|0,e[i>>2]=n,e[r>>2]=(e[r>>2]|0)+-1,i=r+16|0,l=e[(e[i>>2]|0)+(n<<2)>>2]|0,e[t>>2]=e[(sA0(l)|0)>>2],m9(l,105,(e[i>>2]|0)+(n<<2)|0),i=e[i>>2]|0,!(e[i+(n<<2)>>2]|0)){for(;!((n|0)<=-1||e[i+(n<<2)>>2]|0);)n=n+-1|0;e[o>>2]=n}n=e[t>>2]|0,e[(e[r+20>>2]|0)+(n<<2)>>2]=0,e[(e[r+24>>2]|0)+(n<<2)>>2]=-999,n=1}else n=0;return n|0}function vs0(r,t){return r=r|0,t=t|0,e[(e[r+24>>2]|0)+(t<<2)>>2]|0}function ms0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;if(r|0&&(n=e[r>>2]|0,(n|0)>=1)){if(s=r+24|0,i=e[(e[s>>2]|0)+(t<<2)>>2]|0,e[r>>2]=n+-1,o=r+20|0,n=r+16|0,m9(e[(e[o>>2]|0)+(t<<2)>>2]|0,105,(e[n>>2]|0)+(i<<2)|0),r=r+12|0,(i|0)==(e[r>>2]|0)&&(l=e[n>>2]|0,(e[l+(i<<2)>>2]|0)==0)){for(;!((i|0)<=-1||e[l+(i<<2)>>2]|0);)i=i+-1|0;e[r>>2]=i}e[(e[o>>2]|0)+(t<<2)>>2]=0,e[(e[s>>2]|0)+(t<<2)>>2]=-999,i=1}else i=0;return i|0}function LZ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;for(j1(r,0)|0||H0(95795,95831,260,95846),Z=Tf(r)|0,W=e[Z+20>>2]|0,N=e[Z+24>>2]|0,n=Z+16|0,r=Z+28|0,(e[n>>2]|0)==1?L=e[r>>2]|0:(r0(e[r>>2]|0),e[n>>2]=1,L=_0(e[Z+8>>2]<<3)|0,e[r>>2]=L),B=_0(e[Z>>2]<<2)|0,r=0;;){if(n=e[Z>>2]|0,(r|0)>=(n|0)){E=0,r=n;break}e[B+(r<<2)>>2]=-1,r=r+1|0}e:for(;;){if((E|0)>=(r|0)){l=0,c=0,o=0,_=0,z=r;break}for(m=E+1|0,s=W+(m<<2)|0,w=W+(E<<2)|0,A=(e[s>>2]|0)-(e[w>>2]|0)|0,e[B+(E<<2)>>2]=E,n=e[w>>2]|0;v=e[s>>2]|0,!((n|0)>=(v|0));)r=e[N+(n<<2)>>2]|0,(E|0)!=(r|0)&&(e[B+(r<<2)>>2]=E),n=n+1|0;for(p=+(A|0),n=e[w>>2]|0;!((n|0)>=(v|0));){if(r=e[N+(n<<2)>>2]|0,(E|0)!=(r|0)){for(s=e[W+(r+1<<2)>>2]|0,r=e[W+(r<<2)>>2]|0,f=+(s-r|0)+p;!((r|0)>=(s|0));)f=(e[B+(e[N+(r<<2)>>2]<<2)>>2]|0)==(E|0)?f+-1:f,r=r+1|0;if(u[L+(n<<3)>>3]=f,!(f>0)){x=23;break e}}n=n+1|0}E=m,r=e[Z>>2]|0}for((x|0)==23&&H0(95868,95831,290,95846);!((_|0)>=(z|0));){for(s=_+1|0,A=W+(s<<2)|0,n=e[W+(_<<2)>>2]|0;!((n|0)>=(e[A>>2]|0));)r=e[N+(n<<2)>>2]|0,(_|0)==(r|0)?r=o:(c=+On(i,t,_,r)+c,l=+u[L+(n<<3)>>3]+l,r=o+1|0),o=r,n=n+1|0;_=s,z=e[Z>>2]|0}p=+(o|0),l=c/(l/p*p),r=0;e:for(;!((r|0)>=(z|0));)for(s=r+1|0,A=e[W+(s<<2)>>2]|0,n=e[W+(r<<2)>>2]|0;;){if((n|0)>=(A|0)){r=s;continue e}o=L+(n<<3)|0,(r|0)!=(e[N+(n<<2)>>2]|0)&&(u[o>>3]=+u[o>>3]*l),n=n+1|0}return Z|0}function gs0(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0;for(a0=e[r>>2]|0,k0=e[r+20>>2]|0,B0=e[r+24>>2]|0,j1(r,0)|0||H0(95795,95831,333,95876),D0=LZ(r,t,n)|0,J0=_0(56)|0,O0=J0+32|0,u[O0>>3]=1,e[J0+20>>2]=0,e[J0+24>>2]=0,u[J0+40>>3]=.01,e[J0+48>>2]=~~+G0(+ +(e[r>>2]|0)),l=a0<<3,t0=_0(l)|0,e[J0+12>>2]=t0,r=0;!((r|0)>=(a0|0));)u[t0+(r<<3)>>3]=i,r=r+1|0;for(Y=_0(a0<<2)|0,q=_0(l)|0,A=0;;){if((A|0)>=(a0|0)){p=0;break}for(c=q+(A<<3)|0,u[c>>3]=0,f=A+1|0,w=k0+(f<<2)|0,s=e[k0+(A<<2)>>2]|0,r=0,i=0;!((s|0)>=(e[w>>2]|0));)l=e[B0+(s<<2)>>2]|0,(A|0)!=(l|0)&&(i=+On(n,t,A,l),i=+u[c>>3]+i,u[c>>3]=i,r=r+1|0),s=s+1|0;if((r|0)<=0){m=14;break}u[c>>3]=i/+(r|0),A=f}for((m|0)==14&&H0(95908,95831,358,95876);;){if((p|0)>=(a0|0)){r=0,f=0;break}e[Y+(p<<2)>>2]=-1,p=p+1|0}e:for(;!((f|0)>=(a0|0));){for(e[Y+(f<<2)>>2]=f,A=k0+(f<<2)|0,w=f+1|0,p=k0+(w<<2)|0,s=e[A>>2]|0;l=e[p>>2]|0,!((s|0)>=(l|0));)l=Y+(e[B0+(s<<2)>>2]<<2)|0,(e[l>>2]|0)!=(f|0)&&(e[l>>2]=f,r=r+1|0),s=s+1|0;for(c=e[A>>2]|0;;){if((c|0)>=(l|0)){f=w;continue e}for(s=e[B0+(c<<2)>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,r=Y+(e[l>>2]<<2)|0,(e[r>>2]|0)!=(_|0)){switch(e[r>>2]=_,o|0){case 0:{x=2;break}case 1:{x=(+u[w>>3]*2+ +u[W>>3]+ +u[q+(e[l>>2]<<3)>>3])*.5;break}case 2:{x=+K0(+ +$i(n,t,m,e[l>>2]|0),.4);break}default:{m=53;break e}}e[D+(s<<2)>>2]=e[l>>2],Z0=-1/(x*x),u[N+(s<<3)>>3]=Z0,e[z+(s<<2)>>2]=e[l>>2],F0=Z0*x,r=X+(s<<3)|0,u[r>>3]=F0,v=+On(n,t,e[l>>2]|0,c)*F0+v,F0=+u[r>>3],s=s+1|0,E=Z0+E,B=F0+B,i=F0*x+i}A=A+1|0}p=p+1|0,r=e[Z>>2]|0}e[D+(s<<2)>>2]=m,W=t0+(m<<3)|0,F0=-(E*+u[W>>3]),u[W>>3]=F0,u[N+(s<<3)>>3]=F0-E,e[z+(s<<2)>>2]=m,u[X+(s<<3)>>3]=-B,s=s+1|0,e[P+(L<<2)>>2]=s,e[T+(L<<2)>>2]=s,m=L}if((m|0)==42)fn(95915,29,1,e[15712]|0)|0,H0(138394,95831,418,95876);else if((m|0)==53)fn(95915,29,1,e[15712]|0)|0,H0(138394,95831,460,95876);else if((m|0)==58){for(i=v/i,r=0;!((r|0)>=(s|0));)B0=X+(r<<3)|0,u[B0>>3]=+u[B0>>3]*i,r=r+1|0;u[O0>>3]=i,e[(e[U>>2]|0)+8>>2]=s,e[(e[F>>2]|0)+8>>2]=s,r0(Y),r0(q),U2(D0),H=J0;break}}while(0);return H|0}function ua(r){r=r|0;var t=0;r|0&&(t=e[r+4>>2]|0,t|0&&U2(t),t=e[r+8>>2]|0,t|0&&U2(t),t=e[r+12>>2]|0,t|0&&r0(t),t=e[r+20>>2]|0,t|0&&l2[e[r+16>>2]&127](t),r0(r))}function ys0(r,t,i,n,o,l){r=r|0,t=t|0,i=+i,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0;if(a0=e[r>>2]|0,j1(r,0)|0&&(e[r+16>>2]|0)==1){for(c=N0(a0,t)|0,A=0,s=0;!((s|0)>=(c|0));)E=+u[n+(s<<3)>>3],A=E*E+A,s=s+1|0;e:do if(A==0)for(s=0;;){if((s|0)>=(c|0))break e;u[n+(s<<3)>>3]=+_l()*72,s=s+1|0}while(0);for(F=e[r+20>>2]|0,q=e[r+24>>2]|0,t0=e[r+28>>2]|0,s=_0(56)|0,H=s+32|0,u[H>>3]=1,e[s+20>>2]=0,e[s+24>>2]=0,e[s>>2]=r,u[s+40>>3]=.01,e[s+48>>2]=~~+G0(+ +(e[r>>2]|0)),Y=_0(a0<<3)|0,e[s+12>>2]=Y,c=0;!((c|0)>=(a0|0));)u[Y+(c<<3)>>3]=i,c=c+1|0;if(r=(e[r+8>>2]|0)+a0|0,X=s+4|0,e[X>>2]=k1(a0,a0,r,1,1)|0,r=k1(a0,a0,r,1,1)|0,U=s+8|0,e[U>>2]=r,c=e[X>>2]|0,(r|0)==0|(c|0)==0)ua(s),s=0;else{W=e[c+20>>2]|0,N=e[c+24>>2]|0,T=e[r+20>>2]|0,D=e[r+24>>2]|0,L=e[c+28>>2]|0,P=e[r+28>>2]|0,e[T>>2]=0,e[W>>2]=0,m=0,E=0,Z=0,x=0;e:for(;!((x|0)>=(a0|0));){for(z=x+1|0,_=F+(z<<2)|0,f=0,w=0,B=e[F+(x<<2)>>2]|0,v=m,i=E,r=Z;!((B|0)>=(e[_>>2]|0));){if(c=e[q+(B<<2)>>2]|0,(c|0)==(x|0))A=v,c=r;else{switch(e[N+(r<<2)>>2]=c,p=+u[t0+(B<<3)>>3],o|0){case 2:{A=p*p,A=A==0?-1e5:-1/A;break}case 1:{A=p*p==0?-1e5:-1/p;break}case 0:{A=-1;break}default:{k0=23;break e}}u[L+(r<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_0(l)|0,e[Z0>>2]=Y,(Y|0)!=0)){switch(t0=e[s+20>>2]|0,Y=e[s+24>>2]|0,X=e[s+28>>2]|0,U=e[a0+28>>2]|0,F=e[f+28>>2]|0,q=r+24|0,e[q>>2]|0){case 1:{Bs0(e[r+20>>2]|0,k0,t,i,c,w),l=e[c>>2]|0,l?(f=gk(f,l)|0,T=0,D=0):(T=0,D=0,l=0);break}case 2:{l=e[r+20>>2]|0,T=+u[l+8>>3],D=+u[l>>3],l=0;break}default:T=0,D=0,l=0}W=(H|0)==0,N=r+40|0,Z=r+48|0,s=e[w>>2]|0,A=1,c=0;e:for(;L=c+1|0,!!((c|0)<(n|0)&A>o);){r:do if((e[q>>2]|0)==4)for(w=e[Z0>>2]|0,c=0;;){if((c|0)>=(k0|0))break r;for(p=N0(c,t)|0,r=0;!((r|0)>=(t|0));)u[w+(r+p<<3)>>3]=0,r=r+1|0;c=c+1|0}else{for(m=0;!((m|0)>=(k0|0));){for(z=m+1|0,_=t0+(z<<2)|0,v=0,x=e[t0+(m<<2)>>2]|0,c=-1;!((x|0)>=(e[_>>2]|0));){if(w=Y+(x<<2)|0,r=e[w>>2]|0,(m|0)==(r|0))c=x;else{if(B=+On(i,t,m,r),p=X+(x<<3)|0,E=+u[p>>3],E==0)E=0;else{if(B==0){for(E=E/+u[F+(x<<3)>>3]*1e-4,r=0;!((r|0)>=(t|0));)B=E*(+_l()+1e-4),b0=i+((N0(e[w>>2]|0,t)|0)+r<<3)|0,u[b0>>3]=B+ +u[b0>>3],r=r+1|0;B=+On(i,t,m,e[w>>2]|0),E=+u[p>>3]}E=E/B}u[U+(x<<3)>>3]=E,v=E+v}x=x+1|0}if((c|0)<=-1){P=25;break e}u[U+(c<<3)>>3]=-v,m=z}CZ(a0,0,i,0,Z0,0,t)}while(0);r:do if(!W)for(w=e[Z0>>2]|0,c=0;;){if((c|0)>=(k0|0))break r;for(p=H+(c<<3)|0,m=N0(c,t)|0,r=0;!((r|0)>=(t|0));)_=r+m|0,b0=w+(_<<3)|0,u[b0>>3]=+u[b0>>3]+ +u[O0+(_<<3)>>3]*+u[p>>3],r=r+1|0;c=c+1|0}while(0);r:do switch(e[q>>2]|0){case 1:for(c=e[Z0>>2]|0,r=0;;){if((r|0)>=(k0|0)){P=50;break r}for(p=N0(r,t)|0,w=0;!((w|0)>=(t|0));)P=w+p|0,b0=c+(P<<3)|0,u[b0>>3]=+u[b0>>3]+ +u[s+(P<<3)>>3],w=w+1|0;r=r+1|0}case 2:{Is0(k0,t,i,e[Z0>>2]|0,D,T),c=e[Z0>>2]|0,v=+u[N>>3],r=e[Z>>2]|0,(e[q>>2]|0)==2?xs0(f,D,t,i,c,v,r,J0):P=51;break}default:c=e[Z0>>2]|0,P=50}while(0);if((P|0)==50&&(v=+u[N>>3],r=e[Z>>2]|0,P=51),(P|0)==51&&(P=0,+Vs0(f,t,i,c,v,r,0,J0)),e[J0>>2]|0)break;A=+Ss0(k0,t,i,e[Z0>>2]|0),A=A/+G0(+ +oh(B0,i,i)),u2(i|0,e[Z0>>2]|0,D0|0)|0,c=L}(P|0)==25&&H0(96049,95831,895,96060),U2(a0),l&&(U2(l),U2(f))}else U2(a0),A=1,s=0;return r0(O0),l=e[Z0>>2]|0,l|0&&r0(l),s|0&&r0(s),g=F0,+A}function Bs0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0;m=e[r+8>>2]|0,D=e[r+12>>2]|0,W=e[r+16>>2]|0,T=e[r+32>>2]|0,N=e[T+20>>2]|0,T=e[T+24>>2]|0,f=r+20|0,B=e[f>>2]|0,w=r+24|0,E=e[w>>2]|0,p=r+28|0,v=e[p>>2]|0,Z=+u[r>>3];e:do if((m|2|0)==3){if(!B){for((E|0)!=0|(v|0)!=0?H0(96094,95831,692,96111):(s=0,A=0);!((s|0)>=(D|0));)L=e[W+(s<<2)>>2]|0,x=+((e[N+(L+1<<2)>>2]|0)-(e[N+(L<<2)>>2]|0)|0)+1,s=s+1|0,A=A+~~(x*x)|0;E=A<<2,B=_0(E)|0,e[f>>2]=B,E=_0(E)|0,e[w>>2]=E,v=_0(A<<3)|0,e[p>>2]=v}for(_=0,r=0;!((_|0)>=(D|0));){m=e[W+(_<<2)>>2]|0,z=N+(m<<2)|0,A=e[z>>2]|0,s=e[T+(A<<2)>>2]|0,A=e[T+(A+1<<2)>>2]|0;r:do if((s|0)!=(A|0)){for(P=+$i(n,i,s,A),P=P*P,p=N+(m+1<<2)|0,x=+((e[p>>2]|0)-(e[z>>2]|0)|0),e[B+(r<<2)>>2]=m,e[E+(r<<2)>>2]=m,u[v+(r<<3)>>3]=Z/P,c=x*x*P,x=-(Z/(P*x)),A=e[z>>2]|0;r=r+1|0,s=e[p>>2]|0,!((A|0)>=(s|0));)e[B+(r<<2)>>2]=m,e[E+(r<<2)>>2]=e[T+(A<<2)>>2],u[v+(r<<3)>>3]=x,A=A+1|0;for(c=Z/c,w=e[z>>2]|0;;){if((w|0)>=(s|0))break r;for(f=e[T+(w<<2)>>2]|0,e[B+(r<<2)>>2]=f,e[E+(r<<2)>>2]=m,u[v+(r<<3)>>3]=x,A=e[z>>2]|0;r=r+1|0,s=e[p>>2]|0,!((A|0)>=(s|0));)L=e[T+(A<<2)>>2]|0,e[B+(r<<2)>>2]=f,e[E+(r<<2)>>2]=L,u[v+(r<<3)>>3]=c,A=A+1|0;w=w+1|0}}while(0);_=_+1|0}s=Rs(r,t,t,B,E,v,1,8)|0,r=0}else{switch(m|0){case 2:case 4:break;default:{s=0,r=0;break e}}do if(B)z=v,_=E,L=B;else if((E|0)!=0|(v|0)!=0)H0(96094,95831,734,96111);else{_=D<<2,L=_0(_)|0,e[f>>2]=L,_=_0(_)|0,e[w>>2]=_,z=_0(D<<3)|0,e[p>>2]=z;break}while(0);for(r=_0(N0(t<<3,i)|0)|0,A=N0(i,t)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r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(l=0,A=0;!((l|0)>=(r|0));){for(c=N0(l,t)|0,o=0,s=0;!((o|0)>=(t|0));)w=o+c|0,f=+u[n+(w<<3)>>3]-+u[i+(w<<3)>>3],o=o+1|0,s=f*f+s;l=l+1|0,A=+G0(+s)+A}return+A}function _s0(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;for(D=e[r>>2]|0,m=e[r+20>>2]|0,E=e[r+24>>2]|0,j1(r,0)|0||H0(95795,95831,1034,96133),B=D<<3,P=_0(B)|0,A=0;!((A|0)>=(D|0));){for(w=P+(A<<3)|0,u[w>>3]=0,p=A+1|0,v=m+(p<<2)|0,f=e[m+(A<<2)>>2]|0,l=0,c=0;!((f|0)>=(e[v>>2]|0));)s=e[E+(f<<2)>>2]|0,(A|0)!=(s|0)&&(c=+On(n,t,A,s),c=+u[w>>3]+c,u[w>>3]=c,l=l+1|0),f=f+1|0;if((l|0)<=0){T=11;break}u[w>>3]=c/+(l|0),A=p}for((T|0)==11&&H0(95908,95831,1046,96133),l=_0(56)|0,N=l+32|0,u[N>>3]=1,e[l+20>>2]=0,e[l+24>>2]=0,u[l+40>>3]=.01,e[l+48>>2]=~~+G0(+ +(e[r>>2]|0)),W=_0(B)|0,e[l+12>>2]=W,s=0;!((s|0)>=(D|0));)u[W+(s<<3)>>3]=i,s=s+1|0;do if((D|0)>2)if(o){s=Os0(D,t,n)|0;break}else{s=Hs0(D,t,n)|0;break}else s=Tf(r)|0;while(0);if(o=l+4|0,e[o>>2]=gk(r,s)|0,U2(s),A=Tf(e[o>>2]|0)|0,e[l+8>>2]=A,s=e[o>>2]|0,(A|0)==0|(s|0)==0)RZ(l),l=0;else{for(B=e[s+20>>2]|0,E=e[s+24>>2]|0,m=e[s+28>>2]|0,o=e[A+28>>2]|0,L=0,Z=0,w=0;!((w|0)>=(D|0));){for(v=w+1|0,p=B+(v<<2)|0,_=0,i=0,A=-1,x=L,z=Z,f=e[B+(w<<2)>>2]|0;!((f|0)>=(e[p>>2]|0));)s=e[E+(f<<2)>>2]|0,(s|0)==(w|0)?(c=_,s=f):(X=+K0(+ +$i(n,t,w,s),.6),c=1/(X*X),u[m+(f<<3)>>3]=c,U=c*X,r=o+(f<<3)|0,u[r>>3]=U,z=U*+On(n,t,w,s)+z,U=+u[r>>3],c=c+_,i=U+i,s=A,x=U*X+x),_=c,A=s,f=f+1|0;if(r=W+(w<<3)|0,c=-(_*+u[r>>3]),u[r>>3]=c,(A|0)<=-1){T=31;break}u[m+(A<<3)>>3]=c-_,u[o+(A<<3)>>3]=-i,L=x,Z=z,w=v}for((T|0)==31&&H0(96154,95831,1112,96133),c=Z/L,A=e[B+(D<<2)>>2]|0,s=0;!((s|0)>=(A|0));)D=o+(s<<3)|0,u[D>>3]=+u[D>>3]*c,s=s+1|0;u[N>>3]=c,r0(P)}return l|0}function RZ(r){r=r|0,ua(r)}function zs0(r,t,i){r=r|0,t=t|0,i=i|0,+pd(r,t,i,50,.001)}function Ls0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0;for(T=e[r>>2]|0,D=e[r+20>>2]|0,P=e[r+24>>2]|0,j1(r,0)|0||H0(95795,95831,1149,96165),L=LZ(r,t,n)|0,Z=e[L+28>>2]|0,r=_0(8)|0,W=_0(T<<2)|0,N=_0(T<<3)|0,s=0;;){if((s|0)>=(T|0)){v=0;break}for(f=N+(s<<3)|0,u[f>>3]=0,w=s+1|0,p=D+(w<<2)|0,A=e[D+(s<<2)>>2]|0,o=0,c=0;!((A|0)>=(e[p>>2]|0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(A=e[P+(v<<2)>>2]|0,f=D+(A+1<<2)|0,w=N+(A<<3)|0,p=Z+(v<<3)|0,A=e[D+(A<<2)>>2]|0;!((A|0)>=(e[f>>2]|0));)l=P+(A<<2)|0,s=W+(e[l>>2]<<2)|0,(e[s>>2]|0)!=(x|0)&&(e[s>>2]=x,e[E+(o<<2)>>2]=e[l>>2],s=B+(o<<3)|0,u[s>>3]=(+u[w>>3]*2+ +u[t>>3]+ +u[N+(e[l>>2]<<3)>>3])*.5,u[s>>3]=+u[Z+(A<<3)>>3]+ +u[p>>3],o=o+1|0),A=A+1|0;v=v+1|0,l=e[_>>2]|0}e[m+(z<<2)>>2]=o,l=z}e[n+8>>2]=o,D=TT()|0,P=r+4|0,e[P>>2]=D,u2(D|0,i|0,168)|0,P=e[P>>2]|0,e[P+16>>2]=0,e[P+40>>2]=1,D=P+96|0,u[D>>3]=+u[D>>3]*.5,e[P+80>>2]=20,r0(W),r0(N),U2(L)}return r|0}function GZ(r){r=r|0;var t=0;r|0&&(t=e[r>>2]|0,t|0&&U2(t),r=e[r+4>>2]|0,r|0&&FT(r))}function Rs0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;if(l=g,g=g+16|0,s=l,e[s>>2]=0,ng0(n,t,e[r>>2]|0,e[r+4>>2]|0,i,o,s),e[s>>2]|0)H0(96184,95831,1262,96190);else{g=l;return}}function Gs0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0;e[l>>2]=0,l=e[i+120>>2]|0;e:do switch(l|0){case 5:case 6:{(e[t>>2]|0)>2&&(t=_s0(t,r,0,o,(l|0)!=6&1)|0,zs0(t,r,o),RZ(t));break}case 4:for(l=0;;){if((l|0)==1)break e;A=Ls0(t,r,i,o)|0,Rs0(A,t,n,r,o),GZ(A),l=l+1|0}case 1:{i=0,s=6;break}case 2:{i=1,s=6;break}case 3:{i=2,s=6;break}default:}while(0);e:do if((s|0)==6)for(l=0;;){if((l|0)==1)break e;A=gs0(t,r,.05,o,i)|0,+pd(A,r,o,50,.001),ua(A),l=l+1|0}while(0)}function Zs0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;for(c=g,g=g+16|0,l=c,e[l>>2]=i,A=e[r>>2]|0,r=e[A+8>>2]|0,s=+u[A>>3],A=e[r>>2]|0,Aa(r,t,l,0),r=0,o=0;!((r|0)>=(A|0));)n=+u[t+(r<<3)>>3]+o,r=r+1|0,o=n;for(n=+(A|0),i=e[l>>2]|0,r=0;!((r|0)>=(A|0));)l=i+(r<<3)|0,u[l>>3]=(+u[t+(r<<3)>>3]*n-o)*s+ +u[l>>3],r=r+1|0;return g=c,i|0}function Ws0(r,t){r=r|0,t=+t;var i=0,n=0;return i=_0(8)|0,n=_0(16)|0,e[i>>2]=n,u[n>>3]=t,e[n+8>>2]=r,e[i+4>>2]=25,i|0}function Ds0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=g,g=g+16|0,n=o,e[n>>2]=i,Aa(e[r>>2]|0,t,n,0),g=o,e[n>>2]|0}function Ms0(r){r=r|0;var t=0;return t=_0(8)|0,e[t>>2]=r,e[t+4>>2]=26,t|0}function js0(r){r=r|0,r|0&&r0(r)}function Ns0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(o=e[r>>2]|0,n=~~+u[o>>3],o=o+8|0,r=0;!((r|0)>=(n|0));)u[i+(r<<3)>>3]=+u[o+(r<<3)>>3]*+u[t+(r<<3)>>3],r=r+1|0;return i|0}function Qs0(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;w=e[r>>2]|0,v=e[r+20>>2]|0,m=e[r+24>>2]|0,c=e[r+28>>2]|0,f=_0(8)|0,s=_0((w<<3)+8|0)|0,e[f>>2]=s,u[s>>3]=+(w|0),s=s+8|0,E=+(w+-1|0),A=1/E,t=E*t,r=0;e:for(;!((r|0)>=(w|0));)for(n=s+(r<<3)|0,u[n>>3]=A,o=r+1|0,l=e[v+(o<<2)>>2]|0,i=e[v+(r<<2)>>2]|0;;){if((i|0)>=(l|0)){r=o;continue e}(r|0)==(e[m+(i<<2)>>2]|0)&&(p=+u[c+(i<<3)>>3],(p>=0?p:-p)>0)&&(u[n>>3]=1/(p+t)),i=i+1|0}return e[f+4>>2]=27,f|0}function Ts0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;s=e[r>>2]|0,c=e[r+20>>2]|0,f=e[r+24>>2]|0,w=e[r+28>>2]|0,p=_0(8)|0,i=_0((e[r>>2]<<3)+8|0)|0,e[p>>2]=i,u[i>>3]=+(s|0),i=i+8|0,r=0;e:for(;!((r|0)>=(s|0));)for(n=i+(r<<3)|0,u[n>>3]=1,o=r+1|0,l=e[c+(o<<2)>>2]|0,t=e[c+(r<<2)>>2]|0;;){if((t|0)>=(l|0)){r=o;continue e}(r|0)==(e[f+(t<<2)>>2]|0)&&(A=+u[w+(t<<3)>>3],(A>=0?A:-A)>0)&&(u[n>>3]=1/A),t=t+1|0}return e[p+4>>2]=27,p|0}function Fs0(r){r=r|0,r0(e[r>>2]|0),r|0&&r0(r)}function ZZ(r,t,i,n,o,l,s,A,c){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=+s,A=A|0,c=c|0;var f=0,w=0,p=0,v=0,m=0,E=0;for(m=i<<3,v=_0(m)|0,m=_0(m)|0,w=0,p=0;(w|0)<(n|0);){c=0;for(;!((c|0)>=(i|0));)E=(N0(c,n)|0)+w|0,u[v+(c<<3)>>3]=+u[o+(E<<3)>>3],u[m+(c<<3)>>3]=+u[l+(E<<3)>>3],c=c+1|0;for(f=+Ps0(r,t,i,v,m,s,A),c=0;!((c|0)>=(i|0));)u[l+((N0(c,n)|0)+w<<3)>>3]=+u[v+(c<<3)>>3],c=c+1|0;w=w+1|0,p=f+p}return r0(v),r0(m),+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]|0,c=+u[B+(f<<3)>>3],(l|0)==(w|0)?s=c:A=+u[T+(l<<3)>>3]*c+A,f=f+1|0;A==0&&(e[D>>2]=m-p,A2(x,96212,D)|0),u[z+(w<<3)>>3]=(+u[_+(w<<3)>>3]-A)/s,w=v}u2(T|0,z|0,N|0)|0,r=r+1|0}for(;!((l|0)>=(W|0));)u[n+((N0(l,t)|0)+E<<3)>>3]=+u[T+(l<<3)>>3],l=l+1|0;E=E+1|0}return r0(T),r0(z),r0(_),g=P,n|0}function Vs0(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0,s=s|0,A=A|0;var c=0;switch(c=e[r>>2]|0,e[A>>2]=0,s|0){case 0:{s=Ms0(r)|0,A=Ts0(r)|0,o=+ZZ(s,A,c,t,i,n,o,l,0),js0(s),Fs0(A);break}case 1:{Ys0(r,t,i,n,l,0)|0,o=0;break}default:o=0}return+o}function Os0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(p=g,g=g+32|0,c=p,f=p+20|0,o=p+16|0,l=p+12|0,s=p+8|0,u[c>>3]=1,A=r<<3,w=_0(A)|0,A=_0(A)|0,t=0;!((t|0)>=(r|0));)n=t<<1,u[w+(t<<3)>>3]=+u[i+(n<<3)>>3],u[A+(t<<3)>>3]=+u[i+((n|1)<<3)>>3],t=t+1|0;for(e[f>>2]=t,(r|0)>2?i=ry0(w,A,r,s)|0:(e[s>>2]=0,i=0),n=k1(r,r,1,1,2)|0,t=0;e[f>>2]=t,!((t|0)>=(e[s>>2]|0));)v=t<<1,e[o>>2]=e[i+(v<<2)>>2],e[l>>2]=e[i+((v|1)<<2)>>2],ih(n,1,o,l,c)|0,t=(e[f>>2]|0)+1|0;for((r|0)==2&&(e[o>>2]=0,e[l>>2]=1,ih(n,1,o,l,c)|0),t=0;e[f>>2]=t,!((t|0)>=(r|0));)ih(n,1,f,f,c)|0,t=(e[f>>2]|0)+1|0;return r=xP(n)|0,U2(n),v=Ql(r,0)|0,U2(r),r0(i),r0(w),r0(A),g=p,v|0}function Hs0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(f=g,g=g+16|0,l=f+8|0,s=f,u[s>>3]=1,c=r<<3,A=_0(c)|0,c=_0(c)|0,n=0;!((n|0)>=(r|0));)o=N0(n,t)|0,u[A+(n<<3)>>3]=+u[i+(o<<3)>>3],u[c+(n<<3)>>3]=+u[i+(o+1<<3)>>3],n=n+1|0;for(e[l>>2]=n,n=ty0(A,c,r,0)|0,o=k1(r,r,1,1,2)|0,t=0;;){if(e[l>>2]=t,(t|0)<(r|0))i=1;else{t=0;break}for(;!((i|0)>=(e[n+(t*12|0)>>2]|0));)ih(o,1,l,(e[n+(t*12|0)+4>>2]|0)+(i<<2)|0,s)|0,i=i+1|0,t=e[l>>2]|0;t=t+1|0}for(;e[l>>2]=t,!((t|0)>=(r|0));)ih(o,1,l,l,s)|0,t=(e[l>>2]|0)+1|0;return s=Ql(xP(o)|0,0)|0,U2(o),r0(A),r0(c),iy0(n),g=f,s|0}function Js0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=g,g=g+16|0,l=o,Us0(l,i),Xs0(r,t,i,l),qs0(t,l,n),$s0(l),g=o}function Us0(r,t){r=r|0,t=t|0,e[r>>2]=_0(t<<4)|0,e[r+4>>2]=t,e[r+8>>2]=0}function Xs0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0;for(X=g,g=g+64|0,E=X+32|0,z=X+48|0,_=X+16|0,L=X,x=t<<2,T=_0(x)|0,P=_0(x)|0,e[_>>2]=0,e[_+4>>2]=0,e[_+8>>2]=0,e[_+12>>2]=0,B=_0(x)|0,x=_0(x)|0,o=0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A|0;var c=0,f=0,w=0,p=0;if(f=(o|0)!=0,f?w=3:(o=_0(t<<3)|0,VF(r,t,o,t)|0?(r=1,w=17):w=3),(w|0)==3){for(c=j0(t<<2)|0,e[l>>2]=c,r=0;!((r|0)>=(t|0));)e[c+(r<<2)>>2]=r,r=r+1|0;for(r=t+-1|0,Wf(o,c,0,r),p=+u[o+(e[c>>2]<<3)>>3],n=(+u[o+(e[c+(r<<2)>>2]<<3)>>3]-p)*n/+(r|0),n=n=(t|0));)p=+u[o+(e[c+(l<<2)>>2]<<3)>>3],r=r+(p-i>n&1)|0,l=l+1|0,i=p;e[A>>2]=r;e:do if(!r)c=_0(4)|0,e[s>>2]=c,e[c>>2]=t;else for(A=_0(r<<2)|0,e[s>>2]=A,r=0,l=1;;){if((l|0)>=(t|0))break e;+u[o+(e[c+(l<<2)>>2]<<3)>>3]-+u[o+(e[c+(l+-1<<2)>>2]<<3)>>3]>n&&(e[A+(r<<2)>>2]=l,r=r+1|0),l=l+1|0}while(0);f?r=0:(r=0,w=17)}return(w|0)==17&&r0(o),r|0}function tA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(i=e[46930]|0,i|0&&YA(i),e[46930]=PA(t,t,0)|0,i=e[46931]|0,i|0&&r0(i),e[46931]=j0(t<<2)|0,i=e[46932]|0,i|0&&r0(i),p=j0(t<<3)|0,e[46932]=p,v=e[46930]|0,m=e[46931]|0,s=0;;){if((s|0)>=(t|0)){n=10;break}for(n=r+(s<<2)|0,l=v+(s<<2)|0,o=0,i=0;(i|0)!=(t|0);)A=+u[(e[n>>2]|0)+(i<<3)>>3],u[(e[l>>2]|0)+(i<<3)>>3]=A,A=+L0(+A),o=o>3]=1/o,e[m+(s<<2)>>2]=s,s=s+1|0}e:do if((n|0)==10){w=t+-1|0,i=0,f=0;r:for(;(f|0)<(w|0);){n=f,c=i,o=0;for(;!((n|0)>=(t|0));)r=e[m+(n<<2)>>2]|0,A=+L0(+ +u[(e[v+(r<<2)>>2]|0)+(f<<3)>>3]),A=+u[p+(r<<3)>>3]*A,r=o>2]|0,r=m+(c<<2)|0,e[i>>2]=e[r>>2],e[r>>2]=s),l=e[v+(e[i>>2]<<2)>>2]|0,r=f+1|0,o=1/+u[l+(f<<3)>>3],n=r;;){if((n|0)>=(t|0)){i=c,f=r;continue r}s=e[v+(e[m+(n<<2)>>2]<<2)>>2]|0,i=s+(f<<3)|0,A=+u[i>>3]*o,u[i>>3]=A;t:do if(A!=0)for(i=r;;){if((i|0)>=(t|0))break t;E=s+(i<<3)|0,u[E>>3]=+u[E>>3]-+u[l+(i<<3)>>3]*A,i=i+1|0}while(0);n=n+1|0}}i=+u[(e[v+(e[m+(w<<2)>>2]<<2)>>2]|0)+(w<<3)>>3]!=0&1}else(n|0)==15&&(u[p+(s<<3)>>3]=0,i=0);while(0);return i|0}function iA0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(c=e[46930]|0,f=e[46931]|0,A=0;;){if((A|0)>=(i|0)){n=i;break}for(l=e[f+(A<<2)>>2]|0,s=c+(l<<2)|0,o=0,n=0;(n|0)!=(A|0);)o=+u[r+(n<<3)>>3]*+u[(e[s>>2]|0)+(n<<3)>>3]+o,n=n+1|0;u[r+(A<<3)>>3]=+u[t+(l<<3)>>3]-o,A=A+1|0}for(;t=n+-1|0,!((n|0)<=0);){for(l=f+(t<<2)|0,o=0;!((n|0)>=(i|0));)o=+u[r+(n<<3)>>3]*+u[(e[c+(e[l>>2]<<2)>>2]|0)+(n<<3)>>3]+o,n=n+1|0;n=r+(t<<3)|0,u[n>>3]=(+u[n>>3]-o)/+u[(e[c+(e[l>>2]<<2)>>2]|0)+(t<<3)>>3],n=t}}function jZ(r){r=r|0;var t=0;return t=_0(8)|0,e[t>>2]=r,e[t+4>>2]=0,t|0}function NZ(r,t){r=r|0,t=t|0;var i=0,n=0;if(r|0)do i=r,r=e[r+4>>2]|0,n=e[i>>2]|0,n|0&&l2[t&127](n),r0(i);while(r|0)}function nA0(r,t){return r=r|0,t=t|0,t=jZ(t)|0,e[t+4>>2]=r,t|0}function ln(r){return r=r|0,e[r>>2]|0}function kd(r){return r=r|0,e[r+4>>2]|0}function QZ(r){r=r|0;var t=0;return t=_0(12)|0,e[t>>2]=r,e[t+4>>2]=0,e[t+8>>2]=0,t|0}function oA0(r,t){r=r|0,t=t|0;var i=0,n=0;if(r|0)do i=r,r=e[r+4>>2]|0,n=e[i>>2]|0,n|0&&l2[t&127](n),r0(i);while(r|0)}function lA0(r,t){return r=r|0,t=t|0,t=QZ(t)|0,r|0&&(e[t+4>>2]=r,e[r+8>>2]=t),t|0}function sA0(r){return r=r|0,e[r>>2]|0}function m9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;r|0&&(n=e[r+4>>2]|0,o=e[r+8>>2]|0,l=e[r>>2]|0,l|0&&l2[t&127](l),r0(r),n|0&&(e[n+8>>2]=o),e[(o|0?o+4|0:i)>>2]=n)}function g9(r){r=r|0,e[r>>2]=0,e[r+4>>2]=0}function TZ(r){r=r|0;var t=0;return t=j0(64)|0,g9(t+36|0),e[t+8>>2]=r,t|0}function AA0(r){r=r|0,r|0&&(vd(e[r+32>>2]|0),r0(r))}function uA0(r){return r=r|0,v2(e[r+8>>2]|0)|0}function FZ(r,t){r=r|0,t=t|0;var i=0,n=0;e[t+4>>2]=0,i=r+4|0,n=e[i>>2]|0,e[(n|0?n+4|0:r)>>2]=t,e[i>>2]=t}function PZ(r,t){r=r|0,t=t|0;var i=0;i=e[r>>2]|0,i?e[t+4>>2]=i:(e[r>>2]=t,r=r+4|0),e[r>>2]=t}function aA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(cA0(r,t),c=e[t>>2]|0,s=e[c+4>>2]|0;s;){for(f=e[s+8>>2]|0,A=U0(f)|0,i=e[(e[A+16>>2]|0)+112>>2]|0,r=e[i+16+4>>2]|0,i=e[i+8>>2]|0,o=A,A=X0(f,A)|0;A;)n=e[(e[A+16>>2]|0)+112>>2]|0,l=e[n+16+4>>2]|0,(l|0)<(r|0)&&(o=A,i=e[n+8>>2]|0,r=l),A=X0(f,A)|0;A=e[(e[i+16>>2]|0)+112>>2]|0,f=A+4|0,e[f>>2]=e[f>>2]|8,e[s>>2]=o,f=e[s+4>>2]|0,FZ((e[A+12>>2]|0)+36|0,s),s=f}return g9(t),c|0}function cA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,l=A+8|0,n=e[t+24>>2]|0,n|0&&(i=ht(r,n,0)|0,(i|0)!=0)||(o=3);e:do if((o|0)==3){n=t+20|0;r:do if(e[n>>2]|0)for(i=U0(r)|0;;){if(!i)break r;if((LQ(e[e[(e[i+16>>2]|0)+112>>2]>>2]|0,e[n>>2]|0,0)|0)<<24>>24)break e;i=X0(r,i)|0}while(0);i=U0(r)|0}while(0);e[l+4>>2]=0,e[l>>2]=0,YZ(r,i,t,1,l),g=A}function YZ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0;for(w=i+8|0,f=e[w>>2]|0,e[w>>2]=f+1,w=t+16|0,e[(e[(e[w>>2]|0)+112>>2]|0)+16+4>>2]=f,e[(e[(e[w>>2]|0)+112>>2]|0)+24>>2]=f,f=(n|0)==0,c=Xr(r,t)|0;c;){n=e[c>>2]&3,l=e[((n|0)==2?c:c+-48|0)+40>>2]|0,(l|0)==(t|0)?(n=e[((n|0)==3?c:c+48|0)+40>>2]|0,l=e[(e[c+16>>2]|0)+120>>2]|0,e[l>>2]|0||(e[l>>2]=-1)):(n=e[(e[c+16>>2]|0)+120>>2]|0,e[n>>2]|0||(e[n>>2]=1),n=l),l=n+16|0,s=e[(e[l>>2]|0)+112>>2]|0,A=e[s+16+4>>2]|0;do if(A)l=e[(e[w>>2]|0)+112>>2]|0,(e[l+8>>2]|0)!=(n|0)&&(s=l+24|0,l=e[s>>2]|0,e[s>>2]=(l|0)<(A|0)?l:A);else if(e[s+8>>2]=t,fA0(o,c),YZ(r,n,i,0,o),A=(e[(e[w>>2]|0)+112>>2]|0)+24|0,e[A>>2]=e[(e[(e[((e[A>>2]|0)<(e[(e[(e[l>>2]|0)+112>>2]|0)+24>>2]|0)?t:n)+16>>2]|0)+112>>2]|0)+24>>2],(e[(e[(e[l>>2]|0)+112>>2]|0)+24>>2]|0)>=(e[(e[(e[w>>2]|0)+112>>2]|0)+16+4>>2]|0)){n=0;do s=hA0(o)|0,l=(e[e[(e[s+16>>2]|0)+120>>2]>>2]|0)==1,l=e[((e[s>>2]&3|0)==((l?2:3)|0)?s:s+((l?-1:1)*48|0)|0)+40>>2]|0,e[(e[(e[l+16>>2]|0)+112>>2]|0)+12>>2]|0||(n||(n=VZ(r,i)|0),y9(n,l));while((s|0)!=(c|0));if(n|0){if(!(e[(e[(e[w>>2]|0)+112>>2]|0)+12>>2]|0)&&(uA0(n)|0)>1&&y9(n,t),!f&&(e[(e[(e[w>>2]|0)+112>>2]|0)+12>>2]|0)==(n|0)){PZ(i,n);break}FZ(i,n)}}while(0);c=ot(r,c,t)|0}!f&&!(e[(e[(e[w>>2]|0)+112>>2]|0)+12>>2]|0)&&(w=VZ(r,i)|0,y9(w,t),PZ(i,w))}function fA0(r,t){r=r|0,t=t|0,e[(e[(e[t+16>>2]|0)+120>>2]|0)+4>>2]=e[r>>2],e[r>>2]=t,t=r+4|0,e[t>>2]=(e[t>>2]|0)+1}function hA0(r){r=r|0;var t=0,i=0,n=0;return t=e[r>>2]|0,t||H0(138394,96254,65,96266),i=r+4|0,n=e[i>>2]|0,(n|0)>0?(e[r>>2]=e[(e[(e[t+16>>2]|0)+120>>2]|0)+4>>2],e[i>>2]=n+-1,t|0):(H0(96244,96254,61,96266),0)}function VZ(r,t){return r=r|0,t=t|0,TZ(wA0(r,t)|0)|0}function y9(r,t){r=r|0,t=t|0,ft(e[r+8>>2]|0,t,1)|0,e[(e[(e[t+16>>2]|0)+112>>2]|0)+12>>2]=r}function wA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=g,g=g+144|0,o=i,n=i+8|0,l=t+12|0,t=e[l>>2]|0,e[l>>2]=t+1,e[o>>2]=t,Ke(n,96234,o)|0,t=ji(r,n,1)|0,$e(t,137483,280,1)|0,g=i,t|0}function OZ(r){r=r|0;var t=0,i=0;for(t=e[r+36>>2]|0;t;)i=e[t+4>>2]|0,OZ(t),t=i;AA0(r)}function dA0(r,t,i){r=r|0,t=t|0,i=i|0,HZ(r,t,+u[i+32>>3])}function HZ(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0;for(n=t+36|0,o=0;n=e[n>>2]|0,!!n;)HZ(r,n,i),n=n+4|0,o=o+1|0;n=SA0(r,t,i)|0,e[t+32>>2]=n,r=nf(n)|0,(o|0)>0?i=+pA0(o,r,n,t,i):i=3.141592653589793,(r|0)==1&&(l=e[t>>2]|0,l|0)&&e[(e[(e[l+16>>2]|0)+112>>2]|0)+8>>2]|0&&(s=t+48|0,u[s>>3]=i,i<0)&&(u[s>>3]=i+6.283185307179586)}function pA0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=+o;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for(_=g,g=g+48|0,x=_,z=j0(r*56|0)|0,e[x+40>>2]=e[n+36>>2],v=n+16|0,A=+u[v>>3],m=x+8|0,u[m>>3]=A,u[x>>3]=A,e[x+44>>2]=e[n>>2],A=6.283185307179586/+(t|0),u[x+16>>3]=A,E=x+24|0,u[E>>3]=-1,B=x+32|0,u[B>>3]=-1,c=0,p=0,l=0;s=e[i>>2]|0,!!s;)i=e[s>>2]|0,e[(e[(e[i+16>>2]|0)+112>>2]|0)+4>>2]&8?(w=z+(p*56|0)|0,e[w>>2]=i,u[z+(p*56|0)+8>>3]=A*+(c|0),i=p+1|0,l=+kA0(w,x,o)):i=p,c=c+1|0,p=i,i=s+4|0;e:do switch(p|0){case 1:{u[z+40>>3]=1,i=0;break}case 2:{A=+u[z+64>>3]-+u[z+8>>3],JZ(z,z+56|0,A>3.141592653589793?6.283185307179586-A:A),i=0;break}default:for(w=z+8|0,f=z,i=0;;){if((i|0)>=(p|0)){i=0;break e}i=i+1|0,(i|0)==(p|0)?(s=z,A=+u[w>>3]+6.283185307179586-+u[f+8>>3],c=f+56|0):(c=f+56|0,s=c,A=+u[f+64>>3]-+u[f+8>>3]),JZ(f,s,A),f=c}}while(0);for(;!((i|0)>=(p|0));)vA0(z+(i*56|0)|0,x,t,o),i=i+1|0;return r0(z),(r|0)==1?(o=l+o*.5,C9(n,-o,0,0),u[v>>3]=+u[v>>3]+o,z=n+56|0,e[z>>2]=e[z>>2]|1):u[v>>3]=+u[m>>3],g=_,+((+u[B>>3]+ +u[E>>3])*.5+-3.141592653589793)}function kA0(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0,A=0,c=0;for(s=0,o=0,l=0,n=t+40|0;A=e[n>>2]|0,!!A;)n=e[A>>2]|0,n?n=e[(e[(e[n+16>>2]|0)+112>>2]|0)+8>>2]|0:n=0,(n|0)==(e[r>>2]|0)?(c=+u[A+16>>3],n=s+1|0,o=o+i+c*2,l=l>3]=o,e[r+48>>2]=s,u[r+16>>3]=l+i+ +u[t>>3],u[r+24>>3]=l,+l}function JZ(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0;o=+u[t+16>>3],n=+u[r+16>>3],i=(n*+u[t+32>>3]+o*+u[r+32>>3])/(i*2*o*n),i=i<1?1:i,r=r+40|0,i>+u[r>>3]&&(u[r>>3]=i),r=t+40|0,i>+u[r>>3]&&(u[r>>3]=i)}function vA0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0;for(T=t+8|0,N=+u[T>>3],D=t+24|0,c=+u[D>>3],P=t+32|0,A=+u[P>>3],o=+u[r+16>>3]*+u[r+40>>3],W=(i|0)==1,W?(L=+u[r+32>>3],l=L*.15915494309189535,l=o>l?o:l,o=l*6.283185307179586-L,o>0?(n=o/+(e[r+48>>2]|0)+n,f=0,o=l):(f=0,o=l)):f=+u[r+8>>3]-+u[r+32>>3]/(o*2),E=+u[r+24>>3]+o,B=E>N,x=r+48|0,z=((e[x>>2]|0)+1|0)/2|0,_=1/o,L=n/o*.5,Z=r+8|0,p=t+40|0,v=0,m=0,l=f;p=e[p>>2]|0,!!p;){if(s=e[p>>2]|0,s?s=e[(e[(e[s+16>>2]|0)+112>>2]|0)+8>>2]|0:s=0,(s|0)==(e[r>>2]|0)&&(nf(e[p+32>>2]|0)|0)>=1){f=+u[p+16>>3],w=f*_;do if(W)l!=0&&(l=(e[x>>2]|0)==2?3.141592653589793:w+l),A=l,c=c<0?l:c;else if((e[x>>2]|0)==1){l=+u[Z>>3];break}else{l=l+L+w;break}while(0);F=+ee(+l)*o,U=+le(+l)*o,C9(p,F,U,+mA0(p,F,U,l)),l=(W?(f+n)*_:w+L)+l,v=v+1|0,s=v,f=(v|0)==(z|0)?l:m}else s=v,f=m;p=p+4|0,v=s,m=f}o=B?E:N,(i|0)>1&&(X=e[r>>2]|0,(X|0)==(e[t+44>>2]|0))&&(u[(e[(e[X+16>>2]|0)+112>>2]|0)+24>>3]=m),u[T>>3]=o,u[D>>3]=c,u[P>>3]=A}function C9(r,t,i,n){r=r|0,t=+t,i=+i,n=+n;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(w=e[r+8>>2]|0,p=n!=0,o=U0(w)|0;o;)c=e[(e[o+16>>2]|0)+132>>2]|0,s=+u[c>>3],f=c+8|0,l=+u[f>>3],p?(v=+ee(+n),m=+le(+n),A=v*s-m*l,l=m*s+v*l):A=s,u[c>>3]=A+t,u[f>>3]=l+i,o=X0(w,o)|0;for(o=r+36|0;o=e[o>>2]|0,!!o;)C9(o,t,i,n),o=o+4|0}function mA0(r,t,i,n){r=r|0,t=+t,i=+i,n=+n;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;w=e[r+8>>2]|0,o=+u[r+48>>3];do if(o>=0)o=3.141592653589793-o+n,o=o<0?o+6.283185307179586:o;else{if((nf(e[r+32>>2]|0)|0)==2){o=n+-1.5707963267948966;break}for(f=e[r>>2]|0,p=f+16|0,s=e[(e[p>>2]|0)+132>>2]|0,o=+u[s>>3]+t,c=+u[s+8>>3]+i,o=c*c+o*o,s=U0(w)|0,l=f;s;)(s|0)!=(f|0)&&(v=e[(e[s+16>>2]|0)+132>>2]|0,A=+u[v>>3]+t,c=+u[v+8>>3]+i,A=c*c+A*A,A>3],c=+u[r+16>>3]-A,l=e[p>>2]|0,s=e[l+132>>2]|0,o=+u[s>>3],o>-c&&e[r+56>>2]&1|0){i=+G0(+(i*i+t*t)),t=+I2(+ +u[s+8>>3],+(o+c)),o=+ee(+t),o=n+1.5707963267948966-t-+w2(+((c-A/o)/i*o));break}else{o=+I2(+ +u[s+8>>3],+o),o=n+3.141592653589793-o-+u[(e[l+112>>2]|0)+24>>3],o=o>6.283185307179586?o+-6.283185307179586:o;break}else o=0}while(0);return+o}function lh(){return j0(12)|0}function vd(r){r=r|0;var t=0,i=0;if(r|0){for(t=e[r>>2]|0;t;)i=e[t+4>>2]|0,r0(t),t=i;r0(r)}}function zl(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;o=gA0(i)|0,i=r+8|0,e[i>>2]=(e[i>>2]|0)+1,i=r+4|0,n=e[i>>2]|0,(t|0)==0|(n|0)==(t|0)?(e[(n|0?n+4|0:r)>>2]=o,e[o+8>>2]=n,n=0):(n=t+4|0,i=e[n>>2]|0,e[n>>2]=o,e[o+8>>2]=t,n=i,i=i+8|0),e[i>>2]=o,e[o+4>>2]=n}function gA0(r){r=r|0;var t=0;return t=j0(12)|0,e[t>>2]=r,t|0}function yA0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(t=e[r>>2]|0,i=t;t;)l=t+4|0,n=e[l>>2]|0,o=t+8|0,e[l>>2]=e[o>>2],e[o>>2]=n,t=n;return o=r+4|0,l=e[o>>2]|0,e[o>>2]=i,e[r>>2]=l,r|0}function CA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[r>>2]|0,(i|0)!=(t|0)&&(o=t+8|0,n=e[o>>2]|0,e[r>>2]=t,e[o>>2]=0,t=r+4|0,r=e[t>>2]|0,e[r+4>>2]=i,e[i+8>>2]=r,e[t>>2]=n,e[n+4>>2]=0)}function EA0(r){r=r|0;var t=0,i=0,n=0;for(i=lh()|0,n=i+4|0,t=0;r=e[r>>2]|0,!!r;)zl(i,t,e[r>>2]|0),t=e[n>>2]|0,r=r+4|0;return i|0}function BA0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(o=r;;){if(c=e[o>>2]|0,!c){f=6;break}if((e[c>>2]|0)==(t|0))break;o=c+4|0}for((f|0)==6&&H0(96270,96277,217,96288),A=c+8|0,o=e[A>>2]|0,l=c+4|0,t=e[l>>2]|0,e[(o|0?o+4|0:r)>>2]=t,s=r+4|0,e[(t|0?t+8|0:s)>>2]=o,t=0,o=r;o=e[o>>2]|0,!!o;){if((e[o>>2]|0)==(i|0)){f=9;break}t=o,o=o+4|0}if((f|0)==9){do if(n)if((o|0)==(e[s>>2]|0)){e[s>>2]=c,e[l>>2]=0,e[A>>2]=o,o=o+4|0;break}else{e[A>>2]=o,o=o+4|0,e[l>>2]=e[o>>2],e[(e[o>>2]|0)+8>>2]=c;break}else if((o|0)==(e[r>>2]|0)){e[r>>2]=c,e[l>>2]=o,e[A>>2]=0,o=o+8|0;break}else{e[t+4>>2]=c,e[A>>2]=t,e[l>>2]=o,o=o+8|0;break}while(0);e[o>>2]=c}}function nf(r){return r=r|0,e[r+8>>2]|0}function IA0(r,t){r=r|0,t=t|0,xA0(r,yA0(t)|0),r0(t)}function xA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[t>>2]|0,i|0&&(n=r+4|0,o=e[n>>2]|0,e[o+4>>2]=i,e[i+8>>2]=o,e[n>>2]=e[t+4>>2],i=r+8|0,e[i>>2]=(e[i>>2]|0)+(e[t+8>>2]|0))}function SA0(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(w=e[t+8>>2]|0,_A0(r,t),f=zA0(w)|0,r=RA0(LA0(f)|0)|0,GA0(w,r),w=ZA0(r,w)|0,r=nf(w)|0,A=+WA0(w),c=(r|0)==1,o=+(r|0),s=o*.15915494309189535*(A+i),l=c?0:s,r=w;r=e[r>>2]|0,!!r;){if(e[(e[(e[(e[r>>2]|0)+16>>2]|0)+112>>2]|0)+4>>2]&8|0){n=4;break}r=r+4|0}for((n|0)==4&&CA0(w,r),i=1/o,n=0,r=w;r=e[r>>2]|0,!!r;)p=(e[r>>2]|0)+16|0,e[(e[(e[p>>2]|0)+112>>2]|0)+16>>2]=n,u[(e[(e[p>>2]|0)+112>>2]|0)+24>>3]=0,o=6.283185307179586*i*+(n|0),v=+ee(+o)*l,p=e[(e[p>>2]|0)+132>>2]|0,u[p>>3]=v,u[p+8>>3]=+le(+o)*l,n=n+1|0,r=r+4|0;return v=c?A*.5:s,u[t+16>>3]=v,u[t+24>>3]=v,u[t+48>>3]=-1,Di(f)|0,w|0}function _A0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=e[t+8>>2]|0,i=U0(o)|0;i;){for(n=Me(r,i)|0;n;)(e[(e[(e[(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0)+12>>2]|0)==(t|0)&&gs(o,n,1)|0,n=Qe(r,n)|0;i=X0(o,i)|0}}function zA0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(f=g,g=g+16|0,l=f,o=NA0(r,l)|0,l=e[l>>2]|0,A=v2(l)|0,s=QA0(l)|0,A=A+-3|0,n=0;!((n|0)>=(A|0));){for(c=JA0(s)|0,i=Xr(l,c)|0;i;)t=e[i>>2]&3,r=e[((t|0)==2?i:i+-48|0)+40>>2]|0,(c|0)==(r|0)&&(r=e[((t|0)==3?i:i+48|0)+40>>2]|0),HA0(s,r),i=ot(l,i,c)|0;for(TA0(l,c,o),i=Xr(l,c)|0;i;)t=e[i>>2]&3,r=e[((t|0)==2?i:i+-48|0)+40>>2]|0,(c|0)==(r|0)&&(r=e[((t|0)==3?i:i+48|0)+40>>2]|0),t=(e[r+16>>2]|0)+236|0,e[t>>2]=(e[t>>2]|0)+-1,qZ(s,r),i=ot(l,i,c)|0;zn(l,c)|0,n=n+1|0}return Di(l)|0,OA0(s),g=f,o|0}function LA0(r){r=r|0;var t=0,i=0,n=0,o=0;for(o=g,g=g+144|0,t=o,n=o+8|0,i=e[46933]|0,e[46933]=i+1,e[t>>2]=i,Ke(n,96303,t)|0,n=ji(r,n,1)|0,$e(n,137483,280,1)|0,t=U0(r)|0;t;)ft(n,t,1)|0,i=t+16|0,e[(e[(e[i>>2]|0)+112>>2]|0)+16+12>>2]=0,e[(e[(e[i>>2]|0)+112>>2]|0)+32>>2]=0,i=(e[(e[i>>2]|0)+112>>2]|0)+4|0,e[i>>2]=e[i>>2]&-2,t=X0(r,t)|0;for(t=U0(r)|0;t;)i=e[(e[t+16>>2]|0)+112>>2]|0,e[i+4>>2]&1||(e[i+16>>2]=0,XZ(r,t,n)),t=X0(r,t)|0;return g=o,n|0}function RA0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if((v2(r)|0)!=1){for(i=U0(r)|0;i;){for(t=0,n=Xr(r,i)|0;n;)t=t+1|0,n=ot(r,n,i)|0;(t|0)==1&&jA0(i,i,0,0),i=X0(r,i)|0}for(t=0,o=0,i=U0(r)|0;i;)l=e[(e[i+16>>2]|0)+112>>2]|0,l=(e[l+32>>2]|0)+(e[l+16+12>>2]|0)|0,n=(l|0)>(t|0),t=n?l:t,o=n?i:o,i=X0(r,i)|0;for(t=lh()|0,n=o+16|0,i=(e[(e[n>>2]|0)+112>>2]|0)+16+4|0;i=e[i>>2]|0,(i|0)!=(o|0);)zl(t,0,i),i=e[(e[i+16>>2]|0)+112>>2]|0,l=i+4|0,e[l>>2]=e[l>>2]|16,i=i+16|0;if(zl(t,0,o),l=e[(e[n>>2]|0)+112>>2]|0,r=l+4|0,e[r>>2]=e[r>>2]|16,e[l+32>>2]|0){for(r=lh()|0,i=(e[(e[n>>2]|0)+112>>2]|0)+24|0;i=e[i>>2]|0,(i|0)!=(o|0);)zl(r,0,i),i=e[(e[i+16>>2]|0)+112>>2]|0,l=i+4|0,e[l>>2]=e[l>>2]|16,i=i+16|0;IA0(t,r)}}else t=lh()|0,l=U0(r)|0,zl(t,0,l),l=(e[(e[l+16>>2]|0)+112>>2]|0)+4|0,e[l>>2]=e[l>>2]|16;return t|0}function GA0(r,t){r=r|0,t=t|0;var i=0;for(i=U0(r)|0;i;)e[(e[(e[i+16>>2]|0)+112>>2]|0)+4>>2]&16||MA0(r,i,t),i=X0(r,i)|0}function ZA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+16|0,o=l,i=UZ(r,t)|0,e[o>>2]=i;e:do if(i)for(n=0;;){if((n|0)>=10)break e;if(r=DA0(r,t,o)|0,s=i,i=e[o>>2]|0,(s|0)==(i|0)|(i|0)==0)break;n=n+1|0}while(0);return g=l,r|0}function WA0(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=0;r=e[r>>2]|0,!!r;)o=e[(e[e[(e[(e[r>>2]|0)+16>>2]|0)+112>>2]>>2]|0)+16>>2]|0,i=+u[o+32>>3],i=i>t?i:t,n=+u[o+40>>3],t=n>i?n:i,r=r+4|0;return+t}function UZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(f=UA0()|0,n=U0(t)|0;n;){for(i=Me(t,n)|0;i;)e[e[(e[i+16>>2]|0)+120>>2]>>2]=0,i=Qe(t,i)|0;n=X0(t,n)|0}for(c=1,i=0;s=e[r>>2]|0,!!s;){for(A=e[s>>2]|0,l=Xr(t,A)|0;l;){if(o=l+16|0,(e[e[(e[o>>2]|0)+120>>2]>>2]|0)>0){for(r=oe[e[f>>2]&63](f,0,128)|0;r;)n=e[r+8>>2]|0,(e[e[(e[n+16>>2]|0)+120>>2]>>2]|0)>(e[e[(e[o>>2]|0)+120>>2]>>2]|0)&&(w=e[n>>2]&3,(e[((w|0)==2?n:n+-48|0)+40>>2]|0)!=(A|0))&&(i=i+((e[((w|0)==3?n:n+48|0)+40>>2]|0)!=(A|0)&1)|0),r=oe[e[f>>2]&63](f,r,8)|0;eu0(f,l)}l=ot(t,l,A)|0}for(n=Xr(t,A)|0;n;)r=e[(e[n+16>>2]|0)+120>>2]|0,e[r>>2]|0||(e[r>>2]=c,bA0(f,n)),n=ot(t,n,A)|0;r=s+4|0,c=c+1|0}return KA0(f),i|0}function DA0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;n=e[i>>2]|0,f=U0(t)|0;e:for(;f;){for(c=Xr(t,f)|0;c;){for(l=e[c>>2]&3,o=e[((l|0)==3?c:c+48|0)+40>>2]|0,(o|0)==(f|0)&&(o=e[((l|0)==2?c:c+-48|0)+40>>2]|0),A=0;!((A|0)>=2);){if(s=EA0(r)|0,BA0(r,f,o,A),l=UZ(r,t)|0,(l|0)<(n|0))if(vd(s),l)n=l;else{n=0;break e}else vd(r),r=s;A=A+1|0}c=ot(t,c,f)|0}f=X0(t,f)|0}return e[i>>2]=n,r|0}function MA0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(s=lh()|0,n=Me(r,t)|0;n;)o=n+-48|0,zl(s,0,e[((e[n>>2]&3|0)==2?n:o)+40>>2]|0),o=(e[(e[(e[((e[n>>2]&3|0)==2?n:o)+40>>2]|0)+16>>2]|0)+112>>2]|0)+4|0,e[o>>2]=e[o>>2]|32,n=Qe(r,n)|0;for(n=Xo(r,t)|0;n;)o=n+48|0,zl(s,0,e[((e[n>>2]&3|0)==3?n:o)+40>>2]|0),o=(e[(e[(e[((e[n>>2]&3|0)==3?n:o)+40>>2]|0)+16>>2]|0)+112>>2]|0)+4|0,e[o>>2]=e[o>>2]|32,n=ms(r,n)|0;e:do if((nf(s)|0)>1){for(o=i+4|0,r=i;;){if(n=e[r>>2]|0,!n){l=13;break e}if(r=n+4|0,!!(e[(e[(e[(e[n>>2]|0)+16>>2]|0)+112>>2]|0)+4>>2]&32)&&e[(e[(e[(e[e[((n|0)==(e[o>>2]|0)?i:r)>>2]>>2]|0)+16>>2]|0)+112>>2]|0)+4>>2]&32|0)break}zl(i,n,t)}else l=13;while(0);e:do if((l|0)==13){r:do if((nf(s)|0)>0){for(n=i;;){if(n=e[n>>2]|0,!n)break r;if(e[(e[(e[(e[n>>2]|0)+16>>2]|0)+112>>2]|0)+4>>2]&32|0)break;n=n+4|0}zl(i,n,t);break e}while(0);zl(i,0,t)}while(0);for(n=s;n=e[n>>2]|0,!!n;)i=(e[(e[(e[n>>2]|0)+16>>2]|0)+112>>2]|0)+4|0,e[i>>2]=e[i>>2]&-33,n=n+4|0;vd(s)}function jA0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;for(var o=0,l=0,s=0,A=0,c=0,f=0;l=e[(e[(e[t+16>>2]|0)+112>>2]|0)+16>>2]|0,!!l;){if(s=i+1|0,A=l+16|0,c=e[(e[A>>2]|0)+112>>2]|0,t=c+16|0,o=e[t+12>>2]|0,o){if((o|0)>(i|0)){f=11;break}t=e[t+4>>2]|0,o=t,(t|0)==(n|0)?t=c:(i=c+24|0,e[c+32>>2]|0&&(e[i>>2]|0)==(n|0)||(n=t),e[i>>2]=o,t=e[(e[A>>2]|0)+112>>2]|0,e[t+32>>2]=e[t+16+12>>2],t=e[(e[A>>2]|0)+112>>2]|0),t=t+16|0}e[t+4>>2]=r,e[(e[(e[A>>2]|0)+112>>2]|0)+16+12>>2]=s,t=l,i=s}(f|0)==11&&(e[c+32>>2]|0)<=(i|0)&&(e[c+24>>2]=r,e[(e[(e[A>>2]|0)+112>>2]|0)+32>>2]=s)}function XZ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(l=(e[(e[t+16>>2]|0)+112>>2]|0)+4|0,e[l>>2]=e[l>>2]|1,l=Xr(r,t)|0;l;)o=e[l>>2]&3,n=e[((o|0)==2?l:l+-48|0)+40>>2]|0,(n|0)==(t|0)&&(n=e[((o|0)==3?l:l+48|0)+40>>2]|0),o=n+16|0,e[(e[(e[o>>2]|0)+112>>2]|0)+4>>2]&1||(gs(i,l,1)|0,e[(e[(e[o>>2]|0)+112>>2]|0)+16>>2]=t,XZ(r,n,i)),l=ot(r,l,t)|0}function NA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(c=g,g=g+144|0,A=c+8|0,s=c,i=c+16|0,l=e[46934]|0,e[46934]=l+1,e[s>>2]=l,Ke(i,96312,s)|0,s=ji(r,i,1)|0,$e(s,137483,280,1)|0,l=e[46934]|0,e[46934]=l+1,e[A>>2]=l,Ke(i,96312,A)|0,l=r+24|0,C[A>>0]=C[l>>0]|0,C[A+1>>0]=C[l+1>>0]|0,C[A+2>>0]=C[l+2>>0]|0,C[A+3>>0]=C[l+3>>0]|0,A=w1(i,A,0)|0,i=U0(r)|0;i;)ft(s,i,1)|0,l=ht(A,te(i)|0,1)|0,$e(l,137447,304,1)|0,e[(e[(e[i+16>>2]|0)+112>>2]|0)+16>>2]=l,i=X0(r,i)|0;for(n=U0(r)|0;n;){for(o=e[(e[(e[n+16>>2]|0)+112>>2]|0)+16>>2]|0,l=o+16|0,i=Me(r,n)|0;i;)gs(s,i,1)|0,f=e[(e[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0)+16>>2]|0,w=rr(A,o,f,0,1)|0,$e(w,137460,176,1)|0,e[(e[w+16>>2]|0)+116>>2]=i,w=(e[l>>2]|0)+236|0,e[w>>2]=(e[w>>2]|0)+1,f=(e[f+16>>2]|0)+236|0,e[f>>2]=(e[f>>2]|0)+1,i=Qe(r,i)|0;n=X0(r,n)|0}return e[t>>2]=A,g=c,s|0}function QA0(r){r=r|0;var t=0,i=0;for(i=FA0()|0,t=U0(r)|0;t;)qZ(i,t),t=X0(r,t)|0;return i|0}function TA0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(p=e[(e[t+16>>2]|0)+236>>2]|0,E=p<<2,m=_0(E)|0,E=_0(E)|0,A=0,w=Xr(r,t)|0,v=0,o=0;w;){for(n=e[w>>2]&3,l=e[((n|0)==2?w:w+-48|0)+40>>2]|0,(l|0)==(t|0)&&(l=e[((n|0)==3?w:w+48|0)+40>>2]|0),s=0,f=Xr(r,t)|0,c=A;f;)(f|0)!=(w|0)?(A=e[f>>2]&3,n=e[((A|0)==2?f:f+-48|0)+40>>2]|0,(n|0)==(t|0)&&(n=e[((A|0)==3?f:f+48|0)+40>>2]|0),A=rr(r,l,n,0,0)|0,A?l>>>0>>0?(n=c+1|0,s=A+16|0,A=e[(e[s>>2]|0)+116>>2]|0,A&&(zn(i,A)|0,e[(e[s>>2]|0)+116>>2]=0),s=1):(s=1,n=c):n=c):n=c,f=ot(r,f,t)|0,c=n;s?(e[m+(o<<2)>>2]=l,n=v,o=o+1|0):(e[E+(v<<2)>>2]=l,n=v+1|0),A=c,w=ot(r,w,t)|0,v=n}n=p+-1-A|0;e:do if((n|0)>0){if((n|0)<(v|0))l=0;else{if((n|0)!=(v|0))break;for(o=e[m>>2]|0,l=o+16|0,n=0;;){if((n|0)>=(v|0))break e;p=e[E+(n<<2)>>2]|0,$e(rr(r,o,p,0,1)|0,137460,176,1)|0,i=(e[l>>2]|0)+236|0,e[i>>2]=(e[i>>2]|0)+1,p=(e[p+16>>2]|0)+236|0,e[p>>2]=(e[p>>2]|0)+1,n=n+1|0}}for(;;){if((l|0)>=(v|0)){o=2;break}if(o=l|1,(o|0)>=(v|0)){o=2;break}i=e[E+(l<<2)>>2]|0,p=e[E+(o<<2)>>2]|0,$e(rr(r,i,p,0,1)|0,137460,176,1)|0,i=(e[i+16>>2]|0)+236|0,e[i>>2]=(e[i>>2]|0)+1,p=(e[p+16>>2]|0)+236|0,e[p>>2]=(e[p>>2]|0)+1,l=l+2|0,n=n+-1|0}for(;;){if((n|0)<=0)break e;p=e[E>>2]|0,v=e[E+(o<<2)>>2]|0,$e(rr(r,p,v,0,1)|0,137460,176,1)|0,p=(e[p+16>>2]|0)+236|0,e[p>>2]=(e[p>>2]|0)+1,v=(e[v+16>>2]|0)+236|0,e[v>>2]=(e[v>>2]|0)+1,o=o+1|0,n=n+-1|0}}while(0);r0(E),r0(m)}function FA0(){return ct(18240,e[4581]|0)|0}function PA0(r,t,i){return r=r|0,t=t|0,i=i|0,i=_0(16)|0,e[i+12>>2]=0,e[i+8>>2]=e[t+8>>2],i|0}function YA0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function VA0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=e[t>>2]|0,n=e[i>>2]|0,((t|0)<(n|0)?-1:(t|0)>(n|0)&1)|0}function OA0(r){r=r|0,Fr(r)|0}function qZ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=g,g=g+16|0,o=i,n=t+16|0,e[o+8>>2]=e[(e[n>>2]|0)+236>>2],r=(oe[e[r>>2]&63](r,o,1)|0)+12|0,e[(e[n>>2]|0)+164>>2]=e[r>>2],e[r>>2]=t,g=i}function HA0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;if(s=g,g=g+16|0,l=s,o=t+16|0,e[l+8>>2]=e[(e[o>>2]|0)+236>>2],l=oe[e[r>>2]&63](r,l,4)|0,l||H0(96322,96325,107,96335),n=l+12|0,i=e[n>>2]|0,(i|0)==(t|0))t=e[(e[o>>2]|0)+164>>2]|0,e[n>>2]=t,t||oe[e[r>>2]&63](r,l,2)|0;else{do r=(e[i+16>>2]|0)+164|0,i=e[r>>2]|0,n=(i|0)!=0;while(n&(i|0)!=(t|0));n&&(e[r>>2]=e[(e[i+16>>2]|0)+164>>2])}g=s}function JA0(r){r=r|0;var t=0,i=0,n=0,o=0;return i=oe[e[r>>2]&63](r,0,128)|0,i?(o=i+12|0,t=e[o>>2]|0,n=e[(e[t+16>>2]|0)+164>>2]|0,e[o>>2]=n,n||oe[e[r>>2]&63](r,i,2)|0):t=0,t|0}function UA0(){return ct(18276,e[4581]|0)|0}function XA0(r,t,i){return r=r|0,t=t|0,i=i|0,i=_0(12)|0,e[i+8>>2]=e[t+8>>2],i|0}function qA0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function $A0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=e[t>>2]|0,n=e[i>>2]|0,(t>>>0>n>>>0?1:(t>>>0>>0)<<31>>31)|0}function KA0(r){r=r|0,Fr(r)|0}function bA0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n+8>>2]=t,oe[e[r>>2]&63](r,n,1)|0,g=i}function eu0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n+8>>2]=t,oe[e[r>>2]&63](r,n,2)|0,g=i}function Fr(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;do if(r|0&&(e[r+24>>2]|0)<=0){if(s=e[r+4>>2]|0,l=s+32|0,t=e[l>>2]|0,t){if(t=e2[t&127](r,2,0,s)|0,(t|0)<0){t=-1;break}}else t=0;if(e[r+28>>2]|0&&mA(r,0)|0,o=(t|0)==0,o){if(oe[e[e[r+16>>2]>>2]&63](r,0,64)|0,(sn(r)|0)>0){t=-1;break}i=r+8|0,t=e[i>>2]|0,(e[t+12>>2]|0)>0?(n=r+12|0,e2[e[n>>2]&127](r,e[t+8>>2]|0,0,s)|0,t=e[i>>2]|0):n=r+12|0,e2[e[n>>2]&127](r,t,0,s)|0}t=e[r+20>>2]|0,t?o&(t|0)==1&&e2[e[r+12>>2]&127](r,r,0,s)|0:r0(r),t=e[l>>2]|0,t&&e2[t&127](r,6,0,s)|0,t=0}else t=-1;while(0);return t|0}function ks(r){r=r|0;var t=0,i=0,n=0;n=r+8|0,t=e[n>>2]|0,i=e[t>>2]|0;e:do if(i&12)r=e[t+4>>2]|0;else{if(!(i&3)){i=t+8|0,r=e[i>>2]|0,e[i>>2]=0;break}for(r=Mt(r)|0,i=e[n>>2]|0,t=e[i+8>>2]|0,i=t+(e[i+12>>2]<<2)|0;;){if(t>>>0>=i>>>0)break e;e[t>>2]=0,t=t+4|0}}while(0);return n=e[n>>2]|0,e[n>>2]=e[n>>2]&-4097,e[n+16>>2]=0,e[n+4>>2]=0,r|0}function Mt(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(l=r+8|0,r=e[l>>2]|0,t=e[r>>2]|0,t&4096)r=e[r+4>>2]|0;else{e:do if(t&3)for(n=e[r+8>>2]|0,o=n+(e[r+12>>2]<<2)|0,t=0,r=0;;){if(n>>>0>=o>>>0)break e;if(i=e[n>>2]|0,i){for(t?e[t>>2]=i:(t=i,r=i);i=e[t>>2]|0,i;)t=i;e[n>>2]=t}n=n+4|0}else{if(t&112|0){r=e[r+8>>2]|0;break}if(r=e[r+4>>2]|0,!r)r=0;else{for(;;){if(t=r+4|0,i=e[t>>2]|0,!i){n=r;break}e[t>>2]=e[i>>2],e[i>>2]=r,r=i}for(;;){if(t=e[n>>2]|0,!t)break e;if(i=e[t+4>>2]|0,!i){n=t;continue}for(;e[t+4>>2]=e[i>>2],e[i>>2]=t,t=e[i+4>>2]|0,t;)o=i,i=t,t=o;e[n>>2]=i,n=i}}}while(0);l=e[l>>2]|0,e[l+4>>2]=r,e[l>>2]=e[l>>2]|4096}return r|0}function ru0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;z=r+8|0,e[e[z>>2]>>2]&4096|0&&f1(r,0)|0,x=e[r+4>>2]|0,p=e[x>>2]|0,v=e[x+4>>2]|0,B=x+8|0,L=e[B>>2]|0,m=e[x+20>>2]|0,E=r+20|0,o=e[E>>2]&-32769,e[E>>2]=o;e:do if(t){if(i&2049|0){if(l=x+12|0,n=e[l>>2]|0,s=(i&1|0)==0,s|(n|0)==0)o=t;else if(n=oe[n&63](r,t,x)|0,n)o=n;else{n=0;break}do if((L|0)>-1)s=o+L|0;else{if(n=e2[e[r+12>>2]&127](r,0,12,x)|0,n|0){e[n+8>>2]=o,s=n;break}if(!(e[l>>2]|0)){n=0;break e}if(n=e[x+16>>2]|0,s|(n|0)==0){n=0;break e}hr[n&127](r,o,x),n=0;break e}while(0);l=e[z>>2]|0,n=e[l>>2]|0;do if(n&128)i&8192?_=51:_=48;else{if(!(n&16))if(n&32){_=48;break}else{_=51;break}if(o=e[l+4>>2]|0,n=(o|0)!=0,i&8192){if(!n){_=51;break}if(n=e[o>>2]|0,!n){_=51;break}e[s>>2]=n,e[n+4>>2]=s,e[s+4>>2]=o,e[o>>2]=s;break}else{if(!n){_=48;break}if((o|0)==(e[l+8>>2]|0)){_=48;break}x=o+4|0,r=e[x>>2]|0,e[s+4>>2]=r,e[r>>2]=s,e[s>>2]=o,e[x>>2]=s;break}}while(0);if((_|0)==48?(n=e[l+8>>2]|0,e[s>>2]=n,n?e[s+4>>2]=e[n+4>>2]:n=s,e[n+4>>2]=s,e[(e[z>>2]|0)+8>>2]=s):(_|0)==51&&(o=l+8|0,n=e[o>>2]|0,n?(x=n+4|0,e[e[x>>2]>>2]=s,e[s+4>>2]=e[x>>2]):(e[o>>2]=s,n=s),e[n+4>>2]=s,e[s>>2]=0),n=e[z>>2]|0,o=n+16|0,l=e[o>>2]|0,(l|0)>-1&&(e[o>>2]=l+1),e[n+4>>2]=s,(L|0)<0){n=e[s+8>>2]|0;break}else{n=s+(0-L)|0;break}}s=e[z>>2]|0;do if(i&512)_=68;else{if(n=e[s+4>>2]|0,n|0&&((L|0)<0?l=e[n+8>>2]|0:l=n+(0-L)|0,(l|0)==(t|0)))break;n=t+p|0,(v|0)<0?(t=e[n>>2]|0,_=68):(t=n,_=68)}while(0);if((_|0)==68){l=(L|0)<0,A=(v|0)<0,c=(m|0)==0,f=(v|0)<1,w=0-L|0,n=s+8|0;do{if(n=e[n>>2]|0,!n){n=0;break e}l?o=e[n+8>>2]|0:o=n+w|0,o=o+p|0,A&&(o=e[o>>2]|0);do if(c)if(f){o=ge(t,o)|0;break}else{o=Q1(t,o,v)|0;break}else o=e2[m&127](r,t,o,x)|0;while(0)}while(o|0);o=e[E>>2]|0}if(e[E>>2]=o|32768,i&4098)s=n,_=84;else{do if(i&8)o=e[z>>2]|0,_=108;else{if(o=e[z>>2]|0,!(i&16)){e[o+4>>2]=n;break}if((n|0)==(e[o+8>>2]|0)){e[o+4>>2]=0,n=0;break e}else{n=n+4|0,_=108;break}}while(0);if((_|0)==108&&(n=e[n>>2]|0,e[o+4>>2]=n,!n)){n=0;break}if((L|0)<0){n=e[n+8>>2]|0;break}else{n=n+(0-L)|0;break}}}else{if(i&384|0){if(o=e[z>>2]|0,n=e[o+8>>2]|0,!n){n=0;break}if(i&256){if(n=e[n+4>>2]|0,e[o+4>>2]=n,!n){n=0;break}}else e[o+4>>2]=n;if((L|0)<0){n=e[n+8>>2]|0;break}else{n=n+(0-L)|0;break}}if(i&4098|0){if(n=e[z>>2]|0,e[n>>2]&144|0){n=0;break}if(n=e[n+8>>2]|0,n){s=n,_=84;break}else{n=0;break}}if(!(i&64))n=0;else{A=x+16|0;r:do if((e[A>>2]|0)!=0|(L|0)<0)for(c=r+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){i=o;break}else{i=o,s=12;break}if(i=r+28|0,!(e[i>>2]|0))i=o,s=12;else{if(r0(o),n=e2[e[i>>2]&127](0,0,40,r)|0,!n){i=0;break e}e[n>>2]=0,e[n+16>>2]=0,e[n+4>>2]=0,sh(n,r,0)|0,e[n+20>>2]=1,e[n+24>>2]=0,e[n+32>>2]=0,e[n+28>>2]=0,i=n,o=n,s=11}}else i=o,s=11;else i=o,s=12;else i=o,s=11;while(0);if((s|0)==11&&(n=e2[e[i+12>>2]&127](i,0,28,r)|0,e[l>>2]=n,n?(e[n>>2]=e[t+4>>2],l=n+4|0,e[l>>2]=0,e[l+4>>2]=0,e[l+8>>2]=0,e[l+12>>2]=0,e[l+16>>2]=0,e[l+20>>2]=0):(i=o,s=12)),(s|0)==12){r0(i),i=0;break}e[i+8>>2]=n,e[i>>2]=e[t>>2],e[i+16>>2]=t,n=e[A>>2]|0,n&&e2[n&127](i,5,o,r)|0}else i=0;while(0);return g=c,i|0}function f1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;o=e[e[r+16>>2]>>2]|0,c=r+8|0,l=e[c>>2]|0,s=e[l>>2]|0,i=s&4096,t?e[l+16>>2]|0?t=-1:(n=0,A=5):i?(n=i,t=e[l+4>>2]|0,A=5):t=-1;e:do if((A|0)==5){if(e[l>>2]=s&-4097,!(s&3)){if(i=l+4|0,s&12||(e[i>>2]=0,i=l+8|0),e[i>>2]=t,n|0){t=0;break}e[(e[c>>2]|0)+16>>2]=-1,t=0;break}if(e[l+4>>2]=0,!n)for(e[l+16>>2]=0;;){if(!t){t=0;break e}c=e[t>>2]|0,oe[o&63](r,t,32)|0,t=c}for(n=e[l+8>>2]|0,r=n+(e[l+12>>2]<<2)|0;;){if(n>>>0>=r>>>0){t=0;break e}i=e[n>>2]|0,i&&(e[n>>2]=t,t=e[i>>2]|0,e[i>>2]=0),n=n+4|0}}while(0);return t|0}function sn(r){r=r|0;var t=0,i=0,n=0;t=r+8|0,i=e[t>>2]|0,e[i>>2]&4096&&(f1(r,0)|0,i=e[t>>2]|0),n=i+16|0,r=e[n>>2]|0;do if((r|0)<0){if(t=e[i>>2]|0,t&12|0){r=E9(e[i+4>>2]|0)|0,e[n>>2]=r;break}if(t&112){for(r=0,t=i+8|0;t=e[t>>2]|0,!!t;)r=r+1|0;e[n>>2]=r}}while(0);return r|0}function E9(r){r=r|0;var t=0;return r?(t=E9(e[r+4>>2]|0)|0,t+1+(E9(e[r>>2]|0)|0)|0):0}function tu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0;t0=g,g=g+128|0,T=t0+120|0,B=t0,q=r+8|0,n=e[q>>2]|0,e[n>>2]&4096&&(f1(r,0)|0,n=e[q>>2]|0),F=e[r+4>>2]|0,D=e[F>>2]|0,P=e[F+4>>2]|0,W=F+8|0,U=e[W>>2]|0,X=e[F+20>>2]|0,z=r+20|0,e[z>>2]=e[z>>2]&-32769,s=e[n+4>>2]|0;e:do if(t){N=r+16|0,_=(i&4098|0)==0;r:do if(_|(e[(e[N>>2]|0)+4>>2]|0)!=8)L=45;else{for(f=(P|0)<0,n=t+D|0,f&&(n=e[n>>2]|0),A=(X|0)==0,c=(P|0)<1,l=oe[e[r>>2]&63](r,t,4)|0;;){if(!l){L=45;break r}o=l+D|0,f&&(o=e[o>>2]|0);do if(A)if(c){o=ge(n,o)|0;break}else{o=Q1(n,o,P)|0;break}else o=e2[X&127](r,n,o,F)|0;while(0);if(o|0){L=45;break r}if((l|0)==(t|0))break;l=oe[e[r>>2]&63](r,l,8)|0}s=e[(e[q>>2]|0)+4>>2]|0,e[T>>2]=e[s+4>>2],e[T+4>>2]=e[s>>2],n=T,L=180}while(0);r:do if((L|0)==45){do if(i&2565)i&512?o=t:(n=t+D|0,(P|0)<0?o=e[n>>2]|0:o=n),s?(l=t,n=0,x=o,c=0,L=64):(n=0,l=t,o=T,s=T,L=198);else{if(i&32|0)if((U|0)<0?l=e[t+8>>2]|0:l=t+(0-U)|0,n=l+D|0,(P|0)<0?o=e[n>>2]|0:o=n,s){n=t,x=o,c=t,L=64;break}else{n=t,o=T,s=T,L=198;break}s?((U|0)<0?n=e[s+8>>2]|0:n=s+(0-U)|0,(n|0)!=(t|0)?(o=t+D|0,(P|0)<0?(l=t,n=0,x=e[o>>2]|0,c=0,L=64):(l=t,n=0,x=o,c=0,L=64)):(n=0,l=t,o=T,f=T,c=0,L=141)):(n=0,l=t,o=T,s=T,L=198)}while(0);t:do if((L|0)==64){i:do if((e[(e[N>>2]|0)+4>>2]|0)==4&&(E=e[(e[q>>2]|0)+24>>2]|0,!((i&516|0)==0|(E|0)==0))){for(t=(U|0)<0,w=(P|0)<0,p=(X|0)==0,v=(P|0)<1,m=0-U|0,f=0,o=s;;){if((f|0)>=(E|0)){o=T,f=T,w=0;break}t?A=e[o+8>>2]|0:A=o+m|0,A=A+D|0,w&&(A=e[A>>2]|0);do if(p)if(v){A=ge(x,A)|0;break}else{A=Q1(x,A,P)|0;break}else A=e2[X&127](r,x,A,F)|0;while(0);if(!A){L=80;break}if(e[B+(f<<2)>>2]=A,o=e[((A|0)<0?o+4|0:o)>>2]|0,o)f=f+1|0;else{n=0;break e}}if((L|0)==80)if(t){n=e[o+8>>2]|0;break e}else{n=o+m|0;break e}for(;;){if((w|0)>=(E|0))break i;do if((e[B+(w<<2)>>2]|0)<0)if(A=s+4|0,t=e[A>>2]|0,(e[B+((w|1)<<2)>>2]|0)<0){e[A>>2]=e[t>>2],e[t>>2]=s,e[o+4>>2]=t,o=t,s=f,A=t+4|0;break}else{e[f>>2]=t,e[o+4>>2]=s,o=s,s=t,A=t;break}else if(A=e[s>>2]|0,(e[B+((w|1)<<2)>>2]|0)>0){m=A+4|0,e[s>>2]=e[m>>2],e[m>>2]=s,e[f>>2]=A,s=A;break}else{e[o+4>>2]=A,e[f>>2]=s,o=A,A=A+4|0;break}while(0);f=s,w=w+2|0,s=e[A>>2]|0}}else o=T,f=T;while(0);p=(U|0)<0,v=(P|0)<0,m=(X|0)!=0,E=(P|0)<1,B=0-U|0,A=s;i:for(;;){for(s=A;;){p?A=e[s+8>>2]|0:A=s+B|0,A=A+D|0,v&&(A=e[A>>2]|0);do if(m)A=e2[X&127](r,x,A,F)|0;else if(E){A=ge(x,A)|0;break}else{A=Q1(x,A,P)|0;break}while(0);if(!A){L=140;break i}if((A|0)>=0)break;if(t=s+4|0,w=e[t>>2]|0,!w){L=121;break i}p?A=e[w+8>>2]|0:A=w+B|0,A=A+D|0,v&&(A=e[A>>2]|0);do if(m)A=e2[X&127](r,x,A,F)|0;else if(E){A=ge(x,A)|0;break}else{A=Q1(x,A,P)|0;break}while(0);if((A|0)>=0){L=118;break}if(e[t>>2]=e[w>>2],e[w>>2]=s,e[o+4>>2]=w,s=e[w+4>>2]|0,s)o=w;else{o=w,s=f,L=198;break t}}if((L|0)==118){if(L=0,!A){L=119;break}if(e[f>>2]=w,e[o+4>>2]=s,A=e[w>>2]|0,A){o=s,f=w;continue}else{o=s,s=w,L=198;break t}}if(t=e[s>>2]|0,!t){L=139;break}p?A=e[t+8>>2]|0:A=t+B|0,A=A+D|0,v&&(A=e[A>>2]|0);do if(m)A=e2[X&127](r,x,A,F)|0;else if(E){A=ge(x,A)|0;break}else{A=Q1(x,A,P)|0;break}while(0);if((A|0)>0)if(A=t+4|0,e[s>>2]=e[A>>2],e[A>>2]=s,e[f>>2]=t,A=e[t>>2]|0,A){f=t;continue}else{s=t,L=198;break t}if(!A){L=137;break}if(e[o+4>>2]=t,e[f>>2]=s,A=e[t+4>>2]|0,A)o=t,f=s;else{o=t,L=198;break t}}if((L|0)==119){e[o+4>>2]=s,o=s,s=w,L=141;break}else if((L|0)==121){e[o+4>>2]=s,o=s,s=f,L=198;break}else if((L|0)==137){e[f>>2]=s,f=s,s=t,L=141;break}else if((L|0)==139){e[f>>2]=s,L=198;break}else if((L|0)==140)if(s){L=141;break}else{s=f,L=198;break}}while(0);do if((L|0)==141)if(e[z>>2]=e[z>>2]|32768,A=s+4|0,e[f>>2]=e[A>>2],e[o+4>>2]=e[s>>2],i&516)n=s;else{if(i&8|0){e[A>>2]=e[T>>2],e[s>>2]=0,e[T>>2]=s,L=169;break}if(i&16|0){L=T+4|0,e[s>>2]=e[L>>2],e[A>>2]=0,e[L>>2]=s,L=175;break}if(!_){n=o,L=180;break r}if(i&2049|0){if(e[(e[N>>2]|0)+4>>2]&4|0){n=s;break}e[A>>2]=0,n=T+4|0,e[s>>2]=e[n>>2],e[n>>2]=s,n=s,L=205;break}if(!(i&32)){n=0;break e}if(!(e[(e[N>>2]|0)+4>>2]&4)){e[n+4>>2]=0,W=T+4|0,e[n>>2]=e[W>>2],e[W>>2]=c,n=(e[q>>2]|0)+16|0,e[n>>2]=(e[n>>2]|0)+1,n=s;break}n=e[F+16>>2]|0,n|0&&hr[n&127](r,l,F),(e[W>>2]|0)<0&&e2[e[r+12>>2]&127](r,c,0,F)|0,n=s}else if((L|0)==198)if(e[o+4>>2]=0,e[s>>2]=0,i&8)L=169;else if(i&16)L=175;else{if(i&516|0){n=o;break r}if(i&2049)n=0,L=205;else{if(!(i&32)){l=0,n=o;break r}W=(e[q>>2]|0)+16|0,e[W>>2]=(e[W>>2]|0)+1}}while(0);if((L|0)==169){if(s=T+4|0,n=e[s>>2]|0,!n){n=o;break}for(;o=n+4|0,l=e[o>>2]|0,!!l;)e[o>>2]=e[l>>2],e[l>>2]=n,n=l;e[s>>2]=e[n>>2]}else if((L|0)==175){if(n=e[T>>2]|0,!n){n=o;break}for(;o=e[n>>2]|0,!!o;)W=o+4|0,e[n>>2]=e[W>>2],e[W>>2]=n,n=o;e[T>>2]=e[n+4>>2]}else if((L|0)==205){A=F+12|0,s=e[A>>2]|0,c=(i&1|0)==0,c|(s|0)==0||(l=oe[s&63](r,l,F)|0);do if(l){if((U|0)>-1){n=l+U|0,L=215;break}if(n=e2[e[r+12>>2]&127](r,0,12,F)|0,n|0){e[n+8>>2]=l;break}e[A>>2]|0&&(Z=e[F+16>>2]|0,!(c|(Z|0)==0))&&hr[Z&127](r,l,F),L=215}else L=215;while(0);if((L|0)==215&&!n){n=o;break}o=(e[q>>2]|0)+16|0,l=e[o>>2]|0,(l|0)>-1&&(e[o>>2]=l+1)}e[n+4>>2]=e[T>>2],e[n>>2]=e[T+4>>2];t:do if(!(!(i&516|0)||!(e[(e[N>>2]|0)+4>>2]&8|0)))for(w=(U|0)<0,w?o=e[n+8>>2]|0:o=n+(0-U)|0,p=(P|0)<0,o=o+D|0,p&&(o=e[o>>2]|0),c=(X|0)==0,f=(P|0)<1,t=0-U|0;;){if(A=n+4|0,l=e[A>>2]|0,!l)break t;for(;s=e[l>>2]|0,!!s;)T=s+4|0,e[l>>2]=e[T>>2],e[T>>2]=l,l=s;e[A>>2]=l,w?s=e[l+8>>2]|0:s=l+t|0,s=s+D|0,p&&(s=e[s>>2]|0);do if(c)if(f){s=ge(o,s)|0;break}else{s=Q1(o,s,P)|0;break}else s=e2[X&127](r,o,s,F)|0;while(0);if(s|0)break t;e[A>>2]=e[l>>2],e[l>>2]=n,n=l}while(0);if(e[(e[q>>2]|0)+4>>2]=n,(U|0)<0){n=e[n+8>>2]|0;break e}else{n=n+(0-U)|0;break e}}while(0);(L|0)==180&&((U|0)<0?l=e[s+8>>2]|0:l=s+(0-U)|0,o=e[F+16>>2]|0,(i&2|0)==0|(o|0)==0||hr[o&127](r,l,F),(e[W>>2]|0)<0&&e2[e[r+12>>2]&127](r,s,0,F)|0,r=(e[q>>2]|0)+16|0,F=e[r>>2]|0,e[r>>2]=(F|0)<1?-1:F+-1|0);do o=n+4|0,n=e[o>>2]|0;while(n|0);e[o>>2]=e[T>>2],e[(e[q>>2]|0)+4>>2]=e[T+4>>2],n=i&2|0?l:0}else if((i&448|0)==0|(s|0)==0)n=0;else{if(!(i&64)){r:do if(i&256)for(n=s;;){if(o=e[n>>2]|0,!o)break r;r=o+4|0,e[n>>2]=e[r>>2],e[r>>2]=n,n=o}else for(n=s;;){if(o=n+4|0,l=e[o>>2]|0,!l)break r;e[o>>2]=e[l>>2],e[l>>2]=n,n=l}while(0);if(e[(e[q>>2]|0)+4>>2]=n,(U|0)<0){n=e[n+8>>2]|0;break}else{n=n+(0-U)|0;break}}if(t=F+16|0,(e[t>>2]|0)!=0|(U|0)<0){c=r+12|0,f=(U|0)<0,A=0-U|0,n=s;do{for(s=n;n=s+4|0,o=e[n>>2]|0,!!o;)e[n>>2]=e[o>>2],e[o>>2]=s,s=o;n=e[s>>2]|0,o=e[t>>2]|0,o|0&&(f?l=e[s+8>>2]|0:l=s+A|0,hr[o&127](r,l,F)),(e[W>>2]|0)<0&&e2[e[c>>2]&127](r,s,0,F)|0}while(n|0);n=e[q>>2]|0}e[n+16>>2]=0,e[n+4>>2]=0,n=0}while(0);return g=t0,n|0}function mA(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;e[e[r+8>>2]>>2]&4096|0&&f1(r,0)|0,o=(t|0)!=0,o?(e[e[t+8>>2]>>2]&4096|0&&f1(t,0)|0,(e[t+16>>2]|0)==(e[r+16>>2]|0)?(i=t,n=7):t=0):(i=0,n=7);e:do if((n|0)==7){for(;i;){if((i|0)==(r|0)){t=0;break e}i=e[i+28>>2]|0,n=7}if(i=r+28|0,n=e[i>>2]|0,n|0&&(l=n+24|0,e[l>>2]=(e[l>>2]|0)+-1),e[r+32>>2]=0,e[i>>2]=0,o){e[i>>2]=t,e[r>>2]=28,l=t+24|0,e[l>>2]=(e[l>>2]|0)+1;break}else{e[r>>2]=e[e[r+16>>2]>>2],t=n;break}}while(0);return t|0}function iu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;e:do if(i&99)n=oe[e[e[r+16>>2]>>2]&63](r,t,i)|0;else{if(!(i&516|0)&&(n=e[(e[r+16>>2]|0)+4>>2]|0,!((i&384|0)!=0&(n&12|0)==0))){if(n&12|0){if(!(i&408)){n=0;break}for(m=(i&136|0)!=0,E=(i&272|0)!=0,w=0,o=0,n=0,v=r;v;){p=oe[e[e[v+16>>2]>>2]&63](v,t,i)|0;do if(!p)l=w;else{if(s=e[v+4>>2]|0,A=e[s+4>>2]|0,c=e[s+20>>2]|0,l=p+(e[s>>2]|0)|0,(A|0)<0?f=e[l>>2]|0:f=l,n|0){do if(c)l=e2[c&127](v,f,o,s)|0;else if((A|0)<1){l=ge(f,o)|0;break}else{l=Q1(f,o,A)|0;break}while(0);if(!(m&(l|0)<0|E&(l|0)>0)){l=w;break}}l=v,o=f,n=p}while(0);w=l,v=e[v+28>>2]|0}e[r+32>>2]=w;break}if(!(i&24)){n=0;break}c=r+32|0,o=e[c>>2]|0,o?(n=e[(e[o+4>>2]|0)+8>>2]|0,l=e[(e[o+8>>2]|0)+4>>2]|0,(n|0)<0?n=e[l+8>>2]|0:n=l+(0-n)|0,(n|0)==(t|0)?n=t:(o=r,s=32)):(o=r,s=32);do if((s|0)==32){for(;;){if(!o){s=33;break}if(n=oe[e[e[o+16>>2]>>2]&63](o,t,4)|0,n|0){s=36;break}o=e[o+28>>2]|0,s=32}if((s|0)==33){e[c>>2]=0,n=0;break e}else if((s|0)==36){e[c>>2]=o;break}}while(0);for(A=(i<<4&128^128)+128|0,n=oe[e[e[o+16>>2]>>2]&63](o,n,i)|0;;){for(s=o+16|0;n;){l=r;for(;;){if((l|0)==(o|0))break e;if(oe[e[e[l+16>>2]>>2]&63](l,n,4)|0)break;l=e[l+28>>2]|0}n=oe[e[e[s>>2]>>2]&63](o,n,i)|0}if(o=e[o+28>>2]|0,e[c>>2]=o,!o){n=0;break e}n=oe[e[e[o+16>>2]>>2]&63](o,0,A)|0}}else o=r;for(;;){if(!o){o=0,n=0;break}if(n=oe[e[e[o+16>>2]>>2]&63](o,t,i)|0,n|0)break;o=e[o+28>>2]|0}e[r+32>>2]=o}while(0);return n|0}function nu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=r+32|0,o=oe[e[r>>2]&63](r,0,128)|0;do{if(!o){n=0;break}s=e[l>>2]|0,n=o,o=oe[e[r>>2]&63](r,o,8)|0,n=oe[t&63](s|0?s:r,n,i)|0}while((n|0)>=0);return n|0}function sh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;o=r+4|0,v=e[o>>2]|0;e:do if(v)if(t){if(p=e[e[r+16>>2]>>2]|0,l=r+8|0,e[e[l>>2]>>2]&4096|0&&f1(r,0)|0,n=e[v+32>>2]|0,n|0&&(e2[n&127](r,3,t,v)|0)<0){t=0;break}if(e[o>>2]=t,n=e[t+28>>2]|0,e[r+12>>2]=n|0?n:52,n=e[e[l>>2]>>2]|0,n&112)t=v;else{do if(n&2){if(i&2|0){t=v;break e}}else if(n&3)if((i&3|0)==3){t=v;break e}else break;else if(i&1){t=v;break e}else break;while(0);s=Mt(r)|0,n=e[l>>2]|0,w=e[n>>2]|0,e[n>>2]=w&-4097,e[n+4>>2]=0,e[n+16>>2]=0;r:do if(w&3|0)for(w=e[n+8>>2]|0,o=w+(e[n+12>>2]<<2)|0,n=w;;){if(n>>>0>=o>>>0)break r;e[n>>2]=0,n=n+4|0}while(0);for(A=(i&2|0)==0,c=t+8|0,f=t+4|0,w=t+24|0;;){if(!s){t=v;break e}i=e[s>>2]|0,A&&(n=e[c>>2]|0,(n|0)<0?n=e[s+8>>2]|0:n=s+(0-n)|0,l=e[f>>2]|0,n=n+(e[t>>2]|0)|0,(l|0)<0&&(n=e[n>>2]|0),o=e[w>>2]|0,o?n=oe[o&63](r,n,t)|0:n=lu0(0,n,l)|0,e[s+4>>2]=n),oe[p&63](r,s,32)|0,s=i}}}else t=v;else e[o>>2]=t,v=e[t+28>>2]|0,e[r+12>>2]=v|0?v:52;while(0);return t|0}function ou0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,r=(i|0)==0;do if(!t)r?r=0:r=Te(i)|0;else if(r){r0(t),r=0;break}else{r=V2(t,i)|0;break}while(0);return r|0}function lu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(o=t,(i|0)>=1){for(l=t+i+-1|0,o=(l>>>0>>0?t:l)+(1-o)&-2,n=t;!(n>>>0>=l>>>0);)r=N0(((s0[n>>0]|0)<<8)+r+(s0[n+1>>0]|0)|0,17109811)|0,n=n+2|0;n=t+o|0,n>>>0>l>>>0?t=i:(t=i,r=N0(((s0[n>>0]|0)<<8)+r|0,17109811)|0)}else{for(;n=C[t>>0]|0,!!(n<<24>>24);)l=C[t+1>>0]|0,i=N0(((n&255)<<8)+r+(l&255)|0,17109811)|0,r=i,t=t+(l<<24>>24?2:1)|0;t=t-o|0}return N0(r+t|0,17109811)|0}function su0(r){r=r|0;var t=0;return t=e[46935]|0,e[46935]=r,t|0}function Au0(r){r=r|0;var t=0;return t=e[46936]|0,e[46936]=r,t|0}function $0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=$Z(r,t,o)|0,g=n,i|0}function $Z(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;l=g,g=g+16|0,n=l,o=(r|0)==3,s=o?e[46938]|0:(r|0)==2?1:r,e[46938]=s,A=e[46939]|0,e[46939]=A>>>0>s>>>0?A:s;do if(s>>>0<(e[46936]|0)>>>0){if(r=e[46937]|0,!r&&(r=kI0()|0,e[46937]=r,!r)){r=1;break}o||(vI0(r)|0,r=e[46937]|0),Gk(r,t,i)|0,r=0}else{if(e[46935]|0){uu0(r,t,i),r=0;break}o?r=e[15712]|0:(A=e[15712]|0,e[n>>2]=(r|0)==1?96349:96355,A2(A,96363,n)|0,r=A),Gk(r,t,i)|0,r=0}while(0);return g=l,r|0}function uu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;!(e[46940]|0)&&(o=Te(e[4590]|0)|0,e[46940]=o,(o|0)==0)?Bi(96368,e[15712]|0)|0:n=4;do if((n|0)==4){for((r|0)!=3&&(nr[e[46935]&63]((r|0)==1?96349:96355)|0,nr[e[46935]&63](97027)|0);;){if(r=Rk(e[46940]|0,e[4590]|0,t,i)|0,n=e[4590]|0,(r|0)>-1&(r|0)<(n|0)){n=7;break}if(n=n<<1,o=r+1|0,o=(n|0)>(o|0)?n:o,e[4590]=o,!(V2(e[46940]|0,o)|0)){n=9;break}}if((n|0)==7){nr[e[46935]&63](e[46940]|0)|0;break}else if((n|0)==9){Bi(96368,e[15712]|0)|0;break}}while(0)}function md(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,$Z(1,r,n)|0,g=i}function Vt(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;i?n=0:(i=t|0?t:1024,t=i,i=Te(i)|0,n=1),e[r+12>>2]=n,e[r>>2]=i,e[r+8>>2]=i+t,e[r+4>>2]=i,C[i>>0]=0}function Xe(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;return s=r+8|0,o=e[r>>2]|0,l=(e[s>>2]|0)-o|0,n=l<<1,l=l+t|0,n=l>>>0>n>>>0?l:n,l=r+4|0,t=o,o=(e[l>>2]|0)-o|0,i=r+12|0,e[i>>2]|0?t=V2(t,n)|0:(A=Te(n)|0,u2(A|0,t|0,o|0)|0,e[i>>2]=1,t=A),e[r>>2]=t,e[l>>2]=t+o,e[s>>2]=t+n,0}function B9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=r+4|0,n=e[o>>2]|0,(n+i|0)>>>0>(e[r+8>>2]|0)>>>0&&(Xe(r,i)|0,n=e[o>>2]|0),u2(n|0,t|0,i|0)|0,e[o>>2]=(e[o>>2]|0)+i,i|0}function t2(r,t){return r=r|0,t=t|0,B9(r,t,d2(t)|0)|0}function Ot(r){r=r|0,e[r+12>>2]|0&&r0(e[r>>2]|0)}function KZ(r){r=r|0;var t=0,i=0;return t=r+4|0,i=e[t>>2]|0,i>>>0>(e[r>>2]|0)>>>0?(e[t>>2]=i+-1,r=s0[i>>0]|0):r=-1,r|0}function au0(r,t,i){r=r|0,t=t|0,i=i|0,Ai(e[46942]|0,e[t+8>>2]|0)|0,Ai(e[46942]|0,e[t+12>>2]|0)|0,_n(e[46942]|0,t)}function vs(r,t){r=r|0,t=t|0;var i=0;return i=lt(r,96416,0)|0,(t|0)!=0&(i|0)==0&&(cu0(r),i=lt(r,96416,0)|0),i|0}function cu0(r){r=r|0;var t=0,i=0,n=0;for(n=c2(r)|0,Af(n,n,107,0,1)|0,i=U0(n)|0;i;){for(eW(r,i),t=Me(n,i)|0;t;)rW(r,t),t=Qe(n,t)|0;i=X0(n,i)|0}}function bZ(r){r=r|0;var t=0;t=r+24|0,C[t>>0]=C[t>>0]|64,fu0(r),t=D1(r)|0,I9(t|0?t:r,r)}function eW(r,t){r=r|0,t=t|0;var i=0;i=Hn(t)|0,i|0&&e[i+8>>2]|0||I9(r,t)}function rW(r,t){r=r|0,t=t|0;var i=0;i=Hn(t)|0,i|0&&e[i+8>>2]|0||I9(r,t)}function Hn(r){return r=r|0,lt(r,96404,0)|0}function I9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=$e(t,96404,16,0)|0,o=aa(r,e[t>>2]&3)|0,n=i+8|0;e:do if(!(e[n>>2]|0))for(r=c2(r)|0,e[n>>2]=aa(r,e[t>>2]&3)|0,r=tW(t)|0,i=i+12|0,e[i>>2]=Sn(We(t)|0,((r|0)>4?r:4)<<2)|0,r=oe[e[o>>2]&63](o,0,128)|0;;){if(!r)break e;n=We(t)|0,n=un(n,e[r+12>>2]|0)|0,e[(e[i>>2]|0)+(e[r+16>>2]<<2)>>2]=n,r=oe[e[o>>2]&63](o,r,8)|0}while(0)}function aa(r,t){r=r|0,t=t|0;var i=0,n=0;n=g,g=g+16|0,i=n,r=vs(r,0)|0;e:do if(!r)r=0;else switch(t|0){case 0:{r=e[r+16>>2]|0;break e}case 1:{r=e[r+8>>2]|0;break e}case 2:case 3:{r=e[r+12>>2]|0;break e}default:{e[i>>2]=t,$0(1,96429,i)|0,r=0;break e}}while(0);return g=n,r|0}function tW(r){r=r|0;var t=0;return t=c2(We(r)|0)|0,r=aa(t,e[r>>2]&3)|0,r?r=sn(r)|0:r=0,r|0}function fu0(r){r=r|0;var t=0,i=0,n=0,o=0;i=$e(r,96416,20,0)|0,n=i+8|0,e[n>>2]=ho(r,18364,e[4589]|0)|0,o=i+12|0,e[o>>2]=ho(r,18364,e[4589]|0)|0,i=i+16|0,e[i>>2]=ho(r,18364,e[4589]|0)|0,t=D1(r)|0,t?(r=vs(t,0)|0,mA(e[n>>2]|0,e[r+8>>2]|0)|0,mA(e[o>>2]|0,e[r+12>>2]|0)|0,mA(e[i>>2]|0,e[r+16>>2]|0)|0):(t=e[46941]|0,(t|0)==0|(t|0)==(r|0)||(t=vs(t,0)|0,x9(e[t+8>>2]|0,e[n>>2]|0,r,1),x9(e[t+12>>2]|0,e[o>>2]|0,r,2),x9(e[t+16>>2]|0,e[i>>2]|0,r,0)))}function x9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=oe[e[r>>2]&63](r,0,128)|0;o;)l=gd(i,e[o+8>>2]|0,e[o+12>>2]|0,e[o+16>>2]|0,n)|0,C[l+22>>0]=C[o+22>>0]|0,C[l+21>>0]=C[o+21>>0]|0,oe[e[t>>2]&63](t,l,1)|0,o=oe[e[r>>2]&63](r,o,8)|0}function gd(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;return l=Sn(r,24)|0,C[l+20>>0]=o,e[l+8>>2]=un(r,t)|0,e[l+12>>2]=un(r,i)|0,e[l+16>>2]=n,l|0}function yd(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+32|0,n=i,e[n+8>>2]=t,t=oe[e[r>>2]&63](r,n,4)|0,g=i,t|0}function iW(r,t){r=r|0,t=t|0;var i=0;return i=mA(r,0)|0,t=yd(r,t)|0,mA(r,i)|0,t|0}function S9(r,t){return r=r|0,t=t|0,r=Hn(r)|0,r?r=yd(e[r+8>>2]|0,t)|0:r=0,r|0}function re(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=g,g=g+16|0,o=l,r||(r=e[46941]|0,r||(C[o>>0]=C[18400]|0,C[o+1>>0]=C[18401]|0,C[o+2>>0]=C[18402]|0,C[o+3>>0]=C[18403]|0,r=w1(0,o,0)|0,e[46941]=r)),n?r=hu0(r,t,i,n)|0:r=wu0(r,t,i)|0,g=l,r|0}function hu0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=c2(r)|0,vs(r,1)|0,l=aa(r,t)|0,o=iW(l,i)|0;e:do if(o)s=o+12|0,Ai(r,e[s>>2]|0)|0,e[s>>2]=un(r,n)|0,s=16;else{if(o=yd(l,i)|0,o|0){o=gd(r,i,n,e[o+16>>2]|0,t)|0,oe[e[l>>2]&63](l,o,1)|0,s=16;break}switch(l=aa(A,t)|0,o=gd(r,i,n,sn(l)|0,t)|0,oe[e[l>>2]&63](l,o,1)|0,t|0){case 0:{Af(A,A,57,o,1)|0,s=16;break e}case 1:for(i=U0(A)|0;;){if(!i){s=16;break e}_9(r,i,o),i=X0(A,i)|0}case 2:case 3:for(l=U0(A)|0;;){if(!l){s=16;break e}for(i=Me(A,l)|0;i;)_9(r,i,o),i=Qe(A,i)|0;l=X0(A,l)|0}default:break e}}while(0);return(s|0)==16&&(t|0)==0&(o|0)!=0&&Er(r,o,n)|0,kW(r,r,o),o|0}function wu0(r,t,i){return r=r|0,t=t|0,i=i|0,r=aa(r,t)|0,r?r=yd(r,i)|0:r=0,r|0}function _9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;t=Hn(t)|0,o=i+16|0,n=e[o>>2]|0,(n|0)>3?(l=e[r+64>>2]|0,t=t+12|0,n=n<<2,e[t>>2]=e2[e[(e[l>>2]|0)+8>>2]&127](e[l+12>>2]|0,e[t>>2]|0,n,n+4|0)|0):t=t+12|0,l=un(r,e[i+12>>2]|0)|0,e[(e[t>>2]|0)+(e[o>>2]<<2)>>2]=l}function Er(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;s=We(r)|0,l=(Hn(r)|0)+12|0,A=t+16|0,Ai(s,e[(e[l>>2]|0)+(e[A>>2]<<2)>>2]|0)|0,o=un(s,i)|0,e[(e[l>>2]|0)+(e[A>>2]<<2)>>2]=o;do if(!(e[r>>2]&3))if(n=e[(vs(s,0)|0)+16>>2]|0,o=t+8|0,l=iW(n,e[o>>2]|0)|0,l){A=l+12|0,Ai(s,e[A>>2]|0)|0,e[A>>2]=un(s,i)|0;break}else{A=gd(s,e[o>>2]|0,i,e[A>>2]|0,e[r>>2]&3)|0,oe[e[n>>2]&63](n,A,1)|0;break}while(0);return kW(s,r,t),0}function co(r,t,i){r=r|0,t=t|0,i=i|0,r=aa(r,t)|0;do if(r)if(t=e[r>>2]|0,i){r=oe[t&63](r,i,8)|0;break}else{r=oe[t&63](r,0,128)|0;break}else r=0;while(0);return r|0}function du0(r){r=r|0;var t=0;return e[46942]=r,t=Hn(r)|0,t|0&&(z9(r,t),An(r,e[t>>2]|0)|0),t=vs(r,0)|0,t?!(Es(r,e[t+8>>2]|0)|0)&&!(Es(r,e[t+12>>2]|0)|0)&&!(Es(r,e[t+16>>2]|0)|0)?(An(r,e[t>>2]|0)|0,t=0):t=1:t=0,t|0}function z9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=We(r)|0,n=tW(r)|0,t=t+12|0,r=0;i=e[t>>2]|0,!((r|0)>=(n|0));)Ai(o,e[i+(r<<2)>>2]|0)|0,r=r+1|0;_n(o,i)}function pu0(r){r=r|0;var t=0;t=Hn(r)|0,t|0&&(z9(r,t),An(r,96404)|0)}function ku0(r){r=r|0;var t=0;t=Hn(r)|0,t|0&&(z9(r,t),An(r,96404)|0)}function he(r,t){return r=r|0,t=t|0,t=S9(r,t)|0,t?(r=e[(Hn(r)|0)+12>>2]|0,t=e[r+(e[t+16>>2]<<2)>>2]|0):t=0,t|0}function k2(r,t){return r=r|0,t=t|0,r=e[(Hn(r)|0)+12>>2]|0,e[r+(e[t+16>>2]<<2)>>2]|0}function h1(r,t,i){return r=r|0,t=t|0,i=i|0,t=S9(r,t)|0,t?(Er(r,t,i)|0,t=0):t=-1,t|0}function nW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=We(r)|0,o=re(o,e[r>>2]&3,t,0)|0,o||(o=We(r)|0,o=re(o,e[r>>2]&3,t,n)|0),Er(r,o,i)|0,0}function Cd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=We(r)|0,o=e[r>>2]|0;e:do if((e[t>>2]^o)&3)i=1;else for(i=1,n=0;;){if(n=co(l,o&3,n)|0,!n)break e;if(i=S9(t,e[n+8>>2]|0)|0,!i){i=1;break e}o=k2(r,n)|0,Er(t,i,o)|0,Rl(o)|0&&ca0(k2(t,i)|0),i=0,o=e[r>>2]|0}while(0);return i|0}function vu0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return r=e[t+40>>2]|0,o=e[i+40>>2]|0,(r|0)==(o|0)?(n=(e[t>>2]|0)>>>4,r=(e[i>>2]|0)>>>4,n>>>0>=r>>>0?n>>>0>r>>>0?r=1:l=6:r=-1):(n=(e[r>>2]|0)>>>4,r=(e[o>>2]|0)>>>4,n>>>0>=r>>>0?n>>>0>r>>>0?r=1:l=6:r=-1),(l|0)==6&&(r=0),r|0}function mu0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;r=(e[t+40>>2]|0)+8|0,l=e[r>>2]|0,r=e[r+4>>2]|0,o=(e[i+40>>2]|0)+8|0,n=e[o>>2]|0,o=e[o+4>>2]|0;do if(r>>>0>>0|(r|0)==(o|0)&l>>>0>>0)r=-1;else if(r>>>0>o>>>0|(r|0)==(o|0)&l>>>0>n>>>0)r=1;else{if(n=t+8|0,r=e[n>>2]|0,n=e[n+4>>2]|0,!((r|0)==0&(n|0)==0)&&(A=i+8|0,s=e[A>>2]|0,A=e[A+4>>2]|0,!((s|0)==0&(A|0)==0))){if(n>>>0
>>0|(n|0)==(A|0)&r>>>0>>0){r=-1;break}if(n>>>0>A>>>0|(n|0)==(A|0)&r>>>0>s>>>0){r=1;break}}r=0}while(0);return r|0}function Me(r,t){r=r|0,t=t|0;var i=0;return t=fo(r,t)|0,t?(i=r+44|0,r=t+32|0,f1(e[i>>2]|0,e[r>>2]|0)|0,t=e[i>>2]|0,t=oe[e[t>>2]&63](t,0,128)|0,e[r>>2]=ks(e[i>>2]|0)|0):t=0,t|0}function fo(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+48|0,i=n,(e[t+24>>2]|0)==(r|0)?r=t+28|0:(e[i+16>>2]=t,r=e[r+40>>2]|0,r=oe[e[r>>2]&63](r,i,4)|0),g=n,r|0}function Qe(r,t){r=r|0,t=t|0;var i=0,n=0;return i=fo(r,e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,i?(n=r+44|0,i=i+32|0,f1(e[n>>2]|0,e[i>>2]|0)|0,r=e[n>>2]|0,r=oe[e[r>>2]&63](r,t,8)|0,e[i>>2]=ks(e[n>>2]|0)|0):r=0,r|0}function Xo(r,t){r=r|0,t=t|0;var i=0;return t=fo(r,t)|0,t?(i=r+44|0,r=t+28|0,f1(e[i>>2]|0,e[r>>2]|0)|0,t=e[i>>2]|0,t=oe[e[t>>2]&63](t,0,128)|0,e[r>>2]=ks(e[i>>2]|0)|0):t=0,t|0}function ms(r,t){r=r|0,t=t|0;var i=0,n=0;return i=fo(r,e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,i?(n=r+44|0,i=i+28|0,f1(e[n>>2]|0,e[i>>2]|0)|0,r=e[n>>2]|0,r=oe[e[r>>2]&63](r,t,8)|0,e[i>>2]=ks(e[n>>2]|0)|0):r=0,r|0}function Xr(r,t){r=r|0,t=t|0;var i=0;return i=Me(r,t)|0,i||(i=Xo(r,t)|0),i|0}function ot(r,t,i){r=r|0,t=t|0,i=i|0;e:do if((e[t>>2]&3|0)==2){if(t=Qe(r,t)|0,!t){t=0;do if(t?t=ms(r,t)|0:t=Xo(r,i)|0,!t){t=0;break e}while((e[t+40>>2]|0)==(i|0))}}else do if(t=ms(r,t)|0,!t){t=0;break e}while((e[t+40>>2]|0)==(i|0));while(0);return t|0}function gu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return l=g,g=g+32|0,n=l+16|0,o=l,xd(r)|0&&(e[o>>2]=0,e[o+4>>2]=0,e[o+8>>2]=0,e[o+12>>2]=0,e[n>>2]=e[o>>2],e[n+4>>2]=e[o+4>>2],e[n+8>>2]=e[o+8>>2],e[n+12>>2]=e[o+12>>2],(gA(r,t,i,n)|0)!=0)?n=0:n=((s0[r+24>>0]|0)>>>2&1^1)&255|(t|0)!=(i|0),g=l,n|0}function yu0(r,t){r=r|0,t=t|0,L9(r,t)}function Cu0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0;return ft(r,t,1)|0,ft(r,i,1)|0,l=Sn(r,96)|0,s=l+48|0,f=Id(r,2)|0,A=e[s>>2]|0,c=e[l>>2]|0,w=l+8|0,e[w>>2]=n,e[w+4>>2]=o,w=l+56|0,e[w>>2]=n,e[w+4>>2]=o,o=f<<4,e[l>>2]=c&12|o|2,e[s>>2]=A&12|o|3,e[l+88>>2]=t,e[l+40>>2]=i,L9(r,l),C[r+24>>0]&64&&($e(l,96404,16,0)|0,rW(r,l)),Z9(r,l),l|0}function L9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(A=g,g=g+16|0,i=A,s=e[t>>2]&3,l=(s|0)==2?t:t+-48|0,s=(s|0)==3?t:t+48|0,n=e[s+40>>2]|0,o=e[l+40>>2]|0;!(!r||(e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],gA(r,n,o,i)|0));)c=fo(r,n)|0,w=r+44|0,Ed(e[w>>2]|0,c+32|0,l),f=r+48|0,Ed(e[f>>2]|0,c+24|0,l),c=fo(r,o)|0,Ed(e[w>>2]|0,c+28|0,s),Ed(e[f>>2]|0,c+20|0,s),r=D1(r)|0;g=A}function gA(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;return s=g,g=g+48|0,o=s,!((t|0)==0|(i|0)==0)&&(e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],e[o+40>>2]=t,l=fo(r,i)|0,(l|0)!=0)?(n=r+48|0,l=l+20|0,f1(e[n>>2]|0,e[l>>2]|0)|0,r=e[n>>2]|0,r=oe[e[r>>2]&63](r,o,4)|0,e[l>>2]=ks(e[n>>2]|0)|0):r=0,g=s,r|0}function Ed(r,t,i){r=r|0,t=t|0,i=i|0,f1(r,e[t>>2]|0)|0,oe[e[r>>2]&63](r,i,1)|0,e[t>>2]=ks(r)|0}function rr(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;p=g,g=g+48|0,A=p+24|0,f=p+16|0,c=p;do if(ca(r,2,n,f,0)|0)v=c,e[v>>2]=0,e[v+4>>2]=0,v=f,l=e[v+4>>2]|0,w=c+8|0,e[w>>2]=e[v>>2],e[w+4>>2]=l,e[c>>2]=2,w=7;else if(n)w=17;else{if(o|0&&!(xd(r)|0)){w=18;break}e[c>>2]=0,e[c+4>>2]=0,e[c+8>>2]=0,e[c+12>>2]=0,w=7}while(0);e:do if((w|0)==7){e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],l=gA(r,t,i,A)|0;r:do if(!l){if(AW(r)|0&&(e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],s=gA(r,i,t,A)|0,s|0)){l=s;break}do if(o|0){if(l=c2(r)|0,e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],l=gA(l,t,i,A)|0,!l&&(!(AW(r)|0)||(l=c2(r)|0,e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],l=gA(l,i,t,A)|0,!l)))break;yu0(r,l);break r}while(0);w=17;break e}while(0)}while(0);return(w|0)==17&&(o?w=18:l=0),(w|0)==18&&(gu0(r,t,i)|0&&ca(r,2,n,f,1)|0?(l=f,l=Cu0(r,t,i,e[l>>2]|0,e[l+4>>2]|0)|0,_d(r,2,l)):l=0),g=p,l|0}function oW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;i=(e[t>>2]&3|0)==3,l=i?t+-48|0:t,i=i?t:t+48|0,t=e[l+40>>2]|0,s=fo(r,e[i+40>>2]|0)|0,o=r+44|0,Bd(e[o>>2]|0,s+32|0,l),n=r+48|0,Bd(e[n>>2]|0,s+24|0,l),t=fo(r,t)|0,Bd(e[o>>2]|0,t+28|0,i),Bd(e[n>>2]|0,t+20|0,i)}function Bd(r,t,i){r=r|0,t=t|0,i=i|0,f1(r,e[t>>2]|0)|0,oe[e[r>>2]&63](r,i,2)|0,e[t>>2]=ks(r)|0}function R9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=g,g=g+16|0,n=i,t=(e[t>>2]&3|0)==2?t:t+-48|0,o=e[t>>2]&3,l=e[((o|0)==3?t:t+48|0)+40>>2]|0,o=e[((o|0)==2?t:t+-48|0)+40>>2]|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],gA(r,l,o,n)|0?((c2(r)|0)==(r|0)&&(C[r+24>>0]&64&&ku0(t),zd(r,t),N9(t),l=t+8|0,Sd(r,2,e[l>>2]|0,e[l+4>>2]|0)),Af(r,t,58,0,0)|0?t=-1:((c2(r)|0)==(r|0)&&_n(r,t),t=0)):t=-1,g=i,t|0}function gs(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,n=s,o=ft(r,e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0,i)|0,l=ft(r,e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,i)|0;do if((o|0)!=0&(l|0)!=0){if(e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],n=gA(r,o,l,n)|0,o=(n|0)==0,(i|0)!=0&o)L9(r,t),n=t;else if(o)break;return i=e[n>>2]&3,g=s,((i|0)==(e[t>>2]&3|0)?n:n+(((i|0)==3?-1:1)*48|0)|0)|0}while(0);return g=s,0}function Eu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=t+8|0,n=i+8|0,n=Pl(e[t>>2]|0,e[t+4>>2]|0,e[n>>2]|0,e[n+4>>2]|0)|0,(n|0?n>>31|1:0)|0}function w1(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;return l=g,g=g+16|0,o=l,A=Bu0(i)|0,n=ke[e[(e[A>>2]|0)+4>>2]&127](e[A+12>>2]|0,72)|0,e[n>>2]=e[n>>2]&-4,s=n+64|0,e[s>>2]=A,c=n+24|0,t=e[t>>2]|0,e[c>>2]=t,C[c>>0]=t&255|8,e[n+60>>2]=n,i=ke[e[e[A+4>>2]>>2]&127](n,i)|0,e[(e[s>>2]|0)+16>>2]=i,ca(n,0,r,o,1)|0&&(s=o,A=e[s+4>>2]|0,c=n+8|0,e[c>>2]=e[s>>2],e[c+4>>2]=A),c=lW(n)|0,_d(c,0,n),g=l,c|0}function Bu0(r){r=r|0;var t=0,i=0,n=0,o=0;return t=(r|0)!=0,t?(i=e[r>>2]|0,i=i|0?i:18736):i=18736,o=nr[e[i>>2]&63](r)|0,n=ke[e[i+4>>2]&127](o,80)|0,e[n>>2]=i,e[n+12>>2]=o,t?(o=e[r+4>>2]|0,e[n+4>>2]=o|0?o:18612,r=e[r+8>>2]|0,r=r|0?r:18712):(e[n+4>>2]=18612,r=18712),e[n+8>>2]=r,C[n+52>>0]=1,n|0}function lW(r){r=r|0;var t=0,i=0;return e[r+36>>2]=ho(r,18792,e[4589]|0)|0,e[r+40>>2]=ho(r,18756,e[4589]|0)|0,t=(c2(r)|0)==(r|0),e[r+44>>2]=ho(r,t?18404:18440,e[4589]|0)|0,t=(c2(r)|0)==(r|0),e[r+48>>2]=ho(r,t?18476:18512,e[4589]|0)|0,e[r+52>>2]=ho(r,18548,e[4589]|0)|0,t=D1(r)|0,t|0&&(i=Id(t,0)|0,e[r>>2]=e[r>>2]&15|i<<4,i=e[t+52>>2]|0,oe[e[i>>2]&63](i,r,1)|0,!(C[t+24>>0]&64))||bZ(r),Z9(r,r),r|0}function Id(r,t){r=r|0,t=t|0;var i=0;return i=(e[r+64>>2]|0)+24+(t<<3)|0,t=i,t=fr(e[t>>2]|0,e[t+4>>2]|0,1,0)|0,r=b,e[i>>2]=t,e[i+4>>2]=r,b=r,t|0}function Di(r){r=r|0;var t=0,i=0,n=0,o=0;n=D1(r)|0,o=(n|0)==0,o&&(t=r+64|0,(e[(e[e[t>>2]>>2]|0)+16>>2]|0)!=0)?(zd(r,r),o=r+8|0,Sd(r,0,e[o>>2]|0,e[o+4>>2]|0),t=e[t>>2]|0,l2[e[(e[t>>2]|0)+16>>2]&127](e[t+12>>2]|0),t=0):i=4;do if((i|0)==4){for(t=yt(r)|0;t;)i=Ct(t)|0,Di(t)|0,t=i;for(t=U0(r)|0;t;)i=X0(r,t)|0,Ah(r,t)|0,t=i;if(Qu0(r),zd(r,r),!(Es(r,e[r+40>>2]|0)|0)&&!(Es(r,e[r+36>>2]|0)|0)&&!(Es(r,e[r+48>>2]|0)|0)&&!(Es(r,e[r+44>>2]|0)|0)&&!(Es(r,e[r+52>>2]|0)|0)){if(C[r+24>>0]&64&&du0(r)|0){t=-1;break}if(N9(r),i=r+8|0,Sd(r,0,e[i>>2]|0,e[i+4>>2]|0),!o){RW(n,r)|0,_n(n,r),t=0;break}for(t=r+64|0;i=e[t>>2]|0,n=e[i+48>>2]|0,!!n;)ia0(r,e[n>>2]|0)|0;l2[e[(e[i+4>>2]|0)+20>>2]&127](e[i+16>>2]|0),Aa0(r)|0?t=-1:(t=e[t>>2]|0,o=e[t+12>>2]|0,n=(e[t>>2]|0)+12|0,Bt[e[n>>2]&63](o,r),Bt[e[n>>2]&63](o,t),t=0)}else t=-1}while(0);return t|0}function v2(r){return r=r|0,sn(e[r+40>>2]|0)|0}function ys(r){r=r|0;var t=0,i=0,n=0;for(t=0,i=U0(r)|0;i;)n=(G9(r,i,0,1)|0)+t|0,t=n,i=X0(r,i)|0;return t|0}function G9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=fo(r,t)|0,o?(n?t=sW(e[r+44>>2]|0,o+32|0)|0:t=0,i&&(t=(sW(e[r+44>>2]|0,o+28|0)|0)+t|0)):t=0,t|0}function sW(r,t){r=r|0,t=t|0;var i=0;return f1(r,e[t>>2]|0)|0,i=sn(r)|0,e[t>>2]=ks(r)|0,i|0}function d1(r){return r=r|0,C[r+24>>0]&1|0}function AW(r){return r=r|0,(d1(r)|0)==0|0}function xd(r){return r=r|0,(s0[r+24>>0]|0)>>>1&1|0}function Iu0(r,t){return r=r|0,t=t|0,r|0}function xu0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,i?(o?r=un(r,i)|0:r=EW(r,i)|0,e[n>>2]=r,e[n+4>>2]=0):(o=1392,i=e[o>>2]|0,o=e[o+4>>2]|0,e[n>>2]=i,e[n+4>>2]=o,o=fr(i|0,o|0,2,0)|0,n=1392,e[n>>2]=o,e[n+4>>2]=b),1}function Su0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,0}function _u0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,(i&1|0)==0&!0&&Ai(r,i)|0}function zu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,((i&1|0)==0&!0?i:0)|0}function Lu0(r){r=r|0}function Ru0(r,t,i){r=r|0,t=t|0,i=i|0}function ca(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;s=(i|0)!=0;do if(s){if((C[i>>0]|0)!=37&&(l=e[r+64>>2]|0,l=ai[e[(e[l+4>>2]|0)+4>>2]&127](e[l+16>>2]|0,t,i,n,o)|0,l|0))break;l=Zu0(r,t,i,n)|0,l||(A=5)}else A=5;while(0);return(A|0)==5&&(o?(l=e[r+64>>2]|0,l=ai[e[(e[l+4>>2]|0)+4>>2]&127](e[l+16>>2]|0,t,0,n,o)|0,s&(l|0)!=0&&(A=n,Wu0(r,t,i,e[A>>2]|0,e[A+4>>2]|0))):l=0),l|0}function Gu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=e[r+64>>2]|0,e2[e[(e[r+4>>2]|0)+8>>2]&127](e[r+16>>2]|0,t,i,n)|0}function Sd(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,aW(r,t,i,n)|0,r=e[r+64>>2]|0,Y1[e[(e[r+4>>2]|0)+12>>2]&31](e[r+16>>2]|0,t,i,n)}function te(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+16|0,l=s,i=We(r)|0,o=r+8|0,t=o,t=ju0(i,e[r>>2]&3,e[t>>2]|0,e[t+4>>2]|0)|0;do if(!t){if(t=e[i+64>>2]|0,i=e[(e[t+4>>2]|0)+16>>2]|0,i|0&&(n=o,n=e2[i&127](e[t+16>>2]|0,e[r>>2]&3,e[n>>2]|0,e[n+4>>2]|0)|0,n|0)){t=n;break}(e[r>>2]&3|0)==2?t=0:(n=e[o>>2]|0,o=e[o+4>>2]|0,e[l>>2]=37,t=l+8|0,e[t>>2]=n,e[t+4>>2]=o,Ke(194773,96456,l)|0,t=194773)}while(0);return g=s,t|0}function _d(r,t,i){r=r|0,t=t|0,i=i|0,r=e[r+64>>2]|0,hr[e[(e[r+4>>2]|0)+24>>2]&127](e[r+16>>2]|0,t,i)}function Zu0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return A=g,g=g+32|0,s=A,t=e[(e[r+64>>2]|0)+56+(((t|0)==3?2:t)<<2)>>2]|0,t|0&&(o=EW(r,i)|0,(o|0)!=0)&&(e[s+24>>2]=o,l=oe[e[t>>2]&63](t,s,4)|0,(l|0)!=0)?(i=l+16|0,s=e[i+4>>2]|0,t=n,e[t>>2]=e[i>>2],e[t+4>>2]=s,t=1):t=0,g=A,t|0}function Wu0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;s=Sn(r,32)|0,l=s+16|0,e[l>>2]=n,e[l+4>>2]=o,e[s+24>>2]=un(r,i)|0,n=(t|0)==3?2:t,l=r+64|0,i=e[l>>2]|0,t=e[i+56+(n<<2)>>2]|0,t?(o=t,t=i):(o=ho(r,18640,e[4589]|0)|0,e[(e[l>>2]|0)+56+(n<<2)>>2]=o,t=e[l>>2]|0),t=e[t+68+(n<<2)>>2]|0,t||(t=ho(r,18676,e[4589]|0)|0,e[(e[l>>2]|0)+68+(n<<2)>>2]=t),oe[e[o>>2]&63](o,s,1)|0,oe[e[t>>2]&63](t,s,1)|0}function Du0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=t+16|0,t=e[r>>2]|0,r=e[r+4>>2]|0,i=i+16|0,n=e[i>>2]|0,i=e[i+4>>2]|0,(r>>>0>i>>>0|(r|0)==(i|0)&t>>>0>n>>>0?1:(r>>>0>>0|(r|0)==(i|0)&t>>>0>>0)<<31>>31)|0}function Mu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=e[t+24>>2]|0,n=e[i+24>>2]|0,(t>>>0>n>>>0?1:(t>>>0>>0)<<31>>31)|0}function ju0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=uW(r,t,i,n)|0,r?r=e[r+24>>2]|0:r=0,r|0}function uW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=g,g=g+32|0,o=l,r=e[(e[r+64>>2]|0)+68+(((t|0)==3?2:t)<<2)>>2]|0,r?(t=o+16|0,e[t>>2]=i,e[t+4>>2]=n,r=oe[e[r>>2]&63](r,o,4)|0):r=0,g=l,r|0}function aW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=(t|0)==3?2:t,t=uW(r,o,i,n)|0,t?(n=r+64|0,i=e[(e[n>>2]|0)+56+(o<<2)>>2]|0,oe[e[i>>2]&63](i,t,2)|0,n=e[(e[n>>2]|0)+68+(o<<2)>>2]|0,oe[e[n>>2]&63](n,t,2)|0,Ai(r,e[t+24>>2]|0)|0,_n(r,t),t=1):t=0,t|0}function Nu0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(e[46942]=r,o=e[r+64>>2]|0,n=0;(n|0)!=3;){l=o+56+(n<<2)|0,t=e[l>>2]|0;e:do if(t|0)for(t=oe[e[t>>2]&63](t,0,128)|0;;){if(!t)break e;if(i=e[l>>2]|0,i=oe[e[i>>2]&63](i,t,8)|0,(C[e[t+24>>2]>>0]|0)!=37){t=i;continue}s=t+16|0,aW(r,n,e[s>>2]|0,e[s+4>>2]|0)|0,t=i}while(0);n=n+1|0}}function Qu0(r){r=r|0,e[46942]=r,r=r+64|0,cW((e[r>>2]|0)+56|0),cW((e[r>>2]|0)+68|0)}function cW(r){r=r|0;var t=0,i=0,n=0;for(t=0;(t|0)!=3;)i=r+(t<<2)|0,n=e[i>>2]|0,n|0&&(Fr(n)|0,e[i>>2]=0),t=t+1|0}function Tu0(r,t,i){return r=r|0,t=t|0,i=i|0,tu(t,i,r)|0?r=d2(t)|0:r=0,r|0}function Fu0(r,t){return r=r|0,t=t|0,Bi(t,r)|0}function Pu0(r){return r=r|0,jk(r)|0}function Yu0(r){r=r|0;var t=0,i=0,n=0;return t=g,g=g+32|0,n=t+12|0,i=t,e[4682]=e[4679],e[4683]=e[4680],e[n>>2]=r,e[n+4>>2]=d2(r)|0,e[n+8>>2]=0,e[i>>2]=18736,e[i+4>>2]=18612,e[i+8>>2]=18724,r=X9(n,i)|0,fa0(0),g=t,r|0}function Vu0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;if(i|0&&(l=r+8|0,n=e[l>>2]|0,(n|0)<(e[r+4>>2]|0))){for(s=(e[r>>2]|0)+n|0,r=0,o=C[s>>0]|0,n=t,t=s;t=t+1|0,C[n>>0]=o,r=r+1|0,!!(o<<24>>24!=10&(r|0)<(i|0));)if(o=C[t>>0]|0,o<<24>>24)n=n+1|0;else break;e[l>>2]=(e[l>>2]|0)+r}else r=0;return r|0}function Ou0(r){return r=r|0,0}function Hu0(r,t){return r=r|0,t=t|0,r=Te(t)|0,qr(r|0,0,t|0)|0,r|0}function Ju0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=V2(t,n)|0,n>>>0>i>>>0&&qr(r+i|0,0,n-i|0)|0,r|0}function Uu0(r,t){r=r|0,t=t|0,r0(t)}function Sn(r,t){r=r|0,t=t|0;var i=0;return i=g,g=g+16|0,r=e[r+64>>2]|0,r=ke[e[(e[r>>2]|0)+4>>2]&127](e[r+12>>2]|0,t)|0,r||$0(1,96462,i)|0,g=i,r|0}function _n(r,t){r=r|0,t=t|0,t|0&&(r=e[r+64>>2]|0,Bt[e[(e[r>>2]|0)+12>>2]&63](e[r+12>>2]|0,t))}function Xu0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=(e[t+16>>2]|0)+8|0,t=e[r>>2]|0,r=e[r+4>>2]|0,i=(e[i+16>>2]|0)+8|0,n=e[i>>2]|0,i=e[i+4>>2]|0,(r>>>0>>0|(r|0)==(i|0)&t>>>0>>0?-1:(r>>>0>i>>>0|(r|0)==(i|0)&t>>>0>n>>>0)&1)|0}function qu0(r,t,i){r=r|0,t=t|0,i=i|0,r=e[t+16>>2]|0,(r+28|0)!=(t|0)&&_n(e[r+24>>2]|0,t)}function $u0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,t=(e[e[t+16>>2]>>2]|0)>>>4,n=(e[e[i+16>>2]>>2]|0)>>>4,(t>>>0>>0?-1:t>>>0>n>>>0&1)|0}function of(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=186256,e[n>>2]=t,e[n+4>>2]=i,e[46947]=186248,r=e[r+40>>2]|0,r=oe[e[r>>2]&63](r,187772,4)|0,r?r=e[r+16>>2]|0:r=0,r|0}function U0(r){return r=r|0,r=e[r+36>>2]|0,r=oe[e[r>>2]&63](r,0,128)|0,r?r=e[r+16>>2]|0:r=0,r|0}function X0(r,t){r=r|0,t=t|0;var i=0;return t=fo(r,t)|0,t|0&&(i=e[r+36>>2]|0,i=oe[e[i>>2]&63](i,t,8)|0,(i|0)!=0)?t=e[i+16>>2]|0:t=0,t|0}function Ku0(r){return r=r|0,r=e[r+36>>2]|0,r=oe[e[r>>2]&63](r,0,256)|0,r?r=e[r+16>>2]|0:r=0,r|0}function bu0(r,t){r=r|0,t=t|0;var i=0;return t=fo(r,t)|0,t|0&&(i=e[r+36>>2]|0,i=oe[e[i>>2]&63](i,t,16)|0,(i|0)!=0)?t=e[i+16>>2]|0:t=0,t|0}function ea0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=of(r,t,i)|0;do if((n|0)!=0&(o|0)==0){if(o=c2(r)|0,(o|0)!=(r|0)&&(l=of(o,t,i)|0,l|0)){ft(r,l,1)|0,o=l;break}Gu0(r,1,t,i)|0?(o=Id(r,1)|0,o=fW(r,t,i,o,b)|0,hW(r,o),wW(r,o)):o=0}while(0);return o|0}function ft(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;if(n=c2(r)|0,(n|0)==(e[t+24>>2]|0)){if(n=t+8|0,n=of(r,e[n>>2]|0,e[n+4>>2]|0)|0,(i|0)!=0&(n|0)==0)if(n=D1(r)|0,!n)n=0;else return i=ft(n,t,i)|0,dW(r,i),i|0}else n=0;return n|0}function fW(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;return o=Sn(r,64)|0,l=e[o>>2]|0,s=o+8|0,e[s>>2]=t,e[s+4>>2]=i,e[o>>2]=l&12|n<<4|1,e[o+24>>2]=c2(r)|0,C[(c2(r)|0)+24>>0]&64&&$e(o,96404,16,0)|0,o|0}function hW(r,t){r=r|0,t=t|0;do dW(r,t),r=D1(r)|0;while(r|0)}function wW(r,t){r=r|0,t=t|0,C[(c2(r)|0)+24>>0]&64&&eW(r,t),Z9(r,t)}function dW(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+40|0,sn(e[n>>2]|0)|0,(c2(r)|0)==(r|0)?i=t+28|0:i=Sn(r,36)|0,e[i+16>>2]=t,n=e[n>>2]|0,oe[e[n>>2]&63](n,i,1)|0,n=e[r+36>>2]|0,oe[e[n>>2]&63](n,i,1)|0}function ht(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;return c=g,g=g+16|0,l=c,s=c2(r)|0,ca(r,1,t,l,0)|0?(n=l,n=of(r,e[n>>2]|0,e[n+4>>2]|0)|0,n||(!((i|0)==0|(s|0)==(r|0))&&(o=l,o=of(s,e[o>>2]|0,e[o+4>>2]|0)|0,(o|0)!=0)?n=ft(r,o,1)|0:A=6)):A=6,(A|0)==6&&(i|0&&ca(r,1,t,l,1)|0?(A=l,s=e[A>>2]|0,A=e[A+4>>2]|0,n=Id(r,1)|0,n=fW(r,s,A,n,b)|0,hW(r,n),wW(r,n),_d(r,1,n)):n=0),g=c,n|0}function ra0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(e[46956]=t,i=Xr(r,t)|0;i;)n=ot(r,i,t)|0,oW(r,i,0),i=n;n=e[r+40>>2]|0,oe[e[n>>2]&63](n,187808,2)|0,n=e[r+36>>2]|0,oe[e[n>>2]&63](n,187808,2)|0}function Ah(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;if(n=t+8|0,i=n,of(r,e[i>>2]|0,e[i+4>>2]|0)|0){if((c2(r)|0)==(r|0)){for(i=Xr(r,t)|0;i;)o=ot(r,i,t)|0,R9(r,i)|0,i=o;C[r+24>>0]&64&&pu0(t),zd(r,t),N9(t),o=n,Sd(r,1,e[o>>2]|0,e[o+4>>2]|0)}Af(r,t,59,0,0)|0?i=-1:((c2(r)|0)==(r|0)&&_n(r,t),i=0)}else i=-1;return i|0}function zn(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;s=g,g=g+16|0,n=s,i=e[t>>2]|0;do if(i&3)l=5;else if((D1(t)|0)==(r|0)){i=e[t>>2]|0,l=5;break}else{$0(1,96488,n)|0,o=-1;break}while(0);e:do if((l|0)==5)switch(i&3){case 1:{o=Ah(r,t)|0;break e}case 2:case 3:{o=R9(r,t)|0;break e}case 0:{o=Di(t)|0;break e}default:}while(0);return g=s,o|0}function We(r){r=r|0;var t=0;switch(e[r>>2]&3){case 2:case 3:{t=e[(e[r+40>>2]|0)+24>>2]|0;break}case 1:{t=e[r+24>>2]|0;break}case 0:{t=r;break}default:}return t|0}function c2(r){r=r|0;var t=0;switch(e[r>>2]&3){case 2:case 3:{t=(e[r+40>>2]|0)+24|0;break}case 1:{t=r+24|0;break}case 0:{t=r+60|0;break}default:}return e[t>>2]|0}function Z9(r,t){r=r|0,t=t|0;var i=0;i=e[r+64>>2]|0,C[i+52>>0]|0?pW(r,t,e[i+48>>2]|0):W9(r,t,100,0)}function pW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do if(i|0){switch(pW(r,t,e[i+8>>2]|0),e[t>>2]&3){case 0:{n=e[i>>2]|0;break}case 1:{n=(e[i>>2]|0)+12|0;break}case 2:{n=(e[i>>2]|0)+24|0;break}default:break e}n=e[n>>2]|0,n|0&&hr[n&127](r,t,e[i+4>>2]|0)}while(0)}function kW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=e[r+64>>2]|0,C[n+52>>0]|0?vW(r,t,i,e[n+48>>2]|0):W9(r,t,101,i)}function vW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;e:do if(n|0){switch(vW(r,t,i,e[n+8>>2]|0),e[t>>2]&3){case 0:{o=(e[n>>2]|0)+4|0;break}case 1:{o=(e[n>>2]|0)+16|0;break}case 2:{o=(e[n>>2]|0)+28|0;break}default:break e}o=e[o>>2]|0,o|0&&Y1[o&31](r,t,e[n+4>>2]|0,i)}while(0)}function zd(r,t){r=r|0,t=t|0;var i=0;i=e[r+64>>2]|0,C[i+52>>0]|0?mW(r,t,e[i+48>>2]|0):W9(r,t,102,0)}function mW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do if(i|0){switch(mW(r,t,e[i+8>>2]|0),e[t>>2]&3){case 0:{n=(e[i>>2]|0)+8|0;break}case 1:{n=(e[i>>2]|0)+20|0;break}case 2:{n=(e[i>>2]|0)+32|0;break}default:break e}n=e[n>>2]|0,n|0&&hr[n&127](r,t,e[i+4>>2]|0)}while(0)}function ta0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=Sn(r,12)|0,e[n>>2]=t,e[n+4>>2]=i,i=(e[r+64>>2]|0)+48|0,e[n+8>>2]=e[i>>2],e[i>>2]=n}function ia0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=(e[r+64>>2]|0)+48|0,i=e[n>>2]|0;e:do if(!i)i=-1;else{if((e[i>>2]|0)!=(t|0)){for(;;){if(!i){i=-1;break e}if(n=i+8|0,o=e[n>>2]|0,(e[o>>2]|0)==(t|0))break;i=o}o&&(e[n>>2]=e[o+8>>2])}else e[n>>2]=e[i+8>>2];_n(r,i),i=0}while(0);return i|0}function Mi(r,t){r=r|0,t=t|0;var i=0;i=c2(r)|0;e:do if((i|0)==(c2(t)|0))switch(e[t>>2]&3){case 0:{for(;;){if((t|0)==(r|0)){t=1;break e}if(t=D1(t)|0,!t){t=0;break}}break}case 1:{t=t+8|0,t=(ea0(r,e[t>>2]|0,e[t+4>>2]|0,0)|0)!=0;break e}default:{t=(gs(r,t,0)|0)!=0;break e}}else t=0;while(0);return t&1|0}function qo(r){return r=r|0,e[r>>2]&3|0}function W9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;switch(A=g,g=g+16|0,s=A,l=$e(r,96512,44,0)|0,i|0){case 100:{o=fa(l,t,100)|0,lf(o,t)|0||D9(o,r,t,n)|0;break}case 101:{!(lf(fa(l,t,100)|0,t)|0)&&!(lf(fa(l,t,102)|0,t)|0)&&(o=fa(l,t,101)|0,(lf(o,t)|0)==0)&&D9(o,r,t,n)|0;break}case 102:{gW(fa(l,t,100)|0,t),gW(fa(l,t,101)|0,t),o=fa(l,t,102)|0,lf(o,t)|0||D9(o,r,t,n)|0;break}default:$0(1,96524,s)|0}g=A}function fa(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+16|0,n=l;e:do switch(e[t>>2]&3){case 0:switch(i|0){case 100:{i=r+8|0;break e}case 101:{i=r+20|0;break e}case 102:{i=r+32|0;break e}default:{o=14;break e}}case 1:switch(i|0){case 100:{i=r+12|0;break e}case 101:{i=r+24|0;break e}case 102:{i=r+36|0;break e}default:{o=14;break e}}case 2:switch(i|0){case 100:{i=r+16|0;break e}case 101:{i=r+28|0;break e}case 102:{i=r+40|0;break e}default:{o=14;break e}}default:o=14}while(0);return(o|0)==14&&($0(1,96558,n)|0,i=0),r=e[i>>2]|0,r||(r=We(t)|0,r=ho(r,18828,e[4589]|0)|0,e[i>>2]=r),g=l,r|0}function lf(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+32|0,n=i,o=yW(t)|0,t=n+8|0,e[t>>2]=o,e[t+4>>2]=b,t=oe[e[r>>2]&63](r,n,4)|0,g=i,t|0}function D9(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=Sn(We(i)|0,32)|0,e[o+20>>2]=i,l=yW(i)|0,i=o+8|0,e[i>>2]=l,e[i+4>>2]=b,e[o+16>>2]=t,n|0&&(l=Sn(t,8)|0,e[o+24>>2]=l,e[l>>2]=n),oe[e[r>>2]&63](r,o,1)|0,o|0}function gW(r,t){r=r|0,t=t|0,t=lf(r,t)|0,t|0&&oe[e[r>>2]&63](r,t,2)|0}function yW(r){return r=r|0,r=r+8|0,b=e[r+4>>2]|0,e[r>>2]|0}function na0(r,t,i){r=r|0,t=t|0,i=i|0,oa0(t),_n(e[t+16>>2]|0,t)}function oa0(r){r=r|0;var t=0,i=0;for(t=r+16|0,r=e[r+24>>2]|0;r;)i=e[r+4>>2]|0,_n(e[t>>2]|0,r),r=i}function lt(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;for(c=g,g=g+16|0,s=c,l=e[r+16>>2]|0,n=l;;){if(!n){n=0;break}if(o=e[n>>2]|0,(o|0)==(t|0)){A=7;break}if((C[t>>0]|0)==(C[o>>0]|0)&&!(ge(t,o)|0)){A=7;break}if(n=e[n+4>>2]|0,(n|0)==(l|0)){n=0;break}}do if((A|0)==7){if(!(e[r>>2]&4)){if((n|0)==(l|0)&(i|0)==0){n=l;break}M9(r,n,i);break}i&&((l|0)==(n|0)?n=l:$0(1,96583,s)|0)}while(0);return g=c,n|0}function M9(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e[r+16>>2]=t,n=e[r>>2]|0,i=i<<2&4,e[r>>2]=n&-5|i,n&2|0&&(n=(n&3|0)==3?-1:1,e[r+(n*48|0)+16>>2]=t,n=r+(n*48|0)|0,e[n>>2]=e[n>>2]&-5|i)}function $e(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;s=We(r)|0,o=lt(r,t,0)|0;e:do if((i|0)!=0&(o|0)==0)switch(i=Sn(s,i)|0,e[i>>2]=un(s,t)|0,e[r>>2]&3){case 0:{j9(r,i),l=i;break e}case 1:{j9(r,i),l=i;break e}case 2:case 3:{j9(r,i),l=i;break e}default:}else l=o;while(0);return n|0&<(r,t,1)|0,l|0}function j9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[r+16>>2]|0;do if(i)if(n=i+4|0,o=e[n>>2]|0,(o|0)==(i|0)){e[n>>2]=t,n=i,i=t;break}else{e[t+4>>2]=o,n=t;break}else n=t,i=t;while(0);e[i+4>>2]=n,e[r>>2]&4||M9(r,t,0)}function An(r,t){r=r|0,t=t|0;var i=0,n=0;return n=We(r)|0,i=lt(r,t,0)|0,i?(la0(r,i),e[r>>2]&3?(Af(c2(n)|0,r,60,i,0)|0,t=i):(CW(n,r,i),t=i),Ai(n,e[i>>2]|0)|0,_n(n,t),t=0):t=-1,t|0}function la0(r,t){r=r|0,t=t|0;var i=0;r=e[r+16>>2]|0;do i=r+4|0,r=e[i>>2]|0;while((r|0)!=(t|0));e[i>>2]=e[t+4>>2]}function CW(r,t,i){r=r|0,t=t|0,i=i|0,(e[t+16>>2]|0)==(i|0)&&(r=e[i+4>>2]|0,M9(t,(r|0)==(i|0)?0:r,0))}function Ll(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;l=(n|0)>-1,s=l?n:0-n|0;e:do switch(t|0){case 0:{if($e(r,i,s,o)|0,!l)for(t=yt(r)|0;;){if(!t)break e;Ll(t,0,i,n,o),t=Ct(t)|0}break}case 3:case 2:case 1:for(n=(t|0)==1,t=U0(r)|0;;){if(!t)break e;r:do if(n)$e(t,i,s,o)|0;else for(l=Me(r,t)|0;;){if(!l)break r;$e(l,i,s,o)|0,l=Qe(r,l)|0}while(0);t=X0(r,t)|0}default:}while(0)}function ha(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;e:do switch(t|0){case 0:{Af(r,r,61,i,1)|0;break}case 3:case 2:case 1:for(o=(t|0)==1,n=U0(r)|0;;){if(!n)break e;r:do if(o)An(n,i)|0;else for(t=Me(r,n)|0;;){if(!t)break r;An(t,i)|0,t=Qe(r,t)|0}while(0);n=X0(r,n)|0}default:}while(0)}function sa0(r,t,i){r=r|0,t=t|0,i=i|0,An(t,i)|0}function N9(r){r=r|0;var t=0,i=0,n=0;if(i=We(r)|0,t=r+16|0,r=e[t>>2]|0,r|0)do n=r,r=e[r+4>>2]|0,Ai(i,e[n>>2]|0)|0,_n(i,n);while((r|0)!=(e[t>>2]|0));e[t>>2]=0}function Aa0(r){return r=r|0,Es(r,uh(r)|0)|0}function uh(r){r=r|0;var t=0,i=0;return r?i=(e[r+64>>2]|0)+20|0:i=187844,t=e[i>>2]|0,t||(t=ho(r,18864,e[4589]|0)|0,e[i>>2]=t,r=186312,e[r>>2]=-2147483648,e[r+4>>2]=0,r=186320,e[r>>2]=2147483647,e[r+4>>2]=-1),t|0}function EW(r,t){return r=r|0,t=t|0,ua0(uh(r)|0,t)|0}function ua0(r,t){return r=r|0,t=t|0,r=Ld(r,t)|0,r?r=e[r+16>>2]|0:r=0,r|0}function Ld(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+32|0,n=i,e[n+16>>2]=t,t=oe[e[r>>2]&63](r,n,4)|0,g=i,t|0}function un(r,t){r=r|0,t=t|0;var i=0,n=0;return t?(n=uh(r)|0,i=Ld(n,t)|0,i?(n=i+8|0,t=n,t=fr(e[t>>2]|0,e[t+4>>2]|0,1,0)|0,e[n>>2]=t,e[n+4>>2]=b):(i=(d2(t)|0)+24|0,r?i=Sn(r,i)|0:i=Te(i)|0,r=i+8|0,e[r>>2]=1,e[r+4>>2]=0,r=i+20|0,yo(r,t)|0,e[i+16>>2]=r,oe[e[n>>2]&63](n,i,1)|0),i=e[i+16>>2]|0):i=0,i|0}function aa0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return t?(n=uh(r)|0,i=Ld(n,t)|0,i?(l=i+8|0,o=l,o=fr(e[o>>2]|0,e[o+4>>2]|0,1,0)|0,e[l>>2]=o,e[l+4>>2]=b):(i=(d2(t)|0)+24|0,r?i=Sn(r,i)|0:i=Te(i)|0,l=186312,o=e[l+4>>2]|0,r=i+8|0,e[r>>2]=e[l>>2]|1,e[r+4>>2]=o,r=i+20|0,yo(r,t)|0,e[i+16>>2]=r,oe[e[n>>2]&63](n,i,1)|0),i=e[i+16>>2]|0):i=0,i|0}function Ai(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return t|0&&(i=uh(r)|0,n=Ld(i,t)|0,(n|0)!=0)?((e[n+16>>2]|0)==(t|0)&&(t=n+8|0,l=t,l=fr(e[l>>2]|0,e[l+4>>2]|0,-1,-1)|0,o=b,e[t>>2]=l,e[t+4>>2]=o,t=186320,(l|0)==0&(o|0)==0|(e[t>>2]|0)==0&(e[t+4>>2]|0)==0)&&La0(r,i,n)|0,r=0):r=-1,r|0}function Rl(r){r=r|0;var t=0;return r?(r=r+-12|0,t=186312,r=e[t>>2]&e[r>>2]):r=0,r|0}function ca0(r){r=r|0;var t=0,i=0,n=0;r|0&&(i=186312,r=r+-12|0,n=r,t=e[n+4>>2]|e[i+4>>2],e[r>>2]=e[n>>2]|e[i>>2],e[r+4>>2]=t)}function fa0(r){r=r|0,e[46966]=r,e[4725]=1}function ha0(r,t){r=r|0,t=t|0,e[46967]=r,e[46968]=t,e[46969]=0}function wa0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;e[46970]|0||(e[46970]=1,e[46971]|0||(e[46971]=1),e[46962]|0||(e[46962]=e[15647]),e[46963]|0||(e[46963]=e[15679]),s=e[46972]|0,s|0&&e[s>>2]|0||(BW(),s=IW(e[46962]|0,16384)|0,e[e[46972]>>2]=s),Q9());e:for(;;){l=e[46973]|0,C[l>>0]=C[194805]|0,r=(e[(e[e[46972]>>2]|0)+28>>2]|0)+(e[46971]|0)|0,t=l;r:for(;;){for(n=t;;){t=e[18904+(s0[n>>0]<<2)>>2]|0,$[63856+(r<<1)>>1]|0&&(e[46974]=r,e[46975]=n);t:for(;;){i=t&255;do{if(t=i+($[64042+(r<<1)>>1]|0)|0,(r|0)==($[64252+(t<<1)>>1]|0))break t;s=$[64788+(r<<1)>>1]|0,r=s<<16>>16}while(s<<16>>16<=92);t=e[19928+(i<<2)>>2]|0}if(r=$[64998+(t<<1)>>1]|0,t=n+1|0,($[64042+(r<<1)>>1]|0)==219)break;n=t}t:for(;;){s=l;i:for(;;){r=$[63856+(r<<1)>>1]|0,r<<16>>16?r=r<<16>>16:(r=$[63856+(e[46974]<<1)>>1]|0,t=e[46975]|0),e[46964]=l,o=t,e[46965]=o-s,C[194805]=C[t>>0]|0,C[t>>0]=0,e[46973]=t;n:for(;;){switch(r|0){case 1:{c=27;break e}case 12:{c=53;break e}case 13:{c=55;break e}case 14:{c=57;break e}case 15:{c=61;break e}case 16:{c=65;break e}case 17:{c=67;break e}case 18:{c=69;break e}case 19:{c=72;break e}case 20:{c=75;break e}case 21:{c=78;break e}case 23:{c=86;break e}case 33:{c=118;break e}case 39:case 38:case 37:case 36:{A=0;break e}case 2:{c=29;break r}case 3:{c=32;break r}case 4:{c=35;break r}case 5:{c=37;break r}case 6:{c=39;break r}case 7:{c=42;break r}case 8:{c=44;break r}case 9:{c=47;break r}case 10:{c=49;break r}case 11:{c=51;break r}case 22:{c=83;break r}case 24:{c=89;break r}case 25:{c=92;break r}case 26:{c=95;break r}case 27:{c=98;break r}case 28:{c=101;break r}case 29:{c=104;break r}case 30:{c=109;break r}case 31:{c=112;break r}case 32:{c=115;break r}case 34:{c=121;break r}case 0:break n;case 35:break;default:{c=134;break e}}if(n=e[46964]|0,C[t>>0]=C[194805]|0,r=e[46972]|0,i=e[r>>2]|0,e[i+44>>2]|0?r=e[46977]|0:(f=e[i+16>>2]|0,e[46977]=f,e[i>>2]=e[46962],i=e[r>>2]|0,e[i+44>>2]=1,r=f),(e[46973]|0)>>>0<=((e[i+4>>2]|0)+r|0)>>>0){c=128;break i}switch(ga0()|0){case 0:{c=132;break t}case 2:{c=133;break i}case 1:break;default:continue e}e[46973]=e[46964],r=(((e[46971]|0)+-1|0)/2|0)+36|0}C[t>>0]=C[194805]|0,t=e[46975]|0,r=e[46974]|0}if((c|0)==128)if(c=0,i=o-n|0,n=e[46964]|0,t=n+(i+-1)|0,e[46973]=t,r=T9()|0,o=ma0(r)|0,l=e[46964]|0,o){c=129;break}else continue;else if((c|0)==133){c=0,t=(e[(e[e[46972]>>2]|0)+4>>2]|0)+(e[46977]|0)|0,e[46973]=t,r=T9()|0,l=e[46964]|0;continue}}if((c|0)==129){c=0,t=n+i|0,e[46973]=t,r=o;continue}else if((c|0)==132){c=0,t=(e[46964]|0)+(o-n+-1)|0,e[46973]=t,r=T9()|0,l=e[46964]|0;continue}}switch(c|0){case 29:{c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[4725]=(e[4725]|0)+1;continue e}case 32:{c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=3;continue e}case 35:{if(c=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 37:{if(c=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 39:{c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=1;continue e}case 42:{if(c=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 44:{c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),da0();continue e}case 47:{if(c=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 49:{if(c=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 51:{if(c=0,r=e[46965]|0,!r)continue e;e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1;continue e}case 83:{c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=5,xW();continue e}case 89:{c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),wa(98744);continue e}case 92:{c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),wa(96616);continue e}case 95:{c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[4725]=(e[4725]|0)+1;continue e}case 98:{c=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[r+(t+-1)>>0]|0)==10&1),wa(r);continue e}case 101:{c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=7,e[46976]=1,xW();continue e}case 104:{if(c=0,r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),f=(e[46976]|0)+-1|0,e[46976]=f,!f){c=108;break e}wa(e[46964]|0);continue e}case 109:{c=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[r+(t+-1)>>0]|0)==10&1),e[46976]=(e[46976]|0)+1,wa(r);continue e}case 112:{c=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[r+(t+-1)>>0]|0)==10&1),wa(r),e[4725]=(e[4725]|0)+1;continue e}case 115:{c=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[r+(t+-1)>>0]|0)==10&1),wa(r);continue e}case 121:{c=0,t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[r+(t+-1)>>0]|0)==10&1),fn(r,t,1,e[46963]|0)|0;continue e}}}switch(c|0){case 27:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=-1;break}case 53:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=259;break}case 55:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=260;break}case 57:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46969]|0||(e[46969]=258),A=258;break}case 61:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46969]|0||(e[46969]=261),A=261;break}case 65:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=263;break}case 67:{r=e[46965]|0,r&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=262;break}case 69:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=(e[46969]|0)==261?264:45;break}case 72:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),A=(e[46969]|0)==258?264:45;break}case 75:{t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[r+(t+-1)>>0]|0)==10&1),e[46992]=un(e[46942]|0,r)|0,A=267;break}case 78:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),pa0()|0&&(c=(e[46965]|0)+-1|0,C[t>>0]=C[194805]|0,f=l+c|0,e[46973]=f,e[46964]=l,e[46965]=c,C[194805]=C[f>>0]|0,C[f>>0]=0,e[46973]=f),e[46992]=un(e[46942]|0,e[46964]|0)|0,A=267;break}case 86:{r=e[46965]|0,r|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[(e[46964]|0)+(r+-1)>>0]|0)==10&1),e[46971]=1,ka0(),A=268;break}case 108:{e[46971]=1,va0(),A=268;break}case 118:{t=e[46965]|0,r=e[46964]|0,t|0&&(e[(e[e[46972]>>2]|0)+28>>2]=(C[r+(t+-1)>>0]|0)==10&1),A=C[r>>0]|0;break}case 134:{Cs(96619);break}}return A|0}function BW(){var r=0,t=0,i=0;t=e[46972]|0;do if(t){if(r=e[46983]|0,0>=(r+-1|0)>>>0)if(r=r+8|0,t=F9(t,r<<2)|0,e[46972]=t,!t)Cs(96977);else{i=t+(e[46983]<<2)|0,e[i>>2]=0,e[i+4>>2]=0,e[i+8>>2]=0,e[i+12>>2]=0,e[i+16>>2]=0,e[i+20>>2]=0,e[i+24>>2]=0,e[i+28>>2]=0,i=9;break}}else if(r=P9(4)|0,e[46972]=r,!r)Cs(96977);else{e[r>>2]=0,r=1,i=9;break}while(0);(i|0)==9&&(e[46983]=r)}function IW(r,t){r=r|0,t=t|0;var i=0;if(i=P9(48)|0,i||Cs(96932),e[i+12>>2]=t,t=P9(t+2|0)|0,e[i+4>>2]=t,!t)Cs(96932);else return e[i+20>>2]=1,SW(i,r),i|0;return 0}function Q9(){var r=0,t=0;t=e[46972]|0,r=e[t>>2]|0,e[46977]=e[r+16>>2],r=e[r+8>>2]|0,e[46973]=r,e[46964]=r,e[46962]=e[e[t>>2]>>2],C[194805]=C[r>>0]|0}function da0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0;if(o=g,g=g+32|0,n=o,t=o+16|0,i=o+12|0,l=e[46964]|0,r=l+1|0,s=(Yr(r,96916,4)|0)==0,r=s?l+5|0:r,e[n>>2]=i,e[n+4>>2]=o+20,e[n+8>>2]=t,n=X2(r,96921,n)|0,(n|0)>0&&(e[4725]=(e[i>>2]|0)+-1,(n|0)!=1)){t=r+(e[t>>2]|0)|0,r=t;e:for(;;){switch(i=C[r>>0]|0,i<<24>>24){case 0:case 34:break e;default:}r=r+1|0}(r|0)!=(t|0)&i<<24>>24==34&&(C[r>>0]=0,Ea0(t,r-t|0))}g=o}function pa0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;return A=g,g=g+2080|0,s=A+8|0,n=A,r=A+1056|0,t=A+32|0,l=A+16|0,c=C[(e[46964]|0)+((e[46965]|0)+-1)>>0]|0,i=c<<24>>24==46,i|((c&255)+-48|0)>>>0<10?i&&Ca0()|0?o=4:r=0:o=4,(o|0)==4&&(c=e[46966]|0,Vt(l,1024,r),t2(l,96827)|0,t2(l,e[46964]|0)|0,e[n>>2]=e[4725],Ke(t,96871,n)|0,t2(l,t)|0,t2(l,c|0?c:96821)|0,t2(l,96888)|0,t=l+4|0,r=e[t>>2]|0,r>>>0>=(e[l+8>>2]|0)>>>0&&(Xe(l,1)|0,r=e[t>>2]|0),C[r>>0]=0,r=e[l>>2]|0,e[t>>2]=r,e[s>>2]=r,$0(0,96913,s)|0,Ot(l),r=1),g=A,r|0}function xW(){var r=0;r=e[46978]|0,r||(r=Te(1024)|0,e[46978]=r,e[46980]=r+1024),e[46979]=r,C[r>>0]=0}function ka0(){e[46992]=un(e[46942]|0,e[46978]|0)|0,C[e[46978]>>0]=0}function wa(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;i=e[46979]|0,t=e[46978]|0,i>>>0>t>>>0&&(i=i+-1|0,n=3);e:for(;;){(n|0)==3&&(e[46979]=i),n=e[46980]|0,o=n;do if(l=r,r=r+1|0,l=C[l>>0]|0,s=i,i=i+1|0,C[s>>0]=l,!(l<<24>>24))break e;while(i>>>0>>0);e[46979]=i,n=t,s=o-n<<1,t=V2(t,s)|0,e[46978]=t,e[46980]=t+s,i=t+(i-n)|0,n=3}e[46979]=i}function va0(){e[46992]=aa0(e[46942]|0,e[46978]|0)|0,C[e[46978]>>0]=0}function T9(){var r=0,t=0,i=0,n=0,o=0;for(o=e[46973]|0,n=e[46964]|0,t=(e[(e[e[46972]>>2]|0)+28>>2]|0)+(e[46971]|0)|0;!(n>>>0>=o>>>0);){r=C[n>>0]|0,r<<24>>24?r=e[18904+((r&255)<<2)>>2]|0:r=1,$[63856+(t<<1)>>1]|0&&(e[46974]=t,e[46975]=n);e:for(;;){i=r&255;do{if(r=i+($[64042+(t<<1)>>1]|0)|0,(t|0)==($[64252+(r<<1)>>1]|0))break e;r=$[64788+(t<<1)>>1]|0,t=r<<16>>16}while(r<<16>>16<=92);r=e[19928+(i<<2)>>2]|0}n=n+1|0,t=$[64998+(r<<1)>>1]|0}return t|0}function ma0(r){r=r|0;var t=0;for($[63856+(r<<1)>>1]|0&&(t=e[46973]|0,e[46974]=r,e[46975]=t);t=($[64042+(r<<1)>>1]|0)+1|0,(r|0)!=($[64252+(t<<1)>>1]|0);)r=$[64788+(r<<1)>>1]|0;return t=$[64998+(t<<1)>>1]|0,(t<<16>>16==92?0:t<<16>>16)|0}function ga0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;if(A=e[46972]|0,o=e[A>>2]|0,s=e[o+4>>2]|0,n=e[46964]|0,f=e[46973]|0,c=f,f>>>0>(s+((e[46977]|0)+1)|0)>>>0&&Cs(96674),l=c-n|0,!(e[o+40>>2]|0))r=(l|0)==1?1:2;else{for(f=l+-1|0,l=s,o=0;!((o|0)>=(f|0));)C[l>>0]=C[n>>0]|0,l=l+1|0,n=n+1|0,o=o+1|0;n=e[A>>2]|0;do if((e[n+44>>2]|0)==2)e[46977]=0,e[n+16>>2]=0,i=n,w=17;else{for(;;){if(s=n+12|0,l=e[s>>2]|0,o=l-f+-1|0,o|0){w=16;break}if(o=n+4|0,A=e[o>>2]|0,!(e[n+20>>2]|0)){w=12;break}if(n=l<<1,n=n|0?n:(l>>>3)+l|0,e[s>>2]=n,n=F9(A,n+2|0)|0,e[o>>2]=n,!n)break;A=n+(c-A)|0,e[46973]=A,n=e[e[46972]>>2]|0,c=A}if((w|0)==12)e[o>>2]=0;else if((w|0)==16)if(t=oe[e[e[(e[46967]|0)+8>>2]>>2]&63](e[46968]|0,(e[n+4>>2]|0)+f|0,o>>>0<8192?o:8192)|0,i=e[e[46972]>>2]|0,e[46977]=t,e[i+16>>2]=t,t){r=0;break}else{w=17;break}Cs(96730)}while(0);do if((w|0)==17)if(f){e[i+44>>2]=2,r=2,t=0;break}else{ya0(e[46962]|0),r=1,t=e[46977]|0,i=e[e[46972]>>2]|0;break}while(0);n=t+f|0;do if(n>>>0>(e[i+12>>2]|0)>>>0)if(w=F9(e[i+4>>2]|0,n+(t>>>1)|0)|0,t=e[46972]|0,e[(e[t>>2]|0)+4>>2]=w,t=e[(e[t>>2]|0)+4>>2]|0,!t)Cs(96774);else{p=e[46977]|0,v=t;break}else p=t,v=e[i+4>>2]|0;while(0);p=p+f|0,e[46977]=p,C[v+p>>0]=0,v=e[46972]|0,C[(e[(e[v>>2]|0)+4>>2]|0)+((e[46977]|0)+1)>>0]=0,e[46964]=e[(e[v>>2]|0)+4>>2]}return r|0}function Cs(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=e[15712]|0,e[t>>2]=r,A2(i,96670,t)|0,Jc(2)}function F9(r,t){return r=r|0,t=t|0,V2(r,t)|0}function ya0(r){r=r|0;var t=0,i=0,n=0;i=e[46972]|0,i|0&&(t=e[i>>2]|0,(t|0)!=0)?n=4:(BW(),t=IW(e[46962]|0,16384)|0,i=e[46972]|0,e[i>>2]=t,i?n=4:t=0),SW(t,r),Q9()}function SW(r,t){r=r|0,t=t|0;var i=0;i=e[(kr()|0)>>2]|0,_W(r),e[r>>2]=t,e[r+40>>2]=1,t=e[46972]|0,t?t=e[t>>2]|0:t=0,(t|0)!=(r|0)&&(e[r+32>>2]=1,e[r+36>>2]=0),e[r+24>>2]=0,e[(kr()|0)>>2]=i}function _W(r){r=r|0;var t=0;r|0&&(e[r+16>>2]=0,t=r+4|0,C[e[t>>2]>>0]=0,C[(e[t>>2]|0)+1>>0]=0,e[r+8>>2]=e[t>>2],e[r+28>>2]=1,e[r+44>>2]=0,t=e[46972]|0,t?t=e[t>>2]|0:t=0,(t|0)==(r|0)&&Q9())}function Ca0(){var r=0,t=0;for(t=e[46964]|0,r=(e[46965]|0)+-2|0;;){if((r|0)<=-1){r=0;break}if((C[t+r>>0]|0)==46){r=1;break}else r=r+-1|0}return r|0}function Ea0(r,t){r=r|0,t=t|0;var i=0;i=e[46981]|0,(i|0)<(t|0)?(i?i=V2(e[46982]|0,t+1|0)|0:i=Te(t+1|0)|0,e[46982]=i,e[46981]=t):i=e[46982]|0,yo(i,r)|0,e[46966]=e[46982]}function P9(r){return r=r|0,Te(r)|0}function zW(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=g,g=g+2112|0,c=f+32|0,s=f+24|0,l=f+16|0,o=f+8|0,n=f,t=f+56|0,A=f+40|0,Vt(A,1024,f+1080|0),i=e[46966]|0,i|0&&(t2(A,i)|0,t2(A,97027)|0),t2(A,r)|0,e[n>>2]=e[4725],Ke(t,97030,n)|0,t2(A,t)|0;e:do if(C[e[46964]>>0]|0)t2(A,97042)|0,t2(A,e[46964]|0)|0,t=A+4|0,r=e[t>>2]|0,r>>>0>=(e[A+8>>2]|0)>>>0&&(Xe(A,1)|0,r=e[t>>2]|0),e[t>>2]=r+1,C[r>>0]=39;else switch(((e[46971]|0)+-1|0)/2|0|0){case 2:{if(e[o>>2]=16384,Ke(t,97050,o)|0,t2(A,t)|0,r=e[46978]|0,!(C[r>>0]|0))break e;s=d2(r)|0,t2(A,97112)|0,r=e[46978]|0,(s|0)>80&&(C[r+80>>0]=0),t2(A,r)|0;break e}case 3:{if(e[l>>2]=16384,Ke(t,97131,l)|0,t2(A,t)|0,r=e[46978]|0,!(C[r>>0]|0))break e;s=d2(r)|0,t2(A,97199)|0,r=e[46978]|0,(s|0)>80&&(C[r+80>>0]=0),t2(A,r)|0;break e}case 1:{e[s>>2]=16384,Ke(t,97218,s)|0,t2(A,t)|0;break e}default:break e}while(0);i=A+4|0,r=e[i>>2]|0,t=A+8|0,r>>>0>=(e[t>>2]|0)>>>0&&(Xe(A,1)|0,r=e[i>>2]|0),e[i>>2]=r+1,C[r>>0]=10,r=e[i>>2]|0,r>>>0>=(e[t>>2]|0)>>>0&&(Xe(A,1)|0,r=e[i>>2]|0),C[r>>0]=0,s=e[A>>2]|0,e[i>>2]=s,e[c>>2]=s,$0(1,96913,c)|0,Ot(A),g=f}function Ba0(){Ia0(e[46964]|0)}function Ia0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;if(A=e[46973]|0,C[A>>0]=C[194805]|0,s=e[46972]|0,i=e[s>>2]|0,t=e[i+4>>2]|0,A>>>0<(t+2|0)>>>0){for(n=t+((e[46977]|0)+2)|0,o=t+((e[i+12>>2]|0)+2)|0,c=t,l=i;!(n>>>0<=c>>>0);)i=n+-1|0,c=o+-1|0,C[c>>0]=C[i>>0]|0,l=e[s>>2]|0,n=i,o=c,c=e[l+4>>2]|0;i=o-n|0,t=A+i|0,A=e[l+12>>2]|0,e[46977]=A,e[l+16>>2]=A,t>>>0<(c+2|0)>>>0?Cs(97277):(f=r+i|0,w=t)}else f=r,w=A;r=w+-1|0,C[r>>0]=64,e[46964]=f,C[194805]=C[r>>0]|0,e[46973]=r}function xa0(){var r=0;r=e[46972]|0,r?r=e[r>>2]|0:r=0,_W(r)}function LW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return n=g,g=g+80|0,o=n,l=r+52|0,Ra0(r,e[l>>2]|0,18548),r=o+8|0,e[r>>2]=t,e[r+4>>2]=i,i=e[l>>2]|0,i=oe[e[i>>2]&63](i,o,4)|0,g=n,i|0}function Sa0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return n=LW(r,t,i)|0,n||(n=Sn(r,72)|0,e[n+64>>2]=e[r+64>>2],o=n+24|0,l=e[r+24>>2]|0,e[o>>2]=l,C[o>>0]=l&255&-9,e[n+56>>2]=r,e[n+60>>2]=e[r+60>>2],r=n+8|0,e[r>>2]=t,e[r+4>>2]=i,lW(n)|0),n|0}function ji(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return l=g,g=g+16|0,o=l,t|0&&ca(r,0,t,o,0)|0&&(n=o,n=LW(r,e[n>>2]|0,e[n+4>>2]|0)|0,(n|0)!=0)||(i|0&&ca(r,0,t,o,1)|0?(n=o,n=Sa0(r,e[n>>2]|0,e[n+4>>2]|0)|0,_d(r,0,n)):n=0),g=l,n|0}function yt(r){return r=r|0,r=e[r+52>>2]|0,oe[e[r>>2]&63](r,0,128)|0}function Ct(r){r=r|0;var t=0;return t=D1(r)|0,t?(t=e[t+52>>2]|0,r=oe[e[t>>2]&63](t,r,8)|0):r=0,r|0}function D1(r){return r=r|0,e[r+56>>2]|0}function RW(r,t){return r=r|0,t=t|0,r=e[r+52>>2]|0,oe[e[r>>2]&63](r,t,2)|0}function _a0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,r=e[46984]|0,n=(t|0)!=0;do if(r)if(n){_n(r,t),r=0;break}else{r=Sn(r,i)|0;break}else if(n){r0(t),r=0;break}else{r=Te(i)|0;break}while(0);return r|0}function za0(r,t,i){r=r|0,t=t|0,i=i|0,r=e[46984]|0,r?_n(r,t):r0(t)}function ho(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=t+28|0,o=e[n>>2]|0,e[n>>2]=7,e[46984]=r,i=ct(t,i)|0,e[n>>2]=o,e[46984]=0,i|0}function La0(r,t,i){return r=r|0,t=t|0,i=i|0,e[46984]=r,oe[e[t>>2]&63](t,i,2)|0}function Es(r,t){r=r|0,t=t|0;var i=0,n=0;return i=(sh(t,0,0)|0)+28|0,n=e[i>>2]|0,e[i>>2]=7,e[46984]=r,Fr(t)|0?r=1:(e[i>>2]=n,e[46984]=0,r=0),r|0}function Ra0(r,t,i){r=r|0,t=t|0,i=i|0,i|0&&(sh(t,0,0)|0)!=(i|0)&&sh(t,i,0)|0}function Ga0(r,t){return r=r|0,t=t|0,Rl(r)|0?Za0(r,t)|0:t=GW(r,t)|0,t|0}function Za0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(C[t>>0]=60,n=t;i=n+1|0,o=C[r>>0]|0,!!(o<<24>>24);)C[i>>0]=o,r=r+1|0,n=i;return C[i>>0]=62,C[n+2>>0]=0,t|0}function GW(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;e:do if(r|0&&C[r>>0]|0){C[t>>0]=34,f=C[r>>0]|0,E=0,o=((f+-45&255)<2|((f&255)+-48|0)>>>0<10)&1,l=0,s=0,A=0,i=t+1|0,n=r+1|0;r:for(;;){for(c=i;;){if(!(f<<24>>24))break r;i=f&255;t:do if(f<<24>>24==34)C[c>>0]=92,w=o,p=1,c=c+1|0;else{if(!o){p=f<<24>>24>-1&(f<<24>>24!=95&(Ma(i)|0)==0),w=0,p=p?1:l;break}switch(f<<24>>24){case 45:{p=(A|0)==0,w=p?o:0,p=p?l:1;break t}case 46:{p=(s|0)==0,w=p?o:0,p=p?l:1,s=s+1|0;break t}default:{p=(i+-48|0)>>>0<10,w=p?o:0,p=p?l:1;break t}}}while(0);if(i=c+1|0,C[c>>0]=f,m=n+1|0,v=C[n>>0]|0,A=A+1|0,n=e[5031]|0,!n){o=w,l=p,c=i,n=m,f=v;continue}if(o=v&255,l=v<<24>>24!=0,E&l&&!(f<<24>>24==92|f<<24>>24>-1&((f+-45&255)>1&(Ma(f<<24>>24)|0)==0)^1)&&!(v<<24>>24>-1&((v+-45&255)>1&(Ma(o)|0)==0)))break;if((A|0)<(n|0)|l^1){o=w,l=p,c=i,n=m,f=v;continue}if(f<<24>>24==92|f<<24>>24>-1&((Ma(f<<24>>24)|0)==0&(f+-45&255)>1)^1){E=1,o=w,l=p,f=v,n=m;continue r}if(v<<24>>24>-1&((v+-45&255)>1&(Ma(o)|0)==0)){E=1,o=w,l=p,f=v,n=m;continue r}C[i>>0]=92,C[c+2>>0]=10,o=w,l=1,A=0,c=c+3|0,n=m,f=v}C[i>>0]=92,C[c+2>>0]=10,E=0,o=w,l=1,A=0,f=v,i=c+3|0,n=m}if(C[c>>0]=34,C[c+1>>0]=0,l)r=t;else{if((A|0)==1&&((C[r>>0]|0)+-45&255)<2){r=t;break}else i=20128;for(;;){if(n=e[i>>2]|0,!n)break e;if(De(n,r)|0)i=i+4|0;else{r=t;break}}}}else r=97309;while(0);return r|0}function sf(r){return r=r|0,Ga0(r,ZW(r)|0)|0}function ZW(r){r=r|0;var t=0;return t=((d2(r)|0)<<1)+2|0,t=t>>>0>1024?t:1024,r=e[46986]|0,t>>>0>(e[46985]|0)>>>0&&(r?r=V2(r,t)|0:r=Te(t)|0,e[46986]=r,e[46985]=t),r|0}function Wa0(r,t){for(r=r|0,t=t|0,r=yt(r)|0;;){if(!r){r=0;break}if(!(Y9(r)|0)&&ft(r,t,0)|0){r=1;break}r=Ct(r)|0}return r|0}function Y9(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;l=te(r)|0,l|0&&(C[l>>0]|0)!=37?t=0:i=3;e:do if((i|0)==3){t=Hn(r)|0;r:do if(t|0&&(n=Hn(D1(r)|0)|0,n|0))for(l=sn(e[(Hn(c2(r)|0)|0)+8>>2]|0)|0,o=t+12|0,i=n+12|0,t=0;;){if((t|0)>=(l|0))break r;if(n=e[(e[o>>2]|0)+(t<<2)>>2]|0,n|0&&(s=e[(e[i>>2]|0)+(t<<2)>>2]|0,s|0)&&ge(n,s)|0){t=0;break e}t=t+1|0}while(0);if(t=vs(r,0)|0,t)if((sn(e[t+8>>2]|0)|0)>0)t=0;else return(sn(e[t+12>>2]|0)|0)<1|0;else t=1}while(0);return t|0}function WW(r,t){r=r|0,t=t|0;var i=0,n=0;return e[46987]=0,i=he(r,97319)|0,i|0&&((C[i>>0]|0)+-48|0)>>>0<10&&(n=Mk(i,0,10)|0,(n|0)==0|(n|0)>59)&&(e[5031]=n),DW(r,1),(MW(r,t,1)|0)!=-1&&(jW(r,t)|0)!=-1&&(NW(r,t)|0)!=-1?(e[5031]=128,r=nr[e[(e[(e[r+64>>2]|0)+8>>2]|0)+8>>2]&63](t)|0):r=-1,r|0}function DW(r,t){r=r|0,t=t|0;var i=0;for(e[r>>2]=e[r>>2]&-9,i=yt(r)|0;i;)DW(i,0),i=Ct(i)|0;e:do if(t|0)for(t=U0(r)|0;;){if(!t)break e;for(e[t>>2]=e[t>>2]&-9,i=Me(r,t)|0;i;)e[i>>2]=e[i>>2]&-9,i=Qe(r,i)|0;t=X0(r,t)|0}while(0)}function MW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;!(i|0)&&D1(r)|0?(s=0,o=195059,c=109514):(c=C[r+24>>0]&1?97363:195059,o=(xd(r)|0)==0,e[46988]=re(r,2,111455,0)|0,e[46989]=re(r,2,111464,0)|0,s=1,o=o?195059:97366),n=te(r)|0,n|0&&(C[n>>0]|0)!=37?(l=1,A=102604):(l=0,A=195059,n=195059);do if((Bs(r,t)|0)!=-1&&(Et(r,t,o)|0)!=-1){if(o=(l|0)==0,l|s|0){if((Et(r,t,c)|0)==-1){n=-1;break}if((Et(r,t,102597)|0)==-1){n=-1;break}}if(!o&&(yA(r,t,n)|0)==-1){n=-1;break}(Et(r,t,A)|0)!=-1&&(Et(r,t,97374)|0)!=-1&&(e[46987]=(e[46987]|0)+1,(Ta0(r,t,i)|0)!=-1)?(e[r>>2]=e[r>>2]|8,n=0):n=-1}else n=-1;while(0);return n|0}function jW(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;e:do if((QW(r,t)|0)==-1)i=-1;else for(f=vs(c2(r)|0,0)|0,A=(f|0)==0,c=f+12|0,f=f+8|0,s=U0(r)|0;;){if(!s){i=0;break e}if(TW(r,s,(e[s>>2]|0)>>>4,0)|0&&(A?i=0:i=e[f>>2]|0,(FW(s,t,i)|0)==-1)){i=-1;break e}for(l=Me(r,s)|0,i=s;l;){if(o=l+-48|0,n=e[((e[l>>2]&3|0)==2?l:o)+40>>2]|0,(i|0)!=(n|0)&&TW(r,n,(e[s>>2]|0)>>>4,0)|0){if(A?i=0:i=e[f>>2]|0,(FW(e[((e[l>>2]&3|0)==2?l:o)+40>>2]|0,t,i)|0)==-1){i=-1;break e}i=e[((e[l>>2]&3|0)==2?l:o)+40>>2]|0}if(Da0(r,l)|0&&(A?n=0:n=e[c>>2]|0,(Ma0(l,t,n)|0)==-1)){i=-1;break e}l=Qe(r,l)|0}s=X0(r,s)|0}while(0);return i|0}function NW(r,t){return r=r|0,t=t|0,e[46987]=(e[46987]|0)+-1,(Bs(r,t)|0)==-1?r=-1:r=((Et(r,t,111008)|0)==-1)<<31>>31,r|0}function Bs(r,t){r=r|0,t=t|0;var i=0;for(i=e[46987]|0;;){if((i|0)<=0){i=0;break}if((Et(r,t,153597)|0)==-1){i=-1;break}else i=i+-1|0}return i|0}function Et(r,t,i){return r=r|0,t=t|0,i=i|0,ke[e[(e[(e[r+64>>2]|0)+8>>2]|0)+4>>2]&127](t,i)|0}function QW(r,t){for(r=r|0,t=t|0,r=yt(r)|0;;){if(!r){r=0;break}if(Y9(r)|0)QW(r,t)|0;else{if((MW(r,t,0)|0)==-1){r=-1;break}if((jW(r,t)|0)==-1){r=-1;break}if((NW(r,t)|0)==-1){r=-1;break}}r=Ct(r)|0}return r|0}function TW(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return!(Wa0(r,t)|0)&&ja0(r,t,i,n)|0?!(Na0(r,t)|0)&&!(Qa0(t)|0)?o=5:r=1:o=5,(o|0)==5&&(r=0),r|0}function FW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=We(r)|0;do if((Bs(n,t)|0)!=-1&&(V9(r,t)|0)!=-1){if(!(YW(r)|0)&&(VW(r,t,i)|0)==-1){r=-1;break}r=Et(n,t,97330)|0}else r=-1;while(0);return r|0}function Da0(r,t){for(r=r|0,t=t|0,r=yt(r)|0;;){if(!r){r=1;break}if(!(Y9(r)|0)&&gs(r,t,0)|0){r=0;break}r=Ct(r)|0}return r|0}function Ma0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=e[r>>2]&3,l=e[((n|0)==3?r:r+48|0)+40>>2]|0,n=e[((n|0)==2?r:r+-48|0)+40>>2]|0,o=We(l)|0;do if((Bs(o,t)|0)!=-1&&(V9(l,t)|0)!=-1&&(PW(r,t,e[46988]|0)|0)!=-1&&(l=(d1(We(l)|0)|0)!=0,(Et(o,t,l?100079:100084)|0)!=-1)&&(V9(n,t)|0)!=-1&&(PW(r,t,e[46989]|0)|0)!=-1){if(YW(r)|0){if((OW(r,t,1)|0)==-1){r=-1;break}}else if((VW(r,t,i)|0)==-1){r=-1;break}r=Et(o,t,97330)|0}else r=-1;while(0);return r|0}function V9(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;return A=g,g=g+32|0,l=A,i=A+8|0,n=te(r)|0,o=We(r)|0,n?(yA(o,t,n)|0)==-1?r=-1:s=4:(c=r+8|0,r=e[c+4>>2]|0,n=l,e[n>>2]=e[c>>2],e[n+4>>2]=r,Ke(i,97350,l)|0,(Et(o,t,i)|0)==-1?r=-1:s=4),(s|0)==4&&(r=0),g=A,r|0}function PW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;e:do if(i|0&&(n=We(r)|0,o=k2(r,i)|0,(C[o>>0]|0)!=0))if((Et(n,t,107984)|0)==-1)r=-1;else{do if(Rl(o)|0){if((yA(n,t,o)|0)==-1){r=-1;break e}}else{if(r=Zr(o,58)|0,!r)if((Rd(n,t,o,0)|0)==-1){r=-1;break e}else break;if(C[r>>0]=0,(Rd(n,t,o,0)|0)==-1){r=-1;break e}if((Et(n,t,107984)|0)==-1){r=-1;break e}if((Rd(n,t,r+1|0,0)|0)==-1){r=-1;break e}C[r>>0]=58}while(0);r=0}else r=0;while(0);return r|0}function YW(r){return r=r|0,(e[r>>2]|0)>>>3&1|0}function VW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;e:do if(!(e[r>>2]&2))n=0,f=4;else{switch(OW(r,t,0)|0){case-1:{n=-1;break e}case 0:{n=0,f=4;break e}default:}n=1,f=4}while(0);e:do if((f|0)==4){o=Hn(r)|0,c=We(r)|0;r:do if(o)for(A=o+12|0,s=oe[e[i>>2]&63](i,0,128)|0;;){if(!s)break r;do if(e[r>>2]&2){if(l=e[46988]|0,l|0&&(e[s+16>>2]|0)==(e[l+16>>2]|0))break;l=e[46989]|0,l|0&&(e[s+16>>2]|0)==(e[l+16>>2]|0)||(f=12)}else f=12;while(0);if((f|0)==12&&(f=0,o=s+16|0,(e[(e[A>>2]|0)+(e[o>>2]<<2)>>2]|0)!=(e[s+12>>2]|0))){if(l=n+1|0,n){if((Et(c,t,97345)|0)==-1){n=-1;break e}if((Bs(c,t)|0)==-1){n=-1;break e}}else{if((Bs(c,t)|0)==-1){n=-1;break e}if((Et(c,t,97342)|0)==-1){n=-1;break e}e[46987]=(e[46987]|0)+1}if((yA(c,t,e[s+8>>2]|0)|0)==-1){n=-1;break e}if((Et(c,t,97348)|0)==-1){n=-1;break e}if((yA(c,t,e[(e[A>>2]|0)+(e[o>>2]<<2)>>2]|0)|0)==-1){n=-1;break e}else n=l}s=oe[e[i>>2]&63](i,s,8)|0}while(0);if((n|0)>0){if((Et(c,t,97340)|0)==-1){n=-1;break}e[46987]=(e[46987]|0)+-1}e[r>>2]=e[r>>2]|8,n=0}while(0);return n|0}function OW(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=te(r)|0,r=We(r)|0,n|0&&C[n>>0]|0?(Et(r,t,97333)|0)!=-1&&(yA(r,t,n)|0)!=-1?i|0&&(Et(r,t,97340)|0)==-1?r=-1:(r=1,o=7):r=-1:(r=0,o=7),r|0}function yA(r,t,i){return r=r|0,t=t|0,i=i|0,Rd(r,t,i,1)|0}function Rd(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,n?i=sf(i)|0:i=GW(i,ZW(i)|0)|0,Et(r,t,i)|0}function ja0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;e:do if(0>>0|(n|0?0:(e[t>>2]|0)>>>4>>>0>>0))t=0;else for(t=Xo(r,t)|0;;){if(!t){t=1;break e}if(0>>0|(n|0?0:(e[e[t+40>>2]>>2]|0)>>>4>>>0>>0)){t=0;break e}t=ms(r,t)|0}while(0);return t|0}function Na0(r,t){return r=r|0,t=t|0,Xo(r,t)|0?r=0:r=(Me(r,t)|0)==0&1,r|0}function Qa0(r){r=r|0;var t=0,i=0,n=0;r=Hn(r)|0;e:do if(!r)r=0;else for(i=r+8|0,n=e[i>>2]|0,t=r+12|0,r=oe[e[n>>2]&63](n,0,128)|0;;){if(!r){r=0;break e}if((e[(e[t>>2]|0)+(e[r+16>>2]<<2)>>2]|0)!=(e[r+12>>2]|0)){r=1;break e}n=e[i>>2]|0,r=oe[e[n>>2]&63](n,r,8)|0}while(0);return r|0}function Ta0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=vs(r,0)|0,n?(O9(r,t,111494,e[n+16>>2]|0,i)|0)!=-1&&(O9(r,t,111481,e[n+8>>2]|0,i)|0)!=-1&&(O9(r,t,111450,e[n+12>>2]|0,i)|0)!=-1?o=5:r=-1:o=5,(o|0)==5&&(r=0),r|0}function O9(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(w=(o|0)!=0,w?f=0:f=mA(n,0)|0,c=(f|0)==0,A=oe[e[n>>2]&63](n,0,128)|0,o=0;;){if(!A){p=23;break}s=A+12|0,p=e[s>>2]|0,p|0&&C[p>>0]|0?p=12:p=7;do if((p|0)==7){if(p=0,C[A+22>>0]|0)p=12;else if(!c){if(l=oe[e[f>>2]&63](f,A,4)|0,v=e[l+12>>2]|0,v|0&&C[v>>0]|0){p=12;break}C[l+22>>0]|0||(p=12)}}while(0);if((p|0)==12){if(p=0,l=o+1|0,o){if((Et(r,t,97345)|0)==-1){o=-1;break}if((Bs(r,t)|0)==-1){o=-1;break}}else{if((Bs(r,t)|0)==-1){o=-1;break}if((Et(r,t,i)|0)==-1){o=-1;break}if((Et(r,t,97342)|0)==-1){o=-1;break}e[46987]=(e[46987]|0)+1}if((yA(r,t,e[A+8>>2]|0)|0)==-1){o=-1;break}if((Et(r,t,97348)|0)==-1){o=-1;break}if((yA(r,t,e[s>>2]|0)|0)==-1){o=-1;break}else o=l}A=oe[e[n>>2]&63](n,A,8)|0}do if((p|0)==23){if((o|0)>0){if(e[46987]=(e[46987]|0)+-1,(o|0)!=1){if((Et(r,t,153599)|0)==-1){o=-1;break}if((Bs(r,t)|0)==-1){o=-1;break}}if(o=(Et(r,t,97377)|0)==-1,w|o){o=o<<31>>31;break}}else if(w){o=0;break}mA(n,f)|0,o=0}while(0);return o|0}function Af(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(e[t>>2]&3){case 0:{l=82;break}case 1:{l=83;break}case 3:case 2:{l=84;break}default:}return t=ke[l&127](r,t)|0,t?(HW(r,t,i,n,l,o),t=0):t=-1,t|0}function Fa0(r,t){return r=r|0,t=t|0,(We(t)|0)!=(r|0)&&(t=gs(r,t,0)|0),t|0}function Pa0(r,t){return r=r|0,t=t|0,(We(t)|0)!=(r|0)&&(t=ft(r,t,0)|0),t|0}function Ya0(r,t){return r=r|0,t=t|0,r|0}function HW(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0;for(A=(l|0)!=0,A&&hr[i&127](r,t,n),s=yt(r)|0;s;)c=ke[o&127](s,t)|0,c|0&&HW(s,c,i,n,o,l),s=Ct(s)|0;A||hr[i&127](r,t,n)}function Va0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+1200|0,v=E+800|0,i=E,e[46990]=0,e[46991]=-2,t=v,o=200,c=i,w=0,p=0,f=v;e:for(;;){if($[f>>1]=w,(t+(o<<1)+-2|0)>>>0>f>>>0)s=o;else{if(A=f-t>>1,r=A+1|0,o>>>0>9999){m=75;break}switch(s=o<<1,s=s>>>0<1e4?s:1e4,n=Te(s*6|3)|0,n?(u2(n|0,t|0,r<<1|0)|0,o=n+(s>>>1<<2)|0,u2(o|0,c|0,r<<2|0)|0,(t|0)==(v|0)?(r=0,t=n):(r0(t),r=0,t=n)):(r=4,o=c),l=(r|0)==0,n=t+(A<<1)|0,(l?(t+(s<<1)+-2|0)>>>0>n>>>0?0:9:r)&15){case 9:{r=1,m=76;break e}case 4:{m=75;break e}case 0:{i=l?o+(A<<2)|0:i,c=o,f=l?n:f;break}default:{r=0;break e}}}if((w|0)==6){r=0,m=76;break}r=C[97381+w>>0]|0,l=r<<24>>24;do if(r<<24>>24!=-18)if(n=e[46991]|0,(n|0)==-2&&(n=wa0()|0,e[46991]=n),(n|0)>=1?n>>>0<269?o=s0[97461+n>>0]|0:o=2:(e[46991]=0,o=0),n=o+l|0,n>>>0<=59&&(o|0)==(s0[97730+n>>0]|0))if(w=C[97790+n>>0]|0,r=w<<24>>24,w<<24>>24<1){n=0-r|0,m=23;break}else{e[46991]=-2,i=i+4|0,e[i>>2]=e[46992],l=p|0?p+-1|0:0,n=f;break}else m=22;else m=22;while(0);if((m|0)==22)if(m=0,w=C[97850+w>>0]|0,n=w&255,w<<24>>24)m=23;else{n=e[46991]|0;r:do switch(p|0){case 0:{e[46990]=(e[46990]|0)+1,zW(143761),n=f;break}case 3:if((n|0)<1)if(n){n=f;break r}else{r=1,m=76;break e}else{e[46991]=-2,n=f;break r}default:n=f}while(0);for(;r<<24>>24!=18;){if((n|0)==(t|0)){r=1,m=76;break e}r=n+-2|0,i=i+-4|0,n=r,r=C[97381+($[r>>1]|0)>>0]|0}i=i+4|0,e[i>>2]=e[46992],r=1,l=3}do if((m|0)==23){m=0,o=s0[97930+n>>0]|0,r=e[i+(1-o<<2)>>2]|0;r:do switch(n|0){case 2:{JW(),UW();break}case 3:{e[46993]|0&&(JW(),UW(),Di(e[46993]|0)|0,e[46942]=0,e[46993]=0);break}case 6:{Oa0(e[i>>2]|0,e[i+-4>>2]|0,e[i+-8>>2]|0);break}case 7:{r=e[i>>2]|0;break}case 8:{r=0;break}case 9:{r=1;break}case 10:{r=0;break}case 11:{r=0;break}case 12:{r=1;break}case 21:if(e[i+-4>>2]|0){Ha0();break r}else{Ja0();break r}case 24:{XW();break}case 25:{XW();break}case 26:{r=1;break}case 27:{r=0;break}case 30:{H9(e[i>>2]|0,0,0);break}case 31:{H9(e[i+-8>>2]|0,e[i>>2]|0,0);break}case 32:{H9(e[i+-16>>2]|0,e[i+-8>>2]|0,e[i>>2]|0);break}case 33:{qW(e[i+-8>>2]|0,e[i+-4>>2]|0);break}case 34:{qW(258,0);break}case 35:{r=258;break}case 36:{r=259;break}case 37:{r=260;break}case 38:{r=e[i+-4>>2]|0;break}case 39:{r=0;break}case 48:{$W(e[i+-8>>2]|0,e[i>>2]|0);break}case 49:{$W(e[i>>2]|0,0);break}case 51:{Ua0(e[i>>2]|0);break}case 52:{Xa0();break}case 53:{r=e[i>>2]|0;break}case 54:{r=0;break}case 55:{r=0;break}case 59:{r=e[i>>2]|0;break}case 60:{r=e[i>>2]|0;break}case 61:{r=e[i>>2]|0;break}case 62:{r=qa0(e[i+-8>>2]|0,e[i>>2]|0)|0;break}default:}while(0);if(o=0-o|0,w=i+(o<<2)|0,o=f+(o<<1)|0,i=w+4|0,e[w+4>>2]=r,r=(s0[97993+n>>0]|0)+-24|0,w=$[o>>1]|0,n=w+(C[98056+r>>0]|0)|0,n>>>0<60&&(s0[97730+n>>0]|0)==(w|0)){r=C[97790+n>>0]|0,l=p,n=o;break}r=C[98091+r>>0]|0,l=p,n=o}while(0);o=s,w=r,p=l,f=n+2|0}return(m|0)==75&&(zW(140558),r=2,m=76),(m|0)==76&&(t|0)!=(v|0)&&r0(t),g=E,r|0}function JW(){var r=0,t=0;for(r=e[46994]|0;r;)Gl(r+8|0),Gl((e[46994]|0)+24|0),Gl((e[46994]|0)+16|0),t=KW(e[46994]|0)|0,e[46994]=t,r=t}function UW(){Ba0(),Nu0(e[46993]|0)}function Oa0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+16|0,o=l,n=e[46993]|0,n||(C[187980]=t&1|(i&255)<<1&2|C[187980]&-12|8,n=e[46996]|0,C[o>>0]=C[187980]|0,C[o+1>>0]=C[187981]|0,C[o+2>>0]=C[187982]|0,C[o+3>>0]=C[187983]|0,n=w1(r,o,n)|0,e[46993]=n),e[46942]=n,e[46994]=bW(e[46994]|0,n)|0,Ai(0,r)|0,g=l}function Ha0(){var r=0,t=0,i=0,n=0,o=0,l=0;for(U9(2),i=e[46994]|0,n=C[98126]|0,l=0,r=i+24|0;t=e[r>>2]|0,!!t;)(e[t>>2]|0)==267&&(o=e[t+4>>2]|0,(C[o>>0]|0)==n<<24>>24)&&!(ge(o,98126)|0)?r=e[t+8>>2]|0:r=l,l=r,r=t+12|0;r=i+16|0;e:for(;i=e[r>>2]|0,r=i+12|0,!!(e[r>>2]|0);)if(t=i+4|0,(e[i>>2]|0)==262)for(i=e[t>>2]|0,t=U0(i)|0;;){if(!t)continue e;o=ft(e[e[46994]>>2]|0,t,0)|0,iD(o,0,e[r>>2]|0,l),t=X0(i,t)|0}else for(;;){if(t=e[t>>2]|0,!t)continue e;iD(e[t+4>>2]|0,e[t+8>>2]|0,e[r>>2]|0,l),t=t+12|0}Gl((e[46994]|0)+8|0),Gl((e[46994]|0)+16|0),Gl((e[46994]|0)+24|0),e[(e[46994]|0)+4>>2]=0}function Ja0(){var r=0;for(U9(1),r=(e[46994]|0)+8|0;r=e[r>>2]|0,!!r;)tD(e[r+4>>2]|0),r=r+12|0;Gl((e[46994]|0)+8|0),Gl((e[46994]|0)+24|0),Gl((e[46994]|0)+16|0),e[(e[46994]|0)+4>>2]=0}function XW(){var r=0,t=0;r=e[46994]|0,t=e[r+8>>2]|0,t?(t=ec0(t)|0,r=e[46994]|0,e[r+12>>2]=0,e[r+8>>2]=0):(t=e[r+4>>2]|0,t?(t=rc0(t)|0,r=e[46994]|0):t=0,e[r+4>>2]=0),t|0&&J9(r+16|0,t)}function H9(r,t,i){r=r|0,t=t|0,i=i|0,i&&(t=Ka0(t,i)|0),i=ba0(ht(e[e[46994]>>2]|0,r,1)|0,t)|0,J9((e[46994]|0)+8|0,i),Ai(e[46993]|0,r)|0}function qW(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(t|0&&eD(),t=(e[46994]|0)+24|0;t=e[t>>2]|0,!!t;)e[t+8>>2]|0||eD(),t=t+12|0;for(o=(r|0)==260?2:(r|0)==259&1,U9(o),r=e[46994]|0,t=r+24|0;n=e[t>>2]|0,!!n;){do if((e[n>>2]|0)!=267){if(t=e[n+4>>2]|0,i=e[r>>2]|0,!((C[t+21>>0]|0)!=0&(i|0)==(e[46993]|0))&&(t=re(i,o,e[t+8>>2]|0,e[n+8>>2]|0)|0,r=e[46994]|0,(e[r>>2]|0)!=(e[46993]|0)))break;C[t+22>>0]=1}while(0);t=n+12|0}Gl(r+24|0)}function $W(r,t){r=r|0,t=t|0,t=$a0(r,t)|0,J9((e[46994]|0)+24|0,t)}function Ua0(r){r=r|0;var t=0;t=e[46994]|0,e[46994]=bW(t,ji(e[t>>2]|0,r,1)|0)|0,Ai(e[46993]|0,r)|0}function Xa0(){var r=0,t=0;r=e[46994]|0,t=e[r>>2]|0,r=KW(r)|0,e[46994]=r,e[r+4>>2]=t}function qa0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+1024|0,o=l,i=d2(r)|0,i=i+1+(d2(t)|0)|0,i>>>0<1025?i=o:i=Te(i)|0,yo(i,r)|0,Qa(i,t)|0,n=un(e[46993]|0,i)|0,Ai(e[46993]|0,r)|0,Ai(e[46993]|0,t)|0,(i|0)!=(o|0)&&r0(i),g=l,n|0}function KW(r){r=r|0;var t=0;return t=e[(e[46994]|0)+32>>2]|0,_n(e[46993]|0,r),t|0}function bW(r,t){r=r|0,t=t|0;var i=0;return i=Sn(e[46993]|0,36)|0,e[i+32>>2]=r,e[i>>2]=t,i|0}function $a0(r,t){return r=r|0,t=t|0,Gd(267,r,t)|0}function J9(r,t){r=r|0,t=t|0;var i=0,n=0;i=r+4|0,n=e[i>>2]|0,n|0&&(e[n+12>>2]=t),e[i>>2]=t,e[r>>2]|0||(e[r>>2]=t)}function Gd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=Sn(e[46993]|0,16)|0,e[n>>2]=r,e[n+4>>2]=t,e[n+8>>2]=i,n|0}function eD(){var r=0;r=g,g=g+16|0,$0(0,98130,r)|0,g=r}function U9(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=(r|0)==2,t=(e[46994]|0)+24|0;t=e[t>>2]|0,!!t;)i=t+4|0,n=e[i>>2]|0,o&&(C[n>>0]|0)==(C[98126]|0)&&!(ge(n,98126)|0)||(l=re(e[e[46994]>>2]|0,r,n,0)|0,e[i>>2]=l,l||(e[i>>2]=re(e[e[46994]>>2]|0,r,n,195059)|0),e[t>>2]=266,Ai(e[46993]|0,n)|0),t=t+12|0}function Gl(r){r=r|0,rD(e[r>>2]|0),e[r+4>>2]=0,e[r>>2]=0}function rD(r){r=r|0;for(var t=0;r;){switch(t=e[r+12>>2]|0,e[r>>2]|0){case 265:{rD(e[r+4>>2]|0);break}case 266:case 267:{Ai(e[46993]|0,e[r+8>>2]|0)|0;break}default:}_n(e[46993]|0,r),r=t}}function Ka0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return s=g,g=g+1040|0,o=s,l=s+8|0,i=d2(r)|0,i=i+2+(d2(t)|0)|0,i>>>0<1025?n=l:n=Te(i)|0,e[o>>2]=r,e[o+4>>2]=t,Ke(n,98163,o)|0,i=un(e[46993]|0,n)|0,Ai(e[46993]|0,r)|0,Ai(e[46993]|0,t)|0,(n|0)!=(l|0)&&r0(n),g=s,i|0}function ba0(r,t){return r=r|0,t=t|0,Gd(259,r,t)|0}function ec0(r){return r=r|0,Gd(265,r,0)|0}function rc0(r){return r=r|0,Gd(262,r,0)|0}function tD(r){r=r|0;var t=0,i=0;for(t=(e[46994]|0)+24|0;t=e[t>>2]|0,!!t;)(e[t>>2]|0)==266&&(i=e[t+4>>2]|0,i|0)&&Er(r,i,e[t+8>>2]|0)|0,t=t+12|0}function iD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;o=i+4|0;e:do if((e[i>>2]|0)==262)for(i=e[o>>2]|0,o=U0(i)|0;;){if(!o)break e;nD(r,t,ft(e[e[46994]>>2]|0,o,0)|0,0,n),o=X0(i,o)|0}else for(;;){if(o=e[o>>2]|0,!o)break e;i=ft(e[e[46994]>>2]|0,e[o+4>>2]|0,0)|0,nD(r,t,i,e[o+8>>2]|0,n),o=o+12|0}while(0)}function nD(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;i=rr(e[e[46994]>>2]|0,r,i,o,1)|0,i|0&&(l=e[i>>2]&3,o=e[((l|0)==2?i:i+-48|0)+40>>2]|0,r=(o|0)==(r|0)?(e[((l|0)==3?i:i+48|0)+40>>2]|0)!=(o|0):0,oD(i,111455,r?n:t),oD(i,111464,r?t:n),tD(i))}function oD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;i|0&&(n=re(e[e[46994]>>2]|0,2,t,0)|0,n||(n=re(e[e[46994]>>2]|0,2,t,195059)|0),Er(r,n,i)|0)}function tc0(r,t,i){return r=r|0,t=t|0,i=i|0,e[46962]=t,e[46993]=r,e[46942]=0,r=i|0?i:18600,e[46996]=r,ha0(r,t),Va0()|0,r=e[46942]|0,r||(xa0(),r=e[46942]|0),r|0}function X9(r,t){return r=r|0,t=t|0,tc0(0,r,t)|0}function ic0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+16|0,A=c+8|0,s=c,t=e[r+76>>2]|0,n=e[r>>2]|0,t|0&&(i=e[t>>2]|0,(i|0)!=0)?(l2[i&127](r),o=12):o=4;do if((o|0)==4)if(!(e[r+40>>2]|0)&&(l=r+36|0,(e[l>>2]|0)==0)){if(C[n+13>>0]|0&&nc0(r),t=r+32|0,i=e[t>>2]|0,!i){e[l>>2]=e[15679],o=12;break}n=A8(i,106512)|0,e[l>>2]=n,n?o=12:(A=e[(e[r+12>>2]|0)+16>>2]|0,l=e[t>>2]|0,t=n8(e[(kr()|0)>>2]|0)|0,e[s>>2]=l,e[s+4>>2]=t,Bt[A&63](98169,s),t=1)}else o=12;while(0);return(o|0)==12&&(e[r+152>>2]&1024?(Bt[e[(e[r+12>>2]|0)+16>>2]&63](98207,A),t=1):t=0),g=c,t|0}function nc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(l=g,g=g+112|0,i=l,o=l+4|0,t=e[r+24>>2]|0,t?(e[i>>2]=t+1,Ke(o,98225,i)|0):C[o>>0]=0,i=e[r+20>>2]|0,i=i|0?i:98229,t=d2(i)|0,s=d2(o)|0,n=r+52|0,s=t+1+s+(d2(e[n>>2]|0)|0)|0,t=s+11|0,(e[46997]|0)>>>0<(s+1|0)>>>0?(e[46997]=t,t=V2(e[46998]|0,t)|0,e[46998]=t):t=e[46998]|0,yo(t,i)|0,Qa(e[46998]|0,o)|0,t=e[46998]|0,t=t+(d2(t)|0)|0,C[t>>0]=46,C[t+1>>0]=0,t=C2(e[n>>2]|0)|0,n=e[46998]|0;i=yY(t,58)|0,!!i;)Qa(n,i+1|0)|0,s=e[46998]|0,o=s+(d2(s)|0)|0,C[o>>0]=46,C[o+1>>0]=0,C[i>>0]=0,n=s;Qa(n,t)|0,r0(t),e[r+32>>2]=e[46998],g=l}function CA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return s=g,g=g+16|0,l=s+8|0,o=s,(t|0)!=0&(i|0)!=0?(e[r+152>>2]&1024|0&&(Bt[e[(e[r+12>>2]|0)+16>>2]&63](98207,o),Jc(1)),(oc0(r,t,i)|0)==(i|0)?n=i:(o=e[(e[r+12>>2]|0)+16>>2]|0,e[l>>2]=i,Bt[o&63](98239,l),Jc(1))):n=0,g=s,n|0}function oc0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+16|0,w=p,n=e[(e[r>>2]|0)+104>>2]|0;do if(n)i=oe[n&63](r,t,i)|0;else{if(A=r+40|0,l=e[A>>2]|0,!l){i=fn(t,1,i,e[r+36>>2]|0)|0;break}n=r+44|0,s=r+48|0,o=e[s>>2]|0;do if(((e[n>>2]|0)+-1-o|0)>>>0>>0)if(o=i+4096+o&-4096,e[n>>2]=o,n=V2(l,o)|0,e[A>>2]=n,!n)Bt[e[(e[r+12>>2]|0)+16>>2]&63](98264,w),Jc(1);else{c=n,f=e[s>>2]|0;break}else c=l,f=o;while(0);u2(c+f|0,t|0,i|0)|0,w=(e[s>>2]|0)+i|0,e[s>>2]=w,C[(e[A>>2]|0)+w>>0]=0}while(0);return g=p,i|0}function m0(r,t){r=r|0,t=t|0;var i=0;return i=d2(t)|0,t=(CA(r,t,i)|0)==(i|0),(t?1:-1)|0}function lD(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,C[n>>0]=t,r=(CA(r,n,1)|0)==1,g=i,(r?t:-1)|0}function q9(r){r=r|0;var t=0;return t=e[r+36>>2]|0,t|0&&!(C[r+144>>0]|0)&&!(e[(e[r>>2]|0)+104>>2]|0)?r=jk(t)|0:r=0,r|0}function lc0(r){r=r|0;var t=0,i=0;t=e[r+76>>2]|0,t|0&&(i=e[t+4>>2]|0,i|0)&&l2[i&127](r),q9(r)|0}function sD(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=e[r+76>>2]|0,e[r+152>>2]&1024|0&&(Bt[e[(e[r+12>>2]|0)+16>>2]&63](98291,n),Jc(1)),i|0&&(t=e[i+8>>2]|0,(t|0)!=0)?l2[t&127](r):(q9(r)|0,sc0(r)),g=n}function sc0(r){r=r|0;var t=0,i=0,n=0;t=r+32|0,e[t>>2]|0&&(i=r+36|0,n=e[i>>2]|0,(n|0)!=(e[15679]|0))&&!(C[r+144>>0]|0)&&(n|0&&(Hf(n)|0,e[i>>2]=0),e[t>>2]=0)}function Y0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+1056|0,o=A,s=A+24|0,l=A+8|0,e[l>>2]=i,n=Rk(s,1024,t,l)|0,(n|0)>=0?((n|0)>1023?(n=_0(n+1|0)|0,e[l>>2]=i,o=n,n=zE(n,t,l)|0):o=s,CA(r,o,n)|0,(o|0)!=(s|0)&&r0(o)):(e[o>>2]=n8(e[(kr()|0)>>2]|0)|0,$0(1,98308,o)|0),g=A}function Pr(r,t){r=r|0,t=+t;var i=0,n=0,o=0;i=g,g=g+16|0,n=i,o=$9(n,t)|0,CA(r,o,e[n>>2]|0)|0,g=i}function $9(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(t<-1e15)n=98322,i=19;else if(t>1e15)n=98323,i=18;else if(t=t*1e4,n=~~((t<0?-.5:.5)+t),!n)n=138394,i=1;else{for(f=(n|0)<0,c=4,s=0,i=194826,n=f?0-n|0:n;(n|0)!=0|(c|0)>0;)o=(n|0)%10|0,A=(n|0)/10|0,l=i+-1|0,(o|0)==0&s<<24>>24==0?n=0:(C[l>>0]=o|48,n=1,i=l),(c|0)==1&&(n<<24>>24&&(i=i+-1|0,C[i>>0]=46),n=1),c=c+-1|0,s=n,n=A;f&&(i=i+-1|0,C[i>>0]=45),n=i,i=194826-i|0}return e[r>>2]=i,n|0}function M1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=g,g=g+16|0,n=i,o=$9(n,+u[t>>3])|0,CA(r,o,e[n>>2]|0)|0,CA(r,102604,1)|0,t=$9(n,+u[t+8>>3])|0,CA(r,t,e[n>>2]|0)|0,g=i}function $o(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=g,g=g+16|0,o=l,n=0;s=t+(n<<4)|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2],M1(r,o),n=n+1|0,!((n|0)>=(i|0));)CA(r,102604,1)|0;g=l}function Ac0(r,t){r=r|0,t=t|0;var i=0;return i=j0(392)|0,i|0&&(e[i>>2]=20156,e[i+16>>2]=23,e[i+32>>2]=r,e[i+36>>2]=t),i|0}function uc0(r){r=r|0;var t=0,i=0,n=0,o=0;t=j0(392)|0,i=t,n=r,o=i+40|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));return o=t+60|0,n=r+60|0,e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],e[o+16>>2]=e[n+16>>2],o=t+80|0,n=r+80|0,e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],e[o+16>>2]=e[n+16>>2],t|0}function ac0(r){r=r|0,Zd(r),r0(r)}function cc0(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+160|0,i=e[n>>2]|0,i?(n=e[46999]|0,n&&(i=e[n+4>>2]|0,i||(i=j0(632)|0,e[(e[46999]|0)+4>>2]=i))):(i=j0(632)|0,e[n>>2]=i,e[r+164>>2]=i),e[46999]=i,e[i+32>>2]=t,e[i>>2]=r}function K9(r,t){r=r|0,t=t|0;var i=0,n=0;return n=r+160|0,i=e[n>>2]|0,i?(n=e[47e3]|0,n&&(i=e[n+4>>2]|0,i||(i=j0(632)|0,e[(e[47e3]|0)+4>>2]=i))):(i=j0(632)|0,e[n>>2]=i,e[r+164>>2]=i),e[47e3]=i,e[i+52>>2]=t,e[i>>2]=r,(uf(r,3,t)|0)!=0|0}function fc0(r){r=r|0;var t=0;return t=e[r+160>>2]|0,e[r+164>>2]=t,t|0}function hc0(r){r=r|0;var t=0,i=0,n=0;return r=r+164|0,t=e[r>>2]|0,i=e[t+4>>2]|0,i|0&&(n=i+52|0,(e[n>>2]|0)==0)&&(e[n>>2]=e[t+52>>2]),e[r>>2]=i,i|0}function mi(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=r+8|0,o=t+10|0,(e[n>>2]|0)>(t|0)?r=e[r>>2]|0:(e[n>>2]=o,o=Ve(e[r>>2]|0,o<<2)|0,e[r>>2]=o,r=o),e[r+(t<<2)>>2]=i}function AD(r){r=r|0;var t=0;t=e[r>>2]|0,t|0&&r0(t),e[r>>2]=0,e[r+8>>2]=0,e[r+4>>2]=0}function Zd(r){r=r|0;var t=0,i=0,n=0;for(i=r+160|0,t=e[i>>2]|0;t;)n=e[t+4>>2]|0,AD(t+604|0),AD(t+592|0),r0(e[t+584>>2]|0),r0(e[t+588>>2]|0),r0(t),t=n;e[47e3]=0,e[46999]=0,e[r+192>>2]=0,e[r+164>>2]=0,e[i>>2]=0,e[r+28>>2]=0}function wc0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+128|0,c=w+64|0,f=w,Of(c,i,63)|0,s=Zr(c,58)|0,s|0&&(C[s>>0]=0),r=r+60+(t<<2)|0;;){if(t=e[r>>2]|0,!t){t=r,r=0;break}if(Of(f,e[t+4>>2]|0,63)|0,t=Zr(f,58)|0,t|0&&(C[t>>0]=0),(ge(c,f)|0)<1){A=9;break}r=e[r>>2]|0}for(;(A|0)==9&&(t=r,r=e[r>>2]|0),!(!r||(Of(f,e[r+4>>2]|0,63)|0,r=Zr(f,58)|0,r|0&&(C[r>>0]=0),ge(c,f)|0)||(r=e[t>>2]|0,(e[r+8>>2]|0)<=(n|0)));)A=9;return f=_0(20)|0,e[f>>2]=e[t>>2],e[t>>2]=f,e[f+4>>2]=i,e[f+8>>2]=n,e[f+12>>2]=o,e[f+16>>2]=l,g=w,1}function dc0(r,t){return r=r|0,t=t|0,t=g,g=g+16|0,$0(1,98396,t)|0,g=t,0}function uf(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;B=g,g=g+144|0,E=B,p=B+80|0,v=B+16|0,w=(t+-3|0)>>>0<2?0:t,Of(p,i,63)|0,i=Zr(p,58)|0,i?(n=i+1|0,C[i>>0]=0,i=Zr(n,58)|0,i?(C[i>>0]=0,f=i+1|0):f=0):(f=0,n=0),s=(n|0)!=0,A=(f|0)==0,c=(w|0)==(t|0),l=r+60+(t<<2)|0;e:for(;;){if(i=e[l>>2]|0,!i){i=0;break}Of(v,e[i+4>>2]|0,63)|0,i=Zr(v,58)|0,i?(C[i>>0]=0,i=i+1|0):i=0;do if(!(ge(v,p)|0)){if(o=(i|0)!=0,s&o&&ge(i,n)|0||!A&&ge(f,e[(e[(e[l>>2]|0)+12>>2]|0)+8>>2]|0)|0)break;if(c|o^1){m=16;break e}if(uf(r,w,i)|0){m=16;break e}}while(0);l=e[l>>2]|0}do if((m|0)==16)if(i=e[l>>2]|0,i){if(n=i+16|0,!(e[n>>2]|0)&&(dc0(0,0)|0,(e[n>>2]|0)==0)){i=0;break}(e[r+8>>2]|0)>0&&(m=e[15712]|0,p=e[i+4>>2]|0,v=e[(e[i+12>>2]|0)+8>>2]|0,e[E>>2]=e[20168+(t<<2)>>2],e[E+4>>2]=p,e[E+8>>2]=v,A2(m,98427,E)|0)}else i=0;while(0);return e[r+80+(t<<2)>>2]=i,g=B,i|0}function uD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;do if(!i)i=0;else{if(e[5047]|0&&(Vt(188004,0,0),e[5047]=0),l=C2(i)|0,i=Zr(l,58)|0,i){for(C[i>>0]=0,n=r+60+(t<<2)|0,i=1,o=n;r=e[o>>2]|0,!!r;)t=C2(e[r+4>>2]|0)|0,r=Zr(t,58)|0,r|0&&(C[r>>0]=0),C[l>>0]|0&&De(l,t)|0||(i=e[47002]|0,i>>>0>=(e[47003]|0)>>>0&&(Xe(188004,1)|0,i=e[47002]|0),e[47002]=i+1,C[i>>0]=32,t2(188004,e[(e[o>>2]|0)+4>>2]|0)|0,i=e[47002]|0,i>>>0>=(e[47003]|0)>>>0&&(Xe(188004,1)|0,i=e[47002]|0),e[47002]=i+1,C[i>>0]=58,t2(188004,e[(e[(e[o>>2]|0)+12>>2]|0)+8>>2]|0)|0,i=0),r0(t),o=e[o>>2]|0;r0(l),i<<24>>24&&(o=0,s=19)}else r0(l),o=0,n=r+60+(t<<2)|0,i=1,s=19;if((s|0)==19){for(;r=e[n>>2]|0,!!r;)t=C2(e[r+4>>2]|0)|0,r=Zr(t,58)|0,r|0&&(C[r>>0]=0),o|0&&!(De(o,t)|0)||(i=e[47002]|0,i>>>0>=(e[47003]|0)>>>0&&(Xe(188004,1)|0,i=e[47002]|0),e[47002]=i+1,C[i>>0]=32,t2(188004,t)|0,i=0),o=t,n=e[n>>2]|0,s=19;if(i<<24>>24){i=195059;break}}i=e[47002]|0,i>>>0>=(e[47003]|0)>>>0&&(Xe(188004,1)|0,i=e[47002]|0),C[i>>0]=0,i=e[47001]|0,e[47002]=i}while(0);return i|0}function aD(r){r=r|0;var t=0;return r||H0(111208,98444,573,98458),C[r>>0]|0||H0(111213,98444,574,98458),t=e[47005]|0,t?r=oe[e[t>>2]&63](t,r,512)|0:r=0,r|0}function cD(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+16|0,A=c+8|0,s=c,r||H0(111312,98444,589,98475),o=r+8|0,i=e[o>>2]|0,i||H0(111315,98444,590,98475),C[i>>0]|0||H0(111324,98444,591,98475),l=r+20|0,n=e[l>>2]|0;do if(n)T1(n,0,0)|0,e[l>>2]|0?t=1:H0(98545,98444,614,98475);else{if(t=Zp(i)|0,!t){e[s>>2]=e[o>>2],$0(0,98499,s)|0,t=0;break}if(s=A8(t,138821)|0,e[l>>2]=s,!s){e[A>>2]=n8(e[(kr()|0)>>2]|0)|0,e[A+4>>2]=t,$0(0,98524,A)|0,t=0;break}if(t=e[47006]|0,(t|0)>49){C[r+17>>0]=1,t=1;break}else{e[47006]=t+1,t=1;break}}while(0);return g=c,t|0}function b9(r){r=r|0;var t=0,i=0;C[r+17>>0]|0&&(t=r+20|0,i=e[t>>2]|0,i|0)&&(Hf(i)|0,e[t>>2]=0)}function fD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;t?(n=e[t+48>>2]|0,o=+(n|0),n?(u[i+8>>3]=o,u[i>>3]=o,l=o):(l=+u[i>>3],o=+u[i+8>>3]),n=~~(+((e[t+40>>2]|0)*72|0)/l),i=~~(+((e[t+44>>2]|0)*72|0)/o)):(n=-1,i=-1),e[r>>2]=n,e[r+4>>2]=i}function e7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;c=g,g=g+48|0,n=c+16|0,s=c,A=c+32|0,i|0&&C[i>>0]|0?(o=e[47133]|0,(e[47007]|0)!=(o|0)&&(e[47007]=o,l=e[47005]|0,l|0)&&(Fr(l)|0,e[47005]=0),f=+u[(e[(e[t+16>>2]|0)+8>>2]|0)+24>>3],f=f>=1?f:96,u[s+8>>3]=f,u[s>>3]=f,t=pc0(i)|0,e[n>>2]=e[s>>2],e[n+4>>2]=e[s+4>>2],e[n+8>>2]=e[s+8>>2],e[n+12>>2]=e[s+12>>2],fD(A,t,n),t=e[A>>2]|0,n=e[A+4>>2]|0):(t=-1,n=-1),e[r>>2]=t,e[r+4>>2]=n,g=c}function pc0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+16|0,n=o,r||H0(111208,98444,638,98551),e[47005]|0||(e[47005]=ct(20192,e[4589]|0)|0),t=aD(r)|0;e:do if(t)b9(t);else if(t=j0(64)|0,!t)t=0;else{if(i=t+8|0,e[i>>2]=un(0,r)|0,!((cD(t)|0)<<24>>24)){hD(t),t=0;break}e[t+20>>2]|0||H0(98545,98444,653,98551);do switch(kc0(t)|0){case 0:{if(r=mC(e[i>>2]|0)|0,e[t+52>>2]=r,!r){e[n>>2]=e[i>>2],$0(0,98568,n)|0,hD(t),t=0;break e}break}case 2:{vc0(t);break}case 3:{mc0(t);break}case 1:{gc0(t);break}case 4:{yc0(t);break}case 6:{Cc0(t);break}case 11:{Ec0(t);break}case 8:{Bc0(t);break}case 5:{Ic0(t);break}case 12:{xc0(t);break}default:}while(0);b9(t),n=e[47005]|0,oe[e[n>>2]&63](n,t,1)|0}while(0);return g=o,t|0}function hD(r){r=r|0;var t=0;t=e[r+8>>2]|0,t|0&&Ai(0,t)|0,r0(r)}function kc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+224|0,o=c+200|0,l=c,s=r+20|0,t=e[s>>2]|0;e:do if(t|0&&(QY(o,1,20,t)|0)==20){for(i=0;;){if(i>>>0>=10){A=13;break e}if(!(Q1(o,e[20228+(i<<4)>>2]|0,e[20228+(i<<4)+4>>2]|0)|0))break;i=i+1|0}switch(n=r+28|0,e[n>>2]=e[20228+(i<<4)+12>>2],t=e[20228+(i<<4)+8>>2]|0,r=r+24|0,e[r>>2]=t,i|0){case 7:break;case 8:{if(Q1(o+8|0,98784,4)|0)break e;e[n>>2]=98789,e[r>>2]=11,t=11;break e}default:break e}for(;;){if(!(tu(l,200,e[s>>2]|0)|0)){A=11;break}if(!(Q1(l,98779,4)|0)){A=8;break}}if((A|0)==8){e[n>>2]=101803,e[r>>2]=8,t=8;break}else if((A|0)==11){t=e[r>>2]|0;break}}else A=13;while(0);return(A|0)==13&&(e[r+28>>2]=98794,e[r+24>>2]=0,t=0),g=c,t|0}function vc0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+16|0,t=o+4|0,i=o,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,6,0)|0,(Zl(e[n>>2]|0,2,t)|0)<<24>>24&&(Zl(e[n>>2]|0,2,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2]),g=o}function mc0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+16|0,t=o+4|0,i=o,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,16,0)|0,(wo(e[n>>2]|0,4,t)|0)<<24>>24&&(wo(e[n>>2]|0,4,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2]),g=o}function gc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+16|0,t=s+12|0,i=s+8|0,n=s+4|0,o=s,e[r+48>>2]=0,l=r+20|0,T1(e[l>>2]|0,16,0)|0,(Zl(e[l>>2]|0,2,t)|0)<<24>>24&&(Zl(e[l>>2]|0,2,i)|0)<<24>>24&&(Zl(e[l>>2]|0,2,n)|0)<<24>>24&&(Zl(e[l>>2]|0,2,o)|0)<<24>>24&&(e[r+40>>2]=e[t>>2]<<16|e[i>>2],e[r+44>>2]=e[n>>2]<<16|e[o>>2]),g=s}function yc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+32|0,t=w+16|0,n=w+12|0,o=w+8|0,s=w+4|0,A=w,e[r+48>>2]=0,c=r+20|0;(wo(e[c>>2]|0,1,t)|0)<<24>>24;)if(i=e[t>>2]|0,(i|0)!=255&&!(Zr(98767,i)|0)){if((i|0)==192){f=6;break}if(l=e[c>>2]|0,(i|0)==194){f=11;break}if(!((wo(l,2,n)|0)<<24>>24))break;T1(e[c>>2]|0,(e[n>>2]|0)+-2|0,1)|0}(f|0)==6?(wo(e[c>>2]|0,3,A)|0)<<24>>24&&(wo(e[c>>2]|0,2,o)|0)<<24>>24&&(wo(e[c>>2]|0,2,s)|0)<<24>>24&&(e[r+44>>2]=e[o>>2],e[r+40>>2]=e[s>>2]):(f|0)==11&&(wo(l,3,A)|0)<<24>>24&&(wo(e[c>>2]|0,2,o)|0)<<24>>24&&(wo(e[c>>2]|0,2,s)|0)<<24>>24&&(e[r+44>>2]=e[o>>2],e[r+40>>2]=e[s>>2]),g=w}function Cc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+1056|0,c=w,t=w+32|0,n=w+28|0,o=w+24|0,l=w+20|0,s=w+16|0,e[r+48>>2]=72,A=r+20|0,T1(e[A>>2]|0,0,0)|0;tu(t,1024,e[A>>2]|0)|0;)if(i=s8(t,98752)|0,!!i&&(e[c>>2]=n,e[c+4>>2]=o,e[c+8>>2]=l,e[c+12>>2]=s,(X2(i,104311,c)|0)==4)){f=5;break}(f|0)==5&&(c=e[n>>2]|0,e[r+32>>2]=c,f=e[o>>2]|0,e[r+36>>2]=f,e[r+40>>2]=(e[l>>2]|0)-c,e[r+44>>2]=(e[s>>2]|0)-f),g=w}function Ec0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;l=g,g=g+16|0,t=l+4|0,i=l,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,15,0)|0,s=(VE(e[n>>2]|0)|0)==88,o=e[n>>2]|0,s?(T1(o,24,0)|0,(Zl(e[n>>2]|0,4,t)|0)<<24>>24&&(Zl(e[n>>2]|0,4,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2])):(T1(o,26,0)|0,(Zl(e[n>>2]|0,2,t)|0)<<24>>24&&(Zl(e[n>>2]|0,2,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2])),g=l}function Bc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;U=g,g=g+352|0,D=U+80|0,T=U+72|0,X=U+64|0,P=U+56|0,N=U+48|0,t=U+40|0,E=U+32|0,B=U+24|0,x=U+16|0,z=U+8|0,_=U,L=U+328|0,Z=U+128|0,W=U+96|0,e[47008]|0||(KB0(188036,98637,1)|0&&(e[t>>2]=98637,$0(1,98664,t)|0),e[47008]=188036),c=r+20|0,T1(e[c>>2]|0,0,0)|0,f=W+12|0,w=W+20|0,p=W+8|0,v=W+16|0,m=W+4|0,t=0,o=0,n=0,i=0;e:for(;tu(Z,200,e[c>>2]|0)|0;){if(o<<24>>24==0|t<<24>>24==0)l=Z,A=i;else break;r:for(;;){s=n;t:for(;;){for(;;){if(fI0(188036,l,4,W,0)|0){n=s,i=A;continue e}if(C[l+(e[f>>2]|0)>>0]=0,C[l+(e[w>>2]|0)>>0]=0,i=l+(e[p>>2]|0)|0,n=l+(e[v>>2]|0)|0,l=l+((e[m>>2]|0)+1)|0,!(ge(i,141116)|0))break;if(!(ge(i,141048)|0))break t;if(!(ge(i,98711)|0)&&(e[D>>2]=B,e[D+4>>2]=x,e[D+8>>2]=z,e[D+12>>2]=_,(X2(n,98719,D)|0)==4))break r}if(e[N>>2]=E,e[N+4>>2]=L,(X2(n,98701,N)|0)!=2?(e[P>>2]=E,(X2(n,101209,P)|0)==1?(i=1,n=Md(+u[E>>3],98708)|0):(i=o,n=s)):(i=1,n=Md(+u[E>>3],L)|0),!(t<<24>>24))t=0,o=i,s=n;else{o=i,i=A;continue e}}if(e[X>>2]=E,e[X+4>>2]=L,(X2(n,98701,X)|0)!=2?(e[T>>2]=E,(X2(n,101209,T)|0)==1?(t=1,i=Md(+u[E>>3],98708)|0):i=A):(t=1,i=Md(+u[E>>3],L)|0),!(o<<24>>24))o=0,n=s,A=i;else{n=s;continue e}}t=1,o=1,n=~~(+u[z>>3]+1-+u[B>>3])>>>0,i=~~(+u[_>>3]+1-+u[x>>3])>>>0}e[r+48>>2]=0,e[r+40>>2]=n,e[r+44>>2]=i,g=U}function Ic0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;i=g,g=g+32|0,t=i,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,0,0)|0,Sc0(e[n>>2]|0,t)|0||(l=+u[t>>3],e[r+32>>2]=~~l,o=+u[t+8>>3],e[r+36>>2]=~~o,e[r+40>>2]=~~(+u[t+16>>3]-l),e[r+44>>2]=~~(+u[t+24>>3]-o)),g=i}function xc0(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+16|0,t=o+4|0,i=o,e[r+48>>2]=0,n=r+20|0,T1(e[n>>2]|0,6,0)|0,(wo(e[n>>2]|0,1,t)|0)<<24>>24&&(wo(e[n>>2]|0,1,i)|0)<<24>>24&&(e[r+40>>2]=e[t>>2],e[r+44>>2]=e[i>>2]),g=o}function wo(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(e[i>>2]=0,n=0;;){if(n>>>0>=t>>>0){n=1;break}if(o=VE(r)|0,CY(r)|0){n=0;break}e[i>>2]=e[i>>2]<<8|o,n=n+1|0}return n|0}function Sc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+1040|0,i=s,n=s+16|0;;){if(!(tu(n,1024,r)|0)){r=1;break}if(o=s8(n,98627)|0,o|0){l=4;break}}return(l|0)==4&&(e[i+4>>2]=n,e[i>>2]=o+9,e[i+8>>2]=r,r=_c0(i,t)|0),g=s,r|0}function _c0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=g,g=g+1024|0,n=o,wD(r),i=C[e[r>>2]>>0]|0,i<<24>>24?i=i<<24>>24:i=(r7(r)|0)&255,(i|0)==91&&(e[r>>2]=(e[r>>2]|0)+1,Wd(r,n),(Dd(n,t)|0)==0)&&(Wd(r,n),(Dd(n,t+8|0)|0)==0)&&(Wd(r,n),(Dd(n,t+16|0)|0)==0)?(Wd(r,n),i=(Dd(n,t+24|0)|0)!=0&1):i=1,g=o,i|0}function wD(r){r=r|0;var t=0;for(t=e[r>>2]|0;t=C[t>>0]|0,t<<24>>24?t=t<<24>>24:t=(r7(r)|0)&255,!(!((t&255)<<24>>24)||!(cn(t&255)|0));)t=(e[r>>2]|0)+1|0,e[r>>2]=t}function r7(r){r=r|0;var t=0;return t=r+4|0,tu(e[t>>2]|0,1024,e[r+8>>2]|0)|0?(t=e[t>>2]|0,e[r>>2]=t,r=C[t>>0]|0):r=0,r|0}function Wd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(wD(r),i=0,n=e[r>>2]|0;n=C[n>>0]|0,n<<24>>24?o=n<<24>>24:o=(r7(r)|0)&255,n=o<<24>>24,!(!n||!((n|0)==46|(n+-48|0)>>>0<10));)if(C[t+i>>0]=o,i=i+1|0,n=(e[r>>2]|0)+1|0,e[r>>2]=n,(i|0)==1023){i=1023;break}C[t+i>>0]=0}function Dd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return n=g,g=g+16|0,o=n,i=+P1(r,o),(e[o>>2]|0)==(r|0)?r=1:(u[t>>3]=i,r=0),g=n,r|0}function Md(r,t){r=+r,t=t|0;var i=0;do if(!(ge(t,98735)|0))r=r*72,i=r,r=r>=0?.5:-.5;else{if(!(ge(t,98738)|0)){r=r*.75,i=r,r=r>=0?.5:-.5;break}if(!(ge(t,98741)|0)){r=r*12,i=r,r=r>=0?.5:-.5;break}if(ge(t,98708)|0&&ge(t,98744)|0){if(ge(t,98746)|0)return t=(ge(t,98749)|0)==0,i=r*2.8346456663999997,(t?~~(i+(i>=0?.5:-.5)):0)|0;r=r*28.346456664,i=r,r=r>=0?.5:-.5;break}i=r>=0?.5:-.5}while(0);return~~(r+i)|0}function Zl(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(e[i>>2]=0,n=0;;){if(n>>>0>=t>>>0){n=1;break}if(o=VE(r)|0,CY(r)|0){n=0;break}e[i>>2]=e[i>>2]|o<<(n<<3),n=n+1|0}return n|0}function zc0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;r=e[t+20>>2]|0,r|0&&Hf(r)|0,e[t+52>>2]|0&&(n=e[t+60>>2]|0,n|0)&&l2[n&127](t),r0(t)}function Lc0(){var r=0;return re(0,1,108224,105493)|0,r=Ac0(0,1)|0,Bi0(r,0),r|0}function t7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;return A=g,g=g+304|0,s=A+24|0,l=A+8|0,n=A,o=A+40|0,(DR(r,i)|0)!=999?(qt0(r,t)|0)==-1?r=-1:(r=e[t+16>>2]|0,i=r+16|0,C[(e[r+8>>2]|0)+81>>0]|0?(c=+u[r+24>>3],f=+u[i>>3],w=+u[r+40>>3],p=+u[r+32>>3],e[l>>2]=~~(c+(c>=0?.5:-.5)),e[l+4>>2]=~~(f+(f>=0?.5:-.5)),e[l+8>>2]=~~(w+(w>=0?.5:-.5)),e[l+12>>2]=~~(p+(p>=0?.5:-.5)),Ke(o,98899,l)|0):(p=+u[i>>3],w=+u[r+24>>3],f=+u[r+32>>3],c=+u[r+40>>3],e[s>>2]=~~(p+(p>=0?.5:-.5)),e[s+4>>2]=~~(w+(w>=0?.5:-.5)),e[s+8>>2]=~~(f+(f>=0?.5:-.5)),e[s+12>>2]=~~(c+(c>=0?.5:-.5)),Ke(o,98899,s)|0),nW(t,102671,o,195059)|0,r=0):(r=uD(r,1,i)|0,e[n>>2]=i,e[n+4>>2]=r,$0(1,111233,n)|0,r=-1),g=A,r|0}function Rc0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return A=g,g=g+16|0,l=A,o=e[t+60>>2]|0,K9(r,i)|0,t=e[r+164>>2]|0,e[t+56>>2]=Vw(t,e[t+52>>2]|0)|0,$e(o,137483,0,1)|0&&e[(e[o+16>>2]|0)+8>>2]|0||e[t+152>>2]&67108864?s=5:(md(98911,l),t=-1),(s|0)==5&&(e[t+36>>2]=n,n||(s=t+152|0,e[s>>2]=e[s>>2]|134217728),s=eC(r,o)|0,Ow(t),Zd(r),t=s),g=A,t|0}function Gc0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return A=g,g=g+16|0,l=A,o=e[t+60>>2]|0,K9(r,i)|0,t=e[r+164>>2]|0,e[t+56>>2]=Vw(t,e[t+52>>2]|0)|0,$e(o,137483,0,1)|0&&e[(e[o+16>>2]|0)+8>>2]|0||e[t+152>>2]&67108864?s=5:(md(98911,l),t=-1),(s|0)==5&&(cc0(r,n),s=eC(r,o)|0,Ow(t),sD(t),Zd(r),t=s),g=A,t|0}function Zc0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0;w=g,g=g+16|0,s=w+8|0,l=w,t=e[t+60>>2]|0,K9(r,i)|0,c=e[r+164>>2]|0,e[c+56>>2]=Vw(c,e[c+52>>2]|0)|0,$e(t,137483,0,1)|0&&e[(e[t+16>>2]|0)+8>>2]|0||e[c+152>>2]&67108864?f=5:(md(98911,l),t=-1);do if((f|0)==5){if(n|0&&(A=Te(4096)|0,e[n>>2]=A,A|0)){l=c+40|0,e[l>>2]=A,e[c+44>>2]=4096,i=c+48|0,e[i>>2]=0,t=eC(r,t)|0,Ow(c),t||(e[n>>2]=e[l>>2],e[o>>2]=e[i>>2]),Zd(r);break}$0(1,98932,s)|0,t=-1}while(0);return g=w,t|0}function i7(r,t){r=r|0,t=t|0,NR(r,0,t)}function Wc0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;U=g,g=g+4288|0,D=U+8|0,T=U,P=4,X=Te(40)|0,e[X>>2]=0,Z=U+4152|0,W=U+4148|0,N=U+4128|0,A=U+4112|0,c=U+16|0,v0=0,s=gt(24,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1;e:do if((l|0)!=1){if(!s){e[t>>2]=0,o=0;break}if(v0=0,w=Yt(29,i|0,W|0,Z|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)!=1)if(v0=0,f=gt(23,40)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)!=1)if(v0=0,F3(7,N|0,A|0,c|0,24,85),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)!=1)if(v0=0,i=gt(25,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)!=1){for(A=N+16|0,s=e[A>>2]|0,o=i;o;){if(v0=0,nt(s|0,o|0,0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(i=se(e[l>>2]|0,X|0,P|0)|0,i||ie(l|0,g0|0),b=g0):i=-1,(i|0)==1){L=0,_=A,z=f,x=w,o=b,f=15;break e}if(v0=0,o=nt(86,r|0,o|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(i=se(e[l>>2]|0,X|0,P|0)|0,i||ie(l|0,g0|0),b=g0):i=-1,(i|0)==1){L=0,_=A,z=f,x=w,o=b,f=15;break e}}X=il(188068,1,X|0,P|0)|0,P=b,v0=0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1?(L=f,_=A,z=f,x=w,o=b,f=15):(L=f,_=A,z=f,x=w,o=0,f=15)}else L=0,_=0,z=f,x=w,o=b,f=15;else L=0,_=0,z=f,x=w,o=b,f=15;else L=0,_=0,z=f,x=w,o=b,f=15;else L=0,_=0,z=0,x=w,o=b,f=15}else L=0,_=0,z=0,x=0,o=b,f=15;while(0);do if((f|0)==15){e:for(;;){r:do if(o)f=1,c=0,w=L,A=0,s=z,i=z;else{if(v0=0,i=gt(25,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}for(B=x+(e[W>>2]|0)|0,c=0,f=0,A=0;i;){if(v0=0,o=nt(e[_>>2]|0,i|0,-1)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,X|0,P|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}if(!(o|0)&&(C[(e[i+16>>2]|0)+119>>0]|0)==3){if(f)s=f;else{if(v0=0,e[T>>2]=A,Yt(30,B|0,137395,T|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}if(v0=0,s=Yt(31,r|0,x|0,1)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}if(v0=0,Oc(53,s|0,137483,280,1)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}e[L+(A<<2)>>2]=s,c=1,A=A+1|0}if(v0=0,Oc(54,r|0,i|0,s|0,N|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}}else s=f;if(v0=0,i=nt(86,r|0,i|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}f=s}if(v0=0,i=gt(25,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}for(s=10,w=L,p=z,v=z,E=z;;){if(!i){f=0,s=v,i=E;break r}if(v0=0,o=nt(e[_>>2]|0,i|0,-1)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(f=se(e[l>>2]|0,X|0,P|0)|0,f||ie(l|0,g0|0),b=g0):f=-1,(f|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}if(o)f=E;else{if(v0=0,e[D>>2]=A,Yt(30,B|0,137395,D|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}if(v0=0,m=Yt(31,r|0,x|0,1)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}if(v0=0,Oc(53,m|0,137483,280,1)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(o=se(e[l>>2]|0,X|0,P|0)|0,o||ie(l|0,g0|0),b=g0):o=-1,(o|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}if(v0=0,Oc(54,r|0,i|0,m|0,N|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}if((A|0)==(s|0)){if(s=A<<1,v0=0,f=nt(87,p|0,A<<3|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}o=f,p=f,v=f,l=f}else o=w,l=E;e[o+(A<<2)>>2]=m,w=o,A=A+1|0,f=l}if(v0=0,i=nt(86,r|0,i|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}E=f}}while(0);if(v0=0,Tr(108,N|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue}if((x|0)!=(Z|0)&&(v0=0,Tr(105,x|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue}if(!f)if(v0=0,o=nt(87,i|0,A<<2|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(i=se(e[l>>2]|0,X|0,P|0)|0,i||ie(l|0,g0|0),b=g0):i=-1,(i|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue}else{f=58;break}for(e[t>>2]=0,o=0;!((o|0)>=(A|0));){if(v0=0,gt(26,e[w+(o<<2)>>2]|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(i=se(e[l>>2]|0,X|0,P|0)|0,i||ie(l|0,g0|0),b=g0):i=-1,(i|0)==1){m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;continue e}o=o+1|0}if(v0=0,Tr(105,s|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,X|0,P|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)m=x,E=z,B=_,f=L,o=b,x=m,z=E,_=B,L=f,f=15;else{f=56;break}}if((f|0)==56){o=0;break}else if((f|0)==58){e[t>>2]=A,C[n>>0]=c;break}}while(0);return r0(X|0),g=U,o|0}function dD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return r|0&&Qc0(r)|0||(r=98988),n=d2(r)|0,(n|0)>=104?(i=_0(n+25|0)|0,i?o=6:i=0):o=6,(o|0)==6&&(yo(i,r)|0,e[t>>2]=n),i|0}function Dc0(r,t){r=r|0,t=t|0,ft(t,r,1)|0}function Mc0(r,t){r=r|0,t=t|0;var i=0;return r=(e[r+16>>2]|0)+157|0,i=C[r>>0]|0,(t|0)>=0&&(C[r>>0]=t),i|0}function pD(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,e[t>>2]=i,e[t+4>>2]=i+4096,e[t+12>>2]=0,e[t+8>>2]=0,e[r>>2]=t,e[r+4>>2]=t,e[r+8>>2]=i,e[r+12>>2]=n,e[r+16>>2]=o}function kD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;mD(n,t),A=n+12|0,c=n+16|0,t=0;e:for(;f=Nc0(n)|0,!!f;)for(t=t+1|0,o=e[A>>2]|0,o|0&&Bt[o&63](f,i),s=Xr(r,f)|0;;){if(!s)continue e;l=e[s>>2]&3,o=e[((l|0)==3?s:s+48|0)+40>>2]|0,(o|0)==(f|0)&&(o=e[((l|0)==2?s:s+-48|0)+40>>2]|0),ke[e[c>>2]&127](o,-1)|0||mD(n,o),s=ot(r,s,f)|0}return t|0}function vD(r){r=r|0;var t=0;for(r=e[(e[r>>2]|0)+12>>2]|0;r;)t=e[r+12>>2]|0,jc0(r),r=t}function jc0(r){r=r|0,r0(e[r>>2]|0),r0(r)}function mD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(f=g,g=g+16|0,c=f+8|0,o=f,l=r+8|0,A=r+4|0,i=e[A>>2]|0,(e[l>>2]|0)==(e[i+4>>2]|0)){i=e[i+12>>2]|0;do if(i)s=i;else if(n=_0(16)|0,n||($0(1,98969,o)|0,ie(188068,1)),e[n+8>>2]=e[A>>2],e[n+12>>2]=0,i=_0(4e6)|0,e[n>>2]=i,!i)$0(1,98969,c)|0,ie(188068,1);else{e[n+4>>2]=i+4e6,e[(e[A>>2]|0)+12>>2]=n,s=n;break}while(0);e[A>>2]=s,e[l>>2]=e[s>>2]}ke[e[r+16>>2]&127](t,1)|0,c=e[l>>2]|0,e[l>>2]=c+4,e[c>>2]=t,g=f}function Nc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return o=r+8|0,t=e[o>>2]|0,i=r+4|0,n=e[i>>2]|0,(t|0)==(e[n>>2]|0)?(n|0)==(e[r>>2]|0)?t=0:(t=e[n+8>>2]|0,e[i>>2]=t,t=e[t+4>>2]|0,e[o>>2]=t,l=4):l=4,(l|0)==4&&(t=t+-4|0,e[o>>2]=t,t=e[t>>2]|0),t|0}function Qc0(r){r=r|0;var t=0;e:for(;;){switch(t=r,r=r+1|0,t=C[t>>0]|0,t<<24>>24){case 95:continue e;case 0:{r=1;break e}default:}if(!(Ma(t&255)|0)){r=0;break}}return r|0}function n7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;N=g,g=g+4272|0,L=N,Z=4,W=Te(40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g0|0),b=g0):i=-1,(i|0)==1?(B=s,E=c,m=f,n=b,c=14):(B=s,E=c,m=f,n=0,c=14)}else B=0,E=c,m=f,n=b,c=14;else B=0,E=c,m=f,n=b,c=14;else B=0,E=c,m=f,n=b,c=14;else B=0,E=0,m=f,n=b,c=14;else i=0,n=0;else B=0,E=0,m=0,n=b,c=14;while(0);e:do if((c|0)==14){r:for(;;){if(n|0){if(v0=0,Tr(108,_|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,W|0,Z|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue}if(v0=0,Tr(105,E|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,W|0,Z|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue}if((m|0)==(x|0)){i=0,n=0;break e}if(v0=0,Tr(105,m|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,W|0,Z|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue}else{c=19;break}}if(v0=0,o=gt(25,r|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(i=se(e[n>>2]|0,W|0,Z|0)|0,i||ie(n|0,g0|0),b=g0):i=-1,(i|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue}for(v=m+(e[z>>2]|0)|0,s=10,f=E,n=0,c=E,p=E;o;){if(v0=0,i=nt(e[B>>2]|0,o|0,-1)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(A=se(e[l>>2]|0,W|0,Z|0)|0,A||ie(l|0,g0|0),b=g0):A=-1,(A|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue r}if(i)A=p;else{if(v0=0,e[L>>2]=n,Yt(30,v|0,137395,L|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,Z|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue r}if(v0=0,w=Yt(31,r|0,m|0,1)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,Z|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue r}if(v0=0,Oc(53,w|0,137483,280,1)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,Z|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue r}if(v0=0,Oc(54,r|0,o|0,w|0,_|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,Z|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue r}if((n|0)==(s|0)){if(s=n<<1,v0=0,A=nt(87,c|0,n<<3|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,Z|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue r}l=A,c=A,i=A}else l=f,i=p;e[l+(n<<2)>>2]=w,n=n+1|0,f=l,A=i}if(v0=0,o=nt(86,r|0,o|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(l=se(e[i>>2]|0,W|0,Z|0)|0,l||ie(i|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue r}p=A}if(v0=0,Tr(108,_|0),i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(o=se(e[i>>2]|0,W|0,Z|0)|0,o||ie(i|0,g0|0),b=g0):o=-1,(o|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue}if(v0=0,i=nt(87,p|0,n<<2|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,W|0,Z|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;continue}if((m|0)==(x|0))break e;if(v0=0,Tr(105,m|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,W|0,Z|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)p=m,v=E,c=B,n=b,m=p,E=v,B=c,c=14;else{c=39;break}}if((c|0)==19){i=0,n=0;break}else if((c|0)==39)break}while(0);return e[t>>2]=n,r0(W|0),g=N,i|0}function gD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0,o=U0(r)|0;o;){for(n=Me(t,o)|0;n;)ft(r,e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,0)|0&&(gs(r,n,1)|0,i=i+1|0),n=Qe(t,n)|0;o=X0(r,o)|0}return i|0}function yD(r){if(r=r|0,r=lt(r,98993,0)|0,!r)H0(98998,99001,529,99010);else return e[r+8>>2]|0;return 0}function Tc0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;if(z=g,g=g+4320|0,B=z+24|0,E=z+8|0,m=z,x=z+4184|0,v=z+4160|0,n=z+40|0,v2(r)|0){for(Ll(r,0,99019,-12,0),Ll(r,1,99031,16,0),p=dD(i,n,x)|0,c=Fc0(r)|0,f=_0((v2(c)|0)<<2)|0,pD(v,z+4144|0,z+48|0,24,88),l=U0(c)|0,w=v+16|0,s=p+(e[n>>2]|0)|0,A=e[15712]|0,i=0;l;)ke[e[w>>2]&127](l,-1)|0||(e[m>>2]=i,Ke(s,99933,m)|0,_=ji(c,p,1)|0,L=ji(r,p,1)|0,$e(L,99019,12,0)|0,C[(lt(L,99019,0)|0)+8>>0]=1,n=kD(c,l,_,v)|0,Yc0(_,L),o=af(L)|0,Vc0(r,L),e[f+(i<<2)>>2]=L,zn(c,_)|0,i=i+1|0),l=X0(c,l)|0;Di(c)|0,ha(r,0,99019),ha(r,1,99031),vD(v),n=Ve(f,i<<2)|0,(p|0)!=(x|0)&&r0(p)}else n=0,i=0;return e[t>>2]=i,g=z,n|0}function Fc0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,C[l>>0]=C[18596]|0,C[l+1>>0]=C[18597]|0,C[l+2>>0]=C[18598]|0,C[l+3>>0]=C[18599]|0,l=w1(99120,l,0)|0,ED(l,r),t=U0(r)|0;t;)e[(lt(t,99031,0)|0)+12>>2]|0||(o=ht(l,te(t)|0,1)|0,$e(o,99031,16,1)|0,e[(e[o+16>>2]|0)+12>>2]=t,e[(lt(t,99031,0)|0)+12>>2]=o),t=X0(r,t)|0;for(i=U0(r)|0;i;){for(n=e[(lt(i,99031,0)|0)+12>>2]|0,t=Me(r,i)|0;t;){o=e[(lt(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,99031,0)|0)+12>>2]|0;do if((o|0)!=(n|0))if(o>>>0>n>>>0){rr(l,n,o,0,1)|0;break}else{rr(l,o,n,0,1)|0;break}while(0);t=Qe(r,t)|0}i=X0(r,i)|0}return g=s,l|0}function Pc0(r,t){r=r|0,t=t|0;var i=0;return r=(e[r+16>>2]|0)+8|0,i=C[r>>0]|0,(t|0)>=0&&(C[r>>0]=t),i|0}function Yc0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(n=U0(r)|0;n;){o=e[(e[n+16>>2]|0)+12>>2]|0;e:do if((e[o>>2]&3|0)==1)ft(t,o,1)|0;else for(i=U0(o)|0;;){if(!i)break e;ft(t,i,1)|0,i=X0(o,i)|0}while(0);n=X0(r,n)|0}}function af(r){return r=r|0,gD(r,e[r+60>>2]|0)|0}function Vc0(r,t){r=r|0,t=t|0,CD(r,t,0)}function CD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(l=(i|0)==0,r=yt(r)|0;r;)!(C[(lt(r,99019,0)|0)+8>>0]|0)&&(o=Oc0(r,t,i)|0,o|0)&&(l?n=(Yr(te(r)|0,108006,7)|0)==0:n=1,CD(r,o,n&1)),r=Ct(r)|0}function Oc0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(n=0,l=U0(r)|0;l;)o=ht(t,te(l)|0,0)|0,o&&(n||(n=ji(t,te(r)|0,1)|0),ft(n,o,1)|0),l=X0(r,l)|0;return(i|0)!=0&(n|0)==0&&(n=ji(t,te(r)|0,1)|0),n|0&&(gD(n,r)|0,Cd(r,n)|0,(Yr(te(n)|0,108006,7)|0)==0)&&(e[($e(n,98993,12,0)|0)+8>>2]=r),n|0}function ED(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(s=g,g=g+16|0,l=s,i=yt(t)|0,n=e[15712]|0;i;){e:do if(Yr(te(i)|0,108006,7)|0)ED(r,i);else for(o=ht(r,te(i)|0,1)|0,$e(o,99031,16,1)|0,e[(e[o+16>>2]|0)+12>>2]=i,t=U0(i)|0;;){if(!t)break e;e[(lt(t,99031,0)|0)+12>>2]|0&&(f=te(t)|0,c=te(i)|0,A=te(e[(lt(t,99031,0)|0)+12>>2]|0)|0,e[l>>2]=f,e[l+4>>2]=c,e[l+8>>2]=A,A2(n,99123,l)|0),e[(lt(t,99031,0)|0)+12>>2]=o,t=X0(i,t)|0}while(0);i=Ct(i)|0}g=s}function jd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=+u[r>>3],c=~~(v+(v>=0?.5:-.5)),v=+u[r+8>>3],r=~~(v+(v>=0?.5:-.5)),v=+u[t>>3],s=~~(v+(v>=0?.5:-.5)),v=+u[t+8>>3],l=~~(v+(v>=0?.5:-.5)),w=s-c|0,A=((w|0)>-1?w:0-w|0)<<1,w=w>>31|1,p=l-r|0,f=((p|0)>-1?p:0-p|0)<<1,p=p>>31|1;e:do if((A|0)>(f|0))for(o=0-A|0,n=f-(A>>1)|0,t=c;;){if(GA(i,t,r),(t|0)==(s|0))break e;c=(n|0)>-1,n=n+f+(c?o:0)|0,t=t+w|0,r=(c?p:0)+r|0}else for(o=0-f|0,n=c,t=A-(f>>1)|0;;){if(GA(i,n,r),(r|0)==(l|0))break e;f=(t|0)>-1,n=(f?w:0)+n|0,t=t+A+(f?o:0)|0,r=r+p|0}while(0)}function BD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+16|0,f=p,c=p+4|0;do if((r|0)<1)i=0;else{if(o=n+16|0,(e[o>>2]|0)>>>0<4){i=Hc0(r,t,i,n)|0;break}for(w=_0(r<<5)|0,i=0;(i|0)!=(r|0);)l=e[t+(i<<2)>>2]|0,MA(l),s=w+(i<<5)|0,l=(e[l+16>>2]|0)+16|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],e[s+16>>2]=e[l+16>>2],e[s+20>>2]=e[l+20>>2],e[s+24>>2]=e[l+24>>2],e[s+28>>2]=e[l+28>>2],i=i+1|0;if((e[o>>2]|0)==4){s=n+28|0;e:do if(e[s>>2]&2|0)for(o=n+24|0,e[o>>2]=j0(r<<2)|0,i=0;;){if((i|0)==(r|0))break e;l=he(e[t+(i<<2)>>2]|0,99190)|0,l|0&&(e[f>>2]=c,l=(X2(l,137395,f)|0)>0,A=e[c>>2]|0,l&(A|0)>-1)&&(e[(e[o>>2]|0)+(i<<2)>>2]=A),i=i+1|0}while(0);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<3)|0,p,e[w>>2]|0,v)),l=l+1|0}}else for(l=0;;){if((l|0)>=(r|0))break r;P=e[s+(l<<2)>>2]|0,o7(l,P,A,o+(e[P+12>>2]<<3)|0,p,e[w>>2]|0,v),l=l+1|0}while(0);for(r0(s),l=0;!((l|0)>=(r|0));)r0(e[c+(l<<4)+4>>2]|0),l=l+1|0;r0(c),If(A),r0(v)}else o=0}else o=0;while(0);return g=F,o|0}function ID(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;N=g,g=g+16|0,l=N,Z=j0(r<<3)|0,o=e[i+4>>2]|0,W=i+28|0,n=(o|0)>0;do if(e[W>>2]&1)if(n){c=0,L=o,o=(r+-1+o|0)/(o|0)|0;break}else{o=~~+mt(+ +G0(+ +(r|0))),c=0,L=o,o=(r+-1+o|0)/(o|0)|0;break}else if(n){c=1,L=(r+-1+o|0)/(o|0)|0;break}else{o=~~+mt(+ +G0(+ +(r|0))),c=1,L=(r+-1+o|0)/(o|0)|0;break}while(0);for(x=j0((o<<3)+8|0)|0,z=j0((L<<3)+8|0)|0,_=j0(r*24|0)|0,A=i+8|0,n=0,l=_;!((n|0)>=(r|0));)v=+u[t+(n<<5)+8>>3],p=+u[t+(n<<5)+24>>3],m=+((e[A>>2]|0)>>>0),u[l>>3]=+u[t+(n<<5)+16>>3]-+u[t+(n<<5)>>3]+m,u[l+8>>3]=p-v+m,e[l+16>>2]=n,n=n+1|0,l=l+24|0;for(B=j0(r<<2)|0,n=0;!((n|0)>=(r|0));)e[B+(n<<2)>>2]=_+(n*24|0),n=n+1|0;for(n=e[i+24>>2]|0,n?(e[47056]=n,ei(B,r,4,90)):e[W>>2]&64||ei(B,r,4,91),E=(c|0)==0,n=0,l=0,A=0;;){if((A|0)>=(r|0)){s=0,n=0;break}c=e[B+(A<<2)>>2]|0,i=x+(l<<3)|0,m=+u[i>>3],v=+u[c>>3],u[i>>3]=m>v?m:v,i=z+(n<<3)|0,v=+u[i>>3],m=+u[c+8>>3],u[i>>3]=v>m?v:m,E?(n=n+1|0,i=(n|0)==(L|0),n=i?0:n,l=l+(i&1)|0):(l=l+1|0,i=(l|0)==(o|0),n=n+(i&1)|0,l=i?0:l),A=A+1|0}for(;;){if((n|0)>(o|0)){s=0,n=L;break}i=x+(n<<3)|0,m=+u[i>>3],u[i>>3]=s,s=m+s,n=n+1|0}for(;!((n|0)<=0);)i=n+-1|0,m=+u[z+(i<<3)>>3],u[z+(n<<3)>>3]=s,s=m+s,n=i;for(u[z>>3]=s,n=0,l=0,i=0;!((i|0)>=(r|0));){c=e[(e[B+(i<<2)>>2]|0)+16>>2]|0,s=+u[t+(c<<5)>>3],f=-s,v=+u[t+(c<<5)+8>>3],m=-v,w=+u[t+(c<<5)+16>>3],p=+u[t+(c<<5)+24>>3],A=e[W>>2]|0;do if(A&4)s=+u[x+(l<<3)>>3];else if(A&8){s=s-w+ +u[x+(l+1<<3)>>3];break}else{s=(f-w+ +u[x+(l<<3)>>3]+ +u[x+(l+1<<3)>>3])*.5;break}while(0);e[Z+(c<<3)>>2]=~~s;do if(A&16)s=v-p+ +u[z+(n<<3)>>3];else if(A&32){s=+u[z+(n+1<<3)>>3];break}else{s=(m-p+ +u[z+(n<<3)>>3]+ +u[z+(n+1<<3)>>3])*.5;break}while(0);e[Z+(c<<3)+4>>2]=~~s,E?(n=n+1|0,c=(n|0)==(L|0),n=c?0:n,l=l+(c&1)|0):(l=l+1|0,c=(l|0)==(o|0),n=n+(c&1)|0,l=c?0:l),i=i+1|0}return r0(_),r0(B),r0(x),r0(z),g=N,Z|0}function Jc0(r,t){r=r|0,t=t|0;var i=0;return i=e[47056]|0,r=e[i+(e[(e[r>>2]|0)+16>>2]<<2)>>2]|0,t=e[i+(e[(e[t>>2]|0)+16>>2]<<2)>>2]|0,((r|0)>(t|0)?1:((r|0)<(t|0))<<31>>31)|0}function Uc0(r,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16|0,A=c,f=e[r+4>>2]|0,l=e[r+8>>2]|0,e[i>>2]=0-(e[n>>2]|0),o=i+4|0,e[o>>2]=0-(e[n+4>>2]|0),r=0,n=f;!((r|0)>=(l|0));)e[s>>2]=e[n>>2],e[s+4>>2]=e[n+4>>2],TN(t,s),r=r+1|0,n=n+8|0;g=c}function o7(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;c=e[t+12>>2]|0,f=+u[s+(c<<5)>>3],w=+u[s+(c<<5)+8>>3],p=+u[s+(c<<5)+16>>3],v=+u[s+(c<<5)+24>>3],!(r|0)&&(E=+(l<<1|0),m=+(o|0),(po((~~+mt(+((E-f+p)/m))|0)/-2|0,(~~+mt(+((E-w+v)/m))|0)/-2|0,t,i,n,o,s)|0)!=0)||(A=3);e:do if((A|0)==3&&!(po(0,0,t,i,n,o,s)|0))if((~~+mt(+(p-f))|0)<(~~+mt(+(v-w))|0))for(c=1;;){for(A=0-c|0,r=0;;){if((r|0)<=(A|0)){l=A;break}if(po(A,r,t,i,n,o,s)|0)break e;r=r+-1|0}for(;!((l|0)>=(c|0));){if(po(l,r,t,i,n,o,s)|0)break e;l=l+1|0}for(;!((r|0)>=(c|0));){if(po(l,r,t,i,n,o,s)|0)break e;r=r+1|0}for(;!((l|0)<=(A|0));){if(po(l,r,t,i,n,o,s)|0)break e;l=l+-1|0}for(;!((r|0)<=0);)if(!(po(l,r,t,i,n,o,s)|0))r=r+-1|0;else break e;c=c+1|0}else for(c=1;;){for(A=0-c|0,r=0;;){if((r|0)>=(c|0)){l=A;break}if(po(r,A,t,i,n,o,s)|0)break e;r=r+1|0}for(;!((l|0)>=(c|0));){if(po(r,l,t,i,n,o,s)|0)break e;l=l+1|0}for(;!((r|0)<=(A|0));){if(po(r,l,t,i,n,o,s)|0)break e;r=r+-1|0}for(;!((l|0)<=(A|0));){if(po(r,l,t,i,n,o,s)|0)break e;l=l+-1|0}for(;!((r|0)>=0);)if(!(po(r,l,t,i,n,o,s)|0))r=r+1|0;else break e;c=c+1|0}while(0)}function po(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;for(x=g,g=g+48|0,E=x+32|0,B=x+8|0,m=x,f=i+4|0,p=e[i+8>>2]|0,v=m+4|0,A=e[f>>2]|0,c=0;;){if((c|0)>=(p|0)){w=5;break}if(_=A,z=e[_+4>>2]|0,e[m>>2]=(e[_>>2]|0)+r,e[v>>2]=z+t,e[E>>2]=e[m>>2],e[E+4>>2]=e[m+4>>2],Ep0(n,E)|0){A=0;break}A=A+8|0,c=c+1|0}if((w|0)==5){for(i=e[i+12>>2]|0,Z=+u[s+(i<<5)>>3],L=+u[s+(i<<5)+8>>3],e[o>>2]=(N0(l,r)|0)-~~(Z+(Z>=0?.5:-.5)),i=o+4|0,e[i>>2]=(N0(l,t)|0)-~~(L+(L>=0?.5:-.5)),A=e[f>>2]|0,c=0;!((c|0)>=(p|0));)z=A,_=e[z+4>>2]|0,e[m>>2]=(e[z>>2]|0)+r,e[v>>2]=_+t,e[E>>2]=e[m>>2],e[E+4>>2]=e[m+4>>2],TN(n,E),A=A+8|0,c=c+1|0;0>1||(A=1)}return g=x,A|0}function _D(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(e[t+4>>2]|0)-(e[i+4>>2]|0)|0,e[r>>2]=(e[t>>2]|0)-(e[i>>2]|0),e[r+4>>2]=n}function zD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(e[i+4>>2]|0)+(e[t+4>>2]|0)|0,e[r>>2]=(e[i>>2]|0)+(e[t>>2]|0),e[r+4>>2]=n}function l7(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,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>2],e[Z+4>>2]=e[N+4>>2],e[Z+8>>2]=e[N+8>>2],e[Z+12>>2]=e[N+12>>2],jd(L,Z,i)),s=s+1|0,f=e[(e[z>>2]|0)+8>>2]|0}else _=4;while(0);(_|0)==4&&(Gp(w,e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0),e[N>>2]=e[w>>2],e[N+4>>2]=e[w+4>>2],e[N+8>>2]=e[w+8>>2],e[N+12>>2]=e[w+12>>2],A=+u[N>>3]+ +(n|0),u[N>>3]=A,f=N+8|0,c=+u[f>>3]+ +(o|0),u[f>>3]=c,A>=0?A=A/+(l|0):A=(A+1)/+(l|0)+-1,u[N>>3]=A,c>=0?A=c/+(l|0):A=(c+1)/+(l|0)+-1,u[f>>3]=A,e[L>>2]=e[W>>2],e[L+4>>2]=e[W+4>>2],e[L+8>>2]=e[W+8>>2],e[L+12>>2]=e[W+12>>2],e[Z>>2]=e[N>>2],e[Z+4>>2]=e[N+4>>2],e[Z+8>>2]=e[N+8>>2],e[Z+12>>2]=e[N+12>>2],jd(L,Z,i)),g=T}function Kc0(r,t,i){r=r|0,t=t|0,i=i|0;e:do if((r|0)<1)r=0;else switch(e[i+16>>2]|0){case 4:{r=ID(r,t,i)|0;break e}case 3:{r=bc0(r,t,i)|0;break e}default:{r=0;break e}}while(0);return r|0}function bc0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;p=g,g=g+80|0,l=p+64|0,o=p+24|0,w=p+8|0,n=p,s=p+56|0,c=i+8|0,f=xD(r,t,e[c>>2]|0)|0;do if((f|0)>=1){for(e[s+4>>2]=0,e[s>>2]=0,A=j0(r<<4)|0,i=0;!((i|0)>=(r|0));)e[A+(i<<4)+12>>2]=i,v=t+(i<<5)|0,n=e[c>>2]|0,e[o>>2]=e[v>>2],e[o+4>>2]=e[v+4>>2],e[o+8>>2]=e[v+8>>2],e[o+12>>2]=e[v+12>>2],e[o+16>>2]=e[v+16>>2],e[o+20>>2]=e[v+20>>2],e[o+24>>2]=e[v+24>>2],e[o+28>>2]=e[v+28>>2],e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],SD(o,A+(i<<4)|0,f,n,l,195059),i=i+1|0;for(o=j0(r<<2)|0,i=0;!((i|0)>=(r|0));)e[o+(i<<2)>>2]=A+(i<<4),i=i+1|0;for(ei(o,r,4,89),l=Bf()|0,i=j0(r<<3)|0,n=0;!((n|0)>=(r|0));)v=e[o+(n<<2)>>2]|0,o7(n,v,l,i+(e[v+12>>2]<<3)|0,f,e[c>>2]|0,t),n=n+1|0;for(r0(o),n=0;!((n|0)>=(r|0));)r0(e[A+(n<<4)+4>>2]|0),n=n+1|0;r0(A),If(l)}else i=0;while(0);return g=p,i|0}function ef0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;e:do if((r|0)<1)o=0-r|0;else for(x=(n|0)==0,E=(o|0)==0,A=0;;){if((A|0)==(r|0)){o=0;break e}for(B=e[t+(A<<2)>>2]|0,l=x?B:n,c=e[i+(A<<3)>>2]|0,f=e[i+(A<<3)+4>>2]|0,w=+(c|0),p=w*.013888888888888888,v=+(f|0),m=v*.013888888888888888,s=U0(B)|0;s;){o=e[s+16>>2]|0,z=e[o+132>>2]|0,u[z>>3]=+u[z>>3]+p,z=z+8|0,u[z>>3]=+u[z>>3]+m,z=o+16|0,u[z>>3]=+u[z>>3]+w,z=o+24|0,u[z>>3]=+u[z>>3]+v,o=e[o+108>>2]|0,o|0&&(z=o+56|0,u[z>>3]=+u[z>>3]+w,z=o+64|0,u[z>>3]=+u[z>>3]+v);r:do if(!E)for(o=Me(l,s)|0;;){if(!o)break r;rf0(o,c,f),o=Qe(l,o)|0}while(0);s=X0(B,s)|0}LD(B,c,f),A=A+1|0}while(0);return o|0}function rf0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l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]=e[p+8>>2],e[f+12>>2]=e[p+12>>2],e[f+16>>2]=e[p+16>>2],e[f+20>>2]=e[p+20>>2],e[f+24>>2]=e[p+24>>2],e[f+28>>2]=e[p+28>>2]}return g=v,w|0}function cf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;return l=g,g=g+16|0,o=l,n||H0(99534,99540,1400,99547),i=Qd(r,i,i)|0,e[n+8>>2]=i,e[n+12>>2]=0,e[n+20>>2]=0,s7(r,t,n)|0,g=l,e[n+16>>2]|0}function Qd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,l=s,n=s+4|0,o=he(r,99689)|0;e:do if(o)if(e[l>>2]=n,l=(X2(o,137395,l)|0)==1,r=e[n>>2]|0,l&(r|0)>-1)t=r;else{switch(C[o>>0]|0){case 84:case 116:break;default:break e}t=i}while(0);return g=s,t|0}function s7(r,t,i){return r=r|0,t=t|0,i=i|0,tf0(he(r,99572)|0,t,i)|0}function tf0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;B=g,g=g+64|0,v=B+40|0,p=B+32|0,E=B+24|0,m=B+16|0,A=B+8|0,s=B,o=B+48|0,l=B+44|0,i||H0(99534,99540,1292,99581),f=i+28|0,e[f>>2]=0,w=i+16|0,e[w>>2]=t,c=i+4|0,e[c>>2]=0,e[i+24>>2]=0;e:do if(r|0&&(n=C[r>>0]|0,n<<24>>24))switch(n<<24>>24|0){case 97:if(Yr(r,99599,5)|0){if(Yr(r,99605,6)|0)break e;e[w>>2]=5,e[A>>2]=o,A=(X2(r+5|0,99612,A)|0)>0,x=+x0[o>>2],x0[i>>2]=A&x>0?x:1;break e}else{if(e[w>>2]=4,A=if0(r+5|0,i)|0,e[s>>2]=l,A=(X2(A,137395,s)|0)>0,t=e[l>>2]|0,!(A&(t|0)>0))break e;e[c>>2]=t;break e}case 99:{if(n<<24>>24!=99||ge(r,108006)|0)break e;e[w>>2]=1;break e}case 103:{if(n<<24>>24!=103||ge(r,111494)|0)break e;e[w>>2]=3;break e}case 110:{if(n<<24>>24!=110||ge(r,111481)|0)break e;e[w>>2]=2;break e}default:break e}while(0);return g=B,e[w>>2]|0}function if0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;e:do if((C[r>>0]|0)==95)for(n=t+28|0,i=1;;){r=r+1|0;r:for(;;){if(!i||(t=C[r>>0]|0,!(t<<24>>24)))break e;switch(t<<24>>24|0){case 99:{o=10;break r}case 105:{o=9;break r}case 117:{o=11;break r}case 116:{o=12;break r}case 98:{t=32;break r}case 108:{o=7;break r}case 114:{o=8;break r}default:i=0}}(o|0)==7?(o=0,t=4):(o|0)==8?(o=0,t=8):(o|0)==9?(o=0,t=64):(o|0)==10?(o=0,t=1):(o|0)==11?(o=0,t=2):(o|0)==12&&(o=0,t=16),e[n>>2]=e[n>>2]|t}while(0);return r|0}function _2e(r){switch(r=r|0,r|0){case 1:{r=108006;break}case 2:{r=111481;break}case 3:{r=111494;break}case 4:{r=99599;break}case 5:{r=99605;break}default:r=99679}return r|0}function nf0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+96|0,f=p,w=p+80|0;do if(r){for(n||(n=Un(1,20)|0,e[n+4>>2]=i>>>0>80?i:80),i=e[n>>2]|0,c=e[n+4>>2]|0,i?(s=i+100|0,A=V2(e[n+8>>2]|0,N0(s,c)|0)|0,qr(A+(N0(c,i)|0)|0,0,c*100|0)|0,i=r):(s=100,i=r,A=Un(100,c)|0);i=of0(f,i,t,w)|0,!!i;){r=e[n>>2]|0,o=s<<1,l=N0(s,c)|0,(r|0)==(s|0)?(A=V2(A,N0(o,c)|0)|0,qr(A+l|0,0,l|0)|0,r=e[n>>2]|0):o=s,r=A+(N0(r,c)|0)|0,l=f,s=r+80|0;do e[r>>2]=e[l>>2],r=r+4|0,l=l+4|0;while((r|0)<(s|0));e[n>>2]=(e[n>>2]|0)+1,s=o}if(e[w>>2]|0&&(w=n+16|0,e[w>>2]=e[w>>2]|1),i=e[n>>2]|0,i){e[n+8>>2]=V2(A,N0(i,c)|0)|0;break}else{r0(A),r0(n),n=0;break}}while(0);return g=p,n|0}function of0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+80|0,l=A+64|0,s=A,e[n>>2]=0;do o=C[t>>0]|0,t=t+1|0;while(cn(o)|0);e:do switch(o|0){case 69:{if(e[r>>2]=0,t=A7(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i>>2]);break}case 101:{if(e[r>>2]=1,t=A7(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i>>2]);break}case 80:{if(e[r>>2]=2,t=ah(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+4>>2]);break}case 112:{if(e[r>>2]=3,t=ah(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+4>>2]);break}case 98:{if(e[r>>2]=4,t=ah(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+8>>2]);break}case 66:{if(e[r>>2]=5,t=ah(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+8>>2]);break}case 99:{if(t=EA(t,l)|0,!t){e[n>>2]=1,t=0;break e}if(o=GD(e[l>>2]|0,s)|0,e[l>>2]=o,!o){e[n>>2]=1,t=0;break e}if(e[s>>2]|0){e[r>>2]=14,n=r+8|0,o=s,l=n+64|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));if(!i)break e;e[r+72>>2]=e[i+40>>2];break e}else{if(e[r>>2]=9,e[r+8>>2]=e[s+8>>2],!i)break e;e[r+72>>2]=e[i+24>>2];break e}}case 67:{if(t=EA(t,l)|0,!t){e[n>>2]=1,t=0;break e}if(o=GD(e[l>>2]|0,s)|0,e[l>>2]=o,!o){e[n>>2]=1,t=0;break e}if(e[s>>2]|0){e[r>>2]=13,n=r+8|0,o=s,l=n+64|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));if(!i)break e;e[r+72>>2]=e[i+40>>2];break e}else{if(e[r>>2]=8,e[r+8>>2]=e[s+8>>2],!i)break e;e[r+72>>2]=e[i+20>>2];break e}}case 76:{if(e[r>>2]=6,t=ah(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+12>>2]);break}case 84:{if(e[r>>2]=7,t=Ln(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=Ln(t,r+16|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=lf0(t,r+24|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=Ln(t,r+32|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=EA(t,r+40|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+16>>2]);break}case 70:{if(e[r>>2]=10,t=Ln(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=EA(t,r+16|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+28>>2]);break}case 83:{if(e[r>>2]=11,t=EA(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+32>>2]);break}case 73:{if(e[r>>2]=12,t=A7(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}if(t=EA(t,r+40|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+36>>2]);break}case 116:{if(e[r>>2]=15,t=sf0(t,r+8|0)|0,!t){e[n>>2]=1,t=0;break e}i&&(e[r+72>>2]=e[i+44>>2]);break}case 0:{t=0;break}default:e[n>>2]=1,t=0}while(0);return g=A,t|0}function A7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return s=g,g=g+16|0,n=s,u[t>>3]=+P1(r,n),o=e[n>>2]|0,(o|0)!=(r|0)&&(u[t+8>>3]=+P1(o,n),l=e[n>>2]|0,(o|0)!=(l|0))&&(u[t+16>>3]=+P1(l,n),i=e[n>>2]|0,(l|0)!=(i|0))?(u[t+24>>3]=+P1(i,n),r=e[n>>2]|0,r=(i|0)==(r|0)?0:r):r=0,g=s,r|0}function ah(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+16|0,A=c+4|0,l=c,r=ch(r,A)|0;do if(r){for(i=e[A>>2]|0,s=Un(i,24)|0,e[t>>2]=i,n=s,o=0;;){if((o|0)>=(i|0)){i=9;break}if(u[n>>3]=+P1(r,l),i=e[l>>2]|0,(r|0)==(i|0)){i=5;break}if(u[n+8>>3]=+P1(i,l),r=e[l>>2]|0,(i|0)==(r|0)){i=7;break}u[n+16>>3]=0,n=n+24|0,i=e[t>>2]|0,o=o+1|0}if((i|0)==5){e[A>>2]=o,r0(s),r=0;break}else if((i|0)==7){e[A>>2]=o,r0(s),r=0;break}else if((i|0)==9){e[A>>2]=o,e[t+4>>2]=s;break}}else r=0;while(0);return g=c,r|0}function EA(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A,r=ch(r,s)|0,n=e[s>>2]|0;do if((r|0)==0|(n|0)<1)r=0;else{for(;l=C[r>>0]|0,i=l<<24>>24==0,i^l<<24>>24!=45;)r=r+1|0;if(i)r=0;else{for(l=Un(n+1|0,1)|0,o=l,i=n;;){if(r=r+1|0,(i|0)<=0){i=9;break}if(i=C[r>>0]|0,!(i<<24>>24)){i=8;break}C[o>>0]=i,i=(e[s>>2]|0)+-1|0,e[s>>2]=i,o=o+1|0}if((i|0)==8){r0(l),r=0;break}else if((i|0)==9){C[o>>0]=0,e[t>>2]=l;break}}}while(0);return g=A,r|0}function GD(r,t){r=r|0,t=t|0;var i=0;switch(i=C[r>>0]|0,i|0){case 91:{r=Af0(r+1|0,t)|0;break}case 40:{r=uf0(r+1|0,t)|0;break}case 47:case 35:{e[t>>2]=0,e[t+8>>2]=r;break}default:Ma(i)|0?(e[t>>2]=0,e[t+8>>2]=r):r=0}return r|0}function Ln(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=g,g=g+16|0,i=o,n=+P1(r,i),i=e[i>>2]|0,(i|0)==(r|0)?i=0:u[t>>3]=n,g=o,i|0}function lf0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,r=ch(r,n)|0,n=e[n>>2]|0,e[t>>2]=(n|0)<0?0:n|0?2:1,g=i,r|0}function sf0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[t>>2]=eB0(r,n,10)|0,t=e[n>>2]|0,g=i,((t|0)==(r|0)?0:t)|0}function ch(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[t>>2]=Mk(r,n,10)|0,t=e[n>>2]|0,g=i,((t|0)==(r|0)?0:t)|0}function Af0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;w=g,g=g+16|0,c=w,e[t>>2]=1,f=t+8|0,l=Ln(r,f)|0;do if(l|0&&(s=Ln(l,t+16|0)|0,(s|0)!=0)&&(n=Ln(s,t+24|0)|0,(n|0)!=0)&&(o=Ln(n,t+32|0)|0,(o|0)!=0)&&(A=t+40|0,i=ch(o,A)|0,(i|0)!=0)){for(t=e[A>>2]|0,o=Un(t,8)|0,n=0;;){if((n|0)>=(t|0)){i=13;break}if(i=Ln(i,c)|0,!i){i=9;break}if(x0[o+(n<<3)>>2]=+u[c>>3],i=EA(i,o+(n<<3)+4|0)|0,!i){i=12;break}n=n+1|0,t=e[A>>2]|0}if((i|0)==9){r0(o),r=0;break}else if((i|0)==12){r0(o),r=0;break}else if((i|0)==13){e[f+36>>2]=o;break}}else r=0;while(0);return g=w,r|0}function uf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+16|0,f=p,e[t>>2]=2,A=Ln(r,t+8|0)|0;do if(A|0&&(c=Ln(A,t+16|0)|0,(c|0)!=0)&&(n=Ln(c,t+24|0)|0,(n|0)!=0)&&(o=Ln(n,t+32|0)|0,(o|0)!=0)&&(l=Ln(o,t+40|0)|0,(l|0)!=0)&&(s=Ln(l,t+48|0)|0,(s|0)!=0)&&(w=t+56|0,i=ch(s,w)|0,(i|0)!=0)){for(n=e[w>>2]|0,l=Un(n,8)|0,o=0;;){if((o|0)>=(n|0)){i=15;break}if(i=Ln(i,f)|0,!i){i=11;break}if(x0[l+(o<<3)>>2]=+u[f>>3],i=EA(i,l+(o<<3)+4|0)|0,!i){i=14;break}o=o+1|0,n=e[w>>2]|0}if((i|0)==11){r0(l),r=0;break}else if((i|0)==14){r0(l),r=0;break}else if((i|0)==15){e[t+60>>2]=l;break}}else r=0;while(0);return g=p,r|0}function ZD(r,t,i){return r=r|0,t=t|0,i=i|0,nf0(r,t,i,0)|0}function af0(r){return r=r|0,ZD(r,0,0)|0}function WD(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(n=e[r+12>>2]|0,r|0){for(o=e[r+8>>2]|0,l=r+4|0,s=(n|0)==0,t=0;!((t|0)>=(e[r>>2]|0));)i=o+(N0(e[l>>2]|0,t)|0)|0,s||l2[n&127](i),cf0(i),t=t+1|0;r0(o),r0(r)}}function cf0(r){switch(r=r|0,e[r>>2]|0){case 3:case 2:{r0(e[r+8+4>>2]|0);break}case 5:case 4:{r0(e[r+8+4>>2]|0);break}case 6:{r0(e[r+8+4>>2]|0);break}case 7:{r0(e[r+40>>2]|0);break}case 9:case 8:{r0(e[r+8>>2]|0);break}case 14:case 13:{ff0(r+8|0);break}case 10:{r0(e[r+16>>2]|0);break}case 11:{r0(e[r+8>>2]|0);break}case 12:{r0(e[r+40>>2]|0);break}default:}}function ff0(r){r=r|0;var t=0,i=0,n=0;switch(e[r>>2]|0){case 1:{for(n=r+40|0,t=r+8+36|0,r=0;i=e[t>>2]|0,!((r|0)>=(e[n>>2]|0));)r0(e[i+(r<<3)+4>>2]|0),r=r+1|0;r0(i);break}case 2:{for(n=r+56|0,i=r+60|0,r=0;t=e[i>>2]|0,!((r|0)>=(e[n>>2]|0));)r0(e[t+(r<<3)+4>>2]|0),r=r+1|0;r0(t);break}default:}}function fh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+16|0,c=p+4|0,w=p,e[t>>2]=0,e[i>>2]=(d1(We(r)|0)|0)!=0&1,n=e[47184]|0;e:do if(n|0&&(l=k2(r,n)|0,s=C[l>>0]|0,s<<24>>24)){for(n=20388;;){if(o=e[n>>2]|0,!o)break e;if(s<<24>>24==(C[o>>0]|0)&&!(ge(l,o)|0))break;n=n+12|0}e[t>>2]=e[n+4>>2],e[i>>2]=e[n+8>>2]}while(0);n=e[47195]|0,n|0&&(e[i>>2]|0)==1&&(A=k2(r,n)|0,C[A>>0]|0)&&DD(A,i),n=e[47196]|0,n|0&&(e[t>>2]|0)==1&&(f=k2(r,n)|0,C[f>>0]|0)&&DD(f,t),C[(e[r+16>>2]|0)+153>>0]|0&&(A=r+-48|0,s=We(e[((e[r>>2]&3|0)==2?r:A)+40>>2]|0)|0,f=e[r>>2]&3,fh(rr(s,e[((f|0)==2?r:A)+40>>2]|0,e[((f|0)==3?r:r+48|0)+40>>2]|0,0,0)|0,c,w),e[i>>2]=e[c>>2]|e[i>>2],e[t>>2]=e[w>>2]|e[t>>2]),g=p}function DD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+16|0,f=p,c=p+4|0,A=0,i=0;e:for(;;){for(e[t>>2]=i,o=(A|0)<4,l=(A|0)==3,s=(A|0)==0;;){if(!(o&(C[r>>0]|0)!=0))break e;if(e[c>>2]=0,n=hf0(r,c)|0,i=e[c>>2]|0,!i){w=5;break e}if(r=(i|0)==8,!(l&r)&&(!(s&r)||C[n>>0]|0))break;e[c>>2]=0,r=n}i=e[t>>2]|i<<(A<<3),A=A+1|0,r=n}(w|0)==5&&(e[f>>2]=r,$0(0,99694,f)|0),g=p}function hf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;if(o=g,g=g+16|0,n=o,e[n>>2]=0,i=u7(r,20448,n)|0,(i|0)==(r|0)){for(;i=u7(r,20464,n)|0,(r|0)!=(i|0);)r=i;i=u7(r,20512,n)|0}return r=e[n>>2]|0,(r|0)!=0&(r&15|0)==0&&(r=r|1,e[n>>2]=r),e[t>>2]=e[t>>2]|r,g=o,i|0}function u7(r,t,i){r=r|0,t=t|0,i=i|0;for(var n=0,o=0,l=0;n=e[t>>2]|0,!!n;){if(o=d2(n)|0,!(Yr(r,n,o)|0)){l=4;break}t=t+8|0}return(l|0)==4&&(e[i>>2]=e[i>>2]|e[t+4>>2],r=r+o|0),r|0}function da(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(l=0,i=0;(l|0)!=4;){for(o=t>>(l<<3)&15,n=1400;e[n+16>>2]|0;){if((o|0)==(e[n>>2]|0)){s=6;break}n=n+24|0}(s|0)==6&&(s=0,i=+u[n+8>>3]+i),l=l+1|0}return+(i*10*+sr(r,e[47188]|0,1,0))}function wf0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+96|0,f=v+80|0,p=v,c=o>4?o*.0875:.35,s=+u[i+8>>3],w=s*c,A=+u[i>>3],c=A*c,n=+u[t>>3],A=n+A,u[f>>3]=A,o=+u[t+8>>3],s=s+o,u[f+8>>3]=s,i=p+64|0,l&32?(e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],e[p>>2]=e[t>>2],e[p+4>>2]=e[t+4>>2],e[p+8>>2]=e[t+8>>2],e[p+12>>2]=e[t+12>>2],t=p+32|0,e[t>>2]=e[f>>2],e[t+4>>2]=e[f+4>>2],e[t+8>>2]=e[f+8>>2],e[t+12>>2]=e[f+12>>2]):(e[i>>2]=e[f>>2],e[i+4>>2]=e[f+4>>2],e[i+8>>2]=e[f+8>>2],e[i+12>>2]=e[f+12>>2],e[p>>2]=e[f>>2],e[p+4>>2]=e[f+4>>2],e[p+8>>2]=e[f+8>>2],e[p+12>>2]=e[f+12>>2],f=p+32|0,e[f>>2]=e[t>>2],e[f+4>>2]=e[t+4>>2],e[f+8>>2]=e[t+8>>2],e[f+12>>2]=e[t+12>>2],o=s,n=A),u[p+16>>3]=n+w,u[p+24>>3]=o-c,u[p+48>>3]=n-w,u[p+56>>3]=o+c;do if(l&64)Q2(r,p,3,l>>>4&1^1);else if(l&128){Q2(r,p+32|0,3,l>>>4&1^1);break}else{Q2(r,p+16|0,3,l>>>4&1^1);break}while(0);g=v}function df0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0;Z=g,g=g+160|0,w=Z+144|0,L=Z,m=n*4,W=(l&32|0)==0,m=!(m1)|W?0:(o+-1)*.05/n,z=+u[i+8>>3],E=-z,_=m*E,x=+u[i>>3],m=x*m,E=B*E,B=x*B,v=+u[t>>3],n=v+x,u[w>>3]=n,p=+u[t+8>>3],o=z+p,u[w+8>>3]=o,x=x*.5+v,z=z*.5+p,i=L+128|0,W?(e[i>>2]=e[w>>2],e[i+4>>2]=e[w+4>>2],e[i+8>>2]=e[w+8>>2],e[i+12>>2]=e[w+12>>2],e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[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2],e[s+12>>2]=e[i+12>>2],u[s+16>>3]=f+c,u[s+24>>3]=n+o,i=s+32|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],u[s+48>>3]=f-c,u[s+56>>3]=n-o;do if(l&64)Q2(r,i,3,l>>>4&1^1);else if(i=l>>>4&1^1,l&128){Q2(r,s,3,i);break}else{Q2(r,s,4,i);break}while(0);g=A}function mf0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,c=0,f=0,w=0;s=g,g=g+32|0,A=s,f=+u[i>>3],o=+u[i+8>>3],n=+G0(+(o*o+f*f))*.5,w=+u[t>>3],f=f*.5,u[A>>3]=w+f-n,c=+u[t+8>>3],o=o*.5,u[A+8>>3]=c-n+o,u[A+16>>3]=w+n+f,u[A+24>>3]=c+n+o,Y3(r,A,2,l>>>4&1^1),g=s}function gf0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+112|0,m=x+48|0,E=x+16|0,B=x,w=o>4?o*.125:.5,v=+u[t>>3],p=+u[i>>3],s=+u[t+8>>3],f=+u[i+8>>3],n=f*w,o=p*w,e[E>>2]=e[t>>2],e[E+4>>2]=e[t+4>>2],e[E+8>>2]=e[t+8>>2],e[E+12>>2]=e[t+12>>2],u[E+16>>3]=p+v,u[E+24>>3]=f+s,u[m>>3]=w*(p-f)+v,A=w*(f+p),c=A+s,u[m+8>>3]=c,u[m+48>>3]=A+v,s=w*(f-p)+s,u[m+56>>3]=s,p=n*-.95,f=p+o+v,w=o*1.3333333333333333,l&32?(n=n*1.3333333333333333,A=o*2.333333333333333,s=s+n,o=c+n,n=f+w):(n=n*1.3333333333333333,A=o*-.33333333333333326,s=s-n,o=c-n,n=f-w),u[m+16>>3]=n,u[m+24>>3]=o,u[m+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f+8>>2]=e[n+8>>2],e[f+12>>2]=e[n+12>>2],$Y[v&15](t,c,f,o,l,s),u[i>>3]=+u[n>>3]+ +u[i>>3],v=i+8|0,u[v>>3]=+u[p>>3]+ +u[v>>3]),e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2],g=m}function If0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return s=g,g=g+16|0,o=s+8|0,n=s,t=he(r,99796)|0,t|0&&C[t>>0]|0?(i=t,l=5):(t=he(r,99808)|0,t|0&&C[t>>0]|0?(i=t,l=5):t=0),(l|0)==5&&(t=ZD(i,0,120)|0,t||(e[n>>2]=te(r)|0,$0(0,99815,n)|0,e[o>>2]=i,$0(3,99868,o)|0)),g=s,t|0}function hh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(l=g,g=g+16|0,o=j0(304)|0,o||$0(1,99876,l)|0,n=r+16|0,r=e[n>>2]|0,e[o>>2]=r,e[n>>2]=o,!r)e[o+144>>2]=3,e[o+148>>2]=0,u[o+152>>3]=1;else{t=o+16|0,i=r+16|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));t=o+56|0,i=r+56|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));e[o+144>>2]=e[r+144>>2],e[o+148>>2]=e[r+148>>2],u[o+152>>3]=+u[r+152>>3],e[o+136>>2]=e[r+136>>2],t=o+96|0,i=r+96|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0))}return g=l,o|0}function wh(r){r=r|0;var t=0;if(r=r+16|0,t=e[r>>2]|0,!t)H0(99902,99906,117,99913);else{r0(e[t+212>>2]|0),r0(e[t+208>>2]|0),r0(e[t+216>>2]|0),r0(e[t+220>>2]|0),r0(e[t+224>>2]|0),r0(e[t+228>>2]|0),r0(e[t+232>>2]|0),r0(e[t+236>>2]|0),r0(e[t+240>>2]|0),r0(e[t+244>>2]|0),r0(e[t+248>>2]|0),r0(e[t+252>>2]|0),r0(e[t+256>>2]|0),r0(e[t+272>>2]|0),r0(e[t+284>>2]|0),r0(e[t+280>>2]|0),e[r>>2]=e[t>>2],r0(t);return}}function MD(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0;c=e[r+16>>2]|0,A=e[r+152>>2]|0,(t|0)!=0&(A&32768|0)!=0&&(e[c+192>>2]=t),A&65536|0&&(e[c+212>>2]=st(l,s)|0,(i|0)!=0)&&C[i>>0]|0?(e[c+208>>2]=st(i,s)|0,r=1):r=0;do if(A&4194304){if(n|0&&C[n>>0]|0){e[c+228>>2]=st(n,s)|0,r=c+260|0,$[r>>1]=$[r>>1]|1,r=1;break}t=e[c+192>>2]|0,t&&(e[c+228>>2]=C2(t)|0,r=1)}while(0);return(o|0)!=0&(A&8388608|0)!=0&&C[o>>0]|0&&(e[c+244>>2]=st(o,s)|0,r=1),r|0}function f7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+80|0,s=A,l=A+8|0,o=e[(e[r>>2]|0)+168>>2]|0,n=e[(e[(e[o+16>>2]|0)+8>>2]|0)+92>>2]|0,jD(r,i),r=he(t,141060)|0,r|0&&C[r>>0]|0)t2(i,r)|0,n=i+4|0,r=e[n>>2]|0,r>>>0>=(e[i+8>>2]|0)>>>0&&(Xe(i,1)|0,r=e[n>>2]|0),C[r>>0]=0,r=e[i>>2]|0,e[n>>2]=r;else{switch((o|0)!=(t|0)&(n|0)!=0&&(t2(i,n)|0,n=i+4|0,r=e[n>>2]|0,r>>>0>=(e[i+8>>2]|0)>>>0&&(Xe(i,1)|0,r=e[n>>2]|0),e[n>>2]=r+1,C[r>>0]=95),qo(t)|0){case 0:{n=(o|0)==(t|0)?111494:99927,r=(e[t>>2]|0)>>>4;break}case 1:{n=111481,r=(e[t>>2]|0)>>>4;break}case 2:{n=111450,r=(e[t>>2]|0)>>>4;break}default:n=0,r=0}t2(i,n)|0,e[s>>2]=r,Ke(l,99933,s)|0,t2(i,l)|0,n=i+4|0,r=e[n>>2]|0,r>>>0>=(e[i+8>>2]|0)>>>0&&(Xe(i,1)|0,r=e[n>>2]|0),C[r>>0]=0,r=e[i>>2]|0,e[n>>2]=r}return g=A,r|0}function jD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;s=g,g=g+144|0,l=s,o=s+8|0,i=e[r+160>>2]|0,(i|0)>1&&e[r+152>>2]&64|0&&(t2(t,e[(e[(e[r>>2]|0)+308>>2]|0)+(i<<2)>>2]|0)|0,n=t+4|0,i=e[n>>2]|0,i>>>0>=(e[t+8>>2]|0)>>>0&&(Xe(t,1)|0,i=e[n>>2]|0),e[n>>2]=i+1,C[i>>0]=95),n=e[r+196>>2]|0,i=e[r+200>>2]|0,(n|0)>0|(i|0)>0&&(e[l>>2]=n,e[l+4>>2]=i,Ke(o,99937,l)|0,t2(t,o)|0),g=s}function ND(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(E=g,g=g+48|0,p=E+16|0,o=E+32|0,v=E,m=+u[(e[r+16>>2]|0)+152>>3],w=Td(i,0,o)|0,(w+-1|0)>>>0>=2){for(n=+u[t+16>>3],A=(n+ +u[t>>3])*.5,u[v>>3]=A,l=+u[t+24>>3],c=(l+ +u[t+8>>3])*.5,u[v+8>>3]=c,A=n-A,c=l-c,f=m>.5,f&&Uo(r,.5),s=e[o>>2]|0,l=0,o=e[s+8>>2]|0;i=e[o>>2]|0,!!i;)t=o+4|0,+x0[t>>2]==0?n=l:(tr(r,i),e[o+12>>2]|0?n=+x0[t>>2]*6.283185307179586+l:n=6.283185307179586,e[p>>2]=e[v>>2],e[p+4>>2]=e[v+4>>2],e[p+8>>2]=e[v+8>>2],e[p+12>>2]=e[v+12>>2],t=Ui0(p,A,c,l,n)|0,Ao(r,e[t>>2]|0,e[t+4>>2]|0,0,0,1),Xo0(t)),l=n,o=o+12|0;f&&Uo(r,m),hf(s)}return g=E,w|0}function Td(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;m=g,g=g+16|0,w=m+8|0,f=m,v=j0(12)|0,l=C2(r)|0;e:do if(!t)for(t=1,n=l;;){switch(C[n>>0]|0){case 0:break e;case 58:{t=t+1|0;break}default:}n=n+1|0}while(0);for(e[v+4>>2]=l,p=j0((t*12|0)+12|0)|0,e[v+8>>2]=p,c=1,o=0,t=0,n=l;;){if(n=Na(n,107984)|0,!n){n=20;break}if(s=+xf0(n),!(s>=0)){n=17;break}if(A=s-c,A>0&&(e[5156]|0&&!(A<1e-5&A>-1e-5)?(e[f>>2]=r,$0(0,99948,f)|0,e[5156]=0,s=c,t=3):s=c),A=c-s,s>0&&(C[p+(o*12|0)+8>>0]=1),C[n>>0]|0&&(e[p+(o*12|0)>>2]=n),n=o+1|0,x0[p+(o*12|0)+4>>2]=s,A<1e-5&A>-1e-5){o=n,n=30;break}else c=A,o=n,n=0}e:do if((n|0)==17)e[5156]|0?(e[w>>2]=r,$0(1,99983,w)|0,e[5156]=0,t=2):t=1,hf(v);else if((n|0)==20)if(c>0){for(n=0,l=0;!((n|0)>=(o|0));)w=l+(+x0[p+(n*12|0)+4>>2]==0&1)|0,n=n+1|0,l=w;if((l|0)<=0){n=p+((o+-1|0)*12|0)+4|0,x0[n>>2]=c+ +x0[n>>2],n=30;break}for(s=c/+(l|0),n=0;;){if((n|0)>=(o|0)){n=30;break e}l=p+(n*12|0)+4|0,+x0[l>>2]==0&&(x0[l>>2]=s),n=n+1|0}}else n=30;while(0);if((n|0)==30){for(;n=o+-1|0,!((o|0)<=0||+x0[p+(n*12|0)+4>>2]>0);)o=n;e[p+(o*12|0)>>2]=0,e[v>>2]=o,e[i>>2]=v}return g=m,t|0}function hf(r){r=r|0,r0(e[r+4>>2]|0),r0(e[r+8>>2]|0),r0(r)}function xf0(r){r=r|0;var t=0,i=0,n=0,o=0;return n=g,g=g+16|0,i=n,r=Zr(r,59)|0,r?(o=r+1|0,C[r>>0]=0,t=+P1(o,i),t=t>=0&&(e[i>>2]|0)!=(o|0)?t:-1):t=0,g=n,+t}function h7(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;if(B=g,g=g+80|0,l=B+64|0,m=B,E=+u[(e[r+16>>2]|0)+152>>3],v=Td(i,0,l)|0,(v+-1|0)>>>0>=2){for(n?(p=t+32|0,e[m>>2]=e[p>>2],e[m+4>>2]=e[p+4>>2],e[m+8>>2]=e[p+8>>2],e[m+12>>2]=e[p+12>>2],p=m+16|0,w=t+48|0,e[p>>2]=e[w>>2],e[p+4>>2]=e[w+4>>2],e[p+8>>2]=e[w+8>>2],e[p+12>>2]=e[w+12>>2],p=m+32|0,e[p>>2]=e[t>>2],e[p+4>>2]=e[t+4>>2],e[p+8>>2]=e[t+8>>2],e[p+12>>2]=e[t+12>>2],p=m+48|0,w=t+16|0,e[p>>2]=e[w>>2],e[p+4>>2]=e[w+4>>2],e[p+8>>2]=e[w+8>>2],e[p+12>>2]=e[w+12>>2]):(e[m>>2]=e[t>>2],e[m+4>>2]=e[t+4>>2],e[m+8>>2]=e[t+8>>2],e[m+12>>2]=e[t+12>>2],p=m+16|0,w=t+16|0,e[p>>2]=e[w>>2],e[p+4>>2]=e[w+4>>2],e[p+8>>2]=e[w+8>>2],e[p+12>>2]=e[w+12>>2],p=m+32|0,w=t+32|0,e[p>>2]=e[w>>2],e[p+4>>2]=e[w+4>>2],e[p+8>>2]=e[w+8>>2],e[p+12>>2]=e[w+12>>2],p=m+48|0,w=t+48|0,e[p>>2]=e[w>>2],e[p+4>>2]=e[w+4>>2],e[p+8>>2]=e[w+8>>2],e[p+12>>2]=e[w+12>>2]),A=m+16|0,c=+u[A>>3],o=+u[m>>3],f=c-o,w=m+32|0,u[w>>3]=o,u[A>>3]=o,p=E>.5,p&&Uo(r,.5),l=e[l>>2]|0,s=m+48|0,n=e[l+8>>2]|0;i=e[n>>2]|0,!!i;)t=n+4|0,+x0[t>>2]!=0&&(tr(r,i),e[n+12>>2]|0?o=f*+x0[t>>2]+ +u[m>>3]:o=c,u[w>>3]=o,u[A>>3]=o,Q2(r,m,4,1),o=+u[A>>3],u[s>>3]=o,u[m>>3]=o),n=n+12|0;p&&Uo(r,E),hf(l)}return g=B,v|0}function Fd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;i=e[r+16>>2]|0,n=e[r+152>>2]|0,n&4259840|0&&(o=n&131072,l=o>>>16^2,e[i+264>>2]=l,s=i+268|0,e[s>>2]=l+2,l=i+272|0,r0(e[l>>2]|0),i=j0(e[s>>2]<<4)|0,e[l>>2]=i,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],l=i+16|0,t=t+16|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],n&8192||El(r,i,i,2)|0,o||dp(i))}function Pd(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+144|0,i=E+80|0,o=E+16|0,l=E,f=+u[t>>3],v=r+16|0,w=+u[v>>3],!(f>w)&&(p=+u[r>>3],!(f>3],A=+u[r+24>>3],!(n>A))&&(c=+u[r+8>>3],!(n>3],!(f>w|f>3],!(f>A|f>3],!(f>w|f>3],!(f>A|f>3],!(f>w|f>3],!(p>A|p>3],n>+u[v>>3]?(i=v,m=16):n<+u[r>>3]&&(i=r,m=16),(m|0)==16&&(m=0,u[i>>3]=n),n=+u[t+(o<<4)+8>>3],n>+u[l>>3]?(i=v,m=19):n<+u[s>>3]&&(i=r,m=19),(m|0)==19&&(m=0,u[i+8>>3]=n),o=o+1|0}}while(0);g=E}function QD(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;return t=g,g=g+48|0,i=t+32|0,n=t+16|0,o=t,A=r+48|0,s=r+16|0,e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[n>>2]=e[A>>2],e[n+4>>2]=e[A+4>>2],e[n+8>>2]=e[A+8>>2],e[n+12>>2]=e[A+12>>2],e[i>>2]=e[s>>2],e[i+4>>2]=e[s+4>>2],e[i+8>>2]=e[s+8>>2],e[i+12>>2]=e[s+12>>2],l=+mN(o,n,i),s=r+32|0,e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[n>>2]=e[A>>2],e[n+4>>2]=e[A+4>>2],e[n+8>>2]=e[A+8>>2],e[n+12>>2]=e[A+12>>2],e[i>>2]=e[s>>2],e[i+4>>2]=e[s+4>>2],e[i+8>>2]=e[s+8>>2],e[i+12>>2]=e[s+12>>2],r=l<4&+mN(o,n,i)<4&1,g=t,r|0}function Sf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0;if(P=g,g=g+272|0,x=P+256|0,z=P+224|0,_=P+192|0,L=P+128|0,Z=P+64|0,W=P,N=P+160|0,T=P+96|0,D=P+32|0,B=e[t+16>>2]|0,E=e[B+144>>2]|0,m=B+16|0,e[L>>2]=e[m>>2],e[L+4>>2]=e[m+4>>2],e[L+8>>2]=e[m+8>>2],e[L+12>>2]=e[m+12>>2],e[L+16>>2]=e[m+16>>2],e[L+20>>2]=e[m+20>>2],e[L+24>>2]=e[m+24>>2],e[L+28>>2]=e[m+28>>2],B=e[(e[B+8>>2]|0)+88>>2]|0,e[W>>2]=0,e[W+4>>2]=0,e[W+8>>2]=0,e[W+12>>2]=0,e[W+16>>2]=0,e[W+20>>2]=0,e[W+24>>2]=0,e[W+28>>2]=0,!B)e[r>>2]=e[L>>2],e[r+4>>2]=e[L+4>>2],e[r+8>>2]=e[L+8>>2],e[r+12>>2]=e[L+12>>2],e[r+16>>2]=e[L+16>>2],e[r+20>>2]=e[L+20>>2],e[r+24>>2]=e[L+24>>2],e[r+28>>2]=e[L+28>>2];else{for(t=L+16|0,+u[L>>3]==+u[t>>3]&&(i=L+8|0,n=L+24|0,+u[i>>3]==+u[n>>3])&&(u[i>>3]=17976931348623157e292,u[L>>3]=17976931348623157e292,u[n>>3]=-17976931348623157e292,u[t>>3]=-17976931348623157e292),s=z+8|0,A=z+16|0,c=z+24|0,f=Z+16|0,w=Z+24|0,p=E+144|0,v=_+16|0,m=B+12|0,t=0,n=e[B+8>>2]|0,i=0,o=0,l=0;!((l|0)>=(e[B>>2]|0));){switch(e[Z>>2]=e[W>>2],e[Z+4>>2]=e[W+4>>2],e[Z+8>>2]=e[W+8>>2],e[Z+12>>2]=e[W+12>>2],e[Z+16>>2]=e[W+16>>2],e[Z+20>>2]=e[W+20>>2],e[Z+24>>2]=e[W+24>>2],e[Z+28>>2]=e[W+28>>2],e[n>>2]|0){case 1:case 0:{q=+u[n+8>>3],t0=+u[n+24>>3],u[z>>3]=q-t0,U=+u[n+16>>3],F=+u[n+32>>3],u[s>>3]=U-F,u[A>>3]=t0+q,u[c>>3]=F+U,X=n+80|0,e[X>>2]=e[z>>2],e[X+4>>2]=e[z+4>>2],e[X+8>>2]=e[z+8>>2],e[X+12>>2]=e[z+12>>2],X=n+96|0,e[X>>2]=e[A>>2],e[X+4>>2]=e[A+4>>2],e[X+8>>2]=e[A+8>>2],e[X+12>>2]=e[A+12>>2],e[x>>2]=e[z>>2],e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[Y>>2]|0),Y=n+80|0,e[Y>>2]=e[_>>2],e[Y+4>>2]=e[_+4>>2],e[Y+8>>2]=e[_+8>>2],e[Y+12>>2]=e[_+12>>2],e[Y+16>>2]=e[_+16>>2],e[Y+20>>2]=e[_+20>>2],e[Y+24>>2]=e[_+24>>2],e[Y+28>>2]=e[_+28>>2],e[x>>2]=e[_>>2],e[x+4>>2]=e[_+4>>2],e[x+8>>2]=e[_+8>>2],e[x+12>>2]=e[_+12>>2],wf(L,x),e[x>>2]=e[v>>2],e[x+4>>2]=e[v+4>>2],e[x+8>>2]=e[v+8>>2],e[x+12>>2]=e[v+12>>2],wf(L,x),e[m>>2]|0||(e[m>>2]=109);break}case 10:{i=e[n+16>>2]|0,o=+u[n+8>>3];break}case 15:{t=e[n+8>>2]|0;break}default:}n=n+120|0,l=l+1|0}e[r>>2]=e[L>>2],e[r+4>>2]=e[L+4>>2],e[r+8>>2]=e[L+8>>2],e[r+12>>2]=e[L+12>>2],e[r+16>>2]=e[L+16>>2],e[r+20>>2]=e[L+20>>2],e[r+24>>2]=e[L+24>>2],e[r+28>>2]=e[L+28>>2]}g=P}function wf(r,t){r=r|0,t=t|0;var i=0,n=0;i=+u[t>>3],n=r+16|0,i>+u[n>>3]&&(u[n>>3]=i),i<+u[r>>3]&&(u[r>>3]=i),i=+u[t+8>>3],t=r+24|0,i>+u[t>>3]&&(u[t>>3]=i),t=r+8|0,i<+u[t>>3]&&(u[t>>3]=i)}function w7(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(E=g,g=g+48|0,c=E+32|0,w=E,o=+u[t>>3],p=w+16|0,u[p>>3]=o,u[w>>3]=o,o=+u[t+8>>3],v=w+24|0,u[v>>3]=o,f=w+8|0,u[f>>3]=o,A=1;!((A|0)>=(i|0));)s=t+24|0,o=+u[s>>3],o<+u[w>>3]?(l=w,m=5):o>+u[p>>3]&&(l=p,m=5),(m|0)==5&&(m=0,u[l>>3]=o),o=+u[t+32>>3],o<+u[f>>3]?(t=w,m=8):o>+u[v>>3]&&(t=p,m=8),(m|0)==8&&(m=0,u[t+8>>3]=o),A=A+1|0,t=s;e[c>>2]=e[w>>2],e[c+4>>2]=e[w+4>>2],e[c+8>>2]=e[w+8>>2],e[c+12>>2]=e[w+12>>2],wf(n,c),e[c>>2]=e[p>>2],e[c+4>>2]=e[p+4>>2],e[c+8>>2]=e[p+8>>2],e[c+12>>2]=e[p+12>>2],wf(n,c),e[r>>2]=e[w>>2],e[r+4>>2]=e[w+4>>2],e[r+8>>2]=e[w+8>>2],e[r+12>>2]=e[w+12>>2],e[r+16>>2]=e[w+16>>2],e[r+20>>2]=e[w+20>>2],e[r+24>>2]=e[w+24>>2],e[r+28>>2]=e[w+28>>2],g=E}function _f0(r,t,i,n){r=r|0,t=+t,i=+i,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;switch(w=g,g=g+16|0,s=w+8|0,A=w,o=+u[n+32>>3],c=+u[n+40>>3],C[n+48>>0]|0){case 108:{u[s>>3]=t,o=o+t,l=A,f=5;break}case 110:{o=o*.5,u[s>>3]=t-o,o=o+t,l=A,f=5;break}case 114:{u[A>>3]=t,o=t-o,l=s,f=5;break}default:t=0,o=0}(f|0)==5&&(u[l>>3]=o,t=+u[s>>3],o=+u[A>>3]),i=+u[n+16>>3]+i,u[r>>3]=t,u[r+8>>3]=i-c,u[r+16>>3]=o,u[r+24>>3]=i,g=w}function zf0(r){r=r|0,(e[r>>2]|0)==7&&BN(e[r+112>>2]|0,1)}function TD(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(c=g,g=g+16|0,A=c,s=e[r+152>>2]|0,f=+u[r+432>>3],l=+u[r+352>>3]*.013888888888888888,n=l*f,u[r+488>>3]=n,o=+u[r+440>>3],l=l*o,u[r+496>>3]=l,u[r+520>>3]=f*.013888888888888888,i=r+528|0,u[i>>3]=o*.013888888888888888,s&4096|0&&(u[i>>3]=o*-.013888888888888888),i=(e[r+360>>2]|0)==0,f=+((e[r+448>>2]|0)>>>0),o=+((e[r+452>>2]|0)>>>0),u[r+368>>3]=(i?f:o)/n,u[r+376>>3]=(i?o:f)/l,V3(r,wt(t,re(t,0,101522,0)|0,195059)|0),e[r+160>>2]=0,Lf0(r,t),s&2|0&&Rf0(r,t),i=U0(t)|0;i;)C[(e[i+16>>2]|0)+116>>0]=0,i=X0(t,i)|0;for(Gf0(r,A);(Zf0(r)|0)<<24>>24;){for((FD(r)|0)>1&&Ft0(r),Wf0(r);(PD(r)|0)<<24>>24;)Df0(r,t),Mf0(r);(FD(r)|0)>1&&Pt0(r),jf0(r,A)}Nf0(r),g=c}function Lf0(r,t){r=r|0,t=t|0;var i=0;i=hh(r)|0,e[i+4>>2]=0,e[i+8>>2]=t,e[i+12>>2]=0,K7(r,e[(e[t+16>>2]|0)+12>>2]|0,t),jt0(r,t)}function Rf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(tr(r,134800),i=he(t,140977)|0,i|0&&C[i>>0]|0&&tr(r,i),i=he(t,101446)|0,i|0&&C[i>>0]|0&&Z2(r,i),pN(r,t),l=U0(t)|0;l;){i=he(l,140823)|0,i|0&&C[i>>0]|0&&Z2(r,i),i=he(l,137729)|0,i|0&&C[i>>0]|0&&tr(r,i),i=he(l,101418)|0;do if(i|0&&C[i>>0]|0){if(!(Zr(i,58)|0)){Z2(r,i);break}for(n=C2(i)|0,i=n;i=Na(i,107984)|0,!!i;){if(!(C[i>>0]|0)){i=0;continue}Z2(r,i),i=0}r0(n)}while(0);for(i=he(l,101446)|0,i|0&&C[i>>0]|0&&Z2(r,i),o=Me(t,l)|0;o;){i=he(o,140823)|0;do if(i|0&&C[i>>0]|0){if(!(Zr(i,58)|0)){Z2(r,i);break}for(n=C2(i)|0,i=n;i=Na(i,107984)|0,!!i;){if(!(C[i>>0]|0)){i=0;continue}Z2(r,i),i=0}r0(n)}while(0);i=he(o,101446)|0,i|0&&C[i>>0]|0&&Z2(r,i),o=Qe(t,o)|0}l=X0(t,l)|0}}function Gf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,n=A+8|0,l=A,s=e[r>>2]|0,i=e[s+312>>2]|0,o=r+156|0,e[o>>2]=i,s=e[s+316>>2]|0,s?(i=s+4|0,(e[s>>2]|0)>1&&!(e[r+152>>2]&64|0)&&(e[l>>2]=e[r+52>>2],$0(0,100567,l)|0,e[s+8>>2]=(e[o>>2]|0)+1),n=e[i>>2]|0,i=s+8|0):(i|0)>1&&!(e[r+152>>2]&64|0)?(e[n>>2]=e[r+52>>2],$0(0,100567,n)|0,e[o>>2]=1,n=1,i=0):(n=1,i=0),e[r+160>>2]=n,e[t>>2]=i,g=A}function Zf0(r){return r=r|0,(e[r+160>>2]|0)<=(e[r+156>>2]|0)|0}function FD(r){r=r|0;var t=0;return t=e[(e[r>>2]|0)+316>>2]|0,e[(t|0?t:r+156|0)>>2]|0}function Wf0(r){r=r|0;var t=0,i=0;i=r+172|0,t=e[i+4>>2]|0,r=r+196|0,e[r>>2]=e[i>>2],e[r+4>>2]=t}function PD(r){r=r|0;var t=0,i=0;return i=e[r+196>>2]|0,(i|0)>-1&&(i|0)<(e[r+164>>2]|0)&&(t=e[r+200>>2]|0,(t|0)>-1)?r=(t|0)<(e[r+168>>2]|0)&1:r=0,r|0}function Df0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;p=g,g=g+176|0,A=p,i=p+48|0,c=p+32|0,f=e[r+16>>2]|0,w=e[r+152>>2]|0,(e[r+160>>2]|0)<=1&&(e[r+196>>2]|0)<=0?o=0:(Vt(c,128,i),n=f+212|0,o=e[n>>2]|0,jD(r,c),t2(c,o)|0,l=c+4|0,i=e[l>>2]|0,i>>>0>=(e[c+8>>2]|0)>>>0&&(Xe(c,1)|0,i=e[l>>2]|0),C[i>>0]=0,i=e[c>>2]|0,e[l>>2]=i,e[n>>2]=i),Uw(he(t,100032)|0),Qf0(r),Qt0(r),Z2(r,137314),tr(r,134800);do if(w&4259840|0){if(!(e[f+208>>2]|0)&&!($[f+260>>1]&1))break;w&655360?(l=w&131072,e[f+264>>2]=l>>>16^2,i=j0((l>>>12^32)+32|0)|0,n=r+288|0,e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[i+8>>2]=e[n+8>>2],e[i+12>>2]=e[n+12>>2],n=i+16|0,v=r+304|0,e[n>>2]=e[v>>2],e[n+4>>2]=e[v+4>>2],e[n+8>>2]=e[v+8>>2],e[n+12>>2]=e[v+12>>2],l?n=2:(dp(i),n=4)):(i=0,n=0),w&8192||El(r,i,i,n)|0,e[f+272>>2]=i,e[f+268>>2]=n}while(0);w&32768|0&&(s=e[(e[t+16>>2]|0)+12>>2]|0,s|0)&&(e[f+192>>2]=e[s>>2]),n=(w&4|0)!=0;do if(!n){if(i=f+208|0,!(e[i>>2]|0)&&!($[f+260>>1]&1))break;v=r+256|0,e[A>>2]=e[v>>2],e[A+4>>2]=e[v+4>>2],e[A+8>>2]=e[v+8>>2],e[A+12>>2]=e[v+12>>2],e[A+16>>2]=e[v+16>>2],e[A+20>>2]=e[v+20>>2],e[A+24>>2]=e[v+24>>2],e[A+28>>2]=e[v+28>>2],Fd(r,A),xn(r,e[i>>2]|0,e[f+228>>2]|0,e[f+244>>2]|0,e[f+212>>2]|0)}while(0);Tf0(r,t),i=e[(e[t+16>>2]|0)+12>>2]|0,i|0&&Ca(r,4,i);do if(!n){if(!(e[f+208>>2]|0)&&!($[f+260>>1]&1))break;Bl(r)}while(0);Ff0(r,t,w),Tt0(r),o|0&&(Ot(c),e[f+212>>2]=o),g=p}function Mf0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;s=g,g=g+32|0,i=s+24|0,t=s+16|0,c=s+8|0,o=s,l=r+196|0,A=r+188|0,e[t>>2]=e[l>>2],e[t+4>>2]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+(c|0)-+u[r+240>>3],u[r+288>>3]=l,n=+u[r+328>>3],p=n*+(A|0)-+u[r+248>>3],u[r+296>>3]=p,u[r+304>>3]=i+l,u[r+312>>3]=n+p,o=r+472|0,e[(e[r+12>>2]|0)+28>>2]|0?(m=r+456|0,e[o>>2]=e[((e[o>>2]|0)<(e[m>>2]|0)?o:m)>>2],E=r+476|0,e[E>>2]=e[((e[E>>2]|0)<(e[r+460>>2]|0)?o:m)+4>>2],E=r+480|0,e[E>>2]=e[((e[E>>2]|0)>(e[r+464>>2]|0)?o:m)+8>>2],E=r+484|0,e[E>>2]=e[((e[E>>2]|0)>(e[r+468>>2]|0)?o:m)+12>>2]):(E=r+456|0,e[o>>2]=e[E>>2],e[o+4>>2]=e[E+4>>2],e[o+8>>2]=e[E+8>>2],e[o+12>>2]=e[E+12>>2]),f=e[r+152>>2]|0,t=+u[r+336>>3],f&128?(i=+u[r+368>>3]*.5,n=t-i,u[r+256>>3]=n,l=+u[r+344>>3],z=+u[r+376>>3]*.5,p=l-z,i=i+t,l=z+l,t=n):(t=(+(c|0)-+(s|0)*.5)*i+t,u[r+256>>3]=t,l=(+(A|0)-+(v|0)*.5)*n+ +u[r+344>>3],p=l,i=i+t,l=l+n),u[r+264>>3]=p,u[r+272>>3]=i,u[r+280>>3]=l,e[B>>2]|0?(o=r+384|0,n=+u[r+352>>3],u[r+512>>3]=-l-+u[r+392>>3]/n,f&4096?(i=-i,t=+u[o>>3]/n):i=+u[o>>3]/n,u[r+504>>3]=i-t):(n=+u[r+352>>3],u[r+504>>3]=+u[r+384>>3]/n-t,f&4096?(i=-l,t=+u[r+392>>3]/n):(i=+u[r+392>>3]/n,t=p),u[r+512>>3]=i-t),g=x}function Tf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+48|0,v=E,w=E+40|0,p=E+36|0,m=E+32|0,i=he(t,140977)|0,i?(l=(C[i>>0]|0)==0,s=l&1,i=l?137198:i):(s=1,i=137198),o=e[r+152>>2]|0,l=(C[i>>0]|0)==116,o&256?l&&!(ge(i,137379)|0)||(A=i,c=s,f=8):l?(c=(ge(i,137379)|0)==0,A=c?137198:i,c=c?1:s,f=8):(A=i,c=s,f=8),(f|0)==8&&!((c|0)!=0&(o&33554432|0)!=0)&&((Rh(A,w,p)|0)<<24>>24?(e[m>>2]=0,l=e[w>>2]|0,tr(r,l),Z2(r,137379),dN(t,m)|0,i=e[w+4>>2]|0,o=pr(t,e[47143]|0,0,0)|0,n=+x0[p>>2],i?so(r,i,o,n):so(r,137314,o,n),m=(e[m>>2]|0)>>>1&1|2,p=r+256|0,e[v>>2]=e[p>>2],e[v+4>>2]=e[p+4>>2],e[v+8>>2]=e[p+8>>2],e[v+12>>2]=e[p+12>>2],e[v+16>>2]=e[p+16>>2],e[v+20>>2]=e[p+20>>2],e[v+24>>2]=e[p+24>>2],e[v+28>>2]=e[p+28>>2],Il(r,v,m),r0(l)):(tr(r,A),Z2(r,137379),m=r+256|0,e[v>>2]=e[m>>2],e[v+4>>2]=e[m+4>>2],e[v+8>>2]=e[m+8>>2],e[v+12>>2]=e[m+12>>2],e[v+16>>2]=e[m+16>>2],e[v+20>>2]=e[m+20>>2],e[v+24>>2]=e[m+24>>2],e[v+28>>2]=e[m+28>>2],Il(r,v,1))),i=e[(e[(e[t+16>>2]|0)+8>>2]|0)+88>>2]|0,i|0&&Rd0(r,i),g=E}function Ff0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=(e[r>>2]|0)+28|0,e[l>>2]=(e[l>>2]|0)+1,l=(i&4|0)!=0,l||Yd(r,t,i);e:do if(i&1){for(Wy(r),n=U0(t)|0;n;)df(r,n),n=X0(t,n)|0;for(Dy(r),My(r),o=U0(t)|0;o;){for(n=Me(t,o)|0;n;)dh(r,n),n=Qe(t,n)|0;o=X0(t,o)|0}jy(r)}else{if(i&16|0){for(My(r),o=U0(t)|0;o;){for(n=Me(t,o)|0;n;)dh(r,n),n=Qe(t,n)|0;o=X0(t,o)|0}for(jy(r),Wy(r),n=U0(t)|0;n;)df(r,n),n=X0(t,n)|0;Dy(r);break}if(!(i&8))for(o=U0(t)|0;;){if(!o)break e;for(df(r,o),n=Me(t,o)|0;n;)df(r,e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0),dh(r,n),n=Qe(t,n)|0;o=X0(t,o)|0}for(Wy(r),n=U0(t)|0;n;)(Pf0(t,n)|0)<<24>>24&&df(r,n),n=X0(t,n)|0;for(Dy(r),My(r),o=U0(t)|0;o;){for(n=Me(t,o)|0;n;)(Yf0(t,n)|0)<<24>>24&&dh(r,n),n=Qe(t,n)|0;o=X0(t,o)|0}jy(r)}while(0);l&&Yd(r,t,i)}function Yd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0;for(k0=g,g=g+128|0,B=k0+72|0,H=k0+64|0,X=k0+112|0,U=k0,F=k0+104|0,q=t+16|0,t0=(i&4|0)!=0,Y=r+16|0,x=U+32|0,z=U+16|0,L=U+8|0,Z=U+24|0,W=U+48|0,N=U+40|0,T=U+56|0,D=(i&8|0)==0,P=F+4|0,E=1;n=e[q>>2]|0,!((E|0)>(e[n+180>>2]|0));){if(m=e[(e[n+184>>2]|0)+(E<<2)>>2]|0,(_d0(r,m)|0)<<24>>24){t0&&Yd(r,m,i),zd0(r,m),w=e[Y>>2]|0,p=w+208|0,e[p>>2]|0?v=1:v=($[w+260>>1]&1)!=0,Uw(he(m,100032)|0),t0|v^1||(f=(e[m+16>>2]|0)+16|0,e[B>>2]=e[f>>2],e[B+4>>2]=e[f+4>>2],e[B+8>>2]=e[f+8>>2],e[B+12>>2]=e[f+12>>2],e[B+16>>2]=e[f+16>>2],e[B+20>>2]=e[f+20>>2],e[B+24>>2]=e[f+24>>2],e[B+28>>2]=e[f+28>>2],Fd(r,B),xn(r,e[p>>2]|0,e[w+228>>2]|0,e[w+244>>2]|0,e[w+212>>2]|0)),e[X>>2]=0,n=dN(m,X)|0,n?(c1(r,n),c=e[X>>2]&1):c=0,f=m+16|0,n=s0[(e[f>>2]|0)+112>>0]|0;do if(n&1)n=F2(m,0,106240)|0,o=F2(m,0,106248)|0,a0=29;else{if(n&2|0){n=F2(m,0,106256)|0,o=F2(m,0,106264)|0,a0=29;break}if(n&8|0){n=F2(m,0,106272)|0,o=F2(m,0,106280)|0,a0=29;break}if(n&4|0){n=F2(m,0,106288)|0,o=F2(m,0,106296)|0,a0=29;break}if(n=he(m,140823)|0,n?o=C[n>>0]|0?n:0:o=0,n=he(m,137729)|0,n?n=C[n>>0]|0?n:o:n=o,l=he(m,101418)|0,l&&(o=C[l>>0]|0?l:o),(c|0)!=0&(o|0)!=0)a0=29;else{if(l=he(m,140977)|0,l|0&&C[l>>0]|0){o=l,a0=29;break}n=n|0?n:137314,s=o|0?o:134800,e[F>>2]=0,c?a0=31:o=0}}while(0);(a0|0)==29&&(e[F>>2]=0,n=n|0?n:137314,s=o|0?o:134800,a0=31),(a0|0)==31&&(a0=0,(Rh(s,F,B)|0)<<24>>24?(tr(r,e[F>>2]|0),o=e[P>>2]|0,l=pr(m,e[47143]|0,0,0)|0,A=+x0[B>>2],o?so(r,o,l,A):so(r,137314,l,A),o=(e[X>>2]|0)>>>1&1|2):(tr(r,s),o=1)),l=e[47142]|0,l|0&&(_=k2(m,l)|0,_|0)&&C[_>>0]|0&&Uo(r,+sr(m,e[47142]|0,1,0)),c=e[X>>2]|0;do if(c&4)l=pr(m,e[47141]|0,1,0)|0,l|o|0&&(s=e[f>>2]|0,B0=s+16|0,e[U>>2]=e[B0>>2],e[U+4>>2]=e[B0+4>>2],e[U+8>>2]=e[B0+8>>2],e[U+12>>2]=e[B0+12>>2],s=s+32|0,e[x>>2]=e[s>>2],e[x+4>>2]=e[s+4>>2],e[x+8>>2]=e[s+8>>2],e[x+12>>2]=e[s+12>>2],u[z>>3]=+u[x>>3],u[Z>>3]=+u[L>>3],u[W>>3]=+u[U>>3],u[T>>3]=+u[N>>3],l?Z2(r,n):Z2(r,137379),Sa(r,U,4,c,o));else{if(!(c&64)){if(pr(m,e[47141]|0,1,0)|0){Z2(r,n),B0=(e[f>>2]|0)+16|0,e[B>>2]=e[B0>>2],e[B+4>>2]=e[B0+4>>2],e[B+8>>2]=e[B0+8>>2],e[B+12>>2]=e[B0+12>>2],e[B+16>>2]=e[B0+16>>2],e[B+20>>2]=e[B0+20>>2],e[B+24>>2]=e[B0+24>>2],e[B+28>>2]=e[B0+28>>2],Il(r,B,o);break}if(!o)break;Z2(r,137379),B0=(e[f>>2]|0)+16|0,e[B>>2]=e[B0>>2],e[B+4>>2]=e[B0+4>>2],e[B+8>>2]=e[B0+8>>2],e[B+12>>2]=e[B0+12>>2],e[B+16>>2]=e[B0+16>>2],e[B+20>>2]=e[B0+20>>2],e[B+24>>2]=e[B0+24>>2],e[B+28>>2]=e[B0+28>>2],Il(r,B,o);break}B0=e[f>>2]|0,c=B0+16|0,e[U>>2]=e[c>>2],e[U+4>>2]=e[c+4>>2],e[U+8>>2]=e[c+8>>2],e[U+12>>2]=e[c+12>>2],B0=B0+32|0,e[x>>2]=e[B0>>2],e[x+4>>2]=e[B0+4>>2],e[x+8>>2]=e[B0+8>>2],e[x+12>>2]=e[B0+12>>2],u[z>>3]=+u[x>>3],u[Z>>3]=+u[L>>3],u[W>>3]=+u[U>>3],u[T>>3]=+u[N>>3],pr(m,e[47141]|0,1,0)|0?Z2(r,n):Z2(r,137379),(h7(r,U,s,0)|0)>1&&(e[H>>2]=te(m)|0,$0(3,100400,H)|0),B0=(e[f>>2]|0)+16|0,e[B>>2]=e[B0>>2],e[B+4>>2]=e[B0+4>>2],e[B+8>>2]=e[B0+8>>2],e[B+12>>2]=e[B0+12>>2],e[B+16>>2]=e[B0+16>>2],e[B+20>>2]=e[B0+20>>2],e[B+24>>2]=e[B0+24>>2],e[B+28>>2]=e[B0+28>>2],Il(r,B,0)}while(0);r0(e[F>>2]|0),n=e[(e[f>>2]|0)+12>>2]|0,n|0&&Ca(r,5,n),v&&(t0&&(B0=(e[f>>2]|0)+16|0,e[B>>2]=e[B0>>2],e[B+4>>2]=e[B0+4>>2],e[B+8>>2]=e[B0+8>>2],e[B+12>>2]=e[B0+12>>2],e[B+16>>2]=e[B0+16>>2],e[B+20>>2]=e[B0+20>>2],e[B+24>>2]=e[B0+24>>2],e[B+28>>2]=e[B0+28>>2],Fd(r,B),xn(r,e[p>>2]|0,e[w+228>>2]|0,e[w+244>>2]|0,e[w+212>>2]|0)),Bl(r));e:do if(!D)for(o=U0(m)|0;;){if(!o)break e;for(df(r,o),n=Me(m,o)|0;n;)dh(r,n),n=Qe(m,n)|0;o=X0(m,o)|0}while(0);Ld0(r,t),t0||Yd(r,m,i)}E=E+1|0}g=k0}function df(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;A=g,g=g+32|0,i=A,l=e[r>>2]|0,s=t+16|0;e:do if(e[(e[s>>2]|0)+8>>2]|0&&(wN(r,We(t)|0,t)|0)<<24>>24&&(c=r+256|0,e[i>>2]=e[c>>2],e[i+4>>2]=e[c+4>>2],e[i+8>>2]=e[c+8>>2],e[i+12>>2]=e[c+12>>2],e[i+16>>2]=e[c+16>>2],e[i+20>>2]=e[c+20>>2],e[i+24>>2]=e[c+24>>2],e[i+28>>2]=e[c+28>>2],(Cd0(t,i)|0)<<24>>24)&&(n=(e[s>>2]|0)+116|0,o=e[l+28>>2]|0,(o|0)!=(C[n>>0]|0))){C[n>>0]=o,V3(r,te(t)|0),i=wt(t,e[47169]|0,195059)|0,C[i>>0]|0&&V3(r,i),i=wt(t,e[47157]|0,195059)|0;r:do if(C[i>>0]|0)for(pf(i)|0,i=188228;;){if(n=i,i=i+4|0,n=e[n>>2]|0,!n)break r;if((C[n>>0]|0)==105&&!(ge(n,134335)|0))break e}while(0);Ed0(r,t),Bt[e[(e[(e[(e[s>>2]|0)+8>>2]|0)+4>>2]|0)+20>>2]&63](r,t),i=e[(e[s>>2]|0)+108>>2]|0,i|0&&C[i+81>>0]|0&&Ca(r,10,i),Bd0(r)}while(0);g=A}function dh(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+32|0,o=l,i=r+256|0,e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],e[o+16>>2]=e[i+16>>2],e[o+20>>2]=e[i+20>>2],e[o+24>>2]=e[i+24>>2],e[o+28>>2]=e[i+28>>2];e:do if((Vf0(t,o)|0)<<24>>24&&(n=t+-48|0,(Of0(r,t)|0)<<24>>24)){s=t+48|0,i=d2(te(e[((e[t>>2]&3|0)==3?t:s)+40>>2]|0)|0)|0,i=Te(i+3+(d2(te(e[((e[t>>2]&3|0)==2?t:n)+40>>2]|0)|0)|0)|0)|0,yo(i,te(e[((e[t>>2]&3|0)==3?t:s)+40>>2]|0)|0)|0,s=(d1(We(e[((e[t>>2]&3|0)==2?t:n)+40>>2]|0)|0)|0)==0,o=i+(d2(i)|0)|0,s?(C[o>>0]=C[141747]|0,C[o+1>>0]=C[141748]|0,C[o+2>>0]=C[141749]|0):(C[o>>0]=C[137738]|0,C[o+1>>0]=C[137739]|0,C[o+2>>0]=C[137740]|0),Qa(i,te(e[((e[t>>2]&3|0)==2?t:n)+40>>2]|0)|0)|0,V3(r,i),r0(i),i=wt(t,e[47191]|0,195059)|0,C[i>>0]|0&&V3(r,i),i=wt(t,e[47185]|0,195059)|0;r:do if(!(C[i>>0]|0))i=0;else for(pf(i)|0,i=188228;;){if(n=i,i=i+4|0,n=e[n>>2]|0,!n){i=188228;break r}if((C[n>>0]|0)==105&&!(ge(n,134335)|0))break e}while(0);Kw0(r,t,i),bw0(r,t,i),ed0(r)}while(0);g=l}function Pf0(r,t){r=r|0,t=t|0;var i=0,n=0;for(i=r+16|0,r=1;;){if(n=e[i>>2]|0,(r|0)>(e[n+180>>2]|0)){r=1;break}if(!(Mi(e[(e[n+184>>2]|0)+(r<<2)>>2]|0,t)|0))r=r+1|0;else{r=0;break}}return r|0}function Yf0(r,t){r=r|0,t=t|0;var i=0,n=0;for(i=r+16|0,r=1;;){if(n=e[i>>2]|0,(r|0)>(e[n+180>>2]|0)){r=1;break}if(!(Mi(e[(e[n+184>>2]|0)+(r<<2)>>2]|0,t)|0))r=r+1|0;else{r=0;break}}return r|0}function Vf0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+64|0,s=A+32|0,n=A,o=r+16|0,r=e[o>>2]|0,i=e[r+8>>2]|0,i|0&&(i=i+8|0,e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],e[n+16>>2]=e[i+16>>2],e[n+20>>2]=e[i+20>>2],e[n+24>>2]=e[i+24>>2],e[n+28>>2]=e[i+28>>2],e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],e[s+16>>2]=e[t+16>>2],e[s+20>>2]=e[t+20>>2],e[s+24>>2]=e[t+24>>2],e[s+28>>2]=e[t+28>>2],(ya(n,s)|0)!=0)?r=1:l=3;do if((l|0)==3){if(i=e[r+96>>2]|0,i){if(e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],e[s+16>>2]=e[t+16>>2],e[s+20>>2]=e[t+20>>2],e[s+24>>2]=e[t+24>>2],e[s+28>>2]=e[t+28>>2],(DC(i,s)|0)<<24>>24){r=1;break}r=e[o>>2]|0}if(r=e[r+108>>2]|0,r|0&&C[r+81>>0]|0&&(e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],e[s+16>>2]=e[t+16>>2],e[s+20>>2]=e[t+20>>2],e[s+24>>2]=e[t+24>>2],e[s+28>>2]=e[t+28>>2],(DC(r,s)|0)<<24>>24)){r=1;break}r=0}while(0);return g=A,r|0}function Of0(r,t){r=r|0,t=t|0;var i=0,n=0;e:do if((e[r+156>>2]|0)>=2&&(i=wt(t,e[47190]|0,195059)|0,(Lh(r,i)|0)<<24>>24==0))if(C[i>>0]|0)i=0;else for(i=0;;){if((i|0)>=2){i=0;break e}if(n=(i|0)==1,n=wt(e[((e[t>>2]&3|0)==((n?2:3)|0)?t:t+((n?-1:1)*48|0)|0)+40>>2]|0,e[47167]|0,195059)|0,!(C[n>>0]|0)){i=1;break e}if(!((Lh(r,n)|0)<<24>>24))i=i+1|0;else{i=1;break}}else i=1;while(0);return i|0}function pf(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+192|0,p=v+24|0,w=v+16|0,f=v+8|0,c=v,o=v+48|0,A=v+32|0,C[100282]|0&&(Vt(188492,128,194826),C[100282]=0),Vt(A,128,v+56|0),e[o>>2]=r,l=A+4|0,s=A+8|0,t=0,i=0;e:for(;;){n=t;r:for(;;)switch(md0(o,A)|0){case 0:{t=21;break e}case 40:if(n<<24>>24){t=7;break e}else{n=1;continue r}case 41:if(n<<24>>24){n=0;continue r}else{t=9;break e}default:break r}if(!(n<<24>>24)){if((i|0)==63){t=12;break}t=e[47124]|0,t>>>0>=(e[47125]|0)>>>0&&(Xe(188492,1)|0,t=e[47124]|0),e[47124]=t+1,C[t>>0]=0,e[188228+(i<<2)>>2]=e[47124],i=i+1|0}t=e[l>>2]|0,t>>>0>=(e[s>>2]|0)>>>0&&(Xe(A,1)|0,t=e[l>>2]|0),C[t>>0]=0,t=e[A>>2]|0,e[l>>2]=t,t2(188492,t)|0,t=e[47124]|0,t>>>0>=(e[47125]|0)>>>0&&(Xe(188492,1)|0,t=e[47124]|0),e[47124]=t+1,C[t>>0]=0,t=n}do if((t|0)==7)e[c>>2]=r,$0(1,100283,c)|0,e[47057]=0,Ot(A);else if((t|0)==9)e[f>>2]=r,$0(1,100317,f)|0,e[47057]=0,Ot(A);else if((t|0)==12)e[w>>2]=r,$0(0,100345,w)|0,e[47120]=0,Ot(A);else if((t|0)==21){if(n<<24>>24){e[p>>2]=r,$0(1,100368,p)|0,e[47057]=0,Ot(A);break}e[188228+(i<<2)>>2]=0,Ot(A),t=e[47124]|0,t>>>0>=(e[47125]|0)>>>0&&(Xe(188492,1)|0,t=e[47124]|0),C[t>>0]=0,e[47124]=e[47123]}while(0);return g=v,188228}function Hf0(r){r=r|0;var t=0;return t=g,g=g+r|0,g=g+15&-16,t|0}function Jf0(){return g|0}function Uf0(r){r=r|0,g=r}function Xf0(r,t){r=r|0,t=t|0,g=r,on=t}function qf0(r,t){r=r|0,t=t|0,v0||(v0=r,g0=t)}function $f0(r){r=r|0,b=r}function Kf0(){return b|0}function bf0(r){return r=r|0,e[46654]=r,0}function e40(){return e[46654]|0}function r40(r,t){r=r|0,t=t|0,Vr0(0,r|0,t|0)|0}function t40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,o=A+4|0,l=A,e[o>>2]=0,s=Lc0()|0,i7(s,10976),i7(s,17220),i7(s,17440),Au0(1)|0,su0(18)|0;r=Yu0(r)|0,n=e[o>>2]|0,!!r;){if(n|0){r=195059;continue}t7(s,r,i)|0,Zc0(s,r,t,o,l)|0,r=195059}return g=A,n|0}function i40(r){r=r|0;var t=0,i=0,n=0,o=0;switch(o=g,g=g+16|0,t=o+4|0,i=o,n=e[(e[r+16>>2]|0)+8>>2]|0,r=r+64|0,e[r>>2]|0){case 0:{QN(n);break}case 1:{$[(e[n+16>>2]|0)+136>>1]&1&&TQ(n);break}case 4:case 5:case 6:{MN(n,i,t),l40(n,e[i>>2]|0,e[t>>2]|0,e[r>>2]|0);break}default:}g=o}function n40(r){r=r|0;var t=0,i=0,n=0,o=0;switch(i=e[(e[r+16>>2]|0)+8>>2]|0,e[46655]|0||(e[46655]=e[4678],e[46656]=57,e[46657]=19),n=i+64|0,o=(e[n>>2]|0)+8|0,t=e[o>>2]|0,e[o>>2]=186620,e[r+64>>2]|0){case 2:{ZN(r,i,r,0);break}case 3:{ZN(r,i,r,1);break}case 1:case 0:{e[r+152>>2]&134217728||WW(i,r)|0;break}case 6:case 5:case 4:{o40(i),e[r+152>>2]&134217728||WW(i,r)|0;break}default:}e[(e[n>>2]|0)+8>>2]=t}function o40(r){r=r|0;var t=0,i=0;for(t=e[46659]|0,(t|0)!=(e[46658]|0)&&(i=e[e[46690]>>2]|0,i||(i=Lt(r,0,99808,195059)|0,e[e[46690]>>2]=i,t=e[46659]|0),t>>>0>=(e[46660]|0)>>>0&&(Xe(186632,1)|0,t=e[46659]|0),C[t>>0]=0,t=e[46658]|0,e[46659]=t,Er(r,i,t)|0),e[(e[r+16>>2]|0)+12>>2]|0&&(i=e[(e[46690]|0)+4>>2]|0,t=e[46675]|0,t>>>0>=(e[46676]|0)>>>0&&(Xe(186696,1)|0,t=e[46675]|0),C[t>>0]=0,t=e[46674]|0,e[46675]=t,Er(r,i,t)|0),nW(r,66753,e[(e[46690]|0)+8236>>2]|0,195059)|0,t=0;(t|0)!=8;)Ot(186632+(t<<4)|0),t=t+1|0;r0(e[46690]|0),u[1]=1,u[5]=1,e[46691]=0,e[46695]=0}function l40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;l=Te(8240)|0,e[46690]=l;e:do switch(n|0){case 6:{$[l+8232>>1]=14,n=66769;break}case 5:{$[l+8232>>1]=12,n=66773;break}default:{if(n=he(r,66753)|0,n|0&&C[n>>0]|0&&(o=VD(n)|0,(o&65535)>10)){l=e[46690]|0,$[l+8232>>1]=o;break e}n=VD(66765)|0,l=e[46690]|0,$[l+8232>>1]=n,n=66765}}while(0);for(e[l+8236>>2]=n,s=r+16|0,n=e[s>>2]|0,e[n+180>>2]|0?(o=Lt(r,0,99808,195059)|0,l=e[46690]|0,n=e[s>>2]|0):o=0,e[l>>2]=o,C[n+113>>0]&8?n=Lt(r,0,66777,195059)|0:n=0,e[(e[46690]|0)+4>>2]=n,l=Lt(r,1,99808,195059)|0,e[(e[46690]|0)+8>>2]=l,l=Lt(r,1,66777,195059)|0,e[(e[46690]|0)+12>>2]=l,l=Lt(r,2,99808,195059)|0,n=e[46690]|0,e[n+16>>2]=l,i?(o=Lt(r,2,66785,195059)|0,n=e[46690]|0):o=0,e[n+20>>2]=o,t?(o=Lt(r,2,66793,195059)|0,n=e[46690]|0):o=0,e[n+24>>2]=o,o=C[(e[s>>2]|0)+113>>0]|0,o&33?(l=Lt(r,2,66777,195059)|0,n=e[46690]|0,o=C[(e[s>>2]|0)+113>>0]|0):l=0,e[n+28>>2]=l,o&2?(l=Lt(r,2,66801,195059)|0,n=e[46690]|0,o=C[(e[s>>2]|0)+113>>0]|0):l=0,e[n+32>>2]=l,o&4?(o=Lt(r,2,66810,195059)|0,n=e[46690]|0):o=0,e[n+36>>2]=o,n=0;(n|0)!=8;)Vt(186632+(n<<4)|0,1024,(e[46690]|0)+40+(n<<10)|0),n=n+1|0}function VD(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+1040|0,l=A,o=A+8|0,n=0,t=r;e:for(;;){do if(i=t,t=t+1|0,i=C[i>>0]|0,!(i<<24>>24))break e;while(((i<<24>>24)+-48|0)>>>0>=10);if((n|0)>=1023){s=7;break}C[o+n>>0]=i,n=n+1|0}return(s|0)==7&&(e[l>>2]=r,$0(0,66819,l)|0),C[o+n>>0]=0,s=(F1(o)|0)&65535,g=A,s|0}function s40(r){r=r|0;var t=0,i=0;i=e[(e[r+16>>2]|0)+8>>2]|0,t=e[e[46690]>>2]|0,r=e[46663]|0,r>>>0>=(e[46664]|0)>>>0&&(Xe(186648,1)|0,r=e[46663]|0),C[r>>0]=0,r=e[46662]|0,e[46663]=r,Er(i,t,r)|0,e[(e[i+16>>2]|0)+12>>2]|0&&(t=e[(e[46690]|0)+4>>2]|0,r=e[46679]|0,r>>>0>=(e[46680]|0)>>>0&&(Xe(186712,1)|0,r=e[46679]|0),C[r>>0]=0,r=e[46678]|0,e[46679]=r,Er(i,t,r)|0),u[2]=1,u[6]=1,e[46692]=0,e[46696]=0}function A40(r){r=r|0;var t=0,i=0;i=e[(e[r+16>>2]|0)+8>>2]|0,r=e[46663]|0,(e[46662]|0)!=(r|0)&&(t=e[(e[46690]|0)+8>>2]|0,r>>>0>=(e[46664]|0)>>>0&&(Xe(186648,1)|0,r=e[46663]|0),C[r>>0]=0,r=e[46662]|0,e[46663]=r,Er(i,t,r)|0),r=e[46679]|0,(e[46678]|0)!=(r|0)&&(t=e[(e[46690]|0)+12>>2]|0,r>>>0>=(e[46680]|0)>>>0&&(Xe(186712,1)|0,r=e[46679]|0),C[r>>0]=0,r=e[46678]|0,e[46679]=r,Er(i,t,r)|0),u[9]=1,u[11]=1,e[46699]=0,e[46701]=0}function u40(r){r=r|0;var t=0,i=0;i=e[(e[r+16>>2]|0)+8>>2]|0,r=e[46663]|0,(e[46662]|0)!=(r|0)&&(t=e[(e[46690]|0)+16>>2]|0,r>>>0>=(e[46664]|0)>>>0&&(Xe(186648,1)|0,r=e[46663]|0),C[r>>0]=0,r=e[46662]|0,e[46663]=r,Er(i,t,r)|0),r=e[46667]|0,(e[46666]|0)!=(r|0)&&(t=e[(e[46690]|0)+24>>2]|0,r>>>0>=(e[46668]|0)>>>0&&(Xe(186664,1)|0,r=e[46667]|0),C[r>>0]=0,r=e[46666]|0,e[46667]=r,Er(i,t,r)|0),r=e[46671]|0,(e[46670]|0)!=(r|0)&&(t=e[(e[46690]|0)+20>>2]|0,r>>>0>=(e[46672]|0)>>>0&&(Xe(186680,1)|0,r=e[46671]|0),C[r>>0]=0,r=e[46670]|0,e[46671]=r,Er(i,t,r)|0),r=e[46679]|0,(e[46678]|0)!=(r|0)&&(t=e[(e[46690]|0)+28>>2]|0,r>>>0>=(e[46680]|0)>>>0&&(Xe(186712,1)|0,r=e[46679]|0),C[r>>0]=0,r=e[46678]|0,e[46679]=r,Er(i,t,r)|0),r=e[46683]|0,(e[46682]|0)!=(r|0)&&(t=e[(e[46690]|0)+36>>2]|0,r>>>0>=(e[46684]|0)>>>0&&(Xe(186728,1)|0,r=e[46683]|0),C[r>>0]=0,r=e[46682]|0,e[46683]=r,Er(i,t,r)|0),r=e[46687]|0,(e[46686]|0)!=(r|0)&&(t=e[(e[46690]|0)+32>>2]|0,r>>>0>=(e[46688]|0)>>>0&&(Xe(186744,1)|0,r=e[46687]|0),C[r>>0]=0,r=e[46686]|0,e[46687]=r,Er(i,t,r)|0),u[10]=1,u[12]=1,u[3]=1,u[4]=1,u[7]=1,u[8]=1,e[46700]=0,e[46702]=0,e[46693]=0,e[46694]=0,e[46697]=0,e[46698]=0}function a40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+1056|0,l=E+16|0,m=E+8|0,v=E,s=E+32|0,f=e[(e[r+16>>2]|0)+12>>2]|0,w=e[11416+(f<<2)>>2]|0,t2(w,66916)|0,n=i+4|0,Is(s,+u[(e[n>>2]|0)+16>>3]),t2(w,s)|0,xA(r,195059,e[e[n>>2]>>2]|0),ph(r),p=C[i+48>>0]|0,p=p<<24>>24==108?-1:p<<24>>24==114&1,n=e[n>>2]|0,n?n=e[n+24>>2]&127:n=0,o=$[(e[46690]|0)+8232>>1]|0,(o&65535)>14&&(A=e[11464+((o&65535)+-15<<2)>>2]&n,c=186764+(f<<2)|0,(e[c>>2]|0)!=(A|0))&&(e[v>>2]=A,Ke(s,66919,v)|0,t2(w,s)|0,e[c>>2]=A),v=t+8|0,u[v>>3]=+u[v>>3]+ +u[i+24>>3],t2(w,66925)|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],IA(w,l),e[m>>2]=p,Ke(s,102220,m)|0,t2(w,s)|0,Is(s,+u[i+32>>3]),t2(w,s)|0,xA(r,195059,e[i>>2]|0),g=E}function c40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+1040|0,o=s,l=s+16|0,n=e[(e[r+16>>2]|0)+12>>2]|0,Vd(r),ph(r),i?((i|1|0)==3?k7(r,i,t,2):Od(r),r=e[11416+(n<<2)>>2]|0,t2(r,66910)|0):(r=e[11416+(n<<2)>>2]|0,t2(r,66913)|0),e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],IA(r,o),Is(l,+u[t+16>>3]-+u[t>>3]),t2(r,l)|0,Is(l,+u[t+24>>3]-+u[t+8>>3]),t2(r,l)|0,g=s}function f40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,Vd(r),ph(r),n?((n|1|0)==3?k7(r,n,t,i):Od(r),kh(r,80,t,i)):kh(r,112,t,i)}function h40(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,Vd(r),ph(r),l?((l|1|0)==3?k7(r,l,t,i):Od(r),kh(r,98,t,i)):kh(r,66,t,i)}function w40(r,t,i){r=r|0,t=t|0,i=i|0,Vd(r),ph(r),kh(r,76,t,i)}function Vd(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(f=g,g=g+1184|0,l=f,n=f+24|0,c=f+8|0,Vt(c,1024,f+152|0),s=r+16|0,t=e[s>>2]|0,o=+u[t+152>>3],i=8+(e[t+12>>2]<<3)|0,o!=+u[i>>3]&&(u[i>>3]=o,t2(c,66882)|0,u[l>>3]=+u[(e[s>>2]|0)+152>>3],Ke(n,66896,l)|0,d7(n,0),t2(c,n)|0,n=c+4|0,t=e[n>>2]|0,i=c+8|0,t>>>0>=(e[i>>2]|0)>>>0&&(Xe(c,1)|0,t=e[n>>2]|0),e[n>>2]=t+1,C[t>>0]=41,t=e[n>>2]|0,t>>>0>=(e[i>>2]|0)>>>0&&(Xe(c,1)|0,t=e[n>>2]|0),C[t>>0]=0,t=e[c>>2]|0,e[n>>2]=t,xA(r,66901,t),t=e[s>>2]|0),t=e[t+160>>2]|0,t|0){s=c+4|0,A=c+8|0;e:for(;l=t+4|0,t=e[t>>2]|0,!!t;){switch(C[t>>0]|0){case 102:{if(!(ge(t,111101)|0)){t=l;continue e}break}case 98:{if(!(ge(t,111083)|0)){t=l;continue e}break}case 115:{if(!(ge(t,111088)|0)){t=l;continue e}break}default:}t2(c,t)|0;do n=t,t=t+1|0;while(C[n>>0]|0);if(C[t>>0]|0){for(i=e[s>>2]|0,i>>>0>=(e[A>>2]|0)>>>0&&(Xe(c,1)|0,i=e[s>>2]|0),e[s>>2]=i+1,C[i>>0]=40,n=0;C[t>>0]|0;){n|0&&(i=e[s>>2]|0,i>>>0>=(e[A>>2]|0)>>>0&&(Xe(c,1)|0,i=e[s>>2]|0),e[s>>2]=i+1,C[i>>0]=44),t2(c,t)|0;do i=t,t=t+1|0;while(C[i>>0]|0);n=n+1|0}t=e[s>>2]|0,t>>>0>=(e[A>>2]|0)>>>0&&(Xe(c,1)|0,t=e[s>>2]|0),e[s>>2]=t+1,C[t>>0]=41}t=e[s>>2]|0,t>>>0>=(e[A>>2]|0)>>>0&&(Xe(c,1)|0,t=e[s>>2]|0),C[t>>0]=0,t=e[c>>2]|0,e[s>>2]=t,xA(r,66901,t),t=l}Ot(c)}g=f}function ph(r){r=r|0,p7((e[r+16>>2]|0)+16|0),xA(r,75834,193758)}function kh(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;for(c=g,g=g+1040|0,A=c,s=c+16|0,l=e[11416+(e[(e[r+16>>2]|0)+12>>2]<<2)>>2]|0,o=l+4|0,r=e[o>>2]|0,r>>>0>=(e[l+8>>2]|0)>>>0&&(Xe(l,1)|0,r=e[o>>2]|0),e[o>>2]=r+1,C[r>>0]=t,e[A>>2]=n,Ke(s,66846,A)|0,t2(l,s)|0,r=0;!((r|0)>=(n|0));)s=i+(r<<4)|0,e[A>>2]=e[s>>2],e[A+4>>2]=e[s+4>>2],e[A+8>>2]=e[s+8>>2],e[A+12>>2]=e[s+12>>2],IA(l,A),r=r+1|0;g=c}function IA(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+1024|0,n=i,Is(n,+u[t>>3]),t2(r,n)|0,Is(n,+mp0(+u[t+8>>3])),t2(r,n)|0,g=i}function Is(r,t){r=r|0,t=+t;var i=0,n=0;i=g,g=g+16|0,n=i,u[n>>3]=t>-1e-8&t<1e-8?0:t,Ke(r,66851,n)|0,d7(r,1),g=i}function d7(r,t){r=r|0,t=t|0;var i=0,n=0;if(i=Zr(r,46)|0,!i)t|0&&(i=r+(d2(r)|0)|0,n=10);else{for(;r=i+1|0,C[r>>0]|0;)i=r;e:for(;;){switch(C[i>>0]|0){case 46:{n=5;break e}case 48:break;default:{n=6;break e}}C[i>>0]=0,i=i+-1|0}(n|0)==5?C[i>>0]=0:(n|0)==6&&(i=i+1|0),t|0&&(n=10)}(n|0)==10&&(C[i>>0]=32,C[i+1>>0]=0)}function p7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+32|0,l=s+16|0,o=s,t=C[r+3>>0]|0,i=s0[r>>0]|0,n=s0[r+1>>0]|0,r=s0[r+2>>0]|0,t<<24>>24==-1?(e[o>>2]=i,e[o+4>>2]=n,e[o+8>>2]=r,Ke(193758,75714,o)|0):(e[l>>2]=i,e[l+4>>2]=n,e[l+8>>2]=r,e[l+12>>2]=t&255,Ke(193758,66864,l)|0),g=s}function xA(r,t,i){r=r|0,t=t|0,i=i|0,OD(e[11416+(e[(e[r+16>>2]|0)+12>>2]<<2)>>2]|0,t,i)}function OD(r,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[p+4>>2],e[m+8>>2]=e[p+8>>2],e[m+12>>2]=e[p+12>>2],IA(x,m),HD(x,f),e[m>>2]=e[v>>2],e[m+4>>2]=e[v+4>>2],e[m+8>>2]=e[v+8>>2],e[m+12>>2]=e[v+12>>2],IA(x,m),HD(x,w)),t2(x,66907)|0,t=E+140|0,o=+x0[t>>2],i=E+56|0,o>0?(Hd(x,o,i),Hd(x,+x0[t>>2],E+96|0)):(Hd(x,0,i),Hd(x,1,E+96|0)),KZ(x)|0,l=x+4|0,t=e[l>>2]|0,n=x+8|0,i=t>>>0>=(e[n>>2]|0)>>>0,B?(i&&(Xe(x,1)|0,t=e[l>>2]|0),e[l>>2]=t+1,C[t>>0]=93):(i&&(Xe(x,1)|0,t=e[l>>2]|0),e[l>>2]=t+1,C[t>>0]=41),t=e[l>>2]|0,t>>>0>=(e[n>>2]|0)>>>0&&(Xe(x,1)|0,t=e[l>>2]|0),C[t>>0]=0,B=e[x>>2]|0,e[l>>2]=B,xA(r,66904,B),Ot(x)),g=z}function Od(r){r=r|0,p7((e[r+16>>2]|0)+56|0),xA(r,66904,193758)}function HD(r,t){r=r|0,t=+t;var i=0,n=0;i=g,g=g+1024|0,n=i,Is(n,t),t2(r,n)|0,g=i}function Hd(r,t,i){r=r|0,t=+t,i=i|0;var n=0,o=0,l=0;n=g,g=g+1040|0,l=n,o=n+8|0,u[l>>3]=t,Ke(o,94168,l)|0,d7(o,1),p7(i),OD(r,o,193758),g=n}function d40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;n=g,g=g+1040|0,s=n,o=n+16|0,l=e[11416+(e[(e[r+16>>2]|0)+12>>2]<<2)>>2]|0,t2(l,67013)|0,e[s>>2]=e[i>>2],e[s+4>>2]=e[i+4>>2],e[s+8>>2]=e[i+8>>2],e[s+12>>2]=e[i+12>>2],IA(l,s),Is(o,+u[i+16>>3]-+u[i>>3]),t2(l,o)|0,Is(o,+u[i+24>>3]-+u[i+8>>3]),t2(l,o)|0,xA(r,195059,e[t+8>>2]|0),g=n}function p40(r){r=r|0;var t=0;switch(e[r+64>>2]|0){case 0:{t=uc0(e[r>>2]|0)|0,Rc0(t,e[(e[r+16>>2]|0)+8>>2]|0,67797,0)|0,ac0(t);break}case 1:{QN(e[(e[r>>2]|0)+168>>2]|0);break}default:}}function k40(r){r=r|0;var t=0,i=0,n=0,o=0;n=g,g=g+16|0,t=n,i=e[(e[r+16>>2]|0)+8>>2]|0,e[46703]|0||(e[46703]=e[4678],e[46704]=57,e[46705]=19),e[(e[i+64>>2]|0)+8>>2]=186812,JD(i,1),e[t>>2]=0,C[t+4>>0]=(C[(e[i+16>>2]|0)+115>>0]|0)==1&1,o=e[r+64>>2]|0,C[t+5>>0]=((o|0)==0|(o|0)==3)&1,C[t+6>>0]=0,UD(i,r,1,t),g=n}function JD(r,t){r=r|0,t=t|0;var i=0;for(e[r>>2]=e[r>>2]&-9,i=yt(r)|0;i;)JD(i,0),i=Ct(i)|0;e:do if(t|0)for(t=U0(r)|0;;){if(!t)break e;for(e[t>>2]=e[t>>2]&-9,i=Me(r,t)|0;i;)e[i>>2]=e[i>>2]&-9,i=Qe(r,i)|0;t=X0(r,t)|0}while(0)}function UD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(E=g,g=g+16|0,m=E+8|0,v=E,p=(i|0)!=0,p){for(w=ct(11836,e[4581]|0)|0,Ll(r,1,141060,12,0),Ll(r,2,141060,12,0),Ll(r,0,141060,-12,0),o=XD(r,0,w)|0,c=U0(r)|0,A=0,l=0;c;){for(Yr(te(c)|0,108006,7)|0?(f=l+1|0,l=l+o|0):(f=l,l=v40(w,te(c)|0)|0),e[(lt(c,141060,0)|0)+8>>2]=l,s=Me(r,c)|0,l=A;s;)e[(lt(s,141060,0)|0)+8>>2]=l,s=Qe(r,s)|0,l=l+1|0;c=X0(r,c)|0,A=l,l=f}Fr(w)|0}else o=0;w=e[n>>2]|0,e[n>>2]=w+1,L2(t,w),m0(t,97374)|0,m40(r,t,i,n),v7(r,t,n),m0(t,97345)|0,L2(t,e[n>>2]|0),p?(e[v>>2]=o,Y0(t,67016,v)):(e[m>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,67036,m)),y40(r,t,i,g40(r,t,i,n)|0,n),C40(r,t,i,n),m0(t,153599)|0,m=(e[n>>2]|0)+-1|0,e[n>>2]=m,L2(t,m),p?m0(t,111008)|0:m0(t,75357)|0,g=E}function XD(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for((c2(r)|0)!=(r|0)&&(n=t+1|0,e[(lt(r,141060,0)|0)+8>>2]=t,Yr(te(r)|0,108006,7)|0||(t=te(r)|0,L40(i,t,e[(lt(r,141060,0)|0)+8>>2]|0)),t=n),n=yt(r)|0;n;)r=XD(n,t,i)|0,n=Ct(n)|0,t=r;return t|0}function v40(r,t){return r=r|0,t=t|0,r=oe[e[r>>2]&63](r,t,512)|0,r?r=e[r+12>>2]|0:r=-1,r|0}function L2(r,t){for(r=r|0,t=t|0;!((t|0)<=0);)m0(r,90574)|0,t=t+-1|0}function m40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;s=g,g=g+32|0,l=s+16|0,o=s+8|0,A=s,c=te(r)|0,L2(t,e[n>>2]|0),e[A>>2]=Wl(c,n)|0,Y0(t,67124,A),i|0&&(m0(t,97345)|0,L2(t,e[n>>2]|0),c=(d1(r)|0)!=0,e[o>>2]=c?107652:137308,Y0(t,67738,o),L2(t,e[n>>2]|0),c=(xd(r)|0)!=0,e[l>>2]=c?107652:137308,Y0(t,67755,l)),g=s}function v7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+16|0,w=p+8|0,f=p,s=c2(r)|0,A=e[r>>2]&3,n=co(s,A,0)|0;e:do if(n|0)for(c=i+5|0;;){if(!n)break e;o=k2(r,n)|0;do if(o|0){if(l=n+8|0,!(C[o>>0]|0)&&(o=e[l>>2]|0,(C[o>>0]|0)!=108||ge(o,108224)|0))break;if(m0(t,97345)|0,L2(t,e[i>>2]|0),e[f>>2]=Wl(e[l>>2]|0,i)|0,Y0(t,67174,f),C[c>>0]|0&&I40(e[l>>2]|0)|0){x40(k2(r,n)|0,t,i);break}e[w>>2]=Wl(k2(r,n)|0,i)|0,Y0(t,67181,w)}while(0);n=co(s,A,n)|0}while(0);g=p}function g40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(A=g,g=g+16|0,s=A,o=yt(r)|0,o){for(m0(t,97345)|0,l=e[n>>2]|0,e[n>>2]=l+1,L2(t,l),l=(i|0)!=0,l?(m0(t,67098)|0,r=0,i=o):(m0(t,67158)|0,L2(t,e[n>>2]|0),r=0,i=o);i;)r?m0(t,97345)|0:r=1,l?qD(i,t,n):(e[s>>2]=e[(lt(i,141060,0)|0)+8>>2],Y0(t,137395,s)),i=Ct(i)|0;l||(e[n>>2]=(e[n>>2]|0)+-1,m0(t,153599)|0,L2(t,e[n>>2]|0),m0(t,97340)|0),r=1}else r=0;return g=A,r|0}function y40(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;if(l=U0(r)|0,!l)(i|0)!=0&(n|0)!=0&&(e[o>>2]=(e[o>>2]|0)+-1,m0(t,153599)|0,L2(t,e[o>>2]|0),m0(t,97340)|0);else{for(m0(t,97345)|0,s=(i|0)!=0,s?(n||(n=e[o>>2]|0,e[o>>2]=n+1,L2(t,n),m0(t,67098)|0),n=0):(n=e[o>>2]|0,e[o>>2]=n+1,L2(t,n),m0(t,67112)|0,L2(t,e[o>>2]|0),n=0);l;){if(Yr(te(l)|0,108006,7)|0){do if(n)if(s){m0(t,97345)|0;break}else{m0(t,100999)|0;break}else n=1;while(0);B40(l,t,i,o)}l=X0(r,l)|0}e[o>>2]=(e[o>>2]|0)+-1,m0(t,153599)|0,L2(t,e[o>>2]|0),m0(t,97340)|0}}function C40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;o=U0(r)|0;e:do if(o|0){for(;;){if(!o)break e;if(Me(r,o)|0)break;o=X0(r,o)|0}for(m0(t,97345)|0,A=e[n>>2]|0,e[n>>2]=A+1,L2(t,A),m0(t,67048)|0,A=(i|0)!=0,A||L2(t,e[n>>2]|0),l=0;o;){for(s=Me(r,o)|0;s;){do if(l)if(A){m0(t,97345)|0;break}else{m0(t,100999)|0;break}else l=1;while(0);E40(s,t,i,n),s=Qe(r,s)|0}o=X0(r,o)|0}e[n>>2]=(e[n>>2]|0)+-1,m0(t,153599)|0,L2(t,e[n>>2]|0),m0(t,97340)|0}while(0)}function E40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;c=g,g=g+32|0,A=c+24|0,s=c+16|0,l=c+8|0,o=c,i?(A=e[n>>2]|0,e[n>>2]=A+1,L2(t,A),m0(t,97374)|0,L2(t,e[n>>2]|0),e[o>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,67060,o),L2(t,e[n>>2]|0),e[l>>2]=e[(lt(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0,141060,0)|0)+8>>2],Y0(t,67074,l),L2(t,e[n>>2]|0),e[s>>2]=e[(lt(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0,141060,0)|0)+8>>2],Y0(t,67087,s),v7(r,t,n),m0(t,153599)|0,A=(e[n>>2]|0)+-1|0,e[n>>2]=A,L2(t,A),m0(t,75357)|0):(e[A>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,137395,A)),g=c}function B40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+32|0,s=A+16|0,l=A+8|0,o=A,i?(s=e[n>>2]|0,e[n>>2]=s+1,L2(t,s),m0(t,97374)|0,L2(t,e[n>>2]|0),e[o>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,67060,o),L2(t,e[n>>2]|0),e[l>>2]=Wl(te(r)|0,n)|0,Y0(t,67124,l),v7(r,t,n),m0(t,153599)|0,s=(e[n>>2]|0)+-1|0,e[n>>2]=s,L2(t,s),m0(t,75357)|0):(e[s>>2]=e[(lt(r,141060,0)|0)+8>>2],Y0(t,137395,s)),g=A}function Wl(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=t+4|0,C[o>>0]|0&&(r=Ph(r)|0),e[46706]|0||Vt(186824,1024,0),i=r;e:for(;;){switch(n=C[i>>0]|0,n<<24>>24){case 0:break e;case 34:{t2(186824,67137)|0;break}case 92:{t2(186824,96616)|0;break}case 47:{t2(186824,67140)|0;break}case 8:{t2(186824,67143)|0;break}case 12:{t2(186824,67146)|0;break}case 10:{t2(186824,67149)|0;break}case 13:{t2(186824,67152)|0;break}case 9:{t2(186824,67155)|0;break}default:t=e[46707]|0,t>>>0>=(e[46708]|0)>>>0&&(Xe(186824,1)|0,t=e[46707]|0),e[46707]=t+1,C[t>>0]=n}i=i+1|0}return t=e[46707]|0,t>>>0>=(e[46708]|0)>>>0&&(Xe(186824,1)|0,t=e[46707]|0),C[t>>0]=0,t=e[46706]|0,e[46707]=t,C[o>>0]|0&&r0(r),t|0}function qD(r,t,i){for(r=r|0,t=t|0,i=i|0,UD(r,t,0,i),r=yt(r)|0;r;)m0(t,97345)|0,qD(r,t,i),r=Ct(r)|0}function I40(r){r=r|0;var t=0;t=r+1|0;e:do if((C[r>>0]|0)==95){switch(r=(C[t>>0]|0)+-100<<24>>24,((r&255)>>>2|r<<6&255)<<24>>24){case 0:{if(!(ge(t,67695)|0)){r=1;break e}break}case 2:{if(!(ge(t,67701)|0)){r=1;break e}break}case 1:{if(!(ge(t,67708)|0)){r=1;break e}return(ge(t,67722)|0)==0|0}case 4:{if(!(ge(t,67715)|0)){r=1;break e}r=(ge(t,67730)|0)==0&1;break e}default:{r=0;break e}}r=0}else r=0;while(0);return r|0}function x40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,n=s;do if(r|0&&C[r>>0]|0){if(l=af0(r)|0,!l){e[n>>2]=r,$0(0,67186,n)|0;break}for(m0(t,153599)|0,o=e[i>>2]|0,e[i>>2]=o+1,L2(t,o),m0(t,67213)|0,o=l+8|0,r=0,n=0;!((n|0)>=(e[l>>2]|0));)r?m0(t,97345)|0:r=1,S40((e[o>>2]|0)+(n*80|0)|0,t,i),n=n+1|0;e[i>>2]=(e[i>>2]|0)+-1,m0(t,153599)|0,L2(t,e[i>>2]|0),m0(t,97340)|0,WD(l)}while(0);g=s}function S40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0;T=g,g=g+240|0,W=T+224|0,Z=T+216|0,L=T+208|0,_=T+200|0,z=T+192|0,x=T+184|0,B=T+176|0,E=T+152|0,m=T+136|0,v=T+128|0,p=T+112|0,w=T+104|0,f=T+96|0,c=T+88|0,A=T+72|0,s=T+48|0,N=T+40|0,l=T+8|0,o=T,n=e[i>>2]|0,e[i>>2]=n+1,L2(t,n),m0(t,97374)|0,L2(t,e[i>>2]|0),n=e[r>>2]|0;e:do switch(n|0){case 1:case 0:{e[o>>2]=n|0?101:69,Y0(t,67216,o),L2(t,e[i>>2]|0),X=+u[r+16>>3],P=+u[r+24>>3],D=+u[r+32>>3],u[l>>3]=+u[r+8>>3],u[l+8>>3]=X,u[l+16>>3]=P,u[l+24>>3]=D,Y0(t,67229,l);break}case 3:case 2:{e[N>>2]=(n|0)==2?80:112,Y0(t,67216,N),L2(t,e[i>>2]|0),m7(t,r+8|0);break}case 5:case 4:{e[s>>2]=(n|0)==4?66:98,Y0(t,67216,s),L2(t,e[i>>2]|0),m7(t,r+8|0);break}case 6:{Y0(t,67264,T+56|0),L2(t,e[i>>2]|0),m7(t,r+8|0);break}case 7:{Y0(t,67276,T+64|0),L2(t,e[i>>2]|0),X=+u[r+16>>3],u[A>>3]=+u[r+8>>3],u[A+8>>3]=X,Y0(t,67288,A),L2(t,e[i>>2]|0),N=e[r+24>>2]|0,e[c>>2]=N|0?(N|0)==1?99:114:108,Y0(t,67310,c),L2(t,e[i>>2]|0),u[f>>3]=+u[r+32>>3],Y0(t,67326,f),L2(t,e[i>>2]|0),e[w>>2]=Wl(e[r+40>>2]|0,i)|0,Y0(t,67343,w);break}case 9:case 8:{e[p>>2]=(n|0)==8?67:99,Y0(t,67216,p),L2(t,e[i>>2]|0),Y0(t,67357,T+120|0),L2(t,e[i>>2]|0),e[v>>2]=Wl(e[r+8>>2]|0,i)|0,Y0(t,67374,v);break}case 13:case 14:switch(e[m>>2]=(n|0)==13?67:99,Y0(t,67216,m),L2(t,e[i>>2]|0),e[r+8>>2]|0){case 0:{Y0(t,67357,T+144|0),L2(t,e[i>>2]|0),e[E>>2]=Wl(e[r+16>>2]|0,i)|0,Y0(t,67374,E);break e}case 1:{Y0(t,67389,T+160|0),L2(t,e[i>>2]|0),_40(t,r+16|0,i);break e}default:{Y0(t,67408,T+168|0),L2(t,e[i>>2]|0),z40(t,r+16|0,i);break e}}case 10:{Y0(t,67427,B),L2(t,e[i>>2]|0),u[x>>3]=+u[r+8>>3],Y0(t,67439,x),L2(t,e[i>>2]|0),e[z>>2]=Wl(e[r+16>>2]|0,i)|0,Y0(t,67455,z);break}case 11:{Y0(t,67469,_),L2(t,e[i>>2]|0),e[L>>2]=Wl(e[r+8>>2]|0,i)|0,Y0(t,67481,L);break}case 15:{Y0(t,67496,Z),L2(t,e[i>>2]|0),e[W>>2]=e[r+8>>2],Y0(t,67508,W);break}default:}while(0);N=(e[i>>2]|0)+-1|0,e[i>>2]=N,L2(t,N),m0(t,75357)|0,g=T}function m7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(A=g,g=g+48|0,s=A+32|0,l=A+16|0,o=A+8|0,n=e[t>>2]|0,i=e[t+4>>2]|0,Y0(r,67669,A),t=0;!((t|0)>=(n|0));)(t|0)>0&&Y0(r,100999,o),c=+u[i+(t*24|0)+8>>3],u[l>>3]=+u[i+(t*24|0)>>3],u[l+8>>3]=c,Y0(r,67681,l),t=t+1|0;Y0(r,67622,s),g=A}function _40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;n=g,g=g+32|0,o=n+16|0,s=n,L2(r,e[i>>2]|0),l=+u[t+8>>3],u[s>>3]=+u[t>>3],u[s+8>>3]=l,Y0(r,67625,s),L2(r,e[i>>2]|0),l=+u[t+24>>3],u[o>>3]=+u[t+16>>3],u[o+8>>3]=l,Y0(r,67647,o),L2(r,e[i>>2]|0),$D(r,e[t+32>>2]|0,e[t+36>>2]|0,i),g=n}function z40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;n=g,g=g+48|0,o=n+24|0,A=n,L2(r,e[i>>2]|0),l=+u[t+8>>3],s=+u[t+16>>3],u[A>>3]=+u[t>>3],u[A+8>>3]=l,u[A+16>>3]=s,Y0(r,67524,A),L2(r,e[i>>2]|0),s=+u[t+32>>3],l=+u[t+40>>3],u[o>>3]=+u[t+24>>3],u[o+8>>3]=s,u[o+16>>3]=l,Y0(r,67552,o),L2(r,e[i>>2]|0),$D(r,e[t+48>>2]|0,e[t+52>>2]|0,i),g=n}function $D(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(c=g,g=g+48|0,A=c+32|0,s=c+16|0,l=c+8|0,Y0(r,67580,c),o=0;!((o|0)>=(t|0));)(o|0)>0&&Y0(r,100999,l),w=+x0[i+(o<<3)>>2],f=Wl(e[i+(o<<3)+4>>2]|0,n)|0,u[s>>3]=w,e[s+8>>2]=f,Y0(r,67591,s),o=o+1|0;Y0(r,67622,A),g=c}function L40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+16|0,o=l,n=oe[e[r>>2]&63](r,t,512)|0,n?(e[n+12>>2]|0)!=(i|0)&&(e[o>>2]=t,$0(0,67768,o)|0):(o=Un(1,16)|0,e[o+8>>2]=C2(t)|0,e[o+12>>2]=i,oe[e[r>>2]&63](r,o,1)|0),g=l}function R40(r,t,i){r=r|0,t=t|0,i=i|0,r0(e[t+8>>2]|0),r0(t)}function G40(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;t=g,g=g+32|0,i=t+24|0,n=t+16|0,l=t,o=e[r+16>>2]|0,m0(r,68623)|0,c=e[e[r+12>>2]>>2]|0,A=e[c+4>>2]|0,s=e[c+8>>2]|0,e[l>>2]=e[c>>2],e[l+4>>2]=A,e[l+8>>2]=s,Y0(r,68633,l),e[n>>2]=te(e[o+8>>2]|0)|0,Y0(r,68668,n),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,68681,i),m0(r,68694)|0,m0(r,68704)|0,m0(r,68712)|0,m0(r,68720)|0,m0(r,68728)|0,m0(r,68736)|0,m0(r,68744)|0,m0(r,68748)|0,m0(r,68753)|0,g=t}function Z40(r){r=r|0,m0(r,68604)|0}function W40(r){r=r|0,e[46710]=2}function D40(r){r=r|0,e[46710]=1}function M40(r){r=r|0,e[46710]=2}function j40(r){r=r|0,e[46710]=0}function N40(r){r=r|0,e[46710]=2}function Q40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;p=g,g=g+80|0,w=p,c=e[(e[r+16>>2]|0)+16>>2]|0,f=e[46710]|0,n=e[i+4>>2]|0,o=+u[r+352>>3]*+u[n+16>>3],l=e[r+360>>2]|0?1.5707963267948966:0,s=e[i>>2]|0,A=o*.3333333333333333*+((d2(s)|0)>>>0),n=e[n+8>>2]|0,n?n=e[n+20>>2]|0:n=-1,E=C[i+48>>0]|0,m=+u[t>>3],v=+u[t+8>>3],i=J40(s)|0,e[w>>2]=4,e[w+4>>2]=E<<24>>24==108?0:E<<24>>24==114?2:1,e[w+8>>2]=c,e[w+12>>2]=f,e[w+16>>2]=0,e[w+20>>2]=n,u[w+24>>3]=o,u[w+32>>3]=l,e[w+40>>2]=6,u[w+48>>3]=o,u[w+56>>3]=A,e[w+64>>2]=~~(m+(m>=0?.5:-.5)),e[w+68>>2]=~~(v+(v+-72>=0?-71.5:-72.5)),e[w+72>>2]=i,Y0(r,68549,w),g=p}function T40(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;f=g,g=g+32|0,s=f,l=f+20|0,c=t+32|0;e:do switch(e[c>>2]|0){case 5:for(i=0;;){if(n=e[12724+(i<<2)>>2]|0,(i|0)==8)break e;if(o=e[t>>2]|0,(C[n>>0]|0)==(C[o>>0]|0)&&!(ge(n,o)|0)){A=10;break e}i=i+1|0}case 1:{n=t+1|0,o=t+2|0,i=(H40(l,s0[t>>0]|0,s0[n>>0]|0,s0[o>>0]|0)|0)+32|0,e[l>>2]|0&&(w=s0[t>>0]|0,l=s0[n>>0]|0,A=s0[o>>0]|0,e[s>>2]=0,e[s+4>>2]=i,e[s+8>>2]=w,e[s+12>>2]=l,e[s+16>>2]=A,Y0(r,68492,s)),A=10;break}default:H0(138394,67889,163,67920)}while(0);(A|0)==10&&(e[t>>2]=i),e[c>>2]=6,g=f}function F40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;n=g,g=g+112|0,o=n+8|0,z=n+104|0,x=n,c=e[r+16>>2]|0,B=~~+u[c+152>>3],E=e[c+16>>2]|0,m=e[c+56>>2]|0,v=e[46710]|0,Jd(c,z,x),w=+u[t>>3],c=~~(w+(w>=0?.5:-.5)),f=+u[t+8>>3],A=~~(f+(f>=0?.5:-.5)),s=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,_=P+80|0,L=P+16|0,Z=P,o=r+16|0,n=e[o>>2]|0,m=~~+u[n+152>>3],E=e[n+16>>2]|0,B=e[46710]|0,(i|0)<=3&&H0(67882,67889,360,67909),x=Te((i*140|0)+140|0)|0,Jd(n,z,_),l?(p=5,A=e[(e[o>>2]|0)+56>>2]|0,c=20):(p=4,A=0,c=-1),U=+u[t>>3],w=L+48|0,u[w>>3]=U,X=+u[t+8>>3],u[L+56>>3]=X,e[s>>2]=~~(U+(U>=0?.5:-.5)),e[s+4>>2]=~~(X+(X>=0?.5:-.5)),f=Z+8|0,n=x+(Ke(x,81099,s)|0)|0,v=1,l=0;s=l+3|0,!((s|0)>=(i|0));){for(e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],o=1;;){if((o|0)==4){o=1;break}F=o+l|0,u[L+(o<<4)>>3]=+u[t+(F<<4)>>3],u[L+(o<<4)+8>>3]=+u[t+(F<<4)+8>>3],o=o+1|0}for(;(o|0)!=7;)Ei(Z,L,3,+(o|0)*.16666666666666666,0,0),X=+u[Z>>3],U=+u[f>>3],e[W>>2]=~~(X+(X>=0?.5:-.5)),e[W+4>>2]=~~(U+(U>=0?.5:-.5)),o=o+1|0,n=n+(Ke(n,81099,W)|0)|0;v=v+6|0,l=s}for(o=e[z>>2]|0,U=+u[_>>3],e[T>>2]=3,e[T+4>>2]=p,e[T+8>>2]=o,e[T+12>>2]=m,e[T+16>>2]=E,e[T+20>>2]=A,e[T+24>>2]=B,e[T+28>>2]=0,e[T+32>>2]=c,u[T+40>>3]=U,e[T+48>>2]=0,e[T+52>>2]=0,e[T+56>>2]=0,e[T+60>>2]=v,Y0(r,68382,T),e[N>>2]=x,Y0(r,81106,N),r0(x),o=v+-1|0,n=0;!((n|0)>=(v|0));)e[D>>2]=((n|0)%(o|0)|0|0)!=0&1,Y0(r,81111,D),n=n+1|0;m0(r,153599)|0,g=P}function V40(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;n=g,g=g+96|0,o=n+8|0,f=n+80|0,w=n,p=e[r+16>>2]|0,c=~~+u[p+152>>3],A=e[p+16>>2]|0,s=e[46710]|0,Jd(p,f,w),f=e[f>>2]|0,l=+u[w>>3],e[o>>2]=2,e[o+4>>2]=1,e[o+8>>2]=f,e[o+12>>2]=c,e[o+16>>2]=A,e[o+20>>2]=0,e[o+24>>2]=s,e[o+28>>2]=0,e[o+32>>2]=0,u[o+40>>3]=l,e[o+48>>2]=0,e[o+52>>2]=0,e[o+56>>2]=0,e[o+60>>2]=0,e[o+64>>2]=0,e[o+68>>2]=i,Y0(r,68331,o),KD(r,t,i,0),g=n}function O40(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,Y0(r,68325,n),g=i}function Jd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;switch(e[r+144>>2]|0){case 1:{n=10,r=1;break}case 2:{n=10,r=2;break}default:n=0,r=0}e[t>>2]=r,u[i>>3]=n}function KD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(A=g,g=g+16|0,s=A+8|0,l=A,o=0;!((o|0)>=(i|0));)f=+u[t+(o<<4)>>3],c=+u[t+(o<<4)+8>>3],e[l>>2]=~~(f+(f>=0?.5:-.5)),e[l+4>>2]=~~(c+(c>=0?.5:-.5)),Y0(r,81099,l),o=o+1|0;n|0&&(c=+u[t>>3],f=+u[t+8>>3],e[s>>2]=~~(c+(c>=0?.5:-.5)),e[s+4>>2]=~~(f+(f>=0?.5:-.5)),Y0(r,81099,s)),m0(r,153599)|0,g=A}function H40(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(e[r>>2]=0,c=e[46711]|0,l=195075,o=0,s=-1;;){if((o|0)>=(c|0)){f=6;break}if(w=($[190680+(o<<1)>>1]|0)-t|0,p=($[191192+(o<<1)>>1]|0)-i|0,A=($[191704+(o<<1)>>1]|0)-n|0,A=(N0(p,p)|0)+(N0(w,w)|0)+(N0(A,A)|0)|0,(A|0)<(l|0))if(A)l=A,s=o;else break;o=o+1|0}return(f|0)==6&&(e[46711]=c+1,(c|0)==256?o=s:($[190680+(o<<1)>>1]=t,$[191192+(o<<1)>>1]=i,$[191704+(o<<1)>>1]=n,e[r>>2]=1)),o|0}function J40(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,t=e[46712]|0,t||(e[46713]=64,t=Te(64)|0,e[46712]=t),i=0;o=r+1|0,n=C[r>>0]|0,!!(n<<24>>24);){if(r=e[46713]|0,(i|0)>(r+-8|0)&&(t=r<<1,e[46713]=t,t=V2(e[46712]|0,t)|0,e[46712]=t,t=t+i|0),n<<24>>24<=-1){C[t>>0]=92,e[l>>2]=n&255,Ke(t+1|0,81224,l)|0,r=o,t=t+4|0,i=i+4|0;continue}n<<24>>24==92&&(C[t>>0]=92,i=i+1|0,t=t+1|0),C[t>>0]=n,r=o,t=t+1|0,i=i+1|0}return C[t>>0]=0,g=s,e[46712]|0}function U40(r){r=r|0;var t=0,i=0,n=0;switch(i=e[r+16>>2]|0,e[r+64>>2]|0){case 0:{m0(r,68220)|0,t=i+208|0,i=e[t>>2]|0,i|0&&C[i>>0]|0&&(m0(r,68234)|0,m0(r,bt(e[t>>2]|0)|0)|0,m0(r,153599)|0);break}case 1:{t=i+208|0,n=e[t>>2]|0,n|0&&C[n>>0]|0&&(m0(r,68234)|0,m0(r,bt(e[t>>2]|0)|0)|0,m0(r,102604)|0,m0(r,bt(te(e[i+8>>2]|0)|0)|0)|0,m0(r,153599)|0);break}case 3:{n=bt(te(e[i+8>>2]|0)|0)|0,m0(r,68243)|0,m0(r,n)|0,m0(r,68253)|0,m0(r,n)|0,m0(r,68208)|0;break}default:}}function X40(r){r=r|0;var t=0;switch(t=e[r+16>>2]|0,e[r+64>>2]|0){case 2:{g7(r,e[t+264>>2]|0,e[t+272>>2]|0,e[t+268>>2]|0,e[t+208>>2]|0,e[t+228>>2]|0,e[t+244>>2]|0,e[t+212>>2]|0);break}case 3:{g7(r,e[t+264>>2]|0,e[t+272>>2]|0,e[t+268>>2]|0,e[t+208>>2]|0,e[t+228>>2]|0,e[t+244>>2]|0,e[t+212>>2]|0),m0(r,68212)|0;break}default:}}function q40(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;l=e[r+16>>2]|0,g7(r,e[l+264>>2]|0,e[l+272>>2]|0,e[l+268>>2]|0,t,i,n,o)}function g7(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0;var c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0;Z=g,g=g+128|0,L=Z+120|0,x=Z+112|0,B=Z+96|0,E=Z+80|0,m=Z+56|0,_=Z+48|0,v=Z+40|0,z=Z+24|0,p=Z;e:do if((i|0)!=0&(n|0)!=0){for(c=n+10|0,(e[46714]|0)<(n|0)?(e[46714]=c,w=V2(e[46715]|0,c<<3)|0,e[46715]=w):w=e[46715]|0,c=0;!((c|0)>=(n|0));)W=+u[i+(c<<4)>>3],e[w+(c<<3)>>2]=~~(W+(W>=0?.5:-.5)),W=+u[i+(c<<4)+8>>3],e[w+(c<<3)+4>>2]=~~(W+(W>=0?.5:-.5)),c=c+1|0;if(f=r+64|0,c=e[f>>2]|0,i=(o|0)!=0,i&(c|0)==0){if(!(C[o>>0]|0))break;switch(t|0){case 0:{z=e[w>>2]|0,_=e[w+12>>2]|0,L=e[w+8>>2]|0,n=e[w+4>>2]|0,e[p>>2]=o,e[p+4>>2]=z,e[p+8>>2]=_,e[p+12>>2]=L,e[p+16>>2]=n,Y0(r,67954,p);break e}case 1:{_=e[w>>2]|0,L=e[w+4>>2]|0,n=(e[w+8>>2]|0)-_|0,e[z>>2]=o,e[z+4>>2]=_,e[z+8>>2]=L,e[z+12>>2]=n,Y0(r,67975,z);break e}case 2:{for(e[v>>2]=o,Y0(r,67995,v),c=0;!((c|0)>=(n|0));)z=e[46715]|0,L=e[z+(c<<3)+4>>2]|0,e[_>>2]=e[z+(c<<3)>>2],e[_+4>>2]=L,Y0(r,68003,_),c=c+1|0;m0(r,153599)|0;break e}default:H0(138394,68010,63,68030)}}if(i&(c|0)==1){if(!(C[o>>0]|0))break;if(t)H0(138394,68010,75,68030);else{_=e[w+12>>2]|0,L=e[w+8>>2]|0,n=e[w+4>>2]|0,e[m>>2]=e[w>>2],e[m+4>>2]=_,e[m+8>>2]=L,e[m+12>>2]=n,e[m+16>>2]=o,e[m+20>>2]=l,Y0(r,68047,m);break}}if((c&-2|0)==2){switch(t|0){case 1:{m0(r,68080)|0;break}case 0:{m0(r,68101)|0;break}case 2:{m0(r,68120)|0;break}default:H0(138394,68010,91,68030)}A|0&&C[A>>0]|0&&(m0(r,73600)|0,m0(r,xN(A)|0)|0,m0(r,98744)|0),i&&C[o>>0]|0&&(m0(r,68139)|0,m0(r,xN(o)|0)|0,m0(r,98744)|0),s|0&&C[s>>0]|0&&(m0(r,74559)|0,m0(r,bt(s)|0)|0,m0(r,98744)|0),l|0&&C[l>>0]|0&&(m0(r,68147)|0,m0(r,bt(l)|0)|0,m0(r,98744)|0),m0(r,68156)|0,m0(r,68164)|0;r:do switch(t|0){case 1:{n=e[46715]|0,_=e[n>>2]|0,L=e[n+4>>2]|0,n=(e[n+8>>2]|0)-_|0,e[E>>2]=_,e[E+4>>2]=L,e[E+8>>2]=n,Y0(r,68174,E);break}case 0:{z=e[46715]|0,_=e[z+12>>2]|0,L=e[z+8>>2]|0,n=e[z+4>>2]|0,e[B>>2]=e[z>>2],e[B+4>>2]=_,e[B+8>>2]=L,e[B+12>>2]=n,Y0(r,68183,B);break}case 2:for(_=e[46715]|0,c=e[_+4>>2]|0,e[x>>2]=e[_>>2],e[x+4>>2]=c,Y0(r,68195,x),c=1;;){if((c|0)>=(n|0))break r;z=e[46715]|0,_=e[z+(c<<3)+4>>2]|0,e[L>>2]=e[z+(c<<3)>>2],e[L+4>>2]=_,Y0(r,68201,L),c=c+1|0}default:}while(0);if((e[f>>2]|0)==3){m0(r,73424)|0;break}else{m0(r,68208)|0;break}}}while(0);g=Z}function $40(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;t=g,g=g+32|0,i=t+24|0,n=t+16|0,l=t,o=e[r+16>>2]|0,m0(r,68623)|0,c=e[e[r+12>>2]>>2]|0,A=e[c+4>>2]|0,s=e[c+8>>2]|0,e[l>>2]=e[c>>2],e[l+4>>2]=A,e[l+8>>2]=s,Y0(r,68633,l),e[n>>2]=te(e[o+8>>2]|0)|0,Y0(r,68668,n),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,68681,i),m0(r,68694)|0,m0(r,68704)|0,m0(r,68712)|0,m0(r,68720)|0,m0(r,68728)|0,m0(r,68736)|0,m0(r,68744)|0,m0(r,68748)|0,m0(r,68753)|0,g=t}function K40(r){r=r|0,m0(r,68604)|0}function b40(r){r=r|0,e[46716]=2}function e30(r){r=r|0,e[46716]=1}function r30(r){r=r|0,e[46716]=2}function t30(r){r=r|0,e[46716]=0}function i30(r){r=r|0,e[46716]=2}function n30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;f=g,g=g+80|0,c=f,s=e[(e[r+16>>2]|0)+16>>2]|0,A=e[46716]|0,n=e[i+4>>2]|0,o=+u[r+352>>3]*+u[n+16>>3],l=e[r+360>>2]|0?1.5707963267948966:0,n=e[n+8>>2]|0,n?n=e[n+20>>2]|0:n=-1,v=C[i+48>>0]|0,p=+u[t>>3],w=+u[t+8>>3],i=f30(e[i>>2]|0)|0,e[c>>2]=4,e[c+4>>2]=v<<24>>24==108?0:v<<24>>24==114?2:1,e[c+8>>2]=s,e[c+12>>2]=A,e[c+16>>2]=0,e[c+20>>2]=n,u[c+24>>3]=o,u[c+32>>3]=l,e[c+40>>2]=4,u[c+48>>3]=0,u[c+56>>3]=0,e[c+64>>2]=~~(p+(p>=0?.5:-.5)),e[c+68>>2]=~~(w+(w>=0?.5:-.5)),e[c+72>>2]=i,Y0(r,68549,c),g=f}function o30(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;f=g,g=g+32|0,s=f,l=f+20|0,c=t+32|0;e:do switch(e[c>>2]|0){case 5:for(i=0;;){if(n=e[12724+(i<<2)>>2]|0,(i|0)==8)break e;if(o=e[t>>2]|0,(C[n>>0]|0)==(C[o>>0]|0)&&!(ge(n,o)|0)){A=10;break e}i=i+1|0}case 1:{n=t+1|0,o=t+2|0,i=(c30(l,s0[t>>0]|0,s0[n>>0]|0,s0[o>>0]|0)|0)+32|0,e[l>>2]|0&&(w=s0[t>>0]|0,l=s0[n>>0]|0,A=s0[o>>0]|0,e[s>>2]=0,e[s+4>>2]=i,e[s+8>>2]=w,e[s+12>>2]=l,e[s+16>>2]=A,Y0(r,68492,s)),A=10;break}case 0:{i=0,A=10;break}default:H0(138394,68513,168,68532)}while(0);(A|0)==10&&(e[t>>2]=i),e[c>>2]=6,g=f}function l30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;n=g,g=g+112|0,o=n+8|0,z=n+104|0,x=n,c=e[r+16>>2]|0,B=~~+u[c+152>>3],E=e[c+16>>2]|0,m=e[c+56>>2]|0,v=e[46716]|0,Ud(c,z,x),w=+u[t>>3],c=~~(w+(w>=0?.5:-.5)),f=+u[t+8>>3],A=~~(f+(f>=0?.5:-.5)),s=+u[t+16>>3],w=s-w,l=+u[t+24>>3],f=l-f,t=e[z>>2]|0,p=+u[x>>3],e[o>>2]=1,e[o+4>>2]=1,e[o+8>>2]=t,e[o+12>>2]=B,e[o+16>>2]=E,e[o+20>>2]=m,e[o+24>>2]=v,e[o+28>>2]=0,e[o+32>>2]=i|0?20:-1,u[o+40>>3]=p,e[o+48>>2]=0,u[o+56>>3]=0,e[o+64>>2]=c,e[o+68>>2]=A,e[o+72>>2]=~~(w+(w>=0?.5:-.5)),e[o+76>>2]=~~(f+(f>=0?.5:-.5)),e[o+80>>2]=c,e[o+84>>2]=A,e[o+88>>2]=~~(s+(s>=0?.5:-.5)),e[o+92>>2]=~~(l+(l>=0?.5:-.5)),Y0(r,68427,o),g=n}function s30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;o=g,g=g+96|0,l=o+8|0,p=o+80|0,v=o,m=e[r+16>>2]|0,w=~~+u[m+152>>3],f=e[m+16>>2]|0,c=e[m+56>>2]|0,A=e[46716]|0,Ud(m,p,v),p=e[p>>2]|0,s=+u[v>>3],e[l>>2]=2,e[l+4>>2]=3,e[l+8>>2]=p,e[l+12>>2]=w,e[l+16>>2]=f,e[l+20>>2]=c,e[l+24>>2]=A,e[l+28>>2]=0,e[l+32>>2]=n|0?20:-1,u[l+40>>3]=s,e[l+48>>2]=0,e[l+52>>2]=0,e[l+56>>2]=0,e[l+60>>2]=0,e[l+64>>2]=0,e[l+68>>2]=i+1,Y0(r,68331,l),bD(r,t,i,1),g=o}function A30(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0;for(P=g,g=g+192|0,D=P+176|0,N=P+168|0,T=P+104|0,W=P+96|0,o=P+88|0,z=P+180|0,_=P+80|0,L=P+16|0,Z=P,n=r+16|0,v=e[n>>2]|0,m=~~+u[v+152>>3],E=e[v+16>>2]|0,B=e[46716]|0,x=Te((i*140|0)+140|0)|0,Ud(v,z,_),l?(p=5,A=e[(e[n>>2]|0)+56>>2]|0,c=20):(p=4,A=0,c=-1),U=+u[t>>3],w=L+48|0,u[w>>3]=U,X=+u[t+8>>3],u[L+56>>3]=X,e[o>>2]=~~(U+(U>=0?.5:-.5)),e[o+4>>2]=~~(X+(X>=0?.5:-.5)),f=Z+8|0,n=x+(Ke(x,81099,o)|0)|0,v=1,l=0;s=l+3|0,!((s|0)>=(i|0));){for(e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],o=1;;){if((o|0)==4){o=1;break}F=o+l|0,u[L+(o<<4)>>3]=+u[t+(F<<4)>>3],u[L+(o<<4)+8>>3]=+u[t+(F<<4)+8>>3],o=o+1|0}for(;(o|0)!=7;)Ei(Z,L,3,+(o|0)*.16666666666666666,0,0),X=+u[Z>>3],U=+u[f>>3],e[W>>2]=~~(X+(X>=0?.5:-.5)),e[W+4>>2]=~~(U+(U>=0?.5:-.5)),o=o+1|0,n=n+(Ke(n,81099,W)|0)|0;v=v+6|0,l=s}for(o=e[z>>2]|0,U=+u[_>>3],e[T>>2]=3,e[T+4>>2]=p,e[T+8>>2]=o,e[T+12>>2]=m,e[T+16>>2]=E,e[T+20>>2]=A,e[T+24>>2]=B,e[T+28>>2]=0,e[T+32>>2]=c,u[T+40>>3]=U,e[T+48>>2]=0,e[T+52>>2]=0,e[T+56>>2]=0,e[T+60>>2]=v,Y0(r,68382,T),e[N>>2]=x,Y0(r,81106,N),r0(x),o=v+-1|0,n=0;!((n|0)>=(v|0));)e[D>>2]=((n|0)%(o|0)|0|0)!=0&1,Y0(r,81111,D),n=n+1|0;m0(r,153599)|0,g=P}function u30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;n=g,g=g+96|0,o=n+8|0,f=n+80|0,w=n,p=e[r+16>>2]|0,c=~~+u[p+152>>3],A=e[p+16>>2]|0,s=e[46716]|0,Ud(p,f,w),f=e[f>>2]|0,l=+u[w>>3],e[o>>2]=2,e[o+4>>2]=1,e[o+8>>2]=f,e[o+12>>2]=c,e[o+16>>2]=A,e[o+20>>2]=0,e[o+24>>2]=s,e[o+28>>2]=0,e[o+32>>2]=0,u[o+40>>3]=l,e[o+48>>2]=0,e[o+52>>2]=0,e[o+56>>2]=0,e[o+60>>2]=0,e[o+64>>2]=0,e[o+68>>2]=i,Y0(r,68331,o),bD(r,t,i,0),g=n}function a30(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,Y0(r,68325,n),g=i}function Ud(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;switch(e[r+144>>2]|0){case 1:{n=10,r=1;break}case 2:{n=10,r=2;break}default:n=0,r=0}e[t>>2]=r,u[i>>3]=n}function bD(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(A=g,g=g+16|0,s=A+8|0,l=A,o=0;!((o|0)>=(i|0));)f=+u[t+(o<<4)>>3],c=+u[t+(o<<4)+8>>3],e[l>>2]=~~(f+(f>=0?.5:-.5)),e[l+4>>2]=~~(c+(c>=0?.5:-.5)),Y0(r,81099,l),o=o+1|0;n|0&&(c=+u[t>>3],f=+u[t+8>>3],e[s>>2]=~~(c+(c>=0?.5:-.5)),e[s+4>>2]=~~(f+(f>=0?.5:-.5)),Y0(r,81099,s)),m0(r,153599)|0,g=A}function c30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(e[r>>2]=0,c=e[46717]|0,l=195075,o=0,s=-1;;){if((o|0)>=(c|0)){f=6;break}if(w=($[192216+(o<<1)>>1]|0)-t|0,p=($[192728+(o<<1)>>1]|0)-i|0,A=($[193240+(o<<1)>>1]|0)-n|0,A=(N0(p,p)|0)+(N0(w,w)|0)+(N0(A,A)|0)|0,(A|0)<(l|0))if(A)l=A,s=o;else break;o=o+1|0}return(f|0)==6&&(e[46717]=c+1,(c|0)==256?o=s:($[192216+(o<<1)>>1]=t,$[192728+(o<<1)>>1]=i,$[193240+(o<<1)>>1]=n,e[r>>2]=1)),o|0}function f30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,t=e[46718]|0,t||(e[46719]=64,t=Te(64)|0,e[46718]=t),i=0;o=r+1|0,n=C[r>>0]|0,!!(n<<24>>24);){if(r=e[46719]|0,(i|0)>(r+-8|0)&&(t=r<<1,e[46719]=t,t=V2(e[46718]|0,t)|0,e[46718]=t,t=t+i|0),n<<24>>24<=-1){C[t>>0]=92,e[l>>2]=n&255,Ke(t+1|0,81224,l)|0,r=o,t=t+4|0,i=i+4|0;continue}n<<24>>24==92&&(C[t>>0]=92,i=i+1|0,t=t+1|0),C[t>>0]=n,r=o,t=t+1|0,i=i+1|0}return C[t>>0]=0,g=s,e[46718]|0}function h30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;i=g,g=g+16|0,t=i,m0(r,73332)|0,(e[r+64>>2]|0)==2?m0(r,73347)|0:m0(r,153599)|0,l=e[e[r+12>>2]>>2]|0,o=e[l+4>>2]|0,n=e[l+8>>2]|0,e[t>>2]=e[l>>2],e[t+4>>2]=o,e[t+8>>2]=n,Y0(r,73358,t),g=i}function w30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+32|0,o=l+8|0,n=l,m0(r,73286)|0,i=r+64|0,t=r+12|0,(e[i>>2]|0)!=2&&(e[n>>2]=e[(e[t>>2]|0)+28>>2],Y0(r,73297,n)),!(e[(e[t>>2]|0)+20>>2]|0)&&(e[i>>2]|0)!=2&&(t=e[r+476>>2]|0,i=e[r+480>>2]|0,n=e[r+484>>2]|0,e[o>>2]=e[r+472>>2],e[o+4>>2]=t,e[o+8>>2]=i,e[o+12>>2]=n,Y0(r,69666,o)),m0(r,73312)|0,m0(r,73325)|0,g=l}function d30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;if(c=g,g=g+32|0,A=c+24|0,n=c+8|0,s=c,o=e[r+16>>2]|0,C[193768]=0,i=r+12|0,l=o+8|0,!(e[(e[i>>2]|0)+28>>2]|0)){e[s>>2]=te(e[l>>2]|0)|0,Y0(r,69597,s),t=r+64|0,(e[t>>2]|0)==2?m0(r,69630)|0:m0(r,69612)|0;do if(!(e[(e[i>>2]|0)+20>>2]|0))if((e[t>>2]|0)==2){w=e[r+460>>2]|0,f=e[r+464>>2]|0,t=e[r+468>>2]|0,e[n>>2]=e[r+456>>2],e[n+4>>2]=w,e[n+8>>2]=f,e[n+12>>2]=t,Y0(r,69666,n);break}else{m0(r,69642)|0;break}while(0);m0(r,69696)|0,wC(r,e[(e[i>>2]|0)+24>>2]|0,13e3),Pp0(r),t=e[(e[i>>2]|0)+20>>2]|0,t|0&&(e[s>>2]=e[t>>2],e[s+4>>2]=0,wC(r,0,s))}e[46720]=(C[(e[(e[l>>2]|0)+16>>2]|0)+115>>0]|0)==1?1:-1,C[193768]|0||(m0(r,69716)|0,C[193768]=1),t=e[o+208>>2]|0,t|0&&(e[A>>2]=dC(t,e[46720]|0)|0,Y0(r,69729,A)),g=c}function p30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;t=g,g=g+16|0,o=t,e[o>>2]=i,e[o+4>>2]=n,Y0(r,69581,o),g=t}function k30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;B=g,g=g+144|0,E=B+128|0,m=B+112|0,v=B+72|0,p=B+56|0,w=B+40|0,f=B+32|0,n=B+24|0,t=B+8|0,i=B,o=e[r+456>>2]|0,A=e[r+460>>2]|0,l=e[r+464>>2]|0,s=e[r+468>>2]|0,c=r+12|0,x=(e[(e[c>>2]|0)+28>>2]|0)+1|0,e[i>>2]=x,e[i+4>>2]=x,Y0(r,69208,i),e[(e[c>>2]|0)+20>>2]|0||(e[t>>2]=o,e[t+4>>2]=A,e[t+8>>2]=l,e[t+12>>2]=s,Y0(r,69225,t)),i=r+360|0,e[n>>2]=e[i>>2]|0?69259:69269,Y0(r,69278,n),t=r+64|0,(e[t>>2]|0)==1&&(e[f>>2]=l,e[f+4>>2]=s,Y0(r,69303,f)),f=e[r+200>>2]|0,x=e[r+204>>2]|0,e[w>>2]=e[r+196>>2],e[w+4>>2]=f,e[w+8>>2]=x,Y0(r,69342,w),e[(e[c>>2]|0)+20>>2]|0||(e[p>>2]=o,e[p+4>>2]=A,e[p+8>>2]=l-o,e[p+12>>2]=s-A,Y0(r,69362,p)),L=+u[r+496>>3],x=e[i>>2]|0,_=+u[r+504>>3],z=+u[r+512>>3],u[v>>3]=+u[r+488>>3],u[v+8>>3]=L,e[v+16>>2]=x,u[v+24>>3]=_,u[v+32>>3]=z,Y0(r,69402,v),(e[t>>2]|0)==1&&((l|0)>14399|(s|0)>14399&&(x=e[(e[c>>2]|0)+16>>2]|0,e[m>>2]=l,e[m+4>>2]=s,e[m+8>>2]=14400,Bt[x&63](69445,m)),e[E>>2]=o,e[E+4>>2]=A,e[E+8>>2]=l,e[E+12>>2]=s,Y0(r,69540,E)),g=B}function v30(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=r+12|0,e[(e[t>>2]|0)+20>>2]|0&&(m0(r,69132)|0,wC(r,0,(e[(e[t>>2]|0)+20>>2]|0)+4|0)),m0(r,69149)|0,m0(r,69176)|0,e[i>>2]=e[(e[t>>2]|0)+28>>2],Y0(r,69191,i),g=n}function m30(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=t,e[i>>2]=te(e[(e[r+16>>2]|0)+8>>2]|0)|0,Y0(r,69125,i),m0(r,69118)|0,g=t}function g30(r){r=r|0,m0(r,84552)|0}function y30(r){r=r|0,m0(r,69118)|0}function C30(r){r=r|0,m0(r,84552)|0}function E30(r){r=r|0,m0(r,69118)|0}function B30(r){r=r|0,m0(r,84552)|0}function I30(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;n=g,g=g+16|0,i=n,t|0&&(l=(e[r+16>>2]|0)+272|0,e[l>>2]|0)&&(m0(r,69014)|0,$o(r,e[l>>2]|0,2),m0(r,69025)|0,e[i>>2]=dC(t,e[46720]|0)|0,Y0(r,69029,i)),g=n}function x30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(c=g,g=g+32|0,s=c+8|0,A=c,n=e[r+16>>2]|0,!(+u[n+40>>3]<.5)){switch(Dl(r,n+16|0),l=i+4|0,Pr(r,+u[(e[l>>2]|0)+16>>3]),e[s>>2]=e[e[l>>2]>>2],Y0(r,68973,s),l=dC(e[i>>2]|0,e[46720]|0)|0,C[i+48>>0]|0){case 114:{f=i+32|0,n=f,o=+u[f>>3];break}case 108:{n=i+32|0,o=0;break}default:f=i+32|0,n=f,o=+u[f>>3]*.5}u[t>>3]=+u[t>>3]-o,f=t+8|0,u[f>>3]=+u[f>>3]+ +u[i+24>>3],e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],M1(r,s),m0(r,68988)|0,Pr(r,+u[n>>3]),e[A>>2]=l,Y0(r,68997,A)}g=c}function S30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+32|0,o=l,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],u[o+16>>3]=+u[t+16>>3]-+u[t>>3],u[o+24>>3]=+u[t+24>>3]-+u[t+8>>3],t=r+16|0,i|0&&(n=e[t>>2]|0,+u[n+80>>3]>.5)&&(Dl(r,n+56|0),$o(r,o,2),m0(r,68931)|0),+u[(e[t>>2]|0)+40>>3]>.5&&(vh(r),Dl(r,(e[t>>2]|0)+16|0),$o(r,o,2),m0(r,68951)|0),g=l}function _30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(A=g,g=g+16|0,s=A,l=r+16|0,n|0&&(o=e[l>>2]|0,+u[o+80>>3]>.5)){for(Dl(r,o+56|0),m0(r,68852)|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],M1(r,s),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)o=t+(n<<4)|0,e[s>>2]=e[o>>2],e[s+4>>2]=e[o+4>>2],e[s+8>>2]=e[o+8>>2],e[s+12>>2]=e[o+12>>2],M1(r,s),m0(r,68870)|0,n=n+1|0;m0(r,68897)|0}if(+u[(e[l>>2]|0)+40>>3]>.5){for(vh(r),Dl(r,(e[l>>2]|0)+16|0),m0(r,68852)|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],M1(r,s),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)l=t+(n<<4)|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],M1(r,s),m0(r,68870)|0,n=n+1|0;m0(r,68913)|0}g=A}function z30(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0;if(c=g,g=g+16|0,o=c,s=r+16|0,l|0&&(A=e[s>>2]|0,+u[A+80>>3]>.5)){for(Dl(r,A+56|0),m0(r,68852)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],M1(r,o),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)$o(r,t+(n<<4)|0,3),m0(r,68887)|0,n=n+3|0;m0(r,68897)|0}if(+u[(e[s>>2]|0)+40>>3]>.5){for(vh(r),Dl(r,(e[s>>2]|0)+16|0),m0(r,68852)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],M1(r,o),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)$o(r,t+(n<<4)|0,3),m0(r,68887)|0,n=n+3|0;m0(r,68879)|0}g=c}function L30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;if(l=g,g=g+16|0,o=l,n=r+16|0,+u[(e[n>>2]|0)+40>>3]>.5){for(vh(r),Dl(r,(e[n>>2]|0)+16|0),m0(r,68852)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],M1(r,o),m0(r,68861)|0,n=1;!((n|0)>=(i|0));)s=t+(n<<4)|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2],M1(r,o),m0(r,68870)|0,n=n+1|0;m0(r,68879)|0}g=l}function R30(r,t){r=r|0,t=t|0,m0(r,68849)|0,m0(r,t)|0,m0(r,153599)|0}function G30(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0;w=g,g=g+32|0,l=w+16|0,f=w+8|0,c=w,s=r+16|0,o|0&&(A=e[s>>2]|0,+u[A+80>>3]>.5)&&(Dl(r,A+56|0),m0(r,84447)|0,$o(r,i,n),m0(r,102604)|0,e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],e[l+12>>2]=e[i+12>>2],M1(r,l),e[c>>2]=n,e[c+4>>2]=t,Y0(r,68766,c)),+u[(e[s>>2]|0)+40>>3]>.5&&(vh(r),Dl(r,(e[s>>2]|0)+16|0),m0(r,84447)|0,$o(r,i,n),m0(r,102604)|0,e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],e[l+12>>2]=e[i+12>>2],M1(r,l),e[f>>2]=n,e[f+4>>2]=t,Y0(r,68782,f)),g=w}function Dl(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;if(o=g,g=g+32|0,n=o,t|0){switch(e[(e[r+16>>2]|0)+4>>2]|0){case 1:case 0:{i=111494;break}case 2:{i=111481;break}case 3:{i=111450;break}default:i=68818}s=+u[t+8>>3],l=+u[t+16>>3],u[n>>3]=+u[t>>3],u[n+8>>3]=s,u[n+16>>3]=l,e[n+24>>2]=i,Y0(r,68825,n)}g=o}function vh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(c=g,g=g+16|0,A=c+8|0,s=c,o=r+16|0,l=e[o>>2]|0,t=e[l+160>>2]|0,Pr(r,+u[l+152>>3]),m0(r,68799)|0;!(!t||(l=t+4|0,n=e[t>>2]|0,!n));){if(ge(n,111088)|0)i=n;else{t=l;continue}for(;t=i+1|0,C[i>>0]|0;)i=t;e:for(;C[t>>0]|0;)for(e[s>>2]=t,Y0(r,68814,s);;)if(i=t+1|0,C[t>>0]|0)t=i;else{t=i;continue e}ge(n,134335)|0||(u[(e[o>>2]|0)+152>>3]=0),e[A>>2]=n,Y0(r,96670,A),t=l}g=c}function Z30(r){r=r|0;var t=0;m0(r,74838)|0,t=he(e[(e[r>>2]|0)+168>>2]|0,74894)|0,t|0&&C[t>>0]|0&&(m0(r,74905)|0,m0(r,t)|0,m0(r,74929)|0),m0(r,74950)|0,m0(r,74998)|0,m0(r,75052)|0,t=r+12|0,m0(r,bt(e[e[e[t>>2]>>2]>>2]|0)|0)|0,m0(r,78181)|0,m0(r,bt(e[(e[e[t>>2]>>2]|0)+4>>2]|0)|0)|0,m0(r,78191)|0,m0(r,bt(e[(e[e[t>>2]>>2]|0)+8>>2]|0)|0)|0,m0(r,75434)|0,m0(r,75458)|0}function W30(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;l=g,g=g+48|0,o=l+16|0,n=l+8|0,i=l,t=e[r+16>>2]|0,m0(r,74673)|0,t=t+8|0,C[(te(e[t>>2]|0)|0)>>0]|0&&(m0(r,75397)|0,m0(r,bt(te(e[t>>2]|0)|0)|0)|0),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,74678,i),i=e[r+452>>2]|0,e[n>>2]=e[r+448>>2],e[n+4>>2]=i,Y0(r,74694,n),c=+u[r+392>>3],A=+u[r+400>>3],s=+u[r+408>>3],u[o>>3]=+u[r+384>>3],u[o+8>>3]=c,u[o+16>>3]=A,u[o+24>>3]=s,Y0(r,74727,o),m0(r,74758)|0,m0(r,74794)|0,m0(r,76388)|0,g=l}function D30(r){r=r|0,m0(r,74665)|0}function M30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,mh(r,t,0,101510,e[(e[r+16>>2]|0)+8>>2]|0),m0(r,76388)|0}function j30(r){r=r|0,m0(r,74513)|0}function N30(r){r=r|0;var t=0,i=0,n=0,o=0;i=g,g=g+16|0,n=i,o=e[r+16>>2]|0,t=o+8|0,mh(r,e[o+212>>2]|0,0,111494,e[t>>2]|0),m0(r,74617)|0,Pr(r,+u[r+488>>3]),m0(r,102604)|0,Pr(r,+u[r+496>>3]),e[n>>2]=0-(e[r+360>>2]|0),Y0(r,74636,n),Pr(r,+u[r+504>>3]),m0(r,102604)|0,Pr(r,-+u[r+512>>3]),m0(r,74660)|0,C[(te(e[t>>2]|0)|0)>>0]|0&&(m0(r,74569)|0,m0(r,bt(te(e[t>>2]|0)|0)|0)|0,m0(r,74577)|0),g=i}function Q30(r){r=r|0,m0(r,74513)|0}function T30(r){r=r|0;var t=0,i=0;i=e[r+16>>2]|0,t=i+8|0,mh(r,e[i+212>>2]|0,0,108006,e[t>>2]|0),m0(r,76388)|0,m0(r,74569)|0,m0(r,bt(te(e[t>>2]|0)|0)|0)|0,m0(r,74577)|0}function F30(r){r=r|0,m0(r,74513)|0}function P30(r){r=r|0;var t=0,i=0,n=0;i=e[r+16>>2]|0,t=e[r+160>>2]|0,(t|0)>1?t=e[(e[(e[r>>2]|0)+308>>2]|0)+(t<<2)>>2]|0:t=0,n=i+8|0,mh(r,e[i+212>>2]|0,t,111481,e[n>>2]|0),m0(r,76388)|0,m0(r,74569)|0,m0(r,bt(te(e[n>>2]|0)|0)|0)|0,m0(r,74577)|0}function Y30(r){r=r|0,m0(r,74513)|0}function V30(r){r=r|0;var t=0,i=0;i=e[r+16>>2]|0,t=i+8|0,mh(r,e[i+212>>2]|0,0,111450,e[t>>2]|0),m0(r,76388)|0,m0(r,74569)|0,t=st(102095,e[t>>2]|0)|0,m0(r,bt(t)|0)|0,r0(t),m0(r,74577)|0}function O30(r){r=r|0,m0(r,74513)|0}function H30(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,m0(r,74519)|0,o|0&&(m0(r,74522)|0,m0(r,bt(o)|0)|0,m0(r,98744)|0),m0(r,74412)|0,m0(r,76349)|0,t|0&&C[t>>0]|0&&(m0(r,74530)|0,m0(r,t)|0,m0(r,98744)|0),i|0&&C[i>>0]|0&&(m0(r,74544)|0,m0(r,tC(i,1)|0)|0,m0(r,98744)|0),n|0&&C[n>>0]|0&&(m0(r,74559)|0,m0(r,bt(n)|0)|0,m0(r,98744)|0),m0(r,76388)|0}function J30(r){r=r|0,m0(r,76343)|0,m0(r,74513)|0}function U30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0;switch(H=g,g=g+176|0,Y=H+160|0,t0=H+152|0,P=H+136|0,q=H+128|0,D=H+120|0,T=H+112|0,N=H+104|0,W=H+96|0,Z=H+88|0,_=H+80|0,x=H+72|0,B=H+64|0,E=H+56|0,m=H+48|0,n=H+40|0,w=H+32|0,v=H+24|0,p=H+16|0,f=H+8|0,c=H,F=e[r+16>>2]|0,m0(r,74044)|0,C[i+48>>0]|0){case 108:{m0(r,74050)|0;break}case 114:{m0(r,74071)|0;break}default:m0(r,74090)|0}if(U=t+8|0,X=+u[U>>3]+ +u[i+24>>3],u[U>>3]=X,U=F+260|0,$[U>>1]&512||(m0(r,74112)|0,Pr(r,+u[t>>3]),m0(r,74117)|0,Pr(r,-X),m0(r,98744)|0),z=i+4|0,t=e[z>>2]|0,A=e[t+8>>2]|0,A){switch(e[(e[(e[(e[r>>2]|0)+168>>2]|0)+16>>2]|0)+244>>2]|0){case 1:{s=A,t=A+16|0,n=A+8|0;break}case 2:{s=A+24|0,t=A+32|0,n=A+28|0;break}default:s=A+4|0,t=A+16|0,n=A+8|0}o=e[t>>2]|0,t=e[n>>2]|0,l=e[A+12>>2]|0,e[c>>2]=e[s>>2],Y0(r,74123,c),n=e[A+24>>2]|0,n|0&&(e[f>>2]=n,Y0(r,74140,f)),m0(r,98744)|0,t|0&&(e[p>>2]=t,Y0(r,74144,p)),l|0&&(e[v>>2]=l,Y0(r,74162,v)),o?(e[w>>2]=o,Y0(r,74181,w)):o=0}else e[n>>2]=e[t>>2],Y0(r,74198,n),o=0,t=0;switch(n=e[z>>2]|0,n|0&&(L=e[n+24>>2]|0,L&127|0)&&((t|0)!=0|(L&1|0)==0||Y0(r,74216,m),(o|0)!=0|(L&2|0)==0||Y0(r,74236,E),L&100|0&&(Y0(r,74257,B),L&4?(Y0(r,105986,x),t=1):t=0,L&64&&(e[_>>2]=t|0?100999:195059,Y0(r,74276,_),t=1),L&32|0&&(e[Z>>2]=t|0?100999:195059,Y0(r,74287,Z)),Y0(r,98744,W)),L&8|0&&Y0(r,74302,N),L&16|0&&Y0(r,74326,T)),u[D>>3]=+u[(e[z>>2]|0)+16>>3],Y0(r,74348,D),t=F+16|0,e[F+48>>2]|0){case 5:{t=e[t>>2]|0,De(t,137314)|0&&(e[q>>2]=t,Y0(r,74366,q));break}case 1:{D=s0[t+1>>0]|0,q=s0[t+2>>0]|0,e[P>>2]=s0[t>>0],e[P+4>>2]=D,e[P+8>>2]=q,Y0(r,74377,P);break}default:H0(138394,73558,486,74399)}m0(r,74412)|0,$[U>>1]&512&&(e[t0>>2]=bt(e[F+212>>2]|0)|0,Y0(r,74414,t0),m0(r,74463)|0,Pr(r,-X),m0(r,74481)|0),m0(r,tC(e[i>>2]|0,1)|0)|0,$[U>>1]&512&&Y0(r,74484,Y),m0(r,74504)|0,g=H}function X30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;switch(i|0){case 2:{n=y7(r,t,2)|0;break}case 3:{n=C7(r)|0;break}default:n=0}m0(r,74008)|0,Xd(r,i,n),m0(r,74017)|0,Pr(r,+u[t>>3]),m0(r,74023)|0,i=t+8|0,Pr(r,-+u[i>>3]),m0(r,74030)|0,Pr(r,+u[t+16>>3]-+u[t>>3]),m0(r,74037)|0,Pr(r,+u[t+24>>3]-+u[i>>3]),m0(r,73424)|0}function q30(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;switch(n|0){case 2:{o=y7(r,t,i)|0;break}case 3:{o=C7(r)|0;break}default:o=0}for(m0(r,73999)|0,Xd(r,n,o),m0(r,73414)|0,o=0;!((o|0)>=(i|0));)Pr(r,+u[t+(o<<4)>>3]),m0(r,100999)|0,Pr(r,-+u[t+(o<<4)+8>>3]),m0(r,102604)|0,o=o+1|0;Pr(r,+u[t>>3]),m0(r,100999)|0,Pr(r,-+u[t+8>>3]),m0(r,73424)|0}function $30(r,t,i,n,o,l){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,o=e[r+16>>2]|0,l|0){case 2:{n=y7(r,t,i)|0;break}case 3:{n=C7(r)|0;break}default:n=0}m0(r,73594)|0,$[o+260>>1]&512&&(m0(r,73600)|0,m0(r,bt(e[o+212>>2]|0)|0)|0,m0(r,73606)|0),Xd(r,l,n),m0(r,73611)|0,eh0(r,t,i),m0(r,73424)|0}function K30(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(m0(r,73404)|0,Xd(r,0,0),m0(r,73414)|0,n=0;!((n|0)>=(i|0));)Pr(r,+u[t+(n<<4)>>3]),m0(r,100999)|0,Pr(r,-+u[t+(n<<4)+8>>3]),m0(r,102604)|0,n=n+1|0;m0(r,73424)|0}function b30(r,t){r=r|0,t=t|0,m0(r,73398)|0,m0(r,bt(t)|0)|0,m0(r,75458)|0}function Xd(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+96|0,A=v+48|0,p=v+40|0,f=v+32|0,w=v+24|0,s=v+16|0,o=v+8|0,n=v,c=e[r+16>>2]|0,m0(r,73429)|0;e:do switch(t|0){case 2:{e[n>>2]=i,Y0(r,73437,n);break}case 3:{e[o>>2]=i,Y0(r,73448,o);break}case 0:{m0(r,135709)|0;break}default:{t=c+56|0,n=A,o=t,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));if(kf(r,A),(e[c+88>>2]|0)==1){switch(t=C[t+3>>0]|0,t<<24>>24){case-1:case 0:break e;default:}u[s>>3]=+(t&255)*.00392156862745098,Y0(r,73459,s)}}}while(0);m0(r,73478)|0,i=c+16|0,n=A,o=i,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));switch(kf(r,A),t=c+152|0,+u[t>>3]!=1&&(m0(r,73489)|0,Pr(r,+u[t>>3])),e[c+144>>2]|0){case 1:{e[w>>2]=73529,Y0(r,73506,w);break}case 2:{e[f>>2]=73533,Y0(r,73506,f);break}default:}e:do if((e[c+48>>2]|0)==1){switch(t=C[i+3>>0]|0,t<<24>>24){case-1:case 0:break e;default:}u[p>>3]=+(t&255)*.00392156862745098,Y0(r,73537,p)}while(0);m0(r,98744)|0,g=v}function kf(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=g,g=g+16|0,i=n;e:do switch(e[t+32>>2]|0){case 5:{m0(r,e[t>>2]|0)|0;break}case 1:if(C[t+3>>0]|0){l=s0[t+1>>0]|0,o=s0[t+2>>0]|0,e[i>>2]=s0[t>>0],e[i+4>>2]=l,e[i+8>>2]=o,Y0(r,75714,i);break e}else{m0(r,137379)|0;break e}default:H0(138394,73558,117,73578)}while(0);g=n}function y7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+112|0,f=E+64|0,v=E+56|0,c=E+48|0,A=E+40|0,o=E+32|0,s=E,p=e[46722]|0,e[46722]=p+1,w=e[r+16>>2]|0,n=+(e[w+136>>2]|0)*.017453292519943295,e[s>>2]=0,e[s+4>>2]=0,e[s+8>>2]=0,e[s+12>>2]=0,e[s+16>>2]=0,e[s+20>>2]=0,e[s+24>>2]=0,e[s+28>>2]=0,MC(t,s,i,n,0),e[f>>2]=p,Y0(r,73831,f),m0(r,73896)|0,Pr(r,+u[s>>3]),m0(r,73901)|0,Pr(r,+u[s+8>>3]),m0(r,73908)|0,Pr(r,+u[s+16>>3]),m0(r,73915)|0,Pr(r,+u[s+24>>3]),m0(r,73922)|0,s=w+140|0,n=+x0[s>>2],n>0?(u[o>>3]=n+-.001,Y0(r,73927,o)):m0(r,73703)|0,t=w+56|0,i=f,o=t,l=i+40|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(l|0));kf(r,f),m0(r,73739)|0;e:do if((e[w+88>>2]|0)==1){switch(t=C[t+3>>0]|0,t<<24>>24){case-1:case 0:{m=7;break e}default:}u[A>>3]=+(t&255)*.00392156862745098,Y0(r,99612,A)}else m=7;while(0);(m|0)==7&&m0(r,73754)|0,m0(r,73757)|0,n=+x0[s>>2],n>0?(u[c>>3]=n,Y0(r,73927,c)):m0(r,73763)|0,t=w+96|0,i=f,o=t,l=i+40|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(l|0));kf(r,f),m0(r,73739)|0;e:do if((e[w+128>>2]|0)==1){switch(t=C[t+3>>0]|0,t<<24>>24){case-1:case 0:{m=14;break e}default:}u[v>>3]=+(t&255)*.00392156862745098,Y0(r,99612,v)}else m=14;while(0);return(m|0)==14&&m0(r,73754)|0,m0(r,73967)|0,g=E,p|0}function C7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;v=g,g=g+64|0,A=v+16|0,w=v+8|0,s=v,f=e[46721]|0,e[46721]=f+1,c=e[r+16>>2]|0,m=+(e[c+136>>2]|0)*.017453292519943295,i=m,m==0?(n=50,t=50):(n=~~((+ee(+i)+1)*50),t=~~((1-+le(+i))*50)),e[A>>2]=f,e[A+4>>2]=n,e[A+8>>2]=t,Y0(r,73619,A),m0(r,73703)|0,t=c+56|0,n=A,o=t,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));kf(r,A),m0(r,73739)|0;e:do if((e[c+88>>2]|0)==1){switch(t=C[t+3>>0]|0,t<<24>>24){case-1:case 0:{p=6;break e}default:}u[s>>3]=+(t&255)*.00392156862745098,Y0(r,99612,s)}else p=6;while(0);(p|0)==6&&m0(r,73754)|0,m0(r,73757)|0,m0(r,73763)|0,t=c+96|0,n=A,o=t,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));kf(r,A),m0(r,73739)|0;e:do if((e[c+128>>2]|0)==1){switch(t=C[t+3>>0]|0,t<<24>>24){case-1:case 0:{p=10;break e}default:}u[w>>3]=+(t&255)*.00392156862745098,Y0(r,99612,w)}else p=10;while(0);return(p|0)==10&&m0(r,73754)|0,m0(r,73799)|0,g=v,f|0}function eh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,n=77,o=0;!((o|0)>=(i|0));)e[l>>2]=n,Y0(r,73616,l),Pr(r,+u[t+(o<<4)>>3]),m0(r,100999)|0,Pr(r,-+u[t+(o<<4)+8>>3]),n=o|0?32:67,o=o+1|0;g=s}function mh(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;A=g,g=g+16|0,s=A+8|0,l=A,m0(r,74587)|0,m0(r,bt(t)|0)|0,i|0&&(e[l>>2]=bt(i)|0,Y0(r,74595,l)),e[s>>2]=n,Y0(r,74599,s),t=he(o,74611)|0,t|0&&C[t>>0]|0&&(m0(r,102604)|0,m0(r,bt(t)|0)|0),m0(r,98744)|0,g=A}function rh0(r){r=r|0;var t=0;m0(r,75418)|0,t=r+12|0,m0(r,gh(e[e[e[t>>2]>>2]>>2]|0)|0)|0,m0(r,78181)|0,m0(r,gh(e[(e[e[t>>2]>>2]|0)+4>>2]|0)|0)|0,m0(r,78191)|0,m0(r,gh(e[(e[e[t>>2]>>2]|0)+8>>2]|0)|0)|0,m0(r,75434)|0}function th0(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=e[r+16>>2]|0,m0(r,75395)|0,t=t+8|0,C[(te(e[t>>2]|0)|0)>>0]|0&&(m0(r,75397)|0,m0(r,gh(te(e[t>>2]|0)|0)|0)|0),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,75406,i),e[46723]=0,g=n}function ih0(r){r=r|0,e[46723]=1}function nh0(r){r=r|0,e[46723]=-1}function oh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(f=g,g=g+48|0,l=f+8|0,c=f,n=e[r+16>>2]|0,e[n+144>>2]|0&&(A=i+4|0,s=~~(+u[r+352>>3]*+u[(e[A>>2]|0)+16>>3]),s|0)){yh(r),m0(r,75334)|0,o=t+8|0,u[o>>3]=+u[o>>3]-+(s|0)*.55,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],M1(r,l),m0(r,75348)|0,m0(r,e[i>>2]|0)|0,m0(r,75357)|0,m0(r,75155)|0,o=l,t=n+16|0,n=o+40|0;do e[o>>2]=e[t>>2],o=o+4|0,t=t+4|0;while((o|0)<(n|0));switch(pa(r,l),m0(r,75359)|0,l=e[A>>2]|0,A=e[l+8>>2]|0,A=e[(A|0?A+4|0:l)>>2]|0,m0(r,98744)|0,m0(r,A)|0,m0(r,98744)|0,e[c>>2]=s,Y0(r,75368,c),C[i+48>>0]|0){case 108:{m0(r,75373)|0;break}case 114:{m0(r,75384)|0;break}default:}Ch(r),m0(r,153599)|0}g=f}function lh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;if(A=g,g=g+48|0,o=A,l=e[r+16>>2]|0,s=l+144|0,e[s>>2]|0){w=+u[t>>3],f=+u[t+24>>3],n=t+8|0,c=+u[n>>3],u[t>>3]=w-+u[t+16>>3]+w,u[n>>3]=c-f+c,yh(r),m0(r,75320)|0,$o(r,t,2),m0(r,75155)|0;do if(i){t=o,i=l+56|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));pa(r,o)}else if(e[46723]|0){m0(r,137198)|0;break}else{m0(r,97309)|0;break}while(0);(e[46723]|0)==1&&(e[46723]=0),m0(r,75266)|0,Pr(r,+u[l+152>>3]),m0(r,75309)|0,t=o,i=l+16|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));pa(r,o),t=e[s>>2]|0,(t|0)==1&&(m0(r,75163)|0,t=e[s>>2]|0),(t|0)==2&&m0(r,75172)|0,Ch(r),m0(r,153599)|0}g=A}function sh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(A=g,g=g+48|0,o=A,l=e[r+16>>2]|0,s=l+144|0,e[s>>2]|0){yh(r),m0(r,75292)|0,$o(r,t,i),m0(r,75155)|0;do if(n){t=o,i=l+56|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));pa(r,o)}else if(e[46723]|0){m0(r,137198)|0;break}else{m0(r,97309)|0;break}while(0);(e[46723]|0)==1&&(e[46723]=0),m0(r,75266)|0,Pr(r,+u[l+152>>3]),m0(r,75309)|0,t=o,i=l+16|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));pa(r,o),t=e[s>>2]|0,(t|0)==1&&(m0(r,75163)|0,t=e[s>>2]|0),(t|0)==2&&m0(r,75172)|0,Ch(r),m0(r,153599)|0}g=A}function Ah0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0;if(f=g,g=g+48|0,s=f,A=e[r+16>>2]|0,c=A+144|0,e[c>>2]|0){yh(r),m0(r,75141)|0,$o(r,t,i),m0(r,75155)|0,n=s,o=A+16|0,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));pa(r,s),m0(r,75266)|0,Pr(r,+u[A+152>>3]),n=e[c>>2]|0,(n|0)==1&&(m0(r,75163)|0,n=e[c>>2]|0),(n|0)==2&&m0(r,75172)|0,m0(r,75275)|0,Ch(r),m0(r,153599)|0}g=f}function uh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+48|0,l=A,n=e[r+16>>2]|0,s=n+144|0,e[s>>2]|0){yh(r),m0(r,75141)|0,$o(r,t,i),m0(r,75155)|0,o=l,t=n+16|0,i=o+40|0;do e[o>>2]=e[t>>2],o=o+4|0,t=t+4|0;while((o|0)<(i|0));pa(r,l),t=e[s>>2]|0,(t|0)==1&&(m0(r,75163)|0,t=e[s>>2]|0),(t|0)==2&&m0(r,75172)|0,Ch(r),m0(r,153599)|0}g=A}function ah0(r,t){r=r|0,t=t|0,m0(r,75138)|0,m0(r,gh(t)|0)|0,m0(r,153599)|0}function gh(r){return r=r|0,r|0}function yh(r){r=r|0,C[r+144>>0]|0?m0(r,e[r+148>>2]|0)|0:m0(r,75263)|0}function pa(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=g,g=g+16|0,i=n;e:do switch(e[t+32>>2]|0){case 5:{m0(r,e[t>>2]|0)|0;break}case 1:if(C[t+3>>0]|0){l=s0[t+1>>0]|0,o=s0[t+2>>0]|0,e[i>>2]=s0[t>>0],e[i+4>>2]=l,e[i+8>>2]=o,Y0(r,75714,i);break e}else{m0(r,97309)|0;break e}default:H0(138394,75181,49,75245)}while(0);g=n}function Ch(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;switch(s=g,g=g+16|0,l=s,o=e[r+16>>2]|0,e[o+12>>2]|0){case 8:{t=1,i=111481,n=o+8|0;break}case 10:{t=0,i=111481,n=o+8|0;break}case 3:case 2:case 9:{t=1,i=111450,n=o+8|0;break}case 7:case 6:case 11:{t=0,i=111450,n=o+8|0;break}case 0:{t=1,i=111494,n=o+8|0;break}case 4:{t=0,i=75217,n=o+8|0;break}case 1:{t=1,i=111494,n=o+8|0;break}case 5:{t=0,i=111494,n=o+8|0;break}default:H0(138394,75181,106,75200)}o=e[(e[n>>2]|0)+8>>2]|0,e[l>>2]=t,e[l+4>>2]=i,e[l+8>>2]=o,Y0(r,75229,l),g=s}function ch0(r){r=r|0;var t=0;m0(r,78153)|0,m0(r,78161)|0,t=r+12|0,m0(r,xs(e[e[e[t>>2]>>2]>>2]|0)|0)|0,m0(r,78181)|0,m0(r,xs(e[(e[e[t>>2]>>2]|0)+4>>2]|0)|0)|0,m0(r,78191)|0,m0(r,xs(e[(e[e[t>>2]>>2]|0)+8>>2]|0)|0)|0,m0(r,78194)|0}function fh0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+32|0,l=s+24|0,o=s+16|0,n=s+8|0,i=s,t=e[r+16>>2]|0,e[46727]=~~(+u[r+232>>3]-+u[r+216>>3]),e[46726]=~~(+u[r+224>>3]-+u[r+208>>3]),m0(r,76840)|0,m0(r,76847)|0,t=te(e[t+8>>2]|0)|0,C[t>>0]|0&&(m0(r,76916)|0,m0(r,xs(t)|0)|0,m0(r,76924)|0),e[i>>2]=N0(e[r+168>>2]|0,e[r+164>>2]|0)|0,Y0(r,76933,i),m0(r,76953)|0,m0(r,76988)|0,m0(r,77016)|0,m0(r,77022)|0,m0(r,77065)|0,m0(r,77106)|0,m0(r,77125)|0,m0(r,77142)|0,m0(r,77190)|0,m0(r,77243)|0,m0(r,77319)|0,m0(r,77395)|0,m0(r,77404)|0,m0(r,77427)|0,m0(r,77454)|0,m0(r,77507)|0,m0(r,77529)|0,m0(r,77574)|0,m0(r,77586)|0,m0(r,77596)|0,m0(r,77622)|0,m0(r,77507)|0,m0(r,77674)|0,m0(r,77574)|0,m0(r,77586)|0,m0(r,77718)|0,m0(r,77427)|0,m0(r,77454)|0,m0(r,77507)|0,m0(r,77674)|0,m0(r,77574)|0,m0(r,77586)|0,m0(r,77596)|0,m0(r,77622)|0,m0(r,77507)|0,m0(r,77529)|0,m0(r,77574)|0,m0(r,77586)|0,m0(r,77731)|0,m0(r,77739)|0,m0(r,77745)|0,m0(r,77759)|0,m0(r,77767)|0,m0(r,77800)|0,i=(e[46727]|0)+10|0,e[n>>2]=e[46726],e[n+4>>2]=i,Y0(r,77877,n),m0(r,77907)|0,m0(r,77916)|0,m0(r,77974)|0,m0(r,77984)|0,m0(r,78049)|0,n=e[46727]|0,e[o>>2]=e[46726],e[o+4>>2]=n,Y0(r,78086,o),o=e[46727]|0,e[l>>2]=e[46726],e[l+4>>2]=o,Y0(r,78114,l),g=s}function hh0(r){r=r|0,m0(r,76391)|0,m0(r,76403)|0,m0(r,76411)|0,m0(r,76474)|0,m0(r,76403)|0,m0(r,76519)|0,m0(r,76568)|0,m0(r,76622)|0,m0(r,76403)|0,m0(r,76722)|0,m0(r,76771)|0,m0(r,76403)|0,m0(r,76823)|0}function wh0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;A=g,g=g+32|0,s=A+16|0,l=A+8|0,o=A,m0(r,76349)|0,t|0&&C[t>>0]|0&&(e[o>>2]=xs(t)|0,Y0(r,76352,o)),i|0&&C[i>>0]|0&&(e[l>>2]=xs(i)|0,Y0(r,76363,l)),n|0&&C[n>>0]|0&&(e[s>>2]=xs(n)|0,Y0(r,76375,s)),m0(r,76388)|0,g=A}function dh0(r){r=r|0,m0(r,76343)|0}function ph0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;switch(W=g,g=g+112|0,L=W+96|0,Z=W+88|0,z=W+80|0,p=W+72|0,x=W+64|0,E=W+56|0,m=W+48|0,v=W+40|0,w=W+24|0,f=W+8|0,c=W,_=e[r+16>>2]|0,C[i+48>>0]|0){case 108:{l=+u[t>>3],A=+u[i+32>>3];break}case 114:{A=+u[i+32>>3],l=+u[t>>3]-A;break}default:A=+u[i+32>>3],l=+u[t>>3]-A*.5}switch(n=i+40|0,o=+u[n>>3],B=i+4|0,s=+u[(e[B>>2]|0)+16>>3],o>3]=o),N=l+-8,s=+((e[46727]|0)>>>0)-+u[t+8>>3]-o+s*.2+(s<12?1.4:2),Y0(r,76005,c),u[f>>3]=N,u[f+8>>3]=s,Y0(r,75942,f),u[w>>3]=l+8+A-N,u[w+8>>3]=o,Y0(r,75966,w),m0(r,76040)|0,m0(r,76074)|0,n=e[B>>2]|0,t=e[n+8>>2]|0,t?(e[v>>2]=e[t+4>>2],Y0(r,76164,v),n=e[t+8>>2]|0,n|0&&(e[m>>2]=n,Y0(r,76183,m)),n=e[t+12>>2]|0,n|0&&(e[E>>2]=n,Y0(r,76200,E)),n=e[t+16>>2]|0,n|0&&(e[x>>2]=n,Y0(r,76218,x))):(e[p>>2]=e[n>>2],Y0(r,76164,p)),u[z>>3]=+u[(e[B>>2]|0)+16>>3],Y0(r,76234,z),n=_+16|0,e[_+48>>2]|0){case 5:{n=e[n>>2]|0,De(n,137314)|0&&(e[Z>>2]=n,Y0(r,76254,Z));break}case 1:{_=s0[n+1>>0]|0,Z=s0[n+2>>0]|0,e[L>>2]=s0[n>>0],e[L+4>>2]=_,e[L+8>>2]=Z,Y0(r,76264,L);break}default:H0(138394,75728,438,76285)}m0(r,76298)|0,m0(r,xs(e[i>>2]|0)|0)|0,m0(r,76309)|0,m0(r,76332)|0,g=W}function kh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;n=g,g=g+32|0,o=n+16|0,A=n,m0(r,75906)|0,f=+u[t>>3],s=+u[t+16>>3]-f,c=+u[t+24>>3],l=c-+u[t+8>>3],c=+((e[46727]|0)>>>0)-c,u[A>>3]=f-s,u[A+8>>3]=c,Y0(r,75942,A),u[o>>3]=s*2,u[o+8>>3]=l*2,Y0(r,75966,o),E7(r,i),m0(r,75788)|0,qd(r),m0(r,75994)|0,g=n}function vh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(f=g,g=g+48|0,c=f+24|0,A=f+8|0,l=f,m0(r,75511)|0,w=e[46727]|0,e[l>>2]=e[46726],e[l+4>>2]=w,Y0(r,75764,l),E7(r,n),m0(r,75788)|0,qd(r),m0(r,75791)|0,l=i+-1|0,n=0;!((n|0)>=(i|0));)s=+u[t+(n<<4)>>3],o=+((e[46727]|0)>>>0)-+u[t+(n<<4)+8>>3],n?(u[c>>3]=s,u[c+8>>3]=o,Y0(r,75884,c)):(m0(r,75818)|0,u[A>>3]=s,u[A+8>>3]=o,Y0(r,75884,A),m0(r,75895)|0),(n|0)==(l|0)&&m0(r,75898)|0,n=n+1|0;m0(r,75627)|0,g=f}function mh0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0;o=g,g=g+16|0,n=o,m0(r,75511)|0,s=e[46727]|0,e[n>>2]=e[46726],e[n+4>>2]=s,Y0(r,75764,n),E7(r,l),m0(r,75788)|0,qd(r),m0(r,75791)|0,Eh0(r,t,i),m0(r,75804)|0,g=o}function gh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(c=g,g=g+48|0,A=c+24|0,s=c+8|0,o=c,m0(r,75511)|0,l=e[46727]|0,e[o>>2]=e[46726],e[o+4>>2]=l,Y0(r,75548,o),m0(r,75588)|0,o=i+-1|0,l=t+8|0,n=0;!((n|0)>=(i|0));)n?(f=+((e[46727]|0)>>>0)-+u[t+(n<<4)+8>>3],u[A>>3]=+u[t+(n<<4)>>3],u[A+8>>3]=f,Y0(r,75604,A)):(m0(r,75600)|0,f=+((e[46727]|0)>>>0)-+u[l>>3],u[s>>3]=+u[t>>3],u[s+8>>3]=f,Y0(r,75604,s),m0(r,75615)|0),(n|0)==(o|0)&&m0(r,75619)|0,n=n+1|0;m0(r,75623)|0,qd(r),m0(r,75627)|0,g=c}function yh0(r,t){r=r|0,t=t|0,m0(r,75446)|0,m0(r,xs(t)|0)|0,m0(r,75458)|0}function xs(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=g,g=g+16|0,i=z,t=e[46724]|0,t||(e[46725]=64,t=_0(64)|0,e[46724]=t),B=i+15|0,E=i+14|0,o=0,m=0,p=0,i=0,n=0;e:for(;;){w=(p|0)!=0,c=o,v=r,A=i;r:for(;;){if(!v){x=32;break e}if(i=C[v>>0]|0,!(i<<24>>24)){x=32;break e}switch(r=e[46725]|0,(m|0)>(r+-8|0)&&(t=r<<1,e[46725]=t,t=Ve(e[46724]|0,t)|0,e[46724]=t,t=t+m|0,i=C[v>>0]|0),i<<24>>24){case 60:{i=4,r=102153,x=26;break r}case 62:{i=4,r=102136,x=27;break r}case 38:{x=10;break r}case 45:{i=5,r=102147,s=A;break r}default:}if(w&i<<24>>24==32){x=12;break}switch(i<<24>>24){case 34:{i=6,r=102116,x=26;break r}case 39:{i=5,r=102141,x=27;break r}default:}if(i<<24>>24<0)s=127,r=0;else{i=1,r=v,x=26;break}for(;o=s&255,l=i&255,!(o>>>0>=l>>>0);)i=s&l&255,s=o>>>1,r=r+1|0;if((r|0)<=1)if(o=Br(A|0,n|0,6)|0,o=fr(o|0,b|0,i&255|0,0)|0,n=b,f=c+-1|0,(c|0)>1)r=f,i=o;else{x=21;break}else r=r+-1|0,i=i&255,n=0;c=r,v=v+1|0,A=i}if((x|0)==10)x=0,r=(Ch0(v)|0)==0,i=r?5:1,r=r?102130:v,s=A;else if((x|0)==12)x=0,r=(C[p>>0]|0)==32,i=r?6:1,r=r?102123:v,s=A;else if((x|0)==21){for(x=0,C[B>>0]=59,i=3,l=E,s=o,A=n;;){if(r=a8(s|0,A|0,10,0)|0,o=l+-1|0,C[l>>0]=r|48,r=s,s=qf(s|0,A|0,10,0)|0,n=A,A=b,p=i,i=i+1|0,(p|0)>11){x=23;break e}if(n>>>0>0|(n|0)==0&r>>>0>9)l=o;else break}r=l+-2|0,C[o>>0]=35,C[r>>0]=38,c=f,n=A}else((x|0)==26||(x|0)==27)&&(x=0,s=A);for(l=t+i|0,o=i;o;)C[t>>0]=C[r>>0]|0,o=o+-1|0,r=r+1|0,t=t+1|0;o=c,r=v+1|0,m=i+m|0,p=v,t=l,i=s}if((x|0)==23)fn(75464,46,1,e[15712]|0)|0,Jc(1);else if((x|0)==32)return C[t>>0]=0,g=z,e[46724]|0;return 0}function Ch0(r){r=r|0;var t=0,i=0;i=r+1|0,t=C[i>>0]|0;e:do if(t<<24>>24==35){switch(i=r+2|0,t=C[i>>0]|0,t<<24>>24){case 88:case 120:break;default:for(r=i;;){if(i=r+1|0,(t+-48&255)>=10)break e;r=i,t=C[i>>0]|0}}for(i=r+3|0;;){if(t=C[i>>0]|0,(t+-48&255)>=10)switch(t<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break e}i=i+1|0}}else for(;;){if(r=i+1|0,((t&-33)+-65&255)>=26)break e;i=r,t=C[r>>0]|0}while(0);return t<<24>>24==59|0}function qd(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+48|0,i=c+8|0,A=c,s=e[r+16>>2]|0,m0(r,75639)|0,n=i,o=s+16|0,l=n+40|0;do e[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));switch(eM(r,i),t=+u[s+152>>3],t!=1&&(u[A>>3]=t,Y0(r,75657,A)),e[s+144>>2]|0){case 1:{m0(r,75674)|0;break}case 2:{m0(r,75692)|0;break}default:}m0(r,75709)|0,g=c}function eM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=g,g=g+16|0,i=n;e:do switch(e[t+32>>2]|0){case 5:{m0(r,e[t>>2]|0)|0;break}case 1:if(C[t+3>>0]|0){l=s0[t+1>>0]|0,o=s0[t+2>>0]|0,e[i>>2]=s0[t>>0],e[i+4>>2]=l,e[i+8>>2]=o,Y0(r,75714,i);break e}else{m0(r,135709)|0;break e}default:H0(138394,75728,94,75748)}while(0);g=n}function E7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;if(l=g,g=g+48|0,o=l,!t)m0(r,75867)|0;else{i=e[r+16>>2]|0,m0(r,75837)|0,t=o,i=i+56|0,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));eM(r,o),m0(r,75864)|0}g=l}function Eh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;for(s=g,g=g+32|0,l=s,n=75818,o=0;!((o|0)>=(i|0));)c=+u[t+(o<<4)>>3],A=+((e[46727]|0)>>>0)-+u[t+(o<<4)+8>>3],e[l>>2]=n,u[l+8>>3]=c,u[l+16>>3]=A,Y0(r,75821,l),n=o|0?195059:75834,o=o+1|0;m0(r,98744)|0,g=s}function Bh0(r){r=r|0;var t=0,i=0,n=0;t=g,g=g+16|0,i=t+8|0,n=t,m0(r,80451)|0,m0(r,80466)|0,m0(r,80505)|0,m0(r,80554)|0,e[n>>2]=137314,e[n+4>>2]=80642,Y0(r,80623,n),e[i>>2]=137198,e[i+4>>2]=80648,Y0(r,80623,i),g=t}function Ih0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;t=g,g=g+64|0,i=t+8|0,A=t,e[A>>2]=te(e[(e[r+16>>2]|0)+8>>2]|0)|0,Y0(r,79404,A),s=+u[r+368>>3]*.5*+u[r+488>>3],l=+u[r+376>>3]*.5*+u[r+496>>3],o=+G2(+(s*.0020000000949949026))*180*.6366197723675814,n=+G2(+(l*.0020000000949949026))*180*.6366197723675814,u[i>>3]=s,u[i+8>>3]=l,u[i+16>>3]=-500,u[i+24>>3]=s,u[i+32>>3]=l,u[i+40>>3]=0,u[i+48>>3]=(o>n?o:n)*1.2,Y0(r,79426,i),m0(r,79573)|0,m0(r,80403)|0,g=t}function xh0(r){r=r|0,m0(r,79387)|0}function Sh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=g,g=g+16|0,l=o,e[l>>2]=t,e[l+4>>2]=i,e[l+8>>2]=n,Y0(r,79357,l),x0[46728]=+(N0(i,-10)|0),g=o}function _h0(r){r=r|0,m0(r,79340)|0}function zh0(r){r=r|0,m0(r,79322)|0}function Lh0(r){r=r|0,m0(r,79306)|0}function Rh0(r){r=r|0,m0(r,79285)|0,x0[46728]=+x0[46728]+-2}function Gh0(r){r=r|0,m0(r,79266)|0}function Zh0(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=t,e[i>>2]=te(e[(e[r+16>>2]|0)+8>>2]|0)|0,Y0(r,79244,i),g=t}function Wh0(r){r=r|0,m0(r,79228)|0}function Dh0(r){r=r|0,m0(r,79210)|0,x0[46728]=+x0[46728]+-5}function Mh0(r){r=r|0,m0(r,79194)|0,x0[46728]=+x0[46728]+5}function jh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;switch(v=g,g=g+144|0,f=v+104|0,p=v+56|0,A=v+32|0,l=v+24|0,c=v,w=i+4|0,o=e[w>>2]|0,n=+u[o+16>>3],o=e[o>>2]|0,e[c>>2]=e[i>>2],u[c+8>>3]=n,e[c+16>>2]=o,Y0(r,79040,c),x0[46729]=+x0[46728]+-9,C[i+48>>0]|0){case 108:{n=+u[t>>3];break}case 114:{o=t,n=+u[t>>3]-+u[i+32>>3],s=5;break}default:o=t,n=+u[t>>3]-+u[i+32>>3]*.5,s=5}(s|0)==5&&(u[o>>3]=n),B=+u[r+488>>3],E=(+u[r+504>>3]+n)*B,m=(+u[r+512>>3]+ +u[t+8>>3])*+u[r+496>>3],u[l>>3]=+u[(e[w>>2]|0)+16>>3]*B,c=W2(r,79092,l)|0,n=+(e[r+360>>2]|0),u[A>>3]=0,u[A+8>>3]=0,u[A+16>>3]=n,o=W2(r,78309,A)|0,n=+x0[46729],u[f>>3]=E,u[f+8>>3]=m,u[f+16>>3]=n,t=W2(r,78341,f)|0,l=f,s=(e[r+16>>2]|0)+16|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));f=ka(r,f,0)|0,i=e[i>>2]|0,e[p>>2]=e[e[w>>2]>>2],u[p+8>>3]=.25,u[p+16>>3]=0,e[p+24>>2]=i,e[p+28>>2]=79179,e[p+32>>2]=c,e[p+36>>2]=o,e[p+40>>2]=t,e[p+44>>2]=f,p=W2(r,79104,p)|0,m0(r,p)|0,r0(p),r0(o),r0(f),r0(t),r0(c),g=v}function Nh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;W=g,g=g+240|0,L=W+192|0,Z=W+152|0,B=W+128|0,m=W+104|0,w=W+80|0,f=W+48|0,n=W+24|0,c=W,m0(r,78917)|0,x0[46729]=+x0[46728]+-6,l=+u[t>>3],s=+u[r+488>>3],p=(+u[r+504>>3]+l)*s,N=+u[t+8>>3],A=+u[r+496>>3],v=(+u[r+512>>3]+N)*A,s=(+u[t+16>>3]-l)*s,A=(+u[t+24>>3]-N)*A,E=r+16|0,N=A+s,l=+u[(e[E>>2]|0)+152>>3]/N*2.5,u[c>>3]=s,u[c+8>>3]=N*.25,u[c+16>>3]=A,t=W2(r,78277,c)|0,c=r+360|0,N=+(e[c>>2]|0),u[n>>3]=90,u[n+8>>3]=0,u[n+16>>3]=N,n=W2(r,78309,n)|0,N=+x0[46729],u[L>>3]=p,u[L+8>>3]=v,u[L+16>>3]=N,o=W2(r,78341,L)|0,x=L,z=(e[E>>2]|0)+16|0,_=x+40|0;do e[x>>2]=e[z>>2],x=x+4|0,z=z+4|0;while((x|0)<(_|0));if(z=ka(r,L,0)|0,u[f>>3]=1,u[f+8>>3]=l,e[f+16>>2]=t,e[f+20>>2]=n,e[f+24>>2]=o,e[f+28>>2]=z,_=W2(r,78932,f)|0,m0(r,_)|0,r0(t),r0(n),r0(o),r0(z),r0(_),i|0){u[w>>3]=s,u[w+8>>3]=A,u[w+16>>3]=1,o=W2(r,78277,w)|0,N=+(e[c>>2]|0),u[m>>3]=0,u[m+8>>3]=0,u[m+16>>3]=N,n=W2(r,78309,m)|0,N=+x0[46729],u[B>>3]=p,u[B+8>>3]=v,u[B+16>>3]=N,t=W2(r,78341,B)|0,x=L,z=(e[E>>2]|0)+56|0,_=x+40|0;do e[x>>2]=e[z>>2],x=x+4|0,z=z+4|0;while((x|0)<(_|0));L=ka(r,L,0)|0,u[Z>>3]=0,u[Z+8>>3]=0,u[Z+16>>3]=0,e[Z+24>>2]=o,e[Z+28>>2]=n,e[Z+32>>2]=t,e[Z+36>>2]=L,Z=W2(r,78978,Z)|0,m0(r,Z)|0,r0(o),r0(n),r0(t),r0(L),r0(Z)}g=W}function Qh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0;H=g,g=g+336|0,T=H+296|0,Y=H+288|0,t0=H+272|0,q=H+264|0,F=H+240|0,P=H+232|0,N=H+208|0,W=H+184|0,_=H+160|0,z=H+152|0,x=H+136|0,B=H+128|0,E=H+96|0,m=H+88|0,v=H+56|0,o=H+48|0,c=H+24|0,A=H,m0(r,78782)|0,x0[46729]=+x0[46728]+-2,w=r+488|0,p=r+496|0,a0=+u[p>>3],u[A>>3]=+u[w>>3],u[A+8>>3]=a0,u[A+16>>3]=1,A=W2(r,78277,A)|0,Z=r+360|0,a0=+(e[Z>>2]|0),u[c>>3]=0,u[c+8>>3]=0,u[c+16>>3]=a0,c=W2(r,78309,c)|0,a0=+x0[46729]+-2,u[T>>3]=0,u[T+8>>3]=0,u[T+16>>3]=a0,f=W2(r,78341,T)|0,D=r+16|0,l=T,s=(e[D>>2]|0)+16|0,L=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(L|0));for(s=ka(r,T,0)|0,e[o>>2]=78404,e[o+4>>2]=i+1,X=r+504|0,U=r+512|0,l=0,o=W2(r,78373,o)|0;!((l|0)>=(i|0));)B0=+u[U>>3]+ +u[t+(l<<4)+8>>3],a0=+u[(e[D>>2]|0)+152>>3],u[v>>3]=+u[X>>3]+ +u[t+(l<<4)>>3],u[v+8>>3]=B0,u[v+16>>3]=0,u[v+24>>3]=a0,k0=W2(r,78418,v)|0,e[m>>2]=o,e[m+4>>2]=k0,L=W2(r,78447,m)|0,r0(k0),r0(o),l=l+1|0,o=L;if(a0=+u[U>>3]+ +u[t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w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0;T=g,g=g+208|0,n=T+160|0,N=T+152|0,W=T+136|0,Z=T+128|0,L=T+96|0,_=T+88|0,z=T+56|0,A=T+48|0,E=T+24|0,m=T,m0(r,78709)|0,x0[46729]=+x0[46728]+-4,D=+u[r+496>>3],u[m>>3]=+u[r+488>>3],u[m+8>>3]=D,u[m+16>>3]=1,m=W2(r,78277,m)|0,D=+(e[r+360>>2]|0),u[E>>3]=0,u[E+8>>3]=0,u[E+16>>3]=D,E=W2(r,78309,E)|0,D=+x0[46729]+-2,u[n>>3]=0,u[n+8>>3]=0,u[n+16>>3]=D,B=W2(r,78341,n)|0,x=r+16|0,o=n,l=(e[x>>2]|0)+56|0,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));for(f=ka(r,n,0)|0,e[A>>2]=78723,e[A+4>>2]=i+2,w=r+504|0,p=r+512|0,v=i+-1|0,c=0,n=W2(r,78373,A)|0;!((c|0)>=(i|0));)o=t+(c<<4)|0,l=t+(c<<4)+8|0,P=+u[p>>3]+ +u[l>>3],D=+u[(e[x>>2]|0)+152>>3],u[z>>3]=+u[w>>3]+ +u[o>>3],u[z+8>>3]=P,u[z+16>>3]=0,u[z+24>>3]=D,A=W2(r,78418,z)|0,e[_>>2]=n,e[_+4>>2]=A,s=W2(r,78447,_)|0,r0(A),r0(n),(c|0)==0|(c|0)==(v|0)?(D=+u[p>>3]+ +u[l>>3],P=+u[(e[x>>2]|0)+152>>3],u[L>>3]=+u[w>>3]+ +u[o>>3],u[L+8>>3]=D,u[L+16>>3]=0,u[L+24>>3]=P,A=W2(r,78418,L)|0,e[Z>>2]=s,e[Z+4>>2]=A,n=W2(r,78447,Z)|0,r0(A),r0(s)):n=s,c=c+1|0;e[W>>2]=m,e[W+4>>2]=E,e[W+8>>2]=B,e[W+12>>2]=f,t=W2(r,78732,W)|0,e[N>>2]=n,e[N+4>>2]=t,i=W2(r,78502,N)|0,r0(t),m0(r,i)|0,r0(m),r0(E),r0(B),r0(f),r0(i),g=T}function Fh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;z=g,g=g+160|0,n=z+120|0,x=z+112|0,B=z+96|0,E=z+88|0,m=z+56|0,c=z+48|0,f=z+24|0,v=z,m0(r,78261)|0,x0[46729]=+x0[46728]+-6,_=+u[r+496>>3],u[v>>3]=+u[r+488>>3],u[v+8>>3]=_,u[v+16>>3]=1,v=W2(r,78277,v)|0,_=+(e[r+360>>2]|0),u[f>>3]=0,u[f+8>>3]=0,u[f+16>>3]=_,f=W2(r,78309,f)|0,_=+x0[46729],u[n>>3]=0,u[n+8>>3]=0,u[n+16>>3]=_,w=W2(r,78341,n)|0,p=r+16|0,o=n,l=(e[p>>2]|0)+16|0,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));for(l=ka(r,n,0)|0,e[c>>2]=78404,e[c+4>>2]=i,s=r+504|0,A=r+512|0,o=0,n=W2(r,78373,c)|0;!((o|0)>=(i|0));)Z=+u[A>>3]+ +u[t+(o<<4)+8>>3],_=+u[(e[p>>2]|0)+152>>3],u[m>>3]=+u[s>>3]+ +u[t+(o<<4)>>3],u[m+8>>3]=Z,u[m+16>>3]=0,u[m+24>>3]=_,L=W2(r,78418,m)|0,e[E>>2]=n,e[E+4>>2]=L,c=W2(r,78447,E)|0,r0(L),r0(n),o=o+1|0,n=c;e[B>>2]=v,e[B+4>>2]=f,e[B+8>>2]=w,e[B+12>>2]=l,B=W2(r,78456,B)|0,e[x>>2]=n,e[x+4>>2]=B,L=W2(r,78502,x)|0,r0(B),m0(r,L)|0,r0(v),r0(f),r0(w),r0(l),r0(L),g=z}function Ph0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=t,Y0(r,78242,n),g=i}function W2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+1056|0,s=A,n=A+24|0,o=A+8|0,e[o>>2]=i,l=Rk(n,1024,t,o)|0;do if((l|0)>=0)if((l|0)>1023){r=Te(l+1|0)|0,e[o>>2]=i,zE(r,t,o)|0;break}else{r=C2(n)|0;break}else r=e[(e[r+12>>2]|0)+16>>2]|0,e[s>>2]=n8(e[(kr()|0)>>2]|0)|0,Bt[r&63](78687,s),r=C2(195059)|0;while(0);return g=A,r|0}function ka(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;v=g,g=g+112|0,w=v+104|0,s=v+96|0,l=v+64|0,f=v+48|0,p=v+32|0,c=v+16|0,A=v,o=e[t+32>>2]|0;e:do switch(o|0){case 5:{if(n=e[t>>2]|0,!(ge(n,136302)|0)){e[A>>2]=78524,u[A+8>>3]=i,n=W2(r,78507,A)|0;break e}if(!(ge(n,133432)|0)){e[c>>2]=78528,u[c+8>>3]=i,n=W2(r,78507,c)|0;break e}if(ge(n,131431)|0){e[f>>2]=n,u[f+8>>3]=i,n=W2(r,78507,f)|0;break e}else{e[p>>2]=78534,u[p+8>>3]=i,n=W2(r,78507,p)|0;break e}}case 1:{E=+(s0[t+1>>0]|0)*.00390625,m=+(s0[t+2>>0]|0)*.00390625,u[l>>3]=+(s0[t>>0]|0)*.00390625,u[l+8>>3]=E,u[l+16>>3]=m,u[l+24>>3]=i,n=W2(r,78539,l)|0;break}default:p=e[15712]|0,f=e[t>>2]|0,e[s>>2]=o,e[s+4>>2]=f,A2(p,78578,s)|0,H0(138394,78628,436,78648)}while(0);return e[w>>2]=n,p=W2(r,78665,w)|0,r0(n),g=v,p|0}function Yh0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;t=g,g=g+32|0,i=t+24|0,n=t+16|0,l=t,o=e[r+16>>2]|0,s=e[e[r+12>>2]>>2]|0,c=e[s>>2]|0,A=e[s+4>>2]|0,s=e[s+8>>2]|0,e[l>>2]=81094,e[l+4>>2]=c,e[l+8>>2]=A,e[l+12>>2]=s,Y0(r,83704,l),o=te(e[o+8>>2]|0)|0,e[n>>2]=81094,e[n+4>>2]=o,Y0(r,83736,n),e[i>>2]=81094,Y0(r,83750,i),g=t}function Vh0(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=t,e[i>>2]=81094,Y0(r,83652,i),g=t}function Oh0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0;me=g,g=g+304|0,ze=me+296|0,V0=me+288|0,b0=me+272|0,Z0=me+264|0,O0=me+256|0,J0=me+248|0,D0=me+240|0,B0=me+232|0,k0=me+224|0,a0=me+216|0,H=me+208|0,Y=me+200|0,t0=me+192|0,q=me+184|0,F=me+176|0,U=me+168|0,X=me+160|0,P=me+152|0,T=me+144|0,N=me+136|0,W=me+128|0,Z=me+120|0,L=me+112|0,_=me+104|0,z=me+96|0,x=me+88|0,B=me+80|0,E=me+72|0,m=me+64|0,v=me+56|0,p=me+48|0,F0=me+40|0,D=me+24|0,w=me+16|0,f=me,l=e[r+456>>2]|0,s=e[r+460>>2]|0,A=e[r+464>>2]|0,c=e[r+468>>2]|0,o=r+360|0;e:do if(e[4025]|0){switch(e[o>>2]|0){case 90:case 0:break e;default:}r80(),e[4025]=0}while(0);n=(+(c|0)-+(s|0))*.013888888888888888,t=(+(A|0)-+(l|0))*.013888888888888888,c=(e[o>>2]|0)==90,i=c?n:t,n=c?t:n,u[f>>3]=i,u[f+8>>3]=n,Y0(r,81281,f),e[w>>2]=81094,Y0(r,81296,w),i>0?(t=+HE0(i),u[19214]=t,t=t+3-+(~~t|0)):t=3,t=+K0(10,+t),u[19214]=t,u[D>>3]=t,u[D+8>>3]=t,Y0(r,81465,D),e[F0>>2]=81094,Y0(r,81500,F0),e[p>>2]=81094,Y0(r,81558,p),e[v>>2]=81094,Y0(r,81618,v),e[m>>2]=81094,Y0(r,81667,m),e[E>>2]=81094,Y0(r,81706,E),e[B>>2]=81094,Y0(r,81757,B),e[x>>2]=81094,Y0(r,81819,x),e[z>>2]=81094,Y0(r,81929,z),e[_>>2]=81094,Y0(r,82020,_),e[L>>2]=81094,Y0(r,82074,L),e[Z>>2]=81094,Y0(r,82143,Z),Y0(r,82179,W),e[N>>2]=81094,Y0(r,82304,N),e[T>>2]=81094,Y0(r,82333,T),Y0(r,82373,P),e[X>>2]=81094,Y0(r,82466,X),e[U>>2]=81094,Y0(r,82525,U),e[F>>2]=81094,Y0(r,82606,F),Y0(r,82676,q),e[t0>>2]=81094,Y0(r,82765,t0),e[Y>>2]=81094,Y0(r,82870,Y),e[H>>2]=81094,Y0(r,82946,H),e[a0>>2]=81094,Y0(r,82985,a0),e[k0>>2]=81094,Y0(r,83084,k0),e[B0>>2]=81094,Y0(r,83130,B0),Y0(r,83219,D0),e[J0>>2]=81094,Y0(r,83260,J0),e[O0>>2]=81094,Y0(r,83343,O0),e[Z0>>2]=81094,Y0(r,83444,Z0),u[b0>>3]=n,u[b0+8>>3]=i,Y0(r,83508,b0),Y0(r,83536,V0),Y0(r,83544,ze),g=me}function Hh0(r){r=r|0;var t=0;t=g,g=g+16|0,Y0(r,81274,t),g=t}function Jh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;switch(m=g,g=g+48|0,v=m+24|0,p=m+8|0,w=m,C[i+48>>0]|0){case 108:{A=t,l=+u[i+32>>3],s=+u[t>>3];break}case 114:{l=+u[i+32>>3],o=l,n=5;break}default:l=+u[i+32>>3],o=l*.5,n=5}(n|0)==5&&(s=+u[t>>3]-o,u[t>>3]=s,A=t),c=i+4|0,n=e[c>>2]|0,o=+u[n+16>>3],t=t+8|0,f=+u[t>>3]+o*.004629629629629629,u[t>>3]=f,l=s+l*.006944444444444444,u[A>>3]=l,n=e[n>>2]|0;do if(n){if(t=e[46730]|0,t|0&&!(ge(t,n)|0))break;e[w>>2]=bh0(n)|0,Y0(r,81173,w),w=e[c>>2]|0,e[46730]=e[w>>2],o=+u[w+16>>3]}while(0);n=~~o,n=(n|0)>1?n:1,(n|0)!=(e[46731]|0)&&(s=+u[19214],e[p>>2]=n,u[p+8>>3]=s,Y0(r,81181,p),e[46731]=n),e[v>>2]=e80(e[i>>2]|0)|0,u[v+8>>3]=l,u[v+16>>3]=f,Y0(r,81202,v),g=m}function Uh0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;n=g,g=g+48|0,o=n,s=+u[t>>3],c=(+u[t+16>>3]-s)*.027777777777777776,l=+u[t+8>>3],A=(+u[t+24>>3]-l)*.027777777777777776,e[o>>2]=1,e[o+4>>2]=i|0?81115:195059,u[o+8>>3]=c,u[o+16>>3]=A,u[o+24>>3]=s*.013888888888888888,u[o+32>>3]=l*.013888888888888888,Y0(r,81121,o),g=n}function Xh0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,n=g,g=g+16|0,B7(e[r+16>>2]|0,n+8|0,n),rM(r,t,i,1),g=n}function qh0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(x=g,g=g+128|0,B=x+112|0,m=x+104|0,v=x+96|0,n=x+88|0,w=x+16|0,p=x,c=e[r+16>>2]|0,A=Te((i*140|0)+140|0)|0,B7(c,x+116|0,x+80|0),_=+u[t>>3],c=w+48|0,u[c>>3]=_,z=+u[t+8>>3],u[w+56>>3]=z,e[n>>2]=~~(_+(_>=0?.5:-.5)),e[n+4>>2]=~~(z+(z>=0?.5:-.5)),s=p+8|0,n=A+(Ke(A,81099,n)|0)|0,E=1,l=0;f=l+3|0,!((f|0)>=(i|0));){for(e[w>>2]=e[c>>2],e[w+4>>2]=e[c+4>>2],e[w+8>>2]=e[c+8>>2],e[w+12>>2]=e[c+12>>2],o=1;;){if((o|0)==4){o=1;break}L=o+l|0,u[w+(o<<4)>>3]=+u[t+(L<<4)>>3],u[w+(o<<4)+8>>3]=+u[t+(L<<4)+8>>3],o=o+1|0}for(;(o|0)!=7;)Ei(p,w,3,+(o|0)*.16666666666666666,0,0),z=+u[p>>3],_=+u[s>>3],e[v>>2]=~~(z+(z>=0?.5:-.5)),e[v+4>>2]=~~(_+(_>=0?.5:-.5)),o=o+1|0,n=n+(Ke(n,81099,v)|0)|0;E=E+6|0,l=f}for(e[m>>2]=A,Y0(r,81106,m),r0(A),o=E+-1|0,n=0;!((n|0)>=(E|0));)e[B>>2]=((n|0)%(o|0)|0|0)!=0&1,Y0(r,81111,B),n=n+1|0;m0(r,153599)|0,g=x}function $h0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=g,g=g+16|0,B7(e[r+16>>2]|0,n+8|0,n),rM(r,t,i,0),g=n}function Kh0(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=81094,e[n+4>>2]=t,Y0(r,81087,n),g=i}function B7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;switch(e[r+144>>2]|0){case 1:{n=10,r=1;break}case 2:{n=10,r=2;break}default:n=0,r=0}e[t>>2]=r,u[i>>3]=n}function rM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(A=g,g=g+16|0,s=A+8|0,l=A,o=0;!((o|0)>=(i|0));)f=+u[t+(o<<4)>>3],c=+u[t+(o<<4)+8>>3],e[l>>2]=~~(f+(f>=0?.5:-.5)),e[l+4>>2]=~~(c+(c>=0?.5:-.5)),Y0(r,81099,l),o=o+1|0;n|0&&(c=+u[t>>3],f=+u[t+8>>3],e[s>>2]=~~(c+(c>=0?.5:-.5)),e[s+4>>2]=~~(f+(f>=0?.5:-.5)),Y0(r,81099,s)),m0(r,153599)|0,g=A}function bh0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+16|0,n=l;e:for(;;){for(t=15828;i=e[t+4>>2]|0,!!i;){if(!(ge(i,r)|0)){o=6;break e}t=t+8|0}if(e[n>>2]=81255,e[n+4>>2]=r,$0(1,81229,n)|0,t=yY(r,45)|0,!t){t=81272;break}C[t>>0]=0}return g=l,t|0}function e80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,l=s,t=e[46732]|0,t||(e[46733]=64,t=Te(64)|0,e[46732]=t),i=0;o=r+1|0,n=C[r>>0]|0,!!(n<<24>>24);){if(r=e[46733]|0,(i|0)>(r+-8|0)&&(t=r<<1,e[46733]=t,t=V2(e[46732]|0,t)|0,e[46732]=t,t=t+i|0),n<<24>>24<=-1){C[t>>0]=92,e[l>>2]=n&255,Ke(t+1|0,81224,l)|0,r=o,t=t+4|0,i=i+4|0;continue}n<<24>>24==92&&(C[t>>0]=92,i=i+1|0,t=t+1|0),C[t>>0]=n,r=o,t=t+1|0,i=i+1|0}return C[t>>0]=0,g=s,e[46732]|0}function r80(){var r=0,t=0;r=g,g=g+16|0,t=r,e[t>>2]=81255,e[t+4>>2]=91269,$0(0,83634,t)|0,g=r}function t80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;n=g,g=g+32|0,o=n+8|0,A=n,t=t+8|0,c=e[t>>2]|0,e[A>>2]=c,e[A+4>>2]=c,Y0(r,84223,A),s=(+u[i>>3]+ +u[i+16>>3])*.5,l=(+u[i+8>>3]+ +u[i+24>>3])*.5,e[o>>2]=e[t>>2],u[o+8>>3]=s,u[o+16>>3]=l,Y0(r,84265,o),g=n}function i80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;n=g,g=g+48|0,o=n,s=+u[i>>3],c=+u[i+16>>3]-s,l=+u[i+24>>3],A=l-+u[i+8>>3],l=+(~~(+u[r+232>>3]-+u[r+216>>3])>>>0)-l,e[o>>2]=e[t+8>>2],u[o+8>>3]=c,u[o+16>>3]=A,u[o+24>>3]=s,u[o+32>>3]=l,Y0(r,84310,o),m0(r,84402)|0,g=n}function n80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0}function o80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;if(x=g,g=g+160|0,B=x+152|0,E=x+136|0,m=x+120|0,c=x+112|0,w=x+104|0,f=x+88|0,A=x+72|0,s=x+64|0,p=x,r||H0(111282,84407,212,84426),t||H0(111312,84407,213,84426),v=t+8|0,e[v>>2]|0||H0(111315,84407,214,84426),e[t+52>>2]|0){if(e[p>>2]=e[i>>2],e[p+4>>2]=e[i+4>>2],e[p+8>>2]=e[i+8>>2],e[p+12>>2]=e[i+12>>2],t=p+32|0,i=i+16|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],o=+u[p>>3],u[p+16>>3]=o,u[p+24>>3]=+u[p+40>>3],u[p+48>>3]=+u[t>>3],l=+u[p+8>>3],u[p+56>>3]=l,n<<24>>24){for(Y0(r,84447,s),t=0;(t|0)!=4;)z=+u[p+(t<<4)+8>>3],u[A>>3]=+u[p+(t<<4)>>3],u[A+8>>3]=z,Y0(r,84450,A),t=t+1|0;u[f>>3]=o,u[f+8>>3]=l,Y0(r,84450,f),f=e[v>>2]|0,e[w>>2]=4,e[w+4>>2]=f,Y0(r,84457,w)}for(Y0(r,84447,c),t=0;(t|0)!=4;)z=+u[p+(t<<4)+8>>3],u[m>>3]=+u[p+(t<<4)>>3],u[m+8>>3]=z,Y0(r,84450,m),t=t+1|0;u[E>>3]=o,u[E+8>>3]=l,Y0(r,84450,E),E=e[v>>2]|0,e[B>>2]=4,e[B+4>>2]=E,Y0(r,84472,B)}g=x}function l80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;w=g,g=g+112|0,f=w+24|0,c=w+16|0,A=w,l=w+28|0,r||H0(111282,84407,153,84488),t||H0(111312,84407,154,84488),e[t+8>>2]|0||H0(111315,84407,155,84488),s=t+52|0,e[s>>2]|0?(n=t+60|0,o=e[n>>2]|0,(o|0)==100?o=18:(l2[o&127](t),e[s>>2]=0,e[n>>2]=0,e[t+56>>2]=0,o=10)):o=10;do if((o|0)==10){if(!((cD(t)|0)<<24>>24))break;n=FY(e[t+20>>2]|0)|0,(e[t+24>>2]&-2|0)==6?(BY(n,l)|0,l=e[l+36>>2]|0,e[t+56>>2]=l,n=QE0(0,l,1,1,n,0)|0,e[s>>2]=n,C[t+16>>0]=1):n=e[s>>2]|0,n|0&&(e[t+60>>2]=100),b9(t),e[s>>2]|0&&(o=18)}while(0);(o|0)==18&&(p=+u[i+8>>3]-+(e[t+36>>2]|0),u[A>>3]=+u[i>>3]-+(e[t+32>>2]|0),u[A+8>>3]=p,Y0(r,84506,A),C[t+16>>0]|0?$N(r,t):(e[c>>2]=e[t+12>>2],Y0(r,84537,c)),Y0(r,84552,f)),g=w}function s80(r){r=r|0,UP(e[r+52>>2]|0,e[r+56>>2]|0)|0}function A80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;if(l=g,g=g+80|0,o=l+48|0,r||H0(111282,84407,121,84562),n=e[r+16>>2]|0,n||H0(99902,84407,123,84562),t||H0(111312,84407,124,84562),i=t+8|0,e[i>>2]|0||H0(111315,84407,125,84562),!(e[n+8>>2]|0))H0(138879,84407,128,84562);else{Y0(r,84582,l),Y0(r,84591,l+8|0),Y0(r,84618,l+16|0),Y0(r,84643,l+24|0),Y0(r,84672,l+32|0),Y0(r,84700,l+40|0),e[o>>2]=e[i>>2],Y0(r,84707,o),Y0(r,84746,l+56|0),Y0(r,111008,l+64|0),g=l;return}}function u80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;if(s=g,g=g+128|0,l=s+80|0,o=s,r||H0(111282,84407,97,84751),t||H0(111312,84407,98,84751),n=e[t+8>>2]|0,!n)H0(111315,84407,99,84751);else{f=+u[i>>3],A=~~(f+(f>=0?.5:-.5)),f=+u[i+8>>3],t=~~(f+(f>=0?.5:-.5)),f=+u[i+16>>3],c=~~(f+(f>=0?.5:-.5)),f=+u[i+24>>3],i=~~(f+(f>=0?.5:-.5)),e[o>>2]=2,e[o+4>>2]=5,e[o+8>>2]=0,e[o+12>>2]=0,e[o+16>>2]=0,e[o+20>>2]=-1,e[o+24>>2]=1,e[o+28>>2]=-1,e[o+32>>2]=0,u[o+40>>3]=0,e[o+48>>2]=0,e[o+52>>2]=0,e[o+56>>2]=0,e[o+60>>2]=0,e[o+64>>2]=0,e[o+68>>2]=5,e[o+72>>2]=0,e[o+76>>2]=n,Y0(r,84770,o),e[l>>2]=A,e[l+4>>2]=t,e[l+8>>2]=A,e[l+12>>2]=i,e[l+16>>2]=c,e[l+20>>2]=i,e[l+24>>2]=c,e[l+28>>2]=t,e[l+32>>2]=A,e[l+36>>2]=t,Y0(r,84828,l),g=s;return}}function a80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+96|0,w=p+56|0,f=p+32|0,c=p,s=+u[i>>3],A=+u[i+16>>3]-s,o=+u[i+24>>3],l=o-+u[i+8>>3],r||H0(111282,84407,53,84860),t||H0(111312,84407,54,84860),n=t+8|0,e[n>>2]|0||H0(111315,84407,55,84860),m0(r,84879)|0,m0(r,e[n>>2]|0)|0,n=r+360|0,o=-o,e[n>>2]|0?(u[c>>3]=l,u[c+8>>3]=A,u[c+16>>3]=s,u[c+24>>3]=o,Y0(r,84899,c),e[f>>2]=e[n>>2],u[f+8>>3]=s,u[f+16>>3]=o,Y0(r,84978,f)):(u[w>>3]=A,u[w+8>>3]=l,u[w+16>>3]=s,u[w+24>>3]=o,Y0(r,85008,w)),m0(r,85087)|0,g=p}function tM(r){r=r|0;var t=0,i=0;for(t=U0(r)|0;t;)c80(t),t=X0(r,t)|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)f80(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function c80(r){r=r|0;var t=0,i=0;$e(r,137447,304,1)|0,Wp(r),Lf(r,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1),r=r+16|0,e[(e[r>>2]|0)+176>>2]=0,t=j0(20)|0,i=e[r>>2]|0,e[i+172>>2]=t,e[i+184>>2]=0,i=j0(20)|0,t=e[r>>2]|0,e[t+180>>2]=i,e[t+200>>2]=0,t=j0(12)|0,i=e[r>>2]|0,e[i+196>>2]=t,e[i+192>>2]=0,i=j0(12)|0,t=e[r>>2]|0,e[t+188>>2]=i,e[t+208>>2]=0,t=j0(12)|0,r=e[r>>2]|0,e[r+204>>2]=t,e[r+216>>2]=1}function f80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;$e(r,137460,176,1)|0,La(r)|0,o=pr(r,e[47174]|0,1,0)|0,n=r+16|0,e[(e[n>>2]|0)+156>>2]=o,o=wt(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0,e[47168]|0,195059)|0,l=wt(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0,e[47168]|0,195059)|0,t=e[n>>2]|0,i=t+154|0,$[i>>1]=1,$[t+168>>1]=1,(o|0)==(l|0)&(C[o>>0]|0)!=0&&($[i>>1]=1e3,l=t+156|0,e[l>>2]=(e[l>>2]|0)*100),Pj(r)|0&&(l=e[n>>2]|0,$[l+154>>1]=0,e[l+156>>2]=0),l=(pr(r,e[47187]|0,0,0)|0)&255,C[(e[n>>2]|0)+152>>0]=l,l=(pr(r,e[47175]|0,1,0)|0)&65535,$[(e[n>>2]|0)+170>>1]=l}function iM(r){r=r|0;var t=0,i=0;for(h80(e[(e[r+16>>2]|0)+192>>2]|0),i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)NA(t),t=Qe(r,t)|0;nM(i),i=X0(r,i)|0}I7(r)}function h80(r){r=r|0;for(var t=0,i=0,n=0,o=0;r;){if(n=r+16|0,o=e[(e[n>>2]|0)+164>>2]|0,w80(r),t=e[n>>2]|0,(C[t+156>>0]|0)!=1){r=o;continue}i=e[t+180>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+172>>2]|0,i&&(r0(i),t=e[n>>2]|0),r0(t),r0(r),r=o}}function nM(r){r=r|0;var t=0,i=0,n=0;n=r+16|0,t=e[n>>2]|0,i=e[t+172>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+180>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+188>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+196>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+204>>2]|0,i&&(r0(i),t=e[n>>2]|0),an(e[t+104>>2]|0),an(e[(e[n>>2]|0)+108>>2]|0),t=e[(e[n>>2]|0)+8>>2]|0,t|0&&l2[e[(e[t+4>>2]|0)+4>>2]&127](r),An(r,137447)|0}function I7(r){r=r|0;var t=0,i=0,n=0;for(t=yt(r)|0;t;)I7(t),t=Ct(t)|0;if($e(r,137483,0,1)|0){n=r+16|0,t=e[n>>2]|0,i=e[t+184>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+268>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+216>>2]|0,i&&(r0(i),t=e[n>>2]|0);do if(e[t+196>>2]|0){for(i=$[t+236>>1]|0;!((i|0)>($[t+238>>1]|0));)r0(e[(e[t+196>>2]|0)+(i<<6)+12>>2]|0),i=i+1|0,t=e[n>>2]|0;if(i=e[t+196>>2]|0,($[t+236>>1]|0)==-1){r0(i+-64|0);break}else{r0(i);break}}while(0);(c2(r)|0)!=(r|0)&&(an(e[(e[n>>2]|0)+12>>2]|0),An(r,137483)|0)}}function w80(r){r=r|0;var t=0,i=0,n=0;for(n=r+16|0,i=e[n>>2]|0,t=e[i+176>>2]|0;r=t+-1|0,!((t|0)<=0);)t=e[(e[i+172>>2]|0)+(r<<2)>>2]|0,bo(t),r0(e[t+16>>2]|0),r0(t),t=r,i=e[n>>2]|0;for(t=e[i+184>>2]|0;r=t+-1|0,!((t|0)<=0);)t=e[(e[(e[n>>2]|0)+180>>2]|0)+(r<<2)>>2]|0,bo(t),r0(e[t+16>>2]|0),r0(t),t=r}function d80(r){r=r|0,v2(r)|0&&p80(r),xa(r)}function p80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=g,g=g+48|0,l=s+32|0,o=s,t=Qd(r,-1,8)|0,i=s7(r,0,o)|0,cf(r,2,8,o)|0,i=(i|0)==0,n=(t|0)<0,n&i)$d(r);else{i?e[o+16>>2]=3:t=n?8:t,e[o+8>>2]=t,e[o+20>>2]=0,n=Tc0(r,l,0)|0,t=e[l>>2]|0;do if((t|0)==1)$d(r),t=0;else{if(e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]|0){$d(r),t=0;break}for(e[o+12>>2]=1,i=0;!((i|0)>=(t|0));)t=e[n+(i<<2)>>2]|0,k80(t,r),$d(t),i=i+1|0,t=e[l>>2]|0;v80(r),Nd(e[l>>2]|0,n,r,o)|0,m80(r),g80(e[l>>2]|0,n,r),t=0}while(0);for(;!((t|0)>=(e[l>>2]|0));)o=n+(t<<2)|0,r0(e[(e[(e[o>>2]|0)+16>>2]|0)+8>>2]|0),I7(e[o>>2]|0),zn(r,e[o>>2]|0)|0,t=t+1|0;r0(n)}g=s}function $d(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(f=g,g=g+48|0,c=f+40|0,i=f,s=pr(r,re(r,0,85102,0)|0,-1,1)|0,rl(r,10),t=yw0(r,i)|0,lM(r,r),tM(r),n=(s|0)==1,o=i+32|0,l=(s|0)==2,s=(s|0)==3,A=i+28|0,i=i+24|0;;){if(mj(r,t),n){t=3;break}if(e[o>>2]|0&&($0(0,85108,c)|0,e[i>>2]=0,t=0),zM(r,(t|0)!=0&1),l){t=7;break}if(KM(r,t),s){t=9;break}if(w=(e[A>>2]|0)+-1|0,e[A>>2]=w,!((w|0)!=0&(e[i>>2]|0)!=0)){t=11;break}}(t|0)==3?x7(r,1):(t|0)==7||(t|0)==9?x7(r,2):(t|0)==11&&($[(e[r+16>>2]|0)+136>>1]&16&&y80(r),Wj(r),E80(r),(jt(he(r,85199)|0)|0)<<24>>24&&Dw0(r)),g=f}function k80(r,t){r=r|0,t=t|0;var i=0,n=0;$e(r,137483,280,1)|0,i=j0(96)|0,r=e[r+16>>2]|0,e[r+8>>2]=i,t=e[t+16>>2]|0,n=e[t+8>>2]|0,u[i>>3]=+u[n>>3],u[i+24>>3]=+u[n+24>>3],e[r+144>>2]=e[t+144>>2],C[r+115>>0]=C[t+115>>0]|0,e[r+116>>2]=e[t+116>>2],e[r+248>>2]=e[t+248>>2],e[r+252>>2]=e[t+252>>2],e[r+244>>2]=e[t+244>>2]}function v80(r){r=r|0;var t=0,i=0,n=0;for(t=j0((v2(r)|0)<<4)|0,i=U0(r)|0;i;)n=e[i+16>>2]|0,e[n+132>>2]=t,u[t>>3]=+u[n+16>>3]*.013888888888888888,u[t+8>>3]=+u[n+24>>3]*.013888888888888888,t=t+16|0,i=X0(r,i)|0}function m80(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=e[(e[(U0(r)|0)+16>>2]|0)+132>>2]|0,t=n,i=U0(r)|0;i;)o=e[i+16>>2]|0,e[o+132>>2]=0,u[o+16>>3]=+u[t>>3]*72,u[o+24>>3]=+u[t+8>>3]*72,t=t+16|0,i=X0(r,i)|0;r0(n)}function g80(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(n=0,o=0;!((n|0)>=(r|0));)A=(e[(e[(e[t+(n<<2)>>2]|0)+16>>2]|0)+180>>2]|0)+o|0,n=n+1|0,o=A;for(A=i+16|0,e[(e[A>>2]|0)+180>>2]=o,l=j0((o<<2)+4|0)|0,e[(e[A>>2]|0)+184>>2]=l,l=0,n=1;!((l|0)>=(r|0));){for(s=(e[t+(l<<2)>>2]|0)+16|0,o=1;i=e[s>>2]|0,!((o|0)>(e[i+180>>2]|0));)i=yD(e[(e[i+184>>2]|0)+(o<<2)>>2]|0)|0,e[(e[(e[A>>2]|0)+184>>2]|0)+(n<<2)>>2]=i,oM(e[(e[(e[s>>2]|0)+184>>2]|0)+(o<<2)>>2]|0,i),o=o+1|0,n=n+1|0;l=l+1|0}}function oM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;$e(t,137483,280,1)|0,o=t+16|0,t=(e[o>>2]|0)+16|0,n=r+16|0,r=(e[n>>2]|0)+16|0,e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2],e[t+16>>2]=e[r+16>>2],e[t+20>>2]=e[r+20>>2],e[t+24>>2]=e[r+24>>2],e[t+28>>2]=e[r+28>>2],r=e[n>>2]|0,t=e[o>>2]|0,C[t+275>>0]=C[r+275>>0]|0,t=t+48|0,r=r+48|0,i=t+64|0;do e[t>>2]=e[r>>2],t=t+4|0,r=r+4|0;while((t|0)<(i|0));for(r=e[(e[n>>2]|0)+180>>2]|0,e[(e[o>>2]|0)+180>>2]=r,t=j0((r<<2)+4|0)|0,e[(e[o>>2]|0)+184>>2]=t,t=1;i=e[n>>2]|0,!((t|0)>(r|0));)i=yD(e[(e[i+184>>2]|0)+(t<<2)>>2]|0)|0,e[(e[(e[o>>2]|0)+184>>2]|0)+(t<<2)>>2]=i,oM(e[(e[(e[n>>2]|0)+184>>2]|0)+(t<<2)>>2]|0,i),t=t+1|0;n=i+12|0,e[(e[o>>2]|0)+12>>2]=e[n>>2],e[n>>2]=0}function lM(r,t){for(r=r|0,t=t|0,(c2(r)|0)!=(r|0)&&$e(r,137483,280,1)|0,(r|0)==(t|0)&&(e[(e[(c2(r)|0)+16>>2]|0)+188>>2]=r),r=yt(r)|0;r;)lM(r,t),r=Ct(r)|0}function x7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+1040|0,f=w+8|0,c=w,n=w+16|0,o=re(r,1,87171,195059)|0,l=re(r,1,85242,195059)|0,s=(t|0)>0,i=(t|0)==1,t=U0(r)|0;t;)s&&(A=t+16|0,e[c>>2]=e[(e[A>>2]|0)+232>>2],Ke(n,137395,c)|0,Er(t,o,n)|0,!i)&&(e[f>>2]=e[(e[A>>2]|0)+236>>2],Ke(n,137395,f)|0,Er(t,l,n)|0),t=X0(r,t)|0;g=w}function y80(r){r=r|0;var t=0,i=0,n=0;if(i=ji(r,86675,0)|0,i|0){for(t=U0(i)|0;t;)n=X0(i,t)|0,bd(r,t),C80(r,t),nM(t),Ah(r,t)|0,t=n;RW(r,i)|0}}function C80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(c=e[(e[t+16>>2]|0)+232>>2]|0,A=r+16|0,r=e[(e[A>>2]|0)+196>>2]|0,i=e[r+(c<<6)>>2]|0,s=r+(c<<6)+4|0,l=0,n=0;;){if((n|0)>=(i|0)){o=7;break}if(o=e[(e[s>>2]|0)+(n<<2)>>2]|0,n=n+1|0,(o|0)==(t|0)){o=4;break}else l=o}if((o|0)==4){for(;!((n|0)>=(i|0));)o=e[r+(c<<6)+4>>2]|0,e[o+(n+-1<<2)>>2]=e[o+(n<<2)>>2],o=e[(e[A>>2]|0)+196>>2]|0,n=n+1|0,i=e[o+(c<<6)>>2]|0,r=o,o=4;e[r+(c<<6)>>2]=i+-1}else(o|0)==7&&(l|0)!=(t|0)&&H0(85208,85215,248,85225)}function cr(r){return r=r|0,e[(e[(c2(r)|0)+16>>2]|0)+188>>2]|0}function vf(r,t){r=r|0,t=t|0;var i=0;return i=C[r+28>>0]|0,C[t+28>>0]|0?i<<24>>24?(i=~~(+u[r>>3]-+u[t>>3]),i||(i=~~(+u[r+8>>3]-+u[t+8>>3]))):i=-1:i=i<<24>>24!=0&1,i|0}function E80(r){r=r|0,sM(r,1)}function sM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0,g2=0,i2=0;g2=g,g=g+656|0,B0=g2+592|0,k0=g2+552|0,i=g2+544|0,F0=g2+96|0,b0=g2,pe=g2+632|0,V0=r+16|0,me=$[(e[V0>>2]|0)+136>>1]&14,D0=me&65535,J0=F0+16|0,e[J0>>2]=g2+368,O0=b0+16|0,e[O0>>2]=g2+192;do if(me<<16>>16){Z0=me<<16>>16==4;do if(Z0)AM(r),C[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1&&$0(0,85248,i)|0,W=9;else if(me<<16>>16==8)if(AM(r),C[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1){B80(r),Ry(r,1),c=0,A=0,s=0;break}else{Ry(r,0),c=0,A=0,s=0;break}else W=9;while(0);if((W|0)==9){if(U7(r),Vp0()|0)break;ze=j0(96)|0,Y=e[(e[V0>>2]|0)+248>>2]|0,e[pe+8>>2]=(Y|0)/4|0,e[pe+12>>2]=Y,s=j0(512)|0,X=pe+4|0,e[X>>2]=0,e[pe>>2]=0,l=e[V0>>2]|0,T=$[l+236>>1]|0,D=0,H=0,a0=s,P=s,A=s,c=s,f=s,F=0,q=0;e:for(;!((T|0)>($[l+238>>1]|0));){for(w=e[l+196>>2]|0,o=e[w+(T<<6)>>2]|0,U=o+D|0,n=e[w+(T<<6)+4>>2]|0,i=e[n>>2]|0,i?(i2=+(F|0),i=e[i+16>>2]|0,L=+u[i+16>>3]-+u[i+88>>3],i=~~(L>i2?i2:L)):i=F,o|0&&(t0=e[n+(o+-1<<2)>>2]|0,(t0|0)!=0)?(L=+(q|0),n=e[t0+16>>2]|0,i2=+u[n+96>>3]+ +u[n+16>>3],n=~~(i2=(o|0));){if(s=e[(e[i+(T<<6)+4>>2]|0)+(_<<2)>>2]|0,z=s+16|0,i=e[z>>2]|0,o=e[i+112>>2]|0,o){if(o=o+16|0,l=e[(e[o>>2]|0)+96>>2]|0,!l){W=21;break e}m=l+56|0,i=i+16|0,e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],C[(e[(e[o>>2]|0)+96>>2]|0)+81>>0]=1,i=e[z>>2]|0}C[i+156>>0]|0&&!((nr[e[4325]&63](s)|0)<<24>>24)?(p=E,i=v,l=B,s=x,o=f):(m=0,p=E,l=B,s=x,W=25);r:do if((W|0)==25){for(;W=0,w=e[z>>2]|0,o=e[(e[w+180>>2]|0)+(m<<2)>>2]|0,!!o;){switch(C[(e[o+16>>2]|0)+112>>0]|0){case 6:case 4:{i=p,o=v;break}default:S7(o,1,16,64),i=p+1|0,e[v+(p<<2)>>2]=o,i&127?o=v:(n=Ve(n,(p<<2)+516|0)|0,o=n,l=n,s=n,c=n,f=n)}m=m+1|0,p=i,v=o,W=25}i=e[w+188>>2]|0;t:do if(!i)o=f;else for(m=0,o=f;;){if(i=e[i+(m<<2)>>2]|0,!i)break t;S7(i,2,0,128),f=p+1|0,e[v+(p<<2)>>2]=i,f&127?i=v:(n=Ve(o,(p<<2)+516|0)|0,i=n,l=n,s=n,c=n,o=n),w=e[z>>2]|0,m=m+1|0,p=f,v=i,i=e[w+188>>2]|0}while(0);if(i=e[w+204>>2]|0,!i)i=v;else for(C[w+156>>0]|0?(m=0,w=v):(x=w+96|0,i2=+u[x>>3],m=w+240|0,u[x>>3]=+u[m>>3],u[m>>3]=i2,m=0,w=v);;){if(i=e[i+(m<<2)>>2]|0,!i){i=w;break r}S7(i,0,0,128),f=p+1|0,e[w+(p<<2)>>2]=i,f&127?i=w:(n=Ve(c,(p<<2)+516|0)|0,i=n,l=n,s=n,c=n,o=n),m=m+1|0,p=f,w=i,i=e[(e[z>>2]|0)+204>>2]|0}}while(0);B=e[V0>>2]|0,z=e[B+196>>2]|0,_=_+1|0,E=p,v=i,p=B,B=l,x=s,f=o,o=e[z+(T<<6)>>2]|0,i=z}T=T+1|0,D=U,H=E,a0=v,P=B,l=p,A=x,s=n,F=N,q=Z}(W|0)==21&&H0(85316,85329,313,85342),e[pe>>2]=F,e[X>>2]=q,ei(P,H,4,58),e[ze+84>>2]=j0((D<<5)+11520|0)|0,e[pe+16>>2]=j0(T<<5)|0;e:do if(me<<16>>16==2)for(i=(e[V0>>2]|0)+192|0;;){if(n=e[i>>2]|0,!n)break e;o=n+16|0,i=e[o>>2]|0,(C[i+156>>0]|0)==1&&e[i+104>>2]|0&&(_7(n),i=e[o>>2]|0),i=i+164|0}while(0);Z=b0+48|0,W=b0+-48|0,N=F0+48|0,T=F0+-48|0,L=+(Y|0),_=0;e:for(;!((_|0)>=(H|0));){if(x=a0+(_<<2)|0,v=e[x>>2]|0,m=mf(v)|0,E=v+16|0,n=e[E>>2]|0,C[n+44>>0]|0?i=v:(n=C[n+84>>0]|0?v:m,i=n,n=e[n+16>>2]|0),o=i+16|0,e[n+164>>2]&32){n=e[J0>>2]|0,u2(n|0,e[o>>2]|0,176)|0,c=F0,f=i,w=c+48|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));e[J0>>2]=n,f=e[i>>2]&3,c=e[F0>>2]&3,e[((c|0)==3?F0:N)+40>>2]=e[((f|0)==2?i:i+-48|0)+40>>2],e[((c|0)==2?F0:T)+40>>2]=e[((f|0)==3?i:i+48|0)+40>>2],c=n+16|0,f=(e[o>>2]|0)+56|0,w=c+40|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));c=n+56|0,f=(e[o>>2]|0)+16|0,w=c+40|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));C[n+112>>0]=1,e[n+116>>2]=i,i=F0}for(p=i+16|0,z=1,i=_;B=i+1|0,!((B|0)>=(H|0)||(l=a0+(B<<2)|0,i=e[l>>2]|0,(m|0)!=(mf(i)|0)));){if(!(C[(e[E>>2]|0)+113>>0]|0)){if(s=i+16|0,n=e[s>>2]|0,C[n+44>>0]|0||(n=C[n+84>>0]|0?i:m,i=n,n=e[n+16>>2]|0),o=i+16|0,e[n+164>>2]&32){n=e[O0>>2]|0,u2(n|0,e[o>>2]|0,176)|0,c=b0,f=i,w=c+48|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));e[O0>>2]=n,f=e[i>>2]&3,c=e[b0>>2]&3,e[((c|0)==3?b0:Z)+40>>2]=e[((f|0)==2?i:i+-48|0)+40>>2],e[((c|0)==2?b0:W)+40>>2]=e[((f|0)==3?i:i+48|0)+40>>2],c=n+16|0,f=(e[o>>2]|0)+56|0,w=c+40|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));c=n+56|0,f=(e[o>>2]|0)+16|0,w=c+40|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));C[n+112>>0]=1,e[n+116>>2]=i}o=e[p>>2]|0,i=n+16|0,c=k0,f=o+16|0,w=c+40|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));c=B0,f=i,w=c+40|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));if(vf(k0,B0)|0)break;i=n+56|0,c=k0,f=o+56|0,w=c+40|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));c=B0,f=i,w=c+40|0;do e[c>>2]=e[f>>2],c=c+4|0,f=f+4|0;while((c|0)<(w|0));if(vf(k0,B0)|0||(Y=e[E>>2]|0,(e[Y+164>>2]&15|0)==2&&(e[Y+96>>2]|0)!=(e[(e[s>>2]|0)+96>>2]|0))||e[(e[(e[l>>2]|0)+16>>2]|0)+164>>2]&64|0)break}z=z+1|0,i=B}if(Z0){for((z|0)==1?i=B0:i=j0(z<<2)|0,e[i>>2]=mf(e[x>>2]|0)|0,n=1;!((n|0)>=(z|0));)e[i+(n<<2)>>2]=e[x+(n<<2)>>2],n=n+1|0;iQ(r,i,z,D0,17296),(z|0)>1&&r0(i),_=B;continue}if(i=e[v>>2]&3,Y=e[((i|0)==3?v:v+48|0)+40>>2]|0,i=e[((i|0)==2?v:v+-48|0)+40>>2]|0,n=e[Y+16>>2]|0,o=e[n+232>>2]|0,(Y|0)!=(i|0))if((o|0)==(e[(e[i+16>>2]|0)+232>>2]|0)){x80(r,pe,ze,a0,_,z,D0),_=B;continue}else{S80(r,pe,ze,a0,_,z,D0),_=B;continue}i=e[V0>>2]|0;do if((o|0)==($[i+238>>1]|0))if((o|0)>0){i=~~(+u[(e[(e[e[(e[i+196>>2]|0)+(o+-1<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-+u[n+24>>3]);break}else{i=~~+u[n+80>>3];break}else if((o|0)==($[i+236>>1]|0)){i=~~(+u[n+24>>3]-+u[(e[(e[e[(e[i+196>>2]|0)+(o+1<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]);break}else{i=e[i+196>>2]|0,i2=+u[n+24>>3],Y=~~(+u[(e[(e[e[i+(o+-1<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-i2),i=~~(i2-+u[(e[(e[e[i+(o+1<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]),i=(Y|0)<(i|0)?Y:i;break}while(0);for(EC(ze,a0,_,z,L,+((i|0)/2|0|0),17296),i=0;;){if((i|0)>=(z|0)){_=B;continue e}n=e[(e[(e[a0+(i+_<<2)>>2]|0)+16>>2]|0)+96>>2]|0,n|0&&el(r,n),i=i+1|0}}for(i=(e[V0>>2]|0)+192|0;n=e[i>>2]|0,!!n;)o=n+16|0,i=e[o>>2]|0,(C[i+156>>0]|0)==1&&e[i+104>>2]|0&&(_7(n),el(r,e[(e[o>>2]|0)+104>>2]|0),i=e[o>>2]|0),i=i+164|0;t?(_80(r),c=ze,s=ze):(c=ze,s=ze)}e:do if((e[47197]|0)!=0|(e[47198]|0)!=0&&(e[47203]|0)!=0|(e[47202]|0)!=0)for(l=U0(r)|0;;){if(!l)break e;r:do if(e[47197]|0)for(i=Xo(r,l)|0;;){if(!i)break r;n=i+-48|0,o=(e[i>>2]&3|0)==2?i:n,e[(e[o+16>>2]|0)+100>>2]|0&&(_p(o,1)|0,el(r,e[(e[((e[i>>2]&3|0)==2?i:n)+16>>2]|0)+100>>2]|0)),i=ms(r,i)|0}while(0);r:do if(e[47198]|0)for(i=Me(r,l)|0;;){if(!i)break r;n=i+16|0,e[(e[n>>2]|0)+104>>2]|0&&_p(i,0)|0&&el(r,e[(e[n>>2]|0)+104>>2]|0),i=Qe(r,i)|0}while(0);l=X0(r,l)|0}while(0);switch(me&15){case 4:case 8:break;default:r0(A),r0(e[c+84>>2]|0),r0(s),r0(e[pe+16>>2]|0),Op0()}e[47138]=1,e[47139]=1}while(0);g=g2}function AM(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=U0(r)|0;t;)i=e[t+16>>2]|0,e[i+204>>2]|0&&(o=i+96|0,n=+u[o>>3],i=i+240|0,u[o>>3]=+u[i>>3],u[i>>3]=n),t=X0(r,t)|0}function B80(r){r=r|0;var t=0,i=0,n=0,o=0;t=(e[r+16>>2]|0)+192|0;e:for(;;){if(n=e[t>>2]|0,!n){t=12;break}o=n+16|0,t=e[o>>2]|0;do if((C[t+156>>0]|0)==1){if(i=e[t+112>>2]|0,i){if(i=e[(e[i+16>>2]|0)+96>>2]|0,!i){t=6;break e}n=i+56|0,t=t+16|0,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],C[i+81>>0]=1,t=i}else{if(i=e[t+104>>2]|0,!i)break;_7(n),t=i}el(r,t),t=e[o>>2]|0}while(0);t=t+164|0}if((t|0)==6)H0(85516,85329,234,85535);else if((t|0)==12)return}function S7(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;do if(!t){if(o=e[r>>2]&3,t=e[((o|0)==3?r:r+48|0)+40>>2]|0,o=e[((o|0)==2?r:r+-48|0)+40>>2]|0,(t|0)!=(o|0)){t=(e[(e[t+16>>2]|0)+232>>2]|0)==(e[(e[o+16>>2]|0)+232>>2]|0)?2:1;break}t=e[r+16>>2]|0,C[t+44>>0]|0?t=4:t=C[t+84>>0]|0?4:8}while(0);e:do if(!i)switch(t|0){case 1:{i=e[r>>2]&3,i=(e[(e[(e[((i|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)<(e[(e[(e[((i|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)?16:32;break e}case 2:{i=e[r>>2]&3,i=(e[(e[(e[((i|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)<(e[(e[(e[((i|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)?16:32;break e}default:{i=16;break e}}while(0);e[(e[r+16>>2]|0)+164>>2]=t|n|i}function I80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0;P=g,g=g+624|0,W=P+584|0,Z=P+544|0,E=P+368|0,i=P+192|0,B=P+96|0,z=P,x=B+16|0,e[x>>2]=E,_=z+16|0,e[_>>2]=i,D=e[r>>2]|0,T=e[t>>2]|0,L=D+16|0,v=e[L>>2]|0,t=e[v+164>>2]|0,n=t&15,N=T+16|0,r=e[N>>2]|0,o=e[r+164>>2]&15;do if((o|0)==(n|0)){if(p=mf(D)|0,m=mf(T)|0,f=e[p>>2]|0,o=f&3,n=e[(e[((o|0)==3?p:p+48|0)+40>>2]|0)+16>>2]|0,o=e[(e[((o|0)==2?p:p+-48|0)+40>>2]|0)+16>>2]|0,l=(e[n+232>>2]|0)-(e[o+232>>2]|0)|0,w=e[m>>2]|0,c=w&3,A=e[(e[((c|0)==3?m:m+48|0)+40>>2]|0)+16>>2]|0,c=e[(e[((c|0)==2?m:m+-48|0)+40>>2]|0)+16>>2]|0,s=(e[A+232>>2]|0)-(e[c+232>>2]|0)|0,l=(l|0)>-1?l:0-l|0,s=(s|0)>-1?s:0-s|0,(l|0)!=(s|0)){r=l-s|0;break}if(o=~~(+u[n+16>>3]-+u[o+16>>3]),o=(o|0)>-1?o:0-o|0,n=~~(+u[A+16>>3]-+u[c+16>>3]),n=(n|0)>-1?n:0-n|0,(o|0)!=(n|0)){r=o-n|0;break}if(o=f>>>4,n=w>>>4,(o|0)!=(n|0)){r=o-n|0;break}if(C[v+44>>0]|0?o=D:(t=C[v+84>>0]|0?D:p,o=t,t=e[(e[t+16>>2]|0)+164>>2]|0),n=o+16|0,t&32){u2(E|0,e[n>>2]|0,176)|0,l=B,s=o,A=l+48|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));e[x>>2]=E,s=e[o>>2]&3,l=e[B>>2]&3,e[((l|0)==3?B:B+48|0)+40>>2]=e[((s|0)==2?o:o+-48|0)+40>>2],e[((l|0)==2?B:B+-48|0)+40>>2]=e[((s|0)==3?o:o+48|0)+40>>2],l=E+16|0,s=(e[n>>2]|0)+56|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=E+56|0,s=(e[n>>2]|0)+16|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));C[E+112>>0]=1,e[E+116>>2]=o,o=B,r=e[N>>2]|0}if(C[r+44>>0]|0?n=T:(r=C[r+84>>0]|0?T:m,n=r,r=e[r+16>>2]|0),t=n+16|0,!(e[r+164>>2]&32))i=r;else{u2(i|0,e[t>>2]|0,176)|0,l=z,s=n,A=l+48|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));e[_>>2]=i,s=e[n>>2]&3,l=e[z>>2]&3,e[((l|0)==3?z:z+48|0)+40>>2]=e[((s|0)==2?n:n+-48|0)+40>>2],e[((l|0)==2?z:z+-48|0)+40>>2]=e[((s|0)==3?n:n+48|0)+40>>2],l=i+16|0,s=(e[t>>2]|0)+56|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=i+56|0,s=(e[t>>2]|0)+16|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));C[i+112>>0]=1,e[i+116>>2]=n}t=e[o+16>>2]|0,r=i+16|0,l=Z,s=t+16|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=W,s=r,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));if(r=vf(Z,W)|0,!r){r=i+56|0,l=Z,s=t+56|0,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));l=W,s=r,A=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));if(r=vf(Z,W)|0,!r)if(t=e[(e[L>>2]|0)+164>>2]&192,r=e[(e[N>>2]|0)+164>>2]&192,(t|0)==(r|0)){r=((e[D>>2]|0)>>>4)-((e[T>>2]|0)>>>4)|0;break}else{r=t-r|0;break}}}else r=o-n|0;while(0);return g=P,r|0}function _7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(n=r+16|0,t=e[n>>2]|0,e[t+176>>2]|0){for(t=e[t+180>>2]|0;t=(e[t>>2]|0)+16|0,i=e[t>>2]|0,C[i+112>>0]|0;)t=i+116|0;i=e[i+96>>2]|0,o=+u[i+24>>3],l=+u[i+32>>3],i=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1|0)!=0,r=e[n>>2]|0,n=e[(e[t>>2]|0)+96>>2]|0,u[n+56>>3]=(i?l:o)*.5+ +u[r+16>>3],u[n+64>>3]=+u[r+24>>3],C[n+81>>0]=1}}function mf(r){r=r|0;for(var t=0,i=0;t=e[r+16>>2]|0,i=e[t+172>>2]|0,i;)r=i;for(;t=e[t+116>>2]|0,!!t;)r=t,t=e[t+16>>2]|0;return r|0}function x80(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0;if(T=g,g=g+1712|0,L=T+1664|0,E=T+1488|0,B=T+1392|0,N=T+1696|0,Z=T+696|0,W=T,p=B+16|0,e[p>>2]=E,v=e[n+(o<<2)>>2]|0,m=v+16|0,A=e[m>>2]|0,x=C[A+113>>0]|0,e[A+164>>2]&32){u2(E|0,A|0,176)|0,A=B,f=v,w=A+48|0;do e[A>>2]=e[f>>2],A=A+4|0,f=f+4|0;while((A|0)<(w|0));e[p>>2]=E,A=e[B>>2]&3,e[((A|0)==3?B:B+48|0)+40>>2]=e[((e[v>>2]&3|0)==2?v:v+-48|0)+40>>2],e[((A|0)==2?B:B+-48|0)+40>>2]=e[((e[v>>2]&3|0)==3?v:v+48|0)+40>>2],A=E+16|0,f=(e[m>>2]|0)+56|0,w=A+40|0;do e[A>>2]=e[f>>2],A=A+4|0,f=f+4|0;while((A|0)<(w|0));A=E+56|0,f=(e[m>>2]|0)+16|0,w=A+40|0;do e[A>>2]=e[f>>2],A=A+4|0,f=f+4|0;while((A|0)<(w|0));C[E+112>>0]=1,e[E+116>>2]=v,v=B}for(A=1;;){if((A|0)>=(l|0)){_=6;break}if(!(C[(e[(e[n+(A+o<<2)>>2]|0)+16>>2]|0)+113>>0]|0))A=A+1|0;else{_=7;break}}e:do if((_|0)==6)if(x<<24>>24)_=7;else{if(A=e[v+16>>2]|0,e[A+96>>2]|0){N80(r,t,i,v,s);break}if((s|0)==2){N=e[v>>2]&3,mM(e[((N|0)==3?v:v+48|0)+40>>2]|0,e[((N|0)==2?v:v+-48|0)+40>>2]|0,n,o,l,2);break}if(B=C[A+49>>0]|0,x=C[A+89>>0]|0,!(B<<24>>24==1&x<<24>>24!=4)&&!(B<<24>>24!=4&x<<24>>24==1))for(p=e[v>>2]&3,w=e[((p|0)==3?v:v+48|0)+40>>2]|0,p=e[((p|0)==2?v:v+-48|0)+40>>2]|0,A=e[w+16>>2]|0,f=e[A+232>>2]|0,(f|0)>0?(x=e[(e[r+16>>2]|0)+196>>2]|0,B=f+~(C[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1)|0,c=+u[(e[(e[e[x+(B<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-+u[x+(B<<6)+16>>3]-+u[A+24>>3]-+u[x+(f<<6)+24>>3]):c=+(e[(e[r+16>>2]|0)+252>>2]|0),D=+(l+1|0),z=+(e[t+12>>2]|0)/D,c=c/D,Kd(r,t,i,w,v,Z,1),Kd(r,t,i,p,v,W,0),E=Z+52|0,B=W+52|0,p=(s|0)==10,v=i+80|0,A=0;;){if((A|0)>=(l|0))break e;for(m=e[n+(A+o<<2)>>2]|0,w=e[E>>2]|0,f=w+-1|0,F=+u[Z+56+(f<<5)>>3],U=+u[Z+56+(f<<5)+16>>3],X=+u[Z+56+(f<<5)+24>>3],u[19215]=F,u[19216]=X,A=A+1|0,D=+(A|0),P=z*D,u[19217]=U+P,D=X+c*D,u[19218]=D,u[19219]=F,u[19220]=D,f=(e[B>>2]|0)+-1|0,F=+u[W+56+(f<<5)+16>>3],u[19221]=F,u[19222]=D+c,X=+u[W+56+(f<<5)>>3],U=+u[W+56+(f<<5)+24>>3],u[19225]=F,u[19224]=U,u[19223]=X-P,u[19226]=D,f=0;;){if((f|0)>=(w|0)){f=0;break}w=Z+56+(f<<5)|0,e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],e[L+16>>2]=e[w+16>>2],e[L+20>>2]=e[w+20>>2],e[L+24>>2]=e[w+24>>2],e[L+28>>2]=e[w+28>>2],mo(i,L),f=f+1|0,w=e[E>>2]|0}for(;(f|0)!=3;)s=153720+(f<<5)|0,e[L>>2]=e[s>>2],e[L+4>>2]=e[s+4>>2],e[L+8>>2]=e[s+8>>2],e[L+12>>2]=e[s+12>>2],e[L+16>>2]=e[s+16>>2],e[L+20>>2]=e[s+20>>2],e[L+24>>2]=e[s+24>>2],e[L+28>>2]=e[s+28>>2],mo(i,L),f=f+1|0;for(w=e[B>>2]|0;f=w+-1|0,!((w|0)<=0);)w=W+56+(f<<5)|0,e[L>>2]=e[w>>2],e[L+4>>2]=e[w+4>>2],e[L+8>>2]=e[w+8>>2],e[L+12>>2]=e[w+12>>2],e[L+16>>2]=e[w+16>>2],e[L+20>>2]=e[w+20>>2],e[L+24>>2]=e[w+24>>2],e[L+28>>2]=e[w+28>>2],mo(i,L),w=f;if(p?f=Mh(i,N)|0:f=jh(i,N)|0,w=e[N>>2]|0,!w)break e;yi(m,e[((e[m>>2]&3|0)==2?m:m+-48|0)+40>>2]|0,f,w,17296),e[v>>2]=0}Q80(r,t,i,n,o,l,v,(s|0)==10&1)}while(0);(_|0)==7&&j80(r,n,o,l,v,s),g=T}function S80(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0,dr=0,D2=0,ue=0;if(D2=g,g=g+2576|0,Z0=D2+2528|0,i2=D2+2568|0,A=D2+2352|0,f=D2+2176|0,B=D2+1904|0,pe=D2+1808|0,T2=D2+1712|0,F0=D2+1016|0,b0=D2+320|0,V0=D2+256|0,me=D2+2564|0,g2=D2+2560|0,W=D2+288|0,N=D2+224|0,a0=D2+192|0,k0=D2+160|0,B0=D2+128|0,D0=D2+96|0,J0=D2+64|0,O0=D2+32|0,ze=D2,E=B+16|0,e[E>>2]=A,w=pe+16|0,e[w>>2]=f,dr=T2+16|0,e[dr>>2]=D2+2e3,e[46734]|0||(e[46734]=_0(32e3)|0,e[46735]=_0(32e3)|0,e[46736]=2e3,e[46737]=2e3),x=e[n+(o<<2)>>2]|0,H=e[x>>2]&3,p=x+48|0,v=x+-48|0,H=(e[(e[(e[((H|0)==3?x:p)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((H|0)==2?x:v)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0,m=x+16|0,(((H|0)>-1?H:0-H|0)|0)<=1)if(A=e[m>>2]|0,!(e[A+164>>2]&32))H=x,f=0;else{f=e[E>>2]|0,u2(f|0,A|0,176)|0,_=B,L=x,Z=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));e[E>>2]=f,_=e[B>>2]&3,e[((_|0)==3?B:B+48|0)+40>>2]=e[((e[x>>2]&3|0)==2?x:v)+40>>2],e[((_|0)==2?B:B+-48|0)+40>>2]=e[((e[x>>2]&3|0)==3?x:p)+40>>2],_=f+16|0,L=(e[m>>2]|0)+56|0,Z=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));A=e[E>>2]|0,_=A+56|0,L=(e[m>>2]|0)+16|0,Z=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));C[A+112>>0]=1,f=0,Y=12}else{u2(A|0,e[m>>2]|0,176)|0,_=B,L=x,Z=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));_=B+48|0,L=p,Z=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));if(e[E>>2]=A,A=e[m>>2]|0,e[A+164>>2]&32){f=e[w>>2]|0,u2(f|0,A|0,176)|0,_=pe,L=x,Z=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));e[w>>2]=f,_=e[pe>>2]&3,e[((_|0)==3?pe:pe+48|0)+40>>2]=e[((e[x>>2]&3|0)==2?x:v)+40>>2],e[((_|0)==2?pe:pe+-48|0)+40>>2]=e[((e[x>>2]&3|0)==3?x:p)+40>>2],_=f+16|0,L=(e[m>>2]|0)+56|0,Z=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));A=e[w>>2]|0,_=A+56|0,L=(e[m>>2]|0)+16|0,Z=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));C[A+112>>0]=1,e[A+116>>2]=x,w=e[B>>2]|0,e[((w&3|0)==3?B:B+48|0)+40>>2]=e[((e[x>>2]&3|0)==2?x:v)+40>>2],_=(e[E>>2]|0)+16|0,L=(e[m>>2]|0)+56|0,Z=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0))}else{u2(f|0,A|0,176)|0,_=pe,L=x,Z=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));e[w>>2]=f,w=e[B>>2]|0,e[((w&3|0)==3?B:B+48|0)+40>>2]=e[((e[x>>2]&3|0)==3?x:p)+40>>2],_=pe+48|0,L=p,Z=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0))}for(A=mf(x)|0;f=e[(e[A+16>>2]|0)+172>>2]|0,f;)A=f;e[((w&3|0)==2?B:B+-48|0)+40>>2]=e[((e[A>>2]&3|0)==2?A:A+-48|0)+40>>2],A=e[E>>2]|0,C[A+84>>0]=0,C[A+112>>0]=1,f=A+56|0,e[f>>2]=0,e[f+4>>2]=0,e[f+8>>2]=0,e[f+12>>2]=0,f=1,Y=12}(Y|0)==12&&(e[A+116>>2]=x,H=B),q=(s|0)==2,q&&(z=R80(r,H,e[46734]|0,i2)|0,e[g2>>2]=z,(z|0)!=0)?Y=63:Y=15;e:do if((Y|0)==15){F=(s|0)==10,e[g2>>2]=0,w=e[H>>2]&3,A=e[((w|0)==3?H:H+48|0)+40>>2]|0,w=e[((w|0)==2?H:H+-48|0)+40>>2]|0,e[i2>>2]=w,va(W,r,t,A,0,H),e[F0>>2]=e[W>>2],e[F0+4>>2]=e[W+4>>2],e[F0+8>>2]=e[W+8>>2],e[F0+12>>2]=e[W+12>>2],e[F0+16>>2]=e[W+16>>2],e[F0+20>>2]=e[W+20>>2],e[F0+24>>2]=e[W+24>>2],e[F0+28>>2]=e[W+28>>2],e[V0>>2]=e[W>>2],e[V0+4>>2]=e[W+4>>2],e[V0+8>>2]=e[W+8>>2],e[V0+12>>2]=e[W+12>>2],e[V0+16>>2]=e[W+16>>2],e[V0+20>>2]=e[W+20>>2],Ip(i,H,1,F0,Eh(A)|0),T=F0+52|0,t0=(e[T>>2]|0)+-1|0,P=V0+24|0,u[P>>3]=+u[F0+56+(t0<<5)+24>>3],X=V0+8|0,u[X>>3]=+u[F0+56+(t0<<5)+8>>3],t0=e[A+16>>2]|0,U=r+16|0,c=+u[t0+24>>3]-+u[(e[(e[U>>2]|0)+196>>2]|0)+(e[t0+232>>2]<<6)+16>>3],e[Z0>>2]=e[V0>>2],e[Z0+4>>2]=e[V0+4>>2],e[Z0+8>>2]=e[V0+8>>2],e[Z0+12>>2]=e[V0+12>>2],e[Z0+16>>2]=e[V0+16>>2],e[Z0+20>>2]=e[V0+20>>2],e[Z0+24>>2]=e[V0+24>>2],e[Z0+28>>2]=e[V0+28>>2],gf(N,Z0,1,c),e[V0>>2]=e[N>>2],e[V0+4>>2]=e[N+4>>2],e[V0+8>>2]=e[N+8>>2],e[V0+12>>2]=e[N+12>>2],e[V0+16>>2]=e[N+16>>2],e[V0+20>>2]=e[N+20>>2],e[V0+24>>2]=e[N+24>>2],e[V0+28>>2]=e[N+28>>2],N=V0+16|0,+u[V0>>3]<+u[N>>3]&&+u[X>>3]<+u[P>>3]&&(t0=e[T>>2]|0,e[T>>2]=t0+1,t0=F0+56+(t0<<5)|0,e[t0>>2]=e[V0>>2],e[t0+4>>2]=e[V0+4>>2],e[t0+8>>2]=e[V0+8>>2],e[t0+12>>2]=e[V0+12>>2],e[t0+16>>2]=e[V0+16>>2],e[t0+20>>2]=e[V0+20>>2],e[t0+24>>2]=e[V0+24>>2],e[t0+28>>2]=e[V0+28>>2]),_=r+60|0,D=b0+52|0,L=i+56|0,Z=i+69|0,s=i+16|0,W=i+29|0,t0=H,v=0,m=-1;r:for(;;){for(E=A,B=0,A=0,x=t0;;){if(p=w,z=w,(C[(e[p+16>>2]|0)+156>>0]|0)!=1||(nr[e[4325]&63](p)|0)<<24>>24)break r;if(w=B|1,ue=153720+(B<<5)|0,uM(a0,t,r,e[(e[E+16>>2]|0)+232>>2]|0),e[ue>>2]=e[a0>>2],e[ue+4>>2]=e[a0+4>>2],e[ue+8>>2]=e[a0+8>>2],e[ue+12>>2]=e[a0+12>>2],e[ue+16>>2]=e[a0+16>>2],e[ue+20>>2]=e[a0+20>>2],e[ue+24>>2]=e[a0+24>>2],e[ue+28>>2]=e[a0+28>>2],A||(v=G80(p)|0,A=(v|0)<((C[(e[(e[_>>2]|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+12>>2]=e[V0+12>>2],e[ue+16>>2]=e[V0+16>>2],e[ue+20>>2]=e[V0+20>>2],e[ue+24>>2]=e[V0+24>>2],e[ue+28>>2]=e[V0+28>>2]),aM(i,t0,x,F0,b0,A),F?v=Mh(i,me)|0:v=jh(i,me)|0,A=e[me>>2]|0,q&(A|0)>4)ue=v+16|0,e[ue>>2]=e[v>>2],e[ue+4>>2]=e[v+4>>2],e[ue+8>>2]=e[v+8>>2],e[ue+12>>2]=e[v+12>>2],ue=v+32|0,A=v+(A+-1<<4)|0,e[ue>>2]=e[A>>2],e[ue+4>>2]=e[A+4>>2],e[ue+8>>2]=e[A+8>>2],e[ue+12>>2]=e[A+12>>2],Yl(v+48|0,A|0,16)|0,e[me>>2]=4,A=4;else if(!A)break;for(w=e[g2>>2]|0,f=w+A|0,(f|0)>(e[46736]|0)?(e[46736]=f<<1,p=Ve(e[46734]|0,f<<5)|0,e[46734]=p,A=e[me>>2]|0):p=e[46734]|0,f=0;!((f|0)>=(A|0));)ue=p+(w<<4)|0,me=v+(f<<4)|0,e[ue>>2]=e[me>>2],e[ue+4>>2]=e[me+4>>2],e[ue+8>>2]=e[me+8>>2],e[ue+12>>2]=e[me+12>>2],f=f+1|0,w=w+1|0;e[g2>>2]=w,cM(t0,i),m?A=(e[pe>>2]&3|0)==2?pe:pe+-48|0:A=(e[x>>2]&3|0)==2?x:E,e[i2>>2]=e[A+40>>2],z=w,Y=63}while(0);e:do if((Y|0)==63){if((l|0)==1){yi(H,e[i2>>2]|0,e[46734]|0,z,17296);break}for(B=t+12|0,x=z+-1|0,c=+((N0(e[B>>2]|0,l+-1|0)|0)/2|0|0),f=e[46734]|0,A=1;!((A|0)>=(x|0));)ue=f+(A<<4)|0,u[ue>>3]=+u[ue>>3]-c,A=A+1|0;for(A=e[46736]|0,(A|0)>(e[46737]|0)?(e[46737]=A,w=Ve(e[46735]|0,A<<4)|0,e[46735]=w,f=e[46734]|0):w=e[46735]|0,A=0;!((A|0)>=(z|0));)ue=w+(A<<4)|0,t=f+(A<<4)|0,e[ue>>2]=e[t>>2],e[ue+4>>2]=e[t+4>>2],e[ue+8>>2]=e[t+8>>2],e[ue+12>>2]=e[t+12>>2],A=A+1|0;for(yi(H,e[i2>>2]|0,w,z,17296),m=T2+48|0,E=T2+-48|0,v=1;;){if((v|0)>=(l|0))break e;if(w=e[n+(v+o<<2)>>2]|0,p=w+16|0,A=e[p>>2]|0,e[A+164>>2]&32){f=e[dr>>2]|0,u2(f|0,A|0,176)|0,_=T2,L=w,Z=_+48|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));e[dr>>2]=f,_=e[T2>>2]&3,e[((_|0)==3?T2:m)+40>>2]=e[((e[w>>2]&3|0)==2?w:w+-48|0)+40>>2],e[((_|0)==2?T2:E)+40>>2]=e[((e[w>>2]&3|0)==3?w:w+48|0)+40>>2],_=f+16|0,L=(e[p>>2]|0)+56|0,Z=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));A=e[dr>>2]|0,_=A+56|0,L=(e[p>>2]|0)+16|0,Z=_+40|0;do e[_>>2]=e[L>>2],_=_+4|0,L=L+4|0;while((_|0)<(Z|0));C[A+112>>0]=1,e[A+116>>2]=w,w=T2}for(p=e[46734]|0,A=1;!((A|0)>=(x|0));)ue=p+(A<<4)|0,u[ue>>3]=+u[ue>>3]+ +(e[B>>2]|0),A=A+1|0;for(f=e[46735]|0,A=0;!((A|0)>=(z|0));)ue=f+(A<<4)|0,i2=p+(A<<4)|0,e[ue>>2]=e[i2>>2],e[ue+4>>2]=e[i2+4>>2],e[ue+8>>2]=e[i2+8>>2],e[ue+12>>2]=e[i2+12>>2],A=A+1|0;yi(w,e[((e[w>>2]&3|0)==2?w:w+-48|0)+40>>2]|0,f,z,17296),v=v+1|0}}while(0);g=D2}function _80(r){r=r|0;var t=0,i=0,n=0;for(t=U0(r)|0;t;){for(i=Me(r,t)|0;i;)(nr[e[4324]&63](i)|0)<<24>>24&&(n=e[(e[i+16>>2]|0)+8>>2]|0,n|0)&&z80(n),i=Qe(r,i)|0;t=X0(r,t)|0}}function z80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=e[r+4>>2]|0,l=_0(o*48|0)|0,t=l,i=0,n=(e[r>>2]|0)+((o+-1|0)*48|0)|0;;){if((i|0)>=(o|0)){t=0;break}L80(n,t),t=t+48|0,i=i+1|0,n=n+-48|0}for(;i=e[r>>2]|0,!((t|0)>=(o|0));)r0(e[i+(t*48|0)>>2]|0),t=t+1|0;r0(i),e[r>>2]=l}function L80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(l=e[r+4>>2]|0,s=_0(l<<4)|0,i=s,n=0,o=(e[r>>2]|0)+(l+-1<<4)|0;!((n|0)>=(l|0));)e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2],i=i+16|0,n=n+1|0,o=o+-16|0;e[t>>2]=s,e[t+4>>2]=l,e[t+8>>2]=e[r+12>>2],e[t+12>>2]=e[r+8>>2],s=t+16|0,l=r+32|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],s=t+32|0,l=r+16|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2]}function R80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;for(L=g,g=g+96|0,v=L+80|0,E=L+64|0,m=L+48|0,x=L+32|0,z=L+16|0,_=L,c=t;B=c+16|0,o=e[B>>2]|0,!!(C[o+112>>0]|0);)c=e[o+116>>2]|0;switch(o=e[c>>2]&3,w=e[((o|0)==2?c:c+-48|0)+40>>2]|0,o=e[((o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]=e[x+8>>2],e[o+12>>2]=e[x+12>>2],o=i+32|0,Z=i+48|0,x=i+64|0,e[x>>2]=e[_>>2],e[x+4>>2]=e[_+4>>2],e[x+8>>2]=e[_+8>>2],e[x+12>>2]=e[_+12>>2],e[Z>>2]=e[_>>2],e[Z+4>>2]=e[_+4>>2],e[Z+8>>2]=e[_+8>>2],e[Z+12>>2]=e[_+12>>2],e[o>>2]=e[_>>2],e[o+4>>2]=e[_+4>>2],e[o+8>>2]=e[_+8>>2],e[o+12>>2]=e[_+12>>2],o=i+80|0,Z=i+96|0,e[Z>>2]=e[z>>2],e[Z+4>>2]=e[z+4>>2],e[Z+8>>2]=e[z+8>>2],e[Z+12>>2]=e[z+12>>2],e[o>>2]=e[z>>2],e[o+4>>2]=e[z+4>>2],e[o+8>>2]=e[z+8>>2],e[o+12>>2]=e[z+12>>2],o=7}while(0);return g=L,o|0}function va(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;if(m=e[n+16>>2]|0,v=+u[m+16>>3],s=v-+u[m+88>>3],f=s+-4,c=pM(t,n,o,l,-1)|0,!c)w=~~(s+(f>=0?-3.5:-4.5)),A=e[i>>2]|0,A=(A|0)>(w|0)?w:A;else{A=kM(t,n,c)|0;do if(A)s=+u[(e[A+16>>2]|0)+32>>3]+ +(e[i+8>>2]|0);else if(w=e[c+16>>2]|0,s=+u[w+240>>3]+ +u[w+16>>3],C[w+156>>0]|0){s=s+ +(e[i+8>>2]|0);break}else{s=+(e[(e[t+16>>2]|0)+248>>2]|0)*.5+s;break}while(0);p=s=0?.5:-.5))}if(p=+(A|0),w=(C[m+156>>0]|0)==1,w&&e[m+104>>2]|0?f=v+10:f=v+4+ +u[m+96>>3],c=pM(t,n,o,l,1)|0,!c)n=~~(f+(f>=0?.5:-.5)),A=e[i+4>>2]|0,A=(A|0)<(n|0)?n:A;else{A=kM(t,n,c)|0;do if(A)s=+u[(e[A+16>>2]|0)+16>>3]-+(e[i+8>>2]|0);else if(n=e[c+16>>2]|0,s=+u[n+16>>3]-+u[n+88>>3],C[n+156>>0]|0){s=s-+(e[i+8>>2]|0);break}else{s=s-+(e[(e[t+16>>2]|0)+248>>2]|0)*.5;break}while(0);f=s>f?s:f,A=~~(f+(f>=0?.5:-.5))}s=+(A|0),w&&e[m+104>>2]|0&&(s=s-+u[m+96>>3],s>3],t=e[(e[t+16>>2]|0)+196>>2]|0,m=e[m+232>>2]|0,f=v-+u[t+(m<<6)+16>>3],v=+u[t+(m<<6)+24>>3]+v,u[r>>3]=p,u[r+8>>3]=f,u[r+16>>3]=s,u[r+24>>3]=v}function Eh(r){return r=r|0,r=e[r+16>>2]|0,(C[r+156>>0]|0)==1?(e[r+176>>2]|0)>1?r=1:r=(e[r+184>>2]|0)>1&1:r=0,r|0}function gf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0;switch(l=g,g=g+32|0,o=l,i|0){case 1:{dM(o,+u[t>>3],n,+u[t+16>>3],+u[t+8>>3]);break}case 4:{dM(o,+u[t>>3],+u[t+24>>3],+u[t+16>>3],n);break}default:}e[r>>2]=e[o>>2],e[r+4>>2]=e[o+4>>2],e[r+8>>2]=e[o+8>>2],e[r+12>>2]=e[o+12>>2],e[r+16>>2]=e[o+16>>2],e[r+20>>2]=e[o+20>>2],e[r+24>>2]=e[o+24>>2],e[r+28>>2]=e[o+28>>2],g=l}function uM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;f=e[t+16>>2]|0,c=f+(n<<5)|0,A=+u[c>>3],w=f+(n<<5)+8|0,l=+u[w>>3],p=f+(n<<5)+16|0,o=+u[p>>3],f=f+(n<<5)+24|0,s=+u[f>>3],A==o&&(i=e[(e[i+16>>2]|0)+196>>2]|0,v=n+1|0,A=+(e[t>>2]|0),l=+u[i+(v<<6)+24>>3]+ +u[(e[(e[e[i+(v<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],o=+(e[t+4>>2]|0),s=+u[(e[(e[e[i+(n<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-+u[i+(n<<6)+16>>3],u[c>>3]=A,u[w>>3]=l,u[p>>3]=o,u[f>>3]=s),u[r>>3]=A,u[r+8>>3]=l,u[r+16>>3]=o,u[r+24>>3]=s}function G80(r){r=r|0;var t=0,i=0;for(r=e[r+16>>2]|0,i=r+16|0,t=0;r=e[e[r+180>>2]>>2]|0,r=e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0,!((C[r+156>>0]|0)!=1||(e[r+184>>2]|0)!=1||(e[r+176>>2]|0)!=1||+u[r+16>>3]!=+u[i>>3]);)t=t+1|0;return t|0}function aM(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0;f=g,g=g+32|0,c=f,s=hM(t,-1)|0,t=hM(t,1)|0,s|0&&!(_a(s)|0)||(A=3);do if((A|0)==3){if(t|0&&!(_a(t)|0)||(s=wM(i,-1)|0,t=wM(i,1)|0,s|0&&!(_a(s)|0))||t|0&&!(_a(t)|0))break;for(s=n+52|0,t=0;!((t|0)>=(e[s>>2]|0));)i=n+56+(t<<5)|0,e[c>>2]=e[i>>2],e[c+4>>2]=e[i+4>>2],e[c+8>>2]=e[i+8>>2],e[c+12>>2]=e[i+12>>2],e[c+16>>2]=e[i+16>>2],e[c+20>>2]=e[i+20>>2],e[c+24>>2]=e[i+24>>2],e[c+28>>2]=e[i+28>>2],mo(r,c),t=t+1|0;for(s=e[r+80>>2]|0,A=l+-3|0,t=0;!((t|0)>=(l|0));)n=153720+(t<<5)|0,e[c>>2]=e[n>>2],e[c+4>>2]=e[n+4>>2],e[c+8>>2]=e[n+8>>2],e[c+12>>2]=e[n+12>>2],e[c+16>>2]=e[n+16>>2],e[c+20>>2]=e[n+20>>2],e[c+24>>2]=e[n+24>>2],e[c+28>>2]=e[n+28>>2],mo(r,c),t=t+1|0;for(i=s+1|0,A=A+i|0,s=e[o+52>>2]|0;t=s+-1|0,!((s|0)<=0);)s=o+56+(t<<5)|0,e[c>>2]=e[s>>2],e[c+4>>2]=e[s+4>>2],e[c+8>>2]=e[s+8>>2],e[c+12>>2]=e[s+12>>2],e[c+16>>2]=e[s+16>>2],e[c+20>>2]=e[s+20>>2],e[c+24>>2]=e[s+24>>2],e[c+28>>2]=e[s+28>>2],mo(r,c),s=t;W80(r,i,A)}while(0);g=f}function Z80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=e[n>>2]|0;t;)r=e[e[(e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0,t=t+-1|0;return e[n>>2]=o+1,l=i+(o<<4)|0,t=i+(o+-1<<4)|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],o=e[n>>2]|0,e[n>>2]=o+1,o=i+(o<<4)|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],o=i+(e[n>>2]<<4)|0,n=(e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+16|0,e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],r|0}function cM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=t+84|0,c=t+80|0,i=0,t=r;e:for(;s=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,A=s+16|0,!((C[(e[A>>2]|0)+156>>0]|0)!=1||(nr[e[4325]&63](s)|0)<<24>>24);){for(t=e[c>>2]|0;;){if((i|0)>=(t|0))break e;if(!(+u[(e[f>>2]|0)+(i<<5)+8>>3]>+u[(e[A>>2]|0)+24>>3]))break;i=i+1|0}t=e[f>>2]|0,r=e[A>>2]|0;do if(!(+u[t+(i<<5)+24>>3]<+u[r+24>>3]))if(o=+u[t+(i<<5)>>3],l=~~o,n=+u[t+(i<<5)+16>>3],e[r+104>>2]|0){fM(s,l,~~n,~~(+u[r+96>>3]+n));break}else{fM(s,l,~~((n+o)*.5),~~n);break}while(0);t=e[e[(e[A>>2]|0)+180>>2]>>2]|0}}function fM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,r=e[r+16>>2]|0,u[r+16>>3]=+(i|0),u[r+88>>3]=+(i-t|0),u[r+96>>3]=+(n-i|0)}function hM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(s=e[r>>2]&3,A=e[(e[(e[((s|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+180>>2]|0,s=((s|0)==2?r:r+-48|0)+40|0,l=0,r=0;n=e[A+(l<<2)>>2]|0,!!n;){o=e[(e[(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0;do if((N0(o-(e[(e[(e[s>>2]|0)+16>>2]|0)+236>>2]|0)|0,t)|0)>=1){if(i=e[n+16>>2]|0,!(e[i+8>>2]|0)&&(i=e[i+116>>2]|0,!i||!(e[(e[i+16>>2]|0)+8>>2]|0))||r|0&&(N0((e[(e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-o|0,t)|0)<=0)break;r=n}while(0);l=l+1|0}return r|0}function wM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(s=e[r>>2]&3,A=e[(e[(e[((s|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+172>>2]|0,s=((s|0)==3?r:r+48|0)+40|0,l=0,r=0;n=e[A+(l<<2)>>2]|0,!!n;){o=e[(e[(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0;do if((N0(o-(e[(e[(e[s>>2]|0)+16>>2]|0)+236>>2]|0)|0,t)|0)>=1){if(i=e[n+16>>2]|0,!(e[i+8>>2]|0)&&(i=e[i+116>>2]|0,!i||!(e[(e[i+16>>2]|0)+8>>2]|0))||r|0&&(N0((e[(e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-o|0,t)|0)<=0)break;r=n}while(0);l=l+1|0}return r|0}function W80(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(f=r+84|0,s=t+-1|0;!((s|0)>(i|0));)o=e[f>>2]|0,A=o+(s<<5)|0,n=+u[A>>3],s-t&1?(o=o+(s<<5)+16|0,w=+u[o>>3],l=~~((w+n)*.5),n+16>w&&(u[A>>3]=+(l+-8|0),u[o>>3]=+(l+8|0))):(o=o+(s<<5)+16|0,w=+u[o>>3],l=~~((w+n)*.5),n>=w&&(u[A>>3]=+(l+-8|0),u[o>>3]=+(l+8|0))),s=s+1|0;for(c=(e[r+80>>2]|0)+-1|0,l=0;!((l|0)>=(c|0));){if(s=e[f>>2]|0,o=s+(l<<5)|0,A=l+1|0,r=s+(A<<5)|0,!((l|0)<(t|0)|(l|0)>(i|0))&&!(l-t&1|0)){if(n=+u[o>>3]+16,o=s+(A<<5)+16|0,n>+u[o>>3]&&(u[o>>3]=n),n=+u[s+(l<<5)+16>>3]+-16,!(n<+u[r>>3])){l=A;continue}u[r>>3]=n,l=A;continue}if(!((l|0)<(i|0)&(A|0)>=(t|0))){l=A;continue}if(A-t&1|0){l=A;continue}if(n=+u[s+(A<<5)+16>>3],+u[o>>3]+16>n&&(u[o>>3]=n+-16),o=s+(l<<5)+16|0,n=+u[r>>3],!(+u[o>>3]+-16>3]=n+16,l=A}}function dM(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o,u[r>>3]=t,u[r+8>>3]=i,u[r+16>>3]=n,u[r+24>>3]=o}function pM(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;c=e[(e[r+16>>2]|0)+196>>2]|0,l=e[t+16>>2]|0,A=e[l+232>>2]|0,s=c+(A<<6)|0,A=c+(A<<6)+4|0,l=e[l+236>>2]|0;e:do{if(l=l+o|0,(l|0)<=-1){r=0;break}if((l|0)>=(e[s>>2]|0)){r=0;break}switch(r=e[(e[A>>2]|0)+(l<<2)>>2]|0,c=e[r+16>>2]|0,C[c+156>>0]|0){case 0:break e;case 1:{if(e[c+104>>2]|0)break e;break}default:}}while((D80(r,t,i,n)|0)<<24>>24);return r|0}function kM(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;if(t=e[t+16>>2]|0,C[t+156>>0]|0?(s=e[(e[(e[e[t+180>>2]>>2]|0)+16>>2]|0)+116>>2]|0,o=e[s>>2]&3,l=e[(e[(e[((o|0)==2?s:s+-48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,s=e[(e[(e[((o|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0):(s=e[t+212>>2]|0,l=s),t=e[i+16>>2]|0,!(C[t+156>>0]|0))return i=e[t+212>>2]|0,i=(i|0)==(r|0)?0:i,((i|0)==(l|0)|((i|0)==0|(i|0)==(s|0))?0:i)|0;if(n=e[(e[(e[e[t+180>>2]>>2]|0)+16>>2]|0)+116>>2]|0,o=e[n>>2]&3,t=e[(e[(e[((o|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,t=(t|0)==(r|0)?0:t,!(!((t|0)==(l|0)|((t|0)==0|(t|0)==(s|0)))&&vM(t,i)|0))if(t=e[(e[(e[((o|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,t=(t|0)==(r|0)?0:t,(t|0)==(l|0)|((t|0)==0|(t|0)==(s|0)))t=0;else return i=(vM(t,i)|0)==0,(i?0:t)|0;return t|0}function vM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=e[r+16>>2]|0,r=e[t+16>>2]|0,o=+u[r+16>>3],+u[i+16>>3]<=o&&o<=+u[i+32>>3]&&(n=+u[r+24>>3],+u[i+24>>3]<=n)?r=n<=+u[i+40>>3]&1:r=0,r|0}function D80(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=e[r+16>>2]|0,A=(e[s+236>>2]|0)>(e[(e[t+16>>2]|0)+236>>2]|0);e:do if((e[s+184>>2]|0)==1){r:do if(n|0)for(l=0,r=e[e[s+180>>2]>>2]|0;;){if((l|0)>=2||(r=e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0,t=e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,(r|0)==(t|0)))break r;if(o=e[r+16>>2]|0,r=e[t+16>>2]|0,A^(e[o+236>>2]|0)>(e[r+236>>2]|0)){r=1;break e}if((e[o+184>>2]|0)!=1||!(C[o+156>>0]|0)||(e[r+184>>2]|0)!=1||!(C[r+156>>0]|0))break r;l=l+1|0,n=e[e[r+180>>2]>>2]|0,r=e[e[o+180>>2]>>2]|0}while(0);if(i|0&&(e[s+176>>2]|0)==1)for(o=0,t=i,r=e[e[s+172>>2]>>2]|0;;){if((o|0)>=2){r=0;break e}if(r=e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0,t=e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0,(r|0)==(t|0)){r=0;break e}if(n=e[r+16>>2]|0,r=e[t+16>>2]|0,A^(e[n+236>>2]|0)>(e[r+236>>2]|0)){r=1;break e}if((e[n+176>>2]|0)!=1){r=0;break e}if(!(C[n+156>>0]|0)){r=0;break e}if((e[r+176>>2]|0)!=1){r=0;break e}if(!(C[r+156>>0]|0)){r=0;break e}o=o+1|0,t=e[e[r+172>>2]>>2]|0,r=e[e[n+172>>2]>>2]|0}else r=0}else r=0;while(0);return r|0}function Ko(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function M80(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=+u[t+8>>3],o=+u[t>>3],(~~((+u[i>>3]-o)*(+u[r+8>>3]-n)-(+u[r>>3]-o)*(+u[i+8>>3]-n))|0)>0|0}function j80(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0;Z0=g,g=g+256|0,P=Z0+232|0,D=Z0+216|0,J0=Z0+88|0,D0=Z0+80|0,H=Z0+64|0,a0=Z0+200|0,k0=Z0+184|0,B0=Z0,X=Z0+168|0,U=Z0+152|0,F=Z0+136|0,q=Z0+120|0,t0=Z0+104|0,T=e[o>>2]&3,Y=e[((T|0)==3?o:o+48|0)+40>>2]|0,T=e[((T|0)==2?o:o+-48|0)+40>>2]|0;do if((ZA(Y)|0)!=2&&(ZA(T)|0)!=2){for(o=0,s=0,A=0;!((A|0)>=(n|0));)N=e[(e[t+(A+i<<2)>>2]|0)+16>>2]|0,o=o+((e[N+96>>2]|0)!=0&1)|0,!(C[N+44>>0]|0)&&!(C[N+84>>0]|0)||(s=1),A=A+1|0;if(!s)if(o){T80(Y,T,t,i,n,l,o);break}else{mM(Y,T,t,i,n,l);break}for(Z=j0(156)|0,W=F80(r,Z)|0,B=ji(W,85478,1)|0,$e(B,137483,280,1)|0,h1(B,87171,87185)|0,c=+u[(e[T+16>>2]|0)+16>>3],E=+u[(e[Y+16>>2]|0)+16>>3],N=r+16|0,v=(e[(e[N>>2]|0)+116>>2]&1|0)==0,m=v?T:Y,v=v?Y:T,B=yM(B,v)|0,x=yM(W,m)|0,o=0,p=0;!((p|0)>=(n|0));){for(s=t+(p+i<<2)|0;w=e[s>>2]|0,f=w+16|0,s=e[f>>2]|0,C[s+112>>0]|0;)s=s+116|0;(e[((e[w>>2]&3|0)==3?w:w+48|0)+40>>2]|0)==(v|0)?A=CM(W,B,x,w)|0:A=CM(W,x,B,w)|0,s=e[f>>2]|0,e[s+120>>2]=A,o||(!(C[s+44>>0]|0)&&!(C[s+84>>0]|0)?(e[(e[A+16>>2]|0)+120>>2]=w,o=A):o=0),p=p+1|0}for(o?L=o:L=rr(W,B,x,0,1)|0,Er(L,e[47174]|0,85482)|0,o=W+16|0,f=e[o>>2]|0,e[f+144>>2]=e[(e[N>>2]|0)+144>>2],e[f+188>>2]=W,rl(W,l),tM(W),mj(W,0),zM(W,0),KM(W,0),v=v+16|0,l=e[v>>2]|0,f=e[m+16>>2]|0,m=B+16|0,w=e[m>>2]|0,p=w+16|0,z=+(~~c|0),_=+(~~((+u[(e[x+16>>2]|0)+16>>3]+ +u[p>>3])*.5)|0),c=+(~~E|0),E=+(~~((+u[l+16>>3]-+u[l+96>>3]+ +u[f+16>>3]+ +u[f+88>>3])*.5)|0),f=w+24|0,o=(e[o>>2]|0)+192|0;s=e[o>>2]|0,!!s;){do if((s|0)!=(B|0))if(o=e[s+16>>2]|0,A=o+24|0,(s|0)==(x|0)){u[A>>3]=c,u[o+16>>3]=_;break}else{u[A>>3]=E;break}else u[f>>3]=z,u[p>>3]=_,o=w;while(0);o=o+164|0}for(Wj(W),sM(W,0),xa(W),A=e[v>>2]|0,o=e[m>>2]|0,e[(e[N>>2]|0)+116>>2]&1?(s=o+24|0,c=+u[o+16>>3]+ +u[A+24>>3]):(s=o+16|0,c=+u[A+24>>3]-+u[o+24>>3]),u[H>>3]=+u[A+16>>3]-+u[s>>3],u[H+8>>3]=c,l=B0+16|0,B=B0+32|0,x=B0+48|0,m=0;!((m|0)>=(n|0));){for(o=t+(m+i<<2)|0;s=e[o>>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],e[D+8>>2]=e[A+8>>2],e[D+12>>2]=e[A+12>>2],e[P>>2]=e[H>>2],e[P+4>>2]=e[H+4>>2],e[P+8>>2]=e[H+8>>2],e[P+12>>2]=e[H+12>>2],ma(q,D,P,F0),e[x>>2]=e[q>>2],e[x+4>>2]=e[q+4>>2],e[x+8>>2]=e[q+8>>2],e[x+12>>2]=e[q+12>>2],Pd((e[N>>2]|0)+16|0,B0),o=b0}(O0|0)==48&&(O0=0),o=e[(e[v>>2]|0)+96>>2]|0,o|0&&(b0=o+56|0,p=(e[(e[p>>2]|0)+96>>2]|0)+56|0,F0=e[(e[N>>2]|0)+116>>2]&1,e[D>>2]=e[p>>2],e[D+4>>2]=e[p+4>>2],e[D+8>>2]=e[p+8>>2],e[D+12>>2]=e[p+12>>2],e[P>>2]=e[H>>2],e[P+4>>2]=e[H+4>>2],e[P+8>>2]=e[H+8>>2],e[P+12>>2]=e[H+12>>2],ma(t0,D,P,F0),e[b0>>2]=e[t0>>2],e[b0+4>>2]=e[t0+4>>2],e[b0+8>>2]=e[t0+8>>2],e[b0+12>>2]=e[t0+12>>2],b0=e[(e[v>>2]|0)+96>>2]|0,C[b0+81>>0]=1,el(r,b0))}m=m+1|0}P80(W,Z)}else O0=3;while(0);(O0|0)==3&&!(e[46738]|0)&&(e[46738]=1,$0(0,85355,D0)|0,O0=te(Y)|0,F0=(d1(r)|0)!=0,b0=te(T)|0,e[J0>>2]=O0,e[J0+4>>2]=F0?137738:141747,e[J0+8>>2]=b0,$0(3,85461,J0)|0),g=Z0}function N80(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0;for(W=g,g=g+1600|0,x=W+1552|0,f=W+1536|0,B=W+840|0,z=W+144|0,_=W+1584|0,s=W+32|0,E=W+16|0,w=W,v=e[n>>2]&3,p=e[((v|0)==3?n:n+48|0)+40>>2]|0,L=n+-48|0,v=e[((v|0)==2?n:L)+40>>2]|0,m=n+16|0,A=e[m>>2]|0,l=e[A+172>>2]|0;c=e[(e[l+16>>2]|0)+172>>2]|0,c;)l=c;if(A=(e[A+96>>2]|0)+56|0,l=(e[((e[l>>2]&3|0)==3?l:l+48|0)+40>>2]|0)+16|0,c=(e[l>>2]|0)+16|0,e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],A=e[m>>2]|0,C[(e[A+96>>2]|0)+81>>0]=1,(o|0)!=2){for(A=e[l>>2]|0,D=+u[A+16>>3],X=D-+u[A+88>>3],D=+u[A+96>>3]+D,T=+u[A+24>>3],P=+u[A+80>>3]*.5+T,A=e[(e[r+16>>2]|0)+196>>2]|0,c=e[p+16>>2]|0,s=e[c+232>>2]|0,T=+(~~(+(~~(T-+u[A+(s<<6)+16>>3]-+u[c+24>>3]+ +u[A+(s<<6)+24>>3])|0)*.16666666666666666)|0),T=P-(T<5?5:T),Kd(r,t,i,p,n,B,1),Kd(r,t,i,v,n,z,0),s=B+52|0,A=e[s>>2]|0,c=A+-1|0,N=+u[B+56+(c<<5)>>3],u[19215]=N,u[19216]=+u[B+56+(c<<5)+24>>3],u[19217]=X,u[19218]=T,u[19219]=N,u[19220]=T,c=z+52|0,l=(e[c>>2]|0)+-1|0,N=+u[z+56+(l<<5)+16>>3],u[19221]=N,u[19222]=P,u[19223]=D,u[19226]=T,u[19224]=+u[z+56+(l<<5)+24>>3],u[19225]=N,l=0;;){if((l|0)>=(A|0)){l=0;break}A=B+56+(l<<5)|0,e[x>>2]=e[A>>2],e[x+4>>2]=e[A+4>>2],e[x+8>>2]=e[A+8>>2],e[x+12>>2]=e[A+12>>2],e[x+16>>2]=e[A+16>>2],e[x+20>>2]=e[A+20>>2],e[x+24>>2]=e[A+24>>2],e[x+28>>2]=e[A+28>>2],mo(i,x),l=l+1|0,A=e[s>>2]|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|0,W=+(c|0),N=E*W,u[19217]=D+N,W=T-f*W,u[19216]=W,u[19219]=P,u[19222]=W,w=(e[s>>2]|0)+-1|0,P=+u[x+56+(w<<5)+16>>3],u[19221]=P,u[19220]=W-f,T=+u[x+56+(w<<5)>>3],D=+u[x+56+(w<<5)+8>>3],u[19225]=P,u[19226]=D,u[19223]=T-N,u[19224]=W,w=0;;){if((w|0)>=(p|0)){w=0;break}p=_+56+(w<<5)|0,e[B>>2]=e[p>>2],e[B+4>>2]=e[p+4>>2],e[B+8>>2]=e[p+8>>2],e[B+12>>2]=e[p+12>>2],e[B+16>>2]=e[p+16>>2],e[B+20>>2]=e[p+20>>2],e[B+24>>2]=e[p+24>>2],e[B+28>>2]=e[p+28>>2],mo(i,B),w=w+1|0,p=e[m>>2]|0}for(;(w|0)!=3;)Z=153720+(w<<5)|0,e[B>>2]=e[Z>>2],e[B+4>>2]=e[Z+4>>2],e[B+8>>2]=e[Z+8>>2],e[B+12>>2]=e[Z+12>>2],e[B+16>>2]=e[Z+16>>2],e[B+20>>2]=e[Z+20>>2],e[B+24>>2]=e[Z+24>>2],e[B+28>>2]=e[Z+28>>2],mo(i,B),w=w+1|0;for(p=e[s>>2]|0;w=p+-1|0,!((p|0)<=0);)p=x+56+(w<<5)|0,e[B>>2]=e[p>>2],e[B+4>>2]=e[p+4>>2],e[B+8>>2]=e[p+8>>2],e[B+12>>2]=e[p+12>>2],e[B+16>>2]=e[p+16>>2],e[B+20>>2]=e[p+20>>2],e[B+24>>2]=e[p+24>>2],e[B+28>>2]=e[p+28>>2],mo(i,B),p=w;if(r?w=jh(i,z)|0:w=Mh(i,z)|0,p=e[z>>2]|0,!p)break;yi(v,e[((e[v>>2]&3|0)==2?v:v+-48|0)+40>>2]|0,w,p,17296),e[t>>2]=0}g=L}function Kd(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0;w=g,g=g+128|0,A=w+96|0,c=w+64|0,p=w+32|0,f=w,va(p,r,t,n,0,o),e[l>>2]=e[p>>2],e[l+4>>2]=e[p+4>>2],e[l+8>>2]=e[p+8>>2],e[l+12>>2]=e[p+12>>2],e[l+16>>2]=e[p+16>>2],e[l+20>>2]=e[p+20>>2],e[l+24>>2]=e[p+24>>2],e[l+28>>2]=e[p+28>>2],e[c>>2]=e[p>>2],e[c+4>>2]=e[p+4>>2],e[c+8>>2]=e[p+8>>2],e[c+12>>2]=e[p+12>>2],e[c+16>>2]=e[p+16>>2],e[c+20>>2]=e[p+20>>2],e[c+24>>2]=e[p+24>>2],e[c+28>>2]=e[p+28>>2],e[l+48>>2]=4,s<<24>>24?Ip(i,o,2,l,0):xp(i,o,2,l,0),t=l+52|0,o=(e[t>>2]|0)+-1|0,p=c+24|0,u[p>>3]=+u[l+56+(o<<5)+24>>3],s=c+8|0,u[s>>3]=+u[l+56+(o<<5)+8>>3],n=e[n+16>>2]|0,v=+u[(e[(e[r+16>>2]|0)+196>>2]|0)+(e[n+232>>2]<<6)+24>>3]+ +u[n+24>>3],e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],e[A+16>>2]=e[c+16>>2],e[A+20>>2]=e[c+20>>2],e[A+24>>2]=e[c+24>>2],e[A+28>>2]=e[c+28>>2],gf(f,A,4,v),e[c>>2]=e[f>>2],e[c+4>>2]=e[f+4>>2],e[c+8>>2]=e[f+8>>2],e[c+12>>2]=e[f+12>>2],e[c+16>>2]=e[f+16>>2],e[c+20>>2]=e[f+20>>2],e[c+24>>2]=e[f+24>>2],e[c+28>>2]=e[f+28>>2],+u[c>>3]<+u[c+16>>3]&&+u[s>>3]<+u[p>>3]&&(p=e[t>>2]|0,e[t>>2]=p+1,p=l+56+(p<<5)|0,e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],e[p+16>>2]=e[c+16>>2],e[p+20>>2]=e[c+20>>2],e[p+24>>2]=e[c+24>>2],e[p+28>>2]=e[c+28>>2]),g=w}function gM(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0;w=g,g=g+128|0,A=w+96|0,c=w+64|0,p=w+32|0,f=w,va(p,r,t,n,0,o),e[l>>2]=e[p>>2],e[l+4>>2]=e[p+4>>2],e[l+8>>2]=e[p+8>>2],e[l+12>>2]=e[p+12>>2],e[l+16>>2]=e[p+16>>2],e[l+20>>2]=e[p+20>>2],e[l+24>>2]=e[p+24>>2],e[l+28>>2]=e[p+28>>2],e[c>>2]=e[p>>2],e[c+4>>2]=e[p+4>>2],e[c+8>>2]=e[p+8>>2],e[c+12>>2]=e[p+12>>2],e[c+16>>2]=e[p+16>>2],e[c+20>>2]=e[p+20>>2],e[c+24>>2]=e[p+24>>2],e[c+28>>2]=e[p+28>>2],e[l+48>>2]=1,s<<24>>24?Ip(i,o,2,l,0):xp(i,o,2,l,0),t=l+52|0,o=(e[t>>2]|0)+-1|0,p=c+24|0,u[p>>3]=+u[l+56+(o<<5)+24>>3],s=c+8|0,u[s>>3]=+u[l+56+(o<<5)+8>>3],n=e[n+16>>2]|0,v=+u[n+24>>3]-+u[(e[(e[r+16>>2]|0)+196>>2]|0)+(e[n+232>>2]<<6)+24>>3],e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],e[A+16>>2]=e[c+16>>2],e[A+20>>2]=e[c+20>>2],e[A+24>>2]=e[c+24>>2],e[A+28>>2]=e[c+28>>2],gf(f,A,1,v),e[c>>2]=e[f>>2],e[c+4>>2]=e[f+4>>2],e[c+8>>2]=e[f+8>>2],e[c+12>>2]=e[f+12>>2],e[c+16>>2]=e[f+16>>2],e[c+20>>2]=e[f+20>>2],e[c+24>>2]=e[f+24>>2],e[c+28>>2]=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8>>2]=e[F0+8>>2],e[J0+12>>2]=e[F0+12>>2],e[O0>>2]=e[b0>>2],e[O0+4>>2]=e[b0+4>>2],e[O0+8>>2]=e[b0+8>>2],e[O0+12>>2]=e[b0+12>>2],e[Z0>>2]=e[ze>>2],e[Z0+4>>2]=e[ze+4>>2],A=KN(J0,O0,Z0,me,f)|0,r=e[me>>2]|0,!r)break e;yi(t,e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,A,r,17296),c=c+1|0,p=B}r0(V0)}while(0);g=g2}function F80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(o=g,g=g+16|0,n=o,s=(d1(r)|0)==0,s=s?18592:18584,C[n>>0]=C[s>>0]|0,C[n+1>>0]=C[s+1>>0]|0,C[n+2>>0]=C[s+2>>0]|0,C[n+3>>0]=C[s+3>>0]|0,n=w1(85493,n,0)|0,$e(n,137483,280,1)|0,re(n,0,87171,195059)|0,s=j0(96)|0,i=e[n+16>>2]|0,e[i+8>>2]=s,l=e[r+16>>2]|0,A=e[l+8>>2]|0,u[s>>3]=+u[A>>3],u[s+24>>3]=+u[A+24>>3],C[i+115>>0]=C[l+115>>0]|0,e[i+116>>2]=e[l+116>>2]&1^1,e[i+248>>2]=e[l+248>>2],e[i+252>>2]=e[l+252>>2],i=co(c2(r)|0,1,0)|0;i;)re(n,1,e[i+8>>2]|0,e[i+12>>2]|0)|0,i=co(c2(r)|0,1,i)|0;for(i=co(c2(r)|0,2,0)|0;i;)re(n,2,e[i+8>>2]|0,e[i+12>>2]|0)|0,i=co(c2(r)|0,2,i)|0;return re(n,2,111464,0)|0||re(n,2,111464,195059)|0,re(n,2,111455,0)|0||re(n,2,111455,195059)|0,Y80(n,t),g=o,n|0}function yM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return n=g,g=g+16|0,i=n,r=ht(r,te(t)|0,1)|0,$e(r,137447,304,1)|0,Cd(t,r)|0,(ZA(t)|0)==2&&(o=t+16|0,t=_0((d2(e[e[(e[o>>2]|0)+104>>2]>>2]|0)|0)+3|0)|0,e[i>>2]=e[e[(e[o>>2]|0)+104>>2]>>2],Ke(t,85488,i)|0,h1(r,108224,t)|0),g=n,r|0}function CM(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,i=rr(r,t,i,0,1)|0,$e(i,137460,176,1)|0,Cd(n,i)|0,i|0}function ma(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=g,g=g+32|0,l=s+16|0,o=s,n|0&&(A=+u[t>>3],n=t+8|0,u[t>>3]=+u[n>>3],u[n>>3]=-A),e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],e[l+12>>2]=e[i+12>>2],Ko(r,o,l),g=s}function P80(r,t){r=r|0,t=t|0,e[47189]=e[t>>2],e[47193]=e[t+4>>2],e[47194]=e[t+8>>2],e[47174]=e[t+12>>2],e[47175]=e[t+16>>2],e[47181]=e[t+20>>2],e[47180]=e[t+24>>2],e[47179]=e[t+28>>2],e[47205]=e[t+32>>2],e[47197]=e[t+36>>2],e[47182]=e[t+40>>2],e[47192]=e[t+44>>2],e[47201]=e[t+48>>2],e[47200]=e[t+52>>2],e[47199]=e[t+56>>2],e[47204]=e[t+60>>2],e[47198]=e[t+64>>2],e[47183]=e[t+68>>2],e[47145]=e[t+72>>2],e[47146]=e[t+76>>2],e[47147]=e[t+80>>2],e[47157]=e[t+84>>2],e[47150]=e[t+88>>2],e[47151]=e[t+92>>2],e[47152]=e[t+96>>2],e[47154]=e[t+100>>2],e[47155]=e[t+104>>2],e[47158]=e[t+108>>2],e[47161]=e[t+112>>2],e[47159]=e[t+116>>2],e[47160]=e[t+120>>2],e[47163]=e[t+124>>2],e[47162]=e[t+128>>2],e[47164]=e[t+132>>2],e[47165]=e[t+136>>2],e[47156]=e[t+140>>2],e[47168]=e[t+144>>2],e[47140]=e[t+148>>2],e[47138]=e[t+152>>2],r0(t),iM(r),Di(r)|0}function Y80(r,t){r=r|0,t=t|0,e[t>>2]=e[47189],e[t+4>>2]=e[47193],e[t+8>>2]=e[47194],e[t+12>>2]=e[47174],e[t+16>>2]=e[47175],e[t+20>>2]=e[47181],e[t+24>>2]=e[47180],e[t+28>>2]=e[47179],e[t+32>>2]=e[47205],e[t+36>>2]=e[47197],e[t+40>>2]=e[47182],e[t+44>>2]=e[47192],e[t+48>>2]=e[47201],e[t+52>>2]=e[47200],e[t+56>>2]=e[47199],e[t+60>>2]=e[47204],e[t+64>>2]=e[47198],e[t+68>>2]=e[47183],e[t+72>>2]=e[47145],e[t+76>>2]=e[47146],e[t+80>>2]=e[47147],e[t+84>>2]=e[47157],e[t+88>>2]=e[47150],e[t+92>>2]=e[47151],e[t+96>>2]=e[47152],e[t+100>>2]=e[47154],e[t+104>>2]=e[47155],e[t+108>>2]=e[47158],e[t+112>>2]=e[47161],e[t+116>>2]=e[47159],e[t+120>>2]=e[47160],e[t+124>>2]=e[47163],e[t+128>>2]=e[47162],e[t+132>>2]=e[47164],e[t+136>>2]=e[47165],e[t+140>>2]=e[47156],e[t+144>>2]=e[47168],e[t+152>>2]=e[47138],e[t+148>>2]=e[47140],e[47189]=0,e[47193]=re(r,2,87412,0)|0,e[47194]=re(r,2,87421,0)|0,t=re(r,2,101541,0)|0,e[47174]=t,t||(e[47174]=re(r,2,101541,195059)|0),e[47175]=0,e[47181]=0,e[47180]=re(r,2,101437,0)|0,e[47179]=re(r,2,101428,0)|0,e[47205]=re(r,2,101717,0)|0,e[47197]=0,e[47182]=re(r,2,108224,0)|0,e[47192]=re(r,2,85498,0)|0,e[47201]=0,e[47200]=re(r,2,101617,0)|0,e[47199]=re(r,2,101603,0)|0,e[47204]=re(r,2,101708,0)|0,e[47198]=0,e[47183]=0,e[47145]=re(r,1,141048,0)|0,e[47146]=re(r,1,141116,0)|0,e[47147]=re(r,1,108230,0)|0,e[47157]=0,e[47150]=re(r,1,101428,0)|0,e[47151]=re(r,1,101437,0)|0,e[47152]=0,e[47154]=re(r,1,108224,0)|0,e[47155]=0,e[47158]=0,e[47161]=re(r,1,101409,0)|0,e[47159]=re(r,1,141076,0)|0,e[47160]=re(r,1,101472,0)|0,e[47163]=re(r,1,101484,0)|0,e[47162]=re(r,1,101348,0)|0,e[47164]=re(r,1,101489,0)|0,e[47165]=re(r,1,85510,0)|0,e[47156]=0,e[47168]=0,e[47140]=re(r,0,101409,0)|0}function V80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return i=e[(e[(e[r>>2]|0)+16>>2]|0)+96>>2]|0,r=e[(e[(e[t>>2]|0)+16>>2]|0)+96>>2]|0,t=(r|0)!=0,i?t&&(o=+u[i+24>>3],s=+u[i+32>>3],n=+u[r+24>>3],l=+u[r+32>>3],!(o>n))?ol?r=-1:r=s>2]|0)+116>>2]|0,t;)r=t;return t=e[r>>2]&3,i=e[(e[((t|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0,n=e[i+232>>2]|0,r=e[(e[((t|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0,t=e[r+232>>2]|0,(n|0)<=(t|0)?(n|0)<(t|0)?r=1:r=(e[i+236>>2]|0)<(e[r+236>>2]|0)&1:r=0,r|0}function ga(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return i=g,g=g+16|0,n=i+8|0,o=i,s=(e[r+16>>2]|0)+180|0,l=(e[t+16>>2]|0)+172|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[n>>2]=e[l>>2],e[n+4>>2]=e[l+4>>2],t=EM(r,o,t,n)|0,g=i,t|0}function EM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=e[t+4>>2]|0;e:do if((o|0)>0&&(l=e[n+4>>2]|0,(l|0)>0))if((o|0)<(l|0))for(o=e[t>>2]|0,n=0;;){if(t=e[o+(n<<2)>>2]|0,!t){t=0;break e}if((e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)==(i|0))break;n=n+1|0}else for(o=e[n>>2]|0,n=0;;){if(t=e[o+(n<<2)>>2]|0,!t){t=0;break e}if((e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)==(r|0))break;n=n+1|0}else t=0;while(0);return t|0}function BM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return i=g,g=g+16|0,n=i+8|0,o=i,s=(e[r+16>>2]|0)+188|0,l=(e[t+16>>2]|0)+196|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[n>>2]=e[l>>2],e[n+4>>2]=e[l+4>>2],t=EM(r,o,t,n)|0,g=i,t|0}function IM(r){r=r|0;var t=0,i=0,n=0,o=0;return n=r+48|0,i=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,t=e[i+180>>2]|0,t?t=Ve(t,(e[i+184>>2]<<2)+8|0)|0:t=_0((e[i+184>>2]<<2)+8|0)|0,e[(e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0)+180>>2]=t,o=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,i=e[o+180>>2]|0,o=o+184|0,t=e[o>>2]|0,e[o>>2]=t+1,e[i+(t<<2)>>2]=r,n=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,e[(e[n+180>>2]|0)+(e[n+184>>2]<<2)>>2]=0,n=r+-48|0,t=e[(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16>>2]|0,i=e[t+172>>2]|0,i?t=Ve(i,(e[t+176>>2]<<2)+8|0)|0:t=_0((e[t+176>>2]<<2)+8|0)|0,e[(e[(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16>>2]|0)+172>>2]=t,t=e[(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16>>2]|0,i=e[t+172>>2]|0,t=t+176|0,o=e[t>>2]|0,e[t>>2]=o+1,e[i+(o<<2)>>2]=r,o=e[(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16>>2]|0,e[(e[o+172>>2]|0)+(e[o+176>>2]<<2)>>2]=0,r|0}function yf(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(n=r+4|0,o=e[n>>2]|0,i=0;!((i|0)>=(o|0));)if(l=e[r>>2]|0,s=l+(i<<2)|0,(e[s>>2]|0)==(t|0)){A=4;break}else i=i+1|0;(A|0)==4&&(A=o+-1|0,e[n>>2]=A,e[s>>2]=e[l+(A<<2)>>2],e[(e[r>>2]|0)+(A<<2)>>2]=0)}function bo(r){if(r=r|0,!r)H0(85551,85561,117,85570);else{yf((e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+180|0,r),yf((e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+172|0,r);return}}function _A(r){r=r|0;var t=0,i=0,n=0,o=0;n=r+48|0,i=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,t=e[i+204>>2]|0,t?t=Ve(t,(e[i+208>>2]<<2)+8|0)|0:t=_0((e[i+208>>2]<<2)+8|0)|0,e[(e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0)+204>>2]=t,o=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,t=e[o+204>>2]|0,o=o+208|0,i=e[o>>2]|0,e[o>>2]=i+1,e[t+(i<<2)>>2]=r,n=e[(e[((e[r>>2]&3|0)==3?r:n)+40>>2]|0)+16>>2]|0,e[(e[n+204>>2]|0)+(e[n+208>>2]<<2)>>2]=0}function xM(r){r=r|0,H80(r,(e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+204|0)}function H80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(s=t+4|0,n=e[s>>2]|0,o=e[t>>2]|0,i=0;;){if((i|0)>=(n|0)){l=4;break}if((e[o+(i<<2)>>2]|0)==(r|0))break;i=i+1|0}(l|0)==4&&(o?i=Ve(o,(n<<2)+8|0)|0:i=_0((n<<2)+8|0)|0,e[t>>2]=i,o=e[s>>2]|0,l=o+1|0,e[s>>2]=l,e[i+(o<<2)>>2]=r,e[(e[t>>2]|0)+(l<<2)>>2]=0)}function z7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;if(w=j0(96)|0,n=w+48|0,e[n>>2]=e[n>>2]|3,e[w>>2]=e[w>>2]&-4|2,o=j0(176)|0,f=w+16|0,e[f>>2]=o,e[((e[w>>2]&3|0)==3?w:n)+40>>2]=r,s=w+-48|0,e[((e[w>>2]&3|0)==2?w:s)+40>>2]=t,C[o+112>>0]=1,!i)e[o+156>>2]=1,$[o+154>>1]=1,$[o+168>>1]=1,$[o+170>>1]=1;else{if(e[w>>2]=e[w>>2]&15|e[i>>2]&-16,e[n>>2]=e[n>>2]&15|e[i>>2]&-16,c=i+16|0,l=e[c>>2]|0,$[o+168>>1]=$[l+168>>1]|0,$[o+154>>1]=$[l+154>>1]|0,e[o+156>>2]=e[l+156>>2],$[o+170>>1]=$[l+170>>1]|0,r=e[((e[w>>2]&3|0)==3?w:n)+40>>2]|0,t=e[i>>2]&3,A=i+48|0,(r|0)!=(e[((t|0)==3?i:A)+40>>2]|0)){if(n=i+-48|0,(r|0)==(e[((t|0)==2?i:n)+40>>2]|0)){o=o+16|0,r=l+56|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0))}}else{o=o+16|0,r=l+16|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));n=i+-48|0}if(r=e[((e[w>>2]&3|0)==2?w:s)+40>>2]|0,t=e[i>>2]&3,(r|0)!=(e[((t|0)==2?i:n)+40>>2]|0)){if((r|0)==(e[((t|0)==3?i:A)+40>>2]|0)){o=(e[f>>2]|0)+56|0,r=(e[c>>2]|0)+16|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0))}}else{o=(e[f>>2]|0)+56|0,r=(e[c>>2]|0)+56|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0))}r=(e[c>>2]|0)+172|0,e[r>>2]|0||(e[r>>2]=w),e[(e[f>>2]|0)+116>>2]=i}return w|0}function Jn(r,t,i){return r=r|0,t=t|0,i=i|0,IM(z7(r,t,i)|0)|0}function L7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;if(r=(e[r+16>>2]|0)+192|0,o=e[r>>2]|0,i=e[t+16>>2]|0,e[i+164>>2]=o,n=o,o|0&&(e[(e[n+16>>2]|0)+168>>2]=t),e[r>>2]=t,e[i+168>>2]=0,(n|0)==(t|0))H0(85587,85561,215,85603);else return}function J80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;(r|0)==(t|0)&&H0(85613,85561,220,85620),o=e[t+16>>2]|0,i=o+164|0,e[i>>2]|0&&H0(85633,85561,221,85620),n=(e[r+16>>2]|0)+164|0,e[i>>2]=e[n>>2],i=e[n>>2]|0,i|0&&(e[(e[i+16>>2]|0)+168>>2]=t),e[o+168>>2]=r,e[n>>2]=t}function bd(r,t){r=r|0,t=t|0;var i=0,n=0;U80(r,t)|0||H0(85652,85561,231,85673),t=e[t+16>>2]|0,i=e[t+164>>2]|0,n=i,t=t+168|0,i|0&&(e[(e[i+16>>2]|0)+168>>2]=e[t>>2]),t=e[t>>2]|0,t?e[(e[t+16>>2]|0)+164>>2]=n:e[(e[r+16>>2]|0)+192>>2]=n}function U80(r,t){for(r=r|0,t=t|0,r=(e[r+16>>2]|0)+192|0;r=e[r>>2]|0,!((r|0)==0|(r|0)==(t|0));)r=(e[r+16>>2]|0)+164|0;return r|0}function Ml(r){r=r|0;var t=0,i=0,n=0,o=0;return t=j0(64)|0,e[t>>2]=e[t>>2]&-4|1,i=t+16|0,e[i>>2]=j0(304)|0,e[t+24>>2]=c2(r)|0,o=e[i>>2]|0,C[o+156>>0]=1,u[o+96>>3]=1,u[o+88>>3]=1,u[o+80>>3]=1,e[o+216>>2]=1,e[o+176>>2]=0,o=j0(20)|0,n=e[i>>2]|0,e[n+172>>2]=o,e[n+184>>2]=0,n=j0(20)|0,e[(e[i>>2]|0)+180>>2]=n,L7(r,t),r=(e[r+16>>2]|0)+232|0,e[r>>2]=(e[r>>2]|0)+1,t|0}function ep(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;o=t+48|0,i=e[(e[((e[t>>2]&3|0)==3?t:o)+40>>2]|0)+16>>2]|0,n=e[i+188>>2]|0,n?i=Ve(n,(e[i+192>>2]<<2)+8|0)|0:i=_0((e[i+192>>2]<<2)+8|0)|0,e[(e[(e[((e[t>>2]&3|0)==3?t:o)+40>>2]|0)+16>>2]|0)+188>>2]=i,l=e[(e[((e[t>>2]&3|0)==3?t:o)+40>>2]|0)+16>>2]|0,n=e[l+188>>2]|0,l=l+192|0,i=e[l>>2]|0,e[l>>2]=i+1,e[n+(i<<2)>>2]=t,o=e[(e[((e[t>>2]&3|0)==3?t:o)+40>>2]|0)+16>>2]|0,e[(e[o+188>>2]|0)+(e[o+192>>2]<<2)>>2]=0,o=t+-48|0,i=e[(e[((e[t>>2]&3|0)==2?t:o)+40>>2]|0)+16>>2]|0,n=e[i+196>>2]|0,n?i=Ve(n,(e[i+200>>2]<<2)+8|0)|0:i=_0((e[i+200>>2]<<2)+8|0)|0,e[(e[(e[((e[t>>2]&3|0)==2?t:o)+40>>2]|0)+16>>2]|0)+196>>2]=i,i=e[(e[((e[t>>2]&3|0)==2?t:o)+40>>2]|0)+16>>2]|0,n=e[i+196>>2]|0,i=i+200|0,l=e[i>>2]|0,e[i>>2]=l+1,e[n+(l<<2)>>2]=t,l=e[(e[((e[t>>2]&3|0)==2?t:o)+40>>2]|0)+16>>2]|0,e[(e[l+196>>2]|0)+(e[l+200>>2]<<2)>>2]=0,C[(e[r+16>>2]|0)+240>>0]=1,C[(e[(cr(r)|0)+16>>2]|0)+240>>0]=1}function R7(r){r=r|0;var t=0,i=0;r||H0(85551,85561,269,85690),t=e[(e[r+16>>2]|0)+116>>2]|0,t|0&&(i=(e[t+16>>2]|0)+172|0,(e[i>>2]|0)==(r|0))&&(e[i>>2]=0),yf((e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+188|0,r),yf((e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+196|0,r)}function Ss(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,i=(e[r+16>>2]|0)+172|0,n=e[i>>2]|0;do if((n|0)!=(t|0))if(n)H0(87593,85561,340,85728);else{e[i>>2]=t,X80(r,t);break}else $0(0,85707,o)|0;while(0);g=o}function X80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(i=(e[t+16>>2]|0)+170|0,l=e[r+16>>2]|0,r=$[l+170>>1]|0,(M0[i>>1]|0)<(r&65535)&&($[i>>1]=r),n=l+168|0,o=l+154|0,i=l+156|0,r=t;r;)t=e[r+16>>2]|0,l=t+168|0,$[l>>1]=(M0[l>>1]|0)+(M0[n>>1]|0),l=t+154|0,$[l>>1]=(M0[l>>1]|0)+(M0[o>>1]|0),l=t+156|0,e[l>>2]=(e[l>>2]|0)+(e[i>>2]|0),r=e[t+172>>2]|0}function SM(r){r=r|0;var t=0,i=0,n=0,o=0;i=r+16|0,t=e[(e[i>>2]|0)+172>>2]|0;e:for(;t;)for(_M(t,r),o=e[t+16>>2]|0,n=e[o+172>>2]|0,$[o+168>>1]|0||q80(t);;){if((C[(e[t+16>>2]|0)+112>>0]|0)!=1){t=n;continue e}if(t=e[(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0,(C[t+156>>0]|0)!=1){t=n;continue e}if((e[t+184>>2]|0)!=1){t=n;continue e}t=e[e[t+180>>2]>>2]|0,_M(t,r)}e[(e[i>>2]|0)+172>>2]=0}function _M(r,t){r=r|0,t=t|0;var i=0;i=e[t+16>>2]|0,t=e[r+16>>2]|0,r=t+168|0,$[r>>1]=(M0[r>>1]|0)-(M0[i+168>>1]|0),r=t+154|0,$[r>>1]=(M0[r>>1]|0)-(M0[i+154>>1]|0),t=t+156|0,e[t>>2]=(e[t>>2]|0)-(e[i+156>>2]|0)}function q80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(r||H0(85551,85561,128,85741),l=r+48|0,i=0;t=e[r>>2]|0,n=(e[(e[((t&3|0)==3?r:l)+40>>2]|0)+16>>2]|0)+180|0,o=e[(e[n>>2]|0)+(i<<2)>>2]|0,!!o;)(o|0)==(r|0)&&yf(n,r),i=i+1|0;for(l=r+-48|0,o=0;i=(e[(e[((t&3|0)==2?r:l)+40>>2]|0)+16>>2]|0)+172|0,n=e[(e[i>>2]|0)+(o<<2)>>2]|0,!!n;)(n|0)==(r|0)&&(yf(i,r),t=e[r>>2]|0),o=o+1|0}function $80(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(p=g,g=g+1040|0,f=p+1032|0,w=p,c=p+8|0,A=r+16|0,r=e[A>>2]|0,s=$[r+236>>1]|0;!((s|0)>($[r+238>>1]|0));){for(l=e[r+196>>2]|0,o=l+(s<<6)|0,l=l+(s<<6)+4|0,n=0,r=0;!((n|0)>=(e[o>>2]|0));)t=e[(e[l>>2]|0)+(n<<2)>>2]|0,i=t+16|0,e[(e[i>>2]|0)+112>>2]|0&&(r||(C[f>>0]=C[18588]|0,C[f+1>>0]=C[18589]|0,C[f+2>>0]=C[18590]|0,C[f+3>>0]=C[18591]|0,r=w1(85763,f,0)|0),e[w>>2]=n,Ke(c,137395,w)|0,B=ht(r,c,1)|0,$e(B,91164,24,1)|0,v=e[(e[i>>2]|0)+180>>2]|0,m=e[v>>2]|0,m=e[(e[(e[((e[m>>2]&3|0)==2?m:m+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,v=e[v+4>>2]|0,v=e[(e[(e[((e[v>>2]&3|0)==2?v:v+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,E=(m|0)>(v|0),i=e[B+16>>2]|0,e[i+12>>2]=E?v:m,e[i+16>>2]=E?m:v,e[i+20>>2]=t),n=n+1|0;r|0&&((v2(r)|0)>1&&K80(r,o),Di(r)|0),s=s+1|0,r=e[A>>2]|0}g=p}function K80(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;i=0,s=U0(r)|0;e:for(;s;)for(A=X0(r,s)|0,c=s+16|0,l=A;;){if(!l){s=A;continue e}o=e[l+16>>2]|0,n=e[c>>2]|0,(e[o+16>>2]|0)>(e[n+12>>2]|0)?(e[n+16>>2]|0)<=(e[o+12>>2]|0)&&rr(r,s,l,0,1)|0:(rr(r,l,s,0,1)|0,i=1),l=X0(r,l)|0}do if(i|0){s=ji(r,85766,1)|0,c=j0((v2(r)|0)<<2)|0,A=j0((v2(r)|0)<<2)|0,o=t+4|0,n=U0(r)|0;e:for(;;){if(!n){i=23;break}if(!(e[(e[n+16>>2]|0)+8>>2]|0)&&G9(r,n,1,1)|0){r:do if(G7(r,n,s,A)|0){if(l=v2(s)|0,(b80(r,s,c)|0)!=(l|0)){i=17;break e}for(ei(A,l,4,60),i=0;;){if((i|0)>=(l|0))break r;t=A+(i<<2)|0,f=e[c+(i<<2)>>2]|0,e[(e[f+16>>2]|0)+236>>2]=e[t>>2],e[(e[o>>2]|0)+(e[t>>2]<<2)>>2]=f,i=i+1|0}}while(0);r60(s)}n=X0(r,n)|0}if((i|0)==17)H0(85771,85781,265,85792);else if((i|0)==23){r0(c);break}}while(0)}function G7(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;for(s=e[t+16>>2]|0,e[s+8>>2]=1,s=e[(e[(e[s+20>>2]|0)+16>>2]|0)+236>>2]|0,e[n+((v2(i)|0)<<2)>>2]=s,ft(i,t,1)|0,s=Me(r,t)|0,o=0;s;)c=e[s>>2]&3,l=e[((c|0)==2?s:s+-48|0)+40>>2]|0,A=e[l+16>>2]|0,o=o+((e[(e[(e[A+20>>2]|0)+16>>2]|0)+236>>2]|0)>(e[(e[(e[(e[(e[((c|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+20>>2]|0)+16>>2]|0)+236>>2]|0)&1)|0,e[A+8>>2]|0||(o=(G7(r,l,i,n)|0)+o|0),s=Qe(r,s)|0;for(s=Xo(r,t)|0;s;)A=e[s>>2]&3,l=e[((A|0)==3?s:s+48|0)+40>>2]|0,c=e[l+16>>2]|0,o=o+((e[(e[(e[(e[(e[((A|0)==2?s:s+-48|0)+40>>2]|0)+16>>2]|0)+20>>2]|0)+16>>2]|0)+236>>2]|0)>(e[(e[(e[c+20>>2]|0)+16>>2]|0)+236>>2]|0)&1)|0,e[c+8>>2]|0||(o=(G7(r,l,i,n)|0)+o|0),s=ms(r,s)|0;return o|0}function b80(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(o=0;n=t60(r,t)|0,!!n;){for(e[i+(o<<2)>>2]=e[(e[n+16>>2]|0)+20>>2],Ah(t,n)|0,n=Me(r,n)|0;n;)l=Qe(r,n)|0,R9(r,n)|0,n=l;o=o+1|0}return o|0}function e60(r,t){return r=r|0,t=t|0,(e[r>>2]|0)-(e[t>>2]|0)|0}function r60(r){r=r|0;var t=0,i=0;for(t=U0(r)|0;t;)i=X0(r,t)|0,Ah(r,t)|0,t=i}function t60(r,t){r=r|0,t=t|0;var i=0;for(i=U0(t)|0;;){if(!i){i=0;break}if(!(G9(r,i,1,0)|0))break;i=X0(t,i)|0}return i|0}function zM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(i60(r),s=r+16|0,n=0,i=0;!((n|0)>=(e[(e[s>>2]|0)+220>>2]|0));)n60(r,n),n=n+1|0,i=(Z7(r,0,t)|0)+i|0;for(o60(r),l=1;n=e[s>>2]|0,o=e[n+180>>2]|0,!((l|0)>(o|0));)o=(LM(e[(e[n+184>>2]|0)+(l<<2)>>2]|0,t)|0)+i|0,l=l+1|0,i=o;do if((o|0)>0){if(n=he(r,85806)|0,n|0&&!((jt(n)|0)<<24>>24))break;U7(r),C[193769]=1,i=Z7(r,2,t)|0}while(0);l60(r,i)}function i60(r){r=r|0;var t=0;C[193769]=0,e[46741]=r,t=((ys(cr(r)|0)|0)<<2)+4|0,e[46740]=j0(t)|0,e[46739]=j0(t)|0,C60(r),t=r+16|0,$[(e[t>>2]|0)+136>>1]&16&&E60(r),Hj(r),cp(r,1),UM(r),D7(r),t=e[t>>2]|0,e[46742]=$[t+236>>1],e[46743]=$[t+238>>1]}function n60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;r=e[r+16>>2]|0,e[r+192>>2]=e[(e[r+216>>2]|0)+(t<<2)>>2];e:do if((t|0)>0)for(t=$[r+238>>1]|0,i=r+196|0,r=$[r+236>>1]|0;;){if((r|0)>(t|0))break e;n=e[i>>2]|0,o=n+(r<<6)+4|0,n=n+(r<<6)|0,e[o>>2]=(e[o>>2]|0)+(e[n>>2]<<2),e[n>>2]=0,r=r+1|0}while(0)}function Z7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(p=g,g=g+32|0,w=p,(t|0)>1?(n=Bh(0)|0,j7(r)):n=2147483647,f=e[15712]|0,c=t,o=0,t=n;!((c|0)>=3);){for(o=e[47136]|0,(c|0)==2?((n|0)>(t|0)&&VM(r),n=t):(n=(o|0)<4?o:4,(cr(r)|0)==(r|0)&&YM(r,c),c||WM(r),DM(r),l=Bh(0)|0,(l|0)>(t|0)?(o=n,n=l):(j7(r),o=n,n=l,t=l)),l=0,A=0;!((A|0)>=(o|0)||(s=l+1|0,(n|0)==0|(l|0)>=(e[46744]|0)));)h60(r,A),n=Bh(0)|0,(n|0)>(t|0)?l=s:(j7(r),l=+u[23215]*+(t|0)>+(n|0)?0:s,t=n),A=A+1|0;if(n)c=c+1|0;else{n=0;break}}(n|0)>(t|0)&&VM(r),(t|0)>0?(N7(r,0),n=Bh(0)|0):n=t;e:do if(i|0)for(t=0;;){if((t|0)>=(o|0))break e;w60(r),t=t+1|0}while(0);return g=p,n|0}function o60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(v=g,g=g+16|0,w=v,f60(r),c=r+16|0,t=e[c>>2]|0,f=e[15712]|0,A=$[t+236>>1]|0;!((A|0)>($[t+238>>1]|0));){for(i=e[t+196>>2]|0,n=e[i+(A<<6)+8>>2]|0,e[i+(A<<6)>>2]=n,o=e[i+(A<<6)+12>>2]|0,e[i+(A<<6)+4>>2]=o,s=0;!((s|0)>=(n|0));){if(l=e[o+(s<<2)>>2]|0,!l){p=6;break}e[(e[l+16>>2]|0)+236>>2]=s,s=s+1|0}(p|0)==6&&(p=0,e[i+(A<<6)>>2]=s),A=A+1|0}g=v}function LM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(Lw0(r),D7(r),WM(r),DM(r),o=r+16|0,i=Z7(r,2,t)|0,n=1;l=e[o>>2]|0,!((n|0)>(e[l+180>>2]|0));)i=(LM(e[(e[l+184>>2]|0)+(n<<2)>>2]|0,t)|0)+i|0,n=n+1|0;return MM(r),i|0}function l60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(p=g,g=g+16|0,w=p,i=e[46739]|0,i|0&&(r0(i),e[46739]=0),i=e[46740]|0,i|0&&(r0(i),e[46740]=0),f=r+16|0,i=1;n=e[f>>2]|0,!((i|0)>(e[n+180>>2]|0));)W7(e[(e[n+184>>2]|0)+(i<<2)>>2]|0),i=i+1|0;for(c=$[n+236>>1]|0,i=n;!((c|0)>($[i+238>>1]|0));){for(A=0;i=e[i+196>>2]|0,!((A|0)>=(e[i+(c<<6)>>2]|0));){s=(e[(e[i+(c<<6)+4>>2]|0)+(A<<2)>>2]|0)+16|0,i=e[s>>2]|0,e[i+236>>2]=A,i=e[i+188>>2]|0;e:do if(i|0)for(n=0;;){if(o=e[i+(n<<2)>>2]|0,!o)break e;l=o+16|0,(C[(e[l>>2]|0)+112>>0]|0)==4&&(R7(o),r0(e[l>>2]|0),r0(o),n=n+-1|0,i=e[(e[s>>2]|0)+188>>2]|0),n=n+1|0}while(0);A=A+1|0,i=e[f>>2]|0}s60(e[i+(c<<6)+56>>2]|0),c=c+1|0,i=e[f>>2]|0}g=p}function W7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(o=r+16|0,t=1;n=e[o>>2]|0,!((t|0)>(e[n+180>>2]|0));)W7(e[(e[n+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0;e:do if(e[n+268>>2]|0)for(i=$[n+236>>1]|0,t=n;;){if((i|0)>($[t+238>>1]|0))break e;A=e[(e[t+268>>2]|0)+(i<<2)>>2]|0,s=RM(r,A,-1)|0,A=RM(r,A,1)|0,e[(e[(e[o>>2]|0)+268>>2]|0)+(i<<2)>>2]=s,c=e[(e[(e[(cr(r)|0)+16>>2]|0)+196>>2]|0)+(i<<6)+4>>2]|0,s=e[(e[s+16>>2]|0)+236>>2]|0,n=e[o>>2]|0,l=e[n+196>>2]|0,e[l+(i<<6)+4>>2]=c+(s<<2),e[l+(i<<6)>>2]=(e[(e[A+16>>2]|0)+236>>2]|0)+1-s,i=i+1|0,t=n}while(0)}function s60(r){r=r|0,r|0&&(r0(e[r+8>>2]|0),r0(r))}function RM(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=t;t=A60(t,i)|0,!!t;){if(GM(r,t)|0){n=t;continue}o=(ZM(r,t)|0)==0,n=o?n:t}return n|0}function A60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return r||H0(85856,85781,1023,85858),(t|0)<0?(r=e[r+16>>2]|0,n=e[r+236>>2]|0,(n|0)>0?(r=(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(e[r+232>>2]<<6)+4|0,i=n+-1|0,o=7):l=0):(r=e[r+16>>2]|0,n=e[r+236>>2]|0,r=(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(e[r+232>>2]<<6)+4|0,i=n+1|0,o=7),(o|0)==7&&(r=e[(e[r>>2]|0)+(i<<2)>>2]|0,r?(N0((e[(e[r+16>>2]|0)+236>>2]|0)-n|0,t)|0)>0?l=r:H0(85867,85781,1029,85858):l=0),l|0}function GM(r,t){return r=r|0,t=t|0,C[(e[t+16>>2]|0)+156>>0]|0?r=0:r=(Mi(r,t)|0)!=0&1,r|0}function ZM(r,t){r=r|0,t=t|0;var i=0,n=0;if(t=e[t+16>>2]|0,(C[t+156>>0]|0)==1&&(e[t+176>>2]|0)==1&&(e[t+184>>2]|0)==1){for(t=e[t+180>>2]|0;t=e[t>>2]|0,i=e[t+16>>2]|0,C[i+112>>0]|0;)t=i+116|0;Mi(r,t)|0?t=1:n=7}else n=7;return(n|0)==7&&(t=0),t|0}function D7(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=e[47140]|0;e:do if((t|0)!=0|(e[47161]|0)!=0){if(t=wt(r,t,0)|0,t|0){switch(C[t>>0]|0){case 0:break e;case 111:{if(!(ge(t,86069)|0)){FM(r,1);break e}break}case 105:{if(!(ge(t,98735)|0)){FM(r,0);break e}break}default:}e[i>>2]=t,$0(1,86073,i)|0;break}for(t=yt(r)|0;t;)_j(t)|0||D7(t),t=Ct(t)|0;e[47161]|0&&a60(r)}while(0);g=n}function WM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(A=r+16|0,t=e[A>>2]|0,s=$[t+236>>1]|0;!((s|0)>($[t+238>>1]|0));){for(i=0,l=0;n=e[t+196>>2]|0,o=e[n+(s<<6)>>2]|0,!((l|0)>=(o|0));)n=e[(e[(e[n+(s<<6)+4>>2]|0)+(l<<2)>>2]|0)+16>>2]|0,C[n+158>>0]=0,C[n+157>>0]=0,e[n+284>>2]=l,(i|0)==0&(e[n+192>>2]|0)>0&&(i=u60(o,o)|0,t=e[A>>2]|0,e[(e[t+196>>2]|0)+(s<<6)+56>>2]=i,i=1),l=l+1|0;e:do if(i)for(l=0,i=o;;){if((l|0)>=(i|0))break e;o=e[(e[n+(s<<6)+4>>2]|0)+(l<<2)>>2]|0,C[(e[o+16>>2]|0)+157>>0]|0||(TM(r,o),t=e[A>>2]|0,i=e[t+196>>2]|0,n=i,i=e[i+(s<<6)>>2]|0),l=l+1|0}while(0);s=s+1|0}}function DM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;if(B=r+16|0,t=e[B>>2]|0,C[t+240>>0]|0){o=0,E=$[t+236>>1]|0,m=0,l=0;e:for(;!((E|0)>($[t+238>>1]|0));){if(i=e[t+196>>2]|0,n=e[i+(E<<6)>>2]|0,!n)n=m,i=l;else{for(i=e[i+(E<<6)+4>>2]|0,p=e[(e[(e[i>>2]|0)+16>>2]|0)+236>>2]|0,t=0;!((t|0)>=(n|0));)C[(e[(e[i+(t<<2)>>2]|0)+16>>2]|0)+157>>0]=0,t=t+1|0;for(t=(t<<2)+4|0,o?v=Ve(l,t)|0:v=_0(t)|0,f=0,w=0;t=e[B>>2]|0,i=e[t+196>>2]|0,n=e[i+(E<<6)>>2]|0,!((n|0)<=(w|0));){for(s=e[(e[i+(E<<6)+4>>2]|0)+((e[t+116>>2]&1|0?w:n+~w|0)<<2)>>2]|0,c=s+16|0,t=0,A=0;;){if(l=e[c>>2]|0,(t|0)>=(e[l+200>>2]|0)){i=0,n=0,t=l;break}l=A+((rp(r,e[(e[l+196>>2]|0)+(t<<2)>>2]|0)|0)!=0&1)|0,t=t+1|0,A=l}for(;!((n|0)>=(e[t+192>>2]|0));)l=i+((rp(r,e[(e[t+188>>2]|0)+(n<<2)>>2]|0)|0)!=0&1)|0,i=l,n=n+1|0,t=e[c>>2]|0;i|A?(A|0)==0&(C[t+157>>0]|0)==0?t=(jM(r,s,v+(f<<2)|0,E)|0)+f|0:t=f:(e[v+(f<<2)>>2]=s,t=f+1|0),f=t,w=w+1|0}r:do if(f){t:do if(e[t+116>>2]&1)n=0;else for(i=v,t=v+(f<<2)|0;;){if(t=t+-4|0,i>>>0>=t>>>0){n=0;break t}w=e[i>>2]|0,e[i>>2]=e[t>>2],e[t>>2]=w,i=i+4|0}while(0);for(;;){if(t=e[B>>2]|0,l=e[t+196>>2]|0,i=e[l+(E<<6)>>2]|0,(n|0)>=(i|0)){f=0,n=l;break}w=e[v+(n<<2)>>2]|0,e[(e[l+(E<<6)+4>>2]|0)+(n<<2)>>2]=w,e[(e[w+16>>2]|0)+236>>2]=n+p,n=n+1|0}for(;;){if((f|0)>=(i|0))break r;if(c=(e[(e[n+(E<<6)+4>>2]|0)+(f<<2)>>2]|0)+16|0,l=e[(e[c>>2]|0)+188>>2]|0,l){for(A=0,i=l;n=e[i+(A<<2)>>2]|0,t=e[B>>2]|0,!!n;){if(s=e[n>>2]&3,l=e[(e[(e[((s|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,s=e[(e[(e[((s|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,e[t+116>>2]&1?(l|0)>(s|0)?x=36:t=A:(l|0)<(s|0)?x=36:t=A,(x|0)==36){if(x=0,rp(r,n)|0){x=37;break e}R7(n),NM(r,n),t=A+-1|0,i=e[(e[c>>2]|0)+188>>2]|0}A=t+1|0}i=e[t+196>>2]|0,n=i,i=e[i+(E<<6)>>2]|0}f=f+1|0}}while(0);C[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(E<<6)+49>>0]=0,o=v,n=v,i=v}E=E+1|0,m=n,l=i}(x|0)==37&&H0(85915,85781,1561,85954),o|0&&r0(m)}}function MM(r){r=r|0;var t=0,i=0;i=r+16|0,r=e[i>>2]|0;e:do if(e[r+268>>2]|0)for(t=$[r+236>>1]|0;;){if((t|0)>($[r+238>>1]|0))break e;e[(e[r+268>>2]|0)+(t<<2)>>2]=e[e[(e[r+196>>2]|0)+(t<<6)+4>>2]>>2],t=t+1|0,r=e[i>>2]|0}while(0)}function rp(r,t){return r=r|0,t=t|0,e[(e[t+16>>2]|0)+156>>2]|0&&QM(r,e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0?r=(QM(r,e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0)!=0&1:r=0,r|0}function jM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;f=t+16|0,o=e[f>>2]|0,C[o+157>>0]=1;e:do if((e[o+192>>2]|0)>0)for(l=0,A=0;;){if(s=e[(e[o+188>>2]|0)+(A<<2)>>2]|0,!s)break e;rp(r,s)|0&&(c=e[((e[s>>2]&3|0)==2?s:s+-48|0)+40>>2]|0,(C[(e[c+16>>2]|0)+157>>0]|0)==0)&&(l=(jM(r,c,i+(l<<2)|0,n)|0)+l|0),A=A+1|0,o=e[f>>2]|0}else l=0;while(0);return(e[o+232>>2]|0)==(n|0)?(e[i+(l<<2)>>2]=t,l+1|0):(H0(85967,85781,1490,85983),0)}function NM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;s=e[t>>2]&3,A=e[((s|0)==2?t:t+-48|0)+40>>2]|0,n=e[(e[A+16>>2]|0)+188>>2]|0;e:do if(!n)i=t+48|0,w=15;else{for(f=t+48|0,o=((s|0)==3?t:f)+40|0,i=0;;){if(l=e[n+(i<<2)>>2]|0,!l){i=f,w=15;break e}if((e[((e[l>>2]&3|0)==2?l:l+-48|0)+40>>2]|0)==(e[o>>2]|0))break;i=i+1|0}Ss(t,l),i=(e[t+16>>2]|0)+172|0,e[i>>2]|0||(e[i>>2]=l),i=e[l+16>>2]|0,(C[i+112>>0]|0)==4&&(c=i+116|0,(e[c>>2]|0)==0)&&(e[c>>2]=t),i=e[(e[((e[t>>2]&3|0)==3?t:f)+40>>2]|0)+16>>2]|0,n=e[i+204>>2]|0,n?i=Ve(n,(e[i+208>>2]<<2)+8|0)|0:i=_0((e[i+208>>2]<<2)+8|0)|0,e[(e[(e[((e[t>>2]&3|0)==3?t:f)+40>>2]|0)+16>>2]|0)+204>>2]=i,s=e[(e[((e[t>>2]&3|0)==3?t:f)+40>>2]|0)+16>>2]|0,A=e[s+204>>2]|0,s=s+208|0,c=e[s>>2]|0,e[s>>2]=c+1,e[A+(c<<2)>>2]=t,t=e[(e[((e[t>>2]&3|0)==3?t:f)+40>>2]|0)+16>>2]|0,e[(e[t+204>>2]|0)+(e[t+208>>2]<<2)>>2]=0}while(0);(w|0)==15&&(w=z7(A,e[((s|0)==3?t:i)+40>>2]|0,t)|0,f=e[t+16>>2]|0,t=e[w+16>>2]|0,C[t+112>>0]=(C[f+112>>0]|0)==4?4:3,e[t+96>>2]=e[f+96>>2],ep(r,w))}function QM(r,t){r=r|0,t=t|0;var i=0;return i=GM(r,t)|0,ZM(r,t)|0|i|0}function u60(r,t){r=r|0,t=t|0;var i=0;return i=j0(12)|0,e[i>>2]=r,e[i+4>>2]=t,e[i+8>>2]=j0(N0(t,r)|0)|0,i|0}function TM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;v=t+16|0,f=e[v>>2]|0,c=e[(e[(e[r+16>>2]|0)+196>>2]|0)+(e[f+232>>2]<<6)+56>>2]|0,C[f+157>>0]=1,C[f+158>>0]=1,f=(e[(e[(cr(r)|0)+16>>2]|0)+180>>2]|0)>0,i=e[v>>2]|0,n=e[i+188>>2]|0;e:do if(n){w=c+4|0,p=c+8|0,t=0;r:for(;;){if(A=e[n+(t<<2)>>2]|0,!A){m=i;break e}f?Mi(r,e[((e[A>>2]&3|0)==3?A:A+48|0)+40>>2]|0)|0&&Mi(r,e[((e[A>>2]&3|0)==2?A:A+-48|0)+40>>2]|0)|0&&(E=7):E=7;do if((E|0)==7&&(E=0,l=A+16|0,e[(e[l>>2]|0)+156>>2]|0))if(i=e[A>>2]&3,o=A+-48|0,B=e[(e[((i|0)==2?A:o)+40>>2]|0)+16>>2]|0,s=e[B+284>>2]|0,n=(s|0)<(e[c>>2]|0),(C[B+158>>0]|0)==1){if(!n){E=10;break r}if(i=e[(e[(e[((i|0)==3?A:A+48|0)+40>>2]|0)+16>>2]|0)+284>>2]|0,n=e[w>>2]|0,(i|0)>=(n|0)){E=12;break r}if(C[(e[p>>2]|0)+((N0(n,s)|0)+i)>>0]=1,R7(A),t=t+-1|0,(C[(e[l>>2]|0)+112>>0]|0)==4)break;NM(r,A);break}else{if(!n){E=16;break r}if(i=e[(e[(e[((i|0)==3?A:A+48|0)+40>>2]|0)+16>>2]|0)+284>>2]|0,n=e[w>>2]|0,(i|0)>=(n|0)){E=18;break r}if(C[(e[p>>2]|0)+((N0(n,i)|0)+s)>>0]=1,i=e[((e[A>>2]&3|0)==2?A:o)+40>>2]|0,C[(e[i+16>>2]|0)+157>>0]|0)break;TM(r,i);break}while(0);n=e[v>>2]|0,t=t+1|0,i=n,n=e[n+188>>2]|0}(E|0)==10?H0(85993,85781,1251,86025):(E|0)==12?H0(86037,85781,1252,86025):(E|0)==16?H0(85993,85781,1260,86025):(E|0)==18&&H0(86037,85781,1261,86025)}else m=i;while(0);C[m+158>>0]=0}function FM(r,t){r=r|0,t=t|0;var i=0;for(i=U0(r)|0;i;)M7(r,i,t),i=X0(r,i)|0}function a60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=g,g=g+16|0,n=o,t=U0(r)|0;t;){i=wt(t,e[47161]|0,0)|0;e:do if(i|0){switch(C[i>>0]|0){case 0:break e;case 111:{if(!(ge(i,86069)|0)){M7(r,t,1);break e}break}case 105:{if(!(ge(i,98735)|0)){M7(r,t,0);break e}break}default:}l=te(t)|0,e[n>>2]=i,e[n+4>>2]=l,$0(1,86104,n)|0}while(0);t=X0(r,t)|0}g=o}function M7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=e[46740]|0,l=t+16|0,n=e[l>>2]|0;e:do if(!(e[n+212>>2]|0)){s=(i|0)!=0;r:do if(s)for(o=0,t=0,i=n;;){if(n=e[(e[i+180>>2]|0)+(o<<2)>>2]|0,!n)break r;PM(n)|0||(e[A+(t<<2)>>2]=n,t=t+1|0,i=e[l>>2]|0),o=o+1|0}else for(o=0,t=0,i=n;;){if(n=e[(e[i+172>>2]|0)+(o<<2)>>2]|0,!n)break r;PM(n)|0||(e[A+(t<<2)>>2]=n,t=t+1|0,i=e[l>>2]|0),o=o+1|0}while(0);if((t|0)>=2)for(e[A+(t<<2)>>2]=0,ei(A,t,4,61),l=s?2:3,o=s?-1:1,n=1;;){if(t=e[A+(n<<2)>>2]|0,!t||(i=e[A+(n+-1<<2)>>2]|0,i=e[((e[i>>2]&3|0)==(l|0)?i:i+(o*48|0)|0)+40>>2]|0,t=e[((e[t>>2]&3|0)==(l|0)?t:t+(o*48|0)|0)+40>>2]|0,BM(i,t)|0))break e;s=z7(i,t,0)|0,C[(e[s+16>>2]|0)+112>>0]=4,ep(r,s),n=n+1|0}}while(0)}function PM(r){r=r|0;for(var t=0;t=e[(e[r+16>>2]|0)+116>>2]|0,t;)r=t;return t=e[r>>2]&3,(e[(e[(e[((t|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0)!=(e[(e[(e[((t|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0)|0}function c60(r,t){return r=r|0,t=t|0,((e[e[r>>2]>>2]|0)>>>4)-((e[e[t>>2]>>2]|0)>>>4)|0}function f60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(n=e[r+16>>2]|0,o=n+220|0,l=e[o>>2]|0,(l|0)>=2){for(s=n+216|0,r=0,i=0;!((i|0)>=(l|0));){for(t=e[(e[s>>2]|0)+(i<<2)>>2]|0,r|0&&(e[(e[r+16>>2]|0)+164>>2]=t),A=e[t+16>>2]|0,e[A+168>>2]=r,r=t,t=A;t=e[t+164>>2]|0,!!t;)r=t,t=e[t+16>>2]|0;i=i+1|0}e[o>>2]=1,e[n+192>>2]=e[e[n+216>>2]>>2],$[n+236>>1]=e[46742],$[n+238>>1]=e[46743]}}function Bh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(l=e[46741]|0,s=l+16|0,i=e[s>>2]|0,n=0,o=$[i+236>>1]|0;!((o|0)>=($[i+238>>1]|0));)r=e[i+196>>2]|0,C[r+(o<<6)+49>>0]|0?(t=e[r+(o<<6)+52>>2]|0,r=i):(t=y60(l,o)|0,r=e[s>>2]|0,i=e[r+196>>2]|0,e[i+(o<<6)+52>>2]=t,C[i+(o<<6)+49>>0]=1),n=t+n|0,o=o+1|0,i=r;return n|0}function j7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(r=e[r+16>>2]|0,o=$[r+238>>1]|0,l=r+196|0,r=$[r+236>>1]|0;!((r|0)>(o|0));){for(n=e[l>>2]|0,i=e[n+(r<<6)>>2]|0,n=n+(r<<6)+4|0,t=0;!((t|0)>=(i|0));)s=e[(e[(e[n>>2]|0)+(t<<2)>>2]|0)+16>>2]|0,u[s+16>>3]=+(e[s+236>>2]|0),t=t+1|0;r=r+1|0}}function YM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(m=g,g=g+16|0,c=m,f=r+16|0,w=SQ(e[(e[f>>2]|0)+232>>2]|0)|0,s=e[f>>2]|0,i=s+192|0,n=i;n=e[n>>2]|0,!!n;)n=e[n+16>>2]|0,C[n+157>>0]=0,n=n+164|0;for(o=$[s+238>>1]|0,l=s+196|0,n=$[s+236>>1]|0;!((n|0)>(o|0));)e[(e[l>>2]|0)+(n<<6)>>2]=0,n=n+1|0;for(l=(t|0)==0;n=e[i>>2]|0,!!n;){if(o=n+16|0,i=e[o>>2]|0,!(e[e[(l?i+172|0:i+180|0)>>2]>>2]|0)&&(A=i+157|0,(C[A>>0]|0)==0)){for(C[A>>0]=1,Th(w,n);i=SC(w)|0,!!i;)if((C[(e[i+16>>2]|0)+159>>0]|0)==7){Ww0(r,i,t,w);continue}else{OM(r,i),HM(w,i,t);continue}i=e[o>>2]|0}i=i+164|0}for(SC(w)|0&&$0(1,86312,c)|0,i=e[f>>2]|0,s=$[i+236>>1]|0;!((s|0)>($[i+238>>1]|0));){if(C[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(s<<6)+49>>0]=0,e[i+116>>2]&1|0&&(p=e[i+196>>2]|0,v=e[p+(s<<6)>>2]|0,(v|0)>0)){for(n=e[p+(s<<6)+4>>2]|0,o=v+-1|0,l=(o|0)/2|0,i=0;!((i|0)>(l|0));)Ih(e[n+(i<<2)>>2]|0,e[n+(o-i<<2)>>2]|0),i=i+1|0;i=e[f>>2]|0}s=s+1|0}(cr(r)|0)==(r|0)&&(Bh(0)|0)>0&&N7(r,0),_Q(w),g=m}function VM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(f=r+16|0,r=e[f>>2]|0,i=$[r+236>>1]|0,t=$[r+238>>1]|0,A=t<<16>>16,c=r+196|0,n=i;!((n|0)>(A|0));){for(s=e[c>>2]|0,l=e[s+(n<<6)>>2]|0,s=s+(n<<6)+4|0,o=0;!((o|0)>=(l|0));)w=e[(e[(e[s>>2]|0)+(o<<2)>>2]|0)+16>>2]|0,e[w+236>>2]=~~+u[w+16>>3],o=o+1|0;n=n+1|0}for(;!((i|0)>(t<<16>>16|0));)C[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(i<<6)+49>>0]=0,w=e[r+196>>2]|0,ei(e[w+(i<<6)+4>>2]|0,e[w+(i<<6)>>2]|0,4,62),w=e[f>>2]|0,i=i+1|0,t=$[w+238>>1]|0,r=w}function h60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=((t|0)%4|0|0)<2&1,i=e[r+16>>2]|0,t&1?(t=$[i+238>>1]|0,n=-1,i=$[i+236>>1]|0,t=((t<<16>>16>=($[(e[(e[46741]|0)+16>>2]|0)+238>>1]|0))<<31>>31)+(t<<16>>16)|0):(t=$[i+236>>1]|0,n=1,i=$[i+238>>1]|0,t=(t<<16>>16<=($[(e[(e[46741]|0)+16>>2]|0)+236>>1]|0)&1)+(t<<16>>16)|0),i=n+i|0;(t|0)!=(i|0);)v60(r,t,o,(k60(r,t,t-n|0)|0)&255),t=t+n|0;N7(r,o^1)}function N7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=r+16|0,n=e[A>>2]|0,l=$[n+236>>1]|0,s=$[n+238>>1]|0,o=n+196|0,i=l<<16>>16;;){if((i|0)>(s|0)){o=l;break}C[(e[o>>2]|0)+(i<<6)+48>>0]=1,i=i+1|0}for(;;){for(i=0,o=o<<16>>16;!((o|0)>($[n+238>>1]|0));)C[(e[n+196>>2]|0)+(o<<6)+48>>0]|0&&(i=(p60(r,o,t)|0)+i|0,n=e[A>>2]|0),o=o+1|0;if((i|0)<=0)break;o=$[n+236>>1]|0}}function w60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;p=r+16|0,t=e[p>>2]|0,w=$[t+238>>1]|0;e:for(;;){if((w|0)<($[t+236>>1]|0)){t=16;break}i=e[t+196>>2]|0,C[i+(w<<6)+48>>0]=0,v=(w|0)>0,m=w+1|0,n=0;r:for(;;){for(c=(e[i+(w<<6)>>2]|0)+-1|0,f=i+(w<<6)+4|0,A=i+(m<<6)|0;;){if((n|0)>=(c|0))break r;if(s=e[f>>2]|0,l=e[s+(n<<2)>>2]|0,n=n+1|0,s=e[s+(n<<2)>>2]|0,(e[(e[l+16>>2]|0)+236>>2]|0)>=(e[(e[s+16>>2]|0)+236>>2]|0)){t=7;break e}if(!(Q7(r,l,s)|0)&&(v?(i=tp(l,s)|0,o=tp(s,l)|0):(i=0,o=0),(e[A>>2]|0)>0&&(i=(ip(l,s)|0)+i|0,o=(ip(s,l)|0)+o|0),(o|0)<=(i|0)))break}d60(r,w,l,s),t=e[p>>2]|0,i=e[t+196>>2]|0}w=w+-1|0}if((t|0)==7)H0(86263,85781,721,86289);else if((t|0)==16)return}function Q7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;A=e[t+16>>2]|0,s=e[A+212>>2]|0,n=e[i+16>>2]|0,o=e[n+212>>2]|0,l=(s|0)!=(o|0);do if(C[193769]|0)l?r=1:c=9;else if((o|0)==0|((s|0)==0|l^1))c=9;else{if((C[A+159>>0]|0)==7&&(C[A+156>>0]|0)==1){r=0;break}if((C[n+159>>0]|0)==7&&(C[n+156>>0]|0)==1){r=0;break}r=1}while(0);return(c|0)==9&&(n=e[r+16>>2]|0,r=e[(e[n+196>>2]|0)+(e[A+232>>2]<<6)+56>>2]|0,r?(A=(e[n+116>>2]&1|0)==0,c=N0(e[r+4>>2]|0,e[(e[(A?t:i)+16>>2]|0)+284>>2]|0)|0,r=C[(e[r+8>>2]|0)+((e[(e[(A?i:t)+16>>2]|0)+284>>2]|0)+c)>>0]|0):r=0),r|0}function tp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(c=r+16|0,s=e[(e[t+16>>2]|0)+172>>2]|0,t=0;r=e[s>>2]|0,!!r;){for(l=e[r+16>>2]|0,A=$[l+154>>1]|0,o=e[(e[(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,l=l+16|0,n=e[(e[c>>2]|0)+172>>2]|0,r=t;t=e[n>>2]|0,!!t;)i=(e[(e[(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-o|0,(i|0)<=0?!(i|0)&&(f=e[t+16>>2]|0,+u[f+16>>3]>+u[l>>3])&&(t=f,w=9):(t=e[t+16>>2]|0,w=9),(w|0)==9&&(w=0,r=(N0($[t+154>>1]|0,A)|0)+r|0),n=n+4|0;s=s+4|0,t=r}return t|0}function ip(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(c=r+16|0,s=e[(e[t+16>>2]|0)+180>>2]|0,t=0;r=e[s>>2]|0,!!r;){for(l=e[r+16>>2]|0,A=$[l+154>>1]|0,o=e[(e[(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,l=l+56|0,n=e[(e[c>>2]|0)+180>>2]|0,r=t;t=e[n>>2]|0,!!t;)i=(e[(e[(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-o|0,(i|0)<=0?!(i|0)&&(f=e[t+16>>2]|0,+u[f+56>>3]>+u[l>>3])&&(t=f,w=9):(t=e[t+16>>2]|0,w=9),(w|0)==9&&(w=0,r=(N0($[t+154>>1]|0,A)|0)+r|0),n=n+4|0;s=s+4|0,t=r}return t|0}function d60(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;if(s=C[(e[i+16>>2]|0)+156>>0]|0,s<<24>>24!=(C[(e[n+16>>2]|0)+156>>0]|0)){for(A=r+16|0,f=e[(e[A>>2]|0)+196>>2]|0,c=e[f+(t<<6)>>2]|0,f=f+(t<<6)+4|0,r=0,o=0,l=0;!((r|0)>=(c|0));)v=(C[(e[(e[(e[f>>2]|0)+(r<<2)>>2]|0)+16>>2]|0)+156>>0]|0)==0,r=r+1|0,o=o+(v&1)|0,l=l+((v^1)&1)|0;for(s=s<<24>>24==0,l=(o|0)<(l|0)?s?i:n:s?n:i,s=0,r=0;!((r|0)>=(c|0));)s=(e[(e[f>>2]|0)+(r<<2)>>2]|0)==(l|0)?r:s,r=r+1|0;for(v=(C[(e[l+16>>2]|0)+156>>0]|0)==0&1,p=0,o=s;;){if(r=o+-1|0,(o|0)<=0){w=0,r=s;break}if((C[(e[(e[(e[f>>2]|0)+(r<<2)>>2]|0)+16>>2]|0)+156>>0]|0)!=(v|0)){w=0,r=s;break}p=p+1|0,o=r}for(;r=r+1|0,!((r|0)>=(c|0)||(C[(e[(e[(e[f>>2]|0)+(r<<2)>>2]|0)+16>>2]|0)+156>>0]|0)!=(v|0));)w=w+1|0;for(Ih(i,n),A=e[(e[A>>2]|0)+196>>2]|0,c=e[A+(t<<6)>>2]|0,A=A+(t<<6)+4|0,r=0;;){if((r|0)>=(c|0)){l=0,o=s;break}s=(e[(e[A>>2]|0)+(r<<2)>>2]|0)==(l|0)?r:s,r=r+1|0}for(;;){if(r=o+-1|0,(o|0)<=0){o=0,r=s;break}if((C[(e[(e[(e[A>>2]|0)+(r<<2)>>2]|0)+16>>2]|0)+156>>0]|0)!=(v|0)){o=0,r=s;break}l=l+1|0,o=r}for(;r=r+1|0,!((r|0)>=(c|0)||(C[(e[(e[(e[A>>2]|0)+(r<<2)>>2]|0)+16>>2]|0)+156>>0]|0)!=(v|0));)o=o+1|0;t=l-o|0,v=p-w|0,(((t|0)>-1?t:0-t|0)|0)>(((v|0)>-1?v:0-v|0)|0)&&Ih(i,n)}}function Ih(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;o=e[r+16>>2]|0,n=e[o+232>>2]|0,o=o+236|0,i=e[o>>2]|0,l=t+16|0,s=e[(e[l>>2]|0)+236>>2]|0,e[o>>2]=s,o=(e[46741]|0)+16|0,e[(e[(e[(e[o>>2]|0)+196>>2]|0)+(n<<6)+4>>2]|0)+(s<<2)>>2]=r,e[(e[l>>2]|0)+236>>2]=i,e[(e[(e[(e[o>>2]|0)+196>>2]|0)+(n<<6)+4>>2]|0)+(i<<2)>>2]=t}function p60(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;m=r+16|0,w=e[(e[m>>2]|0)+196>>2]|0,C[w+(t<<6)+48>>0]=0,E=(t|0)>0,B=t+1|0,p=(i|0)!=0,v=t+-1|0,n=0,l=0,i=w;e:for(;;){for(c=(e[i+(t<<6)>>2]|0)+-1|0,f=i+(t<<6)+4|0,o=i+(B<<6)|0,w=n;;){if((w|0)>=(c|0)){i=17;break e}if(A=e[f>>2]|0,s=e[A+(w<<2)>>2]|0,w=w+1|0,A=e[A+(w<<2)>>2]|0,(e[(e[s+16>>2]|0)+236>>2]|0)>=(e[(e[A+16>>2]|0)+236>>2]|0)){i=5;break e}if(!(Q7(r,s,A)|0)){if(E?(i=tp(s,A)|0,n=tp(A,s)|0):(i=0,n=0),(e[o>>2]|0)>0&&(i=(ip(s,A)|0)+i|0,n=(ip(A,s)|0)+n|0),(i|0)>(n|0))break;if((i|0)==(n|0)&(p&(i|0)>0)){i=n;break}}}if(Ih(s,A),l=i-n+l|0,n=e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0,C[n+(t<<6)+49>>0]=0,o=e[m>>2]|0,i=e[o+196>>2]|0,C[i+(t<<6)+48>>0]=1,($[o+236>>1]|0)<(t|0)&&(C[n+(v<<6)+49>>0]=0,C[i+(v<<6)+48>>0]=1),($[o+238>>1]|0)<=(t|0)){n=w;continue}C[n+(B<<6)+49>>0]=0,C[i+(B<<6)+48>>0]=1,n=w}if((i|0)==5)H0(86263,85781,770,86297);else if((i|0)==17)return l|0;return 0}function k60(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(p=e[46739]|0,v=r+16|0,r=e[(e[v>>2]|0)+196>>2]|0,m=e[r+(t<<6)+4>>2]|0,f=(i|0)>(t|0),w=p+4|0,c=0;;){if(i=e[r+(t<<6)>>2]|0,(c|0)>=(i|0)){r=0,l=0;break}A=(e[m+(c<<2)>>2]|0)+16|0,r=e[A>>2]|0;e:do if(f)for(s=e[r+180>>2]|0,r=0,l=0;;){if(i=e[s+(l<<2)>>2]|0,!i)break e;n=e[i+16>>2]|0,($[n+154>>1]|0)>0&&(e[p+(r<<2)>>2]=e[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]<<8|s0[n+88>>0],r=r+1|0),l=l+1|0}else for(s=e[r+172>>2]|0,l=0,r=0;;){if(i=e[s+(l<<2)>>2]|0,!i)break e;n=e[i+16>>2]|0,($[n+154>>1]|0)>0&&(e[p+(r<<2)>>2]=e[(e[(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+236>>2]<<8|s0[n+48>>0],r=r+1|0),l=l+1|0}while(0);e:do switch(r|0){case 0:{o=-1;break}case 1:{o=+(e[p>>2]|0);break}case 2:{o=+(((e[w>>2]|0)+(e[p>>2]|0)|0)/2|0|0);break}default:{if(ei(p,r,4,60),i=(r|0)/2|0,r&1|0){o=+(e[p+(i<<2)>>2]|0);break e}if(l=e[p+(i<<2)>>2]|0,n=(e[p+(r+-1<<2)>>2]|0)-l|0,r=e[p+(i+-1<<2)>>2]|0,i=r-(e[p>>2]|0)|0,(i|0)==(n|0)){o=+((r+l|0)/2|0|0);break e}else{o=+(((N0(i,l)|0)+(N0(r,n)|0)|0)/(i+n|0)|0|0);break e}}}while(0);u[(e[A>>2]|0)+240>>3]=o,c=c+1|0,r=e[(e[v>>2]|0)+196>>2]|0}for(;!((l|0)>=(i|0));)n=e[m+(l<<2)>>2]|0,p=e[n+16>>2]|0,!(e[p+184>>2]|0)&&!(e[p+176>>2]|0)&&(r=(m60(n)|0|r&255)&255,i=e[(e[(e[v>>2]|0)+196>>2]|0)+(t<<6)>>2]|0),l=l+1|0;return r|0}function v60(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(p=e[(e[r+16>>2]|0)+196>>2]|0,B=e[p+(t<<6)+4>>2]|0,p=e[p+(t<<6)>>2]|0,m=(i|0)!=0,v=(n|i|0)==0,n=0,i=p,p=B+(p<<2)|0;w=i+-1|0,(i|0)>0;){i=B;e:for(;;){r:for(;;){if(i>>>0>=p>>>0)break e;for(;;){if(i>>>0>=p>>>0)break e;if(c=e[i>>2]|0,f=+u[(e[c+16>>2]|0)+240>>3],!(f<0))break;i=i+4|0}for(A=0;;){for(o=A<<24>>24==0;;){if(i=i+4|0,i>>>0>=p>>>0)break e;if(o){o=11;break}if(l=e[i>>2]|0,!(e[(e[l+16>>2]|0)+212>>2]|0)){o=13;break}}if((o|0)==11?(l=e[i>>2]|0,s=l):(o|0)==13&&(s=l),Q7(r,c,s)|0)continue r;if(o=e[l+16>>2]|0,+u[o+240>>3]>=0)break;A=e[o+212>>2]|0?1:A}if(o=~~f,A=~~+u[(e[l+16>>2]|0)+240>>3],(o|0)>(A|0)|m&(o|0)==(A|0))break}Ih(c,s),n=n+1|0}i=w,p=v?p+-4|0:p}n|0&&(E=e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0,C[E+(t<<6)+49>>0]=0,(t|0)>0)&&(C[E+(t+-1<<6)+49>>0]=0)}function m60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(l=e[r+16>>2]|0,(e[l+200>>2]|0)>0){for(o=e[l+196>>2]|0,r=e[o>>2]|0,r=e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0,i=1;n=e[o+(i<<2)>>2]|0,!!n;)n=e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0,r=(e[(e[n+16>>2]|0)+236>>2]|0)>(e[(e[r+16>>2]|0)+236>>2]|0)?n:r,i=i+1|0;t=+u[(e[r+16>>2]|0)+240>>3],t>=0?(u[l+240>>3]=t+1,r=0):r=1}else if((e[l+192>>2]|0)>0){for(n=e[l+188>>2]|0,i=e[n>>2]|0,r=1,i=e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0;o=e[n+(r<<2)>>2]|0,!!o;)o=e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0,r=r+1|0,i=(e[(e[o+16>>2]|0)+236>>2]|0)<(e[(e[i+16>>2]|0)+236>>2]|0)?o:i;t=+u[(e[i+16>>2]|0)+240>>3],t>0?(u[l+240>>3]=t+-1,r=0):r=1}else r=1;return r|0}function g60(r,t){return r=r|0,t=t|0,(e[(e[(e[r>>2]|0)+16>>2]|0)+236>>2]|0)-(e[(e[(e[t>>2]|0)+16>>2]|0)+236>>2]|0)|0}function OM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+96|0,p=v+64|0,w=v+48|0,l=v+24|0,n=v,A=t+16|0,c=e[(e[A>>2]|0)+232>>2]|0,f=r+16|0,i=e[(e[f>>2]|0)+196>>2]|0,s=e[i+(c<<6)>>2]|0;do if((e[i+(c<<6)+8>>2]|0)>=1){if(e[(e[i+(c<<6)+4>>2]|0)+(s<<2)>>2]=t,e[(e[A>>2]|0)+236>>2]=s,r=e[f>>2]|0,n=e[r+196>>2]|0,i=n+(c<<6)|0,o=e[i>>2]|0,e[i>>2]=o+1,(o|0)>=(e[n+(c<<6)+8>>2]|0)&&H0(86377,85781,1346,86413),o=e[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(c<<6)+8>>2]|0,(s|0)>(o|0)){f=te(t)|0,w=e[(e[A>>2]|0)+236>>2]|0,p=e[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(c<<6)+8>>2]|0,e[l>>2]=1359,e[l+4>>2]=f,e[l+8>>2]=w,e[l+12>>2]=c,e[l+16>>2]=p,$0(1,86429,l)|0;break}if(i=$[r+236>>1]|0,r=$[r+238>>1]|0,(c|0)<(i|0)|(c|0)>(r<<16>>16|0)){e[w>>2]=1364,e[w+4>>2]=c,e[w+8>>2]=i,e[w+12>>2]=r<<16>>16,$0(1,86502,w)|0;break}((e[n+(c<<6)+4>>2]|0)+(s<<2)|0)>>>0>((e[n+(c<<6)+12>>2]|0)+(o<<2)|0)>>>0&&(s=te(t)|0,w=e[(e[f>>2]|0)+196>>2]|0,f=(e[w+(c<<6)+4>>2]|0)+(e[(e[A>>2]|0)+236>>2]<<2)|0,w=(e[w+(c<<6)+12>>2]|0)+(e[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(c<<6)+8>>2]<<2)|0,e[p>>2]=1370,e[p+4>>2]=c,e[p+8>>2]=s,e[p+12>>2]=f,e[p+16>>2]=c,e[p+20>>2]=c,e[p+24>>2]=w,$0(1,86563,p)|0)}else w=te(r)|0,p=te(t)|0,e[n>>2]=1339,e[n+4>>2]=w,e[n+8>>2]=p,e[n+12>>2]=c,e[n+16>>2]=s,$0(1,86322,n)|0;while(0);g=v}function HM(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=t+16|0;e:do if(i)for(o=0;;){if(t=e[l>>2]|0,(o|0)>=(e[t+176>>2]|0))break e;t=e[(e[t+172>>2]|0)+(o<<2)>>2]|0,i=t+48|0,n=(e[(e[((e[t>>2]&3|0)==3?t:i)+40>>2]|0)+16>>2]|0)+157|0,C[n>>0]|0||(C[n>>0]=1,Th(r,e[((e[t>>2]&3|0)==3?t:i)+40>>2]|0)),o=o+1|0}else for(o=0;;){if(t=e[l>>2]|0,(o|0)>=(e[t+184>>2]|0))break e;t=e[(e[t+180>>2]|0)+(o<<2)>>2]|0,i=t+-48|0,n=(e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0)+157|0,C[n>>0]|0||(C[n>>0]=1,Th(r,e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)),o=o+1|0}while(0)}function y60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(z=g,g=g+16|0,x=z,n=r+16|0,i=e[(e[n>>2]|0)+196>>2]|0,E=e[i+(t<<6)+4>>2]|0,B=t+1|0,r=e[(e[(e[(e[46741]|0)+16>>2]|0)+196>>2]|0)+(B<<6)>>2]|0,(e[46745]|0)>(r|0)?v=e[46746]|0:(r=r+1|0,e[46745]=r,i=e[46746]|0,i?r=Ve(i,r<<2)|0:r=_0(r<<2)|0,e[46746]=r,i=e[(e[n>>2]|0)+196>>2]|0,v=r),m=i+(B<<6)|0,r=0;!((r|0)>=(e[m>>2]|0));)e[v+(r<<2)>>2]=0,r=r+1|0;for(p=i+(t<<6)|0,w=0,o=0,r=0,s=v;A=e[p>>2]|0,!((w|0)>=(A|0));){f=e[(e[(e[E+(w<<2)>>2]|0)+16>>2]|0)+180>>2]|0;e:do if((o|0)>0)for(c=0;;){if(n=e[f+(c<<2)>>2]|0,!n)break e;for(A=n+16|0,l=e[(e[(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0;n=l+1|0,!((l|0)>=(o|0));)l=n,r=(N0(e[s+(n<<2)>>2]|0,$[(e[A>>2]|0)+154>>1]|0)|0)+r|0;c=c+1|0}while(0);for(l=0;n=e[f+(l<<2)>>2]|0,!!n;)s=e[(e[(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,c=v+(s<<2)|0,e[c>>2]=(e[c>>2]|0)+($[(e[n+16>>2]|0)+154>>1]|0),o=(s|0)>(o|0)?s:o,l=l+1|0,s=v;w=w+1|0}for(l=i+(t<<6)+4|0,o=0;!((o|0)>=(A|0));)n=e[(e[(e[l>>2]|0)+(o<<2)>>2]|0)+16>>2]|0,C[n+145>>0]|0&&(t=n+180|0,e[x>>2]=e[t>>2],e[x+4>>2]=e[t+4>>2],r=(JM(x,1)|0)+r|0),o=o+1|0;for(l=e[m>>2]|0,o=i+(B<<6)+4|0,n=0;!((n|0)>=(l|0));)i=e[(e[(e[o>>2]|0)+(n<<2)>>2]|0)+16>>2]|0,C[i+145>>0]|0&&(B=i+172|0,e[x>>2]=e[B>>2],e[x+4>>2]=e[B+4>>2],r=(JM(x,-1)|0)+r|0),n=n+1|0;return g=z,r|0}function JM(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;w=(t|0)<1,c=e[r>>2]|0,t=0,r=0;e:for(;f=e[c+(t<<2)>>2]|0,!!f;)if(t=t+1|0,w)for(s=f+48|0,A=f+16|0,l=t;;){if(i=e[c+(l<<2)>>2]|0,!i)continue e;n=e[i+16>>2]|0,o=e[A>>2]|0,(+u[n+56>>3]-+u[o+56>>3])*+((e[(e[(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-(e[(e[(e[((e[f>>2]&3|0)==3?f:s)+40>>2]|0)+16>>2]|0)+236>>2]|0)|0)<0&&(r=(N0($[n+154>>1]|0,$[o+154>>1]|0)|0)+r|0),l=l+1|0}else for(s=f+-48|0,A=f+16|0,l=t;;){if(i=e[c+(l<<2)>>2]|0,!i)continue e;n=e[i+16>>2]|0,o=e[A>>2]|0,(+u[n+16>>3]-+u[o+16>>3])*+((e[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0)-(e[(e[(e[((e[f>>2]&3|0)==2?f:s)+40>>2]|0)+16>>2]|0)+236>>2]|0)|0)<0&&(r=(N0($[n+154>>1]|0,$[o+154>>1]|0)|0)+r|0),l=l+1|0}return r|0}function C60(r){r=r|0;var t=0,i=0;e[46744]=8,e[47136]=24,u[23215]=.995,r=he(r,86685)|0,r|0&&(t=+Fl(r),t>0)&&(i=t*+(e[46744]|0),e[46744]=~~(i>1?i:1),t=t*+(e[47136]|0),e[47136]=~~(t>1?t:1))}function E60(r){r=r|0;var t=0,i=0;i=($[(e[r+16>>2]|0)+238>>1]|0)+2|0,t=j0(i<<2)|0,XM(r,t,i,0)|0,r0(t)}function UM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(l=r+16|0,s=j0(($[(e[l>>2]|0)+238>>1]<<2)+8|0)|0,o=U0(r)|0;o;){for(n=s+(e[(e[o+16>>2]|0)+232>>2]<<2)|0,e[n>>2]=(e[n>>2]|0)+1,n=Me(r,o)|0;n;){for(A=e[n>>2]&3,t=e[(e[(e[((A|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0,A=e[(e[(e[((A|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0,c=(t|0)>(A|0),i=c?t:A,t=c?A:t;t=t+1|0,!((t|0)>=(i|0));)c=s+(t<<2)|0,e[c>>2]=(e[c>>2]|0)+1;n=Qe(r,n)|0}o=X0(r,o)|0}for(n=j0(($[(e[l>>2]|0)+238>>1]<<6)+128|0)|0,i=e[l>>2]|0,e[i+196>>2]=n,t=$[i+236>>1]|0;!((t|0)>($[i+238>>1]|0));)A=s+(t<<2)|0,i=e[A>>2]|0,e[n+(t<<6)>>2]=i,e[n+(t<<6)+8>>2]=i,A=j0((e[A>>2]<<2)+4|0)|0,i=e[l>>2]|0,c=e[i+196>>2]|0,e[c+(t<<6)+4>>2]=A,e[c+(t<<6)+12>>2]=A,t=t+1|0,n=c;r0(s)}function XM(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(f=r+16|0,l=1;o=e[f>>2]|0,!((l|0)>(e[o+180>>2]|0));)c=XM(e[(e[o+184>>2]|0)+(l<<2)>>2]|0,t,i,n)|0,l=l+1|0,n=c;e:do if((cr(r)|0)!=(r|0)){for(qr(t|0,0,i<<2|0)|0,o=U0(r)|0;o;){for(A=o+16|0,e[t+(e[(e[A>>2]|0)+232>>2]<<2)>>2]=1,l=Me(r,o)|0;l;){for(c=l+-48|0,s=e[(e[A>>2]|0)+232>>2]|0;i=s+1|0,!((s|0)>=(e[(e[(e[((e[l>>2]&3|0)==2?l:c)+40>>2]|0)+16>>2]|0)+232>>2]|0));)e[t+(i<<2)>>2]=1,s=i;l=Qe(r,l)|0}o=X0(r,o)|0}for(o=e[f>>2]|0,l=$[o+236>>1]|0;;){if((l|0)>($[o+238>>1]|0))break e;e[t+(l<<2)>>2]|0||(n||(n=ji(cr(r)|0,86675,1)|0),o=ht(n,0,1)|0,$e(o,137447,304,1)|0,c=o+16|0,s=e[c>>2]|0,e[s+232>>2]=l,u[s+96>>3]=.5,u[s+88>>3]=.5,u[s+80>>3]=1,e[s+216>>2]=1,e[s+176>>2]=0,s=j0(20)|0,A=e[c>>2]|0,e[A+172>>2]=s,e[A+184>>2]=0,A=j0(20)|0,e[(e[c>>2]|0)+180>>2]=A,ft(r,o,1)|0,o=e[f>>2]|0),l=l+1|0}}while(0);return n|0}function qM(r){r=r|0;var t=0,i=0;for(MM(r),t=r+16|0,r=1;i=e[t>>2]|0,!((r|0)>(e[i+180>>2]|0));)qM(e[(e[i+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0}function B60(r){r=r|0;var t=0,i=0;t=e[r>>2]&3,i=$M(e[((t|0)==3?r:r+48|0)+40>>2]|0)|0,t=e[17308+(i*12|0)+(($M(e[((t|0)==2?r:r+-48|0)+40>>2]|0)|0)<<2)>>2]|0,r=(e[r+16>>2]|0)+156|0,e[r>>2]=N0(e[r>>2]|0,t)|0}function $M(r){return r=r|0,r=e[r+16>>2]|0,(C[r+156>>0]|0)==1?r=2:r=(C[r+160>>0]|0)<2&1,r|0}function KM(r,t){r=r|0,t=t|0,e[(e[r+16>>2]|0)+192>>2]|0&&(U7(r),bM(r),C[194954]|0&&Qw0(r),I60(r),qw0(r)|0&&bM(r),x60(r),Ea(r,2,ej(r)|0)|0&&(S60(r),Ea(r,2,ej(r)|0)|0)&&H0(86693,86721,134,86732),_60(r),z60(r,t),L60(r))}function bM(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0;for(z=r+16|0,t=e[z>>2]|0,_=e[t+196>>2]|0,B=$[t+236>>1]|0;!((B|0)>($[t+238>>1]|0));){for(f=_+(B<<6)|0,w=_+(B<<6)+4|0,p=_+(B<<6)+40|0,v=_+(B<<6)+24|0,m=_+(B<<6)+32|0,E=_+(B<<6)+16|0,c=0;!((c|0)>=(e[f>>2]|0));){A=(e[(e[w>>2]|0)+(c<<2)>>2]|0)+16|0,t=e[A>>2]|0,l=+u[t+80>>3]*.5,o=e[t+204>>2]|0;e:do if(o)for(n=0;;){if(i=e[o+(n<<2)>>2]|0,!i)break e;L=e[i>>2]&3,(e[((L|0)==3?i:i+48|0)+40>>2]|0)==(e[((L|0)==2?i:i+-48|0)+40>>2]|0)&&(x=e[(e[i+16>>2]|0)+96>>2]|0,(x|0)!=0)&&(s=+u[x+32>>3]*.5,l=l>s?l:s),n=n+1|0}while(0);+u[p>>3]>3]=l,u[p>>3]=l),+u[m>>3]>3]=l,u[m>>3]=l),i=e[t+212>>2]|0,i|0&&((i|0)==(r|0)?n=0:(n=pr(i,e[47144]|0,8,0)|0,t=e[A>>2]|0),o=e[t+232>>2]|0,i=e[i+16>>2]|0,t=i+128|0,l=l+ +(n|0),(o|0)==($[i+236>>1]|0)&&(s=+u[t>>3],u[t>>3]=s>l?s:l),t=i+120|0,(o|0)==($[i+238>>1]|0)&&(s=+u[t>>3],u[t>>3]=s>l?s:l)),c=c+1|0}B=B+1|0,t=e[z>>2]|0}for(c=pj(r)|0,n=e[z>>2]|0,t=$[n+238>>1]|0,u[(e[(e[e[_+(t<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]=+u[_+(t<<6)+16>>3],i=$[n+236>>1]|0,o=n+252|0,s=0;A=t+-1|0,!((t|0)<=(i|0));)Z=+u[_+(A<<6)+32>>3]+ +u[_+(t<<6)+40>>3]+ +(e[o>>2]|0),l=+u[_+(t<<6)+24>>3]+8+ +u[_+(A<<6)+16>>3],l=Z>l?Z:l,(e[_+(A<<6)>>2]|0)>0&&(u[(e[(e[e[_+(A<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]=+u[(e[(e[e[_+(t<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]+l),s=s>l?s:l,t=A;e:do if(c|0&&e[n+116>>2]&1|0&&(kj(r,0),n=e[z>>2]|0,C[n+276>>0]|0))for(t=$[n+238>>1]|0,i=$[n+236>>1]|0,l=+u[(e[(e[e[_+(t<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],s=0;;){if(o=t+-1|0,(t|0)<=(i|0))break e;W=+u[(e[(e[e[_+(o<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],Z=W-l,l=W,s=s>Z?s:Z,t=o}while(0);e:do if(C[n+276>>0]|0)for(o=$[n+236>>1]|0,i=$[n+238>>1]|0;;){if(t=i+-1|0,(i|0)<=(o|0))break e;if((e[_+(t<<6)>>2]|0)<=0){i=t;continue}u[(e[(e[e[_+(t<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]=+u[(e[(e[e[_+(i<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]+s,i=t}while(0);for(t=n+192|0;t=e[t>>2]|0,!!t;)t=e[t+16>>2]|0,u[t+24>>3]=+u[(e[(e[e[_+(e[t+232>>2]<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],t=t+164|0}function I60(r){r=r|0;var t=0,i=0,n=0;for(Q60(r),t=(e[r+16>>2]|0)+192|0;t=e[t>>2]|0,!!t;){if(n=t+16|0,t=e[n>>2]|0,i=e[t+224>>2]|0,i&&(hj(r,i),t=e[n>>2]|0),i=e[t+228>>2]|0,i?(hj(r,i),i=e[n>>2]|0):i=t,n=e[i+204>>2]|0,n|0)for(t=0;e[n+(t<<2)>>2]|0;)t=t+1|0;t=i+164|0}}function x60(r){r=r|0,W60(r),D60(r),M60(r),j60(r),N60(r)}function ej(r){r=r|0;var t=0,i=0;return t=he(r,86921)|0,t?(i=+Fl(t),r=~~(i*+(v2(r)|0))):r=2147483647,r|0}function S60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(E=r+16|0,t=e[E>>2]|0,m=$[t+236>>1]|0;;){if(v=$[t+238>>1]|0,(m|0)>(v|0)){B=19;break}w=e[t+196>>2]|0,p=w+(m<<6)|0,f=e[p>>2]|0,w=w+(m<<6)+4|0,c=0,i=0;e:for(;;){if((c|0)>=(f|0)){B=14;break}i=e[(e[w>>2]|0)+(c<<2)>>2]|0,o=e[i+16>>2]|0,l=e[o+256>>2]|0;r:do if(l|0)for(n=0;;){if(s=e[l+(n<<2)>>2]|0,!s)break r;if(A=e[s>>2]&3,(e[(e[(e[((A|0)==2?s:s+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(m|0)||(e[(e[(e[((A|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(m|0))break e;n=n+1|0}while(0);o=e[o+248>>2]|0;r:do if(o|0)for(n=0;;){if(l=e[o+(n<<2)>>2]|0,!l)break r;if(s=e[l>>2]&3,(e[(e[(e[((s|0)==3?l:l+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(m|0)||(e[(e[(e[((s|0)==2?l:l+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(m|0))break e;n=n+1|0}while(0);c=c+1|0}if((B|0)==14&&(B=0,i)){if(i=e[e[w>>2]>>2]|0,t=e[e[p+(((m|0)<(v|0)?1:-1)<<6)+4>>2]>>2]|0,!t){B=16;break}p=Ml(r)|0,v=p+16|0,C[(e[v>>2]|0)+156>>0]=2,gi(p,i,0,0)|0,gi(p,t,0,0)|0,e[(e[v>>2]|0)+232>>2]=e[(e[((e[(e[i+16>>2]|0)+232>>2]|0)<(e[(e[t+16>>2]|0)+232>>2]|0)?i:t)+16>>2]|0)+232>>2],t=e[E>>2]|0}m=m+1|0}if((B|0)==16)H0(86829,86721,111,86832);else if((B|0)==19)return}function _60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(r=e[r+16>>2]|0,l=e[r+196>>2]|0,i=$[r+238>>1]|0,r=$[r+236>>1]|0;!((r|0)>(i|0));){for(n=e[l+(r<<6)>>2]|0,o=l+(r<<6)+4|0,t=0;!((t|0)>=(n|0));)A=e[(e[(e[o>>2]|0)+(t<<2)>>2]|0)+16>>2]|0,s=A+232|0,u[A+16>>3]=+(e[s>>2]|0),e[s>>2]=r,t=t+1|0;r=r+1|0}}function z60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;rj(r,r),o=r+16|0,A=e[o>>2]|0;e:do if(($[A+238>>1]|0)>0&&(s=e[A+8>>2]|0,i=e[s+84>>2]|0,i|0)){p=~~(+u[A+32>>3]-+u[A+16>>3]),f=~~(+u[A+40>>3]-+u[A+24>>3]),v=(e[A+116>>2]&1|0)==0,w=v?f:p,f=v?p:f,(i|0)==4?(i=R60(r)|0,A=e[o>>2]|0,s=e[A+8>>2]|0):i=(i|0)==2&1;r:do if(i<<24>>24){if(n=+u[s+64>>3],n<=0)break e;if(l=n/+(f|0),n=+u[s+72>>3]/+(w|0),l<1|n<1)if(l>2]|0){case 5:{if(n=+u[s+64>>3],n<=0)break e;if(l=n/+u[A+32>>3],c=+u[s+72>>3]/+u[A+40>>3],n=l1&c>1){c=n;break r}else break e}case 1:break;default:break e}if(l=+u[s+16>>3],n=+(w|0)/+(f|0),n>2]&1|0)==0,l=i?n:c,n=i?c:n,i=A+192|0;i=e[i>>2]|0,!!i;)i=e[i+16>>2]|0,v=i+16|0,c=+u[v>>3]*n,u[v>>3]=+(~~(c+(c>=0?.5:-.5))|0),v=i+24|0,c=+u[v>>3]*l,u[v>>3]=+(~~(c+(c>=0?.5:-.5))|0),i=i+164|0;tj(r,n,l)}while(0);t|0&&G60(r,t)}function L60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(l=r+16|0,r=(e[l>>2]|0)+192|0;r=e[r>>2]|0,!!r;){for(o=r+16|0,t=0;r=e[o>>2]|0,n=e[r+180>>2]|0,i=e[n+(t<<2)>>2]|0,!!i;)r0(e[i+16>>2]|0),r0(i),t=t+1|0;n&&(r0(n),r=e[o>>2]|0),t=e[r+172>>2]|0,t&&(r0(t),r=e[o>>2]|0),n=r+256|0,i=e[n+4>>2]|0,r=r+180|0,e[r>>2]=e[n>>2],e[r+4>>2]=i,r=e[o>>2]|0,i=r+248|0,n=e[i+4>>2]|0,r=r+172|0,e[r>>2]=e[i>>2],e[r+4>>2]=n,r=(e[o>>2]|0)+164|0}r=0,t=e[(e[l>>2]|0)+192>>2]|0;e:for(;;)for(o=(r|0)==0,n=r+16|0,r=t;;){if(!r)break e;if(i=e[r+16>>2]|0,t=e[i+164>>2]|0,(C[i+156>>0]|0)!=2)continue e;o?e[(e[l>>2]|0)+192>>2]=t:e[(e[n>>2]|0)+164>>2]=t,r0(i),r0(r),r=t}e[(e[(e[(e[l>>2]|0)+192>>2]|0)+16>>2]|0)+168>>2]=0}function rj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(n=r+16|0,i=1;o=e[n>>2]|0,!((i|0)>(e[o+180>>2]|0));)rj(e[(e[o+184>>2]|0)+(i<<2)>>2]|0,t),i=i+1|0;Z60(r,t)}function R60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;return B=g,g=g+80|0,n=B+64|0,i=B+48|0,o=B+16|0,f=B,E=B+32|0,r=r+16|0,t=e[(e[r>>2]|0)+8>>2]|0,x=t+48|0,e[o>>2]=e[x>>2],e[o+4>>2]=e[x+4>>2],e[o+8>>2]=e[x+8>>2],e[o+12>>2]=e[x+12>>2],!(+u[o>>3]<.001)&&(l=o+8|0,!(+u[l>>3]<.001))&&(s=t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>3],s=n/i,i=+u[t>>3];do if(s>i*1.1)e[t+24>>2]=~~(i*+((e[t+20>>2]|0)-(e[t+16>>2]|0)|0)/s),c=9;else{if(r=t+24|0,!(s<=i*.8)){e[r>>2]=0,c=9;break}e[r>>2]=-1}while(0);c|0,g=f}function ij(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[t+8>>3]-+u[i+8>>3],u[r>>3]=+u[t>>3]-+u[i>>3],u[r+8>>3]=n}function Z60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;E=(cr(r)|0)==(r|0),z=r+16|0,_=e[z>>2]|0;e:do if(E){for(i=$[_+236>>1]|0,r=$[_+238>>1]|0,v=r<<16>>16,m=_+196|0,E=_+196|0,p=i<<16>>16,o=-2147483647,n=2147483647;!((p|0)>(v|0));){if(l=e[m>>2]|0,w=e[l+(p<<6)>>2]|0,w|0&&(B=e[l+(p<<6)+4>>2]|0,x=e[B>>2]|0,(x|0)!=0)){for(A=1,l=x;l=e[l+16>>2]|0,s=C[l+156>>0]|0,!!((A|0)<(w|0)&s<<24>>24!=0);)l=e[B+(A<<2)>>2]|0,A=A+1|0;if(!(s<<24>>24)){for(c=+u[l+16>>3]-+u[l+88>>3],f=n>2]|0)+(p<<6)+4>>2]|0,s=w+-2|0,l=w+-1|0;l=e[(e[A+(l<<2)>>2]|0)+16>>2]|0,C[l+156>>0]|0;)l=s,s=s+-1|0;L=+u[l+96>>3]+ +u[l+16>>3],o=o>L?o:L,n=f?n:c}}p=p+1|0}for(s=e[_+180>>2]|0,A=_+184|0,l=1;;){if((l|0)>(s|0))break e;x=e[(e[(e[A>>2]|0)+(l<<2)>>2]|0)+16>>2]|0,L=+u[x+16>>3]+-8,c=+u[x+32>>3]+8,l=l+1|0,o=o>c?o:c,n=n>2]|0)+16>>2]|0)+232>>2]|0),n=+(e[(e[(e[_+256>>2]|0)+16>>2]|0)+232>>2]|0),i=$[_+236>>1]|0,r=$[_+238>>1]|0;while(0);t=e[(e[t+16>>2]|0)+196>>2]|0,c=+u[(e[(e[e[t+(r<<16>>16<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]-+u[_+120>>3],L=+u[_+128>>3]+ +u[(e[(e[e[t+(i<<16>>16<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],u[_+16>>3]=n,u[_+24>>3]=c,t=e[z>>2]|0,u[t+32>>3]=o,u[t+40>>3]=L}function gi(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0,l=0,s=0,A=0;return s=j0(96)|0,A=s+48|0,e[A>>2]=e[A>>2]|3,e[s>>2]=e[s>>2]&-4|2,o=j0(176)|0,l=s+16|0,e[l>>2]=o,e[((e[s>>2]&3|0)==3?s:A)+40>>2]=r,e[((e[s>>2]&3|0)==2?s:s+-48|0)+40>>2]=t,i>65535&&(nj(i),i=65535,o=e[l>>2]|0),$[o+170>>1]=~~(i+(i>=0?.5:-.5)),e[o+156>>2]=n,IM(s)|0,s|0}function nj(r){r=+r;var t=0,i=0;t=g,g=g+16|0,i=t,u[i>>3]=r,e[i+8>>2]=65535,$0(1,86845,i)|0,g=t}function W60(r){r=r|0;var t=0,i=0,n=0,o=0;for(r=(e[r+16>>2]|0)+192|0;r=e[r>>2]|0,!!r;){for(o=r+16|0,n=e[o>>2]|0,r=n+172|0,i=e[r+4>>2]|0,n=n+248|0,e[n>>2]=e[r>>2],e[n+4>>2]=i,n=e[o>>2]|0,i=n+180|0,r=e[i+4>>2]|0,n=n+256|0,e[n>>2]=e[i>>2],e[n+4>>2]=r,n=e[o>>2]|0,r=e[n+180>>2]|0,i=0;e[r+(i<<2)>>2]|0;)i=i+1|0;for(t=e[n+172>>2]|0,r=0;e[t+(r<<2)>>2]|0;)r=r+1|0;e[n+176>>2]=0,r=j0((r+i<<2)+16|0)|0,n=e[o>>2]|0,e[n+172>>2]=r,e[n+184>>2]=0,n=j0(16)|0,r=e[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2]|0)+236>>2]|0),i=r?o:l,o=r?l:o,l=t+16|0,r=e[l>>2]|0,n=+((N0(e[(e[z>>2]|0)+248>>2]|0,M0[r+170>>1]|0)|0)/2|0|0),c=e[i>>2]&3,t=e[((c|0)==2?i:i+-48|0)+40>>2]|0,i=e[((c|0)==3?i:i+48|0)+40>>2]|0,cj(i,t)|0||gi(t,i,+(~~(+u[(e[t+16>>2]|0)+96>>3]+n+ +u[(e[i+16>>2]|0)+88>>3])|0),e[r+156>>2]|0)|0,r=e[o>>2]&3,t=e[((r|0)==3?o:o+48|0)+40>>2]|0,r=e[((r|0)==2?o:o+-48|0)+40>>2]|0,cj(r,t)|0||gi(t,r,+(~~(+u[(e[t+16>>2]|0)+96>>3]+n+ +u[(e[r+16>>2]|0)+88>>3])|0),e[(e[l>>2]|0)+156>>2]|0)|0,c=0):c=0;;){if(r=e[E>>2]|0,(c|0)>=(e[r+192>>2]|0)){l=w;continue e}s=e[(e[r+188>>2]|0)+(c<<2)>>2]|0,l=e[s>>2]&3,i=e[((l|0)==3?s:s+48|0)+40>>2]|0,l=e[((l|0)==2?s:s+-48|0)+40>>2]|0,o=(e[(e[i+16>>2]|0)+236>>2]|0)<(e[(e[l+16>>2]|0)+236>>2]|0),t=o?i:l,i=o?l:i,n=+u[(e[i+16>>2]|0)+88>>3]+ +u[(e[t+16>>2]|0)+96>>3],l=s+16|0,o=~~(n+ +(N0(e[(e[z>>2]|0)+248>>2]|0,M0[(e[l>>2]|0)+170>>1]|0)|0)),A=ga(t,i)|0,A?(Z=+(o|0),r=e[l>>2]|0,W=+u[r+136>>3],n=n+ +(e[(e[z>>2]|0)+248>>2]|0)+ +(~~(W+(W>=0?.5:-.5))|0),t=~~(n65535&&(nj(+(t|0)),t=65535,r=e[l>>2]|0),l=e[A+16>>2]|0,o=l+170|0,i=M0[o>>1]|0,$[o>>1]=(t|0)<(i|0)?i:t,l=l+156|0,e[l>>2]=e[(e[((e[l>>2]|0)>(e[r+156>>2]|0)?A:s)+16>>2]|0)+156>>2]):(r=e[l>>2]|0,e[r+96>>2]|0||gi(t,i,+(o|0),e[r+156>>2]|0)|0),c=c+1|0}}B=B+1|0,r=e[z>>2]|0}g=L}function M60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(t=(e[r+16>>2]|0)+192|0;t=e[t>>2]|0,!!t;){o=t+16|0,t=e[o>>2]|0,i=e[t+256>>2]|0;e:do if(i)for(n=0;;){if(i=e[i+(n<<2)>>2]|0,!i)break e;w=Ml(r)|0,t=w+16|0,C[(e[t>>2]|0)+156>>0]=2,c=i+16|0,A=e[c>>2]|0,l=~~(+u[A+56>>3]-+u[A+16>>3]),f=(l|0)>0,s=f?0:0-l|0,l=f?l:0,f=i+48|0,gi(w,e[((e[i>>2]&3|0)==3?i:f)+40>>2]|0,+(l+1|0),e[A+156>>2]|0)|0,A=i+-48|0,gi(w,e[((e[i>>2]&3|0)==2?i:A)+40>>2]|0,+(s+1|0),e[(e[c>>2]|0)+156>>2]|0)|0,c=e[i>>2]&3,l=(e[(e[(e[((c|0)==3?i:f)+40>>2]|0)+16>>2]|0)+232>>2]|0)-l|0,i=(e[(e[(e[((c|0)==2?i:A)+40>>2]|0)+16>>2]|0)+232>>2]|0)-s|0,e[(e[t>>2]|0)+232>>2]=((l|0)<(i|0)?l:i)+-1,t=e[o>>2]|0,n=n+1|0,i=e[t+256>>2]|0}while(0);t=t+164|0}}function j60(r){r=r|0,(e[(e[r+16>>2]|0)+180>>2]|0)>0&&(lj(r),sj(r),Aj(r),uj(r))}function N60(r){r=r|0;var t=0,i=0,n=0,o=0;n=r+16|0,o=e[(e[n>>2]|0)+8>>2]|0,(e[o+84>>2]|0)==3&&(t=+u[o+64>>3],i=+u[o+72>>3],!(i*t<=1))&&(oj(r),o=e[n>>2]|0,i=e[o+116>>2]&1|0?i:t,gi(e[o+256>>2]|0,e[o+260>>2]|0,i<65535?i:65535,1e3)|0)}function oj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(f=g,g=g+16|0,c=f,i=pr(r,e[47144]|0,8,0)|0,np(r),l=r+16|0,o=e[l>>2]|0,s=e[o+256>>2]|0,A=e[o+260>>2]|0,n=+(i|0),i=$[o+236>>1]|0;!((i|0)>($[o+238>>1]|0));){t=e[o+196>>2]|0;do if(e[t+(i<<6)>>2]|0)if(t=e[e[t+(i<<6)+4>>2]>>2]|0,t){gi(s,t,+u[(e[t+16>>2]|0)+88>>3]+n+ +u[o+96>>3],0)|0,o=e[l>>2]|0,t=e[o+196>>2]|0,t=e[(e[t+(i<<6)+4>>2]|0)+((e[t+(i<<6)>>2]|0)+-1<<2)>>2]|0,gi(t,A,+u[(e[t+16>>2]|0)+96>>3]+n+ +u[o+64>>3],0)|0;break}else{e[c>>2]=te(r)|0,e[c+4>>2]=i,$0(1,86929,c)|0;break}while(0);i=i+1|0,o=e[l>>2]|0}g=f}function np(r){r=r|0;var t=0,i=0,n=0;t=r+16|0,e[(e[t>>2]|0)+256>>2]|0||(n=Ml(cr(r)|0)|0,C[(e[n+16>>2]|0)+156>>0]=2,i=Ml(cr(r)|0)|0,C[(e[i+16>>2]|0)+156>>0]=2,e[(e[t>>2]|0)+12>>2]|0&&(cr(r)|0)!=(r|0)&&!(e[(e[(c2(r)|0)+16>>2]|0)+116>>2]&1|0)&&(r=e[t>>2]|0,gi(n,i,+(~~+u[r+48+((+u[r+48>>3]>+u[r+80>>3]?0:2)<<4)>>3]|0),0)|0),t=e[t>>2]|0,e[t+256>>2]=n,e[t+260>>2]=i)}function lj(r){r=r|0;var t=0,i=0;do if((cr(r)|0)!=(r|0))if(oj(r),r=r+16|0,t=e[r>>2]|0,t=ga(e[t+256>>2]|0,e[t+260>>2]|0)|0,t){i=(e[t+16>>2]|0)+156|0,e[i>>2]=(e[i>>2]|0)+128;break}else{i=e[r>>2]|0,gi(e[i+256>>2]|0,e[i+260>>2]|0,1,128)|0;break}else r=r+16|0;while(0);for(t=1;i=e[r>>2]|0,!((t|0)>(e[i+180>>2]|0));)lj(e[(e[i+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0}function sj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(s=pr(r,e[47144]|0,8,0)|0,w=r+16|0,t=e[w>>2]|0,c=+(s|0),s=$[t+236>>1]|0;;){if((s|0)>($[t+238>>1]|0)){i=1;break}t=e[t+196>>2]|0;e:do if(e[t+(s<<6)>>2]|0&&(A=e[e[t+(s<<6)+4>>2]>>2]|0,A|0)){for(o=A+16|0,i=e[(e[o>>2]|0)+236>>2]|0;!((i|0)<=0);){if(i=i+-1|0,l=e[(e[(e[(e[(cr(r)|0)+16>>2]|0)+196>>2]|0)+(s<<6)+4>>2]|0)+(i<<2)>>2]|0,n=l+16|0,t=e[n>>2]|0,!(C[t+156>>0]|0)){f=10;break}if(aj(r,l)|0){f=9;break}}for((f|0)==9&&(t=e[n>>2]|0,f=10),(f|0)==10&&(f=0,gi(l,e[(e[w>>2]|0)+256>>2]|0,+u[t+96>>3]+c,0)|0),i=(e[(e[(e[w>>2]|0)+196>>2]|0)+(s<<6)>>2]|0)+(e[(e[o>>2]|0)+236>>2]|0)|0;;){if((i|0)>=(e[(e[(e[(cr(r)|0)+16>>2]|0)+196>>2]|0)+(s<<6)>>2]|0))break e;if(o=e[(e[(e[(e[(cr(r)|0)+16>>2]|0)+196>>2]|0)+(s<<6)+4>>2]|0)+(i<<2)>>2]|0,n=o+16|0,t=e[n>>2]|0,!(C[t+156>>0]|0))break;if(!(aj(r,o)|0))i=i+1|0;else{f=15;break}}(f|0)==15&&(f=0,t=e[n>>2]|0),gi(e[(e[w>>2]|0)+260>>2]|0,o,+u[t+88>>3]+c,0)|0}while(0);s=s+1|0,t=e[w>>2]|0}for(;!((i|0)>(e[t+180>>2]|0));)sj(e[(e[t+184>>2]|0)+(i<<2)>>2]|0),i=i+1|0,t=e[w>>2]|0}function Aj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(n=pr(r,e[47144]|0,8,0)|0,np(r),t=r+16|0,i=+(n|0),r=1;n=e[t>>2]|0,!((r|0)>(e[n+180>>2]|0));)n=e[(e[n+184>>2]|0)+(r<<2)>>2]|0,np(n),o=e[t>>2]|0,l=n+16|0,gi(e[o+256>>2]|0,e[(e[l>>2]|0)+256>>2]|0,+u[o+96>>3]+i,0)|0,o=e[t>>2]|0,gi(e[(e[l>>2]|0)+260>>2]|0,e[o+260>>2]|0,+u[o+64>>3]+i,0)|0,Aj(n),r=r+1|0}function uj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(t=pr(r,e[47144]|0,8,0)|0,p=r+16|0,r=1;n=e[p>>2]|0,i=e[n+180>>2]|0,!((r|0)>(i|0));)np(e[(e[n+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0;for(w=+(t|0),f=1,r=i,t=n;!((f|0)>(r|0));){for(c=f+1|0,A=c;i=e[t+184>>2]|0,n=e[i+(f<<2)>>2]|0,!((A|0)>(r|0));)i=e[i+(A<<2)>>2]|0,o=($[(e[n+16>>2]|0)+236>>1]|0)>($[(e[i+16>>2]|0)+236>>1]|0),s=o?i:n,i=o?n:i,n=e[s+16>>2]|0,o=e[i+16>>2]|0,v=$[o+236>>1]|0,l=v<<16>>16,($[n+238>>1]|0)>=v<<16>>16&&(r=(e[(e[(e[e[(e[n+196>>2]|0)+(l<<6)+4>>2]>>2]|0)+16>>2]|0)+236>>2]|0)<(e[(e[(e[e[(e[o+196>>2]|0)+(l<<6)+4>>2]>>2]|0)+16>>2]|0)+236>>2]|0),gi(e[(e[(r?s:i)+16>>2]|0)+260>>2]|0,e[(e[(r?i:s)+16>>2]|0)+256>>2]|0,w,0)|0,r=e[p>>2]|0,t=r,r=e[r+180>>2]|0),A=A+1|0;uj(n),t=e[p>>2]|0,f=c,r=e[t+180>>2]|0}}function aj(r,t){r=r|0,t=t|0;var i=0;if(t=e[t+16>>2]|0,(C[t+156>>0]|0)==1){for(t=e[e[t+256>>2]>>2]|0;i=e[(e[t+16>>2]|0)+116>>2]|0,i;)t=i;Mi(r,e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0?t=0:t=(Mi(r,e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0)==0&1}else t=0;return t|0}function cj(r,t){return r=r|0,t=t|0,fj(r,t)|0}function fj(r,t){r=r|0,t=t|0;var i=0,n=0;e:do if((r|0)==(t|0))r=1;else for(i=e[(e[r+16>>2]|0)+180>>2]|0,r=0;;){if(n=e[i+(r<<2)>>2]|0,!n){r=0;break e}if(!(fj(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,t)|0))r=r+1|0;else{r=1;break}}while(0);return r|0}function Q60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(A=r+16|0,r=e[A>>2]|0,s=$[r+236>>1]|0;!((s|0)>($[r+238>>1]|0));){for(o=e[r+196>>2]|0,n=e[o+(s<<6)>>2]|0,o=o+(s<<6)+4|0,l=0,i=0;!((i|0)>=(n|0));)t=e[(e[(e[o>>2]|0)+(i<<2)>>2]|0)+16>>2]|0,e[t+236>>2]=l,(C[t+159>>0]|0)==6?t=e[t+216>>2]|0:t=1,l=t+l|0,i=i+1|0;if((l|0)>(n|0)){for(r=e[o>>2]|0,r?r=Ve(r,(l<<2)+4|0)|0:r=_0((l<<2)+4|0)|0,i=e[(e[A>>2]|0)+196>>2]|0,e[i+(s<<6)+4>>2]=r,t=e[i+(s<<6)>>2]|0;r=t+-1|0,!((t|0)<=0);)o=e[i+(s<<6)+4>>2]|0,t=e[o+(r<<2)>>2]|0,e[o+(e[(e[t+16>>2]|0)+236>>2]<<2)>>2]=t,t=r,i=e[(e[A>>2]|0)+196>>2]|0;e[i+(s<<6)>>2]=l,e[(e[i+(s<<6)+4>>2]|0)+(l<<2)>>2]=0,r=e[A>>2]|0}s=s+1|0}}function hj(r,t){r=r|0,t=t|0;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A=ms(r,A)|0}else for(s=e[e[i+172>>2]>>2]|0,i=(e[i+236>>2]|0)+1|0,s=Me(r,e[((e[s>>2]&3|0)==3?s:s+48|0)+40>>2]|0)|0;;){if(!s)break e;n=s+-48|0,o=e[((e[s>>2]&3|0)==2?s:n)+40>>2]|0,(o|0)!=(t|0)&&(Ht(o)|0)==(t|0)&&(o=e[((e[s>>2]&3|0)==2?s:n)+40>>2]|0,e[w>>2]=e[f>>2],e[w+4>>2]=e[f+4>>2],dj(A,r,o,w,i),o=A,n=e[o+4>>2]|0,l=f,e[l>>2]=e[o>>2],e[l+4>>2]=n,SM(s),l=s+48|0,n=e[(e[((e[s>>2]&3|0)==3?s:l)+40>>2]|0)+16>>2]|0,o=e[n+180>>2]|0,o?n=Ve(o,(e[n+184>>2]<<2)+8|0)|0:n=_0((e[n+184>>2]<<2)+8|0)|0,e[(e[(e[((e[s>>2]&3|0)==3?s:l)+40>>2]|0)+16>>2]|0)+180>>2]=n,o=e[(e[((e[s>>2]&3|0)==3?s:l)+40>>2]|0)+16>>2]|0,c=e[o+180>>2]|0,o=o+184|0,v=e[o>>2]|0,e[o>>2]=v+1,e[c+(v<<2)>>2]=s,v=e[(e[((e[s>>2]&3|0)==3?s:l)+40>>2]|0)+16>>2]|0,e[(e[v+180>>2]|0)+(e[v+184>>2]<<2)>>2]=0,i=i+1|0),s=Qe(r,s)|0}while(0);g=p}function wj(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;Lf(t,e[(e[(We(t)|0)+16>>2]|0)+116>>2]&1),n=e[t+16>>2]|0,u[n+24>>3]=+(e[i+4>>2]|0),o=+u[n+88>>3]+ +(e[i>>2]|0),u[n+16>>3]=o,o=o+ +u[n+96>>3],e[i>>2]=~~(o+ +(e[(e[(We(t)|0)+16>>2]|0)+248>>2]|0)),n=i,t=e[n+4>>2]|0,i=r,e[i>>2]=e[n>>2],e[i+4>>2]=t}function dj(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;A=g,g=g+16|0,s=A,t=cr(t)|0,l=Ht(i)|0,(l|0)!=(i|0)&&J80(l,i),c=e[i+16>>2]|0,e[c+236>>2]=o,l=e[(e[l+16>>2]|0)+232>>2]|0,e[c+232>>2]=l,e[(e[(e[(e[t+16>>2]|0)+196>>2]|0)+(l<<6)+4>>2]|0)+(o<<2)>>2]=i,e[s>>2]=e[n>>2],e[s+4>>2]=e[n+4>>2],wj(r,i,s),g=A}function pj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(f=e[(e[(cr(r)|0)+16>>2]|0)+196>>2]|0,(cr(r)|0)==(r|0)?s=8:s=+(pr(r,e[47144]|0,8,0)|0),c=r+16|0,o=e[c>>2]|0,n=0,A=1,i=+u[o+120>>3],t=+u[o+128>>3];!((A|0)>(e[o+180>>2]|0));)l=e[(e[o+184>>2]|0)+(A<<2)>>2]|0,n=pj(l)|0|n,l=e[l+16>>2]|0,o=e[c>>2]|0,($[l+238>>1]|0)==($[o+238>>1]|0)&&(w=+u[l+120>>3]+s,i=i>w?i:w),($[l+236>>1]|0)==($[o+236>>1]|0)&&(w=+u[l+128>>3]+s,t=t>w?t:w),A=A+1|0;return(cr(r)|0)!=(r|0)&&e[(e[c>>2]|0)+12>>2]|0&&(e[(e[(c2(r)|0)+16>>2]|0)+116>>2]&1?n=1:(A=e[c>>2]|0,n=1,i=+u[A+56>>3]+i,t=+u[A+88>>3]+t)),A=e[c>>2]|0,u[A+120>>3]=i,u[A+128>>3]=t,(cr(r)|0)!=(r|0)&&(c=e[c>>2]|0,r=f+($[c+236>>1]<<6)+24|0,w=+u[r>>3],u[r>>3]=w>t?w:t,f=f+($[c+238>>1]<<6)+16|0,w=+u[f>>3],u[f>>3]=w>i?w:i),n|0}function kj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(p=e[(e[(cr(r)|0)+16>>2]|0)+196>>2]|0,(cr(r)|0)==(r|0)?i=0:i=pr(r,e[47144]|0,8,0)|0,c=r+16|0,l=e[c>>2]|0,f=i+t|0,A=+(i|0),s=1,n=+u[l+128>>3],o=+u[l+120>>3],i=l;!((s|0)>(e[i+180>>2]|0));)l=e[(e[i+184>>2]|0)+(s<<2)>>2]|0,kj(l,f),l=e[l+16>>2]|0,i=e[c>>2]|0,($[l+238>>1]|0)==($[i+238>>1]|0)&&(m=+u[l+120>>3]+A,o=o>m?o:m),($[l+236>>1]|0)==($[i+236>>1]|0)&&(m=+u[l+128>>3]+A,n=n>m?n:m),s=s+1|0;u[i+120>>3]=o,u[i+128>>3]=n,(cr(r)|0)!=(r|0)&&(w=e[c>>2]|0,e[w+12>>2]|0)&&(v=-o-n+ +u[w+48+((+u[w+104>>3]>+u[w+72>>3]?3:1)<<4)+8>>3]-+u[(e[(e[e[p+($[w+236>>1]<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3]+ +u[(e[(e[e[p+($[w+238>>1]<<6)+4>>2]>>2]|0)+16>>2]|0)+24>>3],v>0)&&T60(r,~~v,t),(cr(r)|0)!=(r|0)&&(w=e[c>>2]|0,f=p+($[w+236>>1]<<6)+24|0,m=+u[f>>3],v=+u[w+128>>3],u[f>>3]=m>v?m:v,p=p+($[w+238>>1]<<6)+16|0,v=+u[p>>3],m=+u[w+120>>3],u[p>>3]=v>m?v:m)}function T60(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(A=e[(cr(r)|0)+16>>2]|0,m=e[A+196>>2]|0,v=e[r+16>>2]|0,r=$[v+238>>1]|0,n=$[v+236>>1]|0,c=(t+1|0)/2|0,f=v+120|0,w=+u[f>>3],p=+(c|0),l=+(i|0),i=~~(p+l+w-+u[m+(r<<6)+16>>3]),(i|0)>0){for(o=+(i|0);!((r|0)<(n|0));)(e[m+(r<<6)>>2]|0)>0&&(E=(e[(e[e[m+(r<<6)+4>>2]>>2]|0)+16>>2]|0)+24|0,u[E>>3]=+u[E>>3]+o),r=r+-1|0;s=+u[v+128>>3],r=i,o=s+ +(t-c|0)}else s=+u[v+128>>3],r=t-c|0,o=s;r=~~(+(r|0)+l+o-+u[m+(n<<6)+24>>3]);e:do if((r|0)>0)for(i=$[A+236>>1]|0,o=+(r|0);;){if(r=n+-1|0,(n|0)<=(i|0))break e;if((e[m+(r<<6)>>2]|0)<=0){n=r;continue}n=(e[(e[e[m+(r<<6)+4>>2]>>2]|0)+16>>2]|0)+24|0,u[n>>3]=+u[n>>3]+o,n=r}while(0);u[v+128>>3]=s+ +(t-c|0),u[f>>3]=w+p}function xh(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r+16>>2]|0,n=C[i+84>>0]|0,r=e[t+16>>2]|0;do if(n<<24>>24==(C[r+84>>0]|0)){if(+u[i+56>>3]==+u[r+56>>3]){if(!(!(n<<24>>24)||+u[i+64>>3]==+u[r+64>>3])){r=0;break}}else if(n<<24>>24){r=0;break}if(+u[i+16>>3]==+u[r+16>>3]&&+u[i+24>>3]==+u[r+24>>3]){r=1;break}r=(C[i+44>>0]|0)==0&1}else r=0;while(0);return r|0}function vj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=r+16|0,t=e[s>>2]|0,$[t+236>>1]=32767,$[t+238>>1]=-1,t=0,l=U0(r)|0;i=e[s>>2]|0,!!l;)n=i+238|0,o=e[(e[l+16>>2]|0)+232>>2]|0,(o|0)>($[n>>1]|0)&&($[n>>1]=o),i=i+236|0,(o|0)<($[i>>1]|0)&&($[i>>1]=o),t?t=(o|0)<(e[(e[t+16>>2]|0)+232>>2]|0)?l:t:t=l,l=X0(r,l)|0;e[i+264>>2]=t}function T7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(t=he(r,86974)|0,t?(l=+Fl(t),t=~~(l*+(v2(r)|0))):t=2147483647,n=r+16|0,i=0;o=e[n>>2]|0,!((i|0)>=(e[o+220>>2]|0));)e[o+192>>2]=e[(e[o+216>>2]|0)+(i<<2)>>2],Ea(r,(e[o+180>>2]|0)==0&1,t)|0,i=i+1|0}function mj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=g,g=g+16|0,i=n,he(r,86983)|0?(o=(e[r+16>>2]|0)+136|0,$[o>>1]=$[o>>1]|16,F60(r,t)):gj(r,t),g=n}function F60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;s=g,g=g+16|0,l=s,e[46747]=0,C[l>>0]=C[18588]|0,C[l+1>>0]=C[18589]|0,C[l+2>>0]=C[18590]|0,C[l+3>>0]=C[18591]|0,l=w1(87201,l,0)|0,$e(l,87230,280,1)|0,ta0(l,17404,17344),yj(r),i=he(r,86974)|0,i?(A=+Fl(i),n=~~(A*+(v2(r)|0))):n=2147483647,zj(r,0),X60(r,l),q60(r,l),Lj(r,l,0,0),$60(l),o=K60(l)|0,b60(l),t|0&&(Fj(l),Nj(l)),i=he(r,102586)|0,i?i=F1(i)|0:i=-1,SN(l,1,n,i)|0,ew0(r,l,o),Di(l)|0,g=s}function gj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;l=g,g=g+32|0,o=l+16|0,n=l+8|0,i=l,yj(r);do if(!t)F7(r,r),Yj(r),Cj(i,r),s=i,i=e[s+4>>2]|0,t=n,e[t>>2]=e[s>>2],e[t+4>>2]=i,cp(r,0),t=0;else{if(Fj(r),Nj(r),F7(r,r),Yj(r),Cj(i,r),A=i,i=e[A+4>>2]|0,s=n,e[s>>2]=e[A>>2],e[s+4>>2]=i,cp(r,0),s=e[r+16>>2]|0,(e[s+220>>2]|0)<=1&&(e[s+180>>2]|0)<=0)break;e[t+32>>2]=1,t=0}while(0);fw0(r),e[o>>2]=e[n>>2],e[o+4>>2]=e[n+4>>2],P60(r,o)|0&&cp(r,0),t?hw0(r,t):T7(r),Y60(r,t),V60(r),g=l}function yj(r){r=r|0;var t=0,i=0,n=0;if(C[(e[(e[r+60>>2]|0)+16>>2]|0)+113>>0]&1){for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)n=(e[t+16>>2]|0)+170|0,$[n>>1]=(M0[n>>1]|0)<<1,t=Qe(r,t)|0;i=X0(r,i)|0}n=(e[r+16>>2]|0)+252|0,e[n>>2]=((e[n>>2]|0)+1|0)/2|0}}function F7(r,t){r=r|0,t=t|0;var i=0;for(t=yt(t)|0;t;){i=J60(t)|0;do if(i)if((i|0)==7&(e[47135]|0)==100){Ij(r,t);break}else{U60(r,t,i);break}else F7(r,t);while(0);t=Ct(t)|0}}function Cj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;s=t+16|0,i=e[s>>2]|0,t=e[i+228>>2]|0,i=e[i+224>>2]|0,n=(i|0)==0,t?n?o=5:o=4:n?(A=0,c=0):o=4,(o|0)==4&&(t=Ht(i)|0,i=e[s>>2]|0,e[i+224>>2]=t,t=e[i+228>>2]|0,t?o=5:(l=0,t=i,o=12));do if((o|0)==5)if(t=Ht(t)|0,i=e[s>>2]|0,e[i+228>>2]=t,t){for(i=t+16|0,t=e[i>>2]|0,n=(C[t+159>>0]|0)==5&1;;){if(t=e[e[t+180>>2]>>2]|0,!t){o=11;break}if(l=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,(l|0)!=(Ht(l)|0)){o=9;break}H7(t),t=e[i>>2]|0}if((o|0)==9)H0(87094,87034,346,87126);else if((o|0)==11){l=n,t=e[s>>2]|0,o=12;break}}else l=0,t=i,o=12;while(0);e:do if((o|0)==12)if(t=e[t+224>>2]|0,!t)A=0,c=l;else{for(i=t+16|0,t=e[i>>2]|0,n=(C[t+159>>0]|0)==3&1;;){if(t=e[e[t+172>>2]>>2]|0,!t){A=n,c=l;break e}if(s=e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0,(s|0)!=(Ht(s)|0))break;H7(t),t=e[i>>2]|0}H0(87139,87034,353,87126)}while(0);e[r>>2]=A,e[r+4>>2]=c}function P60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;A=r+16|0,s=e[A>>2]|0,!(e[s+228>>2]|0)&&!(e[s+224>>2]|0)?t=0:i=3;e:do if((i|0)==3)for(o=U0(r)|0,s=t+4|0,l=e[t>>2]&65535,t=0;;){if(!o)break e;(o|0)==(Ht(o)|0)&&(n=o+16|0,i=e[n>>2]|0,!(e[i+184>>2]|0)&&(c=e[(e[A>>2]|0)+228>>2]|0,!((c|0)==0|(o|0)==(c|0)))&&(t=Jn(o,c,0)|0,i=e[t+16>>2]|0,$[i+170>>1]=e[s>>2],e[i+156>>2]=0,i=e[n>>2]|0),!(e[i+176>>2]|0)&&(f=e[(e[A>>2]|0)+224>>2]|0,!((f|0)==0|(o|0)==(f|0)))&&(t=Jn(f,o,0)|0,n=e[t+16>>2]|0,$[n+170>>1]=l,e[n+156>>2]=0)),o=X0(r,o)|0}while(0);return(t|0)!=0|0}function Y60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;n=U0(r)|0,A=r+16|0,i=e[A>>2]|0;e:do if(n){for($[i+236>>1]=32767,$[i+238>>1]=-1,s=(t|0)==0;n;){i=Ht(n)|0,l=e[n+16>>2]|0,t=e[l+232>>2]|0;do if((i|0)!=(n|0)){if(!s)if(!t)t=0;else break;t=t+(e[(e[i+16>>2]|0)+232>>2]|0)|0,e[l+232>>2]=t}while(0);switch(i=e[A>>2]|0,o=i+238|0,(t|0)>($[o>>1]|0)&&($[o>>1]=t),i=i+236|0,(t|0)<($[i>>1]|0)&&($[i>>1]=t),C[l+159>>0]|0){case 6:case 0:break;default:RQ(n)}n=X0(r,n)|0}if((cr(r)|0)==(r|0)){if((e[47135]|0)==100)t=1;else{O60(r);break}for(;;){if(i=e[A>>2]|0,(t|0)>(e[i+180>>2]|0))break e;Bj(e[(e[i+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0}}}else $[i+238>>1]=0,$[i+236>>1]=0;while(0)}function V60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(A=r+16|0,i=0;t=e[A>>2]|0,!((i|0)>=(e[t+220>>2]|0));){for(s=e[(e[t+216>>2]|0)+(i<<2)>>2]|0,e[t+192>>2]=s,t=s;t;)s=t+16|0,Ej((e[s>>2]|0)+172|0),Ej((e[s>>2]|0)+180|0),s=e[s>>2]|0,C[s+157>>0]=0,t=e[s+164>>2]|0;i=i+1|0}for(s=U0(r)|0;s;){for(l=Me(r,s)|0;l;){if(n=l+16|0,t=e[n>>2]|0,o=e[t+172>>2]|0,o|0&&(c=o+16|0,(l|0)==(e[(e[c>>2]|0)+116>>2]|0))){for(t=U0(r)|0;t;){for(i=Me(r,t)|0;i;)(l|0)!=(i|0)&&(f=(e[i+16>>2]|0)+172|0,w=e[f>>2]|0,(w|0)!=0&(o|0)==(w|0))&&(e[f>>2]=0),i=Qe(r,i)|0;t=X0(r,t)|0}r0(e[c>>2]|0),r0(o),t=e[n>>2]|0}e[t+172>>2]=0,l=Qe(r,l)|0}s=X0(r,s)|0}r0(e[(e[A>>2]|0)+216>>2]|0),w=e[A>>2]|0,e[w+216>>2]=0,e[w+220>>2]=0}function Ej(r){r=r|0;var t=0,i=0;for(i=r+4|0,t=e[i>>2]|0;!((t|0)<=-1);)e[(e[r>>2]|0)+(t<<2)>>2]=0,t=t+-1|0;e[i>>2]=0}function Bj(r){r=r|0;var t=0,i=0,n=0;for(t=r+16|0,i=e[t>>2]|0,n=e[(e[(e[i+264>>2]|0)+16>>2]|0)+232>>2]|0,r=i+236|0,$[r>>1]=n+(M0[r>>1]|0),r=i+238|0,$[r>>1]=n+(M0[r>>1]|0),r=1;!((r|0)>(e[i+180>>2]|0));)Bj(e[(e[i+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0,i=e[t>>2]|0}function O60(r){r=r|0;var t=0;for(t=yt(cr(r)|0)|0;t;)(C[(e[t+16>>2]|0)+274>>0]|0)==7&&Ij(r,t),t=Ct(t)|0}function Ij(r,t){r=r|0,t=t|0;var i=0;i=(e[t+16>>2]|0)+200|0;do if(!(e[i>>2]|0)&&(e[i>>2]=r,xj(r,t),U0(t)|0))if(Sj(r,t),(e[47135]|0)==100){gj(t,0),H60(t);break}else{vj(t);break}while(0)}function xj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(l=r+16|0,o=U0(t)|0;o;){if(s=X0(t,o)|0,A=o+16|0,!(C[(e[A>>2]|0)+159>>0]|0))n=1;else{zn(t,o)|0,o=s;continue}for(;i=e[l>>2]|0,r=e[i+180>>2]|0,!((n|0)>=(r|0));){if(Mi(e[(e[i+184>>2]|0)+(n<<2)>>2]|0,o)|0){c=7;break}n=n+1|0}(c|0)==7&&(c=0,r=e[(e[l>>2]|0)+180>>2]|0),(n|0)<(r|0)&&zn(t,o)|0,e[(e[A>>2]|0)+212>>2]=0,o=s}for(i=U0(t)|0;i;){for(r=Me(cr(t)|0,i)|0;r;)Mi(t,e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0&&gs(t,r,1)|0,r=Qe(cr(t)|0,r)|0;i=X0(t,i)|0}}function Sj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=r+16|0,i=e[n>>2]|0,l=i+180|0,r=e[l>>2]|0,o=r+1|0,e[l>>2]=o,i=e[i+184>>2]|0,i?r=iC(i,r+2|0,4,o)|0:r=j0((r<<2)+8|0)|0,e[(e[n>>2]|0)+184>>2]=r,e[r+(o<<2)>>2]=t,Zh(t)}function H60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=e[r+16>>2]|0,t=o+192|0,l=0;t=e[t>>2]|0,!!t;)n=e[t+16>>2]|0,e[n+232>>2]|0?i=l:i=C[n+156>>0]|0?l:t,t=n+164|0,l=i;for(l||H0(87019,87034,238,87041),e[o+264>>2]=l,t=U0(r)|0;;){if(!t){t=13;break}if(i=t+16|0,!((t|0)==(l|0)||(e[(e[i>>2]|0)+216>>2]|0)<2)){t=11;break}Rp(t,l)|0,C[(e[i>>2]|0)+159>>0]=7,t=X0(r,t)|0}if((t|0)==11)H0(87056,87034,242,87041);else if((t|0)==13)return}function J60(r){r=r|0;var t=0;return _j(r)|0?r=7:(t=_C(he(r,87171)|0,17356,17380)|0,C[(e[r+16>>2]|0)+274>>0]=t,r=t),r|0}function U60(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;o=U0(t)|0;e:do if(o|0){for(A=i&255,s=o+16|0,n=o,l=A;C[(e[n+16>>2]|0)+159>>0]=l,n=X0(t,n)|0,!!n;)Rp(o,n)|0,l=C[(e[s>>2]|0)+159>>0]|0;switch(i|0){case 3:case 2:{r=r+16|0,n=e[r>>2]|0,l=e[n+224>>2]|0,l&&(o=Rp(l,o)|0,n=e[r>>2]|0),e[n+224>>2]=o;break}case 5:case 4:{r=r+16|0,n=e[r>>2]|0,l=e[n+228>>2]|0,l&&(o=Rp(l,o)|0,n=e[r>>2]|0),e[n+228>>2]=o;break}default:break e}switch(i|0){case 3:{n=n+224|0;break}case 5:{n=n+228|0;break}default:break e}C[(e[(e[n>>2]|0)+16>>2]|0)+159>>0]=A}while(0)}function _j(r){return r=r|0,(Yr(te(r)|0,108006,7)|0)==0|0}function zj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(f=g,g=g+16|0,o=f,!(lw0(r)|0)){do if(Mp(r)|0)if(t){e[(e[r+16>>2]|0)+204>>2]=(e[(e[t+16>>2]|0)+204>>2]|0)+1,sw0(r,t),t=r;break}else{e[(e[r+16>>2]|0)+204>>2]=0,t=r;break}while(0);for(i=yt(r)|0;i;)zj(i,t),i=Ct(i)|0;e:do if(Mp(r)|0)for(i=U0(r)|0;;){if(!i)break e;n=(e[i+16>>2]|0)+212|0,e[n>>2]|0||(e[n>>2]=r),i=X0(r,i)|0}while(0);switch(Aw0(r)|0){case 3:{t=t+16|0,C[(e[t>>2]|0)+241>>0]=1,c=19;break}case 2:{t=t+16|0,c=19;break}case 5:{t=t+16|0,C[(e[t>>2]|0)+242>>0]=1,c=21;break}case 4:{t=t+16|0,c=21;break}case 1:{op(r)|0;break}case 6:break;default:i=te(r)|0,n=he(r,87171)|0,e[o>>2]=i,e[o+4>>2]=n,$0(0,87354,o)|0}(c|0)==19?(c=op(r)|0,c=O7(c,e[(e[t>>2]|0)+208>>2]|0)|0,e[(e[t>>2]|0)+208>>2]=c):(c|0)==21&&(c=op(r)|0,c=O7(c,e[(e[t>>2]|0)+212>>2]|0)|0,e[(e[t>>2]|0)+212>>2]=c),Mp(r)|0&&(l=r+16|0,s=e[l>>2]|0,A=e[s+208>>2]|0,A|0)&&(A|0)==(e[s+212>>2]|0)&&(A=op(r)|0,c=e[l>>2]|0,e[c+208>>2]=A,e[c+212>>2]=A)}g=f}function X60(r,t){r=r|0,t=t|0;var i=0,n=0;for(e[46747]=0,i=U0(r)|0;i;)(ko(i)|0)==(i|0)&&(n=Sh(t,te(i)|0)|0,e[(e[i+16>>2]|0)+148>>2]=n),i=X0(r,i)|0;for(i=U0(r)|0;i;)t=i+16|0,e[(e[t>>2]|0)+148>>2]|0||(n=e[(e[(ko(i)|0)+16>>2]|0)+148>>2]|0,e[(e[t>>2]|0)+148>>2]=n),i=X0(r,i)|0}function q60(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(s=U0(r)|0;s;){for(i=e[(e[s+16>>2]|0)+148>>2]|0,A=Me(r,s)|0;A;){do if(!(tw0(A)|0)&&(c=A+-48|0,f=e[(e[(ko(e[((e[A>>2]&3|0)==2?A:c)+40>>2]|0)|0)+16>>2]|0)+148>>2]|0,(i|0)!=(f|0)))if(o=e[A>>2]&3,l=A+48|0,n=((o|0)==3?A:l)+40|0,o=e[(e[(e[((o|0)==2?A:c)+40>>2]|0)+16>>2]|0)+212>>2]|0,iw0(A)|0){o=ko(e[n>>2]|0)|0,n=e[A>>2]&3,(o|0)!=(e[(e[(e[(e[(e[((n|0)==3?A:l)+40>>2]|0)+16>>2]|0)+212>>2]|0)+16>>2]|0)+212>>2]|0)&&(l=ko(e[((n|0)==2?A:c)+40>>2]|0)|0,(l|0)!=(e[(e[(e[(e[(e[((e[A>>2]&3|0)==2?A:c)+40>>2]|0)+16>>2]|0)+212>>2]|0)+16>>2]|0)+208>>2]|0))?n=f:(n=i,i=f),Zj(t,i,n,A);break}else{if(!(V7(e[(e[(e[n>>2]|0)+16>>2]|0)+212>>2]|0)|0)&&!(V7(o)|0)){Zj(t,i,f,A);break}nw0(t,i,f,A);break}while(0);A=Qe(r,A)|0}s=X0(r,s)|0}}function Lj(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;if(Mp(r)|0&&V7(r)|0){for(l=U0(r)|0;l;)Xo(r,l)|0||(o=e[(e[(ko(l)|0)+16>>2]|0)+148>>2]|0,i||(i=Sh(t,87252)|0),rr(t,i,o,0,1)|0),Me(r,l)|0||(o=e[(e[(ko(l)|0)+16>>2]|0)+148>>2]|0,n||(n=Sh(t,87257)|0),rr(t,o,n,0,1)|0),l=X0(r,l)|0;(n|0)!=0&(i|0)!=0&&Y7(rr(t,i,n,0,1)|0,0,1e3),o=i}else o=i;for(i=yt(r)|0;i;)Lj(i,t,o,n),i=Ct(i)|0}function $60(r){r=r|0;var t=0,i=0;for(t=U0(r)|0;t;)i=e[t+16>>2]|0,C[i+158>>0]=0,C[i+157>>0]=0,t=X0(r,t)|0;for(t=U0(r)|0;t;)Gj(r,t),t=X0(r,t)|0}function K60(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=U0(r)|0;t;)e[(e[t+16>>2]|0)+128>>2]=0,t=X0(r,t)|0;for(t=0,n=U0(r)|0;n;)i=t+1|0,e[(e[n+16>>2]|0)+128>>2]|0||(P7(r,n,i),t=i),n=X0(r,n)|0;e:do if((t|0)>1)for(o=Sh(r,87246)|0,i=1,n=U0(r)|0;;){if(!n)break e;(e[(e[n+16>>2]|0)+128>>2]|0)==(i|0)&&(rr(r,o,n,0,1)|0,i=i+1|0),n=X0(r,n)|0}while(0);return t|0}function b60(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(l=U0(r)|0;l;){for(s=l+16|0,o=Me(r,l)|0;o;)t=e[s>>2]|0,i=e[t+180>>2]|0,i?t=Ve(i,(e[t+184>>2]<<2)+8|0)|0:t=_0((e[t+184>>2]<<2)+8|0)|0,i=e[s>>2]|0,e[i+180>>2]=t,i=i+184|0,n=e[i>>2]|0,e[i>>2]=n+1,e[t+(n<<2)>>2]=o,n=e[s>>2]|0,e[(e[n+180>>2]|0)+(e[n+184>>2]<<2)>>2]=0,n=o+-48|0,t=e[(e[((e[o>>2]&3|0)==2?o:n)+40>>2]|0)+16>>2]|0,i=e[t+172>>2]|0,i?t=Ve(i,(e[t+176>>2]<<2)+8|0)|0:t=_0((e[t+176>>2]<<2)+8|0)|0,e[(e[(e[((e[o>>2]&3|0)==2?o:n)+40>>2]|0)+16>>2]|0)+172>>2]=t,A=e[(e[((e[o>>2]&3|0)==2?o:n)+40>>2]|0)+16>>2]|0,t=e[A+172>>2]|0,A=A+176|0,i=e[A>>2]|0,e[A>>2]=i+1,e[t+(i<<2)>>2]=o,n=e[(e[((e[o>>2]&3|0)==2?o:n)+40>>2]|0)+16>>2]|0,e[(e[n+172>>2]|0)+(e[n+176>>2]<<2)>>2]=0,o=Qe(r,o)|0;l=X0(r,l)|0}}function ew0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;w=r+16|0,p=e[w>>2]|0,$[p+236>>1]=32767,$[p+238>>1]=-1;e:do if((i|0)>1)for(o=j0((i<<2)+4|0)|0,n=i+1|0,i=1;;){if((i|0)==(n|0)){f=o,p=o;break e}e[o+(i<<2)>>2]=32767,i=i+1|0}else f=0,p=0;while(0);for(l=(f|0)==0,o=U0(r)|0;o;)s=e[(e[(e[(ko(o)|0)+16>>2]|0)+148>>2]|0)+16>>2]|0,A=e[s+232>>2]|0,c=e[o+16>>2]|0,e[c+232>>2]=A,i=e[w>>2]|0,n=i+238|0,(A|0)>($[n>>1]|0)&&($[n>>1]=A),i=i+236|0,(A|0)<($[i>>1]|0)&&($[i>>1]=A),l||(s=e[s+128>>2]|0,e[c+128>>2]=s,c=f+(s<<2)|0,s=e[c>>2]|0,e[c>>2]=(s|0)<(A|0)?s:A),o=X0(r,o)|0;s=(f|0)!=0;e:do if(s)for(i=U0(r)|0;;){if(!i){i=1;break e}c=e[i+16>>2]|0,w=c+232|0,e[w>>2]=(e[w>>2]|0)-(e[f+(e[c+128>>2]<<2)>>2]|0),i=X0(r,i)|0}else if(f=$[(e[w>>2]|0)+236>>1]|0,n=f<<16>>16,f<<16>>16>0){for(i=U0(r)|0;i;)f=(e[i+16>>2]|0)+232|0,e[f>>2]=(e[f>>2]|0)-n,i=X0(r,i)|0;i=e[w>>2]|0,w=i+236|0,$[w>>1]=(M0[w>>1]|0)-n,i=i+238|0,$[i>>1]=(M0[i>>1]|0)-n,i=0}else i=0;while(0);for(Rj(r,i),l=U0(t)|0;l;)n=l+16|0,i=e[n>>2]|0,o=e[i+172>>2]|0,o&&(r0(o),i=e[n>>2]|0),i=e[i+180>>2]|0,i|0&&r0(i),l=X0(t,l)|0;for(r0(e[(e[(U0(r)|0)+16>>2]|0)+112>>2]|0),i=U0(r)|0;i;)e[(e[i+16>>2]|0)+112>>2]=0,i=X0(r,i)|0;s&&r0(p)}function ko(r){r=r|0;var t=0,i=0,n=0;if(t=r+16|0,i=(e[t>>2]|0)+152|0,n=e[i>>2]|0,n){if((n|0)!=(r|0))return n=ko(n)|0,e[(e[t>>2]|0)+152>>2]=n,n|0}else e[i>>2]=r;return r|0}function Rj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(s=r+16|0,i=1;n=e[s>>2]|0,!((i|0)>(e[n+180>>2]|0));)Rj(e[(e[n+184>>2]|0)+(i<<2)>>2]|0,0),i=i+1|0;if((t|0)!=0|(e[n+200>>2]|0)!=0){for($[n+236>>1]=32767,$[n+238>>1]=-1,i=0,l=U0(r)|0;l;)o=e[(e[l+16>>2]|0)+232>>2]|0,t=e[s>>2]|0,n=t+238|0,(o|0)>($[n>>1]|0)&&($[n>>1]=o),t=t+236|0,(o|0)<($[t>>1]|0)&&($[t>>1]=o,i=l),l=X0(r,l)|0;e[(e[s>>2]|0)+264>>2]=i}}function P7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(e[t+16>>2]|0)+128|0;e:do if(!(e[n>>2]|0)){for(e[n>>2]=i,n=Me(r,t)|0;n;)P7(r,e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,i),n=Qe(r,n)|0;for(n=Xo(r,t)|0;;){if(!n)break e;P7(r,e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0,i),n=ms(r,n)|0}}while(0)}function Sh(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=ht(r,t,1)|0,t=o+16|0,e[(e[t>>2]|0)+176>>2]=0,n=j0(20)|0,i=e[t>>2]|0,e[i+172>>2]=n,e[i+184>>2]=0,i=j0(20)|0,t=e[t>>2]|0,e[t+180>>2]=i,i=e[46747]|0,n=t+168|0,i?(e[n>>2]=i,e[(e[i+16>>2]|0)+164>>2]=o):(e[n>>2]=0,e[(e[r+16>>2]|0)+192>>2]=o),e[46747]=o,e[t+164>>2]=0,o|0}function Gj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;if(l=t+16|0,i=e[l>>2]|0,n=i+157|0,!(C[n>>0]|0)){for(C[n>>0]=1,C[i+158>>0]=1,t=Me(r,t)|0;t;){if(i=Qe(r,t)|0,n=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,o=e[n+16>>2]|0,C[o+158>>0]|0){rw0(r,t),t=i;continue}if(C[o+157>>0]|0){t=i;continue}Gj(r,n),t=i}C[(e[l>>2]|0)+158>>0]=0}}function rw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[t>>2]&3,o=t+-48|0,n=t+48|0,i=rr(r,e[((i|0)==2?t:o)+40>>2]|0,e[((i|0)==3?t:n)+40>>2]|0,0,0)|0,i||(i=e[t>>2]&3,i=rr(r,e[((i|0)==2?t:o)+40>>2]|0,e[((i|0)==3?t:n)+40>>2]|0,0,1)|0),o=e[t+16>>2]|0,Y7(i,M0[o+170>>1]|0,e[o+156>>2]|0),zn(r,t)|0}function Y7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;r=e[r+16>>2]|0,n=r+170|0,o=M0[n>>1]|0,$[n>>1]=(o|0)>(t|0)?o:t,t=r+156|0,e[t>>2]=(e[t>>2]|0)+i}function V7(r){return r=r|0,(DA(he(r,87262)|0,0)|0)&255|0}function tw0(r){r=r|0;var t=0,i=0;return t=e[47189]|0,t|0&&(i=k2(r,t)|0,(i|0)!=0)&&C[i>>0]|0&&!((jt(i)|0)<<24>>24)?r=1:r=0,r|0}function iw0(r){r=r|0;var t=0,i=0;return i=e[r>>2]&3,t=e[(e[(e[((i|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,r=e[(e[(e[((i|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+212>>2]|0,(t|0)==(r|0)?1:(i=ow0(t,r)|0,((i|0)==(t|0)|(i|0)==(r|0))&1|0)}function Zj(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+16|0,l=A,o=rr(r,t,i,0,0)|0,o?s=4:(o=rr(r,i,t,0,0)|0,o?s=4:(o=rr(r,t,i,0,1)|0,o?s=4:(t=te(t)|0,n=te(i)|0,e[l>>2]=t,e[l+4>>2]=n,$0(1,87279,l)|0))),(s|0)==4&&(s=e[n+16>>2]|0,Y7(o,M0[s+170>>1]|0,e[s+156>>2]|0)),g=A}function nw0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(c=g,g=g+112|0,s=c,l=c+4|0,o=Xo(r,t)|0;;){if(!o){A=6;break}if(f=Me(r,e[((e[o>>2]&3|0)==3?o:o+48|0)+40>>2]|0)|0,f|0&&(e[((e[f>>2]&3|0)==2?f:f+-48|0)+40>>2]|0)==(i|0))break;o=ms(r,o)|0}(A|0)==6&&(f=e[46748]|0,e[46748]=f+1,e[s>>2]=f,Ke(l,87270,s)|0,l=Sh(r,l)|0,f=rr(r,l,t,0,1)|0,l=rr(r,l,i,0,1)|0,i=e[n+16>>2]|0,A=i+156|0,f=(e[f+16>>2]|0)+156|0,e[f>>2]=(e[f>>2]|0)+((e[A>>2]|0)*1e3|0),f=e[l+16>>2]|0,s=f+170|0,$[s>>1]=$[(e[((M0[s>>1]|0)>(M0[i+170>>1]|0)?l:n)+16>>2]|0)+170>>1]|0,f=f+156|0,e[f>>2]=(e[f>>2]|0)+(e[A>>2]|0)),g=c}function ow0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;e:for(;;){for(n=r+16|0;;){if((r|0)==(t|0))break e;if(o=e[n>>2]|0,i=e[t+16>>2]|0,(e[o+204>>2]|0)>=(e[i+204>>2]|0))break;t=e[i+200>>2]|0}r=e[o+200>>2]|0}return r|0}function lw0(r){return r=r|0,(U0(r)|0)==0|0}function sw0(r,t){r=r|0,t=t|0,e[(e[r+16>>2]|0)+200>>2]=t,Sj(t,r),xj(t,r)}function Aw0(r){r=r|0;var t=0;return r=he(r,87171)|0,r|0&&C[r>>0]|0?ge(r,87181)|0?ge(r,87185)|0?ge(r,87192)|0?ge(r,87196)|0?ge(r,87176)|0?t=8:r=1:r=5:r=4:r=3:r=2:t=8,(t|0)==8&&(r=6),r|0}function op(r){r=r|0;var t=0,i=0;i=U0(r)|0;e:do if(!i)t=0;else for(t=ko(i)|0;;){if(i=X0(r,i)|0,!i)break e;O7(t,i)|0}while(0);return t|0}function O7(r,t){return r=r|0,t=t|0,t&&(r=ko(r)|0,e[(e[(ko(t)|0)+16>>2]|0)+152>>2]=r),r|0}function uw0(r,t,i){r=r|0,t=t|0,i=i|0,$e(t,87230,e[i>>2]|0,1)|0}function aw0(r,t,i){r=r|0,t=t|0,i=i|0,$e(t,87397,e[i+4>>2]|0,1)|0}function cw0(r,t,i){r=r|0,t=t|0,i=i|0,$e(t,87382,e[i+8>>2]|0,1)|0}function Wj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+240|0,f=v+120|0,w=v,e[47193]=re(r,2,87412,0)|0,c=re(r,2,87421,0)|0,e[47194]=c;e:do if((c|0)!=0|(e[47193]|0)!=0)for(c=U0(r)|0;;){if(!c)break e;for(A=0,t=0,s=Xr(r,c)|0;;){if(!s){n=0;break}i=e[s>>2]|0,o=i&3,n=e[((o|0)==2?s:s+-48|0)+40>>2]|0,l=s+48|0;r:do if((n|0)!=(e[((o|0)==3?s:l)+40>>2]|0)){o=e[47193]|0;do if((n|0)==(c|0)&(o|0)!=0)if(n=k2(s,o)|0,C[n>>0]|0){i=A,t=Dj(f,t,c,s,n)|0;break r}else{i=e[s>>2]|0;break}while(0);n=e[47194]|0,n|0&&(e[((i&3|0)==3?s:l)+40>>2]|0)==(c|0)&&(p=k2(s,n)|0,(C[p>>0]|0)!=0)?i=Dj(w,A,c,s,p)|0:i=A}else i=A;while(0);A=i,s=ot(r,s,c)|0}for(;;){if((n|0)>=(t|0)){i=0;break}i=f+(n*24|0)+4|0,(e[f+(n*24|0)+8>>2]|0)>1&&Mj(c,i),i=e[i>>2]|0,i|0&&r0(i),n=n+1|0}for(;!((i|0)>=(A|0));)t=w+(i*24|0)+4|0,(e[w+(i*24|0)+8>>2]|0)>1&&Mj(c,t),t=e[t>>2]|0,t|0&&r0(t),i=i+1|0;c=X0(r,c)|0}while(0);g=v}function Dj(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(p=g,g=g+16|0,A=p,c=p+12|0,f=p+8|0,w=0;;){if((w|0)>=(t|0)){s=10;break}if(s=e[r+(w*24|0)>>2]|0,(C[s>>0]|0)==(C[o>>0]|0)&&!(ge(s,o)|0)){s=5;break}w=w+1|0}do if((s|0)==5)A=r+(w*24|0)+4|0,s=e[A>>2]|0,s?(v=r+(w*24|0)+8|0,o=v,s=Ve(s,(e[v>>2]<<2)+8|0)|0):(s=r+(w*24|0)+8|0,o=s,s=_0((e[s>>2]<<2)+8|0)|0),e[A>>2]=s,m=e[o>>2]|0,v=m+1|0,e[o>>2]=v,e[s+(m<<2)>>2]=n,e[(e[A>>2]|0)+(v<<2)>>2]=0,s=13;else if((s|0)==10)if((t|0)>4){m=te(i)|0,e[A>>2]=5,e[A+4>>2]=m,$0(1,87430,A)|0;break}else{E=r+(w*24|0)+8|0,e[E>>2]=0,A=j0(8)|0,m=r+(w*24|0)+4|0,e[m>>2]=A,v=e[E>>2]|0,s=v+1|0,e[E>>2]=s,e[A+(v<<2)>>2]=n,e[(e[m>>2]|0)+(s<<2)>>2]=0,e[r+(w*24|0)>>2]=o,e[r+(w*24|0)+12>>2]=0,u[r+(w*24|0)+16>>3]=0,t=t+1|0,s=13;break}while(0);return(s|0)==13&&(fh(n,c,f),s=(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)==(i|0)?e[f>>2]|0:e[c>>2]|0,s&&(m=r+(w*24|0)+12|0,E=e[m>>2]|0,e[m>>2]=E+1,E?l=0:l=+da(n,s),u[r+(w*24|0)+16>>3]=l)),g=p,t|0}function Mj(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;for(L=g,g=g+80|0,B=L+68|0,x=L+64|0,m=L,z=t+4|0,f=e[z>>2]|0,_=r+16|0,l=0,p=0,v=0;!((l|0)>=(f|0));)n=e[(e[t>>2]|0)+(l<<2)>>2]|0,o=e[n>>2]&3,i=e[((o|0)==2?n:n+-48|0)+40>>2]|0,(i|0)==(r|0)&&(i=e[((o|0)==3?n:n+48|0)+40>>2]|0),o=e[i+16>>2]|0,E=e[_>>2]|0,A=+u[o+16>>3]-+u[E+16>>3],c=+u[o+24>>3]-+u[E+24>>3],w=+Pf(A,c),l=l+1|0,p=A/w+p,v=c/w+v;for(s=+Pf(p,v),E=e[_>>2]|0,A=+u[E+16>>3],c=+u[E+24>>3],Z=+u[E+96>>3]+ +u[E+88>>3],w=+u[E+80>>3],E=Z>w+ +(e[(e[(We(r)|0)+16>>2]|0)+252>>2]|0),i=e[_>>2]|0,E?w=+u[i+96>>3]+ +u[i+88>>3]:(w=+u[i+80>>3],w=w+ +(e[(e[(We(r)|0)+16>>2]|0)+252>>2]|0),i=e[_>>2]|0),Z=+u[i+16>>3]+w*(p/s),s=+u[i+24>>3]+w*(v/s),u[m>>3]=A,f=m+8|0,u[f>>3]=c,u[m+16>>3]=(Z+A*2)*.3333333333333333,u[m+24>>3]=(s+c*2)*.3333333333333333,u[m+32>>3]=(Z*2+A)*.3333333333333333,u[m+40>>3]=(s*2+c)*.3333333333333333,u[m+48>>3]=Z,u[m+56>>3]=s,_k0(r,m),E=e[_>>2]|0,s=+u[m>>3]-+u[E+16>>3],A=+u[f>>3]-+u[E+24>>3],s=+(~~(s+(s>=0?.5:-.5))|0),A=+(~~(A+(A>=0?.5:-.5))|0),Z=+u[E+88>>3],E=~~((Z+s)*256/(+u[E+96>>3]+Z))&255,m=0;!((m|0)>=(e[z>>2]|0));){for(f=e[(e[t>>2]|0)+(m<<2)>>2]|0,fh(f,B,x);f;){o=f;for(;;){if(!o){l=f;break}if(i=e[o>>2]|0,l=o+-48|0,(e[((i&3|0)==2?o:l)+40>>2]|0)==(r|0)&&(i=e[o+16>>2]|0,u[i+56>>3]=s,u[i+64>>3]=A,u[i+72>>3]=0,e[i+80>>2]=0,C[i+84>>0]=1,C[i+85>>0]=0,C[i+86>>0]=0,C[i+87>>0]=0,C[i+88>>0]=E,C[i+89>>0]=0,e[i+92>>2]=0,i=e[o>>2]|0),n=o+16|0,(e[((i&3|0)==3?o:o+48|0)+40>>2]|0)==(r|0)&&(i=e[n>>2]|0,u[i+16>>3]=s,u[i+24>>3]=A,u[i+32>>3]=0,e[i+40>>2]=0,C[i+44>>0]=1,C[i+45>>0]=0,C[i+46>>0]=0,C[i+47>>0]=0,C[i+48>>0]=E,C[i+49>>0]=0,e[i+52>>2]=0),(C[(e[n>>2]|0)+112>>0]|0)!=1){o=0;continue}if(i=e[(e[((e[o>>2]&3|0)==2?o:l)+40>>2]|0)+16>>2]|0,(C[i+156>>0]|0)!=1){o=0;continue}if((e[i+184>>2]|0)!=1){o=0;continue}o=e[e[i+180>>2]>>2]|0}for(;l;){if(i=e[l>>2]|0,(e[((i&3|0)==2?l:l+-48|0)+40>>2]|0)==(r|0)&&(i=e[l+16>>2]|0,u[i+56>>3]=s,u[i+64>>3]=A,u[i+72>>3]=0,e[i+80>>2]=0,C[i+84>>0]=1,C[i+85>>0]=0,C[i+86>>0]=0,C[i+87>>0]=0,C[i+88>>0]=E,C[i+89>>0]=0,e[i+92>>2]=0,i=e[l>>2]|0),n=l+48|0,o=l+16|0,(e[((i&3|0)==3?l:n)+40>>2]|0)==(r|0)&&(i=e[o>>2]|0,u[i+16>>3]=s,u[i+24>>3]=A,u[i+32>>3]=0,e[i+40>>2]=0,C[i+44>>0]=1,C[i+45>>0]=0,C[i+46>>0]=0,C[i+47>>0]=0,C[i+48>>0]=E,C[i+49>>0]=0,e[i+52>>2]=0),(C[(e[o>>2]|0)+112>>0]|0)!=1){l=0;continue}if(i=e[(e[((e[l>>2]&3|0)==3?l:n)+40>>2]|0)+16>>2]|0,(C[i+156>>0]|0)!=1){l=0;continue}if((e[i+176>>2]|0)!=1){l=0;continue}l=e[e[i+172>>2]>>2]|0}f=e[(e[f+16>>2]|0)+172>>2]|0}m=m+1|0}C[(e[_>>2]|0)+145>>0]=1,g=L}function H7(r){r=r|0;var t=0,i=0,n=0;bo(r),t=e[r>>2]&3,i=r+-48|0,n=r+48|0,t=ga(e[((t|0)==2?r:i)+40>>2]|0,e[((t|0)==3?r:n)+40>>2]|0)|0,t?Ss(r,t):(t=e[r>>2]&3,Jn(e[((t|0)==2?r:i)+40>>2]|0,e[((t|0)==3?r:n)+40>>2]|0,r)|0)}function fw0(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=r+16|0,i=0;r=e[n>>2]|0,!((i|0)>=(e[r+220>>2]|0));){for(t=e[(e[r+216>>2]|0)+(i<<2)>>2]|0,e[r+192>>2]=t,r=t,t=r;t;)o=e[t+16>>2]|0,C[o+157>>0]=0,t=e[o+164>>2]|0;for(;r;)jj(r),r=e[(e[r+16>>2]|0)+164>>2]|0;i=i+1|0}}function jj(r){r=r|0;var t=0,i=0,n=0,o=0;if(o=r+16|0,t=e[o>>2]|0,r=t+157|0,!(C[r>>0]|0)){for(C[r>>0]=1,C[t+158>>0]=1,r=0;n=e[(e[t+180>>2]|0)+(r<<2)>>2]|0,!!n;)t=e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,i=e[t+16>>2]|0,C[i+158>>0]|0?(H7(n),r=r+-1|0):C[i+157>>0]|0||jj(t),r=r+1|0,t=e[o>>2]|0;C[t+158>>0]=0}}function z2e(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(n=U0(r)|0,t=0;n;){for(i=Me(r,n)|0;i;)l=e[i>>2]&3,s=e[(e[(e[((l|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0,l=e[(e[(e[((l|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0,o=s-l|0,i=Qe(r,i)|0,t=((s|0)==(l|0)?0:((o|0)>-1?o:0-o|0)+-1|0)+t|0;n=X0(r,n)|0}return t|0}function Nj(r){r=r|0;var t=0,i=0,n=0,o=0;for(i=U0(r)|0;i;){for(o=e[i+16>>2]|0,n=e[o+176>>2]|0,o=o+172|0,t=0;!((t|0)>=(n|0));)C[(e[(e[(e[o>>2]|0)+(t<<2)>>2]|0)+16>>2]|0)+112>>0]=0,t=t+1|0;i=X0(r,i)|0}}function hw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(m=g,g=g+16|0,p=m,A=e[t+24>>2]|0,ww0(r),c=(A|0)==-1,f=t+8|0,s=c^1,w=e[15712]|0,o=17976931348623157e292,l=0;c|(l|0)<(A|0);){for(i=U0(r)|0;i;)e[(e[i+16>>2]|0)+232>>2]=0,i=X0(r,i)|0;if(T7(r),n=+Qj(r),u[f>>3]=n,!(!(n<=+u[t>>3])&(!(o<=n)|s))){v=9;break}dw0(r),o=n,l=l+1|0}(v|0)==9&&(v=t+20|0,e[t+16>>2]=e[v>>2],e[v>>2]=l),T7(r),J7(r),pw0(),u[f>>3]=+Qj(r),g=m}function ww0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(e[46752]=_0((v2(r)|0)*24|0)|0,e[46751]=0,t=U0(r)|0;t;)e[(e[t+16>>2]|0)+120>>2]=-1,t=X0(r,t)|0;for(s=U0(r)|0;s;){A=s+16|0;do if(!(e[(e[A>>2]|0)+216>>2]|0))o=j0(4)|0,l=e[46752]|0,c=e[46751]|0,e[l+(c*24|0)>>2]=o,e[o>>2]=s,e[l+(c*24|0)+4>>2]=1,A=e[A>>2]|0,u[l+(c*24|0)+8>>3]=+u[A+32>>3],u[l+(c*24|0)+16>>3]=+u[A+40>>3],e[A+120>>2]=c,e[46751]=c+1;else{if(l=Ht(s)|0,c=l+16|0,t=e[c>>2]|0,i=e[t+120>>2]|0,(i|0)>-1){l=e[46752]|0,o=e[l+(i*24|0)>>2]|0,n=l+(i*24|0)+4|0,c=e[n>>2]|0,e[n>>2]=c+1,e[o+(c<<2)>>2]=s,c=e[A>>2]|0,A=l+(i*24|0)+8|0,u[A>>3]=+u[A>>3]+ +u[c+32>>3],A=l+(i*24|0)+16|0,f=+u[A>>3],w=+u[c+40>>3],u[A>>3]=f>2]=i;break}i=j0(e[t+216>>2]<<2)|0,n=e[46752]|0,o=e[46751]|0,t=n+(o*24|0)|0,e[t>>2]=i,e[i>>2]=l,(l|0)==(s|0)?(u[n+(o*24|0)+8>>3]=+u[(e[c>>2]|0)+32>>3],i=1,t=s):(e[(e[t>>2]|0)+4>>2]=s,p=e[c>>2]|0,t=e[A>>2]|0,u[n+(o*24|0)+8>>3]=+u[t+32>>3]+ +u[p+32>>3],i=2,t=+u[p+40>>3]<+u[t+40>>3]?s:l),e[n+(o*24|0)+4>>2]=i,u[n+(o*24|0)+16>>3]=+u[(e[t+16>>2]|0)+40>>3],e[(e[c>>2]|0)+120>>2]=o,e[(e[A>>2]|0)+120>>2]=o,e[46751]=o+1}while(0);s=X0(r,s)|0}}function Qj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(J7(r),l=e[46749]|0,n=e[r+16>>2]|0,t=+(N0(e[n+252>>2]|0,l+-1|0)|0),o=e[46750]|0,n=n+248|0,r=0,i=0;!((r|0)>=(l|0));)s=+u[o+(r*40|0)+24>>3]+ +(N0(e[n>>2]|0,e[o+(r*40|0)+16>>2]|0)|0),A=+u[o+(r*40|0)+32>>3]+t,r=r+1|0,t=A,i=i=(v2(r)|0));)e[(e[46753]|0)+(t<<2)>>2]=t,t=t+1|0;J7(r),kw0(r),vw0(r)}function J7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(e[46749]=0,t=e[46750]|0,t|0){for(n=0;!((n|0)>=(e[46751]|0));)i=e[t+(n*40|0)+4>>2]|0,i&&(r0(i),t=e[46750]|0),i=e[t+(n*40|0)+8>>2]|0,i&&(r0(i),t=e[46750]|0),n=n+1|0;r0(t)}for(e[46750]=j0((e[46751]|0)*40|0)|0,t=0;i=e[46751]|0,!((t|0)>=(i|0));)c=j0(i<<2)|0,e[(e[46750]|0)+(t*40|0)+4>>2]=c,c=j0(e[46751]<<2)|0,f=e[46750]|0,e[f+(t*40|0)+8>>2]=c,e[f+(t*40|0)>>2]=t,e[f+(t*40|0)+12>>2]=0,e[f+(t*40|0)+16>>2]=0,f=f+(t*40|0)+24|0,e[f>>2]=0,e[f+4>>2]=0,e[f+8>>2]=0,e[f+12>>2]=0,t=t+1|0;for(n=U0(r)|0;n;){for(i=Me(r,n)|0;i;){for(s=e[i>>2]|0,o=i+-48|0,l=e[46750]|0,t=e[(e[(e[((s&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0;t=t+1|0,!((t|0)>=(e[(e[(e[((s&3|0)==2?i:o)+40>>2]|0)+16>>2]|0)+232>>2]|0));)s=l+(t*40|0)+16|0,e[s>>2]=(e[s>>2]|0)+1,s=e[i>>2]|0;i=Qe(r,i)|0}n=X0(r,n)|0}for(s=e[46751]|0,c=e[46752]|0,f=e[46750]|0,i=r+16|0,t=0;!((t|0)>=(s|0));)n=(e[e[c+(t*24|0)>>2]>>2]|0)+16|0,o=e[(e[n>>2]|0)+232>>2]|0,(o|0)>=(e[46749]|0)&&(e[46749]=o+1),l=f+(o*40|0)+24|0,A=+u[l>>3],u[l>>3]=A+ +u[c+(t*24|0)+8>>3]*72+(A>0?+(e[(e[i>>2]|0)+248>>2]|0):0),l=f+(o*40|0)+32|0,A=+u[c+(t*24|0)+16>>3]*72,+u[l>>3]>3]=A),e[(e[f+(o*40|0)+4>>2]|0)+(e[f+(o*40|0)+12>>2]<<2)>>2]=c+(t*24|0),r=f+((e[(e[n>>2]|0)+232>>2]|0)*40|0)+12|0,e[r>>2]=(e[r>>2]|0)+1,t=t+1|0}function pw0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(f=e[46749]|0,w=e[46750]|0,c=0,t=0,r=0;!((c|0)>=(f|0));){i=w+(c*40|0)|0,A=e[w+(c*40|0)+12>>2]|0,n=(t|0)==0;e:do if(A){if(n)t=0;else if((e[i>>2]|0)>(r|0))for(o=w+(c*40|0)+4|0,i=0;;){if((i|0)>=(A|0))break e;for(l=e[(e[o>>2]|0)+(i<<2)>>2]|0,s=e[l+4>>2]|0,n=0;!((n|0)>=(s|0));)p=(e[(e[(e[l>>2]|0)+(n<<2)>>2]|0)+16>>2]|0)+232|0,e[p>>2]=(e[p>>2]|0)-t,n=n+1|0;i=i+1|0}}else n&&(r=e[i>>2]|0),t=t+1|0;while(0);c=c+1|0}}function kw0(r){r=r|0;var t=0;t=e[46753]|0,ei(t,v2(r)|0,4,63)}function vw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(s=e[46749]|0,A=e[46750]|0,o=e[46753]|0,l=0;;){if((l|0)>=(s|0)){i=0,t=0;break}if(i=e[o+(l<<2)>>2]|0,n=l+1|0,(e[A+(i*40|0)+12>>2]|0)<2)l=n;else{c=4;break}}(c|0)==4&&((s|0)>(n|0)?t=+u[A+((e[o+(n<<2)>>2]|0)*40|0)+24>>3]:t=0);e:do if((l|0)!=(s|0))for(ei(e[A+(i*40|0)+4>>2]|0,e[A+(i*40|0)+12>>2]|0,4,64),o=e[46750]|0,E=+u[o+(i*40|0)+24>>3],E=!(t<=E*.25)&!(t>=E*.75)?t:E*.5,B=e[o+(i*40|0)+12>>2]|0,m=r+16|0,w=0,p=0,t=0,n=0,v=0;;){if((v|0)>=(n+B|0))break e;do if(e[(e[o+(i*40|0)+8>>2]|0)+(v<<2)>>2]|0)s=w,l=p,n=n+1|0;else{if(c=e[(e[o+(i*40|0)+4>>2]|0)+(v<<2)>>2]|0,r=c+8|0,f=+u[r>>3]*72+t+(t>0?+(e[(e[m>>2]|0)+248>>2]|0):0),l=(p|0)!=0,!(l&!(f<=E))){s=l?w:c,l=l?p:1,t=f;break}for(s=w+4|0,A=c+4|0,l=0;(l|0)<(e[s>>2]|0);){o=0;for(;!((o|0)>=(e[A>>2]|0));)C[(e[(Jn(e[(e[w>>2]|0)+(l<<2)>>2]|0,e[(e[c>>2]|0)+(o<<2)>>2]|0,0)|0)+16>>2]|0)+112>>0]=1,o=o+1|0;l=l+1|0}o=e[46750]|0,e[(e[o+(i*40|0)+8>>2]|0)+(v<<2)>>2]=1,s=o+(i*40|0)+12|0,e[s>>2]=(e[s>>2]|0)+-1,s=o+(i*40|0)+16|0,e[s>>2]=(e[s>>2]|0)+1,s=o+(i*40|0)+24|0,u[s>>3]=+u[r>>3]*-72-+(e[(e[m>>2]|0)+248>>2]|0)+ +u[s>>3],s=w,l=p}while(0);w=s,p=l,v=v+1|0}while(0)}function mw0(r,t){return r=r|0,t=t|0,r=Tj(e[r>>2]|0)|0,t=Tj(e[t>>2]|0)|0,((t|0)<(r|0)&1)-((t|0)>(r|0)&1)|0}function Tj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=r+4|0,i=0,t=0;!((i|0)>=(e[o>>2]|0));){for(n=e[(e[r>>2]|0)+(i<<2)>>2]|0,l=We(n)|0,n=Me(l,n)|0;n;)n=Qe(l,n)|0,t=t+1|0;i=i+1|0}return t|0}function gw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=e[46750]|0,n=+u[o+((e[t>>2]|0)*40|0)+24>>3],i=+u[o+((e[r>>2]|0)*40|0)+24>>3],(n>i&1)-(n>2]|0)+216>>2]=0,t=X0(r,t)|0}function yw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+32|0,o=l+16|0,n=l+8|0,i=l+20|0,e[i>>2]=5,r=he(r,99605)|0,r|0&&(e[n>>2]=l,e[n+4>>2]=i,(X2(r,87497,n)|0)>=1)&&$0(0,87504,o)|0,e[t+24>>2]=0,e[t+32>>2]=0,g=l,0}function Pj(r){r=r|0;var t=0,i=0;return t=e[47189]|0,t|0&&(i=k2(r,t)|0,(i|0)!=0)&&C[i>>0]|0&&!((jt(i)|0)<<24>>24)?r=1:r=0,r|0}function Yj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for($j(r),t=U0(r)|0;t;){for(i=Me(r,t)|0;i;){do if(!(e[(e[i+16>>2]|0)+172>>2]|0)&&!(Pj(i)|0)&&(n=i+48|0,o=Ht(e[((e[i>>2]&3|0)==3?i:n)+40>>2]|0)|0,l=i+-48|0,s=Ht(e[((e[i>>2]&3|0)==2?i:l)+40>>2]|0)|0,(o|0)!=(s|0))){if(!(e[(e[o+16>>2]|0)+212>>2]|0)&&!(e[(e[s+16>>2]|0)+212>>2]|0))if(A=ga(o,s)|0,A){Ss(i,A);break}else{Jn(o,s,i)|0;break}A=e[i>>2]&3,Cw0(r,e[((A|0)==3?i:n)+40>>2]|0,e[((A|0)==2?i:l)+40>>2]|0,i)}while(0);i=Qe(r,i)|0}t=X0(r,t)|0}}function Cw0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=e[n>>2]&3,o=e[(e[((s|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0,l=e[o+212>>2]|0,l?A=(e[o+232>>2]|0)-(e[(e[(e[(e[l+16>>2]|0)+264>>2]|0)+16>>2]|0)+232>>2]|0)|0:A=0,o=e[(e[((s|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0,l=e[o+212>>2]|0,l?o=(e[(e[(e[(e[l+16>>2]|0)+264>>2]|0)+16>>2]|0)+232>>2]|0)-(e[o+232>>2]|0)|0:o=0,s=n+16|0,A=o+A+(M0[(e[s>>2]|0)+170>>1]|0)|0,r=Ml(r)|0,C[(e[r+16>>2]|0)+156>>0]=2,l=Ht(t)|0,t=Ht(i)|0,i=gi(r,l,(A|0)>0?0:+(0-A|0),(e[(e[s>>2]|0)+156>>2]|0)*10|0)|0,e[(e[(gi(r,t,+(((A|0)>0?A:0)|0),e[(e[s>>2]|0)+156>>2]|0)|0)+16>>2]|0)+116>>2]=n,e[(e[i+16>>2]|0)+116>>2]=n}function _h(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=e[t>>2]&3,l=(s|0)==3?t:t+48|0,s=(s|0)==2?t:t+-48|0,s=e[(e[(e[((e[(e[(e[l+40>>2]|0)+16>>2]|0)+232>>2]|0)>(e[(e[(e[s+40>>2]|0)+16>>2]|0)+232>>2]|0)?l:s)+40>>2]|0)+16>>2]|0)+232>>2]|0,l=t+16|0,t=(e[l>>2]|0)+172|0,e[t>>2]|0&&H0(87593,87615,148,87624),e[t>>2]=i,o=(n|0)==0;do{if(t=e[l>>2]|0,o?n=e[i+16>>2]|0:(n=e[i+16>>2]|0,A=n+168|0,$[A>>1]=(M0[A>>1]|0)+(M0[t+168>>1]|0)),A=n+154|0,$[A>>1]=(M0[A>>1]|0)+(M0[t+154>>1]|0),n=n+156|0,e[n>>2]=(e[n>>2]|0)+(e[t+156>>2]|0),t=i+-48|0,n=e[((e[i>>2]&3|0)==2?i:t)+40>>2]|0,(e[(e[n+16>>2]|0)+232>>2]|0)==(s|0))break;Vj(r,n),i=e[e[(e[(e[((e[i>>2]&3|0)==2?i:t)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}while(i|0)}function Vj(r,t){r=r|0,t=t|0;var i=0;i=+((e[(e[r+16>>2]|0)+248>>2]|0)/2|0|0),t=e[t+16>>2]|0,r=t+88|0,u[r>>3]=+u[r>>3]+i,t=t+96|0,u[t>>3]=+u[t>>3]+i}function Oj(r,t){r=r|0,t=t|0;var i=0,n=0;return(r|0)!=0&(t|0)!=0&&(n=e[r>>2]&3,i=e[t>>2]&3,(e[((n|0)==3?r:r+48|0)+40>>2]|0)==(e[((i|0)==3?t:t+48|0)+40>>2]|0))&&(e[((n|0)==2?r:r+-48|0)+40>>2]|0)==(e[((i|0)==2?t:t+-48|0)+40>>2]|0)&&(e[(e[r+16>>2]|0)+96>>2]|0)==(e[(e[t+16>>2]|0)+96>>2]|0)&&xh(r,t)|0?r=1:r=0,r|0}function Hj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(B=r+16|0,t=e[B>>2]|0,e[t+192>>2]=0,e[t+232>>2]=0,$j(r),t=1;i=e[B>>2]|0,!((t|0)>(e[i+180>>2]|0));)Zw0(r,e[(e[i+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0;for(l=U0(r)|0;l;){for(o=Me(r,l)|0;o;)t=e[o>>2]|0,i=(e[(e[((t&3|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+160|0,n=C[i>>0]|0,n<<24>>24<3&&(C[i>>0]=n+1<<24>>24,t=e[o>>2]|0),t=(e[(e[((t&3|0)==3?o:o+48|0)+40>>2]|0)+16>>2]|0)+160|0,i=C[t>>0]|0,i<<24>>24<3&&(C[t>>0]=i+1<<24>>24),o=Qe(r,o)|0;l=X0(r,l)|0}for(w=U0(r)|0;w;){for(!(e[(e[w+16>>2]|0)+212>>2]|0)&&(w|0)==(Ht(w)|0)&&(L7(r,w),f=(e[B>>2]|0)+232|0,e[f>>2]=(e[f>>2]|0)+1),t=0,f=Me(r,w)|0;f;){c=f+16|0,l=e[c>>2]|0;e:do if(e[l+172>>2]|0)t=f;else{if(Ew0(f)|0){if(!(Oj(t,f)|0)){Bw0(r,f),t=f;break}if(i=e[(e[t+16>>2]|0)+172>>2]|0,i|0){_h(r,f,i,0),_A(f);break}if(c=e[f>>2]&3,(e[(e[(e[((c|0)==3?f:f+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)!=(e[(e[(e[((c|0)==2?f:f+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0))break;Ss(f,t),_A(f);break}if(t)if(s=e[f>>2]&3,i=f+48|0,n=e[((s|0)==3?f:i)+40>>2]|0,o=e[t>>2]&3,(n|0)==(e[((o|0)==3?t:t+48|0)+40>>2]|0)&&(p=e[((s|0)==2?f:f+-48|0)+40>>2]|0,(p|0)==(e[((o|0)==2?t:t+-48|0)+40>>2]|0))){if((e[(e[n+16>>2]|0)+232>>2]|0)==(e[(e[p+16>>2]|0)+232>>2]|0)){Ss(f,t),_A(f);break}if(!(e[l+96>>2]|0)&&(v=t+16|0,(e[(e[v>>2]|0)+96>>2]|0)==0)&&xh(f,t)|0)if(C[194954]|0){C[(e[c>>2]|0)+112>>0]=6;break}else{_h(r,f,e[(e[v>>2]|0)+172>>2]|0,1),_A(f);break}else s=i}else s=i;else s=f+48|0;if(l=e[f>>2]&3,i=e[((l|0)==3?f:s)+40>>2]|0,A=f+-48|0,(i|0)==(e[((l|0)==2?f:A)+40>>2]|0)){_A(f),t=f;break}if(i=Ht(i)|0,n=Ht(e[((e[f>>2]&3|0)==2?f:A)+40>>2]|0)|0,l=e[f>>2]&3,(e[((l|0)==3?f:s)+40>>2]|0)==(i|0)&&(e[((l|0)==2?f:A)+40>>2]|0)==(n|0)){if(o=e[(e[i+16>>2]|0)+232>>2]|0,l=e[(e[n+16>>2]|0)+232>>2]|0,(o|0)==(l|0)){ep(r,f),t=f;break}if((l|0)>(o|0)){lp(r,i,n,f),t=f;break}i=rr(r,n,i,0,0)|0;do if(i|0&&(m=e[i>>2]&3,E=e[((m|0)==2?i:i+-48|0)+40>>2]|0,(E|0)!=(e[((e[f>>2]&3|0)==2?f:A)+40>>2]|0))&&(n=i+16|0,e[(e[n>>2]|0)+172>>2]|0||lp(r,e[((m|0)==3?i:i+48|0)+40>>2]|0,E,i),!(e[(e[c>>2]|0)+96>>2]|0)&&!(e[(e[n>>2]|0)+96>>2]|0))){if(!(xh(f,i)|0))break;if(C[194954]|0){C[(e[c>>2]|0)+112>>0]=6,C[(e[n>>2]|0)+153>>0]=1;break e}else{_A(f),_h(r,f,e[(e[n>>2]|0)+172>>2]|0,1);break e}}while(0);t=e[f>>2]&3,lp(r,e[((t|0)==2?f:A)+40>>2]|0,e[((t|0)==3?f:s)+40>>2]|0,f),t=f}}while(0);f=Qe(r,f)|0}w=X0(r,w)|0}(cr(r)|0)!=(r|0)&&(t=e[(e[B>>2]|0)+216>>2]|0,t?t=Ve(t,4)|0:t=_0(4)|0,B=e[B>>2]|0,e[B+216>>2]=t,e[t>>2]=e[B+192>>2])}function Ew0(r){r=r|0;var t=0;return t=e[r>>2]&3,(C[(e[(e[((t|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+159>>0]|0)==7?r=1:r=(C[(e[(e[((t|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+159>>0]|0)==7&1,r|0}function Bw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;n=Jj(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,o=Jj(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,s=(e[(e[n+16>>2]|0)+232>>2]|0)>(e[(e[o+16>>2]|0)+232>>2]|0),i=s?n:o,n=s?o:n,o=n+16|0,s=i+16|0;e:do if((e[(e[o>>2]|0)+212>>2]|0)!=(e[(e[s>>2]|0)+212>>2]|0)){if(l=ga(n,i)|0,l|0){_h(r,t,l,1);break}if((e[(e[o>>2]|0)+232>>2]|0)!=(e[(e[s>>2]|0)+232>>2]|0))for(lp(r,n,i,t),i=(e[t+16>>2]|0)+172|0;;){if(i=e[i>>2]|0,!i||(n=i+-48|0,(e[(e[(e[((e[i>>2]&3|0)==2?i:n)+40>>2]|0)+16>>2]|0)+232>>2]|0)>(e[(e[s>>2]|0)+232>>2]|0)))break e;C[(e[i+16>>2]|0)+112>>0]=5,i=e[(e[(e[((e[i>>2]&3|0)==2?i:n)+40>>2]|0)+16>>2]|0)+180>>2]|0}}while(0)}function lp(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(f=n+16|0,o=e[f>>2]|0,e[o+96>>2]|0?c=((e[(e[i+16>>2]|0)+232>>2]|0)+(e[(e[t+16>>2]|0)+232>>2]|0)|0)/2|0:c=-1,e[o+172>>2]|0&&H0(87636,87615,89,87661),A=i+16|0,s=e[(e[t+16>>2]|0)+232>>2]|0;l=s+1|0,o=e[(e[A>>2]|0)+232>>2]|0,!((s|0)>=(o|0));)(l|0)<(o|0)?((l|0)==(c|0)?o=Iw0(r,n)|0:o=xw0(r)|0,e[(e[o+16>>2]|0)+232>>2]=l):o=i,B60(Jn(t,o,n)|0),s=l,t=o;if(!(e[(e[f>>2]|0)+172>>2]|0))H0(87672,87615,103,87661);else return}function Iw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return l=t+16|0,o=e[(e[l>>2]|0)+96>>2]|0,i=+u[o+24>>3],n=+u[o+32>>3],o=Ml(r)|0,t=o+16|0,e[(e[t>>2]|0)+104>>2]=e[(e[l>>2]|0)+96>>2],s=+(e[(e[(c2(o)|0)+16>>2]|0)+248>>2]|0),u[(e[t>>2]|0)+88>>3]=s,C[(e[l>>2]|0)+114>>0]|0||(r=(e[(e[(c2(r)|0)+16>>2]|0)+116>>2]&1|0)==0,l=e[t>>2]|0,u[l+80>>3]=r?n:i,u[l+96>>3]=r?i:n),o|0}function xw0(r){r=r|0;var t=0;return t=Ml(r)|0,Vj(r,t),t|0}function Jj(r){r=r|0;var t=0;return t=e[r+16>>2]|0,(C[t+159>>0]|0)==7?r=e[(e[(e[(e[t+212>>2]|0)+16>>2]|0)+268>>2]|0)+(e[t+232>>2]<<2)>>2]|0:r=Ht(r)|0,r|0}function Sw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(c=cr(r)|0,s=U0(r)|0;s;){for(t=Xr(c,s)|0,A=0;t;){if(w=ot(c,t,s)|0,Mi(r,t)|0){f=A,t=w,A=f;continue}if(f=(e[t>>2]&3|0)==2?t:t+-48|0,p=(Oj(A,f)|0)==0,n=e[f>>2]&3,t=e[((n|0)==3?f:f+48|0)+40>>2]|0,i=e[(e[t+16>>2]|0)+232>>2]|0,n=e[((n|0)==2?f:f+-48|0)+40>>2]|0,o=e[(e[n+16>>2]|0)+232>>2]|0,l=(i|0)==(o|0),!p){if(e[(e[f+16>>2]|0)+172>>2]=l?A:0,t=e[(e[A+16>>2]|0)+172>>2]|0,!t){p=A,t=w,A=p;continue}_h(r,f,t,0),xM(f),p=A,t=w,A=p;continue}if(!l)if((o|0)>(i|0)){Uj(t,n,f),t=w,A=f;continue}else{Uj(n,t,f),t=w,A=f;continue}if(t=BM(t,n)|0,!t){ep(c,f),t=w,A=f;continue}if((f|0)==(t|0)){p=A,t=w,A=p;continue}if(xM(f),e[(e[f+16>>2]|0)+172>>2]|0){p=A,t=w,A=p;continue}Ss(f,t),p=A,t=w,A=p}s=X0(r,s)|0}}function Uj(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;o=Xj(r)|0,n=Xj(t)|0,_w0(o,n,i,e[(e[i+16>>2]|0)+172>>2]|0,(o|0)==(r|0)&(n|0)==(t|0)?1:5)}function Xj(r){r=r|0;var t=0,i=0,n=0;return t=e[r+16>>2]|0,i=e[t+212>>2]|0,i|0&&(n=e[i+16>>2]|0,(C[n+272>>0]|0)==0)&&(r=e[(e[n+268>>2]|0)+(e[t+232>>2]<<2)>>2]|0),r|0}function _w0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0;w=r+16|0,A=e[(e[w>>2]|0)+232>>2]|0,p=t+16|0,l=e[(e[p>>2]|0)+232>>2]|0,(l|0)<=(A|0)&&H0(87697,87725,81,87735),f=e[n>>2]&3,(e[((f|0)==3?n:n+48|0)+40>>2]|0)==(r|0)&&(e[((f|0)==2?n:n+-48|0)+40>>2]|0)==(t|0)||(c=5);e:do if((c|0)==5){if(($[(e[n+16>>2]|0)+168>>1]|0)>1){if(e[(e[i+16>>2]|0)+172>>2]=0,(l-A|0)==1&&(s=ga(r,t)|0,s|0)&&xh(i,s)|0){if(Ss(i,s),C[(e[w>>2]|0)+156>>0]|0||C[(e[p>>2]|0)+156>>0]|0)break;_A(i);break}for(f=o&255,o=r,c=e[(e[w>>2]|0)+232>>2]|0;;){if(l=e[(e[p>>2]|0)+232>>2]|0,(c|0)>=(l|0))break e;(c|0)<(l+-1|0)?(l=cr(r)|0,s=n+-48|0,l=zw0(l,e[((e[n>>2]&3|0)==2?n:s)+40>>2]|0)|0,A=n):(l=t,s=n+-48|0,A=n),C[(e[(Jn(o,l,i)|0)+16>>2]|0)+112>>0]=f,w=(e[n+16>>2]|0)+168|0,$[w>>1]=($[w>>1]|0)+-1<<16>>16,o=l,c=c+1|0,n=e[e[(e[(e[((e[A>>2]&3|0)==2?n:s)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}}do if((l-A|0)==1){if(n=ga(r,t)|0,n|0&&xh(i,n)|0){if(e[(e[i+16>>2]|0)+172>>2]=n,f=e[n+16>>2]|0,C[f+112>>0]=o,f=f+168|0,$[f>>1]=($[f>>1]|0)+1<<16>>16,C[(e[w>>2]|0)+156>>0]|0||C[(e[p>>2]|0)+156>>0]|0)break;_A(i);break}e[(e[i+16>>2]|0)+172>>2]=0,n=Jn(r,t,i)|0,C[(e[n+16>>2]|0)+112>>0]=o}while(0);if(l=e[(e[p>>2]|0)+232>>2]|0,(l-(e[(e[w>>2]|0)+232>>2]|0)|0)>1){for((e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)==(r|0)?c=l:(w=i+16|0,e[(e[w>>2]|0)+172>>2]=0,c=Jn(r,e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,i)|0,e[(e[w>>2]|0)+172>>2]=c,bo(n),n=c,c=e[(e[p>>2]|0)+232>>2]|0);l=e[n>>2]&3,s=e[((l|0)==2?n:n+-48|0)+40>>2]|0,A=e[s+16>>2]|0,(e[A+232>>2]|0)!=(c|0);)n=e[e[A+180>>2]>>2]|0;(s|0)!=(t|0)&&(C[(e[(Jn(e[((l|0)==3?n:n+48|0)+40>>2]|0,t,i)|0)+16>>2]|0)+112>>0]=o,bo(n))}}while(0)}function zw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=t+16|0,t=e[i>>2]|0,n=e[t+232>>2]|0,qj(r,n,e[t+236>>2]|0,2),t=Ml(r)|0,i=e[i>>2]|0,o=e[t+16>>2]|0,u[o+88>>3]=+u[i+88>>3],u[o+96>>3]=+u[i+96>>3],e[o+232>>2]=e[i+232>>2],i=(e[i+236>>2]|0)+1|0,e[o+236>>2]=i,e[(e[(e[(e[r+16>>2]|0)+196>>2]|0)+(n<<6)+4>>2]|0)+(i<<2)>>2]=t,t|0}function qj(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;s=r+16|0,o=e[(e[s>>2]|0)+196>>2]|0,A=e[o+(t<<6)+4>>2]|0;e:do if((n|0)<1){for(i=i-n|0;l=i+1|0,r=e[o+(t<<6)>>2]|0,!((l|0)>=(r|0));)r=e[A+(l<<2)>>2]|0,o=i+n|0,e[(e[r+16>>2]|0)+236>>2]=o,e[A+(o<<2)>>2]=r,i=l,o=e[(e[s>>2]|0)+196>>2]|0;for(l=n+-1|0,i=l+r|0;;){if((i|0)>=(r|0))break e;e[A+(i<<2)>>2]=0,o=e[(e[s>>2]|0)+196>>2]|0,i=i+1|0,r=e[o+(t<<6)>>2]|0}}else{for(l=n+-1|0,r=e[o+(t<<6)>>2]|0;r=r+-1|0,!((r|0)<=(i|0));)c=e[A+(r<<2)>>2]|0,o=l+r|0,e[(e[c+16>>2]|0)+236>>2]=o,e[A+(o<<2)>>2]=c;for(o=n+i|0,r=i;r=r+1|0,!((r|0)>=(o|0));)e[A+(r<<2)>>2]=0;r=e[(e[s>>2]|0)+196>>2]|0,o=r,r=e[r+(t<<6)>>2]|0}while(0);e[o+(t<<6)>>2]=l+r}function Lw0(r){r=r|0;var t=0;Hj(r),t=e[r+16>>2]|0,e[t+220>>2]=1,e[e[t+216>>2]>>2]=e[t+192>>2],UM(r),YM(r,0),Rw0(r),Sw0(r),Gw0(r)}function Rw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(A=cr(r)|0,c=r+16|0,i=e[c>>2]|0,s=$[i+236>>1]|0,t=s<<16>>16,f=A+16|0,s<<16>>16>0&&(C[(e[(e[f>>2]|0)+196>>2]|0)+(t+-1<<6)+49>>0]=0),s=t;!((s|0)>($[i+238>>1]|0));){for(l=e[(e[(e[(e[i+268>>2]|0)+(s<<2)>>2]|0)+16>>2]|0)+236>>2]|0,qj(A,s,l,e[(e[i+196>>2]|0)+(s<<6)>>2]|0),n=0,o=l;i=e[c>>2]|0,t=e[i+196>>2]|0,!((n|0)>=(e[t+(s<<6)>>2]|0));)t=e[(e[t+(s<<6)+4>>2]|0)+(n<<2)>>2]|0,e[(e[(e[(e[f>>2]|0)+196>>2]|0)+(s<<6)+4>>2]|0)+(o<<2)>>2]=t,i=e[t+16>>2]|0,e[i+236>>2]=o,(C[i+156>>0]|0)==1&&(e[t+24>>2]=c2(A)|0),bd(r,t),L7(A,t),i=(e[f>>2]|0)+232|0,e[i>>2]=(e[i>>2]|0)+1,n=n+1|0,o=o+1|0;o=e[(e[f>>2]|0)+196>>2]|0,e[t+(s<<6)+4>>2]=(e[o+(s<<6)+4>>2]|0)+(l<<2),C[o+(s<<6)+49>>0]=0,s=s+1|0}t=e[f>>2]|0,(s|0)<($[t+238>>1]|0)&&(C[(e[t+196>>2]|0)+(s<<6)+49>>0]=0),C[i+272>>0]=1}function Gw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(s=r+16|0,t=e[s>>2]|0,l=$[t+236>>1]|0;!((l|0)>($[t+238>>1]|0));){for(n=e[(e[t+268>>2]|0)+(l<<2)>>2]|0,o=n+16|0;t=e[o>>2]|0,i=e[e[t+180>>2]>>2]|0,!!i;)bo(i);for(;t=e[e[t+172>>2]>>2]|0,!!t;)bo(t),t=e[o>>2]|0;bd(cr(r)|0,n),e[(e[(e[s>>2]|0)+268>>2]|0)+(l<<2)>>2]=0,l=l+1|0,t=e[s>>2]|0}}function $j(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(p=g,g=g+16|0,w=p,n=U0(r)|0;n;)i=n+16|0,t=e[i>>2]|0,(C[t+159>>0]|0)==7&&(RQ(n),t=e[i>>2]|0),e[t+212>>2]=0,n=X0(r,n)|0;for(f=r+16|0,c=1;t=e[f>>2]|0,!((c|0)>(e[t+180>>2]|0));){l=e[(e[t+184>>2]|0)+(c<<2)>>2]|0,s=l+16|0,t=U0(l)|0;e:for(;t;){if(A=X0(l,t)|0,i=t+16|0,C[(e[i>>2]|0)+159>>0]|0){n=te(t)|0,o=te(r)|0,e[w>>2]=n,e[w+4>>2]=o,$0(0,87744,w)|0,zn(l,t)|0,t=A;continue}for(qk0(t,e[(e[s>>2]|0)+264>>2]|0),o=e[i>>2]|0,e[o+212>>2]=l,C[o+159>>0]=7,o=Me(l,t)|0;;){if(!o){t=A;continue e}t=e[(e[o+16>>2]|0)+172>>2]|0;r:do if(t|0)do{if(i=t+-48|0,n=e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0,(C[n+156>>0]|0)!=1)break r;e[n+212>>2]=l,t=e[e[(e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}while(t|0);while(0);o=Qe(l,o)|0}}c=c+1|0}g=p}function Zw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=t+16|0,n=j0(($[(e[A>>2]|0)+238>>1]<<2)+8|0)|0,i=e[A>>2]|0,e[i+268>>2]=n,n=0,o=$[i+236>>1]|0;!((o|0)>($[i+238>>1]|0));)i=Ml(r)|0,e[(e[(e[A>>2]|0)+268>>2]|0)+(o<<2)>>2]=i,s=e[i+16>>2]|0,e[s+232>>2]=o,C[s+159>>0]=7,e[s+212>>2]=t,n|0&&(s=(e[(Jn(n,i,0)|0)+16>>2]|0)+154|0,$[s>>1]=($[s>>1]|0)*1e3),n=i,o=o+1|0,i=e[A>>2]|0;for(s=U0(t)|0;i=e[A>>2]|0,!!s;){for(o=(e[(e[i+268>>2]|0)+(e[(e[s+16>>2]|0)+232>>2]<<2)>>2]|0)+16|0,i=(e[o>>2]|0)+216|0,e[i>>2]=(e[i>>2]|0)+1,i=Me(t,s)|0;i;){for(l=e[i>>2]|0,r=i+-48|0,n=e[(e[(e[((l&3|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0;!((n|0)>=(e[(e[(e[((l&3|0)==2?i:r)+40>>2]|0)+16>>2]|0)+232>>2]|0));)l=(e[(e[e[(e[o>>2]|0)+180>>2]>>2]|0)+16>>2]|0)+168|0,$[l>>1]=($[l>>1]|0)+1<<16>>16,n=n+1|0,l=e[i>>2]|0;i=Qe(t,i)|0}s=X0(t,s)|0}for(r=$[i+238>>1]|0,l=i+268|0,i=$[i+236>>1]|0;!((i|0)>(r|0));)n=(e[(e[(e[l>>2]|0)+(i<<2)>>2]|0)+16>>2]|0)+216|0,o=e[n>>2]|0,(o|0)>1&&(e[n>>2]=o+-1),i=i+1|0}function Ww0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(A=(e[(e[t+16>>2]|0)+212>>2]|0)+16|0,t=e[A>>2]|0,s=i+1|0,(s|0)!=(C[t+273>>0]|0)){for(l=$[t+236>>1]|0;o=$[t+238>>1]|0,!((l|0)>(o<<16>>16|0));)OM(r,e[(e[t+268>>2]|0)+(l<<2)>>2]|0),l=l+1|0,t=e[A>>2]|0;for(l=$[t+236>>1]|0;!((l|0)>(o<<16>>16|0));)HM(n,e[(e[t+268>>2]|0)+(l<<2)>>2]|0,i),r=e[A>>2]|0,l=l+1|0,o=$[r+238>>1]|0,t=r;C[t+273>>0]=s}}function U7(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(l=U0(r)|0;l;){for(e[(e[l+16>>2]|0)+212>>2]=0,o=Me(r,l)|0;o;){t=e[(e[o+16>>2]|0)+172>>2]|0;e:do if(t|0)do{if(i=t+-48|0,n=e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0,(C[n+156>>0]|0)!=1)break e;e[n+212>>2]=0,t=e[e[(e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}while(t|0);while(0);o=Qe(r,o)|0}l=X0(r,l)|0}Kj(r)}function Kj(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;for(i=r+16|0,t=1;n=e[i>>2]|0,!((t|0)>(e[n+180>>2]|0));)Kj(e[(e[n+184>>2]|0)+(t<<2)>>2]|0),t=t+1|0;for(s=U0(r)|0;s;){for(t=(e[s+16>>2]|0)+212|0,e[t>>2]|0||(e[t>>2]=r),l=Me(r,s)|0;l;){t=e[(e[l+16>>2]|0)+172>>2]|0;e:do if(t|0)do{if(i=e[t>>2]|0,o=t+-48|0,n=e[(e[((i&3|0)==2?t:o)+40>>2]|0)+16>>2]|0,(C[n+156>>0]|0)!=1)break e;n=n+212|0,e[n>>2]|0||(e[n>>2]=r,i=e[t>>2]|0),t=e[e[(e[(e[((i&3|0)==2?t:o)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0}while(t|0);while(0);l=Qe(r,l)|0}s=X0(r,s)|0}}function Dw0(r){r=r|0;var t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q+16|0,e[t0>>2]=e[t>>2],e[t0+4>>2]=e[t+4>>2],e[t0+8>>2]=e[t+8>>2],e[t0+12>>2]=e[t+12>>2],e[Y>>2]=e[v>>2],e[Y+4>>2]=e[v+4>>2],e[Y+8>>2]=e[v+8>>2],e[Y+12>>2]=e[v+12>>2],Ef(f,t0,Y),e[q>>2]=e[f>>2],e[q+4>>2]=e[f+4>>2],e[q+8>>2]=e[f+8>>2],e[q+12>>2]=e[f+12>>2],q=e[H>>2]|0,t=q+32|0,q=q+16|0,e[t0>>2]=e[q>>2],e[t0+4>>2]=e[q+4>>2],e[t0+8>>2]=e[q+8>>2],e[t0+12>>2]=e[q+12>>2],e[Y>>2]=e[T>>2],e[Y+4>>2]=e[T+4>>2],e[Y+8>>2]=e[T+8>>2],e[Y+12>>2]=e[T+12>>2],Ef(w,t0,Y),e[t>>2]=e[w>>2],e[t+4>>2]=e[w+4>>2],e[t+8>>2]=e[w+8>>2],e[t+12>>2]=e[w+12>>2],t=e[L>>2]|0,!t){q=3;break}q=(a7(r,e[H>>2]|0,0,0,a0,t)|0)+3|0;break}for(l=n+-1|0,t=0;!((t|0)>=(l|0)||eN((e[H>>2]|0)+(t<<4)|0,s)|0);)t=t+3|0;if(n=e[L>>2]|0,o=(n|0)!=0,(t|0)==(l|0))if(o){q=a0+32|0,w=H+32|0,p=(e[H>>2]|0)+(l<<4)|0,e[t0>>2]=e[w>>2],e[t0+4>>2]=e[w+4>>2],e[t0+8>>2]=e[w+8>>2],e[t0+12>>2]=e[w+12>>2],e[Y>>2]=e[p>>2],e[Y+4>>2]=e[p+4>>2],e[Y+8>>2]=e[p+8>>2],e[Y+12>>2]=e[p+12>>2],sp(v,t0,Y,s),e[q>>2]=e[v>>2],e[q+4>>2]=e[v+4>>2],e[q+8>>2]=e[v+8>>2],e[q+12>>2]=e[v+12>>2],q=l;break}else H0(87975,87947,387,87958);else{o&&(t=a7(r,e[H>>2]|0,0,t,a0,n)|0),q=t+3|0;break}}else k0=26;while(0);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>>2]=e[D+4>>2],e[P+8>>2]=e[D+8>>2],e[P+12>>2]=e[D+12>>2],t=t+1|0;if(eN(F,o)|0){t=0,k0=43;break}n=n+-3|0}e:do if((k0|0)==43)for(;;){if(k0=0,(t|0)==4)break e;k0=(e[H>>2]|0)+(n-t<<4)|0,P=F+(t<<4)|0,e[k0>>2]=e[P>>2],e[k0+4>>2]=e[P+4>>2],e[k0+8>>2]=e[P+8>>2],e[k0+12>>2]=e[P+12>>2],t=t+1|0,k0=43}while(0);if(n|0){if(i=n+-3|0,t=e[X>>2]|0,!t)break;i=c7(r,e[H>>2]|0,i,q+-3|0,a0,t)|0;break}if(!(e[X>>2]|0))H0(87936,87947,452,87958);else{i=a0+16|0,F=H+16|0,r=e[H>>2]|0,e[t0>>2]=e[F>>2],e[t0+4>>2]=e[F+4>>2],e[t0+8>>2]=e[F+8>>2],e[t0+12>>2]=e[F+12>>2],e[Y>>2]=e[r>>2],e[Y+4>>2]=e[r+4>>2],e[Y+8>>2]=e[r+8>>2],e[Y+12>>2]=e[r+12>>2],sp(U,t0,Y,o),e[i>>2]=e[U>>2],e[i+4>>2]=e[U+4>>2],e[i+8>>2]=e[U+8>>2],e[i+12>>2]=e[U+12>>2],i=0;break}}else k0=52;while(0);for((k0|0)==52&&(e[X>>2]|0&&(i=a0+16|0,k0=H+16|0,e[i>>2]=e[k0>>2],e[i+4>>2]=e[k0+4>>2],e[i+8>>2]=e[k0+8>>2],e[i+12>>2]=e[k0+12>>2]),i=0),t=q-i+1|0,n=a0+4|0,e[n>>2]=t,e[a0>>2]=_0(t<<4)|0,t=0;!((t|0)>=(e[n>>2]|0));)k0=(e[a0>>2]|0)+(t<<4)|0,r=(e[H>>2]|0)+(i<<4)|0,e[k0>>2]=e[r>>2],e[k0+4>>2]=e[r+4>>2],e[k0+8>>2]=e[r+8>>2],e[k0+12>>2]=e[r+12>>2],i=i+1|0,t=t+1|0;r0(e[H>>2]|0),r0(H),e[e[(e[B0>>2]|0)+8>>2]>>2]=a0}while(0);g=D0}function bj(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+16|0,i=n,r|0&&C[r>>0]|0?(t=GC(t,r)|0,t||(e[i>>2]=r,$0(0,88149,i)|0,t=0)):t=0,g=n,t|0}function Cf(r,t){r=r|0,t=t|0;var i=0,n=0;return n=+u[r>>3],+u[t>>3]<=n&&n<=+u[t+16>>3]&&(i=+u[r+8>>3],+u[t+8>>3]<=i)?r=i<=+u[t+24>>3]&1:r=0,r|0}function sp(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0;P=g,g=g+464|0,w=P+48|0,D=P+32|0,z=P+16|0,_=P,L=P+364|0,Z=P+264|0,N=P+164|0,T=P+64|0,m=+u[t>>3],E=+u[t+8>>3],B=+u[i>>3],x=+u[i+8>>3],e[z>>2]=e[n>>2],e[z+4>>2]=e[n+4>>2],e[z+8>>2]=e[n+8>>2],e[z+12>>2]=e[n+12>>2],n=n+16|0,e[_>>2]=e[n>>2],e[_+4>>2]=e[n+4>>2],e[_+8>>2]=e[n+8>>2],e[_+12>>2]=e[n+12>>2],c=+u[z>>3],B=+u[z+8>>3])&&o<=+u[_+8>>3]?(p=o,v=c):s=4;do if((s|0)==4){if(A=+u[_>>3],B>A){if(l=E+ +(~~((A-m)*(E-x)/(m-B))|0),o=+u[z+8>>3],l>=o&&l<=+u[_+8>>3]){p=l,v=A;break}}else o=+u[z+8>>3];if(x=c)|!(f<=A)))){p=o,v=f;break}if(o=+u[_+8>>3],x>o&&(W=m+ +(~~((o-E)*(m-B)/(E-x))|0),!(!(W>=c)|!(W<=A)))){p=o,v=W;break}e[w>>2]=e[t>>2],e[w+4>>2]=e[t+4>>2],e[w+8>>2]=e[t+8>>2],e[w+12>>2]=e[t+12>>2],L=ap(w,L)|0,e[w>>2]=e[i>>2],e[w+4>>2]=e[i+4>>2],e[w+8>>2]=e[i+8>>2],e[w+12>>2]=e[i+12>>2],Z=ap(w,Z)|0,e[w>>2]=e[z>>2],e[w+4>>2]=e[z+4>>2],e[w+8>>2]=e[z+8>>2],e[w+12>>2]=e[z+12>>2],N=ap(w,N)|0,e[w>>2]=e[_>>2],e[w+4>>2]=e[_+4>>2],e[w+8>>2]=e[_+8>>2],e[w+12>>2]=e[_+12>>2],T=ap(w,T)|0,e[D>>2]=L,e[D+4>>2]=Z,e[D+8>>2]=N,e[D+12>>2]=T,$0(1,88071,D)|0,H0(138394,87947,78,88123)}while(0);u[r>>3]=v,u[r+8>>3]=p,g=P}function Ef(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(+u[i+8>>3]+ +u[t+8>>3])*.5,u[r>>3]=(+u[i>>3]+ +u[t>>3])*.5,u[r+8>>3]=n}function eN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(f=g,g=g+80|0,A=f+16|0,c=f,n=0;(n|0)!=4;)s=A+(n<<4)|0,l=r+(n<<4)|0,e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],n=n+1|0;return n=t+8|0,s=t+24|0,i=+Ap(r,0,1,+u[t>>3],+u[n>>3],+u[s>>3]),i>=0&i<2?Ei(c,A,3,i,r,0):i=2,l=t+16|0,o=+Ap(r,0,i>1?1:i,+u[l>>3],+u[n>>3],+u[s>>3]),o>=0&o1?1:i,+u[n>>3],+u[t>>3],+u[l>>3]),o>=0&o1?1:i,+u[s>>3],+u[t>>3],+u[l>>3]),o>=0&o>3]-n))<=.005){t=+u[r+56>>3],t=!(t>=o)|!(t<=l)?-1:i;break e}break}default:}Ei(A,r,3,.5,c,f),s=(i+t)*.5,t=+Ap(c,t,s,n,o,l),t>=0||(t=+Ap(f,s,i,n,o,l))}while(0);return g=w,+t}function up(r,t,i,n,o,l){r=r|0,t=+t,i=+i,n=+n,o=+o,l=+l;var s=0,A=0,c=0,f=0,w=0;w=g,g=g+144|0,c=w+80|0,f=w+16|0,A=w;e:do if(t!=i){switch(jw0(r,n)|0){case 0:{t=-1;break e}case 1:{if(+L0(+(+u[r+56>>3]-n))<=.005){t=+u[r+48>>3],t=!(t>=o)|!(t<=l)?-1:i;break e}break}default:}Ei(A,r,3,.5,c,f),s=(i+t)*.5,t=+up(c,t,s,n,o,l),t>=0||(t=+up(f,s,i,n,o,l))}while(0);return g=w,+t}function jw0(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0;for(l=+u[r+8>>3],o=lt&1,i=1,n=o,o=(o|0)==0&1;(i|0)!=4;)l=+u[r+(i<<4)+8>>3],A=lt&1,s=o+((n|0)!=0&(A|0)!=(n|0)&1)|0,i=i+1|0,n=A,o=s;return o|0}function Nw0(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0;for(l=+u[r>>3],o=lt&1,i=1,n=o,o=(o|0)==0&1;(i|0)!=4;)l=+u[r+(i<<4)>>3],A=lt&1,s=o+((n|0)!=0&(A|0)!=(n|0)&1)|0,i=i+1|0,n=A,o=s;return o|0}function ap(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+16|0,n=i,o=+u[r+8>>3],u[n>>3]=+u[r>>3],u[n+8>>3]=o,Ke(t,88137,n)|0,g=i,t|0}function Qw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+16|0,m=x,B=4,E=Te(40)|0,e[E>>2]=0,v=r+16|0,i=e[v>>2]|0;e:do if((($[i+238>>1]|0)-($[i+236>>1]|0)|0)>=2){f=1,t=i,i=e[i+196>>2]|0;r:for(;;){if(w=f+1|0,e[i+(w<<6)>>2]|0)c=0;else{p=15;break}for(;;){if(l=e[i+(f<<6)>>2]|0,(c|0)>=(l|0)){f=w;continue r}if(A=e[(e[i+(f<<6)+4>>2]|0)+(c<<2)>>2]|0,v0=0,t=gt(20,A|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,E|0,B|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){t=b;break r}if(t<<24>>24){for(s=c,t=l;o=s+1|0,!((o|0)>=(t|0));){if(v0=0,t=nt(65,A|0,e[(e[i+(f<<6)+4>>2]|0)+(o<<2)>>2]|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,E|0,B|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){t=b;break r}if(!(t<<24>>24))break;t=e[(e[v>>2]|0)+196>>2]|0,s=o,i=t,t=e[t+(f<<6)>>2]|0}if((o-c|0)>1&&(v0=0,F3(6,r|0,f|0,c|0,s|0,1),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1)){t=b;break r}}i=e[v>>2]|0,c=c+1|0,t=i,i=e[i+196>>2]|0}}r:do if((p|0)==15){for(;(f|0)>0;){c=0;for(;i=e[t+196>>2]|0,l=e[i+(f<<6)>>2]|0,!((c|0)>=(l|0));){if(A=e[(e[i+(f<<6)+4>>2]|0)+(c<<2)>>2]|0,v0=0,t=gt(21,A|0)|0,n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,E|0,B|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){t=b;break r}if(t<<24>>24){for(s=c,t=l;o=s+1|0,!((o|0)>=(t|0));){if(v0=0,t=nt(66,A|0,e[(e[i+(f<<6)+4>>2]|0)+(o<<2)>>2]|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,E|0,B|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)==1){t=b;break r}if(!(t<<24>>24))break;t=e[(e[v>>2]|0)+196>>2]|0,s=o,i=t,t=e[t+(f<<6)>>2]|0}if((o-c|0)>1&&(v0=0,F3(6,r|0,f|0,c|0,s|0,0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1)){t=b;break r}}c=c+1|0,t=e[v>>2]|0}f=f+-1|0,p=15}E=il(187016,1,E|0,B|0)|0,B=b,v0=0,t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1?t=b:t=0}while(0);r:for(;;){if(t)if(v0=0,Yt(20,3,88177,m|0)|0,t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1){t=b;continue}else break;else n=1;for(;;){if(t=e[v>>2]|0,(n|0)>(e[t+180>>2]|0))break e;if(v0=0,Tr(101,e[(e[t+184>>2]|0)+(n<<2)>>2]|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,E|0,B|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1){t=b;continue r}n=n+1|0}}}while(0);r0(E|0),g=x}function rN(r){return r=r|0,r=e[r+16>>2]|0,(C[r+156>>0]|0)==1&&(e[r+176>>2]|0)==1&&(e[r+184>>2]|0)==1?r=(e[r+104>>2]|0)==0&1:r=0,r|0}function Tw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+80|0,s=A+40|0,l=A,n=e[e[(e[r+16>>2]|0)+172>>2]>>2]|0,r=e[e[(e[t+16>>2]|0)+172>>2]>>2]|0,(rN(t)|0)<<24>>24&&(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)==(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)&&(oN(n,r)|0)<<24>>24){i=(e[r+16>>2]|0)+16|0,o=l,r=(e[n+16>>2]|0)+16|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));o=s,r=i,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));r=(vf(l,s)|0)==0&1}else r=0;return g=A,r|0}function Fw0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for(_=r+16|0,B=e[(e[(e[(e[_>>2]|0)+196>>2]|0)+(t<<6)+4>>2]|0)+(i<<2)>>2]|0,E=i+1|0,p=(o|0)==1,v=B+16|0,w=E;;){if((w|0)>(n|0)){l=n,z=E;break}m=e[(e[(e[(e[_>>2]|0)+196>>2]|0)+(t<<6)+4>>2]|0)+(w<<2)>>2]|0,f=m+16|0;e:do if(p)for(;;){if(i=e[f>>2]|0,c=e[e[i+180>>2]>>2]|0,!c)break e;for(s=e[(e[v>>2]|0)+180>>2]|0,A=c+-48|0,o=0;;){if(i=e[s+(o<<2)>>2]|0,!i){x=8;break}if((e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)==(e[((e[c>>2]&3|0)==2?c:A)+40>>2]|0))break;o=o+1|0}for((x|0)==8&&(x=0,i=Jn(B,e[((e[c>>2]&3|0)==2?c:A)+40>>2]|0,c)|0);o=e[e[(e[f>>2]|0)+172>>2]>>2]|0,!!o;)Ss(o,i),bo(o);bo(c)}else for(;;){if(i=e[f>>2]|0,c=e[e[i+172>>2]>>2]|0,!c)break e;for(s=e[(e[v>>2]|0)+172>>2]|0,A=c+48|0,o=0;;){if(i=e[s+(o<<2)>>2]|0,!i){x=17;break}if((e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)==(e[((e[c>>2]&3|0)==3?c:A)+40>>2]|0))break;o=o+1|0}for((x|0)==17&&(x=0,i=Jn(e[((e[c>>2]&3|0)==3?c:A)+40>>2]|0,B,c)|0);o=e[e[(e[f>>2]|0)+180>>2]>>2]|0,!!o;)Ss(o,i),bo(o);bo(c)}while(0);if((e[i+176>>2]|0)!=(0-(e[i+184>>2]|0)|0)){x=23;break}bd(r,m),w=w+1|0}for((x|0)==23&&H0(88313,88357,115,88364);l=l+1|0,i=e[(e[_>>2]|0)+196>>2]|0,o=i+(t<<6)|0,!((l|0)>=(e[o>>2]|0));)n=e[i+(t<<6)+4>>2]|0,x=e[n+(l<<2)>>2]|0,e[n+(z<<2)>>2]=x,e[(e[x+16>>2]|0)+236>>2]=z,z=z+1|0;e[o>>2]=z,e[(e[i+(t<<6)+4>>2]|0)+(z<<2)>>2]=0}function tN(r){return r=r|0,r=e[r+16>>2]|0,(C[r+156>>0]|0)==1&&(e[r+184>>2]|0)==1&&(e[r+176>>2]|0)==1?r=(e[r+104>>2]|0)==0&1:r=0,r|0}function Pw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+80|0,s=A+40|0,l=A,n=e[e[(e[r+16>>2]|0)+180>>2]>>2]|0,r=e[e[(e[t+16>>2]|0)+180>>2]>>2]|0,(tN(t)|0)<<24>>24&&(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0)==(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)&&(oN(n,r)|0)<<24>>24){i=(e[r+16>>2]|0)+56|0,o=l,r=(e[n+16>>2]|0)+56|0,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));o=s,r=i,t=o+40|0;do e[o>>2]=e[r>>2],o=o+4|0,r=r+4|0;while((o|0)<(t|0));r=(vf(l,s)|0)==0&1}else r=0;return g=A,r|0}function iN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(m=g,g=g+32|0,p=m+16|0,w=m,c=r+16|0,i=e[c>>2]|0,t=$[i+236>>1]|0;!((t|0)>($[i+238>>1]|0));)e[(e[i+268>>2]|0)+(t<<2)>>2]=0,t=t+1|0,i=e[c>>2]|0;for(vj(r),s=U0(r)|0;s;){for(nN(r,s),l=Me(r,s)|0;l;){i=l;for(;t=e[(e[i+16>>2]|0)+172>>2]|0,t;)i=t;for(o=l+-48|0;t=i+-48|0,n=e[((e[i>>2]&3|0)==2?i:t)+40>>2]|0,!((e[(e[n+16>>2]|0)+232>>2]|0)>=(e[(e[(e[((e[l>>2]&3|0)==2?l:o)+40>>2]|0)+16>>2]|0)+232>>2]|0));)nN(r,n),i=e[e[(e[(e[((e[i>>2]&3|0)==2?i:t)+40>>2]|0)+16>>2]|0)+180>>2]>>2]|0;l=Qe(r,l)|0}s=X0(r,s)|0}for(t=e[c>>2]|0,l=$[t+236>>1]|0;;){if((l|0)>($[t+238>>1]|0)){A=1,f=t;break}if(t=e[(e[t+268>>2]|0)+(l<<2)>>2]|0,s=e[(e[(e[(cr(r)|0)+16>>2]|0)+196>>2]|0)+(l<<6)+4>>2]|0,i=t+16|0,(e[s+(e[(e[i>>2]|0)+236>>2]<<2)>>2]|0)!=(t|0)){v=17;break}o=e[(e[(e[(cr(r)|0)+16>>2]|0)+196>>2]|0)+(l<<6)+4>>2]|0,t=e[c>>2]|0,i=e[t+196>>2]|0,e[i+(l<<6)+4>>2]=o+(e[(e[(e[(e[t+268>>2]|0)+(l<<2)>>2]|0)+16>>2]|0)+236>>2]<<2),t=-1,o=0;e:for(;!((o|0)>=(e[i+(l<<6)>>2]|0)||(i=e[(e[i+(l<<6)+4>>2]|0)+(o<<2)>>2]|0,!i));){n=e[i+16>>2]|0;r:do if(C[n+156>>0]|0){for(i=e[e[n+172>>2]>>2]|0;;){if(!i)break r;if(n=e[(e[i+16>>2]|0)+116>>2]|0,n)i=n;else break}Mi(r,e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0)|0&&(s=(Mi(r,e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)|0)==0,t=s?t:o)}else if(Mi(r,i)|0)t=o;else break e;while(0);o=o+1|0,i=e[(e[c>>2]|0)+196>>2]|0}(t|0)==-1&&(e[p>>2]=te(r)|0,e[p+4>>2]=l,$0(0,88277,p)|0),s=e[c>>2]|0,e[(e[s+196>>2]|0)+(l<<6)>>2]=t+1,l=l+1|0,t=s}for((v|0)==17&&(p=te(t)|0,v=e[(e[i>>2]|0)+236>>2]|0,e[w>>2]=p,e[w+4>>2]=v,e[w+8>>2]=l,$0(1,88219,w)|0,ie(187016,1));!((A|0)>(e[f+180>>2]|0));)iN(e[(e[f+184>>2]|0)+(A<<2)>>2]|0),A=A+1|0,f=e[c>>2]|0;g=m}function nN(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[t+16>>2]|0,r=(e[(e[r+16>>2]|0)+268>>2]|0)+(e[i+232>>2]<<2)|0,n=e[r>>2]|0,n|0&&(e[(e[n+16>>2]|0)+236>>2]|0)<=(e[i+236>>2]|0)||(e[r>>2]=t)}function oN(r,t){r=r|0,t=t|0;for(var i=0,n=0;n=e[r+16>>2]|0,!!(C[n+112>>0]|0);)r=e[n+116>>2]|0;for(;i=e[t+16>>2]|0,!!(C[i+112>>0]|0);)t=e[i+116>>2]|0;return!(C[n+153>>0]|0)&&!(C[i+153>>0]|0)?(n=e[t>>2]&3,i=e[r>>2]&3,r=(N0((e[(e[(e[((i|0)==3?r:r+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((i|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0,(e[(e[(e[((n|0)==3?t:t+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((n|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0)|0)>0&1):r=0,r|0}function cp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(c=g,g=g+544|0,A=c+528|0,Yw0(A,c+512|0,c),i=(C[193770]|0)+1<<24>>24,C[193770]=i<<24>>24?i:1,i=e[r+16>>2]|0,e[i+220>>2]=0,e[i+232>>2]=0,i=(t|0)>0,t=U0(r)|0;t;)i&&(l=e[t+16>>2]|0,s=e[l+212>>2]|0,(s|0)!=0)?(o=e[(e[(e[s+16>>2]|0)+268>>2]|0)+(e[l+232>>2]<<2)>>2]|0,n=7):n=6,(n|0)==6&&(n=0,(t|0)==(Ht(t)|0))&&(o=t,n=7),(n|0)==7&&(C[(e[o+16>>2]|0)+157>>0]|0)!=(C[193770]|0)&&(Vw0(r),Ow0(A,r,o),Hw0(r)),t=X0(r,t)|0;Jw0(A),g=c}function Yw0(r,t,i){r=r|0,t=t|0,i=i|0,e[t>>2]=i,e[t+4>>2]=i+512,e[t+12>>2]=0,e[t+8>>2]=0,e[r>>2]=t,e[r+4>>2]=t,e[r+8>>2]=i}function Vw0(r){r=r|0,e[(e[r+16>>2]|0)+192>>2]=0,e[46793]=0}function Ow0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;m=g,g=g+32|0,v=m,lN(r,i),c=v+8|0,f=v+16|0,w=v+24|0;e:for(;p=Uw0(r)|0,!!p;)if(i=p+16|0,(C[(e[i>>2]|0)+157>>0]|0)!=(C[193770]|0))for(Xw0(t,p),l=e[i>>2]|0,o=l+180|0,A=e[o+4>>2]|0,s=v,e[s>>2]=e[o>>2],e[s+4>>2]=A,s=l+172|0,A=e[s+4>>2]|0,o=c,e[o>>2]=e[s>>2],e[o+4>>2]=A,o=l+188|0,A=e[o+4>>2]|0,s=f,e[s>>2]=e[o>>2],e[s+4>>2]=A,l=l+196|0,s=e[l+4>>2]|0,A=w,e[A>>2]=e[l>>2],e[A+4>>2]=s,A=3;;){if((A|0)<=-1)continue e;i=e[v+(A<<3)>>2]|0;r:do if(i|0)for(s=(e[v+(A<<3)+4>>2]|0)+-1|0,l=i+(s<<2)|0;;){if((s|0)<=-1)break r;n=e[l>>2]|0,o=e[n>>2]&3,i=e[((o|0)==2?n:n+-48|0)+40>>2]|0,(i|0)==(p|0)&&(i=e[((o|0)==3?n:n+48|0)+40>>2]|0),(C[(e[i+16>>2]|0)+157>>0]|0)!=(C[193770]|0)&&(i|0)==(Ht(i)|0)&&lN(r,i),l=l+-4|0,s=s+-1|0}while(0);A=A+-1|0}g=m}function Hw0(r){r=r|0;var t=0,i=0,n=0,o=0;i=r+16|0,t=e[i>>2]|0,o=t+220|0,n=e[o>>2]|0,r=n+1|0,e[o>>2]=r,t=e[t+216>>2]|0,t?r=Ve(t,r<<2)|0:r=_0(r<<2)|0,o=e[i>>2]|0,e[o+216>>2]=r,e[r+(n<<2)>>2]=e[o+192>>2]}function Jw0(r){r=r|0;var t=0;for(r=e[(e[r>>2]|0)+12>>2]|0;r;)t=e[r+12>>2]|0,r0(e[r>>2]|0),r0(r),r=t}function lN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,o=A+8|0,n=A,s=r+8|0,i=e[s>>2]|0,l=r+4|0,r=e[l>>2]|0,(i|0)==(e[r+4>>2]|0)&&(i=e[r+12>>2]|0,i||(i=j0(16)|0,i||$0(1,98969,n)|0,e[i+8>>2]=e[l>>2],e[i+12>>2]=0,r=j0(4e6)|0,e[i>>2]=r,r||($0(1,88377,o)|0,r=e[i>>2]|0),e[i+4>>2]=r+4e6,e[(e[l>>2]|0)+12>>2]=i),e[l>>2]=i,i=e[i>>2]|0,e[s>>2]=i),C[(e[t+16>>2]|0)+157>>0]=(s0[193770]|0)+1,e[s>>2]=i+4,e[i>>2]=t,g=A}function Uw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return o=r+8|0,t=e[o>>2]|0,i=r+4|0,n=e[i>>2]|0,(t|0)==(e[n>>2]|0)?(n|0)==(e[r>>2]|0)?t=0:(t=e[n+8>>2]|0,e[i>>2]=t,t=e[t+4>>2]|0,e[o>>2]=t,l=4):l=4,(l|0)==4&&(t=t+-4|0,e[o>>2]=t,t=e[t>>2]|0),t|0}function Xw0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=e[r+16>>2]|0,o=n+232|0,e[o>>2]=(e[o>>2]|0)+1,o=e[t+16>>2]|0,C[o+157>>0]=C[193770]|0,r=e[46793]|0,i=o+168|0,r?(e[i>>2]=r,e[(e[r+16>>2]|0)+164>>2]=t):(e[i>>2]=0,e[n+192>>2]=t),e[46793]=t,e[o+164>>2]=0}function qw0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(f=r+16|0,t=(e[f>>2]|0)+192|0;t=e[t>>2]|0,!!t;){o=t+16|0,t=e[o>>2]|0,i=e[t+188>>2]|0;e:do if(!i)n=0;else for(n=0;;){if(i=e[i+(n<<2)>>2]|0,!i){n=0;break e}sN(i),t=e[o>>2]|0,n=n+1|0,i=e[t+188>>2]|0}while(0);for(;!((n|0)>=(e[t+208>>2]|0));)i=e[(e[t+204>>2]|0)+(n<<2)>>2]|0,c=e[i>>2]&3,(e[(e[(e[((c|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)==(e[(e[(e[((c|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)&&(sN(i),t=e[o>>2]|0),n=n+1|0;t=t+164|0}c=e[f>>2]|0,t=e[c+196>>2]|0,!(e[t+56>>2]|0)&&(e[c+180>>2]|0)<=0||(l=13);e:do if((l|0)==13){l=e[t+4>>2]|0,o=0;r:for(;;){if(t=e[l+(o<<2)>>2]|0,!t)break e;for(i=e[(e[t+16>>2]|0)+196>>2]|0,t=0;n=e[i+(t<<2)>>2]|0,!!n;){if(c=e[n+16>>2]|0,e[c+96>>2]|0&&!(C[c+113>>0]|0))break r;t=t+1|0}o=o+1|0}$w0(r)}while(0);for(qM(r),i=0,t=(e[f>>2]|0)+192|0;t=e[t>>2]|0,!!t;){c=t+16|0,t=e[c>>2]|0,n=e[t+188>>2]|0;e:do if(n){for(A=0;;){if(o=e[n+(A<<2)>>2]|0,!o){A=0;break}l=e[o+16>>2]|0,s=e[l+96>>2]|0;do if(s)if(C[l+113>>0]|0){u[l+136>>3]=+u[(e[(e[f>>2]|0)+116>>2]&1|0?s+32|0:s+24|0)>>3];break}else{AN(o),n=e[c>>2]|0,i=1,t=n,n=e[n+188>>2]|0;break}while(0);A=A+1|0}for(;;){if((A|0)>=(e[t+208>>2]|0))break e;l=e[(e[t+204>>2]|0)+(A<<2)>>2]|0,s=e[l>>2]&3,o=e[((s|0)==3?l:l+48|0)+40>>2]|0,s=e[((s|0)==2?l:l+-48|0)+40>>2]|0;do if(!((o|0)==(s|0)||(e[(e[o+16>>2]|0)+232>>2]|0)!=(e[(e[s+16>>2]|0)+232>>2]|0))){n=l;do s=e[n+16>>2]|0,n=e[s+172>>2]|0;while(n|0);if(n=C[s+113>>0]|0,o=e[l+16>>2]|0,C[o+113>>0]=n,o=e[o+96>>2]|0,o)if(n<<24>>24){p=+u[(e[(e[f>>2]|0)+116>>2]&1|0?o+32|0:o+24|0)>>3],s=s+136|0,w=+u[s>>3],u[s>>3]=p>w?p:w;break}else{AN(l),i=1,t=e[c>>2]|0;break}}while(0);A=A+1|0}}while(0);t=t+164|0}return i|0&&($80(r),W7(r)),i|0}function sN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;t=e[r>>2]&3,s=e[((t|0)==3?r:r+48|0)+40>>2]|0,n=s+16|0,o=e[(e[n>>2]|0)+236>>2]|0,t=e[(e[(e[((t|0)==2?r:r+-48|0)+40>>2]|0)+16>>2]|0)+236>>2]|0,l=(o|0)<(t|0),i=l?t:o,s=e[(e[(cr(s)|0)+16>>2]|0)+196>>2]|0,n=s+(e[(e[n>>2]|0)+232>>2]<<6)+4|0,t=l?o:t;e:for(;t=t+1|0,!((t|0)>=(i|0));){switch(o=e[(e[(e[n>>2]|0)+(t<<2)>>2]|0)+16>>2]|0,C[o+156>>0]|0){case 0:break e;case 1:break;default:continue e}if(e[o+104>>2]|0)break}if((t|0)==(i|0))do s=e[r+16>>2]|0,C[s+113>>0]=1,r=e[s+172>>2]|0;while(r|0)}function $w0(r){r=r|0;var t=0,i=0,n=0,o=0;for(o=r+16|0,r=e[o>>2]|0,$[r+236>>1]|0&&H0(88434,88417,190,88453),t=($[r+238>>1]|0)+3|0,r=e[r+196>>2]|0,r?r=Ve(r,t<<6)|0:r=_0(t<<6)|0,t=r+64|0,r=e[o>>2]|0,e[r+196>>2]=t,r=$[r+238>>1]|0;!((r|0)<=-1);){n=r+-1|0,i=t+(r<<6)|0,r=t+(n<<6)|0,t=i+64|0;do e[i>>2]=e[r>>2],i=i+4|0,r=r+4|0;while((i|0)<(t|0));r=n,t=e[(e[o>>2]|0)+196>>2]|0}e[t+(r<<6)+8>>2]=0,e[t+(r<<6)>>2]=0,i=j0(8)|0,o=e[o>>2]|0,n=e[o+196>>2]|0,e[n+(r<<6)+12>>2]=i,e[n+(r<<6)+4>>2]=i,e[n+(r<<6)+56>>2]=0,u[n+(r<<6)+24>>3]=1,u[n+(r<<6)+16>>3]=1,u[n+(r<<6)+40>>3]=1,u[n+(r<<6)+32>>3]=1,o=o+236|0,$[o>>1]=($[o>>1]|0)+-1<<16>>16}function AN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;s=r+16|0,e[(e[s>>2]|0)+96>>2]|0&&(f=r+48|0,A=cr(e[((e[r>>2]&3|0)==3?r:f)+40>>2]|0)|0,t=e[(e[(e[((e[r>>2]&3|0)==3?r:f)+40>>2]|0)+16>>2]|0)+232>>2]|0,c=kv0(A,r)|0,w=A+16|0,i=e[w>>2]|0,o=e[i+196>>2]|0,p=t+-1|0,l=e[e[o+(p<<6)+4>>2]>>2]|0,l?n=+u[(e[l+16>>2]|0)+24>>3]-+u[o+(p<<6)+16>>3]:n=+u[o+(t<<6)+24>>3]+ +u[(e[(e[e[o+(t<<6)+4>>2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+260|0,$[A>>1]=$[A>>1]|512),i|0&&e[(e[m>>2]|0)+8>>2]|0&&c1(r,i),i=e[47206]|0,i|0&&(n=k2(t,i)|0,n|0)&&C[n>>0]|0&&Uo(r,+sr(t,e[47206]|0,1,0));do if(z&16777216|0)if(i=t+48|0,(M0[(e[(We(e[((e[t>>2]&3|0)==3?t:i)+40>>2]|0)|0)+16>>2]|0)+178>>1]|0)>2){s=+u[(e[(e[(e[((e[t>>2]&3|0)==3?t:i)+40>>2]|0)+16>>2]|0)+132>>2]|0)+16>>3]*72,u[L+176>>3]=+(~~(s+(s>=0?.5:-.5))|0),s=+u[(e[(e[(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+132>>2]|0)+16>>3]*72,u[L+184>>3]=+(~~(s+(s>=0?.5:-.5))|0);break}else{A=L+176|0,e[A>>2]=0,e[A+4>>2]=0,e[A+8>>2]=0,e[A+12>>2]=0;break}while(0);if(z&32768|0&&(A=e[m>>2]|0,i=e[A+96>>2]|0,i?(i=e[i>>2]|0,e[L+192>>2]=i):i=e[L+192>>2]|0,n=L+196|0,e[n>>2]=i,l=L+204|0,e[l>>2]=i,o=L+200|0,e[o>>2]=i,i=e[A+108>>2]|0,i|0&&(e[n>>2]=e[i>>2]),i=e[A+104>>2]|0,i|0&&(e[o>>2]=e[i>>2]),i=e[A+100>>2]|0,i|0&&(e[l>>2]=e[i>>2])),!(z&65536))o=0;else{Vt(c,128,f),e[L+212>>2]=st(f7(r,t,c)|0,t)|0,Ot(c),i=he(t,141055)|0,i|0&&C[i>>0]|0?w=31:(i=he(t,111477)|0,i|0&&C[i>>0]|0?w=31:n=0),(w|0)==31&&(n=st(i,t)|0),i=he(t,100118)|0,i|0&&C[i>>0]|0?w=36:w=34;do if((w|0)==34){if(i=he(t,100127)|0,i|0&&C[i>>0]|0){w=36;break}n|0&&(i=C2(n)|0,w=39)}while(0);(w|0)==36&&(i=st(i,t)|0,w=39),(w|0)==39&&(e[L+208>>2]=i),i=he(t,100135)|0,i|0&&C[i>>0]|0?w=44:w=42;do if((w|0)==42){if(i=he(t,100145)|0,i|0&&C[i>>0]|0){w=44;break}n|0&&(i=C2(n)|0,w=47)}while(0);(w|0)==44&&(i=st(i,t)|0,w=47),(w|0)==47&&(e[L+216>>2]=i),i=he(t,100154)|0,i|0&&C[i>>0]|0?w=52:w=50;do if((w|0)==50){if(i=he(t,100163)|0,i|0&&C[i>>0]|0){w=52;break}n|0&&(e[L+220>>2]=C2(n)|0)}while(0);(w|0)==52&&(e[L+220>>2]=st(i,t)|0,w=L+260|0,$[w>>1]=$[w>>1]|128),i=he(t,100171)|0,i|0&&C[i>>0]|0?w=59:w=57;do if((w|0)==57){if(i=he(t,100180)|0,i|0&&C[i>>0]|0){w=59;break}n|0&&(e[L+224>>2]=C2(n)|0)}while(0);(w|0)==59&&(e[L+224>>2]=st(i,t)|0,w=L+260|0,$[w>>1]=$[w>>1]|256),o=n}do if(z&8388608){if(i=he(t,141088)|0,i|0&&C[i>>0]|0?n=st(i,t)|0:n=0,i=he(t,100188)|0,i|0&&C[i>>0]|0?(w=L+260|0,$[w>>1]=$[w>>1]|64,i=st(i,t)|0,w=72):w=70,(w|0)==70&&n|0&&(i=C2(n)|0,w=72),(w|0)==72&&(e[L+244>>2]=i),i=he(t,100199)|0,i|0&&C[i>>0]|0?(i=st(i,t)|0,w=78):w=76,(w|0)==76&&n|0&&(i=C2(n)|0,w=78),(w|0)==78&&(e[L+248>>2]=i),i=he(t,100211)|0,i|0&&C[i>>0]|0?(e[L+252>>2]=st(i,t)|0,f=L+260|0,$[f>>1]=$[f>>1]|16):w=82,(w|0)==82&&n|0&&(e[L+252>>2]=C2(n)|0),i=he(t,100222)|0,i|0&&C[i>>0]|0){w=L+260|0,$[w>>1]=$[w>>1]|32,e[L+256>>2]=st(i,t)|0;break}n?e[L+256>>2]=C2(n)|0:n=0}else n=0;while(0);do if(z&4194304|0){i=he(t,141101)|0,i|0&&C[i>>0]|0?w=94:w=92;do if((w|0)==92){if(i=he(t,100233)|0,i|0&&C[i>>0]|0){w=94;break}i=e[L+192>>2]|0,i|0&&(e[L+228>>2]=C2(i)|0)}while(0);if((w|0)==94&&(f=zh(i,t)|0,e[L+228>>2]=st(f,t)|0,r0(f),f=L+260|0,$[f>>1]=$[f>>1]|1),i=he(t,100245)|0,i|0&&C[i>>0]|0?(f=zh(i,t)|0,e[L+232>>2]=st(f,t)|0,r0(f),f=L+260|0,$[f>>1]=$[f>>1]|8):w=100,(w|0)==100&&(p=e[L+192>>2]|0,p|0)&&(e[L+232>>2]=C2(p)|0),i=he(t,100258)|0,i|0&&C[i>>0]|0?(p=zh(i,t)|0,e[L+236>>2]=st(p,t)|0,r0(p),p=L+260|0,$[p>>1]=$[p>>1]|2):w=105,(w|0)==105&&(v=e[L+200>>2]|0,v|0)&&(e[L+236>>2]=C2(v)|0),i=he(t,100270)|0,i|0&&C[i>>0]|0){v=zh(i,t)|0,e[L+240>>2]=st(v,t)|0,r0(v),v=L+260|0,$[v>>1]=$[v>>1]|4;break}i=e[L+204>>2]|0,i|0&&(e[L+240>>2]=C2(i)|0)}while(0);r0(o),r0(n);do if(z&4259840|0&&(E=e[(e[m>>2]|0)+8>>2]|0,E|0)){if(e[L+208>>2]|0){if(!(z&524288))break}else if((z&524288|0)==0|(e[L+228>>2]|0)==0)break;for(s=+u[(e[r+16>>2]|0)+152>>3]*.5,s=s>2?s:2,n=e[E+4>>2]|0,i=0;!((i|0)>=(n|0));)hd0(_,x,B,(e[E>>2]|0)+(i*48|0)|0,s),i=i+1|0;if(o=e[B>>2]|0,e[L+276>>2]=o,l=e[x>>2]|0,e[L+280>>2]=l,z&8192)i=e[_>>2]|0;else{for(i=0,n=0;!((n|0)>=(o|0));)i=(e[l+(n<<2)>>2]|0)+i|0,n=n+1|0;_=e[_>>2]|0,El(r,_,_,i)|0,i=_}e[L+284>>2]=i,e[L+264>>2]=2,e[L+272>>2]=i,e[L+268>>2]=e[l>>2]}while(0);Jt0(r,t),i=e[L+208>>2]|0,!(i|0)&&!($[L+260>>1]&1)||xn(r,i,e[L+228>>2]|0,e[L+244>>2]|0,e[L+212>>2]|0),g=Z}function bw0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0;D0=g,g=g+240|0,H=D0+224|0,Y=D0+208|0,_=D0+128|0,z=D0+112|0,B0=D0+64|0,T=D0+48|0,D=D0+32|0,P=D0+16|0,X=D0,U=D0+192|0,F=D0+176|0,L=D0+160|0,N=D0+144|0,e[P>>2]=0,e[P+4>>2]=0,e[P+8>>2]=0,e[P+12>>2]=0,a0=+u[(e[r+16>>2]|0)+152>>3],Uw(he(t,100032)|0),t0=t+16|0;e:do if(e[(e[t0>>2]|0)+8>>2]|0){k0=+sr(t,e[47188]|0,1,0),s=wt(t,e[47176]|0,195059)|0,x=(i|0)!=0;r:do if(x)for(n=i;;){if(o=n,n=n+4|0,o=e[o>>2]|0,!o){f=0;break r}if((C[o>>0]|0)==116&&!(ge(o,111117)|0)){f=1;break}}else f=0;while(0);l=s,p=0,o=0;r:for(;;){switch(C[l>>0]|0){case 0:break r;case 58:{n=p+1|0;break}case 59:{n=p,o=o+1|0;break}default:n=p}l=l+1|0,p=n}if(c=(p|0)!=0,(o|0)!=0&c)if(id0(r,t,i,s,p+1|0,k0,a0)|0)A=137314;else break;else A=s;if(n=s0[(e[t0>>2]|0)+115>>0]|0,n&1?(l=106248,n=106240,s=188712,o=188712,w=18):n&2?(l=106264,n=106256,s=188712,o=188712,w=18):n&8?(l=106280,n=106272,s=188712,o=188712,w=18):n&4?(l=106296,n=106288,s=188712,o=188712,w=18):(o=A,l=F2(t,e[47177]|0,A)|0),(w|0)==18&&(o=e[o>>2]|0,o=F2(t,o,nd0(A,n)|0)|0,n=F2(t,e[s>>2]|0,l)|0,(o|0)==(A|0)?(o=A,l=n):(Z2(r,o),l=n)),(l|0)!=(A|0)&&tr(r,l),f<<24>>24){o=C[o>>0]|0?o:137314,n=C[l>>0]|0?l:137314,Z2(r,137379),tr(r,o),B=B0,v=e[e[(e[t0>>2]|0)+8>>2]>>2]|0,m=B+48|0;do e[B>>2]=e[v>>2],B=B+4|0,v=v+4|0;while((B|0)<(m|0));if(t0=Mk0(B0,od0(t)|0,a0,0,0)|0,Q2(r,e[t0+8>>2]|0,e[t0>>2]|0,1),ld0(t0),Z2(r,o),(n|0)!=(o|0)&&tr(r,n),n=e[B0+8>>2]|0,n|0&&(q=B0+16|0,t0=e[B0>>2]|0,e[Y>>2]=e[q>>2],e[Y+4>>2]=e[q+4>>2],e[Y+8>>2]=e[q+8>>2],e[Y+12>>2]=e[q+12>>2],e[H>>2]=e[t0>>2],e[H+4>>2]=e[t0+4>>2],e[H+8>>2]=e[t0+8>>2],e[H+12>>2]=e[t0+12>>2],BA(r,2,Y,H,k0,a0,n)),n=e[B0+12>>2]|0,!n)break;t0=B0+32|0,B0=(e[B0>>2]|0)+((e[B0+4>>2]|0)+-1<<4)|0,e[Y>>2]=e[t0>>2],e[Y+4>>2]=e[t0+4>>2],e[Y+8>>2]=e[t0+8>>2],e[Y+12>>2]=e[t0+12>>2],e[H>>2]=e[B0>>2],e[H+4>>2]=e[B0+4>>2],e[H+8>>2]=e[B0+8>>2],e[H+12>>2]=e[B0+12>>2],BA(r,3,Y,H,k0,a0,n);break}if(n=e[t0>>2]|0,!c){do if(!(C[n+115>>0]&3)){if(C[o>>0]|0){Z2(r,o),tr(r,l);break}if(Z2(r,137314),C[l>>0]|0){tr(r,l);break}else{tr(r,137314);break}}while(0);for(s=r+152|0,A=B0+4|0,c=B0+8|0,f=B0+12|0,w=B0+32|0,p=B0+16|0,l=0;;){if(n=e[(e[t0>>2]|0)+8>>2]|0,(l|0)>=(e[n+4>>2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e[z+4>>2]=e[t+4>>2],e[z+8>>2]=e[t+8>>2],e[z+12>>2]=e[t+12>>2]),n=L+260|0,v=$[n>>1]|0,p=e[L+220>>2]|0,e[E>>2]=e[z>>2],e[E+4>>2]=e[z+4>>2],e[E+8>>2]=e[z+8>>2],e[E+12>>2]=e[z+12>>2],uN(r,E,(v<<8&65535)<<16>>16>>15&255,p,(v<<14&65535)<<16>>16>>15&255),v=e[(e[m>>2]|0)+8>>2]|0,p=e[v>>2]|0,v=(e[v+4>>2]|0)+-1|0,t=e[p+(v*48|0)>>2]|0,i=e[p+(v*48|0)+4>>2]|0,W=e[p+(v*48|0)+12>>2]|0,w=p+(v*48|0)+16|0,e[x>>2]=e[w>>2],e[x+4>>2]=e[w+4>>2],e[x+8>>2]=e[w+8>>2],e[x+12>>2]=e[w+12>>2],x=p+(v*48|0)+32|0,e[B>>2]=e[x>>2],e[B+4>>2]=e[x+4>>2],e[B+8>>2]=e[x+8>>2],e[B+12>>2]=e[x+12>>2],W?(e[z>>2]=e[B>>2],e[z+4>>2]=e[B+4>>2],e[z+8>>2]=e[B+8>>2],e[z+12>>2]=e[B+12>>2]):(W=t+(i+-1<<4)|0,e[z>>2]=e[W>>2],e[z+4>>2]=e[W+4>>2],e[z+8>>2]=e[W+8>>2],e[z+12>>2]=e[W+12>>2]),t=$[n>>1]|0,W=e[L+224>>2]|0,e[E>>2]=e[z>>2],e[E+4>>2]=e[z+4>>2],e[E+8>>2]=e[z+8>>2],e[E+12>>2]=e[z+12>>2],uN(r,E,(t<<7&65535)<<16>>16>>15&255,W,(t<<13&65535)<<16>>16>>15&255),t=e[m>>2]|0):n=L+260|0,i=e[t+96>>2]|0,o=($[n>>1]<<12&65535)<<16>>16>>15<<16>>16,f=L+216|0,l=e[f>>2]|0,w=L+232|0,s=e[w>>2]|0,p=L+248|0,A=e[p>>2]|0,v=L+212|0,c=e[v>>2]|0,(jt(wt(_,e[47186]|0,137308)|0)|0)<<24>>24?t=e[(e[m>>2]|0)+8>>2]|0:t=0,fp(r,i,11,o,l,s,A,c,t),A=e[(e[m>>2]|0)+108>>2]|0,c=($[n>>1]<<12&65535)<<16>>16>>15<<16>>16,s=e[f>>2]|0,l=e[w>>2]|0,i=e[p>>2]|0,o=e[v>>2]|0,(jt(wt(_,e[47186]|0,137308)|0)|0)<<24>>24?t=e[(e[m>>2]|0)+8>>2]|0:t=0,fp(r,A,11,c,s,l,i,o,t),fp(r,e[(e[m>>2]|0)+100>>2]|0,7,($[n>>1]<<13&65535)<<16>>16>>15<<16>>16,e[L+224>>2]|0,e[L+240>>2]|0,e[L+256>>2]|0,e[v>>2]|0,0),fp(r,e[(e[m>>2]|0)+104>>2]|0,6,($[n>>1]<<14&65535)<<16>>16>>15<<16>>16,e[L+220>>2]|0,e[L+236>>2]|0,e[L+252>>2]|0,e[v>>2]|0,0),Ut0(r),wh(r),g=Z}function uN(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;A=g,g=g+16|0,l=A,s=e[r+16>>2]|0,i<<24>>24||(n=e[s+208>>2]|0),!(o<<24>>24||n|0)&&!($[s+260>>1]&1)||(e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],td0(r,l)),g=A}function fp(r,t,i,n,o,l,s,A,c){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0;var f=0,w=0,p=0,v=0,m=0,E=0;if(E=g,g=g+16|0,p=E,m=e[r+152>>2]|0,t|0&&C[t+81>>0]|0){if(!A)w=0;else{switch(w=j0((d2(A)|0)+11|0)|0,i|0){case 11:{f=108224;break}case 7:{f=101583;break}case 6:{f=101593;break}default:H0(138394,99906,2730,100044)}e[p>>2]=A,e[p+4>>2]=f,Ke(w,100060,p)|0}p=r+16|0,A=(e[p>>2]|0)+12|0,v=e[A>>2]|0,e[A>>2]=i,A=(n|0)!=0|(o|0)!=0,f=(m&4|0)==0,A&f&&(aN(r,t),xn(r,o,l,s,w)),Ca(r,i,t),c|0&&rd0(r,t,c),A&&(f||(aN(r,t),xn(r,o,l,s,w)),Bl(r)),r0(w),e[(e[p>>2]|0)+12>>2]=v}g=E}function aN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;i=e[r+16>>2]|0,n=e[r+152>>2]|0,n&4259840|0&&(o=n&131072,s=o>>>16^2,e[i+264>>2]=s,A=i+268|0,e[A>>2]=s+2,s=i+272|0,r0(e[s>>2]|0),i=j0(e[A>>2]<<4)|0,e[s>>2]=i,s=t+56|0,A=t+24|0,u[i>>3]=+u[s>>3]-+u[A>>3]*.5,l=t+64|0,t=t+32|0,u[i+8>>3]=+u[l>>3]-+u[t>>3]*.5,u[i+16>>3]=+u[A>>3]*.5+ +u[s>>3],u[i+24>>3]=+u[t>>3]*.5+ +u[l>>3],n&8192||El(r,i,i,2)|0,o||dp(i))}function rd0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(w=g,g=g+96|0,o=w+80|0,l=w+32|0,s=w+16|0,A=w,n=e[t>>2]|0;c=C[n>>0]|0,!!(c<<24>>24);)if(cn(c&255)|0)n=n+1|0;else{f=4;break}(f|0)==4&&(p=+u[t+24>>3],c=t+56|0,cN(l,+u[c>>3]+p*.5,+u[t+64>>3]-+u[t+32>>3]*.5),f=l+16|0,cN(s,+u[l>>3]-p,+u[l+8>>3]),e[f>>2]=e[s>>2],e[f+4>>2]=e[s+4>>2],e[f+8>>2]=e[s+8>>2],e[f+12>>2]=e[s+12>>2],f=l+32|0,e[o>>2]=e[c>>2],e[o+4>>2]=e[c+4>>2],e[o+8>>2]=e[c+8>>2],e[o+12>>2]=e[c+12>>2],GQ(A,i,o),e[f>>2]=e[A>>2],e[f+4>>2]=e[A+4>>2],e[f+8>>2]=e[A+8>>2],e[f+12>>2]=e[A+12>>2],c1(r,e[(e[r>>2]|0)+336>>2]|0),Z2(r,e[t+8>>2]|0),y2(r,l,3)),g=w}function cN(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function td0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;i=e[r+16>>2]|0,n=e[r+152>>2]|0,n&4259840|0&&(o=n&131072,A=o>>>16^2,e[i+264>>2]=A,c=i+268|0,e[c>>2]=A+2,A=i+272|0,r0(e[A>>2]|0),i=j0(e[c>>2]<<4)|0,e[A>>2]=i,s=+u[t>>3],u[i>>3]=s+-3,l=+u[t+8>>3],u[i+8>>3]=l+-3,u[i+16>>3]=s+3,u[i+24>>3]=l+3,n&8192||El(r,i,i,2)|0,o||dp(i))}function id0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=+l,s=+s;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0;if(H=g,g=g+256|0,X=H+224|0,P=H+208|0,A=H+192|0,F=H+144|0,q=H+96|0,t0=H+48|0,U=H,c=H+240|0,n=Td(n,o,c)|0,(n|0)>1?(N=t+48|0,T=We(e[((e[t>>2]&3|0)==3?t:N)+40>>2]|0)|0,N=te(e[((e[t>>2]&3|0)==3?t:N)+40>>2]|0)|0,T=(d1(T)|0)!=0,D=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,e[A>>2]=N,e[A+4>>2]=T?100079:100084,e[A+8>>2]=D,$0(3,100089,A)|0,(n|0)==2?n=1:Y=4):(n|0)==1?n=1:Y=4,(Y|0)==4){for(D=t+16|0,E=e[c>>2]|0,B=E+8|0,x=t0+4|0,z=F+8|0,_=F+12|0,L=(i|0)!=0,m=(i|0)==0,Z=F+32|0,W=F+4|0,N=F+16|0,T=U+4|0,n=0,v=0;o=e[(e[D>>2]|0)+8>>2]|0,!((v|0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c+8>>2],e[X+12>>2]=e[c+12>>2],BA(r,3,P,X,l,s,p));do if((e[(e[(e[D>>2]|0)+8>>2]|0)+4>>2]|0)>1){if(e[z>>2]|0){if(m)break}else if(!(L&(e[_>>2]|0)!=0))break;c1(r,i)}while(0);v=v+1|0}hf(E),n=0}return g=H,n|0}function nd0(r,t){r=r|0,t=t|0;var i=0,n=0;i=1;e:for(;;){switch(C[r>>0]|0){case 0:break e;case 58:{i=i+1|0;break}default:}r=r+1|0}for(n=N0((d2(t)|0)+1|0,i)|0,r=n+10|0,(e[47121]|0)<(n|0)?(e[47121]=r,r=V2(e[47122]|0,r)|0,e[47122]=r):r=e[47122]|0,yo(r,t)|0;i=i+-1|0,r=e[47122]|0,!!i;)n=r+(d2(r)|0)|0,C[n>>0]=58,C[n+1>>0]=0,Qa(r,t)|0;return r|0}function od0(r){r=r|0;var t=0,i=0;t=e[47184]|0;e:do if(!t)i=7;else switch(t=k2(r,t)|0,C[t>>0]|0){case 110:if(ge(t,135709)|0){i=7;break e}else{t=1;break e}case 102:if(ge(t,100066)|0){i=7;break e}else{t=2;break e}case 98:{if(!(ge(t,100074)|0)){t=3;break e}if(ge(t,111221)|0){i=7;break e}else{t=4;break e}}default:{i=7;break e}}while(0);return(i|0)==7&&(t=(d1(We(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0)|0)!=0,t=t?2:1),t|0}function ld0(r){r=r|0,r|0&&(r0(e[r+8>>2]|0),r0(r))}function X7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;o=+u[t>>3]-+u[i>>3],l=+u[t+8>>3]-+u[i+8>>3],n=2/+G0(+(o*o+1e-4+l*l)),u[r>>3]=n*l,u[r+8>>3]=-(o*n)}function sd0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;s=+u[i>>3]-+u[n>>3],A=+u[i+8>>3]-+u[n+8>>3],l=+G0(+(A*A+s*s)),l<1e-4&&(c=+u[t>>3]-+u[o>>3],l=+u[t+8>>3]-+u[o+8>>3],A=l,s=c,l=+G0(+(c*c+1e-4+l*l))),c=2/l,u[r>>3]=A*c,u[r+8>>3]=-(c*s)}function Ad0(r,t,i){return r=+r,t=+t,i=+i,+(i*.5*(1-r/t))}function ud0(r,t,i){return r=+r,t=+t,i=+i,+(i*.5)}function ad0(r,t,i){return r=+r,t=+t,i=+i,+(i*.5*(r/t))}function cd0(r,t,i){return r=+r,t=+t,i=+i,t=r/t,+((t<=.5?t:1-t)*i)}function fN(r,t,i,n){r=r|0,t=+t,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;if(v=g,g=g+16|0,p=v,w=e[r+4>>2]|0,A=(w+-1|0)/3|0,(w+-4|0)>>>0<3)e[i+4>>2]=4,e[i>>2]=j0(64)|0,e[n+4>>2]=4,w=j0(64)|0,e[n>>2]=w,Ei(p,e[r>>2]|0,3,t,e[i>>2]|0,w);else{for(w=j0(A<<3)|0,l=0,s=e[r>>2]|0,o=0;!((l|0)>=(A|0));)m=+fd0(s),u[w+(l<<3)>>3]=m,l=l+1|0,s=s+48|0,o=m+o;for(t=o*t,f=0,o=0;!((A|0)<=(f|0)||(o=+u[w+(f<<3)>>3]+o,o>=t));)f=f+1|0;for(c=f*3|0,l=c+4|0,s=i+4|0,e[s>>2]=l,e[i>>2]=j0(l<<4)|0,l=((A-f|0)*3|0)+1|0,A=n+4|0,e[A>>2]=l,e[n>>2]=j0(l<<4)|0,l=0;!((l|0)>=(e[s>>2]|0));)E=(e[i>>2]|0)+(l<<4)|0,B=(e[r>>2]|0)+(l<<4)|0,e[E>>2]=e[B>>2],e[E+4>>2]=e[B+4>>2],e[E+8>>2]=e[B+8>>2],e[E+12>>2]=e[B+12>>2],l=l+1|0;for(l=l+-4|0,s=0;!((s|0)>=(e[A>>2]|0));)B=(e[n>>2]|0)+(s<<4)|0,E=(e[r>>2]|0)+(l<<4)|0,e[B>>2]=e[E>>2],e[B+4>>2]=e[E+4>>2],e[B+8>>2]=e[E+8>>2],e[B+12>>2]=e[E+12>>2],l=l+1|0,s=s+1|0;m=+u[w+(f<<3)>>3],Ei(p,(e[r>>2]|0)+(c<<4)|0,3,(t-o+m)/m,(e[i>>2]|0)+(c<<4)|0,e[n>>2]|0),r0(w)}g=v}function fd0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return o=+u[r+16>>3],n=+u[r>>3]-o,l=+u[r+24>>3],t=+u[r+8>>3]-l,n=+G0(+(t*t+n*n)),t=+u[r+32>>3],o=o-t,i=+u[r+40>>3],l=l-i,n=+G0(+(l*l+o*o))+n,t=t-+u[r+48>>3],i=i-+u[r+56>>3],+(n+ +G0(+(i*i+t*t)))}function zh(r,t){return r=r|0,t=t|0,t=c2(t)|0,(C[(e[t+16>>2]|0)+115>>0]|0)==1?t=Ph(r)|0:t=WC(r,t)|0,vd0(t)|0}function hd0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=+o;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(E=g,g=g+1664|0,w=E+1600|0,p=E+800|0,v=E,m=_0(24)|0,e[m+16>>2]=1,c=((e[n+4>>2]|0)+-1|0)/3|0,s=0,A=m;!((s|0)>=(c|0));){for(f=s*3|0,l=0;(l|0)!=4;)B=w+(l<<4)|0,x=(e[n>>2]|0)+(l+f<<4)|0,e[B>>2]=e[x>>2],e[B+4>>2]=e[x+4>>2],e[B+8>>2]=e[x+8>>2],e[B+12>>2]=e[x+12>>2],l=l+1|0;s=s+1|0,A=q7(w,A)|0}for(l=0,s=0,A=m;;){if(!A){s=m,l=m;break}if(c=e[A+16>>2]|0,f=p+(l<<4)|0,n=v+(l<<4)|0,wd0(s,A,c,f,n,o),l=l+1|0,!((l|0)==50|(c|0)==0)){s=A,A=c;continue}dd0(r,t,i,l,p,v),e[p>>2]=e[f>>2],e[p+4>>2]=e[f+4>>2],e[p+8>>2]=e[f+8>>2],e[p+12>>2]=e[f+12>>2],e[v>>2]=e[n>>2],e[v+4>>2]=e[n+4>>2],e[v+8>>2]=e[n+8>>2],e[v+12>>2]=e[n+12>>2],s=A,l=1,A=c}for(;s;)x=e[s+16>>2]|0,r0(l),s=x,l=x;g=E}function q7(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+144|0,o=l+128|0,i=l+64|0,n=l,QD(r)|0?(i=t+16|0,(e[i>>2]|0)==1&&(e[i>>2]=0,e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2]),i=r+48|0,e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],i=kd0(o,t)|0):(Ei(o,r,3,.5,i,n),i=q7(n,q7(i,t)|0)|0),g=l,i|0}function wd0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=+l;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;E=g,g=g+96|0,w=E+80|0,f=E+64|0,c=E+48|0,p=E+32|0,v=E+16|0,m=E,e[p>>2]=e[t>>2],e[p+4>>2]=e[t+4>>2],e[p+8>>2]=e[t+8>>2],e[p+12>>2]=e[t+12>>2];do if(r)if(e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],i){e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],s=+u[p>>3],A=+u[p+8>>3];break}else{s=+u[p>>3],u[m>>3]=s*2-+u[v>>3],A=+u[p+8>>3],u[m+8>>3]=A*2-+u[v+8>>3];break}else e[m>>2]=e[i>>2],e[m+4>>2]=e[i+4>>2],e[m+8>>2]=e[i+8>>2],e[m+12>>2]=e[i+12>>2],s=+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[r>>3]-n)),o=o-n,+((o>0?o+-6.283185307179586:o)*.5+n)}function kd0(r,t){r=r|0,t=t|0;var i=0;return i=_0(24)|0,e[i+16>>2]=0,e[i>>2]=e[r>>2],e[i+4>>2]=e[r+4>>2],e[i+8>>2]=e[r+8>>2],e[i+12>>2]=e[r+12>>2],e[t+16>>2]=i,i|0}function vd0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;t=r,o=r;e:for(;;){for(n=0;;){if(i=t,t=t+1|0,i=C[i>>0]|0,!(i<<24>>24))break e;if(n<<24>>24){l=5;break}if(i<<24>>24!=92)break;n=1}r:do if((l|0)==5)switch(l=0,i<<24>>24|0){case 114:{i=13;break r}case 108:case 110:{i=10;break r}default:break r}while(0);C[o>>0]=i,o=o+1|0}return C[o>>0]=0,r|0}function md0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(i=e[r>>2]|0;;){if(o=C[i>>0]|0,!(o<<24>>24)){n=0;break}if(n=o<<24>>24,!(o<<24>>24==44|(cn(n)|0)!=0)){l=5;break}i=i+1|0}e:do if((l|0)==5){switch(n|0){case 0:{n=0;break e}case 41:case 40:{i=i+1|0;break e}default:}for(l=t+4|0,s=t+8|0;;){if((gd0(o<<24>>24)|0)<<24>>24){n=1;break e}n=e[l>>2]|0,n>>>0>=(e[s>>2]|0)>>>0&&(Xe(t,1)|0,n=e[l>>2]|0),e[l>>2]=n+1,C[n>>0]=o,n=i+1|0,i=n,o=C[n>>0]|0}}while(0);return e[r>>2]=i,n|0}function gd0(r){switch(r=r|0,r|0){case 0:case 44:case 41:case 40:{r=1;break}default:r=0}return r|0}function Lh(r,t){return r=r|0,t=t|0,hN(e[r>>2]|0,e[r+160>>2]|0,e[r+156>>2]|0,t)|0}function hN(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+160|0,c=p+20|0,f=p+16|0,w=p,e[c>>2]=0,e[f>>2]=0,Vt(w,128,p+24|0),t2(w,n)|0,o=w+4|0,n=e[o>>2]|0,n>>>0>=(e[w+8>>2]|0)>>>0&&(Xe(w,1)|0,n=e[o>>2]|0),C[n>>0]=0,l=e[w>>2]|0,e[o>>2]=l,s=r+300|0,A=r+296|0,n=0,o=l;e:for(;;){if(n){n=1;break}if(n=GE(o,e[s>>2]|0,c)|0,!n){n=0;break}switch(o=GE(n,e[A>>2]|0,f)|0,l=(o|0)!=0,l?n=GE(0,e[A>>2]|0,f)|0:n=0,((n|0)!=0&1)+(l&1)&3){case 2:{o=$7(r,o,0)|0,n=$7(r,n,i)|0,l=(o|0)>(n|0),n=(n&o|0)>-1&(((l?o:n)|0)>=(t|0)&((l?n:o)|0)<=(t|0)),o=0;continue e}case 1:{n=($7(r,o,t)|0)==(t|0),o=0;continue e}default:{n=0,o=0;continue e}}}return Ot(w),g=p,n|0}function $7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=C[t>>0]|0,l<<24>>24==97&&!(ge(t,100396)|0)||(n=3);e:do if((n|0)==3){if((yd0(t)|0)<<24>>24){i=F1(t)|0;break}if(o=e[r+308>>2]|0,!o)i=-1;else for(r=e[r+312>>2]|0,i=1;;){if((i|0)>(r|0)){i=-1;break e}if(n=e[o+(i<<2)>>2]|0,l<<24>>24==(C[n>>0]|0)&&!(ge(t,n)|0))break e;i=i+1|0}}while(0);return i|0}function yd0(r){r=r|0;for(var t=0;;){if(t=C[r>>0]|0,!(t<<24>>24)){r=1;break}if(((t&255)+-48|0)>>>0<10)r=r+1|0;else{r=0;break}}return r|0}function ya(r,t){return r=r|0,t=t|0,+u[r+16>>3]>=+u[t>>3]&&+u[t+16>>3]>=+u[r>>3]&&+u[r+24>>3]>=+u[t+8>>3]?r=+u[t+24>>3]>=+u[r+8>>3]&1:r=0,r|0}function wN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;e:do if((e[r+156>>2]|0)>=2&&(n=wt(i,e[47167]|0,195059)|0,(Lh(r,n)|0)<<24>>24==0))if(C[n>>0]|0)n=0;else if(!(Xr(t,i)|0))n=1;else for(n=Xr(t,i)|0;;){if(!n){n=0;break e}if(o=wt(n,e[47190]|0,195059)|0,!(C[o>>0]|0)){n=1;break e}if((Lh(r,o)|0)<<24>>24){n=1;break e}n=ot(t,n,i)|0}else n=1;while(0);return n|0}function Cd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+64|0,n=i+32|0,o=i,r=(e[r+16>>2]|0)+48|0,e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[o+16>>2]=e[r+16>>2],e[o+20>>2]=e[r+20>>2],e[o+24>>2]=e[r+24>>2],e[o+28>>2]=e[r+28>>2],e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],e[n+16>>2]=e[t+16>>2],e[n+20>>2]=e[t+20>>2],e[n+24>>2]=e[t+24>>2],e[n+28>>2]=e[t+28>>2],t=(ya(o,n)|0)&255,g=i,t|0}function Ed0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;m=e[r+152>>2]|0,E=hh(r)|0,e[E+4>>2]=2,e[E+8>>2]=t,e[E+12>>2]=8,m&16777216|0&&((M0[(e[(We(t)|0)+16>>2]|0)+178>>1]|0)>2?(i=+u[(e[(e[t+16>>2]|0)+132>>2]|0)+16>>3]*72,i=+(~~(i+(i>=0?.5:-.5))|0)):i=0,u[E+168>>3]=i),s=t+16|0,K7(r,e[(e[s>>2]|0)+104>>2]|0,t);do if(m&4259840|0){if(!(e[E+208>>2]|0)&&!($[E+260>>1]&1))break;p=ZA(t)|0,A=e[s>>2]|0,i=+u[A+16>>3],v=+u[A+24>>3],A=Id0(t)|0;e:do if((p|2|0)==3)if(f=e[(e[s>>2]|0)+12>>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=31;while(0);(B|0)==31&&(e[E+264>>2]=0,o=j0(32)|0,n=e[s>>2]|0,u[o>>3]=i-+u[n+88>>3],z=+u[n+80>>3]*.5,u[o+8>>3]=v-z,u[o+16>>3]=+u[n+96>>3]+i,u[o+24>>3]=z+v,n=2),m&8192||El(r,o,o,n)|0,e[E+272>>2]=o,e[E+268>>2]=n}while(0);Uw(he(t,100032)|0),Ot0(r,t)}function Bd0(r){r=r|0,Ht0(r),wh(r)}function K7(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=g,g=g+144|0,A=f,n=he(i,141055)|0,s=he(i,141101)|0,c=he(i,141088)|0,Vt(A,128,f+16|0),t?l=e[t>>2]|0:l=0,n|0&&C[n>>0]|0||(n=he(i,111477)|0),o=f7(r,i,A)|0,s?t=zh(s,i)|0:t=0,MD(r,l,n,t,c,o,i)|0,r0(t),Ot(A),g=f}function Id0(r){r=r|0;var t=0,i=0;r=F2(r,e[47157]|0,195059)|0;e:do if(!(C[r>>0]|0))r=0;else for(pf(r)|0,r=0,t=188228;;){if(i=e[t>>2]|0,!i)break e;i=(ge(i,111101)|0)==0,r=i?1:r,t=t+4|0}while(0);return r|0}function xd0(r){r=r|0;var t=0;return(e[r+8>>2]|0)==4&&(t=+u[r+16>>3],((~~(t+(t>=0?.5:-.5))|0)%90|0|0)==0)&&+u[r+24>>3]==0?r=+u[r+32>>3]==0&1:r=0,r|0}function Sd0(r,t,i){r=+r,t=+t,i=i|0;var n=0,o=0,l=0,s=0;for(l=6.283185307179586/+(i|0),s=j0(i<<4)|0,n=0,o=0;!((o|0)>=(i|0));)u[s+(o<<4)>>3]=+ee(+n)*r,u[s+(o<<4)+8>>3]=+le(+n)*t,n=n+l,o=o+1|0;return s|0}function _d0(r,t){r=r|0,t=t|0;var i=0;e:do if((e[r+156>>2]|0)>=2&&(i=wt(t,re(t,0,101510,0)|0,195059)|0,(Lh(r,i)|0)<<24>>24==0))if(C[i>>0]|0)i=0;else for(i=U0(t)|0;;){if(!i){i=0;break e}if((wN(r,t,i)|0)<<24>>24){i=1;break e}i=X0(t,i)|0}else i=1;while(0);return i|0}function zd0(r,t){r=r|0,t=t|0;var i=0;i=hh(r)|0,e[i+4>>2]=1,e[i+8>>2]=t,e[i+12>>2]=1,K7(r,e[(e[t+16>>2]|0)+12>>2]|0,t),Yt0(r,t)}function dN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;r=he(r,141082)|0;e:do if(r|0&&C[r>>0]|0)for(pf(r)|0,i=188228,r=0;;){for(;;){if(n=e[i>>2]|0,!n){i=188228;break e}if(!(ge(n,111101)|0)){o=10;break}if(!(ge(n,106334)|0)){n=i,o=12;break}if(!(ge(n,106341)|0)){n=i,o=14;break}if(!(ge(n,106316)|0)){n=i,o=16;break}i=i+4|0}if((o|0)==10){i=i+4|0,r=r|1;continue}else if((o|0)==12){for(;l=n,n=n+4|0,o=e[n>>2]|0,e[l>>2]=o,o;)o=12;r=r|3;continue}else if((o|0)==14){for(;o=n,n=n+4|0,l=e[n>>2]|0,e[o>>2]=l,l;)o=14;r=r|64;continue}else if((o|0)==16){for(;o=n,n=n+4|0,l=e[n>>2]|0,e[o>>2]=l,l;)o=16;r=r|4;continue}}else i=0,r=0;while(0);return e[t>>2]=r,i|0}function Rh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;if(A=g,g=g+16|0,l=A,s=A+4|0,e[s>>2]=0,c=(Td(r,0,s)|0)==0,s=e[s>>2]|0,c&&(n=e[s>>2]|0,(n|0)>=2)&&(o=s+8|0,(e[e[o>>2]>>2]|0)!=0)){(n|0)>2&&$0(0,100415,l)|0,c=_0((d2(r)|0)+1|0)|0,e[t>>2]=c,yo(c,e[e[o>>2]>>2]|0)|0,e[(e[o>>2]|0)+12>>2]|0?(c=e[t>>2]|0,c=c+((d2(c)|0)+1)|0,e[t+4>>2]=c,yo(c,e[(e[o>>2]|0)+12>>2]|0)|0):e[t+4>>2]=0,r=e[o>>2]|0;do if(C[r+8>>0]|0)e[i>>2]=e[r+4>>2];else if(C[r+20>>0]|0){x0[i>>2]=1-+x0[r+16>>2];break}else{x0[i>>2]=0;break}while(0);hf(s),r=1}else e[t>>2]=0,hf(s),r=0;return g=A,r|0}function Ld0(r,t){r=r|0,t=t|0,Vt0(r,t),wh(r)}function Rd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;for(L=g,g=g+96|0,p=L+48|0,E=L+16|0,_=L+8|0,z=L,B=L+80|0,e[B>>2]=1e3,o=_0(16e3)|0,x=r+256|0,n=1,s=1,l=0,v=0,m=e[t+8>>2]|0;!((v|0)>=(e[t>>2]|0));){i=e[m>>2]|0;e:do switch(i|0){case 1:case 0:{f=m+80|0,e[E>>2]=e[f>>2],e[E+4>>2]=e[f+4>>2],e[E+8>>2]=e[f+8>>2],e[E+12>>2]=e[f+12>>2],e[E+16>>2]=e[f+16>>2],e[E+20>>2]=e[f+20>>2],e[E+24>>2]=e[f+24>>2],e[E+28>>2]=e[f+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],ya(E,p)|0&&(W=m+8|0,N=m+24|0,u[o>>3]=+u[W>>3]-+u[N>>3],f=m+16|0,Z=m+32|0,u[o+8>>3]=+u[f>>3]-+u[Z>>3],u[o+16>>3]=+u[N>>3]+ +u[W>>3],u[o+24>>3]=+u[Z>>3]+ +u[f>>3],Y3(r,o,2,i|0?0:s)),i=s;break}case 3:case 2:{N=m+80|0,e[E>>2]=e[N>>2],e[E+4>>2]=e[N+4>>2],e[E+8>>2]=e[N+8>>2],e[E+12>>2]=e[N+12>>2],e[E+16>>2]=e[N+16>>2],e[E+20>>2]=e[N+20>>2],e[E+24>>2]=e[N+24>>2],e[E+28>>2]=e[N+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],ya(E,p)|0&&(i=m+8|0,o=b7(o,B,e[i+4>>2]|0,e[i>>2]|0)|0,Q2(r,o,e[i>>2]|0,(e[m>>2]|0)==2?s:0)),i=s;break}case 5:case 4:{N=m+80|0,e[E>>2]=e[N>>2],e[E+4>>2]=e[N+4>>2],e[E+8>>2]=e[N+8>>2],e[E+12>>2]=e[N+12>>2],e[E+16>>2]=e[N+16>>2],e[E+20>>2]=e[N+20>>2],e[E+24>>2]=e[N+24>>2],e[E+28>>2]=e[N+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],ya(E,p)|0&&(i=m+8|0,o=b7(o,B,e[i+4>>2]|0,e[i>>2]|0)|0,Ao(r,o,e[i>>2]|0,0,0,(e[m>>2]|0)==4?s&255:0)),i=s;break}case 6:{N=m+80|0,e[E>>2]=e[N>>2],e[E+4>>2]=e[N+4>>2],e[E+8>>2]=e[N+8>>2],e[E+12>>2]=e[N+12>>2],e[E+16>>2]=e[N+16>>2],e[E+20>>2]=e[N+20>>2],e[E+24>>2]=e[N+24>>2],e[E+28>>2]=e[N+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],ya(E,p)|0&&(i=m+8|0,o=b7(o,B,e[i+4>>2]|0,e[i>>2]|0)|0,y2(r,o,e[i>>2]|0)),i=s;break}case 7:{N=m+80|0,e[E>>2]=e[N>>2],e[E+4>>2]=e[N+4>>2],e[E+8>>2]=e[N+8>>2],e[E+12>>2]=e[N+12>>2],e[E+16>>2]=e[N+16>>2],e[E+20>>2]=e[N+20>>2],e[E+24>>2]=e[N+24>>2],e[E+28>>2]=e[N+28>>2],e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],e[p+16>>2]=e[x+16>>2],e[p+20>>2]=e[x+20>>2],e[p+24>>2]=e[x+24>>2],e[p+28>>2]=e[x+28>>2],ya(E,p)|0&&(u[o>>3]=+u[m+8>>3],u[o+8>>3]=+u[m+16>>3],i=e[m+112>>2]|0,e[p>>2]=e[o>>2],e[p+4>>2]=e[o+4>>2],e[p+8>>2]=e[o+8>>2],e[p+12>>2]=e[o+12>>2],Ny(r,p,i)),i=s;break}case 8:{tr(r,e[m+8>>2]|0),i=1;break}case 9:{Z2(r,e[m+8>>2]|0),i=1;break}case 13:{if((e[m+8>>2]|0)!=2){i=m+16|0,W=e[i+36>>2]|0,N=e[W+12>>2]|0,w=+x0[W+8>>2],i=~~(+I2(+(+u[m+40>>3]-+u[m+24>>3]),+(+u[m+32>>3]-+u[i>>3]))*57.29577951308232),tr(r,e[W+4>>2]|0),so(r,N,i,w),i=2;break e}N=e[m+68>>2]|0,s=e[N+4>>2]|0,f=e[N+12>>2]|0,w=+x0[N+8>>2],A=+u[m+40>>3],c=+u[m+16>>3],A==c&&+u[m+48>>3]==+u[m+24>>3]?i=0:i=~~(+s2(+((c-A)/+u[m+32>>3]))*57.29577951308232),tr(r,s),so(r,f,i,w),i=3;break}case 14:{$0(0,100481,z)|0,i=s;break}case 12:{n?($0(0,100521,_)|0,n=0,i=s):(n=0,i=s);break}case 11:{pf(e[m+8>>2]|0)|0,c1(r,188228),l=188228,i=s;break}default:i=s}while(0);s=i,v=v+1|0,m=m+120|0}l|0&&c1(r,e[(e[r>>2]|0)+336>>2]|0),r0(o),g=L}function b7(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(l=e[t>>2]|0,o=l<<1,o=(o|0)>(n|0)?o:n,(l|0)<(n|0)&&(r=Ve(r,o<<4)|0,e[t>>2]=o),t=0;!((t|0)>=(n|0));)u[r+(t<<4)>>3]=+u[i+(t*24|0)>>3],u[r+(t<<4)+8>>3]=+u[i+(t*24|0)+8>>3],t=t+1|0;return r|0}function hp(r,t){r=r|0,t=t|0;var i=0;i=e[t>>2]|0,e[r>>2]=e[t+4>>2],e[r+4>>2]=i}function pN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=t+16|0,n=1;t=e[o>>2]|0,!((n|0)>(e[t+180>>2]|0));)i=e[(e[t+184>>2]|0)+(n<<2)>>2]|0,pN(r,i),t=he(i,140823)|0,t|0&&C[t>>0]|0&&Z2(r,t),t=he(i,137729)|0,t|0&&C[t>>0]|0&&Z2(r,t),t=he(i,140977)|0,t|0&&C[t>>0]|0&&Z2(r,t),t=he(i,101418)|0,t|0&&C[t>>0]|0&&tr(r,t),t=he(i,101446)|0,t|0&&C[t>>0]|0&&Z2(r,t),n=n+1|0}function Gd0(r){r=r|0;var t=0,i=0,n=0;return t=e[47127]|0,t||(t=ct(20628,e[4581]|0)|0,e[47127]=t),oe[e[t>>2]&63](t,r,4)|0?t=0:(i=e[47127]|0,n=e[i>>2]|0,t=C2(r)|0,oe[n&63](i,t,1)|0,t=1),t|0}function Zd0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function zA(r){r=r|0;var t=0;t=e[47128]|0,r?(e[47128]=t+1,t||(e[47129]=C2(_E(1,0)|0)|0,_E(1,153563)|0)):(t|0)>0&&(t=t+-1|0,e[47128]=t,(t|0)==0)&&(_E(1,e[47129]|0)|0,r0(e[47129]|0))}function eC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;z=g,g=g+96|0,E=z+72|0,m=z+56|0,v=z+48|0,x=z+32|0,B=z+24|0,n=z+8|0,i=z;do if($e(t,137483,0,1)|0&&(p=t+16|0,(e[(e[p>>2]|0)+8>>2]|0)!=0)){Wd0(t),Dd0(r,t),Md0(r,t),zA(1),A=r+56|0,c=r+184|0,f=r+192|0,w=r+28|0,s=fc0(r)|0;e:for(;;){if(!s){l=33;break}if(i=e[A>>2]|0,i?(e[s+20>>2]=e[i+8>>2],i=e[i+12>>2]|0):(e[s+20>>2]=0,i=0),e[s+24>>2]=i,e[s+12>>2]=r,e[s+28>>2]=e[c>>2],e[s+620>>2]=25764,e[s+624>>2]=14,!(e[(e[p>>2]|0)+8>>2]|0)){l=13;break}switch(n=s+52|0,l=Vw(s,e[n>>2]|0)|0,e[s+56>>2]=l,l|0){case 999:{l=16;break e}case 21:{i=1;break}case 24:{i=520;break}default:i=jd0(t)|0}o=s+152|0,e[o>>2]=e[o>>2]|i,i=e[f>>2]|0;do if(!i)l=24;else{if(e[i+152>>2]&32|0&&!(ge(e[n>>2]|0,e[i+52>>2]|0)|0)){if(i=e[47130]|0,!i){l=27;break}e[i+8>>2]=s,e[s+36>>2]=e[i+36>>2],l=29;break}Ow(i),e[f>>2]=0,e[w>>2]=0,l=24}while(0);(l|0)==24&&(e[47130]=0,l=27),(l|0)==27&&(l=0,(Mt0(s)|0)==0)&&(e[f>>2]=s,l=29),(l|0)==29&&(e[s+8>>2]=0,e[s+104>>2]=25876,Nd0(s),Qd0(s),Td0(s,t),Fd0(s,t),Pd0(s,t),e[o>>2]&128||TD(s,t),e[47130]=s),s=hc0(r)|0}if((l|0)==13){$0(1,100679,B)|0,zA(0),i=-1;break}else if((l|0)==16){e[v>>2]=e[n>>2],$0(1,100700,v)|0,zA(0),i=-1;break}else if((l|0)==33){zA(0),i=0;break}}else l=5;while(0);return(l|0)==5&&($0(1,100602,i)|0,i=-1),g=z,i|0}function Wd0(r){r=r|0;var t=0;for(t=U0(r)|0;t;)Od0(r,t),t=X0(r,t)|0}function Dd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;w=g,g=g+32|0,A=w+24|0,n=w+16|0,s=w+8|0,f=w,e[r+168>>2]=t,o=r+293|0,C[o>>0]=0,i=he(t,105496)|0,i|0&&(e[n>>2]=s,e[n+4>>2]=f,l=X2(i,105503,n)|0,(l|0)>0)&&(p=+u[s>>3]*72,i=r+208|0,u[i>>3]=p,u[r+200>>3]=p,(l|0)!=1&&(u[i>>3]=+u[f>>3]*72),C[o>>0]=1),n=r+292|0,C[n>>0]=0,i=he(t,101102)|0,i|0&&(e[A>>2]=s,e[A+4>>2]=f,c=X2(i,105503,A)|0,(c|0)>0)&&(p=+u[s>>3]*72,i=r+224|0,u[i>>3]=p,u[r+216>>3]=p,(c|0)!=1&&(u[i>>3]=+u[f>>3]*72),C[n>>0]=1),i=r+294|0,C[i>>0]=0,n=r+232|0,o=t+16|0,f=(e[(e[o>>2]|0)+8>>2]|0)+48|0,e[n>>2]=e[f>>2],e[n+4>>2]=e[f+4>>2],e[n+8>>2]=e[f+8>>2],e[n+12>>2]=e[f+12>>2],n=e[(e[o>>2]|0)+8>>2]|0,+u[n+48>>3]>.001&&+u[n+56>>3]>.001&&(C[i>>0]=1),e[r+288>>2]=C[n+81>>0]|0?90:0,i=r+196|0,e[i>>2]=101106,n=he(t,101109)|0,n|0&&C[n>>0]|0&&(e[i>>2]=n),f=r+256|0,c=(e[o>>2]|0)+16|0,e[f>>2]=e[c>>2],e[f+4>>2]=e[c+4>>2],e[f+8>>2]=e[c+8>>2],e[f+12>>2]=e[c+12>>2],e[f+16>>2]=e[c+16>>2],e[f+20>>2]=e[c+20>>2],e[f+24>>2]=e[c+24>>2],e[f+28>>2]=e[c+28>>2],e[47141]=re(t,0,101472,0)|0,e[47142]=re(t,0,101463,0)|0,e[r+320>>2]=F2(0,e[47151]|0,107994)|0,u[r+328>>3]=+sr(0,e[47150]|0,14,1),e[r+336>>2]=20664,e[r+188>>2]=te(t)|0,g=w}function Md0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=r+304|0,n=e[i>>2]|0,n|0&&(r0(n),e[i>>2]=0),n=r+308|0,i=e[n>>2]|0,i|0&&(r0(i),e[n>>2]=0),o=r+316|0,i=e[o>>2]|0,i|0&&(r0(i),e[o>>2]=0),i=he(t,100853)|0,i?(e[r+312>>2]=Yd0(r,t,i)|0,i=he(t,100860)|0,i|0&&C[i>>0]|0&&(e[o>>2]=Vd0(r,i)|0)):(e[n>>2]=0,e[r+312>>2]=1)}function jd0(r){r=r|0,r=he(r,100821)|0;e:do if(!r)r=0;else switch(C[r>>0]|0){case 110:{if(!(ge(r+1|0,100833)|0))r=1;else{r=0;break e}break}case 101:{if(!(ge(r+1|0,100843)|0))r=16;else{r=0;break e}break}default:{r=0;break e}}while(0);return r|0}function Nd0(r){r=r|0;var t=0,i=0;i=e[r>>2]|0,C[i+292>>0]|0?(r=r+240|0,i=i+216|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2]):((e[r+56>>2]|0)==300?t=+u[(e[r+68>>2]|0)+8>>3]:t=4,u[r+248>>3]=t,u[r+240>>3]=t)}function Qd0(r){r=r|0;var t=0;t=e[r>>2]|0;e:do if(C[t+293>>0]|0)r=r+416|0,t=t+200|0,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];else switch(e[r+56>>2]|0){case 300:{t=r+416|0,r=(e[r+84>>2]|0)+8|0,e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2];break e}case 30:case 21:case 22:case 4:case 3:case 2:{u[r+424>>3]=36,u[r+416>>3]=36;break e}default:{t=r+416|0,e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0;break e}}while(0)}function Td0(r,t){r=r|0,t=t|0;var i=0,n=0;n=e[(e[r>>2]|0)+192>>2]|0,i=+u[(e[(e[t+16>>2]|0)+8>>2]|0)+24>>3];do if(i==0){if(n|0&&C[n+128>>0]|0){r=r+432|0,n=n+112|0,e[r>>2]=e[n>>2],e[r+4>>2]=e[n+4>>2],e[r+8>>2]=e[n+8>>2],e[r+12>>2]=e[n+12>>2];break}if(t=r+432|0,(e[r+56>>2]|0)==300){r=(e[r+84>>2]|0)+40|0,e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2];break}else{u[r+440>>3]=96,u[t>>3]=96;break}}else u[r+440>>3]=i,u[r+432>>3]=i;while(0)}function Fd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;N=g,g=g+112|0,B=N+80|0,x=N+56|0,E=N+40|0,z=N+32|0,_=N+24|0,L=N+16|0,Z=N+8|0,W=N,c=e[r>>2]|0,w=+u[c+272>>3],v=+u[c+280>>3],p=+u[c+256>>3],m=+u[c+264>>3],n=+u[r+240>>3],i=p-n,u[r+208>>3]=i,l=+u[r+248>>3],s=m-l,u[r+216>>3]=s,n=n+w,u[r+224>>3]=n,l=l+v,u[r+232>>3]=l,i=n-i,s=l-s,u[L>>3]=1,o=e[(e[t+16>>2]|0)+8>>2]|0,l=+u[o+64>>3];do if(l>.001&&(A=+u[o+72>>3],A>.001)){if(i=i==0?l:i,n=s==0?A:s,!(ln&(l>i&(C[o+80>>0]|0)!=0))){A=i,s=n,l=1;break}f=l/i>3]=l,A=i,s=n}else A=i,l=1;while(0);if(n=(p+w)*.5,u[Z>>3]=n,i=(m+v)*.5,u[W>>3]=i,e[r+360>>2]=e[c+288>>2],A=l*A,u[z>>3]=A,s=l*s,u[_>>3]=s,o=he(t,100752)|0,o){c=Te((d2(o)|0)+1|0)|0,f=Te((d2(o)|0)+1|0)|0,e[E>>2]=z,e[E+4>>2]=_,e[E+8>>2]=L,e[E+12>>2]=c;do if((X2(o,100761,E)|0)==4)o=ht(e[t+60>>2]|0,c,0)|0,o|0&&(x=e[o+16>>2]|0,u[Z>>3]=+u[x+16>>3],u[W>>3]=+u[x+24>>3]);else{if(e[x>>2]=z,e[x+4>>2]=_,e[x+8>>2]=L,e[x+12>>2]=c,e[x+16>>2]=f,(X2(o,100781,x)|0)!=4){e[B>>2]=z,e[B+4>>2]=_,e[B+8>>2]=L,e[B+12>>2]=Z,e[B+16>>2]=W,X2(o,100801,B)|0;break}o=ht(e[t+60>>2]|0,c,0)|0,o|0&&(x=e[o+16>>2]|0,u[Z>>3]=+u[x+16>>3],u[W>>3]=+u[x+24>>3])}while(0);r0(c),r0(f),A=+u[z>>3],s=+u[_>>3],l=+u[L>>3],n=+u[Z>>3],i=+u[W>>3]}u[r+368>>3]=A,u[r+376>>3]=s,u[r+352>>3]=l,u[r+336>>3]=n,u[r+344>>3]=i,g=N}function Pd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0;k0=g,g=g+224|0,Y=k0+200|0,W=k0+168|0,X=k0+144|0,t0=k0+120|0,U=k0+96|0,F=k0+64|0,i=k0+184|0,z=k0+176|0,_=k0+160|0,Z=k0+136|0,L=k0+112|0,N=k0+80|0,T=k0+48|0,D=k0+32|0,P=k0+16|0,H=k0+8|0,a0=k0,x=e[r>>2]|0,e[F>>2]=0,e[F+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y>>2]=e[X>>2],e[Y+4>>2]=e[X+4>>2],e[Y+8>>2]=e[X+8>>2],e[Y+12>>2]=e[X+12>>2],Gh(T,Y),e[X>>2]=e[T>>2],e[X+4>>2]=e[T+4>>2],e[X+8>>2]=e[T+8>>2],e[X+12>>2]=e[T+12>>2],e[Y>>2]=e[U>>2],e[Y+4>>2]=e[U+4>>2],e[Y+8>>2]=e[U+8>>2],e[Y+12>>2]=e[U+12>>2],Gh(D,Y),e[U>>2]=e[D>>2],e[U+4>>2]=e[D+4>>2],e[U+8>>2]=e[D+8>>2],e[U+12>>2]=e[D+12>>2],e[Y>>2]=e[F>>2],e[Y+4>>2]=e[F+4>>2],e[Y+8>>2]=e[F+8>>2],e[Y+12>>2]=e[F+12>>2],Gh(P,Y),e[F>>2]=e[P>>2],e[F+4>>2]=e[P+4>>2],e[F+8>>2]=e[P+8>>2],e[F+12>>2]=e[P+12>>2],f=+u[U>>3],c=+u[F>>3],A=+u[v>>3],l=+u[F+8>>3],o=+u[t0>>3],s=(e[q>>2]|0)==0):s=1,w=c+f,u[r+384>>3]=w,D0=l+A,u[r+392>>3]=D0,B0=c+f+o,u[r+400>>3]=B0,J0=+u[t0+8>>3],f=l+A+J0,u[r+408>>3]=f,c=+u[r+352>>3],u[r+320>>3]=o/c,u[r+328>>3]=J0/c,c=+u[E>>3],w=w*.013888888888888888*c,n=r+456|0,e[n>>2]=~~(w+(w>=0?.5:-.5)),w=+u[B>>3],A=D0*.013888888888888888*w,e[r+460>>2]=~~(A+(A>=0?.5:-.5)),c=B0*.013888888888888888*c,i=r+464|0,e[i>>2]=~~(c+(c>=0?.5:-.5)),w=f*.013888888888888888*w,e[r+468>>2]=~~(w+(w>=0?.5:-.5)),s||(e[Y>>2]=e[n>>2],e[Y+4>>2]=e[n+4>>2],hp(H,Y),t0=H,H=e[t0+4>>2]|0,r=n,e[r>>2]=e[t0>>2],e[r+4>>2]=H,e[Y>>2]=e[i>>2],e[Y+4>>2]=e[i+4>>2],hp(a0,Y),r=a0,H=e[r+4>>2]|0,a0=i,e[a0>>2]=e[r>>2],e[a0+4>>2]=H),g=k0}function Gh(r,t){r=r|0,t=t|0;var i=0;i=+u[t>>3],u[r>>3]=+u[t+8>>3],u[r+8>>3]=i}function wp(r,t,i){switch(r=r|0,t=t|0,i=i|0,i=(i<<24>>24)+-66|0,i>>>1|i<<31|0){case 9:{e[t+176>>2]=(e[t+168>>2]|0)+-1,t=0,i=-1;break}case 0:{t=0,i=1;break}case 5:{t=1,i=0;break}case 8:{e[t+172>>2]=(e[t+164>>2]|0)+-1,t=-1,i=0;break}default:t=0,i=0}e[r>>2]=t,e[r+4>>2]=i}function Yd0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,o=A,n=he(t,100973)|0,s=r+296|0,e[s>>2]=n|0?n:100982,t=he(t,100986)|0,n=r+300|0,t=t|0?t:100999,e[n>>2]=t,t=LB0(e[s>>2]|0,t)|0,t|0&&(e[o>>2]=C[t>>0],$0(0,101001,o)|0,e[n>>2]=195059),t=C2(i)|0,e[r+304>>2]=t,l=r+308|0,n=0,r=0;i=Na(t,e[s>>2]|0)|0,!!i;)o=r+1|0,(r|0)<(n|0)?t=e[l>>2]|0:(n=n+128|0,t=e[l>>2]|0,t?t=Ve(t,n<<2)|0:t=_0(n<<2)|0,e[l>>2]=t),e[t+(o<<2)>>2]=i,r=o,t=0;return r|0&&(s=Ve(e[l>>2]|0,(r<<2)+8|0)|0,e[l>>2]=s,e[s>>2]=0,e[(e[l>>2]|0)+(r+1<<2)>>2]=0),g=A,r|0}function Vd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(f=g,g=g+16|0,c=f,A=r+312|0,i=_0((e[A>>2]<<2)+8|0)|0,n=0,s=1;l=e[A>>2]|0,!((s|0)>(l|0));)o=n+1|0,(hN(r,s,l,t)|0)<<24>>24&&(e[i+(o<<2)>>2]=s,n=o),s=s+1|0;return n?(e[i>>2]=n,e[i+(n+1<<2)>>2]=(e[A>>2]|0)+1):(e[c>>2]=t,$0(0,100872,c)|0,r0(i),i=0),g=f,i|0}function Od0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(i=e[t+16>>2]|0,l=+u[i+16>>3],u[i+48>>3]=l-+u[i+88>>3],n=+u[i+24>>3],o=+u[i+80>>3]*.5,u[i+56>>3]=n-o,u[i+64>>3]=+u[i+96>>3]+l,u[i+72>>3]=o+n,t=Me(r,t)|0;t;)Hd0(t),t=Qe(r,t)|0}function Hd0(r){r=r|0,r=e[(e[r+16>>2]|0)+8>>2]|0,r|0&&Jd0(r)}function Jd0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0;P=g,g=g+240|0,_=P+192|0,z=P+176|0,L=P+64|0,Z=P+32|0,W=P,N=P+144|0,T=P+112|0,D=r+4|0,(e[D>>2]|0)<=0&&H0(101140,99906,3994,101154),t=e[r>>2]|0,i=L,n=t,o=i+48|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));i=_,n=t,o=i+48|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));for(kN(Z,_),s=Z+8|0,A=W+8|0,c=Z+16|0,f=W+16|0,w=Z+24|0,p=W+24|0,v=L+8|0,m=L+12|0,E=L+32|0,B=L+4|0,x=L+16|0,l=0;!((l|0)>=(e[D>>2]|0));){if((l|0)>0){t=(e[r>>2]|0)+(l*48|0)|0,i=L,n=t,o=i+48|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));i=_,n=t,o=i+48|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));kN(W,_),u[Z>>3]=+u[(+u[Z>>3]<+u[W>>3]?Z:W)>>3],u[s>>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3]=+u[(p>3],p=+u[n>>3],u[o>>3]=+u[(B>3],u[f>>3]=+u[(E>m?f:s)>>3],u[l>>3]=+u[(v>p?f:s)+8>>3],t=t+3|0;e[r>>2]=e[A>>2],e[r+4>>2]=e[A+4>>2],e[r+8>>2]=e[A+8>>2],e[r+12>>2]=e[A+12>>2],e[r+16>>2]=e[A+16>>2],e[r+20>>2]=e[A+20>>2],e[r+24>>2]=e[A+24>>2],e[r+28>>2]=e[A+28>>2],g=w}function Ud0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;B=+u[r>>3],x=+u[i>>3],f=!(B>=x),!f&&B<=+u[i+16>>3]&&(o=+u[r+8>>3],o>=+u[i+8>>3])?A=o<=+u[i+24>>3]:A=0,o=+u[t>>3],o>=x&&o<=+u[i+16>>3]&&(l=+u[t+8>>3],l>=+u[i+8>>3])?(n=l<=+u[i+24>>3],A^n?n=0:A&n?n=1:w=11):A?n=0:w=11;e:do if((w|0)==11){E=+u[r+8>>3];do if(B==o){if(x=+u[i+8>>3],!(f|E>=x^+u[t+8>>3]>=x^1)&&B<=+u[i+16>>3]){n=0;break e}}else{if(c=+u[t+8>>3],E==c){if(!(B>=x^o>=x)||!(E>=+u[i+8>>3]))break;if(E<=+u[i+24>>3]){n=0;break e}else break}if(m=(c-E)/(o-B),w=B>3],!(!(x>=s)|!(x<=o)|!(l>=p))&&l<=+u[i+24>>3]){n=0;break e}if(v=+u[i+16>>3],l=(v-x)*m+l,l>=p&&!(!(v<=o)|(v>=s?!(l<=+u[i+24>>3]):1))){n=0;break e}if(w=E=x&&!(!(p<=l)|(!(p>=s)|!(o<=v)))){n=0;break e}if(E=+u[i+24>>3],B=(E-p)/m+o,B>=x&&!(!(E<=l)|(!(E>=s)|!(B<=v)))){n=0;break e}}while(0);n=-1}while(0);return n|0}function dp(r){r=r|0;var t=0,i=0;t=r+16|0,i=+u[t>>3],u[r+32>>3]=i,u[r+48>>3]=i,u[r+40>>3]=+u[r+24>>3],u[r+56>>3]=+u[r+8>>3],u[t>>3]=+u[r>>3]}function vN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;(e[47131]|0)!=(i|0)&&(l8(+(i|0)*.15915494309189535,186328,186336),e[47131]=i),l=+u[t>>3],n=+u[23292],o=+u[t+8>>3],s=+u[23291],u[r>>3]=n*l-s*o,u[r+8>>3]=s*l+o*n}function pp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+16|0,o=c,n=+u[t>>3],s=t+8|0,l=+u[s>>3];e:do switch(i|0){case 0:{A=11;break}case 90:{u[t>>3]=l,n=-n,A=10;break}case 180:{n=-l,A=10;break}case 270:{u[t>>3]=l,A=10;break}default:{if((i|0)<0){e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],_s(r,o,0-i|0);break e}if((i|0)>360){e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],pp(r,o,(i>>>0)%360|0);break e}else{e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],vN(r,o,i);break e}}}while(0);(A|0)==10&&(u[s>>3]=n,A=11),(A|0)==11&&(e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]),g=c}function _s(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+16|0,o=c,n=+u[t>>3],s=t+8|0,l=+u[s>>3];e:do switch(i|0){case 0:{A=11;break}case 90:{u[t>>3]=-l,A=10;break}case 180:{n=-l,A=10;break}case 270:{u[t>>3]=l,A=10;break}default:{if((i|0)<0){e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],pp(r,o,0-i|0);break e}if((i|0)>360){e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],_s(r,o,(i>>>0)%360|0);break e}else{e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],vN(r,o,360-i|0);break e}}}while(0);(A|0)==10&&(u[s>>3]=n,A=11),(A|0)==11&&(e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]),g=c}function Xd0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=+u[i>>3],n=+u[i+8>>3],l=n+ +u[t>>3],o=s+ +u[t+24>>3],n=n+ +u[t+16>>3],u[r>>3]=s+ +u[t+8>>3],u[r+8>>3]=l,u[r+16>>3]=o,u[r+24>>3]=n}function mN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return l=+u[r>>3],n=+u[t>>3]-l,s=+u[r+8>>3],o=+u[t+8>>3]-s,l=(+u[i+8>>3]-s)*n-(+u[i>>3]-l)*o,l=l*l,+(l<1e-10?0:l/(o*o+n*n))}function gN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;l=g,g=g+16|0,o=l+8|0,n=l,r=he(r,t)|0,r|0&&(e[o>>2]=n,(X2(r,101209,o)|0)>0)&&(u[i>>3]=+u[n>>3]),g=l}function qd0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=g,g=g+16|0,o=f+8|0,l=f,i=j0(96)|0,c=r+16|0,e[(e[c>>2]|0)+8>>2]=i,i=he(r,101213)|0,i?A=3:(i=Uc(101222)|0,i|0&&(A=3)),(A|0)==3&&Jr0(101234,i|0,1)|0,i=($d0(r)|0)&255,C[(e[c>>2]|0)+115>>0]=i,i=he(r,101245)|0,e[47133]=i,!(i|0)&&(e[47133]=e[47132]),n=+sr(r,re(r,0,101255,0)|0,0,0),u[e[(e[c>>2]|0)+8>>2]>>3]=n,i=he(r,101263)|0;e:do if(!i)i=0;else{switch(C[i>>0]|0){case 76:{if(!(ge(i,101271)|0)){i=1;break e}break}case 66:{if(!(ge(i,101274)|0)){i=2;break e}break}case 82:{i=(ge(i,101277)|0)==0,i=i?3:0;break e}default:{i=0;break e}}i=0}while(0);e[(e[c>>2]|0)+116>>2]=i<<2|(t<<24>>24?i:0),n=+sr(r,re(r,0,101280,0)|0,.25,.02),u[l>>3]=n,n=n*72,e[(e[c>>2]|0)+248>>2]=~~(n+(n>=0?.5:-.5)),i=wt(r,re(r,0,101288,0)|0,0)|0,i?(e[o>>2]=l,X2(i,101209,o)|0?(n=+u[l>>3],n<.02&&(u[l>>3]=.02,n=.02)):(u[l>>3]=.5,n=.5),s8(i,101296)|0&&(C[(e[c>>2]|0)+276>>0]=1)):(u[l>>3]=.5,n=.5),n=n*72,e[(e[c>>2]|0)+252>>2]=~~(n+(n>=0?.5:-.5)),l=(pr(r,re(r,0,101304,0)|0,0,0)|0)&255,C[(e[c>>2]|0)+243>>0]=l,l=_C(wt(r,re(r,0,101314,0)|0,0)|0,20676,20692)|0,e[(e[c>>2]|0)+244>>2]=l,Kd0(r),l=yN(r,101324,(e[(e[c>>2]|0)+8>>2]|0)+64|0)|0,i=e[(e[c>>2]|0)+8>>2]|0,C[i+80>>0]=l,yN(r,101329,i+48|0)|0,i=jt(he(r,101334)|0)|0,C[(e[(e[c>>2]|0)+8>>2]|0)+82>>0]=i,i=he(r,101341)|0;do if(i)i=(F1(i)|0)==90&1,A=27;else{if(i=he(r,101348)|0,i|0){i=(C[i>>0]|32)<<24>>24==108&1,A=27;break}i=he(r,101360)|0,i|0&&(i=jt(i)|0,A=27)}while(0);(A|0)==27&&(C[(e[(e[c>>2]|0)+8>>2]|0)+81>>0]=i),e[47135]=_C(he(r,101370)|0,20708,20724)|0,C[194954]=jt(he(r,101382)|0)|0,e[47138]=0,e[47139]=0,u[(e[(e[c>>2]|0)+8>>2]|0)+24>>3]=0,i=he(r,101394)|0,i|0&&C[i>>0]|0?A=32:A=30,(A|0)==30&&(s=he(r,101398)|0,s|0)&&C[s>>0]|0&&(i=s,A=32),(A|0)==32&&(n=+Fl(i),u[(e[(e[c>>2]|0)+8>>2]|0)+24>>3]=n),Zh(r),u[23295]=1e37,e[47140]=re(r,0,101409,0)|0,e[47143]=re(r,0,141034,0)|0,e[47144]=re(r,0,105496,0)|0,e[47145]=re(r,1,141048,0)|0,e[47146]=re(r,1,141116,0)|0,e[47147]=re(r,1,108230,0)|0,e[47148]=re(r,1,140823,0)|0,e[47149]=re(r,1,101418,0)|0,e[47157]=re(r,1,141082,0)|0,e[47150]=re(r,1,101428,0)|0,e[47151]=re(r,1,101437,0)|0,e[47152]=re(r,1,101446,0)|0,A=re(r,1,108224,0)|0,e[47154]=A,A||(e[47154]=re(r,1,108224,105493)|0),e[47155]=re(r,1,101456,0)|0,e[47158]=re(r,1,101304,0)|0,e[47172]=re(r,1,101463,0)|0,e[47161]=re(r,1,101409,0)|0,e[47153]=re(r,1,105496,0)|0,e[47159]=re(r,1,141076,0)|0,e[47160]=re(r,1,101472,0)|0,e[47163]=re(r,1,101484,0)|0,e[47162]=re(r,1,101348,0)|0,e[47164]=re(r,1,101489,0)|0,e[47165]=re(r,1,141024,0)|0,e[47166]=re(r,1,137297,0)|0,e[47156]=re(r,1,101500,0)|0,e[47167]=re(r,1,101510,0)|0,e[47168]=re(r,1,101516,0)|0,e[47169]=re(r,1,101522,0)|0,e[47170]=re(r,1,101530,0)|0,e[47171]=re(r,1,101539,0)|0,e[47173]=re(r,1,141034,0)|0,e[47174]=re(r,2,101541,0)|0,e[47176]=re(r,2,140823,0)|0,e[47177]=re(r,2,101418,0)|0,e[47179]=re(r,2,101428,0)|0,e[47180]=re(r,2,101437,0)|0,e[47181]=re(r,2,101446,0)|0,e[47182]=re(r,2,108224,0)|0,e[47183]=re(r,2,101456,0)|0,e[47192]=re(r,2,101548,0)|0,e[47184]=re(r,2,101559,0)|0,e[47195]=re(r,2,101563,0)|0,e[47196]=re(r,2,101573,0)|0,e[47197]=re(r,2,101583,0)|0,e[47198]=re(r,2,101593,0)|0,e[47199]=re(r,2,101603,0)|0,e[47200]=re(r,2,101617,0)|0,e[47201]=re(r,2,101631,0)|0,e[47202]=re(r,2,101646,0)|0,e[47203]=re(r,2,101660,0)|0,e[47175]=re(r,2,101671,0)|0,e[47187]=re(r,2,101304,0)|0,e[47185]=re(r,2,141082,0)|0,e[47186]=re(r,2,101678,0)|0,e[47188]=re(r,2,101687,0)|0,e[47189]=re(r,2,101697,0)|0,e[47190]=re(r,2,101510,0)|0,e[47191]=re(r,2,101522,0)|0,e[47204]=re(r,2,101708,0)|0,e[47205]=re(r,2,101717,0)|0,e[47206]=re(r,2,101463,0)|0,i=If0(r)|0,e[(e[(e[c>>2]|0)+8>>2]|0)+88>>2]=i,i=he(r,141060)|0,i|0&&C[i>>0]|0&&(r=st(i,r)|0,e[(e[(e[c>>2]|0)+8>>2]|0)+92>>2]=r),g=f}function $d0(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=i,r=F2(r,re(r,0,101807,0)|0,101815)|0,De(r,101821)|0&&De(r,101829)|0&&De(r,101836)|0&&De(r,101839)|0&&De(r,101850)|0&&De(r,101861)|0&&De(r,101871)|0?De(r,101882)|0&&De(r,101888)|0?(De(r,101815)|0&&De(r,101893)|0&&(e[t>>2]=r,$0(0,101898,t)|0),r=0):r=2:r=1,g=i,r|0}function Kd0(r){r=r|0;var t=0,i=0,n=0;i=he(r,101765)|0;e:do if(i|0&&(n=C[i>>0]|0,n<<24>>24))switch(n<<24>>24|0){case 97:{if(n<<24>>24!=97||ge(i,101771)|0)break e;e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]=4;break e}case 99:{if(n<<24>>24!=99||ge(i,101776)|0)break e;e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]=3;break e}case 101:{if(n<<24>>24!=101||ge(i,101785)|0)break e;e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]=5;break e}case 102:{if(n<<24>>24!=102||ge(i,101792)|0)break e;e[(e[(e[r+16>>2]|0)+8>>2]|0)+84>>2]=2;break e}default:{if(t=+Fl(i),!(t>0))break e;r=e[(e[r+16>>2]|0)+8>>2]|0,e[r+84>>2]=1,u[r+16>>3]=t;break e}}while(0)}function yN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;w=g,g=g+48|0,c=w+32|0,l=w+16|0,A=w+8|0,s=w,f=w+40|0,C[f>>0]=0,r=he(r,t)|0;do if(r){if(e[l>>2]=A,e[l+4>>2]=s,e[l+8>>2]=f,l=(X2(r,101749,l)|0)>1,o=+u[A>>3],n=+u[s>>3],l&o>0&n>0){o=o*72,u[i>>3]=+(~~(o+(o>=0?.5:-.5))|0),o=n*72,u[i+8>>3]=+(~~(o+(o>=0?.5:-.5))|0),r=(C[f>>0]|0)==33;break}C[f>>0]=0,e[c>>2]=A,e[c+4>>2]=f,c=(X2(r,101759,c)|0)>0,n=+u[A>>3],c&n>0?(o=n*72,o=+(~~(o+(o>=0?.5:-.5))|0),u[i>>3]=o,u[i+8>>3]=o,r=(C[f>>0]|0)==33):r=0}else r=0;while(0);return g=w,r&1|0}function Zh(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;t=he(r,108224)|0;do if(t|0&&C[t>>0]|0){i=(e[(e[r+60>>2]|0)+16>>2]|0)+113|0,C[i>>0]=C[i>>0]|8,i=(Rl(t)|0)!=0,o=+sr(r,re(r,0,101428,0)|0,14,1),l=F2(r,re(r,0,101437,0)|0,107994)|0,t=LA(r,t,i?2:0,o,l,F2(r,re(r,0,101446,0)|0,137314)|0)|0,l=r+16|0,e[(e[l>>2]|0)+12>>2]=t,t=he(r,105628)|0,i=(t|0)!=0;do if((c2(r)|0)==(r|0)){if(i&&(C[t>>0]|0)==116){t=1;break}t=0}else{if(i&&(C[t>>0]|0)==98){t=0;break}t=1}while(0);i=he(r,101726)|0;e:do if(i)switch(C[i>>0]|0){case 108:{t=t|2;break e}case 114:{t=t|4;break e}default:break e}while(0);if(C[(e[l>>2]|0)+275>>0]=t,(c2(r)|0)!=(r|0))if(t=e[(e[l>>2]|0)+12>>2]|0,n=+u[t+24>>3]+16,o=+u[t+32>>3]+8,r=(e[(e[(c2(r)|0)+16>>2]|0)+116>>2]&1|0)==0,t=e[l>>2]|0,i=C[t+275>>0]<<1&2,r){r=i&255,u[t+48+(r<<4)>>3]=n,u[t+48+(r<<4)+8>>3]=o;break}else{r=(i^3)&255,u[t+48+(r<<4)>>3]=o,u[t+48+(r<<4)+8>>3]=n;break}}while(0)}function bd0(r){r=r|0;var t=0,i=0,n=0;n=r+16|0,i=e[n>>2]|0,t=e[i+8>>2]|0;do if(!t)t=i;else{if(i=e[t+88>>2]|0,i&&(WD(i),i=e[n>>2]|0,t=e[i+8>>2]|0,!t)){t=i;break}r0(e[t+92>>2]|0),t=e[n>>2]|0}while(0);r0(e[t+8>>2]|0),n=e[n>>2]|0,e[n+8>>2]=0,an(e[n+12>>2]|0),ha(r,0,137483)}function ep0(r){r=r|0;var t=0,i=0;switch(i=g,g=g+16|0,t=i,r|0){case 0:{r=101971;break}case 1:{r=101839;break}case 2:{r=101977;break}default:e[t>>2]=r,$0(1,101941,t)|0,r=101971}return g=i,r|0}function CN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(n=e[t>>2]|0,f=t+24|0,e[f>>2]=0,e[f+4>>2]=0,e[f+8>>2]=0,e[f+12>>2]=0,C[n>>0]|0){s=_0((d2(n)|0)+1|0)|0,C[s>>0]=0,A=t+12|0,i=s;e:for(;;){r:for(;;){if(l=n+1|0,o=C[n>>0]|0,!(o<<24>>24))break e;if(!(o<<24>>24==-1|((o&255)<161|(e[A>>2]|0)!=2)))if(C[i>>0]=o,l=C[l>>0]|0,o=i+2|0,C[i+1>>0]=l,l<<24>>24){i=o,n=n+2|0;continue}else{i=o;break e}switch(o<<24>>24){case 92:break r;case 10:{c=12;break r}default:}C[i>>0]=o,i=i+1|0,n=l}if((c|0)==12){c=0,n=i+1|0,C[i>>0]=0,rC(r,t,s,110),i=n,s=n,n=l;continue}switch(o=C[l>>0]|0,o<<24>>24|0){case 114:case 108:case 110:{o=i+1|0,C[i>>0]=0,rC(r,t,s,C[l>>0]|0),i=o;break}default:C[i>>0]=o,i=i+1|0,o=s}s=o,n=C[l>>0]|0?n+2|0:l}(s|0)!=(i|0)&&(C[i>>0]=0,rC(r,t,s,110)),t=t+40|0,e[t>>2]=e[f>>2],e[t+4>>2]=e[f+4>>2],e[t+8>>2]=e[f+8>>2],e[t+12>>2]=e[f+12>>2]}}function rC(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;m=g,g=g+32|0,p=m+16|0,w=m,v=t+76|0,s=$[v>>1]|0,f=t+72|0,A=e[f>>2]|0,A?c=iC(A,s+2|0,56,s+1|0)|0:c=j0((s*56|0)+112|0)|0,e[f>>2]=c,s=$[v>>1]|0,A=c+(s*56|0)|0,e[A>>2]=i,C[c+(s*56|0)+48>>0]=n,i|0&&C[i>>0]|0?(e[46594]=e[t+4>>2],u[23299]=+u[t+16>>3],n=e[r+144>>2]|0,e[c+(s*56|0)+4>>2]=oe[e[n>>2]&63](n,186376,1)|0,xC(w,r,A),l=+u[w>>3],u[p>>3]=l,o=+u[w+8>>3]):(u[p>>3]=0,o=+(~~(+u[t+16>>3]*1.2)|0),u[c+(s*56|0)+40>>3]=o,l=0),$[v>>1]=($[v>>1]|0)+1<<16>>16,v=t+24|0,u[v>>3]=+u[(+u[v>>3]>l?v:p)>>3],v=t+32|0,u[v>>3]=+u[v>>3]+o,g=m}function LA(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;switch(B=g,g=g+32|0,v=B+16|0,p=B+8|0,w=B,E=j0(88)|0,qo(r)|0){case 0:{A=0,m=e[r+60>>2]|0,c=r,f=0;break}case 1:{A=0,m=c2(We(r)|0)|0,c=0,f=r;break}case 2:{A=r,m=c2(We(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0)|0,c=0,f=0;break}default:A=0,m=0,c=0,f=0}e[E+4>>2]=o,e[E+8>>2]=l,u[E+16>>3]=n,s=m+16|0,l=E+12|0,e[l>>2]=s0[(e[s>>2]|0)+115>>0];e:do if(i&4)e[E>>2]=C2(t)|0,i&2|0&&(C[E+82>>0]=1);else switch(i|0){case 2:{if(e[E>>2]=C2(t)|0,C[E+82>>0]=1,!(yn0(r,E)|0))break e;switch(qo(r)|0){case 0:{e[w>>2]=te(c)|0,$0(3,101983,w)|0;break e}case 1:{e[p>>2]=te(f)|0,$0(3,102005,p)|0;break e}case 2:{w=te(e[((e[A>>2]&3|0)==3?A:A+48|0)+40>>2]|0)|0,p=(d1(m)|0)!=0,m=te(e[((e[A>>2]&3|0)==2?A:A+-48|0)+40>>2]|0)|0,e[v>>2]=w,e[v+4>>2]=p?137738:141747,e[v+8>>2]=m,$0(3,102026,v)|0;break e}default:break e}}case 0:{o=EN(t,r,0)|0,e[E>>2]=o,(e[l>>2]|0)==1?o=Ph(o)|0:o=WC(o,m)|0,r0(e[E>>2]|0),e[E>>2]=o,CN(e[(e[s>>2]|0)+144>>2]|0,E);break e}default:H0(102053,102069,166,102078)}while(0);return g=B,E|0}function EN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;switch(qo(t)|0){case 0:{s=te(t)|0,o=d2(s)|0,n=e[(e[t+16>>2]|0)+12>>2]|0,n?(n=e[n>>2]|0,r?(L=0,z=2,_=2,x=2,l=2,N=102101,w=102098,A=105493,v=195059,E=195059,m=0,B=0,p=d2(n)|0,Z=n,W=102095):(L=0,z=2,_=2,x=2,l=2,N=102101,w=102098,A=105493,v=195059,E=195059,m=0,B=0,p=2,Z=n,W=102095)):(L=0,z=2,_=2,x=2,l=2,N=102101,w=102098,A=105493,v=195059,E=195059,m=0,B=0,p=2,Z=102089,W=102095);break}case 1:{s=te(We(t)|0)|0,o=d2(s)|0,A=te(t)|0,l=d2(A)|0,n=e[(e[t+16>>2]|0)+104>>2]|0,n?(n=e[n>>2]|0,r?(L=0,z=2,_=2,x=2,N=102101,w=102098,v=195059,E=195059,m=0,B=0,p=d2(n)|0,Z=n,W=102095):(L=0,z=2,_=2,x=2,N=102101,w=102098,v=195059,E=195059,m=0,B=0,p=2,Z=n,W=102095)):(L=0,z=2,_=2,x=2,N=102101,w=102098,v=195059,E=195059,m=0,B=0,p=2,Z=102089,W=102095);break}case 2:{l=t+48|0,s=te(c2(We(e[((e[t>>2]&3|0)==3?t:l)+40>>2]|0)|0)|0)|0,o=d2(s)|0,f=te(e[((e[t>>2]&3|0)==3?t:l)+40>>2]|0)|0,c=d2(f)|0,n=t+16|0,E=e[(e[n>>2]|0)+52>>2]|0,E?B=d2(E)|0:B=0,w=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,n=e[n>>2]|0,v=e[n+92>>2]|0,v?m=d2(v)|0:m=0,A=d2(w)|0,n=e[n+96>>2]|0,n?(n=e[n>>2]|0,r?p=d2(n)|0:p=2):(p=2,n=102089),W=(d1(c2(We(e[((e[t>>2]&3|0)==3?t:l)+40>>2]|0)|0)|0)|0)==0,L=1,z=c,_=A,x=c+2+(B|0?B+1|0:0)+A+(m|0?m+1|0:0)|0,l=2,N=f,A=105493,Z=n,W=W?141747:137738;break}default:L=0,z=2,_=2,x=2,l=2,o=2,N=102101,w=102098,A=105493,s=102092,v=195059,E=195059,m=0,B=0,p=2,Z=102089,W=102095}i=(i|0)==0,f=0,n=r;e:for(;;){t=n+1|0;r:do switch(C[n>>0]|0){case 0:break e;case 92:{switch(n=n+2|0,C[t>>0]|0){case 78:{c=l;break r}case 71:{c=o;break r}case 69:{c=x;break r}case 72:{c=_;break r}case 84:{c=z;break r}case 76:{c=p;break r}case 92:{if(!i){c=1;break r}break}default:}c=2;break}default:c=1,n=t}while(0);f=f+c|0}x=_0(f+1|0)|0,p=(L|0)==0,f=(B|0)==0,t=(m|0)==0,n=x,o=r;e:for(;;){switch(c=o+1|0,l=C[o>>0]|0,l<<24>>24){case 0:break e;case 92:break;default:{C[n>>0]=l,n=n+1|0,o=c;continue e}}switch(l=o+2|0,o=C[c>>0]|0,o<<24>>24|0){case 71:for(o=s;;){if(r=C[o>>0]|0,C[n>>0]=r,!(r<<24>>24)){o=l;continue e}o=o+1|0,n=n+1|0}case 78:for(o=A;;){if(r=C[o>>0]|0,C[n>>0]=r,!(r<<24>>24)){o=l;continue e}o=o+1|0,n=n+1|0}case 69:{if(p){o=l;continue e}else o=N;for(;r=C[o>>0]|0,C[n>>0]=r,!!(r<<24>>24);)o=o+1|0,n=n+1|0;if(f)o=W;else for(C[n>>0]=58,o=E;;)if(n=n+1|0,r=C[o>>0]|0,C[n>>0]=r,r<<24>>24)o=o+1|0;else{o=W;break}for(;;){if(r=C[o>>0]|0,C[n>>0]=r,!(r<<24>>24)){o=w;break}o=o+1|0,n=n+1|0}for(;r=C[o>>0]|0,C[n>>0]=r,!!(r<<24>>24);)o=o+1|0,n=n+1|0;if(t){o=l;continue e}for(C[n>>0]=58,o=v;;)if(n=n+1|0,r=C[o>>0]|0,C[n>>0]=r,r<<24>>24)o=o+1|0;else{o=l;continue e}}case 84:for(o=N;;){if(r=C[o>>0]|0,C[n>>0]=r,!(r<<24>>24)){o=l;continue e}o=o+1|0,n=n+1|0}case 72:for(o=w;;){if(r=C[o>>0]|0,C[n>>0]=r,!(r<<24>>24)){o=l;continue e}n=n+1|0,o=o+1|0}case 76:for(o=Z;;){if(r=C[o>>0]|0,C[n>>0]=r,!(r<<24>>24)){o=l;continue e}n=n+1|0,o=o+1|0}case 92:{if(!i){C[n>>0]=92,n=n+1|0,o=l;continue e}break}default:}C[n>>0]=92,C[n+1>>0]=o,n=n+2|0,o=l}return C[n>>0]=0,x|0}function BN(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;if(r|0){for(i=r,n=0;!((n|0)>=(t|0));)n||r0(e[i>>2]|0),l=e[i+8>>2]|0,l|0&&(o=e[i+12>>2]|0,o|0)&&l2[o&127](l),i=i+56|0,n=n+1|0;r0(r)}}function an(r){r=r|0;var t=0;r|0&&(r0(e[r>>2]|0),t=r+72|0,C[r+82>>0]|0?(t=e[t>>2]|0,t|0&&Yy(t,1)):BN(e[t>>2]|0,$[r+76>>1]|0),r0(r))}function Ca(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;if(B=g,g=g+32|0,p=B+16|0,v=B,s=e[r+16>>2]|0,m=s+12|0,E=e[m>>2]|0,e[m>>2]=t,C[i+82>>0]|0)in0(r,e[i+72>>2]|0,i),o=18;else if(w=i+76|0,($[w>>1]|0)>=1){switch(GR(r,0),Z2(r,e[i+8>>2]|0),C[i+80>>0]|0){case 116:{l=+u[i+64>>3],n=+u[i+48>>3]*.5+l;break}case 98:{l=+u[i+64>>3],n=+u[i+48>>3]*-.5+l+ +u[i+32>>3];break}default:l=+u[i+64>>3],n=+u[i+32>>3]*.5+l}for(n=n-+u[i+16>>3],f=v+8|0,u[f>>3]=n,$[s+260>>1]&512&&(u[f>>3]=n-l),A=i+72|0,c=i+56|0,o=i+40|0,t=0;!((t|0)>=($[w>>1]|0));){switch(s=e[A>>2]|0,C[s+(t*56|0)+48>>0]|0){case 108:{n=+u[c>>3]-+u[o>>3]*.5;break}case 114:{n=+u[o>>3]*.5+ +u[c>>3];break}default:n=+u[c>>3]}u[v>>3]=n,e[p>>2]=e[v>>2],e[p+4>>2]=e[v+4>>2],e[p+8>>2]=e[v+8>>2],e[p+12>>2]=e[v+12>>2],Ny(r,p,s+(t*56|0)|0),u[f>>3]=+u[f>>3]-+u[(e[A>>2]|0)+(t*56|0)+40>>3],t=t+1|0}ZR(r),o=18}(o|0)==18&&(e[m>>2]=E),g=B}function st(r,t){return r=r|0,t=t|0,EN(r,t,1)|0}function bt(r){return r=r|0,tC(r,0)|0}function tC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(i=e[47207]|0,i||(e[47208]=64,i=_0(64)|0,e[47207]=i),A=t<<24>>24==0,s=0,n=0,l=r;!(!l||(t=C[l>>0]|0,!(t<<24>>24)));){r=e[47208]|0,(s|0)>(r+-8|0)&&(i=r<<1,e[47208]=i,i=Ve(e[47207]|0,i)|0,e[47207]=i,i=i+s|0,t=C[l>>0]|0);e:do switch(t<<24>>24){case 38:{A&&IN(l)|0?c=18:(n=5,t=102130);break}case 60:{n=4,t=102153;break}case 62:{n=4,t=102136;break}case 45:{n=5,t=102147;break}default:{if((n|0)!=0&t<<24>>24==32)if((C[n>>0]|0)==32){n=6,t=102123;break e}else{c=18;break e}switch(t<<24>>24){case 34:{n=6,t=102116;break e}case 39:{n=5,t=102141;break e}case 10:if(A){c=18;break e}else{n=5,t=102110;break e}default:{c=18;break e}}}}while(0);for((c|0)==18&&(c=0,t=A|t<<24>>24!=13,n=t?1:5,t=t?l:102104),o=i+n|0,r=n;r;)C[i>>0]=C[t>>0]|0,r=r+-1|0,t=t+1|0,i=i+1|0;r=l,s=n+s|0,i=o,l=l+1|0,n=r}return C[i>>0]=0,e[47207]|0}function IN(r){r=r|0;var t=0,i=0;i=r+1|0,t=C[i>>0]|0;e:do if(t<<24>>24==35){switch(i=r+2|0,t=C[i>>0]|0,t<<24>>24){case 88:case 120:break;default:for(r=i;;){if(i=r+1|0,(t+-48&255)>=10)break e;r=i,t=C[i>>0]|0}}for(i=r+3|0;;){if(t=C[i>>0]|0,(t+-48&255)>=10)switch(t<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:break;default:break e}i=i+1|0}}else for(;;){if(r=i+1|0,((t&-33)+-65&255)>=26)break e;i=r,t=C[r>>0]|0}while(0);return t<<24>>24==59|0}function xN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(t=e[47209]|0,t||(e[47210]=64,t=_0(64)|0,e[47209]=t),s=0;!(!r||(i=C[r>>0]|0,!(i<<24>>24)));){switch(n=e[47210]|0,(s|0)>(n+-8|0)&&(t=n<<1,e[47210]=t,t=Ve(e[47209]|0,t)|0,e[47209]=t,t=t+s|0,i=C[r>>0]|0),i<<24>>24){case 38:{IN(r)|0?A=12:(o=5,i=102130);break}case 60:{o=4,i=102153;break}case 62:{o=4,i=102136;break}case 34:{o=6,i=102116;break}case 39:{o=5,i=102141;break}default:A=12}for((A|0)==12&&(A=0,o=1,i=r),l=t+o|0,n=o;n;)C[t>>0]=C[i>>0]|0,n=n+-1|0,i=i+1|0,t=t+1|0;s=o+s|0,t=l,r=r+1|0}return C[t>>0]=0,e[47209]|0}function j0(r){r=r|0;var t=0;return r?(t=_0(r)|0,qr(t|0,0,r|0)|0,r=t):r=0,r|0}function _0(r){return r=r|0,r?(r=Te(r)|0,r||(fn(111740,14,1,e[15712]|0)|0,r=0)):r=0,r|0}function iC(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=V2(r,N0(i,t)|0)|0,(t|0)!=0&(r|0)==0?fn(111740,14,1,e[15712]|0)|0:t>>>0>n>>>0&&qr(r+(N0(n,i)|0)|0,0,N0(t-n|0,i)|0)|0,r|0}function Ve(r,t){return r=r|0,t=t|0,r=V2(r,t)|0,(t|0)!=0&(r|0)==0&&fn(111740,14,1,e[15712]|0)|0,r|0}function SN(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;B=g,g=g+80|0,v=B+40|0,p=B+32|0,w=B+24|0,f=B,m=4,E=Te(40)|0,e[E>>2]=0,o=B+68|0,l=B+64|0,A=6;do if((A|0)==6)if(v0=0,o=gt(27,r|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,E|0,m|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)!=1){if(!o&&(v0=0,cA(2),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)){o=b,A=15;break}if((i|0)<1){if(v0=0,cA(3),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;break}o=0;break}else{if(e[47211]=(n|0)>-1?n:30,E=il(188848,1,E|0,m|0)|0,m=b,v0=0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;break}o=0,A=15;break}}else o=b,A=15;while(0);e:do if((A|0)==15){r:for(;;){if(o|0){o=2;break e}if(v0=0,cA(4),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue}for(r=e[15712]|0,f=0;;){if(v0=0,A=cR(2)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}if(!A)break;if(v0=0,o=gt(28,A|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,E|0,m|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)==1){o=b,A=15;continue r}if(v0=0,Vn(25,A|0,o|0),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}f=f+1|0;do if(((f|0)%100|0|0)==0&!1){if(o=(f|0)%1e3|0,(o|0)==100){if(v0=0,nt(93,102202,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}if(v0=0,e[w>>2]=f,Yt(32,r|0,102220,w|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}break}if(v0=0,e[p>>2]=f,Yt(32,r|0,102220,p|0)|0,l=v0,v0=0,(l|0)!=0&(g0|0)!=0?(s=se(e[l>>2]|0,E|0,m|0)|0,s||ie(l|0,g0|0),b=g0):s=-1,(s|0)==1){o=b,A=15;continue r}if(!o&&(v0=0,nt(94,10,r|0)|0,o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1)){o=b,A=15;continue r}}while(0);if((f|0)>=(i|0))break}switch(t|0){case 1:{if(v0=0,cA(5),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}break}case 2:{if(v0=0,cA(6),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}break}default:{if(v0=0,cA(7),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}if(v0=0,cA(3),o=v0,v0=0,(o|0)!=0&(g0|0)!=0?(l=se(e[o>>2]|0,E|0,m|0)|0,l||ie(o|0,g0|0),b=g0):l=-1,(l|0)==1){o=b,A=15;continue r}}}o=0;break e}o=0}while(0);return r0(E|0),g=B,o|0}function rp0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(r=(e[r+16>>2]|0)+192|0,n=0,s=0;r=e[r>>2]|0,!!r;){for(l=e[r+16>>2]|0,o=e[l+180>>2]|0,r=0;e[o+(r<<2)>>2]|0;)r=r+1|0,n=n+1|0;r=l+164|0,s=s+1|0}e[t>>2]=s,e[i>>2]=n}function tp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(e[47254]=r,e[47261]=0,e[47252]=0,e[47251]=0,l=r+16|0,r=(e[l>>2]|0)+192|0,o=0,i=0;r=e[r>>2]|0,!!r;){for(n=e[r+16>>2]|0,C[n+157>>0]=0,o=o+1|0,e[47251]=o,t=e[n+180>>2]|0,r=0;e[t+(r<<2)>>2]|0;)A=i+1|0,e[47252]=A,r=r+1|0,i=A;r=n+164|0}for(r=e[47262]|0,r?r=Ve(r,o<<2)|0:r=_0(o<<2)|0,e[47262]=r,e[47263]=0,r=e[47256]|0,r?r=Ve(r,e[47251]<<2)|0:r=_0(e[47251]<<2)|0,e[47256]=r,e[47255]=0,t=1,r=(e[l>>2]|0)+192|0;r=e[r>>2]|0,!!r;){for(A=r+16|0,l=e[A>>2]|0,s=l+292|0,e[s>>2]=0,l=e[l+172>>2]|0,o=t,n=0,r=0;t=e[l+(n<<2)>>2]|0,!!t;)i=r+1|0,e[s>>2]=i,r=e[t+16>>2]|0,e[r+160>>2]=0,e[r+164>>2]=-1,o?(c=e[t>>2]&3,r=((e[(e[(e[((c|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((c|0)==3?t:t+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0)<(M0[r+170>>1]|0|0)?0:o):r=0,o=r,n=n+1|0,r=i;r=j0((n<<2)+4|0)|0,t=e[A>>2]|0,e[t+264>>2]=r,e[t+268>>2]=0,t=e[t+180>>2]|0,r=0;do c=r,r=r+1|0;while(e[t+(c<<2)>>2]|0);t=j0(r<<2)|0,r=e[A>>2]|0,e[r+272>>2]=t,e[r+276>>2]=0,t=o,r=r+164|0}return t|0}function ip0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(p=g,g=g+16|0,w=p+8|0,c=p,f=SQ(e[47251]|0)|0,r=(e[(e[47254]|0)+16>>2]|0)+192|0;;){if(t=e[r>>2]|0,!t){A=0;break}i=t+16|0,r=e[i>>2]|0,e[r+292>>2]|0||(Th(f,t),r=e[i>>2]|0),r=r+164|0}for(;r=SC(f)|0,!!r;){for(s=r+16|0,r=e[s>>2]|0,n=r+232|0,e[n>>2]=0,i=e[r+172>>2]|0,t=0,l=0;;){if(o=e[i+(t<<2)>>2]|0,!o){n=0;break}o=(e[(e[(e[((e[o>>2]&3|0)==3?o:o+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)+(M0[(e[o+16>>2]|0)+170>>1]|0)|0,o=(l|0)>(o|0)?l:o,e[n>>2]=o,t=t+1|0,l=o}for(;t=e[(e[r+180>>2]|0)+(n<<2)>>2]|0,!!t;)i=t+-48|0,o=(e[(e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0)+16>>2]|0)+292|0,l=e[o>>2]|0,e[o>>2]=l+-1,(l|0)<2&&(Th(f,e[((e[t>>2]&3|0)==2?t:i)+40>>2]|0),r=e[s>>2]|0),n=n+1|0;A=A+1|0}e:do if((A|0)!=(e[47251]|0))for($0(1,102556,c)|0,r=(e[(e[47254]|0)+16>>2]|0)+192|0;;){if(t=e[r>>2]|0,!t)break e;i=t+16|0,r=e[i>>2]|0,e[r+292>>2]|0&&(c=te(t)|0,r=e[(e[i>>2]|0)+292>>2]|0,e[w>>2]=c,e[w+4>>2]=r,$0(3,102578,w)|0,r=e[i>>2]|0),r=r+164|0}while(0);_Q(f),g=p}function _N(){var r=0,t=0,i=0;for(r=(e[(e[47254]|0)+16>>2]|0)+192|0;r=e[r>>2]|0,!!r;)i=r+16|0,r=e[i>>2]|0,t=e[r+264>>2]|0,t&&(r0(t),r=e[i>>2]|0),t=e[r+272>>2]|0,t&&(r0(t),r=e[i>>2]|0),C[r+157>>0]=0,r=r+164|0}function np0(){var r=0,t=0,i=0,n=0,o=0;for(r=(e[(e[47254]|0)+16>>2]|0)+192|0;r=e[r>>2]|0,!!r;)r=e[r+16>>2]|0,e[r+280>>2]=0,r=r+164|0;for(o=j0(e[47251]<<2)|0,n=0,r=(e[(e[47254]|0)+16>>2]|0)+192|0;t=e[r>>2]|0,!!t;)i=t+16|0,r=e[i>>2]|0,e[r+280>>2]|0?t=n:(e[o+(n<<2)>>2]=ap0(t)|0,t=n+1|0,r=e[i>>2]|0),n=t,r=r+164|0;for(r=cp0(o,n)|0;!((fp0(r)|0)<=1);)lC(r,e[(dp0(wp0(hp0(r)|0)|0)|0)+8>>2]|0);for(r0(r),r=0;!((r|0)>=(n|0));)r0(e[o+(r<<2)>>2]|0),r=r+1|0;if(r0(o),(e[47255]|0)==((e[47251]|0)+-1|0)){pp0();return}else H0(102301,102331,523,102336)}function op0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(A=e[47261]|0,o=e[47255]|0,c=e[47256]|0,f=e[47211]|0,t=0,r=0,l=A;;){if((l|0)>=(o|0)){s=8;break}if(n=e[c+(l<<2)>>2]|0,i=e[(e[n+16>>2]|0)+160>>2]|0,(i|0)<0&&(r?r=(e[(e[r+16>>2]|0)+160>>2]|0)>(i|0)?n:r:r=n,t=t+1|0,(t|0)>=(f|0)))break;n=l+1|0,e[47261]=n,l=n}if((s|0)==8&&(A|0)>0){for(o=0;!((o|0)>=(A|0)||(i=e[c+(o<<2)>>2]|0,n=e[(e[i+16>>2]|0)+160>>2]|0,(n|0)<0&&(r?r=(e[(e[r+16>>2]|0)+160>>2]|0)>(n|0)?i:r:r=i,t=t+1|0,(t|0)>=(f|0))));)o=o+1|0;e[47261]=o}return r|0}function zN(r){r=r|0;var t=0,i=0;return t=e[r>>2]&3,i=e[((t|0)==3?r:r+48|0)+40>>2]|0,r=e[((t|0)==2?r:r+-48|0)+40>>2]|0,t=(e[(e[i+16>>2]|0)+288>>2]|0)<(e[(e[r+16>>2]|0)+288>>2]|0),r=t?i:r,e[47257]=0,e[47258]=2147483647,i=e[r+16>>2]|0,e[47259]=e[i+284>>2],e[47260]=e[i+288>>2],t?oC(r):nC(r),e[47257]|0}function lp0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+16|0,w=p,o=e[t>>2]&3,f=t+-48|0,A=t+48|0,c=t+16|0,o=(e[(e[(e[((o|0)==2?t:f)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((o|0)==3?t:A)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[c>>2]|0)+170>>1]|0)|0;do if((o|0)>0){if(i=e[r>>2]&3,l=e[((i|0)==3?r:r+48|0)+40>>2]|0,s=e[l+16>>2]|0,((e[s+276>>2]|0)+(e[s+268>>2]|0)|0)==1){RA(l,o);break}if(i=e[((i|0)==2?r:r+-48|0)+40>>2]|0,n=e[i+16>>2]|0,((e[n+276>>2]|0)+(e[n+268>>2]|0)|0)==1){RA(i,0-o|0);break}if((e[s+288>>2]|0)<(e[n+288>>2]|0)){RA(l,o);break}else{RA(i,0-o|0);break}}while(0);if(i=r+16|0,n=e[(e[i>>2]|0)+160>>2]|0,o=e[t>>2]&3,o=RN(e[((o|0)==3?t:A)+40>>2]|0,e[((o|0)==2?t:f)+40>>2]|0,n,1)|0,s=e[t>>2]&3,(RN(e[((s|0)==2?t:f)+40>>2]|0,e[((s|0)==3?t:A)+40>>2]|0,n,0)|0)==(o|0)){e[(e[c>>2]|0)+160>>2]=0-n,e[(e[i>>2]|0)+160>>2]=0,up0(r,t),w=e[o+16>>2]|0,kp(o,e[w+280>>2]|0,e[w+284>>2]|0)|0,g=p;return}else $0(1,102262,w)|0,ie(188848,1)}function sp0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(LN(),f=j0((e[47253]<<2)+4|0)|0,t=e[47253]|0,r=0;!((r|0)>(t|0));)e[f+(r<<2)>>2]=0,r=r+1|0;for(r=(e[(e[47254]|0)+16>>2]|0)+192|0,t=r;t=e[t>>2]|0,!!t;)t=e[t+16>>2]|0,C[t+156>>0]|0||(c=f+(e[t+232>>2]<<2)|0,e[c>>2]=(e[c>>2]|0)+1),t=t+164|0;for(;r=e[r>>2]|0,!!r;){if(c=r+16|0,r=e[c>>2]|0,!(C[r+156>>0]|0)){for(o=e[47253]|0,i=e[r+172>>2]|0,A=0,s=0,t=0;n=e[i+(t<<2)>>2]|0,!!n;)w=e[n+16>>2]|0,l=(e[(e[(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)+(M0[w+170>>1]|0)|0,A=(e[w+156>>2]|0)+A|0,s=(s|0)>(l|0)?s:l,t=t+1|0;for(n=e[r+180>>2]|0,l=0,t=0;i=e[n+(t<<2)>>2]|0,!!i;)p=e[i+16>>2]|0,w=(e[(e[(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[p+170>>1]|0)|0,l=(e[p+156>>2]|0)+l|0,o=(o|0)<(w|0)?o:w,t=t+1|0;if(t=(s|0)>0?s:0,(A|0)==(l|0)){for(n=t,i=t;t=i+1|0,!((i|0)>=(o|0));)n=(e[f+(t<<2)>>2]|0)<(e[f+(n<<2)>>2]|0)?t:n,i=t;p=r+232|0,w=f+(e[p>>2]<<2)|0,e[w>>2]=(e[w>>2]|0)+-1,w=f+(n<<2)|0,e[w>>2]=(e[w>>2]|0)+1,e[p>>2]=n}t=e[r+264>>2]|0,t&&(r0(t),r=e[c>>2]|0),t=e[r+272>>2]|0,t&&(r0(t),r=e[c>>2]|0),C[r+157>>0]=0}r=r+164|0}r0(f)}function Ap0(){var r=0,t=0,i=0,n=0,o=0,l=0;for(t=0;!((t|0)>=(e[47255]|0));){r=e[(e[47256]|0)+(t<<2)>>2]|0;do if(!(e[(e[r+16>>2]|0)+160>>2]|0)&&(i=zN(r)|0,i|0)&&(n=e[i>>2]&3,n=(e[(e[(e[((n|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((n|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[i+16>>2]|0)+170>>1]|0)|0,(n|0)>=2))if(l=e[r>>2]&3,o=e[((l|0)==3?r:r+48|0)+40>>2]|0,r=e[((l|0)==2?r:r+-48|0)+40>>2]|0,(e[(e[o+16>>2]|0)+288>>2]|0)<(e[(e[r+16>>2]|0)+288>>2]|0)){RA(o,n>>>1);break}else{RA(r,(n|0)/-2|0);break}while(0);t=t+1|0}_N()}function LN(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=g,g=g+16|0,l=s,e[l>>2]=0,e[l>>2]=2147483647,e[47253]=-2147483647,r=(e[(e[47254]|0)+16>>2]|0)+192|0,i=r,o=2147483647,n=-2147483647;t=e[i>>2]|0,!!t;)i=e[t+16>>2]|0,C[i+156>>0]|0?t=o:(A=e[i+232>>2]|0,t=(o|0)<(A|0)?o:A,e[l>>2]=t,n=(n|0)>(A|0)?n:A,e[47253]=n),i=i+164|0,o=t;if(o|0){for(;r=e[r>>2]|0,!!r;)r=e[r+16>>2]|0,A=r+232|0,e[A>>2]=(e[A>>2]|0)-o,r=r+164|0;e[47253]=n-o,e[l>>2]=0}g=s}function RA(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=r+16|0,r=e[o>>2]|0,n=r+232|0,e[n>>2]=(e[n>>2]|0)-t,n=0;;){if(i=e[(e[r+272>>2]|0)+(n<<2)>>2]|0,!i){n=0;break}(i|0)!=(e[r+280>>2]|0)&&(RA(e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0,t),r=e[o>>2]|0),n=n+1|0}for(;i=e[(e[r+264>>2]|0)+(n<<2)>>2]|0,!!i;)(i|0)!=(e[r+280>>2]|0)&&(RA(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0,t),r=e[o>>2]|0),n=n+1|0}function RN(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;for(l=(n|0)==0&1,s=0-i|0,o=e[(e[t+16>>2]|0)+288>>2]|0,t=r;r=e[t+16>>2]|0,!((e[r+284>>2]|0)<=(o|0)&&(o|0)<=(e[r+288>>2]|0));)r=e[r+280>>2]|0,A=r+48|0,c=(e[r+16>>2]|0)+160|0,e[c>>2]=(((t|0)==(e[((e[r>>2]&3|0)==3?r:A)+40>>2]|0)?n:l)|0?i:s)+(e[c>>2]|0),c=e[r>>2]&3,A=e[((c|0)==3?r:A)+40>>2]|0,r=e[((c|0)==2?r:r+-48|0)+40>>2]|0,t=(e[(e[A+16>>2]|0)+288>>2]|0)>(e[(e[r+16>>2]|0)+288>>2]|0)?A:r;return t|0}function up0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(A=r+16|0,n=(e[A>>2]|0)+164|0,e[(e[t+16>>2]|0)+164>>2]=e[n>>2],e[(e[47256]|0)+(e[n>>2]<<2)>>2]=t,e[(e[A>>2]|0)+164>>2]=-1,A=(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)+16|0,n=e[A>>2]|0,l=n+276|0,o=e[l>>2]|0,c=o+-1|0,e[l>>2]=c,l=n+272|0,s=0;;){if((s|0)>=(o|0)){f=3;break}if(i=e[l>>2]|0,(e[i+(s<<2)>>2]|0)==(r|0))break;s=s+1|0}for((f|0)==3&&(i=e[n+272>>2]|0),e[i+(s<<2)>>2]=e[i+(c<<2)>>2],e[(e[(e[A>>2]|0)+272>>2]|0)+(c<<2)>>2]=0,A=(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)+16|0,n=e[A>>2]|0,l=n+268|0,o=e[l>>2]|0,c=o+-1|0,e[l>>2]=c,l=n+264|0,s=0;;){if((s|0)>=(o|0)){f=8;break}if(i=e[l>>2]|0,(e[i+(s<<2)>>2]|0)==(r|0))break;s=s+1|0}(f|0)==8&&(i=e[n+264>>2]|0),e[i+(s<<2)>>2]=e[i+(c<<2)>>2],e[(e[(e[A>>2]|0)+264>>2]|0)+(c<<2)>>2]=0,f=(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)+16|0,r=e[f>>2]|0,c=e[r+272>>2]|0,r=r+276|0,A=e[r>>2]|0,e[r>>2]=A+1,e[c+(A<<2)>>2]=t,f=e[f>>2]|0,e[(e[f+272>>2]|0)+(e[f+276>>2]<<2)>>2]=0,f=(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)+16|0,A=e[f>>2]|0,c=e[A+264>>2]|0,A=A+268|0,r=e[A>>2]|0,e[A>>2]=r+1,e[c+(r<<2)>>2]=t,f=e[f>>2]|0,e[(e[f+264>>2]|0)+(e[f+268>>2]<<2)>>2]=0}function kp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(l=r+16|0,r=e[l>>2]|0,e[r+280>>2]=t,e[r+284>>2]=i,o=0;;){if(n=e[(e[r+272>>2]|0)+(o<<2)>>2]|0,!n){o=0;break}(n|0)!=(t|0)&&(i=kp(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,n,i)|0,r=e[l>>2]|0),o=o+1|0}for(;n=e[(e[r+264>>2]|0)+(o<<2)>>2]|0,!!n;)(n|0)!=(t|0)&&(i=kp(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0,n,i)|0,r=e[l>>2]|0),o=o+1|0;return e[r+288>>2]=i,i+1|0}function nC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=r+16|0,o=0;;){if(r=e[s>>2]|0,i=e[(e[r+180>>2]|0)+(o<<2)>>2]|0,!i){i=0;break}n=e[i+16>>2]|0,(e[n+164>>2]|0)<0?(r=e[i>>2]&3,t=e[(e[((r|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0,A=e[t+288>>2]|0,(e[47259]|0)>(A|0)|(A|0)>(e[47260]|0)&&(l=(e[t+232>>2]|0)-(e[(e[(e[((r|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[n+170>>1]|0)|0,(l|0)<(e[47258]|0)|(e[47257]|0)==0)&&(e[47257]=i,e[47258]=l)):(t=e[((e[i>>2]&3|0)==2?i:i+-48|0)+40>>2]|0,(e[(e[t+16>>2]|0)+288>>2]|0)<(e[r+288>>2]|0)&&nC(t)),o=o+1|0}for(;t=e[(e[r+264>>2]|0)+(i<<2)>>2]|0,!!((t|0)!=0&(e[47258]|0)>0);)t=e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0,(e[(e[t+16>>2]|0)+288>>2]|0)<(e[r+288>>2]|0)&&(nC(t),r=e[s>>2]|0),i=i+1|0}function oC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=r+16|0,o=0;;){if(r=e[s>>2]|0,i=e[(e[r+172>>2]|0)+(o<<2)>>2]|0,!i){i=0;break}n=e[i+16>>2]|0,(e[n+164>>2]|0)<0?(r=e[i>>2]&3,t=e[(e[((r|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0,A=e[t+288>>2]|0,(e[47259]|0)>(A|0)|(A|0)>(e[47260]|0)&&(l=(e[(e[(e[((r|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[t+232>>2]|0)-(M0[n+170>>1]|0)|0,(l|0)<(e[47258]|0)|(e[47257]|0)==0)&&(e[47257]=i,e[47258]=l)):(t=e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0,(e[(e[t+16>>2]|0)+288>>2]|0)<(e[r+288>>2]|0)&&oC(t)),o=o+1|0}for(;t=e[(e[r+272>>2]|0)+(i<<2)>>2]|0,!!((t|0)!=0&(e[47258]|0)>0);)t=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,(e[(e[t+16>>2]|0)+288>>2]|0)<(e[r+288>>2]|0)&&(oC(t),r=e[s>>2]|0),i=i+1|0}function ap0(r){r=r|0;var t=0;return t=j0(16)|0,e[t>>2]=r,e[t+4>>2]=aC(r,t)|0,e[t+12>>2]=t,t|0}function cp0(r,t){r=r|0,t=t|0;var i=0,n=0;for(n=j0(8)|0,e[n>>2]=r,e[n+4>>2]=t,i=0;!((i|0)>=(t|0));)e[(e[r+(i<<2)>>2]|0)+8>>2]=i,i=i+1|0;for(i=(t|0)/2|0;!((i|0)<=-1);)lC(n,i),i=i+-1|0;return n|0}function fp0(r){return r=r|0,e[r+4>>2]|0}function hp0(r){r=r|0;var t=0,i=0,n=0,o=0;return o=e[r>>2]|0,t=e[o>>2]|0,e[t+8>>2]=-1,i=r+4|0,n=(e[i>>2]|0)+-1|0,e[o>>2]=e[o+(n<<2)>>2],o=e[r>>2]|0,e[(e[o>>2]|0)+8>>2]=0,e[o+(n<<2)>>2]=t,e[i>>2]=n,lC(r,0),t|0}function wp0(r){return r=r|0,uC(e[r>>2]|0,0,0)|0}function dp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return t=r+16|0,(e[(e[t>>2]|0)+164>>2]|0)>-1&&H0(102350,102331,463,102364),o=r+48|0,i=Wh(e[((e[r>>2]&3|0)==3?r:o)+40>>2]|0)|0,s=r+-48|0,n=Wh(e[((e[r>>2]&3|0)==2?r:s)+40>>2]|0)|0,l=e[r>>2]&3,t=(e[(e[(e[((l|0)==2?r:s)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((l|0)==3?r:o)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[t>>2]|0)+170>>1]|0)|0,(e[i+8>>2]|0)==-1?vp(e[i>>2]|0,0,t):vp(e[n>>2]|0,0,0-t|0),AC(r),vp0(i,n)|0}function lC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(s=e[r>>2]|0,l=e[r+4>>2]|0;r=t<<1,o=r+2|0,r=r|1,(r|0)<(l|0)&&(e[(e[s+(r<<2)>>2]|0)+4>>2]|0)<(e[(e[s+(t<<2)>>2]|0)+4>>2]|0)||(r=t),!((o|0)>=(l|0)||(i=s+(o<<2)|0,n=e[i>>2]|0,(o|0)==(t|0)||(e[n+4>>2]|0)>=(e[(e[s+(r<<2)>>2]|0)+4>>2]|0)));)A=s+(t<<2)|0,r=e[A>>2]|0,e[A>>2]=n,e[i>>2]=r,e[(e[A>>2]|0)+8>>2]=t,e[r+8>>2]=o,t=o}function pp0(){kp(e[(e[(e[47254]|0)+16>>2]|0)+192>>2]|0,0,1)|0,sC(e[(e[(e[47254]|0)+16>>2]|0)+192>>2]|0,0)}function sC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=r+16|0,i=0;;){if(r=e[o>>2]|0,n=e[(e[r+272>>2]|0)+(i<<2)>>2]|0,!n){n=0;break}(n|0)!=(t|0)&&sC(e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,n),i=i+1|0}for(;i=e[(e[r+264>>2]|0)+(n<<2)>>2]|0,!!i;)(i|0)!=(t|0)&&(sC(e[((e[i>>2]&3|0)==3?i:i+48|0)+40>>2]|0,i),r=e[o>>2]|0),n=n+1|0;t|0&&kp0(t)}function kp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(t=e[r>>2]&3,i=e[((t|0)==3?r:r+48|0)+40>>2]|0,n=e[i+16>>2]|0,(e[n+280>>2]|0)==(r|0)?A=1:(n=e[((t|0)==2?r:r+-48|0)+40>>2]|0,A=-1,i=n,n=e[n+16>>2]|0),l=e[n+180>>2]|0,t=0,o=0;s=e[l+(o<<2)>>2]|0,!!s;)t=(GN(s,i,A)|0)+t|0,o=o+1|0;for(l=e[n+172>>2]|0,n=0;o=e[l+(n<<2)>>2]|0,!!o;)t=(GN(o,i,A)|0)+t|0,n=n+1|0;e[(e[r+16>>2]|0)+160>>2]=t}function GN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;return s=e[r>>2]&3,A=(s|0)==3?r:r+48|0,n=e[A+40>>2]|0,(n|0)==(t|0)&&(n=e[((s|0)==2?r:r+-48|0)+40>>2]|0),l=e[t+16>>2]|0,o=e[(e[n+16>>2]|0)+288>>2]|0,(e[l+284>>2]|0)<=(o|0)&&(o|0)<=(e[l+288>>2]|0)?(o=e[r+16>>2]|0,(e[o+164>>2]|0)>-1?n=e[o+160>>2]|0:n=0,l=1,n=n-(e[o+156>>2]|0)|0):(l=0,n=e[(e[r+16>>2]|0)+156>>2]|0),A=(e[((i|0)>0?(s|0)==2?r:r+-48|0:A)+40>>2]|0)==(t|0)?1:-1,(((l?A:0-A|0)|0)<0?0-n|0:n)|0}function Wh(r){r=r|0;var t=0,i=0;for(r=e[(e[r+16>>2]|0)+280>>2]|0;t=r+12|0,i=e[t>>2]|0,!!((i|0)!=(r|0)&(i|0)!=0);){if(r=e[i+12>>2]|0,!r){r=i;continue}e[t>>2]=r}return r|0}function vp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(s=r+16|0,n=e[s>>2]|0,l=n+232|0,e[l>>2]=(e[l>>2]|0)+i,l=0;;){if(o=e[(e[n+264>>2]|0)+(l<<2)>>2]|0,!o){l=0;break}o=e[((e[o>>2]&3|0)==3?o:o+48|0)+40>>2]|0,(o|0)!=(t|0)&&(vp(o,r,i),n=e[s>>2]|0),l=l+1|0}for(;o=e[(e[n+272>>2]|0)+(l<<2)>>2]|0,!!o;)o=e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0,(o|0)!=(t|0)&&(vp(o,r,i),n=e[s>>2]|0),l=l+1|0}function AC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(l=g,g=g+32|0,t=(e[r+16>>2]|0)+164|0,(e[t>>2]|0)>-1&&($0(1,102453,l)|0,ie(188848,1)),o=e[47255]|0,e[t>>2]=o,t=e[47256]|0,e[47255]=o+1,e[t+(o<<2)>>2]=r,t=e[r>>2]|0,o=r+48|0,i=e[((t&3|0)==3?r:o)+40>>2]|0,C[(e[i+16>>2]|0)+157>>0]|0||(n=e[47262]|0,t=e[47263]|0,e[47263]=t+1,e[n+(t<<2)>>2]=i,t=e[r>>2]|0),n=r+-48|0,i=e[((t&3|0)==2?r:n)+40>>2]|0,C[(e[i+16>>2]|0)+157>>0]|0||(s=e[47262]|0,t=e[47263]|0,e[47263]=t+1,e[s+(t<<2)>>2]=i,t=e[r>>2]|0),s=(e[((t&3|0)==3?r:o)+40>>2]|0)+16|0,t=e[s>>2]|0,C[t+157>>0]=1,i=e[t+272>>2]|0,t=t+276|0,o=e[t>>2]|0,e[t>>2]=o+1,e[i+(o<<2)>>2]=r,o=e[s>>2]|0,e[(e[o+272>>2]|0)+(e[o+276>>2]<<2)>>2]=0,s=e[s>>2]|0,e[(e[s+180>>2]|0)+((e[s+276>>2]|0)+-1<<2)>>2]|0||($0(1,102487,l+8|0)|0,ie(188848,1)),s=(e[((e[r>>2]&3|0)==2?r:n)+40>>2]|0)+16|0,i=e[s>>2]|0,C[i+157>>0]=1,n=e[i+264>>2]|0,i=i+268|0,o=e[i>>2]|0,e[i>>2]=o+1,e[n+(o<<2)>>2]=r,r=e[s>>2]|0,e[(e[r+264>>2]|0)+(e[r+268>>2]<<2)>>2]=0,s=e[s>>2]|0,!(e[(e[s+172>>2]|0)+((e[s+268>>2]|0)+-1<<2)>>2]|0))$0(1,102522,l+16|0)|0,ie(188848,1);else{g=l;return}}function vp0(r,t){r=r|0,t=t|0;for(var i=0,n=0,o=0,l=0,s=0,A=0,c=0;l=r+12|0,i=e[l>>2]|0,!((i|0)==0|(i|0)==(r|0));)r=i;for(;o=t+12|0,i=e[o>>2]|0,!((i|0)==0|(i|0)==(t|0));)t=i;if((r|0)!=(t|0)){n=e[r+8>>2]|0,i=e[t+8>>2]|0;do if((n|0)>-1)(i|0)==-1?s=r:c=10;else if((i|0)>-1)if((n|0)==-1){s=t;break}else{c=10;break}else H0(102376,102331,327,102423);while(0);(c|0)==10&&(s=(e[t+4>>2]|0)<(e[r+4>>2]|0)?r:t),e[o>>2]=s,e[l>>2]=s,e[s+4>>2]=(e[t+4>>2]|0)+(e[r+4>>2]|0),(e[s+8>>2]|0)>-1?A=s:H0(102434,102331,335,102423)}else A=r;return A|0}function uC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;f=Wh(r)|0,i?(c=e[i>>2]&3,((e[(e[(e[((c|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((c|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0)!=(M0[(e[i+16>>2]|0)+170>>1]|0|0)&&(n=3)):(i=0,n=3);e:do if((n|0)==3){for(c=r+16|0,A=0;;){if(n=e[c>>2]|0,s=e[(e[n+180>>2]|0)+(A<<2)>>2]|0,!s){A=0;break}n=s+16|0,o=s+-48|0,l=e[((e[s>>2]&3|0)==2?s:o)+40>>2]|0;do if((e[(e[n>>2]|0)+164>>2]|0)>-1)(l|0)!=(t|0)&&(i=uC(l,r,i)|0);else if((Wh(l)|0)!=(f|0)){if(i|0&&(w=e[s>>2]&3,l=e[i>>2]&3,((e[(e[(e[((w|0)==2?s:o)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((w|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[n>>2]|0)+170>>1]|0)|0)>=((e[(e[(e[((l|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((l|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[i+16>>2]|0)+170>>1]|0)|0)))break;i=s}while(0);A=A+1|0}for(;;){if(n=e[(e[n+172>>2]|0)+(A<<2)>>2]|0,!n)break e;o=n+16|0,l=n+48|0,s=e[((e[n>>2]&3|0)==3?n:l)+40>>2]|0;do if((e[(e[o>>2]|0)+164>>2]|0)>-1)(s|0)!=(t|0)&&(i=uC(s,r,i)|0);else if((Wh(s)|0)!=(f|0)){if(i|0&&(s=e[n>>2]&3,w=e[i>>2]&3,((e[(e[(e[((s|0)==2?n:n+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((s|0)==3?n:l)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[o>>2]|0)+170>>1]|0)|0)>=((e[(e[(e[((w|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[(e[(e[((w|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(M0[(e[i+16>>2]|0)+170>>1]|0)|0)))break;i=n}while(0);A=A+1|0,n=e[c>>2]|0}}while(0);return i|0}function aC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(f=r+16|0,i=e[f>>2]|0,e[i+280>>2]=t,r=1,l=0;;){if(o=e[(e[i+172>>2]|0)+(l<<2)>>2]|0,!o){l=0;break}n=e[o+16>>2]|0,(e[n+164>>2]|0)<=-1&&(s=e[o>>2]&3,A=o+48|0,c=e[(e[((s|0)==3?o:A)+40>>2]|0)+16>>2]|0,(e[c+280>>2]|0)==0)&&((e[(e[(e[((s|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)-(e[c+232>>2]|0)|0)==(M0[n+170>>1]|0|0)&&(AC(o),r=(aC(e[((e[o>>2]&3|0)==3?o:A)+40>>2]|0,t)|0)+r|0,i=e[f>>2]|0),l=l+1|0}for(;n=e[(e[i+180>>2]|0)+(l<<2)>>2]|0,!!n;)o=e[n+16>>2]|0,(e[o+164>>2]|0)<=-1&&(w=e[n>>2]&3,p=n+-48|0,v=e[(e[((w|0)==2?n:p)+40>>2]|0)+16>>2]|0,(e[v+280>>2]|0)==0)&&((e[v+232>>2]|0)-(e[(e[(e[((w|0)==3?n:n+48|0)+40>>2]|0)+16>>2]|0)+232>>2]|0)|0)==(M0[o+170>>1]|0|0)&&(AC(n),r=(aC(e[((e[n>>2]&3|0)==2?n:p)+40>>2]|0,t)|0)+r|0,i=e[f>>2]|0),l=l+1|0;return r|0}function Ea(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=he(r,102586)|0,n?n=F1(n)|0:n=30,SN(r,t,i,n)|0}function mp0(r){return r=+r,+r}function ZN(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(m=g,g=g+16|0,v=m,e[47264]=e[(e[(e[t+64>>2]|0)+8>>2]|0)+4>>2],WN(t),l=e[t+16>>2]|0,B=+u[l+32>>3],E=+u[l+40>>3],Ba(i,102597,+u[r+352>>3]),Ba(i,102604,B*.013888888888888888),Ba(i,102604,E*.013888888888888888),cC(i),l=U0(t)|0;l;)o=l+16|0,C[(e[o>>2]|0)+118>>0]|0||(vo(i,102606,sf(te(l)|0)|0),p=(e[o>>2]|0)+16|0,e[v>>2]=e[p>>2],e[v+4>>2]=e[p+4>>2],e[v+8>>2]=e[p+8>>2],e[v+12>>2]=e[p+12>>2],fC(i,v),C[(e[(e[o>>2]|0)+104>>2]|0)+82>>0]|0?r=sf(k2(l,e[47154]|0)|0)|0:(r=We(l)|0,r=hC(r,e[e[(e[o>>2]|0)+104>>2]>>2]|0)|0),Ba(i,102604,+u[(e[o>>2]|0)+32>>3]),Ba(i,102604,+u[(e[o>>2]|0)+40>>3]),vo(i,102604,r),vo(i,102604,F2(l,e[47157]|0,111067)|0),vo(i,102604,e[e[(e[o>>2]|0)+8>>2]>>2]|0),vo(i,102604,F2(l,e[47148]|0,137314)|0),r=F2(l,e[47149]|0,195059)|0,C[r>>0]|0||(r=F2(l,e[47148]|0,134800)|0),vo(i,102604,r),cC(i)),l=X0(t,l)|0;for(w=n<<24>>24==0,f=U0(t)|0;f;){for(c=Me(t,f)|0;c;){w?(n=195059,s=195059):(s=he(c,111455)|0,n=he(c,111464)|0,n=n|0?n:195059,s=s|0?s:195059),p=c+16|0,r=e[p>>2]|0,A=e[r+8>>2]|0;e:do if(A){for(l=e[A+4>>2]|0,r=0,o=0;!((r|0)>=(l|0));)x=(e[(e[A>>2]|0)+(r*48|0)+4>>2]|0)+o|0,r=r+1|0,o=x;for(vo(i,0,111450),DN(i,e[((e[c>>2]&3|0)==3?c:c+48|0)+40>>2]|0,s),DN(i,e[((e[c>>2]&3|0)==2?c:c+-48|0)+40>>2]|0,n),gp0(i,o),n=0;;){if(r=e[p>>2]|0,o=e[r+8>>2]|0,(n|0)>=(e[o+4>>2]|0))break e;for(l=e[o>>2]|0,o=e[l+(n*48|0)>>2]|0,l=e[l+(n*48|0)+4>>2]|0,r=0;!((r|0)>=(l|0));)x=o+(r<<4)|0,e[v>>2]=e[x>>2],e[v+4>>2]=e[x+4>>2],e[v+8>>2]=e[x+8>>2],e[v+12>>2]=e[x+12>>2],fC(i,v),r=r+1|0;n=n+1|0}}while(0);e[r+96>>2]|0&&(x=We(e[((e[c>>2]&3|0)==3?c:c+48|0)+40>>2]|0)|0,vo(i,102604,hC(x,e[e[(e[p>>2]|0)+96>>2]>>2]|0)|0),x=(e[(e[p>>2]|0)+96>>2]|0)+56|0,e[v>>2]=e[x>>2],e[v+4>>2]=e[x+4>>2],e[v+8>>2]=e[x+8>>2],e[v+12>>2]=e[x+12>>2],fC(i,v)),vo(i,102604,F2(c,e[47185]|0,111067)|0),vo(i,102604,F2(c,e[47176]|0,137314)|0),cC(i),c=Qe(t,c)|0}f=X0(t,f)|0}Ia(102612,i),g=m}function WN(r){r=r|0;var t=0}function Ba(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0;l=g,g=g+1040|0,o=l,n=l+8|0,t|0&&Ia(t,r),u[o>>3]=i,Ke(n,102618,o)|0,Ia(n,r),g=l}function cC(r){r=r|0,C[194955]=10,ke[e[47264]&127](r,194955)|0}function vo(r,t,i){r=r|0,t=t|0,i=i|0,t|0&&Ia(t,r),Ia(i,r)}function fC(r,t){r=r|0,t=t|0;var i=0;Ba(r,102604,+u[t>>3]*.013888888888888888),i=+u[t+8>>3],Ba(r,102604,i*.013888888888888888)}function hC(r,t){r=r|0,t=t|0;var i=0;return i=un(r,t)|0,t=sf(i)|0,Ai(r,i)|0,t|0}function DN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;C[(e[t+16>>2]|0)+118>>0]|0?(n=We(t)|0,t=hC(n,(Zr(te(t)|0,58)|0)+1|0)|0):t=sf(te(t)|0)|0,vo(r,102604,t),i|0&&C[i>>0]|0&&vo(r,107984,sf(i)|0)}function gp0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=g,g=g+1040|0,o=i,n=i+8|0,Ia(102604,r),e[o>>2]=t,Ke(n,137395,o)|0,Ia(n,r),g=i}function Ia(r,t){r=r|0,t=t|0,ke[e[47264]&127](t,r)|0}function MN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0;for(V0=g,g=g+2288|0,F0=V0+208|0,Z0=V0+192|0,O0=V0+176|0,J0=V0+160|0,D0=V0+144|0,B0=V0+128|0,a0=V0+112|0,H=V0+96|0,Y=V0+80|0,t0=V0+64|0,q=V0+56|0,F=V0+48|0,b0=V0+32|0,k0=V0+24|0,U=V0,D=V0+1264|0,P=V0+224|0,X=r+16|0,N=(M0[(e[X>>2]|0)+178>>1]|0)>2,zA(1),WN(r),Vt(P,1024,V0+240|0),Lt(r,1,102623,195059)|0,Lt(r,1,102627,195059)|0,e[47146]=Lt(r,1,141116,195059)|0,e[47145]=Lt(r,1,141048,195059)|0,Lt(r,2,102623,195059)|0,n=C[(e[X>>2]|0)+113>>0]|0,n&16&&(Lt(r,1,102633,195059)|0,n=C[(e[X>>2]|0)+113>>0]|0),n&1&&(Lt(r,2,102637,195059)|0,n=C[(e[X>>2]|0)+113>>0]|0),n&32&&(Lt(r,2,102633,195059)|0,n=C[(e[X>>2]|0)+113>>0]|0),n&2&&(Lt(r,2,102640,195059)|0,n=C[(e[X>>2]|0)+113>>0]|0),n&4&&(Lt(r,2,102648,195059)|0,n=C[(e[X>>2]|0)+113>>0]|0),n&8?(z=Lt(r,0,102637,195059)|0,x=Lt(r,0,102656,195059)|0,B=Lt(r,0,102663,195059)|0):(B=0,x=0,z=0),L=Lt(r,0,102671,195059)|0,Z=P+4|0,W=P+8|0,E=0,n=0,_=U0(r)|0;_;){if(m=_+16|0,l=e[m>>2]|0,c=+u[l+16>>3],o=!0,N){for(o?s=+u[l+24>>3]:s=+u[23301]-+u[l+24>>3],w=+u[(e[l+132>>2]|0)+16>>3]*72,u[U>>3]=c,u[U+8>>3]=s,u[U+16>>3]=w,Ke(D,102674,U)|0,t2(P,D)|0,o=3;!((o|0)>=(M0[(e[X>>2]|0)+178>>1]|0));)u[k0>>3]=+u[(e[(e[m>>2]|0)+132>>2]|0)+(o<<3)>>3]*72,Ke(D,102689,k0)|0,t2(P,D)|0,o=o+1|0;o=e[Z>>2]|0,o>>>0>=(e[W>>2]|0)>>>0&&(Xe(P,1)|0,o=e[Z>>2]|0),C[o>>0]=0,v=e[P>>2]|0,e[Z>>2]=v,h1(_,102623,v)|0,v=_}else o?s=+u[l+24>>3]:s=+u[23301]-+u[l+24>>3],u[b0>>3]=c,u[b0+8>>3]=s,Ke(D,102695,b0)|0,h1(_,102623,D)|0,v=_;if(u[F>>3]=+u[(e[m>>2]|0)+80>>3]*.013888888888888888,Ke(D,102618,F)|0,Er(v,e[47145]|0,D)|0,o=e[m>>2]|0,u[q>>3]=(+u[o+96>>3]+ +u[o+88>>3])*.013888888888888888,Ke(D,102618,q)|0,Er(v,e[47146]|0,D)|0,o=e[m>>2]|0,l=e[o+108>>2]|0,l|0&&C[l+81>>0]|0&&(w=+u[l+64>>3],w=w,u[t0>>3]=+u[l+56>>3],u[t0+8>>3]=w,Ke(D,102695,t0)|0,h1(v,102633,D)|0,o=e[m>>2]|0),ge(e[e[o+8>>2]>>2]|0,106220)|0){if(e[47170]|0&&(rk0(_)|0)<<24>>24){for(l=e[(e[m>>2]|0)+12>>2]|0,p=l+8|0,o=e[p>>2]|0,(o|0)<3&&(o=he(v,102705)|0,o?o=F1(o)|0:o=8,o=(o|0)<3?8:o),f=l+44|0,w=1/+(o|0),A=0;!((A|0)>=(o|0));)(A|0)>0&&(l=e[Z>>2]|0,l>>>0>=(e[W>>2]|0)>>>0&&(Xe(P,1)|0,l=e[Z>>2]|0),e[Z>>2]=l+1,C[l>>0]=32),(e[p>>2]|0)>2?(l=e[f>>2]|0,s=+u[l+(A<<4)+8>>3]*.013888888888888888,u[Y>>3]=+u[l+(A<<4)>>3]*.013888888888888888,u[Y+8>>3]=s,Ke(D,102718,Y)|0):(l=e[m>>2]|0,s=w*+(A|0)*6.283185307179586,c=+u[l+32>>3]*.5*+ee(+s),s=+u[l+40>>3]*.5*+le(+s),u[H>>3]=c,u[H+8>>3]=s,Ke(D,102718,H)|0),t2(P,D)|0,A=A+1|0;l=e[47170]|0,o=e[Z>>2]|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u[D0+8>>3]=w,Ke(D,102695,D0)|0,t2(P,D)|0,f=f+1|0;p=p+1|0}l=e[Z>>2]|0,l>>>0>=(e[W>>2]|0)>>>0&&(Xe(P,1)|0,l=e[Z>>2]|0),C[l>>0]=0,l=e[P>>2]|0,e[Z>>2]=l,h1(m,102623,l)|0,l=e[v>>2]|0,A=e[l+96>>2]|0,A&&(w=+u[A+64>>3],w=w,u[J0>>3]=+u[A+56>>3],u[J0+8>>3]=w,Ke(D,102695,J0)|0,h1(m,102637,D)|0,l=e[v>>2]|0),A=e[l+108>>2]|0;do if(A){if(!(C[A+81>>0]|0))break;w=+u[A+64>>3],w=w,u[O0>>3]=+u[A+56>>3],u[O0+8>>3]=w,Ke(D,102695,O0)|0,h1(m,102633,D)|0,l=e[v>>2]|0}while(0);if(A=e[l+100>>2]|0,A&&(w=+u[A+64>>3],w=w,u[Z0>>3]=+u[A+56>>3],u[Z0+8>>3]=w,Ke(D,102695,Z0)|0,h1(m,102640,D)|0,l=e[v>>2]|0),l=e[l+104>>2]|0,!l)break;w=+u[l+64>>3],w=w,u[F0>>3]=+u[l+56>>3],u[F0+8>>3]=w,Ke(D,102695,F0)|0,h1(m,102648,D)|0}while(0);m=Qe(r,m)|0}else o=E;while(0);E=o,_=X0(r,_)|0}NN(r,L,z,x,B),Ot(P),$[(e[X>>2]|0)+136>>1]&1&&TQ(r),e[t>>2]=n,e[i>>2]=E,zA(0),g=V0}function jN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(w=g,g=g+1056|0,c=w,A=w+32|0,f=t+48|0,e[f>>2]|0||(n=e[r+16>>2]|0,s=+u[n+16>>3],l=+u[n+24>>3],o=l+ +u[t+24>>3],l=l+ +u[t+40>>3],p=s+ +u[t+32>>3],u[c>>3]=s+ +u[t+16>>3],u[c+8>>3]=o,u[c+16>>3]=p,u[c+24>>3]=l,Ke(A,102779,c)|0,t2(i,A)|0),t=t+56|0,n=0;!((n|0)>=(e[f>>2]|0));)jN(r,e[(e[t>>2]|0)+(n<<2)>>2]|0,i),n=n+1|0;g=w}function NN(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(E=g,g=g+1088|0,w=E+56|0,v=E+48|0,p=E+32|0,s=E,f=E+64|0,m=r+16|0,l=e[m>>2]|0,A=+u[l+24>>3],c=+u[l+40>>3],B=+u[l+32>>3],u[s>>3]=+u[l+16>>3],u[s+8>>3]=A,u[s+16>>3]=B,u[s+24>>3]=c,Ke(f,102754,s)|0,Er(r,t,f)|0,l=e[(e[m>>2]|0)+12>>2]|0,l|0&&C[e[l>>2]>>0]|0&&(B=+u[l+64>>3],B=B,u[p>>3]=+u[l+56>>3],u[p+8>>3]=B,Ke(f,102695,p)|0,Er(r,i,f)|0,l=e[(e[m>>2]|0)+12>>2]|0,B=+u[l+32>>3],u[v>>3]=+u[l+24>>3]*.013888888888888888,Ke(f,102774,v)|0,Er(r,n,f)|0,u[w>>3]=B*.013888888888888888,Ke(f,102774,w)|0,Er(r,o,f)|0),l=1;s=e[m>>2]|0,!((l|0)>(e[s+180>>2]|0));)NN(e[(e[s+184>>2]|0)+(l<<2)>>2]|0,t,i,n,o),l=l+1|0;g=E}function QN(r){r=r|0;var t=0;t=g,g=g+16|0,MN(r,t,t+4|0),g=t}function Bf(){return ct(20740,e[4581]|0)|0}function yp0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function Cp0(r,t,i,n){if(r=r|0,t=t|0,i=i|0,n=n|0,r=e[t>>2]|0,n=e[i>>2]|0,(r|0)<=(n|0))if((r|0)<(n|0))r=-1;else return t=e[t+4>>2]|0,i=e[i+4>>2]|0,((t|0)>(i|0)?1:((t|0)<(i|0))<<31>>31)|0;else r=1;return r|0}function If(r){r=r|0,Fr(r)|0}function TN(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],t=FN(n)|0,(oe[e[r>>2]&63](r,t,1)|0)!=(t|0)&&r0(t),g=i}function FN(r){r=r|0;var t=0,i=0,n=0;return t=j0(16)|0,n=r,i=e[n+4>>2]|0,r=t+8|0,e[r>>2]=e[n>>2],e[r+4>>2]=i,t|0}function GA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=g,g=g+16|0,o=n+8|0,l=n,e[l>>2]=t,e[l+4>>2]=i,e[o>>2]=e[l>>2],e[o+4>>2]=e[l+4>>2],t=FN(o)|0,(oe[e[r>>2]&63](r,t,1)|0)!=(t|0)&&r0(t),g=n}function Ep0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=g,g=g+16|0,n=i,l=t,o=e[l+4>>2]|0,t=n+8|0,e[t>>2]=e[l>>2],e[t+4>>2]=o,t=(oe[e[r>>2]&63](r,n,4)|0)!=0&1,g=i,t|0}function PN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o+8>>2]=t,e[o+12>>2]=i,i=(oe[e[r>>2]&63](r,o,4)|0)!=0&1,g=n,i|0}function YN(r){return r=r|0,sn(r)|0}function VN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(i=j0((sn(r)|0)<<3)|0,t=i,r=Mt(r)|0;r;)l=r+8|0,o=e[l+4>>2]|0,n=t,e[n>>2]=e[l>>2],e[n+4>>2]=o,t=t+8|0,r=e[r>>2]|0;return i|0}function Bp0(){var r=0,t=0,i=0,n=0;r=_0(40)|0,t=r,i=20776,n=t+36|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));return e[r+36>>2]=0,ct(r,e[4581]|0)|0}function Ip0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return i=i+36|0,r=e[i>>2]|0,r?e[i>>2]=e[r>>2]:r=_0(20)|0,o=t+8|0,n=e[o+4>>2]|0,i=r+8|0,e[i>>2]=e[o>>2],e[i+4>>2]=n,e[r+16>>2]=e[t+16>>2],r|0}function xp0(r,t,i){r=r|0,t=t|0,i=i|0,i=i+36|0,e[t>>2]=e[i>>2],e[i>>2]=t}function Sp0(r){r=r|0,oe[e[r>>2]&63](r,0,64)|0}function _p0(r){r=r|0;var t=0,i=0;for(t=e[r+4>>2]|0,Fr(r)|0,r=e[t+36>>2]|0;r;)i=e[r>>2]|0,r0(r),r=i;r0(t)}function zp0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=g,g=g+32|0,l=o,e[l+8>>2]=t,e[l+12>>2]=i,e[l+16>>2]=n,n=e[(oe[e[r>>2]&63](r,l,1)|0)+16>>2]|0,g=o,n|0}function ON(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(x=g,g=g+160|0,m=x+144|0,i=x+48|0,A=x+128|0,c=x+112|0,f=x+96|0,w=x+80|0,p=x+32|0,v=x+16|0,E=x,B=r+16|0,r=e[B>>2]|0,n=+u[r+16>>3],o=+u[r+24>>3],l=+u[r+32>>3],s=+u[r+40>>3],(t+-1|0)>>>0<2?(zs(A,n,s),e[m>>2]=e[A>>2],e[m+4>>2]=e[A+4>>2],e[m+8>>2]=e[A+8>>2],e[m+12>>2]=e[A+12>>2],p1(i,m),v=i+16|0,zs(c,l,o),e[m>>2]=e[c>>2],e[m+4>>2]=e[c+4>>2],e[m+8>>2]=e[c+8>>2],e[m+12>>2]=e[c+12>>2],p1(f,m),e[v>>2]=e[f>>2],e[v+4>>2]=e[f+4>>2],e[v+8>>2]=e[f+8>>2],e[v+12>>2]=e[f+12>>2]):(zs(w,n,o),e[m>>2]=e[w>>2],e[m+4>>2]=e[w+4>>2],e[m+8>>2]=e[w+8>>2],e[m+12>>2]=e[w+12>>2],p1(i,m),w=i+16|0,zs(p,l,s),e[m>>2]=e[p>>2],e[m+4>>2]=e[p+4>>2],e[m+8>>2]=e[p+8>>2],e[m+12>>2]=e[p+12>>2],p1(v,m),e[w>>2]=e[v>>2],e[w+4>>2]=e[v+4>>2],e[w+8>>2]=e[v+8>>2],e[w+12>>2]=e[v+12>>2]),r=(e[B>>2]|0)+16|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2],e[r+16>>2]=e[i+16>>2],e[r+20>>2]=e[i+20>>2],e[r+24>>2]=e[i+24>>2],e[r+28>>2]=e[i+28>>2],r=e[(e[B>>2]|0)+12>>2]|0,r&&(r=r+56|0,e[m>>2]=e[r>>2],e[m+4>>2]=e[r+4>>2],e[m+8>>2]=e[r+8>>2],e[m+12>>2]=e[r+12>>2],p1(E,m),e[r>>2]=e[E>>2],e[r+4>>2]=e[E+4>>2],e[r+8>>2]=e[E+8>>2],e[r+12>>2]=e[E+12>>2]),r=1;i=e[B>>2]|0,!((r|0)>(e[i+180>>2]|0));)ON(e[(e[i+184>>2]|0)+(r<<2)>>2]|0,t),r=r+1|0;g=x}function zs(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function p1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;i=g,g=g+32|0,l=i+16|0,n=i,o=(e[47265]|0)*90|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],_s(n,l,o),e[t>>2]=e[n>>2],e[t+4>>2]=e[n+4>>2],e[t+8>>2]=e[n+8>>2],e[t+12>>2]=e[n+12>>2],u[t>>3]=+u[t>>3]-+u[23303],n=t+8|0,u[n>>3]=+u[n>>3]-+u[23304],e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2],g=i}function mp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;_=g,g=g+1168|0,E=_+144|0,z=_+96|0,x=_+64|0,B=_+48|0,w=_+32|0,p=_+16|0,v=_,e[B>>2]=0,e[B+4>>2]=0,e[B+8>>2]=0,e[B+12>>2]=0,m=r+16|0,c=e[(e[m>>2]|0)+116>>2]|0,e[47265]=c&3,c=c&1,C[194957]=c,c<<24>>24?HN(r):JN(r),Lp0(r),c=e[m>>2]|0,i=e[c+12>>2]|0;do if(i|0&&!(C[i+81>>0]|0)){if(o=i+24|0,e[B>>2]=e[o>>2],e[B+4>>2]=e[o+4>>2],e[B+8>>2]=e[o+8>>2],e[B+12>>2]=e[o+12>>2],f=+u[B>>3]+16,u[B>>3]=f,o=B+8|0,n=+u[o>>3]+8,u[o>>3]=n,o=(C[c+275>>0]&1)!=0,C[194957]|0){if(o?(l=c+32|0,u[l>>3]=+u[l>>3]+n):(l=c+16|0,u[l>>3]=+u[l>>3]-n),o=c+40|0,n=+u[o>>3],l=c+24|0,s=+u[l>>3],A=n-s,!(f>A))break;f=(f-A)*.5,u[l>>3]=s-f,u[o>>3]=n+f;break}l=(e[47265]|0)==0;do if(o)if(l){l=c+40|0,u[l>>3]=+u[l>>3]+n;break}else{l=c+24|0,u[l>>3]=+u[l>>3]-n;break}else if(l){l=c+24|0,u[l>>3]=+u[l>>3]-n;break}else{l=c+40|0,u[l>>3]=+u[l>>3]+n;break}while(0);o=c+32|0,n=+u[o>>3],l=c+16|0,s=+u[l>>3],A=n-s,f>A&&(f=(f-A)*.5,u[l>>3]=s-f,u[o>>3]=n+f)}while(0);if(t){switch(e[47265]|0){case 0:{v=c+16|0,e[46606]=e[v>>2],e[46607]=e[v+4>>2],e[46608]=e[v+8>>2],e[46609]=e[v+12>>2];break}case 1:{zs(w,-+u[c+40>>3],+u[c+16>>3]),e[46606]=e[w>>2],e[46607]=e[w+4>>2],e[46608]=e[w+8>>2],e[46609]=e[w+12>>2];break}case 2:{zs(p,+u[c+16>>3],-+u[c+40>>3]),e[46606]=e[p>>2],e[46607]=e[p+4>>2],e[46608]=e[p+8>>2],e[46609]=e[p+12>>2];break}case 3:{zs(v,+u[c+24>>3],+u[c+16>>3]),e[46606]=e[v>>2],e[46607]=e[v+4>>2],e[46608]=e[v+8>>2],e[46609]=e[v+12>>2];break}default:}Rp0(r),i=e[(e[m>>2]|0)+12>>2]|0}i|0&&!(C[i+81>>0]|0)&&(e[E>>2]=e[B>>2],e[E+4>>2]=e[B+4>>2],e[E+8>>2]=e[B+8>>2],e[E+12>>2]=e[B+12>>2],Gp0(r,E)),g=_}function HN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=r+16|0,(c2(r)|0)!=(r|0)&&(o=e[s>>2]|0,l=e[o+12>>2]|0,(l|0)!=0)&&!(C[l+81>>0]|0)){t=C[o+275>>0]|0,t&1?(n=+u[o+32>>3]-+u[o+64>>3]*.5,r=o+72|0):(n=+u[o+16>>3]+ +u[o+96>>3]*.5,r=o+104|0),i=+u[r>>3],r=t<<24>>24;do if(r&4)i=+u[o+24>>3]+i*.5;else if(r&2){i=+u[o+40>>3]-i*.5;break}else{i=(+u[o+40>>3]+ +u[o+24>>3])*.5;break}while(0);u[l+56>>3]=n,u[l+64>>3]=i,C[(e[(e[s>>2]|0)+12>>2]|0)+81>>0]=1,r=1}else r=1;for(;t=e[s>>2]|0,!((r|0)>(e[t+180>>2]|0));)HN(e[(e[t+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0}function JN(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(A=r+16|0,(c2(r)|0)!=(r|0)&&(l=e[A>>2]|0,s=e[l+12>>2]|0,(s|0)!=0)&&!(C[s+81>>0]|0)){t=C[l+275>>0]|0,t&1?(o=+u[l+40>>3]-+u[l+88>>3]*.5,r=l+80|0):(o=+u[l+24>>3]+ +u[l+56>>3]*.5,r=l+48|0),n=+u[r>>3],r=t<<24>>24;do if(r&4)i=+u[l+32>>3]-n*.5;else if(i=+u[l+16>>3],r&2){i=i+n*.5;break}else{i=(+u[l+32>>3]+i)*.5;break}while(0);u[s+56>>3]=i,u[s+64>>3]=o,C[(e[(e[A>>2]|0)+12>>2]|0)+81>>0]=1,r=1}else r=1;for(;t=e[A>>2]|0,!((r|0)>(e[t+180>>2]|0));)JN(e[(e[t+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0}function Lp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0;if(Z0=g,g=g+544|0,H=Z0+504|0,O0=Z0+416|0,J0=Z0+376|0,Y=Z0+352|0,t0=Z0+312|0,q=Z0+288|0,F=Z0+248|0,a0=Z0+200|0,N=Z0+152|0,B0=Z0+96|0,w=Z0+488|0,T=Z0+456|0,D=Z0+424|0,P=Z0+384|0,X=Z0+360|0,U=Z0+320|0,z=Z0+296|0,_=Z0+256|0,L=Z0+232|0,Z=Z0+168|0,W=Z0+136|0,t=Z0+56|0,k0=Z0+16|0,D0=Z0,f=r+16|0,B=e[f>>2]|0,i=$[B+136>>1]&14,B=s0[B+113>>0]|0,!(!(B&54|0)&&(B&1|0)==0|(e[47139]|0)!=0)){for(B=i<<16>>16==0,c=U0(r)|0,n=0,l=0,o=0;c;){i=e[(e[c+16>>2]|0)+108>>2]|0;do if(i)if(C[i+81>>0]|0){n=n+1|0;break}else{o=o+1|0;break}while(0);for(A=Me(r,c)|0,i=l;A;){s=e[A+16>>2]|0,l=e[s+108>>2]|0;do if(l){if(C[l+81>>0]|0){n=n+1|0;break}B||(i=i+((e[s+8>>2]|0)!=0&1)|0)}while(0);l=e[s+100>>2]|0;do if(l){if(C[l+81>>0]|0){n=n+1|0;break}B||(i=i+((e[s+8>>2]|0)!=0&1)|0)}while(0);l=e[s+104>>2]|0;do if(l){if(C[l+81>>0]|0){n=n+1|0;break}B||(i=i+((e[s+8>>2]|0)!=0&1)|0)}while(0);l=e[s+96>>2]|0;do if(l){if(C[l+81>>0]|0){n=n+1|0;break}B||(i=i+((e[s+8>>2]|0)!=0&1)|0)}while(0);A=Qe(r,A)|0}c=X0(r,c)|0,l=i}if(C[(e[f>>2]|0)+113>>0]&8?f=UN(r)|0:f=0,E=l+o|0,E|0){for(p=n+l+f+(v2(r)|0)|0,v=j0(p*40|0)|0,m=j0(E*40|0)|0,zs(a0,2147483647,2147483647),i=a0+16|0,zs(w,-2147483647,-2147483647),e[i>>2]=e[w>>2],e[i+4>>2]=e[w+4>>2],e[i+8>>2]=e[w+8>>2],e[i+12>>2]=e[w+12>>2],i=m,o=v,c=U0(r)|0;c;){e[H>>2]=e[a0>>2],e[H+4>>2]=e[a0+4>>2],e[H+8>>2]=e[a0+8>>2],e[H+12>>2]=e[a0+12>>2],e[H+16>>2]=e[a0+16>>2],e[H+20>>2]=e[a0+20>>2],e[H+24>>2]=e[a0+24>>2],e[H+28>>2]=e[a0+28>>2],Wp0(T,c,o,H),e[a0>>2]=e[T>>2],e[a0+4>>2]=e[T+4>>2],e[a0+8>>2]=e[T+8>>2],e[a0+12>>2]=e[T+12>>2],e[a0+16>>2]=e[T+16>>2],e[a0+20>>2]=e[T+20>>2],e[a0+24>>2]=e[T+24>>2],e[a0+28>>2]=e[T+28>>2],n=e[(e[c+16>>2]|0)+108>>2]|0;do if(n)if(C[n+81>>0]|0){o=o+40|0,e[H>>2]=e[a0>>2],e[H+4>>2]=e[a0+4>>2],e[H+8>>2]=e[a0+8>>2],e[H+12>>2]=e[a0+12>>2],e[H+16>>2]=e[a0+16>>2],e[H+20>>2]=e[a0+20>>2],e[H+24>>2]=e[a0+24>>2],e[H+28>>2]=e[a0+28>>2],xf(D,n,o,H),e[a0>>2]=e[D>>2],e[a0+4>>2]=e[D+4>>2],e[a0+8>>2]=e[D+8>>2],e[a0+12>>2]=e[D+12>>2],e[a0+16>>2]=e[D+16>>2],e[a0+20>>2]=e[D+20>>2],e[a0+24>>2]=e[D+24>>2],e[a0+28>>2]=e[D+28>>2];break}else{e[H>>2]=e[N>>2],e[H+4>>2]=e[N+4>>2],e[H+8>>2]=e[N+8>>2],e[H+12>>2]=e[N+12>>2],Dh(n,o,i,0,H),i=i+40|0;break}while(0);for(A=Me(r,c)|0,o=o+40|0;A;){s=A+16|0,n=e[s>>2]|0,l=e[n+96>>2]|0;e:do if(!l)x=52;else{do if(C[l+81>>0]|0)e[H>>2]=e[a0>>2],e[H+4>>2]=e[a0+4>>2],e[H+8>>2]=e[a0+8>>2],e[H+12>>2]=e[a0+12>>2],e[H+16>>2]=e[a0+16>>2],e[H+20>>2]=e[a0+20>>2],e[H+24>>2]=e[a0+24>>2],e[H+28>>2]=e[a0+28>>2],xf(P,l,o,H),e[a0>>2]=e[P>>2],e[a0+4>>2]=e[P+4>>2],e[a0+8>>2]=e[P+8>>2],e[a0+12>>2]=e[P+12>>2],e[a0+16>>2]=e[P+16>>2],e[a0+20>>2]=e[P+20>>2],e[a0+24>>2]=e[P+24>>2],e[a0+28>>2]=e[P+28>>2];else{if(!B&&e[n+8>>2]|0){EQ(X,r,A),e[H>>2]=e[X>>2],e[H+4>>2]=e[X+4>>2],e[H+8>>2]=e[X+8>>2],e[H+12>>2]=e[X+12>>2],Dh(l,o,i,1,H),i=i+40|0;break}e[F>>2]=e[l>>2],$0(0,103827,F)|0;break e}while(0);o=o+40|0,n=e[s>>2]|0,x=52}while(0);e:do if((x|0)==52){if(x=0,l=e[n+104>>2]|0,l){do if(C[l+81>>0]|0)e[H>>2]=e[a0>>2],e[H+4>>2]=e[a0+4>>2],e[H+8>>2]=e[a0+8>>2],e[H+12>>2]=e[a0+12>>2],e[H+16>>2]=e[a0+16>>2],e[H+20>>2]=e[a0+20>>2],e[H+24>>2]=e[a0+24>>2],e[H+28>>2]=e[a0+28>>2],xf(U,l,o,H),e[a0>>2]=e[U>>2],e[a0+4>>2]=e[U+4>>2],e[a0+8>>2]=e[U+8>>2],e[a0+12>>2]=e[U+12>>2],e[a0+16>>2]=e[U+16>>2],e[a0+20>>2]=e[U+20>>2],e[a0+24>>2]=e[U+24>>2],e[a0+28>>2]=e[U+28>>2];else{if(!B&&e[n+8>>2]|0){Dp0(z,A),e[H>>2]=e[z>>2],e[H+4>>2]=e[z+4>>2],e[H+8>>2]=e[z+8>>2],e[H+12>>2]=e[z+12>>2],Dh(l,o,i,1,H),i=i+40|0;break}e[q>>2]=e[l>>2],$0(0,103862,q)|0;break e}while(0);o=o+40|0,n=e[s>>2]|0}if(l=e[n+100>>2]|0,l){do if(C[l+81>>0]|0)e[H>>2]=e[a0>>2],e[H+4>>2]=e[a0+4>>2],e[H+8>>2]=e[a0+8>>2],e[H+12>>2]=e[a0+12>>2],e[H+16>>2]=e[a0+16>>2],e[H+20>>2]=e[a0+20>>2],e[H+24>>2]=e[a0+24>>2],e[H+28>>2]=e[a0+28>>2],xf(_,l,o,H),e[a0>>2]=e[_>>2],e[a0+4>>2]=e[_+4>>2],e[a0+8>>2]=e[_+8>>2],e[a0+12>>2]=e[_+12>>2],e[a0+16>>2]=e[_+16>>2],e[a0+20>>2]=e[_+20>>2],e[a0+24>>2]=e[_+24>>2],e[a0+28>>2]=e[_+28>>2];else{if(!B&&e[n+8>>2]|0){Mp0(L,A),e[H>>2]=e[L>>2],e[H+4>>2]=e[L+4>>2],e[H+8>>2]=e[L+8>>2],e[H+12>>2]=e[L+12>>2],Dh(l,o,i,1,H),i=i+40|0;break}e[t0>>2]=e[l>>2],$0(0,103902,t0)|0;break e}while(0);o=o+40|0,n=e[s>>2]|0}if(l=e[n+108>>2]|0,l){do if(C[l+81>>0]|0)e[H>>2]=e[a0>>2],e[H+4>>2]=e[a0+4>>2],e[H+8>>2]=e[a0+8>>2],e[H+12>>2]=e[a0+12>>2],e[H+16>>2]=e[a0+16>>2],e[H+20>>2]=e[a0+20>>2],e[H+24>>2]=e[a0+24>>2],e[H+28>>2]=e[a0+28>>2],xf(Z,l,o,H),e[a0>>2]=e[Z>>2],e[a0+4>>2]=e[Z+4>>2],e[a0+8>>2]=e[Z+8>>2],e[a0+12>>2]=e[Z+12>>2],e[a0+16>>2]=e[Z+16>>2],e[a0+20>>2]=e[Z+20>>2],e[a0+24>>2]=e[Z+24>>2],e[a0+28>>2]=e[Z+28>>2];else{if(!B&&e[n+8>>2]|0){EQ(W,r,A),e[H>>2]=e[W>>2],e[H+4>>2]=e[W+4>>2],e[H+8>>2]=e[W+8>>2],e[H+12>>2]=e[W+12>>2],Dh(l,o,i,1,H),i=i+40|0;break}e[Y>>2]=e[l>>2],$0(0,103942,Y)|0;break e}while(0);o=o+40|0}}while(0);A=Qe(r,A)|0}c=X0(r,c)|0}if(f|0){e[t>>2]=e[a0>>2],e[t+4>>2]=e[a0+4>>2],e[t+8>>2]=e[a0+8>>2],e[t+12>>2]=e[a0+12>>2],e[t+16>>2]=e[a0+16>>2],e[t+20>>2]=e[a0+20>>2],e[t+24>>2]=e[a0+24>>2],e[t+28>>2]=e[a0+28>>2],e[t+32>>2]=o,n=H,i=n+40|0;do e[n>>2]=e[t>>2],n=n+4|0,t=t+4|0;while((n|0)<(i|0));XN(k0,r,H),e[a0>>2]=e[k0>>2],e[a0+4>>2]=e[k0+4>>2],e[a0+8>>2]=e[k0+8>>2],e[a0+12>>2]=e[k0+12>>2],e[a0+16>>2]=e[k0+16>>2],e[a0+20>>2]=e[k0+20>>2],e[a0+24>>2]=e[k0+24>>2],e[a0+28>>2]=e[k0+28>>2]}for(C[B0+32>>0]=LQ(r,re(r,0,103978,0)|0,1)|0,e[B0>>2]=e[a0>>2],e[B0+4>>2]=e[a0+4>>2],e[B0+8>>2]=e[a0+8>>2],e[B0+12>>2]=e[a0+12>>2],e[B0+16>>2]=e[a0+16>>2],e[B0+20>>2]=e[a0+20>>2],e[B0+24>>2]=e[a0+24>>2],e[B0+28>>2]=e[a0+28>>2],Ri0(v,p,m,E,B0)|0,t=0,i=0,n=m;!((i|0)>=(E|0));)C[n+36>>0]|0&&(B0=e[n+32>>2]|0,C[B0+81>>0]=1,k0=B0+56|0,jp0(D0,n),e[k0>>2]=e[D0>>2],e[k0+4>>2]=e[D0+4>>2],e[k0+8>>2]=e[D0+8>>2],e[k0+12>>2]=e[D0+12>>2],el(r,B0),t=t+1|0),i=i+1|0,n=n+40|0;(t|0)!=(E|0)&&(e[O0>>2]=t,e[O0+4>>2]=E,$0(0,104023,O0)|0),r0(v),r0(m)}}g=Z0}function Rp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(s=g,g=g+48|0,n=s+32|0,o=s+16|0,l=s,+u[23303]!=0|+u[23304]!=0|(e[47265]|0)!=0){for(i=U0(r)|0;i;){e[47265]|0&&Lf(i,0),t=i+16|0,A=(e[t>>2]|0)+16|0,e[n>>2]=e[A>>2],e[n+4>>2]=e[A+4>>2],e[n+8>>2]=e[A+8>>2],e[n+12>>2]=e[A+12>>2],p1(o,n),e[A>>2]=e[o>>2],e[A+4>>2]=e[o+4>>2],e[A+8>>2]=e[o+8>>2],e[A+12>>2]=e[o+12>>2],t=e[(e[t>>2]|0)+108>>2]|0,t|0&&(A=t+56|0,e[n>>2]=e[A>>2],e[n+4>>2]=e[A+4>>2],e[n+8>>2]=e[A+8>>2],e[n+12>>2]=e[A+12>>2],p1(l,n),e[A>>2]=e[l>>2],e[A+4>>2]=e[l+4>>2],e[A+8>>2]=e[l+8>>2],e[A+12>>2]=e[l+12>>2]);e:do if((e[47138]|0)==1)for(t=Me(r,i)|0;;){if(!t)break e;Zp0(t),t=Qe(r,t)|0}while(0);i=X0(r,i)|0}ON(r,e[(e[r+16>>2]|0)+116>>2]&3)}g=s}function Gp0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=r+16|0,s=e[l>>2]|0,o=C[s+275>>0]|0,r=o<<24>>24;do if(r&4)n=+u[s+32>>3]-+u[t>>3]*.5;else if(i=+u[s+16>>3],r&2){n=+u[t>>3]*.5+i;break}else{n=(+u[s+32>>3]+i)*.5;break}while(0);o&1?i=+u[s+40>>3]-+u[t+8>>3]*.5:i=+u[t+8>>3]*.5+ +u[s+24>>3],s=e[s+12>>2]|0,u[s+56>>3]=n,u[s+64>>3]=i,C[(e[(e[l>>2]|0)+12>>2]|0)+81>>0]=1}function Zp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;if(B=g,g=g+144|0,m=B+120|0,i=B+16|0,s=B+104|0,A=B+88|0,c=B+72|0,f=B+56|0,w=B+40|0,p=B+24|0,E=B,v=r+16|0,t=e[v>>2]|0,n=e[t+8>>2]|0,!n)!(C[194954]|0)&&(C[t+112>>0]|0)!=6&&(m=te(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0,E=te(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0,e[i>>2]=m,e[i+4>>2]=E,$0(1,103810,i)|0);else{for(l=0,r=n;!((l|0)>=(e[r+4>>2]|0));){for(o=e[r>>2]|0,r=e[o+(l*48|0)>>2]|0,i=e[o+(l*48|0)+4>>2]|0,n=e[o+(l*48|0)+8>>2]|0,o=e[o+(l*48|0)+12>>2]|0,t=0;!((t|0)>=(i|0));)x=r+(t<<4)|0,e[m>>2]=e[x>>2],e[m+4>>2]=e[x+4>>2],e[m+8>>2]=e[x+8>>2],e[m+12>>2]=e[x+12>>2],p1(s,m),e[x>>2]=e[s>>2],e[x+4>>2]=e[s+4>>2],e[x+8>>2]=e[s+8>>2],e[x+12>>2]=e[s+12>>2],t=t+1|0;n|0&&(x=(e[e[(e[v>>2]|0)+8>>2]>>2]|0)+(l*48|0)+16|0,e[m>>2]=e[x>>2],e[m+4>>2]=e[x+4>>2],e[m+8>>2]=e[x+8>>2],e[m+12>>2]=e[x+12>>2],p1(A,m),e[x>>2]=e[A>>2],e[x+4>>2]=e[A+4>>2],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B}function UN(r){r=r|0;var t=0,i=0,n=0;for(n=r+16|0,(c2(r)|0)!=(r|0)&&(t=e[(e[n>>2]|0)+12>>2]|0,(t|0)!=0)?(i=1,r=(C[t+81>>0]|0)!=0&1):(i=1,r=0);t=e[n>>2]|0,!((i|0)>(e[t+180>>2]|0));)t=(UN(e[(e[t+184>>2]|0)+(i<<2)>>2]|0)|0)+r|0,i=i+1|0,r=t;return r|0}function Wp0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;o=g,g=g+32|0,l=o,f=(C[194957]|0)==0,t=t+16|0,c=e[t>>2]|0,A=+u[(f?c+32|0:c+40|0)>>3],u[i+16>>3]=A*72,s=+u[(f?c+40|0:c+32|0)>>3],u[i+24>>3]=s*72,t=(e[t>>2]|0)+16|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],u[i>>3]=+u[i>>3]-A*36,t=i+8|0,u[t>>3]=+u[t>>3]-s*36,e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],e[l+16>>2]=e[n+16>>2],e[l+20>>2]=e[n+20>>2],e[l+24>>2]=e[n+24>>2],e[l+28>>2]=e[n+28>>2],qN(r,i,l),g=o}function xf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;o=g,g=g+32|0,l=o,f=(C[194957]|0)==0,c=t+24|0,A=+u[(f?c:t+32|0)>>3],u[i+16>>3]=A,s=+u[(f?t+32|0:c)>>3],u[i+24>>3]=s,t=t+56|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],u[i>>3]=+u[i>>3]-A*.5,t=i+8|0,u[t>>3]=+u[t>>3]-s*.5,e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],e[l+16>>2]=e[n+16>>2],e[l+20>>2]=e[n+20>>2],e[l+24>>2]=e[n+24>>2],e[l+28>>2]=e[n+28>>2],qN(r,i,l),g=o}function Dh(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,n|0&&(n=t+16|0,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[t>>2]=e[o>>2],e[t+4>>2]=e[o+4>>2],e[t+8>>2]=e[o+8>>2],e[t+12>>2]=e[o+12>>2]),C[194957]|0?(u[i>>3]=+u[r+32>>3],u[i+8>>3]=+u[r+24>>3]):(o=r+24|0,e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2]),e[i+32>>2]=r,C[i+36>>0]=0,e[t+32>>2]=i}function Dp0(r,t){r=r|0,t=t|0,t=_a(t)|0;do if(t)if(t=e[t>>2]|0,e[t+8>>2]|0){t=t+16|0,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else{t=e[t>>2]|0,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2];break}else e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0;while(0)}function Mp0(r,t){r=r|0,t=t|0;var i=0;t=_a(t)|0;do if(t)if(i=e[t>>2]|0,t=(e[t+4>>2]|0)+-1|0,e[i+(t*48|0)+12>>2]|0){i=i+(t*48|0)+32|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}else{i=(e[i+(t*48|0)>>2]|0)+((e[i+(t*48|0)+4>>2]|0)+-1<<4)|0,e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2];break}else e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0,e[r+12>>2]=0;while(0)}function XN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(m=g,g=g+112|0,c=m+72|0,w=m+32|0,p=m,v=t+16|0,A=1;n=e[v>>2]|0,!((A|0)>(e[n+180>>2]|0));){n=e[(e[n+184>>2]|0)+(A<<2)>>2]|0,o=c,l=i,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));XN(w,n,c),o=i,l=w,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));A=A+1|0}(c2(t)|0)!=(t|0)&&(f=e[(e[v>>2]|0)+12>>2]|0,f|0)&&C[f+81>>0]|0&&(v=i+32|0,w=e[v>>2]|0,e[c>>2]=e[i>>2],e[c+4>>2]=e[i+4>>2],e[c+8>>2]=e[i+8>>2],e[c+12>>2]=e[i+12>>2],e[c+16>>2]=e[i+16>>2],e[c+20>>2]=e[i+20>>2],e[c+24>>2]=e[i+24>>2],e[c+28>>2]=e[i+28>>2],xf(p,f,w,c),e[i>>2]=e[p>>2],e[i+4>>2]=e[p+4>>2],e[i+8>>2]=e[p+8>>2],e[i+12>>2]=e[p+12>>2],e[i+16>>2]=e[p+16>>2],e[i+20>>2]=e[p+20>>2],e[i+24>>2]=e[p+24>>2],e[i+28>>2]=e[p+28>>2],e[v>>2]=(e[v>>2]|0)+40),o=r,l=i,s=o+40|0;do e[o>>2]=e[l>>2],o=o+4|0,l=l+4|0;while((o|0)<(s|0));g=m}function L2e(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+160|0,m=E+96|0,p=E+48|0,w=E,v=e[15712]|0,f=s0[o+32>>0]|0,l=+u[o>>3],s=+u[o+8>>3],A=+u[o+16>>3],c=+u[o+24>>3],e[w>>2]=t,e[w+4>>2]=n,e[w+8>>2]=f,u[w+16>>3]=l,u[w+24>>3]=s,u[w+32>>3]=A,u[w+40>>3]=c,A2(v,104065,w)|0;do;while(0);g=E}function jp0(r,t){r=r|0,t=t|0;var i=0;i=+u[t+8>>3]*.5+ +u[t+24>>3],u[r>>3]=+u[t>>3]*.5+ +u[t+16>>3],u[r+8>>3]=i}function qN(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;n=g,g=g+16|0,o=n,A=+u[t>>3],u[i>>3]=+u[(+u[i>>3]>3],l=i+8|0,s=+u[t+8>>3],u[l>>3]=+u[(+u[l>>3]>3],A=+u[t+16>>3]+A,u[o>>3]=A,s=+u[t+24>>3]+s,u[o+8>>3]=s,l=i+16|0,u[l>>3]=+u[(+u[l>>3]>A?l:o)>>3],t=i+24|0,u[t>>3]=+u[(+u[t>>3]>s?l:o)+8>>3],e[r>>2]=e[i>>2],e[r+4>>2]=e[i+4>>2],e[r+8>>2]=e[i+8>>2],e[r+12>>2]=e[i+12>>2],e[r+16>>2]=e[i+16>>2],e[r+20>>2]=e[i+20>>2],e[r+24>>2]=e[i+24>>2],e[r+28>>2]=e[i+28>>2],g=n}function xa(r){r=r|0,mp(r,1)}function Np0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;n=g,g=g+16|0,i=n,t=Zp(he(r,105526)|0)|0,t?(t=Qp0(t)|0,t|0&&(o=e[t+40>>2]|0,i=e[t+44>>2]|0,l=r+16|0,r=e[l>>2]|0,u[r+32>>3]=+(o|0)*.013888888888888888,u[r+40>>3]=+(i|0)*.013888888888888888,r=j0(12)|0,e[(e[l>>2]|0)+12>>2]=r,e[r>>2]=e[t+12>>2],e[r+4>>2]=((o|0)/-2|0)-(e[t+32>>2]|0),e[r+8>>2]=((i|0)/-2|0)-(e[t+36>>2]|0))):(e[i>>2]=te(r)|0,$0(0,104234,i)|0),g=n}function Qp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;v=g,g=g+1152|0,s=v+24|0,l=v+8|0,i=v,n=v+120|0,A=v+44|0,c=v+40|0,f=v+36|0,w=v+32|0,p=v+28|0,t=e[47266]|0,t||(t=ct(20812,e[4581]|0)|0,e[47266]=t),t=oe[e[t>>2]&63](t,r,512)|0;do if(!t){if(o=A8(r,138821)|0,o)t=0,i=0;else{e[i>>2]=r,$0(0,104283,i)|0,t=0;break}for(;;){if(!(tu(n,1024,o)|0)){n=11;break}if(e[l>>2]=c,e[l+4>>2]=f,e[l+8>>2]=w,e[l+12>>2]=p,m=(X2(n,104311,l)|0)==4,i=m?1:i,(C[n>>0]|0)!=37&&(m=(s8(n,104340)|0)==0,t=m?t:1),(i|0)!=0&(t|0)!=0){n=12;break}}(n|0)==11&&(i?n=12:(e[s>>2]=r,$0(0,104345,s)|0,t=0)),(n|0)==12&&(m=_0(64)|0,c=e[c>>2]|0,e[m+32>>2]=c,f=e[f>>2]|0,e[m+40>>2]=(e[w>>2]|0)-c,e[m+36>>2]=(e[p>>2]|0)-f,e[m+8>>2]=r,p=e[47267]|0,e[47267]=p+1,e[m+12>>2]=p,BY(FY(o)|0,A)|0,p=e[A+36>>2]|0,w=_0(p+1|0)|0,e[m+52>>2]=w,T1(o,0,0)|0,QY(w,p,1,o)|0,C[w+p>>0]=0,p=e[47266]|0,oe[e[p>>2]&63](p,m,1)|0,C[m+16>>0]=t,t=m),Hf(o)|0}while(0);return g=v,t|0}function Tp0(r,t,i){r=r|0,t=t|0,i=i|0,r0(e[t+52>>2]|0)}function Fp0(r){r=r|0,r0(e[(e[r+16>>2]|0)+12>>2]|0)}function wC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;w=g,g=g+16|0,f=w+8|0,c=w,A=(t|0)!=0;e:do if(A){l=0,n=0;r:for(;;)for(;;){if(l)break e;if(o=e[t+(n<<2)>>2]|0,!o){s=6;break e}if(n=n+1|0,!(C[o>>0]|0)){l=1;continue r}}}else s=6;while(0);e:do if((s|0)==6)for(;;){if(n=e[i>>2]|0,!n)break e;m0(r,n)|0,m0(r,153599)|0,i=i+4|0,s=6}while(0);e:do if(A)for(l=0;;){if(n=e[t+(l<<2)>>2]|0,!n)break e;do if(C[n>>0]|0){if(i=Zp(n)|0,!i){e[c>>2]=n,$0(0,104384,c)|0;break}if(o=A8(i,138821)|0,!o){e[f>>2]=i,$0(0,104412,f)|0;break}for(;n=$k0(o)|0,!!n;)m0(r,n)|0;m0(r,153599)|0,Hf(o)|0}while(0);l=l+1|0}while(0);g=w}function $N(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;t=e[t+52>>2]|0;e:for(;;){i=C[t>>0]|0;r:do switch(i<<24>>24){case 0:break e;case 37:{if((C[t+1>>0]|0)==37){if(i=t+2|0,go(i,104440,3)|0&&go(i,104444,5)|0&&go(i,104450,3)|0&&go(i,104454,7)|0){i=37;break r}else o=37;t:for(;;){switch(o<<24>>24){case 13:{n=10;break t}case 10:case 0:{n=12;break t}default:}o=t+1|0,t=o,o=C[o>>0]|0}if((n|0)==10){if(i=t+1|0,(C[i>>0]|0)==10){t=t+2|0;continue e}}else(n|0)==12&&(i=t+1|0);t=o<<24>>24?i:t;continue e}else i=37;break}default:}while(0);r:for(;;){switch(i<<24>>24){case 10:case 13:case 0:break r;default:}lD(r,i<<24>>24)|0,o=t+1|0,t=o,i=C[o>>0]|0}n=t+1|0,i<<24>>24==13&&(C[n>>0]|0)==10?t=t+2|0:t=i<<24>>24?n:t,lD(r,10)|0}}function Pp0(r){r=r|0;var t=0,i=0,n=0,o=0;n=g,g=g+16|0,i=n,t=e[47266]|0;e:do if(t|0)for(t=oe[e[t>>2]&63](t,0,128)|0;;){if(!t)break e;C[t+16>>0]|0||(e[i>>2]=e[t+12>>2],Y0(r,104462,i),m0(r,104480)|0,$N(r,t),m0(r,104498)|0,m0(r,104513)|0),o=e[47266]|0,t=oe[e[o>>2]&63](o,t,8)|0}while(0);g=n}function dC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;o=g,g=g+16|0,i=o;e:do switch(t|0){case 0:{n=r;break}case 1:{n=VQ(r)|0;break}default:{switch(Yp0(r)|0){case 2:break;case 1:{n=VQ(r)|0;break e}default:{n=r;break e}}e[47268]|0||($0(0,104525,i)|0,e[47268]=1),n=r}}while(0);e[47269]|0||Vt(189076,0,0),t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),e[47270]=t+1,C[t>>0]=40,i=n;e:for(;;){switch(C[i>>0]|0){case 0:break e;case 92:case 41:case 40:{t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),e[47270]=t+1,C[t>>0]=92;break}default:}t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),l=C[i>>0]|0,e[47270]=t+1,C[t>>0]=l,i=i+1|0}return t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),e[47270]=t+1,C[t>>0]=41,(n|0)!=(r|0)&&r0(n),t=e[47270]|0,t>>>0>=(e[47271]|0)>>>0&&(Xe(189076,1)|0,t=e[47270]|0),C[t>>0]=0,l=e[47269]|0,e[47270]=l,g=o,l|0}function Yp0(r){r=r|0;var t=0,i=0;t=0;e:for(;;){for(;;){if(i=C[r>>0]|0,!(i<<24>>24))break e;if((i&255)<127)r=r+1|0;else break}if((i&-4)<<24>>24==-64)t=1,r=r+2|0;else{t=2;break}}return t|0}function KN(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;w=g,g=g+96|0,s=w+80|0,A=w+72|0,f=w+64|0,l=w+32|0,c=w,u[l>>3]=+u[r>>3],u[l+8>>3]=+u[r+8>>3],u[l+16>>3]=+u[t>>3],u[l+24>>3]=+u[t+8>>3];do if((FG(i,l,A)|0)>=0){if(o)e[s>>2]=e[A>>2],e[s+4>>2]=e[A+4>>2],q3(s,f);else{for(t=i+4|0,r=e[t>>2]|0,o=e[47274]|0,(r|0)>(e[47273]|0)?(o?r=Ve(o,r<<5)|0:r=_0(r<<5)|0,e[47274]=r,l=e[t>>2]|0,e[47273]=l,o=r):l=r,t=e[i>>2]|0,r=0;!((r|0)>=(l|0));)p=o+(r<<5)|0,i=t+(r<<4)|0,e[p>>2]=e[i>>2],e[p+4>>2]=e[i+4>>2],e[p+8>>2]=e[i+8>>2],e[p+12>>2]=e[i+12>>2],p=o+(r<<5)+16|0,i=r+1|0,v=t+(((i|0)%(l|0)|0)<<4)|0,e[p>>2]=e[v>>2],e[p+4>>2]=e[v+4>>2],e[p+8>>2]=e[v+8>>2],e[p+12>>2]=e[v+12>>2],r=i;if(e[c>>2]=0,e[c+4>>2]=0,e[c+8>>2]=0,e[c+12>>2]=0,e[c+16>>2]=0,e[c+20>>2]=0,e[c+24>>2]=0,e[c+28>>2]=0,e[s>>2]=e[A>>2],e[s+4>>2]=e[A+4>>2],(Xy(o,l,s,c,f)|0)<0){r=0;break}}if(r=f+4|0,bN(e[r>>2]|0)|0)r=0;else{for(l=e[r>>2]|0,r=e[47275]|0,o=e[f>>2]|0,t=0;!((t|0)>=(l|0));)v=r+(t<<4)|0,p=o+(t<<4)|0,e[v>>2]=e[p>>2],e[v+4>>2]=e[p+4>>2],e[v+8>>2]=e[p+8>>2],e[v+12>>2]=e[p+12>>2],t=t+1|0;e[n>>2]=l}}else r=0;while(0);return g=w,r|0}function bN(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=e[47276]|0;do if((t|0)<(r|0))if(r=r+300-((r|0)%300|0)+t|0,t=Ve(e[47275]|0,r<<4)|0,e[47275]=t,t){e[47276]=r,r=0;break}else{$0(1,104615,i)|0,r=1;break}else r=0;while(0);return g=n,r|0}function Vp0(){var r=0,t=0,i=0;t=g,g=g+16|0,r=t,i=e[47277]|0,e[47277]=i+1;do if((i|0)<=0){if(i=_0(4800)|0,e[47275]=i,!i){$0(1,104638,r)|0,r=1;break}e[47276]=300,e[47278]=0,e[47279]=0,r=0}else r=0;while(0);return g=t,r|0}function Op0(){var r=0,t=0,i=0,n=0,o=0,l=0;t=g,g=g+16|0,r=t,i=e[47277]|0,e[47277]=i+-1,(i|0)<=1&&r0(e[47275]|0),g=t}function Mh(r,t){return r=r|0,t=t|0,eQ(r,t,0)|0}function eQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0;for(Y=g,g=g+176|0,X=Y+168|0,t0=Y+128|0,L=Y+120|0,z=Y+112|0,l=Y+104|0,E=Y+88|0,f=Y+72|0,o=Y+64|0,B=Y+160|0,F=Y+152|0,Z=Y+144|0,x=Y+32|0,_=Y,q=Y+136|0,e[47278]=(e[47278]|0)+1,U=e[r+80>>2]|0,e[47279]=(e[47279]|0)+U,n=r+88|0;;){if(D=e[n>>2]|0,!D){P=4;break}if(n=e[D+16>>2]|0,C[n+112>>0]|0)n=n+116|0;else{P=5;break}}do if((P|0)==4)$0(1,104719,o)|0,n=0;else if((P|0)==5)if(T=e[r+84>>2]|0,Hp0(U,T,r)|0)n=0;else{o=U<<3,(o|0)>(e[47280]|0)&&(n=e[47281]|0,n?n=Ve(n,U<<7)|0:n=_0(U<<7)|0,e[47281]=n,e[47280]=o);e:do if((U|0)>1&&+u[T+8>>3]>+u[T+40>>3])for(n=0;;){if((n|0)==(U|0)){p=1;break e}W=T+(n<<5)+24|0,c=+u[W>>3],N=T+(n<<5)+8|0,u[W>>3]=-+u[N>>3],u[N>>3]=-c,n=n+1|0}else p=0;while(0);if(m=e[D>>2]&3,W=D+48|0,n=e[((m|0)==3?D:W)+40>>2]|0,N=D+-48|0,(n|0)==(e[((m|0)==2?D:N)+40>>2]|0)){e[l>>2]=te(n)|0,$0(1,104826,l)|0,n=0;break}w=U+-1|0,v=e[47281]|0,m=v,n=0,s=0;e:for(;;){if((s|0)>=(U|0)){s=w,f=n;break}(s|0)>0?o=+u[T+(s<<5)+8>>3]>+u[T+(s+-1<<5)+8>>3]?-1:1:o=0,(s|0)<(w|0)?l=+u[T+(s+1<<5)+8>>3]>+u[T+(s<<5)+8>>3]?1:-1:l=0;r:do if((o|0)!=(l|0))if((o|0)==1|(l|0)==-1){o=T+(s<<5)|0,u[v+(n<<4)>>3]=+u[o>>3],l=n+1|0,u[v+(n<<4)+8>>3]=+u[T+(s<<5)+24>>3],u[v+(l<<4)>>3]=+u[o>>3],o=T+(s<<5)+8|0,P=29;break}else{o=T+(s<<5)+16|0,u[v+(n<<4)>>3]=+u[o>>3],l=n+1|0,u[v+(n<<4)+8>>3]=+u[T+(s<<5)+8>>3],u[v+(l<<4)>>3]=+u[o>>3],o=T+(s<<5)+24|0,P=29;break}else{switch(o|0){case-1:break r;case 0:break;default:{P=28;break e}}o=T+(s<<5)|0,u[v+(n<<4)>>3]=+u[o>>3],l=n+1|0,u[v+(n<<4)+8>>3]=+u[T+(s<<5)+24>>3],u[v+(l<<4)>>3]=+u[o>>3],o=T+(s<<5)+8|0,P=29}while(0);(P|0)==29&&(P=0,u[v+(l<<4)+8>>3]=+u[o>>3],n=n+2|0),s=s+1|0}if((P|0)==28){e[f>>2]=o,e[f+4>>2]=o,e[f+8>>2]=480,$0(1,104761,f)|0,n=0;break}e:for(;!((s|0)<=-1);){(s|0)<(w|0)?n=+u[T+(s<<5)+8>>3]>+u[T+(s+1<<5)+8>>3]?-1:1:n=0,(s|0)>0?o=+u[T+(s+-1<<5)+8>>3]>+u[T+(s<<5)+8>>3]?1:-1:o=0;r:do if((n|0)!=(o|0))if((n|0)==1|(o|0)==-1){n=T+(s<<5)|0,u[v+(f<<4)>>3]=+u[n>>3],o=f+1|0,u[v+(f<<4)+8>>3]=+u[T+(s<<5)+24>>3],u[v+(o<<4)>>3]=+u[n>>3],n=T+(s<<5)+8|0,l=2;break}else{n=T+(s<<5)+16|0,u[v+(f<<4)>>3]=+u[n>>3],o=f+1|0,u[v+(f<<4)+8>>3]=+u[T+(s<<5)+8>>3],u[v+(o<<4)>>3]=+u[n>>3],n=T+(s<<5)+24|0,l=2;break}else switch(n|0){case 0:{n=T+(s<<5)+16|0,u[v+(f<<4)>>3]=+u[n>>3],o=f+1|0,u[v+(f<<4)+8>>3]=+u[T+(s<<5)+8>>3],u[v+(o<<4)>>3]=+u[n>>3],n=T+(s<<5)+24|0,l=2;break r}case-1:{a0=T+(s<<5)+16|0,u[v+(f<<4)>>3]=+u[a0>>3],n=T+(s<<5)+8|0,l=f+1|0,u[v+(f<<4)+8>>3]=+u[n>>3],u[v+(l<<4)>>3]=+u[a0>>3],a0=T+(s<<5)+24|0,H=f+2|0,u[v+(l<<4)+8>>3]=+u[a0>>3],l=T+(s<<5)|0,u[v+(H<<4)>>3]=+u[l>>3],o=f+3|0,u[v+(H<<4)+8>>3]=+u[a0>>3],u[v+(o<<4)>>3]=+u[l>>3],l=4;break r}default:{P=42;break e}}while(0);u[v+(o<<4)+8>>3]=+u[n>>3],s=s+-1|0,f=f+l|0}if((P|0)==42){e[E>>2]=n,e[E+4>>2]=n,e[E+8>>2]=513,$0(1,104761,E)|0,n=0;break}e:do if(!p)n=0;else{for(n=0;;){if((n|0)>=(U|0)){n=0;break}H=T+(n<<5)+24|0,c=+u[H>>3],a0=T+(n<<5)+8|0,u[H>>3]=-+u[a0>>3],u[a0>>3]=-c,n=n+1|0}for(;;){if((n|0)>=(f|0)){n=0;break e}a0=v+(n<<4)+8|0,u[a0>>3]=-+u[a0>>3],n=n+1|0}}while(0);for(;!((n|0)>=(U|0));)u[T+(n<<5)>>3]=2147483647,u[T+(n<<5)+16>>3]=-2147483648,n=n+1|0;if(e[B>>2]=m,l=B+4|0,e[l>>2]=f,u[x>>3]=+u[r>>3],u[x+8>>3]=+u[r+8>>3],u[x+16>>3]=+u[r+40>>3],u[x+24>>3]=+u[r+48>>3],(FG(B,x,F)|0)<0){$0(1,104865,z)|0,n=0;break}if(i)e[X>>2]=e[F>>2],e[X+4>>2]=e[F+4>>2],q3(X,Z);else{for(o=e[l>>2]|0,n=e[47274]|0,(o|0)>(e[47273]|0)&&(n?n=Ve(n,o<<5)|0:n=_0(o<<5)|0,e[47274]=n,o=e[l>>2]|0,e[47273]=o),s=e[47281]|0,l=0;!((l|0)>=(o|0));)H=n+(l<<5)|0,a0=s+(l<<4)|0,e[H>>2]=e[a0>>2],e[H+4>>2]=e[a0+4>>2],e[H+8>>2]=e[a0+8>>2],e[H+12>>2]=e[a0+12>>2],H=n+(l<<5)+16|0,a0=l+1|0,z=s+(((a0|0)%(o|0)|0)<<4)|0,e[H>>2]=e[z>>2],e[H+4>>2]=e[z+4>>2],e[H+8>>2]=e[z+8>>2],e[H+12>>2]=e[z+12>>2],l=a0;if(C[r+29>>0]|0?(c=+u[r+16>>3],A=+ee(+c),c=+le(+c)):(A=0,c=0),u[_+8>>3]=c,u[_>>3]=A,C[r+69>>0]|0?(c=+u[r+56>>3],A=-+ee(+c),c=-+le(+c)):(A=0,c=0),u[_+24>>3]=c,u[_+16>>3]=A,e[X>>2]=e[F>>2],e[X+4>>2]=e[F+4>>2],(Xy(n,o,X,_,Z)|0)<0){$0(1,104904,L)|0,n=0;break}}if(f=Z+4|0,bN(e[f>>2]|0)|0)n=0;else{for(n=0;!((n|0)>=(U|0));)u[T+(n<<5)>>3]=2147483647,u[T+(n<<5)+16>>3]=-2147483648,n=n+1|0;for(l=e[f>>2]|0,s=e[47275]|0,o=e[Z>>2]|0,n=0;;){if((n|0)>=(l|0)){l=1,n=10,o=0;break}a0=s+(n<<4)|0,H=o+(n<<4)|0,e[a0>>2]=e[H>>2],e[a0+4>>2]=e[H+4>>2],e[a0+8>>2]=e[H+8>>2],e[a0+12>>2]=e[H+12>>2],n=n+1|0}for(;(o|0)<15&l<<24>>24!=0;){for(rQ(T,U,e[47275]|0,e[f>>2]|0,n),s=0;!((s|0)>=(U|0));){if(+u[T+(s<<5)>>3]==2147483647){P=82;break}if(+u[T+(s<<5)+16>>3]==-2147483648){P=82;break}s=s+1|0}(P|0)==82&&(P=0,a0=n<<1,n=a0,o=(a0|0)>(2147483647/(U|0)|0|0)?15:o),l=(s|0)==(U|0)?0:l,o=o+1|0}l<<24>>24&&(H=te(e[((e[D>>2]&3|0)==3?D:W)+40>>2]|0)|0,a0=te(e[((e[D>>2]&3|0)==2?D:N)+40>>2]|0)|0,e[t0>>2]=H,e[t0+4>>2]=a0,$0(0,104942,t0)|0,e[X>>2]=e[F>>2],e[X+4>>2]=e[F+4>>2],q3(X,q),rQ(T,U,e[q>>2]|0,e[q+4>>2]|0,10),r0(e[q>>2]|0)),e[t>>2]=e[f>>2],n=e[47275]|0}}while(0);return g=Y,n|0}function Hp0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0;for(F0=g,g=g+32|0,Y=F0+16|0,t0=F0+8|0,c=F0,n=0,A=0;!((A|0)>=(r|0));)s=t+(A<<5)|0,B=+u[t+(A<<5)+8>>3]-+u[t+(A<<5)+24>>3],!((B>=0?B:-B)<.01)&&(B=+u[s>>3]-+u[t+(A<<5)+16>>3],!((B>=0?B:-B)<.01))&&((n|0)!=(A|0)&&(O0=t+(n<<5)|0,e[O0>>2]=e[s>>2],e[O0+4>>2]=e[s+4>>2],e[O0+8>>2]=e[s+8>>2],e[O0+12>>2]=e[s+12>>2],e[O0+16>>2]=e[s+16>>2],e[O0+20>>2]=e[s+20>>2],e[O0+24>>2]=e[s+24>>2],e[O0+28>>2]=e[s+28>>2]),n=n+1|0),A=A+1|0;H=t+16|0;do if(!(+u[t>>3]>+u[H>>3])&&(k0=t+8|0,D0=t+24|0,!(+u[k0>>3]>+u[D0>>3]))){for(O0=n+-1|0,B0=e[15712]|0,L=0;!((L|0)>=(O0|0));){if(X=L+1|0,U=t+(X<<5)|0,o=+u[U>>3],F=t+(X<<5)+16|0,l=+u[F>>3],o>l){Z0=16;break}if(T=t+(X<<5)+8|0,f=+u[T>>3],D=t+(X<<5)+24|0,w=+u[D>>3],f>w){Z0=16;break}q=t+(L<<5)+16|0,_=+u[q>>3]>3]>l,r=z&1,N=t+(L<<5)+24|0,x=+u[N>>3]>3]>w,s=c&1,Z=r+n+A+s|0,p=(Z|0)!=0,!0|p^1||(e[Y>>2]=L,e[Y+4>>2]=X,A2(B0,105142,Y)|0,pC(i));e:do if(p)for(_?(c=s,p=0,n=U,s=q,Z0=24):z?(c=s,r=0,p=n,n=F,s=P,Z0=24):x?(c=s,A=0,p=n,n=T,s=N,Z0=24):c&&(c=0,p=n,n=D,s=W,Z0=24),(Z0|0)==24&&(Z0=0,L=~~+u[s>>3],u[s>>3]=+u[n>>3],u[n>>3]=+(L|0),s=c,n=p),p=Z+-1|0,c=0;;){if((c|0)>=(p|0))break e;do if((n|0)!=1){if((r|0)==1){B=+(~~((+u[F>>3]+ +u[P>>3])*.5+.5)|0),u[F>>3]=B,u[P>>3]=B,r=0;break}if((A|0)==1){B=+(~~((+u[T>>3]+ +u[N>>3])*.5+.5)|0),u[T>>3]=B,u[N>>3]=B,A=0;break}(s|0)==1&&(B=+(~~((+u[D>>3]+ +u[W>>3])*.5+.5)|0),u[D>>3]=B,u[W>>3]=B,s=0)}else B=+(~~((+u[U>>3]+ +u[q>>3])*.5+.5)|0),u[U>>3]=B,u[q>>3]=B,n=0;while(0);c=c+1|0}while(0);if(v=+u[P>>3],m=+u[q>>3],E=+u[U>>3],B=+u[F>>3],s=tQ(~~v,~~m,~~E,~~B)|0,w=+u[W>>3],f=+u[N>>3],l=+u[T>>3],o=+u[D>>3],n=tQ(~~w,~~f,~~l,~~o)|0,!((s|0)!=0&(n|0)!=0)){L=X;continue}if((s|0)<(n|0)){D=m-v>B-E,L=m>3]=D?L?E:B:L?m:v,L=X;continue}else{D=f-w>o-l,L=f>3]=D?L?l:o:L?f:w,L=X;continue}}if((Z0|0)==16){e[t0>>2]=X,$0(1,105096,t0)|0,pC(i),n=1;break}if(o=+u[i>>3],l=+u[t>>3],!(o+u[H>>3])&&(a0=+u[i+8>>3],!(a0<+u[k0>>3]))&&!(a0>+u[D0>>3])||(o>3]=l:l=o,o=+u[H>>3],l>o&&(u[i>>3]=o),n=i+8|0,l=+u[n>>3],o=+u[k0>>3],l>3]=o,l=o),o=+u[D0>>3],l>o&&(u[n>>3]=o)),s=i+40|0,o=+u[s>>3],n=t+(O0<<5)|0,l=+u[n>>3],!(o+u[t+(O0<<5)+16>>3])&&(J0=+u[i+48>>3],!(J0<+u[t+(O0<<5)+8>>3]))&&!(J0>+u[t+(O0<<5)+24>>3])){n=0;break}o>3]=l,o=l),l=+u[t+(O0<<5)+16>>3],o>l&&(u[s>>3]=l),n=i+48|0,o=+u[n>>3],l=+u[t+(O0<<5)+8>>3],o>3]=l:l=o,o=+u[t+(O0<<5)+24>>3],l>o&&(u[n>>3]=o),n=0}else Z0=12;while(0);return(Z0|0)==12&&($0(1,105051,c)|0,pC(i),n=1),g=F0,n|0}function rQ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0;z=N0(o,t)|0,_=1/+(z|0),o=0;e:for(;L=o+3|0,!((L|0)>=(n|0));)for(m=i+(o<<4)|0,E=i+(o<<4)+8|0,x=o+1|0,B=i+(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3]=p,u[s+16>>3]=v,e[s+24>>2]=m,A2(i,105389,s)|0,g=c}function tQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;do if((t|0)>(i|0)&(n|0)>(r|0)){if(!((i|0)>(r|0)|(n|0)<(r|0))){r=n-r|0;break}if((t|0)<(i|0)|(t|0)>(n|0)){t=t-r|0,r=n-i|0,r=(t|0)<(r|0)?t:r;break}else{r=t-i|0;break}}else r=0;while(0);return r|0}function jh(r,t){return r=r|0,t=t|0,eQ(r,t,1)|0}function Jp0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;for(c=g,g=g+80|0,l=c,A=1,o=t;s=o,o=e[(e[o+16>>2]|0)+172>>2]|0,(o|0)!=0&(s|0)!=(o|0);)A=A+1|0;for((A|0)>=21&&(l=j0(A<<2)|0),s=0,o=t;!((s|0)>=(A|0));)e[l+(s<<2)>>2]=o,s=s+1|0,o=e[(e[o+16>>2]|0)+172>>2]|0;iQ(r,l,A,i,n),(A|0)>20&&r0(l),g=c}function iQ(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0;Y=g,g=g+304|0,N=Y+272|0,W=Y+208|0,U=Y+96|0,F=Y+32|0,q=Y+16|0,t0=Y,m=Y+192|0,Z=Y+176|0,l=Y+160|0,T=Y+296|0,D=Y+288|0,s=e[t>>2]|0,_=e[s>>2]&3,A=s+-48|0,P=e[((_|0)==2?s:A)+40>>2]|0,B=U+16|0,_=(e[(e[((_|0)==3?s:s+48|0)+40>>2]|0)+16>>2]|0)+16|0,L=s+16|0,X=(e[L>>2]|0)+16|0,e[W>>2]=e[_>>2],e[W+4>>2]=e[_+4>>2],e[W+8>>2]=e[_+8>>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0,c=0):(a0=f-c,H=+G0(+(v+a0*a0)),_=e[(e[(e[r+60>>2]|0)+16>>2]|0)+248>>2]|0,k0=+((N0(_,i+-1|0)|0)/2|0|0),v=E*k0/H,u[B>>3]=v+c,c=a0*k0/H,Z=U+24|0,u[Z>>3]=c+w,u[m>>3]=v+f,L=U+40|0,u[L>>3]=p+c,c=+(0-_|0),f=a0*c/H,c=E*c/H),n=(n|0)==6,x=D+4|0,z=T+4|0,s=0;;){if((s|0)>=(i|0))break e;_=e[t+(s<<2)>>2]|0,A=_+-48|0;r:do if((e[((e[_>>2]&3|0)==2?_:A)+40>>2]|0)==(P|0))for(e[q>>2]=e[U>>2],e[q+4>>2]=e[U+4>>2],e[q+8>>2]=e[U+8>>2],e[q+12>>2]=e[U+12>>2],e[t0>>2]=e[X>>2],e[t0+4>>2]=e[X+4>>2],e[t0+8>>2]=e[X+8>>2],e[t0+12>>2]=e[X+12>>2],l=0;;){if((l|0)==4)break r;B0=F+(l<<4)|0,D0=U+(l<<4)|0,e[B0>>2]=e[D0>>2],e[B0+4>>2]=e[D0+4>>2],e[B0+8>>2]=e[D0+8>>2],e[B0+12>>2]=e[D0+12>>2],l=l+1|0}else for(e[q>>2]=e[X>>2],e[q+4>>2]=e[X+4>>2],e[q+8>>2]=e[X+8>>2],e[q+12>>2]=e[X+12>>2],e[t0>>2]=e[U>>2],e[t0+4>>2]=e[U+4>>2],e[t0+8>>2]=e[U+8>>2],e[t0+12>>2]=e[U+12>>2],l=0;;){if((l|0)==4)break r;D0=F+(3-l<<4)|0,B0=U+(l<<4)|0,e[D0>>2]=e[B0>>2],e[D0+4>>2]=e[B0+4>>2],e[D0+8>>2]=e[B0+8>>2],e[D0+12>>2]=e[B0+12>>2],l=l+1|0}while(0);if(n){for(e[x>>2]=4,e[D>>2]=W,l=0;(l|0)!=4;)D0=W+(l<<4)|0,B0=F+(l<<4)|0,e[D0>>2]=e[B0>>2],e[D0+4>>2]=e[B0+4>>2],e[D0+8>>2]=e[B0+8>>2],e[D0+12>>2]=e[B0+12>>2],l=l+1|0;e[N>>2]=e[D>>2],e[N+4>>2]=e[D+4>>2],q3(N,T),yi(_,e[((e[_>>2]&3|0)==2?_:A)+40>>2]|0,e[T>>2]|0,e[z>>2]|0,o)}else yi(_,e[((e[_>>2]&3|0)==2?_:A)+40>>2]|0,F,4,o);e[W>>2]=e[q>>2],e[W+4>>2]=e[q+4>>2],e[W+8>>2]=e[q+8>>2],e[W+12>>2]=e[q+12>>2],e[N>>2]=e[t0>>2],e[N+4>>2]=e[t0+4>>2],e[N+8>>2]=e[t0+8>>2],e[N+12>>2]=e[t0+12>>2],zf(r,_,W,N),u[B>>3]=+u[B>>3]+c,u[Z>>3]=+u[Z>>3]+f,u[m>>3]=+u[m>>3]+c,u[L>>3]=+u[L>>3]+f,s=s+1|0}else(n|0)==4&&(Up0(l,r),e[N>>2]=e[l>>2],e[N+4>>2]=e[l+4>>2],e[N+8>>2]=e[l+8>>2],e[N+12>>2]=e[l+12>>2],Xp0(U,N)),yi(s,e[((e[s>>2]&3|0)==2?s:A)+40>>2]|0,U,4,o),e[W>>2]=e[q>>2],e[W+4>>2]=e[q+4>>2],e[W+8>>2]=e[q+8>>2],e[W+12>>2]=e[q+12>>2],e[N>>2]=e[t0>>2],e[N+4>>2]=e[t0+4>>2],e[N+8>>2]=e[t0+8>>2],e[N+12>>2]=e[t0+12>>2],zf(r,s,W,N);while(0);g=Y}function nQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function Up0(r,t){r=r|0,t=t|0,t=e[t+16>>2]|0,u[23305]=(+u[t+32>>3]+ +u[t+16>>3])*.5,u[23306]=(+u[t+40>>3]+ +u[t+24>>3])*.5,e[r>>2]=e[46610],e[r+4>>2]=e[46611],e[r+8>>2]=e[46612],e[r+12>>2]=e[46613]}function Xp0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l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x),e[F>>2]=e[z>>2],e[F+4>>2]=e[z+4>>2],e[F+8>>2]=e[z+8>>2],e[F+12>>2]=e[z+12>>2],w?(F=P+(l<<4)|0,e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[x>>2]=e[Z>>2],e[x+4>>2]=e[Z+4>>2],e[x+8>>2]=e[Z+8>>2],e[x+12>>2]=e[Z+12>>2],gp(_,1-f*.5,B,x),e[F>>2]=e[_>>2],e[F+4>>2]=e[_+4>>2],e[F+8>>2]=e[_+8>>2],e[F+12>>2]=e[_+12>>2],n=n+4|0):n=l,s=s+1|0;c=P+(n<<4)|0,e[c>>2]=e[P>>2],e[c+4>>2]=e[P+4>>2],e[c+8>>2]=e[P+8>>2],e[c+12>>2]=e[P+12>>2],c=P+(n+1<<4)|0,A=P+16|0,e[c>>2]=e[A>>2],e[c+4>>2]=e[A+4>>2],e[c+8>>2]=e[A+8>>2],e[c+12>>2]=e[A+12>>2],n=P+(n+2<<4)|0,c=P+32|0,e[n>>2]=e[c>>2],e[n+4>>2]=e[c+4>>2],e[n+8>>2]=e[c+8>>2],e[n+12>>2]=e[c+12>>2],n=T&2147483647;e:do if((n|0)<201326592){if((n|0)>=83886080){if((n|0)<134217728){if((n|0)<100663296){switch(n|0){case 83886080:break;default:break e}if((i|0)==4){F=j0(192)|0,e[F>>2]=e[t>>2],e[F+4>>2]=e[t+4>>2],e[F+8>>2]=e[t+8>>2],e[F+12>>2]=e[t+12>>2],v=F+16|0,x=t+16|0,e[v>>2]=e[x>>2],e[v+4>>2]=e[x+4>>2],e[v+8>>2]=e[x+8>>2],e[v+12>>2]=e[x+12>>2],v=P+48|0,x=P+64|0,p=+u[x>>3],w=F+32|0,u[w>>3]=p,m=P+56|0,E=P+72|0,q=+u[E>>3],N=F+40|0,u[N>>3]=q,U=+u[v>>3]+p-+u[c>>3],z=F+48|0,u[z>>3]=U,Y=+u[m>>3]+q-+u[P+40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=+u[x>>3],q=q-(f-q),u[z>>3]=q,p=+u[_>>3],U=+u[L>>3],p=p-(U-p),u[Z>>3]=p,u[N>>3]=+u[W>>3]+q-f,u[t>>3]=+u[T>>3]+p-U,e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],y2(r,D,4),r0(F);break}else H0(105438,105449,737,105458)}if((n|0)<117440512){switch(n|0){case 100663296:break;default:break e}W=i+5|0,F=j0(W<<4)|0,N=t+16|0,q=+u[N>>3],q=(+u[t>>3]-q)*.625+q,u[F>>3]=q,T=t+40|0,Y=+u[T>>3],i=t+24|0,_=P+48|0,L=P+56|0,Z=P+72|0,Y=(+u[i>>3]-Y)*.5+Y+(+u[L>>3]-+u[Z>>3])*1.5,u[F+8>>3]=Y,t0=+u[N>>3],t0=(+u[t>>3]-t0)*.25+t0,u[F+16>>3]=t0,u[F+24>>3]=Y,u[F+32>>3]=t0,U=+u[T>>3],u[F+40>>3]=(+u[i>>3]-U)*.5+U,t0=(+u[c>>3]-+u[_>>3])*.5+t0,u[F+48>>3]=t0,U=+u[T>>3],u[F+56>>3]=(+u[i>>3]-U)*.5+U,u[F+64>>3]=t0,t0=+u[T>>3],t0=(+u[i>>3]-t0)*.5+t0+(+u[L>>3]-+u[Z>>3]),u[F+72>>3]=t0,u[F+80>>3]=q,u[F+88>>3]=t0,u[F+96>>3]=q,t0=t0-(+u[L>>3]-+u[Z>>3])*.25,u[F+104>>3]=t0,u[F+112>>3]=+u[c>>3]+q-+u[_>>3],u[F+120>>3]=(+u[L>>3]-+u[Z>>3])*.5+t0,u[F+128>>3]=+u[F>>3],u[F+136>>3]=(+u[L>>3]-+u[Z>>3])*.25+Y,Q2(r,F,W,o),u[D>>3]=+u[N>>3],Y=+u[T>>3],u[D+8>>3]=(+u[i>>3]-Y)*.5+Y,u[D+16>>3]=+u[t>>3],u[D+24>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}else{switch(n|0){case 117440512:break;default:break e}i=i+1|0,F=j0(i<<4)|0,u[F>>3]=+u[A>>3],N=P+56|0,T=P+72|0,u[F+8>>3]=+u[P+24>>3]-(+u[N>>3]-+u[T>>3])*.5,u[F+16>>3]=+u[P+48>>3],Y=+u[N>>3],u[F+24>>3]=Y-(Y-+u[T>>3])*.5,u[F+32>>3]=+u[t+32>>3],D=t+40|0,u[F+40>>3]=(+u[N>>3]-+u[T>>3])*.5+ +u[D>>3],u[F+48>>3]=+u[A>>3],u[F+56>>3]=(+u[N>>3]-+u[T>>3])*.5+ +u[D>>3],Y=+u[t+8>>3],u[F+72>>3]=Y-(Y-+u[t+56>>3])*.5,u[F+64>>3]=+u[t>>3],Q2(r,F,i,o),r0(F);break}}if((n|0)<167772160)if((n|0)<150994944){switch(n|0){case 134217728:break;default:break e}W=i+4|0,F=j0(W<<4)|0,N=t+16|0,U=+u[N>>3],Z=P+48|0,U=(+u[t>>3]-U)*.5+U+(+u[c>>3]-+u[Z>>3])*.25,u[F>>3]=U,T=t+40|0,Y=+u[T>>3],i=t+24|0,Y=(+u[i>>3]-Y)*.5+Y,u[F+8>>3]=Y,u[F+16>>3]=U,_=P+56|0,L=P+72|0,q=(+u[_>>3]-+u[L>>3])*.5+Y,u[F+24>>3]=q,U=(+u[c>>3]-+u[Z>>3])*.5+U,u[F+32>>3]=U,u[F+40>>3]=q,u[F+48>>3]=U,U=(+u[_>>3]-+u[L>>3])*.5+q,u[F+56>>3]=U,t0=+u[N>>3],t0=(+u[t>>3]-t0)*.5+t0+(+u[c>>3]-+u[Z>>3])*-.75,u[F+64>>3]=t0,u[F+72>>3]=U,u[F+80>>3]=t0,u[F+88>>3]=q,t0=+u[N>>3],t0=(+u[t>>3]-t0)*.5+t0+(+u[c>>3]-+u[Z>>3])*-.25,u[F+96>>3]=t0,u[F+104>>3]=q,u[F+112>>3]=t0,u[F+120>>3]=Y,Q2(r,F,W,o),u[D>>3]=+u[N>>3],Y=+u[T>>3],u[D+8>>3]=(+u[i>>3]-Y)*.5+Y,u[D+16>>3]=+u[t>>3],u[D+24>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}else{switch(n|0){case 150994944:break;default:break e}W=i+2|0,F=j0(W<<4)|0,N=t+16|0,q=+u[N>>3],Z=P+48|0,q=(+u[t>>3]-q)*.5+q+(+u[c>>3]-+u[Z>>3])*.75,u[F>>3]=q,T=t+40|0,Y=+u[T>>3],i=t+24|0,Y=(+u[i>>3]-Y)*.5+Y,u[F+8>>3]=Y,u[F+16>>3]=q,_=P+56|0,L=P+72|0,q=(+u[_>>3]-+u[L>>3])*.25+Y,u[F+24>>3]=q,t0=+u[N>>3],u[F+32>>3]=(+u[t>>3]-t0)*.5+t0+(+u[c>>3]-+u[Z>>3])*.25,t0=(+u[_>>3]-+u[L>>3])*.5+q,u[F+40>>3]=t0,U=+u[N>>3],u[F+48>>3]=(+u[t>>3]-U)*.5+U+(+u[c>>3]-+u[Z>>3])*-.25,u[F+56>>3]=t0,t0=+u[N>>3],t0=(+u[t>>3]-t0)*.5+t0+(+u[c>>3]-+u[Z>>3])*-.75,u[F+64>>3]=t0,u[F+72>>3]=q,u[F+80>>3]=t0,u[F+88>>3]=Y,Q2(r,F,W,o),u[D>>3]=+u[N>>3],Y=+u[T>>3],u[D+8>>3]=(+u[i>>3]-Y)*.5+Y,u[D+16>>3]=+u[t>>3],u[D+24>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}else if((n|0)<184549376){switch(n|0){case 167772160:break;default:break e}W=i+1|0,F=j0(W<<4)|0,N=t+16|0,q=+u[N>>3],_=P+48|0,q=+u[c>>3]+q+(+u[t>>3]-q)*.5-+u[_>>3],u[F>>3]=q,T=t+40|0,Y=+u[T>>3],i=t+24|0,L=P+56|0,Z=P+72|0,Y=(+u[i>>3]-Y)*.5+Y+(+u[L>>3]-+u[Z>>3])*.25,u[F+8>>3]=Y,q=q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+4>>2]=e[F+4>>2],e[i+8>>2]=e[F+8>>2],e[i+12>>2]=e[F+12>>2],Ao(r,F,A,0,0,o&255),r0(s);break}if((n|0)<16777216){switch(n|0){case 8:break;default:break e}for(Q2(r,t,i,o),l=D+16|0,n=0;;){if((n|0)>=(i|0))break e;F=n*3|0,o=P+(F+2<<4)|0,e[D>>2]=e[o>>2],e[D+4>>2]=e[o+4>>2],e[D+8>>2]=e[o+8>>2],e[D+12>>2]=e[o+12>>2],F=P+(F+4<<4)|0,e[l>>2]=e[F>>2],e[l+4>>2]=e[F+4>>2],e[l+8>>2]=e[F+8>>2],e[l+12>>2]=e[F+12>>2],y2(r,D,2),n=n+1|0}}switch(n|0){case 16777216:break;default:break e}for(l=i+1|0,s=j0(l<<4)|0,n=1;!((n|0)>=(i|0));)F=s+(n<<4)|0,T=t+(n<<4)|0,e[F>>2]=e[T>>2],e[F+4>>2]=e[T+4>>2],e[F+8>>2]=e[T+8>>2],e[F+12>>2]=e[T+12>>2],n=n+1|0;t=i*3|0,T=P+(t+1<<4)|0,e[s>>2]=e[T>>2],e[s+4>>2]=e[T+4>>2],e[s+8>>2]=e[T+8>>2],e[s+12>>2]=e[T+12>>2],i=s+(i<<4)|0,F=P+(t+-1<<4)|0,e[i>>2]=e[F>>2],e[i+4>>2]=e[F+4>>2],e[i+8>>2]=e[F+8>>2],e[i+12>>2]=e[F+12>>2],Q2(r,s,l,o),r0(s),e[D>>2]=e[F>>2],e[D+4>>2]=e[F+4>>2],e[D+8>>2]=e[F+8>>2],e[D+12>>2]=e[F+12>>2],F=D+16|0,e[F>>2]=e[T>>2],e[F+4>>2]=e[T+4>>2],e[F+8>>2]=e[T+8>>2],e[F+12>>2]=e[T+12>>2],o=D+32|0,u[o>>3]=+u[D>>3]+ +u[F>>3]-+u[P+(t<<4)>>3],u[D+40>>3]=+u[D+8>>3]+ +u[D+24>>3]-+u[P+(t<<4)+8>>3],y2(r,F,2),e[F>>2]=e[o>>2],e[F+4>>2]=e[o+4>>2],e[F+8>>2]=e[o+8>>2],e[F+12>>2]=e[o+12>>2],y2(r,D,2);break}else{if((n|0)<50331648){switch(n|0){case 33554432:break;default:break e}for(l=i+2|0,s=j0(l<<4)|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],A=s+16|0,e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],A=P+48|0,i=P+64|0,u[s+32>>3]=(+u[A>>3]-+u[i>>3])*.3333333333333333+ +u[c>>3],F=P+56|0,n=P+72|0,u[s+40>>3]=(+u[F>>3]-+u[n>>3])*.3333333333333333+ +u[P+40>>3],Y=+u[A>>3],u[s+48>>3]=(Y-+u[i>>3])*.3333333333333333+Y,Y=+u[F>>3],u[s+56>>3]=(Y-+u[n>>3])*.3333333333333333+Y,n=4;!((n|0)>=(l|0));)F=s+(n<<4)|0,i=t+(n+-2<<4)|0,e[F>>2]=e[i>>2],e[F+4>>2]=e[i+4>>2],e[F+8>>2]=e[i+8>>2],e[F+12>>2]=e[i+12>>2],n=n+1|0;Q2(r,s,l,o),r0(s),e[D>>2]=e[A>>2],e[D+4>>2]=e[A+4>>2],e[D+8>>2]=e[A+8>>2],e[D+12>>2]=e[A+12>>2],F=D+16|0,e[F>>2]=e[c>>2],e[F+4>>2]=e[c+4>>2],e[F+8>>2]=e[c+8>>2],e[F+12>>2]=e[c+12>>2],y2(r,D,2);break}if((n|0)>=67108864){switch(n|0){case 67108864:break;default:break e}if((i|0)==4){F=j0(96)|0,e[F>>2]=e[t>>2],e[F+4>>2]=e[t+4>>2],e[F+8>>2]=e[t+8>>2],e[F+12>>2]=e[t+12>>2],i=F+16|0,e[i>>2]=e[c>>2],e[i+4>>2]=e[c+4>>2],e[i+8>>2]=e[c+8>>2],e[i+12>>2]=e[c+12>>2],i=F+32|0,T=P+64|0,e[i>>2]=e[T>>2],e[i+4>>2]=e[T+4>>2],e[i+8>>2]=e[T+8>>2],e[i+12>>2]=e[T+12>>2],i=F+48|0,t=t+32|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],t=F+64|0,i=P+128|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],t=F+80|0,N=P+160|0,e[t>>2]=e[N>>2],e[t+4>>2]=e[N+4>>2],e[t+8>>2]=e[N+8>>2],e[t+12>>2]=e[N+12>>2],Q2(r,F,6,o),r0(F),u[D>>3]=+u[P+176>>3]+ +u[A>>3]-+u[P>>3],u[D+8>>3]=+u[P+184>>3]+ +u[P+24>>3]-+u[P+8>>3],F=D+16|0,e[F>>2]=e[T>>2],e[F+4>>2]=e[T+4>>2],e[F+8>>2]=e[T+8>>2],e[F+12>>2]=e[T+12>>2],y2(r,D,2),e[F>>2]=e[i>>2],e[F+4>>2]=e[i+4>>2],e[F+8>>2]=e[i+8>>2],e[F+12>>2]=e[i+12>>2],y2(r,D,2),e[F>>2]=e[P>>2],e[F+4>>2]=e[P+4>>2],e[F+8>>2]=e[P+8>>2],e[F+12>>2]=e[P+12>>2],y2(r,D,2);break}else H0(105438,105449,714,105458)}switch(n|0){case 50331648:break;default:break e}for(l=i+3|0,s=j0(l<<4)|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],Y=+u[t>>3],u[s+16>>3]=Y-(Y-+u[A>>3])*.25,n=P+56|0,Y=(+u[n>>3]-+u[P+72>>3])*.3333333333333333+ +u[t+8>>3],u[s+24>>3]=Y,t0=+u[t>>3],u[s+32>>3]=t0-(t0-+u[A>>3])*2,u[s+40>>3]=Y,Y=+u[t>>3],u[s+48>>3]=Y-(Y-+u[A>>3])*2.25,u[s+56>>3]=+u[n>>3],u[s+64>>3]=+u[P+48>>3],u[s+72>>3]=+u[n>>3],n=4;!((n|0)>=(l|0));)F=s+(n<<4)|0,i=t+(n+-3<<4)|0,e[F>>2]=e[i>>2],e[F+4>>2]=e[i+4>>2],e[F+8>>2]=e[i+8>>2],e[F+12>>2]=e[i+12>>2],n=n+1|0;Q2(r,s,l,o),r0(s);break}}else if((n|0)<318767104){if((n|0)<251658240){if((n|0)<218103808){switch(n|0){case 201326592:break;default:break e}F=i<<4,z=j0(F)|0,_=t+16|0,Y=+u[_>>3],u[z>>3]=Y,N=t+40|0,t0=+u[N>>3],T=t+24|0,W=P+48|0,L=P+56|0,Z=P+72|0,t0=(+u[T>>3]-t0)*.5+t0+(+u[L>>3]-+u[Z>>3])*.125,u[z+8>>3]=t0,q=(+u[c>>3]-+u[W>>3])*2+Y,u[z+16>>3]=q,u[z+24>>3]=t0,u[z+32>>3]=q,t0=(+u[L>>3]-+u[Z>>3])*.5+t0,u[z+40>>3]=t0,u[z+48>>3]=Y,u[z+56>>3]=t0,Q2(r,z,i,o),r0(z),F=j0(F)|0,t0=+u[c>>3]+ +u[_>>3]-+u[W>>3],u[F>>3]=t0,Y=+u[N>>3],Y=(+u[T>>3]-Y)*.5+Y+(+u[L>>3]-+u[Z>>3])*-.625,u[F+8>>3]=Y,q=+u[c>>3]-+u[W>>3]+t0,W=F+16|0,u[W>>3]=q,u[F+24>>3]=Y,u[F+32>>3]=q,Y=(+u[L>>3]-+u[Z>>3])*.5+Y,u[F+40>>3]=Y,u[F+48>>3]=t0,u[F+56>>3]=Y,Q2(r,F,i,o),u[D>>3]=+u[W>>3],Y=+u[N>>3],u[D+8>>3]=(+u[T>>3]-Y)*.5+Y,u[D+16>>3]=+u[t>>3],u[D+24>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}if((n|0)<234881024){switch(n|0){case 218103808:break;default:break e}F=i<<4,L=j0(F)|0,Y=+u[t>>3],u[L>>3]=Y,W=t+40|0,t0=+u[W>>3],N=t+24|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z>>3]-Y)*.5+Y,u[N>>3]=+u[F>>3],u[o>>3]=(+u[T>>3]-+u[i>>3])*.5+Y,y2(r,D,2),r0(F);break}else{switch(n|0){case 268435456:break;default:break e}F=j0(i<<4)|0,u[F>>3]=+u[t>>3],_=P+48|0,Z=P+56|0,W=P+72|0,u[F+8>>3]=+u[P+24>>3]-(+u[Z>>3]-+u[W>>3])*.5,u[F+16>>3]=+u[_>>3],Y=+u[Z>>3],u[F+24>>3]=Y-(Y-+u[W>>3])*.5,u[F+32>>3]=+u[t+32>>3],N=t+40|0,u[F+40>>3]=(+u[Z>>3]-+u[W>>3])*.5+ +u[N>>3],u[F+48>>3]=+u[t>>3],u[F+56>>3]=(+u[Z>>3]-+u[W>>3])*.5+ +u[N>>3],Q2(r,F,i,o),L=t+16|0,Y=(+u[c>>3]-+u[_>>3])*.25,t0=Y+ +u[L>>3],u[D>>3]=t0,q=+u[N>>3],z=t+24|0,U=+u[Z>>3]-+u[W>>3],q=(+u[z>>3]-q)*.5+q+U*.125,T=D+8|0,u[T>>3]=q,i=D+16|0,u[i>>3]=Y+t0,o=D+24|0,u[o>>3]=q-U*.25,y2(r,D,2),U=(+u[c>>3]-+u[_>>3])*.25,q=U+ +u[L>>3],u[D>>3]=q,t0=+u[N>>3],Y=+u[Z>>3]-+u[W>>3],t0=(+u[z>>3]-t0)*.5+t0+Y*-.125,u[T>>3]=t0,u[i>>3]=U+q,u[o>>3]=Y*.25+t0,y2(r,D,2),t0=(+u[c>>3]-+u[_>>3])*.25,u[D>>3]=t0+ +u[L>>3],Y=(+u[Z>>3]-+u[W>>3])*.75+ +u[N>>3],u[T>>3]=Y,u[i>>3]=+u[t>>3]-t0,u[o>>3]=Y,y2(r,D,2),r0(F);break}else if((n|0)<301989888){switch(n|0){case 285212672:break;default:break e}W=j0(i<<4)|0,_=t+16|0,t0=+u[_>>3],N=P+48|0,t0=(+u[c>>3]-+u[N>>3]+(+u[t>>3]-t0))*.5+t0,u[W>>3]=t0,L=t+40|0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>>3]=q,u[o>>3]=t0*.125+Y,y2(r,D,2),u[D>>3]=+u[Z>>3],Y=+u[W>>3],u[T>>3]=(+u[N>>3]-Y)*.5+Y,u[i>>3]=+u[t>>3],u[o>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}if((n|0)<352321536){switch(n|0){case 335544320:break;default:break e}Z=i+12|0,F=j0(Z<<4)|0,W=t+16|0,f=+u[W>>3],z=P+48|0,f=(+u[t>>3]-f)*.5+f+(+u[c>>3]-+u[z>>3])*.25,u[F>>3]=f,N=t+40|0,U=+u[N>>3],T=t+24|0,B=P+56|0,x=P+72|0,U=(+u[B>>3]-+u[x>>3]+(+u[T>>3]-U))*.5+U,i=F+8|0,u[i>>3]=U,u[F+16>>3]=f,U=(+u[B>>3]-+u[x>>3])*.125+U,_=F+24|0,u[_>>3]=U,t0=f-(+u[c>>3]-+u[z>>3])*.125,L=F+32|0,u[L>>3]=t0,p=(+u[B>>3]-+u[x>>3])*.125+U,u[F+40>>3]=p,u[F+48>>3]=f,q=(+u[B>>3]-+u[x>>3])*.125+p,u[F+56>>3]=q,u[F+64>>3]=f,f=(+u[B>>3]-+u[x>>3])*.125+q,u[F+72>>3]=f,u[F+80>>3]=t0,u[F+88>>3]=f,t0=+u[W>>3],t0=(+u[t>>3]-t0)*.5+t0,u[F+96>>3]=t0,u[F+104>>3]=q,Y=t0-(+u[c>>3]-+u[z>>3])*.125,u[F+112>>3]=Y,u[F+120>>3]=f,Y=Y-(+u[c>>3]-+u[z>>3])*.125,u[F+128>>3]=Y,u[F+136>>3]=f,u[F+144>>3]=Y,u[F+152>>3]=q,q=(+u[c>>3]-+u[z>>3])*.125+Y,u[F+160>>3]=q,u[F+168>>3]=p,u[F+176>>3]=Y,u[F+184>>3]=U,u[F+192>>3]=Y,Y=+u[i>>3],u[F+200>>3]=Y,u[F+208>>3]=q,u[F+216>>3]=Y,i=F+224|0,u[i>>3]=t0,u[F+232>>3]=+u[_>>3],u[F+240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.5+Y,y2(r,D,2),u[D>>3]=+u[Z>>3],Y=+u[W>>3],u[T>>3]=(+u[N>>3]-Y)*.5+Y,u[i>>3]=+u[t>>3],u[o>>3]=(+u[t+8>>3]-+u[t+56>>3])*.5+Y,y2(r,D,2),r0(F);break}}if((n|0)<402653184)if((n|0)<385875968){switch(n|0){case 369098752:break;default:break e}i=i+5|0,F=j0(i<<4)|0,D=P+48|0,u[F>>3]=+u[A>>3]-(+u[c>>3]-+u[D>>3])*.5,W=P+56|0,T=P+72|0,u[F+8>>3]=+u[P+24>>3]-(+u[W>>3]-+u[T>>3])*.5,u[F+16>>3]=+u[D>>3],Y=+u[W>>3],u[F+24>>3]=Y-(Y-+u[T>>3])*.5,u[F+32>>3]=+u[t+32>>3],N=t+40|0,u[F+40>>3]=+u[N>>3],Y=+u[c>>3],u[F+48>>3]=(Y-+u[D>>3])*.5+Y,u[F+56>>3]=+u[N>>3],Y=+u[c>>3],u[F+64>>3]=(Y-+u[D>>3])*.5+Y,u[F+72>>3]=(+u[W>>3]-+u[T>>3])*.5+ +u[N>>3],u[F+80>>3]=+u[A>>3]-(+u[c>>3]-+u[D>>3])*.5,u[F+88>>3]=(+u[W>>3]-+u[T>>3])*.5+ +u[N>>3],u[F+96>>3]=+u[A>>3]-(+u[c>>3]-+u[D>>3])*.5,N=t+56|0,u[F+104>>3]=+u[N>>3],T=t+8|0,Y=+u[T>>3],u[F+120>>3]=Y-(Y-+u[N>>3])*.5,u[F+112>>3]=+u[t>>3],u[F+136>>3]=+u[T>>3],u[F+128>>3]=+u[A>>3]-(+u[c>>3]-+u[D>>3])*.5,Q2(r,F,i,o),r0(F);break}else{switch(n|0){case 385875968:break;default:break e}i=i+3|0,F=j0(i<<4)|0,D=P+48|0,u[F>>3]=+u[A>>3]-(+u[c>>3]-+u[D>>3])*.5,W=P+56|0,T=P+72|0,u[F+8>>3]=+u[P+24>>3]-(+u[W>>3]-+u[T>>3])*.5,u[F+16>>3]=+u[D>>3],Y=+u[W>>3],u[F+24>>3]=Y-(Y-+u[T>>3])*.5,u[F+32>>3]=+u[t+32>>3],N=t+40|0,u[F+40>>3]=(+u[W>>3]-+u[T>>3])*.5+ +u[N>>3],u[F+48>>3]=+u[A>>3]-(+u[c>>3]-+u[D>>3])*.5,u[F+56>>3]=(+u[W>>3]-+u[T>>3])*.5+ +u[N>>3],u[F+64>>3]=+u[A>>3]-(+u[c>>3]-+u[D>>3])*.5,N=t+56|0,u[F+72>>3]=+u[N>>3],T=t+8|0,Y=+u[T>>3],u[F+88>>3]=Y-(Y-+u[N>>3])*.5,u[F+80>>3]=+u[t>>3],u[F+104>>3]=+u[T>>3],u[F+96>>3]=+u[A>>3]-(+u[c>>3]-+u[D>>3])*.5,Q2(r,F,i,o),r0(F);break}else if((n|0)<419430400){switch(n|0){case 402653184:break;default:break e}i=i+3|0,F=j0(i<<4)|0,u[F>>3]=+u[t>>3],W=t+8|0,N=P+48|0,T=P+56|0,D=P+72|0,u[F+8>>3]=+u[W>>3]-(+u[T>>3]-+u[D>>3])*.5,Y=+u[c>>3],u[F+16>>3]=(Y-+u[N>>3])*.5+Y,u[F+24>>3]=+u[W>>3]-(+u[T>>3]-+u[D>>3])*.5,Y=+u[c>>3],u[F+32>>3]=(Y-+u[N>>3])*.5+Y,u[F+40>>3]=+u[P+40>>3],u[F+48>>3]=+u[t+16>>3],Y=+u[t+24>>3],W=t+40|0,u[F+56>>3]=Y-(Y-+u[W>>3])*.5,Y=+u[c>>3],u[F+64>>3]=(Y-+u[N>>3])*.5+Y,u[F+72>>3]=+u[W>>3],u[F+88>>3]=(+u[T>>3]-+u[D>>3])*.5+ +u[W>>3],Y=+u[c>>3],u[F+80>>3]=(Y-+u[N>>3])*.5+Y,u[F+104>>3]=(+u[T>>3]-+u[D>>3])*.5+ +u[t+56>>3],u[F+96>>3]=+u[t>>3],Q2(r,F,i,o),r0(F);break}else{switch(n|0){case 419430400:break;default:break e}i=i+5|0,F=j0(i<<4)|0,u[F>>3]=+u[t>>3],D=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+96|0,e[s>>2]=e[A>>2],e[s+4>>2]=e[A+4>>2],e[s+8>>2]=e[A+8>>2],e[s+12>>2]=e[A+12>>2],Ao(r,t,i,0,0,n&255),Ao(r,l,7,0,0,0),g=o}function gp(r,t,i,n){r=r|0,t=+t,i=i|0,n=n|0;var o=0,l=0;l=+u[i>>3],o=+u[i+8>>3],o=(+u[n+8>>3]-o)*t+o,u[r>>3]=(+u[n>>3]-l)*t+l,u[r+8>>3]=o}function ZA(r){if(r=r|0,r=e[(e[r+16>>2]|0)+8>>2]|0,r)if(r=e[e[r+4>>2]>>2]|0,(r|0)!=91)if((r|0)==94)r=2;else return((r|0)==93?3:(r|0)==96?4:0)|0;else r=1;else r=0;return r|0}function $p0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0;me=g,g=g+144|0,U=me+112|0,t0=me+104|0,D=me+96|0,P=me+88|0,l=me+80|0,F0=me+64|0,V0=me+48|0,a0=me+40|0,k0=me+32|0,s=me+24|0,p=me+16|0,T=me+136|0,N=me+128|0,F=me,ze=j0(48)|0,b0=r+16|0,O0=e[(e[(e[b0>>2]|0)+8>>2]|0)+8>>2]|0,o=(O0|0)==1616,Z0=e[O0>>2]|0,t=e[O0+4>>2]|0,i=e[O0+8>>2]|0,c=+u[O0+16>>3],f=+u[O0+32>>3],w=+u[O0+24>>3],Z0=Z0|(jt(he(r,105511)|0)|0)&255;do if(o)n=0,A=0;else{if(!Z0){O0=e[b0>>2]|0,A=+u[O0+32>>3]*72,n=+u[O0+40>>3]*72,n=+(~~(n+(n>=0?.5:-.5))|0),A=+(~~(A+(A>=0?.5:-.5))|0);break}A=+ek0(r),A>0||(O0=e[b0>>2]|0,n=+u[O0+32>>3],A=+u[O0+40>>3],A=(n=0?.5:-.5))|0)),n=A}while(0);if(O0=pr(r,e[47160]|0,t,0)|0,J0=+sr(r,e[47162]|0,0,-360)+c,i?(X=i,D0=f,B0=w):(D0=+sr(r,e[47163]|0,0,-100),X=pr(r,e[47159]|0,4,0)|0,B0=+sr(r,e[47164]|0,0,-100)),t=e[(e[b0>>2]|0)+104>>2]|0,i=t+24|0,e[F0>>2]=e[i>>2],e[F0+4>>2]=e[i+4>>2],e[F0+8>>2]=e[i+8>>2],e[F0+12>>2]=e[i+12>>2],v=+u[F0>>3],v>0?o||(q=11):o|!(+u[F0+8>>3]>0)||(q=11),(q|0)==11){t=he(r,105496)|0;do if(t){if(u[p>>3]=0,u[s>>3]=0,e[l>>2]=s,e[l+4>>2]=p,t=X2(t,105503,l)|0,c=+u[s>>3],c<0&&(u[s>>3]=0,c=0),f=+u[p>>3],f<0?(u[p>>3]=0,w=0):w=f,(t|0)<=0){f=v+16,u[F0>>3]=f,c=8;break}c=c*72,c=+(~~(c+(c>=0?.5:-.5))<<1|0),f=v+c,u[F0>>3]=f,(t|0)!=1&&(c=w*72,c=+(~~(c+(c>=0?.5:-.5))<<1|0))}else f=v+16,u[F0>>3]=f,c=8;while(0);t=F0+8|0,u[t>>3]=+u[t>>3]+c,t=e[(e[b0>>2]|0)+104>>2]|0,v=f}E=+u[t+24>>3],c=+u[e[(e[(We(r)|0)+16>>2]|0)+8>>2]>>3],c>0?(Y=c*72,Y=+(~~(Y+(Y>=0?.5:-.5))|0),H=+AQ(v,Y),u[F0>>3]=H,p=F0+8|0,u[p>>3]=+AQ(+u[p>>3],Y)):H=v,t=e[(e[b0>>2]|0)+8>>2]|0;do if(C[t+12>>0]|0)if(t=e[t>>2]|0,(C[t>>0]|0)==99&&!(ge(t,105519)|0))if(i=he(r,105526)|0,e7(T,We(r)|0,i),t=e[T>>2]|0,o=e[T+4>>2]|0,(o&t|0)==-1){t=te(r)|0,e[P>>2]=i|0?i:105536,e[P+4>>2]=t,$0(0,105542,P)|0,i=0,t=0;break}else{C[(e[(We(r)|0)+16>>2]|0)+114>>0]=1,i=t+2|0,t=o+2|0;break}else i=0,t=0;else if(i=he(r,109025)|0,i|0&&C[i>>0]|0)if(e7(N,We(r)|0,i),t=e[N>>2]|0,o=e[N+4>>2]|0,(o&t|0)==-1){t=te(r)|0,e[D>>2]=i,e[D+4>>2]=t,$0(0,105587,D)|0,i=0,t=0;break}else{C[(e[(We(r)|0)+16>>2]|0)+114>>0]=1,i=t+2|0,t=o+2|0;break}else i=0,t=0;while(0);Y=+(i|0),u[V0>>3]=H>Y?H:Y,Y=+u[F0+8>>3],m=+(t|0),t=V0+8|0,u[t>>3]=Y>m?Y:m,i=(X|0)<3&(B0!=0|D0!=0)?120:X,o=he(r,105628)|0,o?(l=C[o>>0]|0,l=l<<24>>24==116?116:l<<24>>24==98?98:99):l=99,o=e[b0>>2]|0,C[(e[o+104>>2]|0)+80>>0]=l,(i|0)==4&&(B0==0?((~~(J0+(J0>=0?.5:-.5))|0)%90|0|0)==0:0)&D0==0?p=1:q=39;do if((q|0)==39){if(o=e[(e[(e[o+8>>2]|0)+8>>2]|0)+44>>2]|0,o|0){p=e[o>>2]|0,e[U>>2]=e[V0>>2],e[U+4>>2]=e[V0+4>>2],e[U+8>>2]=e[V0+8>>2],e[U+12>>2]=e[V0+12>>2],Bt[p&63](F,U),e[V0>>2]=e[F>>2],e[V0+4>>2]=e[F+4>>2],e[V0+8>>2]=e[F+8>>2],e[V0+12>>2]=e[F+12>>2],p=0;break}c=+u[t>>3],f=c*1.4142135623730951,n>f&l<<24>>24==99?(w=c/n,w=+G0(+(1/(1-w*w))),w=+u[V0>>3]*w,u[V0>>3]=w):(w=+u[V0>>3]*1.4142135623730951,u[V0>>3]=w,u[t>>3]=f,c=f),(i|0)>2&&(W=+ee(+(3.141592653589793/+(i|0))),u[V0>>3]=w/W,u[t>>3]=c/W),p=0}while(0);c=+u[t>>3],o=wt(r,e[47165]|0,137308)|0,(C[o>>0]|0)==115&&!(ge(o,108230)|0)?(u[V0>>3]=A,u[t>>3]=n,t0=ze+40|0,e[t0>>2]=e[t0>>2]|2048):((jt(o)|0)<<24>>24?(q=e[(e[b0>>2]|0)+104>>2]|0,!(A<+u[q+24>>3])&&!(n<+u[q+32>>3])||(F=te(r)|0,q=te(We(r)|0)|0,e[t0>>2]=F,e[t0+4>>2]=q,$0(0,105637,t0)|0),u[V0>>3]=A):(W=+u[V0>>3],A=A>W?A:W,u[V0>>3]=A,W=+u[t>>3],n=n>W?n:W),u[t>>3]=n),Z0?(Z=A>n?A:n,u[t>>3]=Z,u[V0>>3]=Z,W=Z):(W=n,Z=A);do if((jt(wt(r,e[47156]|0,137308)|0)|0)<<24>>24)n=H;else{if(p){n=+u[(H>+u[V0>>3]?F0:V0)>>3];break}n=+u[t>>3],Y>3]*+G0(+(1-Y*Y/(n*n))),n=H>n?H:n):n=H}while(0);o=e[(e[b0>>2]|0)+104>>2]|0,u[o+40>>3]=E-v+n,N=ze+40|0,e[N>>2]&2048||(L=+u[t>>3]-c,u[o+48>>3]=(Y1,o=s?O0:1;e:do if((i|0)<3)if(o=j0(o<<5)|0,A=+u[V0>>3]*.5,n=+u[t>>3]*.5,u[o>>3]=-A,u[o+8>>3]=-n,u[o+16>>3]=A,u[o+24>>3]=n,s){for(i=1,l=2;(i|0)!=(O0|0);)Z=A+4,W=n+4,u[o+(l<<4)>>3]=-Z,u[o+(l<<4)+8>>3]=-W,k0=l|1,u[o+(k0<<4)>>3]=Z,u[o+(k0<<4)+8>>3]=W,i=i+1|0,l=l+2|0,A=Z,n=W;u[V0>>3]=A*2,u[t>>3]=n*2,i=2}else i=2;else{o=j0(N0(o<<4,i)|0)|0,l=e[(e[(e[(e[b0>>2]|0)+8>>2]|0)+8>>2]|0)+44>>2]|0;r:do if(l)Bt[e[l+4>>2]&63](o,V0),A=+u[t>>3]*.5,n=+u[V0>>3]*.5;else{for(v=6.283185307179586/+(i|0),B=v*.5,m=+le(+B),E=+Pf(+L0(+D0)+ +L0(+B0),1),B=B0*1.4142135623730951/+ee(+B),x=D0*.5,l8((v+-3.141592653589793)*.5,a0,k0),z=J0*.017453292519943295,A=0,n=0,c=0,l=0,f=+u[k0>>3]*.5,w=+u[a0>>3]*.5;;){if((l|0)>=(i|0))break r;if(c=c+v,l8(c,a0,k0),f=+u[k0>>3]*m+f,w=+u[a0>>3]*m+w,L=(w*B+E)*f+x*w,l8(+I2(+w,+L)+z,a0,k0),L=+Pf(L,w),_=+u[k0>>3]*L*+u[V0>>3],L=+u[a0>>3]*L*+u[t>>3],pe=+L0(+_),n=pe>n?pe:n,pe=+L0(+L),A=pe>A?pe:A,u[o+(l<<4)>>3]=_,u[o+(l<<4)+8>>3]=L,p)break;l=l+1|0}pe=-_,u[o+16>>3]=pe,u[o+24>>3]=L,u[o+32>>3]=pe,pe=-L,u[o+40>>3]=pe,u[o+48>>3]=_,u[o+56>>3]=pe}while(0);for(n=n*2,A=A*2,Z=Z>n?Z:n,u[V0>>3]=Z,pe=W>A?W:A,u[t>>3]=pe,n=Z/n,A=pe/A,l=0;!((l|0)>=(i|0));)t0=o+(l<<4)|0,r=o+(l<<4)+8|0,pe=+u[r>>3]*A,u[t0>>3]=+u[t0>>3]*n,u[r>>3]=pe,l=l+1|0;if(s){s=i+-1|0,A=+u[o>>3],c=+u[o+8>>3],n=+I2(+(c-+u[o+(s<<4)+8>>3]),+(A-+u[o+(s<<4)>>3])),s=0;r:for(;!((s|0)>=(i|0));)for(p=s+1|0,l=(p|0)%(i|0)|0,f=+u[o+(l<<4)>>3],w=+u[o+(l<<4)+8>>3],v=+I2(+(w-c),+(f-A)),W=(n+3.141592653589793-v)*.5,pe=4/+le(+W),l8(n-W,a0,k0),u[a0>>3]=+u[a0>>3]*pe,u[k0>>3]=+u[k0>>3]*pe,l=1,n=c;;){if((l|0)==(O0|0)){n=v,s=p,A=f,c=w;continue r}W=+u[k0>>3]+A,pe=+u[a0>>3]+n,r=(N0(l,i)|0)+s|0,u[o+(r<<4)>>3]=W,u[o+(r<<4)+8>>3]=pe,l=l+1|0,A=W,n=pe}for(s=N0(i,O0+-1|0)|0,l=0;;){if((l|0)>=(i|0))break e;k0=l+s|0,W=+u[o+(k0<<4)+8>>3],Z=+L0(+ +u[o+(k0<<4)>>3])*2,pe=+u[V0>>3],u[V0>>3]=Z>pe?Z:pe,W=+L0(+W)*2,pe=+u[t>>3],u[t>>3]=W>pe?W:pe,l=l+1|0}}}while(0);e[ze>>2]=Z0,e[ze+4>>2]=O0,e[ze+8>>2]=i,u[ze+16>>3]=J0,u[ze+32>>3]=D0,u[ze+24>>3]=B0,e[ze+44>>2]=o,n=+u[V0>>3],e[N>>2]&2048?(i=e[b0>>2]|0,u[i+32>>3]=+u[(H>n?F0:V0)>>3]*.013888888888888888,t=(Y>+u[t>>3]?F0:V0)+8|0):(i=e[b0>>2]|0,u[i+32>>3]=n*.013888888888888888),u[i+40>>3]=+u[t>>3]*.013888888888888888,e[i+12>>2]=ze,g=me}function Kp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+64|0,A=p+40|0,n=p+32|0,c=p+16|0,w=p,i=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]|0)>>>2&1^1,f=r+16|0,o=e[e[(e[f>>2]|0)+104>>2]>>2]|0,e[47282]=o,o=d2(o)|0,o=j0(((o|0)>1?o:1)+1|0)|0,t=kC(r,i,1,o)|0,t||(e[n>>2]=e[e[(e[f>>2]|0)+104>>2]>>2],$0(1,105472,n)|0,e[47282]=105493,t=kC(r,i,1,o)|0),r0(o),oQ(A,r,t),i=e[f>>2]|0,s=+u[i+32>>3]*72,s=+(~~(s+(s>=0?.5:-.5))|0),u[w>>3]=s,l=+u[i+40>>3]*72,l=+(~~(l+(l>=0?.5:-.5))|0),i=w+8|0,u[i>>3]=l,(jt(wt(r,e[47165]|0,137308)|0)|0)<<24>>24?(i=t+8|0,n=t):(s=+u[(+u[t>>3]>s?t:w)>>3],u[w>>3]=s,n=t+8|0,l=+u[(+u[n>>3]>l?t:w)+8>>3],u[i>>3]=l,i=n,n=t),r=(jt(wt(r,e[47156]|0,137308)|0)|0)&255,e[A>>2]=e[w>>2],e[A+4>>2]=e[w+4>>2],e[A+8>>2]=e[w+8>>2],e[A+12>>2]=e[w+12>>2],lQ(t,A,r),Sf(c,s*-.5,l*.5),e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],sQ(t,A,15),w=e[f>>2]|0,u[w+32>>3]=+u[n>>3]*.013888888888888888,u[w+40>>3]=(+u[i>>3]+1)*.013888888888888888,e[w+12>>2]=t,g=p}function bp0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;if(A=j0(48)|0,c=r+16|0,l=e[(e[(e[(e[c>>2]|0)+8>>2]|0)+8>>2]|0)+4>>2]|0,o=+sr(r,e[47146]|0,17976931348623157e292,0),t=+sr(r,e[47145]|0,17976931348623157e292,0),o=o0?o>3e-4?o:3e-4:o,s=e[c>>2]|0,u[s+40>>3]=o,u[s+32>>3]=o,t=o*72,l=pr(r,e[47160]|0,l,0)|0,s=j0((l|0)<1?32:l<<5)|0,o=o*36,n=-o,u[s>>3]=n,u[s+8>>3]=n,u[s+16>>3]=o,u[s+24>>3]=o,(l|0)>1){for(r=1,i=2,n=o,t=o;(r|0)!=(l|0);)f=n+4,o=t+4,u[s+(i<<4)>>3]=-f,u[s+(i<<4)+8>>3]=-o,w=i|1,u[s+(w<<4)>>3]=f,u[s+(w<<4)+8>>3]=o,r=r+1|0,i=i+2|0,n=f,t=o;t=n*2}e[A>>2]=1,e[A+4>>2]=l,e[A+8>>2]=2,w=A+16|0,e[w>>2]=0,e[w+4>>2]=0,e[w+8>>2]=0,e[w+12>>2]=0,e[w+16>>2]=0,e[w+20>>2]=0,e[A+44>>2]=s,f=t*.013888888888888888,w=e[c>>2]|0,u[w+32>>3]=f,u[w+40>>3]=f,e[w+12>>2]=A}function kC(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;o=j0(72)|0,w=e[(e[r+16>>2]|0)+104>>2]|0,f=0,l=1,s=e[47282]|0;e:for(;;){switch(A=C[s>>0]|0,A<<24>>24){case 0:break e;case 92:{switch(s=s+1|0,A=C[s>>0]|0,A<<24>>24){case 124:case 125:case 123:case 92:{c=f;break}default:U=4}break}default:U=4}if((U|0)==4){switch(U=0,A<<24>>24){case 123:{c=f+1|0;break}case 125:{c=f+-1|0;break}default:c=f,l=l+((f|0)==0&A<<24>>24==124&1)|0}if((c|0)<0)break}f=c,s=s+1|0}D=o+56|0,e[D>>2]=j0(l<<2)|0,C[o+64>>0]=t,W=(t|0)==0&1,N=w+82|0,T=n+1|0,_=(i|0)!=0,L=w+16|0,Z=w+4|0,z=w+8|0,A=0,f=0,t=0,x=0,c=0,i=0,w=n,l=0,s=0;e:for(;;){v=A,A=0;r:for(;;){t:for(;;){B=i;i:for(;;){E=A,p=l;n:for(;;){m=f;o:for(;;){for(;;){if(x){U=78;break e}if(f=e[47282]|0,l=C[f>>0]|0,(l+-1&255)>=31)break;e[47282]=f+1}switch(l<<24>>24|0){case 92:{U=53;break t}case 0:case 124:case 125:break i;case 60:break n;case 62:break o;case 123:break;default:{A=t,l=f;break t}}if(l=f+1|0,e[47282]=l,c|0){U=34;break e}if(!(C[l>>0]|0)){U=34;break e}if(i=kC(r,W,0,n)|0,e[(e[D>>2]|0)+(m<<2)>>2]=i,i)m=m+1|0,c=4;else{U=36;break e}}if(C[N>>0]|0){A=t,l=f;break t}if(!(c&16)){U=27;break e}p>>>0>T>>>0&&(P=p+-1|0,(P|0)!=(B|0))?l=(C[P>>0]|0)==32?P:p:l=p,C[l>>0]=0,E=C2(n)|0,e[47282]=(e[47282]|0)+1,f=m,c=c&-17,p=l}if(c&6|0){U=22;break e}if(C[N>>0]|0){A=t,l=f;break t}e[47282]=f+1,f=m,c=c|18,A=E,B=n,l=n}if(!((c&16|0)==0&(_|l<<24>>24!=0))){U=38;break e}switch(c&4?(A=v,f=m):(A=j0(72)|0,e[(e[D>>2]|0)+(m<<2)>>2]=A,f=m+1|0),E|0&&(e[A+60>>2]=E),c&5||(C[n+s>>0]=32,c=c|1,s=s+1|0),l=n+s|0,c&1&&((s|0)>1&&(X=l+-1|0,(X|0)!=(w|0))&&(l=(C[X>>0]|0)==32?X:l),C[l>>0]=0,w=C2(n)|0,e[A+52>>2]=LA(r,w,C[N>>0]|0?2:0,+u[L>>3],e[Z>>2]|0,e[z>>2]|0)|0,C[A+64>>0]=1,w=n,s=0),l=e[47282]|0,C[l>>0]|0){case 0:{x=1,i=B,l=p;continue e}case 125:{U=51;break e}default:}e[47282]=l+1,v=A,c=0,A=0,i=B,l=p}t:do if((U|0)==53){switch(U=0,A=n+s|0,l=f+1|0,C[l>>0]|0){case 0:{A=t,l=f;break t}case 62:case 60:case 124:case 125:case 123:{A=t;break}case 32:{C[N>>0]|0?U=55:A=1;break}default:U=55}(U|0)==55&&(U=0,C[A>>0]=92,A=t,c=c|9,s=s+1|0),e[47282]=l}while(0);if(t=n+s|0,c&4|0&&(C[l>>0]|0)!=32){U=59;break e}for(c&24||(c=(C[l>>0]|0)==32?c:c|9),c&8?(f=C[l>>0]|0,i=(A|0)!=0,!(i|f<<24>>24!=32)&&(C[t+-1>>0]|0)==32&&!(C[N>>0]|0)||(C[t>>0]=f,s=s+1|0),i?(i=B,w=n+s+-1|0):i=B):c&16?(f=C[l>>0]|0,t=(A|0)!=0,t|f<<24>>24!=32?U=73:(p|0)!=(n|0)?(C[p+-1>>0]|0)==32?f=p:U=73:f=n,(U|0)==73&&(U=0,C[p>>0]=f,f=p+1|0,l=e[47282]|0),i=t?f+-1|0:B,p=f):i=B,l=l+1|0,e[47282]=l;;){if((C[l>>0]|0)>=0){f=m,t=A,A=E,l=p;continue r}B=l+1|0,e[47282]=B,C[n+s>>0]=C[l>>0]|0,s=s+1|0,l=B}}}return(U|0)==22||(U|0)==27||(U|0)==34||(U|0)==36||(U|0)==38?(_f(o,E),o=0):(U|0)==51?(e[47282]=l+1,e[o+48>>2]=f):(U|0)==59?(_f(o,E),o=0):(U|0)==78&&(e[o+48>>2]=m),o|0}function oQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+64|0,A=x+48|0,c=x+40|0,f=x+32|0,B=x+16|0,E=x,s=e[i+52>>2]|0;e:do if(s){if(o=+u[s+24>>3],n=+u[s+32>>3],o>0|n>0){s=he(t,105496)|0;do if(s){if(e[A>>2]=c,e[A+4>>2]=f,s=X2(s,105503,A)|0,(s|0)<=0){l=8,o=o+16;break}l=+u[c>>3]*72,l=+(~~(l+(l>=0?.5:-.5))<<1|0),o=o+l,(s|0)!=1&&(l=+u[f>>3]*72,l=+(~~(l+(l>=0?.5:-.5))<<1|0))}else l=8,o=o+16;while(0);n=l+n}u[B>>3]=o,u[B+8>>3]=n}else for(f=B+8|0,w=i+48|0,p=i+56|0,v=i+64|0,m=E+8|0,e[B>>2]=0,e[B+4>>2]=0,e[B+8>>2]=0,e[B+12>>2]=0,s=0;;){if((s|0)>=(e[w>>2]|0))break e;oQ(E,t,e[(e[p>>2]|0)+(s<<2)>>2]|0),C[v>>0]|0?(u[B>>3]=+u[B>>3]+ +u[E>>3],A=f,c=(+u[f>>3]>+u[m>>3]?B:E)+8|0):(u[f>>3]=+u[f>>3]+ +u[m>>3],A=B,c=+u[B>>3]>+u[E>>3]?B:E),u[A>>3]=+u[c>>3],s=s+1|0}while(0);e[i>>2]=e[B>>2],e[i+4>>2]=e[B+4>>2],e[i+8>>2]=e[B+8>>2],e[i+12>>2]=e[B+12>>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(c,+u[r>>3]+E,m),e[A>>2]=e[c>>2],e[A+4>>2]=e[c+4>>2],e[A+8>>2]=e[c+8>>2],e[A+12>>2]=e[c+12>>2],A=e[r+48>>2]|0,c=A+-1|0,f=(i|0)==0,w=r+56|0,l=r+64|0,o=0;!((o|0)>=(A|0));){do if(f)r=0;else if(r=(o|0)==0,n=(o|0)==(c|0),C[l>>0]|0)if(r){r=n?15:13;break}else{r=n?7:5;break}else if(r){r=n?15:14;break}else{r=n?11:10;break}while(0);n=e[(e[w>>2]|0)+(o<<2)>>2]|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],sQ(n,s,r&i),C[l>>0]|0?u[t>>3]=+u[e[(e[w>>2]|0)+(o<<2)>>2]>>3]+ +u[t>>3]:u[p>>3]=+u[p>>3]-+u[(e[(e[w>>2]|0)+(o<<2)>>2]|0)+8>>3],o=o+1|0}g=v}function _f(r,t){r=r|0,t=t|0,vC(r),r0(t)}function vC(r){r=r|0;var t=0,i=0,n=0;for(i=r+48|0,n=r+56|0,t=0;!((t|0)>=(e[i>>2]|0));)vC(e[(e[n>>2]|0)+(t<<2)>>2]|0),t=t+1|0;r0(e[r+60>>2]|0),an(e[r+52>>2]|0),r0(e[n>>2]|0),r0(r)}function ek0(r){r=r|0;var t=0,i=0;return i=+sr(r,e[47146]|0,0,.01),t=+sr(r,e[47145]|0,0,.02),t=(i>t?i:t)*72,+ +(~~(t+(t>=0?.5:-.5))|0)}function AQ(r,t){r=+r,t=+t;var i=0;return i=~~(r/t),+(+((+(i|0)*t+1e-5>2]|0)+8>>2]|0,r?r=(e[e[r+4>>2]>>2]|0)==91&1:r=0,r|0}function mC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;n=e[47283]|0;e:do if(!n)t=0;else for(o=e[47284]|0,i=0;;){if((i|0)>=(o|0)){t=0;break e}if(t=e[n+(i<<2)>>2]|0,l=e[t>>2]|0,(C[l>>0]|0)==(C[r>>0]|0)&&!(ge(l,r)|0))break e;i=i+1|0}while(0);return t|0}function tk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;Zp(he(t,105526)|0)|0?(C[r>>0]|0)==101&&!(ge(r,105685)|0)?(t=101,o=6):(r=105519,o=4):o=4,(o|0)==4&&(t=C[r>>0]|0,t<<24>>24==99?ge(r,105519)|0?(t=99,o=6):o=11:o=6);e:do if((o|0)==6)for(i=20848;;){if(n=e[i>>2]|0,!n){o=11;break e}if((C[n>>0]|0)==t<<24>>24&&!(ge(n,r)|0)){r=i;break e}i=i+16|0}while(0);return(o|0)==11&&(r=ik0(r)|0),r|0}function ik0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(l=g,g=g+16|0,o=l,t=mC(r)|0,!t){n=e[47284]|0,t=n+1|0,e[47284]=t,i=e[47283]|0,i?t=Ve(i,t<<2)|0:t=_0(t<<2)|0,e[47283]=t,t=j0(16)|0,e[(e[47283]|0)+(n<<2)>>2]=t,e[t>>2]=e[5212],e[t+4>>2]=e[5213],e[t+8>>2]=e[5214],e[t+12>>2]=e[5215],i=C2(r)|0,e[t>>2]=i;do{if((C[r>>0]|0)==99&&!(ge(r,105519)|0)){i=1;break}e[o>>2]=e[5212],e[o+4>>2]=i,$0(0,105690,o)|0,i=0}while(0);C[t+12>>0]=i}return g=l,t|0}function nk0(r,t){r=r|0,t=t|0;var i=0,n=0;n=+u[t>>3]*.5257311121191336,i=+u[t+8>>3]*.8944271909999159,i=n>i?n:i,u[r>>3]=i*4.97979656976556,u[r+8>>3]=i*4.73606797749979}function ok0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(n=+u[t>>3],f=t+8|0,o=+u[f>>3],i=o/n,i>.9510565162951536?c=o*1.0514622242382672:i<.9510565162951536?(c=n,o=n*.9510565162951536):c=n,n=c*.5257311121191336,s=c*.20081141588622725,A=c*.05020285397155681,i=.3141592653589793,l=0;!((l|0)>=10);)u[r+(l<<4)>>3]=+ee(+i)*n,u[r+(l<<4)+8>>3]=+le(+i)*n-A,p=i+.6283185307179586,w=l|1,u[r+(w<<4)>>3]=+ee(+p)*s,u[r+(w<<4)+8>>3]=+le(+p)*s-A,i=i+1.2566370614359172,l=l+2|0;u[t>>3]=c,u[f>>3]=o}function lk0(r){r=r|0,r=e[(e[r+16>>2]|0)+12>>2]|0,r|0&&(r0(e[r+44>>2]|0),r0(r))}function sk0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;if(p=g,g=g+80|0,c=p+40|0,o=p,w=p+64|0,l=p+56|0,C[i>>0]|0){s=n|0?n:106356,e[w>>2]=15,A=t+16|0,n=e[A>>2]|0;do if(C[(e[n+104>>2]|0)+82>>0]|0){if(n=hn0(t,i,w)|0,!n){n=e[A>>2]|0,f=8;break}Qh(t,n,o,s,e[w>>2]|0,0)|0&&(e[c>>2]=te(t)|0,e[c+4>>2]=i,e[c+8>>2]=s,$0(0,106358,c)|0)}else f=8;while(0);(f|0)==8&&((e[(e[n+8>>2]|0)+8>>2]|0)==1664?l=0:(e[l>>2]=t,e[l+4>>2]=0),Qh(t,0,o,i,e[w>>2]|0,l)|0&&wQ(t,i)),e[o+36>>2]=0,l=r+40|0;do e[r>>2]=e[o>>2],r=r+4|0,o=o+4|0;while((r|0)<(l|0))}else{o=4208,l=r+40|0;do e[r>>2]=e[o>>2],r=r+4|0,o=o+4|0;while((r|0)<(l|0))}g=p}function uQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;if(E=g,g=g+112|0,w=E+96|0,f=E+80|0,v=E+64|0,c=E+48|0,m=E+32|0,p=E,o=E+16|0,!r)e[47287]=0,r=0;else{l=e[r+4>>2]|0,r=e[r>>2]|0,s=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[w>>2]=e[t>>2],e[w+4>>2]=e[t+4>>2],e[w+8>>2]=e[t+8>>2],e[w+12>>2]=e[t+12>>2],_s(o,w,s),e[m>>2]=e[o>>2],e[m+4>>2]=e[o+4>>2],e[m+8>>2]=e[o+8>>2],e[m+12>>2]=e[o+12>>2];e:do if(l)i=+u[l+8>>3],n=+u[l+24>>3],B=+u[m>>3],+u[l>>3]<=B&&B<=+u[l+16>>3]&&(A=+u[m+8>>3],i<=A)?r=A<=n&1:r=0;else for((r|0)==(e[47287]|0)?(o=e[47288]|0,l=e[47290]|0,s=e[47289]|0):(l=e[(e[r+16>>2]|0)+12>>2]|0,e[47291]=l,s=e[l+44>>2]|0,e[47289]=s,o=e[l+8>>2]|0,e[47288]=o,l=N0((e[l+4>>2]|0)+-1|0,o)|0,l=(l|0)>0?l:0,e[47290]=l,e[47287]=r),r=0,t=0;;){if((r|0)>=(o|0)){r=1;break e}if(x=s+(l+r<<4)|0,e[p>>2]=e[x>>2],e[p+4>>2]=e[x+4>>2],e[p+8>>2]=e[x+8>>2],e[p+12>>2]=e[x+12>>2],x=s+(l+((r+4|0)%(o|0)|0)<<4)|0,e[c>>2]=e[m>>2],e[c+4>>2]=e[m+4>>2],e[c+8>>2]=e[m+8>>2],e[c+12>>2]=e[m+12>>2],e[v>>2]=e[46614],e[v+4>>2]=e[46615],e[v+8>>2]=e[46616],e[v+12>>2]=e[46617],e[f>>2]=e[p>>2],e[f+4>>2]=e[p+4>>2],e[f+8>>2]=e[p+8>>2],e[f+12>>2]=e[p+12>>2],e[w>>2]=e[x>>2],e[w+4>>2]=e[x+4>>2],e[w+8>>2]=e[x+8>>2],e[w+12>>2]=e[x+12>>2],t=t+((Nh(c,v,f,w)|0)==0&1)|0,(t|0)==2){r=0;break}else r=r+2|0}while(0)}return g=E,r|0}function Ak0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,i=e[r+16>>2]|0,C[(e[i+104>>2]|0)+82>>0]|0&&C[i+145>>0]|0?r=dn0(r,t,0,n,o)|0:r=0,r|0}function uk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0;a0=g,g=g+48|0,X=a0+24|0,P=a0+16|0,L=a0+8|0,_=a0,t0=a0+32|0,s=a0+28|0,Y=e[r+16>>2]|0,H=Y+208|0,i=e[H>>2]|0,!(i|0)&&!($[Y+260>>1]&1)?F=0:T=4,(T|0)==4&&(e[r+152>>2]&4||xn(r,i,e[Y+228>>2]|0,e[Y+244>>2]|0,e[Y+212>>2]|0),F=1),U=t+16|0,i=e[U>>2]|0,w=e[i+12>>2]|0,D=e[w+44>>2]|0,q=e[w+8>>2]|0,w=e[w+4>>2]|0,(e[47285]|0)<(q|0)&&(i=q+5|0,e[47285]=i,n=e[47286]|0,n?i=Ve(n,i<<4)|0:i=_0(i<<4)|0,e[47286]=i,i=e[U>>2]|0),N=(e[i+104>>2]|0)+56|0,i=i+16|0,e[N>>2]=e[i>>2],e[N+4>>2]=e[i+4>>2],e[N+8>>2]=e[i+8>>2],e[N+12>>2]=e[i+12>>2],N=e[U>>2]|0,Z=+u[N+32>>3]*72,Z=(+u[N+96>>3]+ +u[N+88>>3])/+(~~(Z+(Z>=0?.5:-.5))|0),W=+u[N+40>>3]*72,W=+u[N+80>>3]/+(~~(W+(W>=0?.5:-.5))|0),N=aQ(r,t)|0,e[t0>>2]=0,i=s0[(e[U>>2]|0)+117>>0]|0;do if(i&1)p=F2(t,0,106240)|0,Z2(r,p),tr(r,F2(t,0,106248)|0),n=0,i=1;else{if(i&2|0){p=F2(t,0,106256)|0,Z2(r,p),tr(r,F2(t,0,106264)|0),n=0,i=1;break}if(i&8|0){p=F2(t,0,106272)|0,Z2(r,p),tr(r,F2(t,0,106280)|0),n=0,i=1;break}if(i&4|0){p=F2(t,0,106288)|0,Z2(r,p),tr(r,F2(t,0,106296)|0),n=0,i=1;break}N&1?(n=gC(t)|0,(Rh(n,t0,s)|0)<<24>>24?(tr(r,e[t0>>2]|0),i=e[t0+4>>2]|0,l=pr(t,e[47173]|0,0,0)|0,o=+x0[s>>2],i?so(r,i,l,o):so(r,137314,l,o),i=(N&2)>>>1|2):(tr(r,n),i=1)):N&576?(n=gC(t)|0,i=1):(n=0,i=0),p=yp(r,t)|0}while(0);for(l=e[(e[U>>2]|0)+8>>2]|0,C[l+12>>0]|0?(l=e[l>>2]|0,(C[l>>0]|0)==99?(l=(ge(l,105519)|0)==0,T=33):m=1):(l=1,T=33),(T|0)==33&&(l=l^1,(w|0)!=0|i<<24>>24==0|l?m=l:(Z2(r,137379),w=1,m=0)),E=(q|0)<3,B=(N&512|0)!=0,z=(N&8|0)==0,x=(N&64|0)==0,c=(N&1024|0)==0,f=(N&2130706444|0)==0,v=0;!((v|0)>=(w|0));){for(s=N0(v,q)|0,A=e[47286]|0,l=0;!((l|0)>=(q|0));)B0=l+s|0,o=+u[D+(B0<<4)+8>>3],k0=e[U>>2]|0,u[A+(l<<4)>>3]=+u[k0+16>>3]+ +u[D+(B0<<4)>>3]*Z,u[A+(l<<4)+8>>3]=+u[k0+24>>3]+o*W,l=l+1|0;do if(E)B&(v|0)==0&&Zr(n,58)|0&&((ND(r,A,n)|0)>1&&(e[_>>2]=te(t)|0,$0(3,106304,_)|0),i=0),Y3(r,e[47286]|0,q,i&255),z||cQ(r,t);else{if(!x){!(v|0)&&(h7(r,A,n,1)|0)>1&&(e[L>>2]=te(t)|0,$0(3,106304,L)|0),Q2(r,e[47286]|0,q,0);break}if(!c){Z2(r,137379),Q2(r,e[47286]|0,q,i&255),Z2(r,p),y2(r,(e[47286]|0)+32|0,2);break}if(i=i&255,f){Q2(r,A,q,i);break}else{Sa(r,A,q,N,i);break}}while(0);v=v+1|0,i=0}if(l=e[(e[U>>2]|0)+8>>2]|0,C[l+12>>0]|0?(l=e[l>>2]|0,(C[l>>0]|0)==99&&!(ge(l,105519)|0)?(l=he(t,105526)|0,l|0&&C[l>>0]|0&&(A=l,T=65)):(A=l,T=65)):(l=he(t,109025)|0,l|0&&C[l>>0]|0&&(A=l,T=65)),(T|0)==65){for(s=e[47286]|0,l=0;!((l|0)>=(q|0));)o=+u[D+(l<<4)+8>>3],B0=e[U>>2]|0,u[s+(l<<4)>>3]=+u[B0+16>>3]+ +u[D+(l<<4)>>3]*Z,u[s+(l<<4)+8>>3]=+u[B0+24>>3]+o*W,l=l+1|0;l=i&255;do if(!(m|i<<24>>24==0)){if(E){if(B&(v|0)==0&&Zr(n,58)|0&&((ND(r,s,n)|0)>1&&(e[P>>2]=te(t)|0,$0(3,106304,P)|0),i=0),Y3(r,e[47286]|0,q,i&255),z)break;cQ(r,t);break}if(x)if(N&12){Sa(r,s,q,N,l);break}else{Q2(r,s,q,l);break}else{(h7(r,s,n,1)|0)>1&&(e[X>>2]=te(t)|0,$0(3,106304,X)|0),Q2(r,e[47286]|0,q,0);break}}while(0);B0=e[47286]|0,WR(r,A,B0,q,i,wt(t,e[47166]|0,137308)|0)}r0(e[t0>>2]|0),Ca(r,10,e[(e[U>>2]|0)+104>>2]|0),F&&(e[r+152>>2]&4|0&&xn(r,e[H>>2]|0,e[Y+228>>2]|0,e[Y+244>>2]|0,e[Y+212>>2]|0),Bl(r)),g=a0}function aQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+16|0,n=l,i=hQ(t,n)|0,i|0&&c1(r,i),i=e[47172]|0,i|0&&(o=k2(t,i)|0,o|0)&&C[o>>0]|0&&Uo(r,+sr(t,e[47172]|0,1,0)),g=l,e[n>>2]|0}function gC(r){return r=r|0,fQ(r,134800)|0}function yp(r,t){return r=r|0,t=t|0,t=F2(t,e[47148]|0,195059)|0,t=C[t>>0]|0?t:137314,Z2(r,t),t|0}function cQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;i=g,g=g+96|0,A=i+80|0,c=i+64|0,n=i+32|0,f=i+16|0,l=i,t=e[t+16>>2]|0,o=+u[t+80>>3],u[f+8>>3]=o*.375,s=+u[t+96>>3],u[f>>3]=s*.6614,t=t+16|0,e[c>>2]=e[f>>2],e[c+4>>2]=e[f+4>>2],e[c+8>>2]=e[f+8>>2],e[c+12>>2]=e[f+12>>2],e[A>>2]=e[t>>2],e[A+4>>2]=e[t+4>>2],e[A+8>>2]=e[t+8>>2],e[A+12>>2]=e[t+12>>2],Cp(l,c,A),e[n>>2]=e[l>>2],e[n+4>>2]=e[l+4>>2],e[n+8>>2]=e[l+8>>2],e[n+12>>2]=e[l+12>>2],l=n+8|0,t=n+24|0,u[t>>3]=+u[l>>3],u[n+16>>3]=+u[n>>3]-s*1.3228,y2(r,n,2),o=+u[l>>3]-o*.75,u[l>>3]=o,u[t>>3]=o,y2(r,n,2),g=i}function Cp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function fQ(r,t){r=r|0,t=t|0;var i=0;return i=F2(r,e[47149]|0,195059)|0,C[i>>0]|0?i|0:(i=F2(r,e[47148]|0,195059)|0,(C[i>>0]|0?i:t)|0)}function hQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;i=F2(r,e[47157]|0,195059)|0;e:do if(!(C[i>>0]|0))o=0,i=0;else{o=pf(i)|0,l=o,i=0;r:for(;;){if(n=e[l>>2]|0,!n)break e;switch(C[n>>0]|0){case 102:{if(!(ge(n,111101)|0)){l=l+4|0,i=i|1;continue r}break}case 114:{if(!(ge(n,106316)|0)){n=l;do A=n,n=n+4|0,s=e[n>>2]|0,e[A>>2]=s;while(s|0);A=l,i=i|4,l=A;continue r}if(!(ge(n,106334)|0)){n=l;do s=n,n=n+4|0,A=e[n>>2]|0,e[s>>2]=A;while(A|0);A=l,i=i|3,l=A;continue r}break}case 100:{if(!(ge(n,106324)|0)){n=l;do s=n,n=n+4|0,A=e[n>>2]|0,e[s>>2]=A;while(A|0);A=l,i=i|8,l=A;continue r}break}case 105:{if(!(ge(n,134335)|0)){l=l+4|0,i=i|32;continue r}break}case 115:{if(!(ge(n,106341)|0)&&ak0(r)|0){n=l;do s=n,n=n+4|0,A=e[n>>2]|0,e[s>>2]=A;while(A|0);A=l,i=i|64,l=A;continue r}break}case 119:{if(!(ge(n,106349)|0)&&ck0(r)|0){n=l;do s=n,n=n+4|0,A=e[n>>2]|0,e[s>>2]=A;while(A|0);A=l,i=i|512,l=A;continue r}break}default:}l=l+4|0}}while(0);return n=e[(e[(e[r+16>>2]|0)+8>>2]|0)+8>>2]|0,n&&(i=e[n+40>>2]|i),e[t>>2]=i,o|0}function ak0(r){r=r|0;var t=0;return r=e[(e[(e[r+16>>2]|0)+8>>2]|0)+8>>2]|0,r|0&&(e[r+8>>2]|0)==4&&(t=+u[r+16>>3],((~~(t+(t>=0?.5:-.5))|0)%90|0|0)==0)&&+u[r+24>>3]==0?r=+u[r+32>>3]==0&1:r=0,r|0}function ck0(r){return r=r|0,r=e[(e[(e[r+16>>2]|0)+8>>2]|0)+8>>2]|0,r?r=(e[r+8>>2]|0)<3&1:r=0,r|0}function Nh(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;return A=+u[i+8>>3],s=-(+u[n+8>>3]-A),l=+u[i>>3],o=+u[n>>3]-l,l=o*A+l*s,(+u[r+8>>3]*o+ +u[r>>3]*s-l>=0^+u[t>>3]*s-l+ +u[t+8>>3]*o>=0^1)&1|0}function Qh(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0;F=g,g=g+192|0,T=F+176|0,X=F+160|0,c=F+144|0,W=F+128|0,N=F+112|0,f=F+96|0,w=F+80|0,p=F+64|0,z=F+48|0,_=F+32|0,L=F+16|0,P=F,t?(A=+u[t>>3],B=+u[t+8>>3],v=+u[t+16>>3],m=+u[t+24>>3],Sf(c,(v+A)*.5,(m+B)*.5),e[X>>2]=e[c>>2],e[X+4>>2]=e[c+4>>2],e[X+8>>2]=e[c+8>>2],e[X+12>>2]=e[c+12>>2],q=X+8|0,c=1,D=X,s=+u[X>>3],U=q,E=+u[q>>3]):(e[X>>2]=0,e[X+4>>2]=0,e[X+8>>2]=0,e[X+12>>2]=0,c=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1|0)==0,D=e[r+16>>2]|0,v=+u[D+80>>3]*.5,s=+u[D+88>>3],B=c?v:s,v=c?s:v,c=0,D=X,s=0,A=-v,m=B,U=X+8|0,E=0,B=-B),x=(v>m?v:m)*4;e:do if(n|0&&(Z=C[n>>0]|0,Z<<24>>24!=0))switch(n=n+1|0,Z<<24>>24|0){case 99:{p=1,o=0,n=0,f=0,s=0,w=0;break e}case 101:{if(C[n>>0]|0){p=1,o=0,n=0,f=0,s=0,w=1;break e}l?(WA(W,l,E,x),e[X>>2]=e[W>>2],e[X+4>>2]=e[W+4>>2],e[X+8>>2]=e[W+8>>2],e[X+12>>2]=e[W+12>>2]):u[D>>3]=v,p=0,o=o&2,n=0,f=1,s=0,w=0,c=1;break e}case 115:switch(u[U>>3]=B,C[n>>0]|0){case 0:{l?(WA(N,l,-x,s),e[X>>2]=e[N>>2],e[X+4>>2]=e[N+4>>2],e[X+8>>2]=e[N+8>>2],e[X+12>>2]=e[N+12>>2]):u[D>>3]=s,p=0,o=o&1,n=0,f=1,s=-1.5707963267948966,w=0,c=1;break e}case 101:{l?(WA(f,l,-x,x),e[X>>2]=e[f>>2],e[X+4>>2]=e[f+4>>2],e[X+8>>2]=e[f+8>>2],e[X+12>>2]=e[f+12>>2]):u[D>>3]=v,p=0,o=o&3,n=0,f=1,s=-.7853981633974483,w=0,c=1;break e}case 119:{l?(x=-x,WA(w,l,x,x),e[X>>2]=e[w>>2],e[X+4>>2]=e[w+4>>2],e[X+8>>2]=e[w+8>>2],e[X+12>>2]=e[w+12>>2]):u[D>>3]=A,p=0,o=o&9,n=0,f=1,s=-2.356194490192345,w=0,c=1;break e}default:{u[U>>3]=E,p=1,o=0,n=0,f=0,s=0,w=1;break e}}case 119:{if(C[n>>0]|0){p=1,o=0,n=0,f=0,s=0,w=1;break e}l?(WA(p,l,E,-x),e[X>>2]=e[p>>2],e[X+4>>2]=e[p+4>>2],e[X+8>>2]=e[p+8>>2],e[X+12>>2]=e[p+12>>2]):u[D>>3]=A,p=0,o=o&8,n=0,f=1,s=3.141592653589793,w=0,c=1;break e}case 110:switch(u[U>>3]=m,C[n>>0]|0){case 0:{l?(WA(z,l,x,s),e[X>>2]=e[z>>2],e[X+4>>2]=e[z+4>>2],e[X+8>>2]=e[z+8>>2],e[X+12>>2]=e[z+12>>2]):u[D>>3]=s,p=0,o=o&4,n=0,f=1,s=1.5707963267948966,w=0,c=1;break e}case 101:{l?(WA(_,l,x,x),e[X>>2]=e[_>>2],e[X+4>>2]=e[_+4>>2],e[X+8>>2]=e[_+8>>2],e[X+12>>2]=e[_+12>>2]):u[D>>3]=v,p=0,o=o&6,n=0,f=1,s=.7853981633974483,w=0,c=1;break e}case 119:{l?(WA(L,l,x,-x),e[X>>2]=e[L>>2],e[X+4>>2]=e[L+4>>2],e[X+8>>2]=e[L+8>>2],e[X+12>>2]=e[L+12>>2]):u[D>>3]=A,p=0,o=o&12,n=0,f=1,s=2.356194490192345,w=0,c=1;break e}default:{u[U>>3]=E,p=1,o=0,n=0,f=0,s=0,w=1;break e}}case 95:{p=1,n=1,f=0,s=0,w=0;break e}default:{p=1,o=0,n=0,f=0,s=0,w=1;break e}}else p=1,o=0,n=0,f=0,s=0,w=0;while(0);return q=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[T>>2]=e[X>>2],e[T+4>>2]=e[X+4>>2],e[T+8>>2]=e[X+8>>2],e[T+12>>2]=e[X+12>>2],pp(P,T,q),e[X>>2]=e[P>>2],e[X+4>>2]=e[P+4>>2],e[X+8>>2]=e[P+8>>2],e[X+12>>2]=e[P+12>>2],n<<24>>24||(o=fk0(o,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)|0),C[i+33>>0]=o,e[i+24>>2]=t,A=+u[D>>3],u[i>>3]=+(~~(A+(A>=0?.5:-.5))|0),A=+u[U>>3],u[i+8>>3]=+(~~(A+(A>=0?.5:-.5))|0),u[i+16>>3]=+hk0(s,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3),A=+u[D>>3],s=+u[U>>3],A==0&s==0?o=-128:(x=+I2(+s,+A),B=x+4.71238898038469,o=~~((B>=6.283185307179586?x+-1.5707963267948966:B)*40.74366543152521)&255),C[i+32>>0]=o,C[i+29>>0]=f,C[i+28>>0]=c,C[i+30>>0]=p,C[i+31>>0]=n,g=F,w|0}function wQ(r,t){r=r|0,t=t|0;var i=0,n=0;i=g,g=g+16|0,n=i,e[n>>2]=te(r)|0,e[n+4>>2]=t,$0(0,106419,n)|0,g=i}function WA(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;v=g,g=g+128|0,l=v+112|0,A=v+48|0,c=v+16|0,f=v+32|0,w=v,p=e[t>>2]|0,s=e[(e[(We(p)|0)+16>>2]|0)+116>>2]&3,u[c>>3]=n,u[c+8>>3]=i,o=(s|0)!=0,o&&(e[l>>2]=e[c>>2],e[l+4>>2]=e[c+4>>2],e[l+8>>2]=e[c+8>>2],e[l+12>>2]=e[c+12>>2],pp(f,l,s*90|0),e[c>>2]=e[f>>2],e[c+4>>2]=e[f+4>>2],e[c+8>>2]=e[f+8>>2],e[c+12>>2]=e[f+12>>2]),f=A+48|0,m=A+32|0,e[A>>2]=0,e[A+4>>2]=0,e[A+8>>2]=0,e[A+12>>2]=0,e[A+16>>2]=0,e[A+20>>2]=0,e[A+24>>2]=0,e[A+28>>2]=0,e[m>>2]=e[c>>2],e[m+4>>2]=e[c+4>>2],e[m+8>>2]=e[c+8>>2],e[m+12>>2]=e[c+12>>2],e[f>>2]=e[c>>2],e[f+4>>2]=e[c+4>>2],e[f+8>>2]=e[c+8>>2],e[f+12>>2]=e[c+12>>2],Bp(t,e[(e[(e[(e[p+16>>2]|0)+8>>2]|0)+4>>2]|0)+12>>2]|0,A,1),o&&(e[l>>2]=e[A>>2],e[l+4>>2]=e[A+4>>2],e[l+8>>2]=e[A+8>>2],e[l+12>>2]=e[A+12>>2],_s(w,l,s*90|0),e[A>>2]=e[w>>2],e[A+4>>2]=e[w+4>>2],e[A+8>>2]=e[w+8>>2],e[A+12>>2]=e[w+12>>2]),e[r>>2]=e[A>>2],e[r+4>>2]=e[A+4>>2],e[r+8>>2]=e[A+8>>2],e[r+12>>2]=e[A+12>>2],g=v}function fk0(r,t){r=r|0,t=t|0;e:do switch(t|0){case 3:switch(r|0){case 4:{r=2;break e}case 1:{r=8;break e}case 8:{r=1;break e}case 2:{r=4;break e}default:break e}case 2:switch(r|0){case 4:{r=1;break e}case 1:{r=4;break e}default:break e}case 1:switch(r|0){case 4:{r=2;break e}case 1:{r=8;break e}case 8:{r=4;break e}case 2:{r=1;break e}default:break e}default:}while(0);return r|0}function hk0(r,t){switch(r=+r,t=t|0,t|0){case 3:{r!=3.141592653589793?r!=2.356194490192345?r!=1.5707963267948966?r!=0?r!=-.7853981633974483?r==-1.5707963267948966&&(r=3.141592653589793):r=2.356194490192345:r=1.5707963267948966:r=0:r=-.7853981633974483:r=-1.5707963267948966;break}case 2:{r=-r;break}case 1:{r=r+-1.5707963267948966;break}default:}return+r}function wk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;return n=g,g=g+32|0,c=n+16|0,s=n,r=e[r>>2]|0,A=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],_s(s,c,A),i=+u[s>>3],l=+u[s+8>>3],r=e[r+16>>2]|0,o=+u[r+80>>3]*.5,!(!(l>=-o)|!(l<=o))&&i>=-+u[r+88>>3]?r=i<=+u[r+96>>3]&1:r=0,g=n,r|0}function dk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;f=g,g=g+32|0,c=f,l=e[r+16>>2]|0,s=l+208|0,o=e[s>>2]|0,o?A=1:A=($[l+260>>1]&1)!=0,i=t+16|0,t=e[i>>2]|0,n=e[t+12>>2]|0,n|0&&(A&&!(e[r+152>>2]&4|0)&&(xn(r,o,e[l+228>>2]|0,e[l+244>>2]|0,e[l+212>>2]|0),t=e[i>>2]|0),o=e[r+36>>2]|0,p=+u[t+24>>3]+ +(e[n+8>>2]|0),w=e[n>>2]|0,u[c>>3]=+u[t+16>>3]+ +(e[n+4>>2]|0),u[c+8>>3]=p,e[c+16>>2]=w,A2(o,106450,c)|0,o=e[i>>2]|0,c=(e[o+104>>2]|0)+56|0,o=o+16|0,e[c>>2]=e[o>>2],e[c+4>>2]=e[o+4>>2],e[c+8>>2]=e[o+8>>2],e[c+12>>2]=e[o+12>>2],Ca(r,10,e[(e[i>>2]|0)+104>>2]|0),A&&(e[r+152>>2]&4|0&&xn(r,e[s>>2]|0,e[l+228>>2]|0,e[l+244>>2]|0,e[l+212>>2]|0),Bl(r))),g=f}function pk0(r){r=r|0,vC(e[(e[r+16>>2]|0)+12>>2]|0)}function kk0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;if(c=g,g=g+64|0,A=c+40|0,o=c,C[i>>0]|0){n=n|0?n:106356,l=e[(e[t+16>>2]|0)+12>>2]|0,s=pQ(l,i)|0,s?Qh(t,s+16|0,o,n,s0[s+65>>0]|0,0)|0&&(e[A>>2]=te(t)|0,e[A+4>>2]=i,e[A+8>>2]=n,$0(0,106358,A)|0):Qh(t,l+16|0,o,i,15,0)|0&&wQ(t,i),n=r+40|0;do e[r>>2]=e[o>>2],r=r+4|0,o=o+4|0;while((r|0)<(n|0))}else{o=4208,n=r+40|0;do e[r>>2]=e[o>>2],r=r+4|0,o=o+4|0;while((r|0)<(n|0))}g=c}function vk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;return c=g,g=g+32|0,f=c+16|0,s=c,o=e[r+4>>2]|0,r=e[r>>2]|0,l=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[f>>2]=e[t>>2],e[f+4>>2]=e[t+4>>2],e[f+8>>2]=e[t+8>>2],e[f+12>>2]=e[t+12>>2],_s(s,f,l),e[t>>2]=e[s>>2],e[t+4>>2]=e[s+4>>2],e[t+8>>2]=e[s+8>>2],e[t+12>>2]=e[s+12>>2],o?(l=o,r=o+8|0,s=o+16|0,o=o+24|0):(o=e[(e[r+16>>2]|0)+12>>2]|0,l=o+16|0,r=o+24|0,s=o+32|0,o=o+40|0),n=+u[r>>3],i=+u[o>>3],w=+u[t>>3],+u[l>>3]<=w&&w<=+u[s>>3]&&(A=+u[t+8>>3],n<=A)?r=A<=i&1:r=0,g=c,r|0}function mk0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;x=g,g=g+80|0,m=x+64|0,v=x+32|0,B=x;e:do if(!(C[t+28>>0]|0))i=0;else{for(l=+u[t>>3],p=r+16|0,c=e[(e[p>>2]|0)+12>>2]|0,A=c+48|0,c=c+56|0,t=0;;){if((t|0)>=(e[A>>2]|0))break e;if(f=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1|0)==0,w=e[(e[c>>2]|0)+(t<<2)>>2]|0,s=+(~~+u[(f?w+16|0:w+24|0)>>3]|0),l>=s&&(E=+(~~+u[(f?w+32|0:w+40|0)>>3]|0),l<=E))break;t=t+1|0}e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1?(w=(e[(e[c>>2]|0)+(t<<2)>>2]|0)+16|0,r=(e[p>>2]|0)+16|0,e[v>>2]=e[w>>2],e[v+4>>2]=e[w+4>>2],e[v+8>>2]=e[w+8>>2],e[v+12>>2]=e[w+12>>2],e[v+16>>2]=e[w+16>>2],e[v+20>>2]=e[w+20>>2],e[v+24>>2]=e[w+24>>2],e[v+28>>2]=e[w+28>>2],e[m>>2]=e[r>>2],e[m+4>>2]=e[r+4>>2],e[m+8>>2]=e[r+8>>2],e[m+12>>2]=e[r+12>>2],Xd0(B,v,m),e[n>>2]=e[B>>2],e[n+4>>2]=e[B+4>>2],e[n+8>>2]=e[B+8>>2],e[n+12>>2]=e[B+12>>2],e[n+16>>2]=e[B+16>>2],e[n+20>>2]=e[B+20>>2],e[n+24>>2]=e[B+24>>2],e[n+28>>2]=e[B+28>>2],B=e[p>>2]|0,l=+u[B+80>>3],s=+u[B+24>>3]):(B=e[p>>2]|0,z=+u[B+16>>3],u[n>>3]=z+s,s=+u[B+24>>3],l=+u[B+80>>3],u[n+8>>3]=s-l*.5,u[n+16>>3]=z+E),u[n+24>>3]=l*.5+s,e[o>>2]=1}while(0);return g=x,i|0}function gk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;x=g,g=g+144|0,A=x+96|0,f=x+64|0,p=x,v=x+128|0,m=e[r+16>>2]|0,E=m+208|0,i=e[E>>2]|0,i?B=1:B=($[m+260>>1]&1)!=0,s=t+16|0,w=e[s>>2]|0,c=e[w+12>>2]|0,o=c+16|0,e[f>>2]=e[o>>2],e[f+4>>2]=e[o+4>>2],e[f+8>>2]=e[o+8>>2],e[f+12>>2]=e[o+12>>2],e[f+16>>2]=e[o+16>>2],e[f+20>>2]=e[o+20>>2],e[f+24>>2]=e[o+24>>2],e[f+28>>2]=e[o+28>>2],z=+u[w+16>>3],u[f>>3]=+u[f>>3]+z,l=+u[w+24>>3],w=f+8|0,u[w>>3]=+u[w>>3]+l,w=f+16|0,u[w>>3]=+u[w>>3]+z,o=f+24|0,u[o>>3]=+u[o>>3]+l,B&&!(e[r+152>>2]&4|0)&&xn(r,i,e[m+228>>2]|0,e[m+244>>2]|0,e[m+212>>2]|0),i=aQ(r,t)|0,yp(r,t)|0,e[v>>2]=0,i&1?(n=gC(t)|0,(Rh(n,v,A)|0)<<24>>24?(tr(r,e[v>>2]|0),n=e[v+4>>2]|0,o=pr(t,e[47173]|0,0,0)|0,l=+x0[A>>2],n?so(r,n,o,l):so(r,137314,o,l),n=i>>>1&1|2):(tr(r,n),n=1)):n=0,o=e[e[(e[s>>2]|0)+8>>2]>>2]|0,(C[o>>0]|0)==77&&(s=(ge(o,106227)|0)==0,i=s?i|4:i),i&2130706444?(e[p>>2]=e[f>>2],e[p+4>>2]=e[f+4>>2],e[p+8>>2]=e[f+8>>2],e[p+12>>2]=e[f+12>>2],f=p+32|0,e[f>>2]=e[w>>2],e[f+4>>2]=e[w+4>>2],e[f+8>>2]=e[w+8>>2],e[f+12>>2]=e[w+12>>2],u[p+16>>3]=+u[f>>3],u[p+24>>3]=+u[p+8>>3],u[p+48>>3]=+u[p>>3],u[p+56>>3]=+u[p+40>>3],Sa(r,p,4,i,n)):(e[A>>2]=e[f>>2],e[A+4>>2]=e[f+4>>2],e[A+8>>2]=e[f+8>>2],e[A+12>>2]=e[f+12>>2],e[A+16>>2]=e[f+16>>2],e[A+20>>2]=e[f+20>>2],e[A+24>>2]=e[f+24>>2],e[A+28>>2]=e[f+28>>2],Il(r,A,n)),dQ(r,t,c),r0(e[v>>2]|0),B&&(e[r+152>>2]&4|0&&xn(r,e[E>>2]|0,e[m+228>>2]|0,e[m+244>>2]|0,e[m+212>>2]|0),Bl(r)),g=x}function dQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,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u[v>>3]=+u[(e[n>>2]|0)+16>>3],n=f,o=0),u[v+(o<<4)+8>>3]=+u[n+8>>3],e[w>>2]=e[v>>2],e[w+4>>2]=e[v+4>>2],e[w+8>>2]=e[v+8>>2],e[w+12>>2]=e[v+12>>2],e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],Cp(E,w,p),e[v>>2]=e[E>>2],e[v+4>>2]=e[E+4>>2],e[v+8>>2]=e[E+8>>2],e[v+12>>2]=e[E+12>>2],e[w>>2]=e[f>>2],e[w+4>>2]=e[f+4>>2],e[w+8>>2]=e[f+8>>2],e[w+12>>2]=e[f+12>>2],e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],Cp(B,w,p),e[f>>2]=e[B>>2],e[f+4>>2]=e[B+4>>2],e[f+8>>2]=e[B+8>>2],e[f+12>>2]=e[B+12>>2],y2(r,v,2)),dQ(r,t,e[(e[s>>2]|0)+(l<<2)>>2]|0),l=l+1|0;g=x}function yk0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(+u[i+8>>3]+ +u[t+8>>3])*.5,u[r>>3]=(+u[i>>3]+ +u[t>>3])*.5,u[r+8>>3]=n}function pQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=e[r+60>>2]|0,i|0&&(C[i>>0]|0)==(C[t>>0]|0)&&!(ge(i,t)|0)||(n=4);e:do if((n|0)==4)for(o=r+56|0,n=e[r+48>>2]|0,i=0;;){if((i|0)>=(n|0)){r=0;break e}if(r=pQ(e[(e[o>>2]|0)+(i<<2)>>2]|0,t)|0,!r)i=i+1|0;else break}while(0);return r|0}function Ck0(r,t){r=r|0,t=t|0;var i=0;i=t+8|0,u[i>>3]=+u[i>>3]*1.375,e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2]}function Ek0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;c=+u[t>>3],o=c*.5,w=+u[t+8>>3],s=w*.5,u[r>>3]=o,n=w*.40909090909090906,u[r+8>>3]=n,u[r+16>>3]=o,l=w*.4592530909090909,u[r+24>>3]=l,A=c*.275892,u[r+32>>3]=A,u[r+40>>3]=s,u[r+48>>3]=0,u[r+56>>3]=s,c=c*-.275892,u[r+64>>3]=c,u[r+72>>3]=s,f=-o,u[r+80>>3]=f,u[r+88>>3]=l,i=r+96|0,u[i>>3]=f,u[r+104>>3]=n,t=r+112|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],t=r+128|0,u[t>>3]=f,u[r+136>>3]=w*-.40909090909090906,i=r+144|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],u[r+160>>3]=f,l=-l,u[r+168>>3]=l,u[r+176>>3]=c,s=-s,u[r+184>>3]=s,u[r+192>>3]=0,u[r+200>>3]=s,u[r+208>>3]=A,u[r+216>>3]=s,u[r+224>>3]=o,u[r+232>>3]=l,i=r+240|0,u[i>>3]=o,u[r+248>>3]=-n,t=r+256|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],t=r+288|0,i=r+272|0,e[i>>2]=e[r>>2],e[i+4>>2]=e[r+4>>2],e[i+8>>2]=e[r+8>>2],e[i+12>>2]=e[r+12>>2],e[t>>2]=e[r>>2],e[t+4>>2]=e[r+4>>2],e[t+8>>2]=e[r+8>>2],e[t+12>>2]=e[r+12>>2]}function kQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;Z=g,g=g+144|0,z=Z+112|0,x=Z+96|0,_=Z+80|0,B=Z+64|0,L=Z+32|0,m=Z+16|0,E=Z,l=Z+48|0;do if(r){if(A=e[r+4>>2]|0,c=e[r>>2]|0,p=(e[(e[(We(c)|0)+16>>2]|0)+116>>2]&3)*90|0,e[z>>2]=e[t>>2],e[z+4>>2]=e[t+4>>2],e[z+8>>2]=e[t+8>>2],e[z+12>>2]=e[t+12>>2],_s(l,z,p),e[L>>2]=e[l>>2],e[L+4>>2]=e[l+4>>2],e[L+8>>2]=e[l+8>>2],e[L+12>>2]=e[l+12>>2],A|0){if(i=+u[L>>3],!(+u[A>>3]<=i)){r=0;break}if(!(i<=+u[A+16>>3])){r=0;break}if(i=+u[L+8>>3],!(+u[A+8>>3]<=i)){r=0;break}r=i<=+u[A+24>>3];break}if((c|0)==(e[47292]|0)?(i=+u[23309],n=+u[23310],s=+u[23311]):(r=c+16|0,t=e[(e[r>>2]|0)+12>>2]|0,e[47293]=t,e[47294]=e[t+44>>2],e[47295]=e[t+8>>2],e[t+40>>2]&2048?(MQ(z,t),s=+u[z+16>>3]-+u[z>>3],o=+u[z+24>>3]-+u[z+8>>3],p=(e[(e[(We(c)|0)+16>>2]|0)+116>>2]&1|0)==0,u[(p?186496:186504)>>3]=s,u[(p?186504:186496)>>3]=o):(w=(e[(e[(We(c)|0)+16>>2]|0)+116>>2]&1|0)==0,p=e[r>>2]|0,u[(w?186496:186504)>>3]=+u[p+96>>3]+ +u[p+88>>3],u[(w?186504:186496)>>3]=+u[p+80>>3],s=+u[p+32>>3]*72,o=+u[p+40>>3]*72,o=+(~~(o+(o>=0?.5:-.5))|0),s=+(~~(s+(s>=0?.5:-.5))|0)),i=+u[23312],i==0&&(u[23312]=1,i=1),n=+u[23313],n==0&&(u[23313]=1,n=1),i=s/i,u[23309]=i,n=o/n,u[23310]=n,s=s*.5,u[23311]=s,u[23314]=o*.5,p=N0((e[(e[47293]|0)+4>>2]|0)+-1|0,e[47295]|0)|0,e[47296]=(p|0)>0?p:0,e[47292]=c),o=+u[L>>3]*i,u[L>>3]=o,p=L+8|0,i=+u[p>>3]*n,u[p>>3]=i,!(+L0(+o)>s)&&(n=+L0(+i),v=+u[23314],!(n>v))){if(p=e[47295]|0,(p|0)<3){r=+Pf(o/s,i/v)<1;break}if(t=(e[47297]|0)%(p|0)|0,r=(t+1|0)%(p|0)|0,c=e[47294]|0,f=e[47296]|0,w=c+(f+t<<4)|0,e[m>>2]=e[w>>2],e[m+4>>2]=e[w+4>>2],e[m+8>>2]=e[w+8>>2],e[m+12>>2]=e[w+12>>2],w=c+(f+r<<4)|0,e[E>>2]=e[w>>2],e[E+4>>2]=e[w+4>>2],e[E+8>>2]=e[w+8>>2],e[E+12>>2]=e[w+12>>2],e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[_>>2]=e[46630],e[_+4>>2]=e[46631],e[_+8>>2]=e[46632],e[_+12>>2]=e[46633],e[x>>2]=e[m>>2],e[x+4>>2]=e[m+4>>2],e[x+8>>2]=e[m+8>>2],e[x+12>>2]=e[m+12>>2],e[z>>2]=e[w>>2],e[z+4>>2]=e[w+4>>2],e[z+8>>2]=e[w+8>>2],e[z+12>>2]=e[w+12>>2],Nh(B,_,x,z)|0){if(e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[_>>2]=e[m>>2],e[_+4>>2]=e[m+4>>2],e[_+8>>2]=e[m+8>>2],e[_+12>>2]=e[m+12>>2],e[x>>2]=e[E>>2],e[x+4>>2]=e[E+4>>2],e[x+8>>2]=e[E+8>>2],e[x+12>>2]=e[E+12>>2],e[z>>2]=e[46630],e[z+4>>2]=e[46631],e[z+8>>2]=e[46632],e[z+12>>2]=e[46633],w=(Nh(B,_,x,z)|0)!=0,w&&(e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[_>>2]=e[E>>2],e[_+4>>2]=e[E+4>>2],e[_+8>>2]=e[E+8>>2],e[_+12>>2]=e[E+12>>2],e[x>>2]=e[46630],e[x+4>>2]=e[46631],e[x+8>>2]=e[46632],e[x+12>>2]=e[46633],e[z>>2]=e[m>>2],e[z+4>>2]=e[m+4>>2],e[z+8>>2]=e[m+8>>2],e[z+12>>2]=e[m+12>>2],(Nh(B,_,x,z)|0)!=0)){r=1;break}else A=t,t=1;for(;;){if((t|0)>=(p|0)){t=31;break}if(w?(l=r,r=(r+1|0)%(p|0)|0):(l=(A+-1+p|0)%(p|0)|0,r=A),m=c+(f+l<<4)|0,E=c+(f+r<<4)|0,e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2],e[_>>2]=e[46630],e[_+4>>2]=e[46631],e[_+8>>2]=e[46632],e[_+12>>2]=e[46633],e[x>>2]=e[m>>2],e[x+4>>2]=e[m+4>>2],e[x+8>>2]=e[m+8>>2],e[x+12>>2]=e[m+12>>2],e[z>>2]=e[E>>2],e[z+4>>2]=e[E+4>>2],e[z+8>>2]=e[E+8>>2],e[z+12>>2]=e[E+12>>2],Nh(B,_,x,z)|0)A=l,t=t+1|0;else{t=30;break}}if((t|0)==30){e[47297]=l,r=0;break}else if((t|0)==31){e[47297]=A,r=1;break}}else r=0}else r=0}else e[47292]=0,r=0;while(0);return g=Z,r&1|0}function vQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;return A=g,g=g+32|0,o=A+16|0,s=A,r?(r=e[r>>2]|0,c=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&3)*90|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],_s(s,o,c),l=+u[s>>3],n=+u[s+8>>3],(r|0)==(e[47300]|0)?i=+u[23317]:(s=e[(e[r+16>>2]|0)+12>>2]|0,c=(e[s+4>>2]<<1)+-2|0,i=+u[(e[s+44>>2]|0)+((((c|0)>0?c:0)|1)<<4)>>3],u[23317]=i,e[47300]=r),+L0(+l)>i|+L0(+n)>i?r=0:r=+Pf(l,n)<=i&1):(e[47300]=0,r=0),g=A,r|0}function Bk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;m=g,g=g+16|0,o=m,p=e[r+16>>2]|0,v=p+208|0,i=e[v>>2]|0,!(i|0)&&!($[p+260>>1]&1)?w=0:(e[r+152>>2]&4||xn(r,i,e[p+228>>2]|0,e[p+244>>2]|0,e[p+212>>2]|0),w=1),A=t+16|0,l=e[(e[A>>2]|0)+12>>2]|0,c=e[l+44>>2]|0,f=e[l+8>>2]|0,l=e[l+4>>2]|0,(e[47298]|0)<(f|0)&&(i=f+2|0,e[47298]=i,n=e[47299]|0,n?i=Ve(n,i<<4)|0:i=_0(i<<4)|0,e[47299]=i),hQ(t,o)|0,e[o>>2]&32?c1(r,22016):c1(r,22020),i=e[47172]|0,i|0&&Uo(r,+sr(t,i,1,0)),i=s0[(e[A>>2]|0)+117>>0]|0;do if(i&1)Z2(r,F2(t,0,106240)|0),i=F2(t,0,106248)|0,tr(r,i);else{if(i&2|0){Z2(r,F2(t,0,106256)|0),i=F2(t,0,106264)|0,tr(r,i);break}if(i&8|0){Z2(r,F2(t,0,106272)|0),i=F2(t,0,106280)|0,tr(r,i);break}if(i&4){Z2(r,F2(t,0,106288)|0),i=F2(t,0,106296)|0,tr(r,i);break}else{i=fQ(t,137314)|0,tr(r,i),yp(r,t)|0;break}}while(0);for(l?n=l:(C[i>>0]|0&&Z2(r,i),n=1),o=1,t=0;!((t|0)>=(n|0));){for(l=N0(t,f)|0,s=e[47299]|0,i=0;!((i|0)>=(f|0));)x=i+l|0,E=+u[c+(x<<4)+8>>3],B=e[A>>2]|0,u[s+(i<<4)>>3]=+u[B+16>>3]+ +u[c+(x<<4)>>3],u[s+(i<<4)+8>>3]=+u[B+24>>3]+E,i=i+1|0;Y3(r,s,f,o),o=0,t=t+1|0}w&&(e[r+152>>2]&4|0&&xn(r,e[v>>2]|0,e[p+228>>2]|0,e[p+244>>2]|0,e[p+212>>2]|0),Bl(r)),g=m}function Ep(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=g,g=g+48|0,l=o,i=Ik0(t,i,n)|0,e[l+36>>2]=e[n+36>>2],Qh(t,e[n+24>>2]|0,l,i,s0[n+33>>0]|0,0)|0,t=l,i=r+40|0;do e[r>>2]=e[t>>2],r=r+4|0,t=t+4|0;while((r|0)<(i|0));g=o}function Ik0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0;W=g,g=g+32|0,Z=W,o=W+24|0,A=W+16|0,L=e[(e[(e[(We(r)|0)+60>>2]|0)+16>>2]|0)+116>>2]&3,n=r+16|0,_=(e[n>>2]|0)+16|0,e[Z>>2]=e[_>>2],e[Z+4>>2]=e[_+4>>2],e[Z+8>>2]=e[_+8>>2],e[Z+12>>2]=e[_+12>>2],mQ(o,Z,L),_=(e[t+16>>2]|0)+16|0,e[Z>>2]=e[_>>2],e[Z+4>>2]=e[_+4>>2],e[Z+8>>2]=e[_+8>>2],e[Z+12>>2]=e[_+12>>2],mQ(A,Z,L),L=C[i+33>>0]|0,Z=L&255;e:do switch(L<<24>>24){case 0:case 15:{t=0;break}default:for(t=e[i+24>>2]|0,t?(f=+u[t>>3],l=+u[t+16>>3],c=+u[t+24>>3],s=+u[t+8>>3]):(L=(e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1|0)==0,_=e[n>>2]|0,T=+u[_+80>>3]*.5,N=-T,c=+u[_+88>>3],s=-c,f=L?s:N,l=L?c:T,c=L?T:c,s=L?N:s),L=e[o>>2]|0,z=e[o+4>>2]|0,_=e[A>>2]|0,E=e[A+4>>2]|0,B=~~s,x=~~((l+f)*.5),m=~~l,v=~~((c+s)*.5),p=~~c,w=~~f,o=0,A=0,t=0,i=0,r=0;;){if((A|0)==4)break e;if(1<>2]|0:n=o}else n=o;o=n,A=A+1|0}}while(0);return g=W,t|0}function mQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;switch(i|0){case 0:{o=+u[t>>3],n=+u[t+8>>3];break}case 2:{o=+u[t>>3],n=-+u[t+8>>3];break}case 1:{o=-+u[t+8>>3],n=+u[t>>3];break}case 3:{o=+u[t+8>>3],n=+u[t>>3];break}default:o=0,n=0}e[r>>2]=~~(o+(o>=0?.5:-.5)),e[r+4>>2]=~~(n+(n>=0?.5:-.5))}function xk0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=g,g=g+80|0,n=s+40|0,l=s,o=r+16|0,i=e[o>>2]|0,t=i+16|0,C[i+47>>0]|0){i=e[r>>2]&3,Ep(n,e[((i|0)==3?r:r+48|0)+40>>2]|0,e[((i|0)==2?r:r+-48|0)+40>>2]|0,t),i=n,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0));i=e[o>>2]|0}if(t=i+56|0,C[i+87>>0]|0){i=e[r>>2]&3,Ep(l,e[((i|0)==2?r:r+-48|0)+40>>2]|0,e[((i|0)==3?r:r+48|0)+40>>2]|0,t),i=l,n=t+40|0;do e[t>>2]=e[i>>2],t=t+4|0,i=i+4|0;while((t|0)<(n|0))}g=s}function Sk0(){var r=0,t=0,i=0;r=g,g=g+32|0,t=r+16|0,i=r,e[i>>2]=0,e[i+4>>2]=0,e[i+8>>2]=0,e[i+12>>2]=0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],kQ(0,t)|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],vQ(0,t)|0,e[t>>2]=e[i>>2],e[t+4>>2]=e[i+4>>2],e[t+8>>2]=e[i+8>>2],e[t+12>>2]=e[i+12>>2],uQ(0,t)|0,g=r}function Bp(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0;for(N=g,g=g+192|0,B=N+176|0,Z=N+112|0,W=N+48|0,x=N+32|0,z=N+24|0,_=N+16|0,L=N,n<<24>>24?(e[x>>2]=e[i>>2],e[x+4>>2]=e[i+4>>2],e[x+8>>2]=e[i+8>>2],e[x+12>>2]=e[i+12>>2],c=_,f=z,w=0,p=Z):(c=i+48|0,e[x>>2]=e[c>>2],e[x+4>>2]=e[c+4>>2],e[x+8>>2]=e[c+8>>2],e[x+12>>2]=e[c+12>>2],c=z,f=_,w=Z,p=0),u[z>>3]=0,u[_>>3]=1,m=x+8|0,o=0,l=1,A=0,v=+u[x>>3];;){E=+u[m>>3],o=(o+l)*.5,Ei(L,i,3,o,w,p),e[x>>2]=e[L>>2],e[x+4>>2]=e[L+4>>2],e[x+8>>2]=e[L+8>>2],e[x+12>>2]=e[L+12>>2],e[B>>2]=e[L>>2],e[B+4>>2]=e[L+4>>2],e[B+8>>2]=e[L+8>>2],e[B+12>>2]=e[L+12>>2];e:do if((ke[t&127](r,B)|0)<<24>>24)n=f;else for(n=0;;){if((n|0)==4){n=c,A=1;break e}A=W+(n<<4)|0,T=Z+(n<<4)|0,e[A>>2]=e[T>>2],e[A+4>>2]=e[T+4>>2],e[A+8>>2]=e[T+8>>2],e[A+12>>2]=e[T+12>>2],n=n+1|0}while(0);if(u[n>>3]=o,s=+u[x>>3],v=v-s,!((v>=0?v:-v)>.5)&&(E=E-+u[m>>3],!((E>=0?E:-E)>.5)))break;o=+u[z>>3],l=+u[_>>3],v=s}e:do if(A<<24>>24)for(n=0;;){if((n|0)==4)break e;T=i+(n<<4)|0,Z=W+(n<<4)|0,e[T>>2]=e[Z>>2],e[T+4>>2]=e[Z+4>>2],e[T+8>>2]=e[Z+8>>2],e[T+12>>2]=e[Z+12>>2],n=n+1|0}else for(n=0;;){if((n|0)==4)break e;T=i+(n<<4)|0,W=Z+(n<<4)|0,e[T>>2]=e[W>>2],e[T+4>>2]=e[W+4>>2],e[T+8>>2]=e[W+8>>2],e[T+12>>2]=e[W+12>>2],n=n+1|0}while(0);g=N}function _k0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;f=g,g=g+48|0,i=f+16|0,n=f,o=f+32|0,l=r+16|0,s=e[l>>2]|0,A=e[s+8>>2]|0,A|0&&(c=A+4|0,e[(e[c>>2]|0)+12>>2]|0)&&(e[o>>2]=r,e[o+4>>2]=0,w=+u[s+96>>3],u[n>>3]=+u[t>>3]-+u[s+16>>3],u[n+8>>3]=+u[t+8>>3]-+u[s+24>>3],c=e[(e[c>>2]|0)+12>>2]|0,e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[i+8>>2]=e[n+8>>2],e[i+12>>2]=e[n+12>>2],c=ke[c&127](o,i)|0,u[(e[l>>2]|0)+96>>3]=w,yC(o,r,t,c)),g=f}function yC(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+64|0,f=w,A=t+16|0,l=e[A>>2]|0,c=+u[l+96>>3],s=l+16|0,o=l+24|0,t=0;(t|0)!=4;)u[f+(t<<4)>>3]=+u[i+(t<<4)>>3]-+u[s>>3],u[f+(t<<4)+8>>3]=+u[i+(t<<4)+8>>3]-+u[o>>3],t=t+1|0;for(Bp(r,e[(e[(e[l+8>>2]|0)+4>>2]|0)+12>>2]|0,f,n),t=0;(t|0)!=4;)n=e[A>>2]|0,u[i+(t<<4)>>3]=+u[n+16>>3]+ +u[f+(t<<4)>>3],u[i+(t<<4)+8>>3]=+u[n+24>>3]+ +u[f+(t<<4)+8>>3],t=t+1|0;u[(e[A>>2]|0)+96>>3]=c,g=w}function CC(r,t){r=r|0,t=t|0;for(var i=0,n=0;n=r+16|0,r=e[n>>2]|0,!!(C[r+112>>0]|0);)r=e[r+116>>2]|0;r=e[r+8>>2]|0,r||(r=j0(40)|0,e[(e[n>>2]|0)+8>>2]=r),i=e[r>>2]|0,i?r=Ve(i,((e[r+4>>2]|0)*48|0)+48|0)|0:r=_0(((e[r+4>>2]|0)*48|0)+48|0)|0,n=e[(e[n>>2]|0)+8>>2]|0,e[n>>2]=r,n=n+4|0,i=e[n>>2]|0,e[n>>2]=i+1,n=r+(i*48|0)|0,e[n>>2]=j0(t<<4)|0,e[r+(i*48|0)+4>>2]=t,r=r+(i*48|0)+8|0,i=r+40|0;do e[r>>2]=0,r=r+4|0;while((r|0)<(i|0));return n|0}function yi(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0;for(D=g,g=g+96|0,W=D+16|0,B=D,_=D+92|0,L=D+88|0,x=D+80|0,A=e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0,Z=We(A)|0,N=CC(r,n)|0,c=r;f=e[c+16>>2]|0,!!(C[f+112>>0]|0);)c=e[f+116>>2]|0;if(!(C[o+8>>0]|0)&&(l=e[A+16>>2]|0,s=e[t+16>>2]|0,(e[l+232>>2]|0)==(e[s+232>>2]|0))?(w=(e[l+236>>2]|0)>(e[s+236>>2]|0),z=w?A:t,A=w?t:A):z=t,(A|0)==(e[((e[c>>2]&3|0)==3?c:c+48|0)+40>>2]|0)?(l=f+80|0,s=f+40|0,w=s0[f+86>>0]|0,t=s0[f+46>>0]|0):(l=f+40|0,s=f+80|0,w=s0[f+46>>0]|0,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s|0)==2?t:t+-48|0)+40>>2]|0,l),s=f,f=l+40|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(f|0))}switch(m=_+16|0,s=e[m>>2]|0,l=e[s+8>>2]|0,l?f=e[(e[l+4>>2]|0)+16>>2]|0:f=0,l=s+16|0,s=(e[B>>2]|0)+16|0,e[w>>2]=e[l>>2],e[w+4>>2]=e[l+4>>2],e[w+8>>2]=e[l+8>>2],e[w+12>>2]=e[l+12>>2],e[x>>2]=e[s>>2],e[x+4>>2]=e[s+4>>2],e[x+8>>2]=e[s+8>>2],e[x+12>>2]=e[s+12>>2],gQ(v,w,x),e[r>>2]=e[v>>2],e[r+4>>2]=e[v+4>>2],e[r+8>>2]=e[v+8>>2],e[r+12>>2]=e[v+12>>2],o<<24>>24?(A=+yQ(e[((e[t>>2]&3|0)==3?t:p)+40>>2]|0),z=9):(l=e[B>>2]|0,C[l+45>>0]|0?(A=+u[l+32>>3],z=9):l=0),(z|0)==9&&(u[r+16>>3]=A,l=1),C[r+29>>0]=l,e[r+80>>2]=0,e[r+88>>2]=t,v=n+32|0,e[v>>2]=e[r>>2],e[v+4>>2]=e[r+4>>2],e[v+8>>2]=e[r+8>>2],e[v+12>>2]=e[r+12>>2],i|0){case 1:{if(s=e[m>>2]|0,!(C[s+156>>0]|0)&&(v=C[(e[B>>2]|0)+49>>0]|0,E=v&255,v<<24>>24!=0)){e[x>>2]=e[n>>2],e[x+4>>2]=e[n+4>>2],e[x+8>>2]=e[n+8>>2],e[x+12>>2]=e[n+12>>2],e[x+16>>2]=e[n+16>>2],e[x+20>>2]=e[n+20>>2],e[x+24>>2]=e[n+24>>2],e[x+28>>2]=e[n+28>>2];do if(E&4)if(e[n+48>>2]=4,A=+u[x>>3],+u[r>>3]<+u[s+16>>3]){W=A+-1,Z=+u[r+8>>3],r=x+16|0,A=+u[r>>3],c=+u[s+80>>3]*.5+ +u[s+24>>3],c=c+ +((e[(e[(We(_)|0)+16>>2]|0)+252>>2]|0)/2|0|0),l=e[m>>2]|0,u[r>>3]=+u[l+16>>3]-+u[l+88>>3],u[x+24>>3]=Z,u[x+8>>3]=+u[l+24>>3]-+u[l+80>>3]*.5,u[x>>3]=W,u[n+56>>3]=W,u[n+64>>3]=Z,u[n+72>>3]=A,u[n+80>>3]=c,l=n+88|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=2;break}else{c=+u[r+8>>3],l=x+16|0,Z=+u[l>>3]+1,W=+u[s+80>>3]*.5+ +u[s+24>>3],W=W+ +((e[(e[(We(_)|0)+16>>2]|0)+252>>2]|0)/2|0|0),r=e[m>>2]|0,u[x>>3]=+u[r+96>>3]+ +u[r+16>>3],u[x+24>>3]=c,u[x+8>>3]=+u[r+24>>3]-+u[r+80>>3]*.5,u[l>>3]=Z,u[n+56>>3]=A,u[n+64>>3]=c,u[n+72>>3]=Z,u[n+80>>3]=W,l=n+88|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=2;break}else{if(E&1|0){e[n+48>>2]=1,l=x+24|0,u[l>>3]=+u[(+u[l>>3]>+u[r+8>>3]?x+16|0:r)+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}if(l=n+48|0,E&8){e[l>>2]=8,u[x+16>>3]=+u[r>>3],u[x+8>>3]=+u[s+24>>3]-+u[s+80>>3]*.5,u[x+24>>3]=+u[r+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}else{e[l>>2]=2,u[x>>3]=+u[r>>3],u[x+8>>3]=+u[s+24>>3]-+u[s+80>>3]*.5,u[x+24>>3]=+u[r+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}}while(0);for(e[n+52>>2]=l;l=e[t+16>>2]|0,!!(C[l+112>>0]|0);)t=e[l+116>>2]|0;C[((_|0)==(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)?l+16|0:l+56|0)+30>>0]=0}else s=1,z=47;break}case 2:{if(E=C[(e[B>>2]|0)+49>>0]|0,s=E&255,!(E<<24>>24))z=46;else{e[x>>2]=e[n>>2],e[x+4>>2]=e[n+4>>2],e[x+8>>2]=e[n+8>>2],e[x+12>>2]=e[n+12>>2],e[x+16>>2]=e[n+16>>2],e[x+20>>2]=e[n+20>>2],e[x+24>>2]=e[n+24>>2],e[x+28>>2]=e[n+28>>2];do if(s&4)l=x+8|0,u[l>>3]=+u[(+u[l>>3]<+u[r+8>>3]?x:r)+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;else{if(s&1|0)if((e[n+48>>2]|0)==4){l=e[m>>2]|0,W=+u[l+24>>3]-+u[l+80>>3]*.5,l=x+16|0,Z=+u[l>>3]+1,A=+u[r>>3],c=W-+((e[(e[(We(_)|0)+16>>2]|0)+252>>2]|0)/2|0|0),r=e[m>>2]|0,u[x>>3]=+u[r+96>>3]+ +u[r+16>>3],u[x+8>>3]=W,u[x+24>>3]=+u[r+80>>3]*.5+ +u[r+24>>3],u[l>>3]=Z,u[n+56>>3]=A,u[n+64>>3]=c,u[n+72>>3]=Z,u[n+80>>3]=W,l=n+88|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=2;break}else{l=x+24|0,u[l>>3]=+u[(+u[l>>3]>+u[r+8>>3]?x+16|0:r)+8>>3],l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}if(A=+u[r>>3],s&8){l=x+16|0,u[l>>3]=A+1,i=e[m>>2]|0,A=+u[i+24>>3],c=+u[i+80>>3]*.5,(e[n+48>>2]|0)==4?(u[x+24>>3]=c+A,A=+u[r+8>>3]+-1,l=x):(u[x+8>>3]=A-c,A=+u[r+8>>3]+1),u[l+8>>3]=A,l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}else{u[x>>3]=A,i=e[m>>2]|0,A=+u[i+24>>3],c=+u[i+80>>3]*.5,(e[n+48>>2]|0)==4?(u[x+24>>3]=c+A,A=+u[r+8>>3],l=x):(u[x+8>>3]=A-c,A=+u[r+8>>3]+1,l=x+16|0),u[l+8>>3]=A,l=n+56|0,e[l>>2]=e[x>>2],e[l+4>>2]=e[x+4>>2],e[l+8>>2]=e[x+8>>2],e[l+12>>2]=e[x+12>>2],e[l+16>>2]=e[x+16>>2],e[l+20>>2]=e[x+20>>2],e[l+24>>2]=e[x+24>>2],e[l+28>>2]=e[x+28>>2],l=1;break}}while(0);for(e[n+52>>2]=l;l=e[t+16>>2]|0,!!(C[l+112>>0]|0);)t=e[l+116>>2]|0;C[((_|0)==(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)?l+16|0:l+56|0)+30>>0]=0,e[n+48>>2]=s}break}default:z=46}(z|0)==46&&(s=e[n+48>>2]|0,z=47);e:do if((z|0)==47){if(f){if(t=n+56|0,l=n+52|0,s=ai[f&127](_,(e[B>>2]|0)+16|0,s,t,l)|0,s){e[n+48>>2]=s;break}}else l=n+52|0,t=n+56|0;switch(e[t>>2]=e[n>>2],e[t+4>>2]=e[n+4>>2],e[t+8>>2]=e[n+8>>2],e[t+12>>2]=e[n+12>>2],e[t+16>>2]=e[n+16>>2],e[t+20>>2]=e[n+20>>2],e[t+24>>2]=e[n+24>>2],e[t+28>>2]=e[n+28>>2],e[l>>2]=1,i|0){case 8:{H0(138394,106514,569,106524);break}case 2:{u[((e[n+48>>2]|0)==4?n+56|0:n+72|0)+8>>3]=+u[r+8>>3];break e}case 1:{u[n+80>>3]=+u[r+8>>3],e[n+48>>2]=1;break e}default:break e}}while(0);g=L}function gQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function yQ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(s=e[r+16>>2]|0,A=e[s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],e[_+12>>2]=e[s+12>>2],gQ(B,p,_),e[f>>2]=e[B>>2],e[f+4>>2]=e[B+4>>2],e[f+8>>2]=e[B+8>>2],e[f+12>>2]=e[B+12>>2],o<<24>>24?(c=+yQ(e[((e[t>>2]&3|0)==2?t:m)+40>>2]|0)+3.141592653589793,u[r+56>>3]=c,c<6.283185307179586?v=1:H0(106534,106514,606,106558)):(l=e[x>>2]|0,C[l+85>>0]|0?(u[r+56>>3]=+u[l+72>>3],v=1):v=0),C[r+69>>0]=v,B=n+32|0,e[B>>2]=e[f>>2],e[B+4>>2]=e[f+4>>2],e[B+8>>2]=e[f+8>>2],e[B+12>>2]=e[f+12>>2],i|0){case 1:{if(s=e[E>>2]|0,!(C[s+156>>0]|0)&&(B=C[(e[x>>2]|0)+89>>0]|0,z=B&255,B<<24>>24!=0)){e[_>>2]=e[n>>2],e[_+4>>2]=e[n+4>>2],e[_+8>>2]=e[n+8>>2],e[_+12>>2]=e[n+12>>2],e[_+16>>2]=e[n+16>>2],e[_+20>>2]=e[n+20>>2],e[_+24>>2]=e[n+24>>2],e[_+28>>2]=e[n+28>>2];do if(z&4)e[n+48>>2]=4,l=_+8|0,u[l>>3]=+u[(+u[l>>3]<+u[r+48>>3]?_:f)+8>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;else if(z&1)if(e[n+48>>2]=1,A=+u[_>>3],+u[f>>3]<+u[s+16>>3]){T=A+-1,c=+u[r+48>>3],r=_+16|0,A=+u[r>>3],N=+u[s+80>>3]*-.5+ +u[s+24>>3],N=N-+((e[(e[(We(Z)|0)+16>>2]|0)+252>>2]|0)/2|0|0),l=e[E>>2]|0,u[r>>3]=+u[l+16>>3]-+u[l+88>>3],u[_+8>>3]=c,u[_+24>>3]=+u[l+80>>3]*.5+ +u[l+24>>3],u[_>>3]=T,u[n+56>>3]=T,u[n+64>>3]=N,u[n+72>>3]=A,u[n+80>>3]=c,l=n+88|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=2;break}else{T=+u[r+48>>3],l=_+16|0,N=+u[l>>3]+1,c=+u[s+80>>3]*-.5+ +u[s+24>>3],c=c-+((e[(e[(We(Z)|0)+16>>2]|0)+252>>2]|0)/2|0|0),r=e[E>>2]|0,u[_>>3]=+u[r+96>>3]+ +u[r+16>>3],u[_+8>>3]=T,u[_+24>>3]=+u[r+80>>3]*.5+ +u[r+24>>3],u[l>>3]=N,u[n+56>>3]=A,u[n+64>>3]=c,u[n+72>>3]=N,u[n+80>>3]=T,l=n+88|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=2;break}else if(l=n+48|0,z&8){e[l>>2]=8,u[_+16>>3]=+u[f>>3],u[_+24>>3]=+u[s+80>>3]*.5+ +u[s+24>>3],u[_+8>>3]=+u[r+48>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}else{e[l>>2]=2,u[_>>3]=+u[f>>3],u[_+24>>3]=+u[s+80>>3]*.5+ +u[s+24>>3],u[_+8>>3]=+u[r+48>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}while(0);for(e[n+52>>2]=l;l=e[t+16>>2]|0,!!(C[l+112>>0]|0);)t=e[l+116>>2]|0;C[((Z|0)==(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)?l+56|0:l+16|0)+30>>0]=0,e[n+48>>2]=z}else s=4,L=47;break}case 2:{if(z=C[(e[x>>2]|0)+89>>0]|0,s=z&255,!(z<<24>>24))L=46;else{e[_>>2]=e[n>>2],e[_+4>>2]=e[n+4>>2],e[_+8>>2]=e[n+8>>2],e[_+12>>2]=e[n+12>>2],e[_+16>>2]=e[n+16>>2],e[_+20>>2]=e[n+20>>2],e[_+24>>2]=e[n+24>>2],e[_+28>>2]=e[n+28>>2];do if(s&4)l=_+8|0,u[l>>3]=+u[(+u[l>>3]<+u[r+48>>3]?_:f)+8>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;else{if(s&1|0)if((e[n+48>>2]|0)==4){A=+u[_>>3]+-1,l=e[E>>2]|0,T=+u[l+24>>3]-+u[l+80>>3]*.5,N=+u[f>>3],c=T-+((e[(e[(We(Z)|0)+16>>2]|0)+252>>2]|0)/2|0|0),l=e[E>>2]|0,u[_+16>>3]=+u[l+16>>3]+-2-+u[l+88>>3],u[_+8>>3]=T,u[_+24>>3]=+u[l+80>>3]*.5+ +u[l+24>>3],u[_>>3]=A,u[n+56>>3]=A,u[n+64>>3]=c,u[n+72>>3]=N,u[n+80>>3]=T,l=n+88|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=2;break}else{l=_+24|0,u[l>>3]=+u[(+u[l>>3]>+u[r+8>>3]?_+16|0:r)+8>>3],l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}if(A=+u[f>>3],s&8){l=_+16|0,u[l>>3]=A+1,i=e[E>>2]|0,A=+u[i+24>>3],c=+u[i+80>>3]*.5,(e[n+48>>2]|0)==4?(u[_+24>>3]=c+A,A=+u[r+48>>3]+-1,l=_):(u[_+8>>3]=A-c,A=+u[r+48>>3]+1),u[l+8>>3]=A,l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}else{u[_>>3]=A+-1,i=e[E>>2]|0,A=+u[i+24>>3],c=+u[i+80>>3]*.5,(e[n+48>>2]|0)==4?(u[_+24>>3]=c+A,A=+u[r+48>>3]+-1,l=_):(u[_+8>>3]=A-c,A=+u[r+48>>3],l=_+16|0),u[l+8>>3]=A,l=n+56|0,e[l>>2]=e[_>>2],e[l+4>>2]=e[_+4>>2],e[l+8>>2]=e[_+8>>2],e[l+12>>2]=e[_+12>>2],e[l+16>>2]=e[_+16>>2],e[l+20>>2]=e[_+20>>2],e[l+24>>2]=e[_+24>>2],e[l+28>>2]=e[_+28>>2],l=1;break}}while(0);for(e[n+52>>2]=l;l=e[t+16>>2]|0,!!(C[l+112>>0]|0);)t=e[l+116>>2]|0;C[((Z|0)==(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)?l+56|0:l+16|0)+30>>0]=0,e[n+48>>2]=s}break}default:L=46}(L|0)==46&&(s=e[n+48>>2]|0,L=47);e:do if((L|0)==47){if(w){if(t=n+56|0,l=n+52|0,s=ai[w&127](Z,(e[x>>2]|0)+56|0,s,t,l)|0,s){e[n+48>>2]=s;break}}else l=n+52|0,t=n+56|0;switch(e[t>>2]=e[n>>2],e[t+4>>2]=e[n+4>>2],e[t+8>>2]=e[n+8>>2],e[t+12>>2]=e[n+12>>2],e[t+16>>2]=e[n+16>>2],e[t+20>>2]=e[n+20>>2],e[t+24>>2]=e[n+24>>2],e[t+28>>2]=e[n+28>>2],e[l>>2]=1,i|0){case 8:{H0(138394,106514,765,106558);break}case 2:{u[((e[n+48>>2]|0)==4?n+56|0:n+72|0)+8>>3]=+u[r+48>>3];break e}case 1:{u[n+64>>3]=+u[r+48>>3],e[n+48>>2]=4;break e}default:break e}}while(0);g=W}function Lk0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return o=e[r+16>>2]|0,l=e[o+96>>2]|0,!(C[o+44>>0]|0)&&!(C[o+84>>0]|0)?s=6:(t=C[o+49>>0]|0,i=t&255,!(i&8|0)&&(n=C[o+89>>0]|0,(n&8)==0)&&(!(i&5|0)||t<<24>>24!=n<<24>>24)?s=6:r=0),(s|0)==6&&(l?(r=(e[(e[(We(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0)+16>>2]|0)+116>>2]&1|0)!=0,r=~~(+u[(r?l+32|0:l+24|0)>>3]+18)):r=18),r|0}function EC(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=+l,s=s|0;var A=0,c=0,f=0,w=0;r=e[(e[t+(i<<2)>>2]|0)+16>>2]|0,!(C[r+44>>0]|0)&&!(C[r+84>>0]|0)?f=6:f=3;do if((f|0)==3){if(A=C[r+49>>0]|0,c=A&255,!(c&8)){if(w=C[r+89>>0]|0,!(w&8)&&(!(c&5|0)||A<<24>>24!=w<<24>>24)){f=6;break}if(!(C[r+89>>0]&8)){if(c&4|0){CQ(t,i,n,o,l,s);break}if(!(c&1))H0(138394,106514,1231,106566);else{Zk0(t,i,n,o,l,s);break}}}if(!(A&2)&&!(C[r+89>>0]&2)){Gk0(t,i,n,o,l,s);break}CQ(t,i,n,o,l,s)}while(0);(f|0)==6&&Rk0(t,i,n,o,l,s)}function Rk0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0;switch(D0=g,g=g+16080|0,H=D0+80|0,a0=D0+64|0,k0=D0+48|0,B0=D0+32|0,t0=D0+16|0,Y=D0,N=e[r+(t<<2)>>2]|0,c=o*.5/+(i|0),c=c>2?c:2,D=(e[((e[N>>2]&3|0)==3?N:N+48|0)+40>>2]|0)+16|0,W=e[D>>2]|0,T=+u[W+16>>3],F=+u[W+24>>3],N=e[N+16>>2]|0,A=+u[N+16>>3],P=A+T,X=+u[N+24>>3]+F,o=+u[N+56>>3],U=o+T,F=+u[N+64>>3]+F,s=X>=F?1:-1,w=+u[W+96>>3],Sp(s0[N+49>>0]|0,s0[N+89>>0]|0)|0){case 65:case 32:{X==F&&(s=0-s|0);break}default:}for(J0=(w-A)*3,A=(w-o)*3,x=c*+(s|0),B=H+8|0,z=H+16|0,_=H+32|0,L=H+48|0,Z=(F+X)*.5,W=H+64|0,N=H+80|0,m=H+96|0,E=H+104|0,v=0,f=0,o=w,c=w=(i|0));)p=t+1|0,t=e[r+(t<<2)>>2]|0,w=o+n,c=c+n,A=A+n,f=f+x,u[H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=0,Z0=0;switch(J0=g,g=g+16080|0,a0=J0+80|0,k0=J0+64|0,B0=J0+48|0,D0=J0+32|0,Y=J0+16|0,H=J0,T=e[r+(t<<2)>>2]|0,p=n*.5/+(i|0),p=p>2?p:2,P=(e[((e[T>>2]&3|0)==3?T:T+48|0)+40>>2]|0)+16|0,A=e[P>>2]|0,F=+u[A+16>>3],D=+u[A+24>>3],T=e[T+16>>2]|0,s=+u[T+16>>3],w=+u[T+24>>3],X=s+F,U=w+D,n=+u[T+56>>3],f=+u[T+64>>3],F=n+F,q=f+D,c=X>=F?1:-1,m=+u[A+80>>3]*.5,Sp(s0[T+49>>0]|0,s0[T+89>>0]|0)|0){case 15:{s=(p-n+ +u[A+96>>3])*c;break}case 38:{s=(n+p+ +u[A+88>>3])*c;break}case 41:{s=(p-s+ +u[A+96>>3])*c;break}case 48:{s=(p-s+ +u[A+96>>3])*c;break}case 58:case 57:case 51:case 47:case 37:case 14:{s=c*.3333333333333333*(s-n+ +u[A+88>>3]+ +u[A+96>>3]);break}case 73:{s=(s+p+ +u[A+88>>3])*c;break}case 83:{s=(+u[A+88>>3]+s)*c;break}case 84:{s=((s-n+ +u[A+88>>3]+ +u[A+96>>3])*.5+p)*c;break}case 85:case 75:case 74:{s=((s-n+ +u[A+88>>3]+ +u[A+96>>3])*.5+p*2)*c;break}default:s=0}for(w=(m-w)*3,f=(m-f)*3,p=c*p,z=a0+8|0,_=a0+16|0,L=a0+32|0,Z=a0+48|0,W=(F+X)*.5,N=a0+64|0,T=a0+80|0,B=a0+96|0,x=a0+104|0,E=0,n=m,w=m=(i|0));)v=t+1|0,t=e[r+(t<<2)>>2]|0,f=n+o,w=w+o,c=c+o,s=s+p,u[a0>>3]=X,u[z>>3]=U,m=s+X,Ci(k0,m,w*.3333333333333333+U),e[_>>2]=e[k0>>2],e[_+4>>2]=e[k0+4>>2],e[_+8>>2]=e[k0+8>>2],e[_+12>>2]=e[k0+12>>2],O0=f+D,Ci(B0,m,O0),e[L>>2]=e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e[T+8>>2]=e[a0+8>>2],e[T+12>>2]=e[a0+12>>2],O0=x-f,Ci(k0,J0,O0),e[D>>2]=e[k0>>2],e[D+4>>2]=e[k0+4>>2],e[D+8>>2]=e[k0+8>>2],e[D+12>>2]=e[k0+12>>2],Ci(B0,X,O0),e[P>>2]=e[B0>>2],e[P+4>>2]=e[B0+4>>2],e[P+8>>2]=e[B0+8>>2],e[P+12>>2]=e[B0+12>>2],J0=Z-s,Ci(t0,J0,O0),e[U>>2]=e[t0>>2],e[U+4>>2]=e[t0+4>>2],e[U+8>>2]=e[t0+8>>2],e[U+12>>2]=e[t0+12>>2],Ci(Y,J0,W-c*.3333333333333333),e[F>>2]=e[Y>>2],e[F+4>>2]=e[Y+4>>2],e[F+8>>2]=e[Y+8>>2],e[F+12>>2]=e[Y+12>>2],u[m>>3]=Z,u[E>>3]=W,t=w+16|0,e[(e[t>>2]|0)+96>>2]|0&&(Z0=(e[(e[(We(e[((e[w>>2]&3|0)==3?w:w+48|0)+40>>2]|0)|0)+16>>2]|0)+116>>2]&1|0)==0,t=e[(e[t>>2]|0)+96>>2]|0,q=+u[(Z0?t+32|0:t+24|0)>>3],Z0=e[z>>2]|0,u[t+64>>3]=q*-.5-f+ +u[Z0+24>>3],u[t+56>>3]=+u[Z0+16>>3],C[t+81>>0]=1,q>o)?n=q+n:n=f,yi(w,e[((e[w>>2]&3|0)==2?w:w+-48|0)+40>>2]|0,H,7,l),t=v,p=p+1|0;g=D0}function Sp(r,t){r=r|0,t=t|0;var i=0;for(i=0;;){if((i|0)>=8){t=-1;break}if((e[22044+(i<<2)>>2]|0)==(t|0)){t=i;break}i=i+1|0}for(i=0;;){if((i|0)>=8){i=-1;break}if((e[22044+(i<<2)>>2]|0)==(r|0))break;i=i+1|0}return(i|t|0)<0?i=0:i=e[22076+(i<<5)+(t<<2)>>2]|0,i|0}function Ci(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function BC(r){r=r|0;var t=0,i=0;(e[47203]|0)!=0|(e[47202]|0)!=0&&(t=r+16|0,i=e[(e[t>>2]|0)+100>>2]|0,i|0&&!(C[i+81>>0]|0)&&_p(r,1)|0&&(i=We(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0,el(i,e[(e[t>>2]|0)+100>>2]|0)),i=e[(e[t>>2]|0)+104>>2]|0,i|0&&!(C[i+81>>0]|0)&&_p(r,0)|0&&(i=We(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0,el(i,e[(e[t>>2]|0)+104>>2]|0)))}function _p(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;v=g,g=g+96|0,w=v+32|0,c=v+16|0,f=v,l=r+16|0;do if((C[(e[l>>2]|0)+112>>0]|0)!=6){if(i=e[47203]|0,!(i|0&&C[(k2(r,i)|0)>>0]|0)){if(i=e[47202]|0,!i){i=0;break}if(!(C[(k2(r,i)|0)>>0]|0)){i=0;break}}if(t=t<<24>>24==0,p=e[l>>2]|0,p=e[(t?p+104|0:p+100|0)>>2]|0,i=_a(r)|0,i){A=e[i>>2]|0;do if(t){if(e[A+8>>2]|0){i=e[A>>2]|0,s=+u[i>>3],o=+u[A+16>>3],i=i+8|0,n=+u[A+24>>3];break}for(i=e[A>>2]|0,o=+u[i>>3],n=+u[i+8>>3],i=0;(i|0)!=4;)f=w+(i<<4)|0,l=(e[A>>2]|0)+(i<<4)|0,e[f>>2]=e[l>>2],e[f+4>>2]=e[l+4>>2],e[f+8>>2]=e[l+8>>2],e[f+12>>2]=e[l+12>>2],i=i+1|0;Ei(c,w,3,.1,0,0),s=+u[c>>3],i=c+8|0}else{if(t=(e[i+4>>2]|0)+-1|0,l=A+(t*48|0)|0,e[A+(t*48|0)+12>>2]|0){w=e[l>>2]|0,i=(e[A+(t*48|0)+4>>2]|0)+-1|0,s=+u[w+(i<<4)>>3],o=+u[A+(t*48|0)+32>>3],i=w+(i<<4)+8|0,n=+u[A+(t*48|0)+40>>3];break}for(c=e[l>>2]|0,t=A+(t*48|0)+4|0,i=(e[t>>2]|0)+-1|0,o=+u[c+(i<<4)>>3],n=+u[c+(i<<4)+8>>3],i=0;(i|0)!=4;)c=w+(i<<4)|0,A=(e[l>>2]|0)+(i+-4+(e[t>>2]|0)<<4)|0,e[c>>2]=e[A>>2],e[c+4>>2]=e[A+4>>2],e[c+8>>2]=e[A+8>>2],e[c+12>>2]=e[A+12>>2],i=i+1|0;Ei(f,w,3,.9,0,0),s=+u[f>>3],i=f+8|0}while(0);m=+I2(+(+u[i>>3]-n),+(s-o)),m=+sr(r,e[47203]|0,-25,-180)*.017453292519943295+m,s=+sr(r,e[47202]|0,1,0)*10,u[p+56>>3]=s*+ee(+m)+o,u[p+64>>3]=+le(+m)*s+n,C[p+81>>0]=1,i=1}else i=0}else i=0;while(0);return g=v,i|0}function _a(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(l=g,g=g+16|0,n=l,t=r;i=e[t+16>>2]|0,t=e[i+8>>2]|0,!(t|0);){if(!(C[i+112>>0]|0)){o=5;break}t=e[i+116>>2]|0}return(o|0)==5&&(o=te(e[((e[r>>2]&3|0)==3?r:r+48|0)+40>>2]|0)|0,t=te(e[((e[r>>2]&3|0)==2?r:r+-48|0)+40>>2]|0)|0,e[n>>2]=o,e[n+4>>2]=t,$0(1,106579,n)|0,t=0),g=l,t|0}function EQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;E=g,g=g+96|0,c=E+80|0,f=E+64|0,w=E+48|0,p=E+32|0,v=E+16|0,m=E,A=$[(e[t+16>>2]|0)+136>>1]|0,t=i+16|0,Wk0(e[(e[t>>2]|0)+8>>2]|0,p,v),n=+u[p>>3],o=+u[v>>3],B=n-o,l=+u[p+8>>3],s=+u[v+8>>3],x=l-s;e:do if(x*x+B*B<1e-6)e[w>>2]=e[p>>2],e[w+4>>2]=e[p+4>>2],e[w+8>>2]=e[p+8>>2],e[w+12>>2]=e[p+12>>2];else switch(A&14){case 4:case 10:{u[f>>3]=(o+n)*.5,u[f+8>>3]=(s+l)*.5,v=e[(e[t>>2]|0)+8>>2]|0,e[c>>2]=e[f>>2],e[c+4>>2]=e[f+4>>2],e[c+8>>2]=e[f+8>>2],e[c+12>>2]=e[f+12>>2],GQ(m,v,c),e[w>>2]=e[m>>2],e[w+4>>2]=e[m+4>>2],e[w+8>>2]=e[m+8>>2],e[w+12>>2]=e[m+12>>2];break e}default:{Dk0(w,e[(e[t>>2]|0)+8>>2]|0,p,v);break e}}while(0);e[r>>2]=e[w>>2],e[r+4>>2]=e[w+4>>2],e[r+8>>2]=e[w+8>>2],e[r+12>>2]=e[w+12>>2],g=E}function Wk0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;s=g,g=g+32|0,l=s+16|0,o=s,c=e[r>>2]|0,n=e[c>>2]|0,A=e[c+8>>2]|0,f=c+16|0,e[l>>2]=e[f>>2],e[l+4>>2]=e[f+4>>2],e[l+8>>2]=e[f+8>>2],e[l+12>>2]=e[f+12>>2],c=c+32|0,e[o>>2]=e[c>>2],e[o+4>>2]=e[c+4>>2],e[o+8>>2]=e[c+8>>2],e[o+12>>2]=e[c+12>>2],A?(e[t>>2]=e[l>>2],e[t+4>>2]=e[l+4>>2],e[t+8>>2]=e[l+8>>2],e[t+12>>2]=e[l+12>>2]):(e[t>>2]=e[n>>2],e[t+4>>2]=e[n+4>>2],e[t+8>>2]=e[n+8>>2],e[t+12>>2]=e[n+12>>2]),A=e[r>>2]|0,c=(e[r+4>>2]|0)+-1|0,n=e[A+(c*48|0)>>2]|0,r=e[A+(c*48|0)+4>>2]|0,f=e[A+(c*48|0)+12>>2]|0,t=A+(c*48|0)+16|0,e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],c=A+(c*48|0)+32|0,e[o>>2]=e[c>>2],e[o+4>>2]=e[c+4>>2],e[o+8>>2]=e[c+8>>2],e[o+12>>2]=e[c+12>>2],f?(e[i>>2]=e[o>>2],e[i+4>>2]=e[o+4>>2],e[i+8>>2]=e[o+8>>2],e[i+12>>2]=e[o+12>>2]):(f=n+(r+-1<<4)|0,e[i>>2]=e[f>>2],e[i+4>>2]=e[f+4>>2],e[i+8>>2]=e[f+8>>2],e[i+12>>2]=e[f+12>>2]),g=s}function Dk0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(B=e[t+4>>2]|0,l=0,o=0;!((o|0)>=(B|0));){for(f=e[t>>2]|0,c=e[f+(o*48|0)>>2]|0,f=e[f+(o*48|0)+4>>2]|0,s=3,A=0;!((s|0)>=(f|0));)E=+u[c+(A<<4)>>3]-+u[c+(s<<4)>>3],m=+u[c+(A<<4)+8>>3]-+u[c+(s<<4)+8>>3],s=s+3|0,A=A+3|0,l=+G0(+(m*m+E*E))+l;o=o+1|0}f=0,l=l*.5;e:for(;;){if((f|0)>=(B|0)){o=15;break}for(c=e[t>>2]|0,A=e[c+(f*48|0)>>2]|0,c=e[c+(f*48|0)+4>>2]|0,o=3,s=0;!((o|0)>=(c|0));){if(w=+u[A+(s<<4)>>3],m=+u[A+(s<<4)+8>>3],p=+u[A+(o<<4)>>3],v=+u[A+(o<<4)+8>>3],E=w-p,x=m-v,E=+G0(+(x*x+E*E)),E>=l){o=12;break e}o=o+3|0,s=s+3|0,l=l-E}f=f+1|0}if((o|0)==12){u[i>>3]=w,u[i+8>>3]=m,u[n>>3]=p,u[n+8>>3]=v,x=E-l,u[r>>3]=(x*w+p*l)/E,u[r+8>>3]=(x*m+v*l)/E;return}else(o|0)==15&&H0(138712,106514,1316,106641)}function zf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,BC(t)}function Mk0(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0;for(t0=jk0(r)|0,q=e[t0+4>>2]|0,Y=e[t0>>2]|0,F=q+-1|0,D=+u[Y+(F<<6)+16>>3],P=+(q|0),X=(o|0)==2,U=(n|0)!=0,w=0,s=0,l=0,c=0,f=0;!((w|0)>=(q|0));){r=~~+zp(+(w+-1|0),P),T=w+1|0,H=~~+zp(+(T|0),P),p=Y+(w<<6)|0,f=+u[p>>3],N=Y+(w<<6)+8|0,c=+u[N>>3],B=Y+(w<<6)+16|0,x=+u[B>>3],z=Y+(w<<6)+24|0,_=Y+(w<<6)+32|0,L=Y+(w<<6)+40|0,Z=Y+(w<<6)+48|0,W=Y+(w<<6)+56|0,A=+BQ(+u[Y+(H<<6)+8>>3]-c,+u[Y+(H<<6)>>3]-f),m=+BQ(+u[Y+(r<<6)+8>>3]-c,+u[Y+(r<<6)>>3]-f),E=+UY[t&7](x,D,i),r=(w|0)==0;do if(r|(w|0)==(F|0))if(r){if(l=A+1.5707963267948966,!X){r=0,v=l,s=E;break}r=0,v=l,s=E,c=c-+le(+A)*E,f=f-+ee(+A)*E;break}else{if(l=m+-1.5707963267948966,!X){r=0,v=l,s=E;break}r=0,v=l,s=E,c=c-+le(+m)*E,f=f-+ee(+m)*E;break}else v=A-m,v=1.5707963267948966-(v<0?v+6.283185307179586:v)*.5,s=+ee(+v),s=s==0?0:E/s,l=A+1.5707963267948966,A=v+l,U|s>E*10?(m=+zp(m+-1.5707963267948966,6.283185307179586),r=1,v=+zp(l,6.283185307179586),s=E,l=m):(r=0,v=A,l=A);while(0);u[p>>3]=f,u[N>>3]=c,u[B>>3]=x,C[z>>0]=108,u[_>>3]=l,u[L>>3]=s,e[Z>>2]=r,u[W>>3]=v,w=T}for(p=j0(12)|0,r=0;!((r|0)>=(q|0));)f=+u[Y+(r<<6)>>3],c=+u[Y+(r<<6)+8>>3],l=+u[Y+(r<<6)+32>>3],s=+u[Y+(r<<6)+40>>3],H=e[Y+(r<<6)+48>>2]|0,A=+u[Y+(r<<6)+56>>3],za(p,+ee(+l)*s+f,+le(+l)*s+c),H|0&&IQ(f,c,s,1,l,A,n,p),r=r+1|0;for(w=(o|0)==1,A=l+3.141592653589793,w?IC(p,f,c,s,l,A):(za(p,+ee(+A)*s+f,+le(+A)*s+c),l=A),r=q+-2|0,A=f;!((r|0)<=-1);)f=+u[Y+(r<<6)>>3],c=+u[Y+(r<<6)+8>>3],s=+u[Y+(r<<6)+40>>3],H=e[Y+(r<<6)+48>>2]|0,l=+u[Y+(r<<6)+32>>3]+3.141592653589793,A=+u[Y+(r<<6)+56>>3]+3.141592653589793,za(p,+ee(+A)*s+f,+le(+A)*s+c),H|0&&IQ(f,c,s,0,l,A,n,p),r=r+-1|0,A=f;return w&&IC(p,A,c,s,l,l+3.141592653589793),Nk0(t0),p|0}function jk0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;E=g,g=g+144|0,A=E+128|0,s=E+112|0,c=E+96|0,f=E+64|0,w=E,p=E+80|0,v=Qk0()|0,m=e[r+4>>2]|0,o=e[r>>2]|0,e[A>>2]=e[o>>2],e[A+4>>2]=e[o+4>>2],e[A+8>>2]=e[o+8>>2],e[A+12>>2]=e[o+12>>2],xQ(v,A,0),l=w+48|0,e[l>>2]=e[o>>2],e[l+4>>2]=e[o+4>>2],e[l+8>>2]=e[o+8>>2],e[l+12>>2]=e[o+12>>2],i=0,t=0;e:for(;n=i+3|0,!((n|0)>=(m|0));){for(e[w>>2]=e[l>>2],e[w+4>>2]=e[l+4>>2],e[w+8>>2]=e[l+8>>2],e[w+12>>2]=e[l+12>>2],r=1;(r|0)!=4;)B=w+(r<<4)|0,x=o+(r+i<<4)|0,e[B>>2]=e[x>>2],e[B+4>>2]=e[x+4>>2],e[B+8>>2]=e[x+8>>2],e[B+12>>2]=e[x+12>>2],r=r+1|0;for(e[c>>2]=e[w>>2],e[c+4>>2]=e[w+4>>2],e[c+8>>2]=e[w+8>>2],e[c+12>>2]=e[w+12>>2],r=1;;){if((r|0)==21){i=n;continue e}Ei(p,w,3,+(r|0)*.05,0,0),e[f>>2]=e[p>>2],e[f+4>>2]=e[p+4>>2],e[f+8>>2]=e[p+8>>2],e[f+12>>2]=e[p+12>>2],e[s>>2]=e[c>>2],e[s+4>>2]=e[c+4>>2],e[s+8>>2]=e[c+8>>2],e[s+12>>2]=e[c+12>>2],e[A>>2]=e[p>>2],e[A+4>>2]=e[p+4>>2],e[A+8>>2]=e[p+8>>2],e[A+12>>2]=e[p+12>>2],z=+Tk0(s,A)+t,e[A>>2]=e[f>>2],e[A+4>>2]=e[f+4>>2],e[A+8>>2]=e[f+8>>2],e[A+12>>2]=e[f+12>>2],xQ(v,A,z),e[c>>2]=e[f>>2],e[c+4>>2]=e[f+4>>2],e[c+8>>2]=e[f+8>>2],e[c+12>>2]=e[f+12>>2],r=r+1|0,t=z}}return Fk0(v),g=E,v|0}function zp(r,t){r=+r,t=+t;var i=0;return i=r-+S0(+(r/t))*t,+(!(r<0)&!(r>=t)?r:i)}function BQ(r,t){return r=+r,t=+t,r==0&t==0?r=0:(r=+I2(+r,+t),r>=0||(r=r+6.283185307179586)),+r}function za(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0;n=e[r>>2]|0,o=r+4|0,(n|0)<(e[o>>2]|0)?o=e[r+8>>2]|0:(e[o>>2]=2e3,n=r+8|0,o=Ve(e[n>>2]|0,32e3)|0,e[n>>2]=o,n=e[r>>2]|0),e[r>>2]=n+1,u[o+(n<<4)>>3]=t,u[o+(n<<4)+8>>3]=i}function IQ(r,t,i,n,o,l,s,A){r=+r,t=+t,i=+i,n=n|0,o=+o,l=+l,s=s|0,A=A|0;var c=0;n=(n|0)==0,c=n?o:l;do if((s|0)==1)if(o=(n?l:o)-c,o=o<=.0017453292519943296?o+6.283185307179586:o,o<3.141592653589793){IC(A,r,t,i,o+c,c);break}else{za(A,+ee(+c)*i+r,+le(+c)*i+r);break}else za(A,+ee(+c)*i+r,+le(+c)*i+r);while(0)}function IC(r,t,i,n,o,l){r=r|0,t=+t,i=+i,n=+n,o=+o,l=+l;var s=0,A=0;za(r,+ee(+o)*n+t,+le(+o)*n+i);e:do if(n!=0){for(;l>o;)l=l+-6.283185307179586;for(l=o-l;l>6.283185307179586;)l=l+-6.283185307179586;for(l=l*.05263157894736842,s=1;;){if((s|0)==20)break e;A=o-l*+(s|0),za(r,+ee(+A)*n+t,+le(+A)*n+i),s=s+1|0}}while(0)}function Nk0(r){r=r|0,r0(e[r>>2]|0),r0(r)}function Qk0(){var r=0;return r=j0(12)|0,e[r+4>>2]=0,e[r+8>>2]=2e3,e[r>>2]=j0(128e3)|0,r|0}function xQ(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0;s=r+4|0,n=e[s>>2]|0,o=r+8|0,l=e[o>>2]|0,(n|0)<(l|0)?r=e[r>>2]|0:(e[o>>2]=l<<1,n=Ve(e[r>>2]|0,l<<7)|0,e[r>>2]=n,r=n,n=e[s>>2]|0),u[r+(n<<6)>>3]=+u[t>>3],u[r+(n<<6)+8>>3]=+u[t+8>>3],e[s>>2]=n+1,u[r+(n<<6)+16>>3]=i}function Tk0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3]-+u[t>>3],n=+u[r+8>>3]-+u[t+8>>3],+ +G0(+(n*n+i*i))}function Fk0(r){r=r|0;var t=0;t=e[r+4>>2]|0,(e[r+8>>2]|0)>(t|0)&&(e[r>>2]=Ve(e[r>>2]|0,t<<6)|0)}function xC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=g,g=g+16|0,c=f+8|0,A=f,l=f+12|0,e[l>>2]=0,s=e[i+4>>2]|0,s||H0(106658,106669,203,106680),n=e[s>>2]|0,n||H0(106694,106669,206,106680),o=s+8|0,e[o>>2]|0||(e[o>>2]=Pk0(n)|0),n=0,(Si0(t,i,n)|0)<<24>>24||Yk0(i,n);do if(n|0)if(o=e[l>>2]|0,t=e[15712]|0,n=e[s>>2]|0,o){e[A>>2]=n,e[A+4>>2]=o,A2(t,106705,A)|0;break}else{e[c>>2]=n,A2(t,106737,c)|0;break}while(0);c=i+32|0,e[r>>2]=e[c>>2],e[r+4>>2]=e[c+4>>2],e[r+8>>2]=e[c+8>>2],e[r+12>>2]=e[c+12>>2],g=f}function Pk0(r){r=r|0;var t=0;return t=e[47301]|0,t|0&&!(De(t,r)|0)?r=e[47310]|0:(r0(t),e[47301]=C2(r)|0,r=Jf(189204,22332,35,36,95)|0,e[47310]=r),r|0}function Yk0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(s=e[r+4>>2]|0,i=e[s>>2]|0,l=+u[s+16>>3],s=r+32|0,u[s>>3]=0,u[r+40>>3]=l*1.2,u[r+16>>3]=0,u[r+24>>3]=l*.1,e[r+8>>2]=0,e[r+12>>2]=0,go(i,106771,4)|0?go(i,106776,5)|0&&go(i,106782,9)|0?(o=4248,i=106792):(o=8344,i=106828):(o=6296,i=106809),t|0&&(e[t>>2]=i),i=e[r>>2]|0,i|0){for(n=0;r=C[i>>0]|0,!!(r<<24>>24);)A=n+ +u[o+((r&255)<<3)>>3],u[s>>3]=A,i=i+1|0,n=A;u[s>>3]=n*l}}function Vk0(r,t){return r=r|0,t=t|0,De(e[r>>2]|0,e[t>>2]|0)|0}function Ok0(r){r=r|0;var t=0;return t=r+108|0,e[t>>2]=0,e[r+112>>2]=32,e[r+116>>2]=-1,e[r+120>>2]=33,e[r+124>>2]=63,e[r+128>>2]=55,e[r+132>>2]=0,e[r+136>>2]=0,e[r+140>>2]=0,t=ct(t,e[4581]|0)|0,e[r+144>>2]=t,t|0}function Hk0(r,t,i){return r=r|0,t=t|0,i=i|0,i=Un(1,32)|0,r=e[t>>2]|0,r|0&&(e[i>>2]=C2(r)|0),r=e[t+4>>2]|0,r|0&&(e[i+4>>2]=C2(r)|0),e[i+24>>2]=e[t+24>>2]&127,u[i+16>>3]=+u[t+16>>3],e[i+8>>2]=e[t+8>>2],i|0}function Jk0(r,t,i){r=r|0,t=t|0,i=i|0,r0(e[t>>2]|0),r0(e[t+4>>2]|0),r0(t)}function Uk0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;r=e[t>>2]|0,n=e[i>>2]|0,s=(n|0)==0,r?s?r=1:(r=ge(r,n)|0,r||(A=5)):s?A=5:r=-1;do if((A|0)==5){if(r=e[t+4>>2]|0,n=e[i+4>>2]|0,s=(n|0)==0,r){if(s){r=1;break}if(r=ge(r,n)|0,r|0)break}else if(!s){r=-1;break}r=(e[t+24>>2]&127)-(e[i+24>>2]&127)|0,r||(l=+u[t+16>>3],o=+u[i+16>>3],lo&1)}while(0);return r|0}function Xk0(){pR(189244)|0}function Lp(){var r=0,t=0;return t=g,g=g+16|0,r=t,pR(r|0)|0,g=t,+(+((e[r+4>>2]|0)+(e[r>>2]|0)-(e[47311]|0)-(e[47312]|0)|0)*.016666666666666666)}function SQ(r){r=r|0;var t=0,i=0;return t=j0(16)|0,r=(r|0)>2?r:2,i=j0(r<<2)|0,e[t>>2]=i,e[t+12>>2]=i,e[t+8>>2]=i,e[t+4>>2]=i+(r<<2),t|0}function _Q(r){r=r|0,r0(e[r>>2]|0),r0(r)}function Th(r,t){r=r|0,t=t|0;var i=0,n=0;i=r+12|0,n=e[i>>2]|0,e[i>>2]=n+4,e[n>>2]=t,(e[i>>2]|0)>>>0>=(e[r+4>>2]|0)>>>0&&(e[i>>2]=e[r>>2])}function SC(r){r=r|0;var t=0,i=0,n=0;return i=r+8|0,t=e[i>>2]|0,(t|0)!=(e[r+12>>2]|0)?(n=t+4|0,e[i>>2]=n,t=e[t>>2]|0,n>>>0>=(e[r+4>>2]|0)>>>0&&(e[i>>2]=e[r>>2])):t=0,t|0}function pr(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;return s=g,g=g+16|0,o=s,t|0&&(l=k2(r,t)|0,(l|0)!=0)&&C[l>>0]|0&&(t=Mk(l,o,10)|0,i=(l|0)==(e[o>>2]|0)?i:(t|0)<(n|0)?n:t),g=s,i|0}function sr(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0;return s=g,g=g+16|0,o=s,(r|0)!=0&(t|0)!=0&&(l=k2(r,t)|0,(l|0)!=0)&&C[l>>0]|0&&(A=+P1(l,o),i=(l|0)==(e[o>>2]|0)?i:A0||(t=+sr(r,re(r,0,107638,0)|0,-1,0),t=t==0?72:t),+t}function wt(r,t,i){return r=r|0,t=t|0,i=i|0,(r|0)!=0&(t|0)!=0&&(i=k2(r,t)|0),i|0}function F2(r,t,i){return r=r|0,t=t|0,i=i|0,r=wt(r,t,i)|0,r|0&&C[r>>0]|0&&(i=r),i|0}function LQ(r,t,i){return r=r|0,t=t|0,i=i|0,t?r=jt(k2(r,t)|0)|0:r=i&255,r|0}function jt(r){return r=r|0,DA(r,0)|0}function DA(r,t){r=r|0,t=t|0;var i=0;return r|0&&(i=C[r>>0]|0,i<<24>>24!=0)&&(De(r,137308)|0&&De(r,107649)|0?De(r,107652)|0&&De(r,107657)|0?((i<<24>>24)+-48|0)>>>0<10&&(t=(F1(r)|0)&255):t=1:t=0),t|0}function Ht(r){r=r|0;for(var t=0,i=0;t=(e[r+16>>2]|0)+220|0,i=e[t>>2]|0,!!((i|0)!=(r|0)&(i|0)!=0);){if(r=e[(e[i+16>>2]|0)+220>>2]|0,!r){r=i;continue}e[t>>2]=r}return r|0}function Rp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return(r|0)!=(t|0)&&(i=e[r+16>>2]|0,n=i+220|0,e[n>>2]|0?r=Ht(r)|0:(e[n>>2]=r,e[i+216>>2]=1),i=e[t+16>>2]|0,n=i+220|0,e[n>>2]|0?(i=Ht(t)|0,t=i,i=e[i+16>>2]|0):(e[n>>2]=t,e[i+216>>2]=1),l=r+16|0,n=e[l>>2]|0,o=t+16|0,s=(e[n+120>>2]|0)>(e[i+120>>2]|0),r=s?t:r,e[(s?n:i)+220>>2]=r,n=(e[(s?o:l)>>2]|0)+216|0,e[n>>2]=(e[n>>2]|0)+(e[(e[(s?l:o)>>2]|0)+216>>2]|0)),r|0}function RQ(r){r=r|0,r=e[r+16>>2]|0,e[r+216>>2]=1,e[r+220>>2]=0,C[r+159>>0]=0}function qk0(r,t){if(r=r|0,t=t|0,(Ht(r)|0)==(r|0)){r=e[r+16>>2]|0,e[r+220>>2]=t,t=(e[t+16>>2]|0)+216|0,e[t>>2]=(e[t>>2]|0)+(e[r+216>>2]|0);return}else H0(107669,107661,194,107685)}function Gp(r,t){r=r|0,t=t|0;var i=0;t=e[(e[t+16>>2]|0)+132>>2]|0,i=+u[t+8>>3]*72,u[r>>3]=+u[t>>3]*72,u[r+8>>3]=i}function Ei(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(p=g,g=g+576|0,w=p,s=0;!((s|0)>(i|0));)c=w+(s<<4)|0,A=t+(s<<4)|0,e[c>>2]=e[A>>2],e[c+4>>2]=e[A+4>>2],e[c+8>>2]=e[A+8>>2],e[c+12>>2]=e[A+12>>2],s=s+1|0;for(f=1-n,s=1;!((s|0)>(i|0));){for(A=i-s|0,c=s+-1|0,t=0;!((t|0)>(A|0));)v=t+1|0,u[w+(s*96|0)+(t<<4)>>3]=+u[w+(c*96|0)+(v<<4)>>3]*n+ +u[w+(c*96|0)+(t<<4)>>3]*f,u[w+(s*96|0)+(t<<4)+8>>3]=+u[w+(c*96|0)+(v<<4)+8>>3]*n+ +u[w+(c*96|0)+(t<<4)+8>>3]*f,t=v;s=s+1|0}e:do if(o|0)for(s=0;;){if((s|0)>(i|0))break e;v=o+(s<<4)|0,c=w+(s*96|0)|0,e[v>>2]=e[c>>2],e[v+4>>2]=e[c+4>>2],e[v+8>>2]=e[c+8>>2],e[v+12>>2]=e[c+12>>2],s=s+1|0}while(0);e:do if(l|0)for(s=0;;){if((s|0)>(i|0))break e;v=l+(s<<4)|0,o=w+((i-s|0)*96|0)+(s<<4)|0,e[v>>2]=e[o>>2],e[v+4>>2]=e[o+4>>2],e[v+8>>2]=e[o+8>>2],e[v+12>>2]=e[o+12>>2],s=s+1|0}while(0);v=w+(i*96|0)|0,e[r>>2]=e[v>>2],e[r+4>>2]=e[v+4>>2],e[r+8>>2]=e[v+8>>2],e[r+12>>2]=e[v+12>>2],g=p}function $k0(r){r=r|0;var t=0,i=0,n=0,o=0;i=0;do{if(t=e[47315]|0,n=t+1024|0,(t-i|0)<1024?(e[47315]=n,n=Ve(e[47316]|0,n)|0,e[47316]=n,t=e[47315]|0):n=e[47316]|0,t=tu(n+i|0,t-i|0,r)|0,!t){o=6;break}i=(d2(t)|0)+i|0,t=e[47316]|0}while((C[t+(i+-1)>>0]|0)!=10);return(o|0)==6&&(t=e[47316]|0),((i|0)>0?t:0)|0}function Zp(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0;do if(r|0&&C[r>>0]|0){if(t=e[47133]|0,i=e[47318]|0,(e[47317]|0)==(t|0))t=i;else{if(i&&(r0(e[i>>2]|0),r0(e[47318]|0),e[47318]=0,t=e[47133]|0),e[47317]=t,!t||!(C[t>>0]|0))break;t=Kk0(t)|0,e[47318]=t}if(!((C[r>>0]|0)!=47&(t|0)!=0))break;r=bk0(t,e[47319]|0,r)|0;break}else r=0;while(0);return g=n,r|0}function Kk0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(n=0,o=0,l=0,t=C2(r)|0,i=0;t=Na(t,107984)|0,!!t;)r=(l<<2)+8|0,o?r=Ve(i,r)|0:r=_0(r)|0,e[r+(l<<2)>>2]=t,o=d2(t)|0,n=n>>>0>o>>>0?n:o,o=r,l=l+1|0,t=0,i=r;return e[o+(l<<2)>>2]=0,e[47319]=n,o|0}function bk0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=g,g=g+16|0,n=l,s=e[47320]|0,e[47320]=V2(s,t+2+(d2(i)|0)|0)|0;;){if(t=e[r>>2]|0,!t){r=0;break}if(s=e[47320]|0,e[n>>2]=t,e[n+4>>2]=107982,e[n+8>>2]=i,Ke(s,107975,n)|0,jB0(e[47320]|0,4)|0)r=r+4|0;else{o=4;break}}return(o|0)==4&&(r=e[47320]|0),g=l,r|0}function _C(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;for(o=(r|0)==0,n=0;l=e[t+(n<<2)>>2]|0,!(!l||!o&&(C[r>>0]|0)==(C[l>>0]|0)&&!(ge(r,l)|0));)n=n+1|0;return e[i+(n<<2)>>2]|0}function GQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0;for(N=g,g=g+80|0,Z=N+16|0,W=N,z=e[t+4>>2]|0,_=e[t>>2]|0,L=i+8|0,o=0,n=-1,l=1e38,t=-1;!((o|0)>=(z|0));){for(B=e[_+(o*48|0)>>2]|0,x=e[_+(o*48|0)+4>>2]|0,E=0;!((E|0)>=(x|0));)m=+u[B+(E<<4)>>3]-+u[i>>3],v=+u[B+(E<<4)+8>>3]-+u[L>>3],m=v*v+m*m,T=(n|0)==-1|m>2]|0,n=n+(((n|0)==((e[_+(t*48|0)+4>>2]|0)+-1|0))<<31>>31)|0,n=n-((n|0)%3|0)|0,t=0;(t|0)!=4;)D=t+n|0,u[Z+(t<<4)>>3]=+u[o+(D<<4)>>3],u[Z+(t<<4)+8>>3]=+u[o+(D<<4)+8>>3],t=t+1|0;for(m=+u[i>>3],c=+u[Z>>3]-m,p=+u[L>>3],v=+u[Z+8>>3]-p,A=+u[Z+48>>3]-m,w=+u[Z+56>>3]-p,t=W+8|0,l=1,s=0,A=w*w+A*A,c=v*v+c*c;v=(l+s)*.5,Ei(W,Z,3,v,0,0),f=+u[W>>3],w=+u[t>>3],!(+L0(+(c-A))<1||+L0(+(l-s))<1e-5);)D=c>3]=f,u[r+8>>3]=w,g=N}function ev0(){return 0}function Wp(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;t=+sr(r,e[47146]|0,.75,.01),o=r+16|0,u[(e[o>>2]|0)+32>>3]=t,t=+sr(r,e[47145]|0,.5,.02),u[(e[o>>2]|0)+40>>3]=t,c=tk0(F2(r,e[47147]|0,107986)|0,r)|0,e[(e[o>>2]|0)+8>>2]=c,c=k2(r,e[47154]|0)|0,t=+sr(r,e[47150]|0,14,1),i=F2(r,e[47151]|0,107994)|0,n=F2(r,e[47152]|0,137314)|0,l=(Rl(c)|0)!=0,A=(ZA(r)|0)==2,l=LA(r,c,(A?4:0)|(l?2:0),t,i,n)|0,e[(e[o>>2]|0)+104>>2]=l,l=e[47155]|0,l|0&&(s=k2(r,l)|0,s|0)&&C[s>>0]|0&&(c=(Rl(s)|0)!=0,c=LA(r,s,c?2:0,t,i,n)|0,e[(e[o>>2]|0)+108>>2]=c,c=(e[(We(r)|0)+16>>2]|0)+113|0,C[c>>0]=C[c>>0]|16),A=(pr(r,e[47158]|0,0,0)|0)&255,c=e[o>>2]|0,C[c+144>>0]=A,l2[e[e[(e[c+8>>2]|0)+4>>2]>>2]&127](r)}function La(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=g,g=g+112|0,c=z+96|0,f=z+80|0,E=z+40|0,x=z,m=r+48|0,p=We(e[((e[r>>2]&3|0)==3?r:m)+40>>2]|0)|0,o=c+8|0,e[o>>2]=0,w=f+8|0,e[w>>2]=0,t=e[47182]|0,t|0&&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(e[(e[i+16>>2]|0)+8>>2]|0)+4>>2]|0)+8>>2]|0,i,t),t=E,i=n+40|0;do e[n>>2]=e[t>>2],n=n+4|0,t=t+4|0;while((n|0)<(i|0));(DQ(r,e[47204]|0)|0)<<24>>24&&(C[(e[o>>2]|0)+46>>0]=0),t=he(r,111464)|0,t=t|0?t:195059,C[t>>0]|0?(i=r+-48|0,C[(e[(e[((e[r>>2]&3|0)==2?r:i)+40>>2]|0)+16>>2]|0)+145>>0]=1):i=r+-48|0,n=(e[o>>2]|0)+56|0,i=e[((e[r>>2]&3|0)==2?r:i)+40>>2]|0,WQ(x,e[(e[(e[(e[i+16>>2]|0)+8>>2]|0)+4>>2]|0)+8>>2]|0,i,t),t=x,i=n+40|0;do e[n>>2]=e[t>>2],n=n+4|0,t=t+4|0;while((n|0)<(i|0));return(DQ(r,e[47205]|0)|0)<<24>>24&&(C[(e[o>>2]|0)+86>>0]=0),g=z,B|0}function zC(r,t){r=r|0,t=t|0,u[t>>3]=+sr(r,e[47179]|0,14,1),e[t+8>>2]=F2(r,e[47180]|0,107994)|0,e[t+12>>2]=F2(r,e[47181]|0,137314)|0}function ZQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=t+8|0,e[n>>2]|0||zC(r,t),u[i>>3]=+sr(r,e[47199]|0,+u[t>>3],1),e[i+8>>2]=F2(r,e[47200]|0,e[n>>2]|0)|0,e[i+12>>2]=F2(r,e[47201]|0,e[t+12>>2]|0)|0}function WQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;if(f=g,g=g+128|0,c=f+80|0,l=f+40|0,o=f,n|0&&(A=Zr(n,58)|0,(A|0)!=0)){C[A>>0]=0,s=A+1|0,Y1[t&31](l,i,n,s),i=c,o=l,t=i+36|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(t|0));C[A>>0]=58,n=s}else{Y1[t&31](o,i,n,0),i=c,t=i+36|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(t|0))}i=r,o=c,t=i+36|0;do e[i>>2]=e[o>>2],i=i+4|0,o=o+4|0;while((i|0)<(t|0));e[r+36>>2]=n,g=f}function DQ(r,t){r=r|0,t=t|0;var i=0;return t|0&&(i=k2(r,t)|0,(i|0)!=0)&&C[i>>0]|0?r=(jt(i)|0)<<24>>24==0&1:r=0,r|0}function MQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(c=g,g=g+32|0,s=c,A=e[t+8>>2]|0,i=e[t+4>>2]|0,i=(e[t+44>>2]|0)+((N0((i|0)>1?i+-1|0:0,A)|0)<<4)|0,n=s+16|0,e[n>>2]=e[i>>2],e[n+4>>2]=e[i+4>>2],e[n+8>>2]=e[i+8>>2],e[n+12>>2]=e[i+12>>2],e[s>>2]=e[i>>2],e[s+4>>2]=e[i+4>>2],e[s+8>>2]=e[i+8>>2],e[s+12>>2]=e[i+12>>2],o=s+8|0,l=s+24|0,t=1;!((t|0)>=(A|0));)f=i+(t<<4)|0,p=+u[f>>3],u[s>>3]=+u[(+u[s>>3]>3],w=+u[f+8>>3],u[o>>3]=+u[(+u[o>>3]>3],u[n>>3]=+u[(+u[n>>3]>p?n:f)>>3],u[l>>3]=+u[(+u[l>>3]>w?n:f)+8>>3],t=t+1|0;e[r>>2]=e[s>>2],e[r+4>>2]=e[s+4>>2],e[r+8>>2]=e[s+8>>2],e[r+12>>2]=e[s+12>>2],e[r+16>>2]=e[s+16>>2],e[r+20>>2]=e[s+20>>2],e[r+24>>2]=e[s+24>>2],e[r+28>>2]=e[s+28>>2],g=c}function el(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;i=g,g=g+64|0,l=i+32|0,n=i,o=e[r+16>>2]|0,r=o+16|0,o=e[o+116>>2]&1,e[l>>2]=e[r>>2],e[l+4>>2]=e[r+4>>2],e[l+8>>2]=e[r+8>>2],e[l+12>>2]=e[r+12>>2],e[l+16>>2]=e[r+16>>2],e[l+20>>2]=e[r+20>>2],e[l+24>>2]=e[r+24>>2],e[l+28>>2]=e[r+28>>2],Ra(n,l,t,o),e[r>>2]=e[n>>2],e[r+4>>2]=e[n+4>>2],e[r+8>>2]=e[n+8>>2],e[r+12>>2]=e[n+12>>2],e[r+16>>2]=e[n+16>>2],e[r+20>>2]=e[n+20>>2],e[r+24>>2]=e[n+24>>2],e[r+28>>2]=e[n+28>>2],g=i}function Ra(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;l=+u[i+56>>3],f=+u[i+64>>3],A=n<<24>>24==0,c=+u[i+24>>3],s=+u[i+32>>3],w=(A?c:s)*.5,o=l-w,l=w+l,o<+u[t>>3]&&(u[t>>3]=o),n=t+16|0,l>+u[n>>3]&&(u[n>>3]=l),l=(A?s:c)*.5,o=f-l,l=l+f,n=t+8|0,o<+u[n>>3]&&(u[n>>3]=o),n=t+24|0,l>+u[n>>3]&&(u[n>>3]=l),e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2],e[r+16>>2]=e[t+16>>2],e[r+20>>2]=e[t+20>>2],e[r+24>>2]=e[t+24>>2],e[r+28>>2]=e[t+28>>2]}function MA(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0;if(a0=g,g=g+448|0,q=a0+416|0,B=a0+384|0,x=a0+304|0,H=a0+256|0,F=a0+192|0,T=a0+144|0,D=a0+96|0,t=a0+400|0,i=a0+368|0,n=a0+352|0,o=a0+336|0,z=a0+288|0,_=a0+224|0,L=a0+160|0,Z=a0+112|0,W=a0+64|0,N=a0+32|0,t0=a0,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H+20>>2]=e[t0+20>>2],e[H+24>>2]=e[t0+24>>2],e[H+28>>2]=e[t0+28>>2],t=e[Y>>2]|0),Y=t+16|0,e[Y>>2]=e[H>>2],e[Y+4>>2]=e[H+4>>2],e[Y+8>>2]=e[H+8>>2],e[Y+12>>2]=e[H+12>>2],e[Y+16>>2]=e[H+16>>2],e[Y+20>>2]=e[H+20>>2],e[Y+24>>2]=e[H+24>>2],e[Y+28>>2]=e[H+28>>2]}g=a0}function Dp(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function LC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[t+8>>3]-+u[i+8>>3],u[r>>3]=+u[t>>3]-+u[i>>3],u[r+8>>3]=n}function jQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[i+8>>3]+ +u[t+8>>3],u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=n}function Mp(r){return r=r|0,(e[r+60>>2]|0)==(r|0)?r=1:r=(go(te(r)|0,108006,7)|0)==0&1,r|0}function RC(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;e:do if(!o)switch(qo(t)|0){case 0:{o=re(r,0,i,195059)|0;break e}case 1:{o=re(r,1,i,195059)|0;break e}case 2:{o=re(r,2,i,195059)|0;break e}default:{o=0;break e}}while(0);return Er(t,o,n)|0,o|0}function rv0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+144|0,n=A,l=NQ(r)|0,o=ct(23592,e[4581]|0)|0,s=ji(r,108014,1)|0,$e(s,137483,280,1)|0,Vt(n,128,A+16|0),t=U0(r)|0;t;){e:do if(!(C[(e[t+16>>2]|0)+118>>0]|0))for(i=Me(r,t)|0;;){if(!i)break e;tv0(i,s,n,o,l),i=Qe(r,i)|0}while(0);t=X0(r,t)|0}for(Ot(n),Fr(o)|0,i=v2(s)|0,t=U0(s)|0;t;)o=X0(s,t)|0,zn(r,t)|0,t=o;return Di(s)|0,i|0&&(s=(e[r+16>>2]|0)+136|0,$[s>>1]=$[s>>1]|1),Fr(l)|0,g=A,i|0}function NQ(r){r=r|0;var t=0;return t=ct(23628,e[4581]|0)|0,QQ(r,t),t|0}function tv0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+48|0,m=x+32|0,v=x+24|0,B=x+16|0,E=x+8|0,c=x,w=e[r>>2]&3,f=e[((w|0)==3?r:r+48|0)+40>>2]|0,w=e[((w|0)==2?r:r+-48|0)+40>>2]|0;do if(!(C[(e[w+16>>2]|0)+118>>0]|0)&&(Yr(te(f)|0,108006,7)|0?p=0:p=GC(o,te(f)|0)|0,Yr(te(w)|0,108006,7)|0?s=0:s=GC(o,te(w)|0)|0,l=(p|0)!=0,A=(s|0)!=0,l|A)){if((p|0)==(s|0)){E=te(f)|0,B=te(f)|0,e[c>>2]=E,e[c+4>>2]=B,$0(0,108029,c)|0;break}if(o=iv0(n,r)|0,o|0){Fh(r,e[o+16>>2]|0,e[o+20>>2]|0)|0;break}if(!A)if(Mi(p,w)|0){E=te(w)|0,B=te(p)|0,e[m>>2]=E,e[m+4>>2]=B,$0(0,108184,m)|0;break}else{ZC(n,f,w,Fh(r,jp(f,p,i,t)|0,w)|0);break}if(!l)if(Mi(s,f)|0){E=te(f)|0,B=te(s)|0,e[v>>2]=E,e[v+4>>2]=B,$0(0,108147,v)|0;break}else{ZC(n,f,w,Fh(r,f,jp(w,s,i,t)|0)|0);break}if(Mi(s,p)|0){m=te(p)|0,B=te(s)|0,e[E>>2]=m,e[E+4>>2]=B,$0(0,108067,E)|0;break}if(Mi(p,s)|0){m=te(s)|0,E=te(p)|0,e[B>>2]=m,e[B+4>>2]=E,$0(0,108107,B)|0;break}else{B=jp(f,p,i,t)|0,ZC(n,f,w,Fh(r,B,jp(w,s,i,t)|0)|0);break}}while(0);g=x}function GC(r,t){return r=r|0,t=t|0,r=oe[e[r>>2]&63](r,t,512)|0,r?r=e[r+12>>2]|0:r=0,r|0}function iv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+16|0,n=i,o=e[t>>2]&3,e[n>>2]=e[((o|0)==3?t:t+48|0)+40>>2],e[n+4>>2]=e[((o|0)==2?t:t+-48|0)+40>>2],t=oe[e[r>>2]&63](r,n,512)|0,g=i,t|0}function Fh(r,t,i){return r=r|0,t=t|0,i=i|0,i=rr(We(t)|0,t,i,0,1)|0,$e(i,137460,176,1)|0,Cd(r,i)|0,i|0}function jp(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;return c=g,g=g+112|0,o=c,A=c+4|0,t2(i,108221)|0,s=e[47321]|0,e[47321]=s+1,e[o>>2]=s,Ke(A,137395,o)|0,t2(i,A)|0,A=i+4|0,o=e[A>>2]|0,s=i+8|0,o>>>0>=(e[s>>2]|0)>>>0&&(Xe(i,1)|0,o=e[A>>2]|0),e[A>>2]=o+1,C[o>>0]=58,t2(i,te(t)|0)|0,l=c2(t)|0,o=e[A>>2]|0,o>>>0>=(e[s>>2]|0)>>>0&&(Xe(i,1)|0,o=e[A>>2]|0),C[o>>0]=0,i=e[i>>2]|0,e[A>>2]=i,A=ht(l,i,1)|0,$e(A,137447,304,1)|0,C[(e[A+16>>2]|0)+118>>0]=1,ft(t,A,1)|0,ft(n,r,1)|0,n=We(A)|0,e[47154]=RC(n,A,108224,195059,e[47154]|0)|0,n=We(A)|0,e[47157]=RC(n,A,141082,134335,e[47157]|0)|0,n=We(A)|0,e[47147]=RC(n,A,108230,108236,e[47147]|0)|0,g=c,A|0}function ZC(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;o=g,g=g+32|0,l=o,p=l+8|0,e[p>>2]=t,w=l+12|0,e[w>>2]=i,v=e[n>>2]&3,A=n+48|0,c=l+16|0,e[c>>2]=e[((v|0)==3?n:A)+40>>2],f=n+-48|0,s=l+20|0,e[s>>2]=e[((v|0)==2?n:f)+40>>2],oe[e[r>>2]&63](r,l,1)|0,e[p>>2]=i,e[w>>2]=t,i=e[n>>2]&3,e[c>>2]=e[((i|0)==2?n:f)+40>>2],e[s>>2]=e[((i|0)==3?n:A)+40>>2],oe[e[r>>2]&63](r,l,1)|0,g=o}function nv0(r,t,i){return r=r|0,t=t|0,i=i|0,i=j0(24)|0,e[i+8>>2]=e[t+8>>2],e[i+12>>2]=e[t+12>>2],e[i+16>>2]=e[t+16>>2],e[i+20>>2]=e[t+20>>2],i|0}function ov0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function lv0(r,t,i,n){if(r=r|0,t=t|0,i=i|0,n=n|0,r=e[t>>2]|0,n=e[i>>2]|0,r>>>0>=n>>>0)if(r>>>0>n>>>0)r=1;else return t=e[t+4>>2]|0,i=e[i+4>>2]|0,(t>>>0>>0?-1:t>>>0>i>>>0&1)|0;else r=-1;return r|0}function QQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(s=g,g=g+16|0,l=s,o=r+16|0,n=1;r=e[o>>2]|0,!((n|0)>(e[r+180>>2]|0));)r=e[(e[r+184>>2]|0)+(n<<2)>>2]|0,i=te(r)|0,oe[e[t>>2]&63](t,i,512)|0?(e[l>>2]=i,$0(0,108240,l)|0):(A=j0(16)|0,e[A+8>>2]=i,e[A+12>>2]=r,oe[e[t>>2]&63](t,A,1)|0),QQ(r,t),n=n+1|0;g=s}function sv0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function TQ(r){r=r|0;var t=0,i=0,n=0;for(n=ji(r,108014,1)|0,$e(n,137483,280,1)|0,t=U0(r)|0;t;){for(i=Me(r,t)|0;i;)Av0(i,n),i=Qe(r,i)|0;t=X0(r,t)|0}for(t=U0(n)|0;t;)i=X0(n,t)|0,jA(t),zn(r,t)|0,t=i;Di(n)|0}function Av0(r,t){r=r|0,t=t|0;var i=0,n=0;i=e[r>>2]&3,n=e[((i|0)==3?r:r+48|0)+40>>2]|0,i=e[((i|0)==2?r:r+-48|0)+40>>2]|0,!(C[(e[n+16>>2]|0)+118>>0]|0)&&!(C[(e[i+16>>2]|0)+118>>0]|0)||(n=FQ(n,t)|0,i=Fh(r,n,FQ(i,t)|0)|0,n=e[r+16>>2]|0,t=n+8|0,i=e[i+16>>2]|0,e[i+8>>2]=e[t>>2],e[t>>2]=0,t=n+96|0,e[i+96>>2]=e[t>>2],e[t>>2]=0,t=n+108|0,e[i+108>>2]=e[t>>2],e[t>>2]=0,t=n+100|0,e[i+100>>2]=e[t>>2],e[t>>2]=0,n=n+104|0,e[i+104>>2]=e[n>>2],e[n>>2]=0,NA(r))}function jA(r){r=r|0;var t=0,i=0,n=0;n=r+16|0,t=e[n>>2]|0,i=e[t+132>>2]|0,i&&(r0(i),t=e[n>>2]|0),i=e[t+8>>2]|0,i&&(l2[e[(e[i+4>>2]|0)+4>>2]&127](r),t=e[n>>2]|0),an(e[t+104>>2]|0),an(e[(e[n>>2]|0)+108>>2]|0),An(r,137447)|0}function FQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=We(r)|0;e:do if(C[(e[r+16>>2]|0)+118>>0]|0&&(ft(t,r,1)|0,r=Zr(te(r)|0,58)|0,r||H0(111208,107661,1225,108292),t=r+1|0,r=ht(n,t,0)|0,!r))for(r=ht(n,t,1)|0,$e(r,137447,304,1)|0,t=co(n,1,0)|0;;){if(!t)break e;o=k2(r,t)|0,i=e[t+12>>2]|0,(o|0)!=(i|0)&&Er(r,t,i)|0,t=co(n,1,t)|0}while(0);return r|0}function NA(r){r=r|0;var t=0;t=r+16|0,r0(e[(e[t>>2]|0)+144>>2]|0),Np(r),an(e[(e[t>>2]|0)+96>>2]|0),an(e[(e[t>>2]|0)+108>>2]|0),an(e[(e[t>>2]|0)+100>>2]|0),an(e[(e[t>>2]|0)+104>>2]|0),An(r,137460)|0}function Np(r){r=r|0;var t=0,i=0,n=0;if(n=r+16|0,r=e[n>>2]|0,t=e[r+8>>2]|0,t){for(i=0;r=e[t>>2]|0,!((i|0)>=(e[t+4>>2]|0));)r0(e[r+(i*48|0)>>2]|0),i=i+1|0,t=e[(e[n>>2]|0)+8>>2]|0;r0(r),r0(e[(e[n>>2]|0)+8>>2]|0),r=e[n>>2]|0}e[r+8>>2]=0}function Lt(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=re(r,t,i,0)|0,o||(o=re(r,t,i,n)|0),o|0}function uv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;return p=g,g=g+32|0,s=p,l=p+8|0,A=p+16|0,f=Zr(r,59)|0,w=t+4|0,i=e[w>>2]|0,c=t+8|0,i>>>0>=(e[c>>2]|0)>>>0&&(Xe(t,1)|0,i=e[w>>2]|0),e[w>>2]=i+1,C[i>>0]=38,f|0&&(n=f-r|0,(n+-2|0)>>>0<=6)&&(Of(A,r,n)|0,C[A+n>>0]=0,e[l>>2]=A,o=Jf(l,23664,252,8,96)|0,(o|0)!=0)&&(e[s>>2]=e[o+4>>2],Ke(A,137395,s)|0,r=e[w>>2]|0,r>>>0>=(e[c>>2]|0)>>>0&&(Xe(t,1)|0,r=e[w>>2]|0),e[w>>2]=r+1,C[r>>0]=35,t2(t,A)|0,r=e[w>>2]|0,r>>>0>=(e[c>>2]|0)>>>0&&(Xe(t,1)|0,r=e[w>>2]|0),e[w>>2]=r+1,C[r>>0]=59,r=f+1|0),g=p,r|0}function av0(r,t){return r=r|0,t=t|0,ge(e[r>>2]|0,e[t>>2]|0)|0}function WC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(m=g,g=g+1072|0,c=m+8|0,A=m,s=m+16|0,p=m+24|0,e[s>>2]=r,(e[47322]|0)!=(t|0)&&(e[47322]=t,C[194958]=0),Vt(p,1024,m+40|0),v=p+4|0,w=p+8|0;n=r+1|0,e[s>>2]=n,i=C[r>>0]|0,!!(i<<24>>24);){do if((i&255)<192)if(i<<24>>24==38)if(n=YQ(s)|0,!n)i=38;else{if(n>>>0<127){i=n&255;break}if(r=e[v>>2]|0,i=r>>>0>=(e[w>>2]|0)>>>0,n>>>0<2047){i&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,C[r>>0]=n>>>6|192,i=(n&63|128)&255;break}i&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,C[r>>0]=n>>>12|224,r=e[v>>2]|0,r>>>0>=(e[w>>2]|0)>>>0&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,C[r>>0]=n>>>6&63|128,i=(n&63|128)&255}else l=0,f=9;else(i&255)>=224?(i&255)>=240?(i&255)<248?(l=3,f=9):(C[194958]|0||(e[A>>2]=te(t)|0,$0(0,109707,A)|0,C[194958]=1),l=-1,i=PQ(i,p)|0,f=9):(l=2,f=9):(l=1,f=9);while(0);do if((f|0)==9){for(f=0,o=0;;){if((o|0)>=(l|0)){f=34;break}if((C[n>>0]&-64)<<24>>24!=-128)break;r=e[v>>2]|0,r>>>0>=(e[w>>2]|0)>>>0&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,C[r>>0]=i,o=o+1|0,i=C[n>>0]|0,n=n+1|0}if((f|0)==34){f=0,e[s>>2]=n;break}e[s>>2]=n,C[194958]|0||(o=te(t)|0,e[c>>2]=l+1,e[c+4>>2]=o,$0(0,109828,c)|0,C[194958]=1),i=PQ(i,p)|0}while(0);r=e[v>>2]|0,r>>>0>=(e[w>>2]|0)>>>0&&(Xe(p,1)|0,r=e[v>>2]|0),e[v>>2]=r+1,C[r>>0]=i,r=e[s>>2]|0}return r=e[v>>2]|0,r>>>0>=(e[w>>2]|0)>>>0&&(Xe(p,1)|0,r=e[v>>2]|0),C[r>>0]=0,w=e[p>>2]|0,e[v>>2]=w,v=C2(w)|0,Ot(p),g=m,v|0}function PQ(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(A=g,g=g+16|0,o=A,C[o>>0]=r,C[o+1>>0]=0,o=Ph(o)|0,l=t+4|0,s=t+8|0,i=d2(o)|0,n=o;!((i|0)<=1);)r=e[l>>2]|0,r>>>0>=(e[s>>2]|0)>>>0&&(Xe(t,1)|0,r=e[l>>2]|0),c=C[n>>0]|0,e[l>>2]=r+1,C[r>>0]=c,i=i+-1|0,n=n+1|0;return c=C[n>>0]|0,r0(o),g=A,c|0}function YQ(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=g,g=g+32|0,l=s,t=s+8|0,i=e[r>>2]|0;e:do if((C[i>>0]|0)!=35){e[l>>2]=t,o=0;r:for(;;){if((o|0)>=8){t=0;break e}switch(n=C[i+o>>0]|0,n<<24>>24){case 0:{t=0;break e}case 59:break r;default:}C[t>>0]=n,t=t+1|0,o=o+1|0}C[t>>0]=0,t=Jf(l,23664,252,8,96)|0,t?(i=i+(o+1)|0,t=e[t+4>>2]|0):t=0}else{l=C[i+1>>0]|0,t=l&255;r:do if((l|32)<<24>>24==120)for(l=0,o=2;;){if((o|0)>=8){n=l;break r}if(n=C[i+o>>0]|0,t=n&255,(n+-65&255)>=6)if((n+-97&255)>=6)if((n+-48&255)<10)n=-48;else{n=l;break r}else n=-87;else n=-55;t=n+t|0,l=t+(l<<4)|0,o=o+1|0}else for(n=0,o=1;;){if((o|0)>=8||(l=C[i+o>>0]|0,t=l&255,(l+-48&255)>=10))break r;n=(n*10|0)+-48+t|0,o=o+1|0}while(0);t=(t|0)==59,i=t?i+(o+1)|0:i,t=t?n:0}while(0);return e[r>>2]=i,g=s,t|0}function Ph(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(c=g,g=g+1056|0,o=c,s=c+8|0,e[o>>2]=r,Vt(s,1024,c+24|0),A=s+4|0,l=s+8|0;e[o>>2]=r+1,t=C[r>>0]|0,!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r+2|0;continue}return r=e[l>>2]|0,r>>>0>=(e[n>>2]|0)>>>0&&(Xe(o,1)|0,r=e[l>>2]|0),C[r>>0]=0,n=e[o>>2]|0,e[l>>2]=n,l=C2(n)|0,Ot(o),g=s,l|0}function cv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;return w=g,g=g+80|0,n=w+48|0,i=w+32|0,o=w+64|0,l=w+16|0,s=w,A=t+16|0,c=r+16|0,f=e[c>>2]|0,+u[A>>3]>=+u[f+48>>3]&&+u[f+64>>3]>=+u[t>>3]&&+u[t+24>>3]>=+u[f+56>>3]&&+u[f+72>>3]>=+u[t+8>>3]?(f=f+16|0,e[i>>2]=e[A>>2],e[i+4>>2]=e[A+4>>2],e[i+8>>2]=e[A+8>>2],e[i+12>>2]=e[A+12>>2],e[n>>2]=e[t>>2],e[n+4>>2]=e[t+4>>2],e[n+8>>2]=e[t+8>>2],e[n+12>>2]=e[t+12>>2],fv0(l,i,n),e[i>>2]=e[f>>2],e[i+4>>2]=e[f+4>>2],e[i+8>>2]=e[f+8>>2],e[i+12>>2]=e[f+12>>2],e[n>>2]=e[l>>2],e[n+4>>2]=e[l+4>>2],e[n+8>>2]=e[l+8>>2],e[n+12>>2]=e[l+12>>2],LC(s,i,n),e[o>>2]=r,e[o+4>>2]=0,i=e[(e[(e[(e[c>>2]|0)+8>>2]|0)+4>>2]|0)+12>>2]|0,e[n>>2]=e[s>>2],e[n+4>>2]=e[s+4>>2],e[n+8>>2]=e[s+8>>2],e[n+12>>2]=e[s+12>>2],i=ke[i&127](o,n)|0):i=0,g=w,i|0}function fv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(+u[i+8>>3]+ +u[t+8>>3])*.5,u[r>>3]=(+u[i>>3]+ +u[t>>3])*.5,u[r+8>>3]=n}function DC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;return n=g,g=g+80|0,A=n+64|0,c=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[n>>2]=e[o>>2],n=n+4|0,o=o+4|0;while((n|0)<(l|0));if(e[f>>2]=e[t>>2],e[f+4>>2]=e[t+4>>2],e[f+8>>2]=e[t+8>>2],e[f+12>>2]=e[t+12>>2],e[f+16>>2]=e[t+16>>2],e[f+20>>2]=e[t+20>>2],e[f+24>>2]=e[t+24>>2],e[f+28>>2]=e[t+28>>2],!((dv0(c,f)|0)<<24>>24))r=r+1|0;else{r=1;break e}}r=e[s>>2]|0,w=7}else w=7;while(0);do if((w|0)==7){if(r=e[r+96>>2]|0,r|0&&(e[f>>2]=e[t>>2],e[f+4>>2]=e[t+4>>2],e[f+8>>2]=e[t+8>>2],e[f+12>>2]=e[t+12>>2],e[f+16>>2]=e[t+16>>2],e[f+20>>2]=e[t+20>>2],e[f+24>>2]=e[t+24>>2],e[f+28>>2]=e[t+28>>2],(DC(r,f)|0)<<24>>24)){r=1;break}r=0}while(0);return g=p,r|0}function wv0(r,t){return r=r|0,t=t|0,+u[r+16>>3]>=+u[t>>3]&&+u[t+16>>3]>=+u[r>>3]&&+u[r+24>>3]>=+u[t+8>>3]?r=+u[t+24>>3]>=+u[r+8>>3]&1:r=0,r|0}function dv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(p=g,g=g+96|0,f=p+64|0,c=p+48|0,A=p+32|0,o=p+16|0,l=p,w=r+4|0,i=e[w>>2]|0,i||H0(109937,107661,1637,109945),n=e[r>>2]|0,e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],e[l+8>>2]=e[n+8>>2],e[l+12>>2]=e[n+12>>2],n=1;;){if((n|0)>=(i|0)){s=7;break}if(i=(e[r>>2]|0)+(n<<4)|0,e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],e[A>>2]=e[i>>2],e[A+4>>2]=e[i+4>>2],e[A+8>>2]=e[i+8>>2],e[A+12>>2]=e[i+12>>2],e[c>>2]=e[l>>2],e[c+4>>2]=e[l+4>>2],e[c+8>>2]=e[l+8>>2],e[c+12>>2]=e[l+12>>2],e[f>>2]=e[t>>2],e[f+4>>2]=e[t+4>>2],e[f+8>>2]=e[t+8>>2],e[f+12>>2]=e[t+12>>2],e[f+16>>2]=e[t+16>>2],e[f+20>>2]=e[t+20>>2],e[f+24>>2]=e[t+24>>2],e[f+28>>2]=e[t+28>>2],(Ud0(A,c,f)|0)!=-1){i=1;break}e[l>>2]=e[o>>2],e[l+4>>2]=e[o+4>>2],e[l+8>>2]=e[o+8>>2],e[l+12>>2]=e[o+12>>2],n=n+1|0,i=e[w>>2]|0}do if((s|0)==7){if(i=e[r+8>>2]|0,i|0&&(l=r+16|0,s=e[r>>2]|0,e[A>>2]=e[l>>2],e[A+4>>2]=e[l+4>>2],e[A+8>>2]=e[l+8>>2],e[A+12>>2]=e[l+12>>2],e[c>>2]=e[s>>2],e[c+4>>2]=e[s+4>>2],e[c+8>>2]=e[s+8>>2],e[c+12>>2]=e[s+12>>2],e[f>>2]=e[t>>2],e[f+4>>2]=e[t+4>>2],e[f+8>>2]=e[t+8>>2],e[f+12>>2]=e[t+12>>2],e[f+16>>2]=e[t+16>>2],e[f+20>>2]=e[t+20>>2],e[f+24>>2]=e[t+24>>2],e[f+28>>2]=e[t+28>>2],(OQ(A,c,i,f)|0)<<24>>24)){i=1;break}if(i=e[r+12>>2]|0,i|0&&(s=r+32|0,w=(e[r>>2]|0)+((e[w>>2]|0)+-1<<4)|0,e[A>>2]=e[s>>2],e[A+4>>2]=e[s+4>>2],e[A+8>>2]=e[s+8>>2],e[A+12>>2]=e[s+12>>2],e[c>>2]=e[w>>2],e[c+4>>2]=e[w+4>>2],e[c+8>>2]=e[w+8>>2],e[c+12>>2]=e[w+12>>2],e[f>>2]=e[t>>2],e[f+4>>2]=e[t+4>>2],e[f+8>>2]=e[t+8>>2],e[f+12>>2]=e[t+12>>2],e[f+16>>2]=e[t+16>>2],e[f+20>>2]=e[t+20>>2],e[f+24>>2]=e[t+24>>2],e[f+28>>2]=e[t+28>>2],(OQ(A,c,i,f)|0)<<24>>24)){i=1;break}i=0}while(0);return g=p,i|0}function OQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;return f=g,g=g+160|0,l=f+144|0,o=f+128|0,w=f+96|0,s=f+64|0,A=f+32|0,c=f,p=+u[n+16>>3],e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],ff(w,o,l,1,i),p>=+u[w>>3]&&(e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],ff(s,o,l,1,i),+u[s+16>>3]>=+u[n>>3])&&(p=+u[n+24>>3],e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],ff(A,o,l,1,i),p>=+u[A+8>>3])&&(e[o>>2]=e[r>>2],e[o+4>>2]=e[r+4>>2],e[o+8>>2]=e[r+8>>2],e[o+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],ff(c,o,l,1,i),+u[c+24>>3]>=+u[n+8>>3])?o=1:o=0,g=f,o|0}function pv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,n=o;e:do if(r|0&&(i=C[r>>0]|0,i<<24>>24!=0)){do switch(i<<24>>24|0){case 48:{t=2;break e}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:{t=10;break e}case 67:case 99:{if(i=r+1|0,!(De(i,109960)|0)){t=4;break e}if(!(De(i,109966)|0)){t=12;break e}break}case 70:case 102:{if(!(De(r+1|0,109974)|0)){t=2;break e}break}case 76:case 108:{if(!(De(r+1|0,109979)|0)){t=2;break e}break}case 78:case 110:{if(i=r+1|0,!(De(i,109983)|0)){t=0;break e}if(!(De(i,109987)|0)){t=2;break e}break}case 79:case 111:{if(!(De(r+1|0,109989)|0)){t=8;break e}break}case 80:case 112:{if(!(De(r+1|0,109994)|0)){t=6;break e}break}case 83:case 115:{if(!(De(r+1|0,110002)|0)){t=10;break e}break}case 84:case 116:{if(!(De(r+1|0,110008)|0)){t=10;break e}break}case 89:case 121:{if(!(De(r+1|0,110012)|0)){t=10;break e}break}default:}while(0);e[n>>2]=r,$0(0,110015,n)|0}while(0);return g=o,t|0}function rl(r,t){r=r|0,t=t|0;var i=0;i=he(r,110056)|0,i&&(C[i>>0]|0?t=pv0(i,t)|0:t=0),r=(e[r+16>>2]|0)+136|0,$[r>>1]=t|M0[r>>1]}function MC(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;L=g,g=g+32|0,m=L+16|0,B=L,z=o&1,_=o&2;e:do if((i|0)==2)x=+u[r+16>>3],l=+u[r>>3],c=+u[r+24>>3],A=+u[r+8>>3],l=l-(x-l),u[m>>3]=l,u[B>>3]=x,A=A-(c-A),u[m+8>>3]=A,u[B+8>>3]=c;else for(s=+u[r>>3],u[B>>3]=s,u[m>>3]=s,c=+u[r+8>>3],w=B+8|0,u[w>>3]=c,p=m+8|0,u[p>>3]=c,o=0,l=s,A=c;;){if((o|0)>=(i|0)){x=s;break e}Z=r+(o<<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|0)+236>>2]|0,A=(w|0)>(i|0),r=A?(w|0)<(n|0)?r:1:r,o=A?o:1,l=l+1|0;if(o<<24>>24!=0&r<<24>>24==0){e[t>>2]=c+1;break}if(!(o<<24>>24==0&r<<24>>24!=0))break;e[t+4>>2]=c+-1;break}if((e[r+184>>2]|0)!=2&&H0(88397,88417,63,88424),s=e[r+180>>2]|0,w=e[s>>2]|0,s=e[s+4>>2]|0,HQ(e[((e[w>>2]&3|0)==2?w:w+-48|0)+40>>2]|0,e[((e[s>>2]&3|0)==2?s:s+-48|0)+40>>2]|0,l,o),s=e[o>>2]|0,(s|0)<=(i|0)){e[t>>2]=c,e[t+8>>2]=c;break}if(r=e[l>>2]|0,(r|0)>=(n|0)){e[t+4>>2]=c,e[t+12>>2]=c;break}if(o=(r|0)<(i|0),l=(s|0)>(n|0),!(l&o)){if(!o&&!((s|0)<(n|0)&(r|0)==(i|0))||(e[t+8>>2]=c),!l&&!((s|0)==(n|0)&(r|0)>(i|0)))break;e[t+12>>2]=c}}while(0);g=f}function mv0(r){r=r|0,e[47134]=1,NC(r),e[47134]=0}function gv0(r){r=r|0,e[47134]=2,NC(r),e[47134]=0}function Yh(r){r=r|0;var t=0;$e(r,137447,304,1)|0,Wp(r),t=j0((M0[(e[(We(r)|0)+16>>2]|0)+176>>1]|0)<<3)|0,e[(e[r+16>>2]|0)+132>>2]=t,Lf(r,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1)}function yv0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;E=g,g=g+64|0,s=E+48|0,w=E+40|0,A=E+24|0,l=E+8|0,v=E+56|0,c=E;do if(r|0&&(m=i+16|0,p=e[(e[m>>2]|0)+132>>2]|0,o=k2(i,r)|0,(C[o>>0]|0)!=0)){if(C[v>>0]=0,r=p+8|0,(e[47137]|0)>2&&(e[l>>2]=p,e[l+4>>2]=r,e[l+8>>2]=p+16,e[l+12>>2]=v,(X2(o,88535,l)|0)>2)){C[(e[m>>2]|0)+119>>0]=1,o=e[47137]|0;e:do if(+u[23293]>0)for(r=0;;){if((r|0)>=(o|0))break e;w=p+(r<<3)|0,u[w>>3]=+u[w>>3]/+u[23293],r=r+1|0}while(0);if((o|0)>3&&OC(i,n,3),(C[v>>0]|0)!=33){if(!t){r=1;break}if(!((jt(k2(i,t)|0)|0)<<24>>24)){r=1;break}}C[(e[m>>2]|0)+119>>0]=3,r=1;break}if(e[A>>2]=p,e[A+4>>2]=r,e[A+8>>2]=v,(X2(o,101749,A)|0)<=1){e[s>>2]=te(i)|0,e[s+4>>2]=o,$0(1,88549,s)|0,r=0;break}C[(e[m>>2]|0)+119>>0]=1,o=e[47137]|0;e:do if(+u[23293]>0)for(r=0;;){if((r|0)>=(o|0))break e;A=p+(r<<3)|0,u[A>>3]=+u[A>>3]/+u[23293],r=r+1|0}while(0);do if((o|0)>2){if(r=e[47171]|0,r|0&&(f=k2(i,r)|0,f|0)&&(e[w>>2]=c,(X2(f,101209,w)|0)==1)){x=+u[23293],B=+u[c>>3],u[p+16>>3]=x>0?B/x:B,OC(i,n,3);break}HC(i,n)}while(0);if((C[v>>0]|0)!=33){if(!t){r=1;break}if(!((jt(k2(i,t)|0)|0)<<24>>24)){r=1;break}}C[(e[m>>2]|0)+119>>0]=3,r=1}else r=0;while(0);return g=E,r|0}function Cv0(r){r=r|0;var t=0,i=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)NA(t),t=Qe(r,t)|0;jA(i),i=X0(r,i)|0}Ev0(r)}function Ev0(r){r=r|0,(e[47134]|0)!=0|(e[46795]|0)<0&&vT(r),(c2(r)|0)!=(r|0)&&ha(r,0,137483)}function Bv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(v=g,g=g+48|0,c=v+32|0,w=v,A=re(r,0,102637,0)|0,i=re(r,0,102671,0)|0,p=(DA(he(r,88593)|0,0)|0)<<24>>24!=0,i||(i=re(r,0,102671,195059)|0),l50(r)|0,f=r+16|0,l=0;;){if(s=e[(e[(e[f>>2]|0)+152>>2]|0)+(l<<2)>>2]|0,!s){n=12;break}if(o=s+16|0,n=e[o>>2]|0,!(C[n+119>>0]|0)){if(Yr(te(s)|0,108006,7)|0){n=8;break}n=e[o>>2]|0}n=e[n+108>>2]|0,n|0&&Vh(s,n,102633),l=l+1|0}e:do if((n|0)==8)p=te(s)|0,i=te(r)|0,e[c>>2]=p,e[c+4>>2]=i,$0(1,88605,c)|0,i=-1;else if((n|0)==12){if(UQ(r,A,i),s=Iv0(r)|0,i=e[(e[f>>2]|0)+8>>2]|0,e[i+88>>2]|0?(e[i+84>>2]=0,i=1):i=0,o=(t|0)!=0,l=(i|0)!=0,!(l|o&(e[47134]|0)==1^1)&&Uh(r)|0?(n=e[(e[f>>2]|0)+12>>2]|0,n&&(C[n+81>>0]=0),n=1):n=0,MA(r),l&&(t=(e[f>>2]|0)+16|0,Sf0(w,r),e[t>>2]=e[w>>2],e[t+4>>2]=e[w+4>>2],e[t+8>>2]=e[w+8>>2],e[t+12>>2]=e[w+12>>2],e[t+16>>2]=e[w+16>>2],e[t+20>>2]=e[w+20>>2],e[t+24>>2]=e[w+24>>2],e[t+28>>2]=e[w+28>>2]),!o)for(e[47138]=1,n=U0(r)|0;;){if(!n)break e;p=e[n+16>>2]|0,w=e[p+132>>2]|0,u[p+16>>3]=+u[w>>3]*72,u[p+24>>3]=+u[w+8>>3]*72,n=X0(r,n)|0}do if(!(p|l)){if(p=e[f>>2]|0,+u[p+16>>3]==0&&+u[p+24>>3]==0)break;lT(r)}while(0);if((s|0)!=0&(n|(PC(r)|0)<<24>>24!=0))xv0(r);else if((s|0)==2){e[47138]=1;break}Fp(r,0)}while(0);return g=v,i|0}function Vh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+48|0,s=A+32|0,n=A+24|0,o=A+16|0,l=A,r=he(r,i)|0,r|0&&(e[s>>2]=n,e[s+4>>2]=o,(X2(r,105503,s)|0)==2)&&(s=t+56|0,XQ(l,+u[n>>3],+u[o>>3]),e[s>>2]=e[l>>2],e[s+4>>2]=e[l+4>>2],e[s+8>>2]=e[l+8>>2],e[s+12>>2]=e[l+12>>2],C[t+81>>0]=1),g=A}function UQ(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;c=g,g=g+48|0,A=c+32|0,n=c+24|0,o=c+16|0,l=c,s=r+16|0,t|0&&e[(e[s>>2]|0)+12>>2]|0&&(f=k2(r,t)|0,e[A>>2]=n,e[A+4>>2]=o,(X2(f,105503,A)|0)==2)&&(f=(e[(e[s>>2]|0)+12>>2]|0)+56|0,XQ(l,+u[n>>3],+u[o>>3]),e[f>>2]=e[l>>2],e[f+4>>2]=e[l+4>>2],e[f+8>>2]=e[l+8>>2],e[f+12>>2]=e[l+12>>2],C[(e[(e[s>>2]|0)+12>>2]|0)+81>>0]=1);e:do if(i|0)for(n=yt(r)|0;;){if(!n)break e;qQ(n,r,t,i),n=Ct(n)|0}while(0);g=c}function Iv0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(ys(r)|0)if(o=re(r,2,102623,0)|0,(o|0)==0|(e[47134]|0)<2)t=0;else{for(t=0,n=U0(r)|0;n;){for(i=Me(r,n)|0;i;)l=t+((Sv0(o,i)|0)!=0&1)|0,i=Qe(r,i)|0,t=l;n=X0(r,n)|0}t?(t=(t|0)==(ys(r)|0),t=t?2:1):t=0}else t=2;return t|0}function xv0(r){r=r|0;var t=0,i=0,n=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)Np(t),n=t+16|0,an(e[(e[n>>2]|0)+96>>2]|0),an(e[(e[n>>2]|0)+108>>2]|0),an(e[(e[n>>2]|0)+100>>2]|0),an(e[(e[n>>2]|0)+104>>2]|0),t=Qe(r,t)|0;i=X0(r,i)|0}}function Sv0(r,t){r=r|0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193771]|0){r=0;break}C[193771]=1,P=te(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,r=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,e[N>>2]=P,e[N+4>>2]=r,$0(0,88667,N)|0,r=0;break}else if((i|0)==13){C[193771]|0||(C[193771]=1,D=te(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,P=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,e[W>>2]=D,e[W+4>>2]=P,$0(0,88734,W)|0),r0(f),Np(t),r=0;break}else if((i|0)==26){if(n=t+16|0,r=e[n>>2]|0,i=e[r+96>>2]|0,i&&(Vh(t,i,102637),r=e[n>>2]|0),i=e[r+108>>2]|0,i&&(Vh(t,i,102633),r=e[n>>2]|0),i=e[r+100>>2]|0,i&&(Vh(t,i,102640),r=e[n>>2]|0),r=e[r+104>>2]|0,!r){r=1;break}Vh(t,r,102648),r=1;break}}else r=0;while(0);return g=T,r|0}function _v0(r){r=r|0;var t=0,i=0;i=0;do{for(;t=C[r>>0]|0,cn(t&255)|0;)r=r+1|0;e:do if(!(t<<24>>24))t=0;else for(i=i+1|0;;){if(!(t<<24>>24)){t=0;break e}if(t<<24>>24==59|(cn(t&255)|0)!=0)break e;t=r+1|0,r=t,t=C[t>>0]|0}while(0)}while(cn(t&255)|0);return i|0}function XQ(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function qQ(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=g,g=g+32|0,o=s,!(Yr(te(r)|0,108006,7)|0)&&zv0(r,n,o)|0?($e(r,137483,280,1)|0,A=(e[r+16>>2]|0)+16|0,e[A>>2]=e[o>>2],e[A+4>>2]=e[o+4>>2],e[A+8>>2]=e[o+8>>2],e[A+12>>2]=e[o+12>>2],e[A+16>>2]=e[o+16>>2],e[A+20>>2]=e[o+20>>2],e[A+24>>2]=e[o+24>>2],e[A+28>>2]=e[o+28>>2],Lv0(t,r),UQ(r,i,n)):l=4;e:do if((l|0)==4)for(r=yt(r)|0;;){if(!r)break e;qQ(r,t,i,n),r=Ct(r)|0}while(0);g=s}function zv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;return s=g,g=g+48|0,A=s+32|0,l=s,c=k2(r,t)|0,r=l+8|0,t=l+24|0,e[A>>2]=l,e[A+4>>2]=r,e[A+8>>2]=l+16,e[A+12>>2]=t,(X2(c,88782,A)|0)==4?(n=+u[r>>3],o=+u[t>>3],n>o&&(u[r>>3]=o,u[t>>3]=n),e[i>>2]=e[l>>2],e[i+4>>2]=e[l+4>>2],e[i+8>>2]=e[l+8>>2],e[i+12>>2]=e[l+12>>2],e[i+16>>2]=e[l+16>>2],e[i+20>>2]=e[l+20>>2],e[i+24>>2]=e[l+24>>2],e[i+28>>2]=e[l+28>>2],r=1):r=0,g=s,r|0}function Lv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=r+16|0,i=e[n>>2]|0,l=i+180|0,r=e[l>>2]|0,o=r+1|0,e[l>>2]=o,i=e[i+184>>2]|0,i?r=iC(i,r+2|0,4,o)|0:r=j0((r<<2)+8|0)|0,e[(e[n>>2]|0)+184>>2]=r,e[r+(o<<2)>>2]=t,Zh(t)}function jC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=g,g=g+48|0,c=f+8|0,A=f,l=f+16|0,s=f+12|0,o=he(r,88798)|0;do if(o|0&&(n=C[o>>0]|0,n<<24>>24!=0)){if(n=n&255,Lk(n)|0){if(!(Yr(o,88804,4)|0)){t=0;break}if(!(Yr(o,105511,7)|0)){t=1;break}if(Yr(o,88809,6)|0)if((t|0)==2)t=o;else break;else t=o+6|0}else if((t|0)==2|(n+-48|0)>>>0<10)t=o;else break;((s0[t>>0]|0)+-48|0)>>>0<10&&(e[A>>2]=s,(X2(t,99933,A)|0)>=1)||(A=jE()|0,A=(dR(0)|0)^A,e[s>>2]=A,e[c>>2]=A,Ke(l,99933,c)|0,h1(r,88798,l)|0),e[i>>2]=e[s>>2],t=2}while(0);return g=f,t|0}function $Q(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=g,g=g+16|0,n=o+4|0,e[n>>2]=1,i=jC(r,i,n)|0,(i|0)!=2&(e[46796]|0)!=0&&$0(0,88816,o)|0,(i|0)==1&&Rv0(r,t),NE(e[n>>2]|0),g=o,i|0}function Rv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(o=+(t|0),l=6.283185307179586/o,i=U0(r)|0,n=0;i;)c=+ee(+n)*o,s=e[i+16>>2]|0,A=e[s+132>>2]|0,u[A>>3]=c,u[A+8>>3]=+le(+n)*o,C[s+119>>0]=1,(e[47137]|0)>2&&HC(i,t),i=X0(r,i)|0,n=n+l}function NC(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;m=g,g=g+80|0,t=m+24|0,f=m+32|0,A=m,p=m+28|0,c=m+64|0,v=+u[23293];do if(e[47134]|0)if(u[23293]=72,KQ(r),QC(r),(Bv0(r,1)|0)<0){$0(3,88864,t)|0;break}else{mp(r,0),n=32;break}else{w=DA(he(r,88593)|0,0)|0,u[23293]=+zQ(r),KQ(r),o=Gv0(r)|0,UT(r,A,0)|0,l=Zv0(r)|0,s=s7(r,0,f)|0,t=Qd(r,-1,8)|0,e[46795]=t,i=(t|0)<0;do if(s)i&&(e[46795]=8),n=11;else{if((o|0)!=0&i){e[46795]=8,e[f+16>>2]=2,n=11;break}if(e[f+16>>2]=2,(t|0)<=-1)if(TC(r,o,l),Rf(r,A)|0,QC(r),w<<24>>24){FC(r);break}else{FA(r);break}else n=11}while(0);if((n|0)==11){s=Wc0(r,p,88892,c)|0,t=e[p>>2]|0;do if((t|0)<=1)if(TC(r,o,l),Rf(r,A)|0,w<<24>>24){FC(r);break}else{FA(r);break}else{for(n=w<<24>>24==0,i=0;!((i|0)>=(t|0));)t=e[s+(i<<2)>>2]|0,af(t)|0,TC(t,o,l),Rf(t,A)|0,rl(t,2),n?FA(t):FC(t),i=i+1|0,t=e[p>>2]|0;C[c>>0]|0?(i=j0(t)|0,C[i>>0]=1,t=e[p>>2]|0):i=0,e[f+8>>2]=e[46795],e[f+20>>2]=i,e[f+12>>2]=1,RD(t,s,r,f)|0,r0(i)}while(0);for(MA(r),QC(r),t=0;!((t|0)>=(e[p>>2]|0));)f=e[s+(t<<2)>>2]|0,vT(f),An(f,137483)|0,zn(r,f)|0,t=t+1|0;r0(s)}mp(r,w<<24>>24==0&1),n=32}while(0);(n|0)==32&&(u[23293]=v),g=m}function KQ(r){r=r|0;var t=0,i=0,n=0,o=0;rl(r,2),n=pr(r,re(r,0,91368,0)|0,2,2)|0,t=(pr(r,re(r,0,91374,0)|0,n,2)|0)&65535,$[(e[(c2(r)|0)+16>>2]|0)+176>>1]=t,t=e[(e[r+60>>2]|0)+16>>2]|0,o=t+176|0,i=$[o>>1]|0,i=(i&65535)<10?i:10,$[o>>1]=i,i=i&65535,e[47137]=i,$[t+178>>1]=(n|0)<(i|0)?n:i,Fv0(r)}function QC(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+1040|0,n=o,i=o+8|0;e:do if((e[47137]|0)>2&(e[47171]|0)!=0)for(t=U0(r)|0;;){if(!t)break e;u[n>>3]=+u[(e[(e[t+16>>2]|0)+132>>2]|0)+16>>3]*72,Ke(i,101209,n)|0,Er(t,e[47171]|0,i)|0,t=X0(r,t)|0}while(0);g=o}function Gv0(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,i=n,t=he(r,89577)|0;e:do if(!t)r=1;else{switch(C[t>>0]|0){case 0:{r=1;break e}case 75:{if(!(ge(t,89582)|0)){r=0;break e}break}case 109:{if(!(ge(t,89585)|0)){r=1;break e}break}case 104:{if(!(ge(t,89591)|0)){r=2;break e}break}default:}r=te(r)|0,e[i>>2]=t,e[i+4>>2]=r,$0(0,89596,i)|0,r=1}while(0);return g=n,r|0}function Zv0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;l=g,g=g+32|0,o=l+16|0,n=l+8|0,i=l,t=he(r,89360)|0;e:do if(!t)r=0;else{switch(C[t>>0]|0){case 0:{r=0;break e}case 99:{if(!(ge(t,89366)|0)){r=1;break e}break}case 115:{if(!(ge(t,89374)|0)){r=2;break e}if(!(ge(t,89381)|0)){r=0;break e}break}case 109:{if(!(ge(t,89391)|0)){if(re(r,2,92493,0)|0){r=3;break e}e[i>>2]=te(r)|0,$0(0,89395,i)|0,$0(3,89458,n)|0,r=0;break e}break}default:}r=te(r)|0,e[o>>2]=t,e[o+4>>2]=r,$0(0,89515,o)|0,r=0}while(0);return g=l,r|0}function TC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=he(r,91061)|0,n?n=F1(n)|0:(t|0)==1?n=200:n=(v2(r)|0)*100|0,e[47136]=n,n=pT(r,t)|0;do if(!((n|0)<2|(e[47136]|0)<0))if(t){Wv0(r,n,t,i,e[47137]|0);break}else{Dv0(r,n,i);break}while(0)}function FC(r){r=r|0,MA(r),Fp(r,1)}function Wv0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(z=g,g=g+64|0,E=z+40|0,p=z+24|0,w=z,v=z+48|0,x=z+44|0,m=(i|0)==2,s=$Q(r,t,m?0:2)|0,A=Tv0(r)|0,c=A|4,B=_0(o<<2)|0,e[B>>2]=_0(N0(t<<3,o)|0)|0,l=e[47137]|0,o=1;!((o|0)>=(l|0));)e[B+(o<<2)>>2]=(e[B>>2]|0)+((N0(o,t)|0)<<3),o=o+1|0;l=(s|0)==0,o=l?c:A,w=bQ(r,t,v,i,n,x)|0,(i|0)!=1?(f=+sr(r,re(r,0,89279,0)|0,0,-17976931348623157e292),m?(o=Qg0(w,t,e[v>>2]|0,B,e[x>>2]|0,e[47137]|0,o,n,e[47136]|0,f)|0,l=12):l=14):(o=Pp(w,t,e[v>>2]|0,B,e[x>>2]|0,e[47137]|0,o,n,e[47136]|0)|0,l=12),(l|0)==12&&((o|0)<0?$0(3,89289,E)|0:l=14);e:do if((l|0)==14)for(l=U0(r)|0;;){if(!l)break e;for(c=e[l+16>>2]|0,s=e[c+120>>2]|0,A=e[47137]|0,c=c+132|0,o=0;!((o|0)>=(A|0));)u[(e[c>>2]|0)+(o<<3)>>3]=+u[(e[B+(o<<2)>>2]|0)+(s<<3)>>3],o=o+1|0;l=X0(r,l)|0}while(0);uF(w),r0(e[B>>2]|0),r0(B),r0(e[x>>2]|0),g=z}function Dv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;switch(l=g,g=g+48|0,o=l+32|0,n=l,i|0){case 2:{Mv0(r,t);break}case 1:{jg0(r,t)|0||(e[n>>2]=te(r)|0,$0(0,88902,n)|0,$0(3,93364,l+8|0)|0,$0(3,88954,l+16|0)|0,$0(3,89026,l+24|0)|0,yT(r,t));break}default:yT(r,t),(i|0)==3&&jv0(r)}u50(r,t),a50(r,t),c50(r,t),g=l}function Mv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,l=bQ(r,t,A,0,2,0)|0,s=Sy0(l,t)|0,n=r+16|0,r=0;!((r|0)>=(t|0));){for(o=s+(r<<2)|0,i=0;(i|0)!=(t|0);)u[(e[(e[(e[n>>2]|0)+160>>2]|0)+(r<<2)>>2]|0)+(i<<3)>>3]=+(e[(e[o>>2]|0)+(i<<2)>>2]|0),i=i+1|0;r=r+1|0}r0(e[s>>2]|0),r0(s),uF(l),g=A}function jv0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(o=r+16|0,i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)l=e[t>>2]&3,n=(e[e[((l|0)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<2)|0,x0[v>>2]=+u[(e[x+16>>2]|0)+128>>3]+ +x0[v>>2]),!X){w=E,v=B,c=m;break}w=(e[_>>2]|0)+(w<<2)|0,t0=+u[(e[x+16>>2]|0)+136>>3],p=+(~~+x0[w>>2]|0),x0[w>>2]=t0>p?t0:p,w=E,v=B,c=m;break}Y=e[x>>2]&3,c=(Y|0)==3?x:c,m=m+1|0,w=E+1|0,E=f+4|0,e[f>>2]=e[(e[(e[((e[c+40>>2]|0)==(Z|0)?(Y|0)==2?x:v:c)+40>>2]|0)+16>>2]|0)+120>>2],P&&(x0[s>>2]=+u[(e[x+16>>2]|0)+128>>3],s=s+4|0),X?(c=o+4|0,x0[o>>2]=+u[(e[x+16>>2]|0)+136>>3],T?(o=c,D=27):o=c):T&&(x0[o>>2]=1,o=o+4|0,D=27),(D|0)==27&&(D=0,c=he(x,101559)|0,c|0&&!(Yr(c,135709,4)|0)?p=0:p=(Z|0)==(e[((e[x>>2]&3|0)==2?x:v)+40>>2]|0)?1:-1,x0[A>>2]=p,A=A+4|0),v=B+1|0,c=m,f=E}while(0);E=w,x=ot(r,x,Z)|0,B=v,m=c}e[U+(W*20|0)>>2]=B,e[e[z>>2]>>2]=W,c=m,Z=X0(r,Z)|0,W=W+1|0}(D|0)==12&&H0(89103,89118,819,89130),T&&Qv0(U,t,n,F),w=(c|0)/2|0;e:do if((w|0)!=(ys(r)|0))for(c=(w<<1)+t<<2,A=Ve(e[U+4>>2]|0,c)|0,X&&(o=Ve(e[U+8>>2]|0,c)|0),P?(f=0,s=Ve(e[U+12>>2]|0,c)|0):f=0;;){if((f|0)>=(t|0))break e;c=e[U+(f*20|0)>>2]|0,e[U+(f*20|0)+4>>2]=A,X&&(e[U+(f*20|0)+8>>2]=o,o=o+(c<<2)|0),P&&(e[U+(f*20|0)+12>>2]=s,s=s+(c<<2)|0),f=f+1|0,A=A+(c<<2)|0}while(0);return e[i>>2]=w,l?e[l>>2]=F:r0(F),_p0(q),U|0}function Nv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=e[t>>2]&3,n=e[(e[(e[((o|0)==3?t:t+48|0)+40>>2]|0)+16>>2]|0)+120>>2]|0,t=e[(e[(e[((o|0)==2?t:t+-48|0)+40>>2]|0)+16>>2]|0)+120>>2]|0,o=(n|0)>(t|0),zp0(r,o?t:n,o?n:t,i)|0}function Qv0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=0;;){if((o|0)>=(t|0)){o=0;break}l=e[(e[n+(o<<2)>>2]|0)+16>>2]|0,C[l+157>>0]=0,C[l+158>>0]=0,o=o+1|0}for(;!((o|0)>=(t|0));)C[(e[(e[n+(o<<2)>>2]|0)+16>>2]|0)+157>>0]|0||eT(r,o,i,n),o=o+1|0}function eT(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;m=(e[n+(t<<2)>>2]|0)+16|0,c=e[m>>2]|0,C[c+157>>0]=1,C[c+158>>0]=1,c=r+(t*20|0)|0,f=r+(t*20|0)+16|0,w=r+(t*20|0)+4|0,p=(i|0)==3?-1:1,A=1;e:for(;;){if((A|0)>=(e[c>>2]|0)){o=14;break}o=(e[f>>2]|0)+(A<<2)|0;do if(+x0[o>>2]!=1){if(v=e[(e[w>>2]|0)+(A<<2)>>2]|0,l=e[(e[n+(v<<2)>>2]|0)+16>>2]|0,!(C[l+158>>0]|0)){if(C[l+157>>0]|0)break;eT(r,v,i,n);break}for(x0[o>>2]=p,l=r+(v*20|0)+4|0,s=e[r+(v*20|0)>>2]|0,o=1;;){if((o|0)>=(s|0)){o=9;break e}if((e[(e[l>>2]|0)+(o<<2)>>2]|0)==(t|0))break;o=o+1|0}x0[(e[r+(v*20|0)+16>>2]|0)+(o<<2)>>2]=-1}while(0);A=A+1|0}if((o|0)==9)H0(89144,89118,721,89164);else if((o|0)==14){C[(e[m>>2]|0)+158>>0]=0;return}}function Tv0(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=i,r=pr(r,re(r,0,89305,0)|0,2,0)|0,(r|0)==0|(r|0)>2&&(e[t>>2]=89305,$0(0,89314,t)|0,r=2),g=i,r|0}function Fv0(r){r=r|0;var t=0,i=0,n=0;for(i=v2(r)|0,e[46796]=re(r,1,102623,0)|0,n=re(r,1,90660,0)|0,t=U0(r)|0;t;)Yh(t),yv0(e[46796]|0,n,t,i)|0,t=X0(r,t)|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)Pv0(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function Pv0(r){r=r|0;var t=0;$e(r,137460,176,1)|0,La(r)|0,t=+sr(r,e[47174]|0,1,1),u[(e[r+16>>2]|0)+128>>3]=t}function Yv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;r=j0(64)|0,i=r+8|0,n=t+8|0,o=i+48|0;do e[i>>2]=e[n>>2],i=i+4|0,n=n+4|0;while((i|0)<(o|0));return t=e[t+56>>2]|0,e[r+56>>2]=t,$[(e[t+16>>2]|0)+168>>1]=1,r|0}function Vv0(r,t,i){r=r|0,t=t|0,i=i|0,r0(t)}function Ov0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=e[t>>2]|0,n=e[i>>2]|0,r>>>0<=n>>>0?r>>>0>=n>>>0?(n=e[t+24>>2]|0,r=e[i+24>>2]|0,n>>>0<=r>>>0?n>>>0>=r>>>0?(r=~~(+u[t+8>>3]-+u[i+8>>3]),r||(r=~~(+u[t+16>>3]-+u[i+16>>3]),r||(r=~~(+u[t+32>>3]-+u[i+32>>3]),r||(r=~~(+u[t+40>>3]-+u[i+40>>3]))))):r=-1:r=1):r=-1:r=1,r|0}function rT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;if(A=g,g=g+16|0,n=A,o=t+16|0,l=$[(e[o>>2]|0)+168>>1]|0,s=l<<16>>16,l<<16>>16!=1&(C[194954]|0)==0){for(l=_0(s<<2)|0,n=0;!((n|0)>=(s|0));)e[l+(n<<2)>>2]=t,t=e[(e[t+16>>2]|0)+172>>2]|0,n=n+1|0;for(c=+(i|0),EC(r,l,0,s,c,c,17792),t=0;!((t|0)>=(s|0));)n=e[l+(t<<2)>>2]|0,o=n+16|0,e[(e[o>>2]|0)+96>>2]|0&&(i=We(e[((e[n>>2]&3|0)==3?n:n+48|0)+40>>2]|0)|0,el(i,e[(e[o>>2]|0)+96>>2]|0)),BC(n),t=t+1|0;r0(l)}else e[n>>2]=t,c=+(i|0),EC(r,n,0,1,c,c,17792),e[(e[o>>2]|0)+96>>2]|0&&(s=We(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,el(s,e[(e[o>>2]|0)+96>>2]|0)),BC(t);g=A}function Hv0(r){return r=r|0,0}function Jv0(r){return r=r|0,0}function tT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0;k0=g,g=g+384|0,H=k0+368|0,a0=k0+112|0,l=k0+32|0,v=k0+336|0,F=k0+320|0,q=k0+304|0,t0=k0+288|0,Y=k0+272|0,o=k0+256|0,P=k0+240|0,X=k0+224|0,U=k0+208|0,E=k0+192|0,B=k0+176|0,x=k0+160|0,Z=k0+144|0,W=k0+128|0,N=k0+96|0,T=k0+16|0,D=k0;e:do switch(ZA(r)|0){case 3:case 1:{n=j0(8)|0,Z=r+16|0,r=e[Z>>2]|0,o=e[r+12>>2]|0;do if(i<<24>>24)if(e[o+40>>2]&2048){MQ(v,o),w=+u[v>>3],_=+u[v+8>>3],p=+u[v+16>>3],L=+u[v+24>>3],u[l>>3]=w,u[l+8>>3]=_,u[l+16>>3]=p,u[l+24>>3]=_,u[l+32>>3]=p,u[l+40>>3]=L,u[l+48>>3]=w,u[l+56>>3]=L,L=0,r=4,i=0,w=0,p=0;break}else{p=+u[r+88>>3],w=-p,L=+u[r+80>>3],_=L*-.5,u[l>>3]=w,u[l+8>>3]=_,u[l+16>>3]=p,u[l+24>>3]=_,L=L*.5,u[l+32>>3]=p,u[l+40>>3]=L,u[l+48>>3]=w,u[l+56>>3]=L,L=0,r=4,i=0,w=0,p=0;break}else if(r=e[o+8>>2]|0,(r|0)>2){L=0,l=e[o+44>>2]|0,i=0,w=+x0[t>>2],p=+x0[t+4>>2];break}else{L=+Rn()*.01,r=8,l=0,i=1,w=0,p=0;break}while(0);for(e[n+4>>2]=r,v=j0(r<<4)|0,e[n>>2]=v,m=1/+(r|0),E=t+8|0,B=t+4|0,x=(r|0)==4,z=-w,_=-p,o=0;;){if((r|0)<=(o|0))break e;do if(i)s=+(o|0)*6.283185307179586*m+L,A=+ee(+s),s=+le(+s),C[E>>0]|0?(a0=e[Z>>2]|0,c=(+u[a0+80>>3]+ +x0[B>>2])*s,s=(+u[a0+96>>3]+ +u[a0+88>>3]+ +x0[t>>2])*A):(a0=e[Z>>2]|0,c=s*+x0[B>>2]*+u[a0+80>>3],s=A*+x0[t>>2]*(+u[a0+96>>3]+ +u[a0+88>>3])),f=s*.5,s=c*.5;else{if(!(C[E>>0]|0)){f=+u[l+(o<<4)>>3]*w,s=+u[l+(o<<4)+8>>3]*p;break}if(!x){f=+u[l+(o<<4)>>3],s=+u[l+(o<<4)+8>>3],c=+G0(+(s*s+f*f)),f=(w/c+1)*f,s=(p/c+1)*s;break}switch(o|0){case 0:{A=p,s=w;break}case 1:{A=p,s=z;break}case 2:{A=_,s=z;break}case 3:{A=_,s=w;break}default:A=0,s=0}f=+u[l+(o<<4)>>3]+s,s=+u[l+(o<<4)+8>>3]+A}while(0);H=e[Z>>2]|0,a0=r-o+-1|0,u[v+(a0<<4)>>3]=+u[H+16>>3]+f,u[v+(a0<<4)+8>>3]=+u[H+24>>3]+s,o=o+1|0}}case 2:if(D=r+16|0,n=e[(e[D>>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 +u[t>>3],u[r+8>>3]=n}function nT(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;_=g,g=g+144|0,m=_+104|0,E=_+88|0,v=_+80|0,p=_+72|0,c=_+64|0,x=_+128|0,f=_+32|0,w=_+124|0,z=_+16|0,B=_,A=_+120|0,s=(e[t+16>>2]|0)+144|0,l=e[s>>2]|0,s=e[s+4>>2]|0,L=c,e[L>>2]=l,e[L+4>>2]=s,L=l,e[z>>2]=e[L>>2],e[z+4>>2]=e[L+4>>2],e[z+8>>2]=e[L+8>>2],e[z+12>>2]=e[L+12>>2],s=l+(s+-1<<4)|0,e[B>>2]=e[s>>2],e[B+4>>2]=e[s+4>>2],e[B+8>>2]=e[s+8>>2],e[B+12>>2]=e[s+12>>2];e:do if(!(o<<24>>24))l=-1111,o=-1111;else for(l=-1111,o=-1111,s=0;;){if((s|0)>=(n|0))break e;(o|0)==-1111&&(o=e[i+(s<<2)>>2]|0,e[E>>2]=e[o>>2],e[E+4>>2]=e[o+4>>2],e[m>>2]=e[z>>2],e[m+4>>2]=e[z+4>>2],e[m+8>>2]=e[z+8>>2],e[m+12>>2]=e[z+12>>2],o=(H3(E,m)|0)==0,o=o?-1111:s),(l|0)==-1111&&(l=e[i+(s<<2)>>2]|0,e[E>>2]=e[l>>2],e[E+4>>2]=e[l+4>>2],e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],l=(H3(E,m)|0)==0,l=l?-1111:s),s=s+1|0}while(0);Uv0(i,n,o,l,A,w),e[f>>2]=0,e[f+4>>2]=0,e[f+8>>2]=0,e[f+12>>2]=0,e[f+16>>2]=0,e[f+20>>2]=0,e[f+24>>2]=0,e[f+28>>2]=0,s=e[A>>2]|0,L=e[w>>2]|0,e[m>>2]=e[c>>2],e[m+4>>2]=e[c+4>>2],(Xy(s,L,m,f,x)|0)<0?(z=te(e[((e[t>>2]&3|0)==3?t:t+48|0)+40>>2]|0)|0,L=te(e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0)|0,e[p>>2]=z,e[p+4>>2]=L,$0(1,89657,p)|0):(0>1||(o=t+-48|0,l=t),yi(t,e[((e[l>>2]&3|0)==2?t:o)+40>>2]|0,e[x>>2]|0,e[x+4>>2]|0,17792),r0(s),e[E>>2]=e[z>>2],e[E+4>>2]=e[z+4>>2],e[E+8>>2]=e[z+8>>2],e[E+12>>2]=e[z+12>>2],e[m>>2]=e[B>>2],e[m+4>>2]=e[B+4>>2],e[m+8>>2]=e[B+8>>2],e[m+12>>2]=e[B+12>>2],zf(r,t,E,m)),g=_}function Uv0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(A=0,s=0;!((A|0)>=(t|0));)(A|0)==(i|0)|(A|0)==(n|0)||(s=(e[(e[r+(A<<2)>>2]|0)+4>>2]|0)+s|0),A=A+1|0;for(m=_0(s<<5)|0,A=0,v=0;!((v|0)>=(t|0));){e:do if(!((v|0)==(i|0)|(v|0)==(n|0)))for(p=r+(v<<2)|0,w=0;;){if(c=e[p>>2]|0,f=e[c+4>>2]|0,(w|0)>=(f|0))break e;E=w+1|0,B=m+(A<<5)|0,c=(e[c>>2]|0)+(w<<4)|0,e[B>>2]=e[c>>2],e[B+4>>2]=e[c+4>>2],e[B+8>>2]=e[c+8>>2],e[B+12>>2]=e[c+12>>2],c=m+(A<<5)+16|0,f=(e[e[p>>2]>>2]|0)+(((E|0)<(f|0)?E:0)<<4)|0,e[c>>2]=e[f>>2],e[c+4>>2]=e[f+4>>2],e[c+8>>2]=e[f+8>>2],e[c+12>>2]=e[f+12>>2],w=E,A=A+1|0}while(0);v=v+1|0}if((A|0)==(s|0)){e[o>>2]=m,e[l>>2]=s;return}else H0(89719,89726,77,89741)}function oT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(w=g,g=g+32|0,c=w+12|0,n=w,Dg0(n,r),e[c>>2]=e[n>>2],e[c+4>>2]=e[n+4>>2],e[c+8>>2]=e[n+8>>2],n=U0(r)|0;n;){for(o=Me(r,n)|0;o;)xk0(o),o=Qe(r,o)|0;n=X0(r,n)|0}for(l=ct(17756,e[4581]|0)|0,n=U0(r)|0;n;){for(o=Me(r,n)|0;o;)(e[47134]|0)>1&&(s=e[o+16>>2]|0,(e[s+8>>2]|0)!=0)?(p=s+168|0,$[p>>1]=($[p>>1]|0)+1<<16>>16):f=14,(f|0)==14&&(f=0,A=Xv0(l,o)|0,(A|0)!=(o|0))&&(p=e[A+16>>2]|0,v=p+168|0,$[v>>1]=($[v>>1]|0)+1<<16>>16,p=p+172|0,e[(e[o+16>>2]|0)+172>>2]=e[p>>2],e[p>>2]=o),o=Qe(r,o)|0;n=X0(r,n)|0}return Fr(l)|0,oe[t&63](r,c,i)|0?n=1:(e[47138]=1,n=0),g=w,n|0}function Xv0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;m=g,g=g+64|0,v=m,n=e[t>>2]&3,s=e[((n|0)==3?t:t+48|0)+40>>2]|0,n=e[((n|0)==2?t:t+-48|0)+40>>2]|0;do if(s>>>0>=n>>>0){if(i=t+16|0,s>>>0>n>>>0){i=e[i>>2]|0,p=n,n=s,c=+u[i+16>>3],f=+u[i+24>>3],l=+u[i+56>>3],o=+u[i+64>>3];break}p=e[i>>2]|0,A=+u[p+56>>3],w=+u[p+64>>3],l=+u[p+16>>3],o=+u[p+24>>3],lA?(p=s,n=s,c=l,f=o,l=A,o=w):(i=o>w,o>2]|0,p=s,c=+u[i+56>>3],f=+u[i+64>>3],l=+u[i+16>>3],o=+u[i+24>>3];while(0);return e[v+8>>2]=p,u[v+16>>3]=l,u[v+24>>3]=o,e[v+32>>2]=n,u[v+40>>3]=c,u[v+48>>3]=f,e[v+56>>2]=t,v=e[(oe[e[r>>2]&63](r,v,1)|0)+56>>2]|0,g=m,v|0}function Tp(r,t){return r=r|0,t=t|0,oT(r,21,t)|0}function qv0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;P=g,g=g+112|0,W=P+88|0,Z=P+72|0,m=P+40|0,w=P+8|0,f=P,E=P+64|0,N=P+48|0,T=P+24|0,n=(e[47134]|0)>1&1;do if((i|0)>5){for(v=j0((v2(r)|0)<<2)|0,c=(i|0)==8,A=c&1,s=U0(r)|0,p=0;s;)o=tT(s,t,A)|0,l=(e[s+16>>2]|0)+288|0,o?(e[l>>2]=p,e[v+(p<<2)>>2]=o,o=p+1|0):(e[l>>2]=-1111,o=p),s=X0(r,s)|0,p=o;if(v){if(o=SF(v,p)|0,o|0){if(c){_=0,L=v,z=v,x=1;break}_=jG(v,p)|0,L=v,z=v,x=1;break}if(c){$0(0,89755,f)|0,o=0,_=0,L=v,z=v,x=1;break}else{X=+x0[t+4>>2],u[w>>3]=+x0[t>>2],u[w+8>>3]=X,$0(0,89833,w)|0,o=0,_=0,L=v,z=v,x=1;break}}else o=0,_=0,L=0,z=0,x=0}else o=0,_=0,L=0,p=0,z=0,x=0;while(0);B=(_|0)!=0;e:do if(!B)(i|0)==8&(o|0)!=0&&(Ry(r,0),n=1);else for(l=U0(r)|0;;){if(!l)break e;for(o=Me(r,l)|0;o;)m=(e[o+16>>2]|0)+144|0,iT(E,o,_,1,0,0),w=E,v=e[w+4>>2]|0,e[m>>2]=e[w>>2],e[m+4>>2]=v,o=Qe(r,o)|0;l=X0(r,l)|0}while(0);for(f=(n|0)==0,w=r+60|0,v=(i|0)==10,n=0,c=U0(r)|0,o=0;c;){for(m=c+16|0,t=Me(r,c)|0;t;){A=e[((e[t>>2]&3|0)==2?t:t+-48|0)+40>>2]|0,l=t+16|0,s=e[l>>2]|0,!f&&e[s+8>>2]|0?(U=(e[m>>2]|0)+16|0,E=s+16|0,e[Z>>2]=e[U>>2],e[Z+4>>2]=e[U+4>>2],e[Z+8>>2]=e[U+8>>2],e[Z+12>>2]=e[U+12>>2],e[W>>2]=e[E>>2],e[W+4>>2]=e[E+4>>2],e[W+8>>2]=e[E+8>>2],e[W+12>>2]=e[E+12>>2],Qp(N,Z,W),A=(e[A+16>>2]|0)+16|0,E=(e[l>>2]|0)+56|0,e[Z>>2]=e[A>>2],e[Z+4>>2]=e[A+4>>2],e[Z+8>>2]=e[A+8>>2],e[Z+12>>2]=e[A+12>>2],e[W>>2]=e[E>>2],e[W+4>>2]=e[E+4>>2],e[W+8>>2]=e[E+8>>2],e[W+12>>2]=e[E+12>>2],Qp(T,Z,W),e[Z>>2]=e[N>>2],e[Z+4>>2]=e[N+4>>2],e[Z+8>>2]=e[N+8>>2],e[Z+12>>2]=e[N+12>>2],e[W>>2]=e[T>>2],e[W+4>>2]=e[T+4>>2],e[W+8>>2]=e[T+8>>2],e[W+12>>2]=e[T+12>>2],zf(r,t,Z,W)):D=35;e:do if((D|0)==35&&(D=0,U=$[s+168>>1]|0,l=U<<16>>16,U<<16>>16)){if((c|0)==(A|0)){n||(o=j0(96)|0,e[o+84>>2]=j0(((v2(r)|0)<<5)+11520|0)|0,n=o),rT(n,t,e[(e[(e[w>>2]|0)+16>>2]|0)+248>>2]|0);break}if(!B){Jp0(r,t,i,17792);break}for(l=C[194954]|0?1:l,s=t,A=0;;){if((A|0)>=(l|0))break e;v?nT(r,s,L,p,1):$v0(r,s),s=e[(e[s+16>>2]|0)+172>>2]|0,A=A+1|0}}while(0);t=Qe(r,t)|0}c=X0(r,c)|0}if(B&&Eo0(_),n|0&&(r0(e[n+84>>2]|0),r0(o)),x){for(n=0;!((n|0)>=(p|0));)r0(e[L+(n<<2)>>2]|0),n=n+1|0;r0(z)}return g=P,0}function $v0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;f=g,g=g+96|0,l=f+64|0,o=f+48|0,i=f+40|0,s=f+80|0,n=f+32|0,A=f+16|0,c=f,w=(e[t+16>>2]|0)+144|0,p=e[w>>2]|0,w=e[w+4>>2]|0,v=n,e[v>>2]=p,e[v+4>>2]=w,v=p,e[A>>2]=e[v>>2],e[A+4>>2]=e[v+4>>2],e[A+8>>2]=e[v+8>>2],e[A+12>>2]=e[v+12>>2],w=p+(w+-1<<4)|0,e[c>>2]=e[w>>2],e[c+4>>2]=e[w+4>>2],e[c+8>>2]=e[w+8>>2],e[c+12>>2]=e[w+12>>2],e[l>>2]=e[n>>2],e[l+4>>2]=e[n+4>>2],q3(l,s),0>1||(i=t+-48|0,n=t),yi(t,e[((e[n>>2]&3|0)==2?t:i)+40>>2]|0,e[s>>2]|0,e[s+4>>2]|0,17792),e[o>>2]=e[A>>2],e[o+4>>2]=e[A+4>>2],e[o+8>>2]=e[A+8>>2],e[o+12>>2]=e[A+12>>2],e[l>>2]=e[c>>2],e[l+4>>2]=e[c+4>>2],e[l+8>>2]=e[c+8>>2],e[l+12>>2]=e[c+12>>2],zf(r,t,o,l),g=f}function Fp(r,t){r=r|0,t=t|0;var i=0;i=$[(e[r+16>>2]|0)+136>>1]&14,t<<24>>24&&PC(r)|0,i<<16>>16&&Tp(r,i&65535)|0}function PC(r){r=r|0;var t=0,i=0,n=0,o=0;for(i=Kv0(r)|0,t=U0(r)|0;t;)n=e[t+16>>2]|0,o=e[n+132>>2]|0,u[n+16>>3]=+u[o>>3]*72,u[n+24>>3]=+u[o+8>>3]*72,t=X0(r,t)|0;return i|0}function Kv0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;e:do if((e[r+60>>2]|0)==(r|0)&&(i=r+16|0,n=e[i>>2]|0,(e[(e[n+8>>2]|0)+84>>2]|0)!=0)){+u[n+16>>3]==0&&+u[n+24>>3]==0?t=0:(lT(r),t=1,n=e[i>>2]|0),A=(e[n+116>>2]&1|0)==0,A||(c=n+32|0,s=+u[c>>3],i=n+40|0,u[c>>3]=+u[i>>3],u[i>>3]=s),i=e[n+8>>2]|0;r:do switch(e[i+84>>2]|0){case 2:{if(o=+u[i+64>>3],o<=0)break e;if(l=o/+u[n+32>>3],o=+u[i+72>>3]/+u[n+40>>3],l<1|o<1)if(l>3],o<=0||(l=o/+u[n+32>>3],o=+u[i+72>>3]/+u[n+40>>3],!(l>1&o>1)))break e;o=l>3],o=+u[n+40>>3]/+u[n+32>>3],o1)for(i=U0(r)|0;;){if(!i)break r;for(t=Me(r,i)|0;t;)e[(e[t+16>>2]|0)+8>>2]|0&&bv0(t,o,l),t=Qe(r,t)|0;i=X0(r,i)|0}while(0);for(t=U0(r)|0;t;)c=e[(e[t+16>>2]|0)+132>>2]|0,u[c>>3]=+u[c>>3]*o,c=c+8|0,u[c>>3]=+u[c>>3]*l,t=X0(r,t)|0;sT(r,o,l),t=1}else t=0;while(0);return t|0}function lT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(f=g,g=g+32|0,A=f+16|0,c=f,t=(e[r+16>>2]|0)+16|0,e[c>>2]=e[t>>2],e[c+4>>2]=e[t+4>>2],e[c+8>>2]=e[t+8>>2],e[c+12>>2]=e[t+12>>2],n=+u[c>>3],o=n*.013888888888888888,l=+u[c+8>>3],s=l*.013888888888888888,t=U0(r)|0;t;)i=e[t+16>>2]|0,w=e[i+132>>2]|0,u[w>>3]=+u[w>>3]-o,w=w+8|0,u[w>>3]=+u[w>>3]-s,i=e[i+108>>2]|0,i|0&&C[i+81>>0]|0&&(w=i+56|0,u[w>>3]=+u[w>>3]-n,w=i+64|0,u[w>>3]=+u[w>>3]-l),t=X0(r,t)|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)e[(e[t+16>>2]|0)+8>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,u[f>>3]=+u[f>>3]-+u[t>>3],f=r+64|0,u[f>>3]=+u[f>>3]-+u[c>>3]),r=e[A+108>>2]|0,r|0&&C[r+81>>0]|0&&(f=r+56|0,u[f>>3]=+u[f>>3]-+u[t>>3],f=r+64|0,u[f>>3]=+u[f>>3]-+u[c>>3]),r=e[A+100>>2]|0,r|0&&C[r+81>>0]|0&&(f=r+56|0,u[f>>3]=+u[f>>3]-+u[t>>3],f=r+64|0,u[f>>3]=+u[f>>3]-+u[c>>3]),r=e[A+104>>2]|0,r|0&&C[r+81>>0]|0&&(f=r+56|0,u[f>>3]=+u[f>>3]-+u[t>>3],f=r+64|0,u[f>>3]=+u[f>>3]-+u[c>>3])}function AT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(A=g,g=g+16|0,s=A,o=+u[t>>3],l=r+16|0,r=e[l>>2]|0,i=r+32|0,u[i>>3]=+u[i>>3]-o,n=+u[t+8>>3],i=r+40|0,u[i>>3]=+u[i>>3]-n,i=r+16|0,u[i>>3]=+u[i>>3]-o,i=r+24|0,u[i>>3]=+u[i>>3]-n,i=e[r+12>>2]|0,i|0&&C[i+81>>0]|0&&(c=i+56|0,u[c>>3]=+u[c>>3]-o,i=i+64|0,u[i>>3]=+u[i>>3]-n),i=1;!((i|0)>(e[r+180>>2]|0));)c=e[(e[r+184>>2]|0)+(i<<2)>>2]|0,e[s>>2]=e[t>>2],e[s+4>>2]=e[t+4>>2],e[s+8>>2]=e[t+8>>2],e[s+12>>2]=e[t+12>>2],AT(c,s),i=i+1|0,r=e[l>>2]|0;g=A}function FA(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=g,g=g+16|0,i=s,MA(r),n=r+16|0,t=e[n>>2]|0,o=+u[t+16>>3]*.013888888888888888,l=+u[t+24>>3]*.013888888888888888,t=U0(r)|0;t;)A=e[(e[t+16>>2]|0)+132>>2]|0,u[A>>3]=+u[A>>3]-o,A=A+8|0,u[A>>3]=+u[A>>3]-l,t=X0(r,t)|0;A=(e[n>>2]|0)+16|0,e[i>>2]=e[A>>2],e[i+4>>2]=e[A+4>>2],e[i+8>>2]=e[A+8>>2],e[i+12>>2]=e[A+12>>2],uT(r,i),Fp(r,1),g=s}function uT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(l=g,g=g+16|0,o=l,i=r+16|0,r=1;n=e[i>>2]|0,!((r|0)>(e[n+180>>2]|0));)n=e[(e[n+184>>2]|0)+(r<<2)>>2]|0,e[o>>2]=e[t>>2],e[o+4>>2]=e[t+4>>2],e[o+8>>2]=e[t+8>>2],e[o+12>>2]=e[t+12>>2],uT(n,o),r=r+1|0;A=+u[t>>3],o=n+32|0,u[o>>3]=+u[o>>3]-A,s=+u[t+8>>3],t=n+40|0,u[t>>3]=+u[t>>3]-s,t=n+16|0,u[t>>3]=+u[t>>3]-A,t=n+24|0,u[t>>3]=+u[t>>3]-s,g=l}function aT(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(v=(i|0)>2,w=0,p=0,s=e[n+4>>2]|0,r=e[n>>2]|0;;){if((p|0)>=(t|0)){r=0;break}l=e[(e[o+(p<<2)>>2]|0)+16>>2]|0,c=C[l+119>>0]|0;e:do if(c<<24>>24){A=e[l+132>>2]|0,f=r+8|0,u[r>>3]=+u[A>>3],l=s+8|0,u[s>>3]=+u[A+8>>3];r:do if(v)for(s=2,r=A+16|0;;){if((s|0)==(i|0))break r;u[(e[n+(s<<2)>>2]|0)+(p<<3)>>3]=+u[r>>3],s=s+1|0,r=r+8|0}while(0);s=(c&255)>1?1:w,r=f}else if(A=r+8|0,u[r>>3]=+Rn(),l=s+8|0,u[s>>3]=+Rn(),v)for(r=2;;){if((r|0)==(i|0)){s=w,r=A;break e}m=+Rn(),u[(e[n+(r<<2)>>2]|0)+(p<<3)>>3]=m,r=r+1|0}else s=w,r=A;while(0);w=s,p=p+1|0,s=l}for(;!((r|0)>=(i|0));)qA(t,e[n+(r<<2)>>2]|0),r=r+1|0;return w|0}function cT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;i=j0(((N0(t+1|0,t)|0)/2|0)<<2)|0,w=PA(t,t,0)|0,p=PA(t,t,0)|0;e:do if(e[r+8>>2]|0)for(n=0;;){if((n|0)>=(t|0))break e;for(l=e[r+(n*20|0)>>2]|0,s=r+(n*20|0)+4|0,A=r+(n*20|0)+8|0,f=w+(n<<2)|0,o=1;!((o|0)>=(l|0));)v=e[(e[s>>2]|0)+(o<<2)>>2]|0,c=-1/+x0[(e[A>>2]|0)+(o<<2)>>2],u[(e[w+(v<<2)>>2]|0)+(n<<3)>>3]=c,u[(e[f>>2]|0)+(v<<3)>>3]=c,o=o+1|0;n=n+1|0}else for(n=0;;){if((n|0)>=(t|0))break e;for(l=e[r+(n*20|0)>>2]|0,s=r+(n*20|0)+4|0,A=w+(n<<2)|0,o=1;!((o|0)>=(l|0));)f=e[(e[s>>2]|0)+(o<<2)>>2]|0,u[(e[w+(f<<2)>>2]|0)+(n<<3)>>3]=-1,u[(e[A>>2]|0)+(f<<3)>>3]=-1,o=o+1|0;n=n+1|0}while(0);e:do if(!(nF(t,w,p)|0))r0(i),i=0;else for(o=0,s=0,f=t;;){if((s|0)>=(t|0))break e;for(A=p+(s<<2)|0,n=s,l=o;(n|0)!=(t|0);)(s|0)==(n|0)?c=0:(v=e[A>>2]|0,c=+u[(e[p+(n<<2)>>2]|0)+(n<<3)>>3]+ +u[v+(s<<3)>>3]+ +u[v+(n<<3)>>3]*-2),x0[i+(l<<2)>>2]=c,n=n+1|0,l=l+1|0;o=o+f|0,s=s+1|0,f=f+-1|0}while(0);return YA(w),YA(p),i|0}function fT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(m=g,g=g+16|0,v=m,e[r+8>>2]|0)for(i=YC(r,t)|0,o=0,n=0,p=0;!((p|0)>=(t|0));){for(n=n+p|0,w=e[r+(p*20|0)>>2]|0,A=r+(p*20|0)+4|0,c=(N0(p,t)|0)-n|0,f=r+(p*20|0)+8|0,s=1;!((s|0)>=(w|0));)l=e[(e[A>>2]|0)+(s<<2)>>2]|0,(l|0)>=(p|0)&&(l=i+(c+l<<2)|0,E=+x0[(e[f>>2]|0)+(s<<2)>>2],o=o+ +L0(+(+x0[l>>2]-E)),x0[l>>2]=E),s=s+1|0;p=p+1|0}else i=0;return g=m,i|0}function YC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+16|0,s=w,A=j0(((N0(t+1|0,t)|0)/2|0)<<2)|0,c=j0(t<<2)|0,Xh(s,t),i=0,o=0,f=t;!((i|0)>=(t|0));){for(sy0(i,r,t,c),n=i,l=o;(n|0)!=(t|0);)e[A+(l<<2)>>2]=e[c+(n<<2)>>2],n=n+1|0,l=l+1|0;i=i+1|0,o=o+f|0,f=f+-1|0}return r0(c),qp(s),g=w,A|0}function VC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+16|0,s=w,A=j0(((N0(t+1|0,t)|0)/2|0)<<2)|0,c=j0(t<<2)|0,Xh(s,t),i=0,o=0,f=t;!((i|0)>=(t|0));){for(Zf(i,r,t,c,s),n=i,l=o;(n|0)!=(t|0);)x0[A+(l<<2)>>2]=+(e[c+(n<<2)>>2]|0),n=n+1|0,l=l+1|0;i=i+1|0,o=o+f|0,f=f+-1|0}return r0(c),qp(s),g=w,A|0}function hT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(B=r+8|0,i=e[B>>2]|0,n=0,o=0;!((o|0)>=(t|0));)n=(e[r+(o*20|0)>>2]|0)+n|0,o=o+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,E=H+24|0,m=H+16|0,w=H+8|0,f=H,p=s&4,q=s&3;e:do if((c|0)<0)i=0;else{s=(A|0)==2;r:do if(s)i=hT(r,t)|0,z=14;else{switch(A|0){case 1:{if(i=cT(r,t)|0,i|0){F=i;break r}$0(0,93315,f)|0,$0(3,93364,w)|0,z=15;break r}case 3:break;default:{z=15;break r}}i=fT(r,t)|0,z=14}while(0);(z|0)==14&&(i?F=i:z=15);do if((z|0)==15)if(e[r+8>>2]|0){F=YC(r,t)|0;break}else{F=VC(r,t)|0;break}while(0);r:do if((t|0)>1&(p|0)!=0)if((r50(r,t,n,l,p,q,s&1)|0)<0)B=0,E=0,i=-1,r=0,m=0,p=0,w=0,f=0,A=0,s=0;else for(s=0;;){if((s|0)>=(l|0)){L=0,z=35;break r}for(A=n+(s<<2)|0,v=1,i=0;(i|0)!=(t|0);)_=+L0(+ +u[(e[A>>2]|0)+(i<<3)>>3]),v=_>v?_:v,i=i+1|0;for(v=1/v,i=0;;){if((i|0)==(t|0)){i=0;break}U=(e[A>>2]|0)+(i<<3)|0,u[U>>3]=+u[U>>3]*v,i=i+1|0}for(;(i|0)!=(t|0);)_=(+Rn()+-.5)*1e-6,U=(e[A>>2]|0)+(i<<3)|0,u[U>>3]=+u[U>>3]+_,i=i+1|0;qA(t,e[A>>2]|0),s=s+1|0}else L=aT(0,t,l,n,o)|0,z=35;while(0);r:do if((z|0)==35){if((t|0)==1|(c|0)==0){i=0;break e}for(m=l<<2,U=j0(m)|0,E=t<<2,r=N0(E,l)|0,X=j0(r)|0,i=0;!((i|0)>=(l|0));){for(A=X+((N0(i,t)|0)<<2)|0,e[U+(i<<2)>>2]=A,f=n+(i<<2)|0,s=0;!((s|0)>=(t|0));)x0[A+(s<<2)>>2]=+u[(e[f>>2]|0)+(s<<3)>>3],s=s+1|0;i=i+1|0}t:do if(q)v=+(t|0)*.5*+(t+-1|0);else for(w=t+-1|0,i=0,v=0,f=0;;){if((f|0)>=(w|0))break t;for(p=t-f|0,A=i,s=1;i=A+1|0,!((s|0)>=(p|0));)A=i,v=+x0[F+(i<<2)>>2]+v,s=s+1|0;f=f+1|0}while(0);for(N=(N0(t+1|0,t)|0)/2|0,T=(q|0)==2,T&&lk(N,F),FF(N,F),D=t<<3,A=j0(D)|0,qr(A|0,0,D|0)|0,P=t+-1|0,i=0,f=0;;){if((f|0)>=(P|0)){i=t,s=0,f=0;break}for(w=t-f|0,x=0,s=1;i=i+1|0,!((s|0)>=(w|0));)_=+x0[F+(i<<2)>>2],Z=A+(s+f<<3)|0,u[Z>>3]=+u[Z>>3]-_,x=x+_,s=s+1|0;Z=A+(f<<3)|0,u[Z>>3]=+u[Z>>3]-x,f=f+1|0}for(;!((s|0)>=(t|0));)x0[F+(f<<2)>>2]=+u[A+(s<<3)>>3],Z=i+f|0,i=i+-1|0,s=s+1|0,f=Z;for(Z=j0(m)|0,e[Z>>2]=j0(r)|0,i=1;!((i|0)>=(l|0));)e[Z+(i<<2)>>2]=(e[Z>>2]|0)+((N0(i,t)|0)<<2),i=i+1|0;for(w=j0(E)|0,f=j0(E)|0,s=j0(N<<2)|0,z=(L|0)==0,L=e[15712]|0,i=0,p=0,_=17976931348623157e292;p<<24>>24==0&(i|0)<(c|0);){for(qr(A|0,0,D|0)|0,T?(PF(N,F,s),B=0,r=0):(B=0,r=0);;){if((B|0)>=(P|0)){p=t,m=0,r=0;break}for(E=t-B+-1|0,Kh(E,0,f),p=0;!((p|0)>=(l|0));)W=U+(p<<2)|0,Kh(E,+x0[(e[W>>2]|0)+(B<<2)>>2],w),ok(E,w,-1,(e[W>>2]|0)+(B<<2)+4|0),lk(E,w),pE(E,w,f,f),p=p+1|0;for(YF(E,f),p=0;!((p|0)>=(E|0));)m=f+(p<<2)|0,x=+x0[m>>2],x>=34028234663852886e22|x<0&&(x0[m>>2]=0),p=p+1|0;p=r+1|0,r=B+1|0;t:do if(T)for(x=0,m=0;;){if((m|0)>=(E|0))break t;W=s+(p<<2)|0,a0=+x0[W>>2]*+x0[f+(m<<2)>>2],x0[W>>2]=a0,W=A+(r+m<<3)|0,u[W>>3]=+u[W>>3]-a0,x=x+a0,p=p+1|0,m=m+1|0}else for(x=0,m=0;;){if((m|0)>=(E|0))break t;a0=+x0[f+(m<<2)>>2],x0[s+(p<<2)>>2]=a0,W=A+(r+m<<3)|0,u[W>>3]=+u[W>>3]-a0,x=x+a0,p=p+1|0,m=m+1|0}while(0);W=A+(B<<3)|0,u[W>>3]=+u[W>>3]-x,B=r,r=p}for(;;){if((m|0)>=(t|0)){p=0;break}x0[s+(r<<2)>>2]=+u[A+(m<<3)>>3],W=p+r|0,p=p+-1|0,m=m+1|0,r=W}for(;;){if((p|0)>=(l|0)){x=0,p=0;break}jf(s,t,e[U+(p<<2)>>2]|0,e[Z+(p<<2)>>2]|0),p=p+1|0}for(;!((p|0)>=(l|0));)x=+Wa(t,e[U+(p<<2)>>2]|0,e[Z+(p<<2)>>2]|0)+x,p=p+1|0;for(x=x*2+v,p=0;!((p|0)>=(l|0));)W=U+(p<<2)|0,jf(F,t,e[W>>2]|0,w),x=x-+Wa(t,e[W>>2]|0,w),p=p+1|0;for(k0=_-x,a0=+u[23294],p=(x=0?k0:-k0)/_=(l|0));){E=U+(r<<2)|0,m=e[E>>2]|0;t:do if(z){if((tE(F,m,e[Z+(r<<2)>>2]|0,t,.001,t)|0)<0){B=Z,E=F,i=-1,r=X,m=U,p=Z;break r}}else{if(QF(t,m,w),(tE(F,w,e[Z+(r<<2)>>2]|0,t,.001,t)|0)<0){B=Z,E=F,i=-1,r=X,m=U,p=Z;break r}else m=0;for(;;){if((m|0)>=(t|0))break t;(s0[(e[(e[o+(m<<2)>>2]|0)+16>>2]|0)+119>>0]|0)<=1&&(e[(e[E>>2]|0)+(m<<2)>>2]=e[w+(m<<2)>>2]),m=m+1|0}}while(0);r=r+1|0}((i|0)%5|0|0)==0&!1&&(u[t0>>3]=x,A2(L,90371,t0)|0,((i+5|0)%50|0|0)==0)&&OE(10,L)|0,i=i+1|0,_=x}for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>>2]|0,e[L>>2]|0),_=_+1|0}c&1?A=0:(B=+wT(i,P,n,t,l),w=+L0(+(B-w))/(B+1e-10),A=w<+u[23294]&1,w=B),c=c+1|0}for(r0(W),r0(Z),F&&dE(r,t,q),A=0;!((A|0)>=(t|0));)C[P+(A<<4)+12>>0]|0&&(r0(e[P+(A<<4)+4>>2]|0),r0(e[P+(A<<4)+8>>2]|0)),A=A+1|0;return r0(P),r0(e[T+4>>2]|0),r0(e[T+8>>2]|0),r0(T),r0(Y),r0(t0),r0(e[N>>2]|0),r0(N),A=e[a0>>2]|0,A|0&&(r0(e[A>>2]|0),r0(e[a0>>2]|0)),r0(e[k0>>2]|0),r0(k0),qp(B0),g=D0,c|0}function R2e(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(E=n+-1|0,v=(o|0)==2,l=0,o=0,w=0;!((w|0)>=(E|0));){for(m=n-w|0,p=1;o=o+1|0,!((p|0)>=(m|0));){for(c=p+w|0,s=0,A=0;!((A|0)>=(i|0));)B=e[r+(A<<2)>>2]|0,f=+x0[B+(w<<2)>>2]-+x0[B+(c<<2)>>2],s=s+f*f,A=A+1|0;s=+G0(+s),f=+x0[t+(o<<2)>>2],v?(s=1/+G0(+f)-s,s=s*s):(s=1/f-s,s=s*s),p=p+1|0,l=s*f+l}w=w+1|0}return+l}function wT(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;e:do if((o|0)==2)for(l=0,f=0;;){if((f|0)>=(n|0))break e;for(p=e[t+(f<<4)>>2]|0,v=t+(f<<4)+4|0,w=t+(f<<4)+8|0,c=0;!((c|0)>=(p|0));){if(A=e[(e[v>>2]|0)+(c<<2)>>2]|0,(A|0)>(f|0)){for(s=0,o=0;!((o|0)>=(i|0));)E=e[r+(o<<2)>>2]|0,m=+u[E+(f<<3)>>3]-+u[E+(A<<3)>>3],s=m*m+s,o=o+1|0;s=+G0(+s),m=+(e[(e[w>>2]|0)+(c<<2)>>2]|0),s=m-s,l=s*s/(m*m)+l}c=c+1|0}f=f+1|0}else for(f=0,l=0;;){if((f|0)>=(n|0))break e;for(w=e[t+(f<<4)>>2]|0,p=t+(f<<4)+4|0,v=t+(f<<4)+8|0,c=0;!((c|0)>=(w|0));){if(A=e[(e[p>>2]|0)+(c<<2)>>2]|0,(A|0)>(f|0)){for(s=0,o=0;!((o|0)>=(i|0));)E=e[r+(o<<2)>>2]|0,m=+u[E+(f<<3)>>3]-+u[E+(A<<3)>>3],s=m*m+s,o=o+1|0;s=+G0(+s),m=+(e[(e[v>>2]|0)+(c<<2)>>2]|0),s=m-s,l=s*s/m+l}c=c+1|0}f=f+1|0}while(0);return+l}function t50(r){return r=+r,+(+G0(+r)*r)}function dT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=e[47137]|0,n=0,o=0;!((o|0)>=(l|0));)s=+u[r+(o<<3)>>3]-+u[t+(o<<3)>>3],u[i+(o<<3)>>3]=s,n=s*s+n,o=o+1|0;return+ +G0(+n)}function PA(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0;for(s=j0(r<<2)|0,o=0,l=j0(N0(r<<3,t)|0)|0;!((o|0)>=(r|0));){for(e[s+(o<<2)>>2]=l,n=0;!((n|0)>=(t|0));)u[l+(n<<3)>>3]=i,n=n+1|0;o=o+1|0,l=l+(t<<3)|0}return s|0}function YA(r){r=r|0,r|0&&(r0(e[r>>2]|0),r0(r))}function pT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;w=g,g=g+16|0,f=v2(r)|0,c=ys(r)|0,A=re(r,2,92493,0)|0;e:do if(t)for(u[23294]=1e-4,gN(r,108886,186352),o=0,i=0,l=U0(r)|0;;){if(!l)break e;e[(e[l+16>>2]|0)+120>>2]=o,n=+kT(r,l,A)+i,o=o+1|0,i=n,l=X0(r,l)|0}else for(u[23294]=+(f|0)*1e-4,gN(r,108886,186352),o=he(e[r+60>>2]|0,90100)|0,o?i=+Fl(o):i=.99,u[23296]=i,o=j0((f<<2)+4|0)|0,s=r+16|0,e[(e[s>>2]|0)+152>>2]=o,o=0,i=0,l=U0(r)|0;;){if(!l)break e;e[(e[(e[s>>2]|0)+152>>2]|0)+(o<<2)>>2]=l,p=e[l+16>>2]|0,e[p+120>>2]=o,e[p+124>>2]=-1,n=+kT(r,l,A)+i,o=o+1|0,i=n,l=X0(r,l)|0}while(0);return o=he(r,90108)|0,o|0&&C[o>>0]|0?(i=+u[23294],n=+Fl(o),i>n||(i=n)):i=i/+(((c|0)>1?c:1)|0)*+G0(+ +(f|0))+1,u[23295]=i,e[47134]|t||(t=PA(f,f,i)|0,p=r+16|0,e[(e[p>>2]|0)+160>>2]=t,t=PA(f,f,1)|0,e[(e[p>>2]|0)+164>>2]=t,t=PA(f,e[47137]|0,1)|0,e[(e[p>>2]|0)+168>>2]=t,t=n50(f,f,e[47137]|0)|0,e[(e[p>>2]|0)+172>>2]=t),g=w,f|0}function i50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;o=0,n=0,c=Xr(r,t)|0;e:for(;c;){s=e[c>>2]&3,l=e[((s|0)==2?c:c+-48|0)+40>>2]|0,s=e[((s|0)==3?c:c+48|0)+40>>2]|0;do if((l|0)!=(s|0)){if(A=(s|0)==(t|0),(n|0)!=1){o=A?l:s,e[i>>2]=o,n=n+1|0;break}if(!((l|0)==(o|0)&A)&&!((l|0)==(t|0)&(s|0)==(o|0))){n=2;break e}else n=1}while(0);c=ot(r,c,t)|0}return n|0}function G2e(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,o=s,l=r+60|0;e:for(;;){r:for(;;){if(!t)break e;switch(i50(r,t,o)|0){case 0:{n=5;break r}case 1:{n=8;break r}default:t=0}}if((n|0)==5){(i|0)==(t|0)&&(i=X0(r,i)|0),zn(e[l>>2]|0,t)|0,t=0;continue}else if((n|0)==8){(i|0)==(t|0)&&(i=X0(r,i)|0),zn(e[l>>2]|0,t)|0,t=e[o>>2]|0;continue}}return g=s,i|0}function kT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;for(c=g,g=g+32|0,s=c+8|0,l=c,t=Me(r,t)|0,n=0;t;){switch(o50(t,i,l)|0){case 0:{o=+u[l>>3];break}case 2:{e[s>>2]=te(r)|0,u[s+8>>3]=1,$0(3,90120,s)|0,A=6;break}default:A=6}(A|0)==6&&(A=0,u[l>>3]=1,o=1),u[(e[t+16>>2]|0)+136>>3]=o,t=Qe(r,t)|0,n=o+n}return g=c,+n}function n50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(A=j0((r<<2)+4|0)|0,c=(t<<2)+4|0,f=i<<3,l=0;!((l|0)>=(r|0));){for(s=A+(l<<2)|0,e[s>>2]=j0(c)|0,o=0;!((o|0)>=(t|0));){for(n=j0(f)|0,e[(e[s>>2]|0)+(o<<2)>>2]=n,n=0;!((n|0)>=(i|0));)u[(e[(e[s>>2]|0)+(o<<2)>>2]|0)+(n<<3)>>3]=0,n=n+1|0;o=o+1|0}e[(e[s>>2]|0)+(o<<2)>>2]=0,l=l+1|0}return e[A+(l<<2)>>2]=0,A|0}function o50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A+8|0,l=A;do if(t|0&&(n=k2(r,t)|0,(C[n>>0]|0)!=0)){if(e[l>>2]=i,(X2(n,101209,l)|0)>=1&&(o=+u[i>>3],!(o<0))&&o!=0|(e[47134]|0)!=0){r=0;break}e[s>>2]=n,$0(0,90147,s)|0,r=2}else r=1;while(0);return g=A,r|0}function l50(r){return r=r|0,pT(r,0)|0}function vT(r){r=r|0,r=r+16|0,r0(e[(e[r>>2]|0)+152>>2]|0),e[47134]|0||(YA(e[(e[r>>2]|0)+160>>2]|0),YA(e[(e[r>>2]|0)+164>>2]|0),YA(e[(e[r>>2]|0)+168>>2]|0),s50(e[(e[r>>2]|0)+172>>2]|0),e[(e[r>>2]|0)+172>>2]=0)}function s50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(r|0){for(o=0;l=r+(o<<2)|0,t=e[l>>2]|0,t;){n=0;for(;i=e[t+(n<<2)>>2]|0,!!i;)r0(i),n=n+1|0,t=e[l>>2]|0;r0(t),o=o+1|0}r0(r)}}function OC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=+(t|0),t=r+16|0;!((i|0)>=(e[47137]|0));)o=+Rn()*n,u[(e[(e[t>>2]|0)+132>>2]|0)+(i<<3)>>3]=o,i=i+1|0}function HC(r,t){r=r|0,t=t|0,OC(r,t,2)}function A50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=+(t|0),o=+Rn()*n,i=r+16|0,u[e[(e[i>>2]|0)+132>>2]>>3]=o,n=+Rn()*n,u[(e[(e[i>>2]|0)+132>>2]|0)+8>>3]=n,(e[47137]|0)>2&&HC(r,t)}function u50(r,t){r=r|0,t=t|0;var i=0,n=0;n=g,g=g+16|0,i=n,t=$Q(r,t,2)|0;e:do if((t|0)!=1)for(e[46797]|t||($0(0,90192,i)|0,e[46797]=1),i=r+16|0,t=0;;){if(r=e[(e[(e[i>>2]|0)+152>>2]|0)+(t<<2)>>2]|0,!r)break e;C[(e[r+16>>2]|0)+119>>0]|0||A50(r,1),t=t+1|0}while(0);g=n}function a50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(m=g,g=g+96|0,v=m+80|0,w=m,p=r+16|0,o=e[p>>2]|0,c=e[o+164>>2]|0,o=e[o+160>>2]|0,f=0;!((f|0)>=(t|0));){for(s=o+(f<<2)|0,A=c+(f<<2)|0,n=0;(n|0)!=(f|0);)l=+u[(e[s>>2]|0)+(n<<3)>>3],l=1/(l*l),i=e[(e[p>>2]|0)+152>>2]|0,i=rr(r,e[i+(f<<2)>>2]|0,e[i+(n<<2)>>2]|0,0,0)|0,i&&(l=+u[(e[i+16>>2]|0)+128>>3]*l),u[(e[c+(n<<2)>>2]|0)+(f<<3)>>3]=l,u[(e[A>>2]|0)+(n<<3)>>3]=l,n=n+1|0;f=f+1|0}for(r=e[47137]|0,n=0;(n|0)<(t|0);){i=0;for(;!((i|0)>=(r|0));)u[(e[(e[(e[p>>2]|0)+168>>2]|0)+(n<<2)>>2]|0)+(i<<3)>>3]=0,i=i+1|0;n=n+1|0}for(s=0;i=e[(e[(e[p>>2]|0)+152>>2]|0)+(s<<2)>>2]|0,!!i;){for(r=i+16|0,i=0;!((i|0)>=(t|0));){e:do if((s|0)!=(i|0))for(l=+dT(e[(e[r>>2]|0)+132>>2]|0,e[(e[(e[(e[(e[p>>2]|0)+152>>2]|0)+(i<<2)>>2]|0)+16>>2]|0)+132>>2]|0,w),o=e[47137]|0,l=1/l,n=0;;){if((n|0)>=(o|0))break e;f=e[p>>2]|0,E=+u[w+(n<<3)>>3],E=(E-+u[(e[(e[f+160>>2]|0)+(s<<2)>>2]|0)+(i<<3)>>3]*E*l)*+u[(e[(e[f+164>>2]|0)+(s<<2)>>2]|0)+(i<<3)>>3],u[(e[(e[(e[f+172>>2]|0)+(s<<2)>>2]|0)+(i<<2)>>2]|0)+(n<<3)>>3]=E,f=(e[(e[f+168>>2]|0)+(s<<2)>>2]|0)+(n<<3)|0,u[f>>3]=+u[f>>3]+E,n=n+1|0}while(0);i=i+1|0}s=s+1|0}g=m}function c50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(s=g,g=g+32|0,l=s+24|0,o=s+8|0,n=s,A=+u[23294],u[23216]=A*A;i=f50(r,t)|0,!!i;)h50(r,t,i);t=r+16|0,t=e[(e[t>>2]|0)+156>>2]|0,(t|0)==(e[47136]|0)&&(c=te(r)|0,e[l>>2]=t,e[l+4>>2]=c,$0(0,90320,l)|0),g=s}function f50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(m=g,g=g+16|0,v=m,w=(e[46799]|0)+1|0,e[46799]=w,r=e[r+16>>2]|0,(e[r+156>>2]|0)<(e[47136]|0)){for(c=e[47137]|0,f=r+152|0,A=r+168|0,r=0,i=0,s=0;!((s|0)>=(t|0));){if(o=e[(e[f>>2]|0)+(s<<2)>>2]|0,(s0[(e[o+16>>2]|0)+119>>0]|0)<=1){for(l=0,n=0;!((n|0)>=(c|0));)E=+u[(e[(e[A>>2]|0)+(s<<2)>>2]|0)+(n<<3)>>3],l=E*E+l,n=n+1|0;l>i&&(r=o,i=l)}s=s+1|0}i<+u[23216]?r=0:!1&((w|0)%100|0|0)==0&&(p=e[15712]|0,u[v>>3]=+G0(+i),A2(p,90371,v)|0,((e[46799]|0)%1e3|0|0)==0)&&OE(10,p)|0}else r=0;return g=m,r|0}function h50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(p=g,g=g+16|0,w=p,c=i+16|0,f=e[(e[c>>2]|0)+120>>2]|0,o=e[46798]|0,o?(l=e[47137]|0,l=Ve(o,N0(l<<3,l)|0)|0):(l=e[47137]|0,l=_0(N0(l<<3,l)|0)|0),e[46798]=l,w50(r,t,f,l),s=e[47137]|0,A=r+16|0,o=0;!((o|0)>=(s|0));)u[185736+(o<<3)>>3]=-+u[(e[(e[(e[A>>2]|0)+168>>2]|0)+(f<<2)>>2]|0)+(o<<3)>>3],o=o+1|0;for(h90(l,185816,185736,s),o=0;!((o|0)>=(e[47137]|0));)n=+u[23296],n=(1-n)*2*+Rn()+n,s=185816+(o<<3)|0,n=n*+u[s>>3],u[s>>3]=n,s=(e[(e[c>>2]|0)+132>>2]|0)+(o<<3)|0,u[s>>3]=+u[s>>3]+n,o=o+1|0;c=(e[A>>2]|0)+156|0,e[c>>2]=(e[c>>2]|0)+1,d50(r,t,f),ev0()|0,g=p}function Z2e(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;E=t+-1|0,p=r+16|0,v=e[47137]|0,l=0,i=0;e:for(;!((l|0)>=(E|0));)for(w=e[p>>2]|0,m=e[w+152>>2]|0,A=l+1|0,c=(e[m+(l<<2)>>2]|0)+16|0,f=w+164|0,w=w+160|0,s=A;;){if((s|0)>=(t|0)){l=A;continue e}for(o=(e[m+(s<<2)>>2]|0)+16|0,r=0,n=0;!((r|0)>=(v|0));)B=+u[(e[(e[c>>2]|0)+132>>2]|0)+(r<<3)>>3]-+u[(e[(e[o>>2]|0)+132>>2]|0)+(r<<3)>>3],r=r+1|0,n=B*B+n;B=+u[(e[(e[w>>2]|0)+(l<<2)>>2]|0)+(s<<3)>>3],B=((+G0(+n)*-2+B)*B+n)*+u[(e[(e[f>>2]|0)+(l<<2)>>2]|0)+(s<<3)>>3]+i,s=s+1|0,i=B}return+i}function w50(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;for(Z=g,g=g+80|0,L=Z,_=e[r+16>>2]|0,c=e[_+164>>2]|0,f=e[_+160>>2]|0,_=e[_+152>>2]|0,A=e[_+(i<<2)>>2]|0,l=e[47137]|0,r=0;!((r|0)>=(l|0));){for(s=N0(l,r)|0,o=0;(o|0)!=(l|0);)u[n+(s+o<<3)>>3]=0,o=o+1|0;r=r+1|0}for(z=e[47137]|0,x=A+16|0,B=c+(i<<2)|0,c=f+(i<<2)|0,A=0;!((A|0)>=(t|0));){e:do if((A|0)!=(i|0)){for(o=(e[_+(A<<2)>>2]|0)+16|0,E=0,r=0;!((r|0)>=(z|0));)m=+u[(e[(e[x>>2]|0)+132>>2]|0)+(r<<3)>>3]-+u[(e[(e[o>>2]|0)+132>>2]|0)+(r<<3)>>3],u[L+(r<<3)>>3]=m,E=m*m+E,r=r+1|0;for(w=1/+t50(E),s=0;;){if((s|0)>=(z|0))break e;for(o=(e[B>>2]|0)+(A<<3)|0,l=(e[c>>2]|0)+(A<<3)|0,p=+u[L+(s<<3)>>3],r=0;v=+u[o>>3],m=+u[l>>3],(r|0)!=(s|0);)f=n+((N0(z,r)|0)+s<<3)|0,u[f>>3]=+u[f>>3]+v*w*m*p*+u[L+(r<<3)>>3],r=r+1|0;f=n+((N0(z,s)|0)+s<<3)|0,u[f>>3]=(1-m*w*(E-p*p))*v+ +u[f>>3],s=s+1|0}}while(0);A=A+1|0}for(o=e[47137]|0,s=1;!((s|0)>=(o|0));){for(l=N0(o,s)|0,r=0;(r|0)!=(s|0);)u[n+(l+r<<3)>>3]=+u[n+((N0(o,r)|0)+s<<3)>>3],r=r+1|0;s=s+1|0}g=Z}function d50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(f=g,g=g+80|0,c=f,A=r+16|0,o=e[A>>2]|0,l=e[(e[o+152>>2]|0)+(i<<2)>>2]|0,n=e[47137]|0,o=o+168|0,r=0;!((r|0)>=(n|0));)u[(e[(e[o>>2]|0)+(i<<2)>>2]|0)+(r<<3)>>3]=0,r=r+1|0;for(o=l+16|0,r=0;!((r|0)>=(t|0));){e:do if((r|0)!=(i|0))for(s=+dT(e[(e[o>>2]|0)+132>>2]|0,e[(e[(e[(e[(e[A>>2]|0)+152>>2]|0)+(r<<2)>>2]|0)+16>>2]|0)+132>>2]|0,c),l=e[47137]|0,s=1/s,n=0;;){if((n|0)>=(l|0))break e;w=e[A>>2]|0,m=e[w+172>>2]|0,E=(e[(e[m+(i<<2)>>2]|0)+(r<<2)>>2]|0)+(n<<3)|0,p=+u[c+(n<<3)>>3],p=(p-+u[(e[(e[w+160>>2]|0)+(i<<2)>>2]|0)+(r<<3)>>3]*p*s)*+u[(e[(e[w+164>>2]|0)+(i<<2)>>2]|0)+(r<<3)>>3],u[E>>3]=p,w=e[w+168>>2]|0,B=(e[w+(i<<2)>>2]|0)+(n<<3)|0,u[B>>3]=+u[B>>3]+p,m=(e[(e[m+(r<<2)>>2]|0)+(i<<2)>>2]|0)+(n<<3)|0,p=+u[m>>3],v=-+u[E>>3],u[m>>3]=v,w=(e[w+(r<<2)>>2]|0)+(n<<3)|0,u[w>>3]=v-p+ +u[w>>3],n=n+1|0}while(0);r=r+1|0}g=f}function mT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(i=r+16|0,l=e[46800]|0,t=e[(e[i>>2]|0)+124>>2]|0;!((t|0)<=0||(s=(t+-1|0)/2|0,A=l+(s<<2)|0,n=e[A>>2]|0,o=n+16|0,+u[(e[o>>2]|0)+136>>3]<=+u[(e[i>>2]|0)+136>>3]));)e[A>>2]=r,e[(e[i>>2]|0)+124>>2]=s,e[l+(t<<2)>>2]=n,e[(e[o>>2]|0)+124>>2]=t,t=s}function p50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(s=r+16|0,A=e[46801]|0,c=e[46800]|0,l=e[(e[s>>2]|0)+124>>2]|0;n=l<<1|1,!((n|0)>=(A|0)||(i=n+1|0,(i|0)<(A|0)?(o=e[c+(i<<2)>>2]|0,t=e[c+(n<<2)>>2]|0,+u[(e[o+16>>2]|0)+136>>3]<+u[(e[t+16>>2]|0)+136>>3]?(n=i,t=o):f=6):(t=e[c+(n<<2)>>2]|0,f=6),(f|0)==6&&(f=0),i=t+16|0,+u[(e[s>>2]|0)+136>>3]<=+u[(e[i>>2]|0)+136>>3]));)e[c+(n<<2)>>2]=r,e[(e[s>>2]|0)+124>>2]=n,e[c+(l<<2)>>2]=t,e[(e[i>>2]|0)+124>>2]=l,l=n}function gT(r){r=r|0;var t=0,i=0;t=(e[r+16>>2]|0)+124|0,(e[t>>2]|0)>=0&&H0(90377,90397,643,90405),i=e[46801]|0,e[46801]=i+1,e[t>>2]=i,e[(e[46800]|0)+(i<<2)>>2]=r,(i|0)>0&&mT(r)}function k50(){var r=0,t=0,i=0,n=0;return t=e[46801]|0,t?(n=e[46800]|0,r=e[n>>2]|0,i=t+-1|0,e[46801]=i,i=e[n+(i<<2)>>2]|0,e[n>>2]=i,e[(e[i+16>>2]|0)+124>>2]=0,(t|0)>2&&p50(i),e[(e[r+16>>2]|0)+124>>2]=-1):r=0,r|0}function yT(r,t){r=r|0,t=t|0;var i=0,n=0;for(n=g,g=g+16|0,i=n,e[46800]=j0((t<<2)+4|0)|0,t=U0(r)|0;t;)v50(r,t),t=X0(r,t)|0;r0(e[46800]|0),g=n}function v50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(n=e[(e[r+16>>2]|0)+152>>2]|0,o=+u[23295],i=0;l=e[n+(i<<2)>>2]|0,!!l;)u[(e[l+16>>2]|0)+136>>3]=o,i=i+1|0;e[46802]=t,c=e[t+16>>2]|0,u[c+136>>3]=0,e[c+128>>2]=0,gT(t);e:for(;c=k50()|0,!!c;)for(i=e[46802]|0,A=c+16|0,(c|0)!=(i|0)&&m50(r,i,c,+u[(e[A>>2]|0)+136>>3]),s=Xr(r,c)|0;;){if(!s)continue e;i=e[s>>2]&3,t=e[((i|0)==3?s:s+48|0)+40>>2]|0,(t|0)==(c|0)&&(t=e[((i|0)==2?s:s+-48|0)+40>>2]|0),i=e[A>>2]|0,o=+u[(e[s+16>>2]|0)+136>>3]+ +u[i+136>>3],n=e[t+16>>2]|0,l=n+136|0;do if(+u[l>>3]>o)if(u[l>>3]=o,(e[n+124>>2]|0)>-1){mT(t);break}else{e[n+128>>2]=(e[i+128>>2]|0)+1,gT(t);break}while(0);s=ot(r,s,c)|0}}function m50(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n,t=e[(e[t+16>>2]|0)+120>>2]|0,i=e[(e[i+16>>2]|0)+120>>2]|0,r=e[(e[r+16>>2]|0)+160>>2]|0,u[(e[r+(i<<2)>>2]|0)+(t<<3)>>3]=n,u[(e[r+(t<<2)>>2]|0)+(i<<3)>>3]=n}function g50(r){r=r|0,rl(r,2),$[(e[r+16>>2]|0)+176>>1]=2,e[47137]=2,y50(r)}function y50(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=v2(r)|0,n=j0(t*56|0)|0,t=j0((t<<2)+4|0)|0,o=r+16|0,e[(e[o>>2]|0)+152>>2]=t,t=U0(r)|0,i=0;t;)Yh(t),e[(e[t+16>>2]|0)+112>>2]=n+(i*56|0),e[(e[(e[o>>2]|0)+152>>2]|0)+(i<<2)>>2]=t,t=X0(r,t)|0,i=i+1|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)C50(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function C50(r){r=r|0;var t=0;$e(r,137460,176,1)|0,La(r)|0,t=+sr(r,e[47174]|0,1,0),u[(e[r+16>>2]|0)+128>>3]=t}function E50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;if(x=g,g=g+80|0,c=x+32|0,l=x+24|0,o=x+16|0,s=x,B=x+72|0,p=x+40|0,v2(r)|0){if(g50(r),n=he(r,95738)|0,n?C[n>>0]|0?(t=ht(r,n,0)|0,t?E=0:(e[o>>2]=n,$0(0,90448,o)|0,$0(3,90488,l)|0,t=0,E=1)):(t=0,E=1):(t=0,E=0),f=re(r,1,95738,0)|0,w=(f|0)!=0,n=he(r,140742)|0,n|0&&C[n>>0]|0&&(A=s+8|0,e[c>>2]=s,e[c+4>>2]=A,(X2(n,105503,c)|0)==1)&&(u[A>>3]=+u[s>>3]),v2(r)|0){if(c=n7(r,B,0)|0,(e[B>>2]|0)==1){o=(t|0)!=0;do if(o)i=t;else{if(w&&(i=CT(r,f)|0,i|0))break;i=0}while(0);n=rP(r,i)|0,(i|0)!=0|w^1||Er(n,f,142463)|0,m=(U0(r)|0)+16|0,r0(e[(e[m>>2]|0)+112>>2]|0),e[(e[m>>2]|0)+112>>2]=0,Uh(r)|0,FA(r),t=(E|0)==0|o?t:n}else{for(cf(r,2,8,p)|0,e[p+12>>2]=0,A=(E|0)==0,s=0;!((s|0)>=(e[B>>2]|0));){o=e[c+(s<<2)>>2]|0,i=(t|0)!=0,i&&Mi(o,t)|0?n=t:m=23;do if((m|0)==23){if(m=0,w&&(v=CT(o,f)|0,v|0)){n=v;break}n=0}while(0);af(o)|0,l=rP(o,n)|0,t=A|i?t:l,w&&(n|0)==0|(n|0)==(t|0)&&Er(l,f,142463)|0,Uh(o)|0,s=s+1|0}m=(U0(r)|0)+16|0,r0(e[(e[m>>2]|0)+112>>2]|0),e[(e[m>>2]|0)+112>>2]=0,Nd(e[B>>2]|0,c,r,p)|0,FA(r)}for(i=0;!((i|0)>=(e[B>>2]|0));)zn(r,e[c+(i<<2)>>2]|0)|0,i=i+1|0;r0(c)}E|0&&h1(r,95738,te(t)|0)|0,xa(r)}g=x}function CT(r,t){r=r|0,t=t|0;var i=0;for(i=U0(r)|0;;){if(!i){i=0;break}if((jt(k2(i,t)|0)|0)<<24>>24)break;i=X0(r,i)|0}return i|0}function B50(r){r=r|0;var t=0,i=0;if(t=U0(r)|0,t|0){for(;t;){for(i=Me(r,t)|0;i;)NA(i),i=Qe(r,i)|0;jA(t),t=X0(r,t)|0}I50(r)}}function I50(r){r=r|0,r0(e[(e[r+16>>2]|0)+152>>2]|0),(c2(r)|0)!=(r|0)&&ha(r,0,137483)}function x50(r){r=r|0,S50(r),!(v2(r)|0)&&!(e[(e[r+16>>2]|0)+180>>2]|0)||(I90(r),xa(r))}function S50(r){r=r|0,e[47147]=re(r,1,108230,108236)|0,rl(r,2),$[(e[r+16>>2]|0)+176>>1]=2,e[47137]=2,JC(r,0),_50(r)}function JC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,l=A,s=(t|0)==0,s&&(R50(l),t=l),i=yt(r)|0;i;)Yr(te(i)|0,108006,7)|0?JC(i,t):($e(i,137483,280,1)|0,G50(t,i),JC(i,0)),i=Ct(i)|0;s&&(n=e[l+8>>2]|0,o=r+16|0,e[(e[o>>2]|0)+180>>2]=n,n|0)&&(s=Ve(e[l>>2]|0,(n<<2)+4|0)|0,e[(e[o>>2]|0)+184>>2]=s),g=A}function _50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(o=j0((v2(r)|0)<<2)|0,t=j0(((v2(r)|0)<<2)+4|0)|0,l=r+16|0,e[(e[l>>2]|0)+152>>2]=t,t=U0(r)|0,i=0;t;){for($e(t,137447,304,1)|0,e[(e[t+16>>2]|0)+112>>2]=o+(i<<2),e[(e[(e[l>>2]|0)+152>>2]|0)+(i<<2)>>2]=t,z50(t),n=Me(r,t)|0;n;)L50(n),n=Qe(r,n)|0;t=X0(r,t)|0,i=i+1|0}}function z50(r){r=r|0,h1(r,108230,108236)|0}function L50(r){r=r|0,$e(r,137460,304,1)|0}function R50(r){r=r|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0}function G50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=r+8|0,i=(e[l>>2]|0)+1|0,e[l>>2]=i,n=r+4|0,s=e[n>>2]|0,o=s+10|0,(i|0)<(s|0)?r=e[r>>2]|0:(e[n>>2]=o,i=Ve(e[r>>2]|0,o<<2)|0,e[r>>2]=i,r=i,i=e[l>>2]|0),e[r+(i<<2)>>2]=t}function Z50(r){r=r|0;var t=0,i=0;if(t=U0(r)|0,t|0){for(r0(e[(e[t+16>>2]|0)+112>>2]|0);t;){for(i=Me(r,t)|0;i;)NA(i),i=Qe(r,i)|0;jA(t),t=X0(r,t)|0}W50(r)}}function W50(r){r=r|0,r0(e[(e[r+16>>2]|0)+152>>2]|0),(c2(r)|0)!=(r|0)&&ha(r,0,137483)}function D50(r){r=r|0;var t=0,i=0,n=0;if(M50(r),UC(r,0),ET(r,0),BT(r,0),t=e[r+16>>2]|0,!(e[(e[t+8>>2]|0)+84>>2]|0))t=$[t+136>>1]&14,t<<16>>16&&Tp(r,t&65535)|0;else{for(t=U0(r)|0;t;)n=e[t+16>>2]|0,i=e[n+132>>2]|0,u[i>>3]=+u[n+16>>3]*.013888888888888888,u[i+8>>3]=+u[n+24>>3]*.013888888888888888,t=X0(r,t)|0;Fp(r,1)}xa(r)}function M50(r){r=r|0;var t=0,i=0;for(rl(r,2),$[(e[r+16>>2]|0)+176>>1]=2,e[47137]=2,t=U0(r)|0;t;)Yh(t),t=X0(r,t)|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)$e(t,137460,176,1)|0,La(t)|0,t=Qe(r,t)|0;i=X0(r,i)|0}}function UC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(A=g,g=g+16|0,l=A,s=(t|0)==0,s&&(Q50(l),t=l),i=yt(r)|0;i;)Yr(te(i)|0,108006,7)|0?UC(i,t):($e(i,137483,280,1)|0,Zh(i),T50(t,i),UC(i,0)),i=Ct(i)|0;s&&(n=e[l+8>>2]|0,o=r+16|0,e[(e[o>>2]|0)+180>>2]=n,n|0)&&(s=Ve(e[l>>2]|0,(n<<2)+4|0)|0,e[(e[o>>2]|0)+184>>2]=s),g=A}function ET(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0;for(Z0=g,g=g+448|0,q=Z0+400|0,F=Z0+384|0,O0=Z0+344|0,J0=Z0+304|0,D0=Z0+248|0,X=Z0+192|0,Z=Z0+152|0,W=Z0+96|0,p=Z0+72|0,i=Z0+64|0,Y=Z0+32|0,H=Z0,D=Z0+416|0,z=Z0+328|0,L=Z0+288|0,a0=Z0+232|0,k0=Z0+176|0,B0=Z0+136|0,t0=Z0+80|0,w=e[r+60>>2]|0,U=r+16|0,o=t+1|0,i=1,n=0;l=e[U>>2]|0,!((i|0)>(e[l+180>>2]|0));)P=e[(e[l+184>>2]|0)+(i<<2)>>2]|0,ET(P,o),i=i+1|0,n=(v2(P)|0)+n|0;if(v=(v2(r)|0)-n|0,i=e[U>>2]|0,P=(e[i+180>>2]|0)+v|0,_=(P|0)==0,_&&!(e[i+12>>2]|0))O0=i+16|0,e[O0>>2]=0,e[O0+4>>2]=0,e[O0+8>>2]=0,e[O0+12>>2]=0,u[i+40>>3]=18,u[i+32>>3]=18;else{i=D+16|0;do if((cf(r,4,4,D)|0)>>>0>=3)if((e[i>>2]|0)==4&&e[D+28>>2]&2|0)if(n=re(w,0,99190,0)|0,i=re(w,1,99190,0)|0,(n|0)!=0|(i|0)!=0){e[D+24>>2]=j0(P<<2)|0;break}else{e[p>>2]=te(r)|0,$0(0,90577,p)|0,i=0,n=0;break}else i=0,n=0;else e[i>>2]=3,i=0,n=0;while(0);for(N=j0(P<<5)|0,T=j0(P<<2)|0,B=D+24|0,w=(n|0)!=0,E=0,l=1;o=e[U>>2]|0,!((l|0)>(e[o+180>>2]|0));)o=e[(e[o+184>>2]|0)+(l<<2)>>2]|0,x=N+(E<<5)|0,m=(e[o+16>>2]|0)+16|0,e[x>>2]=e[m>>2],e[x+4>>2]=e[m+4>>2],e[x+8>>2]=e[m+8>>2],e[x+12>>2]=e[m+12>>2],e[x+16>>2]=e[m+16>>2],e[x+20>>2]=e[m+20>>2],e[x+24>>2]=e[m+24>>2],e[x+28>>2]=e[m+28>>2],w&(e[B>>2]|0)!=0&&(x=pr(o,n,0,0)|0,e[(e[B>>2]|0)+(E<<2)>>2]=x),e[T+(E<<2)>>2]=o,E=E+1|0,l=l+1|0;e:do if((v|0)>0)for(p=Y+16|0,v=Y+24|0,m=(i|0)!=0,w=U0(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e[H>>2],e[q+4>>2]=e[H+4>>2],e[q+8>>2]=e[H+8>>2],e[q+12>>2]=e[H+12>>2],Oh(B0,F,q),e[B>>2]=e[B0>>2],e[B+4>>2]=e[B0+4>>2],e[B+8>>2]=e[B0+8>>2],e[B+12>>2]=e[B0+12>>2],e[F>>2]=e[H>>2],e[F+4>>2]=e[H+4>>2],e[F+8>>2]=e[H+8>>2],e[F+12>>2]=e[H+12>>2],e[q>>2]=e[H>>2],e[q+4>>2]=e[H+4>>2],e[q+8>>2]=e[H+8>>2],e[q+12>>2]=e[H+12>>2],Oh(t0,F,q),e[H>>2]=e[t0>>2],e[H+4>>2]=e[t0+4>>2],e[H+8>>2]=e[t0+8>>2],e[H+12>>2]=e[t0+12>>2],J0=(e[U>>2]|0)+16|0,e[J0>>2]=e[H>>2],e[J0+4>>2]=e[H+4>>2],e[J0+8>>2]=e[H+8>>2],e[J0+12>>2]=e[H+12>>2],e[J0+16>>2]=e[H+16>>2],e[J0+20>>2]=e[H+20>>2],e[J0+24>>2]=e[H+24>>2],e[J0+28>>2]=e[H+28>>2],r0(N),r0(T),r0(x)}g=Z0}function BT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;x=g,g=g+80|0,B=x+32|0,s=x+8|0,i=x,E=r+16|0,p=e[E>>2]|0,v=+u[p+16>>3],m=+u[p+24>>3],p=(t|0)!=0;e:do if(p)for(i=U0(r)|0,n=e[15712]|0;;){if(!i)break e;o=i+16|0,l=e[o>>2]|0,(e[l+112>>2]|0)==(r|0)&&(z=l+16|0,u[z>>3]=+u[z>>3]+v,l=l+24|0,u[l>>3]=+u[l>>3]+m,0>1)&&(j50(t),z=te(i)|0,l=e[o>>2]|0,f=+u[l+16>>3],w=+u[l+24>>3],e[s>>2]=z,u[s+8>>3]=f,u[s+16>>3]=w,A2(n,90544,s)|0),i=X0(r,i)|0}else n=e[15712]|0;while(0);for(s=t+1|0,r=1;i=e[E>>2]|0,!((r|0)>(e[i+180>>2]|0));)l=e[(e[i+184>>2]|0)+(r<<2)>>2]|0,p&&(o=l+16|0,i=e[o>>2]|0,A=+u[i+16>>3]+v,c=+u[i+24>>3]+m,f=+u[i+32>>3]+v,w=+u[i+40>>3]+m,u[i+16>>3]=A,u[i+24>>3]=c,u[i+32>>3]=f,u[i+40>>3]=w),BT(l,s),r=r+1|0;g=x}function j50(r){r=r|0;var t=0;for(t=e[15712]|0;!((r|0)<=0);)Bi(90574,t)|0,r=r+-1|0}function IT(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t,u[r+8>>3]=i}function N50(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=(+u[i+8>>3]+ +u[t+8>>3])*.5,u[r>>3]=(+u[i>>3]+ +u[t>>3])*.5,u[r+8>>3]=n}function Oh(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=+u[t+8>>3]-+u[i+8>>3],u[r>>3]=+u[t>>3]-+u[i>>3],u[r+8>>3]=n}function Q50(r){r=r|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0}function T50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=r+8|0,i=(e[l>>2]|0)+1|0,e[l>>2]=i,n=r+4|0,s=e[n>>2]|0,o=s+10|0,(i|0)<(s|0)?r=e[r>>2]|0:(e[n>>2]=o,i=Ve(e[r>>2]|0,o<<2)|0,e[r>>2]=i,r=i,i=e[l>>2]|0),e[r+(i<<2)>>2]=t}function F50(r){r=r|0;var t=0;for(t=U0(r)|0;t;)jA(t),t=X0(r,t)|0;xT(r)}function xT(r){r=r|0;var t=0,i=0,n=0;for(t=r+16|0,r=1;n=e[t>>2]|0,i=e[n+184>>2]|0,!((r|0)>(e[n+180>>2]|0));)n=e[i+(r<<2)>>2]|0,an(e[(e[n+16>>2]|0)+12>>2]|0),xT(n),r=r+1|0;r0(i)}function P50(r){r=r|0;var t=0,i=0,n=0;for(Ll(r,1,137447,304,1),rv0(r)|0,t=j0(((v2(r)|0)<<2)+4|0)|0,n=r+16|0,e[(e[n>>2]|0)+152>>2]=t,t=0,i=U0(r)|0;i;)Y50(i),e[(e[(e[n>>2]|0)+152>>2]|0)+(t<<2)>>2]=i,e[(e[i+16>>2]|0)+120>>2]=t,t=t+1|0,i=X0(r,i)|0;for(n=re(r,2,92493,0)|0,i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)V50(t,n),t=Qe(r,t)|0;i=X0(r,i)|0}O50(r)}function Y50(r){r=r|0;var t=0;Wp(r),t=j0((M0[(e[(We(r)|0)+16>>2]|0)+176>>1]|0)<<3)|0,e[(e[r+16>>2]|0)+132>>2]=t,Lf(r,e[(e[(We(r)|0)+16>>2]|0)+116>>2]&1)}function V50(r,t){r=r|0,t=t|0;var i=0,n=0;$e(r,137460,176,1)|0,n=+sr(r,e[47174]|0,1,0),i=r+16|0,u[(e[i>>2]|0)+128>>3]=n,n=+sr(r,t,+u[1371],0),u[(e[i>>2]|0)+136>>3]=n,La(r)|0}function O50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;m=g,g=g+32|0,v=m+16|0,p=m,c=m+24|0,f=re(r,1,102623,0)|0;e:do if(f|0)for(w=re(r,1,90660,0)|0,l=r+16|0,s=(w|0)==0,A=e[15712]|0,o=0;;){if(i=e[(e[(e[l>>2]|0)+152>>2]|0)+(o<<2)>>2]|0,!i)break e;r=k2(i,f)|0;do if(C[r>>0]|0){if(n=i+16|0,t=e[(e[n>>2]|0)+132>>2]|0,C[c>>0]=0,e[p>>2]=t,e[p+4>>2]=t+8,e[p+8>>2]=c,(X2(r,101749,p)|0)<=1){e[v>>2]=te(i)|0,e[v+4>>2]=r,A2(A,90664,v)|0;break}r:do if(+u[23293]>0)for(r=0;;){if((r|0)==2)break r;E=t+(r<<3)|0,u[E>>3]=+u[E>>3]/+u[23293],r=r+1|0}while(0);if(r=e[n>>2]|0,C[r+119>>0]=1,(C[c>>0]|0)!=33){if(s||!((jt(k2(i,w)|0)|0)<<24>>24))break;r=e[n>>2]|0}C[r+119>>0]=3}while(0);o=o+1|0}while(0);g=m}function H50(r){r=r|0;var t=0,i=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)NA(t),t=Qe(r,t)|0;jA(i),i=X0(r,i)|0}J50(r)}function J50(r){r=r|0,ST(r),r=r+16|0,r0(e[(e[r>>2]|0)+152>>2]|0),r0(e[(e[r>>2]|0)+140>>2]|0)}function ST(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(l=r+16|0,o=1;n=e[l>>2]|0,t=e[n+184>>2]|0,!((o|0)>(e[n+180>>2]|0));)n=e[t+(o<<2)>>2]|0,t=n+16|0,an(e[(e[t>>2]|0)+12>>2]|0),i=e[(e[t>>2]|0)+140>>2]|0,i|0&&(r0(e[i>>2]|0),r0(e[(e[t>>2]|0)+140>>2]|0)),ST(n),o=o+1|0;r0(t),(c2(r)|0)!=(r|0)&&An(r,137483)|0}function U50(r,t){r=r|0,t=t|0,e[t+4>>2]=re(r,0,90716,0)|0,e[t+8>>2]=re(r,0,141116,0)|0,e[t+12>>2]=re(r,0,141048,0)|0,e[t>>2]=r,e[t+16>>2]=0,e[t+36>>2]=cf(r,2,4,t+20|0)|0}function X50(r){r=r|0;var t=0,i=0;rl(r,2),t=j0(56)|0,i=r+16|0,e[(e[i>>2]|0)+140>>2]=t,t=(pr(r,re(r,0,91374,0)|0,2,2)|0)&65535,t=(t&65535)<10?t:10,$[(e[i>>2]|0)+176>>1]=t,e[47137]=t&65535,XC(r,0,r),fm0(r),P50(r)}function XC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(f=g,g=g+16|0,A=f,c=(t|0)==0,c&&(q50(A),t=A),o=i+16|0,n=yt(r)|0;n;)Yr(te(n)|0,108006,7)|0?XC(n,t,i):($e(n,137483,280,1)|0,w=j0(56)|0,v=e[n+16>>2]|0,e[v+140>>2]=w,p=e[o>>2]|0,$[v+176>>1]=$[p+176>>1]|0,e[w+44>>2]=(e[(e[p+140>>2]|0)+44>>2]|0)+1,e[w+48>>2]=i,$50(t,n),XC(n,0,n)),n=Ct(n)|0;c&&(l=e[A+8>>2]|0,s=r+16|0,e[(e[s>>2]|0)+180>>2]=l,l|0)&&(v=Ve(e[A>>2]|0,(l<<2)+4|0)|0,e[(e[s>>2]|0)+184>>2]=v),g=f}function q50(r){r=r|0,e[r>>2]=0,e[r+4>>2]=0,e[r+8>>2]=0}function $50(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=r+8|0,i=(e[l>>2]|0)+1|0,e[l>>2]=i,n=r+4|0,s=e[n>>2]|0,o=s+10|0,(i|0)<(s|0)?r=e[r>>2]|0:(e[n>>2]=o,i=Ve(e[r>>2]|0,o<<2)|0,e[r>>2]=i,r=i,i=e[l>>2]|0),e[r+(i<<2)>>2]=t}function K50(r){r=r|0;var t=0,i=0;t=g,g=g+64|0,i=t,U50(r,i),_T(r,i),b50(r),zT(r,r),LT(r),g=t}function _T(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(E=g,g=g+64|0,m=E+48|0,i=E+40|0,w=E+56|0,f=E+52|0,c=E,i=U0(r)|0;i;)e[(e[i+16>>2]|0)+164>>2]=0,i=X0(r,i)|0;for(p=em0(r,t)|0,v=M90(p,w,f)|0,i=v;A=i+4|0,n=e[i>>2]|0,!!n;){for(hm0(n,c),i=U0(n)|0;i;){if(o=X0(n,i)|0,l=i+16|0,s=e[l>>2]|0,e[s+212>>2]|0){z=rm0(i,n)|0,_T(z,t),z=e[(e[z+16>>2]|0)+140>>2]|0,x=+u[z+24>>3],s=e[l>>2]|0,u[s+32>>3]=x,B=+u[z+32>>3],u[s+40>>3]=B,x=x*36,u[s+88>>3]=x,u[s+96>>3]=x,u[s+80>>3]=B*72,i=o;continue}if(e[(e[s+112>>2]|0)+8>>2]|0){i=o;continue}zn(n,i)|0,i=o}if((v2(n)|0)<=1){i=A;continue}(e[t>>2]|0)==(r|0)&&JT(n)|0,gm0(n,c),i=A}for(i=e[w>>2]|0,(i|0)<=1?((i|0)==1&&MA(e[v>>2]|0),i=0):(e[f>>2]|0?(n=j0(i)|0,C[n>>0]=1,i=e[w>>2]|0):n=0,e[t+40>>2]=n,i=BD(i,v,0,t+20|0)|0,r0(n)),tm0(p,e[w>>2]|0,v,i,r,t),r0(i),n=U0(p)|0;n;)o=e[n+16>>2]|0,i=e[o+212>>2]|0,i?(w=e[o+132>>2]|0,L=+u[o+32>>3],_=+u[w>>3]-L*.5,z=e[(e[i+16>>2]|0)+140>>2]|0,u[z+8>>3]=_,B=+u[o+40>>3],x=+u[w+8>>3]-B*.5,u[z+16>>3]=x,u[z+24>>3]=L+_,u[z+32>>3]=B+x):(i=e[(e[o+112>>2]|0)+8>>2]|0,i|0&&(w=e[o+132>>2]|0,z=e[(e[i+16>>2]|0)+132>>2]|0,u[z>>3]=+u[w>>3],u[z+8>>3]=+u[w+8>>3])),n=X0(p,n)|0;z=(e[(e[r+16>>2]|0)+140>>2]|0)+8|0,w=(e[(e[p+16>>2]|0)+140>>2]|0)+8|0,e[z>>2]=e[w>>2],e[z+4>>2]=e[w+4>>2],e[z+8>>2]=e[w+8>>2],e[z+12>>2]=e[w+12>>2],e[z+16>>2]=e[w+16>>2],e[z+20>>2]=e[w+20>>2],e[z+24>>2]=e[w+24>>2],e[z+28>>2]=e[w+28>>2],im0(p,v),r0(v),g=E}function b50(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(t=U0(r)|0;t;)i=e[t+16>>2]|0,C[i+118>>0]|0&&(A=e[(e[(e[i+212>>2]|0)+16>>2]|0)+140>>2]|0,s=+u[A+24>>3]-+u[A+8>>3],l=+u[A+32>>3]-+u[A+16>>3],o=s*36,n=l*36,A=e[i+132>>2]|0,u[A>>3]=s*.5,u[A+8>>3]=l*.5,u[i+32>>3]=s,u[i+40>>3]=l,u[i+96>>3]=o,u[i+88>>3]=o,u[i+80>>3]=l*72,i=e[(e[i+12>>2]|0)+44>>2]|0,u[i>>3]=o,u[i+8>>3]=n,l=-o,u[i+16>>3]=l,u[i+24>>3]=n,u[i+32>>3]=l,n=-n,u[i+40>>3]=n,u[i+48>>3]=o,u[i+56>>3]=n),t=X0(r,t)|0}function zT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;s=r+16|0,A=e[(e[s>>2]|0)+140>>2]|0,o=+u[A+8>>3],l=+u[A+16>>3],A=(r|0)!=(t|0);e:do if(A)for(i=U0(r)|0;;){if(!i){r=1;break e}n=e[i+16>>2]|0,(e[n+212>>2]|0)==(r|0)&&(n=e[n+132>>2]|0,u[n>>3]=+u[n>>3]+o,n=n+8|0,u[n>>3]=+u[n>>3]+l),i=X0(r,i)|0}else r=1;while(0);for(;i=e[s>>2]|0,!((r|0)>(e[i+180>>2]|0));)i=e[(e[i+184>>2]|0)+(r<<2)>>2]|0,A&&(n=e[(e[i+16>>2]|0)+140>>2]|0,m=n+8|0,p=n+16|0,f=n+24|0,n=n+32|0,v=+u[p>>3]+l,w=+u[f>>3]+o,c=+u[n>>3]+l,u[m>>3]=+u[m>>3]+o,u[p>>3]=v,u[f>>3]=w,u[n>>3]=c),zT(i,t),r=r+1|0}function LT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(t=r+16|0,r=e[t>>2]|0,i=e[r+140>>2]|0,l=+u[i+16>>3]*72,o=+u[i+24>>3]*72,n=+u[i+32>>3]*72,u[r+16>>3]=+u[i+8>>3]*72,u[r+24>>3]=l,u[r+32>>3]=o,u[r+40>>3]=n,r=1;i=e[t>>2]|0,!((r|0)>(e[i+180>>2]|0));)LT(e[(e[i+184>>2]|0)+(r<<2)>>2]|0),r=r+1|0}function em0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(L=g,g=g+160|0,m=L+24|0,E=L+8|0,n=L,i=L+56|0,z=t+16|0,_=e[z>>2]|0,e[z>>2]=_+1,e[m>>2]=_,Ke(i,90796,m)|0,C[m>>0]=C[18588]|0,C[m+1>>0]=C[18589]|0,C[m+2>>0]=C[18590]|0,C[m+3>>0]=C[18591]|0,_=w1(91156,m,0)|0,$e(_,137483,280,1)|0,x=j0(56)|0,z=_+16|0,f=e[z>>2]|0,e[f+140>>2]=x,x=r+16|0,$[f+176>>1]=$[(e[x>>2]|0)+176>>1]|0,qC(r,_,92507),qC(r,_,93112),qC(r,_,91202),f=t+4|0,w=m+16|0,p=m+8|0,v=m+24|0,l=0,c=1;i=e[x>>2]|0,!((c|0)>(e[i+180>>2]|0));){for(e[m>>2]=e[332],e[m+4>>2]=e[333],e[m+8>>2]=e[334],e[m+12>>2]=e[335],e[m+16>>2]=e[336],e[m+20>>2]=e[337],e[m+24>>2]=e[338],e[m+28>>2]=e[339],n=e[(e[i+184>>2]|0)+(c<<2)>>2]|0,Zh(n),o=$C(_,te(n)|0)|0,s=o+16|0,i=e[s>>2]|0,e[i+212>>2]=n,A=l+1|0,e[i+120>>2]=l,e[f>>2]|0&&Am0(n,o,t,m),i=U0(n)|0;i;)e[(e[i+16>>2]|0)+164>>2]=o,i=X0(n,i)|0;i=e[s>>2]|0,C[i+119>>0]|0&&(s=e[i+132>>2]|0,u[s>>3]=(+u[w>>3]+ +u[m>>3])*.5,u[s+8>>3]=(+u[v>>3]+ +u[p>>3])*.5),l=A,c=c+1|0}for(s=U0(r)|0;s;){if(i=s+16|0,n=e[i>>2]|0,e[n+164>>2]|0)i=l;else{if(o=n+212|0,m=e[o>>2]|0,m|0&&(m|0)!=(e[(e[(e[x>>2]|0)+140>>2]|0)+48>>2]|0)){B=18;break}e[o>>2]=r,C[n+118>>0]|0?i=l:(o=$C(_,te(s)|0)|0,n=e[i>>2]|0,e[n+164>>2]=o,o=e[o+16>>2]|0,e[o+120>>2]=l,u[o+32>>3]=+u[n+32>>3],u[o+40>>3]=+u[n+40>>3],u[o+88>>3]=+u[n+88>>3],u[o+96>>3]=+u[n+96>>3],u[o+80>>3]=+u[n+80>>3],e[o+8>>2]=e[n+8>>2],e[o+12>>2]=e[n+12>>2],i=C[n+119>>0]|0,i<<24>>24&&(t=e[n+132>>2]|0,m=e[o+132>>2]|0,u[m>>3]=+u[t>>3],u[m+8>>3]=+u[t+8>>3],C[o+119>>0]=i),e[(e[o+112>>2]|0)+8>>2]=s,i=l+1|0)}s=X0(r,s)|0,l=i}for((B|0)==18&&(t=te(s)|0,m=te(r)|0,B=te(e[(e[i>>2]|0)+212>>2]|0)|0,e[E>>2]=t,e[E+4>>2]=m,e[E+8>>2]=B,$0(1,90826,E)|0,ie(187212,1)),A=U0(r)|0;A;){for(c=e[(e[A+16>>2]|0)+164>>2]|0,f=c+16|0,o=Me(r,A)|0;o;)i=e[(e[(e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+164>>2]|0,(i|0)!=(c|0)&&(i>>>0>c>>>0?s=rr(_,c,i,0,1)|0:s=rr(_,i,c,0,1)|0,$e(s,137460,176,1)|0,n=e[o+16>>2]|0,B=e[s+16>>2]|0,u[B+136>>3]=+u[n+136>>3],u[B+128>>3]=+u[n+128>>3],i=e[(e[i+16>>2]|0)+112>>2]|0,n=i+4|0,e[n>>2]=(e[n>>2]|0)+1,n=e[(e[f>>2]|0)+112>>2]|0,E=n+4|0,e[E>>2]=(e[E>>2]|0)+1,e[B+172>>2]|0||(e[i>>2]=(e[i>>2]|0)+1,e[n>>2]=(e[n>>2]|0)+1),GT(s,o)),o=Qe(r,o)|0;A=X0(r,A)|0}if(i=e[(e[x>>2]|0)+140>>2]|0,n=e[i>>2]|0,n|0){for(o=j0((e[i+4>>2]<<4)+16|0)|0,e[e[(e[z>>2]|0)+140>>2]>>2]=o,i=0;e[n>>2]|0;)A=e[(e[(e[n+4>>2]|0)+16>>2]|0)+164>>2]|0,A&&(um0(r,n),c=$C(_,193772)|0,f=c+16|0,e[(e[f>>2]|0)+120>>2]=l,c>>>0>A>>>0?s=rr(_,A,c,0,1)|0:s=rr(_,c,A,0,1)|0,$e(s,137460,176,1)|0,B=e[n>>2]|0,E=e[B+16>>2]|0,x=e[s+16>>2]|0,u[x+136>>3]=+u[E+136>>3],u[x+128>>3]=+u[E+128>>3],GT(s,B),B=e[(e[f>>2]|0)+112>>2]|0,x=B+4|0,e[x>>2]=(e[x>>2]|0)+1,x=e[(e[A+16>>2]|0)+112>>2]|0,E=x+4|0,e[E>>2]=(e[E>>2]|0)+1,e[B>>2]=(e[B>>2]|0)+1,e[x>>2]=(e[x>>2]|0)+1,e[o+4>>2]=c,u[o+8>>3]=+u[n+8>>3],e[o>>2]=s,i=i+1|0,o=o+16|0,l=l+1|0),n=n+16|0;e[(e[(e[z>>2]|0)+140>>2]|0)+4>>2]=i}return g=L,_|0}function rm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=e[r+16>>2]|0,c=e[f+212>>2]|0,f=e[(e[f+112>>2]|0)+4>>2]|0;do if(f|0){for(A=j0((f<<4)+16|0)|0,o=om0(r,t)|0,l=o+8|0,t=0,n=o;e[n>>2]|0;)s=n+24|0,e[s>>2]|0?i=+u[n+32>>3]:i=+u[l>>3]+6.283185307179586,t=lm0(r,n,A,t,i)|0,n=s;if((t|0)==(f|0)){r=e[(e[c+16>>2]|0)+140>>2]|0,e[r>>2]=A,e[r+4>>2]=f,r0(o);break}else H0(90742,90752,766,90761)}while(0);return c|0}function tm0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0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+12>>2]=B,A=1,f=0,E=0;while(0);t=o+16|0,p=e[t>>2]|0,l=e[p+12>>2]|0,l?(t0=+u[l+24>>3],l=f-w+~~(t0+(t0>=0?.5:-.5))|0,(l|0)>0&&(l=l>>>1,f=f-l|0,e[T>>2]=f,w=w+l|0,e[T+8>>2]=w),l=0):l=A,W|(l|0)!=0?(A=0,l=p):(A=pr(r,e[47144]|0,8,0)|0,l=e[t>>2]|0),m=A-f|0,v=~~(+u[l+56>>3]+ +(A-E|0)),e[T>>2]=0,e[T+4>>2]=0,p=m+A+w|0,e[T+8>>2]=p,t=~~(+u[l+88>>3]+ +(A+v|0)+ +(B|0)),e[T+12>>2]=t;e:do if(N){l=n;r:for(;;){if(w=i+4|0,A=e[i>>2]|0,!A)break e;for(l?(f=l+8|0,i=(e[l>>2]|0)+m|0,l=(e[l+4>>2]|0)+v|0):(f=0,i=m,l=v),c=+(i|0)*.013888888888888888,s=+(l|0)*.013888888888888888,i=U0(A)|0;;){if(!i){i=w,l=f;continue r}F=e[(e[i+16>>2]|0)+132>>2]|0,u[F>>3]=+u[F>>3]+c,F=F+8|0,u[F>>3]=+u[F>>3]+s,i=X0(A,i)|0}}}while(0);F=e[(e[r+16>>2]|0)+140>>2]|0,U=F+8|0,e[U>>2]=0,e[U+4>>2]=0,e[U+8>>2]=0,e[U+12>>2]=0,u[F+24>>3]=+(p|0)*.013888888888888888,u[F+32>>3]=+(t|0)*.013888888888888888,g=D}function im0(r,t){r=r|0,t=t|0;for(var i=0,n=0;i=e[t>>2]|0,!!i;)RT(i),An(i,137483)|0,t=t+4|0;for(t=e[e[(e[r+16>>2]|0)+140>>2]>>2]|0,t|0&&r0(t),RT(r),An(r,137483)|0,i=U0(r)|0;i;){for(n=X0(r,i)|0,t=Me(r,i)|0;t;)r0(e[(e[t+16>>2]|0)+172>>2]|0),An(t,137460)|0,t=Qe(r,t)|0;nm0(i),i=n}Di(r)|0}function RT(r){r=r|0,r0(e[(e[r+16>>2]|0)+140>>2]|0)}function nm0(r){r=r|0;var t=0;t=r+16|0,r0(e[(e[t>>2]|0)+112>>2]|0),r0(e[(e[t>>2]|0)+132>>2]|0),An(r,137447)|0}function om0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(c=r+16|0,f=e[e[(e[c>>2]|0)+112>>2]>>2]|0,w=j0((f*24|0)+24|0)|0,s=0,A=Xr(t,r)|0;A;)o=e[A>>2]&3,n=e[((o|0)==2?A:A+-48|0)+40>>2]|0,(n|0)==(r|0)&&(n=e[((o|0)==3?A:A+48|0)+40>>2]|0),n=e[(e[n+16>>2]|0)+132>>2]|0,o=e[(e[c>>2]|0)+132>>2]|0,l=+u[n>>3]-+u[o>>3],i=+u[n+8>>3]-+u[o+8>>3],e[w+(s*24|0)>>2]=A,u[w+(s*24|0)+8>>3]=+I2(+i,+l),u[w+(s*24|0)+16>>3]=i*i+l*l,s=s+1|0,A=ot(t,A,r)|0;(s|0)!=(f|0)&&H0(90775,90752,642,90784),ei(w,f,24,67);e:do if((f|0)>1){A=f+-1|0,n=0;r:for(;;){if((n|0)>=(A|0))break e;for(l=+u[w+(n*24|0)+8>>3],o=n+1|0,s=o;!((s|0)>=(f|0)||+u[w+(s*24|0)+8>>3]!=l);)s=s+1|0;if((s|0)==(o|0)){n=o;continue}for((s|0)==(f|0)?i=3.141592653589793:i=+u[w+(s*24|0)+8>>3],i=(i-l)/+(s-n|0),i=i>.03490658503988659?.03490658503988659:i,l=0;;){if((n|0)>=(s|0))continue r;c=w+(n*24|0)+8|0,u[c>>3]=+u[c>>3]+l,l=l+i,n=n+1|0}}}while(0);return w|0}function lm0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=+o;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(A=e[t>>2]|0,w=e[A+16>>2]|0,f=$[w+168>>1]|0,p=f<<16>>16,s=e[A>>2]&3,l=e[((s|0)==2?A:A+-48|0)+40>>2]|0,(l|0)==(r|0)&&(l=e[((s|0)==3?A:A+48|0)+40>>2]|0),v=+u[t+8>>3],o=(o-v)/+(f<<16>>16),o=o>.03490658503988659?.03490658503988659:o,f=l>>>0>r>>>0,c=f?o:-o,t=f?1:-1,A=0,l=e[w+172>>2]|0,s=f?n:n+-1+p|0,o=f?v:o*+(p+-1|0)+v;!((A|0)>=(p|0));)w=e[l>>2]|0,e[i+(s<<4)>>2]=w,f=e[w>>2]&3,m=(f|0)==3?w:w+48|0,e[i+(s<<4)+4>>2]=e[((e[(e[(e[m+40>>2]|0)+16>>2]|0)+164>>2]|0)==(r|0)?m:(f|0)==2?w:w+-48|0)+40>>2],u[i+(s<<4)+8>>3]=o,A=A+1|0,l=l+4|0,s=s+t|0,o=o+c;return p+n|0}function sm0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r+8>>3],n=+u[t+8>>3],i>n?r=1:i>3],i=+u[t+16>>3],n>i?r=1:r=(n>31),r|0}function qC(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=re(r,0,i,0)|0;do if(n|0)if(r=k2(r,n)|0,n=re(t,0,i,0)|0,n){Er(t,n,r)|0;break}else{re(t,0,i,r)|0;break}while(0)}function $C(r,t){r=r|0,t=t|0;var i=0,n=0;return t=ht(r,t,1)|0,$e(t,137447,304,1)|0,n=j0(32)|0,i=t+16|0,e[(e[i>>2]|0)+112>>2]=n,r=_0((M0[(e[r+16>>2]|0)+176>>1]|0)<<3)|0,e[(e[i>>2]|0)+132>>2]=r,t|0}function Am0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+80|0,f=v+56|0,c=v+32|0,p=v,w=v+64|0,l=e[i+4>>2]|0,A=k2(r,l)|0;do if(C[A>>0]|0){if((e[i>>2]|0)!=(r|0)&&(i=k2(D1(r)|0,l)|0,(i|0)==(A|0)||!(ge(A,i)|0)))break;if(C[w>>0]=0,i=p+8|0,l=p+16|0,s=p+24|0,e[c>>2]=p,e[c+4>>2]=i,e[c+8>>2]=l,e[c+12>>2]=s,e[c+16>>2]=w,(X2(A,90937,c)|0)<=3){e[f>>2]=te(r)|0,e[f+4>>2]=A,$0(0,90955,f)|0;break}o=+u[23293],o>0&&(u[p>>3]=+u[p>>3]/o,u[i>>3]=+u[i>>3]/o,u[l>>3]=+u[l>>3]/o,u[s>>3]=+u[s>>3]/o),i=C[w>>0]|0,i<<24>>24==33?C[(e[t+16>>2]|0)+119>>0]=3:C[(e[t+16>>2]|0)+119>>0]=i<<24>>24==63?2:1,e[n>>2]=e[p>>2],e[n+4>>2]=e[p+4>>2],e[n+8>>2]=e[p+8>>2],e[n+12>>2]=e[p+12>>2],e[n+16>>2]=e[p+16>>2],e[n+20>>2]=e[p+20>>2],e[n+24>>2]=e[p+24>>2],e[n+28>>2]=e[p+28>>2]}while(0);g=v}function GT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+16|0,n=e[o>>2]|0,r=$[n+168>>1]|0,n=e[n+172>>2]|0,n?(r=r<<16>>16,i=r,r=Ve(n,(r<<2)+4|0)|0):(r=r<<16>>16,i=r,r=_0((r<<2)+4|0)|0),e[r+(i<<2)>>2]=t,t=e[o>>2]|0,e[t+172>>2]=r,t=t+168|0,$[t>>1]=($[t>>1]|0)+1<<16>>16}function um0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;A=g,g=g+48|0,s=A+24|0,l=A,n=e[t>>2]|0,i=e[n>>2]&3,o=e[((i|0)==2?n:n+-48|0)+40>>2]|0,i=e[((i|0)==3?n:n+48|0)+40>>2]|0,t=d2(te(r)|0)|0,c=d2(te(o)|0)|0,c=(t+8+c+(d2(te(i)|0)|0)|0)>999,t=te(r)|0,c?(i=te(i)|0,c=te(o)|0,s=(e[n>>2]|0)>>>4,e[l>>2]=t,e[l+4>>2]=i,e[l+8>>2]=c,c=l+16|0,e[c>>2]=s,e[c+4>>2]=0,Ke(193772,90895,l)|0):(i=e[(e[i+16>>2]|0)+120>>2]|0,c=e[(e[o+16>>2]|0)+120>>2]|0,l=(e[n>>2]|0)>>>4,e[s>>2]=t,e[s+4>>2]=i,e[s+8>>2]=c,c=s+16|0,e[c>>2]=l,e[c+4>>2]=0,Ke(193772,90914,s)|0),g=A}function am0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;for(s=4,l=Te(40)|0,e[l>>2]=0,o=+u[23293],v0=0,n=+zr0(1,r|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)!=1?(u[23293]=n,v0=0,Tr(102,r|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)!=1?(l=il(187212,1,l|0,s|0)|0,s=b,v0=0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(t=se(e[i>>2]|0,l|0,s|0)|0,t||ie(i|0,g0|0),b=g0):t=-1,(t|0)!=1?t=0:t=b):t=b):t=b;!(t|0);){if(v0=0,Tr(103,r|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1){t=b;continue}if(v0=0,gt(22,r|0)|0,t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1){t=b;continue}if($[(e[r+16>>2]|0)+136>>1]&14&&(v0=0,Tr(104,r|0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1)){t=b;continue}if(v0=0,Vn(22,r|0,0),t=v0,v0=0,(t|0)!=0&(g0|0)!=0?(i=se(e[t>>2]|0,l|0,s|0)|0,i||ie(t|0,g0|0),b=g0):i=-1,(i|0)==1)t=b;else{A=12;break}}(A|0)==12&&(u[23293]=o),r0(l|0)}function cm0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=g,g=g+16|0,o=s,i=r+16|0,n=$[(e[i>>2]|0)+136>>1]&14,t=n&65535,(n&65535)>8){n<<16>>16==12?oT(r,22,10)|0&&(e[47134]=2,l=5):l=5;do if((l|0)==5)if($[(e[i>>2]|0)+136>>1]&1){$0(0,90998,o)|0,t=2;break}else{Tp(r,t)|0;break}while(0);e[47134]=0}(e[47138]|0)<1&&Tp(r,t)|0,g=s}function fm0(r){r=r|0;var t=0,i=0,n=0;n=g,g=g+16|0,e[46474]=1,e[46475]=1,e[46477]=-1,e[46479]=50,u[23245]=0,u[23240]=0,u[23241]=1,e[46478]=pr(r,re(r,0,91061,0)|0,600,0)|0,i=+sr(r,re(r,0,91202,0)|0,.3,0),u[23242]=i,u[1371]=i,t=+sr(r,re(r,0,91069,0)|0,-1,0),u[23243]=t,e[46476]=1,r=jC(r,2,185904)|0,e[46488]=r,r||($0(0,91072,n)|0,e[46476]=2),e[46504]=(N0(e[46478]|0,e[46479]|0)|0)/100|0,i=+u[23242],u[23247]=i*i,e[46474]|0&&(t=+u[23245],t<=0&&(t=i*3,u[23245]=t),u[23246]=t*t),g=n}function hm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=g,g=g+16|0,i=A,l=e[e[(e[r+16>>2]|0)+140>>2]>>2]|0,s=wm0(r,t)|0,dm0(i,r,l),n=+u[i>>3],o=+u[i+8>>3];e:do if(e[46474]|0){for(i=j90(v2(r)|0)|0,F90(i,v2(r)|0),t=0;!((t|0)>=(e[46505]|0));)pm0(r,+KC(t),l,i),t=t+1|0;Y90(i)}else for(t=0;;){if((t|0)>=(e[46505]|0))break e;km0(r,+KC(t),l),t=t+1|0}while(0);e:do if(n!=0|o!=0)for(t=U0(r)|0;;){if(!t)break e;l=e[(e[t+16>>2]|0)+132>>2]|0,u[l>>3]=+u[l>>3]+n,l=l+8|0,u[l>>3]=+u[l>>3]+o,t=X0(r,t)|0}while(0);s|0&&vm0(),g=A}function wm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;+u[23243]==-1?(s=v2(r)|0,i=+u[23242],u[23243]=+u[23241]*.2*i*+G0(+ +(s|0)),s=1):(s=0,i=+u[23242]),l=e[46504]|0,u[t+8>>3]=+KC(l),u[t+16>>3]=i,u[t+24>>3]=+u[23240],n=e[46478]|0,r=n-l|0,e[t>>2]=r,o=e[46477]|0;do if((o|0)>-1){if((o|0)<=(l|0)){e[46505]=o,r=0,A=10;break}(o|0)<=(n|0)&&(e[46505]=l,r=o-l|0,A=10)}else e[46505]=l,A=10;while(0);return(A|0)==10&&(e[t+32>>2]=r),s|0}function dm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;for(_=v2(t)|0,Z=e[(e[(e[t+16>>2]|0)+140>>2]|0)+4>>2]|0,z=U0(t)|0,m=0,E=0,o=0,A=0,w=0;z;)n=e[z+16>>2]|0,C[n+119>>0]|0?(n=e[n+132>>2]|0,l=+u[n>>3],m?(v=+(E|0),B=+u[n+8>>3],x=+(o|0),L=+(A|0),p=+(w|0),w=~~(B>p?B:p),n=~~(lL?l:L)):(A=~~l,o=~~+u[n+8>>3],w=o,n=A),m=m+1|0):n=E,z=X0(t,z)|0,E=n;if(l=+u[23242]*(+G0(+ +(_-Z|0))+1),B=l*.6,u[23249]=B,u[23248]=B,(m|0)!=1)if((m|0)>1){x=+(A+E|0)*.5,L=+(w+o|0)*.5,p=+(A-E|0),v=p*1.2,c=+(w-o|0),f=c*1.2,l=l*2.4*B,s=f*v/l;do if(s>=1)s=p*.6,u[23248]=s,l=c*.6,N=20;else{if(s>0){l=+G0(+s)*2,s=v/l,u[23248]=s,l=f/l,N=20;break}if(v>0){s=p*.6,u[23248]=s,l=l/v*.5,N=20;break}f>0?(s=l/f*.5,u[23248]=s,l=c*.6,N=20):(l=B,s=B)}while(0);(N|0)==20&&(u[23249]=l),B=+I2(+l,+s),s=s/+ee(+B),u[23248]=s,l=l/+le(+B),u[23249]=l}else x=0,L=0,s=B,l=B;else x=+(E|0),L=+(o|0),s=B,l=B;u[23250]=s*s,u[23251]=l*l,(e[46488]|0)==2?n=e[46476]|0:(n=jE()|0,n=(dR(0)|0)^n),NE(n);e:do if(i){for(;e[i>>2]|0;)z=i+8|0,B=+ee(+ +u[z>>3])*+u[23248]+x,Z=e[(e[i+4>>2]|0)+16>>2]|0,_=e[Z+132>>2]|0,u[_>>3]=B,u[_+8>>3]=+le(+ +u[z>>3])*+u[23249]+L,C[Z+119>>0]=1,i=i+16|0;for(c=x*.1,f=L*.1,E=U0(t)|0;;){if(!E)break e;m=E+16|0,i=e[m>>2]|0,!(e[(e[i+112>>2]|0)+8>>2]|0)&&!(e[i+212>>2]|0)||(N=32);do if((N|0)==32){if(N=0,C[i+119>>0]|0){Z=e[i+132>>2]|0,u[Z>>3]=+u[Z>>3]-x,Z=Z+8|0,u[Z>>3]=+u[Z>>3]-L;break}for(w=Xr(t,E)|0,i=0,s=0,l=0;w;){A=e[w>>2]&3,n=(A|0)==2?w:w+-48|0,o=e[n+40>>2]|0,A=(A|0)==3?w:w+48|0;do if((o|0)!=(e[A+40>>2]|0)&&(W=e[(e[((o|0)==(E|0)?A:n)+40>>2]|0)+16>>2]|0,(C[W+119>>0]|0)!=0))if(i){v=+(i|0),Z=e[W+132>>2]|0,i=i+1|0,B=+(i|0),s=(+u[Z>>3]+s*v)/B,l=(+u[Z+8>>3]+l*v)/B;break}else{Z=e[W+132>>2]|0,i=1,s=+u[Z>>3],l=+u[Z+8>>3];break}while(0);w=ot(t,w,E)|0}do if((i|0)<=1)if((i|0)==1){n=e[m>>2]|0,i=e[n+132>>2]|0,u[i>>3]=s*.98+c,l=l*.9+f;break}else{l=+Rn()*6.283185307179586,B=+Rn()*.9,v=B*+u[23248]*+ee(+l),n=e[m>>2]|0,i=e[n+132>>2]|0,u[i>>3]=v,l=+u[23249]*B*+le(+l);break}else n=e[m>>2]|0,i=e[n+132>>2]|0,u[i>>3]=s;while(0);u[i+8>>3]=l,C[n+119>>0]=1}while(0);E=X0(t,E)|0}}else{if(i=U0(t)|0,!m)for(;;){if(!i)break e;B=+u[23248],B=(+Rn()*2+-1)*B,N=i+16|0,u[e[(e[N>>2]|0)+132>>2]>>3]=B,B=+u[23249],B=(+Rn()*2+-1)*B,u[(e[(e[N>>2]|0)+132>>2]|0)+8>>3]=B,i=X0(t,i)|0}for(;;){if(!i)break e;n=i+16|0,o=e[n>>2]|0,C[o+119>>0]|0?(N=e[o+132>>2]|0,u[N>>3]=+u[N>>3]-x,N=N+8|0,u[N>>3]=+u[N>>3]-L):(B=+u[23248],B=(+Rn()*2+-1)*B,u[e[(e[n>>2]|0)+132>>2]>>3]=B,B=+u[23249],B=(+Rn()*2+-1)*B,u[(e[(e[n>>2]|0)+132>>2]|0)+8>>3]=B),i=X0(t,i)|0}}while(0);u[r>>3]=x,u[r+8>>3]=L}function KC(r){r=r|0;var t=0;return t=e[46478]|0,+(+u[23243]*+(t-r|0)/+(t|0))}function pm0(r,t,i,n){r=r|0,t=+t,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;if(!(t<=0)){for(P90(n),o=U0(r)|0;o;)s=e[o+16>>2]|0,l=(e[s+112>>2]|0)+16|0,e[l>>2]=0,e[l+4>>2]=0,e[l+8>>2]=0,e[l+12>>2]=0,s=e[s+132>>2]|0,A=+u[23245],l=~~+S0(+(+u[s>>3]/A)),O90(n,l,~~+S0(+(+u[s+8>>3]/A)),o),o=X0(r,o)|0;for(l=U0(r)|0;l;){for(o=Me(r,l)|0;o;)s=e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0,(l|0)!=(s|0)&&WT(l,s,o),o=Qe(r,o)|0;l=X0(r,l)|0}J90(n,23),DT(r,t,i)}}function km0(r,t,i){r=r|0,t=+t,i=i|0;var n=0,o=0,l=0;if(!(t<=0)){for(n=U0(r)|0;n;)l=(e[(e[n+16>>2]|0)+112>>2]|0)+16|0,e[l>>2]=0,e[l+4>>2]=0,e[l+8>>2]=0,e[l+12>>2]=0,n=X0(r,n)|0;for(l=U0(r)|0;l;){n=l;for(;n=X0(r,n)|0,!!n;)ZT(l,n);for(n=Me(r,l)|0;n;)o=e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0,(l|0)!=(o|0)&&WT(l,o,n),n=Qe(r,n)|0;l=X0(r,l)|0}DT(r,t,i)}}function vm0(){u[23243]=-1}function ZT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=e[(e[t+16>>2]|0)+132>>2]|0,o=e[(e[r+16>>2]|0)+132>>2]|0,i=+u[l>>3]-+u[o>>3],n=+u[l+8>>3]-+u[o+8>>3],MT(r,t,i,n,n*n+i*i)}function WT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;for(A=t+16|0,c=e[(e[A>>2]|0)+132>>2]|0,r=r+16|0,t=e[(e[r>>2]|0)+132>>2]|0,n=+u[c>>3]-+u[t>>3],o=+u[c+8>>3]-+u[t+8>>3],l=n,s=o,n=n*n,o=o*o;n=n+o,n==0;)n=+(5-((ri()|0)%10|0)|0),o=+(5-((ri()|0)%10|0)|0),l=n,s=o,n=n*n,o=o*o;o=+G0(+n),t=e[i+16>>2]|0,n=+u[t+128>>3],e[46475]|0?n=(o-+u[t+136>>3])*n/o:n=n*o/+u[t+136>>3],l=n*l,c=e[(e[A>>2]|0)+112>>2]|0,A=c+16|0,u[A>>3]=+u[A>>3]-l,s=n*s,c=c+24|0,u[c>>3]=+u[c>>3]-s,c=e[(e[r>>2]|0)+112>>2]|0,A=c+16|0,u[A>>3]=+u[A>>3]+l,c=c+24|0,u[c>>3]=+u[c>>3]+s}function DT(r,t,i){r=r|0,t=+t,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(p=t*t,w=(i|0)==0,f=U0(r)|0;f;){if(c=e[f+16>>2]|0,!(C[c+119>>0]&2)){A=e[c+112>>2]|0,n=+u[A+16>>3],l=+u[A+24>>3],o=l*l+n*n,o>2]|0,s=+u[i>>3]+n,n=+u[i+8>>3]+l):(o=t/+G0(+o),i=e[c+132>>2]|0,s=+u[i>>3]+o*n,n=+u[i+8>>3]+o*l);do if(w)u[i>>3]=s;else{if(o=+G0(+(n*n/+u[23251]+s*s/+u[23250])),!(e[A+8>>2]|0)&&!(e[c+212>>2]|0)){u[i>>3]=s/o,n=n/o;break}if(o>=1){u[i>>3]=s*.95/o,n=n*.95/o;break}else{u[i>>3]=s;break}}while(0);u[i+8>>3]=n}f=X0(r,f)|0}}function MT(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=+n,o=+o;var l=0,s=0,A=0;for(l=i,i=o;i==0;)i=+(5-((ri()|0)%10|0)|0),n=+(5-((ri()|0)%10|0)|0),l=i,i=n*n+i*i;e[46475]|0?(o=+G0(+i),i=+u[23247]/(o*i)):i=+u[23247]/i,A=e[r+16>>2]|0,r=e[A+112>>2]|0,!(e[r+8>>2]|0)&&!(e[A+212>>2]|0)&&(s=e[t+16>>2]|0,(e[(e[s+112>>2]|0)+8>>2]|0)==0)&&(i=e[s+212>>2]|0?i:i*10),o=i*l,A=e[(e[t+16>>2]|0)+112>>2]|0,t=A+16|0,u[t>>3]=+u[t>>3]+o,l=i*n,A=A+24|0,u[A>>3]=+u[A>>3]+l,A=r+16|0,u[A>>3]=+u[A>>3]-o,A=r+24|0,u[A>>3]=+u[A>>3]-l}function mm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(o=e[t+8>>2]|0,l=e[t>>2]|0,n=e[t+4>>2]|0,t=o;t;){for(r=o;r;)(t|0)!=(r|0)&&ZT(e[t>>2]|0,e[r>>2]|0),r=e[r+4>>2]|0;t=e[t+4>>2]|0}return s=l+-1|0,r=n+-1|0,VA(i,s,r,o),VA(i,s,n,o),t=n+1|0,VA(i,s,t,o),VA(i,l,r,o),VA(i,l,t,o),l=l+1|0,VA(i,l,r,o),VA(i,l,n,o),VA(i,l,t,o),0}function VA(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;if(r=U90(r,t,i)|0,(n|0)!=0&(r|0)!=0){c=r+8|0;do{for(i=e[n>>2]|0,A=i+16|0,r=c;r=e[r>>2]|0,!!r;)t=e[r>>2]|0,w=e[(e[t+16>>2]|0)+132>>2]|0,f=e[(e[A>>2]|0)+132>>2]|0,o=+u[w>>3]-+u[f>>3],l=+u[w+8>>3]-+u[f+8>>3],s=l*l+o*o,s<+u[23246]&&MT(i,t,o,l,s),r=r+4|0;n=e[n+4>>2]|0}while(n|0)}}function gm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+16|0,o=l,i=he(r,92507)|0,i|0&&C[i>>0]|0||(i=91125),n=Zr(i,58)|0;do if(!n)n=0;else{if((n|0)!=(i|0)&&((C[i>>0]|0)+-48|0)>>>0>=10){n=0;break}s=F1(i)|0,i=n+1|0,n=(s|0)>0?s:0}while(0);n|0&&!(ym0(r,t,n)|0)||rF(r,i)|0,g=l}function ym0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+64|0,v=E,l=E+40|0,m=v2(r)|0,s=ys(r)|0,Gf(l,r),e[46842]=e[l>>2],e[46843]=e[l+4>>2],e[46844]=e[l+8>>2],C[187376]|0&&(x0[46842]=+x0[46842]*.013888888888888888,x0[46843]=+x0[46843]*.013888888888888888),n=Cm0(r)|0;e:do if(!n)n=0;else{l=v,o=l+40|0;do e[l>>2]=e[t>>2],l=l+4|0,t=t+4|0;while((l|0)<(o|0));for(l=v+16|0,p=+u[l>>3],f=+(s|0)*2,w=1/+(N0(m+-1|0,m)|0),o=0,c=p;;){if(!((n|0)!=0&(o|0)<(i|0)))break e;for(Em0(m,v),A=+u[23253]*+u[170],u[23254]=A,u[23255]=f*A*w,t=0;!((t|0)>=(e[46512]|0)||(A=+Bm0(t),A<=0));)if(n=Im0(r,A)|0,n)t=t+1|0;else{n=0;break}A=c+p,u[l>>3]=A,o=o+1|0,c=A}}while(0);return g=E,n|0}function Cm0(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=0,o=U0(r)|0;o;){n=o;for(;i=X0(r,n)|0,!!i;)n=i,t=(bC(o,i)|0)+t|0;o=X0(r,o)|0}return t|0}function Em0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=+u[t+16>>3],u[171]=n,e[344]=e[t>>2],o=+u[t+8>>3],u[23257]=o,e[46512]=e[t+32>>2],i=+u[t+24>>3],i>0&&(u[170]=i),u[23253]=n*n,o==0&&(u[23257]=+G0(+ +(r|0))*.2*n)}function Bm0(r){r=r|0;var t=0;return t=e[344]|0,+(+u[23257]*+(t-r|0)/+(t|0))}function Im0(r,t){r=r|0,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(i=U0(r)|0;i;)s=(e[(e[i+16>>2]|0)+112>>2]|0)+16|0,e[s>>2]=0,e[s+4>>2]=0,e[s+8>>2]=0,e[s+12>>2]=0,i=X0(r,i)|0;for(i=0,s=U0(r)|0;s;){o=s;for(;n=X0(r,o)|0,!!n;)o=n,i=(xm0(s,n)|0)+i|0;for(n=Me(r,s)|0;n;)Sm0(s,e[((e[n>>2]&3|0)==2?n:n+-48|0)+40>>2]|0),n=Qe(r,n)|0;s=X0(r,s)|0}e:do if(!i)i=0;else for(f=t*t,o=U0(r)|0;;){if(!o)break e;n=e[o+16>>2]|0,(C[n+119>>0]|0)!=3&&(s=e[n+112>>2]|0,A=+u[s+16>>3],l=+u[s+24>>3],c=l*l+A*A,c>2]|0,u[n>>3]=+u[n>>3]+A):(c=+G0(+c),n=e[n+132>>2]|0,u[n>>3]=+u[n>>3]+A*t/c,l=l*t/c),s=n+8|0,u[s>>3]=+u[s>>3]+l),o=X0(r,o)|0}while(0);return i|0}function xm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=e[(e[t+16>>2]|0)+132>>2]|0,o=e[(e[r+16>>2]|0)+132>>2]|0,i=+u[l>>3]-+u[o>>3],n=+u[l+8>>3]-+u[o+8>>3],_m0(r,t,i,n,n*n+i*i)|0}function Sm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;bC(r,t)|0||(s=e[t+16>>2]|0,w=e[s+132>>2]|0,o=e[r+16>>2]|0,f=e[o+132>>2]|0,n=+u[w>>3]-+u[f>>3],i=+u[w+8>>3]-+u[f+8>>3],l=+G0(+(i*i+n*n)),A=+jT(r),A=+jT(t)+A,c=l-A,l=c*c/((+u[171]+A)*l),n=l*n,t=e[s+112>>2]|0,r=t+16|0,u[r>>3]=+u[r>>3]-n,i=l*i,t=t+24|0,u[t>>3]=+u[t>>3]-i,t=e[o+112>>2]|0,r=t+16|0,u[r>>3]=+u[r>>3]+n,t=t+24|0,u[t>>3]=+u[t>>3]+i)}function bC(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;return s=e[t+16>>2]|0,A=e[s+132>>2]|0,t=e[r+16>>2]|0,r=e[t+132>>2]|0,o=+u[A>>3]-+u[r>>3],l=+u[A+8>>3]-+u[r+8>>3],l=l<0?-l:l,r=(C[187376]|0)==0,i=+u[t+32>>3],r?(n=+x0[46842],i=i*.5*n,n=+u[s+32>>3]*.5*n):(n=+x0[46842],i=i*.5+n,n=+u[s+32>>3]*.5+n),(o<0?-o:o)<=n+i?(i=+u[t+40>>3],r?(o=+x0[46843],n=i*.5*o,i=+u[s+40>>3]*.5*o):(o=+x0[46843],n=i*.5+o,i=+u[s+40>>3]*.5+o),t=l<=i+n&1):t=0,t|0}function jT(r){r=r|0;var t=0,i=0;return r=e[r+16>>2]|0,t=+u[r+32>>3],C[187376]|0?(i=t*.5+ +x0[46842],t=+u[r+40>>3]*.5+ +x0[46843]):(i=t*.5*+x0[46842],t=+u[r+40>>3]*.5*+x0[46843]),+ +G0(+(t*t+i*i))}function _m0(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=+n,o=+o;for(var l=0,s=0;o==0;)o=+(5-((ri()|0)%10|0)|0),n=+(5-((ri()|0)%10|0)|0),i=o,o=n*n+o*o;return l=bC(r,t)|0,o=(l|0?+u[23254]:+u[23255])/o,i=o*i,t=e[(e[t+16>>2]|0)+112>>2]|0,s=t+16|0,u[s>>3]=+u[s>>3]+i,o=o*n,t=t+24|0,u[t>>3]=+u[t>>3]+o,t=e[(e[r+16>>2]|0)+112>>2]|0,r=t+16|0,u[r>>3]=+u[r>>3]-i,t=t+24|0,u[t>>3]=+u[t>>3]-o,l|0}function zm0(r){r=r|0,rl(r,2),$[(e[r+16>>2]|0)+176>>1]=2,e[47137]=2,Lm0(r)}function Lm0(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=j0((v2(r)|0)<<2)|0,t=j0(((v2(r)|0)<<2)+4|0)|0,o=r+16|0,e[(e[o>>2]|0)+152>>2]=t,t=U0(r)|0,i=0;t;)Yh(t),e[(e[t+16>>2]|0)+112>>2]=n+(i<<2),e[(e[(e[o>>2]|0)+152>>2]|0)+(i<<2)>>2]=t,t=X0(r,t)|0,i=i+1|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)Rm0(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function Rm0(r){r=r|0;var t=0;$e(r,137460,176,1)|0,La(r)|0,t=+sr(r,e[47174]|0,1,0),u[(e[r+16>>2]|0)+128>>3]=t}function Gm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(w=g,g=g+16|0,f=w+4|0,c=w,C[f>>0]=C[18596]|0,C[f+1>>0]=C[18597]|0,C[f+2>>0]=C[18598]|0,C[f+3>>0]=C[18599]|0,f=w1(91156,f,0)|0,$e(f,91164,280,1)|0,e[(e[r+16>>2]|0)+140>>2]=f,i=U0(r)|0;i;)n=i+16|0,e[e[(e[n>>2]|0)+112>>2]>>2]|0||(A=Zm0(f,te(i)|0,i)|0,e[e[(e[n>>2]|0)+112>>2]>>2]=A),i=X0(r,i)|0;for(n=U0(r)|0;n;){for(i=Me(r,n)|0;i;)l=e[i>>2]&3,o=e[e[(e[(e[((l|0)==3?i:i+48|0)+40>>2]|0)+16>>2]|0)+112>>2]>>2]|0,l=e[e[(e[(e[((l|0)==2?i:i+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]>>2]|0,(o|0)!=(l|0)&&$e(rr(f,o,l,0,1)|0,137460,176,1)|0,i=Qe(r,i)|0;n=X0(r,n)|0}for(A=n7(f,c,0)|0,n=0;!((n|0)>=(e[c>>2]|0));){for(l=e[A+(n<<2)>>2]|0,i=U0(l)|0;i;){for(o=Me(r,e[e[(e[i+16>>2]|0)+112>>2]>>2]|0)|0;o;)s=e[e[(e[(e[((e[o>>2]&3|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]>>2]|0,(i|0)!=(s|0)&&(s=rr(f,i,s,0,1)|0,$e(s,137460,176,1)|0,gs(l,s,1)|0),o=Qe(r,o)|0;i=X0(l,i)|0}n=n+1|0}for(i=U0(f)|0;i;){for(n=Me(f,i)|0;n;)r=j0(8)|0,e[(e[n+16>>2]|0)+120>>2]=r,n=Qe(f,n)|0;i=X0(f,i)|0}return e[t>>2]=e[c>>2],g=w,A|0}function Zm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return t=ht(r,t,1)|0,$e(t,137447,304,1)|0,n=j0(40)|0,r=t+16|0,e[(e[r>>2]|0)+112>>2]=n,n=j0(e[47137]<<3)|0,r=e[r>>2]|0,e[r+132>>2]=n,n=e[i+16>>2]|0,u[r+88>>3]=+u[n+88>>3],u[r+96>>3]=+u[n+96>>3],u[r+80>>3]=+u[n+80>>3],e[e[r+112>>2]>>2]=i,t|0}function Wm0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(s=g,g=g+48|0,t=s+32|0,n=s,v2(r)|0){if(l=Gm0(r,t)|0,o=e[t>>2]|0,t=e[l>>2]|0,(o|0)==1)xZ(t,r),NT(e[l>>2]|0),Uh(r)|0;else{for(i=e[t+60>>2]|0,cf(r,2,8,n)|0,t=0;!((t|0)>=(o|0));)A=e[l+(t<<2)>>2]|0,xZ(A,r),Uh(A)|0,t=t+1|0;for(Nd(o,l,i,n)|0,t=0;!((t|0)>=(o|0));)NT(e[l+(t<<2)>>2]|0),t=t+1|0}r0(l)}g=s}function NT(r){r=r|0;var t=0,i=0,n=0;for(t=U0(r)|0;t;)i=e[t+16>>2]|0,n=e[i+132>>2]|0,i=e[(e[(e[e[i+112>>2]>>2]|0)+16>>2]|0)+132>>2]|0,u[i>>3]=+u[n>>3],u[i+8>>3]=+u[n+8>>3],t=X0(r,t)|0}function Dm0(r){r=r|0,v2(r)|0&&(zm0(r),Wm0(r),r0(e[(e[(U0(r)|0)+16>>2]|0)+112>>2]|0),FA(r),xa(r))}function Mm0(r){r=r|0;var t=0,i=0,n=0;if(t=U0(r)|0,t|0){for(n=r+16|0,jm0(e[(e[n>>2]|0)+140>>2]|0);t;){for(i=Me(r,t)|0;i;)NA(i),i=Qe(r,i)|0;jA(t),t=X0(r,t)|0}r0(e[(e[n>>2]|0)+152>>2]|0),(c2(r)|0)!=(r|0)&&ha(r,0,137483)}}function jm0(r){r=r|0;var t=0,i=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)r0(e[(e[t+16>>2]|0)+120>>2]|0),t=Qe(r,t)|0;t=i+16|0,r0(e[(e[t>>2]|0)+112>>2]|0),r0(e[(e[t>>2]|0)+132>>2]|0),i=X0(r,i)|0}Di(r)|0}function Nm0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;if(m=g,g=g+112|0,A=m+40|0,c=m+16|0,v=m+100|0,f=m,l=m+88|0,w=m+56|0,Qm0(r),o=(e[47137]|0)==2,t=o&1,v2(r)|0){if(p=TT()|0,Tm0(r,p),UT(r,c,0)|0,o&(e[c>>2]|0)==18?(e[p+124>>2]=e[c+8>>2],u[p+144>>3]=+u[c+16>>3],Gf(l,r),C[l+8>>0]|0?(n=+x0[l+4>>2]*.013888888888888888,i=+x0[l>>2]*.013888888888888888):(n=.05555555555555555,i=.05555555555555555),u[f>>3]=i,u[f+8>>3]=n,t=0):e[p+124>>2]=-1,s=n7(r,v,0)|0,(e[v>>2]|0)==1)e[A>>2]=e[f>>2],e[A+4>>2]=e[f+4>>2],e[A+8>>2]=e[f+8>>2],e[A+12>>2]=e[f+12>>2],QT(r,p,A),t|0&&Rf(r,c)|0,FA(r),t=0;else{for(cf(r,2,8,w)|0,e[w+12>>2]=1,l=(t|0)==0,o=0;t=e[v>>2]|0,!((o|0)>=(t|0));)t=e[s+(o<<2)>>2]|0,af(t)|0,e[A>>2]=e[f>>2],e[A+4>>2]=e[f+4>>2],e[A+8>>2]=e[f+8>>2],e[A+12>>2]=e[f+12>>2],QT(t,p,A),l||Rf(t,c)|0,rl(t,2),FA(t),o=o+1|0;Nd(t,s,r,w)|0,t=0}for(;!((t|0)>=(e[v>>2]|0));)zn(r,e[s+(t<<2)>>2]|0)|0,t=t+1|0;r0(s),FT(p)}xa(r),g=m}function Qm0(r){r=r|0;var t=0,i=0;rl(r,2),t=pr(r,re(r,0,91368,0)|0,2,2)|0,i=(pr(r,re(r,0,91374,0)|0,t,2)|0)&65535,$[(e[(c2(r)|0)+16>>2]|0)+176>>1]=i,(M0[(e[(c2(r)|0)+16>>2]|0)+176>>1]|0)<10?i=$[(e[(c2(r)|0)+16>>2]|0)+176>>1]|0:i=10,$[(e[(c2(r)|0)+16>>2]|0)+176>>1]=i,i=i&65535,e[47137]=i,$[(e[(c2(r)|0)+16>>2]|0)+178>>1]=(t|0)<(i|0)?t:i,Vm0(r)}function Tm0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=g,g=g+16|0,o=l+8|0,i=l+12|0,n=t+108|0,e[i>>2]=e[n>>2],(jC(r,2,i)|0)!=2&&$0(0,91169,l)|0,e[n>>2]=e[i>>2],u[t+24>>3]=+sr(r,re(r,0,91202,0)|0,-1,0),u[t>>3]=-+sr(r,re(r,0,91204,0)|0,1.0001234,0),e[t+40>>2]=pr(r,re(r,0,91219,0)|0,2147483647,0)|0,e[t+120>>2]=Pm0(r,re(r,0,91226,0)|0)|0,e[t+132>>2]=Ym0(r,re(r,0,91236,0)|0)|0,e[t+136>>2]=0,e[t+112>>2]=(DA(he(r,91245)|0,0)|0)&255,e[t+128>>2]=(DA(he(r,91254)|0,1)|0)&255,u[t+152>>3]=+sr(r,re(r,0,91269,0)|0,0,-17976931348623157e292),i=pr(r,re(r,0,91278,0)|0,0,0)|0,r=t+160|0,e[r>>2]=i,(i|0)>4&&(e[o>>2]=i,$0(0,91291,o)|0,e[r>>2]=0),g=l}function QT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;m=g,g=g+48|0,o=m,w=m+32|0,A=m+28|0,l=m+24|0,v=m+20|0,p=m+16|0,e[l>>2]=0,e[v>>2]=0,e[p>>2]=0,s=t+136|0,n=e[47137]|0,(e[s>>2]|0)==1?f=HT(r,n,p)|0:f=HT(r,n,0)|0;do if((e[t+124>>2]|0)>-1)if((e[t+160>>2]|0)>0){e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],c=OT(r,o,l,v)|0;break}else{e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],c=OT(r,o,0,0)|0;break}else c=0;while(0);switch(n=Fm0(r)|0,e[w>>2]=n,e[s>>2]|0){case 1:case 0:{VT(e[47137]|0,f,e[p>>2]|0,t,0,c,n,e[l>>2]|0,e[v>>2]|0,A);break}case 5:{pg0(e[47137]|0,f,n,A);break}case 4:{n=e[p>>2]|0,n?n=yk(n,0)|0:n=nh(f)|0,e[p>>2]=n,wg0(e[47137]|0,f,n,w,1,200,.001,A);break}default:}for(n=U0(r)|0;n;){for(i=e[47137]|0,l=e[n+16>>2]|0,t=(e[w>>2]|0)+((N0(e[l+120>>2]|0,i)|0)<<3)|0,l=l+132|0,o=0;!((o|0)>=(i|0));)u[(e[l>>2]|0)+(o<<3)>>3]=+u[t+(o<<3)>>3],o=o+1|0;n=X0(r,n)|0}r0(c),r0(e[w>>2]|0),U2(f),n=e[p>>2]|0,n|0&&U2(n),n=e[v>>2]|0,n|0&&r0(n),g=m}function Fm0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;s=e[47137]|0,s=j0(N0(s<<3,v2(r)|0)|0)|0;e:do if(re(r,1,102623,0)|0)for(n=U0(r)|0;;){if(!n)break e;t=e[n+16>>2]|0;r:do if(C[t+119>>0]|0)for(o=e[47137]|0,l=N0(o,e[t+120>>2]|0)|0,i=t+132|0,t=0;;){if((t|0)>=(o|0))break r;u[s+(l+t<<3)>>3]=+u[(e[i>>2]|0)+(t<<3)>>3],t=t+1|0}while(0);n=X0(r,n)|0}while(0);return s|0}function Pm0(r,t){r=r|0,t=t|0;do if(t){if(r=k2(r,t)|0,t=C[r>>0]|0,(t+-48|0)>>>0<10){r=F1(r)|0,r=(r|0)<5?r:0;break}Lk(t)|0?De(r,91330)|0?De(r,91339)|0?De(r,135709)|0?De(r,91350)|0?(r=(De(r,91361)|0)==0,r=r?4:0):r=3:r=0:r=1:r=2:r=0}else r=0;while(0);return r|0}function Ym0(r,t){r=r|0,t=t|0;do if(t){if(r=k2(r,t)|0,t=C[r>>0]|0,(t+-48|0)>>>0<10){r=F1(r)|0,r=r>>>0<3?r:1;break}Lk(t)|0?De(r,135709)|0&&De(r,137308)|0?De(r,99730)|0&&De(r,107652)|0&&De(r,107657)|0?(r=(De(r,91325)|0)==0,r=r?2:1):r=1:r=0:r=1}else r=1;while(0);return r|0}function Vm0(r){r=r|0;var t=0,i=0;for(t=U0(r)|0;t;)Yh(t),t=X0(r,t)|0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)Om0(t),t=Qe(r,t)|0;i=X0(r,i)|0}}function Om0(r){r=r|0,$e(r,137460,176,1)|0,La(r)|0}function Hm0(r){r=r|0;var t=0,i=0;for(i=U0(r)|0;i;){for(t=Me(r,i)|0;t;)NA(t),t=Qe(r,t)|0;jA(i),i=X0(r,i)|0}}function TT(){var r=0,t=0;return r=_0(168)|0,u[r>>3]=-1.0001234,u[r+8>>3]=1,e[r+16>>2]=1,u[r+24>>3]=-1,u[r+32>>3]=.2,e[r+40>>2]=0,e[r+44>>2]=4,e[r+48>>2]=1,e[r+52>>2]=45,e[r+56>>2]=10,u[r+64>>3]=.6,u[r+72>>3]=.001,e[r+80>>2]=500,u[r+88>>3]=.9,u[r+96>>3]=.1,e[r+104>>2]=1,e[r+108>>2]=123,t=r+112|0,e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,e[r+128>>2]=1,e[r+132>>2]=3,e[r+136>>2]=0,u[r+144>>3]=-4,u[r+152>>3]=0,e[r+160>>2]=0,r|0}function FT(r){r=r|0,r0(r)}function W2e(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;t=g,g=g+176|0,i=t+160|0,o=t+152|0,l=t+128|0,c=t+112|0,A=t+88|0,f=t+64|0,w=t+56|0,p=t+40|0,m=t+24|0,v=t+16|0,E=t,n=e[15712]|0,fn(91378,27,1,n)|0,s=+u[r+8>>3],u[E>>3]=+u[r>>3],u[E+8>>3]=s,A2(n,91406,E)|0,E=e[r+108>>2]|0,e[v>>2]=e[r+16>>2],e[v+4>>2]=E,A2(n,91457,v)|0,s=+u[r+32>>3],u[m>>3]=+u[r+24>>3],u[m+8>>3]=s,A2(n,91484,m)|0,m=e[r+44>>2]|0,v=e[r+48>>2]|0,e[p>>2]=e[r+40>>2],e[p+4>>2]=m,e[p+8>>2]=v,A2(n,91507,p)|0,p=e[r+56>>2]|0,e[w>>2]=e[r+52>>2],e[w+4>>2]=p,A2(n,91558,w)|0,s=+u[r+72>>3],w=e[r+80>>2]|0,u[f>>3]=+u[r+64>>3],u[f+8>>3]=s,e[f+16>>2]=w,A2(n,91591,f)|0,s=+u[r+96>>3],f=e[r+104>>2]|0,u[A>>3]=+u[r+88>>3],u[A+8>>3]=s,e[A+16>>2]=f,A2(n,91649,A)|0,A=e[r+116>>2]|0,s=+u[r+152>>3],e[c>>2]=e[r+112>>2],e[c+4>>2]=A,u[c+8>>3]=s,A2(n,91695,c)|0,c=e[r+124>>2]|0,A=e[r+128>>2]|0,s=+u[r+144>>3],e[l>>2]=e[17804+(e[r+120>>2]<<2)>>2],e[l+4>>2]=c,e[l+8>>2]=A,u[l+16>>3]=s,A2(n,91748,l)|0,l=e[17848+(e[r+136>>2]<<2)>>2]|0,e[o>>2]=e[17832+(e[r+132>>2]<<2)>>2],e[o+4>>2]=l,A2(n,91813,o)|0,e[i>>2]=e[r+160>>2],A2(n,91843,i)|0,g=t}function eE(r){r=r|0,r0(r)}function rE(r){r=r|0;var t=0;return t=_0(184)|0,e[t>>2]=r,e[t+176>>2]=0,t|0}function PT(r,t){r=r|0,t=+t;var i=0,n=0,o=0;n=e[r>>2]|0,u[r+8+(n<<3)>>3]=t,o=r+176|0;e:do switch(e[o>>2]|0){case 0:{i=e[r>>2]|0,(i|0)==20?(e[o>>2]=-1,i=19):(e[o>>2]=1,i=(i|0)>19?20:i+1|0),e[r>>2]=i;break}case 1:if(i=e[r>>2]|0,(i|0)<20&&+u[r+8+(n+-1<<3)>>3]>t){e[r>>2]=i+1;break e}else{e[r>>2]=i+-1,e[o>>2]=-1;break e}default:if(i=e[r>>2]|0,(i|0)>0&&+u[r+8+(n+1<<3)>>3]>t){e[r>>2]=i+-1;break e}else{e[r>>2]=i+1,e[o>>2]=1;break e}}while(0)}function YT(r){return r=r|0,e[r>>2]|0}function Yp(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(v=e[r+20>>2]|0,m=e[r+24>>2]|0,w=e[r>>2]|0,p=e[v+(w<<2)>>2]|0,!p)n=1;else{r=0,n=0;e:for(;!((r|0)>=(w|0));)for(A=r+1|0,c=e[v+(A<<2)>>2]|0,f=N0(r,t)|0,s=e[v+(r<<2)>>2]|0;;){if((s|0)>=(c|0)){r=A;continue e}for(l=m+(s<<2)|0,r=0,o=0;!((r|0)>=(t|0));)E=+u[i+(r+f<<3)>>3]-+u[i+((N0(e[l>>2]|0,t)|0)<<3)>>3],r=r+1|0,o=E*E+o;s=s+1|0,n=+G0(+o)+n}n=n/+(p|0)}return+n}function Jm0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=t+10|0,(e[i>>2]|0)<=(t|0)&&(e[i>>2]=n,e[r>>2]=Ve(e[r>>2]|0,n<<3)|0)}function Um0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=t+10|0,(e[i>>2]|0)<=(t|0)&&(e[i>>2]=n,e[r>>2]=Ve(e[r>>2]|0,n<<2)|0)}function Xm0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(f=g,g=g+16|0,c=f,A=N0(n,t)|0,t=N0(i,t)|0,n=0;(n|0)!=2;)u[c+(n<<3)>>3]=+u[r+(n+A<<3)>>3]-+u[r+(n+t<<3)>>3],n=n+1|0;s=+u[c>>3],l=+u[c+8>>3];do if((s>=0?s:-s)<=(l>=0?l:-l)*1e-5)o=l>0?1.5707963267948966:4.71238898038469;else if(o=+G2(+(l/s)),s>0){if(!(l<0))break;o=o+6.283185307179586;break}else{if(!(s<0))break;o=o+3.141592653589793;break}while(0);return g=f,+o}function qm0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=+u[r>>3],i=+u[t>>3],(n>i?1:(n>31)|0}function $m0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0;g2=g,g=g+80|0,pe=g2+32|0,me=g2,v=+u[i>>3],f=i+24|0,w=+u[f>>3],p=i+32|0,A=+u[p>>3],J0=+u[i+72>>3],O0=e[i+80>>2]|0,Z0=+u[i+88>>3],m=+u[i+96>>3],F0=e[i+104>>2]|0,b0=i+56|0,s=e[b0>>2]|0;do if(!((t|0)==0|(O0|0)<1)&&(V0=e[t+4>>2]|0,!((r|0)<1|(V0|0)<1))){if(D0=e[t>>2]|0,ze=rE(s)|0,e[l>>2]=0,(D0|0)!=(V0|0)){e[l>>2]=-100,eE(ze),e[b0>>2]=s;break}k0=Ql(t,1)|0,B0=e[k0+20>>2]|0,D0=e[k0+24>>2]|0;e:do if(e[i+16>>2]|0)for(Uf(e[i+108>>2]|0),c=N0(V0,r)|0,s=0;;){if((s|0)>=(c|0))break e;u[o+(s<<3)>>3]=+_l(),s=s+1|0}while(0);for(w<0&&(w=+Yp(k0,r,o),u[f>>3]=w),A<0&&(u[p>>3]=.2,A=.2),v>=0&&(u[i>>3]=-1,v=-1),a0=+K0(+w,+(1-v)),T=+K0(+A,+((2-v)*.3333333333333333))/w,D=N0(V0,r<<3)|0,P=_0(D)|0,X=_0(D)|0,U=i+116|0,F=i+64|0,q=e[15712]|0,t0=k0+8|0,Y=me+8|0,H=me+16|0,W=0,N=0,_=m;;){u2(P|0,o|0,D|0)|0,L=YT(ze)|0,Z=mk(r,V0,L,o,e[U>>2]|0?n:0)|0,q90(Z,X,o,+u[F>>3],v,a0,me,l),f=0;e:for(;;){if((f|0)>=(V0|0)){m=0,c=0;break}for(p=N0(f,r)|0,E=X+(p<<3)|0,B=f+1|0,x=B0+(B<<2)|0,c=e[B0+(f<<2)>>2]|0;;){if((c|0)>=(e[x>>2]|0)){f=B;continue e}z=D0+(c<<2)|0,s=e[z>>2]|0;r:do if((s|0)!=(f|0))for(A=+On(o,r,f,s)*T,s=0;;){if((s|0)>=(r|0))break r;m=A*(+u[o+(s+p<<3)>>3]-+u[o+((N0(e[z>>2]|0,r)|0)+s<<3)>>3]),i2=E+(s<<3)|0,u[i2>>3]=+u[i2>>3]-m,s=s+1|0}while(0);c=c+1|0}}for(;!((c|0)>=(V0|0));){for(f=N0(c,r)|0,p=X+(f<<3)|0,A=0,s=0;!((s|0)>=(r|0));)T2=+u[p+(s<<3)>>3],A=T2*T2+A,s=s+1|0;A=+G0(+A),m=A+m;e:do if(A>0)for(A=1/A,s=0;;){if((s|0)>=(r|0)){s=0;break e}i2=p+(s<<3)|0,u[i2>>3]=+u[i2>>3]*A,s=s+1|0}else s=0;while(0);for(;!((s|0)>=(r|0));)i2=o+(s+f<<3)|0,u[i2>>3]=+u[i2>>3]+ +u[p+(s<<3)>>3]*_,s=s+1|0;c=c+1|0}if(W=W+1|0,Z&&(i8(Z),PT(ze,+u[Y>>3]*.85+ +u[me>>3]+ +u[H>>3]*3.3)),_=+Hh(F0,_,m,N,Z0),(W|0)<(O0|0)&_>J0)N=m;else break}e[i+112>>2]|0&&Jh(r,k0,o),eE(ze),e[b0>>2]=L,r0(P),(k0|0)!=(t|0)&&U2(k0),r0(X)}while(0);g=g2}function Hh(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o;do if(r){if(i>=n){t=o*t;break}n*.95>2]|0,P=e[t+20>>2]|0,x=e[t+24>>2]|0,e[_>>2]=10,e[T>>2]=10,z=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0))s=0;else{p=0;break}for(;!((s|0)>=(r|0));)u[D+(s<<3)>>3]=0,s=s+1|0;p=N0(m,r)|0;e:do if(N&(e[W>>2]|0)!=0)for(s=0;;){if((s|0)==(F0|0)){s=0;break e}r:do if((s|0)!=(m|0))for(f=+$i(o,r,m,s),l=n+(s<<3)|0,w=N0(s,r)|0,c=+K0(+f,+P),c=1/(z?f*f:c),A=0;;){if((A|0)>=(r|0))break r;E=D+(A<<3)|0,u[E>>3]=+u[l>>3]*X*(+u[o+(A+p<<3)>>3]-+u[o+(A+w<<3)>>3])*c+ +u[E>>3],A=A+1|0}while(0);s=s+1|0}else for(s=0;;){if((s|0)==(F0|0)){s=0;break e}r:do if((s|0)!=(m|0))for(f=+$i(o,r,m,s),l=N0(s,r)|0,c=+K0(+f,+P),c=1/(z?f*f:c),A=0;;){if((A|0)>=(r|0))break r;E=D+(A<<3)|0,u[E>>3]=(+u[o+(A+p<<3)>>3]-+u[o+(A+l<<3)>>3])*X*c+ +u[E>>3],A=A+1|0}while(0);s=s+1|0}while(0);for(;!((s|0)>=(r|0));)E=b0+(s+p<<3)|0,u[E>>3]=+u[E>>3]+ +u[D+(s<<3)>>3],s=s+1|0;m=m+1|0}e:for(;;){if((p|0)<(F0|0))s=0;else{f=0,A=0;break}for(;!((s|0)>=(r|0));)u[D+(s<<3)>>3]=0,s=s+1|0;for(m=p+1|0,l=F+(m<<2)|0,E=N0(p,r)|0,A=e[F+(p<<2)>>2]|0;;){if((A|0)>=(e[l>>2]|0)){s=0;break}w=q+(A<<2)|0,s=e[w>>2]|0;r:do if((s|0)!=(p|0))for(c=+On(o,r,p,s)*T,s=0;;){if((s|0)>=(r|0))break r;f=c*(+u[o+(s+E<<3)>>3]-+u[o+((N0(e[w>>2]|0,r)|0)+s<<3)>>3]),V0=D+(s<<3)|0,u[V0>>3]=+u[V0>>3]-f,s=s+1|0}while(0);A=A+1|0}for(;;){if((s|0)>=(r|0)){p=m;continue e}V0=b0+(s+E<<3)|0,u[V0>>3]=+u[V0>>3]+ +u[D+(s<<3)>>3],s=s+1|0}}for(;!((A|0)>=(F0|0));){for(l=N0(A,r)|0,s=0;;){if((s|0)>=(r|0)){c=0,s=0;break}u[D+(s<<3)>>3]=+u[b0+(s+l<<3)>>3],s=s+1|0}for(;!((s|0)>=(r|0));)ze=+u[D+(s<<3)>>3],c=ze*ze+c,s=s+1|0;c=+G0(+c),f=c+f;e:do if(c>0)for(c=1/c,s=0;;){if((s|0)>=(r|0)){s=0;break e}V0=D+(s<<3)|0,u[V0>>3]=+u[V0>>3]*c,s=s+1|0}else s=0;while(0);for(;!((s|0)>=(r|0));)V0=o+(s+l<<3)|0,u[V0>>3]=+u[V0>>3]+ +u[D+(s<<3)>>3]*B,s=s+1|0;A=A+1|0}if(x=x+1|0,B=+Hh(Z0,B,f,v,O0),(x|0)<(J0|0)&B>D0)v=f;else break}e[i+112>>2]|0&&Jh(r,U,o),r0(L),(U|0)!=(t|0)&&U2(U),r0(D)}else e[l>>2]=-100;H|0&&r0(a0),Y|0&&r0(k0),t0|0&&r0(B0),r0(b0)}}function rg0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0,g2=0,i2=0,T2=0,dr=0,D2=0,ue=0,gr=0,yr=0,ur=0,Fe=0,M2=0;if(ur=g,g=g+32|0,g2=ur+24|0,i2=ur+20|0,ue=ur+16|0,gr=ur+12|0,yr=ur+8|0,F0=ur,B=+u[i>>3],c=i+24|0,E=+u[c>>3],f=i+32|0,m=+u[f>>3],b0=+u[i+72>>3],V0=e[i+80>>2]|0,ze=+u[i+88>>3],x=+u[i+96>>3],me=e[i+104>>2]|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+((N0(e[v>>2]|0,r)|0)+A<<3)>>3]),W=O0+(A<<3)|0,u[W>>3]=+u[W>>3]-Fe,A=A+1|0}while(0);c=c+1|0}t:do if(Y){if(kE(s,+u[a0>>3],o+(T<<3)|0,_,g2,i2,ue,gr,yr,F0,l),z=+u[F0>>3]+z,W=e[g2>>2]|0,B=B+ +(W|0),e[l>>2]|0){f=O0,c=Z0,s=O0,A=Z0,v=67;break e}for(f=e[yr>>2]|0,v=e[gr>>2]|0,_=e[ue>>2]|0,A=0;;){if((A|0)>=(W|0))break t;for(Fe=+u[f+(A<<3)>>3],Fe=Fe>1e-15?Fe:1e-15,L=v+(A<<3)|0,Z=N0(A,r)|0,m=+K0(+Fe,+k0),m=1/(X?Fe*Fe:m),c=0;!((c|0)>=(r|0));)M2=O0+(c<<3)|0,u[M2>>3]=+u[L>>3]*B0*(+u[o+(c+T<<3)>>3]-+u[_+(c+Z<<3)>>3])*m+ +u[M2>>3],c=c+1|0;A=A+1|0}}else if(U&(e[H>>2]|0)!=0)for(A=0;;){if((A|0)==(pe|0))break t;i:do if((A|0)!=(_|0))for(Fe=+$i(o,r,_,A),f=n+(A<<3)|0,v=N0(A,r)|0,m=+K0(+Fe,+k0),m=1/(X?Fe*Fe:m),c=0;;){if((c|0)>=(r|0))break i;W=O0+(c<<3)|0,u[W>>3]=+u[f>>3]*B0*(+u[o+(c+T<<3)>>3]-+u[o+(c+v<<3)>>3])*m+ +u[W>>3],c=c+1|0}while(0);A=A+1|0}else for(A=0;;){if((A|0)==(pe|0))break t;i:do if((A|0)!=(_|0))for(Fe=+$i(o,r,_,A),f=N0(A,r)|0,m=+K0(+Fe,+k0),m=1/(X?Fe*Fe:m),c=0;;){if((c|0)>=(r|0))break i;W=O0+(c<<3)|0,u[W>>3]=(+u[o+(c+T<<3)>>3]-+u[o+(c+f<<3)>>3])*B0*m+ +u[W>>3],c=c+1|0}while(0);A=A+1|0}while(0);for(m=0,A=0;!((A|0)>=(r|0));)Fe=+u[O0+(A<<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>>3],l+(N<<3)|0,B,dr,D2,V0,gr,yr,ze,A),i=e[dr>>2]|0,e[A>>2]|0)break e;for(p=e[yr>>2]|0,m=e[gr>>2]|0,B=e[V0>>2]|0,f=0;;){if((f|0)>=(i|0)){E=0,f=0;break t}for(Fe=+u[p+(f<<3)>>3],Fe=Fe>1e-15?Fe:1e-15,L=m+(f<<3)|0,Z=N0(f,r)|0,E=+K0(+Fe,+U),E=1/(k0?Fe*Fe:E),w=0;!((w|0)>=(r|0));)M2=B0+(w<<3)|0,u[M2>>3]=+u[L>>3]*s*(+u[l+(w+N<<3)>>3]-+u[B+(w+Z<<3)>>3])*E+ +u[M2>>3],w=w+1|0;f=f+1|0}}else if(a0&(e[t0>>2]|0)!=0)for(f=0;;){if((f|0)==(T2|0)){E=0,f=0;break t}i:do if((f|0)!=(B|0))for(Fe=+$i(l,r,B,f),i=o+(f<<3)|0,p=N0(f,r)|0,E=+K0(+Fe,+U),E=1/(k0?Fe*Fe:E),w=0;;){if((w|0)>=(r|0))break i;Z=B0+(w<<3)|0,u[Z>>3]=+u[i>>3]*s*(+u[l+(w+N<<3)>>3]-+u[l+(w+p<<3)>>3])*E+ +u[Z>>3],w=w+1|0}while(0);f=f+1|0}else for(f=0;;){if((f|0)==(T2|0)){E=0,f=0;break t}i:do if((f|0)!=(B|0))for(Fe=+$i(l,r,B,f),i=N0(f,r)|0,E=+K0(+Fe,+U),E=1/(k0?Fe*Fe:E),w=0;;){if((w|0)>=(r|0))break i;Z=B0+(w<<3)|0,u[Z>>3]=(+u[l+(w+N<<3)>>3]-+u[l+(w+i<<3)>>3])*s*E+ +u[Z>>3],w=w+1|0}while(0);f=f+1|0}while(0);for(;!((f|0)>=(r|0));)Fe=+u[B0+(f<<3)>>3],E=Fe*Fe+E,f=f+1|0;E=+G0(+E),x=E+x;t:do if(E>0)for(E=1/E,f=0;;){if((f|0)>=(r|0)){f=0;break t}M2=B0+(f<<3)|0,u[M2>>3]=+u[M2>>3]*E,f=f+1|0}else f=0;while(0);for(;;){if((f|0)>=(r|0)){B=T;continue r}M2=l+(f+N<<3)|0,u[M2>>3]=+u[M2>>3]+ +u[B0+(f<<3)>>3]*D,f=f+1|0}}if(c|0&&i8(c),D=+Hh(i2,D,x,X,g2),(P|0)<(pe|0)&D>me)X=x;else{ue=83;break}}(ue|0)==83&&e[n+112>>2]|0&&Jh(r,b0,l),r0(J0),(b0|0)!=(t|0)&&U2(b0),r0(B0),c=e[V0>>2]|0,f=c}else e[A>>2]=-100;f|0&&r0(c),c=e[gr>>2]|0,c|0&&r0(c),c=e[yr>>2]|0,c|0&&r0(c)}g=ur}function tg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;if(!i)n=1;else{o=0,n=0;e:for(;!((o|0)>=(r|0));)for(l=o+1|0,s=e[t+(l<<2)>>2]|0,o=e[t+(o<<2)>>2]|0;;){if((o|0)>=(s|0)){o=l;continue e}A=+u[i+(o<<3)>>3]+n,o=o+1|0,n=A}n=n/+(e[t+(r<<2)>>2]|0)}return+n}function ig0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;_=g,g=g+16|0,z=_,x=(l|0)==0,c=0,f=0,w=1,A=0;e:for(;!((A|0)>=(r|0));)for(E=A+1|0,B=n+(E<<2)|0,m=e[n+(A<<2)>>2]|0;;){if((m|0)>=(e[B>>2]|0)){A=E;continue e}s=e[o+(m<<2)>>2]|0;r:do if((s|0)!=(A|0))for(p=+$i(i,t,A,s),x||(w=+u[l+(m<<3)>>3]),L=1/(w*w),v=w*p*L,p=p*p*L,s=0;;){if((s|0)>=(t|0))break r;s=s+1|0,c=c+p,f=f+v}while(0);m=m+1|0}for(c=f/c,A=N0(t,r)|0,s=0;!((s|0)>=(A|0));)t=i+(s<<3)|0,u[t>>3]=+u[t>>3]*c,s=s+1|0;i=e[15712]|0,u[z>>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=1-E,k0=+K0(+p,+a0),q=+K0(+w,+((2-E)*.3333333333333333))/p,Y=r<<3,t0=_0(Y)|0,Y=N0(g2,Y)|0,H=_0(Y)|0,P=(B|0)!=0,X=n+116|0,U=q*.2,F=n+64|0,T=E==-1,D=(o|0)!=0,A=0,W=0,N=0;e:for(;;){W=W+1|0,u2(H|0,l|0,Y|0)|0,P&&(A=mk(r,g2,10,l,e[X>>2]|0?o:0)|0),B=0,p=0;r:for(;(B|0)<(g2|0);){c=0;for(;!((c|0)>=(r|0));)u[t0+(c<<3)>>3]=0,c=c+1|0;for(L=B+1|0,i=J0+(L<<2)|0,Z=N0(B,r)|0,f=e[J0+(B<<2)>>2]|0;!((f|0)>=(e[i>>2]|0));){v=O0+(f<<2)|0,c=e[v>>2]|0;t:do if((c|0)!=(B|0))for(w=+On(l,r,B,c)*q,c=0;;){if((c|0)>=(r|0))break t;E=w*(+u[l+(c+Z<<3)>>3]-+u[l+((N0(e[v>>2]|0,r)|0)+c<<3)>>3]),z=t0+(c<<3)|0,u[z>>3]=+u[z>>3]-E,c=c+1|0}while(0);f=f+1|0}for(v=Z0+(L<<2)|0,i=e[Z0+(B<<2)>>2]|0;!((i|0)>=(e[v>>2]|0));){m=F0+(i<<2)|0,c=e[m>>2]|0;t:do if((c|0)!=(B|0))for(w=+$i(l,r,B,c),f=B0+(i<<3)|0,E=1/w,c=0;;){if((c|0)>=(r|0))break t;Fe=+u[f>>3],ur=w-Fe,ur=ur*ur*U*(+u[l+(c+Z<<3)>>3]-+u[l+((N0(e[m>>2]|0,r)|0)+c<<3)>>3])*E,z=t0+(c<<3)|0,u[z>>3]=(w>3],c=c+1|0}while(0);i=i+1|0}t:do if(P){if(kE(A,+u[F>>3],l+(Z<<3)|0,B,i2,T2,dr,ue,gr,b0,s),i=e[i2>>2]|0,e[s>>2]|0)break e;for(v=e[gr>>2]|0,m=e[ue>>2]|0,B=e[dr>>2]|0,c=0;;){if((c|0)>=(i|0)){w=0,c=0;break t}for(Fe=+u[v+(c<<3)>>3],Fe=Fe>1e-15?Fe:1e-15,x=m+(c<<3)|0,z=N0(c,r)|0,w=+K0(+Fe,+a0),w=1/(T?Fe*Fe:w),f=0;!((f|0)>=(r|0));)M2=t0+(f<<3)|0,u[M2>>3]=+u[x>>3]*k0*(+u[l+(f+Z<<3)>>3]-+u[B+(f+z<<3)>>3])*w+ +u[M2>>3],f=f+1|0;c=c+1|0}}else if(D&(e[X>>2]|0)!=0)for(c=0;;){if((c|0)==(g2|0)){w=0,c=0;break t}i:do if((c|0)!=(B|0))for(Fe=+$i(l,r,B,c),i=o+(c<<3)|0,v=N0(c,r)|0,w=+K0(+Fe,+a0),w=1/(T?Fe*Fe:w),f=0;;){if((f|0)>=(r|0))break i;z=t0+(f<<3)|0,u[z>>3]=+u[i>>3]*k0*(+u[l+(f+Z<<3)>>3]-+u[l+(f+v<<3)>>3])*w+ +u[z>>3],f=f+1|0}while(0);c=c+1|0}else for(c=0;;){if((c|0)==(g2|0)){w=0,c=0;break t}i:do if((c|0)!=(B|0))for(Fe=+$i(l,r,B,c),i=N0(c,r)|0,w=+K0(+Fe,+a0),w=1/(T?Fe*Fe:w),f=0;;){if((f|0)>=(r|0))break i;z=t0+(f<<3)|0,u[z>>3]=(+u[l+(f+Z<<3)>>3]-+u[l+(f+i<<3)>>3])*k0*w+ +u[z>>3],f=f+1|0}while(0);c=c+1|0}while(0);for(;!((c|0)>=(r|0));)Fe=+u[t0+(c<<3)>>3],w=Fe*Fe+w,c=c+1|0;w=+G0(+w),p=w+p;t:do if(w>0)for(w=1/w,c=0;;){if((c|0)>=(r|0)){c=0;break t}M2=t0+(c<<3)|0,u[M2>>3]=+u[M2>>3]*w,c=c+1|0}else c=0;while(0);for(;;){if((c|0)>=(r|0)){B=L;continue r}M2=l+(c+Z<<3)|0,u[M2>>3]=+u[M2>>3]+ +u[t0+(c<<3)>>3]*_,c=c+1|0}}if(A|0&&i8(A),_=+Hh(pe,_,p,N,me),(W|0)<(ze|0)&_>V0)N=p;else{D2=70;break}}(D2|0)==70&&e[n+112>>2]|0&&Jh(r,D0,l),r0(H),(D0|0)!=(t|0)&&U2(D0),r0(t0),A=e[dr>>2]|0,c=A}else e[s>>2]=-100;c|0&&r0(A),A=e[ue>>2]|0,A|0&&r0(A),A=e[gr>>2]|0,A|0&&r0(A)}g=yr}function og0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;p=e[t+20>>2]|0,v=e[t+24>>2]|0,m=_0(r<<3)|0,w=e[t>>2]|0,c=0;e:for(;(c|0)<(w|0);){t=0;for(;!((t|0)>=(r|0));)u[m+(t<<3)>>3]=0,t=t+1|0;for(f=c+1|0,A=e[p+(f<<2)>>2]|0,s=e[p+(c<<2)>>2]|0,t=0;!((s|0)>=(A|0));){if(n=e[v+(s<<2)>>2]|0,(n|0)!=(c|0)){for(l=N0(n,r)|0,n=0;!((n|0)>=(r|0));)E=m+(n<<3)|0,u[E>>3]=+u[E>>3]+ +u[i+(l+n<<3)>>3],n=n+1|0;t=t+1|0}s=s+1|0}if((t|0)<=0){c=f;continue}for(o=.5/+(t|0),n=N0(c,r)|0,t=0;;){if((t|0)>=(r|0)){c=f;continue e}E=i+(t+n<<3)|0,u[E>>3]=+u[m+(t<<3)>>3]*o+ +u[E>>3]*.5,t=t+1|0}}r0(m)}function lg0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(A=e[r+20>>2]|0,c=e[r+24>>2]|0,s=e[r>>2]|0,f=_0((s<<2)+4|0)|0,r=0;;){if((r|0)>(s|0)){i=0,n=0;break}e[f+(r<<2)>>2]=0,r=r+1|0}for(;!((n|0)>=(s|0));){for(o=n+1|0,l=e[A+(o<<2)>>2]|0,r=0,t=e[A+(n<<2)>>2]|0;!((t|0)>=(l|0));)r=r+((n|0)!=(e[c+(t<<2)>>2]|0)&1)|0,t=t+1|0;l=f+(r<<2)|0,n=(e[l>>2]|0)+1|0,e[l>>2]=n,i=(i|0)>(n|0)?i:n,n=o}return w=+(e[f+4>>2]|0),+(i|0)*.8=(s|0)){o=0;break}u[p+(o<<3)>>3]=0,o=o+1|0}for(;;){if((o|0)>=(t|0)){s=0;break}u[c+(o<<3)>>3]=0,o=o+1|0}for(;!((s|0)>=(r|0));){for(A=N0(s,t)|0,o=0;!((o|0)>=(t|0));)w=c+(o<<3)|0,u[w>>3]=+u[w>>3]+ +u[i+(o+A<<3)>>3],o=o+1|0;s=s+1|0}for(n=1/+(r|0),o=0;;){if((o|0)>=(t|0)){s=0;break}w=c+(o<<3)|0,u[w>>3]=+u[w>>3]*n,o=o+1|0}for(;;){if((s|0)>=(r|0)){A=0;break}for(A=N0(s,t)|0,o=0;!((o|0)>=(t|0));)w=i+(o+A<<3)|0,u[w>>3]=+u[w>>3]-+u[c+(o<<3)>>3],o=o+1|0;s=s+1|0}for(;!((A|0)>=(r|0));){for(c=N0(A,t)|0,s=0;!((s|0)>=(t|0));){for(f=i+(s+c<<3)|0,w=N0(s,t)|0,o=0;(o|0)!=(t|0);)m=p+(o+w<<3)|0,u[m>>3]=+u[m>>3]+ +u[i+(o+c<<3)>>3]*+u[f>>3],o=o+1|0;s=s+1|0}A=A+1|0}for(n=+u[p+8>>3],n==0?n=0:(E=+u[p>>3],l=+u[p+24>>3],n=-(l-E-+G0(+(E*E+n*n*4+(E*-2+l)*l)))/(n*2)),l=+G0(+(n*n+1)),n=n/l,l=1/l,o=0;!((o|0)>=(r|0));)m=N0(o,t)|0,p=i+(m<<3)|0,E=+u[p>>3],m=i+(m+1<<3)|0,B=+u[m>>3],u[p>>3]=B*l+E*n,u[m>>3]=B*n-E*l,o=o+1|0;g=v}function VT(r,t,i,n,o,l,s,A,c,f){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0,f=f|0,Ag0(r,t,i,n,o,l,s,A,c,f)}function Ag0(r,t,i,n,o,l,s,A,c,f){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0,f=f|0;var w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0;B0=g,g=g+192|0,Y=B0+176|0,t0=B0+168|0,a0=B0,u2(a0|0,n|0,168)|0,e[f>>2]=0;do if(t|0&&(k0=e[t+4>>2]|0,!((r|0)<1|(k0|0)<1))){j1(t,0)|0&&(e[t+16>>2]|0)==1?((e[n+136>>2]|0)==1?p=Ls(i)|0:p=i,H=Ls(t)|0):x=5;do if((x|0)==5)if((e[n+136>>2]|0)==1){H=yk(t,0)|0,p=yk(i,0)|0;break}else{H=nh(t)|0,p=i;break}while(0);if(q=n+160|0,v=e[q>>2]|0,(v|0)==3?(A|0)>0&&(x=14):(A|0)>0&(v|0)==4&&(x=14),(x|0)==14){if(i=_0(N0(r<<3,e[H>>2]|0)|0)|0,k0=ug0(H,A,c)|0,VT(r,k0,0,n,0,0,i,0,0,f),ag0(r,H,A,c,s,i),OF(r,H,s,l,e[n+124>>2]|0,+u[n+144>>3],e[q>>2]|0,A,c),U2(k0),r0(i),(H|0)==(t|0))break;U2(H);break}for(U=rs0(e[n+44>>2]|0,e[n+48>>2]|0)|0,e[U+16>>2]=e[n+40>>2],F=hs0(H,p,o,U)|0,m=ws0(F)|0,e[m+32>>2]|0?E=_0(N0(r<<3,e[m+4>>2]|0)|0)|0:E=s,v=lg0(H)|0,+u[n>>3]==-1.0001234&&(u[n>>3]=v|0?-1.8:-1),_=n+136|0,L=n+24|0,Z=n+16|0,W=n+104|0,N=n+96|0,T=r<<3,D=n+132|0,P=e[15712]|0,X=n+80|0;;){e:do switch(e[_>>2]|0){case 0:{switch(e[D>>2]|0){case 0:{eg0(r,e[m+8>>2]|0,n,e[m+24>>2]|0,E,f);break e}case 2:{v=m+8|0,x=29;break}case 3:{v=m+8|0,B=e[v>>2]|0,(e[B>>2]|0)>1e4?x=29:x=30;break}default:B=e[m+8>>2]|0,x=30}if((x|0)==29){$m0(r,e[v>>2]|0,n,e[m+24>>2]|0,E,f);break e}else if((x|0)==30){rg0(r,B,n,e[m+24>>2]|0,E,f);break e}break}case 1:{u[N>>3]=1,e[W>>2]=1,z=(e[m+28>>2]|0)==0,w=z?.5:.05,e[X>>2]=z?500:100,z=(e[m+32>>2]|0)==0,v=m+8|0,B=m+12|0,x=m+24|0,Vp(r,e[v>>2]|0,e[B>>2]|0,n,e[x>>2]|0,E,w,f),z&&(e[Z>>2]=0,u[N>>3]=.05,e[W>>2]=0,Vp(r,e[v>>2]|0,e[B>>2]|0,n,e[x>>2]|0,E,w*.5,f),Vp(r,e[v>>2]|0,e[B>>2]|0,n,e[x>>2]|0,E,w*.125,f),Vp(r,e[v>>2]|0,e[B>>2]|0,n,e[x>>2]|0,E,w*.03125,f));break}default:}while(0);if(x=e[m+32>>2]|0,!x){x=39;break}if(e[f>>2]|0){x=35;break}z=e[m+16>>2]|0,v=e[m+40>>2]|0,e[x+32>>2]|0?B=_0(N0(T,e[x+4>>2]|0)|0)|0:B=s,cg0(r,e[x+8>>2]|0,z,e[x+20>>2]|0,E,B,v,+u[L>>3]*.001),r0(E),e[Z>>2]=0,u[L>>3]=+u[L>>3]*.75,e[W>>2]=0,u[N>>3]=((e[(e[x+28>>2]|0)+40>>2]|0)+-9|0)>>>0<2?1:.1,m=x,E=B}(x|0)==35?r0(E):(x|0)==39&&(Gs0(r,H,n,o,s,f),(r|0)==2&&sg0(k0,2,s),w=+u[n+152>>3],w!=0&&fg0(k0,r,s,w),OF(r,H,s,l,e[n+124>>2]|0,+u[n+144>>3],e[q>>2]|0,A,c)),u2(n|0,a0|0,168)|0,(H|0)!=(t|0)&&U2(H),(p|0)==0|(p|0)==(i|0)||U2(p),ts0(U),SZ(F)}while(0);g=B0}function ug0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;for(N=g,g=g+16|0,W=N,_=e[r+20>>2]|0,L=e[r+24>>2]|0,Z=_0(e[r>>2]<<2)|0,n=0;;){if((n|0)>=(e[r>>2]|0)){n=0;break}e[Z+(n<<2)>>2]=1,n=n+1|0}for(;;){if((n|0)>=(t|0)){n=0,i=0;break}e[Z+(e[i+(n<<2)>>2]<<2)>>2]=-1,n=n+1|0}for(;;){if(w=e[r>>2]|0,(i|0)>=(w|0)){i=0,t=0;break}t=Z+(i<<2)|0,(e[t>>2]|0)>0&&(e[t>>2]=n,n=n+1|0),i=i+1|0}e:for(;;){for(;;){if((t|0)>=(w|0))break e;if((e[Z+(t<<2)>>2]|0)>=0)break;t=t+1|0}for(c=t+1|0,f=e[_+(c<<2)>>2]|0,A=e[_+(t<<2)>>2]|0;;){if((A|0)>=(f|0)){t=c;continue e}o=e[L+(A<<2)>>2]|0;r:do if((e[Z+(o<<2)>>2]|0)>-1)i=i+1|0;else for(s=e[_+(o+1<<2)>>2]|0,l=e[_+(o<<2)>>2]|0;;){if((l|0)>=(s|0))break r;o=e[L+(l<<2)>>2]|0,(o|0)!=(t|0)&&(i=((e[Z+(o<<2)>>2]|0)>>>31^1)+i|0),l=l+1|0}while(0);A=A+1|0}}t=i<<2,(i|0)>0?(B=_0(t)|0,x=_0(t)|0,m=x,E=B):(m=0,E=0,B=0,x=0),z=e[15712]|0,t=0,o=0;e:for(;;){for(i=e[r>>2]|0;;){if((t|0)>=(i|0))break e;if(v=Z+(t<<2)|0,(e[v>>2]|0)>=0)break;t=t+1|0}for(w=t+1|0,p=_+(w<<2)|0,f=e[_+(t<<2)>>2]|0,i=o;;){if((f|0)>=(e[p>>2]|0)){t=w,o=i;continue e}o=L+(f<<2)|0,l=e[o>>2]|0;r:do if((e[Z+(l<<2)>>2]|0)>-1)e[E+(i<<2)>>2]=e[v>>2],e[m+(i<<2)>>2]=e[Z+(e[o>>2]<<2)>>2],i=i+1|0;else for(c=_+(l+1<<2)|0,A=e[_+(l<<2)>>2]|0;;){if((A|0)>=(e[c>>2]|0))break r;o=L+(A<<2)|0,s=e[o>>2]|0;do if((s|0)!=(t|0)&&(e[Z+(s<<2)>>2]|0)>-1){if(e[E+(i<<2)>>2]=e[v>>2],s=i+1|0,e[m+(i<<2)>>2]=e[Z+(e[o>>2]<<2)>>2],l=e[v>>2]|0,i=e[Z+(e[o>>2]<<2)>>2]|0,(l|0)!=68)if((i|0)==68)i=68;else{i=s;break}e[W>>2]=l,e[W+4>>2]=i,A2(z,92380,W)|0,i=s}while(0);A=A+1|0}while(0);f=f+1|0}}return W=Rs(o,n,n,E,m,0,8,8)|0,r0(B),r0(x),r0(Z),g=N,W|0}function ag0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(m=_0(e[t>>2]<<2)|0,s=0;;){if((s|0)>=(e[t>>2]|0)){s=0;break}e[m+(s<<2)>>2]=1,s=s+1|0}for(;;){if((s|0)>=(i|0)){s=0,f=0;break}A=e[n+(s<<2)>>2]|0,(A|0)>-1&&(A|0)<(e[t>>2]|0)&&(e[m+(A<<2)>>2]=-1),s=s+1|0}for(;;){if(p=e[t>>2]|0,(f|0)>=(p|0)){f=0;break}A=m+(f<<2)|0,(e[A>>2]|0)>-1&&(e[A>>2]=s,s=s+1|0),f=f+1|0}for(;!((f|0)>=(p|0));){s=e[m+(f<<2)>>2]|0;e:do if((s|0)>-1)for(w=N0(f,r)|0,A=N0(s,r)|0,s=0;;){if((s|0)>=(r|0))break e;u[o+(s+w<<3)>>3]=+u[l+(A+s<<3)>>3],s=s+1|0}while(0);f=f+1|0}for(v=t+20|0,l=t+24|0,p=0;!((p|0)>=(i|0));){for(t=e[n+(p<<2)>>2]|0,s=e[v>>2]|0,f=e[s+(t+1<<2)>>2]|0,s=e[s+(t<<2)>>2]|0,w=f-s|0,t=N0(t,r)|0,A=0;!((A|0)>=(r|0));)u[o+(A+t<<3)>>3]=0,A=A+1|0;for(;(s|0)<(f|0);){A=0;for(;!((A|0)>=(r|0));)c=+u[o+((N0(e[(e[l>>2]|0)+(s<<2)>>2]|0,r)|0)+A<<3)>>3],E=o+(A+t<<3)|0,u[E>>3]=+u[E>>3]+c,A=A+1|0;s=s+1|0}for(c=1/+(w|0),s=0;!((s|0)>=(r|0));)E=o+(s+t<<3)|0,u[E>>3]=+u[E>>3]*c,s=s+1|0;p=p+1|0}r0(m)}function cg0(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=+A;var c=0,f=0,w=0,p=0,v=0,m=0;p=g,g=g+16|0,w=p,e[w>>2]=l,CZ(i,0,o,0,w,0,r);e:do if((s+-1|0)>>>0<6){og0(r,t,e[w>>2]|0),c=e[n>>2]|0,f=e[n+20>>2]|0,l=e[n+24>>2]|0,t=0;r:for(;;){if((t|0)>=(c|0))break e;s=t+1|0,n=f+(s<<2)|0,t=e[f+(t<<2)>>2]|0;t:for(;;){if(t=t+1|0,(t|0)>=(e[n>>2]|0)){t=s;continue r}for(o=l+(t<<2)|0,i=0;;){if((i|0)>=(r|0))continue t;m=(+_l()+-.5)*A,v=(e[w>>2]|0)+((N0(e[o>>2]|0,r)|0)+i<<3)|0,u[v>>3]=+u[v>>3]+m,i=i+1|0}}}}while(0);g=p}function fg0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=+n;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(f=g,g=g+16|0,c=f,o=0;;){if((o|0)>=(t|0)){s=0;break}u[c+(o<<3)>>3]=0,o=o+1|0}for(;!((s|0)>=(r|0));){for(A=N0(s,t)|0,o=0;!((o|0)>=(t|0));)w=c+(o<<3)|0,u[w>>3]=+u[w>>3]+ +u[i+(o+A<<3)>>3],o=o+1|0;s=s+1|0}for(l=1/+(r|0),o=0;;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e:do if(t!=1)for(n=e[i+8>>2]|0,r=0;;){if((r|0)>=(n|0))break e;l=o+(r<<3)|0,u[l>>3]=+u[l>>3]*t,r=r+1|0}while(0);return i|0}function pg0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(A=e[t>>2]|0,e[n>>2]=0,c=N0(A,r)|0,n=0;;){if((n|0)>=(c|0)){n=1,o=1;break}u[i+(n<<3)>>3]=+_l()*100,n=n+1|0}for(;!((o|0)>=(A|0));){for(s=N0(o,r)|0,l=0;!((l|0)>=(r|0));)if(f=+u[i+(l<<3)>>3]-+u[i+(l+s<<3)>>3],(f>=0?f:-f)>1e-16){n=0,o=A;break}else l=l+1|0;o=o+1|0}e:do if(n|0)for(Uf(1),n=0;;){if((n|0)>=(c|0))break e;u[i+(n<<3)>>3]=+_l()*100,n=n+1|0}while(0);if(n=dg0(t,1)|0,!(j1(n,0)|0))H0(92430,92387,164,92466);else{c=Op(0,n,0,101e5,100,0)|0,+Jp(c,r,i,300),Hp(c),c=Op(0,n,0,101e3,100,0)|0,+Jp(c,r,i,300),Hp(c),c=Op(0,n,0,1010,100,0)|0,+Jp(c,r,i,300),Hp(c),c=Op(0,n,0,10.1,100,0)|0,+Jp(c,r,i,300),Hp(c),$l0(0,0,490,700,e[t>>2]|0,r,i),U2(n);return}}function OT(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(c=_0((v2(r)|0)<<4)|0,s=(n|0)!=0,A=t+8|0,l=U0(r)|0,o=0;l;)s&&(o=o+((Yr(te(l)|0,92481,11)|0)==0&1)|0),w=e[l+16>>2]|0,f=e[w+120>>2]<<1,u[c+(f<<3)>>3]=+u[w+32>>3]*.5+ +u[t>>3],u[c+((f|1)<<3)>>3]=+u[w+40>>3]*.5+ +u[A>>3],l=X0(r,l)|0;if(s&(o|0)!=0){for(t=_0(o<<2)|0,l=U0(r)|0,o=0;l;)Yr(te(l)|0,92481,11)|0||(e[t+(o<<2)>>2]=e[(e[l+16>>2]|0)+120>>2],o=o+1|0),l=X0(r,l)|0;e[n>>2]=t,e[i>>2]=o}return c|0}function HT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0;if(N=g,g=g+32|0,L=N+16|0,_=N+8|0,z=N,r){for(Z=v2(r)|0,W=ys(r)|0,t=U0(r)|0,n=0;t;)e[(e[t+16>>2]|0)+120>>2]=n,t=X0(r,t)|0,n=n+1|0;for(E=W<<2,m=_0(E)|0,E=_0(E)|0,t=W<<3,B=_0(t)|0,p=re(r,2,101541,0)|0,x=(i|0)!=0,x?(n=re(r,2,92493,0)|0,v=j0(t)|0,w=v):(w=0,n=0,v=0),A=(p|0)==0,c=(n|0)==0,s=U0(r)|0,t=0;s;){for(f=e[(e[s+16>>2]|0)+120>>2]|0,l=Me(r,s)|0;l;)e[m+(t<<2)>>2]=f,e[E+(t<<2)>>2]=e[(e[(e[((e[l>>2]&3|0)==2?l:l+-48|0)+40>>2]|0)+16>>2]|0)+120>>2],!A&&(T=k2(l,p)|0,e[_>>2]=z,(X2(T,101209,_)|0)==1)?o=+u[z>>3]:(u[z>>3]=1,o=1),u[B+(t<<3)>>3]=o,c||(T=k2(l,n)|0,e[L>>2]=z,(X2(T,101209,L)|0)==1?o=+u[z>>3]:(u[z>>3]=1,o=1),u[w+(t<<3)>>3]=o),l=Qe(r,l)|0,t=t+1|0;s=X0(r,s)|0}t=Rs(W,Z,Z,m,E,B,1,8)|0,x&&(e[i>>2]=Rs(W,Z,Z,m,E,v,1,8)|0),r0(m),r0(E),r0(B),w&&r0(v)}else t=0;return g=N,t|0}function JT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;f=g,g=g+16|0,c=f;e:do if(kg0(r,c)|0){for(t=e[(e[(U0(r)|0)+16>>2]|0)+132>>2]|0,l=+u[t>>3],n=+u[t+8>>3],t=U0(r)|0;t;)o=e[(e[t+16>>2]|0)+132>>2]|0,u[o>>3]=+u[o>>3]-l,o=o+8|0,u[o>>3]=+u[o>>3]-n,t=X0(r,t)|0;for(t=(l!=0|n!=0)&1,i=U0(r)|0;;){if(!i)break e;if(o=Me(r,i)|0,o|0)break;i=X0(r,i)|0}if(w=e[o>>2]&3,i=e[(e[(e[((w|0)==2?o:o+-48|0)+40>>2]|0)+16>>2]|0)+132>>2]|0,o=e[(e[(e[((w|0)==3?o:o+48|0)+40>>2]|0)+16>>2]|0)+132>>2]|0,s=+u[o+8>>3],A=+u[o>>3],n=+I2(+(+u[i+8>>3]-s),+(+u[i>>3]-A)),n=+u[c>>3]-n,u[c>>3]=n,n!=0)for(l=+ee(+n),n=+le(+n),t=U0(r)|0;;){if(!t){t=1;break e}c=e[(e[t+16>>2]|0)+132>>2]|0,v=+u[c>>3]-A,w=c+8|0,p=+u[w>>3]-s,u[c>>3]=v*l+A-p*n,u[w>>3]=v*n+s+p*l,t=X0(r,t)|0}}else t=0;while(0);return g=f,t|0}function kg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=g,g=g+16|0,n=o,r=he(r,92497)|0;do if(r|0&&C[r>>0]|0){if(i=+P1(r,n),(e[n>>2]|0)==(r|0))if((jt(r)|0)<<24>>24)i=0;else{r=0;break}for(;i>180;)i=i+-360;for(;i<=-180;)i=i+360;u[t>>3]=i*.017453292519943295,r=1}else r=0;while(0);return g=o,r|0}function UT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=he(r,92507)|0,XT(r,n|0?n:i|0?i:195059,t)|0}function XT(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;if(f=g,g=g+32|0,c=f+16|0,s=f+8|0,l=f,t|0&&C[t>>0]|0){for(n=17896;o=e[n+4>>2]|0,!!o;){if(!(go(t,o,e[n+8>>2]|0)|0)){A=6;break}n=n+16|0}(A|0)==6&&(e[n+12>>2]|0||(e[l>>2]=o,$0(0,92515,l)|0,n=17896),l=e[n>>2]|0,e[i>>2]=l,e[i+4>>2]=e[n+12>>2],(l|0)==18&&vg0(r,t+(e[n+8>>2]|0)|0,i)),e[n+4>>2]|0||(n=DA(t,63)|0,n<<24>>24==63?(e[s>>2]=t,$0(0,92557,s)|0,n=0):n=n&255,n=(n|0)==0,e[i>>2]=n&1,n=n?92604:135709,A=15)}else e[i>>2]=0,n=135709,A=15;return(A|0)==15&&(e[i+4>>2]=n),g=f,i|0}function vg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;n=g,g=g+16|0,o=n,l=n+4|0,e[o>>2]=l,o=(X2(t,137395,o)|0)>0,t=e[l>>2]|0,e[i+8>>2]=o&(t|0)>-1?t:1e3,u[i+16>>3]=+sr(r,re(r,0,92648,0)|0,-4,-1e10),g=n}function Rf(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;s=g,g=g+16|0,l=s+8|0,o=s;do if((v2(r)|0)>=2){if(i=JT(r)|0,i=(mg0(r)|0)+i|0,n=e[t>>2]|0,n){if(n>>>0>2){switch(n|0){case 3:{n=oE(r,1)|0;break}case 4:{n=oE(r,0)|0;break}case 6:case 5:{n=0;break}case 10:case 9:case 7:case 8:case 14:case 13:case 11:case 12:{Tg0(r,n)|0,n=0;break}case 15:{n=oE(r,-1)|0;break}default:e[l>>2]=e[t+4>>2],$0(0,93e3,l)|0,n=0}i=n+i|0;break}if(gg0(r)|0){qT(),r0(e[46845]|0),e[46845]=0;break}yg0(r),(e[t>>2]|0)==2?n=Cg0()|0:n=Eg0()|0,n|0&&Bg0(),qT(),r0(e[46845]|0),e[46845]=0,i=n+i|0}}else i=0;while(0);return g=s,i|0}function mg0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=g,g=g+48|0,s=f+24|0,o=f+16|0,A=f,t=he(r,140742)|0;e:do if(t|0&&(c=A+8|0,e[o>>2]=A,e[o+4>>2]=c,n=X2(t,105503,o)|0,(n|0)!=0)&&(l=+u[A>>3],!(+L0(+l)<1e-9))){if((n|0)!=1){if(i=+u[c>>3],+L0(+i)<1e-9){t=0;break}}else u[c>>3]=l,i=l;if(i==1&l==1)t=0;else for(t=U0(r)|0;;){if(!t){t=1;break e}s=e[(e[t+16>>2]|0)+132>>2]|0,u[s>>3]=+u[s>>3]*+u[A>>3],s=s+8|0,u[s>>3]=+u[s>>3]*+u[c>>3],t=X0(r,t)|0}}else t=0;while(0);return g=f,t|0}function gg0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(c=g,g=g+16|0,s=c,e[46854]=v2(r)|0,wy0(),e[46869]=_0((e[46854]|0)*96|0)|0,n=U0(r)|0,t=e[46869]|0,Gf(s,r),o=+x0[s>>2],l=+x0[s+4>>2],s=(C[s+8>>0]|0)==0,l=s?l:l*.013888888888888888,o=s?o:o*.013888888888888888,s=s?2:1,i=0;;){if((i|0)>=(e[46854]|0)){t=0;break}if(f=e[(e[n+16>>2]|0)+132>>2]|0,u[t+8>>3]=+u[f>>3],u[t+16>>3]=+u[f+8>>3],XY[s&3](t+40|0,n,o,l)|0){A=4;break}e[t+24>>2]=i,e[t+28>>2]=1,e[t>>2]=n,e[t+88>>2]=0,t=t+96|0,i=i+1|0,n=X0(r,n)|0}return(A|0)==4&&(r0(e[46869]|0),e[46869]=0,t=1),g=c,t|0}function qT(){var r=0,t=0;for(r=e[46869]|0,t=0;!((t|0)>=(e[46854]|0));)Jy0(r+40|0),r=r+96|0,t=t+1|0;Hy0(),CF(),r0(e[46869]|0)}function yg0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(w=g,g=g+32|0,c=w+16|0,f=w,p=e[46869]|0,l=+u[p+8>>3],A=+u[p+16>>3],n=e[46854]|0,t=p,i=1,o=+u[p+40>>3]+l,l=+u[p+56>>3]+l,s=+u[p+48>>3]+A,A=+u[p+64>>3]+A;!((i|0)>=(n|0));)E=+u[t+104>>3],v=+u[t+112>>3],B=+u[t+136>>3]+E,m=+u[t+144>>3]+v,E=+u[t+152>>3]+E,v=+u[t+160>>3]+v,t=t+96|0,i=i+1|0,o=Bl?E:l,s=mA?v:A;t=he(r,93100)|0,t|0&&C[t>>0]|0&&(u[173]=+Fl(t)),E=+u[173],B=E*(A-s),E=E*(l-o),u[c>>3]=o-E,u[c+8>>3]=s-B,u[f>>3]=E+l,u[f+8>>3]=B+A,bT(c,f),g=w}function Cg0(){var r=0,t=0,i=0,n=0;if(i=g,g=g+16|0,t=i,Up(0)|0){$T(),r=0;do Wg0(),r=r+1|0;while(Up(r)|0);r=1}else r=0;return g=i,r|0}function Eg0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0;if(A=g,g=g+16|0,s=A+8|0,l=A,t=Up(0)|0,!t)r=0;else{for($T(),KT(0),eP(0,1),r=0,n=0,i=0;xg0(),i=i+1|0,o=Up(i)|0,!!o;)t=(o|0)<(t|0)?0:n+1|0,e[46846]=1,t&&(Sg0(),r=r+1|0),KT(1),eP(0,1),n=t,t=o;_g0(),r=1}return g=A,r|0}function Bg0(){var r=0,t=0,i=0,n=0;for(i=e[46854]|0,r=e[46869]|0,t=0;!((t|0)>=(i|0));)n=e[(e[(e[r>>2]|0)+16>>2]|0)+132>>2]|0,u[n>>3]=+u[r+8>>3],u[n+8>>3]=+u[r+16>>3],r=r+96|0,t=t+1|0}function Up(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(E=g,g=g+48|0,v=E+24|0,p=E+8|0,m=E,i=e[46869]|0,n=e[46854]|0,t=0;;){if((t|0)>=(n|0)){o=0,t=0;break}e[i+(t*96|0)+32>>2]=0,t=t+1|0}e:for(;!((t|0)>=(n+-1|0));)for(w=i+96|0,t=t+1|0,c=i+8|0,f=i+40|0,A=i+32|0,l=w,s=t;;){if((s|0)>=(n|0)){i=w;continue e}n=l+8|0,e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],e[v>>2]=e[n>>2],e[v+4>>2]=e[n+4>>2],e[v+8>>2]=e[n+8>>2],e[v+12>>2]=e[n+12>>2],$y0(p,f,v,l+40|0)|0?(e[A>>2]=1,e[l+32>>2]=1,i=o+1|0):i=o,l=l+96|0,s=s+1|0,o=i,n=e[46854]|0}return g=E,o|0}function $T(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;eF(),c=e[46848]|0,f=e[46869]|0,r=e[46845]|0;e:for(;s=r,!(r>>>0>=c>>>0);){if(t=r+4|0,t>>>0>=c>>>0){r=t;continue}if(o=e[t>>2]|0,i=e[r>>2]|0,l=+u[i>>3],+u[o>>3]!=l){r=t;continue}if(n=+u[i+8>>3],+u[o+8>>3]!=n){r=t;continue}for(A=r+8|0,o=2;!(A>>>0>=c>>>0);){if(i=e[A>>2]|0,+u[i>>3]!=l){w=11;break}if(+u[i+8>>3]!=n){w=11;break}A=A+4|0,o=o+1|0}if((w|0)==11&&(w=0,i=e[A>>2]|0,+u[i+8>>3]==n))for(n=(+u[i>>3]-l)/+(o|0),i=(((A>>>0>t>>>0?A:t)+-1+(0-s)|0)>>>2)+1|0,r=1;;){if((r|0)==(i|0)){r=A;continue e}s=e[t>>2]|0,u[s>>3]=+u[s>>3]+n*+(r|0),r=r+1|0,t=t+4|0}for(;;){if(t>>>0>=A>>>0){r=A;continue e}o=e[r>>2]|0,p=e[o+16>>2]|0,s=e[t>>2]|0,i=e[s+16>>2]|0,u[s>>3]=(+u[f+(p*96|0)+56>>3]-+u[f+(p*96|0)+40>>3]+ +u[f+(i*96|0)+56>>3]-+u[f+(i*96|0)+40>>3])*.5+ +u[o>>3],t=t+4|0,r=r+4|0}}}function KT(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(r|0&&eF(),s=e[46845]|0,A=e[s>>2]|0,i=+u[A>>3],u[23272]=i,c=e[46854]|0,o=1,l=+u[A>>3];!((o|0)>=(c|0));)r=e[s+(o<<2)>>2]|0,t=+u[r>>3],t>3]):(n=t,t=i),o=o+1|0,i=t,l=n>l?n:l;n=+u[A+8>>3],u[23273]=n,u[23275]=+u[(e[s+(c+-1<<2)>>2]|0)+8>>3]-n,u[23274]=l-i}function Ig0(){var r=0;return r=e[46847]|0,r>>>0<(e[46848]|0)>>>0?(e[46847]=r+4,r=e[r>>2]|0):r=0,r|0}function xg0(){var r=0,t=0,i=0;for(r=e[46869]|0,zg0(),i=(e[46846]|0)==0,t=0;!((t|0)>=(e[46854]|0));)i&&!(e[r+32>>2]|0)||Lg0(r),r=r+96|0,t=t+1|0}function Sg0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;r=g,g=g+32|0,i=r+16|0,t=r,c=+u[23268],A=+u[23266],s=+u[23269],o=+u[23267],n=(A-o)*.05,l=(c-s)*.05,u[t>>3]=l+c,u[t+8>>3]=A+n,u[i>>3]=s-l,u[i+8>>3]=o-n,bT(i,t),g=r}function _g0(){vy0(),gy0(),KF(),hF()}function bT(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=+u[r>>3],u[23269]=l,o=+u[t>>3],u[23268]=o,i=+u[r+8>>3],u[23267]=i,n=+u[t+8>>3],u[23266]=n,u[23258]=l,u[23260]=l,u[23262]=o,u[23264]=o,u[23265]=n,u[23261]=n,u[23263]=i,u[23259]=i}function zg0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;for(w=e[46869]|0,l=w+8|0,o=+JA(l,186064),n=+JA(l,186080),i=+JA(l,186096),r=1,t=+JA(l,186112),l=w,s=w,A=w,c=w;f=w+96|0,!((r|0)>=(e[46854]|0));)E=w+104|0,B=+JA(E,186064),p=B>2]|0,p=c+8|0,t=0,i=0,n=0,c=e[c>>2]|0;o=e[c>>2]|0,!!o;)B=c+8|0,E=o+8|0,e[l>>2]=e[p>>2],e[l+4>>2]=e[p+4>>2],e[l+8>>2]=e[p+8>>2],e[l+12>>2]=e[p+12>>2],e[s>>2]=e[B>>2],e[s+4>>2]=e[B+4>>2],e[s+8>>2]=e[B+8>>2],e[s+12>>2]=e[B+12>>2],e[A>>2]=e[E>>2],e[A+4>>2]=e[E+4>>2],e[A+8>>2]=e[E+8>>2],e[A+12>>2]=e[E+12>>2],m=+Rg0(l,s,A),e[l>>2]=e[p>>2],e[l+4>>2]=e[p+4>>2],e[l+8>>2]=e[p+8>>2],e[l+12>>2]=e[p+12>>2],e[s>>2]=e[B>>2],e[s+4>>2]=e[B+4>>2],e[s+8>>2]=e[B+8>>2],e[s+12>>2]=e[B+12>>2],e[A>>2]=e[E>>2],e[A+4>>2]=e[E+4>>2],e[A+8>>2]=e[E+8>>2],e[A+12>>2]=e[E+12>>2],Gg0(l,s,A,f,w),t=+u[w>>3]*m+t,i=+u[f>>3]*m+i,n=m+n,c=o;u[r+8>>3]=i/n,u[r+16>>3]=t/n,g=v}function Rg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return n=+u[t+8>>3],l=+u[i+8>>3],o=+u[r+8>>3],+(+L0(+((l-o)*+u[t>>3]+(n-l)*+u[r>>3]+ +u[i>>3]*(o-n)))*.5)}function Gg0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,u[n>>3]=(+u[t>>3]+ +u[r>>3]+ +u[i>>3])*.3333333333333333,u[o>>3]=(+u[t+8>>3]+ +u[r+8>>3]+ +u[i+8>>3])*.3333333333333333}function eF(){var r=0,t=0,i=0,n=0;for(r=e[46845]|0,r||(r=_0(e[46854]<<2)|0,e[46845]=r,e[46848]=r+(e[46854]<<2)),i=e[46869]|0,CF(),n=e[46854]|0,t=0;!((t|0)>=(n|0));)e[r>>2]=i+8,e[i+88>>2]=0,e[i+28>>2]=1,i=i+96|0,r=r+4|0,t=t+1|0;ei(e[46845]|0,n,4,69),e[46847]=e[46845]}function Zg0(r,t){r=r|0,t=t|0;var i=0,n=0;return r=e[r>>2]|0,t=e[t>>2]|0,i=+u[r+8>>3],n=+u[t+8>>3],in?r=1:(n=+u[r>>3],i=+u[t>>3],ni&1),r|0}function Wg0(){var r=0,t=0,i=0,n=0;for(i=e[46854]|0,r=0,t=e[46869]|0;!((r|0)>=(i|0));)n=t+8|0,u[n>>3]=+u[n>>3]*1.05,n=t+16|0,u[n>>3]=+u[n>>3]*1.05,r=r+1|0,t=t+96|0}function Gf(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;s=g,g=g+48|0,l=s,o=s+24|0,i=he(t,93112)|0,i|0&&Xp(i,o,1,0)|0||(n=3);do if((n|0)==3){if(t=he(t,93116)|0,t|0&&Xp(t,o,.800000011920929,4)|0)break;x0[o+4>>2]=4,x0[o>>2]=4,C[o+8>>0]=1}while(0);e[r>>2]=e[o>>2],e[r+4>>2]=e[o+4>>2],e[r+8>>2]=e[o+8>>2],g=s}function Xp(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(w=g,g=g+16|0,c=w,s=w+12|0,A=w+8|0;o=C[r>>0]|0,l=r+1|0,cn(o<<24>>24)|0;)r=l;switch(p=o<<24>>24==43,o=t+8|0,C[o>>0]=p&1,e[c>>2]=s,e[c+4>>2]=A,X2(p?l:r,93154,c)|0){case 0:{r=0;break}case 1:{e[A>>2]=e[s>>2],f=5;break}default:f=5}if((f|0)==5){do if(C[o>>0]|0){if(i>1){v=+x0[s>>2]/i,x0[t>>2]=v>n?n:v,i=+x0[A>>2]/i,i=i>n?n:i;break}if(i<1){v=+x0[s>>2]/i,x0[t>>2]=v>2]/i,i=i>2]=e[s>>2],i=+x0[A>>2];break}}else x0[t>>2]=+x0[s>>2]/i+1,i=+x0[A>>2]/i+1;while(0);x0[t+4>>2]=i,r=1}return g=w,r|0}function rF(r,t){r=r|0,t=t|0;var i=0,n=0;return n=g,g=g+32|0,i=n,(v2(r)|0)<2?r=0:(XT(r,t,i)|0,r=Rf(r,i)|0),g=n,r|0}function Uh(r){return r=r|0,rF(r,he(r,92507)|0)|0}function Dg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;s=g,g=g+48|0,l=s,o=s+24|0,i=he(t,93116)|0,i|0&&Xp(i,o,1,0)|0||(n=3);do if((n|0)==3){if(t=he(t,93112)|0,t|0&&Xp(t,o,1.25,3.200000047683716)|0)break;x0[o+4>>2]=3.200000047683716,x0[o>>2]=3.200000047683716,C[o+8>>0]=1}while(0);e[r>>2]=e[o>>2],e[r+4>>2]=e[o+4>>2],e[r+8>>2]=e[o+8>>2],g=s}function Zf(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(v=g,g=g+16|0,p=v,l=0;!((l|0)>=(i|0));)e[n+(l<<2)>>2]=-1,l=l+1|0;e[n+(r<<2)>>2]=0,Mg0(o,r);e:do if(e[t+8>>2]|0){l=2147483647;r:for(;;){if(!((tF(o,p)|0)<<24>>24))break e;for(c=e[p>>2]|0,l=e[n+(c<<2)>>2]|0,s=t+(c*20|0)|0,A=t+(c*20|0)+4|0,c=t+(c*20|0)+8|0,r=1;;){if((r|0)>=(e[s>>2]|0))continue r;f=e[(e[A>>2]|0)+(r<<2)>>2]|0,w=n+(f<<2)|0,(e[w>>2]|0)<0&&(e[w>>2]=l+~~+x0[(e[c>>2]|0)+(r<<2)>>2],iF(o,f)|0),r=r+1|0}}}else{l=2147483647;r:for(;;){if(!((tF(o,p)|0)<<24>>24))break e;for(A=e[p>>2]|0,l=e[n+(A<<2)>>2]|0,s=t+(A*20|0)|0,A=t+(A*20|0)+4|0,c=l+1|0,r=1;;){if((r|0)>=(e[s>>2]|0))continue r;f=e[(e[A>>2]|0)+(r<<2)>>2]|0,w=n+(f<<2)|0,(e[w>>2]|0)<0&&(e[w>>2]=c,iF(o,f)|0),r=r+1|0}}}while(0);for(r=l+10|0,l=0;!((l|0)>=(i|0));)s=n+(l<<2)|0,(e[s>>2]|0)<0&&(e[s>>2]=r),l=l+1|0;g=v}function Mg0(r,t){r=r|0,t=t|0,e[e[r>>2]>>2]=t,e[r+12>>2]=0,e[r+8>>2]=1}function tF(r,t){r=r|0,t=t|0;var i=0,n=0;return i=r+12|0,n=e[i>>2]|0,(n|0)<(e[r+8>>2]|0)?(r=e[r>>2]|0,e[i>>2]=n+1,e[t>>2]=e[r+(n<<2)>>2],r=1):r=0,r|0}function iF(r,t){r=r|0,t=t|0;var i=0,n=0;return i=r+8|0,n=e[i>>2]|0,(n|0)<(e[r+4>>2]|0)?(r=e[r>>2]|0,e[i>>2]=n+1,e[r+(n<<2)>>2]=t,r=1):r=0,r|0}function Xh(r,t){r=r|0,t=t|0,e[r>>2]=_0(t<<2)|0,e[r+4>>2]=t,e[r+8>>2]=0,e[r+12>>2]=0}function qp(r){r=r|0,r0(e[r>>2]|0)}function nF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;for(l=0;!((l|0)>=(r|0));){for(s=t+(l<<2)|0,o=0,n=0;(o|0)!=(r|0);)(l|0)!=(o|0)&&(n=+u[(e[s>>2]|0)+(o<<3)>>3]+n),o=o+1|0;u[(e[s>>2]|0)+(l<<3)>>3]=-n,l=l+1|0}return Dy0(t,i,r+-1|0)|0}function jg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(A=PA(t,t,0)|0,c=PA(t,t,0)|0,n=U0(r)|0;n;){for(i=Xr(r,n)|0;i;)l=e[i>>2]&3,o=(e[e[((l|0)==3?i:i+48|0)+40>>2]>>2]|0)>>>4,l=(e[e[((l|0)==2?i:i+-48|0)+40>>2]>>2]|0)>>>4,(o|0)!=(l|0)&&(f=-1/+u[(e[i+16>>2]|0)+136>>3],u[(e[A+(l<<2)>>2]|0)+(o<<3)>>3]=f,u[(e[A+(o<<2)>>2]|0)+(l<<3)>>3]=f),i=ot(r,i,n)|0;n=X0(r,n)|0}s=nF(t,A,c)|0;e:do if(s|0)for(o=r+16|0,n=0;;){if((n|0)>=(t|0))break e;for(l=c+(n<<2)|0,i=0;(i|0)!=(t|0);)r=e[l>>2]|0,u[(e[(e[(e[o>>2]|0)+160>>2]|0)+(n<<2)>>2]|0)+(i<<3)>>3]=+u[(e[c+(i<<2)>>2]|0)+(i<<3)>>3]+ +u[r+(n<<3)>>3]+ +u[r+(i<<3)>>3]*-2,i=i+1|0;n=n+1|0}while(0);return YA(A),YA(c),s|0}function Ng0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(z=g,g=g+16|0,f=z,v=n<<3,m=_0(v)|0,E=_0(v)|0,B=_0(v)|0,w=_0(v)|0,p=_0(v)|0,v=_0(v)|0,nk(n,i,v),qA(n,v),qA(n,t),DF(r,n,t,w),tk(n,v,w,m),nk(n,m,E),c=l+-1|0,i=0,s=+Mf(n,m,m);;){if((i|0)>=(l|0)){i=0;break}if(!(+jF(n,m)>o)){i=0;break}if(DF(r,n,E,B),A=+Mf(n,E,B),A==0){i=0;break}if(A=s/A,Df(n,E,A,p),ik(n,t,p,t),(i|0)<(c|0)){if(Df(n,B,A,B),tk(n,m,B,m),A=+Mf(n,m,m),s==0){x=7;break}Df(n,E,A/s,E),ik(n,m,E,E),s=A}i=i+1|0}return(x|0)==7&&($0(1,93242,f)|0,i=1),r0(m),r0(E),r0(B),r0(w),r0(p),r0(v),g=z,i|0}function oF(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;for(z=g,g=g+16|0,f=z,m=n<<3,E=_0(m)|0,B=_0(m)|0,w=_0(m)|0,p=_0(m)|0,v=_0(m)|0,m=_0(m)|0,nk(n,i,m),s<<24>>24&&(qA(n,m),qA(n,t)),MF(r,n,t,p),tk(n,m,p,E),nk(n,E,B),s=l+-1|0,i=0,A=+Mf(n,E,E);;){if((i|0)>=(l|0)){i=0;break}if(!(+jF(n,E)>o)){i=0;break}if(MF(r,n,B,w),c=+Mf(n,B,w),c==0){i=0;break}if(c=A/c,Df(n,B,c,v),ik(n,t,v,t),(i|0)<(s|0)){if(Df(n,w,c,w),tk(n,E,w,E),c=+Mf(n,E,E),A==0){x=9;break}Df(n,B,c/A,B),ik(n,E,B,B),A=c}i=i+1|0}return(x|0)==9&&($0(1,93242,f)|0,i=1),r0(E),r0(B),r0(w),r0(p),r0(v),r0(m),g=z,i|0}function tE(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(B=g,g=g+16|0,f=B,w=n<<2,p=j0(w)|0,v=j0(w)|0,m=j0(w)|0,w=j0(w)|0,$A(n,t),$A(n,i),jf(r,n,t,w),$A(n,w),Qy0(n,i,w,p),QF(n,p,v),c=l+-1|0,i=0,s=+Wa(n,p,p);;){if((i|0)>=(l|0)){i=0;break}if(!(+Fy0(n,p)>o)){i=0;break}if($A(n,v),$A(n,t),$A(n,p),jf(r,n,v,m),$A(n,m),A=+Wa(n,v,m),A==0){i=0;break}if(A=s/A,ok(n,t,A,v),(i|0)<(c|0)){if(ok(n,p,-A,m),A=+Wa(n,p,p),s==0){E=7;break}Ty0(n,v,A/s,v),pE(n,p,v,v),s=A}i=i+1|0}return(E|0)==7&&($0(1,93242,f)|0,i=1),r0(p),r0(v),r0(m),r0(w),g=B,i|0}function Qg0(r,t,i,n,o,l,s,A,c,f){r=r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m=m+1|0}while(0);(l|0)==2&&s90(r,t,_,Z,+u[23294])|0?(p=0,w=-1):H=33}else p=0,w=-1}else aT(r,t,l,n,o)|0,MZ(r,t,.01,.1,0,t0,Y,F)|0?(p=0,w=-1):H=33;r:do if((H|0)==33){if((t|0)==1){w=0;break e}if(q=_0(e[F>>2]<<2)|0,!c){w=0;break e}switch(A|0){case 2:{w=hT(r,t)|0,H=46;break}case 1:{w=cT(r,t)|0,w?U=w:($0(0,93315,T)|0,$0(3,93364,D)|0,H=47);break}case 3:{w=fT(r,t)|0,H=46;break}default:H=47}(H|0)==46&&(w?U=w:H=47),(H|0)==47&&(U=VC(r,t)|0),r=t+-1|0,Z=(N0(r,t)|0)/2|0,P=Z+t|0;t:do if(!W){for(v=1,p=0;!((p|0)>=(l|0));){for(m=n+(p<<2)|0,w=0;!((w|0)>=(t|0));)N=+L0(+ +u[(e[m>>2]|0)+(w<<3)>>3]),v=N>v?N:v,w=w+1|0;p=p+1|0}for(v=1/v,p=0;;){if((p|0)>=(l|0))break t;for(m=n+(p<<2)|0,w=0;!((w|0)>=(t|0));)D=(e[m>>2]|0)+(w<<3)|0,u[D>>3]=+u[D>>3]*(10*v),w=w+1|0;p=p+1|0}}while(0);t:do if(f>0){z=+(Z|0),w=0,v=0,E=0;i:for(;!((E|0)>=(r|0));)for(B=E+1|0,m=w,p=B;;){if(w=m+1|0,(p|0)>=(t|0)){E=B;continue i}N=+IF(n,l,E,p),m=w,v=N/+x0[U+(w<<2)>>2]+v,p=p+1|0}for(v=v/z,w=0;;){if((w|0)>=(P|0)){w=0;break t}D=U+(w<<2)|0,x0[D>>2]=+x0[D>>2]*v,w=w+1|0}}else w=0;while(0);for(;!((w|0)>=(l|0));)qA(t,e[n+(w<<2)>>2]|0),w=w+1|0;for(p=e[n+4>>2]|0,v=+u[p>>3],w=0;!((w|0)>=(t|0));)D=p+(w<<3)|0,u[D>>3]=+u[D>>3]-v,w=w+1|0;for(x=l<<2,D=_0(x)|0,L=t<<2,_=N0(L,l)|0,m=_0(_)|0,w=0;!((w|0)>=(l|0));){for(E=m+((N0(w,t)|0)<<2)|0,e[D+(w<<2)>>2]=E,B=n+(w<<2)|0,p=0;!((p|0)>=(t|0));)x0[E+(p<<2)>>2]=+u[(e[B>>2]|0)+(p<<3)>>3],p=p+1|0;w=w+1|0}for(z=+(Z|0),lk(P,U),FF(P,U),T=_0(t<<3)|0,TF(t,0,T),w=0,m=0;;){if((m|0)>=(r|0)){w=t,p=0,m=0;break}for(E=t-m|0,v=0,p=1;w=w+1|0,!((p|0)>=(E|0));)N=+x0[U+(w<<2)>>2],X=T+(p+m<<3)|0,u[X>>3]=+u[X>>3]-N,v=v+N,p=p+1|0;X=T+(m<<3)|0,u[X>>3]=+u[X>>3]-v,m=m+1|0}for(;!((p|0)>=(t|0));)x0[U+(m<<2)>>2]=+u[T+(p<<3)>>3],X=w+m|0,w=w+-1|0,p=p+1|0,m=X;for(A=_0(x)|0,e[A>>2]=_0(_)|0,w=1;!((w|0)>=(l|0));)e[A+(w<<2)>>2]=(e[A>>2]|0)+((N0(w,t)|0)<<2),w=w+1|0;for(W=_0(L)|0,o=_0(L)|0,s=_0(P<<2)|0,p=$F(U,t)|0,i=n90(U,t,e[t0>>2]|0,e[Y>>2]|0,e[F>>2]|0)|0,Z=A+4|0,m=0,N=17976931348623157e292,w=0;m<<24>>24==0&(w|0)<(c|0);){for(TF(t,0,T),PF(P,U,s),_=0,B=0;;){if((_|0)>=(r|0)){m=0,E=t,B=0;break}for(L=t-_+-1|0,Kh(t,0,o),m=0;!((m|0)>=(l|0));)F=D+(m<<2)|0,Kh(L,+x0[(e[F>>2]|0)+(_<<2)>>2],W),ok(L,W,-1,(e[F>>2]|0)+(_<<2)+4|0),lk(L,W),pE(L,W,o,o),m=m+1|0;for(YF(L,o),m=0;!((m|0)>=(L|0));)E=o+(m<<2)|0,v=+x0[E>>2],v>=34028234663852886e22|v<0&&(x0[E>>2]=0),m=m+1|0;for(x=_+1|0,v=0,m=B,E=0;m=m+1|0,!((E|0)>=(L|0));)F=s+(m<<2)|0,k0=+x0[F>>2]*+x0[o+(E<<2)>>2],x0[F>>2]=k0,F=T+(x+E<<3)|0,u[F>>3]=+u[F>>3]-k0,v=v+k0,E=E+1|0;B=T+(_<<3)|0,u[B>>3]=+u[B>>3]-v,_=x,B=m}for(;;){if((m|0)>=(t|0)){m=0;break}x0[s+(B<<2)>>2]=+u[T+(m<<3)>>3],F=E+B|0,m=m+1|0,E=E+-1|0,B=F}for(;;){if((m|0)>=(l|0)){v=0,m=0;break}jf(s,t,e[D+(m<<2)>>2]|0,e[A+(m<<2)>>2]|0),m=m+1|0}for(;!((m|0)>=(l|0));)v=+Wa(t,e[D+(m<<2)>>2]|0,e[A+(m<<2)>>2]|0)+v,m=m+1|0;for(v=v*2+z,m=0;!((m|0)>=(l|0));)F=D+(m<<2)|0,jf(U,t,e[F>>2]|0,W),v=v-+Wa(t,e[F>>2]|0,W),m=m+1|0;for(k0=+L0(+(v-N))/+L0(+(N+1e-10)),m=((w|0)>1&v>N|k0<+u[23294])&1,E=0;!((E|0)>=(l|0));){if((E|0)!=1){if(tE(U,e[D+(E<<2)>>2]|0,e[A+(E<<2)>>2]|0,t,.001,t)|0){w=-1;break r}}else e90(i,e[Z>>2]|0,D,l,1,15,q,f)|0;E=E+1|0}N=v,w=w+1|0}if(r0(q),i90(i),D|0){for(m=0;!((m|0)>=(l|0));){for(B=D+(m<<2)|0,x=n+(m<<2)|0,E=0;!((E|0)>=(t|0));)u[(e[x>>2]|0)+(E<<3)>>3]=+x0[(e[B>>2]|0)+(E<<2)>>2],E=E+1|0;m=m+1|0}r0(e[D>>2]|0),r0(D)}A|0&&(r0(e[A>>2]|0),r0(A)),r0(W),r0(o),r0(T),r0(U),r0(s)}while(0);r0(e[t0>>2]|0),r0(e[Y>>2]|0),p&&(r0(e[p>>2]|0),r0(p))}else H=10}else H=10;while(0);return(H|0)==10&&(w=Pp(r,t,i,n,o,l,s,A,c)|0),g=a0,w|0}function Tg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(f=g,g=g+48|0,o=f+24|0,l=f+12|0,i=f,s=v2(r)|0,c=_0(s*48|0)|0,Gf(i,r),e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],i=U0(r)|0,n=c;i;)e[o>>2]=e[l>>2],e[o+4>>2]=e[l+4>>2],e[o+8>>2]=e[l+8>>2],Fg0(i,n,o),i=X0(r,i)|0,n=n+48|0;e:do if(!(Pg0(c,s)|0))i=0;else{switch(t|0){case 9:{OA(r,c,s,70,1),HA(r,c,s,71,1),i=0,n=c;break}case 10:{HA(r,c,s,71,1),OA(r,c,s,70,1),i=0,n=c;break}case 7:{OA(r,c,s,72,1),HA(r,c,s,71,1),A=9;break}case 8:{A=9;break}case 13:{A=10;break}case 14:{HA(r,c,s,71,0),OA(r,c,s,70,0),i=0,n=c;break}case 12:{HA(r,c,s,73,0),OA(r,c,s,70,0),i=0,n=c;break}default:OA(r,c,s,72,0),HA(r,c,s,71,0),i=0,n=c}for((A|0)==9&&(HA(r,c,s,73,1),OA(r,c,s,70,1),A=10),(A|0)==10&&(OA(r,c,s,70,0),HA(r,c,s,71,0),i=0,n=c);;){if((i|0)>=(s|0)){i=1;break e}l=e[n+16>>2]|0,A=e[(e[(e[n+20>>2]|0)+16>>2]|0)+132>>2]|0,u[A>>3]=+(e[n+12>>2]|0)*.0013888888888888887,u[A+8>>3]=+(l|0)*.0013888888888888887,i=i+1|0,n=n+48|0}}while(0);return r0(c),g=f,i|0}function Fg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;n=e[r+16>>2]|0,s=e[n+132>>2]|0,A=+u[s>>3]*720,l=~~(A+(A>=0?.5:-.5)),A=+u[s+8>>3]*720,s=~~(A+(A>=0?.5:-.5)),C[i+8>>0]|0?(A=+u[n+32>>3]*36,c=+u[n+40>>3]*36,o=~~((+x0[i>>2]+ +(~~(A+(A>=0?.5:-.5))|0))*10),n=~~((+x0[i+4>>2]+ +(~~(c+(c>=0?.5:-.5))|0))*10)):(c=+u[n+32>>3]*72*(+x0[i>>2]*5),A=+u[n+40>>3]*72*(+x0[i+4>>2]*5),o=~~(c+(c>=0?.5:-.5)),n=~~(A+(A>=0?.5:-.5))),e[t+12>>2]=l,e[t+16>>2]=s,e[t+20>>2]=r,e[t+32>>2]=l-o,e[t+36>>2]=s-n,e[t+40>>2]=o+l,e[t+44>>2]=n+s}function Pg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=t+-1|0,i=0;e:for(;;){if((i|0)>=(f|0)){r=0;break}for(c=r+48|0,i=i+1|0,l=r+32|0,s=r+40|0,A=r+36|0,o=r+44|0,r=c,n=i;;){if((n|0)>=(t|0)){r=c;continue e}if((e[l>>2]|0)<=(e[r+40>>2]|0)&&(e[r+32>>2]|0)<=(e[s>>2]|0)&&(e[A>>2]|0)<=(e[r+44>>2]|0)&&(e[r+36>>2]|0)<=(e[o>>2]|0)){r=1;break e}r=r+48|0,n=n+1|0}}return r|0}function Yg0(r,t){return r=r|0,t=t|0,(e[r+36>>2]|0)>(e[t+44>>2]|0)?r=0:r=(e[t+36>>2]|0)<=(e[r+44>>2]|0)&1,r|0}function OA(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(A=ct(18168,e[4584]|0)|0,l=t,s=0;!((s|0)>=(i|0));)e[l+8>>2]=e[l+12>>2],oe[e[A>>2]&63](A,l,1)|0,l=l+48|0,s=s+1|0;for(o?s=lF(A,n,74)|0:s=sF(r,A,n,74)|0,Ea(s,2,2147483647)|0,l=0;!((l|0)>=(i|0));)o=t+12|0,r=e[(e[(e[t+24>>2]|0)+16>>2]|0)+232>>2]|0,n=r-(e[o>>2]|0)|0,e[o>>2]=r,o=t+32|0,e[o>>2]=(e[o>>2]|0)+n,o=t+40|0,e[o>>2]=(e[o>>2]|0)+n,t=t+48|0,l=l+1|0;AF(s),Fr(A)|0}function Vg0(r,t){return r=r|0,t=t|0,(e[r+32>>2]|0)>(e[t+40>>2]|0)?r=0:r=(e[t+32>>2]|0)<=(e[r+40>>2]|0)&1,r|0}function HA(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(A=ct(18168,e[4584]|0)|0,l=t,s=0;!((s|0)>=(i|0));)e[l+8>>2]=e[l+16>>2],oe[e[A>>2]&63](A,l,1)|0,l=l+48|0,s=s+1|0;for(o?s=lF(A,n,75)|0:s=sF(r,A,n,75)|0,Ea(s,2,2147483647)|0,l=0;!((l|0)>=(i|0));)o=t+16|0,r=e[(e[(e[t+24>>2]|0)+16>>2]|0)+232>>2]|0,n=r-(e[o>>2]|0)|0,e[o>>2]=r,o=t+36|0,e[o>>2]=(e[o>>2]|0)+n,o=t+44|0,e[o>>2]=(e[o>>2]|0)+n,t=t+48|0,l=l+1|0;AF(s),Fr(A)|0}function Og0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=r+32|0,n=t+32|0,(e[r+36>>2]|0)<=(e[t+44>>2]|0)&&(e[t+36>>2]|0)<=(e[r+44>>2]|0)?(e[r+40>>2]|0)<(e[n>>2]|0)?r=1:(l=nE(i,n)|0,l=l-(e[t+12>>2]|0)+(e[r+12>>2]|0)|0,t=e[t+16>>2]|0,r=e[r+16>>2]|0,o=(t|0)<(r|0),n=iE(i,n)|0,r=(l|0)<=(n-(o?r:t)+(o?t:r)|0)&1):r=0,r|0}function Hg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return i=r+32|0,n=t+32|0,(e[i>>2]|0)<=(e[t+40>>2]|0)&&(e[n>>2]|0)<=(e[r+40>>2]|0)?(e[r+44>>2]|0)<(e[t+36>>2]|0)?r=1:(l=iE(i,n)|0,l=l-(e[t+16>>2]|0)+(e[r+16>>2]|0)|0,t=e[t+12>>2]|0,r=e[r+12>>2]|0,o=(t|0)<(r|0),n=nE(i,n)|0,r=(l|0)<=(n-(o?r:t)+(o?t:r)|0)&1):r=0,r|0}function iE(r,t){return r=r|0,t=t|0,((e[r+12>>2]|0)-(e[r+4>>2]|0)+(e[t+12>>2]|0)-(e[t+4>>2]|0)|0)/2|0|0}function nE(r,t){return r=r|0,t=t|0,((e[r+8>>2]|0)-(e[r>>2]|0)+(e[t+8>>2]|0)-(e[t>>2]|0)|0)/2|0|0}function lF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(L=g,g=g+16|0,z=L,C[z>>0]=C[18588]|0,C[z+1>>0]=C[18589]|0,C[z+2>>0]=C[18590]|0,C[z+3>>0]=C[18591]|0,_=w1(93515,z,0)|0,$e(_,137483,280,1)|0,n=Mt(r)|0,o=-2147483647,x=0;n;)E=e[n+8>>2]|0,B=x+((o|0)!=(E|0)&1)|0,n=e[n>>2]|0,o=E,x=B;for(E=_+16|0,B=(x<<3)+-4|0,f=0,s=0,n=0,o=0,c=0,m=Mt(r)|0,l=-2147483647;m;)v=e[m+8>>2]|0,(l|0)!=(v|0)?(p=ht(_,te(e[m+20>>2]|0)|0,1)|0,$e(p,137447,304,1)|0,w=p+16|0,n=e[w>>2]|0,e[n+112>>2]=m,o?(e[(e[f+16>>2]|0)+164>>2]=p,f=o):(e[(e[E>>2]|0)+192>>2]=p,f=p),e[n+176>>2]=0,A=s+1|0,l=j0(A<<2)|0,e[(e[w>>2]|0)+172>>2]=l,c?(l=c+16|0,e[(e[l>>2]|0)+184>>2]=0,s=j0((c|0)==(f|0)?B:x-s<<2)|0,e[(e[l>>2]|0)+180>>2]=s,s=rr(_,c,p,0,1)|0,$e(s,137460,176,1)|0,n=e[s+16>>2]|0,$[n+170>>1]=10,e[n+156>>2]=1,n=e[l>>2]|0,o=e[n+180>>2]|0,o?n=Ve(o,(e[n+184>>2]<<2)+8|0)|0:n=_0((e[n+184>>2]<<2)+8|0)|0,c=e[l>>2]|0,e[c+180>>2]=n,c=c+184|0,o=e[c>>2]|0,e[c>>2]=o+1,e[n+(o<<2)>>2]=s,n=e[l>>2]|0,e[(e[n+180>>2]|0)+(e[n+184>>2]<<2)>>2]=0,n=e[w>>2]|0,o=e[n+172>>2]|0,o?n=Ve(o,(e[n+176>>2]<<2)+8|0)|0:n=_0((e[n+176>>2]<<2)+8|0)|0,o=e[w>>2]|0,e[o+172>>2]=n,o=o+176|0,c=e[o>>2]|0,e[o>>2]=c+1,e[n+(c<<2)>>2]=s,s=e[w>>2]|0,e[(e[s+172>>2]|0)+(e[s+176>>2]<<2)>>2]=0,s=A,A=p,c=p,n=p,o=f,l=v):(s=A,A=p,c=p,n=p,o=f,l=v)):(A=n,n=f),e[m+24>>2]=A,f=n,n=A,m=e[m>>2]|0;for(c=c+16|0,e[(e[c>>2]|0)+184>>2]=0,n=j0(4)|0,e[(e[c>>2]|0)+180>>2]=n,C[z>>0]=C[18588]|0,C[z+1>>0]=C[18589]|0,C[z+2>>0]=C[18590]|0,C[z+3>>0]=C[18591]|0,c=w1(93562,z,0)|0,n=Mt(r)|0;n;)z=ht(c,te(e[n+20>>2]|0)|0,1)|0,$e(z,137447,304,1)|0,e[n+28>>2]=z,e[(e[z+16>>2]|0)+112>>2]=n,n=e[n>>2]|0;n=0,A=Mt(r)|0,o=-2147483647;e:for(;A;){s=e[A+8>>2]|0;r:do if((o|0)==(s|0))s=o;else for(n=A;;){if(n=e[n>>2]|0,!n)break e;if((e[n+8>>2]|0)!=(s|0))break r}while(0);for(l=A+28|0,o=n;o;)ke[t&127](A,o)|0&&rr(c,e[l>>2]|0,e[o+28>>2]|0,0,1)|0,o=e[o>>2]|0;A=e[A>>2]|0,o=s}return Jg0(c,_,i),Di(c)|0,g=L,_|0}function sF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;for(E=g,g=g+16|0,m=E,C[m>>0]=C[18588]|0,C[m+1>>0]=C[18589]|0,C[m+2>>0]=C[18590]|0,C[m+3>>0]=C[18591]|0,m=w1(93515,m,0)|0,$e(m,137483,280,1)|0,A=m+16|0,o=Mt(t)|0,l=0;o;)s=ht(m,te(e[o+20>>2]|0)|0,1)|0,$e(s,137447,304,1)|0,p=s+16|0,f=e[p>>2]|0,e[f+112>>2]=o,e[o+24>>2]=s,e[f+176>>2]=0,f=j0(4)|0,w=e[p>>2]|0,e[w+172>>2]=f,e[w+184>>2]=0,w=j0(4)|0,e[(e[p>>2]|0)+180>>2]=w,l?e[(e[l+16>>2]|0)+164>>2]=s:e[(e[A>>2]|0)+192>>2]=s,o=e[o>>2]|0,l=s;c=Mt(t)|0;e:for(;c;){for(f=c+32|0,w=c+24|0,p=c+20|0,o=c;o=e[o>>2]|0,!!o;)if(ke[i&127](c,o)|0){if(l=ke[n&127](f,o+32|0)|0,s=rr(m,e[w>>2]|0,e[o+24>>2]|0,0,1)|0,$e(s,137460,176,1)|0,(l|0)>=65536){v=13;break e}A=s+16|0,B=e[A>>2]|0,$[B+170>>1]=l,e[B+156>>2]=1,s|0&&rr(r,e[p>>2]|0,e[o+20>>2]|0,0,0)|0&&(e[(e[A>>2]|0)+156>>2]=100)}c=e[c>>2]|0}for((v|0)==13&&H0(93518,93534,254,93547),c=Mt(t)|0;c;){for(A=e[c+24>>2]|0,f=A+16|0,A=Me(m,A)|0;A;)o=e[f>>2]|0,l=e[o+180>>2]|0,l?o=Ve(l,(e[o+184>>2]<<2)+8|0)|0:o=_0((e[o+184>>2]<<2)+8|0)|0,l=e[f>>2]|0,e[l+180>>2]=o,l=l+184|0,s=e[l>>2]|0,e[l>>2]=s+1,e[o+(s<<2)>>2]=A,s=e[f>>2]|0,e[(e[s+180>>2]|0)+(e[s+184>>2]<<2)>>2]=0,s=A+-48|0,o=e[(e[((e[A>>2]&3|0)==2?A:s)+40>>2]|0)+16>>2]|0,l=e[o+172>>2]|0,l?o=Ve(l,(e[o+176>>2]<<2)+8|0)|0:o=_0((e[o+176>>2]<<2)+8|0)|0,e[(e[(e[((e[A>>2]&3|0)==2?A:s)+40>>2]|0)+16>>2]|0)+172>>2]=o,n=e[(e[((e[A>>2]&3|0)==2?A:s)+40>>2]|0)+16>>2]|0,v=e[n+172>>2]|0,n=n+176|0,B=e[n>>2]|0,e[n>>2]=B+1,e[v+(B<<2)>>2]=A,B=e[(e[((e[A>>2]&3|0)==2?A:s)+40>>2]|0)+16>>2]|0,e[(e[B+172>>2]|0)+(e[B+176>>2]<<2)>>2]=0,A=Qe(m,A)|0;c=e[c>>2]|0}return g=E,m|0}function AF(r){r=r|0;var t=0,i=0,n=0,o=0;for(o=U0(r)|0;o;)i=o+16|0,t=e[i>>2]|0,n=e[t+172>>2]|0,n&&(r0(n),t=e[i>>2]|0),t=e[t+180>>2]|0,t|0&&r0(t),o=X0(r,o)|0;Di(r)|0}function Jg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(c=U0(r)|0;c;){for(p=e[(e[c+16>>2]|0)+112>>2]|0,w=e[p+24>>2]|0,p=p+32|0,v=w+16|0,f=Me(r,c)|0;f;)l=e[(e[(e[((e[f>>2]&3|0)==2?f:f+-48|0)+40>>2]|0)+16>>2]|0)+112>>2]|0,m=ke[i&127](p,l+32|0)|0,l=e[l+24>>2]|0,s=rr(t,w,l,0,1)|0,$e(s,137460,176,1)|0,A=s+16|0,n=e[A>>2]|0,e[n+156>>2]=1,o=$[n+170>>1]|0,(m|0)>(o&65535|0)&&(o<<16>>16||(n=e[v>>2]|0,o=e[n+180>>2]|0,o?n=Ve(o,(e[n+184>>2]<<2)+8|0)|0:n=_0((e[n+184>>2]<<2)+8|0)|0,E=e[v>>2]|0,e[E+180>>2]=n,E=E+184|0,o=e[E>>2]|0,e[E>>2]=o+1,e[n+(o<<2)>>2]=s,n=e[v>>2]|0,e[(e[n+180>>2]|0)+(e[n+184>>2]<<2)>>2]=0,l=l+16|0,n=e[l>>2]|0,o=e[n+172>>2]|0,o?n=Ve(o,(e[n+176>>2]<<2)+8|0)|0:n=_0((e[n+176>>2]<<2)+8|0)|0,o=e[l>>2]|0,e[o+172>>2]=n,o=o+176|0,E=e[o>>2]|0,e[o>>2]=E+1,e[n+(E<<2)>>2]=s,n=e[l>>2]|0,e[(e[n+172>>2]|0)+(e[n+176>>2]<<2)>>2]=0,n=e[A>>2]|0),$[n+170>>1]=m),f=Qe(r,f)|0;c=X0(r,c)|0}}function Ug0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,(e[t>>2]|0)-(e[i>>2]|0)|0}function oE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0;for(L=g,g=g+64|0,B=L+24|0,m=L+16|0,v=L+52|0,p=L+40|0,E=L,z=v2(r)|0,_=_0(z*72|0)|0,Gf(p,r),s=+x0[p>>2],A=+x0[p+4>>2],p=(C[p+8>>0]|0)!=0,s=p?s*.013888888888888888:s,A=p?A*.013888888888888888:A,c=s*.5,f=A*.5,i=_,n=U0(r)|0;n;)w=e[n+16>>2]|0,o=+u[w+32>>3],p?(l=+u[w+40>>3]*.5+A,o=o*.5+s):(l=f*+u[w+40>>3],o=c*o),w=e[w+132>>2]|0,W=+u[w>>3],u[i>>3]=W,Z=+u[w+8>>3],u[i+8>>3]=Z,u[i+16>>3]=W-o,u[i+24>>3]=Z-l,u[i+32>>3]=W+o,u[i+40>>3]=Z+l,u[i+48>>3]=o,u[i+56>>3]=l,e[i+64>>2]=n,i=i+72|0,n=X0(r,n)|0;do if((t|0)<0){if(o=+Xg0(_,z),o==0){r0(_),i=0;break}s=o,l=o,x=19}else{if(n=qg0(_,z,v)|0,i=e[v>>2]|0,!i){r0(n),r0(_),i=0;break}t?(l=+$g0(n,i),o=l):(Kg0(E,n,i),o=+u[E>>3],l=+u[E+8>>3]),r0(n),s=o,x=19}while(0);if((x|0)==19){for(i=0,n=_;!((i|0)>=(z|0));)x=e[(e[(e[n+64>>2]|0)+16>>2]|0)+132>>2]|0,u[x>>3]=+u[n>>3]*s,u[x+8>>3]=+u[n+8>>3]*l,i=i+1|0,n=n+72|0;r0(_),i=1}return g=L,i|0}function Xg0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;i=0,n=0;e:for(;!((n|0)>=(t|0));)for(x=r+72|0,n=n+1|0,p=r+16|0,v=r+8|0,m=r+56|0,E=r+48|0,B=r+32|0,f=r+24|0,w=r+40|0,A=n,c=x;;){if((A|0)>=(t|0)){r=x;continue e}if(+u[p>>3]<=+u[c+32>>3]&&+u[c+16>>3]<=+u[B>>3]&&+u[f>>3]<=+u[c+40>>3]&&+u[c+24>>3]<=+u[w>>3]){i=0;break e}o=+u[r>>3],l=+u[c>>3],o==l?s=Ur:(s=+L0(+(o-l)),s=(+u[c+48>>3]+ +u[E>>3])/s),o=+u[v>>3],l=+u[c+8>>3],o==l?o=Ur:(o=+L0(+(o-l)),o=(+u[c+56>>3]+ +u[m>>3])/o),s=oi?s:i}return+i}function qg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0;c=_0((t<<4)+16|0)|0,w=0,n=0,p=c,v=t,s=c;e:for(;!((n|0)>=(t|0));)for(N=r+72|0,n=n+1|0,W=r+16|0,B=r+32|0,x=r+24|0,z=r+40|0,_=r+8|0,L=r+56|0,Z=r+48|0,m=n,E=N,f=s;;){if((m|0)==(t|0)){r=N,s=f;continue e}+u[W>>3]<=+u[E+32>>3]&&+u[E+16>>3]<=+u[B>>3]&&+u[x>>3]<=+u[E+40>>3]&&+u[E+24>>3]<=+u[z>>3]?(s=v+t|0,(w|0)==(v|0)?(c=Ve(c,(s<<4)+16|0)|0,p=c,f=c):s=v,o=+u[r>>3],l=+u[E>>3],o!=l?(o=(+u[E+48>>3]+ +u[Z>>3])/+L0(+(o-l)),o<1&&(o=1,T=13)):(o=Ur,T=13),(T|0)==13&&(T=0),l=+u[_>>3],A=+u[E+8>>3],l!=A?(l=(+u[E+56>>3]+ +u[L>>3])/+L0(+(l-A)),l<1&&(l=1,T=16)):(l=Ur,T=16),(T|0)==16&&(T=0),w=w+1|0,u[p+(w<<4)>>3]=o,u[p+(w<<4)+8>>3]=l):s=v,m=m+1|0,E=E+72|0,v=s}return T=Ve(s,(w<<4)+16|0)|0,e[i>>2]=w,T|0}function $g0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(n=1,o=0;i=r+16|0,!((n|0)>(t|0));)s=+u[i>>3],l=+u[r+24>>3],l=so?l:o,r=i;return+o}function Kg0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(u[t>>3]=1,u[t+8>>3]=Ur,ei(t+16|0,i,16,76),s=_0((i<<4)+16|0)|0,u[s+(i<<4)>>3]=+u[t+(i<<4)>>3],l=i,n=1;;){if(u[s+(l<<4)+8>>3]=n,o=l+-1|0,(l|0)<=0){n=Ur,o=0,l=0;break}u[s+(o<<4)>>3]=+u[t+(o<<4)>>3],A=+u[(+u[t+(l<<4)+8>>3]>n?t:s)+(l<<4)+8>>3],l=o,n=A}for(;!((l|0)>(i|0));)A=+u[s+(l<<4)+8>>3]*+u[s+(l<<4)>>3],t=A>3],u[r>>3]=+u[s+(o<<4)>>3],u[r+8>>3]=A;return}else H0(93596,93534,832,93616)}function bg0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3],n=+u[t>>3],in?r=1:(n=+u[r+8>>3],i=+u[t+8>>3],ni&1),r|0}function ey0(r,t,i){return r=r|0,t=t|0,i=i|0,i=g,g=g+16|0,t=i,e[t>>2]=93631,$0(1,93681,t)|0,g=i,0}function ry0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,n=g,g=g+16|0,i=n,e[i>>2]=93631,$0(1,93709,i)|0,g=n,0}function ty0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;e:do switch(i|0){case 2:{n=_0(16)|0,o=_0(24)|0,e[o+8>>2]=0,e[o+4>>2]=n,e[o>>2]=2,e[n>>2]=0,e[n+4>>2]=1,i=n+8|0,e[o+16>>2]=i,e[o+20>>2]=0,e[o+12>>2]=2,e[i>>2]=1,e[n+12>>2]=0;break}case 1:{n=_0(4)|0,o=_0(12)|0,e[o+8>>2]=0,e[o+4>>2]=n,e[o>>2]=1,e[n>>2]=0;break}default:if(ey0(0,0,0)|0,r=(i|0)>0,n){if(!r){o=0;break e}Qw()}else{if(!r){o=0;break e}Qw()}}while(0);return o|0}function iy0(r){r=r|0;var t=0;r|0&&(t=e[r+4>>2]|0,t|0&&r0(t),t=e[r+8>>2]|0,t|0&&r0(t),r0(r))}function uF(r){r=r|0;var t=0;r|0&&(t=e[r+4>>2]|0,t|0&&r0(t),t=e[r+8>>2]|0,t|0&&r0(t),t=e[r+16>>2]|0,t|0&&r0(t),r0(r))}function qh(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(p=g,g=g+16|0,w=p+8|0,f=p,c=V2(e[46849]|0,i<<2)|0,e[46849]=c,o=0;!((o|0)>=(i|0));)e[n+(o<<2)>>2]=2147483647,o=o+1|0;for(e[n+(r<<2)>>2]=0,l=t+(r*20|0)|0,s=t+(r*20|0)+8|0,A=t+(r*20|0)+4|0,o=1;!((o|0)>=(e[l>>2]|0));)e[n+(e[(e[A>>2]|0)+(o<<2)>>2]<<2)>>2]=~~+x0[(e[s>>2]|0)+(o<<2)>>2],o=o+1|0;for(ny0(w,r,c,n,i),s=-2147483639;;){if(!((oy0(w,f,e[46849]|0,n)|0)<<24>>24)){o=0;break}if(o=e[f>>2]|0,r=e[n+(o<<2)>>2]|0,(r|0)==2147483647){o=0;break}for(s=t+(o*20|0)|0,A=t+(o*20|0)+4|0,l=t+(o*20|0)+8|0,o=1;!((o|0)>=(e[s>>2]|0));)ly0(w,e[(e[A>>2]|0)+(o<<2)>>2]|0,r+~~+x0[(e[l>>2]|0)+(o<<2)>>2]|0,e[46849]|0,n),o=o+1|0;s=r+10|0}for(;!((o|0)>=(i|0));)l=n+(o<<2)|0,(e[l>>2]|0)==2147483647&&(e[l>>2]=s),o=o+1|0;aF(w),g=p}function ny0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;for((o|0)==1?A=0:A=_0((o<<2)+-4|0)|0,e[r>>2]=A,c=o+-1|0,e[r+4>>2]=c,l=0,s=0;!((s|0)>=(o|0));)(s|0)!=(t|0)&&(e[A+(l<<2)>>2]=s,e[i+(s<<2)>>2]=l,l=l+1|0),s=s+1|0;for(l=(c|0)/2|0;!((l|0)<=-1);)cF(r,l,i,n),l=l+-1|0}function oy0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=r+4|0,e[o>>2]|0?(l=e[r>>2]|0,e[t>>2]=e[l>>2],t=e[l+((e[o>>2]|0)+-1<<2)>>2]|0,e[l>>2]=t,e[i+(t<<2)>>2]=0,e[o>>2]=(e[o>>2]|0)+-1,cF(r,0,i,n),r=1):r=0,r|0}function ly0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;if(l=o+(t<<2)|0,(e[l>>2]|0)>(i|0)){for(c=n+(t<<2)|0,A=e[c>>2]|0,e[l>>2]=i,l=e[r>>2]|0,r=A;!((r|0)<=0||(s=r>>>1,A=e[l+(s<<2)>>2]|0,(e[o+(A<<2)>>2]|0)<=(i|0)));)e[l+(r<<2)>>2]=A,e[n+(A<<2)>>2]=r,r=s;e[l+(r<<2)>>2]=t,e[c>>2]=r}}function aF(r){r=r|0,r=e[r>>2]|0,r|0&&r0(r)}function cF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;for(A=r+4|0;o=t<<1,l=o|1,s=e[A>>2]|0,(o|0)<(s|0)&&(c=e[r>>2]|0,(e[n+(e[c+(o<<2)>>2]<<2)>>2]|0)<(e[n+(e[c+(t<<2)>>2]<<2)>>2]|0))||(o=t),(l|0)<(s|0)&&(c=e[r>>2]|0,o=(e[n+(e[c+(l<<2)>>2]<<2)>>2]|0)<(e[n+(e[c+(o<<2)>>2]<<2)>>2]|0)?l:o),(o|0)!=(t|0);)c=e[r>>2]|0,s=c+(o<<2)|0,l=e[s>>2]|0,c=c+(t<<2)|0,e[s>>2]=e[c>>2],e[c>>2]=l,e[i+(e[s>>2]<<2)>>2]=o,e[i+(e[c>>2]<<2)>>2]=t,t=o}function sy0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(v=g,g=g+16|0,f=v+8|0,w=v,e[w>>2]=0,p=_0(i<<2)|0,o=0;!((o|0)>=(i|0));)x0[n+(o<<2)>>2]=34028234663852886e22,o=o+1|0;for(x0[n+(r<<2)>>2]=0,l=e[t+(r*20|0)>>2]|0,s=t+(r*20|0)+8|0,A=t+(r*20|0)+4|0,o=1;!((o|0)>=(l|0));)e[n+(e[(e[A>>2]|0)+(o<<2)>>2]<<2)>>2]=e[(e[s>>2]|0)+(o<<2)>>2],o=o+1|0;Ay0(f,r,p,n,i);e:for(;!(!((uy0(f,w,p,n)|0)<<24>>24)||(o=e[w>>2]|0,c=+x0[n+(o<<2)>>2],c==34028234663852886e22));)for(s=t+(o*20|0)|0,A=t+(o*20|0)+4|0,l=t+(o*20|0)+8|0,o=1;;){if((o|0)>=(e[s>>2]|0))continue e;ay0(f,e[(e[A>>2]|0)+(o<<2)>>2]|0,+x0[(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2)>>2])&&(o=l),(o|0)!=(t|0);)c=e[r>>2]|0,s=c+(o<<2)|0,l=e[s>>2]|0,c=c+(t<<2)|0,e[s>>2]=e[c>>2],e[c>>2]=l,e[i+(e[s>>2]<<2)>>2]=o,e[i+(e[c>>2]<<2)>>2]=t,t=o}function hF(){bh(187400,48),e[46853]=0}function wF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return s=e8(187400)|0,e[s+32>>2]=r,e[s+36>>2]=t,hk(r),hk(t),e[s+24>>2]=0,e[s+28>>2]=0,o=+u[r>>3],l=+u[t>>3]-o,n=+u[r+8>>3],i=+u[t+8>>3]-n,o=i*n+l*o+(i*i+l*l)*.5,t=s+16|0,u[t>>3]=o,(l>0?l:-l)>(i>0?i:-i)?(u[s>>3]=1,n=i/l,i=l,r=s+8|0):(u[s+8>>3]=1,n=l/i,r=s),u[r>>3]=n,u[t>>3]=o/i,t=e[46853]|0,e[s+40>>2]=t,e[46853]=t+1,s|0}function dF(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;f=+u[r>>3];e:do if(f==1){+u[r+8>>3]>=0?(t=e[r+24>>2]|0,i=e[r+28>>2]|0,i?w=5:w=9):(t=e[r+28>>2]|0,i=e[r+24>>2]|0,i?w=5:w=9);do if((w|0)==5){if(n=+u[i+8>>3],n>+u[23266])break e;if(o=+u[23267],n>=o){s=n,n=+u[i>>3];break}else{s=o,n=+u[r+16>>3]-+u[r+8>>3]*o;break}}else(w|0)==9&&(o=+u[23267],s=o,n=+u[r+16>>3]-+u[r+8>>3]*o);while(0);do if(t){if(l=+u[t+8>>3],l>3];break}else{l=o,o=+u[r+16>>3]-+u[r+8>>3]*o;break}}else o=+u[23266],l=o,o=+u[r+16>>3]-+u[r+8>>3]*o;while(0);A=+u[23268],t=n>A,i=o>A,c=+u[23269],t&i|n>3]-A)/+u[r+8>>3],n=A),n>3]-c)/+u[r+8>>3],n=c),i&&(l=(+u[r+16>>3]-A)/+u[r+8>>3],o=A),o>3]-c)/+u[r+8>>3],o=c),w=46)}else{i=e[r+28>>2]|0,t=e[r+24>>2]|0;do if(t){if(n=+u[t>>3],n>+u[23268])break e;if(l=+u[23269],n>=l){s=+u[t+8>>3];break}else{s=+u[r+16>>3]-l*f,n=l;break}}else l=+u[23269],s=+u[r+16>>3]-l*f,n=l;while(0);do if(i){if(o=+u[i>>3],o>3];break}else{l=+u[r+16>>3]-f*A,o=A;break}}else o=+u[23268],l=+u[r+16>>3]-f*o;while(0);A=+u[23266],t=s>A,i=l>A,c=+u[23267],t&i|s>3]-A)/f),s>3]-c)/f),i&&(l=A,o=(+u[r+16>>3]-A)/f),l>3]-c)/f),w=46)}while(0);(w|0)==46&&cy0(r,n,s,o,l)}function cy0(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o;var l=0;l=r+32|0,UA(e[l>>2]|0,t,i),UA(e[l>>2]|0,n,o),r=r+36|0,UA(e[r>>2]|0,t,i),UA(e[r>>2]|0,n,o)}function lE(r,t,i){r=r|0,t=t|0,i=i|0,e[r+24+(t<<2)>>2]=i,hk(i),e[r+24+(1-t<<2)>>2]|0&&(dF(r),fk(e[r+32>>2]|0),fk(e[r+36>>2]|0),sk(r,187400))}function fy0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(m=g,g=g+16|0,v=m,w=t<<2,s=_0(N0(w,i)|0)|0,l=e[n>>2]|0,w=_0(w)|0,p=e[r+8>>2]|0,l|0&&(r0(e[l>>2]|0),r0(l)),f=_0(i<<2)|0,e[n>>2]=f,l=0;!((l|0)>=(i|0));)e[f+(l<<2)>>2]=s+((N0(l,t)|0)<<2),l=l+1|0;for(c=(o|0)!=0,c&&wE(r,t),n=(ri()|0)%(t|0)|0,Xh(v,t),l=e[f>>2]|0,c?(qh(n,r,t,l),o=0,l=0):(Zf(n,r,t,l,v),o=0,l=0);;){if((l|0)>=(t|0)){A=1;break}s=e[(e[f>>2]|0)+(l<<2)>>2]|0,e[w+(l<<2)>>2]=s,A=(s|0)>(o|0),o=A?s:o,n=A?l:n,l=l+1|0}for(;!((A|0)>=(i|0));){for(s=f+(A<<2)|0,l=e[s>>2]|0,c?(qh(n,r,t,l),l=0,o=0):(Zf(n,r,t,l,v),l=0,o=0);!((l|0)>=(t|0));)x=w+(l<<2)|0,E=e[x>>2]|0,B=e[(e[s>>2]|0)+(l<<2)>>2]|0,B=(E|0)<(B|0)?E:B,e[x>>2]=B,x=(B|0)>(o|0),E=x?l:n,l=l+1|0,o=x?B:o,n=E;A=A+1|0}r0(w),c&&dE(r,t,p),g=m}function hy0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(A=1/+(t|0),s=0;!((s|0)>=(i|0));){for(c=r+(s<<2)|0,n=0,o=0;!((o|0)>=(t|0));)n=n+ +(e[(e[c>>2]|0)+(o<<2)>>2]|0),o=o+1|0;for(l=~~(n*A),o=0;!((o|0)>=(t|0));)f=(e[c>>2]|0)+(o<<2)|0,e[f>>2]=(e[f>>2]|0)-l,o=o+1|0;s=s+1|0}}function wy0(){e[46855]=~~+G0(+ +((e[46854]|0)+4|0))}function JA(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3]-+u[t>>3],n=+u[r+8>>3]-+u[t+8>>3],+(n*n+i*i)}function pF(r,t,i){r=r|0,t=t|0,i=i|0,u[r>>3]=+u[t>>3]-+u[i>>3],u[r+8>>3]=+u[t+8>>3]-+u[i+8>>3]}function $p(r,t,i){r=r|0,t=t|0,i=i|0,u[r>>3]=+u[i>>3]+ +u[t>>3],u[r+8>>3]=+u[i+8>>3]+ +u[t+8>>3]}function kF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=+u[t+8>>3],o=+u[t>>3],+((+u[i>>3]-o)*(+u[r+8>>3]-n)-(+u[r>>3]-o)*(+u[i+8>>3]-n))}function vF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return n=g,g=g+48|0,o=n+32|0,l=n+16|0,s=n,e[s>>2]=e[r>>2],e[s+4>>2]=e[r+4>>2],e[s+8>>2]=e[r+8>>2],e[s+12>>2]=e[r+12>>2],e[l>>2]=e[t>>2],e[l+4>>2]=e[t+4>>2],e[l+8>>2]=e[t+8>>2],e[l+12>>2]=e[t+12>>2],e[o>>2]=e[i>>2],e[o+4>>2]=e[i+4>>2],e[o+8>>2]=e[i+8>>2],e[o+12>>2]=e[i+12>>2],i=+kF(s,l,o)>0&1,g=n,i|0}function dy0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;return m=+u[r>>3],E=+u[n+8>>3],B=+u[i+8>>3],p=(E-B)*m,v=+u[t>>3],w=+u[n>>3],f=+u[t+8>>3],A=+u[r+8>>3],c=f-A,l=+u[i>>3],s=p+v*(B-E)+c*w+l*(A-f),s==0?n=0:(E=(l*(A-E)+p+(B-A)*w)/s,B=-(l*c+((B-f)*m+(A-B)*v))/s,u[o>>3]=E*(v-m)+m,u[o+8>>3]=c*E+A,n=B<=1&(B>=0&(E>=0&E<=1))&1),n|0}function Kp(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0,l=0,s=0;for(e[r+20>>2]=t,hk(t),s=r+24|0,u[s>>3]=+u[t+8>>3]+i,n=e[46856]|0,n=n+((mF(r)|0)*40|0)|0;o=n+32|0,n=e[o>>2]|0,!!n;)if(i=+u[s>>3],l=+u[n+24>>3],!(i>l)&&(i!=l||!(+u[t>>3]>+u[e[n+20>>2]>>3])))break;e[r+32>>2]=n,e[o>>2]=r,e[46857]=(e[46857]|0)+1}function mF(r){r=r|0;var t=0,i=0,n=0;i=e[46858]|0,n=+(i|0),t=(+u[r+24>>3]-+u[23273])/+u[23275]*n;do if(t<0)r=0;else if(t>=n){r=i+-1|0;break}else{r=~~t;break}while(0);return(r|0)<(e[46859]|0)&&(e[46859]=r),r|0}function sE(r){r=r|0;var t=0,i=0,n=0;if(i=r+20|0,e[i>>2]|0){t=e[46856]|0,t=t+((mF(r)|0)*40|0)|0;do n=t+32|0,t=e[n>>2]|0;while((t|0)!=(r|0));e[n>>2]=e[r+32>>2],e[46857]=(e[46857]|0)+-1,fk(e[i>>2]|0),e[i>>2]=0}}function AE(){return(e[46857]|0)==0|0}function py0(r){r=r|0;var t=0,i=0,n=0,o=0;for(t=e[46856]|0,i=e[46859]|0;n=e[t+(i*40|0)+32>>2]|0,!(n|0);)n=i+1|0,e[46859]=n,i=n;o=+u[n+24>>3],u[r>>3]=+u[e[n+20>>2]>>3],u[r+8>>3]=o}function ky0(){var r=0,t=0;return t=(e[46856]|0)+((e[46859]|0)*40|0)+32|0,r=e[t>>2]|0,e[t>>2]=e[r+32>>2],e[46857]=(e[46857]|0)+-1,r|0}function vy0(){r0(e[46856]|0),e[46856]=0}function my0(){var r=0,t=0,i=0;for(e[46857]=0,e[46859]=0,r=e[46855]|0,t=r<<2,e[46858]=t,i=e[46856]|0,i||(i=_0(r*160|0)|0,e[46856]=i,t=e[46858]|0),r=0;!((r|0)>=(t|0));)e[i+(r*40|0)+32>>2]=0,r=r+1|0}function gy0(){bh(187448,40),r0(e[46865]|0),e[46865]=0}function yy0(){var r=0,t=0,i=0;for(bh(187448,40),r=e[46855]|0,t=r<<1,e[46866]=t,i=e[46865]|0,i||(i=_0(r<<3)|0,e[46865]=i,t=e[46866]|0),r=0;!((r|0)>=(t|0));)e[i+(r<<2)>>2]=0,r=r+1|0;e[46860]=$h(0,0)|0,e[46861]=$h(0,0)|0,e[e[46860]>>2]=0,i=e[46861]|0,t=e[46860]|0,e[t+4>>2]=i,e[i>>2]=t,e[(e[46861]|0)+4>>2]=0,i=e[46865]|0,e[i>>2]=e[46860],e[i+((e[46866]|0)+-1<<2)>>2]=e[46861]}function $h(r,t){r=r|0,t=t|0;var i=0;return i=e8(187448)|0,e[i+8>>2]=r,C[i+16>>0]=t,e[i+32>>2]=0,e[i+20>>2]=0,e[i+12>>2]=0,i|0}function bp(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;l=e[r+8>>2]|0,A=e[t+8>>2]|0;do if(!((l|0)==0|(A|0)==0)&&(p=e[l+36>>2]|0,i=e[A+36>>2]|0,(p|0)!=(i|0))&&(s=+u[l>>3],n=+u[A+8>>3],o=+u[l+8>>3],c=+u[A>>3],f=n*s-c*o,!(f>-1e-10&f<1e-10))){v=+u[l+16>>3],m=+u[A+16>>3],w=(v*n-m*o)/f,s=(m*s-v*c)/f,n=+u[p+8>>3],o=+u[i+8>>3];do if(n>3]<+u[i>>3]){i=p;break}r=t}while(0);if(r=C[r+16>>0]|0,w>=+u[i>>3]){if(!(r<<24>>24)){r=0;break}}else if(r<<24>>24==1){r=0;break}r=o90()|0,e[r+20>>2]=0,u[r>>3]=w,u[r+8>>3]=s}else r=0;while(0);return r|0}function uE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;if(w=e[r+8>>2]|0,A=e[w+36>>2]|0,c=+u[t>>3],p=+u[A>>3],f=c>p,v=C[r+16>>0]|0,f?v<<24>>24?n=4:r=1:v<<24>>24==1?r=0:n=4,(n|0)==4){i=+u[w>>3];e:do if(i==1){i=+u[t+8>>3],o=i-+u[A+8>>3],l=c-p,s=+u[w+8>>3],t=s<0;do if(f?s>=0:t){if(o>=s*l){r=1;break e}}else if(r=s*i+c>+u[w+16>>3],t)if(r){r=0;break e}else break;else{if(r)break;r=0;break e}while(0);p=p-+u[e[w+32>>2]>>3],r=s*(l*l-o*o)>3]-c*i,s=+u[t+8>>3]-l,p=c-p,c=l-+u[A+8>>3],r=s*s>c*c+p*p;while(0);r=(r^v<<24>>24!=0)&1}return r|0}function aE(r,t){r=r|0,t=t|0,e[t>>2]=r,r=r+4|0,e[t+4>>2]=e[r>>2],e[e[r>>2]>>2]=t,e[r>>2]=t}function Cy0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(o=e[46866]|0,t=~~((+u[r>>3]-+u[23272])/+u[23274]*+(o|0)),t=(t|0)>0?t:0,o=(t|0)<(o|0)?t:o+-1|0,t=cE(o)|0,!t){for(i=1;t=cE(o-i|0)|0,!(t|0||(t=cE(i+o|0)|0,t|0));)i=i+1|0;e[46867]=(e[46867]|0)+i}e[46868]=(e[46868]|0)+1,n=e[46860]|0,i=e[46861]|0;e:do if((t|0)==(n|0))l=9;else{if((t|0)!=(i|0)&&uE(t,r)|0){l=9;break}for(;;){if(t=e[t>>2]|0,(t|0)==(n|0))break e;if(uE(t,r)|0){n=t;break}}}while(0);if((l|0)==9){for(;t=e[t+4>>2]|0,(t|0)!=(i|0);)if(uE(t,r)|0)l=9;else break;n=e[t>>2]|0}return(o|0)>0&&(o|0)<((e[46866]|0)+-1|0)&&(t=(e[46865]|0)+(o<<2)|0,i=e[t>>2]|0,i|0&&(l=i+12|0,e[l>>2]=(e[l>>2]|0)+-1),e[t>>2]=n,l=n+12|0,e[l>>2]=(e[l>>2]|0)+1),n|0}function cE(r){r=r|0;var t=0,i=0;return(r|0)>-1&(e[46866]|0)>(r|0)&&(i=(e[46865]|0)+(r<<2)|0,t=e[i>>2]|0,(t|0)!=0)?(e[t+8>>2]|0)==-2&&(e[i>>2]=0,r=t+12|0,i=(e[r>>2]|0)+-1|0,e[r>>2]=i,i||sk(t,187448),t=0):t=0,t|0}function gF(r){r=r|0;var t=0,i=0;t=r+4|0,i=e[r>>2]|0,e[i+4>>2]=e[t>>2],e[e[t>>2]>>2]=i,e[r+8>>2]=-2}function ek(r){return r=r|0,e[r+4>>2]|0}function Ey0(r){return r=r|0,e[r>>2]|0}function By0(r){r=r|0;var t=0;return t=e[r+8>>2]|0,t?r=C[r+16>>0]|0?t+36|0:t+32|0:r=187672,e[r>>2]|0}function yF(r){r=r|0;var t=0;return t=e[r+8>>2]|0,t?r=C[r+16>>0]|0?t+32|0:t+36|0:r=187672,e[r>>2]|0}function CF(){bh(187480,24)}function UA(r,t,i){r=r|0,t=+t,i=+i;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+32|0,s=A,l=(e[46869]|0)+((e[r+16>>2]|0)*96|0)+88|0,o=e[l>>2]|0,u[s+8>>3]=t,u[s+16>>3]=i,n=EF(r,s,o)|0;do if(n|0){if((n|0)<0){s=e8(187480)|0,u[s+8>>3]=t,u[s+16>>3]=i,e[s>>2]=o,e[l>>2]=s;break}for(;n=e[o>>2]|0,l=EF(r,s,n)|0,(l|0)>0;)o=n;l|0&&(s=e8(187480)|0,u[s+8>>3]=t,u[s+16>>3]=i,e[o>>2]=s,e[s>>2]=n)}while(0);g=A}function EF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;do if(i)if(o=+u[t+8>>3],A=+u[i+8>>3],n=+u[t+16>>3],l=+u[i+16>>3],o==A&n==l)t=0;else{if(f=+u[r>>3],c=o-f,o=+u[r+8>>3],s=n-o,A=A-f,n=l-o,!(c>=0)){if(A>=0){t=1;break}if(o=n/A,n=s/c,no){t=1;break}t=c>A?-1:1;break}if(A<0)t=-1;else if(t=A>0,c>0){if(!t){t=n>0?-1:1;break}if(o=n/A,n=s/c,no){t=1;break}t=c>2]|0,i=r+(i*20|0)+4|0,t=1,r=0;!((t|0)>=(o|0));)l=r+((e[n+(e[(e[i>>2]|0)+(t<<2)>>2]<<2)>>2]|0)>0&1)|0,t=t+1|0,r=l;return r|0}function fE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(n=r+(t*20|0)|0,t=r+(t*20|0)+4|0,r=1;!((r|0)>=(e[n>>2]|0));)e[i+(e[(e[t>>2]|0)+(r<<2)>>2]<<2)>>2]=1,r=r+1|0}function hE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(n=r+(t*20|0)|0,t=r+(t*20|0)+4|0,r=1;!((r|0)>=(e[n>>2]|0));)e[i+(e[(e[t>>2]|0)+(r<<2)>>2]<<2)>>2]=0,r=r+1|0}function Iy0(r,t){return r=r|0,t=t|0,e[r+8>>2]|0?r=BF(r,t)|0:r=xy0(r,t)|0,r|0}function BF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=t<<2,n=_0(N0(o,t)|0)|0,o=_0(o)|0,i=0;;){if((i|0)>=(t|0)){i=0;break}e[o+(i<<2)>>2]=n+((N0(i,t)|0)<<2),i=i+1|0}for(;!((i|0)>=(t|0));)qh(i,r,t,e[o+(i<<2)>>2]|0),i=i+1|0;return o|0}function xy0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;for(s=g,g=g+16|0,o=s,l=t<<2,n=_0(N0(l,t)|0)|0,l=_0(l)|0,i=0;!((i|0)>=(t|0));)e[l+(i<<2)>>2]=n+((N0(i,t)|0)<<2),i=i+1|0;for(Xh(o,t),i=0;!((i|0)>=(t|0));)Zf(i,r,t,e[l+(i<<2)>>2]|0,o),i=i+1|0;return qp(o),g=s,l|0}function Sy0(r,t){r=r|0,t=t|0;var i=0,n=0;return n=e[r+8>>2]|0,wE(r,t),i=BF(r,t)|0,dE(r,t,n),i|0}function wE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(f=_0(t<<2)|0,i=0,n=0;!((i|0)>=(t|0));)c=(e[r+(i*20|0)>>2]|0)+n|0,i=i+1|0,n=c;for(n=_0(n<<2)|0,i=0;!((i|0)>=(t|0));)e[f+(i<<2)>>2]=0,i=i+1|0;for(o=0;!((o|0)>=(t|0));){for(e[r+(o*20|0)+8>>2]=n,fE(r,o,f),l=r+(o*20|0)|0,s=e[l>>2]|0,A=r+(o*20|0)+4|0,c=s+-2|0,i=1;!((i|0)>=(s|0));)w=e[(e[A>>2]|0)+(i<<2)>>2]|0,p=e[r+(w*20|0)>>2]|0,x0[n+(i<<2)>>2]=+(c+p-((rk(r,0,w,f)|0)<<1)|0),i=i+1|0;hE(r,o,f),n=n+(e[l>>2]<<2)|0,o=o+1|0}r0(f)}function dE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=r+8|0,r0(e[n>>2]|0),e[n>>2]=0;e:do if(i|0)for(n=0;;){if((n|0)>=(t|0))break e;e[r+(n*20|0)+8>>2]=i,o=i+(e[r+(n*20|0)>>2]<<2)|0,n=n+1|0,i=o}while(0)}function IF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;for(o=0,l=0;!((o|0)>=(t|0));)A=e[r+(o<<2)>>2]|0,s=+u[A+(i<<3)>>3]-+u[A+(n<<3)>>3],o=o+1|0,l=s*s+l;return+ +G0(+l)}function _y0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,(n|0)>(i|0)&&(e[46873]=r,ei(t+(i<<2)|0,1-i+n|0,4,77))}function zy0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=e[46873]|0,n=+x0[o+(e[r>>2]<<2)>>2],i=+x0[o+(e[t>>2]<<2)>>2],(ni&1)|0}function Wf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;s=g,g=g+16|0,o=s,(i|0)<(n|0)&&(Ly0(r,t,i,n,o),l=e[o>>2]|0,o=l+-1|0,Wf(r,t,i,o),l=l+1|0,Wf(r,t,l,n),xF(r,t,i,o)|0||Wf(r,t,i,o),xF(r,t,l,n)|0||Wf(r,t,l,n)),g=s}function Ly0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0;l=ri()|0,l=t+(((((ri()|0)<<16|l)>>>0)%((1-i+n|0)>>>0)|0)+i<<2)|0,A=e[l>>2]|0,c=t+(i<<2)|0,e[l>>2]=e[c>>2],e[c>>2]=A,f=+u[r+(A<<3)>>3],l=i+1|0,i=n;e:for(;!((l|0)>=(i|0));){for(;!((l|0)>=(i|0)||!(+u[r+(e[t+(l<<2)>>2]<<3)>>3]<=f));)l=l+1|0;for(;;){if((l|0)>=(i|0))continue e;if(n=t+(i<<2)|0,s=e[n>>2]|0,!(+u[r+(s<<3)>>3]>f))break;i=i+-1|0}p=t+(l<<2)|0,w=e[p>>2]|0,e[p>>2]=s,e[n>>2]=w,l=l+1|0,i=i+-1|0}p=l+((+u[r+(e[t+(l<<2)>>2]<<3)>>3]>f)<<31>>31)|0,e[o>>2]=p,p=t+(p<<2)|0,e[c>>2]=e[p>>2],e[p>>2]=A}function xF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(l=1;o=i+1|0,!!((i|0)<(n|0)&(l|0)!=0);)l=+u[r+(e[t+(i<<2)>>2]<<3)>>3]>+u[r+(e[t+(o<<2)>>2]<<3)>>3]?0:l,i=o;return l|0}function SF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;if(_=g,g=g+16|0,x=4,z=Te(40)|0,e[z>>2]=0,E=_,v0=0,B=gt(23,t*40|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,x|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){for(i=0,v=0;!((i|0)>=(t|0));)m=(e[(e[r+(i<<2)>>2]|0)+4>>2]|0)+v|0,i=i+1|0,v=m;if(v0=0,m=gt(23,v*24|0)|0,i=v0,v0=0,(i|0)!=0&(g0|0)!=0?(n=se(e[i>>2]|0,z|0,x|0)|0,n||ie(i|0,g0|0),b=g0):n=-1,(n|0)!=1){for(i=0,f=0;!((f|0)>=(t|0));){for(w=B+(f*40|0)|0,e[w>>2]=m+(i*24|0),p=r+(f<<2)|0,o=0,l=17976931348623157e292,s=-17976931348623157e292,A=-17976931348623157e292,c=17976931348623157e292;n=e[p>>2]|0,!((o|0)>=(e[n+4>>2]|0));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):o=-1,(o|0)==1)){o=w,v=f,m=p,i=b,w=o,f=v,p=m;continue}if(v0=0,Tr(105,B|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,x|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1){o=w,v=f,m=p,i=b,w=o,f=v,p=m;continue}if(v0=0,Tr(105,f|0),n=v0,v0=0,(n|0)!=0&(g0|0)!=0?(o=se(e[n>>2]|0,z|0,x|0)|0,o||ie(n|0,g0|0),b=g0):o=-1,(o|0)==1)o=w,v=f,m=p,i=b,w=o,f=v,p=m;else{n=24;break}}return(n|0)==17?i=0:(n|0)==24&&(i=(i|0)==0&1),r0(z|0),g=_,i|0}function Ry0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(L=g,g=g+16|0,E=L,v=L+8|0,m=L+4|0,e[t+8>>2]=0,_=_0(e[t>>2]<<2)|0,o=e[t>>2]|0,n=0;!((n|0)>=(o|0));)e[_+(n<<2)>>2]=r+(n*24|0),n=n+1|0;ei(_,o,4,79),w=0,l=0,o=0,s=0;e:for(;;){if((w|0)>=(e[t>>2]|0)){x=0,i=l,z=s;break}for(p=_+(w<<2)|0,n=e[p>>2]|0,e[v>>2]=n,r=e[n+16>>2]|0,(e[r>>2]|0)==(n|0)?n=e[r+4>>2]|0:n=n+-24|0,e[m>>2]=n,f=0,r=l,c=s;!((f|0)>=2);){switch(_F(v,m)|0){case-1:{for(l=0,s=r;!((l|0)>=(c|0));){if(A=Zy0(e[s>>2]|0,n)|0,A|0){x=A,i=r,z=c;break e}l=l+1|0,s=e[s+4>>2]|0}l=_0(12)|0,c?e[o+4>>2]=l:(o=0,r=l),e[l+8>>2]=o,e[l>>2]=n,e[l+4>>2]=0,e[n+20>>2]=l,s=c+1|0;break}case 1:{if(n=n+20|0,l=e[n>>2]|0,!l){B=19;break e}do if((c|0)!=1){if((l|0)==(r|0)){r=e[r+4>>2]|0,e[r+8>>2]=0;break}if((l|0)==(o|0)){o=e[o+8>>2]|0,e[o+4>>2]=0;break}else{A=l+4|0,s=e[l+8>>2]|0,e[s+4>>2]=e[A>>2],e[(e[A>>2]|0)+8>>2]=s;break}}else r=0,o=0;while(0);r0(l),e[n>>2]=0,l=o,s=c+-1|0;break}default:l=o,s=c}n=e[p>>2]|0,o=e[n+16>>2]|0,(n|0)==(e[o+4>>2]|0)?o=e[o>>2]|0:o=n+24|0,e[m>>2]=o,f=f+1|0,o=l,c=s}w=w+1|0,l=r,s=c}for((B|0)==19&&($0(1,93727,E)|0,ie(187496,1)),n=0;!((n|0)>=(z|0));)B=e[i+4>>2]|0,r0(i),n=n+1|0,i=B;return r0(_),g=L,x|0}function Gy0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;X=g,g=g+48|0,p=X+24|0,w=X+16|0,z=X,n=0;e:for(;;){if((n|0)>=(t|0)){n=0;break}for(N=e[r+(n<<2)>>2]|0,T=e[N>>2]|0,e[z>>2]=e[T>>2],e[z+4>>2]=e[T+4>>2],e[z+8>>2]=e[T+8>>2],e[z+12>>2]=e[T+12>>2],T=n+1|0,D=i+(n*40|0)+8|0,v=i+(n*40|0)+24|0,m=i+(n*40|0)+32|0,l=i+(n*40|0)+16|0,n=T;;){if((n|0)>=(t|0)){n=T;continue e}if(s=e[r+(n<<2)>>2]|0,A=+u[D>>3],c=+u[i+(n*40|0)+24>>3],f=!(A<=c),o=+u[i+(n*40|0)+8>>3],!(f|!(A>=o))&&(E=+u[l>>3],B=+u[i+(n*40|0)+32>>3],E<=B)&&(x=+u[i+(n*40|0)+16>>3],E>=x)&&(U=+u[v>>3],!(!(U<=c)|!(U>=o)))&&(U=+u[m>>3],!(!(U<=B)|!(U>=x)))){if(e[w>>2]=e[s>>2],e[w+4>>2]=e[s+4>>2],e[p>>2]=e[z>>2],e[p+4>>2]=e[z+4>>2],e[p+8>>2]=e[z+8>>2],e[p+12>>2]=e[z+12>>2],H3(w,p)|0){n=1;break e}}else P=11;if((P|0)==11&&(P=0,_=+u[v>>3],!(!(o<=_)|!(o>=A)))&&(L=+u[i+(n*40|0)+16>>3],Z=+u[m>>3],L<=Z)&&(W=+u[l>>3],!(!(L>=W)|(!(c<=_)|f)))&&(U=+u[i+(n*40|0)+32>>3],!(!(U<=Z)|!(U>=W)))&&(f=e[s>>2]|0,e[w>>2]=e[N>>2],e[w+4>>2]=e[N+4>>2],e[p>>2]=e[f>>2],e[p+4>>2]=e[f+4>>2],e[p+8>>2]=e[f+8>>2],e[p+12>>2]=e[f+12>>2],H3(w,p)|0)){n=1;break e}n=n+1|0}}return g=X,n|0}function _F(r,t){r=r|0,t=t|0;var i=0,n=0;return n=e[r>>2]|0,r=e[t>>2]|0,i=+u[n>>3]-+u[r>>3],i==0?(i=+u[n+8>>3]-+u[r+8>>3],i==0?r=0:r=i>0?1:-1):r=i>0?1:-1,r|0}function Zy0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=g,g=g+64|0,l=f+32|0,s=f+24|0,A=f+16|0,c=f,o=f+48|0,zF(r,t,o),i=o+8|0,n=e[i>>2]|0;do if((n|0)>0)i=0;else{if((n|0)<0){if(zF(t,r,o),i=e[i>>2]|0,(i|0)>0){i=0;break}if((i|0)<0?i=3:(i=e[o>>2]|0,i=jl(t,r,(i|0)>-1?i:0-i|0)|0),!(LF(r,t,s,A,i)|0)){i=0;break}}else if(i=e[o>>2]|0,(i|0)==(e[o+4>>2]|0)?(i=jl(r,t,0)|0,i=(jl(r,t,(i|0)<=(jl(r,t,1)|0)&1)|0)<<1):i=jl(r,t,(i|0)>-1?i:0-i|0)|0,!(LF(r,t,s,A,i)|0)){i=0;break}u[c>>3]=+u[s>>3],u[c+8>>3]=+u[A>>3],e[l>>2]=e[c>>2],e[l+4>>2]=e[c+4>>2],e[l+8>>2]=e[c+8>>2],e[l+12>>2]=e[c+12>>2],i=Wy0(r,t,l)|0}while(0);return g=f,i|0}function zF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;s=+u[r>>3],A=+u[r+8>>3],n=e[r+16>>2]|0,(e[n+4>>2]|0)==(r|0)?(r=e[n>>2]|0,n=r):(n=r+24|0,r=r+24|0),l=+u[n>>3]-s,o=+u[r+8>>3]-A,n=e[t+16>>2]|0,(e[n+4>>2]|0)==(t|0)?(r=e[n>>2]|0,n=r):(n=t+24|0,r=t+24|0),c=+u[n>>3]-s,f=+u[r+8>>3]-A,A=(+u[t+8>>3]-A)*l-(+u[t>>3]-s)*o,t=A==0?0:A>0?1:-1,e[i>>2]=t,A=f*l-c*o,r=A==0?0:A>0?1:-1,e[i+4>>2]=r,e[i+8>>2]=N0(r,t)|0}function jl(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;c=+u[r>>3],f=+u[r+8>>3],o=e[r+16>>2]|0,(e[o+4>>2]|0)==(r|0)?r=e[o>>2]|0:r=r+24|0,A=+u[r>>3],s=+u[r+8>>3];do if(i)if(r=e[t+16>>2]|0,(e[r+4>>2]|0)==(t|0)){t=e[r>>2]|0;break}else{t=t+24|0;break}while(0);return l=+u[t>>3],n=+u[t+8>>3],c==A?c==l?t=(RF(f,n,s)|0)!=-1&1:t=0:t=RF(c,l,A)|0,t|0}function LF(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;e:do if((o|0)<1)l=0;else{p=+u[r>>3],m=+u[r+8>>3],l=e[r+16>>2]|0,(e[l+4>>2]|0)==(r|0)?l=e[l>>2]|0:l=r+24|0,f=+u[l>>3],A=+u[l+8>>3],w=+u[t>>3],v=+u[t+8>>3],l=e[t+16>>2]|0,(e[l+4>>2]|0)==(t|0)?l=e[l>>2]|0:l=t+24|0,c=+u[l>>3],s=+u[l+8>>3];r:do switch(o|0){case 3:{if(p==f){u[i>>3]=p,s=(v-s)/(w-c)*(p-c)+s;break r}if(w==c){u[i>>3]=w,s=(m-A)/(p-f)*(w-f)+A;break r}else{c=(v-s)/(w-c),f=(m-A)/(p-f),v=v-c*w,m=m-f*p,s=c-f,u[i>>3]=(m-v)/s,s=(c*m-v*f)/s;break r}}case 2:{if((jl(r,t,0)|0)==-1)(jl(t,r,1)|0)==-1?(o=(jl(t,r,0)|0)==-1,f=o?f:p,c=w,A=o?A:m,s=v):(f=c,c=w,A=s,s=v);else if((jl(r,t,1)|0)!=-1)if((jl(t,r,0)|0)==-1)c=p,s=m;else{l=0;break e}else f=w,A=v;u[i>>3]=(c+f)*.5,s=(s+A)*.5;break}case 1:if((v-m)*(p-f)==(w-p)*(m-A)){u[i>>3]=w,s=v;break r}else{u[i>>3]=c;break r}default:{l=1;break e}}while(0);u[n>>3]=s,l=1}while(0);return l|0}function Wy0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;B=g,g=g+16|0,m=B,p=+u[r>>3],v=+u[r+8>>3],n=e[r+16>>2]|0,(e[n+4>>2]|0)==(r|0)?n=e[n>>2]|0:n=r+24|0,f=+u[n>>3],A=+u[n+8>>3],c=+u[t>>3],w=+u[t+8>>3],n=e[t+16>>2]|0,(e[n+4>>2]|0)==(t|0)?n=e[n>>2]|0:n=t+24|0,s=+u[n>>3],l=+u[n+8>>3];e:do if(p!=f&c!=s)E=18;else{do if(p==f){if(o=+u[i>>3],p==o&&v==+u[i+8>>3])break;if(f!=o){E=18;break e}if(A!=+u[i+8>>3]){E=18;break e}}while(0);if(c==s){if(o=+u[i>>3],c==o&&w==+u[i+8>>3]){n=0;break}s==o&&l==+u[i+8>>3]?n=0:E=18}else n=0}while(0);return(E|0)==18&&(0>1||(n=1)),g=B,n|0}function D2e(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;c=g,g=g+48|0,A=c,o=e[15712]|0,l=+u[t>>3],s=+u[t+8>>3],i=e[t+16>>2]|0,(e[i+4>>2]|0)==(t|0)?(i=e[i>>2]|0,n=i):(n=t+24|0,i=t+24|0),w=+u[n>>3],f=+u[i+8>>3],e[A>>2]=r,u[A+8>>3]=l,u[A+16>>3]=s,u[A+24>>3]=w,u[A+32>>3]=f,A2(o,93784,A)|0,g=c}function RF(r,t,i){return r=+r,t=+t,i=+i,(r==t|t==i?0:(r>3]=0,n=n+1|0;u[o+(r<<3)>>3]=1,iA0(e[t+(r<<2)>>2]|0,o,i),r=r+1|0}for(r0(o),o=0;;){if((o|0)>=(i|0)){r=1;break e}for(n=t+(o<<2)|0,r=0;(r|0)!=(o|0);)A=(e[n>>2]|0)+(r<<3)|0,s=+u[A>>3],l=(e[t+(r<<2)>>2]|0)+(o<<3)|0,u[A>>3]=+u[l>>3],u[l>>3]=s,r=r+1|0;o=o+1|0}}while(0);return r|0}function GF(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;E=t<<3,m=_0(E)|0,E=_0(E)|0,B=t*30|0,p=(i|0)<(t|0)?i:t,v=t+-1|0,w=(l|0)==0,i=0,s=0;e:for(;!((s|0)>=(p|0));){c=e[n+(s<<2)>>2]|0;do{r:do if(w)i=0;else for(i=0;;){if((i|0)==(t|0)){i=0;break r}u[c+(i<<3)>>3]=+((ri()|0)%100|0|0),i=i+1|0}while(0);for(;(i|0)!=(s|0);)l=e[n+(i<<2)>>2]|0,XA(c,0,v,-+tl(l,0,v,c),l),i=i+1|0;A=+Ga(c,0,v)}while(A<1e-10);Za(c,0,v,1/A,c),i=0;do{for(Nl(E,0,v,c),ZF(r,t,t,c,m),Nl(c,0,v,m),l=0;(l|0)!=(s|0);)x=e[n+(l<<2)>>2]|0,XA(c,0,v,-+tl(x,0,v,c),x),l=l+1|0;if(x=i,i=i+1|0,A=+Ga(c,0,v),!((x|0)<(B|0)&!(A<1e-10)))break e;Za(c,0,v,1/A,c),f=+tl(c,0,v,E)}while(+L0(+f)<.999);u[o+(s<<3)>>3]=f*A,s=s+1|0}for(;!((s|0)>=(p|0));){for(c=e[n+(s<<2)>>2]|0,l=0;;){if((l|0)>=(t|0)){l=0;break}u[c+(l<<3)>>3]=+((ri()|0)%100|0|0),l=l+1|0}for(;!((l|0)>=(s|0));)x=e[n+(l<<2)>>2]|0,XA(c,0,v,-+tl(x,0,v,c),x),l=l+1|0;Za(c,0,v,1/+Ga(c,0,v),c),u[o+(s<<3)>>3]=0,s=s+1|0}for(w=p+-1|0,s=0;!((s|0)>=(w|0));){for(r=o+(s<<3)|0,t=s+1|0,A=+u[r>>3],l=s,c=t;!((c|0)>=(p|0));)f=+u[o+(c<<3)>>3],x=A>2]|0),x=n+(l<<2)|0,Nl(e[c>>2]|0,0,v,e[x>>2]|0),Nl(e[x>>2]|0,0,v,m),u[o+(l<<3)>>3]=+u[r>>3],u[r>>3]=A,s=t}return r0(m),r0(E),(i|0)<=(B|0)|0}function tl(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(l=0,o=1-t+i|0,n=n+(t<<3)|0,i=r+(t<<3)|0;o;)l=+u[n>>3]*+u[i>>3]+l,o=o+-1|0,n=n+8|0,i=i+8|0;return+l}function XA(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=o|0;var l=0;for(l=1-t+i|0,o=o+(t<<3)|0,i=r+(t<<3)|0;l;)u[i>>3]=+u[i>>3]+ +u[o>>3]*n,l=l+-1|0,o=o+8|0,i=i+8|0}function Ga(r,t,i){return r=r|0,t=t|0,i=i|0,+ +G0(+ +tl(r,t,i,r))}function Za(r,t,i,n,o){r=r|0,t=t|0,i=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<<2)|0):(s=Te(N0(i<<3,o)|0)|0,p=Te(i<<2)|0),e[l>>2]=p,A=0;;){if((A|0)>=(i|0)){l=0;break}e[p+(A<<2)>>2]=s,A=A+1|0,s=s+(o<<3)|0}for(;!((l|0)>=(i|0));){for(f=r+(l<<2)|0,w=p+(l<<2)|0,A=0;(A|0)<(o|0);){c=0,s=0;for(;!((s|0)>=(n|0));)c=+u[(e[f>>2]|0)+(s<<3)>>3]*+x0[(e[t+(s<<2)>>2]|0)+(A<<2)>>2]+c,s=s+1|0;u[(e[w>>2]|0)+(A<<3)>>3]=c,A=A+1|0}l=l+1|0}}function WF(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(s=e[o>>2]|0,s?(l=V2(e[s>>2]|0,N0(i*20|0,n)|0)|0,m=V2(s,i<<2)|0):(l=Te(N0(i*20|0,n)|0)|0,m=Te(i<<2)|0),e[o>>2]=m,s=0;;){if((s|0)>=(i|0)){o=0;break}e[m+(s<<2)>>2]=l,s=s+1|0,l=l+(n<<2)|0}for(;!((o|0)>=(i|0));){for(c=e[r+(o*20|0)+4>>2]|0,f=e[r+(o*20|0)+8>>2]|0,w=e[r+(o*20|0)>>2]|0,p=m+(o<<2)|0,l=0;!((l|0)>=(n|0));){for(v=t+(l<<2)|0,A=0,s=0;!((s|0)>=(w|0));)A=+u[(e[v>>2]|0)+(e[c+(s<<2)>>2]<<3)>>3]*+x0[f+(s<<2)>>2]+A,s=s+1|0;x0[(e[p>>2]|0)+(l<<2)>>2]=A,l=l+1|0}o=o+1|0}}function qA(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0,n=t,o=r;o;)i=+u[n>>3]+i,n=n+8|0,o=o+-1|0;for(i=i/+(r|0);r;)u[t>>3]=+u[t>>3]-i,t=t+8|0,r=r+-1|0}function Ny0(r,t){r=r|0,t=t|0;var i=0;for(i=0;!((i|0)>=(r|0));)u[t+(i<<3)>>3]=+((ri()|0)%500|0|0),i=i+1|0;qA(r,t)}function DF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;for(s=0;!((s|0)>=(t|0));){for(A=e[r+(s*20|0)>>2]|0,c=r+(s*20|0)+8|0,f=r+(s*20|0)+4|0,o=0,l=0;!((l|0)>=(A|0));)o=+u[i+(e[(e[f>>2]|0)+(l<<2)>>2]<<3)>>3]*+x0[(e[c>>2]|0)+(l<<2)>>2]+o,l=l+1|0;u[n+(s<<3)>>3]=o,s=s+1|0}}function MF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;for(s=0;!((s|0)>=(t|0));){for(A=r+(s<<2)|0,o=0,l=0;(l|0)!=(t|0);)o=+u[i+(l<<3)>>3]*+x0[(e[A>>2]|0)+(l<<2)>>2]+o,l=l+1|0;u[n+(s<<3)>>3]=o,s=s+1|0}}function tk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)u[n+(o<<3)>>3]=+u[t+(o<<3)>>3]-+u[i+(o<<3)>>3],o=o+1|0}function ik(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)u[n+(o<<3)>>3]=+u[i+(o<<3)>>3]+ +u[t+(o<<3)>>3],o=o+1|0}function Df(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)u[n+(o<<3)>>3]=+u[t+(o<<3)>>3]*i,o=o+1|0}function nk(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(n=0;!((n|0)>=(r|0));)u[i+(n<<3)>>3]=+u[t+(n<<3)>>3],n=n+1|0}function Mf(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=0,o=0;!((o|0)>=(r|0));)n=+u[i+(o<<3)>>3]*+u[t+(o<<3)>>3]+n,o=o+1|0;return+n}function jF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0,n=-1e50;!((i|0)>=(r|0));)o=+L0(+ +u[t+(i<<3)>>3]),i=i+1|0,n=o>n?o:n;return+n}function NF(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(A=0;(A|0)<(t|0);){l=0,s=0;for(;!((s|0)>=(i|0));)l=+u[n+(s<<3)>>3]*+u[(e[r+(s<<2)>>2]|0)+(A<<3)>>3]+l,s=s+1|0;u[o+(A<<3)>>3]=l,A=A+1|0}}function $A(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0,n=t,o=r;o;)i=+x0[n>>2]+i,n=n+4|0,o=o+-1|0;for(i=i/+(r|0);r;)x0[t>>2]=+x0[t>>2]-i,t=t+4|0,r=r+-1|0}function jf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;for(o=0;;){if((o|0)>=(t|0)){s=0,c=0,p=t;break}x0[n+(o<<2)>>2]=0,o=o+1|0}for(;!((c|0)>=(t|0));){for(w=+x0[i+(c<<2)>>2],f=c+1|0,l=+x0[r+(s<<2)>>2]*w,A=f,o=s;o=o+1|0,(A|0)!=(t|0);)E=+x0[r+(o<<2)>>2],v=+x0[i+(A<<2)>>2]*E+l,m=n+(A<<2)|0,x0[m>>2]=+x0[m>>2]+E*w,l=v,A=A+1|0;m=n+(c<<2)|0,x0[m>>2]=+x0[m>>2]+l,s=s+p|0,c=f,p=p+-1|0}}function Qy0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)x0[n+(o<<2)>>2]=+x0[t+(o<<2)>>2]-+x0[i+(o<<2)>>2],o=o+1|0}function pE(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)x0[n+(o<<2)>>2]=+x0[i+(o<<2)>>2]+ +x0[t+(o<<2)>>2],o=o+1|0}function ok(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0,l=0;for(o=0;!((o|0)>=(r|0));)l=t+(o<<2)|0,x0[l>>2]=+x0[n+(o<<2)>>2]*i+ +x0[l>>2],o=o+1|0}function Ty0(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0;for(o=0;!((o|0)>=(r|0));)x0[n+(o<<2)>>2]=+x0[t+(o<<2)>>2]*i,o=o+1|0}function QF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;for(n=0;!((n|0)>=(r|0));)e[i+(n<<2)>>2]=e[t+(n<<2)>>2],n=n+1|0}function Wa(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=0,o=0;!((o|0)>=(r|0));)n=n+ +x0[i+(o<<2)>>2]*+x0[t+(o<<2)>>2],o=o+1|0;return+n}function TF(r,t,i){r=r|0,t=+t,i=i|0;var n=0;for(n=0;!((n|0)>=(r|0));)u[i+(n<<3)>>3]=t,n=n+1|0}function Kh(r,t,i){r=r|0,t=+t,i=i|0;var n=0;for(n=0;!((n|0)>=(r|0));)x0[i+(n<<2)>>2]=t,n=n+1|0}function Fy0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=-10000000150474662e14,n=0;!((n|0)>=(r|0));)o=+L0(+ +x0[t+(n<<2)>>2]),i=o>i?o:i,n=n+1|0;return+i}function lk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0;!((i|0)>=(r|0));)n=t+(i<<2)|0,o=+x0[n>>2],x0[n>>2]=o*o,i=i+1|0}function FF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0;!((i|0)>=(r|0));)n=t+(i<<2)|0,o=+x0[n>>2],o!=0&&(x0[n>>2]=1/o),i=i+1|0}function PF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(n=0;!((n|0)>=(r|0));)o=+x0[t+(n<<2)>>2],o>=0&&(x0[i+(n<<2)>>2]=+G0(+o)),n=n+1|0}function YF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(i=0;!((i|0)>=(r|0));)n=t+(i<<2)|0,o=+x0[n>>2],o>0&&(x0[n>>2]=1/+G0(+o)),i=i+1|0}function bh(r,t){r=r|0,t=t|0;var i=0;e[r>>2]=0,t&3&&(4%(t>>>0)|0?t=N0(4/((Py0(t)|0)>>>0)|0,t)|0:t=4),e[r+8>>2]=t,r=r+4|0,t=e[r>>2]|0;e:do if(t|0)for(;;){if(!t)break e;i=e[t>>2]|0,r0(e[t+4>>2]|0),r0(t),t=i}while(0);e[r>>2]=0}function Py0(r){r=r|0;var t=0,i=0;i=4;e:for(;;){for(t=i;;){if((t|0)==(r|0))break e;if((t|0)<=(r|0))break;t=t-r|0}i=t,r=r-t|0}return r|0}function e8(r){r=r|0;var t=0,i=0,n=0,o=0;if(t=e[r>>2]|0,!t){for(i=e[r+8>>2]|0,n=_0(8)|0,o=_0(N0(e[46855]|0,i)|0)|0,e[n+4>>2]=o,t=0;!((t|0)>=(e[46855]|0));)sk(o+(N0(t,i)|0)|0,r),t=t+1|0;t=r+4|0,e[n>>2]=e[t>>2],e[t>>2]=n,t=e[r>>2]|0}return e[r>>2]=e[t>>2],t|0}function sk(r,t){r=r|0,t=t|0,e[r>>2]=e[t>>2],e[t>>2]=r}function VF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(w=j0(t<<3)|0,f=r+8|0,o=e[f>>2]|0,Yy0(r,t,w),Ny0(t,i),l=0,s=0;!((s|0)>=(t|0));)l=(e[r+(s*20|0)>>2]|0)+l|0,s=s+1|0;for(l=_0(l<<2)|0,A=0;!((A|0)>=(t|0));){for(e[r+(A*20|0)+8>>2]=l,c=e[r+(A*20|0)>>2]|0,x0[l>>2]=+(1-c|0),s=1;!((s|0)>=(c|0));)x0[l+(s<<2)>>2]=1,s=s+1|0;l=l+(c<<2)|0,A=A+1|0}for(s=Ng0(r,i,w,t,.001,n)|0,r0(e[f>>2]|0),l=0;!((l|0)>=(t|0));)e[r+(l*20|0)+8>>2]=o,o=o+(e[r+(l*20|0)>>2]<<2)|0,l=l+1|0;return r0(w),s>>>31|0}function Yy0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(A=r+16|0,l=0;!((l|0)>=(t|0));){if(e[A>>2]|0){for(c=e[r+(l*20|0)>>2]|0,f=r+(l*20|0)+8|0,s=r+(l*20|0)+16|0,n=0,o=1;!((o|0)>=(c|0));)n=n+ +x0[(e[s>>2]|0)+(o<<2)>>2]*+x0[(e[f>>2]|0)+(o<<2)>>2],o=o+1|0;u[i+(l<<3)>>3]=n}l=l+1|0}}function OF(r,t,i,n,o,l,s,A,c){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=+s,A=A|0,c=c|0,r=g,g=g+16|0,e[46913]|0||(e[46913]=1,$0(1,93820,r)|0),g=r}function Vy0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;for(B=_0(o<<2)|0,s=t<<3,l=0;!((l|0)>=(o|0));)e[B+(l<<2)>>2]=_0(s)|0,l=l+1|0;for(m=_0(o<<3)|0,E=_0(t<<2)|0,l=_0(N0(s,t)|0)|0,s=0;!((s|0)>=(t|0));)e[E+(s<<2)>>2]=l,l=l+(t<<3)|0,s=s+1|0;for(c=0,v=1;!((c|0)>=(t|0));){for(f=r+(c<<2)|0,w=E+(c<<2)|0,s=0;(s|0)!=(v|0);){for(p=r+(s<<2)|0,l=0,A=0;!((l|0)>=(i|0));)x=A+ +(N0(e[(e[p>>2]|0)+(l<<2)>>2]|0,e[(e[f>>2]|0)+(l<<2)>>2]|0)|0),l=l+1|0,A=x;u[(e[E+(s<<2)>>2]|0)+(c<<3)>>3]=A,u[(e[w>>2]|0)+(s<<3)>>3]=A,s=s+1|0}c=c+1|0,v=v+1|0}for(GF(E,t,o,B,m,1)|0,s=0;;){if((s|0)>=(o|0)){l=0;break}for(f=B+(s<<2)|0,w=n+(s<<2)|0,c=0;(c|0)<(i|0);){l=0,A=0;for(;!((l|0)>=(t|0));)x=+u[(e[f>>2]|0)+(l<<3)>>3]*+(e[(e[r+(l<<2)>>2]|0)+(c<<2)>>2]|0)+A,l=l+1|0,A=x;u[(e[w>>2]|0)+(c<<3)>>3]=A,c=c+1|0}s=s+1|0}for(;!((l|0)>=(o|0));)r0(e[B+(l<<2)>>2]|0),l=l+1|0;r0(B),r0(m),r0(e[E>>2]|0),r0(E)}function Oy0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;return o=g,g=g+32|0,l=o+16|0,c=o+20|0,A=o+12|0,s=o+8|0,e[l>>2]=n,e[A>>2]=0,e[s>>2]=0,Js0(e[r>>2]|0,i,i<<2,c),WF(e[c>>2]|0,r,i,t,A),jy0(r,e[A>>2]|0,t,i,t,s),r0(e[e[A>>2]>>2]|0),r0(e[A>>2]|0),n=(GF(e[s>>2]|0,t,1,l,o,1)|0)&255,g=o,n|0}function Hy0(){e[46914]=0,r0(e[46915]|0),r0(e[46916]|0),r0(e[46917]|0),e[46915]=0,e[46916]=0,e[46917]=0}function Jy0(r){r=r|0,r0(e[r+36>>2]|0)}function Uy0(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;m=g,g=g+80|0,w=m+64|0,v=m+68|0,l=m+48|0,s=m+32|0,A=m+16|0,c=m,f=t+16|0,o=e[f>>2]|0;e:do if(e[o+212>>2]|0)e[v>>2]=4,x=+u[o+32>>3]*.5+i,z=+u[o+40>>3]*.5+n,e[r+40>>2]=1,l=_0(64)|0,u[l>>3]=x,u[l+8>>3]=z,B=-x,u[l+16>>3]=B,u[l+24>>3]=z,u[l+32>>3]=B,z=-z,u[l+40>>3]=z,u[l+48>>3]=x,u[l+56>>3]=z,p=21;else switch(ZA(t)|0){case 1:{switch(o=e[f>>2]|0,s=e[o+12>>2]|0,A=e[s+8>>2]|0,e[v>>2]=A,o=e[e[o+8>>2]>>2]|0,C[o>>0]|0){case 98:{ge(o,108236)|0?p=8:p=11;break}case 112:{!(ge(o,105721)|0)&&HF(e[s+44>>2]|0,A)|0?p=11:p=8;break}default:p=8}do if((p|0)==8)if((A|0)<3){e[r+40>>2]=e[s>>2]|0?2:0,p=17;break}else{o=r+40|0,e[o>>2]=0;break}else(p|0)==11&&(o=r+40|0,e[o>>2]=1,(A|0)<=2&&(p=17));while(0);if((p|0)==17){l=Ak(t,v,i,n)|0,p=21;break e}if(l=_0(A<<4)|0,s=s+44|0,(e[o>>2]|0)==1){p=e[s>>2]|0,E=i,u[l>>3]=+u[p>>3]*.013888888888888888+E,i=n,u[l+8>>3]=+u[p+8>>3]*.013888888888888888+i,u[l+16>>3]=+u[p+16>>3]*.013888888888888888-E,u[l+24>>3]=+u[p+24>>3]*.013888888888888888+i,u[l+32>>3]=+u[p+32>>3]*.013888888888888888-E,u[l+40>>3]=+u[p+40>>3]*.013888888888888888-i,u[l+48>>3]=+u[p+48>>3]*.013888888888888888+E,u[l+56>>3]=+u[p+56>>3]*.013888888888888888-i,p=21;break e}for(o=0;;){if((o|0)>=(A|0)){p=21;break e}p=e[s>>2]|0,x=+u[p+(o<<4)>>3],E=+u[p+(o<<4)+8>>3],B=+G0(+(E*E+x*x)),u[l+(o<<4)>>3]=(i/B+1)*x*.013888888888888888,u[l+(o<<4)+8>>3]=(n/B+1)*E*.013888888888888888,o=o+1|0}}case 2:{e[v>>2]=4,p=_0(64)|0,t=e[(e[f>>2]|0)+12>>2]|0,z=+u[t+32>>3],B=+u[t+40>>3],w=~~+u[t+16>>3],t=~~+u[t+24>>3],x=-i,E=-n,uk(l,w,t,x,E),e[p>>2]=e[l>>2],e[p+4>>2]=e[l+4>>2],e[p+8>>2]=e[l+8>>2],e[p+12>>2]=e[l+12>>2],l=p+16|0,f=~~z,uk(s,f,t,i,E),e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2],l=p+32|0,t=~~B,uk(A,f,t,i,n),e[l>>2]=e[A>>2],e[l+4>>2]=e[A+4>>2],e[l+8>>2]=e[A+8>>2],e[l+12>>2]=e[A+12>>2],l=p+48|0,uk(c,w,t,x,n),e[l>>2]=e[c>>2],e[l+4>>2]=e[c+4>>2],e[l+8>>2]=e[c+8>>2],e[l+12>>2]=e[c+12>>2],e[r+40>>2]=1,l=p,p=21;break e}case 3:{e[r+40>>2]=2,l=Ak(t,v,i,n)|0,p=21;break e}default:{e[w>>2]=e[e[(e[f>>2]|0)+8>>2]>>2],$0(1,93883,w)|0,o=1;break e}}while(0);return(p|0)==21&&(e[r+36>>2]=l,o=e[v>>2]|0,e[r+32>>2]=o,JF(l,o,r,r+16|0),(o|0)>(e[46914]|0)&&(e[46914]=o),o=0),g=m,o|0}function HF(r,t){r=r|0,t=t|0;var i=0,n=0;do if((t|0)==4){if(i=+u[r+8>>3],t=r+16|0,n=+u[r+24>>3],i==n){if(+u[r+40>>3]!=+u[r+56>>3]){t=0;break}if(+u[r>>3]!=+u[r+48>>3]){t=0;break}t=+u[t>>3]==+u[r+32>>3];break}+u[r>>3]==+u[t>>3]&&+u[r+32>>3]==+u[r+48>>3]&&i==+u[r+56>>3]?t=n==+u[r+40>>3]:t=0}else t=0;while(0);return t&1|0}function Ak(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,c=0,f=0;for(o=he(r,102705)|0,o?o=F1(o)|0:o=0,s=(o|0)<3?20:o,A=_0(s<<4)|0,r=r+16|0,l=1/+(s|0),o=0;!((o|0)>=(s|0));)f=e[r>>2]|0,c=l*+(o|0)*6.283185307179586,u[A+(o<<4)>>3]=(+u[f+32>>3]*.5+i)*+ee(+c),u[A+(o<<4)+8>>3]=(+u[f+40>>3]*.5+n)*+le(+c),o=o+1|0;return e[t>>2]=s,A|0}function uk(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=+n,o=+o,u[r>>3]=+(t|0)*.013888888888888888+n,u[r+8>>3]=+(i|0)*.013888888888888888+o}function JF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;for(c=+u[r>>3],A=+u[r+8>>3],o=1,l=A,s=c;!((o|0)>=(t|0));)f=r+16|0,w=+u[f>>3],p=+u[r+24>>3],o=o+1|0,l=p>l?p:l,s=w>s?w:s,A=p>3]=c,u[i+8>>3]=A,u[n>>3]=s,u[n+8>>3]=l}function Xy0(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;m=g,g=g+80|0,f=m+64|0,p=m+68|0,l=m+48|0,s=m+32|0,A=m+16|0,c=m,w=t+16|0,o=e[w>>2]|0;e:do if(e[o+212>>2]|0)e[p>>2]=4,x=+u[o+32>>3]*.5,z=+u[o+40>>3]*.5,e[r+40>>2]=1,l=_0(64)|0,u[l>>3]=x,u[l+8>>3]=z,B=-x,u[l+16>>3]=B,u[l+24>>3]=z,u[l+32>>3]=B,z=-z,u[l+40>>3]=z,u[l+48>>3]=x,u[l+56>>3]=z,v=20;else switch(ZA(t)|0){case 1:{c=e[(e[w>>2]|0)+12>>2]|0,f=c+8|0,A=e[f>>2]|0,e[p>>2]=A;r:do if((A|0)>2)for(l=_0(A<<4)|0,s=c+44|0,o=0;;){if((o|0)>=(A|0))break r;t=e[s>>2]|0,u[l+(o<<4)>>3]=+u[t+(o<<4)>>3]*.013888888888888888,u[l+(o<<4)+8>>3]=+u[t+(o<<4)+8>>3]*.013888888888888888,o=o+1|0}else l=Ak(t,p,0,0)|0;while(0);switch(o=e[e[(e[w>>2]|0)+8>>2]>>2]|0,C[o>>0]|0){case 98:{ge(o,108236)|0?v=13:o=1;break}case 112:{!(ge(o,105721)|0)&&HF(l,e[p>>2]|0)|0?o=1:v=13;break}default:v=13}do if((v|0)==13){if((e[f>>2]|0)<3&&e[c>>2]|0){o=2;break}o=0}while(0);e[r+40>>2]=o,v=20;break e}case 2:{e[p>>2]=4,v=_0(64)|0,w=e[(e[w>>2]|0)+12>>2]|0,B=+u[w+16>>3],z=+u[w+24>>3],x=+u[w+32>>3],E=+u[w+40>>3],ak(l,B,z),e[v>>2]=e[l>>2],e[v+4>>2]=e[l+4>>2],e[v+8>>2]=e[l+8>>2],e[v+12>>2]=e[l+12>>2],l=v+16|0,ak(s,x,z),e[l>>2]=e[s>>2],e[l+4>>2]=e[s+4>>2],e[l+8>>2]=e[s+8>>2],e[l+12>>2]=e[s+12>>2],l=v+32|0,ak(A,x,E),e[l>>2]=e[A>>2],e[l+4>>2]=e[A+4>>2],e[l+8>>2]=e[A+8>>2],e[l+12>>2]=e[A+12>>2],l=v+48|0,ak(c,B,E),e[l>>2]=e[c>>2],e[l+4>>2]=e[c+4>>2],e[l+8>>2]=e[c+8>>2],e[l+12>>2]=e[c+12>>2],e[r+40>>2]=1,l=v,v=20;break e}case 3:{e[r+40>>2]=2,l=Ak(t,p,0,0)|0,v=20;break e}default:{e[f>>2]=e[e[(e[w>>2]|0)+8>>2]>>2],$0(1,93919,f)|0,o=1;break e}}while(0);return(v|0)==20&&(o=e[p>>2]|0,i!=1|n!=1&&qy0(l,o,i,n),e[r+36>>2]=l,e[r+32>>2]=o,JF(l,o,r,r+16|0),(o|0)>(e[46914]|0)&&(e[46914]=o),o=0),g=m,o|0}function ak(r,t,i){r=r|0,t=+t,i=+i,u[r>>3]=t*.013888888888888888,u[r+8>>3]=i*.013888888888888888}function qy0(r,t,i,n){r=r|0,t=t|0,i=+i,n=+n;var o=0,l=0;for(o=0;!((o|0)>=(t|0));)u[r>>3]=+u[r>>3]*i,l=r+8|0,u[l>>3]=+u[l>>3]*n,r=r+16|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e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2];do if(Ky0(o,f,w,p)|0){if(o=e[t+40>>2]|0,o&1|0&&e[n+40>>2]&1|0){o=1;break}if(o&2|0&&e[n+40>>2]&2|0){B=+u[l>>3]-+u[t>>3]+ +u[s>>3]-+u[n>>3],x=+u[r>>3]-+u[i>>3],z=+u[r+8>>3]-+u[i+8>>3],o=!(z*z+x*x>B*B*.25);break}if(o=e[46915]|0,o?s=e[46916]|0:(e[46915]=_0(e[46914]<<4)|0,s=_0(e[46914]<<4)|0,e[46916]=s,o=e[46915]|0),_=e[t+36>>2]|0,t=t+32|0,l=e[t>>2]|0,e[p>>2]=e[r>>2],e[p+4>>2]=e[r+4>>2],e[p+8>>2]=e[r+8>>2],e[p+12>>2]=e[r+12>>2],UF(_,l,p,o),r=e[n+36>>2]|0,l=n+32|0,n=e[l>>2]|0,e[p>>2]=e[i>>2],e[p+4>>2]=e[i+4>>2],e[p+8>>2]=e[i+8>>2],e[p+12>>2]=e[i+12>>2],UF(r,n,p,s),by0(o,s,e[t>>2]|0,e[l>>2]|0)|0)o=1;else{if(o=e[46915]|0,e[f>>2]=e[o>>2],e[f+4>>2]=e[o+4>>2],e[f+8>>2]=e[o+8>>2],e[f+12>>2]=e[o+12>>2],e[w>>2]=e[A>>2],e[w+4>>2]=e[A+4>>2],e[w+8>>2]=e[A+8>>2],e[w+12>>2]=e[A+12>>2],e[p>>2]=e[c>>2],e[p+4>>2]=e[c+4>>2],e[p+8>>2]=e[c+8>>2],e[p+12>>2]=e[c+12>>2],XF(f,w,p)|0&&(c=e[46916]|0,_=e[l>>2]|0,e[p>>2]=e[o>>2],e[p+4>>2]=e[o+4>>2],e[p+8>>2]=e[o+8>>2],e[p+12>>2]=e[o+12>>2],qF(c,_,p)|0)){o=1;break}o=e[46916]|0,e[f>>2]=e[o>>2],e[f+4>>2]=e[o+4>>2],e[f+8>>2]=e[o+8>>2],e[f+12>>2]=e[o+12>>2],e[w>>2]=e[v>>2],e[w+4>>2]=e[v+4>>2],e[w+8>>2]=e[v+8>>2],e[w+12>>2]=e[v+12>>2],e[p>>2]=e[m>>2],e[p+4>>2]=e[m+4>>2],e[p+8>>2]=e[m+8>>2],e[p+12>>2]=e[m+12>>2],XF(f,w,p)|0?(m=e[46915]|0,_=e[t>>2]|0,e[p>>2]=e[o>>2],e[p+4>>2]=e[o+4>>2],e[p+8>>2]=e[o+8>>2],e[p+12>>2]=e[o+12>>2],o=(qF(m,_,p)|0)!=0):o=0}}else o=0;while(0);return g=E,o&1|0}function Ky0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,+u[r>>3]<=+u[n>>3]&&+u[i>>3]<=+u[t>>3]&&+u[r+8>>3]<=+u[n+8>>3]?r=+u[i+8>>3]<=+u[t+8>>3]&1:r=0,r|0}function UF(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(l=i+8|0,o=0;!((o|0)>=(t|0));)u[n>>3]=+u[i>>3]+ +u[r>>3],u[n+8>>3]=+u[l>>3]+ +u[r+8>>3],o=o+1|0,r=r+16|0,n=n+16|0}function by0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0;for(D=g,g=g+112|0,x=D+96|0,B=D+80|0,E=D+64|0,m=D+48|0,_=D+32|0,L=D+16|0,Z=D,W=i+-1|0,N=n+-1|0,T=i<<1,z=n<<1,o=0,l=0,s=0,A=0;;){if(P=r+(o<<4)|0,X=r+(((W+o|0)%(i|0)|0)<<4)|0,e[B>>2]=e[P>>2],e[B+4>>2]=e[P+4>>2],e[B+8>>2]=e[P+8>>2],e[B+12>>2]=e[P+12>>2],e[x>>2]=e[X>>2],e[x+4>>2]=e[X+4>>2],e[x+8>>2]=e[X+8>>2],e[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>>2]=e[P+12>>2],e[B>>2]=e[p>>2],e[B+4>>2]=e[p+4>>2],e[B+8>>2]=e[p+8>>2],e[B+12>>2]=e[p+12>>2],e[x>>2]=e[v>>2],e[x+4>>2]=e[v+4>>2],e[x+8>>2]=e[v+8>>2],e[x+12>>2]=e[v+12>>2],dy0(m,E,B,x,Z)|0){o=1;break}p=(f|0)==0,v=(w|0)==0;do if(c!=0|(w|f|0)!=0)if(c>=0)if(p){l=(l+1|0)%(n|0)|0,A=A+1|0;break}else{o=(o+1|0)%(i|0)|0,s=s+1|0;break}else if(v){o=(o+1|0)%(i|0)|0,s=s+1|0;break}else{l=(l+1|0)%(n|0)|0,A=A+1|0;break}else o=(o+1|0)%(i|0)|0,s=s+1|0;while(0);if(!((A|0)<(z|0)&((s|0)<(T|0)&((A|0)<(n|0)|(s|0)<(i|0))))){o=0;break}}return g=D,o|0}function XF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=+u[r>>3],o<=+u[i>>3]&&o>=+u[t>>3]&&(n=+u[r+8>>3],n<=+u[i+8>>3])?r=n>=+u[t+8>>3]&1:r=0,r|0}function qF(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(n=e[46917]|0,n||(n=_0(e[46914]<<4)|0,e[46917]=n),s=i+8|0,l=0;!((l|0)>=(t|0));)u[n+(l<<4)>>3]=+u[r+(l<<4)>>3]-+u[i>>3],u[n+(l<<4)+8>>3]=+u[r+(l<<4)+8>>3]-+u[s>>3],l=l+1|0;i=t+-1|0,o=0,r=0;e:for(;;){if((r|0)>=(t|0)){f=19;break}if(l=(i+r|0)%(t|0)|0,A=+u[n+(r<<4)+8>>3],s=A==0,s&&+u[n+(l<<4)+8>>3]==0){if(+u[n+(l<<4)>>3]*+u[n+(r<<4)>>3]<0){n=1;break}}else f=11;do if((f|0)==11){if(f=0,c=+u[n+(l<<4)+8>>3],!(A>=0)|!(c<=0)&&!(c>=0)|!(A<=0))break;if(A=(c*+u[n+(r<<4)>>3]-A*+u[n+(l<<4)>>3])/(c-A),A==0){n=1;break e}if(A>0)if(c==0|s){o=o+.5;break}else{o=o+1;break}}while(0);r=r+1|0}return(f|0)==19&&(n=((~~o|0)%2|0|0)==1&1),n|0}function $F(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(c=_0(t<<2)|0,A=N0(t,t)|0,i=_0(A<<2)|0,e[c>>2]=i,Kh(A,0,i),i=1;;){if((i|0)>=(t|0)){i=0,l=0,A=t;break}e[c+(i<<2)>>2]=(e[c>>2]|0)+((N0(i,t)|0)<<2),i=i+1|0}for(;!((l|0)>=(t|0));){for(s=c+(l<<2)|0,n=l,o=i;(n|0)!=(t|0);)f=e[r+(o<<2)>>2]|0,e[(e[s>>2]|0)+(n<<2)>>2]=f,e[(e[c+(n<<2)>>2]|0)+(l<<2)>>2]=f,n=n+1|0,o=o+1|0;i=i+A|0,l=l+1|0,A=A+-1|0}return c|0}function e90(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=+A;var c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0;B0=e[i+(o<<2)>>2]|0,P=e[r+4>>2]|0,X=e[r>>2]|0,U=e[r+48>>2]|0,F=e[r+52>>2]|0,q=e[r+56>>2]|0;e:do if((l|0)<1)i=0;else{for(t90(B0,P,U,F,q,A),t0=e[r+28>>2]|0,Y=e[r+32>>2]|0,H=e[r+36>>2]|0,a0=e[r+12>>2]|0,k0=e[r+16>>2]|0,o=0,n=0,i=-1;!((o|0)>=(P|0));)(o|0)>=(n|0)&&(i=i+1|0,(i|0)==(q|0)?(n=P,i=q):n=e[F+(i<<2)>>2]|0),e[k0+(e[U+(o<<2)>>2]<<2)>>2]=i,o=o+1|0;for(T=e[r+40>>2]|0,D=Y+(P+-1<<2)|0,i=0,n=0;;){if(n<<24>>24==0&(i|0)<(l|0))c=-1e9,o=0,n=1;else break e;r:for(;;){for(W=o;;){if((W|0)>=(P|0))break r;for(o=e[U+(W<<2)>>2]|0,N=+x0[B0+(o<<2)>>2],f=N,Z=W,w=0;;){if(x0[T+(o<<2)>>2]=w,o=Z+1|0,(o|0)>=(P|0)){L=0;break}if(f=(e[k0+(o<<2)>>2]|0)>(e[k0+(Z<<2)>>2]|0)?f+A:f,r=e[U+(o<<2)>>2]|0,w=+x0[B0+(r<<2)>>2],+L0(+(w-f))>1e-9){L=1;break}Z=o,w=w-N,o=r}for(p=W;;){if((p|0)>(Z|0)){r=0,v=W;break}for(v=e[U+(p<<2)>>2]|0,m=e[X+(v<<2)>>2]|0,r=0,f=-+x0[t+(v<<2)>>2];!((r|0)>=(P|0));)(r|0)!=(v|0)&&(f=+x0[B0+(r<<2)>>2]*+x0[m+(r<<2)>>2]+f),r=r+1|0;x0[t0+(v<<2)>>2]=f/-+x0[m+(v<<2)>>2]-+x0[T+(v<<2)>>2],p=p+1|0}t:for(;;){if((v|0)>(Z|0)){w=0,E=0,B=0;break}for(p=e[k0+(e[U+(v<<2)>>2]<<2)>>2]|0,(p|0)==(q|0)?B=o:(B=e[F+(p<<2)>>2]|0,B=(o|0)<(B|0)?o:B),m=v;;){if((m|0)>=(B|0)){m=v;break}p=e[U+(m<<2)>>2]|0,+x0[t0+(p<<2)>>2]>2]=p,r=r+1|0),m=m+1|0}for(;!((m|0)>=(B|0));)p=e[U+(m<<2)>>2]|0,+x0[t0+(p<<2)>>2]==N&&(e[a0+(r<<2)>>2]=p,r=r+1|0),m=m+1|0;for(;;){if((v|0)>=(B|0)){v=B;continue t}p=e[U+(v<<2)>>2]|0,+x0[t0+(p<<2)>>2]>N&&(e[a0+(r<<2)>>2]=p,r=r+1|0),v=v+1|0}}for(;!((B|0)>=(r|0));){for(v=e[a0+(B<<2)>>2]|0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>>2]|0),r0(r)}function n90(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0;for(f=_0(60)|0,e[f>>2]=0,w=f+4|0,e[w>>2]=t,e[f+48>>2]=i,e[f+52>>2]=n,e[f+56>>2]=o,e[f>>2]=$F(r,t)|0,A=t<<2,c=_0(A)|0,e[f+8>>2]=c,s=0,t=0,r=-1;!((s|0)>=(e[w>>2]|0));)l=r+1|0,(s|0)>=(t|0)&&(t=e[((l|0)==(o|0)?w:n+(l<<2)|0)>>2]|0,r=l),e[c+(e[i+(s<<2)>>2]<<2)>>2]=r,s=s+1|0;return e[f+28>>2]=_0(A)|0,e[f+32>>2]=_0(A)|0,e[f+36>>2]=_0(A)|0,e[f+40>>2]=_0(A)|0,e[f+12>>2]=_0(A)|0,e[f+16>>2]=_0(A)|0,e[f+20>>2]=_0(A)|0,e[f+24>>2]=_0(A)|0,f|0}function KF(){bh(187676,24),e[46922]=0}function o90(){return e8(187676)|0}function ck(r,t){r=r|0,t=t|0;var i=0,n=0;return i=+u[r>>3]-+u[t>>3],n=+u[r+8>>3]-+u[t+8>>3],+ +G0(+(n*n+i*i))}function l90(r){r=r|0;var t=0;t=e[46922]|0,e[r+16>>2]=t,e[46922]=t+1}function fk(r){r=r|0;var t=0,i=0;i=r+20|0,t=(e[i>>2]|0)+-1|0,e[i>>2]=t,t||sk(r,187676)}function hk(r){r=r|0,r=r+20|0,e[r>>2]=(e[r>>2]|0)+1}function s90(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=+o;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;for(L=g,g=g+16|0,w=L,e[w>>2]=n,v=t<<2,z=_0(v)|0,c=t<<3,_=_0(c)|0,x=Iy0(r,t)|0,r=0;!((r|0)>=(t|0));){for(A=x+(r<<2)|0,s=0;(s|0)!=(t|0);)E=(e[A>>2]|0)+(s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)>>2]*+(e[(e[w>>2]|0)+(r<<2)>>2]|0),l=l+(f>=+u[n+(r<<3)>>3]?-p:p),u[c>>3]=l),r=r+1|0;s=s+1|0}for(;;){if(!(r<<24>>24==0&(v|0)<200)){B=42;break}if((oF(z,n,_,t,o,t,1)|0)<0){r=1;break}else r=1,w=0;for(;!((w|0)>=(t|0));){for(p=+u[n+(w<<3)>>3],A=x+(w<<2)|0,c=z+(w<<2)|0,l=0,s=0;(s|0)!=(t|0);){do if((s|0)!=(w|0))if(f=+x0[(e[c>>2]|0)+(s<<2)>>2]*+(e[(e[A>>2]|0)+(s<<2)>>2]|0),p>=+u[n+(s<<3)>>3]){l=l+-f;break}else{l=l+f;break}while(0);s=s+1|0}s=_+(w<<3)|0,p=+u[s>>3],l!=p&&+L0(+(1-l/p))>1e-5&&(u[s>>3]=l,r=0),w=w+1|0}v=v+1|0}e:do if((B|0)==42)for(l=1/m,r=0;;){if((r|0)>=(t|0)){r=0;break e}Z=i+(r<<3)|0,u[Z>>3]=+u[Z>>3]*l,Z=n+(r<<3)|0,u[Z>>3]=+u[Z>>3]*l,r=r+1|0}while(0);return r0(e[x>>2]|0),r0(x),r0(e[z>>2]|0),r0(z),r0(E),r0(_),g=L,r|0}function bF(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(i=0,n=0;!((i|0)>=(t|0));)o=+u[r+(i<<3)>>3]+n,i=i+1|0,n=o;for(n=n/+(t|0),i=0;!((i|0)>=(t|0));)l=r+(i<<3)|0,u[l>>3]=+u[l>>3]-n,i=i+1|0;l=t+-1|0,Za(r,0,l,1/+Ga(r,0,l),r)}function A90(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0;if(c=u90(o,r)|0,f=_0(8)|0,!n)o=0,A=0;else{for(l=_0(r<<3)|0,o=0;!((o|0)>=(r|0));)u[l+(o<<3)>>3]=+u[n+(o<<3)>>3],o=o+1|0;bF(l,r),o=l,A=l}for(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(l<1e-10);Za(f,0,m,1/l,f);do{for(Nl(B,0,m,f),c90(r,t,t,f,E,o),Nl(f,0,m,E),s=0;(s|0)!=(A|0);)x=i+(s<<2)|0,w=-+tl(e[x>>2]|0,0,m,f),XA(f,0,m,w,e[x>>2]|0),s=s+1|0;if(l=+Ga(f,0,m),l<1e-10)break e;Za(f,0,m,1/l,f),w=+tl(f,0,m,B)}while(+L0(+w)>3]=w*l,A=A+1|0}for(;!((A|0)>=(v|0));){for(c=e[i+(A<<2)>>2]|0,s=0;;){if((s|0)>=(t|0)){s=0;break}u[c+(s<<3)>>3]=+((ri()|0)%100|0|0),s=s+1|0}for(;!((s|0)>=(A|0));)x=i+(s<<2)|0,p=-+tl(e[x>>2]|0,0,m,c),XA(c,0,m,p,e[x>>2]|0),s=s+1|0;Za(c,0,m,1/+Ga(c,0,m),c),u[n+(A<<3)>>3]=0,A=A+1|0}for(f=v+-1|0,A=0;!((A|0)>=(f|0));){for(r=n+(A<<3)|0,o=A+1|0,l=+u[r>>3],s=A,c=o;!((c|0)>=(v|0));)p=+u[n+(c<<3)>>3],x=l>2]|0),x=i+(s<<2)|0,Nl(e[t>>2]|0,0,m,e[x>>2]|0),Nl(e[x>>2]|0,0,m,E),u[n+(s<<3)>>3]=+u[r>>3],u[r>>3]=l,A=o}r0(E),r0(B)}function c90(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0;for(s=0;!((s|0)>=(t|0));){for(f=r+(s<<2)|0,A=0,c=0;!((c|0)>=(i|0));)A=+u[n+(c<<3)>>3]*+x0[(e[f>>2]|0)+(c<<2)>>2]+A,c=c+1|0;u[o+(s<<3)>>3]=A,s=s+1|0}s=t+-1|0,l|0&&XA(o,0,s,-+tl(o,0,s,l),l)}function f90(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;for(A=_0(t<<2)|0,c=1/+(t|0),n=0,s=0;!((s|0)>=(t|0));){for(f=r+(s<<2)|0,o=0,l=0;(l|0)!=(t|0);)w=+(e[(e[f>>2]|0)+(l<<2)>>2]|0),w=w*w,o=w+o,l=l+1|0,n=w+n;x0[A+(s<<2)>>2]=c*o,s=s+1|0}return x0[i>>2]=n/+(N0(t,t)|0),A|0}function h90(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;for(B=N0(n,n)|0,x=_0(B<<3)|0,z=_0(n<<3)|0,o=0;!((o|0)>=(n|0));)u[z+(o<<3)>>3]=+u[i+(o<<3)>>3],o=o+1|0;for(o=0;!((o|0)>=(B|0));)u[x+(o<<3)>>3]=+u[r+(o<<3)>>3],o=o+1|0;E=n+-1|0,s=0,m=0;e:for(;;){if((m|0)<(E|0))l=0,o=m;else{w=21;break}for(;!((o|0)>=(n|0));)_=+L0(+ +u[r+((N0(o,n)|0)+m<<3)>>3]),p=_=(n|0));)w=r+(o+A<<3)|0,_=+u[w>>3],p=r+(o+v<<3)|0,u[w>>3]=+u[p>>3],u[p>>3]=_,o=o+1|0;for(p=i+(s<<3)|0,_=+u[p>>3],c=i+(m<<3)|0,u[p>>3]=+u[c>>3],u[c>>3]=_,p=m+1|0,f=r+(v+m<<3)|0,o=p;;){if((o|0)>=(n|0)){m=p;continue e}for(w=N0(o,n)|0,l=+u[r+(w+m<<3)>>3]/+u[f>>3],A=i+(o<<3)|0,u[A>>3]=+u[A>>3]-+u[c>>3]*l,A=0;!((A|0)>=(n|0));)L=r+(A+w<<3)|0,u[L>>3]=+u[L>>3]-+u[r+(A+v<<3)>>3]*l,A=A+1|0;o=o+1|0}}if((w|0)==21)if(l=+u[r+(B+-1<<3)>>3],+L0(+l)<1e-10)w=33;else{for(u[t+(E<<3)>>3]=+u[i+(E<<3)>>3]/l,o=0;;){if((o|0)>=(E|0)){o=0;break}for(s=n-o|0,A=s+-2|0,l=+u[i+(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|0);)dF(e[r+8>>2]|0);g=E}function rP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+16|0,o=l+8|0,n=l;do if((v2(r)|0)!=1)if(w90(r),t||(t=d90(r)|0),i=p90(r,t)|0,(i|0)<0){$0(1,94039,o)|0;break}else{k90(r),v90(r,t),m90(r,t),g90(r,i);break}else s=e[(e[(U0(r)|0)+16>>2]|0)+132>>2]|0,e[s>>2]=0,e[s+4>>2]=0,e[s+8>>2]=0,e[s+12>>2]=0;while(0);return g=l,t|0}function w90(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;for(i=v2(r)|0,i=N0(i,i)|0,t=U0(r)|0;t;)n=t+16|0,o=e[(e[n>>2]|0)+112>>2]|0,l=o+24|0,e[l>>2]=i,e[l+4>>2]=0,u[o+48>>3]=10,o=(B90(r,t)|0)==0,n=e[(e[n>>2]|0)+112>>2]|0,e[n>>2]=o?i:0,e[n+4>>2]=0,t=X0(r,t)|0}function d90(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;n=(v2(r)|0)<3,t=U0(r)|0;e:do if(!n){for(;t;)n=e[(e[t+16>>2]|0)+112>>2]|0,(e[n>>2]|0)==0&(e[n+4>>2]|0)==0&&oP(r,t,0),t=X0(r,t)|0;for(i=0,t=0,n=U0(r)|0;;){if(!n)break e;s=e[(e[n+16>>2]|0)+112>>2]|0,l=e[s>>2]|0,s=e[s+4>>2]|0,o=((i|0)<0)<<31>>31,o=s>>>0>o>>>0|(s|0)==(o|0)&l>>>0>i>>>0,i=o?l:i,t=o?n:t,n=X0(r,n)|0}}while(0);return t|0}function p90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(i=e[(e[t+16>>2]|0)+112>>2]|0,o=i+24|0,n=e[o>>2]|0,e[o>>2]=0,e[o+4>>2]=0,e[i+32>>2]=0,C90(r,t),i=U0(r)|0,n=Vk(0,n|0,32)|0,o=b,t=0;i;){if(s=(e[(e[i+16>>2]|0)+112>>2]|0)+24|0,l=e[s>>2]|0,s=e[s+4>>2]|0,(l|0)==(n|0)&(s|0)==(o|0)){t=-1;break}A=((t|0)<0)<<31>>31,t=s>>>0>A>>>0|(s|0)==(A|0)&l>>>0>t>>>0?l:t,i=X0(r,i)|0}return t|0}function k90(r){r=r|0;var t=0,i=0,n=0,o=0;for(i=U0(r)|0;i;){t=e[(e[i+16>>2]|0)+112>>2]|0,n=t+16|0;e:do if((e[n>>2]|0)==0&(e[n+4>>2]|0)==0)for(;;){if(n=t+8|0,o=n,o=fr(e[o>>2]|0,e[o+4>>2]|0,1,0)|0,e[n>>2]=o,e[n+4>>2]=b,t=e[t+32>>2]|0,!t)break e;t=e[(e[t+16>>2]|0)+112>>2]|0}while(0);i=X0(r,i)|0}}function v90(r,t){r=r|0,t=t|0,u[(e[(e[t+16>>2]|0)+112>>2]|0)+40>>3]=6.283185307179586,iP(r,t)}function m90(r,t){r=r|0,t=t|0,u[(e[(e[t+16>>2]|0)+112>>2]|0)+48>>3]=0,tP(r,t)}function g90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;for(s=g,g=g+16|0,o=s,l=y90(r,t)|0,i=U0(r)|0;i;)o=e[i+16>>2]|0,n=e[o+112>>2]|0,A=+u[l+(e[n+24>>2]<<3)>>3],n=n+48|0,c=+ee(+ +u[n>>3])*A,o=e[o+132>>2]|0,u[o>>3]=c,u[o+8>>3]=+le(+ +u[n>>3])*A,i=X0(r,i)|0;r0(l),g=s}function y90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;f=g,g=g+16|0,A=f,c=j0((t<<3)+8|0)|0,r=wt(r,re(e[r+60>>2]|0,0,101288,0)|0,0)|0;e:do if(!r)n=1,i=0,r=1;else{l=0,i=0,o=1;r:for(;;){if((o|0)>(t|0)){n=l,r=o;break e}if(n=+P1(r,A),!(n>0)){n=l,r=o;break e}for(l=n>.02?n:.02,i=l+i,s=o+1|0,u[c+(o<<3)>>3]=i,r=e[A>>2]|0;;){if(o=C[r>>0]|0,!(o<<24>>24)){o=s;continue r}if(!(o<<24>>24==58|(cn(o<<24>>24)|0)!=0)){o=s;continue r}r=r+1|0}}}while(0);for(;!((r|0)>(t|0));)l=i+n,u[c+(r<<3)>>3]=l,r=r+1|0,i=l;return g=f,c|0}function tP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(i=e[(e[t+16>>2]|0)+112>>2]|0,e[i+32>>2]|0?n=+u[i+48>>3]-+u[i+40>>3]*.5:n=0,l=Xr(r,t)|0;l;)i=e[l>>2]&3,o=e[((i|0)==3?l:l+48|0)+40>>2]|0,(o|0)==(t|0)&&(o=e[((i|0)==2?l:l+-48|0)+40>>2]|0),i=e[(e[o+16>>2]|0)+112>>2]|0,(e[i+32>>2]|0)==(t|0)&&(s=i+48|0,+u[s>>3]==10)&&(A=+u[i+40>>3],u[s>>3]=A*.5+n,n=A+n,i=i+16|0,(e[i>>2]|0)==0&(e[i+4>>2]|0)==0||tP(r,o)),l=ot(r,l,t)|0}function iP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;for(n=e[(e[t+16>>2]|0)+112>>2]|0,o=n+8|0,l=+u[n+40>>3]/(+((e[o>>2]|0)>>>0)+4294967296*+((e[o+4>>2]|0)>>>0)),o=Xr(r,t)|0;o;)n=e[o>>2]&3,i=e[((n|0)==3?o:o+48|0)+40>>2]|0,(i|0)==(t|0)&&(i=e[((n|0)==2?o:o+-48|0)+40>>2]|0),n=e[(e[i+16>>2]|0)+112>>2]|0,(e[n+32>>2]|0)==(t|0)&&(s=n+40|0,+u[s>>3]==0)&&(A=n+8|0,u[s>>3]=l*(+((e[A>>2]|0)>>>0)+4294967296*+((e[A+4>>2]|0)>>>0)),n=n+16|0,!((e[n>>2]|0)==0&(e[n+4>>2]|0)==0))&&iP(r,i),o=ot(r,o,t)|0}function C90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;v=g,g=g+16|0,w=v,p=re(r,2,101541,0)|0,e[w+4>>2]=0,e[w>>2]=0,nP(w,t),A=(p|0)==0;e:for(;c=E90(w)|0,!!c;)for(f=c+16|0,l=e[(e[(e[f>>2]|0)+112>>2]|0)+24>>2]|0,o=Xr(r,c)|0,l=fr(0,l|0,0,1)|0,l=Vk(l|0,b|0,32)|0,s=b;;){if(!o)continue e;!A&&(C[(k2(o,p)|0)>>0]|0)==48&&!(ge(k2(o,p)|0,138394)|0)||(t=e[o>>2]&3,i=e[((t|0)==3?o:o+48|0)+40>>2]|0,(i|0)==(c|0)&&(i=e[((t|0)==2?o:o+-48|0)+40>>2]|0),t=e[(e[i+16>>2]|0)+112>>2]|0,n=t+24|0,m=n,E=e[m+4>>2]|0,s>>>0>>0|((s|0)==(E|0)?l>>>0<(e[m>>2]|0)>>>0:0)&&(E=n,e[E>>2]=l,e[E+4>>2]=s,e[t+32>>2]=c,E=(e[(e[f>>2]|0)+112>>2]|0)+16|0,m=E,m=fr(e[m>>2]|0,e[m+4>>2]|0,1,0)|0,e[E>>2]=m,e[E+4>>2]=b,nP(w,i))),o=ot(r,o,c)|0}g=v}function nP(r,t){r=r|0,t=t|0;var i=0,n=0;i=j0(8)|0,e[i>>2]=t,t=r+4|0,n=e[t>>2]|0,e[(n|0?n+4|0:r)>>2]=i,e[t>>2]=i}function E90(r){r=r|0;var t=0,i=0;return i=e[r>>2]|0,i?(t=e[i>>2]|0,e[r>>2]=e[i+4>>2],r0(i),e[r>>2]|0||(e[r+4>>2]=0)):t=0,t|0}function oP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;for(s=e[e[(e[t+16>>2]|0)+112>>2]>>2]|0,l=Xr(r,t)|0,s=fr(0,s|0,0,1)|0,s=Vk(s|0,b|0,32)|0,A=b;l;)o=e[l>>2]&3,n=e[((o|0)==3?l:l+48|0)+40>>2]|0,(n|0)==(t|0)&&(n=e[((o|0)==2?l:l+-48|0)+40>>2]|0),(n|0)!=(i|0)&&(c=e[(e[n+16>>2]|0)+112>>2]|0,o=c,f=e[o+4>>2]|0,A>>>0>>0|((A|0)==(f|0)?s>>>0<(e[o>>2]|0)>>>0:0))&&(f=c,e[f>>2]=s,e[f+4>>2]=A,oP(r,n,t)),l=ot(r,l,t)|0}function B90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;for(o=0,l=Xr(r,t)|0;;){if(!l){i=1;break}if(n=e[l>>2]&3,i=e[((n|0)==3?l:l+48|0)+40>>2]|0,(i|0)==(t|0)&&(i=e[((n|0)==2?l:l+-48|0)+40>>2]|0),(i|0)!=(t|0)){if(o)if((o|0)==(i|0))i=o;else{i=0;break}}else i=o;o=i,l=ot(r,l,t)|0}return i|0}function I90(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;t=g,g=g+32|0,n=t,i=re(r,1,94122,0)|0,l=re(r,0,94122,0)|0,r=lP(r,l,i,re(r,0,94127,0)|0)|0,i=r+16|0,o=+G0(+(+u[r>>3]+.1)),L90(n,0,0,o,o),e[i>>2]=e[n>>2],e[i+4>>2]=e[n+4>>2],e[i+8>>2]=e[n+8>>2],e[i+12>>2]=e[n+12>>2],e[i+16>>2]=e[n+16>>2],e[i+20>>2]=e[n+20>>2],e[i+24>>2]=e[n+24>>2],e[i+28>>2]=e[n+28>>2],sP(r),AP(r),uP(r),g=t}function lP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;for(v=j0(72)|0,e[v+60>>2]=0,e[v+56>>2]=r,c=r+16|0,o=0,f=0,s=1,A=0,w=0;l=e[c>>2]|0,!((s|0)>(e[l+180>>2]|0));)l=lP(e[(e[l+184>>2]|0)+(s<<2)>>2]|0,t,i,n)|0,o=+u[l>>3]+o,A|0&&(e[A+52>>2]=l),f=f+1|0,s=s+1|0,A=l,w=w|0?w:l;for(p=U0(r)|0,l=w;p;)s=p+16|0,e[e[(e[s>>2]|0)+112>>2]>>2]|0?s=f:(c=_90(p,i)|0,o=+u[c>>3]+o,A|0&&(e[A+52>>2]=c),e[e[(e[s>>2]|0)+112>>2]>>2]=r,s=f+1|0,A=c,l=l|0?l:c),p=X0(r,p)|0,f=s;return e[v+64>>2]=f,f?(u[v+8>>3]=o,o=+z90(v,n)):o=+aP(r,t),u[v>>3]=o,e[v+48>>2]=l,v|0}function sP(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;v=g,g=g+176|0,o=v+144|0,w=v+64|0,c=v+32|0,s=v,p=e[r+64>>2]|0;e:do if(p|0){for(f=j0(p<<2)|0,t=r+48|0,n=0,i=t;i=e[i>>2]|0,!((n|0)>=(p|0));)e[f+(n<<2)>>2]=i,n=n+1|0,i=i+52|0;for(ei(f,p,4,80),A=j0(p<<3)|0,i=0;!((i|0)>=(p|0));)u[A+(i<<3)>>3]=+u[e[f+(i<<2)>>2]>>3],i=i+1|0;for(l=+u[r+8>>3],+u[r>>3]==l?(s=r+16|0,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2],e[o+16>>2]=e[s+16>>2],e[o+20>>2]=e[s+20>>2],e[o+24>>2]=e[s+24>>2],e[o+28>>2]=e[s+28>>2],s=cP(p,A,o)|0):(m=+u[r+40>>3],E=+u[r+32>>3],u[s>>3]=+u[r+16>>3],u[s+8>>3]=+u[r+24>>3],B=m-E,l=(E+m-+G0(+(l*4+B*B)))*.5,u[s+16>>3]=E-l,u[s+24>>3]=m-l,e[o>>2]=e[s>>2],e[o+4>>2]=e[s+4>>2],e[o+8>>2]=e[s+8>>2],e[o+12>>2]=e[s+12>>2],e[o+16>>2]=e[s+16>>2],e[o+20>>2]=e[s+20>>2],e[o+24>>2]=e[s+24>>2],e[o+28>>2]=e[s+28>>2],s=cP(p,A,o)|0),n=e[15712]|0,i=0;!((i|0)>=(p|0));)c=(e[f+(i<<2)>>2]|0)+16|0,o=s+(i<<5)|0,e[c>>2]=e[o>>2],e[c+4>>2]=e[o+4>>2],e[c+8>>2]=e[o+8>>2],e[c+12>>2]=e[o+12>>2],e[c+16>>2]=e[o+16>>2],e[c+20>>2]=e[o+20>>2],e[c+24>>2]=e[o+24>>2],e[c+28>>2]=e[o+28>>2],i=i+1|0;for(r0(f),r0(A),r0(s),i=0;;){if(t=e[t>>2]|0,(i|0)>=(p|0))break e;e[t+60>>2]|0||sP(t),t=t+52|0,i=i+1|0}}while(0);g=v}function AP(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;if(o=g,g=g+48|0,n=o,e[r+60>>2]|0)c=+u[r+24>>3],s=+u[r+32>>3],l=+u[r+40>>3],t=e[r+56>>2]|0,i=t+16|0,A=e[i>>2]|0,u[A+16>>3]=+u[r+16>>3],u[A+24>>3]=c,r=e[i>>2]|0,u[r+32>>3]=s*.013888888888888888,u[r+40>>3]=l*.013888888888888888,Lf(t,e[(e[(We(t)|0)+16>>2]|0)+116>>2]&1),x90(t);else{for(t=r+48|0;t=e[t>>2]|0,!!t;)AP(t),t=t+52|0;s=+u[r+32>>3],f=+u[r+40>>3],l=+u[r+16>>3]-s*.5,c=+u[r+24>>3]-f*.5,A=e[(e[r+56>>2]|0)+16>>2]|0,u[A+16>>3]=l,u[A+24>>3]=c,u[A+32>>3]=l+s,u[A+40>>3]=c+f}g=o}function uP(r){r=r|0;var t=0,i=0,n=0;for(n=e[r+64>>2]|0,t=r+48|0,i=0;t=e[t>>2]|0,!((i|0)>=(n|0));)uP(t),t=t+52|0,i=i+1|0;r0(r)}function x90(r){r=r|0;var t=0,i=0,n=0,o=0;o=g,g=g+48|0,n=o,t=o+8|0,i=e[47150]|0,i|0&&!(C[(k2(r,i)|0)>>0]|0)&&(u[n>>3]=+u[(e[r+16>>2]|0)+80>>3]*.7,Ke(t,94168,n)|0,Er(r,e[47150]|0,t)|0),Wp(r),g=o}function S90(r,t){r=r|0,t=t|0;var i=0;return i=+u[e[r>>2]>>3]-+u[e[t>>2]>>3],(i<0?1:(i>0)<<31>>31)|0}function _90(r,t){r=r|0,t=t|0;var i=0;return i=j0(72)|0,u[i>>3]=+aP(r,t),e[i+60>>2]=1,e[i+56>>2]=r,i|0}function z90(r,t){r=r|0,t=t|0;var i=0;return i=+sr(e[r+56>>2]|0,t,0,0),i==0?i=+u[r+8>>3]:(i=+G0(+ +u[r+8>>3])+i*2,i=i*i),+i}function aP(r,t){r=r|0,t=t|0;var i=0;return i=+sr(r,t,1,0),+(i==0?1e3:i*1e3)}function cP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;for(s=g,g=g+32|0,l=s,n=0,o=0;!((n|0)>=(r|0));)A=+u[t+(n<<3)>>3]+o,n=n+1|0,o=A;return o>+u[i+24>>3]*+u[i+16>>3]+.001?n=0:(n=j0(r<<5)|0,e[l>>2]=e[i>>2],e[l+4>>2]=e[i+4>>2],e[l+8>>2]=e[i+8>>2],e[l+12>>2]=e[i+12>>2],e[l+16>>2]=e[i+16>>2],e[l+20>>2]=e[i+20>>2],e[l+24>>2]=e[i+24>>2],e[l+28>>2]=e[i+28>>2],wk(r,t,n,0,0,1,0,1,l)),g=s,n|0}function wk(r,t,i,n,o,l,s,A,c){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=+l,s=+s,A=+A,c=c|0;var f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0;N=g,g=g+112|0,W=N+72|0,z=N+40|0,v=N+32|0,f=N,L=c+16|0,m=+u[L>>3],Z=c+24|0,E=+u[Z>>3],_=+u[c+16+((!(m>3];do if((r|0)>=1){if(!n){s=+u[t>>3],D=_*_,_=s/D,D=D/s,e[W>>2]=e[c>>2],e[W+4>>2]=e[c+4>>2],e[W+8>>2]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>>2],wk(r-n|0,t+(n<<3)|0,i+(n<<5)|0,0,0,0,0,1,W)}while(0);g=N}function L90(r,t,i,n,o){r=r|0,t=+t,i=+i,n=+n,o=+o,u[r>>3]=t,u[r+8>>3]=i,u[r+16>>3]=n,u[r+24>>3]=o}function R90(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0;for(D=g,g=g+96|0,T=D+48|0,N=D+24|0,W=D+16|0,Z=D+8|0,B=D+80|0,x=D,z=r+16|0,_=t+4|0,L=B+4|0,m=U0(r)|0,i=0,n=0,o=0,l=0;m;){for(E=Me(r,m)|0,p=i,v=l;E;){i=($[(e[E+16>>2]|0)+168>>1]|0)==0;do if((m|0)==(e[((e[E>>2]&3|0)==2?E:E+-48|0)+40>>2]|0))i?(l=p,i=v):(n?i=v:(i=j0(96)|0,e[i+84>>2]=j0(((v2(r)|0)<<5)+11520|0)|0,n=i),rT(n,E,e[(e[z>>2]|0)+248>>2]|0),l=p);else if(i)l=p,i=v;else{if(o=G90(E,t)|0,l=o+8|0,SF(e[l>>2]|0,e[o>>2]|0)|0){if(s=jG(e[l>>2]|0,e[o>>2]|0)|0,s)i=E;else{$0(0,94352,Z)|0,l=1,i=v;break}for(;i;)P=i+16|0,X=(e[P>>2]|0)+144|0,iT(x,i,s,0,e[l>>2]|0,e[o>>2]|0),F=x,U=e[F+4>>2]|0,e[X>>2]=e[F>>2],e[X+4>>2]=U,nT(r,i,e[l>>2]|0,e[o>>2]|0,0),i=e[(e[P>>2]|0)+172>>2]|0;Z90(o),l=p,i=v;break}p?(l=p,i=v):(Gf(B,r),i=Qd(r,8,8)|0,$0(0,94436,W)|0,c=+(i|0),f=+x0[t>>2],w=+x0[_>>2],!(f>=c)&!(w>=c)?(A=+x0[B>>2],c=+x0[L>>2],!(A<=f)&!(c<=w)||(u[T>>3]=A,u[T+8>>3]=c,u[T+16>>3]=f,u[T+24>>3]=w,$0(3,94552,T)|0)):(e[N>>2]=i,u[N+8>>3]=f,u[N+16>>3]=w,$0(3,94502,N)|0),l=1,i=v)}while(0);E=Qe(r,E)|0,p=l,v=i}m=X0(r,m)|0,i=p,l=v}return W90(o),n|0&&(r0(e[n+84>>2]|0),r0(l)),g=D,i|0}function G90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;for(v=g,g=g+16|0,f=v+4|0,w=v,i=e[r>>2]&3,n=e[((i|0)==2?r:r+-48|0)+40>>2]|0,i=e[((i|0)==3?r:r+48|0)+40>>2]|0,m=n+16|0,l=e[(e[m>>2]|0)+212>>2]|0,e[f>>2]=l,s=i+16|0,o=e[(e[s>>2]|0)+212>>2]|0,e[w>>2]=o,c=j0(12)|0,r=l,A=o,C[(e[m>>2]|0)+118>>0]|0&&(r=e[(e[(e[r+16>>2]|0)+140>>2]|0)+48>>2]|0,e[f>>2]=r,n=l,l=r),C[(e[s>>2]|0)+118>>0]|0?(s=e[(e[(e[A+16>>2]|0)+140>>2]|0)+48>>2]|0,e[w>>2]=s,i=o,o=s):s=A,l=e[(e[(e[l+16>>2]|0)+140>>2]|0)+44>>2]|0,o=e[(e[(e[o+16>>2]|0)+140>>2]|0)+44>>2]|0,(l|0)<=(o|0)?(o|0)>(l|0)?(fP(c,o,i,l,w,t),r=e[w>>2]|0,o=r,i=w,p=11):l=s:(fP(c,l,n,o,f,t),r=e[f>>2]|0,n=r,o=i,i=f,p=11);(p|0)==11&&(e[i>>2]=e[(e[(e[r+16>>2]|0)+140>>2]|0)+48>>2],i=o,r=e[f>>2]|0,l=e[w>>2]|0),(r|0)!=(l|0);)dk(c,r,0,n,t),dk(c,l,i,0,t),e[f>>2]=e[(e[(e[r+16>>2]|0)+140>>2]|0)+48>>2],n=r,o=l,i=w,r=l,p=11;return dk(c,l,i,n,t),g=v,c|0}function Z90(r){r=r|0,e[r>>2]=0}function W90(r){r=r|0,r|0&&(r0(e[r+8>>2]|0),r0(r))}function fP(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0;for(A=o;s=e[A>>2]|0,!((t|0)<=(n|0));)dk(r,s,i,0,l),t=t+-1|0,A=(e[(e[s+16>>2]|0)+140>>2]|0)+48|0,i=s;e[o>>2]=i}function dk(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;for(l=U0(t)|0;l;)s=e[l+16>>2]|0,!((l|0)==(n|0)|((l|0)==(i|0)?1:(e[s+212>>2]|0)!=(t|0)))&&!(C[s+118>>0]|0)&&hP(r,tT(l,o,0)|0),l=X0(t,l)|0;for(s=t+16|0,t=1;l=e[s>>2]|0,!((t|0)>(e[l+180>>2]|0));)l=e[(e[l+184>>2]|0)+(t<<2)>>2]|0,(l|0)==(i|0)|(l|0)==(n|0)||hP(r,D90(l,o)|0),t=t+1|0}function hP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;n=r+4|0,o=e[n>>2]|0,l=r+8|0,i=e[l>>2]|0;do if((o|0)==(e[r>>2]|0))if(i){e[n>>2]=o<<1,i=Ve(i,o<<3)|0,e[l>>2]=i;break}else{i=_0(400)|0,e[l>>2]=i,e[n>>2]=100;break}while(0);l=e[r>>2]|0,e[r>>2]=l+1,e[i+(l<<2)>>2]=t}function D90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;return c=j0(8)|0,r=e[r+16>>2]|0,i=+u[r+16>>3],A=+u[r+24>>3],n=+u[r+32>>3],s=+u[r+40>>3],e[c+4>>2]=4,r=j0(64)|0,e[c>>2]=r,C[t+8>>0]|0?(o=+x0[t>>2],p=+x0[t+4>>2],l=i-o,o=n+o,n=s+p,i=A-p):(p=+x0[t>>2],w=+x0[t+4>>2],o=(n+i)*.5*(p+-1),f=(s+A)*.5*(w+-1),l=i*p-o,o=n*p-o,n=s*w-f,i=A*w-f),u[r>>3]=l,u[r+8>>3]=i,u[r+16>>3]=l,u[r+24>>3]=n,u[r+32>>3]=o,u[r+40>>3]=n,u[r+48>>3]=o,u[r+56>>3]=i,c|0}function M90(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;p=g,g=g+160|0,w=p+16|0,A=p+8|0,o=p,c=p+24|0,f=j0(v2(r)|0)|0,l=r+16|0,n=e[e[(e[l>>2]|0)+140>>2]>>2]|0;e:do if(!n)o=0,n=0;else for(v=te(r)|0,s=e[46923]|0,e[o>>2]=v,e[o+4>>2]=s,Ke(c,94612,o)|0,s=ji(r,c,1)|0,$e(s,137483,280,1)|0,o=j0(56)|0,e[(e[s+16>>2]|0)+140>>2]=o,e[o>>2]=n,e[o+4>>2]=e[(e[(e[l>>2]|0)+140>>2]|0)+4>>2];;){if(o=e[n+4>>2]|0,!o){o=s,n=1;break e}C[f+(e[(e[o+16>>2]|0)+120>>2]|0)>>0]|0||pk(r,o,s,f),n=n+16|0}while(0);for(l=0,s=U0(r)|0;s;)v=e[s+16>>2]|0,!(C[f+(e[v+120>>2]|0)>>0]|0)&&(C[v+119>>0]|0)==3&&(o||(v=te(r)|0,o=(e[46923]|0)+n|0,e[A>>2]=v,e[A+4>>2]=o,Ke(c,94612,A)|0,o=ji(r,c,1)|0,$e(o,137483,280,1)|0,v=j0(56)|0,e[(e[o+16>>2]|0)+140>>2]=v,n=n+1|0),pk(r,s,o,f),l=1),s=X0(r,s)|0;for(o|0&&af(o)|0,o=U0(r)|0;o;)C[f+(e[(e[o+16>>2]|0)+120>>2]|0)>>0]|0||(A=te(r)|0,v=(e[46923]|0)+n|0,e[w>>2]=A,e[w+4>>2]=v,Ke(c,94620,w)|0,v=ji(r,c,1)|0,$e(v,137483,280,1)|0,A=j0(56)|0,e[(e[v+16>>2]|0)+140>>2]=A,pk(r,o,v,f),af(v)|0,n=n+1|0),o=X0(r,o)|0;for(r0(f),e[46923]=(e[46923]|0)+n,t|0&&(e[t>>2]=n),i|0&&(e[i>>2]=l),s=j0((n<<2)+4|0)|0,l=s,o=yt(r)|0;o;)e[l>>2]=o,l=l+4|0,o=Ct(o)|0,n=n+-1|0;if(n)H0(94628,94639,134,94646);else return e[l>>2]=0,g=p,s|0;return 0}function pk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;for(C[n+(e[(e[t+16>>2]|0)+120>>2]|0)>>0]=1,ft(i,t,1)|0,s=Xr(r,t)|0;s;)l=e[s>>2]&3,o=e[((l|0)==3?s:s+48|0)+40>>2]|0,(o|0)==(t|0)&&(o=e[((l|0)==2?s:s+-48|0)+40>>2]|0),C[n+(e[(e[o+16>>2]|0)+120>>2]|0)>>0]|0||pk(r,o,i,n),s=ot(r,s,t)|0}function j90(r){r=r|0;var t=0;return t=_0(24)|0,e[46924]=t,e[t>>2]=ct(18204,e[4581]|0)|0,e[t+16>>2]=0,e[t+12>>2]=0,e[t+4>>2]=wP(r)|0,t|0}function wP(r){r=r|0;var t=0,i=0;return t=_0(16)|0,e[t+12>>2]=0,i=_0(r*20|0)|0,e[t>>2]=i,e[t+8>>2]=i+(r*20|0),e[t+4>>2]=i,t|0}function N90(r,t,i){return r=r|0,t=t|0,i=i|0,i=T90(e[46924]|0)|0,e[i>>2]=e[t>>2],e[i+4>>2]=e[t+4>>2],e[i+8>>2]=0,i|0}function Q90(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=(e[t>>2]|0)-(e[i>>2]|0)|0,r||(r=(e[t+4>>2]|0)-(e[i+4>>2]|0)|0),r|0}function T90(r){r=r|0;var t=0,i=0,n=0,o=0;return o=r+8|0,r=e[o>>2]|0,t=e[r+4>>2]|0,(t|0)==(e[r+8>>2]|0)&&(i=r+12|0,n=e[i>>2]|0,n?r=n:(r=wP(((t-(e[r>>2]|0)|0)/20|0)<<1)|0,e[i>>2]=r),e[o>>2]=r,t=e[r>>2]|0,e[r+4>>2]=t),e[r+4>>2]=t+20,t|0}function F90(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+12|0,i=e[o>>2]|0,(i|0)<(t|0)&&(n=i<<1,n=(n|0)<(t|0)?t:n,t=r+16|0,i=e[t>>2]|0,i|0&&r0(i),e[t>>2]=_0(n<<3)|0,e[o>>2]=n)}function P90(r){r=r|0;var t=0;t=e[r>>2]|0,oe[e[t>>2]&63](t,0,64)|0,e[r+20>>2]=e[r+16>>2],t=e[r+4>>2]|0,e[r+8>>2]=t,e[t+4>>2]=e[t>>2]}function Y90(r){r=r|0,Fr(e[r>>2]|0)|0,V90(e[r+4>>2]|0),r0(e[r+16>>2]|0),r0(r)}function V90(r){r=r|0;for(var t=0;r;)t=e[r+12>>2]|0,r0(e[r>>2]|0),r0(r),r=t}function O90(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;l=g,g=g+32|0,o=l,s=l+12|0,e[s>>2]=t,e[s+4>>2]=i,A=e[r>>2]|0,s=(oe[e[A>>2]&63](A,s,1)|0)+8|0,e[s>>2]=H90(r,n,e[s>>2]|0)|0,g=l}function H90(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return n=r+20|0,r=e[n>>2]|0,e[n>>2]=r+8,e[r>>2]=t,e[r+4>>2]=i,r|0}function J90(r,t){r=r|0,t=t|0,nu0(e[r>>2]|0,t,r)|0}function U90(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+32|0,o=n,e[o>>2]=t,e[o+4>>2]=i,i=e[r>>2]|0,i=oe[e[i>>2]&63](i,o,4)|0,g=n,i|0}function X90(r){r=r|0,r0(e[r+8>>2]|0),r0(r)}function r8(r){return r=r|0,+ +u[r>>3]}function kk(r){return r=r|0,e[r+8>>2]|0}function t8(r){return r=r|0,~~+u[r+16>>3]|0}function dP(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=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+u[v+(c<<3)>>3])*f,n=m+(c<<3)|0,u[n>>3]=s+ +u[n>>3],n=w+(c<<3)|0,u[n>>3]=+u[n>>3]-s,c=c+1|0}if(w=(m|0)!=0,c=(v|0)!=0,_=(r|0)==(t|0),w&c)for(x=A+8|0,z=l==-1,o=1-l,w=m;;){if(!w)break e;for(m=kk(ln(w)|0)|0,B=+r8(ln(w)|0),E=t8(ln(w)|0)|0,r=vE(n,E,w,Z)|0,B=B*s,v=e[L>>2]|0;v;){t=kk(ln(v)|0)|0,f=+r8(ln(v)|0),c=t8(ln(v)|0)|0,A=vE(n,c,v,Z)|0;r:do if(!((E|0)==(c|0)|_&(c|0)<(E|0)))for(u[x>>3]=+u[x>>3]+1,l=+$i(i,Z,E,c),f=B*f,p=+K0(+l,+o),p=1/(z?l*l:p),c=0;;){if((c|0)>=(Z|0))break r;l=f*(+u[m+(c<<3)>>3]-+u[t+(c<<3)>>3])*p,W=r+(c<<3)|0,u[W>>3]=l+ +u[W>>3],W=A+(c<<3)|0,u[W>>3]=+u[W>>3]-l,c=c+1|0}while(0);v=kd(v)|0}w=kd(w)|0}if(_)for(E=1<=(E|0))break e;for(m=e[(e[v>>2]|0)+(w<<2)>>2]|0,c=w;(c|0)!=(E|0);)Nf(m,e[(e[v>>2]|0)+(c<<2)>>2]|0,i,n,o,l,s,A),c=c+1|0;w=w+1|0}if(!(w|!(f>p)))for(v=1<=(v|0))break e;Nf(e[(e[w>>2]|0)+(c<<2)>>2]|0,t,i,n,o,l,s,A),c=c+1|0}if(!(c|!(p>f)))for(v=1<=(v|0))break e;Nf(e[(e[w>>2]|0)+(c<<2)>>2]|0,r,i,n,o,l,s,A),c=c+1|0}if(!w)for(v=1<=(v|0))break e;Nf(e[(e[w>>2]|0)+(c<<2)>>2]|0,t,i,n,o,l,s,A),c=c+1|0}for(c&&H0(138394,94681,273,94764),v=1<=(v|0))break e;Nf(e[(e[w>>2]|0)+(c<<2)>>2]|0,r,i,n,o,l,s,A),c=c+1|0}}H0(94739,94681,175,94764)}while(0)}function kP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;n=e[r+40>>2]|0,w=e[r+16>>2]|0,l=+u[r+8>>3],p=vk(r,w)|0,l>0||H0(94673,94681,289,94692),f=i+16|0,u[f>>3]=+u[f>>3]+1;e:do if(n)for(s=1/l;;){if(!n)break e;for(o=vE(t,t8(ln(n)|0)|0,n,w)|0,l=+r8(ln(n)|0)*s,r=0;!((r|0)>=(w|0));)v=o+(r<<3)|0,u[v>>3]=+u[v>>3]+ +u[p+(r<<3)>>3]*l,r=r+1|0;n=kd(n)|0}else{for(f=1<=(f|0))break e;if(o=e[(e[c>>2]|0)+(r<<2)>>2]|0,o|0){if((e[o>>2]|0)<=0)break;for(A=vk(o,w)|0,s=+u[o+8>>3]*l,n=0;!((n|0)>=(w|0));)v=A+(n<<3)|0,u[v>>3]=+u[v>>3]+ +u[p+(n<<3)>>3]*s,n=n+1|0;kP(o,t,i)}r=r+1|0}H0(94728,94681,307,94692)}while(0)}function vk(r,t){r=r|0,t=t|0;var i=0;i=r+48|0,r=e[i>>2]|0;e:do if(!r)for(r=_0(t<<3)|0,e[i>>2]=r,i=0;;){if((i|0)>=(t|0))break e;u[r+(i<<3)>>3]=0,i=i+1|0}while(0);return r|0}function vE(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=e[(ln(i)|0)+24>>2]|0,o||(o=r+((N0(n,t)|0)<<3)|0,e[(ln(i)|0)+24>>2]=o,o=e[(ln(i)|0)+24>>2]|0),o|0}function mk(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(p=r<<3,f=_0(p)|0,w=_0(p)|0,p=_0(p)|0,(f|0)!=0&(w|0)!=0&(p|0)!=0){for(l=0;;){if((l|0)>=(r|0)){l=0;break}u[f+(l<<3)>>3]=+u[n+(l<<3)>>3],l=l+1|0}for(;;){if((l|0)>=(r|0)){s=1;break}u[w+(l<<3)>>3]=+u[n+(l<<3)>>3],l=l+1|0}for(;!((s|0)>=(t|0));){for(c=N0(s,r)|0,l=0;!((l|0)>=(r|0));)v=f+(l<<3)|0,A=+u[v>>3],E=n+(l+c<<3)|0,m=+u[E>>3],u[v>>3]=A>3],A=+u[E>>3],u[v>>3]=m>A?m:A,l=l+1|0;s=s+1|0}for(A=+u[w>>3]-+u[f>>3],l=0;!((l|0)>=(r|0));)E=f+(l<<3)|0,v=w+(l<<3)|0,u[p+(l<<3)>>3]=(+u[v>>3]+ +u[E>>3])*.5,m=+u[v>>3]-+u[E>>3],A=A>m?A:m,l=l+1|0;l=vP(r,p,A==0?52e-7:A*.52,i)|0;e:do if(o)for(s=0;;){if((s|0)>=(t|0))break e;E=n+((N0(s,r)|0)<<3)|0,l=mP(l,E,+u[o+(s<<3)>>3],s)|0,s=s+1|0}else for(s=0;;){if((s|0)>=(t|0))break e;l=mP(l,n+((N0(s,r)|0)<<3)|0,1,s)|0,s=s+1|0}while(0);r0(f),r0(w),r0(p)}else r0(f),r0(w),r0(p),l=0;return l|0}function vP(r,t,i,n){r=r|0,t=t|0,i=+i,n=n|0;var o=0,l=0,s=0;for(l=_0(56)|0,e[l+16>>2]=r,e[l>>2]=0,s=_0(r<<3)|0,e[l+20>>2]=s,o=0;!((o|0)>=(r|0));)u[s+(o<<3)>>3]=+u[t+(o<<3)>>3],o=o+1|0;return i>0?(u[l+24>>3]=i,u[l+8>>3]=0,e[l+32>>2]=0,e[l+36>>2]=0,e[l+40>>2]=0,e[l+44>>2]=n,e[l+48>>2]=0,l|0):(H0(94896,94681,410,94906),0)}function mP(r,t,i,n){return r=r|0,t=t|0,i=+i,n=n|0,r?mE(r,t,i,n,0)|0:r=0,r|0}function mE(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=r+16|0,B=e[z>>2]|0,x=e[r+44>>2]|0,w=e[r>>2]|0;do if(w){if((x|0)<=(o|0)){for(e[r+36>>2]|0&&H0(94881,94681,541,94815),l=w+1|0,e[r>>2]=l,s=r+8|0,u[s>>3]=+u[s>>3]+i,s=r+32|0,c=+(l|0),f=1/+(w+2|0),l=0;!((l|0)>=(B|0));)E=(e[s>>2]|0)+(l<<3)|0,u[E>>3]=(+u[E>>3]*c+ +u[t+(l<<3)>>3])*f,l=l+1|0;if(l=gP(B,i,t,n)|0,s=r+40|0,A=e[s>>2]|0,!A)H0(94891,94681,547,94815);else{e[s>>2]=nA0(A,l)|0;break}}for(s=r+8|0,u[s>>3]=+u[s>>3]+i,s=r+32|0,f=+(w|0),c=1/+(w+1|0),l=0;!((l|0)>=(B|0));)E=(e[s>>2]|0)+(l<<3)|0,u[E>>3]=(+u[E>>3]*f+ +u[t+(l<<3)>>3])*c,l=l+1|0;E=r+36|0,m=1<>2]|0))for(e[E>>2]=_0(m<<2)|0,l=0;;){if((l|0)>=(m|0))break e;e[(e[E>>2]|0)+(l<<2)>>2]=0,l=l+1|0}while(0);p=r+20|0,l=e[p>>2]|0,A=yP(B,l,t)|0,(A|0)<(m|0)&(A|0)>-1||H0(94837,94681,515,94815),s=e[(e[E>>2]|0)+(A<<2)>>2]|0,s||(s=CP(e[z>>2]|0,l,+u[r+24>>3]*.5,x,A)|0,e[(e[E>>2]|0)+(A<<2)>>2]=s,s=e[(e[E>>2]|0)+(A<<2)>>2]|0),v=o+1|0,n=mE(s,t,i,n,v)|0,e[(e[E>>2]|0)+(A<<2)>>2]=n,e[(e[E>>2]|0)+(A<<2)>>2]|0||H0(94860,94681,519,94815),t=r+40|0,l=e[t>>2]|0;do if(l|0)if(w=t8(ln(l)|0)|0,(e[r>>2]|0)!=1&&H0(94871,94681,523,94815),o=kk(ln(e[t>>2]|0)|0)|0,c=+r8(ln(e[t>>2]|0)|0),s=e[p>>2]|0,A=yP(B,s,o)|0,(A|0)<(m|0)&(A|0)>-1||H0(94837,94681,527,94815),l=e[(e[E>>2]|0)+(A<<2)>>2]|0,l||(l=CP(e[z>>2]|0,s,+u[r+24>>3]*.5,x,A)|0,e[(e[E>>2]|0)+(A<<2)>>2]=l,l=e[(e[E>>2]|0)+(A<<2)>>2]|0),z=mE(l,o,c,w,v)|0,e[(e[E>>2]|0)+(A<<2)>>2]=z,!(e[(e[E>>2]|0)+(A<<2)>>2]|0))H0(94860,94681,532,94815);else{NZ(e[t>>2]|0,106),e[t>>2]=0;break}while(0);e[r>>2]=(e[r>>2]|0)+1}else{for(e[r>>2]=1,u[r+8>>3]=i,A=_0(B<<3)|0,e[r+32>>2]=A,s=e[z>>2]|0,l=0;!((l|0)>=(s|0));)u[A+(l<<3)>>3]=+u[t+(l<<3)>>3],l=l+1|0;if(l=gP(s,i,t,n)|0,s=r+40|0,e[s>>2]|0)H0(94807,94681,502,94815);else{e[s>>2]=jZ(l)|0;break}}while(0);return r|0}function gP(r,t,i,n){r=r|0,t=+t,i=i|0,n=n|0;var o=0,l=0;for(l=_0(32)|0,u[l>>3]=t,o=_0(r<<3)|0,e[l+8>>2]=o,u[l+16>>3]=+(n|0),n=0;!((n|0)>=(r|0));)u[o+(n<<3)>>3]=+u[i+(n<<3)>>3],n=n+1|0;return e[l+24>>2]=0,l|0}function yP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;for(o=0;n=r+-1|0,!((r|0)<=0);)r=n,o=o<<1|!(+u[i+(n<<3)>>3]-+u[t+(n<<3)>>3]<0)&1;return o|0}function CP(r,t,i,n,o){r=r|0,t=t|0,i=+i,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=vP(r,t,i,n)|0,s=e[l+20>>2]|0,A=-i,n=0,t=o;!((n|0)>=(r|0));)o=s+(n<<3)|0,u[o>>3]=+u[o>>3]+(t&1|0?i:A),n=n+1|0,t=(t|0)/2|0;return l|0}function i8(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;if(r|0){if(t=e[r+16>>2]|0,r0(e[r+20>>2]|0),r0(e[r+32>>2]|0),r0(e[r+48>>2]|0),l=r+36|0,n=e[l>>2]|0,n|0){for(o=1<=(o|0));)i8(e[t+(i<<2)>>2]|0),i=i+1|0,t=e[l>>2]|0;r0(t)}NZ(e[r+40>>2]|0,106),r0(r)}}function Qf(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;e:do if(!r)t=0;else{for(f=e[r+20>>2]|0,w=e[r+24>>2]|0,i=e[r+8>>2]|0,p=e[r>>2]|0,n=e[r+4>>2]|0,s=r+16|0,(e[r+32>>2]|0)!=1&&H0(94919,94943,76,94958),t=k1(n,p,i,e[s>>2]|0,1)|0,e[t+8>>2]=i,v=e[t+20>>2]|0,c=e[t+24>>2]|0,i=0;;){if((i|0)>(n|0)){i=0;break}e[v+(i<<2)>>2]=0,i=i+1|0}r:for(;;){if((i|0)>=(p|0)){i=0;break}for(o=i+1|0,l=f+(o<<2)|0,i=e[f+(i<<2)>>2]|0;;){if((i|0)>=(e[l>>2]|0)){i=o;continue r}A=v+((e[w+(i<<2)>>2]|0)+1<<2)|0,e[A>>2]=(e[A>>2]|0)+1,i=i+1|0}}for(;!((i|0)>=(n|0));)A=i+1|0,l=v+(A<<2)|0,e[l>>2]=(e[l>>2]|0)+(e[v+(i<<2)>>2]|0),i=A;r:do switch(e[s>>2]|0){case 1:{l=e[r+28>>2]|0,r=e[t+28>>2]|0,o=0;t:for(;;){if((o|0)>=(p|0))break r;for(s=o+1|0,A=f+(s<<2)|0,i=e[f+(o<<2)>>2]|0;;){if((i|0)>=(e[A>>2]|0)){o=s;continue t}B=w+(i<<2)|0,e[c+(e[v+(e[B>>2]<<2)>>2]<<2)>>2]=o,E=+u[l+(i<<3)>>3],B=v+(e[B>>2]<<2)|0,m=e[B>>2]|0,e[B>>2]=m+1,u[r+(m<<3)>>3]=E,i=i+1|0}}}case 2:{l=e[r+28>>2]|0,r=e[t+28>>2]|0,o=0;t:for(;;){if((o|0)>=(p|0))break r;for(s=o+1|0,A=f+(s<<2)|0,i=e[f+(o<<2)>>2]|0;;){if((i|0)>=(e[A>>2]|0)){o=s;continue t}B=w+(i<<2)|0,e[c+(e[v+(e[B>>2]<<2)>>2]<<2)>>2]=o,z=i<<1,B=v+(e[B>>2]<<2)|0,m=e[B>>2]|0,x=m<<1,u[r+(x<<3)>>3]=+u[l+(z<<3)>>3],u[r+((x|1)<<3)>>3]=+u[l+((z|1)<<3)>>3],e[B>>2]=m+1,i=i+1|0}}}case 4:{l=e[r+28>>2]|0,r=e[t+28>>2]|0,o=0;t:for(;;){if((o|0)>=(p|0))break r;for(s=o+1|0,A=f+(s<<2)|0,i=e[f+(o<<2)>>2]|0;;){if((i|0)>=(e[A>>2]|0)){o=s;continue t}B=w+(i<<2)|0,e[c+(e[v+(e[B>>2]<<2)>>2]<<2)>>2]=o,x=e[l+(i<<2)>>2]|0,B=v+(e[B>>2]<<2)|0,z=e[B>>2]|0,e[B>>2]=z+1,e[r+(z<<2)>>2]=x,i=i+1|0}}}case 8:{o=0;t:for(;;){if((o|0)>=(p|0))break r;for(l=o+1|0,r=f+(l<<2)|0,i=e[f+(o<<2)>>2]|0;;){if((i|0)>=(e[r>>2]|0)){o=l;continue t}x=v+(e[w+(i<<2)>>2]<<2)|0,z=e[x>>2]|0,e[x>>2]=z+1,e[c+(z<<2)>>2]=o,i=i+1|0}}}case 16:{U2(t),t=0;break e}default:{U2(t),t=0;break e}}while(0);for(;i=n+-1|0,!((n|0)<=0);)e[v+(n<<2)>>2]=e[v+(i<<2)>>2],n=i;e[v>>2]=0}while(0);return t|0}function U2(r){r=r|0;var t=0;r|0&&(t=e[r+20>>2]|0,t|0&&r0(t),t=e[r+24>>2]|0,t|0&&r0(t),r0(e[r+28>>2]|0),r0(r))}function k1(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,r=EP(r,t,n,$90(n)|0,o)|0,(i|0)>0&&BP(r,i)|0,r|0}function $90(r){switch(r=r|0,r|0){case 1:{r=8;break}case 2:{r=16;break}case 4:{r=4;break}case 8:{r=0;break}case 16:{r=0;break}default:r=0}return r|0}function EP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;return l=_0(44)|0,e[l>>2]=r,e[l+4>>2]=t,e[l+8>>2]=0,e[l+12>>2]=0,e[l+16>>2]=i,e[l+40>>2]=n,(o|0)==2?r=0:r=_0((r<<2)+4|0)|0,e[l+20>>2]=r,e[l+24>>2]=0,e[l+28>>2]=0,e[l+32>>2]=o,e[l+36>>2]=0,l|0}function BP(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return s=e[r+32>>2]|0,o=r+28|0,e[o>>2]=0,i=t<<2,n=_0(i)|0,(s|0)!=2?(e[r+24>>2]=n,i=e[r+40>>2]|0,(t|0)!=0&(i|0)>0&&(l=4)):(e[r+20>>2]=n,e[r+24>>2]=_0(i)|0,i=e[r+40>>2]|0,l=4),(l|0)==4&&(e[o>>2]=_0(N0(i,t)|0)|0),e[r+12>>2]=t,r|0}function Ql(r,t){return r=r|0,t=t|0,j1(r,t)|0?t=Tf(r)|0:(t=Qf(r)|0,t?(r=gk(r,t)|0,U2(t),t=r+36|0,e[t>>2]=e[t>>2]|3,t=r):t=0),t|0}function j1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;if(r)if((e[r+32>>2]|0)!=1&&H0(94919,94943,187,95074),x=r+36|0,i=e[x>>2]|0,!(i&2|0)&&(m=(t|0)!=0,(i&1|0)==0|m^1))if((e[r>>2]|0)==(e[r+4>>2]|0)&&(z=Qf(r)|0,(z|0)!=0)){for(c=e[r+20>>2]|0,f=e[r+24>>2]|0,w=e[z+20>>2]|0,p=e[z+24>>2]|0,v=e[r>>2]|0,E=_0(v<<2)|0,t=0;!((t|0)>=(v|0));)e[E+(t<<2)>>2]=-1,t=t+1|0;e:do switch((m?8:e[r+16>>2]|0)|0){case 1:{for(l=e[r+28>>2]|0,s=e[z+28>>2]|0,t=0;;){if((t|0)>(v|0)){i=0;break}if((e[c+(t<<2)>>2]|0)==(e[w+(t<<2)>>2]|0))t=t+1|0;else{t=0;break e}}r:for(;;){if((i|0)>=(v|0)){B=54;break e}for(n=c+(i<<2)|0,o=i+1|0,r=c+(o<<2)|0,t=e[n>>2]|0;!((t|0)>=(e[r>>2]|0));)e[E+(e[f+(t<<2)>>2]<<2)>>2]=t,t=t+1|0;for(t=e[w+(i<<2)>>2]|0,r=e[w+(o<<2)>>2]|0,i=t;!((i|0)>=(r|0));)if((e[E+(e[p+(i<<2)>>2]<<2)>>2]|0)<(e[n>>2]|0)){t=0;break e}else i=i+1|0;for(;;){if((t|0)>=(r|0)){i=o;continue r}if(_=+u[s+(t<<3)>>3]-+u[l+(e[E+(e[p+(t<<2)>>2]<<2)>>2]<<3)>>3],(_>=0?_:-_)>1e-7){t=0;break e}else t=t+1|0}}}case 2:{for(s=e[r+28>>2]|0,A=e[z+28>>2]|0,t=0;;){if((t|0)>(v|0)){i=0;break}if((e[c+(t<<2)>>2]|0)==(e[w+(t<<2)>>2]|0))t=t+1|0;else{t=0;break e}}r:for(;;){if((i|0)>=(v|0)){B=54;break e}for(o=c+(i<<2)|0,l=i+1|0,r=c+(l<<2)|0,t=e[o>>2]|0;!((t|0)>=(e[r>>2]|0));)e[E+(e[f+(t<<2)>>2]<<2)>>2]=t,t=t+1|0;for(i=e[w+(i<<2)>>2]|0,n=e[w+(l<<2)>>2]|0,t=i;;){if((t|0)>=(n|0)){t=i;break}if((e[E+(e[p+(t<<2)>>2]<<2)>>2]|0)<(e[o>>2]|0)){t=0;break e}else t=t+1|0}for(;;){if((t|0)>=(n|0)){i=l;continue r}if(i=t<<1,r=e[E+(e[p+(t<<2)>>2]<<2)>>2]<<1,_=+u[A+(i<<3)>>3]-+u[s+(r<<3)>>3],(_>=0?_:-_)>1e-7){t=0;break e}if(_=+u[A+((i|1)<<3)>>3]-+u[s+((r|1)<<3)>>3],(_>=0?_:-_)>1e-7){t=0;break e}else t=t+1|0}}}case 4:{o=e[r+28>>2]|0,l=e[z+28>>2]|0,t=0;r:for(;;){if((t|0)>=(v|0)){B=54;break e}for(n=c+(t<<2)|0,s=t+1|0,r=c+(s<<2)|0,i=e[n>>2]|0;!((i|0)>=(e[r>>2]|0));)e[E+(e[f+(i<<2)>>2]<<2)>>2]=i,i=i+1|0;for(t=e[w+(t<<2)>>2]|0,r=e[w+(s<<2)>>2]|0,i=t;!((i|0)>=(r|0));)if((e[E+(e[p+(i<<2)>>2]<<2)>>2]|0)<(e[n>>2]|0)){t=0;break e}else i=i+1|0;for(;;){if((t|0)>=(r|0)){t=s;continue r}if((e[l+(t<<2)>>2]|0)==(e[o+(e[E+(e[p+(t<<2)>>2]<<2)>>2]<<2)>>2]|0))t=t+1|0;else{t=0;break e}}}}case 8:{r=0;r:for(;;){if((r|0)>=(v|0)){B=54;break e}for(n=c+(r<<2)|0,o=r+1|0,i=c+(o<<2)|0,t=e[n>>2]|0;!((t|0)>=(e[i>>2]|0));)e[E+(e[f+(t<<2)>>2]<<2)>>2]=t,t=t+1|0;for(i=e[w+(o<<2)>>2]|0,t=e[w+(r<<2)>>2]|0;;){if((t|0)>=(i|0)){r=o;continue r}if((e[E+(e[p+(t<<2)>>2]<<2)>>2]|0)<(e[n>>2]|0)){t=0;break e}else t=t+1|0}}}default:t=0}while(0);(B|0)==54&&(i=e[x>>2]|0,m?t=1:(e[x>>2]=i|2,t=3),e[x>>2]=t|i,t=1),r0(E),U2(z)}else t=0;else t=1;else t=0;return t|0}function Tf(r){r=r|0;var t=0,i=0,n=0,o=0;return r?(n=r+8|0,o=r+40|0,t=IP(e[r>>2]|0,e[r+4>>2]|0,e[n>>2]|0,e[r+16>>2]|0,e[o>>2]|0,e[r+32>>2]|0)|0,i=r+20|0,u2(e[t+20>>2]|0,e[i>>2]|0,(e[r>>2]<<2)+4|0)|0,u2(e[t+24>>2]|0,e[r+24>>2]|0,e[(e[i>>2]|0)+(e[r>>2]<<2)>>2]<<2|0)|0,i=e[r+28>>2]|0,i|0&&u2(e[t+28>>2]|0,i|0,N0(e[n>>2]|0,e[o>>2]|0)|0)|0,e[t+36>>2]=e[r+36>>2],e[t+8>>2]=e[n>>2]):t=0,t|0}function gk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;if(m=e[r+20>>2]|0,B=e[r+24>>2]|0,x=e[t+20>>2]|0,z=e[t+24>>2]|0,(r|0)!=0&(t|0)!=0||H0(94981,94943,973,94988),E=e[r+32>>2]|0,(E|0)==1&&(E|0)==(e[t+32>>2]|0)||H0(95005,94943,974,94988),n=r+16|0,i=e[n>>2]|0,(i|0)!=(e[t+16>>2]|0)&&H0(95055,94943,975,94988),v=e[r>>2]|0,o=e[r+4>>2]|0,(v|0)==(e[t>>2]|0)&&(o|0)==(e[t+4>>2]|0)&&(_=k1(v,o,(e[t+8>>2]|0)+(e[r+8>>2]|0)|0,i,1)|0,_|0)){for(w=e[_+20>>2]|0,p=e[_+24>>2]|0,E=_0(o<<2)|0,i=0;!((i|0)>=(o|0));)e[E+(i<<2)>>2]=-1,i=i+1|0;e[w>>2]=0;e:do switch(e[n>>2]|0){case 1:for(f=e[r+28>>2]|0,s=e[t+28>>2]|0,A=e[_+28>>2]|0,i=0,o=0;;){if((o|0)>=(v|0))break e;for(c=o+1|0,n=m+(c<<2)|0,r=e[m+(o<<2)>>2]|0;!((r|0)>=(e[n>>2]|0));)l=B+(r<<2)|0,e[E+(e[l>>2]<<2)>>2]=i,e[p+(i<<2)>>2]=e[l>>2],u[A+(i<<3)>>3]=+u[f+(r<<3)>>3],r=r+1|0,i=i+1|0;for(t=x+(c<<2)|0,l=w+(o<<2)|0,o=e[x+(o<<2)>>2]|0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+(e[L>>2]<<2)>>2]=i,e[p+(i<<2)>>2]=e[L>>2],e[A+(i<<2)>>2]=e[f+(r<<2)>>2],r=r+1|0,i=i+1|0;for(t=x+(c<<2)|0,l=w+(o<<2)|0,o=e[x+(o<<2)>>2]|0;!((o|0)>=(e[t>>2]|0));)r=e[z+(o<<2)>>2]|0,n=e[E+(r<<2)>>2]|0,(n|0)<(e[l>>2]|0)?(e[p+(i<<2)>>2]=r,e[A+(i<<2)>>2]=e[s+(o<<2)>>2],i=i+1|0):(L=A+(n<<2)|0,e[L>>2]=(e[L>>2]|0)+(e[s+(o<<2)>>2]|0)),o=o+1|0;e[w+(c<<2)>>2]=i,o=c}case 8:for(i=0,o=0;;){if((o|0)>=(v|0))break e;for(s=o+1|0,n=m+(s<<2)|0,r=e[m+(o<<2)>>2]|0;!((r|0)>=(e[n>>2]|0));)L=B+(r<<2)|0,e[E+(e[L>>2]<<2)>>2]=i,e[p+(i<<2)>>2]=e[L>>2],i=i+1|0,r=r+1|0;for(t=x+(s<<2)|0,l=w+(o<<2)|0,n=e[x+(o<<2)>>2]|0;!((n|0)>=(e[t>>2]|0));)r=e[z+(n<<2)>>2]|0,(e[E+(r<<2)>>2]|0)<(e[l>>2]|0)&&(e[p+(i<<2)>>2]=r,i=i+1|0),n=n+1|0;e[w+(s<<2)>>2]=i,o=s}default:i=0}while(0);return e[_+8>>2]=i,r0(E),_|0}return 0}function IP(r,t,i,n,o,l){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,r=EP(r,t,n,o,l)|0,(i|0)>0&&BP(r,i)|0,r|0}function yk(r,t){r=r|0,t=t|0;var i=0;return j1(r,t)|0?(t=Tf(r)|0,i=5):(t=Qf(r)|0,t?(i=gk(r,t)|0,U2(t),t=i+36|0,e[t>>2]=e[t>>2]|3,t=i,i=5):t=0),(i|0)==5&&(t=Ls(t)|0),t|0}function Ls(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;e:do if(!r)r=0;else{c=e[r+20>>2]|0,f=e[r+24>>2]|0,i=e[c>>2]|0;r:do switch(e[r+16>>2]|0){case 1:for(A=e[r+28>>2]|0,s=0,t=0;;){if((s|0)>=(e[r>>2]|0))break r;for(o=s+1|0,l=c+(o<<2)|0;n=e[l>>2]|0,!((i|0)>=(n|0));)n=e[f+(i<<2)>>2]|0,(n|0)!=(s|0)&&(e[f+(t<<2)>>2]=n,u[A+(t<<3)>>3]=+u[A+(i<<3)>>3],t=t+1|0),i=i+1|0;e[l>>2]=t,s=o,i=n}case 2:for(A=e[r+28>>2]|0,s=0,t=0;;){if((s|0)>=(e[r>>2]|0))break r;for(o=s+1|0,l=c+(o<<2)|0;n=e[l>>2]|0,!((i|0)>=(n|0));)n=e[f+(i<<2)>>2]|0,(n|0)!=(s|0)&&(e[f+(t<<2)>>2]=n,w=i<<1,n=t<<1,u[A+(n<<3)>>3]=+u[A+(w<<3)>>3],u[A+((n|1)<<3)>>3]=+u[A+((w|1)<<3)>>3],t=t+1|0),i=i+1|0;e[l>>2]=t,s=o,i=n}case 4:for(A=e[r+28>>2]|0,s=0,t=0;;){if((s|0)>=(e[r>>2]|0))break r;for(o=s+1|0,l=c+(o<<2)|0;n=e[l>>2]|0,!((i|0)>=(n|0));)n=e[f+(i<<2)>>2]|0,(n|0)!=(s|0)&&(e[f+(t<<2)>>2]=n,e[A+(t<<2)>>2]=e[A+(i<<2)>>2],t=t+1|0),i=i+1|0;e[l>>2]=t,s=o,i=n}case 8:for(s=0,t=0;;){if((s|0)>=(e[r>>2]|0))break r;for(o=s+1|0,l=c+(o<<2)|0;n=e[l>>2]|0,!((i|0)>=(n|0));)n=e[f+(i<<2)>>2]|0,(n|0)!=(s|0)&&(e[f+(t<<2)>>2]=n,t=t+1|0),i=i+1|0;e[l>>2]=t,s=o,i=n}default:{r=0;break e}}while(0);e[r+8>>2]=t}while(0);return r|0}function xP(r){return r=r|0,(e[r+32>>2]|0)==2?Rs(e[r+8>>2]|0,e[r>>2]|0,e[r+4>>2]|0,e[r+20>>2]|0,e[r+24>>2]|0,e[r+28>>2]|0,e[r+16>>2]|0,e[r+40>>2]|0)|0:(H0(95100,94943,803,95126),0)}function Rs(r,t,i,n,o,l,s,A){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,Pl0(r,t,i,n,o,l,s,A,1)|0}function K90(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;s=r+72|0,A=r+352|0,c=r+356|0,f=r+360|0,l=0;e:for(;;){if(o=i-t|0,(o|0)<=0){i=-1;break}switch(C[s+(s0[t>>0]|0)>>0]|0){case 8:case 1:case 0:{w=16;break e}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[A>>2]&127](r,t)|0){w=6;break e}o=l,t=t+2|0,l=o;continue e}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[c>>2]&127](r,t)|0){w=10;break e}o=l,t=t+3|0,l=o;continue e}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[f>>2]&127](r,t)|0){w=14;break e}o=l,t=t+4|0,l=o;continue e}case 2:{if(o=t+1|0,(i-o|0)<=0){i=-1;break e}if((C[o>>0]|0)!=33){p=l,t=o,l=p;continue e}if(o=t+2|0,(i-o|0)<=0){i=-1;break e}p=(C[o>>0]|0)==91,l=l+(p&1)|0,t=p?t+3|0:o;continue e}case 4:{if(o=t+1|0,(i-o|0)<=0){i=-1;break e}if((C[o>>0]|0)!=93){p=l,t=o,l=p;continue e}if(o=t+2|0,(i-o|0)<=0){i=-1;break e}if((C[o>>0]|0)!=62){p=l,t=o,l=p;continue e}if(t=t+3|0,!l){w=26;break e}l=l+-1|0;continue e}default:{p=l,t=t+1|0,l=p;continue e}}}return(w|0)==6||(w|0)==10||(w|0)==14||(w|0)==16?(e[n>>2]=t,i=0):(w|0)==26&&(e[n>>2]=t,i=42),i|0}function b90(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;do if(t>>>0>>0)if(A=i,(A-t|0)>0){c=r+72|0,l=t;e:for(;;){if((A-l|0)<=0){s=24;break}switch(C[c+(s0[l>>0]|0)>>0]|0){case 3:{s=8;break e}case 2:{s=11;break e}case 10:{s=12;break e}case 9:{s=15;break e}case 21:{s=19;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=1}l=l+o|0}if((s|0)==8)if((l|0)==(t|0)){o=Ck(r,t+1|0,i,n)|0;break}else{e[n>>2]=l,o=6;break}else if((s|0)==11){e[n>>2]=l,o=0;break}else if((s|0)==12)if((l|0)==(t|0)){e[n>>2]=t+1,o=7;break}else{e[n>>2]=l,o=6;break}else if((s|0)==15){if((l|0)!=(t|0)){e[n>>2]=l,o=6;break}if(o=t+1|0,(A-o|0)<=0){o=-3;break}e[n>>2]=(C[c+(s0[o>>0]|0)>>0]|0)==10?t+2|0:o,o=7;break}else if((s|0)==19)if((l|0)==(t|0)){e[n>>2]=t+1,o=39;break}else{e[n>>2]=l,o=6;break}else if((s|0)==24){e[n>>2]=l,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function e70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;do if(t>>>0>>0)if(A=i,(A-t|0)>0){c=r+72|0,l=t;e:for(;;){if((A-l|0)<=0){s=23;break}switch(C[c+(s0[l>>0]|0)>>0]|0){case 3:{s=8;break e}case 30:{s=11;break e}case 10:{s=14;break e}case 9:{s=17;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=1}l=l+o|0}if((s|0)==8)if((l|0)==(t|0)){o=Ck(r,t+1|0,i,n)|0;break}else{e[n>>2]=l,o=6;break}else if((s|0)==11)if((l|0)==(t|0)){o=_P(r,t+1|0,i,n)|0,o=(o|0)==22?0:o;break}else{e[n>>2]=l,o=6;break}else if((s|0)==14)if((l|0)==(t|0)){e[n>>2]=t+1,o=7;break}else{e[n>>2]=l,o=6;break}else if((s|0)==17){if((l|0)!=(t|0)){e[n>>2]=l,o=6;break}if(o=t+1|0,(A-o|0)<=0){o=-3;break}e[n>>2]=(C[c+(s0[o>>0]|0)>>0]|0)==10?t+2|0:o,o=7;break}else if((s|0)==23){e[n>>2]=l,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function r70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=i,r=t;;){if(t=C[n>>0]|0,!(t<<24>>24)){l=6;break}if((o-r|0)<1){r=0;break}if((C[r>>0]|0)!=t<<24>>24){r=0;break}n=n+1|0,r=r+1|0}return(l|0)==6&&(r=(r|0)==(i|0)&1),r|0}function t70(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+72|0,r=t;e:for(;;){switch(C[n+(s0[r>>0]|0)>>0]|0){case 5:{i=2;break}case 6:{i=3;break}case 7:{i=4;break}case 27:case 26:case 25:case 24:case 23:case 22:case 29:{i=1;break}default:break e}r=r+i|0}return r-t|0}function i70(r,t){r=r|0,t=t|0,r=r+72|0;e:for(;;){switch(C[r+(s0[t>>0]|0)>>0]|0){case 21:case 9:case 10:break;default:break e}t=t+1|0}return t|0}function n70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;c=r+72|0,s=0,A=0,r=1;e:for(;;){o=t+1|0,l=C[o>>0]|0;do switch(C[c+(l&255)>>0]|0){case 5:{r||((A|0)<(i|0)&&(e[n+(A<<4)>>2]=o,C[n+(A<<4)+12>>0]=1),r=1),o=A,l=s,t=t+2|0,A=o,s=l;continue e}case 6:{r||((A|0)<(i|0)&&(e[n+(A<<4)>>2]=o,C[n+(A<<4)+12>>0]=1),r=1),o=A,l=s,t=t+3|0,A=o,s=l;continue e}case 7:{r||((A|0)<(i|0)&&(e[n+(A<<4)>>2]=o,C[n+(A<<4)+12>>0]=1),r=1),o=A,l=s,t=t+4|0,A=o,s=l;continue e}case 24:case 22:case 29:{if(r|0){p=r,w=A,l=s,t=o,r=p,A=w,s=l;continue e}if((A|0)>=(i|0)){w=A,p=s,r=1,t=o,A=w,s=p;continue e}e[n+(A<<4)>>2]=o,C[n+(A<<4)+12>>0]=1,w=A,p=s,r=1,t=o,A=w,s=p;continue e}case 12:{if((r|0)!=2){if((A|0)>=(i|0)){p=A,s=12,r=2,t=o,A=p;continue e}e[n+(A<<4)+4>>2]=t+2,p=A,s=12,r=2,t=o,A=p;continue e}if((s|0)!=12){w=A,p=s,r=2,t=o,A=w,s=p;continue e}(A|0)<(i|0)&&(e[n+(A<<4)+8>>2]=o),s=12,A=A+1|0,r=0,t=o;continue e}case 13:{if((r|0)!=2){if((A|0)>=(i|0)){p=A,s=13,r=2,t=o,A=p;continue e}e[n+(A<<4)+4>>2]=t+2,p=A,s=13,r=2,t=o,A=p;continue e}if((s|0)!=13){w=A,p=s,r=2,t=o,A=w,s=p;continue e}(A|0)<(i|0)&&(e[n+(A<<4)+8>>2]=o),s=13,A=A+1|0,r=0,t=o;continue e}case 3:{if((A|0)>=(i|0)){l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}C[n+(A<<4)+12>>0]=0,l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}case 21:{switch(r|0){case 1:{w=A,p=s,r=0,t=o,A=w,s=p;continue e}case 2:break;default:{l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}}if((A|0)>=(i|0)){w=A,p=s,r=2,t=o,A=w,s=p;continue e}if(r=n+(A<<4)+12|0,!(C[r>>0]|0)){w=A,p=s,r=2,t=o,A=w,s=p;continue e}if(l<<24>>24==32&&(o|0)!=(e[n+(A<<4)+4>>2]|0)&&(f=C[t+2>>0]|0,f<<24>>24!=32)&&(s|0)!=(s0[c+(f&255)>>0]|0)){w=A,p=s,r=2,t=o,A=w,s=p;continue e}C[r>>0]=0,w=A,p=s,r=2,t=o,A=w,s=p;continue e}case 10:case 9:{switch(r|0){case 1:{w=A,p=s,r=0,t=o,A=w,s=p;continue e}case 2:break;default:{l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}}if((A|0)>=(i|0)){w=A,p=s,r=2,t=o,A=w,s=p;continue e}C[n+(A<<4)+12>>0]=0,w=A,p=s,r=2,t=o,A=w,s=p;continue e}case 17:case 11:if((r|0)==2){w=A,p=s,r=2,t=o,A=w,s=p;continue e}else break e;default:{l=r,w=A,p=s,t=o,r=l,A=w,s=p;continue e}}while(0)}return A|0}function o70(r,t){r=r|0,t=t|0;var i=0,n=0;r=t+2|0,i=C[r>>0]|0;e:do if(i<<24>>24==120)for(i=t+3|0,r=0;;){r:for(;;){if(n=C[i>>0]|0,t=n<<24>>24,n<<24>>24==59){n=14;break e}switch(t|0){case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{n=7;break r}case 70:case 69:case 68:case 67:case 66:case 65:{n=8;break r}case 102:case 101:case 100:case 99:case 98:case 97:{n=9;break r}default:}i=i+1|0}if((n|0)==7?(n=0,r=t+-48|r<<4):(n|0)==8?(n=0,r=(r<<4)+-55+t|0):(n|0)==9&&(n=0,r=(r<<4)+-87+t|0),(r|0)<1114112)i=i+1|0;else{r=-1;break}}else for(t=r,r=0;;){if(i<<24>>24==59){n=14;break e}if(r=(i<<24>>24)+-48+(r*10|0)|0,(r|0)>=1114112){r=-1;break e}i=t+1|0,t=i,i=C[i>>0]|0}while(0);return(n|0)==14&&(r=th(r)|0),r|0}function l70(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do switch(i-t|0){case 2:{(C[t+1>>0]|0)==116?(r=C[t>>0]|0,r=r<<24>>24==108?60:r<<24>>24==103?62:0):n=14;break}case 3:{(C[t>>0]|0)==97&&(C[t+1>>0]|0)==109&&(C[t+2>>0]|0)==112?r=38:n=14;break}case 4:switch(C[t>>0]|0){case 113:{if((C[t+1>>0]|0)!=117){n=14;break e}if((C[t+2>>0]|0)!=111){n=14;break e}if((C[t+3>>0]|0)==116){r=34;break e}else{n=14;break e}}case 97:{if((C[t+1>>0]|0)!=112){n=14;break e}if((C[t+2>>0]|0)!=111){n=14;break e}if((C[t+3>>0]|0)==115){r=39;break e}else{n=14;break e}}default:{n=14;break e}}default:n=14}while(0);return(n|0)==14&&(r=0),r|0}function SP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=r+72|0,l=n+4|0;!((i-t|0)<=0);){switch(C[o+(s0[t>>0]|0)>>0]|0){case 5:{t=t+2|0;break}case 6:{t=t+3|0;break}case 7:{t=t+4|0;break}case 10:{e[l>>2]=-1,e[n>>2]=(e[n>>2]|0)+1,t=t+1|0;break}case 9:{e[n>>2]=(e[n>>2]|0)+1,r=t+1|0,(i-r|0)>0?t=(C[o+(s0[r>>0]|0)>>0]|0)==10?t+2|0:r:t=r,e[l>>2]=-1;break}default:t=t+1|0}e[l>>2]=(e[l>>2]|0)+1}}function s70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;o=i+-1|0,r=r+72|0;e:for(;;){if(t=t+1|0,(o-t|0)<=0){t=1;break}switch(i=C[t>>0]|0,C[r+(i&255)>>0]|0){case 23:case 19:case 30:case 33:case 16:case 18:case 10:case 9:case 15:case 14:case 17:case 35:case 34:case 32:case 31:case 13:case 27:case 24:case 25:continue e;case 21:if(i<<24>>24==9){l=7;break e}else continue e;case 22:case 26:{if(i<<24>>24>=0)continue e;break}default:}switch(i<<24>>24|0){case 64:case 36:break;default:{l=7;break e}}}return(l|0)==7&&(e[n>>2]=t,t=0),t|0}function A70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=o;;){if(s=e[t>>2]|0,(s|0)==(i|0)){r=0;break}if(A=s0[s>>0]|0,r=e[n>>2]|0,A&128){if((l-r|0)<2){r=2;break}e[n>>2]=r+1,C[r>>0]=A>>>6|192,s=e[n>>2]|0,e[n>>2]=s+1,C[s>>0]=A&63|128,e[t>>2]=(e[t>>2]|0)+1;continue}else{if((r|0)==(o|0)){r=2;break}e[t>>2]=s+1,s=C[s>>0]|0,A=e[n>>2]|0,e[n>>2]=A+1,C[A>>0]=s;continue}}return r|0}function u70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;for(var l=0,s=0;r=e[t>>2]|0,l=r>>>0>>0,s=e[n>>2]|0,!!(l&s>>>0>>0);)e[t>>2]=r+1,l=s0[r>>0]|0,s=e[n>>2]|0,e[n>>2]=s+2,$[s>>1]=l;return((s|0)!=(o|0)|l^1?0:2)|0}function Ck(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;A=i,o=A-t|0;e:do if((o|0)>0){switch(c=r+72|0,C[c+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{i=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)i=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)i=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)i=4;else{e[n>>2]=t,i=0;break e}break}case 19:{i=a70(r,t+1|0,i,n)|0;break e}default:{e[n>>2]=t,i=0;break e}}o=r+328|0,l=r+332|0,s=r+336|0,t=t+i|0;r:for(;;){if(i=A-t|0,(i|0)<=0){i=-1;break e}switch(C[c+(s0[t>>0]|0)>>0]|0){case 29:{o=18;break r}case 18:{o=29;break r}case 27:case 26:case 25:case 24:case 22:{i=1;break}case 5:{if((i|0)<2){i=-2;break e}if(ke[e[o>>2]&127](r,t)|0)i=2;else{o=21;break r}break}case 6:{if((i|0)<3){i=-2;break e}if(ke[e[l>>2]&127](r,t)|0)i=3;else{o=24;break r}break}case 7:{if((i|0)<4){i=-2;break e}if(ke[e[s>>2]&127](r,t)|0)i=4;else{o=27;break r}break}default:{o=30;break r}}t=t+i|0}if((o|0)==18){e[n>>2]=t,i=0;break}else if((o|0)==21){e[n>>2]=t,i=0;break}else if((o|0)==24){e[n>>2]=t,i=0;break}else if((o|0)==27){e[n>>2]=t,i=0;break}else if((o|0)==29){e[n>>2]=t+1,i=9;break}else if((o|0)==30){e[n>>2]=t,i=0;break}}else i=-1;while(0);return i|0}function _P(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;o=i-t|0;e:do if((o|0)>0){switch(c=r+72|0,C[c+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=4;else{e[n>>2]=t,i=0;break e}break}case 30:case 9:case 10:case 21:{e[n>>2]=t,i=22;break e}default:{e[n>>2]=t,i=0;break e}}l=r+328|0,s=r+332|0,A=r+336|0,t=t+o|0;r:for(;;){if(o=i-t|0,(o|0)<=0){i=-1;break e}switch(C[c+(s0[t>>0]|0)>>0]|0){case 29:{o=18;break r}case 18:{o=29;break r}case 27:case 26:case 25:case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,t)|0)o=2;else{o=21;break r}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,t)|0)o=3;else{o=24;break r}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,t)|0)o=4;else{o=27;break r}break}default:{o=30;break r}}t=t+o|0}if((o|0)==18){e[n>>2]=t,i=0;break}else if((o|0)==21){e[n>>2]=t,i=0;break}else if((o|0)==24){e[n>>2]=t,i=0;break}else if((o|0)==27){e[n>>2]=t,i=0;break}else if((o|0)==29){e[n>>2]=t+1,i=28;break}else if((o|0)==30){e[n>>2]=t,i=0;break}}else i=-1;while(0);return i|0}function a70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;l=i;e:do if((l-t|0)>0){if(o=C[t>>0]|0,o<<24>>24==120){r=c70(r,t+1|0,i,n)|0;break}if(i=r+72|0,(C[i+(o&255)>>0]|0)!=25){e[n>>2]=t,r=0;break}r:for(;;){if(r=t+1|0,(l-r|0)<=0){r=-1;break e}switch(C[i+(s0[r>>0]|0)>>0]|0){case 25:{t=r;break}case 18:{i=8;break r}default:{i=9;break r}}}if((i|0)==8){e[n>>2]=t+2,r=10;break}else if((i|0)==9){e[n>>2]=r,r=0;break}}else r=-1;while(0);return r|0}function c70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;e:do if((i-t|0)>0){if(r=r+72|0,(C[r+(s0[t>>0]|0)>>0]&-2)<<24>>24!=24){e[n>>2]=t,i=0;break}r:for(;;){if(o=t+1|0,(i-o|0)<=0){i=-1;break e}switch(C[r+(s0[o>>0]|0)>>0]|0){case 24:case 25:{t=o;break}case 18:{r=6;break r}default:{r=7;break r}}}if((r|0)==6){e[n>>2]=t+2,i=10;break}else if((r|0)==7){e[n>>2]=o,i=0;break}}else i=-1;while(0);return i|0}function f70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;m=i,o=m-t|0;e:do if((o|0)>0){switch(v=r+72|0,C[v+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,o=0;break e}case 24:case 22:{o=1;break}case 5:{if((o|0)<2){o=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=2;else{e[n>>2]=t,o=0;break e}break}case 6:{if((o|0)<3){o=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=3;else{e[n>>2]=t,o=0;break e}break}case 7:{if((o|0)<4){o=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=4;else{e[n>>2]=t,o=0;break e}break}case 16:{if(o=t+1|0,(m-o|0)<=0){o=-1;break e}switch(C[v+(s0[o>>0]|0)>>0]|0){case 27:{o=zP(r,t+2|0,i,n)|0;break e}case 20:{o=h70(t+2|0,i,n)|0;break e}default:{e[n>>2]=o,o=0;break e}}}case 15:{o=LP(r,t+1|0,i,n)|0;break e}case 17:{o=w70(r,t+1|0,i,n)|0;break e}default:{e[n>>2]=t,o=0;break e}}s=r+328|0,A=r+332|0,c=r+336|0,f=r+340|0,w=r+344|0,p=r+348|0,l=0,o=t+o|0;r:for(;;){if(t=m-o|0,(t|0)<=0){o=-1;break e}t:do switch(C[v+(s0[o>>0]|0)>>0]|0){case 29:{E=24;break r}case 10:case 9:case 21:{E=50;break r}case 11:{E=64;break r}case 17:break r;case 27:case 26:case 25:case 24:case 22:{t=1;break}case 5:{if((t|0)<2){o=-2;break e}if(ke[e[s>>2]&127](r,o)|0)t=2;else{E=27;break r}break}case 6:{if((t|0)<3){o=-2;break e}if(ke[e[A>>2]&127](r,o)|0)t=3;else{E=30;break r}break}case 7:{if((t|0)<4){o=-2;break e}if(ke[e[c>>2]&127](r,o)|0)t=4;else{E=33;break r}break}case 23:{if(l|0){E=35;break r}if(l=o+1|0,t=m-l|0,(t|0)<=0){o=-1;break e}switch(C[v+(s0[l>>0]|0)>>0]|0){case 29:{E=38;break r}case 24:case 22:{l=1,t=2;break t}case 5:{if((t|0)<2){o=-2;break e}if(ke[e[f>>2]&127](r,l)|0){l=1,t=3;break t}else{E=42;break r}}case 6:{if((t|0)<3){o=-2;break e}if(ke[e[w>>2]&127](r,l)|0){l=1,t=4;break t}else{E=45;break r}}case 7:{if((t|0)<4){o=-2;break e}if(ke[e[p>>2]&127](r,l)|0){l=1,t=5;break t}else{E=48;break r}}default:{E=49;break r}}}default:{E=69;break r}}while(0);o=o+t|0}r:switch(E|0){case 24:{e[n>>2]=o,o=0;break e}case 27:{e[n>>2]=o,o=0;break e}case 30:{e[n>>2]=o,o=0;break e}case 33:{e[n>>2]=o,o=0;break e}case 35:{e[n>>2]=o,o=0;break e}case 38:{e[n>>2]=l,o=0;break e}case 42:{e[n>>2]=l,o=0;break e}case 45:{e[n>>2]=l,o=0;break e}case 48:{e[n>>2]=l,o=0;break e}case 49:{e[n>>2]=l,o=0;break e}case 50:{t:for(;;){if(E=0,l=o+1|0,t=m-l|0,(t|0)<=0){o=-1;break e}switch(C[v+(s0[l>>0]|0)>>0]|0){case 11:{o=l,E=64;break r}case 17:{o=l;break r}case 10:case 9:case 21:{o=l,E=50;break}case 29:{E=52;break t}case 24:case 22:{l=2;break t}case 5:{E=53;break t}case 6:{E=56;break t}case 7:{E=59;break t}default:{E=62;break t}}}if((E|0)==52){e[n>>2]=l,o=0;break e}else if((E|0)==53){if((t|0)<2){o=-2;break e}if(ke[e[f>>2]&127](r,l)|0)l=3;else{e[n>>2]=l,o=0;break e}}else if((E|0)==56){if((t|0)<3){o=-2;break e}if(ke[e[w>>2]&127](r,l)|0)l=4;else{e[n>>2]=l,o=0;break e}}else if((E|0)==59){if((t|0)<4){o=-2;break e}if(ke[e[p>>2]&127](r,l)|0)l=5;else{e[n>>2]=l,o=0;break e}}else if((E|0)==62){e[n>>2]=l,o=0;break e}o=d70(r,o+l|0,i,n)|0;break e}case 69:{e[n>>2]=o,o=0;break e}}if((E|0)==64){e[n>>2]=o+1,o=2;break}if(l=o+1|0,(m-l|0)>0)if((C[l>>0]|0)==62){e[n>>2]=o+2,o=4;break}else{e[n>>2]=l,o=0;break}else o=-1}else o=-1;while(0);return o|0}function zP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;e:do if((i-t|0)>0){if((C[t>>0]|0)!=45){e[n>>2]=t,i=0;break}o=r+72|0,l=r+352|0,s=r+356|0,A=r+360|0,c=t+1|0;r:for(;;){if(t=i-c|0,(t|0)<=0){i=-1;break e}switch(C[o+(s0[c>>0]|0)>>0]|0){case 8:case 1:case 0:{t=19;break r}case 5:{if((t|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,c)|0){t=9;break r}c=c+2|0;continue r}case 6:{if((t|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,c)|0){t=13;break r}c=c+3|0;continue r}case 7:{if((t|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,c)|0){t=17;break r}c=c+4|0;continue r}case 27:{if(t=c+1|0,(i-t|0)<=0){i=-1;break e}if((C[t>>0]|0)==45){t=22;break r}else{c=t;continue r}}default:{c=c+1|0;continue r}}}if((t|0)==9){e[n>>2]=c,i=0;break}else if((t|0)==13){e[n>>2]=c,i=0;break}else if((t|0)==17){e[n>>2]=c,i=0;break}else if((t|0)==19){e[n>>2]=c,i=0;break}else if((t|0)==22){if(t=c+2|0,(i-t|0)<=0){i=-1;break}if((C[t>>0]|0)==62){e[n>>2]=c+3,i=13;break}else{e[n>>2]=t,i=0;break}}}else i=-1;while(0);return i|0}function h70(r,t,i){if(r=r|0,t=t|0,i=i|0,(t-r|0)>5){for(t=0;;){if((t|0)>=6){t=8;break}if((C[r>>0]|0)!=(C[144300+t>>0]|0)){t=0;break}t=t+1|0,r=r+1|0}e[i>>2]=r}else t=-1;return t|0}function LP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+16|0,p=v,w=i,i=w-t|0;e:do if((i|0)>0){switch(f=r+72|0,C[f+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{i=1;break}case 5:{if((i|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)i=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((i|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)i=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((i|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)i=4;else{e[n>>2]=t,i=0;break e}break}default:{e[n>>2]=t,i=0;break e}}l=r+328|0,s=r+332|0,A=r+336|0,i=t+i|0;r:for(;;){if(o=w-i|0,(o|0)<=0){i=-1;break e}switch(C[f+(s0[i>>0]|0)>>0]|0){case 29:{c=17;break r}case 10:case 9:case 21:{c=28;break r}case 15:{c=50;break r}case 27:case 26:case 25:case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,i)|0)o=2;else{c=20;break r}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,i)|0)o=3;else{c=23;break r}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,i)|0)o=4;else{c=26;break r}break}default:break r}i=i+o|0}if((c|0)==17){e[n>>2]=i,i=0;break}else if((c|0)==20){e[n>>2]=i,i=0;break}else if((c|0)==23){e[n>>2]=i,i=0;break}else if((c|0)==26){e[n>>2]=i,i=0;break}else if((c|0)==28){if(!(RP(t,i,p)|0)){e[n>>2]=i,i=0;break}l=r+352|0,s=r+356|0,A=r+360|0,o=i+1|0;r:for(;;){if(i=w-o|0,(i|0)<=0){i=-1;break e}switch(C[f+(s0[o>>0]|0)>>0]|0){case 8:case 1:case 0:{c=45;break r}case 5:{if((i|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,o)|0){c=35;break r}o=o+2|0;continue r}case 6:{if((i|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,o)|0){c=39;break r}o=o+3|0;continue r}case 7:{if((i|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,o)|0){c=43;break r}o=o+4|0;continue r}case 15:{if(i=o+1|0,(w-i|0)<=0){i=-1;break e}if((C[i>>0]|0)==62){c=48;break r}else{o=i;continue r}}default:{o=o+1|0;continue r}}}if((c|0)==35){e[n>>2]=o,i=0;break}else if((c|0)==39){e[n>>2]=o,i=0;break}else if((c|0)==43){e[n>>2]=o,i=0;break}else if((c|0)==45){e[n>>2]=o,i=0;break}else if((c|0)==48){e[n>>2]=o+2,i=e[p>>2]|0;break}}else if((c|0)==50){if(!(RP(t,i,p)|0)){e[n>>2]=i,i=0;break}if(o=i+1|0,(w-o|0)<=0){i=-1;break}if((C[o>>0]|0)==62){e[n>>2]=i+2,i=e[p>>2]|0;break}else i=o}e[n>>2]=i,i=0}else i=-1;while(0);return g=v,i|0}function w70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;o=i-t|0;e:do if((o|0)>0){switch(c=r+72|0,C[c+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=4;else{e[n>>2]=t,i=0;break e}break}default:{e[n>>2]=t,i=0;break e}}l=r+328|0,s=r+332|0,A=r+336|0,o=t+o|0;r:for(;;){if(t=i-o|0,(t|0)<=0){i=-1;break e}switch(C[c+(s0[o>>0]|0)>>0]|0){case 29:{l=17;break r}case 10:case 9:case 21:{l=27;break r}case 11:{l=32;break r}case 23:case 27:case 26:case 25:case 24:case 22:{t=1;break}case 5:{if((t|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,o)|0)t=2;else{l=20;break r}break}case 6:{if((t|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,o)|0)t=3;else{l=23;break r}break}case 7:{if((t|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,o)|0)t=4;else{l=26;break r}break}default:{l=33;break r}}o=o+t|0}if((l|0)==17){e[n>>2]=o,i=0;break}else if((l|0)==20){e[n>>2]=o,i=0;break}else if((l|0)==23){e[n>>2]=o,i=0;break}else if((l|0)==26){e[n>>2]=o,i=0;break}else if((l|0)==27){r:for(;;){if(t=o+1|0,(i-t|0)<=0){i=-1;break e}switch(C[c+(s0[t>>0]|0)>>0]|0){case 10:case 9:case 21:{o=t,l=27;break}case 11:{l=29;break r}default:{l=30;break r}}}if((l|0)==29){e[n>>2]=o+2,i=5;break}else if((l|0)==30){e[n>>2]=t,i=0;break}}else if((l|0)==32){e[n>>2]=o+1,i=5;break}else if((l|0)==33){e[n>>2]=o,i=0;break}}else i=-1;while(0);return i|0}function d70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;Z=g,g=g+16|0,z=Z,e[z>>2]=t,_=i,m=r+72|0,E=r+328|0,B=r+332|0,x=r+336|0,A=r+340|0,c=r+344|0,f=r+348|0,w=r+352|0,p=r+356|0,v=r+360|0,l=0;e:for(;;){if(o=_-t|0,(o|0)<=0){t=-1;break}r:do switch(C[m+(s0[t>>0]|0)>>0]|0){case 29:{L=4;break e}case 27:case 26:case 25:case 24:case 22:{o=t+1|0,e[z>>2]=o,s=l,t=o,l=s;continue e}case 5:{if((o|0)<2){t=-2;break e}if(!(ke[e[E>>2]&127](r,t)|0)){L=8;break e}o=t+2|0,e[z>>2]=o,s=l,t=o,l=s;continue e}case 6:{if((o|0)<3){t=-2;break e}if(!(ke[e[B>>2]&127](r,t)|0)){L=12;break e}o=t+3|0,e[z>>2]=o,s=l,t=o,l=s;continue e}case 7:{if((o|0)<4){t=-2;break e}if(!(ke[e[x>>2]&127](r,t)|0)){L=16;break e}o=t+4|0,e[z>>2]=o,s=l,t=o,l=s;continue e}case 23:{if(l|0){L=19;break e}if(o=t+1|0,e[z>>2]=o,l=_-o|0,(l|0)<=0){t=-1;break e}switch(C[m+(s0[o>>0]|0)>>0]|0){case 29:{L=22;break e}case 24:case 22:{s=t+2|0,e[z>>2]=s,l=1,t=s;continue e}case 5:{if((l|0)<2){t=-2;break e}if(!(ke[e[A>>2]&127](r,o)|0)){L=26;break e}s=t+3|0,e[z>>2]=s,l=1,t=s;continue e}case 6:{if((l|0)<3){t=-2;break e}if(!(ke[e[c>>2]&127](r,o)|0)){L=30;break e}s=t+4|0,e[z>>2]=s,l=1,t=s;continue e}case 7:{if((l|0)<4){t=-2;break e}if(!(ke[e[f>>2]&127](r,o)|0)){L=34;break e}s=t+5|0,e[z>>2]=s,l=1,t=s;continue e}default:{L=36;break e}}}case 10:case 9:case 21:for(;;){if(t=t+1|0,e[z>>2]=t,(_-t|0)<=0){t=-1;break e}switch(C[m+(s0[t>>0]|0)>>0]|0){case 14:break r;case 9:case 10:case 21:break;default:{L=39;break e}}}case 14:break;default:{L=92;break e}}while(0);for(;;){if(o=t+1|0,e[z>>2]=o,(_-o|0)<=0){t=-1;break e}if(s=C[m+(s0[o>>0]|0)>>0]|0,(s|1)<<24>>24==13)break;switch(s<<24>>24){case 9:case 10:case 21:{t=o;break}default:{L=43;break e}}}t=t+2|0,e[z>>2]=t;r:for(;;){if(o=_-t|0,(o|0)<=0){t=-1;break e}if(l=C[m+(s0[t>>0]|0)>>0]|0,l<<24>>24==s<<24>>24)break;switch(l<<24>>24){case 8:case 1:case 0:{L=60;break e}case 2:{L=65;break e}case 5:{if((o|0)<2){t=-2;break e}if(ke[e[w>>2]&127](r,t)|0){L=50;break e}l=t+2|0,e[z>>2]=l,t=l;continue r}case 6:{if((o|0)<3){t=-2;break e}if(ke[e[p>>2]&127](r,t)|0){L=54;break e}l=t+3|0,e[z>>2]=l,t=l;continue r}case 7:{if((o|0)<4){t=-2;break e}if(ke[e[v>>2]&127](r,t)|0){L=58;break e}l=t+4|0,e[z>>2]=l,t=l;continue r}case 3:{if(t=Ck(r,t+1|0,i,z)|0,(t|0)<1){L=63;break e}t=e[z>>2]|0;continue r}default:{l=t+1|0,e[z>>2]=l,t=l;continue r}}}if(o=t+1|0,e[z>>2]=o,(_-o|0)<=0){t=-1;break}switch(C[m+(s0[o>>0]|0)>>0]|0){case 11:{L=86;break e}case 17:{L=87;break e}case 10:case 9:case 21:{t=o;break}default:{L=69;break e}}r:for(;;){if(o=t+1|0,e[z>>2]=o,l=_-o|0,(l|0)<=0){t=-1;break e}switch(C[m+(s0[o>>0]|0)>>0]|0){case 29:{L=72;break e}case 11:{L=86;break e}case 17:{L=87;break e}case 10:case 9:case 21:{t=o;break}case 24:case 22:{L=73;break r}case 5:{L=74;break r}case 6:{L=78;break r}case 7:{L=82;break r}default:{L=91;break e}}}if((L|0)==73){L=0,t=t+2|0,e[z>>2]=t,l=0;continue}else if((L|0)==74){if(L=0,(l|0)<2){t=-2;break}if(!(ke[e[A>>2]&127](r,o)|0)){L=76;break}t=t+3|0,e[z>>2]=t,l=0;continue}else if((L|0)==78){if(L=0,(l|0)<3){t=-2;break}if(!(ke[e[c>>2]&127](r,o)|0)){L=80;break}t=t+4|0,e[z>>2]=t,l=0;continue}else if((L|0)==82){if(L=0,(l|0)<4){t=-2;break}if(!(ke[e[f>>2]&127](r,o)|0)){L=84;break}t=t+5|0,e[z>>2]=t,l=0;continue}}switch(L|0){case 4:{e[n>>2]=t,t=0;break}case 8:{e[n>>2]=t,t=0;break}case 12:{e[n>>2]=t,t=0;break}case 16:{e[n>>2]=t,t=0;break}case 19:{e[n>>2]=t,t=0;break}case 22:{e[n>>2]=o,t=0;break}case 26:{e[n>>2]=o,t=0;break}case 30:{e[n>>2]=o,t=0;break}case 34:{e[n>>2]=o,t=0;break}case 36:{e[n>>2]=o,t=0;break}case 39:{e[n>>2]=t,t=0;break}case 43:{e[n>>2]=o,t=0;break}case 50:{e[n>>2]=t,t=0;break}case 54:{e[n>>2]=t,t=0;break}case 58:{e[n>>2]=t,t=0;break}case 60:{e[n>>2]=t,t=0;break}case 63:{t||(e[n>>2]=e[z>>2],t=0);break}case 65:{e[n>>2]=t,t=0;break}case 69:{e[n>>2]=o,t=0;break}case 72:{e[n>>2]=o,t=0;break}case 76:{e[n>>2]=o,t=0;break}case 80:{e[n>>2]=o,t=0;break}case 84:{e[n>>2]=o,t=0;break}case 86:{e[n>>2]=t+2,t=1;break}case 87:{if(t=o+1|0,e[z>>2]=t,(_-t|0)>0)if((C[t>>0]|0)==62){e[n>>2]=o+2,t=3;break}else{e[n>>2]=t,t=0;break}else t=-1;break}case 91:{e[n>>2]=o,t=0;break}case 92:{e[n>>2]=t,t=0;break}}return g=Z,t|0}function RP(r,t,i){r=r|0,t=t|0,i=i|0,e[i>>2]=11;e:do if((t-r|0)==3){switch(C[r>>0]|0){case 120:{t=0;break}case 88:{t=1;break}default:{t=1;break e}}switch(C[r+1>>0]|0){case 109:break;case 77:{t=1;break}default:{t=1;break e}}switch(C[r+2>>0]|0){case 108:break;case 76:{t=0;break e}default:{t=1;break e}}t?t=0:(e[i>>2]=12,t=1)}else t=1;while(0);return t|0}function GP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0;A=t+72|0,c=t+352|0,f=t+356|0,w=t+360|0;e:for(;;){if(l=n-i|0,(l|0)<=0){n=-1;break}switch(s=C[A+(s0[i>>0]|0)>>0]|0,s<<24>>24){case 8:case 1:case 0:{p=16;break e}case 5:{if((l|0)<2){n=-2;break e}if(ke[e[c>>2]&127](t,i)|0){p=6;break e}i=i+2|0;continue e}case 6:{if((l|0)<3){n=-2;break e}if(ke[e[f>>2]&127](t,i)|0){p=10;break e}i=i+3|0;continue e}case 7:{if((l|0)<4){n=-2;break e}if(ke[e[w>>2]&127](t,i)|0){p=14;break e}i=i+4|0;continue e}case 13:case 12:if(i=i+1|0,(s&255|0)==(r|0)){p=18;break e}else continue e;default:{i=i+1|0;continue e}}}e:do if((p|0)==6)e[o>>2]=i,n=0;else if((p|0)==10)e[o>>2]=i,n=0;else if((p|0)==14)e[o>>2]=i,n=0;else if((p|0)==16)e[o>>2]=i,n=0;else if((p|0)==18)if((n-i|0)>0){switch(e[o>>2]=i,C[A+(s0[i>>0]|0)>>0]|0){case 20:case 30:case 11:case 10:case 9:case 21:{n=27;break e}default:}n=0}else n=-27;while(0);return n|0}function p70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;o=i;e:do if((o-t|0)>0)switch(l=r+72|0,C[l+(s0[t>>0]|0)>>0]|0){case 27:{r=zP(r,t+1|0,i,n)|0;break e}case 20:{e[n>>2]=t+1,r=33;break e}case 24:case 22:{r:for(;;){if(r=t+1|0,i=o-r|0,(i|0)<=0){r=-1;break e}switch(C[l+(s0[r>>0]|0)>>0]|0){case 24:case 22:{t=r;break}case 30:{s=8;break r}case 10:case 9:case 21:break r;default:{s=12;break r}}}if((s|0)==12){e[n>>2]=r,r=0;break e}r:do if((s|0)==8){if((i|0)<=1){r=-1;break e}switch(C[l+(s0[t+2>>0]|0)>>0]|0){case 30:case 10:case 9:case 21:break;default:break r}e[n>>2]=r,r=0;break e}while(0);e[n>>2]=r,r=16;break e}default:{e[n>>2]=t,r=0;break e}}else r=-1;while(0);return r|0}function k70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;o=i-t|0;e:do if((o|0)>0){switch(c=r+72|0,C[c+(s0[t>>0]|0)>>0]|0){case 29:{e[n>>2]=t,i=0;break e}case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[r+340>>2]&127](r,t)|0)o=2;else{e[n>>2]=t,i=0;break e}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[r+344>>2]&127](r,t)|0)o=3;else{e[n>>2]=t,i=0;break e}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[r+348>>2]&127](r,t)|0)o=4;else{e[n>>2]=t,i=0;break e}break}default:{e[n>>2]=t,i=0;break e}}l=r+328|0,s=r+332|0,A=r+336|0,t=t+o|0;r:for(;;){if(o=i-t|0,(o|0)<=0){i=-20;break e}switch(C[c+(s0[t>>0]|0)>>0]|0){case 29:{o=17;break r}case 36:case 30:case 11:case 32:case 21:case 10:case 9:{o=28;break r}case 27:case 26:case 25:case 24:case 22:{o=1;break}case 5:{if((o|0)<2){i=-2;break e}if(ke[e[l>>2]&127](r,t)|0)o=2;else{o=20;break r}break}case 6:{if((o|0)<3){i=-2;break e}if(ke[e[s>>2]&127](r,t)|0)o=3;else{o=23;break r}break}case 7:{if((o|0)<4){i=-2;break e}if(ke[e[A>>2]&127](r,t)|0)o=4;else{o=26;break r}break}default:{o=29;break r}}t=t+o|0}if((o|0)==17){e[n>>2]=t,i=0;break}else if((o|0)==20){e[n>>2]=t,i=0;break}else if((o|0)==23){e[n>>2]=t,i=0;break}else if((o|0)==26){e[n>>2]=t,i=0;break}else if((o|0)==28){e[n>>2]=t,i=20;break}else if((o|0)==29){e[n>>2]=t,i=0;break}}else i=-1;while(0);return i|0}function v70(){return 58220}function m70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;return A=g,g=g+16|0,l=A,e[l>>2]=i,s=e[t>>2]|0,r=o-(e[n>>2]|0)|0,(i-s|0)>(r|0)?(r=s+r|0,e[l>>2]=r,o=1):(o=0,r=i),Gl0(s,l),s=e[l>>2]|0,i=e[t>>2]|0,l=s-i|0,u2(e[n>>2]|0,i|0,l|0)|0,e[t>>2]=(e[t>>2]|0)+l,e[n>>2]=(e[n>>2]|0)+l,g=A,(o?2:s>>>0>>0&1)|0}function g70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0;s=r+72|0,A=i,c=o,f=e[t>>2]|0,w=e[n>>2]|0;e:for(;;){if(r=f>>>0>>0,!(w>>>0>>0&r)){p=12;break}switch(r=C[f>>0]|0,l=r&255,C[s+l>>0]|0){case 5:{if((A-f|0)<2){r=1;break e}$[w>>1]=(r&31)<<6|C[f+1>>0]&63,f=f+2|0,w=w+2|0;continue e}case 6:{if((A-f|0)<3){r=1;break e}$[w>>1]=(C[f+1>>0]&63)<<6|l<<12|C[f+2>>0]&63,f=f+3|0,w=w+2|0;continue e}case 7:{if((c-w|0)<4){r=2;break e}if((A-f|0)<4){r=1;break e}l=((C[f+1>>0]&63)<<12|(r&7)<<18|(C[f+2>>0]&63)<<6|C[f+3>>0]&63)+-65536|0,$[w>>1]=l>>>10|55296,$[w+2>>1]=l&1023|56320,f=f+4|0,w=w+4|0;continue e}default:{$[w>>1]=r<<24>>24,f=f+1|0,w=w+2|0;continue e}}}return(p|0)==12&&(r=r?2:0),e[t>>2]=f,e[n>>2]=w,r|0}function y70(r,t){return r=r|0,t=t|0,r=s0[t>>0]|0,t=s0[t+1>>0]|0,1<<(t&31)&e[56940+(((s0[144044+(r>>>2&7)>>0]|0)<<3|r<<1&6|t>>>5&1)<<2)>>2]|0}function C70(r,t){r=r|0,t=t|0;var i=0;return i=s0[t+1>>0]|0,r=s0[t+2>>0]|0,1<<(r&31)&e[56940+(((s0[144044+(i>>>2&15|C[t>>0]<<4&255)>>0]|0)<<3|i<<1&6|r>>>5&1)<<2)>>2]|0}function E70(r,t){return r=r|0,t=t|0,0}function B70(r,t){return r=r|0,t=t|0,r=s0[t>>0]|0,t=s0[t+1>>0]|0,1<<(t&31)&e[56940+(((s0[143788+(r>>>2&7)>>0]|0)<<3|r<<1&6|t>>>5&1)<<2)>>2]|0}function I70(r,t){r=r|0,t=t|0;var i=0;return i=s0[t+1>>0]|0,r=s0[t+2>>0]|0,1<<(r&31)&e[56940+(((s0[143788+(i>>>2&15|C[t>>0]<<4&255)>>0]|0)<<3|i<<1&6|r>>>5&1)<<2)>>2]|0}function x70(r,t){return r=r|0,t=t|0,(s0[t>>0]|0)<194?1:(t=s0[t+1>>0]|0,t>>>7^1|(t&192|0)==192|0)}function S70(r,t){r=r|0,t=t|0;var i=0;r=C[t+2>>0]|0;do if(r<<24>>24>-1)r=1;else{if(i=C[t>>0]|0,i<<24>>24==-17&&(C[t+1>>0]|0)==-65)if((r&255)>189){r=1;break}else r=191,t=-65;else{if((r&255)>191){r=1;break}if(t=C[t+1>>0]|0,r=t&255,i<<24>>24==-32){r=(t&255)<160|(r&192|0)==192;break}}r=r&128|0?i<<24>>24==-19?(t&255)>159:(r&192|0)==192:1}while(0);return r&1|0}function _70(r,t){r=r|0,t=t|0;var i=0;i=s0[t+3>>0]|0;do if(!((i&128|0)==0|(i&192|0)==192)&&(i=s0[t+2>>0]|0,!((i&128|0)==0|(i&192|0)==192)))if(i=C[t>>0]|0,r=C[t+1>>0]|0,t=r&255,i<<24>>24==-16){r=(r&255)<144|(t&192|0)==192;break}else{r=t&128|0?i<<24>>24==-12?(r&255)>143:(t&192|0)==192:1;break}else r=1;while(0);return r&1|0}function z70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;e:do if(t>>>0>>0)if(l=t,f=i-l|0,A=(f&1|0)==0,f=f&-2,c=(f|0)==0,f=A|c?i:t+f|0,A|c^1){i=C[t+1>>0]|0,i<<24>>24?(o=C[t>>0]|0,s=o,o=Re(i,o)|0):(o=C[t>>0]|0,s=o,o=s0[r+72+(o&255)>>0]|0);do switch(o|0){case 12:{i=jP(12,r,t+2|0,f,n)|0;break e}case 13:{i=jP(13,r,t+2|0,f,n)|0;break e}case 2:{if(o=t+2|0,(f-o|0)<=1){i=-1;break e}switch(i=C[t+3>>0]|0,i<<24>>24?i=Re(i,C[o>>0]|0)|0:i=s0[r+72+(s0[o>>0]|0)>>0]|0,i|0){case 16:{i=$70(r,t+4|0,f,n)|0;break e}case 15:{i=DP(r,t+4|0,f,n)|0;break e}case 7:case 6:case 5:case 29:case 24:case 22:{e[n>>2]=t,i=29;break e}default:{e[n>>2]=o,i=0;break e}}}case 9:{if((t+2|0)==(f|0)){e[n>>2]=f,i=-15;break e}else l=7;break}case 10:case 21:{l=7;break}case 30:{i=ZP(r,t+2|0,f,n)|0;break e}case 35:{e[n>>2]=t+2,i=38;break e}case 20:{e[n>>2]=t+2,i=25;break e}case 4:{if(o=t+2|0,i=f-o|0,(i|0)<=1){i=-26;break e}if(!(C[t+3>>0]|0)&&(C[o>>0]|0)==93){if((i|0)<=3){i=-1;break e}if(!(C[t+5>>0]|0)&&(C[t+4>>0]|0)==62){e[n>>2]=t+6,i=34;break e}}e[n>>2]=o,i=26;break e}case 31:{e[n>>2]=t+2,i=23;break e}case 32:{if(o=t+2|0,(f-o|0)<=1){i=-24;break e}switch(i=C[t+3>>0]|0,i<<24>>24?i=Re(i,C[o>>0]|0)|0:i=s0[r+72+(s0[o>>0]|0)>>0]|0,i|0){case 33:{e[n>>2]=t+4,i=36;break e}case 15:{e[n>>2]=t+4,i=35;break e}case 34:{e[n>>2]=t+4,i=37;break e}case 32:case 36:case 35:case 11:case 21:case 10:case 9:{e[n>>2]=o,i=24;break e}default:{e[n>>2]=o,i=0;break e}}}case 36:{e[n>>2]=t+2,i=21;break e}case 11:{e[n>>2]=t+2,i=17;break e}case 19:{i=K70(r,t+2|0,f,n)|0;break e}case 5:{if((f-l|0)<2){i=-2;break e}e[n>>2]=t,i=0;break e}case 6:{if((f-l|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((f-l|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}case 24:case 22:{i=18,l=61;break}case 23:case 27:case 26:case 25:{i=19,l=61;break}case 29:{l=i&255,o=s&255,i=o>>>5,o=1<<(o&31),o&e[56940+((i|s0[143788+l>>0]<<3)<<2)>>2]?(i=18,l=61):e[56940+((s0[144044+l>>0]<<3|i)<<2)>>2]&o?(i=19,l=61):l=64;break}default:l=64}while(0);if((l|0)==7){A=f,r=r+72|0,s=t;r:for(;;){if(l=s,s=s+2|0,(A-s|0)<=1){l=28;break}switch(i=C[l+3>>0]|0,o=C[s>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[r+(o&255)>>0]|0,i|0){case 10:case 21:continue r;case 9:break;default:{l=27;break r}}if((l+4|0)==(f|0)){l=27;break}}if((l|0)==27){e[n>>2]=s,i=15;break}else if((l|0)==28){e[n>>2]=s,i=15;break}}else if((l|0)==61){c=r+72|0,o=t+2|0;r:for(;;){t=i&255;t:for(;;){if(A=f-o|0,(A|0)<=1){l=104;break r}switch(l=C[o+1>>0]|0,s=C[o>>0]|0,l<<24>>24?r=Re(l,s)|0:r=s0[c+(s&255)>>0]|0,r|0){case 5:{l=73;break r}case 6:{l=74;break r}case 7:{l=76;break r}case 10:case 9:case 21:case 30:case 20:case 36:case 35:case 32:case 11:{l=78;break r}case 34:{l=94;break r}case 33:{l=97;break r}case 15:{l=100;break r}case 29:{if(A=s&255,!(1<<(A&31)&e[56940+((A>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])){l=71;break r}break}case 27:case 26:case 25:case 24:case 22:break;case 23:switch(A=o+2|0,t&63){case 41:{i=19,o=A;continue r}case 18:break t;default:{o=A;continue t}}default:{l=103;break r}}o=o+2|0}if(r=f-A|0,(r|0)<=1){i=-1;break e}switch(i=C[o+3>>0]|0,l=C[A>>0]|0,i<<24>>24?s=Re(i,l)|0:s=s0[c+(l&255)>>0]|0,s|0){case 5:{l=89;break r}case 6:{l=90;break r}case 7:{l=92;break r}case 29:{if(t=l&255,!(1<<(t&31)&e[56940+((t>>>5|s0[144044+(i&255)>>0]<<3)<<2)>>2])){l=87;break r}break}case 27:case 26:case 25:case 24:case 22:break;default:{i=19,o=A;continue r}}i=41,o=o+4|0}switch(l|0){case 71:{e[n>>2]=o,i=0;break e}case 73:{e[n>>2]=o,i=0;break e}case 74:{if((A|0)<3){i=-2;break e}e[n>>2]=o,i=0;break e}case 76:{if((A|0)<4){i=-2;break e}e[n>>2]=o,i=0;break e}case 78:{e[n>>2]=o;break e}case 87:{e[n>>2]=A,i=0;break e}case 89:{e[n>>2]=A,i=0;break e}case 90:{if((r|0)<3){i=-2;break e}e[n>>2]=A,i=0;break e}case 92:{if((r|0)<4){i=-2;break e}e[n>>2]=A,i=0;break e}case 94:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=32;break e}case 97:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=31;break e}case 100:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=30;break e}case 103:{e[n>>2]=o,i=0;break e}case 104:{i=0-i|0;break e}}}else if((l|0)==64){e[n>>2]=t,i=0;break}}else i=-1;else i=-4;while(0);return i|0}function L70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;e:do if(t>>>0>>0)if(o=t,l=i-o|0,A=(l&1|0)==0,l=l&-2,s=(l|0)==0,l=A|s?i:t+l|0,A|s^1){i=C[t+1>>0]|0,i<<24>>24?i=Re(i,C[t>>0]|0)|0:i=s0[r+72+(s0[t>>0]|0)>>0]|0;do switch(i|0){case 2:{i=J70(r,t+2|0,l,n)|0;break e}case 3:{i=Ek(r,t+2|0,l,n)|0;break e}case 9:{if(o=t+2|0,(l-o|0)<=1){i=-3;break e}i=C[t+3>>0]|0,i<<24>>24?i=Re(i,C[o>>0]|0)|0:i=s0[r+72+(s0[o>>0]|0)>>0]|0,e[n>>2]=(i|0)==10?t+4|0:o,i=7;break e}case 10:{e[n>>2]=t+2,i=7;break e}case 4:{if(o=t+2|0,(l-o|0)<=1){i=-5;break e}if(!(C[t+3>>0]|0)&&(C[o>>0]|0)==93){if(i=t+4|0,(l-i|0)<=1){i=-5;break e}if(!(C[t+5>>0]|0)&&(C[i>>0]|0)==62){e[n>>2]=i,i=0;break e}else i=l}else i=l;break}case 5:{if(i=l,(i-o|0)<2){i=-2;break e}o=t+2|0;break}case 6:{if(i=l,(i-o|0)<3){i=-2;break e}o=t+3|0;break}case 7:{if(i=l,(i-o|0)<4){i=-2;break e}o=t+4|0;break}case 8:case 1:case 0:{e[n>>2]=t,i=0;break e}default:o=t+2|0,i=l}while(0);s=r+72|0,r=o;r:for(;;){if(t=i-r|0,(t|0)<=1){o=52;break}switch(o=C[r+1>>0]|0,l=C[r>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[s+(l&255)>>0]|0,o|0){case 10:case 9:case 8:case 1:case 0:case 2:case 3:{o=50;break r}case 5:{r=r+2|0;continue r}case 6:{if((t|0)<3){o=38;break r}r=r+3|0;continue r}case 7:{if((t|0)<4){o=41;break r}r=r+4|0;continue r}case 4:{if((t|0)<=3){o=50;break r}if(o=r+2|0,C[r+3>>0]|0){r=o;continue r}if((C[o>>0]|0)!=93){r=o;continue r}if((t|0)<=5){o=50;break r}if(l=r+4|0,C[r+5>>0]|0){r=o;continue r}if((C[l>>0]|0)==62){o=49;break r}else{r=o;continue r}}default:{r=r+2|0;continue r}}}if((o|0)==38){e[n>>2]=r,i=6;break}else if((o|0)==41){e[n>>2]=r,i=6;break}else if((o|0)==49){e[n>>2]=l,i=0;break}else if((o|0)==50){e[n>>2]=r,i=6;break}else if((o|0)==52){e[n>>2]=r,i=6;break}}else i=-1;else i=-4;while(0);return i|0}function R70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;e:do if(t>>>0>>0)if(o=t,l=i-o|0,A=(l&1|0)==0,l=l&-2,s=(l|0)==0,l=A|s?i:t+l|0,A|s^1){switch(i=C[t+1>>0]|0,i<<24>>24?i=Re(i,C[t>>0]|0)|0:i=s0[r+72+(s0[t>>0]|0)>>0]|0,i|0){case 4:{if(o=t+2|0,(l-o|0)<=1){i=-1;break e}if(!(C[t+3>>0]|0)&&(C[o>>0]|0)==93){if(i=t+4|0,(l-i|0)<=1){i=-1;break e}if(!(C[t+5>>0]|0)&&(C[i>>0]|0)==62){e[n>>2]=t+6,i=40;break e}}break}case 9:{if(o=t+2|0,(l-o|0)<=1){i=-1;break e}i=C[t+3>>0]|0,i<<24>>24?i=Re(i,C[o>>0]|0)|0:i=s0[r+72+(s0[o>>0]|0)>>0]|0,e[n>>2]=(i|0)==10?t+4|0:o,i=7;break e}case 10:{e[n>>2]=t+2,i=7;break e}case 5:{if(i=l,(i-o|0)<2){i=-2;break e}o=t+2|0,l=i;break}case 6:{if(i=l,(i-o|0)<3){i=-2;break e}o=t+3|0,l=i;break}case 7:{if(i=l,(i-o|0)<4){i=-2;break e}o=t+4|0,l=i;break}case 8:case 1:case 0:{e[n>>2]=t,i=0;break e}default:o=t+2|0}s=r+72|0,r=o;r:for(;;){if(t=l-r|0,(t|0)<=1){o=40;break}switch(i=C[r+1>>0]|0,o=C[r>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[s+(o&255)>>0]|0,i|0){case 10:case 9:case 8:case 1:case 0:case 4:{o=38;break r}case 6:{if((t|0)<3){o=35;break r}else i=3;break}case 7:{if((t|0)<4){o=37;break r}else i=4;break}default:i=2}r=r+i|0}if((o|0)==35){e[n>>2]=r,i=6;break}else if((o|0)==37){e[n>>2]=r,i=6;break}else if((o|0)==38){e[n>>2]=r,i=6;break}else if((o|0)==40){e[n>>2]=r,i=6;break}}else i=-1;else i=-4;while(0);return i|0}function G70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;A=i-t|0,A=A&1|0?t+(A&-2)|0:i,s=r+72|0,l=0,i=t;e:for(;;){if(o=A-i|0,(o|0)<=1){i=-1;break}switch(r=C[i+1>>0]|0,t=C[i>>0]|0,r<<24>>24?r=Re(r,t)|0:r=s0[s+(t&255)>>0]|0,r|0){case 8:case 1:case 0:{c=12;break e}case 5:{o=l,i=i+2|0,l=o;continue e}case 6:{if((o|0)<3){i=-2;break e}o=l,i=i+3|0,l=o;continue e}case 7:{if((o|0)<4){i=-2;break e}o=l,i=i+4|0,l=o;continue e}case 2:{if(r=i+2|0,(A-r|0)<=1){i=-1;break e}if(C[i+3>>0]|0){o=l,i=r,l=o;continue e}if((C[r>>0]|0)!=33){o=l,i=r,l=o;continue e}if(r=i+4|0,(A-r|0)<=1){i=-1;break e}if(C[i+5>>0]|0){o=l,i=r,l=o;continue e}o=(C[r>>0]|0)==91,l=l+(o&1)|0,i=o?i+6|0:r;continue e}case 4:{if(r=i+2|0,(A-r|0)<=1){i=-1;break e}if(C[i+3>>0]|0){o=l,i=r,l=o;continue e}if((C[r>>0]|0)!=93){o=l,i=r,l=o;continue e}if(r=i+4|0,(A-r|0)<=1){i=-1;break e}if(C[i+5>>0]|0){o=l,i=r,l=o;continue e}if((C[r>>0]|0)!=62){o=l,i=r,l=o;continue e}if(i=i+6|0,!l){c=26;break e}l=l+-1|0;continue e}default:{o=l,i=i+2|0,l=o;continue e}}}return(c|0)==12?(e[n>>2]=i,i=0):(c|0)==26&&(e[n>>2]=i,i=42),i|0}function Z70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;do if(t>>>0>>0)if(A=i,(A-t|0)>1){c=r+72|0,s=t;e:for(;;){if((A-s|0)<=1){l=30;break}switch(o=C[s+1>>0]|0,l=C[s>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,o|0){case 3:{l=11;break e}case 2:{l=14;break e}case 10:{l=15;break e}case 9:{l=18;break e}case 21:{l=25;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=2}s=s+o|0}if((l|0)==11)if((s|0)==(t|0)){o=Ek(r,t+2|0,i,n)|0;break}else{e[n>>2]=s,o=6;break}else if((l|0)==14){e[n>>2]=s,o=0;break}else if((l|0)==15)if((s|0)==(t|0)){e[n>>2]=t+2,o=7;break}else{e[n>>2]=s,o=6;break}else if((l|0)==18){if((s|0)!=(t|0)){e[n>>2]=s,o=6;break}if(s=t+2|0,(A-s|0)<=1){o=-3;break}o=C[t+3>>0]|0,l=C[s>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,e[n>>2]=(o|0)==10?t+4|0:s,o=7;break}else if((l|0)==25)if((s|0)==(t|0)){e[n>>2]=t+2,o=39;break}else{e[n>>2]=s,o=6;break}else if((l|0)==30){e[n>>2]=s,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function W70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;do if(t>>>0>>0)if(A=i,(A-t|0)>1){c=r+72|0,s=t;e:for(;;){if((A-s|0)<=1){l=29;break}switch(o=C[s+1>>0]|0,l=C[s>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,o|0){case 3:{l=11;break e}case 30:{l=14;break e}case 10:{l=17;break e}case 9:{l=20;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=2}s=s+o|0}if((l|0)==11)if((s|0)==(t|0)){o=Ek(r,t+2|0,i,n)|0;break}else{e[n>>2]=s,o=6;break}else if((l|0)==14)if((s|0)==(t|0)){o=ZP(r,t+2|0,i,n)|0,o=(o|0)==22?0:o;break}else{e[n>>2]=s,o=6;break}else if((l|0)==17)if((s|0)==(t|0)){e[n>>2]=t+2,o=7;break}else{e[n>>2]=s,o=6;break}else if((l|0)==20){if((s|0)!=(t|0)){e[n>>2]=s,o=6;break}if(s=t+2|0,(A-s|0)<=1){o=-3;break}o=C[t+3>>0]|0,l=C[s>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,e[n>>2]=(o|0)==10?t+4|0:s,o=7;break}else if((l|0)==29){e[n>>2]=s,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function D70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=i,r=t;;){if(t=C[n>>0]|0,!(t<<24>>24)){l=7;break}if((o-r|0)<2){r=0;break}if(C[r+1>>0]|0){r=0;break}if((C[r>>0]|0)!=t<<24>>24){r=0;break}n=n+1|0,r=r+2|0}return(l|0)==7&&(r=(r|0)==(i|0)&1),r|0}function M70(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+72|0,n=t;e:for(;;){switch(r=C[n+1>>0]|0,i=C[n>>0]|0,r<<24>>24?r=Re(r,i)|0:r=s0[o+(i&255)>>0]|0,r|0){case 5:{r=2;break}case 6:{r=3;break}case 7:{r=4;break}case 27:case 26:case 25:case 24:case 23:case 22:case 29:{r=2;break}default:break e}n=n+r|0}return n-t|0}function j70(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+72|0;e:for(;;){switch(r=C[t+1>>0]|0,i=C[t>>0]|0,r<<24>>24?r=Re(r,i)|0:r=s0[n+(i&255)>>0]|0,r|0){case 21:case 9:case 10:break;default:break e}t=t+2|0}return t|0}function N70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=r+72|0,f=0,w=0,r=1;e:for(;;){c=t+2|0,l=t+3|0,o=C[l>>0]|0,s=o<<24>>24==0,A=C[c>>0]|0,s?o=s0[p+(A&255)>>0]|0:o=Re(o,A)|0;do switch(o|0){case 5:{if(r|0){l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}if((w|0)>=(i|0)){s=w,A=f,r=1,t=c,w=s,f=A;continue e}e[n+(w<<4)>>2]=c,C[n+(w<<4)+12>>0]=1,s=w,A=f,r=1,t=c,w=s,f=A;continue e}case 6:{if(r|0){s=r,A=w,c=f,t=l,r=s,w=A,f=c;continue e}if((w|0)>=(i|0)){A=w,c=f,r=1,t=l,w=A,f=c;continue e}e[n+(w<<4)>>2]=c,C[n+(w<<4)+12>>0]=1,A=w,c=f,r=1,t=l,w=A,f=c;continue e}case 7:{r||((w|0)<(i|0)&&(e[n+(w<<4)>>2]=c,C[n+(w<<4)+12>>0]=1),r=1),A=w,c=f,t=t+4|0,w=A,f=c;continue e}case 24:case 22:case 29:{if(r|0){l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}if((w|0)>=(i|0)){s=w,A=f,r=1,t=c,w=s,f=A;continue e}e[n+(w<<4)>>2]=c,C[n+(w<<4)+12>>0]=1,s=w,A=f,r=1,t=c,w=s,f=A;continue e}case 12:{if((r|0)!=2){if((w|0)>=(i|0)){A=w,f=12,r=2,t=c,w=A;continue e}e[n+(w<<4)+4>>2]=t+4,A=w,f=12,r=2,t=c,w=A;continue e}if((f|0)!=12){s=w,A=f,r=2,t=c,w=s,f=A;continue e}(w|0)<(i|0)&&(e[n+(w<<4)+8>>2]=c),f=12,w=w+1|0,r=0,t=c;continue e}case 13:{if((r|0)!=2){if((w|0)>=(i|0)){A=w,f=13,r=2,t=c,w=A;continue e}e[n+(w<<4)+4>>2]=t+4,A=w,f=13,r=2,t=c,w=A;continue e}if((f|0)!=13){s=w,A=f,r=2,t=c,w=s,f=A;continue e}(w|0)<(i|0)&&(e[n+(w<<4)+8>>2]=c),f=13,w=w+1|0,r=0,t=c;continue e}case 3:{if((w|0)>=(i|0)){l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}C[n+(w<<4)+12>>0]=0,l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}case 21:{switch(r|0){case 1:{s=w,A=f,r=0,t=c,w=s,f=A;continue e}case 2:break;default:{l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}}if((w|0)>=(i|0)){s=w,A=f,r=2,t=c,w=s,f=A;continue e}if(l=n+(w<<4)+12|0,!(C[l>>0]|0)){s=w,A=f,r=2,t=c,w=s,f=A;continue e}do if(s&(c|0)!=(e[n+(w<<4)+4>>2]|0)&A<<24>>24==32){if(o=C[t+5>>0]|0,r=C[t+4>>0]|0,o<<24>>24)r=Re(o,r)|0;else{if(r<<24>>24==32)break;r=s0[p+(r&255)>>0]|0}if((r|0)!=(f|0)){s=w,A=f,r=2,t=c,w=s,f=A;continue e}}while(0);C[l>>0]=0,s=w,A=f,r=2,t=c,w=s,f=A;continue e}case 10:case 9:{switch(r|0){case 1:{s=w,A=f,r=0,t=c,w=s,f=A;continue e}case 2:break;default:{l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}}if((w|0)>=(i|0)){s=w,A=f,r=2,t=c,w=s,f=A;continue e}C[n+(w<<4)+12>>0]=0,s=w,A=f,r=2,t=c,w=s,f=A;continue e}case 17:case 11:if((r|0)==2){s=w,A=f,r=2,t=c,w=s,f=A;continue e}else break e;default:{l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}}while(0)}return w|0}function Q70(r,t){r=r|0,t=t|0;var i=0,n=0;r=t+4|0;e:do if(!(C[t+5>>0]|0)&&(C[r>>0]|0)==120)for(t=t+6|0,r=0;;){r:for(;;){if(!(C[t+1>>0]|0)){if(i=C[t>>0]|0,i<<24>>24==59){n=17;break e}switch(i=i<<24>>24,i|0){case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{n=8;break r}case 70:case 69:case 68:case 67:case 66:case 65:{n=9;break r}case 102:case 101:case 100:case 99:case 98:case 97:{n=10;break r}default:}}t=t+2|0}if((n|0)==8?(n=0,r=i+-48|r<<4):(n|0)==9?(n=0,r=(r<<4)+-55+i|0):(n|0)==10&&(n=0,r=(r<<4)+-87+i|0),(r|0)<1114112)t=t+2|0;else{r=-1;break}}else i=r,r=0,n=13;while(0);e:do if((n|0)==13)for(;;){if(n=0,C[i+1>>0]|0)t=-1;else{if(t=C[i>>0]|0,t<<24>>24==59){n=17;break e}t=t<<24>>24}if(r=(r*10|0)+-48+t|0,(r|0)>=1114112){r=-1;break}else i=i+2|0,n=13}while(0);return(n|0)==17&&(r=th(r)|0),r|0}function T70(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do switch((i-t|0)/2|0|0){case 2:{!(C[t+3>>0]|0)&&(C[t+2>>0]|0)==116?(C[t+1>>0]|0?r=-1:r=C[t>>0]|0,r=(r|0)==108?60:(r|0)==103?62:0):n=27;break}case 3:{!(C[t+1>>0]|0)&&(C[t>>0]|0)==97&&!(C[t+3>>0]|0)&&(C[t+2>>0]|0)==109&&!(C[t+5>>0]|0)&&(C[t+4>>0]|0)==112?r=38:n=27;break}case 4:{if(C[t+1>>0]|0)n=27;else switch(C[t>>0]|0){case 113:{if(C[t+3>>0]|0){n=27;break e}if((C[t+2>>0]|0)!=117){n=27;break e}if(C[t+5>>0]|0){n=27;break e}if((C[t+4>>0]|0)!=111){n=27;break e}if(C[t+7>>0]|0){n=27;break e}if((C[t+6>>0]|0)==116){r=34;break e}else{n=27;break e}}case 97:{if(C[t+3>>0]|0){n=27;break e}if((C[t+2>>0]|0)!=112){n=27;break e}if(C[t+5>>0]|0){n=27;break e}if((C[t+4>>0]|0)!=111){n=27;break e}if(C[t+7>>0]|0){n=27;break e}if((C[t+6>>0]|0)==115){r=39;break e}else{n=27;break e}}default:{n=27;break e}}break}default:n=27}while(0);return(n|0)==27&&(r=0),r|0}function F70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;for(s=r+72|0,A=n+4|0;!((i-t|0)<=1);){switch(r=C[t+1>>0]|0,o=C[t>>0]|0,r<<24>>24?r=Re(r,o)|0:r=s0[s+(o&255)>>0]|0,r|0){case 5:{t=t+2|0;break}case 6:{t=t+3|0;break}case 7:{t=t+4|0;break}case 10:{e[A>>2]=-1,e[n>>2]=(e[n>>2]|0)+1,t=t+2|0;break}case 9:{e[n>>2]=(e[n>>2]|0)+1,l=t+2|0,(i-l|0)>1?(r=C[t+3>>0]|0,o=C[l>>0]|0,r<<24>>24?r=Re(r,o)|0:r=s0[s+(o&255)>>0]|0,t=(r|0)==10?t+4|0:l):t=l,e[A>>2]=-1;break}default:t=t+2|0}e[A>>2]=(e[A>>2]|0)+1}}function P70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i+-2|0,l=r+72|0,i=t;e:for(;;){if(o=i+2|0,(s-o|0)<=1){i=1;break}switch(i=C[i+3>>0]|0,r=i<<24>>24==0,t=C[o>>0]|0,r?i=s0[l+(t&255)>>0]|0:i=Re(i,t)|0,i|0){case 23:case 19:case 30:case 33:case 16:case 18:case 10:case 9:case 15:case 14:case 17:case 35:case 34:case 32:case 31:case 13:case 27:case 24:case 25:{i=o;continue e}case 21:if(r&t<<24>>24==9){A=12;break e}else{i=o;continue e}case 22:case 26:{if(!r){A=12;break e}if(t<<24>>24>=0){i=o;continue e}break}default:if(!r){A=12;break e}}switch(t<<24>>24|0){case 64:case 36:{i=o;break}default:{A=12;break e}}}return(A|0)==12&&(e[n>>2]=o,i=0),i|0}function Y70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0;s=e[t>>2]|0,A=s+(i-s&-2)|0,c=A,f=o;e:for(;;){if(s>>>0>=A>>>0){r=0;break}switch(l=C[s>>0]|0,r=C[s+1>>0]|0,i=r&255,r<<24>>24){case 0:{if(l<<24>>24>-1){if(r=e[n>>2]|0,(r|0)==(o|0)){r=2;break e}e[n>>2]=r+1,C[r>>0]=l,r=s}else w=7;break}case 7:case 6:case 5:case 4:case 3:case 2:case 1:{w=7;break}case-37:case-38:case-39:case-40:{if(r=e[n>>2]|0,(f-r|0)<4){r=2;break e}if((c-s|0)<4){r=1;break e}p=l&255,l=(i<<2&12|p>>>6)+1|0,e[n>>2]=r+1,C[r>>0]=l>>>2|240,r=e[n>>2]|0,e[n>>2]=r+1,C[r>>0]=p>>>2&15|l<<4&48|128,r=s+2|0,l=s0[r>>0]|0,i=(p<<4&48|l>>>6|C[s+3>>0]<<2&12|128)&255,s=e[n>>2]|0,e[n>>2]=s+1,C[s>>0]=i,s=e[n>>2]|0,e[n>>2]=s+1,C[s>>0]=l&63|128;break}default:{if(r=e[n>>2]|0,(f-r|0)<3){r=2;break e}e[n>>2]=r+1,C[r>>0]=i>>>4|224,p=l&255,r=e[n>>2]|0,e[n>>2]=r+1,C[r>>0]=p>>>6|i<<2&60|128,r=e[n>>2]|0,e[n>>2]=r+1,C[r>>0]=p&63|128,r=s}}if((w|0)==7){if(w=0,r=e[n>>2]|0,(f-r|0)<2){r=2;break}p=l&255,e[n>>2]=r+1,C[r>>0]=p>>>6|i<<2|192,r=e[n>>2]|0,e[n>>2]=r+1,C[r>>0]=p&63|128,r=s}s=r+2|0}return e[t>>2]=s,r|0}function V70(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=e[t>>2]|0,A=i-l&-2,r=l+A|0,(A|0)>(o-(e[n>>2]|0)|0)?(s=r+-2|0,i=(C[s+1>>0]&-8)<<24>>24==-40,A=i&1,r=i?s:r):A=0,i=l;l=i>>>0>>0,s=e[n>>2]|0,!!(l&s>>>0>>0);)l=((s0[i+1>>0]|0)<<8|(s0[i>>0]|0))&65535,e[n>>2]=s+2,$[s>>1]=l,s=(e[t>>2]|0)+2|0,e[t>>2]=s,i=s;return((s|0)!=(o|0)|l^1?A:2)|0}function Re(r,t){r=r|0,t=t|0;var i=0;switch(r<<24>>24){case-37:case-38:case-39:case-40:{r=7;break}case-33:case-34:case-35:case-36:{r=8;break}case-1:{(t&255)>253?r=0:i=4;break}default:i=4}return(i|0)==4&&(r=29),r|0}function Ek(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;c=i,s=c-t|0;e:do if((s|0)>1){switch(A=C[t+1>>0]|0,A<<24>>24?(l=C[t>>0]|0,o=Re(A,l)|0):(l=C[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(s=l&255,!(1<<(s&31)&e[56940+((s>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,r=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,r=0;break e}case 6:{if((s|0)<3){r=-2;break e}e[n>>2]=t,r=0;break e}case 7:{if((s|0)<4){r=-2;break e}e[n>>2]=t,r=0;break e}case 19:{r=O70(r,t+2|0,i,n)|0;break e}default:{e[n>>2]=t,r=0;break e}}A=r+72|0,s=t;r:for(;;){if(l=s+2|0,t=c-l|0,(t|0)<=1){r=-1;break e}switch(r=C[s+3>>0]|0,o=C[l>>0]|0,r<<24>>24?i=Re(r,o)|0:i=s0[A+(o&255)>>0]|0,i|0){case 27:case 26:case 25:case 24:case 22:{s=l;continue r}case 5:{o=23;break r}case 6:{o=24;break r}case 7:{o=26;break r}case 18:{o=28;break r}case 29:break;default:{o=29;break r}}if(t=o&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(r&255)>>0]|0)<<3)<<2)>>2])s=l;else{o=22;break}}if((o|0)==22){e[n>>2]=l,r=0;break}else if((o|0)==23){e[n>>2]=l,r=0;break}else if((o|0)==24){if((t|0)<3){r=-2;break}e[n>>2]=l,r=0;break}else if((o|0)==26){if((t|0)<4){r=-2;break}e[n>>2]=l,r=0;break}else if((o|0)==28){e[n>>2]=s+4,r=9;break}else if((o|0)==29){e[n>>2]=l,r=0;break}}else r=-1;while(0);return r|0}function ZP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;s=i-t|0;e:do if((s|0)>1){switch(A=C[t+1>>0]|0,A<<24>>24?(l=C[t>>0]|0,o=Re(A,l)|0):(l=C[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(c=l&255,!(1<<(c&31)&e[56940+((c>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}case 30:case 9:case 10:case 21:{e[n>>2]=t,i=22;break e}default:{e[n>>2]=t,i=0;break e}}c=r+72|0,r=t;r:for(;;){if(A=r+2|0,t=i-A|0,(t|0)<=1){i=-1;break e}switch(o=C[r+3>>0]|0,l=C[A>>0]|0,o<<24>>24?s=Re(o,l)|0:s=s0[c+(l&255)>>0]|0,s|0){case 27:case 26:case 25:case 24:case 22:{r=A;continue r}case 5:{o=23;break r}case 6:{o=24;break r}case 7:{o=26;break r}case 18:{o=28;break r}case 29:break;default:{o=29;break r}}if(t=l&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])r=A;else{o=22;break}}if((o|0)==22){e[n>>2]=A,i=0;break}else if((o|0)==23){e[n>>2]=A,i=0;break}else if((o|0)==24){if((t|0)<3){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==26){if((t|0)<4){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==28){e[n>>2]=r+4,i=28;break}else if((o|0)==29){e[n>>2]=A,i=0;break}}else i=-1;while(0);return i|0}function O70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=i;e:do if((A-t|0)>1){l=C[t+1>>0]|0,o=C[t>>0]|0;do if(l<<24>>24)o=Re(l,o)|0;else if(o<<24>>24==120){o=H70(r,t+2|0,i,n)|0;break e}else{o=s0[r+72+(o&255)>>0]|0;break}while(0);if((o|0)!=25){e[n>>2]=t,o=0;break}s=r+72|0,r=t;r:for(;;){if(l=r+2|0,(A-l|0)<=1){o=-1;break e}switch(o=C[r+3>>0]|0,i=C[l>>0]|0,o<<24>>24?o=Re(o,i)|0:o=s0[s+(i&255)>>0]|0,o|0){case 25:{r=l;break}case 18:{i=15;break r}default:{i=16;break r}}}if((i|0)==15){e[n>>2]=r+4,o=10;break}else if((i|0)==16){e[n>>2]=l,o=0;break}}else o=-1;while(0);return o|0}function H70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e:do if((i-t|0)>1){if(o=C[t+1>>0]|0,o<<24>>24?o=Re(o,C[t>>0]|0)|0:o=s0[r+72+(s0[t>>0]|0)>>0]|0,(o&-2|0)!=24){e[n>>2]=t,i=0;break}s=r+72|0;r:for(;;){if(l=t+2|0,(i-l|0)<=1){i=-1;break e}switch(o=C[t+3>>0]|0,r=C[l>>0]|0,o<<24>>24?o=Re(o,r)|0:o=s0[s+(r&255)>>0]|0,o|0){case 24:case 25:{t=l;break}case 18:{o=13;break r}default:{o=14;break r}}}if((o|0)==13){e[n>>2]=t+4,i=10;break}else if((o|0)==14){e[n>>2]=l,i=0;break}}else i=-1;while(0);return i|0}function J70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=i,s=p-t|0;e:do if((s|0)>1){switch(A=C[t+1>>0]|0,A<<24>>24?(l=C[t>>0]|0,o=Re(A,l)|0):(l=C[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(f=l&255,!(1<<(f&31)&e[56940+((f>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])){e[n>>2]=t,o=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,o=0;break e}case 6:{if((s|0)<3){o=-2;break e}e[n>>2]=t,o=0;break e}case 7:{if((s|0)<4){o=-2;break e}e[n>>2]=t,o=0;break e}case 16:{if(l=t+2|0,(p-l|0)<=1){o=-1;break e}switch(o=C[t+3>>0]|0,o<<24>>24?o=Re(o,C[l>>0]|0)|0:o=s0[r+72+(s0[l>>0]|0)>>0]|0,o|0){case 27:{o=WP(r,t+4|0,i,n)|0;break e}case 20:{o=U70(t+4|0,i,n)|0;break e}default:{e[n>>2]=l,o=0;break e}}}case 15:{o=DP(r,t+2|0,i,n)|0;break e}case 17:{o=X70(r,t+2|0,i,n)|0;break e}default:{e[n>>2]=t,o=0;break e}}f=r+72|0,c=0,o=t+2|0;r:for(;;){t:for(;;){if(l=p-o|0,(l|0)<=1){o=-1;break e}switch(s=C[o+1>>0]|0,A=C[o>>0]|0,s<<24>>24?t=Re(s,A)|0:t=s0[f+(A&255)>>0]|0,t|0){case 5:{w=34;break r}case 6:{w=35;break r}case 7:{w=37;break r}case 10:case 9:case 21:{w=55;break r}case 11:{w=69;break r}case 17:break r;case 23:break t;case 29:{if(t=A&255,!(1<<(t&31)&e[56940+((t>>>5|s0[144044+(s&255)>>0]<<3)<<2)>>2])){w=32;break r}break}case 27:case 26:case 25:case 24:case 22:break;default:{w=75;break r}}o=o+2|0}if(c|0){w=40;break}if(A=o+2|0,t=p-A|0,(t|0)<=1){o=-1;break e}switch(c=C[o+3>>0]|0,l=C[A>>0]|0,c<<24>>24?s=Re(c,l)|0:s=s0[f+(l&255)>>0]|0,s|0){case 5:{w=49;break r}case 6:{w=50;break r}case 7:{w=52;break r}case 29:{if(t=l&255,!(1<<(t&31)&e[56940+((t>>>5|s0[143788+(c&255)>>0]<<3)<<2)>>2])){w=47;break r}break}case 24:case 22:break;default:{w=54;break r}}c=1,o=o+4|0}r:switch(w|0){case 32:{e[n>>2]=o,o=0;break e}case 34:{e[n>>2]=o,o=0;break e}case 35:{if((l|0)<3){o=-2;break e}e[n>>2]=o,o=0;break e}case 37:{if((l|0)<4){o=-2;break e}e[n>>2]=o,o=0;break e}case 40:{e[n>>2]=o,o=0;break e}case 47:{e[n>>2]=A,o=0;break e}case 49:{e[n>>2]=A,o=0;break e}case 50:{if((t|0)<3){o=-2;break e}e[n>>2]=A,o=0;break e}case 52:{if((t|0)<4){o=-2;break e}e[n>>2]=A,o=0;break e}case 54:{e[n>>2]=A,o=0;break e}case 55:{t:for(;;){if(w=0,l=o+2|0,s=p-l|0,(s|0)<=1){o=-1;break e}switch(A=C[o+3>>0]|0,t=C[l>>0]|0,A<<24>>24?c=Re(A,t)|0:c=s0[f+(t&255)>>0]|0,c|0){case 11:{o=l,w=69;break r}case 17:{o=l;break r}case 10:case 9:case 21:{o=l,w=55;break}case 29:{w=60;break t}case 24:case 22:break t;case 5:{w=63;break t}case 6:{w=64;break t}case 7:{w=66;break t}default:{w=68;break t}}}if((w|0)==60){if(p=t&255,!(1<<(p&31)&e[56940+((p>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])){e[n>>2]=l,o=0;break e}}else if((w|0)==63){e[n>>2]=l,o=0;break e}else if((w|0)==64){if((s|0)<3){o=-2;break e}e[n>>2]=l,o=0;break e}else if((w|0)==66){if((s|0)<4){o=-2;break e}e[n>>2]=l,o=0;break e}else if((w|0)==68){e[n>>2]=l,o=0;break e}o=q70(r,o+4|0,i,n)|0;break e}case 75:{e[n>>2]=o,o=0;break e}}if((w|0)==69){e[n>>2]=o+2,o=2;break}if(l=o+2|0,(p-l|0)>1){if(!(C[o+3>>0]|0)&&(C[l>>0]|0)==62){e[n>>2]=o+4,o=4;break}e[n>>2]=l,o=0}else o=-1}else o=-1;while(0);return o|0}function WP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i;e:do if((s-t|0)>1){if(!(C[t+1>>0]|0)&&(C[t>>0]|0)==45){l=r+72|0,o=t+2|0;r:for(;;){if(t=s-o|0,(t|0)<=1){i=-1;break e}switch(i=C[o+1>>0]|0,r=C[o>>0]|0,i<<24>>24?i=Re(i,r)|0:i=s0[l+(r&255)>>0]|0,i|0){case 8:case 1:case 0:{A=16;break r}case 5:{o=o+2|0;continue r}case 6:{if((t|0)<3){i=-2;break e}o=o+3|0;continue r}case 7:{if((t|0)<4){i=-2;break e}o=o+4|0;continue r}case 27:{if(i=o+2|0,(s-i|0)<=1){i=-1;break e}if(C[o+3>>0]|0){o=i;continue r}if((C[i>>0]|0)==45)break r;o=i;continue r}default:{o=o+2|0;continue r}}}if((A|0)==16){e[n>>2]=o,i=0;break}if(i=o+4|0,(s-i|0)<=1){i=-1;break}if(!(C[o+5>>0]|0)&&(C[i>>0]|0)==62){e[n>>2]=o+6,i=13;break}e[n>>2]=i,i=0;break}e[n>>2]=t,i=0}else i=-1;while(0);return i|0}function U70(r,t,i){if(r=r|0,t=t|0,i=i|0,(t-r|0)>11){for(t=0;;){if((t|0)>=6){t=8;break}if(C[r+1>>0]|0){t=0;break}if((C[r>>0]|0)!=(C[144300+t>>0]|0)){t=0;break}t=t+1|0,r=r+2|0}e[i>>2]=r}else t=-1;return t|0}function DP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+16|0,p=v,w=i,s=w-t|0;e:do if((s|0)>1){switch(i=C[t+1>>0]|0,i<<24>>24?(l=C[t>>0]|0,o=Re(i,l)|0):(l=C[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(c=l&255,!(1<<(c&31)&e[56940+((c>>>5|s0[143788+(i&255)>>0]<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}c=r+72|0,A=t;r:for(;;){if(i=A+2|0,o=w-i|0,(o|0)<=1){i=-1;break e}switch(l=C[A+3>>0]|0,s=C[i>>0]|0,l<<24>>24?r=Re(l,s)|0:r=s0[c+(s&255)>>0]|0,r|0){case 27:case 26:case 25:case 24:case 22:{A=i;continue r}case 5:{f=22;break r}case 6:{f=23;break r}case 7:{f=25;break r}case 10:case 9:case 21:{f=27;break r}case 15:{f=46;break r}case 29:break;default:break r}if(A=s&255,1<<(A&31)&e[56940+((A>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])A=i;else{f=21;break}}if((f|0)==21){e[n>>2]=i,i=0;break}else if((f|0)==22){e[n>>2]=i,i=0;break}else if((f|0)==23){if((o|0)<3){i=-2;break}e[n>>2]=i,i=0;break}else if((f|0)==25){if((o|0)<4){i=-2;break}e[n>>2]=i,i=0;break}else if((f|0)==27){if(!(MP(t,i,p)|0)){e[n>>2]=i,i=0;break}s=A+4|0;r:for(;;){if(l=w-s|0,(l|0)<=1){i=-1;break e}switch(i=C[s+1>>0]|0,o=C[s>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[c+(o&255)>>0]|0,i|0){case 8:case 1:case 0:{f=40;break r}case 5:{s=s+2|0;continue r}case 6:{if((l|0)<3){i=-2;break e}s=s+3|0;continue r}case 7:{if((l|0)<4){i=-2;break e}s=s+4|0;continue r}case 15:{if(i=s+2|0,(w-i|0)<=1){i=-1;break e}if(C[s+3>>0]|0){s=i;continue r}if((C[i>>0]|0)==62){f=44;break r}else{s=i;continue r}}default:{s=s+2|0;continue r}}}if((f|0)==40){e[n>>2]=s,i=0;break}else if((f|0)==44){e[n>>2]=s+4,i=e[p>>2]|0;break}}else if((f|0)==46){if(!(MP(t,i,p)|0)){e[n>>2]=i,i=0;break}if(i=A+4|0,(w-i|0)<=1){i=-1;break}if(!(C[A+5>>0]|0)&&(C[i>>0]|0)==62){e[n>>2]=A+6,i=e[p>>2]|0;break}}e[n>>2]=i,i=0}else i=-1;while(0);return g=v,i|0}function X70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;s=i-t|0;e:do if((s|0)>1){switch(A=C[t+1>>0]|0,A<<24>>24?(l=C[t>>0]|0,o=Re(A,l)|0):(l=C[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(c=l&255,!(1<<(c&31)&e[56940+((c>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}c=r+72|0,r=t;r:for(;;){if(s=r+2|0,t=i-s|0,(t|0)<=1){i=-1;break e}switch(o=C[r+3>>0]|0,l=C[s>>0]|0,o<<24>>24?A=Re(o,l)|0:A=s0[c+(l&255)>>0]|0,A|0){case 23:case 27:case 26:case 25:case 24:case 22:{r=s;continue r}case 5:{o=22;break r}case 6:{o=23;break r}case 7:{o=25;break r}case 10:case 9:case 21:{o=27;break r}case 11:{o=34;break r}case 29:break;default:{o=35;break r}}if(t=l&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])r=s;else{o=21;break}}if((o|0)==21){e[n>>2]=s,i=0;break}else if((o|0)==22){e[n>>2]=s,i=0;break}else if((o|0)==23){if((t|0)<3){i=-2;break}e[n>>2]=s,i=0;break}else if((o|0)==25){if((t|0)<4){i=-2;break}e[n>>2]=s,i=0;break}else if((o|0)==27){r:for(;;){if(A=s+2|0,(i-A|0)<=1){i=-1;break e}switch(o=C[s+3>>0]|0,l=C[A>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,o|0){case 10:case 9:case 21:{s=A,o=27;break}case 11:{o=32;break r}default:{o=33;break r}}}if((o|0)==32){e[n>>2]=s+4,i=5;break}else if((o|0)==33){e[n>>2]=A,i=0;break}}else if((o|0)==34){e[n>>2]=r+4,i=5;break}else if((o|0)==35){e[n>>2]=s,i=0;break}}else i=-1;while(0);return i|0}function q70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+16|0,v=E,e[v>>2]=t,m=i,w=r+72|0,o=0;e:for(;;){r:for(;;){if(c=m-t|0,(c|0)<=1){t=-1;break e}switch(l=C[t+1>>0]|0,s=C[t>>0]|0,l<<24>>24?A=Re(l,s)|0:A=s0[w+(s&255)>>0]|0,A|0){case 5:{p=11;break e}case 6:{p=12;break e}case 7:{p=14;break e}case 23:{p=16;break r}case 10:case 9:case 21:{p=31;break r}case 14:{p=37;break r}case 29:{if(f=s&255,!(1<<(f&31)&e[56940+((f>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])){p=9;break e}break}case 27:case 26:case 25:case 24:case 22:break;default:{p=89;break e}}f=t+2|0,e[v>>2]=f,t=f}r:do if((p|0)==16){if(p=0,o|0){p=17;break e}if(o=t+2|0,e[v>>2]=o,l=o,s=m-l|0,(s|0)<=1){t=-1;break e}switch(A=C[t+3>>0]|0,c=C[o>>0]|0,A<<24>>24?f=Re(A,c)|0:f=s0[w+(c&255)>>0]|0,f|0){case 5:{p=25;break e}case 6:{p=26;break e}case 7:{p=28;break e}case 24:case 22:{o=1;break r}case 29:break;default:{p=30;break e}}if(f=c&255,1<<(f&31)&e[56940+((f>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])o=1;else{p=24;break e}}else if((p|0)==31)for(;;){if(p=0,l=t+2|0,e[v>>2]=l,s=l,(m-s|0)<=1){t=-1;break e}switch(t=C[t+3>>0]|0,o=C[l>>0]|0,t<<24>>24?t=Re(t,o)|0:t=s0[w+(o&255)>>0]|0,t|0){case 14:{t=l,p=37;break r}case 9:case 10:case 21:{t=l,p=31;break}default:{p=36;break e}}}while(0);r:do if((p|0)==37){for(;;){if(p=0,s=t+2|0,e[v>>2]=s,A=s,(m-A|0)<=1){t=-1;break e}if(o=C[t+3>>0]|0,l=C[s>>0]|0,o<<24>>24?c=Re(o,l)|0:c=s0[w+(l&255)>>0]|0,(c|1|0)==13)break;switch(c|0){case 9:case 10:case 21:{t=s,p=37;break}default:{p=43;break e}}}t=t+4|0,e[v>>2]=t;t:for(;;){if(s=m-t|0,(s|0)<=1){t=-1;break e}if(o=C[t+1>>0]|0,l=C[t>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[w+(l&255)>>0]|0,(o|0)==(c|0))break;switch(o|0){case 8:case 1:case 0:{p=56;break e}case 2:{p=61;break e}case 5:{f=t+2|0,e[v>>2]=f,t=f;continue t}case 6:{if((s|0)<3){t=-2;break e}f=t+3|0,e[v>>2]=f,t=f;continue t}case 7:{if((s|0)<4){t=-2;break e}f=t+4|0,e[v>>2]=f,t=f;continue t}case 3:{if(t=Ek(r,t+2|0,i,v)|0,(t|0)<1){p=59;break e}t=e[v>>2]|0;continue t}default:{f=t+2|0,e[v>>2]=f,t=f;continue t}}}if(l=t+2|0,e[v>>2]=l,A=l,(m-A|0)<=1){t=-1;break e}switch(o=C[t+3>>0]|0,s=C[l>>0]|0,o<<24>>24?o=Re(o,s)|0:o=s0[w+(s&255)>>0]|0,o|0){case 11:{p=81;break e}case 17:{p=82;break e}case 10:case 9:case 21:{t=l;break}default:{p=68;break e}}t:for(;;){if(l=t+2|0,e[v>>2]=l,o=l,s=m-o|0,(s|0)<=1){t=-1;break e}switch(A=C[t+3>>0]|0,c=C[l>>0]|0,A<<24>>24?f=Re(A,c)|0:f=s0[w+(c&255)>>0]|0,f|0){case 5:{p=76;break e}case 6:{p=77;break e}case 7:{p=79;break e}case 11:{p=81;break e}case 17:{p=82;break e}case 24:case 22:{o=0;break r}case 10:case 9:case 21:{t=l;break}case 29:break t;default:{p=87;break e}}}if(f=c&255,1<<(f&31)&e[56940+((f>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])o=0;else{p=75;break e}}while(0);t=t+4|0,e[v>>2]=t}switch(p|0){case 9:{e[n>>2]=t,t=0;break}case 11:{e[n>>2]=t,t=0;break}case 12:{(c|0)<3?t=-2:(e[n>>2]=t,t=0);break}case 14:{(c|0)<4?t=-2:(e[n>>2]=t,t=0);break}case 17:{e[n>>2]=t,t=0;break}case 24:{e[n>>2]=o,t=0;break}case 25:{e[n>>2]=o,t=0;break}case 26:{(s|0)<3?t=-2:(e[n>>2]=o,t=0);break}case 28:{(s|0)<4?t=-2:(e[n>>2]=o,t=0);break}case 30:{e[n>>2]=l,t=0;break}case 36:{e[n>>2]=s,t=0;break}case 43:{e[n>>2]=A,t=0;break}case 56:{e[n>>2]=t,t=0;break}case 59:{t||(e[n>>2]=e[v>>2],t=0);break}case 61:{e[n>>2]=t,t=0;break}case 68:{e[n>>2]=A,t=0;break}case 75:{e[n>>2]=l,t=0;break}case 76:{e[n>>2]=l,t=0;break}case 77:{(s|0)<3?t=-2:(e[n>>2]=l,t=0);break}case 79:{(s|0)<4?t=-2:(e[n>>2]=l,t=0);break}case 81:{e[n>>2]=t+4,t=1;break}case 82:{if(o=l+2|0,e[v>>2]=o,t=o,(m-t|0)>1){if(!(C[l+3>>0]|0)&&(C[o>>0]|0)==62){e[n>>2]=l+4,t=3;break}e[n>>2]=t,t=0}else t=-1;break}case 87:{e[n>>2]=o,t=0;break}case 89:{e[n>>2]=t,t=0;break}}return g=E,t|0}function MP(r,t,i){r=r|0,t=t|0,i=i|0,e[i>>2]=11;e:do if((t-r|0)==6&&!(C[r+1>>0]|0)){switch(C[r>>0]|0){case 120:{t=0;break}case 88:{t=1;break}default:{t=1;break e}}if(C[r+3>>0]|0)t=1;else{switch(C[r+2>>0]|0){case 109:break;case 77:{t=1;break}default:{t=1;break e}}if(C[r+5>>0]|0)t=1;else{switch(C[r+4>>0]|0){case 108:break;case 76:{t=0;break e}default:{t=1;break e}}t?t=0:(e[i>>2]=12,t=1)}}}else t=1;while(0);return t|0}function jP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;A=t+72|0;e:for(;;){r:for(;;){if(s=n-i|0,(s|0)<=1){i=-1;break e}switch(t=C[i+1>>0]|0,l=C[i>>0]|0,t<<24>>24?t=Re(t,l)|0:t=s0[A+(l&255)>>0]|0,t|0){case 8:case 1:case 0:{c=10;break e}case 6:{c=9;break r}case 7:{c=19;break r}case 5:{i=i+2|0;continue r}case 13:case 12:if(l=i+2|0,(t|0)==(r|0)){c=12;break e}else{i=l;continue r}default:{i=i+2|0;continue r}}}if((c|0)==9)if(c=0,(s|0)<3){i=-2;break}else{i=i+3|0;continue}else if((c|0)==19)if(c=0,(s|0)<4){i=-2;break}else{i=i+4|0;continue}}e:do if((c|0)==10)e[o>>2]=i,i=0;else if((c|0)==12)if((n-l|0)>1){switch(e[o>>2]=l,n=C[i+3>>0]|0,i=C[l>>0]|0,n<<24>>24?i=Re(n,i)|0:i=s0[A+(i&255)>>0]|0,i|0){case 20:case 30:case 11:case 10:case 9:case 21:{i=27;break e}default:}i=0}else i=-27;while(0);return i|0}function $70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;A=i;e:do if((A-t|0)>1)switch(o=C[t+1>>0]|0,o<<24>>24?o=Re(o,C[t>>0]|0)|0:o=s0[r+72+(s0[t>>0]|0)>>0]|0,o|0){case 27:{o=WP(r,t+2|0,i,n)|0;break e}case 20:{e[n>>2]=t+2,o=33;break e}case 24:case 22:{s=r+72|0;r:for(;;){if(l=t+2|0,i=A-l|0,(i|0)<=1){o=-1;break e}switch(o=C[t+3>>0]|0,r=C[l>>0]|0,o<<24>>24?o=Re(o,r)|0:o=s0[s+(r&255)>>0]|0,o|0){case 24:case 22:{t=l;break}case 30:{c=15;break r}case 10:case 9:case 21:break r;default:{c=22;break r}}}if((c|0)==22){e[n>>2]=l,o=0;break e}r:do if((c|0)==15){if((i|0)<=3){o=-1;break e}switch(r=C[t+5>>0]|0,o=C[t+4>>0]|0,r<<24>>24?o=Re(r,o)|0:o=s0[s+(o&255)>>0]|0,o|0){case 30:case 10:case 9:case 21:break;default:break r}e[n>>2]=l,o=0;break e}while(0);e[n>>2]=l,o=16;break e}default:{e[n>>2]=t,o=0;break e}}else o=-1;while(0);return o|0}function K70(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i-t|0;e:do if((s|0)>1){switch(A=C[t+1>>0]|0,A<<24>>24?(l=C[t>>0]|0,o=Re(A,l)|0):(l=C[t>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(s=l&255,!(1<<(s&31)&e[56940+((s>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}r=r+72|0,A=t;r:for(;;){if(o=A,A=A+2|0,t=i-A|0,(t|0)<=1){i=-20;break e}switch(o=C[o+3>>0]|0,l=C[A>>0]|0,o<<24>>24?s=Re(o,l)|0:s=s0[r+(l&255)>>0]|0,s|0){case 27:case 26:case 25:case 24:case 22:continue r;case 5:{o=22;break r}case 6:{o=23;break r}case 7:{o=25;break r}case 36:case 30:case 11:case 32:case 21:case 10:case 9:{o=27;break r}case 29:break;default:{o=28;break r}}if(t=l&255,!(1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])){o=21;break}}if((o|0)==21){e[n>>2]=A,i=0;break}else if((o|0)==22){e[n>>2]=A,i=0;break}else if((o|0)==23){if((t|0)<3){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==25){if((t|0)<4){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==27){e[n>>2]=A,i=20;break}else if((o|0)==28){e[n>>2]=A,i=0;break}}else i=-1;while(0);return i|0}function NP(r,t,i){return r=r|0,t=t|0,i=i|0,i=Bk(i)|0,(i|0)==-1?i=0:(C[r+69>>0]=i,e[r>>2]=67,e[r+4>>2]=68,e[r+48>>2]=31,e[r+72>>2]=t,e[t>>2]=r,i=1),i|0}function Bk(r){r=r|0;var t=0;e:do if(!r)t=6;else for(t=0;;){if((t|0)>=6){t=-1;break e}if(gE(r,e[60068+(t<<2)>>2]|0)|0)break e;t=t+1|0}while(0);return t|0}function b70(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,Ik(58948,r,0,t,i,n)|0}function eC0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,Ik(58948,r,1,t,i,n)|0}function rC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,SP(58584,t,i,n)}function Ik(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0;e:do if(n>>>0>>0){f=e[t+72>>2]|0,s=n+1|0;r:do if((s|0)==(o|0)){if(s=C[t+69>>0]|0,((s<<24>>24)+-3|0)>>>0<3){s=-1;break e}switch(C[n>>0]|0){case 60:case 0:{s=-1;break e}case-17:case-1:case-2:break;default:break r}if(!((i|0)==1&s<<24>>24==0)){s=-1;break e}}else{c=C[n>>0]|0,s=C[s>>0]|0,A=((c&255)<<8|s&255)&65535;t:do if(A<<16>>16<-2){if(A<<16>>16>=-257){switch(A<<16>>16){case-257:break;default:break t}if((i|0)==1&(C[t+69>>0]|0)==0)break r;e[l>>2]=n+2,e[f>>2]=e[r+16>>2],s=14;break e}switch(A<<16>>16){case-4165:break;default:break t}if((i|0)==1)switch(C[t+69>>0]|0){case 0:case 3:case 4:case 5:break r;default:}if(s=n+2|0,(s|0)==(o|0)){s=-1;break e}if((C[s>>0]|0)!=-65)break r;e[l>>2]=n+3,e[f>>2]=e[r+8>>2],s=14;break e}else{if(A<<16>>16<15360){switch(A<<16>>16){case-2:break;default:break t}if((i|0)==1&(C[t+69>>0]|0)==0)break r;e[l>>2]=n+2,e[f>>2]=e[r+20>>2],s=14;break e}switch(A<<16>>16){case 15360:break;default:break t}if(s=C[t+69>>0]|0,s<<24>>24==4){if((i|0)==1)break r}else if((i|0)==1&s<<24>>24==3)break r;s=e[r+20>>2]|0,e[f>>2]=s,s=e2[e[s+(i<<2)>>2]&127](s,n,o,l)|0;break e}while(0);if(c<<24>>24){if((i|0)==1|s<<24>>24!=0)break;s=e[r+20>>2]|0,e[f>>2]=s,s=e2[e[s+(i<<2)>>2]&127](s,n,o,l)|0;break e}if((i|0)==1&&(C[t+69>>0]|0)==5)break;s=e[r+16>>2]|0,e[f>>2]=s,s=e2[e[s+(i<<2)>>2]&127](s,n,o,l)|0;break e}while(0);s=e[r+(C[t+69>>0]<<2)>>2]|0,e[f>>2]=s,s=e2[e[s+(i<<2)>>2]&127](s,n,o,l)|0}else s=-4;while(0);return s|0}function tC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;e:do if(t>>>0>>0)if(l=t,f=i-l|0,A=(f&1|0)==0,f=f&-2,c=(f|0)==0,f=A|c?i:t+f|0,A|c^1){i=C[t>>0]|0,i<<24>>24?(o=C[t+1>>0]|0,s=o,o=Re(i,o)|0):(o=C[t+1>>0]|0,s=o,o=s0[r+72+(o&255)>>0]|0);do switch(o|0){case 12:{i=YP(12,r,t+2|0,f,n)|0;break e}case 13:{i=YP(13,r,t+2|0,f,n)|0;break e}case 2:{if(o=t+2|0,(f-o|0)<=1){i=-1;break e}switch(i=C[o>>0]|0,i<<24>>24?i=Re(i,C[t+3>>0]|0)|0:i=s0[r+72+(s0[t+3>>0]|0)>>0]|0,i|0){case 16:{i=BC0(r,t+4|0,f,n)|0;break e}case 15:{i=FP(r,t+4|0,f,n)|0;break e}case 7:case 6:case 5:case 29:case 24:case 22:{e[n>>2]=t,i=29;break e}default:{e[n>>2]=o,i=0;break e}}}case 9:{if((t+2|0)==(f|0)){e[n>>2]=f,i=-15;break e}else l=7;break}case 10:case 21:{l=7;break}case 30:{i=QP(r,t+2|0,f,n)|0;break e}case 35:{e[n>>2]=t+2,i=38;break e}case 20:{e[n>>2]=t+2,i=25;break e}case 4:{if(o=t+2|0,i=f-o|0,(i|0)<=1){i=-26;break e}if(!(C[o>>0]|0)&&(C[t+3>>0]|0)==93){if((i|0)<=3){i=-1;break e}if(!(C[t+4>>0]|0)&&(C[t+5>>0]|0)==62){e[n>>2]=t+6,i=34;break e}}e[n>>2]=o,i=26;break e}case 31:{e[n>>2]=t+2,i=23;break e}case 32:{if(o=t+2|0,(f-o|0)<=1){i=-24;break e}switch(i=C[o>>0]|0,i<<24>>24?i=Re(i,C[t+3>>0]|0)|0:i=s0[r+72+(s0[t+3>>0]|0)>>0]|0,i|0){case 33:{e[n>>2]=t+4,i=36;break e}case 15:{e[n>>2]=t+4,i=35;break e}case 34:{e[n>>2]=t+4,i=37;break e}case 32:case 36:case 35:case 11:case 21:case 10:case 9:{e[n>>2]=o,i=24;break e}default:{e[n>>2]=o,i=0;break e}}}case 36:{e[n>>2]=t+2,i=21;break e}case 11:{e[n>>2]=t+2,i=17;break e}case 19:{i=IC0(r,t+2|0,f,n)|0;break e}case 5:{if((f-l|0)<2){i=-2;break e}e[n>>2]=t,i=0;break e}case 6:{if((f-l|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((f-l|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}case 24:case 22:{i=18,l=61;break}case 23:case 27:case 26:case 25:{i=19,l=61;break}case 29:{l=i&255,o=s&255,i=o>>>5,o=1<<(o&31),o&e[56940+((i|s0[143788+l>>0]<<3)<<2)>>2]?(i=18,l=61):e[56940+((s0[144044+l>>0]<<3|i)<<2)>>2]&o?(i=19,l=61):l=64;break}default:l=64}while(0);if((l|0)==7){A=f,r=r+72|0,s=t;r:for(;;){if(l=s,s=s+2|0,(A-s|0)<=1){l=28;break}switch(i=C[s>>0]|0,o=C[l+3>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[r+(o&255)>>0]|0,i|0){case 10:case 21:continue r;case 9:break;default:{l=27;break r}}if((l+4|0)==(f|0)){l=27;break}}if((l|0)==27){e[n>>2]=s,i=15;break}else if((l|0)==28){e[n>>2]=s,i=15;break}}else if((l|0)==61){c=r+72|0,o=t+2|0;r:for(;;){t=i&255;t:for(;;){if(A=f-o|0,(A|0)<=1){l=104;break r}switch(l=C[o>>0]|0,s=C[o+1>>0]|0,l<<24>>24?r=Re(l,s)|0:r=s0[c+(s&255)>>0]|0,r|0){case 5:{l=73;break r}case 6:{l=74;break r}case 7:{l=76;break r}case 10:case 9:case 21:case 30:case 20:case 36:case 35:case 32:case 11:{l=78;break r}case 34:{l=94;break r}case 33:{l=97;break r}case 15:{l=100;break r}case 29:{if(A=s&255,!(1<<(A&31)&e[56940+((A>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])){l=71;break r}break}case 27:case 26:case 25:case 24:case 22:break;case 23:switch(A=o+2|0,t&63){case 41:{i=19,o=A;continue r}case 18:break t;default:{o=A;continue t}}default:{l=103;break r}}o=o+2|0}if(r=f-A|0,(r|0)<=1){i=-1;break e}switch(i=C[A>>0]|0,l=C[o+3>>0]|0,i<<24>>24?s=Re(i,l)|0:s=s0[c+(l&255)>>0]|0,s|0){case 5:{l=89;break r}case 6:{l=90;break r}case 7:{l=92;break r}case 29:{if(t=l&255,!(1<<(t&31)&e[56940+((t>>>5|s0[144044+(i&255)>>0]<<3)<<2)>>2])){l=87;break r}break}case 27:case 26:case 25:case 24:case 22:break;default:{i=19,o=A;continue r}}i=41,o=o+4|0}switch(l|0){case 71:{e[n>>2]=o,i=0;break e}case 73:{e[n>>2]=o,i=0;break e}case 74:{if((A|0)<3){i=-2;break e}e[n>>2]=o,i=0;break e}case 76:{if((A|0)<4){i=-2;break e}e[n>>2]=o,i=0;break e}case 78:{e[n>>2]=o;break e}case 87:{e[n>>2]=A,i=0;break e}case 89:{e[n>>2]=A,i=0;break e}case 90:{if((r|0)<3){i=-2;break e}e[n>>2]=A,i=0;break e}case 92:{if((r|0)<4){i=-2;break e}e[n>>2]=A,i=0;break e}case 94:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=32;break e}case 97:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=31;break e}case 100:if((i|0)==19){e[n>>2]=o,i=0;break e}else{e[n>>2]=o+2,i=30;break e}case 103:{e[n>>2]=o,i=0;break e}case 104:{i=0-i|0;break e}}}else if((l|0)==64){e[n>>2]=t,i=0;break}}else i=-1;else i=-4;while(0);return i|0}function iC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;e:do if(t>>>0>>0)if(o=t,l=i-o|0,A=(l&1|0)==0,l=l&-2,s=(l|0)==0,l=A|s?i:t+l|0,A|s^1){i=C[t>>0]|0,i<<24>>24?i=Re(i,C[t+1>>0]|0)|0:i=s0[r+72+(s0[t+1>>0]|0)>>0]|0;do switch(i|0){case 2:{i=gC0(r,t+2|0,l,n)|0;break e}case 3:{i=xk(r,t+2|0,l,n)|0;break e}case 9:{if(o=t+2|0,(l-o|0)<=1){i=-3;break e}i=C[o>>0]|0,i<<24>>24?i=Re(i,C[t+3>>0]|0)|0:i=s0[r+72+(s0[t+3>>0]|0)>>0]|0,e[n>>2]=(i|0)==10?t+4|0:o,i=7;break e}case 10:{e[n>>2]=t+2,i=7;break e}case 4:{if(o=t+2|0,(l-o|0)<=1){i=-5;break e}if(!(C[o>>0]|0)&&(C[t+3>>0]|0)==93){if(i=t+4|0,(l-i|0)<=1){i=-5;break e}if(!(C[i>>0]|0)&&(C[t+5>>0]|0)==62){e[n>>2]=i,i=0;break e}else i=l}else i=l;break}case 5:{if(i=l,(i-o|0)<2){i=-2;break e}o=t+2|0;break}case 6:{if(i=l,(i-o|0)<3){i=-2;break e}o=t+3|0;break}case 7:{if(i=l,(i-o|0)<4){i=-2;break e}o=t+4|0;break}case 8:case 1:case 0:{e[n>>2]=t,i=0;break e}default:o=t+2|0,i=l}while(0);s=r+72|0,r=o;r:for(;;){if(t=i-r|0,(t|0)<=1){o=52;break}switch(o=C[r>>0]|0,l=C[r+1>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[s+(l&255)>>0]|0,o|0){case 10:case 9:case 8:case 1:case 0:case 2:case 3:{o=50;break r}case 5:{r=r+2|0;continue r}case 6:{if((t|0)<3){o=38;break r}r=r+3|0;continue r}case 7:{if((t|0)<4){o=41;break r}r=r+4|0;continue r}case 4:{if((t|0)<=3){o=50;break r}if(o=r+2|0,C[o>>0]|0){r=o;continue r}if((C[r+3>>0]|0)!=93){r=o;continue r}if((t|0)<=5){o=50;break r}if(l=r+4|0,C[l>>0]|0){r=o;continue r}if((C[r+5>>0]|0)==62){o=49;break r}else{r=o;continue r}}default:{r=r+2|0;continue r}}}if((o|0)==38){e[n>>2]=r,i=6;break}else if((o|0)==41){e[n>>2]=r,i=6;break}else if((o|0)==49){e[n>>2]=l,i=0;break}else if((o|0)==50){e[n>>2]=r,i=6;break}else if((o|0)==52){e[n>>2]=r,i=6;break}}else i=-1;else i=-4;while(0);return i|0}function nC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;e:do if(t>>>0>>0)if(o=t,l=i-o|0,A=(l&1|0)==0,l=l&-2,s=(l|0)==0,l=A|s?i:t+l|0,A|s^1){switch(i=C[t>>0]|0,i<<24>>24?i=Re(i,C[t+1>>0]|0)|0:i=s0[r+72+(s0[t+1>>0]|0)>>0]|0,i|0){case 4:{if(o=t+2|0,(l-o|0)<=1){i=-1;break e}if(!(C[o>>0]|0)&&(C[t+3>>0]|0)==93){if(i=t+4|0,(l-i|0)<=1){i=-1;break e}if(!(C[i>>0]|0)&&(C[t+5>>0]|0)==62){e[n>>2]=t+6,i=40;break e}}break}case 9:{if(o=t+2|0,(l-o|0)<=1){i=-1;break e}i=C[o>>0]|0,i<<24>>24?i=Re(i,C[t+3>>0]|0)|0:i=s0[r+72+(s0[t+3>>0]|0)>>0]|0,e[n>>2]=(i|0)==10?t+4|0:o,i=7;break e}case 10:{e[n>>2]=t+2,i=7;break e}case 5:{if(i=l,(i-o|0)<2){i=-2;break e}o=t+2|0,l=i;break}case 6:{if(i=l,(i-o|0)<3){i=-2;break e}o=t+3|0,l=i;break}case 7:{if(i=l,(i-o|0)<4){i=-2;break e}o=t+4|0,l=i;break}case 8:case 1:case 0:{e[n>>2]=t,i=0;break e}default:o=t+2|0}s=r+72|0,r=o;r:for(;;){if(t=l-r|0,(t|0)<=1){o=40;break}switch(i=C[r>>0]|0,o=C[r+1>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[s+(o&255)>>0]|0,i|0){case 10:case 9:case 8:case 1:case 0:case 4:{o=38;break r}case 6:{if((t|0)<3){o=35;break r}else i=3;break}case 7:{if((t|0)<4){o=37;break r}else i=4;break}default:i=2}r=r+i|0}if((o|0)==35){e[n>>2]=r,i=6;break}else if((o|0)==37){e[n>>2]=r,i=6;break}else if((o|0)==38){e[n>>2]=r,i=6;break}else if((o|0)==40){e[n>>2]=r,i=6;break}}else i=-1;else i=-4;while(0);return i|0}function oC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;A=i-t|0,A=A&1|0?t+(A&-2)|0:i,s=r+72|0,l=0,i=t;e:for(;;){if(o=A-i|0,(o|0)<=1){i=-1;break}switch(r=C[i>>0]|0,t=C[i+1>>0]|0,r<<24>>24?r=Re(r,t)|0:r=s0[s+(t&255)>>0]|0,r|0){case 8:case 1:case 0:{c=12;break e}case 5:{o=l,i=i+2|0,l=o;continue e}case 6:{if((o|0)<3){i=-2;break e}o=l,i=i+3|0,l=o;continue e}case 7:{if((o|0)<4){i=-2;break e}o=l,i=i+4|0,l=o;continue e}case 2:{if(r=i+2|0,(A-r|0)<=1){i=-1;break e}if(C[r>>0]|0){o=l,i=r,l=o;continue e}if((C[i+3>>0]|0)!=33){o=l,i=r,l=o;continue e}if(r=i+4|0,(A-r|0)<=1){i=-1;break e}if(C[r>>0]|0){o=l,i=r,l=o;continue e}o=(C[i+5>>0]|0)==91,l=l+(o&1)|0,i=o?i+6|0:r;continue e}case 4:{if(r=i+2|0,(A-r|0)<=1){i=-1;break e}if(C[r>>0]|0){o=l,i=r,l=o;continue e}if((C[i+3>>0]|0)!=93){o=l,i=r,l=o;continue e}if(r=i+4|0,(A-r|0)<=1){i=-1;break e}if(C[r>>0]|0){o=l,i=r,l=o;continue e}if((C[i+5>>0]|0)!=62){o=l,i=r,l=o;continue e}if(i=i+6|0,!l){c=26;break e}l=l+-1|0;continue e}default:{o=l,i=i+2|0,l=o;continue e}}}return(c|0)==12?(e[n>>2]=i,i=0):(c|0)==26&&(e[n>>2]=i,i=42),i|0}function lC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;do if(t>>>0>>0)if(A=i,(A-t|0)>1){c=r+72|0,s=t;e:for(;;){if((A-s|0)<=1){l=30;break}switch(o=C[s>>0]|0,l=C[s+1>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,o|0){case 3:{l=11;break e}case 2:{l=14;break e}case 10:{l=15;break e}case 9:{l=18;break e}case 21:{l=25;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=2}s=s+o|0}if((l|0)==11)if((s|0)==(t|0)){o=xk(r,t+2|0,i,n)|0;break}else{e[n>>2]=s,o=6;break}else if((l|0)==14){e[n>>2]=s,o=0;break}else if((l|0)==15)if((s|0)==(t|0)){e[n>>2]=t+2,o=7;break}else{e[n>>2]=s,o=6;break}else if((l|0)==18){if((s|0)!=(t|0)){e[n>>2]=s,o=6;break}if(s=t+2|0,(A-s|0)<=1){o=-3;break}o=C[s>>0]|0,l=C[t+3>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,e[n>>2]=(o|0)==10?t+4|0:s,o=7;break}else if((l|0)==25)if((s|0)==(t|0)){e[n>>2]=t+2,o=39;break}else{e[n>>2]=s,o=6;break}else if((l|0)==30){e[n>>2]=s,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function sC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;do if(t>>>0>>0)if(A=i,(A-t|0)>1){c=r+72|0,s=t;e:for(;;){if((A-s|0)<=1){l=29;break}switch(o=C[s>>0]|0,l=C[s+1>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,o|0){case 3:{l=11;break e}case 30:{l=14;break e}case 10:{l=17;break e}case 9:{l=20;break e}case 5:{o=2;break}case 6:{o=3;break}case 7:{o=4;break}default:o=2}s=s+o|0}if((l|0)==11)if((s|0)==(t|0)){o=xk(r,t+2|0,i,n)|0;break}else{e[n>>2]=s,o=6;break}else if((l|0)==14)if((s|0)==(t|0)){o=QP(r,t+2|0,i,n)|0,o=(o|0)==22?0:o;break}else{e[n>>2]=s,o=6;break}else if((l|0)==17)if((s|0)==(t|0)){e[n>>2]=t+2,o=7;break}else{e[n>>2]=s,o=6;break}else if((l|0)==20){if((s|0)!=(t|0)){e[n>>2]=s,o=6;break}if(s=t+2|0,(A-s|0)<=1){o=-3;break}o=C[s>>0]|0,l=C[t+3>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,e[n>>2]=(o|0)==10?t+4|0:s,o=7;break}else if((l|0)==29){e[n>>2]=s,o=6;break}}else o=-1;else o=-4;while(0);return o|0}function AC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;for(o=i,r=t;;){if(t=C[n>>0]|0,!(t<<24>>24)){l=7;break}if((o-r|0)<2){r=0;break}if(C[r>>0]|0){r=0;break}if((C[r+1>>0]|0)!=t<<24>>24){r=0;break}n=n+1|0,r=r+2|0}return(l|0)==7&&(r=(r|0)==(i|0)&1),r|0}function uC0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+72|0,n=t;e:for(;;){switch(r=C[n>>0]|0,i=C[n+1>>0]|0,r<<24>>24?r=Re(r,i)|0:r=s0[o+(i&255)>>0]|0,r|0){case 5:{r=2;break}case 6:{r=3;break}case 7:{r=4;break}case 27:case 26:case 25:case 24:case 23:case 22:case 29:{r=2;break}default:break e}n=n+r|0}return n-t|0}function aC0(r,t){r=r|0,t=t|0;var i=0,n=0;n=r+72|0;e:for(;;){switch(r=C[t>>0]|0,i=C[t+1>>0]|0,r<<24>>24?r=Re(r,i)|0:r=s0[n+(i&255)>>0]|0,r|0){case 21:case 9:case 10:break;default:break e}t=t+2|0}return t|0}function cC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=r+72|0,f=0,w=0,r=1;e:for(;;){c=t+2|0,o=C[c>>0]|0,s=o<<24>>24==0,l=t+3|0,A=C[l>>0]|0,s?o=s0[p+(A&255)>>0]|0:o=Re(o,A)|0;do switch(o|0){case 5:{if(r|0){l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}if((w|0)>=(i|0)){s=w,A=f,r=1,t=c,w=s,f=A;continue e}e[n+(w<<4)>>2]=c,C[n+(w<<4)+12>>0]=1,s=w,A=f,r=1,t=c,w=s,f=A;continue e}case 6:{if(r|0){s=r,A=w,c=f,t=l,r=s,w=A,f=c;continue e}if((w|0)>=(i|0)){A=w,c=f,r=1,t=l,w=A,f=c;continue e}e[n+(w<<4)>>2]=c,C[n+(w<<4)+12>>0]=1,A=w,c=f,r=1,t=l,w=A,f=c;continue e}case 7:{r||((w|0)<(i|0)&&(e[n+(w<<4)>>2]=c,C[n+(w<<4)+12>>0]=1),r=1),A=w,c=f,t=t+4|0,w=A,f=c;continue e}case 24:case 22:case 29:{if(r|0){l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}if((w|0)>=(i|0)){s=w,A=f,r=1,t=c,w=s,f=A;continue e}e[n+(w<<4)>>2]=c,C[n+(w<<4)+12>>0]=1,s=w,A=f,r=1,t=c,w=s,f=A;continue e}case 12:{if((r|0)!=2){if((w|0)>=(i|0)){A=w,f=12,r=2,t=c,w=A;continue e}e[n+(w<<4)+4>>2]=t+4,A=w,f=12,r=2,t=c,w=A;continue e}if((f|0)!=12){s=w,A=f,r=2,t=c,w=s,f=A;continue e}(w|0)<(i|0)&&(e[n+(w<<4)+8>>2]=c),f=12,w=w+1|0,r=0,t=c;continue e}case 13:{if((r|0)!=2){if((w|0)>=(i|0)){A=w,f=13,r=2,t=c,w=A;continue e}e[n+(w<<4)+4>>2]=t+4,A=w,f=13,r=2,t=c,w=A;continue e}if((f|0)!=13){s=w,A=f,r=2,t=c,w=s,f=A;continue e}(w|0)<(i|0)&&(e[n+(w<<4)+8>>2]=c),f=13,w=w+1|0,r=0,t=c;continue e}case 3:{if((w|0)>=(i|0)){l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}C[n+(w<<4)+12>>0]=0,l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}case 21:{switch(r|0){case 1:{s=w,A=f,r=0,t=c,w=s,f=A;continue e}case 2:break;default:{l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}}if((w|0)>=(i|0)){s=w,A=f,r=2,t=c,w=s,f=A;continue e}if(l=n+(w<<4)+12|0,!(C[l>>0]|0)){s=w,A=f,r=2,t=c,w=s,f=A;continue e}do if(s&(c|0)!=(e[n+(w<<4)+4>>2]|0)&A<<24>>24==32){if(o=C[t+4>>0]|0,r=C[t+5>>0]|0,o<<24>>24)r=Re(o,r)|0;else{if(r<<24>>24==32)break;r=s0[p+(r&255)>>0]|0}if((r|0)!=(f|0)){s=w,A=f,r=2,t=c,w=s,f=A;continue e}}while(0);C[l>>0]=0,s=w,A=f,r=2,t=c,w=s,f=A;continue e}case 10:case 9:{switch(r|0){case 1:{s=w,A=f,r=0,t=c,w=s,f=A;continue e}case 2:break;default:{l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}}if((w|0)>=(i|0)){s=w,A=f,r=2,t=c,w=s,f=A;continue e}C[n+(w<<4)+12>>0]=0,s=w,A=f,r=2,t=c,w=s,f=A;continue e}case 17:case 11:if((r|0)==2){s=w,A=f,r=2,t=c,w=s,f=A;continue e}else break e;default:{l=r,s=w,A=f,t=c,r=l,w=s,f=A;continue e}}while(0)}return w|0}function fC0(r,t){r=r|0,t=t|0;var i=0,n=0;r=t+4|0;e:do if(C[r>>0]|0)i=r,r=0,t=-1,n=16;else if((C[t+5>>0]|0)==120)for(t=t+6|0,r=0;;){r:for(;;){if(!(C[t>>0]|0)){if(i=C[t+1>>0]|0,i<<24>>24==59){n=18;break e}switch(i=i<<24>>24,i|0){case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{n=8;break r}case 70:case 69:case 68:case 67:case 66:case 65:{n=9;break r}case 102:case 101:case 100:case 99:case 98:case 97:{n=10;break r}default:}}t=t+2|0}if((n|0)==8?r=i+-48|r<<4:(n|0)==9?r=(r<<4)+-55+i|0:(n|0)==10&&(r=(r<<4)+-87+i|0),(r|0)<1114112)t=t+2|0;else{r=-1,n=19;break}}else t=r,r=0,n=13;while(0);for(;;)if((n|0)==13){if(C[t>>0]|0){i=t,t=-1,n=16;continue}if((C[t+1>>0]|0)==59){n=18;continue}i=t,t=C[t+1>>0]|0,n=16;continue}else if((n|0)==16){if(r=(r*10|0)+-48+t|0,(r|0)>=1114112){r=-1,n=19;continue}t=i+2|0,n=13;continue}else if((n|0)==18){r=th(r)|0,n=19;continue}else if((n|0)==19)return r|0;return 0}function hC0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;e:do switch((i-t|0)/2|0|0){case 2:{!(C[t+2>>0]|0)&&(C[t+3>>0]|0)==116?(C[t>>0]|0?r=-1:r=C[t+1>>0]|0,r=(r|0)==108?60:(r|0)==103?62:0):n=27;break}case 3:{!(C[t>>0]|0)&&(C[t+1>>0]|0)==97&&!(C[t+2>>0]|0)&&(C[t+3>>0]|0)==109&&!(C[t+4>>0]|0)&&(C[t+5>>0]|0)==112?r=38:n=27;break}case 4:{if(C[t>>0]|0)n=27;else switch(C[t+1>>0]|0){case 113:{if(C[t+2>>0]|0){n=27;break e}if((C[t+3>>0]|0)!=117){n=27;break e}if(C[t+4>>0]|0){n=27;break e}if((C[t+5>>0]|0)!=111){n=27;break e}if(C[t+6>>0]|0){n=27;break e}if((C[t+7>>0]|0)==116){r=34;break e}else{n=27;break e}}case 97:{if(C[t+2>>0]|0){n=27;break e}if((C[t+3>>0]|0)!=112){n=27;break e}if(C[t+4>>0]|0){n=27;break e}if((C[t+5>>0]|0)!=111){n=27;break e}if(C[t+6>>0]|0){n=27;break e}if((C[t+7>>0]|0)==115){r=39;break e}else{n=27;break e}}default:{n=27;break e}}break}default:n=27}while(0);return(n|0)==27&&(r=0),r|0}function wC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;for(s=r+72|0,A=n+4|0;!((i-t|0)<=1);){switch(r=C[t>>0]|0,o=C[t+1>>0]|0,r<<24>>24?r=Re(r,o)|0:r=s0[s+(o&255)>>0]|0,r|0){case 5:{t=t+2|0;break}case 6:{t=t+3|0;break}case 7:{t=t+4|0;break}case 10:{e[A>>2]=-1,e[n>>2]=(e[n>>2]|0)+1,t=t+2|0;break}case 9:{e[n>>2]=(e[n>>2]|0)+1,l=t+2|0,(i-l|0)>1?(r=C[l>>0]|0,o=C[t+3>>0]|0,r<<24>>24?r=Re(r,o)|0:r=s0[s+(o&255)>>0]|0,t=(r|0)==10?t+4|0:l):t=l,e[A>>2]=-1;break}default:t=t+2|0}e[A>>2]=(e[A>>2]|0)+1}}function dC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;A=i+-2|0,s=r+72|0;e:for(;;){if(o=t+2|0,(A-o|0)<=1){i=1;break}switch(i=C[o>>0]|0,l=i<<24>>24==0,r=C[t+3>>0]|0,l?i=s0[s+(r&255)>>0]|0:i=Re(i,r)|0,i|0){case 23:case 19:case 30:case 33:case 16:case 18:case 10:case 9:case 15:case 14:case 17:case 35:case 34:case 32:case 31:case 13:case 27:case 24:case 25:{t=o;continue e}case 21:if(l&r<<24>>24==9){c=12;break e}else{t=o;continue e}case 22:case 26:{if(!l){c=12;break e}if(r<<24>>24>=0){t=o;continue e}break}default:if(!l){c=12;break e}}switch(r<<24>>24|0){case 64:case 36:{t=o;break}default:{c=12;break e}}}return(c|0)==12&&(e[n>>2]=o,i=0),i|0}function pC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0;s=e[t>>2]|0,A=s+(i-s&-2)|0,c=A,f=o;e:for(;;){if(s>>>0>=A>>>0){r=0;break}switch(l=C[s+1>>0]|0,r=C[s>>0]|0,i=r&255,r<<24>>24){case 0:{if(l<<24>>24>-1){if(r=e[n>>2]|0,(r|0)==(o|0)){r=2;break e}e[n>>2]=r+1,C[r>>0]=l,r=s}else w=7;break}case 7:case 6:case 5:case 4:case 3:case 2:case 1:{w=7;break}case-37:case-38:case-39:case-40:{if(r=e[n>>2]|0,(f-r|0)<4){r=2;break e}if((c-s|0)<4){r=1;break e}p=l&255,l=(i<<2&12|p>>>6)+1|0,e[n>>2]=r+1,C[r>>0]=l>>>2|240,r=e[n>>2]|0,e[n>>2]=r+1,C[r>>0]=p>>>2&15|l<<4&48|128,r=s+2|0,l=s0[s+3>>0]|0,i=(p<<4&48|l>>>6|C[r>>0]<<2&12|128)&255,s=e[n>>2]|0,e[n>>2]=s+1,C[s>>0]=i,s=e[n>>2]|0,e[n>>2]=s+1,C[s>>0]=l&63|128;break}default:{if(r=e[n>>2]|0,(f-r|0)<3){r=2;break e}e[n>>2]=r+1,C[r>>0]=i>>>4|224,p=l&255,r=e[n>>2]|0,e[n>>2]=r+1,C[r>>0]=p>>>6|i<<2&60|128,r=e[n>>2]|0,e[n>>2]=r+1,C[r>>0]=p&63|128,r=s}}if((w|0)==7){if(w=0,r=e[n>>2]|0,(f-r|0)<2){r=2;break}p=l&255,e[n>>2]=r+1,C[r>>0]=p>>>6|i<<2|192,r=e[n>>2]|0,e[n>>2]=r+1,C[r>>0]=p&63|128,r=s}s=r+2|0}return e[t>>2]=s,r|0}function kC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;for(l=e[t>>2]|0,A=i-l&-2,r=l+A|0,(A|0)>(o-(e[n>>2]|0)|0)?(s=r+-2|0,i=(C[s>>0]&-8)<<24>>24==-40,A=i&1,r=i?s:r):A=0,i=l;l=i>>>0>>0,s=e[n>>2]|0,!!(l&s>>>0>>0);)l=((s0[i>>0]|0)<<8|(s0[i+1>>0]|0))&65535,e[n>>2]=s+2,$[s>>1]=l,s=(e[t>>2]|0)+2|0,e[t>>2]=s,i=s;return((s|0)!=(o|0)|l^1?A:2)|0}function xk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;c=i,s=c-t|0;e:do if((s|0)>1){switch(A=C[t>>0]|0,A<<24>>24?(l=C[t+1>>0]|0,o=Re(A,l)|0):(l=C[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(s=l&255,!(1<<(s&31)&e[56940+((s>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,r=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,r=0;break e}case 6:{if((s|0)<3){r=-2;break e}e[n>>2]=t,r=0;break e}case 7:{if((s|0)<4){r=-2;break e}e[n>>2]=t,r=0;break e}case 19:{r=vC0(r,t+2|0,i,n)|0;break e}default:{e[n>>2]=t,r=0;break e}}A=r+72|0,s=t;r:for(;;){if(l=s+2|0,t=c-l|0,(t|0)<=1){r=-1;break e}switch(r=C[l>>0]|0,i=C[s+3>>0]|0,r<<24>>24?o=Re(r,i)|0:o=s0[A+(i&255)>>0]|0,o|0){case 27:case 26:case 25:case 24:case 22:{s=l;continue r}case 5:{i=23;break r}case 6:{i=24;break r}case 7:{i=26;break r}case 18:{i=28;break r}case 29:break;default:{i=29;break r}}if(t=i&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(r&255)>>0]|0)<<3)<<2)>>2])s=l;else{i=22;break}}if((i|0)==22){e[n>>2]=l,r=0;break}else if((i|0)==23){e[n>>2]=l,r=0;break}else if((i|0)==24){if((t|0)<3){r=-2;break}e[n>>2]=l,r=0;break}else if((i|0)==26){if((t|0)<4){r=-2;break}e[n>>2]=l,r=0;break}else if((i|0)==28){e[n>>2]=s+4,r=9;break}else if((i|0)==29){e[n>>2]=l,r=0;break}}else r=-1;while(0);return r|0}function QP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;s=i-t|0;e:do if((s|0)>1){switch(A=C[t>>0]|0,A<<24>>24?(l=C[t+1>>0]|0,o=Re(A,l)|0):(l=C[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(c=l&255,!(1<<(c&31)&e[56940+((c>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}case 30:case 9:case 10:case 21:{e[n>>2]=t,i=22;break e}default:{e[n>>2]=t,i=0;break e}}c=r+72|0,r=t;r:for(;;){if(A=r+2|0,t=i-A|0,(t|0)<=1){i=-1;break e}switch(o=C[A>>0]|0,l=C[r+3>>0]|0,o<<24>>24?s=Re(o,l)|0:s=s0[c+(l&255)>>0]|0,s|0){case 27:case 26:case 25:case 24:case 22:{r=A;continue r}case 5:{o=23;break r}case 6:{o=24;break r}case 7:{o=26;break r}case 18:{o=28;break r}case 29:break;default:{o=29;break r}}if(t=l&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])r=A;else{o=22;break}}if((o|0)==22){e[n>>2]=A,i=0;break}else if((o|0)==23){e[n>>2]=A,i=0;break}else if((o|0)==24){if((t|0)<3){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==26){if((t|0)<4){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==28){e[n>>2]=r+4,i=28;break}else if((o|0)==29){e[n>>2]=A,i=0;break}}else i=-1;while(0);return i|0}function vC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=i;e:do if((A-t|0)>1){l=C[t>>0]|0,o=C[t+1>>0]|0;do if(l<<24>>24)o=Re(l,o)|0;else if(o<<24>>24==120){o=mC0(r,t+2|0,i,n)|0;break e}else{o=s0[r+72+(o&255)>>0]|0;break}while(0);if((o|0)!=25){e[n>>2]=t,o=0;break}s=r+72|0,r=t;r:for(;;){if(l=r+2|0,(A-l|0)<=1){o=-1;break e}switch(o=C[l>>0]|0,i=C[r+3>>0]|0,o<<24>>24?o=Re(o,i)|0:o=s0[s+(i&255)>>0]|0,o|0){case 25:{r=l;break}case 18:{i=15;break r}default:{i=16;break r}}}if((i|0)==15){e[n>>2]=r+4,o=10;break}else if((i|0)==16){e[n>>2]=l,o=0;break}}else o=-1;while(0);return o|0}function mC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e:do if((i-t|0)>1){if(o=C[t>>0]|0,o<<24>>24?o=Re(o,C[t+1>>0]|0)|0:o=s0[r+72+(s0[t+1>>0]|0)>>0]|0,(o&-2|0)!=24){e[n>>2]=t,i=0;break}s=r+72|0;r:for(;;){if(l=t+2|0,(i-l|0)<=1){i=-1;break e}switch(o=C[l>>0]|0,r=C[t+3>>0]|0,o<<24>>24?o=Re(o,r)|0:o=s0[s+(r&255)>>0]|0,o|0){case 24:case 25:{t=l;break}case 18:{o=13;break r}default:{o=14;break r}}}if((o|0)==13){e[n>>2]=t+4,i=10;break}else if((o|0)==14){e[n>>2]=l,i=0;break}}else i=-1;while(0);return i|0}function gC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=i,s=p-t|0;e:do if((s|0)>1){switch(A=C[t>>0]|0,A<<24>>24?(l=C[t+1>>0]|0,o=Re(A,l)|0):(l=C[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(f=l&255,!(1<<(f&31)&e[56940+((f>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])){e[n>>2]=t,o=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,o=0;break e}case 6:{if((s|0)<3){o=-2;break e}e[n>>2]=t,o=0;break e}case 7:{if((s|0)<4){o=-2;break e}e[n>>2]=t,o=0;break e}case 16:{if(l=t+2|0,(p-l|0)<=1){o=-1;break e}switch(o=C[l>>0]|0,o<<24>>24?o=Re(o,C[t+3>>0]|0)|0:o=s0[r+72+(s0[t+3>>0]|0)>>0]|0,o|0){case 27:{o=TP(r,t+4|0,i,n)|0;break e}case 20:{o=yC0(t+4|0,i,n)|0;break e}default:{e[n>>2]=l,o=0;break e}}}case 15:{o=FP(r,t+2|0,i,n)|0;break e}case 17:{o=CC0(r,t+2|0,i,n)|0;break e}default:{e[n>>2]=t,o=0;break e}}f=r+72|0,c=0,o=t+2|0;r:for(;;){t:for(;;){if(l=p-o|0,(l|0)<=1){o=-1;break e}switch(s=C[o>>0]|0,A=C[o+1>>0]|0,s<<24>>24?t=Re(s,A)|0:t=s0[f+(A&255)>>0]|0,t|0){case 5:{w=34;break r}case 6:{w=35;break r}case 7:{w=37;break r}case 10:case 9:case 21:{w=55;break r}case 11:{w=69;break r}case 17:break r;case 23:break t;case 29:{if(t=A&255,!(1<<(t&31)&e[56940+((t>>>5|s0[144044+(s&255)>>0]<<3)<<2)>>2])){w=32;break r}break}case 27:case 26:case 25:case 24:case 22:break;default:{w=75;break r}}o=o+2|0}if(c|0){w=40;break}if(t=o+2|0,c=p-t|0,(c|0)<=1){o=-1;break e}switch(l=C[t>>0]|0,s=C[o+3>>0]|0,l<<24>>24?A=Re(l,s)|0:A=s0[f+(s&255)>>0]|0,A|0){case 5:{w=49;break r}case 6:{w=50;break r}case 7:{w=52;break r}case 29:{if(c=s&255,!(1<<(c&31)&e[56940+((c>>>5|s0[143788+(l&255)>>0]<<3)<<2)>>2])){w=47;break r}break}case 24:case 22:break;default:{w=54;break r}}c=1,o=o+4|0}r:switch(w|0){case 32:{e[n>>2]=o,o=0;break e}case 34:{e[n>>2]=o,o=0;break e}case 35:{if((l|0)<3){o=-2;break e}e[n>>2]=o,o=0;break e}case 37:{if((l|0)<4){o=-2;break e}e[n>>2]=o,o=0;break e}case 40:{e[n>>2]=o,o=0;break e}case 47:{e[n>>2]=t,o=0;break e}case 49:{e[n>>2]=t,o=0;break e}case 50:{if((c|0)<3){o=-2;break e}e[n>>2]=t,o=0;break e}case 52:{if((c|0)<4){o=-2;break e}e[n>>2]=t,o=0;break e}case 54:{e[n>>2]=t,o=0;break e}case 55:{t:for(;;){if(w=0,l=o+2|0,s=p-l|0,(s|0)<=1){o=-1;break e}switch(A=C[l>>0]|0,t=C[o+3>>0]|0,A<<24>>24?c=Re(A,t)|0:c=s0[f+(t&255)>>0]|0,c|0){case 11:{o=l,w=69;break r}case 17:{o=l;break r}case 10:case 9:case 21:{o=l,w=55;break}case 29:{w=60;break t}case 24:case 22:break t;case 5:{w=63;break t}case 6:{w=64;break t}case 7:{w=66;break t}default:{w=68;break t}}}if((w|0)==60){if(p=t&255,!(1<<(p&31)&e[56940+((p>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])){e[n>>2]=l,o=0;break e}}else if((w|0)==63){e[n>>2]=l,o=0;break e}else if((w|0)==64){if((s|0)<3){o=-2;break e}e[n>>2]=l,o=0;break e}else if((w|0)==66){if((s|0)<4){o=-2;break e}e[n>>2]=l,o=0;break e}else if((w|0)==68){e[n>>2]=l,o=0;break e}o=EC0(r,o+4|0,i,n)|0;break e}case 75:{e[n>>2]=o,o=0;break e}}if((w|0)==69){e[n>>2]=o+2,o=2;break}if(l=o+2|0,(p-l|0)>1){if(!(C[l>>0]|0)&&(C[o+3>>0]|0)==62){e[n>>2]=o+4,o=4;break}e[n>>2]=l,o=0}else o=-1}else o=-1;while(0);return o|0}function TP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i;e:do if((s-t|0)>1){if(!(C[t>>0]|0)&&(C[t+1>>0]|0)==45){l=r+72|0,o=t+2|0;r:for(;;){if(t=s-o|0,(t|0)<=1){i=-1;break e}switch(i=C[o>>0]|0,r=C[o+1>>0]|0,i<<24>>24?i=Re(i,r)|0:i=s0[l+(r&255)>>0]|0,i|0){case 8:case 1:case 0:{A=16;break r}case 5:{o=o+2|0;continue r}case 6:{if((t|0)<3){i=-2;break e}o=o+3|0;continue r}case 7:{if((t|0)<4){i=-2;break e}o=o+4|0;continue r}case 27:{if(i=o+2|0,(s-i|0)<=1){i=-1;break e}if(C[i>>0]|0){o=i;continue r}if((C[o+3>>0]|0)==45)break r;o=i;continue r}default:{o=o+2|0;continue r}}}if((A|0)==16){e[n>>2]=o,i=0;break}if(i=o+4|0,(s-i|0)<=1){i=-1;break}if(!(C[i>>0]|0)&&(C[o+5>>0]|0)==62){e[n>>2]=o+6,i=13;break}e[n>>2]=i,i=0;break}e[n>>2]=t,i=0}else i=-1;while(0);return i|0}function yC0(r,t,i){if(r=r|0,t=t|0,i=i|0,(t-r|0)>11){for(t=0;;){if((t|0)>=6){t=8;break}if(C[r>>0]|0){t=0;break}if((C[r+1>>0]|0)!=(C[144300+t>>0]|0)){t=0;break}t=t+1|0,r=r+2|0}e[i>>2]=r}else t=-1;return t|0}function FP(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+16|0,p=v,w=i,l=w-t|0;e:do if((l|0)>1){switch(s=C[t>>0]|0,s<<24>>24?(o=C[t+1>>0]|0,i=Re(s,o)|0):(o=C[t+1>>0]|0,i=s0[r+72+(o&255)>>0]|0),i|0){case 29:{if(c=o&255,!(1<<(c&31)&e[56940+((c>>>5|s0[143788+(s&255)>>0]<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((l|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((l|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}c=r+72|0,A=t;r:for(;;){if(i=A+2|0,o=w-i|0,(o|0)<=1){i=-1;break e}switch(l=C[i>>0]|0,s=C[A+3>>0]|0,l<<24>>24?r=Re(l,s)|0:r=s0[c+(s&255)>>0]|0,r|0){case 27:case 26:case 25:case 24:case 22:{A=i;continue r}case 5:{f=22;break r}case 6:{f=23;break r}case 7:{f=25;break r}case 10:case 9:case 21:{f=27;break r}case 15:{f=46;break r}case 29:break;default:break r}if(A=s&255,1<<(A&31)&e[56940+((A>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])A=i;else{f=21;break}}if((f|0)==21){e[n>>2]=i,i=0;break}else if((f|0)==22){e[n>>2]=i,i=0;break}else if((f|0)==23){if((o|0)<3){i=-2;break}e[n>>2]=i,i=0;break}else if((f|0)==25){if((o|0)<4){i=-2;break}e[n>>2]=i,i=0;break}else if((f|0)==27){if(!(PP(t,i,p)|0)){e[n>>2]=i,i=0;break}s=A+4|0;r:for(;;){if(l=w-s|0,(l|0)<=1){i=-1;break e}switch(i=C[s>>0]|0,o=C[s+1>>0]|0,i<<24>>24?i=Re(i,o)|0:i=s0[c+(o&255)>>0]|0,i|0){case 8:case 1:case 0:{f=40;break r}case 5:{s=s+2|0;continue r}case 6:{if((l|0)<3){i=-2;break e}s=s+3|0;continue r}case 7:{if((l|0)<4){i=-2;break e}s=s+4|0;continue r}case 15:{if(i=s+2|0,(w-i|0)<=1){i=-1;break e}if(C[i>>0]|0){s=i;continue r}if((C[s+3>>0]|0)==62){f=44;break r}else{s=i;continue r}}default:{s=s+2|0;continue r}}}if((f|0)==40){e[n>>2]=s,i=0;break}else if((f|0)==44){e[n>>2]=s+4,i=e[p>>2]|0;break}}else if((f|0)==46){if(!(PP(t,i,p)|0)){e[n>>2]=i,i=0;break}if(i=A+4|0,(w-i|0)<=1){i=-1;break}if(!(C[i>>0]|0)&&(C[A+5>>0]|0)==62){e[n>>2]=A+6,i=e[p>>2]|0;break}}e[n>>2]=i,i=0}else i=-1;while(0);return g=v,i|0}function CC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;s=i-t|0;e:do if((s|0)>1){switch(A=C[t>>0]|0,A<<24>>24?(l=C[t+1>>0]|0,o=Re(A,l)|0):(l=C[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(c=l&255,!(1<<(c&31)&e[56940+((c>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}c=r+72|0,r=t;r:for(;;){if(s=r+2|0,t=i-s|0,(t|0)<=1){i=-1;break e}switch(o=C[s>>0]|0,l=C[r+3>>0]|0,o<<24>>24?A=Re(o,l)|0:A=s0[c+(l&255)>>0]|0,A|0){case 23:case 27:case 26:case 25:case 24:case 22:{r=s;continue r}case 5:{o=22;break r}case 6:{o=23;break r}case 7:{o=25;break r}case 10:case 9:case 21:{o=27;break r}case 11:{o=34;break r}case 29:break;default:{o=35;break r}}if(t=l&255,1<<(t&31)&e[56940+((t>>>5|(s0[144044+(o&255)>>0]|0)<<3)<<2)>>2])r=s;else{o=21;break}}if((o|0)==21){e[n>>2]=s,i=0;break}else if((o|0)==22){e[n>>2]=s,i=0;break}else if((o|0)==23){if((t|0)<3){i=-2;break}e[n>>2]=s,i=0;break}else if((o|0)==25){if((t|0)<4){i=-2;break}e[n>>2]=s,i=0;break}else if((o|0)==27){r:for(;;){if(A=s+2|0,(i-A|0)<=1){i=-1;break e}switch(o=C[A>>0]|0,l=C[s+3>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[c+(l&255)>>0]|0,o|0){case 10:case 9:case 21:{s=A,o=27;break}case 11:{o=32;break r}default:{o=33;break r}}}if((o|0)==32){e[n>>2]=s+4,i=5;break}else if((o|0)==33){e[n>>2]=A,i=0;break}}else if((o|0)==34){e[n>>2]=r+4,i=5;break}else if((o|0)==35){e[n>>2]=s,i=0;break}}else i=-1;while(0);return i|0}function EC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;E=g,g=g+16|0,v=E,e[v>>2]=t,m=i,w=r+72|0,o=0;e:for(;;){r:for(;;){if(c=m-t|0,(c|0)<=1){t=-1;break e}switch(l=C[t>>0]|0,s=C[t+1>>0]|0,l<<24>>24?A=Re(l,s)|0:A=s0[w+(s&255)>>0]|0,A|0){case 5:{p=11;break e}case 6:{p=12;break e}case 7:{p=14;break e}case 23:{p=16;break r}case 10:case 9:case 21:{p=31;break r}case 14:{p=37;break r}case 29:{if(f=s&255,!(1<<(f&31)&e[56940+((f>>>5|s0[144044+(l&255)>>0]<<3)<<2)>>2])){p=9;break e}break}case 27:case 26:case 25:case 24:case 22:break;default:{p=89;break e}}f=t+2|0,e[v>>2]=f,t=f}r:do if((p|0)==16){if(p=0,o|0){p=17;break e}if(o=t+2|0,e[v>>2]=o,l=o,s=m-l|0,(s|0)<=1){t=-1;break e}switch(A=C[o>>0]|0,c=C[t+3>>0]|0,A<<24>>24?f=Re(A,c)|0:f=s0[w+(c&255)>>0]|0,f|0){case 5:{p=25;break e}case 6:{p=26;break e}case 7:{p=28;break e}case 24:case 22:{o=1;break r}case 29:break;default:{p=30;break e}}if(f=c&255,1<<(f&31)&e[56940+((f>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])o=1;else{p=24;break e}}else if((p|0)==31)for(;;){if(p=0,l=t+2|0,e[v>>2]=l,s=l,(m-s|0)<=1){t=-1;break e}switch(o=C[l>>0]|0,t=C[t+3>>0]|0,o<<24>>24?t=Re(o,t)|0:t=s0[w+(t&255)>>0]|0,t|0){case 14:{t=l,p=37;break r}case 9:case 10:case 21:{t=l,p=31;break}default:{p=36;break e}}}while(0);r:do if((p|0)==37){for(;;){if(p=0,s=t+2|0,e[v>>2]=s,A=s,(m-A|0)<=1){t=-1;break e}if(o=C[s>>0]|0,l=C[t+3>>0]|0,o<<24>>24?c=Re(o,l)|0:c=s0[w+(l&255)>>0]|0,(c|1|0)==13)break;switch(c|0){case 9:case 10:case 21:{t=s,p=37;break}default:{p=43;break e}}}t=t+4|0,e[v>>2]=t;t:for(;;){if(s=m-t|0,(s|0)<=1){t=-1;break e}if(o=C[t>>0]|0,l=C[t+1>>0]|0,o<<24>>24?o=Re(o,l)|0:o=s0[w+(l&255)>>0]|0,(o|0)==(c|0))break;switch(o|0){case 8:case 1:case 0:{p=56;break e}case 2:{p=61;break e}case 5:{f=t+2|0,e[v>>2]=f,t=f;continue t}case 6:{if((s|0)<3){t=-2;break e}f=t+3|0,e[v>>2]=f,t=f;continue t}case 7:{if((s|0)<4){t=-2;break e}f=t+4|0,e[v>>2]=f,t=f;continue t}case 3:{if(t=xk(r,t+2|0,i,v)|0,(t|0)<1){p=59;break e}t=e[v>>2]|0;continue t}default:{f=t+2|0,e[v>>2]=f,t=f;continue t}}}if(l=t+2|0,e[v>>2]=l,A=l,(m-A|0)<=1){t=-1;break e}switch(o=C[l>>0]|0,s=C[t+3>>0]|0,o<<24>>24?o=Re(o,s)|0:o=s0[w+(s&255)>>0]|0,o|0){case 11:{p=81;break e}case 17:{p=82;break e}case 10:case 9:case 21:{t=l;break}default:{p=68;break e}}t:for(;;){if(l=t+2|0,e[v>>2]=l,o=l,s=m-o|0,(s|0)<=1){t=-1;break e}switch(A=C[l>>0]|0,c=C[t+3>>0]|0,A<<24>>24?f=Re(A,c)|0:f=s0[w+(c&255)>>0]|0,f|0){case 5:{p=76;break e}case 6:{p=77;break e}case 7:{p=79;break e}case 11:{p=81;break e}case 17:{p=82;break e}case 24:case 22:{o=0;break r}case 10:case 9:case 21:{t=l;break}case 29:break t;default:{p=87;break e}}}if(f=c&255,1<<(f&31)&e[56940+((f>>>5|s0[143788+(A&255)>>0]<<3)<<2)>>2])o=0;else{p=75;break e}}while(0);t=t+4|0,e[v>>2]=t}switch(p|0){case 9:{e[n>>2]=t,t=0;break}case 11:{e[n>>2]=t,t=0;break}case 12:{(c|0)<3?t=-2:(e[n>>2]=t,t=0);break}case 14:{(c|0)<4?t=-2:(e[n>>2]=t,t=0);break}case 17:{e[n>>2]=t,t=0;break}case 24:{e[n>>2]=o,t=0;break}case 25:{e[n>>2]=o,t=0;break}case 26:{(s|0)<3?t=-2:(e[n>>2]=o,t=0);break}case 28:{(s|0)<4?t=-2:(e[n>>2]=o,t=0);break}case 30:{e[n>>2]=l,t=0;break}case 36:{e[n>>2]=s,t=0;break}case 43:{e[n>>2]=A,t=0;break}case 56:{e[n>>2]=t,t=0;break}case 59:{t||(e[n>>2]=e[v>>2],t=0);break}case 61:{e[n>>2]=t,t=0;break}case 68:{e[n>>2]=A,t=0;break}case 75:{e[n>>2]=l,t=0;break}case 76:{e[n>>2]=l,t=0;break}case 77:{(s|0)<3?t=-2:(e[n>>2]=l,t=0);break}case 79:{(s|0)<4?t=-2:(e[n>>2]=l,t=0);break}case 81:{e[n>>2]=t+4,t=1;break}case 82:{if(o=l+2|0,e[v>>2]=o,t=o,(m-t|0)>1){if(!(C[o>>0]|0)&&(C[l+3>>0]|0)==62){e[n>>2]=l+4,t=3;break}e[n>>2]=t,t=0}else t=-1;break}case 87:{e[n>>2]=o,t=0;break}case 89:{e[n>>2]=t,t=0;break}}return g=E,t|0}function PP(r,t,i){r=r|0,t=t|0,i=i|0,e[i>>2]=11;e:do if((t-r|0)==6&&!(C[r>>0]|0)){switch(C[r+1>>0]|0){case 120:{t=0;break}case 88:{t=1;break}default:{t=1;break e}}if(C[r+2>>0]|0)t=1;else{switch(C[r+3>>0]|0){case 109:break;case 77:{t=1;break}default:{t=1;break e}}if(C[r+4>>0]|0)t=1;else{switch(C[r+5>>0]|0){case 108:break;case 76:{t=0;break e}default:{t=1;break e}}t?t=0:(e[i>>2]=12,t=1)}}}else t=1;while(0);return t|0}function YP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;A=t+72|0;e:for(;;){r:for(;;){if(s=n-i|0,(s|0)<=1){i=-1;break e}switch(t=C[i>>0]|0,l=C[i+1>>0]|0,t<<24>>24?l=Re(t,l)|0:l=s0[A+(l&255)>>0]|0,l|0){case 8:case 1:case 0:{c=10;break e}case 6:{c=9;break r}case 7:{c=19;break r}case 5:{i=i+2|0;continue r}case 13:case 12:if(t=i+2|0,(l|0)==(r|0)){c=12;break e}else{i=t;continue r}default:{i=i+2|0;continue r}}}if((c|0)==9)if(c=0,(s|0)<3){i=-2;break}else{i=i+3|0;continue}else if((c|0)==19)if(c=0,(s|0)<4){i=-2;break}else{i=i+4|0;continue}}e:do if((c|0)==10)e[o>>2]=i,i=0;else if((c|0)==12)if((n-t|0)>1){switch(e[o>>2]=t,n=C[t>>0]|0,i=C[i+3>>0]|0,n<<24>>24?i=Re(n,i)|0:i=s0[A+(i&255)>>0]|0,i|0){case 20:case 30:case 11:case 10:case 9:case 21:{i=27;break e}default:}i=0}else i=-27;while(0);return i|0}function BC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0;A=i;e:do if((A-t|0)>1)switch(o=C[t>>0]|0,o<<24>>24?o=Re(o,C[t+1>>0]|0)|0:o=s0[r+72+(s0[t+1>>0]|0)>>0]|0,o|0){case 27:{o=TP(r,t+2|0,i,n)|0;break e}case 20:{e[n>>2]=t+2,o=33;break e}case 24:case 22:{s=r+72|0;r:for(;;){if(l=t+2|0,i=A-l|0,(i|0)<=1){o=-1;break e}switch(o=C[l>>0]|0,r=C[t+3>>0]|0,o<<24>>24?o=Re(o,r)|0:o=s0[s+(r&255)>>0]|0,o|0){case 24:case 22:{t=l;break}case 30:{c=15;break r}case 10:case 9:case 21:break r;default:{c=22;break r}}}if((c|0)==22){e[n>>2]=l,o=0;break e}r:do if((c|0)==15){if((i|0)<=3){o=-1;break e}switch(r=C[t+4>>0]|0,o=C[t+5>>0]|0,r<<24>>24?o=Re(r,o)|0:o=s0[s+(o&255)>>0]|0,o|0){case 30:case 10:case 9:case 21:break;default:break r}e[n>>2]=l,o=0;break e}while(0);e[n>>2]=l,o=16;break e}default:{e[n>>2]=t,o=0;break e}}else o=-1;while(0);return o|0}function IC0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;s=i-t|0;e:do if((s|0)>1){switch(A=C[t>>0]|0,A<<24>>24?(l=C[t+1>>0]|0,o=Re(A,l)|0):(l=C[t+1>>0]|0,o=s0[r+72+(l&255)>>0]|0),o|0){case 29:{if(s=l&255,!(1<<(s&31)&e[56940+((s>>>5|(s0[143788+(A&255)>>0]|0)<<3)<<2)>>2])){e[n>>2]=t,i=0;break e}break}case 24:case 22:break;case 5:{e[n>>2]=t,i=0;break e}case 6:{if((s|0)<3){i=-2;break e}e[n>>2]=t,i=0;break e}case 7:{if((s|0)<4){i=-2;break e}e[n>>2]=t,i=0;break e}default:{e[n>>2]=t,i=0;break e}}r=r+72|0,A=t;r:for(;;){if(o=A,A=A+2|0,t=i-A|0,(t|0)<=1){i=-20;break e}switch(s=C[A>>0]|0,o=C[o+3>>0]|0,s<<24>>24?l=Re(s,o)|0:l=s0[r+(o&255)>>0]|0,l|0){case 27:case 26:case 25:case 24:case 22:continue r;case 5:{o=22;break r}case 6:{o=23;break r}case 7:{o=25;break r}case 36:case 30:case 11:case 32:case 21:case 10:case 9:{o=27;break r}case 29:break;default:{o=28;break r}}if(t=o&255,!(1<<(t&31)&e[56940+((t>>>5|(s0[144044+(s&255)>>0]|0)<<3)<<2)>>2])){o=21;break}}if((o|0)==21){e[n>>2]=A,i=0;break}else if((o|0)==22){e[n>>2]=A,i=0;break}else if((o|0)==23){if((t|0)<3){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==25){if((t|0)<4){i=-2;break}e[n>>2]=A,i=0;break}else if((o|0)==27){e[n>>2]=A,i=20;break}else if((o|0)==28){e[n>>2]=A,i=0;break}}else i=-1;while(0);return i|0}function xC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;for(var l=0,s=0;r=e[t>>2]|0,l=r>>>0>>0,s=e[n>>2]|0,!!(l&s>>>0>>0);)e[t>>2]=r+1,l=C[r>>0]|0,s=e[n>>2]|0,e[n>>2]=s+1,C[s>>0]=l;return((s|0)!=(o|0)|l^1?0:2)|0}function gE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;e:for(;;)switch(o=C[r>>0]|0,l=C[t>>0]|0,o=(o+-97&255)<26?(o&255)+224&255:o,(o<<24>>24==((l+-97&255)<26?(l&255)+224&255:l)<<24>>24?o<<24>>24?0:2:1)&3){case 0:{t=t+1|0,r=r+1|0;break}case 1:{n=3;break e}case 2:{i=1;break e}default:{n=5;break e}}return(n|0)==3&&(i=0),i|0}function SC0(r,t,i,n,o,l,s,A,c,f){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0,f=f|0,VP(39,r,t,i,n,o,l,s,A,c,f)|0}function _C0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=g,g=g+144|0,s=l+4|0,n=l+8|0,o=l,e[s>>2]=t,e[o>>2]=n,ai[e[r+56>>2]&127](r,s,i,o,n+127|0)|0;do if((e[s>>2]|0)==(i|0)){if(C[e[o>>2]>>0]=0,gE(n,144315)|0&&(e[r+64>>2]|0)==2)break;r=Bk(n)|0,(r|0)!=-1?r=e[58948+(r<<2)>>2]|0:r=0}else r=0;while(0);return g=l,r|0}function VP(r,t,i,n,o,l,s,A,c,f,w){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0,f=f|0,w=w|0;var p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0;L=g,g=g+16|0,z=L+8|0,E=L+12|0,v=L+4|0,m=L,e[E>>2]=0,e[v>>2]=0,e[m>>2]=0,_=i+64|0,x=e[_>>2]|0,B=n+(x*5|0)|0,e[z>>2]=B,x=o+(0-(x<<1))|0,B=(yE(i,B,x,v,m,E,z)|0)!=0,p=e[v>>2]|0,n=p;e:do if(B&(p|0)!=0){B=i+24|0,o=e[m>>2]|0;do if(e2[e[B>>2]&127](i,p,o,144340)|0){if(s|0&&(e[s>>2]=e[E>>2]),A?(n=e[z>>2]|0,e[A>>2]=n):n=e[z>>2]|0,!(yE(i,n,x,v,m,E,z)|0)){e[l>>2]=e[z>>2],n=0;break e}if(o=e[v>>2]|0,o|0){n=o,p=o,o=e[m>>2]|0;break}if(!t){n=1;break e}e[l>>2]=e[z>>2],n=0;break e}else if(!t){e[l>>2]=n,n=0;break e}while(0);if(e2[e[B>>2]&127](i,p,o,144348)|0){if(o=e[E>>2]|0,n=o,(((KA(i,o,x)|0)&-33)+-65|0)>>>0>=26){e[l>>2]=n,n=0;break}if(c|0&&(e[c>>2]=n),n=e[z>>2]|0,f|0&&(e[f>>2]=oe[r&63](i,o,n+(0-(e[_>>2]|0))|0)|0),!(yE(i,n,x,v,m,E,z)|0)){e[l>>2]=e[z>>2],n=0;break}if(n=e[v>>2]|0,!n){n=1;break}p=n,o=e[m>>2]|0}if((t|0)!=0|(e2[e[B>>2]&127](i,p,o,144357)|0)==0){e[l>>2]=n,n=0;break}if(o=e[E>>2]|0,n=e[z>>2]|0,p=o,e2[e[B>>2]&127](i,o,n+(0-(e[_>>2]|0))|0,107657)|0)w&&(e[w>>2]=1);else{if(!(e2[e[B>>2]&127](i,o,n+(0-(e[_>>2]|0))|0,107649)|0)){e[l>>2]=p,n=0;break}w&&(e[w>>2]=0)}for(;Ff(KA(i,n,x)|0)|0;)n=n+(e[_>>2]|0)|0;e[z>>2]=n,(n|0)==(x|0)?n=1:(e[l>>2]=n,n=0)}else e[l>>2]=e[z>>2],n=0;while(0);return g=L,n|0}function yE(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0;e:do if((t|0)!=(i|0)){if(!(Ff(KA(r,t,i)|0)|0)){e[s>>2]=t,t=0;break}c=r+64|0;do t=t+(e[c>>2]|0)|0;while(Ff(KA(r,t,i)|0)|0);if((t|0)==(i|0)){e[n>>2]=0,t=1;break}e[n>>2]=t;r:for(;;){switch(A=KA(r,t,i)|0,A|0){case-1:{A=11;break r}case 61:{A=12;break r}default:}if(Ff(A)|0){A=14;break}t=t+(e[c>>2]|0)|0}if((A|0)==11){e[s>>2]=t,t=0;break}else if((A|0)==12)e[o>>2]=t;else if((A|0)==14){e[o>>2]=t;do t=t+(e[c>>2]|0)|0,A=KA(r,t,i)|0;while(Ff(A)|0);if((A|0)!=61){e[s>>2]=t,t=0;break}}if((t|0)==(e[n>>2]|0)){e[s>>2]=t,t=0;break}do t=t+(e[c>>2]|0)|0,A=KA(r,t,i)|0;while(Ff(A)|0);switch(A|0){case 34:case 39:break;default:{e[s>>2]=t,t=0;break e}}o=t+(e[c>>2]|0)|0,e[l>>2]=o,t=A<<24>>24;r:for(;;){if(A=KA(r,o,i)|0,(A|0)==(t|0)){A=30;break}if((A+-48|0)>>>0>9&((A&-33)+-65|0)>>>0>25)switch(A|0){case 45:case 46:case 95:break;default:{A=28;break r}}o=o+(e[c>>2]|0)|0}if((A|0)==28){e[s>>2]=o,t=0;break}else if((A|0)==30){e[s>>2]=o+(e[c>>2]|0),t=1;break}}else e[n>>2]=0,t=1;while(0);return t|0}function KA(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return l=g,g=g+16|0,s=l+4|0,n=l+8|0,o=l,e[s>>2]=t,e[o>>2]=n,ai[e[r+56>>2]&127](r,s,i,o,n+1|0)|0,g=l,((e[o>>2]|0)==(n|0)?-1:C[n>>0]|0)|0}function Ff(r){switch(r=r|0,r|0){case 9:case 10:case 13:case 32:{r=1;break}default:r=0}return r|0}function zC0(){return 60092}function LC0(r,t,i){return r=r|0,t=t|0,i=i|0,i=Bk(i)|0,(i|0)==-1?i=0:(C[r+69>>0]=i,e[r>>2]=69,e[r+4>>2]=70,e[r+48>>2]=31,e[r+72>>2]=t,e[t>>2]=r,i=1),i|0}function RC0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,Ik(60456,r,0,t,i,n)|0}function GC0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,Ik(60456,r,1,t,i,n)|0}function ZC0(r,t,i,n,o,l,s,A,c,f){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0,f=f|0,VP(40,r,t,i,n,o,l,s,A,c,f)|0}function WC0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=g,g=g+144|0,s=l+4|0,n=l+8|0,o=l,e[s>>2]=t,e[o>>2]=n,ai[e[r+56>>2]&127](r,s,i,o,n+127|0)|0;do if((e[s>>2]|0)==(i|0)){if(C[e[o>>2]>>0]=0,gE(n,144315)|0&&(e[r+64>>2]|0)==2)break;r=Bk(n)|0,(r|0)!=-1?r=e[60456+(r<<2)>>2]|0:r=0}else r=0;while(0);return g=l,r|0}function DC0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,r=yZ(r,t,i,n)|0,r|0&&(C[r+72+58>>0]=23),r|0}function MC0(r){r=r|0,e[r>>2]=15,e[r+16>>2]=1,e[r+12>>2]=0,e[r+20>>2]=0}function jC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 15:{e[r>>2]=16,r=0;break}case 12:{e[r>>2]=16,r=1;break}case 11:{e[r>>2]=16,r=55;break}case 13:{e[r>>2]=16,r=56;break}case 14:{r=0;break}case 16:{e2[e[o+24>>2]&127](o,i+(e[o+64>>2]<<1)|0,n,144368)|0?(e[r>>2]=17,r=3):l=9;break}case 29:{e[r>>2]=18,r=2;break}default:l=9}return(l|0)==9&&(r=P2(r,t)|0),r|0}function NC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 14:case 15:{r=0;break}case 11:{r=55;break}case 13:{r=56;break}case 16:{e2[e[o+24>>2]&127](o,i+(e[o+64>>2]<<1)|0,n,144368)|0?(e[r>>2]=17,r=3):l=7;break}case 29:{e[r>>2]=18,r=2;break}default:l=7}return(l|0)==7&&(r=P2(r,t)|0),r|0}function QC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 41:case 18:{e[r>>2]=19,r=4;break}default:r=P2(r,t)|0}return r|0}function TC0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,0}function P2(r,t){return r=r|0,t=t|0,(t|0)==28&(e[r+16>>2]|0)==0?r=59:(e[r>>2]=18,r=-1),r|0}function FC0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=3;break}case 25:{e[r>>2]=20,r=7;break}case 17:{e[r>>2]=21,r=8;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144376)|0){e[r>>2]=22,r=3;break e}e2[e[l>>2]&127](o,i,n,144383)|0?(e[r>>2]=23,r=3):s=8;break}default:s=8}while(0);return(s|0)==8&&(r=P2(r,t)|0),r|0}function OP(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;e:do switch(t|0){case-4:case 15:{r=0;break}case 16:{if(l=o+24|0,s=o+64|0,e2[e[l>>2]&127](o,i+(e[s>>2]<<1)|0,n,144390)|0){e[r>>2]=24,r=11;break e}if(e2[e[l>>2]&127](o,i+(e[s>>2]<<1)|0,n,144397)|0){e[r>>2]=25,r=33;break e}if(e2[e[l>>2]&127](o,i+(e[s>>2]<<1)|0,n,144405)|0){e[r>>2]=26,r=39;break e}e2[e[l>>2]&127](o,i+(e[s>>2]<<1)|0,n,144413)|0?(e[r>>2]=27,r=17):A=14;break}case 11:{r=55;break}case 13:{r=56;break}case 28:{r=60;break}case 26:{e[r>>2]=28,r=3;break}default:A=14}while(0);return(A|0)==14&&(r=P2(r,t)|0),r|0}function PC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,o=t+-11|0,o>>>1|o<<31|0){case 2:{r=0;break}case 0:{r=55;break}case 1:{r=56;break}case 9:{e[r>>2]=18,r=2;break}default:r=P2(r,t)|0}return r|0}function YC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 27:{e[r>>2]=29,r=5;break}default:r=P2(r,t)|0}return r|0}function VC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 27:{e[r>>2]=22,r=6;break}default:r=P2(r,t)|0}return r|0}function OC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 25:{e[r>>2]=20,r=7;break}case 17:{e[r>>2]=21,r=8;break}default:r=P2(r,t)|0}return r|0}function HC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 22:{e[r>>2]=30,r=11;break}case 18:{e[r>>2]=31,r=9;break}default:r=P2(r,t)|0}return r|0}function JC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 41:case 18:{e[r>>2]=32,r=34;break}default:r=P2(r,t)|0}return r|0}function UC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 41:case 18:{e[r>>2]=33,r=40;break}default:r=P2(r,t)|0}return r|0}function XC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=17;break}case 18:{e[r>>2]=34,r=18;break}default:r=P2(r,t)|0}return r|0}function qC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=3;break}case 17:{e[r>>2]=21,r=8;break}default:r=P2(r,t)|0}return r|0}function $C0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=17;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144376)|0){e[r>>2]=35,r=17;break e}e2[e[l>>2]&127](o,i,n,144383)|0?(e[r>>2]=36,r=17):s=6;break}default:s=6}while(0);return(s|0)==6&&(r=P2(r,t)|0),r|0}function KC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=17;break}case 27:{e[r>>2]=37,e[r+8>>2]=17,r=19;break}default:r=P2(r,t)|0}return r|0}function bC0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=17;break}case 27:{e[r>>2]=38,r=21;break}default:r=P2(r,t)|0}return r|0}function eE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=17;break}case 27:{e[r>>2]=37,e[r+8>>2]=17,r=19;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=20;break}default:r=P2(r,t)|0}return r|0}function rE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=e[r+8>>2]|0;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=e[r+8>>2]|0;break}default:r=P2(r,t)|0}return r|0}function tE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 33:{e[r>>2]=40,i=0;break}case 34:{i=r+12|0,n=e[i>>2]|0,n?(e[i>>2]=n+-1,i=0):l=7;break}case 15:{i=0;break}case 26:{l=7;break}case-4:{e[r+12>>2]|0?l=7:i=0;break}default:i=OP(r,t,i,n,o)|0}return(l|0)==7&&(i=P2(r,t)|0),i|0}function iE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=0;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144422)|0){e[r>>2]=41,r=0;break e}e2[e[l>>2]&127](o,i,n,144430)|0?(e[r>>2]=42,r=0):s=6;break}default:s=6}while(0);return(s|0)==6&&(r=P2(r,t)|0),r|0}function nE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=0;break}case 25:{e[r>>2]=39,r=r+12|0,e[r>>2]=(e[r>>2]|0)+1,r=0;break}default:r=P2(r,t)|0}return r|0}function oE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=0;break}case 25:{e[r>>2]=39,r=58;break}default:r=P2(r,t)|0}return r|0}function lE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=39;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144437)|0){e[r>>2]=37,e[r+8>>2]=39,r=42;break e}e2[e[l>>2]&127](o,i,n,144443)|0?(e[r>>2]=37,e[r+8>>2]=39,r=41):s=7;break}case 23:{e[r>>2]=43,e[r+4>>2]=1,r=44;break}default:s=7}while(0);return(s|0)==7&&(r=P2(r,t)|0),r|0}function sE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 15:{r=39;break}case 20:{e2[e[o+24>>2]&127](o,i+(e[o+64>>2]|0)|0,n,144447)|0?(e[r>>2]=44,r=43):l=9;break}case 23:{e[r+4>>2]=2,e[r>>2]=45,r=44;break}case 41:case 18:{e[r>>2]=46,r=51;break}case 30:{e[r>>2]=46,r=53;break}case 31:{e[r>>2]=46,r=52;break}case 32:{e[r>>2]=46,r=54;break}default:l=9}return(l|0)==9&&(r=P2(r,t)|0),r|0}function AE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 24:{e[r>>2]=37,e[r+8>>2]=39,r=45;break}case 36:{e[r>>2]=37,e[r+8>>2]=39,r=46;break}case 21:{e[r>>2]=47,r=39;break}default:r=P2(r,t)|0}return r|0}function uE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 23:{r=r+4|0,e[r>>2]=(e[r>>2]|0)+1,r=44;break}case 41:case 18:{e[r>>2]=46,r=51;break}case 30:{e[r>>2]=46,r=53;break}case 31:{e[r>>2]=46,r=52;break}case 32:{e[r>>2]=46,r=54;break}default:r=P2(r,t)|0}return r|0}function aE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 24:{n=r+4|0,o=(e[n>>2]|0)+-1|0,e[n>>2]=o,o||(e[r>>2]=37,e[r+8>>2]=39),r=45;break}case 36:{n=r+4|0,o=(e[n>>2]|0)+-1|0,e[n>>2]=o,o||(e[r>>2]=37,e[r+8>>2]=39),r=46;break}case 35:{n=r+4|0,o=(e[n>>2]|0)+-1|0,e[n>>2]=o,o||(e[r>>2]=37,e[r+8>>2]=39),r=47;break}case 37:{n=r+4|0,o=(e[n>>2]|0)+-1|0,e[n>>2]=o,o||(e[r>>2]=37,e[r+8>>2]=39),r=48;break}case 38:{e[r>>2]=45,r=50;break}case 21:{e[r>>2]=45,r=49;break}default:r=P2(r,t)|0}return r|0}function cE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 41:case 18:{e[r>>2]=48,r=51;break}default:r=P2(r,t)|0}return r|0}function fE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=39;break}case 36:{e[r>>2]=37,e[r+8>>2]=39,r=46;break}case 21:{e[r>>2]=47,r=39;break}default:r=P2(r,t)|0}return r|0}function hE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=33;break}case 41:case 18:{e[r>>2]=49,r=22;break}default:r=P2(r,t)|0}return r|0}function wE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;e:do switch(t|0){case 15:{l=33;break}case 18:{for(s=o+24|0,l=0;A=e[s>>2]|0,!((l|0)>=8);){if(e2[A&127](o,i,n,e[62304+(l<<2)>>2]|0)|0){c=6;break}l=l+1|0}if((c|0)==6){e[r>>2]=50,l=l+23|0;break e}e2[A&127](o,i,n,144413)|0?(e[r>>2]=51,l=33):c=10;break}case 23:{e[r>>2]=52,l=33;break}default:c=10}while(0);return(c|0)==10&&(l=P2(r,t)|0),l|0}function dE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;e:do switch(t|0){case 15:{r=33;break}case 20:{if(l=o+24|0,s=o+64|0,e2[e[l>>2]&127](o,i+(e[s>>2]|0)|0,n,144454)|0){e[r>>2]=32,r=35;break e}if(e2[e[l>>2]&127](o,i+(e[s>>2]|0)|0,n,144462)|0){e[r>>2]=32,r=36;break e}e2[e[l>>2]&127](o,i+(e[s>>2]|0)|0,n,144471)|0?(e[r>>2]=53,r=33):A=9;break}case 27:{e[r>>2]=32,r=37;break}default:A=9}while(0);return(A|0)==9&&(r=P2(r,t)|0),r|0}function pE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 23:{e[r>>2]=54,r=33;break}default:r=P2(r,t)|0}return r|0}function kE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 41:case 18:case 19:{e[r>>2]=55,r=31;break}default:r=P2(r,t)|0}return r|0}function vE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 24:{e[r>>2]=50,r=33;break}case 21:{e[r>>2]=52,r=33;break}default:r=P2(r,t)|0}return r|0}function mE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 18:{e[r>>2]=56,r=32;break}default:r=P2(r,t)|0}return r|0}function gE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 24:{e[r>>2]=50,r=33;break}case 21:{e[r>>2]=54,r=33;break}default:r=P2(r,t)|0}return r|0}function yE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=33;break}case 27:{e[r>>2]=32,r=38;break}default:r=P2(r,t)|0}return r|0}function CE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 18:{e[r>>2]=57,r=10;break}default:r=P2(r,t)|0}return r|0}function EE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=11;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144376)|0){e[r>>2]=58,r=11;break e}e2[e[l>>2]&127](o,i,n,144383)|0?(e[r>>2]=59,r=11):s=7;break}case 27:{e[r>>2]=37,e[r+8>>2]=11,r=12;break}default:s=7}while(0);return(s|0)==7&&(r=P2(r,t)|0),r|0}function BE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 27:{e[r>>2]=60,r=13;break}default:r=P2(r,t)|0}return r|0}function IE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 27:{e[r>>2]=58,r=14;break}default:r=P2(r,t)|0}return r|0}function xE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;switch(t|0){case 15:{r=11;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=15;break}case 18:{e2[e[o+24>>2]&127](o,i,n,144525)|0?(e[r>>2]=61,r=11):l=5;break}default:l=5}return(l|0)==5&&(r=P2(r,t)|0),r|0}function SE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 18:{e[r>>2]=37,e[r+8>>2]=11,r=16;break}default:r=P2(r,t)|0}return r|0}function _E0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;e:do switch(t|0){case 15:{r=11;break}case 18:{if(l=o+24|0,e2[e[l>>2]&127](o,i,n,144376)|0){e[r>>2]=62,r=11;break e}e2[e[l>>2]&127](o,i,n,144383)|0?(e[r>>2]=63,r=11):s=7;break}case 27:{e[r>>2]=37,e[r+8>>2]=11,r=12;break}default:s=7}while(0);return(s|0)==7&&(r=P2(r,t)|0),r|0}function zE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 27:{e[r>>2]=64,r=13;break}default:r=P2(r,t)|0}return r|0}function LE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 27:{e[r>>2]=62,r=14;break}default:r=P2(r,t)|0}return r|0}function RE0(r,t,i,n,o){switch(r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,t|0){case 15:{r=11;break}case 17:{e[r>>2]=e[r+16>>2]|0?20:39,r=15;break}default:r=P2(r,t)|0}return r|0}function Te(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0;W=g,g=g+16|0,m=W;do if(r>>>0<245){if(w=r>>>0<11?16:r+11&-8,r=w>>>3,v=e[47519]|0,i=v>>>r,i&3|0)return t=(i&1^1)+r|0,r=190116+(t<<1<<2)|0,i=r+8|0,n=e[i>>2]|0,o=n+8|0,l=e[o>>2]|0,(l|0)==(r|0)?e[47519]=v&~(1<>2]=r,e[i>>2]=l),Z=t<<3,e[n+4>>2]=Z|3,Z=n+Z+4|0,e[Z>>2]=e[Z>>2]|1,Z=o,g=W,Z|0;if(p=e[47521]|0,w>>>0>p>>>0){if(i|0)return t=2<>>12&16,t=t>>>A,i=t>>>5&8,t=t>>>i,l=t>>>2&4,t=t>>>l,r=t>>>1&2,t=t>>>r,n=t>>>1&1,n=(i|A|l|r|n)+(t>>>n)|0,t=190116+(n<<1<<2)|0,r=t+8|0,l=e[r>>2]|0,A=l+8|0,i=e[A>>2]|0,(i|0)==(t|0)?(r=v&~(1<>2]=t,e[r>>2]=i,r=v),Z=n<<3,s=Z-w|0,e[l+4>>2]=w|3,o=l+w|0,e[o+4>>2]=s|1,e[l+Z>>2]=s,p|0&&(n=e[47524]|0,t=p>>>3,i=190116+(t<<1<<2)|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=n,e[t+12>>2]=n,e[n+8>>2]=t,e[n+12>>2]=i),e[47521]=s,e[47524]=o,Z=A,g=W,Z|0;if(c=e[47520]|0,c){if(i=(c&0-c)+-1|0,A=i>>>12&16,i=i>>>A,s=i>>>5&8,i=i>>>s,f=i>>>2&4,i=i>>>f,n=i>>>1&2,i=i>>>n,r=i>>>1&1,r=e[190380+((s|A|f|n|r)+(i>>>r)<<2)>>2]|0,i=(e[r+4>>2]&-8)-w|0,n=e[r+16+(((e[r+16>>2]|0)==0&1)<<2)>>2]|0,!n)f=r,s=i;else{do A=(e[n+4>>2]&-8)-w|0,f=A>>>0>>0,i=f?A:i,r=f?n:r,n=e[n+16+(((e[n+16>>2]|0)==0&1)<<2)>>2]|0;while(n|0);f=r,s=i}if(A=f+w|0,A>>>0>f>>>0){o=e[f+24>>2]|0,t=e[f+12>>2]|0;do if((t|0)==(f|0)){if(r=f+20|0,t=e[r>>2]|0,!t&&(r=f+16|0,t=e[r>>2]|0,!t)){i=0;break}for(;;){if(i=t+20|0,n=e[i>>2]|0,n|0){t=n,r=i;continue}if(i=t+16|0,n=e[i>>2]|0,n)t=n,r=i;else break}e[r>>2]=0,i=t}else i=e[f+8>>2]|0,e[i+12>>2]=t,e[t+8>>2]=i,i=t;while(0);do if(o|0){if(t=e[f+28>>2]|0,r=190380+(t<<2)|0,(f|0)==(e[r>>2]|0)){if(e[r>>2]=i,!i){e[47520]=c&~(1<>2]|0)!=(f|0)&1)<<2)>>2]=i,!i)break;e[i+24>>2]=o,t=e[f+16>>2]|0,t|0&&(e[i+16>>2]=t,e[t+24>>2]=i),t=e[f+20>>2]|0,t|0&&(e[i+20>>2]=t,e[t+24>>2]=i)}while(0);return s>>>0<16?(Z=s+w|0,e[f+4>>2]=Z|3,Z=f+Z+4|0,e[Z>>2]=e[Z>>2]|1):(e[f+4>>2]=w|3,e[A+4>>2]=s|1,e[A+s>>2]=s,p|0&&(n=e[47524]|0,t=p>>>3,i=190116+(t<<1<<2)|0,t=1<>2]|0):(e[47519]=v|t,t=i,r=i+8|0),e[r>>2]=n,e[t+12>>2]=n,e[n+8>>2]=t,e[n+12>>2]=i),e[47521]=s,e[47524]=A),Z=f+8|0,g=W,Z|0}else p=w}else p=w}else p=w}else if(r>>>0<=4294967231)if(r=r+11|0,w=r&-8,f=e[47520]|0,f){n=0-w|0,r=r>>>8,r?w>>>0>16777215?c=31:(v=(r+1048320|0)>>>16&8,L=r<>>16&4,L=L<>>16&2,c=14-(p|v|c)+(L<>>15)|0,c=w>>>(c+7|0)&1|c<<1):c=0,i=e[190380+(c<<2)>>2]|0;e:do if(!i)i=0,r=0,L=57;else for(r=0,A=i,s=w<<((c|0)==31?0:25-(c>>>1)|0),i=0;;){if(o=(e[A+4>>2]&-8)-w|0,o>>>0>>0)if(o)r=A,n=o;else{n=0,i=A,r=A,L=61;break e}if(o=e[A+20>>2]|0,A=e[A+16+(s>>>31<<2)>>2]|0,i=(o|0)==0|(o|0)==(A|0)?i:o,o=(A|0)==0,o){L=57;break}else s=s<<((o^1)&1)}while(0);if((L|0)==57){if((i|0)==0&(r|0)==0){if(r=2<>>12&16,v=v>>>A,s=v>>>5&8,v=v>>>s,c=v>>>2&4,v=v>>>c,p=v>>>1&2,v=v>>>p,i=v>>>1&1,r=0,i=e[190380+((s|A|c|p|i)+(v>>>i)<<2)>>2]|0}i?L=61:(A=r,s=n)}if((L|0)==61)for(;;)if(L=0,p=(e[i+4>>2]&-8)-w|0,v=p>>>0>>0,n=v?p:n,r=v?i:r,i=e[i+16+(((e[i+16>>2]|0)==0&1)<<2)>>2]|0,i)L=61;else{A=r,s=n;break}if(A|0&&s>>>0<((e[47521]|0)-w|0)>>>0){if(l=A+w|0,l>>>0<=A>>>0)return Z=0,g=W,Z|0;o=e[A+24>>2]|0,t=e[A+12>>2]|0;do if((t|0)==(A|0)){if(r=A+20|0,t=e[r>>2]|0,!t&&(r=A+16|0,t=e[r>>2]|0,!t)){t=0;break}for(;;){if(i=t+20|0,n=e[i>>2]|0,n|0){t=n,r=i;continue}if(i=t+16|0,n=e[i>>2]|0,n)t=n,r=i;else break}e[r>>2]=0}else Z=e[A+8>>2]|0,e[Z+12>>2]=t,e[t+8>>2]=Z;while(0);do if(o){if(r=e[A+28>>2]|0,i=190380+(r<<2)|0,(A|0)==(e[i>>2]|0)){if(e[i>>2]=t,!t){n=f&~(1<>2]|0)!=(A|0)&1)<<2)>>2]=t,!t){n=f;break}e[t+24>>2]=o,r=e[A+16>>2]|0,r|0&&(e[t+16>>2]=r,e[r+24>>2]=t),r=e[A+20>>2]|0,r&&(e[t+20>>2]=r,e[r+24>>2]=t),n=f}else n=f;while(0);do if(s>>>0>=16){if(e[A+4>>2]=w|3,e[l+4>>2]=s|1,e[l+s>>2]=s,t=s>>>3,s>>>0<256){i=190116+(t<<1<<2)|0,r=e[47519]|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=l,e[t+12>>2]=l,e[l+8>>2]=t,e[l+12>>2]=i;break}if(t=s>>>8,t?s>>>0>16777215?t=31:(L=(t+1048320|0)>>>16&8,Z=t<>>16&4,Z=Z<<_,t=(Z+245760|0)>>>16&2,t=14-(_|L|t)+(Z<>>15)|0,t=s>>>(t+7|0)&1|t<<1):t=0,i=190380+(t<<2)|0,e[l+28>>2]=t,r=l+16|0,e[r+4>>2]=0,e[r>>2]=0,r=1<>2]=l,e[l+24>>2]=i,e[l+12>>2]=l,e[l+8>>2]=l;break}for(r=s<<((t|0)==31?0:25-(t>>>1)|0),i=e[i>>2]|0;;){if((e[i+4>>2]&-8|0)==(s|0)){L=97;break}if(n=i+16+(r>>>31<<2)|0,t=e[n>>2]|0,t)r=r<<1,i=t;else{L=96;break}}if((L|0)==96){e[n>>2]=l,e[l+24>>2]=i,e[l+12>>2]=l,e[l+8>>2]=l;break}else if((L|0)==97){L=i+8|0,Z=e[L>>2]|0,e[Z+12>>2]=l,e[L>>2]=l,e[l+8>>2]=Z,e[l+12>>2]=i,e[l+24>>2]=0;break}}else Z=s+w|0,e[A+4>>2]=Z|3,Z=A+Z+4|0,e[Z>>2]=e[Z>>2]|1;while(0);return Z=A+8|0,g=W,Z|0}else p=w}else p=w;else p=-1;while(0);if(i=e[47521]|0,i>>>0>=p>>>0)return t=i-p|0,r=e[47524]|0,t>>>0>15?(Z=r+p|0,e[47524]=Z,e[47521]=t,e[Z+4>>2]=t|1,e[r+i>>2]=t,e[r+4>>2]=p|3):(e[47521]=0,e[47524]=0,e[r+4>>2]=i|3,Z=r+i+4|0,e[Z>>2]=e[Z>>2]|1),Z=r+8|0,g=W,Z|0;if(A=e[47522]|0,A>>>0>p>>>0)return _=A-p|0,e[47522]=_,Z=e[47525]|0,L=Z+p|0,e[47525]=L,e[L+4>>2]=_|1,e[Z+4>>2]=p|3,Z=Z+8|0,g=W,Z|0;if(e[47637]|0?r=e[47639]|0:(e[47639]=4096,e[47638]=4096,e[47640]=-1,e[47641]=-1,e[47642]=0,e[47630]=0,e[47637]=m&-16^1431655768,r=4096),c=p+48|0,f=p+47|0,s=r+f|0,o=0-r|0,w=s&o,w>>>0<=p>>>0||(r=e[47629]|0,r|0&&(v=e[47627]|0,m=v+w|0,m>>>0<=v>>>0|m>>>0>r>>>0)))return Z=0,g=W,Z|0;e:do if(e[47630]&4)t=0,L=133;else{i=e[47525]|0;r:do if(i){for(n=190524;r=e[n>>2]|0,!(r>>>0<=i>>>0&&(x=n+4|0,(r+(e[x>>2]|0)|0)>>>0>i>>>0));)if(r=e[n+8>>2]|0,r)n=r;else{L=118;break r}if(t=s-A&o,t>>>0<2147483647)if(r=ou(t|0)|0,(r|0)==((e[n>>2]|0)+(e[x>>2]|0)|0)){if((r|0)!=-1){s=t,l=r,L=135;break e}}else n=r,L=126;else t=0}else L=118;while(0);do if((L|0)==118)if(i=ou(0)|0,(i|0)!=-1&&(t=i,E=e[47638]|0,B=E+-1|0,t=(B&t|0?(B+t&0-E)-t|0:0)+w|0,E=e[47627]|0,B=t+E|0,t>>>0>p>>>0&t>>>0<2147483647)){if(x=e[47629]|0,x|0&&B>>>0<=E>>>0|B>>>0>x>>>0){t=0;break}if(r=ou(t|0)|0,(r|0)==(i|0)){s=t,l=i,L=135;break e}else n=r,L=126}else t=0;while(0);do if((L|0)==126){if(i=0-t|0,!(c>>>0>t>>>0&(t>>>0<2147483647&(n|0)!=-1)))if((n|0)==-1){t=0;break}else{s=t,l=n,L=135;break e}if(r=e[47639]|0,r=f-t+r&0-r,r>>>0>=2147483647){s=t,l=n,L=135;break e}if((ou(r|0)|0)==-1){ou(i|0)|0,t=0;break}else{s=r+t|0,l=n,L=135;break e}}while(0);e[47630]=e[47630]|4,L=133}while(0);if((L|0)==133&&w>>>0<2147483647&&(l=ou(w|0)|0,x=ou(0)|0,z=x-l|0,_=z>>>0>(p+40|0)>>>0,!((l|0)==-1|_^1|l>>>0>>0&((l|0)!=-1&(x|0)!=-1)^1))&&(s=_?z:t,L=135),(L|0)==135){t=(e[47627]|0)+s|0,e[47627]=t,t>>>0>(e[47628]|0)>>>0&&(e[47628]=t),c=e[47525]|0;do if(c){for(t=190524;;){if(r=e[t>>2]|0,i=t+4|0,n=e[i>>2]|0,(l|0)==(r+n|0)){L=143;break}if(o=e[t+8>>2]|0,o)t=o;else break}if((L|0)==143&&!(e[t+12>>2]&8|0)&&l>>>0>c>>>0&r>>>0<=c>>>0){e[i>>2]=n+s,Z=(e[47522]|0)+s|0,_=c+8|0,_=_&7|0?0-_&7:0,L=c+_|0,_=Z-_|0,e[47525]=L,e[47522]=_,e[L+4>>2]=_|1,e[c+Z+4>>2]=40,e[47526]=e[47641];break}for(l>>>0<(e[47523]|0)>>>0&&(e[47523]=l),r=l+s|0,t=190524;;){if((e[t>>2]|0)==(r|0)){L=151;break}if(t=e[t+8>>2]|0,!t){r=190524;break}}if((L|0)==151)if(e[t+12>>2]&8)r=190524;else{e[t>>2]=l,w=t+4|0,e[w>>2]=(e[w>>2]|0)+s,w=l+8|0,w=l+(w&7|0?0-w&7:0)|0,t=r+8|0,t=r+(t&7|0?0-t&7:0)|0,f=w+p|0,A=t-w-p|0,e[w+4>>2]=p|3;do if((c|0)!=(t|0)){if((e[47524]|0)==(t|0)){Z=(e[47521]|0)+A|0,e[47521]=Z,e[47524]=f,e[f+4>>2]=Z|1,e[f+Z>>2]=Z;break}if(r=e[t+4>>2]|0,(r&3|0)==1){s=r&-8,n=r>>>3;e:do if(r>>>0<256)if(r=e[t+8>>2]|0,i=e[t+12>>2]|0,(i|0)==(r|0)){e[47519]=e[47519]&~(1<>2]=i,e[i+8>>2]=r;break}else{l=e[t+24>>2]|0,r=e[t+12>>2]|0;do if((r|0)==(t|0)){if(n=t+16|0,i=n+4|0,r=e[i>>2]|0,!r)if(r=e[n>>2]|0,r)i=n;else{r=0;break}for(;;){if(n=r+20|0,o=e[n>>2]|0,o|0){r=o,i=n;continue}if(n=r+16|0,o=e[n>>2]|0,o)r=o,i=n;else break}e[i>>2]=0}else Z=e[t+8>>2]|0,e[Z+12>>2]=r,e[r+8>>2]=Z;while(0);if(!l)break;i=e[t+28>>2]|0,n=190380+(i<<2)|0;do if((e[n>>2]|0)!=(t|0)){if(e[l+16+(((e[l+16>>2]|0)!=(t|0)&1)<<2)>>2]=r,!r)break e}else{if(e[n>>2]=r,r|0)break;e[47520]=e[47520]&~(1<>2]=l,i=t+16|0,n=e[i>>2]|0,n|0&&(e[r+16>>2]=n,e[n+24>>2]=r),i=e[i+4>>2]|0,!i)break;e[r+20>>2]=i,e[i+24>>2]=r}while(0);t=t+s|0,o=s+A|0}else o=A;if(t=t+4|0,e[t>>2]=e[t>>2]&-2,e[f+4>>2]=o|1,e[f+o>>2]=o,t=o>>>3,o>>>0<256){i=190116+(t<<1<<2)|0,r=e[47519]|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=f,e[t+12>>2]=f,e[f+8>>2]=t,e[f+12>>2]=i;break}t=o>>>8;do if(!t)t=0;else{if(o>>>0>16777215){t=31;break}L=(t+1048320|0)>>>16&8,Z=t<>>16&4,Z=Z<<_,t=(Z+245760|0)>>>16&2,t=14-(_|L|t)+(Z<>>15)|0,t=o>>>(t+7|0)&1|t<<1}while(0);if(n=190380+(t<<2)|0,e[f+28>>2]=t,r=f+16|0,e[r+4>>2]=0,e[r>>2]=0,r=e[47520]|0,i=1<>2]=f,e[f+24>>2]=n,e[f+12>>2]=f,e[f+8>>2]=f;break}for(r=o<<((t|0)==31?0:25-(t>>>1)|0),i=e[n>>2]|0;;){if((e[i+4>>2]&-8|0)==(o|0)){L=192;break}if(n=i+16+(r>>>31<<2)|0,t=e[n>>2]|0,t)r=r<<1,i=t;else{L=191;break}}if((L|0)==191){e[n>>2]=f,e[f+24>>2]=i,e[f+12>>2]=f,e[f+8>>2]=f;break}else if((L|0)==192){L=i+8|0,Z=e[L>>2]|0,e[Z+12>>2]=f,e[L>>2]=f,e[f+8>>2]=Z,e[f+12>>2]=i,e[f+24>>2]=0;break}}else Z=(e[47522]|0)+A|0,e[47522]=Z,e[47525]=f,e[f+4>>2]=Z|1;while(0);return Z=w+8|0,g=W,Z|0}for(;t=e[r>>2]|0,!(t>>>0<=c>>>0&&(Z=t+(e[r+4>>2]|0)|0,Z>>>0>c>>>0));)r=e[r+8>>2]|0;o=Z+-47|0,r=o+8|0,r=o+(r&7|0?0-r&7:0)|0,o=c+16|0,r=r>>>0>>0?c:r,t=r+8|0,i=s+-40|0,_=l+8|0,_=_&7|0?0-_&7:0,L=l+_|0,_=i-_|0,e[47525]=L,e[47522]=_,e[L+4>>2]=_|1,e[l+i+4>>2]=40,e[47526]=e[47641],i=r+4|0,e[i>>2]=27,e[t>>2]=e[47631],e[t+4>>2]=e[47632],e[t+8>>2]=e[47633],e[t+12>>2]=e[47634],e[47631]=l,e[47632]=s,e[47634]=0,e[47633]=t,t=r+24|0;do L=t,t=t+4|0,e[t>>2]=7;while((L+8|0)>>>0>>0);if((r|0)!=(c|0)){if(l=r-c|0,e[i>>2]=e[i>>2]&-2,e[c+4>>2]=l|1,e[r>>2]=l,t=l>>>3,l>>>0<256){i=190116+(t<<1<<2)|0,r=e[47519]|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=c,e[t+12>>2]=c,e[c+8>>2]=t,e[c+12>>2]=i;break}if(t=l>>>8,t?l>>>0>16777215?i=31:(L=(t+1048320|0)>>>16&8,Z=t<>>16&4,Z=Z<<_,i=(Z+245760|0)>>>16&2,i=14-(_|L|i)+(Z<>>15)|0,i=l>>>(i+7|0)&1|i<<1):i=0,n=190380+(i<<2)|0,e[c+28>>2]=i,e[c+20>>2]=0,e[o>>2]=0,t=e[47520]|0,r=1<>2]=c,e[c+24>>2]=n,e[c+12>>2]=c,e[c+8>>2]=c;break}for(r=l<<((i|0)==31?0:25-(i>>>1)|0),i=e[n>>2]|0;;){if((e[i+4>>2]&-8|0)==(l|0)){L=213;break}if(n=i+16+(r>>>31<<2)|0,t=e[n>>2]|0,t)r=r<<1,i=t;else{L=212;break}}if((L|0)==212){e[n>>2]=c,e[c+24>>2]=i,e[c+12>>2]=c,e[c+8>>2]=c;break}else if((L|0)==213){L=i+8|0,Z=e[L>>2]|0,e[Z+12>>2]=c,e[L>>2]=c,e[c+8>>2]=Z,e[c+12>>2]=i,e[c+24>>2]=0;break}}}else Z=e[47523]|0,(Z|0)==0|l>>>0>>0&&(e[47523]=l),e[47631]=l,e[47632]=s,e[47634]=0,e[47528]=e[47637],e[47527]=-1,e[47532]=190116,e[47531]=190116,e[47534]=190124,e[47533]=190124,e[47536]=190132,e[47535]=190132,e[47538]=190140,e[47537]=190140,e[47540]=190148,e[47539]=190148,e[47542]=190156,e[47541]=190156,e[47544]=190164,e[47543]=190164,e[47546]=190172,e[47545]=190172,e[47548]=190180,e[47547]=190180,e[47550]=190188,e[47549]=190188,e[47552]=190196,e[47551]=190196,e[47554]=190204,e[47553]=190204,e[47556]=190212,e[47555]=190212,e[47558]=190220,e[47557]=190220,e[47560]=190228,e[47559]=190228,e[47562]=190236,e[47561]=190236,e[47564]=190244,e[47563]=190244,e[47566]=190252,e[47565]=190252,e[47568]=190260,e[47567]=190260,e[47570]=190268,e[47569]=190268,e[47572]=190276,e[47571]=190276,e[47574]=190284,e[47573]=190284,e[47576]=190292,e[47575]=190292,e[47578]=190300,e[47577]=190300,e[47580]=190308,e[47579]=190308,e[47582]=190316,e[47581]=190316,e[47584]=190324,e[47583]=190324,e[47586]=190332,e[47585]=190332,e[47588]=190340,e[47587]=190340,e[47590]=190348,e[47589]=190348,e[47592]=190356,e[47591]=190356,e[47594]=190364,e[47593]=190364,Z=s+-40|0,_=l+8|0,_=_&7|0?0-_&7:0,L=l+_|0,_=Z-_|0,e[47525]=L,e[47522]=_,e[L+4>>2]=_|1,e[l+Z+4>>2]=40,e[47526]=e[47641];while(0);if(t=e[47522]|0,t>>>0>p>>>0)return _=t-p|0,e[47522]=_,Z=e[47525]|0,L=Z+p|0,e[47525]=L,e[L+4>>2]=_|1,e[Z+4>>2]=p|3,Z=Z+8|0,g=W,Z|0}return e[(kr()|0)>>2]=12,Z=0,g=W,Z|0}function r0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;if(r){i=r+-8|0,o=e[47523]|0,r=e[r+-4>>2]|0,t=r&-8,c=i+t|0;do if(r&1)A=i,s=i;else{if(n=e[i>>2]|0,!(r&3)||(s=i+(0-n)|0,l=n+t|0,s>>>0>>0))return;if((e[47524]|0)==(s|0)){if(r=c+4|0,t=e[r>>2]|0,(t&3|0)!=3){A=s,t=l;break}e[47521]=l,e[r>>2]=t&-2,e[s+4>>2]=l|1,e[s+l>>2]=l;return}if(i=n>>>3,n>>>0<256)if(r=e[s+8>>2]|0,t=e[s+12>>2]|0,(t|0)==(r|0)){e[47519]=e[47519]&~(1<>2]=t,e[t+8>>2]=r,A=s,t=l;break}o=e[s+24>>2]|0,r=e[s+12>>2]|0;do if((r|0)==(s|0)){if(i=s+16|0,t=i+4|0,r=e[t>>2]|0,!r)if(r=e[i>>2]|0,r)t=i;else{r=0;break}for(;;){if(i=r+20|0,n=e[i>>2]|0,n|0){r=n,t=i;continue}if(i=r+16|0,n=e[i>>2]|0,n)r=n,t=i;else break}e[t>>2]=0}else A=e[s+8>>2]|0,e[A+12>>2]=r,e[r+8>>2]=A;while(0);if(o){if(t=e[s+28>>2]|0,i=190380+(t<<2)|0,(e[i>>2]|0)==(s|0)){if(e[i>>2]=r,!r){e[47520]=e[47520]&~(1<>2]|0)!=(s|0)&1)<<2)>>2]=r,!r){A=s,t=l;break}e[r+24>>2]=o,t=s+16|0,i=e[t>>2]|0,i|0&&(e[r+16>>2]=i,e[i+24>>2]=r),t=e[t+4>>2]|0,t?(e[r+20>>2]=t,e[t+24>>2]=r,A=s,t=l):(A=s,t=l)}else A=s,t=l}while(0);if(!(s>>>0>=c>>>0)&&(r=c+4|0,n=e[r>>2]|0,!!(n&1))){if(n&2)e[r>>2]=n&-2,e[A+4>>2]=t|1,e[s+t>>2]=t,o=t;else{if((e[47525]|0)==(c|0)){if(c=(e[47522]|0)+t|0,e[47522]=c,e[47525]=A,e[A+4>>2]=c|1,(A|0)!=(e[47524]|0))return;e[47524]=0,e[47521]=0;return}if((e[47524]|0)==(c|0)){c=(e[47521]|0)+t|0,e[47521]=c,e[47524]=s,e[A+4>>2]=c|1,e[s+c>>2]=c;return}o=(n&-8)+t|0,i=n>>>3;do if(n>>>0<256)if(t=e[c+8>>2]|0,r=e[c+12>>2]|0,(r|0)==(t|0)){e[47519]=e[47519]&~(1<>2]=r,e[r+8>>2]=t;break}else{l=e[c+24>>2]|0,r=e[c+12>>2]|0;do if((r|0)==(c|0)){if(i=c+16|0,t=i+4|0,r=e[t>>2]|0,!r)if(r=e[i>>2]|0,r)t=i;else{i=0;break}for(;;){if(i=r+20|0,n=e[i>>2]|0,n|0){r=n,t=i;continue}if(i=r+16|0,n=e[i>>2]|0,n)r=n,t=i;else break}e[t>>2]=0,i=r}else i=e[c+8>>2]|0,e[i+12>>2]=r,e[r+8>>2]=i,i=r;while(0);if(l|0){if(r=e[c+28>>2]|0,t=190380+(r<<2)|0,(e[t>>2]|0)==(c|0)){if(e[t>>2]=i,!i){e[47520]=e[47520]&~(1<>2]|0)!=(c|0)&1)<<2)>>2]=i,!i)break;e[i+24>>2]=l,r=c+16|0,t=e[r>>2]|0,t|0&&(e[i+16>>2]=t,e[t+24>>2]=i),r=e[r+4>>2]|0,r|0&&(e[i+20>>2]=r,e[r+24>>2]=i)}}while(0);if(e[A+4>>2]=o|1,e[s+o>>2]=o,(A|0)==(e[47524]|0)){e[47521]=o;return}}if(r=o>>>3,o>>>0<256){i=190116+(r<<1<<2)|0,t=e[47519]|0,r=1<>2]|0):(e[47519]=t|r,r=i,t=i+8|0),e[t>>2]=A,e[r+12>>2]=A,e[A+8>>2]=r,e[A+12>>2]=i;return}r=o>>>8,r?o>>>0>16777215?r=31:(s=(r+1048320|0)>>>16&8,c=r<>>16&4,c=c<>>16&2,r=14-(l|s|r)+(c<>>15)|0,r=o>>>(r+7|0)&1|r<<1):r=0,n=190380+(r<<2)|0,e[A+28>>2]=r,e[A+20>>2]=0,e[A+16>>2]=0,t=e[47520]|0,i=1<>>1)|0),i=e[n>>2]|0;;){if((e[i+4>>2]&-8|0)==(o|0)){r=73;break}if(n=i+16+(t>>>31<<2)|0,r=e[n>>2]|0,r)t=t<<1,i=r;else{r=72;break}}if((r|0)==72){e[n>>2]=A,e[A+24>>2]=i,e[A+12>>2]=A,e[A+8>>2]=A;break}else if((r|0)==73){s=i+8|0,c=e[s>>2]|0,e[c+12>>2]=A,e[s>>2]=A,e[A+8>>2]=c,e[A+12>>2]=i,e[A+24>>2]=0;break}}else e[47520]=t|i,e[n>>2]=A,e[A+24>>2]=n,e[A+12>>2]=A,e[A+8>>2]=A;while(0);if(c=(e[47527]|0)+-1|0,e[47527]=c,!c)r=190532;else return;for(;r=e[r>>2]|0,r;)r=r+8|0;e[47527]=-1}}}function Un(r,t){r=r|0,t=t|0;var i=0;return r?(i=N0(t,r)|0,(t|r)>>>0>65535&&(i=((i>>>0)/(r>>>0)|0|0)==(t|0)?i:-1)):i=0,r=Te(i)|0,!r||!(e[r+-4>>2]&3)||qr(r|0,0,i|0)|0,r|0}function V2(r,t){r=r|0,t=t|0;var i=0,n=0;return r?t>>>0>4294967231?(e[(kr()|0)>>2]=12,t=0,t|0):(i=GE0(r+-8|0,t>>>0<11?16:t+11&-8)|0,i|0?(t=i+8|0,t|0):(i=Te(t)|0,i?(n=e[r+-4>>2]|0,n=(n&-8)-(n&3|0?4:8)|0,u2(i|0,r|0,(n>>>0>>0?n:t)|0)|0,r0(r),t=i,t|0):(t=0,t|0))):(t=Te(t)|0,t|0)}function GE0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;if(w=r+4|0,p=e[w>>2]|0,i=p&-8,A=r+i|0,!(p&3))return t>>>0<256?(r=0,r|0):(i>>>0>=(t+4|0)>>>0&&(i-t|0)>>>0<=e[47639]<<1>>>0||(r=0),r|0);if(i>>>0>=t>>>0)return i=i-t|0,i>>>0<=15||(f=r+t|0,e[w>>2]=p&1|t|2,e[f+4>>2]=i|3,p=A+4|0,e[p>>2]=e[p>>2]|1,Sk(f,i)),r|0;if((e[47525]|0)==(A|0))return f=(e[47522]|0)+i|0,i=f-t|0,n=r+t|0,f>>>0<=t>>>0?(r=0,r|0):(e[w>>2]=p&1|t|2,e[n+4>>2]=i|1,e[47525]=n,e[47522]=i,r|0);if((e[47524]|0)==(A|0))return n=(e[47521]|0)+i|0,n>>>0>>0?(r=0,r|0):(i=n-t|0,i>>>0>15?(f=r+t|0,n=r+n|0,e[w>>2]=p&1|t|2,e[f+4>>2]=i|1,e[n>>2]=i,n=n+4|0,e[n>>2]=e[n>>2]&-2,n=f):(e[w>>2]=p&1|n|2,n=r+n+4|0,e[n>>2]=e[n>>2]|1,n=0,i=0),e[47521]=i,e[47524]=n,r|0);if(n=e[A+4>>2]|0,n&2|0||(c=(n&-8)+i|0,c>>>0>>0))return r=0,r|0;f=c-t|0,o=n>>>3;do if(n>>>0<256)if(n=e[A+8>>2]|0,i=e[A+12>>2]|0,(i|0)==(n|0)){e[47519]=e[47519]&~(1<>2]=i,e[i+8>>2]=n;break}else{s=e[A+24>>2]|0,i=e[A+12>>2]|0;do if((i|0)==(A|0)){if(o=A+16|0,n=o+4|0,i=e[n>>2]|0,i)l=n;else if(i=e[o>>2]|0,i)l=o;else{o=0;break}for(;;){if(o=i+20|0,n=e[o>>2]|0,n|0){i=n,l=o;continue}if(n=i+16|0,o=e[n>>2]|0,o)i=o,l=n;else break}e[l>>2]=0,o=i}else o=e[A+8>>2]|0,e[o+12>>2]=i,e[i+8>>2]=o,o=i;while(0);if(s|0){if(i=e[A+28>>2]|0,n=190380+(i<<2)|0,(e[n>>2]|0)==(A|0)){if(e[n>>2]=o,!o){e[47520]=e[47520]&~(1<>2]|0)!=(A|0)&1)<<2)>>2]=o,!o)break;e[o+24>>2]=s,i=A+16|0,n=e[i>>2]|0,n|0&&(e[o+16>>2]=n,e[n+24>>2]=o),i=e[i+4>>2]|0,i|0&&(e[o+20>>2]=i,e[i+24>>2]=o)}}while(0);return f>>>0<16?(e[w>>2]=c|p&1|2,p=r+c+4|0,e[p>>2]=e[p>>2]|1,r|0):(A=r+t|0,e[w>>2]=p&1|t|2,e[A+4>>2]=f|3,p=r+c+4|0,e[p>>2]=e[p>>2]|1,Sk(A,f),r|0)}function Sk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;A=r+t|0,i=e[r+4>>2]|0;do if(i&1)s=r;else{if(o=e[r>>2]|0,!(i&3))return;if(s=r+(0-o)|0,t=o+t|0,(e[47524]|0)==(s|0)){if(r=A+4|0,i=e[r>>2]|0,(i&3|0)!=3)break;e[47521]=t,e[r>>2]=i&-2,e[s+4>>2]=t|1,e[A>>2]=t;return}if(n=o>>>3,o>>>0<256)if(r=e[s+8>>2]|0,i=e[s+12>>2]|0,(i|0)==(r|0)){e[47519]=e[47519]&~(1<>2]=i,e[i+8>>2]=r;break}l=e[s+24>>2]|0,r=e[s+12>>2]|0;do if((r|0)==(s|0)){if(n=s+16|0,i=n+4|0,r=e[i>>2]|0,!r)if(r=e[n>>2]|0,r)i=n;else{r=0;break}for(;;){if(n=r+20|0,o=e[n>>2]|0,o|0){r=o,i=n;continue}if(n=r+16|0,o=e[n>>2]|0,o)r=o,i=n;else break}e[i>>2]=0}else o=e[s+8>>2]|0,e[o+12>>2]=r,e[r+8>>2]=o;while(0);if(l){if(i=e[s+28>>2]|0,n=190380+(i<<2)|0,(e[n>>2]|0)==(s|0)){if(e[n>>2]=r,!r){e[47520]=e[47520]&~(1<>2]|0)!=(s|0)&1)<<2)>>2]=r,!r)break;e[r+24>>2]=l,i=s+16|0,n=e[i>>2]|0,n|0&&(e[r+16>>2]=n,e[n+24>>2]=r),i=e[i+4>>2]|0,i&&(e[r+20>>2]=i,e[i+24>>2]=r)}}while(0);if(r=A+4|0,n=e[r>>2]|0,n&2)e[r>>2]=n&-2,e[s+4>>2]=t|1,e[s+t>>2]=t,o=t;else{if((e[47525]|0)==(A|0)){if(A=(e[47522]|0)+t|0,e[47522]=A,e[47525]=s,e[s+4>>2]=A|1,(s|0)!=(e[47524]|0))return;e[47524]=0,e[47521]=0;return}if((e[47524]|0)==(A|0)){A=(e[47521]|0)+t|0,e[47521]=A,e[47524]=s,e[s+4>>2]=A|1,e[s+A>>2]=A;return}o=(n&-8)+t|0,i=n>>>3;do if(n>>>0<256)if(r=e[A+8>>2]|0,t=e[A+12>>2]|0,(t|0)==(r|0)){e[47519]=e[47519]&~(1<>2]=t,e[t+8>>2]=r;break}else{l=e[A+24>>2]|0,t=e[A+12>>2]|0;do if((t|0)==(A|0)){if(i=A+16|0,r=i+4|0,t=e[r>>2]|0,!t)if(t=e[i>>2]|0,t)r=i;else{i=0;break}for(;;){if(i=t+20|0,n=e[i>>2]|0,n|0){t=n,r=i;continue}if(i=t+16|0,n=e[i>>2]|0,n)t=n,r=i;else break}e[r>>2]=0,i=t}else i=e[A+8>>2]|0,e[i+12>>2]=t,e[t+8>>2]=i,i=t;while(0);if(l|0){if(t=e[A+28>>2]|0,r=190380+(t<<2)|0,(e[r>>2]|0)==(A|0)){if(e[r>>2]=i,!i){e[47520]=e[47520]&~(1<>2]|0)!=(A|0)&1)<<2)>>2]=i,!i)break;e[i+24>>2]=l,t=A+16|0,r=e[t>>2]|0,r|0&&(e[i+16>>2]=r,e[r+24>>2]=i),t=e[t+4>>2]|0,t|0&&(e[i+20>>2]=t,e[t+24>>2]=i)}}while(0);if(e[s+4>>2]=o|1,e[s+o>>2]=o,(s|0)==(e[47524]|0)){e[47521]=o;return}}if(t=o>>>3,o>>>0<256){i=190116+(t<<1<<2)|0,r=e[47519]|0,t=1<>2]|0):(e[47519]=r|t,t=i,r=i+8|0),e[r>>2]=s,e[t+12>>2]=s,e[s+8>>2]=t,e[s+12>>2]=i;return}if(t=o>>>8,t?o>>>0>16777215?t=31:(l=(t+1048320|0)>>>16&8,A=t<>>16&4,A=A<>>16&2,t=14-(n|l|t)+(A<>>15)|0,t=o>>>(t+7|0)&1|t<<1):t=0,n=190380+(t<<2)|0,e[s+28>>2]=t,e[s+20>>2]=0,e[s+16>>2]=0,r=e[47520]|0,i=1<>2]=s,e[s+24>>2]=n,e[s+12>>2]=s,e[s+8>>2]=s;return}for(r=o<<((t|0)==31?0:25-(t>>>1)|0),i=e[n>>2]|0;;){if((e[i+4>>2]&-8|0)==(o|0)){t=69;break}if(n=i+16+(r>>>31<<2)|0,t=e[n>>2]|0,t)r=r<<1,i=t;else{t=68;break}}if((t|0)==68){e[n>>2]=s,e[s+24>>2]=i,e[s+12>>2]=s,e[s+8>>2]=s;return}else if((t|0)==69){l=i+8|0,A=e[l>>2]|0,e[A+12>>2]=s,e[l>>2]=s,e[s+8>>2]=A,e[s+12>>2]=i,e[s+24>>2]=0;return}}function ZE0(r,t){return r=r|0,t=t|0,r>>>0<9?(t=Te(t)|0,t|0):(t=WE0(r,t)|0,t|0)}function WE0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0;if(r=r>>>0>16?r:16,r+-1&r)for(i=16;;)if(i>>>0>>0)i=i<<1;else{r=i;break}if((-64-r|0)>>>0<=t>>>0)return e[(kr()|0)>>2]=12,s=0,s|0;if(l=t>>>0<11?16:t+11&-8,i=Te(l+12+r|0)|0,!i)return s=0,s|0;o=i+-8|0;do if(r+-1&i)if(n=(i+r+-1&0-r)+-8|0,t=o,n=(n-t|0)>>>0>15?n:n+r|0,t=n-t|0,r=i+-4|0,A=e[r>>2]|0,i=(A&-8)-t|0,A&3){A=n+4|0,e[A>>2]=i|e[A>>2]&1|2,i=n+i+4|0,e[i>>2]=e[i>>2]|1,e[r>>2]=t|e[r>>2]&1|2,e[A>>2]=e[A>>2]|1,Sk(o,t),r=n,t=n;break}else{e[n>>2]=(e[o>>2]|0)+t,e[n+4>>2]=i,r=n,t=n;break}else r=o,t=o;while(0);return r=r+4|0,i=e[r>>2]|0,i&3|0&&(s=i&-8,s>>>0>(l+16|0)>>>0)&&(A=s-l|0,o=t+l|0,e[r>>2]=l|i&1|2,e[o+4>>2]=A|3,s=t+s+4|0,e[s>>2]=e[s>>2]|1,Sk(o,A)),A=t+8|0,A|0}function DE0(r){r=r|0;var t=0,i=0;return t=g,g=g+16|0,i=t,e[i>>2]=HP(e[r+60>>2]|0)|0,r=Xn(Nw(6,i|0)|0)|0,g=t,r|0}function ME0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0;return c=g,g=g+32|0,n=c,s=c+16|0,e[s>>2]=t,o=s+4|0,A=r+48|0,f=e[A>>2]|0,e[o>>2]=i-((f|0)!=0&1),l=r+44|0,e[s+8>>2]=e[l>>2],e[s+12>>2]=f,e[n>>2]=e[r+60>>2],e[n+4>>2]=s,e[n+8>>2]=2,n=Xn(Mr0(145,n|0)|0)|0,(n|0)>=1?(s=e[o>>2]|0,n>>>0>s>>>0&&(o=e[l>>2]|0,l=r+4|0,e[l>>2]=o,e[r+8>>2]=o+(n-s),e[A>>2]|0&&(e[l>>2]=o+1,C[t+(i+-1)>>0]=C[o>>0]|0),n=i)):e[r>>2]=e[r>>2]|n&48^16,g=c,n|0}function jE0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return o=g,g=g+32|0,l=o,n=o+20|0,e[l>>2]=e[r+60>>2],e[l+4>>2]=0,e[l+8>>2]=t,e[l+12>>2]=n,e[l+16>>2]=i,(Xn(Dr0(140,l|0)|0)|0)<0?(e[n>>2]=-1,r=-1):r=e[n>>2]|0,g=o,r|0}function Xn(r){return r=r|0,r>>>0>4294963200&&(e[(kr()|0)>>2]=0-r,r=-1),r|0}function kr(){return 190572}function HP(r){return r=r|0,r|0}function NE0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return o=g,g=g+32|0,n=o,e[r+36>>2]=18,!(e[r>>2]&64|0)&&(e[n>>2]=e[r+60>>2],e[n+4>>2]=21523,e[n+8>>2]=o+16,wR(54,n|0)|0)&&(C[r+75>>0]=-1),n=JP(r,t,i)|0,g=o,n|0}function JP(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;p=g,g=g+48|0,f=p+16|0,l=p,o=p+32|0,A=r+28|0,n=e[A>>2]|0,e[o>>2]=n,c=r+20|0,n=(e[c>>2]|0)-n|0,e[o+4>>2]=n,e[o+8>>2]=t,e[o+12>>2]=i,n=n+i|0,s=r+60|0,e[l>>2]=e[s>>2],e[l+4>>2]=o,e[l+8>>2]=2,l=Xn(hR(146,l|0)|0)|0;e:do if((n|0)!=(l|0)){for(t=2;!((l|0)<0);)if(n=n-l|0,m=e[o+4>>2]|0,v=l>>>0>m>>>0,o=v?o+8|0:o,t=t+(v<<31>>31)|0,m=l-(v?m:0)|0,e[o>>2]=(e[o>>2]|0)+m,v=o+4|0,e[v>>2]=(e[v>>2]|0)-m,e[f>>2]=e[s>>2],e[f+4>>2]=o,e[f+8>>2]=t,l=Xn(hR(146,f|0)|0)|0,(n|0)==(l|0)){w=3;break e}e[r+16>>2]=0,e[A>>2]=0,e[c>>2]=0,e[r>>2]=e[r>>2]|32,(t|0)==2?i=0:i=i-(e[o+4>>2]|0)|0}else w=3;while(0);return(w|0)==3&&(m=e[r+44>>2]|0,e[r+16>>2]=m+(e[r+48>>2]|0),e[A>>2]=m,e[c>>2]=m),g=p,i|0}function UP(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[n>>2]=r,e[n+4>>2]=t,t=Xn(Yr0(91,n|0)|0)|0,g=i,t|0}function M2e(){}function QE0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0;A=g,g=g+32|0,s=A;do if((l&4095|0)==0&(((l|0)<0)<<31>>31&-4096|0)==0){if(t>>>0>2147483646){e[(kr()|0)>>2]=12,r=-1;break}e[s>>2]=r,e[s+4>>2]=t,e[s+8>>2]=i,e[s+12>>2]=n,e[s+16>>2]=o,e[s+20>>2]=l>>12,r=Xn(jr0(192,s|0)|0)|0}else e[(kr()|0)>>2]=22,r=-1;while(0);return g=A,r|0}function _k(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;n=t&255;e:do if(!n)r=r+(d2(r)|0)|0;else{if(r&3){i=t&255;do{if(o=C[r>>0]|0,!(o<<24>>24)||o<<24>>24==i<<24>>24)break e;r=r+1|0}while(r&3|0)}n=N0(n,16843009)|0,i=e[r>>2]|0;r:do if(!((i&-2139062144^-2139062144)&i+-16843009))do{if(o=i^n,(o&-2139062144^-2139062144)&o+-16843009|0)break r;r=r+4|0,i=e[r>>2]|0}while(!((i&-2139062144^-2139062144)&i+-16843009|0));while(0);for(i=t&255;o=C[r>>0]|0,!(!(o<<24>>24)||o<<24>>24==i<<24>>24);)r=r+1|0}while(0);return r|0}function d2(r){r=r|0;var t=0,i=0,n=0;n=r;e:do if(!(n&3))i=4;else for(t=n;;){if(!(C[r>>0]|0)){r=t;break e}if(r=r+1|0,t=r,!(t&3)){i=4;break}}while(0);if((i|0)==4){for(;t=e[r>>2]|0,!((t&-2139062144^-2139062144)&t+-16843009);)r=r+4|0;if((t&255)<<24>>24)do r=r+1|0;while(C[r>>0]|0)}return r-n|0}function TE0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;return s=g,g=g+48|0,l=s+16|0,o=s,n=s+32|0,t&4194368?(e[n>>2]=i,A=(e[n>>2]|0)+(4-1)&~(4-1),i=e[A>>2]|0,e[n>>2]=A+4,n=i):n=0,e[o>>2]=r,e[o+4>>2]=t|32768,e[o+8>>2]=n,n=Ly(5,o|0)|0,(t&524288|0)==0|(n|0)<0||(e[l>>2]=n,e[l+4>>2]=2,e[l+8>>2]=1,Hc(221,l|0)|0),A=Xn(n)|0,g=s,A|0}function FE0(r,t){r=r|0,t=t|0;var i=0,n=0;for(n=0;;){if((s0[144531+n>>0]|0)==(r|0)){r=2;break}if(i=n+1|0,(i|0)==87){i=144619,n=87,r=5;break}else n=i}if((r|0)==2&&(n?(i=144619,r=5):i=144619),(r|0)==5)for(;;){do r=i,i=i+1|0;while(C[r>>0]|0);if(n=n+-1|0,n)r=5;else break}return PE0(i,e[t+20>>2]|0)|0}function PE0(r,t){return r=r|0,t=t|0,YE0(r,t)|0}function YE0(r,t){return r=r|0,t=t|0,t?t=VE0(e[t>>2]|0,e[t+4>>2]|0,r)|0:t=0,(t|0?t:r)|0}function VE0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=(e[r>>2]|0)+1794895138|0,l=Da(e[r+8>>2]|0,v)|0,n=Da(e[r+12>>2]|0,v)|0,o=Da(e[r+16>>2]|0,v)|0;e:do if(l>>>0>>2>>>0&&(p=t-(l<<2)|0,n>>>0

>>0&o>>>0

>>0){X=2,N=88;break}if(w>>>0>p>>>0)break;if(w=v+1|0,(v|0)<1)v=w;else{X=w,N=88;break}}if((N|0)==88&&(N=0,m&(X|0)==2)){s=0,p=0;break e}if(t=_+t|0,(W|0)==(c|0))W=c;else break}m=(1<<_)+-1|0,z=1e9>>>_,v=0,w=W,p=W;do D=U+(p<<2)|0,P=e[D>>2]|0,r=(P>>>_)+v|0,e[D>>2]=r,v=N0(P&m,z)|0,r=(p|0)==(w|0)&(r|0)==0,f=r?f+-9|0:f,w=r?w+1&127:w,p=p+1&127;while((p|0)!=(c|0));if(v){if((L|0)!=(w|0))break;e[Z>>2]=e[Z>>2]|1}}e[U+(c<<2)>>2]=v,c=L}do w=p+W&127,f=c+1&127,(w|0)==(c|0)&&(e[U+(f+-1<<2)>>2]=0,c=f),s=s*1e9+ +((e[U+(w<<2)>>2]|0)>>>0),p=p+1|0;while((p|0)!=2);if(x=+(o|0),A=s*x,p=t+53|0,v=p-n|0,m=(v|0)<(i|0),w=m?(v|0)>0?v:0:i,(w|0)<53?(Y=+bP(+bA(1,105-w|0),A),E=+rY(A,+bA(1,53-w|0)),B=Y,s=E,E=Y+(A-E)):(B=0,s=0,E=A),f=W+2&127,(f|0)!=(c|0)){f=e[U+(f<<2)>>2]|0;do if(f>>>0>=5e8){if((f|0)!=5e8){s=x*.75+s;break}if((W+3&127|0)==(c|0)){s=x*.5+s;break}else{s=x*.75+s;break}}else{if(!(f|0)&&(W+3&127|0)==(c|0))break;s=x*.25+s}while(0);(53-w|0)>1&&+rY(s,1)==0?A=s+1:A=s}else A=s;s=E+A-B;do if((p&2147483647|0)>(-2-F|0)){if(F=!(+L0(+s)>=9007199254740992),t=t+((F^1)&1)|0,s=F?s:s*.5,(t+50|0)<=(q|0)&&!(A!=0&(m&((w|0)!=(v|0)|F))))break;e[(kr()|0)>>2]=34}while(0);s=+eY(s,t)}while(0);return g=t0,+s}function SY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;switch(l=r+4|0,i=e[l>>2]|0,s=r+100|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0,i|0){case 43:case 45:{n=(i|0)==45&1,i=e[l>>2]|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0,(t|0)!=0&(i+-48|0)>>>0>9&&e[s>>2]|0&&(e[l>>2]=(e[l>>2]|0)+-1);break}default:n=0}if((i+-48|0)>>>0>9)e[s>>2]|0?(e[l>>2]=(e[l>>2]|0)+-1,n=-2147483648,i=0):(n=-2147483648,i=0);else{o=0;do o=i+-48+(o*10|0)|0,i=e[l>>2]|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0;while((i+-48|0)>>>0<10&(o|0)<214748364);if(t=((o|0)<0)<<31>>31,(i+-48|0)>>>0<10)do t=Xf(o|0,t|0,10,0)|0,o=b,i=fr(i|0,((i|0)<0)<<31>>31|0,-48,-1)|0,o=fr(i|0,b|0,t|0,o|0)|0,t=b,i=e[l>>2]|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0;while((i+-48|0)>>>0<10&((t|0)<21474836|(t|0)==21474836&o>>>0<2061584302));if((i+-48|0)>>>0<10)do i=e[l>>2]|0,i>>>0<(e[s>>2]|0)>>>0?(e[l>>2]=i+1,i=s0[i>>0]|0):i=Ar(r)|0;while((i+-48|0)>>>0<10);e[s>>2]|0&&(e[l>>2]=(e[l>>2]|0)+-1),s=(n|0)!=0,i=Pl(0,0,o|0,t|0)|0,n=s?b:t,i=s?i:o}return b=n,i|0}function HB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;return n=r+84|0,l=e[n>>2]|0,s=i+256|0,o=Yf(l,0,s)|0,o=o|0?o-l|0:s,i=o>>>0>>0?o:i,u2(t|0,l|0,i|0)|0,e[r+4>>2]=l+i,t=l+o|0,e[r+8>>2]=t,e[n>>2]=t,i|0}function T1(r,t,i){return r=r|0,t=t|0,i=i|0,JB0(r,t,i)|0}function JB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return(e[r+76>>2]|0)>-1?(n=(qn(r)|0)==0,t=_Y(r,t,i)|0,n||N1(r)):t=_Y(r,t,i)|0,t|0}function _Y(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return(i|0)==1&&(t=t-(e[r+8>>2]|0)+(e[r+4>>2]|0)|0),n=r+20|0,o=r+28|0,(e[n>>2]|0)>>>0>(e[o>>2]|0)>>>0&&(oe[e[r+36>>2]&63](r,0,0)|0,(e[n>>2]|0)==0)?t=-1:(e[r+16>>2]=0,e[o>>2]=0,e[n>>2]=0,(oe[e[r+40>>2]&63](r,t,i)|0)<0?t=-1:(e[r+8>>2]=0,e[r+4>>2]=0,e[r>>2]=e[r>>2]&-17,t=0)),t|0}function F1(r){r=r|0;for(var t=0,i=0,n=0,o=0,l=0,s=0;n=C[r>>0]|0,t=n<<24>>24,o=r+1|0,cn(t)|0;)r=o;switch(t|0){case 45:{r=1,l=5;break}case 43:{r=0,l=5;break}default:s=0,i=r,r=n}if((l|0)==5&&(s=r,i=o,r=C[o>>0]|0),t=(r<<24>>24)+-48|0,t>>>0<10){r=0;do i=i+1|0,r=(r*10|0)-t|0,t=(C[i>>0]|0)+-48|0;while(t>>>0<10)}else r=0;return(s|0?r:0-r|0)|0}function Fl(r){return r=r|0,+ +P1(r,0)}function P1(r,t){return r=r|0,t=t|0,+ +UB0(r,t,1)}function UB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;A=g,g=g+128|0,s=A,o=s,l=o+124|0;do e[o>>2]=0,o=o+4|0;while((o|0)<(l|0));return o=s+4|0,e[o>>2]=r,l=s+8|0,e[l>>2]=-1,e[s+44>>2]=r,e[s+76>>2]=-1,v1(s,0),n=+xY(s,i,1),i=(e[o>>2]|0)-(e[l>>2]|0)+(e[s+108>>2]|0)|0,t|0&&(e[t>>2]=i|0?r+i|0:r),g=A,+n}function Jf(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0;e:do if(!i)t=0;else for(A=t;;){if(s=i>>>1,t=A+(N0(s,n)|0)|0,l=ke[o&127](r,t)|0,!l)break e;if((i|0)==1){t=0;break e}if(l=(l|0)<0,i=l?s:i-s|0,i)A=l?A:t;else{t=0;break}}while(0);return t|0}function XB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return o=r+2|0,n=r+4|0,i=Xf((M0[t+2>>1]|0)<<16|(M0[t>>1]|0)|0,M0[t+4>>1]|0|0,(M0[o>>1]|0)<<16|(M0[r>>1]|0)|0,M0[n>>1]|0|0)|0,t=fr(i|0,b|0,M0[t+6>>1]|0|0,0)|0,i=b,$[r>>1]=t,r=Qi(t|0,i|0,16)|0,$[o>>1]=r,$[n>>1]=i,b=i&65535,t|0}function Uf(r){r=r|0;var t=0;t=186608,e[t>>2]=r+-1,e[t+4>>2]=0}function ri(){var r=0,t=0,i=0;return t=186608,t=Xf(e[t>>2]|0,e[t+4>>2]|0,1284865837,1481765933)|0,t=fr(t|0,b|0,1,0)|0,r=b,i=186608,e[i>>2]=t,e[i+4>>2]=r,r=Qi(t|0,r|0,33)|0,r|0}function qB0(r){return r=r|0,$[96876]=$[32922]|0,$[96877]=$[32923]|0,$[96878]=$[32924]|0,$[32922]=$[r>>1]|0,$[32923]=$[r+2>>1]|0,$[32924]=$[r+4>>1]|0,193752}function NE(r){r=r|0;var t=0,i=0;t=g,g=g+16|0,i=t,$[i>>1]=13070,$[i+2>>1]=r,$[i+4>>1]=r>>>16,qB0(i)|0,g=t}function $B0(r){r=r|0;var t=0;return t=XB0(r,65850)|0,t=Br(t|0,b|0,4)|0,r=b|1072693248,e[ne>>2]=t,e[ne+4>>2]=r,+(+u[ne>>3]+-1)}function Rn(){return+ +$B0(65844)}function zY(r,t){return r=r|0,t=t|0,r?(e[t>>2]=0,e[t+4>>2]=0,e[t+8>>2]=0,e[t+12>>2]=0,e[t+16>>2]=0,e[t+20>>2]=0):t=Un(1,24)|0,t|0}function iu(r){r=r|0;var t=0,i=0;if(t=e[r>>2]|0,t|0)do r0(e[t>>2]|0),i=t,t=e[t+4>>2]|0,r0(i);while(t|0);r0(r)}function ui(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0;s=r+16|0;e:do if(e[s>>2]|0)t=0;else{if(f=r+12|0,l=e[f>>2]|0,l>>>0>>0){do if(t)if(i){s=r+8|0,e[s>>2]=i,l=1024,t=i;break}else{e[s>>2]=1,t=0;break e}else{if(l=o<<3,l=l>>>0>1024?l:1024,c=Te(8)|0,!c){e[s>>2]=1,t=0;break e}if(t=Te(l)|0,e[c>>2]=t,i=t,!t){r0(c),e[s>>2]=1,t=0;break e}e[c+4>>2]=0,s=r+4|0,A=e[s>>2]|0,A|0&&(e[A+4>>2]=c),e[r>>2]|0||(e[r>>2]=c),e[s>>2]=c,s=r+8|0,e[s>>2]=i}while(0);e[f>>2]=l}else s=r+8|0,t=e[s>>2]|0,i=t;i=i+o&3,i=(i|0?4-i|0:0)+o|0,e[s>>2]=t+i,e[f>>2]=l-i,n&&qr(t|0,0,i|0)|0}while(0);return t|0}function KB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0;L=g,g=g+48|0,A=L,z=bB0()|0;e:do if(!z)t=12;else{if(_=zY(0,0)|0,!_){QE(z),t=12;break}n=A+8|0,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,e[A>>2]=_,e[A+4>>2]=z,e[A+16>>2]=t,e[A+32>>2]=i,n=A+28|0,e[n>>2]=-1,t=eI0(A)|0;r:do if(t)l=0,s=0,A=0,o=0,n=0;else if(s=A+20|0,o=e[s>>2]|0,e[r>>2]=o+-1,c=e[A+8>>2]|0,t=e[n>>2]|0,(t|0)<(o|0))if(l=Un(1,68)|0,l){if(B=t>>>31^1,e[l+60>>2]=B,e[l+28>>2]=o,(i&8|0)==0|(B|0)!=0){if(t=LY(0,z,c,l)|0,t|0){s=0,A=0,o=0,n=0;break}if(o=e[l+40>>2]|0,(o|0)>0){if(t=(o<<2)+4|0,n=Te(t)|0,!n){s=0,A=0,t=12,o=0,n=0;break}e[l+32>>2]=n,qr(n|0,-1,t|0)|0}else n=0;if(B=Un(o<<1|1,4)|0,e[l+36>>2]=B,!B){s=0,A=0,t=12,o=0,n=0;break}if(t=Un(e[s>>2]|0,12)|0,!t){s=0,A=0,t=12,o=0,n=0;break}if(e[l+16>>2]=t,t=LY(_,z,c,l)|0,!t)t=n;else{s=0,A=0,o=0,n=0;break}}else t=0;if(B=A+24|0,t=rI0(_,z,c,B,t)|0,t)s=0,A=0,o=0,n=0;else if(t=e[B>>2]|0,e[B>>2]=t+1,t=Nt(_,0,0,t)|0,t|0&&(x=Ta(_,c,t)|0,(x|0)!=0))if(t=tI0(_,z,x)|0,t)s=0,A=0,o=0,n=0;else if(n=e[B>>2]|0,t=n<<2,m=Te(t)|0,m)if(E=Te(t)|0,E){if((n|0)>0&&qr(m|0,0,n<<2|0)|0,Nk(x,0,m,0)|0,o=e[B>>2]|0,(o|0)>0){t=0,n=0;do e[E+(n<<2)>>2]=t,v=m+(n<<2)|0,t=t+1+(e[v>>2]|0)|0,e[v>>2]=0,n=n+1|0;while((n|0)<(o|0));w=t}else w=0;if(p=Un(w+1|0,32)|0,p)if(e[l>>2]=p,v=l+4|0,e[v>>2]=w,t=Nk(x,p,m,E)|0,t)s=m,A=E,o=m,n=E;else{for(e[l+20>>2]=0,o=x+24|0,t=e[o>>2]|0,n=0;n=n+1|0,!((e[t>>2]|0)<=-1);)t=t+32|0;if(f=Un(n,32)|0,!f)s=m,A=E,t=12,o=m,n=E;else{if(e[l+8>>2]=f,n=e[o>>2]|0,o=e[n>>2]|0,(o|0)>-1){t=0;do{if(e[f+(t<<5)+8>>2]=p+(e[E+(o<<2)>>2]<<5),e[f+(t<<5)+12>>2]=o,A=f+(t<<5)+16|0,e[A>>2]=0,c=n+12|0,s=e[c>>2]|0,s|0){o=0;do Z=o,o=o+1|0;while((e[s+(Z<<2)>>2]|0)>-1);if(o=o<<2,s=Te(o)|0,e[A>>2]=s,!s){s=m,A=E,t=12,o=m,n=E;break r}u2(s|0,e[c>>2]|0,o|0)|0}e[f+(t<<5)+20>>2]=e[n+16>>2],t=t+1|0,n=n+32|0,o=e[n>>2]|0}while((o|0)>-1)}else t=0;e[f+(t<<5)+8>>2]=0,e[v>>2]=w,e[l+12>>2]=p+(e[E+(e[e[x+28>>2]>>2]<<2)>>2]<<5),e[l+52>>2]=e[B>>2],e[l+56>>2]=i,iu(_),QE(z),r0(m),r0(E),e[r+4>>2]=l,t=0;break e}}else s=m,A=E,t=12,o=m,n=E}else s=m,A=E,t=12,o=m,n=0;else s=m,A=0,t=12,o=0,n=0;else s=0,A=0,t=12,o=0,n=0}else s=0,A=0,t=12,o=0,n=0;else l=0,s=0,A=0,t=6,o=0,n=0;while(0);iu(_),QE(z),s|0&&r0(o),A|0&&r0(n),e[r+4>>2]=l,iI0(r)}while(0);return g=L,t|0}function bB0(){var r=0,t=0;r=Te(20)|0;do if(r)if(t=Te(2048)|0,e[r+16>>2]=t,t){e[r>>2]=512,e[r+4>>2]=1024e3,e[r+8>>2]=128,e[r+12>>2]=0;break}else{r0(r),r=0;break}while(0);return r|0}function QE(r){r=r|0,r0(e[r+16>>2]|0),r0(r)}function eI0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0;z=g,g=g+16|0,v=z+4|0,m=z,E=e[r+32>>2]&1,B=r+16|0,i=e[B>>2]|0,x=e[r+4>>2]|0,t=O2(x,0)|0;e:do if(!t){f=(E|0)!=0,w=r+8|0,p=r+12|0,t=0,c=1;r:for(;;){o=0,l=t,n=0;t:for(;;){if(t=C[i>>0]|0,f){if(t<<24>>24==40)break;(l|0)!=0&t<<24>>24==41?A=13:A=14}else if(t<<24>>24==92)switch(C[i+1>>0]|0){case 40:break t;case 41:{A=13;break}default:A=14}else A=14;if((A|0)==13)if(A=0,s=Nt(e[r>>2]|0,-1,-1,-1)|0,e[w>>2]=s,s)s=n;else{t=12;break e}else if((A|0)==14){if(A=0,t=WY(r,i)|0,t|0)break e;s=n,i=e[p>>2]|0}i:for(;;){n:for(;;){switch(t=C[i>>0]|0,t<<24>>24){case 42:case 92:break;default:{if(!f)break n;switch(t<<24>>24){case 123:case 63:case 43:break;default:break n}}}if(t=t<<24>>24==92,f&t)break;if(n=i+1|0,t)switch(C[n>>0]|0){case 123:case 63:case 43:break;default:break n}if(i=t?n:i,!f&&(i|0)==((e[B>>2]|0)+1|0)&&(C[i+-1>>0]|0)==94)break;if((C[i>>0]|0)==123){if(i=nI0(i+1|0,E,v,m)|0,!i){A=28;break r}t=e[m>>2]|0,n=e[r>>2]|0,t?A=36:t=Nt(n,-1,-1,-1)|0}else e[v>>2]=0,e[m>>2]=-1,t=C[i>>0]|0,t<<24>>24==43&&(e[v>>2]=1,t=C[i>>0]|0),t<<24>>24==63?(e[m>>2]=1,t=1):t=-1,i=i+1|0,n=e[r>>2]|0,A=36;if((A|0)==36&&(A=0,t=FE(n,e[w>>2]|0,e[v>>2]|0,t,0)|0),e[w>>2]=t,!t){t=12;break e}}t=Ta(e[r>>2]|0,o,e[w>>2]|0)|0,n=C[i>>0]|0;n:do if(f){if(n<<24>>24==124){A=40;break i}if((l|0)!=0&n<<24>>24==41|n<<24>>24==0)A=47;else{o=t,n=s;continue t}}else{switch(n<<24>>24){case 0:{A=47;break n}case 92:break;default:{o=t,n=s;continue t}}switch(C[i+1>>0]|0){case 124:case 41:break;default:{o=t,n=s;continue t}}if(t=nu(e[r>>2]|0,s,t)|0,(C[i+1>>0]|0)==124){n=2;break i}if(!l){t=8;break e}i=i+2|0,n=92}while(0);if((A|0)==47&&(A=0,t=nu(e[r>>2]|0,s,t)|0,i=n<<24>>24==41?i+1|0:i),t=oI0(r,t,$n(x)|0)|0,t|0)break e;if(t=n<<24>>24==0,n=(l|0)<1,n&t){A=50;break r}if(n|t){t=8;break e}o=m1(x)|0,l=l+-1|0,s=m1(x)|0}(A|0)==40&&(n=1,t=nu(e[r>>2]|0,s,t)|0),o=0,i=i+n|0,n=t}if(t=ir(x,n)|0,t|0||(t=ir(x,o)|0,t|0)||(t=O2(x,c)|0,t|0))break e;t=l+1|0,c=c+1|0,i=f?i+1|0:i+2|0}if((A|0)==28){t=10;break}else if((A|0)==50){e[r+20>>2]=c,t=0;break}}while(0);return g=z,t|0}function LY(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0;W=Gn(t)|0,N=(r|0)==0|(n|0)==0,N||(e[n+48>>2]=0,e[e[n+36>>2]>>2]=-1),l=e[n+28>>2]|0,T=Te((l<<3)+8|0)|0;do if(!T)o=12;else{if(e[T>>2]=-1,D=Te((l<<2)+4|0)|0,!D){r0(T),o=12;break}for(e[D>>2]=-1,o=0;!(o>>>0>l>>>0);)o=o+1|0;ir(t,i)|0,o=O2(t,0)|0;e:do if((o|0)!=0|(Gn(t)|0)<=(W|0))i=T,p=0,l=0,w=0,f=-1;else for(_=n+32|0,L=n+36|0,Z=n+16|0,i=T,p=0,l=0,w=0,z=1,f=-1,x=0;;){r:do switch($n(t)|0){case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)|0,o?(m=z,v=x):(o=O2(t,0)|0,o?(m=z,v=x):(s=c+20|0,o=O2(t,(e[s>>2]|0)+z|0)|0,o?(m=z,v=x):((e[s>>2]|0)>0?(s=(e[A+20>>2]|0)>0,o=s?z:-1,s=z+(s&1)|0):(o=-1,s=z),o=O2(t,o)|0,o?(m=s,v=x):(o=O2(t,4)|0,o?(m=s,v=x):(o=ir(t,c)|0,o?(m=s,v=x):(m=s,o=O2(t,0)|0,v=x))))))));break}case 2:{if(s=e[E+4>>2]|0,N){if((e[i>>2]|0)>-1?o=1:o=(C[s+12>>0]&1)!=0,o=O2(t,o&1)|0,o|0){m=z,v=x;break t}}else{if(o=O2(t,w)|0,o|0){m=z,v=x;break t}if(o=O2(t,C[s+12>>0]&1)|0,o|0){m=z,v=x;break t}}if(o=ir(t,E)|0,o)m=z,v=x;else if(o=O2(t,1)|0,o)m=z,v=x;else if(o=ir(t,e[s>>2]|0)|0,o)m=z,v=x;else if(o=O2(t,0)|0,o)m=z,v=x;else{if((e[i>>2]|0)<=-1&&!(C[s+12>>0]&1)){m=z,o=0,v=0;break t}if(N)o=0;else{if(o=PE(r,E,w)|0,e[(e[_>>2]|0)+(w<<2)>>2]=C[s+12>>0]&1?1:x,(f|0)>-1){for(A=e[L>>2]|0,s=0;c=A+(s<<2)|0,v=s+1|0,(e[c>>2]|0)>-1;)s=v;e[c>>2]=w,e[A+(v<<2)>>2]=f,e[A+(s+2<<2)>>2]=-1,l=l+1|0,f=-1}Yk(i,n,w)}e[i>>2]=-1,m=z+1|0,v=0,p=p+1|0,w=z}break}case 3:{if(A=e[E+4>>2]|0,c=e[A>>2]|0,A=e[A+4>>2]|0,s=(e[i>>2]|0)>-1,m=z+1|0,o=O2(t,s?m:z)|0,o)m=z,v=x;else if(o=O2(t,s?z:w)|0,o)m=z,v=x;else if(o=ir(t,i)|0,o)m=z,v=x;else if(o=O2(t,(e[i>>2]|0)>>>31^1)|0,o)m=z,v=x;else if(o=ir(t,E)|0,o)m=z,v=x;else if(o=ir(t,A)|0,o)m=z,v=x;else if(o=ir(t,c)|0,o)m=z,v=x;else if(o=O2(t,3)|0,o)m=z,v=x;else if(o=ir(t,A)|0,o)m=z,v=x;else if(o=O2(t,0)|0,o)m=z,v=x;else{if(o=O2(t,2)|0,o|0){m=z,v=x;break t}if(o=ir(t,c)|0,o|0){m=z,v=x;break t}if(o=O2(t,0)|0,o|0){m=z,v=x;break t}if((e[i>>2]|0)>-1){if(N)o=0;else{if(o=PE(r,E,w)|0,e[(e[_>>2]|0)+(w<<2)>>2]=x,(f|0)>-1){for(A=e[L>>2]|0,s=0;c=A+(s<<2)|0,v=s+1|0,(e[c>>2]|0)>-1;)s=v;e[c>>2]=w,e[A+(v<<2)>>2]=f,e[A+(s+2<<2)>>2]=-1,l=l+1|0,f=-1}Yk(i,n,w)}e[i>>2]=-1,p=p+1|0,w=z,s=m}else o=0,s=z;z=(e[E+16>>2]|0)>0,m=z?s+2|0:s,v=x,w=z?s+1|0:w}break}default:m=z,o=0,v=x}while(0);if(A=e[B>>2]|0,(A|0)>-1){s=0;do c=D+(s<<2)|0,s=s+1|0;while((e[c>>2]|0)>-1);e[c>>2]=A,e[D+(s<<2)>>2]=-1,A=m,s=v}else A=m,s=v;break}case 1:{o=m1(t)|0,N?(s=e[(e[e[o+4>>2]>>2]|0)+20>>2]|0,e[o+20>>2]=($n(t)|0)+s,s=0,f=-1):(E=$n(t)|0,B=$n(t)|0,s=E,f=E|0?B:f),o=0,A=z,s=N?x:(s|0)==0&1;break}case 4:{s=$n(t)|0,A=$n(t)|0,o=0,w=(s|0)>-1?s:w,s=x;break}case 5:{o=m1(t)|0,N?(A=e[o+4>>2]|0,e[o+20>>2]=(e[(e[A+4>>2]|0)+20>>2]|0)+(e[(e[A>>2]|0)+20>>2]|0),o=0,A=z,s=x):(o=0,A=z,s=x);break}case 2:{for(;;)if((e[i>>2]|0)>-1)i=i+4|0;else{o=0,A=z,s=x;break}break}case 3:{A=m1(t)|0,v=m1(t)|0,o=m1(t)|0,i=$n(t)|0,N?(B=e[o+4>>2]|0,x=o+16|0,e[o+20>>2]=(e[(e[B>>2]|0)+20>>2]|0)+i+(e[(e[B+4>>2]|0)+20>>2]|0)+((e[x>>2]|0)>0?2:0),o=x):o=o+16|0,i=m1(t)|0,s=$n(t)|0,c=$n(t)|0,(e[o>>2]|0)>0?(N?o=0:(o=ZY(r,A,s)|0,e[(e[_>>2]|0)+(s<<2)>>2]=1,o||(o=ZY(r,v,c)|0),e[(e[_>>2]|0)+(c<<2)>>2]=1),p=p+2|0,A=z,s=1):(o=0,A=z,s=1);break}default:o=0,A=z,s=x}while(0);if((o|0)!=0|(Gn(t)|0)<=(W|0))break e;z=A,x=s}while(0);if(!N&&(Yk(i,n,w),(f|0)>-1)){for(s=e[n+36>>2]|0,i=0;A=s+(i<<2)|0,c=i+1|0,(e[A>>2]|0)>-1;)i=c;e[A>>2]=w,e[s+(c<<2)>>2]=f,e[s+(i+2<<2)>>2]=-1,l=l+1|0}e[n+48>>2]=p,e[n+40>>2]=p,e[n+44>>2]=l,r0(T),r0(D)}while(0);return o|0}function rI0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;N=g,g=g+16|0,z=N+12|0,W=N+8|0,_=N+4|0,L=N,Z=Gn(t)|0,e[z>>2]=0,e[W>>2]=0,i=ir(t,i)|0;e:do if(!i&&(i=O2(t,0)|0,!i)){r:do if((Gn(t)|0)>(Z|0)){l=0,A=0,c=0;t:for(;;){E=$n(t)|0,B=m1(t)|0;i:do switch(E|0){case 0:{switch(e[B>>2]|0){case 0:{if(i=e[B+4>>2]|0,B=e[i>>2]|0,!((B|0)>-1|(B|0)==-4)){i=c;break i}if(B=i+8|0,i=(e[B>>2]|0)+c|0,e[B>>2]=i,(i|0)<=(e[W>>2]|0)){i=c;break i}e[W>>2]=i,i=c;break i}case 3:{if(s=e[B+4>>2]|0,i=ir(t,e[s+4>>2]|0)|0,i|0||(i=O2(t,0)|0,i|0)||(i=ir(t,e[s>>2]|0)|0,i|0))break r;break}case 1:{if(s=e[B+4>>2]|0,i=ir(t,e[s+4>>2]|0)|0,i|0||(i=O2(t,0)|0,i|0)||(i=ir(t,e[s>>2]|0)|0,i|0))break r;break}case 2:{if(s=e[B+4>>2]|0,i=O2(t,c)|0,i|0||(i=ir(t,B)|0,i|0)||(i=O2(t,1)|0,i|0)||(i=ir(t,e[s>>2]|0)|0,i|0)||(i=O2(t,0)|0,i|0))break r;(e[s+4>>2]|0)<=1&&(e[s+8>>2]|0)<=1?i=c:(e[z>>2]=0,i=0),A=A+1|0;break i}default:{i=c;break i}}if(i=O2(t,0)|0,!i)i=c;else break r;break}case 1:{m=B+4|0,v=e[m>>2]|0,E=$n(t)|0,e[z>>2]=E,p=v+4|0,c=e[p>>2]|0,(c|0)<=1?(e[v+8>>2]|0)>1?(e[_>>2]=0,(c|0)>0?x=30:(i=E,s=0,x=37)):i=E:(e[_>>2]=0,x=30);n:do if((x|0)==30){if(i=Pk(r,t,e[v>>2]|0,(c|0)>1?1:2,z,o,L,W)|0,!i)s=0,f=E,w=1;else{x=34;break t}for(;;){if(i=e[L>>2]|0,s?s=Ta(r,s,i)|0:s=i,!s){i=12,x=34;break t}if(c=e[p>>2]|0,(w|0)>=(c|0)){i=f,x=37;break n}if(f=e[z>>2]|0,w=w+1|0,i=Pk(r,t,e[v>>2]|0,(w|0)<(c|0)?1:2,z,o,L,W)|0,i|0){x=34;break t}}}while(0);if((x|0)==37){if(x=0,p=v+8|0,f=e[p>>2]|0,(f|0)==-1){if(f=e[z>>2]|0,i=Pk(r,t,e[v>>2]|0,0,z,0,_,W)|0,i|0)break t;if(c=FE(r,e[_>>2]|0,0,-1,0)|0,e[_>>2]=c,c)i=f;else{i=12;break t}}else if((c|0)<(f|0))for(f=c,c=0;;){if(w=e[z>>2]|0,i=Pk(r,t,e[v>>2]|0,0,z,0,L,W)|0,i|0){x=49;break t}if(c?(i=Ta(r,e[L>>2]|0,c)|0,e[_>>2]=i):(i=e[L>>2]|0,e[_>>2]=i),!i){i=12,x=49;break t}if(c=Nt(r,-1,-1,-1)|0,!c){i=12,x=49;break t}if(c=nu(r,c,i)|0,e[_>>2]=c,!c){i=12,x=49;break t}if(f=f+1|0,(f|0)>=(e[p>>2]|0)){i=w;break}}else c=0;if(e[z>>2]=i,s?c&&(s=Ta(r,s,c)|0,x=54):(s=c,x=54),(x|0)==54&&(x=0,!s)){i=12;break t}e[m>>2]=e[s+4>>2],e[B>>2]=e[s>>2]}A=A+-1|0,s=i-E+l|0,A?l=s:(e[z>>2]=s,l=s,A=0,i=s);break}default:i=c}while(0);if((Gn(t)|0)>(Z|0))c=i;else{i=0;break r}}break e}else i=0,l=0;while(0);Z=(e[n>>2]|0)+l|0,W=e[W>>2]|0,e[n>>2]=(W|0)>(Z|0)?W:Z}while(0);return g=N,i|0}function Nt(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;return o=ui(r,0,0,1,20)|0,r=u8(r,0,o)|0,r?(e[o>>2]=t,e[o+4>>2]=i,e[o+8>>2]=n):r=0,r|0}function Ta(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return t&&(n=ui(r,0,0,1,8)|0,r=u8(r,1,n)|0,r?(e[n>>2]=t,e[n+4>>2]=i,e[r+16>>2]=(e[i+16>>2]|0)+(e[t+16>>2]|0),i=r):i=0),i|0}function tI0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+16|0,c=v+4|0,f=v,w=Gn(t)|0,i=ir(t,i)|0;e:do if(!i&&(i=O2(t,0)|0,!i))if((Gn(t)|0)>(w|0)){r:for(;;){s=$n(t)|0,A=m1(t)|0;t:do switch(s|0){case 0:switch(e[A>>2]|0){case 0:{if(l=e[A+4>>2]|0,o=e[l>>2]|0,(o|0)==-4){if(e[A+8>>2]=0,i=l+8|0,s=Qk(r,e[i>>2]|0,0,1114111,0,0,-1)|0,e[A+24>>2]=s,!s){i=12;break e}if(s=Qk(r,e[i>>2]|0,0,1114111,0,0,e[l+4>>2]|0)|0,e[A+28>>2]=s,s)break t;i=12;break e}if(i=A+8|0,(o|0)<0){if(e[i>>2]=1,s=GY(r)|0,e[A+24>>2]=s,!s){i=12;break e}if(s=GY(r)|0,e[A+28>>2]=s,s)break t;i=12;break e}else{if(e[i>>2]=0,i=l+8|0,n=l+4|0,s=Qk(r,e[i>>2]|0,o,e[n>>2]|0,0,0,-1)|0,e[A+24>>2]=s,!s){i=12;break e}if(s=Qk(r,e[i>>2]|0,e[l>>2]|0,e[n>>2]|0,e[l+12>>2]|0,e[l+16>>2]|0,-1)|0,e[A+28>>2]=s,s)break t;i=12;break e}}case 3:{if(i=ir(t,A)|0,i|0||(i=O2(t,1)|0,i|0)||(n=A+4|0,i=ir(t,e[(e[n>>2]|0)+4>>2]|0)|0,i|0)||(i=O2(t,0)|0,i|0)||(i=ir(t,e[e[n>>2]>>2]|0)|0,i|0)||(i=O2(t,0)|0,i))break e;break t}case 1:{if(i=ir(t,A)|0,i|0||(i=O2(t,2)|0,i|0)||(n=A+4|0,i=ir(t,e[(e[n>>2]|0)+4>>2]|0)|0,i|0)||(i=O2(t,0)|0,i|0)||(i=ir(t,e[e[n>>2]>>2]|0)|0,i|0)||(i=O2(t,0)|0,i))break e;break t}case 2:{if(i=ir(t,A)|0,i|0||(i=O2(t,3)|0,i|0)||(i=ir(t,e[e[A+4>>2]>>2]|0)|0,i|0)||(i=O2(t,0)|0,i))break e;break t}default:break t}case 1:{if(i=e[A+4>>2]|0,n=e[i>>2]|0,o=i+4|0,l=e[o>>2]|0,e[n+8>>2]|0?s=1:s=(e[l+8>>2]|0)!=0,e[A+8>>2]=s&1,s=Tk(r,e[n+24>>2]|0,e[l+24>>2]|0,0,0)|0,e[A+24>>2]=s,!s){i=12;break e}if(s=Tk(r,e[(e[i>>2]|0)+28>>2]|0,e[(e[o>>2]|0)+28>>2]|0,0,0)|0,e[A+28>>2]=s,!s){i=12;break e}break}case 3:{s=e[A+4>>2]|0,i=e[s>>2]|0,e[s+4>>2]|0?n=(e[i+8>>2]|0)!=0&1:n=1,e[A+8>>2]=n,e[A+24>>2]=e[i+24>>2],e[A+28>>2]=e[i+28>>2];break}case 2:{if(l=e[A+4>>2]|0,i=e[l>>2]|0,n=i+8|0,e[n>>2]|0?o=(e[(e[l+4>>2]|0)+8>>2]|0)!=0:o=0,e[A+8>>2]=o&1,e[n>>2]|0){if(i=Fk(t,i,0,0,c)|0,i|0)break r;if(n=Te((e[c>>2]<<2)+4|0)|0,!n){i=12;break r}if(e[n>>2]=-1,e[f>>2]=0,i=Fk(t,e[l>>2]|0,n,f,0)|0,i|0){p=45;break r}if(i=l+4|0,s=A+24|0,e[s>>2]=Tk(r,e[(e[i>>2]|0)+24>>2]|0,e[(e[l>>2]|0)+24>>2]|0,n,e[f>>2]|0)|0,r0(n),e[s>>2]|0)o=i;else{i=12;break r}}else e[A+24>>2]=e[i+24>>2],o=l+4|0;if(i=e[o>>2]|0,e[i+8>>2]|0){if(i=Fk(t,i,0,0,c)|0,i|0)break r;if(n=Te((e[c>>2]<<2)+4|0)|0,!n){i=12;break r}if(e[n>>2]=-1,e[f>>2]=0,i=Fk(t,e[o>>2]|0,n,f,0)|0,i|0){p=52;break r}if(A=A+28|0,e[A>>2]=Tk(r,e[(e[l>>2]|0)+28>>2]|0,e[(e[o>>2]|0)+28>>2]|0,n,e[f>>2]|0)|0,r0(n),!(e[A>>2]|0)){i=12;break r}}else e[A+28>>2]=e[i+28>>2];break}default:}while(0);if((Gn(t)|0)<=(w|0)){i=0;break e}}((p|0)==45||(p|0)==52)&&r0(n)}else i=0;while(0);return g=v,i|0}function Nk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e:for(;;){switch(e[r>>2]|0){case 2:{if(r=e[r+4>>2]|0,(e[r+8>>2]|0)==-1&&(s=e[r>>2]|0,s=RY(e[s+28>>2]|0,e[s+24>>2]|0,t,i,n)|0,(s|0)!=0)){r=s;break e}break}case 3:{if(o=e[r+4>>2]|0,r=Nk(e[o>>2]|0,t,i,n)|0,r|0)break e;r=o+4|0;break}case 1:{if(o=e[r+4>>2]|0,l=o+4|0,r=RY(e[(e[o>>2]|0)+28>>2]|0,e[(e[l>>2]|0)+24>>2]|0,t,i,n)|0,r|0)break e;if(r=Nk(e[o>>2]|0,t,i,n)|0,!r)r=l;else break e;break}default:{r=0;break e}}r=e[r>>2]|0}return r|0}function iI0(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;if(s=e[r+4>>2]|0,s|0){if(n=s+4|0,r=e[s>>2]|0,e[n>>2]|0){i=0;do e[r+(i<<5)+8>>2]|0&&(t=e[r+(i<<5)+16>>2]|0,t&&(r0(t),r=e[s>>2]|0),t=e[r+(i<<5)+28>>2]|0,t&&(r0(t),r=e[s>>2]|0)),i=i+1|0;while(i>>>0<(e[n>>2]|0)>>>0)}if(r|0&&r0(r),i=s+8|0,r=e[i>>2]|0,r|0){if(e[r+8>>2]|0){for(;t=e[r+16>>2]|0,t|0&&r0(t),e[r+40>>2]|0;)r=r+32|0;r=e[i>>2]|0}r0(r)}if(o=s+16|0,r=e[o>>2]|0,r|0){if(l=s+28|0,t=e[l>>2]|0,t){n=0;do i=e[r+(n*12|0)+8>>2]|0,i&&(r0(i),t=e[l>>2]|0,r=e[o>>2]|0),n=n+1|0;while(n>>>0>>0)}r0(r)}r=e[s+32>>2]|0,r|0&&r0(r),r=e[s+20>>2]|0,r|0&&r0(r),r=e[s+36>>2]|0,r|0&&r0(r),r0(s)}}function RY(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0;l=e[r>>2]|0,s=(l|0)>-1;e:do if(i)if(s)for(;;){s=e[t>>2]|0;r:do if((s|0)>-1)for(E=r+4|0,B=r+8|0,x=r+16|0,z=r+20|0,_=r+24|0,L=r+28|0,Z=r+12|0,n=-1,l=t;;){for(m=s;(m|0)==(n|0);)if(l=l+32|0,s=e[l>>2]|0,(s|0)>-1)m=s;else break r;for(w=i+(e[o+(e[r>>2]<<2)>>2]<<5)|0;s=w+8|0,e[s>>2]|0;)w=w+32|0;if(e[w+40>>2]=0,e[w>>2]=e[E>>2],e[w+4>>2]=e[B>>2],e[s>>2]=i+(e[o+(m<<2)>>2]<<5),e[w+12>>2]=m,s=e[z>>2]|0,n=e[l+16>>2]|e[x>>2]|(s|0?4:0)|(e[_>>2]|0?8:0),A=w+20|0,e[A>>2]=n,c=e[L>>2]|0,(c|0)>-1&&(e[A>>2]=n|256,s=c),e[w+24>>2]=s,n=e[_>>2]|0,!n)e[w+28>>2]=0;else{s=0;do v=s,s=s+1|0;while(e[n+(v<<2)>>2]|0);if(s=Te(s<<2)|0,e[w+28>>2]=s,!s){l=12;break e}if(f=e[_>>2]|0,n=e[f>>2]|0,n){c=0,A=s;do e[A>>2]=n,c=c+1|0,n=e[f+(c<<2)>>2]|0,A=s+(c<<2)|0;while(n|0);s=A}e[s>>2]=0}if(n=e[Z>>2]|0,!n)s=0;else for(s=0;(e[n+(s<<2)>>2]|0)>-1;)s=s+1|0;if(f=l+12|0,A=e[f>>2]|0,!A)n=0;else for(n=0;(e[A+(n<<2)>>2]|0)>-1;)n=n+1|0;if(c=w+16|0,A=e[c>>2]|0,A|0&&r0(A),e[c>>2]=0,s=n+s|0,(s|0)>0){if(v=Te((s<<2)+4|0)|0,e[c>>2]=v,!v){l=12;break e}if(n=e[Z>>2]|0,n|0&&(W=e[n>>2]|0,(W|0)>-1)){s=0,A=W;do e[v+(s<<2)>>2]=A,s=s+1|0,A=e[n+(s<<2)>>2]|0;while((A|0)>-1);p=s}else p=0;if(c=e[f>>2]|0,c|0&&(N=e[c>>2]|0,(N|0)>-1)){f=(p|0)>0,s=p,A=0,w=N;do{t:do if(f)for(n=0;;){if((e[v+(n<<2)>>2]|0)==(w|0))break t;if(n=n+1|0,(n|0)>=(p|0)){T=39;break}}else T=39;while(0);(T|0)==39&&(T=0,e[v+(s<<2)>>2]=w,s=s+1|0),A=A+1|0,w=e[c+(A<<2)>>2]|0}while((w|0)>-1)}else s=p;e[v+(s<<2)>>2]=-1}if(l=l+32|0,s=e[l>>2]|0,(s|0)<=-1)break;n=m}while(0);if(r=r+32|0,(e[r>>2]|0)<=-1){l=0;break}}else l=0;else if(s){s=t+32|0;do{if((e[t>>2]|0)>-1&&(T=n+(l<<2)|0,e[T>>2]=(e[T>>2]|0)+1,(e[s>>2]|0)>-1)){l=s;do T=n+(e[r>>2]<<2)|0,e[T>>2]=(e[T>>2]|0)+1,l=l+32|0;while((e[l>>2]|0)>-1)}r=r+32|0,l=e[r>>2]|0}while((l|0)>-1);l=0}else l=0;while(0);return l|0}function Gn(r){return r=r|0,e[r+12>>2]|0}function ir(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+16|0,n=i+4|0,o=i,e[o>>2]=t,e[n>>2]=e[o>>2],t=TE(r,n)|0,g=i,t|0}function O2(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;return i=g,g=g+16|0,n=i+4|0,o=i,e[o>>2]=t,e[n>>2]=e[o>>2],t=TE(r,n)|0,g=i,t|0}function $n(r){r=r|0;var t=0,i=0;return t=e[r+16>>2]|0,i=r+12|0,r=(e[i>>2]|0)+-1|0,e[i>>2]=r,e[t+(r<<2)>>2]|0}function m1(r){r=r|0;var t=0,i=0;return t=e[r+16>>2]|0,i=r+12|0,r=(e[i>>2]|0)+-1|0,e[i>>2]=r,e[t+(r<<2)>>2]|0}function Qk(r,t,i,n,o,l,s){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,r=ui(r,0,0,1,64)|0,r?(e[r>>2]=t,e[r+4>>2]=i,e[r+8>>2]=n,e[r+20>>2]=o,e[r+24>>2]=l,e[r+28>>2]=s,e[r+32>>2]=-1,e[r+36>>2]=-1,e[r+40>>2]=-1):r=0,r|0}function GY(r){return r=r|0,r=ui(r,0,0,1,32)|0,r?(e[r>>2]=-1,e[r+4>>2]=-1,e[r+8>>2]=-1):r=0,r|0}function Tk(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;if(m=(n|0)==0,m)v=0;else for(l=0;;)if((e[n+(l<<2)>>2]|0)>-1)l=l+1|0;else{v=l;break}for(s=0;;)if((e[t+(s<<5)>>2]|0)>-1)s=s+1|0;else{l=0;break}for(;(e[i+(l<<5)>>2]|0)>-1;)l=l+1|0;l=ui(r,0,0,1,(l+s<<5)+32|0)|0;e:do if(!l)l=0;else{if(s=e[t>>2]|0,(s|0)>-1)for(p=(v|0)>0,A=0;;){if(e[l+(A<<5)>>2]=s,e[l+(A<<5)+4>>2]=e[t+(A<<5)+4>>2],e[l+(A<<5)+8>>2]=e[t+(A<<5)+8>>2],e[l+(A<<5)+16>>2]=e[t+(A<<5)+16>>2]|o,e[l+(A<<5)+20>>2]=e[t+(A<<5)+20>>2],e[l+(A<<5)+24>>2]=e[t+(A<<5)+24>>2],e[l+(A<<5)+28>>2]=e[t+(A<<5)+28>>2],w=t+(A<<5)+12|0,c=e[w>>2]|0,s=(c|0)==0,m&s)s=0;else{if(s)f=0;else for(s=0;;)if((e[c+(s<<2)>>2]|0)>-1)s=s+1|0;else{f=s;break}if(s=ui(r,0,0,0,(f+v<<2)+4|0)|0,!s){l=0;break e}if((f|0)>0){w=e[w>>2]|0,c=0;do e[s+(c<<2)>>2]=e[w+(c<<2)>>2],c=c+1|0;while((c|0)!=(f|0))}else f=0;if(p){c=0;do e[s+(c+f<<2)>>2]=e[n+(c<<2)>>2],c=c+1|0;while((c|0)!=(v|0));c=v}else c=0;e[s+(c+f<<2)>>2]=-1}if(e[l+(A<<5)+12>>2]=s,A=A+1|0,s=e[t+(A<<5)>>2]|0,(s|0)<=-1){v=A;break}}else v=0;if(A=e[i>>2]|0,s=l+(v<<5)|0,(A|0)>-1){p=0,w=v;do{if(e[s>>2]=A,e[l+(w<<5)+4>>2]=e[i+(p<<5)+4>>2],e[l+(w<<5)+8>>2]=e[i+(p<<5)+8>>2],e[l+(w<<5)+16>>2]=e[i+(p<<5)+16>>2],e[l+(w<<5)+20>>2]=e[i+(p<<5)+20>>2],e[l+(w<<5)+24>>2]=e[i+(p<<5)+24>>2],e[l+(w<<5)+28>>2]=e[i+(p<<5)+28>>2],c=i+(p<<5)+12|0,s=e[c>>2]|0,!s)s=0;else{for(A=0;(e[s+(A<<2)>>2]|0)>-1;)A=A+1|0;if(s=ui(r,0,0,0,(A<<2)+4|0)|0,!s){l=0;break e}if((A|0)>0){f=e[c>>2]|0,c=0;do e[s+(c<<2)>>2]=e[f+(c<<2)>>2],c=c+1|0;while((c|0)!=(A|0))}else A=0;e[s+(A<<2)>>2]=-1}e[l+(w<<5)+12>>2]=s,p=p+1|0,A=e[i+(p<<5)>>2]|0,w=p+v|0,s=l+(w<<5)|0}while((A|0)>-1)}e[s>>2]=-1}while(0);return l|0}function Fk(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;m=Gn(r)|0,E=(o|0)!=0,E&&(e[o>>2]=0),t=ir(r,t)|0;e:do if(t)l=t;else if(p=(i|0)==0,w=(n|0)==0,(Gn(r)|0)>(m|0))for(;;){t=m1(r)|0;r:do switch(e[t>>2]|0){case 0:{switch(t=e[t+4>>2]|0,e[t>>2]|0){case-3:break;case-2:{if(w)break r;e[n>>2]=e[n>>2]|e[t+4>>2];break r}default:break r}if(s=e[t+4>>2]|0,(s|0)>-1){t:do if(!p){for(t=0;A=i+(t<<2)|0,c=e[A>>2]|0,!((c|0)<=-1);){if((c|0)==(s|0))break t;t=t+1|0}e[A>>2]=s,e[i+(t+1<<2)>>2]=-1}while(0);E&&(e[o>>2]=(e[o>>2]|0)+1)}break}case 3:{if(t=e[t+4>>2]|0,s=e[t>>2]|0,e[s+8>>2]|0){f=s,v=6;break r}t=e[t+4>>2]|0,e[t+8>>2]|0&&(f=t,v=6);break}case 1:{if(t=e[t+4>>2]|0,s=ir(r,e[t>>2]|0)|0,s|0){l=s;break e}f=e[t+4>>2]|0,v=6;break}case 2:{t=e[e[t+4>>2]>>2]|0,e[t+8>>2]|0&&(f=t,v=6);break}default:}while(0);if((v|0)==6&&(v=0,l=ir(r,f)|0,l|0))break e;if((Gn(r)|0)<=(m|0)){l=0;break e}}else l=0;while(0);return l|0}function TE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;return f=g,g=g+16|0,l=f,i=r+12|0,n=e[i>>2]|0,c=e[r>>2]|0,(n|0)>=(c|0)?(i=e[r+4>>2]|0,(c|0)<(i|0)&&(o=(e[r+8>>2]|0)+c|0,o=(o|0)>(i|0)?i:o,s=r+16|0,A=V2(e[s>>2]|0,o<<2)|0,(A|0)!=0)?(e[r>>2]=o,e[s>>2]=A,e[l>>2]=e[t>>2],TE(r,l)|0,i=0):i=12):(e[(e[r+16>>2]|0)+(n<<2)>>2]=e[t>>2],e[i>>2]=(e[i>>2]|0)+1,i=0),g=f,i|0}function u8(r,t,i){return r=r|0,t=t|0,i=i|0,r=ui(r,0,0,1,32)|0,(i|0)!=0&(r|0)!=0?(e[r+4>>2]=i,e[r>>2]=t,e[r+8>>2]=-1,e[r+12>>2]=-1):r=0,r|0}function Pk(r,t,i,n,o,l,s,A){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0;var c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;B=Gn(t)|0,ir(t,i)|0,i=O2(t,0)|0;e:do if(i)n=0;else for(E=(n&1|0)==0,m=(n&2|0)!=0,v=0,f=1,i=s;;){if((Gn(t)|0)>(B|0))p=i;else{n=v,i=0;break e}r:for(;;){t:for(;;){switch($n(t)|0){case 1:{s=7;break t}case 0:{switch(i=m1(t)|0,e[i>>2]|0){case 0:{s=9;break r}case 3:{s=19;break r}case 1:{s=26;break r}case 2:{s=33;break t}default:}break}default:}if((Gn(t)|0)<=(B|0)){n=v,i=0;break e}}if((s|0)==7)i=m1(t)|0;else if((s|0)==33){if(n=e[i+4>>2]|0,i=ir(t,e[n>>2]|0)|0,i|0){n=v;break e}if(i=O2(t,0)|0,i|0){n=v;break e}if(i=FE(r,e[n>>2]|0,e[n+4>>2]|0,e[n+8>>2]|0,C[n+12>>0]&1)|0,e[p>>2]=i,!i){n=v,i=12;break e}i=e[i+4>>2]|0}if((Gn(t)|0)>(B|0))p=i;else{n=v,i=0;break e}}if((s|0)==9)w=e[i+4>>2]|0,s=e[w+8>>2]|0,n=e[w>>2]|0,i=e[w+4>>2]|0,(n|0)>-1|(n|0)==-4?(s=(e[o>>2]|0)+s|0,c=v+1|0):E|(n|0)!=-3?(n|0)==-3?m&(f|0)!=0?(e[l+(i<<2)>>2]=1,n=-3,c=v,f=0):(n=-3,c=v):c=v:(i=-1,n=-1,s=-1,c=v),i=Nt(r,n,i,s)|0,e[p>>2]=i,i?(i=e[i+4>>2]|0,e[i+12>>2]=e[w+12>>2],e[i+16>>2]=e[w+16>>2],i=0):i=12,(s|0)>(e[A>>2]|0)&&(e[A>>2]=s),n=p;else if((s|0)==19){if(s=e[i+4>>2]|0,n=s+4|0,i=nu(r,e[s>>2]|0,e[n>>2]|0)|0,e[p>>2]=i,!i){n=v,i=12;break e}if(w=e[i+4>>2]|0,i=ir(t,e[n>>2]|0)|0,i|0){n=v;break e}if(i=O2(t,0)|0,i|0){n=v;break e}if(i=ir(t,w+4|0)|0,i|0){n=v;break e}if(i=O2(t,1)|0,i|0){n=v;break e}if(i=ir(t,e[s>>2]|0)|0,i|0){n=v;break e}c=v,n=w,i=O2(t,0)|0}else if((s|0)==26){if(w=e[i+4>>2]|0,s=w+4|0,i=Ta(r,e[w>>2]|0,e[s>>2]|0)|0,e[p>>2]=i,!i){n=v,i=12;break e}if(n=e[i+4>>2]|0,e[n>>2]=0,c=n+4|0,e[c>>2]=0,i=ir(t,e[s>>2]|0)|0,i|0){n=v;break e}if(i=O2(t,0)|0,i|0){n=v;break e}if(i=ir(t,c)|0,i|0){n=v;break e}if(i=O2(t,1)|0,i|0){n=v;break e}if(i=ir(t,e[w>>2]|0)|0,i|0){n=v;break e}c=v,i=O2(t,0)|0}if(!i)v=c,i=n;else{n=c;break}}while(0);return e[o>>2]=(e[o>>2]|0)+n,i|0}function FE(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0;return l=ui(r,0,0,1,16)|0,r=u8(r,2,l)|0,r?(e[l>>2]=t,e[l+4>>2]=i,e[l+8>>2]=n,l=l+12|0,C[l>>0]=C[l>>0]&-2|o&1,e[r+16>>2]=e[t+16>>2]):r=0,r|0}function nu(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;return t&&(n=ui(r,0,0,1,8)|0,r=u8(r,3,n)|0,(i|0)!=0&(r|0)!=0?(e[n>>2]=t,e[n+4>>2]=i,e[r+16>>2]=(e[i+16>>2]|0)+(e[t+16>>2]|0),i=r):i=0),i|0}function PE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=ui(r,0,0,0,8)|0,n|0&&(i=Nt(r,-3,i,-1)|0,e[n>>2]=i,(i|0)!=0)&&(o=ui(r,0,0,0,32)|0,e[n+4>>2]=o,(o|0)!=0)?(r=t+4|0,e[o+4>>2]=e[r>>2],e[o>>2]=e[t>>2],e[o+8>>2]=-1,e[o+12>>2]=-1,o=o+16|0,e[o>>2]=0,e[o+4>>2]=0,e[o+8>>2]=0,e[o+12>>2]=0,e[r>>2]=n,e[t>>2]=1,r=0):r=12,r|0}function Yk(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(o=e[r>>2]|0,(o|0)>-1){l=e[t+16>>2]|0,n=0,t=o;do o=t>>>1,e[(t&1|0?l+(o*12|0)+4|0:l+(o*12|0)|0)>>2]=i,n=n+1|0,t=e[r+(n<<2)>>2]|0;while((t|0)>-1)}e[r>>2]=-1}function ZY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=ui(r,0,0,0,8)|0,n|0&&(i=Nt(r,-3,i,-1)|0,e[n+4>>2]=i,(i|0)!=0)&&(o=ui(r,0,0,0,32)|0,e[n>>2]=o,(o|0)!=0)?(r=t+4|0,e[o+4>>2]=e[r>>2],e[o>>2]=e[t>>2],e[o+8>>2]=-1,e[o+12>>2]=-1,o=o+16|0,e[o>>2]=0,e[o+4>>2]=0,e[o+8>>2]=0,e[o+12>>2]=0,e[r>>2]=n,e[t>>2]=1,r=0):r=12,r|0}function WY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0;f=g,g=g+16|0,A=f,s=r+32|0,l=e[s>>2]|0,o=l&1;e:do switch(C[t>>0]|0){case 91:{i=lI0(r,t+1|0)|0;break}case 92:{if(i=t+1|0,n=sI0(i)|0,n|0){i=WY(r,n)|0,e[r+12>>2]=t+2;break e}switch(n=C[i>>0]|0,n|0){case 0:{i=5;break e}case 98:{n=Nt(e[r>>2]|0,-2,64,-1)|0;break}case 66:{n=Nt(e[r>>2]|0,-2,128,-1)|0;break}case 60:{n=Nt(e[r>>2]|0,-2,16,-1)|0;break}case 62:{n=Nt(e[r>>2]|0,-2,32,-1)|0;break}case 120:{l=t+2|0,s=(C[l>>0]|0)==123,o=s?8:2,l=s?t+3|0:l,i=0,n=0;do{if(t=AI0(C[l+i>>0]|0)|0,(t|0)<0)break;n=t+(n<<4)|0,i=i+1|0}while((n|0)<1114112&(i|0)<(o|0));if(i=l+i|0,s){if((C[i>>0]|0)!=125){i=9;break e}i=i+1|0}A=e[r>>2]|0,s=r+24|0,c=e[s>>2]|0,e[s>>2]=c+1,n=Nt(A,n,n,c)|0,i=i+-1|0;break}case 63:case 43:case 123:if(o){c=37;break e}else{i=13;break e}case 124:{if(o|0){c=37;break e}i=Nt(e[r>>2]|0,-1,-1,-1)|0,c=45;break e}default:{if(!((o|0)==0&(n+-49|0)>>>0<9)){c=37;break e}A=n+-48|0,c=e[r>>2]|0,s=r+24|0,n=e[s>>2]|0,e[s>>2]=n+1,n=Nt(c,-4,A,n)|0,c=r+28|0,s=e[c>>2]|0,e[c>>2]=(A|0)<(s|0)?s:A}}t=i+1|0,i=n,c=45;break}case 46:{i=e[r>>2]|0,o=r+24|0,n=e[o>>2]|0,e[o>>2]=n+1,l&4?(n=Nt(i,0,9,n)|0,c=e[r>>2]|0,i=e[o>>2]|0,e[o>>2]=i+1,i=Nt(c,11,1114111,i)|0,(n|0)!=0&(i|0)!=0?i=nu(e[r>>2]|0,n,i)|0:i=0):i=Nt(i,0,1114111,n)|0,t=t+1|0,c=45;break}case 94:{if(!(o|0)&&(e[r+16>>2]|0)!=(t|0)){i=t,c=37;break e}t=t+1|0,i=Nt(e[r>>2]|0,-2,1,-1)|0,c=45;break}case 36:{if(i=t+1|0,!(o|0)&&C[i>>0]|0){i=t,c=37;break e}t=i,i=Nt(e[r>>2]|0,-2,2,-1)|0,c=45;break}case 63:case 43:case 123:case 42:{o?i=13:(i=t,c=37);break}case 124:{o?c=36:(i=t,c=37);break}case 0:{c=36;break}default:i=t,c=37}while(0);if((c|0)==36)i=Nt(e[r>>2]|0,-1,-1,-1)|0,c=45;else if((c|0)==37)if(l=Zs(A,i,-1)|0,(l|0)<0)i=2;else{do if(e[s>>2]&2){if(!(IE(e[A>>2]|0)|0)&&!(BE(e[A>>2]|0)|0)){c=43;break}s=e[r>>2]|0,w=eu(e[A>>2]|0)|0,o=eu(e[A>>2]|0)|0,n=r+24|0,o=Nt(s,w,o,e[n>>2]|0)|0,w=e[r>>2]|0,s=ru(e[A>>2]|0)|0,t=ru(e[A>>2]|0)|0,t=Nt(w,s,t,e[n>>2]|0)|0,(o|0)!=0&(t|0)!=0?o=nu(e[r>>2]|0,o,t)|0:o=0}else c=43;while(0);(c|0)==43&&(o=e[A>>2]|0,n=r+24|0,o=Nt(e[r>>2]|0,o,o,e[n>>2]|0)|0),e[n>>2]=(e[n>>2]|0)+1,t=i+l|0,i=o,c=45}return(c|0)==45&&(i?(e[r+8>>2]=i,e[r+12>>2]=t,i=0):i=12),g=f,i|0}function nI0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0;A=g,g=g+16|0,s=A+4|0,o=A,r=DY(r,s)|0,(C[r>>0]|0)==44?(r=DY(r+1|0,o)|0,l=e[o>>2]|0,o=e[s>>2]|0):(s=e[s>>2]|0,e[o>>2]=s,l=s,o=s);do if(o>>>0>255|((l|0)>255|(l|0)>-1&(l|0)<(o|0)))r=0;else{if(!t)if((C[r>>0]|0)==92)r=r+1|0;else{r=0;break}(C[r>>0]|0)==125?(e[i>>2]=o,e[n>>2]=l,r=r+1|0):r=0}while(0);return g=A,r|0}function oI0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;return(e[t+12>>2]|0)>-1?(n=Nt(e[r>>2]|0,-1,-1,-1)|0,n|0&&(o=Ta(e[r>>2]|0,n,t)|0,(o|0)!=0)?(n=e[t+16>>2]|0,e[o+16>>2]=n,l=6):n=12):(o=t,n=e[t+16>>2]|0,l=6),(l|0)==6&&(e[o+12>>2]=i,e[o+16>>2]=n+1,e[r+8>>2]=o,n=0),n|0}function DY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;if(e[t>>2]=-1,((C[r>>0]|0)+-48|0)>>>0<10)for(e[t>>2]=0,i=r,o=0,n=C[r>>0]|0;o=(o*10|0)+-48+(n<<24>>24)|0,e[t>>2]=o,r=i+1|0,n=C[r>>0]|0,!((o|0)>255|((n<<24>>24)+-48|0)>>>0>9);)i=r;return r|0}function lI0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;if(B=g,g=g+288|0,i=B+264|0,o=B,e[i>>2]=e[r>>2],l=i+8|0,e[l>>2]=0,e[i+12>>2]=32,v=Te(128)|0,E=i+4|0,e[E>>2]=v,!v)t=12;else{n=o+4|0,e[n>>2]=0,v=(C[t>>0]|0)==94,e[o>>2]=v&1,t=uI0(r,v?t+1|0:t,i,o)|0;e:do if(t)i=0;else{if(v=(e[o>>2]|0)==0,v)n=0;else{if(ei(e[E>>2]|0,e[l>>2]|0,4,111),t=YE(i)|0,!t){t=12,i=0;break}if(e[t>>2]=1114112,e[t+4>>2]=1114112,e[t+8>>2]=-1,t=e[n>>2]|0,t){if(i=t<<2,n=ui(e[r>>2]|0,0,0,0,i+4|0)|0,!n){t=12,i=0;break}u2(n|0,o+8|0,i|0)|0,e[n+(t<<2)>>2]=0}else n=0}if(f=e[l>>2]|0,(f|0)>0)for(w=e[E>>2]|0,p=r+24|0,i=0,t=0,c=0;;){A=e[w+(c<<2)>>2]|0,o=e[A>>2]|0,l=A+4|0,s=e[l>>2]|0;do if(v)m=14;else if((o|0)>(t|0)){e[A>>2]=t,e[l>>2]=o+-1,t=s+1|0,m=14;break}else{A=s+1|0,t=(A|0)>=(t|0)?A:t;break}while(0);if((m|0)==14&&(m=0,e[A+8>>2]=e[p>>2],e[A+16>>2]=n,A=u8(e[r>>2]|0,0,A)|0,i=nu(e[r>>2]|0,i,A)|0,!i)){t=12,i=0;break e}if(c=c+1|0,(c|0)>=(f|0)){t=0;break}}else t=0,i=0}while(0);r0(e[E>>2]|0),E=r+24|0,e[E>>2]=(e[E>>2]|0)+1,e[r+8>>2]=i}return g=B,t|0}function sI0(r){r=r|0;var t=0;for(t=C[r>>0]|0,r=0;(C[63752+(r<<3)>>0]|0)!=t<<24>>24;)if(r=r+1|0,(r|0)==12){r=12;break}return e[63752+(r<<3)+4>>2]|0}function AI0(r){r=r|0;var t=0;return t=r+-48|0,t>>>0<10?t|0:(t=r|32,((t+-97|0)>>>0<6?t+-87|0:-1)|0)}function uI0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0;x=g,g=g+32|0,p=x,m=x+4|0,s=Zs(p,t,-1)|0,o=C[t>>0]|0;e:do if((s|0)>=1){E=n+4|0,w=r+32|0,l=t,A=s;r:for(;;){if(s=(l|0)==(t|0),!(s|o<<24>>24!=93)){B=5;break}t:do if(!(s|o<<24>>24!=45)){switch(C[l+1>>0]|0){case 93:break t;case 45:break;default:{o=11;break e}}if((C[l+2>>0]|0)==93){o=11;break e}}while(0);t:do if(o<<24>>24==91){switch(C[l+1>>0]|0){case 61:case 46:{o=3;break e}case 58:break;default:{B=17;break t}}s=l+2|0,o=0;i:for(;;){switch(C[s+o>>0]|0){case 0:{B=16;break r}case 58:break i;default:}if((o|0)<13)o=o+1|0;else{B=16;break r}}if(u2(m|0,s|0,o|0)|0,C[m+o>>0]=0,A=mB0(m)|0,!A){B=16;break r}if(l=s+(o+2)|0,(C[s+(o+1)>>0]|0)!=93){B=16;break r}if(!(e[n>>2]|0))o=1114111,f=0,c=1,B=25;else{if(o=e[E>>2]|0,(o|0)>63){o=12;break e}e[E>>2]=o+1,e[n+8+(o<<2)>>2]=A}}else B=17;while(0);if((B|0)==17)if(B=0,s=e[p>>2]|0,l=l+A|0,(C[l>>0]|0)==45&&(v=l+1|0,(C[v>>0]|0)!=93)){if(l=Zs(p,v,-1)|0,o=e[p>>2]|0,(l|0)<1|(s|0)>(o|0)){o=11;break e}A=0,f=s,l=v+l|0,c=0,B=25}else A=0,o=s,f=s,c=0,B=25;if((B|0)==25){if(B=0,s=YE(i)|0,!s){o=12;break e}if(e[s>>2]=f,e[s+4>>2]=o,e[s+12>>2]=A,e[s+8>>2]=-1,!(c|(e[w>>2]&2|0)==0)&&cI0(i,f,o)|0){o=12;break e}}if(A=Zs(p,l,-1)|0,o=C[l>>0]|0,(A|0)<1){B=3;break e}}if((B|0)==5){e[r+12>>2]=l+1,o=0;break}else if((B|0)==16){o=4;break}}else B=3;while(0);return(B|0)==3&&(o=o<<24>>24?2:7),g=x,o|0}function aI0(r,t){return r=r|0,t=t|0,(e[e[r>>2]>>2]|0)-(e[e[t>>2]>>2]|0)|0}function YE(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0,A=0;return s=r+8|0,i=e[s>>2]|0,n=r+12|0,o=e[n>>2]|0,(i|0)>=(o|0)?(o|0)<=32767&&(e[n>>2]=o<<1,l=r+4|0,t=V2(e[l>>2]|0,o<<3)|0,(t|0)!=0)?(e[l>>2]=t,i=e[s>>2]|0,A=6):t=0:(t=e[r+4>>2]|0,A=6),(A|0)==6&&(e[s>>2]=i+1,A=ui(e[r>>2]|0,0,0,1,20)|0,e[t+(i<<2)>>2]=A,t=A),t|0}function cI0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;e:do if((t|0)>(i|0))t=0;else for(;;){r:do if(BE(t)|0)for(o=eu(t)|0,n=o;;){if(l=t+1|0,n=n+1|0,(t|0)>=(i|0)){s=o,t=l,l=12;break r}if((eu(l)|0)==(n|0))t=l;else{s=o,t=l,l=12;break}}else{if(!(IE(t)|0)){t=t+1|0;break}for(o=ru(t)|0,n=o;;){if(l=t+1|0,n=n+1|0,(t|0)>=(i|0)){s=o,t=l,l=12;break r}if((ru(l)|0)==(n|0))t=l;else{s=o,t=l,l=12;break}}}while(0);if((l|0)==12){if(l=0,o=YE(r)|0,!o){t=-1;break e}e[o>>2]=s,e[o+4>>2]=n+-1,e[o+8>>2]=-1}if((t|0)>(i|0)){t=0;break}}while(0);return t|0}function fI0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0;return p=g,g=g+16|0,f=p,A=e[r+4>>2]|0,c=A+56|0,s=e[c>>2]&8|0?0:i,r=e[A+40>>2]|0,(r|0)>0&(s|0)!=0?(r=Te(r<<2)|0,r?(l=r,i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0,(n|0)<1)if((n|0)<0){n=1;break r}else n=1;if(q=x+n|0,Y=e[ze>>2]|0,p=e[k0>>2]|0,v=p+8|0,e[v>>2]|0){for(Z=(t0|0)!=0,W=(P|0)==95,N=(t0|0)==0,D=a0&(P|0)==10,T=(t0|0)<1&H,_=p,p=0,z=0,x=v;;){B=_+20|0,v=e[B>>2]|0;i:do if(v)if((v&1|0)==0|T|D){if(v&2|0&&(F=e[ze>>2]|0,!((F|b0|0)==0|a0&(F|0)==10))){E=z;break}do if(v&16|0){if(W){E=z;break i}if(_r(P)|0){E=z;break i}if(v=e[ze>>2]|0,(v|0)==95)break;if(!(_r(v)|0)){E=z;break i}}while(0);if(v=e[B>>2]|0,v&32){if(W){if(v=e[ze>>2]|0,(v|0)==95){E=z;break}}else if(F=(_r(P)|0)==0,v=e[ze>>2]|0,F|(v|0)==95){E=z;break}if(_r(v)|0){E=z;break}v=e[B>>2]|0}E=e[ze>>2]|0;do if((E|0)!=0&(Z&(v&64|0)!=0))if(W?v=1:(v=(_r(P)|0)!=0,E=e[ze>>2]|0),(E|0)==95)if(v){E=z;break i}else break;else{if(v^(_r(E)|0)!=0)break;E=z;break i}while(0);if(!(e[B>>2]&128)){X=49;break}if(v=e[ze>>2]|0,N|(v|0)==0){E=z;break}if(W?E=1:(E=(_r(P)|0)!=0,v=e[ze>>2]|0),(v|0)==95)if(E){X=49;break}else{E=z;break}else if(E^(_r(v)|0)!=0){E=z;break}else{X=49;break}}else E=z;else X=49;while(0);do if((X|0)==49){if(X=0,!z){p=e[_+16>>2]|0,E=e[x>>2]|0;break}if(E=m+28|0,v=e[E>>2]|0,v)m=v;else{if(v=ui(me,0,0,0,32)|0,!v){X=53;break t}if(e[v+24>>2]=m,e[v+28>>2]=0,F=ui(me,0,0,0,e[F0>>2]<<2)|0,e[v+20>>2]=F,!F){X=60;break t}e[E>>2]=v,m=v}if(e[m>>2]=t0,e[m+4>>2]=q,e[m+8>>2]=e[x>>2],e[m+12>>2]=e[_+12>>2],e[m+16>>2]=e[ze>>2],(e[F0>>2]|0)>0){E=e[m+20>>2]|0,v=0;do e[E+(v<<2)>>2]=e[c+(v<<2)>>2],v=v+1|0;while((v|0)<(e[F0>>2]|0))}if(v=e[_+16>>2]|0,!v)E=z;else{if(E=e[v>>2]|0,(E|0)<=-1){E=z;break}B=e[m+20>>2]|0;do v=v+4|0,e[B+(E<<2)>>2]=t0,E=e[v>>2]|0;while((E|0)>-1);E=z}}while(0);if(x=_+40|0,e[x>>2]|0)_=_+32|0,z=E;else break}if(p){if(v=e[p>>2]|0,(v|0)>-1)do e[c+(v<<2)>>2]=t0,p=p+4|0,v=e[p>>2]|0;while((v|0)>-1)}else p=0;E?(x=t0,B=q,Z=E,W=p,X=79):X=171}else p=0,X=171;i:for(;;){if((X|0)==79){if((Z|0)==(e[B0>>2]|0)){if((L|0)>=(x|0)){if(!(J0&(L|0)==(x|0))){p=W,X=171;continue}if(p=e[F0>>2]|0,!(NY(p,e[O0>>2]|0,c,i)|0)){p=W,X=171;continue}}else{if(D0){L=x,p=W,X=171;continue}p=e[F0>>2]|0}if((p|0)>0)p=0;else{L=x,p=W,X=171;continue}for(;;)if(e[i+(p<<2)>>2]=e[c+(p<<2)>>2],p=p+1|0,(p|0)>=(e[F0>>2]|0)){L=x,p=W,X=171;continue i}}if(_=Z+8|0,e[_>>2]|0&&e[Z+20>>2]&256|0){if(v=e[Z+24>>2]|0,MY(v+1|0,w,e[V0>>2]&-9,r,c,x),F=e[w+(v<<3)>>2]|0,v=(e[w+(v<<3)+4>>2]|0)-F|0,Yr(t+F|0,B+-1|0,v)|0){p=W,X=171;continue}if(F=(v|0)==0,p=F&1,E=e[Z+12>>2]|0,F&&e[f+(E<<2)>>2]|0){p=W,X=171;continue}if(e[f+(E<<2)>>2]=p,v=v+-1|0,B=B+v|0,v=v+x|0,E=e[ze>>2]|0,p=Zs(ze,B,4)|0,(p|0)<1)if((p|0)<0){n=1;break r}else p=1;U=B+p|0,F=p}else{if(E=e[ze>>2]|0,!E){p=W,X=171;continue}if(p=Zs(ze,B,4)|0,(p|0)<1)if((p|0)<0){n=1;break r}else p=1;v=x,U=B+p|0,F=p}if(x=v+n|0,!(e[_>>2]|0)){n=F,p=W,X=171;continue}for(N=(x|0)!=0,T=(E|0)==95,D=(x|0)==0,X=a0&(E|0)==10,P=(x|0)<1&H,z=0,p=W;;){n:do if((e[Z>>2]|0)>>>0<=E>>>0){if((e[Z+4>>2]|0)>>>0>>0)break;B=Z+20|0,n=e[B>>2]|0;do if(n|0){if(!((n&1|0)==0|P|X)||n&2|0&&(W=e[ze>>2]|0,!((W|b0|0)==0|a0&(W|0)==10)))break n;do if(n&16|0){if(T||_r(E)|0)break n;if(n=e[ze>>2]|0,(n|0)==95)break;if(!(_r(n)|0))break n}while(0);if(n=e[B>>2]|0,n&32){if(T){if(n=e[ze>>2]|0,(n|0)==95)break n}else if(W=(_r(E)|0)==0,n=e[ze>>2]|0,W|(n|0)==95)break n;if(_r(n)|0)break n;n=e[B>>2]|0}v=e[ze>>2]|0;do if((v|0)!=0&(N&(n&64|0)!=0))if(T?n=1:(n=(_r(E)|0)!=0,v=e[ze>>2]|0),(v|0)==95){if(n)break n;break}else{if(n^(_r(v)|0)!=0)break;break n}while(0);do if(e[B>>2]&128|0){if(n=e[ze>>2]|0,D|(n|0)==0)break n;if(T?v=1:(v=(_r(E)|0)!=0,n=e[ze>>2]|0),(n|0)==95){if(v)break;break n}else{if(v^(_r(n)|0)!=0)break n;break}}while(0);n=e[B>>2]|0;do if(n&4){if(e[V0>>2]&2|0)break;if(!(Gs(E,e[Z+24>>2]|0)|0))break n;n=e[B>>2]|0}while(0);do if(n&4|0){if(!(e[V0>>2]&2)||(W=ru(E)|0,n=Z+24|0,Gs(W,e[n>>2]|0)|0))break;if(W=eu(E)|0,!(Gs(W,e[n>>2]|0)|0))break n}while(0);if(!(e[B>>2]&8))break;if(jY(e[Z+28>>2]|0,E,e[V0>>2]&2)|0)break n}while(0);if(!z){z=e[_>>2]|0,p=e[Z+16>>2]|0;break}if(v=m+28|0,n=e[v>>2]|0,n)m=n;else{if(n=ui(me,0,0,0,32)|0,!n){X=145;break t}if(e[n+24>>2]=m,e[n+28>>2]=0,W=ui(me,0,0,0,e[F0>>2]<<2)|0,e[n+20>>2]=W,!W){X=152;break t}e[v>>2]=n,m=n}if(e[m>>2]=x,e[m+4>>2]=U,e[m+8>>2]=e[_>>2],e[m+12>>2]=e[Z+12>>2],e[m+16>>2]=e[ze>>2],(e[F0>>2]|0)>0){v=e[m+20>>2]|0,n=0;do e[v+(n<<2)>>2]=e[c+(n<<2)>>2],n=n+1|0;while((n|0)<(e[F0>>2]|0))}if(n=e[Z+16>>2]|0,!n||(v=e[n>>2]|0,(v|0)<=-1))break;B=e[m+20>>2]|0;do e[B+(v<<2)>>2]=x,n=n+4|0,v=e[n>>2]|0;while((v|0)>-1)}while(0);if(_=Z+40|0,e[_>>2]|0)Z=Z+32|0;else break}if(!z){n=F,X=171;continue}if(p)if(n=e[p>>2]|0,(n|0)>-1){do p=p+4|0,e[c+(n<<2)>>2]=x,n=e[p>>2]|0;while((n|0)>-1);E=L,v=U,n=F}else E=L,v=U,n=F;else E=L,v=U,n=F,p=0}else if((X|0)==171){if(X=0,B=e[m+24>>2]|0,!B)break;if(z=e[m+8>>2]|0,e[z+20>>2]&256|0&&(e[f+(e[m+12>>2]<<2)>>2]=0),x=e[m>>2]|0,_=e[m+4>>2]|0,e[ze>>2]=e[m+16>>2],E=e[F0>>2]|0,(E|0)>0){m=e[m+20>>2]|0,v=0;do e[c+(v<<2)>>2]=e[m+(v<<2)>>2],v=v+1|0;while((v|0)<(E|0));m=B,E=L,v=_}else m=B,E=L,v=_}B=v,L=E,Z=z,W=p,X=79}if(p=(L|0)>-1,p|(e[ze>>2]|0)==0){X=180;break}e[ze>>2]=Y,x=q,B=t0,p=e[F0>>2]|0,P=Y}if((X|0)==53){if(iu(me),c|0&&r0(A),w|0&&r0(s),!f){n=12;break e}r0(l),n=12;break e}else if((X|0)==60){if(iu(me),c|0&&r0(A),w|0&&r0(s),!f){n=12;break e}r0(l),n=12;break e}else if((X|0)==145){if(iu(me),c|0&&r0(A),w|0&&r0(s),!f){n=12;break e}r0(l),n=12;break e}else if((X|0)==152){if(iu(me),c|0&&r0(A),w|0&&r0(s),!f){n=12;break e}r0(l),n=12;break e}else if((X|0)==180){e[o>>2]=L,n=(p^1)&1;break}}while(0);iu(me),c|0&&r0(A),w|0&&r0(s),f&&r0(l)}else n=12;while(0);return g=pe,n|0}function wI0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0,B0=0,D0=0,J0=0,O0=0,Z0=0,F0=0,b0=0,V0=0,ze=0,me=0,pe=0;if(pe=g,g=g+16|0,V0=pe,e[V0>>2]=0,f=n&1,Z0=n&2,F0=r+56|0,c=e[F0>>2]&4,i?J0=e[r+40>>2]|0:J0=0,O0=J0<<2,A=e[r+52>>2]|0,s=A<<3,l=s+8|0,n=O0+12+s+(l+(N0(O0,A)|0)<<1)|0,ze=Te(n)|0,!ze)n=12;else{if(qr(ze|0,0,n|0)|0,n=ze+O0|0,w=n&3,w=n+(w|0?4-w|0:0)|0,n=w+l|0,p=n&3,p=n+(p|0?4-p|0:0)|0,n=p+l|0,D0=n&3,D0=n+(D0|0?4-D0|0:0)|0,n=D0+s|0,l=n&3,s=(A|0)>0,s){for(n=n+(l|0?4-l|0:0)|0,l=0;e[p+(l<<3)+4>>2]=n,n=n+O0|0,e[w+(l<<3)+4>>2]=n,l=l+1|0,!((l|0)>=(A|0));)n=n+O0|0;if(s){n=0;do e[D0+(n<<3)>>2]=-1,n=n+1|0;while((n|0)<(A|0))}}n=Zs(V0,t,4)|0,(n|0)<1?(n|0)<0?n=1:(A=1,me=11):(A=n,me=11);e:do if((me|0)==11){for(B0=r+8|0,k0=(c|0)!=0,F=(f|0)==0,q=(J0|0)>0,t0=r+12|0,Y=(J0|0)<1,H=r+44|0,a0=r+32|0,X=r+36|0,U=(J0|0)==0,s=0,L=t+A|0,_=0,c=0,n=-1,l=w,D=ze,W=w,Z=p;;){if((n|0)<0){r=e[B0>>2]|0,f=r+8|0;r:do if(e[f>>2]|0)for(m=(_|0)!=0,E=(s|0)==95,B=(_|0)==0,z=k0&(s|0)==10,x=(_|0)<1&F;;){t:for(;v=r+12|0,!((e[D0+(e[v>>2]<<3)>>2]|0)>=(_|0));){if(p=r+20|0,t=e[p>>2]|0,!t){me=46;break}i:do if((t&1|0)==0|x|z){if(t&2|0&&(P=e[V0>>2]|0,!((P|Z0|0)==0|k0&(P|0)==10)))break;do if(t&16|0){if(E||_r(s)|0)break i;if(t=e[V0>>2]|0,(t|0)==95)break;if(!(_r(t)|0))break i}while(0);if(t=e[p>>2]|0,t&32){if(E){if(t=e[V0>>2]|0,(t|0)==95)break}else if(P=(_r(s)|0)==0,t=e[V0>>2]|0,P|(t|0)==95)break;if(_r(t)|0)break;t=e[p>>2]|0}w=e[V0>>2]|0;do if((w|0)!=0&(m&(t&64|0)!=0))if(E?t=1:(t=(_r(s)|0)!=0,w=e[V0>>2]|0),(w|0)==95){if(t)break i;break}else{if(t^(_r(w)|0)!=0)break;break i}while(0);if(!(e[p>>2]&128)){me=46;break t}if(t=e[V0>>2]|0,B|(t|0)==0)break;if(E?w=1:(w=(_r(s)|0)!=0,t=e[V0>>2]|0),(t|0)==95)if(w){me=46;break t}else break;else{if(w^(_r(t)|0)!=0)break;me=46;break t}}while(0);if(f=r+40|0,e[f>>2]|0)r=r+32|0;else break r}if((me|0)==46){if(me=0,e[l>>2]=e[f>>2],q&&qr(e[l+4>>2]|0,-1,O0|0)|0,f=e[r+16>>2]|0,f|0&&(b0=e[f>>2]|0,(b0|0)>-1)){w=l+4|0,t=b0;do(t|0)<(J0|0)&&(e[(e[w>>2]|0)+(t<<2)>>2]=_),f=f+4|0,t=e[f>>2]|0;while((t|0)>-1)}if(f=(e[l>>2]|0)!=(e[t0>>2]|0),f|Y)c=f?c:1,n=f?n:_,f=l+4|0;else{f=l+4|0,c=e[f>>2]|0,n=0;do e[i+(n<<2)>>2]=e[c+(n<<2)>>2],n=n+1|0;while((n|0)!=(J0|0));c=1,n=_}P=e[v>>2]|0,e[D0+(P<<3)>>2]=_,e[D0+(P<<3)+4>>2]=f,l=l+8|0}if(f=r+40|0,e[f>>2]|0)r=r+32|0;else break}while(0);if(e[l>>2]=0,l=e[V0>>2]|0,l)s=l;else break}else if(U||(s=e[V0>>2]|0,!((l|0)!=(W|0)&(s|0)!=0)))break;if(P=_+A|0,l=Zs(V0,L,4)|0,(l|0)<1)if((l|0)<0){n=1;break e}else A=1;else A=l;if(T=L+A|0,(c|0)!=0&(e[H>>2]|0)!=0){if(!(e[W>>2]|0))l=Z;else{v=e[X>>2]|0,m=e[v>>2]|0,E=(m|0)>-1,p=W,l=Z;do{w=p+4|0;r:do if(E){f=0,t=m;do{if(r=e[v+((f|1)<<2)>>2]|0,(t|0)>=(J0|0)||(c=e[w>>2]|0,(e[c+(r<<2)>>2]|0)==(e[i+(r<<2)>>2]|0)&&(e[c+(t<<2)>>2]|0)<(e[i+(t<<2)>>2]|0)))break r;f=f+2|0,t=e[v+(f<<2)>>2]|0}while((t|0)>-1);f=w,me=75}else f=w,c=e[w>>2]|0,me=75;while(0);(me|0)==75&&(me=0,e[l>>2]=e[p>>2],L=l+4|0,N=e[L>>2]|0,e[L>>2]=c,e[f>>2]=N,l=l+8|0),p=p+8|0}while(e[p>>2]|0)}e[l>>2]=0,N=W,c=0}else N=Z,Z=W;if(f=e[Z>>2]|0,!f)f=D,l=N;else for(B=(P|0)!=0,x=(s|0)==95,z=(P|0)==0,L=k0&(s|0)==10,_=(P|0)<1&F,E=Z,r=D,l=N;;){if(t=f+8|0,e[t>>2]|0)for(m=E+4|0,v=r,p=t;;){r:do if((e[f>>2]|0)>>>0<=s>>>0&&(e[f+4>>2]|0)>>>0>=s>>>0){w=f+20|0,r=e[w>>2]|0;do if(r|0){if(!((r&1|0)==0|_|L)){r=v;break r}if(r&2|0&&(D=e[V0>>2]|0,!((D|Z0|0)==0|k0&(D|0)==10))){r=v;break r}do if(r&16|0){if(x){r=v;break r}if(_r(s)|0){r=v;break r}if(r=e[V0>>2]|0,(r|0)==95)break;if(!(_r(r)|0)){r=v;break r}}while(0);if(r=e[w>>2]|0,r&32){if(x){if(r=e[V0>>2]|0,(r|0)==95){r=v;break r}}else if(D=(_r(s)|0)==0,r=e[V0>>2]|0,D|(r|0)==95){r=v;break r}if(_r(r)|0){r=v;break r}r=e[w>>2]|0}t=e[V0>>2]|0;do if((t|0)!=0&(B&(r&64|0)!=0))if(x?r=1:(r=(_r(s)|0)!=0,t=e[V0>>2]|0),(t|0)==95)if(r){r=v;break r}else break;else{if(r^(_r(t)|0)!=0)break;r=v;break r}while(0);do if(e[w>>2]&128|0){if(r=e[V0>>2]|0,z|(r|0)==0){r=v;break r}if(x?t=1:(t=(_r(s)|0)!=0,r=e[V0>>2]|0),(r|0)==95){if(t)break;r=v;break r}else if(t^(_r(r)|0)!=0){r=v;break r}else break}while(0);r=e[w>>2]|0;do if(r&4){if(e[F0>>2]&2|0)break;if(!(Gs(s,e[f+24>>2]|0)|0)){r=v;break r}r=e[w>>2]|0}while(0);do if(r&4|0){if(!(e[F0>>2]&2)||(D=ru(s)|0,r=f+24|0,Gs(D,e[r>>2]|0)|0))break;if(D=eu(s)|0,!(Gs(D,e[r>>2]|0)|0)){r=v;break r}}while(0);if(!(e[w>>2]&8))break;if(jY(e[f+28>>2]|0,s,e[F0>>2]&2)|0){r=v;break r}}while(0);if(q){t=e[m>>2]|0,r=0;do e[v+(r<<2)>>2]=e[t+(r<<2)>>2],r=r+1|0;while((r|0)!=(J0|0))}r=e[f+16>>2]|0;do if(r|0){if(t=e[r>>2]|0,(t|0)<=-1)break;do(t|0)<(J0|0)&&(e[v+(t<<2)>>2]=P),r=r+4|0,t=e[r>>2]|0;while((t|0)>-1)}while(0);if(r=e[f+12>>2]|0,t=D0+(r<<3)|0,(e[t>>2]|0)>=(P|0)){if(r=e[D0+(r<<3)+4>>2]|0,t=e[r>>2]|0,!(NY(J0,e[a0>>2]|0,v,t)|0)){r=v;break}if(e[r>>2]=v,(e[p>>2]|0)!=(e[t0>>2]|0)){r=t;break}if(q)n=0;else{c=1,r=t,n=P;break}for(;;)if(e[i+(n<<2)>>2]=e[v+(n<<2)>>2],n=n+1|0,(n|0)==(J0|0)){c=1,r=t,n=P;break r}}D=e[p>>2]|0,e[l>>2]=D,W=l+4|0,w=e[W>>2]|0,e[W>>2]=v,e[t>>2]=P,e[D0+(r<<3)+4>>2]=W;do if((e[t0>>2]|0)==(D|0)){if((n|0)==-1)if(q)n=0;else{n=P,c=1;break}else{if(!q||(e[v>>2]|0)>(e[i>>2]|0))break;n=0}do e[i+(n<<2)>>2]=e[v+(n<<2)>>2],n=n+1|0;while((n|0)<(J0|0));n=P,c=1}while(0);r=w,l=l+8|0}else r=v;while(0);if(p=f+40|0,e[p>>2]|0)f=f+32|0,v=r;else break}if(E=E+8|0,f=e[E>>2]|0,!f){f=r;break}}e[l>>2]=0,L=T,_=P,D=f,W=N}e[o>>2]=n,n=n>>>31}while(0);r0(ze)}return g=pe,n|0}function MY(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;if((i&8|0)==0&(l|0)>-1&&(p=e[n+16>>2]|0,v=e[n+28>>2]|0,w=(r|0)!=0&(v|0)!=0,w)){f=e[n+48>>2]|0,c=0;do i=e[p+(c*12|0)>>2]|0,(i|0)==(f|0)?A=l:A=e[o+(i<<2)>>2]|0,s=t+(c<<3)|0,e[s>>2]=A,i=e[p+(c*12|0)+4>>2]|0,(i|0)==(f|0)?i=l:i=e[o+(i<<2)>>2]|0,n=t+(c<<3)+4|0,e[n>>2]=i,(i|0)==-1|(A|0)==-1&&(e[n>>2]=-1,e[s>>2]=-1),c=c+1|0;while(c>>>0>>0&c>>>0>>0);if(w){i=0;do{if(A=t+(i<<3)+4|0,c=e[p+(i*12|0)+8>>2]|0,c|0&&(m=e[c>>2]|0,(m|0)>-1)){f=t+(i<<3)|0,s=0,o=m,n=e[f>>2]|0;do(n|0)>=(e[t+(o<<3)>>2]|0)&&(e[A>>2]|0)<=(e[t+(o<<3)+4>>2]|0)||(e[A>>2]=-1,e[f>>2]=-1,n=-1),s=s+1|0,o=e[c+(s<<2)>>2]|0;while((o|0)>-1)}i=i+1|0}while(i>>>0>>0&i>>>0>>0)}else i=0}else i=0;i>>>0>>0&&qr(t+(i<<3)|0,-1,r-i<<3|0)|0}function jY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;n=e[r>>2]|0;e:do if(!n)i=0;else for(o=(i|0)==0,i=n;;){if(o){if(Gs(t,i)|0){i=1;break e}}else{if(n=eu(t)|0,Gs(n,e[r>>2]|0)|0){i=1;break e}if(n=ru(t)|0,Gs(n,e[r>>2]|0)|0){i=1;break e}}if(r=r+4|0,i=e[r>>2]|0,!i){i=0;break}}while(0);return i|0}function NY(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0;e:do if((r|0)>0)for(o=0;;){if(s=e[i+(o<<2)>>2]|0,l=e[n+(o<<2)>>2]|0,e[t+(o<<2)>>2]|0){if((s|0)>(l|0)){o=1;break e}if((s|0)<(l|0)){o=0;break e}}else{if((s|0)<(l|0)){o=1;break e}if((s|0)>(l|0)){o=0;break e}}if(o=o+1|0,(o|0)>=(r|0)){o=0;break}}else o=0;while(0);return o|0}function QY(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;c=N0(i,t)|0,i=t|0?i:0,(e[n+76>>2]|0)>-1?A=qn(n)|0:A=0,o=n+74|0,l=C[o>>0]|0,C[o>>0]=l+255|l,o=n+4|0,l=e[o>>2]|0,w=(e[n+8>>2]|0)-l|0,s=w>>>0>>0?w:c,(w|0)>0?(u2(r|0,l|0,s|0)|0,e[o>>2]=l+s,o=c-s|0,r=r+s|0):o=c;e:do if(!o)f=13;else{for(s=n+32|0;!(oY(n)|0||(l=oe[e[s>>2]&63](n,r,o)|0,(l+1|0)>>>0<2));)if(o=o-l|0,o)r=r+l|0;else{f=13;break e}A|0&&N1(n),i=((c-o|0)>>>0)/(t>>>0)|0}while(0);return(f|0)==13&&A&&N1(n),i|0}function dI0(r){r=r|0;var t=0;return(e[r+76>>2]|0)>-1&&(t=(qn(r)|0)==0),r=TY(r)|0,r|0}function TY(r){r=r|0;var t=0;return e[r>>2]&128?t=(e[r+20>>2]|0)>>>0>(e[r+28>>2]|0)>>>0?2:1:t=1,t=oe[e[r+40>>2]&63](r,0,t)|0,(t|0)>=0&&(t=t-(e[r+8>>2]|0)+(e[r+4>>2]|0)+(e[r+20>>2]|0)-(e[r+28>>2]|0)|0),t|0}function FY(r){return r=r|0,(e[r+76>>2]|0)>-1&&qn(r)|0,e[r+60>>2]|0}function pI0(r){r=r|0;var t=0,i=0,n=0,o=0;n=e[15679]|0,(e[n+76>>2]|0)>-1?o=qn(n)|0:o=0;do if((Bi(r,n)|0)<0)r=-1;else{if((C[n+75>>0]|0)!=10&&(t=n+20|0,i=e[t>>2]|0,i>>>0<(e[n+16>>2]|0)>>>0)){e[t>>2]=i+1,C[i>>0]=10,r=0;break}r=(ME(n,10)|0)>>31}while(0);return o|0&&N1(n),r|0}function kI0(){var r=0,t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+48|0,s=c+24|0,l=c+16|0,o=c,t=c+28|0,r=t,i=153686,n=r+20|0;do C[r>>0]=C[i>>0]|0,r=r+1|0,i=i+1|0;while((r|0)<(n|0));for(i=t+13|0,r=0;;){if(_B0(i)|0,e[o>>2]=t,e[o+4>>2]=32962,e[o+8>>2]=384,n=Xn(Ly(5,o|0)|0)|0,(n|0)>-1){A=4;break}if((r|0)<99)r=r+1|0;else{r=0;break}}return(A|0)==4&&(e[l>>2]=t,Wr0(10,l|0)|0,r=EY(n,153706)|0,r||(e[s>>2]=n,Nw(6,s|0)|0,r=0)),g=c,r|0}function VE(r){r=r|0;var t=0,i=0,n=0;(e[r+76>>2]|0)>=0&&qn(r)|0?(t=r+4|0,i=e[t>>2]|0,i>>>0<(e[r+8>>2]|0)>>>0?(e[t>>2]=i+1,t=s0[i>>0]|0):t=zk(r)|0):n=3;do if((n|0)==3)if(t=r+4|0,i=e[t>>2]|0,i>>>0<(e[r+8>>2]|0)>>>0){e[t>>2]=i+1,t=s0[i>>0]|0;break}else{t=zk(r)|0;break}while(0);return t|0}function OE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;(e[t+76>>2]|0)>=0&&qn(t)|0?(n=r&255,i=r&255,(i|0)!=(C[t+75>>0]|0)&&(s=t+20|0,A=e[s>>2]|0,A>>>0<(e[t+16>>2]|0)>>>0)?(e[s>>2]=A+1,C[A>>0]=n):i=ME(t,r)|0,N1(t)):c=3;do if((c|0)==3){if(n=r&255,i=r&255,(i|0)!=(C[t+75>>0]|0)&&(o=t+20|0,l=e[o>>2]|0,l>>>0<(e[t+16>>2]|0)>>>0)){e[o>>2]=l+1,C[l>>0]=n;break}i=ME(t,r)|0}while(0);return i|0}function vI0(r){return r=r|0,dI0(r)|0}function mI0(){}function gI0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=r&65535,o=t&65535,i=N0(o,l)|0,n=r>>>16,r=(i>>>16)+(N0(o,n)|0)|0,o=t>>>16,t=N0(o,l)|0,b=(r>>>16)+(N0(o,n)|0)+(((r&65535)+t|0)>>>16)|0,r+t<<16|i&65535|0|0}function Xf(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=r,l=i,i=gI0(o,l)|0,r=b,b=(N0(t,l)|0)+(N0(n,o)|0)+r|r&0,i|0|0|0}function fr(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,i=r+i>>>0,b=t+n+(i>>>0>>0|0)>>>0,i|0|0}function Pl(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,n=t-n-(i>>>0>r>>>0|0)>>>0,b=n,r-i>>>0|0|0}function PY(r){r=r|0;var t=0;return t=C[In+(r&255)>>0]|0,(t|0)<8?t|0:(t=C[In+(r>>8&255)>>0]|0,(t|0)<8?t+8|0:(t=C[In+(r>>16&255)>>0]|0,(t|0)<8?t+16|0:(C[In+(r>>>24)>>0]|0)+24|0))}function YY(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;if(w=r,c=t,f=c,s=i,v=n,A=v,!f)return l=(o|0)!=0,A?l?(e[o>>2]=r|0,e[o+4>>2]=t&0,v=0,o=0,b=v,o|0):(v=0,o=0,b=v,o|0):(l&&(e[o>>2]=(w>>>0)%(s>>>0),e[o+4>>2]=0),v=0,o=(w>>>0)/(s>>>0)>>>0,b=v,o|0);l=(A|0)==0;do if(s){if(!l){if(l=(Vc(A|0)|0)-(Vc(f|0)|0)|0,l>>>0<=31){p=l+1|0,A=31-l|0,t=l-31>>31,s=p,r=w>>>(p>>>0)&t|f<>>(p>>>0)&t,l=0,A=w<>2]=r|0,e[o+4>>2]=c|t&0,v=0,o=0,b=v,o|0):(v=0,o=0,b=v,o|0)}if(l=s-1|0,l&s|0){A=(Vc(s|0)|0)+33-(Vc(f|0)|0)|0,E=64-A|0,p=32-A|0,c=p>>31,m=A-32|0,t=m>>31,s=A,r=p-1>>31&f>>>(m>>>0)|(f<>>(A>>>0))&t,t=t&f>>>(A>>>0),l=w<>>(m>>>0))&c|w<>31;break}return o|0&&(e[o>>2]=l&w,e[o+4>>2]=0),(s|0)==1?(m=c|t&0,E=r|0|0,b=m,E|0):(E=PY(s|0)|0,m=f>>>(E>>>0)|0,E=f<<32-E|w>>>(E>>>0)|0,b=m,E|0)}else{if(l)return o|0&&(e[o>>2]=(f>>>0)%(s>>>0),e[o+4>>2]=0),m=0,E=(f>>>0)/(s>>>0)>>>0,b=m,E|0;if(!w)return o|0&&(e[o>>2]=0,e[o+4>>2]=(f>>>0)%(A>>>0)),m=0,E=(f>>>0)/(A>>>0)>>>0,b=m,E|0;if(l=A-1|0,!(l&A))return o|0&&(e[o>>2]=r|0,e[o+4>>2]=l&f|t&0),m=0,E=f>>>((PY(A|0)|0)>>>0),b=m,E|0;if(l=(Vc(A|0)|0)-(Vc(f|0)|0)|0,l>>>0<=30){t=l+1|0,A=31-l|0,s=t,r=f<>>(t>>>0),t=f>>>(t>>>0),l=0,A=w<>2]=r|0,e[o+4>>2]=c|t&0,m=0,E=0,b=m,E|0):(m=0,E=0,b=m,E|0)}while(0);if(!s)f=A,c=0,A=0;else{p=i|0|0,w=v|n&0,f=fr(p|0,w|0,-1,-1)|0,i=b,c=A,A=0;do n=c,c=l>>>31|c<<1,l=A|l<<1,n=r<<1|n>>>31|0,v=r>>>31|t<<1|0,Pl(f|0,i|0,n|0,v|0)|0,E=b,m=E>>31|((E|0)<0?-1:0)<<1,A=m&1,r=Pl(n|0,v|0,m&p|0,(((E|0)<0?-1:0)>>31|((E|0)<0?-1:0)<<1)&w|0)|0,t=b,s=s-1|0;while(s|0);f=c,c=0}return s=0,o|0&&(e[o>>2]=r,e[o+4>>2]=t),m=(l|0)>>>31|(f|s)<<1|(s<<1|l>>>31)&0|c,E=(l<<1|0)&-2|A,b=m,E|0}function qf(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,YY(r,t,i,n,0)|0}function a8(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return l=g,g=g+16|0,o=l|0,YY(r,t,i,n,o)|0,g=l,b=e[o+4>>2]|0,e[o>>2]|0|0}function Vk(r,t,i){return r=r|0,t=t|0,i=i|0,(i|0)<32?(b=t>>i,r>>>i|(t&(1<>i-32|0)}function Qi(r,t,i){return r=r|0,t=t|0,i=i|0,(i|0)<32?(b=t>>>i,r>>>i|(t&(1<>>i-32|0)}function Br(r,t,i){return r=r|0,t=t|0,i=i|0,(i|0)<32?(b=t<>>32-i,r<>8&255|0}function OY(r){return r=r|0,(r&255)<<24|(r>>8&255)<<16|(r>>16&255)<<8|r>>>24|0}function il(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0;for(Kt=Kt+1|0,e[r>>2]=Kt;(o|0)<(n|0);){if(!(e[i+(o<<3)>>2]|0))return e[i+(o<<3)>>2]=Kt,e[i+((o<<3)+4)>>2]=t,e[i+((o<<3)+8)>>2]=0,b=n,i|0;o=o+1|0}return n=n*2|0,i=V2(i|0,8*(n+1|0)|0)|0,i=il(r|0,t|0,i|0,n|0)|0,b=n,i|0}function se(r,t,i){r=r|0,t=t|0,i=i|0;for(var n=0,o=0;(o|0)<(i|0)&&(n=e[t+(o<<3)>>2]|0,!!n);){if((n|0)==(r|0))return e[t+((o<<3)+4)>>2]|0;o=o+1|0}return 0}function u2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if((i|0)>=8192)return Or0(r|0,t|0,i|0)|0;if(l=r|0,o=r+i|0,(r&3)==(t&3)){for(;r&3;){if(!i)return l|0;C[r>>0]=C[t>>0]|0,r=r+1|0,t=t+1|0,i=i-1|0}for(i=o&-4|0,n=i-64|0;(r|0)<=(n|0);)e[r>>2]=e[t>>2],e[r+4>>2]=e[t+4>>2],e[r+8>>2]=e[t+8>>2],e[r+12>>2]=e[t+12>>2],e[r+16>>2]=e[t+16>>2],e[r+20>>2]=e[t+20>>2],e[r+24>>2]=e[t+24>>2],e[r+28>>2]=e[t+28>>2],e[r+32>>2]=e[t+32>>2],e[r+36>>2]=e[t+36>>2],e[r+40>>2]=e[t+40>>2],e[r+44>>2]=e[t+44>>2],e[r+48>>2]=e[t+48>>2],e[r+52>>2]=e[t+52>>2],e[r+56>>2]=e[t+56>>2],e[r+60>>2]=e[t+60>>2],r=r+64|0,t=t+64|0;for(;(r|0)<(i|0);)e[r>>2]=e[t>>2],r=r+4|0,t=t+4|0}else for(i=o-4|0;(r|0)<(i|0);)C[r>>0]=C[t>>0]|0,C[r+1>>0]=C[t+1>>0]|0,C[r+2>>0]=C[t+2>>0]|0,C[r+3>>0]=C[t+3>>0]|0,r=r+4|0,t=t+4|0;for(;(r|0)<(o|0);)C[r>>0]=C[t>>0]|0,r=r+1|0,t=t+1|0;return l|0}function Yl(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;if((t|0)<(r|0)&(r|0)<(t+i|0)){for(n=r,t=t+i|0,r=r+i|0;(i|0)>0;)r=r-1|0,t=t-1|0,i=i-1|0,C[r>>0]=C[t>>0]|0;r=n}else u2(r,t,i)|0;return r|0}function qr(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;if(l=r+i|0,t=t&255,(i|0)>=67){for(;r&3;)C[r>>0]=t,r=r+1|0;for(n=l&-4|0,o=n-64|0,s=t|t<<8|t<<16|t<<24;(r|0)<=(o|0);)e[r>>2]=s,e[r+4>>2]=s,e[r+8>>2]=s,e[r+12>>2]=s,e[r+16>>2]=s,e[r+20>>2]=s,e[r+24>>2]=s,e[r+28>>2]=s,e[r+32>>2]=s,e[r+36>>2]=s,e[r+40>>2]=s,e[r+44>>2]=s,e[r+48>>2]=s,e[r+52>>2]=s,e[r+56>>2]=s,e[r+60>>2]=s,r=r+64|0;for(;(r|0)<(n|0);)e[r>>2]=s,r=r+4|0}for(;(r|0)<(l|0);)C[r>>0]=t,r=r+1|0;return l-i|0}function ou(r){r=r|0;var t=0,i=0;return i=r+15&-16|0,t=e[be>>2]|0,r=t+i|0,(i|0)>0&(r|0)<(t|0)|(r|0)<0?(Sr0()|0,fR(12),-1):(e[be>>2]=r,(r|0)>(xr0()|0)&&!(Ir0()|0)?(e[be>>2]=t,fR(12),-1):t|0)}function yI0(r){return r=r|0,+UI0[r&1]()}function CI0(r,t,i,n){return r=r|0,t=+t,i=+i,n=+n,+UY[r&7](+t,+i,+n)}function EI0(r,t){return r=r|0,t=t|0,+XI0[r&1](t|0)}function BI0(r){return r=r|0,Hk[r&3]()|0}function II0(r,t){return r=r|0,t=t|0,nr[r&63](t|0)|0}function xI0(r,t,i){return r=r|0,t=t|0,i=i|0,ke[r&127](t|0,i|0)|0}function SI0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=+n,o=+o,XY[r&3](t|0,i|0,+n,+o)|0}function _I0(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,oe[r&63](t|0,i|0,n|0)|0}function zI0(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,e2[r&127](t|0,i|0,n|0,o|0)|0}function LI0(r,t,i,n,o,l){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,ai[r&127](t|0,i|0,n|0,o|0,l|0)|0}function RI0(r,t,i,n,o,l,s){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,qI0[r&1](t|0,i|0,n|0,o|0,l|0,s|0)|0}function GI0(r,t,i,n,o,l,s,A,c,f,w){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0,f=f|0,w=w|0,qY[r&3](t|0,i|0,n|0,o|0,l|0,s|0,A|0,c|0,f|0,w|0)|0}function ZI0(r){r=r|0,$I0[r&15]()}function WI0(r,t){r=r|0,t=t|0,l2[r&127](t|0)}function DI0(r,t,i){r=r|0,t=t|0,i=i|0,Bt[r&63](t|0,i|0)}function MI0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,hr[r&127](t|0,i|0,n|0)}function jI0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=+o,l=+l,s=s|0,$Y[r&15](t|0,i|0,n|0,+o,+l,s|0)}function NI0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,Y1[r&31](t|0,i|0,n|0,o|0)}function QI0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,Fa[r&15](t|0,i|0,n|0,o|0,l|0)}function TI0(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,Kf[r&15](t|0,i|0,n|0,o|0,l|0,s|0)}function FI0(r,t,i,n,o,l,s,A,c,f){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0,f=f|0,Jk[r&0](t|0,i|0,n|0,o|0,l|0,s|0,A|0,c|0,f|0)}function PI0(){return si(0),0}function Ok(r,t,i){return r=+r,t=+t,i=+i,si(1),0}function YI0(r){return r=r|0,si(2),0}function VI0(){return si(3),0}function $r(r){return r=r|0,si(4),0}function hn(r,t){return r=r|0,t=t|0,si(5),0}function HY(r,t,i,n){return r=r|0,t=t|0,i=+i,n=+n,si(6),0}function Jt(r,t,i){return r=r|0,t=t|0,i=i|0,si(7),0}function x2(r,t,i,n){return r=r|0,t=t|0,i=i|0,n=n|0,si(8),0}function m2(r,t,i,n,o){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,si(9),0}function OI0(r,t,i,n,o,l){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,si(10),0}function JY(r,t,i,n,o,l,s,A,c,f){return r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0,A=A|0,c=c|0,f=f|0,si(11),0}function lu(){si(12)}function Vl(r){r=r|0,si(13)}function Lr(r,t){r=r|0,t=t|0,si(14)}function z2(r,t,i){r=r|0,t=t|0,i=i|0,si(15)}function su(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=+n,o=+o,l=l|0,si(16)}function HI0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0,si(17)}function Au(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,si(18)}function $f(r,t,i,n,o,l){r=r|0,t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,sv0,pt0,wt0,Ai0,ui0,ci0,hi0,di0,Rn0,x10,I10,_9,oW,ra0,CW,sa0,rp0,Jk0,GA,Kr0,tt0,S10,_10,z10,W10,M10,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2,z2],$Y=[su,wf0,df0,pf0,kf0,vf0,mf0,gf0,yf0,su,su,su,su,su,su,su],Y1=[HI0,f40,P40,s30,p30,_30,M30,q30,sh0,vh0,Sh0,Qh0,Xh0,a80,u80,A80,l80,o80,n80,d40,i80,t80,_u0,sk0,kk0,SP,wC0,F70,ei,$r0,br0,rC0],Fa=[Au,q40,I30,G30,H30,wh0,Fw0,pD,nt0,Au,Au,Au,Au,Au,Au,Au],Kf=[$f,h40,Y40,A30,z30,$30,Ah0,mh0,Th0,qh0,ot0,$f,$f,$f,$f,$f],Jk=[JI0];return{___errno_location:kr,___muldi3:Xf,___udivdi3:qf,___uremdi3:a8,_bitshift64Ashr:Vk,_bitshift64Lshr:Qi,_bitshift64Shl:Br,_dtextract:ks,_free:r0,_htons:gB0,_i64Add:fr,_i64Subtract:Pl,_llvm_bswap_i16:VY,_llvm_bswap_i32:OY,_malloc:Te,_memalign:ZE0,_memcpy:u2,_memmove:Yl,_memset:qr,_realloc:V2,_saveSetjmp:il,_sbrk:ou,_testSetjmp:se,_vizCreateFile:r40,_vizLastErrorMessage:e40,_vizRenderFromString:t40,dynCall_d:yI0,dynCall_dddd:CI0,dynCall_di:EI0,dynCall_i:BI0,dynCall_ii:II0,dynCall_iii:xI0,dynCall_iiidd:SI0,dynCall_iiii:_I0,dynCall_iiiii:zI0,dynCall_iiiiii:LI0,dynCall_iiiiiii:RI0,dynCall_iiiiiiiiiii:GI0,dynCall_v:ZI0,dynCall_vi:WI0,dynCall_vii:DI0,dynCall_viii:MI0,dynCall_viiiddi:jI0,dynCall_viiii:NI0,dynCall_viiiii:QI0,dynCall_viiiiii:TI0,dynCall_viiiiiiiii:FI0,establishStackSpace:Xf0,getTempRet0:Kf0,runPostSets:mI0,setTempRet0:$f0,setThrew:qf0,stackAlloc:Hf0,stackRestore:Uf0,stackSave:Jf0}}(R.asmGlobalArg,R.asmLibraryArg,ce);R.___errno_location=E2.___errno_location,R.___muldi3=E2.___muldi3,R.___udivdi3=E2.___udivdi3,R.___uremdi3=E2.___uremdi3,R._bitshift64Ashr=E2._bitshift64Ashr,R._bitshift64Lshr=E2._bitshift64Lshr,R._bitshift64Shl=E2._bitshift64Shl,R._dtextract=E2._dtextract;var j3=R._free=E2._free;R._htons=E2._htons,R._i64Add=E2._i64Add,R._i64Subtract=E2._i64Subtract,R._llvm_bswap_i16=E2._llvm_bswap_i16,R._llvm_bswap_i32=E2._llvm_bswap_i32;var Xi=R._malloc=E2._malloc,Gi=R._memalign=E2._memalign;R._memcpy=E2._memcpy,R._memmove=E2._memmove;var ra=R._memset=E2._memset;R._realloc=E2._realloc,R._saveSetjmp=E2._saveSetjmp,R._sbrk=E2._sbrk,R._testSetjmp=E2._testSetjmp,R._vizCreateFile=E2._vizCreateFile,R._vizLastErrorMessage=E2._vizLastErrorMessage,R._vizRenderFromString=E2._vizRenderFromString,R.establishStackSpace=E2.establishStackSpace,R.getTempRet0=E2.getTempRet0,R.runPostSets=E2.runPostSets,R.setTempRet0=E2.setTempRet0,R.setThrew=E2.setThrew;var Pc=R.stackAlloc=E2.stackAlloc,Dw=R.stackRestore=E2.stackRestore,Mw=R.stackSave=E2.stackSave;if(R.dynCall_d=E2.dynCall_d,R.dynCall_dddd=E2.dynCall_dddd,R.dynCall_di=E2.dynCall_di,R.dynCall_i=E2.dynCall_i,R.dynCall_ii=E2.dynCall_ii,R.dynCall_iii=E2.dynCall_iii,R.dynCall_iiidd=E2.dynCall_iiidd,R.dynCall_iiii=E2.dynCall_iiii,R.dynCall_iiiii=E2.dynCall_iiiii,R.dynCall_iiiiii=E2.dynCall_iiiiii,R.dynCall_iiiiiii=E2.dynCall_iiiiiii,R.dynCall_iiiiiiiiiii=E2.dynCall_iiiiiiiiiii,R.dynCall_v=E2.dynCall_v,R.dynCall_vi=E2.dynCall_vi,R.dynCall_vii=E2.dynCall_vii,R.dynCall_viii=E2.dynCall_viii,R.dynCall_viiiddi=E2.dynCall_viiiddi,R.dynCall_viiii=E2.dynCall_viiii,R.dynCall_viiiii=E2.dynCall_viiiii,R.dynCall_viiiiii=E2.dynCall_viiiiii,R.dynCall_viiiiiiiii=E2.dynCall_viiiiiiiii,R.asm=E2,R.ccall=R0,R.Pointer_stringify=Se,R.UTF8ToString=Ne,Bn)if(ww(Bn)||(typeof R.locateFile=="function"?Bn=R.locateFile(Bn):R.memoryInitializerPrefixURL&&(Bn=R.memoryInitializerPrefixURL+Bn)),l0||A0){var kt=R.readBinary(Bn);Ye.set(kt,I0)}else{let O=function(){R.readAsync(Bn,ta,function(){throw"could not load memory initializer "+Bn})};var Jo=O;jc();var ta=function(K){K.byteLength&&(K=new Uint8Array(K)),Ye.set(K,I0),R.memoryInitializerRequest&&delete R.memoryInitializerRequest.response,$u()},N3=Ho(Bn);if(N3)ta(N3.buffer);else if(R.memoryInitializerRequest){let K=function(){var o0=R.memoryInitializerRequest,C=o0.response;if(o0.status!==200&&o0.status!==0){var $=Ho(R.memoryInitializerRequestURL);if($)C=$.buffer;else{console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+o0.status+", retrying "+Bn),O();return}}ta(C)};var xy=K;R.memoryInitializerRequest.response?setTimeout(K,0):R.memoryInitializerRequest.addEventListener("load",K)}else O()}function Zi(O){this.name="ExitStatus",this.message="Program terminated with exit("+O+")",this.status=O}Zi.prototype=new Error,Zi.prototype.constructor=Zi;var Q3;qu=function O(){R.calledRun||Yc(),R.calledRun||(qu=O)};function Yc(O){if(O=O||R.arguments,ml>0||(E3(),ml>0)||R.calledRun)return;function K(){R.calledRun||(R.calledRun=!0,!w0&&(Wc(),Li(),R.onRuntimeInitialized&&R.onRuntimeInitialized(),vl()))}R.setStatus?(R.setStatus("Running..."),setTimeout(function(){setTimeout(function(){R.setStatus("")},1),K()},1)):K()}R.run=Yc;function jw(O,K){K&&R.noExitRuntime&&O===0||(R.noExitRuntime||(w0=!0,b2=Q3,B3(),R.onExit&&R.onExit(O)),l0&&process.exit(O),R.quit(O,new Zi(O)))}R.exit=jw;function it(O){throw R.onAbort&&R.onAbort(O),O!==void 0?(R.print(O),R.printErr(O),O=JSON.stringify(O)):O="",w0=!0,"abort("+O+"). Build with -s ASSERTIONS=1 for more info."}if(R.abort=it,R.preInit)for(typeof R.preInit=="function"&&(R.preInit=[R.preInit]);R.preInit.length>0;)R.preInit.pop()();return R.noExitRuntime=!0,Yc(),R};function y(G){var R=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],M=R.format===void 0?"svg":R.format,Q=R.engine===void 0?"dot":R.engine,V=R.scale,e0=R.totalMemory,l0=R.files===void 0?[]:R.files,A0=R.images===void 0?[]:R.images,n0;for(n0=0;n0 + +'});return M=="png-image-element"?y.svgXmlToPngImageElement(I(G,"svg",Q,e0,l0),V):I(G,M,Q,e0,l0)}function I(G,R,M,Q,V){var e0=k({TOTAL_MEMORY:Q}),l0;for(l0=0;l01?R=window.devicePixelRatio:R=1);var Q=new Image;try{if(typeof fabric=="object"&&fabric.loadSVGFromString)fabric.loadSVGFromString(G,function(e0,l0){if(e0.length==0)if(M!==void 0){M(new Error("Error loading SVG with Fabric"));return}else throw new Error("Error loading SVG with Fabric");var A0=document.createElement("canvas");A0.width=l0.width,A0.height=l0.height;var n0=new fabric.Canvas(A0,{enableRetinaScaling:!1}),h0=fabric.util.groupSVGElements(e0,l0);n0.add(h0).renderAll(),Q.src=n0.toDataURL({multiplier:R}),Q.width=l0.width,Q.height=l0.height,M!==void 0&&M(null,Q)});else{var V=new Image;V.onload=function(){var e0=document.createElement("canvas");e0.width=V.width*R,e0.height=V.height*R;var l0=e0.getContext("2d");l0.drawImage(V,0,0,e0.width,e0.height),Q.src=e0.toDataURL("image/png"),Q.width=V.width,Q.height=V.height,M!==void 0&&M(null,Q)},V.onerror=function(e0){var l0;if("error"in e0?l0=e0.error:l0=new Error("Error loading SVG"),M!==void 0)M(l0);else throw l0},V.src="data:image/svg+xml;base64,"+S(G)}}catch(e0){if(M!==void 0)M(e0);else throw e0}if(M===void 0)return Q},y.svgXmlToPngBase64=function(G,R,M){y.svgXmlToPngImageElement(G,R,function(Q,V){Q?M(Q):M(null,V.src.slice(22))})},a.exports=y})()})(wr0);var $0e=wr0.exports;const Ay=NX($0e);function SX(a,h){if(a.tag=="polygon"){var d=Dv(a);d.tag="path";var k=a.attributes,y=Dv(k),I=k.points;if(h.tag=="polygon"){var S=a.bbox;S.cx=S.x+S.width/2,S.cy=S.y+S.height/2;for(var G=k.points,R=G.split(" "),M=R.map(function(q0){var ae=q0.split(",");return[ae[0]-S.cx,ae[1]-S.cy]}),Q=M[M.length-1][0],V=M[M.length-1][1],e0=0;e00?T0.key=de.children[0].text:T0.key="")}}T0.key==null&&(M&&(ae=="ellipse"||ae=="polygon")&&(ae="path"),T0.key=ae+"-"+q0)}function c0(T0,q0){var ae=(q0?q0.id+".":"")+T0.key;T0.id=ae}function f0(T0){l0[T0.id]=T0}function y0(T0,q0){M&&T0.id in A0&&(q0.tag=="polygon"||q0.tag=="ellipse"||q0.tag=="path")&&(q0.tag!=T0.tag||T0.tag=="polygon")&&(q0.tag!="path"&&(T0.alternativeOld=SX(q0,T0)),T0.tag!="path"&&(T0.alternativeNew=SX(T0,q0)))}function C0(T0,q0){if(R&&q0&&(q0.tag=="path"||T0.alternativeOld&&T0.alternativeOld.tag=="path")){var ae=(T0.alternativeNew||T0).attributes.d;if(T0.alternativeOld)var de=mS(T0.alternativeOld);else var de=mS(q0);(T0.alternativeOld||(T0.alternativeOld={})).points=Y0e(de,ae,Q,V)}}function I0(T0,q0=0,ae){u0(T0,q0),c0(T0,ae);var de=T0.id,Se=A0[de];f0(T0),y0(T0,Se),C0(T0,Se);var we={};T0.children.forEach(function(Ie){var Ne=Ie.tag;(Ne=="ellipse"||Ne=="polygon")&&(Ne="path"),we[Ne]==null&&(we[Ne]=0);var f2=we[Ne]++;I0(Ie,f2,T0)})}function w0(T0){var q0=T0.tag;if(e0&&T0.parent&&T0.parent.attributes.class=="node"&&q0=="title"){if(T0.children.length>0)var ae=T0.children[0],de=ae.text;else var de="";n0[de]=T0.parent}}function E0(T0){var q0=T0.id,ae=T0.tag,de=A0[q0];if(e0&&!de&&T0.parent&&hr0(T0)&&(ae=="path"||ae=="polygon")){if(ae=="polygon"){var Se=T0.parent.children.find(function(ce){return ce.tag=="path"});T0.totalLength=Se.totalLength}var we=H0e(T0),Ie=we.children[0],Ne=Ie.text.split("->");Ne.length!=2&&(Ne=Ie.text.split("--"));var f2=Ne[0],a2=n0[f2],H2=h0[f2];if(H2){var qe=a2.children.findIndex(function(ce,Ue){return ce.tag=="g"});if(qe>=0){var j2=a2.children[qe].children.findIndex(function(ce,Ue){return ce.tag=="a"});a2=a2.children[qe].children[j2]}var qe=H2.children.findIndex(function(ce,Ue){return ce.tag=="g"});if(qe>=0){var j2=H2.children[qe].children.findIndex(function(Ue,Ye){return Ue.tag=="a"});H2=H2.children[qe].children[j2]}for(var ye=a2.children,qe=0;qe0){var Ie=this._queue.shift();Ie.call(this)}}return this}function tee(a,h){var d=this;this.dot(a,k);function k(){d.render(h)}return this}function iee(a){return a instanceof Function?this._transitionFactory=a:this._transition=lR(a),this}function nee(a){var h=this._selection,d=h.selectWithoutDataPropagation("svg");return d.size()!=0?B0e(d.node(),a):null}function oee(a){if(typeof a>"u")return Object.assign({},this._options);for(var h of Object.keys(a))this._options[h]=a[h];return this}function lee(a){return this._options.width=a,this}function see(a){return this._options.height=a,this}function Aee(a){return this._options.scale=a,this}function uee(a){return this._options.fit=a,this}function aee(a){return this._attributer=a,this}function cee(a){return this._options.engine=a,this}function fee(a,h,d){return this._images.push({path:a,width:h,height:d}),this}function hee(a){return this._options.totalMemory=a,this}function wee(a){if(!this._keyModes.has(a))throw Error("Illegal keyMode: "+a);if(a!=this._options.keyMode&&this._data!=null)throw Error("Too late to change keyMode");return this._options.keyMode=a,this}function dee(a){return this._options.fade=a,this}function pee(a){return this._options.tweenPaths=a,this}function kee(a){return this._options.tweenShapes=a,a&&(this._options.tweenPaths=!0),this}function vee(a){return this._options.convertEqualSidedPolygons=a,this}function mee(a){return this._options.tweenPrecision=a,this}function gee(a){return this._options.growEnteringEdges=a,this}function yee(a,h){return this._dispatch.on(a,h),this}function Cee(a){return this._onerror=a,this}function Eee(a){return Math.abs(a=Math.round(a))>=1e21?a.toLocaleString("en").replace(/,/g,""):a.toString(10)}function zm(a,h){if((d=(a=h?a.toExponential(h-1):a.toExponential()).indexOf("e"))<0)return null;var d,k=a.slice(0,d);return[k.length>1?k[0]+k.slice(2):k,+a.slice(d+1)]}function Bee(a){return a=zm(Math.abs(a)),a?a[1]:NaN}function Iee(a,h){return function(d,k){for(var y=d.length,I=[],S=0,G=a[0],R=0;y>0&&G>0&&(R+G+1>k&&(G=Math.max(1,k-R)),I.push(d.substring(y-=G,y+G)),!((R+=G+1)>k));)G=a[S=(S+1)%a.length];return I.reverse().join(h)}}function xee(a){return function(h){return h.replace(/[0-9]/g,function(d){return a[+d]})}}var See=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function yS(a){if(!(h=See.exec(a)))throw new Error("invalid format: "+a);var h;return new uR({fill:h[1],align:h[2],sign:h[3],symbol:h[4],zero:h[5],width:h[6],comma:h[7],precision:h[8]&&h[8].slice(1),trim:h[9],type:h[10]})}yS.prototype=uR.prototype;function uR(a){this.fill=a.fill===void 0?" ":a.fill+"",this.align=a.align===void 0?">":a.align+"",this.sign=a.sign===void 0?"-":a.sign+"",this.symbol=a.symbol===void 0?"":a.symbol+"",this.zero=!!a.zero,this.width=a.width===void 0?void 0:+a.width,this.comma=!!a.comma,this.precision=a.precision===void 0?void 0:+a.precision,this.trim=!!a.trim,this.type=a.type===void 0?"":a.type+""}uR.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function _ee(a){e:for(var h=a.length,d=1,k=-1,y;d0&&(k=0);break}return k>0?a.slice(0,k)+a.slice(y+1):a}var dr0;function zee(a,h){var d=zm(a,h);if(!d)return a+"";var k=d[0],y=d[1],I=y-(dr0=Math.max(-8,Math.min(8,Math.floor(y/3)))*3)+1,S=k.length;return I===S?k:I>S?k+new Array(I-S+1).join("0"):I>0?k.slice(0,I)+"."+k.slice(I):"0."+new Array(1-I).join("0")+zm(a,Math.max(0,h+I-1))[0]}function _X(a,h){var d=zm(a,h);if(!d)return a+"";var k=d[0],y=d[1];return y<0?"0."+new Array(-y).join("0")+k:k.length>y+1?k.slice(0,y+1)+"."+k.slice(y+1):k+new Array(y-k.length+2).join("0")}const zX={"%":function(a,h){return(a*100).toFixed(h)},b:function(a){return Math.round(a).toString(2)},c:function(a){return a+""},d:Eee,e:function(a,h){return a.toExponential(h)},f:function(a,h){return a.toFixed(h)},g:function(a,h){return a.toPrecision(h)},o:function(a){return Math.round(a).toString(8)},p:function(a,h){return _X(a*100,h)},r:_X,s:zee,X:function(a){return Math.round(a).toString(16).toUpperCase()},x:function(a){return Math.round(a).toString(16)}};function LX(a){return a}var RX=Array.prototype.map,GX=["y","z","a","f","p","n","ยต","m","","k","M","G","T","P","E","Z","Y"];function Lee(a){var h=a.grouping===void 0||a.thousands===void 0?LX:Iee(RX.call(a.grouping,Number),a.thousands+""),d=a.currency===void 0?"":a.currency[0]+"",k=a.currency===void 0?"":a.currency[1]+"",y=a.decimal===void 0?".":a.decimal+"",I=a.numerals===void 0?LX:xee(RX.call(a.numerals,String)),S=a.percent===void 0?"%":a.percent+"",G=a.minus===void 0?"-":a.minus+"",R=a.nan===void 0?"NaN":a.nan+"";function M(V){V=yS(V);var e0=V.fill,l0=V.align,A0=V.sign,n0=V.symbol,h0=V.zero,u0=V.width,c0=V.comma,f0=V.precision,y0=V.trim,C0=V.type;C0==="n"?(c0=!0,C0="g"):zX[C0]||(f0===void 0&&(f0=12),y0=!0,C0="g"),(h0||e0==="0"&&l0==="=")&&(h0=!0,e0="0",l0="=");var I0=n0==="$"?d:n0==="#"&&/[boxX]/.test(C0)?"0"+C0.toLowerCase():"",w0=n0==="$"?k:/[%p]/.test(C0)?S:"",E0=zX[C0],z0=/[defgprs%]/.test(C0);f0=f0===void 0?6:/[gprs]/.test(C0)?Math.max(1,Math.min(21,f0)):Math.max(0,Math.min(20,f0));function W0(P0){var R0=I0,T0=w0,q0,ae,de;if(C0==="c")T0=E0(P0)+T0,P0="";else{P0=+P0;var Se=P0<0||1/P0<0;if(P0=isNaN(P0)?R:E0(Math.abs(P0),f0),y0&&(P0=_ee(P0)),Se&&+P0==0&&A0!=="+"&&(Se=!1),R0=(Se?A0==="("?A0:G:A0==="-"||A0==="("?"":A0)+R0,T0=(C0==="s"?GX[8+dr0/3]:"")+T0+(Se&&A0==="("?")":""),z0){for(q0=-1,ae=P0.length;++q0de||de>57){T0=(de===46?y+P0.slice(q0+1):P0.slice(q0))+T0,P0=P0.slice(0,q0);break}}}c0&&!h0&&(P0=h(P0,1/0));var we=R0.length+P0.length+T0.length,Ie=we>1)+R0+P0+T0+Ie.slice(we);break;default:P0=Ie+R0+P0+T0;break}return I(P0)}return W0.toString=function(){return V+""},W0}function Q(V,e0){var l0=M((V=yS(V),V.type="f",V)),A0=Math.max(-8,Math.min(8,Math.floor(Bee(e0)/3)))*3,n0=Math.pow(10,-A0),h0=GX[8+A0/3];return function(u0){return l0(n0*u0)+h0}}return{format:M,formatPrefix:Q}}var Mv,Eo;Ree({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function Ree(a){return Mv=Lee(a),Eo=Mv.format,Mv.formatPrefix,Mv}function Gee(a){var h=Date.now(),d={},k=this._eventTypes,y=Math.max(...k.map(R=>R.length));for(let R in k){let M=k[R];d[M]=[];var I=this,S,G;this.on(M+".log",a?function(){var Q=Date.now(),V=d[M].length;d[M].push(Q);var e0="";if(e0+="Event ",e0+=Eo(" >2")(R)+" ",e0+=M+" ".repeat(y-M.length),e0+=Eo(" >5")(Q-h)+" ",M!="initEnd"&&(e0+=Eo(" >5")(Q-d.start[V])),M=="dataProcessEnd"&&(e0+=" prepare "+Eo(" >5")(Q-d.layoutEnd[V])),M=="renderEnd"&&I._transition&&(e0+=" transition start margin "+Eo(" >5")(I._transition.delay()-(Q-d.renderStart[V])),S=I._transition.delay(),G=I._transition.duration()),M=="transitionStart"){var l0=Q-d.renderStart[V];e0+=" transition delay "+Eo(" >5")(Q-d.renderStart[V]),e0+=" expected "+Eo(" >5")(S),e0+=" diff "+Eo(" >5")(l0-S)}if(M=="transitionEnd"){var A0=Q-d.transitionStart[V];e0+=" transition duration "+Eo(" >5")(A0),e0+=" expected "+Eo(" >5")(G),e0+=" diff "+Eo(" >5")(A0-G)}console.log(e0),h=Q}:null)}return this}var CS=Math.PI,ES=2*CS,Ka=1e-6,Zee=ES-Ka;function BS(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pr0(){return new BS}BS.prototype=pr0.prototype={constructor:BS,moveTo:function(a,h){this._+="M"+(this._x0=this._x1=+a)+","+(this._y0=this._y1=+h)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(a,h){this._+="L"+(this._x1=+a)+","+(this._y1=+h)},quadraticCurveTo:function(a,h,d,k){this._+="Q"+ +a+","+ +h+","+(this._x1=+d)+","+(this._y1=+k)},bezierCurveTo:function(a,h,d,k,y,I){this._+="C"+ +a+","+ +h+","+ +d+","+ +k+","+(this._x1=+y)+","+(this._y1=+I)},arcTo:function(a,h,d,k,y){a=+a,h=+h,d=+d,k=+k,y=+y;var I=this._x1,S=this._y1,G=d-a,R=k-h,M=I-a,Q=S-h,V=M*M+Q*Q;if(y<0)throw new Error("negative radius: "+y);if(this._x1===null)this._+="M"+(this._x1=a)+","+(this._y1=h);else if(V>Ka)if(!(Math.abs(Q*G-R*M)>Ka)||!y)this._+="L"+(this._x1=a)+","+(this._y1=h);else{var e0=d-I,l0=k-S,A0=G*G+R*R,n0=e0*e0+l0*l0,h0=Math.sqrt(A0),u0=Math.sqrt(V),c0=y*Math.tan((CS-Math.acos((A0+V-n0)/(2*h0*u0)))/2),f0=c0/u0,y0=c0/h0;Math.abs(f0-1)>Ka&&(this._+="L"+(a+f0*M)+","+(h+f0*Q)),this._+="A"+y+","+y+",0,0,"+ +(Q*e0>M*l0)+","+(this._x1=a+y0*G)+","+(this._y1=h+y0*R)}},arc:function(a,h,d,k,y,I){a=+a,h=+h,d=+d,I=!!I;var S=d*Math.cos(k),G=d*Math.sin(k),R=a+S,M=h+G,Q=1^I,V=I?k-y:y-k;if(d<0)throw new Error("negative radius: "+d);this._x1===null?this._+="M"+R+","+M:(Math.abs(this._x1-R)>Ka||Math.abs(this._y1-M)>Ka)&&(this._+="L"+R+","+M),d&&(V<0&&(V=V%ES+ES),V>Zee?this._+="A"+d+","+d+",0,1,"+Q+","+(a-S)+","+(h-G)+"A"+d+","+d+",0,1,"+Q+","+(this._x1=R)+","+(this._y1=M):V>Ka&&(this._+="A"+d+","+d+",0,"+ +(V>=CS)+","+Q+","+(this._x1=a+d*Math.cos(y))+","+(this._y1=h+d*Math.sin(y))))},rect:function(a,h,d,k){this._+="M"+(this._x0=this._x1=+a)+","+(this._y0=this._y1=+h)+"h"+ +d+"v"+ +k+"h"+-d+"Z"},toString:function(){return this._}};function Wee(a,h,d,k){return h=-h,k=-k,[a,h]=[a*d-h*k,a*k+h*d],h=-h,[a,h]}function Dee(a,h,d,k,y,I={}){if(y=Object.assign({},y),y.style&&y.style.includes("invis"))var S=Cr(null);else{var G=this._selection,R=G.selectWithoutDataPropagation("svg"),M=R.selectWithoutDataPropagation("g"),Q=mr0(y),V=Ec(Q),S=M.append("g").data([V]);cw.call(S.node(),V),kr0(S,a,h,d,k,y,I)}return this._drawnEdge={g:S,x1:a,y1:h,x2:d,y2:k,attributes:y},this}function Mee(a,h,d,k,y={},I={}){if(!this._drawnEdge)throw Error("No edge has been drawn");var S=this._drawnEdge.g;if(y=Object.assign(this._drawnEdge.attributes,y),this._drawnEdge.x1=a,this._drawnEdge.y1=h,this._drawnEdge.x2=d,this._drawnEdge.y2=k,S.empty()&&!(y.style&&y.style.includes("invis"))){var G=this._selection,R=G.selectWithoutDataPropagation("svg"),M=R.selectWithoutDataPropagation("g"),S=M.append("g");this._drawnEdge.g=S}return S.empty()||kr0(S,a,h,d,k,y,I),this}function kr0(a,h,d,k,y,I,S){var G=mr0(I),R=Ec(G);a.data([R]),cw.call(a.node(),R),vr0(a,h,d,k,y,I,S)}function vr0(a,h,d,k,y,I,S){var G=S.shortening||0,R=10,M=7,Q=.174,V=[[0,-M/2],[R,0],[0,M/2],[0,-M/2]],e0=k-h,l0=y-d,A0=Math.sqrt(e0*e0+l0*l0);if(A0==0)var n0=1,h0=0;else var n0=e0/A0,h0=l0/A0;if(k=h+(A0-G-R-Q)*n0,y=d+(A0-G-R-Q)*h0,I.URL||I.tooltip)var u0=a.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),c0=u0.selectWithoutDataPropagation("path"),f0=u0.selectWithoutDataPropagation("polygon");else var c0=a.selectWithoutDataPropagation("path"),f0=a.selectWithoutDataPropagation("polygon");var y0=pr0();y0.moveTo(h,d),y0.lineTo(k,y),c0.attr("d",y0),k=h+(A0-G-R)*n0,y=d+(A0-G-R)*h0;for(var C0=0;C0"u"&&(k=!1),k){var y=rR("script"),I=y.filter(function(){return Cr(this).attr("type")=="javascript/worker"||Cr(this).attr("src")&&Cr(this).attr("src").match(/.*\/viz.js$/)});I.size()==0?(console.warn('No script tag of type "javascript/worker" was found and "useWorker" is true. Not using web worker.'),k=!1):(this._vizURL=I.attr("src"),this._vizURL||(console.warn('No "src" attribute of was found on the "javascript/worker" script tag and "useWorker" is true. Not using web worker.'),k=!1))}if(k){var S=` + onmessage = function(event) { + if (event.data.vizURL) { + importScripts(event.data.vizURL); + } + try { + var svg = Viz(event.data.dot, event.data.options); + } + catch(error) { + postMessage({ + type: "error", + error: error.message, + }); + return; + } + if (svg) { + postMessage({ + type: "done", + svg: svg, + }); + } else { + postMessage({ + type: "skip", + }); + } + } + `,G=new Blob([S]),R=window.URL.createObjectURL(G);this._worker=new Worker(R)}this._selection=a,this._active=!1,this._busy=!1,this._jobs=[],this._queue=[],this._keyModes=new Set(["title","id","tag-index","index"]),this._images=[],this._translation=void 0,this._scale=void 0,this._eventTypes=["initEnd","start","layoutStart","layoutEnd","dataExtractEnd","dataProcessPass1End","dataProcessPass2End","dataProcessEnd","renderStart","renderEnd","transitionStart","transitionEnd","restoreEnd","end"],this._dispatch=ry(...this._eventTypes),eee.call(this),a.node().__graphviz__=this}function Er0(a,h){var d=Cr(a).graphviz(h);return d}IS.prototype=Er0.prototype={constructor:IS,engine:cee,addImage:fee,totalMemory:hee,keyMode:wee,fade:dee,tweenPaths:pee,tweenShapes:kee,convertEqualSidedPolygons:vee,tweenPrecision:mee,growEnteringEdges:gee,zoom:M0e,resetZoom:j0e,zoomBehavior:T0e,zoomSelection:F0e,zoomScaleExtent:N0e,zoomTranslateExtent:Q0e,render:J0e,dot:ree,data:V0e,renderDot:tee,transition:iee,active:nee,options:oee,width:lee,height:see,scale:Aee,fit:uee,attributer:aee,on:yee,onerror:Cee,logEvents:Gee,drawEdge:Dee,updateDrawnEdge:Mee,moveDrawnEdgeEndPoint:jee,insertDrawnEdge:Nee,removeDrawnEdge:ZX,removeDrawnEdge:ZX,drawnEdgeSelection:WX,drawnEdgeSelection:WX,drawNode:Qee,updateDrawnNode:Tee,moveDrawnNode:Fee,insertDrawnNode:Pee,removeDrawnNode:DX,removeDrawnNode:DX,drawnNodeSelection:MX,drawnNodeSelection:MX};function Yee(a){var h=this.node().__graphviz__;return h?(h.options(a),h._dispatch.call("initEnd",this)):h=new IS(this,a),h}function Vee(a){return Cr(this.size()>0?this.node().querySelector(a):null)}Hu.prototype.graphviz=Yee;Hu.prototype.selectWithoutDataPropagation=Vee;const Oee={fit:!0,height:500,width:500,zoom:!1};let Hee=0;const Jee=()=>`graphviz${Hee++}`,Uee=({dot:a,className:h,options:d={}})=>{const k=Q0.useMemo(Jee,[]);return Q0.useEffect(()=>{Er0(`#${k}`,Object.assign(Object.assign({},Oee),d)).renderDot(a)},[a,d]),Q0.createElement("div",{className:h,id:k})},u4=({profile:a})=>{const h=c3(),[d,k]=Q0.useState(new Map),[y,I]=Q0.useState(!1),S=q2(Hr),G=q2(Mj0),[R,M]=Q0.useState(""),Q=async()=>{try{var f0=new XMLHttpRequest;f0.open("GET",V(),!0),f0.onreadystatechange=function(){f0.readyState===4&&f0.status===200&&(I(!1),d.set(a,f0.responseText),h(Wj0({nodeId:S,profileName:a,data:f0.responseText})))},f0.send()}catch(y0){I(!1),console.error(y0)}},V=()=>{switch(a){case"heap":return CH();case"goroutine":return xN0();case"threadcreate":return SN0();case"block":return zN0();case"mutex":return LN0();case"allocs":return _N0();default:return CH()}},e0=f0=>f0.length===0?f0:f0[0].toUpperCase()+f0.slice(1),l0=f0=>atob(f0),A0=window.innerHeight*.8,n0=window.innerWidth*.8,h0=G.find(f0=>f0.name===a),u0=()=>J.jsx("div",{children:J.jsxs("table",{className:"table-auto bg-white text-left",children:[J.jsx("tr",{className:"border-b border-gray-200",children:J.jsx("th",{children:"Profile snapshot"})}),h0==null?void 0:h0.profile.map(f0=>J.jsx("tr",{className:"border-b border-gray-200 cursor-pointer",onClick:()=>{c0(h0.profile.indexOf(f0))},children:J.jsx("td",{children:f0.date})}))]})}),c0=f0=>{var y0;return(h0==null?void 0:h0.profile.length)===0?M(""):M(((y0=h0==null?void 0:h0.profile[f0])==null?void 0:y0.data)||"")};return J.jsxs("div",{className:"flex flex-col h-full",children:[J.jsx("div",{className:"flex justify-center",children:J.jsx("h3",{className:"text-xl font-semibold",children:e0(a)+" Profile"})}),J.jsxs("div",{className:"flex flex-row justify-between",children:[J.jsxs("div",{className:"w-[15%]",children:[u0(),y?J.jsx($L,{}):J.jsx(qL,{variant:"contained",color:"primary",onClick:()=>{I(!0),Q()},children:"Fetch Data"})]}),J.jsx("div",{className:"mt-5 mr-5 mb-5",children:R!=""&&J.jsx(Uee,{dot:l0(R),options:{fit:!0,zoom:!0,height:A0,width:n0}})})]})]})};function Xee(){return J.jsx("div",{children:J.jsx(kz0,{children:J.jsxs(Gt,{path:"/",element:J.jsx(qee,{}),children:[J.jsx(Gt,{index:!0,element:J.jsx(RT0,{})}),J.jsx(Gt,{path:"sentry-network",element:J.jsx(oX,{type:"sentry"})}),J.jsx(Gt,{path:"sentinel-network",element:J.jsx(oX,{type:"sentinel"})}),J.jsx(Gt,{path:"downloader",element:J.jsx(A$0,{})}),J.jsx(Gt,{path:"logs",element:J.jsx(HO0,{})}),J.jsx(Gt,{path:"chain",element:J.jsx($ee,{})}),J.jsx(Gt,{path:"data",element:J.jsx(hH0,{})}),J.jsx(Gt,{path:"debug",element:J.jsx(Kee,{})}),J.jsx(Gt,{path:"testing",element:J.jsx(bee,{})}),J.jsx(Gt,{path:"performance",element:J.jsx(f$0,{})}),J.jsx(Gt,{path:"documentation",element:J.jsx(e2e,{})}),J.jsx(Gt,{path:"issues",element:J.jsx(h$0,{})}),J.jsx(Gt,{path:"sysinfo",element:J.jsx(w$0,{})}),J.jsx(Gt,{path:"processes",element:J.jsx(k$0,{})}),J.jsx(Gt,{path:"cpu-info",element:J.jsx(v$0,{})}),J.jsx(Gt,{path:"goroutine",element:J.jsx(u4,{profile:"goroutine"})}),J.jsx(Gt,{path:"threadcreate",element:J.jsx(u4,{profile:"threadcreate"})}),J.jsx(Gt,{path:"heap",element:J.jsx(u4,{profile:"heap"})}),J.jsx(Gt,{path:"allocs",element:J.jsx(u4,{profile:"allocs"})}),J.jsx(Gt,{path:"block",element:J.jsx(u4,{profile:"block"})}),J.jsx(Gt,{path:"mutex",element:J.jsx(u4,{profile:"mutex"})}),J.jsx(Gt,{path:"admin",element:J.jsx(pH0,{})}),J.jsx(Gt,{path:"*",element:J.jsx(r2e,{})})]})})})}function qee(){const a=c3(),h=q2(Hr),d=q2(F_),k=q2(N_),y=q2(Q_),I=q2(WM0),S=q2(Zb),[G,R]=Q0.useState(!1),[M,Q]=Q0.useState(!1);Q0.useEffect(()=>{},[]),Q0.useEffect(()=>{y&&(document!=null&&document.title)&&(document.title="ErigonWatch - "+y.name)},[y]),Q0.useEffect(()=>{bT0()},[]),Q0.useEffect(()=>{S!==D4.Unknown?n5()?tF0():k!==""&&rF0():n5()&&a(Qx({name:"localSession",pin:"noPin",is_active:!0,nodes:[]}))},[S,k]),Q0.useEffect(()=>{n5()&&a(Qx({name:"localSession",pin:"noPin",is_active:!0,nodes:[]}))},[S]),Q0.useEffect(()=>{h!==""&&k!==""&&V()},[h]);const V=()=>{hF0(),oF0(),nF0(),iF0(),l00(),lF0(),sF0(),uF0(),DH(),setInterval(()=>{DH()},5*a4.second),aF0(),MH(),setInterval(()=>{MH()},20*a4.second),setInterval(()=>{},2*a4.second),setInterval(()=>{a(wM0({activeNodeId:h,countInterval:15}))},15*a4.second),fF0()};let e0=null;return Q0.useEffect(()=>(I?e0=setInterval(()=>{cF0()},5*a4.second):clearInterval(e0),()=>clearInterval(e0)),[I]),Q0.useEffect(()=>{h!==""&&d.length>0&&d.forEach(l0=>{l0.tables.length===0&&AF0(l0.path)})},[d]),J.jsxs("div",{className:"flex overflow-clip",children:[J.jsx(qX0,{}),J.jsx("div",{className:"flex flex-col w-full p-4 h-full overflow-scroll",children:J.jsx(dz0,{})}),J.jsx(EH0,{onSessionClicked:()=>{R(!0)},onNodeClicked:()=>{Q(!0)}}),J.jsx(BH0,{open:G,onClose:()=>{R(!1)}}),J.jsx(xH0,{open:M,onClose:()=>{Q(!1)}})]})}function $ee(){return J.jsx("div",{children:J.jsx("h2",{children:"Chain"})})}function Kee(){return J.jsx("div",{children:J.jsx("h2",{children:"Debug"})})}function bee(){return J.jsx("div",{children:J.jsx("h2",{children:"Testing"})})}function e2e(){return J.jsx("div",{children:J.jsx("h2",{children:"Documentation"})})}function r2e(){return J.jsxs("div",{children:[J.jsx("h2",{children:"Nothing to see here!"}),J.jsx("p",{children:J.jsx(dn,{to:"/",children:"Go to the home page"})})]})}function k5(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k5=function(d){return typeof d}:k5=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},k5(a)}function t2e(a,h){if(!(a instanceof h))throw new TypeError("Cannot call a class as a function")}function jX(a,h){for(var d=0;d

>>0)&&!((o|n)&3|0)){for(p=n>>>2,w=o>>>2,f=0;;){if(A=l>>>1,c=f+A|0,s=c<<1,o=s+p|0,n=Da(e[r+(o<<2)>>2]|0,v)|0,o=Da(e[r+(o+1<<2)>>2]|0,v)|0,!(o>>>0>>0&n>>>0<(t-o|0)>>>0)){n=0;break e}if(C[r+(o+n)>>0]|0){n=0;break e}if(n=ge(i,r+o|0)|0,!n)break;if(n=(n|0)<0,(l|0)==1){n=0;break e}else f=n?f:c,l=n?A:l-A|0}n=s+w|0,o=Da(e[r+(n<<2)>>2]|0,v)|0,n=Da(e[r+(n+1<<2)>>2]|0,v)|0,n>>>0>>0&o>>>0<(t-n|0)>>>0?n=C[r+(n+o)>>0]|0?0:r+n|0:n=0}else n=0;while(0);return n|0}function Da(r,t){r=r|0,t=t|0;var i=0;return i=OY(r|0)|0,(t|0?i:r)|0}function ge(r,t){r=r|0,t=t|0;var i=0,n=0;if(i=C[r>>0]|0,n=C[t>>0]|0,!(i<<24>>24)||i<<24>>24!=n<<24>>24)r=n;else{do r=r+1|0,t=t+1|0,i=C[r>>0]|0,n=C[t>>0]|0;while(!(!(i<<24>>24)||i<<24>>24!=n<<24>>24));r=n}return(i&255)-(r&255)|0}function n8(r){return r=r|0,FE0(r,e[(OE0()|0)+188>>2]|0)|0}function OE0(){return o8()|0}function o8(){return 62976}function XP(r,t,i){r=+r,t=+t,i=i|0;var n=0,o=0,l=0;return l=r*r,n=l*(l*l)*(l*158969099521155e-24+-25050760253406863e-24)+(l*(l*27557313707070068e-22+-.0001984126982985795)+.00833333333332249),o=l*r,i?r=r-(o*.16666666666666632+(l*(t*.5-o*n)-t)):r=o*(l*n+-.16666666666666632)+r,+r}function qP(r){r=+r;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;u[ne>>3]=r,t=e[ne>>2]|0,i=e[ne+4>>2]|0,n=(i|0)<0;do if(n|i>>>0<1048576){if((t|0)==0&(i&2147483647|0)==0){r=-1/(r*r);break}if(n){r=(r-r)/0;break}else{u[ne>>3]=r*0x40000000000000,i=e[ne+4>>2]|0,n=-1077,t=e[ne>>2]|0,o=9;break}}else i>>>0<=2146435071&&((t|0)==0&!0&(i|0)==1072693248?r=0:(n=-1023,o=9));while(0);return(o|0)==9&&(o=i+614242|0,e[ne>>2]=t,e[ne+4>>2]=(o&1048575)+1072079006,f=+u[ne>>3]+-1,A=f*(f*.5),s=f/(f+2),c=s*s,l=c*c,u[ne>>3]=f-A,i=e[ne+4>>2]|0,e[ne>>2]=0,e[ne+4>>2]=i,r=+u[ne>>3],l=f-r-A+s*(A+(l*(l*(l*.15313837699209373+.22222198432149784)+.3999999999940942)+c*(l*(l*(l*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735))),c=r*1.4426950407214463,A=+(n+(o>>>20)|0),s=c+A,r=s+(c+(A-s)+(l*1.4426950407214463+(l+r)*16751713164886512e-26))),+r}function $P(r,t){r=+r,t=t|0;var i=0,n=0,o=0;switch(u[ne>>3]=r,i=e[ne>>2]|0,n=e[ne+4>>2]|0,o=Qi(i|0,n|0,52)|0,o&2047){case 0:{r!=0?(r=+$P(r*18446744073709552e3,t),i=(e[t>>2]|0)+-64|0):i=0,e[t>>2]=i;break}case 2047:break;default:e[t>>2]=(o&2047)+-1022,e[ne>>2]=i,e[ne+4>>2]=n&-2146435073|1071644672,r=+u[ne>>3]}return+r}function KP(r,t){r=+r,t=+t;var i=0,n=0,o=0,l=0;return i=r*r,n=i*i,o=i*.5,l=1-o,+(l+(1-l-o+(i*(i*(i*(i*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+n*n*(i*(2087572321298175e-24-i*11359647557788195e-27)+-27557314351390663e-23))-r*t)))}function HE0(r){r=+r;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0;u[ne>>3]=r,t=e[ne>>2]|0,i=e[ne+4>>2]|0,n=(i|0)<0;do if(n|i>>>0<1048576){if((t|0)==0&(i&2147483647|0)==0){r=-1/(r*r);break}if(n){r=(r-r)/0;break}else{u[ne>>3]=r*0x40000000000000,i=e[ne+4>>2]|0,n=-1077,t=e[ne>>2]|0,o=9;break}}else i>>>0<=2146435071&&((t|0)==0&!0&(i|0)==1072693248?r=0:(n=-1023,o=9));while(0);return(o|0)==9&&(o=i+614242|0,e[ne>>2]=t,e[ne+4>>2]=(o&1048575)+1072079006,A=+u[ne>>3]+-1,s=A*(A*.5),c=A/(A+2),f=c*c,l=f*f,u[ne>>3]=A-s,i=e[ne+4>>2]|0,e[ne>>2]=0,e[ne+4>>2]=i,r=+u[ne>>3],l=A-r-s+c*(s+(l*(l*(l*.15313837699209373+.22222198432149784)+.3999999999940942)+f*(l*(l*(l*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735))),f=r*.4342944818781689,s=+(n+(o>>>20)|0),c=s*.30102999566361177,A=c+f,r=A+(f+(c-A)+(l*.4342944818781689+(s*3694239077158931e-28+(l+r)*25082946711645275e-27)))),+r}function JE0(r,t){r=+r,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;m=g,g=g+48|0,c=m+16|0,f=m,u[ne>>3]=r,i=e[ne>>2]|0,s=e[ne+4>>2]|0,w=Qi(i|0,s|0,63)|0,v=s&2147483647;do if(v>>>0<1074752123)if((s&1048575|0)!=598523)if(i=(w|0)!=0,v>>>0<1073928573)if(i){l=r+1.5707963267341256,A=l+6077100506506192e-26,u[t>>3]=A,u[t+8>>3]=l-A+6077100506506192e-26,i=-1;break}else{l=r+-1.5707963267341256,A=l+-6077100506506192e-26,u[t>>3]=A,u[t+8>>3]=l-A+-6077100506506192e-26,i=1;break}else if(i){l=r+3.1415926534682512,A=l+12154201013012384e-26,u[t>>3]=A,u[t+8>>3]=l-A+12154201013012384e-26,i=-2;break}else{l=r+-3.1415926534682512,A=l+-12154201013012384e-26,u[t>>3]=A,u[t+8>>3]=l-A+-12154201013012384e-26,i=2;break}else p=21;else{if(v>>>0<1075594812)if(v>>>0<1075183037){if((v|0)==1074977148){p=21;break}if(w){l=r+4.712388980202377,A=l+18231301519518578e-26,u[t>>3]=A,u[t+8>>3]=l-A+18231301519518578e-26,i=-3;break}else{l=r+-4.712388980202377,A=l+-18231301519518578e-26,u[t>>3]=A,u[t+8>>3]=l-A+-18231301519518578e-26,i=3;break}}else{if((v|0)==1075388923){p=21;break}if(w){l=r+6.2831853069365025,A=l+2430840202602477e-25,u[t>>3]=A,u[t+8>>3]=l-A+2430840202602477e-25,i=-4;break}else{l=r+-6.2831853069365025,A=l+-2430840202602477e-25,u[t>>3]=A,u[t+8>>3]=l-A+-2430840202602477e-25,i=4;break}}if(v>>>0>=1094263291){if(v>>>0>2146435071){A=r-r,u[t+8>>3]=A,u[t>>3]=A,i=0;break}e[ne>>2]=i,e[ne+4>>2]=s&1048575|1096810496,r=+u[ne>>3],i=0;do A=+(~~r|0),u[c+(i<<3)>>3]=A,r=(r-A)*16777216,i=i+1|0;while((i|0)!=2);if(u[c+16>>3]=r,r==0)for(i=1;+u[c+(i<<3)>>3]==0;)i=i+-1|0;else i=2;if(i=UE0(c,f,(v>>>20)+-1046|0,i+1|0,1)|0,r=+u[f>>3],w){u[t>>3]=-r,u[t+8>>3]=-+u[f+8>>3],i=0-i|0;break}else{u[t>>3]=r,u[t+8>>3]=+u[f+8>>3];break}}else p=21}while(0);return(p|0)==21&&(l=r*.6366197723675814+6755399441055744+-6755399441055744,i=~~l,n=r-l*1.5707963267341256,o=l*6077100506506192e-26,r=n-o,u[t>>3]=r,u[ne>>3]=r,p=Qi(e[ne>>2]|0,e[ne+4>>2]|0,52)|0,s=v>>>20,(s-(p&2047)|0)>16&&(o=l*6077100506303966e-26,A=n-o,o=l*20222662487959506e-37-(n-A-o),r=A-o,u[t>>3]=r,u[ne>>3]=r,v=Qi(e[ne>>2]|0,e[ne+4>>2]|0,52)|0,E=l*20222662487111665e-37,n=A-E,l=l*84784276603689e-45-(A-n-E),(s-(v&2047)|0)>49?(r=n-l,u[t>>3]=r,o=l):n=A),u[t+8>>3]=n-r-o),g=m,i|0}function UE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0;if(q=g,g=g+560|0,D=q+480|0,N=q+320|0,F=q+160|0,X=q,P=e[63220+(o<<2)>>2]|0,v=n+-1|0,W=(i+-3|0)/24|0,W=(W|0)>0?W:0,T=N0(W,-24)|0,A=i+-24+T|0,(P+v|0)>=0)for(w=P+n|0,c=W-v|0,f=0;(c|0)<0?l=0:l=+(e[63236+(c<<2)>>2]|0),u[N+(f<<3)>>3]=l,f=f+1|0,(f|0)!=(w|0);)c=c+1|0;for(p=(n|0)>0,w=0;;){if(p){f=w+v|0,l=0,c=0;do l=l+ +u[r+(c<<3)>>3]*+u[N+(f-c<<3)>>3],c=c+1|0;while((c|0)!=(n|0))}else l=0;if(u[X+(w<<3)>>3]=l,(w|0)<(P|0))w=w+1|0;else break}x=(A|0)>0,z=24-A|0,_=23-A|0,L=(n|0)>0,Z=(A|0)==0,c=P;e:for(;;){if(l=+u[X+(c<<3)>>3],p=(c|0)>0,p)for(f=c,w=0;s=+(~~(l*5960464477539063e-23)|0),e[D+(w<<2)>>2]=~~(l-s*16777216),B=f,f=f+-1|0,l=+u[X+(f<<3)>>3]+s,!((B|0)<=1);)w=w+1|0;l=+bA(l,A),l=l-+S0(+(l*.125))*8,f=~~l,l=l-+(f|0);do if(x)B=D+(c+-1<<2)|0,w=e[B>>2]|0,U=w>>z,w=w-(U<>2]=w,w=w>>_,f=U+f|0,U=19;else if(Z){w=e[D+(c+-1<<2)>>2]>>23,U=19;break}else if(l>=.5){w=2,U=20;break}else{v=0,B=f;break}while(0);if((U|0)==19&&(U=0,(w|0)>0?U=20:(v=w,B=f)),(U|0)==20){if(U=0,B=f+1|0,p){f=0,E=0;do v=D+(E<<2)|0,m=e[v>>2]|0,f?(p=16777215,U=23):m?(f=1,p=16777216,U=23):f=0,(U|0)==23&&(U=0,e[v>>2]=p-m),E=E+1|0;while((E|0)!=(c|0))}else f=0;r:do if(x){switch(A|0){case 1:{p=8388607;break}case 2:{p=4194303;break}default:break r}E=D+(c+-1<<2)|0,e[E>>2]=e[E>>2]&p}while(0);(w|0)==2?(l=1-l,f?(v=2,l=l-+bA(1,A)):v=2):v=w}if(l!=0){U=42;break}if((c|0)>(P|0)){f=0,w=c;do w=w+-1|0,f=e[D+(w<<2)>>2]|f;while((w|0)>(P|0));if(f){U=41;break}else f=1}else f=1;for(;!(e[D+(P-f<<2)>>2]|0);)f=f+1|0;if(p=f+c|0,(f|0)<=0){c=p;continue}for(;;){if(w=c+1|0,f=c+n|0,u[N+(f<<3)>>3]=+(e[63236+(w+W<<2)>>2]|0),L){l=0,c=0;do l=l+ +u[r+(c<<3)>>3]*+u[N+(f-c<<3)>>3],c=c+1|0;while((c|0)!=(n|0))}else l=0;if(u[X+(w<<3)>>3]=l,(w|0)<(p|0))c=w;else{c=p;continue e}}}if((U|0)==41)for(;;)if(U=0,A=A+-24|0,c=c+-1|0,!(e[D+(c<<2)>>2]|0))U=41;else{p=c;break}else(U|0)==42&&(l=+bA(l,0-A|0),l>=16777216&&(s=+(~~(l*5960464477539063e-23)|0),e[D+(c<<2)>>2]=~~(l-s*16777216),A=T+i|0,c=c+1|0,l=s),e[D+(c<<2)>>2]=~~l,p=c);if(w=(p|0)>-1,w){for(l=+bA(1,A),A=p;u[X+(A<<3)>>3]=l*+(e[D+(A<<2)>>2]|0),(A|0)>0;)l=l*5960464477539063e-23,A=A+-1|0;if(w)for(c=p;;){for(f=p-c|0,A=0,l=0;l=l+ +u[10904+(A<<3)>>3]*+u[X+(A+c<<3)>>3],!((A|0)>=(P|0)|(A|0)>=(f|0));)A=A+1|0;if(u[F+(f<<3)>>3]=l,(c|0)>0)c=c+-1|0;else break}}switch(o|0){case 0:{if(w)for(l=0,A=p;l=l+ +u[F+(A<<3)>>3],(A|0)>0;)A=A+-1|0;else l=0;s=v|0?-l:l,U=73;break}case 2:case 1:{if(w)for(l=0,A=p;l=l+ +u[F+(A<<3)>>3],(A|0)>0;)A=A+-1|0;else l=0;if(c=(v|0)==0,u[t>>3]=c?l:-l,l=+u[F>>3]-l,(p|0)>=1)for(A=1;l=l+ +u[F+(A<<3)>>3],(A|0)!=(p|0);)A=A+1|0;s=c?l:-l,t=t+8|0,U=73;break}case 3:{if((p|0)>0){A=p,l=+u[F+(p<<3)>>3];do U=A,A=A+-1|0,X=F+(A<<3)|0,s=+u[X>>3],t0=l,l=s+l,u[F+(U<<3)>>3]=t0+(s-l),u[X>>3]=l;while((U|0)>1);if(c=(p|0)>1,c){A=p,l=+u[F+(p<<3)>>3];do U=A,A=A+-1|0,X=F+(A<<3)|0,t0=+u[X>>3],s=l,l=t0+l,u[F+(U<<3)>>3]=s+(t0-l),u[X>>3]=l;while((U|0)>2);if(c)for(A=p,s=0;s=s+ +u[F+(A<<3)>>3],(A|0)>2;)A=A+-1|0;else s=0}else s=0}else s=0;l=+u[F>>3],v?(u[t>>3]=-l,s=-s,l=-+u[F+8>>3]):(u[t>>3]=l,l=+u[F+8>>3]),u[t+8>>3]=l,t=t+16|0,U=73;break}default:}return(U|0)==73&&(u[t>>3]=s),g=q,B&7|0}function bA(r,t){r=+r,t=t|0;var i=0,n=0;return(t|0)<=1023?(t|0)<-1022&&(r=r*22250738585072014e-324,n=(t|0)<-2044,i=t+2044|0,r=n?r*22250738585072014e-324:r,t=n?(i|0)>-1022?i:-1022:t+1022|0):(r=r*898846567431158e293,i=(t|0)>2046,n=t+-2046|0,r=i?r*898846567431158e293:r,t=i?(n|0)<1023?n:1023:t+-1023|0),i=Br(t+1023|0,0,52)|0,n=b,e[ne>>2]=i,e[ne+4>>2]=n,+(r*+u[ne>>3])}function CE(r){r=+r;var t=0,i=0,n=0,o=0,l=0;u[ne>>3]=r,i=e[ne+4>>2]|0,t=i&2147483647;do if(t>>>0>2146435071)r=r+r;else{if(t>>>0<1048576)if(u[ne>>3]=r*0x40000000000000,i=e[ne+4>>2]|0,t=i&2147483647,t)n=696219795;else break;else n=715094163;e[ne>>2]=0,e[ne+4>>2]=((t>>>0)/3|0)+n|i&-2147483648,o=+u[ne>>3],l=o*o*(o/r),u[ne>>3]=(l*(l*l)*(l*.14599619288661245+-.758397934778766)+(l*(l*1.6214297201053545+-1.8849797954337717)+1.87595182427177))*o,i=fr(e[ne>>2]|0,e[ne+4>>2]|0,-2147483648,0)|0,n=b,e[ne>>2]=i&-1073741824,e[ne+4>>2]=n,o=+u[ne>>3],r=r/(o*o),r=(r-o)/(o+o+r)*o+o}while(0);return+r}function XE0(r,t){r=+r,t=+t;var i=0,n=0;return u[ne>>3]=r,n=e[ne>>2]|0,i=e[ne+4>>2]|0,u[ne>>3]=t,i=e[ne+4>>2]&-2147483648|i&2147483647,e[ne>>2]=n,e[ne+4>>2]=i,+ +u[ne>>3]}function bP(r,t){return r=+r,t=+t,+ +XE0(r,t)}function eY(r,t){return r=+r,t=t|0,+ +bA(r,t)}function rY(r,t){return r=+r,t=+t,+ +qE0(r,t)}function qE0(r,t){r=+r,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0;u[ne>>3]=r,s=e[ne>>2]|0,c=e[ne+4>>2]|0,u[ne>>3]=t,w=e[ne>>2]|0,p=e[ne+4>>2]|0,n=Qi(s|0,c|0,52)|0,n=n&2047,f=Qi(w|0,p|0,52)|0,f=f&2047,v=c&-2147483648,l=Br(w|0,p|0,1)|0,A=b;e:do if(!((l|0)==0&(A|0)==0)&&(o=$E0(t)|0,i=b&2147483647,!((n|0)==2047|(i>>>0>2146435072|(i|0)==2146435072&o>>>0>0)))){if(i=Br(s|0,c|0,1)|0,o=b,!(o>>>0>A>>>0|(o|0)==(A|0)&i>>>0>l>>>0))return+((i|0)==(l|0)&(o|0)==(A|0)?r*0:r);if(n)l=c&1048575|1048576;else{if(i=Br(s|0,c|0,12)|0,o=b,(o|0)>-1|(o|0)==-1&i>>>0>4294967295){n=0;do n=n+-1|0,i=Br(i|0,o|0,1)|0,o=b;while((o|0)>-1|(o|0)==-1&i>>>0>4294967295)}else n=0;s=Br(s|0,c|0,1-n|0)|0,l=b}if(f)c=p&1048575|1048576;else{if(o=Br(w|0,p|0,12)|0,A=b,(A|0)>-1|(A|0)==-1&o>>>0>4294967295){i=0;do i=i+-1|0,o=Br(o|0,A|0,1)|0,A=b;while((A|0)>-1|(A|0)==-1&o>>>0>4294967295)}else i=0;w=Br(w|0,p|0,1-i|0)|0,f=i,c=b}o=Pl(s|0,l|0,w|0,c|0)|0,i=b,A=(i|0)>-1|(i|0)==-1&o>>>0>4294967295;r:do if((n|0)>(f|0)){for(;;){if(A){if((o|0)==0&(i|0)==0)break}else o=s,i=l;if(s=Br(o|0,i|0,1)|0,l=b,n=n+-1|0,o=Pl(s|0,l|0,w|0,c|0)|0,i=b,A=(i|0)>-1|(i|0)==-1&o>>>0>4294967295,(n|0)<=(f|0))break r}t=r*0;break e}while(0);if(A){if((o|0)==0&(i|0)==0){t=r*0;break}}else i=l,o=s;if(i>>>0<1048576|(i|0)==1048576&o>>>0<0)do o=Br(o|0,i|0,1)|0,i=b,n=n+-1|0;while(i>>>0<1048576|(i|0)==1048576&o>>>0<0);(n|0)>0?(p=fr(o|0,i|0,0,-1048576)|0,i=b,n=Br(n|0,0,52)|0,i=i|b,n=p|n):(n=Qi(o|0,i|0,1-n|0)|0,i=b),e[ne>>2]=n,e[ne+4>>2]=i|v,t=+u[ne>>3]}else m=3;while(0);return(m|0)==3&&(t=r*t,t=t/t),+t}function $E0(r){r=+r;var t=0;return u[ne>>3]=r,t=e[ne>>2]|0,b=e[ne+4>>2]|0,t|0}function Pf(r,t){r=+r,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;v=g,g=g+32|0,c=v+24|0,f=v+16|0,w=v+8|0,p=v,u[ne>>3]=r,B=e[ne>>2]|0,l=e[ne+4>>2]|0,u[ne>>3]=t,n=e[ne>>2]|0,l=l&2147483647,o=e[ne+4>>2]&2147483647,s=l>>>0>>0|(l|0)==(o|0)&B>>>0>>0,E=s?n:B,m=s?o:l,n=s?B:n,o=s?l:o,l=Qi(E|0,m|0,52)|0,s=Qi(n|0,o|0,52)|0,e[ne>>2]=E,e[ne+4>>2]=m,r=+u[ne>>3],e[ne>>2]=n,e[ne+4>>2]=o,A=+u[ne>>3];do if((s|0)!=2047){if(!((n|0)==0&(o|0)==0|(l|0)==2047)){if((l-s|0)>64){r=r+A;break}(l|0)>1533?(i=5260135901548374e195,t=r*190109156629516e-225,r=A*190109156629516e-225):(B=(s|0)<573,i=B?190109156629516e-225:1,t=B?r*5260135901548374e195:r,r=B?A*5260135901548374e195:A),tY(c,f,t),tY(w,p,r),r=i*+G0(+(+u[p>>3]+ +u[f>>3]+ +u[w>>3]+ +u[c>>3]))}}else r=A;while(0);return g=v,+r}function tY(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0;o=i*134217729,o=o+(i-o),n=i-o,i=i*i,u[r>>3]=i,u[t>>3]=n*n+(o*o-i+o*2*n)}function l8(r,t,i){r=+r,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0;A=g,g=g+16|0,l=A,u[ne>>3]=r,o=e[ne+4>>2]&2147483647;do if(o>>>0<1072243196)if(o>>>0<1044816030){u[t>>3]=r,u[i>>3]=1;break}else{u[t>>3]=+XP(r,0,0),u[i>>3]=+KP(r,0);break}else{if(o>>>0>2146435071){s=r-r,u[i>>3]=s,u[t>>3]=s;break}switch(o=JE0(r,l)|0,c=l+8|0,n=+XP(+u[l>>3],+u[c>>3],1),r=+KP(+u[l>>3],+u[c>>3]),o&3){case 0:{u[t>>3]=n,s=r;break}case 1:{u[t>>3]=r,s=-n;break}case 2:{u[t>>3]=-n,s=-r;break}case 3:{u[t>>3]=-r,s=n;break}default:}u[i>>3]=s}while(0);g=A}function KE0(r,t){return r=+r,t=t|0,+ +$P(r,t)}function bE0(r){return r=r|0,r>>>0<131072?r=(s0[146423+((s0[146423+(r>>>8)>>0]|0)<<5|r>>>3&31)>>0]|0)>>>(r&7)&1:r=0,r|0}function Yr(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;if(!i)n=0;else{n=C[r>>0]|0;e:do if(!(n<<24>>24))n=0;else for(;;){if(i=i+-1|0,o=C[t>>0]|0,!(n<<24>>24==o<<24>>24&((i|0)!=0&o<<24>>24!=0)))break e;if(r=r+1|0,t=t+1|0,n=C[r>>0]|0,!(n<<24>>24)){n=0;break}}while(0);n=(n&255)-(s0[t>>0]|0)|0}return n|0}function Zr(r,t){return r=r|0,t=t|0,r=_k(r,t)|0,((C[r>>0]|0)==(t&255)<<24>>24?r:0)|0}function cn(r){return r=r|0,((r|0)==32|(r+-9|0)>>>0<5)&1|0}function eB0(r,t,i){return r=r|0,t=t|0,i=i|0,i=iY(r,t,i,-1,0)|0,i|0}function Yf(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=t&255,n=(i|0)!=0;e:do if(n&(r&3|0)!=0)for(o=t&255;;){if((C[r>>0]|0)==o<<24>>24){s=6;break e}if(r=r+1|0,i=i+-1|0,n=(i|0)!=0,!(n&(r&3|0)!=0)){s=5;break}}else s=5;while(0);(s|0)==5&&(n?s=6:i=0);e:do if((s|0)==6&&(o=t&255,(C[r>>0]|0)!=o<<24>>24)){n=N0(l,16843009)|0;r:do if(i>>>0>3){for(;l=e[r>>2]^n,!((l&-2139062144^-2139062144)&l+-16843009|0);)if(r=r+4|0,i=i+-4|0,i>>>0<=3){s=11;break r}}else s=11;while(0);if((s|0)==11&&!i){i=0;break}for(;;){if((C[r>>0]|0)==o<<24>>24)break e;if(r=r+1|0,i=i+-1|0,!i){i=0;break}}}while(0);return(i|0?r:0)|0}function iY(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0;return c=g,g=g+128|0,s=c,e[s>>2]=0,A=s+4|0,e[A>>2]=r,e[s+44>>2]=r,l=s+8|0,e[l>>2]=(r|0)<0?-1:r+2147483647|0,e[s+76>>2]=-1,v1(s,0),i=nY(s,i,1,n,o)|0,t|0&&(e[t>>2]=r+((e[A>>2]|0)+(e[s+108>>2]|0)-(e[l>>2]|0))),g=c,i|0}function v1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;e[r+104>>2]=t,i=e[r+8>>2]|0,n=e[r+4>>2]|0,o=i-n|0,e[r+108>>2]=o,e[r+100>>2]=(t|0)!=0&(o|0)>(t|0)?n+t|0:i}function nY(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;e:do if(t>>>0>36)e[(kr()|0)>>2]=22,o=0,n=0;else{E=r+4|0,m=r+100|0;do l=e[E>>2]|0,l>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=l+1,l=s0[l>>0]|0):l=Ar(r)|0;while(cn(l)|0);r:do switch(l|0){case 43:case 45:if(l=((l|0)==45)<<31>>31,s=e[E>>2]|0,s>>>0<(e[m>>2]|0)>>>0){e[E>>2]=s+1,v=l,l=s0[s>>0]|0;break r}else{v=l,l=Ar(r)|0;break r}default:v=0}while(0);s=(t|0)==0;do if((t|16|0)==16&(l|0)==48){if(l=e[E>>2]|0,l>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=l+1,l=s0[l>>0]|0):l=Ar(r)|0,(l|32|0)!=120)if(s){t=8,w=46;break}else{w=32;break}if(l=e[E>>2]|0,l>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=l+1,l=s0[l>>0]|0):l=Ar(r)|0,(s0[149592+l>>0]|0)>15){if(n=(e[m>>2]|0)==0,n||(e[E>>2]=(e[E>>2]|0)+-1),!i){v1(r,0),o=0,n=0;break e}if(n){o=0,n=0;break e}e[E>>2]=(e[E>>2]|0)+-1,o=0,n=0;break e}else t=16,w=46}else if(t=s?10:t,t>>>0>(s0[149592+l>>0]|0)>>>0)w=32;else{e[m>>2]|0&&(e[E>>2]=(e[E>>2]|0)+-1),v1(r,0),e[(kr()|0)>>2]=22,o=0,n=0;break e}while(0);r:do if((w|0)==32)if((t|0)==10){if(t=l+-48|0,t>>>0<10){l=0,s=t;do l=(l*10|0)+s|0,t=e[E>>2]|0,t>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,s=t+-48|0;while(s>>>0<10&l>>>0<429496729);i=0}else t=l,l=0,i=0;if(A=t+-48|0,A>>>0<10){s=t;do{if(t=Xf(l|0,i|0,10,0)|0,c=b,f=((A|0)<0)<<31>>31,p=~f,c>>>0>p>>>0|(c|0)==(p|0)&t>>>0>~A>>>0){t=10,w=72;break r}l=fr(t|0,c|0,A|0,f|0)|0,i=b,t=e[E>>2]|0,t>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=t+1,s=s0[t>>0]|0):s=Ar(r)|0,A=s+-48|0}while(A>>>0<10&(i>>>0<429496729|(i|0)==429496729&l>>>0<2576980378));A>>>0>9?(s=v,t=i):(t=10,w=72)}else s=v,t=i}else w=46;while(0);r:do if((w|0)==46){if(!(t+-1&t)){if(w=C[149848+((t*23|0)>>>5&7)>>0]|0,i=C[149592+l>>0]|0,s=i&255,t>>>0>s>>>0){l=0,A=s;do l=A|l<>2]|0,s>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=s+1,s=s0[s>>0]|0):s=Ar(r)|0,i=C[149592+s>>0]|0,A=i&255;while(l>>>0<134217728&t>>>0>A>>>0);A=0}else s=l,A=0,l=0;if(c=Qi(-1,-1,w|0)|0,f=b,t>>>0<=(i&255)>>>0|(f>>>0>>0|(f|0)==(A|0)&c>>>0>>0)){i=A,w=72;break}else s=A;for(;;)if(l=Br(l|0,s|0,w|0)|0,A=b,l=l|i&255,s=e[E>>2]|0,s>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=s+1,s=s0[s>>0]|0):s=Ar(r)|0,i=C[149592+s>>0]|0,t>>>0<=(i&255)>>>0|(A>>>0>f>>>0|(A|0)==(f|0)&l>>>0>c>>>0)){i=A,w=72;break r}else s=A}if(i=C[149592+l>>0]|0,s=i&255,t>>>0>s>>>0){l=0,A=s;do l=A+(N0(l,t)|0)|0,s=e[E>>2]|0,s>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=s+1,s=s0[s>>0]|0):s=Ar(r)|0,i=C[149592+s>>0]|0,A=i&255;while(l>>>0<119304647&t>>>0>A>>>0);A=0}else s=l,l=0,A=0;if(t>>>0>(i&255)>>>0)for(w=qf(-1,-1,t|0,0)|0,p=b,f=A;;){if(f>>>0>p>>>0|(f|0)==(p|0)&l>>>0>w>>>0){i=f,w=72;break r}if(A=Xf(l|0,f|0,t|0,0)|0,c=b,i=i&255,c>>>0>4294967295|(c|0)==-1&A>>>0>~i>>>0){i=f,w=72;break r}if(l=fr(A|0,c|0,i|0,0)|0,A=b,s=e[E>>2]|0,s>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=s+1,s=s0[s>>0]|0):s=Ar(r)|0,i=C[149592+s>>0]|0,t>>>0<=(i&255)>>>0){i=A,w=72;break}else f=A}else i=A,w=72}while(0);if((w|0)==72)if(t>>>0>(s0[149592+s>>0]|0)>>>0){do l=e[E>>2]|0,l>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=l+1,l=s0[l>>0]|0):l=Ar(r)|0;while(t>>>0>(s0[149592+l>>0]|0)>>>0);e[(kr()|0)>>2]=34,s=(n&1|0)==0&!0?v:0,t=o,l=n}else s=v,t=i;if(e[m>>2]|0&&(e[E>>2]=(e[E>>2]|0)+-1),!(t>>>0>>0|(t|0)==(o|0)&l>>>0>>0)){if(!((n&1|0)!=0|!1|(s|0)!=0)){e[(kr()|0)>>2]=34,n=fr(n|0,o|0,-1,-1)|0,o=b;break}if(t>>>0>o>>>0|(t|0)==(o|0)&l>>>0>n>>>0){e[(kr()|0)>>2]=34;break}}n=((s|0)<0)<<31>>31,n=Pl(l^s|0,t^n|0,s|0,n|0)|0,o=b}while(0);return b=o,n|0}function Ar(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return i=r+104|0,o=e[i>>2]|0,o|0&&(e[r+108>>2]|0)>=(o|0)?l=4:(t=zk(r)|0,(t|0)>=0?(n=e[i>>2]|0,i=r+8|0,n?(s=e[i>>2]|0,o=e[r+4>>2]|0,i=n-(e[r+108>>2]|0)|0,n=s,(s-o|0)<(i|0)?i=n:i=o+(i+-1)|0):(n=e[i>>2]|0,i=n),e[r+100>>2]=i,i=r+4|0,n?(i=e[i>>2]|0,s=r+108|0,e[s>>2]=n+1-i+(e[s>>2]|0)):i=e[i>>2]|0,i=i+-1|0,(t|0)!=(s0[i>>0]|0|0)&&(C[i>>0]=t)):l=4),(l|0)==4&&(e[r+100>>2]=0,t=-1),t|0}function zk(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=i,!(oY(r)|0)&&(oe[e[r+32>>2]&63](r,t,1)|0)==1?r=s0[t>>0]|0:r=-1,g=i,r|0}function oY(r){r=r|0;var t=0,i=0;return t=r+74|0,i=C[t>>0]|0,C[t>>0]=i+255|i,t=r+20|0,i=r+28|0,(e[t>>2]|0)>>>0>(e[i>>2]|0)>>>0&&oe[e[r+36>>2]&63](r,0,0)|0,e[r+16>>2]=0,e[i>>2]=0,e[t>>2]=0,t=e[r>>2]|0,t&4?(e[r>>2]=t|32,t=-1):(i=(e[r+44>>2]|0)+(e[r+48>>2]|0)|0,e[r+8>>2]=i,e[r+4>>2]=i,t=t<<27>>31),t|0}function lY(r){return r=r|0,(r+-48|0)>>>0<10|0}function Ma(r){return r=r|0,((r+-48|0)>>>0<10|(Lk(r)|0)!=0)&1|0}function Lk(r){return r=r|0,((r|32)+-97|0)>>>0<26|0}function De(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=C[r>>0]|0;e:do if(!(i<<24>>24))i=0;else for(o=i&255;;){if(n=C[t>>0]|0,!(n<<24>>24)||i<<24>>24!=n<<24>>24&&(o=Tl(o)|0,(o|0)!=(Tl(n&255)|0)))break e;if(r=r+1|0,t=t+1|0,i=C[r>>0]|0,i<<24>>24)o=i&255;else{i=0;break}}while(0);return o=Tl(i&255)|0,o-(Tl(s0[t>>0]|0)|0)|0}function Tl(r){r=r|0;var t=0;return t=(sY(r)|0)==0,(t?r:r|32)|0}function sY(r){return r=r|0,(r+-65|0)>>>0<26|0}function eu(r){return r=r|0,AY(r,0)|0}function AY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;s=(t<<1)+-1|0,A=t+-1|0;e:do if(!((r+-43008|0)>>>0<22272|((r+-11776|0)>>>0<30784|((r+-1536|0)>>>0<2560|(EE(r)|0)==0)))){if(i=(t|0)!=0,i&(r+-4256|0)>>>0<46){if((r|0)>4293)switch(r|0){case 4295:case 4301:break;default:break e}r=r+7264|0;break}if((r+-11520|0)>>>0<38&(i^1)){r=r+-7264|0;break}else i=0;do{if(o=C[66346+(i<<2)+2>>0]|0,l=o<<24>>24,n=r-(M0[66346+(i<<2)>>1]|0)|0,(n-(A&l)|0)>>>0<(s0[66346+(i<<2)+3>>0]|0)>>>0){c=11;break}i=i+1|0}while((i|0)!=61);if((c|0)==11)if(o<<24>>24==1){r=t+r-(n&1)|0;break}else{r=(N0(s,l)|0)+r|0;break}o=1-t|0,i=$[65858+(o<<1)>>1]|0;r:do if(i<<16>>16){for(n=0;(i&65535|0)!=(r|0);)if(n=n+1|0,i=$[65858+(n<<2)+(o<<1)>>1]|0,!(i<<16>>16))break r;r=M0[65858+(n<<2)+(t<<1)>>1]|0;break e}while(0);return((r+-66600+(t*40|0)|0)>>>0<40?r+-40+(t*80|0)|0:r)|0}while(0);return r|0}function EE(r){return r=r|0,r>>>0<131072?r=(s0[149857+((s0[149857+(r>>>8)>>0]|0)<<5|r>>>3&31)>>0]|0)>>>(r&7)&1:r=r>>>0<196606&1,r|0}function rB0(r){r=r|0;var t=0;for(t=r;e[t>>2]|0;)t=t+4|0;return t-r>>2|0}function go(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(!i)r=0;else{n=C[r>>0]|0;e:do if(!(n<<24>>24))r=0;else for(l=r,r=n,n=n&255;;){if(i=i+-1|0,o=C[t>>0]|0,!((i|0)!=0&o<<24>>24!=0)||r<<24>>24!=o<<24>>24&&(n=Tl(n)|0,(n|0)!=(Tl(o&255)|0)))break e;if(l=l+1|0,t=t+1|0,n=C[l>>0]|0,n<<24>>24)r=n,n=n&255;else{r=0;break}}while(0);r=Tl(r&255)|0,r=r-(Tl(s0[t>>0]|0)|0)|0}return r|0}function uY(r){if(r=r|0,r>>>0>=255)if((r+-57344|0)>>>0<8185|(r>>>0<8232|(r+-8234|0)>>>0<47062))r=1;else return(r&65534|0)!=65534&(r+-65532|0)>>>0<1048580&1|0;else r=(r+1&127)>>>0>32&1;return r|0}function tB0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0;c=g,g=g+16|0,o=c,s=n|0?n:190640,n=e[s>>2]|0;e:do if(!t)n?A=17:n=0;else if(l=r|0?r:o,!i)n=-2;else{if(n)o=i,A=11;else{if(n=C[t>>0]|0,n<<24>>24>-1){e[l>>2]=n&255,n=n<<24>>24!=0&1;break}if(o=(e[e[(oB0()|0)+188>>2]>>2]|0)==0,n=C[t>>0]|0,o){e[l>>2]=n<<24>>24&57343,n=1;break}if(n=(n&255)+-194|0,n>>>0>50){A=17;break}n=e[62384+(n<<2)>>2]|0,o=i+-1|0,o&&(t=t+1|0,A=11)}r:do if((A|0)==11){if(r=C[t>>0]|0,f=(r&255)>>>3,(f+-16|f+(n>>26))>>>0>7){A=17;break e}for(;t=t+1|0,n=(r&255)+-128|n<<6,o=o+-1|0,!((n|0)>=0);){if(!o)break r;if(r=C[t>>0]|0,(r&-64)<<24>>24!=-128){A=17;break e}}e[s>>2]=0,e[l>>2]=n,n=i-o|0;break e}while(0);e[s>>2]=n,n=-2}while(0);return(A|0)==17&&(e[s>>2]=0,e[(kr()|0)>>2]=84,n=-1),g=c,n|0}function aY(r,t){return r=r|0,t=t|0,r?r=iB0(r,t,0)|0:r=0,r|0}function iB0(r,t,i){r=r|0,t=t|0,i=i|0;do if(r){if(t>>>0<128){C[r>>0]=t,r=1;break}if(!(e[e[(nB0()|0)+188>>2]>>2]|0))if((t&-128|0)==57216){C[r>>0]=t,r=1;break}else{e[(kr()|0)>>2]=84,r=-1;break}if(t>>>0<2048){C[r>>0]=t>>>6|192,C[r+1>>0]=t&63|128,r=2;break}if(t>>>0<55296|(t&-8192|0)==57344){C[r>>0]=t>>>12|224,C[r+1>>0]=t>>>6&63|128,C[r+2>>0]=t&63|128,r=3;break}if((t+-65536|0)>>>0<1048576){C[r>>0]=t>>>18|240,C[r+1>>0]=t>>>12&63|128,C[r+2>>0]=t>>>6&63|128,C[r+3>>0]=t&63|128,r=4;break}else{e[(kr()|0)>>2]=84,r=-1;break}}else r=1;while(0);return r|0}function nB0(){return o8()|0}function oB0(){return o8()|0}function lB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;v=g,g=g+272|0,w=v+8|0,p=v;do if(!(C[t>>0]|0)){if(t=Uc(152833)|0,t|0&&C[t>>0]|0||(t=Uc(152840+(r*12|0)|0)|0,t|0&&C[t>>0]|0)||(t=Uc(152912)|0,t|0&&C[t>>0]|0))break;t=152917}while(0);i=0;e:do{switch(C[t+i>>0]|0){case 47:case 0:break e;default:}i=i+1|0}while(i>>>0<15);n=C[t>>0]|0,n<<24>>24!=46&&!(C[t+i>>0]|0)?n<<24>>24==67?f=15:(c=t,f=16):(t=152917,f=15),(f|0)==15&&(C[t+1>>0]|0?(c=t,f=16):f=18);e:do if((f|0)==16)if(ge(c,152917)|0&&ge(c,152925)|0){if(t=e[47661]|0,t|0)do{if(!(ge(c,t+8|0)|0))break e;t=e[t+24>>2]|0}while(t|0);zy(190648),t=e[47661]|0;r:do if(t|0){for(;ge(c,t+8|0)|0;)if(t=e[t+24>>2]|0,!t)break r;P3(190648);break e}while(0);r:do if(!(e[47646]|0)&&(o=Uc(152931)|0,(o|0)!=0)&&C[o>>0]|0){for(s=254-i|0,A=i+1|0,n=o;;){if(l=_k(n,58)|0,t=C[l>>0]|0,o=l-n+((t<<24>>24!=0)<<31>>31)|0,o>>>0>>0){if(u2(w|0,n|0,o|0)|0,n=w+o|0,C[n>>0]=47,u2(n+1|0,c|0,i|0)|0,C[w+(A+o)>>0]=0,n=Zr0(w|0,p|0)|0,n|0)break;t=C[l>>0]|0}if(n=l+(t<<24>>24!=0&1)|0,!(C[n>>0]|0)){f=41;break r}}if(t=Te(28)|0,t){e[t>>2]=n,e[t+4>>2]=e[p>>2],p=t+8|0,u2(p|0,c|0,i|0)|0,C[p+i>>0]=0,e[t+24>>2]=e[47661],e[47661]=t;break}else{UP(n,e[p>>2]|0)|0,f=41;break}}else f=41;while(0);(f|0)==41&&(t=Te(28)|0,t&&(e[t>>2]=e[15584],e[t+4>>2]=e[15585],p=t+8|0,u2(p|0,c|0,i|0)|0,C[p+i>>0]=0,e[t+24>>2]=e[47661],e[47661]=t)),P3(190648),t=(r|0)==0&(t|0)==0?62336:t}else t=c,f=18;while(0);do if((f|0)==18){if(!(r|0)&&(C[t+1>>0]|0)==46){t=62336;break}t=0}while(0);return g=v,t|0}function yo(r,t){return r=r|0,t=t|0,sB0(r,t)|0,r|0}function sB0(r,t){r=r|0,t=t|0;var i=0,n=0;i=t;e:do if((i^r)&3)n=8;else{if(i&3)do{if(i=C[t>>0]|0,C[r>>0]=i,!(i<<24>>24))break e;t=t+1|0,r=r+1|0}while(t&3|0);if(i=e[t>>2]|0,!((i&-2139062144^-2139062144)&i+-16843009))for(n=r;t=t+4|0,r=n+4|0,e[n>>2]=i,i=e[t>>2]|0,!((i&-2139062144^-2139062144)&i+-16843009|0);)n=r;n=8}while(0);if((n|0)==8&&(n=C[t>>0]|0,C[r>>0]=n,n<<24>>24))do t=t+1|0,r=r+1|0,n=C[t>>0]|0,C[r>>0]=n;while(n<<24>>24);return r|0}function AB0(r){return r=r|0,((r|0)==32|(r|0)==9)&1|0}function cY(r){return r=r|0,r?r=(uB0(63500,r)|0)!=0&1:r=0,r|0}function uB0(r,t){r=r|0,t=t|0;var i=0;if(!t)r=r+((rB0(r)|0)<<2)|0;else{for(;i=e[r>>2]|0,!((i|0)==0|(i|0)==(t|0));)r=r+4|0;r=i|0?r:0}return r|0}function Gs(r,t){r=r|0,t=t|0;do switch(t|0){case 1:{r=_r(r)|0;break}case 2:{r=EE(r)|0;break}case 3:{r=aB0(r)|0;break}case 4:{r=cB0(r)|0;break}case 5:{r=lY(r)|0;break}case 6:{r=fB0(r)|0;break}case 7:{r=BE(r)|0;break}case 8:{r=uY(r)|0;break}case 9:{r=bE0(r)|0;break}case 10:{r=cY(r)|0;break}case 11:{r=IE(r)|0;break}case 12:{r=hB0(r)|0;break}default:r=0}while(0);return r|0}function _r(r){return r=r|0,lY(r)|0?r=1:r=(EE(r)|0)!=0&1,r|0}function aB0(r){return r=r|0,AB0(r)|0}function cB0(r){return r=r|0,((r+-65529|0)>>>0<3|((r&-2|0)==8232|(r>>>0<32|(r+-127|0)>>>0<33)))&1|0}function fB0(r){return r=r|0,cY(r)|0?r=0:r=(uY(r)|0)!=0&1,r|0}function BE(r){return r=r|0,(eu(r)|0)!=(r|0)|0}function IE(r){return r=r|0,(ru(r)|0)!=(r|0)|0}function hB0(r){return r=r|0,((r+-48|0)>>>0<10|((r|32)+-97|0)>>>0<6)&1|0}function ru(r){return r=r|0,AY(r,1)|0}function wB0(r){return r=r|0,(r+-97|0)>>>0<26|0}function Rk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0;w=g,g=g+128|0,o=w+124|0,f=w,l=f,s=63588,A=l+124|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));return(t+-1|0)>>>0>2147483646?t?(e[(kr()|0)>>2]=75,t=-1):(r=o,t=1,c=4):c=4,(c|0)==4&&(c=-2-r|0,c=t>>>0>c>>>0?c:t,e[f+48>>2]=c,o=f+20|0,e[o>>2]=r,e[f+44>>2]=r,t=r+c|0,r=f+16|0,e[r>>2]=t,e[f+28>>2]=t,t=Gk(f,i,n)|0,c&&(f=e[o>>2]|0,C[f+(((f|0)==(e[r>>2]|0))<<31>>31)>>0]=0)),g=w,t|0}function Gk(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0;B=g,g=g+224|0,w=B+120|0,v=B+80|0,m=B,E=B+136|0,n=v,o=n+40|0;do e[n>>2]=0,n=n+4|0;while((n|0)<(o|0));return e[w>>2]=e[i>>2],(xE(0,t,w,m,v)|0)<0?i=-1:((e[r+76>>2]|0)>-1?p=qn(r)|0:p=0,i=e[r>>2]|0,f=i&32,(C[r+74>>0]|0)<1&&(e[r>>2]=i&-33),n=r+48|0,e[n>>2]|0?i=xE(r,t,w,m,v)|0:(o=r+44|0,l=e[o>>2]|0,e[o>>2]=E,s=r+28|0,e[s>>2]=E,A=r+20|0,e[A>>2]=E,e[n>>2]=80,c=r+16|0,e[c>>2]=E+80,i=xE(r,t,w,m,v)|0,l&&(oe[e[r+36>>2]&63](r,0,0)|0,i=e[A>>2]|0?i:-1,e[o>>2]=l,e[n>>2]=0,e[c>>2]=0,e[s>>2]=0,e[A>>2]=0)),n=e[r>>2]|0,e[r>>2]=n|f,p|0&&N1(r),i=n&32|0?-1:i),g=B,i|0}function xE(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0;U=g,g=g+64|0,T=U+16|0,D=U,W=U+24|0,P=U+8|0,X=U+20|0,e[T>>2]=t,_=(r|0)!=0,L=W+40|0,Z=L,W=W+39|0,N=P+4|0,s=0,l=0,w=0;e:for(;;){do if((l|0)>-1)if((s|0)>(2147483647-l|0)){e[(kr()|0)>>2]=75,l=-1;break}else{l=s+l|0;break}while(0);if(s=C[t>>0]|0,s<<24>>24)A=t;else{z=86;break}r:for(;;){switch(s<<24>>24){case 37:{s=A,z=9;break r}case 0:{s=A;break r}default:}x=A+1|0,e[T>>2]=x,s=C[x>>0]|0,A=x}r:do if((z|0)==9)for(;;){if(z=0,(C[A+1>>0]|0)!=37)break r;if(s=s+1|0,A=A+2|0,e[T>>2]=A,(C[A>>0]|0)==37)z=9;else break}while(0);if(s=s-t|0,_&&Ni(r,t,s),s|0){t=A;continue}if(c=A+1|0,s=(C[c>>0]|0)+-48|0,s>>>0<10?(x=(C[A+2>>0]|0)==36,E=x?s:-1,w=x?1:w,c=x?A+3|0:c):E=-1,e[T>>2]=c,s=C[c>>0]|0,x=(s<<24>>24)+-32|0,x>>>0>31|(1<>24)+-32|A,c=c+1|0,e[T>>2]=c,s=C[c>>0]|0,x=(s<<24>>24)+-32|0;while(!(x>>>0>31|(1<>24==42){if(f=c+1|0,s=(C[f>>0]|0)+-48|0,s>>>0<10&&(C[c+2>>0]|0)==36)e[o+(s<<2)>>2]=10,s=e[n+((C[f>>0]|0)+-48<<3)>>2]|0,w=1,c=c+3|0;else{if(w|0){l=-1;break}_?(w=(e[i>>2]|0)+(4-1)&~(4-1),s=e[w>>2]|0,e[i>>2]=w+4,w=0,c=f):(s=0,w=0,c=f)}e[T>>2]=c,B=(s|0)<0,s=B?0-s|0:s,B=B?A|8192:A}else{if(s=fY(T)|0,(s|0)<0){l=-1;break}B=A,c=e[T>>2]|0}do if((C[c>>0]|0)==46){if((C[c+1>>0]|0)!=42){e[T>>2]=c+1,A=fY(T)|0,c=e[T>>2]|0;break}if(f=c+2|0,A=(C[f>>0]|0)+-48|0,A>>>0<10&&(C[c+3>>0]|0)==36){e[o+(A<<2)>>2]=10,A=e[n+((C[f>>0]|0)+-48<<3)>>2]|0,c=c+4|0,e[T>>2]=c;break}if(w|0){l=-1;break e}_?(x=(e[i>>2]|0)+(4-1)&~(4-1),A=e[x>>2]|0,e[i>>2]=x+4):A=0,e[T>>2]=f,c=f}else A=-1;while(0);for(m=0;;){if(((C[c>>0]|0)+-65|0)>>>0>57){l=-1;break e}if(x=c+1|0,e[T>>2]=x,f=C[(C[c>>0]|0)+-65+(152944+(m*58|0))>>0]|0,p=f&255,(p+-1|0)>>>0<8)m=p,c=x;else break}if(!(f<<24>>24)){l=-1;break}v=(E|0)>-1;do if(f<<24>>24==19)if(v){l=-1;break e}else z=48;else{if(v){e[o+(E<<2)>>2]=p,v=n+(E<<3)|0,E=e[v+4>>2]|0,z=D,e[z>>2]=e[v>>2],e[z+4>>2]=E,z=48;break}if(!_){l=0;break e}hY(D,p,i)}while(0);if((z|0)==48&&(z=0,!_)){s=0,t=x;continue}c=C[c>>0]|0,c=(m|0)!=0&(c&15|0)==3?c&-33:c,E=B&-65537,B=B&8192|0?E:B;r:do switch(c|0){case 110:switch((m&255)<<24>>24){case 0:{e[e[D>>2]>>2]=l,s=0,t=x;continue e}case 1:{e[e[D>>2]>>2]=l,s=0,t=x;continue e}case 2:{s=e[D>>2]|0,e[s>>2]=l,e[s+4>>2]=((l|0)<0)<<31>>31,s=0,t=x;continue e}case 3:{$[e[D>>2]>>1]=l,s=0,t=x;continue e}case 4:{C[e[D>>2]>>0]=l,s=0,t=x;continue e}case 6:{e[e[D>>2]>>2]=l,s=0,t=x;continue e}case 7:{s=e[D>>2]|0,e[s>>2]=l,e[s+4>>2]=((l|0)<0)<<31>>31,s=0,t=x;continue e}default:{s=0,t=x;continue e}}case 112:{c=120,A=A>>>0>8?A:8,t=B|8,z=60;break}case 88:case 120:{t=B,z=60;break}case 111:{c=D,t=e[c>>2]|0,c=e[c+4>>2]|0,v=pB0(t,c,L)|0,m=Z-v|0,f=0,p=153408,A=(B&8|0)==0|(A|0)>(m|0)?A:m+1|0,m=B,z=66;break}case 105:case 100:if(c=D,t=e[c>>2]|0,c=e[c+4>>2]|0,(c|0)<0){t=Pl(0,0,t|0,c|0)|0,c=b,f=D,e[f>>2]=t,e[f+4>>2]=c,f=1,p=153408,z=65;break r}else{f=(B&2049|0)!=0&1,p=B&2048|0?153409:B&1|0?153410:153408,z=65;break r}case 117:{c=D,f=0,p=153408,t=e[c>>2]|0,c=e[c+4>>2]|0,z=65;break}case 99:{C[W>>0]=e[D>>2],t=W,f=0,p=153408,v=L,c=1,A=E;break}case 109:{c=n8(e[(kr()|0)>>2]|0)|0,z=70;break}case 115:{c=e[D>>2]|0,c=c|0?c:153418,z=70;break}case 67:{e[P>>2]=e[D>>2],e[N>>2]=0,e[D>>2]=P,v=-1,c=P,z=74;break}case 83:{t=e[D>>2]|0,A?(v=A,c=t,z=74):(Ki(r,32,s,0,B),t=0,z=83);break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{s=kB0(r,+u[D>>3],s,A,B,c)|0,t=x;continue e}default:f=0,p=153408,v=L,c=A,A=B}while(0);r:do if((z|0)==60)B=D,E=e[B>>2]|0,B=e[B+4>>2]|0,v=dB0(E,B,L,c&32)|0,p=(t&8|0)==0|(E|0)==0&(B|0)==0,f=p?0:2,p=p?153408:153408+(c>>4)|0,m=t,t=E,c=B,z=66;else if((z|0)==65)v=Vf(t,c,L)|0,m=B,z=66;else if((z|0)==70)z=0,B=Yf(c,0,A)|0,m=(B|0)==0,t=c,f=0,p=153408,v=m?c+A|0:B,c=m?A:B-c|0,A=E;else if((z|0)==74){for(z=0,p=c,t=0,A=0;f=e[p>>2]|0,!(!f||(A=aY(X,f)|0,(A|0)<0|A>>>0>(v-t|0)>>>0));)if(t=A+t|0,v>>>0>t>>>0)p=p+4|0;else break;if((A|0)<0){l=-1;break e}if(Ki(r,32,s,t,B),!t)t=0,z=83;else for(f=0;;){if(A=e[c>>2]|0,!A){z=83;break r}if(A=aY(X,A)|0,f=A+f|0,(f|0)>(t|0)){z=83;break r}if(Ni(r,X,A),f>>>0>=t>>>0){z=83;break}else c=c+4|0}}while(0);if((z|0)==66)z=0,c=(t|0)!=0|(c|0)!=0,B=(A|0)!=0|c,c=Z-v+((c^1)&1)|0,t=B?v:L,v=L,c=B?(A|0)>(c|0)?A:c:A,A=(A|0)>-1?m&-65537:m;else if((z|0)==83){z=0,Ki(r,32,s,t,B^8192),s=(s|0)>(t|0)?s:t,t=x;continue}E=v-t|0,m=(c|0)<(E|0)?E:c,B=m+f|0,s=(s|0)<(B|0)?B:s,Ki(r,32,s,B,A),Ni(r,p,f),Ki(r,48,s,B,A^65536),Ki(r,48,m,E,0),Ni(r,t,E),Ki(r,32,s,B,A^8192),t=x}e:do if((z|0)==86&&!r)if(w){for(l=1;t=e[o+(l<<2)>>2]|0,!!t;)if(hY(n+(l<<3)|0,t,i),t=l+1|0,(l|0)<9)l=t;else{l=t;break}if((l|0)<10)for(;;){if(e[o+(l<<2)>>2]|0){l=-1;break e}if((l|0)<9)l=l+1|0;else{l=1;break}}else l=1}else l=0;while(0);return g=U,l|0}function qn(r){return r=r|0,0}function N1(r){r=r|0}function Ni(r,t,i){r=r|0,t=t|0,i=i|0,e[r>>2]&32||SE(t,i,r)|0}function fY(r){r=r|0;var t=0,i=0,n=0;if(i=e[r>>2]|0,n=(C[i>>0]|0)+-48|0,n>>>0<10){t=0;do t=n+(t*10|0)|0,i=i+1|0,e[r>>2]=i,n=(C[i>>0]|0)+-48|0;while(n>>>0<10)}else t=0;return t|0}function hY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;e:do if(t>>>0<=20)do switch(t|0){case 9:{n=(e[i>>2]|0)+(4-1)&~(4-1),t=e[n>>2]|0,e[i>>2]=n+4,e[r>>2]=t;break e}case 10:{n=(e[i>>2]|0)+(4-1)&~(4-1),t=e[n>>2]|0,e[i>>2]=n+4,n=r,e[n>>2]=t,e[n+4>>2]=((t|0)<0)<<31>>31;break e}case 11:{n=(e[i>>2]|0)+(4-1)&~(4-1),t=e[n>>2]|0,e[i>>2]=n+4,n=r,e[n>>2]=t,e[n+4>>2]=0;break e}case 12:{n=(e[i>>2]|0)+(8-1)&~(8-1),t=n,o=e[t>>2]|0,t=e[t+4>>2]|0,e[i>>2]=n+8,n=r,e[n>>2]=o,e[n+4>>2]=t;break e}case 13:{o=(e[i>>2]|0)+(4-1)&~(4-1),n=e[o>>2]|0,e[i>>2]=o+4,n=(n&65535)<<16>>16,o=r,e[o>>2]=n,e[o+4>>2]=((n|0)<0)<<31>>31;break e}case 14:{o=(e[i>>2]|0)+(4-1)&~(4-1),n=e[o>>2]|0,e[i>>2]=o+4,o=r,e[o>>2]=n&65535,e[o+4>>2]=0;break e}case 15:{o=(e[i>>2]|0)+(4-1)&~(4-1),n=e[o>>2]|0,e[i>>2]=o+4,n=(n&255)<<24>>24,o=r,e[o>>2]=n,e[o+4>>2]=((n|0)<0)<<31>>31;break e}case 16:{o=(e[i>>2]|0)+(4-1)&~(4-1),n=e[o>>2]|0,e[i>>2]=o+4,o=r,e[o>>2]=n&255,e[o+4>>2]=0;break e}case 17:{o=(e[i>>2]|0)+(8-1)&~(8-1),l=+u[o>>3],e[i>>2]=o+8,u[r>>3]=l;break e}case 18:{o=(e[i>>2]|0)+(8-1)&~(8-1),l=+u[o>>3],e[i>>2]=o+8,u[r>>3]=l;break e}default:break e}while(0);while(0)}function dB0(r,t,i,n){if(r=r|0,t=t|0,i=i|0,n=n|0,!((r|0)==0&(t|0)==0))do i=i+-1|0,C[i>>0]=s0[153456+(r&15)>>0]|0|n,r=Qi(r|0,t|0,4)|0,t=b;while(!((r|0)==0&(t|0)==0));return i|0}function pB0(r,t,i){if(r=r|0,t=t|0,i=i|0,!((r|0)==0&(t|0)==0))do i=i+-1|0,C[i>>0]=r&7|48,r=Qi(r|0,t|0,3)|0,t=b;while(!((r|0)==0&(t|0)==0));return i|0}function Vf(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;if(t>>>0>0|(t|0)==0&r>>>0>4294967295){for(;n=a8(r|0,t|0,10,0)|0,i=i+-1|0,C[i>>0]=n&255|48,n=r,r=qf(r|0,t|0,10,0)|0,t>>>0>9|(t|0)==9&n>>>0>4294967295;)t=b;t=r}else t=r;if(t)for(;i=i+-1|0,C[i>>0]=(t>>>0)%10|0|48,!(t>>>0<10);)t=(t>>>0)/10|0;return i|0}function Ki(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;if(s=g,g=g+256|0,l=s,(i|0)>(n|0)&(o&73728|0)==0){if(o=i-n|0,qr(l|0,t|0,(o>>>0<256?o:256)|0)|0,o>>>0>255){t=i-n|0;do Ni(r,l,256),o=o+-256|0;while(o>>>0>255);o=t&255}Ni(r,l,o)}g=s}function kB0(r,t,i,n,o,l){r=r|0,t=+t,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0;F=g,g=g+560|0,c=F+8|0,x=F,U=F+524|0,X=U,f=F+512|0,e[x>>2]=0,P=f+12|0,wY(t)|0,(b|0)<0?(t=-t,T=1,N=153425):(T=(o&2049|0)!=0&1,N=o&2048|0?153428:o&1|0?153431:153426),wY(t)|0;do if(!0&(b&2146435072|0)==2146435072)U=(l&32|0)!=0,s=T+3|0,Ki(r,32,i,s,o&-65537),Ni(r,N,T),Ni(r,t!=t|!1?U?153593:153452:U?153444:153448,3),Ki(r,32,i,s,o^8192);else{if(m=+KE0(t,x)*2,s=m!=0,s&&(e[x>>2]=(e[x>>2]|0)+-1),_=l|32,(_|0)==97){p=l&32,E=p|0?N+9|0:N,v=T|2,s=12-n|0;do if(n>>>0>11|(s|0)==0)t=m;else{t=8;do s=s+-1|0,t=t*16;while(s|0);if((C[E>>0]|0)==45){t=-(t+(-m-t));break}else{t=m+t-t;break}}while(0);A=e[x>>2]|0,s=(A|0)<0?0-A|0:A,s=Vf(s,((s|0)<0)<<31>>31,P)|0,(s|0)==(P|0)&&(s=f+11|0,C[s>>0]=48),C[s+-1>>0]=(A>>31&2)+43,w=s+-2|0,C[w>>0]=l+15,c=(n|0)<1,f=(o&8|0)==0,s=U;do D=~~t,A=s+1|0,C[s>>0]=p|s0[153456+D>>0],t=(t-+(D|0))*16,(A-X|0)==1&&!(f&(c&t==0))?(C[A>>0]=46,s=s+2|0):s=A;while(t!=0);n|0&&(-2-X+s|0)<(n|0)?(A=s-X|0,s=n+2|0):(s=s-X|0,A=s),P=P-w|0,X=P+v+s|0,Ki(r,32,i,X,o),Ni(r,E,v),Ki(r,48,i,X,o^65536),Ni(r,U,A),Ki(r,48,s-A|0,0,0),Ni(r,w,P),Ki(r,32,i,X,o^8192),s=X;break}A=(n|0)<0?6:n,s?(s=(e[x>>2]|0)+-28|0,e[x>>2]=s,t=m*268435456):(t=m,s=e[x>>2]|0),D=(s|0)<0?c:c+288|0,c=D;do Z=~~t>>>0,e[c>>2]=Z,c=c+4|0,t=(t-+(Z>>>0))*1e9;while(t!=0);if((s|0)>0)for(f=D,p=c;;){if(w=(s|0)<29?s:29,s=p+-4|0,s>>>0>=f>>>0){c=0;do L=Br(e[s>>2]|0,0,w|0)|0,L=fr(L|0,b|0,c|0,0)|0,Z=b,z=a8(L|0,Z|0,1e9,0)|0,e[s>>2]=z,c=qf(L|0,Z|0,1e9,0)|0,s=s+-4|0;while(s>>>0>=f>>>0);c&&(f=f+-4|0,e[f>>2]=c)}for(c=p;!(c>>>0<=f>>>0);)if(s=c+-4|0,!(e[s>>2]|0))c=s;else break;if(s=(e[x>>2]|0)-w|0,e[x>>2]=s,(s|0)>0)p=c;else break}else f=D;if((s|0)<0){n=((A+25|0)/9|0)+1|0,B=(_|0)==102;do{if(E=0-s|0,E=(E|0)<9?E:9,f>>>0>>0){w=(1<>>E,v=0,s=f;do Z=e[s>>2]|0,e[s>>2]=(Z>>>E)+v,v=N0(Z&w,p)|0,s=s+4|0;while(s>>>0>>0);s=e[f>>2]|0?f:f+4|0,v?(e[c>>2]=v,f=s,s=c+4|0):(f=s,s=c)}else f=e[f>>2]|0?f:f+4|0,s=c;c=B?D:f,c=(s-c>>2|0)>(n|0)?c+(n<<2)|0:s,s=(e[x>>2]|0)+E|0,e[x>>2]=s}while((s|0)<0);s=f,n=c}else s=f,n=c;if(Z=D,s>>>0>>0){if(c=(Z-s>>2)*9|0,w=e[s>>2]|0,w>>>0>=10){f=10;do f=f*10|0,c=c+1|0;while(w>>>0>=f>>>0)}}else c=0;if(B=(_|0)==103,z=(A|0)!=0,f=A-((_|0)!=102?c:0)+((z&B)<<31>>31)|0,(f|0)<(((n-Z>>2)*9|0)+-9|0)){if(f=f+9216|0,E=D+4+(((f|0)/9|0)+-1024<<2)|0,f=(f|0)%9|0,(f|0)<8)for(w=10;w=w*10|0,(f|0)<7;)f=f+1|0;else w=10;if(p=e[E>>2]|0,v=(p>>>0)%(w>>>0)|0,f=(E+4|0)==(n|0),f&(v|0)==0)f=E;else if(m=((p>>>0)/(w>>>0)|0)&1|0?9007199254740994:9007199254740992,L=(w|0)/2|0,t=v>>>0>>0?.5:f&(v|0)==(L|0)?1:1.5,T&&(L=(C[N>>0]|0)==45,t=L?-t:t,m=L?-m:m),f=p-v|0,e[E>>2]=f,m+t!=m){if(L=f+w|0,e[E>>2]=L,L>>>0>999999999)for(c=E;f=c+-4|0,e[c>>2]=0,f>>>0>>0&&(s=s+-4|0,e[s>>2]=0),L=(e[f>>2]|0)+1|0,e[f>>2]=L,L>>>0>999999999;)c=f;else f=E;if(c=(Z-s>>2)*9|0,p=e[s>>2]|0,p>>>0>=10){w=10;do w=w*10|0,c=c+1|0;while(p>>>0>=w>>>0)}}else f=E;f=f+4|0,f=n>>>0>f>>>0?f:n,L=s}else f=n,L=s;for(_=f;;){if(_>>>0<=L>>>0){x=0;break}if(s=_+-4|0,!(e[s>>2]|0))_=s;else{x=1;break}}n=0-c|0;do if(B)if(s=A+((z^1)&1)|0,(s|0)>(c|0)&(c|0)>-5?(w=l+-1|0,A=s+-1-c|0):(w=l+-2|0,A=s+-1|0),s=o&8,s)E=s;else{if(x&&(W=e[_+-4>>2]|0,(W|0)!=0))if((W>>>0)%10|0)f=0;else{f=0,s=10;do s=s*10|0,f=f+1|0;while(!((W>>>0)%(s>>>0)|0|0))}else f=9;if(s=((_-Z>>2)*9|0)+-9|0,(w|32|0)==102){E=s-f|0,E=(E|0)>0?E:0,A=(A|0)<(E|0)?A:E,E=0;break}else{E=s+c-f|0,E=(E|0)>0?E:0,A=(A|0)<(E|0)?A:E,E=0;break}}else w=l,E=o&8;while(0);if(B=A|E,p=(B|0)!=0&1,v=(w|32|0)==102,v)z=0,s=(c|0)>0?c:0;else{if(s=(c|0)<0?n:c,s=Vf(s,((s|0)<0)<<31>>31,P)|0,f=P,(f-s|0)<2)do s=s+-1|0,C[s>>0]=48;while((f-s|0)<2);C[s+-1>>0]=(c>>31&2)+43,s=s+-2|0,C[s>>0]=w,z=s,s=f-s|0}if(s=T+1+A+p+s|0,Ki(r,32,i,s,o),Ni(r,N,T),Ki(r,48,i,s,o^65536),v){w=L>>>0>D>>>0?D:L,E=U+9|0,p=E,v=U+8|0,f=w;do{if(c=Vf(e[f>>2]|0,0,E)|0,(f|0)==(w|0))(c|0)==(E|0)&&(C[v>>0]=48,c=v);else if(c>>>0>U>>>0){qr(U|0,48,c-X|0)|0;do c=c+-1|0;while(c>>>0>U>>>0)}Ni(r,c,p-c|0),f=f+4|0}while(f>>>0<=D>>>0);if(B|0&&Ni(r,153472,1),f>>>0<_>>>0&(A|0)>0)for(;;){if(c=Vf(e[f>>2]|0,0,E)|0,c>>>0>U>>>0){qr(U|0,48,c-X|0)|0;do c=c+-1|0;while(c>>>0>U>>>0)}if(Ni(r,c,(A|0)<9?A:9),f=f+4|0,c=A+-9|0,f>>>0<_>>>0&(A|0)>9)A=c;else{A=c;break}}Ki(r,48,A+9|0,9,0)}else{if(B=x?_:L+4|0,(A|0)>-1){x=U+9|0,E=(E|0)==0,n=x,p=0-X|0,v=U+8|0,w=L;do{c=Vf(e[w>>2]|0,0,x)|0,(c|0)==(x|0)&&(C[v>>0]=48,c=v);do if((w|0)==(L|0)){if(f=c+1|0,Ni(r,c,1),E&(A|0)<1){c=f;break}Ni(r,153472,1),c=f}else{if(c>>>0<=U>>>0)break;qr(U|0,48,c+p|0)|0;do c=c+-1|0;while(c>>>0>U>>>0)}while(0);X=n-c|0,Ni(r,c,(A|0)>(X|0)?X:A),A=A-X|0,w=w+4|0}while(w>>>0>>0&(A|0)>-1)}Ki(r,48,A+18|0,18,0),Ni(r,z,P-z|0)}Ki(r,32,i,s,o^8192)}while(0);return g=F,((s|0)<(i|0)?i:s)|0}function wY(r){r=+r;var t=0;return u[ne>>3]=r,t=e[ne>>2]|0,b=e[ne+4>>2]|0,t|0}function SE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;n=i+16|0,o=e[n>>2]|0,o?l=5:dY(i)|0?n=0:(o=e[n>>2]|0,l=5);e:do if((l|0)==5){if(A=i+20|0,s=e[A>>2]|0,n=s,(o-s|0)>>>0>>0){n=oe[e[i+36>>2]&63](i,r,t)|0;break}r:do if((C[i+75>>0]|0)>-1){for(s=t;;){if(!s){l=0,o=r;break r}if(o=s+-1|0,(C[r+o>>0]|0)==10)break;s=o}if(n=oe[e[i+36>>2]&63](i,r,s)|0,n>>>0>>0)break e;l=s,o=r+s|0,t=t-s|0,n=e[A>>2]|0}else l=0,o=r;while(0);u2(n|0,o|0,t|0)|0,e[A>>2]=(e[A>>2]|0)+t,n=l+t|0}while(0);return n|0}function dY(r){r=r|0;var t=0,i=0;return t=r+74|0,i=C[t>>0]|0,C[t>>0]=i+255|i,t=e[r>>2]|0,t&8?(e[r>>2]=t|32,r=-1):(e[r+8>>2]=0,e[r+4>>2]=0,i=e[r+44>>2]|0,e[r+28>>2]=i,e[r+20>>2]=i,e[r+16>>2]=i+(e[r+48>>2]|0),r=0),r|0}function vB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=r+20|0,o=e[n>>2]|0,r=(e[r+16>>2]|0)-o|0,r=r>>>0>i>>>0?i:r,u2(o|0,t|0,r|0)|0,e[n>>2]=(e[n>>2]|0)+r,i|0}function mB0(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=C[r>>0]|0,t=1,i=153474,o=97;!(n<<24>>24==o<<24>>24&&!(ge(r,i)|0));)if(i=i+6|0,o=C[i>>0]|0,o<<24>>24)t=t+1|0;else{t=0;break}return t|0}function ja(r){r=r|0;var t=0;return t=(wB0(r)|0)==0,(t?r:r&95)|0}function _E(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=g,g=g+16|0,o=l;do if(r>>>0>6)t=0;else{if(zy(190656),(r|0)!=6){t=pY(r,t)|0,P3(190656);break}if(!t)t=197132,r=0;else{r=o,i=153547,n=r+16|0;do C[r>>0]=C[i>>0]|0,r=r+1|0,i=i+1|0;while((r|0)<(n|0));n=0;do r=_k(t,59)|0,i=r-t|0,(i|0)<16&&(u2(o|0,t|0,i|0)|0,C[o+i>>0]=0,t=C[r>>0]|0?r+1|0:t),pY(n,o)|0,n=n+1|0;while((n|0)!=6);t=197132,r=0}for(;n=e[190616+(r<<2)>>2]|0,n=n|0?n+8|0:153563,i=d2(n)|0,u2(t|0,n|0,i|0)|0,n=t+i|0,C[n>>0]=59,r=r+1|0,(r|0)!=6;)t=t+(i+1)|0;C[n>>0]=0,P3(190656),t=197132}while(0);return g=l,t|0}function pY(r,t){return r=r|0,t=t|0,t?(t=lB0(r,t)|0,e[190616+(r<<2)>>2]=t,r=t):r=e[190616+(r<<2)>>2]|0,(r|0?r+8|0:153563)|0}function Q1(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;e:do if(!i)r=0;else{for(;n=C[r>>0]|0,o=C[t>>0]|0,n<<24>>24==o<<24>>24;)if(i=i+-1|0,i)r=r+1|0,t=t+1|0;else{r=0;break e}r=(n&255)-(o&255)|0}while(0);return r|0}function gB0(r){return r=r|0,yB0(r)|0}function yB0(r){return r=r|0,VY(r|0)|0}function tu(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0;if((e[i+76>>2]|0)>-1?f=qn(i)|0:f=0,n=t+-1|0,(t|0)<2)w=i+74|0,c=C[w>>0]|0,C[w>>0]=c+255|c,f|0&&N1(i),n?r=0:C[r>>0]=0;else{e:do if(n){for(A=i+4|0,c=i+8|0,t=r;;){if(o=e[A>>2]|0,p=o,v=(e[c>>2]|0)-p|0,l=Yf(o,10,v)|0,s=(l|0)==0,l=s?v:1-p+l|0,l=l>>>0>>0?l:n,u2(t|0,o|0,l|0)|0,o=(e[A>>2]|0)+l|0,e[A>>2]=o,t=t+l|0,l=n-l|0,!(s&(l|0)!=0)){w=17;break e}if(o>>>0>=(e[c>>2]|0)>>>0){if(n=zk(i)|0,(n|0)<0)break;s=n}else e[A>>2]=o+1,s=s0[o>>0]|0;if(n=l+-1|0,o=t+1|0,C[t>>0]=s,(n|0)!=0&(s&255|0)!=10)t=o;else{t=o,w=17;break e}}(t|0)!=(r|0)&&e[i>>2]&16|0?w=17:r=0}else t=r,w=17;while(0);(w|0)==17&&(r?C[t>>0]=0:r=0),f&&N1(i)}return r|0}function s8(r,t){r=r|0,t=t|0;var i=0;i=C[t>>0]|0;do if(i<<24>>24)if(r=Zr(r,i<<24>>24)|0,r){if(C[t+1>>0]|0)if(C[r+1>>0]|0){if(!(C[t+2>>0]|0)){r=CB0(r,t)|0;break}if(C[r+2>>0]|0){if(!(C[t+3>>0]|0)){r=EB0(r,t)|0;break}if(C[r+3>>0]|0)if(C[t+4>>0]|0){r=IB0(r,t)|0;break}else{r=BB0(r,t)|0;break}else r=0}else r=0}else r=0}else r=0;while(0);return r|0}function CB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=(s0[t>>0]|0)<<8|(s0[t+1>>0]|0),n=s0[r>>0]|0;t=r+1|0,i=C[t>>0]|0,!(!(i<<24>>24)||(n=n<<8&65280|i&255,(n|0)==(o|0)));)r=t;return(i<<24>>24?r:0)|0}function EB0(r,t){r=r|0,t=t|0;var i=0,n=0;if(n=(s0[t+1>>0]|0)<<16|(s0[t>>0]|0)<<24|(s0[t+2>>0]|0)<<8,i=r+2|0,t=C[i>>0]|0,r=(s0[r+1>>0]|0)<<16|(s0[r>>0]|0)<<24|(t&255)<<8,!((r|0)==(n|0)|t<<24>>24==0))do i=i+1|0,t=C[i>>0]|0,r=(r|t&255)<<8;while(!((r|0)==(n|0)|t<<24>>24==0));return(t<<24>>24?i+-2|0:0)|0}function BB0(r,t){r=r|0,t=t|0;var i=0,n=0;if(n=(s0[t+1>>0]|0)<<16|(s0[t>>0]|0)<<24|(s0[t+2>>0]|0)<<8|(s0[t+3>>0]|0),t=r+3|0,i=C[t>>0]|0,r=(s0[r+1>>0]|0)<<16|(s0[r>>0]|0)<<24|(s0[r+2>>0]|0)<<8|i&255,!(i<<24>>24==0|(r|0)==(n|0)))do t=t+1|0,i=C[t>>0]|0,r=r<<8|i&255;while(!(i<<24>>24==0|(r|0)==(n|0)));return(i<<24>>24?t+-3|0:0)|0}function IB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;_=g,g=g+1056|0,x=_+1024|0,z=_,e[x>>2]=0,e[x+4>>2]=0,e[x+8>>2]=0,e[x+12>>2]=0,e[x+16>>2]=0,e[x+20>>2]=0,e[x+24>>2]=0,e[x+28>>2]=0,i=C[t>>0]|0;e:do if(i<<24>>24){B=0;do{if(!(C[r+B>>0]|0)){i=0;break e}E=x+(((i&255)>>>5&255)<<2)|0,e[E>>2]=e[E>>2]|1<<(i&31),B=B+1|0,e[z+((i&255)<<2)>>2]=B,i=C[t+B>>0]|0}while(i<<24>>24);if(f=B>>>0>1,f){n=0,c=-1,o=1;r:for(;;){for(l=1,i=n;;){n=o;t:for(;;){for(A=1;;){if(o=C[t+(A+c)>>0]|0,s=C[t+n>>0]|0,o<<24>>24!=s<<24>>24)break t;if((A|0)==(l|0))break;if(A=A+1|0,n=A+i|0,n>>>0>=B>>>0){w=l,i=c;break r}}if(i=l+i|0,n=i+1|0,n>>>0>=B>>>0){w=l,i=c;break r}}if(l=n-c|0,(o&255)<=(s&255))break;if(o=n+1|0,o>>>0>=B>>>0){w=l,i=c;break r}else i=n}if(o=i+2|0,o>>>0>=B>>>0){w=1;break}else n=i+1|0,c=i}if(f)for(l=0,f=-1,s=1;;){for(n=1,o=l;;){l=s;r:for(;;){for(c=1;;){if(s=C[t+(c+f)>>0]|0,A=C[t+l>>0]|0,s<<24>>24!=A<<24>>24)break r;if((c|0)==(n|0))break;if(c=c+1|0,l=c+o|0,l>>>0>=B>>>0){s=w,o=f,l=26;break e}}if(o=n+o|0,l=o+1|0,l>>>0>=B>>>0){s=w,o=f,l=26;break e}}if(n=l-f|0,(s&255)>=(A&255))break;if(s=l+1|0,s>>>0>=B>>>0){s=w,o=f,l=26;break e}else o=l}if(s=o+2|0,s>>>0>=B>>>0){s=w,n=1,l=26;break}else l=o+1|0,f=o}else s=w,n=1,o=-1,l=26}else s=1,i=-1,n=1,o=-1,l=26}else s=1,i=-1,B=0,n=1,o=-1,l=26;while(0);e:do if((l|0)==26)for(m=(o+1|0)>>>0>(i+1|0)>>>0,n=m?n:s,m=m?o:i,E=m+1|0,Q1(t,t+n|0,E)|0?(n=B-m+-1|0,v=0,n=(m>>>0>n>>>0?m:n)+1|0):v=B-n|0,c=B|63,f=B+-1|0,w=(v|0)!=0,p=B-n|0,i=r,A=0,o=r;;){l=i;do if((o-l|0)>>>0>>0)if(s=Yf(o,0,c)|0,s)if((s-l|0)>>>0>>0){i=0;break e}else break;else{s=o+c|0;break}else s=o;while(0);o=C[i+f>>0]|0;r:do if(!(1<<(o&31)&e[x+(((o&255)>>>5&255)<<2)>>2]))l=0,o=B;else{if(o=B-(e[z+((o&255)<<2)>>2]|0)|0,o|0){l=0,o=w&(A|0)!=0&o>>>0>>0?p:o;break}o=E>>>0>A>>>0?E:A,l=C[t+o>>0]|0;t:do if(!(l<<24>>24))o=E;else{for(;l<<24>>24==(C[i+o>>0]|0);)if(o=o+1|0,l=C[t+o>>0]|0,!(l<<24>>24)){o=E;break t}l=0,o=o-m|0;break r}while(0);for(;;){if(o>>>0<=A>>>0)break e;if(o=o+-1|0,(C[t+o>>0]|0)!=(C[i+o>>0]|0)){l=v,o=n;break}}}while(0);i=i+o|0,A=l,o=s}while(0);return g=_,i|0}function Of(r,t,i){return r=r|0,t=t|0,i=i|0,xB0(r,t,i)|0,r|0}function xB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;o=t;e:do if((o^r)&3)l=11;else{if(n=(i|0)!=0,n&(o&3|0)!=0)do{if(o=C[t>>0]|0,C[r>>0]=o,!(o<<24>>24))break e;i=i+-1|0,t=t+1|0,r=r+1|0,n=(i|0)!=0}while(n&(t&3|0)!=0);if(n){if(C[t>>0]|0){r:do if(i>>>0>3)for(n=t;;){if(t=e[n>>2]|0,(t&-2139062144^-2139062144)&t+-16843009|0){t=n;break r}if(e[r>>2]=t,i=i+-4|0,t=n+4|0,r=r+4|0,i>>>0>3)n=t;else break}while(0);l=11}}else i=0}while(0);e:do if((l|0)==11)if(!i)i=0;else for(;;){if(l=C[t>>0]|0,C[r>>0]=l,!(l<<24>>24))break e;if(i=i+-1|0,r=r+1|0,i)t=t+1|0;else{i=0;break}}while(0);return qr(r|0,0,i|0)|0,r|0}function kY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;o=g,g=g+32|0,n=o,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,e[n+20>>2]=0,e[n+24>>2]=0,e[n+28>>2]=0,i=C[t>>0]|0;do if(!(i<<24>>24))t=0;else{if(!(C[t+1>>0]|0)){for(t=r;(C[t>>0]|0)==i<<24>>24;)t=t+1|0;t=t-r|0;break}do l=n+(((i&255)>>>5&255)<<2)|0,e[l>>2]=e[l>>2]|1<<(i&31),t=t+1|0,i=C[t>>0]|0;while(i<<24>>24);i=C[r>>0]|0;e:do if(!(i<<24>>24))t=r;else{t=r;do{if(!(e[n+(((i&255)>>>5&255)<<2)>>2]&1<<(i&31)))break e;t=t+1|0,i=C[t>>0]|0}while(i<<24>>24)}while(0);t=t-r|0}while(0);return g=o,t|0}function SB0(r){r=r|0;var t=0,i=0;return t=g,g=g+16|0,i=t,e[i>>2]=HP(r)|0,r=Nw(6,i|0)|0,r=Xn((r|0)==-4?0:r)|0,g=t,r|0}function Ke(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=zE(r,t,o)|0,g=n,i|0}function zE(r,t,i){return r=r|0,t=t|0,i=i|0,Rk(r,2147483647,t,i)|0}function ei(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;w=g,g=g+208|0,c=w+8|0,f=w,s=N0(i,t)|0,A=f,e[A>>2]=1,e[A+4>>2]=0;e:do if(s|0){for(A=0-i|0,e[c+4>>2]=i,e[c>>2]=i,o=2,t=i,l=i;t=t+i+l|0,e[c+(o<<2)>>2]=t,t>>>0>>0;)p=l,o=o+1|0,l=t,t=p;if(l=r+s+A|0,l>>>0>r>>>0){s=l,o=1,t=1;do{do if((t&3|0)!=3)if(t=o+-1|0,(e[c+(t<<2)>>2]|0)>>>0<(s-r|0)>>>0?LE(r,i,n,o,c):Wk(r,i,n,f,o,0,c),(o|0)==1){Dk(f,1),o=0;break}else{Dk(f,t),o=1;break}else LE(r,i,n,o,c),Zk(f,2),o=o+2|0;while(0);t=e[f>>2]|1,e[f>>2]=t,r=r+i|0}while(r>>>0>>0)}else o=1,t=1;for(Wk(r,i,n,f,o,0,c),l=f+4|0;;){if((o|0)==1&(t|0)==1){if(!(e[l>>2]|0))break e}else if((o|0)>=2){Dk(f,2),p=o+-2|0,e[f>>2]=e[f>>2]^7,Zk(f,1),Wk(r+(0-(e[c+(p<<2)>>2]|0))+A|0,i,n,f,o+-1|0,1,c),Dk(f,1),t=e[f>>2]|1,e[f>>2]=t,s=r+A|0,Wk(s,i,n,f,p,1,c),r=s,o=p;continue}t=vY(f)|0,Zk(f,t),r=r+A|0,o=t+o|0,t=e[f>>2]|0}}while(0);g=w}function LE(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0;p=g,g=g+240|0,w=p,e[w>>2]=r;e:do if((n|0)>1)for(f=0-t|0,l=r,c=n,n=1;;){if(s=l+f|0,A=c+-2|0,l=s+(0-(e[o+(A<<2)>>2]|0))|0,(ke[i&127](r,l)|0)>-1&&(ke[i&127](r,s)|0)>-1)break e;if(r=n+1|0,n=w+(n<<2)|0,(ke[i&127](l,s)|0)>-1?(e[n>>2]=l,n=c+-1|0):(e[n>>2]=s,l=s,n=A),(n|0)<=1){n=r;break e}c=n,n=r,r=e[w>>2]|0}else n=1;while(0);gY(t,w,n),g=p}function Zk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+4|0,t>>>0>31?(n=e[o>>2]|0,e[r>>2]=n,e[o>>2]=0,t=t+-32|0,i=0):(i=e[o>>2]|0,n=e[r>>2]|0),e[r>>2]=i<<32-t|n>>>t,e[o>>2]=i>>>t}function Wk(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0;m=g,g=g+240|0,p=m+232|0,v=m,E=e[n>>2]|0,e[p>>2]=E,c=e[n+4>>2]|0,f=p+4|0,e[f>>2]=c,e[v>>2]=r;e:do if((E|0)!=1|(c|0)!=0&&(w=0-t|0,A=r+(0-(e[s+(o<<2)>>2]|0))|0,(ke[i&127](A,r)|0)>=1))for(n=1,l=(l|0)==0,c=A;;){if(l&(o|0)>1){if(l=r+w|0,A=e[s+(o+-2<<2)>>2]|0,(ke[i&127](l,c)|0)>-1){A=10;break e}if((ke[i&127](l+(0-A)|0,c)|0)>-1){A=10;break e}}if(l=n+1|0,e[v+(n<<2)>>2]=c,E=vY(p)|0,Zk(p,E),o=E+o|0,!((e[p>>2]|0)!=1|(e[f>>2]|0)!=0)){n=l,r=c,A=10;break e}if(r=c+(0-(e[s+(o<<2)>>2]|0))|0,(ke[i&127](r,e[v>>2]|0)|0)<1){r=c,n=l,l=0,A=9;break}else E=c,n=l,l=1,c=r,r=E}else n=1,A=9;while(0);(A|0)==9&&!(l|0)&&(A=10),(A|0)==10&&(gY(t,v,n),LE(r,t,i,o,s)),g=m}function Dk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+4|0,t>>>0>31?(n=e[r>>2]|0,e[o>>2]=n,e[r>>2]=0,t=t+-32|0,i=0):(i=e[r>>2]|0,n=e[o>>2]|0),e[o>>2]=i>>>(32-t|0)|n<>2]=i<>2]|0)+-1|0)|0,t?t|0:(t=mY(e[r+4>>2]|0)|0,(t|0?t+32|0:0)|0)}function mY(r){r=r|0;var t=0;if(r)if(r&1)r=0;else{t=r,r=0;do r=r+1|0,t=t>>>1;while(!(t&1|0))}else r=32;return r|0}function gY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;s=g,g=g+256|0,n=s;e:do if((i|0)>=2&&(l=t+(i<<2)|0,e[l>>2]=n,r|0))for(;;){o=r>>>0<256?r:256,u2(n|0,e[t>>2]|0,o|0)|0,n=0;do A=t+(n<<2)|0,n=n+1|0,u2(e[A>>2]|0,e[t+(n<<2)>>2]|0,o|0)|0,e[A>>2]=(e[A>>2]|0)+o;while((n|0)!=(i|0));if(r=r-o|0,!r)break e;n=e[l>>2]|0}while(0);g=s}function A2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=Gk(r,t,o)|0,g=n,i|0}function _B0(r){r=r|0;var t=0,i=0,n=0;for(n=g,g=g+16|0,i=n,Gr0(0,i|0)|0,t=0,i=(e[i+4>>2]|0)*65537^(i>>>4)+r;C[r+t>>0]=(i&15)+65|i<<1&32,t=t+1|0,(t|0)!=6;)i=i>>>5;return g=n,r|0}function Mk(r,t,i){return r=r|0,t=t|0,i=i|0,i=iY(r,t,i,-2147483648,0)|0,i|0}function RE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+32|0,n=l,i=C[t>>0]|0;e:do if(i<<24>>24&&C[t+1>>0]|0){e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,e[n+20>>2]=0,e[n+24>>2]=0,e[n+28>>2]=0;do s=n+(((i&255)>>>5&255)<<2)|0,e[s>>2]=e[s>>2]|1<<(i&31),t=t+1|0,i=C[t>>0]|0;while(i<<24>>24);if(i=C[r>>0]|0,!(i<<24>>24))t=r;else{t=r;do{if(e[n+(((i&255)>>>5&255)<<2)>>2]&1<<(i&31)|0)break e;t=t+1|0,i=C[t>>0]|0}while(i<<24>>24)}}else o=3;while(0);return(o|0)==3&&(t=_k(r,i<<24>>24)|0),g=l,t-r|0}function Na(r,t){r=r|0,t=t|0;var i=0;r?i=3:(r=e[47666]|0,r?i=3:r=0);do if((i|0)==3){if(r=r+(kY(r,t)|0)|0,!(C[r>>0]|0)){e[47666]=0,r=0;break}if(t=r+(RE(r,t)|0)|0,e[47666]=t,C[t>>0]|0){e[47666]=t+1,C[t>>0]=0;break}else{e[47666]=0;break}}while(0);return r|0}function zB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=t&255;do{if(!i){t=0;break}i=i+-1|0,t=r+i|0}while((C[t>>0]|0)!=n<<24>>24);return t|0}function GE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;r?n=3:(r=e[i>>2]|0,r?n=3:r=0);do if((n|0)==3){if(r=r+(kY(r,t)|0)|0,!(C[r>>0]|0)){e[i>>2]=0,r=0;break}if(t=r+(RE(r,t)|0)|0,e[i>>2]=t,C[t>>0]|0){e[i>>2]=t+1,C[t>>0]=0;break}else{e[i>>2]=0;break}}while(0);return r|0}function C2(r){r=r|0;var t=0,i=0;return i=(d2(r)|0)+1|0,t=Te(i)|0,t?u2(t|0,r|0,i|0)|0:t=0,t|0}function yY(r,t){return r=r|0,t=t|0,zB0(r,t,(d2(r)|0)+1|0)|0}function Qa(r,t){return r=r|0,t=t|0,yo(r+(d2(r)|0)|0,t)|0,r|0}function LB0(r,t){return r=r|0,t=t|0,t=r+(RE(r,t)|0)|0,(C[t>>0]|0?t:0)|0}function CY(r){r=r|0;var t=0;return(e[r+76>>2]|0)>-1&&(t=(qn(r)|0)==0),r=(e[r>>2]|0)>>>4&1,r|0}function Hf(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return(e[r+76>>2]|0)>-1?o=qn(r)|0:o=0,RB0(r),l=(e[r>>2]&1|0)!=0,l||(n=ZE()|0,i=e[r+52>>2]|0,t=r+56|0,i|0&&(e[i+56>>2]=e[t>>2]),t=e[t>>2]|0,t|0&&(e[t+52>>2]=i),(e[n>>2]|0)==(r|0)&&(e[n>>2]=t),WE()),t=jk(r)|0,t=nr[e[r+12>>2]&63](r)|0|t,i=e[r+92>>2]|0,i|0&&r0(i),l?o|0&&N1(r):r0(r),t|0}function RB0(r){r=r|0;var t=0;e[r+68>>2]|0&&(t=e[r+116>>2]|0,r=r+112|0,t|0&&(e[t+112>>2]=e[r>>2]),r=e[r>>2]|0,r?r=r+116|0:r=(GB0()|0)+232|0,e[r>>2]=t)}function ZE(){return zy(190668),190676}function WE(){P3(190668)}function jk(r){r=r|0;var t=0,i=0;do if(r){if((e[r+76>>2]|0)<=-1){t=DE(r)|0;break}i=(qn(r)|0)==0,t=DE(r)|0,i||N1(r)}else{if(e[15711]|0?t=jk(e[15711]|0)|0:t=0,r=e[(ZE()|0)>>2]|0,r)do(e[r+76>>2]|0)>-1?i=qn(r)|0:i=0,(e[r+20>>2]|0)>>>0>(e[r+28>>2]|0)>>>0&&(t=DE(r)|0|t),i|0&&N1(r),r=e[r+56>>2]|0;while(r|0);WE()}while(0);return t|0}function DE(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return t=r+20|0,s=r+28|0,(e[t>>2]|0)>>>0>(e[s>>2]|0)>>>0&&(oe[e[r+36>>2]&63](r,0,0)|0,(e[t>>2]|0)==0)?r=-1:(i=r+4|0,n=e[i>>2]|0,o=r+8|0,l=e[o>>2]|0,n>>>0>>0&&oe[e[r+40>>2]&63](r,n-l|0,1)|0,e[r+16>>2]=0,e[s>>2]=0,e[t>>2]=0,e[o>>2]=0,e[i>>2]=0,r=0),r|0}function GB0(){return o8()|0}function EY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;if(p=g,g=g+64|0,w=p+40|0,c=p+24|0,A=p+16|0,o=p,f=p+56|0,n=C[t>>0]|0,Yf(153580,n<<24>>24,4)|0)if(i=Te(1156)|0,!i)i=0;else{l=i,s=l+124|0;do e[l>>2]=0,l=l+4|0;while((l|0)<(s|0));Zr(t,43)|0||(e[i>>2]=n<<24>>24==114?8:4),Zr(t,101)|0&&(e[o>>2]=r,e[o+4>>2]=2,e[o+8>>2]=1,Hc(221,o|0)|0,n=C[t>>0]|0),n<<24>>24==97?(e[A>>2]=r,e[A+4>>2]=3,n=Hc(221,A|0)|0,n&1024||(e[c>>2]=r,e[c+4>>2]=4,e[c+8>>2]=n|1024,Hc(221,c|0)|0),t=e[i>>2]|128,e[i>>2]=t):t=e[i>>2]|0,e[i+60>>2]=r,e[i+44>>2]=i+132,e[i+48>>2]=1024,n=i+75|0,C[n>>0]=-1,!(t&8|0)&&(e[w>>2]=r,e[w+4>>2]=21523,e[w+8>>2]=f,(wR(54,w|0)|0)==0)&&(C[n>>0]=10),e[i+32>>2]=15,e[i+36>>2]=18,e[i+40>>2]=16,e[i+12>>2]=17,e[47645]|0||(e[i+76>>2]=-1),ZB0(i)|0}else e[(kr()|0)>>2]=22,i=0;return g=p,i|0}function ZB0(r){r=r|0;var t=0,i=0;return t=ZE()|0,e[r+56>>2]=e[t>>2],i=e[t>>2]|0,i|0&&(e[i+52>>2]=r),e[t>>2]=r,WE(),r|0}function Zs(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,n=s;e:do if(!t)r=0;else{do if(i|0){if(l=r|0?r:n,r=C[t>>0]|0,r<<24>>24>-1){e[l>>2]=r&255,r=r<<24>>24!=0&1;break e}if(o=(e[e[(WB0()|0)+188>>2]>>2]|0)==0,r=C[t>>0]|0,o){e[l>>2]=r<<24>>24&57343,r=1;break e}if(r=(r&255)+-194|0,r>>>0<=50){if(n=t+1|0,o=e[62384+(r<<2)>>2]|0,i>>>0<4&&o&-2147483648>>>((i*6|0)+-6|0)|0)break;if(r=s0[n>>0]|0,i=r>>>3,(i+-16|i+(o>>26))>>>0<=7){if(r=r+-128|o<<6,(r|0)>=0){e[l>>2]=r,r=2;break e}if(n=(s0[t+2>>0]|0)+-128|0,n>>>0<=63){if(n=n|r<<6,(n|0)>=0){e[l>>2]=n,r=3;break e}if(r=(s0[t+3>>0]|0)+-128|0,r>>>0<=63){e[l>>2]=r|n<<6,r=4;break e}}}}}while(0);e[(kr()|0)>>2]=84,r=-1}while(0);return g=s,r|0}function WB0(){return o8()|0}function Bi(r,t){r=r|0,t=t|0;var i=0;return i=d2(r)|0,((fn(r,1,i,t)|0)!=(i|0))<<31>>31|0}function fn(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=N0(i,t)|0,i=t|0?i:0,(e[n+76>>2]|0)>-1?(l=(qn(n)|0)==0,r=SE(r,o,n)|0,l||N1(n)):r=SE(r,o,n)|0,(r|0)!=(o|0)&&(i=(r>>>0)/(t>>>0)|0),i|0}function ME(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,c=0;c=g,g=g+16|0,s=c,A=t&255,C[s>>0]=A,n=r+16|0,o=e[n>>2]|0,o?l=4:dY(r)|0?i=-1:(o=e[n>>2]|0,l=4);do if((l|0)==4){if(l=r+20|0,n=e[l>>2]|0,n>>>0>>0&&(i=t&255,(i|0)!=(C[r+75>>0]|0))){e[l>>2]=n+1,C[n>>0]=A;break}(oe[e[r+36>>2]&63](r,s,1)|0)==1?i=s0[s>>0]|0:i=-1}while(0);return g=c,i|0}function DB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=r,e[o+4>>2]=t,e[o+8>>2]=i,i=Xn(Fr0(3,o|0)|0)|0,g=n,i|0}function jE(){var r=0,t=0;return t=g,g=g+16|0,r=Tr0(20,t|0)|0,g=t,r|0}function MB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=r,n=153565,o=i+15|0;do C[i>>0]=C[n>>0]|0,i=i+1|0,n=n+1|0;while((i|0)<(o|0));if(!t)C[r+14>>0]=48,C[r+15>>0]=0;else{for(n=t,i=14;i=i+1|0,!(n>>>0<10);)n=(n>>>0)/10|0;for(C[r+i>>0]=0;i=i+-1|0,C[r+i>>0]=(t>>>0)%10|0|48,!(t>>>0<10);)t=(t>>>0)/10|0}}function BY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+48|0,o=l+40|0,n=l+8|0,i=l,e[i>>2]=r,e[i+4>>2]=t,i=Qr0(197,i|0)|0,(i|0)==-9&&(e[n>>2]=r,e[n+4>>2]=1,(Hc(221,n|0)|0)>=0)?(MB0(n,r),e[o>>2]=n,e[o+4>>2]=t,t=Xn(Nr0(195,o|0)|0)|0):t=Xn(i)|0,g=l,t|0}function jB0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[n>>2]=r,e[n+4>>2]=t,t=Xn(Pr0(33,n|0)|0)|0,g=i,t|0}function A8(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return s=g,g=g+48|0,l=s+32|0,o=s+16|0,i=s,Yf(153580,C[t>>0]|0,4)|0?(n=NB0(t)|0,e[i>>2]=r,e[i+4>>2]=n|32768,e[i+8>>2]=438,i=Xn(Ly(5,i|0)|0)|0,(i|0)>=0?(n&524288|0&&(e[o>>2]=i,e[o+4>>2]=2,e[o+8>>2]=1,Hc(221,o|0)|0),r=EY(i,t)|0,r||(e[l>>2]=i,Nw(6,l|0)|0,r=0)):r=0):(e[(kr()|0)>>2]=22,r=0),g=s,r|0}function NB0(r){r=r|0;var t=0,i=0,n=0;return i=(Zr(r,43)|0)==0,t=C[r>>0]|0,i=i?t<<24>>24!=114&1:2,n=(Zr(r,120)|0)==0,i=n?i:i|128,r=(Zr(r,101)|0)==0,r=r?i:i|524288,r=t<<24>>24==114?r:r|64,r=t<<24>>24==119?r|512:r,(t<<24>>24==97?r|1024:r)|0}function X2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=QB0(r,t,o)|0,g=n,i|0}function QB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=g,g=g+128|0,n=l,o=n,s=o+124|0;do e[o>>2]=0,o=o+4|0;while((o|0)<(s|0));return e[n+32>>2]=41,e[n+44>>2]=r,e[n+76>>2]=-1,e[n+84>>2]=r,s=FB0(n,t,i)|0,g=l,s|0}function TB0(r,t,i){return r=r|0,t=t|0,i=i|0,HB0(r,t,i)|0}function FB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0,H=0,a0=0,k0=0;k0=g,g=g+288|0,F=k0+8|0,q=k0+17|0,t0=k0,Y=k0+16|0,(e[r+76>>2]|0)>-1?a0=qn(r)|0:a0=0,n=C[t>>0]|0;e:do if(n<<24>>24){Z=r+4|0,W=r+100|0,N=r+108|0,T=r+8|0,D=q+10|0,P=q+33|0,L=F+4|0,X=q+1|0,U=q+1|0,s=t,m=0,t=0,l=0,o=0;r:for(;;){t:do if(cn(n&255)|0){for(;n=s+1|0,cn(s0[n>>0]|0)|0;)s=n;v1(r,0);do n=e[Z>>2]|0,n>>>0<(e[W>>2]|0)>>>0?(e[Z>>2]=n+1,n=s0[n>>0]|0):n=Ar(r)|0;while(cn(n)|0);e[W>>2]|0?(n=(e[Z>>2]|0)+-1|0,e[Z>>2]=n):n=e[Z>>2]|0,A=(e[N>>2]|0)+m+n-(e[T>>2]|0)|0}else{n=n<<24>>24==37;i:do if(n){f=s+1|0,A=C[f>>0]|0;n:do switch(A<<24>>24){case 37:break i;case 42:{_=0,s=s+2|0;break}default:{if(n=(A&255)+-48|0,n>>>0<10&&(C[s+2>>0]|0)==36){_=PB0(i,n)|0,s=s+3|0;break n}s=(e[i>>2]|0)+(4-1)&~(4-1),_=e[s>>2]|0,e[i>>2]=s+4,s=f}}while(0);if(n=C[s>>0]|0,A=n&255,(A+-48|0)>>>0<10){f=0;do f=(f*10|0)+-48+A|0,s=s+1|0,n=C[s>>0]|0,A=n&255;while((A+-48|0)>>>0<10)}else f=0;switch(n=n<<24>>24==109,z=(_|0)!=0,l=n?0:l,o=n?0:o,s=n?s+1|0:s,n=z&n,A=s+1|0,C[s>>0]|0){case 104:{x=(C[A>>0]|0)==104,w=x?-2:-1,s=x?s+2|0:A;break}case 108:{x=(C[A>>0]|0)==108,w=x?3:1,s=x?s+2|0:A;break}case 106:{w=3,s=A;break}case 116:case 122:{w=1,s=A;break}case 76:{w=2,s=A;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{w=0;break}default:{H=135;break r}}switch(v=s0[s>>0]|0,E=(v&47|0)==3,v=E?v|32:v,E=E?1:w,p=v&255,p<<24>>24){case 99:{f=(f|0)>1?f:1,x=m;break}case 91:{x=m;break}case 110:{IY(_,E,m,((m|0)<0)<<31>>31),A=m;break t}default:{v1(r,0);do A=e[Z>>2]|0,A>>>0<(e[W>>2]|0)>>>0?(e[Z>>2]=A+1,A=s0[A>>0]|0):A=Ar(r)|0;while(cn(A)|0);e[W>>2]|0?(A=(e[Z>>2]|0)+-1|0,e[Z>>2]=A):A=e[Z>>2]|0,x=(e[N>>2]|0)+m+A-(e[T>>2]|0)|0}}if(v1(r,f),A=e[Z>>2]|0,w=e[W>>2]|0,A>>>0>>0)e[Z>>2]=A+1;else{if((Ar(r)|0)<0){H=135;break r}w=e[W>>2]|0}w|0&&(e[Z>>2]=(e[Z>>2]|0)+-1);n:do switch(p<<24>>24){case 91:case 99:case 115:{B=(v|0)==99;o:do if((v|16|0)==115)qr(X|0,-1,256)|0,C[q>>0]=0,(v|0)==115&&(C[P>>0]=0,C[D>>0]=0,C[D+1>>0]=0,C[D+2>>0]=0,C[D+3>>0]=0,C[D+4>>0]=0);else{switch(v=s+1|0,A=(C[v>>0]|0)==94,m=A&1,s=A?s+2|0:v,qr(U|0,A&1|0,256)|0,C[q>>0]=0,A=C[s>>0]|0,A<<24>>24){case 45:{A=46,H=63;break}case 93:{A=94,H=63;break}default:}for(;;){(H|0)==63&&(H=0,C[q+A>>0]=m^1,A=s+1|0,s=A,A=C[A>>0]|0);l:do switch(A<<24>>24){case 0:{H=135;break r}case 93:break o;case 45:{switch(v=s+1|0,A=C[v>>0]|0,A<<24>>24){case 93:case 0:{A=45;break l}default:}if(s=C[s+-1>>0]|0,(s&255)<(A&255)){p=(m^1)&255,s=s&255;do s=s+1|0,C[q+s>>0]=p,A=C[v>>0]|0;while((s|0)<(A&255|0));s=v}else s=v;break}default:}while(0);A=(A&255)+1|0,H=63}}while(0);A=B?f+1|0:31,v=(E|0)==1;o:do if(v){if(n){if(o=Te(A<<2)|0,!o){l=0,o=0,n=1,H=135;break r}}else o=_;e[F>>2]=0,e[L>>2]=0,p=A,l=0;l:for(;;){w=(o|0)==0;do{s:for(;;){if(A=e[Z>>2]|0,A>>>0<(e[W>>2]|0)>>>0?(e[Z>>2]=A+1,A=s0[A>>0]|0):A=Ar(r)|0,!(C[q+(A+1)>>0]|0))break l;switch(C[Y>>0]=A,tB0(t0,Y,1,F)|0){case-1:{l=0,H=135;break r}case-2:break;default:break s}}w||(e[o+(l<<2)>>2]=e[t0>>2],l=l+1|0)}while(!(n&(l|0)==(p|0)));if(l=p<<1|1,A=V2(o,l<<2)|0,A)E=p,p=l,o=A,l=E;else{l=0,n=1,H=135;break r}}if(YB0(F)|0)A=l,l=0,p=o;else{l=0,H=135;break r}}else{if(n){if(l=Te(A)|0,l)w=A,o=0;else{l=0,o=0,n=1,H=135;break r}for(;;){do{if(A=e[Z>>2]|0,A>>>0<(e[W>>2]|0)>>>0?(e[Z>>2]=A+1,A=s0[A>>0]|0):A=Ar(r)|0,!(C[q+(A+1)>>0]|0)){A=o,p=0,o=0;break o}C[l+o>>0]=A,o=o+1|0}while((o|0)!=(w|0));if(o=w<<1|1,A=V2(l,o)|0,A)E=w,w=o,l=A,o=E;else{o=0,n=1,H=135;break r}}}if(_)for(A=0,l=w;;){if(o=e[Z>>2]|0,o>>>0>>0?(e[Z>>2]=o+1,o=s0[o>>0]|0):o=Ar(r)|0,!(C[q+(o+1)>>0]|0)){l=_,p=0,o=0;break o}C[_+A>>0]=o,A=A+1|0,l=e[W>>2]|0}else for(l=w;;){if(o=e[Z>>2]|0,o>>>0>>0?(e[Z>>2]=o+1,o=s0[o>>0]|0):o=Ar(r)|0,!(C[q+(o+1)>>0]|0)){A=0,l=0,p=0,o=0;break o}l=e[W>>2]|0}}while(0);if(e[W>>2]|0?(w=(e[Z>>2]|0)+-1|0,e[Z>>2]=w):w=e[Z>>2]|0,w=w-(e[T>>2]|0)+(e[N>>2]|0)|0,!w){H=137;break r}if(!((w|0)==(f|0)|B^1)){H=137;break r}do if(n)if(v){e[_>>2]=p;break}else{e[_>>2]=l;break}while(0);if(!B){if(p|0&&(e[p+(A<<2)>>2]=0),!l){l=0;break n}C[l+A>>0]=0}break}case 120:case 88:case 112:{A=16,H=123;break}case 111:{A=8,H=123;break}case 117:case 100:{A=10,H=123;break}case 105:{A=0,H=123;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{if(c=+xY(r,E,0),(e[N>>2]|0)==((e[T>>2]|0)-(e[Z>>2]|0)|0)){H=137;break r}if(_)switch(E|0){case 0:{x0[_>>2]=c;break n}case 1:{u[_>>3]=c;break n}case 2:{u[_>>3]=c;break n}default:break n}break}default:}while(0);do if((H|0)==123){if(H=0,A=nY(r,A,0,-1,-1)|0,(e[N>>2]|0)==((e[T>>2]|0)-(e[Z>>2]|0)|0)){H=137;break r}if(z&(v|0)==112){e[_>>2]=A;break}else{IY(_,E,A,b);break}}while(0);t=t+(z&1)|0,A=(e[N>>2]|0)+x+(e[Z>>2]|0)-(e[T>>2]|0)|0;break t}while(0);if(s=s+(n&1)|0,v1(r,0),n=e[Z>>2]|0,n>>>0<(e[W>>2]|0)>>>0?(e[Z>>2]=n+1,n=s0[n>>0]|0):n=Ar(r)|0,(n|0)!=(s0[s>>0]|0)){H=22;break r}A=m+1|0}while(0);if(s=s+1|0,n=C[s>>0]|0,n<<24>>24)m=A;else break e}if((H|0)==22){if(e[W>>2]|0&&(e[Z>>2]=(e[Z>>2]|0)+-1),(t|0)!=0|(n|0)>-1)break;n=0,H=136}else(H|0)==135?(n=n&1,t||(H=136)):(H|0)==137&&(n=n&1);(H|0)==136&&(t=-1),n&&(r0(l),r0(o))}else t=0;while(0);return a0|0&&N1(r),g=k0,t|0}function PB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(n=g,g=g+16|0,i=n,e[i>>2]=e[r>>2];o=(e[i>>2]|0)+(4-1)&~(4-1),r=e[o>>2]|0,e[i>>2]=o+4,t>>>0>1;)t=t+-1|0;return g=n,r|0}function IY(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;e:do if(r|0)switch(t|0){case-2:{C[r>>0]=i;break e}case-1:{$[r>>1]=i;break e}case 0:{e[r>>2]=i;break e}case 1:{e[r>>2]=i;break e}case 3:{t=r,e[t>>2]=i,e[t+4>>2]=n;break e}default:break e}while(0)}function YB0(r){return r=r|0,r?r=(e[r>>2]|0)==0&1:r=1,r|0}function xY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,c=0,f=0,w=0,p=0;switch(t|0){case 0:{c=-149,f=24,s=4;break}case 1:{c=-1074,f=53,s=4;break}case 2:{c=-1074,f=53,s=4;break}default:n=0}e:do if((s|0)==4){p=r+4|0,w=r+100|0;do t=e[p>>2]|0,t>>>0<(e[w>>2]|0)>>>0?(e[p>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0;while(cn(t)|0);r:do switch(t|0){case 43:case 45:if(l=1-(((t|0)==45&1)<<1)|0,t=e[p>>2]|0,t>>>0<(e[w>>2]|0)>>>0){e[p>>2]=t+1,o=s0[t>>0]|0;break r}else{o=Ar(r)|0;break r}default:o=t,l=1}while(0);t=0;do{if((o|32|0)!=(C[153584+t>>0]|0))break;do if(t>>>0<7)if(o=e[p>>2]|0,o>>>0<(e[w>>2]|0)>>>0){e[p>>2]=o+1,o=s0[o>>0]|0;break}else{o=Ar(r)|0;break}while(0);t=t+1|0}while(t>>>0<8);r:do switch(t|0){case 8:break;case 3:{s=23;break}default:{if(A=(i|0)!=0,A&t>>>0>3){if((t|0)==8)break r;s=23;break r}t:do if(!t){t=0;do{if((o|32|0)!=(C[153593+t>>0]|0))break t;do if(t>>>0<2)if(o=e[p>>2]|0,o>>>0<(e[w>>2]|0)>>>0){e[p>>2]=o+1,o=s0[o>>0]|0;break}else{o=Ar(r)|0;break}while(0);t=t+1|0}while(t>>>0<3)}while(0);switch(t|0){case 3:{if(t=e[p>>2]|0,t>>>0<(e[w>>2]|0)>>>0?(e[p>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,(t|0)==40)t=1;else{if(!(e[w>>2]|0)){n=a1;break e}e[p>>2]=(e[p>>2]|0)+-1,n=a1;break e}for(;o=e[p>>2]|0,o>>>0<(e[w>>2]|0)>>>0?(e[p>>2]=o+1,o=s0[o>>0]|0):o=Ar(r)|0,!(!((o+-48|0)>>>0<10|(o+-65|0)>>>0<26)&&!((o|0)==95|(o+-97|0)>>>0<26));)t=t+1|0;if((o|0)==41){n=a1;break e}if(o=(e[w>>2]|0)==0,o||(e[p>>2]=(e[p>>2]|0)+-1),!A){e[(kr()|0)>>2]=22,v1(r,0),n=0;break e}if(!t){n=a1;break e}for(;;)if(t=t+-1|0,o||(e[p>>2]=(e[p>>2]|0)+-1),!t){n=a1;break e}}case 0:{if((o|0)==48){if(t=e[p>>2]|0,t>>>0<(e[w>>2]|0)>>>0?(e[p>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,(t|32|0)==120){n=+VB0(r,f,c,l,i);break e}e[w>>2]|0&&(e[p>>2]=(e[p>>2]|0)+-1),t=48}else t=o;n=+OB0(r,t,f,c,l,i);break e}default:{e[w>>2]|0&&(e[p>>2]=(e[p>>2]|0)+-1),e[(kr()|0)>>2]=22,v1(r,0),n=0;break e}}}}while(0);if((s|0)==23&&(o=(e[w>>2]|0)==0,o||(e[p>>2]=(e[p>>2]|0)+-1),(i|0)!=0&t>>>0>3))do o||(e[p>>2]=(e[p>>2]|0)+-1),t=t+-1|0;while(t>>>0>3);n=+(l|0)*Ur}while(0);return+n}function VB0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0;N=r+4|0,s=e[N>>2]|0,W=r+100|0,s>>>0<(e[W>>2]|0)>>>0?(e[N>>2]=s+1,A=s0[s>>0]|0,f=0):(A=Ar(r)|0,f=0);e:for(;;){switch(A|0){case 46:{Z=8;break e}case 48:break;default:{x=0,p=0,v=1,l=0,s=0,w=A,z=f,L=0,_=0,f=0,A=0;break e}}if(s=e[N>>2]|0,s>>>0<(e[W>>2]|0)>>>0){e[N>>2]=s+1,A=s0[s>>0]|0,f=1;continue}else{A=Ar(r)|0,f=1;continue}}if((Z|0)==8)if(s=e[N>>2]|0,s>>>0<(e[W>>2]|0)>>>0?(e[N>>2]=s+1,A=s0[s>>0]|0):A=Ar(r)|0,(A|0)==48){f=0,A=0;do s=e[N>>2]|0,s>>>0<(e[W>>2]|0)>>>0?(e[N>>2]=s+1,w=s0[s>>0]|0):w=Ar(r)|0,f=fr(f|0,A|0,-1,-1)|0,A=b;while((w|0)==48);x=1,p=0,v=1,l=0,s=0,z=1,L=0,_=0}else x=1,p=0,v=1,l=0,s=0,w=A,z=f,L=0,_=0,f=0,A=0;for(;;){if(E=w+-48|0,m=w|32,E>>>0>=10){if(B=(w|0)==46,!(B|(m+-97|0)>>>0<6))break;if(B)if(!x)x=1,c=v,B=z,f=_,A=L,E=_,m=L;else{w=46;break}else Z=20}else Z=20;if((Z|0)==20){Z=0,w=(w|0)>57?m+-87|0:E;do if((L|0)<0|(L|0)==0&_>>>0<8)c=v,s=w+(s<<4)|0;else if((L|0)<0|(L|0)==0&_>>>0<14){v=v*.0625,c=v,l=l+v*+(w|0);break}else{z=(p|0)!=0|(w|0)==0,p=z?p:1,c=v,l=z?l:l+v*.5;break}while(0);E=fr(_|0,L|0,1,0)|0,B=1,m=b}if(w=e[N>>2]|0,w>>>0<(e[W>>2]|0)>>>0){e[N>>2]=w+1,v=c,w=s0[w>>0]|0,z=B,L=m,_=E;continue}else{v=c,w=Ar(r)|0,z=B,L=m,_=E;continue}}do if(!z)s=(e[W>>2]|0)==0,s||(e[N>>2]=(e[N>>2]|0)+-1),o?(s||(e[N>>2]=(e[N>>2]|0)+-1),(x|0)==0|s||(e[N>>2]=(e[N>>2]|0)+-1)):v1(r,0),l=+(n|0)*0;else{if(m=(x|0)==0,E=m?_:f,m=m?L:A,(L|0)<0|(L|0)==0&_>>>0<8)for(f=_,A=L;;)if(s=s<<4,Z=f,f=fr(f|0,A|0,1,0)|0,(A|0)<0|(A|0)==0&Z>>>0<7)A=b;else{p=s;break}else p=s;if((w|32|0)==112){if(A=SY(r,o)|0,s=b,(A|0)==0&(s|0)==-2147483648){if(!o){v1(r,0),l=0;break}e[W>>2]|0?(e[N>>2]=(e[N>>2]|0)+-1,A=0,s=0):(A=0,s=0)}}else e[W>>2]|0?(e[N>>2]=(e[N>>2]|0)+-1,A=0,s=0):(A=0,s=0);if(f=Br(E|0,m|0,2)|0,f=fr(f|0,b|0,-32,-1)|0,f=fr(f|0,b|0,A|0,s|0)|0,s=b,!p){l=+(n|0)*0;break}if(N=0-i|0,o=((N|0)<0)<<31>>31,(s|0)>(o|0)|(s|0)==(o|0)&f>>>0>N>>>0){e[(kr()|0)>>2]=34,l=+(n|0)*17976931348623157e292*17976931348623157e292;break}if(N=i+-106|0,o=((N|0)<0)<<31>>31,(s|0)<(o|0)|(s|0)==(o|0)&f>>>0>>0){e[(kr()|0)>>2]=34,l=+(n|0)*22250738585072014e-324*22250738585072014e-324;break}if((p|0)>-1){A=p;do N=!(l>=.5),A=A<<1|(N^1)&1,l=l+(N?l:l+-1),f=fr(f|0,s|0,-1,-1)|0,s=b;while((A|0)>-1);v=l,w=A}else v=l,w=p;N=((t|0)<0)<<31>>31,i=Pl(32,0,i|0,((i|0)<0)<<31>>31|0)|0,s=fr(i|0,b|0,f|0,s|0)|0,i=b,(i|0)<(N|0)|(i|0)==(N|0)&s>>>0>>0?(s|0)>0?Z=59:(A=0,s=84,Z=61):(s=t,Z=59),(Z|0)==59&&((s|0)<53?(A=s,s=84-s|0,Z=61):(c=0,l=+(n|0))),(Z|0)==61&&(l=+(n|0),c=+bP(+bA(1,s),l),s=A),n=(w&1|0)==0&(v!=0&(s|0)<32),l=(n?0:v)*l+(c+l*+((w+(n&1)|0)>>>0))-c,l==0&&(e[(kr()|0)>>2]=34),l=+eY(l,f)}while(0);return+l}function OB0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,c=0,f=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,Z=0,W=0,N=0,T=0,D=0,P=0,X=0,U=0,F=0,q=0,t0=0,Y=0;t0=g,g=g+512|0,U=t0,F=n+i|0,q=0-F|0,D=r+4|0,P=r+100|0,c=0;e:for(;;){switch(t|0){case 46:{N=6;break e}case 48:break;default:{_=0,v=c,m=0,p=0;break e}}if(t=e[D>>2]|0,t>>>0<(e[P>>2]|0)>>>0){e[D>>2]=t+1,t=s0[t>>0]|0,c=1;continue}else{t=Ar(r)|0,c=1;continue}}if((N|0)==6)if(t=e[D>>2]|0,t>>>0<(e[P>>2]|0)>>>0?(e[D>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,(t|0)==48)for(c=0,t=0;;)if(c=fr(c|0,t|0,-1,-1)|0,p=b,t=e[D>>2]|0,t>>>0<(e[P>>2]|0)>>>0?(e[D>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,(t|0)==48)t=p;else{_=1,v=1,m=c;break}else _=1,v=c,m=0,p=0;e[U>>2]=0,w=t+-48|0,f=(t|0)==46;e:do if(f|w>>>0<10){T=U+496|0,L=0,c=0,z=0,Z=_,W=v,N=w,v=0,w=0;r:for(;;){do if(f)if(!Z)Z=1,m=v,p=w;else break r;else{if(v=fr(v|0,w|0,1,0)|0,w=b,_=(t|0)!=48,(c|0)>=125){if(!_)break;e[T>>2]=e[T>>2]|1;break}f=U+(c<<2)|0,L?t=t+-48+((e[f>>2]|0)*10|0)|0:t=N,e[f>>2]=t,L=L+1|0,W=(L|0)==9,L=W?0:L,c=c+(W&1)|0,z=_?v:z,W=1}while(0);if(t=e[D>>2]|0,t>>>0<(e[P>>2]|0)>>>0?(e[D>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,N=t+-48|0,f=(t|0)==46,!(f|N>>>0<10)){_=Z,f=W,N=29;break e}}t=L,f=(W|0)!=0,N=37}else L=0,c=0,z=0,f=v,v=0,w=0,N=29;while(0);do if((N|0)==29){if(T=(_|0)==0,m=T?v:m,p=T?w:p,f=(f|0)!=0,!(f&(t|32|0)==101))if((t|0)>-1){t=L,N=37;break}else{t=L,N=39;break}if(f=SY(r,l)|0,t=b,(f|0)==0&(t|0)==-2147483648){if(!l){v1(r,0),s=0;break}e[P>>2]|0?(e[D>>2]=(e[D>>2]|0)+-1,f=0,t=0):(f=0,t=0)}W=fr(f|0,t|0,m|0,p|0)|0,t=L,p=b,N=41}while(0);(N|0)==37&&(e[P>>2]|0?(e[D>>2]=(e[D>>2]|0)+-1,f?(W=m,N=41):N=40):N=39),(N|0)==39&&(f?(W=m,N=41):N=40);do if((N|0)==40)e[(kr()|0)>>2]=22,v1(r,0),s=0;else if((N|0)==41){if(f=e[U>>2]|0,!f){s=+(o|0)*0;break}if(((w|0)<0|(w|0)==0&v>>>0<10)&((W|0)==(v|0)&(p|0)==(w|0))&&(i|0)>30|(f>>>i|0)==0){s=+(o|0)*+(f>>>0);break}if(r=(n|0)/-2|0,P=((r|0)<0)<<31>>31,(p|0)>(P|0)|(p|0)==(P|0)&W>>>0>r>>>0){e[(kr()|0)>>2]=34,s=+(o|0)*17976931348623157e292*17976931348623157e292;break}if(r=n+-106|0,P=((r|0)<0)<<31>>31,(p|0)<(P|0)|(p|0)==(P|0)&W>>>0>>0){e[(kr()|0)>>2]=34,s=+(o|0)*22250738585072014e-324*22250738585072014e-324;break}if(t){if((t|0)<9){for(w=U+(c<<2)|0,f=e[w>>2]|0;f=f*10|0,!((t|0)>=8);)t=t+1|0;e[w>>2]=f}c=c+1|0}if((z|0)<9&&(z|0)<=(W|0)&(W|0)<18){if((W|0)==9){s=+(o|0)*+((e[U>>2]|0)>>>0);break}if((W|0)<9){s=+(o|0)*+((e[U>>2]|0)>>>0)/+(e[63712+(8-W<<2)>>2]|0);break}if(r=i+27+(N0(W,-3)|0)|0,t=e[U>>2]|0,(r|0)>30|(t>>>r|0)==0){s=+(o|0)*+(t>>>0)*+(e[63712+(W+-10<<2)>>2]|0);break}}if(t=(W|0)%9|0,!t)t=0,w=0;else{if(z=(W|0)>-1?t:t+9|0,v=e[63712+(8-z<<2)>>2]|0,c){m=1e9/(v|0)|0,w=0,p=0,f=W,t=0;do D=U+(t<<2)|0,P=e[D>>2]|0,r=((P>>>0)/(v>>>0)|0)+w|0,e[D>>2]=r,w=N0(m,(P>>>0)%(v>>>0)|0)|0,r=(t|0)==(p|0)&(r|0)==0,f=r?f+-9|0:f,p=r?p+1&127:p,t=t+1|0;while((t|0)!=(c|0));w?(e[U+(c<<2)>>2]=w,w=p,c=c+1|0):w=p}else w=0,c=0,f=W;t=0,W=9-z+f|0}e:for(;;){for(z=(W|0)<18,_=(W|0)==18,L=U+(w<<2)|0;;){if(!z){if(!_){f=W;break e}if((e[L>>2]|0)>>>0>=9007199){f=18;break e}}for(f=0,Z=c,c=c+127|0;p=c&127,v=U+(p<<2)|0,c=Br(e[v>>2]|0,0,29)|0,c=fr(c|0,b|0,f|0,0)|0,f=b,f>>>0>0|(f|0)==0&c>>>0>1e9?(m=qf(c|0,f|0,1e9,0)|0,c=a8(c|0,f|0,1e9,0)|0):m=0,e[v>>2]=c,r=(p|0)==(w|0),Z=(c|0)==0&(((p|0)!=(Z+127&127|0)|r)^1)?p:Z,!r;)f=m,c=p+-1|0;if(t=t+-29|0,m|0)break;c=Z}w=w+127&127,c=Z+127&127,f=U+((Z+126&127)<<2)|0,(w|0)==(Z|0)?e[f>>2]=e[f>>2]|e[U+(c<<2)>>2]:c=Z,e[U+(w<<2)>>2]=m,W=W+9|0}e:for(;;){for(L=c+1&127,Z=U+((c+127&127)<<2)|0;;){for(m=(f|0)==18,_=(f|0)>27?9:1,W=w;;){for(v=0;;){if(w=v+W&127,(w|0)==(c|0)){X=2,N=88;break}if(w=e[U+(w<<2)>>2]|0,p=e[63744+(v<<2)>>2]|0,w>>>0

>>0)&&!((o|n)&3|0)){for(p=n>>>2,w=o>>>2,c=0;;){if(A=l>>>1,a=c+A|0,s=a<<1,o=s+p|0,n=Mf(e[r+(o<<2)>>2]|0,v)|0,o=Mf(e[r+(o+1<<2)>>2]|0,v)|0,!(o>>>0>>0&n>>>0<(t-o|0)>>>0)){n=0;break e}if(y[r+(o+n)>>0]|0){n=0;break e}if(n=ge(i,r+o|0)|0,!n)break;if(n=(n|0)<0,(l|0)==1){n=0;break e}else c=n?c:a,l=n?A:l-A|0}n=s+w|0,o=Mf(e[r+(n<<2)>>2]|0,v)|0,n=Mf(e[r+(n+1<<2)>>2]|0,v)|0,n>>>0>>0&o>>>0<(t-n|0)>>>0?n=y[r+(n+o)>>0]|0?0:r+n|0:n=0}else n=0;while(0);return n|0}function Mf(r,t){r=r|0,t=t|0;var i=0;return i=VY(r|0)|0,(t|0?i:r)|0}function ge(r,t){r=r|0,t=t|0;var i=0,n=0;if(i=y[r>>0]|0,n=y[t>>0]|0,!(i<<24>>24)||i<<24>>24!=n<<24>>24)r=n;else{do r=r+1|0,t=t+1|0,i=y[r>>0]|0,n=y[t>>0]|0;while(!(!(i<<24>>24)||i<<24>>24!=n<<24>>24));r=n}return(i&255)-(r&255)|0}function n8(r){return r=r|0,TE0(r,e[(OE0()|0)+188>>2]|0)|0}function OE0(){return o8()|0}function o8(){return 62976}function XP(r,t,i){r=+r,t=+t,i=i|0;var n=0,o=0,l=0;return l=r*r,n=l*(l*l)*(l*158969099521155e-24+-25050760253406863e-24)+(l*(l*27557313707070068e-22+-.0001984126982985795)+.00833333333332249),o=l*r,i?r=r-(o*.16666666666666632+(l*(t*.5-o*n)-t)):r=o*(l*n+-.16666666666666632)+r,+r}function qP(r){r=+r;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;u[ne>>3]=r,t=e[ne>>2]|0,i=e[ne+4>>2]|0,n=(i|0)<0;do if(n|i>>>0<1048576){if((t|0)==0&(i&2147483647|0)==0){r=-1/(r*r);break}if(n){r=(r-r)/0;break}else{u[ne>>3]=r*0x40000000000000,i=e[ne+4>>2]|0,n=-1077,t=e[ne>>2]|0,o=9;break}}else i>>>0<=2146435071&&((t|0)==0&!0&(i|0)==1072693248?r=0:(n=-1023,o=9));while(0);return(o|0)==9&&(o=i+614242|0,e[ne>>2]=t,e[ne+4>>2]=(o&1048575)+1072079006,c=+u[ne>>3]+-1,A=c*(c*.5),s=c/(c+2),a=s*s,l=a*a,u[ne>>3]=c-A,i=e[ne+4>>2]|0,e[ne>>2]=0,e[ne+4>>2]=i,r=+u[ne>>3],l=c-r-A+s*(A+(l*(l*(l*.15313837699209373+.22222198432149784)+.3999999999940942)+a*(l*(l*(l*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735))),a=r*1.4426950407214463,A=+(n+(o>>>20)|0),s=a+A,r=s+(a+(A-s)+(l*1.4426950407214463+(l+r)*16751713164886512e-26))),+r}function $P(r,t){r=+r,t=t|0;var i=0,n=0,o=0;switch(u[ne>>3]=r,i=e[ne>>2]|0,n=e[ne+4>>2]|0,o=Qi(i|0,n|0,52)|0,o&2047){case 0:{r!=0?(r=+$P(r*18446744073709552e3,t),i=(e[t>>2]|0)+-64|0):i=0,e[t>>2]=i;break}case 2047:break;default:e[t>>2]=(o&2047)+-1022,e[ne>>2]=i,e[ne+4>>2]=n&-2146435073|1071644672,r=+u[ne>>3]}return+r}function KP(r,t){r=+r,t=+t;var i=0,n=0,o=0,l=0;return i=r*r,n=i*i,o=i*.5,l=1-o,+(l+(1-l-o+(i*(i*(i*(i*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+n*n*(i*(2087572321298175e-24-i*11359647557788195e-27)+-27557314351390663e-23))-r*t)))}function VE0(r){r=+r;var t=0,i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0;u[ne>>3]=r,t=e[ne>>2]|0,i=e[ne+4>>2]|0,n=(i|0)<0;do if(n|i>>>0<1048576){if((t|0)==0&(i&2147483647|0)==0){r=-1/(r*r);break}if(n){r=(r-r)/0;break}else{u[ne>>3]=r*0x40000000000000,i=e[ne+4>>2]|0,n=-1077,t=e[ne>>2]|0,o=9;break}}else i>>>0<=2146435071&&((t|0)==0&!0&(i|0)==1072693248?r=0:(n=-1023,o=9));while(0);return(o|0)==9&&(o=i+614242|0,e[ne>>2]=t,e[ne+4>>2]=(o&1048575)+1072079006,A=+u[ne>>3]+-1,s=A*(A*.5),a=A/(A+2),c=a*a,l=c*c,u[ne>>3]=A-s,i=e[ne+4>>2]|0,e[ne>>2]=0,e[ne+4>>2]=i,r=+u[ne>>3],l=A-r-s+a*(s+(l*(l*(l*.15313837699209373+.22222198432149784)+.3999999999940942)+c*(l*(l*(l*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735))),c=r*.4342944818781689,s=+(n+(o>>>20)|0),a=s*.30102999566361177,A=a+c,r=A+(c+(a-A)+(l*.4342944818781689+(s*3694239077158931e-28+(l+r)*25082946711645275e-27)))),+r}function HE0(r,t){r=+r,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;m=g,g=g+48|0,a=m+16|0,c=m,u[ne>>3]=r,i=e[ne>>2]|0,s=e[ne+4>>2]|0,w=Qi(i|0,s|0,63)|0,v=s&2147483647;do if(v>>>0<1074752123)if((s&1048575|0)!=598523)if(i=(w|0)!=0,v>>>0<1073928573)if(i){l=r+1.5707963267341256,A=l+6077100506506192e-26,u[t>>3]=A,u[t+8>>3]=l-A+6077100506506192e-26,i=-1;break}else{l=r+-1.5707963267341256,A=l+-6077100506506192e-26,u[t>>3]=A,u[t+8>>3]=l-A+-6077100506506192e-26,i=1;break}else if(i){l=r+3.1415926534682512,A=l+12154201013012384e-26,u[t>>3]=A,u[t+8>>3]=l-A+12154201013012384e-26,i=-2;break}else{l=r+-3.1415926534682512,A=l+-12154201013012384e-26,u[t>>3]=A,u[t+8>>3]=l-A+-12154201013012384e-26,i=2;break}else p=21;else{if(v>>>0<1075594812)if(v>>>0<1075183037){if((v|0)==1074977148){p=21;break}if(w){l=r+4.712388980202377,A=l+18231301519518578e-26,u[t>>3]=A,u[t+8>>3]=l-A+18231301519518578e-26,i=-3;break}else{l=r+-4.712388980202377,A=l+-18231301519518578e-26,u[t>>3]=A,u[t+8>>3]=l-A+-18231301519518578e-26,i=3;break}}else{if((v|0)==1075388923){p=21;break}if(w){l=r+6.2831853069365025,A=l+2430840202602477e-25,u[t>>3]=A,u[t+8>>3]=l-A+2430840202602477e-25,i=-4;break}else{l=r+-6.2831853069365025,A=l+-2430840202602477e-25,u[t>>3]=A,u[t+8>>3]=l-A+-2430840202602477e-25,i=4;break}}if(v>>>0>=1094263291){if(v>>>0>2146435071){A=r-r,u[t+8>>3]=A,u[t>>3]=A,i=0;break}e[ne>>2]=i,e[ne+4>>2]=s&1048575|1096810496,r=+u[ne>>3],i=0;do A=+(~~r|0),u[a+(i<<3)>>3]=A,r=(r-A)*16777216,i=i+1|0;while((i|0)!=2);if(u[a+16>>3]=r,r==0)for(i=1;+u[a+(i<<3)>>3]==0;)i=i+-1|0;else i=2;if(i=JE0(a,c,(v>>>20)+-1046|0,i+1|0,1)|0,r=+u[c>>3],w){u[t>>3]=-r,u[t+8>>3]=-+u[c+8>>3],i=0-i|0;break}else{u[t>>3]=r,u[t+8>>3]=+u[c+8>>3];break}}else p=21}while(0);return(p|0)==21&&(l=r*.6366197723675814+6755399441055744+-6755399441055744,i=~~l,n=r-l*1.5707963267341256,o=l*6077100506506192e-26,r=n-o,u[t>>3]=r,u[ne>>3]=r,p=Qi(e[ne>>2]|0,e[ne+4>>2]|0,52)|0,s=v>>>20,(s-(p&2047)|0)>16&&(o=l*6077100506303966e-26,A=n-o,o=l*20222662487959506e-37-(n-A-o),r=A-o,u[t>>3]=r,u[ne>>3]=r,v=Qi(e[ne>>2]|0,e[ne+4>>2]|0,52)|0,E=l*20222662487111665e-37,n=A-E,l=l*84784276603689e-45-(A-n-E),(s-(v&2047)|0)>49?(r=n-l,u[t>>3]=r,o=l):n=A),u[t+8>>3]=n-r-o),g=m,i|0}function JE0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0;if(q=g,g=g+560|0,D=q+480|0,N=q+320|0,F=q+160|0,U=q,P=e[63220+(o<<2)>>2]|0,v=n+-1|0,W=(i+-3|0)/24|0,W=(W|0)>0?W:0,T=N0(W,-24)|0,A=i+-24+T|0,(P+v|0)>=0)for(w=P+n|0,a=W-v|0,c=0;(a|0)<0?l=0:l=+(e[63236+(a<<2)>>2]|0),u[N+(c<<3)>>3]=l,c=c+1|0,(c|0)!=(w|0);)a=a+1|0;for(p=(n|0)>0,w=0;;){if(p){c=w+v|0,l=0,a=0;do l=l+ +u[r+(a<<3)>>3]*+u[N+(c-a<<3)>>3],a=a+1|0;while((a|0)!=(n|0))}else l=0;if(u[U+(w<<3)>>3]=l,(w|0)<(P|0))w=w+1|0;else break}x=(A|0)>0,z=24-A|0,_=23-A|0,L=(n|0)>0,G=(A|0)==0,a=P;e:for(;;){if(l=+u[U+(a<<3)>>3],p=(a|0)>0,p)for(c=a,w=0;s=+(~~(l*5960464477539063e-23)|0),e[D+(w<<2)>>2]=~~(l-s*16777216),B=c,c=c+-1|0,l=+u[U+(c<<3)>>3]+s,!((B|0)<=1);)w=w+1|0;l=+bA(l,A),l=l-+S0(+(l*.125))*8,c=~~l,l=l-+(c|0);do if(x)B=D+(a+-1<<2)|0,w=e[B>>2]|0,J=w>>z,w=w-(J<>2]=w,w=w>>_,c=J+c|0,J=19;else if(G){w=e[D+(a+-1<<2)>>2]>>23,J=19;break}else if(l>=.5){w=2,J=20;break}else{v=0,B=c;break}while(0);if((J|0)==19&&(J=0,(w|0)>0?J=20:(v=w,B=c)),(J|0)==20){if(J=0,B=c+1|0,p){c=0,E=0;do v=D+(E<<2)|0,m=e[v>>2]|0,c?(p=16777215,J=23):m?(c=1,p=16777216,J=23):c=0,(J|0)==23&&(J=0,e[v>>2]=p-m),E=E+1|0;while((E|0)!=(a|0))}else c=0;r:do if(x){switch(A|0){case 1:{p=8388607;break}case 2:{p=4194303;break}default:break r}E=D+(a+-1<<2)|0,e[E>>2]=e[E>>2]&p}while(0);(w|0)==2?(l=1-l,c?(v=2,l=l-+bA(1,A)):v=2):v=w}if(l!=0){J=42;break}if((a|0)>(P|0)){c=0,w=a;do w=w+-1|0,c=e[D+(w<<2)>>2]|c;while((w|0)>(P|0));if(c){J=41;break}else c=1}else c=1;for(;!(e[D+(P-c<<2)>>2]|0);)c=c+1|0;if(p=c+a|0,(c|0)<=0){a=p;continue}for(;;){if(w=a+1|0,c=a+n|0,u[N+(c<<3)>>3]=+(e[63236+(w+W<<2)>>2]|0),L){l=0,a=0;do l=l+ +u[r+(a<<3)>>3]*+u[N+(c-a<<3)>>3],a=a+1|0;while((a|0)!=(n|0))}else l=0;if(u[U+(w<<3)>>3]=l,(w|0)<(p|0))a=w;else{a=p;continue e}}}if((J|0)==41)for(;;)if(J=0,A=A+-24|0,a=a+-1|0,!(e[D+(a<<2)>>2]|0))J=41;else{p=a;break}else(J|0)==42&&(l=+bA(l,0-A|0),l>=16777216&&(s=+(~~(l*5960464477539063e-23)|0),e[D+(a<<2)>>2]=~~(l-s*16777216),A=T+i|0,a=a+1|0,l=s),e[D+(a<<2)>>2]=~~l,p=a);if(w=(p|0)>-1,w){for(l=+bA(1,A),A=p;u[U+(A<<3)>>3]=l*+(e[D+(A<<2)>>2]|0),(A|0)>0;)l=l*5960464477539063e-23,A=A+-1|0;if(w)for(a=p;;){for(c=p-a|0,A=0,l=0;l=l+ +u[10904+(A<<3)>>3]*+u[U+(A+a<<3)>>3],!((A|0)>=(P|0)|(A|0)>=(c|0));)A=A+1|0;if(u[F+(c<<3)>>3]=l,(a|0)>0)a=a+-1|0;else break}}switch(o|0){case 0:{if(w)for(l=0,A=p;l=l+ +u[F+(A<<3)>>3],(A|0)>0;)A=A+-1|0;else l=0;s=v|0?-l:l,J=73;break}case 2:case 1:{if(w)for(l=0,A=p;l=l+ +u[F+(A<<3)>>3],(A|0)>0;)A=A+-1|0;else l=0;if(a=(v|0)==0,u[t>>3]=a?l:-l,l=+u[F>>3]-l,(p|0)>=1)for(A=1;l=l+ +u[F+(A<<3)>>3],(A|0)!=(p|0);)A=A+1|0;s=a?l:-l,t=t+8|0,J=73;break}case 3:{if((p|0)>0){A=p,l=+u[F+(p<<3)>>3];do J=A,A=A+-1|0,U=F+(A<<3)|0,s=+u[U>>3],t0=l,l=s+l,u[F+(J<<3)>>3]=t0+(s-l),u[U>>3]=l;while((J|0)>1);if(a=(p|0)>1,a){A=p,l=+u[F+(p<<3)>>3];do J=A,A=A+-1|0,U=F+(A<<3)|0,t0=+u[U>>3],s=l,l=t0+l,u[F+(J<<3)>>3]=s+(t0-l),u[U>>3]=l;while((J|0)>2);if(a)for(A=p,s=0;s=s+ +u[F+(A<<3)>>3],(A|0)>2;)A=A+-1|0;else s=0}else s=0}else s=0;l=+u[F>>3],v?(u[t>>3]=-l,s=-s,l=-+u[F+8>>3]):(u[t>>3]=l,l=+u[F+8>>3]),u[t+8>>3]=l,t=t+16|0,J=73;break}default:}return(J|0)==73&&(u[t>>3]=s),g=q,B&7|0}function bA(r,t){r=+r,t=t|0;var i=0,n=0;return(t|0)<=1023?(t|0)<-1022&&(r=r*22250738585072014e-324,n=(t|0)<-2044,i=t+2044|0,r=n?r*22250738585072014e-324:r,t=n?(i|0)>-1022?i:-1022:t+1022|0):(r=r*898846567431158e293,i=(t|0)>2046,n=t+-2046|0,r=i?r*898846567431158e293:r,t=i?(n|0)<1023?n:1023:t+-1023|0),i=Br(t+1023|0,0,52)|0,n=b,e[ne>>2]=i,e[ne+4>>2]=n,+(r*+u[ne>>3])}function CE(r){r=+r;var t=0,i=0,n=0,o=0,l=0;u[ne>>3]=r,i=e[ne+4>>2]|0,t=i&2147483647;do if(t>>>0>2146435071)r=r+r;else{if(t>>>0<1048576)if(u[ne>>3]=r*0x40000000000000,i=e[ne+4>>2]|0,t=i&2147483647,t)n=696219795;else break;else n=715094163;e[ne>>2]=0,e[ne+4>>2]=((t>>>0)/3|0)+n|i&-2147483648,o=+u[ne>>3],l=o*o*(o/r),u[ne>>3]=(l*(l*l)*(l*.14599619288661245+-.758397934778766)+(l*(l*1.6214297201053545+-1.8849797954337717)+1.87595182427177))*o,i=ar(e[ne>>2]|0,e[ne+4>>2]|0,-2147483648,0)|0,n=b,e[ne>>2]=i&-1073741824,e[ne+4>>2]=n,o=+u[ne>>3],r=r/(o*o),r=(r-o)/(o+o+r)*o+o}while(0);return+r}function UE0(r,t){r=+r,t=+t;var i=0,n=0;return u[ne>>3]=r,n=e[ne>>2]|0,i=e[ne+4>>2]|0,u[ne>>3]=t,i=e[ne+4>>2]&-2147483648|i&2147483647,e[ne>>2]=n,e[ne+4>>2]=i,+ +u[ne>>3]}function bP(r,t){return r=+r,t=+t,+ +UE0(r,t)}function eY(r,t){return r=+r,t=t|0,+ +bA(r,t)}function rY(r,t){return r=+r,t=+t,+ +XE0(r,t)}function XE0(r,t){r=+r,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0;u[ne>>3]=r,s=e[ne>>2]|0,a=e[ne+4>>2]|0,u[ne>>3]=t,w=e[ne>>2]|0,p=e[ne+4>>2]|0,n=Qi(s|0,a|0,52)|0,n=n&2047,c=Qi(w|0,p|0,52)|0,c=c&2047,v=a&-2147483648,l=Br(w|0,p|0,1)|0,A=b;e:do if(!((l|0)==0&(A|0)==0)&&(o=qE0(t)|0,i=b&2147483647,!((n|0)==2047|(i>>>0>2146435072|(i|0)==2146435072&o>>>0>0)))){if(i=Br(s|0,a|0,1)|0,o=b,!(o>>>0>A>>>0|(o|0)==(A|0)&i>>>0>l>>>0))return+((i|0)==(l|0)&(o|0)==(A|0)?r*0:r);if(n)l=a&1048575|1048576;else{if(i=Br(s|0,a|0,12)|0,o=b,(o|0)>-1|(o|0)==-1&i>>>0>4294967295){n=0;do n=n+-1|0,i=Br(i|0,o|0,1)|0,o=b;while((o|0)>-1|(o|0)==-1&i>>>0>4294967295)}else n=0;s=Br(s|0,a|0,1-n|0)|0,l=b}if(c)a=p&1048575|1048576;else{if(o=Br(w|0,p|0,12)|0,A=b,(A|0)>-1|(A|0)==-1&o>>>0>4294967295){i=0;do i=i+-1|0,o=Br(o|0,A|0,1)|0,A=b;while((A|0)>-1|(A|0)==-1&o>>>0>4294967295)}else i=0;w=Br(w|0,p|0,1-i|0)|0,c=i,a=b}o=Pl(s|0,l|0,w|0,a|0)|0,i=b,A=(i|0)>-1|(i|0)==-1&o>>>0>4294967295;r:do if((n|0)>(c|0)){for(;;){if(A){if((o|0)==0&(i|0)==0)break}else o=s,i=l;if(s=Br(o|0,i|0,1)|0,l=b,n=n+-1|0,o=Pl(s|0,l|0,w|0,a|0)|0,i=b,A=(i|0)>-1|(i|0)==-1&o>>>0>4294967295,(n|0)<=(c|0))break r}t=r*0;break e}while(0);if(A){if((o|0)==0&(i|0)==0){t=r*0;break}}else i=l,o=s;if(i>>>0<1048576|(i|0)==1048576&o>>>0<0)do o=Br(o|0,i|0,1)|0,i=b,n=n+-1|0;while(i>>>0<1048576|(i|0)==1048576&o>>>0<0);(n|0)>0?(p=ar(o|0,i|0,0,-1048576)|0,i=b,n=Br(n|0,0,52)|0,i=i|b,n=p|n):(n=Qi(o|0,i|0,1-n|0)|0,i=b),e[ne>>2]=n,e[ne+4>>2]=i|v,t=+u[ne>>3]}else m=3;while(0);return(m|0)==3&&(t=r*t,t=t/t),+t}function qE0(r){r=+r;var t=0;return u[ne>>3]=r,t=e[ne>>2]|0,b=e[ne+4>>2]|0,t|0}function Qc(r,t){r=+r,t=+t;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;v=g,g=g+32|0,a=v+24|0,c=v+16|0,w=v+8|0,p=v,u[ne>>3]=r,B=e[ne>>2]|0,l=e[ne+4>>2]|0,u[ne>>3]=t,n=e[ne>>2]|0,l=l&2147483647,o=e[ne+4>>2]&2147483647,s=l>>>0>>0|(l|0)==(o|0)&B>>>0>>0,E=s?n:B,m=s?o:l,n=s?B:n,o=s?l:o,l=Qi(E|0,m|0,52)|0,s=Qi(n|0,o|0,52)|0,e[ne>>2]=E,e[ne+4>>2]=m,r=+u[ne>>3],e[ne>>2]=n,e[ne+4>>2]=o,A=+u[ne>>3];do if((s|0)!=2047){if(!((n|0)==0&(o|0)==0|(l|0)==2047)){if((l-s|0)>64){r=r+A;break}(l|0)>1533?(i=5260135901548374e195,t=r*190109156629516e-225,r=A*190109156629516e-225):(B=(s|0)<573,i=B?190109156629516e-225:1,t=B?r*5260135901548374e195:r,r=B?A*5260135901548374e195:A),tY(a,c,t),tY(w,p,r),r=i*+G0(+(+u[p>>3]+ +u[c>>3]+ +u[w>>3]+ +u[a>>3]))}}else r=A;while(0);return g=v,+r}function tY(r,t,i){r=r|0,t=t|0,i=+i;var n=0,o=0;o=i*134217729,o=o+(i-o),n=i-o,i=i*i,u[r>>3]=i,u[t>>3]=n*n+(o*o-i+o*2*n)}function l8(r,t,i){r=+r,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0;A=g,g=g+16|0,l=A,u[ne>>3]=r,o=e[ne+4>>2]&2147483647;do if(o>>>0<1072243196)if(o>>>0<1044816030){u[t>>3]=r,u[i>>3]=1;break}else{u[t>>3]=+XP(r,0,0),u[i>>3]=+KP(r,0);break}else{if(o>>>0>2146435071){s=r-r,u[i>>3]=s,u[t>>3]=s;break}switch(o=HE0(r,l)|0,a=l+8|0,n=+XP(+u[l>>3],+u[a>>3],1),r=+KP(+u[l>>3],+u[a>>3]),o&3){case 0:{u[t>>3]=n,s=r;break}case 1:{u[t>>3]=r,s=-n;break}case 2:{u[t>>3]=-n,s=-r;break}case 3:{u[t>>3]=-r,s=n;break}default:}u[i>>3]=s}while(0);g=A}function $E0(r,t){return r=+r,t=t|0,+ +$P(r,t)}function KE0(r){return r=r|0,r>>>0<131072?r=(s0[146423+((s0[146423+(r>>>8)>>0]|0)<<5|r>>>3&31)>>0]|0)>>>(r&7)&1:r=0,r|0}function Yr(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;if(!i)n=0;else{n=y[r>>0]|0;e:do if(!(n<<24>>24))n=0;else for(;;){if(i=i+-1|0,o=y[t>>0]|0,!(n<<24>>24==o<<24>>24&((i|0)!=0&o<<24>>24!=0)))break e;if(r=r+1|0,t=t+1|0,n=y[r>>0]|0,!(n<<24>>24)){n=0;break}}while(0);n=(n&255)-(s0[t>>0]|0)|0}return n|0}function Zr(r,t){return r=r|0,t=t|0,r=Sk(r,t)|0,((y[r>>0]|0)==(t&255)<<24>>24?r:0)|0}function an(r){return r=r|0,((r|0)==32|(r+-9|0)>>>0<5)&1|0}function bE0(r,t,i){return r=r|0,t=t|0,i=i|0,i=iY(r,t,i,-1,0)|0,i|0}function Tc(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=t&255,n=(i|0)!=0;e:do if(n&(r&3|0)!=0)for(o=t&255;;){if((y[r>>0]|0)==o<<24>>24){s=6;break e}if(r=r+1|0,i=i+-1|0,n=(i|0)!=0,!(n&(r&3|0)!=0)){s=5;break}}else s=5;while(0);(s|0)==5&&(n?s=6:i=0);e:do if((s|0)==6&&(o=t&255,(y[r>>0]|0)!=o<<24>>24)){n=N0(l,16843009)|0;r:do if(i>>>0>3){for(;l=e[r>>2]^n,!((l&-2139062144^-2139062144)&l+-16843009|0);)if(r=r+4|0,i=i+-4|0,i>>>0<=3){s=11;break r}}else s=11;while(0);if((s|0)==11&&!i){i=0;break}for(;;){if((y[r>>0]|0)==o<<24>>24)break e;if(r=r+1|0,i=i+-1|0,!i){i=0;break}}}while(0);return(i|0?r:0)|0}function iY(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0;return a=g,g=g+128|0,s=a,e[s>>2]=0,A=s+4|0,e[A>>2]=r,e[s+44>>2]=r,l=s+8|0,e[l>>2]=(r|0)<0?-1:r+2147483647|0,e[s+76>>2]=-1,v1(s,0),i=nY(s,i,1,n,o)|0,t|0&&(e[t>>2]=r+((e[A>>2]|0)+(e[s+108>>2]|0)-(e[l>>2]|0))),g=a,i|0}function v1(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;e[r+104>>2]=t,i=e[r+8>>2]|0,n=e[r+4>>2]|0,o=i-n|0,e[r+108>>2]=o,e[r+100>>2]=(t|0)!=0&(o|0)>(t|0)?n+t|0:i}function nY(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;e:do if(t>>>0>36)e[(kr()|0)>>2]=22,o=0,n=0;else{E=r+4|0,m=r+100|0;do l=e[E>>2]|0,l>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=l+1,l=s0[l>>0]|0):l=Ar(r)|0;while(an(l)|0);r:do switch(l|0){case 43:case 45:if(l=((l|0)==45)<<31>>31,s=e[E>>2]|0,s>>>0<(e[m>>2]|0)>>>0){e[E>>2]=s+1,v=l,l=s0[s>>0]|0;break r}else{v=l,l=Ar(r)|0;break r}default:v=0}while(0);s=(t|0)==0;do if((t|16|0)==16&(l|0)==48){if(l=e[E>>2]|0,l>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=l+1,l=s0[l>>0]|0):l=Ar(r)|0,(l|32|0)!=120)if(s){t=8,w=46;break}else{w=32;break}if(l=e[E>>2]|0,l>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=l+1,l=s0[l>>0]|0):l=Ar(r)|0,(s0[149592+l>>0]|0)>15){if(n=(e[m>>2]|0)==0,n||(e[E>>2]=(e[E>>2]|0)+-1),!i){v1(r,0),o=0,n=0;break e}if(n){o=0,n=0;break e}e[E>>2]=(e[E>>2]|0)+-1,o=0,n=0;break e}else t=16,w=46}else if(t=s?10:t,t>>>0>(s0[149592+l>>0]|0)>>>0)w=32;else{e[m>>2]|0&&(e[E>>2]=(e[E>>2]|0)+-1),v1(r,0),e[(kr()|0)>>2]=22,o=0,n=0;break e}while(0);r:do if((w|0)==32)if((t|0)==10){if(t=l+-48|0,t>>>0<10){l=0,s=t;do l=(l*10|0)+s|0,t=e[E>>2]|0,t>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,s=t+-48|0;while(s>>>0<10&l>>>0<429496729);i=0}else t=l,l=0,i=0;if(A=t+-48|0,A>>>0<10){s=t;do{if(t=Hc(l|0,i|0,10,0)|0,a=b,c=((A|0)<0)<<31>>31,p=~c,a>>>0>p>>>0|(a|0)==(p|0)&t>>>0>~A>>>0){t=10,w=72;break r}l=ar(t|0,a|0,A|0,c|0)|0,i=b,t=e[E>>2]|0,t>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=t+1,s=s0[t>>0]|0):s=Ar(r)|0,A=s+-48|0}while(A>>>0<10&(i>>>0<429496729|(i|0)==429496729&l>>>0<2576980378));A>>>0>9?(s=v,t=i):(t=10,w=72)}else s=v,t=i}else w=46;while(0);r:do if((w|0)==46){if(!(t+-1&t)){if(w=y[149848+((t*23|0)>>>5&7)>>0]|0,i=y[149592+l>>0]|0,s=i&255,t>>>0>s>>>0){l=0,A=s;do l=A|l<>2]|0,s>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=s+1,s=s0[s>>0]|0):s=Ar(r)|0,i=y[149592+s>>0]|0,A=i&255;while(l>>>0<134217728&t>>>0>A>>>0);A=0}else s=l,A=0,l=0;if(a=Qi(-1,-1,w|0)|0,c=b,t>>>0<=(i&255)>>>0|(c>>>0>>0|(c|0)==(A|0)&a>>>0>>0)){i=A,w=72;break}else s=A;for(;;)if(l=Br(l|0,s|0,w|0)|0,A=b,l=l|i&255,s=e[E>>2]|0,s>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=s+1,s=s0[s>>0]|0):s=Ar(r)|0,i=y[149592+s>>0]|0,t>>>0<=(i&255)>>>0|(A>>>0>c>>>0|(A|0)==(c|0)&l>>>0>a>>>0)){i=A,w=72;break r}else s=A}if(i=y[149592+l>>0]|0,s=i&255,t>>>0>s>>>0){l=0,A=s;do l=A+(N0(l,t)|0)|0,s=e[E>>2]|0,s>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=s+1,s=s0[s>>0]|0):s=Ar(r)|0,i=y[149592+s>>0]|0,A=i&255;while(l>>>0<119304647&t>>>0>A>>>0);A=0}else s=l,l=0,A=0;if(t>>>0>(i&255)>>>0)for(w=Jc(-1,-1,t|0,0)|0,p=b,c=A;;){if(c>>>0>p>>>0|(c|0)==(p|0)&l>>>0>w>>>0){i=c,w=72;break r}if(A=Hc(l|0,c|0,t|0,0)|0,a=b,i=i&255,a>>>0>4294967295|(a|0)==-1&A>>>0>~i>>>0){i=c,w=72;break r}if(l=ar(A|0,a|0,i|0,0)|0,A=b,s=e[E>>2]|0,s>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=s+1,s=s0[s>>0]|0):s=Ar(r)|0,i=y[149592+s>>0]|0,t>>>0<=(i&255)>>>0){i=A,w=72;break}else c=A}else i=A,w=72}while(0);if((w|0)==72)if(t>>>0>(s0[149592+s>>0]|0)>>>0){do l=e[E>>2]|0,l>>>0<(e[m>>2]|0)>>>0?(e[E>>2]=l+1,l=s0[l>>0]|0):l=Ar(r)|0;while(t>>>0>(s0[149592+l>>0]|0)>>>0);e[(kr()|0)>>2]=34,s=(n&1|0)==0&!0?v:0,t=o,l=n}else s=v,t=i;if(e[m>>2]|0&&(e[E>>2]=(e[E>>2]|0)+-1),!(t>>>0>>0|(t|0)==(o|0)&l>>>0>>0)){if(!((n&1|0)!=0|!1|(s|0)!=0)){e[(kr()|0)>>2]=34,n=ar(n|0,o|0,-1,-1)|0,o=b;break}if(t>>>0>o>>>0|(t|0)==(o|0)&l>>>0>n>>>0){e[(kr()|0)>>2]=34;break}}n=((s|0)<0)<<31>>31,n=Pl(l^s|0,t^n|0,s|0,n|0)|0,o=b}while(0);return b=o,n|0}function Ar(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return i=r+104|0,o=e[i>>2]|0,o|0&&(e[r+108>>2]|0)>=(o|0)?l=4:(t=_k(r)|0,(t|0)>=0?(n=e[i>>2]|0,i=r+8|0,n?(s=e[i>>2]|0,o=e[r+4>>2]|0,i=n-(e[r+108>>2]|0)|0,n=s,(s-o|0)<(i|0)?i=n:i=o+(i+-1)|0):(n=e[i>>2]|0,i=n),e[r+100>>2]=i,i=r+4|0,n?(i=e[i>>2]|0,s=r+108|0,e[s>>2]=n+1-i+(e[s>>2]|0)):i=e[i>>2]|0,i=i+-1|0,(t|0)!=(s0[i>>0]|0|0)&&(y[i>>0]=t)):l=4),(l|0)==4&&(e[r+100>>2]=0,t=-1),t|0}function _k(r){r=r|0;var t=0,i=0;return i=g,g=g+16|0,t=i,!(oY(r)|0)&&(oe[e[r+32>>2]&63](r,t,1)|0)==1?r=s0[t>>0]|0:r=-1,g=i,r|0}function oY(r){r=r|0;var t=0,i=0;return t=r+74|0,i=y[t>>0]|0,y[t>>0]=i+255|i,t=r+20|0,i=r+28|0,(e[t>>2]|0)>>>0>(e[i>>2]|0)>>>0&&oe[e[r+36>>2]&63](r,0,0)|0,e[r+16>>2]=0,e[i>>2]=0,e[t>>2]=0,t=e[r>>2]|0,t&4?(e[r>>2]=t|32,t=-1):(i=(e[r+44>>2]|0)+(e[r+48>>2]|0)|0,e[r+8>>2]=i,e[r+4>>2]=i,t=t<<27>>31),t|0}function lY(r){return r=r|0,(r+-48|0)>>>0<10|0}function jf(r){return r=r|0,((r+-48|0)>>>0<10|(zk(r)|0)!=0)&1|0}function zk(r){return r=r|0,((r|32)+-97|0)>>>0<26|0}function De(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=y[r>>0]|0;e:do if(!(i<<24>>24))i=0;else for(o=i&255;;){if(n=y[t>>0]|0,!(n<<24>>24)||i<<24>>24!=n<<24>>24&&(o=Tl(o)|0,(o|0)!=(Tl(n&255)|0)))break e;if(r=r+1|0,t=t+1|0,i=y[r>>0]|0,i<<24>>24)o=i&255;else{i=0;break}}while(0);return o=Tl(i&255)|0,o-(Tl(s0[t>>0]|0)|0)|0}function Tl(r){r=r|0;var t=0;return t=(sY(r)|0)==0,(t?r:r|32)|0}function sY(r){return r=r|0,(r+-65|0)>>>0<26|0}function eu(r){return r=r|0,AY(r,0)|0}function AY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;s=(t<<1)+-1|0,A=t+-1|0;e:do if(!((r+-43008|0)>>>0<22272|((r+-11776|0)>>>0<30784|((r+-1536|0)>>>0<2560|(EE(r)|0)==0)))){if(i=(t|0)!=0,i&(r+-4256|0)>>>0<46){if((r|0)>4293)switch(r|0){case 4295:case 4301:break;default:break e}r=r+7264|0;break}if((r+-11520|0)>>>0<38&(i^1)){r=r+-7264|0;break}else i=0;do{if(o=y[66346+(i<<2)+2>>0]|0,l=o<<24>>24,n=r-(M0[66346+(i<<2)>>1]|0)|0,(n-(A&l)|0)>>>0<(s0[66346+(i<<2)+3>>0]|0)>>>0){a=11;break}i=i+1|0}while((i|0)!=61);if((a|0)==11)if(o<<24>>24==1){r=t+r-(n&1)|0;break}else{r=(N0(s,l)|0)+r|0;break}o=1-t|0,i=$[65858+(o<<1)>>1]|0;r:do if(i<<16>>16){for(n=0;(i&65535|0)!=(r|0);)if(n=n+1|0,i=$[65858+(n<<2)+(o<<1)>>1]|0,!(i<<16>>16))break r;r=M0[65858+(n<<2)+(t<<1)>>1]|0;break e}while(0);return((r+-66600+(t*40|0)|0)>>>0<40?r+-40+(t*80|0)|0:r)|0}while(0);return r|0}function EE(r){return r=r|0,r>>>0<131072?r=(s0[149857+((s0[149857+(r>>>8)>>0]|0)<<5|r>>>3&31)>>0]|0)>>>(r&7)&1:r=r>>>0<196606&1,r|0}function eB0(r){r=r|0;var t=0;for(t=r;e[t>>2]|0;)t=t+4|0;return t-r>>2|0}function go(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;if(!i)r=0;else{n=y[r>>0]|0;e:do if(!(n<<24>>24))r=0;else for(l=r,r=n,n=n&255;;){if(i=i+-1|0,o=y[t>>0]|0,!((i|0)!=0&o<<24>>24!=0)||r<<24>>24!=o<<24>>24&&(n=Tl(n)|0,(n|0)!=(Tl(o&255)|0)))break e;if(l=l+1|0,t=t+1|0,n=y[l>>0]|0,n<<24>>24)r=n,n=n&255;else{r=0;break}}while(0);r=Tl(r&255)|0,r=r-(Tl(s0[t>>0]|0)|0)|0}return r|0}function uY(r){if(r=r|0,r>>>0>=255)if((r+-57344|0)>>>0<8185|(r>>>0<8232|(r+-8234|0)>>>0<47062))r=1;else return(r&65534|0)!=65534&(r+-65532|0)>>>0<1048580&1|0;else r=(r+1&127)>>>0>32&1;return r|0}function rB0(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0;a=g,g=g+16|0,o=a,s=n|0?n:190640,n=e[s>>2]|0;e:do if(!t)n?A=17:n=0;else if(l=r|0?r:o,!i)n=-2;else{if(n)o=i,A=11;else{if(n=y[t>>0]|0,n<<24>>24>-1){e[l>>2]=n&255,n=n<<24>>24!=0&1;break}if(o=(e[e[(nB0()|0)+188>>2]>>2]|0)==0,n=y[t>>0]|0,o){e[l>>2]=n<<24>>24&57343,n=1;break}if(n=(n&255)+-194|0,n>>>0>50){A=17;break}n=e[62384+(n<<2)>>2]|0,o=i+-1|0,o&&(t=t+1|0,A=11)}r:do if((A|0)==11){if(r=y[t>>0]|0,c=(r&255)>>>3,(c+-16|c+(n>>26))>>>0>7){A=17;break e}for(;t=t+1|0,n=(r&255)+-128|n<<6,o=o+-1|0,!((n|0)>=0);){if(!o)break r;if(r=y[t>>0]|0,(r&-64)<<24>>24!=-128){A=17;break e}}e[s>>2]=0,e[l>>2]=n,n=i-o|0;break e}while(0);e[s>>2]=n,n=-2}while(0);return(A|0)==17&&(e[s>>2]=0,e[(kr()|0)>>2]=84,n=-1),g=a,n|0}function fY(r,t){return r=r|0,t=t|0,r?r=tB0(r,t,0)|0:r=0,r|0}function tB0(r,t,i){r=r|0,t=t|0,i=i|0;do if(r){if(t>>>0<128){y[r>>0]=t,r=1;break}if(!(e[e[(iB0()|0)+188>>2]>>2]|0))if((t&-128|0)==57216){y[r>>0]=t,r=1;break}else{e[(kr()|0)>>2]=84,r=-1;break}if(t>>>0<2048){y[r>>0]=t>>>6|192,y[r+1>>0]=t&63|128,r=2;break}if(t>>>0<55296|(t&-8192|0)==57344){y[r>>0]=t>>>12|224,y[r+1>>0]=t>>>6&63|128,y[r+2>>0]=t&63|128,r=3;break}if((t+-65536|0)>>>0<1048576){y[r>>0]=t>>>18|240,y[r+1>>0]=t>>>12&63|128,y[r+2>>0]=t>>>6&63|128,y[r+3>>0]=t&63|128,r=4;break}else{e[(kr()|0)>>2]=84,r=-1;break}}else r=1;while(0);return r|0}function iB0(){return o8()|0}function nB0(){return o8()|0}function oB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;v=g,g=g+272|0,w=v+8|0,p=v;do if(!(y[t>>0]|0)){if(t=Ha(152833)|0,t|0&&y[t>>0]|0||(t=Ha(152840+(r*12|0)|0)|0,t|0&&y[t>>0]|0)||(t=Ha(152912)|0,t|0&&y[t>>0]|0))break;t=152917}while(0);i=0;e:do{switch(y[t+i>>0]|0){case 47:case 0:break e;default:}i=i+1|0}while(i>>>0<15);n=y[t>>0]|0,n<<24>>24!=46&&!(y[t+i>>0]|0)?n<<24>>24==67?c=15:(a=t,c=16):(t=152917,c=15),(c|0)==15&&(y[t+1>>0]|0?(a=t,c=16):c=18);e:do if((c|0)==16)if(ge(a,152917)|0&&ge(a,152925)|0){if(t=e[47661]|0,t|0)do{if(!(ge(a,t+8|0)|0))break e;t=e[t+24>>2]|0}while(t|0);zy(190648),t=e[47661]|0;r:do if(t|0){for(;ge(a,t+8|0)|0;)if(t=e[t+24>>2]|0,!t)break r;P3(190648);break e}while(0);r:do if(!(e[47646]|0)&&(o=Ha(152931)|0,(o|0)!=0)&&y[o>>0]|0){for(s=254-i|0,A=i+1|0,n=o;;){if(l=Sk(n,58)|0,t=y[l>>0]|0,o=l-n+((t<<24>>24!=0)<<31>>31)|0,o>>>0>>0){if(u2(w|0,n|0,o|0)|0,n=w+o|0,y[n>>0]=47,u2(n+1|0,a|0,i|0)|0,y[w+(A+o)>>0]=0,n=Gr0(w|0,p|0)|0,n|0)break;t=y[l>>0]|0}if(n=l+(t<<24>>24!=0&1)|0,!(y[n>>0]|0)){c=41;break r}}if(t=Te(28)|0,t){e[t>>2]=n,e[t+4>>2]=e[p>>2],p=t+8|0,u2(p|0,a|0,i|0)|0,y[p+i>>0]=0,e[t+24>>2]=e[47661],e[47661]=t;break}else{UP(n,e[p>>2]|0)|0,c=41;break}}else c=41;while(0);(c|0)==41&&(t=Te(28)|0,t&&(e[t>>2]=e[15584],e[t+4>>2]=e[15585],p=t+8|0,u2(p|0,a|0,i|0)|0,y[p+i>>0]=0,e[t+24>>2]=e[47661],e[47661]=t)),P3(190648),t=(r|0)==0&(t|0)==0?62336:t}else t=a,c=18;while(0);do if((c|0)==18){if(!(r|0)&&(y[t+1>>0]|0)==46){t=62336;break}t=0}while(0);return g=v,t|0}function yo(r,t){return r=r|0,t=t|0,lB0(r,t)|0,r|0}function lB0(r,t){r=r|0,t=t|0;var i=0,n=0;i=t;e:do if((i^r)&3)n=8;else{if(i&3)do{if(i=y[t>>0]|0,y[r>>0]=i,!(i<<24>>24))break e;t=t+1|0,r=r+1|0}while(t&3|0);if(i=e[t>>2]|0,!((i&-2139062144^-2139062144)&i+-16843009))for(n=r;t=t+4|0,r=n+4|0,e[n>>2]=i,i=e[t>>2]|0,!((i&-2139062144^-2139062144)&i+-16843009|0);)n=r;n=8}while(0);if((n|0)==8&&(n=y[t>>0]|0,y[r>>0]=n,n<<24>>24))do t=t+1|0,r=r+1|0,n=y[t>>0]|0,y[r>>0]=n;while(n<<24>>24);return r|0}function sB0(r){return r=r|0,((r|0)==32|(r|0)==9)&1|0}function aY(r){return r=r|0,r?r=(AB0(63500,r)|0)!=0&1:r=0,r|0}function AB0(r,t){r=r|0,t=t|0;var i=0;if(!t)r=r+((eB0(r)|0)<<2)|0;else{for(;i=e[r>>2]|0,!((i|0)==0|(i|0)==(t|0));)r=r+4|0;r=i|0?r:0}return r|0}function Gs(r,t){r=r|0,t=t|0;do switch(t|0){case 1:{r=_r(r)|0;break}case 2:{r=EE(r)|0;break}case 3:{r=uB0(r)|0;break}case 4:{r=fB0(r)|0;break}case 5:{r=lY(r)|0;break}case 6:{r=aB0(r)|0;break}case 7:{r=BE(r)|0;break}case 8:{r=uY(r)|0;break}case 9:{r=KE0(r)|0;break}case 10:{r=aY(r)|0;break}case 11:{r=IE(r)|0;break}case 12:{r=cB0(r)|0;break}default:r=0}while(0);return r|0}function _r(r){return r=r|0,lY(r)|0?r=1:r=(EE(r)|0)!=0&1,r|0}function uB0(r){return r=r|0,sB0(r)|0}function fB0(r){return r=r|0,((r+-65529|0)>>>0<3|((r&-2|0)==8232|(r>>>0<32|(r+-127|0)>>>0<33)))&1|0}function aB0(r){return r=r|0,aY(r)|0?r=0:r=(uY(r)|0)!=0&1,r|0}function BE(r){return r=r|0,(eu(r)|0)!=(r|0)|0}function IE(r){return r=r|0,(ru(r)|0)!=(r|0)|0}function cB0(r){return r=r|0,((r+-48|0)>>>0<10|((r|32)+-97|0)>>>0<6)&1|0}function ru(r){return r=r|0,AY(r,1)|0}function hB0(r){return r=r|0,(r+-97|0)>>>0<26|0}function Lk(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0;w=g,g=g+128|0,o=w+124|0,c=w,l=c,s=63588,A=l+124|0;do e[l>>2]=e[s>>2],l=l+4|0,s=s+4|0;while((l|0)<(A|0));return(t+-1|0)>>>0>2147483646?t?(e[(kr()|0)>>2]=75,t=-1):(r=o,t=1,a=4):a=4,(a|0)==4&&(a=-2-r|0,a=t>>>0>a>>>0?a:t,e[c+48>>2]=a,o=c+20|0,e[o>>2]=r,e[c+44>>2]=r,t=r+a|0,r=c+16|0,e[r>>2]=t,e[c+28>>2]=t,t=Rk(c,i,n)|0,a&&(c=e[o>>2]|0,y[c+(((c|0)==(e[r>>2]|0))<<31>>31)>>0]=0)),g=w,t|0}function Rk(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0;B=g,g=g+224|0,w=B+120|0,v=B+80|0,m=B,E=B+136|0,n=v,o=n+40|0;do e[n>>2]=0,n=n+4|0;while((n|0)<(o|0));return e[w>>2]=e[i>>2],(xE(0,t,w,m,v)|0)<0?i=-1:((e[r+76>>2]|0)>-1?p=qn(r)|0:p=0,i=e[r>>2]|0,c=i&32,(y[r+74>>0]|0)<1&&(e[r>>2]=i&-33),n=r+48|0,e[n>>2]|0?i=xE(r,t,w,m,v)|0:(o=r+44|0,l=e[o>>2]|0,e[o>>2]=E,s=r+28|0,e[s>>2]=E,A=r+20|0,e[A>>2]=E,e[n>>2]=80,a=r+16|0,e[a>>2]=E+80,i=xE(r,t,w,m,v)|0,l&&(oe[e[r+36>>2]&63](r,0,0)|0,i=e[A>>2]|0?i:-1,e[o>>2]=l,e[n>>2]=0,e[a>>2]=0,e[s>>2]=0,e[A>>2]=0)),n=e[r>>2]|0,e[r>>2]=n|c,p|0&&N1(r),i=n&32|0?-1:i),g=B,i|0}function xE(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0;J=g,g=g+64|0,T=J+16|0,D=J,W=J+24|0,P=J+8|0,U=J+20|0,e[T>>2]=t,_=(r|0)!=0,L=W+40|0,G=L,W=W+39|0,N=P+4|0,s=0,l=0,w=0;e:for(;;){do if((l|0)>-1)if((s|0)>(2147483647-l|0)){e[(kr()|0)>>2]=75,l=-1;break}else{l=s+l|0;break}while(0);if(s=y[t>>0]|0,s<<24>>24)A=t;else{z=86;break}r:for(;;){switch(s<<24>>24){case 37:{s=A,z=9;break r}case 0:{s=A;break r}default:}x=A+1|0,e[T>>2]=x,s=y[x>>0]|0,A=x}r:do if((z|0)==9)for(;;){if(z=0,(y[A+1>>0]|0)!=37)break r;if(s=s+1|0,A=A+2|0,e[T>>2]=A,(y[A>>0]|0)==37)z=9;else break}while(0);if(s=s-t|0,_&&Ni(r,t,s),s|0){t=A;continue}if(a=A+1|0,s=(y[a>>0]|0)+-48|0,s>>>0<10?(x=(y[A+2>>0]|0)==36,E=x?s:-1,w=x?1:w,a=x?A+3|0:a):E=-1,e[T>>2]=a,s=y[a>>0]|0,x=(s<<24>>24)+-32|0,x>>>0>31|(1<>24)+-32|A,a=a+1|0,e[T>>2]=a,s=y[a>>0]|0,x=(s<<24>>24)+-32|0;while(!(x>>>0>31|(1<>24==42){if(c=a+1|0,s=(y[c>>0]|0)+-48|0,s>>>0<10&&(y[a+2>>0]|0)==36)e[o+(s<<2)>>2]=10,s=e[n+((y[c>>0]|0)+-48<<3)>>2]|0,w=1,a=a+3|0;else{if(w|0){l=-1;break}_?(w=(e[i>>2]|0)+(4-1)&~(4-1),s=e[w>>2]|0,e[i>>2]=w+4,w=0,a=c):(s=0,w=0,a=c)}e[T>>2]=a,B=(s|0)<0,s=B?0-s|0:s,B=B?A|8192:A}else{if(s=cY(T)|0,(s|0)<0){l=-1;break}B=A,a=e[T>>2]|0}do if((y[a>>0]|0)==46){if((y[a+1>>0]|0)!=42){e[T>>2]=a+1,A=cY(T)|0,a=e[T>>2]|0;break}if(c=a+2|0,A=(y[c>>0]|0)+-48|0,A>>>0<10&&(y[a+3>>0]|0)==36){e[o+(A<<2)>>2]=10,A=e[n+((y[c>>0]|0)+-48<<3)>>2]|0,a=a+4|0,e[T>>2]=a;break}if(w|0){l=-1;break e}_?(x=(e[i>>2]|0)+(4-1)&~(4-1),A=e[x>>2]|0,e[i>>2]=x+4):A=0,e[T>>2]=c,a=c}else A=-1;while(0);for(m=0;;){if(((y[a>>0]|0)+-65|0)>>>0>57){l=-1;break e}if(x=a+1|0,e[T>>2]=x,c=y[(y[a>>0]|0)+-65+(152944+(m*58|0))>>0]|0,p=c&255,(p+-1|0)>>>0<8)m=p,a=x;else break}if(!(c<<24>>24)){l=-1;break}v=(E|0)>-1;do if(c<<24>>24==19)if(v){l=-1;break e}else z=48;else{if(v){e[o+(E<<2)>>2]=p,v=n+(E<<3)|0,E=e[v+4>>2]|0,z=D,e[z>>2]=e[v>>2],e[z+4>>2]=E,z=48;break}if(!_){l=0;break e}hY(D,p,i)}while(0);if((z|0)==48&&(z=0,!_)){s=0,t=x;continue}a=y[a>>0]|0,a=(m|0)!=0&(a&15|0)==3?a&-33:a,E=B&-65537,B=B&8192|0?E:B;r:do switch(a|0){case 110:switch((m&255)<<24>>24){case 0:{e[e[D>>2]>>2]=l,s=0,t=x;continue e}case 1:{e[e[D>>2]>>2]=l,s=0,t=x;continue e}case 2:{s=e[D>>2]|0,e[s>>2]=l,e[s+4>>2]=((l|0)<0)<<31>>31,s=0,t=x;continue e}case 3:{$[e[D>>2]>>1]=l,s=0,t=x;continue e}case 4:{y[e[D>>2]>>0]=l,s=0,t=x;continue e}case 6:{e[e[D>>2]>>2]=l,s=0,t=x;continue e}case 7:{s=e[D>>2]|0,e[s>>2]=l,e[s+4>>2]=((l|0)<0)<<31>>31,s=0,t=x;continue e}default:{s=0,t=x;continue e}}case 112:{a=120,A=A>>>0>8?A:8,t=B|8,z=60;break}case 88:case 120:{t=B,z=60;break}case 111:{a=D,t=e[a>>2]|0,a=e[a+4>>2]|0,v=dB0(t,a,L)|0,m=G-v|0,c=0,p=153408,A=(B&8|0)==0|(A|0)>(m|0)?A:m+1|0,m=B,z=66;break}case 105:case 100:if(a=D,t=e[a>>2]|0,a=e[a+4>>2]|0,(a|0)<0){t=Pl(0,0,t|0,a|0)|0,a=b,c=D,e[c>>2]=t,e[c+4>>2]=a,c=1,p=153408,z=65;break r}else{c=(B&2049|0)!=0&1,p=B&2048|0?153409:B&1|0?153410:153408,z=65;break r}case 117:{a=D,c=0,p=153408,t=e[a>>2]|0,a=e[a+4>>2]|0,z=65;break}case 99:{y[W>>0]=e[D>>2],t=W,c=0,p=153408,v=L,a=1,A=E;break}case 109:{a=n8(e[(kr()|0)>>2]|0)|0,z=70;break}case 115:{a=e[D>>2]|0,a=a|0?a:153418,z=70;break}case 67:{e[P>>2]=e[D>>2],e[N>>2]=0,e[D>>2]=P,v=-1,a=P,z=74;break}case 83:{t=e[D>>2]|0,A?(v=A,a=t,z=74):(Ki(r,32,s,0,B),t=0,z=83);break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{s=pB0(r,+u[D>>3],s,A,B,a)|0,t=x;continue e}default:c=0,p=153408,v=L,a=A,A=B}while(0);r:do if((z|0)==60)B=D,E=e[B>>2]|0,B=e[B+4>>2]|0,v=wB0(E,B,L,a&32)|0,p=(t&8|0)==0|(E|0)==0&(B|0)==0,c=p?0:2,p=p?153408:153408+(a>>4)|0,m=t,t=E,a=B,z=66;else if((z|0)==65)v=Fc(t,a,L)|0,m=B,z=66;else if((z|0)==70)z=0,B=Tc(a,0,A)|0,m=(B|0)==0,t=a,c=0,p=153408,v=m?a+A|0:B,a=m?A:B-a|0,A=E;else if((z|0)==74){for(z=0,p=a,t=0,A=0;c=e[p>>2]|0,!(!c||(A=fY(U,c)|0,(A|0)<0|A>>>0>(v-t|0)>>>0));)if(t=A+t|0,v>>>0>t>>>0)p=p+4|0;else break;if((A|0)<0){l=-1;break e}if(Ki(r,32,s,t,B),!t)t=0,z=83;else for(c=0;;){if(A=e[a>>2]|0,!A){z=83;break r}if(A=fY(U,A)|0,c=A+c|0,(c|0)>(t|0)){z=83;break r}if(Ni(r,U,A),c>>>0>=t>>>0){z=83;break}else a=a+4|0}}while(0);if((z|0)==66)z=0,a=(t|0)!=0|(a|0)!=0,B=(A|0)!=0|a,a=G-v+((a^1)&1)|0,t=B?v:L,v=L,a=B?(A|0)>(a|0)?A:a:A,A=(A|0)>-1?m&-65537:m;else if((z|0)==83){z=0,Ki(r,32,s,t,B^8192),s=(s|0)>(t|0)?s:t,t=x;continue}E=v-t|0,m=(a|0)<(E|0)?E:a,B=m+c|0,s=(s|0)<(B|0)?B:s,Ki(r,32,s,B,A),Ni(r,p,c),Ki(r,48,s,B,A^65536),Ki(r,48,m,E,0),Ni(r,t,E),Ki(r,32,s,B,A^8192),t=x}e:do if((z|0)==86&&!r)if(w){for(l=1;t=e[o+(l<<2)>>2]|0,!!t;)if(hY(n+(l<<3)|0,t,i),t=l+1|0,(l|0)<9)l=t;else{l=t;break}if((l|0)<10)for(;;){if(e[o+(l<<2)>>2]|0){l=-1;break e}if((l|0)<9)l=l+1|0;else{l=1;break}}else l=1}else l=0;while(0);return g=J,l|0}function qn(r){return r=r|0,0}function N1(r){r=r|0}function Ni(r,t,i){r=r|0,t=t|0,i=i|0,e[r>>2]&32||SE(t,i,r)|0}function cY(r){r=r|0;var t=0,i=0,n=0;if(i=e[r>>2]|0,n=(y[i>>0]|0)+-48|0,n>>>0<10){t=0;do t=n+(t*10|0)|0,i=i+1|0,e[r>>2]=i,n=(y[i>>0]|0)+-48|0;while(n>>>0<10)}else t=0;return t|0}function hY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;e:do if(t>>>0<=20)do switch(t|0){case 9:{n=(e[i>>2]|0)+(4-1)&~(4-1),t=e[n>>2]|0,e[i>>2]=n+4,e[r>>2]=t;break e}case 10:{n=(e[i>>2]|0)+(4-1)&~(4-1),t=e[n>>2]|0,e[i>>2]=n+4,n=r,e[n>>2]=t,e[n+4>>2]=((t|0)<0)<<31>>31;break e}case 11:{n=(e[i>>2]|0)+(4-1)&~(4-1),t=e[n>>2]|0,e[i>>2]=n+4,n=r,e[n>>2]=t,e[n+4>>2]=0;break e}case 12:{n=(e[i>>2]|0)+(8-1)&~(8-1),t=n,o=e[t>>2]|0,t=e[t+4>>2]|0,e[i>>2]=n+8,n=r,e[n>>2]=o,e[n+4>>2]=t;break e}case 13:{o=(e[i>>2]|0)+(4-1)&~(4-1),n=e[o>>2]|0,e[i>>2]=o+4,n=(n&65535)<<16>>16,o=r,e[o>>2]=n,e[o+4>>2]=((n|0)<0)<<31>>31;break e}case 14:{o=(e[i>>2]|0)+(4-1)&~(4-1),n=e[o>>2]|0,e[i>>2]=o+4,o=r,e[o>>2]=n&65535,e[o+4>>2]=0;break e}case 15:{o=(e[i>>2]|0)+(4-1)&~(4-1),n=e[o>>2]|0,e[i>>2]=o+4,n=(n&255)<<24>>24,o=r,e[o>>2]=n,e[o+4>>2]=((n|0)<0)<<31>>31;break e}case 16:{o=(e[i>>2]|0)+(4-1)&~(4-1),n=e[o>>2]|0,e[i>>2]=o+4,o=r,e[o>>2]=n&255,e[o+4>>2]=0;break e}case 17:{o=(e[i>>2]|0)+(8-1)&~(8-1),l=+u[o>>3],e[i>>2]=o+8,u[r>>3]=l;break e}case 18:{o=(e[i>>2]|0)+(8-1)&~(8-1),l=+u[o>>3],e[i>>2]=o+8,u[r>>3]=l;break e}default:break e}while(0);while(0)}function wB0(r,t,i,n){if(r=r|0,t=t|0,i=i|0,n=n|0,!((r|0)==0&(t|0)==0))do i=i+-1|0,y[i>>0]=s0[153456+(r&15)>>0]|0|n,r=Qi(r|0,t|0,4)|0,t=b;while(!((r|0)==0&(t|0)==0));return i|0}function dB0(r,t,i){if(r=r|0,t=t|0,i=i|0,!((r|0)==0&(t|0)==0))do i=i+-1|0,y[i>>0]=r&7|48,r=Qi(r|0,t|0,3)|0,t=b;while(!((r|0)==0&(t|0)==0));return i|0}function Fc(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;if(t>>>0>0|(t|0)==0&r>>>0>4294967295){for(;n=f8(r|0,t|0,10,0)|0,i=i+-1|0,y[i>>0]=n&255|48,n=r,r=Jc(r|0,t|0,10,0)|0,t>>>0>9|(t|0)==9&n>>>0>4294967295;)t=b;t=r}else t=r;if(t)for(;i=i+-1|0,y[i>>0]=(t>>>0)%10|0|48,!(t>>>0<10);)t=(t>>>0)/10|0;return i|0}function Ki(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0;if(s=g,g=g+256|0,l=s,(i|0)>(n|0)&(o&73728|0)==0){if(o=i-n|0,Ur(l|0,t|0,(o>>>0<256?o:256)|0)|0,o>>>0>255){t=i-n|0;do Ni(r,l,256),o=o+-256|0;while(o>>>0>255);o=t&255}Ni(r,l,o)}g=s}function pB0(r,t,i,n,o,l){r=r|0,t=+t,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0;F=g,g=g+560|0,a=F+8|0,x=F,J=F+524|0,U=J,c=F+512|0,e[x>>2]=0,P=c+12|0,wY(t)|0,(b|0)<0?(t=-t,T=1,N=153425):(T=(o&2049|0)!=0&1,N=o&2048|0?153428:o&1|0?153431:153426),wY(t)|0;do if(!0&(b&2146435072|0)==2146435072)J=(l&32|0)!=0,s=T+3|0,Ki(r,32,i,s,o&-65537),Ni(r,N,T),Ni(r,t!=t|!1?J?153593:153452:J?153444:153448,3),Ki(r,32,i,s,o^8192);else{if(m=+$E0(t,x)*2,s=m!=0,s&&(e[x>>2]=(e[x>>2]|0)+-1),_=l|32,(_|0)==97){p=l&32,E=p|0?N+9|0:N,v=T|2,s=12-n|0;do if(n>>>0>11|(s|0)==0)t=m;else{t=8;do s=s+-1|0,t=t*16;while(s|0);if((y[E>>0]|0)==45){t=-(t+(-m-t));break}else{t=m+t-t;break}}while(0);A=e[x>>2]|0,s=(A|0)<0?0-A|0:A,s=Fc(s,((s|0)<0)<<31>>31,P)|0,(s|0)==(P|0)&&(s=c+11|0,y[s>>0]=48),y[s+-1>>0]=(A>>31&2)+43,w=s+-2|0,y[w>>0]=l+15,a=(n|0)<1,c=(o&8|0)==0,s=J;do D=~~t,A=s+1|0,y[s>>0]=p|s0[153456+D>>0],t=(t-+(D|0))*16,(A-U|0)==1&&!(c&(a&t==0))?(y[A>>0]=46,s=s+2|0):s=A;while(t!=0);n|0&&(-2-U+s|0)<(n|0)?(A=s-U|0,s=n+2|0):(s=s-U|0,A=s),P=P-w|0,U=P+v+s|0,Ki(r,32,i,U,o),Ni(r,E,v),Ki(r,48,i,U,o^65536),Ni(r,J,A),Ki(r,48,s-A|0,0,0),Ni(r,w,P),Ki(r,32,i,U,o^8192),s=U;break}A=(n|0)<0?6:n,s?(s=(e[x>>2]|0)+-28|0,e[x>>2]=s,t=m*268435456):(t=m,s=e[x>>2]|0),D=(s|0)<0?a:a+288|0,a=D;do G=~~t>>>0,e[a>>2]=G,a=a+4|0,t=(t-+(G>>>0))*1e9;while(t!=0);if((s|0)>0)for(c=D,p=a;;){if(w=(s|0)<29?s:29,s=p+-4|0,s>>>0>=c>>>0){a=0;do L=Br(e[s>>2]|0,0,w|0)|0,L=ar(L|0,b|0,a|0,0)|0,G=b,z=f8(L|0,G|0,1e9,0)|0,e[s>>2]=z,a=Jc(L|0,G|0,1e9,0)|0,s=s+-4|0;while(s>>>0>=c>>>0);a&&(c=c+-4|0,e[c>>2]=a)}for(a=p;!(a>>>0<=c>>>0);)if(s=a+-4|0,!(e[s>>2]|0))a=s;else break;if(s=(e[x>>2]|0)-w|0,e[x>>2]=s,(s|0)>0)p=a;else break}else c=D;if((s|0)<0){n=((A+25|0)/9|0)+1|0,B=(_|0)==102;do{if(E=0-s|0,E=(E|0)<9?E:9,c>>>0>>0){w=(1<>>E,v=0,s=c;do G=e[s>>2]|0,e[s>>2]=(G>>>E)+v,v=N0(G&w,p)|0,s=s+4|0;while(s>>>0>>0);s=e[c>>2]|0?c:c+4|0,v?(e[a>>2]=v,c=s,s=a+4|0):(c=s,s=a)}else c=e[c>>2]|0?c:c+4|0,s=a;a=B?D:c,a=(s-a>>2|0)>(n|0)?a+(n<<2)|0:s,s=(e[x>>2]|0)+E|0,e[x>>2]=s}while((s|0)<0);s=c,n=a}else s=c,n=a;if(G=D,s>>>0>>0){if(a=(G-s>>2)*9|0,w=e[s>>2]|0,w>>>0>=10){c=10;do c=c*10|0,a=a+1|0;while(w>>>0>=c>>>0)}}else a=0;if(B=(_|0)==103,z=(A|0)!=0,c=A-((_|0)!=102?a:0)+((z&B)<<31>>31)|0,(c|0)<(((n-G>>2)*9|0)+-9|0)){if(c=c+9216|0,E=D+4+(((c|0)/9|0)+-1024<<2)|0,c=(c|0)%9|0,(c|0)<8)for(w=10;w=w*10|0,(c|0)<7;)c=c+1|0;else w=10;if(p=e[E>>2]|0,v=(p>>>0)%(w>>>0)|0,c=(E+4|0)==(n|0),c&(v|0)==0)c=E;else if(m=((p>>>0)/(w>>>0)|0)&1|0?9007199254740994:9007199254740992,L=(w|0)/2|0,t=v>>>0>>0?.5:c&(v|0)==(L|0)?1:1.5,T&&(L=(y[N>>0]|0)==45,t=L?-t:t,m=L?-m:m),c=p-v|0,e[E>>2]=c,m+t!=m){if(L=c+w|0,e[E>>2]=L,L>>>0>999999999)for(a=E;c=a+-4|0,e[a>>2]=0,c>>>0>>0&&(s=s+-4|0,e[s>>2]=0),L=(e[c>>2]|0)+1|0,e[c>>2]=L,L>>>0>999999999;)a=c;else c=E;if(a=(G-s>>2)*9|0,p=e[s>>2]|0,p>>>0>=10){w=10;do w=w*10|0,a=a+1|0;while(p>>>0>=w>>>0)}}else c=E;c=c+4|0,c=n>>>0>c>>>0?c:n,L=s}else c=n,L=s;for(_=c;;){if(_>>>0<=L>>>0){x=0;break}if(s=_+-4|0,!(e[s>>2]|0))_=s;else{x=1;break}}n=0-a|0;do if(B)if(s=A+((z^1)&1)|0,(s|0)>(a|0)&(a|0)>-5?(w=l+-1|0,A=s+-1-a|0):(w=l+-2|0,A=s+-1|0),s=o&8,s)E=s;else{if(x&&(W=e[_+-4>>2]|0,(W|0)!=0))if((W>>>0)%10|0)c=0;else{c=0,s=10;do s=s*10|0,c=c+1|0;while(!((W>>>0)%(s>>>0)|0|0))}else c=9;if(s=((_-G>>2)*9|0)+-9|0,(w|32|0)==102){E=s-c|0,E=(E|0)>0?E:0,A=(A|0)<(E|0)?A:E,E=0;break}else{E=s+a-c|0,E=(E|0)>0?E:0,A=(A|0)<(E|0)?A:E,E=0;break}}else w=l,E=o&8;while(0);if(B=A|E,p=(B|0)!=0&1,v=(w|32|0)==102,v)z=0,s=(a|0)>0?a:0;else{if(s=(a|0)<0?n:a,s=Fc(s,((s|0)<0)<<31>>31,P)|0,c=P,(c-s|0)<2)do s=s+-1|0,y[s>>0]=48;while((c-s|0)<2);y[s+-1>>0]=(a>>31&2)+43,s=s+-2|0,y[s>>0]=w,z=s,s=c-s|0}if(s=T+1+A+p+s|0,Ki(r,32,i,s,o),Ni(r,N,T),Ki(r,48,i,s,o^65536),v){w=L>>>0>D>>>0?D:L,E=J+9|0,p=E,v=J+8|0,c=w;do{if(a=Fc(e[c>>2]|0,0,E)|0,(c|0)==(w|0))(a|0)==(E|0)&&(y[v>>0]=48,a=v);else if(a>>>0>J>>>0){Ur(J|0,48,a-U|0)|0;do a=a+-1|0;while(a>>>0>J>>>0)}Ni(r,a,p-a|0),c=c+4|0}while(c>>>0<=D>>>0);if(B|0&&Ni(r,153472,1),c>>>0<_>>>0&(A|0)>0)for(;;){if(a=Fc(e[c>>2]|0,0,E)|0,a>>>0>J>>>0){Ur(J|0,48,a-U|0)|0;do a=a+-1|0;while(a>>>0>J>>>0)}if(Ni(r,a,(A|0)<9?A:9),c=c+4|0,a=A+-9|0,c>>>0<_>>>0&(A|0)>9)A=a;else{A=a;break}}Ki(r,48,A+9|0,9,0)}else{if(B=x?_:L+4|0,(A|0)>-1){x=J+9|0,E=(E|0)==0,n=x,p=0-U|0,v=J+8|0,w=L;do{a=Fc(e[w>>2]|0,0,x)|0,(a|0)==(x|0)&&(y[v>>0]=48,a=v);do if((w|0)==(L|0)){if(c=a+1|0,Ni(r,a,1),E&(A|0)<1){a=c;break}Ni(r,153472,1),a=c}else{if(a>>>0<=J>>>0)break;Ur(J|0,48,a+p|0)|0;do a=a+-1|0;while(a>>>0>J>>>0)}while(0);U=n-a|0,Ni(r,a,(A|0)>(U|0)?U:A),A=A-U|0,w=w+4|0}while(w>>>0>>0&(A|0)>-1)}Ki(r,48,A+18|0,18,0),Ni(r,z,P-z|0)}Ki(r,32,i,s,o^8192)}while(0);return g=F,((s|0)<(i|0)?i:s)|0}function wY(r){r=+r;var t=0;return u[ne>>3]=r,t=e[ne>>2]|0,b=e[ne+4>>2]|0,t|0}function SE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;n=i+16|0,o=e[n>>2]|0,o?l=5:dY(i)|0?n=0:(o=e[n>>2]|0,l=5);e:do if((l|0)==5){if(A=i+20|0,s=e[A>>2]|0,n=s,(o-s|0)>>>0>>0){n=oe[e[i+36>>2]&63](i,r,t)|0;break}r:do if((y[i+75>>0]|0)>-1){for(s=t;;){if(!s){l=0,o=r;break r}if(o=s+-1|0,(y[r+o>>0]|0)==10)break;s=o}if(n=oe[e[i+36>>2]&63](i,r,s)|0,n>>>0>>0)break e;l=s,o=r+s|0,t=t-s|0,n=e[A>>2]|0}else l=0,o=r;while(0);u2(n|0,o|0,t|0)|0,e[A>>2]=(e[A>>2]|0)+t,n=l+t|0}while(0);return n|0}function dY(r){r=r|0;var t=0,i=0;return t=r+74|0,i=y[t>>0]|0,y[t>>0]=i+255|i,t=e[r>>2]|0,t&8?(e[r>>2]=t|32,r=-1):(e[r+8>>2]=0,e[r+4>>2]=0,i=e[r+44>>2]|0,e[r+28>>2]=i,e[r+20>>2]=i,e[r+16>>2]=i+(e[r+48>>2]|0),r=0),r|0}function kB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=r+20|0,o=e[n>>2]|0,r=(e[r+16>>2]|0)-o|0,r=r>>>0>i>>>0?i:r,u2(o|0,t|0,r|0)|0,e[n>>2]=(e[n>>2]|0)+r,i|0}function vB0(r){r=r|0;var t=0,i=0,n=0,o=0;for(n=y[r>>0]|0,t=1,i=153474,o=97;!(n<<24>>24==o<<24>>24&&!(ge(r,i)|0));)if(i=i+6|0,o=y[i>>0]|0,o<<24>>24)t=t+1|0;else{t=0;break}return t|0}function Nf(r){r=r|0;var t=0;return t=(hB0(r)|0)==0,(t?r:r&95)|0}function _E(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;l=g,g=g+16|0,o=l;do if(r>>>0>6)t=0;else{if(zy(190656),(r|0)!=6){t=pY(r,t)|0,P3(190656);break}if(!t)t=197132,r=0;else{r=o,i=153547,n=r+16|0;do y[r>>0]=y[i>>0]|0,r=r+1|0,i=i+1|0;while((r|0)<(n|0));n=0;do r=Sk(t,59)|0,i=r-t|0,(i|0)<16&&(u2(o|0,t|0,i|0)|0,y[o+i>>0]=0,t=y[r>>0]|0?r+1|0:t),pY(n,o)|0,n=n+1|0;while((n|0)!=6);t=197132,r=0}for(;n=e[190616+(r<<2)>>2]|0,n=n|0?n+8|0:153563,i=d2(n)|0,u2(t|0,n|0,i|0)|0,n=t+i|0,y[n>>0]=59,r=r+1|0,(r|0)!=6;)t=t+(i+1)|0;y[n>>0]=0,P3(190656),t=197132}while(0);return g=l,t|0}function pY(r,t){return r=r|0,t=t|0,t?(t=oB0(r,t)|0,e[190616+(r<<2)>>2]=t,r=t):r=e[190616+(r<<2)>>2]|0,(r|0?r+8|0:153563)|0}function Q1(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;e:do if(!i)r=0;else{for(;n=y[r>>0]|0,o=y[t>>0]|0,n<<24>>24==o<<24>>24;)if(i=i+-1|0,i)r=r+1|0,t=t+1|0;else{r=0;break e}r=(n&255)-(o&255)|0}while(0);return r|0}function mB0(r){return r=r|0,gB0(r)|0}function gB0(r){return r=r|0,OY(r|0)|0}function tu(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0;if((e[i+76>>2]|0)>-1?c=qn(i)|0:c=0,n=t+-1|0,(t|0)<2)w=i+74|0,a=y[w>>0]|0,y[w>>0]=a+255|a,c|0&&N1(i),n?r=0:y[r>>0]=0;else{e:do if(n){for(A=i+4|0,a=i+8|0,t=r;;){if(o=e[A>>2]|0,p=o,v=(e[a>>2]|0)-p|0,l=Tc(o,10,v)|0,s=(l|0)==0,l=s?v:1-p+l|0,l=l>>>0>>0?l:n,u2(t|0,o|0,l|0)|0,o=(e[A>>2]|0)+l|0,e[A>>2]=o,t=t+l|0,l=n-l|0,!(s&(l|0)!=0)){w=17;break e}if(o>>>0>=(e[a>>2]|0)>>>0){if(n=_k(i)|0,(n|0)<0)break;s=n}else e[A>>2]=o+1,s=s0[o>>0]|0;if(n=l+-1|0,o=t+1|0,y[t>>0]=s,(n|0)!=0&(s&255|0)!=10)t=o;else{t=o,w=17;break e}}(t|0)!=(r|0)&&e[i>>2]&16|0?w=17:r=0}else t=r,w=17;while(0);(w|0)==17&&(r?y[t>>0]=0:r=0),c&&N1(i)}return r|0}function s8(r,t){r=r|0,t=t|0;var i=0;i=y[t>>0]|0;do if(i<<24>>24)if(r=Zr(r,i<<24>>24)|0,r){if(y[t+1>>0]|0)if(y[r+1>>0]|0){if(!(y[t+2>>0]|0)){r=yB0(r,t)|0;break}if(y[r+2>>0]|0){if(!(y[t+3>>0]|0)){r=CB0(r,t)|0;break}if(y[r+3>>0]|0)if(y[t+4>>0]|0){r=BB0(r,t)|0;break}else{r=EB0(r,t)|0;break}else r=0}else r=0}else r=0}else r=0;while(0);return r|0}function yB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(o=(s0[t>>0]|0)<<8|(s0[t+1>>0]|0),n=s0[r>>0]|0;t=r+1|0,i=y[t>>0]|0,!(!(i<<24>>24)||(n=n<<8&65280|i&255,(n|0)==(o|0)));)r=t;return(i<<24>>24?r:0)|0}function CB0(r,t){r=r|0,t=t|0;var i=0,n=0;if(n=(s0[t+1>>0]|0)<<16|(s0[t>>0]|0)<<24|(s0[t+2>>0]|0)<<8,i=r+2|0,t=y[i>>0]|0,r=(s0[r+1>>0]|0)<<16|(s0[r>>0]|0)<<24|(t&255)<<8,!((r|0)==(n|0)|t<<24>>24==0))do i=i+1|0,t=y[i>>0]|0,r=(r|t&255)<<8;while(!((r|0)==(n|0)|t<<24>>24==0));return(t<<24>>24?i+-2|0:0)|0}function EB0(r,t){r=r|0,t=t|0;var i=0,n=0;if(n=(s0[t+1>>0]|0)<<16|(s0[t>>0]|0)<<24|(s0[t+2>>0]|0)<<8|(s0[t+3>>0]|0),t=r+3|0,i=y[t>>0]|0,r=(s0[r+1>>0]|0)<<16|(s0[r>>0]|0)<<24|(s0[r+2>>0]|0)<<8|i&255,!(i<<24>>24==0|(r|0)==(n|0)))do t=t+1|0,i=y[t>>0]|0,r=r<<8|i&255;while(!(i<<24>>24==0|(r|0)==(n|0)));return(i<<24>>24?t+-3|0:0)|0}function BB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0;_=g,g=g+1056|0,x=_+1024|0,z=_,e[x>>2]=0,e[x+4>>2]=0,e[x+8>>2]=0,e[x+12>>2]=0,e[x+16>>2]=0,e[x+20>>2]=0,e[x+24>>2]=0,e[x+28>>2]=0,i=y[t>>0]|0;e:do if(i<<24>>24){B=0;do{if(!(y[r+B>>0]|0)){i=0;break e}E=x+(((i&255)>>>5&255)<<2)|0,e[E>>2]=e[E>>2]|1<<(i&31),B=B+1|0,e[z+((i&255)<<2)>>2]=B,i=y[t+B>>0]|0}while(i<<24>>24);if(c=B>>>0>1,c){n=0,a=-1,o=1;r:for(;;){for(l=1,i=n;;){n=o;t:for(;;){for(A=1;;){if(o=y[t+(A+a)>>0]|0,s=y[t+n>>0]|0,o<<24>>24!=s<<24>>24)break t;if((A|0)==(l|0))break;if(A=A+1|0,n=A+i|0,n>>>0>=B>>>0){w=l,i=a;break r}}if(i=l+i|0,n=i+1|0,n>>>0>=B>>>0){w=l,i=a;break r}}if(l=n-a|0,(o&255)<=(s&255))break;if(o=n+1|0,o>>>0>=B>>>0){w=l,i=a;break r}else i=n}if(o=i+2|0,o>>>0>=B>>>0){w=1;break}else n=i+1|0,a=i}if(c)for(l=0,c=-1,s=1;;){for(n=1,o=l;;){l=s;r:for(;;){for(a=1;;){if(s=y[t+(a+c)>>0]|0,A=y[t+l>>0]|0,s<<24>>24!=A<<24>>24)break r;if((a|0)==(n|0))break;if(a=a+1|0,l=a+o|0,l>>>0>=B>>>0){s=w,o=c,l=26;break e}}if(o=n+o|0,l=o+1|0,l>>>0>=B>>>0){s=w,o=c,l=26;break e}}if(n=l-c|0,(s&255)>=(A&255))break;if(s=l+1|0,s>>>0>=B>>>0){s=w,o=c,l=26;break e}else o=l}if(s=o+2|0,s>>>0>=B>>>0){s=w,n=1,l=26;break}else l=o+1|0,c=o}else s=w,n=1,o=-1,l=26}else s=1,i=-1,n=1,o=-1,l=26}else s=1,i=-1,B=0,n=1,o=-1,l=26;while(0);e:do if((l|0)==26)for(m=(o+1|0)>>>0>(i+1|0)>>>0,n=m?n:s,m=m?o:i,E=m+1|0,Q1(t,t+n|0,E)|0?(n=B-m+-1|0,v=0,n=(m>>>0>n>>>0?m:n)+1|0):v=B-n|0,a=B|63,c=B+-1|0,w=(v|0)!=0,p=B-n|0,i=r,A=0,o=r;;){l=i;do if((o-l|0)>>>0>>0)if(s=Tc(o,0,a)|0,s)if((s-l|0)>>>0>>0){i=0;break e}else break;else{s=o+a|0;break}else s=o;while(0);o=y[i+c>>0]|0;r:do if(!(1<<(o&31)&e[x+(((o&255)>>>5&255)<<2)>>2]))l=0,o=B;else{if(o=B-(e[z+((o&255)<<2)>>2]|0)|0,o|0){l=0,o=w&(A|0)!=0&o>>>0>>0?p:o;break}o=E>>>0>A>>>0?E:A,l=y[t+o>>0]|0;t:do if(!(l<<24>>24))o=E;else{for(;l<<24>>24==(y[i+o>>0]|0);)if(o=o+1|0,l=y[t+o>>0]|0,!(l<<24>>24)){o=E;break t}l=0,o=o-m|0;break r}while(0);for(;;){if(o>>>0<=A>>>0)break e;if(o=o+-1|0,(y[t+o>>0]|0)!=(y[i+o>>0]|0)){l=v,o=n;break}}}while(0);i=i+o|0,A=l,o=s}while(0);return g=_,i|0}function Pc(r,t,i){return r=r|0,t=t|0,i=i|0,IB0(r,t,i)|0,r|0}function IB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0;o=t;e:do if((o^r)&3)l=11;else{if(n=(i|0)!=0,n&(o&3|0)!=0)do{if(o=y[t>>0]|0,y[r>>0]=o,!(o<<24>>24))break e;i=i+-1|0,t=t+1|0,r=r+1|0,n=(i|0)!=0}while(n&(t&3|0)!=0);if(n){if(y[t>>0]|0){r:do if(i>>>0>3)for(n=t;;){if(t=e[n>>2]|0,(t&-2139062144^-2139062144)&t+-16843009|0){t=n;break r}if(e[r>>2]=t,i=i+-4|0,t=n+4|0,r=r+4|0,i>>>0>3)n=t;else break}while(0);l=11}}else i=0}while(0);e:do if((l|0)==11)if(!i)i=0;else for(;;){if(l=y[t>>0]|0,y[r>>0]=l,!(l<<24>>24))break e;if(i=i+-1|0,r=r+1|0,i)t=t+1|0;else{i=0;break}}while(0);return Ur(r|0,0,i|0)|0,r|0}function kY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;o=g,g=g+32|0,n=o,e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,e[n+20>>2]=0,e[n+24>>2]=0,e[n+28>>2]=0,i=y[t>>0]|0;do if(!(i<<24>>24))t=0;else{if(!(y[t+1>>0]|0)){for(t=r;(y[t>>0]|0)==i<<24>>24;)t=t+1|0;t=t-r|0;break}do l=n+(((i&255)>>>5&255)<<2)|0,e[l>>2]=e[l>>2]|1<<(i&31),t=t+1|0,i=y[t>>0]|0;while(i<<24>>24);i=y[r>>0]|0;e:do if(!(i<<24>>24))t=r;else{t=r;do{if(!(e[n+(((i&255)>>>5&255)<<2)>>2]&1<<(i&31)))break e;t=t+1|0,i=y[t>>0]|0}while(i<<24>>24)}while(0);t=t-r|0}while(0);return g=o,t|0}function xB0(r){r=r|0;var t=0,i=0;return t=g,g=g+16|0,i=t,e[i>>2]=HP(r)|0,r=jw(6,i|0)|0,r=Xn((r|0)==-4?0:r)|0,g=t,r|0}function Ke(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=zE(r,t,o)|0,g=n,i|0}function zE(r,t,i){return r=r|0,t=t|0,i=i|0,Lk(r,2147483647,t,i)|0}function ei(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;w=g,g=g+208|0,a=w+8|0,c=w,s=N0(i,t)|0,A=c,e[A>>2]=1,e[A+4>>2]=0;e:do if(s|0){for(A=0-i|0,e[a+4>>2]=i,e[a>>2]=i,o=2,t=i,l=i;t=t+i+l|0,e[a+(o<<2)>>2]=t,t>>>0>>0;)p=l,o=o+1|0,l=t,t=p;if(l=r+s+A|0,l>>>0>r>>>0){s=l,o=1,t=1;do{do if((t&3|0)!=3)if(t=o+-1|0,(e[a+(t<<2)>>2]|0)>>>0<(s-r|0)>>>0?LE(r,i,n,o,a):Zk(r,i,n,c,o,0,a),(o|0)==1){Wk(c,1),o=0;break}else{Wk(c,t),o=1;break}else LE(r,i,n,o,a),Gk(c,2),o=o+2|0;while(0);t=e[c>>2]|1,e[c>>2]=t,r=r+i|0}while(r>>>0>>0)}else o=1,t=1;for(Zk(r,i,n,c,o,0,a),l=c+4|0;;){if((o|0)==1&(t|0)==1){if(!(e[l>>2]|0))break e}else if((o|0)>=2){Wk(c,2),p=o+-2|0,e[c>>2]=e[c>>2]^7,Gk(c,1),Zk(r+(0-(e[a+(p<<2)>>2]|0))+A|0,i,n,c,o+-1|0,1,a),Wk(c,1),t=e[c>>2]|1,e[c>>2]=t,s=r+A|0,Zk(s,i,n,c,p,1,a),r=s,o=p;continue}t=vY(c)|0,Gk(c,t),r=r+A|0,o=t+o|0,t=e[c>>2]|0}}while(0);g=w}function LE(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0;p=g,g=g+240|0,w=p,e[w>>2]=r;e:do if((n|0)>1)for(c=0-t|0,l=r,a=n,n=1;;){if(s=l+c|0,A=a+-2|0,l=s+(0-(e[o+(A<<2)>>2]|0))|0,(ke[i&127](r,l)|0)>-1&&(ke[i&127](r,s)|0)>-1)break e;if(r=n+1|0,n=w+(n<<2)|0,(ke[i&127](l,s)|0)>-1?(e[n>>2]=l,n=a+-1|0):(e[n>>2]=s,l=s,n=A),(n|0)<=1){n=r;break e}a=n,n=r,r=e[w>>2]|0}else n=1;while(0);gY(t,w,n),g=p}function Gk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+4|0,t>>>0>31?(n=e[o>>2]|0,e[r>>2]=n,e[o>>2]=0,t=t+-32|0,i=0):(i=e[o>>2]|0,n=e[r>>2]|0),e[r>>2]=i<<32-t|n>>>t,e[o>>2]=i>>>t}function Zk(r,t,i,n,o,l,s){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0,s=s|0;var A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0;m=g,g=g+240|0,p=m+232|0,v=m,E=e[n>>2]|0,e[p>>2]=E,a=e[n+4>>2]|0,c=p+4|0,e[c>>2]=a,e[v>>2]=r;e:do if((E|0)!=1|(a|0)!=0&&(w=0-t|0,A=r+(0-(e[s+(o<<2)>>2]|0))|0,(ke[i&127](A,r)|0)>=1))for(n=1,l=(l|0)==0,a=A;;){if(l&(o|0)>1){if(l=r+w|0,A=e[s+(o+-2<<2)>>2]|0,(ke[i&127](l,a)|0)>-1){A=10;break e}if((ke[i&127](l+(0-A)|0,a)|0)>-1){A=10;break e}}if(l=n+1|0,e[v+(n<<2)>>2]=a,E=vY(p)|0,Gk(p,E),o=E+o|0,!((e[p>>2]|0)!=1|(e[c>>2]|0)!=0)){n=l,r=a,A=10;break e}if(r=a+(0-(e[s+(o<<2)>>2]|0))|0,(ke[i&127](r,e[v>>2]|0)|0)<1){r=a,n=l,l=0,A=9;break}else E=a,n=l,l=1,a=r,r=E}else n=1,A=9;while(0);(A|0)==9&&!(l|0)&&(A=10),(A|0)==10&&(gY(t,v,n),LE(r,t,i,o,s)),g=m}function Wk(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;o=r+4|0,t>>>0>31?(n=e[r>>2]|0,e[o>>2]=n,e[r>>2]=0,t=t+-32|0,i=0):(i=e[r>>2]|0,n=e[o>>2]|0),e[o>>2]=i>>>(32-t|0)|n<>2]=i<>2]|0)+-1|0)|0,t?t|0:(t=mY(e[r+4>>2]|0)|0,(t|0?t+32|0:0)|0)}function mY(r){r=r|0;var t=0;if(r)if(r&1)r=0;else{t=r,r=0;do r=r+1|0,t=t>>>1;while(!(t&1|0))}else r=32;return r|0}function gY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0;s=g,g=g+256|0,n=s;e:do if((i|0)>=2&&(l=t+(i<<2)|0,e[l>>2]=n,r|0))for(;;){o=r>>>0<256?r:256,u2(n|0,e[t>>2]|0,o|0)|0,n=0;do A=t+(n<<2)|0,n=n+1|0,u2(e[A>>2]|0,e[t+(n<<2)>>2]|0,o|0)|0,e[A>>2]=(e[A>>2]|0)+o;while((n|0)!=(i|0));if(r=r-o|0,!r)break e;n=e[l>>2]|0}while(0);g=s}function A2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=Rk(r,t,o)|0,g=n,i|0}function SB0(r){r=r|0;var t=0,i=0,n=0;for(n=g,g=g+16|0,i=n,Rr0(0,i|0)|0,t=0,i=(e[i+4>>2]|0)*65537^(i>>>4)+r;y[r+t>>0]=(i&15)+65|i<<1&32,t=t+1|0,(t|0)!=6;)i=i>>>5;return g=n,r|0}function Dk(r,t,i){return r=r|0,t=t|0,i=i|0,i=iY(r,t,i,-2147483648,0)|0,i|0}function RE(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;l=g,g=g+32|0,n=l,i=y[t>>0]|0;e:do if(i<<24>>24&&y[t+1>>0]|0){e[n>>2]=0,e[n+4>>2]=0,e[n+8>>2]=0,e[n+12>>2]=0,e[n+16>>2]=0,e[n+20>>2]=0,e[n+24>>2]=0,e[n+28>>2]=0;do s=n+(((i&255)>>>5&255)<<2)|0,e[s>>2]=e[s>>2]|1<<(i&31),t=t+1|0,i=y[t>>0]|0;while(i<<24>>24);if(i=y[r>>0]|0,!(i<<24>>24))t=r;else{t=r;do{if(e[n+(((i&255)>>>5&255)<<2)>>2]&1<<(i&31)|0)break e;t=t+1|0,i=y[t>>0]|0}while(i<<24>>24)}}else o=3;while(0);return(o|0)==3&&(t=Sk(r,i<<24>>24)|0),g=l,t-r|0}function Qf(r,t){r=r|0,t=t|0;var i=0;r?i=3:(r=e[47666]|0,r?i=3:r=0);do if((i|0)==3){if(r=r+(kY(r,t)|0)|0,!(y[r>>0]|0)){e[47666]=0,r=0;break}if(t=r+(RE(r,t)|0)|0,e[47666]=t,y[t>>0]|0){e[47666]=t+1,y[t>>0]=0;break}else{e[47666]=0;break}}while(0);return r|0}function _B0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;n=t&255;do{if(!i){t=0;break}i=i+-1|0,t=r+i|0}while((y[t>>0]|0)!=n<<24>>24);return t|0}function GE(r,t,i){r=r|0,t=t|0,i=i|0;var n=0;r?n=3:(r=e[i>>2]|0,r?n=3:r=0);do if((n|0)==3){if(r=r+(kY(r,t)|0)|0,!(y[r>>0]|0)){e[i>>2]=0,r=0;break}if(t=r+(RE(r,t)|0)|0,e[i>>2]=t,y[t>>0]|0){e[i>>2]=t+1,y[t>>0]=0;break}else{e[i>>2]=0;break}}while(0);return r|0}function C2(r){r=r|0;var t=0,i=0;return i=(d2(r)|0)+1|0,t=Te(i)|0,t?u2(t|0,r|0,i|0)|0:t=0,t|0}function yY(r,t){return r=r|0,t=t|0,_B0(r,t,(d2(r)|0)+1|0)|0}function Tf(r,t){return r=r|0,t=t|0,yo(r+(d2(r)|0)|0,t)|0,r|0}function zB0(r,t){return r=r|0,t=t|0,t=r+(RE(r,t)|0)|0,(y[t>>0]|0?t:0)|0}function CY(r){r=r|0;var t=0;return(e[r+76>>2]|0)>-1&&(t=(qn(r)|0)==0),r=(e[r>>2]|0)>>>4&1,r|0}function Yc(r){r=r|0;var t=0,i=0,n=0,o=0,l=0;return(e[r+76>>2]|0)>-1?o=qn(r)|0:o=0,LB0(r),l=(e[r>>2]&1|0)!=0,l||(n=ZE()|0,i=e[r+52>>2]|0,t=r+56|0,i|0&&(e[i+56>>2]=e[t>>2]),t=e[t>>2]|0,t|0&&(e[t+52>>2]=i),(e[n>>2]|0)==(r|0)&&(e[n>>2]=t),WE()),t=Mk(r)|0,t=nr[e[r+12>>2]&63](r)|0|t,i=e[r+92>>2]|0,i|0&&r0(i),l?o|0&&N1(r):r0(r),t|0}function LB0(r){r=r|0;var t=0;e[r+68>>2]|0&&(t=e[r+116>>2]|0,r=r+112|0,t|0&&(e[t+112>>2]=e[r>>2]),r=e[r>>2]|0,r?r=r+116|0:r=(RB0()|0)+232|0,e[r>>2]=t)}function ZE(){return zy(190668),190676}function WE(){P3(190668)}function Mk(r){r=r|0;var t=0,i=0;do if(r){if((e[r+76>>2]|0)<=-1){t=DE(r)|0;break}i=(qn(r)|0)==0,t=DE(r)|0,i||N1(r)}else{if(e[15711]|0?t=Mk(e[15711]|0)|0:t=0,r=e[(ZE()|0)>>2]|0,r)do(e[r+76>>2]|0)>-1?i=qn(r)|0:i=0,(e[r+20>>2]|0)>>>0>(e[r+28>>2]|0)>>>0&&(t=DE(r)|0|t),i|0&&N1(r),r=e[r+56>>2]|0;while(r|0);WE()}while(0);return t|0}function DE(r){r=r|0;var t=0,i=0,n=0,o=0,l=0,s=0;return t=r+20|0,s=r+28|0,(e[t>>2]|0)>>>0>(e[s>>2]|0)>>>0&&(oe[e[r+36>>2]&63](r,0,0)|0,(e[t>>2]|0)==0)?r=-1:(i=r+4|0,n=e[i>>2]|0,o=r+8|0,l=e[o>>2]|0,n>>>0>>0&&oe[e[r+40>>2]&63](r,n-l|0,1)|0,e[r+16>>2]=0,e[s>>2]=0,e[t>>2]=0,e[o>>2]=0,e[i>>2]=0,r=0),r|0}function RB0(){return o8()|0}function EY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;if(p=g,g=g+64|0,w=p+40|0,a=p+24|0,A=p+16|0,o=p,c=p+56|0,n=y[t>>0]|0,Tc(153580,n<<24>>24,4)|0)if(i=Te(1156)|0,!i)i=0;else{l=i,s=l+124|0;do e[l>>2]=0,l=l+4|0;while((l|0)<(s|0));Zr(t,43)|0||(e[i>>2]=n<<24>>24==114?8:4),Zr(t,101)|0&&(e[o>>2]=r,e[o+4>>2]=2,e[o+8>>2]=1,Oa(221,o|0)|0,n=y[t>>0]|0),n<<24>>24==97?(e[A>>2]=r,e[A+4>>2]=3,n=Oa(221,A|0)|0,n&1024||(e[a>>2]=r,e[a+4>>2]=4,e[a+8>>2]=n|1024,Oa(221,a|0)|0),t=e[i>>2]|128,e[i>>2]=t):t=e[i>>2]|0,e[i+60>>2]=r,e[i+44>>2]=i+132,e[i+48>>2]=1024,n=i+75|0,y[n>>0]=-1,!(t&8|0)&&(e[w>>2]=r,e[w+4>>2]=21523,e[w+8>>2]=c,(wR(54,w|0)|0)==0)&&(y[n>>0]=10),e[i+32>>2]=15,e[i+36>>2]=18,e[i+40>>2]=16,e[i+12>>2]=17,e[47645]|0||(e[i+76>>2]=-1),GB0(i)|0}else e[(kr()|0)>>2]=22,i=0;return g=p,i|0}function GB0(r){r=r|0;var t=0,i=0;return t=ZE()|0,e[r+56>>2]=e[t>>2],i=e[t>>2]|0,i|0&&(e[i+52>>2]=r),e[t>>2]=r,WE(),r|0}function Zs(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;s=g,g=g+16|0,n=s;e:do if(!t)r=0;else{do if(i|0){if(l=r|0?r:n,r=y[t>>0]|0,r<<24>>24>-1){e[l>>2]=r&255,r=r<<24>>24!=0&1;break e}if(o=(e[e[(ZB0()|0)+188>>2]>>2]|0)==0,r=y[t>>0]|0,o){e[l>>2]=r<<24>>24&57343,r=1;break e}if(r=(r&255)+-194|0,r>>>0<=50){if(n=t+1|0,o=e[62384+(r<<2)>>2]|0,i>>>0<4&&o&-2147483648>>>((i*6|0)+-6|0)|0)break;if(r=s0[n>>0]|0,i=r>>>3,(i+-16|i+(o>>26))>>>0<=7){if(r=r+-128|o<<6,(r|0)>=0){e[l>>2]=r,r=2;break e}if(n=(s0[t+2>>0]|0)+-128|0,n>>>0<=63){if(n=n|r<<6,(n|0)>=0){e[l>>2]=n,r=3;break e}if(r=(s0[t+3>>0]|0)+-128|0,r>>>0<=63){e[l>>2]=r|n<<6,r=4;break e}}}}}while(0);e[(kr()|0)>>2]=84,r=-1}while(0);return g=s,r|0}function ZB0(){return o8()|0}function Bi(r,t){r=r|0,t=t|0;var i=0;return i=d2(r)|0,((cn(r,1,i,t)|0)!=(i|0))<<31>>31|0}function cn(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;var o=0,l=0;return o=N0(i,t)|0,i=t|0?i:0,(e[n+76>>2]|0)>-1?(l=(qn(n)|0)==0,r=SE(r,o,n)|0,l||N1(n)):r=SE(r,o,n)|0,(r|0)!=(o|0)&&(i=(r>>>0)/(t>>>0)|0),i|0}function ME(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0,A=0,a=0;a=g,g=g+16|0,s=a,A=t&255,y[s>>0]=A,n=r+16|0,o=e[n>>2]|0,o?l=4:dY(r)|0?i=-1:(o=e[n>>2]|0,l=4);do if((l|0)==4){if(l=r+20|0,n=e[l>>2]|0,n>>>0>>0&&(i=t&255,(i|0)!=(y[r+75>>0]|0))){e[l>>2]=n+1,y[n>>0]=A;break}(oe[e[r+36>>2]&63](r,s,1)|0)==1?i=s0[s>>0]|0:i=-1}while(0);return g=a,i|0}function WB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=r,e[o+4>>2]=t,e[o+8>>2]=i,i=Xn(Tr0(3,o|0)|0)|0,g=n,i|0}function jE(){var r=0,t=0;return t=g,g=g+16|0,r=Qr0(20,t|0)|0,g=t,r|0}function DB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;i=r,n=153565,o=i+15|0;do y[i>>0]=y[n>>0]|0,i=i+1|0,n=n+1|0;while((i|0)<(o|0));if(!t)y[r+14>>0]=48,y[r+15>>0]=0;else{for(n=t,i=14;i=i+1|0,!(n>>>0<10);)n=(n>>>0)/10|0;for(y[r+i>>0]=0;i=i+-1|0,y[r+i>>0]=(t>>>0)%10|0|48,!(t>>>0<10);)t=(t>>>0)/10|0}}function BY(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0;return l=g,g=g+48|0,o=l+40|0,n=l+8|0,i=l,e[i>>2]=r,e[i+4>>2]=t,i=Nr0(197,i|0)|0,(i|0)==-9&&(e[n>>2]=r,e[n+4>>2]=1,(Oa(221,n|0)|0)>=0)?(DB0(n,r),e[o>>2]=n,e[o+4>>2]=t,t=Xn(jr0(195,o|0)|0)|0):t=Xn(i)|0,g=l,t|0}function MB0(r,t){r=r|0,t=t|0;var i=0,n=0;return i=g,g=g+16|0,n=i,e[n>>2]=r,e[n+4>>2]=t,t=Xn(Fr0(33,n|0)|0)|0,g=i,t|0}function A8(r,t){r=r|0,t=t|0;var i=0,n=0,o=0,l=0,s=0;return s=g,g=g+48|0,l=s+32|0,o=s+16|0,i=s,Tc(153580,y[t>>0]|0,4)|0?(n=jB0(t)|0,e[i>>2]=r,e[i+4>>2]=n|32768,e[i+8>>2]=438,i=Xn(Ly(5,i|0)|0)|0,(i|0)>=0?(n&524288|0&&(e[o>>2]=i,e[o+4>>2]=2,e[o+8>>2]=1,Oa(221,o|0)|0),r=EY(i,t)|0,r||(e[l>>2]=i,jw(6,l|0)|0,r=0)):r=0):(e[(kr()|0)>>2]=22,r=0),g=s,r|0}function jB0(r){r=r|0;var t=0,i=0,n=0;return i=(Zr(r,43)|0)==0,t=y[r>>0]|0,i=i?t<<24>>24!=114&1:2,n=(Zr(r,120)|0)==0,i=n?i:i|128,r=(Zr(r,101)|0)==0,r=r?i:i|524288,r=t<<24>>24==114?r:r|64,r=t<<24>>24==119?r|512:r,(t<<24>>24==97?r|1024:r)|0}function X2(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0;return n=g,g=g+16|0,o=n,e[o>>2]=i,i=NB0(r,t,o)|0,g=n,i|0}function NB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0;l=g,g=g+128|0,n=l,o=n,s=o+124|0;do e[o>>2]=0,o=o+4|0;while((o|0)<(s|0));return e[n+32>>2]=41,e[n+44>>2]=r,e[n+76>>2]=-1,e[n+84>>2]=r,s=TB0(n,t,i)|0,g=l,s|0}function QB0(r,t,i){return r=r|0,t=t|0,i=i|0,VB0(r,t,i)|0}function TB0(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0,H=0,f0=0,k0=0;k0=g,g=g+288|0,F=k0+8|0,q=k0+17|0,t0=k0,Y=k0+16|0,(e[r+76>>2]|0)>-1?f0=qn(r)|0:f0=0,n=y[t>>0]|0;e:do if(n<<24>>24){G=r+4|0,W=r+100|0,N=r+108|0,T=r+8|0,D=q+10|0,P=q+33|0,L=F+4|0,U=q+1|0,J=q+1|0,s=t,m=0,t=0,l=0,o=0;r:for(;;){t:do if(an(n&255)|0){for(;n=s+1|0,an(s0[n>>0]|0)|0;)s=n;v1(r,0);do n=e[G>>2]|0,n>>>0<(e[W>>2]|0)>>>0?(e[G>>2]=n+1,n=s0[n>>0]|0):n=Ar(r)|0;while(an(n)|0);e[W>>2]|0?(n=(e[G>>2]|0)+-1|0,e[G>>2]=n):n=e[G>>2]|0,A=(e[N>>2]|0)+m+n-(e[T>>2]|0)|0}else{n=n<<24>>24==37;i:do if(n){c=s+1|0,A=y[c>>0]|0;n:do switch(A<<24>>24){case 37:break i;case 42:{_=0,s=s+2|0;break}default:{if(n=(A&255)+-48|0,n>>>0<10&&(y[s+2>>0]|0)==36){_=FB0(i,n)|0,s=s+3|0;break n}s=(e[i>>2]|0)+(4-1)&~(4-1),_=e[s>>2]|0,e[i>>2]=s+4,s=c}}while(0);if(n=y[s>>0]|0,A=n&255,(A+-48|0)>>>0<10){c=0;do c=(c*10|0)+-48+A|0,s=s+1|0,n=y[s>>0]|0,A=n&255;while((A+-48|0)>>>0<10)}else c=0;switch(n=n<<24>>24==109,z=(_|0)!=0,l=n?0:l,o=n?0:o,s=n?s+1|0:s,n=z&n,A=s+1|0,y[s>>0]|0){case 104:{x=(y[A>>0]|0)==104,w=x?-2:-1,s=x?s+2|0:A;break}case 108:{x=(y[A>>0]|0)==108,w=x?3:1,s=x?s+2|0:A;break}case 106:{w=3,s=A;break}case 116:case 122:{w=1,s=A;break}case 76:{w=2,s=A;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{w=0;break}default:{H=135;break r}}switch(v=s0[s>>0]|0,E=(v&47|0)==3,v=E?v|32:v,E=E?1:w,p=v&255,p<<24>>24){case 99:{c=(c|0)>1?c:1,x=m;break}case 91:{x=m;break}case 110:{IY(_,E,m,((m|0)<0)<<31>>31),A=m;break t}default:{v1(r,0);do A=e[G>>2]|0,A>>>0<(e[W>>2]|0)>>>0?(e[G>>2]=A+1,A=s0[A>>0]|0):A=Ar(r)|0;while(an(A)|0);e[W>>2]|0?(A=(e[G>>2]|0)+-1|0,e[G>>2]=A):A=e[G>>2]|0,x=(e[N>>2]|0)+m+A-(e[T>>2]|0)|0}}if(v1(r,c),A=e[G>>2]|0,w=e[W>>2]|0,A>>>0>>0)e[G>>2]=A+1;else{if((Ar(r)|0)<0){H=135;break r}w=e[W>>2]|0}w|0&&(e[G>>2]=(e[G>>2]|0)+-1);n:do switch(p<<24>>24){case 91:case 99:case 115:{B=(v|0)==99;o:do if((v|16|0)==115)Ur(U|0,-1,256)|0,y[q>>0]=0,(v|0)==115&&(y[P>>0]=0,y[D>>0]=0,y[D+1>>0]=0,y[D+2>>0]=0,y[D+3>>0]=0,y[D+4>>0]=0);else{switch(v=s+1|0,A=(y[v>>0]|0)==94,m=A&1,s=A?s+2|0:v,Ur(J|0,A&1|0,256)|0,y[q>>0]=0,A=y[s>>0]|0,A<<24>>24){case 45:{A=46,H=63;break}case 93:{A=94,H=63;break}default:}for(;;){(H|0)==63&&(H=0,y[q+A>>0]=m^1,A=s+1|0,s=A,A=y[A>>0]|0);l:do switch(A<<24>>24){case 0:{H=135;break r}case 93:break o;case 45:{switch(v=s+1|0,A=y[v>>0]|0,A<<24>>24){case 93:case 0:{A=45;break l}default:}if(s=y[s+-1>>0]|0,(s&255)<(A&255)){p=(m^1)&255,s=s&255;do s=s+1|0,y[q+s>>0]=p,A=y[v>>0]|0;while((s|0)<(A&255|0));s=v}else s=v;break}default:}while(0);A=(A&255)+1|0,H=63}}while(0);A=B?c+1|0:31,v=(E|0)==1;o:do if(v){if(n){if(o=Te(A<<2)|0,!o){l=0,o=0,n=1,H=135;break r}}else o=_;e[F>>2]=0,e[L>>2]=0,p=A,l=0;l:for(;;){w=(o|0)==0;do{s:for(;;){if(A=e[G>>2]|0,A>>>0<(e[W>>2]|0)>>>0?(e[G>>2]=A+1,A=s0[A>>0]|0):A=Ar(r)|0,!(y[q+(A+1)>>0]|0))break l;switch(y[Y>>0]=A,rB0(t0,Y,1,F)|0){case-1:{l=0,H=135;break r}case-2:break;default:break s}}w||(e[o+(l<<2)>>2]=e[t0>>2],l=l+1|0)}while(!(n&(l|0)==(p|0)));if(l=p<<1|1,A=O2(o,l<<2)|0,A)E=p,p=l,o=A,l=E;else{l=0,n=1,H=135;break r}}if(PB0(F)|0)A=l,l=0,p=o;else{l=0,H=135;break r}}else{if(n){if(l=Te(A)|0,l)w=A,o=0;else{l=0,o=0,n=1,H=135;break r}for(;;){do{if(A=e[G>>2]|0,A>>>0<(e[W>>2]|0)>>>0?(e[G>>2]=A+1,A=s0[A>>0]|0):A=Ar(r)|0,!(y[q+(A+1)>>0]|0)){A=o,p=0,o=0;break o}y[l+o>>0]=A,o=o+1|0}while((o|0)!=(w|0));if(o=w<<1|1,A=O2(l,o)|0,A)E=w,w=o,l=A,o=E;else{o=0,n=1,H=135;break r}}}if(_)for(A=0,l=w;;){if(o=e[G>>2]|0,o>>>0>>0?(e[G>>2]=o+1,o=s0[o>>0]|0):o=Ar(r)|0,!(y[q+(o+1)>>0]|0)){l=_,p=0,o=0;break o}y[_+A>>0]=o,A=A+1|0,l=e[W>>2]|0}else for(l=w;;){if(o=e[G>>2]|0,o>>>0>>0?(e[G>>2]=o+1,o=s0[o>>0]|0):o=Ar(r)|0,!(y[q+(o+1)>>0]|0)){A=0,l=0,p=0,o=0;break o}l=e[W>>2]|0}}while(0);if(e[W>>2]|0?(w=(e[G>>2]|0)+-1|0,e[G>>2]=w):w=e[G>>2]|0,w=w-(e[T>>2]|0)+(e[N>>2]|0)|0,!w){H=137;break r}if(!((w|0)==(c|0)|B^1)){H=137;break r}do if(n)if(v){e[_>>2]=p;break}else{e[_>>2]=l;break}while(0);if(!B){if(p|0&&(e[p+(A<<2)>>2]=0),!l){l=0;break n}y[l+A>>0]=0}break}case 120:case 88:case 112:{A=16,H=123;break}case 111:{A=8,H=123;break}case 117:case 100:{A=10,H=123;break}case 105:{A=0,H=123;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{if(a=+xY(r,E,0),(e[N>>2]|0)==((e[T>>2]|0)-(e[G>>2]|0)|0)){H=137;break r}if(_)switch(E|0){case 0:{x0[_>>2]=a;break n}case 1:{u[_>>3]=a;break n}case 2:{u[_>>3]=a;break n}default:break n}break}default:}while(0);do if((H|0)==123){if(H=0,A=nY(r,A,0,-1,-1)|0,(e[N>>2]|0)==((e[T>>2]|0)-(e[G>>2]|0)|0)){H=137;break r}if(z&(v|0)==112){e[_>>2]=A;break}else{IY(_,E,A,b);break}}while(0);t=t+(z&1)|0,A=(e[N>>2]|0)+x+(e[G>>2]|0)-(e[T>>2]|0)|0;break t}while(0);if(s=s+(n&1)|0,v1(r,0),n=e[G>>2]|0,n>>>0<(e[W>>2]|0)>>>0?(e[G>>2]=n+1,n=s0[n>>0]|0):n=Ar(r)|0,(n|0)!=(s0[s>>0]|0)){H=22;break r}A=m+1|0}while(0);if(s=s+1|0,n=y[s>>0]|0,n<<24>>24)m=A;else break e}if((H|0)==22){if(e[W>>2]|0&&(e[G>>2]=(e[G>>2]|0)+-1),(t|0)!=0|(n|0)>-1)break;n=0,H=136}else(H|0)==135?(n=n&1,t||(H=136)):(H|0)==137&&(n=n&1);(H|0)==136&&(t=-1),n&&(r0(l),r0(o))}else t=0;while(0);return f0|0&&N1(r),g=k0,t|0}function FB0(r,t){r=r|0,t=t|0;var i=0,n=0,o=0;for(n=g,g=g+16|0,i=n,e[i>>2]=e[r>>2];o=(e[i>>2]|0)+(4-1)&~(4-1),r=e[o>>2]|0,e[i>>2]=o+4,t>>>0>1;)t=t+-1|0;return g=n,r|0}function IY(r,t,i,n){r=r|0,t=t|0,i=i|0,n=n|0;e:do if(r|0)switch(t|0){case-2:{y[r>>0]=i;break e}case-1:{$[r>>1]=i;break e}case 0:{e[r>>2]=i;break e}case 1:{e[r>>2]=i;break e}case 3:{t=r,e[t>>2]=i,e[t+4>>2]=n;break e}default:break e}while(0)}function PB0(r){return r=r|0,r?r=(e[r>>2]|0)==0&1:r=1,r|0}function xY(r,t,i){r=r|0,t=t|0,i=i|0;var n=0,o=0,l=0,s=0,A=0,a=0,c=0,w=0,p=0;switch(t|0){case 0:{a=-149,c=24,s=4;break}case 1:{a=-1074,c=53,s=4;break}case 2:{a=-1074,c=53,s=4;break}default:n=0}e:do if((s|0)==4){p=r+4|0,w=r+100|0;do t=e[p>>2]|0,t>>>0<(e[w>>2]|0)>>>0?(e[p>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0;while(an(t)|0);r:do switch(t|0){case 43:case 45:if(l=1-(((t|0)==45&1)<<1)|0,t=e[p>>2]|0,t>>>0<(e[w>>2]|0)>>>0){e[p>>2]=t+1,o=s0[t>>0]|0;break r}else{o=Ar(r)|0;break r}default:o=t,l=1}while(0);t=0;do{if((o|32|0)!=(y[153584+t>>0]|0))break;do if(t>>>0<7)if(o=e[p>>2]|0,o>>>0<(e[w>>2]|0)>>>0){e[p>>2]=o+1,o=s0[o>>0]|0;break}else{o=Ar(r)|0;break}while(0);t=t+1|0}while(t>>>0<8);r:do switch(t|0){case 8:break;case 3:{s=23;break}default:{if(A=(i|0)!=0,A&t>>>0>3){if((t|0)==8)break r;s=23;break r}t:do if(!t){t=0;do{if((o|32|0)!=(y[153593+t>>0]|0))break t;do if(t>>>0<2)if(o=e[p>>2]|0,o>>>0<(e[w>>2]|0)>>>0){e[p>>2]=o+1,o=s0[o>>0]|0;break}else{o=Ar(r)|0;break}while(0);t=t+1|0}while(t>>>0<3)}while(0);switch(t|0){case 3:{if(t=e[p>>2]|0,t>>>0<(e[w>>2]|0)>>>0?(e[p>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,(t|0)==40)t=1;else{if(!(e[w>>2]|0)){n=f1;break e}e[p>>2]=(e[p>>2]|0)+-1,n=f1;break e}for(;o=e[p>>2]|0,o>>>0<(e[w>>2]|0)>>>0?(e[p>>2]=o+1,o=s0[o>>0]|0):o=Ar(r)|0,!(!((o+-48|0)>>>0<10|(o+-65|0)>>>0<26)&&!((o|0)==95|(o+-97|0)>>>0<26));)t=t+1|0;if((o|0)==41){n=f1;break e}if(o=(e[w>>2]|0)==0,o||(e[p>>2]=(e[p>>2]|0)+-1),!A){e[(kr()|0)>>2]=22,v1(r,0),n=0;break e}if(!t){n=f1;break e}for(;;)if(t=t+-1|0,o||(e[p>>2]=(e[p>>2]|0)+-1),!t){n=f1;break e}}case 0:{if((o|0)==48){if(t=e[p>>2]|0,t>>>0<(e[w>>2]|0)>>>0?(e[p>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,(t|32|0)==120){n=+YB0(r,c,a,l,i);break e}e[w>>2]|0&&(e[p>>2]=(e[p>>2]|0)+-1),t=48}else t=o;n=+OB0(r,t,c,a,l,i);break e}default:{e[w>>2]|0&&(e[p>>2]=(e[p>>2]|0)+-1),e[(kr()|0)>>2]=22,v1(r,0),n=0;break e}}}}while(0);if((s|0)==23&&(o=(e[w>>2]|0)==0,o||(e[p>>2]=(e[p>>2]|0)+-1),(i|0)!=0&t>>>0>3))do o||(e[p>>2]=(e[p>>2]|0)+-1),t=t+-1|0;while(t>>>0>3);n=+(l|0)*Hr}while(0);return+n}function YB0(r,t,i,n,o){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0;var l=0,s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0;N=r+4|0,s=e[N>>2]|0,W=r+100|0,s>>>0<(e[W>>2]|0)>>>0?(e[N>>2]=s+1,A=s0[s>>0]|0,c=0):(A=Ar(r)|0,c=0);e:for(;;){switch(A|0){case 46:{G=8;break e}case 48:break;default:{x=0,p=0,v=1,l=0,s=0,w=A,z=c,L=0,_=0,c=0,A=0;break e}}if(s=e[N>>2]|0,s>>>0<(e[W>>2]|0)>>>0){e[N>>2]=s+1,A=s0[s>>0]|0,c=1;continue}else{A=Ar(r)|0,c=1;continue}}if((G|0)==8)if(s=e[N>>2]|0,s>>>0<(e[W>>2]|0)>>>0?(e[N>>2]=s+1,A=s0[s>>0]|0):A=Ar(r)|0,(A|0)==48){c=0,A=0;do s=e[N>>2]|0,s>>>0<(e[W>>2]|0)>>>0?(e[N>>2]=s+1,w=s0[s>>0]|0):w=Ar(r)|0,c=ar(c|0,A|0,-1,-1)|0,A=b;while((w|0)==48);x=1,p=0,v=1,l=0,s=0,z=1,L=0,_=0}else x=1,p=0,v=1,l=0,s=0,w=A,z=c,L=0,_=0,c=0,A=0;for(;;){if(E=w+-48|0,m=w|32,E>>>0>=10){if(B=(w|0)==46,!(B|(m+-97|0)>>>0<6))break;if(B)if(!x)x=1,a=v,B=z,c=_,A=L,E=_,m=L;else{w=46;break}else G=20}else G=20;if((G|0)==20){G=0,w=(w|0)>57?m+-87|0:E;do if((L|0)<0|(L|0)==0&_>>>0<8)a=v,s=w+(s<<4)|0;else if((L|0)<0|(L|0)==0&_>>>0<14){v=v*.0625,a=v,l=l+v*+(w|0);break}else{z=(p|0)!=0|(w|0)==0,p=z?p:1,a=v,l=z?l:l+v*.5;break}while(0);E=ar(_|0,L|0,1,0)|0,B=1,m=b}if(w=e[N>>2]|0,w>>>0<(e[W>>2]|0)>>>0){e[N>>2]=w+1,v=a,w=s0[w>>0]|0,z=B,L=m,_=E;continue}else{v=a,w=Ar(r)|0,z=B,L=m,_=E;continue}}do if(!z)s=(e[W>>2]|0)==0,s||(e[N>>2]=(e[N>>2]|0)+-1),o?(s||(e[N>>2]=(e[N>>2]|0)+-1),(x|0)==0|s||(e[N>>2]=(e[N>>2]|0)+-1)):v1(r,0),l=+(n|0)*0;else{if(m=(x|0)==0,E=m?_:c,m=m?L:A,(L|0)<0|(L|0)==0&_>>>0<8)for(c=_,A=L;;)if(s=s<<4,G=c,c=ar(c|0,A|0,1,0)|0,(A|0)<0|(A|0)==0&G>>>0<7)A=b;else{p=s;break}else p=s;if((w|32|0)==112){if(A=SY(r,o)|0,s=b,(A|0)==0&(s|0)==-2147483648){if(!o){v1(r,0),l=0;break}e[W>>2]|0?(e[N>>2]=(e[N>>2]|0)+-1,A=0,s=0):(A=0,s=0)}}else e[W>>2]|0?(e[N>>2]=(e[N>>2]|0)+-1,A=0,s=0):(A=0,s=0);if(c=Br(E|0,m|0,2)|0,c=ar(c|0,b|0,-32,-1)|0,c=ar(c|0,b|0,A|0,s|0)|0,s=b,!p){l=+(n|0)*0;break}if(N=0-i|0,o=((N|0)<0)<<31>>31,(s|0)>(o|0)|(s|0)==(o|0)&c>>>0>N>>>0){e[(kr()|0)>>2]=34,l=+(n|0)*17976931348623157e292*17976931348623157e292;break}if(N=i+-106|0,o=((N|0)<0)<<31>>31,(s|0)<(o|0)|(s|0)==(o|0)&c>>>0>>0){e[(kr()|0)>>2]=34,l=+(n|0)*22250738585072014e-324*22250738585072014e-324;break}if((p|0)>-1){A=p;do N=!(l>=.5),A=A<<1|(N^1)&1,l=l+(N?l:l+-1),c=ar(c|0,s|0,-1,-1)|0,s=b;while((A|0)>-1);v=l,w=A}else v=l,w=p;N=((t|0)<0)<<31>>31,i=Pl(32,0,i|0,((i|0)<0)<<31>>31|0)|0,s=ar(i|0,b|0,c|0,s|0)|0,i=b,(i|0)<(N|0)|(i|0)==(N|0)&s>>>0>>0?(s|0)>0?G=59:(A=0,s=84,G=61):(s=t,G=59),(G|0)==59&&((s|0)<53?(A=s,s=84-s|0,G=61):(a=0,l=+(n|0))),(G|0)==61&&(l=+(n|0),a=+bP(+bA(1,s),l),s=A),n=(w&1|0)==0&(v!=0&(s|0)<32),l=(n?0:v)*l+(a+l*+((w+(n&1)|0)>>>0))-a,l==0&&(e[(kr()|0)>>2]=34),l=+eY(l,c)}while(0);return+l}function OB0(r,t,i,n,o,l){r=r|0,t=t|0,i=i|0,n=n|0,o=o|0,l=l|0;var s=0,A=0,a=0,c=0,w=0,p=0,v=0,m=0,E=0,B=0,x=0,z=0,_=0,L=0,G=0,W=0,N=0,T=0,D=0,P=0,U=0,J=0,F=0,q=0,t0=0,Y=0;t0=g,g=g+512|0,J=t0,F=n+i|0,q=0-F|0,D=r+4|0,P=r+100|0,a=0;e:for(;;){switch(t|0){case 46:{N=6;break e}case 48:break;default:{_=0,v=a,m=0,p=0;break e}}if(t=e[D>>2]|0,t>>>0<(e[P>>2]|0)>>>0){e[D>>2]=t+1,t=s0[t>>0]|0,a=1;continue}else{t=Ar(r)|0,a=1;continue}}if((N|0)==6)if(t=e[D>>2]|0,t>>>0<(e[P>>2]|0)>>>0?(e[D>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,(t|0)==48)for(a=0,t=0;;)if(a=ar(a|0,t|0,-1,-1)|0,p=b,t=e[D>>2]|0,t>>>0<(e[P>>2]|0)>>>0?(e[D>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,(t|0)==48)t=p;else{_=1,v=1,m=a;break}else _=1,v=a,m=0,p=0;e[J>>2]=0,w=t+-48|0,c=(t|0)==46;e:do if(c|w>>>0<10){T=J+496|0,L=0,a=0,z=0,G=_,W=v,N=w,v=0,w=0;r:for(;;){do if(c)if(!G)G=1,m=v,p=w;else break r;else{if(v=ar(v|0,w|0,1,0)|0,w=b,_=(t|0)!=48,(a|0)>=125){if(!_)break;e[T>>2]=e[T>>2]|1;break}c=J+(a<<2)|0,L?t=t+-48+((e[c>>2]|0)*10|0)|0:t=N,e[c>>2]=t,L=L+1|0,W=(L|0)==9,L=W?0:L,a=a+(W&1)|0,z=_?v:z,W=1}while(0);if(t=e[D>>2]|0,t>>>0<(e[P>>2]|0)>>>0?(e[D>>2]=t+1,t=s0[t>>0]|0):t=Ar(r)|0,N=t+-48|0,c=(t|0)==46,!(c|N>>>0<10)){_=G,c=W,N=29;break e}}t=L,c=(W|0)!=0,N=37}else L=0,a=0,z=0,c=v,v=0,w=0,N=29;while(0);do if((N|0)==29){if(T=(_|0)==0,m=T?v:m,p=T?w:p,c=(c|0)!=0,!(c&(t|32|0)==101))if((t|0)>-1){t=L,N=37;break}else{t=L,N=39;break}if(c=SY(r,l)|0,t=b,(c|0)==0&(t|0)==-2147483648){if(!l){v1(r,0),s=0;break}e[P>>2]|0?(e[D>>2]=(e[D>>2]|0)+-1,c=0,t=0):(c=0,t=0)}W=ar(c|0,t|0,m|0,p|0)|0,t=L,p=b,N=41}while(0);(N|0)==37&&(e[P>>2]|0?(e[D>>2]=(e[D>>2]|0)+-1,c?(W=m,N=41):N=40):N=39),(N|0)==39&&(c?(W=m,N=41):N=40);do if((N|0)==40)e[(kr()|0)>>2]=22,v1(r,0),s=0;else if((N|0)==41){if(c=e[J>>2]|0,!c){s=+(o|0)*0;break}if(((w|0)<0|(w|0)==0&v>>>0<10)&((W|0)==(v|0)&(p|0)==(w|0))&&(i|0)>30|(c>>>i|0)==0){s=+(o|0)*+(c>>>0);break}if(r=(n|0)/-2|0,P=((r|0)<0)<<31>>31,(p|0)>(P|0)|(p|0)==(P|0)&W>>>0>r>>>0){e[(kr()|0)>>2]=34,s=+(o|0)*17976931348623157e292*17976931348623157e292;break}if(r=n+-106|0,P=((r|0)<0)<<31>>31,(p|0)<(P|0)|(p|0)==(P|0)&W>>>0>>0){e[(kr()|0)>>2]=34,s=+(o|0)*22250738585072014e-324*22250738585072014e-324;break}if(t){if((t|0)<9){for(w=J+(a<<2)|0,c=e[w>>2]|0;c=c*10|0,!((t|0)>=8);)t=t+1|0;e[w>>2]=c}a=a+1|0}if((z|0)<9&&(z|0)<=(W|0)&(W|0)<18){if((W|0)==9){s=+(o|0)*+((e[J>>2]|0)>>>0);break}if((W|0)<9){s=+(o|0)*+((e[J>>2]|0)>>>0)/+(e[63712+(8-W<<2)>>2]|0);break}if(r=i+27+(N0(W,-3)|0)|0,t=e[J>>2]|0,(r|0)>30|(t>>>r|0)==0){s=+(o|0)*+(t>>>0)*+(e[63712+(W+-10<<2)>>2]|0);break}}if(t=(W|0)%9|0,!t)t=0,w=0;else{if(z=(W|0)>-1?t:t+9|0,v=e[63712+(8-z<<2)>>2]|0,a){m=1e9/(v|0)|0,w=0,p=0,c=W,t=0;do D=J+(t<<2)|0,P=e[D>>2]|0,r=((P>>>0)/(v>>>0)|0)+w|0,e[D>>2]=r,w=N0(m,(P>>>0)%(v>>>0)|0)|0,r=(t|0)==(p|0)&(r|0)==0,c=r?c+-9|0:c,p=r?p+1&127:p,t=t+1|0;while((t|0)!=(a|0));w?(e[J+(a<<2)>>2]=w,w=p,a=a+1|0):w=p}else w=0,a=0,c=W;t=0,W=9-z+c|0}e:for(;;){for(z=(W|0)<18,_=(W|0)==18,L=J+(w<<2)|0;;){if(!z){if(!_){c=W;break e}if((e[L>>2]|0)>>>0>=9007199){c=18;break e}}for(c=0,G=a,a=a+127|0;p=a&127,v=J+(p<<2)|0,a=Br(e[v>>2]|0,0,29)|0,a=ar(a|0,b|0,c|0,0)|0,c=b,c>>>0>0|(c|0)==0&a>>>0>1e9?(m=Jc(a|0,c|0,1e9,0)|0,a=f8(a|0,c|0,1e9,0)|0):m=0,e[v>>2]=a,r=(p|0)==(w|0),G=(a|0)==0&(((p|0)!=(G+127&127|0)|r)^1)?p:G,!r;)c=m,a=p+-1|0;if(t=t+-29|0,m|0)break;a=G}w=w+127&127,a=G+127&127,c=J+((G+126&127)<<2)|0,(w|0)==(G|0)?e[c>>2]=e[c>>2]|e[J+(a<<2)>>2]:a=G,e[J+(w<<2)>>2]=m,W=W+9|0}e:for(;;){for(L=a+1&127,G=J+((a+127&127)<<2)|0;;){for(m=(c|0)==18,_=(c|0)>27?9:1,W=w;;){for(v=0;;){if(w=v+W&127,(w|0)==(a|0)){U=2,N=88;break}if(w=e[J+(w<<2)>>2]|0,p=e[63744+(v<<2)>>2]|0,w>>>0