diff --git a/filestorage/gd/ducklife6/index.html b/filestorage/gd/ducklife6/index.html new file mode 100644 index 0000000000000000000000000000000000000000..7590b8bbaf30c194ef9a07bb5e4f3a38455672a8 --- /dev/null +++ b/filestorage/gd/ducklife6/index.html @@ -0,0 +1,39 @@ + + + + + + + +IXL - Dashboard + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/filestorage/gd/ducklife6/rocket-loader.min.js b/filestorage/gd/ducklife6/rocket-loader.min.js new file mode 100644 index 0000000000000000000000000000000000000000..bc15d493d9d814a2ae963cd4d55e4e7efba2cd45 --- /dev/null +++ b/filestorage/gd/ducklife6/rocket-loader.min.js @@ -0,0 +1 @@ +!function(){"use strict";function t(){return"cf-marker-"+Math.random().toString().slice(2)}function e(){for(var t=[],e=0;e"+e.outerHTML+"":e.outerHTML;L.call(document,i);var a=document.querySelector("["+r+"]");if(a){a.removeAttribute(r);var c=n&&a.parentNode;c&&o(c)}return a}function f(t){if(t&&"handleEvent"in t){var e=t.handleEvent;return"function"==typeof e?e.bind(t):e}return t}function h(t,e,n){var r=n?function(t){return e.insertBefore(t,n)}:function(t){return e.appendChild(t)};Array.prototype.slice.call(t).forEach(r)}function v(){return/chrome/i.test(navigator.userAgent)&&/google/i.test(navigator.vendor)}function y(t,e){function n(){this.constructor=t}H(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function m(t){return t instanceof Window?["load"]:t instanceof Document?["DOMContentLoaded","readystatechange"]:[]}function b(t){var e=t.getAttribute(R);if(!e)return null;var n=e.split(T);return{nonce:n[0],handlerPrefixLength:+n[1],bailout:!t.hasAttribute("defer")}}function g(t){var e=B+t.nonce;Array.prototype.forEach.call(document.querySelectorAll("["+e+"]"),function(n){n.removeAttribute(e),Array.prototype.forEach.call(n.attributes,function(e){/^on/.test(e.name)&&"function"!=typeof n[e.name]&&n.setAttribute(e.name,e.value.substring(t.handlerPrefixLength))})})}function S(){var t=window;"undefined"!=typeof Promise&&(t.__cfQR={done:new Promise(function(t){return U=t})})}function w(t){var e=new N(t),n=new C(e);e.harvestScriptsInDocument(),new W(e,{nonce:t,blocking:!0,docWriteSimulator:n,callback:function(){}}).run()}function x(t){var e=new N(t),n=new C(e);e.harvestScriptsInDocument();var r=new W(e,{nonce:t,blocking:!1,docWriteSimulator:n,callback:function(){window.__cfRLUnblockHandlers=!0,r.removePreloadHints(),P(t)}});r.insertPreloadHints(),M.runOnLoad(function(){r.run()})}function P(t){var e=new O(t);M.simulateStateBeforeDeferScriptsActivation(),e.harvestDeferScriptsInDocument(),new W(e,{nonce:t,blocking:!1,callback:function(){M.simulateStateAfterDeferScriptsActivation(),U&&U()}}).run()}var A="http://www.w3.org/2000/svg",E={"application/ecmascript":!0,"application/javascript":!0,"application/x-ecmascript":!0,"application/x-javascript":!0,"text/ecmascript":!0,"text/javascript":!0,"text/javascript1.0":!0,"text/javascript1.1":!0,"text/javascript1.2":!0,"text/javascript1.3":!0,"text/javascript1.4":!0,"text/javascript1.5":!0,"text/jscript":!0,"text/livescript":!0,"text/x-ecmascript":!0,"text/x-javascript":!0,module:!0},k=void 0!==document.createElement("script").noModule,I=function(){var t=window;return t.__rocketLoaderEventCtor||Object.defineProperty(t,"__rocketLoaderEventCtor",{value:Event}),t.__rocketLoaderEventCtor}(),L=document.write,_=document.writeln,H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},D=function(){function t(t){this.nonce=t,this.items=[]}return Object.defineProperty(t.prototype,"hasItems",{get:function(){return this.items.length>0},enumerable:!0,configurable:!0}),t.prototype.pop=function(){return this.items.pop()},t.prototype.forEach=function(t){this.items.forEach(function(e){var n=e.script;return t(n)})},t.prototype.harvestScripts=function(t,e){var n=this,r=e.filter,o=e.mutate;Array.prototype.slice.call(t.querySelectorAll("script")).filter(r).reverse().forEach(function(t){o(t),n.pushScriptOnStack(t)})},t.prototype.pushScriptOnStack=function(t){var e=t.parentNode,n=this.createPlaceholder(t),r=!!i(t);e.replaceChild(n,t),this.items.push({script:t,placeholder:n,external:r,async:r&&t.hasAttribute("async"),executable:c(t)})},t.prototype.hasNonce=function(t){return 0===(t.getAttribute("type")||"").indexOf(this.nonce)},t.prototype.removeNonce=function(t){t.type=t.type.substr(this.nonce.length)},t.prototype.makeNonExecutable=function(t){t.type=this.nonce+t.type},t.prototype.isPendingDeferScript=function(t){return t.hasAttribute("defer")||t.type===this.nonce+"module"&&!t.hasAttribute("async")},t}(),N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.prototype.harvestScriptsInDocument=function(){var t=this;this.harvestScripts(document,{filter:function(e){return t.hasNonce(e)},mutate:function(e){t.isPendingDeferScript(e)||t.removeNonce(e)}})},e.prototype.harvestScriptsAfterDocWrite=function(t){var e=this;this.harvestScripts(t,{filter:c,mutate:function(t){e.isPendingDeferScript(t)&&e.makeNonExecutable(t)}})},e.prototype.createPlaceholder=function(t){return document.createComment(t.outerHTML)},e}(D),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.prototype.harvestDeferScriptsInDocument=function(){var t=this;this.harvestScripts(document,{filter:function(e){return t.hasNonce(e)&&t.isPendingDeferScript(e)},mutate:function(e){return t.removeNonce(e)}})},e.prototype.createPlaceholder=function(t){var e=p(t);return this.makeNonExecutable(e),e},e}(D),C=function(){function t(t){this.scriptStack=t}return t.prototype.enable=function(t){var e=this;this.insertionPointMarker=t,this.buffer="",document.write=function(){for(var t=[],n=0;n",o=t.parseFromString(e,"text/html");if(this.scriptStack.harvestScriptsAfterDocWrite(o),n(o.head.childNodes,this.insertionPointMarker),o.body.childNodes.length){for(var i=Array.prototype.slice.call(o.body.childNodes),a=this.insertionPointMarker.nextSibling;a;)i.push(a),a=a.nextSibling;document.body||L.call(document,""),r(i,document.body)}},t.prototype.insertContentInBody=function(){var t=this.insertionPointMarker.parentElement,e=document.createElement(t.tagName);e.innerHTML=this.buffer,this.scriptStack.harvestScriptsAfterDocWrite(e),n(e.childNodes,this.insertionPointMarker)},t.prototype.write=function(t,e){var n=document.currentScript;n&&i(n)&&n.hasAttribute("async")?(r=e?_:L).call.apply(r,[document].concat(t)):this.buffer+=t.map(String).join(e?"\n":"");var r},t}(),j=function(){function t(){var t=this;this.simulatedReadyState="loading",this.bypassEventsInProxies=!1,this.nativeWindowAddEventListener=window.addEventListener;try{Object.defineProperty(document,"readyState",{get:function(){return t.simulatedReadyState}})}catch(e){}this.setupEventListenerProxy(),this.updateInlineHandlers()}return t.prototype.runOnLoad=function(t){var e=this;this.nativeWindowAddEventListener.call(window,"load",function(n){if(!e.bypassEventsInProxies)return t(n)})},t.prototype.updateInlineHandlers=function(){this.proxyInlineHandler(document,"onreadystatechange"),this.proxyInlineHandler(window,"onload"),document.body&&this.proxyInlineHandler(document.body,"onload")},t.prototype.simulateStateBeforeDeferScriptsActivation=function(){this.bypassEventsInProxies=!0,this.simulatedReadyState="interactive",l(document,"readystatechange"),this.bypassEventsInProxies=!1},t.prototype.simulateStateAfterDeferScriptsActivation=function(){var t=this;this.bypassEventsInProxies=!0,l(document,"DOMContentLoaded"),this.simulatedReadyState="complete",l(document,"readystatechange"),l(window,"load"),this.bypassEventsInProxies=!1,window.setTimeout(function(){return t.bypassEventsInProxies=!0},0)},t.prototype.setupEventListenerProxy=function(){var t=this;("undefined"!=typeof EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]).forEach(function(e){return t.patchEventTargetMethods(e)})},t.prototype.patchEventTargetMethods=function(t){var e=this,n=t.addEventListener,r=t.removeEventListener;t.addEventListener=function(t,r){for(var o=[],i=2;i + + + + + + + + + + + + + + IXL - Dashboard + + + + + + + + + + +
+ + +

Your browser doesn't support HTML5 canvas.

+
+
+ + + + + + + + \ No newline at end of file diff --git a/filestorage/gd/office-fight/index.html b/filestorage/gd/office-fight/index.html new file mode 100644 index 0000000000000000000000000000000000000000..f281e3c22f921a0a09a2d070c014675355a6941a --- /dev/null +++ b/filestorage/gd/office-fight/index.html @@ -0,0 +1,125 @@ + + + + + + +Unity WebGL Player | Funny Puzzles + + + + + + +
+ +
+ +
+
+
+
+
+
+ + + + diff --git a/filestorage/gd/qwook-last-seen-online/assets.js b/filestorage/gd/qwook-last-seen-online/assets.js new file mode 100644 index 0000000000000000000000000000000000000000..437ffdb9d85eefbe9b29e8d819e8a90910e0693a --- /dev/null +++ b/filestorage/gd/qwook-last-seen-online/assets.js @@ -0,0 +1,256 @@ + + const loadQueue = []; + +function Load(path) { + // Load path into an that is hidden in the background: + let img; + + const handled = () => { + if (img.parentNode === document.body) { + document.body.removeChild(img); + } + + if (loadQueue.length > 0) { + Load(loadQueue.shift()); + } + }; + + if (path.endsWith(".mp3") || path.endsWith(".wav")) { + // return path; + if (typeof Audio === "undefined") { + return; + } + img = new Audio(); + img.addEventListener("loadeddata", handled); + } else if (path.endsWith(".mp4")) { + img = document.createElement("video"); + img.addEventListener("canplay", handled); + } else { + img = new Image(); + // Delete img once the image has loaded: + img.onload = handled; + // Also handle when img doesn't successfully load: + img.onerror = handled; + } + img.style.display = "none"; + document.body.appendChild(img); + + img.src = path; +} + +let loaded = 0; +function QueueToLoad(path) { + if (loaded < 5) { + Load(path); + loaded++; + } else { + loadQueue.push(path); + } +} + + QueueToLoad("./assets/bubble.f2df5515d875bfb422b0.gif"); +QueueToLoad("./assets/loseamp.5b7d327e9fdbfbaaeb73.gif"); +QueueToLoad("./assets/otherworlds.aba358b4131fa3282fc2.gif"); +QueueToLoad("./assets/folder.9605776671c9b7a6d97f.gif"); +QueueToLoad("./assets/photo.35907fa6d5c1cafcde93.gif"); +QueueToLoad("./assets/notepad.e9430243fd32543de900.gif"); +QueueToLoad("./assets/gear.100ad850915b524e939e.png"); +QueueToLoad("./assets/fake_camera.c39352704197279ab4b5.png"); +QueueToLoad("./assets/fullscreen.2759113d3a7b7b217822.png"); +QueueToLoad("./assets/house.8fc649925cc3934f39cc.gif"); +QueueToLoad("./assets/hints.b93459d8966ee762de33.png"); +QueueToLoad("./assets/birthday_wallpaper.aa1805df5a118859174a.gif"); +QueueToLoad("./assets/liz_em_desktop.c855514e7ee467183c63.gif"); +QueueToLoad("./assets/typing.3badeee93e2a04861940.png"); +QueueToLoad("./assets/move.c924d2db82500e505747.png"); +QueueToLoad("./assets/arrow2x.952d3842b6daaeba0fa1.png"); +QueueToLoad("./assets/pointer2x.693569d19d5e22ee6c90.png"); +QueueToLoad("./assets/busy.6258b3802062858ef3ed.png"); +QueueToLoad("./assets/pc_horror.1bda71cfb53864b6869b.png"); +QueueToLoad("./assets/check.48fc8a62e22e73b8f888.png"); +QueueToLoad("./assets/slider.bd31e3920e4570144a8a.png"); +QueueToLoad("./assets/back_up_arrow.b9b9daff7a5c825a47d3.png"); +QueueToLoad("./assets/folder2.4f0f84ec5e1e148efff8.gif"); +QueueToLoad("./assets/play.2af606f73448cf66a8c5.gif"); +QueueToLoad("./assets/mic.59a43b7d043b583f43f3.png"); +QueueToLoad("./assets/liz_em_desktop_cropped.0dc544973dfb61d5b411.gif"); +QueueToLoad("./assets/lawson.5c7c51295dbe9c6df814.gif"); +QueueToLoad("./assets/liz.f65d8fd109076025b69d.gif"); +QueueToLoad("./assets/creepyvid2.092a95f7cf9119f35a6f.mp4"); +QueueToLoad("./assets/ritual1.8e898b84d94cea0b4ca1.gif"); +QueueToLoad("./assets/ritual2.05fa0ba27fb3275ea2c2.gif"); +QueueToLoad("./assets/ritual3.d847ca0945b2d19f4f5e.gif"); +QueueToLoad("./assets/ritual4.70db979383efee5f65ad.gif"); +QueueToLoad("./assets/song_1_2.3b90a68a619108bb039a.mp3"); +QueueToLoad("./assets/game_2_hands.a77ed87a719732f95d2e.mp3"); +QueueToLoad("./assets/song_3_2.24e69a7bbe413a038296.mp3"); +QueueToLoad("./assets/song_6_2.1007506e15a79c4fd496.mp3"); +QueueToLoad("./assets/song_7.86c1088b3d344f8166bd.mp3"); +QueueToLoad("./assets/song_5_2.ddb7bbd3f6e8ce57e0ce.mp3"); +QueueToLoad("./assets/song_4.63b5339e8119e0953078.mp3"); +QueueToLoad("./assets/song_8.fa59cad655ea848c31ea.mp3"); +QueueToLoad("./assets/tutorial.31ef9df7126f50d48b7d.mp3"); +QueueToLoad("./assets/login.88c6eeca1696e7b5aeef.mp3"); +QueueToLoad("./assets/house1_wind.5da5ef7366266d79f650.mp3"); +QueueToLoad("./assets/house_statue.69204d437f21ff9aed2f.mp3"); +QueueToLoad("./assets/dialup.8f9c0e3cfa94ec55c6d1.mp3"); +QueueToLoad("./assets/beep.7a4a1c1d3557631de9e1.mp3"); +QueueToLoad("./assets/tribute_2.b7f1d5c5c936b17d08cc.mp3"); +QueueToLoad("./assets/phonecall.242121f1a5a73ca823b4.mp3"); +QueueToLoad("./assets/fountain.929b5a2b891ff542f514.mp3"); +QueueToLoad("./assets/ending2.aa9fd0bc15a18011d5f5.mp3"); +QueueToLoad("./assets/receive.539ffeffa285ee3c891b.mp3"); +QueueToLoad("./assets/credits.0562cf1b60c4047cfa48.mp3"); +QueueToLoad("./assets/send.7d3772040d3d41cbfc23.mp3"); +QueueToLoad("./assets/disco.e7b5f5ac3d421255c6ce.mp3"); +QueueToLoad("./assets/retribution.7e00a40b60eee610b6f9.mp3"); +QueueToLoad("./assets/buddylist.c023b5a07a8e4efac4c9.gif"); +QueueToLoad("./assets/corruption.9a4e57e6cfeed77e28db.gif"); +QueueToLoad("./assets/im_receive_echo.3bdb2dbe14906554b402.mp3"); +QueueToLoad("./assets/mousedown.fa4b9d00f42e7f87cb06.mp3"); +QueueToLoad("./assets/mouseup.607540a207ea846c8f94.mp3"); +QueueToLoad("./assets/key1_down.79dc7bae09bb40fab84d.mp3"); +QueueToLoad("./assets/phone.5a5bfe648bd7114b47b2.mp3"); +QueueToLoad("./assets/key1_up.ad18c0c35729ce7442ad.mp3"); +QueueToLoad("./assets/key2_down.8467945cc1a9d588115e.mp3"); +QueueToLoad("./assets/key2_up.b81cea993623b167eb24.mp3"); +QueueToLoad("./assets/key3_down.b495db48293cc4d2b774.mp3"); +QueueToLoad("./assets/key3_up.c31437b1fc27019cc43a.mp3"); +QueueToLoad("./assets/key4_down.92ef32709433cac5477f.mp3"); +QueueToLoad("./assets/key4_up.265e8ebb473011a1c9c7.mp3"); +QueueToLoad("./assets/key5_down.c609fc9b2914d815e061.mp3"); +QueueToLoad("./assets/key5_up.86af276c8bcfb07e1e3f.mp3"); +QueueToLoad("./assets/knock.0f3cffd09f93a807fd7e.mp3"); +QueueToLoad("./assets/knock_echo.bf975f73e0962288d1d7.mp3"); +QueueToLoad("./assets/door_open.7cd515a9d3e724377560.mp3"); +QueueToLoad("./assets/candle.c4966b0ef4dc62170eec.mp3"); +QueueToLoad("./assets/rumble.130199303805ec1b2d45.mp3"); +QueueToLoad("./assets/stonebutton.a88aac145bf921c34a30.mp3"); +QueueToLoad("./assets/door_close_buddylist.e96ebe75b7a75392dec2.mp3"); +QueueToLoad("./assets/aum_single.c4b54d3cfbc3d62444fb.mp3"); +QueueToLoad("./assets/twinkle2.d0c7c551ee38253d34cf.mp3"); +QueueToLoad("./assets/twinkle1.b4aadeba26be0be6e256.mp3"); +QueueToLoad("./assets/Plaster.ac645ff9a50fd50604c7.png"); +QueueToLoad("./assets/congratulations.0904d14b4b7a5177496c.gif"); +QueueToLoad("./assets/clap.d7d8efc7a9b388706497.gif"); +QueueToLoad("./assets/bts1.ce40cd10a1f712599bff.gif"); +QueueToLoad("./assets/bts2.fd0eb63cef543a4effa5.gif"); +QueueToLoad("./assets/bts6.e262c98119540c490cd1.gif"); +QueueToLoad("./assets/bts3.74689715832191efe6f3.gif"); +QueueToLoad("./assets/bts5.3a0adc41fe97498b2aac.gif"); +QueueToLoad("./assets/bts4.499a1f8aec8b99efc99f.gif"); +QueueToLoad("./assets/bts_jenna.d6d6effa553725752b52.gif"); +QueueToLoad("./assets/bts_isabel.47f25eb0f77f9d6f4f93.gif"); +QueueToLoad("./assets/bts_fountain.1726bd287ddc63118135.gif"); +QueueToLoad("./assets/bts_bg.b3dba07844835a5841c5.gif"); +QueueToLoad("./assets/desk.4ba0a6cf4962289e7f17.gif"); +QueueToLoad("./assets/scan1.a640186201451a3ad717.gif"); +QueueToLoad("./assets/en.9cb3933bb4f16634b766.jsonc"); +QueueToLoad("./assets/fr.e6665df5aada37acff64.jsonc"); +QueueToLoad("./assets/it.54d9ca131acf04041b06.jsonc"); +QueueToLoad("./assets/id.c648ac5f9b773700ebe2.jsonc"); +QueueToLoad("./assets/ru.4ecffbcdb417d1b52653.jsonc"); +QueueToLoad("./assets/jp.f06f812944b9b3315c0f.jsonc"); +QueueToLoad("./assets/cz.0ea25e9620918415e2b1.jsonc"); +QueueToLoad("./assets/cn_simplified.8661b534eb181e97e35e.jsonc"); +QueueToLoad("./assets/es.e6a78f6a6d82aab7977b.jsonc"); +QueueToLoad("./assets/eo.8b806132758cf815bdfb.jsonc"); +QueueToLoad("./assets/ua-uk.a2f2e42159f846ad59fc.jsonc"); +QueueToLoad("./assets/pl.ad0459f81d48a34adb7a.jsonc"); +QueueToLoad("./assets/kr.7cac458a4f03cda084ed.jsonc"); +QueueToLoad("./assets/pt.64f8e91dcffb11d3cdbf.jsonc"); +QueueToLoad("./assets/tr.2fc07abe241f1e7308c8.jsonc"); +QueueToLoad("./assets/sign_customworld.c546bd3a4a4a225a7a07.gif"); +QueueToLoad("./assets/sign_house.8fbb21cf59f27bc26b34.gif"); +QueueToLoad("./assets/playername.ee76661cc774c092cd31.png"); +QueueToLoad("./assets/discofloor.d7ee881105827ea6cf4e.gif"); +QueueToLoad("./assets/clock.c493085c7eba368eec45.png"); +QueueToLoad("./assets/clock_hand1.b99c9875a12dd66cc17e.png"); +QueueToLoad("./assets/clock_hand2.b280b3375fd515afb2e9.png"); +QueueToLoad("./assets/Grass.7a69caabfea1d587e104.png"); +QueueToLoad("./assets/disco.90ce591eba585e4dc9c1.png"); +QueueToLoad("./assets/noise_black_transparent.3768f6eac4994843ded6.png"); +QueueToLoad("./assets/disco_statue.f6932c356402f4dae092.gif"); +QueueToLoad("./assets/liz_glow.f74bdb2d248de8d20b1c.png"); +QueueToLoad("./assets/PIXEARG_.dcb6c402987977c07259.ttf"); +QueueToLoad("./assets/PIXEAB__.e1d1622c832a3e2c218f.ttf"); +QueueToLoad("./assets/fusion-pixel-12px-proportional-latin.fe619a1165b50ea8c935.otf"); +QueueToLoad("./assets/fusion-pixel-12px-proportional-ja.48cd791b1bdd3fa4fb31.otf"); +QueueToLoad("./assets/fusion-pixel-12px-proportional-ko.90a080428337f4b294ae.otf"); +QueueToLoad("./assets/fusion-pixel-12px-proportional-zh_hans.70f66c6222d0398a7e23.otf"); +QueueToLoad("./assets/fusion-pixel-12px-proportional-zh_hant.2335a4ad1ef1a99d19fe.otf"); +QueueToLoad("./assets/PixeloidSans.e3def220c35436048cae.otf"); +QueueToLoad("./assets/vignette.6c28c88519d612695303.png"); +QueueToLoad("./assets/login.fd3cf57a2e572662a236.png"); +QueueToLoad("./assets/password_help.28d96b38f282d6ce7e42.png"); +QueueToLoad("./assets/comic-sans-ms-pixel-rus-eng.31dba021cca18d2274fc.otf"); +QueueToLoad("./assets/PixeloidSans-Bold.ea46f15498a98fe48461.otf"); +QueueToLoad("./assets/arrow.f9c19299d94dac69842d.png"); +QueueToLoad("./assets/wood.f1522b05e430b453f1de.gif"); +QueueToLoad("./assets/brick2.a23d35a9c380dec75ade.gif"); +QueueToLoad("./assets/brick.a23d35a9c380dec75ade.gif"); +QueueToLoad("./assets/glow.1c2e09dd97e7367350e9.png"); +QueueToLoad("./assets/bookglow.bbc0b0b286859ad8f9d3.png"); +QueueToLoad("./assets/skybox.eea96d9c2e969855370e.png"); +QueueToLoad("./assets/candle.2bf72b1cd4796816726b.png"); +QueueToLoad("./assets/candle_unlit.3c510550ed0ba2d2691c.png"); +QueueToLoad("./assets/door_knocker_1.d16f767413dc8eed0331.gif"); +QueueToLoad("./assets/door_knocker_2.a4eb782a1f0962554a21.gif"); +QueueToLoad("./assets/goat.755952c87a44ec614854.gif"); +QueueToLoad("./assets/cow.a0c361f84e5634b7dd1d.gif"); +QueueToLoad("./assets/flag.7b2971fdc66b08c50b2f.gif"); +QueueToLoad("./assets/glow_question.2bf3ddbf0c344e201ac6.png"); +QueueToLoad("./assets/glow_cow.c13d8d3123b7be36bf48.png"); +QueueToLoad("./assets/eagle.9498a502e499c4acafdf.gif"); +QueueToLoad("./assets/glow_lion.f36658b3b9142bbf0ffd.png"); +QueueToLoad("./assets/glow_goat.59c697b9a036f3c958b5.png"); +QueueToLoad("./assets/lion.c2e14f51fb4987861bd3.gif"); +QueueToLoad("./assets/glow_eagle.f177a802bd2cec64e28d.png"); +QueueToLoad("./assets/portrait1.18ebb488b3b8a1649bd1.gif"); +QueueToLoad("./assets/portrait3.d3e313123d676125bd1f.gif"); +QueueToLoad("./assets/portrait2.3e4ef710257cabce5953.gif"); +QueueToLoad("./assets/portrait4.d1f273b21dca4c385ebd.gif"); +QueueToLoad("./assets/fountain_loop.99d50b403f96c8251e28.mp3"); +QueueToLoad("./assets/fountain.74ed50d29d28d583b979.gif"); +QueueToLoad("./assets/shape3.ccf3b8ca527241ab9639.png"); +QueueToLoad("./assets/shape2.3074d490271211a54a19.png"); +QueueToLoad("./assets/shape1.b3d6cb32cc5e572d4144.png"); +QueueToLoad("./assets/letter_button.972965872516f47ffc74.png"); +QueueToLoad("./assets/f.a2a0c9b89a499cba12de.png"); +QueueToLoad("./assets/e.c41658b82eebb47840f0.png"); +QueueToLoad("./assets/v.712d912e7e70d9c600c3.png"); +QueueToLoad("./assets/r.8b9ab9bbb06723305a4f.png"); +QueueToLoad("./assets/d.e7855cb18738c1637945.png"); +QueueToLoad("./assets/a.8be027d5deade1bfb6a4.png"); +QueueToLoad("./assets/m.03c377cc5ab352f0ab2a.png"); +QueueToLoad("./assets/o.a919d582b9baf4b440f2.png"); +QueueToLoad("./assets/s.fb755407630154efb268.png"); +QueueToLoad("./assets/i.8cc8916c474230d404d6.png"); +QueueToLoad("./assets/u.2d4a919d67cd8087e81c.png"); +QueueToLoad("./assets/l.2662616cc12340143b11.png"); +QueueToLoad("./assets/t.60c1e40509c5334705de.png"); +QueueToLoad("./assets/n.fe9b28ecff3a79efbb1b.png"); +QueueToLoad("./assets/b.e6466061cedc8c6dd6c6.png"); +QueueToLoad("./assets/h.30a9b642fcbf7b4ac950.png"); +QueueToLoad("./assets/question.e3639fc3624a0cf82de0.png"); +QueueToLoad("./assets/frame1.beffaa66435c1dc6bd50.png"); +QueueToLoad("./assets/frame2.ca0f3a8b21518d509313.png"); +QueueToLoad("./assets/frame3.629699bb9c682302d116.png"); +QueueToLoad("./assets/profile.e8be6395147fcd4c13a0.gif"); +QueueToLoad("./assets/liz_j.9d7f25ccbb2325b419c8.png"); +QueueToLoad("./assets/symbol1.23372ff7a94ed7740080.png"); +QueueToLoad("./assets/symbol2.9001fa94441e0b6519e7.png"); +QueueToLoad("./assets/symbol3.6697a74da418cd7d2843.png"); +QueueToLoad("./assets/symbol4.73149023c034fd9a0d3e.png"); +QueueToLoad("./assets/symbol5.a358c3557a1bea8ee3f0.png"); +QueueToLoad("./assets/symbol6.5778b960cd2a2230d1c6.png"); +QueueToLoad("./assets/lock.dc4bd63f43fbbcc77691.png"); +QueueToLoad("./assets/train.6dbf0ab72bca15ac5d2d.gif"); +QueueToLoad("./assets/rain.276da54aa3e0f0ceff6c.gif"); +QueueToLoad("./assets/bird.7635e44300fa76ce493f.gif"); +QueueToLoad("./assets/run.6ba21f64e9fcd4325ed1.gif"); +QueueToLoad("./assets/hell.808adc8e76c2f976ab93.png"); +QueueToLoad("./assets/scrollbar_up.a2169395a19a06752f56.png"); +QueueToLoad("./assets/scrollbar_down.1cc3f92fbb786fe2f4da.png"); +QueueToLoad("./assets/scrollbar_sandie.d21a12b3ea3e2a39039e.png"); + \ No newline at end of file diff --git a/filestorage/gd/qwook-last-seen-online/bundle.js b/filestorage/gd/qwook-last-seen-online/bundle.js new file mode 100644 index 0000000000000000000000000000000000000000..f3fe0313ac37adbd6593cbcee17c24ebfcd26aea --- /dev/null +++ b/filestorage/gd/qwook-last-seen-online/bundle.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,t={266:(e,t,n)=>{n.d(t,{A:()=>s});const s='Copyright (c) 2019-2023 Minseo Lee (itoupluk427@gmail.com)\n\nThis Font Software is licensed under the SIL Open Font License, Version 1.1.\nThis license is copied below, and is also available with a FAQ at:\nhttp://scripts.sil.org/OFL\n\n\n-----------------------------------------------------------\nSIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\n-----------------------------------------------------------\n\nPREAMBLE\nThe goals of the Open Font License (OFL) are to stimulate worldwide\ndevelopment of collaborative font projects, to support the font creation\nefforts of academic and linguistic communities, and to provide a free and\nopen framework in which fonts may be shared and improved in partnership\nwith others.\n\nThe OFL allows the licensed fonts to be used, studied, modified and\nredistributed freely as long as they are not sold by themselves. The\nfonts, including any derivative works, can be bundled, embedded, \nredistributed and/or sold with any software provided that any reserved\nnames are not used by derivative works. The fonts and derivatives,\nhowever, cannot be released under any other type of license. The\nrequirement for fonts to remain under this license does not apply\nto any document created using the fonts or their derivatives.\n\nDEFINITIONS\n"Font Software" refers to the set of files released by the Copyright\nHolder(s) under this license and clearly marked as such. This may\ninclude source files, build scripts and documentation.\n\n"Reserved Font Name" refers to any names specified as such after the\ncopyright statement(s).\n\n"Original Version" refers to the collection of Font Software components as\ndistributed by the Copyright Holder(s).\n\n"Modified Version" refers to any derivative made by adding to, deleting,\nor substituting -- in part or in whole -- any of the components of the\nOriginal Version, by changing formats or by porting the Font Software to a\nnew environment.\n\n"Author" refers to any designer, engineer, programmer, technical\nwriter or other person who contributed to the Font Software.\n\nPERMISSION & CONDITIONS\nPermission is hereby granted, free of charge, to any person obtaining\na copy of the Font Software, to use, study, copy, merge, embed, modify,\nredistribute, and sell modified and unmodified copies of the Font\nSoftware, subject to the following conditions:\n\n1) Neither the Font Software nor any of its individual components,\nin Original or Modified Versions, may be sold by itself.\n\n2) Original or Modified Versions of the Font Software may be bundled,\nredistributed and/or sold with any software, provided that each copy\ncontains the above copyright notice and this license. These can be\nincluded either as stand-alone text files, human-readable headers or\nin the appropriate machine-readable metadata fields within text or\nbinary files as long as those fields can be easily viewed by the user.\n\n3) No Modified Version of the Font Software may use the Reserved Font\nName(s) unless explicit written permission is granted by the corresponding\nCopyright Holder. This restriction only applies to the primary font name as\npresented to the users.\n\n4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\nSoftware shall not be used to promote, endorse or advertise any\nModified Version, except to acknowledge the contribution(s) of the\nCopyright Holder(s) and the Author(s) or with their explicit written\npermission.\n\n5) The Font Software, modified or unmodified, in part or in whole,\nmust be distributed entirely under this license, and must not be\ndistributed under any other license. The requirement for fonts to\nremain under this license does not apply to any document created\nusing the Font Software.\n\nTERMINATION\nThis license becomes null and void if any of the above conditions are\nnot met.\n\nDISCLAIMER\nTHE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\nOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\nCOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nINCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\nOTHER DEALINGS IN THE FONT SOFTWARE.\n'},1726:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(74848),o=s(n(93136)),i=s(n(96540)),a=s(n(5338)),l=s(n(58648));a.default.createRoot(document.getElementById("root")).render((0,r.jsx)(i.default.StrictMode,{children:(0,r.jsx)(o.default,{})})),(0,l.default)()},1909:(e,t,n)=>{e.exports=n.p+"assets/e.c41658b82eebb47840f0.png"},2266:(e,t,n)=>{e.exports=n.p+"assets/ritual4.70db979383efee5f65ad.gif"},2484:(e,t,n)=>{e.exports=n.p+"assets/portrait2.3e4ef710257cabce5953.gif"},2777:(e,t,n)=>{e.exports=n.p+"assets/fountain_loop.99d50b403f96c8251e28.mp3"},2905:(e,t,n)=>{e.exports=n.p+"assets/bts4.499a1f8aec8b99efc99f.gif"},3811:(e,t,n)=>{e.exports=n.p+"assets/disco.90ce591eba585e4dc9c1.png"},3939:(e,t,n)=>{e.exports=n.p+"assets/congratulations.0904d14b4b7a5177496c.gif"},4683:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({onFinishDownloading:e}){const[t,n]=(0,l.useState)(!1),[s,r]=(0,l.useState)([]),{orientation:o,size:u}=(0,l.useContext)(c.LayoutContext),{makeWindowInvisible:p,makeWindowVisible:h,bringToTop:f}=(0,l.useContext)(a.WindowManagerContext),x=(0,l.useRef)(0),m=()=>{d.SHOW_HOUSE_AFTER_LOAD&&(h("house"),f("house"))};return(0,l.useEffect)((()=>{if(t){const t=setInterval((()=>{if(x.current>18)return p("house-loading"),e(),void m();r((e=>{const t=[...e];return t.push(t.length+1),x.current=t.length,t}))}),400),n=setInterval((()=>{if(x.current>18)return p("house-loading"),e(),void m();r((e=>{const t=[...e];return t.push(t.length+1),x.current=t.length,t}))}),277),s=setInterval((()=>{if(x.current>18)return p("house-loading"),e(),void m();r((e=>{const t=[...e];return t.push(t.length+1),x.current=t.length,t}))}),655);return()=>{clearInterval(t),clearInterval(n),clearInterval(s)}}}),[t,p]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{name:"house-loading",initialPosition:{x:200,y:200},title:"Net Surfer",disableCloseButton:!0,onVisibleChange:e=>{n(e)},children:(0,i.jsxs)("div",{style:{padding:30},children:["Downloading redherring.exe...",(0,i.jsx)("div",{className:"house-progress",children:s.map(((e,t)=>(0,i.jsx)("div",{className:"house-progress-block"},t)))})]})}),(0,i.jsx)(a.default,{name:"house",initialPosition:{x:"landscape"===o?250:60,y:"landscape"===o?30:200},title:"redherring.exe",style:{background:"white",border:2*u+"px solid black"},topBarStyle:{padding:10*u,background:"black",color:"white"},children:(0,i.jsx)("div",{style:{position:"relative",width:800*u*.6,height:600*u*.6},children:(0,i.jsx)("div",{style:{transform:`translate(-50%, -50%) scale(${.6*u})`,position:"absolute",top:"50%",left:"50%"},children:(0,i.jsx)("iframe",{title:"Chia House",id:"ChiaHouse",src:"https://las-pinas.com/h.html?i=henry",style:{width:800,height:600,border:"none",overflow:"scroll"},houseid:"henry"})})})})]})};const i=n(74848),a=o(n(96886)),l=n(96540),c=n(49616),d=n(78815);n(91722)},5159:(e,t,n)=>{e.exports=n.p+"assets/goat.755952c87a44ec614854.gif"},5266:(e,t,n)=>{e.exports=n.p+"assets/mouseup.607540a207ea846c8f94.mp3"},5316:(e,t,n)=>{e.exports=n.p+"assets/l.2662616cc12340143b11.png"},5723:(e,t,n)=>{e.exports=n.p+"assets/credits.0562cf1b60c4047cfa48.mp3"},7216:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoiseGrainPass2=void 0;const s=n(14754),r=n(27186),o=n(9400);class i extends s.Pass{material;fsQuad;uniforms;constructor(){super(),o.NoiseGrainShader2;const e=o.NoiseGrainShader2;this.uniforms=r.UniformsUtils.clone(e.uniforms),this.material=new r.ShaderMaterial({uniforms:this.uniforms,vertexShader:e.vertexShader,fragmentShader:e.fragmentShader}),this.fsQuad=new s.FullScreenQuad(this.material)}render(e,t,n,s){this.uniforms.tDiffuse.value=n.texture,this.renderToScreen?(e.setRenderTarget(null),this.fsQuad.render(e)):(e.setRenderTarget(t),this.clear&&e.clear(),this.fsQuad.render(e))}}t.NoiseGrainPass2=i},7443:(e,t,n)=>{e.exports=n.p+"assets/key2_up.b81cea993623b167eb24.mp3"},7898:(e,t,n)=>{e.exports=n.p+"assets/check.48fc8a62e22e73b8f888.png"},8632:(e,t,n)=>{e.exports=n.p+"assets/clock.c493085c7eba368eec45.png"},8836:(e,t,n)=>{e.exports=n.p+"assets/house_statue.69204d437f21ff9aed2f.mp3"},8870:(e,t,n)=>{e.exports=n.p+"assets/vignette.6c28c88519d612695303.png"},9345:(e,t,n)=>{e.exports=n.p+"assets/PIXEARG_.dcb6c402987977c07259.ttf"},9400:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NoiseGrainShader2=void 0;const r=s(n(35818));t.NoiseGrainShader2={uniforms:{tDiffuse:{value:null}},vertexShader:["varying vec2 vUv;","void main() {","\tvUv = uv;","\tgl_Position = vec4( position, 1.0 );","}"].join("\n"),fragmentShader:r.default}},9560:(e,t,n)=>{e.exports=n.p+"assets/frame3.629699bb9c682302d116.png"},9657:(e,t,n)=>{e.exports=n.p+"assets/en.9cb3933bb4f16634b766.jsonc"},9674:(e,t,n)=>{e.exports=n.p+"assets/aum_single.c4b54d3cfbc3d62444fb.mp3"},9924:(e,t,n)=>{e.exports=n.p+"assets/wood.f1522b05e430b453f1de.gif"},11079:(e,t,n)=>{e.exports=n.p+"assets/fusion-pixel-12px-proportional-zh_hant.2335a4ad1ef1a99d19fe.otf"},11455:(e,t,n)=>{e.exports=n.p+"assets/symbol6.5778b960cd2a2230d1c6.png"},11963:(e,t,n)=>{e.exports=n.p+"assets/cow.a0c361f84e5634b7dd1d.gif"},12366:(e,t,n)=>{e.exports=n.p+"assets/song_7.86c1088b3d344f8166bd.mp3"},12795:(e,t,n)=>{n.d(t,{A:()=>s});const s="The FontStruction “Comic Sans MS pixel rus eng”\n(https://fontstruct.com/fontstructions/show/1376562) by “JustAngelSQ” is\nlicensed under a Creative Commons Attribution Share Alike license\n(http://creativecommons.org/licenses/by-sa/3.0/).\r\n“Comic Sans MS pixel rus eng” was originally cloned (copied) from the\nFontStruction “Sans” (https://fontstruct.com/fontstructions/show/1212388) by\nRyan Brotherston, which is licensed under a Creative Commons Attribution Share\nAlike license (http://creativecommons.org/licenses/by-sa/3.0/)."},13224:(e,t,n)=>{e.exports=n.p+"assets/typing.3badeee93e2a04861940.png"},13713:(e,t,n)=>{e.exports=n.p+"assets/ua-uk.a2f2e42159f846ad59fc.jsonc"},14107:(e,t,n)=>{e.exports=n.p+"assets/fusion-pixel-12px-proportional-latin.fe619a1165b50ea8c935.otf"},14757:(e,t,n)=>{e.exports=n.p+"assets/twinkle1.b4aadeba26be0be6e256.mp3"},14962:(e,t,n)=>{e.exports=n.p+"assets/scrollbar_up.a2169395a19a06752f56.png"},15049:(e,t,n)=>{e.exports=n.p+"assets/i.8cc8916c474230d404d6.png"},15392:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoiseGrainShader=void 0,t.NoiseGrainShader={uniforms:{tDiffuse:{value:null},tGhostGirl:{value:null},time:{value:0},nIntensity:{value:.5},sIntensity:{value:.05},sCount:{value:4096},grayscale:{value:1}},vertexShader:["varying vec2 vUv;","void main() {","\tvUv = uv;","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );","}"].join("\n"),fragmentShader:'\n #include \n precision mediump float;\n\n // control parameter\n uniform float time;\n\n uniform bool grayscale;\n\n // noise effect intensity value (0 = no effect, 1 = full effect)\n uniform float nIntensity;\n\n // scanlines effect intensity value (0 = no effect, 1 = full effect)\n uniform float sIntensity;\n\n // scanlines effect count value (0 = no effect, 4096 = full effect)\n uniform float sCount;\n\n uniform sampler2D tDiffuse;\n uniform sampler2D tGhostGirl;\n\n varying vec2 vUv;\n\n // " vec4 sharpen(in sampler2D tex, in vec2 coords, in vec2 renderSize) {\n // " float dx = 1.0 / renderSize.x;\n // " float dy = 1.0 / renderSize.y;\n // " vec4 sum = vec4(0.0);\n // " sum += -1. * texture2D(tex, coords + vec2( -1.0 * dx , 0.0 * dy));\n // " sum += -1. * texture2D(tex, coords + vec2( 0.0 * dx , -1.0 * dy));\n // " sum += 5. * texture2D(tex, coords + vec2( 0.0 * dx , 0.0 * dy));\n // " sum += -1. * texture2D(tex, coords + vec2( 0.0 * dx , 1.0 * dy));\n // " sum += -1. * texture2D(tex, coords + vec2( 1.0 * dx , 0.0 * dy));\n // " return sum;\n // " }\n\n void main() {\n\n // sample the source\n vec4 cTextureGhostGirl = texture2D( tGhostGirl, vUv );\n\n // make some noise\n float dx = rand( floor(vUv*800.0)/800.0 + time );\n float dx2 = rand( floor(vUv*800.0)/800.0 + time );\n\n vec2 averageGhostgirl = \n texture2D( tGhostGirl, vUv ).rg;\n // vec2 averageGhostgirl = (\n // texture2D( tGhostGirl, vUv ).rg +\n // texture2D( tGhostGirl, vUv + vec2(0.01, 0.01) ).rg +\n // texture2D( tGhostGirl, vUv + vec2(0.01, 0.0) ).rg +\n // texture2D( tGhostGirl, vUv + vec2(0.0, 0.01) ).rg +\n // texture2D( tGhostGirl, vUv + vec2(-0.01, -0.01) ).rg +\n // texture2D( tGhostGirl, vUv + vec2(-0.01, 0.0) ).rg +\n // texture2D( tGhostGirl, vUv + vec2(0.0, -0.01) ).rg)/7.0;\n\n\n vec4 cTextureScreen = texture2D( tDiffuse, vUv );\n // vec4 cTextureScreen = texture2D( tDiffuse, vUv + vec2((1.0-averageGhostgirl.r)*(dx-0.5)/300.0, (1.0-averageGhostgirl.g)*(dx2-0.5)/300.0) );\n \n float contrast = 1.0;\n float brightness = 0.0;\n\n vec3 colorContrasted = (cTextureScreen.rgb) * contrast;\n vec3 bright = colorContrasted + vec3(brightness,brightness,brightness);\n // " vec3 sharpend = sharpen(tDiffuse, vUv, vec2(800, 400)).rgb;\n cTextureScreen.rgb = bright * 0.7;// + sharpend * 0.3;\n cTextureScreen.rgb = bright;\n vec2 vigUv = vUv;\n vigUv *= 1.0 - vUv.yx; //vec2(1.0)- vUv.yx; -> 1.-u.yx;\n float vig = (vigUv.x/2.0)*(vigUv.y/2.0) * 250.0; // multiply with sth for intensity\n vig = pow(vig, 0.5); // change pow for modifying the extend of the vignette\n\n // Multiply cTextureScreen by vignette.\n // " cTextureScreen.rgb *= vig;\n\n // add noise\n vec3 cResult = cTextureScreen.rgb + cTextureScreen.rgb * clamp( dx*50.0-9.0, -1.0, 1.0 );\n cResult = cResult - vec3(0.5, 2.0, 2.0) * clamp( (dx2 * (1.0-(vig/2.5)))*35.0-15.0, 0.0, 1.0 );\n cResult = cResult + vec3(dx, dx, dx) * 0.3 * (1.0-averageGhostgirl.r);\n\n // // get us a sine and cosine\n // "\tvec2 sc = vec2( sin( vUv.y * sCount ), cos( vUv.y * sCount ) );\n\n // // add scanlines\n // "\tcResult += cTextureScreen.rgb * vec3( sc.x, sc.y, sc.x ) * sIntensity;\n\n // // interpolate between source and result by intensity\n // " cResult.gb /= (1.3);\n cResult.r *= (1.6 - (0.6 * (1.0-averageGhostgirl.r)));\n cResult = cTextureScreen.rgb + clamp( ((2.0 - averageGhostgirl.r * 2.0) + nIntensity), 0.0, 1.0 ) * ( cResult - cTextureScreen.rgb );\n\n // Make it more red.\n\n // // convert to grayscale if desired\n // "\tif( grayscale ) {\n\n // "\t\tcResult = vec3( cResult.r * 0.3 + cResult.g * 0.59 + cResult.b * 0.11 );\n\n // "\t}\n\n gl_FragColor = vec4( cResult, cTextureScreen.a );\n }\n '}},15575:(e,t,n)=>{e.exports=n.p+"assets/stonebutton.a88aac145bf921c34a30.mp3"},15957:(e,t,n)=>{e.exports=n.p+"assets/photo.35907fa6d5c1cafcde93.gif"},16158:(e,t,n)=>{e.exports=n.p+"assets/f.a2a0c9b89a499cba12de.png"},17322:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.playBGM=function(e){a[e]||function(e){if(a[e])return;const t=new r.Howl({src:[i[e].src],autoplay:!1,volume:i[e].volume||1,loop:i[e].loop});t.original=i[e],t.on("play",(e=>{Object.keys(l).includes(t)||(l[e]=t)})),t.on("end",(e=>{Object.keys(l).includes(t)&&(l[e]=null,delete l[e])})),a[e]=t}(e);if(!a[e])return;if(!i[e].loop||d!==e){c&&c.pause(),c=a[e],d=e;const t=a[e].play();a[e].volume(t,u*(a[e].original.volume||1))}},t.pauseBGM=function(){c&&c.pause()},t.setRate=function(e){c.rate(e)},t.isPlaying=function(e){return d===e&&c&&c.playing()},t.setVolume=function(e){if(!i[d])return;c.volume(u*(i[d].volume||1)*e)},t.setMusicBusVolume=function(e){u=e;for(const t of Object.keys(a)){const n=a[t];n.volume(e*(n.original.volume||1))}},t.fadeMusic=function(e,t,n){if(!c)return;const s=i[d].volume||1;c.fade(e*s*u,t*s*u,n)};const r=n(94196),o=s(n(36430)),i={dialup:{src:n(89850)},beep:{src:n(90227)},login:{src:n(25582)},intro:{src:n(29089),loop:!0,volume:.7},disco:{src:n(18863),loop:!0,volume:.7},house:{src:n(84843),loop:!0},inside_house:{src:n(8836),loop:!0,volume:.4},fountain:{src:n(44011),loop:!0,volume:.4},tribute:{src:n(20291),loop:!0,volume:.9},ending:{src:n(84196),loop:!0},phone:{src:n(42172),loop:!0},white_noise:{src:n(61625),volume:.4},credits:{src:n(17362),loop:!0,volume:.4},post_credits:{src:n(5723),loop:!0,volume:.25}},a={};let l={};let c=null,d=null,u=0;if("undefined"!=typeof window){window.pauseListener&&o.default.off("pause",window.pauseListener);let e=!1;window.pauseListener=t=>{t?(e=c&&c.playing(),e&&c.pause()):e&&c.play()},o.default.on("pause",window.pauseListener)}},17362:(e,t,n)=>{e.exports=n.p+"assets/retribution.7e00a40b60eee610b6f9.mp3"},17953:(e,t,n)=>{e.exports=n.p+"assets/mousedown.fa4b9d00f42e7f87cb06.mp3"},18044:(e,t,n)=>{e.exports=n.p+"assets/hints.b93459d8966ee762de33.png"},18348:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenSaver=function(){const[e,t]=(0,c.useState)(),n=(0,c.useRef)(),s=(0,c.useRef)(),{setHidden:r}=(0,u.useCustomCursor)();(0,c.useRef)().current=e,(0,c.useEffect)((()=>{r&&r(!!e)}),[e,r]),(0,c.useEffect)((()=>{let e;function n(n){t(!1),e&&clearTimeout(e),e=setTimeout((()=>{t(!0)}),3e5)}n();const s=e=>{n()};return document.addEventListener("mousemove",n),document.addEventListener("touchmove",n),document.addEventListener("pointermove",n),document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),document.addEventListener("keydown",s),()=>{document.removeEventListener("mousemove",n),document.removeEventListener("touchmove",n),document.removeEventListener("pointermove",n),document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n),document.removeEventListener("keydown",s),clearTimeout(e)}}),[]);const o=(0,c.useRef)(),p=(0,c.useRef)([0,0]),f=(0,c.useRef)([l.MathUtils.randFloat(.1,5),l.MathUtils.randFloat(.1,5)]);return(0,d.useFrameCanvasless)((e=>{o.current&&(p.current[0]=l.MathUtils.clamp(p.current[0]+f.current[0]*e/200,-35,35),p.current[1]=l.MathUtils.clamp(p.current[1]+f.current[1]*e/200,-40,40),p.current[1]>35&&(f.current[1]=-1),p.current[1]<-35&&(f.current[1]=1),p.current[0]>30&&(f.current[0]=-1),p.current[0]<-30&&(f.current[0]=1),o.current.style.left=`${50+p.current[0]}%`,o.current.style.top=`${50+p.current[1]}%`)})),(0,i.jsxs)("div",{className:"screen-saver cursor-none",style:e?{display:"block",zIndex:999990}:{display:"none",width:0,height:0},children:[(0,i.jsxs)(a.Canvas,{children:[(0,i.jsx)("ambientLight",{intensity:1}),(0,i.jsx)("directionalLight",{ref:s,position:[0,0,0],target:n.current,intensity:4}),(0,i.jsx)("object3D",{ref:n,position:[40,40,-30]}),e&&(0,i.jsx)(h,{})]}),(0,i.jsxs)("div",{ref:o,className:"screensaver-warning",children:["Still here? Move or tap to continue."," "]})]})};const i=n(74848),a=n(73560);n(95616);n(27186);const l=o(n(27186)),c=n(96540),d=n(91722),u=(n(10159),n(80985),n(94869));function p({color:e,position:t,rotation:n}){const s=(0,c.useRef)(),r=(0,c.useRef)();return(0,c.useEffect)((()=>{let e=new l.Vector3,t=[],n=r.current.attributes.position;if(!r.current.userData.nPos){for(let s=0;s{if(!r.current.userData.nPos)return;let n=performance.now();r.current.userData.nPos.forEach(((e,t)=>{let s=Math.sin(Math.sqrt(e.x*e.x+e.y*e.y)/60*Math.PI+n/500),o=new l.Vector3;o.copy(e).multiplyScalar(Math.cos(Math.sqrt(e.x*e.x+e.y*e.y)/60+n/2e3)).add(new l.Vector3(0,0,20*s+20)),r.current.attributes.position.setXYZ(t,o.x,o.y,o.z)})),r.current.computeVertexNormals(),r.current.attributes.position.needsUpdate=!0})),(0,i.jsxs)("mesh",{position:t,rotation:n,ref:s,children:[(0,i.jsx)("planeGeometry",{ref:r,args:[30,30,30,30]}),(0,i.jsx)("meshLambertMaterial",{color:e})]})}function h(){const e=(0,c.useRef)(new l.Vector3(0,-1,-100)),t=(0,c.useRef)();return(0,a.useFrame)(((n,s)=>{t.current.rotation.x+=s,t.current.rotation.y+=.5*s;const r=10*s;t.current.position.distanceTo(e.current){e.exports=n.p+"assets/glow.1c2e09dd97e7367350e9.png"},18747:(e,t,n)=>{e.exports=n.p+"assets/bts2.fd0eb63cef543a4effa5.gif"},18803:(e,t,n)=>{e.exports=n.p+"assets/glow_question.2bf3ddbf0c344e201ac6.png"},18863:(e,t,n)=>{e.exports=n.p+"assets/disco.e7b5f5ac3d421255c6ce.mp3"},18879:(e,t,n)=>{e.exports=n.p+"assets/o.a919d582b9baf4b440f2.png"},19020:(e,t,n)=>{e.exports=n.p+"assets/d.e7855cb18738c1637945.png"},20284:(e,t,n)=>{e.exports=n.p+"assets/otherworlds.aba358b4131fa3282fc2.gif"},20291:(e,t,n)=>{e.exports=n.p+"assets/tribute_2.b7f1d5c5c936b17d08cc.mp3"},20509:(e,t,n)=>{e.exports=n.p+"assets/key1_down.79dc7bae09bb40fab84d.mp3"},21475:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const{size:e,orientation:t}=(0,o.useContext)(i.LayoutContext),{language:s}=(0,o.useContext)(l.l10n.Context);return(0,o.useEffect)((()=>{document.body.style.fontFamily=s.FONT_FAMILY}),[s]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("style",{children:`\n@font-face {\n font-family: PixelArial11;\n src: url(${(0,a.default)(n(9345))});\n font-weight: normal;\n}\n@font-face {\n font-family: PixelArial11;\n src: url(${(0,a.default)(n(87289))});\n font-weight: bold;\n}\n@font-face {\n font-family: 'Fusion Pixel';\n src: url(${(0,a.default)(n(14107))}) format('opentype'),\n url(${(0,a.default)(n(97178))}) format('opentype'),\n url(${(0,a.default)(n(86515))}) format('opentype'),\n url(${(0,a.default)(n(63396))}) format('opentype'),\n url(${(0,a.default)(n(11079))}) format('opentype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: PixeloidSans;\n src: url(${(0,a.default)(n(41500))}) format('opentype');\n font-weight: normal;\n}\n@font-face {\n font-family: PixeloidSans;\n src: url(${(0,a.default)(n(24170))}) format('opentype');\n font-weight: bold;\n}\n\n@font-face {\n font-family: PixelComicSans;\n src: url(${(0,a.default)(n(56505))});\n font-weight: normal;\n}\n\n`}),(0,r.jsx)("style",{children:`\nhtml,\nbody {\n font-smooth: never;\n -webkit-font-smoothing: none;\n font-size: ${16*e}px;\n min-height: 100%;\n height: 100%;\n background: black;\n user-select: none;\n -webkit-user-select: none; /* Safari */\n overflow: hidden;\n}\n\ncanvas, img, video, div {\n image-rendering: pixelated;\n image-rendering: optimizeSpeed; // Older versions of FF\n image-rendering: -moz-crisp-edges; // FF 6.0+\n image-rendering: -webkit-optimize-contrast; // Webkit (non standard naming)\n image-rendering: -o-crisp-edges; // OS X & Windows Opera (12.02+)\n image-rendering: crisp-edges; // Possible future browsers.\n -ms-interpolation-mode: nearest-neighbor; // IE (non standard naming)\n}\n\n.intro-character {\n transition: left 6.0s ease-in-out, opacity 5.0s ease-out, top 5.0s ease-in-out;\n}\n\n/* Blink animation */\n@keyframes blink {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n}\n\n/* Jitter animation for wrong password. */\n@keyframes jitter {\n 0% {\n transform: translate(0, 0);\n }\n 10% {\n transform: translate(-${2*e}px, -${2*e}px);\n }\n 20% {\n transform: translate(${2*e}px, -${2*e}px);\n }\n 30% {\n transform: translate(-${2*e}px, ${2*e}px);\n }\n 40% {\n transform: translate(${2*e}px, -${2*e}px);\n }\n 50% {\n transform: translate(-${2*e}px, -${2*e}px);\n }\n 60% {\n transform: translate(${2*e}px, -${2*e}px);\n }\n 70% {\n transform: translate(-${2*e}px, ${2*e}px);\n }\n 80% {\n transform: translate(${2*e}px, -${2*e}px);\n }\n 90% {\n transform: translate(-${2*e}px, ${2*e}px);\n }\n 100% {\n transform: translate(0, 0);\n }\n}\n\n@keyframes flicker {\n 0%, 100% {\n opacity: 1;\n }\n 10% {\n opacity: 0.0;\n }\n 20% {\n opacity: 0.95;\n }\n 30% {\n opacity: 0.5;\n }\n 40% {\n opacity: 1;\n }\n 50% {\n opacity: 0.08;\n }\n 60% {\n opacity: 1;\n }\n 70% {\n opacity: 0.0;\n }\n 80% {\n opacity: 0.75;\n }\n 90% {\n opacity: 0.85;\n }\n}\n\ninput {\n font-family: ${s.FONT_FAMILY.toString().replace(/[^a-zA-Z0-9 ,]/g,"")};\n font-size: ${16*e}px;\n}\n\n.them {\n font-weight: bold;\n color: red;\n}\n.me {\n font-weight: bold;\n color: blue;\n}\n.system {\n color: #888;\n}\n\n.chat-choice {\n color: blue;\n text-decoration: underline;\n // cursor: pointer;\n}\n\n.chat-choice:hover {\n color: red;\n}\n\n/* Fade-in Animation */\n@keyframes fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n.chat-log {\n animation: fade-in 0.5s ease-in-out;\n}\n\ninput:focus {\n outline: 2px solid blue;\n}\n\ninput::selection {\n background: navy;\n color: white;\n}\n\n.button-98 {\n /* Button in the style of Windows 98 button */\n background: #c0c0c0;\n border: 2px solid #000;\n border-radius: ${2*e}px;\n padding: ${10*e}px;\n // cursor: pointer;\n box-shadow: inset ${2*e}px ${2*e}px 0px #fff, inset -${1*e}px -${1*e}px 0px #000;\n margin: ${5*e}px;\n text-align: center;\n}\n\n.button-98:hover {\n background:rgb(228, 228, 228);\n}\n\n.button-98:active {\n background:rgb(163, 163, 163);\n}\n\n.text-98 {\n display: block;\n font-family: ${s.FONT_FAMILY.toString().replace(/[^a-zA-Z0-9 ,]/g,"")};\n /* font-size: 16px; */\n color: #000;\n padding: ${10*e}px;\n border-radius: 0;\n box-shadow: inset ${2*e}px ${2*e}px 0px #000;\n}\n\n.game-chatbox {\n border: ${3*e}px solid black;\n display: block;\n position: absolute;\n background: black;\n color: white;\n padding: ${20*e}px;\n left: ${5*e}px;\n bottom: ${5*e}px;\n right: ${5*e}px;\n height: ${180*e}px;\n overflow-y: scroll;\n transform: translate3d(0,0,0);\n}\n\n.game-vignette {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-size: contain;\n background-image: url(${(0,a.default)(n(8870))});\n pointer-events: none;\n opacity: 0.6;\n transform: translate3d(0,0,0);\n}\n\n.file-browser {\n display: inline-block;\n width: ${250*e}px;\n height: ${270*e}px;\n background: white;\n padding: ${5*e}px;\n padding-bottom: 0px;\n margin: ${10*e}px;\n border: ${2*e}px solid black;\n}\n\n.file-browser li {\n padding: 0;\n padding-bottom: ${5*e}px;\n list-style-type: none;\n}\n\n.file-browser li.selected {\n background: #00f;\n color: #fff;\n}\n\n.file-preview {\n display: inline-block;\n vertical-align: top;\n margin: ${10*e};\n}\n\n.window.pop-up {\n animation: bounce 0.2s ease-in-out;\n}\n\n/* window popup bounce animation (size up and size down) */\n@keyframes bounce {\n 0% {\n transform: scale(0.9);\n }\n 30% {\n transform: scale(1.05);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n.window.pop-up.fullscreen {\n animation: bounce-fullscreen 0.4s ease-in-out;\n}\n\n@keyframes bounce-fullscreen {\n 0% {\n transform: scale(0.01);\n top: 10%;\n left: -40%;\n }\n 100% {\n transform: scale(1);\n top: 0%;\n left: 0%;\n }\n}\n\n.server-browser th,\n.server-browser td {\n padding: ${10*e}px;\n}\n\n.server-browser th {\n background: #ccc;\n border: ${3*e}px solid black;\n}\n\n.login {\n position: absolute;\n top: ${"landscape"===t?200*e:300*e}px;\n width: 100%;\n color: white;\n text-shadow: ${2*e}px ${2*e}px ${5*e}px black, ${2*e}px ${2*e}px ${5*e}px black, 2px 2px 10px black;\n}\n\n.login input {\n padding: ${10*e}px;\n}\n\n.welcome {\n background: rgb(75, 127, 229);\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n transition: opacity 1s;\n}\n\n.welcome-text {\n position: absolute;\n font-size: ${40*e}pt;\n color: white;\n text-shadow: ${4*e}px ${4*e}px 0px black;\n text-align: left;\n top: ${200*e}px;\n right: ${70*e}px;\n}\n\n@keyframes fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 0.7;\n }\n}\n\n.facegram {\n background: white;\n padding: ${10*e}px;\n text-align: left;\n}\n\n.facegram h1 {\n font-size: ${12*e}pt;\n padding: 0;\n margin: 0;\n margin-top: ${15*e}px;\n}\n\n.facegram td {\n padding: ${5*e}px;\n text-align: center;\n}\n\n.facegram .strong td {\n font-weight: bold;\n}\n\n.login-text {\n border-radius: ${8*e}px;\n margin: ${5*e}px;\n}\n\n.login-button {\n background: url(${(0,a.default)(n(87417))}) no-repeat center center /\n contain;\n border: 0px;\n width: ${Math.max(40,50*e)}px;\n height: ${Math.max(40,50*e)}px;\n vertical-align: middle;\n // cursor: pointer;\n margin: ${5*e}px;\n}\n\n.help-button {\n background: url(${(0,a.default)(n(67025))}) no-repeat center center /\n contain;\n border: 0px;\n width: ${Math.max(40,50*e)}px;\n height: ${Math.max(40,50*e)}px;\n vertical-align: middle;\n // cursor: pointer;\n margin: ${5*e}px;\n}\n\n.placeholder-size::placeholder {\n font-size: ${16*e}px;\n}\n\n.house-progress {\n margin-top: ${10*e}px;\n border: ${2*e}px inset #aaa;\n width: ${300*e}px;\n height: ${26*e}px;\n padding: ${2*e}px;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.house-progress-block {\n display: inline-block;\n height: 100%;\n width: ${15*e}px;\n background: rgb(0,0,150);\n margin-right: ${2*e}px;\n}\n\n.corrupted {\n position: relative;\n}\n\n.close-button {\n background: red;\n}\n\n.close-button:hover {\n background: rgb(255, 100, 100);\n}\n\n.close-button:active {\n background: rgb(200, 0, 0);\n}\n`})]})};const r=n(74848),o=n(96540),i=n(49616),a=s(n(99240)),l=n(81218)},21486:(e,t,n)=>{e.exports=n.p+"assets/key4_down.92ef32709433cac5477f.mp3"},21555:(e,t,n)=>{e.exports=n.p+"assets/liz_em_desktop.c855514e7ee467183c63.gif"},21825:(e,t,n)=>{e.exports=n.p+"assets/liz.f65d8fd109076025b69d.gif"},21933:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(31601),r=n.n(s),o=n(76314),i=n.n(o)()(r());i.push([e.id,".screen-saver{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1000;background:#000}.screensaver-warning{position:absolute;top:50%;left:50%;right:0;width:40%;color:#fff;transform:translate(-50%, -50%)}",""]);const a=i},22796:(e,t,n)=>{e.exports=n.p+"assets/liz_j.9d7f25ccbb2325b419c8.png"},23127:(e,t,n)=>{e.exports=n.p+"assets/fullscreen.2759113d3a7b7b217822.png"},23618:(e,t,n)=>{n.d(t,{A:()=>m});var s=n(31601),r=n.n(s),o=n(76314),i=n.n(o),a=n(4417),l=n.n(a),c=new URL(n(14962),n.b),d=new URL(n(89633),n.b),u=new URL(n(89453),n.b),p=i()(r()),h=l()(c),f=l()(d),x=l()(u);p.push([e.id,`.scrollbar-wrapper{position:relative}.scrollbar{color:#000;position:absolute;background:#ccc;top:0;right:0em;height:100%;width:2em;background-color:#fff}.scrollbar .scrollbar-buttons{position:relative;width:100%;height:100%;box-shadow:inset .13em 0em .15em rgba(0,0,0,.1)}.scrollbar .scrollbar-top,.scrollbar .scrollbar-bottom{height:2em;background:#94bdff;background-repeat:no-repeat;background-size:50%;background-position:center;border-radius:.15em;box-shadow:inset .15em 0 0 rgba(0,0,0,.2),inset -0.15em -0.15em 0 rgba(0,0,0,.5),inset .3em .15em 0 #fff,inset -0.3em -0.3em 0 #fff,inset .3em -0.3em 0 #fff,inset -0.3em .15em 0 #fff,inset 0 0 .3em -0.15em rgba(0,0,0,.5)}.scrollbar .scrollbar-top{position:absolute;width:100%;top:0;background-image:url(${h})}.scrollbar .scrollbar-bottom{position:absolute;width:100%;bottom:0;background-image:url(${f})}.scrollbar .scrollbar-track{position:absolute;width:100%;top:2em;bottom:2.6em}.scrollbar .scrollbar-btn{position:absolute;top:0%;background-color:#ccc;width:100%;height:4em;background:#94bdff;background-image:url(${x});background-repeat:no-repeat;background-size:60%;background-position:center;border-radius:.15em;box-shadow:inset .15em 0 0 rgba(0,0,0,.2),inset -0.15em -0.15em 0 rgba(0,0,0,.5),inset .3em .15em 0 #fff,inset -0.3em -0.3em 0 #fff,inset .3em -0.3em 0 #fff,inset -0.3em .15em 0 #fff,inset 0 0 .3em -0.15em rgba(0,0,0,.5)}.scrollbar .scrollbar-top:hover,.scrollbar .scrollbar-bottom:hover,.scrollbar .scrollbar-btn:hover{background-color:#b0cfff}.scrollbar .scrollbar-top:active,.scrollbar .scrollbar-bottom:active,.scrollbar .scrollbar-btn:active{background-color:#7eaff9}`,""]);const m=p},24170:(e,t,n)=>{e.exports=n.p+"assets/PixeloidSans-Bold.ea46f15498a98fe48461.otf"},24193:(e,t,n)=>{e.exports=n.p+"assets/bubble.f2df5515d875bfb422b0.gif"},24359:(e,t,n)=>{e.exports=n.p+"assets/pointer2x.693569d19d5e22ee6c90.png"},24425:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DisableMouse=function(){const[e,t]=(0,d.useState)(!1),{visibleWindows:n}=(0,d.useContext)(l.WindowManagerContext);return(0,d.useEffect)((()=>{t(n.includes("disable-mouse"))}),[n]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{name:"disable-mouse",title:"",initialPosition:{x:0,y:0},style:{display:"none"}}),e?(0,a.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:1002},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()}}):null]})},t.FadeScreen=function(){const[e,t]=(0,d.useState)(!1),{visibleWindows:n}=(0,d.useContext)(l.WindowManagerContext);return(0,d.useEffect)((()=>{t(n.includes("fade-screen"))}),[n]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{name:"fade-screen",title:"",initialPosition:{x:0,y:0},style:{display:"none"}}),e?(0,a.jsx)("div",{style:{position:"absolute",background:"white",top:0,left:0,width:"100%",height:"100%",zIndex:4002,opacity:.7,animation:"fade-in 1s"},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()}}):null]})},t.ErrorScreen=function(){const[e,t]=(0,d.useState)(0),{makeWindowVisible:s}=(0,d.useContext)(l.WindowManagerContext),{size:r,orientation:o}=(0,d.useContext)(f.LayoutContext),{language:i}=(0,d.useContext)(x.l10n.Context);return(0,a.jsxs)(l.default,{name:"error-screen",title:"Other World",disableCloseButton:!0,initialPosition:{x:"landscape"===o?100:30,y:"landscape"===o?100:150},onVisibleChange:e=>{e&&((0,c.pauseBGM)(),t(0),p.DEMO_ENDING&&(0,m.setTimeoutPausible)((()=>{t(1),(0,m.setTimeoutPausible)((()=>{t(2),(0,m.setTimeoutPausible)((()=>{t(3),(0,m.setTimeoutPausible)((()=>{t(4)}),2e3)}),2e3)}),2e3)}),2e3))},style:{zIndex:4003},children:[(0,a.jsxs)("div",{style:{padding:20*r,fontWeight:"bold",background:"white",borderBottom:2*r+"px black"},children:[(0,a.jsx)("div",{style:{display:"inline-block",width:"landscape"===o?500*r:430*r},children:i.ERROR_REPORT_OTHER_WORLD_HAS_ENCOUNTERED_A_PROBLEM}),(0,a.jsx)("img",{src:n(20284),height:60*r,alt:"",onDragStart:e=>e.preventDefault()})]}),(0,a.jsxs)("div",{style:{width:"landscape"===o?540*r:470*r,padding:30*r},children:[0===e?(0,a.jsxs)(a.Fragment,{children:[i.ERROR_REPORT_IF_YOU_WERE_IN_THE_MIDDLE_OF_SOMETHING,(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("strong",{children:i.ERROR_REPORT_PLEASE_TELL_OTHER_WORLD_ABOUT_THIS_PROBLEM}),(0,a.jsx)("br",{}),i.ERROR_REPORT_WE_HAVE_CREATED_AN_ERROR_REPORT]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{style:{verticalAlign:"middle",display:"inline-block",background:1===e?"#0f0":"red",width:40*r,height:40*r,borderRadius:50*r,marginRight:20*r}}),(0,a.jsx)("span",{style:{fontSize:49*r,verticalAlign:"middle"},children:1===e?"online":2===e?"offline":"last seen online"})]}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{})]}),(0,a.jsxs)("div",{style:{textAlign:"right",marginTop:15*r},children:[(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",margin:`0px ${4*r}px`},onClick:e=>{s("credits"),(0,c.playBGM)("credits")},children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,g.default)(i.ERROR_REPORT_BUTTON_1.toString(),["b","u"])}})}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",margin:`0px ${4*r}px`},onClick:e=>{s("credits"),(0,c.playBGM)("credits")},children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,g.default)(i.ERROR_REPORT_BUTTON_2.toString(),["b","u"])}})})]})]})]})},t.default=function(){const[e,t]=(0,d.useState)(0),n=(0,d.useRef)(e);n.current=e;(0,d.useContext)(h.EndingPopupContext).setLawsonStage=t;const s=(0,d.useRef)();(0,d.useLayoutEffect)((()=>{s.current.scrollTop=s.current.scrollHeight-100}),[e]);const{size:r,orientation:o}=(0,d.useContext)(f.LayoutContext),{language:i}=(0,d.useContext)(x.l10n.Context),[c,p]=(0,d.useState)(!1),[m,g]=(0,d.useState)(66),[_,b]=(0,d.useState)(70),[y,E]=(0,d.useState)(60),j=(0,d.useRef)(m);j.current=m,(0,d.useEffect)((()=>{e<10&&E(30)}),[e]),(0,d.useEffect)((()=>{if(c){const e=setInterval((()=>{b(Math.floor(j.current+4*Math.random()))}),100);return()=>{clearInterval(e)}}}),[c]),(0,d.useEffect)((()=>{if(c){const e=setInterval((()=>{E((e=>e>4?e-Math.floor(4*Math.random()):e))}),100);return()=>{clearInterval(e)}}}),[c]),(0,d.useEffect)((()=>{const e=setInterval((()=>{n.current>0&&g((e=>e+Math.floor(2*Math.random())))}),900);return()=>{clearInterval(e)}}),[]);const T=_+y;let S="rgb(0,255,0)",v="rgb(0,100,0)";T>90?(S="rgb(255,0,0)",v="rgb(100,0,0)"):T>80&&(S="rgb(255,255,0)",v="rgb(100,100,0)");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{title:i.ENDING_TASK_MANAGER_TITLE,name:"resources",initialPosition:{x:"landscape"===o?450:250,y:10},style:{zIndex:1003},onVisibleChange:e=>{p(!0)},children:(0,a.jsxs)("div",{style:{padding:5*r},children:[(0,a.jsx)("div",{style:{padding:5*r},children:i.ENDING_TASK_MANAGER_WARNING}),(0,a.jsxs)("div",{style:{width:330*r},children:[(0,a.jsx)("div",{style:{display:"inline-block"},children:(0,a.jsx)("div",{style:{border:2*r+"px solid black",background:"white",textAlign:"left",width:250*r},children:(0,a.jsx)("table",{className:"server-browser",children:(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:i.ENDING_TASK_MANAGER_PROGRAM}),(0,a.jsx)("th",{children:i.ENDING_TASK_MANAGER_USAGE})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:i.DESKTOP_SHORTCUT_OTHER_WORLD}),(0,a.jsxs)("td",{children:[_,"%"]})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:i.BUDDYLIST_CHAT_WINDOW_TITLE.format("aznl4ws0n")}),(0,a.jsxs)("td",{children:[y,"%"]})]})]})})})}),(0,a.jsxs)("div",{style:{display:"inline-block",width:70*r,verticalAlign:"top",position:"relative"},children:[(0,a.jsx)("div",{style:{position:"absolute",background:"black",width:2*r,height:125*r,left:39*r}}),(0,a.jsxs)("div",{style:{background:"black",padding:5*r,marginLeft:10*r},children:[Array(30).fill(0).map(((e,t)=>(0,a.jsx)("div",{style:{background:2*t<100-T?v:S,width:40*r,height:2*r,marginLeft:5*r,marginBottom:2*r}},t))),(0,a.jsxs)("div",{style:{color:S,textAlign:"center",fontSize:12*r},children:[T,"%"]})]})]})]})]})}),(0,a.jsx)(l.default,{disableCloseButton:!0,name:"aznL4ws0n_controlled",initialPosition:{x:"landscape"===o?210:120,y:"landscape"===o?140:250},title:"aznL4ws0n - Chat",style:{zIndex:1004},onVisibleChange:e=>{e&&(s.current.scrollTop=s.current.scrollHeight-100)},children:(0,a.jsx)("div",{ref:s,style:{width:350*r,height:250*r,background:"white",margin:5*r,padding:10*r,overflowY:"scroll",overflowX:"hidden",wordBreak:"break-word"},children:(0,a.jsxs)("div",{children:[(0,u.ConvertL10nChatLogToHTML)(i.LAWSON_CHATLOG,"aznL4ws0n"),(0,a.jsx)("br",{}),(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"system",children:i.USER_IS_OFFLINE})}),e>0?(0,a.jsx)("div",{className:"chat-log",children:(0,a.jsx)("span",{className:"system",children:i.ENDING_USER_IS_ONLINE.format("aznL4ws0n")})}):null,e>1?(0,a.jsxs)("div",{className:"chat-log",children:[(0,a.jsx)("span",{className:"them",children:"aznL4ws0n"}),":"," ",i.ENDING_HEY_LIZ]}):null,e>2?(0,a.jsxs)("div",{className:"chat-log",children:[(0,a.jsx)("span",{className:"them",children:"aznL4ws0n"}),":"," ",i.ENDING_I_KEEP_SEEING_YOUR_ACCOUNT_ONLINE_AND_OFFLINE]}):null,e>3?(0,a.jsxs)("div",{className:"chat-log",children:[(0,a.jsx)("span",{className:"them",children:"aznL4ws0n"}),":"," ",i.ENDING_IVE_BEEN_MESSAGING_YOU_EVERY_YEAR]}):null,e>4?(0,a.jsxs)("div",{className:"chat-log",children:[(0,a.jsx)("span",{className:"them",children:"aznL4ws0n"}),":"," ",i.ENDING_I_VISITED_YOU_TODAY]}):null,e>5?(0,a.jsxs)("div",{className:"chat-log",children:[(0,a.jsx)("span",{className:"them",children:"aznL4ws0n"}),":"," ",i.ENDING_I_DECIDED_THAT_ITS_TIME_TO_MOVE_ON]}):null,e>6?(0,a.jsxs)("div",{className:"chat-log",children:[(0,a.jsx)("span",{className:"them",children:"aznL4ws0n"}),":"," ",i.ENDING_YOURE_NOT_COMING_BACK_ARE_YOU_LIZ]}):null,e>7?(0,a.jsxs)("div",{className:"chat-log",children:[(0,a.jsx)("span",{className:"them",children:"aznL4ws0n"}),":"," ",i.ENDING_IVE_MISSED_YOU_SO_MUCH]}):null,e>8?(0,a.jsxs)("div",{className:"chat-log",children:[(0,a.jsx)("span",{className:"them",children:"aznL4ws0n"}),":"," ",i.ENDING_GOODBYE]}):null,(0,a.jsx)("br",{}),e>9?(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"system",children:i.USER_IS_OFFLINE})}):null]})})})]})};const a=n(74848),l=o(n(96886)),c=n(17322),d=n(96540),u=(i(n(70839)),n(93110)),p=n(78815),h=n(98722),f=n(49616),x=n(81218),m=n(91722),g=i(n(67098))},24544:(e,t,n)=>{e.exports=n.p+"assets/lawson.5c7c51295dbe9c6df814.gif"},24714:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({onChangeLanguage:e}){const{escapeMenuVisible:t,setEscapeMenuVisible:n}=(0,g.useEscapeMenu)(),[s,r]=(0,_.useSettingsConsumer)("fullscreen"),[o,i]=(0,_.useSettingsConsumer)("master-volume"),[m,y]=(0,_.useSettingsConsumer)("sfx-volume",0),[E,j]=(0,_.useSettingsConsumer)("music-volume"),{orientation:T,size:S}=(0,d.useContext)(p.LayoutContext),{language:v}=(0,d.useContext)(f.l10n.Context),O=(0,d.useRef)(),[N,I]=(0,d.useState)(["escape-menu"]);return(0,d.useEffect)((()=>{t&&I(["escape-menu"])}),[t]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{style:{zIndex:99999,position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"rgba(0,0,0,0.8)"},children:[(0,a.jsx)("div",{style:{color:"white",textAlign:"center",marginTop:20*S},children:"Paused"}),(0,a.jsxs)(c.WindowManager,{ref:O,visibleWindows:N,setVisibleWindows:I,children:[(0,a.jsx)(c.default,{name:"exit-warning",title:"Warning!",initialPosition:{x:235,y:130},children:(0,a.jsxs)("div",{style:{width:300*S,padding:10*S,textAlign:"center",fontFamily:"sans-serif"},children:["Are you sure you want to exit? Your progress will not be saved.",(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block"},onClick:e=>{window.electronAPI?.quitApp()},children:"Yes, I'm Sure"}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block"},onClick:e=>{O.current.makeWindowInvisible("exit-warning")},children:"Cancel"})]})}),(0,a.jsx)(c.default,{name:"escape-menu",title:(0,a.jsx)(f.l10n.Text,{name:"SETTINGS_TITLE"}),initialPosition:{x:"landscape"===T?270:170,y:100},style:{width:250*S,fontFamily:"sans-serif"},onVisibleChange:e=>{e||n(!1)},children:(0,a.jsxs)("div",{style:{margin:10*S},children:[!h.isMobile&&!1,(0,a.jsx)("br",{}),(0,a.jsx)(f.l10n.Text,{name:"SETTINGS_MASTER_VOLUME"})," ",(0,a.jsx)("br",{}),(0,a.jsx)(b,{slideMinMax:[0,1],value:o,onValueChange:i}),(0,a.jsx)("br",{}),(0,a.jsx)(f.l10n.Text,{name:"SETTINGS_SFX_VOLUME"})," ",(0,a.jsx)("br",{}),(0,a.jsx)(b,{slideMinMax:[0,1],value:m,onValueChange:y}),(0,a.jsx)("br",{}),(0,a.jsx)(f.l10n.Text,{name:"SETTINGS_MUSIC_VOLUME"})," ",(0,a.jsx)("br",{}),(0,a.jsx)(b,{slideMinMax:[0,1],value:E,onValueChange:j}),(0,a.jsx)("br",{}),x.STANDALONE_APP&&(0,a.jsx)("div",{className:"button-98 cursor-pointer",onClick:e=>{O.current.makeWindowVisible("exit-warning"),O.current.bringToTop("exit-warning")},children:(0,a.jsx)(f.l10n.Text,{name:"SETTINGS_QUIT_GAME"})}),l.SHOW_LANGUAGE_MENU&&(0,a.jsxs)("div",{className:"button-98 cursor-pointer",onClick:t=>{e(!0)},children:[(0,a.jsx)(f.l10n.Text,{name:"SETTINGS_LANGUAGE"}),": ",v.NAME]}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",onClick:e=>{(0,u.resetSave)()},children:(0,a.jsx)(f.l10n.Text,{name:"SETTINGS_DELETE_SAVE"})})]})})]})]})})};const a=n(74848),l=n(78815),c=o(n(96886)),d=n(96540),u=n(80985),p=n(49616),h=n(10159),f=n(81218),x=(n(91722),n(98899)),m=i(n(99240)),g=n(84344),_=n(70641);function b({slideMinMax:e,value:t,onValueChange:s}){let[r,o]=(0,d.useState)(!1);const i=(0,d.useRef)(),{size:l}=(0,d.useContext)(p.LayoutContext),c=(0,d.useCallback)((t=>{if(!r)return;const n=i.current.getBoundingClientRect(),o=t.clientX||t.pageX||t.touches&&t.touches[0]?.pageX||t.touches&&t.touches[0]?.clientX,a=(t.clientY||t.pageY||t.touches&&t.touches[0]?.pageY||t.touches&&t.touches[0],o-n.left);s&&s(Math.max(Math.min(a/n.width*(e[1]-e[0])+e[0],e[1]),0))}),[e,r,s]);return(0,d.useEffect)((()=>{const e=()=>{o(!1)};return window.document.body.addEventListener("mousemove",c),window.document.body.addEventListener("mouseup",e),window.document.body.addEventListener("touchmove",c),window.document.body.addEventListener("touchend",e),()=>{window.document.body.removeEventListener("mousemove",c),window.document.body.removeEventListener("mouseup",e),window.document.body.removeEventListener("touchmove",c),window.document.body.removeEventListener("touchend",e)}}),[c]),(0,a.jsxs)("div",{className:"cursor-pointer",style:{width:"100%",height:20*l,display:"inline-block",marginTop:10*l,marginRight:10*l,position:"relative"},ref:i,onMouseDown:e=>{o(!0),r=!0,c(e)},onTouchStart:e=>{o(!0),r=!0,c(e)},onMouseMove:c,children:[(0,a.jsx)("div",{style:{marginTop:4*l,border:2*l+"px inset white"}}),(0,a.jsx)("div",{style:{margin:4*l,position:"relative"},children:(0,a.jsx)("div",{style:{position:"absolute",left:t/(e[1]-e[0])*100+"%",top:-5*l,transform:"translate(-50%, -50%)",width:30*l,height:30*l,backgroundImage:`url(${(0,m.default)(n(26523))})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"}})})]})}x.STANDALONE_APP&&navigator&&navigator.keyboard&&navigator.keyboard.lock&&navigator.keyboard.lock(["Escape"])},25455:(e,t,n)=>{e.exports=n.p+"assets/key3_down.b495db48293cc4d2b774.mp3"},25496:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=(0,c.useContext)(o.LayoutContext).size,{language:t}=(0,c.useContext)(l.l10n.Context);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(i.default,{name:"notes",initialPosition:{x:100,y:150},title:"asdfhzfzzz.txt",children:(0,r.jsx)(d.Scrollable,{style:{width:250*e,height:200*e,background:"white",padding:10*e,margin:5*e,overflowY:"scroll",overflowX:"hidden"},onScroll:e=>{if(e.target.scrollTop+e.target.clientHeight>e.target.scrollHeight-40){if(p)return;p=!0,(0,a.achieve)(u.AchievementString.SNOOP)}},children:(t.NOTES.map?t.NOTES:[]).map(((e,n)=>(0,r.jsxs)("span",{children:[e,n!==t.NOTES.length-1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("br",{}),(0,r.jsx)("br",{})]})]},n)))})})})};const r=n(74848),o=n(49616),i=s(n(96886)),a=n(73719),l=n(81218),c=n(96540),d=n(73917),u=n(37815);let p=!1},25582:(e,t,n)=>{e.exports=n.p+"assets/login.88c6eeca1696e7b5aeef.mp3"},26180:(e,t,n)=>{e.exports=n.p+"assets/symbol5.a358c3557a1bea8ee3f0.png"},26523:(e,t,n)=>{e.exports=n.p+"assets/slider.bd31e3920e4570144a8a.png"},26592:(e,t,n)=>{e.exports=n.p+"assets/flag.7b2971fdc66b08c50b2f.gif"},26657:(e,t,n)=>{e.exports=n.p+"assets/song_4.63b5339e8119e0953078.mp3"},26661:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ChatContext=void 0;const s=n(96540);t.ChatContext=(0,s.createContext)({})},26696:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoiseGrainPass=void 0;const s=n(14754),r=n(27186),o=n(15392),i=n(91722);class a extends s.Pass{material;fsQuad;uniforms;noiseIntensity;noiseTarget;constructor(e,t,n,i,a){super(),this.noiseIntensity=e,this.noiseTarget=t,o.NoiseGrainShader;const l=o.NoiseGrainShader;this.uniforms=r.UniformsUtils.clone(l.uniforms),this.material=new r.ShaderMaterial({uniforms:this.uniforms,vertexShader:l.vertexShader,fragmentShader:l.fragmentShader}),void 0!==a&&(this.uniforms.grayscale.value=a),void 0!==e&&(this.uniforms.nIntensity.value=e),void 0!==n&&(this.uniforms.sIntensity.value=n),void 0!==i&&(this.uniforms.sCount.value=i),this.fsQuad=new s.FullScreenQuad(this.material)}render(e,t,n,s){this.uniforms.tGhostGirl.value=this.noiseTarget.texture,this.uniforms.tDiffuse.value=n.texture;const r=Math.floor(100*(0,i.pausibleNow)())/100%100;r!==this.uniforms.time.value&&(this.uniforms.time.value=r),this.uniforms.nIntensity.value=this.noiseIntensity,this.renderToScreen?(e.setRenderTarget(null),this.fsQuad.render(e)):(e.setRenderTarget(t),this.clear&&e.clear(),this.fsQuad.render(e))}}t.NoiseGrainPass=a},26983:(e,t,n)=>{e.exports=n.p+"assets/skybox.eea96d9c2e969855370e.png"},27610:(e,t,n)=>{e.exports=n.p+"assets/b.e6466061cedc8c6dd6c6.png"},28150:(e,t,n)=>{e.exports=n.p+"assets/key1_up.ad18c0c35729ce7442ad.mp3"},28842:(e,t,n)=>{e.exports=n.p+"assets/frame1.beffaa66435c1dc6bd50.png"},29085:(e,t,n)=>{e.exports=n.p+"assets/arrow.f9c19299d94dac69842d.png"},29089:(e,t,n)=>{e.exports=n.p+"assets/tutorial.31ef9df7126f50d48b7d.mp3"},29116:(e,t,n)=>{e.exports=n.p+"assets/key2_down.8467945cc1a9d588115e.mp3"},29162:(e,t,n)=>{e.exports=n.p+"assets/train.6dbf0ab72bca15ac5d2d.gif"},29369:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HintContext=void 0,t.default=function({visible:e,setVisible:s}){(0,c.useEffect)((()=>{}));const{orientation:r,size:o}=(0,c.useContext)(d.LayoutContext),{showHintsFor:i,showHintId:f,setShowGlobalHint:x}=(0,c.useContext)(t.HintContext),m=(0,c.useRef)(),[g,_]=(0,c.useState)(["hint-menu"]);return(0,c.useEffect)((()=>{e&&_(["hint-menu"])}),[e]),(0,a.jsxs)(a.Fragment,{children:[e&&(0,a.jsxs)("div",{style:{zIndex:99999,position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"rgba(0,0,0,0.8)"},children:[(0,a.jsx)("div",{style:{color:"white",textAlign:"center",marginTop:20*o}}),(0,a.jsx)(l.WindowManager,{ref:m,visibleWindows:g,setVisibleWindows:_,children:(0,a.jsx)(l.default,{name:"hint-menu",title:"Hints",initialPosition:{x:"landscape"===r?250:200,y:100},style:{width:300*o},onVisibleChange:e=>{e||s(!1)},children:(0,a.jsx)("div",{style:{margin:10*o},children:h[i]?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("strong",{children:["Puzzle: ",h[i].name]}),h[i].hints.slice(0,f).map(((e,t)=>(0,a.jsxs)("div",{children:[t+1,". ",e]},t))),(0,a.jsx)("br",{}),h[i].hints.length>f&&(0,a.jsxs)("div",{className:"button-98 cursor-pointer",onClick:e=>{x(i,f+1)},children:["Show Hint ",f+1]})]}):(0,a.jsx)("div",{children:"Woops I didn't have enough time to write the other hints for this demo."})})})})]}),u.isMobile&&(0,a.jsx)("div",{style:{zIndex:5e3,position:"absolute",right:10,bottom:10,width:25,height:25,background:`url(${(0,p.default)(n(78453))}) no-repeat center center / contain`,opacity:.5,transition:"opacity 0.5s"},onMouseEnter:e=>{e.currentTarget.style.opacity=1},onMouseLeave:e=>{e.currentTarget.style.opacity=.5},onClick:e=>{s(!0)}})]})};const a=n(74848),l=o(n(96886)),c=n(96540),d=(n(80985),n(49616)),u=n(10159),p=(n(91722),i(n(99240)));t.HintContext=(0,c.createContext)({showHintsFor:0,showHintId:0,setShowGlobalHint:()=>{}});const h=[{name:"Login / Password",hints:["Did you click on the question mark button?","Have you found the names of the people in the photo?","Have you figured out the year of the photo?","Have you found out the age of the girl in the photo?","Can you use math to figure out the birth year?"]},{name:"Music",hints:["Have you read all the chatlogs?","Have you found somewhere to type 4 digits into?","Can you figure out where to position the LoseAmp player?","Did you listen the the lyrics of the songs?","There are numbers pointing to a song, maybe the numbers tell you the order to listen?"]},{name:"Chat",hints:["Have you found someone to talk to?","Have you found the images on your Desktop?","Do the images match any other text you found?"]},{name:"Other World",hints:["Can you login to Other World?","Are you sure you clicked on everything?"]},{name:"Door",hints:["There are two ways to knock, have you found both ways?","Have you found the portraits of the four fallen?","Listen closely. Are the portraits trying to communicate something?","The door is divided by four segments with four door knockers."]},{name:"Statues",hints:["Can you figure out the starting statue and end statues?","Can you figure out the neighboring statues of the start and end?","Statues holding gems will show which statues are neighbors.","One of the statues is greedy, and must be blessed multiple times."]},{name:"Fountain",hints:["Have you found the fountain?","Have you tried pressing the buttons on the fountain to form one of the symbosl?","Read from the fountain.","Where can you input what you've just read?"]},{name:"Near the end :)",hints:[]}]},29397:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({onFinished:e,...t}){const{size:n,orientation:s}=(0,d.useContext)(p.LayoutContext),r=(0,d.useRef)(null),[o,i]=(0,d.useState)([]),[h,b]=(0,d.useState)([]),[y,E]=(0,d.useState)(!1),[T,S]=(0,d.useState)(!1),{language:v}=(0,d.useContext)(f.l10n.Context),{neverlandPassword:O}=(0,d.useContext)(l.SaveContext);j.text=()=>v.VISUAL_NOVEL_HMM_OKAY_I_BELIEVE_U_FOR_NOW_YOU_NEED_TO_REGISTER_A_NEW_ACCOUNT_THE_INVITE_CODE_IS_NEVERLAND.format(O),(0,d.useEffect)((()=>{b([{owner:"npc",text:_.text}]),i(_.choices)}),[]),(0,d.useEffect)((()=>{if(T){let t=h;(0,m.setTimeoutPausible)((()=>{t=[...h,{owner:"npc",text:()=>v.VISUAL_NOVEL_HMM_HEY_LIZ_IMMA_BRB}],b(t),(0,x.playSFX)("imreceive"),(0,m.setTimeoutPausible)((()=>{(0,x.playSFX)("signoff"),t=[...t,{owner:"system",text:()=>v.USER_IS_OFFLINE}],b(t),e(),(0,m.setTimeoutPausible)((()=>{r.current.scrollTop=r.current.scrollHeight-100}),10)}),1e3),(0,m.setTimeoutPausible)((()=>{r.current.scrollTop=r.current.scrollHeight-100}),10)}),1e3)}}),[T]);const{makeWindowVisible:N,bringToTop:I}=(0,d.useContext)(c.WindowManagerContext);return(0,a.jsx)(c.default,{name:t.name,initialPosition:t.initialPosition,title:t.title,onVisibleChange:e=>{e&&(0,m.setTimeoutPausible)((()=>{r.current.scrollTop=r.current.scrollHeight-100}),1)},children:(0,a.jsxs)(g.Scrollable,{ref:r,style:{width:400*n,height:250*n,background:"white",margin:5*n,padding:10*n,overflowY:"scroll",overflowX:"hidden",wordBreak:"break-word"},children:[(0,u.ConvertL10nChatLogToHTML)(v.ORION_CHATLOG,"__orion__",(()=>{N("house-loading"),I("house-loading")})),h.map(((e,t)=>"system"!==e.owner?(0,a.jsxs)("div",{className:"chat-log",children:[(0,a.jsx)("b",{style:{color:"npc"===e.owner?"red":"blue"},children:"npc"===e.owner?"__orion__":"alonegurl15"}),": ",e.text()," ",(0,a.jsx)("br",{})]},t):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"system",children:v.USER_IS_OFFLINE})]}))),(0,a.jsx)("br",{}),y?(0,a.jsx)("div",{children:(0,a.jsx)("b",{children:v.ORION_IS_TYPING})}):null,o.map(((e,t)=>(0,a.jsxs)("div",{className:"chat-choice cursor-pointer",onClick:t=>{t.stopPropagation();const n=[...h,{owner:"player",text:e.text}];b(n),(0,x.playSFX)("imsend"),i([]),E(!0),(0,m.setTimeoutPausible)((()=>{r.current.scrollTop=r.current.scrollHeight-100}),10),(0,m.setTimeoutPausible)((()=>{const t=e.next();S(!!t.finished),b([...n,{owner:"npc",text:t.text}]),(0,x.playSFX)("imreceive"),i(t.choices),E(!1),(0,m.setTimeoutPausible)((()=>{r.current.scrollTop=r.current.scrollHeight-100}),10)}),1e3)},children:[t+1,". ",e.text()," ",(0,a.jsx)("br",{})]},t)))]})})};const a=n(74848),l=n(80985),c=o(n(96886)),d=n(96540),u=n(93110),p=n(49616),h=i(n(2543)),f=n(81218),x=(n(17322),n(44190)),m=n(91722),g=n(73917),_={text:()=>f.l10n.language.VISUAL_NOVEL_HEY_IS_THIS_LIZ,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_YEAH_THIS_IS_LIZ,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_OH_INTERESTING_SO_STRANGE_TO_SEE_YOU_HERE,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_UM_YEAH_JUST_TOOK_A_LONG_BREAK,next:()=>b},{text:()=>f.l10n.language.VISUAL_NOVEL_I_DONT_KNOW_WHAT_YOU_MEAN,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_WELL_GLAD_YOURE_BACK_IVE_MISSED_YOU,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_IVE_MISSED_YOU_TOO,next:()=>b}]})}]})},{text:()=>f.l10n.language.VISUAL_NOVEL_CAN_YOU_REMIND_ME_WHO_THIS_IS,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_ITS_ORION_WE_USED_TO_BE_GOOD_FRIENDS_IM_SURPRISED_YOU_DONT_REMEMBER_ME_THATS_FINE,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_UM_YEAH_JUST_TOOK_A_LONG_BREAK,next:()=>b},{text:()=>f.l10n.language.VISUAL_NOVEL_I_DONT_KNOW_WHAT_YOU_MEAN,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_WELL_GLAD_YOURE_BACK_IVE_MISSED_YOU,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_IVE_MISSED_YOU_TOO,next:()=>b}]})}]})}]},b={text:()=>f.l10n.language.VISUAL_NOVEL_ANYTHING_I_CAN_HELP_YOU_WITH,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_DO_YOU_KNOW_THE_PASSCODE_FOR_PHOTOS4EMZIP,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_HMM_I_DONT_REMEMBER_TRY_DIGGING_THROUGH_YOUR_OLD_CHATLOGS_MAYBE_YOU_SENT_IT_TO_SOMEONE,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_OKAY_ILL_TRY_THAT_OUT,next:()=>b}]})},{text:()=>f.l10n.language.VISUAL_NOVEL_WHATS_OTHER_WORLD,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_YOU_GOTTA_BE_JOKING_YOU_DONT_REMEMBER_ITS_THE_GAME_WE_PLAYED_WHEN_WE_WERE_KIDS_ARE_YOU_SURE_THIS_IS_LIZ,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_YES_IM_SURE_HOW_DO_I_GET_IN,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_JUST_TO_MAKE_SURE_YOU_ARE_WHO_YOU_SAY_YOU_ARE_CAN_YOU_TELL_ME_THE_ORDER_OF_THE_FOUR_EVENTS_DURING_OUR_FINAL_RITUAL,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_ILL_TRY_TO_REMEMBER,next:()=>y()},{text:()=>f.l10n.language.VISUAL_NOVEL_I_DONT_REMEMBER,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_THAT_S_OKAY_TAKE_YOUR_TIME,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_OKAY,next:()=>b}]})}]})}]})}]},y=function(){const e=[f.l10n.language.VISUAL_NOVEL_SO_REMIND_ME_WHAT_HAPPENED,f.l10n.language.VISUAL_NOVEL_THAT_MIGHT_BE_RIGHT_THAT_MIGHT_BE_WRONG_WHAT_NEXT,f.l10n.language.VISUAL_NOVEL_OK_COULD_BE_WHAT_HAPPENED_BUT_I_WONT_TELL_YOU_WHAT_THEN,f.l10n.language.VISUAL_NOVEL_AND_FINALLY],t=["VISUAL_NOVEL_WE_BLESSED_THE_STATUE","VISUAL_NOVEL_WE_LIT_CANDLES_FOR_OUR_TRIBUTES","VISUAL_NOVEL_WE_GAZED_UPON_THE_FOUNTAIN","VISUAL_NOVEL_WE_FOUGHT_THE_LOST_BOYS","VISUAL_NOVEL_WE_RESPECTED_THE_FOUR_FALLEN","VISUAL_NOVEL_WE_SUNG_AWAY_OUR_AGE"],n=[],s=["VISUAL_NOVEL_WE_RESPECTED_THE_FOUR_FALLEN","VISUAL_NOVEL_WE_BLESSED_THE_STATUE","VISUAL_NOVEL_WE_GAZED_UPON_THE_FOUNTAIN","VISUAL_NOVEL_WE_LIT_CANDLES_FOR_OUR_TRIBUTES"];let r=-1;const o=()=>{if(r++,r>=e.length)return h.default.isEqual(n,s)?j:E;t.sort((()=>Math.random()-.5));let i=e[r];return{text:()=>i,choices:[...t.map(((e,s)=>({text:()=>f.l10n.language[e],next:()=>(n.push(t.splice(s,1)[0]),o())}))),{text:()=>f.l10n.language.VISUAL_NOVEL_HOLD_ON_MY_MEMORY_IS_JUST_FUZZY,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_SURE_TAKE_YOUR_TIME_YOU_CAN_PROBABLY_FIND_SOMETHING_ON_YOUR_COMPUTER_TO_HELP_YOU_REFRESH_YOUR_MEMORY,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_THANKS_ILL_TRY_AGAIN,next:()=>b}]})}]}};return o()},E={text:()=>f.l10n.language.VISUAL_NOVEL_I_DONT_THINK_THATS_IT,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_HOLD_ON_MY_MEMORY_IS_JUST_FUZZY,next:()=>({text:()=>f.l10n.language.VISUAL_NOVEL_SURE_TAKE_YOUR_TIME_YOU_CAN_PROBABLY_FIND_SOMETHING_ON_YOUR_COMPUTER_TO_HELP_YOU_REFRESH_YOUR_MEMORY,choices:[{text:()=>f.l10n.language.VISUAL_NOVEL_THANKS_ILL_TRY_AGAIN,next:()=>b}]})}]},j={text:()=>f.l10n.language.VISUAL_NOVEL_HMM_OKAY_I_BELIEVE_U_FOR_NOW_YOU_NEED_TO_REGISTER_A_NEW_ACCOUNT_THE_INVITE_CODE_IS_NEVERLAND.format("NEVERLAND"),choices:[],finished:!0}},29478:(e,t,n)=>{e.exports=n.p+"assets/rain.276da54aa3e0f0ceff6c.gif"},30112:(e,t,n)=>{e.exports=n.p+"assets/candle.2bf72b1cd4796816726b.png"},30667:(e,t,n)=>{e.exports=n.p+"assets/door_knocker_1.d16f767413dc8eed0331.gif"},31469:(e,t,n)=>{e.exports=n.p+"assets/m.03c377cc5ab352f0ab2a.png"},31956:(e,t,n)=>{e.exports=n.p+"assets/Plaster.ac645ff9a50fd50604c7.png"},32625:(e,t,n)=>{e.exports=n.p+"assets/bird.7635e44300fa76ce493f.gif"},32853:(e,t,n)=>{e.exports=n.p+"assets/play.2af606f73448cf66a8c5.gif"},34873:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=(0,a.useContext)(o.LayoutContext).size;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.default,{name:"img001.jpg",initialPosition:{x:10,y:10},title:"IMG001.jpg",children:(0,r.jsx)("img",{src:n(74319),alt:"img001",onDrag:e=>e.preventDefault(),style:{padding:5*e,width:256*e,pointerEvents:"none"}})}),(0,r.jsx)(i.default,{name:"img002.jpg",initialPosition:{x:20,y:20},title:"IMG002.jpg",children:(0,r.jsx)("img",{src:n(84872),alt:"img001",onDrag:e=>e.preventDefault(),style:{padding:5*e,width:256*e,pointerEvents:"none"}})}),(0,r.jsx)(i.default,{name:"img003.jpg",initialPosition:{x:30,y:30},title:"IMG003.jpg",children:(0,r.jsx)("img",{src:n(85601),alt:"img001",onDrag:e=>e.preventDefault(),style:{padding:5*e,width:256*e,pointerEvents:"none"}})}),(0,r.jsx)(i.default,{name:"img004.jpg",initialPosition:{x:40,y:40},title:"IMG004.jpg",children:(0,r.jsx)("img",{src:n(2266),alt:"img001",onDrag:e=>e.preventDefault(),style:{padding:5*e,width:256*e,pointerEvents:"none"}})}),(0,r.jsx)(i.default,{name:"lawson.png",initialPosition:{x:50,y:50},title:"lawson.jpg",children:(0,r.jsx)("img",{src:n(24544),alt:"img001",onDrag:e=>e.preventDefault(),style:{padding:5*e,width:256*e,pointerEvents:"none"}})}),(0,r.jsx)(i.default,{name:"SCAN01.jpg",initialPosition:{x:50,y:50},title:"SCAN01.jpg",children:(0,r.jsx)("img",{src:n(72206),alt:"SCAN01",onDrag:e=>e.preventDefault(),style:{padding:5*e,width:400*e,pointerEvents:"none"}})}),(0,r.jsx)(i.default,{name:"SCAN02.jpg",initialPosition:{x:50,y:50},title:"SCAN02.jpg",children:(0,r.jsx)("img",{src:n(94469),alt:"SCAN02",onDrag:e=>e.preventDefault(),style:{padding:5*e,width:400*e,pointerEvents:"none"}})})]})};const r=n(74848),o=n(49616),i=s(n(96886)),a=n(96540)},34921:(e,t,n)=>{e.exports=n.p+"assets/creepyvid2.092a95f7cf9119f35a6f.mp4"},35117:(e,t,n)=>{e.exports=n.p+"assets/portrait3.d3e313123d676125bd1f.gif"},35723:(e,t,n)=>{e.exports=n.p+"assets/cz.0ea25e9620918415e2b1.jsonc"},35818:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});const s="#include \nprecision mediump float;\n\nuniform sampler2D tDiffuse;\n\nvarying vec2 vUv;\n\nvoid main() { gl_FragColor = texture2D(tDiffuse, vUv); }\n"},37276:(e,t,n)=>{e.exports=n.p+"assets/liz_glow.f74bdb2d248de8d20b1c.png"},37815:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AchievementString=void 0,function(e){e.ASL="ASL",e.BASIC_MATH="BASIC_MATH",e.SCOTTY_2000="SCOTTY_2000",e.THANK_YOU="THANK_YOU",e.SNOOP="SNOOP",e.YOURE_NOT_LIZ="YOURE_NOT_LIZ",e.KNOCK="KNOCK",e.ZIP_UNLOCKED="ZIP_UNLOCKED",e.FOUNTAIN="FOUNTAIN",e.BLESSED="BLESSED",e.TRIBUTES="TRIBUTES"}(n||(t.AchievementString=n={}))},38780:(e,t,n)=>{n.d(t,{A:()=>s});const s='Copyright © 2020-2023 GGBotNet (https://ggbot.net/fonts/), with Reserved Font Name "Pixeloid".\r\n\r\nThis Font Software is licensed under the SIL Open Font License, Version 1.1.\r\nThis license is copied below, and is also available with a FAQ at:\r\nhttp://scripts.sil.org/OFL\r\n\r\n-----------------------------------------------------------\r\nSIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\r\n-----------------------------------------------------------\r\n\r\nPREAMBLE\r\nThe goals of the Open Font License (OFL) are to stimulate worldwide\r\ndevelopment of collaborative font projects, to support the font creation\r\nefforts of academic and linguistic communities, and to provide a free and\r\nopen framework in which fonts may be shared and improved in partnership\r\nwith others.\r\n\r\nThe OFL allows the licensed fonts to be used, studied, modified and\r\nredistributed freely as long as they are not sold by themselves. The\r\nfonts, including any derivative works, can be bundled, embedded, \r\nredistributed and/or sold with any software provided that any reserved\r\nnames are not used by derivative works. The fonts and derivatives,\r\nhowever, cannot be released under any other type of license. The\r\nrequirement for fonts to remain under this license does not apply\r\nto any document created using the fonts or their derivatives.\r\n\r\nDEFINITIONS\r\n"Font Software" refers to the set of files released by the Copyright\r\nHolder(s) under this license and clearly marked as such. This may\r\ninclude source files, build scripts and documentation.\r\n\r\n"Reserved Font Name" refers to any names specified as such after the\r\ncopyright statement(s).\r\n\r\n"Original Version" refers to the collection of Font Software components as\r\ndistributed by the Copyright Holder(s).\r\n\r\n"Modified Version" refers to any derivative made by adding to, deleting,\r\nor substituting -- in part or in whole -- any of the components of the\r\nOriginal Version, by changing formats or by porting the Font Software to a\r\nnew environment.\r\n\r\n"Author" refers to any designer, engineer, programmer, technical\r\nwriter or other person who contributed to the Font Software.\r\n\r\nPERMISSION & CONDITIONS\r\nPermission is hereby granted, free of charge, to any person obtaining\r\na copy of the Font Software, to use, study, copy, merge, embed, modify,\r\nredistribute, and sell modified and unmodified copies of the Font\r\nSoftware, subject to the following conditions:\r\n\r\n1) Neither the Font Software nor any of its individual components,\r\nin Original or Modified Versions, may be sold by itself.\r\n\r\n2) Original or Modified Versions of the Font Software may be bundled,\r\nredistributed and/or sold with any software, provided that each copy\r\ncontains the above copyright notice and this license. These can be\r\nincluded either as stand-alone text files, human-readable headers or\r\nin the appropriate machine-readable metadata fields within text or\r\nbinary files as long as those fields can be easily viewed by the user.\r\n\r\n3) No Modified Version of the Font Software may use the Reserved Font\r\nName(s) unless explicit written permission is granted by the corresponding\r\nCopyright Holder. This restriction only applies to the primary font name as\r\npresented to the users.\r\n\r\n4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\r\nSoftware shall not be used to promote, endorse or advertise any\r\nModified Version, except to acknowledge the contribution(s) of the\r\nCopyright Holder(s) and the Author(s) or with their explicit written\r\npermission.\r\n\r\n5) The Font Software, modified or unmodified, in part or in whole,\r\nmust be distributed entirely under this license, and must not be\r\ndistributed under any other license. The requirement for fonts to\r\nremain under this license does not apply to any document created\r\nusing the Font Software.\r\n\r\nTERMINATION\r\nThis license becomes null and void if any of the above conditions are\r\nnot met.\r\n\r\nDISCLAIMER\r\nTHE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\r\nOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\r\nCOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\r\nINCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\r\nDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\r\nFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\r\nOTHER DEALINGS IN THE FONT SOFTWARE.\r\n'},39484:(e,t,n)=>{e.exports=n.p+"assets/clap.d7d8efc7a9b388706497.gif"},39635:(e,t,n)=>{e.exports=n.p+"assets/s.fb755407630154efb268.png"},39899:(e,t,n)=>{e.exports=n.p+"assets/ru.4ecffbcdb417d1b52653.jsonc"},39975:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Sounds=function({children:e}){const{getSound:t}=(0,o.useSound)(),[d,u]=(0,r.useSettingsState)("master-volume",1),[p,h]=(0,r.useSettingsState)("sfx-volume",1),[f,x]=(0,r.useSettingsState)("music-volume",1);return(0,i.useEffect)((()=>{(0,a.setSFXBusVolume)(d*p),(0,l.setMusicBusVolume)(d*f),(0,c.setMusicPlayerBusVolume)(d*f),t("master").volume.value=30*d-30,t("music").volume.value=30*f-30}),[p,f,d]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(o.SoundPanVol,{name:"master",children:(0,s.jsx)(o.SoundPanVol,{name:"music",children:(0,s.jsxs)(o.SoundSampleCatch,{children:[(0,s.jsx)(o.SoundSample,{name:"dialup",src:n(89850)}),(0,s.jsx)(o.SoundSample,{name:"beep",src:n(90227)})]})})})})};const s=n(74848),r=n(70641),o=n(49046),i=n(96540),a=n(44190),l=n(17322),c=n(84613)},40352:(e,t,n)=>{e.exports=n.p+"assets/bts5.3a0adc41fe97498b2aac.gif"},40454:(e,t,n)=>{e.exports=n.p+"assets/notepad.e9430243fd32543de900.gif"},40466:(e,t,n)=>{e.exports=n.p+"assets/eagle.9498a502e499c4acafdf.gif"},40790:(e,t,n)=>{e.exports=n.p+"assets/n.fe9b28ecff3a79efbb1b.png"},41428:(e,t,n)=>{e.exports=n.p+"assets/bts1.ce40cd10a1f712599bff.gif"},41500:(e,t,n)=>{e.exports=n.p+"assets/PixeloidSans.e3def220c35436048cae.otf"},41608:(e,t,n)=>{e.exports=n.p+"assets/lion.c2e14f51fb4987861bd3.gif"},41656:(e,t,n)=>{e.exports=n.p+"assets/noise_black_transparent.3768f6eac4994843ded6.png"},42172:(e,t,n)=>{e.exports=n.p+"assets/phone.5a5bfe648bd7114b47b2.mp3"},42465:(e,t,n)=>{e.exports=n.p+"assets/bts_jenna.d6d6effa553725752b52.gif"},42590:(e,t,n)=>{e.exports=n.p+"assets/brick.a23d35a9c380dec75ade.gif"},42948:(e,t,n)=>{e.exports=n.p+"assets/knock.0f3cffd09f93a807fd7e.mp3"},43105:(e,t,n)=>{e.exports=n.p+"assets/glow_lion.f36658b3b9142bbf0ffd.png"},43373:(e,t,n)=>{e.exports=n.p+"assets/song_8.fa59cad655ea848c31ea.mp3"},43698:(e,t,n)=>{e.exports=n.p+"assets/key5_up.86af276c8bcfb07e1e3f.mp3"},44011:(e,t,n)=>{e.exports=n.p+"assets/fountain.929b5a2b891ff542f514.mp3"},44190:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setSFXBusVolume=function(e){c=e;for(const t of Object.keys(a)){const n=a[t];n.volume(e*(n.original.volume||1))}},t.playSFX=function(e){a[e]||function(e){if(a[e])return;const t=new r.Howl({src:[i[e].src],autoplay:!1,volume:i[e].volume||1});t.original=i[e],t.on("play",(e=>{Object.keys(l).includes(""+e)||(l[""+e]=t)})),t.on("end",(e=>{Object.keys(l).includes(""+e)&&(l[""+e]=null,delete l[""+e])})),a[e]=t}(e);if(!a[e])return;a[e].volume(c*(a[e].original.volume||1));a[e].play()},t.stopSFX=function(e){if(!a[e])return;a[e].pause()};const r=n(94196),o=s(n(36430)),i={imreceive:{src:n(78942),volume:.15},imsend:{src:n(95345),volume:.15},imreceive_echo:{src:n(94672),volume:1},phone:{src:n(42172)},mousedown:{src:n(17953),volume:.3},mouseup:{src:n(5266),volume:.3},key1_down:{src:n(20509),volume:.5},key1_up:{src:n(28150),volume:.5},key2_down:{src:n(29116),volume:.5},key2_up:{src:n(7443),volume:.5},key3_down:{src:n(25455),volume:.5},key3_up:{src:n(64100),volume:.5},key4_down:{src:n(21486),volume:.5},key4_up:{src:n(87969),volume:.5},key5_down:{src:n(91169),volume:.5},key5_up:{src:n(43698),volume:.5},knock:{src:n(42948),volume:1},knock_echo:{src:n(73864),volume:1},door_open:{src:n(70407),volume:1},candle:{src:n(83275),volume:1},rumble:{src:n(84899),volume:.4},stonebutton:{src:n(15575),volume:.4},signoff:{src:n(90172),volume:1},aum:{src:n(9674),volume:.3},twinkle1:{src:n(14757),volume:.05},twinkle2:{src:n(47186),volume:.05}},a={},l={};"undefined"!=typeof window&&(window.pauseListenerSFX&&o.default.off("pause",window.pauseListenerSFX),window.pauseListenerSFX=e=>{if(e)for(const e of Object.keys(l)){l[e].pause(parseInt(e))}else for(const e of Object.keys(l)){l[e].play(parseInt(e))}},o.default.on("pause",window.pauseListenerSFX));let c=0},45544:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({onUnlocked:e}){const[t,n]=(0,o.useState)(""),{size:s,orientation:u}=(0,o.useContext)(a.LayoutContext),{language:p}=(0,o.useContext)(c.l10n.Context),{setShowGlobalHint:h}=(0,o.useContext)(i.HintContext);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(l.default,{name:"COOL!!!.zip",initialPosition:{x:"landscape"===u?200:70,y:"landscape"===u?150:250},title:"UnZipper - COOL!!!.zip",children:(0,r.jsxs)("div",{style:{width:400*s,textAlign:"center",padding:30*s,background:"rgb(240, 180, 180)"},children:[(0,r.jsx)("div",{children:"This ZIP file is password-protected with a sentence."}),(0,r.jsx)("br",{}),(0,r.jsx)("div",{children:"Hint: SCAN**.jpg"}),(0,r.jsxs)("form",{action:"#",onSubmit:t=>{t.preventDefault(),"whydoikeepcomingbackhere"===t.target[0].value.toLowerCase().replace(/[^a-zA-Z]/g,"")?(e(),h(2)):(n(p.UNZIPPER_INCORRECT_PASSWORD),(0,d.setTimeoutPausible)((()=>{n("")}),1e3))},autoComplete:"off",children:[(0,r.jsx)("input",{style:{border:2*s+"px solid black",borderRadius:0,padding:10*s,width:200*s,fontSize:Math.max(16,16*s),verticalAlign:"middle"},type:"text"}),(0,r.jsx)("input",{className:"button-98 cursor-pointer",style:{color:"black",height:Math.max(38,50*s)},type:"submit",value:p.UNZIPPER_UNLOCK_BUTTON})]}),(0,r.jsx)("div",{style:{color:"red",height:20*s},children:t})]})})})};const r=n(74848),o=n(96540),i=n(29369),a=n(49616),l=s(n(96886)),c=(n(73719),n(81218)),d=n(91722)},45607:(e,t,n)=>{e.exports=n.p+"assets/bts6.e262c98119540c490cd1.gif"},45627:(e,t,n)=>{e.exports=n.p+"assets/portrait1.18ebb488b3b8a1649bd1.gif"},46179:(e,t,n)=>{e.exports=n.p+"assets/discofloor.d7ee881105827ea6cf4e.gif"},46714:(e,t,n)=>{e.exports=n.p+"assets/glow_cow.c13d8d3123b7be36bf48.png"},47107:(e,t,n)=>{e.exports=n.p+"assets/back_up_arrow.b9b9daff7a5c825a47d3.png"},47186:(e,t,n)=>{e.exports=n.p+"assets/twinkle2.d0c7c551ee38253d34cf.mp3"},47279:(e,t,n)=>{e.exports=n.p+"assets/bts_fountain.1726bd287ddc63118135.gif"},48469:(e,t,n)=>{e.exports=n.p+"assets/candle_unlit.3c510550ed0ba2d2691c.png"},48676:(e,t,n)=>{e.exports=n.p+"assets/pt.64f8e91dcffb11d3cdbf.jsonc"},50062:(e,t,n)=>{n.d(t,{A:()=>s});const s='Copyright (c) 2022, TakWolf (https://takwolf.com),\r\nwith Reserved Font Name \'Fusion Pixel\'.\r\n\r\nThis Font Software is licensed under the SIL Open Font License, Version 1.1.\r\nThis license is copied below, and is also available with a FAQ at:\r\nhttps://openfontlicense.org\r\n\r\n\r\n-----------------------------------------------------------\r\nSIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\r\n-----------------------------------------------------------\r\n\r\nPREAMBLE\r\nThe goals of the Open Font License (OFL) are to stimulate worldwide\r\ndevelopment of collaborative font projects, to support the font creation\r\nefforts of academic and linguistic communities, and to provide a free and\r\nopen framework in which fonts may be shared and improved in partnership\r\nwith others.\r\n\r\nThe OFL allows the licensed fonts to be used, studied, modified and\r\nredistributed freely as long as they are not sold by themselves. The\r\nfonts, including any derivative works, can be bundled, embedded,\r\nredistributed and/or sold with any software provided that any reserved\r\nnames are not used by derivative works. The fonts and derivatives,\r\nhowever, cannot be released under any other type of license. The\r\nrequirement for fonts to remain under this license does not apply\r\nto any document created using the fonts or their derivatives.\r\n\r\nDEFINITIONS\r\n"Font Software" refers to the set of files released by the Copyright\r\nHolder(s) under this license and clearly marked as such. This may\r\ninclude source files, build scripts and documentation.\r\n\r\n"Reserved Font Name" refers to any names specified as such after the\r\ncopyright statement(s).\r\n\r\n"Original Version" refers to the collection of Font Software components as\r\ndistributed by the Copyright Holder(s).\r\n\r\n"Modified Version" refers to any derivative made by adding to, deleting,\r\nor substituting -- in part or in whole -- any of the components of the\r\nOriginal Version, by changing formats or by porting the Font Software to a\r\nnew environment.\r\n\r\n"Author" refers to any designer, engineer, programmer, technical\r\nwriter or other person who contributed to the Font Software.\r\n\r\nPERMISSION & CONDITIONS\r\nPermission is hereby granted, free of charge, to any person obtaining\r\na copy of the Font Software, to use, study, copy, merge, embed, modify,\r\nredistribute, and sell modified and unmodified copies of the Font\r\nSoftware, subject to the following conditions:\r\n\r\n1) Neither the Font Software nor any of its individual components,\r\nin Original or Modified Versions, may be sold by itself.\r\n\r\n2) Original or Modified Versions of the Font Software may be bundled,\r\nredistributed and/or sold with any software, provided that each copy\r\ncontains the above copyright notice and this license. These can be\r\nincluded either as stand-alone text files, human-readable headers or\r\nin the appropriate machine-readable metadata fields within text or\r\nbinary files as long as those fields can be easily viewed by the user.\r\n\r\n3) No Modified Version of the Font Software may use the Reserved Font\r\nName(s) unless explicit written permission is granted by the corresponding\r\nCopyright Holder. This restriction only applies to the primary font name as\r\npresented to the users.\r\n\r\n4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\r\nSoftware shall not be used to promote, endorse or advertise any\r\nModified Version, except to acknowledge the contribution(s) of the\r\nCopyright Holder(s) and the Author(s) or with their explicit written\r\npermission.\r\n\r\n5) The Font Software, modified or unmodified, in part or in whole,\r\nmust be distributed entirely under this license, and must not be\r\ndistributed under any other license. The requirement for fonts to\r\nremain under this license does not apply to any document created\r\nusing the Font Software.\r\n\r\nTERMINATION\r\nThis license becomes null and void if any of the above conditions are\r\nnot met.\r\n\r\nDISCLAIMER\r\nTHE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\r\nOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\r\nCOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\r\nINCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\r\nDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\r\nFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\r\nOTHER DEALINGS IN THE FONT SOFTWARE.\r\n'},50831:(e,t,n)=>{e.exports=n.p+"assets/mic.59a43b7d043b583f43f3.png"},51019:(e,t,n)=>{e.exports=n.p+"assets/song_1_2.3b90a68a619108bb039a.mp3"},51920:(e,t,n)=>{e.exports=n.p+"assets/pc_horror.1bda71cfb53864b6869b.png"},52273:(e,t,n)=>{e.exports=n.p+"assets/a.8be027d5deade1bfb6a4.png"},52725:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FileBrowserContext=void 0,t.default=function({title:e,cb:t,browserCallback:s,mapOnly:r}){const o={root:!0,name:"/Users/liz",type:"folder",contents:[{name:"Wallpapers",display:(0,a.jsx)(p.l10n.Text,{name:"FILE_BROWSER_WALLPAPERS_FOLDER"}),type:"folder",contents:[{name:"me_and_best_friend.jpg",display:(0,a.jsx)(p.l10n.Text,{name:"FILE_BROWSER_ME_AND_MY_BF_JPG"}),type:"image",source:n(54383)}]},{name:"Desktop",display:(0,a.jsx)(p.l10n.Text,{name:"FILE_BROWSER_DESKTOP_FOLDER"}),type:"folder",contents:[{name:"lawson.jpg",type:"image",source:n(24544)},{name:"IMG01.jpg",type:"image",source:n(74319)},{name:"IMG02.jpg",type:"image",source:n(84872)},{name:"IMG03.jpg",type:"image",source:n(85601)},{name:"IMG04.jpg",type:"image",source:n(2266)},{name:"asdfhzfzzz.txt",type:"text"}]},{name:"Pictures",display:(0,a.jsx)(p.l10n.Text,{name:"FILE_BROWSER_PICTURES_FOLDER"}),type:"folder",contents:[{name:"me.jpg",display:(0,a.jsx)(p.l10n.Text,{name:"FILE_BROWSER_ME_JPG"}),type:"image",source:n(21825)}]}]},i=e=>{e.contents.forEach((t=>{t.parent=e,"folder"===t.type&&i(t)}))};i(o);const{makeWindowInvisible:h}=(0,c.useContext)(l.WindowManagerContext),f=e=>e.parent?f(e.parent)+"/"+e.name:e.name,[x,m]=(0,c.useState)(""),[g,_]=(0,c.useState)(""),[b,y]=(0,c.useState)(o),[E,j]=(0,c.useState)(""),T=(0,c.useContext)(d.LayoutContext).size;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(l.default,{name:"files",style:{zIndex:1001,width:500*T,height:400*T},initialPosition:{x:50,y:50},title:e||"File Browser",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("ul",{className:"file-browser",children:[b.root?null:(0,a.jsxs)("li",{onClick:e=>{y(b.parent)},children:[(0,a.jsx)("img",{height:20*T,src:n(47107)})," ",(0,a.jsx)(p.l10n.Text,{name:"FILE_BROWSER_GO_BACK"})]}),b.contents.map((e=>"folder"===e.type?(0,a.jsxs)("li",{style:{wordBreak:"break-all"},className:x===f(b)+"/"+e.name?"selected":"",onClick:t=>{y(e),m(),j()},children:[(0,a.jsx)("img",{height:20*T,src:n(59335)})," ",e.display||e.name]},e.name):"text"===e.type?(0,a.jsxs)("li",{style:{wordBreak:"break-all"},className:x===f(b)+"/"+e.name?"selected":"",onClick:t=>{m(f(b)+"/"+e.name),j(e.source),_(e)},children:[(0,a.jsx)("img",{height:20*T,src:n(40454)})," ",e.display||e.name]},e.name):(0,a.jsxs)("li",{style:{wordBreak:"break-all"},className:x===f(b)+"/"+e.name?"selected":"",onClick:t=>{g===e&&(s(g),h("files")),m(f(b)+"/"+e.name),j(e.source),_(e)},children:[(0,a.jsx)("img",{height:20*T,src:n(15957)})," ",e.display||e.name]})))]}),(0,a.jsx)("div",{className:"file-preview",style:{display:"inline-block"},children:!r&&E&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{style:{backgroundImage:`url(${(0,u.default)(E)})`,backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat",marginTop:10*T,height:230*T,width:200*T}}),(0,a.jsx)("div",{style:{display:"inline-block",width:200*T,wordBreak:"break-word"},children:x})]})})]}),(0,a.jsxs)("div",{style:{position:"absolute",bottom:0,right:0,margin:10},children:[(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",margin:4*T},onClick:e=>{s(g),h("files")},children:(0,a.jsx)(p.l10n.Text,{name:"FILE_BROWSER_OPEN"})}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",margin:4*T},onClick:e=>{h("files")},children:(0,a.jsx)(p.l10n.Text,{name:"FILE_BROWSER_CANCEL"})})]})]})})};const a=n(74848),l=o(n(96886)),c=n(96540),d=n(49616),u=i(n(99240)),p=n(81218);t.FileBrowserContext=(0,c.createContext)({openBrowser:(e,t,n)=>{}})},52763:(e,t,n)=>{e.exports=n.p+"assets/it.54d9ca131acf04041b06.jsonc"},53702:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ShowCameraContext=void 0,t.default=function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{}),(0,a.jsx)(_,{}),(0,a.jsx)(b,{})]})};const a=n(74848),l=o(n(96886)),c=n(96540),d=n(17322),u=n(49616),p=i(n(36430)),h=n(81218),f=n(91722),x=i(n(67098)),m=n(34921);function g(){const{makeWindowVisible:e,makeWindowInvisible:t,visibleWindows:n}=(0,c.useContext)(l.WindowManagerContext),s=((0,c.useRef)(),()=>{t("accept-call"),e("dialing-in-call"),(0,d.pauseBGM)()}),[r,o]=(0,c.useState)(!1);(0,c.useEffect)((()=>{if(r){const e=(0,f.setTimeoutPausible)((()=>{s()}),5e3);return(0,d.playBGM)("phone"),()=>{e()}}}),[r]),(0,c.useEffect)((()=>{o(n.includes("accept-call"))}),[n]);const{size:i,orientation:p}=(0,c.useContext)(u.LayoutContext),{language:m}=(0,c.useContext)(h.l10n.Context);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{name:"accept-call",title:m.VIDEO_CALL_INCOMING_CALL,initialPosition:{x:"landscape"===p?250:175,y:"landscape"===p?100:280},style:{zIndex:1003},onVisibleChange:e=>{e||s()},children:(0,a.jsxs)("div",{style:{padding:5*i},children:[(0,a.jsx)("div",{style:{margin:4*i,width:250*i},children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,x.default)(m.VIDEO_CALL_REQUEST.toString(),["b"])}})}),(0,a.jsx)("br",{}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",margin:4*i},onClick:s,children:m.VIDEO_CALL_ACCEPT}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",margin:4*i},onClick:s,children:m.VIDEO_CALL_DECLINE})]})}),r?(0,a.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:1002},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()}}):null]})}function _(){const{makeWindowVisible:e,makeWindowInvisible:t,visibleWindows:n}=(0,c.useContext)(l.WindowManagerContext),[s,r]=(0,c.useState)(!1),o=(0,c.useRef)();(0,c.useEffect)((()=>{r(n.includes("dialing-in-call"))}),[n]),(0,c.useEffect)((()=>{s?(o.current&&clearTimeout(o.current),o.current=(0,f.setTimeoutPausible)((()=>{t("dialing-in-call"),e("video-call")}),2e3)):o.current&&clearTimeout(o.current)}));const{size:i,orientation:d}=(0,c.useContext)(u.LayoutContext),{language:p}=(0,c.useContext)(h.l10n.Context);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{name:"dialing-in-call",title:p.VIDEO_CALL_TITLE,disableCloseButton:!0,initialPosition:{x:"landscape"===d?270:150,y:"landscape"===d?150:300},children:(0,a.jsx)("div",{style:{padding:20*i,width:250*i},children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,x.default)(p.VIDEO_CALL_CONNECTING.toString(),["b"])}})})}),s?(0,a.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:1002},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()}}):null]})}function b(){const{makeWindowInvisible:e,setVisibleWindows:n,visibleWindows:s}=(0,c.useContext)(l.WindowManagerContext),[r,o]=(0,c.useState)(!1),i=(0,c.useRef)(),[x,g]=(0,c.useState)(m),_=(0,c.useRef)();(0,c.useEffect)((()=>{var e=new XMLHttpRequest;e.open("GET",m,!0),e.responseType="blob",e.onload=function(){if(200===this.status){var e=this.response;_.current=URL.createObjectURL(e)}},e.send();const t=e=>{"NotSupportedError"===e.reason.name&&9===e.reason.code&&(g(_.current),b.current.play(),e.returnValue=!1,e.preventDefault(),e.stopPropagation())};return window.addEventListener("unhandledrejection",t),()=>{e.onload=null,e.abort(),window.removeEventListener("unhandledrejection",t)}}),[]),(0,c.useEffect)((()=>{o(s.includes("video-call")),s.includes("video-call")&&s.length>1&&n(["video-call"])}),[s]);const b=(0,c.useRef)(),{setShowCamera:y}=(0,c.useContext)(t.ShowCameraContext),E=(0,c.useRef)(!1);(0,c.useEffect)((()=>{const e=e=>{e?(E.current=!b.current.paused&&!b.current.ended&&b.current.currentTime>0,E.current&&b.current.pause()):E.current&&b.current.play()};p.default.on("pause",e);return()=>{p.default.off("pause",e)}}),[]),(0,c.useEffect)((()=>{if(r){i.current&&clearTimeout(i.current),i.current=(0,f.setTimeoutPausible)((()=>{e("video-call"),(0,d.pauseBGM)(),y(!1)}),10900),b.current.currentTime=0;try{b.current.play()}catch(e){g(_.current)}(0,d.playBGM)("white_noise"),y(!0)}else i.current&&clearTimeout(i.current)}),[r]);const{size:j,orientation:T}=(0,c.useContext)(u.LayoutContext),{language:S}=(0,c.useContext)(h.l10n.Context);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{name:"video-call",title:S.VIDEO_CALL_TITLE,disableCloseButton:!0,initialPosition:{x:"landscape"===T?200:40,y:"landscape"===T?20:100},style:{zIndex:1001},children:(0,a.jsxs)("div",{style:{padding:5*j},children:[(0,a.jsx)("strong",{style:{margin:5*j,color:"red"},children:S.VIDEO_CALL_CAMERA_ON}),(0,a.jsx)("br",{}),(0,a.jsx)("video",{playsInline:!0,ref:b,src:x,muted:!0,controls:!1,onEnded:()=>{n((e=>e.filter((e=>"video-call"!==e)))),y(!1),(0,d.pauseBGM)()},style:{margin:5*j,width:500*j,objectFit:"cover"}}),(0,a.jsx)("br",{}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",margin:4*j},children:S.VIDEO_CALL_END_CALL}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",margin:4*j},children:S.VIDEO_CALL_MUTE})]})}),r?(0,a.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:1002},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()}}):null]})}t.ShowCameraContext=(0,c.createContext)()},53758:(e,t,n)=>{e.exports=n.p+"assets/jp.f06f812944b9b3315c0f.jsonc"},54383:(e,t,n)=>{e.exports=n.p+"assets/liz_em_desktop_cropped.0dc544973dfb61d5b411.gif"},54405:(e,t,n)=>{e.exports=n.p+"assets/song_3_2.24e69a7bbe413a038296.mp3"},54820:(e,t,n)=>{e.exports=n.p+"assets/fr.e6665df5aada37acff64.jsonc"},55081:(e,t,n)=>{e.exports=n.p+"assets/lock.dc4bd63f43fbbcc77691.png"},55909:(e,t,n)=>{e.exports=n.p+"assets/bts_isabel.47f25eb0f77f9d6f4f93.gif"},56266:(e,t,n)=>{e.exports=n.p+"assets/bts_bg.b3dba07844835a5841c5.gif"},56505:(e,t,n)=>{e.exports=n.p+"assets/comic-sans-ms-pixel-rus-eng.31dba021cca18d2274fc.otf"},57367:(e,t,n)=>{e.exports=n.p+"assets/busy.6258b3802062858ef3ed.png"},57845:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const{scene:e}=(0,a.useThree)(),t=(0,o.useCubeTexture)([l,l,l,l,l,l],{path:""});return e.background=t,(0,i.useEffect)((()=>{t.minFilter=r.NearestFilter,t.magFilter=r.NearestFilter,t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,t.needsUpdate=!0}),[t]),(0,s.jsx)(s.Fragment,{})};const s=n(74848),r=n(27186),o=n(56448),i=n(96540),a=n(73560),l=n(65936)},57955:(e,t,n)=>{e.exports=n.p+"assets/glow_eagle.f177a802bd2cec64e28d.png"},58220:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({doorUnlocked:e,setDoorUnlocked:t,morseSolved:s,setMorseSolved:r}){const o=(0,O.useLoader)(c.TextureLoader,n(42590));(0,x.useEffect)((()=>{o.minFilter=c.NearestFilter,o.magFilter=c.NearestFilter,o.wrapS=c.RepeatWrapping,o.wrapT=c.RepeatWrapping,o.repeat.set(30,5),o.needsUpdate=!0}),[o]);const i=(0,x.useContext)(E.NavigationContext);(0,x.useEffect)((()=>{i.setNavigation&&i.setNavigation({forward:{level:"house2"}})}),[i]);const l=(0,x.useContext)(d.EffectsContext);return(0,x.useEffect)((()=>{l.setNoiseIntensity&&l.setNoiseIntensity(.3)})),(0,x.useEffect)((()=>{(0,h.playBGM)("house")})),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.default,{}),(0,a.jsx)("fog",{attach:"fog",args:["#000",0,20]}),(0,a.jsxs)("object3D",{position:[0,2,0],children:[(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[0,-4,-5],rotation:[-Math.PI/2,0,0],children:[(0,a.jsx)("planeGeometry",{args:[50,50,30]}),(0,a.jsx)("meshStandardMaterial",{map:o})]}),(0,a.jsx)(D,{position:[0,0,-7],rotation:[0,0,0],doorUnlocked:e,setDoorUnlocked:t,morseSolved:s,setMorseSolved:r})]})]})},t.HouseOfBaphomet2=function({doorUnlocked:e,setDoorUnlocked:t,morseSolved:s,setMorseSolved:r}){const o=(0,O.useLoader)(c.TextureLoader,n(42590));(0,x.useEffect)((()=>{o.minFilter=c.NearestFilter,o.magFilter=c.NearestFilter,o.wrapS=c.RepeatWrapping,o.wrapT=c.RepeatWrapping,o.repeat.set(30,5),o.needsUpdate=!0}),[o]);const i=(0,x.useContext)(E.NavigationContext);(0,x.useEffect)((()=>{i.setNavigation&&i.setNavigation({backward:{level:"house1"},right:{level:"garden"}})}),[i]);const l=(0,x.useContext)(d.EffectsContext);return(0,x.useEffect)((()=>{l.setNoiseIntensity&&l.setNoiseIntensity(.35)})),(0,x.useEffect)((()=>{(0,h.playBGM)("house")})),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.default,{}),(0,a.jsx)("fog",{attach:"fog",args:["#000",0,20]}),(0,a.jsxs)("object3D",{position:[0,3.3,3],children:[(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[0,-4,-5],rotation:[-Math.PI/2,0,0],children:[(0,a.jsx)("planeGeometry",{args:[50,30,30]}),(0,a.jsx)("meshStandardMaterial",{map:o})]}),(0,a.jsx)(D,{position:[0,0,0],doorUnlocked:e,setDoorUnlocked:t,morseSolved:s,setMorseSolved:r})]})]})},t.BlessingGarden=function({blessed:e,setBlessed:t}){const s=(0,O.useLoader)(c.TextureLoader,n(42590));(0,x.useEffect)((()=>{s.minFilter=c.NearestFilter,s.magFilter=c.NearestFilter,s.wrapS=c.RepeatWrapping,s.wrapT=c.RepeatWrapping,s.repeat.set(30,5),s.needsUpdate=!0}),[s]);const r=(0,x.useContext)(E.NavigationContext);(0,x.useEffect)((()=>{r.setNavigation&&r.setNavigation({left:{level:"house2"}})}),[r]);const o=(0,x.useContext)(d.EffectsContext);(0,x.useEffect)((()=>{o.setNoiseIntensity&&o.setNoiseIntensity(.35)}));const i=(0,x.useContext)(g.ChatContext);return(0,x.useEffect)((()=>{i.addMessage&&i.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_FOUR_PORTRAITS"}))}),[]),(0,x.useEffect)((()=>{i.addMessage&&e&&(0,f.setTimeoutPausible)((()=>{i.addMessage(" Thank you for paying your respects, you are now welcome."),r.moveTo("house2","left")}),500)}),[e]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.default,{}),(0,a.jsx)("fog",{attach:"fog",args:["#000",0,20]}),(0,a.jsxs)("object3D",{position:[-1,3,4],rotation:[0,-.3,0],children:[(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[0,-4,-5],rotation:[-Math.PI/2,0,0],children:[(0,a.jsx)("planeGeometry",{args:[50,30,30]}),(0,a.jsx)("meshStandardMaterial",{map:s})]}),(0,a.jsx)(D,{position:[-12,0,-1],doorUnlocked:!1,setMorseSolved:e=>{},morseSolved:[!1,!1,!1,!1]})]}),(0,a.jsx)(P,{texture:n(45627),morse:R,position:[0,1,-5],rotation:[0,-.3,0],scale:[1.5,1,1],setBlessed:t,whichToBless:2,message:(0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_GREGG"})}),(0,a.jsx)(P,{texture:n(35117),morse:M,position:[2,1.2,-5],rotation:[0,-.3,0],scale:[1.5,1,1],setBlessed:t,whichToBless:1,message:(0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_AURORA"})}),(0,a.jsx)(P,{texture:n(62670),morse:C,position:[0,-.5,-5],rotation:[0,-.3,0],scale:[1.5,1,1],setBlessed:t,whichToBless:3,message:(0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_SAHRA"})}),(0,a.jsx)(P,{texture:n(2484),morse:L,position:[2,-.5,-5],rotation:[0,-.3,0],scale:[1.5,1,1],setBlessed:t,whichToBless:0,message:(0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_JORDEN"})})]})},t.BaphometPuzzle=function({level:e,unlocked:t,setUnlocked:n,unlockedTime:s,setUnlockedTime:r}){const[o,i]=(0,x.useState)([]),{setShowGlobalHint:c}=(0,x.useContext)(b.HintContext),m=(0,x.useContext)(g.ChatContext),_=e=>{const t=[...o,e];t.length>F.length&&t.splice(0,1),i(t);(u.SKIP_STATUE_PUZZLE?!p.default.isEqual(t,[]):p.default.isEqual(t,F))&&(m.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_STATUE_PUZZLE_SOLVED"})),(0,T.achieve)(w.AchievementString.BLESSED),c(6),l.stopEventTimer("statues"),r((0,f.pausibleNow)()),n(!0),(0,v.playSFX)("door_open"))},E=(0,x.useContext)(d.EffectsContext);(0,x.useEffect)((()=>{E.setNoiseIntensity&&E.setNoiseIntensity(.3)})),(0,x.useEffect)((()=>{(0,h.playBGM)("inside_house")})),(0,x.useEffect)((()=>{m.addMessage?.((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_STATUE_PUZZLE_INTRO"}))}),[m]);const{orientation:j}=(0,x.useContext)(y.LayoutContext);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("fog",{attach:"fog",args:["#000","landscape"===j?5:0,20]}),(e=>{switch(e){case"puzzle1":return(0,a.jsx)(H,{history:o,onClick:()=>_("4"),unlocked:t,unlockedTime:s});case"puzzle2":return(0,a.jsx)(W,{history:o,onClick:()=>_("2"),unlocked:t});case"puzzle3":return(0,a.jsx)(B,{history:o,onClick:()=>_("1"),unlocked:t});case"puzzle4":return(0,a.jsx)(V,{history:o,onClick:()=>_("3"),unlocked:t});default:return(0,a.jsx)(H,{})}})(e)]})},t.BaphometPuzzleCommon=G,t.BaphometPuzzle1=H,t.BaphometPuzzle2=W,t.BaphometPuzzle3=B,t.BaphometPuzzle4=V,t.WallButton=function({onClick:e,onRelease:t,toggle:s,map:r,baseColor:o,children:i,...l}){const[d,u]=(0,x.useState)(0),[p,h]=(0,x.useState)(!1),m=z(n(68487));o=o||new c.Color(1,1,1);const g=(0,x.useRef)(),_=(0,x.useRef)();return(0,f.useFramePausible)((()=>{if(g.current&&_.current)if(s){if(s)if(p)if(0!==d&&(0,f.pausibleNow)()-d<250){const e=((0,f.pausibleNow)()-d)/250;g.current.position.z=-.4*Math.sin(((0,f.pausibleNow)()-d)/250*Math.PI/2),_.current.color=new c.Color(o.r+(1-o.r)*e,o.g+(0-o.g)*e,o.b+(0-o.b)*e)}else g.current.position.z=-.4,_.current.color=new c.Color(1,0,0);else if(0!==d&&(0,f.pausibleNow)()-d<250){const e=((0,f.pausibleNow)()-d)/250;g.current.position.z=-.4*Math.sin((((0,f.pausibleNow)()-d)/250+1)*Math.PI/2),_.current.color=new c.Color(1+(o.r-1)*e,0+(o.g-0)*e,0+(o.b-0)*e)}else g.current.position.z=0,_.current.color=o}else 0!==d&&(0,f.pausibleNow)()-d<1e3?(g.current.position.z=-.4*Math.sin(((0,f.pausibleNow)()-d)/1e3*Math.PI),_.current.color=new c.Color(1*Math.sin(((0,f.pausibleNow)()-d)/1e3*Math.PI)+o.r,Math.max(o.g-1*Math.sin(((0,f.pausibleNow)()-d)/1e3*Math.PI),0),Math.max(o.b-1*Math.sin(((0,f.pausibleNow)()-d)/1e3*Math.PI),0))):(g.current.position.z=0,_.current.color=o)})),(0,a.jsx)("object3D",{...l,children:(0,a.jsxs)("mesh",{ref:g,onPointerDown:n=>{(0,v.playSFX)("stonebutton"),s?(p?t&&t():e&&e(),h(!p)):e&&e(),u((0,f.pausibleNow)()),n.stopPropagation()},children:[(0,a.jsx)("boxGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:r||m,ref:_}),i]})})},t.useSimpleTexture=z,t.SacrificeRoom=function(){const e=(0,x.useContext)(E.NavigationContext);(0,x.useEffect)((()=>{e.setNavigation&&e.setNavigation({})}),[e]);const t=(0,x.useContext)(d.EffectsContext);(0,x.useEffect)((()=>{t.setNoiseIntensity&&t.setNoiseIntensity(.8)})),(0,x.useEffect)((()=>{(0,h.playBGM)("tribute")}));const s=(0,x.useRef)(),r=(0,x.useRef)(),o=(0,x.useRef)(),[i,l]=(0,x.useState)([]),[c,p]=(0,x.useState)(""),[m,b]=(0,x.useState)(""),[y,j]=(0,x.useState)(""),O=z(n(30112)),I=z(n(48469)),R=z(n(18619)),M=(0,x.useRef)(),C=(0,x.useRef)(),L=(0,x.useRef)(),A=n(28842),D=n(77825),P=n(9560),F=(0,x.useContext)(g.ChatContext),k=(0,x.useContext)(_.FileBrowserContext),{language:U}=(0,x.useContext)(S.l10n.Context),[H]=(0,N.default)([{onStart:()=>{(0,v.playSFX)("rumble")},duration:.5,frameCallback:(e,t)=>{s.current&&(s.current.position.x=.2*Math.sin(t*Math.PI*4)*t,s.current.position.y=.2*Math.sin(5*Math.cos(t*Math.PI*2))*t)}},{duration:.5,frameCallback:(e,t)=>{s.current&&r.current&&(s.current.position.x=.4*Math.sin((1+t)*Math.PI*4),s.current.position.y=.2*Math.sin(5*Math.cos((1+t)*Math.PI*2)),r.current.position.x=.2*Math.sin(t*Math.PI*4+5)*t,r.current.position.y=.2*Math.sin(5*Math.cos(t*Math.PI*2+5))*t)}},{duration:.5,frameCallback:(e,t)=>{s.current&&r.current&&o.current&&(s.current.position.x=.4*Math.sin((2+t)*Math.PI*4),s.current.position.y=.2*Math.sin(5*Math.cos((2+t)*Math.PI*2)),r.current.position.x=.2*Math.sin((t+1)*Math.PI*4+5),r.current.position.y=.2*Math.sin(5*Math.cos((t+1)*Math.PI*2+5)),o.current.position.x=.2*Math.sin(t*Math.PI*4+10)*t,o.current.position.y=.2*Math.sin(5*Math.cos(t*Math.PI*2+10))*t)}},{duration:1,frameCallback:(e,t)=>{s.current&&r.current&&o.current&&(s.current.position.x=.4*Math.sin((2+t)*Math.PI*4)*(1-t),s.current.position.y=.2*Math.sin(5*Math.cos((2+t)*Math.PI*2))*(1-t),r.current.position.x=.2*Math.sin((t+1)*Math.PI*4+5)*(1-t),r.current.position.y=.2*Math.sin(5*Math.cos((t+1)*Math.PI*2+5))*(1-t),o.current.position.x=.2*Math.sin(t*Math.PI*4+10)*(1-t),o.current.position.y=.2*Math.sin(5*Math.cos(t*Math.PI*2+10))*(1-t))},onEnd:()=>{F.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_TRIBUTE_PUZZLE_FAILURE"})),p(""),b(""),j("")}}]),[W]=(0,N.default)([{onStart:()=>{(0,v.playSFX)("rumble")},duration:.5,frameCallback:(e,t)=>{s.current&&(s.current.position.x=.2*Math.sin(t*Math.PI*4)*t,s.current.position.y=.2*Math.sin(5*Math.cos(t*Math.PI*2))*t)}},{duration:.5,frameCallback:(e,t)=>{s.current&&r.current&&(s.current.position.x=.4*Math.sin((1+t)*Math.PI*4),s.current.position.y=.2*Math.sin(5*Math.cos((1+t)*Math.PI*2)),r.current.position.x=.2*Math.sin(t*Math.PI*4+5)*t,r.current.position.y=.2*Math.sin(5*Math.cos(t*Math.PI*2+5))*t)}},{duration:.5,frameCallback:(e,t)=>{s.current&&r.current&&o.current&&(s.current.position.x=.4*Math.sin((2+t)*Math.PI*4),s.current.position.y=.2*Math.sin(5*Math.cos((2+t)*Math.PI*2)),r.current.position.x=.2*Math.sin((t+1)*Math.PI*4+5),r.current.position.y=.2*Math.sin(5*Math.cos((t+1)*Math.PI*2+5)),o.current.position.x=.2*Math.sin(t*Math.PI*4+10)*t,o.current.position.y=.2*Math.sin(5*Math.cos(t*Math.PI*2+10))*t)}},{duration:1,frameCallback:(e,t)=>{s.current&&r.current&&o.current&&(s.current.position.x=.4*Math.sin((2+t)*Math.PI*4)*(1-t),s.current.position.y=.2*Math.sin(5*Math.cos((2+t)*Math.PI*2))*(1-t),r.current.position.x=.2*Math.sin((t+1)*Math.PI*4+5)*(1-t),r.current.position.y=.2*Math.sin(5*Math.cos((t+1)*Math.PI*2+5))*(1-t),o.current.position.x=.2*Math.sin(t*Math.PI*4+10)*(1-t),o.current.position.y=.2*Math.sin(5*Math.cos(t*Math.PI*2+10))*(1-t))},onEnd:()=>{l(["1"]),(0,v.playSFX)("candle")}},{duration:.5,onEnd:()=>{l(["1","3"]),(0,v.playSFX)("candle")}},{duration:.5,onEnd:()=>{l(["1","3","2"]),(0,v.playSFX)("candle"),F.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_TRIBUTE_PUZZLE_SUCCESS"})),(0,T.achieve)(w.AchievementString.TRIBUTES)}},{duration:2,onEnd:()=>{e.moveTo("ending","backward",!0)}},{duration:.5,onEnd:()=>{(0,h.pauseBGM)()}}]),[B]=(0,N.default)([{duration:2.5},{duration:.25,frameCallback:(e,t)=>{M.current&&(M.current.material.opacity=1-t,M.current.scale.set(2.5+5*Math.sin(t*t*Math.PI),2+4*Math.sin(t*t*Math.PI),1))}},{duration:.25},{duration:.25,frameCallback:(e,t)=>{C.current&&(C.current.material.opacity=1-t,C.current.scale.set(2.5+5*Math.sin(t*t*Math.PI),2+4*Math.sin(t*t*Math.PI),1))}},{duration:.25},{duration:.25,frameCallback:(e,t)=>{L.current&&(L.current.material.opacity=1-t,L.current.scale.set(2.5+5*Math.sin(t*t*Math.PI),2+4*Math.sin(t*t*Math.PI),1))}}]);return(0,x.useEffect)((()=>{""===c||""===m||""===y||("me_and_best_friend.jpg"===c.name&&"lawson.jpg"===m.name&&"me.jpg"===y.name?(W(),B()):H())}),[c,m,y]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("fog",{attach:"fog",args:["#000",0,30]}),(0,a.jsx)(G,{}),(0,a.jsxs)("mesh",{position:[0,-1,-8.4],rotation:[0,0,0],scale:[.9,2,1],onPointerDown:e=>{F.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_CANDLES"})),u.SKIP_CANDLES&&(W(),B())},children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:i.includes("1")?O:I,transparent:!0})]}),(0,a.jsxs)("mesh",{position:[-4,-1.2,-9.4],rotation:[0,0,0],scale:[.7,1.5,1],onPointerDown:e=>{F.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_CANDLES"}))},children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:i.includes("2")?O:I,transparent:!0})]}),(0,a.jsxs)("mesh",{position:[4,-1.2,-9.4],rotation:[0,0,0],scale:[.7,1.5,1],onPointerDown:e=>{F.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_CANDLES"}))},children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:i.includes("3")?O:I,transparent:!0})]}),(0,a.jsxs)("mesh",{ref:M,position:[0,-.6,-8.3],rotation:[0,0,0],scale:[2,2,1],children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:R,transparent:!0,opacity:0})]}),(0,a.jsxs)("mesh",{ref:C,position:[4,-.94,-9.3],rotation:[0,0,0],scale:[2,2,1],children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:R,transparent:!0,opacity:0})]}),(0,a.jsxs)("mesh",{ref:L,position:[-4,-.94,-9.3],rotation:[0,0,0],scale:[2,2,1],children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:R,transparent:!0,opacity:0})]}),(0,a.jsxs)("object3D",{ref:s,children:[(0,a.jsxs)("mesh",{position:[-7,2,-13.4],rotation:[0,0,0],scale:[5,5,1],onPointerDown:e=>{e.stopPropagation(),k.openBrowser((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_TRIBUTE_PUZZLE_1"}),(e=>{e.source&&(0,f.setTimeoutPausible)((()=>{p(e)}))}))},children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)(d.DynamicSignTexture,{backgroundColor:"rgb(0,0,255)",graphics:[{type:"image",image:A,x:0,y:0,width:128,height:80},{type:"rect",color:"rgb(0,0,255)",x:15,y:15,width:98,height:50},{type:"text",x:64,y:30,fontSize:13,color:"white",text:U.TRIBUTES_BOND_LINE_1},{type:"text",x:64,y:45,fontSize:13,color:"white",text:U.TRIBUTES_BOND_LINE_2},{type:"text",x:64,y:60,fontSize:13,color:"white",text:U.TRIBUTES_BOND_LINE_3}]})]}),""!==c?(0,a.jsx)(Y,{position:[-7,2,-13.3],rotation:[0,0,0],scale:[4.2,4.2,1],texture:c.source}):null]}),(0,a.jsxs)("object3D",{ref:r,children:[(0,a.jsxs)("mesh",{position:[0,2,-13.4],rotation:[0,0,0],scale:[4,6,1],onPointerDown:e=>{e.stopPropagation(),k.openBrowser((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_TRIBUTE_PUZZLE_2"}),(e=>{e.source&&(0,f.setTimeoutPausible)((()=>{b(e)}))}))},children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)(d.DynamicSignTexture,{backgroundColor:"rgb(0,0,255)",width:"128",height:"128",graphics:[{type:"image",image:D,x:0,y:0,width:128,height:128},{type:"rect",color:"rgb(0,0,255)",x:15,y:15,width:98,height:98},{type:"text",x:64,y:50,fontSize:16,color:"white",text:U.TRIBUTES_UNREQUITED_LINE_1},{type:"text",x:64,y:70,fontSize:16,color:"white",text:U.TRIBUTES_UNREQUITED_LINE_2},{type:"text",x:64,y:90,fontSize:16,color:"white",text:U.TRIBUTES_UNREQUITED_LINE_3}]})]}),""!==m?(0,a.jsx)(Y,{position:[0,2,-13.3],rotation:[0,0,0],scale:[3.2,5,1],texture:m.source}):null]}),(0,a.jsxs)("object3D",{ref:o,children:[(0,a.jsxs)("mesh",{position:[7,2,-13.4],rotation:[0,0,0],scale:[6.5,4.5,1],onPointerDown:e=>{e.stopPropagation(),k.openBrowser((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_TRIBUTE_PUZZLE_3"}),(e=>{e.source&&(0,f.setTimeoutPausible)((()=>{j(e)}))}))},children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)(d.DynamicSignTexture,{backgroundColor:"rgb(0,0,255)",width:"128",height:"128",graphics:[{type:"image",image:P,x:0,y:0,width:128,height:128},{type:"rect",color:"rgb(0,0,255)",x:15,y:15,width:98,height:98},{type:"text",x:64,y:50,fontSize:12,color:"white",text:U.TRIBUTES_FATE_LINE_1},{type:"text",x:64,y:70,fontSize:12,color:"white",text:U.TRIBUTES_FATE_LINE_2},{type:"text",x:64,y:90,fontSize:12,color:"white",text:U.TRIBUTES_FATE_LINE_3}]})]}),""!==y?(0,a.jsx)(Y,{position:[7,2,-13.3],rotation:[0,0,0],scale:[5.5,3.8,1],texture:y.source}):null]})]})};const a=n(74848),l=o(n(23571)),c=n(27186),d=n(73965),u=n(78815),p=i(n(2543)),h=n(17322),f=n(91722),x=n(96540),m=i(n(57845)),g=n(26661),_=n(52725),b=n(29369),y=n(49616),E=n(80129),j=i(n(13857)),T=n(73719),S=n(81218),v=n(44190),O=n(73560),N=i(n(20584)),I=n(97172),w=n(37815),R=u.TWO_KNOCKS?[".","."]:["-",".",".","-"],M=["-","-","-","."],C=["-",".","-","."],L=[".","-",".","-"];function A({morse:e,solved:t,onSolved:s,...r}){const o=z(n(9924)),[i,l]=(0,x.useState)(0),d=(0,x.useRef)(0),[u,h]=(0,x.useState)([]),[m,_]=(0,x.useState)(!1),[b,y]=(0,x.useState)(!1),[E,j]=(0,x.useState)(!1),T=z(n(30667)),O=z(n(75812));(0,x.useEffect)((()=>{_(p.default.isEqual(u,e))}),[e,u]),(0,x.useEffect)((()=>{m&&(s(),N.addMessage((0,a.jsx)(a.Fragment,{children:(0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_SOMETHING_IN_DOOR_CHANGES"})})))}),[m]);const N=(0,x.useContext)(g.ChatContext);return(0,a.jsxs)("object3D",{...r,receiveShadow:!0,castShadow:!0,children:[(0,a.jsxs)("mesh",{onPointerDown:e=>{(0,f.pausibleNow)()-d.current>5e3&&h([]),d.current=(0,f.pausibleNow)(),y(!0),j(!0),e.stopPropagation()},onPointerUp:t=>{let n=[...u];(0,f.pausibleNow)()-d.current<400?(n.push("."),N.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_SHORT_KNOCK"})),(0,v.playSFX)("knock")):(n.push("-"),N.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_LONG_KNOCK"})),(0,v.playSFX)("knock_echo")),n.length>e.length&&n.splice(0,1),h(n),j(!1),t.stopPropagation()},children:[(0,a.jsx)("boxGeometry",{args:[1,1,1]}),(0,a.jsx)("meshStandardMaterial",{map:o,color:t?new c.Color(1,0,0):new c.Color(1,1,1),transparent:!0})]}),E?(0,a.jsxs)("mesh",{position:[-.01,0,.6],rotation:[0,0,0],children:[(0,a.jsx)("planeGeometry",{args:[.6,1,1]}),(0,a.jsx)("meshStandardMaterial",{map:O,transparent:!0})]}):(0,a.jsxs)("mesh",{position:[-.01,0,.6],rotation:[0,0,0],children:[(0,a.jsx)("planeGeometry",{args:[.6,1,1]}),(0,a.jsx)("meshStandardMaterial",{map:T,transparent:!0})]})]})}function D({doorUnlocked:e,setDoorUnlocked:t,morseSolved:s,setMorseSolved:r,...o}){const i=z(n(73556)),d=z(n(9924)),u=z(n(5159)),p=(0,x.useContext)(g.ChatContext),h=(0,x.useContext)(E.NavigationContext),f=(0,x.useCallback)((e=>{r((t=>{const n=[...t];return n[e]=!0,n}))}),[r]);return(0,a.jsxs)("object3D",{...o,children:[(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[0,-1,-9],children:[(0,a.jsx)("boxGeometry",{args:[15.5,2,5]}),(0,a.jsx)("meshStandardMaterial",{map:i})]}),(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[-4.5,-3,-9],children:[(0,a.jsx)("boxGeometry",{args:[6.5,2,5]}),(0,a.jsx)("meshStandardMaterial",{map:i})]}),(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[4.5,-3,-9],children:[(0,a.jsx)("boxGeometry",{args:[6.5,2,5]}),(0,a.jsx)("meshStandardMaterial",{map:i})]}),(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[-10,-3,-15],children:[(0,a.jsx)("boxGeometry",{args:[15,7,5]}),(0,a.jsx)("meshStandardMaterial",{map:i})]}),(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[10,-3,-15],children:[(0,a.jsx)("boxGeometry",{args:[15,7,5]}),(0,a.jsx)("meshStandardMaterial",{map:i})]}),(0,a.jsxs)("mesh",{position:[.05,-3.2,-15],rotation:[0,0,0],scale:[1,.9,1],children:[(0,a.jsx)("planeGeometry",{args:[1.2,2,15]}),(0,a.jsx)("meshStandardMaterial",{map:u,transparent:!0})]}),(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[0,-3,-7.5],onPointerDown:t=>{e?(h.moveTo("puzzle3","forward",!0),l.startEventTimer("statues")):p.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_FRAME_KNOCK"}))},children:[(0,a.jsx)("boxGeometry",{args:[3,2,1]}),(0,a.jsx)("meshStandardMaterial",{map:d,color:new c.Color(.5,.5,.5),transparent:!0,opacity:e?0:1})]}),e?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(A,{solved:s&&s[0],onSolved:e=>f(0),morse:R,scale:[1,.8,1],position:[-.6,-2.5,-7.3]}),(0,a.jsx)(A,{solved:s&&s[1],onSolved:e=>f(1),morse:M,scale:[1,.8,1],position:[.6,-2.5,-7.3]}),(0,a.jsx)(A,{solved:s&&s[2],onSolved:e=>f(2),morse:C,scale:[1,.8,1],position:[-.6,-3.5,-7.3]}),(0,a.jsx)(A,{solved:s&&s[3],onSolved:e=>f(3),morse:L,scale:[1,.8,1],position:[.6,-3.5,-7.3]})]})]})}function P({morse:e,onClick:t,texture:s,setBlessed:r,whichToBless:o,message:i,...l}){const c=z(s),d=z(n(18619)),[u,p]=(0,x.useState)(!1),h=(0,x.useContext)(g.ChatContext),f=(0,x.useRef)(),m=(0,x.useRef)(),[_]=(0,N.default)([...e.map((e=>"."===e?[{duration:.5,frameCallback:(e,t)=>{if(!f.current)return;if(!m.current)return;const n=1-Math.pow(1-t,2);f.current.scale.set(.5+2.5*n,.5+2.5*n,.5+2.5*n),m.current.opacity=Math.cos(t*Math.PI)/2+.5},onStart:()=>{(0,v.playSFX)("twinkle1")},onEnd:()=>{f.current&&f.current.scale.set(0,0,0)}},{duration:.5}]:[{duration:.1,frameCallback:(e,t)=>{if(!f.current)return;if(!m.current)return;const n=1-Math.pow(1-t,2);f.current.scale.set(.5+2*n,.5+2*n,.5+2*n),m.current.opacity=Math.sin(t/2*Math.PI)/2+.5},onStart:()=>{(0,v.playSFX)("twinkle2")},onEnd:()=>{f.current&&f.current.scale.set(2.5,2.5,2.5)}},{duration:.9,frameCallback:(e,t)=>{if(!f.current)return;if(!m.current)return;Math.pow(1-t,2);f.current.scale.set(2.5,2.5,2.5),m.current.opacity=1},onEnd:()=>{f.current&&f.current.scale.set(0,0,0)}},{duration:.2,frameCallback:(e,t)=>{if(!f.current)return;if(!m.current)return;Math.pow(1-t,2);f.current.scale.set(2.5,2.5,2.5),m.current.opacity=Math.sin((t/2+.5)*Math.PI)/2+.5},onEnd:()=>{f.current&&f.current.scale.set(0,0,0)}},{duration:.5}])).flat()]);return(0,a.jsxs)("object3D",{...l,children:[(0,a.jsxs)("mesh",{scale:[1,1,1],onClick:e=>{e.stopPropagation(),h.addMessage(i),p(!0),_()},children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshStandardMaterial",{map:c})]}),(0,a.jsxs)("mesh",{ref:f,position:[0,0,.5],scale:[.5,.5,1],children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshStandardMaterial",{ref:m,map:d,opacity:0,transparent:!0})]})]})}const F=["1","2","3","4","4","4"];function k({color:e,onClick:t}){const s=z(n(26592));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("mesh",{onPointerDown:t,children:[(0,a.jsxs)("mesh",{position:[-4.6,2.6,-13],rotation:[0,0,0],scale:[.6,.8,1],children:[(0,a.jsx)("planeGeometry",{args:[1.3*3,6,15]}),(0,a.jsx)("meshStandardMaterial",{opacity:0,transparent:!0})]}),(0,a.jsxs)("mesh",{position:[4.6,2.6,-13],rotation:[0,0,0],scale:[.6,.8,1],children:[(0,a.jsx)("planeGeometry",{args:[1.3*3,6,15]}),(0,a.jsx)("meshStandardMaterial",{opacity:0,transparent:!0})]})]}),(0,a.jsxs)("mesh",{position:[-4.5,2.5,-13],rotation:[0,0,0],scale:[1.5,1,1],children:[(0,a.jsx)("planeGeometry",{args:[1.3*1.5,7,15]}),(0,a.jsx)("meshBasicMaterial",{color:e,map:s,transparent:!0})]}),(0,a.jsxs)("mesh",{position:[4.5,2.5,-13],rotation:[0,0,0],scale:[1.5,1,1],children:[(0,a.jsx)("planeGeometry",{args:[1.3*1.5,7,15]}),(0,a.jsx)("meshBasicMaterial",{color:e,map:s,transparent:!0})]})]})}function G(){const e=(0,O.useLoader)(c.TextureLoader,n(42590));(0,x.useEffect)((()=>{e.minFilter=c.NearestFilter,e.magFilter=c.NearestFilter,e.wrapS=c.RepeatWrapping,e.wrapT=c.RepeatWrapping,e.repeat.set(30,5),e.needsUpdate=!0}),[e]);const t=(0,O.useLoader)(c.TextureLoader,n(73556));return(0,x.useEffect)((()=>{t.minFilter=c.NearestFilter,t.magFilter=c.NearestFilter,t.wrapS=c.RepeatWrapping,t.wrapT=c.RepeatWrapping,t.repeat.set(8,3),t.needsUpdate=!0}),[t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.default,{}),(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[0,7.5,-5],rotation:[Math.PI/2,0,0],children:[(0,a.jsx)("planeGeometry",{args:[50,20,30]}),(0,a.jsx)("meshStandardMaterial",{map:e})]}),(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[0,-2,-5],rotation:[-Math.PI/2,0,0],children:[(0,a.jsx)("planeGeometry",{args:[50,20,30]}),(0,a.jsx)("meshStandardMaterial",{map:e})]}),(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[0,2,-16],children:[(0,a.jsx)("boxGeometry",{args:[30,11,5]}),(0,a.jsx)("meshStandardMaterial",{map:t})]}),(0,a.jsxs)("mesh",{receiveShadow:!0,castShadow:!0,position:[0,-2,-15],children:[(0,a.jsx)("boxGeometry",{args:[30,2,5]}),(0,a.jsx)("meshStandardMaterial",{map:t})]})]})}function U(e,t,n){const{setCameraShake:s}=(0,x.useContext)(d.EffectsContext);return(0,N.default)([{duration:5,frameCallback:(n,r)=>{if(!e.current)return;if(!t.current)return;var o;r=1===(o=r)?1:1-Math.pow(2,-10*o);const i=1-(Math.cos(r*Math.PI*2)/2+.5);e.current.opacity=i,t.current.opacity=i,s(.04*(1-r))},onStart:()=>{(0,v.playSFX)("aum")},onEnd:()=>{s(0)}}],{onEarlyCleanup:()=>{s(0)}})}function H({onClick:e,unlocked:t,unlockedTime:s,history:r}){const o=(0,O.useLoader)(c.TextureLoader,n(11963));(0,x.useEffect)((()=>{o.minFilter=c.NearestFilter,o.magFilter=c.NearestFilter,o.wrapS=c.RepeatWrapping,o.wrapT=c.RepeatWrapping,o.transparent=!0,o.needsUpdate=!0}),[o]);const i=z(n(18619)),u=z(n(18803)),p=z(n(46714)),[h,m]=(0,x.useState)(1),_=(0,x.useRef)(),b=(0,x.useRef)(),j=(0,x.useRef)(),T=(0,x.useRef)(),v=(0,x.useRef)(),w=(0,x.useRef)(),R=(0,x.useRef)(),M=(0,x.useRef)(),[C]=U(_,b),{setCameraShake:L}=(0,x.useContext)(d.EffectsContext),[A]=(0,N.default)([{duration:.2,frameCallback:(e,t)=>{j.current&&(j.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{j.current.opacity=0}},{duration:.2,frameCallback:(e,t)=>{T.current&&(T.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{T.current.opacity=0}},{duration:.2,frameCallback:(e,t)=>{v.current&&(v.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{v.current.opacity=0}},{duration:.2,frameCallback:(e,t)=>{w.current&&(w.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{w.current.opacity=0}},{duration:.2,frameCallback:(e,t)=>{R.current&&(R.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{R.current.opacity=0}},{duration:.5,frameCallback:(e,t)=>{M.current&&(M.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{M.current.opacity=0}}],{onRestart:()=>{j.current.opacity=0,T.current.opacity=0,v.current.opacity=0,w.current.opacity=0,R.current.opacity=0,M.current.opacity=0}}),D=(0,x.useRef)(L);D.current=L,(0,x.useEffect)((()=>()=>{D.current(0)}),[]);const P=(0,x.useRef)(),F=(0,x.useRef)();(0,f.useFramePausible)((()=>{if(F.current&&P.current&&t){const e=((0,f.pausibleNow)()-s)/3e3;e>0&&e<1&&(L(.05*(1-(0,I.easeOutCubic)(e))),P.current.position.x=-4*e);const t=((0,f.pausibleNow)()-1e3-s)/2e3;t>0&&t<1?F.current.scale.x=(0,I.easeOutCubic)(t):t>0&&(F.current.scale.x=1,L(0))}}));const H=(0,x.useContext)(g.ChatContext),W=(0,x.useContext)(E.NavigationContext);(0,x.useEffect)((()=>{W.setNavigation&&W.setNavigation({right:{level:"puzzle2"}})}),[W]);const{orientation:B}=(0,x.useContext)(y.LayoutContext);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("object3D",{position:[0,"landscape"===B?-.5:-1,"landscape"===B?1:4],children:[(0,a.jsx)(G,{history:r}),(0,a.jsx)(k,{color:"rgb(255,0,255)",onClick:e=>{A()}}),(0,a.jsxs)("group",{position:[t?-4:0,0,0],ref:P,children:[(0,a.jsxs)("mesh",{position:[0,1,-10],rotation:[0,0,0],scale:[1.25,1,1],renderOrder:0,onPointerDown:()=>{H.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_STATUE_PUZZLE_BLESS_OX"})),"4"===r[r.length-1]?(_.current.opacity=0,b.current.opacity=0,"4"===r[r.length-2]?m(2):m(1.5)):m(.8),C(),e()},children:[(0,a.jsx)("planeGeometry",{args:[1.4*3,2.2*3,15]}),(0,a.jsx)("meshStandardMaterial",{map:o,transparent:!0})]}),(0,a.jsxs)("mesh",{position:[-.6,3,-9.81],rotation:[0,0,0],scale:[h,h,h],renderOrder:1,children:[(0,a.jsx)("planeGeometry",{args:[3,3]}),(0,a.jsx)("meshBasicMaterial",{ref:_,emissiveIntensity:5,opacity:0,map:i,transparent:!0,color:"rgb(255,0,255)"})]}),(0,a.jsxs)("mesh",{position:[.2,3,-9.81],rotation:[0,0,0],scale:[h,h,h],renderOrder:2,children:[(0,a.jsx)("planeGeometry",{args:[3,3]}),(0,a.jsx)("meshBasicMaterial",{ref:b,emissiveIntensity:5,opacity:0,map:i,transparent:!0,color:"rgb(255,0,255)"})]}),(0,a.jsxs)("mesh",{position:[-2.6,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:3,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:j,emissiveIntensity:5,map:u,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]}),(0,a.jsxs)("mesh",{position:[-2.1,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:4,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:T,emissiveIntensity:5,map:u,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]}),(0,a.jsxs)("mesh",{position:[-1.6,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:5,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:v,emissiveIntensity:5,map:u,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]}),(0,a.jsxs)("mesh",{position:[-1.1,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:6,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:w,emissiveIntensity:5,map:u,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]}),(0,a.jsxs)("mesh",{position:[-.6,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:7,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:R,emissiveIntensity:5,map:u,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]}),(0,a.jsxs)("mesh",{position:[-.1,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:8,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:M,emissiveIntensity:5,map:p,opacity:0,transparent:!0,color:"rgb(255,0,255)"})]})]}),t?(0,a.jsxs)("mesh",{ref:F,receiveShadow:!0,castShadow:!0,position:[0,-2,-14.9],scale:[0,1,1],onClick:()=>{W.moveTo("fountain2","forward",!0),l.startEventTimer("fountain")},children:[(0,a.jsx)("boxGeometry",{args:[5,12,5]}),(0,a.jsx)("meshStandardMaterial",{color:"rgb(0,0,0)"})]}):null]})})}function W({onClick:e,unlocked:t,history:s}){const r=(0,O.useLoader)(c.TextureLoader,n(40466));(0,x.useEffect)((()=>{r.minFilter=c.NearestFilter,r.magFilter=c.NearestFilter,r.wrapS=c.RepeatWrapping,r.wrapT=c.RepeatWrapping,r.transparent=!0,r.needsUpdate=!0}),[r]);const o=z(n(18619)),i=z(n(43105)),l=z(n(46714)),d=(z(n(69783)),(0,x.useRef)()),u=(0,x.useRef)(),p=(0,x.useRef)(),h=(0,x.useRef)(),f=(0,x.useRef)(),m=(0,x.useRef)(),[_]=U(d,u),[b]=(0,N.default)([{duration:.5,frameCallback:(e,t)=>{p.current&&(p.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{p.current.opacity=0}},{duration:.5,frameCallback:(e,t)=>{h.current&&(h.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{h.current.opacity=0}},{duration:.5,frameCallback:(e,t)=>{f.current&&(f.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{f.current.opacity=0}},{duration:.5,frameCallback:(e,t)=>{m.current&&(m.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{m.current.opacity=0}}],{onRestart:()=>{p.current.opacity=0,h.current.opacity=0,f.current.opacity=0,m.current.opacity=0}}),j=(0,x.useContext)(g.ChatContext),T=(0,x.useContext)(E.NavigationContext);(0,x.useEffect)((()=>{T.setNavigation&&T.setNavigation({left:{level:"puzzle1"},right:{level:"puzzle3"}})}),[T]);const{orientation:v}=(0,x.useContext)(y.LayoutContext);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("object3D",{position:[0,"landscape"===v?-.5:-1,"landscape"===v?1:4],children:[(0,a.jsx)(G,{history:s}),(0,a.jsx)(k,{color:"rgb(0,255,0)",onClick:e=>{b()}}),(0,a.jsxs)("mesh",{position:[0,1,-10],rotation:[0,0,0],scale:[1.25,1,1],renderOrder:100,onPointerDown:()=>{j.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_STATUE_PUZZLE_BLESS_EAGLE"})),_(),e()},children:[(0,a.jsx)("planeGeometry",{args:[1.4*3,2.2*3,15]}),(0,a.jsx)("meshStandardMaterial",{map:r,transparent:!0})]}),(0,a.jsxs)("mesh",{position:[-.5,3,-9.9],rotation:[0,0,0],scale:[1,1,1],renderOrder:101,children:[(0,a.jsx)("planeGeometry",{args:[3,3]}),(0,a.jsx)("meshBasicMaterial",{ref:d,emissiveIntensity:5,map:o,opacity:0,transparent:!0,color:"rgb(0,255,0)"})]}),(0,a.jsxs)("mesh",{position:[.2,3,-9.9],rotation:[0,0,0],scale:[1,1,1],renderOrder:102,children:[(0,a.jsx)("planeGeometry",{args:[3,3]}),(0,a.jsx)("meshBasicMaterial",{ref:u,emissiveIntensity:5,map:o,opacity:0,transparent:!0,color:"rgb(0,255,0)"})]}),(0,a.jsxs)("mesh",{position:[-2,2.5,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:103,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:p,emissiveIntensity:5,map:i,opacity:0,transparent:!0,color:"rgb(255,255,0)"})]}),(0,a.jsxs)("mesh",{position:[1.9-1.5,2.5,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:104,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:h,emissiveIntensity:5,map:l,opacity:0,transparent:!0,color:"rgb(255,0,255)"})]}),(0,a.jsxs)("mesh",{position:[1.9,2.5,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:105,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:f,emissiveIntensity:5,map:l,opacity:0,transparent:!0,color:"rgb(255,0,255)"})]}),(0,a.jsxs)("mesh",{position:[3.4,2.5,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:106,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:m,emissiveIntensity:5,map:l,opacity:0,transparent:!0,color:"rgb(255,0,255)"})]})]})})}function B({onClick:e,unlocked:t,history:s}){const r=(0,O.useLoader)(c.TextureLoader,n(5159));(0,x.useEffect)((()=>{r.minFilter=c.NearestFilter,r.magFilter=c.NearestFilter,r.wrapS=c.RepeatWrapping,r.wrapT=c.RepeatWrapping,r.transparent=!0,r.needsUpdate=!0}),[r]);const o=z(n(18619)),i=z(n(62102)),l=z(n(18803)),[d]=(z(n(70286)),z(n(85780)),(0,N.default)([{duration:.5,frameCallback:(e,t)=>{m.current&&(m.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{m.current.opacity=0}},{duration:.2,frameCallback:(e,t)=>{_.current&&(_.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{_.current.opacity=0}},{duration:.2,frameCallback:(e,t)=>{b.current&&(b.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{b.current.opacity=0}},{duration:.2,frameCallback:(e,t)=>{j.current&&(j.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{j.current.opacity=0}},{duration:.2,frameCallback:(e,t)=>{T.current&&(T.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{T.current.opacity=0}},{duration:.2,frameCallback:(e,t)=>{v.current&&(v.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{v.current.opacity=0}}],{onRestart:()=>{m.current.opacity=0,_.current.opacity=0,b.current.opacity=0,j.current.opacity=0,T.current.opacity=0,v.current.opacity=0}})),u=(0,x.useContext)(g.ChatContext),p=(0,x.useContext)(E.NavigationContext);(0,x.useEffect)((()=>{p.setNavigation&&p.setNavigation({left:{level:"puzzle2"},right:{level:"puzzle4"}})}),[p]);const h=(0,x.useRef)(),f=(0,x.useRef)(),m=(0,x.useRef)(),_=(0,x.useRef)(),b=(0,x.useRef)(),j=(0,x.useRef)(),T=(0,x.useRef)(),v=(0,x.useRef)(),[I]=U(h,f),{orientation:w}=(0,x.useContext)(y.LayoutContext);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("object3D",{position:[0,"landscape"===w?-.5:-1,"landscape"===w?1:4],children:[(0,a.jsx)(G,{history:s}),(0,a.jsx)(k,{color:"rgb(255,0,0)",onClick:e=>{d()}}),(0,a.jsxs)("mesh",{position:[0,1,-10],rotation:[0,0,0],scale:[1.25,1,1],renderOrder:100,onPointerDown:()=>{u.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_STATUE_PUZZLE_BLESS_GOAT"})),I(),e()},children:[(0,a.jsx)("planeGeometry",{args:[1.4*3,2.2*3,15]}),(0,a.jsx)("meshStandardMaterial",{map:r,transparent:!0})]}),(0,a.jsxs)("mesh",{position:[-.55,3.2,-9.9],rotation:[0,0,0],scale:[1,1,1],renderOrder:101,children:[(0,a.jsx)("planeGeometry",{args:[3,3]}),(0,a.jsx)("meshBasicMaterial",{ref:h,emissiveIntensity:5,opacity:0,map:o,transparent:!0,color:"rgb(255,0,0)"})]}),(0,a.jsxs)("mesh",{position:[.3,3.2,-9.9],rotation:[0,0,0],scale:[1,1,1],renderOrder:102,children:[(0,a.jsx)("planeGeometry",{args:[3,3]}),(0,a.jsx)("meshBasicMaterial",{ref:f,emissiveIntensity:5,opacity:0,map:o,transparent:!0,color:"rgb(255,0,0)"})]}),(0,a.jsxs)("mesh",{position:[-.1,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:103,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:m,emissiveIntensity:5,map:i,opacity:0,transparent:!0,color:"rgb(255,0,0)"})]}),(0,a.jsxs)("mesh",{position:[.4,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:104,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:_,emissiveIntensity:5,map:l,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]}),(0,a.jsxs)("mesh",{position:[.9,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:105,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:b,emissiveIntensity:5,map:l,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]}),(0,a.jsxs)("mesh",{position:[1.4,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:106,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:j,emissiveIntensity:5,map:l,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]}),(0,a.jsxs)("mesh",{position:[1.9,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:107,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:T,emissiveIntensity:5,map:l,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]}),(0,a.jsxs)("mesh",{position:[2.4,1.1,-9.8],rotation:[0,0,0],scale:[2,2,2],renderOrder:108,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:v,emissiveIntensity:5,map:l,opacity:0,transparent:!0,color:"rgb(255,255,255)"})]})]})})}function V({onClick:e,unlocked:t,history:s}){const r=(0,O.useLoader)(c.TextureLoader,n(41608));(0,x.useEffect)((()=>{r.minFilter=c.NearestFilter,r.magFilter=c.NearestFilter,r.wrapS=c.RepeatWrapping,r.wrapT=c.RepeatWrapping,r.transparent=!0,r.needsUpdate=!0}),[r]);const o=z(n(18619)),i=z(n(62102)),l=z(n(57955)),[d,u]=(z(n(98117)),(0,x.useState)(0)),[p,h]=(0,x.useState)(!0),f=(0,x.useRef)(),m=(0,x.useRef)(),_=(0,x.useRef)(),b=(0,x.useRef)(),[j]=((0,x.useRef)(),U(f,m)),[T]=(0,N.default)([{duration:.5,frameCallback:(e,t)=>{_.current&&(_.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{_.current.opacity=0}},{duration:.5,frameCallback:(e,t)=>{b.current&&(b.current.opacity=1-(Math.cos(t*Math.PI*2)/2+.5))},onEnd:()=>{b.current.opacity=0}}],{onRestart:()=>{_.current.opacity=0,b.current.opacity=0}}),v=(0,x.useContext)(g.ChatContext),I=(0,x.useContext)(E.NavigationContext);(0,x.useEffect)((()=>{I.setNavigation&&I.setNavigation({left:{level:"puzzle3"}})}),[I]);const{orientation:w}=(0,x.useContext)(y.LayoutContext);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("object3D",{position:[0,"landscape"===w?-.5:-1,"landscape"===w?1:4],children:[(0,a.jsx)(G,{history:s}),(0,a.jsx)(k,{color:"rgb(255,255,0)",onClick:e=>{T()}}),(0,a.jsxs)("mesh",{position:[0,1,-10],rotation:[0,0,0],scale:[1.25,1,1],renderOrder:101,onPointerDown:()=>{v.addMessage((0,a.jsx)(S.l10n.Text,{name:"OTHER_WORLD_STATUE_PUZZLE_BLESS_LION"})),j(),e()},children:[(0,a.jsx)("planeGeometry",{args:[1.4*3,2.2*3,15]}),(0,a.jsx)("meshStandardMaterial",{map:r,transparent:!0})]}),(0,a.jsxs)("mesh",{position:[-.4,3.2,-9.9],rotation:[0,0,0],scale:[1,1,1],renderOrder:102,children:[(0,a.jsx)("planeGeometry",{args:[3,3]}),(0,a.jsx)("meshBasicMaterial",{ref:f,emissiveIntensity:5,map:o,opacity:0,transparent:!0,color:"rgb(255,255,0)"})]}),(0,a.jsxs)("mesh",{position:[.2,3.2,-9.9],rotation:[0,0,0],scale:[1,1,1],renderOrder:103,children:[(0,a.jsx)("planeGeometry",{args:[3,3]}),(0,a.jsx)("meshBasicMaterial",{ref:m,emissiveIntensity:5,map:o,opacity:0,transparent:!0,color:"rgb(255,255,0)"})]}),(0,a.jsxs)("mesh",{position:[-1.8,2.5,-9.7],rotation:[0,0,0],scale:[2,2,2],renderOrder:104,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:_,emissiveIntensity:5,map:i,opacity:0,transparent:!0,color:"rgb(255,0,0)"})]}),(0,a.jsxs)("mesh",{position:[1.8,3,-9.7],rotation:[0,0,0],scale:[2,2,2],renderOrder:105,children:[(0,a.jsx)("planeGeometry",{args:[1.5,1.5]}),(0,a.jsx)("meshBasicMaterial",{ref:b,emissiveIntensity:5,map:l,opacity:0,transparent:!0,color:"rgb(0,255,0)"})]})]})})}function z(e){const t=(0,O.useLoader)(j.default,e);return(0,x.useEffect)((()=>{t.minFilter=c.NearestFilter,t.magFilter=c.NearestFilter,t.wrapS=c.RepeatWrapping,t.wrapT=c.RepeatWrapping,t.transparent=!0,t.needsUpdate=!0}),[t]),t}function Y({texture:e,...t}){const n=z(e);return(0,a.jsxs)("mesh",{...t,children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:n,transparent:!0})]})}},59335:(e,t,n)=>{e.exports=n.p+"assets/folder2.4f0f84ec5e1e148efff8.gif"},59442:(e,t,n)=>{e.exports=n.p+"assets/symbol3.6697a74da418cd7d2843.png"},60224:(e,t,n)=>{e.exports=n.p+"assets/h.30a9b642fcbf7b4ac950.png"},60962:(e,t,n)=>{e.exports=n.p+"assets/profile.e8be6395147fcd4c13a0.gif"},61625:(e,t,n)=>{e.exports=n.p+"assets/phonecall.242121f1a5a73ca823b4.mp3"},62102:(e,t,n)=>{e.exports=n.p+"assets/glow_goat.59c697b9a036f3c958b5.png"},62670:(e,t,n)=>{e.exports=n.p+"assets/portrait4.d1f273b21dca4c385ebd.gif"},63396:(e,t,n)=>{e.exports=n.p+"assets/fusion-pixel-12px-proportional-zh_hans.70f66c6222d0398a7e23.otf"},63565:(e,t,n)=>{e.exports=n.p+"assets/buddylist.c023b5a07a8e4efac4c9.gif"},63783:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TriggerWarning=function({onFinished:e}){const{size:t}=(0,l.useContext)(c.LayoutContext),{language:s}=(0,l.useContext)(d.l10n.Context),r=(0,l.useRef)(),{play:o,playing:i}=(0,u.useTimeline2WithPlayState)((()=>[{duration:1,onFrame:(e,t)=>{r.current.style.opacity=1-t},onEnd:()=>{e()}}]));return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{style:{background:"black",width:"100%",height:"100%"},children:(0,a.jsxs)("div",{ref:r,children:[(0,a.jsxs)("div",{style:{color:"white",paddingTop:180*t,fontFamily:"Courier New",fontSize:20*t},children:[(0,a.jsx)("img",{width:10*t,style:{opacity:0},src:n(51920),alt:"pc_horror"}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{style:{position:"relative",display:"inline-block",width:600*t},children:[(0,a.jsxs)("span",{style:{color:"red"},children:[s.WARNING,":"]})," ",s.TRIGGER_WARNING]}),(0,a.jsx)("br",{})]}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",marginTop:40*t},onClick:e=>{i||o()},children:(0,a.jsx)(d.l10n.Text,{name:"CONTINUE_BUTTON"})})]})})})};const a=n(74848),l=n(96540),c=n(49616),d=n(81218),u=(i(n(20584)),n(17322),o(n(27186)),n(97172),n(34015));n(49046)},63976:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.builtInLanguages=void 0,t.default=function({selectedLanguage:e,visible:n,setVisible:s,onLanguageChange:r}){const{language:o}=(0,d.useContext)(c.l10n.Context),{orientation:i,size:h}=(0,d.useContext)(u.LayoutContext),f=(0,d.useRef)(),[x,m]=(0,d.useState)(["language-menu"]),[g,_]=(0,d.useState)("English");return(0,d.useEffect)((()=>{n&&m(["language-menu"])}),[n]),(0,a.jsx)(a.Fragment,{children:n&&(0,a.jsx)("div",{style:{zIndex:99999,position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"rgba(0,0,0,0.8)"},children:(0,a.jsx)(l.WindowManager,{ref:f,visibleWindows:x,setVisibleWindows:m,children:(0,a.jsx)(l.default,{name:"language-menu",title:"Language",initialPosition:{x:"landscape"===i?190:90,y:"landscape"===i?50:150},style:{width:450*h,fontFamily:"sans-serif, Arial"},onVisibleChange:e=>{e||s(!1)},children:(0,a.jsxs)("div",{style:{margin:10*h},children:[(0,a.jsxs)("div",{children:["Note: These are community translations and may not be completely accurate. If you want to contribute or make corrections, join our"," ",(0,a.jsx)(p.default,{href:"https://discord.gg/4HtZG2uR6J",children:"Discord"}),"."]}),(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsx)("ul",{className:"file-browser",style:{width:200*h,height:250*h,overflowY:"scroll",overflowX:"hidden",wordBreak:"break-word",fontFamily:"arial"},children:Object.keys(t.builtInLanguages).map((e=>(0,a.jsx)("li",{className:["pointer",e===o.NAME.toString()&&"selected"].join(" "),onClick:t=>{r(e)},onDoubleClick:t=>{r(e),s(!1)},style:{},children:e},e)))}),(0,a.jsx)("div",{style:{padding:10*h},children:!0===o.SHOW_TRANSLATION_CREDITS&&o.CREDITS.map(((e,t)=>(0,a.jsx)("ul",{style:{margin:0,padding:0},children:(0,a.jsxs)("li",{style:{listStyle:"none",fontSize:15*h},children:[e.name," ",e.website&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(p.default,{href:e.website,children:"[link]"})})]})},t)))})]}),(0,a.jsx)("div",{style:{textAlign:"right"},children:(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block"},onClick:e=>{s(!1)},children:(0,a.jsx)(c.l10n.Text,{name:"CONTINUE_BUTTON"})})})]})})})})})};const a=n(74848),l=o(n(96886)),c=n(81218),d=n(96540),u=(n(80985),n(49616)),p=i(n(35133));i(n(99240));t.builtInLanguages={English:n(9657),Français:n(54820),Italiano:n(52763),"Bahasa Indonesia":n(77227),Русский:n(39899),日本語:n(53758),Čeština:n(35723),简体中文:n(91254),Español:n(99116),Esperanto:n(82024),українська:n(13713),Polski:n(77932),한국인:n(69243),"Português (Brasileiro)":n(48676),Türkçe:n(83938)}},64100:(e,t,n)=>{e.exports=n.p+"assets/key3_up.c31437b1fc27019cc43a.mp3"},64159:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.FountainPuzzle=function({level:e,unlockedFountain:t,setUnlockedFountain:n}){const s=(0,p.useContext)(h.ChatContext);return(0,p.useEffect)((()=>{s.showOneMessage?.((0,i.jsx)(y.l10n.Text,{name:"OTHER_WORLD_FOUNTAIN_PUZZLE_INTRO"}))}),[s]),(0,i.jsx)(i.Fragment,{children:(()=>{switch(e){case"fountain2":return(0,i.jsx)(w,{unlockedFountain:t,setUnlockedFountain:n});case"fountain":return(0,i.jsx)(I,{});default:return(0,i.jsx)(i.Fragment,{})}})()})},t.FountainFlowing=I,t.FountainDoor=w;const i=n(74848),a=o(n(23571)),l=n(58220),c=n(27186),d=n(73965),u=n(91722),p=n(96540),h=n(26661),f=n(29369),x=n(94196),m=n(49616),g=n(80129),b=n(73719),y=n(81218),E=n(17322),j=n(44190),T=n(97172),S=n(37815);function v({layers:e,...t}){const s=[(0,l.useSimpleTexture)(n(83424)),(0,l.useSimpleTexture)(n(80987)),(0,l.useSimpleTexture)(n(59442)),(0,l.useSimpleTexture)(n(89421)),(0,l.useSimpleTexture)(n(26180)),(0,l.useSimpleTexture)(n(11455))];return(0,i.jsx)("mesh",{...t,children:e.map(((e,t)=>(0,i.jsxs)("mesh",{rotation:[0,0,0],children:[(0,i.jsx)("planeGeometry",{args:[1,1]}),(0,i.jsx)("meshStandardMaterial",{map:s[e],transparent:!0},t)]})))})}function O({velXRange:e,velYRange:t,floor:n,distance:s,...r}){const o=(0,p.useRef)(),a=s;return(0,u.useFramePausible)(((s,r)=>{if(o.current){if(!o.current.initialized){o.current.initialized=!0;for(let n=0;n<10;n++){const s=o.current.children[n];s.velocity=new c.Vector3((e[1]-e[0])*Math.random()+e[0],(t[1]-t[0])*Math.random()+t[0],0),s.acceleration=new c.Vector3(0,-9.8,0),s.awakeIn=(0,u.pausibleNow)()+100*n}}for(let s=0;s<10;s++){const i=o.current.children[s];if((0,u.pausibleNow)()a&&(i.velocity=new c.Vector3((e[1]-e[0])*Math.random()+e[0],(t[1]-t[0])*Math.random()+t[0],0),i.position.set(0,0,0))}}})),(0,i.jsx)("object3D",{...r,ref:o,children:Array(10).fill(0).map(((e,t)=>(0,i.jsxs)("mesh",{children:[(0,i.jsx)("planeGeometry",{args:[.2,.2]}),(0,i.jsx)("meshStandardMaterial",{color:"red",transparent:!0})]},t)))})}const N=new x.Howl({src:[n(2777)],autoplay:!1,volume:0,loop:!0});function I(){const e=(0,p.useContext)(d.EffectsContext);(0,p.useEffect)((()=>{e.setNoiseIntensity&&e.setNoiseIntensity(.5)})),(0,p.useEffect)((()=>{(0,E.playBGM)("fountain")}));const t=(0,l.useSimpleTexture)(n(65592)),s=(0,l.useSimpleTexture)(n(42590)),r=(0,p.useContext)(g.NavigationContext);(0,p.useEffect)((()=>{r.setNavigation&&r.setNavigation({right:{level:"fountain2"}})}),[r]);const[o,a]=(0,p.useState)([0,0,0,0,0,0,0,0]),h=o.reduce(((e,t)=>e+t),0)>0;(0,p.useEffect)((()=>(N.play(),N.volume(0),()=>{N.stop()})),[]),(0,p.useEffect)((()=>{h?N.fade(0,.8,100):N.fade(.8,0,400)}),[h]);const f=(0,p.useCallback)((e=>[()=>{for(let t=0;t{var e;e=n,a((t=>{const n=[...t];return n[e]++,n}))}),200*t)}},()=>{for(let t=0;t{var e;e=n,a((t=>{const n=[...t];return n[e]--,n}))}),400*t)}}]),[]),[x,_]=(0,p.useMemo)((()=>f([0,5,1])),[]),[b,y]=(0,p.useMemo)((()=>f([5,6])),[]),[j,T]=(0,p.useMemo)((()=>f([2,3])),[]),[S,I]=(0,p.useMemo)((()=>f([4])),[]),[w,R]=(0,p.useMemo)((()=>f([4,2])),[]),[M,C]=(0,p.useMemo)((()=>f([7])),[]),{orientation:L}=(0,p.useContext)(m.LayoutContext),A=[{position:[.05,3.8,-9],velXRange:[-2.5,2.5],velYRange:[0,2],floor:0,distance:1},{position:[.05,2.2,-9],velXRange:[-2.5,2.5],velYRange:[0,2],floor:0,distance:1},{position:[-1.2,2,-9],velXRange:[2.4,2.9],velYRange:[0,0],floor:-1.1,distance:1.9},{position:[1.2,2,-9],velXRange:[-2.4,-2.9],velYRange:[0,0],floor:-1.1,distance:1.9},{position:[.9,3.7,-9],velXRange:[0,.3],velYRange:[.2,.4],floor:-2,distance:1.6},{position:[-.9,3.7,-9],velXRange:[0,-.3],velYRange:[.2,.4],floor:-2,distance:1.6},{position:[-.9,2,-9],velXRange:[0,-.3],velYRange:[.2,.4],floor:-2,distance:1.6},{position:[.05,.7,-9],velXRange:[-2.5,2.5],velYRange:[0,2],floor:0,distance:1}];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("fog",{attach:"fog",args:["#000",0,30]}),(0,i.jsxs)("object3D",{position:[0,"landscape"===L?0:-1,"landscape"===L?0:3],children:[(0,i.jsx)(l.BaphometPuzzleCommon,{}),(0,i.jsxs)("mesh",{position:[0,1,-10],rotation:[0,0,0],scale:[1.8,1.2,1],children:[(0,i.jsx)("planeGeometry",{args:[6,6,15]}),(0,i.jsx)("meshStandardMaterial",{map:t,transparent:!0})]}),o.map(((e,t)=>e>0?(0,i.jsx)(O,{scale:[1,1,1],position:A[t].position,velXRange:A[t].velXRange,velYRange:A[t].velYRange,floor:A[t].floor,distance:A[t].distance}):null)),(0,i.jsxs)("mesh",{position:[0,-1.5,-13],children:[(0,i.jsx)("boxGeometry",{args:[10,1.5,10]}),(0,i.jsx)("meshStandardMaterial",{map:s,color:[.8,.8,.8]})]}),(0,i.jsx)(v,{layers:[0,1],position:[-3.75,-1.3,-7.9]}),(0,i.jsx)(v,{layers:[0,4],position:[-2.5,-1.3,-7.9]}),(0,i.jsx)(v,{layers:[0,1,2],position:[-1.25,-1.3,-7.9]}),(0,i.jsx)(v,{layers:[0,1,3],position:[0,-1.3,-7.9]}),(0,i.jsx)(v,{layers:[5],position:[1.25,-1.3,-7.9]}),(0,i.jsx)(v,{layers:[0,1,3],position:[2.5,-1.3,-7.9]}),(0,i.jsx)(v,{layers:[0,1,2],position:[3.75,-1.3,-7.9]}),(0,i.jsx)(l.WallButton,{toggle:!0,baseColor:new c.Color(.5,.5,.5),position:"landscape"===L?[7,2.8,-13.5]:[6,5,-13.5],scale:[1.5,1.5,1.5],onClick:()=>{x()},onRelease:()=>{_()},children:(0,i.jsx)(v,{layers:[0],position:[0,0,.5]})}),(0,i.jsx)(l.WallButton,{toggle:!0,baseColor:new c.Color(.5,.5,.5),position:"landscape"===L?[8.5,1,-13.5]:[5,6.7,-13.5],scale:[1.5,1.5,1.5],onClick:()=>{b()},onRelease:()=>{y()},children:(0,i.jsx)(v,{layers:[1],position:[0,0,.5]})}),(0,i.jsx)(l.WallButton,{toggle:!0,baseColor:new c.Color(.5,.5,.5),position:"landscape"===L?[-9,4,-13.5]:[-3,6.5,-13.5],scale:[1.5,1.5,1.5],onClick:()=>{w()},onRelease:()=>{R()},children:(0,i.jsx)(v,{layers:[2],position:[0,0,.5]})}),(0,i.jsx)(l.WallButton,{toggle:!0,baseColor:new c.Color(.5,.5,.5),position:"landscape"===L?[-8.5,1,-13.5]:[-5,6.7,-13.5],scale:[1.5,1.5,1.5],onClick:()=>{M()},onRelease:()=>{C()},children:(0,i.jsx)(v,{layers:[3],position:[0,0,.5]})}),(0,i.jsx)(l.WallButton,{toggle:!0,baseColor:new c.Color(.5,.5,.5),position:"landscape"===L?[9,4,-13.5]:[3,6.5,-13.5],scale:[1.5,1.5,1.5],onClick:()=>{S()},onRelease:()=>{I()},children:(0,i.jsx)(v,{layers:[4],position:[0,0,.5]})}),(0,i.jsx)(l.WallButton,{toggle:!0,baseColor:new c.Color(.5,.5,.5),position:"landscape"===L?[-7,2.7,-13.5]:[-6,5,-13.5],scale:[1.5,1.5,1.5],onClick:()=>{j()},onRelease:()=>{T()},children:(0,i.jsx)(v,{layers:[5],position:[0,0,.5]})})]})]})}function w({unlockedFountain:e,setUnlockedFountain:t}){const s=(0,p.useContext)(g.NavigationContext);(0,p.useEffect)((()=>{s.setNavigation&&s.setNavigation({left:{level:"fountain"}})}),[s]),(0,p.useEffect)((()=>{(0,E.playBGM)("fountain")}));const r=(0,p.useContext)(d.EffectsContext);(0,p.useEffect)((()=>{r.setNoiseIntensity&&r.setNoiseIntensity(.5)}));const[o,c]=(0,p.useState)(0),x=(0,p.useContext)(h.ChatContext),{setShowGlobalHint:m}=(0,p.useContext)(f.HintContext),[v,O]=(0,p.useState)([]),N=e=>{const n=[...v,e];n.length>7&&n.splice(0,1),O(n),_.isEqual(n,["f","o","r","e","v","e","r"])&&(t(!0),c((0,u.pausibleNow)()),(0,j.playSFX)("door_open"),x.addMessage((0,i.jsx)(y.l10n.Text,{name:"OTHER_WORLD_FOUNTAIN_PUZZLE_SOLVED"})),a.stopEventTimer("fountain"),(0,b.achieve)(S.AchievementString.FOUNTAIN),m(7))},I=(0,p.useRef)(),{setCameraShake:w}=(0,p.useContext)(d.EffectsContext),R=(0,p.useRef)(w);R.current=w,(0,p.useEffect)((()=>()=>{R.current(0)}),[]),(0,u.useFramePausible)((()=>{if(I.current&&e){const e=((0,u.pausibleNow)()-o)/3e3;e>0&&e<1?(I.current.scale.x=(0,T.easeOutCubic)(e),w(.05*(1-(0,T.easeOutCubic)(e)))):w(0)}}));const M=(0,l.useSimpleTexture)(n(68487)),C={f:(0,l.useSimpleTexture)(n(16158)),e:(0,l.useSimpleTexture)(n(1909)),v:(0,l.useSimpleTexture)(n(97294)),r:(0,l.useSimpleTexture)(n(84426)),d:(0,l.useSimpleTexture)(n(19020)),a:(0,l.useSimpleTexture)(n(52273)),m:(0,l.useSimpleTexture)(n(31469)),o:(0,l.useSimpleTexture)(n(18879)),s:(0,l.useSimpleTexture)(n(39635)),i:(0,l.useSimpleTexture)(n(15049)),u:(0,l.useSimpleTexture)(n(67653)),l:(0,l.useSimpleTexture)(n(5316)),t:(0,l.useSimpleTexture)(n(84764)),n:(0,l.useSimpleTexture)(n(40790)),b:(0,l.useSimpleTexture)(n(27610)),h:(0,l.useSimpleTexture)(n(60224)),"?":(0,l.useSimpleTexture)(n(67198))};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("fog",{attach:"fog",args:["#000",0,30]}),(0,i.jsx)(l.BaphometPuzzleCommon,{}),(0,i.jsx)("mesh",{position:[-6.5,2.9,-13.5],scale:[1.5,1.5,1.5],children:["a"].map(((e,t)=>(0,i.jsx)(l.WallButton,{position:[t,0,0],map:M,onClick:()=>{N(e)},children:(0,i.jsxs)("mesh",{position:[0,0,.5],children:[(0,i.jsx)("planeGeometry",{args:[1,1]}),(0,i.jsx)("meshBasicMaterial",{map:C[e],transparent:!0})]})},t)))}),(0,i.jsx)("mesh",{position:[-7.5,1.4,-13.5],scale:[1.5,1.5,1.5],children:["a"].map(((e,t)=>(0,i.jsx)(l.WallButton,{position:[t,0,0],map:M,onClick:()=>{N(e)},children:(0,i.jsxs)("mesh",{position:[0,0,.5],children:[(0,i.jsx)("planeGeometry",{args:[1,1]}),(0,i.jsx)("meshBasicMaterial",{map:C[e],transparent:!0})]})},t)))}),(0,i.jsx)("mesh",{position:[-5,1.4,-13.4],scale:[1.5,1.5,1.5],children:["f","e","v","e","r"].map(((e,t)=>(0,i.jsx)(l.WallButton,{position:[t,0,0],map:M,onClick:()=>{N(e)},children:(0,i.jsxs)("mesh",{position:[0,0,.5],children:[(0,i.jsx)("planeGeometry",{args:[1,1]}),(0,i.jsx)("meshBasicMaterial",{map:C[e],transparent:!0})]})},t)))}),(0,i.jsx)("mesh",{position:[3.3,1.4,-13.4],scale:[1.5,1.5,1.5],children:["d","r","e","a","m"].map(((e,t)=>(0,i.jsx)(l.WallButton,{position:[t,0,0],map:M,onClick:()=>{N(e)},children:(0,i.jsxs)("mesh",{position:[0,0,.5],children:[(0,i.jsx)("planeGeometry",{args:[1,1]}),(0,i.jsx)("meshBasicMaterial",{map:C[e],transparent:!0})]})},t)))}),(0,i.jsx)("mesh",{position:[-1.8,-.1,-13.4],scale:[1.5,1.5,1.5],children:["o","r"].map(((e,t)=>(0,i.jsx)(l.WallButton,{position:[t,0,0],map:M,onClick:()=>{N(e)},children:(0,i.jsxs)("mesh",{position:[0,0,.5],children:[(0,i.jsx)("planeGeometry",{args:[1,1]}),(0,i.jsx)("meshBasicMaterial",{map:C[e],transparent:!0})]})},t)))}),(0,i.jsx)("mesh",{position:[1.8,-.1,-13.4],scale:[1.5,1.5,1.5],children:"both?".split("").map(((e,t)=>(0,i.jsx)(l.WallButton,{position:[t,0,0],map:M,onClick:()=>{N(e)},children:(0,i.jsxs)("mesh",{position:[0,0,.5],children:[(0,i.jsx)("planeGeometry",{args:[1,1]}),(0,i.jsx)("meshBasicMaterial",{map:C[e],transparent:!0})]})},t)))}),(0,i.jsx)("mesh",{position:[-4,2.9,-13.4],scale:[1.5,1.5,1.5],children:"simulation".split("").map(((e,t)=>(0,i.jsx)(l.WallButton,{position:[t,0,0],map:M,onClick:()=>{N(e)},children:(0,i.jsxs)("mesh",{position:[0,0,.5],children:[(0,i.jsx)("planeGeometry",{args:[1,1]}),(0,i.jsx)("meshBasicMaterial",{map:C[e],transparent:!0})]})},t)))}),e?(0,i.jsxs)("mesh",{ref:I,receiveShadow:!0,castShadow:!0,position:[0,-2,-14.9],onClick:()=>{s.moveTo("sacrifice","forward",!0)},children:[(0,i.jsx)("boxGeometry",{args:[5,12,5]}),(0,i.jsx)("meshStandardMaterial",{color:"rgb(0,0,0)"})]}):null]})}},64297:(e,t,n)=>{e.exports=n.p+"assets/sign_house.8fbb21cf59f27bc26b34.gif"},65592:(e,t,n)=>{e.exports=n.p+"assets/fountain.74ed50d29d28d583b979.gif"},65936:(e,t,n)=>{e.exports=n.p+"assets/hell.808adc8e76c2f976ab93.png"},67025:(e,t,n)=>{e.exports=n.p+"assets/password_help.28d96b38f282d6ce7e42.png"},67198:(e,t,n)=>{e.exports=n.p+"assets/question.e3639fc3624a0cf82de0.png"},67653:(e,t,n)=>{e.exports=n.p+"assets/u.2d4a919d67cd8087e81c.png"},68487:(e,t,n)=>{e.exports=n.p+"assets/letter_button.972965872516f47ffc74.png"},69243:(e,t,n)=>{e.exports=n.p+"assets/kr.7cac458a4f03cda084ed.jsonc"},69592:(e,t,n)=>{e.exports=n.p+"assets/birthday_wallpaper.aa1805df5a118859174a.gif"},69783:(e,t,n)=>{e.exports=n.p+"assets/shape3.ccf3b8ca527241ab9639.png"},69784:(e,t,n)=>{e.exports=n.p+"assets/corruption.9a4e57e6cfeed77e28db.gif"},70286:(e,t,n)=>{e.exports=n.p+"assets/shape2.3074d490271211a54a19.png"},70407:(e,t,n)=>{e.exports=n.p+"assets/door_open.7cd515a9d3e724377560.mp3"},70839:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,o.useContext)(i.LayoutContext).size,[n,s]=(0,o.useState)(!0),d=(0,o.useRef)(null);return(0,r.jsxs)(a.default,{name:e.name,initialPosition:e.initialPosition,title:e.title,style:e.style,onVisibleChange:e=>{e&&(d.current.scrollTop=d.current.scrollHeight-d.current.clientHeight,d.current.scrollTop>40?s(!0):s(!1))},children:[(0,r.jsx)(c.Scrollable,{ref:d,style:{width:400*t,height:250*t,overflowY:"scroll",overflowX:"hidden",background:"white",margin:5*t,padding:10*t,wordBreak:"break-word"},onScroll:e=>{e.target.scrollTop>40?s(!0):s(!1)},children:e.chat}),n&&(0,r.jsx)("div",{className:"button-98 cursor-pointer",style:{position:"absolute",background:"#ccc",padding:5*t,height:20*t,top:45*t,left:5*t,border:3*t+"px solid black"},onClick:()=>{d.current.scrollTop=0},children:(0,r.jsx)(l.l10n.Text,{name:"SCROLL_TO_TOP"})})]})};const r=n(74848),o=n(96540),i=n(49616),a=s(n(96886)),l=n(81218),c=n(73917)},71346:(e,t,n)=>{e.exports=n.p+"assets/bts3.74689715832191efe6f3.gif"},71536:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({onUnlocked:e}){const[t,n]=(0,o.useState)(""),{size:s,orientation:h}=(0,o.useContext)(a.LayoutContext),{language:f}=(0,o.useContext)(d.l10n.Context),{setShowGlobalHint:x}=(0,o.useContext)(i.HintContext);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(l.default,{name:"photos4em.zip",initialPosition:{x:"landscape"===h?200:70,y:"landscape"===h?150:250},title:f.UNZIPPER_TITLE,children:(0,r.jsxs)("div",{style:{width:400*s,textAlign:"center",padding:30*s},children:[(0,r.jsx)("div",{children:f.UNZIPPER_TEXT}),(0,r.jsx)("br",{}),(0,r.jsxs)("form",{action:"#",onSubmit:t=>{t.preventDefault(),"7436"===t.target[0].value?(e(),(0,c.achieve)(p.AchievementString.ZIP_UNLOCKED),x(2)):(n(f.UNZIPPER_INCORRECT_PASSWORD),(0,u.setTimeoutPausible)((()=>{n("")}),1e3))},autoComplete:"off",children:[(0,r.jsx)("input",{style:{border:2*s+"px solid black",borderRadius:0,padding:10*s,width:200*s,fontSize:Math.max(16,16*s),verticalAlign:"middle"},type:"text"}),(0,r.jsx)("input",{className:"button-98 cursor-pointer",style:{color:"black",height:Math.max(38,50*s)},type:"submit",value:f.UNZIPPER_UNLOCK_BUTTON})]}),(0,r.jsx)("div",{style:{color:"red",height:20*s},children:t})]})})})};const r=n(74848),o=n(96540),i=n(29369),a=n(49616),l=s(n(96886)),c=n(73719),d=n(81218),u=n(91722),p=n(37815)},72206:(e,t,n)=>{e.exports=n.p+"assets/scan1.a640186201451a3ad717.gif"},72694:(e,t,n)=>{e.exports=n.p+"assets/playername.ee76661cc774c092cd31.png"},73164:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NewIntroText=function({onFinished:e}){const{playMusic:t}=(0,f.useSound)(),{size:s}=(0,l.useContext)(c.LayoutContext),{language:r}=(0,l.useContext)(d.l10n.Context),o=(0,l.useRef)(),{play:i}=(0,h.useTimeline2WithPlayState)((()=>[{duration:1,onFrame:(e,t)=>{o.current.style.opacity=t}}]));(0,l.useEffect)((()=>{i()}),[]);const g=(0,l.useMemo)((()=>r.INTRO_TEXT_1.trim().split("")),[r.INTRO_TEXT_1]),b=(0,l.useMemo)((()=>r.INTRO_TEXT_2.trim().split("")),[r.INTRO_TEXT_2]),y=(0,l.useMemo)((()=>r.TITLE_TEXT.trim().split("")),[r.TITLE_TEXT]),E=(0,l.useMemo)((()=>_.shuffle(_.range(0,g.length+b.length))),[g.length]),[j,T,S]=(0,l.useMemo)((()=>{const e=[],t=[],n=[];for(let n of y){let s=!1;for(let r=0;r{const e=[],t=[],n=[],o=[];for(let i=0;i{v.leftStarts.map(((e,t)=>{const n=v.topStarts[t];if(t[{duration:6,onFrame:(e,t)=>{I.current&&(I.current.style.opacity=1-2*t),w.current&&(w.current.style.opacity=1-2*t),v.leftStarts.map(((e,n)=>{const s=v.topStarts[n],r=v.leftEnds[n],o=v.topEnds[n],i=new u.Vector2(e,s).lerp(new u.Vector2(r,o),(0,p.easeInOutQuad)(t)),a=i.x,l=i.y;if(n.5-n/100?1:t<.4-n/100?-1:Math.sin(20*t*n/100-123*n)*Math.sin(100*t-123*n)*Math.sin(t*Math.PI);O.current[n].innerText=s>0?y[e]:g[n]}O.current[n].style.opacity=t>.52+n/200?1:Math.sin(150*t-123*n)*Math.sin(t*Math.PI)+1}else O.current[n].style.opacity=1}else{if(!N.current[n-g.length])return;if(N.current[n-g.length].style.left=`${a}%`,N.current[n-g.length].style.top=`${l}px`,-1===T.indexOf(n))N.current[n-g.length].style.opacity=1-2*t;else if(-1!==S.indexOf(n)){const e=j.indexOf(n);if(-1!==e){const s=t>.5-n/100?1:t<.4-n/100?-1:Math.sin(20*t*n/100-123*n)*Math.sin(100*t-123*n)*Math.sin(t*Math.PI);N.current[n-g.length].innerText=s>0?y[e]:b[n-g.length]}N.current[n-g.length].style.opacity=t>.52+n/200?1:Math.sin(150*t-123*n)*Math.sin(t*Math.PI)+1}else N.current[n-g.length].style.opacity=1}}))}},{deps:[g,v],duration:.5,onEnd:()=>{t("beep"),e&&e()}}]));return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{style:{background:"black",width:"100%",height:"100%"},children:(0,a.jsxs)("div",{ref:o,children:[(0,a.jsxs)("div",{style:{color:"white",paddingTop:180*s,fontFamily:"Courier New",fontSize:20*s},children:[(0,a.jsx)("img",{ref:I,width:120*s,src:n(51920),alt:"pc_horror"}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{style:{position:"relative",display:"inline-block",width:600*s},children:[g.map(((e,t)=>(0,a.jsx)("span",{ref:e=>O.current[t]=e,style:{position:"absolute",top:0,left:0},children:e},t))),b.map(((e,t)=>(0,a.jsx)("span",{ref:e=>N.current[t]=e,style:{position:"absolute",top:0,left:0},children:e},t)))]}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{})]}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",ref:w,style:{display:"inline-block",marginTop:40*s},onClick:e=>{M||R(),t("dialup")},children:(0,a.jsx)(d.l10n.Text,{name:"CONTINUE_BUTTON"})})]})})})};const a=n(74848),l=n(96540),c=n(49616),d=n(81218),u=(i(n(20584)),n(17322),o(n(27186))),p=n(97172),h=n(34015),f=n(49046);function x(e,t,n,s,r,o,i){return r.includes(s)&&i?2*r.indexOf(s)*o+(50-n.length*o):s{e.exports=n.p+"assets/song_5_2.ddb7bbd3f6e8ce57e0ce.mp3"},73556:(e,t,n)=>{e.exports=n.p+"assets/brick2.a23d35a9c380dec75ade.gif"},73864:(e,t,n)=>{e.exports=n.p+"assets/knock_echo.bf975f73e0962288d1d7.mp3"},73917:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Scrollable=void 0,t.ScrollBar=l;const r=n(74848),o=n(96540),i=n(49616),a=s(n(74692));function l({element:e,content:t}){const n=(0,o.useRef)(),s=(0,o.useRef)(),l=(0,o.useRef)(),{size:c}=(0,o.useContext)(i.LayoutContext),[d,u]=(0,o.useState)(50*c),p=()=>{let n=(0,a.default)(e.current).scrollTop(),s=((0,a.default)(e.current).height(),(0,a.default)(t.current).height(),n/(e.current.scrollHeight-e.current.clientHeight)*100);return s=Math.min(s,100),s=Math.max(s,0),s};(0,o.useEffect)((()=>{if(e&&e.current){const r=e=>{let t=p();s.current.style.top=`${t}%`};r(),e.current.addEventListener("scroll",r);const o=new ResizeObserver((()=>{const t=(0,a.default)(n.current).height()-65*c;(0,a.default)(e.current).height(),e.current.scrollHeight;u(Math.max(Math.min(t/e.current.scrollHeight*e.current.clientHeight,t),50))}));o.observe(t.current);const i=e.current;return()=>{i&&i.removeEventListener("scroll",r),o.disconnect()}}}),[e,t,c]),(0,o.useEffect)((()=>{s.current.style.height=`${d}px`,l.current.style.bottom=`${d+30*c}px`}),[d,c]);const h=(0,o.useRef)(!1),f=(0,o.useRef)(0),x=(0,o.useRef)(0);return(0,o.useEffect)((()=>{const n=n=>{if(h.current){const s=n.clientY||n.pageY||n.touches&&n.touches[0]?.pageY||n.touches&&n.touches[0]?.clientY,r=((0,a.default)(l.current).offset(),(0,a.default)(l.current).height());let o=f.current+(s-x.current)/r*100;o=Math.min(o,100),o=Math.max(o,0),(n=>{(0,a.default)(e.current).height(),(0,a.default)(t.current).height();let s=n/100*(e.current.scrollHeight-e.current.clientHeight);(0,a.default)(e.current).scrollTop(s)})(o)}},s=e=>{h.current=!1};return window.addEventListener("mousemove",n),window.addEventListener("touchmove",n),window.addEventListener("mouseup",s),window.addEventListener("touchend",s),()=>{window.removeEventListener("mousemove",n),window.removeEventListener("touchmove",n),window.removeEventListener("mouseup",s),window.removeEventListener("touchend",s)}}),[]),(0,r.jsx)("div",{className:"scrollbar",ref:n,children:(0,r.jsxs)("div",{className:"scrollbar-buttons",onClick:t=>{(t.clientY||t.pageY||t.touches&&t.touches[0]?.pageY||t.touches&&t.touches[0]?.clientY){(0,a.default)(e.current).scrollTop((0,a.default)(e.current).scrollTop()-50*c),t.stopPropagation()}}),(0,r.jsx)("div",{className:"scrollbar-track",ref:l,children:(0,r.jsx)("div",{className:"scrollbar-btn",ref:s,onClick:e=>{e.stopPropagation()},onTouchStart:e=>{const t=e.clientY||e.pageY||e.touches&&e.touches[0]?.pageY||e.touches&&e.touches[0]?.clientY;f.current=p(),h.current=!0,x.current=t},onMouseDown:e=>{const t=e.clientY||e.pageY||e.touches&&e.touches[0]?.pageY||e.touches&&e.touches[0]?.clientY;f.current=p(),h.current=!0,x.current=t}})}),(0,r.jsx)("div",{className:"scrollbar-bottom",onClick:t=>{(0,a.default)(e.current).scrollTop((0,a.default)(e.current).scrollTop()+50*c),t.stopPropagation()}})]})})}n(80011),t.Scrollable=(0,o.forwardRef)((({children:e,style:t,onScroll:n},s)=>{s=s||(0,o.useRef)();const i=(0,o.useRef)();return(0,r.jsx)("div",{style:{position:"relative",background:t.background,margin:t.margin},children:(0,r.jsxs)("div",{ref:s,style:{width:t.width,height:t.height,overflow:t.overflow,overflowX:t.overflowX,overflowY:t.overflowY},onScroll:n,children:[(0,r.jsx)("div",{ref:i,style:{...t,marginRight:"2.2em",margin:void 0,width:void 0,height:void 0,overflow:void 0,overflowX:void 0,overflowY:void 0,background:void 0},children:e}),(0,r.jsx)(l,{element:s,content:i})]})})}))},73965:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EffectsContext=t.Ghost=t.DynamicSignTexture=void 0,t.SpinningFountain=z,t.default=function(){const[e,t]=(0,g.useSaveState)("loggedInOtherworld",d.LOGGED_IN_OTHER_WORLD),[n,s]=(0,g.useSaveState)("showJumpScare",!0),[r,o]=(0,b.useState)(""),[i,l]=(0,b.useState)(!1),[c,p]=(0,b.useState)(""),[h,f]=(0,g.useSaveState)("level",d.OTHER_WORLD_LEVEL),[m,T]=(0,g.useSaveState)("ghostClickedInDisco",!1),[v,O]=(0,g.useSaveState)("ghostSeenInIntro",!1),[I,w]=(0,g.useSaveState)("ghostSeenInServer",!1),[R,M]=(0,b.useState)([]),C=(0,b.useRef)(),L=(0,b.useCallback)((e=>{C.current?.addMessage(e)}),[C]),A=(0,b.useCallback)((e=>{C.current?.showOneMessage(e)}),[C]),D=(0,b.useRef)(!1),P=(0,b.useCallback)(((e,t,n)=>{D.current||(p(t),D.current=!0,(0,E.setTimeoutPausible)((()=>{D.current&&(l(!0),n&&(0,y.fadeMusic)(1,0,400))}),100),(0,E.setTimeoutPausible)((()=>{D.current&&f(e)}),400),(0,E.setTimeoutPausible)((()=>{D.current&&(f(e),p(""),D.current=!1,l(!1),n&&(0,y.fadeMusic)(0,1,400))}),500))}),[p]),F=(0,b.useMemo)((()=>({setNavigation:M,moveTo:P})),[M,P]),k=(0,b.useMemo)((()=>({addMessage:L,showOneMessage:A})),[L,A]),[G,U]=(0,g.useSaveState)("animation",d.ANIMATE_OTHER_WORLD?null:"none"),[W,B]=(0,g.useSaveState)("shouldAnimate",!0);(0,b.useContext)(S.EndingPopupContext).setAnimation=U;const z=(0,b.useContext)(N.LayoutContext);return(0,a.jsx)(_.default,{name:"otherworld",fullscreen:!0,initialPosition:{x:0,y:0},style:{position:"absolute",zIndex:1e3,transform:"translate3d(0,0,0)",width:"landscape"===z.orientation?800*z.size:600*z.size,height:"landscape"===z.orientation?600*z.size:800*z.size,border:0,borderRadius:0,background:"#111",animation:W?G:"none"},topBarStyle:{display:"none"},onVisibleChange:e=>{B(!e)},children:(0,a.jsx)(j.ChatContext.Provider,{value:k,children:e?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(H.Provider,{value:{ghostClickedInDisco:m,setGhostClickedInDisco:T,ghostSeenInIntro:v,setGhostSeenInIntro:O,ghostSeenInServer:I,setGhostSeenInServer:w},children:(0,a.jsxs)(x.NavigationContext.Provider,{value:F,children:[(0,a.jsx)("div",{style:{},children:(0,a.jsx)("div",{style:{width:"landscape"===z.orientation?800*z.size:600*z.size,height:"landscape"===z.orientation?600*z.size:800*z.size},children:(0,a.jsx)(u.Canvas,{flat:!0,linear:!0,children:(0,a.jsx)(te,{name:r,level:h,fade:i,moveAnimation:c,onMoveAnimationDone:()=>{}})})})}),(0,a.jsx)(x.GameNavigator,{fade:i,navigation:R,onNavigate:e=>{P(R[e].level,e,R[e].fadeMusic)}}),(0,a.jsx)(ne,{ref:C})]})})}):(0,a.jsx)(V,{onLoggedIn:e=>{t(!0),o(e)},showJumpscare:n,setShowJumpscare:s})})})};const a=n(74848),l=o(n(27186)),c=o(n(23571)),d=n(78815),u=n(73560),p=n(27186),h=o(n(75206)),f=n(64159),x=n(80129),m=o(n(58220)),g=n(80985),_=o(n(96886)),b=n(96540),y=n(17322),E=n(91722),j=n(26661),T=n(56448),S=n(98722),v=n(52725),O=n(29369),N=n(49616),I=n(26696),w=n(7216),R=i(n(98845)),M=i(n(2543)),C=n(73719),L=n(40961),A=n(81218),D=n(44190),P=i(n(20584)),F=n(97172),k=n(70641),G=n(73917),U=n(37815),H=(0,b.createContext)({});(0,u.extend)({NoiseGrainPass:I.NoiseGrainPass}),(0,u.extend)({NoiseGrainPass2:w.NoiseGrainPass2});const W=[0,22,45,67,80,112,135,157,180,202,225,247,280,292,315,337,360];function B(){const{size:e}=(0,b.useContext)(N.LayoutContext),t=(0,b.useRef)(null),s=(0,b.useRef)(0);return(0,b.useEffect)((()=>{const e=setInterval((()=>{s.current===W.length-1?s.current=0:s.current+=1,t.current.style.transform=`rotateY(${W[s.current]}deg)`}),300);return()=>clearInterval(e)}),[]),(0,a.jsx)("img",{ref:t,src:n(20284),alt:"logo",style:{width:150*e,transform:`rotateY(${W[s.current]}deg)`}})}function V({onLoggedIn:e,showJumpscare:t,setShowJumpscare:n}){const{makeWindowInvisible:s,setVisibleWindows:r}=(0,b.useContext)(_.WindowManagerContext),o=(0,b.createRef)(),i=(0,b.createRef)(),[l,u]=(0,b.useState)("main"),[p,h]=(0,b.useState)("Logging In..."),[f,x]=(0,b.useState)(!1),[m,y]=(0,b.useState)(!1),{neverlandPassword:j}=(0,b.useContext)(g.SaveContext),[T]=(0,k.useCheatState)("jumpscare",!0),S=()=>{if(o.current.value.toUpperCase()===j)c.stopEventTimer("otherworld_password"),t&&T?(n(!1),r(["accept-call"])):u("invited");else{o.current.style.animation="jitter 0.5s";const e=o.current;(0,E.setTimeoutPausible)((()=>{e&&(e.style.animation="")}),500),o.current.value=""}},v=()=>{const t=i.current.value;""!==t&&(x(!0),h(I.OTHER_WORLD_CONNECTING),y(!0),(0,E.setTimeoutPausible)((()=>{h(I.OTHER_WORLD_LOGGING_IN),(0,E.setTimeoutPausible)((()=>{h(I.OTHER_WORLD_WELCOME.format(t)),(0,E.setTimeoutPausible)((()=>{x(!1),u("main"),e(t)}),2e3)}),1200)}),500))},O=(0,b.useContext)(N.LayoutContext).size,{language:I}=(0,b.useContext)(A.l10n.Context);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{style:{position:"absolute",width:"100%",textAlign:"center",height:"100%"},children:[(0,a.jsx)("div",{style:{height:100*O}}),(0,a.jsx)("div",{style:{perspective:150*O,imageRendering:"pixelated"},children:(0,a.jsx)(B,{})}),"main"===l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{width:200*O,margin:4*O+"px auto"},onClick:e=>{u("login")},children:I.OTHER_WORLD_LOGIN}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{width:200*O,margin:4*O+"px auto"},onClick:e=>{d.AUTO_REGISTER?u("invited"):u("register")},children:I.OTHER_WORLD_REGISTER}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{width:200*O,margin:4*O+"px auto",background:"#c00"},onClick:()=>{s("otherworld")},children:I.OTHER_WORLD_EXIT})]}):"login"===l?(0,a.jsx)(a.Fragment,{children:f?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("span",{style:{color:"white"},children:p})}):(0,a.jsxs)("form",{autoComplete:"off",children:[(0,a.jsx)("input",{name:"notsearch_username",autocomplete:"off",className:"text-98",type:"text",placeholder:I.OTHER_WORLD_USERNAME,style:{width:200*O,margin:4*O+"px auto"}}),(0,a.jsx)("input",{name:"notsearch_password",autocomplete:"off",autoComplete:"off",className:"text-98",type:"password",placeholder:I.OTHER_WORLD_PASSWORD,style:{width:200*O,margin:4*O+"px auto"}}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{width:200*O,margin:4*O+"px auto"},onClick:e=>{x(!0),h(I.OTHER_WORLD_CONNECTING),y(!0),(0,E.setTimeoutPausible)((()=>{h(I.OTHER_WORLD_LOGGING_IN),(0,E.setTimeoutPausible)((()=>{x(!1)}),1200)}),500)},children:I.OTHER_WORLD_LOGIN}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{width:200*O,margin:4*O+"px auto",background:"#c00"},onClick:e=>{u("main"),y(!1)},children:I.OTHER_WORLD_BACK}),m?(0,a.jsx)("span",{style:{color:"red"},children:I.OTHER_WORLD_INVALID}):null]})}):"register"===l?(0,a.jsx)(a.Fragment,{children:f?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("span",{style:{color:"white"},children:p})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("form",{onSubmit:e=>{S(),e.preventDefault()},autocomplete:"off",children:(0,a.jsx)("input",{name:"invite",ref:o,className:"text-98",type:"text",placeholder:I.OTHER_WORLD_INVITE_CODE,style:{width:200*O,margin:4*O+"px auto",fontSize:Math.max(16,16*O)}})}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{width:200*O,margin:4*O+"px auto"},onClick:e=>{S()},children:I.OTHER_WORLD_CONTINUE}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{width:200*O,margin:4*O+"px auto",background:"#c00"},onClick:e=>{u("main"),y(!1)},children:I.OTHER_WORLD_BACK})]})}):"invited"===l?(0,a.jsx)(a.Fragment,{children:f?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("span",{style:{color:"white"},children:p})}):(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{children:[(0,a.jsx)("form",{onSubmit:e=>{v(),e.preventDefault()},autocomplete:"off",children:(0,a.jsx)("input",{ref:i,name:"name",className:"text-98 placeholder-size",type:"text",placeholder:I.OTHER_WORLD_WHATS_YOUR_NAME,style:{width:200*O,margin:4*O+"px auto",fontSize:Math.max(16,16*O)}})}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{width:200*O,margin:4*O+"px auto"},onClick:e=>{v()},children:I.OTHER_WORLD_CONTINUE})]})})}):(0,a.jsx)(a.Fragment,{}),(0,a.jsx)("div",{style:{position:"absolute",color:"white",bottom:20*O,width:"100%"},children:"© 1994 OtherCorp"})]})})}function z(e){const t=(0,b.useRef)(),n=(0,b.useRef)(),s=(0,b.useRef)();(0,b.useEffect)((()=>{const e=setInterval((()=>{const e=(0,E.pausibleNow)();t.current&&n.current&&s.current&&(t.current.position.x=Math.sin(e/1e3)+.5*Math.sin(e/750+100),t.current.position.y=.5*Math.cos(e/1e3),t.current.position.z=.5*Math.cos(e/1200+500),t.current.rotation.x=e/1e3,t.current.rotation.y=e/1e3*.2,t.current.rotation.z=e/1e3*.1,t.current.material.opacity>.5?t.current.material.opacity-=.05:t.current.material.opacity=.5,n.current.position.x=.5*Math.sin(e/1e3+500),n.current.position.y=.5*Math.cos(e/1e3+500)*Math.sin(e/1e3+500),t.current.position.z=1*Math.sin(e/1e3)+.5*Math.sin(e/750+100),n.current.rotation.x=e/1e3,n.current.rotation.y=e/1e3*.2,n.current.rotation.z=e/1e3*.1,n.current.material.opacity>.5?n.current.material.opacity-=.05:n.current.material.opacity=.5,s.current.position.x=.5*Math.sin(e/1e3+500+200),s.current.position.y=.5*Math.cos(e/1e3+500+600)*Math.sin(e/1e3+500),s.current.position.z=.5*Math.sin(e/1e3)*Math.sin(e/750+100)*.5,s.current.rotation.x=e/1e3,s.current.rotation.y=e/1e3*.2,s.current.rotation.z=e/1e3*.1,s.current.material.opacity>.5?s.current.material.opacity-=.05:s.current.material.opacity=.5)}),100);return()=>clearInterval(e)}),[]);const r=(0,b.useContext)(j.ChatContext);return(0,a.jsxs)("object3D",{...e,children:[(0,a.jsxs)("mesh",{ref:t,onClick:e=>{r.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_CUBE"})),e.stopPropagation(),t.current.material.opacity=1},children:[(0,a.jsx)("boxGeometry",{args:[1,1,1]}),(0,a.jsx)("meshStandardMaterial",{color:"red",transparent:"true",opacity:.5})]}),(0,a.jsxs)("mesh",{ref:n,onClick:e=>{r.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_PYRAMID"})),e.stopPropagation(),n.current.material.opacity=1},children:[(0,a.jsx)("coneGeometry",{args:[.6,1,3,1]}),(0,a.jsx)("meshStandardMaterial",{color:"blue",transparent:"true",opacity:.5})]}),(0,a.jsxs)("mesh",{ref:s,onClick:e=>{r.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_SPHERE"})),e.stopPropagation(),s.current.material.opacity=1},children:[(0,a.jsx)("sphereGeometry",{args:[.6,12,12]}),(0,a.jsx)("meshStandardMaterial",{color:"green",transparent:"true",opacity:.5})]})]})}function Y(){const e=(0,u.useLoader)(p.TextureLoader,n(87147));(0,b.useEffect)((()=>{e.minFilter=p.NearestFilter,e.magFilter=p.NearestFilter,e.wrapS=p.RepeatWrapping,e.wrapT=p.RepeatWrapping,e.repeat.set(3,3),e.needsUpdate=!0}),[e]);const t=(0,b.useContext)(x.NavigationContext);return(0,b.useEffect)((()=>{t.setNavigation&&t.setNavigation({forward:{level:"intro2"}})}),[t]),(0,b.useEffect)((()=>{(0,y.playBGM)("intro")}),[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(R.default,{}),(0,a.jsx)("fog",{attach:"fog",args:["#cff",0,30]}),(0,a.jsxs)("object3D",{position:[0,2,0],children:[(0,a.jsxs)("mesh",{position:[0,-4,-5],rotation:[-Math.PI/2,0,0],children:[(0,a.jsx)("planeGeometry",{args:[50,30,30]}),(0,a.jsx)("meshStandardMaterial",{map:e})]}),(0,a.jsx)(z,{position:[0,-1,-15]})]})]})}function $(){const{ghostClickedInDisco:e,ghostSeenInIntro:s,setGhostSeenInIntro:r}=(0,b.useContext)(H),o=(0,u.useLoader)(p.TextureLoader,n(87147));(0,b.useEffect)((()=>{o.minFilter=p.NearestFilter,o.magFilter=p.NearestFilter,o.wrapS=p.RepeatWrapping,o.wrapT=p.RepeatWrapping,o.repeat.set(3,3),o.needsUpdate=!0}),[o]);const i=(0,b.useRef)({}),l=(0,b.useRef)({}),[c]=(0,P.default)([{duration:1,onStart:()=>{d.setNavigation({}),(0,y.setRate)(.5),h.addMessage((0,a.jsxs)("span",{style:{color:"red"},children:["[alonegurl15] ","(:"]}))}},{duration:1,frameCallback:(e,t)=>{if(!i.current)return;if(!l.current)return;const n=.01*Math.floor(t/.01);i.current.position.x=2*-n,i.current.position.z=-.5-.1*n+Math.cos(50*n)*Math.cos(50*n+10)*.1,(0,y.setRate)(.5+.5*t),l.current.position.set(i.current.position.x,i.current.position.y,i.current.position.z)},onEnd:()=>{(0,y.setRate)(1),r(!0),d.setNavigation({backward:{level:"intro"},right:{level:"disco",fadeMusic:!0},left:{level:"servers"}})}}]);(0,b.useEffect)((()=>{e&&!s&&c()}),[e,s]);const d=(0,b.useContext)(x.NavigationContext);(0,b.useEffect)((()=>{d.setNavigation&&d.setNavigation({backward:{level:"intro"},left:{level:"servers"},right:{level:"disco",fadeMusic:!0}})}),[d]),(0,b.useEffect)((()=>{(0,y.playBGM)("intro")}),[]);const h=(0,b.useContext)(j.ChatContext);(0,b.useEffect)((()=>{h.addMessage&&h.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_CREATION"}))}),[]);const{noiseScene:f}=(0,b.useContext)(t.EffectsContext);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(R.default,{}),(0,a.jsx)("fog",{attach:"fog",args:["#cff",0,30]}),(0,a.jsxs)("object3D",{position:[0,2,0],children:[(0,a.jsxs)("mesh",{position:[0,-4,-5],rotation:[-Math.PI/2,0,0],children:[(0,a.jsx)("planeGeometry",{args:[50,30,30]}),(0,a.jsx)("meshStandardMaterial",{map:o})]}),(0,a.jsx)(z,{position:[0,-1,-5]})]}),(0,u.createPortal)((0,a.jsx)(a.Fragment,{children:e&&!s?(0,a.jsx)(t.Ghost,{ref:l,position:[0,-.1,-.5],scale:[.1,.1,.1]}):null}),f),e&&!s?(0,a.jsx)(t.Ghost,{ref:i,position:[0,-.1,-.5],scale:[.1,.1,.1]}):null]})}const X=new l.ImageLoader;function K(e){const s=(0,u.useLoader)(p.TextureLoader,n(98762));(0,b.useEffect)((()=>{s.minFilter=p.NearestFilter,s.magFilter=p.NearestFilter,s.needsUpdate=!0}),[s]);const r=(0,b.useContext)(j.ChatContext),o=(0,b.useContext)(v.FileBrowserContext),{language:i}=(0,b.useContext)(A.l10n.Context);return(0,a.jsx)("object3D",{...e,children:(0,a.jsxs)("mesh",{rotation:[0,0,0],scale:[1.5,1,1],onPointerDown:t=>{e.ghostEffectOccluder||(o.openBrowser((0,a.jsx)(A.l10n.Text,{name:"FILE_BROWSER_TITLE_UPLOAD_WORLD"}),(e=>{r.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_UPLOAD_WORLD_ERROR"}))}),!0),t.stopPropagation())},children:[(0,a.jsx)("planeGeometry",{args:[10,10,10]}),e.ghostEffectOccluder?(0,a.jsx)("meshBasicMaterial",{color:"white"}):(0,a.jsx)(t.DynamicSignTexture,{graphics:[{type:"text",x:64,y:40,fontSize:26,color:"white",text:i.SERVERS_EMPTY},{type:"text",x:64,y:55,fontSize:9,color:"white",text:i.SERVERS_UPLOAD}]})]})})}function Z(e){const s=(0,u.useLoader)(p.TextureLoader,n(64297));(0,b.useEffect)((()=>{s.minFilter=p.NearestFilter,s.magFilter=p.NearestFilter,s.needsUpdate=!0}),[s]);const[r,o]=(0,b.useState)(!1),i=(0,b.useContext)(x.NavigationContext),l=(0,b.useContext)(j.ChatContext),{setShowGlobalHint:d}=(0,b.useContext)(O.HintContext),{language:h}=(0,b.useContext)(A.l10n.Context);return(0,a.jsx)("object3D",{...e,onPointerEnter:e=>o(!0),onPointerLeave:e=>o(!1),onPointerDown:e=>{e.stopPropagation(),i.moveTo("house1","forward",!0),l.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_HOUSE_INTRO"})),c.startEventTimer("knocks"),d(4)},children:(0,a.jsxs)("mesh",{rotation:[0,0,0],scale:[1.5,1,1],children:[(0,a.jsx)("planeGeometry",{args:[10,10,10]}),(0,a.jsx)(t.DynamicSignTexture,{backgroundColor:"rgb(0,0,255)",graphics:[{type:"text",x:64,y:20,fontSize:12,color:"white",text:h.SERVERS_USER_WORLD},{type:"text",x:64,y:40,fontSize:18,color:"white",text:h.SERVERS_HOUSE_OF_BAPHOMET_LINE_1},{type:"text",x:64,y:60,fontSize:18,color:"white",text:h.SERVERS_HOUSE_OF_BAPHOMET_LINE_2}],color:r?new p.Color(1,0,0):new p.Color(1,1,1)})]})})}function J(){const[e,s]=(0,b.useState)(d.SHOW_BAPHOMET),r=(0,b.useContext)(x.NavigationContext);(0,b.useEffect)((()=>{r.setNavigation&&r.setNavigation({right:{level:"intro2"}})}),[r]);const{ghostClickedInDisco:o,ghostSeenInIntro:i,ghostSeenInServer:l,setGhostSeenInServer:c}=(0,b.useContext)(H),h=(0,u.useLoader)(p.TextureLoader,n(87147));(0,b.useEffect)((()=>{h.minFilter=p.NearestFilter,h.magFilter=p.NearestFilter,h.wrapS=p.RepeatWrapping,h.wrapT=p.RepeatWrapping,h.repeat.set(3,3),h.needsUpdate=!0}),[h]);const f=(0,b.useContext)(j.ChatContext),{noiseScene:m}=(0,b.useContext)(t.EffectsContext);(0,b.useEffect)((()=>{f.addMessage&&f.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_NEXUS"}))}),[]),(0,b.useEffect)((()=>{(0,y.playBGM)("intro")}),[]);const g=(0,b.useRef)(),_=(0,b.useRef)(),[E]=(0,P.default)([{duration:1,frameCallback:(e,t)=>{if(!g.current)return;if(!_.current)return;const n=(0,F.easeOutCubic)(.05*Math.floor(t/.05));g.current.position.x=-5-10*n+Math.cos(50*n)*Math.cos(50*n+10)*2,g.current.position.z=Math.cos(50*n)*Math.cos(50*n+10)*2-20,_.current.position.set(g.current.position.x,g.current.position.y,g.current.position.z)},onStart:()=>{r.setNavigation({}),(0,y.setRate)(.5)}},{duration:.1,onEnd:()=>{s(!0)}},{duration:1,frameCallback:(e,t)=>{if(!g.current)return;if(!_.current)return;const n=(0,F.easeOutCubic)(.1*Math.floor(t/.1));g.current.position.x=-15-5*n+Math.cos(50*n)*Math.cos(50*n+10)*1,g.current.position.z=-20-15*n+Math.cos(50*n)*Math.cos(50*n+10)*1,_.current.position.set(g.current.position.x,g.current.position.y,g.current.position.z),(0,y.setRate)(.5+.5*t)},onEnd:()=>{r.setNavigation({right:{level:"intro2"}}),c(!0)}}]);return(0,b.useEffect)((()=>{o&&i&&!l&&E()}),[o,i,l]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(R.default,{}),(0,a.jsx)("fog",{attach:"fog",args:["#cff",30,150]}),(0,a.jsxs)("mesh",{position:[0,-4,-20],rotation:[-Math.PI/2,0,0],children:[(0,a.jsx)("planeGeometry",{args:[150,200,30]}),(0,a.jsx)("meshStandardMaterial",{map:h})]}),e||l?(0,a.jsx)(Z,{position:[-18,1,-30],rotation:[0,-.2,0]}):(0,a.jsx)(K,{position:[-18,1,-30],rotation:[0,-.2,0]}),(0,a.jsx)(K,{position:[18,1,-30],rotation:[0,.2,0]}),(0,a.jsx)(K,{position:[18,1,-50],rotation:[0,-.4,0]}),(0,a.jsx)(K,{position:[36,1,-50],rotation:[0,-.3,0]}),(0,a.jsx)(K,{position:[54,1,-50],rotation:[0,-.2,0]}),(0,a.jsx)(K,{position:[-18,1,-50],rotation:[0,.2,0]}),(0,a.jsx)(K,{position:[-36,1,-50],rotation:[0,.3,0]}),(0,a.jsx)(K,{position:[-54,1,-50],rotation:[0,.4,0]}),(0,a.jsx)(K,{position:[18,1,-80],rotation:[0,-.4,0]}),(0,a.jsx)(K,{position:[36,1,-80],rotation:[0,-.3,0]}),(0,a.jsx)(K,{position:[54,1,-80],rotation:[0,-.2,0]}),(0,a.jsx)(K,{position:[-18,1,-80],rotation:[0,.2,0]}),(0,a.jsx)(K,{position:[-36,1,-80],rotation:[0,.3,0]}),(0,a.jsx)(K,{position:[-54,1,-80],rotation:[0,.4,0]}),(0,a.jsx)(K,{position:[0,1,-80],rotation:[0,0,0]}),o&&i&&!l?(0,a.jsx)(t.Ghost,{ref:g,position:[-15,-.8,-20]}):null,(0,u.createPortal)((0,a.jsxs)(a.Fragment,{children:[o&&i&&!l?(0,a.jsx)(t.Ghost,{ref:_,position:[-15,-.8,-20]}):null,(0,a.jsx)(K,{position:[-18,1,-30],rotation:[0,-.2,0],ghostEffectOccluder:!0})]}),m)]})}function q(e){const t=(0,u.useLoader)(p.TextureLoader,n(46179));(0,b.useEffect)((()=>{t.minFilter=p.NearestFilter,t.magFilter=p.NearestFilter,t.wrapS=p.RepeatWrapping,t.wrapT=p.RepeatWrapping,t.needsUpdate=!0}),[t]);const[s,r]=(0,b.useState)(`rgb(${Math.floor(255*Math.random())}, ${Math.floor(255*Math.random())}, ${Math.floor(255*Math.random())})`);return(0,b.useEffect)((()=>{const e=setInterval((()=>{r((e=>`rgb(${Math.floor(255*Math.random())}, ${Math.floor(255*Math.random())}, ${Math.floor(255*Math.random())})`))}),500+2e3*Math.random());return()=>clearInterval(e)}),[]),(0,a.jsxs)("mesh",{...e,children:[(0,a.jsx)("boxGeometry",{args:[4,1,4]}),(0,a.jsx)("meshStandardMaterial",{map:t,color:s,emissive:s})]})}function Q({...e}){const t=(0,m.useSimpleTexture)(n(8632)),s=(0,m.useSimpleTexture)(n(78389)),r=(0,m.useSimpleTexture)(n(92638)),o=(0,b.useRef)(),i=(0,b.useRef)();return(0,E.useFramePausible)(((e,t)=>{const n=(0,E.pausibleNow)();o.current&&i.current&&(o.current.rotation.z=n/100*.1,i.current.rotation.z=n/100*.2)})),(0,a.jsxs)("object3D",{...e,children:[(0,a.jsxs)("mesh",{renderOrder:2,ref:o,position:[.5,.4,.01],rotation:[0,0,0],scale:[4,4,1],children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:s,transparent:!0})]}),(0,a.jsxs)("mesh",{renderOrder:1,ref:i,position:[.5,.4,.01],rotation:[0,0,0],scale:[4,4,1],children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:r,transparent:!0})]}),(0,a.jsxs)("mesh",{renderOrder:0,position:[0,0,0],rotation:[0,0,0],scale:[4,4,1],children:[(0,a.jsx)("planeGeometry",{args:[1,1,1]}),(0,a.jsx)("meshBasicMaterial",{map:t,transparent:!0})]})]})}function ee(){const e=(0,b.useContext)(j.ChatContext),{ghostClickedInDisco:s,setGhostClickedInDisco:r}=(0,b.useContext)(H);(0,b.useEffect)((()=>{e.addMessage&&e.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_DISCO"}))}),[]),(0,b.useEffect)((()=>{(0,y.playBGM)("disco")}),[]);const o=(0,u.useLoader)(p.TextureLoader,n(87147));(0,b.useEffect)((()=>{o.minFilter=p.NearestFilter,o.magFilter=p.NearestFilter,o.wrapS=p.RepeatWrapping,o.wrapT=p.RepeatWrapping,o.repeat.set(3,3),o.needsUpdate=!0}),[o]);const i=(0,u.useLoader)(p.TextureLoader,n(3811));(0,b.useEffect)((()=>{i.minFilter=p.NearestFilter,i.magFilter=p.NearestFilter,i.wrapS=p.RepeatWrapping,i.wrapT=p.RepeatWrapping,i.repeat.set(1,1),i.needsUpdate=!0}),[i]);const l=(0,u.useLoader)(p.TextureLoader,n(31956));(0,b.useEffect)((()=>{l.minFilter=p.NearestFilter,l.magFilter=p.NearestFilter,l.wrapS=p.RepeatWrapping,l.wrapT=p.RepeatWrapping,l.needsUpdate=!0}),[l]);const c=(0,u.useLoader)(p.TextureLoader,n(46179));(0,b.useEffect)((()=>{c.minFilter=p.NearestFilter,c.magFilter=p.NearestFilter,c.wrapS=p.RepeatWrapping,c.wrapT=p.RepeatWrapping,c.needsUpdate=!0}),[c]);const d=(0,u.useLoader)(p.TextureLoader,n(91821));(0,b.useEffect)((()=>{d.minFilter=p.NearestFilter,d.magFilter=p.NearestFilter,d.wrapS=p.RepeatWrapping,d.wrapT=p.RepeatWrapping,d.transparent=!0,d.needsUpdate=!0}),[d]);const h=(0,b.useContext)(x.NavigationContext);(0,b.useEffect)((()=>{h.setNavigation&&h.setNavigation({left:{level:"intro2",fadeMusic:!0}})}),[h]);const f=(0,b.useRef)(),m=(0,b.useRef)(),g=(0,b.useRef)(),[_,E]=(0,P.default)([{duration:3,frameCallback:(e,t)=>{m.current&&g.current&&(m.current.position.x=-10,m.current.position.z=-35,m.current.position.y=3.8*(0,F.easeInOutCubic)(t)-5,g.current.position.set(m.current.position.x,m.current.position.y,m.current.position.z),(0,y.setRate)(.3*(1-t)+.7))},onStart:()=>{h.setNavigation({}),e.addMessage((0,a.jsx)("span",{style:{color:"red"},children:(0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_ALONEGURL_OH_HELLO_FRIEND"})}))},onEnd:()=>{h.setNavigation({})}},{duration:.5,frameCallback:(e,t)=>{m.current&&g.current&&(m.current.position.x=9*t-10+1*Math.sin((0,F.easeOutCubic)(t)*Math.PI*20),m.current.position.y=-1.2,m.current.position.z=25*t-35,g.current.position.set(m.current.position.x,m.current.position.y,m.current.position.z))}},{duration:.5,onStart:()=>{(0,y.setRate)(.6)}},{duration:2,frameCallback:(e,t)=>{if(!m.current)return;if(!g.current)return;const n=Math.floor(t*t*t*50)/.15*.15;m.current.position.x=Math.sin(n)*Math.cos(n+50)*n*.15-1,m.current.position.y=-1.2,m.current.position.z=Math.cos(n)*Math.cos(n+60)*n*.15-10,g.current.position.set(m.current.position.x,m.current.position.y,m.current.position.z),(0,y.setRate)(.3*(1-t)+.4)}},{duration:.05,frameCallback:(e,t)=>{if(!m.current)return;if(!g.current)return;const n=Math.floor(30*t)/.5*.5;m.current.position.x=10*Math.cos(5*n+50)-1-50*t,m.current.position.y=-1.2,m.current.position.z=Math.cos(5*n)*Math.cos(5*n+60)*10-10-5*t,g.current.position.set(m.current.position.x,m.current.position.y,m.current.position.z)}},{duration:0,onEnd:()=>{(0,y.setRate)(1),h.setNavigation({left:{level:"intro2",fadeMusic:!0}}),r(!0)}}]);(0,b.useEffect)((()=>{const e=setInterval((()=>{f.current&&(f.current.rotation.y+=.1)}),100);return()=>clearInterval(e)}),[]);const{noiseScene:T}=(0,b.useContext)(t.EffectsContext);return(0,a.jsxs)(a.Fragment,{children:[(0,u.createPortal)((0,a.jsxs)(a.Fragment,{children:[s?null:(0,a.jsx)(t.Ghost,{ref:g,position:[-10,-5,-35],onClick:e=>{E||_()}}),(0,a.jsxs)("mesh",{position:[0,-5,-40],children:[(0,a.jsx)("boxGeometry",{args:[30,1,50]}),(0,a.jsx)("meshBasicMaterial",{color:"rgb(255,255,255)"})]})]}),T),(0,a.jsx)(R.default,{}),(0,a.jsx)("fog",{attach:"fog",args:["#111",0,65]}),(0,a.jsxs)("object3D",{position:[0,0,-30],rotation:[0,Math.PI/4+.2,0],children:[(0,a.jsxs)("mesh",{position:[0,0,-30],children:[(0,a.jsx)("boxGeometry",{args:[60,30,1]}),(0,a.jsx)("meshStandardMaterial",{map:l,color:"red"})]}),(0,a.jsxs)("mesh",{position:[30,0,0],children:[(0,a.jsx)("boxGeometry",{args:[1,30,60]}),(0,a.jsx)("meshStandardMaterial",{map:l,color:"rgb(200, 0, 0)"})]}),(0,a.jsxs)("mesh",{position:[0,15,-0],children:[(0,a.jsx)("boxGeometry",{args:[60,1,60]}),(0,a.jsx)("meshStandardMaterial",{map:l,color:"rgb(255, 255, 255)"})]}),(()=>{const e=[];for(let t=0;t<20;t++)for(let n=0;n<20;n++)t>8&&t<13&&n>8&&n<13?e.push((0,a.jsx)(q,{position:[40-4*t,-5,4*n-40]},20*t+n)):e.push((0,a.jsxs)("mesh",{position:[40-4*t,-5,4*n-40],children:[(0,a.jsx)("boxGeometry",{args:[4,1,4]}),(0,a.jsx)("meshStandardMaterial",{map:c,color:(t+n)%2==0?"rgb(255, 255, 255)":"rgb(0,0,0)"})]},20*t+n));return e})()]}),(0,a.jsx)(Q,{position:[-25,5,-45],rotation:[0,Math.PI/4,0],scale:[2,2,1],onClick:t=>{t.stopPropagation(),e.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_CLOCK"}))}}),(0,a.jsxs)("mesh",{position:[10,0,-15],rotation:[0,0,0],scale:[1.5,1,1],onClick:t=>{t.stopPropagation(),e.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_STATUE"}))},children:[(0,a.jsx)("planeGeometry",{args:[3.6,9,1]}),(0,a.jsx)("meshStandardMaterial",{map:d,transparent:!0})]}),(0,a.jsx)("object3D",{position:[0,3,-10],onClick:t=>{t.stopPropagation(),e.addMessage((0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_DISCO_BALL"}))},children:(0,a.jsxs)("mesh",{ref:f,children:[(0,a.jsx)("sphereGeometry",{args:[1,8,8]}),(0,a.jsx)("meshStandardMaterial",{map:i})]})}),s?null:(0,a.jsx)(t.Ghost,{ref:m,position:[-10,-5,-35],onClick:e=>{E||_()}})]})}function te({moveAnimation:e,onMoveAnimationDone:n,level:s,name:r,fade:o}){const i=(0,u.useThree)((({camera:e})=>e)),[p,x]=(0,b.useState)(!1),[g,_]=(0,b.useState)([!1,!1,!1,!1]),[S,v]=(0,b.useState)(!1),[I,w]=(0,b.useState)(0),[R,L]=(0,b.useState)(!1),[F,k]=(0,b.useState)([]),[G,H]=(0,b.useState)(0),[W,B]=(0,b.useState)(0),{orientation:V}=(0,b.useContext)(N.LayoutContext);(0,b.useEffect)((()=>{i.fov="landscape"===V?75:100,i.updateProjectionMatrix()}),[i,V]),(0,E.useFramePausible)(((t,s)=>{"forward"===e?(i.position.z-=3*s,i.position.y=0+.1*Math.sin(4*i.position.z),i.position.z<-2&&(n(),i.position.z=-2)):"backward"===e?(i.position.z+=3*s,i.position.y=0+.1*Math.sin(4*i.position.z),i.position.z>2&&(n(),i.position.z=2)):"left"===e?(i.position.x-=3*s,i.position.y=0+.1*Math.sin(4*i.position.x),i.position.x<-2&&(n(),i.position.x=-2)):"right"===e?(i.position.x+=3*s,i.position.y=0+.1*Math.sin(4*i.position.x),i.position.x>2&&(n(),i.position.x=2)):(i.position.set(Math.sin(2*Math.sin((0,E.pausibleNow)()/15))*W,Math.sin(3*Math.sin((0,E.pausibleNow)()/20))*W,0),i.rotation.set(-Math.PI/16,0,0))}));const z=(0,b.useContext)(j.ChatContext),X=(0,b.useRef)(!1),[K]=(0,P.default)([]),{setShowGlobalHint:Z}=(0,b.useContext)(O.HintContext);(0,b.useEffect)((()=>{X.current=!0,(0,y.fadeMusic)(0,1,500);const e=(0,E.setTimeoutPausible)((()=>{z.addMessage((0,a.jsx)("span",{style:{color:"red"},children:(0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_YOU_ARENT_LIZ"})})),(0,C.achieve)(U.AchievementString.YOURE_NOT_LIZ)}),1e3);return()=>{e()}}),[]),(0,b.useEffect)((()=>{(d.TWO_KNOCKS?M.default.isEqual(g,[!0,!1,!1,!1]):M.default.isEqual(g,[!0,!0,!0,!0]))&&(x(!0),z.addMessage((0,a.jsx)(a.Fragment,{children:(0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_DOOR_PUZZLE_SOLVED"})})),c.stopEventTimer("knocks"),(0,D.playSFX)("door_open"),(0,C.achieve)(U.AchievementString.KNOCK),Z(5))}),[g,z]);const[q,Q]=(0,b.useState)(!0),te=(0,b.useRef)((0,E.pausibleNow)()),ne=(0,b.useRef)(0),se=(0,b.useRef)(0);(0,E.useFramePausible)((()=>{const e=(0,E.pausibleNow)(),t=1e3/(e-te.current);ne.current=(4*ne.current+t)/5,te.current=e})),(0,E.useFramePausible)((()=>{const e=setInterval((()=>{se.current>5?q&&Q(!1):ne.current<10?q&&(Q(!1),se.current++):q||(Q(!0),se.current++)}),2e3);return()=>clearInterval(e)}));const[re,oe]=(0,b.useMemo)((()=>{const e=new l.Scene;e.background=new l.Color("white");return[e,new l.WebGLRenderTarget(128,128)]}),[]);return(0,E.useFramePausible)((e=>{e.gl.setRenderTarget(oe),e.gl.render(re,i),e.gl.setRenderTarget(null)})),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(t.EffectsContext.Provider,{value:{noiseIntensity:G,setNoiseIntensity:H,setCameraShake:B,noiseScene:re,noiseTarget:oe},children:[(0,a.jsx)("ambientLight",{intensity:Math.PI/2}),(()=>{switch(s){case"intro":default:return(0,a.jsx)(Y,{});case"intro2":return(0,a.jsx)($,{});case"servers":return(0,a.jsx)(J,{});case"disco":return(0,a.jsx)(ee,{});case"garden":return(0,a.jsx)(m.BlessingGarden,{blessed:M.default.isEqual(F,[!0,!0,!0,!0]),setBlessed:k});case"house1":return(0,a.jsx)(m.default,{doorUnlocked:p,morseSolved:g,setDoorUnlocked:x,setMorseSolved:_});case"house2":return(0,a.jsx)(m.HouseOfBaphomet2,{doorUnlocked:p,morseSolved:g,setDoorUnlocked:x,setMorseSolved:_});case"puzzle1":case"puzzle2":case"puzzle3":case"puzzle4":return(0,a.jsx)(m.BaphometPuzzle,{level:s,unlocked:S,setUnlocked:v,unlockedTime:I,setUnlockedTime:w});case"fountain":case"fountain2":return(0,a.jsx)(f.FountainPuzzle,{level:s,unlockedFountain:R,setUnlockedFountain:L});case"sacrifice":return(0,a.jsx)(m.SacrificeRoom,{});case"ending":return d.DEMO_ENDING?(0,a.jsx)(h.DemoEndingScreen,{}):(0,a.jsx)(h.default,{})}})(),q&&(0,a.jsx)(T.Effects,{disableGamma:!0,children:(0,a.jsx)("noiseGrainPass",{noiseTarget:oe,noiseIntensity:G})})]})})}t.DynamicSignTexture=(0,b.forwardRef)((({width:e=128,height:t=80,backgroundColor:n="rgb(50, 50, 50)",graphics:s=[],...r},o)=>{const i=(0,b.useRef)(),[c,d]=(0,b.useMemo)((()=>{const n=document.createElement("canvas");n.width=e,n.height=t;const s=n.getContext("2d",{alpha:!0});return[n,s]}),[e,t]);return(0,b.useEffect)((()=>{(async()=>{d.clearRect(0,0,e,t),d.fillStyle=n,d.rect(0,0,e,t),d.fill();for(const e of s)if("text"===e.type)d.font=`${e.fontSize}px Arial, sans-serif`,d.textAlign="center",d.fillStyle=e.color,d.fillText(e.text,e.x,e.y);else if("image"===e.type){const t=await X.loadAsync(e.image);d.drawImage(t,e.x,e.y,e.width,e.height)}else"rect"===e.type&&(d.fillStyle=e.color,d.fillRect(e.x,e.y,e.width,e.height));i.current&&(i.current.needsUpdate=!0)})()}),[d,n,s]),(0,a.jsx)("meshBasicMaterial",{...r,ref:o,children:(0,a.jsx)("canvasTexture",{magFilter:l.NearestFilter,ref:i,attach:"map",image:c})})})),t.Ghost=(0,b.forwardRef)(((e,t)=>{const s=(0,b.useRef)(),r=(0,b.useRef)();(0,E.useFramePausible)(((e,t)=>{s.current.rotation.setFromRotationMatrix(e.camera.matrix),r.current.rotation.setFromRotationMatrix(e.camera.matrix)}));const o=(0,m.useSimpleTexture)(n(72694)),i=(0,m.useSimpleTexture)(n(37276));return(0,a.jsxs)("object3D",{...e,ref:t,children:[(0,a.jsxs)("mesh",{position:[0,-.1,0],ref:r,children:[(0,a.jsx)("planeGeometry",{args:[2.5,2.5/147*367,1]}),(0,a.jsx)("meshStandardMaterial",{map:i,opacity:e.opacity||1,transparent:!0})]}),(0,a.jsxs)("mesh",{position:[0,3,.1],ref:s,children:[(0,a.jsx)("planeGeometry",{args:[6,1,1]}),(0,a.jsx)("meshStandardMaterial",{map:o,opacity:e.opacity||1,transparent:!0})]})]})})),t.EffectsContext=(0,b.createContext)();const ne=(0,b.forwardRef)(((e,t)=>{const{size:n}=(0,b.useContext)(N.LayoutContext),[s,r]=(0,b.useState)([(0,a.jsx)(A.l10n.Text,{name:"OTHER_WORLD_CHAT_WELCOME"})]),o=(0,b.useRef)();return(0,b.useImperativeHandle)(t,(()=>({addMessage:e=>{(0,L.flushSync)((()=>{r((t=>[...t,e]))})),o.current.scrollTop=o.current.scrollHeight},showOneMessage:e=>{(0,L.flushSync)((()=>{r([e])})),o.current.scrollTop=o.current.scrollHeight}}))),(0,a.jsx)("div",{style:{border:3*n+"px solid black",display:"block",position:"absolute",background:"black",color:"white",left:5*n+"px",bottom:5*n+"px",right:5*n+"px"},children:(0,a.jsx)(G.Scrollable,{style:{background:"black",color:"white",width:"100%",height:180*n+"px",padding:20*n+"px",overflowY:"scroll",overflowX:"hidden"},ref:o,children:s.map(((e,t)=>(0,a.jsx)("div",{className:"chat-log",children:e},t)))})})}))},74140:(e,t,n)=>{e.exports=n.p+"assets/song_6_2.1007506e15a79c4fd496.mp3"},74205:(e,t,n)=>{e.exports=n.p+"assets/house.8fc649925cc3934f39cc.gif"},74319:(e,t,n)=>{e.exports=n.p+"assets/ritual1.8e898b84d94cea0b4ca1.gif"},75206:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const[e,t]=(0,u.useState)(""),{scene:s}=(0,S.useThree)();"world"!==e&&"blood"!==e&&"girl"!==e&&(s.background=new f.Color(0,0,0));const r=(0,u.useContext)(_.NavigationContext);(0,u.useEffect)((()=>{r.setNavigation({})}),[r]),(0,u.useEffect)((()=>{}),[]);const o=(0,u.useContext)(h.ChatContext),i=(0,u.useContext)(m.EndingPopupContext),{setVisibleWindows:x,makeWindowVisible:T}=(0,u.useContext)(y.WindowManagerContext),{size:M,orientation:C}=(0,u.useContext)(g.LayoutContext),[L]=(0,v.default)([{duration:1,onStart:()=>{}},{duration:2,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),10,10)}},{duration:1,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),400,50)}},{duration:.8,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),600,300)}},{duration:.7,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),50,280,[(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"})])}},{duration:.6,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),610,360,[(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"})])}},{duration:.5,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),30,60,[(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"})])}},{duration:.4,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),30,450,[(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"})])}},...[.4,.4,.3,.2,.2,.1,.1,.1,.1,.1,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05,.05].map((e=>({duration:e,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_DONT_LEAVE_ME"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_I_DONT_WANT_TO_BE_ALONE"}),Math.random()*("landscape"===C?600:300),Math.random()*("landscape"===C?400:800),[(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_NO"})])}}))),{duration:1,onStart:()=>{T("fade-screen")}},{duration:4,onStart:()=>{T("error-screen")}}]),[A,D]=(0,u.useState)(1),P=(0,u.useContext)(c.EffectsContext);(0,u.useEffect)((()=>{P.setNoiseIntensity&&P.setNoiseIntensity(1)}));const[F]=(0,v.default)([{duration:1,onStart:()=>{i.closeAllPopups(),o.showOneMessage("sv_cheats 1"),t("")}},{duration:1,onStart:()=>{o.addMessage("god"),(0,d.playBGM)("ending")}},{duration:.5,onStart:()=>{o.addMessage("noclip")}},{duration:.5,onStart:()=>{o.addMessage("impulse 101")}},...["ROSEBUD","↑, ↓, ←, →, ←, →, b, a, start","482-555-0100","RT, RT, LB, RT, ↑, ↓, ↑, ↓, ↑, ↓","sv_latency 0","sv_reticulating_splines 1","sv_infinite 1","sv_nodeath 1","sv_forever 1","sv_full_access 1",(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{style:{color:"rgb(0,0,255)"},children:[(0,a.jsx)(E.l10n.Text,{name:"CONSCIOUSNESS_TRIANGULATION"}),": "]})," ",(0,a.jsx)("span",{style:{color:"yellow"},children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_WARNING"})})]})].map((e=>({duration:.05,onEnd:()=>{o.addMessage(e)}}))),{duration:2},{duration:2,onStart:()=>{o.addMessage((0,a.jsxs)("span",{style:{color:"red"},children:["[alonegurl15] ",(0,a.jsx)(E.l10n.Text,{name:"ENDING_HOW_LONG_HAS_IT_BEEN"})]}))}},{duration:2,onStart:()=>{o.addMessage((0,a.jsxs)("span",{style:{color:"red"},children:["[alonegurl15]"," ",(0,a.jsx)(E.l10n.Text,{name:"ENDING_THANK_U_FOR_UPLOADING_THOSE_PICTURES"})]}))}},{duration:3,onStart:()=>{o.addMessage((0,a.jsxs)("span",{style:{color:"red"},children:["[alonegurl15]"," ",(0,a.jsx)(E.l10n.Text,{name:"ENDING_WONDERED_IF_I_WOULD_SEE_THEM"})]}))}},{duration:3,onStart:()=>{o.addMessage((0,a.jsxs)("span",{style:{color:"red"},children:["[alonegurl15]"," ",(0,a.jsx)(E.l10n.Text,{name:"ENDING_I_EVEN_FORGOT_WHAT_I_USED_TO_LOOK_LIKE"})]}))}},{duration:3,onStart:()=>{o.addMessage((0,a.jsxs)("span",{style:{color:"red"},children:["[alonegurl15] ",(0,a.jsx)(E.l10n.Text,{name:"ENDING_HAVENT_SEEN_ANOTHER_PERSON"})]}))}},{duration:2,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_SYSTEM_ACTION_ERROR"}))}},{duration:.1,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_SYSTEM_ACTION_ERROR"}))}},{duration:.1,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_SYSTEM_ACTION_ERROR"}))}},{duration:.1,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_SYSTEM_ACTION_ERROR"}))}},{duration:.3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_OFFLINE"})),o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_ONLINE"}))}},{duration:.1,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_OFFLINE"})),o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_UPLOADING_WEBCAM"})),o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_ONLINE"}))}},{duration:.1,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_OFFLINE"})),o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_ONLINE"}))}},{duration:.1,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_OFFLINE"})),o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_ONLINE"}))}},{duration:4,onStart:()=>{o.addMessage((0,a.jsxs)("span",{style:{color:"red"},children:["[alonegurl15]"," ",(0,a.jsx)(E.l10n.Text,{name:"ENDING_A_LONG_TIME_AGO_I_WAS_APPROACHED_BY_A_MAN"})]}))}},{duration:4,onStart:()=>{o.addMessage((0,a.jsxs)("span",{style:{color:"red"},children:["[alonegurl15] ",(0,a.jsx)(E.l10n.Text,{name:"ENDING_HE_PROMISED_ME_FOREVER"})]}))}},{duration:1,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_OFFLINE"}))}},{duration:.2,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_ONLINE"}))}},{duration:.1,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_THANK_U_FOR_UPLOADING_THOSE_PICTURES"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_WONDERED_IF_I_WOULD_SEE_THEM"}),60,90)}},{duration:.1,onStart:()=>{i.openPopup("me_and_my_bestie",(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("img",{src:n(54383),width:200*M})}),20,200)}},{duration:4,onStart:()=>{i.openPopup("lawson",(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("img",{src:n(24544),width:200*M})}),260,220)}},{duration:3,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_HAVENT_SEEN_ANOTHER_PERSON"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_I_EVEN_FORGOT_WHAT_I_USED_TO_LOOK_LIKE"}),110,170)}},{duration:3,onStart:()=>{i.openPopup("me",(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(w,{})}),"landscape"===C?0:-30*M,"landscape"===C?0:70*M)}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_I_GOT_INTO_A_FIGHT_WITH_MY_MOTHER"}),160,250)}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_SO_I_DECIDED_TO_UPLOAD_MYSELF_ONTO_THE_INTERNET"}),210,330)}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_I_UPLOADED_MYSELF_ONTO_THIS_GAME"}),260,410)}},{duration:.1,onStart:()=>{i.closeAllPopups()}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_AT_FIRST_IT_WAS_GREAT"}),10,90),t("world")}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_WE_CREATED_SO_MANY_BEAUTIFUL_THINGS_HERE"}),60,170)}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_THE_WORLD_USED_TO_BE_CROWDED"}),110,250)}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_BUT_NOW"}),160,330)}},...["TotallykoolKyle","__waywardson89","iceFyre","0xDEADBEEF","DeepSleep3","xXaznEmoBoiXx","redCandle1960","norikoEats","EmilyIsHere","EmotionalChia","cowzGoMooIdo2","hypnospace_cowboy"].map(((e,t)=>({duration:.05,onEnd:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_POPUP_PROFILE_TITLE",format:[e]}),(0,a.jsx)(N,{name:e,days:Math.floor(2920*Math.random()+365)}),280*Math.floor(t/4)-30,t%4*190,[(0,a.jsx)(E.l10n.Text,{name:"ENDING_POPUP_MESSAGE_BUTTON"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_POPUP_BLOCK_BUTTON"})])}}))),{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_THE_WORLD_OUT_THERE_CHANGES"}),10,90)}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_PEOPLE_LEAVE_GROW_OLD"}),60,170)}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_OTHER_WORLD_STAYS_THE_SAME"}),110,250)}},{duration:1,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_SERVER_BROWSER_TITLE"}),(0,a.jsx)(I,{}),100,70,[(0,a.jsx)(E.l10n.Text,{name:"ENDING_SERVER_BROWSER_REFRESH_BUTTON"}),(0,a.jsx)(E.l10n.Text,{name:"ENDING_SERVER_BROWSER_CLOSE_BUTTON"})])}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_WITHOUT_THE_PLAYERS_WORLDS_ARE_GONE"}),10,490)}},{duration:6,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_EVERYONE_RITUAL_DELETED_THEMSELVES"}),20,230)}},{duration:6,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_HOW_IS_A_SOUL_STORED_IN_A_FILESYSTEM"}),40,310)}},{duration:6,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_I_HEAR_THEM"}),60,390)}},{duration:.1,onStart:()=>{i.closeAllPopups()}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_THIS_PLACE_IS_ALL_I_HAVE_LEFT"}),30,235)}},{duration:3,onStart:()=>{i.openPopup("[alonegurl15]",(0,a.jsx)(E.l10n.Text,{name:"ENDING_ALL_THINGS_DETERIORATE_EVEN_THIS"}),30,315,[(0,a.jsx)(E.l10n.Text,{name:"ENDING_HOW_COULD_WE_HAVE_KNOWN"})])}},{duration:1,onStart:()=>{t(""),o.showOneMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_MISS_EMILY"})),i.closeAllPopups()}},{duration:3,onStart:()=>{i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_FACEGRAM_TITLE",format:["@burningember"]}),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"facegram",children:[(0,a.jsx)("div",{style:{display:"inline-block",width:64*M,height:64*M,background:"black",backgroundImage:`url(${(0,O.default)(n(60962))})`,backgroundSize:"cover",backgroundPosition:"center",borderRadius:32*M,marginRight:10*M}}),(0,a.jsxs)("table",{style:{display:"inline-block"},children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:"175"}),(0,a.jsx)("td",{children:"865"}),(0,a.jsx)("td",{children:"91"})]}),(0,a.jsxs)("tr",{className:"strong",children:[(0,a.jsx)("td",{children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_FACEGRAM_POSTS_COUNT"})}),(0,a.jsx)("td",{children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_FACEGRAM_FOLLOWERS_COUNT"})}),(0,a.jsx)("td",{children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_FACEGRAM_FOLLOWING_COUNT"})})]})]}),(0,a.jsx)("h1",{children:"Emily Nguyen"}),(0,a.jsxs)("p",{children:["💍: ",(0,a.jsx)("span",{style:{color:"rgb(0, 0, 150)"},children:"@sonoflaw92"})]}),(0,a.jsxs)("div",{style:{borderTop:2*M+"px solid #ccc",paddingTop:5*M},children:[(0,a.jsx)("img",{width:64*M,src:n(55081),style:{verticalAlign:"middle"}}),(0,a.jsx)("span",{style:{display:"inline-block",width:300*M,verticalAlign:"middle",paddingLeft:10*M},children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_THIS_ACCOUNT_IS_PRIVATE"})})]})]})}),10,0)}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_MISS_GOING_ON_THE_COMPUTER_WITH_HER"})),i.openPopup("IMG0725.mov",(0,a.jsx)(R,{video:n(29162)}),"landscape"===C?460:400,0)}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_SLEEPING_OVER_WATCHING_TV_SHOWS"}))}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_WONDER_WHO_SHE_GREW_UP_TO_BECOME"}))}},{duration:3,onStart:()=>{o.showOneMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_MISS_LAWSON"})),i.openPopup((0,a.jsx)(E.l10n.Text,{name:"ENDING_FACEGRAM_TITLE",format:["@sonoflaw92"]}),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"facegram",children:[(0,a.jsx)("div",{style:{display:"inline-block",width:64*M,height:64*M,background:"black",backgroundImage:`url(${(0,O.default)(n(60962))})`,backgroundSize:"cover",backgroundPosition:"center",borderRadius:32*M,marginRight:10*M}}),(0,a.jsxs)("table",{style:{display:"inline-block"},children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:"34"}),(0,a.jsx)("td",{children:"263"}),(0,a.jsx)("td",{children:"310"})]}),(0,a.jsxs)("tr",{className:"strong",children:[(0,a.jsx)("td",{children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_FACEGRAM_POSTS_COUNT"})}),(0,a.jsx)("td",{children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_FACEGRAM_FOLLOWERS_COUNT"})}),(0,a.jsx)("td",{children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_FACEGRAM_FOLLOWING_COUNT"})})]})]}),(0,a.jsx)("h1",{children:"Lawson Fernandez"}),(0,a.jsx)("p",{children:"john 3:16"}),(0,a.jsxs)("div",{style:{borderTop:2*M+"px solid #ccc",paddingTop:5},children:[(0,a.jsx)("img",{width:64*M,src:n(55081),style:{verticalAlign:"middle"}}),(0,a.jsx)("span",{style:{display:"inline-block",width:300*M,verticalAlign:"middle",paddingLeft:10*M},children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_THIS_ACCOUNT_IS_PRIVATE"})})]})]})}),15,20)}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_MISS_TALKING_TO_HIM"}))}},{duration:3,onStart:()=>{i.openPopup("IMG0125.mov",(0,a.jsx)(R,{video:n(29478)}),"landscape"===C?490:410,"landscape"===C?5:150)}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_MISS_HOW_COMFORTING_HE_WAS"}))}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_DONT_WANT_HIM_TO_SEE_ME_LIKE_THIS"}))}},{duration:3,onStart:()=>{o.showOneMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_MISS_MY_MOM"}))}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_MISS_OUR_STUPID_FIGHTS"}))}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_ITS_ALL_SO_MEANINGLESS_NOW"}))}},{duration:3,onStart:()=>{o.showOneMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_USED_TO_BE_AFRAID_OF_BAD_GRADES"})),i.openPopup("IMG0344.mov",(0,a.jsx)(R,{video:n(32625)}),"landscape"===C?60:30,"landscape"===C?40:250)}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_USED_TO_BE_AFRAID_OF_NOT_LOOKING_PRETTY"})),i.openPopup("IMG0455.mov",(0,a.jsx)(R,{video:n(92403)}),"landscape"===C?360:330,"landscape"===C?20:260)}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_USED_TO_BE_AFRAID_OF_DISAPPOINTING_PEOPLE"}))}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_I_USED_TO_BE_AFRAID_OF_DEATH"}))}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_BUT_NOW_2"}))}},{duration:5,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_IM_AFRAID_OF_FOREVER"})),i.closeAllPopups(),t("blood")}},{duration:3,onStart:()=>{o.showOneMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_BUT_YOURE_HERE_NOW_ARENT_YOU"})),t("girl")},frameCallback:(e,t)=>{D(t)}},{duration:3,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_PERFORMED_THE_RITUAL"}))}},{duration:2,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_ONLY_A_FEW_MINUTES_UNTIL_YOU_JOIN_ME"}))}},{duration:2,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_AND_THEN_I_WONT_BE_ALONE"}))}},{duration:2,onStart:()=>{o.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_FOREVER"})),i.setAnimation("none")}},{duration:.4,onStart:()=>{x(["otherworld","resources"])}},{duration:.2,onStart:()=>{x(["disable-mouse","resources"])}},{duration:.1,onStart:()=>{x(["otherworld"])}},{duration:.1,onStart:()=>{x(["disable-mouse","resources"])}},{duration:.05,onStart:()=>{x(["otherworld"])}},{duration:.1,onStart:()=>{x(["disable-mouse","resources"])}},{duration:.1,onStart:()=>{x(["disable-mouse","aznL4ws0n_controlled","resources"])}},{duration:.1,onStart:()=>{i.setLawsonStage(1)}},{duration:4,onStart:()=>{i.setLawsonStage(2),(0,j.playSFX)("imreceive_echo")}},{duration:5,onStart:()=>{i.setLawsonStage(3),i.openPopup("Other World",(0,a.jsx)(E.l10n.Text,{name:"ENDING_ERROR_MEMORYBOUNDS_EXCEEDED"}),0,0,["OK"]),(0,j.playSFX)("imreceive_echo")}},{duration:5,onStart:()=>{i.setLawsonStage(4),(0,j.playSFX)("imreceive_echo")}},{duration:5,onStart:()=>{i.setLawsonStage(5),i.openPopup("Other World",(0,a.jsx)(E.l10n.Text,{name:"ENDING_ERROR_SEGMENTATION_FAULT"}),10,10,["OK"]),(0,j.playSFX)("imreceive_echo")}},{duration:5,onStart:()=>{i.setLawsonStage(6),(0,j.playSFX)("imreceive_echo")}},{duration:5,onStart:()=>{i.setLawsonStage(7),(0,j.playSFX)("imreceive_echo")}},{duration:5,onStart:()=>{i.setLawsonStage(8),(0,j.playSFX)("imreceive_echo"),L()}},{duration:3,onStart:()=>{i.setLawsonStage(9),(0,j.playSFX)("imreceive_echo")}},{duration:3,onStart:()=>{i.setLawsonStage(10);try{l.publishEvent("game_finished")}catch(e){}}}]);return(0,u.useEffect)((()=>{F()}),[]),(0,a.jsxs)(a.Fragment,{children:["world"===e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.SpinningFountain,{position:[0,0,-2]}),(0,a.jsx)(b.default,{})]}),"blood"===e&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(p.default,{})}),"girl"===e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.default,{}),(0,a.jsx)(c.Ghost,{position:[0,-1.8,-3],opacity:A})]})]})},t.DemoEndingScreen=function(){const{scene:e}=(0,S.useThree)();e.background=new f.Color(0,0,0);const t=(0,u.useContext)(_.NavigationContext);(0,u.useEffect)((()=>{t.setNavigation({})}),[t]),(0,u.useEffect)((()=>{}),[]);const n=(0,u.useContext)(h.ChatContext),s=(0,u.useContext)(m.EndingPopupContext),{setVisibleWindows:r,makeWindowVisible:o}=(0,u.useContext)(y.WindowManagerContext),[i]=(0,v.default)([{duration:1,onStart:()=>{(0,d.playBGM)("ending"),s.closeAllPopups(),n.showOneMessage("sv_cheats 1")}},{duration:1,onStart:()=>{n.addMessage("god")}},{duration:.5,onStart:()=>{n.addMessage("noclip")}},{duration:.5,onStart:()=>{n.addMessage("impulse 101")}},...["ROSEBUD","↑, ↓, ←, →, ←, →, b, a, start","482-555-0100","RT, RT, LB, RT, ↑, ↓, ↑, ↓, ↑, ↓","sv_latency 0","sv_reticulating_spines 1","sv_infinite 1","sv_nodeath 1","sv_forever 1","sv_full_access 1"].map((e=>({duration:.05,onEnd:()=>{n.addMessage(e)}}))),{duration:2},{duration:2,onStart:()=>{n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_SYSTEM_ACTION_ERROR"}))}},{duration:.1,onStart:()=>{n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_SYSTEM_ACTION_ERROR"}))}},{duration:.1,onStart:()=>{n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_SYSTEM_ACTION_ERROR"}))}},{duration:.1,onStart:()=>{n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_SYSTEM_ACTION_ERROR"}))}},{duration:.3,onStart:()=>{n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_OFFLINE"})),n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_ONLINE"}))}},{duration:.1,onStart:()=>{n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_OFFLINE"})),n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_ONLINE"}))}},{duration:.1,onStart:()=>{n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_OFFLINE"})),n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_ONLINE"}))}},{duration:.1,onStart:()=>{n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_OFFLINE"})),n.addMessage((0,a.jsx)(E.l10n.Text,{name:"ENDING_YOU_ARE_ONLINE"}))}},...["TotallykoolKyle","__waywardson89","iceFyre","0xDEADBEEF","DeepSleep3","xXaznEmoBoiXx","redCandle1960","norikoEats","EmilyIsHere","EmotionalChia","cowzGoMooIdo2","hypnospace_cowboy"].map(((e,t)=>({duration:Math.max(1.5-t/9,.1),onEnd:()=>{s.openPopup(`Profile - ${e}`,(0,a.jsx)(N,{name:e,days:Math.floor(2920*Math.random()+365)}),280*Math.floor(t/4)-30,t%4*190,["Message","Block"])}}))),...["TotallykoolKyle","__waywardson89","iceFyre","0xDEADBEEF","DeepSleep3","xXaznEmoBoiXx","redCandle1960","norikoEats","EmilyIsHere","EmotionalChia","cowzGoMooIdo2","hypnospace_cowboy","TotallykoolKyle","__waywardson89","iceFyre","0xDEADBEEF","DeepSleep3","xXaznEmoBoiXx","redCandle1960","norikoEats","EmilyIsHere","EmotionalChia","cowzGoMooIdo2","hypnospace_cowboy","TotallykoolKyle","__waywardson89","iceFyre","0xDEADBEEF","DeepSleep3","xXaznEmoBoiXx","redCandle1960","norikoEats","EmilyIsHere","EmotionalChia","cowzGoMooIdo2","hypnospace_cowboy","TotallykoolKyle","__waywardson89","iceFyre","0xDEADBEEF","DeepSleep3","xXaznEmoBoiXx","redCandle1960","norikoEats","EmilyIsHere","EmotionalChia","cowzGoMooIdo2","hypnospace_cowboy"].map(((e,t)=>({duration:Math.max(.5-t/6*.5,.05),onEnd:()=>{s.openPopup(`Profile - ${e}`,(0,a.jsx)(N,{name:e,days:Math.floor(2920*Math.random()+365)}),400*Math.random()-100,800*Math.random()-100,["Message","Block"])}})))]);return(0,u.useEffect)((()=>{i()}),[]),(0,a.jsx)(a.Fragment,{})};const a=n(74848),l=o(n(23571)),c=n(73965),d=n(17322),u=n(96540),p=i(n(57845)),h=n(26661),f=n(27186),x=n(78815),m=n(98722),g=n(49616),_=n(80129),b=i(n(98845)),y=n(96886),E=n(81218),j=n(44190),T=n(91722),S=n(73560),v=i(n(20584)),O=i(n(99240));function N({name:e,days:t}){const s=(0,u.useContext)(g.LayoutContext).size,[r,o]=(0,u.useState)(0);return(0,u.useEffect)((()=>{let e;const t=(0,T.setTimeoutPausible)((()=>{o(1),e=(0,T.setTimeoutPausible)((()=>{o(2)}),x.DEMO_ENDING?10:1e3)}),x.DEMO_ENDING?10:1e3);return()=>{clearTimeout(t),e&&clearTimeout(e)}}),[]),(0,a.jsxs)("div",{style:{textAlign:"left",width:290*s},children:[(0,a.jsx)("div",{style:{backgroundColor:"black",backgroundImage:`url(${(0,O.default)(n(60962))})`,backgroundSize:"cover",backgroundPosition:"center",width:64*s,height:64*s,margin:"0 10px 0px 0px",display:"inline-block"}}),(0,a.jsxs)("div",{style:{display:"inline-block",verticalAlign:"top",width:200*s},children:[(0,a.jsx)("strong",{children:e}),(0,a.jsx)("br",{}),0===r?(0,a.jsx)(E.l10n.Text,{name:"ENDING_POPUP_LOADING"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{style:{verticalAlign:"middle",display:"inline-block",borderRadius:"50%",width:10*s,height:10*s,fontFamily:"Arial, sans-serif",fontSize:40*s,background:"#f00"}})," ",(0,a.jsx)(E.l10n.Text,{name:"ENDING_POPUP_OFFLINE"}),(0,a.jsx)("br",{}),2===r&&(0,a.jsx)(E.l10n.Text,{name:"ENDING_POPUP_LAST_SEEN",format:[t]})]})]})]})}function I(){const e=[200,30,50,20],[t,n]=(0,u.useState)([200,0,0,0]);(0,u.useEffect)((()=>{const t=()=>{n((t=>{t=t.slice(0);const n=Math.floor(Math.random()*t.length);return t[n]=Math.floor(10+Math.random()*e[n]),t}))},s=setInterval(t,600),r=setInterval(t,330),o=setInterval(t,1020);return()=>{clearInterval(s),clearInterval(r),clearInterval(o)}}),[]);const s=(0,u.useContext)(g.LayoutContext).size;return(0,a.jsx)("div",{children:(0,a.jsx)("div",{style:{border:2*s+"px solid black",width:500*s,height:300*s,background:"white",textAlign:"left"},children:(0,a.jsxs)("table",{className:"server-browser",children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{width:300*s,children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_SERVER_BROWSER_SERVER_NAME"})}),(0,a.jsx)("th",{children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_SERVER_BROWSER_PLAYERS_IN_SERVER"})}),(0,a.jsx)("th",{children:(0,a.jsx)(E.l10n.Text,{name:"ENDING_SERVER_BROWSER_SERVER_PING"})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:"House of Baphomet"}),(0,a.jsx)("td",{children:"(1/30)"}),(0,a.jsx)("td",{children:t[0]})]}),(0,a.jsxs)("tr",{style:{color:"#aaa"},children:[(0,a.jsx)("td",{children:"Home World"}),(0,a.jsx)("td",{children:"(0/200)"}),(0,a.jsx)("td",{children:t[1]})]}),(0,a.jsxs)("tr",{style:{color:"#aaa"},children:[(0,a.jsx)("td",{children:"Nexus"}),(0,a.jsx)("td",{children:"(0/100)"}),(0,a.jsx)("td",{children:t[2]})]}),(0,a.jsxs)("tr",{style:{color:"#aaa"},children:[(0,a.jsx)("td",{children:"Disco"}),(0,a.jsx)("td",{children:"(0/45)"}),(0,a.jsx)("td",{children:t[3]})]})]})})})}function w(){const{size:e,orientation:t}=(0,u.useContext)(g.LayoutContext),s=(0,u.useRef)(0),r=(0,u.useRef)();return(0,u.useEffect)((()=>{const e=setInterval((()=>{s.current+=1,s.current>10&&(s.current>20?r.current.style.display="block":r.current.style.display=Math.random()>.5?"block":"none")}),100);return()=>clearInterval(e)}),[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{style:{position:"relative",width:600*e,height:480*e,overflow:"hidden"},children:[(0,a.jsx)("img",{style:{position:"absolute",top:0,left:0},src:n(21825),width:600*e}),(0,a.jsx)("img",{ref:r,style:{position:"absolute",top:0,left:0,display:"none"},src:n(22796),width:610*e})]})})}function R({video:e}){const{size:t,orientation:n}=(0,u.useContext)(g.LayoutContext);return(0,a.jsx)("img",{src:e,width:"landscape"===n?256*t:150*t})}},75812:(e,t,n)=>{e.exports=n.p+"assets/door_knocker_2.a4eb782a1f0962554a21.gif"},75828:(e,t,n)=>{n.d(t,{A:()=>s});const s='Copyright (c) 2021, TakWolf (https://takwolf.com),\r\nwith Reserved Font Name \'Ark Pixel\'.\r\n\r\nThis Font Software is licensed under the SIL Open Font License, Version 1.1.\r\nThis license is copied below, and is also available with a FAQ at:\r\nhttps://openfontlicense.org\r\n\r\n\r\n-----------------------------------------------------------\r\nSIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\r\n-----------------------------------------------------------\r\n\r\nPREAMBLE\r\nThe goals of the Open Font License (OFL) are to stimulate worldwide\r\ndevelopment of collaborative font projects, to support the font creation\r\nefforts of academic and linguistic communities, and to provide a free and\r\nopen framework in which fonts may be shared and improved in partnership\r\nwith others.\r\n\r\nThe OFL allows the licensed fonts to be used, studied, modified and\r\nredistributed freely as long as they are not sold by themselves. The\r\nfonts, including any derivative works, can be bundled, embedded,\r\nredistributed and/or sold with any software provided that any reserved\r\nnames are not used by derivative works. The fonts and derivatives,\r\nhowever, cannot be released under any other type of license. The\r\nrequirement for fonts to remain under this license does not apply\r\nto any document created using the fonts or their derivatives.\r\n\r\nDEFINITIONS\r\n"Font Software" refers to the set of files released by the Copyright\r\nHolder(s) under this license and clearly marked as such. This may\r\ninclude source files, build scripts and documentation.\r\n\r\n"Reserved Font Name" refers to any names specified as such after the\r\ncopyright statement(s).\r\n\r\n"Original Version" refers to the collection of Font Software components as\r\ndistributed by the Copyright Holder(s).\r\n\r\n"Modified Version" refers to any derivative made by adding to, deleting,\r\nor substituting -- in part or in whole -- any of the components of the\r\nOriginal Version, by changing formats or by porting the Font Software to a\r\nnew environment.\r\n\r\n"Author" refers to any designer, engineer, programmer, technical\r\nwriter or other person who contributed to the Font Software.\r\n\r\nPERMISSION & CONDITIONS\r\nPermission is hereby granted, free of charge, to any person obtaining\r\na copy of the Font Software, to use, study, copy, merge, embed, modify,\r\nredistribute, and sell modified and unmodified copies of the Font\r\nSoftware, subject to the following conditions:\r\n\r\n1) Neither the Font Software nor any of its individual components,\r\nin Original or Modified Versions, may be sold by itself.\r\n\r\n2) Original or Modified Versions of the Font Software may be bundled,\r\nredistributed and/or sold with any software, provided that each copy\r\ncontains the above copyright notice and this license. These can be\r\nincluded either as stand-alone text files, human-readable headers or\r\nin the appropriate machine-readable metadata fields within text or\r\nbinary files as long as those fields can be easily viewed by the user.\r\n\r\n3) No Modified Version of the Font Software may use the Reserved Font\r\nName(s) unless explicit written permission is granted by the corresponding\r\nCopyright Holder. This restriction only applies to the primary font name as\r\npresented to the users.\r\n\r\n4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\r\nSoftware shall not be used to promote, endorse or advertise any\r\nModified Version, except to acknowledge the contribution(s) of the\r\nCopyright Holder(s) and the Author(s) or with their explicit written\r\npermission.\r\n\r\n5) The Font Software, modified or unmodified, in part or in whole,\r\nmust be distributed entirely under this license, and must not be\r\ndistributed under any other license. The requirement for fonts to\r\nremain under this license does not apply to any document created\r\nusing the Font Software.\r\n\r\nTERMINATION\r\nThis license becomes null and void if any of the above conditions are\r\nnot met.\r\n\r\nDISCLAIMER\r\nTHE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\r\nOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\r\nCOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\r\nINCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\r\nDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\r\nFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\r\nOTHER DEALINGS IN THE FONT SOFTWARE.\r\n'},76692:(e,t,n)=>{n.d(t,{A:()=>s});const s='[Cubic 11]\nThese fonts are free software.\nUnlimited permission is granted to use, copy, and distribute them, with or without modification, either commercially or noncommercially.\nTHESE FONTS ARE PROVIDED "AS IS" WITHOUT WARRANTY.\n此字型是免費的。\n無論您是否進行對本字型進行商業或非商業性修改,均可無限制地使用,複製和分發它們。\n本字型的衍生品之授權必須與此字型相同,且不作任何擔保。\n[JF Dot M+H 12]\nCopyright(c) 2005 M+ FONTS PROJECT\n[M+ BITMAP FONTS]\nCopyright (C) 2002-2004 COZ\nThese fonts are free software.\nUnlimited permission is granted to use, copy, and distribute it, with or without modification, either commercially and noncommercially.\nTHESE FONTS ARE PROVIDED "AS IS" WITHOUT WARRANTY.\nこれらのフォントはフリー(自由な)ソフトウエアです。\nあらゆる改変の有無に関わらず、また商業的な利用であっても、自由にご利用、複製、再配布することができますが、全て無保証とさせていただきます。\n\nThis Font Software is licensed under the SIL Open Font License, Version 1.1.\nThis license is copied below, and is also available with a FAQ at:\nhttps://scripts.sil.org/OFL\n\n\n-----------------------------------------------------------\nSIL OPEN FONT LICENSE Version 1.1 - 26 February 2007\n-----------------------------------------------------------\n\nPREAMBLE\nThe goals of the Open Font License (OFL) are to stimulate worldwide\ndevelopment of collaborative font projects, to support the font creation\nefforts of academic and linguistic communities, and to provide a free and\nopen framework in which fonts may be shared and improved in partnership\nwith others.\n\nThe OFL allows the licensed fonts to be used, studied, modified and\nredistributed freely as long as they are not sold by themselves. The\nfonts, including any derivative works, can be bundled, embedded, \nredistributed and/or sold with any software provided that any reserved\nnames are not used by derivative works. The fonts and derivatives,\nhowever, cannot be released under any other type of license. The\nrequirement for fonts to remain under this license does not apply\nto any document created using the fonts or their derivatives.\n\nDEFINITIONS\n"Font Software" refers to the set of files released by the Copyright\nHolder(s) under this license and clearly marked as such. This may\ninclude source files, build scripts and documentation.\n\n"Reserved Font Name" refers to any names specified as such after the\ncopyright statement(s).\n\n"Original Version" refers to the collection of Font Software components as\ndistributed by the Copyright Holder(s).\n\n"Modified Version" refers to any derivative made by adding to, deleting,\nor substituting -- in part or in whole -- any of the components of the\nOriginal Version, by changing formats or by porting the Font Software to a\nnew environment.\n\n"Author" refers to any designer, engineer, programmer, technical\nwriter or other person who contributed to the Font Software.\n\nPERMISSION & CONDITIONS\nPermission is hereby granted, free of charge, to any person obtaining\na copy of the Font Software, to use, study, copy, merge, embed, modify,\nredistribute, and sell modified and unmodified copies of the Font\nSoftware, subject to the following conditions:\n\n1) Neither the Font Software nor any of its individual components,\nin Original or Modified Versions, may be sold by itself.\n\n2) Original or Modified Versions of the Font Software may be bundled,\nredistributed and/or sold with any software, provided that each copy\ncontains the above copyright notice and this license. These can be\nincluded either as stand-alone text files, human-readable headers or\nin the appropriate machine-readable metadata fields within text or\nbinary files as long as those fields can be easily viewed by the user.\n\n3) No Modified Version of the Font Software may use the Reserved Font\nName(s) unless explicit written permission is granted by the corresponding\nCopyright Holder. This restriction only applies to the primary font name as\npresented to the users.\n\n4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font\nSoftware shall not be used to promote, endorse or advertise any\nModified Version, except to acknowledge the contribution(s) of the\nCopyright Holder(s) and the Author(s) or with their explicit written\npermission.\n\n5) The Font Software, modified or unmodified, in part or in whole,\nmust be distributed entirely under this license, and must not be\ndistributed under any other license. The requirement for fonts to\nremain under this license does not apply to any document created\nusing the Font Software.\n\nTERMINATION\nThis license becomes null and void if any of the above conditions are\nnot met.\n\nDISCLAIMER\nTHE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\nOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE\nCOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nINCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL\nDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM\nOTHER DEALINGS IN THE FONT SOFTWARE.\n'},77227:(e,t,n)=>{e.exports=n.p+"assets/id.c648ac5f9b773700ebe2.jsonc"},77825:(e,t,n)=>{e.exports=n.p+"assets/frame2.ca0f3a8b21518d509313.png"},77932:(e,t,n)=>{e.exports=n.p+"assets/pl.ad0459f81d48a34adb7a.jsonc"},78389:(e,t,n)=>{e.exports=n.p+"assets/clock_hand1.b99c9875a12dd66cc17e.png"},78437:(e,t,n)=>{e.exports=n.p+"assets/game_2_hands.a77ed87a719732f95d2e.mp3"},78453:(e,t,n)=>{e.exports=n.p+"assets/gear.100ad850915b524e939e.png"},78815:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SHOW_LANGUAGE_MENU=t.SHOW_HINTS=t.SHOW_HOUSE_AFTER_LOAD=t.DEMO_ENDING=t.SKIP_CANDLES=t.ALLOW_PASSWORD_SKIP=t.SKIP_FOUNTAIN=t.TWO_KNOCKS=t.AUTO_REGISTER=t.SKIP_STATUE_PUZZLE=t.SHOW_BAPHOMET=t.ANIMATE_OTHER_WORLD=t.VISIBLE_WINDOWS=t.OTHER_WORLD_LEVEL=t.LOGGED_IN_OTHER_WORLD=t.LOGGED_IN_MAIN_SCREEN=t.DEFAULT_LANGUAGE=void 0;const r=s(n(64564));r.default.IGNORE_SAVE=!1,t.DEFAULT_LANGUAGE="English",t.LOGGED_IN_MAIN_SCREEN=!1,t.LOGGED_IN_OTHER_WORLD=!1,t.OTHER_WORLD_LEVEL="intro",t.VISIBLE_WINDOWS=[],t.ANIMATE_OTHER_WORLD=!0,t.SHOW_BAPHOMET=!1,t.SKIP_STATUE_PUZZLE=!1,t.AUTO_REGISTER=!1,t.TWO_KNOCKS=!1,t.SKIP_FOUNTAIN=!1,t.ALLOW_PASSWORD_SKIP=!1,t.SKIP_CANDLES=!1,t.DEMO_ENDING=!1,t.SHOW_HOUSE_AFTER_LOAD=!1,t.SHOW_HINTS=!1,t.SHOW_LANGUAGE_MENU=!0,"undefined"!=typeof window&&"#chia"===window?.location.hash&&(r.default.IGNORE_SAVE=!0,t.SHOW_LANGUAGE_MENU=!1,t.LOGGED_IN_MAIN_SCREEN=!0,t.LOGGED_IN_OTHER_WORLD=!1,t.OTHER_WORLD_LEVEL="intro",t.VISIBLE_WINDOWS=["house-loading"],t.ANIMATE_OTHER_WORLD=!0,t.SKIP_STATUE_PUZZLE=!1,t.AUTO_REGISTER=!1,t.TWO_KNOCKS=!1,t.SKIP_FOUNTAIN=!1,t.ALLOW_PASSWORD_SKIP=!1,t.SKIP_CANDLES=!1,t.DEMO_ENDING=!1,t.SHOW_HOUSE_AFTER_LOAD=!0)},78942:(e,t,n)=>{e.exports=n.p+"assets/receive.539ffeffa285ee3c891b.mp3"},80011:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var s=n(85072),r=n.n(s),o=n(97825),i=n.n(o),a=n(77659),l=n.n(a),c=n(55056),d=n.n(c),u=n(10540),p=n.n(u),h=n(41113),f=n.n(h),x=n(23618),m={};m.styleTagTransform=f(),m.setAttributes=d(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=p();r()(x.A,m);const g=x.A&&x.A.locals?x.A.locals:void 0},80129:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationContext=void 0,t.GameNavigator=function({navigation:e,onNavigate:t,fade:i}){const{size:a,orientation:l}=(0,r.useContext)(o.LayoutContext);return(0,s.jsxs)(s.Fragment,{children:[e.forward?(0,s.jsx)("div",{className:"cursor-pointer",style:{position:"absolute",top:-5*a,left:"landscape"===l?380*a:280*a,color:"blue",fontWeight:"bold",textDecoration:"underline",userSelect:"none",opacity:.25},onClick:e=>{i||t("forward")},children:(0,s.jsx)("img",{src:n(29085),width:40*a,onDragStart:e=>e.preventDefault(),style:{transform:"rotate(90deg)"}})}):null,e.backward?(0,s.jsx)("div",{className:"cursor-pointer",style:{position:"absolute",bottom:210*a,left:"landscape"===l?380*a:280*a,color:"blue",fontWeight:"bold",textDecoration:"underline",userSelect:"none",opacity:.25},onClick:e=>{i||t("backward")},children:(0,s.jsx)("img",{src:n(29085),width:40*a,onDragStart:e=>e.preventDefault(),style:{transform:"rotate(-90deg)"}})}):null,e.left?(0,s.jsx)("div",{className:"cursor-pointer",style:{position:"absolute",top:"landscape"===l?130*a:230*a,left:10*a,color:"blue",fontWeight:"bold",textDecoration:"underline",userSelect:"none",opacity:.25},onClick:e=>{i||t("left")},children:(0,s.jsx)("img",{src:n(29085),width:40*a,onDragStart:e=>e.preventDefault()})}):null,e.right?(0,s.jsx)("div",{className:"cursor-pointer",style:{position:"absolute",top:"landscape"===l?130*a:230*a,right:10*a,color:"blue",fontWeight:"bold",textDecoration:"underline",userSelect:"none",opacity:.25},onClick:e=>{i||t("right")},children:(0,s.jsx)("img",{src:n(29085),width:40*a,onDragStart:e=>e.preventDefault(),style:{transform:"translate3d(0,0,0) rotate(180deg)"}})}):null,(0,s.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"black",pointerEvents:"none",opacity:i?1:0,transition:"opacity 0.5s"}})]})};const s=n(74848),r=n(96540),o=n(49616);t.NavigationContext=(0,r.createContext)({})},80987:(e,t,n)=>{e.exports=n.p+"assets/symbol2.9001fa94441e0b6519e7.png"},81533:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const{size:e,orientation:t}=(0,h.useContext)(l.LayoutContext),{language:s}=(0,h.useContext)(u.l10n.Context);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c.default,{name:"credits",style:{zIndex:4004,whiteSpace:"nowrap"},initialPosition:{x:"landscape"===t?110:10,y:50},title:"file://Users/liz92/.../credits.html - Slozilla NetSurfer",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block"},children:"<"}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block"},children:">"}),(0,a.jsx)("div",{style:{display:"inline-block",padding:10*e,textAlign:"center",background:"white",border:2*e+"px solid black"},children:"file://Users/liz92/My%20Documents/credits.html"}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block"},children:"Go"})]}),(0,a.jsxs)("div",{style:{width:541*e,margin:5*e,padding:10*e,backgroundImage:`url(${(0,m.default)(n(31956))})`,border:2*e+"px solid black",height:"landscape"===t?350*e:500*e,fontFamily:"PixelComicSans",fontSize:20*e,overflowX:"hidden",overflowY:"scroll",whiteSpace:"normal"},onScroll:e=>{if(e.target.scrollTop+e.target.clientHeight>e.target.scrollHeight-50){if(_)return;_=!0,(0,d.achieve)(g.AchievementString.THANK_YOU)}},children:[(0,a.jsx)("img",{width:140*e,src:n(3939)}),(0,a.jsxs)("h1",{children:["Thank you so much for playing!"," ",(0,a.jsx)("img",{width:20*e,src:n(39484)})]}),(0,a.jsx)("p",{children:"It has always been a dream of mine to create a puzzle horror game and I am so thankful that you decided to play all the way through to the end!"}),(0,a.jsx)("p",{children:"Please stick around and scroll down for credits!"}),!0===s.SHOW_TRANSLATION_CREDITS&&(0,a.jsxs)("div",{style:{fontFamily:s.FONT_FAMILY.toString()},children:[(0,a.jsx)("h3",{style:{fontSize:20*e},children:s.CREDITS_TITLE}),s.CREDITS.map(((t,n)=>(0,a.jsx)("ul",{children:(0,a.jsxs)("li",{style:{fontSize:15*e},children:[t.name," ",t.website&&(0,a.jsxs)(a.Fragment,{children:["-"," ",(0,a.jsx)(b,{website:t.website,websiteTitle:t.website})]})]})},n)))]}),!0===s.SHOW_TRANSLATION_CREDITS&&(0,a.jsx)("p",{children:"Careful following the translation links, since I can't control them!"}),(0,a.jsx)("h2",{children:"Music Credits"}),(0,a.jsx)("div",{style:{position:"relative"},children:(0,a.jsx)("img",{src:n(41428),style:{position:"absolute",width:180*e,left:360*e,top:-70*e}})}),(0,a.jsxs)("ul",{style:{position:"relative",width:300*e},children:[(0,a.jsxs)("li",{children:["Other World Soundtrack by entropicsonics -"," ",(0,a.jsx)(b,{instagram:"entropicsonics",soundcloud:"entropic-sonics"})]}),(0,a.jsxs)("li",{children:['"Leave This World" vocals by Gail -'," ",(0,a.jsx)(b,{instagram:"studioghobbli"})]}),(0,a.jsxs)("li",{children:['"Hindsight" vocals by Gail - ',(0,a.jsx)(b,{instagram:"studioghobbli"})]}),(0,a.jsxs)("li",{children:['"Roma Pizza" by toomi -'," ",(0,a.jsx)(b,{linktree:"toomi2",instagram:"toomiiiii__"})]}),(0,a.jsxs)("li",{children:['"11 demo song" by Joe Baker - ',(0,a.jsx)(b,{instagram:"joesshoestore"})]}),(0,a.jsxs)("li",{children:['"Retribution (End Credits)" by Sunny Grey -'," ",(0,a.jsx)(b,{instagram:"sunnygrey0"})]})]}),(0,a.jsx)("h2",{children:"Misc Credits"}),(0,a.jsx)("div",{style:{position:"relative"},children:(0,a.jsx)("img",{src:n(42465),style:{position:"absolute",width:180*e,left:330*e,top:-70*e}})}),(0,a.jsxs)("ul",{style:{position:"relative",width:300*e},children:[(0,a.jsxs)("li",{children:["liz face model portrayed by Jenna Velasco -"," ",(0,a.jsx)(b,{instagram:"iennq"})]}),(0,a.jsxs)("li",{children:["cover art by Isabel Yi - ",(0,a.jsx)(b,{instagram:"ilyues"})]}),(0,a.jsx)("div",{style:{position:"relative"},children:(0,a.jsx)("img",{src:n(55909),style:{position:"absolute",width:120*e,left:330*e,top:5*e}})}),(0,a.jsxs)("li",{children:["melting clock by Melissa Vorndren -"," ",(0,a.jsx)(b,{website:"https://www.instagram.com/p/CrCTjr0MlFX/",instagram:"madebymelis"})]}),(0,a.jsxs)("li",{children:["Comic Sans Pixel -"," ",(0,a.jsx)(E,{window:"credits-license-1",children:"license"})]}),(0,a.jsxs)("li",{children:["Pixeloid Sans -"," ",(0,a.jsx)(E,{window:"credits-license-2",children:"license"})]}),(0,a.jsxs)("li",{children:["Fusion Pixel -"," ",(0,a.jsx)(E,{window:"credits-license-3",children:"license"})]}),(0,a.jsxs)("li",{children:["Pixel Arial 11 -"," ",(0,a.jsx)(E,{window:"credits-license-4",children:"readme"})]})]}),(0,a.jsx)("h2",{children:"Special Thanks!"}),(0,a.jsx)("div",{style:{position:"relative"},children:(0,a.jsx)("img",{src:n(18747),style:{position:"absolute",width:180*e,left:250*e,top:-70*e}})}),(0,a.jsxs)("ul",{children:[(0,a.jsxs)("li",{children:["Early Playtesters",(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:"Mark Muendelein"}),(0,a.jsxs)("li",{children:["Ash - ",(0,a.jsx)(b,{website:"https://imempowa.com/"})]}),(0,a.jsx)("li",{children:"Emerson Ye"}),(0,a.jsx)("li",{children:"Jenna Velasco"}),(0,a.jsx)("li",{children:"Chaya Wurman"}),(0,a.jsx)("li",{children:"entropicsonics"}),(0,a.jsx)("li",{children:"Juan Salcedo"}),(0,a.jsx)("li",{children:"Will Braganza"})]})]}),(0,a.jsx)("div",{style:{position:"relative"},children:(0,a.jsx)("img",{src:n(45607),style:{position:"absolute",width:150*e,left:350*e,top:90*e}})}),(0,a.jsxs)("li",{children:["Inspiration",(0,a.jsxs)("ul",{children:[(0,a.jsxs)("li",{children:["Chia Amisola - ",(0,a.jsx)(b,{website:"https://chia.design/"}),(0,a.jsx)("ul",{children:(0,a.jsxs)("li",{children:["Chia's"," ",(0,a.jsx)(f.default,{href:"https://www.instagram.com/p/CwBF3QTolje/",target:"_blank",children:"Internet Ambience"})," ","performance heavily inspired many parts of this game."]})})]}),(0,a.jsx)("li",{children:"Searching (2018 Film)"}),(0,a.jsx)("li",{children:"Noriko's Dinner Table (2005 Film)"}),(0,a.jsx)("li",{children:"Deep Sleep Trilogy (2012/2013/2014 Game)"}),(0,a.jsx)("li",{children:"Hypnospace Outlaw (2019 Game)"}),(0,a.jsx)("li",{children:"Emily is Away (2015 Game)"}),(0,a.jsx)("li",{children:"Lost Memories Dot Net (2017 Game)"}),(0,a.jsx)("li",{children:"No Players Online (2019 Game)"}),(0,a.jsx)("li",{children:"Windows XP"})]})]})]}),(0,a.jsx)("div",{style:{textAlign:"center"},children:(0,a.jsx)("img",{src:n(71346),style:{width:340*e}})}),(0,a.jsx)("div",{style:{position:"relative"},children:(0,a.jsx)("img",{src:n(47279),style:{position:"absolute",width:180*e,left:320*e,top:-300*e}})}),(0,a.jsx)("h1",{style:{fontFamily:"PixelArial11",textAlign:"center"},children:"last seen online"}),(0,a.jsx)("p",{style:{fontFamily:"PixelArial11",textAlign:"center"},children:(0,a.jsx)("div",{style:{display:"inline-block",width:300*e,fontSize:14*e},children:"artwork, story, code, and extra music by henry tran."})}),(0,a.jsx)("p",{style:{fontFamily:"PixelArial11",textAlign:"center",fontSize:14*e},children:(0,a.jsx)(b,{website:"https://qwook.io",twitter:"henryqtran",instagram:"nohurryhen",soundcloud:"kid64"})}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{style:{textAlign:"center"},children:[(0,a.jsx)("img",{src:n(40352),style:{width:300*e}}),(0,a.jsx)("img",{src:n(2905),style:{width:200*e}})]}),(0,a.jsx)("div",{style:{position:"relative"},children:(0,a.jsx)("img",{src:n(56266),style:{position:"absolute",width:180*e,left:150*e,top:-200*e}})}),x.STANDALONE_APP?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h1",{children:"Want to continue the story?"}),(0,a.jsxs)("p",{children:["Consider"," ",(0,a.jsx)(f.default,{href:"https://store.steampowered.com/app/2824230/last_seen_online/",children:"leaving a review."})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h1",{children:"Want to continue the story?"}),(0,a.jsxs)("p",{children:["Consider"," ",(0,a.jsx)(f.default,{href:"https://qwook.itch.io/last-seen-online/rate",children:"leaving a review"}),"(these are only visible to me :P) , sharing the game,"," ",(0,a.jsxs)(f.default,{href:"https://qwook.itch.io/last-seen-online",children:[" ","writing a comment"]}),", or"," ",(0,a.jsx)(f.default,{href:"https://qwook.itch.io/last-seen-online/donate",children:"donating"})," ","on the itch.io page!"]})]})]}),(0,a.jsx)("div",{className:"button-98",onClick:e=>{(0,p.resetSave)()},style:{fontFamily:s.FONT_FAMILY},children:(0,a.jsx)(u.l10n.Text,{name:"CLICK_TO_REPLAY"})})]}),(0,a.jsx)(y,{name:"credits-license-1",children:(0,a.jsx)("pre",{style:{fontFamily:"PixelArial11"},children:n(12795).A})}),(0,a.jsx)(y,{name:"credits-license-2",children:(0,a.jsxs)("pre",{style:{fontFamily:"PixelArial11"},children:[" ",n(38780).A]})}),(0,a.jsxs)(y,{name:"credits-license-3",children:[(0,a.jsxs)("pre",{style:{fontFamily:"PixelArial11"},children:[" ",n(50062).A]}),(0,a.jsxs)("pre",{style:{fontFamily:"PixelArial11"},children:[" ",n(75828).A]}),(0,a.jsxs)("pre",{style:{fontFamily:"PixelArial11"},children:[" ",n(76692).A]}),(0,a.jsxs)("pre",{style:{fontFamily:"PixelArial11"},children:[" ",n(266).A]})]}),(0,a.jsx)(y,{name:"credits-license-4",children:(0,a.jsx)("pre",{style:{fontFamily:"PixelArial11"},children:n(97344).A})})]})};const a=n(74848),l=n(49616),c=o(n(96886)),d=n(73719),u=n(81218),p=n(80985),h=n(96540),f=i(n(35133)),x=n(98899),m=i(n(99240)),g=n(37815);let _;function b({instagram:e,soundcloud:t,twitter:n,linktree:s,website:r,websiteTitle:o}){const i=[...r?[{text:o||"website",href:`${r}`}]:[],...s?[{text:"linktree",href:`https://linktr.ee/${s}`}]:[],...e?[{text:"instagram",href:`https://instagram.com/${e}`}]:[],...t?[{text:"soundcloud",href:`https://soundcloud.com/${t}`}]:[],...n?[{text:"twitter",href:`https://twitter.com/${n}`}]:[]];return(0,a.jsx)(a.Fragment,{children:i.map((({href:e,text:t},n)=>(0,a.jsxs)("span",{children:[(0,a.jsx)(f.default,{target:"_blank",rel:"noreferrer",style:{color:"blue"},href:`${e}`,children:t})," ",n"}),(0,a.jsx)("div",{style:{display:"inline-block",padding:10*n,textAlign:"center",background:"white",border:2*n+"px solid black"},children:"file://Program Files/.../LICENSE.html"}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block"},children:"Go"}),(0,a.jsx)("div",{style:{width:424*n,margin:5*n,padding:10*n,border:2*n+"px solid black",height:"landscape"===s?350*n:500*n,background:"white",fontFamily:"PixelComicSans",fontSize:11*n,overflowX:"scroll",overflowY:"scroll",whiteSpace:"normal"},children:t})]})}function E({children:e,window:t,...n}){const{makeWindowVisible:s}=(0,h.useContext)(c.WindowManagerContext);return(0,a.jsx)("a",{href:"#",rel:"noreferrer",onClick:e=>{s(t),e.preventDefault()},...n,children:e})}},81735:(e,t,n)=>{e.exports=n.p+"assets/folder.9605776671c9b7a6d97f.gif"},82024:(e,t,n)=>{e.exports=n.p+"assets/eo.8b806132758cf815bdfb.jsonc"},83275:(e,t,n)=>{e.exports=n.p+"assets/candle.c4966b0ef4dc62170eec.mp3"},83424:(e,t,n)=>{e.exports=n.p+"assets/symbol1.23372ff7a94ed7740080.png"},83899:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IntroText=function({moveToPosition:e}){const{language:t}=(0,j.useContext)(G.l10n.Context),n=(0,j.useContext)(m.LayoutContext).size,s=t.INTRO_TEXT_1.trim().split(""),r=t.INTRO_TEXT_2.trim().split(""),o=t.TITLE_TEXT.trim().split(""),i=[],l=[],c=[],[d,u]=(0,j.useState)(!1),[p,h]=(0,j.useState)(!1);(0,j.useEffect)((()=>{if(e){const e=[setTimeout((()=>{h(!0)}),500),setTimeout((()=>{u(!0)}),2e3),setTimeout((()=>{h(!1)}),2500)];return()=>{e.map((e=>clearTimeout(e)))}}}),[e]);for(let e of o){let t=!1;for(let n=0;n_.shuffle(_.range(0,s.length+r.length))),[s.length]);for(let e=0;e!l.includes(t)&&e?0:1,g=n=>l.includes(n)&&e?2*l.indexOf(n)*t.TITLE_SPACING+(50-o.length*t.TITLE_SPACING)+"%":nl.includes(t)&&e?-15*n:t{if(e&&d){const e=l.indexOf(t);if(-1!==e)return o[e]}return t{if(e){if(-1!==l.indexOf(t)&&-1!==c.indexOf(t)&&p)return`flicker 0.6s infinite ${Math.sin(321*t)/2+1}s`}return"none"};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{style:{position:"relative",display:"inline-block",width:600*n},children:[s.map(((t,n)=>(0,a.jsx)("span",{className:e?"intro-character":"",style:{position:"absolute",left:g(n),top:b(n),opacity:x(n),animation:E(n)},children:y(n)},n))),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),r.map(((t,n)=>(0,a.jsx)("span",{className:e?"intro-character":"",style:{position:"absolute",left:g(n+s.length),top:b(n+s.length),opacity:x(n+s.length),animation:E(n+s.length)},children:y(n+s.length)},n)))]})})},t.default=function(){const[e,t]=(0,b.useSaveState)("languageText",""),[s,r]=(0,b.useSaveState)("languageFile",d.DEFAULT_LANGUAGE);return(0,a.jsx)(l.CustomCursorProvider,{children:(0,a.jsx)(l.CustomCursor,{cursorMap:{default:{img:n(99923)},pointer:{img:n(24359),offsetX:11,offsetY:1},beam:{img:n(13224),offsetX:8,offsetY:18},move:{img:n(92730),offsetX:31,offsetY:31},busy:{img:n(57367),offsetX:13,offsetY:22}},children:(0,a.jsx)(m.default,{children:(0,a.jsx)(G.l10n.L10nProvider,{languages:R.builtInLanguages,languageText:e,currentLanguage:s,defaultLanguage:d.DEFAULT_LANGUAGE,children:(0,a.jsx)(X.SoundProvider,{children:(0,a.jsxs)(Y.ConVarProvider,{children:[(0,a.jsx)(K.Sounds,{}),(0,a.jsx)(I.FileDrop,{onDropJsonFile:e=>{t(e)}}),(0,a.jsx)(re,{onChangeLanguageKey:e=>{r(e)}}),(0,a.jsx)($.CheatsMenu,{}),(0,a.jsx)(J.ScreenSaver,{}),(0,a.jsx)(z.Fullscreen,{})]})})})})})})},t.HorrorInternal=re;const a=n(74848);n(47059);const l=n(94869),c=(o(n(27186)),o(n(23571))),d=(n(98823),n(78815)),u=n(98722),p=o(n(24714)),h=o(n(52725)),f=o(n(29369)),x=o(n(24425)),m=o(n(49616)),g=o(n(84613)),b=n(80985),y=o(n(53702)),E=o(n(96886)),j=n(96540),T=n(17322),S=n(44190),v=n(73164),O=i(n(93110)),N=i(n(81533)),I=n(47059),w=i(n(4683)),R=o(n(63976)),M=i(n(25496)),C=i(n(73965)),L=i(n(34873)),A=i(n(21475)),D=i(n(71536)),P=i(n(45544)),F=n(73719),k=(n(40961),n(10159)),G=n(81218),U=i(n(45041)),H=n(91722),W=n(98899),B=i(n(99240)),V=n(84344),z=n(42771),Y=n(19204),$=n(46777),X=(n(70641),i(n(20584)),n(97172),n(49046)),K=n(39975),Z=n(63783),J=n(18348),q=n(37815);let Q=!1;function ee({setLoggedIn:e}){const[t,s]=(0,j.useState)(!1),[r,o]=(0,j.useState)(""),i=(0,j.useRef)(),[l,u]=(0,j.useState)(!1),[p,h]=(0,j.useState)(!1),x=(0,j.useRef)(),{size:g,orientation:_}=(0,j.useContext)(m.LayoutContext),{language:b}=(0,j.useContext)(G.l10n.Context);(0,j.useEffect)((()=>{c.startEventTimer("main_login")}),[]);const{setShowGlobalHint:y}=(0,j.useContext)(f.HintContext);return(0,a.jsxs)("div",{style:{width:"100%",height:"100%",background:`url(${(0,B.default)(n(69592))}) no-repeat center black`,backgroundSize:"landscape"===_?"115%":"150%",backgroundPosition:"landscape"===_?`${-50*g}px ${0*g}px`:`${-230*g}px ${100*g}px`},children:[(0,a.jsx)("div",{className:"login",ref:i,children:(0,a.jsx)("div",{children:l?(0,a.jsx)("div",{children:b.LOGGING_IN}):(0,a.jsxs)("form",{ref:x,autoComplete:"off",onSubmit:t=>{if(t.preventDefault(),p)return;const n=(""+r).toLowerCase();n.includes("92")&&n.includes("scotty")||d.ALLOW_PASSWORD_SKIP&&n.includes("***")?(c.stopEventTimer("main_login"),u(!0),(0,T.playBGM)("login"),(0,H.setTimeoutPausible)((()=>{h(!0),(0,H.setTimeoutPausible)((()=>{e(!0)}),1500)}),1e3),(0,F.achieve)(q.AchievementString.BASIC_MATH),y(1)):(n.includes("2000")&&n.includes("scotty")&&(0,F.achieve)(q.AchievementString.SCOTTY_2000),s(!0),o(""),i.current.style.animation="jitter 0.5s",(0,H.setTimeoutPausible)((()=>{i.current.style.animation=""}),1e3))},children:[(0,a.jsx)("input",{type:"text",name:"code",className:"login-text",placeholder:b.PASSWORD_TEXT,style:{fontSize:Math.max(16,16*g)},value:r,onChange:e=>o(e.currentTarget.value)}),(0,a.jsx)("input",{type:"submit",value:"",className:"login-button cursor-pointer"}),(0,a.jsx)("input",{type:"button",value:"",className:"help-button cursor-pointer",onClick:()=>s(!0)}),t&&(0,a.jsx)("div",{children:b.PASSWORD_HINT})]})})}),(0,a.jsx)("div",{className:"welcome",style:{opacity:p?1:0},children:(0,a.jsx)("div",{className:"welcome-text",children:b.WELCOME_BACK})})]})}function te(e){const t=(0,j.useContext)(m.LayoutContext).size;return(0,a.jsxs)("div",{className:"cursor-pointer",style:{display:"flex",gap:0,alignItems:"center",flexDirection:"column",width:140*t,height:130*t,textAlign:"center",verticalAlign:"top",margin:5*t,visibility:e.invisible?"hidden":"visible"},onClick:t=>e.invisible?null:e.onClick(t),children:[(0,a.jsx)("img",{src:e.src||n(24193),style:{width:80*t,height:80*t,marginBottom:2*t},alt:e.text,onDragStart:e=>e.preventDefault()}),(0,a.jsx)("div",{children:(0,a.jsx)("span",{style:{textShadow:`${2*t}px ${2*t}px 0px white`},children:e.text})})]})}function ne(){const[e,t]=(0,b.useSaveState)("photosUnzipped",!1),[s,r]=(0,b.useSaveState)("ritualUnzipped",!1),[o,i]=(0,b.useSaveState)("hideInitialIcons",!0),l=(0,j.useRef)();(0,j.useEffect)((()=>{const e=(0,H.setTimeoutPausible)((()=>{i(!1)}),1e3);return()=>{e()}}));const[p,f]=(0,j.useState)("File Browser"),[_,T]=(0,j.useState)(null),[S,v]=(0,j.useState)(!1),I=(0,j.useRef)(),R=(0,j.useCallback)(((e,t,n,s,r)=>{I.current.openPopup(e,t,n,s,r)}),[I]),A=(0,j.useCallback)(((e,t,n,s,r)=>{I.current.openGif(e,t,n,s,r)}),[I]),F=(0,j.useCallback)((()=>{I.current.closeAllPopups()}),[I]),{size:k,orientation:U}=(0,j.useContext)(m.LayoutContext),[W,V]=(0,b.useSaveState)("showBuddyListSignOn",!0),[z,Y]=(0,b.useSaveState)("visibleWindows",d.VISIBLE_WINDOWS,(e=>e instanceof Array?e.filter((e=>"files"!==e)):e)),[$,X]=(0,b.useSaveState)("finishedDownloading",!1),{language:K}=(0,j.useContext)(G.l10n.Context);return(0,a.jsxs)("div",{style:{background:`url(${(0,B.default)(n(21555))}) no-repeat center black`,backgroundSize:"landscape"===U?"110%":"146%",backgroundPosition:"landscape"===U?`${-40*k}px ${-300*k}px`:`${-250*k}px ${-100*k}px`,height:"100%"},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"flex-start",gap:0,flexWrap:"wrap",flexDirection:"landscape"===U?"column":"row",width:"landscape"===U?"30%":"80%",height:"landscape"===U?"100%":"40%",padding:10*k,textAlign:"left",wordBreak:"break-word"},children:[(0,a.jsx)(te,{invisible:o,text:K.DESKTOP_SHORTCUT_BUDDYLIST,src:n(24193),onClick:e=>{l.current?.makeWindowVisible(W?"buddylist-signing-on":"buddylist"),l.current?.bringToTop(W?"buddylist-signing-on":"buddylist")}}),(0,a.jsx)(te,{invisible:o,text:K.DESKTOP_SHORTCUT_LOSEAMP_PLAYER,src:n(97146),onClick:e=>{l.current?.makeWindowVisible("loseamp"),l.current?.bringToTop("loseamp")}}),(0,a.jsx)(te,{invisible:o,text:K.DESKTOP_SHORTCUT_OTHER_WORLD,src:n(20284),onClick:e=>{l.current?.makeWindowVisible("otherworld")}}),e?null:(0,a.jsx)(te,{text:K.DESKTOP_SHORTCUT_ZIP,src:n(81735),onClick:e=>{l.current?.makeWindowVisible("photos4em.zip"),l.current?.bringToTop("photos4em.zip")}}),$&&(0,a.jsx)(te,{invisible:o,text:"redherring.exe",src:n(74205),onClick:e=>{l.current?.makeWindowVisible("house"),l.current?.bringToTop("house")}}),e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(te,{text:"lawson.jpg",src:n(15957),onClick:e=>{l.current?.makeWindowVisible("lawson.png"),l.current?.bringToTop("lawson.png")}}),(0,a.jsx)(te,{text:"asdfhzfzzz.txt",src:n(40454),onClick:e=>{l.current?.makeWindowVisible("notes"),l.current?.bringToTop("notes")}})]}):null,s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(te,{text:"IMG001.jpg",src:n(15957),onClick:e=>{l.current?.makeWindowVisible("img001.jpg"),l.current?.bringToTop("img001.jpg")}}),(0,a.jsx)(te,{text:"IMG002.jpg",src:n(15957),onClick:e=>{l.current?.makeWindowVisible("img002.jpg"),l.current?.bringToTop("img002.jpg")}}),(0,a.jsx)(te,{text:"IMG003.jpg",src:n(15957),onClick:e=>{l.current?.makeWindowVisible("img003.jpg"),l.current?.bringToTop("img003.jpg")}}),(0,a.jsx)(te,{text:"IMG004.jpg",src:n(15957),onClick:e=>{l.current?.makeWindowVisible("img004.jpg"),l.current?.bringToTop("img004.jpg")}})]}):null]}),(0,a.jsx)("div",{children:(0,a.jsx)(h.FileBrowserContext.Provider,{value:{openBrowser:(e,t,n)=>{f(e),T((()=>t)),v(n),l.current?.makeWindowInvisible("files"),(0,H.setTimeoutPausible)((()=>{l.current?.makeWindowVisible("files"),l.current?.bringToTop("files")}),0)}},children:(0,a.jsx)(E.WindowManager,{visibleWindows:z,setVisibleWindows:Y,ref:l,children:(0,a.jsxs)(u.EndingPopupContext.Provider,{value:{openPopup:R,openGif:A,closeAllPopups:F},children:[(0,a.jsx)(O.default,{setShowBuddyListSignOn:V}),(0,a.jsx)(g.default,{}),(0,a.jsx)(D.default,{onUnlocked:()=>{c.stopEventTimer("zip_file"),c.startEventTimer("otherworld_password"),l.current?.makeWindowInvisible("photos4em.zip"),r(!0),t(!0)}}),(0,a.jsx)(P.default,{onUnlocked:()=>{l.current?.makeWindowInvisible("COOL!!!.zip"),r(!0)}}),(0,a.jsx)(L.default,{}),(0,a.jsx)(M.default,{}),(0,a.jsx)(y.default,{}),(0,a.jsx)(C.default,{}),(0,a.jsx)(x.DisableMouse,{}),(0,a.jsx)(x.default,{}),(0,a.jsx)(x.FadeScreen,{}),(0,a.jsx)(x.ErrorScreen,{}),(0,a.jsx)(N.default,{}),(0,a.jsx)(h.default,{browserCallback:_,title:p,mapOnly:S}),(0,a.jsx)(w.default,{onFinishDownloading:()=>{X(!0)}}),(0,a.jsx)(u.EndingPopup,{ref:I})]})})})})]})}function se(){const{setEscapeMenuVisible:e}=(0,V.useEscapeMenu)();return(0,a.jsx)("div",{style:{zIndex:5e3,position:"absolute",right:10,bottom:10,width:25,height:25,background:`url(${(0,B.default)(n(78453))}) no-repeat center center / contain`,opacity:.5,transition:"opacity 0.5s"},onMouseEnter:e=>{e.currentTarget.style.opacity=1},onMouseLeave:e=>{e.currentTarget.style.opacity=.5},onClick:t=>{e(!0)}})}function re({onChangeLanguageKey:e}){const[t,s]=(0,b.useSaveState)("prologue",!d.LOGGED_IN_MAIN_SCREEN),[r,o]=(0,j.useState)(!0),[i,l]=(0,b.useSaveState)("loggedin",d.LOGGED_IN_MAIN_SCREEN),[c,u]=(0,j.useState)(!1),[h,x]=(0,j.useState)(!1),[g,_]=(0,j.useState)(!k.isMobile);let E="NEVERLAND";try{window.electronAPI?(window.electronAPI.loadKey("neverland-password")||window.electronAPI.saveKey("neverland-password",`NEVERLAND${Math.floor(999*Math.random())}`),E=window.electronAPI.loadKey("neverland-password")):(localStorage.getItem("neverland-password")||localStorage.setItem("neverland-password",`NEVERLAND${Math.floor(999*Math.random())}`),E=localStorage.getItem("neverland-password"))}catch(e){}const[T,O]=(0,j.useState)(!1),[N,I]=(0,b.useSaveState)("hintFor",0),[w,M]=(0,b.useSaveState)("hintId",0),C=(0,j.useCallback)(((e,t)=>{I(e),M(t||0)}),[]),[L,D]=(0,b.useSaveState)("showLanguage",!0),{size:P}=(0,j.useContext)(m.LayoutContext);return(0,a.jsx)(f.HintContext.Provider,{value:{showHintsFor:N,showHintId:w,setShowGlobalHint:C},children:(0,a.jsx)(b.SaveContext.Provider,{value:{neverlandPassword:E},children:(0,a.jsxs)(y.ShowCameraContext.Provider,{value:{setShowCamera:x},children:[(0,a.jsx)(A.default,{}),(0,a.jsxs)("div",{style:{fontSize:14*P,display:"block",background:"lightblue",width:"100%",height:"100%",overflow:"hidden"},onTouchStart:e=>{Q=!0,1===e.touches.length&&(0,S.playSFX)("mousedown")},onTouchEnd:e=>{0===e.touches.length&&(0,S.playSFX)("mouseup")},onMouseDown:()=>{Q||(0,S.playSFX)("mousedown")},onMouseUp:()=>{Q||(0,S.playSFX)("mouseup")},onKeyDown:e=>{(0,S.playSFX)(`key${Math.floor(5*Math.random())+1}_down`)},onKeyUp:e=>{(0,S.playSFX)(`key${Math.floor(5*Math.random())+1}_up`)},children:[t?r?(0,a.jsx)(Z.TriggerWarning,{onFinished:()=>{o(!1)}}):(0,a.jsx)(v.NewIntroText,{onFinished:()=>{s(!1)}}):(0,a.jsx)(a.Fragment,{children:i?(0,a.jsx)(ne,{}):(0,a.jsx)(ee,{setLoggedIn:l})}),(0,a.jsx)(V.EscapeMenu,{menu:()=>(0,a.jsx)(p.default,{onChangeLanguage:D}),children:k.isMobile&&(0,a.jsx)(se,{})}),d.SHOW_HINTS&&(0,a.jsx)(f.default,{visible:T,setVisible:O}),d.SHOW_LANGUAGE_MENU&&(0,a.jsx)(R.default,{visible:L,setVisible:D,onLanguageChange:t=>{e(t)}})]}),h&&(0,a.jsx)("div",{style:{position:"absolute",background:`black url(${(0,B.default)(n(92337))}) no-repeat`,backgroundSize:"80px",backgroundPosition:"50px",transform:"translate(-50%, 0%)",top:0,left:"50%",width:150,height:40,borderRadius:"0px 0px 10px 10px",zIndex:2e3},children:(0,a.jsx)("div",{style:{position:"absolute",background:"black",top:0,right:30,width:20,height:"100%",animation:"blink 0.5s infinite"}})}),!W.STANDALONE_APP&&g&&(0,a.jsx)("div",{style:{zIndex:5e3,position:"absolute",right:10,bottom:10,width:50,height:50,background:`url(${(0,B.default)(n(23127))}) no-repeat center center / contain`,opacity:.3,transition:"opacity 0.5s"},onMouseEnter:e=>{e.currentTarget.style.opacity=1},onMouseLeave:e=>{e.currentTarget.style.opacity=.3},onClick:e=>{if(U.default.isEnabled)try{U.default.request()}catch(e){}}}),d.SHOW_HINTS&&(0,a.jsx)("div",{style:{zIndex:5e3,position:"absolute",top:10,right:10,width:100,height:100,background:`url(${(0,B.default)(n(18044))}) no-repeat center center / contain`,opacity:.3,transition:"opacity 0.5s"},onMouseEnter:e=>{e.currentTarget.style.opacity=1},onMouseLeave:e=>{e.currentTarget.style.opacity=.7},onClick:e=>{O(!0)}})]})})})}},83938:(e,t,n)=>{e.exports=n.p+"assets/tr.2fc07abe241f1e7308c8.jsonc"},84196:(e,t,n)=>{e.exports=n.p+"assets/ending2.aa9fd0bc15a18011d5f5.mp3"},84426:(e,t,n)=>{e.exports=n.p+"assets/r.8b9ab9bbb06723305a4f.png"},84613:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setMusicPlayerBusVolume=function(e){x=e;for(const t of Object.keys(p)){const n=p[t];n.volume(e*(n.original.volume||1))}},t.default=function(){const[e,t]=(0,o.useState)(null),[s,c]=(0,o.useState)([]),[y,E]=(0,o.useState)(0),j=s.filter((e=>{const[t,n,s]=e.start.split(":");return 60*parseInt(t)+parseInt(n)+parseInt(s)/100<=y})).pop(),T=e=>{g===e&&m&&m.playing()?m&&(m.pause(),h(null)):function(e){p[e]||function(e){if(p[e])return;const t=new i.Howl({src:[u[e].src],autoplay:!1,volume:u[e].volume||1,loop:u[e].loop});t.on("end",f),t.original=u[e],p[e]=t}(e);if(!p[e])return;u[e].loop&&g===e||(m&&m.pause(),p[e].seek(0),p[e].play(),p[e].volume(x*(p[e].original.volume||1)),m=p[e],g=e,h(e))}(e)};(0,o.useEffect)((()=>{h=e=>{t(e)}}),[]);const S=(0,o.useContext)(a.LayoutContext).size,{language:v}=(0,o.useContext)(d.l10n.Context);return(0,r.jsx)(l.default,{name:"loseamp",className:"cursor-move",style:{borderRadius:0,border:3*S+"px solid black",background:"linear-gradient(90deg, rgb(10, 10, 50) 0%, rgb(40, 40, 70) 30%, rgb(40, 40, 70) 70%, rgb(10, 10, 50) 100%)"},topBarStyle:{padding:10*S,background:"transparent",color:"white",userSelect:"none"},closeButtonStyle:{background:"none",position:"absolute",borderRadius:0,right:10*S,top:9*S,height:20*S,width:20*S},initialPosition:{x:100,y:150},title:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{style:{background:"transparent",height:20*S,textAlign:"center"},children:"LoseAmp Player"})}),children:(0,r.jsx)(_.Provider,{value:{currentSong:e,playAudio:T,setCurrentLyrics:c,setTime:E},children:(0,r.jsxs)("div",{style:{padding:10*S},children:[(0,r.jsxs)("div",{style:{width:335*S,background:"black",color:"#0f0",padding:10*S,border:"1px solid #444",marginBottom:10*S,height:20*S,overflow:"hidden"},children:[(0,r.jsx)("img",{src:n(50831),width:20*S,style:{paddingRight:10*S,verticalAlign:"middle"}}),(0,r.jsx)("span",{style:{verticalAlign:"middle"},children:j?.lyric})]}),(0,r.jsx)("div",{style:{width:335*S,height:250*S,background:"black",color:"#0f0",padding:10*S,border:"1px solid #444",overflowX:"hidden",overflowY:"hidden"},children:(0,r.jsxs)("div",{style:{position:"relative"},children:[(0,r.jsx)(b,{n:0,title:"1. Roma_Pizza_25.mp3",duration:"1:50",playAudio:T,src:"loseamp_1",lyrics:v.LYRICS_1||[]}),(0,r.jsx)(b,{n:1,title:"2. holding hands.wav",duration:"1:53",playAudio:T,src:"loseamp_2",lyrics:v.LYRICS_2||[]}),(0,r.jsx)(b,{n:2,title:"3. in heaven.wav",duration:"3:02",playAudio:T,src:"loseamp_7",lyrics:v.LYRICS_3}),(0,r.jsx)(b,{n:3,title:"4. who am i to you.wav",duration:"2:16",playAudio:T,src:"loseamp_8",lyrics:v.LYRICS_4}),(0,r.jsx)(b,{n:4,title:"5. leave this world.mp3",duration:"3:23",playAudio:T,src:"loseamp_6",lyrics:v.LYRICS_5}),(0,r.jsx)(b,{n:5,title:"6. 11_j-demo (2).mp3",duration:"2:30",playAudio:T,src:"loseamp_5",lyrics:v.LYRICS_6}),(0,r.jsx)(b,{n:6,title:"7. hindsight (tube2mp3.com).mp3",duration:"1:20",playAudio:T,src:"loseamp_3",lyrics:v.LYRICS_7}),(0,r.jsx)(b,{n:7,title:"8. just my luck.mp3",duration:"2:13",playAudio:T,src:"loseamp_4",lyrics:v.LYRICS_8})]})})]})})})};const r=n(74848),o=n(96540),i=n(94196),a=n(49616),l=s(n(96886)),c=s(n(36430)),d=n(81218),u={loseamp_1:{src:n(51019)},loseamp_2:{src:n(78437),volume:.2},loseamp_3:{src:n(54405)},loseamp_4:{src:n(26657)},loseamp_5:{src:n(73359)},loseamp_6:{src:n(74140)},loseamp_7:{src:n(12366)},loseamp_8:{src:n(43373)}},p={};let h=e=>{};const f=()=>{h(null)};if("undefined"!=typeof window){window.pauseListenerMusicPlayer&&c.default.off("pause",window.pauseListenerMusicPlayer);let e=!1;window.pauseListenerMusicPlayer=t=>{t?(e=m&&m.playing(),e&&m.pause()):e&&m.play()},c.default.on("pause",window.pauseListenerMusicPlayer)}let x=1;let m=null,g=null;const _=(0,o.createContext)();function b({title:e,duration:t,src:s,n:i,lyrics:l}){const{playAudio:c,currentSong:d,setCurrentLyrics:u,setTime:p}=(0,o.useContext)(_),[h,f]=(0,o.useState)(0),x=d===s;(0,o.useEffect)((()=>{let e=null;return x&&(e=setInterval((()=>{const e=m?m.seek()/m.duration():0;f(e),m&&p(m.seek())}),100)),()=>{e&&clearInterval(e)}}),[x]);const g=(0,o.useContext)(a.LayoutContext).size;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"cursor-pointer",style:{position:"absolute",userSelect:"none",padding:5*g,top:32*i*g,width:325*g},onClick:e=>{c(s),p(0),u(l)},children:[e,s===d&&(0,r.jsx)("div",{style:{position:"absolute",top:0,left:0,height:"100%",width:100*h+"%",background:"rgba(0, 255, 0, 0.5)"}}),(0,r.jsx)("span",{style:{float:"right"},children:s===d?(0,r.jsx)("img",{src:n(32853),width:20*g}):t})]})})}},84764:(e,t,n)=>{e.exports=n.p+"assets/t.60c1e40509c5334705de.png"},84843:(e,t,n)=>{e.exports=n.p+"assets/house1_wind.5da5ef7366266d79f650.mp3"},84872:(e,t,n)=>{e.exports=n.p+"assets/ritual2.05fa0ba27fb3275ea2c2.gif"},84899:(e,t,n)=>{e.exports=n.p+"assets/rumble.130199303805ec1b2d45.mp3"},85601:(e,t,n)=>{e.exports=n.p+"assets/ritual3.d847ca0945b2d19f4f5e.gif"},85780:(e,t,n)=>{e.exports=n.p+"assets/bookglow.bbc0b0b286859ad8f9d3.png"},86515:(e,t,n)=>{e.exports=n.p+"assets/fusion-pixel-12px-proportional-ko.90a080428337f4b294ae.otf"},87147:(e,t,n)=>{e.exports=n.p+"assets/Grass.7a69caabfea1d587e104.png"},87289:(e,t,n)=>{e.exports=n.p+"assets/PIXEAB__.e1d1622c832a3e2c218f.ttf"},87417:(e,t,n)=>{e.exports=n.p+"assets/login.fd3cf57a2e572662a236.png"},87969:(e,t,n)=>{e.exports=n.p+"assets/key4_up.265e8ebb473011a1c9c7.mp3"},89421:(e,t,n)=>{e.exports=n.p+"assets/symbol4.73149023c034fd9a0d3e.png"},89453:(e,t,n)=>{e.exports=n.p+"assets/scrollbar_sandie.d21a12b3ea3e2a39039e.png"},89633:(e,t,n)=>{e.exports=n.p+"assets/scrollbar_down.1cc3f92fbb786fe2f4da.png"},89850:(e,t,n)=>{e.exports=n.p+"assets/dialup.8f9c0e3cfa94ec55c6d1.mp3"},90172:(e,t,n)=>{e.exports=n.p+"assets/door_close_buddylist.e96ebe75b7a75392dec2.mp3"},90227:(e,t,n)=>{e.exports=n.p+"assets/beep.7a4a1c1d3557631de9e1.mp3"},91169:(e,t,n)=>{e.exports=n.p+"assets/key5_down.c609fc9b2914d815e061.mp3"},91254:(e,t,n)=>{e.exports=n.p+"assets/cn_simplified.8661b534eb181e97e35e.jsonc"},91821:(e,t,n)=>{e.exports=n.p+"assets/disco_statue.f6932c356402f4dae092.gif"},92337:(e,t,n)=>{e.exports=n.p+"assets/fake_camera.c39352704197279ab4b5.png"},92403:(e,t,n)=>{e.exports=n.p+"assets/run.6ba21f64e9fcd4325ed1.gif"},92638:(e,t,n)=>{e.exports=n.p+"assets/clock_hand2.b280b3375fd515afb2e9.png"},92730:(e,t,n)=>{e.exports=n.p+"assets/move.c924d2db82500e505747.png"},93110:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConvertL10nChatLogToHTML=v,t.default=function({setShowBuddyListSignOn:e}){const{size:t,orientation:s}=(0,d.useContext)(f.LayoutContext),{makeWindowVisible:r,makeWindowInvisible:o,bringToTop:i}=(0,d.useContext)(c.WindowManagerContext),[E,j]=(0,d.useState)(!0),[S,O]=(0,d.useState)(!1),{language:N}=(0,d.useContext)(g.l10n.Context),[I,w]=(0,d.useState)(0),R=[N.BUDDYLIST_SIGN_ON_STEP_1,N.BUDDYLIST_SIGN_ON_STEP_2,N.BUDDYLIST_SIGN_ON_STEP_3,N.BUDDYLIST_SIGN_ON_STEP_4],{setShowGlobalHint:M}=(0,d.useContext)(p.HintContext);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.default,{name:"buddylist-signing-on",title:N.BUDDYLIST_SIGN_ON,disableCloseButton:!0,initialPosition:{x:"landscape"===s?280:160,y:"landscape"===s?50:170},onVisibleChange:t=>{t&&(0,y.setTimeoutPausible)((()=>{w(1),(0,y.setTimeoutPausible)((()=>{w(2),(0,y.setTimeoutPausible)((()=>{w(3),r("buddylist"),i("buddylist"),e(!1),(0,y.setTimeoutPausible)((()=>{o("buddylist-signing-on")}),1e3)}),1e3)}),1e3)}),1500)},children:(0,a.jsxs)("div",{style:{padding:`${10*t}px ${10*t}px`,textAlign:"center"},children:[(0,a.jsx)("div",{style:{width:250*t,background:"#3237b7"},children:(0,a.jsx)("img",{src:n(63565),alt:"buddylist",style:{width:200*t}})}),(0,a.jsx)("br",{}),"alonegurl15",(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),R[I],(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block"},children:"Cancel"})]})}),(0,a.jsx)(c.default,{name:"buddylist",title:N.DESKTOP_SHORTCUT_BUDDYLIST,initialPosition:{x:"landscape"===s?560:370,y:50},onVisibleChange:e=>{S||(O(!0),(0,y.setTimeoutPausible)((()=>{r("__orion__"),i("__orion__"),(0,b.playSFX)("imreceive"),l.startEventTimer("zip_file")}),3e3))},children:(0,a.jsxs)("div",{style:{margin:5*t,width:200*t,height:400*t,background:"white"},children:[(0,a.jsx)(T,{name:"aznL4ws0n",status:"offline",onClick:e=>{r("aznL4ws0n"),i("aznL4ws0n")}}),(0,a.jsx)(T,{name:"scottNJ",status:"offline",onClick:e=>{r("scottNJ"),i("scottNJ")}}),(0,a.jsx)(T,{name:"EterNalJuice",status:"offline",onClick:e=>{r("EterNalJuice"),i("EterNalJuice")}}),(0,a.jsx)(T,{name:"xXemmberXx86",status:"offline",onClick:e=>{r("xXemmberXx86"),i("xXemmberXx86")}}),(0,a.jsx)(T,{name:"__orion__",status:E?"online":"offline",onClick:e=>{S||(0,_.playBGM)("imreceive"),O(!0),r("__orion__"),i("__orion__"),l.startEventTimer("zip_file")}})]})}),(0,a.jsx)(u.default,{name:"aznL4ws0n",initialPosition:{x:20,y:10},title:N.BUDDYLIST_CHAT_WINDOW_TITLE.format("aznL4ws0n"),chat:(0,a.jsxs)("div",{children:[v(N.LAWSON_CHATLOG,"aznL4ws0n"),(0,a.jsx)("br",{}),(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"system",children:N.USER_IS_OFFLINE})})]})}),(0,a.jsx)(u.default,{name:"scottNJ",initialPosition:{x:30,y:20},title:N.BUDDYLIST_CHAT_WINDOW_TITLE.format("scottNJ"),chat:(0,a.jsxs)("div",{children:[v(N.SCOTT_CHATLOG,"scottNJ"),(0,a.jsx)("br",{}),(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"system",children:N.USER_IS_OFFLINE})})]})}),(0,a.jsx)(u.default,{name:"EterNalJuice",initialPosition:{x:40,y:30},title:N.BUDDYLIST_CHAT_WINDOW_TITLE.format("EterNalJuice"),chat:(0,a.jsxs)("div",{children:[v(N.ETERNALJUICE_CHATLOG,"EterNalJuice"),(0,a.jsx)("br",{}),(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"system",children:N.USER_IS_OFFLINE})})]})}),(0,a.jsx)(u.default,{name:"xXemmberXx86",initialPosition:{x:50,y:40},title:N.BUDDYLIST_CHAT_WINDOW_TITLE.format("xXemmberXx86"),chat:(0,a.jsxs)("div",{children:[v(N.EMMBER_CHATLOG,"xXemmberXx86"),(0,a.jsx)("br",{}),(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"system",children:N.USER_IS_OFFLINE})})]})}),(0,a.jsx)(h.default,{name:"__orion__",initialPosition:{x:"landscape"===s?220:110,y:"landscape"===s?240:290},onFinished:()=>{j(!1),(0,x.achieve)(m.AchievementString.ASL),M(3)},title:N.BUDDYLIST_CHAT_WINDOW_TITLE.format("__orion__")})]})};const a=n(74848),l=o(n(23571)),c=o(n(96886)),d=n(96540),u=i(n(70839)),p=n(29369),h=i(n(29397)),f=n(49616),x=n(73719),m=n(37815),g=n(81218),_=n(17322),b=n(44190),y=n(91722),E=i(n(67098)),j=i(n(99240));function T({name:e,status:t,onClick:n}){const s=(0,d.useContext)(f.LayoutContext).size,{language:r}=(0,d.useContext)(g.l10n.Context);return(0,a.jsxs)("div",{className:"cursor-pointer",style:{color:"offline"===t?"#aaa":"black",padding:5*s},onClick:n,children:[(0,a.jsx)("div",{style:{display:"inline-block",borderRadius:"50%",width:10*s,height:10*s,fontFamily:r.FONT_FAMILY.toString(),fontSize:40*s,background:"offline"===t?"#ddd":"#0f0"}})," ",e]})}function S({children:e}){const t=(0,d.useContext)(f.LayoutContext).size,s=e.split(" ");return(0,a.jsx)(a.Fragment,{children:s.map(((e,s)=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"corrupted",style:{whiteSpace:"nowrap"},children:e.split("").map(((e,r)=>(0,a.jsxs)("span",{style:{display:"inline-block",position:"relative"},children:[e,(0,a.jsx)("span",{style:{background:`url(${(0,j.default)(n(69784))}) repeat-x center`,backgroundSize:`auto ${25*t}px`,backgroundPositionX:2*(12*r+12*s)*t+"px",width:"100%",height:20*t,display:"inline-block",position:"absolute",left:0}})]},r)))},s)," "]})))})}function v(e,t,n){return"ERROR"===e.toString()&&(e=[]),e.map(((e,s)=>{let r=!1,o="them";e.startsWith(": ")?(o="me",e=e.replace(": ","")):e.startsWith(": ")?(o="me",r=!0,e=e.replace(": ","")):e.startsWith(": ")?(o="system",e=e.replace(": ","")):e.startsWith("<")&&(e=e.replace(/<[^>]*?>: /,""));let i=!1;return e.match("RED_HERRING_EXE")&&(e=e.replace("RED_HERRING_EXE",""),i=!0),(0,a.jsx)("div",{children:"system"===o?(0,a.jsx)("span",{className:"system",children:e}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:o,children:["me"===o?"alonegurl15":t,": "]}),r?(0,a.jsx)(S,{children:e}):(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,E.default)(e,["b"])}})," ",i?(0,a.jsx)("span",{className:"chat-choice",onClick:n,children:"redherring.exe"}):null]})},s)}))}},93136:function(e,t,n){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(74848),o=s(n(83899));{function i(e){if("NotSupportedError"!==e.reason.name||9!==e.reason.code)return"unhandledrejection"===e.type||e.type,!1}window.addEventListener("unhandledrejection",i),window.addEventListener("error",i)}t.default=function(){return(0,r.jsx)("div",{className:"App",style:{textAlign:"center"},children:(0,r.jsx)(o.default,{})})}},94469:(e,t,n)=>{e.exports=n.p+"assets/desk.4ba0a6cf4962289e7f17.gif"},94672:(e,t,n)=>{e.exports=n.p+"assets/im_receive_echo.3bdb2dbe14906554b402.mp3"},95345:(e,t,n)=>{e.exports=n.p+"assets/send.7d3772040d3d41cbfc23.mp3"},95616:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var s=n(85072),r=n.n(s),o=n(97825),i=n.n(o),a=n(77659),l=n.n(a),c=n(55056),d=n.n(c),u=n(10540),p=n.n(u),h=n(41113),f=n.n(h),x=n(21933),m={};m.styleTagTransform=f(),m.setAttributes=d(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=p();r()(x.A,m);const g=x.A&&x.A.locals?x.A.locals:void 0},97146:(e,t,n)=>{e.exports=n.p+"assets/loseamp.5b7d327e9fdbfbaaeb73.gif"},97178:(e,t,n)=>{e.exports=n.p+"assets/fusion-pixel-12px-proportional-ja.48cd791b1bdd3fa4fb31.otf"},97294:(e,t,n)=>{e.exports=n.p+"assets/v.712d912e7e70d9c600c3.png"},97344:(e,t,n)=>{n.d(t,{A:()=>s});const s="I created this font specifically with Macromedia Flash in mind.\r\n\r\nThis font is Arial set at 11px un-antialiased. I take no credit in the design of the original Arial font.\r\n\r\nHOW TO USE:\r\n\r\nThis font uses the same rules that Miniml.com fonts use or any other Flash specific fonts that are made.\r\n\r\n- Open flash and create a text box.\r\n\r\n- Make sure that text box X & Y values are set to a whole number (ie: 56.0 is correct 56.1 is NOT)\r\n\r\n- In the properties for the text box, choose Pixel Arial 11 and then set the size to 8. If you installed both fonts (regular and bold) Clicking the bold button will give the bold version of this font. \r\n\r\n- If you would like to use this font with HTML (specifically the bold tag) you add 2 text boxes, one for regualr and one for bold, set them accordingly in the properties window. Be sure to embed the fonts. Use the un-bold arial text box to display your text. When your text has a tag and the HTML option is set, your text will be BOLD and pixel crisp. Other wise it will just be a blank where text should be, so be sure to add both text boxes ANYWHERE in your project, doesn't matter where.\r\n\r\n- Your text box should now be a crisp pixel arial font set at 11. If not, check you X & Y coordinates for the text box make sure its on a whole number.\r\n\r\n\r\n\r\nWHY USE THIS?\r\n\r\nWell if you play with Flash, you will know there are limitations to their program when it comes to fonts. Even with the option to pixelate the font you selected... it just never comes out exactly right, so this font is for the picky people who would like a font that is pixelated and Arial and Bold.\r\n\r\nThe font covers the basic symbols that are found on a US keyboard. \r\n\r\nUse this font however you feel.\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},98117:(e,t,n)=>{e.exports=n.p+"assets/shape1.b3d6cb32cc5e572d4144.png"},98722:function(e,t,n){var s=this&&this.__createBinding||(Object.create?function(e,t,n,s){void 0===s&&(s=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,s,r)}:function(e,t,n,s){void 0===s&&(s=n),e[s]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.EndingPopup=t.EndingPopupContext=void 0;const i=n(74848),a=o(n(96886)),l=n(96540),c=n(49616);n(40961);t.EndingPopupContext=(0,l.createContext)({openPopup:(e,t,n,s,r)=>{},openGif:(e,t)=>{},closeAllPopups:()=>{}}),t.EndingPopup=(0,l.forwardRef)(((e,t)=>{const n=(0,l.useRef)(0),[s,r]=(0,l.useState)([]),{makeWindowVisible:o,makeWindowInvisible:d,setVisibleWindows:u}=(0,l.useContext)(a.WindowManagerContext),p=(0,l.useContext)(c.LayoutContext).size;return(0,l.useImperativeHandle)(t,(()=>({openPopup:(e,t,s,i,a)=>{r((r=>[...r,{id:"popup-"+ ++n.current,title:e,text:t,x:s,y:i,options:a}])),o(`popup-${n.current}`)},closeAllPopups:()=>{u((e=>e.filter((e=>!e.startsWith("popup-"))))),r([])}}))),(0,i.jsx)(i.Fragment,{children:s.map((({id:e,title:t,text:n,x:s,y:o,options:l})=>(0,i.jsx)(a.default,{name:e,initialPosition:{x:s,y:o},title:t,style:{zIndex:1005,minWidth:150*p},onVisibleChange:t=>{t||r((t=>t.filter((t=>t.id!==e))))},children:(0,i.jsxs)("div",{style:{padding:10*p,textAlign:"center"},children:[n,(0,i.jsx)("div",{style:{marginTop:10*p},children:l?l.map((t=>(0,i.jsx)("div",{className:"button-98 cursor-pointer",style:{display:"inline-block",margin:4*p},onClick:t=>{d(e)},children:t},t))):null})]})},e)))})}))},98762:(e,t,n)=>{e.exports=n.p+"assets/sign_customworld.c546bd3a4a4a225a7a07.gif"},98845:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const{scene:e}=(0,a.useThree)(),t=(0,o.useCubeTexture)([l,l,l,l,l,l],{path:""});return e.background=t,(0,i.useEffect)((()=>{t.minFilter=r.NearestFilter,t.magFilter=r.NearestFilter,t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,t.needsUpdate=!0}),[t]),(0,s.jsx)(s.Fragment,{})};const s=n(74848),r=n(27186),o=n(56448),i=n(96540),a=n(73560),l=n(26983)},99116:(e,t,n)=>{e.exports=n.p+"assets/es.e6a78f6a6d82aab7977b.jsonc"},99923:(e,t,n)=>{e.exports=n.p+"assets/arrow2x.952d3842b6daaeba0fa1.png"}},n={};function s(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,s),o.loaded=!0,o.exports}s.m=t,s.amdO={},e=[],s.O=(t,n,r,o)=>{if(!n){var i=1/0;for(d=0;d=o)&&Object.keys(s.O).every((e=>s.O[e](n[l])))?n.splice(l--,1):(a=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.e=()=>Promise.resolve(),s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{s.b=document.baseURI||self.location.href;var e={23:0};s.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,i=n[0],a=n[1],l=n[2],c=0;if(i.some((t=>0!==e[t]))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(l)var d=l(s)}for(t&&t(n);cs(1726)));r=s.O(r)})(); \ No newline at end of file diff --git a/filestorage/gd/qwook-last-seen-online/index.html b/filestorage/gd/qwook-last-seen-online/index.html new file mode 100644 index 0000000000000000000000000000000000000000..4ef1d26f6ffec23ef471fcab619bde4f744cb76b --- /dev/null +++ b/filestorage/gd/qwook-last-seen-online/index.html @@ -0,0 +1,4 @@ + +Last Seen Online
\ No newline at end of file diff --git a/filestorage/gd/qwook-last-seen-online/react.js b/filestorage/gd/qwook-last-seen-online/react.js new file mode 100644 index 0000000000000000000000000000000000000000..c1dda74947fa09b7847b56ce7e9a6bb0f4298685 --- /dev/null +++ b/filestorage/gd/qwook-last-seen-online/react.js @@ -0,0 +1,2 @@ +/*! For license information please see react.js.LICENSE.txt */ +"use strict";(self.webpackChunksketches=self.webpackChunksketches||[]).push([[644],{5338:(e,n,t)=>{var r=t(40961);n.createRoot=r.createRoot,n.hydrateRoot=r.hydrateRoot},15287:(e,n)=>{var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function v(e,n,t){this.props=e,this.context=n,this.refs=g,this.updater=t||m}function y(){}function b(e,n,t){this.props=e,this.context=n,this.refs=g,this.updater=t||m}v.prototype.isReactComponent={},v.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var k=b.prototype=new y;k.constructor=b,h(k,v.prototype),k.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,E={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function C(e,n,r){var l,a={},u=null,o=null;if(null!=n)for(l in void 0!==n.ref&&(o=n.ref),void 0!==n.key&&(u=""+n.key),n)S.call(n,l)&&!x.hasOwnProperty(l)&&(a[l]=n[l]);var i=arguments.length-2;if(1===i)a.children=r;else if(1{var r=t(96540),l=Symbol.for("react.element"),a=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,t){var r,a={},s=null,c=null;for(r in void 0!==t&&(s=""+t),void 0!==n.key&&(s=""+n.key),void 0!==n.ref&&(c=n.ref),n)u.call(n,r)&&!i.hasOwnProperty(r)&&(a[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===a[r]&&(a[r]=n[r]);return{$$typeof:l,type:e,key:s,ref:c,props:a,_owner:o.current}}n.Fragment=a,n.jsx=s,n.jsxs=s},22551:(e,n,t)=>{var r=t(96540),l=t(69982);function a(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t