Reload your browser to restart the game.",FS.syncfs(!1,(function(e){window.close("","_parent","")}))},onAbort:function(){document.getElementById("canvas").style.display="none",document.getElementById("box").className="error",document.getElementById("title").innerHTML="Crash :(",document.getElementById("message").innerHTML="The game crashed!
Please reload your browser to restart the game."},textInputValue:null,startTextInput:function(e){"none"==document.getElementById("textinput").style.display&&(Module.textInputValue=null,document.getElementById("textinput").style.display="block",document.getElementById("textinputbox").value=e,document.getElementById("textinputbox").focus(),document.getElementById("textinputbox").onkeyup=function(e){"Enter"===e.key&&Module.finishTextInput()})},getTextInput:function(){if(null!==Module.textInputValue){var e=Module.textInputValue;return Module.textInputValue=null,e}return null},finishTextInput:function(){"none"!=document.getElementById("textinput").style.display&&(Module.textInputValue=document.getElementById("textinputbox").value,Module.print(Module.textInputValue),document.getElementById("textinput").style.display="none",document.getElementById("canvas").focus())}};document.getElementById("textinput").style.display="none",document.getElementById("canvas").focus(),window.onerror=function(){Module.onAbort()}