Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:za

1 forEach((function(func){func()}))}}),safeRequestAnimationFrame:(function(func){return Browser.requestAnimationFrame((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}))}),safeSetTimeout:(function(func,timeout){Module["noExitRuntime"]=true;return setTimeout((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}),timeout)}),safeSetInterval:(function(func,timeout){Module["noExitRuntime"]=true;return setInterval((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}}),timeout)}),getMimetype:(function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]}),getUserMedia:(function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)}),getMovementX:(function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0}),getMovementY:(function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0}),getMouseWheelDelta:(function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail;break;case"mousewheel":delta=event.wheelDelta;break;case"wheel":delta=event["deltaY"];break;default:throw"unrecognized mouse wheel event: "+event.type}return delta}),mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:(function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;assert(typeof scrollX!=="undefined"&&typeof scrollY!=="undefined","Unable to retrieve scroll position, mouse positions likely broken.");if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){Browser.lastTouches[touch.identifier]=Browser.touches[touch.identifier];Browser.touches[touch.identifier]={x:adjustedX,y:adjustedY}}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}}),xhrLoad:(function(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)}),asyncLoad:(function(url,onload,onerror,noRunDep){Browser.xhrLoad(url,(function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(!noRunDep)removeRunDependency("al "+url)}),(function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}}));if(!noRunDep)addRunDependency("al "+url)}),resizeListeners:[],updateResizeListeners:(function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach((function(listener){listener(canvas.width,canvas.height)}))}),setCanvasSize:(function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()}),windowedWidth:0,windowedHeight:0,setFullScreenCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];flags=flags|8388608;HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=flags}Browser.updateResizeListeners()}),setWindowedCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];flags=flags&~8388608;HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=flags}Browser.updateResizeListeners()}),updateCanvasDimensions:(function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h<Module["forcedAspectRatio"]){w=Math.round(h*Module["forcedAspectRatio"])}else{h=Math.round(w/Module["forcedAspectRatio"])}}if((document["webkitFullScreenElement"]||document["webkitFullscreenElement"]||document["mozFullScreenElement"]||document["mozFullscreenElement"]||document["fullScreenElement"]||document["fullscreenElement"]||document["msFullScreenElement"]||document["msFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvas.parentNode&&typeof screen!="undefined"){var factor=Math.min(screen.width/w,screen.height/h);w=Math.round(w*factor);h=Math.round(h*factor)}if(Browser.resizeCanvas){if(canvas.width!=w)canvas.width=w;if(canvas.height!=h)canvas.height=h;if(typeof canvas.style!="undefined"){canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}else{if(canvas.width!=wNative)canvas.width=wNative;if(canvas.height!=hNative)canvas.height=hNative;if(typeof canvas.style!="undefined"){if(w!=wNative||h!=hNative){canvas.style.setProperty("width",w+"px","important");canvas.style.setProperty("height",h+"px","important")}else{canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}}}),wgetRequests:{},nextWgetRequestHandle:0,getNextWgetRequestHandle:(function(){var handle=Browser.nextWgetRequestHandle;Browser.nextWgetRequestHandle++;return handle})};function _rmdir(path){path=Pointer_stringify(path);try{FS.rmdir(path);return 0}catch(e){FS.handleFSError(e);return-1}}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}function _munmap(start,num){if(!_mmap.mappings)_mmap.mappings={};var info=_mmap.mappings[start];if(!info)return 0;if(num==info.num){_mmap.mappings[start]=null;if(info.allocated){_free(info.malloc)}}return 0}function _stat(path,buf,dontResolveLastLink){path=typeof path!=="string"?Pointer_stringify(path):path;try{var stat=dontResolveLastLink?FS.lstat(path):FS.stat(path);HEAP32[buf>>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;HEAP32[buf+36>>2]=stat.size;HEAP32[buf+40>>2]=4096;HEAP32[buf+44>>2]=stat.blocks;HEAP32[buf+48>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+52>>2]=0;HEAP32[buf+56>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ino;return 0}catch(e){if(e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){e.setErrno(ERRNO_CODES.ENOTDIR)}FS.handleFSError(e);return-1}}function _fstat(fildes,buf){var stream=FS.getStream(fildes);if(!stream){___setErrNo(ERRNO_CODES.EBADF);return-1}return _stat(stream.path,buf)}var ___tm_current=allocate(44,"i8",ALLOC_STATIC);var ___tm_timezone=allocate(intArrayFromString("GMT"),"i8",ALLOC_STATIC);var _tzname=allocate(8,"i32*",ALLOC_STATIC);var _daylight=allocate(1,"i32*",ALLOC_STATIC);var _timezone=allocate(1,"i32*",ALLOC_STATIC);function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[_timezone>>2]=-(new Date).getTimezoneOffset()*60;var winter=new Date(2e3,0,1);var summer=new Date(2e3,6,1);HEAP32[_daylight>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za
3 "use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;const n=16777215;const o=16777214;const p=16777212;const q=16777208;var r=0;var s=0;var t=0;var u=0;var v=global.NaN,w=global.Infinity;var x=0,y=0,z=0,A=0,B=0.0,C=0,D=0,E=0,F=0.0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=0;var N=0;var O=0;var P=0;var Q=global.Math.floor;var R=global.Math.abs;var S=global.Math.sqrt;var T=global.Math.pow;var U=global.Math.cos;var V=global.Math.sin;var W=global.Math.tan;var X=global.Math.acos;var Y=global.Math.asin;var Z=global.Math.atan;var _=global.Math.atan2;var $=global.Math.exp;var aa=global.Math.log;var ba=global.Math.ceil;var ca=global.Math.imul;var da=global.Math.min;var ea=global.Math.clz32;var fa=env.abort;var ga=env.assert;var ha=env.nullFunc_iiiiiiii;var ia=env.nullFunc_iiii;var ja=env.nullFunc_viiiiii;var ka=env.nullFunc_vi;var la=env.nullFunc_viiiii;var ma=env.nullFunc_dii;var na=env.nullFunc_vid;var oa=env.nullFunc_di;var pa=env.nullFunc_i;var qa=env.nullFunc_iiiiiiiiii;var ra=env.nullFunc_vii;var sa=env.nullFunc_iiiiiii;var ta=env.nullFunc_ii;var ua=env.nullFunc_viii;var va=env.nullFunc_v;var wa=env.nullFunc_iiiiiiiii;var xa=env.nullFunc_iiiii;var ya=env.nullFunc_viiii;var za=env.nullFunc_iii;var Aa=env.nullFunc_iiid;var Ba=env.nullFunc_iiiiii;var Ca=env.invoke_iiiiiiii;var Da=env.invoke_iiii;var Ea=env.invoke_viiiiii;var Fa=env.invoke_vi;var Ga=env.invoke_viiiii;var Ha=env.invoke_dii;var Ia=env.invoke_vid;var Ja=env.invoke_di;var Ka=env.invoke_i;var La=env.invoke_iiiiiiiiii;var Ma=env.invoke_vii;var Na=env.invoke_iiiiiii;var Oa=env.invoke_ii;var Pa=env.invoke_viii;var Qa=env.invoke_v;var Ra=env.invoke_iiiiiiiii;var Sa=env.invoke_iiiii;var Ta=env.invoke_viiii;var Ua=env.invoke_iii;var Va=env.invoke_iiid;var Wa=env.invoke_iiiiii;var Xa=env._dlerror;var Ya=env._utimes;var Za=env._getuid;var _a=env._send;var $a=env._dlsym;var ab=env._mknod;var bb=env._chown;var cb=env._lseek;var db=env._emscripten_set_main_loop_timing;var eb=env._access;var fb=env._fstat;var gb=env._chmod;var hb=env._rmdir;var ib=env.___assert_fail;var jb=env._usleep;var kb=env.___buildEnvironment;var lb=env._fflush;var mb=env._pwrite;var nb=env._strerror_r;var ob=env._localtime_r;var pb=env._tzset;var qb=env._open;var rb=env._getpid;var sb=env._sbrk;var tb=env._fcntl;var ub=env._emscripten_memcpy_big;var vb=env._unlink;var wb=env._sysconf;var xb=env._fchmod;var yb=env.___setErrNo;var zb=env._ftruncate;var Ab=env._mkdir;var Bb=env._pread;var Cb=env._mkport;var Db=env._dlopen;var Eb=env._dlclose;var Fb=env._write;var Gb=env._fsync;var Hb=env.___errno_location;var Ib=env._stat;var Jb=env._recv;var Kb=env._geteuid;var Lb=env._getenv;var Mb=env._sleep;var Nb=env._emscripten_set_main_loop;var Ob=env._abort;var Pb=env._time;var Qb=env._fchown;var Rb=env._strerror;var Sb=env._gettimeofday;var Tb=env._munmap;var Ub=env._mmap;var Vb=env._localtime;var Wb=env._getcwd;var Xb=env._close;var Yb=env._read;var Zb=env._truncate;var _b=0.0;function _declare_heap_length(){return a[33554431]|0}
6 4|0;c[(J&p)>>2]=c[(J&p)>>2]|1024;c[(k&p)+8>>2]=t;k=lr(f,m,k)|0;if(!k)k=0;else{b[((c[(k&p)+4>>2]|0)+(l*20|0)&o)+16>>1]=t;l=l+1|0}}else k=m;if(!(a[(s&n)>>0]|0)){t=t+1|0;m=k}else{Q=l;m=k;v=14;break}}}else{Q=l;v=14}while(0);if((v|0)==14){M=mh(X,Q<<2,0)|0;if(!M)K=0;else{if((Q|0)>0){l=0;k=c[(m&p)+4>>2]|0;while(1){c[(M+(l<<2)&p)>>2]=(e[(k&o)+16>>1]|0)+-1;l=l+1|0;if((l|0)==(Q|0))break;else k=k+20|0}}K=vu(f,g)|0}c[(w&p)>>2]=m;s=_+48|0;c[(s&p)>>2]=Pr(c[(f&p)>>2]|0,m,0)|0;if(!R){m=c[(c[(g&p)>>2]&p)>>2]|0;l=f+72|0;J=c[(l&p)>>2]|0;r=J+1|0;c[(l&p)>>2]=m+1+J;wh(U,25,0,r,0)|0;l=Rs(X,m,1)|0;if(l)if((m|0)>0){k=l+16|0;q=0;do{c[(l+(q<<2)&p)+20>>2]=Ss(f,g,q)|0;a[((c[(k&p)>>2]|0)+q&n)>>0]=0;q=q+1|0}while((q|0)!=(m|0));x=l}else x=l;else x=0}else{x=0;r=0}c[(Z&p)>>2]=0;L=_+56|0;c[(L&p)>>2]=0;wu(f,g,c[(w&p)>>2]|0,26880)|0;if(!(c[(_&p)+52>>2]|0))wu(f,_,c[(s&p)>>2]|0,26880)|0;Os(f,g,W);q=g+8|0;l=c[(q&p)>>2]|0;s=f+72|0;if((l|0)!=0&R){v=c[(s&p)>>2]|0;t=v+1|0;v=v+2|0;c[(s&p)>>2]=v;J=c[(g&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|0)+-1;if((a[(h&n)>>0]|0)==9){k=_;while(1){l=c[(k&p)+52>>2]|0;if(!l)break;else k=l}Ns(f,0,c[(k&p)>>2]|0)}k=c[(Z&p)>>2]|0;if(k)Mk(X,k,1);c[(Z&p)>>2]=_;c[(L&p)>>2]=g;Qs(f,d[(Y&n)>>0]|0,J,H,0);k=0}i=$;return k|0}function Ms(a,b){a=a|0;b=b|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;do if(!(c[(a&p)+4>>2]&1024)){e=d[(a&n)>>0]|0;if((e|0)==158){e=Ms(c[(a&p)+12>>2]|0,b)|0;break}else if((e|0)!=157){e=0;break}if(!(Ms(c[(a&p)+12>>2]|0,f)|0))e=0;else{c[(b&p)>>2]=0-(c[(f&p)>>2]|0);e=1}}else{c[(b&p)>>2]=c[(a&p)+8>>2];e=1}while(0);i=g;return e|0}function Ns(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+32|0;if((i|0)>=(j|0))fa();C=D;B=d+8|0;y=c[(B&p)>>2]|0;z=c[(d&p)>>2]|0;if(((a[(d&n)+450>>0]|0)==0?(k=d+16|0,!((a[(k&n)>>0]|0)!=0|(y|0)==0)):0)?(a[(z&n)+65>>0]|0)==0:0){a[(k&n)>>0]=1;k=c[(z&p)+24>>2]|0;x=(k&32|0)==0;iq(y,c[(f&p)>>2]|0);h=c[(f&p)>>2]|0;if((h|0)>0){w=f+4|0;v=(e|0)==0;s=(k&96|0)==0;t=(e|0)!=0;u=0;do{r=c[(w&p)>>2]|0;h=c[(r+(u*20|0)&p)>>2]|0;do if(h){k=c[(r+(u*20|0)&p)+4>>2]|0;if(k){jq(y,u,0,k,-1);break}k=a[(h&n)>>0]|0;if(k<<24>>24==-102){if(v)A=25}else if(!(k<<24>>24==-100&t))A=25;if((A|0)==25){A=0;k=c[(r+(u*20|0)&p)+8>>2]|0;if(!k){c[(C&p)>>2]=u+1;k=uh(z,34880,C)|0}else k=kh(z,k)|0;jq(y,u,0,k,75);break}q=b[(h&o)+32>>1]|0;k=q<<16>>16;m=c[(e&p)>>2]|0;a:do if((m|0)>0){g=c[(h&p)+28>>2]|0;l=0;while(1){h=l+1|0;if((c[(e+(l*72|0)&p)+48>>2]|0)==(g|0)){h=l;break a}if((h|0)<(m|0))l=h;else break}}else h=0;while(0);h=c[(e+(h*72|0)&p)+24>>2]|0;if(q<<16>>16<0)k=b[(h&o)+36>>1]|0;if((k|0)<0)k=20456;else k=c[((c[(h&p)+4>>2]|0)+(k*24|0)&p)>>2]|0;if(s){jq(y,u,0,kh(z,c[(r+(u*20|0)&p)+8>>2]|0)|0,75);break}if(x){jq(y,u,0,k,-1);break}else{c[(C&p)>>2]=c[(h&p)>>2];c[(C&p)+4>>2]=k;jq(y,u,0,uh(z,27824,C)|0,75);break}}while(0);u=u+1|0;h=c[(f&p)>>2]|0}while((u|0)<(h|0))}k=c[(B&p)>>2]|0;c[(C&p)+4>>2]=e;c[(C&p)>>2]=d;if((h|0)>0){g=f+4|0;h=0;do{jq(k,h,1,yu(C,c[((c[(g&p)>>2]|0)+(h*20|0)&p)>>2]|0,0)|0,-1);h=h+1|0}while((h|0)<(c[(f&p)>>2]|0))}}i=D;return}function Os(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();f=o;h=b+8|0;if((c[(h&p)>>2]|0)==0?(at(a),g=b+60|0,(c[(g&p)>>2]|0)!=0):0){l=a+72|0;m=(c[(l&p)>>2]|0)+1|0;c[(l&p)>>2]=m;c[(h&p)>>2]=m;n=Oq(a)|0;do if(Ms(c[(g&p)>>2]|0,f)|0){f=c[(f&p)>>2]|0;wh(n,25,f,m,0)|0;if(!f){wh(n,16,0,d,0)|0;break}if((f|0)>-1?(e=b+24|0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>(r|0)){c[(s&p)>>2]=r+E;F=i;A=0}else{F=i;A=0}}else{if(C){r=((a[(H&n)+24>>0]&1^1)&255)+(c[(c[(H&p)>>2]&p)>>2]|0)|0;F=b+72|0;s=r+(c[(F&p)>>2]|0)|0;c[(F&p)>>2]=s}else{s=c[(b&p)+72>>2]|0;r=0}F=s+1|0;c[(t&p)>>2]=F;c[(b&p)+72>>2]=s+E;A=r}c[(k&p)+12>>2]=E;do if((h|0)>-1){if((E|0)>0){s=0;do{wh(I,47,h,s,s+F|0)|0;s=s+1|0}while((s|0)!=(E|0))}}else{if(D<<24>>24==9)r=1;else if(D<<24>>24==3)break;else r=D<<24>>24==13&1;bt(b,g,F,r)}while(0);if(y){r=d[(j&n)+1>>0]|0;if((r|0)==1)zh(I,c[(j&p)+8>>2]|0);else if((r|0)==2){r=b+72|0;h=c[(r&p)>>2]|0;w=h+1|0;c[(r&p)>>2]=h+E;r=j+8|0;zh(I,c[(r&p)>>2]|0);r=c[(r&p)>>2]|0;if((r|0)<0)r=(c[(I&p)+32>>2]|0)+-1|0;if(!(a[((c[(I&p)>>2]|0)&n)+65>>0]|0))r=(c[(I&p)+4>>2]|0)+(r*20|0)|0;else r=29120;a[(r&n)>>0]=28;c[(r&p)+4>>2]=1;c[(r&p)+8>>2]=w;h=I+32|0;i=(c[(h&p)>>2]|0)+E|0;if((E|0)>0){s=g+4|0;r=E+-1|0;t=I+4|0;v=0;do{y=cu(b,c[((c[(s&p)>>2]|0)+(v*20|0)&p)>>2]|0)|0;j=v+F|0;q=v+w|0;if((v|0)<(r|0))wh(I,78,j,i,q)|0;else wh(I,79,j,l,q)|0;xh(I,-1,y,-4);u=c[(t&p)>>2]|0;if(u)a[(u+(((c[(h&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=-128;v=v+1|0}while((v|0)!=(E|0))}else r=E+-1|0;wh(I,33,F,w,r)|0}else zu(b,c[(j&p)+4>>2]|0,l,E,F);if(!H)it(I,c[(f&p)+12>>2]|0,l)}a:do switch(x|0){case 11:{i=k+1|0;a[(i&n)>>0]=Bu(c[(c[(g&p)+4>>2]&p)>>2]|0,a[(i&n)>>0]|0)|0;if(C){Au(b,H,f,F,1,A);break a}j=b+19|0;q=a[(j&n)>>0]|0;if(!(q<<24>>24)){E=b+72|0;j=(c[(E&p)>>2]|0)+1|0;c[(E&p)>>2]=j}else{E=q+-1<<24>>24;a[(j&n)>>0]=E;j=c[(b+((E&255)<<2)&p)+24>>2]|0}xh(I,wh(I,49,F,1,j)|0,i,1);dt(b,F,1);wh(I,110,G,j,0)|0;_r(b,j);B=94;break}case 3:{wh(I,25,1,G,0)|0;B=94;break}case 10:{if(C)Au(b,H,f,F,1,A);else B=95;break}case 2:{wh(I,111,G,F,E)|0;B=94;break}case 12:case 14:case 6:case 5:{s=A+1|0;r=b+60|0;i=c[(r&p)>>2]|0;t=b+56|0;q=c[(t&p)>>2]|0;if((q|0)<(s|0)){B=b+72|0;i=c[(B&p)>>2]|0;c[(B&p)>>2]=i+s;i=i+1|0}else{c[(r&p)>>2]=i+s;c[(t&p)>>2]=q-s}q=i+A|0;wh(I,49,F,E,q)|0;if(D<<24>>24==6){F=G+1|0;xh(I,wh(I,69,F,(c[(I&p)+32>>2]|0)+4|0,i)|0,0,-14);wh(I,110,F,i,0)|0}if(C)Au(b,H,f,q,1,A);else{q=b+19|0;j=a[(q&n)>>0]|0;if(!(j<<24>>24)){F=b+72|0;j=(c[(F&p)>>2]|0)+1|0;c[(F&p)>>2]=j}else{j=j+-1<<24>>24;a[(q&n)>>0]=j;j=c[(b+((j&255)<<2)&p)+24>>2]|0}wh(I,74,G,j,0)|0;wh(I,75,G,i,j)|0;q=c[(I&p)+4>>2]|0;if(q)a[(q+(((c[(I&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=8;_r(b,j)}dt(b,i,s);if((c[(t&p)>>2]|0)<(s|0)){c[(t&p)>>2]=s;c[(r&p)>>2]=i;B=94}else B=94;break}case 1:{q=b+19|0;j=a[(q&n)>>0]|0;if(!(j<<24>>24)){D=b+72|0;j=(c[(D&p)>>2]|0)+1|0;c[(D&p)>>2]=j}else{j=j+-1<<24>>24;a[(q&n)>>0]=j;j=c[(b+((j&255)<<2)&p)+24>>2]|0}wh(I,49,F,E,j)|0;wh(I,110,G,j,0)|0;_r(b,j);B=94;break}case 9:case 13:{if(C){Au(b,H,f,F,E,A);break a}if(D<<24>>24==13){wh(I,22,c[(z&p)>>2]|0,0,0)|0;B=95;break a}else{wh(I,35,F,E,0)|0;dt(b,F,E);B=94;break a}}case 7:case 8:{u=c[(k&p)+16>>2]|0;h=c[(u&p)>>2]|0;q=b+19|0;j=a[(q&n)>>0]|0;if(!(j<<24>>24)){C=b+72|0;v=(c[(C&p)>>2]|0)+1|0;c[(C&p)>>2]=v}else{v=j+-1<<24>>24;a[(q&n)>>0]=v;v=c[(b+((v&255)<<2)&p)+24>>2]|0}w=h+2|0;x=b+60|0;i=c[(x&p)>>2]|0;y=b+56|0;q=c[(y&p)>>2]|0;if((q|0)<(w|0)){C=b+72|0;i=c[(C&p)>>2]|0;c[(C&p)>>2]=i+w;i=i+1|0}else{c[(x&p)>>2]=i+w;c[(y&p)>>2]=q-w}t=i+h|0;r=t+1|0;if(D<<24>>24==8){q=G+1|0;j=wh(I,69,q,0,F)|0;xh(I,j,E,-14);wh(I,49,F,E,r)|0;wh(I,110,q,r,0)|0;q=c[(I&p)+4>>2]|0;if(!q)s=j;else{a[(q+(((c[(I&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=16;s=j}}else{wh(I,49,F,E,r)|0;s=0}if((h|0)>0){r=u+4|0;q=F+-1|0;j=0;do{wh(I,34,q+(e[((c[(r&p)>>2]|0)+(j*20|0)&o)+16>>1]|0)|0,j+i|0,0)|0;j=j+1|0}while((j|0)!=(h|0))}wh(I,73,G,t,0)|0;wh(I,49,i,w,v)|0;wh(I,110,G,v,0)|0;if(s){q=c[(I&p)+32>>2]|0;if(q>>>0>s>>>0)c[((c[(I&p)+4>>2]|0)+(s*20|0)&p)+8>>2]=q;c[((c[(I&p)+24>>2]|0)&p)+88>>2]=q+-1}_r(b,v);dt(b,i,w);if((c[(y&p)>>2]|0)<(w|0)){c[(y&p)>>2]=w;c[(x&p)>>2]=i;B=94}else B=94;break}default:B=94}while(0);if((B|0)==94?(H|0)==0:0)B=95;if((B|0)==95?(J=c[(f&p)+8>>2]|0,(J|0)!=0):0)wh(I,140,J,m,0)|0;return}function Qs(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();m=o;if((a[(b&n)+450>>0]|0)==2){k=c[(b&p)+8>>2]|0;l=c[(b&p)>>2]|0;h=(g|0)!=0?35160:10360;if((d|0)==118)g=35336;else if((d|0)==116)g=35320;else if((d|0)==117)g=35352;else g=35360;c[(m&p)>>2]=e;c[(m&p)+4>>2]=f;c[(m&p)+8>>2]=h;c[(m&p)+12>>2]=g;g=uh(l,35120,m)|0;xh(k,wh(k,157,c[(b&p)+464>>2]|0,0,0)|0,g,-1)}i=o;return}function Rs(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=f+e|0;h=(g*5|0)+24|0;i=qg(h,0)|0;if(!i)a[(d&n)+65>>0]=1;else{fw(i|0,0,h|0)|0;c[(i&p)+16>>2]=i+20+(g<<2);b[(i&o)+6>>1]=e;b[(i&o)+8>>1]=f;a[(i&n)+4>>0]=a[(d&n)+62>>0]|0;c[(i&p)+12>>2]=d;c[(i&p)>>2]=1}return i|0}function Ss(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=c[(b&p)+52>>2]|0;if(!((f|0)!=0?(e=Ss(a,f,d)|0,(e|0)!=0):0)){e=c[(b&p)>>2]|0;if((c[(e&p)>>2]|0)>(d|0))e=cu(a,c[((c[(e&p)+4>>2]|0)+(d*20|0)&p)>>2]|0)|0;else e=0}return e|0}function Ts(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=(b|0)==0;f=(d|0)==0;a:do if(!(g&f))if(!(g|f)?(h=c[(b&p)>>2]|0,(h|0)==(c[(d&p)>>2]|0)):0)if((h|0)>0){b=c[(b&p)+4>>2]|0;f=c[(d&p)+4>>2]|0;g=0;while(1){if((a[(b+(g*20|0)&n)+12>>0]|0)!=(a[(f+(g*20|0)&n)+12>>0]|0)){f=1;break a}if(Cu(c[(b+(g*20|0)&p)>>2]|0,c[(f+(g*20|0)&p)>>2]|0,e)|0){f=1;break a}g=g+1|0;if((g|0)>=(h|0)){f=0;break}}}else f=0;else f=1;else f=0;while(0);return f|0}function Us(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;g=c[(b&p)>>2]|0;l=c[(d&p)>>2]|0;k=Rs(g,l-e|0,f+1|0)|0;if((k|0)!=0&(l|0)>(e|0)){h=g+8|0;i=k+16|0;j=e;f=(c[(d&p)+4>>2]|0)+(e*20|0)|0;while(1){g=cu(b,c[(f&p)>>2]|0)|0;if(!g)g=c[(h&p)>>2]|0;d=j-e|0;c[(k+(d<<2)&p)+20>>2]=g;a[((c[(i&p)>>2]|0)+d&n)>>0]=a[(f&n)+12>>0]|0;j=j+1|0;if((j|0)==(l|0))break;else f=f+20|0}}return k|0}function Vs(f,g,h,k,l,m,q){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,zaza=k+348|0;c[(za&p)>>2]=k+352;Du(Ia,h,72);B=(X|0)==0;if((c[(k&p)+340>>2]|0)>0){A=Na+20|0;z=Na+4|0;r=Na+24|0;h=Ia;s=0;do{if(!B){h=c[((c[(h&p)+20>>2]|0)+(s*48|0)&p)>>2]|0;c[(Na&p)>>2]=0;c[(Na&p)+4>>2]=0;c[(Na&p)+8>>2]=0;c[(Na&p)+12>>2]=0;c[(Na&p)+16>>2]=0;c[(Na&p)+20>>2]=0;a[(A&n)>>0]=2;c[(Na&p)>>2]=78;c[(z&p)>>2]=79;c[(r&p)>>2]=0;rs(Na,h)|0;h=c[(_&p)>>2]|0;if(a[(A&n)>>0]|0)xa=15}else xa=15;if((xa|0)==15){xa=0;gt(f,c[((c[(h&p)+20>>2]|0)+(s*48|0)&p)>>2]|0,c[(t&p)>>2]|0,16);h=c[(_&p)>>2]|0;da=(c[(h&p)+20>>2]|0)+(s*48|0)+20|0;b[(da&o)>>1]=e[(da&o)>>1]|4}s=s+1|0}while((s|0)<(c[(h&p)+12>>2]|0))}if(B){if(S)a[(k&n)+36>>0]=c[(S&p)>>2];if(L&1024)a[(k&n)+40>>0]=1}if((c[(g&p)>>2]|0)>0){x=0;do{R=c[(g+(x*72|0)&p)+48>>2]|0;da=c[(Ha&p)>>2]|0;c[(Ha&p)>>2]=da+1;c[(Ha+(da<<2)&p)+4>>2]=R;x=x+1|0}while((x|0)<(c[(g&p)>>2]|0))}u=c[(ya&p)>>2]|0;if((u|0)>0)do{u=u+-1|0;Eu(Ia,u)}while((u|0)>0);b:do if(!(a[(Aa&n)>>0]|0)){da=(L&1024|0)==0;c:do if(!da){d:do if((c[(g&p)>>2]|0)==1){K=c[(g&p)+48>>2]|0;s=c[(g&p)+24>>2]|0;A=c[(l&p)>>2]|0;e:do if((A|0)>0){z=c[(l&p)+4>>2]|0;r=0;while(1){h=c[(z+(r*20|0)&p)>>2]|0;f:do if(!h)h=0;else while(1){B=c[(h&p)+4>>2]|0;if(!(B&4096))break f;if(!(B&262144))h=h+12|0;else h=c[((c[(h&p)+20>>2]|0)&p)+4>>2]|0;h=c[(h&p)>>2]|0;if(!h){h=0;break}}while(0);do if((a[(h&n)>>0]|0)==-102){if((c[(h&p)+28>>2]|0)!=(K|0))break;if((b[(h&o)+32>>1]|0)<0)break e}while(0);r=r+1|0;if((r|0)>=(A|0)){xa=41;break}}}else xa=41;while(0);g:do if((xa|0)==41){h=c[(s&p)+8>>2]|0;if(!h)break d;t=l+4|0;s=s+4|0;while(1){if(a[(h&n)+50>>0]|0){F=h+46|0;h:do if(!(b[(F&o)>>1]|0))B=0;else{I=h+4|0;H=h+32|0;B=0;do{E=b[((c[(I&p)>>2]|0)+(B<<1)&o)>>1]|0;if(!(Fu(Ia,K,E,-1,-1,2,h)|0)){r=c[((c[(H&p)>>2]|0)+(B<<2)&p)>>2]|0;if((c[(l&p)>>2]|0)>0)A=0;else break h;i:while(1){C=c[((c[(t&p)>>2]|0)+(A*20|0)&p)>>2]|0;j:do if(!C)z=0;else{z=C;while(1){D=c[(z&p)+4>>2]|0;if(!(D&4096))break j;if(!(D&262144))z=z+12|0;else z=c[((c[(z&p)+20>>2]|0)&p)+4>>2]|0;z=c[(z&p)>>2]|0;if(!z){z=0;break}}}while(0);do if((a[(z&n)>>0]|0)==-102){if((b[(z&o)+32>>1]|0)!=(b[((c[(I&p)>>2]|0)+(B<<1)&o)>>1]|0))break;if((c[(z&p)+28>>2]|0)!=(K|0))break;z=cu(f,C)|0;if(!z)break;if(!(dd(c[(z&p)>>2]|0,r)|0))break i}while(0);A=A+1|0;if((A|0)>=(c[(l&p)>>2]|0))break h}if((A|0)<0)break h;if(!(a[((c[(s&p)>>2]|0)+(E*24|0)&n)+20>>0]|0))break h}B=B+1|0}while((B|0)<(e[(F&o)>>1]|0))}while(0);if((B|0)==(e[(F&o)>>1]|0))break g}h=c[(h&p)+20>>2]|0;if(!h)break d}}while(0);a[(k&n)+40>>0]=1;break c}while(0);if(!S){b[(Ea&o)>>1]=e[(Ea&o)>>1]|512;c[(ca&p)>>2]=l}}while(0);k:do if((((X|0)==1?(Z=c[($&p)>>2]|0,Y=Z+34|0,(b[(Y&o)>>1]&32)==0):0)?(U=c[(Z&p)+4>>2]|0,Q=c[(U&p)+24>>2]|0,(a[(Q&n)+44>>0]&16)==0):0)?(c[(U&p)+72>>2]|0)==0:0){S=c[(U&p)+48>>2]|0;C=Z+328|0;R=c[(V&p)>>2]|0;K=R+36|0;c[(K&p)>>2]=0;b[(R&o)+42>>1]=0;y=Fu(C,S,-1,0,0,2,0)|0;l:do if(!y){A=c[(Q&p)+8>>2]|0;m:do if(A){D=R+48|0;n:while(1){do if(a[(A&n)+50>>0]|0){if(c[(A&p)+36>>2]|0)break;z=A+46|0;h=b[(z&o)>>1]|0;if((h&65535)>3)break;t=A+4|0;o:do if(!(h<<16>>16)){h=0;B=0}else{B=0;while(1){h=Fu(C,S,b[((c[(t&p)>>2]|0)+(B<<1)&o)>>1]|0,0,0,2,A)|0;if(!h)break;c[((c[(D&p)>>2]|0)+(B<<2)&p)>>2]=h;B=B+1|0;h=b[(z&o)>>1]|0;if((B|0)>=(h&65535|0))break o}h=b[(z&o)>>1]|0}while(0);if((B|0)==(h&65535|0)){D=B;break n}}while(0);A=c[(A&p)+20>>2]|0;if(!A)break m}c[(K&p)>>2]=4609;if(!(a[(A&n)+51>>0]&32)){s=U+64|0;r=c[(s&p)>>2]|0;s=c[(s&p)+4>>2]|0;z=0;y=0;h=e[(A&o)+48>>1]|0;p:while(1){B=h;while(1){h=B+-1|0;if((B|0)<=0)break p;B=b[((c[(t&p)>>2]|0)+(h<<1)&o)>>1]|0;if((B&65535)<63)break;else B=h}$=iw(1,0,B<<16>>16|0)|0;z=$|z;y=G|y}if((r&~z|0)==0&(s&~y|0)==0)xa=91}else xa=91;if((xa|0)==91)c[(K&p)>>2]=4673;$=D&65535;b[(R&o)+40>>1]=$;b[(R&o)+24>>1]=$;c[(R&p)+28>>2]=A;b[(R&o)+20>>1]=39;break l}while(0);if(!(c[(K&p)>>2]|0)){xa=103;break k}}else{c[(K&p)>>2]=4353;c[(c[(R&p)+48>>2]&p)>>2]=y;b[(R&o)+40>>1]=1;b[(R&o)+24>>1]=1;b[(R&o)+20>>1]=33}while(0);b[(R&o)+22>>1]=1;c[(Z&p)+800>>2]=R;t=c[(Z&p)+68>>2]|0;q:do if((t|0)>0){u=0;while(1){if((c[(Z+(u<<2)&p)+72>>2]|0)==(S|0))break;u=u+1|0;if((u|0)>=(t|0)){u=0;t=0;break q}}u=iw(1,0,u|0)|0;t=G}else{u=0;t=0}while(0);s=R+8|0;c[(s&p)>>2]=u;c[(s&p)+4>>2]=t;c[(Z&p)+740>>2]=S;b[(Z&o)+32>>1]=1;s=c[(Z&p)+8>>2]|0;if(s)a[(Z&n)+36>>0]=c[(s&p)>>2];if(!(b[(Y&o)>>1]&1024)){xa=120;break}a[(Z&n)+40>>0]=1;xa=120}else xa=103;while(0);if((xa|0)==103){F=c[($&p)>>2]|0;h=c[(F&p)+4>>2]|0;H=c[(c[(F&p)>>2]&p)>>2]|0;Z=a[(F&n)+41>>0]|0;I=Z&255;z=c[(V&p)>>2]|0;c[(z&p)+48>>2]=z+56;b[(z&o)+40>>1]=0;b[(z&o)+44>>1]=3;c[(z&p)+36>>2]=0;r=H+65|0;r:do if(Z<<24>>24){s=z+16|0;t=F+68|0;u=z+8|0;v=0;w=0;x=0;y=0;E=0;D=h+8|0;C=0;while(1){a[(s&n)>>0]=E;B=c[(D&p)+40>>2]|0;A=c[(t&p)>>2]|0;s:do if((A|0)>0){h=0;while(1){if((c[(F+(h<<2)&p)+72>>2]|0)==(B|0))break;h=h+1|0;if((h|0)>=(A|0)){h=0;B=0;break s}}h=iw(1,0,h|0)|0;B=G}else{h=0;B=0}while(0);Z=u;c[(Z&p)>>2]=h;c[(Z&p)+4>>2]=B;Z=C;C=a[(D&n)+36>>0]|0;Z=((C|Z)&10)==0;w=Z?w:v;y=Z?y:x;if(!(a[((c[(D&p)+16>>2]|0)&n)+44>>0]&16))h=Hu($,w,y)|0;else h=Gu($,w,y)|0;if(h)break;Z=Iu($,w,y)|0;h=u;if(Z)break;if(a[(r&n)>>0]|0)break r;E=E+1|0;if((E|0)>=(I|0))break r;else{v=c[(h&p)>>2]|v;x=c[(h&p)+4>>2]|x;D=D+72|0}}Ju(H,z);break b}while(0);Ju(H,z);Ku(k,0);if(a[(Aa&n)>>0]|0)break;if(c[(ca&p)>>2]|0){Ku(k,(e[(k&o)+32>>1]|0)+1&65535);if(!(a[(Aa&n)>>0]|0))xa=120;else break}else xa=121}if((xa|0)==120?(c[(ca&p)>>2]|0)==0:0)xa=121;if((xa|0)==121?(c[(La&p)+24>>2]&131072|0)!=0:0){ca=k+24|0;c[(ca&p)>>2]=-1;c[(ca&p)+4>>2]=-1}if((c[(f&p)+64>>2]|0)==0?(a[(Aa&n)>>0]|0)==0:0){x=a[(Ba&n)>>0]|0;t:do if((x&255)>1&(l|0)!=0?(b[(ba&o)>>1]&1024)==0:0){s=Lu(Ha,l)|0;t=G;r=c[(aa&p)>>2]|0;if(r){ca=Lu(Ha,r)|0;s=ca|s;t=G|t}B=k+736|0;h=c[(Ca&p)>>2]|0;A=c[(_&p)>>2]|0;z=A+20|0;A=A+12|0;y=x;r=X;do{u=c[(B+(((y&255)+-1|0)*80|0)&p)+64>>2]|0;if(!(a[(h+((d[(u&n)+16>>0]|0)*72|0)&n)+44>>0]&8))break t;if(da?(c[(u&p)+36>>2]&4096|0)==0:0)break t;w=u+8|0;v=c[(w&p)>>2]|0;w=c[(w&p)+4>>2]|0;if(!((v&s|0)==0&(w&t|0)==0))break t;u=c[(z&p)>>2]|0;ca=c[(A&p)>>2]|0;x=u+(ca*48|0)|0;if((ca|0)>0)do{ca=u+40|0;if(!((v&c[(ca&p)>>2]|0)==0?(w&c[(ca&p)+4>>2]|0)==0:0)?(c[((c[(u&p)>>2]|0)&p)+4>>2]&1|0)==0:0)break t;u=u+48|0}while(u>>>0<x>>>0);y=y+-1<<24>>24;a[(Ba&n)>>0]=y;r=r+-1|0}while((y&255)>1)}else r=X;while(0);da=(c[(k&p)>>2]|0)+424|0;c[(da&p)>>2]=(c[(da&p)>>2]|0)+(b[(k&o)+32>>1]|0);do if((L&4|0)!=0?(W=(c[(k&p)+800>>2]|0)+36|0,T=c[(W&p)>>2]|0,(T&4096|0)!=0):0){a[(k&n)+38>>0]=1;if(a[((c[(g&p)+24>>2]|0)&n)+44>>0]&32)break;c[(W&p)>>2]=T&-65}while(0);wa=k+736|0;S=(r|0)>0;if(S){P=L&16;Q=k+38|0;R=ha+32|0;M=O^1;O=(q|0)==0|M;N=f+68|0;K=54-(L>>>12&1)|0;J=ha+4|0;E=La+20|0;C=La+16|0;v=0;L=wa;while(1){D=d[(L&n)+44>>0]|0;F=g+(D*72|0)+24|0;t=c[(F&p)>>2]|0;h=c[(t&p)+68>>2]|0;u:do if(!h)z=-1e6;else{B=c[(E&p)>>2]|0;if((B|0)<=0){z=0;break}A=c[(C&p)>>2]|0;s=0;while(1){z=s+1|0;if((c[(A+(s<<4)&p)+12>>2]|0)==(h|0)){z=s;break u}if((z|0)<(B|0))s=z;else break}}while(0);I=c[(L&p)+64>>2]|0;H=t+44|0;h=d[(H&n)>>0]|0;do if(!(h&2)){if(c[(t&p)+12>>2]|0)break;B=c[(I&p)+36>>2]|0;if(B&1024){y=c[(t&p)+60>>2]|0;v:do if(!y)y=0;else while(1){if((c[(y&p)>>2]|0)==(La|0))break v;y=c[(y&p)+24>>2]|0;if(!y){y=0;break}}while(0);xh(ha,wh(ha,149,c[(g+(D*72|0)&p)+48>>2]|0,0,0)|0,y,-10);break}if(h&16)break;if(B&64|P){gs(f,z,c[(t&p)+32>>2]|0,0,c[(t&p)>>2]|0);break}A=g+(D*72|0)+48|0;if(!(a[(Q&n)>>0]|0))h=54;else{c[(ea&p)>>2]=c[(A&p)>>2];h=55}Qq(f,c[(A&p)>>2]|0,z,t,h);if(a[(Q&n)>>0]|0)break;if((b[(t&o)+38>>1]|0)>=64)break;if(a[(H&n)>>0]&32)break;A=g+(D*72|0)+64|0;y=c[(A&p)>>2]|0;A=c[(A&p)+4>>2]|0;if((y|0)==0&(A|0)==0)x=0;else{x=0;do{y=mw(y|0,A|0,1)|0;A=G;x=x+1|0}while(!((y|0)==0&(A|0)==0))}xh(ha,(c[(R&p)>>2]|0)+-1|0,x,-14)}while(0);B=I+36|0;w:do if(c[(B&p)>>2]&512){h=c[(I&p)+28>>2]|0;do if(a[(H&n)>>0]&32){if((a[(h&n)+51>>0]&3)!=2|M)break;c[(L&p)+8>>2]=c[(L&p)+4>>2];break w}while(0);do if(!(a[(Q&n)>>0]|0)){if(!O){x=q;w=K;break}x=c[(N&p)>>2]|0;c[(N&p)>>2]=x+1;w=54}else{w=c[((c[(F&p)>>2]|0)&p)+8>>2]|0;if((w|0)==0|(w|0)==(h|0))x=q;else{x=q;do{x=x+1|0;w=c[(w&p)+20>>2]|0}while(!((w|0)==0|(w|0)==(h|0)))}c[(ga&p)>>2]=x;w=55}while(0);c[(L&p)+8>>2]=x;wh(ha,w,x,c[(h&p)+40>>2]|0,z)|0;da=c[(Ka&p)>>2]|0;xh(da,-1,hs(f,h)|0,-6);da=c[(B&p)>>2]|0;if(!((da&15|0)!=0&(da&32770|0)==0))break;if(b[(Ea&o)>>1]&1)break;u=c[(J&p)>>2]|0;if(!u)break;a[(u+(((c[(R&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=2}while(0);if((z|0)>-1)Ar(f,z);v=v+1|0;if((v|0)==(r|0))break;else L=L+80|0}ga=(a[(Aa&n)>>0]|0)==0;c[(k&p)+44>>2]=c[(R&p)>>2];if(!ga)break}else{R=ha+32|0;c[(k&p)+44>>2]=c[(R&p)>>2]}if(!S)break a;ka=k+24|0;la=k+36|0;ma=k+39|0;na=f+80|0;oa=f+68|0;pa=f+100|0;qa=f+19|0;ra=f+72|0;sa=Na+20|0;ta=Na+4|0;ua=Na+24|0;t=-1;s=-1;va=0;while(1){Y=wa+(va*80|0)|0;h=wa+(va*80|0)+64|0;_=wa+(va*80|0)+44|0;if(c[((c[(h&p)>>2]|0)&p)+36>>2]&16384){K=d[(_&n)>>0]|0;U=g+(K*72|0)+8|0;Z=c[(Ka&p)>>2]|0;y=Oq(f)|0;$=c[(na&p)>>2]|0;c[(na&p)>>2]=$+1;$=wh(y,44,$,0,0)|0;y=c[(g+(K*72|0)&p)+24>>2]|0;ga=c[(ya&p)>>2]|0;B=c[(za&p)>>2]|0;T=B+(ga*48|0)|0;M=c[(h&p)>>2]|0;x:do if((ga|0)>0){z=g+(K*72|0)+48|0;v=y+4|0;w=M+48|0;F=0;C=0;A=0;u=0;E=0;while(1){D=c[(B&p)>>2]|0;ga=M;do if((c[(ga&p)>>2]|0)==0&(c[(ga&p)+4>>2]|0)==0){if(b[(B&o)+20>>1]&2)break;if(c[(D&p)+4>>2]&1)break;ga=c[(z&p)>>2]|0;c[(Na&p)>>2]=0;c[(Na&p)+4>>2]=0;c[(Na&p)+8>>2]=0;c[(Na&p)+12>>2]=0;c[(Na&p)+16>>2]=0;c[(Na&p)+20>>2]=0;a[(sa&n)>>0]=3;c[(Na&p)>>2]=78;c[(ta&p)>>2]=79;c[(ua&p)>>2]=ga;rs(Na,D)|0;if(!(a[(sa&n)>>0]|0))break;ga=c[(f&p)>>2]|0;u=ss(ga,u,Mr(ga,D,0,0)|0)|0}while(0);do if(!(Mu(B,U,t,s)|0)){I=F;D=C;h=A}else{D=c[(B&p)+12>>2]|0;if((D|0)>63){I=0;H=-2147483648}else{I=iw(1,0,D|0)|0;H=G}if(!(E<<24>>24)){E=c[((c[(v&p)>>2]|0)+(D*24|0)&p)>>2]|0;c[(Na&p)>>2]=c[(y&p)>>2];c[(Na&p)+4>>2]=E;bd(284,33960,Na);E=1}if(!((I&F|0)==0&(H&C|0)==0)){I=F;D=C;h=A;break}h=A+1|0;if(Nu(c[(f&p)>>2]|0,M,h)|0)break x;c[((c[(w&p)>>2]|0)+(A<<2)&p)>>2]=B;I=I|F;D=H|C}while(0);B=B+48|0;if(B>>>0>=T>>>0){B=I;xa=207;break}else{F=I;C=D;A=h}}}else{D=0;B=0;h=0;u=0;xa=207}while(0);do if((xa|0)==207){xa=0;v=h&65535;b[(M&o)+40>>1]=v;b[(M&o)+24>>1]=v;v=M+36|0;c[(v&p)>>2]=16961;L=g+(K*72|0)+64|0;N=L;H=c[(N&p)+4>>2]|0;N=c[(N&p)>>2]&~B;P=H&((D|-2147483648)^2147483647);x=y+38|0;Q=b[(x&o)>>1]|0;I=Q<<16>>16;Q=Q<<16>>16>63?63:I;S=(Q|0)>0;if(S){D=0;do{ga=iw(1,0,D|0)|0;h=(((ga&N|0)!=0|(G&P|0)!=0)&1)+h|0;D=D+1|0}while((D|0)!=(Q|0))}if((H|0)<0)h=h+-63+I|0;O=h+1|0;J=us(c[(f&p)>>2]|0,O&65535,0,Oa)|0;if(!J)break;c[(M&p)+28>>2]=J;c[(J&p)>>2]=33992;c[(J&p)+12>>2]=y;D=c[(zaza&p)>>2]|0;V=H+(E*48|0)|0;F=c[(V&p)>>2]|0;do if((V|0)!=(l|0)){if(c[(F&p)+4>>2]&1)break;if(b[(H+(E*48|0)&o)+20>>1]&2)break;if(!(b[(H+(E*48|0)&o)+18>>1]&4095))break;I=ss(ha,I,Mr(ha,F,0,0)|0)|0;C=c[(ya&p)>>2]|0}while(0);E=E+1|0}while((E|0)<(C|0));C=I;if(!C){V=0;break}V=Zq(ja,72,0,C,0)|0}else V=0;while(0);U=S+12|0;do if((c[(U&p)>>2]|0)>0){x=S+20|0;w=(V|0)==0;v=Z+44|0;z=ea+32|0;A=ea+4|0;C=ea+24|0;E=Z+8|0;F=ja+60|0;H=ja+56|0;I=V+12|0;T=0;B=0;h=0;y=240;while(1){K=c[(x&p)>>2]|0;if((c[(K+(T*48|0)&p)+8>>2]|0)!=(q|0)?(b[(K+(T*48|0)&o)+18>>1]&512)==0:0)K=y;else xa=407;do if((xa|0)==407){xa=0;K=c[(K+(T*48|0)&p)>>2]|0;do if(!w){if(c[(K&p)+4>>2]&1)break;c[(I&p)>>2]=K;K=V}while(0);L=Vs(ja,Y,K,0,0,y,aa)|0;if(!L){K=y;break}Pu(ja,Y,L+736|0,va,d[(ca&n)>>0]|0,0);do if(!(b[(Ea&o)>>1]&8)){O=(T|0)==((c[(U&p)>>2]|0)+-1|0)?-1:T;do if(!(a[(v&n)>>0]&32)){J=wh(ea,130,D,0,ct(ja,Z,-1,q,W,0)|0)|0;xh(ea,J,O,-14)}else{K=c[(E&p)>>2]|0;D:do if(!K)K=0;else while(1){if((a[(K&n)+51>>0]&3)==2)break D;K=c[(K&p)+20>>2]|0;if(!K){K=0;break}}while(0);P=b[(K&o)+46>>1]|0;M=P&65535;S=c[(F&p)>>2]|0;Q=c[(H&p)>>2]|0;if((Q|0)<(M|0)){N=c[(_&p)>>2]|0;c[(_&p)>>2]=N+M;N=N+1|0}else{c[(F&p)>>2]=S+M;c[(H&p)>>2]=Q-M;N=S}if(P<<16>>16){Q=K+4|0;S=0;do{ct(ja,Z,b[((c[(Q&p)>>2]|0)+(S<<1)&o)>>1]|0,q,S+N|0,0)|0;S=S+1|0}while((S|0)<(M|0))}S=(O|0)!=0;if(S){J=wh(ea,69,D,0,N)|0;xh(ea,J,M,-14);if((O|0)>-1)xa=426}else{J=0;xa=426}do if((xa|0)==426){xa=0;wh(ea,49,N,M,W)|0;wh(ea,110,D,W,0)|0;if(!S)break;O=c[(A&p)>>2]|0;if(!O)break;a[(O+(((c[(z&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=16}while(0);dt(ja,N,M);if((c[(H&p)>>2]|0)>=(M|0))break;c[(H&p)>>2]=M;c[(F&p)>>2]=N}while(0);wh(ea,17,$,ba,0)|0;if(!J)break;K=c[(z&p)>>2]|0;if(K>>>0>J>>>0)c[((c[(A&p)>>2]|0)+(J*20|0)&p)+8>>2]=K;c[((c[(C&p)>>2]|0)&p)+88>>2]=K+-1}else wh(ea,17,$,ba,0)|0;while(0);h=(a[(L&n)+39>>0]|0)==0?h:1;K=c[(L&p)+800>>2]|0;do if(!(c[(K&p)+36>>2]&512)){B=0;K=y}else{if((T|0)!=0?(c[(K&p)+28>>2]|0)!=(B|0):0){B=0;K=y;break}B=c[(K&p)+28>>2]|0;if((a[(v&n)>>0]&32)!=0?(a[(B&n)+51>>0]&3)==2:0){B=0;K=y;break}K=(y&65535|4096)&65535}while(0);Xs(L)}while(0);T=T+1|0;if((T|0)>=(c[(U&p)>>2]|0))break;else y=K}c[(k+(va*80|0)&p)+792>>2]=B;if(!B){v=h;break}c[(k+(va*80|0)&p)+744>>2]=aa;v=h}else{c[(k+(va*80|0)&p)+792>>2]=0;v=0}while(0);if(V){c[(V&p)+12>>2]=0;Gk(ha,V)}z=ea+32|0;h=c[(z&p)>>2]|0;if(h>>>0>X>>>0)c[((c[(ea&p)+4>>2]|0)+(X*20|0)&p)+4>>2]=h;wh(ea,16,0,c[(da&p)>>2]|0,0)|0;B=c[(ea&p)+24>>2]|0;A=~ba;do if((ba|0)<0){h=c[(B&p)+112>>2]|0;if(!h)break;c[(h+(A<<2)&p)>>2]=c[(z&p)>>2]}while(0);c[(B&p)+88>>2]=(c[(z&p)>>2]|0)+-1;if((d[(Ba&n)>>0]|0)>1)mg(ha,Y);if(v){xa=459;break}Ru(u,l);xa=459}else{xa=c[(I+(K*72|0)&p)+36>>2]|0;wh(ea,20,xa,0,c[(I+(K*72|0)&p)+32>>2]|0)|0;c[(k+(va*80|0)&p)+788>>2]=wh(ea,22,xa,J,0)|0;a[(k+(va*80|0)&n)+781>>0]=16;xa=459}while(0);if((xa|0)==459){xa=0;h=c[(ya&p)>>2]|0;do if((h|0)>0){x=k+(va*80|0)+772|0;y=ea+32|0;C=ea+4|0;D=ea+24|0;w=c[(za&p)>>2]|0;while(1){v=w+20|0;B=b[(v&o)>>1]|0;do if(!(B&6)){da=w+40|0;ca=ia;if(!((c[(ca&p)>>2]&c[(da&p)>>2]|0)==0?(c[(ca&p)+4>>2]&c[(da&p)+4>>2]|0)==0:0)){a[(ma&n)>>0]=1;break}A=c[(w&p)>>2]|0;if((c[(u&p)>>2]|0)!=0?(c[(A&p)+4>>2]&1|0)==0:0)break;do if(!(B&512))gt(ja,A,ga,16);else{z=wh(ea,46,c[(x&p)>>2]|0,0,0)|0;gt(ja,A,ga,16);if(!z)break;B=c[(y&p)>>2]|0;if(B>>>0>z>>>0)c[((c[(C&p)>>2]|0)+(z*20|0)&p)+8>>2]=B;c[((c[(D&p)>>2]|0)&p)+88>>2]=B+-1}while(0);b[(v&o)>>1]=e[(v&o)>>1]|4}while(0);h=h+-1|0;if((h|0)<=0)break;else w=w+48|0}x=c[(ya&p)>>2]|0;if((x|0)<=0){xa=475;break}z=c[(za&p)>>2]|0;while(1){do if(!(b[(z&o)+20>>1]&6)){if((b[(z&o)+18>>1]|0)!=1026)break;if((c[(z&p)+8>>2]|0)!=(q|0))break;if(c[(u&p)>>2]|0)break;B=c[(z&p)>>2]|0;h=Fu(Ia,q,c[(z&p)+12>>2]|0,t,s,3,0)|0;if(!h)break;if(b[(h&o)+20>>1]&4)break;A=mh(ha,48,0)|0;if(!A)break;K=A+0|0;C=(c[(h&p)>>2]|0)+0|0;h=K+48|0;do{c[(K&p)>>2]=c[(C&p)>>2];K=K+4|0;C=C+4|0}while((K|0)<(h|0));c[(A&p)+12>>2]=c[(B&p)+12>>2];gt(ja,A,ga,16);mg(ha,A)}while(0);x=x+-1|0;if((x|0)<=0)break;else z=z+48|0}}else xa=475;while(0);if((xa|0)==475)xa=0;u=c[(u&p)>>2]|0;do if(u){c[(k+(va*80|0)&p)+764>>2]=c[(ea&p)+32>>2];wh(ea,25,1,u,0)|0;at(ja);u=c[(ya&p)>>2]|0;if((u|0)<=0)break;x=0;w=c[(za
8 0,F=f+16|0,(E|0)<=(e[(F&o)>>1]|0)):0){l=Gg(c[(f&p)+68>>2]|0)|0;if(l){c[(q&p)>>2]=l;break}z=c[(f&p)+56>>2]|0;t=e[(f&o)+14>>1]|0;A=f+18|0;B=e[(A&o)>>1]<<1;v=g<<1;w=t+v|0;x=f+6|0;l=d[(x&n)>>0]|0;c[(C&p)>>2]=0;g=B+t|0;t=z+(l+5)|0;u=z+(l+6)|0;r=((d[(t&n)>>0]<<8|d[(u&n)>>0])+65535&65535)+1|0;b:do if((g|0)>(r|0)){c[(s&p)>>2]=54326;c[(s&p)+4>>2]=10788;bd(11,13600,s);l=11}else{s=g+2|0;do if((s|0)<=(r|0)){if((a[(z+l&n)+1>>0]|0)==0?(a[(z+l&n)+2>>0]|0)==0:0){D=20;break}c[(y&p)>>2]=0;g=Dq(f,k,C,y)|0;l=c[(C&p)>>2]|0;if(l)break b;if(!(c[(y&p)>>2]|0))if(!g)D=20;else r=g-z|0;else D=21}else D=20;while(0);if((D|0)==20)if((s+k|0)>(r|0))D=21;else D=23;if((D|0)==21){l=Eq(f)|0;c[(C&p)>>2]=l;if(l)break;r=((d[(t&n)>>0]<<8|d[(u&n)>>0])+65535&65535)+1|0;D=23}if((D|0)==23){r=r-k|0;a[(t&n)>>0]=r>>>8;a[(u&n)>>0]=r}b[(A&o)>>1]=(b[(A&o)>>1]|0)+1<<16>>16;b[(F&o)>>1]=(e[(F&o)>>1]|0)-E;l=z+r|0;kw(l|0,h|0,k|0)|0;if(m){a[(l&n)>>0]=m>>>24;a[(z+r&n)+1>>0]=m>>>16;a[(z+r&n)+2>>0]=m>>>8;a[(z+r&n)+3>>0]=m}m=z+w|0;lw(z+(w+2)|0,m|0,B-v|0)|0;a[(m&n)>>0]=r>>>8;a[(z+w&n)+1>>0]=r;a[(z+(d[(x&n)>>0]|0)&n)+3>>0]=(e[(A&o)>>1]|0)>>>8;a[(z+(d[(x&n)>>0]|0)&n)+4>>0]=b[(A&o)>>1];if(!(a[((c[(f&p)+52>>2]|0)&n)+17>>0]|0))break a;Fq(f,h,q);break a}while(0);c[(q&p)>>2]=l;break}if(!l)l=h;else kw(l|0,h|0,k|0)|0;if(m){a[(l&n)>>0]=m>>>24;a[(l&n)+1>>0]=m>>>16;a[(l&n)+2>>0]=m>>>8;a[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)>0){y=e[(K&o)+20>>1]|0;x=e[(K&o)+14>>1]|0;w=0;v=s;while(1){P=(w<<1)+x|0;P=g+((d[(g+P&n)>>0]<<8|d[(g+P&n)+1>>0])&y)|0;c[(Z+(v<<2)&p)>>2]=P;b[(X+(v<<1)&o)>>1]=Lp(K,P)|0;w=w+1|0;if((w|0)==(H|0))break;else v=v+1|0}s=H+s|0}}else if((E|0)>0){z=K+56|0;x=K+20|0;w=K+64|0;v=0;g=s;while(1){y=v;C=D;b:while(1){while(1){A=C+-1|0;if((C|0)<=0){ea=72;break b}C=e[(K+(A<<1)&o)+22>>1]|0;if((C|0)>(y|0))C=A;else{B=C;C=A;break}}if((B|0)==(y|0)){ea=71;break}else y=y+-1|0}if((ea|0)==71){ea=0;y=c[(K+(C<<2)&p)+32>>2]|0}else if((ea|0)==72){ea=0;y=y<<1;P=c[(w&p)>>2]|0;y=(c[(z&p)>>2]|0)+((d[(P+y&n)>>0]<<8|d[(P+(y|1)&n)>>0])&e[(x&o)>>1])|0}c[(Z+(g<<2)&p)>>2]=y;b[(X+(g<<1)&o)>>1]=Lp(K,y)|0;v=v+1|0;if((v|0)==(E|0))break;else g=g+1|0}s=H+s+D|0}c[(Fa+(q<<2)&p)>>2]=s;if((q|0)>=(ba|0)|I)t=L;else{k=c[(Pa+(q<<2)&p)>>2]|0;u=X+(s<<1)|0;b[(u&o)>>1]=k;k=k&65535;t=k+L|0;kw(J+L|0,c[(Ba+(q<<2)&p)>>2]|0,k|0)|0;k=Z+(s<<2)|0;c[(k&p)>>2]=J+(L+U);m=(e[(u&o)>>1]|0)-U|0;b[(u&o)>>1]=m;do if(!(a[(K&n)+5>>0]|0)){P=c[(k&p)>>2]|0;O=(c[(K&p)+56>>2]|0)+8|0;O=d[(O&n)>>0]|d[(O&n)+1>>0]<<8|d[(O&n)+2>>0]<<16|d[(O&n)+3>>0]<<24;a[(P&n)>>0]=O;a[(P&n)+1>>0]=O>>8;a[(P&n)+2>>0]=O>>16;a[(P&n)+3>>0]=O>>24}else{if((m&65532)>>>0>=4)break;a[(J+t&n)>>0]=0;b[(u&o)>>1]=4;t=t+1|0}while(0);s=s+1|0}q=q+1|0;if((q|0)>=(ca|0))break;K=c[(Da+(q<<2)&p)>>2]|0;L=t}t=U+-12+(c[(Q&p)>>2]|0)|0;if((s|0)>0){u=I<<31>>31;m=0;k=0;q=0;do{g=q+2+(e[(X+(m<<1)&o)>>1]|0)|0;if((g|0)>(t|0)){c[(Pa+(k<<2)&p)>>2]=q;c[(Ea+(k<<2)&p)>>2]=m;if((k|0)>3){ea=91;break}else{m=m+u|0;k=k+1|0;q=0}}else q=g;m=m+1|0}while((m|0)<(s|0));if((ea|0)==91){ea=0;c[(Qa&p)>>2]=59904;c[(Qa&p)+4>>2]=10788;bd(11,13600,Qa);c[(Na&p)>>2]=11;m=Z;q=0;break}c[(Pa+(k<<2)&p)>>2]=q;c[(Ea+(k<<2)&p)>>2]=s;if((k|0)>0){E=(N|0)==0;m=k;do{v=Pa+(m<<2)|0;m=m+-1|0;g=Pa+(m<<2)|0;w=Ea+(m<<2)|0;A=c[(w&p)>>2]|0;D=c[(g&p)>>2]|0;u=q;while(1){z=A+-1|0;y=A-F|0;if(u){if(!E){q=D;break}B=b[(X+(y<<1)&o)>>1]|0;C=u+2|0;y=b[(X+(z<<1)&o)>>1]|0;x=D+-2|0;if(((B&65535)+C|0)>(x-(y&65535)|0)){q=D;break}}else{x=D+-2|0;C=2;B=b[(X+(y<<1)&o)>>1]|0;y=b[(X+(z<<1)&o)>>1]|0}c[(w&p)>>2]=z;A=z;D=x-(y&65535)|0;u=(B&65535)+C|0}c[(v&p)>>2]=u;c[(g&p)>>2]=q}while((m|0)>0);L=1;P=t;O=s}else{L=1;P=t;O=s}}else ea=93}else{t=U+-12+(c[(Q&p)>>2]|0)|0;s=0;ea=93}if((ea|0)==93){ea=0;c[(Pa&p)>>2]=0;c[(Ea&p)>>2]=s;L=0;P=t;k=0;O=s}if((c[(M&p)+72>>2]|0)>>>0<2){c[(Qa&p)>>2]=59963;c[(Qa&p)+4>>2]=10788;bd(11,13600,Qa);c[(Na&p)>>2]=11;m=Z;q=0;break}H=d[(c[(M&p)+56>>2]&n)>>0]|0;if((k|0)>-1){v=(N|0)!=0;g=aa+17|0;m=da+72|0;x=0;q=0;while(1){do if((x|0)<(ca|0)){M=Da+(x<<2)|0;N=c[(M&p)>>2]|0;c[(Ca+(x<<2)&p)>>2]=N;c[(Ja&p)>>2]=N;c[(M&p)>>2]=0;N=Gg(c[(N&p)+68>>2]|0)|0;c[(Na&p)>>2]=N;q=q+1|0;if(N){m=Z;break a}}else{N=ip(aa,Ja,Ka,v?1:c[(Ka&p)>>2]|0,0)|0;c[(Na&p)>>2]=N;if(N){m=Z;break a}t=c[(Ja&p)>>2]|0;pl(t,H);c[(Ca+(x<<2)&p)>>2]=t;q=q+1|0;c[(Fa+(x<<2)&p)>>2]=O;if(!(a[(g&n)>>0]|0))break;zp(aa,c[(t&p)+72>>2]|0,5,c[(m&p)>>2]|0,Na);if(c[(Na&p)>>2]|0){m=Z;break a}}while(0);if((x|0)<(k|0))x=x+1|0;else break}if((q|0)>0){s=0;c:do{N=c[(Ca+(s<<2)&p)>>2]|0;t=c[(N&p)+72>>2]|0;c[(za+(s<<2)&p)>>2]=t;c[(ya+(s<<2)&p)>>2]=t;b[(xa+(s<<1)&o)>>1]=b[((c[(N&p)+68>>2]|0)&o)+24>>1]|0;if((s|0)>0){m=0;do{if((c[(za+(m<<2)&p)>>2]|0)==(t|0)){ea=118;break c}m=m+1|0}while((m|0)<(s|0))}s=s+1|0}while((s|0)<(q|0));if((ea|0)==118){ea=0;c[(Qa&p)>>2]=60018;c[(Qa&p)+4>>2]=10788;bd(11,13600,Qa);c[(Na&p)>>2]=11;m=Z;break}u=(q|0)>1;m=aa+44|0;k=0;do{if(u){s=0;t=1;do{s=(c[(ya+(t<<2)&p)>>2]|0)>>>0<(c[(ya+(s<<2)&p)>>2]|0)>>>0?t:s;t=t+1|0}while((t|0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(va&p)>>2]=0;c[(va&p)+4>>2]=0;c[(va&p)+8>>2]=0;c[(va&p)+12>>2]=0;c[(va&p)+16>>2]=0;c[(va&p)+20>>2]=0;c[(va&p)+24>>2]=0;c[(va&p)>>2]=c[(la&p)>>2];na=g+32|0;x=c[(na&p)>>2]|0;w=c[(g&p)>>2]|0;b:do if(((c[(k&p)>>2]|0)==0?(a[(pa&n)>>0]|0)==0:0)?(ta=g+6|0,z=(e[(ta&o)>>1]|0)>>>2&1,wa=Oq(f)|0,(wa|0)!=0):0){if((c[(w&p)>>2]|0)>1?(a[(h&n)>>0]&-2)<<24>>24==10:0){th(f,35368,ra);za=444;break}qa=g+52|0;w=c[(qa&p)>>2]|0;c:do if(!w){r=f+460|0;q=f+492|0;m=g+36|0;l=f+408|0;k=g+60|0;T=g+64|0;U=g+4|0;V=xa+60|0;W=wa+32|0;X=f+72|0;Y=ga+4|0;Z=ga+1|0;_=ga+8|0;$=ga+12|0;aa=wa+4|0;ba=wa+24|0;ca=f+19|0;da=f+56|0;ea=f+80|0;S=0;y=z;while(1){if((S|0)>=(c[(x&p)>>2]|0)){H=m;Q=0;z=y;U=x;break c}N=c[(x+(S*72|0)&p)+28>>2]|0;do if(!N)z=S;else{P=x+(S*72|0)+32|0;A=c[(P&p)>>2]|0;if(A){if(a[(x+(S*72|0)&n)+45>>0]&4){z=S;break}wh(wa,17,c[(x+(S*72|0)&p)+36>>2]|0,A,0)|0;z=S;break}c[(ra&p)>>2]=0;Es(g,ra);c[(r&p)>>2]=(c[(r&p)>>2]|0)+(c[(ra&p)>>2]|0);v=b[(N&o)+6>>1]&4;Q=c[(q&p)>>2]|0;u=c[(f&p)>>2]|0;d:do if(!(b[(u&o)+60>>1]&1)){L=c[(na&p)>>2]|0;t=c[(L+(S*72|0)&p)+48>>2]|0;K=L+(S*72|0)+28|0;O=c[(K&p)>>2]|0;s=v<<16>>16!=0;do if(s){if(y){za=120;break d}if((c[(L&p)>>2]|0)>1){za=120;break d}R=c[(m&p)>>2]|0;if((R|0)!=0?(c[(R&p)+4>>2]&2097152|0)!=0:0){za=120;break d}H=c[(g&p)>>2]|0;do if(H){E=c[(H&p)>>2]|0;if((E|0)<=0)break;I=c[(H&p)+4>>2]|0;H=0;F=0;do{F=c[((c[(I+(H*20|0)&p)>>2]|0)&p)+4>>2]|F;H=H+1|0}while((H|0)!=(E|0));if(F&2097152){za=120;break d}}while(0);H=c[(la&p)>>2]|0;if(!H)break;E=c[(H&p)>>2]|0;if((E|0)<=0)break;I=c[(H&p)+4>>2]|0;H=0;F=0;do{F=c[((c[(I+(H*20|0)&p)>>2]|0)&p)+4>>2]|F;H=H+1|0}while((H|0)!=(E|0));if(F&2097152){za=120;break d}}while(0);I=c[(O&p)+32>>2]|0;H=(c[(O&p)+60>>2]|0)==0;if(!H?(c[(k&p)>>2]|0)!=0:0){za=120;break}if(c[(O&p)+64>>2]|0){za=120;break}E=b[(ta&o)>>1]|0;F=(E&64)==0;if(!(F|H)){za=120;break}if(!(c[(I&p)>>2]|0)){za=120;break}D=b[(O&o)+6>>1]|0;if(D&1){za=120;break}I=H|F^1;if(!I?(c[(L&p)>>2]|0)>1|(y|0)!=0:0){za=120;break}H=E&1;if(H<<16>>16!=0&s){za=120;break}B=c[(la&p)>>2]|0;C=(B|0)==0;if(!C?(c[(O&p)+48>>2]|0)!=0:0){za=120;break}J=(y|0)!=0;if(J?(c[(O&p)+48>>2]|0)!=0:0){za=120;break}if(I){if(D&6144){za=120;break}}else if(!((c[(m&p)>>2]|0)==0&H<<16>>16==0&(D&6144)==0)){za=120;break}if((E&2048)!=0?(c[(O&p)+52>>2]|0)!=0:0){za=120;break}R=L+(S*72|0)+44|0;if(a[(R&n)>>0]&32){za=120;break}E=O+52|0;I=c[(E&p)>>2]|0;do if(I){if(!(H<<16>>16==0&(((c[(O&p)+48>>2]|0)!=0|J)^1))){zaza=120;break d}e:do if(O){if(!(D&5))F=O;else{za=120;break d}while(1){H=(I|0)==0;if(!H?(a[(F&n)+4>>0]|0)!=116:0){za=120;break d}if((c[(c[(F&p)+32>>2]&p)>>2]|0)<1){za=120;break d}if((c[(c[(O&p)>>2]&p)>>2]|0)!=(c[(c[(F&p)>>2]&p)>>2]|0)){za=120;break d}if(H)break e;if(b[(I&o)+6>>1]&5){za=120;break d}F=I;I=c[(I&p)+52>>2]|0}}while(0);if(C)break;F=c[(B&p)>>2]|0;if((F|0)<=0)break;I=c[(B&p)+4>>2]|0;H=0;do{if(!(b[(I+(H*20|0)&o)+16>>1]|0)){za=120;break d}H=H+1|0}while((H|0)<(F|0))}while(0);A=L+(S*72|0)+16|0;c[(q&p)>>2]=c[(A&p)>>2];Sq(f,21,0,0,0)|0;c[(q&p)>>2]=Q;I=c[(E&p)>>2]|0;f:do if(!I)za=81;else{B=u+65|0;E=c[(la&p)>>2]|0;D=c[(k&p)>>2]|0;C=c[(T&p)>>2]|0;F=c[(qa&p)>>2]|0;while(1){c[(la&p)>>2]=0;c[(na&p)>>2]=0;c[(qa&p)>>2]=0;c[(k&p)>>2]=0;c[(T&p)>>2]=0;H=gr(u,g,0)|0;c[(T&p)>>2]=C;c[(k&p)>>2]=D;c[(la&p)>>2]=E;c[(na&p)>>2]=L;a[(U&n)>>0]=116;if(!H)H=F;else{c[(H&p)+52>>2]=F;if(F)c[(F&p)+56>>2]=H;c[(H&p)+56>>2]=g}c[(qa&p)>>2]=H;if(a[(B&n)>>0]|0)break f;I=c[(I&p)+52>>2]|0;if(!I){za=81;break}else F=H}}while(0);if((za|0)==81){za=0;M=c[(K&p)>>2]|0;E=L+(S*72|0)+12|0;mg(u,c[(E&p)>>2]|0);mg(u,c[(A&p)>>2]|0);F=L+(S*72|0)+20|0;mg(u,c[(F&p)>>2]|0);c[(E&p)>>2]=0;c[(A&p)>>2]=0;c[(F&p)>>2]=0;c[(K&p)>>2]=0;F=L+(S*72|0)+24|0;E=c[(F&p)>>2]|0;if(E){D=E+40|0;C=b[(D&o)>>1]|0;if(C<<16>>16==1){Q=c[(l&p)>>2]|0;Q=((Q|0)==0?f:Q)+524|0;c[(E&p)+72>>2]=c[(Q&p)>>2];c[(Q&p)>>2]=E}else b[(D&o)>>1]=C+-1<<16>>16;c[(F&p)>>2]=0}Q=S+1|0;P=u+65|0;O=g;N=M;while(1){B=c[(N&p)+32>>2]|0;A=c[(B&p)>>2]|0;H=O+32|0;I=c[(H&p)>>2]|0;if(!I){I=pr(u,0,0,0)|0;c[(H&p)>>2]=I;if(!I)break;else z=0}else z=a[(R&n)>>0]|0;if((A|0)>1){I=Fs(u,I,A+-1|0,Q)|0;c[(H&p)>>2]=I;if(a[(P&n)>>0]|0)break}if((A|0)>0){F=0;do{D=F+S|0;Hk(u,c[(I+(D*72|0)&p)+56>>2]|0);H=B+(F*72|0)+8|0;D=I+(D*72|0)+8|0;E=H+0|0;C=D+72|0;do{c[(D&p)>>2]=c[(E&p)>>2];D=D+4|0;E=E+4|0}while((D|0)<(C|0));D=H+0|0;C=D+72|0;do{c[(D&p)>>2]=0;D=D+4|0}while((D|0)<(C|0));F=F+1|0}while((F|0)!=(A|0))}a[(I+(S*72|0)&n)+44>>0]=z;H=c[(O&p)>>2]|0;I=c[(H&p)>>2]|0;if((I|0)>0){D=H+4|0;F=c[(D&p)>>2]|0;E=0;do{if(!(c[(F+(E*20|0)&p)+4>>2]|0)){I=kh(u,c[(F+(E*20|0)&p)+8>>2]|0)|0;lo(I);F=c[(D&p)>>2]|0;c[(F+(E*20|0)&p)+4>>2]=I;I=c[(H&p)>>2]|0}E=E+1|0}while((E|0)<(I|0));H=c[(O&p)>>2]|0}Gs(u,H,t,c[(N&p)>>2]|0);if(J){Gs(u,c[(O&p)+40>>2]|0,t,c[(N&p)>>2]|0);L=O+44|0;c[(L&p)>>2]=Hs(u,c[(L&p)>>2]|0,t,c[(N&p)>>2]|0)|0}I=N+48|0;H=c[(I&p)>>2]|0;do if(!H){H=c[(O&p)+48>>2]|0;if(!H)break;Gs(u,H,t,c[(N&p)>>2]|0)}else{F=c[(H&p)>>2]|0;if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2]|0);x=c[(na&p)>>2]|0;if((d[(h&n)>>0]|0)<9)break;c[(va&p)>>2]=c[(la&p)>>2]}while(0);w=c[(qa&p)>>2]|0;if(!w)S=z+1|0;else{H=m;Q=w;z=y;U=x;break}}}else{H=g+36|0;Q=w;U=x}while(0);T=c[(g&p)>>2]|0;B=c[(H&p)>>2]|0;l=g+40|0;w=c[(l&p)>>2]|0;I=g+44|0;ga=c[(I&p)>>2]|0;m=b[(ta&o)>>1]|0;a[(ua&n)>>0]=m&1;if(Q){O=c[(f&p)>>2]|0;c[(sa&p)>>2]=c[(h&p)>>2];c[(sa&p)+4>>2]=c[(h&p)+4>>2];c[(sa&p)+8>>2]=c[(h&p)+8>>2];c[(sa&p)+12>>2]=c[(h&p)+12>>2];c[(sa&p)+16>>2]=c[(h&p)+16>>2];h:do if(!(c[(Q&p)+48>>2]|0)){x=Q+60|0;if(c[(x&p)>>2]|0){k=d[(g&n)+4>>0]|0;if((k|0)==118)k=35336;else if((k|0)==117)k=35352;else if((k|0)==116)k=35320;else k=35360;c[(ra&p)>>2]=k;th(f,35072,ra);m=0;k=1;za=227;break}R=Oq(f)|0;t=a[(sa&n)>>0]|0;if(t<<24>>24==12){wh(R,57,c[(sa&p)+4>>2]|0,c[(c[(g&p)>>2]&p)>>2]|0,0)|0;t=c[(R&p)+4>>2]|0;if(t)a[(t+(((c[(R&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=8;a[(sa&n)>>0]=14;t=14}s=e[(ta&o)>>1]|0;if(s&256){m=0;k=Is(f,g,sa)|0;za=227;break}if((c[(c[(g&p)>>2]&p)>>2]|0)!=(c[(c[(Q&p)>>2]&p)>>2]|0)){Js(f,g);m=0;k=1;za=227;break}do if(!(s&2048)){if(c[(la&p)>>2]|0){k=Ls(f,g,h)|0;break h}P=g+4|0;s=d[(P&n)>>0]|0;if((s|0)==116){v=g+8|0;t=Q+8|0;c[(t&p)>>2]=c[(v&p)>>2];u=g+12|0;s=Q+12|0;c[(s&p)>>2]=c[(u&p)>>2];da=g+60|0;c[(x&p)>>2]=c[(da&p)>>2];ea=g+64|0;c[(Q&p)+64>>2]=c[(ea&p)>>2];q=c[(oa&p)>>2]|0;k=ir(f,Q,sa)|0;c[(da&p)>>2]=0;c[(ea&p)>>2]=0;if(k){m=0;za=227;break h}c[(qa&p)>>2]=0;t=c[(t&p)>>2]|0;c[(v&p)>>2]=t;c[(u&p)>>2]=c[(s&p)>>2];if(!t)w=0;else w=wh(R,46,t,0,0)|0;l=c[(oa&p)>>2]|0;k=ir(f,g,sa)|0;m=c[(qa&p)>>2]|0;c[(qa&p)>>2]=Q;ea=Q+24|0;r=g+24|0;t=r;ea=jw(c[(t&p)>>2]|0,c[(t&p)+4>>2]|0,c[(ea&p)>>2]|0,c[(ea&p)+4>>2]|0)|0;t=r;c[(t&p)>>2]=ea;c[(t&p)+4>>2]=G;t=c[(x&p)>>2]|0;do if(t){ea=(Ms(t,ka)|0)!=0;t=c[(ka&p)>>2]|0;if(!(ea&(t|0)>0))break;ea=r;da=c[(ea&p)+4>>2]|0;s=((t|0)<0)<<31>>31;if(!(da>>>0>s>>>0|((da|0)==(s|0)?(c[(ea&p)>>2]|0)>>>0>t>>>0:0)))break;ea=r;c[(ea&p)>>2]=t;c[(ea&p)+4>>2]=s}while(0);if(!w){w=P;v=q;t=l;break}r=c[(R&p)+32>>2]|0;if(r>>>0>w>>>0)c[((c[(R&p)+4>>2]|0)+(w*20|0)&p)+8>>2]=r;c[((c[(R&p)+24>>2]|0)&p)+88>>2]=r+-1;w=P;v=q;t=l;break}else if((s|0)==115|(s|0)==117){if(t<<24>>24==1)s=c[(sa&p)+4>>2]|0;else{r=f+68|0;s=c[(r&p)>>2]|0;c[(r&p)>>2]=s+1;c[(g&p)+16>>2]=wh(R,57,s,0,0)|0;r=g;while(1){t=c[(r&p)+56>>2]|0;if(!t)break;else r=t}ea=r+6|0;b[(ea&o)>>1]=e[(ea&o)>>1]|8}a[(ia&n)>>0]=1;c[(ia&p)+4>>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&p)+24>>2]|0}l=wh(R,101,A,t,0)|0;xh(R,wh(R,68,y,w,t)|0,0,-14);_r(f,t);Ps(f,g,c[(g&p)>>2]|0,A,0,0,sa,w,q);t=R+24|0;s=c[(t&p)>>2]|0;u=~w;do if((w|0)<0){v=c[(s&p)+112>>2]|0;if(!v)break;c[(v+(u<<2)&p)>>2]=c[(R&p)+32>>2]}while(0);v=R+32|0;c[(s&p)+88>>2]=(c[(v&p)>>2]|0)+-1;wh(R,9,A,l,0)|0;s=c[(t&p)>>2]|0;r=~q;do if((q|0)<0){t=c[(s&p)+112>>2]|0;if(!t)break;c[(t+(r<<2)&p)>>2]=c[(v&p)>>2]}while(0);c[(s&p)+88>>2]=(c[(v&p)>>2]|0)+-1;wh(R,61,y,0,0)|0;wh(R,61,A,0,0)|0;w=P;v=x;t=z;break}}else{Ks(f,g,sa);w=g+4|0;v=0;t=0;m=0;k=0}while(0);ea=a[(w&n)>>0]|0;Qs(f,ea&255,v,t,ea<<24>>24!=116&1);if(!(b[(ta&o)>>1]&8)){za=227;break}u=c[(c[(g&p)>>2]&p)>>2]|0;v=Rs(O,u,1)|0;if(!v){k=7;za=227;break}if((u|0)>0){l=O+8|0;q=v+20|0;r=0;while(1){ea=Ss(f,g,r)|0;c[(q&p)>>2]=ea;if(!ea)c[(q&p)>>2]=c[(l&p)>>2];r=r+1|0;if((r|0)==(u|0))break;else q=q+4|0}}s=R+32|0;t=R+4|0;do{l=0;do{r=g+(l<<2)+16|0;q=c[(r&p)>>2]|0;if((q|0)<0)break;if((c[(s&p)>>2]|0)>>>0>q>>>0)c[((c[(t&p)>>2]|0)+(q*20|0)&p)+8>>2]=u;c[(v&p)>>2]=(c[(v&p)>>2]|0)+1;xh(R,q,v,-6);c[(r&p)>>2]=-1;l=l+1|0}while((l|0)<2);g=c[(g&p)+52>>2]|0}while((g|0)!=0);ea=(c[(v&p)>>2]|0)+-1|0;c[(v&p)>>2]=ea;if(ea){za=227;break}Wc(v);za=227}else{k=d[(g&n)+4>>0]|0;if((k|0)==118)k=35336;else if((k|0)==117)k=35352;else if((k|0)==116)k=35320;else k=35360;c[(ra&p)>>2]=k;th(f,35024,ra);m=0;k=1;za=227}while(0);if((za|0)==227){c[(h&p)+8>>2]=c[(sa&p)+8>>2];c[(h&p)+12>>2]=c[(sa&p)+12>>2];Mk(O,m,1)}c[(Aa&p)>>2]=Ba;break a}if((m&5)==1){k=c[(va&p)>>2]|0;if(!(Ts(k,T,-1)|0)){b[(ta&o)>>1]=m&65534;w=Pr(xa,T,0)|0;c[(l&p)>>2]=w;za=232}}else za=232;if((za|0)==232)k=c[(va&p)>>2]|0;if(!k)k=-1;else{ea=Us(f,k,0,c[(T&p)>>2]|0)|0;da=f+68|0;k=c[(da&p)>>2]|0;c[(da&p)>>2]=k+1;c[(va&p)+8>>2]=k;k=wh(wa,57,k,(c[(c[(va&p)>>2]&p)>>2]|0)+1+(c[(T&p)>>2]|0)|0,0)|0;xh(wa,k,ea,-6)}R=va+20|0;c[(R&p)>>2]=k;if((a[(h&n)>>0]|0)==12)wh(wa,57,c[(h&p)+4>>2]|0,c[(T&p)>>2]|0,0)|0;qa=xs(wa)|0;y=g+24|0;ea=y;c[(ea&p)>>2]=-1;c[(ea&p)+4>>2]=2147483647;Os(f,g,qa);if((c[(g&p)+8>>2]|0)==0?(ha=c[(R&p)>>2]|0,(ha|0)>-1):0){if(!(a[((c[(wa&p)>>2]|0)&n)+65>>0]|0))k=(c[(wa&p)+4>>2]|0)+(ha*20|0)|0;else k=29120;a[(k&n)>>0]=58;ea=va+24|0;a[(ea&n)>>0]=d[(ea&n)>>0]|1}if(!(b[(ta&o)>>1]&1))a[(ua&n)+1>>0]=0;else{ea=f+68|0;k=c[(ea&p)>>2]|0;c[(ea&p)>>2]=k+1;c[(ua&p)+4>>2]=k;ea=Us(f,c[(g&p)>>2]|0,0,0)|0;k=wh(wa,57,k,0,0)|0;xh(wa,k,ea,-6);c[(ua&p)+8>>2]=k;k=c[(wa&p)+4>>2]|0;if(k)a[(k+(((c[(wa&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=8;a[(ua&n)+1>>0]=3}if((z|0)==0&(w|0)==0){v=Vs(f,U,B,c[(va&p)>>2]|0,c[(g&p)>>2]|0,(a[(ua&n)>>0]|0)!=0?1024:0,0)|0;if(!v){za=444;break}t=Ws(b[(v&o)+32>>1]|0)|0;s=G;ea=y;da=c[(ea&p)+4>>2]|0;if(s>>>0<da>>>0|((s|0)==(da|0)?t>>>0<(c[(ea&p)>>2]|0)>>>0:0)){ea=y;c[(ea&p)>>2]=t;c[(ea&p)+4>>2]=s}do if(a[(ua&n)>>0]|0){t=a[(v&n)+40>>0]|0;if(!(t<<24>>24))break;a[(ua&n)+1>>0]=t}while(0);t=c[(va&p)>>2]|0;do if(!t)za=257;else{ea=a[(v&n)+36>>0]|0;c[(va&p)+4>>2]=ea;if((ea|0)!=(c[(t&p)>>2]|0))break;c[(va&p)>>2]=0;za=257}while(0);do if((za|0)==257){r=c[(R&p)>>2]|0;if((r|0)<=-1)break;zh(wa,r)}while(0);Ps(f,g,T,-1,va,ua,h,c[(v&p)+48>>2]|0,c[(v&p)+52>>2]|0);Xs(v)}else{z=(w|0)!=0;do if(z){l=c[(g&p)>>2]|0;k=c[(l&p)>>2]|0;if((k|0)>0){l=c[(l&p)+4>>2]|0;while(1){b[(l&o)+18>>1]=0;k=k+-1|0;if((k|0)<=0)break;else l=l+20|0}}k=c[(w&p)>>2]|0;if((k|0)>0){l=c[(w&p)+4>>2]|0;while(1){b[(l&o)+18>>1]=0;k=k+-1|0;if((k|0)<=0)break;else l=l+20|0}}ea=y;da=c[(ea&p)+4>>2]|0;if(!(da>>>0>0|(da|0)==0&(c[(ea&p)>>2]|0)>>>0>100))break;ea=y;c[(ea&p)>>2]=100;c[(ea&p)+4>>2]=0}else{ea=y;c[(ea&p)>>2]=1;c[(ea&p)+4>>2]=0}while(0);P=(Ts(w,c[(va&p)>>2]|0,-1)|0)==0;S=xs(wa)|0;c[(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[(K&p)>>2]=Q;O=xs(wa)|0;t=c[(K&p)>>2]|0;r=t+1|0;ea=c[(w&p)>>2]|0;da=ea+t|0;s=da+1|0;c[(K&p)>>2]=da+ea;wh(wa,25,0,J,0)|0;wh(wa,25,0,M,0)|0;wh(wa,28,0,r,(c[(w&p)>>2]|0)+t|0)|0;wh(wa,17,Q,O,0)|0;t=Vs(f,U,B,w,0,P?2304:256,0)|0;if(!t){zaza=372;break}v=c[(na&p)>>2]|0;if((c[(v&p)>>2]|0)!=1){za=372;break}if(c[(v&p)+28>>2]|0){za=372;break}A=c[(v&p)+24>>2]|0;v=c[(c[(u&p)+4>>2]&p)>>2]|0;z=A+44|0;if(a[(z&n)>>0]&16){za=372;break}if((a[(v&n)>>0]|0)!=-101|(k|0)==0){za=372;break}y=ya+40|0;if(!(b[((c[((c[(y&p)>>2]|0)&p)+4>>2]|0)&o)+2>>1]&256)){za=372;break}if((A|0)==0?1:(c[(v&p)+4>>2]&16|0)!=0){za=372;break}v=c[(f&p)>>2]|0;k=c[(A&p)+68>>2]|0;i:do if(!k)u=-1e6;else{l=c[(v&p)+20>>2]|0;if((l|0)<=0){u=0;break}v=c[(v&p)+16>>2]|0;w=0;while(1){u=w+1|0;if((c[(v+(w<<4)&p)+12>>2]|0)==(k|0)){u=w;break i}if((u|0)<(l|0))w=u;else break}}while(0);w=f+68|0;q=c[(w&p)>>2]|0;c[(w&p)>>2]=q+1;w=A+32|0;k=c[(w&p)>>2]|0;Ar(f,u);gs(f,u,c[(w&p)>>2]|0,0,c[(A&p)>>2]|0);w=c[(A&p)+8>>2]|0;j:do if(!(a[(z&n)>>0]&32)){v=0;za=351}else{if(!w){l=1;m=0;w=0;break}else v=w;while(1){if((a[(v&n)+51>>0]&3)==2){za=351;break j}v=c[(v&p)+20>>2]|0;if(!v){v=0;za=351;break}}}while(0);do if((za|0)==351){if(w){m=A+42|0;l=w;do{do if(!(a[(l&n)+51>>0]&4)){w=b[(l&o)+44>>1]|0;if(w<<16>>16>=(b[(m&o)>>1]|0))break;if(c[(l&p)+36>>2]|0)break;if((v|0)!=0?w<<16>>16>=(b[(v&o)+44>>1]|0):0)break;v=l}while(0);l=c[(l&p)+20>>2]|0}while((l|0)!=0)}if(!v){l=1;m=0;w=0;break}k=c[(v&p)+40>>2]|0;l=0;m=v;w=hs(f,v)|0}while(0);xh(wa,wh(wa,54,q,k,u)|0,1,-14);if(w)xh(wa,-1,w,-6);wh(wa,50,q,c[((c[(y&p)>>2]|0)&p)+8>>2]|0,0)|0;wh(wa,61,q,0,0)|0;if((a[(f&n)+450>>0]|0)!=2){t=0;break}do if(l){v=c[(A&p)>>2]|0;u=10360;s=10360;t=c[(f&p)>>2]|0}else{if(a[(z&n)>>0]&32){ea=(a[(m&n)+51>>0]&3)!=2;t=c[(f&p)>>2]|0;v=c[(A&p)>>2]|0;u=ea?34920:10360;if(!ea){s=10360;break}}else{u=34920;v=c[(A&p)>>2]|0;t=c[(f&p)>>2]|0}s=c[(m&p)>>2]|0}while(0);c[(ra&p)>>2]=v;c[(ra&p)+4>>2]=u;c[(ra&p)+8>>2]=s;t=uh(t,34896,ra)|0;ea=c[(f&p)+8>>2]|0;xh(ea,wh(ea,157,c[(Aa&p)>>2]|0,0,0)|0,t,-1);t=0}else za=372;while(0);if((za|0)==372){do if((c[(I&p)>>2]|0)==0&(k|0)==1){t=c[(c[(ya&p)+40>>2]&p)>>2]|0;v=c[(t&p)+20>>2]|0;if(!v){t=0;s=0;break}if((c[(v&p)>>2]|0)!=1){t=0;s=0;break}if((a[(c[(c[(v&p)+4>>2]&p)>>2]&n)>>0]|0)!=-100){t=0;s=0;break}t=c[(t&p)+8>>2]|0;if(dd(t,18760)|0)if(!(dd(t,18768)|0))s=2;else{t=0;s=0;break}else s=1;t=Pr(xa,v,0)|0;if(!t){t=0;break}if(a[(pa&n)>>0]|0)break;ea=c[(t&p)+4>>2]|0;a[(ea&n)+12>>0]=s<<24>>24!=1&1;a[(c[(ea&p)>>2]&n)>>0]=-102}else{t=0;s=0}while(0);ht(f,ya);s=Vs(f,U,B,t,0,s&255,0)|0;if(!s){Nk(xa,t);za=444;break}et(f,ya);if((a[(s&n)+36>>0]|0)>0)wh(wa,16,0,c[(s&p)+52>>2]|0,0)|0;Xs(s);ft(f,ya)}c[(va&p)>>2]=0;gt(f,ga,S,16);Ps(f,g,c[(g&p)>>2]|0,-1,0,0,h,S,S);Nk(xa,t);r=wa+24|0}t=c[(r&p)>>2]|0;s=~S;do if((S|0)<0){r=c[(t&p)+112>>2]|0;if(!r)break;c[(r+(s<<2)&p)>>2]=c[(wa&p)+32>>2]}while(0);c[(t&p)+88>>2]=(c[(wa&p)+32>>2]|0)+-1}if((a[(ua&n)+1>>0]|0)==3)$s(f,34808);if(c[(va&p)>>2]|0){x=va+4|0;$s(f,(c[(x&p)>>2]|0)>0?34840:34864);A=c[(T&p)>>2]|0;v=f+8|0;H=c[(v&p)>>2]|0;I=xs(H)|0;F=xs(H)|0;q=c[(va&p)>>2]|0;m=a[(h&n)>>0]|0;B=m&255;C=h+4|0;D=c[(C&p)>>2]|0;y=va+16|0;w=c[(y&p)>>2]|0;if(w){wh(H,17,c[(va&p)+12>>2]|0,w,0)|0;wh(H,16,0,I,0)|0;ea=c[(y&p)>>2]|0;w=c[(H&p)+24>>2]|0;k=~ea;do if((ea|0)<0){l=c[(w&p)+112>>2]|0;if(!l)break;c[(l+(k<<2)&p)>>2]=c[(H&p)+32>>2]}while(0);c[(w&p)+88>>2]=(c[(H&p)+32>>2]|0)+-1}E=c[(va&p)+8>>2]|0;t=m<<24>>24==9;k:do if((m&-5)<<24>>24==9){s=A;u=c[(h&p)+8>>2]|0;k=0}else{w=f+19|0;k=a[(w&n)>>0]|0;do if(k<<24>>24){ea=k+-1<<24>>24;a[(w&n)>>0]=ea;l=c[(f+((ea&255)<<2)&p)+24>>2]|0;if(!(ea<<24>>24)){k=l;w=c[(f&p)+72>>2]|0;break}else{u=k+-2<<24>>24;a[(w&n)>>0]=u;s=1;u=c[(f+((u&255)<<2)&p)+24>>2]|0;k=l;break k}}else{k=f+72|0;w=(c[(k&p)>>2]|0)+1|0;c[(k&p)>>2]=w;k=w}while(0);u=w+1|0;c[(f&p)+72>>2]=u;s=1}while(0);r=(c[(q&p)>>2]|0)-(c[(x&p)>>2]|0)|0;z=va+24|0;if(!(a[(z&n)>>0]&1)){w=wh(H,107,E,I,0)|0;it(H,c[(g&p)+12>>2]|0,F);l=1;m=E}else{ea=f+72|0;m=(c[(ea&p)>>2]|0)+1|0;c[(ea&p)>>2]=m;ea=f+68|0;q=c[(ea&p)>>2]|0;c[(ea&p)>>2]=q+1;if(!(c[(y&p)>>2]|0))l=0;else{ea=Oq(f)|0;da=f+80|0;l=c[(da&p)>>2]|0;c[(da&p)>>2]=l+1;l=wh(ea,44,l,0,0)|0}wh(H,60,q,m,s+1+r|0)|0;if(l){w=c[(H&p)+32>>2]|0;if(w>>>0>l>>>0)c[((c[(H&p)+4>>2]|0)+(l*20|0)&p)+8>>2]=w;c[((c[(H&p)+24>>2]|0)&p)+88>>2]=w+-1}w=wh(H,106,E,I,0)|0;it(H,c[(g&p)+12>>2]|0,F);wh(H,100,E,m,q)|0;l=0;m=q}x=w+1|0;if((s|0)>0){w=l+r|0;l=0;do{wh(H,47,m,w+l|0,l+u|0)|0;l=l+1|0}while((l|0)!=(s|0))}do if((B|0)==12|(B|0)==14){wh(H,74,D,k,0)|0;wh(H,75,D,u,k)|0;t=c[(H&p)+4>>2]|0;if(!t)break;a[(t+(((c[(H&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=8}else if((B|0)==11){xh(H,wh(H,49,u,1,k)|0,h+1|0,1);dt(f,u,1);wh(H,110,D,k,0)|0}else if((B|0)!=10)if(t){ea=h+8|0;wh(H,35,c[(ea&p)>>2]|0,A,0)|0;dt(f,c[(ea&p)>>2]|0,A);break}else{wh(H,22,c[(C&p)>>2]|0,0,0)|0;break}else{wh(c[(v&p)>>2]|0,32,u,D,1)|0;dt(f,u,1)}while(0);if(k){_r(f,u);_r(f,k)}s=H+24|0;u=c[(s&p)>>2]|0;v=~F;do if((F|0)<0){t=c[(u&p)+112>>2]|0;if(!t)break;c[(t+(v<<2)&p)>>2]=c[(H&p)+32>>2]}while(0);v=H+32|0;c[(u&p)+88>>2]=(c[(v&p)>>2]|0)+-1;if(!(a[(z&n)>>0]&1))wh(H,9,E,x,0)|0;else wh(H,5,E,x,0)|0;r=c[(va&p)+12>>2]|0;if(r)wh(H,18,r,0,0)|0;r=c[(s&p)>>2]|0;q=~I;do if((I|0)<0){m=c[(r&p)+112>>2]|0;if(!m)break;c[(m+(q<<2)&p)>>2]=c[(v&p)>>2]}while(0);c[(r&p)+88>>2]=(c[(v&p)>>2]|0)+-1}l=c[(wa&p)+24>>2]|0;m=~qa;do if((qa|0)<0){k=c[(l&p)+112>>2]|0;if(!k)break;c[(k+(m<<2)&p)>>2]=c[(wa&p)+32>>2]}while(0);c[(l&p)+88>>2]=(c[(wa&p)+32>>2]|0)+-1;c[(Aa&p)>>2]=Ba;if((a[(h&n)>>0]|0)!=9){k=0;break}Ns(f,U,T);k=0}else za=444;while(0);if((za>2]}}else g=0;while(0);i=x;return g|0}function Nr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;a:do if((b|0)!=0?(d=mh(a,8,0)|0,(d|0)!=0):0){g=b+4|0;c[(d&p)+4>>2]=c[(g&p)>>2];e=mh(a,c[(g&p)>>2]<<3,0)|0;c[(d&p)>>2]=e;if(!e){mg(a,d);d=0;break}if((c[(g&p)>>2]|0)>0){f=0;while(1){h=c[(b&p)>>2]|0;c[(e+(f<<3)&p)>>2]=kh(a,c[(h+(f<<3)&p)>>2]|0)|0;c[(e+(f<<3)&p)+4>>2]=c[(h+(f<<3)&p)+4>>2];f=f+1|0;if((f|0)>=(c[(g&p)>>2]|0))break a;e=c[(d&p)>>2]|0}}}else d=0;while(0);return d|0}function Or(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=e+4|0;g=(c[(f&p)>>2]|0)+40|0;b=mh(b,g,0)|0;if(b){fw(b|0,0,g|0)|0;g=b+40|0;kw(g|0,c[(e&p)>>2]|0,c[(f&p)>>2]|0)|0;c[(b&p)+12>>2]=g;c[(b&p)+16>>2]=c[(f&p)>>2];a[(b&n)>>0]=d}return b|0}function Pr(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;do if((d|0)!=0?(f=mh(b,8,0)|0,(f|0)!=0):0){g=c[(d&p)>>2]|0;c[(f&p)>>2]=g;if(!(e&1)){h=c[(d&p)>>2]|0;g=1;while(1)if((g|0)<(h|0))g=g<<1;else break}g=mh(b,g*20|0,0)|0;c[(f&p)+4>>2]=g;if(!g){mg(b,f);f=0;break}if((c[(d&p)>>2]|0)>0){i=0;h=c[(d&p)+4>>2]|0;while(1){c[(g&p)>>2]=Mr(b,c[(h&p)>>2]|0,e,0)|0;c[(g&p)+4>>2]=kh(b,c[(h&p)+4>>2]|0)|0;c[(g&p)+8>>2]=kh(b,c[(h&p)+8>>2]|0)|0;a[(g&n)+12>>0]=a[(h&n)+12>>0]|0;j=g+13|0;k=a[(j&n)>>0]|0;a[(j&n)>>0]=k&-2;a[(j&n)>>0]=a[(h&n)+13>>0]&2|k&-4;c[(g&p)+16>>2]=c[(h&p)+16>>2];i=i+1|0;if((i|0)>=(c[(d&p)>>2]|0))break;else{g=g+20|0;h=h+20|0}}}}else f=0;while(0);return f|0}function Qr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();k=o;l=c[(a&p)>>2]|0;f=c[(b&p)+20>>2]|0;a:do if(f){e=c[(l&p)+20>>2]|0;if((e|0)>0){d=c[(l&p)+16>>2]|0;h=0;while(1){g=h+1|0;if((c[(d+(h<<4)&p)+12>>2]|0)==(f|0)){g=h;break a}if((g|0)<(e|0))h=g;else break}}else g=0}else g=-1e6;while(0);d=bn((c[(b&p)+24>>2]|0)+8|0,c[(b&p)+4>>2]|0,k)|0;if(!d)f=0;else f=c[(d&p)+8>>2]|0;d=c[((c[(l&p)+16>>2]|0)+(g<<4)&p)>>2]|0;e=(g|0)==1;if((((Sq(a,e?14:16,c[(b&p)>>2]|0,c[(f&p)>>2]|0,d)|0)==0?(Sq(a,9,e?13184:13208,0,d)|0)==0:0)?(m=Oq(a)|0,(m|0)!=0):0)?(n=c[(a&p)+408>>2]|0,Ar(a,g),n=((n|0)==0?a:n)+328|0,c[(n&p)>>2]=c[(n&p)>>2]|1<<g,js(a,g),n=yh(m,9,29624)|0,xh(m,n+1|0,c[(b&p)>>2]|0,0),xh(m,n+4|0,10720,-2),Dr(a,g),wh(m,61,0,0,0)|0,n=c[(b&p)>>2]|0,xh(m,wh(m,126,g,0,0)|0,n,0),n=a+72|0,(c[(n&p)>>2]|0)<3):0)c[(n&p)>>2]=3;i=o;return}function Rr(d,e,f,g,h,k,l){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))fa();m=v;t=c[(d&p)>>2]|0;c[(m&p)>>2]=0;c[(m&p)+4>>2]=0;c[(m&p)+8>>2]=0;c[(m&p)+12>>2]=0;c[(m&p)+16>>2]=0;c[(m&p)+20>>2]=0;c[(m&p)+24>>2]=0;c[(m&p)+28>>2]=0;c[(m&p)>>2]=d;do if(h)if((a[(h&n)>>0]|0)!=27)if(!(ls(m,h)|0)){u=5;break}else{u=13;break}else{a[(h&n)>>0]=97;u=5;break}else u=5;while(0);a:do if((u|0)==5){do if(k)if((a[(k&n)>>0]|0)!=27)if(!(ls(m,k)|0))break;else{u=13;break a}else{a[(k&n)>>0]=97;break}while(0);do if(l)if((a[(l&n)>>0]|0)!=27)if(!(ls(m,l)|0))break;else{u=13;break a}else{a[(l&n)>>0]=97;break}while(0);if(g){if((a[(g&n)>>0]|0)==97)g=c[(g&p)+8>>2]|0;else g=0;if(Sq(d,e,g,0,0)|0)break}s=Oq(d)|0;m=d+60|0;g=c[(m&p)>>2]|0;q=d+56|0;r=c[(q&p)>>2]|0;if((r|0)<4){r=d+72|0;g=c[(r&p)>>2]|0;c[(r&p)>>2]=g+4;g=g+1|0}else{c[(m&p)>>2]=g+4;c[(q&p)>>2]=r+-4}Rq(d,h,g);Rq(d,k,g+1|0);Rq(d,l,g+2|0);if(s){g=g+3|0;wh(s,1,0,g-(b[(f&o)>>1]|0)|0,g)|0;g=c[(s&p)+4>>2]|0;if(g)a[(g+(((c[(s&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=b[(f&o)>>1];xh(s,-1,f,-5);wh(s,144,(e|0)==24&1,0,0)|0}}while(0);if((u|0)==13){f=d+64|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1}Gk(t,h);Gk(t,k);Gk(t,l);i=v;return}function Sr(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();l=m;g=m+4|0;h=c[(b&p)>>2]|0;a:do if(!(Gn(b)|0)){if(!d){Ut(b,0);break}if(!((e|0)!=0?(c[(e&p)>>2]|0)!=0:0))f=6;do if((f|0)==6){f=Wq(c[(b&p)>>2]|0,d)|0;if(!f)break a;if(!(Yn(h,a[(h&n)+62>>0]|0,f,0)|0)){mg(h,f);break}else{Ut(b,f);mg(h,f);break a}}while(0);d=er(b,d,e,g)|0;if((d|0)>=0?(k=Wq(h,c[(g&p)>>2]|0)|0,(k|0)!=0):0){e=c[((c[(h&p)+16>>2]|0)+(d<<4)&p)>>2]|0;f=_h(h,k,e)|0;if(f){Vt(b,f,0);mg(h,k);break}e=bq(h,k,e)|0;mg(h,k);if(!e){th(b,28872,l);break}else{f=c[(b&p)+408>>2]|0;Ar(b,d);f=((f|0)==0?b:f)+328|0;c[(f&p)>>2]=c[(f&p)>>2]|1<<d;vs(b,e,-1);break}}}while(0);i=m;return}function Tr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();f=h;g=c[(a&p)>>2]|0;if(!(Gn(a)|0)){do if(!b){b=g+20|0;e=c[(b&p)>>2]|0;if((e|0)>0){d=0;do{if((d|0)!=1){Wt(a,d);e=c[(b&p)>>2]|0}d=d+1|0}while((d|0)<(e|0))}}else{if(c[(d&p)+4>>2]|0){e=er(a,b,d,f)|0;if((e|0)<=-1)break;e=c[((c[(g&p)+16>>2]|0)+(e<<4)&p)>>2]|0;b=Wq(g,c[(f&p)>>2]|0)|0;if(!b)break;d=bq(g,b,e)|0;if(!d){e=sh(a,0,b,e)|0;if(e)Xt(a,e,0)}else Xt(a,c[(d&p)+12>>2]|0,d);mg(g,b);break}d=Wq(g,b)|0;e=Vh(g,d)|0;mg(g,d);if((e|0)>-1){Wt(a,e);break}d=Wq(g,b)|0;if(d){e=bq(g,d,0)|0;if(!e){e=sh(a,0,d,0)|0;if(e)Xt(a,e,0)}else Xt(a,c[(e&p)+12>>2]|0,e);mg(g,d)}}while(0);e=Oq(a)|0;if(e)wh(e,144,0,0,0)|0}i=h;return}function Ur(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=c[(d&p)>>2]|0;if(!f)e=d+4|0;else{i=c[(a&p)>>2]|0;g=c[(i&p)+20>>2]|0;i=c[(i&p)+16>>2]|0;a:do if((g|0)>0){h=0;while(1){e=h+1|0;if((c[(i+(h<<4)&p)+12>>2]|0)==(f|0)){e=h;break a}if((e|0)<(g|0))h=e;else break}}else e=0;while(0);e=i+(e<<4)|0}return sh(a,b,c[(d&p)+8>>2]|0,c[(e&p)>>2]|0)|0}function Vr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;if(d){e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;if((e-d&1073741823)>>>0>6?(Fc(d,25568,7)|0)==0:0){c[(f&p)>>2]=d;th(b,25576,f);e=1}else e=0}else e=0;i=g;return e|0}function Wr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;if(!b){c[(e&p)>>2]=d;a=uh(a,25992,e)|0}else{c[(e&p)>>2]=b;c[(e&p)+4>>2]=d;e=uh(a,26e3,e)|0;mg(a,b);a=e}i=f;return a|0}function Xr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();g=h;e=c[(a&p)>>2]|0;f=c[((c[(e&p)+16>>2]|0)&p)+28>>2]|0;if((c[(b&p)+68>>2]|0)!=(f|0)?(d=As(a,b)|0,(d|0)!=0):0){b=d;d=0;do{if((c[(b&p)+20>>2]|0)==(f|0))d=Wr(e,d,c[(b&p)>>2]|0)|0;b=c[(b&p)+32>>2]|0}while((b|0)!=0);if(d){b=c[(a&p)>>2]|0;c[(g&p)>>2]=d;b=uh(b,25968,g)|0;mg(c[(a&p)>>2]|0,d);d=b}else d=0}else d=0;i=h;return d|0}function Yr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();n=r;o=Oq(a)|0;if(o){e=c[(a&p)>>2]|0;h=c[(b&p)+68>>2]|0;a:do if(h){k=c[(e&p)+20>>2]|0;if((k|0)>0){f=c[(e&p)+16>>2]|0;g=0;while(1){e=g+1|0;if((c[(f+(g<<4)&p)+12>>2]|0)==(h|0))break a;if((e|0)<(k|0))g=e;else{g=e;break}}}else g=0}else g=-1e6;while(0);e=As(a,b)|0;if(e)do{f=c[(a&p)>>2]|0;l=c[(e&p)+20>>2]|0;b:do if(l){m=c[(f&p)+20>>2]|0;if((m|0)>0){k=c[(f&p)+16>>2]|0;h=0;while(1){f=h+1|0;if((c[(k+(h<<4)&p)+12>>2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0;Md=oe+48|0;Vc=oe+456|0;Rc=oe+444|0;Kd=oe+8|0;sd=oe+440|0;Id=oe+412|0;Hd=oe;zc=f+4|0;s=c[(zc&p)>>2]|0;le=c[(f&p)>>2]|0;Jc=a[(le&n)+62>>0]|0;Nc=f+8|0;z=c[(Nc&p)>>2]|0;ne=le+32|0;l=ne;m=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;me=f+80|0;a:do if((c[(me&p)>>2]|0)==7){y=le+65|0;z=f+44|0;r=m;g=0;t=0;m=0;ie=1317}else{c[(me&p)>>2]=0;de=f+136|0;c[(de&p)>>2]=0;c[(de&p)+4>>2]=0;de=f+20|0;c[(de&p)>>2]=0;c[(le&p)+452>>2]=0;Cc=le+240|0;b:do if(!(c[(Cc&p)>>2]|0)){be=le+292|0;if(c[(be&p)>>2]|0){r=c[(f&p)+124>>2]|0;g=le+300|0;y=c[(g&p)>>2]|0;if(!r)yc=g;else{yc=g;y=(r>>>0)%(y>>>0)|0}}else{yc=le+300|0;y=0}he=f+76|0;ge=le+65|0;Zd=le+296|0;sb=f+176|0;tb=f+184|0;ub=f+92|0;vb=le+80|0;wb=le+84|0;xb=Jc&255;yb=Jc<<24>>24==1;zb=le+88|0;Ab=f+60|0;_d=f+144|0;fe=f+86|0;je=f+44|0;Bb=f+12|0;Cb=Uc+4|0;Db=Uc+16|0;Eb=Uc+12|0;Fb=Uc+25|0;Gb=Uc+20|0;Hb=f+200|0;Ib=f+56|0;$d=f+72|0;Jb=Jd+16|0;Kb=Jd+8|0;Lb=Jd+24|0;Mb=f+87|0;ae=le+156|0;Nb=le+500|0;Ob=le+496|0;ee=le+63|0;Pb=le+488|0;Qb=le+504|0;Rb=le+512|0;Sb=le+70|0;Tb=le+24|0;Ub=le+20|0;Xd=le+16|0;Vb=le+4|0;Yd=f+88|0;Wb=f+104|0;Xb=f+152|0;Yb=f+160|0;Zb=le+152|0;_b=le+64|0;$b=wd+4|0;cc=wd+6|0;dc=wd+8|0;ec=xd+4|0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)>>2]=u+1;c[((c[(_a&p)>>2]|0)+(u<<2)&p)>>2]=J;u=J+12|0;c[(u&p)>>2]=(c[(u&p)>>2]|0)+1;u=0}}else ie=1188}else u=0}while(0);if((ie|0)==1188){ie=0;if(!J){C=L;T=t;break e}g=J+8|0}Mm(f,c[(g&p)>>2]|0);C=L;T=t;break}case 147:{U=Kd+0|0;V=U+40|0;do{c[(U&p)>>2]=0;U=U+4|0}while((U|0)<(V|0));c[($a&p)>>2]=le;g=_g(Kd,z+((c[(s+(t*20|0)&p)+8>>2]|0)*40|0)|0)|0;u=Sg(Kd,1)|0;k:do if(u){v=_h(le,u,c[((c[(Xd&p)>>2]|0)+(c[(s+(t*20|0)&p)+4>>2]<<4)&p)>>2]|0)|0;g=c[(c[(v&p)+56>>2]&p)>>2]|0;u=bn(cb,g,Xc)|0;if((u|0)!=0?(Oc=c[(u&p)+8>>2]|0,(Oc|0)!=0):0){g=zn(le,v,Oc,c[((c[(Oc&p)>>2]|0)&p)+4>>2]|0,je)|0;if(g)break;u=v+60|0;g=c[(u&p)>>2]|0;if(!g){g=0;break}while(1){if((c[(g&p)>>2]|0)==(le|0))break;g=c[(g&p)+24>>2]|0;if(!g){g=0;break k}}g=yn(le)|0;if(g)break;g=c[(u&p)>>2]|0;l:do if(!g)g=0;else while(1){if((c[(g&p)>>2]|0)==(le|0))break l;g=c[(g&p)+24>>2]|0;if(!g){g=0;break}}while(0);V=c[(Za&p)>>2]|0;c[(Zazaz,le,15776,ke);s=7;ie=1311}if((ie|0)==1311){c[(me&p)>>2]=s;qd=c[(f&p)+168>>2]|0;rd=c[(f&p)+44>>2]|0;c[(ke&p)>>2]=t;c[(ke&p)+4>>2]=qd;c[(ke&p)+8>>2]=rd;bd(s,42256,ke);Rl(f)|0;if((s|0)==3082)a[(le&n)+65>>0]=1;if(!(m<<24>>24)){m=g;g=1}else{vm(le,(m&255)+-1|0);m=g;g=1}}rd=ne;c[(rd&p)>>2]=r;c[(rd&p)+4>>2]=l;rd=f+124|0;c[(rd&p)>>2]=(c[(rd&p)>>2]|0)+m;i=oe;return g|0}
14 d-1)&n)>>0]|0);return b|0}function iw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){G=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}G=a<<c-32;return 0}function jw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (G=b+d+(c>>>0<a>>>0|0)>>>0,c|0)|0}function kw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((e|0)>=4096)return ub(b|0,d|0,e|0)|0;f=b|0;if((b&3)==(d&3)){while(b&3){if(!e)return f|0;a[(b&n)>>0]=a[(d&n)>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}while((e|0)>=4){c[(b&p)>>2]=c[(d&p)>>2];b=b+4|0;d=d+4|0;e=e-4|0}}while((e|0)>0){a[(b&n)>>0]=a[(d&n)>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}return f|0}function lw(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[(b&n)>>0]=a[(c&n)>>0]|0}b=e}else kw(b,c,d)|0;return b|0}function mw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){G=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}G=0;return b>>>c-32|0}function nw(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function ow(b){b=b|0;var c=0;c=a[(m+(b&255)&n)>>0]|0;if((c|0)<8)return c|0;c=a[(m+(b>>8&255)&n)>>0]|0;if((c|0)<8)return c+8|0;c=a[(m+(b>>16&255)&n)>>0]|0;if((c|0)<8)return c+16|0;return (a[(m+(b>>>24)&n)>>0]|0)+24|0}function pw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;d=b&65535;c=ca(d,f)|0;e=a>>>16;d=(c>>>16)+(ca(d,e)|0)|0;b=b>>>16;a=ca(b,f)|0;return (G=(d>>>16)+(ca(b,e)|0)+(((d&65535)+a|0)>>>16)|0,d+a<<16|c&65535|0)|0}function qw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=b>>31|((b|0)<0?-1:0)<<1;i=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;f=d>>31|((d|0)<0?-1:0)<<1;e=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;h=dw(j^a,i^b,j,i)|0;g=G;b=f^j;a=e^i;a=dw((vw(h,g,dw(f^c,e^d,f,e)|0,G,0)|0)^b,G^a,b,a)|0;return a|0}function rw(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;f=i;i=i+8|0;j=f|0;h=b>>31|((b|0)<0?-1:0)<<1;g=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;l=e>>31|((e|0)<0?-1:0)<<1;k=((e|0)<0?-1:0)>>31|((e|0)<0?-1:0)<<1;b=dw(h^a,g^b,h,g)|0;a=G;vw(b,a,dw(l^d,k^e,l,k)|0,G,j)|0;a=dw(c[(j&p)>>2]^h,c[(j&p)+4>>2]^g,h,g)|0;b=G;i=f;return (G=b,a)|0}function sw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;a=pw(e,f)|0;c=G;return (G=(ca(b,f)|0)+(ca(d,e)|0)+c|c&0,a|0|0)|0}function tw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=vw(a,b,c,d,0)|0;return a|0}function uw(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+8|0;f=g|0;vw(a,b,d,e,f)|0;i=g;return (G=c[(f&p)+4>>2]|0,c[(f&p)>>2]|0)|0}function vw(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0;n=a;l=b;m=l;k=d;o=e;i=o;if(!m){g=(f|0)!=0;if(!i){if(g){c[(f&p)>>2]=(n>>>0)%(k>>>0);c[(f&p)+4>>2]=0}l=0;m=(n>>>0)/(k>>>0)>>>0;return (G=l,m)|0}else{if(!g){l=0;m=0;return (G=l,m)|0}c[(f&p)>>2]=a|0;c[(f&p)+4>>2]=b&0;l=0;m=0;return (G=l,m)|0}}j=(i|0)==0;do if(k){if(!j){h=(ea(i|0)|0)-(ea(m|0)|0)|0;if(h>>>0<=31){g=h+1|0;l=31-h|0;k=h-31>>31;i=g;j=n>>>(g>>>0)&k|m<<l;k=m>>>(g>>>0)&k;g=0;h=n<<l;break}if(!f){l=0;m=0;return (G=l,m)|0}c[(f&p)>>2]=a|0;c[(f&p)+4>>2]=l|b&0;l=0;m=0;return (G=l,m)|0}j=k-1|0;if(j&k){h=(ea(k|0)|0)+33-(ea(m|0)|0)|0;q=64-h|0;l=32-h|0;a=l>>31;b=h-32|0;k=b>>31;i=h;j=l-1>>31&m>>>(b>>>0)|(m<<l|n>>>(h>>>0))&k;k=k&m>>>(h>>>0);g=n<<q&a;h=(m<<q|n>>>(b>>>0))&a|n<<l&h-33>>31;break}if(f){c[(f&p)>>2]=j&n;c[(f&p)+4>>2]=0}if((k|0)==1){l=l|b&0;m=a|0|0;return (G=l,m)|0}else{a=ow(k|0)|0;l=m>>>(a>>>0)|0;m=m<<32-a|n>>>(a>>>0)|0;return (G=l,m)|0}}else{if(j){if(f){c[(f&p)>>2]=(m>>>0)%(k>>>0);c[(f&p)+4>>2]=0}l=0;m=(m>>>0)/(k>>>0)>>>0;return (G=l,m)|0}if(!n){if(f){c[(f&p)>>2]=0;c[(f&p)+4>>2]=(m>>>0)%(i>>>0)}l=0;m=(m>>>0)/(i>>>0)>>>0;return (G=l,m)|0}j=i-1|0;if(!(j&i)){if(f){c[(f&p)>>2]=a|0;c[(f&p)+4>>2]=j&m|b&0}l=0;m=m>>>((ow(i|0)|0)>>>0);return (G=l,m)|0}h=(ea(i|0)|0)-(ea(m|0)|0)|0;if(h>>>0<=30){k=h+1|0;h=31-h|0;i=k;j=m<<h|n>>>(k>>>0);k=m>>>(k>>>0);g=0;h=n<<h;break}if(!f){l=0;m=0;return (G=l,m)|0}c[(f&p)>>2]=a|0;c[(f&p)+4>>2]=l|b&0;l=0;m=0;return (G=l,m)|0}while(0);if(!i){l=h;i=0;h=0}else{m=d|0|0;l=o|e&0;b=jw(m,l,-1,-1)|0;a=G;d=h;h=0;do{q=d;d=g>>>31|d<<1;g=h|g<<1;q=j<<1|q>>>31|0;o=j>>>31|k<<1|0;dw(b,a,q,o)|0;n=G;e=n>>31|((n|0)<0?-1:0)<<1;h=e&1;j=dw(q,o,e&m,(((n|0)<0?-1:0)>>31|((n|0)<0?-1:0)<<1)&l)|0;k=G;i=i-1|0}while((i|0)!=0);l=d;i=0}d=0;if(f){c[(f&p)>>2]=j;c[(f&p)+4>>2]=k}l=(g|0)>>>31|(l|d)<<1|(d<<1|g>>>31)&0|i;m=(g<<1|0>>>31)&-2|h;return (G=l,m)|0}function ww(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return $b[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function xw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ac[a&63](b|0,c|0,d|0)|0}function yw(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;bc[a&1](b|0,c|0,d|0,e|0,f|0,g|0)}function zw(a,b){a=a|0;b=b|0;cc[a&31](b|0)}function Aw(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;dc[a&1](b|0,c|0,d|0,e|0,f|0)}function Bw(a,b,c){a=a|0;b=b|0;c=c|0;return +ec[a&1](b|0,c|0)}function Cw(a,b,c){a=a|0;b=b|0;c=+c;fc[a&1](b|0,+c)}function Dw(a,b){a=a|0;b=b|0;return +gc[a&1](b|0)}function Ew(a){a=a|0;return hc[a&7]()|0}function Fw(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return ic[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)|0}function Gw(a,b,c){a=a|0;b=b|0;c=c|0;jc[a&15](b|0,c|0)}function Hw(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return kc[a&7](b|0,c|0,d|0,e|0,f|0,g|0)|0}function Iw(a,b){a=a|0;b=b|0;return lc[a&127](b|0)|0}function Jw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;mc[a&63](b|0,c|0,d|0)}function Kw(a){a=a|0;nc[a&3]()}function Lw(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return oc[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function Mw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return pc[a&31](b|0,c|0,d|0,e|0)|0}function Nw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;qc[a&15](b|0,c|0,d|0,e|0)}function Ow(a,b,c){a=a|0;b=b|0;c=c|0;return rc[a&127](b|0,c|0)|0}function Pw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;return sc[a&1](b|0,c|0,+d)|0}function Qw(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return tc[a&31](b|0,c|0,d|0,e|0,f|0)|0}function Rw(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ha(0);return 0}function Sw(a,b,c){a=a|0;b=b|0;c=c|0;ia(1);return 0}function Tw(a,b,c){a=a|0;b=b|0;c=c|0;return tb(a|0,b|0,c|0)|0}function Uw(a,b,c){a=a|0;b=b|0;c=c|0;return Yb(a|0,b|0,c|0)|0}function Vw(a,b,c){a=a|0;b=b|0;c=c|0;return Fb(a|0,b|0,c|0)|0}function Ww(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ja(2)}function Xw(a){a=a|0;ka(3)}function Yw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;la(4)}function Zw(a,b){a=a|0;b=b|0;ma(5);return 0.0}function _w(a,b){a=a|0;b=+b;na(6)}function $w(a){a=a|0;oa(7);return 0.0}function ax(){pa(8);return 0}function bx(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;qa(9);return 0}function cx(a,b){a=a|0;b=b|0;ra(10)}function dx(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(11);return 0}function ex(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Ub(a|0,b|0,c|0,d|0,e|0,f|0)|0}function fx(a){a=a|0;ta(12);return 0}function gx(a){a=a|0;return Xb(a|0)|0}function hx(a){a=a|0;return vb(a|0)|0}function ix(a){a=a|0;return hb(a|0)|0}function jx(a,b,c){a=a|0;b=b|0;c=c|0;ua(13)}function kx(){va(14)}function lx(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;wa(15);return 0}function mx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;xa(16);return 0}function nx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ya(17)}function ox(a,b){a=a|0;b=b|0;za(18);return 0}function px(a,b){a=a|0;b=b|0;return eb(a|0,b|0)|0}function qx(a,b){a=a|0;b=b|0;return Wb(a|0,b|0)|0}function rx(a,b){a=a|0;b=b|0;return Ib(a|0,b|0)|0}function sx(a,b){a=a|0;b=b|0;return fb(a|0,b|0)|0}function tx(a,b){a=a|0;b=b|0;return zb(a|0,b|0)|0}function ux(a,b){a=a|0;b=b|0;return xb(a|0,b|0)|0}function vx(a,b){a=a|0;b=b|0;return Ab(a|0,b|0)|0}function wx(a,b){a=a|0;b=b|0;return Tb(a|0,b|0)|0}function xx(a,b,c){a=a|0;b=b|0;c=+c;Aa(19);return 0}function yx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ba(20);return 0}