bgfx/example-02-metaballsRelease.bc.js

20 lines
665 KiB
JavaScript
Raw Normal View History

2015-08-22 10:06:51 +03:00
var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB;var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=function print(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=function printErr(x){process["stderr"].write(x+"\n")};var nodeFS=require("fs");var nodePath=require("path");Module["read"]=function read(filename,binary){filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);if(!ret&&filename!=nodePath["resolve"](filename)){filename=path.join(__dirname,"..","src",filename);ret=nodeFS["readFileSync"](filename)}if(ret&&!binary)ret=ret.toString();return ret};Module["readBinary"]=function readBinary(filename){return Module["read"](filename,true)};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 (jsc?)"}}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};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.log(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=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}var Runtime={setTempRet0:(function(value){tempRet0=value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}els
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.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=env.___dso_handle|0;var o=env._stdout|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=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=0;var N=0;var O=global.Math.floor;var P=global.Math.abs;var Q=global.Math.sqrt;var R=global.Math.pow;var S=global.Math.cos;var T=global.Math.sin;var U=global.Math.tan;var V=global.Math.acos;var W=global.Math.asin;var X=global.Math.atan;var Y=global.Math.atan2;var Z=global.Math.exp;var _=global.Math.log;var $=global.Math.ceil;var aa=global.Math.imul;var ba=global.Math.min;var ca=global.Math.clz32;var da=env.abort;var ea=env.assert;var fa=env.invoke_viiiii;var ga=env.invoke_vd;var ha=env.invoke_vid;var ia=env.invoke_vi;var ja=env.invoke_vii;var ka=env.invoke_iiiiiii;var la=env.invoke_ii;var ma=env.invoke_viiiiiiiiiii;var na=env.invoke_viddd;var oa=env.invoke_iiiiii;var pa=env.invoke_vidd;var qa=env.invoke_iiii;var ra=env.invoke_viiiiiiii;var sa=env.invoke_viiiiii;var ta=env.invoke_viii;var ua=env.invoke_vidddd;var va=env.invoke_vdi;var wa=env.invoke_viiiiiii;var xa=env.invoke_viiiiiiiii;var ya=env.invoke_viiiiiiiiii;var za=env.invoke_iii;var Aa=env.invoke_i;var Ba=env.invoke_iiiii;var Ca=env.invoke_vdddddd;var Da=env.invoke_vdddd;var Ea=env.invoke_vdd;var Fa=env.invoke_v;var Ga=env.invoke_viid;var Ha=env.invoke_viiii;var Ia=env._emscripten_glGetTexParameterfv;var Ja=env._glUseProgram;var Ka=env._glUniformMatrix3fv;var La=env._emscripten_glShaderSource;var Ma=env._glClearStencil;var Na=env._emscripten_glReleaseShaderCompiler;var Oa=env._emscripten_glBlendFuncSeparate;var Pa=env._emscripten_glCopyTexImage2D;var Qa=env._emscripten_glVertexAttribPointer;var Ra=env._fread;var Sa=env._emscripten_glGetIntegerv;var Ta=env._emscripten_glCullFace;var Ua=env.___cxa_guard_acquire;var Va=env._emscripten_set_keyup_callback;var Wa=env._emscripten_glStencilMaskSeparate;var Xa=env._emscripten_glViewport;var Ya=env._glReadPixels;var Za=env._emscripten_glFrontFace;var _a=env._eglTerminate;var $a=env._emscripten_glDrawArrays;var ab=env._emscripten_glUniform3fv;var bb=env.__ZSt18uncaught_exceptionv;var cb=env._emscripten_glUseProgram;var db=env._emscripten_glBlendColor;var eb=env._glBindBuffer;var fb=env._emscripten_glDepthFunc;var gb=env._glGetShaderInfoLog;var hb=env._ftell;var ib=env._eglSwapBuffers;var jb=env._emscripten_set_main_loop_timing;var kb=env._sbrk;var lb=env._emscripten_glGenerateMipmap;var mb=env._emscripten_glDisableVertexAttribArray;var nb=env._glGetAttribLocation;var ob=env._glDisableVertexAttribArray;var pb=env._emscripten_memcpy_big;var qb=env._glStencilOpSeparate;var rb=env._sysconf;var sb=env._close;var tb=env._emscripten_glVertexPointer;var ub=env._emscripten_glBlendEquationSeparate;var vb=env._tanf;var wb=env._emscripten_glGetBooleanv;var xb=env._emscripten_glClientActiveTexture;var yb=env._emscripten_glGetShaderSource;var zb=env._fileno;var Ab=env._emscripten_glLineWidth;var Bb=env._emscripten_glUniform1i;var Cb=env._emscripten_glFrustum;var Db=env._emscripten_glGenBuffers;var Eb=env._emscripten_glGetString;var Fb=env._emscripten_glTexImage2D;var Gb=env._emscripten_glGetShaderPrecisionFormat;var Hb=env._emscripten_glIsProgram;var Ib=env._write;var Jb=env._emscripten_request_fullscreen_strategy;var Kb=env._strerror;var Lb=env._glGenBuffers;var Mb=env._glShaderSource;var Nb=env._glFramebufferRenderbuffer;var Ob=env._emscripten_glIsFramebuffer;var Pb=env.___cxa_atexit;var Qb=env._emscripten_glIsEnabled;var Rb=env._emscripten_glScissor;var Sb=env._emscripten_glUniform4fv;var Tb=env._emscripten_glTexParameteriv;var Ub=env._emscripten_glBindProgramARB;var Vb=env._emscripten_glStencilOpSeparate;var
// EMSCRIPTEN_START_FUNCS
function uj(d,f,j,k){d=d|0;f=f|0;j=j|0;k=k|0;var 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,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,ca=0,da=0.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,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Va=0,Wa=0,Xa=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc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Z>>2]=0;Mg[c[640>>2]&63](0);Z=d+595144|0;_=c[c[d+595148>>2]>>2]|0;if(_){ca=_;do{Ng[c[648>>2]&63](1,ca+4|0);ca=c[ca+8>>2]|0}while((ca|0)!=0)}cl(Z)}Z=d+595276|0;Jj(Z,0);ca=c[d+595232>>2]|0;_=(ca|0)!=0;if(_)Mg[c[640>>2]&63](ca);td(36160,c[d+595260>>2]|0);dl(d,f+18572932|0);da=+dd()*1.0e3;ea=~~da>>>0;fa=+P(da)>=1.0?(da>0.0?~~+ba(+O(da/4294967296.0),4294967295.0)>>>0:~~+$((da-+(~~da>>>0))/4294967296.0)>>>0):0;ga=d+595242|0;if(a[ga>>0]|0){ha=d+595136|0;ia=d+595140|0;ja=d+595128|0;ka=d+595132|0;la=d+595104|0;while(1){ma=c[ha>>2]|0;na=c[ia>>2]|0;oa=na-ma|0;pa=c[ja>>2]|0;qa=oa>>31;ra=(pa+oa&qa|oa&~qa)+-1|0;qa=ra>>31;oa=ra&~qa|qa&pa+-1;qa=1-oa>>31;ra=oa&~qa|qa&1;c[ha>>2]=((ra+ma|0)>>>0)%(pa>>>0)|0;if(ra)break;ra=(c[ka>>2]|0)-na|0;ma=ra>>31;if((pa+ra&ma|ra&~ma|0)!=0?(Xg[c[904>>2]&63](c[d+595112+(na<<2)>>2]|0,34919,m),(c[m>>2]|0)!=0):0){Xg[c[912>>2]&63](c[d+595112+(c[ia>>2]<<2)>>2]|0,34918,la);na=c[ia>>2]|0;ma=(c[ka>>2]|0)-na|0;ra=c[ja>>2]|0;pa=ma>>31;qa=ra+ma&pa|ma&~pa;pa=1-qa>>31;c[ia>>2]=(((qa&~pa|pa&1)+na|0)>>>0)%(ra>>>0)|0}}Ng[c[888>>2]&63](35007,c[d+595112+(c[ka>>2]<<2)>>2]|0)}ka=f+18572916|0;ia=c[ka>>2]|0;if(ia){ja=c[f+18572924>>2]|0;la=c[ja>>2]|0;eb(34963,c[d+140+((e[ja+12>>1]|0)*28|0)>>2]|0);wc(34963,0,ia|0
function kh(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;return b|0}function lh(){return i|0}function mh(a){a=a|0;i=a}function nh(a,b){a=a|0;b=b|0;i=a;j=b}function oh(a,b){a=a|0;b=b|0;if(!p){p=a;q=b}}function ph(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0]}function qh(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0];a[k+4>>0]=a[b+4>>0];a[k+5>>0]=a[b+5>>0];a[k+6>>0]=a[b+6>>0];a[k+7>>0]=a[b+7>>0]}function rh(a){a=a|0;E=a}function sh(){return E|0}function th(b,d,f,h,j,k){b=b|0;d=d|0;f=f|0;h=h|0;j=j|0;k=+k;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0,w=0,x=0.0,y=0,z=0,A=0.0,B=0.0,C=0.0,D=0,E=0,F=0;l=i;i=i+288|0;m=l;n=(+g[c[j+4>>2]>>2]<k?2:0)|+g[c[j>>2]>>2]<k|(+g[c[j+8>>2]>>2]<k?4:0)|(+g[c[j+12>>2]>>2]<k?8:0)|(+g[c[j+16>>2]>>2]<k?16:0)|(+g[c[j+20>>2]>>2]<k?32:0)|(+g[c[j+24>>2]>>2]<k?64:0)|(+g[c[j+28>>2]>>2]<k?128:0);if((n|0)==0|(n|0)==255){o=0;i=l;return o|0}p=e[1280+(n<<1)>>1]|0;q=0;do{if(1<<q&p){r=q&7;s=a[1792+q>>0]|0;t=m+(q*24|0)|0;u=c[j+(r<<2)>>2]|0;v=+g[u>>2];w=c[j+(s<<2)>>2]|0;x=+g[w>>2];y=1184+(r*12|0)|0;z=1184+(s*12|0)|0;do if(+P(+(k-x))<9.999999747378752e-06){c[t>>2]=c[z>>2];c[m+(q*24|0)+4>>2]=c[1184+(s*12|0)+4>>2];c[m+(q*24|0)+8>>2]=c[1184+(s*12|0)+8>>2];A=1.0}else{B=k-v;if(!(+P(+B)<9.999999747378752e-06)?!(+P(+(v-x))<9.999999747378752e-06):0){C=B/(x-v);B=+g[y>>2];g[t>>2]=B+C*(+g[z>>2]-B);B=+g[1184+(r*12|0)+4>>2];g[m+(q*24|0)+4>>2]=B+C*(+g[1184+(s*12|0)+4>>2]-B);B=+g[1184+(r*12|0)+8>>2];g[m+(q*24|0)+8>>2]=B+C*(+g[1184+(s*12|0)+8>>2]-B);A=C;break}c[t>>2]=c[y>>2];c[m+(q*24|0)+4>>2]=c[1184+(r*12|0)+4>>2];c[m+(q*24|0)+8>>2]=c[1184+(r*12|0)+8>>2];A=0.0}while(0);v=+g[u+4>>2];g[m+(q*24|0)+12>>2]=v+A*(+g[w+4>>2]-v);v=+g[u+8>>2];g[m+(q*24|0)+16>>2]=v+A*(+g[w+8>>2]-v);v=+g[u+12>>2];g[m+(q*24|0)+20>>2]=v+A*(+g[w+12>>2]-v)}q=q+1|0}while((q|0)!=12);A=+g[f+12>>2]-+g[f>>2];q=f+4|0;k=+g[f+16>>2]-+g[q>>2];j=f+8|0;v=+g[f+20>>2]-+g[j>>2];if((n|0)==0|(n|0)==255)D=0;else{p=h+4|0;r=h+8|0;y=b;b=a[1808+(n<<4)>>0]|0;t=0;while(1){s=b&255;z=m+(s*24|0)|0;g[y>>2]=+g[h>>2]+ +g[z>>2];E=m+(s*24|0)+4|0;g[y+4>>2]=+g[p>>2]+ +g[E>>2];F=m+(s*24|0)+8|0;g[y+8>>2]=+g[r>>2]+ +g[F>>2];c[y+12>>2]=c[m+(s*24|0)+12>>2];c[y+16>>2]=c[m+(s*24|0)+16>>2];c[y+20>>2]=c[m+(s*24|0)+20>>2];c[y+24>>2]=~~((+g[f>>2]+A*+g[z>>2])*255.0)&255|(~~((+g[q>>2]+k*+g[E>>2])*255.0)&255)<<8|(~~((+g[j>>2]+v*+g[F>>2])*255.0)&255)<<16|-16777216;F=t+1|0;b=a[1808+(n<<4)+F>>0]|0;if(b<<24>>24==-1){D=F;break}else{y=y+d|0;t=F}}}o=D;i=l;return o|0}function uh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+48|0;e=d;c[e>>2]=5912;f=Yj(e,a,b)|0;i=d;return f|0}function vh(a){a=a|0;var b=0;b=5936+(a<<2)|0;c[1484]=c[b>>2];c[1492]=c[b>>2];return}function wh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+8192|0;f=e;g=Io(f,8192,b,d)|0;if((g|0)>8192){h=i;i=i+((1*(g+1|0)|0)+15&-16)|0;j=Io(h,g,b,d)|0;k=h}else{j=g;k=f}a[k+j>>0]=0;j=c[o>>2]|0;zd(k|0,j|0)|0;wf(j|0)|0;i=e;return}function xh(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+16|0;e=d;c[e>>2]=b;wh(a,e);i=d;return}function yh(a){a=a|0;return}function zh(a,d){a=a|0;d=d|0;var e=0;c[a>>2]=d;b[a+4>>1]=0;d=a+38|0;e=d+32|0;do{b[d>>1]=65535;d=d+2|0}while((d|0)<(e|0));d=a+6|0;e=d+32|0;do{b[d>>1]=0;d=d+2|0}while((d|0)<(e|0));return a|0}function Ah(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=i;i=i+16|0;d=b;e=d+4|0;f=a+38|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;if(!(f&3))wk(d,f,32);else vk(d,f,32);f=a+6|0;if(!(f&3))wk(d,f,32);else vk(d,f,32);f=aa(c[e>>2]|0,1540483477)|0;g=aa(f>>>24^f,1540483477)|0;c[e>>2]=g;e=g^(aa(c[d>>2]|0,1540483477)|0);g=aa(c[d+12>>2]|0,1540483477)|0;d=(aa(e,1540483477)|0)^(aa(g>>>24^g,1540483477)|0);g=aa(d>>>13^d,1540483477)|0;c[a>>2]=g>>>15^g;i=b;return}function Bh(a,f,g,h,i,j){a=a|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;j=(g&255)+-1|0;b[a+38+(f<<1)>>1]=j&3|h<<3&56|(i&1)<<7;i=a+4|0;b[a+6+(f<<1)>>1]=b[i>>1]|0;b[i>>1]=(e[i>>1]|0)+(d[(c[5936+(c[a>>2]<<2)>>2]|0)+(h<<2)+j>>0]|0);return a|0}function Ch(b,d,f,g,h,i){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=e[b+38+(d<<1)>>1]|0;a[f>>0]=(j&3)+1;c[g>>2]=j>>>3&7;a[h>>0]=j>>>7&1;a[i>>0]=j>>>8&1;return}function Dh(a){a=a|0;return}function Eh
function sl(b,d){b=b|0;d=d|0;var e=0,f=0,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,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,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0;e=i;i=i+1360|0;f=e+8|0;g=e;h=e+320|0;j=e+336|0;k=e+64|0;l=e+40|0;m=e+16|0;if(!(a[d>>0]|0)){i=e;return}n=h+4|0;o=h+12|0;p=b+4|0;q=b+8|0;r=l+12|0;s=l+8|0;t=m+12|0;u=m+8|0;v=d;a:while(1){d=0;w=v;x=j;y=0;z=0;A=32;b:while(1){B=d;C=w;D=x;E=y;F=A;c:while(1){G=B;H=C;I=E;J=F;d:while(1){K=(G|0)<64;L=H;M=I;e:while(1){if(K){N=L;O=M}else{P=G;Q=L;R=D;S=13;break b}f:while(1){T=O;while(1){U=a[N>>0]|0;if(U<<24>>24==10|U<<24>>24==0){V=G;W=N;X=D;S=36;break b}if((T|0)==1){Y=U;Z=N;break e}else if(T){_=U;$=N;ba=T;break f}if(!(yo(U<<24>>24)|0))T=1;else{ca=N;break}}while(1){T=ca+1|0;if(!(yo(a[T>>0]|0)|0)){N=T;O=1;continue f}else ca=T}}if(!(_<<24>>24)){V=G;W=$;X=D;S=36;break b}if((ba|0)==4){da=G;ea=$;fa=J;S=34;break d}else if((ba|0)==2){ga=_;ha=G;ia=$;ja=D;ka=J;break c}else if((ba|0)!=3){S=17;break a}T=$+-1|0;U=T;while(1){la=a[U>>0]|0;if(la<<24>>24==34){ma=_;na=G;oa=$;pa=J;S=33;break d}else if(la<<24>>24!=92){qa=U;break}U=U+1|0}U=qa-T|0;if((U|0)>0){ra=T;sa=U;ta=G;ua=qa;va=J;S=31;break d}else{L=T;M=2}}M=Y<<24>>24==34;c[k+(G<<2)>>2]=D;G=G+1|0;H=M?Z+1|0:Z;I=2;J=M?34:32}if((S|0)==31){S=0;J=ra;I=D;H=0;while(1){a[I>>0]=a[J>>0]|0;H=H+1|0;if((H|0)==(sa|0))break;else{J=J+1|0;I=I+1|0}}B=ta;C=ua;D=D+sa|0;E=2;F=va;continue}else if((S|0)==33){S=0;a[D>>0]=ma;B=na;C=oa+1|0;D=D+1|0;E=2;F=pa;continue}else if((S|0)==34){S=0;a[D>>0]=0;B=da;C=ea;D=D+1|0;E=0;F=fa;continue}}if(ga<<24>>24==92){wa=ia;xa=ja;ya=3;za=z}else if(ga<<24>>24==34?ka<<24>>24!=34:0){wa=ia;xa=ja;ya=2;za=z^1}else S=22;if((S|0)==22){S=0;if(z|(yo(ga<<24>>24)|0)==0?(F=a[ia>>0]|0,z|ka<<24>>24!=F<<24>>24):0){a[ja>>0]=F;wa=ia;xa=ja+1|0;ya=2;za=z}else{wa=ia;xa=ja;ya=4;za=0}}d=ha;w=wa+1|0;x=xa;y=ya;z=za;A=ka}do if((S|0)==13){S=0;A=a[Q>>0]|0;if(A<<24>>24==10|A<<24>>24==0){a[R>>0]=0;Aa=P;Ba=Q;S=38;break}else{a[R>>0]=0;Aa=P;Ba=Q;S=38;break}}else if((S|0)==36){S=0;a[X>>0]=0;if((V|0)>0){Aa=V;Ba=W;S=38}else Ca=(a[W>>0]|0)==0?W:W+1|0}while(0);g:do if((S|0)==38){S=0;A=Aa+-1|0;z=(a[Ba>>0]|0)==0?Ba:Ba+1|0;if(!(a[c[k+(A<<2)>>2]>>0]|0))if((Aa|0)>1)Da=A;else{Ca=z;break}else Da=Aa;A=c[k>>2]|0;y=Vo(A|0)|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;if(!(A&3))wk(h,A,y);else vk(h,A,y);y=aa(c[n>>2]|0,1540483477)|0;A=aa(y>>>24^y,1540483477)|0;c[n>>2]=A;y=A^(aa(c[h>>2]|0,1540483477)|0);A=aa(c[o>>2]|0,1540483477)|0;x=(aa(y,1540483477)|0)^(aa(A>>>24^A,1540483477)|0);A=aa(x>>>13^x,1540483477)|0;x=A>>>15^A;y=c[p>>2]|0;w=x<<24>>24;d=(x<<16>>24)-w+(w*65600|0)|0;w=(x<<8>>24)-d+(d*65600|0)|0;d=(A>>24)-w+(w*65600|0)&((c[q>>2]|0)-y>>2)+-2;w=c[y+(d+1<<2)>>2]|0;A=c[y+(d<<2)>>2]|0;h:do if((A|0)!=(w|0)){d=A;while(1){if((c[d>>2]|0)==(x|0)){Ea=d;break}d=c[d+12>>2]|0;if((d|0)==(w|0))break h}if(Ea){d=dh[c[Ea+4>>2]&15](b,c[Ea+8>>2]|0,Da,k)|0;if((d|0)==-1)break;else if(!d){Ca=z;break g}Pn(m,v,z-v+(((a[z>>0]|0)!=0)<<31>>31)|0);c[f>>2]=c[m>>2];c[f+4>>2]=d;uk(112880,f);d=c[m>>2]|0;if((d|0)==(t|0)){Ca=z;break g}bk(d,(c[u>>2]|0)-d|0);Ca=z;break g}}while(0);Pn(l,v,z-v+(((a[z>>0]|0)!=0)<<31>>31)|0);c[g>>2]=c[l>>2];uk(112800,g);w=c[l>>2]|0;if((w|0)==(r|0))Ca=z;else{bk(w,(c[s>>2]|0)-w|0);Ca=z}}while(0);if(!(a[Ca>>0]|0)){S=53;break}else v=Ca}if((S|0)==17)while(1){S=0;S=17}else if((S|0)==53){i=e;return}}function tl(a){a=a|0;var b=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;b=a+4|0;d=c[b>>2]|0;e=c[d>>2]|0;if(!e){f=d;g=d}else{d=e;do{e=d;d=c[d+8>>2]|0;bk(e,16)}while((d|0)!=0);d=c[b>>2]|0;f=d;g=d}d=a+8|0;c[d>>2]=f;e=a+12|0;h=c[e>>2]|0;i=f;if((g+36|0)>>>0>h>>>0){j=f-g>>2;f=ak(36)|0;k=c[b>>2]|0;l=c[d>>2]|0;if((k|0)==(l|0)){m=b;n=k}else{o=f;p=k;while(1){c[o>>2]=c[p>>2];p=p+4|0;if((p|0)==(l|0))break;else o=o+4|0}m=b;n=c[b>>2]|0}bk(n,36);c[m>>2]=f;m=f+(j<<2)|0;c[d>>2]=m;j=f+36|0;c[e>>2]=j;q=f;r=m;s=j}else{q=g;r=i;s=h}if(r>>>0<(q+36|0)>>>0)
function Po(a){a=a|0;var b=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,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,za=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;do if(a>>>0<245){b=a>>>0<11?16:a+11&-8;d=b>>>3;e=c[30602]|0;f=e>>>d;if(f&3){g=(f&1^1)+d|0;h=g<<1;i=122448+(h<<2)|0;j=122448+(h+2<<2)|0;h=c[j>>2]|0;k=h+8|0;l=c[k>>2]|0;do if((i|0)!=(l|0)){if(l>>>0<(c[30606]|0)>>>0)Oe();m=l+12|0;if((c[m>>2]|0)==(h|0)){c[m>>2]=i;c[j>>2]=l;break}else Oe()}else c[30602]=e&~(1<<g);while(0);l=g<<3;c[h+4>>2]=l|3;j=h+(l|4)|0;c[j>>2]=c[j>>2]|1;n=k;return n|0}j=c[30604]|0;if(b>>>0>j>>>0){if(f){l=2<<d;i=f<<d&(l|0-l);l=(i&0-i)+-1|0;i=l>>>12&16;m=l>>>i;l=m>>>5&8;o=m>>>l;m=o>>>2&4;p=o>>>m;o=p>>>1&2;q=p>>>o;p=q>>>1&1;r=(l|i|m|o|p)+(q>>>p)|0;p=r<<1;q=122448+(p<<2)|0;o=122448+(p+2<<2)|0;p=c[o>>2]|0;m=p+8|0;i=c[m>>2]|0;do if((q|0)!=(i|0)){if(i>>>0<(c[30606]|0)>>>0)Oe();l=i+12|0;if((c[l>>2]|0)==(p|0)){c[l>>2]=q;c[o>>2]=i;s=c[30604]|0;break}else Oe()}else{c[30602]=e&~(1<<r);s=j}while(0);j=r<<3;e=j-b|0;c[p+4>>2]=b|3;i=p+b|0;c[p+(b|4)>>2]=e|1;c[p+j>>2]=e;if(s){j=c[30607]|0;o=s>>>3;q=o<<1;d=122448+(q<<2)|0;f=c[30602]|0;k=1<<o;if(f&k){o=122448+(q+2<<2)|0;h=c[o>>2]|0;if(h>>>0<(c[30606]|0)>>>0)Oe();else{t=o;u=h}}else{c[30602]=f|k;t=122448+(q+2<<2)|0;u=d}c[t>>2]=j;c[u+12>>2]=j;c[j+8>>2]=u;c[j+12>>2]=d}c[30604]=e;c[30607]=i;n=m;return n|0}i=c[30603]|0;if(i){e=(i&0-i)+-1|0;i=e>>>12&16;d=e>>>i;e=d>>>5&8;j=d>>>e;d=j>>>2&4;q=j>>>d;j=q>>>1&2;k=q>>>j;q=k>>>1&1;f=c[122712+((e|i|d|j|q)+(k>>>q)<<2)>>2]|0;q=(c[f+4>>2]&-8)-b|0;k=f;j=f;while(1){f=c[k+16>>2]|0;if(!f){d=c[k+20>>2]|0;if(!d){v=q;w=j;break}else x=d}else x=f;f=(c[x+4>>2]&-8)-b|0;d=f>>>0<q>>>0;q=d?f:q;k=x;j=d?x:j}j=c[30606]|0;if(w>>>0<j>>>0)Oe();k=w+b|0;if(w>>>0>=k>>>0)Oe();q=c[w+24>>2]|0;m=c[w+12>>2]|0;do if((m|0)==(w|0)){p=w+20|0;r=c[p>>2]|0;if(!r){d=w+16|0;f=c[d>>2]|0;if(!f){y=0;break}else{z=f;A=d}}else{z=r;A=p}while(1){p=z+20|0;r=c[p>>2]|0;if(r){z=r;A=p;continue}p=z+16|0;r=c[p>>2]|0;if(!r){B=z;C=A;break}else{z=r;A=p}}if(C>>>0<j>>>0)Oe();else{c[C>>2]=0;y=B;break}}else{p=c[w+8>>2]|0;if(p>>>0<j>>>0)Oe();r=p+12|0;if((c[r>>2]|0)!=(w|0))Oe();d=m+8|0;if((c[d>>2]|0)==(w|0)){c[r>>2]=m;c[d>>2]=p;y=m;break}else Oe()}while(0);do if(q){m=c[w+28>>2]|0;j=122712+(m<<2)|0;if((w|0)==(c[j>>2]|0)){c[j>>2]=y;if(!y){c[30603]=c[30603]&~(1<<m);break}}else{if(q>>>0<(c[30606]|0)>>>0)Oe();m=q+16|0;if((c[m>>2]|0)==(w|0))c[m>>2]=y;else c[q+20>>2]=y;if(!y)break}m=c[30606]|0;if(y>>>0<m>>>0)Oe();c[y+24>>2]=q;j=c[w+16>>2]|0;do if(j)if(j>>>0<m>>>0)Oe();else{c[y+16>>2]=j;c[j+24>>2]=y;break}while(0);j=c[w+20>>2]|0;if(j)if(j>>>0<(c[30606]|0)>>>0)Oe();else{c[y+20>>2]=j;c[j+24>>2]=y;break}}while(0);if(v>>>0<16){q=v+b|0;c[w+4>>2]=q|3;j=w+(q+4)|0;c[j>>2]=c[j>>2]|1}else{c[w+4>>2]=b|3;c[w+(b|4)>>2]=v|1;c[w+(v+b)>>2]=v;j=c[30604]|0;if(j){q=c[30607]|0;m=j>>>3;j=m<<1;p=122448+(j<<2)|0;d=c[30602]|0;r=1<<m;if(d&r){m=122448+(j+2<<2)|0;f=c[m>>2]|0;if(f>>>0<(c[30606]|0)>>>0)Oe();else{D=m;E=f}}else{c[30602]=d|r;D=122448+(j+2<<2)|0;E=p}c[D>>2]=q;c[E+12>>2]=q;c[q+8>>2]=E;c[q+12>>2]=p}c[30604]=v;c[30607]=k}n=w+8|0;return n|0}else F=b}else F=b}else if(a>>>0<=4294967231){p=a+11|0;q=p&-8;j=c[30603]|0;if(j){r=0-q|0;d=p>>>8;if(d)if(q>>>0>16777215)G=31;else{p=(d+1048320|0)>>>16&8;f=d<<p;d=(f+520192|0)>>>16&4;m=f<<d;f=(m+245760|0)>>>16&2;i=14-(d|p|f)+(m<<f>>>15)|0;G=q>>>(i+7|0)&1|i<<1}else G=0;i=c[122712+(G<<2)>>2]|0;a:do if(!i){H=r;I=0;J=0;K=86}else{f=r;m=0;p=q<<((G|0)==31?0:25-(G>>>1)|0);d=i;e=0;while(1){h=c[d+4>>2]&-8;o=h-q|0;if(o>>>0<f>>>0)if((h|0)==(q|0)){L=o;M=d;N=d;K=90;break a}else{O=o;P=d}else{O=f;P=e}o=c[d+20>>2]|0;d=c[d+16+(p>>>31<<2)>>2]|0;h=(o|0)==0|(o|0)==(d|0)?m:o;if(!d){H=O;I=h;J=P;K=86;break}else{f=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Address:xo,_strcpy:$o,_llvm_bswap_i32:dp,_bitshift64Shl:cp,__GLOBAL__sub_I_metaballs_cpp:Dl,__GLOBAL__sub_I_entry_asmjs_cpp:An,__GLOBAL__sub_I_entry_cpp:Nn,runPostSets:Uo,stackAlloc:kh,stackSave:lh,stackRestore:mh,establishStackSpace:nh,setThrew:oh,setTempRet0:rh,getTempRet0:sh,dynCall_viiiii:np,dynCall_vd:op,dynCall_vid:pp,dynCall_vi:qp,dynCall_vii:rp,dynCall_iiiiiii:sp,dynCall_ii:tp,dynCall_viiiiiiiiiii:up,dynCall_viddd:vp,dynCall_iiiiii:wp,dynCall_vidd:xp,dynCall_iiii:yp,dynCall_viiiiiiii:zp,dynCall_viiiiii:Ap,dynCall_viii:Bp,dynCall_vidddd:Cp,dynCall_vdi:Dp,dynCall_viiiiiii:Ep,dynCall_viiiiiiiii:Fp,dynCall_viiiiiiiiii:Gp,dynCall_iii:Hp,dynCall_i:Ip,dynCall_iiiii:Jp,dynCall_vdddddd:Kp,dynCall_vdddd:Lp,dynCall_vdd:Mp,dynCall_v:Np,dynCall_viid:Op,dynCall_viiii:Pp}})
// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var __GLOBAL__sub_I_metaballs_cpp=Module["__GLOBAL__sub_I_metaballs_cpp"]=asm["__GLOBAL__sub_I_metaballs_cpp"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var _strlen=Module["_strlen"]=asm["_strlen"];var __GLOBAL__sub_I_entry_cpp=Module["__GLOBAL__sub_I_entry_cpp"]=asm["__GLOBAL__sub_I_entry_cpp"];var _free=Module["_free"]=asm["_free"];var _main=Module["_main"]=asm["_main"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _memmove=Module["_memmove"]=asm["_memmove"];var _strstr=Module["_strstr"]=asm["_strstr"];var __GLOBAL__sub_I_entry_asmjs_cpp=Module["__GLOBAL__sub_I_entry_asmjs_cpp"]=asm["__GLOBAL__sub_I_entry_asmjs_cpp"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var _memset=Module["_memset"]=asm["_memset"];var _malloc=Module["_malloc"]=asm["_malloc"];var _strncpy=Module["_strncpy"]=asm["_strncpy"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _emscripten_GetProcAddress=Module["_emscripten_GetProcAddress"]=asm["_emscripten_GetProcAddress"];var _strcpy=Module["_strcpy"]=asm["_strcpy"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_vd=Module["dynCall_vd"]=asm["dynCall_vd"];var dynCall_vid=Module["dynCall_vid"]=asm["dynCall_vid"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_viiiiiiiiiii=Module["dynCall_viiiiiiiiiii"]=asm["dynCall_viiiiiiiiiii"];var dynCall_viddd=Module["dynCall_viddd"]=asm["dynCall_viddd"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_vidd=Module["dynCall_vidd"]=asm["dynCall_vidd"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_viiiiiiii=Module["dynCall_viiiiiiii"]=asm["dynCall_viiiiiiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_vidddd=Module["dynCall_vidddd"]=asm["dynCall_vidddd"];var dynCall_vdi=Module["dynCall_vdi"]=asm["dynCall_vdi"];var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=asm["dynCall_viiiiiii"];var dynCall_viiiiiiiii=Module["dynCall_viiiiiiiii"]=asm["dynCall_viiiiiiiii"];var dynCall_viiiiiiiiii=Module["dynCall_viiiiiiiiii"]=asm["dynCall_viiiiiiiiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_vdddddd=Module["dynCall_vdddddd"]=asm["dynCall_vdddddd"];var dynCall_vdddd=Module["dynCall_vdddd"]=asm["dynCall_vdddd"];var dynCall_vdd=Module["dynCall_vdd"]=asm["dynCall_vdd"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_viid=Module["dynCall_viid"]=asm["dynCall_viid"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];Runtime.stackAlloc=asm["stackAlloc"];Runtime.stackSave=asm["stackSave"];Runtime.stackRestore=asm["stackRestore"];Runtime.establishStackSpace=asm["establishStackSpace"];Runtime.setTempRet0=asm["setTempRet0"];Runtime.getTempRet0=asm["getTempRet0"];var i64Math=(function(){var goog={math:{}};goog.math.Long=(function(low,high){this.low_=low|0;this.high_=high|0});goog.math.Long.IntCache_={};goog.math.Long.fromInt=(function(value){if(-128<=value&&value<128){var cachedObj=goog.math.Long.IntCache_[value];if(cachedObj){return cachedObj}}var obj=new goog.math.Long(value|0,value<0?-1:0);if(-128<=value&&value<128){goog.math.Long.IntCache_[value]=obj}return obj});goog.math.Long.fromNumber=(function(value){if(isNaN(value)||!isFinite(value)){return goog.math.Long.ZERO}else if(value<=-goog.math.Long.TWO_PWR_63_DBL_){return goog.math.Long.MIN_VALUE}else if(value+1>=goog.math.Long.TWO_PWR_63_DBL_){return goog.math.Long.MAX_VALUE}else if(value<0){return goog.math.Long.fromNum