diff --git a/wasm/basque.html.mem b/wasm/basque.html.mem
index ea0cce7..439af52 100644
Binary files a/wasm/basque.html.mem and b/wasm/basque.html.mem differ
diff --git a/wasm/basque.js b/wasm/basque.js
index 75dabb1..06bc274 100644
--- a/wasm/basque.js
+++ b/wasm/basque.js
@@ -12,7 +12,7 @@ start:4982839,end:5028193,audio:0},{filename:"/assets/data/map_layout_7.txt",sta
start:5212406,end:5470133,audio:0},{filename:"/assets/icons/basque_logo.png",start:5470133,end:5480776,audio:0},{filename:"/assets/icons/basque_logo.ico",start:5480776,end:5583606,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_256x256@2x.png",start:5583606,end:5703977,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_64x64@2x.png",start:5703977,end:5723947,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_128x128@2x.png",start:5723947,end:5776335,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_64x64.png",
start:5776335,end:5784515,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_128x128.png",start:5784515,end:5804485,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_32x32@2x.png",start:5804485,end:5812665,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_512x512.png",start:5812665,end:5933036,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_16x16@2x.png",start:5933036,end:5937238,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_8x8@2x.png",start:5937238,
end:5940145,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_16x16.png",start:5940145,end:5943052,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_512x512@2x.png",start:5943052,end:6170841,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_32x32.png",start:6170841,end:6175043,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_256x256.png",start:6175043,end:6227431,audio:0},{filename:"/assets/icons/basque_logo.iconset/icon_1024x1024.png",start:6227431,end:6455220,
-audio:0}],remote_package_size:6455220,package_uuid:"cbf0e8ed-13c8-48ec-a3c7-5dcb482e4390"});var aa={},ba;for(ba in h)h.hasOwnProperty(ba)&&(aa[ba]=h[ba]);var ca=[],da="./this.program";function ea(a,b){throw b;}var fa=!1,ha=!1,ia=!1,ja=!1;fa="object"===typeof window;ha="function"===typeof importScripts;ia="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;ja=!fa&&!ia&&!ha;var ka="";function la(a){return h.locateFile?h.locateFile(a,ka):ka+a}
+audio:0}],remote_package_size:6455220,package_uuid:"53af6a04-971b-4d1f-b077-ea7a9a87d89d"});var aa={},ba;for(ba in h)h.hasOwnProperty(ba)&&(aa[ba]=h[ba]);var ca=[],da="./this.program";function ea(a,b){throw b;}var fa=!1,ha=!1,ia=!1,ja=!1;fa="object"===typeof window;ha="function"===typeof importScripts;ia="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;ja=!fa&&!ia&&!ha;var ka="";function la(a){return h.locateFile?h.locateFile(a,ka):ka+a}
var ma,na,oa,pa,qa,ra;
if(ia){if(ka=ha?require("path").dirname(ka)+"/":__dirname+"/",ma=function(a,b){qa||(qa=require("fs"));ra||(ra=require("path"));a=ra.normalize(a);return qa.readFileSync(a,b?null:"utf8")},oa=function(a){a=ma(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a},1>2;var e=0;if("undefined"!==typeof CanvasPixelArray&&
-a instanceof CanvasPixelArray)for(c=a.length;e>8&255;a[e+2]=f>>16&255;a[e+3]=255;b++;e+=4}else if(d.Yf!==a&&(d.yf=new Int32Array(a.buffer),d.zf=new Uint8Array(a.buffer)),a=d.yf,c=a.length,a.set(w.subarray(b,b+c)),a=d.zf,b=3,e=b+4*c,0==c%8)for(;b>2;var e=0;if("undefined"!==typeof CanvasPixelArray&&
+a instanceof CanvasPixelArray)for(c=a.length;e>8&255;a[e+2]=f>>16&255;a[e+3]=255;b++;e+=4}else if(d.Yf!==a&&(d.yf=new Int32Array(a.buffer),d.zf=new Uint8Array(a.buffer)),a=d.yf,c=a.length,a.set(w.subarray(b,b+c)),a=d.zf,b=3,e=b+4*c,0==c%8)for(;b>=2;var m=0,n;if("undefined"!==typeof CanvasPixelArray&&b instanceof CanvasPixelArray)for(n=b.length;m>8&255;b[m+2]=r>>16&255;b[m+3]=r>>24&255;e++;m+=4}else b=new Int32Array(b.buffer),n=b.length,b.set(w.subarray(e,e+n));g.putImageData(a,0,0);c=0===c&&0===d?"url("+f.toDataURL()+"), auto":"url("+f.toDataURL()+") "+c+" "+d+", auto";d=F(c.length+
-1);E(c,d,c.length+1);return d},62224:function(a){h.canvas&&(h.canvas.style.cursor=B(a));return 0},62317:function(){h.canvas&&(h.canvas.style.cursor="none")},63542:function(){return screen.width},63569:function(){return screen.height},63597:function(){return window.innerWidth},63629:function(){return window.innerHeight},63707:function(a){"undefined"!==typeof pa&&pa(B(a));return 0},63841:function(){return"undefined"!==typeof AudioContext||"undefined"!==typeof webkitAudioContext?1:0},64007:function(){return"undefined"!==
-typeof navigator.mediaDevices&&"undefined"!==typeof navigator.mediaDevices.getUserMedia||"undefined"!==typeof navigator.webkitGetUserMedia?1:0},64233:function(a){"undefined"===typeof h.SDL2&&(h.SDL2={});var b=h.SDL2;a?b.capture={}:b.audio={};b.fe||("undefined"!==typeof AudioContext?b.fe=new AudioContext:"undefined"!==typeof webkitAudioContext&&(b.fe=new webkitAudioContext),b.fe&&ib(b.fe));return void 0===b.fe?-1:0},64786:function(){return h.SDL2.fe.sampleRate},64856:function(a,b,c,d){function e(){}
+1);E(c,d,c.length+1);return d},156208:function(a){h.canvas&&(h.canvas.style.cursor=B(a));return 0},156301:function(){h.canvas&&(h.canvas.style.cursor="none")},157526:function(){return screen.width},157553:function(){return screen.height},157581:function(){return window.innerWidth},157613:function(){return window.innerHeight},157691:function(a){"undefined"!==typeof pa&&pa(B(a));return 0},157825:function(){return"undefined"!==typeof AudioContext||"undefined"!==typeof webkitAudioContext?1:0},157991:function(){return"undefined"!==
+typeof navigator.mediaDevices&&"undefined"!==typeof navigator.mediaDevices.getUserMedia||"undefined"!==typeof navigator.webkitGetUserMedia?1:0},158217:function(a){"undefined"===typeof h.SDL2&&(h.SDL2={});var b=h.SDL2;a?b.capture={}:b.audio={};b.fe||("undefined"!==typeof AudioContext?b.fe=new AudioContext:"undefined"!==typeof webkitAudioContext&&(b.fe=new webkitAudioContext),b.fe&&ib(b.fe));return void 0===b.fe?-1:0},158770:function(){return h.SDL2.fe.sampleRate},158840:function(a,b,c,d){function e(){}
function f(m){void 0!==g.capture.Ee&&(clearTimeout(g.capture.Ee),g.capture.Ee=void 0);g.capture.Ie=g.fe.createMediaStreamSource(m);g.capture.je=g.fe.createScriptProcessor(b,a,1);g.capture.je.onaudioprocess=function(n){void 0!==g&&void 0!==g.capture&&(n.outputBuffer.getChannelData(0).fill(0),g.capture.Ne=n.inputBuffer,n=[d],G.get(c).apply(null,n))};g.capture.Ie.connect(g.capture.je);g.capture.je.connect(g.fe.destination);g.capture.stream=m}var g=h.SDL2;g.capture.Le=g.fe.createBuffer(a,b,g.fe.sampleRate);
-g.capture.Le.getChannelData(0).fill(0);g.capture.Ee=setTimeout(function(){g.capture.Ne=g.capture.Le;var m=[d];G.get(c).apply(null,m)},b/g.fe.sampleRate*1E3);void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia?navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(f).catch(e):void 0!==navigator.webkitGetUserMedia&&navigator.webkitGetUserMedia({audio:!0,video:!1},f,e)},66508:function(a,b,c,d){var e=h.SDL2;e.audio.je=e.fe.createScriptProcessor(b,0,a);e.audio.je.onaudioprocess=
-function(f){void 0!==e&&void 0!==e.audio&&(e.audio.af=f.outputBuffer,f=[d],G.get(c).apply(null,f))};e.audio.je.connect(e.fe.destination)},66918:function(a,b){for(var c=h.SDL2,d=c.capture.Ne.numberOfChannels,e=0;e>2]}},68003:function(a){var b=h.SDL2;if(a){void 0!==b.capture.Ee&&clearTimeout(b.capture.Ee);if(void 0!==b.capture.stream){a=b.capture.stream.getAudioTracks();for(var c=0;c>2]}},161987:function(a){var b=h.SDL2;if(a){void 0!==b.capture.Ee&&clearTimeout(b.capture.Ee);if(void 0!==b.capture.stream){a=b.capture.stream.getAudioTracks();for(var c=0;c>2]=28}
function ob(a,b){for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");return a}function pb(a){var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=ob(a.split("/").filter(function(d){return!!d}),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a}
@@ -137,62 +137,62 @@ Object.defineProperties(Qb.prototype,{read:{get:function(){return 365===(this.mo
Yb({se:function(){var a=Bb("/proc/self","fd",16895,73);a.ce={lookup:function(b,c){var d=Gb[+c];if(!d)throw new I(8);b={parent:null,se:{nf:"fake"},ce:{readlink:function(){return d.path}}};return b.parent=b}};return a}},"/proc/self/fd");h.FS_createPath=nc;h.FS_createDataFile=pc;h.FS_createPreloadedFile=tc;h.FS_createLazyFile=sc;h.FS_createDevice=qc;h.FS_unlink=cc;h.requestFullscreen=function(a,b){gd(a,b)};h.requestAnimationFrame=function(a){Ic(a)};
h.setCanvasSize=function(a,b,c){id(h.canvas,a,b);c||jd()};h.pauseMainLoop=function(){Fc=null;Lc++};h.resumeMainLoop=function(){Lc++;var a=Cc,b=Dc,c=Ec;Ec=null;Jc(c,0,!1,Kc,!0);Bc(a,b);Fc()};h.getUserMedia=function(){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia);window.getUserMedia(void 0)};h.createContext=function(a,b,c,d){return Zc(a,b,c,d)};for(var N,Y=0;32>Y;++Y)ue.push(Array(Y));var We=new Float32Array(288);
for(Y=0;288>Y;++Y)De[Y]=We.subarray(0,Y+1);var Xe=new Int32Array(288);for(Y=0;288>Y;++Y)Ee[Y]=Xe.subarray(0,Y+1);function hb(a,b){var c=Array(Ia(a)+1);a=Ha(a,c,0,c.length);b&&(c.length=a);return c}Sa.push({ff:function(){Ye()}});
-var nf={_:function(a,b,c,d){l("Assertion failed: "+B(a)+", at: "+[b?B(b):"unknown filename",c,d?B(d):"unknown function"])},x:function(a,b,c){xc=c;try{var d=zc(a);switch(b){case 0:var e=yc();return 0>e?-28:ec(d.path,d.flags,0,e).fd;case 1:case 2:return 0;case 3:return d.flags;case 4:return e=yc(),d.flags|=e,0;case 12:return e=yc(),Aa[e+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return mb(),-1;default:return-28}}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}},
+var nf={_:function(a,b,c,d){l("Assertion failed: "+B(a)+", at: "+[b?B(b):"unknown filename",c,d?B(d):"unknown function"])},w:function(a,b,c){xc=c;try{var d=zc(a);switch(b){case 0:var e=yc();return 0>e?-28:ec(d.path,d.flags,0,e).fd;case 1:case 2:return 0;case 3:return d.flags;case 4:return e=yc(),d.flags|=e,0;case 12:return e=yc(),Aa[e+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return mb(),-1;default:return-28}}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}},
ma:function(a,b,c){xc=c;try{var d=zc(a);switch(b){case 21509:case 21505:return d.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return d.tty?0:-59;case 21519:if(!d.tty)return-59;var e=yc();return w[e>>2]=0;case 21520:return d.tty?-28:-59;case 21531:a=e=yc();if(!d.de.If)throw new I(59);return d.de.If(d,b,a);case 21523:return d.tty?0:-59;case 21524:return d.tty?0:-59;default:l("bad ioctl syscall "+b)}}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}},na:function(a,
b,c){xc=c;try{var d=B(a),e=yc();return ec(d,b,e).fd}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}},oa:function(a){try{a=B(a);var b=Kb(a,{parent:!0}).node,c=rb(a),d=Db(b,c),e=Ub(b,c,!0);if(e)throw new I(e);if(!b.ce.rmdir)throw new I(63);if(d.xe)throw new I(10);try{L.willDeletePath&&L.willDeletePath(a)}catch(f){k("FS.trackingDelegate['willDeletePath']('"+a+"') threw an exception: "+f.message)}b.ce.rmdir(b,c);Ob(d);try{if(L.onDeletePath)L.onDeletePath(a)}catch(f){k("FS.trackingDelegate['onDeletePath']('"+
a+"') threw an exception: "+f.message)}return 0}catch(f){return"undefined"!==typeof M&&f instanceof I||l(f),-f.ie}},qa:function(a,b){try{a=B(a);a:{try{var c=Kb(a,{He:!0}).node;if(!c)throw new I(44);if(!c.ce.qe)throw new I(63);var d=c.ce.qe(c)}catch(f){if(f&&f.node&&pb(a)!==pb(Mb(f.node))){var e=-54;break a}throw f;}w[b>>2]=d.dev;w[b+4>>2]=0;w[b+8>>2]=d.ino;w[b+12>>2]=d.mode;w[b+16>>2]=d.nlink;w[b+20>>2]=d.uid;w[b+24>>2]=d.gid;w[b+28>>2]=d.rdev;w[b+32>>2]=0;x=[d.size>>>0,(y=d.size,1<=+Math.abs(y)?
0>>0:~~+Math.ceil((y-+(~~y>>>0))/4294967296)>>>0:0)];w[b+40>>2]=x[0];w[b+44>>2]=x[1];w[b+48>>2]=4096;w[b+52>>2]=d.blocks;w[b+56>>2]=d.atime.getTime()/1E3|0;w[b+60>>2]=0;w[b+64>>2]=d.mtime.getTime()/1E3|0;w[b+68>>2]=0;w[b+72>>2]=d.ctime.getTime()/1E3|0;w[b+76>>2]=0;x=[d.ino>>>0,(y=d.ino,1<=+Math.abs(y)?0>>0:~~+Math.ceil((y-+(~~y>>>0))/4294967296)>>>0:0)];w[b+80>>2]=x[0];w[b+84>>2]=x[1];e=0}return e}catch(f){return"undefined"!==
-typeof M&&f instanceof I||l(f),-f.ie}},pa:function(a){try{return a=B(a),cc(a),0}catch(b){return"undefined"!==typeof M&&b instanceof I||l(b),-b.ie}},mc:function(){l()},o:function(a,b){if(0===a)a=Date.now();else if(1===a||4===a)a=Ac();else return mb(),-1;w[b>>2]=a/1E3|0;w[b+4>>2]=a%1E3*1E6|0;return 0},ta:function(){l("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},Ka:function(a){if(12448==a)return P=12288,1;P=12300;return 0},
-mb:function(a,b,c,d,e){if(62E3!=a)P=12296,c=0;else{if(b)for(;;){a=w[b>>2];if(12321==a)Q.alpha=0>2];else if(12325==a)Q.depth=0>2];else if(12326==a)Q.stencil=0>2];else if(12337==a)a=w[b+4>>2],Q.antialias=0>2],Q.antialias=1==a;else if(12544==a)Q.dg=12547!=w[b+4>>2];else if(12344==a)break;b+=8}c&&d||e?(e&&(w[e>>2]=1),c&&0>2]=62002),P=12288,c=1):(P=12300,c=0)}return c},Aa:function(a,b,c,d){if(62E3!=a)return P=12296,0;for(a=1;;){b=w[d>>2];if(12440==
-b)a=w[d+4>>2];else if(12344==b)break;else return P=12292,0;d+=8}if(2!=a)return P=12293,0;Q.lf=a-1;Q.eg=0;rd=ad(h.canvas,Q);if(0!=rd)return P=12288,cd(rd),h.Tf=!0,Sc.forEach(function(e){e()}),cd(null),62004;P=12297;return 0},Ca:function(a,b){if(62E3!=a)return P=12296,0;if(62002!=b)return P=12293,0;P=12288;return 62006},Ba:function(a,b){if(62E3!=a)return P=12296,0;if(62004!=b)return P=12294,0;a=rd;Id===bd[a]&&(Id=null);if("object"===typeof Wd)for(var c=bd[a].te.canvas,d=0;d>2]=Q.alpha?32:24,1;case 12321:return w[d>>2]=Q.alpha?8:0,1;case 12322:return w[d>>2]=8,1;case 12323:return w[d>>2]=8,1;case 12324:return w[d>>
+typeof M&&f instanceof I||l(f),-f.ie}},pa:function(a){try{return a=B(a),cc(a),0}catch(b){return"undefined"!==typeof M&&b instanceof I||l(b),-b.ie}},kc:function(){l()},o:function(a,b){if(0===a)a=Date.now();else if(1===a||4===a)a=Ac();else return mb(),-1;w[b>>2]=a/1E3|0;w[b+4>>2]=a%1E3*1E6|0;return 0},ta:function(){l("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")},Ia:function(a){if(12448==a)return P=12288,1;P=12300;return 0},
+kb:function(a,b,c,d,e){if(62E3!=a)P=12296,c=0;else{if(b)for(;;){a=w[b>>2];if(12321==a)Q.alpha=0>2];else if(12325==a)Q.depth=0>2];else if(12326==a)Q.stencil=0>2];else if(12337==a)a=w[b+4>>2],Q.antialias=0>2],Q.antialias=1==a;else if(12544==a)Q.dg=12547!=w[b+4>>2];else if(12344==a)break;b+=8}c&&d||e?(e&&(w[e>>2]=1),c&&0>2]=62002),P=12288,c=1):(P=12300,c=0)}return c},za:function(a,b,c,d){if(62E3!=a)return P=12296,0;for(a=1;;){b=w[d>>2];if(12440==
+b)a=w[d+4>>2];else if(12344==b)break;else return P=12292,0;d+=8}if(2!=a)return P=12293,0;Q.lf=a-1;Q.eg=0;rd=ad(h.canvas,Q);if(0!=rd)return P=12288,cd(rd),h.Tf=!0,Sc.forEach(function(e){e()}),cd(null),62004;P=12297;return 0},Ba:function(a,b){if(62E3!=a)return P=12296,0;if(62002!=b)return P=12293,0;P=12288;return 62006},Aa:function(a,b){if(62E3!=a)return P=12296,0;if(62004!=b)return P=12294,0;a=rd;Id===bd[a]&&(Id=null);if("object"===typeof Wd)for(var c=bd[a].te.canvas,d=0;d>2]=Q.alpha?32:24,1;case 12321:return w[d>>2]=Q.alpha?8:0,1;case 12322:return w[d>>2]=8,1;case 12323:return w[d>>2]=8,1;case 12324:return w[d>>
2]=8,1;case 12325:return w[d>>2]=Q.depth?24:0,1;case 12326:return w[d>>2]=Q.stencil?8:0,1;case 12327:return w[d>>2]=12344,1;case 12328:return w[d>>2]=62002,1;case 12329:return w[d>>2]=0,1;case 12330:return w[d>>2]=4096,1;case 12331:return w[d>>2]=16777216,1;case 12332:return w[d>>2]=4096,1;case 12333:return w[d>>2]=0,1;case 12334:return w[d>>2]=0,1;case 12335:return w[d>>2]=12344,1;case 12337:return w[d>>2]=Q.antialias?4:0,1;case 12338:return w[d>>2]=Q.antialias?1:0,1;case 12339:return w[d>>2]=4,
-1;case 12340:return w[d>>2]=12344,1;case 12341:case 12342:case 12343:return w[d>>2]=-1,1;case 12345:case 12346:return w[d>>2]=0,1;case 12347:return w[d>>2]=0,1;case 12348:return w[d>>2]=1;case 12349:case 12350:return w[d>>2]=0,1;case 12351:return w[d>>2]=12430,1;case 12352:return w[d>>2]=4,1;case 12354:return w[d>>2]=0,1;default:return P=12292,0}},X:function(){P=12288;return 62E3},za:function(){return P},La:function(a){return Ze(a)},Sa:function(a,b,c){if(62E3==a)return b&&(w[b>>2]=1),c&&(w[c>>2]=
-4),md=!0,P=12288,1;P=12296;return 0},Ea:function(a,b,c,d){if(62E3!=a)return P=12296,0;if(0!=d&&62004!=d)return P=12294,0;if(0!=c&&62006!=c||0!=b&&62006!=b)return P=12301,0;cd(d?rd:null);nd=d;pd=b;od=c;P=12288;return 1},ya:function(a,b){if(62E3!=a)return P=12296,0;P=12288;if(qd[b])return qd[b];switch(b){case 12371:a=Ja("Emscripten");break;case 12372:a=Ja("1.4 Emscripten EGL");break;case 12373:a=Ja("");break;case 12429:a=Ja("OpenGL_ES");break;default:return P=12300,0}return qd[b]=a},Fa:function(){if(md)if(h.pe)if(h.pe.isContextLost())P=
-12302;else return P=12288,1;else P=12290;else P=12289;return 0},Ga:function(a,b){if(62E3!=a)return P=12296,0;0==b?Bc(0,0):Bc(1,b);P=12288;return 1},bb:function(a){if(62E3!=a)return P=12296,0;pd=od=nd=0;md=!1;P=12288;return 1},Ja:function(){P=12288;return 1},Ha:function(){P=12288;return 1},d:function(a,b,c){Ve.length=0;var d;for(c>>=2;d=D[b++];)(d=105>d)&&c&1&&c++,Ve.push(d?Ca[c++>>1]:w[c]),++c;return jb[a].apply(null,Ve)},ua:function(){if(!Vd())return-1;Pd(qe);var a=je[1];if(a.exitFullscreen)a.fullscreenElement&&
-a.exitFullscreen();else if(a.webkitExitFullscreen)a.webkitFullscreenElement&&a.webkitExitFullscreen();else return-1;return 0},wa:function(){Pd(re);if(document.exitPointerLock)document.exitPointerLock();else if(document.ge)document.ge();else return-1;return 0},j:function(){return"number"===typeof devicePixelRatio&&devicePixelRatio||1},g:function(a,b,c){a=V(a);if(!a)return-4;a=pe(a);Ca[b>>3]=a.width;Ca[c>>3]=a.height;return 0},A:function(a,b){if(0>a||a>=Xd.length)return-5;if(!Xd[a])return-7;se(b,Xd[a]);
-return 0},sa:function(){return Xd.length},Ia:te,xa:function(a,b,c){a=h._fileno(a);return(a=Gb[a])?te(a.path,b,c):0},Dd:function(a){N.activeTexture(a)},Cd:function(a,b){N.attachShader(R[a],T[b])},da:function(a,b){N.ne.beginQueryEXT(a,Bd[b])},Bd:function(a,b,c){N.bindAttribLocation(R[a],b,B(c))},Ad:function(a,b){N.bindBuffer(a,wd[b])},zd:function(a,b){N.bindFramebuffer(a,xd[b])},yd:function(a,b){N.bindRenderbuffer(a,yd[b])},xd:function(a,b){N.bindTexture(a,zd[b])},Ld:function(a){N.bindVertexArray(Ad[a])},
-wd:function(a,b,c,d){N.blendColor(a,b,c,d)},vd:function(a){N.blendEquation(a)},ud:function(a,b){N.blendEquationSeparate(a,b)},td:function(a,b){N.blendFunc(a,b)},sd:function(a,b,c,d){N.blendFuncSeparate(a,b,c,d)},rd:function(a,b,c,d){N.bufferData(a,c?D.subarray(c,c+b):b,d)},qd:function(a,b,c,d){N.bufferSubData(a,b,D.subarray(d,d+c))},pd:function(a){return N.checkFramebufferStatus(a)},od:function(a){N.clear(a)},nd:function(a,b,c,d){N.clearColor(a,b,c,d)},md:function(a){N.clearDepth(a)},ld:function(a){N.clearStencil(a)},
-kd:function(a,b,c,d){N.colorMask(!!a,!!b,!!c,!!d)},jd:function(a){N.compileShader(T[a])},id:function(a,b,c,d,e,f,g,m){N.compressedTexImage2D(a,b,c,d,e,f,m?D.subarray(m,m+g):null)},hd:function(a,b,c,d,e,f,g,m,n){N.compressedTexSubImage2D(a,b,c,d,e,f,g,n?D.subarray(n,n+m):null)},gd:function(a,b,c,d,e,f,g,m){N.copyTexImage2D(a,b,c,d,e,f,g,m)},fd:function(a,b,c,d,e,f,g,m){N.copyTexSubImage2D(a,b,c,d,e,f,g,m)},ed:function(){var a=Gd(R),b=N.createProgram();b.name=a;R[a]=b;return a},dd:function(a){var b=
-Gd(T);T[b]=N.createShader(a);return b},cd:function(a){N.cullFace(a)},bd:function(a,b){for(var c=0;c>2],e=wd[d];e&&(N.deleteBuffer(e),e.name=0,wd[d]=null)}},ad:function(a,b){for(var c=0;c>2],e=xd[d];e&&(N.deleteFramebuffer(e),e.name=0,xd[d]=null)}},$c:function(a){if(a){var b=R[a];b?(N.deleteProgram(b),b.name=0,R[a]=null,Cd[a]=null):U(1281)}},fa:function(a,b){for(var c=0;c>2],e=Bd[d];e&&(N.ne.deleteQueryEXT(e),Bd[d]=null)}},_c:function(a,
-b){for(var c=0;c>2],e=yd[d];e&&(N.deleteRenderbuffer(e),e.name=0,yd[d]=null)}},Zc:function(a){if(a){var b=T[a];b?(N.deleteShader(b),T[a]=null):U(1281)}},Yc:function(a,b){for(var c=0;c>2],e=zd[d];e&&(N.deleteTexture(e),e.name=0,zd[d]=null)}},Kd:function(a,b){for(var c=0;c>2];N.deleteVertexArray(Ad[d]);Ad[d]=null}},Xc:function(a){N.depthFunc(a)},Wc:function(a){N.depthMask(!!a)},Vc:function(a,b){N.depthRange(a,b)},Uc:function(a,b){N.detachShader(R[a],
-T[b])},Tc:function(a){N.disable(a)},Sc:function(a){N.disableVertexAttribArray(a)},Rc:function(a,b,c){N.drawArrays(a,b,c)},Gd:function(a,b,c,d){N.drawArraysInstanced(a,b,c,d)},Hd:function(a,b){for(var c=ue[a],d=0;d>2];N.drawBuffers(c)},Qc:function(a,b,c,d){N.drawElements(a,b,c,d)},Fd:function(a,b,c,d,e){N.drawElementsInstanced(a,b,c,d,e)},Pc:function(a){N.enable(a)},Oc:function(a){N.enableVertexAttribArray(a)},ca:function(a){N.ne.endQueryEXT(a)},Nc:function(){N.finish()},Mc:function(){N.flush()},
-Lc:function(a,b,c,d){N.framebufferRenderbuffer(a,b,c,yd[d])},Kc:function(a,b,c,d,e){N.framebufferTexture2D(a,b,c,zd[d],e)},Jc:function(a){N.frontFace(a)},Hc:function(a,b){ve(a,b,"createBuffer",wd)},Fc:function(a,b){ve(a,b,"createFramebuffer",xd)},ga:function(a,b){for(var c=0;c>2]=0;break}var e=Gd(Bd);d.name=e;Bd[e]=d;w[b+4*c>>2]=e}},Ec:function(a,b){ve(a,b,"createRenderbuffer",yd)},Dc:function(a,b){ve(a,b,"createTexture",zd)},Jd:function(a,
-b){ve(a,b,"createVertexArray",Ad)},Gc:function(a){N.generateMipmap(a)},Cc:function(a,b,c,d,e,f,g){we("getActiveAttrib",a,b,c,d,e,f,g)},Bc:function(a,b,c,d,e,f,g){we("getActiveUniform",a,b,c,d,e,f,g)},Ac:function(a,b,c,d){a=N.getAttachedShaders(R[a]);var e=a.length;e>b&&(e=b);w[c>>2]=e;for(b=0;b>2]=T.indexOf(a[b])},zc:function(a,b){return N.getAttribLocation(R[a],B(b))},yc:function(a,b){ye(a,b,4)},wc:function(a,b,c){c?w[c>>2]=N.getBufferParameter(a,b):U(1281)},vc:function(){var a=N.getError()||
-Fd;Fd=0;return a},uc:function(a,b){ye(a,b,2)},tc:function(a,b,c,d){a=N.getFramebufferAttachmentParameter(a,b,c);if(a instanceof WebGLRenderbuffer||a instanceof WebGLTexture)a=a.name|0;w[d>>2]=a},sc:function(a,b){ye(a,b,0)},qc:function(a,b,c,d){a=N.getProgramInfoLog(R[a]);null===a&&(a="(unknown error)");b=0>2]=b)},rc:function(a,b,c){if(c)if(a>=vd)U(1281);else{var d=Cd[a];if(d)if(35716==b)a=N.getProgramInfoLog(R[a]),null===a&&(a="(unknown error)"),w[c>>2]=a.length+1;else if(35719==
-b)w[c>>2]=d.Re;else if(35722==b){if(-1==d.Ce){a=R[a];var e=N.getProgramParameter(a,35721);for(b=d.Ce=0;b>2]=d.Ce}else if(35381==b){if(-1==d.De)for(a=R[a],e=N.getProgramParameter(a,35382),b=d.De=0;b>2]=d.De}else w[c>>2]=N.getProgramParameter(R[a],b);else U(1282)}else U(1281)},Nd:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?
-d=a?1:0:d=a;xe(c,d)}else U(1281)},$:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;w[c>>2]=d}else U(1281)},Md:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;xe(c,d)}else U(1281)},Od:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;w[c>>2]=d}else U(1281)},aa:function(a,b,c){c?w[c>>2]=N.ne.getQueryEXT(a,b):U(1281)},pc:function(a,b,c){c?w[c>>2]=N.getRenderbufferParameter(a,
-b):U(1281)},nc:function(a,b,c,d){a=N.getShaderInfoLog(T[a]);null===a&&(a="(unknown error)");b=0>2]=b)},lc:function(a,b,c,d){a=N.getShaderPrecisionFormat(a,b);w[c>>2]=a.rangeMin;w[c+4>>2]=a.rangeMax;w[d>>2]=a.precision},kc:function(a,b,c,d){if(a=N.getShaderSource(T[a]))b=0>2]=b)},oc:function(a,b,c){c?35716==b?(a=N.getShaderInfoLog(T[a]),null===a&&(a="(unknown error)"),w[c>>2]=a?a.length+1:0):35720==b?(a=N.getShaderSource(T[a]),w[c>>2]=a?a.length+1:
-0):w[c>>2]=N.getShaderParameter(T[a],b):U(1281)},jc:function(a){if(Dd[a])return Dd[a];switch(a){case 7939:var b=N.getSupportedExtensions()||[];b=b.concat(b.map(function(d){return"GL_"+d}));b=ze(b.join(" "));break;case 7936:case 7937:case 37445:case 37446:(b=N.getParameter(a))||U(1280);b=ze(b);break;case 7938:b=ze("OpenGL ES 2.0 ("+N.getParameter(7938)+")");break;case 35724:b=N.getParameter(35724);var c=b.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==c&&(3==c[1].length&&(c[1]+="0"),
-b="OpenGL ES GLSL ES "+c[1]+" ("+b+")");b=ze(b);break;default:return U(1280),0}return Dd[a]=b},ic:function(a,b,c){c?A[c>>2]=N.getTexParameter(a,b):U(1281)},hc:function(a,b,c){c?w[c>>2]=N.getTexParameter(a,b):U(1281)},ec:function(a,b){b=B(b);var c=0;if("]"==b[b.length-1]){var d=b.lastIndexOf("[");c="]"!=b[d+1]?parseInt(b.slice(d+1)):0;b=b.slice(0,d)}return(a=Cd[a]&&Cd[a].tf[b])&&0<=c&&c>2]=N.getVertexAttribOffset(a,
-b):U(1281)},dc:function(a,b,c){Be(a,b,c,2)},cc:function(a,b,c){Be(a,b,c,5)},ac:function(a,b){N.hint(a,b)},$b:function(a){return(a=wd[a])?N.isBuffer(a):0},_b:function(a){return N.isEnabled(a)},Zb:function(a){return(a=xd[a])?N.isFramebuffer(a):0},Yb:function(a){return(a=R[a])?N.isProgram(a):0},ea:function(a){return(a=Bd[a])?N.ne.isQueryEXT(a):0},Xb:function(a){return(a=yd[a])?N.isRenderbuffer(a):0},Wb:function(a){return(a=T[a])?N.isShader(a):0},Vb:function(a){return(a=zd[a])?N.isTexture(a):0},Id:function(a){return(a=
-Ad[a])?N.isVertexArray(a):0},Ub:function(a){N.lineWidth(a)},Sb:function(a){N.linkProgram(R[a]);var b=R[a];a=Cd[a]={tf:{},Re:0,Ce:-1,De:-1};for(var c=a.tf,d=N.getProgramParameter(b,35718),e=0;e>2]:-1;e+=B(w[c+4*f>>2],0>g?void 0:g)}N.shaderSource(T[a],e)},Hb:function(a,
-b,c){N.stencilFunc(a,b,c)},Gb:function(a,b,c,d){N.stencilFuncSeparate(a,b,c,d)},Fb:function(a){N.stencilMask(a)},Eb:function(a,b){N.stencilMaskSeparate(a,b)},Db:function(a,b,c){N.stencilOp(a,b,c)},Cb:function(a,b,c,d){N.stencilOpSeparate(a,b,c,d)},Bb:function(a,b,c,d,e,f,g,m,n){N.texImage2D(a,b,c,d,e,f,g,m,n?Ce(m,g,d,e,n):null)},Ab:function(a,b,c){N.texParameterf(a,b,c)},zb:function(a,b,c){N.texParameterf(a,b,A[c>>2])},yb:function(a,b,c){N.texParameteri(a,b,c)},wb:function(a,b,c){N.texParameteri(a,
-b,w[c>>2])},vb:function(a,b,c,d,e,f,g,m,n){var r=null;n&&(r=Ce(m,g,e,f,n));N.texSubImage2D(a,b,c,d,e,f,g,m,r)},ub:function(a,b){N.uniform1f(S[a],b)},tb:function(a,b,c){if(288>=b)for(var d=De[b-1],e=0;e>2];else d=A.subarray(c>>2,c+4*b>>2);N.uniform1fv(S[a],d)},sb:function(a,b){N.uniform1i(S[a],b)},rb:function(a,b,c){if(288>=b)for(var d=Ee[b-1],e=0;e>2];else d=w.subarray(c>>2,c+4*b>>2);N.uniform1iv(S[a],d)},qb:function(a,b,c){N.uniform2f(S[a],b,c)},pb:function(a,
-b,c){if(144>=b)for(var d=De[2*b-1],e=0;e<2*b;e+=2)d[e]=A[c+4*e>>2],d[e+1]=A[c+(4*e+4)>>2];else d=A.subarray(c>>2,c+8*b>>2);N.uniform2fv(S[a],d)},ob:function(a,b,c){N.uniform2i(S[a],b,c)},nb:function(a,b,c){if(144>=b)for(var d=Ee[2*b-1],e=0;e<2*b;e+=2)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2];else d=w.subarray(c>>2,c+8*b>>2);N.uniform2iv(S[a],d)},lb:function(a,b,c,d){N.uniform3f(S[a],b,c,d)},kb:function(a,b,c){if(96>=b)for(var d=De[3*b-1],e=0;e<3*b;e+=3)d[e]=A[c+4*e>>2],d[e+1]=A[c+(4*e+4)>>2],d[e+2]=
-A[c+(4*e+8)>>2];else d=A.subarray(c>>2,c+12*b>>2);N.uniform3fv(S[a],d)},jb:function(a,b,c,d){N.uniform3i(S[a],b,c,d)},ib:function(a,b,c){if(96>=b)for(var d=Ee[3*b-1],e=0;e<3*b;e+=3)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2],d[e+2]=w[c+(4*e+8)>>2];else d=w.subarray(c>>2,c+12*b>>2);N.uniform3iv(S[a],d)},hb:function(a,b,c,d,e){N.uniform4f(S[a],b,c,d,e)},gb:function(a,b,c){if(72>=b){var d=De[4*b-1],e=A;c>>=2;for(var f=0;f<4*b;f+=4){var g=c+f;d[f]=e[g];d[f+1]=e[g+1];d[f+2]=e[g+2];d[f+3]=e[g+3]}}else d=A.subarray(c>>
-2,c+16*b>>2);N.uniform4fv(S[a],d)},fb:function(a,b,c,d,e){N.uniform4i(S[a],b,c,d,e)},eb:function(a,b,c){if(72>=b)for(var d=Ee[4*b-1],e=0;e<4*b;e+=4)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2],d[e+2]=w[c+(4*e+8)>>2],d[e+3]=w[c+(4*e+12)>>2];else d=w.subarray(c>>2,c+16*b>>2);N.uniform4iv(S[a],d)},db:function(a,b,c,d){if(72>=b)for(var e=De[4*b-1],f=0;f<4*b;f+=4)e[f]=A[d+4*f>>2],e[f+1]=A[d+(4*f+4)>>2],e[f+2]=A[d+(4*f+8)>>2],e[f+3]=A[d+(4*f+12)>>2];else e=A.subarray(d>>2,d+16*b>>2);N.uniformMatrix2fv(S[a],
-!!c,e)},cb:function(a,b,c,d){if(32>=b)for(var e=De[9*b-1],f=0;f<9*b;f+=9)e[f]=A[d+4*f>>2],e[f+1]=A[d+(4*f+4)>>2],e[f+2]=A[d+(4*f+8)>>2],e[f+3]=A[d+(4*f+12)>>2],e[f+4]=A[d+(4*f+16)>>2],e[f+5]=A[d+(4*f+20)>>2],e[f+6]=A[d+(4*f+24)>>2],e[f+7]=A[d+(4*f+28)>>2],e[f+8]=A[d+(4*f+32)>>2];else e=A.subarray(d>>2,d+36*b>>2);N.uniformMatrix3fv(S[a],!!c,e)},ab:function(a,b,c,d){if(18>=b){var e=De[16*b-1],f=A;d>>=2;for(var g=0;g<16*b;g+=16){var m=d+g;e[g]=f[m];e[g+1]=f[m+1];e[g+2]=f[m+2];e[g+3]=f[m+3];e[g+4]=f[m+
-4];e[g+5]=f[m+5];e[g+6]=f[m+6];e[g+7]=f[m+7];e[g+8]=f[m+8];e[g+9]=f[m+9];e[g+10]=f[m+10];e[g+11]=f[m+11];e[g+12]=f[m+12];e[g+13]=f[m+13];e[g+14]=f[m+14];e[g+15]=f[m+15]}}else e=A.subarray(d>>2,d+64*b>>2);N.uniformMatrix4fv(S[a],!!c,e)},$a:function(a){N.useProgram(R[a])},_a:function(a){N.validateProgram(R[a])},Za:function(a,b){N.vertexAttrib1f(a,b)},Ya:function(a,b){N.vertexAttrib1f(a,A[b>>2])},Xa:function(a,b,c){N.vertexAttrib2f(a,b,c)},Wa:function(a,b){N.vertexAttrib2f(a,A[b>>2],A[b+4>>2])},Va:function(a,
-b,c,d){N.vertexAttrib3f(a,b,c,d)},Ua:function(a,b){N.vertexAttrib3f(a,A[b>>2],A[b+4>>2],A[b+8>>2])},Ta:function(a,b,c,d,e){N.vertexAttrib4f(a,b,c,d,e)},Ra:function(a,b){N.vertexAttrib4f(a,A[b>>2],A[b+4>>2],A[b+8>>2],A[b+12>>2])},Ed:function(a,b){N.vertexAttribDivisor(a,b)},Qa:function(a,b,c,d,e,f){N.vertexAttribPointer(a,b,c,!!d,e,f)},Pa:function(a,b,c,d){N.viewport(a,b,c,d)},r:function(){return 0},e:function(a,b){Z(a,b||1);throw"longjmp";},ha:function(a,b,c){D.copyWithin(a,b,b+c)},va:function(a,
+1;case 12340:return w[d>>2]=12344,1;case 12341:case 12342:case 12343:return w[d>>2]=-1,1;case 12345:case 12346:return w[d>>2]=0,1;case 12347:return w[d>>2]=0,1;case 12348:return w[d>>2]=1;case 12349:case 12350:return w[d>>2]=0,1;case 12351:return w[d>>2]=12430,1;case 12352:return w[d>>2]=4,1;case 12354:return w[d>>2]=0,1;default:return P=12292,0}},X:function(){P=12288;return 62E3},ya:function(){return P},Ja:function(a){return Ze(a)},Qa:function(a,b,c){if(62E3==a)return b&&(w[b>>2]=1),c&&(w[c>>2]=
+4),md=!0,P=12288,1;P=12296;return 0},Da:function(a,b,c,d){if(62E3!=a)return P=12296,0;if(0!=d&&62004!=d)return P=12294,0;if(0!=c&&62006!=c||0!=b&&62006!=b)return P=12301,0;cd(d?rd:null);nd=d;pd=b;od=c;P=12288;return 1},xa:function(a,b){if(62E3!=a)return P=12296,0;P=12288;if(qd[b])return qd[b];switch(b){case 12371:a=Ja("Emscripten");break;case 12372:a=Ja("1.4 Emscripten EGL");break;case 12373:a=Ja("");break;case 12429:a=Ja("OpenGL_ES");break;default:return P=12300,0}return qd[b]=a},Ea:function(){if(md)if(h.pe)if(h.pe.isContextLost())P=
+12302;else return P=12288,1;else P=12290;else P=12289;return 0},Fa:function(a,b){if(62E3!=a)return P=12296,0;0==b?Bc(0,0):Bc(1,b);P=12288;return 1},$a:function(a){if(62E3!=a)return P=12296,0;pd=od=nd=0;md=!1;P=12288;return 1},Ha:function(){P=12288;return 1},Ga:function(){P=12288;return 1},d:function(a,b,c){Ve.length=0;var d;for(c>>=2;d=D[b++];)(d=105>d)&&c&1&&c++,Ve.push(d?Ca[c++>>1]:w[c]),++c;return jb[a].apply(null,Ve)},ua:function(){if(!Vd())return-1;Pd(qe);var a=je[1];if(a.exitFullscreen)a.fullscreenElement&&
+a.exitFullscreen();else if(a.webkitExitFullscreen)a.webkitFullscreenElement&&a.webkitExitFullscreen();else return-1;return 0},wa:function(){Pd(re);if(document.exitPointerLock)document.exitPointerLock();else if(document.ge)document.ge();else return-1;return 0},k:function(){return"number"===typeof devicePixelRatio&&devicePixelRatio||1},h:function(a,b,c){a=V(a);if(!a)return-4;a=pe(a);Ca[b>>3]=a.width;Ca[c>>3]=a.height;return 0},z:function(a,b){if(0>a||a>=Xd.length)return-5;if(!Xd[a])return-7;se(b,Xd[a]);
+return 0},sa:function(){return Xd.length},Od:te,Dd:function(a,b,c){a=h._fileno(a);return(a=Gb[a])?te(a.path,b,c):0},Bd:function(a){N.activeTexture(a)},Ad:function(a,b){N.attachShader(R[a],T[b])},da:function(a,b){N.ne.beginQueryEXT(a,Bd[b])},zd:function(a,b,c){N.bindAttribLocation(R[a],b,B(c))},yd:function(a,b){N.bindBuffer(a,wd[b])},xd:function(a,b){N.bindFramebuffer(a,xd[b])},wd:function(a,b){N.bindRenderbuffer(a,yd[b])},vd:function(a,b){N.bindTexture(a,zd[b])},Kd:function(a){N.bindVertexArray(Ad[a])},
+ud:function(a,b,c,d){N.blendColor(a,b,c,d)},td:function(a){N.blendEquation(a)},sd:function(a,b){N.blendEquationSeparate(a,b)},rd:function(a,b){N.blendFunc(a,b)},qd:function(a,b,c,d){N.blendFuncSeparate(a,b,c,d)},pd:function(a,b,c,d){N.bufferData(a,c?D.subarray(c,c+b):b,d)},od:function(a,b,c,d){N.bufferSubData(a,b,D.subarray(d,d+c))},nd:function(a){return N.checkFramebufferStatus(a)},md:function(a){N.clear(a)},ld:function(a,b,c,d){N.clearColor(a,b,c,d)},kd:function(a){N.clearDepth(a)},jd:function(a){N.clearStencil(a)},
+id:function(a,b,c,d){N.colorMask(!!a,!!b,!!c,!!d)},hd:function(a){N.compileShader(T[a])},gd:function(a,b,c,d,e,f,g,m){N.compressedTexImage2D(a,b,c,d,e,f,m?D.subarray(m,m+g):null)},fd:function(a,b,c,d,e,f,g,m,n){N.compressedTexSubImage2D(a,b,c,d,e,f,g,n?D.subarray(n,n+m):null)},ed:function(a,b,c,d,e,f,g,m){N.copyTexImage2D(a,b,c,d,e,f,g,m)},dd:function(a,b,c,d,e,f,g,m){N.copyTexSubImage2D(a,b,c,d,e,f,g,m)},cd:function(){var a=Gd(R),b=N.createProgram();b.name=a;R[a]=b;return a},bd:function(a){var b=
+Gd(T);T[b]=N.createShader(a);return b},ad:function(a){N.cullFace(a)},$c:function(a,b){for(var c=0;c>2],e=wd[d];e&&(N.deleteBuffer(e),e.name=0,wd[d]=null)}},_c:function(a,b){for(var c=0;c>2],e=xd[d];e&&(N.deleteFramebuffer(e),e.name=0,xd[d]=null)}},Zc:function(a){if(a){var b=R[a];b?(N.deleteProgram(b),b.name=0,R[a]=null,Cd[a]=null):U(1281)}},fa:function(a,b){for(var c=0;c>2],e=Bd[d];e&&(N.ne.deleteQueryEXT(e),Bd[d]=null)}},Yc:function(a,
+b){for(var c=0;c>2],e=yd[d];e&&(N.deleteRenderbuffer(e),e.name=0,yd[d]=null)}},Xc:function(a){if(a){var b=T[a];b?(N.deleteShader(b),T[a]=null):U(1281)}},Wc:function(a,b){for(var c=0;c>2],e=zd[d];e&&(N.deleteTexture(e),e.name=0,zd[d]=null)}},Jd:function(a,b){for(var c=0;c>2];N.deleteVertexArray(Ad[d]);Ad[d]=null}},Vc:function(a){N.depthFunc(a)},Uc:function(a){N.depthMask(!!a)},Tc:function(a,b){N.depthRange(a,b)},Sc:function(a,b){N.detachShader(R[a],
+T[b])},Rc:function(a){N.disable(a)},Qc:function(a){N.disableVertexAttribArray(a)},Pc:function(a,b,c){N.drawArrays(a,b,c)},Fd:function(a,b,c,d){N.drawArraysInstanced(a,b,c,d)},Gd:function(a,b){for(var c=ue[a],d=0;d>2];N.drawBuffers(c)},Oc:function(a,b,c,d){N.drawElements(a,b,c,d)},Ed:function(a,b,c,d,e){N.drawElementsInstanced(a,b,c,d,e)},Nc:function(a){N.enable(a)},Mc:function(a){N.enableVertexAttribArray(a)},ca:function(a){N.ne.endQueryEXT(a)},Lc:function(){N.finish()},Kc:function(){N.flush()},
+Jc:function(a,b,c,d){N.framebufferRenderbuffer(a,b,c,yd[d])},Ic:function(a,b,c,d,e){N.framebufferTexture2D(a,b,c,zd[d],e)},Hc:function(a){N.frontFace(a)},Fc:function(a,b){ve(a,b,"createBuffer",wd)},Dc:function(a,b){ve(a,b,"createFramebuffer",xd)},ga:function(a,b){for(var c=0;c>2]=0;break}var e=Gd(Bd);d.name=e;Bd[e]=d;w[b+4*c>>2]=e}},Cc:function(a,b){ve(a,b,"createRenderbuffer",yd)},Bc:function(a,b){ve(a,b,"createTexture",zd)},Id:function(a,
+b){ve(a,b,"createVertexArray",Ad)},Ec:function(a){N.generateMipmap(a)},Ac:function(a,b,c,d,e,f,g){we("getActiveAttrib",a,b,c,d,e,f,g)},zc:function(a,b,c,d,e,f,g){we("getActiveUniform",a,b,c,d,e,f,g)},yc:function(a,b,c,d){a=N.getAttachedShaders(R[a]);var e=a.length;e>b&&(e=b);w[c>>2]=e;for(b=0;b>2]=T.indexOf(a[b])},xc:function(a,b){return N.getAttribLocation(R[a],B(b))},wc:function(a,b){ye(a,b,4)},uc:function(a,b,c){c?w[c>>2]=N.getBufferParameter(a,b):U(1281)},tc:function(){var a=N.getError()||
+Fd;Fd=0;return a},sc:function(a,b){ye(a,b,2)},rc:function(a,b,c,d){a=N.getFramebufferAttachmentParameter(a,b,c);if(a instanceof WebGLRenderbuffer||a instanceof WebGLTexture)a=a.name|0;w[d>>2]=a},qc:function(a,b){ye(a,b,0)},oc:function(a,b,c,d){a=N.getProgramInfoLog(R[a]);null===a&&(a="(unknown error)");b=0>2]=b)},pc:function(a,b,c){if(c)if(a>=vd)U(1281);else{var d=Cd[a];if(d)if(35716==b)a=N.getProgramInfoLog(R[a]),null===a&&(a="(unknown error)"),w[c>>2]=a.length+1;else if(35719==
+b)w[c>>2]=d.Re;else if(35722==b){if(-1==d.Ce){a=R[a];var e=N.getProgramParameter(a,35721);for(b=d.Ce=0;b>2]=d.Ce}else if(35381==b){if(-1==d.De)for(a=R[a],e=N.getProgramParameter(a,35382),b=d.De=0;b>2]=d.De}else w[c>>2]=N.getProgramParameter(R[a],b);else U(1282)}else U(1281)},Md:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?
+d=a?1:0:d=a;xe(c,d)}else U(1281)},$:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;w[c>>2]=d}else U(1281)},Ld:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;xe(c,d)}else U(1281)},Nd:function(a,b,c){if(c){a=N.ne.getQueryObjectEXT(Bd[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;w[c>>2]=d}else U(1281)},aa:function(a,b,c){c?w[c>>2]=N.ne.getQueryEXT(a,b):U(1281)},nc:function(a,b,c){c?w[c>>2]=N.getRenderbufferParameter(a,
+b):U(1281)},lc:function(a,b,c,d){a=N.getShaderInfoLog(T[a]);null===a&&(a="(unknown error)");b=0>2]=b)},jc:function(a,b,c,d){a=N.getShaderPrecisionFormat(a,b);w[c>>2]=a.rangeMin;w[c+4>>2]=a.rangeMax;w[d>>2]=a.precision},ic:function(a,b,c,d){if(a=N.getShaderSource(T[a]))b=0>2]=b)},mc:function(a,b,c){c?35716==b?(a=N.getShaderInfoLog(T[a]),null===a&&(a="(unknown error)"),w[c>>2]=a?a.length+1:0):35720==b?(a=N.getShaderSource(T[a]),w[c>>2]=a?a.length+1:
+0):w[c>>2]=N.getShaderParameter(T[a],b):U(1281)},hc:function(a){if(Dd[a])return Dd[a];switch(a){case 7939:var b=N.getSupportedExtensions()||[];b=b.concat(b.map(function(d){return"GL_"+d}));b=ze(b.join(" "));break;case 7936:case 7937:case 37445:case 37446:(b=N.getParameter(a))||U(1280);b=ze(b);break;case 7938:b=ze("OpenGL ES 2.0 ("+N.getParameter(7938)+")");break;case 35724:b=N.getParameter(35724);var c=b.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==c&&(3==c[1].length&&(c[1]+="0"),
+b="OpenGL ES GLSL ES "+c[1]+" ("+b+")");b=ze(b);break;default:return U(1280),0}return Dd[a]=b},gc:function(a,b,c){c?A[c>>2]=N.getTexParameter(a,b):U(1281)},fc:function(a,b,c){c?w[c>>2]=N.getTexParameter(a,b):U(1281)},cc:function(a,b){b=B(b);var c=0;if("]"==b[b.length-1]){var d=b.lastIndexOf("[");c="]"!=b[d+1]?parseInt(b.slice(d+1)):0;b=b.slice(0,d)}return(a=Cd[a]&&Cd[a].tf[b])&&0<=c&&c>2]=N.getVertexAttribOffset(a,
+b):U(1281)},bc:function(a,b,c){Be(a,b,c,2)},ac:function(a,b,c){Be(a,b,c,5)},_b:function(a,b){N.hint(a,b)},Zb:function(a){return(a=wd[a])?N.isBuffer(a):0},Yb:function(a){return N.isEnabled(a)},Xb:function(a){return(a=xd[a])?N.isFramebuffer(a):0},Wb:function(a){return(a=R[a])?N.isProgram(a):0},ea:function(a){return(a=Bd[a])?N.ne.isQueryEXT(a):0},Vb:function(a){return(a=yd[a])?N.isRenderbuffer(a):0},Ub:function(a){return(a=T[a])?N.isShader(a):0},Tb:function(a){return(a=zd[a])?N.isTexture(a):0},Hd:function(a){return(a=
+Ad[a])?N.isVertexArray(a):0},Sb:function(a){N.lineWidth(a)},Qb:function(a){N.linkProgram(R[a]);var b=R[a];a=Cd[a]={tf:{},Re:0,Ce:-1,De:-1};for(var c=a.tf,d=N.getProgramParameter(b,35718),e=0;e>2]:-1;e+=B(w[c+4*f>>2],0>g?void 0:g)}N.shaderSource(T[a],e)},Fb:function(a,
+b,c){N.stencilFunc(a,b,c)},Eb:function(a,b,c,d){N.stencilFuncSeparate(a,b,c,d)},Db:function(a){N.stencilMask(a)},Cb:function(a,b){N.stencilMaskSeparate(a,b)},Bb:function(a,b,c){N.stencilOp(a,b,c)},Ab:function(a,b,c,d){N.stencilOpSeparate(a,b,c,d)},zb:function(a,b,c,d,e,f,g,m,n){N.texImage2D(a,b,c,d,e,f,g,m,n?Ce(m,g,d,e,n):null)},yb:function(a,b,c){N.texParameterf(a,b,c)},xb:function(a,b,c){N.texParameterf(a,b,A[c>>2])},wb:function(a,b,c){N.texParameteri(a,b,c)},ub:function(a,b,c){N.texParameteri(a,
+b,w[c>>2])},tb:function(a,b,c,d,e,f,g,m,n){var r=null;n&&(r=Ce(m,g,e,f,n));N.texSubImage2D(a,b,c,d,e,f,g,m,r)},sb:function(a,b){N.uniform1f(S[a],b)},rb:function(a,b,c){if(288>=b)for(var d=De[b-1],e=0;e>2];else d=A.subarray(c>>2,c+4*b>>2);N.uniform1fv(S[a],d)},qb:function(a,b){N.uniform1i(S[a],b)},pb:function(a,b,c){if(288>=b)for(var d=Ee[b-1],e=0;e>2];else d=w.subarray(c>>2,c+4*b>>2);N.uniform1iv(S[a],d)},ob:function(a,b,c){N.uniform2f(S[a],b,c)},nb:function(a,
+b,c){if(144>=b)for(var d=De[2*b-1],e=0;e<2*b;e+=2)d[e]=A[c+4*e>>2],d[e+1]=A[c+(4*e+4)>>2];else d=A.subarray(c>>2,c+8*b>>2);N.uniform2fv(S[a],d)},mb:function(a,b,c){N.uniform2i(S[a],b,c)},lb:function(a,b,c){if(144>=b)for(var d=Ee[2*b-1],e=0;e<2*b;e+=2)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2];else d=w.subarray(c>>2,c+8*b>>2);N.uniform2iv(S[a],d)},jb:function(a,b,c,d){N.uniform3f(S[a],b,c,d)},ib:function(a,b,c){if(96>=b)for(var d=De[3*b-1],e=0;e<3*b;e+=3)d[e]=A[c+4*e>>2],d[e+1]=A[c+(4*e+4)>>2],d[e+2]=
+A[c+(4*e+8)>>2];else d=A.subarray(c>>2,c+12*b>>2);N.uniform3fv(S[a],d)},hb:function(a,b,c,d){N.uniform3i(S[a],b,c,d)},gb:function(a,b,c){if(96>=b)for(var d=Ee[3*b-1],e=0;e<3*b;e+=3)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2],d[e+2]=w[c+(4*e+8)>>2];else d=w.subarray(c>>2,c+12*b>>2);N.uniform3iv(S[a],d)},fb:function(a,b,c,d,e){N.uniform4f(S[a],b,c,d,e)},eb:function(a,b,c){if(72>=b){var d=De[4*b-1],e=A;c>>=2;for(var f=0;f<4*b;f+=4){var g=c+f;d[f]=e[g];d[f+1]=e[g+1];d[f+2]=e[g+2];d[f+3]=e[g+3]}}else d=A.subarray(c>>
+2,c+16*b>>2);N.uniform4fv(S[a],d)},db:function(a,b,c,d,e){N.uniform4i(S[a],b,c,d,e)},cb:function(a,b,c){if(72>=b)for(var d=Ee[4*b-1],e=0;e<4*b;e+=4)d[e]=w[c+4*e>>2],d[e+1]=w[c+(4*e+4)>>2],d[e+2]=w[c+(4*e+8)>>2],d[e+3]=w[c+(4*e+12)>>2];else d=w.subarray(c>>2,c+16*b>>2);N.uniform4iv(S[a],d)},bb:function(a,b,c,d){if(72>=b)for(var e=De[4*b-1],f=0;f<4*b;f+=4)e[f]=A[d+4*f>>2],e[f+1]=A[d+(4*f+4)>>2],e[f+2]=A[d+(4*f+8)>>2],e[f+3]=A[d+(4*f+12)>>2];else e=A.subarray(d>>2,d+16*b>>2);N.uniformMatrix2fv(S[a],
+!!c,e)},ab:function(a,b,c,d){if(32>=b)for(var e=De[9*b-1],f=0;f<9*b;f+=9)e[f]=A[d+4*f>>2],e[f+1]=A[d+(4*f+4)>>2],e[f+2]=A[d+(4*f+8)>>2],e[f+3]=A[d+(4*f+12)>>2],e[f+4]=A[d+(4*f+16)>>2],e[f+5]=A[d+(4*f+20)>>2],e[f+6]=A[d+(4*f+24)>>2],e[f+7]=A[d+(4*f+28)>>2],e[f+8]=A[d+(4*f+32)>>2];else e=A.subarray(d>>2,d+36*b>>2);N.uniformMatrix3fv(S[a],!!c,e)},_a:function(a,b,c,d){if(18>=b){var e=De[16*b-1],f=A;d>>=2;for(var g=0;g<16*b;g+=16){var m=d+g;e[g]=f[m];e[g+1]=f[m+1];e[g+2]=f[m+2];e[g+3]=f[m+3];e[g+4]=f[m+
+4];e[g+5]=f[m+5];e[g+6]=f[m+6];e[g+7]=f[m+7];e[g+8]=f[m+8];e[g+9]=f[m+9];e[g+10]=f[m+10];e[g+11]=f[m+11];e[g+12]=f[m+12];e[g+13]=f[m+13];e[g+14]=f[m+14];e[g+15]=f[m+15]}}else e=A.subarray(d>>2,d+64*b>>2);N.uniformMatrix4fv(S[a],!!c,e)},Za:function(a){N.useProgram(R[a])},Ya:function(a){N.validateProgram(R[a])},Xa:function(a,b){N.vertexAttrib1f(a,b)},Wa:function(a,b){N.vertexAttrib1f(a,A[b>>2])},Va:function(a,b,c){N.vertexAttrib2f(a,b,c)},Ua:function(a,b){N.vertexAttrib2f(a,A[b>>2],A[b+4>>2])},Ta:function(a,
+b,c,d){N.vertexAttrib3f(a,b,c,d)},Sa:function(a,b){N.vertexAttrib3f(a,A[b>>2],A[b+4>>2],A[b+8>>2])},Ra:function(a,b,c,d,e){N.vertexAttrib4f(a,b,c,d,e)},Pa:function(a,b){N.vertexAttrib4f(a,A[b>>2],A[b+4>>2],A[b+8>>2],A[b+12>>2])},Cd:function(a,b){N.vertexAttribDivisor(a,b)},Oa:function(a,b,c,d,e,f){N.vertexAttribPointer(a,b,c,!!d,e,f)},Na:function(a,b,c,d){N.viewport(a,b,c,d)},r:function(){return 0},e:function(a,b){Z(a,b||1);throw"longjmp";},ha:function(a,b,c){D.copyWithin(a,b,b+c)},va:function(a,
b,c){return Fe(a,{Ue:w[c>>2],Me:w[c+4>>2],Df:w[c+8>>2],Af:b,Ge:w[c+12>>2],Ze:w[c+16>>2]})},W:function(a,b){a=V(a);return a?a.requestPointerLock||a.Ke?Jd&&Rd.ue?re(a):b?(Od(re,2,[a]),1):-2:-1:-4},ia:function(a){a>>>=0;var b=D.length;if(2147483648=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,a+100663296);d=Math.max(16777216,a,d);0>>16);Pa(Da.buffer);var e=1;break a}catch(f){}e=void 0}if(e)return!0}return!1},
-B:function(){return(Xd=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads():null)?0:-1},C:function(a,b,c){if("undefined"===typeof onbeforeunload)return-1;if(1!==c)return-5;Ge(a,b);return 0},O:function(a,b,c,d){He(a,b,c,d,12,"blur");return 0},i:le,p:function(a,b,c){a=V(a);if(!a)return-4;a.style.width=b+"px";a.style.height=c+"px";return 0},P:function(a,b,c,d){He(a,b,c,d,13,"focus");return 0},F:function(a,b,c,d){if(!Vd())return-1;a=V(a);if(!a)return-4;
-Ie(a,b,c,d,"fullscreenchange");Ie(a,b,c,d,"webkitfullscreenchange");return 0},z:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Je(a,b,c,26,"gamepadconnected");return 0},y:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Je(a,b,c,27,"gamepaddisconnected");return 0},I:function(a,b,c,d){Ke(a,b,c,d,2,"keydown");return 0},G:function(a,b,c,d){Ke(a,b,c,d,1,"keypress");return 0},H:function(a,b,c,d){Ke(a,b,c,d,3,"keyup");return 0},Tb:function(a,
+A:function(){return(Xd=navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads():null)?0:-1},C:function(a,b,c){if("undefined"===typeof onbeforeunload)return-1;if(1!==c)return-5;Ge(a,b);return 0},O:function(a,b,c,d){He(a,b,c,d,12,"blur");return 0},i:le,p:function(a,b,c){a=V(a);if(!a)return-4;a.style.width=b+"px";a.style.height=c+"px";return 0},P:function(a,b,c,d){He(a,b,c,d,13,"focus");return 0},F:function(a,b,c,d){if(!Vd())return-1;a=V(a);if(!a)return-4;
+Ie(a,b,c,d,"fullscreenchange");Ie(a,b,c,d,"webkitfullscreenchange");return 0},y:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Je(a,b,c,26,"gamepadconnected");return 0},x:function(a,b,c){if(!navigator.getGamepads&&!navigator.webkitGetGamepads)return-1;Je(a,b,c,27,"gamepaddisconnected");return 0},I:function(a,b,c,d){Ke(a,b,c,d,2,"keydown");return 0},G:function(a,b,c,d){Ke(a,b,c,d,1,"keypress");return 0},H:function(a,b,c,d){Ke(a,b,c,d,3,"keyup");return 0},Rb:function(a,
b,c,d,e){Jc(function(){G.get(a)()},b,c,d,e)},U:function(a,b,c,d){Me(a,b,c,d,5,"mousedown");return 0},S:function(a,b,c,d){Me(a,b,c,d,33,"mouseenter");return 0},R:function(a,b,c,d){Me(a,b,c,d,34,"mouseleave");return 0},V:function(a,b,c,d){Me(a,b,c,d,8,"mousemove");return 0},T:function(a,b,c,d){Me(a,b,c,d,6,"mouseup");return 0},J:function(a,b,c,d){if(!document||!document.body||!(document.body.requestPointerLock||document.body.ge||document.body.Be||document.body.Ke))return-1;a=V(a);if(!a)return-4;Ne(a,
b,c,d,"pointerlockchange");Ne(a,b,c,d,"mozpointerlockchange");Ne(a,b,c,d,"webkitpointerlockchange");Ne(a,b,c,d,"mspointerlockchange");return 0},E:function(a,b,c,d){Oe(a,b,c,d);return 0},K:function(a,b,c,d){Pe(a,b,c,d,25,"touchcancel");return 0},M:function(a,b,c,d){Pe(a,b,c,d,23,"touchend");return 0},L:function(a,b,c,d){Pe(a,b,c,d,24,"touchmove");return 0},N:function(a,b,c,d){Pe(a,b,c,d,22,"touchstart");return 0},D:function(a,b,c){if(!je[1])return-4;Qe(a,b,c);return 0},Q:function(a,b,c,d){a=V(a);return"undefined"!==
typeof a.onwheel?(Re(a,b,c,d),0):-1},q:function(){throw"Please compile your program with async support in order to use asynchronous operations like emscripten_sleep";},ja:function(a,b){try{var c=0;Te().forEach(function(d,e){var f=b+c;e=w[a+4*e>>2]=f;for(f=0;f>0]=d.charCodeAt(f);q[e>>0]=0;c+=d.length+1});return 0}catch(d){return"undefined"!==typeof M&&d instanceof I||l(d),d.ie}},ka:function(a,b){try{var c=Te();w[a>>2]=c.length;var d=0;c.forEach(function(e){d+=e.length+1});w[b>>
-2]=d;return 0}catch(e){return"undefined"!==typeof M&&e instanceof I||l(e),e.ie}},t:function(a){$e(a)},w:function(a){try{var b=zc(a);hc(b);return 0}catch(c){return"undefined"!==typeof M&&c instanceof I||l(c),c.ie}},la:function(a,b,c,d){try{a:{for(var e=zc(a),f=a=0;f>2],m=e,n=w[b+8*f>>2],r=g,p=void 0,t=q;if(0>r||0>p)throw new I(28);if(null===m.fd)throw new I(8);if(1===(m.flags&2097155))throw new I(8);if(K(m.node.mode))throw new I(31);if(!m.de.read)throw new I(28);var u="undefined"!==
-typeof p;if(!u)p=m.position;else if(!m.seekable)throw new I(70);var v=m.de.read(m,t,n,r,p);u||(m.position+=v);var z=v;if(0>z){var C=-1;break a}a+=z;if(z>2]=C;return 0}catch(H){return"undefined"!==typeof M&&H instanceof I||l(H),H.ie}},Ma:function(a,b,c,d,e){try{var f=zc(a);a=4294967296*c+(b>>>0);if(-9007199254740992>=a||9007199254740992<=a)return-61;ic(f,a,d);x=[f.position>>>0,(y=f.position,1<=+Math.abs(y)?0>>0:~~+Math.ceil((y-
-+(~~y>>>0))/4294967296)>>>0:0)];w[e>>2]=x[0];w[e+4>>2]=x[1];f.Pe&&0===a&&0===d&&(f.Pe=null);return 0}catch(g){return"undefined"!==typeof M&&g instanceof I||l(g),g.ie}},v:function(a,b,c,d){try{a:{for(var e=zc(a),f=a=0;f>2],w[b+(8*f+4)>>2],void 0);if(0>g){var m=-1;break a}a+=g}m=a}w[d>>2]=m;return 0}catch(n){return"undefined"!==typeof M&&n instanceof I||l(n),n.ie}},b:function(){return xa},n:function(a){var b=Date.now();w[a>>2]=b/1E3|0;w[a+4>>2]=b%1E3*1E3|0;return 0},xc:af,
-m:bf,k:cf,s:df,u:ef,Ic:ff,Y:gf,Oa:hf,Na:jf,h:kf,l:lf,Z:mf,a:Da,ra:function(a,b){if(0===a)return mb(),-1;var c=w[a>>2];a=w[a+4>>2];if(0>a||999999999c)return mb(),-1;0!==b&&(w[b>>2]=0,w[b+4>>2]=0);b=1E6*c+a/1E3;for(c=Ac();Ac()-c>2],m=e,n=w[b+8*f>>2],r=g,p=void 0,t=q;if(0>r||0>p)throw new I(28);if(null===m.fd)throw new I(8);if(1===(m.flags&2097155))throw new I(8);if(K(m.node.mode))throw new I(31);if(!m.de.read)throw new I(28);var u="undefined"!==
+typeof p;if(!u)p=m.position;else if(!m.seekable)throw new I(70);var v=m.de.read(m,t,n,r,p);u||(m.position+=v);var z=v;if(0>z){var C=-1;break a}a+=z;if(z>2]=C;return 0}catch(H){return"undefined"!==typeof M&&H instanceof I||l(H),H.ie}},Ka:function(a,b,c,d,e){try{var f=zc(a);a=4294967296*c+(b>>>0);if(-9007199254740992>=a||9007199254740992<=a)return-61;ic(f,a,d);x=[f.position>>>0,(y=f.position,1<=+Math.abs(y)?0>>0:~~+Math.ceil((y-
++(~~y>>>0))/4294967296)>>>0:0)];w[e>>2]=x[0];w[e+4>>2]=x[1];f.Pe&&0===a&&0===d&&(f.Pe=null);return 0}catch(g){return"undefined"!==typeof M&&g instanceof I||l(g),g.ie}},u:function(a,b,c,d){try{a:{for(var e=zc(a),f=a=0;f>2],w[b+(8*f+4)>>2],void 0);if(0>g){var m=-1;break a}a+=g}m=a}w[d>>2]=m;return 0}catch(n){return"undefined"!==typeof M&&n instanceof I||l(n),n.ie}},b:function(){return xa},n:function(a){var b=Date.now();w[a>>2]=b/1E3|0;w[a+4>>2]=b%1E3*1E3|0;return 0},vc:af,
+s:bf,j:cf,m:df,B:ef,Gc:ff,Y:gf,Ma:hf,La:jf,g:kf,l:lf,Z:mf,a:Da,ra:function(a,b){if(0===a)return mb(),-1;var c=w[a>>2];a=w[a+4>>2];if(0>a||999999999c)return mb(),-1;0!==b&&(w[b>>2]=0,w[b+4>>2]=0);b=1E6*c+a/1E3;for(c=Ac();Ac()-cg.indexOf("_rwasm=0")&&(location.href+=(g?g+"&":"?")+"_rwasm=0")}l(f)})}var d={a:nf};$a("wasm-instantiate");if(h.instantiateWasm)try{return h.instantiateWasm(d,a)}catch(e){return k("Module.instantiateWasm callback failed with error: "+
e),!1}(function(){return ya||"function"!==typeof WebAssembly.instantiateStreaming||db(eb)||cb(eb,"file://")||"function"!==typeof fetch?c(b):fetch(eb,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(f){k("wasm streaming compile failed: "+f);k("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})();
var Ye=h.___wasm_call_ctors=function(){return(Ye=h.___wasm_call_ctors=h.asm.Qd).apply(null,arguments)},F=h._malloc=function(){return(F=h._malloc=h.asm.Rd).apply(null,arguments)};h._main=function(){return(h._main=h.asm.Sd).apply(null,arguments)};var nb=h.___errno_location=function(){return(nb=h.___errno_location=h.asm.Td).apply(null,arguments)},Ze=h._emscripten_GetProcAddress=function(){return(Ze=h._emscripten_GetProcAddress=h.asm.Ud).apply(null,arguments)};
h._fileno=function(){return(h._fileno=h.asm.Vd).apply(null,arguments)};
var W=h.stackSave=function(){return(W=h.stackSave=h.asm.Wd).apply(null,arguments)},X=h.stackRestore=function(){return(X=h.stackRestore=h.asm.Xd).apply(null,arguments)},La=h.stackAlloc=function(){return(La=h.stackAlloc=h.asm.Yd).apply(null,arguments)},Z=h._setThrew=function(){return(Z=h._setThrew=h.asm.Zd).apply(null,arguments)},of=h.dynCall_ji=function(){return(of=h.dynCall_ji=h.asm._d).apply(null,arguments)},pf=h.dynCall_jiji=function(){return(pf=h.dynCall_jiji=h.asm.$d).apply(null,arguments)};
-h.dynCall_iiji=function(){return(h.dynCall_iiji=h.asm.ae).apply(null,arguments)};function bf(a,b){var c=W();try{return G.get(a)(b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}}function ef(a,b,c,d,e){var f=W();try{return G.get(a)(b,c,d,e)}catch(g){X(f);if(g!==g+0&&"longjmp"!==g)throw g;Z(1,0)}}function df(a,b,c,d){var e=W();try{return G.get(a)(b,c,d)}catch(f){X(e);if(f!==f+0&&"longjmp"!==f)throw f;Z(1,0)}}
-function kf(a,b){var c=W();try{G.get(a)(b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}}function mf(a,b,c,d){var e=W();try{G.get(a)(b,c,d)}catch(f){X(e);if(f!==f+0&&"longjmp"!==f)throw f;Z(1,0)}}function lf(a,b,c){var d=W();try{G.get(a)(b,c)}catch(e){X(d);if(e!==e+0&&"longjmp"!==e)throw e;Z(1,0)}}function cf(a,b,c){var d=W();try{return G.get(a)(b,c)}catch(e){X(d);if(e!==e+0&&"longjmp"!==e)throw e;Z(1,0)}}
+h.dynCall_iiji=function(){return(h.dynCall_iiji=h.asm.ae).apply(null,arguments)};function cf(a,b,c){var d=W();try{return G.get(a)(b,c)}catch(e){X(d);if(e!==e+0&&"longjmp"!==e)throw e;Z(1,0)}}function ef(a,b,c,d,e){var f=W();try{return G.get(a)(b,c,d,e)}catch(g){X(f);if(g!==g+0&&"longjmp"!==g)throw g;Z(1,0)}}function df(a,b,c,d){var e=W();try{return G.get(a)(b,c,d)}catch(f){X(e);if(f!==f+0&&"longjmp"!==f)throw f;Z(1,0)}}
+function kf(a,b){var c=W();try{G.get(a)(b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}}function bf(a,b){var c=W();try{return G.get(a)(b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}}function mf(a,b,c,d){var e=W();try{G.get(a)(b,c,d)}catch(f){X(e);if(f!==f+0&&"longjmp"!==f)throw f;Z(1,0)}}function lf(a,b,c){var d=W();try{G.get(a)(b,c)}catch(e){X(d);if(e!==e+0&&"longjmp"!==e)throw e;Z(1,0)}}
function gf(a,b,c,d,e,f,g,m,n,r){var p=W();try{return G.get(a)(b,c,d,e,f,g,m,n,r)}catch(t){X(p);if(t!==t+0&&"longjmp"!==t)throw t;Z(1,0)}}function ff(a,b,c,d,e,f,g,m,n){var r=W();try{return G.get(a)(b,c,d,e,f,g,m,n)}catch(p){X(r);if(p!==p+0&&"longjmp"!==p)throw p;Z(1,0)}}function af(a){var b=W();try{return G.get(a)()}catch(c){X(b);if(c!==c+0&&"longjmp"!==c)throw c;Z(1,0)}}function hf(a,b){var c=W();try{return of(a,b)}catch(d){X(c);if(d!==d+0&&"longjmp"!==d)throw d;Z(1,0)}}
function jf(a,b,c,d,e){var f=W();try{return pf(a,b,c,d,e)}catch(g){X(f);if(g!==g+0&&"longjmp"!==g)throw g;Z(1,0)}}h.addRunDependency=$a;h.removeRunDependency=ab;h.FS_createPath=nc;h.FS_createDataFile=pc;h.FS_createPreloadedFile=tc;h.FS_createLazyFile=sc;h.FS_createDevice=qc;h.FS_unlink=cc;
if(bb)if(db(bb)||(bb=la(bb)),ia||ja){var qf=oa(bb);D.set(qf,1024)}else{$a("memory initializer");var rf=function(a){a.byteLength&&(a=new Uint8Array(a));D.set(a,1024);h.memoryInitializerRequest&&delete h.memoryInitializerRequest.response;ab("memory initializer")},sf=function(){na(bb,rf,function(){throw Error("could not load memory initializer "+bb);})};if(h.memoryInitializerRequest){var tf=function(){var a=h.memoryInitializerRequest,b=a.response;200!==a.status&&0!==a.status?(console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+
diff --git a/wasm/basque.wasm b/wasm/basque.wasm
index 1ab4700..7f70c68 100755
Binary files a/wasm/basque.wasm and b/wasm/basque.wasm differ
diff --git a/wasm/basque.wasm.js b/wasm/basque.wasm.js
index 67b871e..b591806 100644
--- a/wasm/basque.wasm.js
+++ b/wasm/basque.wasm.js
@@ -32,37 +32,37 @@ WebAssembly = {
// EMSCRIPTEN_START_ASM
function instantiate(xP){function nP(yP){yP.set=(function(zP,AP){this[zP]=AP});yP.get=(function(zP){return this[zP]});return yP}var a;var b=new ArrayBuffer(16);var c=new Int32Array(b);var d=new Float32Array(b);var e=new Float64Array(b);function oP(BP){return c[BP]}function pP(BP,CP){c[BP]=CP}function qP(){return e[0]}function rP(CP){e[0]=CP}function sP(){return d[2]}function tP(CP){d[2]=CP}function uP(DP){var f=DP.a;var g=f.buffer;f.grow=wP;var h=new Int8Array(g);var i=new Int16Array(g);var j=new Int32Array(g);var k=new Uint8Array(g);var l=new Uint16Array(g);var m=new Uint32Array(g);var n=new Float32Array(g);var o=new Float64Array(g);var p=Math.imul;var q=Math.fround;var r=Math.abs;var s=Math.clz32;var t=Math.min;var u=Math.max;var v=Math.floor;var w=Math.ceil;var x=Math.trunc;var y=Math.sqrt;var z=DP.abort;var A=NaN;var B=Infinity;var C=DP.b;var D=DP.c;var E=DP.d;var F=DP.e;var G=DP.f;var H=DP.g;var I=DP.h;var J=DP.i;var K=DP.j;var L=DP.k;var M=DP.l;var N=DP.m;var O=DP.n;var P=DP.o;var Q=DP.p;var R=DP.q;var S=DP.r;var T=DP.s;var U=DP.t;var V=DP.u;var W=DP.v;var X=DP.w;var Y=DP.x;var Z=DP.y;var _=DP.z;var $=DP.A;var aa=DP.B;var ba=DP.C;var ca=DP.D;var da=DP.E;var ea=DP.F;var fa=DP.G;var ga=DP.H;var ha=DP.I;var ia=DP.J;var ja=DP.K;var ka=DP.L;var la=DP.M;var ma=DP.N;var na=DP.O;var oa=DP.P;var pa=DP.Q;var qa=DP.R;var ra=DP.S;var sa=DP.T;var ta=DP.U;var ua=DP.V;var va=DP.W;var wa=DP.X;var xa=DP.Y;var ya=DP.Z;var za=DP._;var Aa=DP.$;var Ba=DP.aa;var Ca=DP.ba;var Da=DP.ca;var Ea=DP.da;var Fa=DP.ea;var Ga=DP.fa;var Ha=DP.ga;var Ia=DP.ha;var Ja=DP.ia;var Ka=DP.ja;var La=DP.ka;var Ma=DP.la;var Na=DP.ma;var Oa=DP.na;var Pa=DP.oa;var Qa=DP.pa;var Ra=DP.qa;var Sa=DP.ra;var Ta=DP.sa;var Ua=DP.ta;var Va=DP.ua;var Wa=DP.va;var Xa=DP.wa;var Ya=DP.xa;var Za=DP.ya;var _a=DP.za;var $a=DP.Aa;var ab=DP.Ba;var bb=DP.Ca;var cb=DP.Da;var db=DP.Ea;var eb=DP.Fa;var fb=DP.Ga;var gb=DP.Ha;var hb=DP.Ia;var ib=DP.Ja;var jb=DP.Ka;var kb=DP.La;var lb=DP.Ma;var mb=DP.Na;var nb=DP.Oa;var ob=DP.Pa;var pb=DP.Qa;var qb=DP.Ra;var rb=DP.Sa;var sb=DP.Ta;var tb=DP.Ua;var ub=DP.Va;var vb=DP.Wa;var wb=DP.Xa;var xb=DP.Ya;var yb=DP.Za;var zb=DP._a;var Ab=DP.$a;var Bb=DP.ab;var Cb=DP.bb;var Db=DP.cb;var Eb=DP.db;var Fb=DP.eb;var Gb=DP.fb;var Hb=DP.gb;var Ib=DP.hb;var Jb=DP.ib;var Kb=DP.jb;var Lb=DP.kb;var Mb=DP.lb;var Nb=DP.mb;var Ob=DP.nb;var Pb=DP.ob;var Qb=DP.pb;var Rb=DP.qb;var Sb=DP.rb;var Tb=DP.sb;var Ub=DP.tb;var Vb=DP.ub;var Wb=DP.vb;var Xb=DP.wb;var Yb=DP.xb;var Zb=DP.yb;var _b=DP.zb;var $b=DP.Ab;var ac=DP.Bb;var bc=DP.Cb;var cc=DP.Db;var dc=DP.Eb;var ec=DP.Fb;var fc=DP.Gb;var gc=DP.Hb;var hc=DP.Ib;var ic=DP.Jb;var jc=DP.Kb;var kc=DP.Lb;var lc=DP.Mb;var mc=DP.Nb;var nc=DP.Ob;var oc=DP.Pb;var pc=DP.Qb;var qc=DP.Rb;var rc=DP.Sb;var sc=DP.Tb;var tc=DP.Ub;var uc=DP.Vb;var vc=DP.Wb;var wc=DP.Xb;var xc=DP.Yb;var yc=DP.Zb;var zc=DP._b;var Ac=DP.$b;var Bc=DP.ac;var Cc=DP.bc;var Dc=DP.cc;var Ec=DP.dc;var Fc=DP.ec;var Gc=DP.fc;var Hc=DP.gc;var Ic=DP.hc;var Jc=DP.ic;var Kc=DP.jc;var Lc=DP.kc;var Mc=DP.lc;var Nc=DP.mc;var Oc=DP.nc;var Pc=DP.oc;var Qc=DP.pc;var Rc=DP.qc;var Sc=DP.rc;var Tc=DP.sc;var Uc=DP.tc;var Vc=DP.uc;var Wc=DP.vc;var Xc=DP.wc;var Yc=DP.xc;var Zc=DP.yc;var _c=DP.zc;var $c=DP.Ac;var ad=DP.Bc;var bd=DP.Cc;var cd=DP.Dc;var dd=DP.Ec;var ed=DP.Fc;var fd=DP.Gc;var gd=DP.Hc;var hd=DP.Ic;var id=DP.Jc;var jd=DP.Kc;var kd=DP.Lc;var ld=DP.Mc;var md=DP.Nc;var nd=DP.Oc;var od=DP.Pc;var pd=DP.Qc;var qd=DP.Rc;var rd=DP.Sc;var sd=DP.Tc;var td=DP.Uc;var ud=DP.Vc;var vd=DP.Wc;var wd=DP.Xc;var xd=DP.Yc;var yd=DP.Zc;var zd=DP._c;var Ad=DP.$c;var Bd=DP.ad;var Cd=DP.bd;var Dd=DP.cd;var Ed=DP.dd;var Fd=DP.ed;var Gd=DP.fd;var Hd=DP.gd;var Id=DP.hd;var Jd=DP.id;var Kd=DP.jd;var Ld=DP.kd;var Md=DP.ld;var Nd=DP.md;var Od=DP.nd;var Pd=DP.od;var Qd=DP.pd;var Rd=DP.qd;var Sd=DP.rd;var Td=DP.sd;var Ud=DP.td;var Vd=DP.ud;var Wd=DP.vd;var Xd=DP.wd;var Yd=DP.xd;var Zd=DP.yd;var _d=DP.zd;var $d=DP.Ad;var ae=DP.Bd;var be=DP.Cd;var ce=DP.Dd;var de=DP.Ed;var ee=DP.Fd;var fe=DP.Gd;var ge=DP.Hd;var he=DP.Id;var ie=DP.Jd;var je=DP.Kd;var ke=DP.Ld;var le=DP.Md;var me=DP.Nd;var ne=DP.Od;var oe=537139920;var pe=0;
// EMSCRIPTEN_START_FUNCS
-function OH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;r=oe+ -64|0;oe=r;j[a+256>>2]=0;b=a;a:{if(l[a+216>>1]!=l[a+218>>1]){e=911;g=912;d=909;c=910;break a}e=915;g=916;d=913;c=914}j[b+604>>2]=d;j[a+600>>2]=c;j[a+596>>2]=e;j[a+592>>2]=g;th(a);b=j[a+312>>2];if((b&255)>>>0<=7){j[a+568>>2]=j[(b<<24>>22)+159544>>2]}C=a+180|0;D=a+144|0;v=a+72|0;t=a+36|0;w=a+108|0;b=j[a+360>>2];b:{c:{d:{e:{while(1){o=j[a+356>>2];f=k[o+b|0];h[a+368|0]=f;g=h[f+158080|0];j[a+372>>2]=g;f:{if((f&254)!=64){e=j[a+364>>2];break f}e=j[a+364>>2];c=b+1|0;if((e|0)<=(c|0)){e=131;break d}g=2-p(k[c+o|0],g)|0;j[a+372>>2]=g}if((b+g|0)>(e|0)){e=131;break d}d=k[f+158336|0];c=d>>>4|0;b=j[a+16>>2]-c|0;j[a+28>>2]=b;if((b|0)<=-1){if(k[a+561|0]){e=129;break d}if(c){Ee(j[a+24>>2],0,c<<2)}j[a+28>>2]=0;b=0}q=(d&15)+b|0;j[a+32>>2]=q;e=130;c=j[a+20>>2];if((c|0)<(q|0)){break d}j[a+12>>2]=0;h[a+376|0]=1;n=j[a+24>>2];d=n+(b<<2)|0;e=135;g:{h:{i:{j:{k:{l:{m:{n:{switch(f|0){case 0:case 1:case 2:case 3:case 4:case 5:b=f<<14&16384;c=b^16384;if(f>>>0<=3){i[a+296>>1]=c;i[a+294>>1]=b;i[a+292>>1]=c;i[a+290>>1]=b}if(!(f&2)){i[a+300>>1]=c;i[a+298>>1]=b}th(a);break m;case 6:case 7:o:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break o}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;p:{q:{if((d^b+d)>16383){break q}d=c>>31;if((d+c^d)>16383){break q}if(!(b|c)){break p}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+294>>1]=H;G=a,H=De(c,b),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;th(a);break m;case 8:case 9:r:{b=l[d+4>>1];if(b>>>0>1]){c=l[d>>1];if(c>>>0>1]){break r}}if(!k[a+561|0]){break m}e=134;break d}c=j[a+88>>2]+(c<<3)|0;d=j[a+124>>2]+(b<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=!(f&1)|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;s:{t:{if((d^b+d)>16383){break t}d=c>>31;if((d+c^d)>16383){break t}if(!(b|c)){break s}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,H=De(d,b),i[G+298>>1]=H;G=a,H=De(c,b),i[G+300>>1]=H}th(a);break m;case 10:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;u:{v:{if((c+f^f)>16383){break v}f=b>>31;if((f+b^f)>16383){break v}if(!(b|c)){break u}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+294>>1]=H;G=a,H=De(b,c),i[G+296>>1]=H}b=l[a+294>>1]|l[a+296>>1]<<16;i[a+290>>1]=b;i[a+292>>1]=b>>>16;th(a);break m;case 11:e=j[d+4>>2]<<16;b=e>>16;d=j[d>>2]<<16;c=d>>16;f=d>>31;w:{x:{if((c+f^f)>16383){break x}f=b>>31;if((f+b^f)>16383){break x}if(!(b|c)){break w}b=e>>2;c=d>>2}d=c;c=ig(c,b)<<2;G=a,H=De(d,c),i[G+298>>1]=H;G=a,H=De(b,c),i[G+300>>1]=H}th(a);break m;case 13:j[d>>2]=i[a+298>>1];j[d+4>>2]=i[a+300>>1];break m;case 14:b=l[a+294>>1]|l[a+296>>1]<<16;i[a+298>>1]=b;i[a+300>>1]=b>>>16;th(a);break m;case 15:y:{c=l[d+12>>1];b=l[a+44>>1];z:{if(c>>>0>=b>>>0){break z}e=l[d+16>>1];if(e>>>0>=b>>>0){break z}f=l[d+4>>1];b=l[a+80>>1];if(f>>>0>=b>>>0){break z}n=l[d+8>>1];if(n>>>0>=b>>>0){break z}b=l[d>>1];if(b>>>0>1]){break y}}if(!k[a+561|0]){break m}e=134;break d}o=j[a+52>>2];z=c<<3;c=o+z|0;d=j[c+4>>2];B=e<<3;g=B+o|0;q=j[g+4>>2];o=j[a+88>>2];e=f<<3;s=o+e|0;f=j[s>>2];E=n<<3;o=E+o|0;u=j[o>>2];n=j[s+4>>2];s=j[o+4>>2];o=j[c>>2];c=j[g>>2];g=b+j[a+132>>2]|0;h[g|0]=k[g|0]|24;g=u-f|0;y=q-d|0;A=0-y|0;q=s-n|0;s=c-o|0;c=Ne(g,A,64)+Ne(q,s,64)|0;u=c>>31;x=Ne(g,s,64)+Ne(q,y,64)|0;y=x>>31;if((p(c+u^u,19)|0)>(y^y+x)){d=Ne(o-f|0,A,64)+Ne(d-n|0,s,64)|0;f=Ne(d,g,c);c=Ne(d,q,c);b=j[a+124>>2]+(b<<3)|0;d=e+j[a+88>>2]|0;j[b>>2]=f+j[d>>2];j[b+4>>2]=c+j[d+4>>2];break m}b=j[a+124>>2]+(b<<3)|0;c=j[a+52>>2];d=c+z|0;f=j[a+88>>2];n=f+E|0;e=e+f|0;c=c+B|0;j[b>>2]=((j[d>>2]+(j[n>>2]+j[e>>2]|0)|0)+j[c>>2]|0)/4;j[b+4>>2]=(j[c+4>>2]+(j[d+4>>2]+(j[n+4>>2]+j[e+4>>2]|0)|0)|0)/4;break m;case 16:i[a+284>>1]=j[d>>2];break m;case 17:i[a+286>>1]=j[d>>2];break m;case 18:i[a+288>>1]=j[d>>2];break m;case 19:b=C;A:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break A}}c=j[b+4>>2];j[t>>2]=j[b>>2];j[t+4>>2]=c;j[t+32>>2]=j[b+32>>2];c=j[b+28>>2];j[t+24>>2]=j[b+24>>2];j[t+28>>2]=c;c=j[b+20>>2];j[t+16>>2]=j[b+16>>2];j[t+20>>2]=c;c=j[b+12>>2];j[t+8>>2]=j[b+8>>2];j[t+12>>2]=c;i[a+344>>1]=j[d>>2];break m;case 20:b=C;B:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break B}}c=j[b+4>>2];j[v>>2]=j[b>>2];j[v+4>>2]=c;j[v+32>>2]=j[b+32>>2];c=j[b+28>>2];j[v+24>>2]=j[b+24>>2];j[v+28>>2]=c;c=j[b+20>>2];j[v+16>>2]=j[b+16>>2];j[v+20>>2]=c;c=j[b+12>>2];j[v+8>>2]=j[b+8>>2];j[v+12>>2]=c;i[a+346>>1]=j[d>>2];break m;case 21:b=C;C:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break C}}c=j[b+4>>2];j[w>>2]=j[b>>2];j[w+4>>2]=c;j[w+32>>2]=j[b+32>>2];c=j[b+28>>2];j[w+24>>2]=j[b+24>>2];j[w+28>>2]=c;c=j[b+20>>2];j[w+16>>2]=j[b+16>>2];j[w+20>>2]=c;c=j[b+12>>2];j[w+8>>2]=j[b+8>>2];j[w+12>>2]=c;i[a+348>>1]=j[d>>2];break m;case 22:b=C;D:{switch(j[d>>2]){default:if(!k[a+561|0]){break m}e=134;break d;case 1:b=D;break;case 0:break D}}c=j[b+4>>2];o=j[b>>2];j[t>>2]=o;j[t+4>>2]=c;g=j[b+32>>2];j[t+32>>2]=g;e=j[b+28>>2];q=j[b+24>>2];j[t+24>>2]=q;j[t+28>>2]=e;f=j[b+20>>2];s=j[b+16>>2];j[t+16>>2]=s;j[t+20>>2]=f;n=j[b+12>>2];b=j[b+8>>2];j[t+8>>2]=b;j[t+12>>2]=n;j[v+32>>2]=g;j[v+24>>2]=q;j[v+28>>2]=e;j[v+16>>2]=s;j[v+20>>2]=f;j[v+8>>2]=b;j[v+12>>2]=n;j[v>>2]=o;j[v+4>>2]=c;j[w+32>>2]=j[t+32>>2];b=j[t+28>>2];j[w+24>>2]=j[t+24>>2];j[w+28>>2]=b;b=j[t+20>>2];j[w+16>>2]=j[t+16>>2];j[w+20>>2]=b;b=j[t+12>>2];j[w+8>>2]=j[t+8>>2];j[w+12>>2]=b;b=j[t+4>>2];j[w>>2]=j[t>>2];j[w+4>>2]=b;b=l[d>>1];i[a+348>>1]=b;i[a+346>>1]=b;i[a+344>>1]=b;break m;case 23:b=j[d>>2];if((b|0)<0){e=132;break d}j[a+304>>2]=b;break m;case 24:j[a+568>>2]=917;j[a+312>>2]=1;break m;case 25:j[a+568>>2]=918;j[a+312>>2]=0;break m;case 26:j[a+308>>2]=j[d>>2];break m;case 27:b=j[a+360>>2];c=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(c|0)){e=131;break d}e=k[b+o|0];h[a+368|0]=e;g=h[e+158080|0];j[a+372>>2]=g;if((e&254)==64){f=b+1|0;if((f|0)>=(c|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((c|0)<(b+g|0)){e=131;break d}E:{switch(e-88|0){case 0:d=d+1|0;if(d){continue}break m;case 1:d=d-1|0;break;default:break E}}if(d){continue}break}break m;case 28:c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;F:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break F}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 29:j[a+320>>2]=j[d>>2];break m;case 30:j[a+324>>2]=j[d>>2];break m;case 31:G=a,H=ye(j[d>>2],j[a+260>>2]),j[G+328>>2]=H;break m;case 32:j[d+4>>2]=j[d>>2];break m;case 35:G=d,H=mP(j[d>>2],j[d+4>>2]),j[G>>2]=H;j[d+4>>2]=pe;break m;case 36:j[d>>2]=j[a+16>>2];break m;case 37:c=d;e=j[d>>2];G:{if(!((b|0)>=(e|0)?(e|0)>=1:0)){b=0;if(!k[a+561|0]){break G}j[a+12>>2]=134;j[d>>2]=0;break m}b=j[(b-e<<2)+n>>2]}j[c>>2]=b;break m;case 38:c=j[d>>2];if(!((b|0)>=(c|0)?(c|0)>=1:0)){if(!k[a+561|0]){break m}e=134;break d}b=(b-c<<2)+n|0;d=j[b>>2];yg(b,b+4|0,(c<<2)-4|0);j[(j[a+24>>2]+(j[a+28>>2]<<2)|0)-4>>2]=d;break m;case 39:H:{b=l[d>>1];if(b>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break H}}if(!k[a+561|0]){break m}e=134;break d}f=b;d=j[a+52>>2]+(c<<3)|0;b=j[a+88>>2]+(b<<3)|0;b=(qe[j[a+572>>2]](a,j[d>>2]-j[b>>2]|0,j[d+4>>2]-j[b+4>>2]|0)|0)/2|0;qe[j[a+584>>2]](a,v,f,b);qe[j[a+584>>2]](a,t,c,0-b|0);break m;case 40:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=40)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;I:{if(b>>>0>=3){j[a+12>>2]=132;break I}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break I}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break I}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 41:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}b=b+j[a+60>>2]|0;c=b;d=k[b|0];b=l[a+298>>1]?-9:-1;h[c|0]=d&(l[a+300>>1]?b&239:b);break m;case 42:e=134;f=j[d+4>>2];b=j[a+420>>2]+1|0;if(f>>>0>=b>>>0){break d}c=j[a+404>>2];n=j[a+396>>2];J:{if((n|0)==(b|0)){b=c+p(f,24)|0;if((f|0)==j[b+12>>2]){break J}}o=c+p(n,24)|0;b=c;K:{if((n|0)<1){break K}while(1){if((f|0)==j[b+12>>2]){break K}b=b+24|0;if(o>>>0>b>>>0){continue}break}}if((b|0)==(o|0)){break d}}if(!k[b+16|0]){break d}e=130;f=j[a+428>>2];if((f|0)>=j[a+432>>2]){break d}if(j[d>>2]<1){break m}c=j[a+436>>2]+(f<<4)|0;j[c>>2]=j[a+352>>2];j[c+4>>2]=j[a+360>>2]+1;d=j[d>>2];j[c+12>>2]=b;j[c+8>>2]=d;j[a+428>>2]=f+1;d=j[b>>2];c=d-1|0;L:{if(c>>>0>=3){j[a+12>>2]=132;break L}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break L}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break L}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 43:e=134;d=j[d>>2];b=j[a+420>>2]+1|0;if(d>>>0>=b>>>0){break d}c=j[a+404>>2];f=j[a+396>>2];M:{if((f|0)==(b|0)){b=c+p(d,24)|0;if((d|0)==j[b+12>>2]){break M}}n=c+p(f,24)|0;b=c;N:{if((f|0)<1){break N}while(1){if((d|0)==j[b+12>>2]){break N}b=b+24|0;if(n>>>0>b>>>0){continue}break}}if((b|0)==(n|0)){break d}}if(!k[b+16|0]){break d}e=130;d=j[a+428>>2];if((d|0)>=j[a+432>>2]){break d}c=j[a+436>>2]+(d<<4)|0;j[c>>2]=j[a+352>>2];e=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=e+1;j[a+428>>2]=d+1;d=j[b>>2];c=d-1|0;O:{if(c>>>0>=3){j[a+12>>2]=132;break O}e=j[((c<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break O}c=j[((c<<3)+a|0)+448>>2];b=j[b+4>>2];if((c|0)<(b|0)){j[a+12>>2]=131;break O}j[a+364>>2]=c;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=d}h[a+376|0]=0;break m;case 44:b=j[a+404>>2];e=j[a+396>>2];f=b+p(e,24)|0;c=j[d>>2];P:{if((e|0)<1){break P}while(1){if((c|0)==j[b+12>>2]){break P}b=b+24|0;if(f>>>0>b>>>0){continue}break}}if((b|0)==(f|0)){if(e>>>0>=m[a+400>>2]){e=140;break d}j[a+396>>2]=e+1}if(c>>>0>65535){e=140;break d}d=j[a+352>>2];j[b+12>>2]=c;j[b>>2]=d;d=j[a+360>>2];j[b+20>>2]=0;i[b+16>>1]=1;j[b+4>>2]=d+1;if(c>>>0>m[a+420>>2]){j[a+420>>2]=c}f=j[a+364>>2];while(1){d=d+g|0;j[a+360>>2]=d;if((d|0)>=(f|0)){e=131;break d}c=k[d+o|0];h[a+368|0]=c;g=h[c+158080|0];j[a+372>>2]=g;if((c&254)==64){e=d+1|0;if((e|0)>=(f|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((f|0)<(d+g|0)){e=131;break d}e=137;Q:{switch(c-44|0){case 1:j[b+8>>2]=d;break m;case 0:break d;default:break Q}}if((c|0)!=137){continue}break}break d;case 34:j[a+32>>2]=0;break k;case 33:case 89:case 126:case 127:j[a+16>>2]=q;break j;case 12:j[d>>2]=i[a+294>>1];j[d+4>>2]=i[a+296>>1];break m;default:if(f>>>0>=224){R:{S:{f=l[d>>1];T:{if(f>>>0>=l[a+80>>1]){break T}b=j[d+4>>2];c=b+1|0;if(c>>>0>=j[a+380>>2]+1>>>0){break T}if(l[a+284>>1]>1]){break S}}if(!k[a+561|0]){break R}j[a+12>>2]=134;break R}q=j[a+320>>2];o=j[a+308>>2];g=0;if(c){g=qe[j[a+596>>2]](a,b)|0}b=j[a+328>>2];d=g-b|0;c=d>>31;b=j[a+324>>2]>(c^c+d)?(g|0)>-1?b:0-b|0:g;c=0-b|0;U:{if(l[a+346>>1]){break U}d=i[a+298>>1];c=d>>31;n=c^c+d;c=b>>31;g=c+b^c;s=g>>>16|0;u=p(n,s);e=u<<16|8192;y=f<<3;c=y+j[a+84>>2]|0;z=j[a+48>>2]+(l[a+284>>1]<<3)|0;A=e;x=n;n=g&65535;e=e+p(x,n)|0;e=(u>>>16|0)+(A>>>0>e>>>0)<<18|e>>>14;j[c>>2]=j[z>>2]+((b^d)>-1?e:0-e|0);d=i[a+300>>1];e=d>>31;g=e^d+e;s=p(g,s);e=s<<16|8192;x=e;e=e+p(g,n)|0;e=(s>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;j[c+4>>2]=j[z+4>>2]+((b^d)>-1?e:0-e|0);e=j[c+4>>2];d=y+j[a+88>>2]|0;j[d>>2]=j[c>>2];j[d+4>>2]=e;c=0-b|0}d=f<<3;e=d+j[a+84>>2]|0;n=j[a+48>>2]+(l[a+284>>1]<<3)|0;n=qe[j[a+576>>2]](a,j[e>>2]-j[n>>2]|0,j[e+4>>2]-j[n+4>>2]|0)|0;d=d+j[a+88>>2]|0;e=j[a+52>>2]+(l[a+284>>1]<<3)|0;g=qe[j[a+572>>2]](a,j[d>>2]-j[e>>2]|0,j[d+4>>2]-j[e+4>>2]|0)|0;b=(b^n)<0?k[a+316|0]?c:b:b;c=k[a+368|0];V:{if(c&4){d=a;if(l[a+344>>1]==l[a+346>>1]){s=b-n|0;e=s>>31;b=(q|0)<(e^e+s)?n:b}e=qe[j[a+568>>2]](d,b,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break V}d=j[(((c&3)<<2)+a|0)+264>>2];if((b|0)>=0){b=b+d|0;e=(b|0)>0?b:0;break V}b=b-d|0;e=b>>31&b}W:{if(!(c&8)){break W}if((n|0)>=0){e=(e|0)<(o|0)?o:e;break W}b=0-o|0;e=(b|0)<(e|0)?b:e}qe[j[a+584>>2]](a,v,f,e-g|0)}i[a+286>>1]=l[a+284>>1];if(k[a+368|0]&16){i[a+284>>1]=f}i[a+288>>1]=f;break m}if(f>>>0>=192){X:{Y:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Y}}if(!k[a+561|0]){break X}j[a+12>>2]=134;break X}f=j[a+308>>2];Z:{if(!(l[a+346>>1]?l[a+344>>1]:0)){d=j[a+84>>2]+(b<<3)|0;c=j[a+48>>2]+(c<<3)|0;c=qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0;break Z}c=j[a+56>>2]+(c<<3)|0;d=j[a+92>>2]+(b<<3)|0;e=j[a+220>>2];if((e|0)==j[a+224>>2]){c=ye(qe[j[a+576>>2]](a,j[d>>2]-j[c>>2]|0,j[d+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]);break Z}c=(H=a,I=ye(j[d>>2]-j[c>>2]|0,e),J=ye(j[d+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,I|0,J|0)|0)}d=j[a+328>>2];n=c-d|0;e=n>>31;d=j[a+324>>2]>(e^e+n)?(c|0)>-1?d:0-d|0:c;c=k[a+368|0];_:{if(c&4){e=qe[j[a+568>>2]](a,d,j[(((c&3)<<2)+a|0)+264>>2])|0;c=k[a+368|0];break _}e=j[(((c&3)<<2)+a|0)+264>>2];if((d|0)>=0){e=d+e|0;e=(e|0)>0?e:0;break _}e=d-e|0;e=e>>31&e}$:{if(!(c&8)){break $}if((d|0)>=0){e=(e|0)<(f|0)?f:e;break $}c=0-f|0;e=(c|0)<(e|0)?c:e}c=j[a+88>>2]+(b<<3)|0;d=j[a+52>>2]+(l[a+284>>1]<<3)|0;J=a,I=v,H=b,K=e-(qe[j[a+572>>2]](a,j[c>>2]-j[d>>2]|0,j[c+4>>2]-j[d+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](J|0,I|0,H|0,K|0)}i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(k[a+368|0]&16)){break m}i[a+284>>1]=b;break m}if(f>>>0>=184){e=130;f=f+65353&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}b=j[a+360>>2];c=b+1|0;j[a+360>>2]=c;aa:{if(!f){break aa}j[a+360>>2]=b+3;j[d>>2]=(k[(b+o|0)+2|0]|k[c+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break aa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;break m}if(f>>>0>=176){b=1;e=130;f=f+65361&65535;if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}c=1;if(!f){break m}while(1){j[(d+(b<<2)|0)-4>>2]=k[o+(j[a+360>>2]+b|0)|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}break m}b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;ba:{if(b>>>0>=3){j[a+12>>2]=132;break ba}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ba}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break ba}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 143:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=143)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ca:{if(b>>>0>=3){j[a+12>>2]=132;break ca}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ca}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ca}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 142:b=j[d+4>>2]-1|0;if(b>>>0>=3){if(!k[a+561|0]){break m}e=134;break d}c=j[d>>2];b=1<>2];if((b|0)<0){break m}j[a+340>>2]=b;break m;case 140:b=j[d+4>>2];if((b|0)>=j[d>>2]){break m}j[d>>2]=b;break m;case 139:b=j[d+4>>2];if((b|0)<=j[d>>2]){break m}j[d>>2]=b;break m;case 138:b=j[d+4>>2];c=j[d+8>>2];j[d+8>>2]=j[d>>2];j[d>>2]=b;j[d+4>>2]=c;break m;case 137:b=j[a+416>>2];c=j[a+408>>2];e=b+p(c,24)|0;da:{if((c|0)<1){break da}f=j[d>>2];while(1){if((f|0)==j[b+12>>2]){break da}b=b+24|0;if(e>>>0>b>>>0){continue}break}}if((b|0)==(e|0)){if(c>>>0>=m[a+412>>2]){e=141;break d}j[a+408>>2]=c+1}c=j[d>>2];if(c>>>0>255){e=141;break d}j[b+12>>2]=c;c=j[a+360>>2];j[b+4>>2]=c+1;e=j[a+352>>2];h[b+16|0]=1;j[b>>2]=e;b=j[d>>2];if(b>>>0>m[a+424>>2]){j[a+424>>2]=b&255}d=j[a+364>>2];while(1){c=c+g|0;j[a+360>>2]=c;if((c|0)>=(d|0)){e=131;break d}b=k[c+o|0];h[a+368|0]=b;g=h[b+158080|0];j[a+372>>2]=g;if((b&254)==64){e=c+1|0;if((e|0)>=(d|0)){e=131;break d}g=2-p(k[e+o|0],g)|0;j[a+372>>2]=g}if((d|0)<(c+g|0)){e=131;break d}e=137;ea:{switch(b-44|0){case 1:break m;case 0:break d;default:break ea}}if((b|0)!=137){continue}break}break d;case 136:c=j[d>>2];b=0-(c&1)&35;b=c&2?k[a+281|0]?b|128:b:b;b=c&4?k[a+282|0]?b|256:b:b;if(c&32){b=k[a+608|0]?b|4096:b}j[d>>2]=b;break m;case 134:case 135:fa:{b=l[d>>1];if(b>>>0>1]){d=l[d+4>>1];if(d>>>0>1]){break fa}}if(!k[a+561|0]){break m}e=134;break d}e=j[a+84>>2]+(b<<3)|0;n=j[a+120>>2]+(d<<3)|0;c=j[e+4>>2]-j[n+4>>2]|0;n=j[e>>2]-j[n>>2]|0;e=c|n;n=e?n:16384;f=!(f&1)|!e;e=f?c:n;c=f?n:0-c|0;n=c>>31;ga:{ha:{if((n^c+n)>16383){break ha}n=e>>31;if((n+e^n)>16383){break ha}if(!(c|e)){break ga}e=e<<14;c=c<<14}n=c;c=ig(c,e)<<2;G=a,K=De(n,c),i[G+290>>1]=K;G=a,K=De(e,c),i[G+292>>1]=K}c=j[a+88>>2]+(b<<3)|0;d=j[a+124>>2]+(d<<3)|0;b=j[c+4>>2]-j[d+4>>2]|0;d=j[c>>2]-j[d>>2]|0;c=b|d;d=c?d:16384;e=f|!c;c=e?b:d;b=e?d:0-b|0;d=b>>31;ia:{ja:{if((d^b+d)>16383){break ja}d=c>>31;if((d+c^d)>16383){break ja}if(!(b|c)){break ia}c=c<<14;b=b<<14}d=b;b=ig(b,c)<<2;G=a,K=De(d,b),i[G+294>>1]=K;G=a,K=De(c,b),i[G+296>>1]=K}th(a);break m;case 133:ka:{b=j[d>>2];c=b&255;if(c){if((c|0)!=255){break ka}h[a+337|0]=1;break m}h[a+337|0]=0;break m}if(!(!(b&256)|c>>>0>1])){h[a+337|0]=1}if(!(!(b&512)|!k[a+281|0])){h[a+337|0]=1}if(!(!(b&1024)|!k[a+282|0])){h[a+337|0]=1}if(!(!(b&2048)|c>>>0>=l[a+252>>1])){h[a+337|0]=0}if(!(!(b&4096)|!k[a+281|0])){h[a+337|0]=0}if(!(b&8192)|!k[a+282|0]){break m}h[a+337|0]=0;break m;case 131:case 132:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){c=p(g,24)+b|0;d=b;while(1){if(!(!k[d+16|0]|(f|0)!=k[d+12|0])){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];c=j[a+360>>2];j[b+12>>2]=d;j[b+8>>2]=1;j[b+4>>2]=c+1;c=j[d>>2];b=c-1|0;la:{if(b>>>0>=3){j[a+12>>2]=132;break la}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break la}b=j[((b<<3)+a|0)+448>>2];d=j[d+4>>2];if((b|0)<(d|0)){j[a+12>>2]=131;break la}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=d;j[a+352>>2]=c}h[a+376|0]=0;break m}d=d+24|0;if(c>>>0>d>>>0){continue}break}}j[a+12>>2]=128;break l;case 130:ma:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break ma}b=l[d>>1];if(c>>>0<=b>>>0){break ma}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]&254;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 129:na:{e=l[d+4>>1];c=l[a+152>>1];if(e>>>0>=c>>>0){break na}b=l[d>>1];if(c>>>0<=b>>>0){break na}if(b>>>0>e>>>0){break m}c=b;while(1){b=j[a+168>>2]+b|0;h[b|0]=k[b|0]|1;c=c+1|0;b=c&65535;if(e>>>0>=b>>>0){continue}break}break m}if(!k[a+561|0]){break m}e=134;break d;case 128:oa:{pa:{c=j[a+304>>2];if((c|0)<=j[a+16>>2]){if((c|0)>0){break pa}break oa}if(!k[a+561|0]){break oa}j[a+12>>2]=129;break oa}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];qa:{if(b>>>0>=l[a+152>>1]){if(!k[a+561|0]){break qa}e=134;break d}b=b+j[a+168>>2]|0;h[b|0]=k[b|0]^1;c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break oa}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 125:j[a+568>>2]=919;j[a+312>>2]=3;break m;case 124:j[a+568>>2]=920;j[a+312>>2]=4;break m;case 123:b=j[a+416>>2];g=j[a+408>>2];if((g|0)>=1){d=p(g,24)+b|0;c=b;while(1){if(!(!k[c+16|0]|k[c+12|0]!=123)){e=130;b=j[a+428>>2];if((b|0)>=j[a+432>>2]){break d}j[a+428>>2]=b+1;b=j[a+436>>2]+(b<<4)|0;j[b>>2]=j[a+352>>2];d=j[a+360>>2];j[b+12>>2]=c;j[b+8>>2]=1;j[b+4>>2]=d+1;d=j[c>>2];b=d-1|0;ra:{if(b>>>0>=3){j[a+12>>2]=132;break ra}e=j[((b<<3)+a|0)+444>>2];if(!e){j[a+12>>2]=138;break ra}b=j[((b<<3)+a|0)+448>>2];c=j[c+4>>2];if((b|0)<(c|0)){j[a+12>>2]=131;break ra}j[a+364>>2]=b;j[a+356>>2]=e;j[a+360>>2]=c;j[a+352>>2]=d}h[a+376|0]=0;break m}c=c+24|0;if(d>>>0>c>>>0){continue}break}}j[a+12>>2]=128;break l;case 122:j[a+568>>2]=921;j[a+312>>2]=5;break m;case 121:if(j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;sa:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break sa}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 120:if(!j[d+4>>2]){break m}c=b;b=j[d>>2];if(!(c|b)){j[a+12>>2]=132}b=b+j[a+360>>2]|0;j[a+360>>2]=b;ta:{if((b|0)>=0){c=j[a+428>>2];if((c|0)<1|(b|0)<=j[j[(j[a+436>>2]+(c<<4)|0)-4>>2]+8>>2]){break ta}}j[a+12>>2]=132}h[a+376|0]=0;break m;case 119:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+159592>>2];j[a+476>>2]=d;ua:{va:{wa:{xa:{c=b&3;switch(c-1|0){case 2:break va;case 1:break wa;case 0:break xa;default:break ua}}c=d>>>10|0;break ua}c=d>>>9|0;break ua}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=922;j[a+312>>2]=7;b=a;e=e&15;c=d-1|0;ya:{if(!e){break ya}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 118:e=j[d>>2];b=e>>>4|0;d=j[(b&12)+159576>>2];j[a+476>>2]=d;za:{Aa:{Ba:{Ca:{c=b&3;switch(c-1|0){case 2:break Aa;case 1:break Ba;case 0:break Ca;default:break za}}c=d>>>10|0;break za}c=d>>>9|0;break za}c=p(d,3)>>>10|0}j[a+480>>2]=c;j[a+568>>2]=923;j[a+312>>2]=6;b=a;e=e&15;c=d-1|0;Da:{if(!e){break Da}c=(p(d,e-4|0)|0)/8|0}j[b+484>>2]=c>>8;j[a+476>>2]=d>>>8;break m;case 115:case 116:case 117:e=qe[j[a+592>>2]](a)|0;c=1;d=j[d>>2];Ea:{if(!d){break Ea}while(1){b=j[a+28>>2];if((b|0)<=1){if(k[a+561|0]){j[a+12>>2]=129}j[a+28>>2]=0;break Ea}f=b-2|0;j[a+28>>2]=f;n=b<<2;b=j[a+24>>2];n=j[(n+b|0)-4>>2];Fa:{if(n>>>0>=m[a+380>>2]){if(!k[a+561|0]){break Fa}e=134;break d}f=j[b+(f<<2)>>2];b=f>>>4&15;Ga:{Ha:{switch(k[a+368|0]-116|0){case 0:b=b|16;break Ga;case 1:break Ha;default:break Ga}}b=b|32}if((e|0)!=(l[a+332>>1]+b|0)){break Fa}b=f&15;qe[j[a+604>>2]](a,n,(b>>>0>7?-7:-8)+b<<6-l[a+334>>1])}c=c+1|0;if(d>>>0>=c>>>0){continue}break}}j[a+32>>2]=j[a+28>>2];break m;case 113:case 114:pq(a,d);break m;case 112:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}c=ye(j[d+4>>2],j[a+260>>2]);j[j[a+384>>2]+(b<<2)>>2]=c;break m;case 108:case 109:case 110:case 111:b=j[((f<<2)+a|0)-168>>2];c=j[d>>2];if((c|0)>=0){b=b+c|0;j[d>>2]=(b|0)>0?b:0;break m}b=c-b|0;j[d>>2]=b>>31&b;break m;case 104:case 105:case 106:case 107:G=d,K=qe[j[a+568>>2]](a,j[d>>2],j[((f<<2)+a|0)-152>>2])|0,j[G>>2]=K;break m;case 103:j[d>>2]=j[d>>2]+63&-64;break m;case 102:j[d>>2]=j[d>>2]&-64;break m;case 101:j[d>>2]=0-j[d>>2];break m;case 100:c=j[d>>2];b=c>>31;j[d>>2]=b^b+c;break m;case 99:G=d,K=Ne(j[d>>2],j[d+4>>2],64),j[G>>2]=K;break m;case 98:b=j[d+4>>2];if(!b){e=133;break d}G=d,K=yk(j[d>>2],64,b),j[G>>2]=K;break m;case 97:j[d>>2]=j[d>>2]-j[d+4>>2];break m;case 96:j[d>>2]=j[d>>2]+j[d+4>>2];break m;case 95:b=j[d>>2];if(b>>>0>6){e=132;break d}i[a+334>>1]=b;break m;case 94:i[a+332>>1]=j[d>>2];break m;case 93:pq(a,d);break m;case 92:j[d>>2]=!j[d>>2];break m;case 91:b=d;j[b>>2]=j[b>>2]?1:j[b+4>>2]!=0;break m;case 90:if(!j[d>>2]){j[d>>2]=0;break m}j[d>>2]=j[d+4>>2]!=0;break m;case 88:if(j[d>>2]){break m}b=j[a+360>>2];e=j[a+364>>2];d=1;while(1){b=b+g|0;j[a+360>>2]=b;if((b|0)>=(e|0)){e=131;break d}c=k[b+o|0];h[a+368|0]=c;g=h[c+158080|0];j[a+372>>2]=g;if((c&254)==64){f=b+1|0;if((f|0)>=(e|0)){e=131;break d}g=2-p(k[f+o|0],g)|0;j[a+372>>2]=g}if((e|0)<(b+g|0)){e=131;break d}Ia:{if((c|0)!=27){Ja:{switch(c-88|0){case 1:break Ia;case 0:break Ja;default:continue}}d=d+1|0;continue}if((d|0)!=1){continue}break m}d=d-1|0;if(d){continue}break}break m;case 87:G=d,K=!(qe[j[a+568>>2]](a,j[d>>2],0)&127),j[G>>2]=K;break m;case 86:G=d,K=(qe[j[a+568>>2]](a,j[d>>2],0)&127)==64,j[G>>2]=K;break m;case 85:j[d>>2]=j[d>>2]!=j[d+4>>2];break m;case 84:j[d>>2]=j[d>>2]==j[d+4>>2];break m;case 83:j[d>>2]=j[d>>2]>=j[d+4>>2];break m;case 82:j[d>>2]=j[d>>2]>j[d+4>>2];break m;case 81:j[d>>2]=j[d>>2]<=j[d+4>>2];break m;case 80:j[d>>2]=j[d>>2]>2];break m;case 78:h[a+316|0]=0;break k;case 77:h[a+316|0]=1;break k;case 76:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 75:G=d,K=qe[j[a+592>>2]](a)|0,j[G>>2]=K;break m;case 73:case 74:Ka:{La:{b=d;e=l[b>>1];if(e>>>0>1]){c=l[d+4>>1];if(c>>>0>1]){break La}}c=0;if(!k[a+561|0]){break Ka}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+52>>2]+(e<<3)|0;c=j[a+88>>2]+(c<<3)|0;G=d,K=qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}if(!(l[a+346>>1]?l[a+344>>1]:0)){b=j[a+48>>2]+(e<<3)|0;c=j[a+84>>2]+(c<<3)|0;G=d,K=qe[j[a+576>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0,j[G>>2]=K;break m}c=j[a+92>>2]+(c<<3)|0;e=j[a+56>>2]+(e<<3)|0;f=j[a+220>>2];if((f|0)==j[a+224>>2]){G=d,K=ye(qe[j[a+576>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0,j[a+220>>2]),j[G>>2]=K;break m}c=(K=a,H=ye(j[e>>2]-j[c>>2]|0,f),I=ye(j[e+4>>2]-j[c+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](K|0,H|0,I|0)|0)}j[b>>2]=c;break m;case 72:b=l[d>>1];if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break m}e=134;break d}c=b<<3;e=c+j[a+124>>2]|0;e=qe[j[a+572>>2]](a,j[e>>2],j[e+4>>2])|0;qe[j[a+584>>2]](a,w,b,j[d+4>>2]-e|0);if(l[a+348>>1]){break m}b=c+j[a+120>>2]|0;c=c+j[a+124>>2]|0;d=j[c+4>>2];j[b>>2]=j[c>>2];j[b+4>>2]=d;break m;case 70:case 71:b=d;c=j[b>>2];Ma:{if(c>>>0>=l[a+116>>1]){c=0;if(!k[a+561|0]){break Ma}j[a+12>>2]=134;j[d>>2]=0;break m}if(f&1){b=j[a+120>>2]+(c<<3)|0;G=d,I=qe[j[a+576>>2]](a,j[b>>2],j[b+4>>2])|0,j[G>>2]=I;break m}c=j[a+124>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[c>>2],j[c+4>>2])|0}j[b>>2]=c;break m;case 69:b=d;d=b;c=j[b>>2];Na:{if(c>>>0>=m[a+380>>2]){b=0;if(!k[a+561|0]){break Na}e=134;break d}b=qe[j[a+596>>2]](a,c)|0}j[d>>2]=b;break m;case 68:b=j[d>>2];if(b>>>0>=m[a+380>>2]){if(!k[a+561|0]){break m}e=134;break d}qe[j[a+600>>2]](a,b,j[d+4>>2]);break m;case 67:b=d;d=b;c=j[b>>2];Oa:{if(c>>>0>=l[a+468>>1]){b=0;if(!k[a+561|0]){break Oa}e=134;break d}b=j[j[a+472>>2]+(c<<2)>>2]}j[d>>2]=b;break m;case 66:b=j[d>>2];if(b>>>0>=l[a+468>>1]){if(!k[a+561|0]){break m}e=134;break d}j[j[a+472>>2]+(b<<2)>>2]=j[d+4>>2];break m;case 65:e=130;n=(c-j[a+16>>2]|0)+1|0;b=j[a+360>>2];c=b+o|0;f=k[c+1|0];if(n>>>0<=f>>>0){break d}e=b+2|0;j[a+360>>2]=e;Pa:{if(!f){break Pa}j[a+360>>2]=b+4;j[d>>2]=(k[c+3|0]|k[e+o|0]<<8)<<16>>16;b=1;c=1;if((f|0)==1){break Pa}while(1){e=j[a+360>>2];j[a+360>>2]=e+2;n=d+(b<<2)|0;b=e+o|0;b=k[b|0]|k[b+1|0]<<8;j[n>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(f>>>0>b>>>0){continue}break}}h[a+376|0]=0;j[a+32>>2]=f+j[a+32>>2];break m;case 64:e=130;b=o+j[a+360>>2]|0;f=k[b+1|0];if(f>>>0>=(c-j[a+16>>2]|0)+1>>>0){break d}Qa:{if(!f){break Qa}j[d>>2]=k[b+2|0];b=2;c=2;if((f|0)==1){break Qa}while(1){j[(d+(b<<2)|0)-4>>2]=k[(o+(j[a+360>>2]+b|0)|0)+1|0];c=c+1|0;b=c&65535;if(f>>>0>=b>>>0){continue}break}}j[a+32>>2]=f+j[a+32>>2];break m;case 62:case 63:Ra:{Sa:{c=l[d>>1];if(c>>>0>1]){b=j[d+4>>2];if(b>>>0>2]){break Sa}}if(!k[a+561|0]){break Ra}j[a+12>>2]=134;break Ra}g=j[a+320>>2];b=qe[j[a+596>>2]](a,b)|0;if(!l[a+344>>1]){e=i[a+298>>1];d=e>>31;n=d^d+e;d=b>>31;o=d+b^d;q=o>>>16|0;s=p(n,q);f=s<<16|8192;u=c<<3;d=u+j[a+48>>2]|0;A=f;x=n;n=o&65535;f=f+p(x,n)|0;f=(s>>>16|0)+(A>>>0>f>>>0)<<18|f>>>14;j[d>>2]=(b^e)>-1?f:0-f|0;e=i[a+300>>1];f=e>>31;o=f^e+f;q=p(o,q);f=q<<16|8192;x=f;f=f+p(o,n)|0;f=(q>>>16|0)+(x>>>0>f>>>0)<<18|f>>>14;j[d+4>>2]=(b^e)>-1?f:0-f|0;f=j[d+4>>2];e=u+j[a+52>>2]|0;j[e>>2]=j[d>>2];j[e+4>>2]=f}d=j[a+52>>2]+(c<<3)|0;n=qe[j[a+572>>2]](a,j[d>>2],j[d+4>>2])|0;d=a;e=t;f=c;if(h[a+368|0]&1){q=b-n|0;o=q>>31;b=qe[j[a+568>>2]](a,(g|0)<(o^o+q)?n:b,j[a+264>>2])|0}qe[j[a+584>>2]](d,e,f,b-n|0)}i[a+286>>1]=c;i[a+284>>1]=c;break m;case 61:j[a+568>>2]=924;j[a+312>>2]=2;break m;case 60:Ta:{c=j[a+304>>2];if(!(l[a+284>>1]>1]?(c|0)<=j[a+16>>2]:0)){if(!k[a+561|0]){break Ta}j[a+12>>2]=134;break Ta}if((c|0)<1){break Ta}while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];Ua:{if(b>>>0>=l[a+80>>1]){if(!k[a+561|0]){break Ua}e=134;break d}d=b;b=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(l[a+284>>1]<<3)|0;I=a,H=v,K=d,J=0-(qe[j[a+572>>2]](a,j[b>>2]-j[c>>2]|0,j[b+4>>2]-j[c+4>>2]|0)|0)|0,G=j[a+584>>2],qe[G](I|0,H|0,K|0,J|0);c=j[a+304>>2]}d=c-1|0;j[a+304>>2]=d;b=j[a+28>>2];if((c|0)<2){break Ta}n=j[a+24>>2];c=d;continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 58:case 59:Va:{b=l[d>>1];if(b>>>0>1]){c=l[a+284>>1];if(c>>>0>1]){break Va}}if(!k[a+561|0]){break m}e=134;break d}if(!l[a+346>>1]){c=j[a+48>>2]+(c<<3)|0;n=j[c+4>>2];e=b<<3;f=e+j[a+84>>2]|0;j[f>>2]=j[c>>2];j[f+4>>2]=n;qe[j[a+588>>2]](a,v,b,j[d+4>>2]);c=e+j[a+88>>2]|0;e=e+j[a+84>>2]|0;f=j[e+4>>2];j[c>>2]=j[e>>2];j[c+4>>2]=f;c=l[a+284>>1]}e=j[a+88>>2]+(b<<3)|0;c=j[a+52>>2]+(c<<3)|0;c=qe[j[a+572>>2]](a,j[e>>2]-j[c>>2]|0,j[e+4>>2]-j[c+4>>2]|0)|0;qe[j[a+584>>2]](a,v,b,j[d+4>>2]-c|0);i[a+288>>1]=b;i[a+286>>1]=l[a+284>>1];if(!(h[a+368|0]&1)){break m}i[a+284>>1]=b;break m;case 57:c=j[a+304>>2];Wa:{if((c|0)>j[a+16>>2]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}d=1;d=!l[a+344>>1]|!l[a+346>>1]?d:!l[a+348>>1];b=l[a+286>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break Wa}j[a+12>>2]=134;break Wa}f=j[(d?48:56)+a>>2];e=b<<3;n=f+e|0;q=j[a+52>>2];s=q+e|0;e=0;g=0;o=l[a+288>>1];if(o>>>0>1]){Xa:{if(d){c=j[a+84>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+92>>2]+(o<<3)|0;g=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[(f+(b<<3)|0)+4>>2]|0)|0;break Xa}g=(J=a,K=ye(j[j[a+92>>2]+(o<<3)>>2]-j[n>>2]|0,c),H=ye(j[(j[a+92>>2]+(l[a+288>>1]<<3)|0)+4>>2]-j[(f+(b<<3)|0)+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](J|0,K|0,H|0)|0)}c=j[a+88>>2]+(l[a+288>>1]<<3)|0;e=qe[j[a+572>>2]](a,j[c>>2]-j[s>>2]|0,j[c+4>>2]-j[(q+(b<<3)|0)+4>>2]|0)|0;c=j[a+304>>2]}if((c|0)<1){break Wa}b=b<<3;q=b+q|0;o=b+f|0;while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;A=a;b=j[j[a+24>>2]+(b<<2)>>2];Ya:{if(b>>>0>=l[a+116>>1]){b=c;if(!k[a+561|0]){break Ya}e=134;break d}Za:{if(d){c=j[a+120>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}c=j[a+220>>2];if((c|0)==j[a+224>>2]){c=j[a+128>>2]+(b<<3)|0;c=qe[j[a+576>>2]](a,j[c>>2]-j[n>>2]|0,j[c+4>>2]-j[o+4>>2]|0)|0;break Za}u=b<<3;c=(H=a,K=ye(j[u+j[a+128>>2]>>2]-j[n>>2]|0,c),J=ye(j[(u+j[a+128>>2]|0)+4>>2]-j[o+4>>2]|0,j[a+224>>2]),G=j[a+576>>2],qe[G](H|0,K|0,J|0)|0)}u=j[a+124>>2]+(b<<3)|0;u=qe[j[a+572>>2]](a,j[u>>2]-j[s>>2]|0,j[u+4>>2]-j[q+4>>2]|0)|0;x=a;f=w;b=b&65535;if(!(!g|!c)){c=Ne(c,e,g)}qe[j[a+584>>2]](x,f,b,c-u|0);b=j[a+304>>2]}c=b-1|0;j[A+304>>2]=c;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 56:_a:{c=j[a+304>>2];if((c|0)>=j[a+16>>2]){if(!k[a+561|0]){break _a}j[a+12>>2]=134;break _a}if((c|0)<1){break _a}e=i[a+300>>1];f=e>>31;c=j[d>>2];d=c>>31;f=f^e+f;o=d^c+d;g=o>>>16|0;q=p(f,g);d=q<<16|8192;A=d;x=f;f=o&65535;d=d+p(x,f)|0;d=(q>>>16|0)+(A>>>0>d>>>0)<<18|d>>>14;o=(c^e)>-1?d:0-d|0;d=i[a+298>>1];e=d>>31;x=g;g=e^d+e;q=p(x,g);e=q<<16|8192;x=e;e=e+p(f,g)|0;e=(q>>>16|0)+(x>>>0>e>>>0)<<18|e>>>14;c=(c^d)>-1?e:0-e|0;while(1){b=b-1|0;j[a+28>>2]=b;b=l[(b<<2)+n>>1];$a:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break $a}e=134;break d}if(l[a+298>>1]){d=j[a+124>>2]+(b<<3)|0;j[d>>2]=c+j[d>>2];d=b+j[a+132>>2]|0;h[d|0]=k[d|0]|8}if(!l[a+300>>1]){break $a}d=j[a+124>>2]+(b<<3)|0;j[d+4>>2]=o+j[d+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}d=j[a+304>>2];j[a+304>>2]=d-1;b=j[a+28>>2];if((d|0)<2){break _a}n=j[a+24>>2];continue}}j[a+32>>2]=b;j[a+304>>2]=1;break m;case 54:case 55:if(m[d>>2]>=2){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Vl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}ab:{bb:{switch(l[a+348>>1]){case 0:b=l[a+116>>1];break ab;case 1:break bb;default:break m}}b=i[a+118>>1];if((b|0)<1){break m}b=l[(j[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}d=b&65535;if(!d){break m}c=j[a+124>>2];b=0;e=l[r+22>>1];f=j[r+16>>2];n=j[r+12>>2];o=j[r+40>>2];while(1){cb:{if((b|0)==(e|0)?(c|0)==(o|0):0){break cb}if(l[a+298>>1]){g=c+(b<<3)|0;j[g>>2]=f+j[g>>2]}if(!l[a+300>>1]){break cb}g=c+(b<<3)|0;j[g+4>>2]=n+j[g+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break m;case 52:case 53:if(l[a+348>>1]){f=i[a+118>>1]}else{f=1}b=j[d>>2]<<16;c=b>>16;if(f>>>0<=c>>>0){if(!k[a+561|0]){break m}j[a+12>>2]=134;break m}if(Vl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}b=(b?(l[(j[a+136>>2]+(c<<1)|0)-2>>1]-l[a+140>>1]|0)+1|0:0)&65535;d=b;if(l[a+348>>1]){c=(l[j[a+136>>2]+(c<<1)>>1]-l[a+140>>1]|0)+1|0}else{c=l[a+116>>1]}c=c&65535;if(d>>>0>=c>>>0){break m}d=l[r+22>>1];e=j[r+16>>2];f=j[r+12>>2];n=j[r+40>>2];while(1){o=j[a+124>>2];db:{if((o|0)==(n|0)?(b|0)==(d|0):0){break db}if(l[a+298>>1]){o=o+(b<<3)|0;j[o>>2]=e+j[o>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|8}if(!l[a+300>>1]){break db}o=j[a+124>>2]+(b<<3)|0;j[o+4>>2]=f+j[o+4>>2];o=j[a+132>>2]+b|0;h[o|0]=k[o|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break}break m;case 50:case 51:eb:{if(j[a+16>>2]>2]){if(!k[a+561|0]){break eb}j[a+12>>2]=134;break eb}if(Vl(a,r+16|0,r+12|0,r+24|0,r+22|0)){break m}if(j[a+304>>2]<1){break eb}c=j[r+16>>2];d=j[r+12>>2];while(1){b=j[a+28>>2]-1|0;j[a+28>>2]=b;b=l[j[a+24>>2]+(b<<2)>>1];fb:{if(b>>>0>=l[a+116>>1]){if(!k[a+561|0]){break fb}j[a+12>>2]=134;break m}if(l[a+298>>1]){e=j[a+124>>2]+(b<<3)|0;j[e>>2]=c+j[e>>2];e=b+j[a+132>>2]|0;h[e|0]=k[e|0]|8}if(!l[a+300>>1]){break fb}e=j[a+124>>2]+(b<<3)|0;j[e+4>>2]=d+j[e+4>>2];b=b+j[a+132>>2]|0;h[b|0]=k[b|0]|16}b=j[a+304>>2];j[a+304>>2]=b-1;if((b|0)>1){continue}break}}j[a+304>>2]=1;j[a+32>>2]=j[a+28>>2];break m;case 48:case 49:if(!l[a+154>>1]){break m}gb:{if(f&1){z=j[a+156>>2];j[r+24>>2]=z;u=j[a+160>>2];j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2];b=8;break gb}z=j[a+156>>2]+4|0;j[r+24>>2]=z;u=j[a+160>>2]+4|0;j[r+28>>2]=u;j[r+32>>2]=j[a+164>>2]+4;b=16}q=b;c=l[a+152>>1];j[r+36>>2]=c;y=0;d=0;while(1){b=l[j[a+172>>2]+(y<<1)>>1]-l[a+176>>1]|0;c=c&65535;s=b>>>0>>0?b:c-1|0;hb:{if(s>>>0>>0){b=d;break hb}g=j[a+168>>2];c=d;ib:{jb:{while(1){kb:{b=c+1|0;if(q&k[c+g|0]){n=b;e=c;o=c;lb:{B=b>>>0>s>>>0;if(!B){while(1){f=n;if(q&k[f+g|0]){Ul(r+24|0,o+1|0,e,o,f);o=f}n=f+1|0;if(s>>>0>=n>>>0){g=j[a+168>>2];e=f;continue}break}if((c|0)!=(o|0)){break lb}}e=c<<3;e=j[e+u>>2]-j[e+z>>2]|0;if(!e){break ib}if(c>>>0>d>>>0){break kb}break jb}Ul(r+24|0,o+1&65535,s,o,c);if(!c){break ib}Ul(r+24|0,d,c-1|0,o,c);break ib}c=b;if(b>>>0<=s>>>0){continue}break hb}break}while(1){f=(d<<3)+u|0;j[f>>2]=e+j[f>>2];d=d+1|0;if((d|0)!=(c|0)){continue}break}}if(B){break ib}while(1){c=(b<<3)+u|0;j[c>>2]=e+j[c>>2];b=b+1|0;if(s>>>0>=b>>>0){continue}break}}b=n}y=y+1|0;if((y|0)>=i[a+154>>1]){break m}c=l[a+152>>1];d=b;continue};case 46:case 47:b=l[d>>1];if(b>>>0>=l[a+44>>1]){if(!k[a+561|0]){break m}e=134;break d}e=a;d=t;c=b;if(f&1){f=j[a+52>>2]+(b<<3)|0;f=qe[j[a+572>>2]](a,j[f>>2],j[f+4>>2])|0;f=(qe[j[a+568>>2]](a,f,j[a+264>>2])|0)-f|0}else{f=0}qe[j[a+584>>2]](e,d,c,f);i[a+286>>1]=b;i[a+284>>1]=b;break m;case 45:break n;case 79:break d}}c=j[a+428>>2];if((c|0)<1){e=136;break d}b=c-1|0;j[a+428>>2]=b;b=j[a+436>>2]+(b<<4)|0;d=j[b+8>>2];j[b+8>>2]=d-1;h[a+376|0]=0;if((d|0)>=2){j[a+428>>2]=c;j[a+360>>2]=j[j[b+12>>2]+4>>2];break m}c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)<(b|0)){e=131;break d}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}e=j[a+12>>2];if(!e){break k}if((e|0)!=128){break e}g=j[a+408>>2];b=j[a+416>>2]}e=128;if((g|0)<1){break d}c=p(g,24)+b|0;while(1){if(!(!k[b+16|0]|k[a+368|0]!=k[b+12|0])){c=j[a+428>>2];if((c|0)>=j[a+432>>2]){e=134;break d}c=j[a+436>>2]+(c<<4)|0;j[c>>2]=j[a+352>>2];d=j[a+360>>2];j[c+12>>2]=b;j[c+8>>2]=1;j[c+4>>2]=d+1;c=j[b>>2];d=c-1|0;if(d>>>0>2){e=132;break d}d=(d<<3)+a|0;e=j[d+444>>2];if(!e){e=138;break d}d=j[d+448>>2];b=j[b+4>>2];if((d|0)>=(b|0)){break h}e=131;break d}b=b+24|0;if(c>>>0>b>>>0){continue}break}break d}j[a+16>>2]=j[a+32>>2];if(!k[a+376|0]){break i}}j[a+360>>2]=j[a+360>>2]+j[a+372>>2]}if((F|0)<=999999){F=F+1|0;break g}b=139;break b}j[a+364>>2]=d;j[a+356>>2]=e;j[a+360>>2]=b;j[a+352>>2]=c}b=j[a+360>>2];if((b|0)>=j[a+364>>2]){b=0;e=131;if(j[a+428>>2]>0){break d}break b}if(!k[a+488|0]){continue}break}b=0;break b}if(e){break c}b=0;break b}j[a+12>>2]=e}if(!(k[a+488|0]|j[a+352>>2]!=3)){a=j[a+4>>2];j[a+296>>2]=-1;j[a+300>>2]=-1}b=e}oe=r- -64|0;return b|0}function qm(a,b,c,d,e,f,g,n){var o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;o=oe-15840|0;oe=o;j[o+15824>>2]=g;j[o+15828>>2]=f;A=j[a+132>>2];q=j[j[A+736>>2]+532>>2];I=j[a+48>>2];E=j[a>>2];f=o+15732|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15740|0;j[f>>2]=0;j[f+4>>2]=0;j[o+15808>>2]=0;j[o+15812>>2]=0;j[o+15800>>2]=10;j[o+15804>>2]=0;j[o+15792>>2]=20;j[o+15796>>2]=0;H=a+4|0;j[o+15788>>2]=H;j[o+15784>>2]=E;j[o+15776>>2]=0;j[o+15780>>2]=0;j[o+15768>>2]=10;j[o+15772>>2]=0;j[o+15760>>2]=20;j[o+15764>>2]=0;j[o+15756>>2]=H;j[o+15752>>2]=E;j[o+15724>>2]=0;j[o+15728>>2]=0;j[o+15720>>2]=H;Ee(o+15640|0,0,80);f=o+15572|0;j[f>>2]=0;j[f+4>>2]=0;f=o+15564|0;j[f>>2]=10;j[f+4>>2]=0;f=o+15556|0;j[f>>2]=8;j[f+4>>2]=0;j[o+15552>>2]=H;j[o+15548>>2]=E;j[o+3940>>2]=c;j[o+3936>>2]=a;Ee(o+11692|0,0,3856);f=k[a+140|0];j[o+11696>>2]=I;h[o+11693|0]=f;J=o+15548|0;j[o+11688>>2]=J;K=o+11680|0;j[o+11684>>2]=K;j[o+11680>>2]=a;Ee(o+7824|0,0,3856);j[o+7828>>2]=I;h[o+7825|0]=f;j[o+7820>>2]=J;j[o+7816>>2]=K;j[o+7812>>2]=a;Ee(o+3956|0,0,3856);j[o+3960>>2]=I;h[o+3957|0]=f;j[o+3952>>2]=J;j[o+3948>>2]=K;j[o+3944>>2]=a;j[o+15580>>2]=j[a+36>>2];f=j[a+44>>2];j[o+15588>>2]=I;j[o+15584>>2]=f;f=j[d+4>>2];r=j[d>>2];j[o+15620>>2]=a+196;j[o+15616>>2]=g;j[o+15592>>2]=r;j[o+15596>>2]=f;j[o+15612>>2]=o+15720;j[o+15608>>2]=o+15752;j[o+15604>>2]=o+15784;h[o+15602|0]=k[a+141|0];g=j[a+184>>2];j[o+15624>>2]=g;f=j[a+188>>2];j[o+15636>>2]=6554;j[o+15628>>2]=f;h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15823|0]=0;N=1;h[o+15603|0]=1;r=g;g=g>>31;g=r+g^g;r=f;f=f>>31;f=r+f^f;j[o+15632>>2]=((f|0)<(g|0)?g:f)<<1;j[n>>2]=j[j[A+736>>2]+528>>2]<<16;j[o+64>>2]=0;s=gj(E,396,o- -64|0);a:{b:{c:{d:{e:{if(!j[o+64>>2]){j[s+4>>2]=H;j[s>>2]=E;j[s+392>>2]=s+8;N=!s;break e}if(!s){break d}N=0}j[o+64>>2]=0;D=xe(E,1,0,272,0,o- -64|0);f:{if(!j[o+64>>2]){Q=17;break f}if(j[a+4>>2]){break f}j[a+4>>2]=64}f=j[b+4>>2];j[D>>2]=j[b>>2];j[D+4>>2]=f;f=j[b+12>>2];j[D+8>>2]=j[b+8>>2];j[D+12>>2]=f;if(j[a+4>>2]){break a}L=q<<16;u=s+8|0;t=s+392|0;S=o+32|4;T=o+76|0;O=o+7812|0;F=o+15648|0;M=o+15640|0;C=o+3944|0;P=2e7;v=D;while(1){b=j[v+12>>2];q=j[v+8>>2];g:{if(b>>>0>=q>>>0){x=G?11:14;break g}f=b+1|0;j[v+12>>2]=f;x=k[b|0];b=f}if(j[a+4>>2]){break a}P=P-1|0;if(!P){b=18;break b}h:{i:{j:{k:{l:{switch(x|0){case 1:case 18:if(k[o+15724|0]){break k}pm(a,s,o+15784|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 3:case 23:if(k[o+15724|0]){break k}pm(a,s,o+15752|0,n,o+15823|0);if(!k[j[a+132>>2]+561|0]){break k}b=0;break c;case 4:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;m:{n:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break m;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break m}f=f- -8192>>14;break m;default:break n}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}o:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break o}j[f>>2]=161;break o}b=g-8|0;j[t>>2]=b;p:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break o;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break o}b=b- -8192>>14;break o;default:break p}}b=j[b>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;f=j[o+15828>>2];if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o>>2]=j[F>>2];j[o+4>>2]=g;Qh(o+3936|0,C,M,o,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=b;j[o+15656>>2]=f;j[o+15672>>2]=f;j[o+15660>>2]=b;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){xh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 5:q:{q=j[t>>2];b=q-u|0;if(!b){break q}r=b>>3;b=0;while(1){g=q-u>>3;r:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break r}j[f>>2]=130;break r}s:{t:{u:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break t;case 1:break u;default:break s}}q=j[f+8>>2]<<16;break r}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break r}q=f- -8192>>14;break r}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;v:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break v}j[g>>2]=130;q=j[o+15828>>2];break v}w:{x:{y:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break x;case 1:break y;default:break w}}f=j[f+8>>2]<<16;break v}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break v}f=f- -8192>>14;break v}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;ch(o+3936|0,q,f);b=b+2|0;if(r>>>0<=b>>>0){break q}q=j[t>>2];continue}}j[t>>2]=u;continue;case 6:case 7:z:{f=j[t>>2];b=f-u|0;if(!b){break z}g=u-f|0;g=((b|0)>(g|0)?b:g)>>>3|0;b=(b|0)>-1?b:-1;b=p(g,(b|0)<1?b:1);r=b>>>0>1?b:1;q=(x|0)==6;b=0;while(1){A:{if(f-u>>3>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break A}j[g>>2]=130;break A}B:{C:{D:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break C;case 1:break D;default:break B}}f=j[f+8>>2]<<16;break A}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break A}f=f- -8192>>14;break A}f=j[f+8>>2]}E:{if(q&255){f=j[o+15828>>2]+f|0;j[o+15828>>2]=f;y=j[o+15824>>2];break E}y=j[o+15824>>2]+f|0;j[o+15824>>2]=y;f=j[o+15828>>2]}ch(o+3936|0,f,y);b=b+1|0;if((r|0)==(b|0)){break z}q=q^1;f=j[t>>2];continue}}j[t>>2]=u;continue;case 8:case 24:q=6;b=0;y=j[t>>2];R=y-u>>3;if(R>>>0<6){break h}while(1){f=q;q=y-u>>3;F:{if(q>>>0<=b>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break F}j[r>>2]=130;break F}G:{H:{I:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break H;case 1:break I;default:break G}}g=j[g+8>>2]<<16;break F}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break F}g=g- -8192>>14;break F}g=j[g+8>>2]}y=j[o+15828>>2];r=b|1;J:{if(r>>>0>=q>>>0){w=0;r=j[s+4>>2];if(!r|j[r>>2]){break J}j[r>>2]=130;break J}K:{L:{M:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break L;case 1:break M;default:break K}}w=j[r+8>>2]<<16;break J}r=j[r+8>>2];if((r|0)<=-1){w=0-(8192-r>>14)|0;break J}w=r- -8192>>14;break J}w=j[r+8>>2]}B=j[o+15824>>2];r=b+2|0;N:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break N}j[r>>2]=130;break N}O:{P:{Q:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break P;case 1:break Q;default:break O}}z=j[r+8>>2]<<16;break N}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break N}z=r- -8192>>14;break N}z=j[r+8>>2]}y=g+y|0;g=b+3|0;R:{if(g>>>0>=q>>>0){g=0;r=j[s+4>>2];if(!r|j[r>>2]){break R}j[r>>2]=130;break R}S:{T:{U:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break T;case 1:break U;default:break S}}g=j[g+8>>2]<<16;break R}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break R}g=g- -8192>>14;break R}g=j[g+8>>2]}w=w+B|0;B=y+z|0;r=b+4|0;V:{if(r>>>0>=q>>>0){z=0;r=j[s+4>>2];if(!r|j[r>>2]){break V}j[r>>2]=130;break V}W:{X:{Y:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break X;case 1:break Y;default:break W}}z=j[r+8>>2]<<16;break V}r=j[r+8>>2];if((r|0)<=-1){z=0-(8192-r>>14)|0;break V}z=r- -8192>>14;break V}z=j[r+8>>2]}g=g+w|0;r=z+B|0;b=b+5|0;Z:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Z}j[q>>2]=130;break Z}_:{$:{aa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break $;case 1:break aa;default:break _}}b=j[b+8>>2]<<16;break Z}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Z}b=b- -8192>>14;break Z}b=j[b+8>>2]}b=b+g|0;Ph(o+3936|0,y,w,B,g,r,b);j[o+15824>>2]=b;j[o+15828>>2]=r;q=f+6|0;if(R>>>0>>0){b=f;break h}else{y=j[t>>2];b=f;continue}};default:if(x>>>0<=246){b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=x-139;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if(x>>>0<=250){ba:{if(b>>>0>>0){j[v+12>>2]=b+1;q=k[b|0];break ba}q=0;b=j[v>>2];if(!b|j[b>>2]){break ba}j[b>>2]=85}b=j[t>>2];if((b|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[b>>2]=((x<<8)+q|0)-63124;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}if((x|0)!=255){ca:{if(b>>>0>>0){j[v+12>>2]=b+1;b=k[b|0];break ca}b=0;f=j[v>>2];if(!f|j[f>>2]){break ca}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=((0-(x<<8)|0)-b|0)+64148;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue}da:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break da}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ea:{if(f>>>0>>0){b=f+1|0;j[v+12>>2]=b;r=k[f|0];break ea}r=0;b=j[v>>2];if(!(!b|j[b>>2])){j[b>>2]=85}b=f}fa:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;g=k[b|0];break fa}g=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ga:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ga}b=0;f=j[v>>2];if(!f|j[f>>2]){break ga}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=r<<16|y<<24|g<<8|b;b=j[t>>2];j[b+4>>2]=0;j[t>>2]=b+8;continue;case 28:ha:{if(b>>>0>>0){f=b+1|0;j[v+12>>2]=f;y=k[b|0];break ha}y=0;f=j[v>>2];if(!(!f|j[f>>2])){j[f>>2]=85}f=b}ia:{if(f>>>0>>0){j[v+12>>2]=f+1;b=k[f|0];break ia}b=0;f=j[v>>2];if(!f|j[f>>2]){break ia}j[f>>2]=85}f=j[t>>2];if((f|0)==(t|0)){b=j[s+4>>2];if(!b|j[b>>2]){continue}j[b>>2]=130;continue}j[f>>2]=(b<<16|y<<24)>>16;b=j[t>>2];j[b+4>>2]=2;j[t>>2]=b+8;continue;case 30:case 31:b=j[t>>2]-u>>3;B=b&-3;b=b&2;if(B>>>0>b>>>0){x=(x|0)==31;while(1){ja:{if(x&255){r=j[t>>2]-u>>3;ka:{if(r>>>0<=b>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break ka}j[f>>2]=130;break ka}la:{ma:{na:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ma;case 1:break na;default:break la}}y=j[f+8>>2]<<16;break ka}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break ka}y=f- -8192>>14;break ka}y=j[f+8>>2]}x=j[o+15828>>2];f=j[o+15824>>2];z=b+1|0;oa:{if(r>>>0<=z>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break oa}j[q>>2]=130;break oa}pa:{qa:{ra:{g=(z<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break qa;case 1:break ra;default:break pa}}g=j[g+8>>2]<<16;break oa}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break oa}g=g- -8192>>14;break oa}g=j[g+8>>2]}q=b+2|0;sa:{if(q>>>0>=r>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break sa}j[q>>2]=130;break sa}ta:{ua:{va:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ua;case 1:break va;default:break ta}}w=j[q+8>>2]<<16;break sa}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break sa}w=q- -8192>>14;break sa}w=j[q+8>>2]}y=y+x|0;w=f+w|0;q=b+3|0;wa:{if(q>>>0>=r>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break wa}j[x>>2]=130;break wa}xa:{ya:{za:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break ya;case 1:break za;default:break xa}}q=j[q+8>>2]<<16;break wa}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break wa}q=q- -8192>>14;break wa}q=j[q+8>>2]}g=g+y|0;q=q+w|0;x=0;if((B-b|0)!=5){z=b;r=g;break ja}b=b+4|0;Aa:{if(b>>>0>=r>>>0){r=j[s+4>>2];b=0;if(!r|j[r>>2]){break Aa}j[r>>2]=130;r=g;break ja}Ba:{Ca:{Da:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Ca;case 1:break Da;default:break Ba}}r=(j[b+8>>2]<<16)+g|0;break ja}b=j[b+8>>2];if((b|0)<=-1){r=g-(8192-b>>14)|0;break ja}r=(b- -8192>>14)+g|0;break ja}b=j[b+8>>2]}r=b+g|0;break ja}y=j[o+15828>>2];q=j[t>>2]-u>>3;Ea:{if(q>>>0<=b>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ea}j[f>>2]=130;break Ea}Fa:{Ga:{Ha:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ga;case 1:break Ha;default:break Fa}}r=j[f+8>>2]<<16;break Ea}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break Ea}r=f- -8192>>14;break Ea}r=j[f+8>>2]}x=j[o+15824>>2];z=b+1|0;Ia:{if(q>>>0<=z>>>0){g=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ia}j[f>>2]=130;break Ia}Ja:{Ka:{La:{f=(z<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ka;case 1:break La;default:break Ja}}g=j[f+8>>2]<<16;break Ia}f=j[f+8>>2];if((f|0)<=-1){g=0-(8192-f>>14)|0;break Ia}g=f- -8192>>14;break Ia}g=j[f+8>>2]}f=b+2|0;Ma:{if(f>>>0>=q>>>0){w=0;f=j[s+4>>2];if(!f|j[f>>2]){break Ma}j[f>>2]=130;break Ma}Na:{Oa:{Pa:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Oa;case 1:break Pa;default:break Na}}w=j[f+8>>2]<<16;break Ma}f=j[f+8>>2];if((f|0)<=-1){w=0-(8192-f>>14)|0;break Ma}w=f- -8192>>14;break Ma}w=j[f+8>>2]}f=r+x|0;g=g+y|0;r=b+3|0;Qa:{if(r>>>0>=q>>>0){r=0;x=j[s+4>>2];if(!x|j[x>>2]){break Qa}j[x>>2]=130;break Qa}Ra:{Sa:{Ta:{r=(r<<3)+s|0;switch(j[r+12>>2]-1|0){case 0:break Sa;case 1:break Ta;default:break Ra}}r=j[r+8>>2]<<16;break Qa}r=j[r+8>>2];if((r|0)<=-1){r=0-(8192-r>>14)|0;break Qa}r=r- -8192>>14;break Qa}r=j[r+8>>2]}w=f+w|0;r=g+r|0;x=1;if((B-b|0)!=5){z=b;q=w;break ja}b=b+4|0;Ua:{if(b>>>0>=q>>>0){b=0;q=j[s+4>>2];if(!q|j[q>>2]){break Ua}j[q>>2]=130;break Ua}Va:{Wa:{Xa:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break Wa;case 1:break Xa;default:break Va}}b=j[b+8>>2]<<16;break Ua}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Ua}b=b- -8192>>14;break Ua}b=j[b+8>>2]}q=b+w|0}Ph(o+3936|0,y,f,g,w,r,q);j[o+15824>>2]=q;j[o+15828>>2]=r;b=z+4|0;if(B>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 27:z=j[t>>2]-u>>3;w=z&-3;b=z&2;if(w>>>0>b>>>0){while(1){Ya:{if(z-b&1){q=j[t>>2]-u>>3;Za:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Za}j[g>>2]=130;break Za}_a:{$a:{ab:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break $a;case 1:break ab;default:break _a}}f=j[f+8>>2]<<16;break Za}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Za}f=f- -8192>>14;break Za}f=j[f+8>>2]}b=b+1|0;g=j[o+15824>>2]+f|0;break Ya}q=j[t>>2]-u>>3;g=j[o+15824>>2]}bb:{if(b>>>0>=q>>>0){y=0;f=j[s+4>>2];if(!f|j[f>>2]){break bb}j[f>>2]=130;break bb}cb:{db:{eb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break db;case 1:break eb;default:break cb}}y=j[f+8>>2]<<16;break bb}f=j[f+8>>2];if((f|0)<=-1){y=0-(8192-f>>14)|0;break bb}y=f- -8192>>14;break bb}y=j[f+8>>2]}x=j[o+15828>>2];f=b+1|0;fb:{if(f>>>0>=q>>>0){r=0;f=j[s+4>>2];if(!f|j[f>>2]){break fb}j[f>>2]=130;break fb}gb:{hb:{ib:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}r=j[f+8>>2]<<16;break fb}f=j[f+8>>2];if((f|0)<=-1){r=0-(8192-f>>14)|0;break fb}r=f- -8192>>14;break fb}r=j[f+8>>2]}y=y+x|0;f=b+2|0;jb:{if(f>>>0>=q>>>0){f=0;x=j[s+4>>2];if(!x|j[x>>2]){break jb}j[x>>2]=130;break jb}kb:{lb:{mb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}f=j[f+8>>2]<<16;break jb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break jb}f=f- -8192>>14;break jb}f=j[f+8>>2]}r=r+y|0;f=f+g|0;x=q;q=b+3|0;nb:{if(x>>>0<=q>>>0){q=0;x=j[s+4>>2];if(!x|j[x>>2]){break nb}j[x>>2]=130;break nb}ob:{pb:{qb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break pb;case 1:break qb;default:break ob}}q=j[q+8>>2]<<16;break nb}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break nb}q=q- -8192>>14;break nb}q=j[q+8>>2]}x=g;g=q+r|0;Ph(o+3936|0,y,x,r,f,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(w>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 26:z=j[t>>2]-u>>3;x=z&-3;b=z&2;if(x>>>0>b>>>0){while(1){rb:{if(z-b&1){q=j[t>>2]-u>>3;sb:{if(q>>>0<=b>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break sb}j[g>>2]=130;break sb}tb:{ub:{vb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break ub;case 1:break vb;default:break tb}}f=j[f+8>>2]<<16;break sb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break sb}f=f- -8192>>14;break sb}f=j[f+8>>2]}b=b+1|0;f=j[o+15828>>2]+f|0;break rb}q=j[t>>2]-u>>3;f=j[o+15828>>2]}wb:{if(b>>>0>=q>>>0){y=0;g=j[s+4>>2];if(!g|j[g>>2]){break wb}j[g>>2]=130;break wb}xb:{yb:{zb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break yb;case 1:break zb;default:break xb}}y=j[g+8>>2]<<16;break wb}g=j[g+8>>2];if((g|0)<=-1){y=0-(8192-g>>14)|0;break wb}y=g- -8192>>14;break wb}y=j[g+8>>2]}w=j[o+15824>>2];g=b+1|0;Ab:{if(g>>>0>=q>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ab}j[g>>2]=130;break Ab}Bb:{Cb:{Db:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Cb;case 1:break Db;default:break Bb}}r=j[g+8>>2]<<16;break Ab}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ab}r=g- -8192>>14;break Ab}r=j[g+8>>2]}y=w+y|0;g=b+2|0;Eb:{if(g>>>0>=q>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break Eb}j[g>>2]=130;break Eb}Fb:{Gb:{Hb:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Gb;case 1:break Hb;default:break Fb}}w=j[g+8>>2]<<16;break Eb}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break Eb}w=g- -8192>>14;break Eb}w=j[g+8>>2]}g=f+r|0;r=w+y|0;w=q;q=b+3|0;Ib:{if(w>>>0<=q>>>0){q=0;w=j[s+4>>2];if(!w|j[w>>2]){break Ib}j[w>>2]=130;break Ib}Jb:{Kb:{Lb:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break Kb;case 1:break Lb;default:break Jb}}q=j[q+8>>2]<<16;break Ib}q=j[q+8>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break Ib}q=q- -8192>>14;break Ib}q=j[q+8>>2]}w=f;f=q+r|0;Ph(o+3936|0,w,y,g,r,g,f);j[o+15824>>2]=f;j[o+15828>>2]=g;b=b+4|0;if(x>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 25:b=0;q=j[t>>2];z=q-u>>3;if(z>>>0>6){while(1){g=q-u>>3;Mb:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break Mb}j[f>>2]=130;break Mb}Nb:{Ob:{Pb:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Ob;case 1:break Pb;default:break Nb}}q=j[f+8>>2]<<16;break Mb}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break Mb}q=f- -8192>>14;break Mb}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;f=b|1;Qb:{if(f>>>0>=g>>>0){f=0;g=j[s+4>>2];if(!g|j[g>>2]){break Qb}j[g>>2]=130;q=j[o+15828>>2];break Qb}Rb:{Sb:{Tb:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break Sb;case 1:break Tb;default:break Rb}}f=j[f+8>>2]<<16;break Qb}f=j[f+8>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break Qb}f=f- -8192>>14;break Qb}f=j[f+8>>2]}f=j[o+15824>>2]+f|0;j[o+15824>>2]=f;ch(o+3936|0,q,f);f=b+2|0;if(z>>>0>b+8>>>0){q=j[t>>2];b=f;continue}break}b=f}if(b>>>0>>0){while(1){f=j[t>>2]-u>>3;Ub:{if(f>>>0<=b>>>0){r=0;g=j[s+4>>2];if(!g|j[g>>2]){break Ub}j[g>>2]=130;break Ub}Vb:{Wb:{Xb:{g=(b<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break Wb;case 1:break Xb;default:break Vb}}r=j[g+8>>2]<<16;break Ub}g=j[g+8>>2];if((g|0)<=-1){r=0-(8192-g>>14)|0;break Ub}r=g- -8192>>14;break Ub}r=j[g+8>>2]}y=j[o+15828>>2];g=b|1;Yb:{if(g>>>0>=f>>>0){g=0;q=j[s+4>>2];if(!q|j[q>>2]){break Yb}j[q>>2]=130;break Yb}Zb:{_b:{$b:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break _b;case 1:break $b;default:break Zb}}g=j[g+8>>2]<<16;break Yb}g=j[g+8>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Yb}g=g- -8192>>14;break Yb}g=j[g+8>>2]}B=j[o+15824>>2];q=b+2|0;ac:{if(q>>>0>=f>>>0){w=0;q=j[s+4>>2];if(!q|j[q>>2]){break ac}j[q>>2]=130;break ac}bc:{cc:{dc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break cc;case 1:break dc;default:break bc}}w=j[q+8>>2]<<16;break ac}q=j[q+8>>2];if((q|0)<=-1){w=0-(8192-q>>14)|0;break ac}w=q- -8192>>14;break ac}w=j[q+8>>2]}r=r+y|0;q=b+3|0;ec:{if(q>>>0>=f>>>0){x=0;q=j[s+4>>2];if(!q|j[q>>2]){break ec}j[q>>2]=130;break ec}fc:{gc:{hc:{q=(q<<3)+s|0;switch(j[q+12>>2]-1|0){case 0:break gc;case 1:break hc;default:break fc}}x=j[q+8>>2]<<16;break ec}q=j[q+8>>2];if((q|0)<=-1){x=0-(8192-q>>14)|0;break ec}x=q- -8192>>14;break ec}x=j[q+8>>2]}y=g+B|0;B=r+w|0;g=b+4|0;ic:{if(g>>>0>=f>>>0){w=0;g=j[s+4>>2];if(!g|j[g>>2]){break ic}j[g>>2]=130;break ic}jc:{kc:{lc:{g=(g<<3)+s|0;switch(j[g+12>>2]-1|0){case 0:break kc;case 1:break lc;default:break jc}}w=j[g+8>>2]<<16;break ic}g=j[g+8>>2];if((g|0)<=-1){w=0-(8192-g>>14)|0;break ic}w=g- -8192>>14;break ic}w=j[g+8>>2]}g=y+x|0;w=w+B|0;q=f;f=b+5|0;mc:{if(q>>>0<=f>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break mc}j[f>>2]=130;break mc}nc:{oc:{pc:{f=(f<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break oc;case 1:break pc;default:break nc}}q=j[f+8>>2]<<16;break mc}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break mc}q=f- -8192>>14;break mc}q=j[f+8>>2]}f=g+q|0;Ph(o+3936|0,r,y,B,g,w,f);j[o+15824>>2]=f;j[o+15828>>2]=w;b=b+6|0;if(z>>>0>b>>>0){continue}break}}j[t>>2]=u;continue;case 22:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<2)){b=n;qc:{rc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break qc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break qc}f=f- -8192>>14;break qc;default:break rc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}sc:{if((g|0)==(u|0)){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break sc}j[f>>2]=161;break sc}b=g-8|0;j[t>>2]=b;tc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break sc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break sc}b=b- -8192>>14;break sc;default:break tc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;f=j[o+15824>>2];if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){g=j[F+4>>2];j[o+24>>2]=j[F>>2];j[o+28>>2]=g;Qh(o+3936|0,C,M,o+24|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=f;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=f;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){xh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 21:g=j[t>>2];if(!(k[o+15823|0]|g-u>>3>>>0<3)){b=n;uc:{vc:{switch(j[s+12>>2]-1|0){case 1:f=j[u>>2]<<16;break uc;case 0:f=j[u>>2];if((f|0)<=-1){f=0-(8192-f>>14)|0;break uc}f=f- -8192>>14;break uc;default:break vc}}f=j[u>>2]}j[b>>2]=f+L}h[o+15823|0]=1;if(k[j[a+132>>2]+561|0]){b=0;break c}wc:{xc:{yc:{if((g|0)==(u|0)){b=j[s+4>>2];if(!(!b|j[b>>2])){j[b>>2]=161}q=j[o+15824>>2];break yc}f=g-8|0;j[t>>2]=f;b=o;zc:{Ac:{switch(j[f+4>>2]-1|0){case 0:q=j[f>>2];if((q|0)<=-1){q=0-(8192-q>>14)|0;break zc}q=q- -8192>>14;break zc;default:q=j[f>>2];break zc;case 1:break Ac}}q=j[f>>2]<<16}q=q+j[o+15824>>2]|0;j[b+15824>>2]=q;if((f|0)!=(u|0)){break xc}}b=0;f=j[s+4>>2];if(!f|j[f>>2]){break wc}j[f>>2]=161;q=j[o+15824>>2];break wc}b=g-16|0;j[t>>2]=b;Bc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break wc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break wc}b=b- -8192>>14;break wc;default:break Bc}}b=j[b>>2]}b=j[o+15828>>2]+b|0;j[o+15828>>2]=b;if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+16>>2]=j[F>>2];j[o+20>>2]=f;Qh(o+3936|0,C,M,o+16|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0}j[o+15676>>2]=q;j[o+15656>>2]=b;j[o+15672>>2]=b;j[o+15660>>2]=q;h[o+15603|0]=1;b=j[o+15612>>2];if(!(k[b+5|0]?0:k[o+3956|0])){xh(C,j[o+15604>>2],j[o+15608>>2],b,j[o+15616>>2],0)}Ae(O,C,3868);j[t>>2]=u;continue;case 19:case 20:if(j[t>>2]-u>>3>>>0>1?k[o+15724|0]:0){break k}pm(a,s,o+15752|0,n,o+15823|0);if(k[j[a+132>>2]+561|0]){b=0;break c}if((x|0)==19){b=j[o+15772>>2]+j[o+15804>>2]|0;if(b>>>0>=97){b=j[o+15720>>2];if(!b|j[b>>2]){break k}j[b>>2]=18;j[t>>2]=u;continue}j[o+15728>>2]=b;i[o+15724>>1]=257;f=b+7>>>3|0;j[o+15732>>2]=f;if(!b|!f){break k}b=0;while(1){f=j[v+12>>2];Cc:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Cc}q=0;f=j[v>>2];if(!f|j[f>>2]){break Cc}j[f>>2]=85}h[(b+o|0)+15736|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}break k}Ee(T,0,3856);b=k[a+140|0];j[o+80>>2]=I;h[o+77|0]=b;j[o+72>>2]=J;j[o+68>>2]=K;j[o+64>>2]=a;b=S;j[b+16>>2]=0;j[b+20>>2]=0;j[b+8>>2]=0;j[b+12>>2]=0;j[b>>2]=0;j[b+4>>2]=0;j[o+32>>2]=H;b=j[o+15772>>2]+j[o+15804>>2]|0;Dc:{if(b>>>0>=97){if(j[a+4>>2]){break Dc}j[a+4>>2]=18;break Dc}j[o+40>>2]=b;i[o+36>>1]=257;f=b+7>>>3|0;j[o+44>>2]=f;if(!b|!f){break Dc}b=0;while(1){f=j[v+12>>2];Ec:{if(f>>>0>2]){j[v+12>>2]=f+1;q=k[f|0];break Ec}q=0;f=j[v>>2];if(!f|j[f>>2]){break Ec}j[f>>2]=85}h[(b+o|0)+48|0]=q;b=b+1|0;if(b>>>0>2]){continue}break}}xh(o- -64|0,o+15784|0,o+15752|0,o+32|0,0,0);j[t>>2]=u;continue;case 14:Fc:{Gc:{v=j[t>>2];f=v-u>>3;switch(f-1|0){case 0:case 4:break Gc;default:break Fc}}if(k[o+15823|0]){break Fc}Hc:{Ic:{switch(j[s+12>>2]-1|0){case 1:b=j[u>>2]<<16;break Hc;case 0:b=j[u>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Hc}b=b- -8192>>14;break Hc;default:break Ic}}b=j[u>>2]}j[n>>2]=b+L}h[o+15823|0]=1;b=0;if(k[j[a+132>>2]+561|0]){break c}if(k[o+15600|0]){h[o+15601|0]=1;ch(o+3936|0,j[o+15672>>2],j[o+15676>>2]);if(k[o+15680|0]){f=j[F+4>>2];j[o+8>>2]=j[F>>2];j[o+12>>2]=f;Qh(o+3936|0,C,M,o+8|0,1)}h[o+15680|0]=0;i[o+15600>>1]=0;h[o+15603|0]=1;v=j[t>>2];f=v-u>>3}if(f>>>0<2){break c}b=18;if(e){break c}Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{if((u|0)==(v|0)){q=0;b=j[s+4>>2];if(!b){f=0;break Nc}f=0;if(j[b>>2]){break Nc}j[b>>2]=161;break Qc}Rc:{if(j[v-4>>2]!=2){q=0;b=j[s+4>>2];if(!b|j[b>>2]){break Rc}j[b>>2]=160;break Rc}v=v-8|0;j[t>>2]=v;q=j[v>>2]}if((u|0)!=(v|0)){break Pc}}f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161;break Oc}Sc:{if(j[v-4>>2]!=2){f=0;b=j[s+4>>2];if(!b|j[b>>2]){break Sc}j[b>>2]=160;break Sc}v=v-8|0;j[t>>2]=v;f=j[v>>2]}if((u|0)!=(v|0)){break Mc}}b=j[s+4>>2];if(!b|j[b>>2]){break Nc}j[b>>2]=161}j[o+15824>>2]=0;break Lc}e=v-8|0;j[t>>2]=e;b=o;Tc:{Uc:{switch(j[e+4>>2]-1|0){case 0:g=j[e>>2];if((g|0)<=-1){g=0-(8192-g>>14)|0;break Tc}g=g- -8192>>14;break Tc;default:g=j[e>>2];break Tc;case 1:break Uc}}g=j[e>>2]<<16}j[b+15824>>2]=g;if((e|0)!=(u|0)){break Kc}}b=0;e=j[s+4>>2];if(!e|j[e>>2]){break Jc}j[e>>2]=161;break Jc}b=v-16|0;j[t>>2]=b;Vc:{switch(j[b+4>>2]-1|0){case 1:b=j[b>>2]<<16;break Jc;case 0:b=j[b>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break Jc}b=b- -8192>>14;break Jc;default:break Vc}}b=j[b>>2]}j[o+72>>2]=0;j[o+76>>2]=0;j[o+15828>>2]=b;j[o+64>>2]=0;j[o+68>>2]=0;Wc:{Xc:{e=j[A+4>>2];b=j[j[e+128>>2]+48>>2];if(!b){b=18;if(q>>>0>255){break c}g=j[A+76>>2];n=j[g+1160>>2];if(!n){break c}r=j[g+12>>2];if(!r){break c}g=0;q=l[(q<<1)+78720>>1];while(1){if((q|0)==l[n+(g<<1)>>1]){break Xc}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],q,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Wc}if((g|0)<0){break c}b=zi(j[e+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;n=j[o+15832>>2];j[o+72>>2]=n+b;qm(a,o- -64|0,c,d,1,j[o+15828>>2],j[o+15824>>2],o+3932|0);e=o- -64|4;q=j[A+4>>2];g=j[j[q+128>>2]+48>>2];Yc:{if(g){j[o+36>>2]=n;j[o+32>>2]=b;qe[j[j[g>>2]+4>>2]](j[g+4>>2],o+32|0);break Yc}b=j[q+656>>2];if(j[b+1204>>2]){break Yc}jf(j[b+1176>>2],e)}j[o+72>>2]=0;j[o+76>>2]=0;j[o+64>>2]=0;j[o+68>>2]=0;Zc:{_c:{n=j[A+4>>2];b=j[j[n+128>>2]+48>>2];if(!b){b=18;if(f>>>0>255){break c}g=j[A+76>>2];q=j[g+1160>>2];if(!q){break c}r=j[g+12>>2];if(!r){break c}g=0;f=l[(f<<1)+78720>>1];while(1){if((f|0)==l[q+(g<<1)>>1]){break _c}g=g+1|0;if((r|0)!=(g|0)){continue}break}break c}b=qe[j[j[b>>2]>>2]](j[b+4>>2],f,o+32|0)|0;j[o+15836>>2]=j[o+32>>2];j[o+15832>>2]=j[o+36>>2];break Zc}if((g|0)<0){break c}b=zi(j[n+656>>2]+1176|0,g,o+15836|0,o+15832|0)}if(b){break c}b=j[o+15836>>2];j[o+68>>2]=b;j[o+76>>2]=b;j[o+72>>2]=b+j[o+15832>>2];b=0;qm(a,o- -64|0,c,d,1,0,0,o+3932|0);d=j[A+4>>2];c=j[j[d+128>>2]+48>>2];if(c){d=j[o+72>>2];e=j[o+68>>2];j[o+32>>2]=e;j[o+36>>2]=d-e;qe[j[j[c>>2]+4>>2]](j[c+4>>2],o+32|0);break c}c=j[d+656>>2];if(j[c+1204>>2]){break c}jf(j[c+1176>>2],e);break c;case 10:case 29:break i;case 11:break j;case 0:case 2:case 9:case 13:case 15:case 16:case 17:break k;case 12:break l}}if(b>>>0>=q>>>0){b=j[v>>2];if(!b|j[b>>2]){break k}j[b>>2]=85;j[t>>2]=u;continue}j[v+12>>2]=b+1;$c:{switch(k[b|0]-34|0){case 0:ok(s,o+15828|0,o+15824|0,o+3936|0,78663,0);continue;case 2:ok(s,o+15828|0,o+15824|0,o+3936|0,78687,0);continue;case 3:ok(s,o+15828|0,o+15824|0,o+3936|0,78699,1);continue;case 1:break $c;default:break k}}ok(s,o+15828|0,o+15824|0,o+3936|0,78675,0)}j[t>>2]=u;continue}if((G|0)<1){b=18;break c}f=D;G=G-1|0;b=G;if(b>>>0>=Q>>>0){j[a+4>>2]=130;b=0}v=(b<<4)+f|0;continue}b=18;if((G|0)>16){break c}g=D;G=G+1|0;f=G;if(f>>>0>=Q>>>0){j[a+4>>2]=130;f=0}v=(f<<4)+g|0;f=j[t>>2];ad:{if((f|0)==(u|0)){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=161;break ad}if(j[f-4>>2]!=2){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break ad}j[f>>2]=160;break ad}f=f-8|0;j[t>>2]=f;q=j[f>>2]}j[v>>2]=0;j[v+4>>2]=0;j[v+8>>2]=0;j[v+12>>2]=0;if((x|0)==29){f=j[A+708>>2]+q|0;if(f>>>0>=m[A+700>>2]){break c}b=j[A+716>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}f=j[A+704>>2]+q|0;if(f>>>0>=m[A+696>>2]){break c}b=j[A+712>>2]+(f<<2)|0;f=j[b>>2];j[v+4>>2]=f;j[v+12>>2]=f;j[v+8>>2]=j[b+4>>2];continue}if((x|0)==24){g=j[t>>2]-u>>3;bd:{if(g>>>0<=b>>>0){q=0;f=j[s+4>>2];if(!f|j[f>>2]){break bd}j[f>>2]=130;break bd}cd:{dd:{ed:{f=(b<<3)+s|0;switch(j[f+12>>2]-1|0){case 0:break dd;case 1:break ed;default:break cd}}q=j[f+8>>2]<<16;break bd}f=j[f+8>>2];if((f|0)<=-1){q=0-(8192-f>>14)|0;break bd}q=f- -8192>>14;break bd}q=j[f+8>>2]}q=j[o+15828>>2]+q|0;j[o+15828>>2]=q;b=b|1;fd:{if(b>>>0>=g>>>0){b=0;f=j[s+4>>2];if(!f|j[f>>2]){break fd}j[f>>2]=130;q=j[o+15828>>2];break fd}gd:{hd:{id:{b=(b<<3)+s|0;switch(j[b+12>>2]-1|0){case 0:break hd;case 1:break id;default:break gd}}b=j[b+8>>2]<<16;break fd}b=j[b+8>>2];if((b|0)<=-1){b=0-(8192-b>>14)|0;break fd}b=b- -8192>>14;break fd}b=j[b+8>>2]}b=j[o+15824>>2]+b|0;j[o+15824>>2]=b;ch(o+3936|0,q,b)}j[t>>2]=u;continue}}b=64}if(j[a+4>>2]){break a}}j[a+4>>2]=b}j[o+15568>>2]=0;j[o+15572>>2]=0;j[o+15560>>2]=0;a=j[o+15548>>2];b=j[o+15576>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15576>>2]=0;j[o+15772>>2]=0;j[o+15776>>2]=0;j[o+15764>>2]=0;a=j[o+15752>>2];b=j[o+15780>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15780>>2]=0;j[o+15804>>2]=0;j[o+15808>>2]=0;j[o+15796>>2]=0;a=j[o+15784>>2];b=j[o+15812>>2];if(b){qe[j[a+8>>2]](a,b)}j[o+15812>>2]=0;if(D){qe[j[E+8>>2]](E,D)}if(!N){a=j[s>>2];if(s){qe[j[a+8>>2]](a,s)}}oe=o+15840|0}function oK(a,b){var c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0;w=oe-16|0;oe=w;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{c=j[a+384>>2];if(c){if((j[a+212>>2]&16448)==16384){break l}d=j[a+216>>2];m:{if(!(d&4096)){break m}if(k[b+8|0]==3){m=c+1|0;e=j[b>>2];o=l[a+428>>1];q=j[a+528>>2];n=j[a+416>>2];c=k[b+9|0];n:{if(c>>>0<=7){o:{p:{switch(c-1|0){case 0:if(!e){break o}f=e+m|0;c=0-e&7;d=m+(e-1>>>3|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&1;r=(c|0)==7;c=r?0:c+1|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 1:if(!e){break o}f=e+m|0;c=m+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;while(1){f=f-1|0;h[f|0]=k[c|0]>>>d&3;r=(d|0)==6;d=r?0:d+2|0;c=r?c-1|0:c;g=g+1|0;if((e|0)!=(g|0)){continue}break}break o;case 3:break p;default:break o}}if(!e){break o}f=e+m|0;c=e<<2&4;d=m+(e-1>>>1|0)|0;while(1){f=f-1|0;h[f|0]=k[d|0]>>>c&15;r=(c|0)==4;c=r?0:c+4|0;d=r?d-1|0:d;g=g+1|0;if((e|0)!=(g|0)){continue}break}}h[b+11|0]=8;h[b+9|0]=8;j[b+4>>2]=e;break n}if((c|0)!=8){break m}}if(o){f=e<<2;if(e){c=e+m|0;d=f+m|0;g=0;while(1){r=d-1|0;c=c-1|0;m=k[c|0];if(m>>>0>>0){v=k[m+q|0]}else{v=255}h[r|0]=v;h[d-2|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-3|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-4|0;h[d|0]=k[n+p(k[c|0],3)|0];g=g+1|0;if((e|0)!=(g|0)){continue}break}}j[b+8>>2]=537135110;j[b+4>>2]=f;break m}g=p(e,3);if(e){c=e+m|0;d=m+g|0;f=0;while(1){c=c-1|0;h[d-1|0]=k[(n+p(k[c|0],3)|0)+2|0];h[d-2|0]=k[(n+p(k[c|0],3)|0)+1|0];d=d-3|0;h[d|0]=k[n+p(k[c|0],3)|0];f=f+1|0;if((e|0)!=(f|0)){continue}break}}j[b+8>>2]=402851842;j[b+4>>2]=g;break m}c=c+1|0;if(!(!(d&33554432)|!l[a+428>>1])){Rq(b,c,a+532|0);break m}Rq(b,c,0)}c=j[a+216>>2];q:{if((c&262272)!=262144){break q}r:{switch(k[b+8|0]-4|0){case 0:case 2:break r;default:break q}}hq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}s:{if(!(c&6291456)){break s}d=k[b+8|0];if((d&3)!=2){break s}c=j[a+384>>2]+1|0;o=d&4;q=l[a+702>>1];r=l[a+704>>1];t=32768-(q+r|0)|0;n=j[b>>2];t:{if(k[b+9|0]==8){u:{u=j[a+500>>2];if(!u){break u}g=j[a+504>>2];if(!g){break u}e=0;if(!n){break t}f=c;m=0;while(1){d=k[c|0];s=k[c+1|0];x=k[c+2|0];v:{w:{if(!((x|0)==(d|0)?(d|0)==(s|0):0)){e=e|1;d=u+(((p(q,k[d+g|0])+p(r,k[g+s|0])|0)+p(t,k[g+x|0])|0)+16384>>>15|0)|0;break w}s=j[a+492>>2];if(!s){break v}d=d+s|0}d=k[d|0]}h[f|0]=d;x:{if(!o){f=f+1|0;c=c+3|0;break x}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}e=0;if(!n){break t}f=c;m=0;while(1){g=f;d=k[c|0];u=k[c+1|0];s=k[c+2|0];if(!((s|0)==(d|0)?(d|0)==(u|0):0)){e=e|1;d=(p(r,u)+p(d,q)|0)+p(t,s)>>>15|0}h[g|0]=d;y:{if(!o){f=f+1|0;c=c+3|0;break y}h[f+1|0]=k[c+3|0];f=f+2|0;c=c+4|0}m=m+1|0;if((n|0)!=(m|0)){continue}break}break t}z:{m=j[a+512>>2];if(!m){break z}y=j[a+508>>2];if(!y){break z}e=0;if(!n){break t}d=c;while(1){f=k[c+4|0]|k[c+5|0]<<8;u=(f<<24|f<<8&16711680)>>>16|0;g=k[c+1|0];f=k[c|0];s=g|f<<8;x=k[c+3|0];v=k[c+2|0];A:{if(!((s|0)!=(x|v<<8)|(s|0)!=(u|0))){u=j[a+496>>2];if(!u){break A}g=l[j[u+(x>>>j[a+484>>2]<<2)>>2]+(v<<1)>>1];f=g>>>8|0;break A}f=j[a+484>>2];g=((p(q,l[j[m+((s&255)>>>f<<2)>>2]+(s>>>7&510)>>1])+p(r,l[j[m+(x>>>f<<2)>>2]+(v<<1)>>1])|0)+p(t,l[j[m+((u&255)>>>f<<2)>>2]+(u>>>7&510)>>1])|0)+16384|0;g=l[j[((g>>>15&255)>>>f<<2)+y>>2]+(g>>>22&510)>>1];f=g>>>8|0;e=e|1}h[d+1|0]=g;h[d|0]=f;B:{if(!o){d=d+2|0;c=c+6|0;break B}h[d+2|0]=k[c+6|0];h[d+3|0]=k[c+7|0];d=d+4|0;c=c+8|0}A=A+1|0;if((n|0)!=(A|0)){continue}break}break t}e=0;if(!n){break t}g=0;d=c;while(1){f=k[d+1|0]|k[d|0]<<8;m=k[d+3|0]|k[d+2|0]<<8;u=k[d+5|0]|k[d+4|0]<<8;s=((p(f,q)+p(m,r)|0)+p(u,t)|0)+16384|0;h[c+1|0]=s>>>15;h[c|0]=s>>>23;f=(f|0)!=(m|0)|(f|0)!=(u|0);C:{if(!o){d=d+6|0;c=c+2|0;break C}h[c+2|0]=k[d+6|0];h[c+3|0]=k[d+7|0];d=d+8|0;c=c+4|0}e=e|f;g=g+1|0;if((n|0)!=(g|0)){continue}break}}c=k[b+10|0]-2|0;h[b+10|0]=c;h[b+8|0]=k[b+8|0]&253;d=p(c,k[b+9|0]);h[b+11|0]=d;c=b;d=d&255;D:{if(d>>>0>=8){d=p(n,d>>>3|0);break D}d=p(d,n)+7>>>3|0}j[c+4>>2]=d;if(!e){c=j[a+216>>2];break s}h[a+700|0]=1;c=j[a+216>>2];if((c&6291456)==4194304){Ze(a,7904);c=j[a+216>>2]}if((c&6291456)==2097152){break k}}if(!(!(c&16384)|k[a+209|0]&8)){Oq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(!(c&128)){break a}r=j[a+212>>2]&8192;c=j[a+384>>2]+1|0;n=j[b>>2];o=j[a+484>>2];f=j[a+512>>2];e=j[a+508>>2];q=j[a+496>>2];g=j[a+504>>2];t=j[a+500>>2];m=j[a+492>>2];E:{switch(k[b+8|0]){case 0:F:{switch(k[b+9|0]-1|0){case 0:if(!n){break a}d=l[a+540>>1];m=0;e=7;while(1){f=k[c|0];if((d|0)==(f>>>e&1)){h[c|0]=f&32639>>>7-e|l[a+460>>1]<>1];g=0;e=6;while(1){d=c;o=k[c|0];f=o>>>e&3;G:{if((f|0)==(q|0)){f=l[a+460>>1]<>>6-e;break G}f=o&16191>>>6-e|k[m+(f|f<<2|f<<4|f<<6)|0]>>>6<>1];f=0;e=4;while(1){d=c;g=k[c|0];o=g>>>e&15;H:{if((o|0)==(q|0)){g=l[a+460>>1]<>>4-e;break H}g=g&3855>>>4-e|k[m+(o|o<<4)|0]>>>4<>1];while(1){d=c;f=k[c|0];o=k[a+460|0];I:{if((f|0)==(g|0)){break I}o=k[f+m|0]}h[d|0]=o;c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 15:break F;default:break a}}if(q){if(!n){break a}e=a+460|0;m=l[a+540>>1];g=0;while(1){d=e;f=c;t=k[c+1|0];r=k[c|0];if((m|0)!=(t|r<<8)){d=j[q+(t>>>o<<2)>>2]+(r<<1)|0}d=l[d>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[f|0]=d;h[f+1|0]=d>>>8;c=c+2|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];e=0;while(1){if((d|0)==(k[c+1|0]|k[c|0]<<8)){f=l[a+460>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8}c=c+2|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a;case 2:if(k[b+9|0]==8){if(!m){break e}if(!n){break a}f=0;e=l[a+534>>1];while(1){g=k[c|0];d=k[c+1|0];J:{if(!((g|0)!=(e|0)|(d|0)!=l[a+536>>1]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break J}h[c|0]=k[m+g|0];h[c+1|0]=k[d+m|0];h[c+2|0]=k[m+k[c+2|0]|0]}c=c+3|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!q){break f}if(!n){break a}e=a+458|0;u=l[a+534>>1];g=0;while(1){f=k[c+4|0];m=k[c+5|0];d=c;v=c;x=k[c+1|0];s=k[c|0];t=k[c+3|0];r=k[c+2|0];K:{if(!((u|0)!=(x|s<<8)|l[a+536>>1]!=(t|r<<8)|l[a+538>>1]!=(m|f<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=e;break K}s=l[j[q+(x>>>o<<2)>>2]+(s<<1)>>1];s=(s<<24|s<<8&16711680)>>>16|0;h[c|0]=s;h[c+1|0]=s>>>8;r=l[j[q+(t>>>o<<2)>>2]+(r<<1)>>1];r=(r<<24|r<<8&16711680)>>>16|0;h[c+2|0]=r;h[c+3|0]=r>>>8;f=j[q+(m>>>o<<2)>>2]+(f<<1)|0}f=l[f>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[v+4|0]=f;h[d+5|0]=f>>>8;c=c+6|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}break a;case 4:if(k[b+9|0]==8){if(g?!(!m|!t):0){break g}if(!n){break a}m=0;while(1){f=k[c+1|0];if((f|0)!=255){d=c;if(f){f=(p(l[a+460>>1],f^255)+p(f,k[c|0])|0)+128&65535;f=(f>>>8|0)+f>>>8|0}else{f=k[a+460|0]}h[d|0]=f}c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break h}if(!n){break a}m=0;while(1){d=k[c+3|0]|k[c+2|0]<<8;L:{if((d|0)==65535){break L}if(!d){d=l[a+460>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;break L}d=(p(l[a+460>>1],d^65535)+p(d,k[c+1|0]|k[c|0]<<8)|0)+32768|0;d=(d>>>16|0)+d|0;h[c+1|0]=d>>>16;h[c|0]=d>>>24}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a;case 6:break E;default:break a}}if(k[b+9|0]==8){if(g?!(!m|!t):0){break i}if(!n){break a}m=0;while(1){d=k[c+3|0];M:{if((d|0)==255){break M}if(!d){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break M}f=d^255;e=(p(d,k[c|0])+p(f,l[a+454>>1])|0)+128|0;h[c|0]=(e>>>8&255)+e>>>8;e=(p(d,k[c+1|0])+p(f,l[a+456>>1])|0)+128|0;h[c+1|0]=(e>>>8&255)+e>>>8;d=(p(d,k[c+2|0])+p(f,l[a+458>>1])|0)+128|0;h[c+2|0]=(d>>>8&255)+d>>>8}c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}if(f?!(!q|!e):0){break j}if(!n){break a}m=0;while(1){d=k[c+7|0]|k[c+6|0]<<8;N:{if((d|0)==65535){break N}if(!d){d=l[a+454>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c|0]=d;h[c+1|0]=d>>>8;d=l[a+456>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+2|0]=d;h[c+3|0]=d>>>8;d=l[a+458>>1];d=(d<<24|d<<8&16711680)>>>16|0;h[c+4|0]=d;h[c+5|0]=d>>>8;break N}f=d^65535;e=(p(d,k[c+1|0]|k[c|0]<<8)+p(f,l[a+454>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+1|0]=e>>>16;h[c|0]=e>>>24;e=(p(d,k[c+3|0]|k[c+2|0]<<8)+p(f,l[a+456>>1])|0)+32768|0;e=(e>>>16|0)+e|0;h[c+2|0]=e>>>24;h[c+3|0]=e>>>16;d=(p(d,k[c+5|0]|k[c+4|0]<<8)+p(f,l[a+458>>1])|0)+32768|0;d=(d>>>16|0)+d|0;h[c+4|0]=d>>>24;h[c+5|0]=d>>>16}c=c+8|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break a}Ye(a,7870);z()}Ye(a,7886);z()}Ye(a,7904);z()}if(!n){break a}d=0;while(1){O:{P:{t=k[c+7|0]|k[c+6|0]<<8;if(t){if((t|0)!=65535){break P}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[j[q+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[j[q+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}g=l[a+454>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;g=l[a+456>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+2|0]=g;h[c+3|0]=g>>>8;g=l[a+458>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c+4|0]=g;h[c+5|0]=g>>>8;break O}u=t^65535;g=(p(t,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(u,l[a+464>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+1|0]=g;h[c|0]=m;g=(p(t,l[j[f+(k[c+3|0]>>>o<<2)>>2]+(k[c+2|0]<<1)>>1])+p(u,l[a+466>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+3|0]=g;h[c+2|0]=m;g=(p(t,l[j[f+(k[c+5|0]>>>o<<2)>>2]+(k[c+4|0]<<1)>>1])+p(u,l[a+468>>1])|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>24|0;g=g>>>16|0;if(!r){g=l[j[e+((g&255)>>>o<<2)>>2]+(m<<1)>>1];m=g>>>8|0}h[c+5|0]=g;h[c+4|0]=m}c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){Q:{R:{o=k[c+3|0];if(o){if((o|0)!=255){break R}h[c|0]=k[m+k[c|0]|0];h[c+1|0]=k[m+k[c+1|0]|0];h[c+2|0]=k[m+k[c+2|0]|0];break Q}h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0];break Q}q=o^255;d=(p(o,k[g+k[c|0]|0])+p(q,l[a+464>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;e=c;if(!r){d=k[t+(d&255)|0]}h[e|0]=d;d=(p(o,k[g+k[c+1|0]|0])+p(q,l[a+466>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+1|0]=d;d=(p(o,k[g+k[c+2|0]|0])+p(q,l[a+468>>1])|0)+128|0;d=(d>>>8&255)+d>>>8|0;if(!r){d=k[t+(d&255)|0]}h[e+2|0]=d}c=c+4|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=0;while(1){S:{T:{g=k[c+3|0]|k[c+2|0]<<8;if(g){if((g|0)!=65535){break T}g=l[j[q+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=l[a+460>>1];g=(g<<24|g<<8&16711680)>>>16|0;h[c|0]=g;h[c+1|0]=g>>>8;break S}g=(p(g,l[j[f+(k[c+1|0]>>>o<<2)>>2]+(k[c|0]<<1)>>1])+p(l[a+470>>1],g^65535)|0)+32768|0;g=(g>>>16|0)+g|0;m=g>>>16|0;if(r){g=g>>>24|0}else{m=l[j[e+((m&255)>>>o<<2)>>2]+(g>>>23&510)>>1];g=m>>>8|0}h[c+1|0]=m;h[c|0]=g}c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break a}if(!n){break a}f=0;while(1){v=c;U:{V:{e=k[c+1|0];if(e){if((e|0)!=255){break V}d=k[m+k[c|0]|0];break U}d=k[a+460|0];break U}e=(p(l[a+470>>1],e^255)+p(e,k[g+k[c|0]|0])|0)+128&65535;o=(e>>>8|0)+e>>>8|0;d=o;if(r){break U}d=k[t+(o&255)|0]}h[v|0]=d;c=c+2|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}break a}if(!n){break a}d=l[a+534>>1];e=0;while(1){if(!((d|0)!=(k[c+1|0]|k[c|0]<<8)|l[a+536>>1]!=(k[c+3|0]|k[c+2|0]<<8)|l[a+538>>1]!=(k[c+5|0]|k[c+4|0]<<8))){f=l[a+454>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c|0]=f;h[c+1|0]=f>>>8;f=l[a+456>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+2|0]=f;h[c+3|0]=f>>>8;f=l[a+458>>1];f=(f<<24|f<<8&16711680)>>>16|0;h[c+4|0]=f;h[c+5|0]=f>>>8}c=c+6|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+534>>1];while(1){if(!((d|0)!=k[c|0]|l[a+536>>1]!=k[c+1|0]|l[a+538>>1]!=k[c+2|0])){h[c|0]=k[a+454|0];h[c+1|0]=k[a+456|0];h[c+2|0]=k[a+458|0]}c=c+3|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}e=0;d=l[a+540>>1];while(1){if((d|0)==k[c|0]){h[c|0]=k[a+460|0]}c=c+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break a}if(!n){break a}d=l[a+540>>1];m=0;e=4;while(1){f=k[c|0];if((d|0)==(f>>>e&15)){h[c|0]=f&3855>>>4-e|l[a+460>>1]<>1];m=0;e=6;while(1){f=k[c|0];if((d|0)==(f>>>e&3)){h[c|0]=f&16191>>>6-e|l[a+460>>1]<>2];W:{if((c&6299648)!=8192){break W}X:{if(!(c&128)){c=k[a+435|0];break X}if(l[a+428>>1]){break W}c=k[a+435|0];if(c&4){break W}}if((c&255)==3){break W}c=j[a+384>>2];n=j[b>>2];m=j[a+484>>2];f=j[a+496>>2];d=j[a+492>>2];g=k[b+9|0];if(!f|(g&255)!=16?!(g>>>0<9?d:0):0){break W}c=c+1|0;Y:{switch(k[b+8|0]){case 2:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+6|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+3|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 6:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;e=l[j[f+(k[c+3|0]>>>m<<2)>>2]+(k[c+2|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+2|0]=e;h[c+3|0]=e>>>8;e=l[j[f+(k[c+5|0]>>>m<<2)>>2]+(k[c+4|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c+4|0]=e;h[c+5|0]=e>>>8;c=c+8|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];h[c+1|0]=k[d+k[c+1|0]|0];h[c+2|0]=k[d+k[c+2|0]|0];c=c+4|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 4:if((g&255)!=8){if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+4|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W;case 0:break Y;default:break W}}Z:{_:{$:{if(!(!n|(g&255)!=2)){g=0;e=c;while(1){o=k[e|0];q=o&48;v=k[d+(q<<2|q|q>>>2|q>>>4)|0]>>>2&48;q=o&192;v=v|k[d+(q|o>>>6|q>>>2|q>>>4)|0]&192;q=o&12;o=o&3;h[e|0]=v|k[d+(q<<2|q|q<<4|q>>>2)|0]>>>4&12|k[d+(o<<4|o|o<<6|o<<2)|0]>>>6;e=e+1|0;g=g+4|0;if(n>>>0>g>>>0){continue}break}g=k[b+9|0]}switch((g&255)-4|0){case 0:break Z;case 4:break _;case 12:break $;default:break W}}if(!n){break W}d=0;while(1){e=l[j[f+(k[c+1|0]>>>m<<2)>>2]+(k[c|0]<<1)>>1];e=(e<<24|e<<8&16711680)>>>16|0;h[c|0]=e;h[c+1|0]=e>>>8;c=c+2|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break W}if(!n){break W}m=0;while(1){h[c|0]=k[d+k[c|0]|0];c=c+1|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}break W}if(!n){break W}f=0;while(1){e=k[c|0];g=e&15;h[c|0]=k[d+(g<<4|g)|0]>>>4|k[d+(e&240|e>>>4)|0]&240;c=c+1|0;f=f+2|0;if(n>>>0>f>>>0){continue}break}}c=j[a+216>>2];aa:{if((c&262272)!=262272){break aa}ba:{switch(k[b+8|0]-4|0){case 0:case 2:break ba;default:break aa}}hq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ca:{if(!(c&8388608)){break ca}f=k[b+8|0];c=f&4;if(!c){break ca}da:{if(!c){break da}c=j[a+384>>2];d=j[b>>2];ea:{switch(k[b+9|0]-8|0){case 0:e=j[a+500>>2];if(!e){break da}if(!d){break ca}f=f&2?4:2;while(1){c=c+f|0;h[c|0]=k[e+k[c|0]|0];d=d-1|0;if(d){continue}break}break ca;case 8:break ea;default:break da}}e=j[a+508>>2];if(!e){break da}if(!d){break ca}g=j[a+484>>2];f=f&2?8:4;c=(f+c|0)-1|0;while(1){m=l[j[e+(k[c+1|0]>>>g<<2)>>2]+(k[c|0]<<1)>>1];m=(m<<24|m<<8&16711680)>>>16|0;h[c|0]=m;h[c+1|0]=m>>>8;c=c+f|0;d=d-1|0;if(d){continue}break}break ca}Ze(a,8038)}c=j[a+216>>2];if(!(!(c&67108864)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){e=k[c|0];h[d|0]=(p(k[c+1|0]-e|0,65535)+8388480>>>24|0)+e;d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}if(!(!(c&1024)|k[b+9|0]!=16)){d=j[b+4>>2];if((d|0)>=1){c=j[a+384>>2]+1|0;f=d+c|0;d=c;while(1){h[d|0]=k[c|0];d=d+1|0;c=c+2|0;if(f>>>0>c>>>0){continue}break}c=j[a+216>>2]}h[b+9|0]=8;d=k[b+10|0];h[b+11|0]=d<<3;j[b+4>>2]=p(d,j[b>>2])}fa:{ga:{ha:{if(c&64){ia:{if(k[b+9|0]!=8){break ia}c=j[a+384>>2]+1|0;f=j[b>>2];g=j[a+616>>2];e=j[a+612>>2];d=k[b+8|0];if(!(!e|(d|0)!=2)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+3|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!(!e|(d|0)!=6)){d=8;if(f){m=0;d=c;while(1){h[d|0]=k[e+(k[c+1|0]<<2&992|k[c|0]<<7&31744|k[c+2|0]>>>3)|0];d=d+1|0;c=c+4|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}d=k[b+9|0]}h[b+11|0]=d;h[b+10|0]=1;h[b+8|0]=3;c=d&255;if(c>>>0>=8){j[b+4>>2]=p(f,c>>>3|0);break ia}j[b+4>>2]=p(c,f)+7>>>3;break ia}if(!f|!g|(d|0)!=3){break ia}d=0;while(1){h[c|0]=k[g+k[c|0]|0];c=c+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(!j[b+4>>2]){break ha}c=j[a+216>>2]}if(!(!(c&512)|k[b+9|0]!=8|k[b+8|0]==3)){d=j[b+4>>2];if((d|0)>=1){c=(j[a+384>>2]+1|0)+d|0;d=d+c|0;while(1){f=d-2|0;c=c-1|0;e=k[c|0];h[f|0]=e;h[d-1|0]=e;d=f;if(d>>>0>c>>>0){continue}break}d=j[b+4>>2];c=j[a+216>>2]}h[b+9|0]=16;j[b+4>>2]=d<<1;h[b+11|0]=k[b+10|0]<<4}if(!(!(c&16384)|!(k[a+209|0]&8))){Oq(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&32){hH(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ja:{if(!(c&524288)){break ja}d=j[a+384>>2]+1|0;c=j[b>>2];ka:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-8|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja;case 0:break ka;default:break ja}}if(k[b+9|0]==8){if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;d=d-2|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break ja}if(!c){break ja}d=d+j[b+4>>2]|0;e=0;while(1){f=d-1|0;h[f|0]=k[f|0]^-1;f=d-2|0;h[f|0]=k[f|0]^-1;d=d-4|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}e=j[a+216>>2];if(!(e&8)){break fa}c=k[b+8|0];if((c|0)==3){break fa}g=k[b+9|0];la:{if(c&2){d=k[a+521|0];j[w+4>>2]=g-k[a+522|0];j[w+8>>2]=g-k[a+523|0];f=3;break la}d=k[a+524|0];f=1}m=j[a+384>>2];j[w>>2]=g-(d&255);if(c&4){j[(f<<2|w)>>2]=g-k[a+525|0];f=f+1|0}m=m+1|0;c=0;d=1;while(1){n=(c<<2)+w|0;o=j[n>>2];if(!((g|0)>(o|0)?(o|0)>=1:0)){j[n>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}if(d&1){break fa}break ga}d=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}break ga}Ye(a,7943);z()}ma:{na:{switch(lP(g-2|0,31)|0){case 0:c=j[b+4>>2];if((c|0)<1){break ma}c=c+m|0;while(1){h[m|0]=k[m|0]>>>1&85;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 1:c=j[b+4>>2];if((c|0)<1){break ma}d=j[w>>2];f=15>>>d|0;f=f<<4|f;c=c+m|0;while(1){h[m|0]=f&k[m|0]>>>d;m=m+1|0;if(c>>>0>m>>>0){continue}break}break ma;case 3:c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){h[m|0]=k[m|0]>>>j[(c<<2)+w>>2];c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+1|0;if(d>>>0>m>>>0){continue}break}break ma;case 7:break na;default:break ma}}c=j[b+4>>2];if((c|0)<1){break ma}d=c+m|0;c=0;while(1){e=(k[m+1|0]|k[m|0]<<8)>>>j[(c<<2)+w>>2]|0;e=(e<<24|e<<8&16711680)>>>16|0;h[m|0]=e;h[m+1|0]=e>>>8;c=c+1|0;c=(c|0)<(f|0)?c:0;m=m+2|0;if(d>>>0>m>>>0){continue}break}}e=j[a+216>>2]}oa:{if(!(e&4)){break oa}c=k[b+9|0];if(c>>>0>7){break oa}d=j[a+384>>2]+1|0;e=j[b>>2];pa:{qa:{switch(c-1|0){case 0:if(!e){break pa}m=d+e|0;c=0-e&7;d=d+(e-1>>>3|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&1;g=(c|0)==7;c=g?0:c+1|0;d=g?d-1|0:d;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 1:if(!e){break pa}m=d+e|0;c=d+(e-1>>>2|0)|0;d=((e<<1)+6^-1)&6;f=0;while(1){m=m-1|0;h[m|0]=k[c|0]>>>d&3;g=(d|0)==6;d=g?0:d+2|0;c=g?c-1|0:c;f=f+1|0;if((e|0)!=(f|0)){continue}break}break pa;case 3:break qa;default:break pa}}if(!e){break pa}m=d+e|0;c=e<<2&4;d=d+(e-1>>>1|0)|0;f=0;while(1){m=m-1|0;h[m|0]=k[d|0]>>>c&15;d=(c|0)==4?d-1|0:d;c=((c|0)!=4)<<2;f=f+1|0;if((e|0)!=(f|0)){continue}break}}h[b+9|0]=8;c=k[b+10|0];h[b+11|0]=c<<3;j[b+4>>2]=p(c,e)}if(!(k[b+8|0]!=3|j[a+424>>2]<0)){DG(a,b)}c=j[a+216>>2];if(c&1){MG(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&65536){_G(b,j[a+384>>2]+1|0);c=j[a+216>>2]}ra:{if(!(c&32768)){break ra}n=l[a+444>>1];d=n>>>8|0;c=j[a+384>>2]+1|0;m=j[b>>2];f=j[a+212>>2];sa:{switch(k[b+8|0]){case 0:ta:{switch(k[b+9|0]-8|0){case 0:c=c+m|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;e=e-2|0;c=c-1|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra}if(m){e=c+m|0;f=0;while(1){c=c-1|0;g=k[c|0];d=e-2|0;h[d|0]=n;h[e-1|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=4098;j[b+4>>2]=m<<1;break ra;case 8:break ta;default:break ra}}g=1;e=m<<1;c=e+c|0;if(f&128){e=c+e|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];e=e-4|0;c=c-2|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra}if(m){e=c+e|0;g=0;while(1){h[e-1|0]=k[c-1|0];c=c-2|0;f=k[c|0];h[e-3|0]=n;h[e-2|0]=f;e=e-4|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=8194;j[b+4>>2]=m<<2;break ra;case 2:break sa;default:break ra}}ua:{switch(k[b+9|0]-8|0){case 0:c=c+p(m,3)|0;if(f&128){e=c+m|0;if(m>>>0>=2){f=1;while(1){h[e-1|0]=n;h[e-2|0]=k[c-1|0];h[e-3|0]=k[c-2|0];e=e-4|0;c=c-3|0;h[e|0]=k[c|0];f=f+1|0;if((m|0)!=(f|0)){continue}break}}h[e-1|0]=n;i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra}if(m){e=c+m|0;f=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];c=c-3|0;g=k[c|0];d=e-4|0;h[d|0]=n;h[e-3|0]=g;e=d;f=f+1|0;if((m|0)!=(f|0)){continue}break}}i[b+10>>1]=8196;j[b+4>>2]=m<<2;break ra;case 8:break ua;default:break ra}}c=c+p(m,6)|0;if(f&128){g=1;e=(m<<1)+c|0;if(m>>>0>=2){while(1){h[e-2|0]=d;h[e-1|0]=n;h[e-3|0]=k[c-1|0];h[e-4|0]=k[c-2|0];h[e-5|0]=k[c-3|0];h[e-6|0]=k[c-4|0];h[e-7|0]=k[c-5|0];e=e-8|0;c=c-6|0;h[e|0]=k[c|0];g=g+1|0;if((m|0)!=(g|0)){continue}break}}h[e-2|0]=d;h[e-1|0]=n;i[b+10>>1]=16388;j[b+4>>2]=m<<3;break ra}if(m){e=(m<<1)+c|0;g=0;while(1){h[e-1|0]=k[c-1|0];h[e-2|0]=k[c-2|0];h[e-3|0]=k[c-3|0];h[e-4|0]=k[c-4|0];h[e-5|0]=k[c-5|0];c=c-6|0;f=k[c|0];h[e-7|0]=n;h[e-6|0]=f;e=e-8|0;h[e|0]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}}i[b+10>>1]=16388;j[b+4>>2]=m<<3}va:{if(!(k[a+218|0]&2)){break va}c=j[a+384>>2]+1|0;d=j[b>>2];wa:{switch(k[b+8|0]-4|0){case 2:if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];o=f;f=c-2|0;h[o|0]=k[f|0];m=c-3|0;n=k[m|0];c=c-4|0;h[m|0]=k[c|0];h[f|0]=n;h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-2|0;m=k[f|0]|k[f+1|0]<<8;g=c-4|0;n=k[g|0]|k[g+1|0]<<8;h[f|0]=n;h[f+1|0]=n>>>8;f=c-6|0;n=k[f|0]|k[f+1|0]<<8;h[g|0]=n;h[g+1|0]=n>>>8;c=c-8|0;g=k[c|0]|k[c+1|0]<<8;h[f|0]=g;h[f+1|0]=g>>>8;h[c|0]=m;h[c+1|0]=m>>>8;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va;case 0:break wa;default:break va}}if(k[b+9|0]==8){if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){f=c-1|0;g=k[f|0];c=c-2|0;h[f|0]=k[c|0];h[c|0]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}break va}if(!d){break va}c=c+j[b+4>>2]|0;e=0;while(1){c=c-4|0;f=lP(k[c|0]|k[c+1|0]<<8|(k[c+2|0]<<16|k[c+3|0]<<24),16);h[c|0]=f;h[c+1|0]=f>>>8;h[c+2|0]=f>>>16;h[c+3|0]=f>>>24;e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=j[a+216>>2];if(c&16){cH(b,j[a+384>>2]+1|0);c=j[a+216>>2]}if(c&1048576){c=j[a+192>>2];if(c){qe[c|0](a,b,j[a+384>>2]+1|0)}c=k[a+204|0];if(c){h[b+9|0]=c}c=k[a+205|0];xa:{if(!c){c=k[b+10|0];break xa}h[b+10|0]=c}c=p(k[b+9|0],c);h[b+11|0]=c;a=j[b>>2];c=c&255;ya:{if(c>>>0>=8){a=p(a,c>>>3|0);break ya}a=p(a,c)+7>>>3|0}j[b+4>>2]=a}oe=w+16|0}function Ex(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=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;f=oe-32|0;oe=f;o=j[a+56>>2];g=j[a+40>>2];n=k[g+9|0];d=j[a+44>>2];v=j[d+24>>2];p=0;a:{if(!v){break a}p=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];b=j[a>>2];t=j[a+28>>2];e=j[a+24>>2];q=j[g+24>>2]^-1;m=q&o;o=j[d>>2];u=j[g>>2];b:{c:{d:{e:{f:{g:{w=k[d+9|0];if(!((n|0)!=4|(w|0)!=4)){r=j[g+12>>2];if((r|0)!=j[d+12>>2]){break g}s=j[g+16>>2];if((s|0)!=j[d+16>>2]){break g}z=j[g+20>>2];if((z|0)!=j[d+20>>2]){break g}if(!v){break c}if(!t){break b}o=k[a+63|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}b=b+4|0;c=c+4|0;e=7;continue;default:break k}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e|o}e=t-1|0;b=b+4|0;c=c+4|0;l:{if((a|0)>1){a=a-1|0;break l}c=c+x|0;b=b+y|0;t=e;if(e){continue h}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691;if((u|0)!=386930691){break f}if((o|0)==386930691){break e}break f}if(!((u|0)==372711428|(o|0)==372711428)){hh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}d=e&7;o=(e+7|0)/8|0;m:while(1){a=o;n:{o:{switch(d-1|0){default:e=0;break n;case 0:e=7;break n;case 1:e=6;break n;case 2:e=5;break n;case 3:e=4;break n;case 4:e=3;break n;case 5:e=2;break n;case 6:break o}}e=1}while(1){p:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+4|0;e=7;continue;default:break p}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+4|0;q:{if((a|0)>1){a=a-1|0;break q}c=c+x|0;b=b+y|0;t=e;if(e){continue m}break b}e=0;continue}}}a=(o|0)==386930691;v=(u|0)==386930691}if((u|0)!=390076419|(o|0)!=390076419){break d}}if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;r:while(1){a=p;s:{t:{switch(q-1|0){default:e=0;break s;case 0:e=7;break s;case 1:e=6;break s;case 2:e=5;break s;case 3:e=4;break s;case 4:e=3;break s;case 5:e=2;break s;case 6:break t}}e=1}while(1){u:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}c=c+3|0;b=b+3|0;e=7;continue;default:break u}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=e;h[c+1|0]=m;h[c|0]=n}e=t-1|0;c=c+3|0;b=b+3|0;v:{if((a|0)>1){a=a-1|0;break v}c=c+x|0;b=b+y|0;t=e;if(e){continue r}break b}e=0;continue}}}if(!((o|0)==390076419&v?0:!((u|0)==390076419&a))){if(!t){break b}q=e&7;o=m>>>8|0;d=m>>>16|0;p=(e+7|0)/8|0;g=m&255;w:while(1){a=p;x:{y:{switch(q-1|0){default:e=0;break x;case 0:e=7;break x;case 1:e=6;break x;case 2:e=5;break x;case 3:e=4;break x;case 4:e=3;break x;case 5:e=2;break x;case 6:break y}}e=1}while(1){z:{switch(e|0){case 0:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=1;continue;case 1:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=2;continue;case 2:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=3;continue;case 3:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=4;continue;case 4:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=5;continue;case 5:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=6;continue;case 6:e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}c=c+3|0;b=b+3|0;e=7;continue;default:break z}}e=k[b+2|0];n=k[b|0];m=k[b+1|0];if(!((e|0)==(d&255)?!((n|0)!=(g|0)|(m|0)!=(o&255)):0)){h[c+2|0]=n;h[c+1|0]=m;h[c|0]=e}e=t-1|0;c=c+3|0;b=b+3|0;A:{if((a|0)>1){a=a-1|0;break A}c=c+x|0;b=b+y|0;t=e;if(e){continue w}break b}e=0;continue}}}B:{if(!((n|0)!=4|(w|0)!=3)){if((u|0)==372711428){break B}hh(g,d,f+28|0,f+24|0,f+20|0,f+16|0,0);if(!t){break b}o=e&7;p=(e+7|0)/8|0;C:while(1){a=p;D:{E:{switch(o-1|0){default:e=0;break D;case 0:e=7;break D;case 1:e=6;break D;case 2:e=5;break D;case 3:e=4;break D;case 4:e=3;break D;case 5:e=2;break D;case 6:break E}}e=1}while(1){F:{switch(e|0){case 0:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=1;continue;case 1:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=2;continue;case 2:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=3;continue;case 3:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=4;continue;case 4:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=5;continue;case 5:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=6;continue;case 6:if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}c=c+3|0;b=b+4|0;e=7;continue;default:break F}}if((m|0)!=(q&j[b>>2])){h[c|0]=k[j[f+28>>2]+b|0];h[c+1|0]=k[j[f+24>>2]+b|0];h[c+2|0]=k[j[f+20>>2]+b|0]}e=t-1|0;c=c+3|0;b=b+4|0;G:{if((a|0)>1){a=a-1|0;break G}c=c+x|0;b=b+y|0;t=e;if(e){continue C}break b}e=0;continue}}}if((o|0)==372711428|(n|0)!=3|(w|0)!=4){break B}hh(g,d,f+24|0,f+20|0,f+16|0,f+12|0,f+28|0);if(!t){break b}q=e&7;d=m>>>8|0;g=m>>>16|0;o=(e+7|0)/8|0;m=m&255;H:while(1){a=o;I:{J:{switch(q-1|0){default:e=0;break I;case 0:e=7;break I;case 1:e=6;break I;case 2:e=5;break I;case 3:e=4;break I;case 4:e=3;break I;case 5:e=2;break I;case 6:break J}}e=1}while(1){K:{switch(e|0){case 0:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=1;continue;case 1:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=2;continue;case 2:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=3;continue;case 3:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=4;continue;case 4:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=5;continue;case 5:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=6;continue;case 6:if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}c=c+4|0;b=b+3|0;e=7;continue;default:break K}}if(!(k[b+1|0]==(d&255)?!((m|0)!=k[b|0]|k[b+2|0]!=(g&255)):0)){h[c|0]=k[j[f+24>>2]+b|0];h[c+1|0]=k[j[f+20>>2]+b|0];h[c+2|0]=k[j[f+16>>2]+b|0];h[c+3|0]=k[j[f+12>>2]+b|0];h[j[f+28>>2]+c|0]=p}e=t-1|0;c=c+4|0;b=b+3|0;L:{if((a|0)>1){a=a-1|0;break L}c=c+x|0;b=b+y|0;t=e;if(e){continue H}break b}e=0;continue}}}if(!t){break b}z=e&7;o=(e+7|0)/8|0;u=n-1|0;v=w-1|0;while(1){e=o;M:{N:{switch(z-1|0){default:a=7;break M;case 0:a=6;break M;case 1:a=5;break M;case 2:a=4;break M;case 3:a=3;break M;case 4:a=2;break M;case 5:a=1;break M;case 6:break N}}a=0}while(1){O:{P:{switch(a|0){case 0:a=0;Q:{R:{switch(u|0){case 0:a=k[b|0];break Q;case 1:a=l[b>>1];break Q;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Q;case 3:break R;default:break Q}}a=j[b>>2]}S:{if((m|0)==(a&q)){break S}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];T:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break S;case 3:break T;default:break S}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break U;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break U;case 3:break V;default:break U}}a=j[b>>2]}W:{if((m|0)==(a&q)){break W}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];X:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break W;case 3:break X;default:break W}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break Y;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break Y;case 3:break Z;default:break Y}}a=j[b>>2]}_:{if((m|0)==(a&q)){break _}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];$:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break _;case 3:break $;default:break _}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break aa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break aa;case 3:break ba;default:break aa}}a=j[b>>2]}ca:{if((m|0)==(a&q)){break ca}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];da:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ca;case 3:break da;default:break ca}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ea;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ea;case 3:break fa;default:break ea}}a=j[b>>2]}ga:{if((m|0)==(a&q)){break ga}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ha:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ga;case 3:break ha;default:break ga}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ia;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ia;case 3:break ja;default:break ia}}a=j[b>>2]}ka:{if((m|0)==(a&q)){break ka}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];la:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break ka;case 3:break la;default:break ka}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break ma;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break ma;case 3:break na;default:break ma}}a=j[b>>2]}oa:{if((m|0)==(a&q)){break oa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];pa:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break oa;case 3:break pa;default:break oa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1];break qa;case 2:a=k[b|0]|k[b+1|0]<<8|k[b+2|0]<<16;break qa;case 3:break ra;default:break qa}}a=j[b>>2]}sa:{if((m|0)==(a&q)){break sa}r=k[j[(k[g+30|0]<<2)+234976>>2]+((j[g+20>>2]&a)>>>k[g+34|0]|0)|0];s=k[j[(k[g+29|0]<<2)+234976>>2]+((j[g+16>>2]&a)>>>k[g+33|0]|0)|0];a=k[j[(k[g+28|0]<<2)+234976>>2]+((j[g+12>>2]&a)>>>k[g+32|0]|0)|0];ta:{switch(v|0){case 0:h[c|0]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=s;h[(k[d+34|0]>>>3|0)+c|0]=r;break sa;case 3:break ta;default:break sa}}j[c>>2]=s>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=1;continue;case 1:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=2;continue;case 2:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=3;continue;case 3:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=4;continue;case 4:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=5;continue;case 5:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=6;continue;case 6:e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}b=b+4|0;c=c+4|0;e=7;continue;default:break xa}}e=j[b>>2];if((m|0)!=(e&q)){j[c>>2]=e&o}e=t-1|0;b=b+4|0;c=c+4|0;ya:{if((a|0)>1){a=a-1|0;break ya}c=c+x|0;b=b+y|0;t=e;if(e){continue ua}break b}e=0;continue}}}oe=f+32|0}function Cn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;w=j[a+8>>2];a:{if(!(k[c|0]&2)){break a}if((Eg(c)|0)>=0){break a}return-1}o=j[d>>2];n=j[a+4>>2];q=k[n+9|0];m=j[d+4>>2];s=j[c+16>>2];t=j[c+20>>2];r=j[a+52>>2];e=j[r+12>>2];b:{g=j[b+4>>2];c:{if(!g){break c}d:{switch(q-1|0){case 0:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];e:{if(e){d=d+e|0;e=e+f|0;break e}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 1:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];f:{if(e){d=d+e|0;e=f+(e<<1)|0;break f}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 2:while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];g:{if(e){d=d+e|0;e=f+p(e,3)|0;break g}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}break c;case 3:break d;default:break c}}while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];h:{if(e){d=d+e|0;e=f+(e<<2)|0;break h}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=g-1|0;if(g){continue}break}}o=(t+p(m,s)|0)+p(o,q)|0;m=k[r+79|0];i:{j:{k:{t=j[b>>2];if(!(j[b+8>>2]==j[a+8>>2]?!t:0)){f=j[c+4>>2];a=k[f+9|0];if((m|0)==255){l:{switch(a-1|0){case 0:g=o-t|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];m:{if(a){n:{if((d|0)>=(q|0)){break n}e=t-d|0;o:{if((e|0)<1){e=0;b=a;break o}b=a-e|0;if((b|0)<1){break n}}m=d+e|0;o=q-m|0;Ge(g+m|0,e+f|0,(b|0)>(o|0)?o:b)}d=a+d|0;e=a+f|0;break m}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 1:g=o-(t<<1)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];p:{if(a){q:{if((d|0)>=(q|0)){break q}e=t-d|0;r:{if((e|0)<1){e=0;b=a;break r}b=a-e|0;if((b|0)<1){break q}}m=d+e|0;o=q-m|0;Ge((m<<1)+g|0,f+(e<<1)|0,((b|0)>(o|0)?o:b)<<1)}d=a+d|0;e=f+(a<<1)|0;break p}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 2:g=p(t,-3)+o|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+2|0;d=k[e|0]+d|0;a=k[e+1|0];s:{if(a){t:{if((d|0)>=(q|0)){break t}e=t-d|0;u:{if((e|0)<1){e=0;b=a;break u}b=a-e|0;if((b|0)<1){break t}}m=d+e|0;o=q-m|0;Ge(p(m,3)+g|0,f+p(e,3)|0,p((b|0)>(o|0)?o:b,3))}d=a+d|0;e=f+p(a,3)|0;break s}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b;case 3:break l;default:break b}}g=o-(t<<2)|0;q=t+j[b+8>>2]|0;n=j[b+12>>2];while(1){d=0;while(1){f=e+4|0;d=l[e>>1]+d|0;a=l[e+2>>1];v:{if(a){w:{if((d|0)>=(q|0)){break w}e=t-d|0;x:{if((e|0)<1){e=0;b=a;break x}b=a-e|0;if((b|0)<1){break w}}m=d+e|0;o=q-m|0;Ge((m<<2)+g|0,f+(e<<2)|0,((b|0)>(o|0)?o:b)<<2)}d=a+d|0;e=f+(a<<2)|0;break v}e=f;if(!d){break b}}if((d|0)!=(w|0)){continue}break}g=j[c+16>>2]+g|0;n=n-1|0;if(n){continue}break}break b}y:{switch(a-2|0){case 0:z:{u=j[f+20>>2];g=j[f+16>>2];r=j[f+12>>2];a=u|(g|r);if((a|0)!=32767){if((a|0)!=65535|((u|0)!=2016?!((r|0)==2016|(g|0)==2016):0)){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];A:{if(a){B:{if((b|0)>=(n|0)){break B}f=t-b|0;C:{if((f|0)<1){f=0;d=a;break C}d=a-f|0;if((d|0)<1){break B}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break B}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break B}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&2081)+((s&63454)+(m&63454)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&136382497)+(m>>>1&2079292399)|0)+(s>>>1&2079292399);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break B}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&2081)+((d&63454)+(e&63454)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break A}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];D:{if(b){E:{if((a|0)>=(n|0)){break E}d=t-a|0;F:{if((d|0)<1){d=0;f=b;break F}f=b-d|0;if((f|0)<1){break E}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break E}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&132184095;u=l[d>>1];u=(u<<16|u)&132184095;u=(p(m,v-u|0)>>>5|0)+u&132184095;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break D}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}if((u|0)!=992?!((r|0)==992|(g|0)==992):0){break z}q=o-(t<<1)|0;n=t+j[b+8>>2]|0;o=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;a=k[e+1|0];G:{if(a){H:{if((b|0)>=(n|0)){break H}f=t-b|0;I:{if((f|0)<1){f=0;d=a;break I}d=a-f|0;if((d|0)<1){break H}}m=b+f|0;e=n-m|0;e=(d|0)>(e|0)?e:d;d=(m<<1)+q|0;f=g+(f<<1)|0;if((d^f)&3){if(!e){break H}while(1){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break H}if(f&3){m=l[f>>1];s=l[d>>1];i[d>>1]=(m&s&1057)+((s&64478)+(m&64478)>>>1|0);e=e-1|0;f=f+2|0;d=d+2|0}if(e>>>0>=2){while(1){m=j[f>>2];s=j[d>>2];j[d>>2]=((m&s&69272609)+(m>>>1&2112847343)|0)+(s>>>1&2112847343);d=d+4|0;f=f+4|0;e=e-2|0;if(e>>>0>1){continue}break}}if(!e){break H}v=d;e=l[f>>1];d=l[d>>1];i[v>>1]=(e&d&1057)+((d&64478)+(e&64478)>>>1|0)}b=a+b|0;e=g+(a<<1)|0;break G}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;o=o-1|0;if(o){continue}break b}}m=m>>>3|0;while(1){a=0;while(1){g=e+2|0;a=k[e|0]+a|0;b=k[e+1|0];J:{if(b){K:{if((a|0)>=(n|0)){break K}d=t-a|0;L:{if((d|0)<1){d=0;f=b;break L}f=b-d|0;if((f|0)<1){break K}}e=a+d|0;r=n-e|0;r=(f|0)>(r|0)?r:f;if((r|0)<1){break K}f=g+(d<<1)|0;d=(e<<1)+q|0;e=0;while(1){u=l[f>>1];v=(u<<16|u)&65043487;u=l[d>>1];u=(u<<16|u)&65043487;u=(p(m,v-u|0)>>>5|0)+u&65043487;i[d>>1]=u>>>16|u;d=d+2|0;f=f+2|0;e=e+1|0;if((r|0)!=(e|0)){continue}break}}a=a+b|0;e=g+(b<<1)|0;break J}e=g;if(!a){break b}}if((a|0)!=(w|0)){continue}break}q=q+s|0;o=o-1|0;if(o){continue}break}break b}o=o-(t<<1)|0;G=t+j[b+8>>2]|0;x=j[b+12>>2];while(1){n=0;while(1){d=e+2|0;n=k[e|0]+n|0;b=k[e+1|0];M:{if(b){N:{if((n|0)>=(G|0)){break N}e=t-n|0;O:{if((e|0)<1){e=0;a=b;break O}a=b-e|0;if((a|0)<1){break N}}q=e+n|0;y=G-q|0;H=(a|0)>(y|0)?y:a;if((H|0)<1){break N}a=d+(e<<1)|0;e=(q<<1)+o|0;J=k[f+30|0];B=j[(J<<2)+234976>>2];I=k[f+29|0];C=j[(I<<2)+234976>>2];K=k[f+28|0];A=j[(K<<2)+234976>>2];M=j[f+24>>2];y=k[f+34|0];E=k[f+33|0];v=k[f+32|0];q=0;while(1){D=l[a>>1];F=l[e>>1];z=k[A+((F&r)>>>v|0)|0];L=(p(m,k[A+((D&r)>>>v|0)|0]-z|0)>>>8|0)+z>>>K<>>E|0)|0];z=L|(p(m,k[C+((g&D)>>>E|0)|0]-z|0)>>>8|0)+z>>>I<>>y|0)|0];D=k[B+((u&F)>>>y|0)|0];i[e>>1]=z|(p(m,L-D|0)>>>8|0)+D>>>J<>2]|0;n=j[b+12>>2];while(1){o=0;while(1){d=e+2|0;o=k[e|0]+o|0;b=k[e+1|0];P:{if(b){Q:{if((o|0)>=(s|0)){break Q}e=t-o|0;R:{if((e|0)<1){e=0;a=b;break R}a=b-e|0;if((a|0)<1){break Q}}g=e+o|0;r=s-g|0;B=(a|0)>(r|0)?r:a;if((B|0)<1){break Q}a=d+p(e,3)|0;e=p(g,3)+q|0;g=0;while(1){C=k[f+28|0];A=j[(C<<2)+234976>>2];x=j[f+12>>2];r=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);u=k[f+32|0];y=k[A+((x&r)>>>u|0)|0];F=k[f+29|0];H=j[(F<<2)+234976>>2];D=j[f+16>>2];E=k[f+33|0];v=k[H+((D&r)>>>E|0)|0];I=k[f+30|0];K=j[(I<<2)+234976>>2];J=j[f+20>>2];z=J&r;r=k[f+34|0];G=k[K+(z>>>r|0)|0];z=x;x=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);r=j[f+24>>2]|y+(p(m,k[A+((z&x)>>>u|0)|0]-y|0)>>>8|0)>>>C<>>E|0)|0]-v|0)>>>8|0)>>>F<>>r|0)|0]-G|0)>>>8|0)>>>I<>>16;h[e+1|0]=r>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((B|0)!=(g|0)){continue}break}}o=b+o|0;e=d+p(b,3)|0;break P}e=d;if(!o){break b}}if((o|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b;case 2:break y;default:break b}}g=j[f+20>>2];a=j[f+16>>2];d=j[f+12>>2];if(!((g|(a|d))!=16777215|((g|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=o-(t<<2)|0;o=t+j[b+8>>2]|0;n=j[b+12>>2];if((m|0)!=128){break k}while(1){b=0;while(1){g=e+4|0;b=l[e>>1]+b|0;a=l[e+2>>1];S:{if(a){T:{if((b|0)>=(o|0)){break T}d=t-b|0;U:{if((d|0)<1){d=0;f=a;break U}f=a-d|0;if((f|0)<1){break T}}e=b+d|0;m=o-e|0;m=(f|0)>(m|0)?m:f;if((m|0)<1){break T}f=g+(d<<2)|0;d=(e<<2)+q|0;e=0;while(1){s=j[d>>2];r=j[f>>2];j[d>>2]=((s&16711422)+(r&16711422)>>>1|0)+(s&r&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}b=a+b|0;e=g+(a<<2)|0;break S}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}q=j[c+16>>2]+q|0;n=n-1|0;if(n){continue}break}break b}o=o-(t<<2)|0;y=t+j[b+8>>2]|0;r=j[b+12>>2];while(1){s=0;while(1){d=e+4|0;s=l[e>>1]+s|0;b=l[e+2>>1];V:{if(b){W:{if((s|0)>=(y|0)){break W}e=t-s|0;X:{if((e|0)<1){e=0;a=b;break X}a=b-e|0;if((a|0)<1){break W}}g=e+s|0;q=y-g|0;D=(a|0)>(q|0)?q:a;if((D|0)<1){break W}a=d+(e<<2)|0;e=(g<<2)+o|0;F=k[f+30|0];E=j[(F<<2)+234976>>2];H=k[f+29|0];v=j[(H<<2)+234976>>2];J=k[f+28|0];G=j[(J<<2)+234976>>2];g=k[f+34|0];n=k[f+33|0];u=k[f+32|0];q=0;while(1){A=j[f+12>>2];x=j[e>>2];B=k[G+((A&x)>>>u|0)|0];I=j[f+16>>2];C=k[v+((I&x)>>>n|0)|0];K=j[f+20>>2];x=k[E+((K&x)>>>g|0)|0];z=A;A=j[a>>2];j[e>>2]=j[f+24>>2]|B+(p(m,k[G+((z&A)>>>u|0)|0]-B|0)>>>8|0)>>>J<>>n|0)|0]-C|0)>>>8|0)>>>H<>>g|0)|0]-x|0)>>>8|0)>>>F<>2]+o|0;r=r-1|0;if(r){continue}break}break b}if((m|0)==255){Y:{switch(q-1|0){case 0:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];Z:{if(e){Ge(d+o|0,b,e);d=d+e|0;e=b+e|0;break Z}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 1:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];_:{if(e){f=e<<1;Ge((d<<1)+o|0,b,f);d=d+e|0;e=b+f|0;break _}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 2:a=j[b+12>>2];while(1){d=0;while(1){b=e+2|0;d=k[e|0]+d|0;e=k[e+1|0];$:{if(e){f=p(e,3);Ge(p(d,3)+o|0,b,f);d=d+e|0;e=b+f|0;break $}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b;case 3:break Y;default:break b}}a=j[b+12>>2];while(1){d=0;while(1){b=e+4|0;d=l[e>>1]+d|0;e=l[e+2>>1];aa:{if(e){f=e<<2;Ge((d<<2)+o|0,b,f);d=d+e|0;e=b+f|0;break aa}e=b;if(!d){break b}}if((d|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;a=a-1|0;if(a){continue}break}break b}ba:{switch(q-2|0){case 0:ca:{t=j[n+20>>2];d=j[n+16>>2];f=j[n+12>>2];a=t|(d|f);if((a|0)!=32767){if((a|0)!=65535|((t|0)!=2016?!((f|0)==2016|(d|0)==2016):0)){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];da:{if(q){d=(b<<1)+o|0;ea:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&2081)+((m&63454)+(a&63454)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ea}fa:{if(!(g&3)){f=g;a=q;break fa}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&2081)+((f&63454)+(a&63454)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&136382497)+(e>>>1&2079292399)|0)+(m>>>1&2079292399);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ea}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&2081)+((d&63454)+(a&63454)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break da}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ga:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&132184095;m=l[d>>1];m=(m<<16|m)&132184095;m=(p(q,v-m|0)>>>5|0)+m&132184095;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ga}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}if((t|0)!=992?!((f|0)==992|(d|0)==992):0){break ca}n=j[b+12>>2];if((m|0)==128){while(1){b=0;while(1){g=e+2|0;b=k[e|0]+b|0;q=k[e+1|0];ha:{if(q){d=(b<<1)+o|0;ia:{if((g^d)&3){e=q;f=g;while(1){a=l[f>>1];m=l[d>>1];i[d>>1]=(a&m&1057)+((m&64478)+(a&64478)>>>1|0);d=d+2|0;f=f+2|0;e=e-1|0;if(e){continue}break}break ia}ja:{if(!(g&3)){f=g;a=q;break ja}a=l[e+2>>1];f=l[d>>1];i[d>>1]=(a&f&1057)+((f&64478)+(a&64478)>>>1|0);d=d+2|0;f=e+4|0;a=q-1|0}if(a>>>0>=2){while(1){e=j[f>>2];m=j[d>>2];j[d>>2]=((e&m&69272609)+(e>>>1&2112847343)|0)+(m>>>1&2112847343);d=d+4|0;f=f+4|0;a=a-2|0;if(a>>>0>1){continue}break}}if(!a){break ia}e=d;a=l[f>>1];d=l[d>>1];i[e>>1]=(a&d&1057)+((d&64478)+(a&64478)>>>1|0)}b=b+q|0;e=g+(q<<1)|0;break ha}e=g;if(!b){break b}}if((b|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;n=n-1|0;if(n){continue}break b}}q=m>>>3|0;while(1){g=0;while(1){a=e+2|0;g=k[e|0]+g|0;b=k[e+1|0];ka:{if(b){d=(g<<1)+o|0;e=0;f=a;while(1){m=l[f>>1];v=(m<<16|m)&65043487;m=l[d>>1];m=(m<<16|m)&65043487;m=(p(q,v-m|0)>>>5|0)+m&65043487;i[d>>1]=m>>>16|m;d=d+2|0;f=f+2|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<1)|0;break ka}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=o+s|0;n=n-1|0;if(n){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+2|0;b=k[e|0]+b|0;u=k[e+1|0];la:{if(u){e=(b<<1)+o|0;D=k[n+30|0];G=j[(D<<2)+234976>>2];F=k[n+29|0];x=j[(F<<2)+234976>>2];H=k[n+28|0];B=j[(H<<2)+234976>>2];J=j[n+24>>2];y=k[n+34|0];E=k[n+33|0];v=k[n+32|0];q=0;g=a;while(1){C=l[g>>1];A=l[e>>1];I=k[B+((A&f)>>>v|0)|0];z=J|(p(m,k[B+((C&f)>>>v|0)|0]-I|0)>>>8|0)+I>>>H<>>E|0)|0];z=z|(p(m,k[x+((d&C)>>>E|0)|0]-I|0)>>>8|0)+I>>>F<>>y|0)|0];C=k[G+((t&A)>>>y|0)|0];i[e>>1]=z|(p(m,I-C|0)>>>8|0)+C>>>D<>2];while(1){q=0;while(1){b=e+2|0;q=k[e|0]+q|0;d=k[e+1|0];ma:{if(d){e=p(q,3)+o|0;g=0;a=b;while(1){G=k[n+28|0];x=j[(G<<2)+234976>>2];v=j[n+12>>2];f=k[e|0]|(k[e+1|0]<<8|k[e+2|0]<<16);t=k[n+32|0];r=k[x+((v&f)>>>t|0)|0];C=k[n+29|0];A=j[(C<<2)+234976>>2];B=j[n+16>>2];u=k[n+33|0];y=k[A+((B&f)>>>u|0)|0];F=k[n+30|0];H=j[(F<<2)+234976>>2];D=j[n+20>>2];z=D&f;f=k[n+34|0];E=k[H+(z>>>f|0)|0];z=v;v=k[a|0]|(k[a+1|0]<<8|k[a+2|0]<<16);f=j[n+24>>2]|r+(p(m,k[x+((z&v)>>>t|0)|0]-r|0)>>>8|0)>>>G<>>u|0)|0]-y|0)>>>8|0)>>>C<>>f|0)|0]-E|0)>>>8|0)>>>F<>>16;h[e+1|0]=f>>>8;e=e+3|0;a=a+3|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}q=d+q|0;e=b+p(d,3)|0;break ma}e=b;if(!q){break b}}if((q|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;s=s-1|0;if(s){continue}break}break b;case 2:break ba;default:break b}}f=j[n+20>>2];a=j[n+16>>2];d=j[n+12>>2];if(!((f|(a|d))!=16777215|((f|0)!=65280?!((d|0)==65280|(a|0)==65280):0))){q=j[b+12>>2];if((m|0)!=128){break j}while(1){g=0;while(1){a=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];na:{if(b){d=(g<<2)+o|0;e=0;f=a;while(1){n=j[d>>2];m=j[f>>2];j[d>>2]=((n&16711422)+(m&16711422)>>>1|0)+(n&m&65793);d=d+4|0;f=f+4|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}g=b+g|0;e=a+(b<<2)|0;break na}e=a;if(!g){break b}}if((g|0)!=(w|0)){continue}break}o=j[c+16>>2]+o|0;q=q-1|0;if(q){continue}break}break b}r=j[b+12>>2];while(1){b=0;while(1){a=e+4|0;b=l[e>>1]+b|0;d=l[e+2>>1];oa:{if(d){e=(b<<2)+o|0;C=k[n+30|0];u=j[(C<<2)+234976>>2];A=k[n+29|0];y=j[(A<<2)+234976>>2];D=k[n+28|0];E=j[(D<<2)+234976>>2];f=k[n+34|0];t=k[n+33|0];s=k[n+32|0];q=0;g=a;while(1){B=j[n+12>>2];v=j[e>>2];G=k[E+((B&v)>>>s|0)|0];F=j[n+16>>2];x=k[y+((F&v)>>>t|0)|0];H=j[n+20>>2];v=k[u+((H&v)>>>f|0)|0];z=B;B=j[g>>2];j[e>>2]=j[n+24>>2]|G+(p(m,k[E+((z&B)>>>s|0)|0]-G|0)>>>8|0)>>>D<>>t|0)|0]-x|0)>>>8|0)>>>A<>>f|0)|0]-v|0)>>>8|0)>>>C<>2]+o|0;r=r-1|0;if(r){continue}break}break b}g=0;break i}n=0;while(1){b=e+4|0;n=l[e>>1]+n|0;d=l[e+2>>1];pa:{if(d){f=(n<<2)+o|0;a=0;e=b;while(1){g=j[e>>2];t=j[f>>2];s=t&16711935;v=(p(m,(g&16711935)-s|0)>>>8|0)+s&16711935;x=g&65280;g=t&65280;j[f>>2]=v|(p(m,x-g|0)>>>8|0)+g&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}n=d+n|0;e=b+(d<<2)|0;break pa}e=b;if(!n){break b}}if((n|0)!=(w|0)){continue}o=j[c+16>>2]+o|0;q=q-1|0;if(!q){break b}n=0;continue}}while(1){d=e+4|0;g=l[e>>1]+g|0;b=l[e+2>>1];qa:{if(b){ra:{if((g|0)>=(o|0)){break ra}f=t-g|0;sa:{if((f|0)<1){f=0;e=b;break sa}e=b-f|0;if((e|0)<1){break ra}}a=f+g|0;s=o-a|0;s=(e|0)>(s|0)?s:e;if((s|0)<1){break ra}e=d+(f<<2)|0;f=(a<<2)+q|0;a=0;while(1){r=j[e>>2];u=j[f>>2];y=u&16711935;v=(p(m,(r&16711935)-y|0)>>>8|0)+y&16711935;x=r&65280;r=u&65280;j[f>>2]=v|(p(m,x-r|0)>>>8|0)+r&65280;f=f+4|0;e=e+4|0;a=a+1|0;if((s|0)!=(a|0)){continue}break}}g=b+g|0;e=d+(b<<2)|0;break qa}e=d;if(!g){break b}}if((g|0)!=(w|0)){continue}q=j[c+16>>2]+q|0;n=n-1|0;if(!n){break b}g=0;continue}}if(k[c|0]&2){jg(c)}return 0}function Nx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;g=oe-32|0;oe=g;b=j[a+40>>2];u=k[b+9|0];d=j[a+44>>2];o=0;a:{if(!j[d+24>>2]){break a}o=k[a+63|0]}x=j[a+36>>2];c=j[a+20>>2];y=j[a+16>>2];e=j[a>>2];s=j[a+28>>2];a=j[a+24>>2];b:{c:{f=(u|0)!=4;t=k[d+9|0];if(!(f|(t|0)!=4)){if(j[b>>2]==372711428|j[d>>2]==372711428){break c}hh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;d:while(1){r=f;e:{f:{switch(n-1|0){default:a=0;break e;case 0:a=7;break e;case 1:a=6;break e;case 2:a=5;break e;case 3:a=4;break e;case 4:a=3;break e;case 5:a=2;break e;case 6:break f}}a=1}while(1){g:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;a=7;continue;default:break g}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+4|0;h:{if((r|0)>1){r=r-1|0;break h}c=c+x|0;e=e+y|0;s=a;if(a){continue d}break b}a=0;continue}}}if(!((t|0)!=3|f)){if(j[b>>2]==372711428){break c}hh(b,d,g+28|0,g+24|0,g+20|0,g+16|0,0);if(!s){break b}o=a&7;f=(a+7|0)/8|0;i:while(1){r=f;j:{k:{switch(o-1|0){default:a=0;break j;case 0:a=7;break j;case 1:a=6;break j;case 2:a=5;break j;case 3:a=4;break j;case 4:a=3;break j;case 5:a=2;break j;case 6:break k}}a=1}while(1){l:{switch(a|0){case 0:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=1;continue;case 1:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=2;continue;case 2:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=3;continue;case 3:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=4;continue;case 4:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=5;continue;case 5:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=6;continue;case 6:h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;a=7;continue;default:break l}}a=s-1|0;h[c|0]=k[j[g+28>>2]+e|0];h[c+1|0]=k[j[g+24>>2]+e|0];h[c+2|0]=k[j[g+20>>2]+e|0];c=c+3|0;e=e+4|0;m:{if((r|0)>1){r=r-1|0;break m}c=c+x|0;e=e+y|0;s=a;if(a){continue i}break b}a=0;continue}}}if((u|0)!=3|(t|0)!=4|j[d>>2]==372711428){break c}hh(b,d,g+24|0,g+20|0,g+16|0,g+12|0,g+28|0);if(!s){break b}n=a&7;f=(a+7|0)/8|0;n:while(1){r=f;o:{p:{switch(n-1|0){default:a=0;break o;case 0:a=7;break o;case 1:a=6;break o;case 2:a=5;break o;case 3:a=4;break o;case 4:a=3;break o;case 5:a=2;break o;case 6:break p}}a=1}while(1){q:{switch(a|0){case 0:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=1;continue;case 1:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=2;continue;case 2:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=3;continue;case 3:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=4;continue;case 4:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=5;continue;case 5:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=6;continue;case 6:h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;a=7;continue;default:break q}}a=s-1|0;h[c|0]=k[j[g+24>>2]+e|0];h[c+1|0]=k[j[g+20>>2]+e|0];h[c+2|0]=k[j[g+16>>2]+e|0];h[c+3|0]=k[j[g+12>>2]+e|0];h[j[g+28>>2]+c|0]=o;c=c+4|0;e=e+3|0;r:{if((r|0)>1){r=r-1|0;break r}c=c+x|0;e=e+y|0;s=a;if(a){continue n}break b}a=0;continue}}}if(!s){break b}z=a&7;A=(a+7|0)/8|0;v=u-1|0;w=t-1|0;while(1){r=A;s:{t:{switch(z-1|0){default:a=7;break s;case 0:a=6;break s;case 1:a=5;break s;case 2:a=4;break s;case 3:a=3;break s;case 4:a=2;break s;case 5:a=1;break s;case 6:break t}}a=0}while(1){u:{v:{switch(a|0){case 0:a=0;m=0;f=0;w:{x:{y:{switch(v|0){case 0:f=k[e|0];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break x;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;f=(k[b+32|0]>>>3|0)+e|0;break x;case 3:break y;default:break w}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;f=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}a=k[a|0];m=k[m|0];f=k[f|0]}p=a&255;q=m&255;n=f;z:{A:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=a;break z;case 3:break A;default:break z}}j[c>>2]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;break C;case 2:a=(k[b+34|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;f=(k[b+33|0]>>>3|0)+e|0;break C;case 3:break D;default:break B}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;f=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0}m=k[a|0];a=k[f|0];f=k[n|0]}p=a&255;q=m&255;n=f;E:{F:{switch(w|0){case 0:h[c|0]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=f;h[(k[d+33|0]>>>3|0)+c|0]=a;h[(k[d+34|0]>>>3|0)+c|0]=m;break E;case 3:break F;default:break E}}j[c>>2]=p>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 1:f=l[e>>1];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0;break H;case 2:a=(k[b+34|0]>>>3|0)+e|0;m=(k[b+33|0]>>>3|0)+e|0;n=(k[b+32|0]>>>3|0)+e|0;break H;case 3:break I;default:break G}}f=j[e>>2];a=j[(k[b+30|0]<<2)+234976>>2]+((f&j[b+20>>2])>>>k[b+34|0]|0)|0;m=j[(k[b+29|0]<<2)+234976>>2]+((f&j[b+16>>2])>>>k[b+33|0]|0)|0;n=j[(k[b+28|0]<<2)+234976>>2]+((f&j[b+12>>2])>>>k[b+32|0]|0)|0}f=k[a|0];a=k[n|0];m=k[m|0]}p=a&255;q=m&255;n=f;J:{K:{switch(w|0){case 0:h[c|0]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>1]=q>>>k[d+29|0]<>>k[d+28|0]<>>k[d+30|0]<>>k[d+31|0]<>>3|0)+c|0]=a;h[(k[d+33|0]>>>3|0)+c|0]=m;h[(k[d+34|0]>>>3|0)+c|0]=f;break J;case 3:break K;default:break J}}j[c>>2]=q>>>k[d+29|0]<