shin-neo-lyrical-tokarev/public/script/ruffle/core.ruffle.b4eda2bd326cf533bbe6.js

2 lines
90 KiB
JavaScript
Raw Permalink Normal View History

2024-11-16 16:53:05 -05:00
"use strict";(self.webpackChunkruffle_selfhosted=self.webpackChunkruffle_selfhosted||[]).push([[69],{693:(e,n,t)=>{function _(e,n){const t=e.length,_=e.getChannelData(0),r=e.getChannelData(1);let b=0,c=0;for(;c<t;)_[c]=n[b],r[c]=n[b+1],c++,b+=2}function r(e,n){return new Function(`return (${e})(...arguments);`)(...n)}t.d(n,{A:()=>_,V:()=>r})},69:(e,n,t)=>{t.r(n),t.d(n,{IntoUnderlyingByteSource:()=>ne,IntoUnderlyingSink:()=>_e,IntoUnderlyingSource:()=>be,RuffleHandle:()=>fe,RuffleInstanceBuilder:()=>ae,ZipWriter:()=>ie,default:()=>le,global_init:()=>k,initSync:()=>de});var _=t(693);e=t.hmd(e);const r="undefined"!=typeof AudioContext?AudioContext:"undefined"!=typeof webkitAudioContext?webkitAudioContext:void 0;let b,c=0,f=null;function o(){return null!==f&&0!==f.byteLength||(f=new Uint8Array(b.memory.buffer)),f}const a="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},u="function"==typeof a.encodeInto?function(e,n){return a.encodeInto(e,n)}:function(e,n){const t=a.encode(e);return n.set(t),{read:e.length,written:t.length}};function i(e,n,t){if(void 0===t){const t=a.encode(e),_=n(t.length,1)>>>0;return o().subarray(_,_+t.length).set(t),c=t.length,_}let _=e.length,r=n(_,1)>>>0;const b=o();let f=0;for(;f<_;f++){const n=e.charCodeAt(f);if(n>127)break;b[r+f]=n}if(f!==_){0!==f&&(e=e.slice(f)),r=t(r,_,_=f+3*e.length,1)>>>0;const n=o().subarray(r+f,r+_);f+=u(e,n).written,r=t(r,_,f,1)>>>0}return c=f,r}function g(e){return null==e}let w=null;function d(){return(null===w||!0===w.buffer.detached||void 0===w.buffer.detached&&w.buffer!==b.memory.buffer)&&(w=new DataView(b.memory.buffer)),w}const s="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};function l(e,n){return e>>>=0,s.decode(o().subarray(e,e+n))}function m(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 t="[";n>0&&(t+=m(e[0]));for(let _=1;_<n;_++)t+=", "+m(e[_]);return t+="]",t}const t=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(!(t.length>1))return toString.call(e);if(_=t[1],"Object"==_)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:_}"undefined"!=typeof TextDecoder&&s.decode();const p="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>{b.__wbindgen_export_3.get(e.dtor)(e.a,e.b)}));function y(e,n,t,_){const r={a:e,b:n,cnt:1,dtor:t},c=(...e)=>{r.cnt++;const n=r.a;r.a=0;try{return _(n,r.b,...e)}finally{0==--r.cnt?(b.__wbindgen_export_3.get(r.dtor)(n,r.b),p.unregister(r)):r.a=n}};return c.original=r,p.register(c,r,r),c}function h(e,n,t){b.closure420_externref_shim(e,n,t)}function x(e,n,t){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7135246bf8a7abcb(e,n,t)}function S(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he9a8b74c224da54b(e,n)}function v(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff606f9f7e1cbb92(e,n)}function I(e,n,t){b.closure1391_externref_shim(e,n,t)}function A(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h31605203766ef7ed(e,n)}function B(e,n,t){b.closure6437_externref_shim(e,n,t)}function D(e,n,t){b.closure7084_externref_shim(e,n,t)}function P(e){const n=b.__externref_table_alloc();return b.__wbindgen_export_2.set(n,e),n}function T(e,n){try{return e.apply(this,n)}catch(e){const n=P(e);b.__wbindgen_exn_store(n)}}function C(e){const n=b.__wbindgen_export_2.get(e);return b.__externref_table_dealloc(e),n}function R(e,n){const t=n(4*e.length,4)>>>0,_
//# sourceMappingURL=core.ruffle.b4eda2bd326cf533bbe6.js.map