diff --git a/js/42d2e43fcfeb698b9644.wasm b/js/42d2e43fcfeb698b9644.wasm new file mode 100644 index 0000000..83e3375 Binary files /dev/null and b/js/42d2e43fcfeb698b9644.wasm differ diff --git a/js/LICENSE_APACHE b/js/LICENSE_APACHE new file mode 100644 index 0000000..1b5ec8b --- /dev/null +++ b/js/LICENSE_APACHE @@ -0,0 +1,176 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS diff --git a/js/LICENSE_MIT b/js/LICENSE_MIT new file mode 100644 index 0000000..63a286b --- /dev/null +++ b/js/LICENSE_MIT @@ -0,0 +1,25 @@ +Copyright (c) 2018 Mike Welsh + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/js/README.md b/js/README.md new file mode 100644 index 0000000..c59b8c9 --- /dev/null +++ b/js/README.md @@ -0,0 +1,57 @@ +# ruffle-selfhosted + +ruffle-selfhosted is the intended way to get Ruffle onto your website. + +You may either include it and forget about it, and we will polyfill existing Flash content, +or use our APIs for custom configurations or more advanced usages of the Ruffle player. + +## Using ruffle-selfhosted + +For more examples and in-depth documentation on how to use Ruffle on your website, please +[check out our wiki](https://github.com/ruffle-rs/ruffle/wiki/Using-Ruffle#web). + +### Host Ruffle + +The `selfhosted` package is configured for websites that do not use bundlers or npm and just want +to get up and running. If you'd prefer to use Ruffle through npm and a bundler, please +[refer to ruffle core](https://github.com/ruffle-rs/ruffle/tree/master/web/packages/core). + +Before you can get started with using Ruffle on your website, you must host its files yourself. +Either take the [latest build](https://github.com/ruffle-rs/ruffle/releases) +or [build it yourself](https://github.com/ruffle-rs/ruffle/blob/master/web/README.md), and make these files accessible by your web server. + +Please note that the `.wasm` file must be served properly, and some web servers may not do that +correctly out of the box. Please see [our wiki](https://github.com/ruffle-rs/ruffle/wiki/Using-Ruffle#configure-wasm-mime-type) +for instructions on how to configure this, if you encounter a `Incorrect response MIME type` error. + +### "Plug and Play" + +If you have an existing website with flash content, you can simply include Ruffle as a script and +our polyfill magic will replace everything for you. No fuss, no mess. + +```html + +``` + +### Javascript API + +If you want to control the Ruffle player, you may use our Javascript API. + +```html + + +``` + +## Building, testing or contributing + +Please see [the ruffle-web README](https://github.com/ruffle-rs/ruffle/blob/master/web/README.md). diff --git a/js/core.ruffle.c03ed0fdc692d589502d.js b/js/core.ruffle.c03ed0fdc692d589502d.js new file mode 100644 index 0000000..58c42b5 --- /dev/null +++ b/js/core.ruffle.c03ed0fdc692d589502d.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkruffle_selfhosted=self.webpackChunkruffle_selfhosted||[]).push([[662],{762:(e,n,_)=>{function t(e,n,_){n&&e.getChannelData(0).set(n),_&&e.getChannelData(1).set(_)}function r(e){var n,_;const t=null===(n=e.getOutputTimestamp)||void 0===n?void 0:n.call(e);return null!==(_=null==t?void 0:t.contextTime)&&void 0!==_?_:e.currentTime-e.baseLatency}_.d(n,{K:()=>t,T:()=>r})},662:(e,n,_)=>{_.r(n),_.d(n,{Ruffle:()=>G,default:()=>H});var t=_(762);const r="undefined"!=typeof AudioContext?AudioContext:"undefined"!=typeof webkitAudioContext?webkitAudioContext:void 0;let b;const c=new Array(32).fill(void 0);function f(e){return c[e]}c.push(void 0,null,!0,!1);let u=c.length;function o(e){const n=f(e);return function(e){e<36||(c[e]=u,u=e)}(e),n}let a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});a.decode();let i=null;function g(){return null!==i&&i.buffer===b.memory.buffer||(i=new Uint8Array(b.memory.buffer)),i}function w(e,n){return a.decode(g().subarray(e,e+n))}function d(e){u===c.length&&c.push(c.length+1);const n=u;return u=c[n],c[n]=e,n}let s=0,l=new TextEncoder("utf-8");const m="function"==typeof l.encodeInto?function(e,n){return l.encodeInto(e,n)}:function(e,n){const _=l.encode(e);return n.set(_),{read:e.length,written:_.length}};function p(e,n,_){if(void 0===_){const _=l.encode(e),t=n(_.length);return g().subarray(t,t+_.length).set(_),s=_.length,t}let t=e.length,r=n(t);const b=g();let c=0;for(;c127)break;b[r+c]=n}if(c!==t){0!==c&&(e=e.slice(c)),r=_(r,t,t=c+3*e.length);const n=g().subarray(r+c,r+t);c+=m(e,n).written}return s=c,r}let y=null;function h(){return null!==y&&y.buffer===b.memory.buffer||(y=new Int32Array(b.memory.buffer)),y}function v(e){return null==e}let x=null;function A(e){const n=typeof e;if("number"==n||"boolean"==n||null==e)return`${e}`;if("string"==n)return`"${e}"`;if("symbol"==n){const n=e.description;return null==n?"Symbol":`Symbol(${n})`}if("function"==n){const n=e.name;return"string"==typeof n&&n.length>0?`Function(${n})`:"Function"}if(Array.isArray(e)){const n=e.length;let _="[";n>0&&(_+=A(e[0]));for(let t=1;t1))return toString.call(e);if(t=_[1],"Object"==t)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:t}function S(e,n,_,t){const r={a:e,b:n,cnt:1,dtor:_},c=(...e)=>{r.cnt++;const n=r.a;r.a=0;try{return t(n,r.b,...e)}finally{0==--r.cnt?b.__wbindgen_export_2.get(r.dtor)(n,r.b):r.a=n}};return c.original=r,c}function C(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function T(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function R(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2b29ce5f03a3005f(e,n)}function E(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function F(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h14840cb9b3b797cb(e,n,_)}function P(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function k(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function M(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function O(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6769736ffe94a981(e,n,d(_))}let L=null;function W(e,n){return(null!==L&&L.buffer===b.memory.buffer||(L=new Float32Array(b.memory.buffer)),L).subarray(e/4,e/4+n)}function D(e,n){try{return e.apply(this,n)}catch(e){b.__wbindgen_exn_store(d(e))}}let I=32;function B(e){if(1==I)throw new Error("out of js stack");return c[--I]=e,I}let V=null;function j(e,n){return g().subarray(e/1,e/1+n)}let U=null;function q(e,n){return(null!==U&&U.buffer===b.memory.buffer||(U=new Uint8ClampedArray(b.memory.buffer)),U).subarray(e/1,e/1+n)}class G{static __wrap(e){const n=Object.create(G.prototype);return n.ptr=e,n}__destroy_into_raw(){const e=this.ptr;return this.ptr=0,e}free(){const e=this.__destroy_into_raw();b.__wbg_ruffle_free(e)}constructor(e,n,_){try{return o(b.ruffle_new(d(e),d(n),B(_)))}finally{c[I++]=void 0}}stream_from(e,n){try{var _=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;b.ruffle_stream_from(this.ptr,_,t,B(n))}finally{c[I++]=void 0}}load_data(e,n){try{b.ruffle_load_data(this.ptr,d(e),B(n))}finally{c[I++]=void 0}}play(){b.ruffle_play(this.ptr)}pause(){b.ruffle_pause(this.ptr)}is_playing(){return 0!==b.ruffle_is_playing(this.ptr)}prepare_context_menu(){return o(b.ruffle_prepare_context_menu(this.ptr))}run_context_menu_callback(e){b.ruffle_run_context_menu_callback(this.ptr,e)}set_fullscreen(e){b.ruffle_set_fullscreen(this.ptr,e)}clear_custom_menu_items(){b.ruffle_clear_custom_menu_items(this.ptr)}destroy(){b.ruffle_destroy(this.ptr)}call_exposed_callback(e,n){var _=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s,r=function(e,n){const _=n(4*e.length),t=(null!==V&&V.buffer===b.memory.buffer||(V=new Uint32Array(b.memory.buffer)),V);for(let n=0;n>>0,i>>>0)},c.wbg.__wbg_createVertexArray_d59135c0a43c410b=function(e){var n=f(e).createVertexArray();return v(n)?0:d(n)},c.wbg.__wbg_renderbufferStorageMultisample_41916a754c02df64=function(e,n,_,t,r,b){f(e).renderbufferStorageMultisample(n>>>0,_,t>>>0,r,b)},c.wbg.__wbg_texImage2D_29ea0a7f026e239b=function(){return D((function(e,n,_,t,r,b,c,u,o,a,i){f(e).texImage2D(n>>>0,_,t,r,b,c,u>>>0,o>>>0,0===a?void 0:j(a,i))}),arguments)},c.wbg.__wbg_bindFramebuffer_48c4bf8ff82bf7e9=function(e,n,_){f(e).bindFramebuffer(n>>>0,f(_))},c.wbg.__wbg_bindRenderbuffer_4a9ad1cf80580397=function(e,n,_){f(e).bindRenderbuffer(n>>>0,f(_))},c.wbg.__wbg_bindTexture_9d8ed0fcd83eb0a9=function(e,n,_){f(e).bindTexture(n>>>0,f(_))},c.wbg.__wbg_createFramebuffer_9818fc04b4a38c18=function(e){var n=f(e).createFramebuffer();return v(n)?0:d(n)},c.wbg.__wbg_createRenderbuffer_d1a55ec78e26295b=function(e){var n=f(e).createRenderbuffer();return v(n)?0:d(n)},c.wbg.__wbg_createTexture_8f31e7386e22fc37=function(e){var n=f(e).createTexture();return v(n)?0:d(n)},c.wbg.__wbg_deleteFramebuffer_5f58ccb548438c57=function(e,n){f(e).deleteFramebuffer(f(n))},c.wbg.__wbg_deleteRenderbuffer_6372146d4689793e=function(e,n){f(e).deleteRenderbuffer(f(n))},c.wbg.__wbg_deleteTexture_a0632c71429795ac=function(e,n){f(e).deleteTexture(f(n))},c.wbg.__wbg_framebufferRenderbuffer_9d619e8bf8f2aeb6=function(e,n,_,t,r){f(e).framebufferRenderbuffer(n>>>0,_>>>0,t>>>0,f(r))},c.wbg.__wbg_framebufferTexture2D_3da41a7f38e2c523=function(e,n,_,t,r,b){f(e).framebufferTexture2D(n>>>0,_>>>0,t>>>0,f(r),b)},c.wbg.__wbg_getError_868f7c8ef6475b32=function(e){return f(e).getError()},c.wbg.__wbg_getParameter_e3aea13dd0a2904d=function(){return D((function(e,n){return d(f(e).getParameter(n>>>0))}),arguments)},c.wbg.__wbg_texParameteri_c54aab65b2f8cf6d=function(e,n,_,t){f(e).texParameteri(n>>>0,_>>>0,t)},c.wbg.__wbg_instanceof_Window_c4b70662a0d2c5ec=function(e){return f(e)instanceof Window},c.wbg.__wbg_document_1c64944725c0d81d=function(e){var n=f(e).document;return v(n)?0:d(n)},c.wbg.__wbg_location_f98ad02632f88c43=function(e){return d(f(e).location)},c.wbg.__wbg_navigator_480e592af6ad365b=function(e){return d(f(e).navigator)},c.wbg.__wbg_devicePixelRatio_d8c3852bb37f76bf=function(e){return f(e).devicePixelRatio},c.wbg.__wbg_performance_947628766699c5bb=function(e){var n=f(e).performance;return v(n)?0:d(n)},c.wbg.__wbg_localStorage_6775414303ab5085=function(){return D((function(e){var n=f(e).localStorage;return v(n)?0:d(n)}),arguments)},c.wbg.__wbg_cancelAnimationFrame_5f2a1e987a6de100=function(){return D((function(e,n){f(e).cancelAnimationFrame(n)}),arguments)},c.wbg.__wbg_focus_70ecc8fcab4bdb61=function(){return D((function(e){f(e).focus()}),arguments)},c.wbg.__wbg_open_5416e4448a959cfa=function(){return D((function(e,n,_,t,r){var b=f(e).open(w(n,_),w(t,r));return v(b)?0:d(b)}),arguments)},c.wbg.__wbg_requestAnimationFrame_71638ca922068239=function(){return D((function(e,n){return f(e).requestAnimationFrame(f(n))}),arguments)},c.wbg.__wbg_fetch_cfe0d1dd786e9cd4=function(e,n){return d(f(e).fetch(f(n)))},c.wbg.__wbg_destination_6c3ac66ee8b2fe85=function(e){return d(f(e).destination)},c.wbg.__wbg_sampleRate_ffa6f08191b00934=function(e){return f(e).sampleRate},c.wbg.__wbg_currentTime_e231c76a3c011126=function(e){return f(e).currentTime},c.wbg.__wbg_new_52bbbd81ffc19dff=function(){return D((function(){return d(new r)}),arguments)},c.wbg.__wbg_suspend_5b2c4674b28d07f2=function(){return D((function(e){return d(f(e).suspend())}),arguments)},c.wbg.__wbg_createBuffer_79833a4052d7b42a=function(){return D((function(e,n,_,t){return d(f(e).createBuffer(n>>>0,_>>>0,t))}),arguments)},c.wbg.__wbg_createBufferSource_7244d810d62a0bed=function(){return D((function(e){return d(f(e).createBufferSource())}),arguments)},c.wbg.__wbg_createChannelMerger_542d0885aa4bdc09=function(){return D((function(e,n){return d(f(e).createChannelMerger(n>>>0))}),arguments)},c.wbg.__wbg_createChannelSplitter_95302cbc3f9b9f85=function(){return D((function(e,n){return d(f(e).createChannelSplitter(n>>>0))}),arguments)},c.wbg.__wbg_createGain_c5f114390c363029=function(){return D((function(e){return d(f(e).createGain())}),arguments)},c.wbg.__wbg_createScriptProcessor_ec30f8ab6ea543d1=function(){return D((function(e,n,_,t){return d(f(e).createScriptProcessor(n>>>0,_>>>0,t>>>0))}),arguments)},c.wbg.__wbg_decodeAudioData_66b886741a4167f4=function(){return D((function(e,n,_,t){return d(f(e).decodeAudioData(f(n),f(_),f(t)))}),arguments)},c.wbg.__wbg_resume_ca50287e91c0323e=function(){return D((function(e){return d(f(e).resume())}),arguments)},c.wbg.__wbg_setvalue_df8236adf40ea2d3=function(e,n){f(e).value=n},c.wbg.__wbg_linearRampToValueAtTime_113d2920c90f1851=function(){return D((function(e,n,_){return d(f(e).linearRampToValueAtTime(n,_))}),arguments)},c.wbg.__wbg_setValueAtTime_9396570ff0d3cc1f=function(){return D((function(e,n,_){return d(f(e).setValueAtTime(n,_))}),arguments)},c.wbg.__wbg_gain_d4eaca6128dcfd90=function(e){return d(f(e).gain)},c.wbg.__wbg_baseURI_083fd53f8bea9af2=function(){return D((function(e,n){var _=f(n).baseURI,t=v(_)?0:p(_,b.__wbindgen_malloc,b.__wbindgen_realloc),r=s;h()[e/4+1]=r,h()[e/4+0]=t}),arguments)},c.wbg.__wbg_appendChild_d318db34c4559916=function(){return D((function(e,n){return d(f(e).appendChild(f(n)))}),arguments)},c.wbg.__wbg_instanceof_SvgsvgElement_631275f115d8f8e3=function(e){return f(e)instanceof SVGSVGElement},c.wbg.__wbg_createSVGMatrix_037d6368ea06b02d=function(e){return d(f(e).createSVGMatrix())},c.wbg.__wbg_protocol_f17adabd4e662b06=function(){return D((function(e,n){var _=p(f(n).protocol,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_}),arguments)},c.wbg.__wbg_assign_26269af9ce90e6c7=function(){return D((function(e,n,_){f(e).assign(w(n,_))}),arguments)},c.wbg.__wbg_new_a3422e0170c31454=function(){return D((function(){return d(new Path2D)}),arguments)},c.wbg.__wbg_addPath_18881cd56483fe63=function(e,n,_){f(e).addPath(f(n),f(_))},c.wbg.__wbg_closePath_bf39ada268053aea=function(e){f(e).closePath()},c.wbg.__wbg_lineTo_4d75fbab7308c3d2=function(e,n,_){f(e).lineTo(n,_)},c.wbg.__wbg_moveTo_70f7a4760893f917=function(e,n,_){f(e).moveTo(n,_)},c.wbg.__wbg_quadraticCurveTo_7724e01d766ebfe2=function(e,n,_,t,r){f(e).quadraticCurveTo(n,_,t,r)},c.wbg.__wbg_get_f0092ad67dc97639=function(){return D((function(e,n,_,t){var r=f(n)[w(_,t)],c=v(r)?0:p(r,b.__wbindgen_malloc,b.__wbindgen_realloc),u=s;h()[e/4+1]=u,h()[e/4+0]=c}),arguments)},c.wbg.__wbg_set_3a236a97145dc780=function(){return D((function(e,n,_,t,r){f(e)[w(n,_)]=w(t,r)}),arguments)},c.wbg.__wbg_delete_881ab2d2a830b82f=function(){return D((function(e,n,_){delete f(e)[w(n,_)]}),arguments)},c.wbg.__wbg_length_b398b347bd3c9cd5=function(e){return f(e).length},c.wbg.__wbg_setTransform_3f9fc1784a580fff=function(e,n){f(e).setTransform(f(n))},c.wbg.__wbg_setProperty_1460c660bc329763=function(){return D((function(e,n,_,t,r){f(e).setProperty(w(n,_),w(t,r))}),arguments)},c.wbg.__wbg_offsetX_5da3ebf8a8cda8a4=function(e){return f(e).offsetX},c.wbg.__wbg_offsetY_b0edbc16723a55cb=function(e){return f(e).offsetY},c.wbg.__wbg_button_a02c0467d38e8338=function(e){return f(e).button},c.wbg.__wbg_bindVertexArrayOES_7104c80fb0d31cb0=function(e,n){f(e).bindVertexArrayOES(f(n))},c.wbg.__wbg_createVertexArrayOES_ced4f8a084b789b7=function(e){var n=f(e).createVertexArrayOES();return v(n)?0:d(n)},c.wbg.__wbg_deltaY_080604c20160c0e8=function(e){return f(e).deltaY},c.wbg.__wbg_deltaMode_c5ec1ee518ea0a08=function(e){return f(e).deltaMode},c.wbg.__wbg_connect_723cc4823fe3e6c0=function(){return D((function(e,n){return d(f(e).connect(f(n)))}),arguments)},c.wbg.__wbg_connect_cb8dcaafd6d14fe4=function(){return D((function(e,n,_){return d(f(e).connect(f(n),_>>>0))}),arguments)},c.wbg.__wbg_connect_eb8fcb61cab88f0b=function(){return D((function(e,n,_,t){return d(f(e).connect(f(n),_>>>0,t>>>0))}),arguments)},c.wbg.__wbg_disconnect_661941cf5b88fa5a=function(){return D((function(e){f(e).disconnect()}),arguments)},c.wbg.__wbg_instanceof_HtmlFormElement_aeafa27e92962efa=function(e){return f(e)instanceof HTMLFormElement},c.wbg.__wbg_submit_7479ea6e99f76174=function(){return D((function(e){f(e).submit()}),arguments)},c.wbg.__wbg_instanceof_Response_e1b11afbefa5b563=function(e){return f(e)instanceof Response},c.wbg.__wbg_ok_270f6d403efe7e7b=function(e){return f(e).ok},c.wbg.__wbg_statusText_97740db9b8bb12e3=function(e,n){var _=p(f(n).statusText,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbg_arrayBuffer_b8937ed04beb0d36=function(){return D((function(e){return d(f(e).arrayBuffer())}),arguments)},c.wbg.__wbg_seta_f5667df13832f473=function(e,n){f(e).a=n},c.wbg.__wbg_setb_51b68c87004ceb92=function(e,n){f(e).b=n},c.wbg.__wbg_setc_62d7a8abc0082fcc=function(e,n){f(e).c=n},c.wbg.__wbg_setd_544fd4902db40bca=function(e,n){f(e).d=n},c.wbg.__wbg_sete_a3575dd88c8f17a3=function(e,n){f(e).e=n},c.wbg.__wbg_setf_956eaea5b3047302=function(e,n){f(e).f=n},c.wbg.__wbg_setbuffer_c643a88bac27b2bd=function(e,n){f(e).buffer=f(n)},c.wbg.__wbg_setloop_32c84ea32fabef74=function(e,n){f(e).loop=0!==n},c.wbg.__wbg_setloopStart_a113b4d478da7f93=function(e,n){f(e).loopStart=n},c.wbg.__wbg_setloopEnd_b83c2563fe5be665=function(e,n){f(e).loopEnd=n},c.wbg.__wbg_setonended_6ce8715add45953e=function(e,n){f(e).onended=f(n)},c.wbg.__wbg_start_551bedf1ecfdc0e2=function(){return D((function(e){f(e).start()}),arguments)},c.wbg.__wbg_start_885262ec460f3ef3=function(){return D((function(e,n,_){f(e).start(n,_)}),arguments)},c.wbg.__wbg_stop_c6532de1aeb2e765=function(){return D((function(e,n){f(e).stop(n)}),arguments)},c.wbg.__wbg_outputBuffer_3f27dc3af0998ec9=function(){return D((function(e){return d(f(e).outputBuffer)}),arguments)},c.wbg.__wbg_now_559193109055ebad=function(e){return f(e).now()},c.wbg.__wbg_pointerId_9302f0e125f0b48e=function(e){return f(e).pointerId},c.wbg.__wbg_currentTarget_65309531208d5df3=function(e){var n=f(e).currentTarget;return v(n)?0:d(n)},c.wbg.__wbg_preventDefault_9866c9fd51eecfb6=function(e){f(e).preventDefault()},c.wbg.__wbg_setsrc_3eb04f553f8335c7=function(e,n,_){f(e).src=w(n,_)},c.wbg.__wbg_new_265b3e027a3022bd=function(){return D((function(){return d(new Image)}),arguments)},c.wbg.__wbg_key_10dcaa4bb6d5449f=function(e,n){var _=p(f(n).key,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbg_code_1c2fd251f38b398a=function(e,n){var _=p(f(n).code,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbg_newwithstrandinit_9b0fa00478c37287=function(){return D((function(e,n,_){return d(new Request(w(e,n),f(_)))}),arguments)},c.wbg.__wbg_setonaudioprocess_4334efc34353560d=function(e,n){f(e).onaudioprocess=f(n)},c.wbg.__wbg_body_78ae4fd43b446013=function(e){var n=f(e).body;return v(n)?0:d(n)},c.wbg.__wbg_createElement_86c152812a141a62=function(){return D((function(e,n,_){return d(f(e).createElement(w(n,_)))}),arguments)},c.wbg.__wbg_createElementNS_ae12b8681c3957a3=function(){return D((function(e,n,_,t,r){return d(f(e).createElementNS(0===n?void 0:w(n,_),w(t,r)))}),arguments)},c.wbg.__wbg_setid_681bb5a14c3d5850=function(e,n,_){f(e).id=w(n,_)},c.wbg.__wbg_clientWidth_4d9e01af2b5b9f21=function(e){return f(e).clientWidth},c.wbg.__wbg_clientHeight_87c209f0cacf2e97=function(e){return f(e).clientHeight},c.wbg.__wbg_querySelector_dc71838110c91f39=function(){return D((function(e,n,_){var t=f(e).querySelector(w(n,_));return v(t)?0:d(t)}),arguments)},c.wbg.__wbg_releasePointerCapture_326599f769b49681=function(){return D((function(e,n){f(e).releasePointerCapture(n)}),arguments)},c.wbg.__wbg_setAttribute_1b533bf07966de55=function(){return D((function(e,n,_,t,r){f(e).setAttribute(w(n,_),w(t,r))}),arguments)},c.wbg.__wbg_setAttributeNS_92db6decf2ec8400=function(){return D((function(e,n,_,t,r,b,c){f(e).setAttributeNS(0===n?void 0:w(n,_),w(t,r),w(b,c))}),arguments)},c.wbg.__wbg_setPointerCapture_bd3244d9f008798f=function(){return D((function(e,n){f(e).setPointerCapture(n)}),arguments)},c.wbg.__wbg_remove_c63cabc94a77cacb=function(e){f(e).remove()},c.wbg.__wbg_instanceof_WebGlRenderingContext_101b938bec1286a3=function(e){return f(e)instanceof WebGLRenderingContext},c.wbg.__wbg_drawingBufferWidth_8b0c2b31d9d6eee7=function(e){return f(e).drawingBufferWidth},c.wbg.__wbg_drawingBufferHeight_f62678018bab567c=function(e){return f(e).drawingBufferHeight},c.wbg.__wbg_bufferData_2f9be23b37e5a1a4=function(e,n,_,t,r){f(e).bufferData(n>>>0,j(_,t),r>>>0)},c.wbg.__wbg_texImage2D_712c56fe5a9825ed=function(){return D((function(e,n,_,t,r,b,c,u,o,a,i){f(e).texImage2D(n>>>0,_,t,r,b,c,u>>>0,o>>>0,0===a?void 0:j(a,i))}),arguments)},c.wbg.__wbg_uniform1fv_02b26dddaa3ea984=function(e,n,_,t){f(e).uniform1fv(f(n),W(_,t))},c.wbg.__wbg_uniform4fv_ca394beb323215c6=function(e,n,_,t){f(e).uniform4fv(f(n),W(_,t))},c.wbg.__wbg_uniformMatrix3fv_340429fe0911bc6f=function(e,n,_,t,r){f(e).uniformMatrix3fv(f(n),0!==_,W(t,r))},c.wbg.__wbg_uniformMatrix4fv_a92133b68236ac68=function(e,n,_,t,r){f(e).uniformMatrix4fv(f(n),0!==_,W(t,r))},c.wbg.__wbg_activeTexture_b34aca0c2110966c=function(e,n){f(e).activeTexture(n>>>0)},c.wbg.__wbg_attachShader_eaa824fd5b37a770=function(e,n,_){f(e).attachShader(f(n),f(_))},c.wbg.__wbg_bindBuffer_2ca7e1c18819ecb2=function(e,n,_){f(e).bindBuffer(n>>>0,f(_))},c.wbg.__wbg_bindFramebuffer_c9f468afa9d42a5f=function(e,n,_){f(e).bindFramebuffer(n>>>0,f(_))},c.wbg.__wbg_bindRenderbuffer_7b2b49f71f3eeef9=function(e,n,_){f(e).bindRenderbuffer(n>>>0,f(_))},c.wbg.__wbg_bindTexture_edd827f3dba6038e=function(e,n,_){f(e).bindTexture(n>>>0,f(_))},c.wbg.__wbg_blendFunc_d5ab9f0ff5a40a48=function(e,n,_){f(e).blendFunc(n>>>0,_>>>0)},c.wbg.__wbg_clear_da26620d46f0a11a=function(e,n){f(e).clear(n>>>0)},c.wbg.__wbg_clearColor_cbf22f8faa5a52c1=function(e,n,_,t,r){f(e).clearColor(n,_,t,r)},c.wbg.__wbg_colorMask_035708eb94fe9af8=function(e,n,_,t,r){f(e).colorMask(0!==n,0!==_,0!==t,0!==r)},c.wbg.__wbg_compileShader_8fb70a472f32552c=function(e,n){f(e).compileShader(f(n))},c.wbg.__wbg_createBuffer_4802e2f0e1b1acdf=function(e){var n=f(e).createBuffer();return v(n)?0:d(n)},c.wbg.__wbg_createProgram_b1d94f4c7554d3a1=function(e){var n=f(e).createProgram();return v(n)?0:d(n)},c.wbg.__wbg_createShader_da09e167692f0dc7=function(e,n){var _=f(e).createShader(n>>>0);return v(_)?0:d(_)},c.wbg.__wbg_createTexture_bafc7c08393ae59d=function(e){var n=f(e).createTexture();return v(n)?0:d(n)},c.wbg.__wbg_disable_b07faddb7d04349f=function(e,n){f(e).disable(n>>>0)},c.wbg.__wbg_disableVertexAttribArray_c9fdabd5f12b0539=function(e,n){f(e).disableVertexAttribArray(n>>>0)},c.wbg.__wbg_drawElements_8e8af4b6757fedce=function(e,n,_,t,r){f(e).drawElements(n>>>0,_,t>>>0,r)},c.wbg.__wbg_enable_d3d210aeb08eff52=function(e,n){f(e).enable(n>>>0)},c.wbg.__wbg_enableVertexAttribArray_d539e547495bea44=function(e,n){f(e).enableVertexAttribArray(n>>>0)},c.wbg.__wbg_getAttribLocation_706a0beabcdaebcf=function(e,n,_,t){return f(e).getAttribLocation(f(n),w(_,t))},c.wbg.__wbg_getExtension_045789240c50a108=function(){return D((function(e,n,_){var t=f(e).getExtension(w(n,_));return v(t)?0:d(t)}),arguments)},c.wbg.__wbg_getParameter_6412bd2d0602696d=function(){return D((function(e,n){return d(f(e).getParameter(n>>>0))}),arguments)},c.wbg.__wbg_getProgramInfoLog_b60e82d52c200cbd=function(e,n,_){var t=f(n).getProgramInfoLog(f(_)),r=v(t)?0:p(t,b.__wbindgen_malloc,b.__wbindgen_realloc),c=s;h()[e/4+1]=c,h()[e/4+0]=r},c.wbg.__wbg_getProgramParameter_229c193895936bbe=function(e,n,_){return d(f(e).getProgramParameter(f(n),_>>>0))},c.wbg.__wbg_getShaderInfoLog_ba51160c01b98360=function(e,n,_){var t=f(n).getShaderInfoLog(f(_)),r=v(t)?0:p(t,b.__wbindgen_malloc,b.__wbindgen_realloc),c=s;h()[e/4+1]=c,h()[e/4+0]=r},c.wbg.__wbg_getUniformLocation_c3b3570b4632cc5c=function(e,n,_,t){var r=f(e).getUniformLocation(f(n),w(_,t));return v(r)?0:d(r)},c.wbg.__wbg_linkProgram_7080c84b0233cea2=function(e,n){f(e).linkProgram(f(n))},c.wbg.__wbg_pixelStorei_3cd96723ae22a5c6=function(e,n,_){f(e).pixelStorei(n>>>0,_)},c.wbg.__wbg_shaderSource_67b991301db003d0=function(e,n,_,t){f(e).shaderSource(f(n),w(_,t))},c.wbg.__wbg_stencilFunc_bbc24750c2db9a15=function(e,n,_,t){f(e).stencilFunc(n>>>0,_,t>>>0)},c.wbg.__wbg_stencilMask_0ec7662710f598d4=function(e,n){f(e).stencilMask(n>>>0)},c.wbg.__wbg_stencilOp_fd4ec71a7de6ac85=function(e,n,_,t){f(e).stencilOp(n>>>0,_>>>0,t>>>0)},c.wbg.__wbg_texParameteri_bd724f6a5ad0cbbc=function(e,n,_,t){f(e).texParameteri(n>>>0,_>>>0,t)},c.wbg.__wbg_uniform1f_b9cff1cea32def5a=function(e,n,_){f(e).uniform1f(f(n),_)},c.wbg.__wbg_uniform1i_0811c29c0eebe191=function(e,n,_){f(e).uniform1i(f(n),_)},c.wbg.__wbg_useProgram_b72b0bfcbc720fa9=function(e,n){f(e).useProgram(f(n))},c.wbg.__wbg_vertexAttribPointer_b5cb524c6fe9eec8=function(e,n,_,t,r,b,c){f(e).vertexAttribPointer(n>>>0,_,t>>>0,0!==r,b,c)},c.wbg.__wbg_viewport_89af3aceb7036a2c=function(e,n,_,t,r){f(e).viewport(n,_,t,r)},c.wbg.__wbg_debug_675b0ecb65722d2a=function(e){console.debug(f(e))},c.wbg.__wbg_error_cc38ce2b4b661e1d=function(e){console.error(f(e))},c.wbg.__wbg_info_e0c9813e6fd3bdc1=function(e){console.info(f(e))},c.wbg.__wbg_log_3445347661d4505e=function(e){console.log(f(e))},c.wbg.__wbg_warn_5ec7c7c02d0b3841=function(e){console.warn(f(e))},c.wbg.__wbg_style_c88e323890d3a091=function(e){return d(f(e).style)},c.wbg.__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae=function(e){return f(e)instanceof CanvasRenderingContext2D},c.wbg.__wbg_setglobalAlpha_27b14e5f5b7567ec=function(e,n){f(e).globalAlpha=n},c.wbg.__wbg_setglobalCompositeOperation_c650e9805cc6316f=function(){return D((function(e,n,_){f(e).globalCompositeOperation=w(n,_)}),arguments)},c.wbg.__wbg_setstrokeStyle_947bd4c26c94673f=function(e,n){f(e).strokeStyle=f(n)},c.wbg.__wbg_setfillStyle_528a6a267c863ae7=function(e,n){f(e).fillStyle=f(n)},c.wbg.__wbg_setfilter_3d48443a4a710be8=function(e,n,_){f(e).filter=w(n,_)},c.wbg.__wbg_setimageSmoothingEnabled_92d14a22667eae22=function(e,n){f(e).imageSmoothingEnabled=0!==n},c.wbg.__wbg_setlineWidth_3221b7818c00ed48=function(e,n){f(e).lineWidth=n},c.wbg.__wbg_setlineCap_5284a001e1efcecd=function(e,n,_){f(e).lineCap=w(n,_)},c.wbg.__wbg_setlineJoin_a6af4e7d24a3a67e=function(e,n,_){f(e).lineJoin=w(n,_)},c.wbg.__wbg_setmiterLimit_9fa0d72650341727=function(e,n){f(e).miterLimit=n},c.wbg.__wbg_drawImage_5e8203c5b210fce3=function(){return D((function(e,n,_,t){f(e).drawImage(f(n),_,t)}),arguments)},c.wbg.__wbg_drawImage_9492b361f8b31282=function(){return D((function(e,n,_,t){f(e).drawImage(f(n),_,t)}),arguments)},c.wbg.__wbg_fill_75988ff43d6e3499=function(e,n,_){f(e).fill(f(n),o(_))},c.wbg.__wbg_stroke_d91ac76d5b1eb792=function(e,n){f(e).stroke(f(n))},c.wbg.__wbg_createPattern_1d0b3c3750c8448c=function(){return D((function(e,n,_,t){var r=f(e).createPattern(f(n),w(_,t));return v(r)?0:d(r)}),arguments)},c.wbg.__wbg_createPattern_b824d17776fa1f1e=function(){return D((function(e,n,_,t){var r=f(e).createPattern(f(n),w(_,t));return v(r)?0:d(r)}),arguments)},c.wbg.__wbg_getImageData_9ffc3df78ca3dbc9=function(){return D((function(e,n,_,t,r){return d(f(e).getImageData(n,_,t,r))}),arguments)},c.wbg.__wbg_putImageData_b9544b271e569392=function(){return D((function(e,n,_,t){f(e).putImageData(f(n),_,t)}),arguments)},c.wbg.__wbg_clearRect_07caefec3496ced1=function(e,n,_,t,r){f(e).clearRect(n,_,t,r)},c.wbg.__wbg_fillRect_10e42dc7a5e8cccd=function(e,n,_,t,r){f(e).fillRect(n,_,t,r)},c.wbg.__wbg_resetTransform_26f86c1cc48a4fae=function(){return D((function(e){f(e).resetTransform()}),arguments)},c.wbg.__wbg_setTransform_8ffd6a5c85396174=function(){return D((function(e,n,_,t,r,b,c){f(e).setTransform(n,_,t,r,b,c)}),arguments)},c.wbg.__wbg_newwithbuffersourcesequenceandoptions_2b60b470c130cb1a=function(){return D((function(e,n){return d(new Blob(f(e),f(n)))}),arguments)},c.wbg.__wbg_addEventListener_52721772cc0a7f30=function(){return D((function(e,n,_,t){f(e).addEventListener(w(n,_),f(t))}),arguments)},c.wbg.__wbg_addEventListener_09e11fbf8b4b719b=function(){return D((function(e,n,_,t,r){f(e).addEventListener(w(n,_),f(t),f(r))}),arguments)},c.wbg.__wbg_addEventListener_0ed522a6d9900d5d=function(){return D((function(e,n,_,t,r){f(e).addEventListener(w(n,_),f(t),0!==r)}),arguments)},c.wbg.__wbg_removeEventListener_f2adc9b2b318de99=function(){return D((function(e,n,_,t){f(e).removeEventListener(w(n,_),f(t))}),arguments)},c.wbg.__wbg_removeEventListener_24d5a7c12c3f3c39=function(){return D((function(e,n,_,t,r){f(e).removeEventListener(w(n,_),f(t),0!==r)}),arguments)},c.wbg.__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e=function(e){return f(e)instanceof HTMLCanvasElement},c.wbg.__wbg_width_555f63ab09ba7d3f=function(e){return f(e).width},c.wbg.__wbg_setwidth_c1a7061891b71f25=function(e,n){f(e).width=n>>>0},c.wbg.__wbg_height_7153faec70fbaf7b=function(e){return f(e).height},c.wbg.__wbg_setheight_88894b05710ff752=function(e,n){f(e).height=n>>>0},c.wbg.__wbg_getContext_f701d0231ae22393=function(){return D((function(e,n,_){var t=f(e).getContext(w(n,_));return v(t)?0:d(t)}),arguments)},c.wbg.__wbg_getContext_3e21e21280a332fc=function(){return D((function(e,n,_,t){var r=f(e).getContext(w(n,_),f(t));return v(r)?0:d(r)}),arguments)},c.wbg.__wbg_width_16bd64d09cbf5661=function(e){return f(e).width},c.wbg.__wbg_height_368bb86c37d51bc9=function(e){return f(e).height},c.wbg.__wbg_data_1ae7496c58caf755=function(e,n){var _=function(e,n){const _=n(1*e.length);return g().set(e,_/1),s=e.length,_}(f(n).data,b.__wbindgen_malloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbg_newwithu8clampedarray_45da2809f7882d12=function(){return D((function(e,n,_){return d(new ImageData(q(e,n),_>>>0))}),arguments)},c.wbg.__wbg_userAgent_bdd46cceef222f52=function(){return D((function(e,n){var _=p(f(n).userAgent,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_}),arguments)},c.wbg.__wbg_get_67189fe0b323d288=function(e,n){return d(f(e)[n>>>0])},c.wbg.__wbg_new_949bbc1147195c4e=function(){return d(new Array)},c.wbg.__wbg_newnoargs_be86524d73f67598=function(e,n){return d(new Function(w(e,n)))},c.wbg.__wbg_next_7720502039b96d00=function(){return D((function(e){return d(f(e).next())}),arguments)},c.wbg.__wbg_done_b06cf0578e89ff68=function(e){return f(e).done},c.wbg.__wbg_value_e74a542443d92451=function(e){return d(f(e).value)},c.wbg.__wbg_get_4d0f21c2f823742e=function(){return D((function(e,n){return d(Reflect.get(f(e),f(n)))}),arguments)},c.wbg.__wbg_call_888d259a5fefc347=function(){return D((function(e,n){return d(f(e).call(f(n)))}),arguments)},c.wbg.__wbg_new_0b83d3df67ecb33e=function(){return d(new Object)},c.wbg.__wbg_isArray_eb7ad55f2da67dde=function(e){return Array.isArray(f(e))},c.wbg.__wbg_of_db9e1b8e0a7ed9bc=function(e,n){return d(Array.of(f(e),f(n)))},c.wbg.__wbg_push_284486ca27c6aa8b=function(e,n){return f(e).push(f(n))},c.wbg.__wbg_instanceof_ArrayBuffer_764b6d4119231cb3=function(e){return f(e)instanceof ArrayBuffer},c.wbg.__wbg_new_3e02a228090b2e72=function(e){return d(new ArrayBuffer(e>>>0))},c.wbg.__wbg_slice_dcc477bca8fe38b1=function(e,n,_){return d(f(e).slice(n>>>0,_>>>0))},c.wbg.__wbg_values_364ae56c608e6824=function(e){return d(f(e).values())},c.wbg.__wbg_apply_7cfa6ebf144990a5=function(){return D((function(e,n,_){return d(f(e).apply(f(n),f(_)))}),arguments)},c.wbg.__wbg_call_346669c262382ad7=function(){return D((function(e,n,_){return d(f(e).call(f(n),f(_)))}),arguments)},c.wbg.__wbg_getTime_10d33f4f2959e5dd=function(e){return f(e).getTime()},c.wbg.__wbg_getTimezoneOffset_d3e5a22a1b7fb1d8=function(e){return f(e).getTimezoneOffset()},c.wbg.__wbg_new0_fd3a3a290b25cdac=function(){return d(new Date)},c.wbg.__wbg_instanceof_Object_66786225e0dbc8ba=function(e){return f(e)instanceof Object},c.wbg.__wbg_entries_aadf9c3f38203a12=function(e){return d(Object.entries(f(e)))},c.wbg.__wbg_fromEntries_164ebf0f69983a8e=function(){return D((function(e){return d(Object.fromEntries(f(e)))}),arguments)},c.wbg.__wbg_is_0f5efc7977a2c50b=function(e,n){return Object.is(f(e),f(n))},c.wbg.__wbg_new_b1d61b5687f5e73a=function(e,n){try{var _={a:e,b:n},t=new Promise(((e,n)=>{const t=_.a;_.a=0;try{return function(e,n,_,t){b.wasm_bindgen__convert__closures__invoke2_mut__hca44cfcccf347cf6(e,n,d(_),d(t))}(t,_.b,e,n)}finally{_.a=t}}));return d(t)}finally{_.a=_.b=0}},c.wbg.__wbg_resolve_d23068002f584f22=function(e){return d(Promise.resolve(f(e)))},c.wbg.__wbg_then_2fcac196782070cc=function(e,n){return d(f(e).then(f(n)))},c.wbg.__wbg_then_8c2d62e8ae5978f7=function(e,n,_){return d(f(e).then(f(n),f(_)))},c.wbg.__wbg_self_c6fbdfc2918d5e58=function(){return D((function(){return d(self.self)}),arguments)},c.wbg.__wbg_window_baec038b5ab35c54=function(){return D((function(){return d(window.window)}),arguments)},c.wbg.__wbg_globalThis_3f735a5746d41fbd=function(){return D((function(){return d(globalThis.globalThis)}),arguments)},c.wbg.__wbg_global_1bc0b39582740e95=function(){return D((function(){return d(_.g.global)}),arguments)},c.wbg.__wbg_buffer_397eaa4d72ee94dd=function(e){return d(f(e).buffer)},c.wbg.__wbg_newwithbyteoffsetandlength_4b9b8c4e3f5adbff=function(e,n,_){return d(new Uint8Array(f(e),n>>>0,_>>>0))},c.wbg.__wbg_new_a7ce447f15ff496f=function(e){return d(new Uint8Array(f(e)))},c.wbg.__wbg_set_969ad0a60e51d320=function(e,n,_){f(e).set(f(n),_>>>0)},c.wbg.__wbg_length_1eb8fc608a0d4cdb=function(e){return f(e).length},c.wbg.__wbg_newwithlength_929232475839a482=function(e){return d(new Uint8Array(e>>>0))},c.wbg.__wbg_fill_cd6951964c67ad3a=function(e,n,_,t){return d(f(e).fill(n,_>>>0,t>>>0))},c.wbg.__wbg_buffer_facf0398a281c85b=function(e){return d(f(e).buffer)},c.wbg.__wbg_subarray_8b658422a224f479=function(e,n,_){return d(f(e).subarray(n>>>0,_>>>0))},c.wbg.__wbg_byteLength_3e250b41a8915757=function(e){return f(e).byteLength},c.wbg.__wbg_byteOffset_4204ecb24a6e5df9=function(e){return f(e).byteOffset},c.wbg.__wbg_ownKeys_f3f1916b5564918f=function(){return D((function(e){return d(Reflect.ownKeys(f(e)))}),arguments)},c.wbg.__wbg_set_82a4e8a85e31ac42=function(){return D((function(e,n,_){return Reflect.set(f(e),f(n),f(_))}),arguments)},c.wbg.__wbindgen_debug_string=function(e,n){var _=p(A(f(n)),b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbindgen_throw=function(e,n){throw new Error(w(e,n))},c.wbg.__wbindgen_rethrow=function(e){throw o(e)},c.wbg.__wbindgen_memory=function(){return d(b.memory)},c.wbg.__wbindgen_closure_wrapper451=function(e,n,_){return d(S(e,n,10,C))},c.wbg.__wbindgen_closure_wrapper452=function(e,n,_){return d(S(e,n,10,T))},c.wbg.__wbindgen_closure_wrapper453=function(e,n,_){return d(S(e,n,10,R))},c.wbg.__wbindgen_closure_wrapper454=function(e,n,_){return d(S(e,n,10,E))},c.wbg.__wbindgen_closure_wrapper455=function(e,n,_){return d(S(e,n,10,F))},c.wbg.__wbindgen_closure_wrapper456=function(e,n,_){return d(S(e,n,10,P))},c.wbg.__wbindgen_closure_wrapper457=function(e,n,_){return d(S(e,n,10,k))},c.wbg.__wbindgen_closure_wrapper458=function(e,n,_){return d(S(e,n,10,M))},c.wbg.__wbindgen_closure_wrapper1936=function(e,n,_){return d(S(e,n,908,O))},("string"==typeof n||"function"==typeof Request&&n instanceof Request||"function"==typeof URL&&n instanceof URL)&&(n=fetch(n));const{instance:u,module:a}=await async function(e,n){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,n)}catch(n){if("application/wasm"==e.headers.get("Content-Type"))throw n;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n)}const _=await e.arrayBuffer();return await WebAssembly.instantiate(_,n)}{const _=await WebAssembly.instantiate(e,n);return _ instanceof WebAssembly.Instance?{instance:_,module:e}:_}}(await n,c);return b=u.exports,e.__wbindgen_wasm_module=a,b}},931:(e,n,_)=>{e.exports=_.p+"42d2e43fcfeb698b9644.wasm"}}]); +//# sourceMappingURL=core.ruffle.c03ed0fdc692d589502d.js.map \ No newline at end of file diff --git a/js/core.ruffle.c03ed0fdc692d589502d.js.map b/js/core.ruffle.c03ed0fdc692d589502d.js.map new file mode 100644 index 0000000..226c137 --- /dev/null +++ b/js/core.ruffle.c03ed0fdc692d589502d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"core.ruffle.c03ed0fdc692d589502d.js","mappings":"oHAYO,SAASA,EAAkBC,EAAaC,EAAUC,GACjDD,GACkBD,EAAYG,eAAe,GACnCC,IAAIH,GAEdC,GACkBF,EAAYG,eAAe,GACnCC,IAAIF,GAUf,SAASG,EAAwBC,GACpC,IAAIC,EAAIC,EACR,MAAMC,EAAkD,QAArCF,EAAKD,EAAQI,0BAAuC,IAAPH,OAAgB,EAASA,EAAGI,KAAKL,GACjG,OAA8F,QAAtFE,EAAKC,MAAAA,OAA6C,EAASA,EAAUG,mBAAgC,IAAPJ,EAAgBA,EAAKF,EA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B,EAAKujB,uBAAyBxf,EAEvBzO,I","sources":["webpack://ruffle-selfhosted/../core/pkg/ruffle-imports.js","webpack://ruffle-selfhosted/../core/pkg/ruffle_web.js"],"sourcesContent":["/**\n * Functions imported from JS into Ruffle.\n *\n * @ignore\n * @internal\n */\n/**\n * Copies data into the given audio channel.\n * This is necessary because Safari does not support `AudioBuffer.copyToChannel`.\n *\n * @internal\n */\nexport function copyToAudioBuffer(audioBuffer, leftData, rightData) {\n if (leftData) {\n const dstBuffer = audioBuffer.getChannelData(0);\n dstBuffer.set(leftData);\n }\n if (rightData) {\n const dstBuffer = audioBuffer.getChannelData(1);\n dstBuffer.set(rightData);\n }\n}\n/**\n * Returns `AudioContext.getOutputTimestamp`, defaulting to `context.currentTime` if\n * `getOutputTimestamp` is unavailable. This is necessary because `web-sys` does not yet export\n * `AudioBuffer.copyToChannel`.\n *\n * @internal\n */\nexport function getAudioOutputTimestamp(context) {\n var _a, _b;\n const timestamp = (_a = context.getOutputTimestamp) === null || _a === void 0 ? void 0 : _a.call(context);\n return (_b = timestamp === null || timestamp === void 0 ? void 0 : timestamp.contextTime) !== null && _b !== void 0 ? _b : context.currentTime - context.baseLatency;\n}\n","import { copyToAudioBuffer, getAudioOutputTimestamp } from './ruffle-imports.js';\n\nconst lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined));\nlet wasm;\n\nconst heap = new Array(32).fill(undefined);\n\nheap.push(undefined, null, true, false);\n\nfunction getObject(idx) { return heap[idx]; }\n\nlet heap_next = heap.length;\n\nfunction dropObject(idx) {\n if (idx < 36) return;\n heap[idx] = heap_next;\n heap_next = idx;\n}\n\nfunction takeObject(idx) {\n const ret = getObject(idx);\n dropObject(idx);\n return ret;\n}\n\nlet cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n\ncachedTextDecoder.decode();\n\nlet cachegetUint8Memory0 = null;\nfunction getUint8Memory0() {\n if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {\n cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachegetUint8Memory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));\n}\n\nfunction addHeapObject(obj) {\n if (heap_next === heap.length) heap.push(heap.length + 1);\n const idx = heap_next;\n heap_next = heap[idx];\n\n heap[idx] = obj;\n return idx;\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nlet cachedTextEncoder = new TextEncoder('utf-8');\n\nconst encodeString = (typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n}\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n});\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length);\n getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len);\n\n const mem = getUint8Memory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3);\n const view = getUint8Memory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nlet cachegetInt32Memory0 = null;\nfunction getInt32Memory0() {\n if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {\n cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);\n }\n return cachegetInt32Memory0;\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nlet cachegetFloat64Memory0 = null;\nfunction getFloat64Memory0() {\n if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {\n cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);\n }\n return cachegetFloat64Memory0;\n}\n\nfunction debugString(val) {\n // primitive types\n const type = typeof val;\n if (type == 'number' || type == 'boolean' || val == null) {\n return `${val}`;\n }\n if (type == 'string') {\n return `\"${val}\"`;\n }\n if (type == 'symbol') {\n const description = val.description;\n if (description == null) {\n return 'Symbol';\n } else {\n return `Symbol(${description})`;\n }\n }\n if (type == 'function') {\n const name = val.name;\n if (typeof name == 'string' && name.length > 0) {\n return `Function(${name})`;\n } else {\n return 'Function';\n }\n }\n // objects\n if (Array.isArray(val)) {\n const length = val.length;\n let debug = '[';\n if (length > 0) {\n debug += debugString(val[0]);\n }\n for(let i = 1; i < length; i++) {\n debug += ', ' + debugString(val[i]);\n }\n debug += ']';\n return debug;\n }\n // Test for built-in\n const builtInMatches = /\\[object ([^\\]]+)\\]/.exec(toString.call(val));\n let className;\n if (builtInMatches.length > 1) {\n className = builtInMatches[1];\n } else {\n // Failed to match the standard '[object ClassName]'\n return toString.call(val);\n }\n if (className == 'Object') {\n // we're a user defined class or Object\n // JSON.stringify avoids problems with cycles, and is generally much\n // easier than looping through ownProperties of `val`.\n try {\n return 'Object(' + JSON.stringify(val) + ')';\n } catch (_) {\n return 'Object';\n }\n }\n // errors\n if (val instanceof Error) {\n return `${val.name}: ${val.message}\\n${val.stack}`;\n }\n // TODO we could test for more things here, like `Set`s and `Map`s.\n return className;\n}\n\nfunction makeMutClosure(arg0, arg1, dtor, f) {\n const state = { a: arg0, b: arg1, cnt: 1, dtor };\n const real = (...args) => {\n // First up with a closure we increment the internal reference\n // count. This ensures that the Rust closure environment won't\n // be deallocated while we're invoking it.\n state.cnt++;\n const a = state.a;\n state.a = 0;\n try {\n return f(a, state.b, ...args);\n } finally {\n if (--state.cnt === 0) {\n wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);\n\n } else {\n state.a = a;\n }\n }\n };\n real.original = state;\n\n return real;\n}\nfunction __wbg_adapter_38(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_41(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_44(arg0, arg1) {\n wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2b29ce5f03a3005f(arg0, arg1);\n}\n\nfunction __wbg_adapter_47(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_50(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h14840cb9b3b797cb(arg0, arg1, arg2);\n}\n\nfunction __wbg_adapter_53(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_56(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_59(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_62(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6769736ffe94a981(arg0, arg1, addHeapObject(arg2));\n}\n\nlet cachegetFloat32Memory0 = null;\nfunction getFloat32Memory0() {\n if (cachegetFloat32Memory0 === null || cachegetFloat32Memory0.buffer !== wasm.memory.buffer) {\n cachegetFloat32Memory0 = new Float32Array(wasm.memory.buffer);\n }\n return cachegetFloat32Memory0;\n}\n\nfunction getArrayF32FromWasm0(ptr, len) {\n return getFloat32Memory0().subarray(ptr / 4, ptr / 4 + len);\n}\n\nfunction handleError(f, args) {\n try {\n return f.apply(this, args);\n } catch (e) {\n wasm.__wbindgen_exn_store(addHeapObject(e));\n }\n}\n\nlet stack_pointer = 32;\n\nfunction addBorrowedObject(obj) {\n if (stack_pointer == 1) throw new Error('out of js stack');\n heap[--stack_pointer] = obj;\n return stack_pointer;\n}\n\nlet cachegetUint32Memory0 = null;\nfunction getUint32Memory0() {\n if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {\n cachegetUint32Memory0 = new Uint32Array(wasm.memory.buffer);\n }\n return cachegetUint32Memory0;\n}\n\nfunction passArrayJsValueToWasm0(array, malloc) {\n const ptr = malloc(array.length * 4);\n const mem = getUint32Memory0();\n for (let i = 0; i < array.length; i++) {\n mem[ptr / 4 + i] = addHeapObject(array[i]);\n }\n WASM_VECTOR_LEN = array.length;\n return ptr;\n}\n\nfunction getArrayU8FromWasm0(ptr, len) {\n return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);\n}\n\nfunction passArray8ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 1);\n getUint8Memory0().set(arg, ptr / 1);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n\nlet cachegetUint8ClampedMemory0 = null;\nfunction getUint8ClampedMemory0() {\n if (cachegetUint8ClampedMemory0 === null || cachegetUint8ClampedMemory0.buffer !== wasm.memory.buffer) {\n cachegetUint8ClampedMemory0 = new Uint8ClampedArray(wasm.memory.buffer);\n }\n return cachegetUint8ClampedMemory0;\n}\n\nfunction getClampedArrayU8FromWasm0(ptr, len) {\n return getUint8ClampedMemory0().subarray(ptr / 1, ptr / 1 + len);\n}\nfunction __wbg_adapter_606(arg0, arg1, arg2, arg3) {\n wasm.wasm_bindgen__convert__closures__invoke2_mut__hca44cfcccf347cf6(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));\n}\n\n/**\n* An opaque handle to a `RuffleInstance` inside the pool.\n*\n* This type is exported to JS, and is used to interact with the library.\n*/\nexport class Ruffle {\n\n static __wrap(ptr) {\n const obj = Object.create(Ruffle.prototype);\n obj.ptr = ptr;\n\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.ptr;\n this.ptr = 0;\n\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_ruffle_free(ptr);\n }\n /**\n * @param {HTMLElement} parent\n * @param {any} js_player\n * @param {any} config\n */\n constructor(parent, js_player, config) {\n try {\n var ret = wasm.ruffle_new(addHeapObject(parent), addHeapObject(js_player), addBorrowedObject(config));\n return takeObject(ret);\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n * Stream an arbitrary movie file from (presumably) the Internet.\n *\n * This method should only be called once per player.\n * @param {string} movie_url\n * @param {any} parameters\n */\n stream_from(movie_url, parameters) {\n try {\n var ptr0 = passStringToWasm0(movie_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.ruffle_stream_from(this.ptr, ptr0, len0, addBorrowedObject(parameters));\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n * Play an arbitrary movie on this instance.\n *\n * This method should only be called once per player.\n * @param {Uint8Array} swf_data\n * @param {any} parameters\n */\n load_data(swf_data, parameters) {\n try {\n wasm.ruffle_load_data(this.ptr, addHeapObject(swf_data), addBorrowedObject(parameters));\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n */\n play() {\n wasm.ruffle_play(this.ptr);\n }\n /**\n */\n pause() {\n wasm.ruffle_pause(this.ptr);\n }\n /**\n * @returns {boolean}\n */\n is_playing() {\n var ret = wasm.ruffle_is_playing(this.ptr);\n return ret !== 0;\n }\n /**\n * @returns {any}\n */\n prepare_context_menu() {\n var ret = wasm.ruffle_prepare_context_menu(this.ptr);\n return takeObject(ret);\n }\n /**\n * @param {number} index\n */\n run_context_menu_callback(index) {\n wasm.ruffle_run_context_menu_callback(this.ptr, index);\n }\n /**\n * @param {boolean} is_fullscreen\n */\n set_fullscreen(is_fullscreen) {\n wasm.ruffle_set_fullscreen(this.ptr, is_fullscreen);\n }\n /**\n */\n clear_custom_menu_items() {\n wasm.ruffle_clear_custom_menu_items(this.ptr);\n }\n /**\n */\n destroy() {\n wasm.ruffle_destroy(this.ptr);\n }\n /**\n * @param {string} name\n * @param {any[]} args\n * @returns {any}\n */\n call_exposed_callback(name, args) {\n var ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n var ptr1 = passArrayJsValueToWasm0(args, wasm.__wbindgen_malloc);\n var len1 = WASM_VECTOR_LEN;\n var ret = wasm.ruffle_call_exposed_callback(this.ptr, ptr0, len0, ptr1, len1);\n return takeObject(ret);\n }\n /**\n * @param {any} observer\n */\n set_trace_observer(observer) {\n wasm.ruffle_set_trace_observer(this.ptr, addHeapObject(observer));\n }\n /**\n * Returns the web AudioContext used by this player.\n * Returns `None` if the audio backend does not use Web Audio.\n * @returns {AudioContext | undefined}\n */\n audio_context() {\n var ret = wasm.ruffle_audio_context(this.ptr);\n return takeObject(ret);\n }\n /**\n * Returns whether the `simd128` target feature was enabled at build time.\n * This is intended to discriminate between the two WebAssembly module\n * versions, one of which uses WebAssembly extensions, and the other one\n * being \"vanilla\". `simd128` is used as proxy for most extensions, since\n * no other WebAssembly target feature is exposed to `cfg!`.\n * @returns {boolean}\n */\n static is_wasm_simd_used() {\n var ret = wasm.ruffle_is_wasm_simd_used();\n return ret !== 0;\n }\n}\n\nasync function load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n\n } catch (e) {\n if (module.headers.get('Content-Type') != 'application/wasm') {\n console.warn(\"`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n\", e);\n\n } else {\n throw e;\n }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n\n } else {\n return instance;\n }\n }\n}\n\nasync function init(input) {\n if (typeof input === 'undefined') {\n input = new URL('ruffle_web_bg.wasm', import.meta.url);\n }\n const imports = {};\n imports.wbg = {};\n imports.wbg.__wbindgen_object_drop_ref = function(arg0) {\n takeObject(arg0);\n };\n imports.wbg.__wbindgen_cb_drop = function(arg0) {\n const obj = takeObject(arg0).original;\n if (obj.cnt-- == 1) {\n obj.a = 0;\n return true;\n }\n var ret = false;\n return ret;\n };\n imports.wbg.__wbindgen_string_new = function(arg0, arg1) {\n var ret = getStringFromWasm0(arg0, arg1);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_object_clone_ref = function(arg0) {\n var ret = getObject(arg0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_ruffle_new = function(arg0) {\n var ret = Ruffle.__wrap(arg0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_is_function = function(arg0) {\n var ret = typeof(getObject(arg0)) === 'function';\n return ret;\n };\n imports.wbg.__wbindgen_json_parse = function(arg0, arg1) {\n var ret = JSON.parse(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = JSON.stringify(obj === undefined ? null : obj);\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_copyToAudioBuffer_58f244be94bac1d2 = function(arg0, arg1, arg2, arg3, arg4) {\n copyToAudioBuffer(getObject(arg0), arg1 === 0 ? undefined : getArrayF32FromWasm0(arg1, arg2), arg3 === 0 ? undefined : getArrayF32FromWasm0(arg3, arg4));\n };\n imports.wbg.__wbg_getAudioOutputTimestamp_a67aa6687740cd15 = function(arg0) {\n var ret = getAudioOutputTimestamp(getObject(arg0));\n return ret;\n };\n imports.wbg.__wbg_setFullscreen_9819a8b20564e39b = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).setFullscreen(arg1 !== 0);\n }, arguments) };\n imports.wbg.__wbindgen_string_get = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = typeof(obj) === 'string' ? obj : undefined;\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_displayUnsupportedMessage_a8f81a8e054e5e91 = function(arg0) {\n getObject(arg0).displayUnsupportedMessage();\n };\n imports.wbg.__wbg_displayRootMovieDownloadFailedMessage_1a5c34096259685a = function(arg0) {\n getObject(arg0).displayRootMovieDownloadFailedMessage();\n };\n imports.wbg.__wbg_displayMessage_c57c20204892da2b = function(arg0, arg1, arg2) {\n getObject(arg0).displayMessage(getStringFromWasm0(arg1, arg2));\n };\n imports.wbg.__wbg_new_df6e6ab7a65c4c4d = function(arg0, arg1) {\n var ret = new Error(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_panic_bbc809dd04a12c60 = function(arg0, arg1) {\n getObject(arg0).panic(getObject(arg1));\n };\n imports.wbg.__wbg_setMetadata_bbaeaee7f48274e6 = function(arg0, arg1) {\n getObject(arg0).setMetadata(takeObject(arg1));\n };\n imports.wbg.__wbg_onCallbackAvailable_3a48fae397926c96 = function(arg0, arg1, arg2) {\n getObject(arg0).onCallbackAvailable(getStringFromWasm0(arg1, arg2));\n };\n imports.wbg.__wbg_onFSCommand_fb2f94653f71796e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).onFSCommand(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n return ret;\n }, arguments) };\n imports.wbg.__wbindgen_number_get = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = typeof(obj) === 'number' ? obj : undefined;\n getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;\n getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);\n };\n imports.wbg.__wbindgen_boolean_get = function(arg0) {\n const v = getObject(arg0);\n var ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;\n return ret;\n };\n imports.wbg.__wbindgen_number_new = function(arg0) {\n var ret = arg0;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_new_693216e109162396 = function() {\n var ret = new Error();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_stack_0ddaca5d1abfb52f = function(arg0, arg1) {\n var ret = getObject(arg1).stack;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_error_09919627ac0992f5 = function(arg0, arg1) {\n try {\n console.error(getStringFromWasm0(arg0, arg1));\n } finally {\n wasm.__wbindgen_free(arg0, arg1);\n }\n };\n imports.wbg.__wbindgen_is_undefined = function(arg0) {\n var ret = getObject(arg0) === undefined;\n return ret;\n };\n imports.wbg.__wbg_getRandomValues_99bbe8a65f4aef87 = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).getRandomValues(getObject(arg1));\n }, arguments) };\n imports.wbg.__wbg_randomFillSync_378e02b85af41ab6 = function() { return handleError(function (arg0, arg1, arg2) {\n getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));\n }, arguments) };\n imports.wbg.__wbg_process_5729605ce9d34ea8 = function(arg0) {\n var ret = getObject(arg0).process;\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_is_object = function(arg0) {\n const val = getObject(arg0);\n var ret = typeof(val) === 'object' && val !== null;\n return ret;\n };\n imports.wbg.__wbg_versions_531e16e1a776ee97 = function(arg0) {\n var ret = getObject(arg0).versions;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_node_18b58a160b60d170 = function(arg0) {\n var ret = getObject(arg0).node;\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_is_string = function(arg0) {\n var ret = typeof(getObject(arg0)) === 'string';\n return ret;\n };\n imports.wbg.__wbg_static_accessor_NODE_MODULE_bdc5ca9096c68aeb = function() {\n var ret = module;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_require_edfaedd93e302925 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).require(getStringFromWasm0(arg1, arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_crypto_2bc4d5b05161de5b = function(arg0) {\n var ret = getObject(arg0).crypto;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_msCrypto_d003eebe62c636a9 = function(arg0) {\n var ret = getObject(arg0).msCrypto;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_instanceof_WebGl2RenderingContext_56ad96bfac3f5531 = function(arg0) {\n var ret = getObject(arg0) instanceof WebGL2RenderingContext;\n return ret;\n };\n imports.wbg.__wbg_bindVertexArray_52b8b2f5fd93d81d = function(arg0, arg1) {\n getObject(arg0).bindVertexArray(getObject(arg1));\n };\n imports.wbg.__wbg_blitFramebuffer_d6dafd082e3b1266 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {\n getObject(arg0).blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);\n };\n imports.wbg.__wbg_createVertexArray_d59135c0a43c410b = function(arg0) {\n var ret = getObject(arg0).createVertexArray();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_renderbufferStorageMultisample_41916a754c02df64 = function(arg0, arg1, arg2, arg3, arg4, arg5) {\n getObject(arg0).renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);\n };\n imports.wbg.__wbg_texImage2D_29ea0a7f026e239b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {\n getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));\n }, arguments) };\n imports.wbg.__wbg_bindFramebuffer_48c4bf8ff82bf7e9 = function(arg0, arg1, arg2) {\n getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindRenderbuffer_4a9ad1cf80580397 = function(arg0, arg1, arg2) {\n getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindTexture_9d8ed0fcd83eb0a9 = function(arg0, arg1, arg2) {\n getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_createFramebuffer_9818fc04b4a38c18 = function(arg0) {\n var ret = getObject(arg0).createFramebuffer();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createRenderbuffer_d1a55ec78e26295b = function(arg0) {\n var ret = getObject(arg0).createRenderbuffer();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createTexture_8f31e7386e22fc37 = function(arg0) {\n var ret = getObject(arg0).createTexture();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_deleteFramebuffer_5f58ccb548438c57 = function(arg0, arg1) {\n getObject(arg0).deleteFramebuffer(getObject(arg1));\n };\n imports.wbg.__wbg_deleteRenderbuffer_6372146d4689793e = function(arg0, arg1) {\n getObject(arg0).deleteRenderbuffer(getObject(arg1));\n };\n imports.wbg.__wbg_deleteTexture_a0632c71429795ac = function(arg0, arg1) {\n getObject(arg0).deleteTexture(getObject(arg1));\n };\n imports.wbg.__wbg_framebufferRenderbuffer_9d619e8bf8f2aeb6 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4));\n };\n imports.wbg.__wbg_framebufferTexture2D_3da41a7f38e2c523 = function(arg0, arg1, arg2, arg3, arg4, arg5) {\n getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);\n };\n imports.wbg.__wbg_getError_868f7c8ef6475b32 = function(arg0) {\n var ret = getObject(arg0).getError();\n return ret;\n };\n imports.wbg.__wbg_getParameter_e3aea13dd0a2904d = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).getParameter(arg1 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_texParameteri_c54aab65b2f8cf6d = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);\n };\n imports.wbg.__wbg_instanceof_Window_c4b70662a0d2c5ec = function(arg0) {\n var ret = getObject(arg0) instanceof Window;\n return ret;\n };\n imports.wbg.__wbg_document_1c64944725c0d81d = function(arg0) {\n var ret = getObject(arg0).document;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_location_f98ad02632f88c43 = function(arg0) {\n var ret = getObject(arg0).location;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_navigator_480e592af6ad365b = function(arg0) {\n var ret = getObject(arg0).navigator;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_devicePixelRatio_d8c3852bb37f76bf = function(arg0) {\n var ret = getObject(arg0).devicePixelRatio;\n return ret;\n };\n imports.wbg.__wbg_performance_947628766699c5bb = function(arg0) {\n var ret = getObject(arg0).performance;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_localStorage_6775414303ab5085 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).localStorage;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_cancelAnimationFrame_5f2a1e987a6de100 = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).cancelAnimationFrame(arg1);\n }, arguments) };\n imports.wbg.__wbg_focus_70ecc8fcab4bdb61 = function() { return handleError(function (arg0) {\n getObject(arg0).focus();\n }, arguments) };\n imports.wbg.__wbg_open_5416e4448a959cfa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_requestAnimationFrame_71638ca922068239 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).requestAnimationFrame(getObject(arg1));\n return ret;\n }, arguments) };\n imports.wbg.__wbg_fetch_cfe0d1dd786e9cd4 = function(arg0, arg1) {\n var ret = getObject(arg0).fetch(getObject(arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_destination_6c3ac66ee8b2fe85 = function(arg0) {\n var ret = getObject(arg0).destination;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_sampleRate_ffa6f08191b00934 = function(arg0) {\n var ret = getObject(arg0).sampleRate;\n return ret;\n };\n imports.wbg.__wbg_currentTime_e231c76a3c011126 = function(arg0) {\n var ret = getObject(arg0).currentTime;\n return ret;\n };\n imports.wbg.__wbg_new_52bbbd81ffc19dff = function() { return handleError(function () {\n var ret = new lAudioContext();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_suspend_5b2c4674b28d07f2 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).suspend();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createBuffer_79833a4052d7b42a = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createBuffer(arg1 >>> 0, arg2 >>> 0, arg3);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createBufferSource_7244d810d62a0bed = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).createBufferSource();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createChannelMerger_542d0885aa4bdc09 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).createChannelMerger(arg1 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createChannelSplitter_95302cbc3f9b9f85 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).createChannelSplitter(arg1 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createGain_c5f114390c363029 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).createGain();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createScriptProcessor_ec30f8ab6ea543d1 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createScriptProcessor(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_decodeAudioData_66b886741a4167f4 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).decodeAudioData(getObject(arg1), getObject(arg2), getObject(arg3));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_resume_ca50287e91c0323e = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).resume();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_setvalue_df8236adf40ea2d3 = function(arg0, arg1) {\n getObject(arg0).value = arg1;\n };\n imports.wbg.__wbg_linearRampToValueAtTime_113d2920c90f1851 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).linearRampToValueAtTime(arg1, arg2);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_setValueAtTime_9396570ff0d3cc1f = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).setValueAtTime(arg1, arg2);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_gain_d4eaca6128dcfd90 = function(arg0) {\n var ret = getObject(arg0).gain;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_baseURI_083fd53f8bea9af2 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg1).baseURI;\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n }, arguments) };\n imports.wbg.__wbg_appendChild_d318db34c4559916 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).appendChild(getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_instanceof_SvgsvgElement_631275f115d8f8e3 = function(arg0) {\n var ret = getObject(arg0) instanceof SVGSVGElement;\n return ret;\n };\n imports.wbg.__wbg_createSVGMatrix_037d6368ea06b02d = function(arg0) {\n var ret = getObject(arg0).createSVGMatrix();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_protocol_f17adabd4e662b06 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg1).protocol;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n }, arguments) };\n imports.wbg.__wbg_assign_26269af9ce90e6c7 = function() { return handleError(function (arg0, arg1, arg2) {\n getObject(arg0).assign(getStringFromWasm0(arg1, arg2));\n }, arguments) };\n imports.wbg.__wbg_new_a3422e0170c31454 = function() { return handleError(function () {\n var ret = new Path2D();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_addPath_18881cd56483fe63 = function(arg0, arg1, arg2) {\n getObject(arg0).addPath(getObject(arg1), getObject(arg2));\n };\n imports.wbg.__wbg_closePath_bf39ada268053aea = function(arg0) {\n getObject(arg0).closePath();\n };\n imports.wbg.__wbg_lineTo_4d75fbab7308c3d2 = function(arg0, arg1, arg2) {\n getObject(arg0).lineTo(arg1, arg2);\n };\n imports.wbg.__wbg_moveTo_70f7a4760893f917 = function(arg0, arg1, arg2) {\n getObject(arg0).moveTo(arg1, arg2);\n };\n imports.wbg.__wbg_quadraticCurveTo_7724e01d766ebfe2 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).quadraticCurveTo(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_get_f0092ad67dc97639 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg1)[getStringFromWasm0(arg2, arg3)];\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n }, arguments) };\n imports.wbg.__wbg_set_3a236a97145dc780 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0)[getStringFromWasm0(arg1, arg2)] = getStringFromWasm0(arg3, arg4);\n }, arguments) };\n imports.wbg.__wbg_delete_881ab2d2a830b82f = function() { return handleError(function (arg0, arg1, arg2) {\n delete getObject(arg0)[getStringFromWasm0(arg1, arg2)];\n }, arguments) };\n imports.wbg.__wbg_length_b398b347bd3c9cd5 = function(arg0) {\n var ret = getObject(arg0).length;\n return ret;\n };\n imports.wbg.__wbg_setTransform_3f9fc1784a580fff = function(arg0, arg1) {\n getObject(arg0).setTransform(getObject(arg1));\n };\n imports.wbg.__wbg_setProperty_1460c660bc329763 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n }, arguments) };\n imports.wbg.__wbg_offsetX_5da3ebf8a8cda8a4 = function(arg0) {\n var ret = getObject(arg0).offsetX;\n return ret;\n };\n imports.wbg.__wbg_offsetY_b0edbc16723a55cb = function(arg0) {\n var ret = getObject(arg0).offsetY;\n return ret;\n };\n imports.wbg.__wbg_button_a02c0467d38e8338 = function(arg0) {\n var ret = getObject(arg0).button;\n return ret;\n };\n imports.wbg.__wbg_bindVertexArrayOES_7104c80fb0d31cb0 = function(arg0, arg1) {\n getObject(arg0).bindVertexArrayOES(getObject(arg1));\n };\n imports.wbg.__wbg_createVertexArrayOES_ced4f8a084b789b7 = function(arg0) {\n var ret = getObject(arg0).createVertexArrayOES();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_deltaY_080604c20160c0e8 = function(arg0) {\n var ret = getObject(arg0).deltaY;\n return ret;\n };\n imports.wbg.__wbg_deltaMode_c5ec1ee518ea0a08 = function(arg0) {\n var ret = getObject(arg0).deltaMode;\n return ret;\n };\n imports.wbg.__wbg_connect_723cc4823fe3e6c0 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).connect(getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_connect_cb8dcaafd6d14fe4 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).connect(getObject(arg1), arg2 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_connect_eb8fcb61cab88f0b = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).connect(getObject(arg1), arg2 >>> 0, arg3 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_disconnect_661941cf5b88fa5a = function() { return handleError(function (arg0) {\n getObject(arg0).disconnect();\n }, arguments) };\n imports.wbg.__wbg_instanceof_HtmlFormElement_aeafa27e92962efa = function(arg0) {\n var ret = getObject(arg0) instanceof HTMLFormElement;\n return ret;\n };\n imports.wbg.__wbg_submit_7479ea6e99f76174 = function() { return handleError(function (arg0) {\n getObject(arg0).submit();\n }, arguments) };\n imports.wbg.__wbg_instanceof_Response_e1b11afbefa5b563 = function(arg0) {\n var ret = getObject(arg0) instanceof Response;\n return ret;\n };\n imports.wbg.__wbg_ok_270f6d403efe7e7b = function(arg0) {\n var ret = getObject(arg0).ok;\n return ret;\n };\n imports.wbg.__wbg_statusText_97740db9b8bb12e3 = function(arg0, arg1) {\n var ret = getObject(arg1).statusText;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_arrayBuffer_b8937ed04beb0d36 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).arrayBuffer();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_seta_f5667df13832f473 = function(arg0, arg1) {\n getObject(arg0).a = arg1;\n };\n imports.wbg.__wbg_setb_51b68c87004ceb92 = function(arg0, arg1) {\n getObject(arg0).b = arg1;\n };\n imports.wbg.__wbg_setc_62d7a8abc0082fcc = function(arg0, arg1) {\n getObject(arg0).c = arg1;\n };\n imports.wbg.__wbg_setd_544fd4902db40bca = function(arg0, arg1) {\n getObject(arg0).d = arg1;\n };\n imports.wbg.__wbg_sete_a3575dd88c8f17a3 = function(arg0, arg1) {\n getObject(arg0).e = arg1;\n };\n imports.wbg.__wbg_setf_956eaea5b3047302 = function(arg0, arg1) {\n getObject(arg0).f = arg1;\n };\n imports.wbg.__wbg_setbuffer_c643a88bac27b2bd = function(arg0, arg1) {\n getObject(arg0).buffer = getObject(arg1);\n };\n imports.wbg.__wbg_setloop_32c84ea32fabef74 = function(arg0, arg1) {\n getObject(arg0).loop = arg1 !== 0;\n };\n imports.wbg.__wbg_setloopStart_a113b4d478da7f93 = function(arg0, arg1) {\n getObject(arg0).loopStart = arg1;\n };\n imports.wbg.__wbg_setloopEnd_b83c2563fe5be665 = function(arg0, arg1) {\n getObject(arg0).loopEnd = arg1;\n };\n imports.wbg.__wbg_setonended_6ce8715add45953e = function(arg0, arg1) {\n getObject(arg0).onended = getObject(arg1);\n };\n imports.wbg.__wbg_start_551bedf1ecfdc0e2 = function() { return handleError(function (arg0) {\n getObject(arg0).start();\n }, arguments) };\n imports.wbg.__wbg_start_885262ec460f3ef3 = function() { return handleError(function (arg0, arg1, arg2) {\n getObject(arg0).start(arg1, arg2);\n }, arguments) };\n imports.wbg.__wbg_stop_c6532de1aeb2e765 = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).stop(arg1);\n }, arguments) };\n imports.wbg.__wbg_outputBuffer_3f27dc3af0998ec9 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).outputBuffer;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_now_559193109055ebad = function(arg0) {\n var ret = getObject(arg0).now();\n return ret;\n };\n imports.wbg.__wbg_pointerId_9302f0e125f0b48e = function(arg0) {\n var ret = getObject(arg0).pointerId;\n return ret;\n };\n imports.wbg.__wbg_currentTarget_65309531208d5df3 = function(arg0) {\n var ret = getObject(arg0).currentTarget;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_preventDefault_9866c9fd51eecfb6 = function(arg0) {\n getObject(arg0).preventDefault();\n };\n imports.wbg.__wbg_setsrc_3eb04f553f8335c7 = function(arg0, arg1, arg2) {\n getObject(arg0).src = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_new_265b3e027a3022bd = function() { return handleError(function () {\n var ret = new Image();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_key_10dcaa4bb6d5449f = function(arg0, arg1) {\n var ret = getObject(arg1).key;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_code_1c2fd251f38b398a = function(arg0, arg1) {\n var ret = getObject(arg1).code;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_newwithstrandinit_9b0fa00478c37287 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_setonaudioprocess_4334efc34353560d = function(arg0, arg1) {\n getObject(arg0).onaudioprocess = getObject(arg1);\n };\n imports.wbg.__wbg_body_78ae4fd43b446013 = function(arg0) {\n var ret = getObject(arg0).body;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createElement_86c152812a141a62 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createElementNS_ae12b8681c3957a3 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_setid_681bb5a14c3d5850 = function(arg0, arg1, arg2) {\n getObject(arg0).id = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_clientWidth_4d9e01af2b5b9f21 = function(arg0) {\n var ret = getObject(arg0).clientWidth;\n return ret;\n };\n imports.wbg.__wbg_clientHeight_87c209f0cacf2e97 = function(arg0) {\n var ret = getObject(arg0).clientHeight;\n return ret;\n };\n imports.wbg.__wbg_querySelector_dc71838110c91f39 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_releasePointerCapture_326599f769b49681 = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).releasePointerCapture(arg1);\n }, arguments) };\n imports.wbg.__wbg_setAttribute_1b533bf07966de55 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n }, arguments) };\n imports.wbg.__wbg_setAttributeNS_92db6decf2ec8400 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {\n getObject(arg0).setAttributeNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));\n }, arguments) };\n imports.wbg.__wbg_setPointerCapture_bd3244d9f008798f = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).setPointerCapture(arg1);\n }, arguments) };\n imports.wbg.__wbg_remove_c63cabc94a77cacb = function(arg0) {\n getObject(arg0).remove();\n };\n imports.wbg.__wbg_instanceof_WebGlRenderingContext_101b938bec1286a3 = function(arg0) {\n var ret = getObject(arg0) instanceof WebGLRenderingContext;\n return ret;\n };\n imports.wbg.__wbg_drawingBufferWidth_8b0c2b31d9d6eee7 = function(arg0) {\n var ret = getObject(arg0).drawingBufferWidth;\n return ret;\n };\n imports.wbg.__wbg_drawingBufferHeight_f62678018bab567c = function(arg0) {\n var ret = getObject(arg0).drawingBufferHeight;\n return ret;\n };\n imports.wbg.__wbg_bufferData_2f9be23b37e5a1a4 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).bufferData(arg1 >>> 0, getArrayU8FromWasm0(arg2, arg3), arg4 >>> 0);\n };\n imports.wbg.__wbg_texImage2D_712c56fe5a9825ed = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {\n getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));\n }, arguments) };\n imports.wbg.__wbg_uniform1fv_02b26dddaa3ea984 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).uniform1fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));\n };\n imports.wbg.__wbg_uniform4fv_ca394beb323215c6 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));\n };\n imports.wbg.__wbg_uniformMatrix3fv_340429fe0911bc6f = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));\n };\n imports.wbg.__wbg_uniformMatrix4fv_a92133b68236ac68 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));\n };\n imports.wbg.__wbg_activeTexture_b34aca0c2110966c = function(arg0, arg1) {\n getObject(arg0).activeTexture(arg1 >>> 0);\n };\n imports.wbg.__wbg_attachShader_eaa824fd5b37a770 = function(arg0, arg1, arg2) {\n getObject(arg0).attachShader(getObject(arg1), getObject(arg2));\n };\n imports.wbg.__wbg_bindBuffer_2ca7e1c18819ecb2 = function(arg0, arg1, arg2) {\n getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindFramebuffer_c9f468afa9d42a5f = function(arg0, arg1, arg2) {\n getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindRenderbuffer_7b2b49f71f3eeef9 = function(arg0, arg1, arg2) {\n getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindTexture_edd827f3dba6038e = function(arg0, arg1, arg2) {\n getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_blendFunc_d5ab9f0ff5a40a48 = function(arg0, arg1, arg2) {\n getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);\n };\n imports.wbg.__wbg_clear_da26620d46f0a11a = function(arg0, arg1) {\n getObject(arg0).clear(arg1 >>> 0);\n };\n imports.wbg.__wbg_clearColor_cbf22f8faa5a52c1 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).clearColor(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_colorMask_035708eb94fe9af8 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);\n };\n imports.wbg.__wbg_compileShader_8fb70a472f32552c = function(arg0, arg1) {\n getObject(arg0).compileShader(getObject(arg1));\n };\n imports.wbg.__wbg_createBuffer_4802e2f0e1b1acdf = function(arg0) {\n var ret = getObject(arg0).createBuffer();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createProgram_b1d94f4c7554d3a1 = function(arg0) {\n var ret = getObject(arg0).createProgram();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createShader_da09e167692f0dc7 = function(arg0, arg1) {\n var ret = getObject(arg0).createShader(arg1 >>> 0);\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createTexture_bafc7c08393ae59d = function(arg0) {\n var ret = getObject(arg0).createTexture();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_disable_b07faddb7d04349f = function(arg0, arg1) {\n getObject(arg0).disable(arg1 >>> 0);\n };\n imports.wbg.__wbg_disableVertexAttribArray_c9fdabd5f12b0539 = function(arg0, arg1) {\n getObject(arg0).disableVertexAttribArray(arg1 >>> 0);\n };\n imports.wbg.__wbg_drawElements_8e8af4b6757fedce = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);\n };\n imports.wbg.__wbg_enable_d3d210aeb08eff52 = function(arg0, arg1) {\n getObject(arg0).enable(arg1 >>> 0);\n };\n imports.wbg.__wbg_enableVertexAttribArray_d539e547495bea44 = function(arg0, arg1) {\n getObject(arg0).enableVertexAttribArray(arg1 >>> 0);\n };\n imports.wbg.__wbg_getAttribLocation_706a0beabcdaebcf = function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return ret;\n };\n imports.wbg.__wbg_getExtension_045789240c50a108 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getParameter_6412bd2d0602696d = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).getParameter(arg1 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getProgramInfoLog_b60e82d52c200cbd = function(arg0, arg1, arg2) {\n var ret = getObject(arg1).getProgramInfoLog(getObject(arg2));\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_getProgramParameter_229c193895936bbe = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_getShaderInfoLog_ba51160c01b98360 = function(arg0, arg1, arg2) {\n var ret = getObject(arg1).getShaderInfoLog(getObject(arg2));\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_getUniformLocation_c3b3570b4632cc5c = function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_linkProgram_7080c84b0233cea2 = function(arg0, arg1) {\n getObject(arg0).linkProgram(getObject(arg1));\n };\n imports.wbg.__wbg_pixelStorei_3cd96723ae22a5c6 = function(arg0, arg1, arg2) {\n getObject(arg0).pixelStorei(arg1 >>> 0, arg2);\n };\n imports.wbg.__wbg_shaderSource_67b991301db003d0 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));\n };\n imports.wbg.__wbg_stencilFunc_bbc24750c2db9a15 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).stencilFunc(arg1 >>> 0, arg2, arg3 >>> 0);\n };\n imports.wbg.__wbg_stencilMask_0ec7662710f598d4 = function(arg0, arg1) {\n getObject(arg0).stencilMask(arg1 >>> 0);\n };\n imports.wbg.__wbg_stencilOp_fd4ec71a7de6ac85 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).stencilOp(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);\n };\n imports.wbg.__wbg_texParameteri_bd724f6a5ad0cbbc = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);\n };\n imports.wbg.__wbg_uniform1f_b9cff1cea32def5a = function(arg0, arg1, arg2) {\n getObject(arg0).uniform1f(getObject(arg1), arg2);\n };\n imports.wbg.__wbg_uniform1i_0811c29c0eebe191 = function(arg0, arg1, arg2) {\n getObject(arg0).uniform1i(getObject(arg1), arg2);\n };\n imports.wbg.__wbg_useProgram_b72b0bfcbc720fa9 = function(arg0, arg1) {\n getObject(arg0).useProgram(getObject(arg1));\n };\n imports.wbg.__wbg_vertexAttribPointer_b5cb524c6fe9eec8 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {\n getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);\n };\n imports.wbg.__wbg_viewport_89af3aceb7036a2c = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).viewport(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_debug_675b0ecb65722d2a = function(arg0) {\n console.debug(getObject(arg0));\n };\n imports.wbg.__wbg_error_cc38ce2b4b661e1d = function(arg0) {\n console.error(getObject(arg0));\n };\n imports.wbg.__wbg_info_e0c9813e6fd3bdc1 = function(arg0) {\n console.info(getObject(arg0));\n };\n imports.wbg.__wbg_log_3445347661d4505e = function(arg0) {\n console.log(getObject(arg0));\n };\n imports.wbg.__wbg_warn_5ec7c7c02d0b3841 = function(arg0) {\n console.warn(getObject(arg0));\n };\n imports.wbg.__wbg_style_c88e323890d3a091 = function(arg0) {\n var ret = getObject(arg0).style;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae = function(arg0) {\n var ret = getObject(arg0) instanceof CanvasRenderingContext2D;\n return ret;\n };\n imports.wbg.__wbg_setglobalAlpha_27b14e5f5b7567ec = function(arg0, arg1) {\n getObject(arg0).globalAlpha = arg1;\n };\n imports.wbg.__wbg_setglobalCompositeOperation_c650e9805cc6316f = function() { return handleError(function (arg0, arg1, arg2) {\n getObject(arg0).globalCompositeOperation = getStringFromWasm0(arg1, arg2);\n }, arguments) };\n imports.wbg.__wbg_setstrokeStyle_947bd4c26c94673f = function(arg0, arg1) {\n getObject(arg0).strokeStyle = getObject(arg1);\n };\n imports.wbg.__wbg_setfillStyle_528a6a267c863ae7 = function(arg0, arg1) {\n getObject(arg0).fillStyle = getObject(arg1);\n };\n imports.wbg.__wbg_setfilter_3d48443a4a710be8 = function(arg0, arg1, arg2) {\n getObject(arg0).filter = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_setimageSmoothingEnabled_92d14a22667eae22 = function(arg0, arg1) {\n getObject(arg0).imageSmoothingEnabled = arg1 !== 0;\n };\n imports.wbg.__wbg_setlineWidth_3221b7818c00ed48 = function(arg0, arg1) {\n getObject(arg0).lineWidth = arg1;\n };\n imports.wbg.__wbg_setlineCap_5284a001e1efcecd = function(arg0, arg1, arg2) {\n getObject(arg0).lineCap = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_setlineJoin_a6af4e7d24a3a67e = function(arg0, arg1, arg2) {\n getObject(arg0).lineJoin = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_setmiterLimit_9fa0d72650341727 = function(arg0, arg1) {\n getObject(arg0).miterLimit = arg1;\n };\n imports.wbg.__wbg_drawImage_5e8203c5b210fce3 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).drawImage(getObject(arg1), arg2, arg3);\n }, arguments) };\n imports.wbg.__wbg_drawImage_9492b361f8b31282 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).drawImage(getObject(arg1), arg2, arg3);\n }, arguments) };\n imports.wbg.__wbg_fill_75988ff43d6e3499 = function(arg0, arg1, arg2) {\n getObject(arg0).fill(getObject(arg1), takeObject(arg2));\n };\n imports.wbg.__wbg_stroke_d91ac76d5b1eb792 = function(arg0, arg1) {\n getObject(arg0).stroke(getObject(arg1));\n };\n imports.wbg.__wbg_createPattern_1d0b3c3750c8448c = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createPattern(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createPattern_b824d17776fa1f1e = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createPattern(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getImageData_9ffc3df78ca3dbc9 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).getImageData(arg1, arg2, arg3, arg4);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_putImageData_b9544b271e569392 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).putImageData(getObject(arg1), arg2, arg3);\n }, arguments) };\n imports.wbg.__wbg_clearRect_07caefec3496ced1 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).clearRect(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_fillRect_10e42dc7a5e8cccd = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).fillRect(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_resetTransform_26f86c1cc48a4fae = function() { return handleError(function (arg0) {\n getObject(arg0).resetTransform();\n }, arguments) };\n imports.wbg.__wbg_setTransform_8ffd6a5c85396174 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {\n getObject(arg0).setTransform(arg1, arg2, arg3, arg4, arg5, arg6);\n }, arguments) };\n imports.wbg.__wbg_newwithbuffersourcesequenceandoptions_2b60b470c130cb1a = function() { return handleError(function (arg0, arg1) {\n var ret = new Blob(getObject(arg0), getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_addEventListener_52721772cc0a7f30 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));\n }, arguments) };\n imports.wbg.__wbg_addEventListener_09e11fbf8b4b719b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));\n }, arguments) };\n imports.wbg.__wbg_addEventListener_0ed522a6d9900d5d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), arg4 !== 0);\n }, arguments) };\n imports.wbg.__wbg_removeEventListener_f2adc9b2b318de99 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));\n }, arguments) };\n imports.wbg.__wbg_removeEventListener_24d5a7c12c3f3c39 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), arg4 !== 0);\n }, arguments) };\n imports.wbg.__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e = function(arg0) {\n var ret = getObject(arg0) instanceof HTMLCanvasElement;\n return ret;\n };\n imports.wbg.__wbg_width_555f63ab09ba7d3f = function(arg0) {\n var ret = getObject(arg0).width;\n return ret;\n };\n imports.wbg.__wbg_setwidth_c1a7061891b71f25 = function(arg0, arg1) {\n getObject(arg0).width = arg1 >>> 0;\n };\n imports.wbg.__wbg_height_7153faec70fbaf7b = function(arg0) {\n var ret = getObject(arg0).height;\n return ret;\n };\n imports.wbg.__wbg_setheight_88894b05710ff752 = function(arg0, arg1) {\n getObject(arg0).height = arg1 >>> 0;\n };\n imports.wbg.__wbg_getContext_f701d0231ae22393 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getContext_3e21e21280a332fc = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_width_16bd64d09cbf5661 = function(arg0) {\n var ret = getObject(arg0).width;\n return ret;\n };\n imports.wbg.__wbg_height_368bb86c37d51bc9 = function(arg0) {\n var ret = getObject(arg0).height;\n return ret;\n };\n imports.wbg.__wbg_data_1ae7496c58caf755 = function(arg0, arg1) {\n var ret = getObject(arg1).data;\n var ptr0 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_newwithu8clampedarray_45da2809f7882d12 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = new ImageData(getClampedArrayU8FromWasm0(arg0, arg1), arg2 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_userAgent_bdd46cceef222f52 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg1).userAgent;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n }, arguments) };\n imports.wbg.__wbg_get_67189fe0b323d288 = function(arg0, arg1) {\n var ret = getObject(arg0)[arg1 >>> 0];\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_new_949bbc1147195c4e = function() {\n var ret = new Array();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_newnoargs_be86524d73f67598 = function(arg0, arg1) {\n var ret = new Function(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_next_7720502039b96d00 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).next();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_done_b06cf0578e89ff68 = function(arg0) {\n var ret = getObject(arg0).done;\n return ret;\n };\n imports.wbg.__wbg_value_e74a542443d92451 = function(arg0) {\n var ret = getObject(arg0).value;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_get_4d0f21c2f823742e = function() { return handleError(function (arg0, arg1) {\n var ret = Reflect.get(getObject(arg0), getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_call_888d259a5fefc347 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).call(getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_new_0b83d3df67ecb33e = function() {\n var ret = new Object();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_isArray_eb7ad55f2da67dde = function(arg0) {\n var ret = Array.isArray(getObject(arg0));\n return ret;\n };\n imports.wbg.__wbg_of_db9e1b8e0a7ed9bc = function(arg0, arg1) {\n var ret = Array.of(getObject(arg0), getObject(arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_push_284486ca27c6aa8b = function(arg0, arg1) {\n var ret = getObject(arg0).push(getObject(arg1));\n return ret;\n };\n imports.wbg.__wbg_instanceof_ArrayBuffer_764b6d4119231cb3 = function(arg0) {\n var ret = getObject(arg0) instanceof ArrayBuffer;\n return ret;\n };\n imports.wbg.__wbg_new_3e02a228090b2e72 = function(arg0) {\n var ret = new ArrayBuffer(arg0 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_slice_dcc477bca8fe38b1 = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).slice(arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_values_364ae56c608e6824 = function(arg0) {\n var ret = getObject(arg0).values();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_apply_7cfa6ebf144990a5 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).apply(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_call_346669c262382ad7 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).call(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getTime_10d33f4f2959e5dd = function(arg0) {\n var ret = getObject(arg0).getTime();\n return ret;\n };\n imports.wbg.__wbg_getTimezoneOffset_d3e5a22a1b7fb1d8 = function(arg0) {\n var ret = getObject(arg0).getTimezoneOffset();\n return ret;\n };\n imports.wbg.__wbg_new0_fd3a3a290b25cdac = function() {\n var ret = new Date();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_instanceof_Object_66786225e0dbc8ba = function(arg0) {\n var ret = getObject(arg0) instanceof Object;\n return ret;\n };\n imports.wbg.__wbg_entries_aadf9c3f38203a12 = function(arg0) {\n var ret = Object.entries(getObject(arg0));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_fromEntries_164ebf0f69983a8e = function() { return handleError(function (arg0) {\n var ret = Object.fromEntries(getObject(arg0));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_is_0f5efc7977a2c50b = function(arg0, arg1) {\n var ret = Object.is(getObject(arg0), getObject(arg1));\n return ret;\n };\n imports.wbg.__wbg_new_b1d61b5687f5e73a = function(arg0, arg1) {\n try {\n var state0 = {a: arg0, b: arg1};\n var cb0 = (arg0, arg1) => {\n const a = state0.a;\n state0.a = 0;\n try {\n return __wbg_adapter_606(a, state0.b, arg0, arg1);\n } finally {\n state0.a = a;\n }\n };\n var ret = new Promise(cb0);\n return addHeapObject(ret);\n } finally {\n state0.a = state0.b = 0;\n }\n };\n imports.wbg.__wbg_resolve_d23068002f584f22 = function(arg0) {\n var ret = Promise.resolve(getObject(arg0));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_then_2fcac196782070cc = function(arg0, arg1) {\n var ret = getObject(arg0).then(getObject(arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_then_8c2d62e8ae5978f7 = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).then(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_self_c6fbdfc2918d5e58 = function() { return handleError(function () {\n var ret = self.self;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_window_baec038b5ab35c54 = function() { return handleError(function () {\n var ret = window.window;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_globalThis_3f735a5746d41fbd = function() { return handleError(function () {\n var ret = globalThis.globalThis;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_global_1bc0b39582740e95 = function() { return handleError(function () {\n var ret = global.global;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_buffer_397eaa4d72ee94dd = function(arg0) {\n var ret = getObject(arg0).buffer;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_newwithbyteoffsetandlength_4b9b8c4e3f5adbff = function(arg0, arg1, arg2) {\n var ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_new_a7ce447f15ff496f = function(arg0) {\n var ret = new Uint8Array(getObject(arg0));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_set_969ad0a60e51d320 = function(arg0, arg1, arg2) {\n getObject(arg0).set(getObject(arg1), arg2 >>> 0);\n };\n imports.wbg.__wbg_length_1eb8fc608a0d4cdb = function(arg0) {\n var ret = getObject(arg0).length;\n return ret;\n };\n imports.wbg.__wbg_newwithlength_929232475839a482 = function(arg0) {\n var ret = new Uint8Array(arg0 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_fill_cd6951964c67ad3a = function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).fill(arg1, arg2 >>> 0, arg3 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_buffer_facf0398a281c85b = function(arg0) {\n var ret = getObject(arg0).buffer;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_subarray_8b658422a224f479 = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_byteLength_3e250b41a8915757 = function(arg0) {\n var ret = getObject(arg0).byteLength;\n return ret;\n };\n imports.wbg.__wbg_byteOffset_4204ecb24a6e5df9 = function(arg0) {\n var ret = getObject(arg0).byteOffset;\n return ret;\n };\n imports.wbg.__wbg_ownKeys_f3f1916b5564918f = function() { return handleError(function (arg0) {\n var ret = Reflect.ownKeys(getObject(arg0));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_set_82a4e8a85e31ac42 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));\n return ret;\n }, arguments) };\n imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {\n var ret = debugString(getObject(arg1));\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbindgen_throw = function(arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n };\n imports.wbg.__wbindgen_rethrow = function(arg0) {\n throw takeObject(arg0);\n };\n imports.wbg.__wbindgen_memory = function() {\n var ret = wasm.memory;\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper451 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_38);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper452 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_41);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper453 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_44);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper454 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_47);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper455 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_50);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper456 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_53);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper457 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_56);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper458 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_59);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1936 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 908, __wbg_adapter_62);\n return addHeapObject(ret);\n };\n\n if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {\n input = fetch(input);\n }\n\n\n\n const { instance, module } = await load(await input, imports);\n\n wasm = instance.exports;\n init.__wbindgen_wasm_module = module;\n\n return wasm;\n}\n\nexport default init;\n\n"],"names":["copyToAudioBuffer","audioBuffer","leftData","rightData","getChannelData","set","getAudioOutputTimestamp","context","_a","_b","timestamp","getOutputTimestamp","call","contextTime","currentTime","baseLatency","lAudioContext","AudioContext","webkitAudioContext","undefined","wasm","heap","Array","fill","getObject","idx","push","heap_next","length","takeObject","ret","dropObject","cachedTextDecoder","TextDecoder","ignoreBOM","fatal","decode","cachegetUint8Memory0","getUint8Memory0","buffer","memory","Uint8Array","getStringFromWasm0","ptr","len","subarray","addHeapObject","obj","WASM_VECTOR_LEN","cachedTextEncoder","TextEncoder","encodeString","encodeInto","arg","view","buf","encode","read","written","passStringToWasm0","malloc","realloc","mem","offset","code","charCodeAt","slice","cachegetInt32Memory0","getInt32Memory0","Int32Array","isLikeNone","x","cachegetFloat64Memory0","debugString","val","type","description","name","isArray","debug","i","builtInMatches","exec","toString","className","JSON","stringify","_","Error","message","stack","makeMutClosure","arg0","arg1","dtor","f","state","a","b","cnt","real","args","__wbindgen_export_2","get","original","__wbg_adapter_38","arg2","_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118","__wbg_adapter_41","__wbg_adapter_44","_dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2b29ce5f03a3005f","__wbg_adapter_47","__wbg_adapter_50","_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h14840cb9b3b797cb","__wbg_adapter_53","__wbg_adapter_56","__wbg_adapter_59","__wbg_adapter_62","_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6769736ffe94a981","cachegetFloat32Memory0","getArrayF32FromWasm0","Float32Array","handleError","apply","this","e","__wbindgen_exn_store","stack_pointer","addBorrowedObject","cachegetUint32Memory0","getArrayU8FromWasm0","cachegetUint8ClampedMemory0","getClampedArrayU8FromWasm0","Uint8ClampedArray","Ruffle","static","Object","create","prototype","__destroy_into_raw","free","__wbg_ruffle_free","constructor","parent","js_player","config","ruffle_new","stream_from","movie_url","parameters","ptr0","__wbindgen_malloc","__wbindgen_realloc","len0","ruffle_stream_from","load_data","swf_data","ruffle_load_data","play","ruffle_play","pause","ruffle_pause","is_playing","ruffle_is_playing","prepare_context_menu","ruffle_prepare_context_menu","run_context_menu_callback","index","ruffle_run_context_menu_callback","set_fullscreen","is_fullscreen","ruffle_set_fullscreen","clear_custom_menu_items","ruffle_clear_custom_menu_items","destroy","ruffle_destroy","call_exposed_callback","ptr1","array","Uint32Array","passArrayJsValueToWasm0","len1","ruffle_call_exposed_callback","set_trace_observer","observer","ruffle_set_trace_observer","audio_context","ruffle_audio_context","ruffle_is_wasm_simd_used","async","init","input","URL","imports","wbg","__wbindgen_object_drop_ref","__wbindgen_cb_drop","__wbindgen_string_new","__wbindgen_object_clone_ref","__wbg_ruffle_new","__wrap","__wbindgen_is_function","__wbindgen_json_parse","parse","__wbindgen_json_serialize","__wbg_copyToAudioBuffer_58f244be94bac1d2","arg3","arg4","__wbg_getAudioOutputTimestamp_a67aa6687740cd15","__wbg_setFullscreen_9819a8b20564e39b","setFullscreen","arguments","__wbindgen_string_get","__wbg_displayUnsupportedMessage_a8f81a8e054e5e91","displayUnsupportedMessage","__wbg_displayRootMovieDownloadFailedMessage_1a5c34096259685a","displayRootMovieDownloadFailedMessage","__wbg_displayMessage_c57c20204892da2b","displayMessage","__wbg_new_df6e6ab7a65c4c4d","__wbg_panic_bbc809dd04a12c60","panic","__wbg_setMetadata_bbaeaee7f48274e6","setMetadata","__wbg_onCallbackAvailable_3a48fae397926c96","onCallbackAvailable","__wbg_onFSCommand_fb2f94653f71796e","onFSCommand","__wbindgen_number_get","Float64Array","__wbindgen_boolean_get","v","__wbindgen_number_new","__wbg_new_693216e109162396","__wbg_stack_0ddaca5d1abfb52f","__wbg_error_09919627ac0992f5","console","error","__wbindgen_free","__wbindgen_is_undefined","__wbg_getRandomValues_99bbe8a65f4aef87","getRandomValues","__wbg_randomFillSync_378e02b85af41ab6","randomFillSync","__wbg_process_5729605ce9d34ea8","process","__wbindgen_is_object","__wbg_versions_531e16e1a776ee97","versions","__wbg_node_18b58a160b60d170","node","__wbindgen_is_string","__wbg_static_accessor_NODE_MODULE_bdc5ca9096c68aeb","module","__wbg_require_edfaedd93e302925","require","__wbg_crypto_2bc4d5b05161de5b","crypto","__wbg_msCrypto_d003eebe62c636a9","msCrypto","__wbg_instanceof_WebGl2RenderingContext_56ad96bfac3f5531","WebGL2RenderingContext","__wbg_bindVertexArray_52b8b2f5fd93d81d","bindVertexArray","__wbg_blitFramebuffer_d6dafd082e3b1266","arg5","arg6","arg7","arg8","arg9","arg10","blitFramebuffer","__wbg_createVertexArray_d59135c0a43c410b","createVertexArray","__wbg_renderbufferStorageMultisample_41916a754c02df64","renderbufferStorageMultisample","__wbg_texImage2D_29ea0a7f026e239b","texImage2D","__wbg_bindFramebuffer_48c4bf8ff82bf7e9","bindFramebuffer","__wbg_bindRenderbuffer_4a9ad1cf80580397","bindRenderbuffer","__wbg_bindTexture_9d8ed0fcd83eb0a9","bindTexture","__wbg_createFramebuffer_9818fc04b4a38c18","createFramebuffer","__wbg_createRenderbuffer_d1a55ec78e26295b","createRenderbuffer","__wbg_createTexture_8f31e7386e22fc37","createTexture","__wbg_deleteFramebuffer_5f58ccb548438c57","deleteFramebuffer","__wbg_deleteRenderbuffer_6372146d4689793e","deleteRenderbuffer","__wbg_deleteTexture_a0632c71429795ac","deleteTexture","__wbg_framebufferRenderbuffer_9d619e8bf8f2aeb6","framebufferRenderbuffer","__wbg_framebufferTexture2D_3da41a7f38e2c523","framebufferTexture2D","__wbg_getError_868f7c8ef6475b32","getError","__wbg_getParameter_e3aea13dd0a2904d","getParameter","__wbg_texParameteri_c54aab65b2f8cf6d","texParameteri","__wbg_instanceof_Window_c4b70662a0d2c5ec","Window","__wbg_document_1c64944725c0d81d","document","__wbg_location_f98ad02632f88c43","location","__wbg_navigator_480e592af6ad365b","navigator","__wbg_devicePixelRatio_d8c3852bb37f76bf","devicePixelRatio","__wbg_performance_947628766699c5bb","performance","__wbg_localStorage_6775414303ab5085","localStorage","__wbg_cancelAnimationFrame_5f2a1e987a6de100","cancelAnimationFrame","__wbg_focus_70ecc8fcab4bdb61","focus","__wbg_open_5416e4448a959cfa","open","__wbg_requestAnimationFrame_71638ca922068239","requestAnimationFrame","__wbg_fetch_cfe0d1dd786e9cd4","fetch","__wbg_destination_6c3ac66ee8b2fe85","destination","__wbg_sampleRate_ffa6f08191b00934","sampleRate","__wbg_currentTime_e231c76a3c011126","__wbg_new_52bbbd81ffc19dff","__wbg_suspend_5b2c4674b28d07f2","suspend","__wbg_createBuffer_79833a4052d7b42a","createBuffer","__wbg_createBufferSource_7244d810d62a0bed","createBufferSource","__wbg_createChannelMerger_542d0885aa4bdc09","createChannelMerger","__wbg_createChannelSplitter_95302cbc3f9b9f85","createChannelSplitter","__wbg_createGain_c5f114390c363029","createGain","__wbg_createScriptProcessor_ec30f8ab6ea543d1","createScriptProcessor","__wbg_decodeAudioData_66b886741a4167f4","decodeAudioData","__wbg_resume_ca50287e91c0323e","resume","__wbg_setvalue_df8236adf40ea2d3","value","__wbg_linearRampToValueAtTime_113d2920c90f1851","linearRampToValueAtTime","__wbg_setValueAtTime_9396570ff0d3cc1f","setValueAtTime","__wbg_gain_d4eaca6128dcfd90","gain","__wbg_baseURI_083fd53f8bea9af2","baseURI","__wbg_appendChild_d318db34c4559916","appendChild","__wbg_instanceof_SvgsvgElement_631275f115d8f8e3","SVGSVGElement","__wbg_createSVGMatrix_037d6368ea06b02d","createSVGMatrix","__wbg_protocol_f17adabd4e662b06","protocol","__wbg_assign_26269af9ce90e6c7","assign","__wbg_new_a3422e0170c31454","Path2D","__wbg_addPath_18881cd56483fe63","addPath","__wbg_closePath_bf39ada268053aea","closePath","__wbg_lineTo_4d75fbab7308c3d2","lineTo","__wbg_moveTo_70f7a4760893f917","moveTo","__wbg_quadraticCurveTo_7724e01d766ebfe2","quadraticCurveTo","__wbg_get_f0092ad67dc97639","__wbg_set_3a236a97145dc780","__wbg_delete_881ab2d2a830b82f","__wbg_length_b398b347bd3c9cd5","__wbg_setTransform_3f9fc1784a580fff","setTransform","__wbg_setProperty_1460c660bc329763","setProperty","__wbg_offsetX_5da3ebf8a8cda8a4","offsetX","__wbg_offsetY_b0edbc16723a55cb","offsetY","__wbg_button_a02c0467d38e8338","button","__wbg_bindVertexArrayOES_7104c80fb0d31cb0","bindVertexArrayOES","__wbg_createVertexArrayOES_ced4f8a084b789b7","createVertexArrayOES","__wbg_deltaY_080604c20160c0e8","deltaY","__wbg_deltaMode_c5ec1ee518ea0a08","deltaMode","__wbg_connect_723cc4823fe3e6c0","connect","__wbg_connect_cb8dcaafd6d14fe4","__wbg_connect_eb8fcb61cab88f0b","__wbg_disconnect_661941cf5b88fa5a","disconnect","__wbg_instanceof_HtmlFormElement_aeafa27e92962efa","HTMLFormElement","__wbg_submit_7479ea6e99f76174","submit","__wbg_instanceof_Response_e1b11afbefa5b563","Response","__wbg_ok_270f6d403efe7e7b","ok","__wbg_statusText_97740db9b8bb12e3","statusText","__wbg_arrayBuffer_b8937ed04beb0d36","arrayBuffer","__wbg_seta_f5667df13832f473","__wbg_setb_51b68c87004ceb92","__wbg_setc_62d7a8abc0082fcc","c","__wbg_setd_544fd4902db40bca","d","__wbg_sete_a3575dd88c8f17a3","__wbg_setf_956eaea5b3047302","__wbg_setbuffer_c643a88bac27b2bd","__wbg_setloop_32c84ea32fabef74","loop","__wbg_setloopStart_a113b4d478da7f93","loopStart","__wbg_setloopEnd_b83c2563fe5be665","loopEnd","__wbg_setonended_6ce8715add45953e","onended","__wbg_start_551bedf1ecfdc0e2","start","__wbg_start_885262ec460f3ef3","__wbg_stop_c6532de1aeb2e765","stop","__wbg_outputBuffer_3f27dc3af0998ec9","outputBuffer","__wbg_now_559193109055ebad","now","__wbg_pointerId_9302f0e125f0b48e","pointerId","__wbg_currentTarget_65309531208d5df3","currentTarget","__wbg_preventDefault_9866c9fd51eecfb6","preventDefault","__wbg_setsrc_3eb04f553f8335c7","src","__wbg_new_265b3e027a3022bd","Image","__wbg_key_10dcaa4bb6d5449f","key","__wbg_code_1c2fd251f38b398a","__wbg_newwithstrandinit_9b0fa00478c37287","Request","__wbg_setonaudioprocess_4334efc34353560d","onaudioprocess","__wbg_body_78ae4fd43b446013","body","__wbg_createElement_86c152812a141a62","createElement","__wbg_createElementNS_ae12b8681c3957a3","createElementNS","__wbg_setid_681bb5a14c3d5850","id","__wbg_clientWidth_4d9e01af2b5b9f21","clientWidth","__wbg_clientHeight_87c209f0cacf2e97","clientHeight","__wbg_querySelector_dc71838110c91f39","querySelector","__wbg_releasePointerCapture_326599f769b49681","releasePointerCapture","__wbg_setAttribute_1b533bf07966de55","setAttribute","__wbg_setAttributeNS_92db6decf2ec8400","setAttributeNS","__wbg_setPointerCapture_bd3244d9f008798f","setPointerCapture","__wbg_remove_c63cabc94a77cacb","remove","__wbg_instanceof_WebGlRenderingContext_101b938bec1286a3","WebGLRenderingContext","__wbg_drawingBufferWidth_8b0c2b31d9d6eee7","drawingBufferWidth","__wbg_drawingBufferHeight_f62678018bab567c","drawingBufferHeight","__wbg_bufferData_2f9be23b37e5a1a4","bufferData","__wbg_texImage2D_712c56fe5a9825ed","__wbg_uniform1fv_02b26dddaa3ea984","uniform1fv","__wbg_uniform4fv_ca394beb323215c6","uniform4fv","__wbg_uniformMatrix3fv_340429fe0911bc6f","uniformMatrix3fv","__wbg_uniformMatrix4fv_a92133b68236ac68","uniformMatrix4fv","__wbg_activeTexture_b34aca0c2110966c","activeTexture","__wbg_attachShader_eaa824fd5b37a770","attachShader","__wbg_bindBuffer_2ca7e1c18819ecb2","bindBuffer","__wbg_bindFramebuffer_c9f468afa9d42a5f","__wbg_bindRenderbuffer_7b2b49f71f3eeef9","__wbg_bindTexture_edd827f3dba6038e","__wbg_blendFunc_d5ab9f0ff5a40a48","blendFunc","__wbg_clear_da26620d46f0a11a","clear","__wbg_clearColor_cbf22f8faa5a52c1","clearColor","__wbg_colorMask_035708eb94fe9af8","colorMask","__wbg_compileShader_8fb70a472f32552c","compileShader","__wbg_createBuffer_4802e2f0e1b1acdf","__wbg_createProgram_b1d94f4c7554d3a1","createProgram","__wbg_createShader_da09e167692f0dc7","createShader","__wbg_createTexture_bafc7c08393ae59d","__wbg_disable_b07faddb7d04349f","disable","__wbg_disableVertexAttribArray_c9fdabd5f12b0539","disableVertexAttribArray","__wbg_drawElements_8e8af4b6757fedce","drawElements","__wbg_enable_d3d210aeb08eff52","enable","__wbg_enableVertexAttribArray_d539e547495bea44","enableVertexAttribArray","__wbg_getAttribLocation_706a0beabcdaebcf","getAttribLocation","__wbg_getExtension_045789240c50a108","getExtension","__wbg_getParameter_6412bd2d0602696d","__wbg_getProgramInfoLog_b60e82d52c200cbd","getProgramInfoLog","__wbg_getProgramParameter_229c193895936bbe","getProgramParameter","__wbg_getShaderInfoLog_ba51160c01b98360","getShaderInfoLog","__wbg_getUniformLocation_c3b3570b4632cc5c","getUniformLocation","__wbg_linkProgram_7080c84b0233cea2","linkProgram","__wbg_pixelStorei_3cd96723ae22a5c6","pixelStorei","__wbg_shaderSource_67b991301db003d0","shaderSource","__wbg_stencilFunc_bbc24750c2db9a15","stencilFunc","__wbg_stencilMask_0ec7662710f598d4","stencilMask","__wbg_stencilOp_fd4ec71a7de6ac85","stencilOp","__wbg_texParameteri_bd724f6a5ad0cbbc","__wbg_uniform1f_b9cff1cea32def5a","uniform1f","__wbg_uniform1i_0811c29c0eebe191","uniform1i","__wbg_useProgram_b72b0bfcbc720fa9","useProgram","__wbg_vertexAttribPointer_b5cb524c6fe9eec8","vertexAttribPointer","__wbg_viewport_89af3aceb7036a2c","viewport","__wbg_debug_675b0ecb65722d2a","__wbg_error_cc38ce2b4b661e1d","__wbg_info_e0c9813e6fd3bdc1","info","__wbg_log_3445347661d4505e","log","__wbg_warn_5ec7c7c02d0b3841","warn","__wbg_style_c88e323890d3a091","style","__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae","CanvasRenderingContext2D","__wbg_setglobalAlpha_27b14e5f5b7567ec","globalAlpha","__wbg_setglobalCompositeOperation_c650e9805cc6316f","globalCompositeOperation","__wbg_setstrokeStyle_947bd4c26c94673f","strokeStyle","__wbg_setfillStyle_528a6a267c863ae7","fillStyle","__wbg_setfilter_3d48443a4a710be8","filter","__wbg_setimageSmoothingEnabled_92d14a22667eae22","imageSmoothingEnabled","__wbg_setlineWidth_3221b7818c00ed48","lineWidth","__wbg_setlineCap_5284a001e1efcecd","lineCap","__wbg_setlineJoin_a6af4e7d24a3a67e","lineJoin","__wbg_setmiterLimit_9fa0d72650341727","miterLimit","__wbg_drawImage_5e8203c5b210fce3","drawImage","__wbg_drawImage_9492b361f8b31282","__wbg_fill_75988ff43d6e3499","__wbg_stroke_d91ac76d5b1eb792","stroke","__wbg_createPattern_1d0b3c3750c8448c","createPattern","__wbg_createPattern_b824d17776fa1f1e","__wbg_getImageData_9ffc3df78ca3dbc9","getImageData","__wbg_putImageData_b9544b271e569392","putImageData","__wbg_clearRect_07caefec3496ced1","clearRect","__wbg_fillRect_10e42dc7a5e8cccd","fillRect","__wbg_resetTransform_26f86c1cc48a4fae","resetTransform","__wbg_setTransform_8ffd6a5c85396174","__wbg_newwithbuffersourcesequenceandoptions_2b60b470c130cb1a","Blob","__wbg_addEventListener_52721772cc0a7f30","addEventListener","__wbg_addEventListener_09e11fbf8b4b719b","__wbg_addEventListener_0ed522a6d9900d5d","__wbg_removeEventListener_f2adc9b2b318de99","removeEventListener","__wbg_removeEventListener_24d5a7c12c3f3c39","__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e","HTMLCanvasElement","__wbg_width_555f63ab09ba7d3f","width","__wbg_setwidth_c1a7061891b71f25","__wbg_height_7153faec70fbaf7b","height","__wbg_setheight_88894b05710ff752","__wbg_getContext_f701d0231ae22393","getContext","__wbg_getContext_3e21e21280a332fc","__wbg_width_16bd64d09cbf5661","__wbg_height_368bb86c37d51bc9","__wbg_data_1ae7496c58caf755","passArray8ToWasm0","data","__wbg_newwithu8clampedarray_45da2809f7882d12","ImageData","__wbg_userAgent_bdd46cceef222f52","userAgent","__wbg_get_67189fe0b323d288","__wbg_new_949bbc1147195c4e","__wbg_newnoargs_be86524d73f67598","Function","__wbg_next_7720502039b96d00","next","__wbg_done_b06cf0578e89ff68","done","__wbg_value_e74a542443d92451","__wbg_get_4d0f21c2f823742e","Reflect","__wbg_call_888d259a5fefc347","__wbg_new_0b83d3df67ecb33e","__wbg_isArray_eb7ad55f2da67dde","__wbg_of_db9e1b8e0a7ed9bc","of","__wbg_push_284486ca27c6aa8b","__wbg_instanceof_ArrayBuffer_764b6d4119231cb3","ArrayBuffer","__wbg_new_3e02a228090b2e72","__wbg_slice_dcc477bca8fe38b1","__wbg_values_364ae56c608e6824","values","__wbg_apply_7cfa6ebf144990a5","__wbg_call_346669c262382ad7","__wbg_getTime_10d33f4f2959e5dd","getTime","__wbg_getTimezoneOffset_d3e5a22a1b7fb1d8","getTimezoneOffset","__wbg_new0_fd3a3a290b25cdac","Date","__wbg_instanceof_Object_66786225e0dbc8ba","__wbg_entries_aadf9c3f38203a12","entries","__wbg_fromEntries_164ebf0f69983a8e","fromEntries","__wbg_is_0f5efc7977a2c50b","is","__wbg_new_b1d61b5687f5e73a","state0","Promise","wasm_bindgen__convert__closures__invoke2_mut__hca44cfcccf347cf6","__wbg_adapter_606","__wbg_resolve_d23068002f584f22","resolve","__wbg_then_2fcac196782070cc","then","__wbg_then_8c2d62e8ae5978f7","__wbg_self_c6fbdfc2918d5e58","self","__wbg_window_baec038b5ab35c54","window","__wbg_globalThis_3f735a5746d41fbd","globalThis","__wbg_global_1bc0b39582740e95","g","global","__wbg_buffer_397eaa4d72ee94dd","__wbg_newwithbyteoffsetandlength_4b9b8c4e3f5adbff","__wbg_new_a7ce447f15ff496f","__wbg_set_969ad0a60e51d320","__wbg_length_1eb8fc608a0d4cdb","__wbg_newwithlength_929232475839a482","__wbg_fill_cd6951964c67ad3a","__wbg_buffer_facf0398a281c85b","__wbg_subarray_8b658422a224f479","__wbg_byteLength_3e250b41a8915757","byteLength","__wbg_byteOffset_4204ecb24a6e5df9","byteOffset","__wbg_ownKeys_f3f1916b5564918f","ownKeys","__wbg_set_82a4e8a85e31ac42","__wbindgen_debug_string","__wbindgen_throw","__wbindgen_rethrow","__wbindgen_memory","__wbindgen_closure_wrapper451","__wbindgen_closure_wrapper452","__wbindgen_closure_wrapper453","__wbindgen_closure_wrapper454","__wbindgen_closure_wrapper455","__wbindgen_closure_wrapper456","__wbindgen_closure_wrapper457","__wbindgen_closure_wrapper458","__wbindgen_closure_wrapper1936","instance","WebAssembly","instantiateStreaming","headers","bytes","instantiate","Instance","load","exports","__wbindgen_wasm_module"],"sourceRoot":""} \ No newline at end of file diff --git a/js/core.ruffle.ece9e8fa5a7d72d73689.js b/js/core.ruffle.ece9e8fa5a7d72d73689.js new file mode 100644 index 0000000..f368ef5 --- /dev/null +++ b/js/core.ruffle.ece9e8fa5a7d72d73689.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkruffle_selfhosted=self.webpackChunkruffle_selfhosted||[]).push([[966],{762:(e,n,_)=>{function t(e,n,_){n&&e.getChannelData(0).set(n),_&&e.getChannelData(1).set(_)}function r(e){var n,_;const t=null===(n=e.getOutputTimestamp)||void 0===n?void 0:n.call(e);return null!==(_=null==t?void 0:t.contextTime)&&void 0!==_?_:e.currentTime-e.baseLatency}_.d(n,{K:()=>t,T:()=>r})},966:(e,n,_)=>{_.r(n),_.d(n,{Ruffle:()=>G,default:()=>H});var t=_(762);const r="undefined"!=typeof AudioContext?AudioContext:"undefined"!=typeof webkitAudioContext?webkitAudioContext:void 0;let b;const c=new Array(32).fill(void 0);function f(e){return c[e]}c.push(void 0,null,!0,!1);let u=c.length;function o(e){const n=f(e);return function(e){e<36||(c[e]=u,u=e)}(e),n}let a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});a.decode();let i=null;function g(){return null!==i&&i.buffer===b.memory.buffer||(i=new Uint8Array(b.memory.buffer)),i}function w(e,n){return a.decode(g().subarray(e,e+n))}function d(e){u===c.length&&c.push(c.length+1);const n=u;return u=c[n],c[n]=e,n}let s=0,l=new TextEncoder("utf-8");const m="function"==typeof l.encodeInto?function(e,n){return l.encodeInto(e,n)}:function(e,n){const _=l.encode(e);return n.set(_),{read:e.length,written:_.length}};function p(e,n,_){if(void 0===_){const _=l.encode(e),t=n(_.length);return g().subarray(t,t+_.length).set(_),s=_.length,t}let t=e.length,r=n(t);const b=g();let c=0;for(;c127)break;b[r+c]=n}if(c!==t){0!==c&&(e=e.slice(c)),r=_(r,t,t=c+3*e.length);const n=g().subarray(r+c,r+t);c+=m(e,n).written}return s=c,r}let y=null;function h(){return null!==y&&y.buffer===b.memory.buffer||(y=new Int32Array(b.memory.buffer)),y}function v(e){return null==e}let x=null;function A(e){const n=typeof e;if("number"==n||"boolean"==n||null==e)return`${e}`;if("string"==n)return`"${e}"`;if("symbol"==n){const n=e.description;return null==n?"Symbol":`Symbol(${n})`}if("function"==n){const n=e.name;return"string"==typeof n&&n.length>0?`Function(${n})`:"Function"}if(Array.isArray(e)){const n=e.length;let _="[";n>0&&(_+=A(e[0]));for(let t=1;t1))return toString.call(e);if(t=_[1],"Object"==t)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:t}function S(e,n,_,t){const r={a:e,b:n,cnt:1,dtor:_},c=(...e)=>{r.cnt++;const n=r.a;r.a=0;try{return t(n,r.b,...e)}finally{0==--r.cnt?b.__wbindgen_export_2.get(r.dtor)(n,r.b):r.a=n}};return c.original=r,c}function C(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function T(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function R(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2b29ce5f03a3005f(e,n)}function E(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function F(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h14840cb9b3b797cb(e,n,_)}function P(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function k(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function M(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(e,n,d(_))}function O(e,n,_){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6769736ffe94a981(e,n,d(_))}let L=null;function W(e,n){return(null!==L&&L.buffer===b.memory.buffer||(L=new Float32Array(b.memory.buffer)),L).subarray(e/4,e/4+n)}function D(e,n){try{return e.apply(this,n)}catch(e){b.__wbindgen_exn_store(d(e))}}let I=32;function B(e){if(1==I)throw new Error("out of js stack");return c[--I]=e,I}let V=null;function j(e,n){return g().subarray(e/1,e/1+n)}let U=null;function q(e,n){return(null!==U&&U.buffer===b.memory.buffer||(U=new Uint8ClampedArray(b.memory.buffer)),U).subarray(e/1,e/1+n)}class G{static __wrap(e){const n=Object.create(G.prototype);return n.ptr=e,n}__destroy_into_raw(){const e=this.ptr;return this.ptr=0,e}free(){const e=this.__destroy_into_raw();b.__wbg_ruffle_free(e)}constructor(e,n,_){try{return o(b.ruffle_new(d(e),d(n),B(_)))}finally{c[I++]=void 0}}stream_from(e,n){try{var _=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;b.ruffle_stream_from(this.ptr,_,t,B(n))}finally{c[I++]=void 0}}load_data(e,n){try{b.ruffle_load_data(this.ptr,d(e),B(n))}finally{c[I++]=void 0}}play(){b.ruffle_play(this.ptr)}pause(){b.ruffle_pause(this.ptr)}is_playing(){return 0!==b.ruffle_is_playing(this.ptr)}prepare_context_menu(){return o(b.ruffle_prepare_context_menu(this.ptr))}run_context_menu_callback(e){b.ruffle_run_context_menu_callback(this.ptr,e)}set_fullscreen(e){b.ruffle_set_fullscreen(this.ptr,e)}clear_custom_menu_items(){b.ruffle_clear_custom_menu_items(this.ptr)}destroy(){b.ruffle_destroy(this.ptr)}call_exposed_callback(e,n){var _=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s,r=function(e,n){const _=n(4*e.length),t=(null!==V&&V.buffer===b.memory.buffer||(V=new Uint32Array(b.memory.buffer)),V);for(let n=0;n>>0,i>>>0)},c.wbg.__wbg_createVertexArray_d59135c0a43c410b=function(e){var n=f(e).createVertexArray();return v(n)?0:d(n)},c.wbg.__wbg_renderbufferStorageMultisample_41916a754c02df64=function(e,n,_,t,r,b){f(e).renderbufferStorageMultisample(n>>>0,_,t>>>0,r,b)},c.wbg.__wbg_texImage2D_29ea0a7f026e239b=function(){return D((function(e,n,_,t,r,b,c,u,o,a,i){f(e).texImage2D(n>>>0,_,t,r,b,c,u>>>0,o>>>0,0===a?void 0:j(a,i))}),arguments)},c.wbg.__wbg_bindFramebuffer_48c4bf8ff82bf7e9=function(e,n,_){f(e).bindFramebuffer(n>>>0,f(_))},c.wbg.__wbg_bindRenderbuffer_4a9ad1cf80580397=function(e,n,_){f(e).bindRenderbuffer(n>>>0,f(_))},c.wbg.__wbg_bindTexture_9d8ed0fcd83eb0a9=function(e,n,_){f(e).bindTexture(n>>>0,f(_))},c.wbg.__wbg_createFramebuffer_9818fc04b4a38c18=function(e){var n=f(e).createFramebuffer();return v(n)?0:d(n)},c.wbg.__wbg_createRenderbuffer_d1a55ec78e26295b=function(e){var n=f(e).createRenderbuffer();return v(n)?0:d(n)},c.wbg.__wbg_createTexture_8f31e7386e22fc37=function(e){var n=f(e).createTexture();return v(n)?0:d(n)},c.wbg.__wbg_deleteFramebuffer_5f58ccb548438c57=function(e,n){f(e).deleteFramebuffer(f(n))},c.wbg.__wbg_deleteRenderbuffer_6372146d4689793e=function(e,n){f(e).deleteRenderbuffer(f(n))},c.wbg.__wbg_deleteTexture_a0632c71429795ac=function(e,n){f(e).deleteTexture(f(n))},c.wbg.__wbg_framebufferRenderbuffer_9d619e8bf8f2aeb6=function(e,n,_,t,r){f(e).framebufferRenderbuffer(n>>>0,_>>>0,t>>>0,f(r))},c.wbg.__wbg_framebufferTexture2D_3da41a7f38e2c523=function(e,n,_,t,r,b){f(e).framebufferTexture2D(n>>>0,_>>>0,t>>>0,f(r),b)},c.wbg.__wbg_getError_868f7c8ef6475b32=function(e){return f(e).getError()},c.wbg.__wbg_getParameter_e3aea13dd0a2904d=function(){return D((function(e,n){return d(f(e).getParameter(n>>>0))}),arguments)},c.wbg.__wbg_texParameteri_c54aab65b2f8cf6d=function(e,n,_,t){f(e).texParameteri(n>>>0,_>>>0,t)},c.wbg.__wbg_instanceof_Window_c4b70662a0d2c5ec=function(e){return f(e)instanceof Window},c.wbg.__wbg_document_1c64944725c0d81d=function(e){var n=f(e).document;return v(n)?0:d(n)},c.wbg.__wbg_location_f98ad02632f88c43=function(e){return d(f(e).location)},c.wbg.__wbg_navigator_480e592af6ad365b=function(e){return d(f(e).navigator)},c.wbg.__wbg_devicePixelRatio_d8c3852bb37f76bf=function(e){return f(e).devicePixelRatio},c.wbg.__wbg_performance_947628766699c5bb=function(e){var n=f(e).performance;return v(n)?0:d(n)},c.wbg.__wbg_localStorage_6775414303ab5085=function(){return D((function(e){var n=f(e).localStorage;return v(n)?0:d(n)}),arguments)},c.wbg.__wbg_cancelAnimationFrame_5f2a1e987a6de100=function(){return D((function(e,n){f(e).cancelAnimationFrame(n)}),arguments)},c.wbg.__wbg_focus_70ecc8fcab4bdb61=function(){return D((function(e){f(e).focus()}),arguments)},c.wbg.__wbg_open_5416e4448a959cfa=function(){return D((function(e,n,_,t,r){var b=f(e).open(w(n,_),w(t,r));return v(b)?0:d(b)}),arguments)},c.wbg.__wbg_requestAnimationFrame_71638ca922068239=function(){return D((function(e,n){return f(e).requestAnimationFrame(f(n))}),arguments)},c.wbg.__wbg_fetch_cfe0d1dd786e9cd4=function(e,n){return d(f(e).fetch(f(n)))},c.wbg.__wbg_destination_6c3ac66ee8b2fe85=function(e){return d(f(e).destination)},c.wbg.__wbg_sampleRate_ffa6f08191b00934=function(e){return f(e).sampleRate},c.wbg.__wbg_currentTime_e231c76a3c011126=function(e){return f(e).currentTime},c.wbg.__wbg_new_52bbbd81ffc19dff=function(){return D((function(){return d(new r)}),arguments)},c.wbg.__wbg_suspend_5b2c4674b28d07f2=function(){return D((function(e){return d(f(e).suspend())}),arguments)},c.wbg.__wbg_createBuffer_79833a4052d7b42a=function(){return D((function(e,n,_,t){return d(f(e).createBuffer(n>>>0,_>>>0,t))}),arguments)},c.wbg.__wbg_createBufferSource_7244d810d62a0bed=function(){return D((function(e){return d(f(e).createBufferSource())}),arguments)},c.wbg.__wbg_createChannelMerger_542d0885aa4bdc09=function(){return D((function(e,n){return d(f(e).createChannelMerger(n>>>0))}),arguments)},c.wbg.__wbg_createChannelSplitter_95302cbc3f9b9f85=function(){return D((function(e,n){return d(f(e).createChannelSplitter(n>>>0))}),arguments)},c.wbg.__wbg_createGain_c5f114390c363029=function(){return D((function(e){return d(f(e).createGain())}),arguments)},c.wbg.__wbg_createScriptProcessor_ec30f8ab6ea543d1=function(){return D((function(e,n,_,t){return d(f(e).createScriptProcessor(n>>>0,_>>>0,t>>>0))}),arguments)},c.wbg.__wbg_decodeAudioData_66b886741a4167f4=function(){return D((function(e,n,_,t){return d(f(e).decodeAudioData(f(n),f(_),f(t)))}),arguments)},c.wbg.__wbg_resume_ca50287e91c0323e=function(){return D((function(e){return d(f(e).resume())}),arguments)},c.wbg.__wbg_setvalue_df8236adf40ea2d3=function(e,n){f(e).value=n},c.wbg.__wbg_linearRampToValueAtTime_113d2920c90f1851=function(){return D((function(e,n,_){return d(f(e).linearRampToValueAtTime(n,_))}),arguments)},c.wbg.__wbg_setValueAtTime_9396570ff0d3cc1f=function(){return D((function(e,n,_){return d(f(e).setValueAtTime(n,_))}),arguments)},c.wbg.__wbg_gain_d4eaca6128dcfd90=function(e){return d(f(e).gain)},c.wbg.__wbg_baseURI_083fd53f8bea9af2=function(){return D((function(e,n){var _=f(n).baseURI,t=v(_)?0:p(_,b.__wbindgen_malloc,b.__wbindgen_realloc),r=s;h()[e/4+1]=r,h()[e/4+0]=t}),arguments)},c.wbg.__wbg_appendChild_d318db34c4559916=function(){return D((function(e,n){return d(f(e).appendChild(f(n)))}),arguments)},c.wbg.__wbg_instanceof_SvgsvgElement_631275f115d8f8e3=function(e){return f(e)instanceof SVGSVGElement},c.wbg.__wbg_createSVGMatrix_037d6368ea06b02d=function(e){return d(f(e).createSVGMatrix())},c.wbg.__wbg_protocol_f17adabd4e662b06=function(){return D((function(e,n){var _=p(f(n).protocol,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_}),arguments)},c.wbg.__wbg_assign_26269af9ce90e6c7=function(){return D((function(e,n,_){f(e).assign(w(n,_))}),arguments)},c.wbg.__wbg_new_a3422e0170c31454=function(){return D((function(){return d(new Path2D)}),arguments)},c.wbg.__wbg_addPath_18881cd56483fe63=function(e,n,_){f(e).addPath(f(n),f(_))},c.wbg.__wbg_closePath_bf39ada268053aea=function(e){f(e).closePath()},c.wbg.__wbg_lineTo_4d75fbab7308c3d2=function(e,n,_){f(e).lineTo(n,_)},c.wbg.__wbg_moveTo_70f7a4760893f917=function(e,n,_){f(e).moveTo(n,_)},c.wbg.__wbg_quadraticCurveTo_7724e01d766ebfe2=function(e,n,_,t,r){f(e).quadraticCurveTo(n,_,t,r)},c.wbg.__wbg_get_f0092ad67dc97639=function(){return D((function(e,n,_,t){var r=f(n)[w(_,t)],c=v(r)?0:p(r,b.__wbindgen_malloc,b.__wbindgen_realloc),u=s;h()[e/4+1]=u,h()[e/4+0]=c}),arguments)},c.wbg.__wbg_set_3a236a97145dc780=function(){return D((function(e,n,_,t,r){f(e)[w(n,_)]=w(t,r)}),arguments)},c.wbg.__wbg_delete_881ab2d2a830b82f=function(){return D((function(e,n,_){delete f(e)[w(n,_)]}),arguments)},c.wbg.__wbg_length_b398b347bd3c9cd5=function(e){return f(e).length},c.wbg.__wbg_setTransform_3f9fc1784a580fff=function(e,n){f(e).setTransform(f(n))},c.wbg.__wbg_setProperty_1460c660bc329763=function(){return D((function(e,n,_,t,r){f(e).setProperty(w(n,_),w(t,r))}),arguments)},c.wbg.__wbg_offsetX_5da3ebf8a8cda8a4=function(e){return f(e).offsetX},c.wbg.__wbg_offsetY_b0edbc16723a55cb=function(e){return f(e).offsetY},c.wbg.__wbg_button_a02c0467d38e8338=function(e){return f(e).button},c.wbg.__wbg_bindVertexArrayOES_7104c80fb0d31cb0=function(e,n){f(e).bindVertexArrayOES(f(n))},c.wbg.__wbg_createVertexArrayOES_ced4f8a084b789b7=function(e){var n=f(e).createVertexArrayOES();return v(n)?0:d(n)},c.wbg.__wbg_deltaY_080604c20160c0e8=function(e){return f(e).deltaY},c.wbg.__wbg_deltaMode_c5ec1ee518ea0a08=function(e){return f(e).deltaMode},c.wbg.__wbg_connect_723cc4823fe3e6c0=function(){return D((function(e,n){return d(f(e).connect(f(n)))}),arguments)},c.wbg.__wbg_connect_cb8dcaafd6d14fe4=function(){return D((function(e,n,_){return d(f(e).connect(f(n),_>>>0))}),arguments)},c.wbg.__wbg_connect_eb8fcb61cab88f0b=function(){return D((function(e,n,_,t){return d(f(e).connect(f(n),_>>>0,t>>>0))}),arguments)},c.wbg.__wbg_disconnect_661941cf5b88fa5a=function(){return D((function(e){f(e).disconnect()}),arguments)},c.wbg.__wbg_instanceof_HtmlFormElement_aeafa27e92962efa=function(e){return f(e)instanceof HTMLFormElement},c.wbg.__wbg_submit_7479ea6e99f76174=function(){return D((function(e){f(e).submit()}),arguments)},c.wbg.__wbg_instanceof_Response_e1b11afbefa5b563=function(e){return f(e)instanceof Response},c.wbg.__wbg_ok_270f6d403efe7e7b=function(e){return f(e).ok},c.wbg.__wbg_statusText_97740db9b8bb12e3=function(e,n){var _=p(f(n).statusText,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbg_arrayBuffer_b8937ed04beb0d36=function(){return D((function(e){return d(f(e).arrayBuffer())}),arguments)},c.wbg.__wbg_seta_f5667df13832f473=function(e,n){f(e).a=n},c.wbg.__wbg_setb_51b68c87004ceb92=function(e,n){f(e).b=n},c.wbg.__wbg_setc_62d7a8abc0082fcc=function(e,n){f(e).c=n},c.wbg.__wbg_setd_544fd4902db40bca=function(e,n){f(e).d=n},c.wbg.__wbg_sete_a3575dd88c8f17a3=function(e,n){f(e).e=n},c.wbg.__wbg_setf_956eaea5b3047302=function(e,n){f(e).f=n},c.wbg.__wbg_setbuffer_c643a88bac27b2bd=function(e,n){f(e).buffer=f(n)},c.wbg.__wbg_setloop_32c84ea32fabef74=function(e,n){f(e).loop=0!==n},c.wbg.__wbg_setloopStart_a113b4d478da7f93=function(e,n){f(e).loopStart=n},c.wbg.__wbg_setloopEnd_b83c2563fe5be665=function(e,n){f(e).loopEnd=n},c.wbg.__wbg_setonended_6ce8715add45953e=function(e,n){f(e).onended=f(n)},c.wbg.__wbg_start_551bedf1ecfdc0e2=function(){return D((function(e){f(e).start()}),arguments)},c.wbg.__wbg_start_885262ec460f3ef3=function(){return D((function(e,n,_){f(e).start(n,_)}),arguments)},c.wbg.__wbg_stop_c6532de1aeb2e765=function(){return D((function(e,n){f(e).stop(n)}),arguments)},c.wbg.__wbg_outputBuffer_3f27dc3af0998ec9=function(){return D((function(e){return d(f(e).outputBuffer)}),arguments)},c.wbg.__wbg_now_559193109055ebad=function(e){return f(e).now()},c.wbg.__wbg_pointerId_9302f0e125f0b48e=function(e){return f(e).pointerId},c.wbg.__wbg_currentTarget_65309531208d5df3=function(e){var n=f(e).currentTarget;return v(n)?0:d(n)},c.wbg.__wbg_preventDefault_9866c9fd51eecfb6=function(e){f(e).preventDefault()},c.wbg.__wbg_setsrc_3eb04f553f8335c7=function(e,n,_){f(e).src=w(n,_)},c.wbg.__wbg_new_265b3e027a3022bd=function(){return D((function(){return d(new Image)}),arguments)},c.wbg.__wbg_key_10dcaa4bb6d5449f=function(e,n){var _=p(f(n).key,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbg_code_1c2fd251f38b398a=function(e,n){var _=p(f(n).code,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbg_newwithstrandinit_9b0fa00478c37287=function(){return D((function(e,n,_){return d(new Request(w(e,n),f(_)))}),arguments)},c.wbg.__wbg_setonaudioprocess_4334efc34353560d=function(e,n){f(e).onaudioprocess=f(n)},c.wbg.__wbg_body_78ae4fd43b446013=function(e){var n=f(e).body;return v(n)?0:d(n)},c.wbg.__wbg_createElement_86c152812a141a62=function(){return D((function(e,n,_){return d(f(e).createElement(w(n,_)))}),arguments)},c.wbg.__wbg_createElementNS_ae12b8681c3957a3=function(){return D((function(e,n,_,t,r){return d(f(e).createElementNS(0===n?void 0:w(n,_),w(t,r)))}),arguments)},c.wbg.__wbg_setid_681bb5a14c3d5850=function(e,n,_){f(e).id=w(n,_)},c.wbg.__wbg_clientWidth_4d9e01af2b5b9f21=function(e){return f(e).clientWidth},c.wbg.__wbg_clientHeight_87c209f0cacf2e97=function(e){return f(e).clientHeight},c.wbg.__wbg_querySelector_dc71838110c91f39=function(){return D((function(e,n,_){var t=f(e).querySelector(w(n,_));return v(t)?0:d(t)}),arguments)},c.wbg.__wbg_releasePointerCapture_326599f769b49681=function(){return D((function(e,n){f(e).releasePointerCapture(n)}),arguments)},c.wbg.__wbg_setAttribute_1b533bf07966de55=function(){return D((function(e,n,_,t,r){f(e).setAttribute(w(n,_),w(t,r))}),arguments)},c.wbg.__wbg_setAttributeNS_92db6decf2ec8400=function(){return D((function(e,n,_,t,r,b,c){f(e).setAttributeNS(0===n?void 0:w(n,_),w(t,r),w(b,c))}),arguments)},c.wbg.__wbg_setPointerCapture_bd3244d9f008798f=function(){return D((function(e,n){f(e).setPointerCapture(n)}),arguments)},c.wbg.__wbg_remove_c63cabc94a77cacb=function(e){f(e).remove()},c.wbg.__wbg_instanceof_WebGlRenderingContext_101b938bec1286a3=function(e){return f(e)instanceof WebGLRenderingContext},c.wbg.__wbg_drawingBufferWidth_8b0c2b31d9d6eee7=function(e){return f(e).drawingBufferWidth},c.wbg.__wbg_drawingBufferHeight_f62678018bab567c=function(e){return f(e).drawingBufferHeight},c.wbg.__wbg_bufferData_2f9be23b37e5a1a4=function(e,n,_,t,r){f(e).bufferData(n>>>0,j(_,t),r>>>0)},c.wbg.__wbg_texImage2D_712c56fe5a9825ed=function(){return D((function(e,n,_,t,r,b,c,u,o,a,i){f(e).texImage2D(n>>>0,_,t,r,b,c,u>>>0,o>>>0,0===a?void 0:j(a,i))}),arguments)},c.wbg.__wbg_uniform1fv_02b26dddaa3ea984=function(e,n,_,t){f(e).uniform1fv(f(n),W(_,t))},c.wbg.__wbg_uniform4fv_ca394beb323215c6=function(e,n,_,t){f(e).uniform4fv(f(n),W(_,t))},c.wbg.__wbg_uniformMatrix3fv_340429fe0911bc6f=function(e,n,_,t,r){f(e).uniformMatrix3fv(f(n),0!==_,W(t,r))},c.wbg.__wbg_uniformMatrix4fv_a92133b68236ac68=function(e,n,_,t,r){f(e).uniformMatrix4fv(f(n),0!==_,W(t,r))},c.wbg.__wbg_activeTexture_b34aca0c2110966c=function(e,n){f(e).activeTexture(n>>>0)},c.wbg.__wbg_attachShader_eaa824fd5b37a770=function(e,n,_){f(e).attachShader(f(n),f(_))},c.wbg.__wbg_bindBuffer_2ca7e1c18819ecb2=function(e,n,_){f(e).bindBuffer(n>>>0,f(_))},c.wbg.__wbg_bindFramebuffer_c9f468afa9d42a5f=function(e,n,_){f(e).bindFramebuffer(n>>>0,f(_))},c.wbg.__wbg_bindRenderbuffer_7b2b49f71f3eeef9=function(e,n,_){f(e).bindRenderbuffer(n>>>0,f(_))},c.wbg.__wbg_bindTexture_edd827f3dba6038e=function(e,n,_){f(e).bindTexture(n>>>0,f(_))},c.wbg.__wbg_blendFunc_d5ab9f0ff5a40a48=function(e,n,_){f(e).blendFunc(n>>>0,_>>>0)},c.wbg.__wbg_clear_da26620d46f0a11a=function(e,n){f(e).clear(n>>>0)},c.wbg.__wbg_clearColor_cbf22f8faa5a52c1=function(e,n,_,t,r){f(e).clearColor(n,_,t,r)},c.wbg.__wbg_colorMask_035708eb94fe9af8=function(e,n,_,t,r){f(e).colorMask(0!==n,0!==_,0!==t,0!==r)},c.wbg.__wbg_compileShader_8fb70a472f32552c=function(e,n){f(e).compileShader(f(n))},c.wbg.__wbg_createBuffer_4802e2f0e1b1acdf=function(e){var n=f(e).createBuffer();return v(n)?0:d(n)},c.wbg.__wbg_createProgram_b1d94f4c7554d3a1=function(e){var n=f(e).createProgram();return v(n)?0:d(n)},c.wbg.__wbg_createShader_da09e167692f0dc7=function(e,n){var _=f(e).createShader(n>>>0);return v(_)?0:d(_)},c.wbg.__wbg_createTexture_bafc7c08393ae59d=function(e){var n=f(e).createTexture();return v(n)?0:d(n)},c.wbg.__wbg_disable_b07faddb7d04349f=function(e,n){f(e).disable(n>>>0)},c.wbg.__wbg_disableVertexAttribArray_c9fdabd5f12b0539=function(e,n){f(e).disableVertexAttribArray(n>>>0)},c.wbg.__wbg_drawElements_8e8af4b6757fedce=function(e,n,_,t,r){f(e).drawElements(n>>>0,_,t>>>0,r)},c.wbg.__wbg_enable_d3d210aeb08eff52=function(e,n){f(e).enable(n>>>0)},c.wbg.__wbg_enableVertexAttribArray_d539e547495bea44=function(e,n){f(e).enableVertexAttribArray(n>>>0)},c.wbg.__wbg_getAttribLocation_706a0beabcdaebcf=function(e,n,_,t){return f(e).getAttribLocation(f(n),w(_,t))},c.wbg.__wbg_getExtension_045789240c50a108=function(){return D((function(e,n,_){var t=f(e).getExtension(w(n,_));return v(t)?0:d(t)}),arguments)},c.wbg.__wbg_getParameter_6412bd2d0602696d=function(){return D((function(e,n){return d(f(e).getParameter(n>>>0))}),arguments)},c.wbg.__wbg_getProgramInfoLog_b60e82d52c200cbd=function(e,n,_){var t=f(n).getProgramInfoLog(f(_)),r=v(t)?0:p(t,b.__wbindgen_malloc,b.__wbindgen_realloc),c=s;h()[e/4+1]=c,h()[e/4+0]=r},c.wbg.__wbg_getProgramParameter_229c193895936bbe=function(e,n,_){return d(f(e).getProgramParameter(f(n),_>>>0))},c.wbg.__wbg_getShaderInfoLog_ba51160c01b98360=function(e,n,_){var t=f(n).getShaderInfoLog(f(_)),r=v(t)?0:p(t,b.__wbindgen_malloc,b.__wbindgen_realloc),c=s;h()[e/4+1]=c,h()[e/4+0]=r},c.wbg.__wbg_getUniformLocation_c3b3570b4632cc5c=function(e,n,_,t){var r=f(e).getUniformLocation(f(n),w(_,t));return v(r)?0:d(r)},c.wbg.__wbg_linkProgram_7080c84b0233cea2=function(e,n){f(e).linkProgram(f(n))},c.wbg.__wbg_pixelStorei_3cd96723ae22a5c6=function(e,n,_){f(e).pixelStorei(n>>>0,_)},c.wbg.__wbg_shaderSource_67b991301db003d0=function(e,n,_,t){f(e).shaderSource(f(n),w(_,t))},c.wbg.__wbg_stencilFunc_bbc24750c2db9a15=function(e,n,_,t){f(e).stencilFunc(n>>>0,_,t>>>0)},c.wbg.__wbg_stencilMask_0ec7662710f598d4=function(e,n){f(e).stencilMask(n>>>0)},c.wbg.__wbg_stencilOp_fd4ec71a7de6ac85=function(e,n,_,t){f(e).stencilOp(n>>>0,_>>>0,t>>>0)},c.wbg.__wbg_texParameteri_bd724f6a5ad0cbbc=function(e,n,_,t){f(e).texParameteri(n>>>0,_>>>0,t)},c.wbg.__wbg_uniform1f_b9cff1cea32def5a=function(e,n,_){f(e).uniform1f(f(n),_)},c.wbg.__wbg_uniform1i_0811c29c0eebe191=function(e,n,_){f(e).uniform1i(f(n),_)},c.wbg.__wbg_useProgram_b72b0bfcbc720fa9=function(e,n){f(e).useProgram(f(n))},c.wbg.__wbg_vertexAttribPointer_b5cb524c6fe9eec8=function(e,n,_,t,r,b,c){f(e).vertexAttribPointer(n>>>0,_,t>>>0,0!==r,b,c)},c.wbg.__wbg_viewport_89af3aceb7036a2c=function(e,n,_,t,r){f(e).viewport(n,_,t,r)},c.wbg.__wbg_debug_675b0ecb65722d2a=function(e){console.debug(f(e))},c.wbg.__wbg_error_cc38ce2b4b661e1d=function(e){console.error(f(e))},c.wbg.__wbg_info_e0c9813e6fd3bdc1=function(e){console.info(f(e))},c.wbg.__wbg_log_3445347661d4505e=function(e){console.log(f(e))},c.wbg.__wbg_warn_5ec7c7c02d0b3841=function(e){console.warn(f(e))},c.wbg.__wbg_style_c88e323890d3a091=function(e){return d(f(e).style)},c.wbg.__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae=function(e){return f(e)instanceof CanvasRenderingContext2D},c.wbg.__wbg_setglobalAlpha_27b14e5f5b7567ec=function(e,n){f(e).globalAlpha=n},c.wbg.__wbg_setglobalCompositeOperation_c650e9805cc6316f=function(){return D((function(e,n,_){f(e).globalCompositeOperation=w(n,_)}),arguments)},c.wbg.__wbg_setstrokeStyle_947bd4c26c94673f=function(e,n){f(e).strokeStyle=f(n)},c.wbg.__wbg_setfillStyle_528a6a267c863ae7=function(e,n){f(e).fillStyle=f(n)},c.wbg.__wbg_setfilter_3d48443a4a710be8=function(e,n,_){f(e).filter=w(n,_)},c.wbg.__wbg_setimageSmoothingEnabled_92d14a22667eae22=function(e,n){f(e).imageSmoothingEnabled=0!==n},c.wbg.__wbg_setlineWidth_3221b7818c00ed48=function(e,n){f(e).lineWidth=n},c.wbg.__wbg_setlineCap_5284a001e1efcecd=function(e,n,_){f(e).lineCap=w(n,_)},c.wbg.__wbg_setlineJoin_a6af4e7d24a3a67e=function(e,n,_){f(e).lineJoin=w(n,_)},c.wbg.__wbg_setmiterLimit_9fa0d72650341727=function(e,n){f(e).miterLimit=n},c.wbg.__wbg_drawImage_5e8203c5b210fce3=function(){return D((function(e,n,_,t){f(e).drawImage(f(n),_,t)}),arguments)},c.wbg.__wbg_drawImage_9492b361f8b31282=function(){return D((function(e,n,_,t){f(e).drawImage(f(n),_,t)}),arguments)},c.wbg.__wbg_fill_75988ff43d6e3499=function(e,n,_){f(e).fill(f(n),o(_))},c.wbg.__wbg_stroke_d91ac76d5b1eb792=function(e,n){f(e).stroke(f(n))},c.wbg.__wbg_createPattern_1d0b3c3750c8448c=function(){return D((function(e,n,_,t){var r=f(e).createPattern(f(n),w(_,t));return v(r)?0:d(r)}),arguments)},c.wbg.__wbg_createPattern_b824d17776fa1f1e=function(){return D((function(e,n,_,t){var r=f(e).createPattern(f(n),w(_,t));return v(r)?0:d(r)}),arguments)},c.wbg.__wbg_getImageData_9ffc3df78ca3dbc9=function(){return D((function(e,n,_,t,r){return d(f(e).getImageData(n,_,t,r))}),arguments)},c.wbg.__wbg_putImageData_b9544b271e569392=function(){return D((function(e,n,_,t){f(e).putImageData(f(n),_,t)}),arguments)},c.wbg.__wbg_clearRect_07caefec3496ced1=function(e,n,_,t,r){f(e).clearRect(n,_,t,r)},c.wbg.__wbg_fillRect_10e42dc7a5e8cccd=function(e,n,_,t,r){f(e).fillRect(n,_,t,r)},c.wbg.__wbg_resetTransform_26f86c1cc48a4fae=function(){return D((function(e){f(e).resetTransform()}),arguments)},c.wbg.__wbg_setTransform_8ffd6a5c85396174=function(){return D((function(e,n,_,t,r,b,c){f(e).setTransform(n,_,t,r,b,c)}),arguments)},c.wbg.__wbg_newwithbuffersourcesequenceandoptions_2b60b470c130cb1a=function(){return D((function(e,n){return d(new Blob(f(e),f(n)))}),arguments)},c.wbg.__wbg_addEventListener_52721772cc0a7f30=function(){return D((function(e,n,_,t){f(e).addEventListener(w(n,_),f(t))}),arguments)},c.wbg.__wbg_addEventListener_09e11fbf8b4b719b=function(){return D((function(e,n,_,t,r){f(e).addEventListener(w(n,_),f(t),f(r))}),arguments)},c.wbg.__wbg_addEventListener_0ed522a6d9900d5d=function(){return D((function(e,n,_,t,r){f(e).addEventListener(w(n,_),f(t),0!==r)}),arguments)},c.wbg.__wbg_removeEventListener_f2adc9b2b318de99=function(){return D((function(e,n,_,t){f(e).removeEventListener(w(n,_),f(t))}),arguments)},c.wbg.__wbg_removeEventListener_24d5a7c12c3f3c39=function(){return D((function(e,n,_,t,r){f(e).removeEventListener(w(n,_),f(t),0!==r)}),arguments)},c.wbg.__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e=function(e){return f(e)instanceof HTMLCanvasElement},c.wbg.__wbg_width_555f63ab09ba7d3f=function(e){return f(e).width},c.wbg.__wbg_setwidth_c1a7061891b71f25=function(e,n){f(e).width=n>>>0},c.wbg.__wbg_height_7153faec70fbaf7b=function(e){return f(e).height},c.wbg.__wbg_setheight_88894b05710ff752=function(e,n){f(e).height=n>>>0},c.wbg.__wbg_getContext_f701d0231ae22393=function(){return D((function(e,n,_){var t=f(e).getContext(w(n,_));return v(t)?0:d(t)}),arguments)},c.wbg.__wbg_getContext_3e21e21280a332fc=function(){return D((function(e,n,_,t){var r=f(e).getContext(w(n,_),f(t));return v(r)?0:d(r)}),arguments)},c.wbg.__wbg_width_16bd64d09cbf5661=function(e){return f(e).width},c.wbg.__wbg_height_368bb86c37d51bc9=function(e){return f(e).height},c.wbg.__wbg_data_1ae7496c58caf755=function(e,n){var _=function(e,n){const _=n(1*e.length);return g().set(e,_/1),s=e.length,_}(f(n).data,b.__wbindgen_malloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbg_newwithu8clampedarray_45da2809f7882d12=function(){return D((function(e,n,_){return d(new ImageData(q(e,n),_>>>0))}),arguments)},c.wbg.__wbg_userAgent_bdd46cceef222f52=function(){return D((function(e,n){var _=p(f(n).userAgent,b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_}),arguments)},c.wbg.__wbg_get_67189fe0b323d288=function(e,n){return d(f(e)[n>>>0])},c.wbg.__wbg_new_949bbc1147195c4e=function(){return d(new Array)},c.wbg.__wbg_newnoargs_be86524d73f67598=function(e,n){return d(new Function(w(e,n)))},c.wbg.__wbg_next_7720502039b96d00=function(){return D((function(e){return d(f(e).next())}),arguments)},c.wbg.__wbg_done_b06cf0578e89ff68=function(e){return f(e).done},c.wbg.__wbg_value_e74a542443d92451=function(e){return d(f(e).value)},c.wbg.__wbg_get_4d0f21c2f823742e=function(){return D((function(e,n){return d(Reflect.get(f(e),f(n)))}),arguments)},c.wbg.__wbg_call_888d259a5fefc347=function(){return D((function(e,n){return d(f(e).call(f(n)))}),arguments)},c.wbg.__wbg_new_0b83d3df67ecb33e=function(){return d(new Object)},c.wbg.__wbg_isArray_eb7ad55f2da67dde=function(e){return Array.isArray(f(e))},c.wbg.__wbg_of_db9e1b8e0a7ed9bc=function(e,n){return d(Array.of(f(e),f(n)))},c.wbg.__wbg_push_284486ca27c6aa8b=function(e,n){return f(e).push(f(n))},c.wbg.__wbg_instanceof_ArrayBuffer_764b6d4119231cb3=function(e){return f(e)instanceof ArrayBuffer},c.wbg.__wbg_new_3e02a228090b2e72=function(e){return d(new ArrayBuffer(e>>>0))},c.wbg.__wbg_slice_dcc477bca8fe38b1=function(e,n,_){return d(f(e).slice(n>>>0,_>>>0))},c.wbg.__wbg_values_364ae56c608e6824=function(e){return d(f(e).values())},c.wbg.__wbg_apply_7cfa6ebf144990a5=function(){return D((function(e,n,_){return d(f(e).apply(f(n),f(_)))}),arguments)},c.wbg.__wbg_call_346669c262382ad7=function(){return D((function(e,n,_){return d(f(e).call(f(n),f(_)))}),arguments)},c.wbg.__wbg_getTime_10d33f4f2959e5dd=function(e){return f(e).getTime()},c.wbg.__wbg_getTimezoneOffset_d3e5a22a1b7fb1d8=function(e){return f(e).getTimezoneOffset()},c.wbg.__wbg_new0_fd3a3a290b25cdac=function(){return d(new Date)},c.wbg.__wbg_instanceof_Object_66786225e0dbc8ba=function(e){return f(e)instanceof Object},c.wbg.__wbg_entries_aadf9c3f38203a12=function(e){return d(Object.entries(f(e)))},c.wbg.__wbg_fromEntries_164ebf0f69983a8e=function(){return D((function(e){return d(Object.fromEntries(f(e)))}),arguments)},c.wbg.__wbg_is_0f5efc7977a2c50b=function(e,n){return Object.is(f(e),f(n))},c.wbg.__wbg_new_b1d61b5687f5e73a=function(e,n){try{var _={a:e,b:n},t=new Promise(((e,n)=>{const t=_.a;_.a=0;try{return function(e,n,_,t){b.wasm_bindgen__convert__closures__invoke2_mut__hca44cfcccf347cf6(e,n,d(_),d(t))}(t,_.b,e,n)}finally{_.a=t}}));return d(t)}finally{_.a=_.b=0}},c.wbg.__wbg_resolve_d23068002f584f22=function(e){return d(Promise.resolve(f(e)))},c.wbg.__wbg_then_2fcac196782070cc=function(e,n){return d(f(e).then(f(n)))},c.wbg.__wbg_then_8c2d62e8ae5978f7=function(e,n,_){return d(f(e).then(f(n),f(_)))},c.wbg.__wbg_self_c6fbdfc2918d5e58=function(){return D((function(){return d(self.self)}),arguments)},c.wbg.__wbg_window_baec038b5ab35c54=function(){return D((function(){return d(window.window)}),arguments)},c.wbg.__wbg_globalThis_3f735a5746d41fbd=function(){return D((function(){return d(globalThis.globalThis)}),arguments)},c.wbg.__wbg_global_1bc0b39582740e95=function(){return D((function(){return d(_.g.global)}),arguments)},c.wbg.__wbg_buffer_397eaa4d72ee94dd=function(e){return d(f(e).buffer)},c.wbg.__wbg_newwithbyteoffsetandlength_4b9b8c4e3f5adbff=function(e,n,_){return d(new Uint8Array(f(e),n>>>0,_>>>0))},c.wbg.__wbg_new_a7ce447f15ff496f=function(e){return d(new Uint8Array(f(e)))},c.wbg.__wbg_set_969ad0a60e51d320=function(e,n,_){f(e).set(f(n),_>>>0)},c.wbg.__wbg_length_1eb8fc608a0d4cdb=function(e){return f(e).length},c.wbg.__wbg_newwithlength_929232475839a482=function(e){return d(new Uint8Array(e>>>0))},c.wbg.__wbg_fill_cd6951964c67ad3a=function(e,n,_,t){return d(f(e).fill(n,_>>>0,t>>>0))},c.wbg.__wbg_buffer_facf0398a281c85b=function(e){return d(f(e).buffer)},c.wbg.__wbg_subarray_8b658422a224f479=function(e,n,_){return d(f(e).subarray(n>>>0,_>>>0))},c.wbg.__wbg_byteLength_3e250b41a8915757=function(e){return f(e).byteLength},c.wbg.__wbg_byteOffset_4204ecb24a6e5df9=function(e){return f(e).byteOffset},c.wbg.__wbg_ownKeys_f3f1916b5564918f=function(){return D((function(e){return d(Reflect.ownKeys(f(e)))}),arguments)},c.wbg.__wbg_set_82a4e8a85e31ac42=function(){return D((function(e,n,_){return Reflect.set(f(e),f(n),f(_))}),arguments)},c.wbg.__wbindgen_debug_string=function(e,n){var _=p(A(f(n)),b.__wbindgen_malloc,b.__wbindgen_realloc),t=s;h()[e/4+1]=t,h()[e/4+0]=_},c.wbg.__wbindgen_throw=function(e,n){throw new Error(w(e,n))},c.wbg.__wbindgen_rethrow=function(e){throw o(e)},c.wbg.__wbindgen_memory=function(){return d(b.memory)},c.wbg.__wbindgen_closure_wrapper451=function(e,n,_){return d(S(e,n,10,C))},c.wbg.__wbindgen_closure_wrapper452=function(e,n,_){return d(S(e,n,10,T))},c.wbg.__wbindgen_closure_wrapper453=function(e,n,_){return d(S(e,n,10,R))},c.wbg.__wbindgen_closure_wrapper454=function(e,n,_){return d(S(e,n,10,E))},c.wbg.__wbindgen_closure_wrapper455=function(e,n,_){return d(S(e,n,10,F))},c.wbg.__wbindgen_closure_wrapper456=function(e,n,_){return d(S(e,n,10,P))},c.wbg.__wbindgen_closure_wrapper457=function(e,n,_){return d(S(e,n,10,k))},c.wbg.__wbindgen_closure_wrapper458=function(e,n,_){return d(S(e,n,10,M))},c.wbg.__wbindgen_closure_wrapper1936=function(e,n,_){return d(S(e,n,908,O))},("string"==typeof n||"function"==typeof Request&&n instanceof Request||"function"==typeof URL&&n instanceof URL)&&(n=fetch(n));const{instance:u,module:a}=await async function(e,n){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,n)}catch(n){if("application/wasm"==e.headers.get("Content-Type"))throw n;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n)}const _=await e.arrayBuffer();return await WebAssembly.instantiate(_,n)}{const _=await WebAssembly.instantiate(e,n);return _ instanceof WebAssembly.Instance?{instance:_,module:e}:_}}(await n,c);return b=u.exports,e.__wbindgen_wasm_module=a,b}},285:(e,n,_)=>{e.exports=_.p+"e058efe76d47eae2be9a.wasm"}}]); +//# sourceMappingURL=core.ruffle.ece9e8fa5a7d72d73689.js.map \ No newline at end of file diff --git a/js/core.ruffle.ece9e8fa5a7d72d73689.js.map b/js/core.ruffle.ece9e8fa5a7d72d73689.js.map new file mode 100644 index 0000000..0b74529 --- /dev/null +++ b/js/core.ruffle.ece9e8fa5a7d72d73689.js.map @@ -0,0 +1 @@ +{"version":3,"file":"core.ruffle.ece9e8fa5a7d72d73689.js","mappings":"oHAYO,SAASA,EAAkBC,EAAaC,EAAUC,GACjDD,GACkBD,EAAYG,eAAe,GACnCC,IAAIH,GAEdC,GACkBF,EAAYG,eAAe,GACnCC,IAAIF,GAUf,SAASG,EAAwBC,GACpC,IAAIC,EAAIC,EACR,MAAMC,EAAkD,QAArCF,EAAKD,EAAQI,0BAAuC,IAAPH,OAAgB,EAASA,EAAGI,KAAKL,GACjG,OAA8F,QAAtFE,EAAKC,MAAAA,OAA6C,EAASA,EAAUG,mBAAgC,IAAPJ,EAAgBA,EAAKF,EAAQO,YAAcP,EAAQQ,Y,gGC9B7J,MAAMC,EAAyC,oBAAjBC,aAA+BA,aAA8C,oBAAvBC,mBAAqCA,wBAAqBC,EAC9I,IAAIC,EAEJ,MAAMC,EAAO,IAAIC,MAAM,IAAIC,UAAKJ,GAIhC,SAASK,EAAUC,GAAO,OAAOJ,EAAK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,KAG7C+E,EAAQC,IAAIuiB,8BAAgC,SAAS7oB,EAAMC,EAAMa,GAE7D,OAAO5D,EADG6C,EAAeC,EAAMC,EAAM,GAAIsB,KAG7C8E,EAAQC,IAAIwiB,8BAAgC,SAAS9oB,EAAMC,EAAMa,GAE7D,OAAO5D,EADG6C,EAAeC,EAAMC,EAAM,GAAIuB,KAG7C6E,EAAQC,IAAIyiB,+BAAiC,SAAS/oB,EAAMC,EAAMa,GAE9D,OAAO5D,EADG6C,EAAeC,EAAMC,EAAM,IAAKwB,MAIzB,iBAAV0E,GAA0C,mBAAZmR,SAA0BnR,aAAiBmR,SAA4B,mBAARlR,KAAsBD,aAAiBC,OAC3ID,EAAQ0I,MAAM1I,IAKlB,MAAM,SAAE6iB,EAAQ,OAAE/e,SAntCtBhE,eAAoBgE,EAAQ5D,GACxB,GAAwB,mBAAbkO,UAA2BtK,aAAkBsK,SAAU,CAC9D,GAAgD,mBAArC0U,YAAYC,qBACnB,IACI,aAAaD,YAAYC,qBAAqBjf,EAAQ5D,GAExD,MAAOpE,GACL,GAA0C,oBAAtCgI,EAAOkf,QAAQxoB,IAAI,gBAInB,MAAMsB,EAHN+G,QAAQgW,KAAK,oMAAqM/c,GAQ9N,MAAMmnB,QAAcnf,EAAO4K,cAC3B,aAAaoU,YAAYI,YAAYD,EAAO/iB,GAEzC,CACH,MAAM2iB,QAAiBC,YAAYI,YAAYpf,EAAQ5D,GAEvD,OAAI2iB,aAAoBC,YAAYK,SACzB,CAAEN,SAAAA,EAAU/e,OAAAA,GAGZ+e,GAyrCoBO,OAAWpjB,EAAOE,GAKrD,OAHA7K,EAAOwtB,EAASQ,QAChBtjB,EAAKujB,uBAAyBxf,EAEvBzO,I","sources":["webpack://ruffle-selfhosted/../core/pkg/ruffle-imports.js","webpack://ruffle-selfhosted/../core/pkg/ruffle_web-wasm_extensions.js"],"sourcesContent":["/**\n * Functions imported from JS into Ruffle.\n *\n * @ignore\n * @internal\n */\n/**\n * Copies data into the given audio channel.\n * This is necessary because Safari does not support `AudioBuffer.copyToChannel`.\n *\n * @internal\n */\nexport function copyToAudioBuffer(audioBuffer, leftData, rightData) {\n if (leftData) {\n const dstBuffer = audioBuffer.getChannelData(0);\n dstBuffer.set(leftData);\n }\n if (rightData) {\n const dstBuffer = audioBuffer.getChannelData(1);\n dstBuffer.set(rightData);\n }\n}\n/**\n * Returns `AudioContext.getOutputTimestamp`, defaulting to `context.currentTime` if\n * `getOutputTimestamp` is unavailable. This is necessary because `web-sys` does not yet export\n * `AudioBuffer.copyToChannel`.\n *\n * @internal\n */\nexport function getAudioOutputTimestamp(context) {\n var _a, _b;\n const timestamp = (_a = context.getOutputTimestamp) === null || _a === void 0 ? void 0 : _a.call(context);\n return (_b = timestamp === null || timestamp === void 0 ? void 0 : timestamp.contextTime) !== null && _b !== void 0 ? _b : context.currentTime - context.baseLatency;\n}\n","import { copyToAudioBuffer, getAudioOutputTimestamp } from './ruffle-imports.js';\n\nconst lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined));\nlet wasm;\n\nconst heap = new Array(32).fill(undefined);\n\nheap.push(undefined, null, true, false);\n\nfunction getObject(idx) { return heap[idx]; }\n\nlet heap_next = heap.length;\n\nfunction dropObject(idx) {\n if (idx < 36) return;\n heap[idx] = heap_next;\n heap_next = idx;\n}\n\nfunction takeObject(idx) {\n const ret = getObject(idx);\n dropObject(idx);\n return ret;\n}\n\nlet cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n\ncachedTextDecoder.decode();\n\nlet cachegetUint8Memory0 = null;\nfunction getUint8Memory0() {\n if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {\n cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachegetUint8Memory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));\n}\n\nfunction addHeapObject(obj) {\n if (heap_next === heap.length) heap.push(heap.length + 1);\n const idx = heap_next;\n heap_next = heap[idx];\n\n heap[idx] = obj;\n return idx;\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nlet cachedTextEncoder = new TextEncoder('utf-8');\n\nconst encodeString = (typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n}\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n});\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length);\n getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len);\n\n const mem = getUint8Memory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3);\n const view = getUint8Memory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nlet cachegetInt32Memory0 = null;\nfunction getInt32Memory0() {\n if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {\n cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);\n }\n return cachegetInt32Memory0;\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nlet cachegetFloat64Memory0 = null;\nfunction getFloat64Memory0() {\n if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {\n cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);\n }\n return cachegetFloat64Memory0;\n}\n\nfunction debugString(val) {\n // primitive types\n const type = typeof val;\n if (type == 'number' || type == 'boolean' || val == null) {\n return `${val}`;\n }\n if (type == 'string') {\n return `\"${val}\"`;\n }\n if (type == 'symbol') {\n const description = val.description;\n if (description == null) {\n return 'Symbol';\n } else {\n return `Symbol(${description})`;\n }\n }\n if (type == 'function') {\n const name = val.name;\n if (typeof name == 'string' && name.length > 0) {\n return `Function(${name})`;\n } else {\n return 'Function';\n }\n }\n // objects\n if (Array.isArray(val)) {\n const length = val.length;\n let debug = '[';\n if (length > 0) {\n debug += debugString(val[0]);\n }\n for(let i = 1; i < length; i++) {\n debug += ', ' + debugString(val[i]);\n }\n debug += ']';\n return debug;\n }\n // Test for built-in\n const builtInMatches = /\\[object ([^\\]]+)\\]/.exec(toString.call(val));\n let className;\n if (builtInMatches.length > 1) {\n className = builtInMatches[1];\n } else {\n // Failed to match the standard '[object ClassName]'\n return toString.call(val);\n }\n if (className == 'Object') {\n // we're a user defined class or Object\n // JSON.stringify avoids problems with cycles, and is generally much\n // easier than looping through ownProperties of `val`.\n try {\n return 'Object(' + JSON.stringify(val) + ')';\n } catch (_) {\n return 'Object';\n }\n }\n // errors\n if (val instanceof Error) {\n return `${val.name}: ${val.message}\\n${val.stack}`;\n }\n // TODO we could test for more things here, like `Set`s and `Map`s.\n return className;\n}\n\nfunction makeMutClosure(arg0, arg1, dtor, f) {\n const state = { a: arg0, b: arg1, cnt: 1, dtor };\n const real = (...args) => {\n // First up with a closure we increment the internal reference\n // count. This ensures that the Rust closure environment won't\n // be deallocated while we're invoking it.\n state.cnt++;\n const a = state.a;\n state.a = 0;\n try {\n return f(a, state.b, ...args);\n } finally {\n if (--state.cnt === 0) {\n wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);\n\n } else {\n state.a = a;\n }\n }\n };\n real.original = state;\n\n return real;\n}\nfunction __wbg_adapter_38(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_41(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_44(arg0, arg1) {\n wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2b29ce5f03a3005f(arg0, arg1);\n}\n\nfunction __wbg_adapter_47(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_50(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h14840cb9b3b797cb(arg0, arg1, arg2);\n}\n\nfunction __wbg_adapter_53(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_56(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_59(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_62(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6769736ffe94a981(arg0, arg1, addHeapObject(arg2));\n}\n\nlet cachegetFloat32Memory0 = null;\nfunction getFloat32Memory0() {\n if (cachegetFloat32Memory0 === null || cachegetFloat32Memory0.buffer !== wasm.memory.buffer) {\n cachegetFloat32Memory0 = new Float32Array(wasm.memory.buffer);\n }\n return cachegetFloat32Memory0;\n}\n\nfunction getArrayF32FromWasm0(ptr, len) {\n return getFloat32Memory0().subarray(ptr / 4, ptr / 4 + len);\n}\n\nfunction handleError(f, args) {\n try {\n return f.apply(this, args);\n } catch (e) {\n wasm.__wbindgen_exn_store(addHeapObject(e));\n }\n}\n\nlet stack_pointer = 32;\n\nfunction addBorrowedObject(obj) {\n if (stack_pointer == 1) throw new Error('out of js stack');\n heap[--stack_pointer] = obj;\n return stack_pointer;\n}\n\nlet cachegetUint32Memory0 = null;\nfunction getUint32Memory0() {\n if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {\n cachegetUint32Memory0 = new Uint32Array(wasm.memory.buffer);\n }\n return cachegetUint32Memory0;\n}\n\nfunction passArrayJsValueToWasm0(array, malloc) {\n const ptr = malloc(array.length * 4);\n const mem = getUint32Memory0();\n for (let i = 0; i < array.length; i++) {\n mem[ptr / 4 + i] = addHeapObject(array[i]);\n }\n WASM_VECTOR_LEN = array.length;\n return ptr;\n}\n\nfunction getArrayU8FromWasm0(ptr, len) {\n return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);\n}\n\nfunction passArray8ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 1);\n getUint8Memory0().set(arg, ptr / 1);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n\nlet cachegetUint8ClampedMemory0 = null;\nfunction getUint8ClampedMemory0() {\n if (cachegetUint8ClampedMemory0 === null || cachegetUint8ClampedMemory0.buffer !== wasm.memory.buffer) {\n cachegetUint8ClampedMemory0 = new Uint8ClampedArray(wasm.memory.buffer);\n }\n return cachegetUint8ClampedMemory0;\n}\n\nfunction getClampedArrayU8FromWasm0(ptr, len) {\n return getUint8ClampedMemory0().subarray(ptr / 1, ptr / 1 + len);\n}\nfunction __wbg_adapter_606(arg0, arg1, arg2, arg3) {\n wasm.wasm_bindgen__convert__closures__invoke2_mut__hca44cfcccf347cf6(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));\n}\n\n/**\n* An opaque handle to a `RuffleInstance` inside the pool.\n*\n* This type is exported to JS, and is used to interact with the library.\n*/\nexport class Ruffle {\n\n static __wrap(ptr) {\n const obj = Object.create(Ruffle.prototype);\n obj.ptr = ptr;\n\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.ptr;\n this.ptr = 0;\n\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_ruffle_free(ptr);\n }\n /**\n * @param {HTMLElement} parent\n * @param {any} js_player\n * @param {any} config\n */\n constructor(parent, js_player, config) {\n try {\n var ret = wasm.ruffle_new(addHeapObject(parent), addHeapObject(js_player), addBorrowedObject(config));\n return takeObject(ret);\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n * Stream an arbitrary movie file from (presumably) the Internet.\n *\n * This method should only be called once per player.\n * @param {string} movie_url\n * @param {any} parameters\n */\n stream_from(movie_url, parameters) {\n try {\n var ptr0 = passStringToWasm0(movie_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.ruffle_stream_from(this.ptr, ptr0, len0, addBorrowedObject(parameters));\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n * Play an arbitrary movie on this instance.\n *\n * This method should only be called once per player.\n * @param {Uint8Array} swf_data\n * @param {any} parameters\n */\n load_data(swf_data, parameters) {\n try {\n wasm.ruffle_load_data(this.ptr, addHeapObject(swf_data), addBorrowedObject(parameters));\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n */\n play() {\n wasm.ruffle_play(this.ptr);\n }\n /**\n */\n pause() {\n wasm.ruffle_pause(this.ptr);\n }\n /**\n * @returns {boolean}\n */\n is_playing() {\n var ret = wasm.ruffle_is_playing(this.ptr);\n return ret !== 0;\n }\n /**\n * @returns {any}\n */\n prepare_context_menu() {\n var ret = wasm.ruffle_prepare_context_menu(this.ptr);\n return takeObject(ret);\n }\n /**\n * @param {number} index\n */\n run_context_menu_callback(index) {\n wasm.ruffle_run_context_menu_callback(this.ptr, index);\n }\n /**\n * @param {boolean} is_fullscreen\n */\n set_fullscreen(is_fullscreen) {\n wasm.ruffle_set_fullscreen(this.ptr, is_fullscreen);\n }\n /**\n */\n clear_custom_menu_items() {\n wasm.ruffle_clear_custom_menu_items(this.ptr);\n }\n /**\n */\n destroy() {\n wasm.ruffle_destroy(this.ptr);\n }\n /**\n * @param {string} name\n * @param {any[]} args\n * @returns {any}\n */\n call_exposed_callback(name, args) {\n var ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n var ptr1 = passArrayJsValueToWasm0(args, wasm.__wbindgen_malloc);\n var len1 = WASM_VECTOR_LEN;\n var ret = wasm.ruffle_call_exposed_callback(this.ptr, ptr0, len0, ptr1, len1);\n return takeObject(ret);\n }\n /**\n * @param {any} observer\n */\n set_trace_observer(observer) {\n wasm.ruffle_set_trace_observer(this.ptr, addHeapObject(observer));\n }\n /**\n * Returns the web AudioContext used by this player.\n * Returns `None` if the audio backend does not use Web Audio.\n * @returns {AudioContext | undefined}\n */\n audio_context() {\n var ret = wasm.ruffle_audio_context(this.ptr);\n return takeObject(ret);\n }\n /**\n * Returns whether the `simd128` target feature was enabled at build time.\n * This is intended to discriminate between the two WebAssembly module\n * versions, one of which uses WebAssembly extensions, and the other one\n * being \"vanilla\". `simd128` is used as proxy for most extensions, since\n * no other WebAssembly target feature is exposed to `cfg!`.\n * @returns {boolean}\n */\n static is_wasm_simd_used() {\n var ret = wasm.ruffle_is_wasm_simd_used();\n return ret !== 0;\n }\n}\n\nasync function load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n\n } catch (e) {\n if (module.headers.get('Content-Type') != 'application/wasm') {\n console.warn(\"`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n\", e);\n\n } else {\n throw e;\n }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n\n } else {\n return instance;\n }\n }\n}\n\nasync function init(input) {\n if (typeof input === 'undefined') {\n input = new URL('ruffle_web-wasm_extensions_bg.wasm', import.meta.url);\n }\n const imports = {};\n imports.wbg = {};\n imports.wbg.__wbindgen_object_drop_ref = function(arg0) {\n takeObject(arg0);\n };\n imports.wbg.__wbindgen_cb_drop = function(arg0) {\n const obj = takeObject(arg0).original;\n if (obj.cnt-- == 1) {\n obj.a = 0;\n return true;\n }\n var ret = false;\n return ret;\n };\n imports.wbg.__wbindgen_string_new = function(arg0, arg1) {\n var ret = getStringFromWasm0(arg0, arg1);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_object_clone_ref = function(arg0) {\n var ret = getObject(arg0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_ruffle_new = function(arg0) {\n var ret = Ruffle.__wrap(arg0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_is_function = function(arg0) {\n var ret = typeof(getObject(arg0)) === 'function';\n return ret;\n };\n imports.wbg.__wbindgen_json_parse = function(arg0, arg1) {\n var ret = JSON.parse(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = JSON.stringify(obj === undefined ? null : obj);\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_copyToAudioBuffer_58f244be94bac1d2 = function(arg0, arg1, arg2, arg3, arg4) {\n copyToAudioBuffer(getObject(arg0), arg1 === 0 ? undefined : getArrayF32FromWasm0(arg1, arg2), arg3 === 0 ? undefined : getArrayF32FromWasm0(arg3, arg4));\n };\n imports.wbg.__wbg_getAudioOutputTimestamp_a67aa6687740cd15 = function(arg0) {\n var ret = getAudioOutputTimestamp(getObject(arg0));\n return ret;\n };\n imports.wbg.__wbg_setFullscreen_9819a8b20564e39b = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).setFullscreen(arg1 !== 0);\n }, arguments) };\n imports.wbg.__wbindgen_string_get = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = typeof(obj) === 'string' ? obj : undefined;\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_displayUnsupportedMessage_a8f81a8e054e5e91 = function(arg0) {\n getObject(arg0).displayUnsupportedMessage();\n };\n imports.wbg.__wbg_displayRootMovieDownloadFailedMessage_1a5c34096259685a = function(arg0) {\n getObject(arg0).displayRootMovieDownloadFailedMessage();\n };\n imports.wbg.__wbg_displayMessage_c57c20204892da2b = function(arg0, arg1, arg2) {\n getObject(arg0).displayMessage(getStringFromWasm0(arg1, arg2));\n };\n imports.wbg.__wbg_new_df6e6ab7a65c4c4d = function(arg0, arg1) {\n var ret = new Error(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_panic_bbc809dd04a12c60 = function(arg0, arg1) {\n getObject(arg0).panic(getObject(arg1));\n };\n imports.wbg.__wbg_setMetadata_bbaeaee7f48274e6 = function(arg0, arg1) {\n getObject(arg0).setMetadata(takeObject(arg1));\n };\n imports.wbg.__wbg_onCallbackAvailable_3a48fae397926c96 = function(arg0, arg1, arg2) {\n getObject(arg0).onCallbackAvailable(getStringFromWasm0(arg1, arg2));\n };\n imports.wbg.__wbg_onFSCommand_fb2f94653f71796e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).onFSCommand(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n return ret;\n }, arguments) };\n imports.wbg.__wbindgen_number_get = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = typeof(obj) === 'number' ? obj : undefined;\n getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;\n getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);\n };\n imports.wbg.__wbindgen_boolean_get = function(arg0) {\n const v = getObject(arg0);\n var ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;\n return ret;\n };\n imports.wbg.__wbindgen_number_new = function(arg0) {\n var ret = arg0;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_new_693216e109162396 = function() {\n var ret = new Error();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_stack_0ddaca5d1abfb52f = function(arg0, arg1) {\n var ret = getObject(arg1).stack;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_error_09919627ac0992f5 = function(arg0, arg1) {\n try {\n console.error(getStringFromWasm0(arg0, arg1));\n } finally {\n wasm.__wbindgen_free(arg0, arg1);\n }\n };\n imports.wbg.__wbindgen_is_undefined = function(arg0) {\n var ret = getObject(arg0) === undefined;\n return ret;\n };\n imports.wbg.__wbg_getRandomValues_99bbe8a65f4aef87 = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).getRandomValues(getObject(arg1));\n }, arguments) };\n imports.wbg.__wbg_randomFillSync_378e02b85af41ab6 = function() { return handleError(function (arg0, arg1, arg2) {\n getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));\n }, arguments) };\n imports.wbg.__wbg_process_5729605ce9d34ea8 = function(arg0) {\n var ret = getObject(arg0).process;\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_is_object = function(arg0) {\n const val = getObject(arg0);\n var ret = typeof(val) === 'object' && val !== null;\n return ret;\n };\n imports.wbg.__wbg_versions_531e16e1a776ee97 = function(arg0) {\n var ret = getObject(arg0).versions;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_node_18b58a160b60d170 = function(arg0) {\n var ret = getObject(arg0).node;\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_is_string = function(arg0) {\n var ret = typeof(getObject(arg0)) === 'string';\n return ret;\n };\n imports.wbg.__wbg_static_accessor_NODE_MODULE_bdc5ca9096c68aeb = function() {\n var ret = module;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_require_edfaedd93e302925 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).require(getStringFromWasm0(arg1, arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_crypto_2bc4d5b05161de5b = function(arg0) {\n var ret = getObject(arg0).crypto;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_msCrypto_d003eebe62c636a9 = function(arg0) {\n var ret = getObject(arg0).msCrypto;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_instanceof_WebGl2RenderingContext_56ad96bfac3f5531 = function(arg0) {\n var ret = getObject(arg0) instanceof WebGL2RenderingContext;\n return ret;\n };\n imports.wbg.__wbg_bindVertexArray_52b8b2f5fd93d81d = function(arg0, arg1) {\n getObject(arg0).bindVertexArray(getObject(arg1));\n };\n imports.wbg.__wbg_blitFramebuffer_d6dafd082e3b1266 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {\n getObject(arg0).blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);\n };\n imports.wbg.__wbg_createVertexArray_d59135c0a43c410b = function(arg0) {\n var ret = getObject(arg0).createVertexArray();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_renderbufferStorageMultisample_41916a754c02df64 = function(arg0, arg1, arg2, arg3, arg4, arg5) {\n getObject(arg0).renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);\n };\n imports.wbg.__wbg_texImage2D_29ea0a7f026e239b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {\n getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));\n }, arguments) };\n imports.wbg.__wbg_bindFramebuffer_48c4bf8ff82bf7e9 = function(arg0, arg1, arg2) {\n getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindRenderbuffer_4a9ad1cf80580397 = function(arg0, arg1, arg2) {\n getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindTexture_9d8ed0fcd83eb0a9 = function(arg0, arg1, arg2) {\n getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_createFramebuffer_9818fc04b4a38c18 = function(arg0) {\n var ret = getObject(arg0).createFramebuffer();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createRenderbuffer_d1a55ec78e26295b = function(arg0) {\n var ret = getObject(arg0).createRenderbuffer();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createTexture_8f31e7386e22fc37 = function(arg0) {\n var ret = getObject(arg0).createTexture();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_deleteFramebuffer_5f58ccb548438c57 = function(arg0, arg1) {\n getObject(arg0).deleteFramebuffer(getObject(arg1));\n };\n imports.wbg.__wbg_deleteRenderbuffer_6372146d4689793e = function(arg0, arg1) {\n getObject(arg0).deleteRenderbuffer(getObject(arg1));\n };\n imports.wbg.__wbg_deleteTexture_a0632c71429795ac = function(arg0, arg1) {\n getObject(arg0).deleteTexture(getObject(arg1));\n };\n imports.wbg.__wbg_framebufferRenderbuffer_9d619e8bf8f2aeb6 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4));\n };\n imports.wbg.__wbg_framebufferTexture2D_3da41a7f38e2c523 = function(arg0, arg1, arg2, arg3, arg4, arg5) {\n getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);\n };\n imports.wbg.__wbg_getError_868f7c8ef6475b32 = function(arg0) {\n var ret = getObject(arg0).getError();\n return ret;\n };\n imports.wbg.__wbg_getParameter_e3aea13dd0a2904d = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).getParameter(arg1 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_texParameteri_c54aab65b2f8cf6d = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);\n };\n imports.wbg.__wbg_instanceof_Window_c4b70662a0d2c5ec = function(arg0) {\n var ret = getObject(arg0) instanceof Window;\n return ret;\n };\n imports.wbg.__wbg_document_1c64944725c0d81d = function(arg0) {\n var ret = getObject(arg0).document;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_location_f98ad02632f88c43 = function(arg0) {\n var ret = getObject(arg0).location;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_navigator_480e592af6ad365b = function(arg0) {\n var ret = getObject(arg0).navigator;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_devicePixelRatio_d8c3852bb37f76bf = function(arg0) {\n var ret = getObject(arg0).devicePixelRatio;\n return ret;\n };\n imports.wbg.__wbg_performance_947628766699c5bb = function(arg0) {\n var ret = getObject(arg0).performance;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_localStorage_6775414303ab5085 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).localStorage;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_cancelAnimationFrame_5f2a1e987a6de100 = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).cancelAnimationFrame(arg1);\n }, arguments) };\n imports.wbg.__wbg_focus_70ecc8fcab4bdb61 = function() { return handleError(function (arg0) {\n getObject(arg0).focus();\n }, arguments) };\n imports.wbg.__wbg_open_5416e4448a959cfa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_requestAnimationFrame_71638ca922068239 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).requestAnimationFrame(getObject(arg1));\n return ret;\n }, arguments) };\n imports.wbg.__wbg_fetch_cfe0d1dd786e9cd4 = function(arg0, arg1) {\n var ret = getObject(arg0).fetch(getObject(arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_destination_6c3ac66ee8b2fe85 = function(arg0) {\n var ret = getObject(arg0).destination;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_sampleRate_ffa6f08191b00934 = function(arg0) {\n var ret = getObject(arg0).sampleRate;\n return ret;\n };\n imports.wbg.__wbg_currentTime_e231c76a3c011126 = function(arg0) {\n var ret = getObject(arg0).currentTime;\n return ret;\n };\n imports.wbg.__wbg_new_52bbbd81ffc19dff = function() { return handleError(function () {\n var ret = new lAudioContext();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_suspend_5b2c4674b28d07f2 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).suspend();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createBuffer_79833a4052d7b42a = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createBuffer(arg1 >>> 0, arg2 >>> 0, arg3);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createBufferSource_7244d810d62a0bed = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).createBufferSource();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createChannelMerger_542d0885aa4bdc09 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).createChannelMerger(arg1 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createChannelSplitter_95302cbc3f9b9f85 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).createChannelSplitter(arg1 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createGain_c5f114390c363029 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).createGain();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createScriptProcessor_ec30f8ab6ea543d1 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createScriptProcessor(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_decodeAudioData_66b886741a4167f4 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).decodeAudioData(getObject(arg1), getObject(arg2), getObject(arg3));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_resume_ca50287e91c0323e = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).resume();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_setvalue_df8236adf40ea2d3 = function(arg0, arg1) {\n getObject(arg0).value = arg1;\n };\n imports.wbg.__wbg_linearRampToValueAtTime_113d2920c90f1851 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).linearRampToValueAtTime(arg1, arg2);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_setValueAtTime_9396570ff0d3cc1f = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).setValueAtTime(arg1, arg2);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_gain_d4eaca6128dcfd90 = function(arg0) {\n var ret = getObject(arg0).gain;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_baseURI_083fd53f8bea9af2 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg1).baseURI;\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n }, arguments) };\n imports.wbg.__wbg_appendChild_d318db34c4559916 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).appendChild(getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_instanceof_SvgsvgElement_631275f115d8f8e3 = function(arg0) {\n var ret = getObject(arg0) instanceof SVGSVGElement;\n return ret;\n };\n imports.wbg.__wbg_createSVGMatrix_037d6368ea06b02d = function(arg0) {\n var ret = getObject(arg0).createSVGMatrix();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_protocol_f17adabd4e662b06 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg1).protocol;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n }, arguments) };\n imports.wbg.__wbg_assign_26269af9ce90e6c7 = function() { return handleError(function (arg0, arg1, arg2) {\n getObject(arg0).assign(getStringFromWasm0(arg1, arg2));\n }, arguments) };\n imports.wbg.__wbg_new_a3422e0170c31454 = function() { return handleError(function () {\n var ret = new Path2D();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_addPath_18881cd56483fe63 = function(arg0, arg1, arg2) {\n getObject(arg0).addPath(getObject(arg1), getObject(arg2));\n };\n imports.wbg.__wbg_closePath_bf39ada268053aea = function(arg0) {\n getObject(arg0).closePath();\n };\n imports.wbg.__wbg_lineTo_4d75fbab7308c3d2 = function(arg0, arg1, arg2) {\n getObject(arg0).lineTo(arg1, arg2);\n };\n imports.wbg.__wbg_moveTo_70f7a4760893f917 = function(arg0, arg1, arg2) {\n getObject(arg0).moveTo(arg1, arg2);\n };\n imports.wbg.__wbg_quadraticCurveTo_7724e01d766ebfe2 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).quadraticCurveTo(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_get_f0092ad67dc97639 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg1)[getStringFromWasm0(arg2, arg3)];\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n }, arguments) };\n imports.wbg.__wbg_set_3a236a97145dc780 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0)[getStringFromWasm0(arg1, arg2)] = getStringFromWasm0(arg3, arg4);\n }, arguments) };\n imports.wbg.__wbg_delete_881ab2d2a830b82f = function() { return handleError(function (arg0, arg1, arg2) {\n delete getObject(arg0)[getStringFromWasm0(arg1, arg2)];\n }, arguments) };\n imports.wbg.__wbg_length_b398b347bd3c9cd5 = function(arg0) {\n var ret = getObject(arg0).length;\n return ret;\n };\n imports.wbg.__wbg_setTransform_3f9fc1784a580fff = function(arg0, arg1) {\n getObject(arg0).setTransform(getObject(arg1));\n };\n imports.wbg.__wbg_setProperty_1460c660bc329763 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n }, arguments) };\n imports.wbg.__wbg_offsetX_5da3ebf8a8cda8a4 = function(arg0) {\n var ret = getObject(arg0).offsetX;\n return ret;\n };\n imports.wbg.__wbg_offsetY_b0edbc16723a55cb = function(arg0) {\n var ret = getObject(arg0).offsetY;\n return ret;\n };\n imports.wbg.__wbg_button_a02c0467d38e8338 = function(arg0) {\n var ret = getObject(arg0).button;\n return ret;\n };\n imports.wbg.__wbg_bindVertexArrayOES_7104c80fb0d31cb0 = function(arg0, arg1) {\n getObject(arg0).bindVertexArrayOES(getObject(arg1));\n };\n imports.wbg.__wbg_createVertexArrayOES_ced4f8a084b789b7 = function(arg0) {\n var ret = getObject(arg0).createVertexArrayOES();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_deltaY_080604c20160c0e8 = function(arg0) {\n var ret = getObject(arg0).deltaY;\n return ret;\n };\n imports.wbg.__wbg_deltaMode_c5ec1ee518ea0a08 = function(arg0) {\n var ret = getObject(arg0).deltaMode;\n return ret;\n };\n imports.wbg.__wbg_connect_723cc4823fe3e6c0 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).connect(getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_connect_cb8dcaafd6d14fe4 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).connect(getObject(arg1), arg2 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_connect_eb8fcb61cab88f0b = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).connect(getObject(arg1), arg2 >>> 0, arg3 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_disconnect_661941cf5b88fa5a = function() { return handleError(function (arg0) {\n getObject(arg0).disconnect();\n }, arguments) };\n imports.wbg.__wbg_instanceof_HtmlFormElement_aeafa27e92962efa = function(arg0) {\n var ret = getObject(arg0) instanceof HTMLFormElement;\n return ret;\n };\n imports.wbg.__wbg_submit_7479ea6e99f76174 = function() { return handleError(function (arg0) {\n getObject(arg0).submit();\n }, arguments) };\n imports.wbg.__wbg_instanceof_Response_e1b11afbefa5b563 = function(arg0) {\n var ret = getObject(arg0) instanceof Response;\n return ret;\n };\n imports.wbg.__wbg_ok_270f6d403efe7e7b = function(arg0) {\n var ret = getObject(arg0).ok;\n return ret;\n };\n imports.wbg.__wbg_statusText_97740db9b8bb12e3 = function(arg0, arg1) {\n var ret = getObject(arg1).statusText;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_arrayBuffer_b8937ed04beb0d36 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).arrayBuffer();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_seta_f5667df13832f473 = function(arg0, arg1) {\n getObject(arg0).a = arg1;\n };\n imports.wbg.__wbg_setb_51b68c87004ceb92 = function(arg0, arg1) {\n getObject(arg0).b = arg1;\n };\n imports.wbg.__wbg_setc_62d7a8abc0082fcc = function(arg0, arg1) {\n getObject(arg0).c = arg1;\n };\n imports.wbg.__wbg_setd_544fd4902db40bca = function(arg0, arg1) {\n getObject(arg0).d = arg1;\n };\n imports.wbg.__wbg_sete_a3575dd88c8f17a3 = function(arg0, arg1) {\n getObject(arg0).e = arg1;\n };\n imports.wbg.__wbg_setf_956eaea5b3047302 = function(arg0, arg1) {\n getObject(arg0).f = arg1;\n };\n imports.wbg.__wbg_setbuffer_c643a88bac27b2bd = function(arg0, arg1) {\n getObject(arg0).buffer = getObject(arg1);\n };\n imports.wbg.__wbg_setloop_32c84ea32fabef74 = function(arg0, arg1) {\n getObject(arg0).loop = arg1 !== 0;\n };\n imports.wbg.__wbg_setloopStart_a113b4d478da7f93 = function(arg0, arg1) {\n getObject(arg0).loopStart = arg1;\n };\n imports.wbg.__wbg_setloopEnd_b83c2563fe5be665 = function(arg0, arg1) {\n getObject(arg0).loopEnd = arg1;\n };\n imports.wbg.__wbg_setonended_6ce8715add45953e = function(arg0, arg1) {\n getObject(arg0).onended = getObject(arg1);\n };\n imports.wbg.__wbg_start_551bedf1ecfdc0e2 = function() { return handleError(function (arg0) {\n getObject(arg0).start();\n }, arguments) };\n imports.wbg.__wbg_start_885262ec460f3ef3 = function() { return handleError(function (arg0, arg1, arg2) {\n getObject(arg0).start(arg1, arg2);\n }, arguments) };\n imports.wbg.__wbg_stop_c6532de1aeb2e765 = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).stop(arg1);\n }, arguments) };\n imports.wbg.__wbg_outputBuffer_3f27dc3af0998ec9 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).outputBuffer;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_now_559193109055ebad = function(arg0) {\n var ret = getObject(arg0).now();\n return ret;\n };\n imports.wbg.__wbg_pointerId_9302f0e125f0b48e = function(arg0) {\n var ret = getObject(arg0).pointerId;\n return ret;\n };\n imports.wbg.__wbg_currentTarget_65309531208d5df3 = function(arg0) {\n var ret = getObject(arg0).currentTarget;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_preventDefault_9866c9fd51eecfb6 = function(arg0) {\n getObject(arg0).preventDefault();\n };\n imports.wbg.__wbg_setsrc_3eb04f553f8335c7 = function(arg0, arg1, arg2) {\n getObject(arg0).src = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_new_265b3e027a3022bd = function() { return handleError(function () {\n var ret = new Image();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_key_10dcaa4bb6d5449f = function(arg0, arg1) {\n var ret = getObject(arg1).key;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_code_1c2fd251f38b398a = function(arg0, arg1) {\n var ret = getObject(arg1).code;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_newwithstrandinit_9b0fa00478c37287 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_setonaudioprocess_4334efc34353560d = function(arg0, arg1) {\n getObject(arg0).onaudioprocess = getObject(arg1);\n };\n imports.wbg.__wbg_body_78ae4fd43b446013 = function(arg0) {\n var ret = getObject(arg0).body;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createElement_86c152812a141a62 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createElementNS_ae12b8681c3957a3 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_setid_681bb5a14c3d5850 = function(arg0, arg1, arg2) {\n getObject(arg0).id = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_clientWidth_4d9e01af2b5b9f21 = function(arg0) {\n var ret = getObject(arg0).clientWidth;\n return ret;\n };\n imports.wbg.__wbg_clientHeight_87c209f0cacf2e97 = function(arg0) {\n var ret = getObject(arg0).clientHeight;\n return ret;\n };\n imports.wbg.__wbg_querySelector_dc71838110c91f39 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_releasePointerCapture_326599f769b49681 = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).releasePointerCapture(arg1);\n }, arguments) };\n imports.wbg.__wbg_setAttribute_1b533bf07966de55 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n }, arguments) };\n imports.wbg.__wbg_setAttributeNS_92db6decf2ec8400 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {\n getObject(arg0).setAttributeNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));\n }, arguments) };\n imports.wbg.__wbg_setPointerCapture_bd3244d9f008798f = function() { return handleError(function (arg0, arg1) {\n getObject(arg0).setPointerCapture(arg1);\n }, arguments) };\n imports.wbg.__wbg_remove_c63cabc94a77cacb = function(arg0) {\n getObject(arg0).remove();\n };\n imports.wbg.__wbg_instanceof_WebGlRenderingContext_101b938bec1286a3 = function(arg0) {\n var ret = getObject(arg0) instanceof WebGLRenderingContext;\n return ret;\n };\n imports.wbg.__wbg_drawingBufferWidth_8b0c2b31d9d6eee7 = function(arg0) {\n var ret = getObject(arg0).drawingBufferWidth;\n return ret;\n };\n imports.wbg.__wbg_drawingBufferHeight_f62678018bab567c = function(arg0) {\n var ret = getObject(arg0).drawingBufferHeight;\n return ret;\n };\n imports.wbg.__wbg_bufferData_2f9be23b37e5a1a4 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).bufferData(arg1 >>> 0, getArrayU8FromWasm0(arg2, arg3), arg4 >>> 0);\n };\n imports.wbg.__wbg_texImage2D_712c56fe5a9825ed = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {\n getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));\n }, arguments) };\n imports.wbg.__wbg_uniform1fv_02b26dddaa3ea984 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).uniform1fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));\n };\n imports.wbg.__wbg_uniform4fv_ca394beb323215c6 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));\n };\n imports.wbg.__wbg_uniformMatrix3fv_340429fe0911bc6f = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));\n };\n imports.wbg.__wbg_uniformMatrix4fv_a92133b68236ac68 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));\n };\n imports.wbg.__wbg_activeTexture_b34aca0c2110966c = function(arg0, arg1) {\n getObject(arg0).activeTexture(arg1 >>> 0);\n };\n imports.wbg.__wbg_attachShader_eaa824fd5b37a770 = function(arg0, arg1, arg2) {\n getObject(arg0).attachShader(getObject(arg1), getObject(arg2));\n };\n imports.wbg.__wbg_bindBuffer_2ca7e1c18819ecb2 = function(arg0, arg1, arg2) {\n getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindFramebuffer_c9f468afa9d42a5f = function(arg0, arg1, arg2) {\n getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindRenderbuffer_7b2b49f71f3eeef9 = function(arg0, arg1, arg2) {\n getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindTexture_edd827f3dba6038e = function(arg0, arg1, arg2) {\n getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_blendFunc_d5ab9f0ff5a40a48 = function(arg0, arg1, arg2) {\n getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);\n };\n imports.wbg.__wbg_clear_da26620d46f0a11a = function(arg0, arg1) {\n getObject(arg0).clear(arg1 >>> 0);\n };\n imports.wbg.__wbg_clearColor_cbf22f8faa5a52c1 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).clearColor(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_colorMask_035708eb94fe9af8 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);\n };\n imports.wbg.__wbg_compileShader_8fb70a472f32552c = function(arg0, arg1) {\n getObject(arg0).compileShader(getObject(arg1));\n };\n imports.wbg.__wbg_createBuffer_4802e2f0e1b1acdf = function(arg0) {\n var ret = getObject(arg0).createBuffer();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createProgram_b1d94f4c7554d3a1 = function(arg0) {\n var ret = getObject(arg0).createProgram();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createShader_da09e167692f0dc7 = function(arg0, arg1) {\n var ret = getObject(arg0).createShader(arg1 >>> 0);\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createTexture_bafc7c08393ae59d = function(arg0) {\n var ret = getObject(arg0).createTexture();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_disable_b07faddb7d04349f = function(arg0, arg1) {\n getObject(arg0).disable(arg1 >>> 0);\n };\n imports.wbg.__wbg_disableVertexAttribArray_c9fdabd5f12b0539 = function(arg0, arg1) {\n getObject(arg0).disableVertexAttribArray(arg1 >>> 0);\n };\n imports.wbg.__wbg_drawElements_8e8af4b6757fedce = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);\n };\n imports.wbg.__wbg_enable_d3d210aeb08eff52 = function(arg0, arg1) {\n getObject(arg0).enable(arg1 >>> 0);\n };\n imports.wbg.__wbg_enableVertexAttribArray_d539e547495bea44 = function(arg0, arg1) {\n getObject(arg0).enableVertexAttribArray(arg1 >>> 0);\n };\n imports.wbg.__wbg_getAttribLocation_706a0beabcdaebcf = function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return ret;\n };\n imports.wbg.__wbg_getExtension_045789240c50a108 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getParameter_6412bd2d0602696d = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).getParameter(arg1 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getProgramInfoLog_b60e82d52c200cbd = function(arg0, arg1, arg2) {\n var ret = getObject(arg1).getProgramInfoLog(getObject(arg2));\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_getProgramParameter_229c193895936bbe = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_getShaderInfoLog_ba51160c01b98360 = function(arg0, arg1, arg2) {\n var ret = getObject(arg1).getShaderInfoLog(getObject(arg2));\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_getUniformLocation_c3b3570b4632cc5c = function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_linkProgram_7080c84b0233cea2 = function(arg0, arg1) {\n getObject(arg0).linkProgram(getObject(arg1));\n };\n imports.wbg.__wbg_pixelStorei_3cd96723ae22a5c6 = function(arg0, arg1, arg2) {\n getObject(arg0).pixelStorei(arg1 >>> 0, arg2);\n };\n imports.wbg.__wbg_shaderSource_67b991301db003d0 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));\n };\n imports.wbg.__wbg_stencilFunc_bbc24750c2db9a15 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).stencilFunc(arg1 >>> 0, arg2, arg3 >>> 0);\n };\n imports.wbg.__wbg_stencilMask_0ec7662710f598d4 = function(arg0, arg1) {\n getObject(arg0).stencilMask(arg1 >>> 0);\n };\n imports.wbg.__wbg_stencilOp_fd4ec71a7de6ac85 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).stencilOp(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);\n };\n imports.wbg.__wbg_texParameteri_bd724f6a5ad0cbbc = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);\n };\n imports.wbg.__wbg_uniform1f_b9cff1cea32def5a = function(arg0, arg1, arg2) {\n getObject(arg0).uniform1f(getObject(arg1), arg2);\n };\n imports.wbg.__wbg_uniform1i_0811c29c0eebe191 = function(arg0, arg1, arg2) {\n getObject(arg0).uniform1i(getObject(arg1), arg2);\n };\n imports.wbg.__wbg_useProgram_b72b0bfcbc720fa9 = function(arg0, arg1) {\n getObject(arg0).useProgram(getObject(arg1));\n };\n imports.wbg.__wbg_vertexAttribPointer_b5cb524c6fe9eec8 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {\n getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);\n };\n imports.wbg.__wbg_viewport_89af3aceb7036a2c = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).viewport(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_debug_675b0ecb65722d2a = function(arg0) {\n console.debug(getObject(arg0));\n };\n imports.wbg.__wbg_error_cc38ce2b4b661e1d = function(arg0) {\n console.error(getObject(arg0));\n };\n imports.wbg.__wbg_info_e0c9813e6fd3bdc1 = function(arg0) {\n console.info(getObject(arg0));\n };\n imports.wbg.__wbg_log_3445347661d4505e = function(arg0) {\n console.log(getObject(arg0));\n };\n imports.wbg.__wbg_warn_5ec7c7c02d0b3841 = function(arg0) {\n console.warn(getObject(arg0));\n };\n imports.wbg.__wbg_style_c88e323890d3a091 = function(arg0) {\n var ret = getObject(arg0).style;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae = function(arg0) {\n var ret = getObject(arg0) instanceof CanvasRenderingContext2D;\n return ret;\n };\n imports.wbg.__wbg_setglobalAlpha_27b14e5f5b7567ec = function(arg0, arg1) {\n getObject(arg0).globalAlpha = arg1;\n };\n imports.wbg.__wbg_setglobalCompositeOperation_c650e9805cc6316f = function() { return handleError(function (arg0, arg1, arg2) {\n getObject(arg0).globalCompositeOperation = getStringFromWasm0(arg1, arg2);\n }, arguments) };\n imports.wbg.__wbg_setstrokeStyle_947bd4c26c94673f = function(arg0, arg1) {\n getObject(arg0).strokeStyle = getObject(arg1);\n };\n imports.wbg.__wbg_setfillStyle_528a6a267c863ae7 = function(arg0, arg1) {\n getObject(arg0).fillStyle = getObject(arg1);\n };\n imports.wbg.__wbg_setfilter_3d48443a4a710be8 = function(arg0, arg1, arg2) {\n getObject(arg0).filter = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_setimageSmoothingEnabled_92d14a22667eae22 = function(arg0, arg1) {\n getObject(arg0).imageSmoothingEnabled = arg1 !== 0;\n };\n imports.wbg.__wbg_setlineWidth_3221b7818c00ed48 = function(arg0, arg1) {\n getObject(arg0).lineWidth = arg1;\n };\n imports.wbg.__wbg_setlineCap_5284a001e1efcecd = function(arg0, arg1, arg2) {\n getObject(arg0).lineCap = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_setlineJoin_a6af4e7d24a3a67e = function(arg0, arg1, arg2) {\n getObject(arg0).lineJoin = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_setmiterLimit_9fa0d72650341727 = function(arg0, arg1) {\n getObject(arg0).miterLimit = arg1;\n };\n imports.wbg.__wbg_drawImage_5e8203c5b210fce3 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).drawImage(getObject(arg1), arg2, arg3);\n }, arguments) };\n imports.wbg.__wbg_drawImage_9492b361f8b31282 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).drawImage(getObject(arg1), arg2, arg3);\n }, arguments) };\n imports.wbg.__wbg_fill_75988ff43d6e3499 = function(arg0, arg1, arg2) {\n getObject(arg0).fill(getObject(arg1), takeObject(arg2));\n };\n imports.wbg.__wbg_stroke_d91ac76d5b1eb792 = function(arg0, arg1) {\n getObject(arg0).stroke(getObject(arg1));\n };\n imports.wbg.__wbg_createPattern_1d0b3c3750c8448c = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createPattern(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_createPattern_b824d17776fa1f1e = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createPattern(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getImageData_9ffc3df78ca3dbc9 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).getImageData(arg1, arg2, arg3, arg4);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_putImageData_b9544b271e569392 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).putImageData(getObject(arg1), arg2, arg3);\n }, arguments) };\n imports.wbg.__wbg_clearRect_07caefec3496ced1 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).clearRect(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_fillRect_10e42dc7a5e8cccd = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).fillRect(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_resetTransform_26f86c1cc48a4fae = function() { return handleError(function (arg0) {\n getObject(arg0).resetTransform();\n }, arguments) };\n imports.wbg.__wbg_setTransform_8ffd6a5c85396174 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {\n getObject(arg0).setTransform(arg1, arg2, arg3, arg4, arg5, arg6);\n }, arguments) };\n imports.wbg.__wbg_newwithbuffersourcesequenceandoptions_2b60b470c130cb1a = function() { return handleError(function (arg0, arg1) {\n var ret = new Blob(getObject(arg0), getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_addEventListener_52721772cc0a7f30 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));\n }, arguments) };\n imports.wbg.__wbg_addEventListener_09e11fbf8b4b719b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));\n }, arguments) };\n imports.wbg.__wbg_addEventListener_0ed522a6d9900d5d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), arg4 !== 0);\n }, arguments) };\n imports.wbg.__wbg_removeEventListener_f2adc9b2b318de99 = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));\n }, arguments) };\n imports.wbg.__wbg_removeEventListener_24d5a7c12c3f3c39 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), arg4 !== 0);\n }, arguments) };\n imports.wbg.__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e = function(arg0) {\n var ret = getObject(arg0) instanceof HTMLCanvasElement;\n return ret;\n };\n imports.wbg.__wbg_width_555f63ab09ba7d3f = function(arg0) {\n var ret = getObject(arg0).width;\n return ret;\n };\n imports.wbg.__wbg_setwidth_c1a7061891b71f25 = function(arg0, arg1) {\n getObject(arg0).width = arg1 >>> 0;\n };\n imports.wbg.__wbg_height_7153faec70fbaf7b = function(arg0) {\n var ret = getObject(arg0).height;\n return ret;\n };\n imports.wbg.__wbg_setheight_88894b05710ff752 = function(arg0, arg1) {\n getObject(arg0).height = arg1 >>> 0;\n };\n imports.wbg.__wbg_getContext_f701d0231ae22393 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getContext_3e21e21280a332fc = function() { return handleError(function (arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_width_16bd64d09cbf5661 = function(arg0) {\n var ret = getObject(arg0).width;\n return ret;\n };\n imports.wbg.__wbg_height_368bb86c37d51bc9 = function(arg0) {\n var ret = getObject(arg0).height;\n return ret;\n };\n imports.wbg.__wbg_data_1ae7496c58caf755 = function(arg0, arg1) {\n var ret = getObject(arg1).data;\n var ptr0 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_newwithu8clampedarray_45da2809f7882d12 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = new ImageData(getClampedArrayU8FromWasm0(arg0, arg1), arg2 >>> 0);\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_userAgent_bdd46cceef222f52 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg1).userAgent;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n }, arguments) };\n imports.wbg.__wbg_get_67189fe0b323d288 = function(arg0, arg1) {\n var ret = getObject(arg0)[arg1 >>> 0];\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_new_949bbc1147195c4e = function() {\n var ret = new Array();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_newnoargs_be86524d73f67598 = function(arg0, arg1) {\n var ret = new Function(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_next_7720502039b96d00 = function() { return handleError(function (arg0) {\n var ret = getObject(arg0).next();\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_done_b06cf0578e89ff68 = function(arg0) {\n var ret = getObject(arg0).done;\n return ret;\n };\n imports.wbg.__wbg_value_e74a542443d92451 = function(arg0) {\n var ret = getObject(arg0).value;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_get_4d0f21c2f823742e = function() { return handleError(function (arg0, arg1) {\n var ret = Reflect.get(getObject(arg0), getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_call_888d259a5fefc347 = function() { return handleError(function (arg0, arg1) {\n var ret = getObject(arg0).call(getObject(arg1));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_new_0b83d3df67ecb33e = function() {\n var ret = new Object();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_isArray_eb7ad55f2da67dde = function(arg0) {\n var ret = Array.isArray(getObject(arg0));\n return ret;\n };\n imports.wbg.__wbg_of_db9e1b8e0a7ed9bc = function(arg0, arg1) {\n var ret = Array.of(getObject(arg0), getObject(arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_push_284486ca27c6aa8b = function(arg0, arg1) {\n var ret = getObject(arg0).push(getObject(arg1));\n return ret;\n };\n imports.wbg.__wbg_instanceof_ArrayBuffer_764b6d4119231cb3 = function(arg0) {\n var ret = getObject(arg0) instanceof ArrayBuffer;\n return ret;\n };\n imports.wbg.__wbg_new_3e02a228090b2e72 = function(arg0) {\n var ret = new ArrayBuffer(arg0 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_slice_dcc477bca8fe38b1 = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).slice(arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_values_364ae56c608e6824 = function(arg0) {\n var ret = getObject(arg0).values();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_apply_7cfa6ebf144990a5 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).apply(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_call_346669c262382ad7 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = getObject(arg0).call(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_getTime_10d33f4f2959e5dd = function(arg0) {\n var ret = getObject(arg0).getTime();\n return ret;\n };\n imports.wbg.__wbg_getTimezoneOffset_d3e5a22a1b7fb1d8 = function(arg0) {\n var ret = getObject(arg0).getTimezoneOffset();\n return ret;\n };\n imports.wbg.__wbg_new0_fd3a3a290b25cdac = function() {\n var ret = new Date();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_instanceof_Object_66786225e0dbc8ba = function(arg0) {\n var ret = getObject(arg0) instanceof Object;\n return ret;\n };\n imports.wbg.__wbg_entries_aadf9c3f38203a12 = function(arg0) {\n var ret = Object.entries(getObject(arg0));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_fromEntries_164ebf0f69983a8e = function() { return handleError(function (arg0) {\n var ret = Object.fromEntries(getObject(arg0));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_is_0f5efc7977a2c50b = function(arg0, arg1) {\n var ret = Object.is(getObject(arg0), getObject(arg1));\n return ret;\n };\n imports.wbg.__wbg_new_b1d61b5687f5e73a = function(arg0, arg1) {\n try {\n var state0 = {a: arg0, b: arg1};\n var cb0 = (arg0, arg1) => {\n const a = state0.a;\n state0.a = 0;\n try {\n return __wbg_adapter_606(a, state0.b, arg0, arg1);\n } finally {\n state0.a = a;\n }\n };\n var ret = new Promise(cb0);\n return addHeapObject(ret);\n } finally {\n state0.a = state0.b = 0;\n }\n };\n imports.wbg.__wbg_resolve_d23068002f584f22 = function(arg0) {\n var ret = Promise.resolve(getObject(arg0));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_then_2fcac196782070cc = function(arg0, arg1) {\n var ret = getObject(arg0).then(getObject(arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_then_8c2d62e8ae5978f7 = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).then(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_self_c6fbdfc2918d5e58 = function() { return handleError(function () {\n var ret = self.self;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_window_baec038b5ab35c54 = function() { return handleError(function () {\n var ret = window.window;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_globalThis_3f735a5746d41fbd = function() { return handleError(function () {\n var ret = globalThis.globalThis;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_global_1bc0b39582740e95 = function() { return handleError(function () {\n var ret = global.global;\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_buffer_397eaa4d72ee94dd = function(arg0) {\n var ret = getObject(arg0).buffer;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_newwithbyteoffsetandlength_4b9b8c4e3f5adbff = function(arg0, arg1, arg2) {\n var ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_new_a7ce447f15ff496f = function(arg0) {\n var ret = new Uint8Array(getObject(arg0));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_set_969ad0a60e51d320 = function(arg0, arg1, arg2) {\n getObject(arg0).set(getObject(arg1), arg2 >>> 0);\n };\n imports.wbg.__wbg_length_1eb8fc608a0d4cdb = function(arg0) {\n var ret = getObject(arg0).length;\n return ret;\n };\n imports.wbg.__wbg_newwithlength_929232475839a482 = function(arg0) {\n var ret = new Uint8Array(arg0 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_fill_cd6951964c67ad3a = function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).fill(arg1, arg2 >>> 0, arg3 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_buffer_facf0398a281c85b = function(arg0) {\n var ret = getObject(arg0).buffer;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_subarray_8b658422a224f479 = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_byteLength_3e250b41a8915757 = function(arg0) {\n var ret = getObject(arg0).byteLength;\n return ret;\n };\n imports.wbg.__wbg_byteOffset_4204ecb24a6e5df9 = function(arg0) {\n var ret = getObject(arg0).byteOffset;\n return ret;\n };\n imports.wbg.__wbg_ownKeys_f3f1916b5564918f = function() { return handleError(function (arg0) {\n var ret = Reflect.ownKeys(getObject(arg0));\n return addHeapObject(ret);\n }, arguments) };\n imports.wbg.__wbg_set_82a4e8a85e31ac42 = function() { return handleError(function (arg0, arg1, arg2) {\n var ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));\n return ret;\n }, arguments) };\n imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {\n var ret = debugString(getObject(arg1));\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbindgen_throw = function(arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n };\n imports.wbg.__wbindgen_rethrow = function(arg0) {\n throw takeObject(arg0);\n };\n imports.wbg.__wbindgen_memory = function() {\n var ret = wasm.memory;\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper451 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_38);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper452 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_41);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper453 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_44);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper454 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_47);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper455 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_50);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper456 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_53);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper457 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_56);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper458 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 10, __wbg_adapter_59);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1936 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 908, __wbg_adapter_62);\n return addHeapObject(ret);\n };\n\n if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {\n input = fetch(input);\n }\n\n\n\n const { instance, module } = await load(await input, imports);\n\n wasm = instance.exports;\n init.__wbindgen_wasm_module = module;\n\n return wasm;\n}\n\nexport default init;\n\n"],"names":["copyToAudioBuffer","audioBuffer","leftData","rightData","getChannelData","set","getAudioOutputTimestamp","context","_a","_b","timestamp","getOutputTimestamp","call","contextTime","currentTime","baseLatency","lAudioContext","AudioContext","webkitAudioContext","undefined","wasm","heap","Array","fill","getObject","idx","push","heap_next","length","takeObject","ret","dropObject","cachedTextDecoder","TextDecoder","ignoreBOM","fatal","decode","cachegetUint8Memory0","getUint8Memory0","buffer","memory","Uint8Array","getStringFromWasm0","ptr","len","subarray","addHeapObject","obj","WASM_VECTOR_LEN","cachedTextEncoder","TextEncoder","encodeString","encodeInto","arg","view","buf","encode","read","written","passStringToWasm0","malloc","realloc","mem","offset","code","charCodeAt","slice","cachegetInt32Memory0","getInt32Memory0","Int32Array","isLikeNone","x","cachegetFloat64Memory0","debugString","val","type","description","name","isArray","debug","i","builtInMatches","exec","toString","className","JSON","stringify","_","Error","message","stack","makeMutClosure","arg0","arg1","dtor","f","state","a","b","cnt","real","args","__wbindgen_export_2","get","original","__wbg_adapter_38","arg2","_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0354b9286f1ca118","__wbg_adapter_41","__wbg_adapter_44","_dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2b29ce5f03a3005f","__wbg_adapter_47","__wbg_adapter_50","_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h14840cb9b3b797cb","__wbg_adapter_53","__wbg_adapter_56","__wbg_adapter_59","__wbg_adapter_62","_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6769736ffe94a981","cachegetFloat32Memory0","getArrayF32FromWasm0","Float32Array","handleError","apply","this","e","__wbindgen_exn_store","stack_pointer","addBorrowedObject","cachegetUint32Memory0","getArrayU8FromWasm0","cachegetUint8ClampedMemory0","getClampedArrayU8FromWasm0","Uint8ClampedArray","Ruffle","static","Object","create","prototype","__destroy_into_raw","free","__wbg_ruffle_free","constructor","parent","js_player","config","ruffle_new","stream_from","movie_url","parameters","ptr0","__wbindgen_malloc","__wbindgen_realloc","len0","ruffle_stream_from","load_data","swf_data","ruffle_load_data","play","ruffle_play","pause","ruffle_pause","is_playing","ruffle_is_playing","prepare_context_menu","ruffle_prepare_context_menu","run_context_menu_callback","index","ruffle_run_context_menu_callback","set_fullscreen","is_fullscreen","ruffle_set_fullscreen","clear_custom_menu_items","ruffle_clear_custom_menu_items","destroy","ruffle_destroy","call_exposed_callback","ptr1","array","Uint32Array","passArrayJsValueToWasm0","len1","ruffle_call_exposed_callback","set_trace_observer","observer","ruffle_set_trace_observer","audio_context","ruffle_audio_context","ruffle_is_wasm_simd_used","async","init","input","URL","imports","wbg","__wbindgen_object_drop_ref","__wbindgen_cb_drop","__wbindgen_string_new","__wbindgen_object_clone_ref","__wbg_ruffle_new","__wrap","__wbindgen_is_function","__wbindgen_json_parse","parse","__wbindgen_json_serialize","__wbg_copyToAudioBuffer_58f244be94bac1d2","arg3","arg4","__wbg_getAudioOutputTimestamp_a67aa6687740cd15","__wbg_setFullscreen_9819a8b20564e39b","setFullscreen","arguments","__wbindgen_string_get","__wbg_displayUnsupportedMessage_a8f81a8e054e5e91","displayUnsupportedMessage","__wbg_displayRootMovieDownloadFailedMessage_1a5c34096259685a","displayRootMovieDownloadFailedMessage","__wbg_displayMessage_c57c20204892da2b","displayMessage","__wbg_new_df6e6ab7a65c4c4d","__wbg_panic_bbc809dd04a12c60","panic","__wbg_setMetadata_bbaeaee7f48274e6","setMetadata","__wbg_onCallbackAvailable_3a48fae397926c96","onCallbackAvailable","__wbg_onFSCommand_fb2f94653f71796e","onFSCommand","__wbindgen_number_get","Float64Array","__wbindgen_boolean_get","v","__wbindgen_number_new","__wbg_new_693216e109162396","__wbg_stack_0ddaca5d1abfb52f","__wbg_error_09919627ac0992f5","console","error","__wbindgen_free","__wbindgen_is_undefined","__wbg_getRandomValues_99bbe8a65f4aef87","getRandomValues","__wbg_randomFillSync_378e02b85af41ab6","randomFillSync","__wbg_process_5729605ce9d34ea8","process","__wbindgen_is_object","__wbg_versions_531e16e1a776ee97","versions","__wbg_node_18b58a160b60d170","node","__wbindgen_is_string","__wbg_static_accessor_NODE_MODULE_bdc5ca9096c68aeb","module","__wbg_require_edfaedd93e302925","require","__wbg_crypto_2bc4d5b05161de5b","crypto","__wbg_msCrypto_d003eebe62c636a9","msCrypto","__wbg_instanceof_WebGl2RenderingContext_56ad96bfac3f5531","WebGL2RenderingContext","__wbg_bindVertexArray_52b8b2f5fd93d81d","bindVertexArray","__wbg_blitFramebuffer_d6dafd082e3b1266","arg5","arg6","arg7","arg8","arg9","arg10","blitFramebuffer","__wbg_createVertexArray_d59135c0a43c410b","createVertexArray","__wbg_renderbufferStorageMultisample_41916a754c02df64","renderbufferStorageMultisample","__wbg_texImage2D_29ea0a7f026e239b","texImage2D","__wbg_bindFramebuffer_48c4bf8ff82bf7e9","bindFramebuffer","__wbg_bindRenderbuffer_4a9ad1cf80580397","bindRenderbuffer","__wbg_bindTexture_9d8ed0fcd83eb0a9","bindTexture","__wbg_createFramebuffer_9818fc04b4a38c18","createFramebuffer","__wbg_createRenderbuffer_d1a55ec78e26295b","createRenderbuffer","__wbg_createTexture_8f31e7386e22fc37","createTexture","__wbg_deleteFramebuffer_5f58ccb548438c57","deleteFramebuffer","__wbg_deleteRenderbuffer_6372146d4689793e","deleteRenderbuffer","__wbg_deleteTexture_a0632c71429795ac","deleteTexture","__wbg_framebufferRenderbuffer_9d619e8bf8f2aeb6","framebufferRenderbuffer","__wbg_framebufferTexture2D_3da41a7f38e2c523","framebufferTexture2D","__wbg_getError_868f7c8ef6475b32","getError","__wbg_getParameter_e3aea13dd0a2904d","getParameter","__wbg_texParameteri_c54aab65b2f8cf6d","texParameteri","__wbg_instanceof_Window_c4b70662a0d2c5ec","Window","__wbg_document_1c64944725c0d81d","document","__wbg_location_f98ad02632f88c43","location","__wbg_navigator_480e592af6ad365b","navigator","__wbg_devicePixelRatio_d8c3852bb37f76bf","devicePixelRatio","__wbg_performance_947628766699c5bb","performance","__wbg_localStorage_6775414303ab5085","localStorage","__wbg_cancelAnimationFrame_5f2a1e987a6de100","cancelAnimationFrame","__wbg_focus_70ecc8fcab4bdb61","focus","__wbg_open_5416e4448a959cfa","open","__wbg_requestAnimationFrame_71638ca922068239","requestAnimationFrame","__wbg_fetch_cfe0d1dd786e9cd4","fetch","__wbg_destination_6c3ac66ee8b2fe85","destination","__wbg_sampleRate_ffa6f08191b00934","sampleRate","__wbg_currentTime_e231c76a3c011126","__wbg_new_52bbbd81ffc19dff","__wbg_suspend_5b2c4674b28d07f2","suspend","__wbg_createBuffer_79833a4052d7b42a","createBuffer","__wbg_createBufferSource_7244d810d62a0bed","createBufferSource","__wbg_createChannelMerger_542d0885aa4bdc09","createChannelMerger","__wbg_createChannelSplitter_95302cbc3f9b9f85","createChannelSplitter","__wbg_createGain_c5f114390c363029","createGain","__wbg_createScriptProcessor_ec30f8ab6ea543d1","createScriptProcessor","__wbg_decodeAudioData_66b886741a4167f4","decodeAudioData","__wbg_resume_ca50287e91c0323e","resume","__wbg_setvalue_df8236adf40ea2d3","value","__wbg_linearRampToValueAtTime_113d2920c90f1851","linearRampToValueAtTime","__wbg_setValueAtTime_9396570ff0d3cc1f","setValueAtTime","__wbg_gain_d4eaca6128dcfd90","gain","__wbg_baseURI_083fd53f8bea9af2","baseURI","__wbg_appendChild_d318db34c4559916","appendChild","__wbg_instanceof_SvgsvgElement_631275f115d8f8e3","SVGSVGElement","__wbg_createSVGMatrix_037d6368ea06b02d","createSVGMatrix","__wbg_protocol_f17adabd4e662b06","protocol","__wbg_assign_26269af9ce90e6c7","assign","__wbg_new_a3422e0170c31454","Path2D","__wbg_addPath_18881cd56483fe63","addPath","__wbg_closePath_bf39ada268053aea","closePath","__wbg_lineTo_4d75fbab7308c3d2","lineTo","__wbg_moveTo_70f7a4760893f917","moveTo","__wbg_quadraticCurveTo_7724e01d766ebfe2","quadraticCurveTo","__wbg_get_f0092ad67dc97639","__wbg_set_3a236a97145dc780","__wbg_delete_881ab2d2a830b82f","__wbg_length_b398b347bd3c9cd5","__wbg_setTransform_3f9fc1784a580fff","setTransform","__wbg_setProperty_1460c660bc329763","setProperty","__wbg_offsetX_5da3ebf8a8cda8a4","offsetX","__wbg_offsetY_b0edbc16723a55cb","offsetY","__wbg_button_a02c0467d38e8338","button","__wbg_bindVertexArrayOES_7104c80fb0d31cb0","bindVertexArrayOES","__wbg_createVertexArrayOES_ced4f8a084b789b7","createVertexArrayOES","__wbg_deltaY_080604c20160c0e8","deltaY","__wbg_deltaMode_c5ec1ee518ea0a08","deltaMode","__wbg_connect_723cc4823fe3e6c0","connect","__wbg_connect_cb8dcaafd6d14fe4","__wbg_connect_eb8fcb61cab88f0b","__wbg_disconnect_661941cf5b88fa5a","disconnect","__wbg_instanceof_HtmlFormElement_aeafa27e92962efa","HTMLFormElement","__wbg_submit_7479ea6e99f76174","submit","__wbg_instanceof_Response_e1b11afbefa5b563","Response","__wbg_ok_270f6d403efe7e7b","ok","__wbg_statusText_97740db9b8bb12e3","statusText","__wbg_arrayBuffer_b8937ed04beb0d36","arrayBuffer","__wbg_seta_f5667df13832f473","__wbg_setb_51b68c87004ceb92","__wbg_setc_62d7a8abc0082fcc","c","__wbg_setd_544fd4902db40bca","d","__wbg_sete_a3575dd88c8f17a3","__wbg_setf_956eaea5b3047302","__wbg_setbuffer_c643a88bac27b2bd","__wbg_setloop_32c84ea32fabef74","loop","__wbg_setloopStart_a113b4d478da7f93","loopStart","__wbg_setloopEnd_b83c2563fe5be665","loopEnd","__wbg_setonended_6ce8715add45953e","onended","__wbg_start_551bedf1ecfdc0e2","start","__wbg_start_885262ec460f3ef3","__wbg_stop_c6532de1aeb2e765","stop","__wbg_outputBuffer_3f27dc3af0998ec9","outputBuffer","__wbg_now_559193109055ebad","now","__wbg_pointerId_9302f0e125f0b48e","pointerId","__wbg_currentTarget_65309531208d5df3","currentTarget","__wbg_preventDefault_9866c9fd51eecfb6","preventDefault","__wbg_setsrc_3eb04f553f8335c7","src","__wbg_new_265b3e027a3022bd","Image","__wbg_key_10dcaa4bb6d5449f","key","__wbg_code_1c2fd251f38b398a","__wbg_newwithstrandinit_9b0fa00478c37287","Request","__wbg_setonaudioprocess_4334efc34353560d","onaudioprocess","__wbg_body_78ae4fd43b446013","body","__wbg_createElement_86c152812a141a62","createElement","__wbg_createElementNS_ae12b8681c3957a3","createElementNS","__wbg_setid_681bb5a14c3d5850","id","__wbg_clientWidth_4d9e01af2b5b9f21","clientWidth","__wbg_clientHeight_87c209f0cacf2e97","clientHeight","__wbg_querySelector_dc71838110c91f39","querySelector","__wbg_releasePointerCapture_326599f769b49681","releasePointerCapture","__wbg_setAttribute_1b533bf07966de55","setAttribute","__wbg_setAttributeNS_92db6decf2ec8400","setAttributeNS","__wbg_setPointerCapture_bd3244d9f008798f","setPointerCapture","__wbg_remove_c63cabc94a77cacb","remove","__wbg_instanceof_WebGlRenderingContext_101b938bec1286a3","WebGLRenderingContext","__wbg_drawingBufferWidth_8b0c2b31d9d6eee7","drawingBufferWidth","__wbg_drawingBufferHeight_f62678018bab567c","drawingBufferHeight","__wbg_bufferData_2f9be23b37e5a1a4","bufferData","__wbg_texImage2D_712c56fe5a9825ed","__wbg_uniform1fv_02b26dddaa3ea984","uniform1fv","__wbg_uniform4fv_ca394beb323215c6","uniform4fv","__wbg_uniformMatrix3fv_340429fe0911bc6f","uniformMatrix3fv","__wbg_uniformMatrix4fv_a92133b68236ac68","uniformMatrix4fv","__wbg_activeTexture_b34aca0c2110966c","activeTexture","__wbg_attachShader_eaa824fd5b37a770","attachShader","__wbg_bindBuffer_2ca7e1c18819ecb2","bindBuffer","__wbg_bindFramebuffer_c9f468afa9d42a5f","__wbg_bindRenderbuffer_7b2b49f71f3eeef9","__wbg_bindTexture_edd827f3dba6038e","__wbg_blendFunc_d5ab9f0ff5a40a48","blendFunc","__wbg_clear_da26620d46f0a11a","clear","__wbg_clearColor_cbf22f8faa5a52c1","clearColor","__wbg_colorMask_035708eb94fe9af8","colorMask","__wbg_compileShader_8fb70a472f32552c","compileShader","__wbg_createBuffer_4802e2f0e1b1acdf","__wbg_createProgram_b1d94f4c7554d3a1","createProgram","__wbg_createShader_da09e167692f0dc7","createShader","__wbg_createTexture_bafc7c08393ae59d","__wbg_disable_b07faddb7d04349f","disable","__wbg_disableVertexAttribArray_c9fdabd5f12b0539","disableVertexAttribArray","__wbg_drawElements_8e8af4b6757fedce","drawElements","__wbg_enable_d3d210aeb08eff52","enable","__wbg_enableVertexAttribArray_d539e547495bea44","enableVertexAttribArray","__wbg_getAttribLocation_706a0beabcdaebcf","getAttribLocation","__wbg_getExtension_045789240c50a108","getExtension","__wbg_getParameter_6412bd2d0602696d","__wbg_getProgramInfoLog_b60e82d52c200cbd","getProgramInfoLog","__wbg_getProgramParameter_229c193895936bbe","getProgramParameter","__wbg_getShaderInfoLog_ba51160c01b98360","getShaderInfoLog","__wbg_getUniformLocation_c3b3570b4632cc5c","getUniformLocation","__wbg_linkProgram_7080c84b0233cea2","linkProgram","__wbg_pixelStorei_3cd96723ae22a5c6","pixelStorei","__wbg_shaderSource_67b991301db003d0","shaderSource","__wbg_stencilFunc_bbc24750c2db9a15","stencilFunc","__wbg_stencilMask_0ec7662710f598d4","stencilMask","__wbg_stencilOp_fd4ec71a7de6ac85","stencilOp","__wbg_texParameteri_bd724f6a5ad0cbbc","__wbg_uniform1f_b9cff1cea32def5a","uniform1f","__wbg_uniform1i_0811c29c0eebe191","uniform1i","__wbg_useProgram_b72b0bfcbc720fa9","useProgram","__wbg_vertexAttribPointer_b5cb524c6fe9eec8","vertexAttribPointer","__wbg_viewport_89af3aceb7036a2c","viewport","__wbg_debug_675b0ecb65722d2a","__wbg_error_cc38ce2b4b661e1d","__wbg_info_e0c9813e6fd3bdc1","info","__wbg_log_3445347661d4505e","log","__wbg_warn_5ec7c7c02d0b3841","warn","__wbg_style_c88e323890d3a091","style","__wbg_instanceof_CanvasRenderingContext2d_3abbe7ec7af32cae","CanvasRenderingContext2D","__wbg_setglobalAlpha_27b14e5f5b7567ec","globalAlpha","__wbg_setglobalCompositeOperation_c650e9805cc6316f","globalCompositeOperation","__wbg_setstrokeStyle_947bd4c26c94673f","strokeStyle","__wbg_setfillStyle_528a6a267c863ae7","fillStyle","__wbg_setfilter_3d48443a4a710be8","filter","__wbg_setimageSmoothingEnabled_92d14a22667eae22","imageSmoothingEnabled","__wbg_setlineWidth_3221b7818c00ed48","lineWidth","__wbg_setlineCap_5284a001e1efcecd","lineCap","__wbg_setlineJoin_a6af4e7d24a3a67e","lineJoin","__wbg_setmiterLimit_9fa0d72650341727","miterLimit","__wbg_drawImage_5e8203c5b210fce3","drawImage","__wbg_drawImage_9492b361f8b31282","__wbg_fill_75988ff43d6e3499","__wbg_stroke_d91ac76d5b1eb792","stroke","__wbg_createPattern_1d0b3c3750c8448c","createPattern","__wbg_createPattern_b824d17776fa1f1e","__wbg_getImageData_9ffc3df78ca3dbc9","getImageData","__wbg_putImageData_b9544b271e569392","putImageData","__wbg_clearRect_07caefec3496ced1","clearRect","__wbg_fillRect_10e42dc7a5e8cccd","fillRect","__wbg_resetTransform_26f86c1cc48a4fae","resetTransform","__wbg_setTransform_8ffd6a5c85396174","__wbg_newwithbuffersourcesequenceandoptions_2b60b470c130cb1a","Blob","__wbg_addEventListener_52721772cc0a7f30","addEventListener","__wbg_addEventListener_09e11fbf8b4b719b","__wbg_addEventListener_0ed522a6d9900d5d","__wbg_removeEventListener_f2adc9b2b318de99","removeEventListener","__wbg_removeEventListener_24d5a7c12c3f3c39","__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e","HTMLCanvasElement","__wbg_width_555f63ab09ba7d3f","width","__wbg_setwidth_c1a7061891b71f25","__wbg_height_7153faec70fbaf7b","height","__wbg_setheight_88894b05710ff752","__wbg_getContext_f701d0231ae22393","getContext","__wbg_getContext_3e21e21280a332fc","__wbg_width_16bd64d09cbf5661","__wbg_height_368bb86c37d51bc9","__wbg_data_1ae7496c58caf755","passArray8ToWasm0","data","__wbg_newwithu8clampedarray_45da2809f7882d12","ImageData","__wbg_userAgent_bdd46cceef222f52","userAgent","__wbg_get_67189fe0b323d288","__wbg_new_949bbc1147195c4e","__wbg_newnoargs_be86524d73f67598","Function","__wbg_next_7720502039b96d00","next","__wbg_done_b06cf0578e89ff68","done","__wbg_value_e74a542443d92451","__wbg_get_4d0f21c2f823742e","Reflect","__wbg_call_888d259a5fefc347","__wbg_new_0b83d3df67ecb33e","__wbg_isArray_eb7ad55f2da67dde","__wbg_of_db9e1b8e0a7ed9bc","of","__wbg_push_284486ca27c6aa8b","__wbg_instanceof_ArrayBuffer_764b6d4119231cb3","ArrayBuffer","__wbg_new_3e02a228090b2e72","__wbg_slice_dcc477bca8fe38b1","__wbg_values_364ae56c608e6824","values","__wbg_apply_7cfa6ebf144990a5","__wbg_call_346669c262382ad7","__wbg_getTime_10d33f4f2959e5dd","getTime","__wbg_getTimezoneOffset_d3e5a22a1b7fb1d8","getTimezoneOffset","__wbg_new0_fd3a3a290b25cdac","Date","__wbg_instanceof_Object_66786225e0dbc8ba","__wbg_entries_aadf9c3f38203a12","entries","__wbg_fromEntries_164ebf0f69983a8e","fromEntries","__wbg_is_0f5efc7977a2c50b","is","__wbg_new_b1d61b5687f5e73a","state0","Promise","wasm_bindgen__convert__closures__invoke2_mut__hca44cfcccf347cf6","__wbg_adapter_606","__wbg_resolve_d23068002f584f22","resolve","__wbg_then_2fcac196782070cc","then","__wbg_then_8c2d62e8ae5978f7","__wbg_self_c6fbdfc2918d5e58","self","__wbg_window_baec038b5ab35c54","window","__wbg_globalThis_3f735a5746d41fbd","globalThis","__wbg_global_1bc0b39582740e95","g","global","__wbg_buffer_397eaa4d72ee94dd","__wbg_newwithbyteoffsetandlength_4b9b8c4e3f5adbff","__wbg_new_a7ce447f15ff496f","__wbg_set_969ad0a60e51d320","__wbg_length_1eb8fc608a0d4cdb","__wbg_newwithlength_929232475839a482","__wbg_fill_cd6951964c67ad3a","__wbg_buffer_facf0398a281c85b","__wbg_subarray_8b658422a224f479","__wbg_byteLength_3e250b41a8915757","byteLength","__wbg_byteOffset_4204ecb24a6e5df9","byteOffset","__wbg_ownKeys_f3f1916b5564918f","ownKeys","__wbg_set_82a4e8a85e31ac42","__wbindgen_debug_string","__wbindgen_throw","__wbindgen_rethrow","__wbindgen_memory","__wbindgen_closure_wrapper451","__wbindgen_closure_wrapper452","__wbindgen_closure_wrapper453","__wbindgen_closure_wrapper454","__wbindgen_closure_wrapper455","__wbindgen_closure_wrapper456","__wbindgen_closure_wrapper457","__wbindgen_closure_wrapper458","__wbindgen_closure_wrapper1936","instance","WebAssembly","instantiateStreaming","headers","bytes","instantiate","Instance","load","exports","__wbindgen_wasm_module"],"sourceRoot":""} \ No newline at end of file diff --git a/js/e058efe76d47eae2be9a.wasm b/js/e058efe76d47eae2be9a.wasm new file mode 100644 index 0000000..c2eb008 Binary files /dev/null and b/js/e058efe76d47eae2be9a.wasm differ diff --git a/js/package.json b/js/package.json new file mode 100644 index 0000000..1b95506 --- /dev/null +++ b/js/package.json @@ -0,0 +1 @@ +{"name":"@ruffle-rs/ruffle","version":"0.1.0-nightly.2022.03.10","description":"Putting Flash back on the web. Ruffle will polyfill all Flash content and replace it with the Ruffle flash player.","license":"(MIT OR Apache-2.0)","keywords":["flash","swf"],"homepage":"https://ruffle.rs","bugs":"https://github.com/ruffle-rs/ruffle/issues","repository":"github:ruffle-rs/ruffle","main":"ruffle.js"} \ No newline at end of file diff --git a/js/ruffle.js b/js/ruffle.js new file mode 100644 index 0000000..b37ef53 --- /dev/null +++ b/js/ruffle.js @@ -0,0 +1,2 @@ +(()=>{"use strict";var e,t,n={},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e](r,r.exports,s),r.exports}s.m=n,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.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>"core.ruffle."+{662:"c03ed0fdc692d589502d",966:"ece9e8fa5a7d72d73689"}[e]+".js",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),e={},t="ruffle-selfhosted:",s.l=(n,i,r,o)=>{if(e[n])e[n].push(i);else{var a,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(f);var s=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),s&&s.forEach((e=>e(i))),t)return t(i)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),l&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.p="",(()=>{s.b=document.baseURI||self.location.href;var e={179:0};s.f.j=(t,n)=>{var i=s.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var r=new Promise(((n,s)=>i=e[t]=[n,s]));n.push(i[2]=r);var o=s.p+s.u(t),a=new Error;s.l(o,(n=>{if(s.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+o+")",a.name="ChunkLoadError",a.type=r,a.request=o,i[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var i,r,[o,a,l]=n,c=0;if(o.some((t=>0!==e[t]))){for(i in a)s.o(a,i)&&(s.m[i]=a[i]);l&&l(s)}for(t&&t(n);cWebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,3,1,0,1,10,14,1,12,0,65,0,65,0,65,0,252,10,0,0,11])),o=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,12,1,10,0,67,0,0,0,0,252,0,26,11])),a=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,65,0,192,26,11])),l=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]));function c(e){const t="function"==typeof Function.prototype.toString?Function.prototype.toString():null;return"string"==typeof t&&t.indexOf("[native code]")>=0&&Function.prototype.toString.call(e).indexOf("[native code]")>=0}let u="";try{if(void 0!==document.currentScript&&null!==document.currentScript&&"src"in document.currentScript&&""!==document.currentScript.src){let e=document.currentScript.src;e.endsWith(".js")||e.endsWith("/")||(e+="/"),u=new URL(".",e).href}}catch(e){console.warn("Unable to get currentScript URL")}function d(e){let t=u;return void 0!==e&&void 0!==e.publicPath&&(t=e.publicPath),""===t||t.endsWith("/")||(t+="/"),t}let h=null;function f(e){return null==h&&(h=async function(e){"function"==typeof Array.prototype.reduce&&c(Array.prototype.reduce)||Object.defineProperty(Array.prototype,"reduce",{value(...e){if(0===e.length&&window.Prototype&&window.Prototype.Version&&window.Prototype.Version<"1.6.1")return this.length>1?this:this[0];const t=e[0];if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(`${t} is not a function`);const n=Object(this),i=n.length>>>0;let s,r=0;if(e.length>=2)s=e[1];else{for(;r=i)throw new TypeError("Reduce of empty array with no initial value");s=n[r++]}for(;re[t]}),"function"!=typeof Reflect.set&&Object.defineProperty(Reflect,"set",{value(e,t,n){e[t]=n}});const t=(await Promise.all([r(),l(),o(),a()])).every(Boolean);t||console.log("Some WebAssembly extensions are NOT available, falling back to the vanilla WebAssembly module"),s.p=d(e);const{default:n,Ruffle:i}=await(t?s.e(966).then(s.bind(s,966)):s.e(662).then(s.bind(s,662)));return await n(),i}(e)),h}class p{constructor(e){if(this.__mimetypes=[],this.__named_mimetypes={},e)for(let t=0;t\n :host {\n --ruffle-blue: #37528c;\n --ruffle-orange: #ffad33;\n\n display: inline-block;\n position: relative;\n /* Default width/height; this will get overridden by user styles/attributes. */\n width: 550px;\n height: 400px;\n font-family: Arial, sans-serif;\n letter-spacing: 0.4px;\n touch-action: none;\n user-select: none;\n -webkit-user-select: none;\n -webkit-tap-highlight-color: transparent;\n }\n\n /* Ruffle\'s width/height CSS interferes Safari fullscreen CSS. */\n /* Ensure that Safari\'s fullscreen mode actually fills the screen. */\n :host(:-webkit-full-screen) {\n display: block;\n width: 100% !important;\n height: 100% !important;\n }\n\n /* All of these use the dimensions specified by the embed. */\n #container,\n #play_button,\n #unmute_overlay,\n #unmute_overlay .background,\n #panic,\n #message_overlay {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n\n #container {\n overflow: hidden;\n }\n\n #container canvas {\n width: 100%;\n height: 100%;\n }\n\n #play_button,\n #unmute_overlay {\n cursor: pointer;\n display: none;\n }\n\n #unmute_overlay .background {\n background: black;\n opacity: 0.7;\n }\n\n #play_button .icon,\n #unmute_overlay .icon {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 50%;\n height: 50%;\n max-width: 384px;\n max-height: 384px;\n transform: translate(-50%, -50%);\n opacity: 0.8;\n }\n\n #play_button:hover .icon,\n #unmute_overlay:hover .icon {\n opacity: 1;\n }\n\n #panic {\n font-size: 20px;\n text-align: center;\n /* Inverted colors from play button! */\n background: linear-gradient(180deg, #fd3a40 0%, #fda138 100%);\n color: white;\n display: flex;\n flex-flow: column;\n justify-content: space-around;\n }\n\n #panic a {\n color: var(--ruffle-blue);\n font-weight: bold;\n }\n\n #panic-title {\n font-size: xxx-large;\n font-weight: bold;\n }\n\n #panic-body.details {\n flex: 0.9;\n margin: 0 10px;\n }\n\n #panic-body textarea {\n width: 100%;\n height: 100%;\n resize: none;\n }\n\n #panic ul {\n padding: 0;\n display: flex;\n list-style-type: none;\n justify-content: space-evenly;\n }\n\n #message_overlay {\n position: absolute;\n background: var(--ruffle-blue);\n color: var(--ruffle-orange);\n opacity: 1;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: auto;\n }\n\n #message_overlay .message {\n text-align: center;\n max-height: 100%;\n max-width: 100%;\n padding: 5%;\n }\n\n #message_overlay p {\n margin: 0.5em 0;\n }\n\n #message_overlay .message div {\n display: flex;\n justify-content: center;\n flex-wrap: wrap;\n column-gap: 1em;\n }\n\n #message_overlay a, #message_overlay button {\n cursor: pointer;\n background: var(--ruffle-blue);\n color: var(--ruffle-orange);\n border: 2px solid var(--ruffle-orange);\n font-weight: bold;\n font-size: 1.25em;\n border-radius: 0.6em;\n padding: 10px;\n text-decoration: none;\n margin: 2% 0;\n }\n\n #message_overlay a:hover, #message_overlay button:hover {\n background: #ffffff4c;\n }\n\n #continue-btn {\n cursor: pointer;\n background: var(--ruffle-blue);\n color: var(--ruffle-orange);\n border: 2px solid var(--ruffle-orange);\n font-weight: bold;\n font-size: 20px;\n border-radius: 20px;\n padding: 10px;\n }\n\n #continue-btn:hover {\n background: #ffffff4c;\n }\n\n #context-menu {\n display: none;\n color: black;\n background: #fafafa;\n border: 1px solid gray;\n box-shadow: 0px 5px 10px -5px black;\n position: absolute;\n font-size: 14px;\n text-align: left;\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #context-menu .menu_item {\n padding: 5px 10px;\n cursor: pointer;\n color: black;\n }\n\n #context-menu .menu_item.disabled {\n cursor: default;\n color: gray;\n }\n\n #context-menu .menu_item:not(.disabled):hover {\n background: lightgray;\n }\n\n #context-menu .menu_separator hr {\n border: none;\n border-bottom: 1px solid lightgray;\n margin: 2px;\n }\n \n \n\n
\n
\n
Click to unmute
\n
\n\n
    \n';const w={};function b(e,t){if(void 0!==w[e]){if(w[e].class!==t)throw new Error("Internal naming conflict on "+e);return w[e].name}let n=0;if(void 0!==window.customElements)for(;n<999;){let i=e;if(n>0&&(i=i+"-"+n),void 0===window.customElements.get(i))return window.customElements.define(i,t),w[e]={class:t,name:i,internalName:e},i;n+=1}throw new Error("Failed to assign custom element "+e)}const x="application/x-shockwave-flash",k="application/futuresplash",E="application/x-shockwave-flash2-preview",I="application/vnd.adobe.flash-movie",_="https://ruffle.rs",S=/^\s*(\d+(\.\d+)?(%)?)/;let A=!1;function C(e){if(null==e)return{};e instanceof URLSearchParams||(e=new URLSearchParams(e));const t={};for(const[n,i]of e)t[n]=i.toString();return t}class R extends HTMLElement{constructor(){return super(),this.hasContextMenu=!1,this.contextMenuForceDisabled=!1,this.isTouch=!1,this.showSwfDownload=!1,this.panicked=!1,this.isExtension=!1,this.config={},this.shadow=this.attachShadow({mode:"open"}),this.shadow.appendChild(y.content.cloneNode(!0)),this.dynamicStyles=this.shadow.getElementById("dynamic_styles"),this.container=this.shadow.getElementById("container"),this.playButton=this.shadow.getElementById("play_button"),this.playButton&&this.playButton.addEventListener("click",(()=>this.play())),this.unmuteOverlay=this.shadow.getElementById("unmute_overlay"),this.contextMenuElement=this.shadow.getElementById("context-menu"),this.addEventListener("contextmenu",this.showContextMenu.bind(this)),this.addEventListener("pointerdown",this.pointerDown.bind(this)),this.addEventListener("fullscreenchange",this.fullScreenChange.bind(this)),this.addEventListener("webkitfullscreenchange",this.fullScreenChange.bind(this)),window.addEventListener("click",this.hideContextMenu.bind(this)),this.instance=null,this.options=null,this.onFSCommand=null,this._readyState=0,this._metadata=null,this.lastActivePlayingState=!1,this.setupPauseOnTabHidden(),this}get readyState(){return this._readyState}get metadata(){return this._metadata}setupPauseOnTabHidden(){document.addEventListener("visibilitychange",(()=>{this.instance&&(document.hidden&&(this.lastActivePlayingState=this.instance.is_playing(),this.instance.pause()),document.hidden||!0!==this.lastActivePlayingState||this.instance.play())}),!1)}connectedCallback(){this.updateStyles()}static get observedAttributes(){return["width","height"]}attributeChangedCallback(e,t,n){"width"!==e&&"height"!==e||this.updateStyles()}disconnectedCallback(){this.destroy()}updateStyles(){if(this.dynamicStyles.sheet){if(this.dynamicStyles.sheet.rules)for(let e=0;e{if(console.error(`Serious error loading Ruffle: ${e}`),"file:"===window.location.protocol)e.ruffleIndexError=2;else{e.ruffleIndexError=9;const t=String(e.message).toLowerCase();t.includes("mime")?e.ruffleIndexError=8:t.includes("networkerror")||t.includes("failed to fetch")?e.ruffleIndexError=6:t.includes("disallowed by embedder")?e.ruffleIndexError=1:"CompileError"===e.name?e.ruffleIndexError=3:t.includes("could not download wasm module")&&"TypeError"===e.name?e.ruffleIndexError=7:"TypeError"===e.name?e.ruffleIndexError=5:navigator.userAgent.includes("Edg")&&t.includes("webassembly is not defined")&&(e.ruffleIndexError=10)}throw this.panic(e),e}));if(this.instance=await new n(this.container,this,e),console.log("New Ruffle instance created (WebAssembly extensions: "+(n.is_wasm_simd_used()?"ON":"OFF")+")"),"running"!==this.audioState()&&(this.container.style.visibility="hidden",await new Promise((e=>{window.setTimeout((()=>{e()}),200)})),this.container.style.visibility=""),this.unmuteAudioContext(),"on"===e.autoplay||"off"!==e.autoplay&&"running"===this.audioState()){if(this.play(),"running"!==this.audioState()){"hidden"!==e.unmuteOverlay&&(this.unmuteOverlay.style.display="block"),this.container.addEventListener("click",this.unmuteOverlayClicked.bind(this),{once:!0});const n=null===(t=this.instance)||void 0===t?void 0:t.audio_context();n&&(n.onstatechange=()=>{"running"===n.state&&this.unmuteOverlayClicked(),n.onstatechange=null})}}else this.playButton.style.display="block"}destroy(){this.instance&&(this.instance.destroy(),this.instance=null,this._metadata=null,this._readyState=0,console.log("Ruffle instance destroyed."))}async load(e){var t,n;let i="";switch(typeof e){case"string":e={url:e};break;case"object":null===e?i="Argument 0 must be a string or object":"url"in e||"data"in e?"url"in e&&"string"!=typeof e.url&&(i="`url` must be a string"):i="Argument 0 must contain a `url` or `data` key";break;default:i="Argument 0 must be a string or object"}if(i.length>0){const e=new TypeError(i);throw e.ruffleIndexError=4,this.panic(e),e}if(this.isConnected&&!this.isUnusedFallbackObject()){if(!P(this))try{const i=Object.assign(Object.assign(Object.assign({},null!==(n=null===(t=window.RufflePlayer)||void 0===t?void 0:t.config)&&void 0!==n?n:{}),this.config),e);if(i.allowScriptAccess=e.allowScriptAccess,this.showSwfDownload=!0===i.showSwfDownload,this.options=e,this.hasContextMenu=!1!==i.contextMenu,i.backgroundColor&&(this.container.style.backgroundColor=i.backgroundColor),await this.ensureFreshInstance(i),"url"in e){console.log(`Loading SWF file ${e.url}`),this.swfUrl=new URL(e.url,document.location.href);const t=Object.assign(Object.assign({},C(e.url.substring(e.url.indexOf("?")))),C(e.parameters));this.instance.stream_from(this.swfUrl.href,t)}else"data"in e&&(console.log("Loading SWF data"),this.instance.load_data(new Uint8Array(e.data),C(e.parameters)))}catch(e){throw console.error(`Serious error occurred loading SWF file: ${e}`),e}}else console.warn("Ignoring attempt to play a disconnected or suspended Ruffle element")}play(){this.instance&&(this.instance.play(),this.playButton&&(this.playButton.style.display="none"))}get isPlaying(){return!!this.instance&&this.instance.is_playing()}get fullscreenEnabled(){return!(!document.fullscreenEnabled&&!document.webkitFullscreenEnabled)}get isFullscreen(){return(document.fullscreenElement||document.webkitFullscreenElement)===this}setFullscreen(e){this.fullscreenEnabled&&(e?this.enterFullscreen():this.exitFullscreen())}enterFullscreen(){const e={navigationUI:"hide"};this.requestFullscreen?this.requestFullscreen(e):this.webkitRequestFullscreen?this.webkitRequestFullscreen(e):this.webkitRequestFullScreen&&this.webkitRequestFullScreen(e)}exitFullscreen(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen()}fullScreenChange(){var e;null===(e=this.instance)||void 0===e||e.set_fullscreen(this.isFullscreen)}pointerDown(e){"touch"!==e.pointerType&&"pen"!==e.pointerType||(this.isTouch=!0)}async downloadSwf(){try{if(this.swfUrl){console.log("Downloading SWF: "+this.swfUrl);const e=await fetch(this.swfUrl.href);if(!e.ok)return void console.error("SWF download failed");const t=await e.blob(),n=URL.createObjectURL(t),i=document.createElement("a");i.style.display="none",i.href=n,i.download=function(e){const t=e.pathname;return t.substring(t.lastIndexOf("/")+1)}(this.swfUrl),document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(n)}else console.error("SWF download failed")}catch(e){console.error("SWF download failed")}}contextMenuItems(){const e=String.fromCharCode(10003),t=[];this.instance&&this.instance.prepare_context_menu().forEach(((n,i)=>{n.separatorBefore&&t.push(null),t.push({text:n.caption+(n.checked?` (${e})`:""),onClick:()=>{var e;return null===(e=this.instance)||void 0===e?void 0:e.run_context_menu_callback(i)},enabled:n.enabled})})),t.push(null),this.fullscreenEnabled&&(this.isFullscreen?t.push({text:"Exit fullscreen",onClick:()=>{var e;return null===(e=this.instance)||void 0===e?void 0:e.set_fullscreen(!1)}}):t.push({text:"Enter fullscreen",onClick:()=>{var e;return null===(e=this.instance)||void 0===e?void 0:e.set_fullscreen(!0)}})),this.instance&&this.swfUrl&&this.showSwfDownload&&(t.push(null),t.push({text:"Download .swf",onClick:this.downloadSwf.bind(this)})),t.push(null);const n=this.isExtension?"extension":"";return t.push({text:`About Ruffle ${n} (nightly 2022-03-10)`,onClick(){window.open(_,"_blank")}}),this.isTouch&&(t.push(null),t.push({text:"Hide this menu",onClick:()=>this.contextMenuForceDisabled=!0})),t}showContextMenu(e){if(e.preventDefault(),!this.hasContextMenu||this.contextMenuForceDisabled)return;for(;this.contextMenuElement.firstChild;)this.contextMenuElement.removeChild(this.contextMenuElement.firstChild);for(const e of this.contextMenuItems())if(null===e){if(!this.contextMenuElement.lastElementChild)continue;if(this.contextMenuElement.lastElementChild.classList.contains("menu_separator"))continue;const e=document.createElement("li");e.className="menu_separator";const t=document.createElement("hr");e.appendChild(t),this.contextMenuElement.appendChild(e)}else{const{text:t,onClick:n,enabled:i}=e,s=document.createElement("li");s.className="menu_item",s.textContent=t,this.contextMenuElement.appendChild(s),!1!==i?s.addEventListener("click",n):s.classList.add("disabled")}this.contextMenuElement.style.left="0",this.contextMenuElement.style.top="0",this.contextMenuElement.style.display="block";const t=this.getBoundingClientRect(),n=e.clientX-t.x,i=e.clientY-t.y,s=t.width-this.contextMenuElement.clientWidth-1,r=t.height-this.contextMenuElement.clientHeight-1;this.contextMenuElement.style.left=Math.floor(Math.min(n,s))+"px",this.contextMenuElement.style.top=Math.floor(Math.min(i,r))+"px"}hideContextMenu(){var e;null===(e=this.instance)||void 0===e||e.clear_custom_menu_items(),this.contextMenuElement.style.display="none"}pause(){this.instance&&(this.instance.pause(),this.playButton&&(this.playButton.style.display="block"))}audioState(){if(this.instance){const e=this.instance.audio_context();return e&&e.state||"running"}return"suspended"}unmuteOverlayClicked(){if(this.instance){if("running"!==this.audioState()){const e=this.instance.audio_context();e&&e.resume()}this.unmuteOverlay&&(this.unmuteOverlay.style.display="none")}}unmuteAudioContext(){A||(navigator.maxTouchPoints<1?A=!0:this.container.addEventListener("click",(()=>{var e;if(A)return;const t=null===(e=this.instance)||void 0===e?void 0:e.audio_context();if(!t)return;const n=new Audio;n.src=(()=>{const e=new ArrayBuffer(10),n=new DataView(e),i=t.sampleRate;return n.setUint32(0,i,!0),n.setUint32(4,i,!0),n.setUint16(8,1,!0),`data:audio/wav;base64,UklGRisAAABXQVZFZm10IBAAAAABAAEA${window.btoa(String.fromCharCode(...new Uint8Array(e))).slice(0,13)}AgAZGF0YQcAAACAgICAgICAAAA=`})(),n.load(),n.play().then((()=>{A=!0})).catch((e=>{console.warn(`Failed to play dummy sound: ${e}`)}))}),{once:!0}))}copyElement(e){if(e){for(let t=0;tnull==t?void 0:t.call_exposed_callback(e,n)}set traceObserver(e){var t;null===(t=this.instance)||void 0===t||t.set_trace_observer(e)}panic(e){var t;if(this.panicked)return;if(this.panicked=!0,e instanceof Error&&("AbortError"===e.name||e.message.includes("AbortError")))return;const n=null!==(t=null==e?void 0:e.ruffleIndexError)&&void 0!==t?t:0,i=Object.assign([],{stackIndex:-1});if(i.push("# Error Info\n"),e instanceof Error){if(i.push(`Error name: ${e.name}\n`),i.push(`Error message: ${e.message}\n`),e.stack){const t=i.push(`Error stack:\n\`\`\`\n${e.stack}\n\`\`\`\n`)-1;i.stackIndex=t}}else i.push(`Error: ${e}\n`);i.push("\n# Player Info\n"),i.push(this.debugPlayerInfo()),i.push("\n# Page Info\n"),i.push(`Page URL: ${document.location.href}\n`),this.swfUrl&&i.push(`SWF URL: ${this.swfUrl}\n`),i.push("\n# Browser Info\n"),i.push(`Useragent: ${window.navigator.userAgent}\n`),i.push(`OS: ${window.navigator.platform}\n`),i.push("\n# Ruffle Info\n"),i.push("Version: 0.1.0\n"),i.push("Name: nightly 2022-03-10\n"),i.push("Channel: nightly\n"),i.push("Built: 2022-03-10T00:17:15.298Z\n"),i.push("Commit: 5a1e41752672f4d0f81a5790e465c20c798a29c9\n"),i.push(`Is extension: ${this.isExtension}\n`);const s=i.join(""),r=document.location.href.split(/[?#]/)[0];let o,a,l=`https://github.com/ruffle-rs/ruffle/issues/new?title=${encodeURIComponent(`Error on ${r}`)}&template=error_report.md&labels=error-report&body=`,c=encodeURIComponent(s);switch(i.stackIndex>-1&&String(l+c).length>8195&&(i[i.stackIndex]=null,c=encodeURIComponent(i.join(""))),l+=c,n){case 2:o='\n

    It appears you are running Ruffle on the "file:" protocol.

    \n

    This doesn\'t work as browsers block many features from working for security reasons.

    \n

    Instead, we invite you to setup a local server or either use the web demo or the desktop application.

    \n ',a=`\n
  • Web Demo
  • \n
  • Desktop Application
  • \n `;break;case 4:o="\n

    Ruffle has encountered a major issue due to an incorrect JavaScript configuration.

    \n

    If you are the server administrator, we invite you to check the error details to find out which parameter is at fault.

    \n

    You can also consult the Ruffle wiki for help.

    \n ",a='\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n ';break;case 9:o='\n

    Ruffle failed to load the required ".wasm" file component.

    \n

    If you are the server administrator, please ensure the file has correctly been uploaded.

    \n

    If the issue persists, you may need to use the "publicPath" setting: please consult the Ruffle wiki for help.

    \n ',a='\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n ';break;case 8:o='\n

    Ruffle has encountered a major issue whilst trying to initialize.

    \n

    This web server is not serving ".wasm" files with the correct MIME type.

    \n

    If you are the server administrator, please consult the Ruffle wiki for help.

    \n ',a='\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n ';break;case 11:o="\n

    Ruffle failed to load the Flash SWF file.

    \n

    The most likely reason is that the file no longer exists, so there is nothing for Ruffle to load.

    \n

    Try contacting the website administrator for help.

    \n ",a='\n
  • View Error Details
  • \n ';break;case 6:o='\n

    Ruffle failed to load the required ".wasm" file component.

    \n

    Access to fetch has likely been blocked by CORS policy.

    \n

    If you are the server administrator, please consult the Ruffle wiki for help.

    \n ',a='\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n ';break;case 3:o="\n

    Ruffle has encountered a major issue whilst trying to initialize.

    \n

    It seems like this page has missing or invalid files for running Ruffle.

    \n

    If you are the server administrator, please consult the Ruffle wiki for help.

    \n ",a='\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n ';break;case 7:o="\n

    Ruffle has encountered a major issue whilst trying to initialize.

    \n

    This can often resolve itself, so you can try reloading the page.

    \n

    Otherwise, please contact the website administrator.

    \n ",a='\n
  • View Error Details
  • \n ';break;case 10:o='\n

    Ruffle failed to load the required ".wasm" file component.

    \n

    To fix this, try opening your browser\'s settings, clicking "Privacy, search, and services", scrolling down, and turning off "Enhance your security on the web".

    \n

    This will allow your browser to load the required ".wasm" files.

    \n

    If the issue persists, you might have to use a different browser.

    \n ',a='\n
  • More Information
  • \n
  • View Error Details
  • \n ';break;case 5:o="\n

    Ruffle has encountered a major issue whilst trying to initialize.

    \n

    It seems like this page uses JavaScript code that conflicts with Ruffle.

    \n

    If you are the server administrator, we invite you to try loading the file on a blank page.

    \n ",a=`\n
  • Report Bug
  • \n
  • View Error Details
  • \n `;break;case 1:o='\n

    Ruffle has encountered a major issue whilst trying to initialize.

    \n

    This web server\'s Content Security Policy does not allow the required ".wasm" component to run.

    \n

    If you are the server administrator, please consult the Ruffle wiki for help.

    \n ',a='\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n ';break;default:o="\n

    Ruffle has encountered a major issue whilst trying to display this Flash content.

    \n

    This isn't supposed to happen, so we'd really appreciate if you could file a bug!

    \n ",a=`\n
  • Report Bug
  • \n
  • View Error Details
  • \n `}this.container.innerHTML=`\n
    \n
    Something went wrong :(
    \n
    ${o}
    \n \n
    \n `;const u=this.container.querySelector("#panic-view-details");u&&(u.onclick=()=>{const e=this.container.querySelector("#panic-body");return e.classList.add("details"),e.innerHTML=``,!1}),this.destroy()}displayRootMovieDownloadFailedMessage(){if(window.location.origin==this.swfUrl.origin||!this.isExtension||!window.location.protocol.includes("http")){const e=new Error("Failed to fetch: "+this.swfUrl);return e.ruffleIndexError=11,void this.panic(e)}const e=document.createElement("div");e.id="message_overlay",e.innerHTML=`
    \n

    Ruffle wasn't able to run the Flash embedded in this page.

    \n

    You can try to open the file in a separate tab, to sidestep this issue.

    \n \n
    `,this.container.prepend(e)}displayUnsupportedMessage(){const e=document.createElement("div");e.id="message_overlay",e.innerHTML='
    \n

    Flash Player has been removed from browsers in 2021.

    \n

    This content is not yet supported by the Ruffle emulator and will likely not run as intended.

    \n
    \n More info\n \n
    \n
    ',this.container.prepend(e),e.querySelector("#run-anyway-btn").onclick=()=>{e.parentNode.removeChild(e)}}displayMessage(e){const t=document.createElement("div");t.id="message_overlay",t.innerHTML=`
    \n

    ${e}

    \n
    \n \n
    \n
    `,this.container.prepend(t),this.container.querySelector("#continue-btn").onclick=()=>{t.parentNode.removeChild(t)}}debugPlayerInfo(){var e,t;return`Allows script access: ${null!==(t=null===(e=this.options)||void 0===e?void 0:e.allowScriptAccess)&&void 0!==t&&t}\n`}setMetadata(e){this._metadata=e,this._readyState=2,this.dispatchEvent(new Event(R.LOADED_METADATA)),this.dispatchEvent(new Event(R.LOADED_DATA))}setIsExtension(e){this.isExtension=e}}function F(e,t){switch(e||(e="sameDomain"),e.toLowerCase()){case"always":return!0;case"never":return!1;default:try{return new URL(window.location.href).origin===new URL(t,window.location.href).origin}catch(e){return!1}}}function j(e){return null===e||"true"===e.toLowerCase()}function O(e){if(e){let t="";try{t=new URL(e,_).pathname}catch(e){}if(t&&t.length>=4){const e=t.slice(-4).toLowerCase();if(".swf"===e||".spl"===e)return!0}}return!1}function P(e){let t=e.parentElement;for(;null!==t;){switch(t.tagName){case"AUDIO":case"VIDEO":return!0}t=t.parentElement}return!1}R.LOADED_METADATA="loadedmetadata",R.LOADED_DATA="loadeddata";class N extends R{constructor(){super()}connectedCallback(){var e,t,n,i,s,r,o,a,l,c,u,d,h;super.connectedCallback();const f=this.attributes.getNamedItem("src");if(f){const p=null!==(t=null===(e=this.attributes.getNamedItem("allowScriptAccess"))||void 0===e?void 0:e.value)&&void 0!==t?t:null,m=null!==(i=null===(n=this.attributes.getNamedItem("menu"))||void 0===n?void 0:n.value)&&void 0!==i?i:null;this.load({url:f.value,allowScriptAccess:F(p,f.value),parameters:null===(s=this.attributes.getNamedItem("flashvars"))||void 0===s?void 0:s.value,backgroundColor:null===(r=this.attributes.getNamedItem("bgcolor"))||void 0===r?void 0:r.value,base:null===(o=this.attributes.getNamedItem("base"))||void 0===o?void 0:o.value,menu:j(m),salign:null!==(l=null===(a=this.attributes.getNamedItem("salign"))||void 0===a?void 0:a.value)&&void 0!==l?l:"",quality:null!==(u=null===(c=this.attributes.getNamedItem("quality"))||void 0===c?void 0:c.value)&&void 0!==u?u:"high",scale:null!==(h=null===(d=this.attributes.getNamedItem("scale"))||void 0===d?void 0:d.value)&&void 0!==h?h:"showAll"})}}get src(){var e;return null===(e=this.attributes.getNamedItem("src"))||void 0===e?void 0:e.value}set src(e){if(null!=e){const t=document.createAttribute("src");t.value=e,this.attributes.setNamedItem(t)}else this.attributes.removeNamedItem("src")}static get observedAttributes(){return["src","width","height"]}attributeChangedCallback(e,t,n){var i;if(super.attributeChangedCallback(e,t,n),this.isConnected&&"src"===e){let e;const t=this.attributes.getNamedItem("flashvars");t&&(e=t.value);const n=this.attributes.getNamedItem("src");n&&this.load({url:n.value,parameters:e,base:null===(i=this.attributes.getNamedItem("base"))||void 0===i?void 0:i.value})}}static isInterdictable(e){var t;if(P(e))return!1;if(!e.getAttribute("src"))return!1;const n=null===(t=e.getAttribute("type"))||void 0===t?void 0:t.toLowerCase();return n===x.toLowerCase()||n===k.toLowerCase()||n===E.toLowerCase()||n===I.toLowerCase()||(null==n||""===n)&&O(e.getAttribute("src"))}static fromNativeEmbedElement(e){const t=b("ruffle-embed",N),n=document.createElement(t);return n.copyElement(e),n}}function L(e,t,n){t=t.toLowerCase();for(const n in e)if(Object.hasOwnProperty.call(e,n)&&t===n.toLowerCase())return e[n];return n}function T(e){var t,n;const i={};for(const s of e.children)if(s instanceof HTMLParamElement){const e=null===(t=s.attributes.getNamedItem("name"))||void 0===t?void 0:t.value,r=null===(n=s.attributes.getNamedItem("value"))||void 0===n?void 0:n.value;e&&r&&(i[e]=r)}return i}class M extends R{constructor(){super(),this.params={}}connectedCallback(){var e;super.connectedCallback(),this.params=T(this);let t=null;this.attributes.getNamedItem("data")?t=null===(e=this.attributes.getNamedItem("data"))||void 0===e?void 0:e.value:this.params.movie&&(t=this.params.movie);const n=L(this.params,"allowScriptAccess",null),i=L(this.params,"flashvars",this.getAttribute("flashvars")),s=L(this.params,"bgcolor",this.getAttribute("bgcolor")),r=L(this.params,"base",this.getAttribute("base")),o=L(this.params,"menu",null),a=L(this.params,"salign",""),l=L(this.params,"quality","high"),c=L(this.params,"scale","showAll");if(t){const e={url:t};e.allowScriptAccess=F(n,t),i&&(e.parameters=i),s&&(e.backgroundColor=s),r&&(e.base=r),e.menu=j(o),a&&(e.salign=a),l&&(e.quality=l),c&&(e.scale=c),this.load(e)}}debugPlayerInfo(){var e;let t=super.debugPlayerInfo();t+="Player type: Object\n";let n=null;return this.attributes.getNamedItem("data")?n=null===(e=this.attributes.getNamedItem("data"))||void 0===e?void 0:e.value:this.params.movie&&(n=this.params.movie),t+=`SWF URL: ${n}\n`,Object.keys(this.params).forEach((e=>{t+=`Param ${e}: ${this.params[e]}\n`})),Object.keys(this.attributes).forEach((e=>{var n;t+=`Attribute ${e}: ${null===(n=this.attributes.getNamedItem(e))||void 0===n?void 0:n.value}\n`})),t}get data(){return this.getAttribute("data")}set data(e){if(null!=e){const t=document.createAttribute("data");t.value=e,this.attributes.setNamedItem(t)}else this.attributes.removeNamedItem("data")}static isInterdictable(e){var t,n,i;if(P(e))return!1;if(e.getElementsByTagName("ruffle-embed").length>0)return!1;const s=null===(t=e.attributes.getNamedItem("data"))||void 0===t?void 0:t.value.toLowerCase(),r=T(e);let o;if(s)o=O(s);else{if(!r||!r.movie)return!1;o=O(r.movie)}const a=null===(n=e.attributes.getNamedItem("classid"))||void 0===n?void 0:n.value.toLowerCase();if(a==="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000".toLowerCase())return!Array.from(e.getElementsByTagName("embed")).some(N.isInterdictable);if(null!=a&&""!==a)return!1;const l=null===(i=e.attributes.getNamedItem("type"))||void 0===i?void 0:i.value.toLowerCase();return l===x.toLowerCase()||l===k.toLowerCase()||l===E.toLowerCase()||l===I.toLowerCase()||(null==l||""===l)&&o}static fromNativeObjectElement(e){const t=b("ruffle-object",M),n=document.createElement(t);for(const t of Array.from(e.getElementsByTagName("embed")))N.isInterdictable(t)&&t.remove();for(const t of Array.from(e.getElementsByTagName("object")))M.isInterdictable(t)&&t.remove();return n.copyElement(e),n}}var U,D;let $;const B=null!==(D=null===(U=window.RufflePlayer)||void 0===U?void 0:U.config)&&void 0!==D?D:{},q=d(B)+"ruffle.js";let W,V,z,H;function Y(){try{W=null!=W?W:document.getElementsByTagName("object"),V=null!=V?V:document.getElementsByTagName("embed");for(const e of Array.from(W))if(M.isInterdictable(e)){const t=M.fromNativeObjectElement(e);t.setIsExtension($),e.replaceWith(t)}for(const e of Array.from(V))if(N.isInterdictable(e)){const t=N.fromNativeEmbedElement(e);t.setIsExtension($),e.replaceWith(t)}}catch(e){console.error(`Serious error encountered when polyfilling native Flash elements: ${e}`)}}function Q(){z=null!=z?z:document.getElementsByTagName("iframe"),H=null!=H?H:document.getElementsByTagName("frame"),[z,H].forEach((e=>{for(let t=0;t{G(i,s)}),!1)}}))}async function G(e,t){var n;let i;await new Promise((e=>{window.setTimeout((()=>{e()}),100)}));try{if(i=e.document,!i)return}catch(e){return void($||console.warn(t+e))}if($||void 0===i.documentElement.dataset.ruffleOptout)if($)e.RufflePlayer||(e.RufflePlayer={}),e.RufflePlayer.config=Object.assign(Object.assign({},B),null!==(n=e.RufflePlayer.config)&&void 0!==n?n:{});else if(!e.RufflePlayer){const t=i.createElement("script");t.setAttribute("src",q),t.onload=()=>{e.RufflePlayer={},e.RufflePlayer.config=B},i.head.appendChild(t)}}class Z{constructor(e,t,n,i,s){this.major=e,this.minor=t,this.patch=n,this.prIdent=i,this.buildIdent=s}static fromSemver(e){const t=e.split("+"),n=t[0].split("-"),i=n[0].split("."),s=parseInt(i[0],10);let r=0,o=0,a=null,l=null;return null!=i[1]&&(r=parseInt(i[1],10)),null!=i[2]&&(o=parseInt(i[2],10)),null!=n[1]&&(a=n[1].split(".")),null!=t[1]&&(l=t[1].split(".")),new Z(s,r,o,a,l)}isCompatibleWith(e){return 0!==this.major&&this.major===e.major||0===this.major&&0===e.major&&0!==this.minor&&this.minor===e.minor||0===this.major&&0===e.major&&0===this.minor&&0===e.minor&&0!==this.patch&&this.patch===e.patch}hasPrecedenceOver(e){if(this.major>e.major)return!0;if(this.majore.minor)return!0;if(this.minore.patch)return!0;if(this.patchparseInt(e.prIdent[n],10))return!0;if(parseInt(this.prIdent[n],10)e.prIdent[n])return!0;if(this.prIdent[n]e.prIdent.length}return!1}isEqual(e){return this.major===e.major&&this.minor===e.minor&&this.patch===e.patch}isStableOrCompatiblePrerelease(e){return null==e.prIdent||this.major===e.major&&this.minor===e.minor&&this.patch===e.patch}}class J{constructor(e){this.requirements=e}satisfiedBy(e){for(let t=0;t"===s?n=n&&e.hasPrecedenceOver(r):">="===s?n=n&&(e.hasPrecedenceOver(r)||r.isEqual(e)):"<"===s?n=n&&r.hasPrecedenceOver(e):"<="===s?n=n&&(r.hasPrecedenceOver(e)||r.isEqual(e)):"^"===s&&(n=n&&r.isCompatibleWith(e))}if(n)return!0}return!1}static fromRequirementString(e){const t=e.split(" ");let n=[];const i=[];for(let e=0;e0&&(i.push(n),n=[]);else if(t[e].length>0){const i=/[0-9]/.exec(t[e]);if(i){const s=t[e].slice(0,i.index).trim(),r=Z.fromSemver(t[e].slice(i.index).trim());n.push({comparator:s,version:r})}}return n.length>0&&i.push(n),new J(i)}}class X{constructor(e){this.sources={},this.config={},this.invoked=!1,this.newestName=null,this.conflict=null,null!=e&&(e instanceof X?(this.sources=e.sources,this.config=e.config,this.invoked=e.invoked,this.conflict=e.conflict,this.newestName=e.newestName,e.superseded()):e.constructor===Object&&e.config instanceof Object?this.config=e.config:this.conflict=e),"loading"===document.readyState?window.addEventListener("DOMContentLoaded",this.init.bind(this)):window.setTimeout(this.init.bind(this),0)}get version(){return"0.1.0"}registerSource(e,t){this.sources[e]=t}newestSourceName(){let e=null,t=Z.fromSemver("0.0.0");for(const n in this.sources)if(Object.prototype.hasOwnProperty.call(this.sources,n)){const i=Z.fromSemver(this.sources[n].version);i.hasPrecedenceOver(t)&&(e=n,t=i)}return e}init(){if(!this.invoked){if(this.invoked=!0,this.newestName=this.newestSourceName(),null===this.newestName)throw new Error("No registered Ruffle source!");!1!==this.config.polyfills&&this.sources[this.newestName].polyfill("extension"===this.newestName)}}newest(){const e=this.newestSourceName();return null!=e?this.sources[e]:null}satisfying(e){const t=J.fromRequirementString(e);let n=null;for(const e in this.sources)if(Object.prototype.hasOwnProperty.call(this.sources,e)){const i=Z.fromSemver(this.sources[e].version);t.satisfiedBy(i)&&(n=this.sources[e])}return n}localCompatible(){return void 0!==this.sources.local?this.satisfying("^"+this.sources.local.version):this.newest()}local(){return void 0!==this.sources.local?this.satisfying("="+this.sources.local.version):this.newest()}superseded(){this.invoked=!0}static negotiate(e,t,n){let i;return i=e instanceof X?e:new X(e),void 0!==t&&void 0!==n&&(i.registerSource(t,n),!1!==i.config.polyfills&&n.pluginPolyfill()),i}}window.RufflePlayer=X.negotiate(window.RufflePlayer,"local",new class{constructor(e){this.name=e}get version(){return"0.1.0"}polyfill(e){!function(e){$=e,Y(),Q(),new MutationObserver((function(e){e.some((e=>e.addedNodes.length>0))&&(Y(),Q())})).observe(document,{childList:!0,subtree:!0})}(e)}pluginPolyfill(){!function(e){"install"in navigator.plugins&&navigator.plugins.install||Object.defineProperty(navigator,"plugins",{value:new g(navigator.plugins),writable:!1}),navigator.plugins.install(e),!(e.length>0)||"install"in navigator.mimeTypes&&navigator.mimeTypes.install||Object.defineProperty(navigator,"mimeTypes",{value:new p(navigator.mimeTypes),writable:!1});const t=navigator.mimeTypes;for(let n=0;n {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"core.ruffle.\" + {\"662\":\"c03ed0fdc692d589502d\",\"966\":\"ece9e8fa5a7d72d73689\"}[chunkId] + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkruffle_selfhosted\"] = self[\"webpackChunkruffle_selfhosted\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","export const bigInt=()=>(async e=>{try{return(await WebAssembly.instantiate(e)).instance.exports.b(BigInt(0))===BigInt(0)}catch(e){return!1}})(new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,126,1,126,3,2,1,0,7,5,1,1,98,0,0,10,6,1,4,0,32,0,11])),bulkMemory=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,3,1,0,1,10,14,1,12,0,65,0,65,0,65,0,252,10,0,0,11])),exceptions=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,6,64,25,11,11])),multiValue=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,0,2,127,127,3,2,1,0,10,8,1,6,0,65,0,65,0,11])),mutableGlobals=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,2,8,1,1,97,1,98,3,127,1,6,6,1,127,1,65,0,11,7,5,1,1,97,3,1])),referenceTypes=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,7,1,5,0,208,112,26,11])),saturatedFloatToInt=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,12,1,10,0,67,0,0,0,0,252,0,26,11])),signExtensions=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,65,0,192,26,11])),simd=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])),tailCall=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,6,1,4,0,18,0,11])),threads=()=>(async e=>{try{return\"undefined\"!=typeof MessageChannel&&(new MessageChannel).port1.postMessage(new SharedArrayBuffer(1)),WebAssembly.validate(e)}catch(e){return!1}})(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,4,1,3,1,1,10,11,1,9,0,65,0,254,16,2,0,26,11]));\n","/**\n * Polyfills the `Array.prototype.reduce` method.\n *\n * Production steps of ECMA-262, Edition 5, 15.4.4.21\n * Reference: https://es5.github.io/#x15.4.4.21\n * https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n *\n */\nfunction polyfillArrayPrototypeReduce() {\n Object.defineProperty(Array.prototype, \"reduce\", {\n value(...args) {\n if (args.length === 0 &&\n window.Prototype &&\n window.Prototype.Version &&\n window.Prototype.Version < \"1.6.1\") {\n // Off-spec: compatibility with prototype.js\n return this.length > 1 ? this : this[0];\n }\n const callback = args[0];\n if (this === null) {\n throw new TypeError(\"Array.prototype.reduce called on null or undefined\");\n }\n if (typeof callback !== \"function\") {\n throw new TypeError(`${callback} is not a function`);\n }\n const o = Object(this);\n const len = o.length >>> 0;\n let k = 0;\n let value;\n if (args.length >= 2) {\n value = args[1];\n }\n else {\n while (k < len && !(k in o)) {\n k++;\n }\n if (k >= len) {\n throw new TypeError(\"Reduce of empty array with no initial value\");\n }\n value = o[k++];\n }\n while (k < len) {\n if (k in o) {\n value = callback(value, o[k], k, o);\n }\n k++;\n }\n return value;\n },\n });\n}\n/**\n * Polyfills the `Window` function.\n *\n */\nfunction polyfillWindow() {\n if (typeof window.constructor !== \"function\" ||\n !isNativeFunction(window.constructor)) {\n // Don't polyfill `Window` if `window.constructor` has been overridden.\n return;\n }\n // @ts-expect-error: `Function not assignable to { new (): Window; prototype: Window; }`\n window.Window = window.constructor;\n}\n/**\n * Polyfills the `Reflect` object and members.\n *\n * Currently it's a minimal implementation with only `get` and `set`\n * just enough for wasm-bindgen's stdlib to not crash on pages I've found.\n *\n */\nfunction tryPolyfillReflect() {\n if (window.Reflect == undefined) {\n // @ts-expect-error: {} indeed doesn't implement Reflect's interface.\n window.Reflect = {};\n }\n if (typeof Reflect.get !== \"function\") {\n Object.defineProperty(Reflect, \"get\", {\n value(target, key) {\n return target[key];\n },\n });\n }\n if (typeof Reflect.set !== \"function\") {\n Object.defineProperty(Reflect, \"set\", {\n value(target, key, value) {\n target[key] = value;\n },\n });\n }\n}\n/**\n * Determines whether a function is native or not.\n *\n * @param func The function to test.\n * @returns True if the function hasn't been overridden.\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction isNativeFunction(func) {\n const val = typeof Function.prototype.toString === \"function\"\n ? Function.prototype.toString()\n : null;\n if (typeof val === \"string\" && val.indexOf(\"[native code]\") >= 0) {\n return (Function.prototype.toString.call(func).indexOf(\"[native code]\") >= 0);\n }\n return false;\n}\n/**\n * Checks and applies the polyfills to the current window, if needed.\n *\n */\nexport function setPolyfillsOnLoad() {\n if (typeof Array.prototype.reduce !== \"function\" ||\n !isNativeFunction(Array.prototype.reduce)) {\n // Some external libraries override the `Array.prototype.reduce` method in a way\n // that causes Webpack to crash (#1507, #1865), so we need to override it again.\n polyfillArrayPrototypeReduce();\n }\n if (typeof Window !== \"function\" || !isNativeFunction(Window)) {\n // Overriding the native `Window` function causes issues in wasm-bindgen, as a\n // code like `window instanceof Window` will no longer work.\n polyfillWindow();\n }\n // Some pages override native `Reflect` with a new object without some properties,\n // which causes issues for wasm-bindgen's stdlib implementation.\n tryPolyfillReflect();\n}\n","// This must be in global scope because `document.currentScript`\n// works only while the script is initially being processed.\nlet currentScriptURL = \"\";\ntry {\n if (document.currentScript !== undefined &&\n document.currentScript !== null &&\n \"src\" in document.currentScript &&\n document.currentScript.src !== \"\") {\n let src = document.currentScript.src;\n // CDNs allow omitting the filename. If it's omitted, append a slash to\n // prevent the last component from being dropped.\n if (!src.endsWith(\".js\") && !src.endsWith(\"/\")) {\n src += \"/\";\n }\n currentScriptURL = new URL(\".\", src).href;\n }\n}\ncatch (e) {\n console.warn(\"Unable to get currentScript URL\");\n}\n/**\n * Attempt to discover the public path of the current Ruffle source. This can\n * be used to configure Webpack.\n *\n * A global public path can be specified for all sources using the RufflePlayer\n * config:\n *\n * ```js\n * window.RufflePlayer.config.publicPath = \"/dist/\";\n * ```\n *\n * If no such config is specified, then the parent path of where this script is\n * hosted is assumed, which should be the correct default in most cases.\n *\n * @param config The `window.RufflePlayer.config` object.\n * @returns The public path for the given source.\n */\nexport function publicPath(config) {\n // Default to the directory where this script resides.\n let path = currentScriptURL;\n if (config !== undefined && config.publicPath !== undefined) {\n path = config.publicPath;\n }\n // Webpack expects the paths to end with a slash.\n if (path !== \"\" && !path.endsWith(\"/\")) {\n path += \"/\";\n }\n return path;\n}\n","/**\n * Conditional ruffle loader\n */\nimport { bulkMemory, simd, saturatedFloatToInt, signExtensions, } from \"wasm-feature-detect\";\nimport { setPolyfillsOnLoad } from \"./js-polyfills\";\nimport { publicPath } from \"./public-path\";\n/**\n * Load ruffle from an automatically-detected location.\n *\n * This function returns a new instance of Ruffle and downloads it every time.\n * You should not use it directly; this module will memoize the resource\n * download.\n *\n * @param config The `window.RufflePlayer.config` object.\n * @returns A ruffle constructor that may be used to create new Ruffle\n * instances.\n */\nasync function fetchRuffle(config) {\n // Apply some pure JavaScript polyfills to prevent conflicts with external\n // libraries, if needed.\n setPolyfillsOnLoad();\n // NOTE: Keep this list in sync with $RUSTFLAGS in the CI build config!\n const extensionsSupported = (await Promise.all([\n bulkMemory(),\n simd(),\n saturatedFloatToInt(),\n signExtensions(),\n ])).every(Boolean);\n if (!extensionsSupported) {\n console.log(\"Some WebAssembly extensions are NOT available, falling back to the vanilla WebAssembly module\");\n }\n __webpack_public_path__ = publicPath(config);\n // Note: The argument passed to import() has to be a simple string literal,\n // otherwise some bundler will get confused and won't include the module?\n const { default: init, Ruffle } = await (extensionsSupported\n ? import(\"../pkg/ruffle_web-wasm_extensions\")\n : import(\"../pkg/ruffle_web\"));\n await init();\n return Ruffle;\n}\nlet lastLoaded = null;\n/**\n * Obtain an instance of `Ruffle`.\n *\n * This function returns a promise which yields `Ruffle` asynchronously.\n *\n * @param config The `window.RufflePlayer.config` object.\n * @returns A ruffle constructor that may be used to create new Ruffle\n * instances.\n */\nexport function loadRuffle(config) {\n if (lastLoaded == null) {\n lastLoaded = fetchRuffle(config);\n }\n return lastLoaded;\n}\n","/**\n * Replacement object for `MimeTypeArray` that lets us install new fake mime\n * types.\n *\n * Unlike plugins we can at least enumerate mime types in Firefox, so we don't\n * lose data.\n *\n * We also expose a method called `install` which adds a new plugin. This is\n * used to falsify Flash detection. If the existing `navigator.mimeTypes` has an\n * `install` method, you should not use `RuffleMimeTypeArray` as some other\n * plugin emulator is already present.\n */\nclass RuffleMimeTypeArray {\n constructor(native_mimetype_array) {\n this.__mimetypes = [];\n this.__named_mimetypes = {};\n if (native_mimetype_array) {\n for (let i = 0; i < native_mimetype_array.length; i++) {\n this.install(native_mimetype_array[i]);\n }\n }\n }\n /**\n * Install a MIME Type into the array.\n *\n * @param mimetype The mimetype to install\n */\n install(mimetype) {\n const id = this.__mimetypes.length;\n this.__mimetypes.push(mimetype);\n this.__named_mimetypes[mimetype.type] = mimetype;\n this[mimetype.type] = mimetype;\n this[id] = mimetype;\n }\n item(index) {\n return this.__mimetypes[index];\n }\n namedItem(name) {\n return this.__named_mimetypes[name];\n }\n get length() {\n return this.__mimetypes.length;\n }\n [Symbol.iterator]() {\n return this.__mimetypes[Symbol.iterator]();\n }\n}\n/**\n * Equivalent object to `Plugin` that allows us to falsify plugins.\n */\nclass RufflePlugin extends RuffleMimeTypeArray {\n constructor(name, description, filename, mimetypes) {\n super(mimetypes);\n this.name = name;\n this.description = description;\n this.filename = filename;\n }\n install(mimetype) {\n super.install(mimetype);\n }\n [Symbol.iterator]() {\n return super[Symbol.iterator]();\n }\n}\n/**\n * Replacement object for `PluginArray` that lets us install new fake plugins.\n *\n * This object needs to wrap the native plugin array, since the user might have\n * actual plugins installed. Firefox doesn't let us enumerate the array, though,\n * which has some consequences. Namely, we can't actually perfectly wrap the\n * native plugin array, at least unless there's some secret \"unresolved object\n * property name handler\" that I've never known before in JS...\n *\n * We can still wrap `namedItem` perfectly at least.\n *\n * We also expose a method called `install` which adds a new plugin. This is\n * used to falsify Flash detection. If the existing `navigator.plugins` has an\n * `install` method, you should not use `RufflePluginArray` as some other plugin\n * emulator is already present.\n */\nclass RufflePluginArray {\n constructor(native_plugin_array) {\n this.__plugins = [];\n this.__named_plugins = {};\n for (let i = 0; i < native_plugin_array.length; i++) {\n this.install(native_plugin_array[i]);\n }\n }\n install(plugin) {\n const id = this.__plugins.length;\n this.__plugins.push(plugin);\n this.__named_plugins[plugin.name] = plugin;\n this[plugin.name] = plugin;\n this[id] = plugin;\n }\n item(index) {\n return this.__plugins[index];\n }\n namedItem(name) {\n return this.__named_plugins[name];\n }\n refresh() {\n // Nothing to do, we just need to define the method.\n }\n get length() {\n return this.__plugins.length;\n }\n}\n/**\n * A fake plugin designed to trigger Flash detection scripts.\n */\nexport const FLASH_PLUGIN = new RufflePlugin(\"Shockwave Flash\", \"Shockwave Flash 32.0 r0\", \"ruffle.js\", null);\nFLASH_PLUGIN.install({\n type: \"application/futuresplash\",\n description: \"Shockwave Flash\",\n suffixes: \"spl\",\n enabledPlugin: FLASH_PLUGIN,\n});\nFLASH_PLUGIN.install({\n type: \"application/x-shockwave-flash\",\n description: \"Shockwave Flash\",\n suffixes: \"swf\",\n enabledPlugin: FLASH_PLUGIN,\n});\nFLASH_PLUGIN.install({\n type: \"application/x-shockwave-flash2-preview\",\n description: \"Shockwave Flash\",\n suffixes: \"swf\",\n enabledPlugin: FLASH_PLUGIN,\n});\nFLASH_PLUGIN.install({\n type: \"application/vnd.adobe.flash-movie\",\n description: \"Shockwave Flash\",\n suffixes: \"swf\",\n enabledPlugin: FLASH_PLUGIN,\n});\n/**\n * Install a fake plugin such that detectors will see it in `navigator.plugins`.\n *\n * This function takes care to check if the existing implementation of\n * `navigator.plugins` already accepts fake plugin entries. If so, it will use\n * that version of the plugin array. This allows the plugin polyfill to compose\n * across multiple plugin emulators with the first emulator's polyfill winning.\n *\n * @param plugin The plugin to install\n */\nexport function installPlugin(plugin) {\n if (!(\"install\" in navigator.plugins) || !navigator.plugins[\"install\"]) {\n Object.defineProperty(navigator, \"plugins\", {\n value: new RufflePluginArray(navigator.plugins),\n writable: false,\n });\n }\n const plugins = navigator.plugins;\n plugins.install(plugin);\n if (plugin.length > 0 &&\n (!(\"install\" in navigator.mimeTypes) || !navigator.mimeTypes[\"install\"])) {\n Object.defineProperty(navigator, \"mimeTypes\", {\n value: new RuffleMimeTypeArray(navigator.mimeTypes),\n writable: false,\n });\n }\n const mimeTypes = navigator.mimeTypes;\n for (let i = 0; i < plugin.length; i += 1) {\n mimeTypes.install(plugin[i]);\n }\n}\n","/**\n * The shadow template which is used to fill the actual Ruffle player element\n * on the page.\n */\nexport const ruffleShadowTemplate = document.createElement(\"template\");\nruffleShadowTemplate.innerHTML = `\n \n \n\n
    \n
    \n
    Click to unmute
    \n
    \n\n
      \n`;\n","/**\n * Number of times to try defining a custom element.\n */\nconst MAX_TRIES = 999;\n/**\n * A mapping between internal element IDs and DOM element IDs.\n */\nconst privateRegistry = {};\n/**\n * Lookup a previously registered custom element.\n *\n * The returned object will have `name`, `class`, and `internal_name`\n * properties listing the external name, implementing class, and internal name\n * respectively.\n *\n * @param elementName The internal element name, previously used to\n * register the element with the private registry.\n * @returns The element data in the registry, or null if there is\n * no such element name registered.\n */\nexport function lookupElement(elementName) {\n const data = privateRegistry[elementName];\n if (data !== undefined) {\n return {\n internalName: elementName,\n name: data.name,\n class: data.class,\n };\n }\n else {\n return null;\n }\n}\n/**\n * Register a custom element.\n *\n * This function is designed to be tolerant of naming conflicts. If\n * registration fails, we modify the name, and try again. As a result, this\n * function returns the real element name to use.\n *\n * Calling this function multiple times will *not* register multiple elements.\n * We store a private registry mapping internal element names to DOM names.\n * Thus, the proper way to use this function is to call it every time you are\n * about to work with custom element names.\n *\n * @param elementName The internal name of the element.\n * @param elementClass The class of the element.\n *\n * You must call this function with the same class every time.\n * @returns The actual element name.\n * @throws Throws an error if two different elements were registered with the\n * same internal name.\n */\nexport function registerElement(elementName, elementClass) {\n if (privateRegistry[elementName] !== undefined) {\n if (privateRegistry[elementName].class !== elementClass) {\n throw new Error(\"Internal naming conflict on \" + elementName);\n }\n else {\n return privateRegistry[elementName].name;\n }\n }\n let tries = 0;\n if (window.customElements !== undefined) {\n while (tries < MAX_TRIES) {\n let externalName = elementName;\n if (tries > 0) {\n externalName = externalName + \"-\" + tries;\n }\n if (window.customElements.get(externalName) !== undefined) {\n tries += 1;\n continue;\n }\n else {\n window.customElements.define(externalName, elementClass);\n }\n privateRegistry[elementName] = {\n class: elementClass,\n name: externalName,\n internalName: elementName,\n };\n return externalName;\n }\n }\n throw new Error(\"Failed to assign custom element \" + elementName);\n}\n","import { loadRuffle } from \"./load-ruffle\";\nimport { ruffleShadowTemplate } from \"./shadow-template\";\nimport { lookupElement } from \"./register-element\";\nimport { swfFileName } from \"./swf-file-name\";\nexport const FLASH_MIMETYPE = \"application/x-shockwave-flash\";\nexport const FUTURESPLASH_MIMETYPE = \"application/futuresplash\";\nexport const FLASH7_AND_8_MIMETYPE = \"application/x-shockwave-flash2-preview\";\nexport const FLASH_MOVIE_MIMETYPE = \"application/vnd.adobe.flash-movie\";\nexport const FLASH_ACTIVEX_CLASSID = \"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\";\nconst RUFFLE_ORIGIN = \"https://ruffle.rs\";\nconst DIMENSION_REGEX = /^\\s*(\\d+(\\.\\d+)?(%)?)/;\nlet isAudioContextUnmuted = false;\n/**\n * Converts arbitrary input to an easy to use record object.\n *\n * @param parameters Parameters to sanitize\n * @returns A sanitized map of param name to param value\n */\nfunction sanitizeParameters(parameters) {\n if (parameters === null || parameters === undefined) {\n return {};\n }\n if (!(parameters instanceof URLSearchParams)) {\n parameters = new URLSearchParams(parameters);\n }\n const output = {};\n for (const [key, value] of parameters) {\n // Every value must be type of string\n output[key] = value.toString();\n }\n return output;\n}\n/**\n * The ruffle player element that should be inserted onto the page.\n *\n * This element will represent the rendered and intractable flash movie.\n */\nexport class RufflePlayer extends HTMLElement {\n /**\n * Constructs a new Ruffle flash player for insertion onto the page.\n */\n constructor() {\n super();\n this.hasContextMenu = false;\n // Allows the user to permanently disable the context menu.\n this.contextMenuForceDisabled = false;\n // Whether this device is a touch device.\n // Set to true when a touch event is encountered.\n this.isTouch = false;\n this.showSwfDownload = false;\n this.panicked = false;\n this.isExtension = false;\n /**\n * Any configuration that should apply to this specific player.\n * This will be defaulted with any global configuration.\n */\n this.config = {};\n this.shadow = this.attachShadow({ mode: \"open\" });\n this.shadow.appendChild(ruffleShadowTemplate.content.cloneNode(true));\n this.dynamicStyles = (this.shadow.getElementById(\"dynamic_styles\"));\n this.container = this.shadow.getElementById(\"container\");\n this.playButton = this.shadow.getElementById(\"play_button\");\n if (this.playButton) {\n this.playButton.addEventListener(\"click\", () => this.play());\n }\n this.unmuteOverlay = this.shadow.getElementById(\"unmute_overlay\");\n this.contextMenuElement = this.shadow.getElementById(\"context-menu\");\n this.addEventListener(\"contextmenu\", this.showContextMenu.bind(this));\n this.addEventListener(\"pointerdown\", this.pointerDown.bind(this));\n this.addEventListener(\"fullscreenchange\", this.fullScreenChange.bind(this));\n this.addEventListener(\"webkitfullscreenchange\", this.fullScreenChange.bind(this));\n window.addEventListener(\"click\", this.hideContextMenu.bind(this));\n this.instance = null;\n this.options = null;\n this.onFSCommand = null;\n this._readyState = 0 /* HaveNothing */;\n this._metadata = null;\n this.lastActivePlayingState = false;\n this.setupPauseOnTabHidden();\n return this;\n }\n /**\n * Indicates the readiness of the playing movie.\n *\n * @returns The `ReadyState` of the player.\n */\n get readyState() {\n return this._readyState;\n }\n /**\n * The metadata of the playing movie (such as movie width and height).\n * These are inherent properties stored in the SWF file and are not affected by runtime changes.\n * For example, `metadata.width` is the width of the SWF file, and not the width of the Ruffle player.\n *\n * @returns The metadata of the movie, or `null` if the movie metadata has not yet loaded.\n */\n get metadata() {\n return this._metadata;\n }\n /**\n * Setup event listener to detect when tab is not active to pause instance playback.\n * this.instance.play() is called when the tab becomes visible only if the\n * the instance was not paused before tab became hidden.\n *\n * See:\n * https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API\n * @ignore\n * @internal\n */\n setupPauseOnTabHidden() {\n document.addEventListener(\"visibilitychange\", () => {\n if (!this.instance)\n return;\n // Tab just changed to be inactive. Record whether instance was playing.\n if (document.hidden) {\n this.lastActivePlayingState = this.instance.is_playing();\n this.instance.pause();\n }\n // Play only if instance was playing originally.\n if (!document.hidden && this.lastActivePlayingState === true) {\n this.instance.play();\n }\n }, false);\n }\n /**\n * @ignore\n * @internal\n */\n connectedCallback() {\n this.updateStyles();\n }\n /**\n * @ignore\n * @internal\n */\n static get observedAttributes() {\n return [\"width\", \"height\"];\n }\n /**\n * @ignore\n * @internal\n */\n attributeChangedCallback(name, _oldValue, _newValue) {\n if (name === \"width\" || name === \"height\") {\n this.updateStyles();\n }\n }\n /**\n * @ignore\n * @internal\n */\n disconnectedCallback() {\n this.destroy();\n }\n /**\n * Updates the internal shadow DOM to reflect any set attributes from\n * this element.\n *\n * @protected\n */\n updateStyles() {\n if (this.dynamicStyles.sheet) {\n if (this.dynamicStyles.sheet.rules) {\n for (let i = 0; i < this.dynamicStyles.sheet.rules.length; i++) {\n this.dynamicStyles.sheet.deleteRule(i);\n }\n }\n const widthAttr = this.attributes.getNamedItem(\"width\");\n if (widthAttr !== undefined && widthAttr !== null) {\n const width = RufflePlayer.htmlDimensionToCssDimension(widthAttr.value);\n if (width !== null) {\n this.dynamicStyles.sheet.insertRule(`:host { width: ${width}; }`);\n }\n }\n const heightAttr = this.attributes.getNamedItem(\"height\");\n if (heightAttr !== undefined && heightAttr !== null) {\n const height = RufflePlayer.htmlDimensionToCssDimension(heightAttr.value);\n if (height !== null) {\n this.dynamicStyles.sheet.insertRule(`:host { height: ${height}; }`);\n }\n }\n }\n }\n /**\n * Determine if this element is the fallback content of another Ruffle\n * player.\n *\n * This heuristic assumes Ruffle objects will never use their fallback\n * content. If this changes, then this code also needs to change.\n *\n * @private\n */\n isUnusedFallbackObject() {\n let parent = this.parentNode;\n const element = lookupElement(\"ruffle-object\");\n if (element !== null) {\n while (parent != document && parent != null) {\n if (parent.nodeName === element.name) {\n return true;\n }\n parent = parent.parentNode;\n }\n }\n return false;\n }\n /**\n * Ensure a fresh Ruffle instance is ready on this player before continuing.\n *\n * @throws Any exceptions generated by loading Ruffle Core will be logged\n * and passed on.\n *\n * @private\n */\n async ensureFreshInstance(config) {\n var _a;\n this.destroy();\n const ruffleConstructor = await loadRuffle(config).catch((e) => {\n console.error(`Serious error loading Ruffle: ${e}`);\n // Serious duck typing. In error conditions, let's not make assumptions.\n if (window.location.protocol === \"file:\") {\n e.ruffleIndexError = 2 /* FileProtocol */;\n }\n else {\n e.ruffleIndexError = 9 /* WasmNotFound */;\n const message = String(e.message).toLowerCase();\n if (message.includes(\"mime\")) {\n e.ruffleIndexError = 8 /* WasmMimeType */;\n }\n else if (message.includes(\"networkerror\") ||\n message.includes(\"failed to fetch\")) {\n e.ruffleIndexError = 6 /* WasmCors */;\n }\n else if (message.includes(\"disallowed by embedder\")) {\n e.ruffleIndexError = 1 /* CSPConflict */;\n }\n else if (e.name === \"CompileError\") {\n e.ruffleIndexError = 3 /* InvalidWasm */;\n }\n else if (message.includes(\"could not download wasm module\") &&\n e.name === \"TypeError\") {\n e.ruffleIndexError = 7 /* WasmDownload */;\n }\n else if (e.name === \"TypeError\") {\n e.ruffleIndexError = 5 /* JavascriptConflict */;\n }\n else if (navigator.userAgent.includes(\"Edg\") &&\n message.includes(\"webassembly is not defined\")) {\n // Microsoft Edge detection.\n e.ruffleIndexError = 10 /* WasmDisabledMicrosoftEdge */;\n }\n }\n this.panic(e);\n throw e;\n });\n this.instance = await new ruffleConstructor(this.container, this, config);\n console.log(\"New Ruffle instance created (WebAssembly extensions: \" +\n (ruffleConstructor.is_wasm_simd_used() ? \"ON\" : \"OFF\") +\n \")\");\n // In Firefox, AudioContext.state is always \"suspended\" when the object has just been created.\n // It may change by itself to \"running\" some milliseconds later. So we need to wait a little\n // bit before checking if autoplay is supported and applying the instance config.\n if (this.audioState() !== \"running\") {\n this.container.style.visibility = \"hidden\";\n await new Promise((resolve) => {\n window.setTimeout(() => {\n resolve();\n }, 200);\n });\n this.container.style.visibility = \"\";\n }\n this.unmuteAudioContext();\n // Treat unspecified and invalid values as `AutoPlay.Auto`.\n if (config.autoplay === \"on\" /* On */ ||\n (config.autoplay !== \"off\" /* Off */ &&\n this.audioState() === \"running\")) {\n this.play();\n if (this.audioState() !== \"running\") {\n // Treat unspecified and invalid values as `UnmuteOverlay.Visible`.\n if (config.unmuteOverlay !== \"hidden\" /* Hidden */) {\n this.unmuteOverlay.style.display = \"block\";\n }\n this.container.addEventListener(\"click\", this.unmuteOverlayClicked.bind(this), {\n once: true,\n });\n const audioContext = (_a = this.instance) === null || _a === void 0 ? void 0 : _a.audio_context();\n if (audioContext) {\n audioContext.onstatechange = () => {\n if (audioContext.state === \"running\") {\n this.unmuteOverlayClicked();\n }\n audioContext.onstatechange = null;\n };\n }\n }\n }\n else {\n this.playButton.style.display = \"block\";\n }\n }\n /**\n * Destroys the currently running instance of Ruffle.\n */\n destroy() {\n if (this.instance) {\n this.instance.destroy();\n this.instance = null;\n this._metadata = null;\n this._readyState = 0 /* HaveNothing */;\n console.log(\"Ruffle instance destroyed.\");\n }\n }\n /**\n * Loads a specified movie into this player.\n *\n * This will replace any existing movie that may be playing.\n *\n * @param options One of the following:\n * - A URL, passed as a string, which will load a URL with default options.\n * - A [[URLLoadOptions]] object, to load a URL with options.\n * - A [[DataLoadOptions]] object, to load data with options.\n *\n * The options will be defaulted by the [[config]] field, which itself\n * is defaulted by a global `window.RufflePlayer.config`.\n */\n async load(options) {\n var _a, _b;\n let optionsError = \"\";\n switch (typeof options) {\n case \"string\":\n options = { url: options };\n break;\n case \"object\":\n if (options === null) {\n optionsError = \"Argument 0 must be a string or object\";\n }\n else if (!(\"url\" in options) && !(\"data\" in options)) {\n optionsError =\n \"Argument 0 must contain a `url` or `data` key\";\n }\n else if (\"url\" in options &&\n typeof options.url !== \"string\") {\n optionsError = \"`url` must be a string\";\n }\n break;\n default:\n optionsError = \"Argument 0 must be a string or object\";\n break;\n }\n if (optionsError.length > 0) {\n const error = new TypeError(optionsError);\n error.ruffleIndexError = 4 /* JavascriptConfiguration */;\n this.panic(error);\n throw error;\n }\n if (!this.isConnected || this.isUnusedFallbackObject()) {\n console.warn(\"Ignoring attempt to play a disconnected or suspended Ruffle element\");\n return;\n }\n if (isFallbackElement(this)) {\n // Silently fail on attempt to play a Ruffle element inside a specific node.\n return;\n }\n try {\n const config = Object.assign(Object.assign(Object.assign({}, ((_b = (_a = window.RufflePlayer) === null || _a === void 0 ? void 0 : _a.config) !== null && _b !== void 0 ? _b : {})), this.config), options);\n // `allowScriptAccess` can only be set in `options`.\n config.allowScriptAccess = options.allowScriptAccess;\n this.showSwfDownload = config.showSwfDownload === true;\n this.options = options;\n this.hasContextMenu = config.contextMenu !== false;\n // Pre-emptively set background color of container while Ruffle/SWF loads.\n if (config.backgroundColor) {\n this.container.style.backgroundColor = config.backgroundColor;\n }\n await this.ensureFreshInstance(config);\n if (\"url\" in options) {\n console.log(`Loading SWF file ${options.url}`);\n this.swfUrl = new URL(options.url, document.location.href);\n const parameters = Object.assign(Object.assign({}, sanitizeParameters(options.url.substring(options.url.indexOf(\"?\")))), sanitizeParameters(options.parameters));\n this.instance.stream_from(this.swfUrl.href, parameters);\n }\n else if (\"data\" in options) {\n console.log(\"Loading SWF data\");\n this.instance.load_data(new Uint8Array(options.data), sanitizeParameters(options.parameters));\n }\n }\n catch (err) {\n console.error(`Serious error occurred loading SWF file: ${err}`);\n throw err;\n }\n }\n /**\n * Plays or resumes the movie.\n */\n play() {\n if (this.instance) {\n this.instance.play();\n if (this.playButton) {\n this.playButton.style.display = \"none\";\n }\n }\n }\n /**\n * Whether this player is currently playing.\n *\n * @returns True if this player is playing, false if it's paused or hasn't started yet.\n */\n get isPlaying() {\n if (this.instance) {\n return this.instance.is_playing();\n }\n return false;\n }\n /**\n * Checks if this player is allowed to be fullscreen by the browser.\n *\n * @returns True if you may call [[enterFullscreen]].\n */\n get fullscreenEnabled() {\n return !!(document.fullscreenEnabled || document.webkitFullscreenEnabled);\n }\n /**\n * Checks if this player is currently fullscreen inside the browser.\n *\n * @returns True if it is fullscreen.\n */\n get isFullscreen() {\n return ((document.fullscreenElement || document.webkitFullscreenElement) ===\n this);\n }\n /**\n * Exported function that requests the browser to change the fullscreen state if\n * it is allowed.\n *\n * @param isFull Whether to set to fullscreen or return to normal.\n */\n setFullscreen(isFull) {\n if (this.fullscreenEnabled) {\n if (isFull) {\n this.enterFullscreen();\n }\n else {\n this.exitFullscreen();\n }\n }\n }\n /**\n * Requests the browser to make this player fullscreen.\n *\n * This is not guaranteed to succeed, please check [[fullscreenEnabled]] first.\n */\n enterFullscreen() {\n const options = {\n navigationUI: \"hide\",\n };\n if (this.requestFullscreen) {\n this.requestFullscreen(options);\n }\n else if (this.webkitRequestFullscreen) {\n this.webkitRequestFullscreen(options);\n }\n else if (this.webkitRequestFullScreen) {\n this.webkitRequestFullScreen(options);\n }\n }\n /**\n * Requests the browser to no longer make this player fullscreen.\n */\n exitFullscreen() {\n if (document.exitFullscreen) {\n document.exitFullscreen();\n }\n else if (document.webkitExitFullscreen) {\n document.webkitExitFullscreen();\n }\n else if (document.webkitCancelFullScreen) {\n document.webkitCancelFullScreen();\n }\n }\n /**\n * Called when entering / leaving fullscreen\n */\n fullScreenChange() {\n var _a;\n (_a = this.instance) === null || _a === void 0 ? void 0 : _a.set_fullscreen(this.isFullscreen);\n }\n pointerDown(event) {\n // Give option to disable context menu when touch support is being used\n // to avoid a long press triggering the context menu. (#1972)\n if (event.pointerType === \"touch\" || event.pointerType === \"pen\") {\n this.isTouch = true;\n }\n }\n /**\n * Fetches the loaded SWF and downloads it.\n */\n async downloadSwf() {\n try {\n if (this.swfUrl) {\n console.log(\"Downloading SWF: \" + this.swfUrl);\n const response = await fetch(this.swfUrl.href);\n if (!response.ok) {\n console.error(\"SWF download failed\");\n return;\n }\n const blob = await response.blob();\n const blobUrl = URL.createObjectURL(blob);\n const swfDownloadA = document.createElement(\"a\");\n swfDownloadA.style.display = \"none\";\n swfDownloadA.href = blobUrl;\n swfDownloadA.download = swfFileName(this.swfUrl);\n document.body.appendChild(swfDownloadA);\n swfDownloadA.click();\n document.body.removeChild(swfDownloadA);\n URL.revokeObjectURL(blobUrl);\n }\n else {\n console.error(\"SWF download failed\");\n }\n }\n catch (err) {\n console.error(\"SWF download failed\");\n }\n }\n contextMenuItems() {\n const CHECKMARK = String.fromCharCode(0x2713);\n const items = [];\n if (this.instance) {\n const customItems = this.instance.prepare_context_menu();\n customItems.forEach((item, index) => {\n if (item.separatorBefore)\n items.push(null);\n items.push({\n // TODO: better checkboxes\n text: item.caption + (item.checked ? ` (${CHECKMARK})` : ``),\n onClick: () => { var _a; return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.run_context_menu_callback(index); },\n enabled: item.enabled,\n });\n });\n }\n items.push(null);\n if (this.fullscreenEnabled) {\n if (this.isFullscreen) {\n items.push({\n text: \"Exit fullscreen\",\n onClick: () => { var _a; return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.set_fullscreen(false); },\n });\n }\n else {\n items.push({\n text: \"Enter fullscreen\",\n onClick: () => { var _a; return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.set_fullscreen(true); },\n });\n }\n }\n if (this.instance && this.swfUrl && this.showSwfDownload) {\n items.push(null);\n items.push({\n text: `Download .swf`,\n onClick: this.downloadSwf.bind(this),\n });\n }\n items.push(null);\n const extensionString = this.isExtension ? \"extension\" : \"\";\n items.push({\n text: `About Ruffle ${extensionString} (nightly 2022-03-10)`,\n onClick() {\n window.open(RUFFLE_ORIGIN, \"_blank\");\n },\n });\n if (this.isTouch) {\n items.push(null);\n items.push({\n text: \"Hide this menu\",\n onClick: () => (this.contextMenuForceDisabled = true),\n });\n }\n return items;\n }\n showContextMenu(e) {\n e.preventDefault();\n if (!this.hasContextMenu || this.contextMenuForceDisabled) {\n return;\n }\n // Clear all context menu items.\n while (this.contextMenuElement.firstChild) {\n this.contextMenuElement.removeChild(this.contextMenuElement.firstChild);\n }\n // Populate context menu items.\n for (const item of this.contextMenuItems()) {\n if (item === null) {\n if (!this.contextMenuElement.lastElementChild)\n continue; // don't start with separators\n if (this.contextMenuElement.lastElementChild.classList.contains(\"menu_separator\"))\n continue; // don't repeat separators\n const menuSeparator = document.createElement(\"li\");\n menuSeparator.className = \"menu_separator\";\n const hr = document.createElement(\"hr\");\n menuSeparator.appendChild(hr);\n this.contextMenuElement.appendChild(menuSeparator);\n }\n else {\n const { text, onClick, enabled } = item;\n const menuItem = document.createElement(\"li\");\n menuItem.className = \"menu_item\";\n menuItem.textContent = text;\n this.contextMenuElement.appendChild(menuItem);\n if (enabled !== false) {\n menuItem.addEventListener(\"click\", onClick);\n }\n else {\n menuItem.classList.add(\"disabled\");\n }\n }\n }\n // Place a context menu in the top-left corner, so\n // its `clientWidth` and `clientHeight` are not clamped.\n this.contextMenuElement.style.left = \"0\";\n this.contextMenuElement.style.top = \"0\";\n this.contextMenuElement.style.display = \"block\";\n const rect = this.getBoundingClientRect();\n const x = e.clientX - rect.x;\n const y = e.clientY - rect.y;\n const maxX = rect.width - this.contextMenuElement.clientWidth - 1;\n const maxY = rect.height - this.contextMenuElement.clientHeight - 1;\n this.contextMenuElement.style.left =\n Math.floor(Math.min(x, maxX)) + \"px\";\n this.contextMenuElement.style.top =\n Math.floor(Math.min(y, maxY)) + \"px\";\n }\n hideContextMenu() {\n var _a;\n (_a = this.instance) === null || _a === void 0 ? void 0 : _a.clear_custom_menu_items();\n this.contextMenuElement.style.display = \"none\";\n }\n /**\n * Pauses this player.\n *\n * No more frames, scripts or sounds will be executed.\n * This movie will be considered inactive and will not wake up until resumed.\n */\n pause() {\n if (this.instance) {\n this.instance.pause();\n if (this.playButton) {\n this.playButton.style.display = \"block\";\n }\n }\n }\n audioState() {\n if (this.instance) {\n const audioContext = this.instance.audio_context();\n return (audioContext && audioContext.state) || \"running\";\n }\n return \"suspended\";\n }\n unmuteOverlayClicked() {\n if (this.instance) {\n if (this.audioState() !== \"running\") {\n const audioContext = this.instance.audio_context();\n if (audioContext) {\n audioContext.resume();\n }\n }\n if (this.unmuteOverlay) {\n this.unmuteOverlay.style.display = \"none\";\n }\n }\n }\n /**\n * Plays a silent sound based on the AudioContext's sample rate.\n *\n * This is used to unmute audio on iOS and iPadOS when silent mode is enabled on the device (issue 1552).\n */\n unmuteAudioContext() {\n // No need to play the dummy sound again once audio is unmuted.\n if (isAudioContextUnmuted)\n return;\n // TODO: Use `navigator.userAgentData` to detect the platform when support improves?\n if (navigator.maxTouchPoints < 1) {\n isAudioContextUnmuted = true;\n return;\n }\n this.container.addEventListener(\"click\", () => {\n var _a;\n if (isAudioContextUnmuted)\n return;\n const audioContext = (_a = this.instance) === null || _a === void 0 ? void 0 : _a.audio_context();\n if (!audioContext)\n return;\n const audio = new Audio();\n audio.src = (() => {\n // Returns a seven samples long 8 bit mono WAVE file.\n // This is required to prevent the AudioContext from desyncing and crashing.\n const arrayBuffer = new ArrayBuffer(10);\n const dataView = new DataView(arrayBuffer);\n const sampleRate = audioContext.sampleRate;\n dataView.setUint32(0, sampleRate, true);\n dataView.setUint32(4, sampleRate, true);\n dataView.setUint16(8, 1, true);\n const missingCharacters = window\n .btoa(String.fromCharCode(...new Uint8Array(arrayBuffer)))\n .slice(0, 13);\n return `data:audio/wav;base64,UklGRisAAABXQVZFZm10IBAAAAABAAEA${missingCharacters}AgAZGF0YQcAAACAgICAgICAAAA=`;\n })();\n audio.load();\n audio\n .play()\n .then(() => {\n isAudioContextUnmuted = true;\n })\n .catch((err) => {\n console.warn(`Failed to play dummy sound: ${err}`);\n });\n }, { once: true });\n }\n /**\n * Copies attributes and children from another element to this player element.\n * Used by the polyfill elements, RuffleObject and RuffleEmbed.\n *\n * @param elem The element to copy all attributes from.\n * @protected\n */\n copyElement(elem) {\n if (elem) {\n for (let i = 0; i < elem.attributes.length; i++) {\n const attrib = elem.attributes[i];\n if (attrib.specified) {\n // Issue 468: Chrome \"Click to Active Flash\" box stomps on title attribute\n if (attrib.name === \"title\" &&\n attrib.value === \"Adobe Flash Player\") {\n continue;\n }\n try {\n this.setAttribute(attrib.name, attrib.value);\n }\n catch (err) {\n // The embed may have invalid attributes, so handle these gracefully.\n console.warn(`Unable to set attribute ${attrib.name} on Ruffle instance`);\n }\n }\n }\n for (const node of Array.from(elem.children)) {\n this.appendChild(node);\n }\n }\n }\n /**\n * Converts a dimension attribute on an HTML embed/object element to a valid CSS dimension.\n * HTML element dimensions are unitless, but can also be percentages.\n * Add a 'px' unit unless the value is a percentage.\n * Returns null if this is not a valid dimension.\n *\n * @param attribute The attribute to convert\n *\n * @private\n */\n static htmlDimensionToCssDimension(attribute) {\n if (attribute) {\n const match = attribute.match(DIMENSION_REGEX);\n if (match) {\n let out = match[1];\n if (!match[3]) {\n // Unitless -- add px for CSS.\n out += \"px\";\n }\n return out;\n }\n }\n return null;\n }\n /**\n * When a movie presents a new callback through `ExternalInterface.addCallback`,\n * we are informed so that we can expose the method on any relevant DOM element.\n *\n * This should only be called by Ruffle itself and not by users.\n *\n * @param name The name of the callback that is now available.\n *\n * @internal\n * @ignore\n */\n onCallbackAvailable(name) {\n const instance = this.instance;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this[name] = (...args) => {\n return instance === null || instance === void 0 ? void 0 : instance.call_exposed_callback(name, args);\n };\n }\n /**\n * Sets a trace observer on this flash player.\n *\n * The observer will be called, as a function, for each message that the playing movie will \"trace\" (output).\n *\n * @param observer The observer that will be called for each trace.\n */\n set traceObserver(observer) {\n var _a;\n (_a = this.instance) === null || _a === void 0 ? void 0 : _a.set_trace_observer(observer);\n }\n /**\n * Panics this specific player, forcefully destroying all resources and displays an error message to the user.\n *\n * This should be called when something went absolutely, incredibly and disastrously wrong and there is no chance\n * of recovery.\n *\n * Ruffle will attempt to isolate all damage to this specific player instance, but no guarantees can be made if there\n * was a core issue which triggered the panic. If Ruffle is unable to isolate the cause to a specific player, then\n * all players will panic and Ruffle will become \"poisoned\" - no more players will run on this page until it is\n * reloaded fresh.\n *\n * @param error The error, if any, that triggered this panic.\n */\n panic(error) {\n var _a;\n if (this.panicked) {\n // Only show the first major error, not any repeats - they aren't as important\n return;\n }\n this.panicked = true;\n if (error instanceof Error &&\n (error.name === \"AbortError\" ||\n error.message.includes(\"AbortError\"))) {\n // Firefox: Don't display the panic screen if the user leaves the page while something is still loading\n return;\n }\n const errorIndex = (_a = error === null || error === void 0 ? void 0 : error.ruffleIndexError) !== null && _a !== void 0 ? _a : 0 /* Unknown */;\n const errorArray = Object.assign([], {\n stackIndex: -1,\n });\n errorArray.push(\"# Error Info\\n\");\n if (error instanceof Error) {\n errorArray.push(`Error name: ${error.name}\\n`);\n errorArray.push(`Error message: ${error.message}\\n`);\n if (error.stack) {\n const stackIndex = errorArray.push(`Error stack:\\n\\`\\`\\`\\n${error.stack}\\n\\`\\`\\`\\n`) - 1;\n errorArray.stackIndex = stackIndex;\n }\n }\n else {\n errorArray.push(`Error: ${error}\\n`);\n }\n errorArray.push(\"\\n# Player Info\\n\");\n errorArray.push(this.debugPlayerInfo());\n errorArray.push(\"\\n# Page Info\\n\");\n errorArray.push(`Page URL: ${document.location.href}\\n`);\n if (this.swfUrl)\n errorArray.push(`SWF URL: ${this.swfUrl}\\n`);\n errorArray.push(\"\\n# Browser Info\\n\");\n errorArray.push(`Useragent: ${window.navigator.userAgent}\\n`);\n errorArray.push(`OS: ${window.navigator.platform}\\n`);\n errorArray.push(\"\\n# Ruffle Info\\n\");\n errorArray.push(`Version: 0.1.0\\n`);\n errorArray.push(`Name: nightly 2022-03-10\\n`);\n errorArray.push(`Channel: nightly\\n`);\n errorArray.push(`Built: 2022-03-10T00:17:15.298Z\\n`);\n errorArray.push(`Commit: 5a1e41752672f4d0f81a5790e465c20c798a29c9\\n`);\n errorArray.push(`Is extension: ${this.isExtension}\\n`);\n const errorText = errorArray.join(\"\");\n // Remove query params for the issue title.\n const pageUrl = document.location.href.split(/[?#]/)[0];\n const issueTitle = `Error on ${pageUrl}`;\n let issueLink = `https://github.com/ruffle-rs/ruffle/issues/new?title=${encodeURIComponent(issueTitle)}&template=error_report.md&labels=error-report&body=`;\n let issueBody = encodeURIComponent(errorText);\n if (errorArray.stackIndex > -1 &&\n String(issueLink + issueBody).length > 8195) {\n // Strip the stack error from the array when the produced URL is way too long.\n // This should prevent \"414 Request-URI Too Large\" errors on Github.\n errorArray[errorArray.stackIndex] = null;\n issueBody = encodeURIComponent(errorArray.join(\"\"));\n }\n issueLink += issueBody;\n // Clears out any existing content (ie play button or canvas) and replaces it with the error screen\n let errorBody, errorFooter;\n switch (errorIndex) {\n case 2 /* FileProtocol */:\n // General error: Running on the `file:` protocol\n errorBody = `\n

      It appears you are running Ruffle on the \"file:\" protocol.

      \n

      This doesn't work as browsers block many features from working for security reasons.

      \n

      Instead, we invite you to setup a local server or either use the web demo or the desktop application.

      \n `;\n errorFooter = `\n
    • Web Demo
    • \n
    • Desktop Application
    • \n `;\n break;\n case 4 /* JavascriptConfiguration */:\n // General error: Incorrect JavaScript configuration\n errorBody = `\n

      Ruffle has encountered a major issue due to an incorrect JavaScript configuration.

      \n

      If you are the server administrator, we invite you to check the error details to find out which parameter is at fault.

      \n

      You can also consult the Ruffle wiki for help.

      \n `;\n errorFooter = `\n
    • View Ruffle Wiki
    • \n
    • View Error Details
    • \n `;\n break;\n case 9 /* WasmNotFound */:\n // Self hosted: Cannot load `.wasm` file - file not found\n errorBody = `\n

      Ruffle failed to load the required \".wasm\" file component.

      \n

      If you are the server administrator, please ensure the file has correctly been uploaded.

      \n

      If the issue persists, you may need to use the \"publicPath\" setting: please consult the Ruffle wiki for help.

      \n `;\n errorFooter = `\n
    • View Ruffle Wiki
    • \n
    • View Error Details
    • \n `;\n break;\n case 8 /* WasmMimeType */:\n // Self hosted: Cannot load `.wasm` file - incorrect MIME type\n errorBody = `\n

      Ruffle has encountered a major issue whilst trying to initialize.

      \n

      This web server is not serving \".wasm\" files with the correct MIME type.

      \n

      If you are the server administrator, please consult the Ruffle wiki for help.

      \n `;\n errorFooter = `\n
    • View Ruffle Wiki
    • \n
    • View Error Details
    • \n `;\n break;\n case 11 /* SwfFetchError */:\n errorBody = `\n

      Ruffle failed to load the Flash SWF file.

      \n

      The most likely reason is that the file no longer exists, so there is nothing for Ruffle to load.

      \n

      Try contacting the website administrator for help.

      \n `;\n errorFooter = `\n
    • View Error Details
    • \n `;\n break;\n case 6 /* WasmCors */:\n // Self hosted: Cannot load `.wasm` file - CORS issues\n errorBody = `\n

      Ruffle failed to load the required \".wasm\" file component.

      \n

      Access to fetch has likely been blocked by CORS policy.

      \n

      If you are the server administrator, please consult the Ruffle wiki for help.

      \n `;\n errorFooter = `\n
    • View Ruffle Wiki
    • \n
    • View Error Details
    • \n `;\n break;\n case 3 /* InvalidWasm */:\n // Self hosted: Cannot load `.wasm` file - incorrect configuration or missing files\n errorBody = `\n

      Ruffle has encountered a major issue whilst trying to initialize.

      \n

      It seems like this page has missing or invalid files for running Ruffle.

      \n

      If you are the server administrator, please consult the Ruffle wiki for help.

      \n `;\n errorFooter = `\n
    • View Ruffle Wiki
    • \n
    • View Error Details
    • \n `;\n break;\n case 7 /* WasmDownload */:\n // Usually a transient network error or botched deployment\n errorBody = `\n

      Ruffle has encountered a major issue whilst trying to initialize.

      \n

      This can often resolve itself, so you can try reloading the page.

      \n

      Otherwise, please contact the website administrator.

      \n `;\n errorFooter = `\n
    • View Error Details
    • \n `;\n break;\n case 10 /* WasmDisabledMicrosoftEdge */:\n // Self hosted: User has disabled WebAssembly in Microsoft Edge through the\n // \"Enhance your Security on the web\" setting.\n errorBody = `\n

      Ruffle failed to load the required \".wasm\" file component.

      \n

      To fix this, try opening your browser's settings, clicking \"Privacy, search, and services\", scrolling down, and turning off \"Enhance your security on the web\".

      \n

      This will allow your browser to load the required \".wasm\" files.

      \n

      If the issue persists, you might have to use a different browser.

      \n `;\n errorFooter = `\n
    • More Information
    • \n
    • View Error Details
    • \n `;\n break;\n case 5 /* JavascriptConflict */:\n // Self hosted: Cannot load `.wasm` file - a native object / function is overriden\n errorBody = `\n

      Ruffle has encountered a major issue whilst trying to initialize.

      \n

      It seems like this page uses JavaScript code that conflicts with Ruffle.

      \n

      If you are the server administrator, we invite you to try loading the file on a blank page.

      \n `;\n errorFooter = `\n
    • Report Bug
    • \n
    • View Error Details
    • \n `;\n break;\n case 1 /* CSPConflict */:\n // General error: Cannot load `.wasm` file - a native object / function is overriden\n errorBody = `\n

      Ruffle has encountered a major issue whilst trying to initialize.

      \n

      This web server's Content Security Policy does not allow the required \".wasm\" component to run.

      \n

      If you are the server administrator, please consult the Ruffle wiki for help.

      \n `;\n errorFooter = `\n
    • View Ruffle Wiki
    • \n
    • View Error Details
    • \n `;\n break;\n default:\n // Unknown error\n errorBody = `\n

      Ruffle has encountered a major issue whilst trying to display this Flash content.

      \n

      This isn't supposed to happen, so we'd really appreciate if you could file a bug!

      \n `;\n errorFooter = `\n
    • Report Bug
    • \n
    • View Error Details
    • \n `;\n break;\n }\n this.container.innerHTML = `\n
      \n
      Something went wrong :(
      \n
      ${errorBody}
      \n
      \n
        ${errorFooter}
      \n
      \n
      \n `;\n const viewDetails = (this.container.querySelector(\"#panic-view-details\"));\n if (viewDetails) {\n viewDetails.onclick = () => {\n const panicBody = (this.container.querySelector(\"#panic-body\"));\n panicBody.classList.add(\"details\");\n panicBody.innerHTML = ``;\n return false;\n };\n }\n // Do this last, just in case it causes any cascading issues.\n this.destroy();\n }\n displayRootMovieDownloadFailedMessage() {\n if (window.location.origin == this.swfUrl.origin ||\n !this.isExtension ||\n !window.location.protocol.includes(\"http\")) {\n const error = new Error(\"Failed to fetch: \" + this.swfUrl);\n error.ruffleIndexError = 11 /* SwfFetchError */;\n this.panic(error);\n return;\n }\n const div = document.createElement(\"div\");\n div.id = \"message_overlay\";\n div.innerHTML = `
      \n

      Ruffle wasn't able to run the Flash embedded in this page.

      \n

      You can try to open the file in a separate tab, to sidestep this issue.

      \n \n
      `;\n this.container.prepend(div);\n }\n displayUnsupportedMessage() {\n const div = document.createElement(\"div\");\n div.id = \"message_overlay\";\n // TODO: Change link to https://ruffle.rs/faq or similar\n // TODO: Pause content until message is dismissed\n div.innerHTML = `
      \n

      Flash Player has been removed from browsers in 2021.

      \n

      This content is not yet supported by the Ruffle emulator and will likely not run as intended.

      \n
      \n More info\n \n
      \n
      `;\n this.container.prepend(div);\n const button = div.querySelector(\"#run-anyway-btn\");\n button.onclick = () => {\n div.parentNode.removeChild(div);\n };\n }\n displayMessage(message) {\n // Show a dismissible message in front of the player\n const div = document.createElement(\"div\");\n div.id = \"message_overlay\";\n div.innerHTML = `
      \n

      ${message}

      \n
      \n \n
      \n
      `;\n this.container.prepend(div);\n (this.container.querySelector(\"#continue-btn\")).onclick = () => {\n div.parentNode.removeChild(div);\n };\n }\n debugPlayerInfo() {\n var _a, _b;\n return `Allows script access: ${(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.allowScriptAccess) !== null && _b !== void 0 ? _b : false}\\n`;\n }\n setMetadata(metadata) {\n this._metadata = metadata;\n // TODO: Switch this to ReadyState.Loading when we have streaming support.\n this._readyState = 2 /* Loaded */;\n this.dispatchEvent(new Event(RufflePlayer.LOADED_METADATA));\n // TODO: Move this to whatever function changes the ReadyState to Loaded when we have streaming support.\n this.dispatchEvent(new Event(RufflePlayer.LOADED_DATA));\n }\n setIsExtension(isExtension) {\n this.isExtension = isExtension;\n }\n}\n/**\n * Triggered when a movie metadata has been loaded (such as movie width and height).\n *\n * @event RufflePlayer#loadedmetadata\n */\nRufflePlayer.LOADED_METADATA = \"loadedmetadata\";\n/**\n * Triggered when a movie is fully loaded.\n *\n * @event RufflePlayer#loadeddata\n */\nRufflePlayer.LOADED_DATA = \"loadeddata\";\n/**\n * Returns whether a SWF file can call JavaScript code in the surrounding HTML file.\n *\n * @param access The value of the `allowScriptAccess` attribute.\n * @param url The URL of the SWF file.\n * @returns True if script access is allowed.\n */\nexport function isScriptAccessAllowed(access, url) {\n if (!access) {\n access = \"sameDomain\";\n }\n switch (access.toLowerCase()) {\n case \"always\":\n return true;\n case \"never\":\n return false;\n case \"samedomain\":\n default:\n try {\n return (new URL(window.location.href).origin ===\n new URL(url, window.location.href).origin);\n }\n catch (_a) {\n return false;\n }\n }\n}\n/**\n * Returns whether a SWF file should show the built-in context menu items.\n *\n * @param menu The value of the `menu` attribute.\n * @returns True if the built-in context items should be shown.\n */\nexport function isBuiltInContextMenuVisible(menu) {\n if (menu === null || menu.toLowerCase() === \"true\") {\n return true;\n }\n return false;\n}\n/**\n * Returns whether the given filename ends in a known flash extension.\n *\n * @param filename The filename to test.\n * @returns True if the filename is a flash movie (swf or spl).\n */\nexport function isSwfFilename(filename) {\n if (filename) {\n let pathname = \"\";\n try {\n // A base URL is required if `filename` is a relative URL, but we don't need to detect the real URL origin.\n pathname = new URL(filename, RUFFLE_ORIGIN).pathname;\n }\n catch (err) {\n // Some invalid filenames, like `///`, could raise a TypeError. Let's fail silently in this situation.\n }\n if (pathname && pathname.length >= 4) {\n const extension = pathname.slice(-4).toLowerCase();\n if (extension === \".swf\" || extension === \".spl\") {\n return true;\n }\n }\n }\n return false;\n}\n/**\n * Determine if an element is a child of a node that was not supported\n * in non-HTML5 compliant browsers. If so, the element was meant to be\n * used as a fallback content.\n *\n * @param elem The element to test.\n * @returns True if the element is inside an