Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ruffle-mirror

Package Overview
Dependencies
Maintainers
1
Versions
1195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruffle-mirror - npm Package Compare versions

Comparing version 2020.10.11 to 2020.10.12

core.ruffle.7673bf9ef355429953b8.js

2

package.json

@@ -1,1 +0,1 @@

{"name": "ruffle-mirror", "version": "2020.10.11", "description": "This is an auto npm mirror for ruffle nightly builds.", "repository": {"type": "git", "url": "git+https://github.com/rwv/ruffle-mirror.git"}, "author": "ruffle-rs", "license": "MIT", "bugs": {"url": "https://github.com/rwv/ruffle-mirror/issues"}, "homepage": "https://github.com/rwv/ruffle-mirror#readme"}
{"name": "ruffle-mirror", "version": "2020.10.12", "description": "This is an auto npm mirror for ruffle nightly builds.", "repository": {"type": "git", "url": "git+https://github.com/rwv/ruffle-mirror.git"}, "author": "ruffle-rs", "license": "MIT", "bugs": {"url": "https://github.com/rwv/ruffle-mirror/issues"}, "homepage": "https://github.com/rwv/ruffle-mirror#readme"}

@@ -1,1 +0,1 @@

!function(e){function t(t){for(var n,o,i=t[0],s=t[1],_=0,c=[];_<i.length;_++)o=i[_],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&c.push(r[o][0]),r[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(t);c.length;)c.shift()()}var n={},r={0:0};var o={};var i={19:function(){return{"./ruffle_bg.js":{__wbindgen_object_drop_ref:function(e){return n[18].exports.hf(e)},__wbindgen_object_clone_ref:function(e){return n[18].exports.gf(e)},__wbg_new_df6e6ab7a65c4c4d:function(e,t){return n[18].exports.Tc(e,t)},__wbg_panic_ac7031714bbab706:function(e,t){return n[18].exports.id(e,t)},__wbindgen_string_new:function(e,t){return n[18].exports.kf(e,t)},__wbindgen_is_function:function(e){return n[18].exports.bf(e)},__wbindgen_cb_drop:function(e){return n[18].exports.Re(e)},__wbg_copytoaudiobuffer_bc2638d0c6c805e8:function(e,t,r,o,i){return n[18].exports.T(e,t,r,o,i)},__wbg_oncallbackavailable_e2a15784d5ac64f1:function(e,t,r){return n[18].exports.fd(e,t,r)},__wbindgen_number_new:function(e){return n[18].exports.ff(e)},__wbg_new_59cb74e423758ede:function(){return n[18].exports.Nc()},__wbg_stack_558ba5917b466edd:function(e,t){return n[18].exports.ke(e,t)},__wbg_error_4bb6c2a97407129a:function(e,t){return n[18].exports.Kb(e,t)},__wbindgen_is_undefined:function(e){return n[18].exports.cf(e)},__wbg_instanceof_WebGl2RenderingContext_836e46859b2055b5:function(e){return n[18].exports.wc(e)},__wbg_bindVertexArray_8bb02f8645a29e05:function(e,t){return n[18].exports.u(e,t)},__wbg_blitFramebuffer_d13f550828fdb0e9:function(e,t,r,o,i,s,_,c,a,u,f){return n[18].exports.w(e,t,r,o,i,s,_,c,a,u,f)},__wbg_createVertexArray_fd08eb7c8f8e86a3:function(e){return n[18].exports.mb(e)},__wbg_renderbufferStorageMultisample_e2e5abdd40c801c8:function(e,t,r,o,i,s){return n[18].exports.sd(e,t,r,o,i,s)},__wbg_texImage2D_917b0bb22a5467b7:function(e,t,r,o,i,s,_,c,a,u,f){return n[18].exports.we(e,t,r,o,i,s,_,c,a,u,f)},__wbg_bindFramebuffer_9e33974abcd4cff4:function(e,t,r){return n[18].exports.n(e,t,r)},__wbg_bindRenderbuffer_7a9383e4cc727ec6:function(e,t,r){return n[18].exports.p(e,t,r)},__wbg_bindTexture_a03a7320443c8a4d:function(e,t,r){return n[18].exports.r(e,t,r)},__wbg_createFramebuffer_1b4177e55ee28baa:function(e){return n[18].exports.bb(e)},__wbg_createRenderbuffer_c2f2b86d9f047325:function(e){return n[18].exports.fb(e)},__wbg_createTexture_e172faa9d6a303c1:function(e){return n[18].exports.kb(e)},__wbg_deleteFramebuffer_d2d4b509d473f8ac:function(e,t){return n[18].exports.rb(e,t)},__wbg_deleteRenderbuffer_333ef8a111c46ff6:function(e,t){return n[18].exports.sb(e,t)},__wbg_deleteTexture_71c09d0186504319:function(e,t){return n[18].exports.tb(e,t)},__wbg_framebufferRenderbuffer_943e7c72d659ce60:function(e,t,r,o,i){return n[18].exports.Qb(e,t,r,o,i)},__wbg_framebufferTexture2D_e7ccac9b20c947d3:function(e,t,r,o,i,s){return n[18].exports.Rb(e,t,r,o,i,s)},__wbg_getError_a6d456156995e29e:function(e){return n[18].exports.Xb(e)},__wbg_getParameter_d680f5c6d50aba30:function(e,t){return n[18].exports.ac(e,t)},__wbg_texParameteri_f3be7a9c7fc03dac:function(e,t,r,o){return n[18].exports.ye(e,t,r,o)},__wbg_instanceof_Window_adf3196bdc02b386:function(e){return n[18].exports.yc(e)},__wbg_document_6cc8d0b87c0a99b9:function(e){return n[18].exports.Cb(e)},__wbg_location_9b924f46d7090431:function(e){return n[18].exports.Hc(e)},__wbg_navigator_71c234326c0a2ebb:function(e){return n[18].exports.Kc(e)},__wbg_devicePixelRatio_599d41a9267fa1ca:function(e){return n[18].exports.yb(e)},__wbg_performance_8594a974edffb1dc:function(e){return n[18].exports.jd(e)},__wbg_localStorage_47e8ad68b9e5dcb9:function(e){return n[18].exports.Gc(e)},__wbg_cancelAnimationFrame_7f3ba4191e67c86b:function(e,t){return n[18].exports.F(e,t)},__wbg_open_7e3a4789bd559091:function(e,t,r,o,i){return n[18].exports.gd(e,t,r,o,i)},__wbg_requestAnimationFrame_89935c9d6ac25d2f:function(e,t){return n[18].exports.td(e,t)},__wbg_fetch_91f098921cc7cca8:function(e,t){return n[18].exports.Mb(e,t)},__wbg_destination_647daf47bfcda8af:function(e){return n[18].exports.xb(e)},__wbg_sampleRate_2cc9cd67bcfefcb6:function(e){return n[18].exports.xd(e)},__wbg_currentTime_9790fc4a74b6d62f:function(e){return n[18].exports.ob(e)},__wbg_new_c759b32bc33d4dfa:function(){return n[18].exports.Sc()},__wbg_suspend_3d1d7bc7f13bd2e5:function(e){return n[18].exports.ue(e)},__wbg_createBuffer_f42f7a85c347fd2e:function(e,t,r,o){return n[18].exports.W(e,t,r,o)},__wbg_createBufferSource_ba46d5cecab7525f:function(e){return n[18].exports.U(e)},__wbg_createChannelMerger_0f704f55e41d0a41:function(e,t){return n[18].exports.X(e,t)},__wbg_createChannelSplitter_7836172b38f00856:function(e,t){return n[18].exports.Y(e,t)},__wbg_createGain_76746a6a33b74c41:function(e){return n[18].exports.cb(e)},__wbg_createScriptProcessor_957057dfd22e709b:function(e,t,r,o){return n[18].exports.hb(e,t,r,o)},__wbg_decodeAudioData_4f910c2ccdf7b7c2:function(e,t,r,o){return n[18].exports.qb(e,t,r,o)},__wbg_resume_777b6136e3bbedbe:function(e){return n[18].exports.wd(e)},__wbg_gain_4df90433f6e80c75:function(e){return n[18].exports.Tb(e)},__wbg_baseURI_647884e97d486882:function(e,t){return n[18].exports.l(e,t)},__wbg_appendChild_77215fd672b162c5:function(e,t){return n[18].exports.g(e,t)},__wbg_get_f14c7e4642042b61:function(e,t,r,o){return n[18].exports.jc(e,t,r,o)},__wbg_set_68df6a0f61b27851:function(e,t,r,o,i){return n[18].exports.Jd(e,t,r,o,i)},__wbg_delete_face628b07e1a4fd:function(e,t,r){return n[18].exports.ub(e,t,r)},__wbg_instanceof_SvgsvgElement_ae5e90d6ee9c19df:function(e){return n[18].exports.vc(e)},__wbg_createSVGMatrix_e65f8dcdedc79a27:function(e){return n[18].exports.gb(e)},__wbg_setProperty_42eabadfcd7d6199:function(e,t,r,o,i){return n[18].exports.Dd(e,t,r,o,i)},__wbg_href_3c5dae0bee2f925f:function(e,t){return n[18].exports.nc(e,t)},__wbg_assign_f7a8a84d2e1827d2:function(e,t,r){return n[18].exports.j(e,t,r)},__wbg_new_c745ccc01b376c8e:function(){return n[18].exports.Rc()},__wbg_addPath_6985196bfa780c31:function(e,t,r){return n[18].exports.f(e,t,r)},__wbg_closePath_912631a0c9ac0064:function(e){return n[18].exports.M(e)},__wbg_lineTo_728d399981179ef2:function(e,t,r){return n[18].exports.Dc(e,t,r)},__wbg_moveTo_ecd23e390dce4720:function(e,t,r){return n[18].exports.Jc(e,t,r)},__wbg_quadraticCurveTo_05fc09e9a7d1d0d9:function(e,t,r,o,i){return n[18].exports.od(e,t,r,o,i)},__wbg_length_3de3ce5b8cd74b6e:function(e){return n[18].exports.Cc(e)},__wbg_connect_a4e3fd3dce194b2c:function(e,t){return n[18].exports.R(e,t)},__wbg_connect_318e4dfc30ec4291:function(e,t,r){return n[18].exports.Q(e,t,r)},__wbg_connect_fdf6aede4bd20dd7:function(e,t,r,o){return n[18].exports.S(e,t,r,o)},__wbg_disconnect_8df0b73a8807dcc1:function(e){return n[18].exports.Bb(e)},__wbg_offsetX_204ab4b52fb9d668:function(e){return n[18].exports.dd(e)},__wbg_offsetY_3d8860ff1285d58d:function(e){return n[18].exports.ed(e)},__wbg_bindVertexArrayOES_e8d5f6f1ec4f0ecc:function(e,t){return n[18].exports.t(e,t)},__wbg_createVertexArrayOES_e430ded3ba919d50:function(e){return n[18].exports.lb(e)},__wbg_outputBuffer_04e4720b03d5341b:function(e){return n[18].exports.hd(e)},__wbg_setTransform_2de4dcb9791e9d70:function(e,t){return n[18].exports.Ed(e,t)},__wbg_instanceof_Response_328c03967a8e8902:function(e){return n[18].exports.uc(e)},__wbg_arrayBuffer_dc33ab7b8cdf0d63:function(e){return n[18].exports.i(e)},__wbg_seta_499def04d7a63081:function(e,t){return n[18].exports.Kd(e,t)},__wbg_setb_19ed0a1f872c4d40:function(e,t){return n[18].exports.Ld(e,t)},__wbg_setc_0adcde3104abfbb1:function(e,t){return n[18].exports.Nd(e,t)},__wbg_setd_8d7ff1cbc33fb1b6:function(e,t){return n[18].exports.Od(e,t)},__wbg_sete_26ca52a63697bef0:function(e,t){return n[18].exports.Pd(e,t)},__wbg_setf_92db5e2e72523fc9:function(e,t){return n[18].exports.Qd(e,t)},__wbg_deltaY_35bf8632b9f25820:function(e){return n[18].exports.wb(e)},__wbg_deltaMode_1fd222964cdbb5af:function(e){return n[18].exports.vb(e)},__wbg_setbuffer_68371a3a4f02f6fd:function(e,t){return n[18].exports.Md(e,t)},__wbg_setloop_cfa1a2c57091b804:function(e,t){return n[18].exports.ce(e,t)},__wbg_setloopStart_97592c08e229a7a9:function(e,t){return n[18].exports.be(e,t)},__wbg_setloopEnd_0e8262b4b2b6981a:function(e,t){return n[18].exports.ae(e,t)},__wbg_start_508d7a1a760587f2:function(e){return n[18].exports.le(e)},__wbg_start_a0dbbf4da15de9ac:function(e,t,r){return n[18].exports.me(e,t,r)},__wbg_stop_b0c4c0c7932cc9cb:function(e,t){return n[18].exports.qe(e,t)},__wbg_instanceof_HtmlFormElement_12a88ddb70561741:function(e){return n[18].exports.sc(e)},__wbg_submit_c116bf5505a08ea7:function(e){return n[18].exports.te(e)},__wbg_pointerId_e7b9f2d5782623b5:function(e){return n[18].exports.ld(e)},__wbg_newwithbuffersourcesequenceandoptions_d4b68a91ae9859db:function(e,t){return n[18].exports.Wc(e,t)},__wbg_instanceof_HtmlCanvasElement_4f5b5ec6cd53ccf3:function(e){return n[18].exports.rc(e)},__wbg_width_a22f9855caa54b53:function(e){return n[18].exports.Oe(e)},__wbg_setwidth_5f26a8ba9dbfa0d0:function(e,t){return n[18].exports.he(e,t)},__wbg_height_9a404a6b3c61c7ef:function(e){return n[18].exports.mc(e)},__wbg_setheight_70f62727aa9383c2:function(e,t){return n[18].exports.Vd(e,t)},__wbg_getContext_37ca0870acb096d9:function(e,t,r){return n[18].exports.Vb(e,t,r)},__wbg_getContext_e7747f5b022c18e9:function(e,t,r,o){return n[18].exports.Wb(e,t,r,o)},__wbg_key_590d4d2a765d1b58:function(e,t){return n[18].exports.Ac(e,t)},__wbg_code_c3b28f37b4149e68:function(e,t){return n[18].exports.N(e,t)},__wbg_now_49847177a6d1d57e:function(e){return n[18].exports.bd(e)},__wbg_newwithstrandinit_d1de1bfcd175e38a:function(e,t,r){return n[18].exports.Yc(e,t,r)},__wbg_setonaudioprocess_c1f2b70a7390fc20:function(e,t){return n[18].exports.ee(e,t)},__wbg_body_8c888fe47d81765f:function(e){return n[18].exports.x(e)},__wbg_createElement_5bdf88a5af9f17c5:function(e,t,r){return n[18].exports.ab(e,t,r)},__wbg_createElementNS_ea14cb45a87a0719:function(e,t,r,o,i){return n[18].exports.Z(e,t,r,o,i)},__wbg_setid_7bffc7f165147751:function(e,t,r){return n[18].exports.Wd(e,t,r)},__wbg_clientWidth_857377e072b59b4b:function(e){return n[18].exports.L(e)},__wbg_clientHeight_daa13ddd5bd5136d:function(e){return n[18].exports.K(e)},__wbg_querySelector_cb87c7b52f337f99:function(e,t,r){return n[18].exports.pd(e,t,r)},__wbg_releasePointerCapture_27065a107bb695b8:function(e,t){return n[18].exports.qd(e,t)},__wbg_setAttribute_727bdb9763037624:function(e,t,r,o,i){return n[18].exports.Bd(e,t,r,o,i)},__wbg_setAttributeNS_06dd5dd3824eee15:function(e,t,r,o,i,s,_){return n[18].exports.Ad(e,t,r,o,i,s,_)},__wbg_setPointerCapture_625b38d5daedd8cc:function(e,t){return n[18].exports.Cd(e,t)},__wbg_remove_cc7ef8dcae8cd130:function(e){return n[18].exports.rd(e)},__wbg_instanceof_WebGlRenderingContext_a37cc8c6016098e4:function(e){return n[18].exports.xc(e)},__wbg_bufferData_4af3c6bf8f7dd67a:function(e,t,r,o,i){return n[18].exports.y(e,t,r,o,i)},__wbg_texImage2D_8d677a54ab75452c:function(e,t,r,o,i,s,_,c,a,u,f){return n[18].exports.ve(e,t,r,o,i,s,_,c,a,u,f)},__wbg_uniform1fv_75ce61cf3a7da0e8:function(e,t,r,o){return n[18].exports.Ce(e,t,r,o)},__wbg_uniform4fv_10a90f8302ac5e40:function(e,t,r,o){return n[18].exports.Ee(e,t,r,o)},__wbg_uniformMatrix3fv_a197f321b6f12a6c:function(e,t,r,o,i){return n[18].exports.Fe(e,t,r,o,i)},__wbg_uniformMatrix4fv_8f6f3c8389e3b449:function(e,t,r,o,i){return n[18].exports.Ge(e,t,r,o,i)},__wbg_activeTexture_7246ae8c464868b4:function(e,t){return n[18].exports.b(e,t)},__wbg_attachShader_d213e7ecd3432f4a:function(e,t,r){return n[18].exports.k(e,t,r)},__wbg_bindBuffer_f0ba4bbfd5b08434:function(e,t,r){return n[18].exports.m(e,t,r)},__wbg_bindFramebuffer_b19d5935fc47b348:function(e,t,r){return n[18].exports.o(e,t,r)},__wbg_bindRenderbuffer_82771447def5291d:function(e,t,r){return n[18].exports.q(e,t,r)},__wbg_bindTexture_c00656e6f0530ee7:function(e,t,r){return n[18].exports.s(e,t,r)},__wbg_blendFunc_c7c9cda2a0e4b97f:function(e,t,r){return n[18].exports.v(e,t,r)},__wbg_clear_c9cc14c37d12a838:function(e,t){return n[18].exports.J(e,t)},__wbg_clearColor_73695d8d401f87e6:function(e,t,r,o,i){return n[18].exports.G(e,t,r,o,i)},__wbg_clearStencil_39525aca2b7546ca:function(e,t){return n[18].exports.I(e,t)},__wbg_colorMask_9e96ca3891ba9085:function(e,t,r,o,i){return n[18].exports.O(e,t,r,o,i)},__wbg_compileShader_961db910485f4a76:function(e,t){return n[18].exports.P(e,t)},__wbg_createBuffer_4deb008968921e7f:function(e){return n[18].exports.V(e)},__wbg_createProgram_b502951c403f671a:function(e){return n[18].exports.eb(e)},__wbg_createShader_7bd4296ba9c32133:function(e,t){return n[18].exports.ib(e,t)},__wbg_createTexture_e0437703d5b41f24:function(e){return n[18].exports.jb(e)},__wbg_disable_6d4d32f05b00518e:function(e,t){return n[18].exports.Ab(e,t)},__wbg_disableVertexAttribArray_23f37b3aae712b33:function(e,t){return n[18].exports.zb(e,t)},__wbg_drawElements_b22db7173101346e:function(e,t,r,o,i){return n[18].exports.Eb(e,t,r,o,i)},__wbg_enable_700dbd1724c67920:function(e,t){return n[18].exports.Ib(e,t)},__wbg_enableVertexAttribArray_4b6614b028d442ff:function(e,t){return n[18].exports.Hb(e,t)},__wbg_getAttribLocation_98ff7fc515cda07d:function(e,t,r,o){return n[18].exports.Ub(e,t,r,o)},__wbg_getExtension_d4422753d7c5b70a:function(e,t,r){return n[18].exports.Yb(e,t,r)},__wbg_getParameter_c2bcbc1173c374b4:function(e,t){return n[18].exports.Zb(e,t)},__wbg_getProgramInfoLog_a84afc629d343c75:function(e,t,r){return n[18].exports.bc(e,t,r)},__wbg_getProgramParameter_327111ebb2bca7fb:function(e,t,r){return n[18].exports.cc(e,t,r)},__wbg_getShaderInfoLog_a9529ee3f2ebd3e0:function(e,t,r){return n[18].exports.dc(e,t,r)},__wbg_getUniformLocation_55700686ebe625a9:function(e,t,r,o){return n[18].exports.gc(e,t,r,o)},__wbg_linkProgram_7c29f15a5150d174:function(e,t){return n[18].exports.Fc(e,t)},__wbg_pixelStorei_1c5838b6e16da007:function(e,t,r){return n[18].exports.kd(e,t,r)},__wbg_scissor_5d19639b621ab86f:function(e,t,r,o,i){return n[18].exports.yd(e,t,r,o,i)},__wbg_shaderSource_bf6be2cc97a14fc1:function(e,t,r,o){return n[18].exports.ie(e,t,r,o)},__wbg_stencilFunc_3d8f118cbe40995e:function(e,t,r,o){return n[18].exports.ne(e,t,r,o)},__wbg_stencilMask_8cd765414cb3b402:function(e,t){return n[18].exports.oe(e,t)},__wbg_stencilOp_f74034b278688178:function(e,t,r,o){return n[18].exports.pe(e,t,r,o)},__wbg_texParameteri_c9ce5bb9e350c6cd:function(e,t,r,o){return n[18].exports.xe(e,t,r,o)},__wbg_uniform1f_aef9f13b531f3269:function(e,t,r){return n[18].exports.Be(e,t,r)},__wbg_uniform1i_bbbce4278738d73e:function(e,t,r){return n[18].exports.De(e,t,r)},__wbg_useProgram_51f7808f5955c03a:function(e,t){return n[18].exports.He(e,t)},__wbg_vertexAttribPointer_76ddec1ed8425967:function(e,t,r,o,i,s,_){return n[18].exports.Le(e,t,r,o,i,s,_)},__wbg_viewport_dd0dedc488a8dba4:function(e,t,r,o,i){return n[18].exports.Me(e,t,r,o,i)},__wbg_debug_b443de592faba09f:function(e){return n[18].exports.pb(e)},__wbg_error_7f083efc6bc6752c:function(e){return n[18].exports.Lb(e)},__wbg_info_6d4a86f0fd590270:function(e){return n[18].exports.oc(e)},__wbg_log_3bafd82835c6de6d:function(e){return n[18].exports.Ic(e)},__wbg_warn_d05e82888b7fad05:function(e){return n[18].exports.Ne(e)},__wbg_style_9a41d46c005f7596:function(e){return n[18].exports.se(e)},__wbg_linearRampToValueAtTime_4028c11b93eb9d3f:function(e,t,r){return n[18].exports.Ec(e,t,r)},__wbg_setValueAtTime_ff5c6049704e5bbd:function(e,t,r){return n[18].exports.Gd(e,t,r)},__wbg_currentTarget_273561c7aeba291c:function(e){return n[18].exports.nb(e)},__wbg_preventDefault_93d06688748bfc14:function(e){return n[18].exports.md(e)},__wbg_addEventListener_9e7b0c3f65ebc0d7:function(e,t,r,o){return n[18].exports.c(e,t,r,o)},__wbg_addEventListener_f0baf69c9c7425c9:function(e,t,r,o,i){return n[18].exports.e(e,t,r,o,i)},__wbg_addEventListener_cb2d36c36a655653:function(e,t,r,o,i){return n[18].exports.d(e,t,r,o,i)},__wbg_setsrc_4e562fe2dd3f545a:function(e,t,r){return n[18].exports.fe(e,t,r)},__wbg_new_6c05171898e5da27:function(){return n[18].exports.Oc()},__wbg_newwithwidthandheight_0b5685149e62300b:function(e,t){return n[18].exports.Zc(e,t)},__wbg_userAgent_ba13c085c92544d5:function(e,t){return n[18].exports.Ie(e,t)},__wbg_instanceof_CanvasRenderingContext2d_5b86ec94bce38d5b:function(e){return n[18].exports.qc(e)},__wbg_setglobalAlpha_b88eed33e546d000:function(e,t){return n[18].exports.Td(e,t)},__wbg_setglobalCompositeOperation_fabb673593c3527d:function(e,t,r){return n[18].exports.Ud(e,t,r)},__wbg_setstrokeStyle_ab391a0f9102e10c:function(e,t){return n[18].exports.ge(e,t)},__wbg_setfillStyle_2da87acf76dcbbcb:function(e,t){return n[18].exports.Rd(e,t)},__wbg_setfilter_27f986e04414e9dd:function(e,t,r){return n[18].exports.Sd(e,t,r)},__wbg_setlineWidth_85798545cf8a1f9d:function(e,t){return n[18].exports.Zd(e,t)},__wbg_setlineCap_1caf8af038fa84ce:function(e,t,r){return n[18].exports.Xd(e,t,r)},__wbg_setlineJoin_4f5df004db140cd2:function(e,t,r){return n[18].exports.Yd(e,t,r)},__wbg_setmiterLimit_4e49c930735a741e:function(e,t){return n[18].exports.de(e,t)},__wbg_drawImage_75bbd0b57d5e32dd:function(e,t,r,o){return n[18].exports.Fb(e,t,r,o)},__wbg_drawImage_819228aeb2f0b119:function(e,t,r,o){return n[18].exports.Gb(e,t,r,o)},__wbg_fill_d2f103e0577b7b5b:function(e,t){return n[18].exports.Pb(e,t)},__wbg_stroke_9b2913e927c48765:function(e,t){return n[18].exports.re(e,t)},__wbg_createPattern_724bbee1dc7fbc06:function(e,t,r,o){return n[18].exports.db(e,t,r,o)},__wbg_clearRect_d61bc1791ebc06b1:function(e,t,r,o,i){return n[18].exports.H(e,t,r,o,i)},__wbg_fillRect_e9ad0b5dde70ab3b:function(e,t,r,o,i){return n[18].exports.Nb(e,t,r,o,i)},__wbg_resetTransform_3593808a72be4d22:function(e){return n[18].exports.ud(e)},__wbg_setTransform_6277770e3d1afe42:function(e,t,r,o,i,s,_){return n[18].exports.Fd(e,t,r,o,i,s,_)},__wbg_get_27693110cb44e852:function(e,t){return n[18].exports.ic(e,t)},__wbg_next_2966fa909601a075:function(e){return n[18].exports.ad(e)},__wbg_done_037d0a173aef1834:function(e){return n[18].exports.Db(e)},__wbg_value_e60bbfb7d52af62f:function(e){return n[18].exports.Je(e)},__wbg_get_0e3f2950cdf758ae:function(e,t){return n[18].exports.hc(e,t)},__wbg_call_8e95613cc6524977:function(e,t){return n[18].exports.D(e,t)},__wbg_new_e13110f81ae347cf:function(){return n[18].exports.Uc()},__wbg_isArray_8719d1387c4e1aca:function(e){return n[18].exports.zc(e)},__wbg_of_de6ee285099ec772:function(e,t){return n[18].exports.cd(e,t)},__wbg_push_b46eeec52d2b03bb:function(e,t){return n[18].exports.nd(e,t)},__wbg_instanceof_ArrayBuffer_86f01c089ac2692f:function(e){return n[18].exports.pc(e)},__wbg_new_992c5abe0aba19b9:function(e){return n[18].exports.Pc(e)},__wbg_slice_736f8024878d6a4c:function(e,t,r){return n[18].exports.je(e,t,r)},__wbg_values_a8e8f7b69d5eb117:function(e){return n[18].exports.Ke(e)},__wbg_newnoargs_f3b8a801d5d4b079:function(e,t){return n[18].exports.Vc(e,t)},__wbg_apply_af51c5bdbfe42016:function(e,t,r){return n[18].exports.h(e,t,r)},__wbg_call_d713ea0274dfc6d2:function(e,t,r){return n[18].exports.E(e,t,r)},__wbg_getTime_29addd71c7089c47:function(e){return n[18].exports.ec(e)},__wbg_getTimezoneOffset_1b96e0e6b6ed265c:function(e){return n[18].exports.fc(e)},__wbg_new0_a3af66503e735141:function(){return n[18].exports.Lc()},__wbg_instanceof_Object_75681edeb8be7268:function(e){return n[18].exports.tc(e)},__wbg_entries_0eb51034d48ad820:function(e){return n[18].exports.Jb(e)},__wbg_fromEntries_e51e19fc1d1624ee:function(e){return n[18].exports.Sb(e)},__wbg_new_3e06d4f36713e4cb:function(){return n[18].exports.Mc()},__wbg_resolve_2529512c3bb73938:function(e){return n[18].exports.vd(e)},__wbg_then_4a7a614abbbe6d81:function(e,t){return n[18].exports.Ae(e,t)},__wbg_then_3b7ac098cfda2fa5:function(e,t,r){return n[18].exports.ze(e,t,r)},__wbg_self_07b2f89e82ceb76d:function(){return n[18].exports.zd()},__wbg_window_ba85d88572adc0dc:function(){return n[18].exports.Pe()},__wbg_globalThis_b9277fc37e201fe5:function(){return n[18].exports.kc()},__wbg_global_e16303fe83e1d57f:function(){return n[18].exports.lc()},__wbg_buffer_49131c283a06686f:function(e){return n[18].exports.A(e)},__wbg_newwithbyteoffsetandlength_c0f38401daad5a22:function(e,t,r){return n[18].exports.Xc(e,t,r)},__wbg_length_2b13641a9d906653:function(e){return n[18].exports.Bc(e)},__wbg_new_9b295d24cf1d706f:function(e){return n[18].exports.Qc(e)},__wbg_set_3bb960a9975f3cd2:function(e,t,r){return n[18].exports.Id(e,t,r)},__wbg_fill_8f0f872f8b84a115:function(e,t,r,o){return n[18].exports.Ob(e,t,r,o)},__wbg_buffer_3d4c28111c30d143:function(e){return n[18].exports.z(e)},__wbg_byteLength_9828cd72f704b139:function(e){return n[18].exports.B(e)},__wbg_byteOffset_00403b83b3b9fd7e:function(e){return n[18].exports.C(e)},__wbg_set_304f2ec1a3ab3b79:function(e,t,r){return n[18].exports.Hd(e,t,r)},__wbindgen_number_get:function(e,t){return n[18].exports.ef(e,t)},__wbindgen_string_get:function(e,t){return n[18].exports.jf(e,t)},__wbindgen_boolean_get:function(e){return n[18].exports.Qe(e)},__wbindgen_debug_string:function(e,t){return n[18].exports.af(e,t)},__wbindgen_throw:function(e,t){return n[18].exports.lf(e,t)},__wbindgen_rethrow:function(e){return n[18].exports.if(e)},__wbindgen_memory:function(){return n[18].exports.df()},__wbindgen_closure_wrapper509:function(e,t,r){return n[18].exports.Te(e,t,r)},__wbindgen_closure_wrapper511:function(e,t,r){return n[18].exports.Ue(e,t,r)},__wbindgen_closure_wrapper513:function(e,t,r){return n[18].exports.Ve(e,t,r)},__wbindgen_closure_wrapper515:function(e,t,r){return n[18].exports.We(e,t,r)},__wbindgen_closure_wrapper517:function(e,t,r){return n[18].exports.Xe(e,t,r)},__wbindgen_closure_wrapper519:function(e,t,r){return n[18].exports.Ye(e,t,r)},__wbindgen_closure_wrapper521:function(e,t,r){return n[18].exports.Ze(e,t,r)},__wbindgen_closure_wrapper1149:function(e,t,r){return n[18].exports.Se(e,t,r)}}}}};function s(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var _=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=_);var c,a=document.createElement("script");a.charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.src=function(e){return s.p+"core.ruffle."+{1:"57dbcfca0b3a4ef59527"}[e]+".js"}(e);var u=new Error;c=function(t){a.onerror=a.onload=null,clearTimeout(f);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",u.name="ChunkLoadError",u.type=o,u.request=i,n[1](u)}r[e]=void 0}};var f=setTimeout((function(){c({type:"timeout",target:a})}),12e4);a.onerror=a.onload=c,document.head.appendChild(a)}return({1:[19]}[e]||[]).forEach((function(e){var n=o[e];if(n)t.push(n);else{var r,_=i[e](),c=fetch(s.p+""+{19:"943b3e6d088d8756013d"}[e]+".module.wasm");if(_ instanceof Promise&&"function"==typeof WebAssembly.compileStreaming)r=Promise.all([WebAssembly.compileStreaming(c),_]).then((function(e){return WebAssembly.instantiate(e[0],e[1])}));else if("function"==typeof WebAssembly.instantiateStreaming)r=WebAssembly.instantiateStreaming(c,_);else{r=c.then((function(e){return e.arrayBuffer()})).then((function(e){return WebAssembly.instantiate(e,_)}))}t.push(o[e]=r.then((function(t){return s.w[e]=(t.instance||t).exports})))}})),Promise.all(t)},s.m=e,s.c=n,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s.oe=function(e){throw console.error(e),e},s.w={};var _=window.RufflePlayerLoader=window.RufflePlayerLoader||[],c=_.push.bind(_);_.push=t,_=_.slice();for(var a=0;a<_.length;a++)t(_[a]);var u=c;s(s.s=11)}([function(e,t){var n={};t.lookup_element=function(e){let t=n[e];return void 0!==t?{internal_name:e,name:t.name,class:t.class}:null},t.register_element=function(e,t){if(void 0!==n[e]){if(n[e].class!==t)throw new Error("Internal naming conflict on "+e);return n[e].name}let r=0;for(;;)try{let o=e;return r>0&&(o=o+"-"+r),window.customElements.define(o,t),n[e]={class:t,name:o,internal_name:e},o}catch(e){"NotSupportedError"===e.name&&(r+=1)}}},function(e,t,n){const r=n(8),o=n(9),{lookup_element:i}=n(0);t.FLASH_MIMETYPE="application/x-shockwave-flash",t.FUTURESPLASH_MIMETYPE="application/futuresplash",t.FLASH7_AND_8_MIMETYPE="application/x-shockwave-flash2-preview",t.FLASH_MOVIE_MIMETYPE="application/vnd.adobe.flash-movie",t.FLASH_ACTIVEX_CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";const s=/^\s*(\d+(\.\d+)?(%)?)/;t.RufflePlayer=class e extends HTMLElement{constructor(...e){let t=super(...e);return t.shadow=t.attachShadow({mode:"closed"}),t.shadow.appendChild(o.content.cloneNode(!0)),t.dynamic_styles=t.shadow.getElementById("dynamic_styles"),t.container=t.shadow.getElementById("container"),t.play_button=t.shadow.getElementById("play_button"),t.play_button&&t.play_button.addEventListener("click",t.play_button_clicked.bind(t)),t.instance=null,t.allow_script_access=!1,t._trace_observer=null,t.Ruffle=r(),t}connectedCallback(){this.update_styles()}static get observedAttributes(){return["width","height"]}attributeChangedCallback(e){"width"!==e&&"height"!==e||this.update_styles()}disconnectedCallback(){this.instance&&(this.instance.destroy(),this.instance=null,console.log("Ruffle instance destroyed."))}update_styles(){if(this.dynamic_styles.sheet){if(this.dynamic_styles.sheet.rules)for(var t=0;t<this.dynamic_styles.sheet.rules.length;t++)this.dynamic_styles.sheet.deleteRule(t);if(this.attributes.width){let t=e.html_dimension_to_css_dimension(this.attributes.width.value);null!==t&&this.dynamic_styles.sheet.insertRule(`:host { width: ${t}; }`)}if(this.attributes.height){let t=e.html_dimension_to_css_dimension(this.attributes.height.value);null!==t&&this.dynamic_styles.sheet.insertRule(`:host { height: ${t}; }`)}}}is_unused_fallback_object(){let e=this.parentNode,t=i("ruffle-object");if(null!==t)do{if(e.nodeName===t.name)return!0;e=e.parentNode}while(e!=document);return!1}async ensure_fresh_instance(){this.instance&&(this.instance.destroy(),this.instance=null,console.log("Ruffle instance destroyed."));let e=await this.Ruffle.catch(e=>{throw console.error("Serious error loading Ruffle: "+e),e});this.instance=e.new(this.container,this,this.allow_script_access),console.log("New Ruffle instance created.")}async stream_swf_url(e){try{this.isConnected&&!this.is_unused_fallback_object()?(console.log("Loading SWF file "+e),await this.ensure_fresh_instance(),this.instance.stream_from(e),this.play_button&&(this.play_button.style.display="block")):console.warn("Ignoring attempt to play a disconnected or suspended Ruffle element")}catch(e){throw console.error("Serious error occurred loading SWF file: "+e),this.panic(e),e}}play_button_clicked(){this.instance&&(this.instance.play(),this.play_button&&(this.play_button.style.display="none"))}pause(){this.instance&&(this.instance.pause(),this.play_button&&(this.play_button.style.display="block"))}async play_swf_data(e){try{this.isConnected&&!this.is_unused_fallback_object()?(console.log("Got SWF data"),await this.ensure_fresh_instance(),this.instance.load_data(new Uint8Array(e)),console.log("New Ruffle instance created."),this.play_button&&(this.play_button.style.display="block")):console.warn("Ignoring attempt to play a disconnected or suspended Ruffle element")}catch(e){throw console.error("Serious error occurred loading SWF file: "+e),this.panic(e),e}}copy_element(e){if(e){for(let t of e.attributes)if(t.specified){if("title"===t.name&&"Adobe Flash Player"===t.value)continue;try{this.setAttribute(t.name,t.value)}catch(e){console.warn(`Unable to set attribute ${t.name} on Ruffle instance`)}}for(let t of Array.from(e.children))this.appendChild(t)}}static html_dimension_to_css_dimension(e){if(e){let t=e.match(s);if(t){let e=t[1];return t[3]||(e+="px"),e}}return null}on_callback_available(e){const t=this.instance;this[e]=(...n)=>t.call_exposed_callback(e,n)}set trace_observer(e){this.instance.set_trace_observer(e)}panic(e){this.container.innerHTML='\n <div id="panic">\n <div id="panic-title">Something went wrong :(</div>\n <div id="panic-body">\n <p>Ruffle has encountered a major issue whilst trying to display this Flash content.</p>\n <p>This isn\'t supposed to happen, so we\'d really appreciate if you could file a bug!</p>\n </div>\n <div id="panic-footer">\n <ul>\n <li><a href="https://github.com/ruffle-rs/ruffle/issues/new">report bug</a></li>\n <li><a href="#" id="panic-view-details">view error details</a></li>\n </ul>\n </div>\n </div>\n ',this.container.querySelector("#panic-view-details").onclick=()=>{let t="# Error Info\n";return e instanceof Error?(t+=`Error name: ${e.name}\n`,t+=`Error message: ${e.message}\n`,e.stack&&(t+=`Error stack:\n\`\`\`\n${e.stack}\n\`\`\`\n`)):t+=`Error: ${e}\n`,t+="\n# Player Info\n",t+=this.debug_player_info(),t+="\n# Page Info\n",t+=`Page URL: ${document.location.href}\n`,t+="\n# Browser Info\n",t+=`Useragent: ${window.navigator.userAgent}\n`,t+=`OS: ${window.navigator.platform}\n`,t+="\n# Ruffle Info\n",t+=`Ruffle version: ${window.RufflePlayer.version}\n`,t+=`Ruffle source: ${window.RufflePlayer.name}\n`,this.container.querySelector("#panic-body").innerHTML=`<textarea>${t}</textarea>`,!1},this.instance&&(this.instance.destroy(),this.instance=null)}debug_player_info(){return`Allows script access: ${this.allow_script_access}\n`}},t.is_swf_filename=function(e){return e&&"string"==typeof e&&(e.search(/\.swf(?:[?#]|$)/i)>=0||e.search(/\.spl(?:[?#]|$)/i)>=0)}},function(e,t){t.Version=class e{constructor(e,t,n,r,o){this.major=e,this.minor=t,this.patch=n,this.pr_ident=r,this.build_ident=o}static from_semver(t){let n=t.split("+"),r=n[0].split("-"),o=r[0].split("."),i=[];return i.push(parseInt(o[0],10)),null!=o[1]?i.push(parseInt(o[1],10)):i.push(0),null!=o[2]?i.push(parseInt(o[2],10)):i.push(0),null!=r[1]?i.push(r[1].split(".")):i.push(void 0),null!=n[1]?i.push(n[1].split(".")):i.push(void 0),new e(i[0],i[1],i[2],i[3],i[4])}is_compatible_with(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}has_precedence_over(e){if(this.major>e.major)return!0;if(this.major<e.major)return!1;if(this.minor>e.minor)return!0;if(this.minor<e.minor)return!1;if(this.patch>e.patch)return!0;if(this.patch<e.patch)return!1;if(void 0===this.pr_ident&&void 0!==e.pr_ident)return!0;if(void 0!==this.pr_ident&&void 0!==e.pr_ident){let t=/^[0-9]*$/;for(let n=0;n<this.pr_ident.length&&n<e.pr_ident.length;n+=1){if(!t.test(this.pr_ident[n])&&t.test(e.pr_ident[n]))return!0;if(t.test(this.pr_ident[n])&&t.test(e.pr_ident[n])){if(parseInt(this.pr_ident[n],10)>parseInt(e.pr_ident[n],10))return!0;if(parseInt(this.pr_ident[n],10)<parseInt(e.pr_ident[n],10))return!1}else{if(t.test(this.pr_ident[n])&&!t.test(e.pr_ident[n]))return!1;if(!t.test(this.pr_ident[n])&&!t.test(e.pr_ident[n])){if(this.pr_ident[n]>e.pr_ident[n])return!0;if(this.pr_ident[n]<e.pr_ident[n])return!1}}}return this.pr_ident.length>e.pr_ident.length}return!1}is_equal(e){return this.major===e.major&&this.minor===e.minor&&this.patch===e.patch}is_stable_or_compatible_prerelease(e){return void 0===e.pr_ident||this.major===e.major&&this.minor===e.minor&&this.patch===e.patch}}},function(e,t,n){const{Version:r}=n(2);t.VersionRange=class e{constructor(e){this.requirements=e}satisfied_by(e){for(let t=0;t<this.requirements.length;t+=1){let n=!0;for(let r=0;r<this.requirements[t].length;r+=1){let o=this.requirements[t][r][0],i=this.requirements[t][r][1];n=n&&i.is_stable_or_compatible_prerelease(e),""===o||"="===o?n=n&&i.is_equal(e):">"===o?n=n&&e.has_precedence_over(i):">="===o?n=n&&(e.has_precedence_over(i)||i.is_equal(e)):"<"===o?n=n&&i.has_precedence_over(e):"<="===o?n=n&&(i.has_precedence_over(e)||i.is_equal(e)):"^"===o&&(n=n&&i.is_compatible_with(e))}if(n)return!0}return!1}static from_requirement_string(t){let n=t.split(" "),o=[],i=[];for(let e=0;e<n.length;e+=1)if("||"===n[e])o.length>0&&(i.push(o),o=[]);else if(n[e].length>0){let t=/[0-9]/.exec(n[e]),i=n[e].slice(0,t.index).trim(),s=r.from_semver(n[e].slice(t.index).trim());o.push([i,s])}return o.length>0&&i.push(o),new e(i)}}},function(e,t){class n{constructor(e,t,n){this.type=e,this.description=t,this.suffixes=n}}class r{constructor(e){this.__mimetypes=[],this.__named_mimetypes={};for(let t of e)this.install(t)}install(e){let t=this.__mimetypes.length;this.__mimetypes.push(e),this.__named_mimetypes[e.type]=e,this[e.type]=e,this[t]=e}item(e){return this.__mimetypes[e]}namedItem(e){return this.__named_mimetypes[e]}get length(){return this.__mimetypes.length}}class o{constructor(e){this.__plugins=[],this.__named_plugins={};for(let t of e)this.install(t)}install(e){let t=this.__plugins.length;this.__plugins.push(e),this.__named_plugins[e.name]=e,this[e.name]=e,this[t]=e}item(e){return this.__plugins[e]}namedItem(e){return this.__named_plugins[e]}get length(){return this.__plugins.length}}t.FLASH_PLUGIN=new class extends r{constructor(e,t,n,r){super(r),this.name=e,this.description=t,this.filename=n}install(e){e.enabledPlugin||(e.enabledPlugin=this),super.install(e)}}("Shockwave Flash","Shockwave Flash 32.0 r0","ruffle.js",[new n("application/futuresplash","Shockwave Flash","spl"),new n("application/x-shockwave-flash","Shockwave Flash","swf"),new n("application/x-shockwave-flash2-preview","Shockwave Flash","swf"),new n("application/vnd.adobe.flash-movie","Shockwave Flash","swf")]),t.install_plugin=function(e){navigator.plugins.install||Object.defineProperty(navigator,"plugins",{value:new o(navigator.plugins),writable:!1}),navigator.plugins.install(e),e.length>0&&!navigator.mimeTypes.install&&Object.defineProperty(navigator,"mimeTypes",{value:new r(navigator.mimeTypes),writable:!1});for(var t=0;t<e.length;t+=1)navigator.mimeTypes.install(e[t])}},function(e,t){t.public_path=function(e,t){let n="";if(void 0!==e&&void 0!==e.public_paths&&void 0!==e.public_paths[t])n=e.public_paths[t];else if(void 0!==e&&void 0!==e.public_path)n=e.public_path;else if(void 0!==document.currentScript)try{n=new URL(".",document.currentScript.src).href}catch(e){console.warn("Unable to get currentScript URL")}return""===n||n.endsWith("/")||(n+="/"),n}},function(e,t,n){const r=n(7),o=n(10),{install_plugin:i,FLASH_PLUGIN:s}=n(4),{public_path:_}=n(5);let c;window.RufflePlayer||(window.RufflePlayer={});let a,u,f=_({},"ruffle.js");function l(){try{a=a||document.getElementsByTagName("object"),u=u||document.getElementsByTagName("embed");for(let e of Array.from(a))if(r.is_interdictable(e)){let t=r.from_native_object_element(e);e.replaceWith(t)}for(let e of Array.from(u))if(o.is_interdictable(e)){let t=o.from_native_embed_element(e);e.replaceWith(t)}}catch(e){console.error("Serious error encountered when polyfilling native Flash elements: "+e)}}function b(e){d(e.currentTarget.contentWindow)}function d(e){let t;try{if(t=e.document,!t)return void console.log("Frame has no document.")}catch(e){return void console.log("Error Getting Frame: "+e.message)}if(e.RufflePlayer)console.log("(i)frame already has RufflePlayer");else{e.RufflePlayer={},e.RufflePlayer.config=c;let n=t.createElement("script");n.src=f,t.body.appendChild(n)}g(e)}function p(e){let t;for(let n=0;n<e.length;n++){let r=e[n];setTimeout((function(){try{r.contentDocument&&r.contentDocument.readyState&&"complete"==r.contentDocument.readyState&&d(r.contentWindow)}catch(e){console.log("error loading ruffle player into frame: "+e.message)}}),500);try{(t=r.onload)?r.onload=function(e){try{t(e)}catch(e){console.log("Error calling original onload: "+e.message)}b(e)}:r.onload=b,g(r.contentWindow)}catch(e){console.log("error loading ruffle player into frame: "+e.message)}}}function g(e){p(e.document.getElementsByTagName("iframe")),p(e.document.getElementsByTagName("frame"))}function w(e){e.some(e=>e.addedNodes.length>0)&&g(window)}window.RufflePlayer.config&&(c=window.RufflePlayer.config,f=_(window.RufflePlayer.config,"ruffle.js")),f+="ruffle.js",t.plugin_polyfill=function(){i(s)},t.polyfill=function(){l(),new MutationObserver((function(e){e.some(e=>e.addedNodes.length>0)&&l()})).observe(document,{childList:!0,subtree:!0}),g(window),new MutationObserver(w).observe(document,{childList:!0,subtree:!0})}},function(e,t,n){const{FLASH_MIMETYPE:r,FUTURESPLASH_MIMETYPE:o,FLASH7_AND_8_MIMETYPE:i,FLASH_MOVIE_MIMETYPE:s,FLASH_ACTIVEX_CLASSID:_,is_swf_filename:c,RufflePlayer:a}=n(1),{register_element:u}=n(0);e.exports=class e extends a{constructor(...e){super(...e)}connectedCallback(){super.connectedCallback(),this.params=e.params_of(this);const t=e.find_case_insensitive(this.params,"allowScriptAccess","sameDomain");let n=null;this.attributes.data?n=this.attributes.data.value:this.params.movie&&(n=this.params.movie),n&&(this.allow_script_access=t&&("always"===t.toLowerCase()||"samedomain"===t.toLowerCase()&&new URL(window.location.href).origin===new URL(n,window.location.href).origin),this.stream_swf_url(n))}debug_player_info(){let e=super.debug_player_info();e+="Player type: Object\n";let t=null;return this.attributes.data?t=this.attributes.data.value:this.params.movie&&(t=this.params.movie),e+=`SWF URL: ${t}\n`,Object.keys(this.params).forEach(t=>{e+=`Param ${t}: ${this.params[t]}\n`}),Object.keys(this.attributes).forEach(t=>{e+=`Attribute ${t}: ${this.attributes[t]}\n`}),e}get data(){return this.attributes.data.value}set data(e){this.attributes.data=e}static is_interdictable(t){if(!t.data){let e=!1,n=t.getElementsByTagName("param");for(let t=0;t<n.length;t++)"movie"==n[t].name&&n[t].value&&(e=!0);if(!e)return!1}if(t.type.toLowerCase()===r.toLowerCase()||t.type.toLowerCase()===o.toLowerCase()||t.type.toLowerCase()==i.toLowerCase()||t.type.toLowerCase()==s.toLowerCase())return!0;if(t.attributes&&t.attributes.classid&&t.attributes.classid.value.toLowerCase()===_.toLowerCase())return!0;if((void 0===t.type||""===t.type)&&void 0===t.attributes.classid){let n=e.params_of(t);if(t.data&&c(t.data))return!0;if(n&&n.movie&&c(n.movie))return!0}return!1}static find_case_insensitive(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}static params_of(e){let t={};for(let n of e.children)n.constructor===HTMLParamElement&&(t[n.name]=n.value);return t}static from_native_object_element(t){let n=u("ruffle-object",e),r=document.createElement(n);return r.copy_element(t),r}}},function(e,t,n){let r=null;e.exports=function(){return null==r&&(r=async function(){try{n.p=runtime_path+"dist/"}catch(e){if(!(e instanceof ReferenceError))throw e}return(await n.e(1).then(n.bind(null,17))).Ruffle}()),r}},function(e,t){let n=document.createElement("template");n.innerHTML='\n <style>\n :host {\n display: inline-block;\n /* Default width/height; this will get overridden by user styles/attributes */\n width: 550px;\n height: 400px;\n touch-action: none;\n user-select: none;\n -webkit-user-select: none;\n -webkit-tap-highlight-color: transparent;\n }\n\n #container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n }\n\n #container canvas {\n width: 100%;\n height: 100%;\n }\n \n #play_button {\n position: absolute;\n width: 100%;\n height: 100%;\n cursor: pointer;\n display: none;\n }\n\n #play_button .icon {\n position: relative;\n top: 50%;\n left: 50%;\n width: 90%;\n height: 90%;\n max-width: 500px;\n max-height: 500px;\n transform: translate(-50%, -50%);\n }\n\n #play_button:hover .icon {\n filter: brightness(1.3);\n }\n\n #panic {\n position: absolute;\n width: 100%;\n height: 100%;\n /* Inverted colours from play button! */\n background: linear-gradient(180deg, rgba(253,58,64,1) 0%, rgba(253,161,56,1) 100%);\n color: black;\n }\n \n #panic a {\n color: #37528C;\n }\n \n #panic-title {\n margin-top: 30px;\n text-align: center;\n font-size: 42px;\n font-weight: bold;\n }\n \n #panic-body {\n text-align: center;\n font-size: 20px;\n position: absolute;\n top: 100px;\n bottom: 80px;\n left: 50px;\n right: 50px;\n }\n\n #panic-body textarea {\n width: 100%;\n height: 100%;\n }\n \n #panic-footer {\n position: absolute;\n bottom: 30px;\n text-align: center;\n font-size: 20px;\n width: 100%;\n }\n \n #panic ul {\n margin: 35px 0 0 0;\n padding: 0;\n max-width: 100%;\n display: flex;\n list-style-type: none;\n justify-content: center;\n align-items: center;\n }\n \n #panic li {\n padding: 10px 50px;\n }\n </style>\n <style id="dynamic_styles"></style>\n\n <div id="container">\n <div id="play_button"><div class="icon"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" viewBox="0 0 250 250" style="width:100%;height:100%;"><defs><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="125" y1="0" x2="125" y2="250" spreadMethod="pad"><stop offset="0%" stop-color="#FDA138"/><stop offset="100%" stop-color="#FD3A40"/></linearGradient><g id="b"><path fill="url(#a)" d="M250 125q0-52-37-88-36-37-88-37T37 37Q0 73 0 125t37 88q36 37 88 37t88-37q37-36 37-88M87 195V55l100 70-100 70z"/><path fill="#FFF" d="M87 55v140l100-70L87 55z"/></g></defs><use xlink:href="#b"/></svg></div></div>\n </div>\n',e.exports=n},function(e,t,n){const{FLASH_MIMETYPE:r,FUTURESPLASH_MIMETYPE:o,FLASH7_AND_8_MIMETYPE:i,FLASH_MOVIE_MIMETYPE:s,is_swf_filename:_,RufflePlayer:c}=n(1),{register_element:a}=n(0);e.exports=class e extends c{constructor(...e){return super(...e)}connectedCallback(){super.connectedCallback(),this.stream_swf_url(this.attributes.src.value)}get src(){return this.attributes.src.value}set src(e){this.attributes.src=e}static get observedAttributes(){return["src","width","height"]}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),console.log(e+" "+t+" "+n),this.isConnected&&"src"===e&&this.stream_swf_url(this.attributes.src.value)}static is_interdictable(e){return!!e.src&&(e.type.toLowerCase()===r.toLowerCase()||e.type.toLowerCase()===o.toLowerCase()||e.type.toLowerCase()==i.toLowerCase()||e.type.toLowerCase()==s.toLowerCase()||(void 0===e.type||""===e.type)&&_(e.src))}static from_native_embed_element(t){let n=a("ruffle-embed",e),r=document.createElement(n);return r.copy_element(t),r}}},function(e,t,n){const{PublicAPI:r,SourceAPI:o,public_path:i}=n(12);window.RufflePlayer=r.negotiate(window.RufflePlayer,"local",new o("local")),n.p=i(window.RufflePlayer.config,"local")},function(e,t,n){e.exports=n(13)},function(e,t,n){Object.assign(t,n(14)),Object.assign(t,n(4)),Object.assign(t,n(5)),Object.assign(t,n(6)),Object.assign(t,n(0)),Object.assign(t,n(10)),Object.assign(t,n(15)),Object.assign(t,n(1)),Object.assign(t,n(16)),Object.assign(t,n(3)),Object.assign(t,n(2)),t.load_ruffle=n(8),t.RuffleObject=n(7),t.ruffle_shadow_template=n(9)},function(e,t,n){const{Version:r}=n(2),{VersionRange:o}=n(3);t.PublicAPI=class e{constructor(t){this.sources={},this.config={},this.invoked=!1,this.newest_name=!1,void 0!==t&&(t.constructor.name===e.name?(this.sources=t.sources,this.config=t.config,this.invoked=t.invoked,this.conflict=t.conflict,this.newest_name=t.newest_name,t.superseded()):t.constructor===Object&&void 0!==t.config?this.config=t.config:this.conflict=t),"loading"===document.readyState?window.addEventListener("DOMContentLoaded",this.init.bind(this)):window.setTimeout(this.init.bind(this),0)}get version(){return"0.1.0"}register_source(e,t){this.sources[e]=t}newest_source_name(){let e=!1,t=r.from_semver("0.0.0");for(let n in this.sources)if(Object.prototype.hasOwnProperty.call(this.sources,n)){let o=r.from_semver(this.sources[n].version);o.has_precedence_over(t)&&(e=n,t=o)}return e}init(){if(!this.invoked){if(this.invoked=!0,this.newest_name=this.newest_source_name(),!1===this.newest_name)throw new Error("No registered Ruffle source!");!1!==this.config.polyfills&&this.sources[this.newest_name].polyfill()}}newest(){return this.sources[this.newest_source_name()]}satisfying(e){let t=o.from_requirement_string(e),n=null;for(let e in this.sources)if(Object.prototype.hasOwnProperty.call(this.sources,e)){let o=r.from_semver(this.sources[e].version);t.satisfied_by(o)&&(n=this.sources[e])}return n}local_compatible(){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(t,n,r){let o;if(o=void 0!==t&&t.constructor.name==e.name?t:new e(t),void 0!==n&&void 0!==r){o.register_source(n,r),!1!==o.config.polyfills&&r.plugin_polyfill()}return o}}},function(e,t){t.copy_to_audio_buffer=function(e,t,n){if(t){e.getChannelData(0).set(t)}if(n){e.getChannelData(1).set(n)}}},function(e,t,n){const{polyfill:r,plugin_polyfill:o}=n(6),{register_element:i}=n(0),{RufflePlayer:s}=n(1);t.SourceAPI=class{constructor(e){this.name=e}get version(){return"0.1.0"}polyfill(){r()}plugin_polyfill(){o()}create_player(){let e=i("ruffle-player",s);return document.createElement(e)}}}]);
!function(e){function t(t){for(var n,o,i=t[0],s=t[1],_=0,c=[];_<i.length;_++)o=i[_],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&c.push(r[o][0]),r[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(t);c.length;)c.shift()()}var n={},r={0:0};var o={};var i={19:function(){return{"./ruffle_bg.js":{__wbindgen_object_drop_ref:function(e){return n[18].exports.hf(e)},__wbindgen_object_clone_ref:function(e){return n[18].exports.gf(e)},__wbindgen_string_new:function(e,t){return n[18].exports.kf(e,t)},__wbindgen_is_function:function(e){return n[18].exports.bf(e)},__wbg_new_df6e6ab7a65c4c4d:function(e,t){return n[18].exports.Tc(e,t)},__wbg_panic_ac7031714bbab706:function(e,t){return n[18].exports.id(e,t)},__wbindgen_cb_drop:function(e){return n[18].exports.Re(e)},__wbg_copytoaudiobuffer_bc2638d0c6c805e8:function(e,t,r,o,i){return n[18].exports.T(e,t,r,o,i)},__wbg_oncallbackavailable_e2a15784d5ac64f1:function(e,t,r){return n[18].exports.fd(e,t,r)},__wbindgen_number_new:function(e){return n[18].exports.ff(e)},__wbg_new_59cb74e423758ede:function(){return n[18].exports.Nc()},__wbg_stack_558ba5917b466edd:function(e,t){return n[18].exports.ke(e,t)},__wbg_error_4bb6c2a97407129a:function(e,t){return n[18].exports.Kb(e,t)},__wbindgen_is_undefined:function(e){return n[18].exports.cf(e)},__wbg_instanceof_WebGl2RenderingContext_836e46859b2055b5:function(e){return n[18].exports.wc(e)},__wbg_bindVertexArray_8bb02f8645a29e05:function(e,t){return n[18].exports.u(e,t)},__wbg_blitFramebuffer_d13f550828fdb0e9:function(e,t,r,o,i,s,_,c,a,u,f){return n[18].exports.w(e,t,r,o,i,s,_,c,a,u,f)},__wbg_createVertexArray_fd08eb7c8f8e86a3:function(e){return n[18].exports.mb(e)},__wbg_renderbufferStorageMultisample_e2e5abdd40c801c8:function(e,t,r,o,i,s){return n[18].exports.sd(e,t,r,o,i,s)},__wbg_texImage2D_917b0bb22a5467b7:function(e,t,r,o,i,s,_,c,a,u,f){return n[18].exports.we(e,t,r,o,i,s,_,c,a,u,f)},__wbg_bindFramebuffer_9e33974abcd4cff4:function(e,t,r){return n[18].exports.n(e,t,r)},__wbg_bindRenderbuffer_7a9383e4cc727ec6:function(e,t,r){return n[18].exports.p(e,t,r)},__wbg_bindTexture_a03a7320443c8a4d:function(e,t,r){return n[18].exports.r(e,t,r)},__wbg_createFramebuffer_1b4177e55ee28baa:function(e){return n[18].exports.bb(e)},__wbg_createRenderbuffer_c2f2b86d9f047325:function(e){return n[18].exports.fb(e)},__wbg_createTexture_e172faa9d6a303c1:function(e){return n[18].exports.kb(e)},__wbg_deleteFramebuffer_d2d4b509d473f8ac:function(e,t){return n[18].exports.rb(e,t)},__wbg_deleteRenderbuffer_333ef8a111c46ff6:function(e,t){return n[18].exports.sb(e,t)},__wbg_deleteTexture_71c09d0186504319:function(e,t){return n[18].exports.tb(e,t)},__wbg_framebufferRenderbuffer_943e7c72d659ce60:function(e,t,r,o,i){return n[18].exports.Qb(e,t,r,o,i)},__wbg_framebufferTexture2D_e7ccac9b20c947d3:function(e,t,r,o,i,s){return n[18].exports.Rb(e,t,r,o,i,s)},__wbg_getError_a6d456156995e29e:function(e){return n[18].exports.Xb(e)},__wbg_getParameter_d680f5c6d50aba30:function(e,t){return n[18].exports.ac(e,t)},__wbg_texParameteri_f3be7a9c7fc03dac:function(e,t,r,o){return n[18].exports.ye(e,t,r,o)},__wbg_instanceof_Window_adf3196bdc02b386:function(e){return n[18].exports.yc(e)},__wbg_document_6cc8d0b87c0a99b9:function(e){return n[18].exports.Cb(e)},__wbg_location_9b924f46d7090431:function(e){return n[18].exports.Hc(e)},__wbg_navigator_71c234326c0a2ebb:function(e){return n[18].exports.Kc(e)},__wbg_devicePixelRatio_599d41a9267fa1ca:function(e){return n[18].exports.yb(e)},__wbg_performance_8594a974edffb1dc:function(e){return n[18].exports.jd(e)},__wbg_localStorage_47e8ad68b9e5dcb9:function(e){return n[18].exports.Gc(e)},__wbg_cancelAnimationFrame_7f3ba4191e67c86b:function(e,t){return n[18].exports.F(e,t)},__wbg_open_7e3a4789bd559091:function(e,t,r,o,i){return n[18].exports.gd(e,t,r,o,i)},__wbg_requestAnimationFrame_89935c9d6ac25d2f:function(e,t){return n[18].exports.td(e,t)},__wbg_fetch_91f098921cc7cca8:function(e,t){return n[18].exports.Mb(e,t)},__wbg_instanceof_CanvasRenderingContext2d_5b86ec94bce38d5b:function(e){return n[18].exports.qc(e)},__wbg_setglobalAlpha_b88eed33e546d000:function(e,t){return n[18].exports.Td(e,t)},__wbg_setglobalCompositeOperation_fabb673593c3527d:function(e,t,r){return n[18].exports.Ud(e,t,r)},__wbg_setstrokeStyle_ab391a0f9102e10c:function(e,t){return n[18].exports.ge(e,t)},__wbg_setfillStyle_2da87acf76dcbbcb:function(e,t){return n[18].exports.Rd(e,t)},__wbg_setfilter_27f986e04414e9dd:function(e,t,r){return n[18].exports.Sd(e,t,r)},__wbg_setlineWidth_85798545cf8a1f9d:function(e,t){return n[18].exports.Zd(e,t)},__wbg_setlineCap_1caf8af038fa84ce:function(e,t,r){return n[18].exports.Xd(e,t,r)},__wbg_setlineJoin_4f5df004db140cd2:function(e,t,r){return n[18].exports.Yd(e,t,r)},__wbg_setmiterLimit_4e49c930735a741e:function(e,t){return n[18].exports.de(e,t)},__wbg_drawImage_75bbd0b57d5e32dd:function(e,t,r,o){return n[18].exports.Fb(e,t,r,o)},__wbg_drawImage_819228aeb2f0b119:function(e,t,r,o){return n[18].exports.Gb(e,t,r,o)},__wbg_fill_d2f103e0577b7b5b:function(e,t){return n[18].exports.Pb(e,t)},__wbg_stroke_9b2913e927c48765:function(e,t){return n[18].exports.re(e,t)},__wbg_createPattern_724bbee1dc7fbc06:function(e,t,r,o){return n[18].exports.db(e,t,r,o)},__wbg_clearRect_d61bc1791ebc06b1:function(e,t,r,o,i){return n[18].exports.H(e,t,r,o,i)},__wbg_fillRect_e9ad0b5dde70ab3b:function(e,t,r,o,i){return n[18].exports.Nb(e,t,r,o,i)},__wbg_resetTransform_3593808a72be4d22:function(e){return n[18].exports.ud(e)},__wbg_setTransform_6277770e3d1afe42:function(e,t,r,o,i,s,_){return n[18].exports.Fd(e,t,r,o,i,s,_)},__wbg_href_3c5dae0bee2f925f:function(e,t){return n[18].exports.nc(e,t)},__wbg_assign_f7a8a84d2e1827d2:function(e,t,r){return n[18].exports.j(e,t,r)},__wbg_new_c745ccc01b376c8e:function(){return n[18].exports.Rc()},__wbg_addPath_6985196bfa780c31:function(e,t,r){return n[18].exports.f(e,t,r)},__wbg_closePath_912631a0c9ac0064:function(e){return n[18].exports.M(e)},__wbg_lineTo_728d399981179ef2:function(e,t,r){return n[18].exports.Dc(e,t,r)},__wbg_moveTo_ecd23e390dce4720:function(e,t,r){return n[18].exports.Jc(e,t,r)},__wbg_quadraticCurveTo_05fc09e9a7d1d0d9:function(e,t,r,o,i){return n[18].exports.od(e,t,r,o,i)},__wbg_get_f14c7e4642042b61:function(e,t,r,o){return n[18].exports.jc(e,t,r,o)},__wbg_set_68df6a0f61b27851:function(e,t,r,o,i){return n[18].exports.Jd(e,t,r,o,i)},__wbg_delete_face628b07e1a4fd:function(e,t,r){return n[18].exports.ub(e,t,r)},__wbg_instanceof_SvgsvgElement_ae5e90d6ee9c19df:function(e){return n[18].exports.vc(e)},__wbg_createSVGMatrix_e65f8dcdedc79a27:function(e){return n[18].exports.gb(e)},__wbg_length_3de3ce5b8cd74b6e:function(e){return n[18].exports.Cc(e)},__wbg_setProperty_42eabadfcd7d6199:function(e,t,r,o,i){return n[18].exports.Dd(e,t,r,o,i)},__wbg_offsetX_204ab4b52fb9d668:function(e){return n[18].exports.dd(e)},__wbg_offsetY_3d8860ff1285d58d:function(e){return n[18].exports.ed(e)},__wbg_bindVertexArrayOES_e8d5f6f1ec4f0ecc:function(e,t){return n[18].exports.t(e,t)},__wbg_createVertexArrayOES_e430ded3ba919d50:function(e){return n[18].exports.lb(e)},__wbg_connect_a4e3fd3dce194b2c:function(e,t){return n[18].exports.R(e,t)},__wbg_connect_318e4dfc30ec4291:function(e,t,r){return n[18].exports.Q(e,t,r)},__wbg_connect_fdf6aede4bd20dd7:function(e,t,r,o){return n[18].exports.S(e,t,r,o)},__wbg_disconnect_8df0b73a8807dcc1:function(e){return n[18].exports.Bb(e)},__wbg_outputBuffer_04e4720b03d5341b:function(e){return n[18].exports.hd(e)},__wbg_setTransform_2de4dcb9791e9d70:function(e,t){return n[18].exports.Ed(e,t)},__wbg_seta_499def04d7a63081:function(e,t){return n[18].exports.Kd(e,t)},__wbg_setb_19ed0a1f872c4d40:function(e,t){return n[18].exports.Ld(e,t)},__wbg_setc_0adcde3104abfbb1:function(e,t){return n[18].exports.Nd(e,t)},__wbg_setd_8d7ff1cbc33fb1b6:function(e,t){return n[18].exports.Od(e,t)},__wbg_sete_26ca52a63697bef0:function(e,t){return n[18].exports.Pd(e,t)},__wbg_setf_92db5e2e72523fc9:function(e,t){return n[18].exports.Qd(e,t)},__wbg_deltaY_35bf8632b9f25820:function(e){return n[18].exports.wb(e)},__wbg_deltaMode_1fd222964cdbb5af:function(e){return n[18].exports.vb(e)},__wbg_setbuffer_68371a3a4f02f6fd:function(e,t){return n[18].exports.Md(e,t)},__wbg_setloop_cfa1a2c57091b804:function(e,t){return n[18].exports.ce(e,t)},__wbg_setloopStart_97592c08e229a7a9:function(e,t){return n[18].exports.be(e,t)},__wbg_setloopEnd_0e8262b4b2b6981a:function(e,t){return n[18].exports.ae(e,t)},__wbg_start_508d7a1a760587f2:function(e){return n[18].exports.le(e)},__wbg_start_a0dbbf4da15de9ac:function(e,t,r){return n[18].exports.me(e,t,r)},__wbg_stop_b0c4c0c7932cc9cb:function(e,t){return n[18].exports.qe(e,t)},__wbg_instanceof_HtmlFormElement_12a88ddb70561741:function(e){return n[18].exports.sc(e)},__wbg_submit_c116bf5505a08ea7:function(e){return n[18].exports.te(e)},__wbg_pointerId_e7b9f2d5782623b5:function(e){return n[18].exports.ld(e)},__wbg_instanceof_Response_328c03967a8e8902:function(e){return n[18].exports.uc(e)},__wbg_arrayBuffer_dc33ab7b8cdf0d63:function(e){return n[18].exports.i(e)},__wbg_instanceof_HtmlCanvasElement_4f5b5ec6cd53ccf3:function(e){return n[18].exports.rc(e)},__wbg_width_a22f9855caa54b53:function(e){return n[18].exports.Oe(e)},__wbg_setwidth_5f26a8ba9dbfa0d0:function(e,t){return n[18].exports.he(e,t)},__wbg_height_9a404a6b3c61c7ef:function(e){return n[18].exports.mc(e)},__wbg_setheight_70f62727aa9383c2:function(e,t){return n[18].exports.Vd(e,t)},__wbg_getContext_37ca0870acb096d9:function(e,t,r){return n[18].exports.Vb(e,t,r)},__wbg_getContext_e7747f5b022c18e9:function(e,t,r,o){return n[18].exports.Wb(e,t,r,o)},__wbg_key_590d4d2a765d1b58:function(e,t){return n[18].exports.Ac(e,t)},__wbg_code_c3b28f37b4149e68:function(e,t){return n[18].exports.N(e,t)},__wbg_now_49847177a6d1d57e:function(e){return n[18].exports.bd(e)},__wbg_newwithstrandinit_d1de1bfcd175e38a:function(e,t,r){return n[18].exports.Yc(e,t,r)},__wbg_setonaudioprocess_c1f2b70a7390fc20:function(e,t){return n[18].exports.ee(e,t)},__wbg_body_8c888fe47d81765f:function(e){return n[18].exports.x(e)},__wbg_createElement_5bdf88a5af9f17c5:function(e,t,r){return n[18].exports.ab(e,t,r)},__wbg_createElementNS_ea14cb45a87a0719:function(e,t,r,o,i){return n[18].exports.Z(e,t,r,o,i)},__wbg_setid_7bffc7f165147751:function(e,t,r){return n[18].exports.Wd(e,t,r)},__wbg_clientWidth_857377e072b59b4b:function(e){return n[18].exports.L(e)},__wbg_clientHeight_daa13ddd5bd5136d:function(e){return n[18].exports.K(e)},__wbg_querySelector_cb87c7b52f337f99:function(e,t,r){return n[18].exports.pd(e,t,r)},__wbg_releasePointerCapture_27065a107bb695b8:function(e,t){return n[18].exports.qd(e,t)},__wbg_setAttribute_727bdb9763037624:function(e,t,r,o,i){return n[18].exports.Bd(e,t,r,o,i)},__wbg_setAttributeNS_06dd5dd3824eee15:function(e,t,r,o,i,s,_){return n[18].exports.Ad(e,t,r,o,i,s,_)},__wbg_setPointerCapture_625b38d5daedd8cc:function(e,t){return n[18].exports.Cd(e,t)},__wbg_remove_cc7ef8dcae8cd130:function(e){return n[18].exports.rd(e)},__wbg_instanceof_WebGlRenderingContext_a37cc8c6016098e4:function(e){return n[18].exports.xc(e)},__wbg_bufferData_4af3c6bf8f7dd67a:function(e,t,r,o,i){return n[18].exports.y(e,t,r,o,i)},__wbg_texImage2D_8d677a54ab75452c:function(e,t,r,o,i,s,_,c,a,u,f){return n[18].exports.ve(e,t,r,o,i,s,_,c,a,u,f)},__wbg_uniform1fv_75ce61cf3a7da0e8:function(e,t,r,o){return n[18].exports.Ce(e,t,r,o)},__wbg_uniform4fv_10a90f8302ac5e40:function(e,t,r,o){return n[18].exports.Ee(e,t,r,o)},__wbg_uniformMatrix3fv_a197f321b6f12a6c:function(e,t,r,o,i){return n[18].exports.Fe(e,t,r,o,i)},__wbg_uniformMatrix4fv_8f6f3c8389e3b449:function(e,t,r,o,i){return n[18].exports.Ge(e,t,r,o,i)},__wbg_activeTexture_7246ae8c464868b4:function(e,t){return n[18].exports.b(e,t)},__wbg_attachShader_d213e7ecd3432f4a:function(e,t,r){return n[18].exports.k(e,t,r)},__wbg_bindBuffer_f0ba4bbfd5b08434:function(e,t,r){return n[18].exports.m(e,t,r)},__wbg_bindFramebuffer_b19d5935fc47b348:function(e,t,r){return n[18].exports.o(e,t,r)},__wbg_bindRenderbuffer_82771447def5291d:function(e,t,r){return n[18].exports.q(e,t,r)},__wbg_bindTexture_c00656e6f0530ee7:function(e,t,r){return n[18].exports.s(e,t,r)},__wbg_blendFunc_c7c9cda2a0e4b97f:function(e,t,r){return n[18].exports.v(e,t,r)},__wbg_clear_c9cc14c37d12a838:function(e,t){return n[18].exports.J(e,t)},__wbg_clearColor_73695d8d401f87e6:function(e,t,r,o,i){return n[18].exports.G(e,t,r,o,i)},__wbg_clearStencil_39525aca2b7546ca:function(e,t){return n[18].exports.I(e,t)},__wbg_colorMask_9e96ca3891ba9085:function(e,t,r,o,i){return n[18].exports.O(e,t,r,o,i)},__wbg_compileShader_961db910485f4a76:function(e,t){return n[18].exports.P(e,t)},__wbg_createBuffer_4deb008968921e7f:function(e){return n[18].exports.V(e)},__wbg_createProgram_b502951c403f671a:function(e){return n[18].exports.eb(e)},__wbg_createShader_7bd4296ba9c32133:function(e,t){return n[18].exports.ib(e,t)},__wbg_createTexture_e0437703d5b41f24:function(e){return n[18].exports.jb(e)},__wbg_disable_6d4d32f05b00518e:function(e,t){return n[18].exports.Ab(e,t)},__wbg_disableVertexAttribArray_23f37b3aae712b33:function(e,t){return n[18].exports.zb(e,t)},__wbg_drawElements_b22db7173101346e:function(e,t,r,o,i){return n[18].exports.Eb(e,t,r,o,i)},__wbg_enable_700dbd1724c67920:function(e,t){return n[18].exports.Ib(e,t)},__wbg_enableVertexAttribArray_4b6614b028d442ff:function(e,t){return n[18].exports.Hb(e,t)},__wbg_getAttribLocation_98ff7fc515cda07d:function(e,t,r,o){return n[18].exports.Ub(e,t,r,o)},__wbg_getExtension_d4422753d7c5b70a:function(e,t,r){return n[18].exports.Yb(e,t,r)},__wbg_getParameter_c2bcbc1173c374b4:function(e,t){return n[18].exports.Zb(e,t)},__wbg_getProgramInfoLog_a84afc629d343c75:function(e,t,r){return n[18].exports.bc(e,t,r)},__wbg_getProgramParameter_327111ebb2bca7fb:function(e,t,r){return n[18].exports.cc(e,t,r)},__wbg_getShaderInfoLog_a9529ee3f2ebd3e0:function(e,t,r){return n[18].exports.dc(e,t,r)},__wbg_getUniformLocation_55700686ebe625a9:function(e,t,r,o){return n[18].exports.gc(e,t,r,o)},__wbg_linkProgram_7c29f15a5150d174:function(e,t){return n[18].exports.Fc(e,t)},__wbg_pixelStorei_1c5838b6e16da007:function(e,t,r){return n[18].exports.kd(e,t,r)},__wbg_scissor_5d19639b621ab86f:function(e,t,r,o,i){return n[18].exports.yd(e,t,r,o,i)},__wbg_shaderSource_bf6be2cc97a14fc1:function(e,t,r,o){return n[18].exports.ie(e,t,r,o)},__wbg_stencilFunc_3d8f118cbe40995e:function(e,t,r,o){return n[18].exports.ne(e,t,r,o)},__wbg_stencilMask_8cd765414cb3b402:function(e,t){return n[18].exports.oe(e,t)},__wbg_stencilOp_f74034b278688178:function(e,t,r,o){return n[18].exports.pe(e,t,r,o)},__wbg_texParameteri_c9ce5bb9e350c6cd:function(e,t,r,o){return n[18].exports.xe(e,t,r,o)},__wbg_uniform1f_aef9f13b531f3269:function(e,t,r){return n[18].exports.Be(e,t,r)},__wbg_uniform1i_bbbce4278738d73e:function(e,t,r){return n[18].exports.De(e,t,r)},__wbg_useProgram_51f7808f5955c03a:function(e,t){return n[18].exports.He(e,t)},__wbg_vertexAttribPointer_76ddec1ed8425967:function(e,t,r,o,i,s,_){return n[18].exports.Le(e,t,r,o,i,s,_)},__wbg_viewport_dd0dedc488a8dba4:function(e,t,r,o,i){return n[18].exports.Me(e,t,r,o,i)},__wbg_debug_b443de592faba09f:function(e){return n[18].exports.pb(e)},__wbg_error_7f083efc6bc6752c:function(e){return n[18].exports.Lb(e)},__wbg_info_6d4a86f0fd590270:function(e){return n[18].exports.oc(e)},__wbg_log_3bafd82835c6de6d:function(e){return n[18].exports.Ic(e)},__wbg_warn_d05e82888b7fad05:function(e){return n[18].exports.Ne(e)},__wbg_style_9a41d46c005f7596:function(e){return n[18].exports.se(e)},__wbg_linearRampToValueAtTime_4028c11b93eb9d3f:function(e,t,r){return n[18].exports.Ec(e,t,r)},__wbg_setValueAtTime_ff5c6049704e5bbd:function(e,t,r){return n[18].exports.Gd(e,t,r)},__wbg_newwithbuffersourcesequenceandoptions_d4b68a91ae9859db:function(e,t){return n[18].exports.Wc(e,t)},__wbg_currentTarget_273561c7aeba291c:function(e){return n[18].exports.nb(e)},__wbg_preventDefault_93d06688748bfc14:function(e){return n[18].exports.md(e)},__wbg_addEventListener_9e7b0c3f65ebc0d7:function(e,t,r,o){return n[18].exports.c(e,t,r,o)},__wbg_addEventListener_f0baf69c9c7425c9:function(e,t,r,o,i){return n[18].exports.e(e,t,r,o,i)},__wbg_addEventListener_cb2d36c36a655653:function(e,t,r,o,i){return n[18].exports.d(e,t,r,o,i)},__wbg_setsrc_4e562fe2dd3f545a:function(e,t,r){return n[18].exports.fe(e,t,r)},__wbg_new_6c05171898e5da27:function(){return n[18].exports.Oc()},__wbg_newwithwidthandheight_0b5685149e62300b:function(e,t){return n[18].exports.Zc(e,t)},__wbg_destination_647daf47bfcda8af:function(e){return n[18].exports.xb(e)},__wbg_sampleRate_2cc9cd67bcfefcb6:function(e){return n[18].exports.xd(e)},__wbg_currentTime_9790fc4a74b6d62f:function(e){return n[18].exports.ob(e)},__wbg_new_c759b32bc33d4dfa:function(){return n[18].exports.Sc()},__wbg_suspend_3d1d7bc7f13bd2e5:function(e){return n[18].exports.ue(e)},__wbg_createBuffer_f42f7a85c347fd2e:function(e,t,r,o){return n[18].exports.W(e,t,r,o)},__wbg_createBufferSource_ba46d5cecab7525f:function(e){return n[18].exports.U(e)},__wbg_createChannelMerger_0f704f55e41d0a41:function(e,t){return n[18].exports.X(e,t)},__wbg_createChannelSplitter_7836172b38f00856:function(e,t){return n[18].exports.Y(e,t)},__wbg_createGain_76746a6a33b74c41:function(e){return n[18].exports.cb(e)},__wbg_createScriptProcessor_957057dfd22e709b:function(e,t,r,o){return n[18].exports.hb(e,t,r,o)},__wbg_decodeAudioData_4f910c2ccdf7b7c2:function(e,t,r,o){return n[18].exports.qb(e,t,r,o)},__wbg_resume_777b6136e3bbedbe:function(e){return n[18].exports.wd(e)},__wbg_gain_4df90433f6e80c75:function(e){return n[18].exports.Tb(e)},__wbg_userAgent_ba13c085c92544d5:function(e,t){return n[18].exports.Ie(e,t)},__wbg_baseURI_647884e97d486882:function(e,t){return n[18].exports.l(e,t)},__wbg_appendChild_77215fd672b162c5:function(e,t){return n[18].exports.g(e,t)},__wbg_get_27693110cb44e852:function(e,t){return n[18].exports.ic(e,t)},__wbg_next_2966fa909601a075:function(e){return n[18].exports.ad(e)},__wbg_done_037d0a173aef1834:function(e){return n[18].exports.Db(e)},__wbg_value_e60bbfb7d52af62f:function(e){return n[18].exports.Je(e)},__wbg_get_0e3f2950cdf758ae:function(e,t){return n[18].exports.hc(e,t)},__wbg_call_8e95613cc6524977:function(e,t){return n[18].exports.D(e,t)},__wbg_new_e13110f81ae347cf:function(){return n[18].exports.Uc()},__wbg_isArray_8719d1387c4e1aca:function(e){return n[18].exports.zc(e)},__wbg_of_de6ee285099ec772:function(e,t){return n[18].exports.cd(e,t)},__wbg_push_b46eeec52d2b03bb:function(e,t){return n[18].exports.nd(e,t)},__wbg_instanceof_ArrayBuffer_86f01c089ac2692f:function(e){return n[18].exports.pc(e)},__wbg_new_992c5abe0aba19b9:function(e){return n[18].exports.Pc(e)},__wbg_slice_736f8024878d6a4c:function(e,t,r){return n[18].exports.je(e,t,r)},__wbg_values_a8e8f7b69d5eb117:function(e){return n[18].exports.Ke(e)},__wbg_newnoargs_f3b8a801d5d4b079:function(e,t){return n[18].exports.Vc(e,t)},__wbg_apply_af51c5bdbfe42016:function(e,t,r){return n[18].exports.h(e,t,r)},__wbg_call_d713ea0274dfc6d2:function(e,t,r){return n[18].exports.E(e,t,r)},__wbg_getTime_29addd71c7089c47:function(e){return n[18].exports.ec(e)},__wbg_getTimezoneOffset_1b96e0e6b6ed265c:function(e){return n[18].exports.fc(e)},__wbg_new0_a3af66503e735141:function(){return n[18].exports.Lc()},__wbg_instanceof_Object_75681edeb8be7268:function(e){return n[18].exports.tc(e)},__wbg_entries_0eb51034d48ad820:function(e){return n[18].exports.Jb(e)},__wbg_fromEntries_e51e19fc1d1624ee:function(e){return n[18].exports.Sb(e)},__wbg_new_3e06d4f36713e4cb:function(){return n[18].exports.Mc()},__wbg_resolve_2529512c3bb73938:function(e){return n[18].exports.vd(e)},__wbg_then_4a7a614abbbe6d81:function(e,t){return n[18].exports.Ae(e,t)},__wbg_then_3b7ac098cfda2fa5:function(e,t,r){return n[18].exports.ze(e,t,r)},__wbg_self_07b2f89e82ceb76d:function(){return n[18].exports.zd()},__wbg_window_ba85d88572adc0dc:function(){return n[18].exports.Pe()},__wbg_globalThis_b9277fc37e201fe5:function(){return n[18].exports.kc()},__wbg_global_e16303fe83e1d57f:function(){return n[18].exports.lc()},__wbg_buffer_49131c283a06686f:function(e){return n[18].exports.A(e)},__wbg_newwithbyteoffsetandlength_c0f38401daad5a22:function(e,t,r){return n[18].exports.Xc(e,t,r)},__wbg_length_2b13641a9d906653:function(e){return n[18].exports.Bc(e)},__wbg_new_9b295d24cf1d706f:function(e){return n[18].exports.Qc(e)},__wbg_set_3bb960a9975f3cd2:function(e,t,r){return n[18].exports.Id(e,t,r)},__wbg_fill_8f0f872f8b84a115:function(e,t,r,o){return n[18].exports.Ob(e,t,r,o)},__wbg_buffer_3d4c28111c30d143:function(e){return n[18].exports.z(e)},__wbg_byteLength_9828cd72f704b139:function(e){return n[18].exports.B(e)},__wbg_byteOffset_00403b83b3b9fd7e:function(e){return n[18].exports.C(e)},__wbg_set_304f2ec1a3ab3b79:function(e,t,r){return n[18].exports.Hd(e,t,r)},__wbindgen_number_get:function(e,t){return n[18].exports.ef(e,t)},__wbindgen_string_get:function(e,t){return n[18].exports.jf(e,t)},__wbindgen_boolean_get:function(e){return n[18].exports.Qe(e)},__wbindgen_debug_string:function(e,t){return n[18].exports.af(e,t)},__wbindgen_throw:function(e,t){return n[18].exports.lf(e,t)},__wbindgen_rethrow:function(e){return n[18].exports.if(e)},__wbindgen_memory:function(){return n[18].exports.df()},__wbindgen_closure_wrapper490:function(e,t,r){return n[18].exports.Te(e,t,r)},__wbindgen_closure_wrapper492:function(e,t,r){return n[18].exports.Ue(e,t,r)},__wbindgen_closure_wrapper494:function(e,t,r){return n[18].exports.Ve(e,t,r)},__wbindgen_closure_wrapper496:function(e,t,r){return n[18].exports.We(e,t,r)},__wbindgen_closure_wrapper498:function(e,t,r){return n[18].exports.Xe(e,t,r)},__wbindgen_closure_wrapper500:function(e,t,r){return n[18].exports.Ye(e,t,r)},__wbindgen_closure_wrapper502:function(e,t,r){return n[18].exports.Ze(e,t,r)},__wbindgen_closure_wrapper1154:function(e,t,r){return n[18].exports.Se(e,t,r)}}}}};function s(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var _=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=_);var c,a=document.createElement("script");a.charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.src=function(e){return s.p+"core.ruffle."+{1:"7673bf9ef355429953b8"}[e]+".js"}(e);var u=new Error;c=function(t){a.onerror=a.onload=null,clearTimeout(f);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",u.name="ChunkLoadError",u.type=o,u.request=i,n[1](u)}r[e]=void 0}};var f=setTimeout((function(){c({type:"timeout",target:a})}),12e4);a.onerror=a.onload=c,document.head.appendChild(a)}return({1:[19]}[e]||[]).forEach((function(e){var n=o[e];if(n)t.push(n);else{var r,_=i[e](),c=fetch(s.p+""+{19:"d878d87acadc853ae8e1"}[e]+".module.wasm");if(_ instanceof Promise&&"function"==typeof WebAssembly.compileStreaming)r=Promise.all([WebAssembly.compileStreaming(c),_]).then((function(e){return WebAssembly.instantiate(e[0],e[1])}));else if("function"==typeof WebAssembly.instantiateStreaming)r=WebAssembly.instantiateStreaming(c,_);else{r=c.then((function(e){return e.arrayBuffer()})).then((function(e){return WebAssembly.instantiate(e,_)}))}t.push(o[e]=r.then((function(t){return s.w[e]=(t.instance||t).exports})))}})),Promise.all(t)},s.m=e,s.c=n,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s.oe=function(e){throw console.error(e),e},s.w={};var _=window.RufflePlayerLoader=window.RufflePlayerLoader||[],c=_.push.bind(_);_.push=t,_=_.slice();for(var a=0;a<_.length;a++)t(_[a]);var u=c;s(s.s=11)}([function(e,t){var n={};t.lookup_element=function(e){let t=n[e];return void 0!==t?{internal_name:e,name:t.name,class:t.class}:null},t.register_element=function(e,t){if(void 0!==n[e]){if(n[e].class!==t)throw new Error("Internal naming conflict on "+e);return n[e].name}let r=0;for(;;)try{let o=e;return r>0&&(o=o+"-"+r),window.customElements.define(o,t),n[e]={class:t,name:o,internal_name:e},o}catch(e){"NotSupportedError"===e.name&&(r+=1)}}},function(e,t,n){const r=n(8),o=n(9),{lookup_element:i}=n(0);t.FLASH_MIMETYPE="application/x-shockwave-flash",t.FUTURESPLASH_MIMETYPE="application/futuresplash",t.FLASH7_AND_8_MIMETYPE="application/x-shockwave-flash2-preview",t.FLASH_MOVIE_MIMETYPE="application/vnd.adobe.flash-movie",t.FLASH_ACTIVEX_CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";const s=/^\s*(\d+(\.\d+)?(%)?)/;t.RufflePlayer=class e extends HTMLElement{constructor(...e){let t=super(...e);return t.shadow=t.attachShadow({mode:"closed"}),t.shadow.appendChild(o.content.cloneNode(!0)),t.dynamic_styles=t.shadow.getElementById("dynamic_styles"),t.container=t.shadow.getElementById("container"),t.play_button=t.shadow.getElementById("play_button"),t.play_button&&t.play_button.addEventListener("click",t.play_button_clicked.bind(t)),t.instance=null,t.allow_script_access=!1,t._trace_observer=null,t.Ruffle=r(),t}connectedCallback(){this.update_styles()}static get observedAttributes(){return["width","height"]}attributeChangedCallback(e){"width"!==e&&"height"!==e||this.update_styles()}disconnectedCallback(){this.instance&&(this.instance.destroy(),this.instance=null,console.log("Ruffle instance destroyed."))}update_styles(){if(this.dynamic_styles.sheet){if(this.dynamic_styles.sheet.rules)for(var t=0;t<this.dynamic_styles.sheet.rules.length;t++)this.dynamic_styles.sheet.deleteRule(t);if(this.attributes.width){let t=e.html_dimension_to_css_dimension(this.attributes.width.value);null!==t&&this.dynamic_styles.sheet.insertRule(`:host { width: ${t}; }`)}if(this.attributes.height){let t=e.html_dimension_to_css_dimension(this.attributes.height.value);null!==t&&this.dynamic_styles.sheet.insertRule(`:host { height: ${t}; }`)}}}is_unused_fallback_object(){let e=this.parentNode,t=i("ruffle-object");if(null!==t)do{if(e.nodeName===t.name)return!0;e=e.parentNode}while(e!=document);return!1}async ensure_fresh_instance(){this.instance&&(this.instance.destroy(),this.instance=null,console.log("Ruffle instance destroyed."));let e=await this.Ruffle.catch(e=>{throw console.error("Serious error loading Ruffle: "+e),e});this.instance=e.new(this.container,this,this.allow_script_access),console.log("New Ruffle instance created.")}async stream_swf_url(e){try{this.isConnected&&!this.is_unused_fallback_object()?(console.log("Loading SWF file "+e),await this.ensure_fresh_instance(),this.instance.stream_from(e),this.play_button&&(this.play_button.style.display="block")):console.warn("Ignoring attempt to play a disconnected or suspended Ruffle element")}catch(e){throw console.error("Serious error occurred loading SWF file: "+e),this.panic(e),e}}play_button_clicked(){this.instance&&(this.instance.play(),this.play_button&&(this.play_button.style.display="none"))}pause(){this.instance&&(this.instance.pause(),this.play_button&&(this.play_button.style.display="block"))}async play_swf_data(e){try{this.isConnected&&!this.is_unused_fallback_object()?(console.log("Got SWF data"),await this.ensure_fresh_instance(),this.instance.load_data(new Uint8Array(e)),console.log("New Ruffle instance created."),this.play_button&&(this.play_button.style.display="block")):console.warn("Ignoring attempt to play a disconnected or suspended Ruffle element")}catch(e){throw console.error("Serious error occurred loading SWF file: "+e),this.panic(e),e}}copy_element(e){if(e){for(let t of e.attributes)if(t.specified){if("title"===t.name&&"Adobe Flash Player"===t.value)continue;try{this.setAttribute(t.name,t.value)}catch(e){console.warn(`Unable to set attribute ${t.name} on Ruffle instance`)}}for(let t of Array.from(e.children))this.appendChild(t)}}static html_dimension_to_css_dimension(e){if(e){let t=e.match(s);if(t){let e=t[1];return t[3]||(e+="px"),e}}return null}on_callback_available(e){const t=this.instance;this[e]=(...n)=>t.call_exposed_callback(e,n)}set trace_observer(e){this.instance.set_trace_observer(e)}panic(e){this.container.innerHTML='\n <div id="panic">\n <div id="panic-title">Something went wrong :(</div>\n <div id="panic-body">\n <p>Ruffle has encountered a major issue whilst trying to display this Flash content.</p>\n <p>This isn\'t supposed to happen, so we\'d really appreciate if you could file a bug!</p>\n </div>\n <div id="panic-footer">\n <ul>\n <li><a href="https://github.com/ruffle-rs/ruffle/issues/new">report bug</a></li>\n <li><a href="#" id="panic-view-details">view error details</a></li>\n </ul>\n </div>\n </div>\n ',this.container.querySelector("#panic-view-details").onclick=()=>{let t="# Error Info\n";return e instanceof Error?(t+=`Error name: ${e.name}\n`,t+=`Error message: ${e.message}\n`,e.stack&&(t+=`Error stack:\n\`\`\`\n${e.stack}\n\`\`\`\n`)):t+=`Error: ${e}\n`,t+="\n# Player Info\n",t+=this.debug_player_info(),t+="\n# Page Info\n",t+=`Page URL: ${document.location.href}\n`,t+="\n# Browser Info\n",t+=`Useragent: ${window.navigator.userAgent}\n`,t+=`OS: ${window.navigator.platform}\n`,t+="\n# Ruffle Info\n",t+=`Ruffle version: ${window.RufflePlayer.version}\n`,t+=`Ruffle source: ${window.RufflePlayer.name}\n`,this.container.querySelector("#panic-body").innerHTML=`<textarea>${t}</textarea>`,!1},this.instance&&(this.instance.destroy(),this.instance=null)}debug_player_info(){return`Allows script access: ${this.allow_script_access}\n`}},t.is_swf_filename=function(e){return e&&"string"==typeof e&&(e.search(/\.swf(?:[?#]|$)/i)>=0||e.search(/\.spl(?:[?#]|$)/i)>=0)}},function(e,t){t.Version=class e{constructor(e,t,n,r,o){this.major=e,this.minor=t,this.patch=n,this.pr_ident=r,this.build_ident=o}static from_semver(t){let n=t.split("+"),r=n[0].split("-"),o=r[0].split("."),i=[];return i.push(parseInt(o[0],10)),null!=o[1]?i.push(parseInt(o[1],10)):i.push(0),null!=o[2]?i.push(parseInt(o[2],10)):i.push(0),null!=r[1]?i.push(r[1].split(".")):i.push(void 0),null!=n[1]?i.push(n[1].split(".")):i.push(void 0),new e(i[0],i[1],i[2],i[3],i[4])}is_compatible_with(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}has_precedence_over(e){if(this.major>e.major)return!0;if(this.major<e.major)return!1;if(this.minor>e.minor)return!0;if(this.minor<e.minor)return!1;if(this.patch>e.patch)return!0;if(this.patch<e.patch)return!1;if(void 0===this.pr_ident&&void 0!==e.pr_ident)return!0;if(void 0!==this.pr_ident&&void 0!==e.pr_ident){let t=/^[0-9]*$/;for(let n=0;n<this.pr_ident.length&&n<e.pr_ident.length;n+=1){if(!t.test(this.pr_ident[n])&&t.test(e.pr_ident[n]))return!0;if(t.test(this.pr_ident[n])&&t.test(e.pr_ident[n])){if(parseInt(this.pr_ident[n],10)>parseInt(e.pr_ident[n],10))return!0;if(parseInt(this.pr_ident[n],10)<parseInt(e.pr_ident[n],10))return!1}else{if(t.test(this.pr_ident[n])&&!t.test(e.pr_ident[n]))return!1;if(!t.test(this.pr_ident[n])&&!t.test(e.pr_ident[n])){if(this.pr_ident[n]>e.pr_ident[n])return!0;if(this.pr_ident[n]<e.pr_ident[n])return!1}}}return this.pr_ident.length>e.pr_ident.length}return!1}is_equal(e){return this.major===e.major&&this.minor===e.minor&&this.patch===e.patch}is_stable_or_compatible_prerelease(e){return void 0===e.pr_ident||this.major===e.major&&this.minor===e.minor&&this.patch===e.patch}}},function(e,t,n){const{Version:r}=n(2);t.VersionRange=class e{constructor(e){this.requirements=e}satisfied_by(e){for(let t=0;t<this.requirements.length;t+=1){let n=!0;for(let r=0;r<this.requirements[t].length;r+=1){let o=this.requirements[t][r][0],i=this.requirements[t][r][1];n=n&&i.is_stable_or_compatible_prerelease(e),""===o||"="===o?n=n&&i.is_equal(e):">"===o?n=n&&e.has_precedence_over(i):">="===o?n=n&&(e.has_precedence_over(i)||i.is_equal(e)):"<"===o?n=n&&i.has_precedence_over(e):"<="===o?n=n&&(i.has_precedence_over(e)||i.is_equal(e)):"^"===o&&(n=n&&i.is_compatible_with(e))}if(n)return!0}return!1}static from_requirement_string(t){let n=t.split(" "),o=[],i=[];for(let e=0;e<n.length;e+=1)if("||"===n[e])o.length>0&&(i.push(o),o=[]);else if(n[e].length>0){let t=/[0-9]/.exec(n[e]),i=n[e].slice(0,t.index).trim(),s=r.from_semver(n[e].slice(t.index).trim());o.push([i,s])}return o.length>0&&i.push(o),new e(i)}}},function(e,t){class n{constructor(e,t,n){this.type=e,this.description=t,this.suffixes=n}}class r{constructor(e){this.__mimetypes=[],this.__named_mimetypes={};for(let t of e)this.install(t)}install(e){let t=this.__mimetypes.length;this.__mimetypes.push(e),this.__named_mimetypes[e.type]=e,this[e.type]=e,this[t]=e}item(e){return this.__mimetypes[e]}namedItem(e){return this.__named_mimetypes[e]}get length(){return this.__mimetypes.length}}class o{constructor(e){this.__plugins=[],this.__named_plugins={};for(let t of e)this.install(t)}install(e){let t=this.__plugins.length;this.__plugins.push(e),this.__named_plugins[e.name]=e,this[e.name]=e,this[t]=e}item(e){return this.__plugins[e]}namedItem(e){return this.__named_plugins[e]}get length(){return this.__plugins.length}}t.FLASH_PLUGIN=new class extends r{constructor(e,t,n,r){super(r),this.name=e,this.description=t,this.filename=n}install(e){e.enabledPlugin||(e.enabledPlugin=this),super.install(e)}}("Shockwave Flash","Shockwave Flash 32.0 r0","ruffle.js",[new n("application/futuresplash","Shockwave Flash","spl"),new n("application/x-shockwave-flash","Shockwave Flash","swf"),new n("application/x-shockwave-flash2-preview","Shockwave Flash","swf"),new n("application/vnd.adobe.flash-movie","Shockwave Flash","swf")]),t.install_plugin=function(e){navigator.plugins.install||Object.defineProperty(navigator,"plugins",{value:new o(navigator.plugins),writable:!1}),navigator.plugins.install(e),e.length>0&&!navigator.mimeTypes.install&&Object.defineProperty(navigator,"mimeTypes",{value:new r(navigator.mimeTypes),writable:!1});for(var t=0;t<e.length;t+=1)navigator.mimeTypes.install(e[t])}},function(e,t){t.public_path=function(e,t){let n="";if(void 0!==e&&void 0!==e.public_paths&&void 0!==e.public_paths[t])n=e.public_paths[t];else if(void 0!==e&&void 0!==e.public_path)n=e.public_path;else if(void 0!==document.currentScript)try{n=new URL(".",document.currentScript.src).href}catch(e){console.warn("Unable to get currentScript URL")}return""===n||n.endsWith("/")||(n+="/"),n}},function(e,t,n){const r=n(7),o=n(10),{install_plugin:i,FLASH_PLUGIN:s}=n(4),{public_path:_}=n(5);let c;window.RufflePlayer||(window.RufflePlayer={});let a,u,f=_({},"ruffle.js");function l(){try{a=a||document.getElementsByTagName("object"),u=u||document.getElementsByTagName("embed");for(let e of Array.from(a))if(r.is_interdictable(e)){let t=r.from_native_object_element(e);e.replaceWith(t)}for(let e of Array.from(u))if(o.is_interdictable(e)){let t=o.from_native_embed_element(e);e.replaceWith(t)}}catch(e){console.error("Serious error encountered when polyfilling native Flash elements: "+e)}}function b(e){d(e.currentTarget.contentWindow)}function d(e){let t;try{if(t=e.document,!t)return void console.log("Frame has no document.")}catch(e){return void console.log("Error Getting Frame: "+e.message)}if(e.RufflePlayer)console.log("(i)frame already has RufflePlayer");else{e.RufflePlayer={},e.RufflePlayer.config=c;let n=t.createElement("script");n.src=f,t.body.appendChild(n)}g(e)}function p(e){let t;for(let n=0;n<e.length;n++){let r=e[n];setTimeout((function(){try{r.contentDocument&&r.contentDocument.readyState&&"complete"==r.contentDocument.readyState&&d(r.contentWindow)}catch(e){console.log("error loading ruffle player into frame: "+e.message)}}),500);try{(t=r.onload)?r.onload=function(e){try{t(e)}catch(e){console.log("Error calling original onload: "+e.message)}b(e)}:r.onload=b,g(r.contentWindow)}catch(e){console.log("error loading ruffle player into frame: "+e.message)}}}function g(e){p(e.document.getElementsByTagName("iframe")),p(e.document.getElementsByTagName("frame"))}function w(e){e.some(e=>e.addedNodes.length>0)&&g(window)}window.RufflePlayer.config&&(c=window.RufflePlayer.config,f=_(window.RufflePlayer.config,"ruffle.js")),f+="ruffle.js",t.plugin_polyfill=function(){i(s)},t.polyfill=function(){l(),new MutationObserver((function(e){e.some(e=>e.addedNodes.length>0)&&l()})).observe(document,{childList:!0,subtree:!0}),g(window),new MutationObserver(w).observe(document,{childList:!0,subtree:!0})}},function(e,t,n){const{FLASH_MIMETYPE:r,FUTURESPLASH_MIMETYPE:o,FLASH7_AND_8_MIMETYPE:i,FLASH_MOVIE_MIMETYPE:s,FLASH_ACTIVEX_CLASSID:_,is_swf_filename:c,RufflePlayer:a}=n(1),{register_element:u}=n(0);e.exports=class e extends a{constructor(...e){super(...e)}connectedCallback(){super.connectedCallback(),this.params=e.params_of(this);const t=e.find_case_insensitive(this.params,"allowScriptAccess","sameDomain");let n=null;this.attributes.data?n=this.attributes.data.value:this.params.movie&&(n=this.params.movie),n&&(this.allow_script_access=t&&("always"===t.toLowerCase()||"samedomain"===t.toLowerCase()&&new URL(window.location.href).origin===new URL(n,window.location.href).origin),this.stream_swf_url(n))}debug_player_info(){let e=super.debug_player_info();e+="Player type: Object\n";let t=null;return this.attributes.data?t=this.attributes.data.value:this.params.movie&&(t=this.params.movie),e+=`SWF URL: ${t}\n`,Object.keys(this.params).forEach(t=>{e+=`Param ${t}: ${this.params[t]}\n`}),Object.keys(this.attributes).forEach(t=>{e+=`Attribute ${t}: ${this.attributes[t]}\n`}),e}get data(){return this.attributes.data.value}set data(e){this.attributes.data=e}static is_interdictable(t){if(!t.data){let e=!1,n=t.getElementsByTagName("param");for(let t=0;t<n.length;t++)"movie"==n[t].name&&n[t].value&&(e=!0);if(!e)return!1}if(t.type.toLowerCase()===r.toLowerCase()||t.type.toLowerCase()===o.toLowerCase()||t.type.toLowerCase()==i.toLowerCase()||t.type.toLowerCase()==s.toLowerCase())return!0;if(t.attributes&&t.attributes.classid&&t.attributes.classid.value.toLowerCase()===_.toLowerCase())return!0;if((void 0===t.type||""===t.type)&&void 0===t.attributes.classid){let n=e.params_of(t);if(t.data&&c(t.data))return!0;if(n&&n.movie&&c(n.movie))return!0}return!1}static find_case_insensitive(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}static params_of(e){let t={};for(let n of e.children)n.constructor===HTMLParamElement&&(t[n.name]=n.value);return t}static from_native_object_element(t){let n=u("ruffle-object",e),r=document.createElement(n);return r.copy_element(t),r}}},function(e,t,n){let r=null;e.exports=function(){return null==r&&(r=async function(){try{n.p=runtime_path+"dist/"}catch(e){if(!(e instanceof ReferenceError))throw e}return(await n.e(1).then(n.bind(null,17))).Ruffle}()),r}},function(e,t){let n=document.createElement("template");n.innerHTML='\n <style>\n :host {\n display: inline-block;\n /* Default width/height; this will get overridden by user styles/attributes */\n width: 550px;\n height: 400px;\n touch-action: none;\n user-select: none;\n -webkit-user-select: none;\n -webkit-tap-highlight-color: transparent;\n }\n\n #container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n }\n\n #container canvas {\n width: 100%;\n height: 100%;\n }\n \n #play_button {\n position: absolute;\n width: 100%;\n height: 100%;\n cursor: pointer;\n display: none;\n }\n\n #play_button .icon {\n position: relative;\n top: 50%;\n left: 50%;\n width: 90%;\n height: 90%;\n max-width: 500px;\n max-height: 500px;\n transform: translate(-50%, -50%);\n }\n\n #play_button:hover .icon {\n filter: brightness(1.3);\n }\n\n #panic {\n position: absolute;\n width: 100%;\n height: 100%;\n /* Inverted colours from play button! */\n background: linear-gradient(180deg, rgba(253,58,64,1) 0%, rgba(253,161,56,1) 100%);\n color: black;\n }\n \n #panic a {\n color: #37528C;\n }\n \n #panic-title {\n margin-top: 30px;\n text-align: center;\n font-size: 42px;\n font-weight: bold;\n }\n \n #panic-body {\n text-align: center;\n font-size: 20px;\n position: absolute;\n top: 100px;\n bottom: 80px;\n left: 50px;\n right: 50px;\n }\n\n #panic-body textarea {\n width: 100%;\n height: 100%;\n }\n \n #panic-footer {\n position: absolute;\n bottom: 30px;\n text-align: center;\n font-size: 20px;\n width: 100%;\n }\n \n #panic ul {\n margin: 35px 0 0 0;\n padding: 0;\n max-width: 100%;\n display: flex;\n list-style-type: none;\n justify-content: center;\n align-items: center;\n }\n \n #panic li {\n padding: 10px 50px;\n }\n </style>\n <style id="dynamic_styles"></style>\n\n <div id="container">\n <div id="play_button"><div class="icon"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" viewBox="0 0 250 250" style="width:100%;height:100%;"><defs><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="125" y1="0" x2="125" y2="250" spreadMethod="pad"><stop offset="0%" stop-color="#FDA138"/><stop offset="100%" stop-color="#FD3A40"/></linearGradient><g id="b"><path fill="url(#a)" d="M250 125q0-52-37-88-36-37-88-37T37 37Q0 73 0 125t37 88q36 37 88 37t88-37q37-36 37-88M87 195V55l100 70-100 70z"/><path fill="#FFF" d="M87 55v140l100-70L87 55z"/></g></defs><use xlink:href="#b"/></svg></div></div>\n </div>\n',e.exports=n},function(e,t,n){const{FLASH_MIMETYPE:r,FUTURESPLASH_MIMETYPE:o,FLASH7_AND_8_MIMETYPE:i,FLASH_MOVIE_MIMETYPE:s,is_swf_filename:_,RufflePlayer:c}=n(1),{register_element:a}=n(0);e.exports=class e extends c{constructor(...e){return super(...e)}connectedCallback(){super.connectedCallback(),this.stream_swf_url(this.attributes.src.value)}get src(){return this.attributes.src.value}set src(e){this.attributes.src=e}static get observedAttributes(){return["src","width","height"]}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),console.log(e+" "+t+" "+n),this.isConnected&&"src"===e&&this.stream_swf_url(this.attributes.src.value)}static is_interdictable(e){return!!e.src&&(e.type.toLowerCase()===r.toLowerCase()||e.type.toLowerCase()===o.toLowerCase()||e.type.toLowerCase()==i.toLowerCase()||e.type.toLowerCase()==s.toLowerCase()||(void 0===e.type||""===e.type)&&_(e.src))}static from_native_embed_element(t){let n=a("ruffle-embed",e),r=document.createElement(n);return r.copy_element(t),r}}},function(e,t,n){const{PublicAPI:r,SourceAPI:o,public_path:i}=n(12);window.RufflePlayer=r.negotiate(window.RufflePlayer,"local",new o("local")),n.p=i(window.RufflePlayer.config,"local")},function(e,t,n){e.exports=n(13)},function(e,t,n){Object.assign(t,n(14)),Object.assign(t,n(4)),Object.assign(t,n(5)),Object.assign(t,n(6)),Object.assign(t,n(0)),Object.assign(t,n(10)),Object.assign(t,n(15)),Object.assign(t,n(1)),Object.assign(t,n(16)),Object.assign(t,n(3)),Object.assign(t,n(2)),t.load_ruffle=n(8),t.RuffleObject=n(7),t.ruffle_shadow_template=n(9)},function(e,t,n){const{Version:r}=n(2),{VersionRange:o}=n(3);t.PublicAPI=class e{constructor(t){this.sources={},this.config={},this.invoked=!1,this.newest_name=!1,void 0!==t&&(t.constructor.name===e.name?(this.sources=t.sources,this.config=t.config,this.invoked=t.invoked,this.conflict=t.conflict,this.newest_name=t.newest_name,t.superseded()):t.constructor===Object&&void 0!==t.config?this.config=t.config:this.conflict=t),"loading"===document.readyState?window.addEventListener("DOMContentLoaded",this.init.bind(this)):window.setTimeout(this.init.bind(this),0)}get version(){return"0.1.0"}register_source(e,t){this.sources[e]=t}newest_source_name(){let e=!1,t=r.from_semver("0.0.0");for(let n in this.sources)if(Object.prototype.hasOwnProperty.call(this.sources,n)){let o=r.from_semver(this.sources[n].version);o.has_precedence_over(t)&&(e=n,t=o)}return e}init(){if(!this.invoked){if(this.invoked=!0,this.newest_name=this.newest_source_name(),!1===this.newest_name)throw new Error("No registered Ruffle source!");!1!==this.config.polyfills&&this.sources[this.newest_name].polyfill()}}newest(){return this.sources[this.newest_source_name()]}satisfying(e){let t=o.from_requirement_string(e),n=null;for(let e in this.sources)if(Object.prototype.hasOwnProperty.call(this.sources,e)){let o=r.from_semver(this.sources[e].version);t.satisfied_by(o)&&(n=this.sources[e])}return n}local_compatible(){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(t,n,r){let o;if(o=void 0!==t&&t.constructor.name==e.name?t:new e(t),void 0!==n&&void 0!==r){o.register_source(n,r),!1!==o.config.polyfills&&r.plugin_polyfill()}return o}}},function(e,t){t.copy_to_audio_buffer=function(e,t,n){if(t){e.getChannelData(0).set(t)}if(n){e.getChannelData(1).set(n)}}},function(e,t,n){const{polyfill:r,plugin_polyfill:o}=n(6),{register_element:i}=n(0),{RufflePlayer:s}=n(1);t.SourceAPI=class{constructor(e){this.name=e}get version(){return"0.1.0"}polyfill(){r()}plugin_polyfill(){o()}create_player(){let e=i("ruffle-player",s);return document.createElement(e)}}}]);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc