287 lines
12 MiB
JavaScript
287 lines
12 MiB
JavaScript
|
var MKeystone = function(MKeystone) {
|
||
|
MKeystone = MKeystone || {};
|
||
|
var Module = MKeystone;
|
||
|
|
||
|
var Module;if(!Module)Module=(typeof MKeystone!=="undefined"?MKeystone:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}Module.print=Modul
|
||
|
var asm=(function(global,env,buffer) {
|
||
|
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.DYNAMICTOP_PTR|0;var l=env.tempDoublePtr|0;var m=env.ABORT|0;var n=env.cttz_i8|0;var o=env.___dso_handle|0;var p=0;var q=0;var r=0;var s=0;var t=global.NaN,u=global.Infinity;var v=0,w=0,x=0,y=0,z=0.0,A=0,B=0,C=0,D=0.0;var E=0;var F=global.Math.floor;var G=global.Math.abs;var H=global.Math.sqrt;var I=global.Math.pow;var J=global.Math.cos;var K=global.Math.sin;var L=global.Math.tan;var M=global.Math.acos;var N=global.Math.asin;var O=global.Math.atan;var P=global.Math.atan2;var Q=global.Math.exp;var R=global.Math.log;var S=global.Math.ceil;var T=global.Math.imul;var U=global.Math.min;var V=global.Math.max;var W=global.Math.clz32;var X=env.abort;var Y=env.assert;var Z=env.enlargeMemory;var _=env.getTotalMemory;var $=env.abortOnCannotGrowMemory;var aa=env.invoke_iiiiiiii;var ba=env.invoke_viiiii;var ca=env.invoke_iiiiiid;var da=env.invoke_vi;var ea=env.invoke_vii;var fa=env.invoke_iiiiiii;var ga=env.invoke_ii;var ha=env.invoke_iiiiiiiiiiii;var ia=env.invoke_iiii;var ja=env.invoke_viiiiiiii;var ka=env.invoke_viiiiii;var la=env.invoke_viiiiiii;var ma=env.invoke_iii;var na=env.invoke_iiiiii;var oa=env.invoke_i;var pa=env.invoke_iiiiiiiiii;var qa=env.invoke_viii;var ra=env.invoke_v;var sa=env.invoke_iiiiiiiii;var ta=env.invoke_iiiii;var ua=env.invoke_iiiiid;var va=env.invoke_viiii;var wa=env._pthread_cleanup_pop;var xa=env.___syscall221;var ya=env._pthread_cond_wait;var za=env.___gxx_personality_v0;var Aa=env._abort;var Ba=env.___cxa_pure_virtual;var Ca=env._pthread_key_create;var Da=env._pthread_cleanup_push;var Ea=env._llvm_bswap_i64;var Fa=env.___syscall4;var Ga=env.___assert_fail;var Ha=env.___cxa_allocate_exception;var Ia=env.___cxa_find_matching_catch;var Ja=env.___buildEnvironment;var Ka=env.__addDays;var La=env._strftime_l;var Ma=env.___setErrNo;var Na=env.___syscall192;var Oa=env.___syscall197;var Pa=env.___cxa_begin_catch;var Qa=env.___syscall195;var Ra=env.___resumeException;var Sa=env.__ZSt18uncaught_exceptionv;var Ta=env.__exit;var Ua=env._strftime;var Va=env.__arraySum;var Wa=env._emscripten_memcpy_big;var Xa=env.___syscall91;var Ya=env._pthread_once;var Za=env._pthread_getspecific;var _a=env._getenv;var $a=env.___syscall54;var ab=env.___unlock;var bb=env.__isLeapYear;var cb=env._llvm_cttz_i64;var db=env._pthread_setspecific;var eb=env.___cxa_atexit;var fb=env.___cxa_throw;var gb=env.___lock;var hb=env.___syscall180;var ib=env.___syscall6;var jb=env.___syscall5;var kb=env.___syscall183;var lb=env.___syscall3;var mb=env._atexit;var nb=env.___syscall140;var ob=env._exit;var pb=env.___syscall145;var qb=env.___syscall146;var rb=0.0;
|
||
|
// EMSCRIPTEN_START_FUNCS
|
||
|
function UR(f,g,h,j,k,l){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0;pa=i;i=i+64|0;ia=pa+48|0;oa=pa+24|0;V=pa+44|0;Z=pa+40|0;_=pa+36|0;X=pa+32|0;Y=pa+28|0;ja=pa;ka=pa+20|0;la=pa+16|0;A=c[g>>2]|0;B=c[c[f+4>>2]>>2]|0;na=B+(A*56|0)+16|0;ma=c[na>>2]|0;na=c[na+4>>2]|0;c[l>>2]=0;ca=ma&127;if((ca|0)==0&0==0){i=pa;return}y=B+(A*56|0)+2|0;n=b[y>>1]|0;fa=n&65535;do if((n&65535)>1){o=c[B+(A*56|0)+32>>2]|0;if((c[o+12>>2]&983041|0)==1)ea=1;else{if((n&65535)>3){if((c[o+20>>2]&983041|0)==1){if((c[o+28>>2]&983041|0)==65537){ea=2;break}if((c[o+(fa+-1<<3)+4>>2]&983041|0)==65537){ea=2;break}}}else if(n<<16>>16!=3){ea=0;break}ea=(c[o+(fa+-2<<3)+4>>2]&983041|0)==1&1}}else ea=0;while(0);c[oa>>2]=0;S=ma&1610612736;aa=Y5(ma|0,na|0,40)|0;ba=Y5(ma|0,na|0,41)|0;ga=Y5(ma|0,na|0,57)|0;$=Y5(ma|0,na|0,45)|0;W=0==0&(na&67108864|0)==0;U=ma&255;switch(U&127){case 95:case 94:case 93:case 92:case 91:case 90:case 89:case 88:case 87:case 86:case 85:case 84:case 83:case 82:case 81:case 80:case 79:case 78:case 77:case 76:case 75:case 74:case 73:case 72:case 71:case 70:case 69:case 68:case 67:case 66:case 65:case 64:case 63:case 62:case 61:case 60:case 59:case 58:case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:case 47:case 46:case 45:case 44:case 43:case 42:case 41:case 40:case 39:case 38:case 37:case 36:case 35:case 34:case 33:case 32:case 23:case 22:case 21:case 20:case 19:case 18:case 17:case 16:case 14:case 10:case 9:case 8:case 7:case 12:case 11:case 5:case 3:case 2:case 1:case 0:{D=-1;C=19;break}case 4:{n=0;C=14;break}case 6:{n=(aa&1)+1+(ga&1)+($&1)|0;C=14;break}case 31:case 30:case 29:case 28:case 27:case 26:case 25:case 24:case 15:{n=(aa&1)+($&1)|0;C=14;break}default:{}}a:do if((C|0)==14){n=n+ea|0;if((n|0)>-1){o=c[g+24>>2]|0;p=n+4|0;if((c[o+(p<<4)+8>>2]|0)==49)switch(c[o+(n<<4)+8>>2]|0){case 20:case 30:{D=n;C=19;break a}default:{}}if(VR(oa,p,g,h)|0)c[l>>2]=512;else{D=n;C=19}}else{D=n;C=19}}while(0);b:do if((C|0)==19){if(!((ma&67108864|0)==0&0==0)){o=h+12|0;n=c[o>>2]|0;if(n>>>0<(c[h+8>>2]|0)>>>0){c[o>>2]=n+1;a[n>>0]=-13}else Gv(h,-13)|0;c[oa>>2]=(c[oa>>2]|0)+1}n=ma&1536;ha=k+72|0;o=c[ha>>2]|0;p=(o&1024|0)!=0;r=(n|0)==1024&0==0;do if((!(r&p)?(u=(o&2048|0)!=0,!((n|0)==512&0==0&u)):0)?(w=(o&4096|0)!=0,!(r&w)):0){if((D|0)>=0)if(w){if(WR(g,D,k)|0){c[l>>2]=160;break b}n=c[g+24>>2]|0;o=D+2|0;p=c[n+(D<<4)+8>>2]|0;if((p|0?(x=p>>>3,x>>>0<(e[1103241]|0)>>>0):0)?d[(c[551618]|0)+x>>0]&1<<(p&7)|0:0){C=45;break}n=c[n+(o<<4)+8>>2]|0;if(!n)break;o=n>>>3;if(o>>>0>=(e[1103241]|0)>>>0)break;if(!(d[(c[551618]|0)+o>>0]&1<<(n&7)))break;else{C=45;break}}else{if(u)if(!(XR(g,D)|0))if(WR(g,D,k)|0){C=45;break}else break;else{c[l>>2]=160;break b}if(p?!(XR(g,D)|0):0)if(WR(g,D,k)|0)break;else{C=45;break}c[l>>2]=160;break b}}else C=45;while(0);if((C|0)==45){n=h+12|0;o=c[n>>2]|0;if(o>>>0<(c[h+8>>2]|0)>>>0){c[n>>2]=o+1;a[o>>0]=103}else Gv(h,103)|0;c[oa>>2]=(c[oa>>2]|0)+1}c:do if((S|0)==0&0==0){T=Y5(c[ha>>2]&1024|0,0,3)|0;T=U5(T|0,E|0,128,0)|0;if(!((c[g>>2]|0)==1646|((ma&384|0)!=(T|0)|0!=(E|0)))){n=h+12|0;o=c[n>>2]|0;if(o>>>0<(c[h+8>>2]|0)>>>0){c[n>>2]=o+1;a[o>>0]=102}else Gv(h,102)|0;c[oa>>2]=(c[oa>>2]|0)+1}if(!((ma&33554432|0)==0&0==0)){n=h+12|0;o=c[n>>2]|0;if(o>>>0<(c[h+8>>2]|0)>>>0){c[n>>2]=o+1;a[o>>0]=-16}else Gv(h,-16)|0;c[oa>>2]=(c[oa>>2]|0)+1}n=ma&14336;d:do if(n<<16>>16<6144){switch(n<<16>>16){case 4096:break;default:break d}n=h+12|0;o=c[n>>2]|0;if(o>>>0<(c[h+8>>2]|0)>>>0){c[n>>2]=o+1;a[o>>0]=102}else Gv(h,102)|0;c[oa>>2]=(c[oa>>2]|0)+1}else switch(n<<16>>16){case 6144:{n=h+12|0;o=c[n>>2]|0;if(o>>>0<(c[h+8>>2]|0)>>>0){c[n>>2]=o+1;a[o>>0]=-13}else Gv(h,-13)|0;c[oa>>2]=(c[oa>>2]|0)+1;break d}case 8192:{n=h+12|0;o=c[n>>2]|0;if(o>>>0<(c[h+8>>2]|0)>>>0){c[n>>2]=o+1;a[o>>0]=-14}else Gv(h,-14)|0;c[oa>>2]=(c[oa>>2]|0)+1;break d}default:break d}while(0);if(c[ha>>2]&4096|0){n=ma>>>14&8;v=c[g+24>>2]|0;u=(c[g+28>>2]|0)-v>>4
|
||
|
function Ob(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;return b|0}function Pb(){return i|0}function Qb(a){a=a|0;i=a}function Rb(a,b){a=a|0;b=b|0;i=a;j=b}function Sb(a,b){a=a|0;b=b|0;if(!p){p=a;q=b}}function Tb(a){a=a|0;E=a}function Ub(){return E|0}function Vb(b){b=b|0;c[b>>2]=2037760;b=b+4|0;a[b>>0]=a[b>>0]&-2;return}function Wb(a){a=a|0;return}function Xb(a){a=a|0;_3(a);return}function Yb(b,c,d){b=b|0;c=c|0;d=d|0;a[b+4>>0]=0;return}function Zb(a,b){a=a|0;b=b|0;return 2037832+(b<<4)|0}function _b(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+16|0;if(!d){h=1;i=j;return h|0}h=sb[c[(c[a>>2]|0)+48>>2]&31](a,b,e,f,g,h,j)|0;i=j;return h|0}function $b(a){a=a|0;return}function ac(a){a=a|0;return 0}function bc(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return}function cc(a){a=a|0;return 1}function dc(a,b){a=a|0;b=b|0;return}function ec(a,b){a=a|0;b=b|0;return 0}function fc(a,f,g,h){a=a|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;i=(c[a+32>>2]|0)+(c[(c[a>>2]|0)+(f*24|0)+8>>2]<<1)|0;j=b[i>>1]|0;if(!(j<<16>>16)){g=0;return g|0}m=e[h+14>>1]|0;l=h+4|0;k=i;i=(j&65535)+f|0;while(1){k=k+2|0;h=i&65535;j=h>>>3;if((j>>>0<m>>>0?(d[(c[l>>2]|0)+j>>0]|0)&1<<(i&7)|0:0)?(gc(a,h,g)|0)==(f|0):0){i=7;break}i=b[k>>1]|0;if(!(i<<16>>16)){h=0;i=7;break}else i=(i&65535)+h|0}if((i|0)==7)return h|0;return 0}function gc(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=c[a>>2]|0;g=(c[a+32>>2]|0)+(c[h+(d*24|0)+4>>2]<<1)|0;i=b[g>>1]|0;if(!(i<<16>>16)){k=0;return k|0}j=(c[a+48>>2]|0)+(c[h+(d*24|0)+12>>2]<<1)|0;h=(i&65535)+d|0;while(1){g=g+2|0;if((e[j>>1]|0|0)==(f|0))break;a=b[g>>1]|0;if(!(a<<16>>16)){g=0;k=6;break}else{j=j+2|0;h=(a&65535)+(h&65535)|0}}if((k|0)==6)return g|0;k=h&65535;return k|0}function hc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[(d?a+84|0:a+80|0)>>2]|0;a=c[(d?a+68|0:a+64|0)>>2]|0;d=e+(a<<3)|0;a=a<<3>>3;if(a)do{h=(a|0)/2|0;f=e+(h<<3)|0;g=(c[f>>2]|0)>>>0<b>>>0;a=g?a+-1-h|0:h;e=g?f+8|0:e}while((a|0)!=0);if((e|0)==(d|0)){h=-1;return h|0}if((c[e>>2]|0)!=(b|0)){h=-1;return h|0}h=c[e+4>>2]|0;return h|0}function ic(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=c[a>>2]|0;a=c[a+12>>2]|0;if(!a){c[d>>2]=0;d=0;return d|0}k=c[b>>2]|0;j=a+-1|0;e=k*37&j;a=l+(e<<3)|0;b=c[a>>2]|0;a:do if((k|0)!=(b|0)){h=1;i=0;while(1){if((b|0)==-1)break;e=h+e&j;f=l+(e<<3)|0;g=c[f>>2]|0;if((k|0)==(g|0)){a=f;break a}else{h=h+1|0;i=(i|0)!=0|(b|0)!=-2?i:a;b=g;a=f}}c[d>>2]=i|0?i:a;d=0;return d|0}while(0);c[d>>2]=a;d=1;return d|0}function jc(a){a=a|0;sp(a);_3(a);return}function kc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+32|0;h=j+24|0;g=j+16|0;e=j+8|0;f=j;if(!(a[b+207>>0]|0)){h=0;i=j;return h|0}c[e>>2]=3169896;c[e+4>>2]=15;c[f>>2]=3424554;c[f+4>>2]=0;c[g>>2]=c[e>>2];c[g+4>>2]=c[e+4>>2];c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];h=Hr(d,g,1,0,0,h,-1,0)|0;i=j;return h|0}function lc(b,c){b=b|0;c=c|0;a[b+204>>0]=c&1;return}function mc(b){b=b|0;zp(b);c[b>>2]=2038096;a[b+147>>0]=1;c[b+156>>2]=3189067;c[b+48>>2]=3331036;c[b+52>>2]=3331036;a[b+207>>0]=1;return}function nc(a){a=a|0;return}function oc(a){a=a|0;_3(a);return}function pc(a,b){a=a|0;b=b|0;c[a+4>>2]=b;return}function qc(b){b=b|0;c[b>>2]=2038140;a[b+8>>0]=0;return}function rc(a){a=a|0;c[a>>2]=2038160;j4(a+40|0);return}function sc(a){a=a|0;c[a>>2]=2038160;j4(a+40|0);_3(a);return}function tc(a,b){a=a|0;b=b|0;return}function uc(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=i;i=i+32|0;j=h+24|0;k=h+16|0;n=h;m=h+8|0;l=c[(c[a>>2]|0)+20>>2]|0;p=d;o=c[p+4>>2]|0;d=n;c[d>>2]=c[p>>2];c[d+4>>2]=o;c[m>>2]=Xh(e)|0;c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[j>>2]=c[m>>2];g=xb[l&63](a,b,k,j,f,g)|0;i=h;return g|0}function vc(a,b){a=a|0;b=b|0;return 0}function wc(a,b,c){a=a|0;b=b|0;c=c|0;return 512}function xc(a,b){a=a|0;b=b|0;return 1}function yc(a){a=a|0;return 1}function zc(b,c,d){b=b|0;c=c|0;d=d|0;a[d>>0]=1;return 1}function Ac(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Bc(a,b){a=a|0;b=b|0;return}function Cc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;qc(b);c[b>>2]=2038160;h=b+16|0;c[h>>2]=0;c[h+4>>2]=0;a[b+24>>0]=0;h=d;g=c[h+4>>2]|0;
|
||
|
function oV(b,e,f){b=b|0;e=e|0;f=f|0;var g=0.0,h=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0.0;M=i;i=i+512|0;I=M;switch(e|0){case 0:{J=-149;L=24;A=4;break}case 1:{J=-1074;L=53;A=4;break}case 2:{J=-1074;L=53;A=4;break}default:g=0.0}a:do if((A|0)==4){C=b+4|0;B=b+100|0;do{e=c[C>>2]|0;if(e>>>0<(c[B>>2]|0)>>>0){c[C>>2]=e+1;e=d[e>>0]|0}else e=iV(b)|0}while((jV(e)|0)!=0);b:do switch(e|0){case 43:case 45:{h=1-(((e|0)==45&1)<<1)|0;e=c[C>>2]|0;if(e>>>0<(c[B>>2]|0)>>>0){c[C>>2]=e+1;k=d[e>>0]|0;K=h;break b}else{k=iV(b)|0;K=h;break b}}default:{k=e;K=1}}while(0);e=0;do{if((k|32|0)!=(a[3373184+e>>0]|0))break;do if(e>>>0<7){h=c[C>>2]|0;if(h>>>0<(c[B>>2]|0)>>>0){c[C>>2]=h+1;k=d[h>>0]|0;break}else{k=iV(b)|0;break}}while(0);e=e+1|0}while(e>>>0<8);c:do switch(e|0){case 8:break;case 3:{A=23;break}default:{l=(f|0)!=0;if(l&e>>>0>3)if((e|0)==8)break c;else{A=23;break c}d:do if(!e){e=0;do{if((k|32|0)!=(a[3373193+e>>0]|0))break d;do if(e>>>0<2){h=c[C>>2]|0;if(h>>>0<(c[B>>2]|0)>>>0){c[C>>2]=h+1;k=d[h>>0]|0;break}else{k=iV(b)|0;break}}while(0);e=e+1|0}while(e>>>0<3)}while(0);switch(e|0){case 3:{e=c[C>>2]|0;if(e>>>0<(c[B>>2]|0)>>>0){c[C>>2]=e+1;e=d[e>>0]|0}else e=iV(b)|0;if((e|0)==40)e=1;else{if(!(c[B>>2]|0)){g=t;break a}c[C>>2]=(c[C>>2]|0)+-1;g=t;break a}while(1){h=c[C>>2]|0;if(h>>>0<(c[B>>2]|0)>>>0){c[C>>2]=h+1;h=d[h>>0]|0}else h=iV(b)|0;if(!((h+-48|0)>>>0<10|(h+-65|0)>>>0<26)?!((h|0)==95|(h+-97|0)>>>0<26):0)break;e=e+1|0}if((h|0)==41){g=t;break a}h=(c[B>>2]|0)==0;if(!h)c[C>>2]=(c[C>>2]|0)+-1;if(!l){c[(tU()|0)>>2]=22;gV(b,0);g=0.0;break a}if(!e){g=t;break a}while(1){e=e+-1|0;if(!h)c[C>>2]=(c[C>>2]|0)+-1;if(!e){g=t;break a}}}case 0:{do if((k|0)==48){e=c[C>>2]|0;if(e>>>0<(c[B>>2]|0)>>>0){c[C>>2]=e+1;e=d[e>>0]|0}else e=iV(b)|0;if((e|32|0)!=120){if(!(c[B>>2]|0)){e=48;break}c[C>>2]=(c[C>>2]|0)+-1;e=48;break}e=c[C>>2]|0;if(e>>>0<(c[B>>2]|0)>>>0){c[C>>2]=e+1;h=d[e>>0]|0;k=0}else{h=iV(b)|0;k=0}e:while(1){switch(h|0){case 46:{A=74;break e}case 48:break;default:{v=0;m=0;p=1.0;g=0.0;e=0;l=h;w=k;y=0;x=0;k=0;h=0;break e}}e=c[C>>2]|0;if(e>>>0<(c[B>>2]|0)>>>0){c[C>>2]=e+1;h=d[e>>0]|0;k=1;continue}else{h=iV(b)|0;k=1;continue}}if((A|0)==74){e=c[C>>2]|0;if(e>>>0<(c[B>>2]|0)>>>0){c[C>>2]=e+1;h=d[e>>0]|0}else h=iV(b)|0;if((h|0)==48){k=0;h=0;do{e=c[C>>2]|0;if(e>>>0<(c[B>>2]|0)>>>0){c[C>>2]=e+1;l=d[e>>0]|0}else l=iV(b)|0;k=U5(k|0,h|0,-1,-1)|0;h=E}while((l|0)==48);v=1;m=0;p=1.0;g=0.0;e=0;w=1;y=0;x=0}else{v=1;m=0;p=1.0;g=0.0;e=0;l=h;w=k;y=0;x=0;k=0;h=0}}while(1){o=l+-48|0;n=l|32;if(o>>>0>=10){r=(l|0)==46;if(!(r|(n+-97|0)>>>0<6)){n=l;break}if(r)if(!v){v=1;j=p;r=w;k=x;h=y;o=x;n=y}else{n=46;break}else A=86}else A=86;if((A|0)==86){A=0;l=(l|0)>57?n+-87|0:o;do if(!((y|0)<0|(y|0)==0&x>>>0<8)){if((y|0)<0|(y|0)==0&x>>>0<14){s=p*.0625;j=s;g=g+s*+(l|0);break}if((m|0)!=0|(l|0)==0)j=p;else{m=1;j=p;g=g+p*.5}}else{j=p;e=l+(e<<4)|0}while(0);o=U5(x|0,y|0,1,0)|0;r=1;n=E}l=c[C>>2]|0;if(l>>>0<(c[B>>2]|0)>>>0){c[C>>2]=l+1;p=j;l=d[l>>0]|0;w=r;y=n;x=o;continue}else{p=j;l=iV(b)|0;w=r;y=n;x=o;continue}}if(!w){e=(c[B>>2]|0)==0;if(!e)c[C>>2]=(c[C>>2]|0)+-1;if(f){if(!e?(z=c[C>>2]|0,c[C>>2]=z+-1,v|0):0)c[C>>2]=z+-2}else gV(b,0);g=+(K|0)*0.0;break a}m=(v|0)==0;o=m?x:k;m=m?y:h;if((y|0)<0|(y|0)==0&x>>>0<8){k=x;h=y;do{e=e<<4;k=U5(k|0,h|0,1,0)|0;h=E}while((h|0)<0|(h|0)==0&k>>>0<8);l=e}else l=e;if((n|32|0)==112){h=pV(b,f)|0;e=E;if((h|0)==0&(e|0)==-2147483648){if(!f){gV(b,0);g=0.0;break a}if(!(c[B>>2]|0)){h=0;e=0}else{c[C>>2]=(c[C>>2]|0)+-1;h=0;e=0}}}else if(!(c[B>>2]|0)){h=0;e=0}else{c[C>>2]=(c[C>>2]|0)+-1;h=0;e=0}k=b6(o|0,m|0,2)|0;k=U5(k|0,E|0,-32,-1)|0;k=U5(k|0,E|0,h|0,e|0)|0;e=E;if(!l){g=+(K|0)*0.0;break a}if((e|0)>0|(e|0)==0&k>>>0>(0-J|0)>>>0){c[(tU()|0)>>2]=34;g=+(K|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break a}I=J+-106|0;H=((I|0)<0)<<31>>31;if((e|0)<(H|0)|(e|0)==(H|0)&k>>>0<I>>>0){c[(tU()|0)>>2]=34;g=+(K|0)*2.2250738585072014e-308*2.2250738585072014e-308;break a}if((l|0)>-1){h=l;do{H=!(g>=.5);I=H&1|h<<1;h=I^1;g=g+(H?g:g+-1.0);k=U5(k|0,e|0,-1,-1)|0;e=E}while((I|0)>-1);p=g;l=h}else p=g;J=T5(32,0,J|0
|
||
|
function CA(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+64|0;u=x+48|0;h=x+40|0;j=x+24|0;k=x;l=c[d>>2]|0;v=160248+(l<<3)|0;w=c[v>>2]|0;v=c[v+4>>2]|0;a:do if((l|0)<1437){b:do if((l|0)<729)do switch(l|0){case 728:case 727:case 722:case 721:case 720:case 712:case 711:case 710:case 705:case 704:case 703:case 684:case 681:case 680:case 677:case 676:case 675:case 674:case 673:case 669:case 668:case 667:case 666:case 665:case 664:case 663:case 662:case 661:case 660:case 659:case 652:case 651:case 650:case 649:case 648:case 647:case 639:case 636:case 635:case 632:case 631:case 630:case 629:case 628:case 624:case 623:case 622:case 621:case 620:case 619:case 618:case 617:case 616:case 615:case 614:case 607:case 606:case 605:case 604:case 603:case 602:case 594:case 593:case 592:case 591:case 590:case 589:case 588:case 587:case 586:case 585:case 584:case 583:case 582:case 581:case 580:case 579:case 578:case 577:case 576:case 575:case 574:case 573:case 572:case 571:case 570:case 569:case 568:case 567:case 566:case 565:case 564:case 563:case 560:case 559:case 558:case 557:case 556:case 555:case 554:case 553:case 552:case 551:case 550:case 549:case 548:case 547:case 546:case 545:case 544:case 543:case 542:case 541:case 540:case 539:case 538:case 537:case 536:case 535:case 534:case 533:case 532:case 531:case 530:case 529:case 528:case 527:case 526:case 525:case 524:case 523:case 522:case 521:case 520:case 519:case 518:case 517:case 516:case 515:case 514:case 513:case 512:case 511:case 510:case 509:case 508:case 507:case 506:case 505:case 504:case 503:case 502:case 501:case 500:case 499:case 498:case 497:case 496:case 495:case 494:case 493:case 492:case 491:case 490:case 489:case 488:case 487:case 486:case 485:case 484:case 483:case 482:case 481:case 480:case 479:case 478:case 477:case 476:case 475:case 474:case 473:case 472:case 471:case 470:case 469:case 468:case 467:case 451:case 450:case 449:case 448:case 447:case 446:case 445:case 444:case 443:case 442:case 441:case 440:case 439:case 438:case 437:case 436:case 435:case 433:case 432:case 429:case 428:case 425:case 424:case 423:case 419:case 417:case 416:case 413:case 412:case 409:case 408:case 407:case 403:case 401:case 400:case 397:case 396:case 393:case 392:case 391:case 372:case 371:case 370:case 349:case 348:case 347:case 346:case 345:case 344:case 343:case 342:case 314:case 312:case 310:case 308:case 306:case 304:case 302:case 275:case 274:case 265:case 264:case 263:case 262:case 261:case 260:case 259:case 258:case 257:case 256:case 255:case 254:case 253:case 252:case 251:case 250:case 233:case 231:case 229:case 227:case 225:case 223:case 221:case 219:case 217:case 215:case 213:case 211:case 209:case 207:case 205:case 203:case 201:case 199:case 197:case 195:case 193:case 191:case 189:case 187:case 185:case 184:case 183:case 182:case 181:case 180:case 179:case 178:case 177:case 176:case 175:case 174:case 173:case 172:case 171:case 170:case 88:case 87:case 63:case 62:case 61:case 60:case 59:case 45:case 31:case 30:case 29:case 28:case 27:case 26:case 25:case 24:{g=6;break a}case 726:case 725:case 724:case 723:case 719:case 718:case 717:case 716:case 715:case 714:case 713:case 709:case 708:case 707:case 706:case 702:case 701:case 700:case 699:case 698:case 697:case 693:case 692:case 691:case 690:case 689:case 688:case 687:case 686:case 434:case 431:case 430:case 427:case 426:case 422:case 421:case 420:case 418:case 415:case 414:case 411:case 410:case 406:case 405:case 404:case 402:case 399:case 398:case 395:case 394:case 390:case 389:case 388:case 381:case 380:case 379:case 378:case 377:case 376:case 375:case 374:case 373:case 369:case 368:case 367:case 366:case 365:case 364:case 363:case 362:case 361:case 360:case 359:case 358:case 357:case 356:case 355:case 354:case 353:case 352:case 351:case 350:case 341:case 340:case 339:case 338:case 337:case 336:case 335:case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h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((a|0)==(b|0))return a|0;l=c[b>>2]|0;f=b+12|0;d=l;if((l|0)!=(f|0)){e=c[a>>2]|0;if((e|0)!=(a+12|0)){zW(e);d=c[b>>2]|0}c[a>>2]=d;o=b+4|0;c[a+4>>2]=c[o>>2];n=b+8|0;c[a+8>>2]=c[n>>2];c[n>>2]=f;c[o>>2]=f;c[b>>2]=f;return a|0}n=b+4|0;f=c[n>>2]|0;g=f-d|0;m=(g|0)/12|0;o=a+4|0;k=c[a>>2]|0;h=(c[o>>2]|0)-k|0;i=(h|0)/12|0;e=k;j=k;if(i>>>0>=m>>>0){if(g){f=f-l|0;if(f){c6(k|0,l|0,f|0)|0;d=c[b>>2]|0}e=e+(((f|0)/12|0)*12|0)|0}c[o>>2]=e;c[n>>2]=d;return a|0}if((((c[a+8>>2]|0)-k|0)/12|0)>>>0>=m>>>0)if(!h)e=0;else{c6(j|0,l|0,h|0)|0;e=i}else{c[o>>2]=k;Gx(a,a+12|0,g,12);e=0}d=c[b>>2]|0;f=d+(e*12|0)|0;g=c[n>>2]|0;if((f|0)!=(g|0)){$5((c[a>>2]|0)+(e*12|0)|0,f|0,g-f|0)|0;d=c[b>>2]|0}c[o>>2]=(c[a>>2]|0)+(m*12|0);c[n>>2]=d;return a|0}function PF(a,b){a=a|0;b=b|0;var d=0;d=a+12|0;c[a>>2]=d;c[a+4>>2]=d;c[a+8>>2]=a+108;if((c[b>>2]|0)==(c[b+4>>2]|0))return;RF(a,b)|0;return}function QF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+192|0;o=s+16|0;p=s;r=o+8|0;c[r>>2]=0;c[r+4>>2]=0;c[o+16>>2]=0;r=o+40|0;l=o+24|0;c[l>>2]=r;c[o+28>>2]=r;c[o+32>>2]=o+168;c[o>>2]=68;m=d+24|0;n=d+28|0;b=b+16|0;e=o+24|0;f=p+8|0;g=d+24|0;while(1){k=c[m>>2]|0;j=c[k+8>>2]|0;if(!((j&1|0)==0&0==0)){if((c[d>>2]|0)==14?(((c[n>>2]|0)-k>>4)+-1|0)>>>0>=2:0)q=5}else q=5;if((q|0)==5){q=0;if((j&2|0)==0&0==0)break;if((c[d>>2]|0)==14?(((c[n>>2]|0)-k>>4)+-1|0)>>>0>=3:0)break}k=vo(b,168,8)|0;c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];c[k+12>>2]=c[o+12>>2];c[k+16>>2]=c[o+16>>2];Wi(k+24|0,e);h[f>>3]=0.0;a[p>>0]=5;c[f>>2]=k;FB(g,p)}b=c[l>>2]|0;if((b|0)==(r|0)){i=s;return}zW(b);i=s;return}function RF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if((a|0)==(b|0))return a|0;k=b+4|0;h=c[b>>2]|0;j=(c[k>>2]|0)-h|0;l=(j|0)/12|0;m=a+4|0;e=c[a>>2]|0;g=(c[m>>2]|0)-e|0;f=(g|0)/12|0;d=e;i=e;if(f>>>0>=l>>>0){if(j){c6(e|0,h|0,j|0)|0;d=d+(l*12|0)|0}c[m>>2]=d;return a|0}if((((c[a+8>>2]|0)-e|0)/12|0)>>>0>=l>>>0)if(!g)f=0;else c6(i|0,h|0,g|0)|0;else{c[m>>2]=e;Gx(a,a+12|0,j,12);f=0}e=(c[b>>2]|0)+(f*12|0)|0;d=c[k>>2]|0;if((e|0)!=(d|0))$5((c[a>>2]|0)+(f*12|0)|0,e|0,d-e|0)|0;c[m>>2]=(c[a>>2]|0)+(l*12|0);return a|0}function SF(a,b){a=a|0;b=b|0;return c[(c[a>>2]|0)+((c[b>>2]|0)*56|0)+16+4>>2]&3|0}function TF(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;e=d;f=b+8|0;c[f>>2]=0;c[f+4>>2]=0;c[b+16>>2]=0;f=b+40|0;c[b+24>>2]=f;c[b+28>>2]=f;c[b+32>>2]=b+168;c[b>>2]=14;a[e>>0]=2;f=e+8|0;c[f>>2]=0;c[f+4>>2]=0;FB(b+24|0,e);i=d;return}function UF(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,j=0,k=0,l=0,m=0;g=i;i=i+16|0;j=g;l=b+16|0;b=vo(l,168,8)|0;m=b+8|0;c[m>>2]=0;c[m+4>>2]=0;c[b+16>>2]=0;m=b+40|0;k=b+24|0;c[k>>2]=m;c[b+28>>2]=m;c[b+32>>2]=b+168;c[b>>2]=d+375;d=vo(l,168,8)|0;CJ(d,e);e=vo(l,168,8)|0;CJ(e,f);f=j+8|0;h[f>>3]=0.0;a[j>>0]=5;c[f>>2]=d;FB(k,j);f=j+8|0;h[f>>3]=0.0;a[j>>0]=5;c[f>>2]=e;FB(k,j);i=g;return b|0}function VF(a,b){a=a|0;b=b|0;return (c[a>>2]|0)+((c[b>>2]|0)*56|0)|0}function WF(a,b){a=a|0;b=b|0;return c[(c[a>>2]|0)+((c[b>>2]|0)*56|0)+16>>2]&31|0}function XF(a){a=a|0;return ((c[a>>2]|0)+-239|0)>>>0<4|0}function YF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(ZF(b,d)|0|e))return;IF(a,b,c,d);return}function ZF(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;j=k;f=c[b>>2]|0;g=c[a>>2]|0;e=g+(f*56|0)+16|0;h=c[e>>2]|0;e=c[e+4>>2]|0;if(!((h&4194304|0)==0&0==0)){j=1;i=k;return j|0}switch(h&31){case 12:{d=3;break}case 4:{j=0;i=k;return j|0}default:{}}if((d|0)==3?!(0==0?(c[g+(f*56|0)+8>>2]&128|0)==0:0):0){j=0;i=k;return j|0}d=h&31;if((d|0)==10&0==0){if((0?1:(c[g+(f*56|0)+8>>2]&128|0)!=0)|(h&2097152|0)==0&0==0){j=0;i=k;return j|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((xc|0)==10?(xc=0,g>>>0<C>>>0):0)break;g=g>>>0<C>>>0?g:C;if((g|0)!=0?(x=OV(B,t+1|0,g)|0,(x|0)!=0):0){if(x>>31>>>0<=4294967293){xc=18;break b}}else xc=15;if((xc|0)==15?(xc=0,!u):0){xc=18;break b}if((q+1|0)>>>0<3){p=r;g=r;break b}else{z=y;q=v}}r=y+14|0;q=q+-1-v|0;if(!q){p=r;g=r;break}else g=z}if((xc|0)==18){g=y-r|0;c:do if(g){g=(g|0)/14|0;do{while(1){u=(g|0)/2|0;q=p+(u*14|0)|0;r=3294974+(e[q>>1]|0)|0;s=a[r>>0]|0;t=C>>>0<s>>>0?C:s;if((t|0)!=0?(A=OV(r+1|0,B,t)|0,(A|0)!=0):0){if(A>>31>>>0>4294967293)break}else xc=23;if((xc|0)==23?(xc=0,s>>>0<C>>>0):0)break;if((g+1|0)>>>0<3)break c;else g=u}p=q+14|0;g=g+-1-u|0}while((g|0)!=0)}while(0);g=y+14|0;q=z-g|0;d:do if(q){q=(q|0)/14|0;do{while(1){v=(q|0)/2|0;r=g+(v*14|0)|0;s=3294974+(e[r>>1]|0)|0;t=a[s>>0]|0;u=t>>>0<C>>>0?t:C;if((u|0)!=0?(D=OV(B,s+1|0,u)|0,(D|0)!=0):0){if(D>>31>>>0<=4294967293)break}else xc=32;if((xc|0)==32?(xc=0,C>>>0>=t>>>0):0)break;if((q+1|0)>>>0<3)break d;else q=v}g=r+14|0;q=q+-1-v|0}while((q|0)!=0)}while(0)}e:do if((p|0)!=(g|0)){gc=tc+24|0;C=sc+8|0;D=tc+24|0;hc=tc+24|0;F=sc+8|0;G=sc+8|0;H=sc+8|0;I=sc+8|0;J=sc+8|0;K=sc+8|0;L=sc+8|0;M=sc+8|0;N=sc+8|0;O=sc+8|0;P=sc+8|0;Q=sc+8|0;R=sc+8|0;S=sc+8|0;T=sc+8|0;U=sc+8|0;V=sc+8|0;X=sc+8|0;Y=sc+8|0;Z=sc+8|0;_=sc+8|0;$=sc+8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+24|0;c[fd>>2]=gd;mc=Vc+28|0;c[mc>>2]=gd;c[Vc+32>>2]=Vc+168;pc=ed+16|0;c[ed>>2]=pc;Zc=ed+4|0;c[Zc>>2]=pc;c[ed+8>>2]=ed+1360;pc=k+4|0;s=c[pc>>2]|0;t=c[k>>2]|0;a:do if(s-t>>2>>>0>9){q=m;c[q>>2]=9;c[q+4>>2]=0;q=0;r=9;j=c[g>>2]|0;$c=1084}else{Ha=f+16|0;Ga=c[Ha>>2]|0;Ha=c[Ha+4>>2]|0;D=c[t>>2]|0;C=c[D+28>>2]|0;D=c[D+32>>2]|0;j=m;c[j>>2]=-1;c[j+4>>2]=-1;j=953280;r=2074;s=903504;b:while(1){q=s;A=j;while(1){w=(r|0)/2|0;z=q+(w*24|0)|0;u=3269828+(e[z>>1]|0)|0;j=a[u>>0]|0;v=D>>>0<j>>>0;t=v?D:j;if((t|0)!=0?(x=OV(u+1|0,C,t)|0,(x|0)!=0):0){if(x>>31>>>0>4294967293)break}else $c=7;if(($c|0)==7?($c=0,j>>>0<D>>>0):0)break;j=j>>>0<D>>>0?j:D;if((j|0)!=0?(y=OV(C,u+1|0,j)|0,(y|0)!=0):0){if(y>>31>>>0<=4294967293){$c=15;break b}}else $c=12;if(($c|0)==12?($c=0,!v):0){$c=15;break b}if((r+1|0)>>>0<3){q=s;j=s;break b}else{A=z;r=w}}s=z+24|0;r=r+-1-w|0;if(!r){q=s;j=s;break}else j=A}if(($c|0)==15){j=z-s|0;c:do if(j){j=(j|0)/24|0;do{while(1){v=(j|0)/2|0;r=q+(v*24|0)|0;s=3269828+(e[r>>1]|0)|0;t=a[s>>0]|0;u=D>>>0<t>>>0?D:t;if((u|0)!=0?(B=OV(s+1|0,C,u)|0,(B|0)!=0):0){if(B>>31>>>0>4294967293)break}else $c=20;if(($c|0)==20?($c=0,t>>>0<D>>>0):0)break;if((j+1|0)>>>0<3)break c;else j=v}q=r+24|0;j=j+-1-v|0}while((j|0)!=0)}while(0);j=z+24|0;r=A-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[p>>2]|0;c[m>>2]=3178437;c[m+4>>2]=6;c[n>>2]=3178444;c[n+4>>2]=10;c[o>>2]=2;c[q>>2]=c[m>>2];c[q+4>>2]=c[m+4>>2];c[r>>2]=c[n>>2];c[r+4>>2]=c[n+4>>2];c[s>>2]=c[o>>2];c[b+196>>2]=zr(h,q,r,1744830475,0,s,0)|0;h=d+24|0;e=c[h>>2]|0;l=e+-2|0;if((l>>>0<26?50331785>>>(l&67108863)&1|0:0)?(c[d+12>>2]|0)==3:0)a[b+2>>0]=1;j=d+16|0;if((c[j>>2]|0)==10)a[b+3>>0]=1;c[b+4>>2]=155;c[b+12>>2]=16;c[b+8>>2]=16;c[b+16>>2]=155;switch(e|0){case 2:case 9:{if(wl(d,10,5,0)|0)a[b>>0]=0;break}default:{}}g=c[p>>2]|0;c[m>>2]=3178437;c[m+4>>2]=6;c[n>>2]=3178455;c[n+4>>2]=6;c[o>>2]=1;c[q>>2]=c[m>>2];c[q+4>>2]=c[m+4>>2];c[r>>2]=c[n>>2];c[r+4>>2]=c[n+4>>2];c[s>>2]=c[o>>2];e=b+24|0;c[e>>2]=zr(g,q,r,-2147483648,0,s,0)|0;g=c[p>>2]|0;c[m>>2]=3182198;c[m+4>>2]=6;c[n>>2]=3178462;c[n+4>>2]=6;c[o>>2]=15;c[q>>2]=c[m>>2];c[q+4>>2]=c[m+4>>2];c[r>>2]=c[n>>2];c[r+4>>2]=c[n+4>>2];c[s>>2]=c[o>>2];f=b+28|0;c[f>>2]=zr(g,q,r,0,0,s,0)|0;c[b+32>>2]=0;g=c[p>>2]|0;c[m>>2]=3182198;c[m+4>>2]=6;c[n>>2]=3178469;c[n+4>>2]=13;c[o>>2]=15;c[q>>2]=c[m>>2];c[q+4>>2]=c[m+4>>2];c[r>>2]=c[n>>2];c[r+4>>2]=c[n+4>>2];c[s>>2]=c[o>>2];c[b+180>>2]=zr(g,q,r,17,0,s,0)|0;g=c[p>>2]|0;c[m>>2]=3182198;c[m+4>>2]=6;c[n>>2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n>>2]=3178613;c[n+4>>2]=13;c[o>>2]=15;c[q>>2]=c[m>>2];c[q+4>>2]=c[m+4>>2];c[r>>2]=c[n>>2];c[r+4>>2]=c[n+4>>2];c[s>>2]=c[o>>2];c[b+244>>2]=zr(g,q,r,11,0,s,0)|0}else{c[b+232>>2]=c[e>>2];c[b+236>>2]=g;c[b+244>>2]=c[f>>2]}e=c[p>>2]|0;c[m>>2]=3182198;c[m+4>>2]=6;c[n>>2]=3178578;c[n+4>>2]=7;c[o>>2]=16;c[q>>2]=c[m>>2];c[q+4>>2]=c[m+4>>2];c[r>>2]=c[n>>2];c[r+4>>2]=c[n+4>>2];c[s>>2]=c[o>>2];c[b+240>>2]=zr(e,q,r,0,0,s,0)|0;e=c[p>>2]|0;c[m>>2]=3182198;c[m+4>>2]=6;c[n>>2]=3178627;c[n+4>>2]=8;c[o>>2]=11;c[q>>2]=c[m>>2];c[q+4>>2]
|
||
|
function WJ(b){b=b|0;a:do switch(c[b+4>>2]|0){case 1:do switch(a[c[b>>2]>>0]|0){case 35:{b=2;return b|0}case 38:{b=3;return b|0}case 40:{b=4;return b|0}case 41:{b=5;return b|0}case 42:{b=6;return b|0}case 43:{b=7;return b|0}case 45:{b=8;return b|0}case 46:{b=10;return b|0}case 48:{b=11;return b|0}case 49:{b=12;return b|0}case 58:{b=14;return b|0}case 59:{b=15;return b|0}case 60:{b=16;return b|0}case 61:{b=17;return b|0}case 62:{b=18;return b|0}case 73:{b=22;return b|0}case 94:{b=24;return b|0}case 98:{b=37;return b|0}case 104:{b=107;return b|0}case 108:{b=118;return b|0}case 116:{b=209;return b|0}case 119:{b=397;return b|0}case 124:{b=401;return b|0}case 126:{b=402;return b|0}case 33:{b=1;return b|0}default:break a}while(0);case 2:{b=c[b>>2]|0;do switch(a[b>>0]|0){case 45:{if((a[b+1>>0]|0)==49)b=9;else break a;return b|0}case 49:{if((a[b+1>>0]|0)==54)b=13;else break a;return b|0}case 72:{if((a[b+1>>0]|0)==73)b=21;else break a;return b|0}case 76:{if((a[b+1>>0]|0)==79)b=23;else break a;return b|0}case 101:{if((a[b+1>>0]|0)==113)b=99;else break a;return b|0}case 103:{b=a[b+1>>0]|0;b=b<<24>>24==101?103:b<<24>>24==116?105:0;return b|0}case 104:{if((a[b+1>>0]|0)==105)b=108;else break a;return b|0}case 105:{if((a[b+1>>0]|0)==102)b=112;else break a;return b|0}case 108:{b=a[b+1>>0]|0;b=b<<24>>24==111?127:b<<24>>24==116?133:0;return b|0}case 110:{if((a[b+1>>0]|0)==116)b=164;else break a;return b|0}case 111:{if((a[b+1>>0]|0)==114)b=165;else break a;return b|0}case 117:switch(a[b+1>>0]|0){case 104:{b=220;return b|0}case 111:{b=221;return b|0}case 119:{b=222;return b|0}case 98:{b=219;return b|0}default:break a}default:break a}while(0)}case 3:{b=c[b>>2]|0;do switch(a[b>>0]|0){case 97:switch(a[b+1>>0]|0){case 98:{if((a[b+2>>0]|0)==115)b=25;else break a;return b|0}case 100:{if((a[b+2>>0]|0)==100)b=26;else break a;return b|0}case 110:{if((a[b+2>>0]|0)==100)b=30;else break a;return b|0}case 115:{b=a[b+2>>0]|0;b=b<<24>>24==108?32:b<<24>>24==114?34:0;return b|0}default:break a}case 99:switch(a[b+1>>0]|0){case 108:switch(a[b+2>>0]|0){case 49:{b=50;return b|0}case 98:{b=51;return b|0}case 48:{b=49;return b|0}default:break a}case 109:{if((a[b+2>>0]|0)==112)b=53;else break a;return b|0}case 116:{b=a[b+2>>0]|0;b=b<<24>>24==48?82:b<<24>>24==49?83:0;return b|0}case 117:{if((a[b+2>>0]|0)==114)b=84;else break a;return b|0}default:break a}case 103:switch(a[b+1>>0]|0){case 101:{if((a[b+2>>0]|0)==117)b=104;else break a;return b|0}case 116:{if((a[b+2>>0]|0)==117)b=106;else break a;return b|0}default:break a}case 108:switch(a[b+1>>0]|0){case 102:{if((a[b+2>>0]|0)==115)b=125;else break a;return b|0}case 105:{if((a[b+2>>0]|0)==98)b=126;else break a;return b|0}case 115:{b=a[b+2>>0]|0;b=b<<24>>24==108?131:b<<24>>24==114?132:0;return b|0}case 116:{if((a[b+2>>0]|0)==117)b=134;else break a;return b|0}default:break a}case 109:switch(a[b+1>>0]|0){case 97:{if((a[b+2>>0]|0)==120)b=136;else break a;return b|0}case 105:{if((a[b+2>>0]|0)==110)b=150;else break a;return b|0}case 112:{if((a[b+2>>0]|0)==121)b=153;else break a;return b|0}case 117:{if((a[b+2>>0]|0)==120)b=158;else break a;return b|0}default:break a}case 110:switch(a[b+1>>0]|0){case 101:{b=a[b+2>>0]|0;b=b<<24>>24==103?159:b<<24>>24==119?160:0;return b|0}case 111:{b=a[b+2>>0]|0;b=b<<24>>24==112?161:b<<24>>24==116?163:0;return b|0}default:break a}case 112:{if(!(OV(b+1|0,3255389,2)|0))b=170;else break a;return b|0}case 114:switch(a[b+1>>0]|0){case 97:{if((a[b+2>>0]|0)==119)b=171;else break a;return b|0}case 110:{if((a[b+2>>0]|0)==100)b=172;else break a;return b|0}case 111:{if((a[b+2>>0]|0)==108)b=173;else break a;return b|0}default:break a}case 115:switch(a[b+1>>0]|0){case 97:{if((a[b+2>>0]|0)==116)b=175;else break a;return b|0}case 117:{if((a[b+2>>0]|0)==98)b=203;else break a;return b|0}default:break a}case 116:{if(!(OV(b+1|0,3255392,2)|0))b=215;else break a;return b|0}case 118:{if(!(OV(b+1|0,3255395,2)|0))b=323;else break a;return b|0}case 120:{if(!(OV(b+1|0,3255395,2)|0))b=398;else break a;return b|0}default:break a}while(0)}case 4:{b=c[b>>2]|0;do switch(a[b>>0]|0){case 97:switch(a[b+1>>0]|0){case 108:{if(!
|
||
|
function Bv(a){a=a|0;E=0;return 0}function Cv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return}function Dv(a){a=a|0;return}function Ev(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=a+16|0;g=a+4|0;if((c[f>>2]|0)==1?(h=c[g>>2]|0,h|0):0)a4(h);c[g>>2]=b;c[a+8>>2]=b+d;c[a+12>>2]=b;c[f>>2]=e;return}function Fv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+32|0;if(d|0){f=g+20|0;e=f;while(1){e=e+-1|0;a[e>>0]=(d>>>0)%10|0|48;if(d>>>0<10)break;else d=(d>>>0)/10|0}b=mv(b,e,f-e|0)|0;i=g;return b|0}d=b+12|0;e=c[d>>2]|0;if(e>>>0<(c[b+8>>2]|0)>>>0){c[d>>2]=e+1;a[e>>0]=48;i=g;return b|0}else{b=Gv(b,48)|0;i=g;return b|0}return 0}function Gv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;f=j;a[f>>0]=d;h=b+12|0;e=c[h>>2]|0;g=e;do if(e>>>0>=(c[b+8>>2]|0)>>>0){e=c[b+4>>2]|0;if(e|0){c[h>>2]=e;Ib[c[(c[b>>2]|0)+28>>2]&127](b,e,g-e|0);e=c[h>>2]|0;break}if(!(c[b+16>>2]|0)){Ib[c[(c[b>>2]|0)+28>>2]&127](b,f,1);h=b;i=j;return h|0}else{nv(b);h=Gv(b,d)|0;i=j;return h|0}}while(0);c[h>>2]=e+1;a[e>>0]=d;h=b;i=j;return h|0}function Hv(b,d){b=b|0;d=d|0;var e=0,f=0;if((d|0)>=0){f=d;f=Fv(b,f)|0;return f|0}e=b+12|0;f=c[e>>2]|0;if(f>>>0<(c[b+8>>2]|0)>>>0){c[e>>2]=f+1;a[f>>0]=45}else Gv(b,45)|0;f=0-d|0;f=Fv(b,f)|0;return f|0}function Iv(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+32|0;if((c|0)==(c|0)&0==(d|0)){f=Fv(b,c)|0;i=g;return f|0}f=g+20|0;if((c|0)==0&(d|0)==0)e=f;else{e=f;while(1){h=f6(c|0,d|0,10,0)|0;e=e+-1|0;a[e>>0]=h|48;h=c;c=m6(c|0,d|0,10,0)|0;if(d>>>0<0|(d|0)==0&h>>>0<10)break;else d=E}}h=mv(b,e,f-e|0)|0;i=g;return h|0}function Jv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if((e|0)>=0){f=d;g=e;g=Iv(b,f,g)|0;return g|0}f=b+12|0;g=c[f>>2]|0;if(g>>>0<(c[b+8>>2]|0)>>>0){c[f>>2]=g+1;a[g>>0]=45}else Gv(b,45)|0;f=T5(0,0,d|0,e|0)|0;g=E;g=Iv(b,f,g)|0;return g|0}function Kv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;h=i;i=i+16|0;if(!((d|0)==0&(e|0)==0)){g=h+16|0;f=g;do{j=d&15;f=f+-1|0;a[f>>0]=j>>>0<10?j|48:j+87|0;d=Y5(d|0,e|0,4)|0;e=E}while(!((d|0)==0&(e|0)==0));j=mv(b,f,g-f|0)|0;i=h;return j|0}d=b+12|0;e=c[d>>2]|0;if(e>>>0<(c[b+8>>2]|0)>>>0){c[d>>2]=e+1;a[e>>0]=48;j=b;i=h;return j|0}else{j=Gv(b,48)|0;i=h;return j|0}return 0}function Lv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=b+12|0;f=c[e>>2]|0;if(f>>>0<(c[b+8>>2]|0)>>>0){c[e>>2]=f+1;a[f>>0]=48;e=b}else e=Gv(b,48)|0;g=e+12|0;f=c[g>>2]|0;if(f>>>0<(c[e+8>>2]|0)>>>0){c[g>>2]=f+1;a[f>>0]=120;d=Kv(b,d,0)|0;return d|0}else{Gv(e,120)|0;d=Kv(b,d,0)|0;return d|0}return 0}function Mv(a,b){a=a|0;b=+b;var d=0,e=0;d=i;i=i+16|0;e=d;c[e+4>>2]=3184112;c[e>>2]=2040928;h[e+8>>3]=b;a=Nv(a,e)|0;i=d;return a|0}function Nv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;h=i;i=i+144|0;g=h;e=a+12|0;d=c[e>>2]|0;f=(c[a+8>>2]|0)-d|0;if(f>>>0>3){d=Ab[c[(c[b>>2]|0)+4>>2]&255](b,d,f)|0;d=(d|0)<0?f<<1:(d>>>0>=f>>>0&1)+d|0;if(d>>>0<=f>>>0){c[e>>2]=(c[e>>2]|0)+d;g=a;i=h;return g|0}}else d=127;f=g+12|0;c[g>>2]=f;c[g+4>>2]=f;c[g+8>>2]=g+140;do{Yq(g,d);j=Ab[c[(c[b>>2]|0)+4>>2]&255](b,c[g>>2]|0,d)|0;e=d;d=(j|0)<0?d<<1:(j>>>0>=d>>>0&1)+j|0}while(d>>>0>e>>>0);e=mv(a,c[g>>2]|0,d)|0;d=c[g>>2]|0;if((d|0)!=(f|0))zW(d);j=e;i=h;return j|0}function Ov(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+16|0;f=e;g=c[a+4>>2]|0;h[f>>3]=+h[a+8>>3];d=QU(b,d,g,f)|0;i=e;return d|0}function Pv(a){a=a|0;var b=0,d=0,e=0;e=a+12|0;d=c[a+4>>2]|0;b=(c[e>>2]|0)-d|0;c[e>>2]=d;Ib[c[(c[a>>2]|0)+28>>2]&127](a,d,b);return}function Qv(a,b){a=a|0;b=b|0;var c=0;if(b>>>0<81){b=mv(a,3184143,b)|0;return b|0}else{do{c=b>>>0>80?80:b;mv(a,3184143,c)|0;b=b-c|0}while((b|0)!=0);return a|0}return 0}function Rv(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;o=p;l=e+20|0;m=b[l>>1]|0;l=c[l>>2]|0;n=l>>>16&255;if((l&255)<<24>>24){f=e;g=c[f>>2]|0;f=c[f+4>>2]|0;l=(g|0)==0&(f|0)==0;h=i6(g|0,f|0,0)|0;h=(n<<24>>24?2:0)+((67-(l?64:h)|0)>>>2)|0;e=c[e+16>>2]|0;e=e>>>0<h>>>0?h:e;h=o;j=3184224;k=h+20|0;do{a[h>>0]=a[j>>0]|0;h=h+1|0;j=j+1|0}while((h|0)<(k|0));if(!(n<<24>>24))a[o+1>>0]=48;if(!l){j=(m&65535)>255?55:87;h=o+e|0;do{n=g&15;h=h+-1|0;a[h>>0]=n>>>0<10?n|48:j+n|0;g=Y5(g|0,f|0,4)|0;f=E}while(!((g|0)==0&(f|0)==0))}d=mv(d,o,e)|0;i=p;return d|0}m=e+8|0;l=c[m>>2]|0;m=c[m+4>
|
||
|
function KD(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+64|0;o=u+48|0;j=u+40|0;k=u+24|0;l=u;h=c[d>>2]|0;t=351664+(h<<3)|0;r=c[t>>2]|0;t=c[t+4>>2]|0;a:do if((h|0)>=1552){b:do if((h|0)<2241)do switch(h|0){case 1954:case 1951:case 1948:case 1945:{s=3;break a}case 1863:case 1858:case 1856:case 1851:case 1849:case 1844:case 1842:case 1837:{s=96;break a}case 1956:case 1955:case 1953:case 1952:case 1950:case 1949:case 1947:case 1946:{s=97;break a}case 1580:case 1578:{s=559;break a}case 1581:case 1579:case 1552:{s=565;break a}case 1962:case 1961:case 1960:case 1921:case 1920:case 1919:case 1918:case 1917:case 1916:case 1823:case 1822:case 1821:case 1820:case 1819:case 1818:case 1817:case 1816:case 1815:case 1814:case 1813:case 1812:case 1807:case 1806:case 1805:case 1804:case 1803:case 1802:case 1684:case 1683:case 1682:case 1681:case 1680:case 1679:case 1678:case 1677:case 1676:case 1675:case 1674:case 1673:case 1672:case 1671:case 1670:case 1633:case 1632:case 1631:case 1630:case 1629:case 1628:case 1606:case 1605:case 1604:case 1603:case 1602:case 1601:case 1600:case 1599:case 1598:case 1597:case 1596:case 1595:case 1565:case 1564:case 1563:case 1562:case 1561:case 1560:case 1559:case 1558:case 1557:case 1556:{s=604;break a}case 1879:case 1878:case 1877:case 1876:case 1872:case 1871:case 1870:case 1869:case 1862:case 1861:case 1860:case 1859:case 1855:case 1854:case 1853:case 1852:case 1848:case 1847:case 1846:case 1845:case 1841:case 1840:case 1839:case 1838:{s=607;break a}case 1594:case 1593:case 1592:case 1591:case 1590:case 1589:case 1588:case 1587:case 1586:case 1585:case 1584:case 1583:{s=634;break a}case 1944:case 1943:case 1942:case 1925:case 1924:case 1923:case 1922:case 1835:case 1834:case 1833:case 1832:case 1831:case 1830:case 1829:case 1828:case 1827:case 1826:case 1825:case 1824:case 1811:case 1810:case 1809:case 1808:case 1801:case 1800:case 1799:case 1798:case 1797:case 1796:case 1795:case 1794:case 1793:case 1792:case 1791:case 1790:case 1789:case 1788:case 1787:case 1786:case 1785:case 1784:case 1783:case 1708:case 1707:case 1706:case 1705:case 1669:case 1668:case 1665:case 1664:case 1663:case 1662:case 1649:case 1648:case 1647:case 1646:case 1645:case 1644:case 1643:case 1642:case 1641:case 1640:case 1639:case 1638:case 1637:case 1636:case 1635:case 1634:case 1627:case 1626:case 1625:case 1624:case 1623:case 1622:case 1621:case 1620:case 1619:case 1618:case 1617:case 1616:case 1615:case 1614:case 1613:case 1612:case 1611:case 1610:case 1609:case 1608:case 1607:case 1582:case 1577:case 1576:case 1575:{s=658;break a}case 1703:case 1701:case 1666:case 1660:case 1658:{s=664;break a}case 1704:case 1702:case 1667:case 1661:case 1659:{s=667;break a}case 1700:case 1699:case 1698:case 1697:case 1692:case 1691:case 1690:case 1689:case 1657:case 1656:case 1653:case 1652:{s=673;break a}case 1695:case 1693:case 1687:case 1685:case 1654:case 1650:{s=676;break a}case 1696:case 1694:case 1688:case 1686:case 1655:case 1651:{s=679;break a}case 2029:case 1874:case 1867:case 1864:case 1553:{s=1099;break a}case 2015:{s=1102;break a}case 2031:case 2030:case 2017:case 2016:case 1880:case 1875:case 1873:case 1868:case 1866:case 1865:case 1555:case 1554:{s=1162;break a}case 1572:{s=1181;break a}case 1574:case 1573:{s=1207;break a}case 1569:case 1566:{s=1232;break a}case 1571:case 1570:case 1568:case 1567:{s=1250;break a}case 2237:case 2114:case 2110:case 2102:case 2095:case 2090:case 2086:case 2081:case 2077:{s=766;break b}case 2196:case 2190:case 2184:case 2181:case 2178:case 2175:case 2172:case 2169:case 2166:case 2128:case 2125:case 2122:case 2119:case 2111:case 2096:case 2087:case 2078:{s=790;break b}case 2240:{s=933;break b}case 2028:case 2027:case 2014:case 2013:{s=1221;break b}case 2026:case 2012:{s=1224;break b}case 1857:case 1850:case 1843:case 1836:{g=d+24|0;s=MD(b,c[g>>2]|0)|0;d=b6(s|0,0,18)|0;s=b6(s|0,0,12)|0;g=MD(b,(c[g>>2]|0)+16|0)|0;g=d&4194304|r|s&61440|g&15|(b6(g|0,0,1)|0)&32;E=t;i=u;return g|0}case 1958:{h=d+24|0;f=MD(b,c[h>>2]|0)|0;q=b6(f|0,0,16)|0;f=b6(f|0,0,
|
||
|
function WB(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0;ya=i;i=i+496|0;l=ya+488|0;sa=ya;_=ya+480|0;ja=ya+472|0;na=ya+464|0;oa=ya+456|0;pa=ya+448|0;m=ya+440|0;n=ya+432|0;o=ya+424|0;p=ya+416|0;q=ya+408|0;r=ya+400|0;s=ya+392|0;t=ya+384|0;u=ya+376|0;v=ya+368|0;w=ya+360|0;x=ya+352|0;y=ya+344|0;z=ya+336|0;A=ya+328|0;B=ya+320|0;C=ya+312|0;D=ya+304|0;E=ya+296|0;F=ya+288|0;G=ya+280|0;H=ya+272|0;I=ya+264|0;J=ya+256|0;K=ya+248|0;L=ya+240|0;M=ya+232|0;N=ya+224|0;O=ya+216|0;P=ya+208|0;Q=ya+200|0;R=ya+192|0;S=ya+184|0;T=ya+176|0;U=ya+168|0;V=ya+160|0;W=ya+152|0;X=ya+144|0;Y=ya+136|0;Z=ya+128|0;$=ya+120|0;aa=ya+112|0;ba=ya+104|0;ca=ya+96|0;da=ya+88|0;ea=ya+80|0;fa=ya+72|0;ga=ya+64|0;ha=ya+56|0;ia=ya+48|0;ka=ya+40|0;la=ya+32|0;ma=ya+24|0;xa=ya+8|0;g=c[d+4>>2]|0;if((g|0?(h=c[d>>2]|0,j=OU(h,46,g)|0,j|0):0)?(j-h|0)!=-1:0){xa=1;i=ya;return xa|0}k=b+60|0;g=d;va=c[g+4>>2]|0;ra=k;c[ra>>2]=c[g>>2];c[ra+4>>2]=va;ra=c[e>>2]|0;va=b+4|0;g=c[va>>2]|0;g=yb[c[(c[g>>2]|0)+24>>2]&255](g)|0;j=X3(56)|0;e=j+8|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[j>>2]=2070696;c[j+20>>2]=6;c[j+52>>2]=g;c[j+32>>2]=3218396;c[j+36>>2]=3;a[j+40>>0]=0;c[j+24>>2]=ra;c[j+28>>2]=ra;ra=f+4|0;g=c[ra>>2]|0;e=f+8|0;if(g>>>0<(c[e>>2]|0)>>>0)h=g;else{qB(f,0);g=c[ra>>2]|0;h=g}c[h>>2]=j;c[ra>>2]=g+4;ua=c[va>>2]|0;ta=uh(ua)|0;j=ta+4|0;g=c[j+4>>2]|0;d=sa;c[d>>2]=c[j>>2];c[d+4>>2]=g;d=Xh(ta)|0;g=c[k>>2]|0;a:do switch(c[k+4>>2]|0){case 2:{if(!(OV(g,3217816,2)|0)){c[_>>2]=3218400;c[_+4>>2]=7;c[l>>2]=c[_>>2];c[l+4>>2]=c[_+4>>2];if(!($t(sa,l)|0)){qa=c[va>>2]|0;qa=zo(0,0,yb[c[(c[qa>>2]|0)+24>>2]&255](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,Kc,Lc,Mc,Nc,Oc,Pc,Qc,Rc,Sc,Tc,Uc,Vc,Wc,Xc,Yc,Zc,_c,$c,ad,bd,cd,dd,ed,fd,gd,hd,id,jd,kd,ld,md,nd,od,pd,qd,rd,sd,td,ud,vd,wd,xd,yd,zd,Ad,Bd,Cd,Dd,Ed,Fd,Gd,Hd,Id,Jd,Kd,Ld,Md,Nd,Od,Pd,nA,zA,rD,HD,dE,QG,hJ,GK,pL,qL,MN,RN,oP,LO,cQ,tQ,iS,SR,eW,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V6,V
|
||
|
|
||
|
|
||
|
// EMSCRIPTEN_END_ASM
|
||
|
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var __GLOBAL__sub_I_HexagonMCDuplexInfo_cpp=Module["__GLOBAL__sub_I_HexagonMCDuplexInfo_cpp"]=asm["__GLOBAL__sub_I_HexagonMCDuplexInfo_cpp"];var __GLOBAL__sub_I_ARMAsmParser_cpp=Module["__GLOBAL__sub_I_ARMAsmParser_cpp"]=asm["__GLOBAL__sub_I_ARMAsmParser_cpp"];var _memset=Module["_memset"]=asm["_memset"];var __GLOBAL__sub_I_MCSymbol_cpp=Module["__GLOBAL__sub_I_MCSymbol_cpp"]=asm["__GLOBAL__sub_I_MCSymbol_cpp"];var _ks_strerror=Module["_ks_strerror"]=asm["_ks_strerror"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var __GLOBAL__sub_I_MipsMCTargetDesc_cpp=Module["__GLOBAL__sub_I_MipsMCTargetDesc_cpp"]=asm["__GLOBAL__sub_I_MipsMCTargetDesc_cpp"];var __GLOBAL__sub_I_ARMMCTargetDesc_cpp=Module["__GLOBAL__sub_I_ARMMCTargetDesc_cpp"]=asm["__GLOBAL__sub_I_ARMMCTargetDesc_cpp"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _pthread_cond_broadcast=Module["_pthread_cond_broadcast"]=asm["_pthread_cond_broadcast"];var _fflush=Module["_fflush"]=asm["_fflush"];var __GLOBAL__sub_I_HexagonMCTargetDesc_cpp=Module["__GLOBAL__sub_I_HexagonMCTargetDesc_cpp"]=asm["__GLOBAL__sub_I_HexagonMCTargetDesc_cpp"];var _ks_free=Module["_ks_free"]=asm["_ks_free"];var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=asm["___cxa_is_pointer_type"];var _llvm_ctlz_i64=Module["_llvm_ctlz_i64"]=asm["_llvm_ctlz_i64"];var _bitshift64Ashr=Module["_bitshift64Ashr"]=asm["_bitshift64Ashr"];var _llvm_cttz_i32=Module["_llvm_cttz_i32"]=asm["_llvm_cttz_i32"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var __GLOBAL__sub_I_AArch64BaseInfo_cpp=Module["__GLOBAL__sub_I_AArch64BaseInfo_cpp"]=asm["__GLOBAL__sub_I_AArch64BaseInfo_cpp"];var _llvm_ctpop_i64=Module["_llvm_ctpop_i64"]=asm["_llvm_ctpop_i64"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var __GLOBAL__sub_I_SparcMCTargetDesc_cpp=Module["__GLOBAL__sub_I_SparcMCTargetDesc_cpp"]=asm["__GLOBAL__sub_I_SparcMCTargetDesc_cpp"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var __GLOBAL__sub_I_PPCMCTargetDesc_cpp=Module["__GLOBAL__sub_I_PPCMCTargetDesc_cpp"]=asm["__GLOBAL__sub_I_PPCMCTargetDesc_cpp"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var ___divdi3=Module["___divdi3"]=asm["___divdi3"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var _ks_open=Module["_ks_open"]=asm["_ks_open"];var ___udivmoddi4=Module["___udivmoddi4"]=asm["___udivmoddi4"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _pthread_self=Module["_pthread_self"]=asm["_pthread_self"];var _pthread_mutex_unlock=Module["_pthread_mutex_unlock"]=asm["_pthread_mutex_unlock"];var __GLOBAL__I_000101=Module["__GLOBAL__I_000101"]=asm["__GLOBAL__I_000101"];var _llvm_bswap_i16=Module["_llvm_bswap_i16"]=asm["_llvm_bswap_i16"];var __GLOBAL__sub_I_AArch64MCTargetDesc_cpp=Module["__GLOBAL__sub_I_AArch64MCTargetDesc_cpp"]=asm["__GLOBAL__sub_I_AArch64MCTargetDesc_cpp"];var _ks_version=Module["_ks_version"]=asm["_ks_version"];var ___remdi3=Module["___remdi3"]=asm["___remdi3"];var _ks_option=Module["_ks_option"]=asm["_ks_option"];var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=asm["__GLOBAL__sub_I_iostream_cpp"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var ___muldsi3=Module["___muldsi3"]=asm["___muldsi3"];var _ks_errno=Module["_ks_errno"]=asm["_ks_errno"];var ___cxa_can_catch=Module["___cxa_can_catch"]=asm["___cxa_can_catch"];var _free=Module["_free"]=asm["_free"];var __GLOBAL__sub_I_SystemZMCTargetDesc_cpp=Module["__GLOBAL__sub_I_SystemZMCTargetDesc_cpp"]=asm["__GLOBAL__sub_I_SystemZMCTargetDesc_cpp"];var _ks_arch_supported=Module["_ks_arch_supported"]=asm["_ks_arch_supported"];var _llvm_ctpop_i32=Module["_llvm_ctpop_i32"]=asm["_llvm_ctpop_i32"];var _malloc=Module["_malloc"]=asm["_malloc"];var _ks_close=Module["_ks_close"]=asm["_ks_close"];var _pthread_mutex_lock=Module["_pthread_mutex_lock"]=asm["_pthread_mutex_lo
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
return MKeystone;
|
||
|
};
|
||
|
|
||
|
/**
|
||
|
* (c) 2016-2017 Keystone.JS
|
||
|
* Wrapper made by Alexandro Sanchez Bach.
|
||
|
*/
|
||
|
|
||
|
// Emscripten demodularize
|
||
|
var MKeystone = new MKeystone();
|
||
|
|
||
|
var ks = {
|
||
|
version: function() {
|
||
|
major_ptr = MKeystone._malloc(4);
|
||
|
minor_ptr = MKeystone._malloc(4);
|
||
|
var ret = MKeystone.ccall('ks_version', 'number',
|
||
|
['pointer', 'pointer'], [major_ptr, minor_ptr]);
|
||
|
major = MKeystone.getValue(major_ptr, 'i32');
|
||
|
minor = MKeystone.getValue(minor_ptr, 'i32');
|
||
|
MKeystone._free(major_ptr);
|
||
|
MKeystone._free(minor_ptr);
|
||
|
return ret;
|
||
|
},
|
||
|
|
||
|
arch_supported: function(arch) {
|
||
|
var ret = MKeystone.ccall('ks_arch_supported', 'number', ['number'], [arch]);
|
||
|
return ret;
|
||
|
},
|
||
|
|
||
|
strerror: function(code) {
|
||
|
var ret = MKeystone.ccall('ks_strerror', 'string', ['number'], [code]);
|
||
|
return ret;
|
||
|
},
|
||
|
|
||
|
/**
|
||
|
* Keystone object
|
||
|
*/
|
||
|
Keystone: function (arch, mode) {
|
||
|
this.arch = arch;
|
||
|
this.mode = mode;
|
||
|
this.handle_ptr = MKeystone._malloc(4);
|
||
|
|
||
|
// Options
|
||
|
this.option = function(option, value) {
|
||
|
var handle = MKeystone.getValue(this.handle_ptr, '*');
|
||
|
if (!handle) {
|
||
|
return;
|
||
|
}
|
||
|
var ret = MKeystone.ccall('ks_option', 'number',
|
||
|
['pointer', 'number', 'number'],
|
||
|
[handle, option, value]
|
||
|
);
|
||
|
if (ret != ks.ERR_OK) {
|
||
|
var error = 'Keystone.js: Function ks_option failed with code ' + ret + ':\n' + ks.strerror(ret);
|
||
|
throw error;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Assembler
|
||
|
this.asm = function (assembly, address) {
|
||
|
var handle = MKeystone.getValue(this.handle_ptr, '*');
|
||
|
if (!handle) {
|
||
|
return [];
|
||
|
}
|
||
|
|
||
|
var insn_ptr = MKeystone._malloc(4);
|
||
|
var size_ptr = MKeystone._malloc(4);
|
||
|
var count_ptr = MKeystone._malloc(4);
|
||
|
|
||
|
// Allocate buffer and copy data
|
||
|
var buffer_len = assembly.length + 1;
|
||
|
var buffer_ptr = MKeystone._malloc(buffer_len);
|
||
|
MKeystone.stringToUTF8(assembly, buffer_ptr, buffer_len);
|
||
|
|
||
|
// Run the assembler. Note that the third argument is split
|
||
|
// in the two integers that make the uint64_t address value.
|
||
|
// Due to JavaScript limitations only the lower 32-bit can be modified.
|
||
|
var ret = MKeystone.ccall('ks_asm', 'number',
|
||
|
['pointer', 'pointer', 'number', 'number', 'pointer', 'pointer', 'pointer'],
|
||
|
[handle, buffer_ptr, address, 0x0, insn_ptr, size_ptr, count_ptr]
|
||
|
);
|
||
|
if (ret != ks.ERR_OK) {
|
||
|
var code = this.errno();
|
||
|
var error = 'Keystone.js: Function ks_asm failed with code ' + code + ':\n' + ks.strerror(code);
|
||
|
throw error;
|
||
|
}
|
||
|
|
||
|
// Get results
|
||
|
var insn = MKeystone.getValue(insn_ptr, '*');
|
||
|
var size = MKeystone.getValue(size_ptr, 'i32');
|
||
|
var count = MKeystone.getValue(count_ptr, 'i32');
|
||
|
|
||
|
var mc = new Uint8Array(size);
|
||
|
for (var i = 0; i < size; i++) {
|
||
|
mc[i] = MKeystone.getValue(insn + i, 'i8');
|
||
|
}
|
||
|
|
||
|
// Free memory and return buffer
|
||
|
var ret = MKeystone.ccall('ks_free', 'void', ['pointer'], insn_ptr);
|
||
|
MKeystone._free(buffer_ptr);
|
||
|
MKeystone._free(insn_ptr);
|
||
|
MKeystone._free(size_ptr);
|
||
|
MKeystone._free(count_ptr);
|
||
|
return mc
|
||
|
};
|
||
|
|
||
|
this.errno = function() {
|
||
|
var handle = MKeystone.getValue(this.handle_ptr, '*');
|
||
|
var ret = MKeystone.ccall('ks_errno', 'number', ['pointer'], [handle]);
|
||
|
return ret;
|
||
|
}
|
||
|
|
||
|
this.close = function() {
|
||
|
var handle = MKeystone.getValue(this.handle_ptr, '*');
|
||
|
var ret = MKeystone.ccall('ks_close', 'number', ['pointer'], [handle]);
|
||
|
if (ret != ks.ERR_OK) {
|
||
|
var error = 'Keystone.js: Function ks_close failed with code ' + ret + ':\n' + ks.strerror(ret);
|
||
|
throw error;
|
||
|
}
|
||
|
MKeystone._free(this.handle_ptr);
|
||
|
}
|
||
|
|
||
|
// Constructor
|
||
|
var ret = MKeystone.ccall('ks_open', 'number',
|
||
|
['number', 'number', 'pointer'],
|
||
|
[this.arch, this.mode, this.handle_ptr]
|
||
|
);
|
||
|
|
||
|
if (ret != ks.ERR_OK) {
|
||
|
MKeystone.setValue(this.handle_ptr, 0, '*');
|
||
|
var error = 'Keystone.js: Function ks_open failed with code ' + ret + ':\n' + ks.strerror(ret);
|
||
|
throw error;
|
||
|
}
|
||
|
},
|
||
|
};
|
||
|
|
||
|
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [arm_const.js]
|
||
|
ks.ERR_ASM_ARM_INVALIDOPERAND = 512
|
||
|
ks.ERR_ASM_ARM_MISSINGFEATURE = 513
|
||
|
ks.ERR_ASM_ARM_MNEMONICFAIL = 514
|
||
|
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [arm64_const.js]
|
||
|
ks.ERR_ASM_ARM64_INVALIDOPERAND = 512
|
||
|
ks.ERR_ASM_ARM64_MISSINGFEATURE = 513
|
||
|
ks.ERR_ASM_ARM64_MNEMONICFAIL = 514
|
||
|
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [hexagon_const.js]
|
||
|
ks.ERR_ASM_HEXAGON_INVALIDOPERAND = 512
|
||
|
ks.ERR_ASM_HEXAGON_MISSINGFEATURE = 513
|
||
|
ks.ERR_ASM_HEXAGON_MNEMONICFAIL = 514
|
||
|
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [keystone_const.js]
|
||
|
ks.API_MAJOR = 0
|
||
|
ks.API_MINOR = 9
|
||
|
ks.ARCH_ARM = 1
|
||
|
ks.ARCH_ARM64 = 2
|
||
|
ks.ARCH_MIPS = 3
|
||
|
ks.ARCH_X86 = 4
|
||
|
ks.ARCH_PPC = 5
|
||
|
ks.ARCH_SPARC = 6
|
||
|
ks.ARCH_SYSTEMZ = 7
|
||
|
ks.ARCH_HEXAGON = 8
|
||
|
ks.ARCH_MAX = 9
|
||
|
ks.MODE_LITTLE_ENDIAN = 0
|
||
|
ks.MODE_BIG_ENDIAN = 1073741824
|
||
|
ks.MODE_ARM = 1
|
||
|
ks.MODE_THUMB = 16
|
||
|
ks.MODE_V8 = 64
|
||
|
ks.MODE_MICRO = 16
|
||
|
ks.MODE_MIPS3 = 32
|
||
|
ks.MODE_MIPS32R6 = 64
|
||
|
ks.MODE_MIPS32 = 4
|
||
|
ks.MODE_MIPS64 = 8
|
||
|
ks.MODE_16 = 2
|
||
|
ks.MODE_32 = 4
|
||
|
ks.MODE_64 = 8
|
||
|
ks.MODE_PPC32 = 4
|
||
|
ks.MODE_PPC64 = 8
|
||
|
ks.MODE_QPX = 16
|
||
|
ks.MODE_SPARC32 = 4
|
||
|
ks.MODE_SPARC64 = 8
|
||
|
ks.MODE_V9 = 16
|
||
|
ks.ERR_ASM = 128
|
||
|
ks.ERR_ASM_ARCH = 512
|
||
|
ks.ERR_OK = 0
|
||
|
ks.ERR_NOMEM = 1
|
||
|
ks.ERR_ARCH = 2
|
||
|
ks.ERR_HANDLE = 3
|
||
|
ks.ERR_MODE = 4
|
||
|
ks.ERR_VERSION = 5
|
||
|
ks.ERR_OPT_INVALID = 6
|
||
|
ks.ERR_ASM_EXPR_TOKEN = 128
|
||
|
ks.ERR_ASM_DIRECTIVE_VALUE_RANGE = 129
|
||
|
ks.ERR_ASM_DIRECTIVE_ID = 130
|
||
|
ks.ERR_ASM_DIRECTIVE_TOKEN = 131
|
||
|
ks.ERR_ASM_DIRECTIVE_STR = 132
|
||
|
ks.ERR_ASM_DIRECTIVE_COMMA = 133
|
||
|
ks.ERR_ASM_DIRECTIVE_RELOC_NAME = 134
|
||
|
ks.ERR_ASM_DIRECTIVE_RELOC_TOKEN = 135
|
||
|
ks.ERR_ASM_DIRECTIVE_FPOINT = 136
|
||
|
ks.ERR_ASM_DIRECTIVE_UNKNOWN = 137
|
||
|
ks.ERR_ASM_DIRECTIVE_EQU = 138
|
||
|
ks.ERR_ASM_DIRECTIVE_INVALID = 139
|
||
|
ks.ERR_ASM_VARIANT_INVALID = 140
|
||
|
ks.ERR_ASM_EXPR_BRACKET = 141
|
||
|
ks.ERR_ASM_SYMBOL_MODIFIER = 142
|
||
|
ks.ERR_ASM_SYMBOL_REDEFINED = 143
|
||
|
ks.ERR_ASM_SYMBOL_MISSING = 144
|
||
|
ks.ERR_ASM_RPAREN = 145
|
||
|
ks.ERR_ASM_STAT_TOKEN = 146
|
||
|
ks.ERR_ASM_UNSUPPORTED = 147
|
||
|
ks.ERR_ASM_MACRO_TOKEN = 148
|
||
|
ks.ERR_ASM_MACRO_PAREN = 149
|
||
|
ks.ERR_ASM_MACRO_EQU = 150
|
||
|
ks.ERR_ASM_MACRO_ARGS = 151
|
||
|
ks.ERR_ASM_MACRO_LEVELS_EXCEED = 152
|
||
|
ks.ERR_ASM_MACRO_STR = 153
|
||
|
ks.ERR_ASM_MACRO_INVALID = 154
|
||
|
ks.ERR_ASM_ESC_BACKSLASH = 155
|
||
|
ks.ERR_ASM_ESC_OCTAL = 156
|
||
|
ks.ERR_ASM_ESC_SEQUENCE = 157
|
||
|
ks.ERR_ASM_ESC_STR = 158
|
||
|
ks.ERR_ASM_TOKEN_INVALID = 159
|
||
|
ks.ERR_ASM_INSN_UNSUPPORTED = 160
|
||
|
ks.ERR_ASM_FIXUP_INVALID = 161
|
||
|
ks.ERR_ASM_LABEL_INVALID = 162
|
||
|
ks.ERR_ASM_FRAGMENT_INVALID = 163
|
||
|
ks.ERR_ASM_INVALIDOPERAND = 512
|
||
|
ks.ERR_ASM_MISSINGFEATURE = 513
|
||
|
ks.ERR_ASM_MNEMONICFAIL = 514
|
||
|
ks.OPT_SYNTAX = 1
|
||
|
ks.OPT_SYNTAX_INTEL = 1
|
||
|
ks.OPT_SYNTAX_ATT = 2
|
||
|
ks.OPT_SYNTAX_NASM = 4
|
||
|
ks.OPT_SYNTAX_MASM = 8
|
||
|
ks.OPT_SYNTAX_GAS = 16
|
||
|
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [mips_const.js]
|
||
|
ks.ERR_ASM_MIPS_INVALIDOPERAND = 512
|
||
|
ks.ERR_ASM_MIPS_MISSINGFEATURE = 513
|
||
|
ks.ERR_ASM_MIPS_MNEMONICFAIL = 514
|
||
|
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [ppc_const.js]
|
||
|
ks.ERR_ASM_PPC_INVALIDOPERAND = 512
|
||
|
ks.ERR_ASM_PPC_MISSINGFEATURE = 513
|
||
|
ks.ERR_ASM_PPC_MNEMONICFAIL = 514
|
||
|
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [sparc_const.js]
|
||
|
ks.ERR_ASM_SPARC_INVALIDOPERAND = 512
|
||
|
ks.ERR_ASM_SPARC_MISSINGFEATURE = 513
|
||
|
ks.ERR_ASM_SPARC_MNEMONICFAIL = 514
|
||
|
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [systemz_const.js]
|
||
|
ks.ERR_ASM_SYSTEMZ_INVALIDOPERAND = 512
|
||
|
ks.ERR_ASM_SYSTEMZ_MISSINGFEATURE = 513
|
||
|
ks.ERR_ASM_SYSTEMZ_MNEMONICFAIL = 514
|
||
|
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [x86_const.js]
|
||
|
ks.ERR_ASM_X86_INVALIDOPERAND = 512
|
||
|
ks.ERR_ASM_X86_MISSINGFEATURE = 513
|
||
|
ks.ERR_ASM_X86_MNEMONICFAIL = 514
|