UNPKG

@lynx-js/web-core

Version:

This is an internal experimental package, do not use

3 lines 23.6 kB
export const __rspack_esm_id="778";export const __rspack_esm_ids=["778"];export const __webpack_modules__={1960(t,e,_){let n;_.r(e),_.d(e,{EventInfo:()=>r,MainThreadWasmContext:()=>i,RawStyleInfo:()=>o,Rule:()=>s,RulePrelude:()=>a,Selector:()=>d,StyleSheetResource:()=>g,add_inline_style_raw_string_key:()=>l,decode_style_info:()=>c,default:()=>tt,encode_legacy_json_generated_raw_style_info:()=>b,get_font_face_content:()=>w,get_style_content:()=>u,initSync:()=>Z,set_inline_styles_in_key_value_vec:()=>p,set_inline_styles_in_str:()=>f,set_inline_styles_number_key:()=>y});class r{static __wrap(t){t>>>=0;let e=Object.create(r.prototype);return e.__wbg_ptr=t,m.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,m.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_eventinfo_free(t,0)}get event_handler(){return V(n.__wbg_get_eventinfo_event_handler(this.__wbg_ptr))}get event_name(){let t,e;try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.__wbg_get_eventinfo_event_name(i,this.__wbg_ptr);var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);return t=_,e=r,q(_,r)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(t,e,1)}}get event_type(){let t,e;try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.__wbg_get_eventinfo_event_type(i,this.__wbg_ptr);var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);return t=_,e=r,q(_,r)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(t,e,1)}}set event_handler(t){n.__wbg_set_eventinfo_event_handler(this.__wbg_ptr,A(t))}set event_name(t){let e=N(t,n.__wbindgen_export,n.__wbindgen_export2),_=Q;n.__wbg_set_eventinfo_event_name(this.__wbg_ptr,e,_)}set event_type(t){let e=N(t,n.__wbindgen_export,n.__wbindgen_export2),_=Q;n.__wbg_set_eventinfo_event_type(this.__wbg_ptr,e,_)}}Symbol.dispose&&(r.prototype[Symbol.dispose]=r.prototype.free);class i{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,x.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_mainthreadwasmcontext_free(t,0)}add_cross_thread_event(t,e,_,r){let i=N(e,n.__wbindgen_export,n.__wbindgen_export2),o=Q,s=N(_,n.__wbindgen_export,n.__wbindgen_export2),a=Q;var d=T(r)?0:N(r,n.__wbindgen_export,n.__wbindgen_export2),g=Q;n.mainthreadwasmcontext_add_cross_thread_event(this.__wbg_ptr,t,i,o,s,a,d,g)}add_dataset(t,e,_){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_add_dataset(i,this.__wbg_ptr,t,j(e),j(_));var r=W().getInt32(i+0,!0);if(W().getInt32(i+4,!0))throw V(r)}finally{n.__wbindgen_add_to_stack_pointer(16),M[J++]=void 0,M[J++]=void 0}}add_run_worklet_event(t,e,_,r){let i=N(e,n.__wbindgen_export,n.__wbindgen_export2),o=Q,s=N(_,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.mainthreadwasmcontext_add_run_worklet_event(this.__wbg_ptr,t,i,o,s,a,T(r)?0:A(r))}common_event_handler(t,e,_,r){let i=D(e,n.__wbindgen_export),o=Q,s=N(_,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.mainthreadwasmcontext_common_event_handler(this.__wbg_ptr,A(t),i,o,s,a,r)}create_element_common(t,e,_,r,i){var o=T(i)?0:N(i,n.__wbindgen_export,n.__wbindgen_export2),s=Q;return n.mainthreadwasmcontext_create_element_common(this.__wbg_ptr,t,A(e),A(_),T(r)?0x100000001:0|r,o,s)>>>0}dispatch_event_by_path(t,e,_,r){try{let i=D(t,n.__wbindgen_export),o=Q,s=N(e,n.__wbindgen_export,n.__wbindgen_export2),a=Q,d=n.mainthreadwasmcontext_dispatch_event_by_path(this.__wbg_ptr,i,o,s,a,_,j(r));return 0!==d}finally{M[J++]=void 0}}dispatch_global_bind_event(t,e,_){try{let r=D(t,n.__wbindgen_export),i=Q,o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q;n.mainthreadwasmcontext_dispatch_global_bind_event(this.__wbg_ptr,r,i,o,s,j(_))}finally{M[J++]=void 0}}gc(){n.mainthreadwasmcontext_gc(this.__wbg_ptr)}get_component_id(t){try{let i,o=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_component_id(o,this.__wbg_ptr,t);var e=W().getInt32(o+0,!0),_=W().getInt32(o+4,!0),r=W().getInt32(o+8,!0);if(W().getInt32(o+12,!0))throw V(r);return 0!==e&&(i=q(e,_).slice(),n.__wbindgen_export4(e,+_,1)),i}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_config(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_config(r,this.__wbg_ptr,t);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return V(e)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_css_id_by_unique_id(t){let e=n.mainthreadwasmcontext_get_css_id_by_unique_id(this.__wbg_ptr,t);return 0x100000001===e?void 0:e}get_data_by_key(t,e){try{let i=n.__wbindgen_add_to_stack_pointer(-16),o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q;n.mainthreadwasmcontext_get_data_by_key(i,this.__wbg_ptr,t,o,s);var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);if(W().getInt32(i+8,!0))throw V(r);return V(_)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_dataset(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_dataset(r,this.__wbg_ptr,t);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return V(e)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_dom_by_unique_id(t){return V(n.mainthreadwasmcontext_get_dom_by_unique_id(this.__wbg_ptr,t))}get_element_config(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_element_config(r,this.__wbg_ptr,t);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return V(e)}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_event(t,e,_){let r=N(e,n.__wbindgen_export,n.__wbindgen_export2),i=Q,o=N(_,n.__wbindgen_export,n.__wbindgen_export2),s=Q;return V(n.mainthreadwasmcontext_get_event(this.__wbg_ptr,t,r,i,o,s))}get_events(t){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_get_events(i,this.__wbg_ptr,t);var e=W().getInt32(i+0,!0),_=W().getInt32(i+4,!0),r=F(e,_).slice();return n.__wbindgen_export4(e,4*_,4),r}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_unique_id_by_component_id(t){let e=N(t,n.__wbindgen_export,n.__wbindgen_export2),_=Q,r=n.mainthreadwasmcontext_get_unique_id_by_component_id(this.__wbg_ptr,e,_);return 0x100000001===r?void 0:r}constructor(t,e,_){let r=n.mainthreadwasmcontext_new(A(t),A(e),_);return this.__wbg_ptr=r>>>0,x.register(this,this.__wbg_ptr,this),this}push_style_sheet(t,e){try{let o=n.__wbindgen_add_to_stack_pointer(-16);E(t,g);var _=T(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),r=Q;n.mainthreadwasmcontext_push_style_sheet(o,this.__wbg_ptr,t.__wbg_ptr,_,r);var i=W().getInt32(o+0,!0);if(W().getInt32(o+4,!0))throw V(i)}finally{n.__wbindgen_add_to_stack_pointer(16)}}set_config(t,e){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_set_config(r,this.__wbg_ptr,t,j(e));var _=W().getInt32(r+0,!0);if(W().getInt32(r+4,!0))throw V(_)}finally{n.__wbindgen_add_to_stack_pointer(16),M[J++]=void 0}}set_css_id(t,e,_){try{let s=n.__wbindgen_add_to_stack_pointer(-16),a=D(t,n.__wbindgen_export),d=Q;var r=T(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),i=Q;n.mainthreadwasmcontext_set_css_id(s,this.__wbg_ptr,a,d,e,r,i);var o=W().getInt32(s+0,!0);if(W().getInt32(s+4,!0))throw V(o)}finally{n.__wbindgen_add_to_stack_pointer(16)}}set_dataset(t,e,_){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_set_dataset(i,this.__wbg_ptr,t,j(e),j(_));var r=W().getInt32(i+0,!0);if(W().getInt32(i+4,!0))throw V(r)}finally{n.__wbindgen_add_to_stack_pointer(16),M[J++]=void 0,M[J++]=void 0}}set_page_element_unique_id(t){n.mainthreadwasmcontext_set_page_element_unique_id(this.__wbg_ptr,t)}take_timing_flags(){try{let r=n.__wbindgen_add_to_stack_pointer(-16);n.mainthreadwasmcontext_take_timing_flags(r,this.__wbg_ptr);var t=W().getInt32(r+0,!0),e=W().getInt32(r+4,!0),_=F(t,e).slice();return n.__wbindgen_export4(t,4*e,4),_}finally{n.__wbindgen_add_to_stack_pointer(16)}}update_component_id(t,e){try{let o=n.__wbindgen_add_to_stack_pointer(-16);var _=T(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),r=Q;n.mainthreadwasmcontext_update_component_id(o,this.__wbg_ptr,t,_,r);var i=W().getInt32(o+0,!0);if(W().getInt32(o+4,!0))throw V(i)}finally{n.__wbindgen_add_to_stack_pointer(16)}}update_css_og_style(t,e){try{let o=n.__wbindgen_add_to_stack_pointer(-16);var _=T(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),r=Q;n.mainthreadwasmcontext_update_css_og_style(o,this.__wbg_ptr,t,_,r);var i=W().getInt32(o+0,!0);if(W().getInt32(o+4,!0))throw V(i)}finally{n.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&(i.prototype[Symbol.dispose]=i.prototype.free);class o{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_rawstyleinfo_free(t,0)}append_import(t,e){n.rawstyleinfo_append_import(this.__wbg_ptr,t,e)}constructor(){let t=n.rawstyleinfo_new();return this.__wbg_ptr=t>>>0,v.register(this,this.__wbg_ptr,this),this}push_rule(t,e){E(e,s);var _=e.__destroy_into_raw();n.rawstyleinfo_push_rule(this.__wbg_ptr,t,_)}}Symbol.dispose&&(o.prototype[Symbol.dispose]=o.prototype.free);class s{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,I.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_rule_free(t,0)}constructor(t){try{let r=n.__wbindgen_add_to_stack_pointer(-16),i=N(t,n.__wbindgen_export,n.__wbindgen_export2),o=Q;n.rule_new(r,i,o);var e=W().getInt32(r+0,!0),_=W().getInt32(r+4,!0);if(W().getInt32(r+8,!0))throw V(_);return this.__wbg_ptr=e>>>0,I.register(this,this.__wbg_ptr,this),this}finally{n.__wbindgen_add_to_stack_pointer(16)}}push_declaration(t,e){let _=N(t,n.__wbindgen_export,n.__wbindgen_export2),r=Q,i=N(e,n.__wbindgen_export,n.__wbindgen_export2),o=Q;n.rule_push_declaration(this.__wbg_ptr,_,r,i,o)}push_rule_children(t){E(t,s);var e=t.__destroy_into_raw();n.rule_push_rule_children(this.__wbg_ptr,e)}set_prelude(t){E(t,a);var e=t.__destroy_into_raw();n.rule_set_prelude(this.__wbg_ptr,e)}}Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.free);class a{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,k.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_ruleprelude_free(t,0)}constructor(){let t=n.ruleprelude_new();return this.__wbg_ptr=t>>>0,k.register(this,this.__wbg_ptr,this),this}push_selector(t){E(t,d);var e=t.__destroy_into_raw();n.ruleprelude_push_selector(this.__wbg_ptr,e)}}Symbol.dispose&&(a.prototype[Symbol.dispose]=a.prototype.free);class d{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,R.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_selector_free(t,0)}constructor(){let t=n.ruleprelude_new();return this.__wbg_ptr=t>>>0,R.register(this,this.__wbg_ptr,this),this}push_one_selector_section(t,e){try{let r=n.__wbindgen_add_to_stack_pointer(-16),i=N(t,n.__wbindgen_export,n.__wbindgen_export2),o=Q,s=N(e,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.selector_push_one_selector_section(r,this.__wbg_ptr,i,o,s,a);var _=W().getInt32(r+0,!0);if(W().getInt32(r+4,!0))throw V(_)}finally{n.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&(d.prototype[Symbol.dispose]=d.prototype.free);class g{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_stylesheetresource_free(t,0)}constructor(t,e){try{let i=n.__wbindgen_add_to_stack_pointer(-16);n.stylesheetresource_new(i,A(t),A(e));var _=W().getInt32(i+0,!0),r=W().getInt32(i+4,!0);if(W().getInt32(i+8,!0))throw V(r);return this.__wbg_ptr=_>>>0,S.register(this,this.__wbg_ptr,this),this}finally{n.__wbindgen_add_to_stack_pointer(16)}}}function l(t,e,_){try{let o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q;var r=T(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),i=Q;n.add_inline_style_raw_string_key(j(t),o,s,r,i)}finally{M[J++]=void 0}}function c(t,e,_,r,i,o){try{let l=n.__wbindgen_add_to_stack_pointer(-16);var s=T(e)?0:N(e,n.__wbindgen_export,n.__wbindgen_export2),a=Q;n.decode_style_info(l,A(t),s,a,_,r,i,o);var d=W().getInt32(l+0,!0),g=W().getInt32(l+4,!0);if(W().getInt32(l+8,!0))throw V(g);return V(d)}finally{n.__wbindgen_add_to_stack_pointer(16)}}function b(t,e,_,r,i,s){try{let b=n.__wbindgen_add_to_stack_pointer(-16);E(t,o);var a=t.__destroy_into_raw(),d=T(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),g=Q;n.encode_legacy_json_generated_raw_style_info(b,a,e,d,g,r,i,s);var l=W().getInt32(b+0,!0),c=W().getInt32(b+4,!0);if(W().getInt32(b+8,!0))throw V(c);return V(l)}finally{n.__wbindgen_add_to_stack_pointer(16)}}function w(t){let e,_;try{let g=n.__wbindgen_add_to_stack_pointer(-16);n.get_font_face_content(g,A(t));var r=W().getInt32(g+0,!0),i=W().getInt32(g+4,!0),o=W().getInt32(g+8,!0),s=W().getInt32(g+12,!0),a=r,d=i;if(s)throw a=0,d=0,V(o);return e=a,_=d,q(a,d)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(e,_,1)}}function u(t){let e,_;try{let g=n.__wbindgen_add_to_stack_pointer(-16);n.get_style_content(g,A(t));var r=W().getInt32(g+0,!0),i=W().getInt32(g+4,!0),o=W().getInt32(g+8,!0),s=W().getInt32(g+12,!0),a=r,d=i;if(s)throw a=0,d=0,V(o);return e=a,_=d,q(a,d)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export4(e,_,1)}}function p(t,e,_,r,i){try{let o=B(e,n.__wbindgen_export),s=Q;n.set_inline_styles_in_key_value_vec(j(t),o,s,_,r,i)}finally{M[J++]=void 0}}function f(t,e,_,r,i){try{let o=N(e,n.__wbindgen_export,n.__wbindgen_export2),s=Q,a=n.set_inline_styles_in_str(j(t),o,s,_,r,i);return 0!==a}finally{M[J++]=void 0}}function y(t,e,_){try{var r=T(_)?0:N(_,n.__wbindgen_export,n.__wbindgen_export2),i=Q;n.set_inline_styles_number_key(j(t),e,r,i)}finally{M[J++]=void 0}}function h(){return{__proto__:null,"./client_bg.js":{__proto__:null,__wbg_Error_8c4e43fe74559d73:function(t,e){return A(Error(q(t,e)))},__wbg___wbindgen_debug_string_0bc8482c6e3508ae:function(t,e){let _=N(function t(e){let _,n=typeof e;if("number"==n||"boolean"==n||null==e)return`${e}`;if("string"==n)return`"${e}"`;if("symbol"==n){let t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==n){let t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){let _=e.length,n="[";_>0&&(n+=t(e[0]));for(let r=1;r<_;r++)n+=", "+t(e[r]);return n+"]"}let r=/\[object ([^\]]+)\]/.exec(toString.call(e));if(!r||!(r.length>1))return toString.call(e);if("Object"==(_=r[1]))try{return"Object("+JSON.stringify(e)+")"}catch(t){return"Object"}return e instanceof Error?`${e.name}: ${e.message} ${e.stack}`:_}(M[e]),n.__wbindgen_export,n.__wbindgen_export2),r=Q;W().setInt32(t+4,r,!0),W().setInt32(t+0,_,!0)},__wbg___wbindgen_is_null_ac34f5003991759a:function(t){return null===M[t]},__wbg___wbindgen_is_undefined_9e4d92534c42d778:function(t){return void 0===M[t]},__wbg___wbindgen_jsval_eq_11888390b0186270:function(t,e){return M[t]===M[e]},__wbg___wbindgen_string_get_72fb696202c56729:function(t,e){let _=M[e],r="string"==typeof _?_:void 0;var i=T(r)?0:N(r,n.__wbindgen_export,n.__wbindgen_export2),o=Q;W().setInt32(t+4,o,!0),W().setInt32(t+0,i,!0)},__wbg___wbindgen_throw_be289d5034ed271b:function(t,e){throw Error(q(t,e))},__wbg_addEventListener_70320335c937cd3c:function(t,e,_){M[t].addEventListener(q(e,_))},__wbg_appendChild_dea38765a26d346d:function(){return $(function(t,e){return A(M[t].appendChild(M[e]))},arguments)},__wbg_cloneNode_b85e9102a9a31b29:function(){return $(function(t,e){return A(M[t].cloneNode(0!==e))},arguments)},__wbg_createElement_49f60fdcaae809c8:function(){return $(function(t,e,_){return A(M[t].createElement(q(e,_)))},arguments)},__wbg_cssRules_554f47f3049cf066:function(){return $(function(t){return A(M[t].cssRules)},arguments)},__wbg_deref_f3f9703e58148ed3:function(t){let e=M[t].deref();return T(e)?0:A(e)},__wbg_disableElementEvent_1d2759f3a698d3c3:function(){return $(function(t,e,_,n){M[t].disableElementEvent(M[e],q(_,n))},arguments)},__wbg_enableElementEvent_0ce34c6ca552d6b0:function(){return $(function(t,e,_,n){M[t].enableElementEvent(M[e],q(_,n))},arguments)},__wbg_eventinfo_new:function(t){return A(r.__wrap(t))},__wbg_getClassList_d784a755b82d52f8:function(){return $(function(t,e,_){let r=B(M[e].getClassList(M[_]),n.__wbindgen_export),i=Q;W().setInt32(t+4,i,!0),W().setInt32(t+0,r,!0)},arguments)},__wbg_get_9b94d73e6221f75c:function(t,e){return A(M[t][e>>>0])},__wbg_get_b3ed3ad4be2bc8ac:function(){return $(function(t,e){return A(Reflect.get(M[t],M[e]))},arguments)},__wbg_has_d4e53238966c12b6:function(){return $(function(t,e){return Reflect.has(M[t],M[e])},arguments)},__wbg_insertRule_736c2f80782185c7:function(){return $(function(t,e,_,n){return M[t].insertRule(q(e,_),n>>>0)},arguments)},__wbg_item_ca823df8214b9e2b:function(t,e){let _=M[t].item(e>>>0);return T(_)?0:A(_)},__wbg_keys_b50a709a76add04e:function(t){return A(Object.keys(M[t]))},__wbg_length_32ed9a279acd054c:function(t){return M[t].length},__wbg_length_35a7bace40f36eac:function(t){return M[t].length},__wbg_length_edae0cd13a8d3b71:function(t){return M[t].length},__wbg_new_361308b2356cecd0:function(){return A({})},__wbg_new_from_slice_a3d2629dc1826784:function(t,e){return A(new Uint8Array(z(t,e)))},__wbg_ownerDocument_9347874c5cad87d7:function(t){let e=M[t].ownerDocument;return T(e)?0:A(e)},__wbg_parentElement_75863410a8617953:function(t){let e=M[t].parentElement;return T(e)?0:A(e)},__wbg_prototypesetcall_bdcdcc5842e4d77d:function(t,e,_){Uint8Array.prototype.set.call(z(t,e),M[_])},__wbg_publishEvent_746b6a9f0c4d4e11:function(t,e,_,n,r,i,o,s,a,d){M[t].publishEvent(q(e,_),0===n?void 0:q(n,r),M[i],o>>>0,M[s],a>>>0,M[d])},__wbg_removeAttribute_87259aab06d9f286:function(){return $(function(t,e,_){M[t].removeAttribute(q(e,_))},arguments)},__wbg_removeAttribute_a502db2359e865a1:function(){return $(function(t,e,_,n){M[t].removeAttribute(M[e],q(_,n))},arguments)},__wbg_removeProperty_a0d2ff8a76ffd2b1:function(){return $(function(t,e,_,r){let i=N(M[e].removeProperty(q(_,r)),n.__wbindgen_export,n.__wbindgen_export2),o=Q;W().setInt32(t+4,o,!0),W().setInt32(t+0,i,!0)},arguments)},__wbg_runWorklet_0a8c4179fd6c84f4:function(t,e,_,n,r,i,o){M[t].runWorklet(M[e],M[_],n>>>0,M[r],i>>>0,M[o])},__wbg_setAttribute_4e006c1919060659:function(){return $(function(t,e,_,n,r,i){M[t].setAttribute(M[e],q(_,n),q(r,i))},arguments)},__wbg_setAttribute_cc8e4c8a2a008508:function(){return $(function(t,e,_,n,r){M[t].setAttribute(q(e,_),q(n,r))},arguments)},__wbg_setProperty_cbb25c4e74285b39:function(){return $(function(t,e,_,n,r){M[t].setProperty(q(e,_),q(n,r))},arguments)},__wbg_set_6cb8631f80447a67:function(){return $(function(t,e,_){return Reflect.set(M[t],M[e],M[_])},arguments)},__wbg_set_cssText_18380c97092caefa:function(t,e,_){M[t].cssText=q(e,_)},__wbg_set_textContent_3e87dba095d9cdbc:function(t,e,_){M[t].textContent=0===e?void 0:q(e,_)},__wbg_sheet_47ea0f14607eb161:function(t){let e=M[t].sheet;return T(e)?0:A(e)},__wbg_style_0b7c9bd318f8b807:function(t){return A(M[t].style)},__wbg_style_fa56cf251a93275a:function(t){return A(M[t].style)},__wbindgen_cast_0000000000000001:function(t,e){return A(q(t,e))},__wbindgen_object_clone_ref:function(t){return A(M[t])},__wbindgen_object_drop_ref:function(t){V(t)},__wbindgen_object_is_undefined:function(t){return void 0===M[t]}}}}Symbol.dispose&&(g.prototype[Symbol.dispose]=g.prototype.free);let m="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_eventinfo_free(t>>>0,1)),x="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_mainthreadwasmcontext_free(t>>>0,1)),v="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_rawstyleinfo_free(t>>>0,1)),I="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_rule_free(t>>>0,1)),k="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_ruleprelude_free(t>>>0,1)),R="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_selector_free(t>>>0,1)),S="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_stylesheetresource_free(t>>>0,1));function A(t){P===M.length&&M.push(M.length+1);let e=P;return P=M[e],M[e]=t,e}function E(t,e){if(!(t instanceof e))throw Error(`expected instance of ${e.name}`)}function j(t){if(1==J)throw Error("out of js stack");return M[--J]=t,J}function F(t,e){t>>>=0;let _=W(),n=[];for(let r=t;r<t+4*e;r+=4)n.push(V(_.getUint32(r,!0)));return n}function z(t,e){return t>>>=0,U().subarray(t/1,t/1+e)}let O=null;function W(){return(null===O||!0===O.buffer.detached||void 0===O.buffer.detached&&O.buffer!==n.memory.buffer)&&(O=new DataView(n.memory.buffer)),O}function q(t,e){var _,n;return _=t>>>=0,(H+=n=e)>=0x7ff00000&&((G=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),H=n),G.decode(U().subarray(_,_+n))}let C=null,L=null;function U(){return(null===L||0===L.byteLength)&&(L=new Uint8Array(n.memory.buffer)),L}function $(t,e){try{return t.apply(this,e)}catch(t){n.__wbindgen_export3(A(t))}}let M=Array(128).fill(void 0);M.push(void 0,null,!0,!1);let P=M.length;function T(t){return null==t}function D(t,e){let _=e(4*t.length,4)>>>0;return((null===C||0===C.byteLength)&&(C=new Uint32Array(n.memory.buffer)),C).set(t,_/4),Q=t.length,_}function B(t,e){let _=e(4*t.length,4)>>>0,n=W();for(let e=0;e<t.length;e++)n.setUint32(_+4*e,A(t[e]),!0);return Q=t.length,_}function N(t,e,_){if(void 0===_){let _=K.encode(t),n=e(_.length,1)>>>0;return U().subarray(n,n+_.length).set(_),Q=_.length,n}let n=t.length,r=e(n,1)>>>0,i=U(),o=0;for(;o<n;o++){let e=t.charCodeAt(o);if(e>127)break;i[r+o]=e}if(o!==n){0!==o&&(t=t.slice(o)),r=_(r,n,n=o+3*t.length,1)>>>0;let e=U().subarray(r+o,r+n);o+=K.encodeInto(t,e).written,r=_(r,n,o,1)>>>0}return Q=o,r}let J=128;function V(t){let e=M[t];return t<132||(M[t]=P,P=t),e}let G=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});G.decode();let H=0,K=new TextEncoder;"encodeInto"in K||(K.encodeInto=function(t,e){let _=K.encode(t);return e.set(_),{read:t.length,written:_.length}});let Q=0;function X(t,e){return n=t.exports,O=null,C=null,L=null,n}async function Y(t,e){if("function"==typeof Response&&t instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(t,e)}catch(e){if(t.ok&&function(t){switch(t){case"basic":case"cors":case"default":return!0}return!1}(t.type)&&"application/wasm"!==t.headers.get("Content-Type"))console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e);else throw e}let _=await t.arrayBuffer();return await WebAssembly.instantiate(_,e)}{let _=await WebAssembly.instantiate(t,e);return _ instanceof WebAssembly.Instance?{instance:_,module:t}:_}}function Z(t){if(void 0!==n)return n;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?{module:t}=t:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let e=h();return t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t)),X(new WebAssembly.Instance(t,e),t)}async function tt(t){if(void 0!==n)return n;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?{module_or_path:t}=t:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===t&&(t=new URL(_(4984),_.b));let e=h();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));let{instance:r,module:i}=await Y(await t,e);return X(r,i)}}}; //# sourceMappingURL=legacy-wasm-js.js.map