UNPKG

@finos/perspective-viewer

Version:

The `<perspective-viewer>` Custom Element, frontend for Perspective.js

2 lines 56.2 kB
var _e=Object.defineProperty,re=(t,e)=>{for(var n in e)_e(t,n,{get:e[n],enumerable:!0})},ze=class extends HTMLElement{constructor(){super()}get name(){return"Debug"}get select_mode(){return"select"}get min_config_columns(){}get config_column_names(){}get priority(){return 0}can_render_column_styles(){return!1}column_style_config(){}async update(t){return this.draw(t)}async draw(t){this.style.backgroundColor="#fff";let e=await t.to_csv(),n="margin:0;overflow:scroll;position:absolute;width:100%;height:100%";this.innerHTML=`<pre style='${n}'>${e}</pre>`}async clear(){this.innerHTML=""}async resize(){}async restyle(){}async save(){}async restore(){}async delete(){}},K={};re(K,{Client:()=>T,ColumnDropDownElement:()=>ve,CopyDropDownMenuElement:()=>xe,ExportDropDownMenuElement:()=>Ie,FilterDropDownElement:()=>Ee,FunctionDropDownElement:()=>Re,PerspectiveDebugPluginElement:()=>Ae,PerspectiveViewerElement:()=>R,ProxySession:()=>D,Table:()=>W,View:()=>y,default:()=>te,init:()=>G,initSync:()=>Pe,registerPlugin:()=>se});var M=class extends Error{},ie=window.ClipboardItem,oe=window.IntersectionObserver,be=window.ResizeObserver;function ge(t,e,n,r){let o=t[n],u=o.prototype;class l extends HTMLElement{constructor(){super(),this._instance=new o(this)}}let p=Object.getOwnPropertyNames(u);for(let m of p)"get"in Object.getOwnPropertyDescriptor(u,m)?Object.defineProperty(l.prototype,m,{get:function(){return this._instance[m]}}):Object.defineProperty(l.prototype,m,{value:function(...j){return this._instance[m].call(this._instance,...j)}});for(let m of r)Object.defineProperty(l,m,{value:function(...j){return t[m].call(t,...j)}});Object.defineProperty(l,"__wasm_module__",{get(){return t}}),customElements.define(e,l)}var i,h=new Array(128).fill(void 0);h.push(void 0,null,!0,!1);function _(t){return h[t]}var f=0,k=null;function O(){return(k===null||k.byteLength===0)&&(k=new Uint8Array(i.memory.buffer)),k}var X=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},ue=function(t,e){return X.encodeInto(t,e)};function d(t,e,n){if(n===void 0){let p=X.encode(t),m=e(p.length,1)>>>0;return O().subarray(m,m+p.length).set(p),f=p.length,m}let r=t.length,o=e(r,1)>>>0,u=O(),l=0;for(;l<r;l++){let p=t.charCodeAt(l);if(p>127)break;u[o+l]=p}if(l!==r){l!==0&&(t=t.slice(l)),o=n(o,r,r=l+t.length*3,1)>>>0;let p=O().subarray(o+l,o+r);l+=ue(t,p).written,o=n(o,r,l,1)>>>0}return f=l,o}var v=null;function a(){return(v===null||v.buffer.detached===!0||v.buffer.detached===void 0&&v.buffer!==i.memory.buffer)&&(v=new DataView(i.memory.buffer)),v}function w(t){return t==null}var E=h.length;function b(t){E===h.length&&h.push(h.length+1);let e=E;return E=h[e],h[e]=t,e}var Y=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&Y.decode();function s(t,e){return t=t>>>0,Y.decode(O().subarray(t,t+e))}function c(t,e){try{return t.apply(this,e)}catch(n){i.__wbindgen_export_2(b(n))}}function ce(t){t<132||(h[t]=E,E=t)}function g(t){let e=_(t);return ce(t),e}function ae(t,e){t=t>>>0;let n=a(),r=[];for(let o=t;o<t+4*e;o+=4)r.push(g(n.getUint32(o,!0)));return r}var P=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{i.__wbindgen_export_4.get(t.dtor)(t.a,t.b)});function A(t,e,n,r){let o={a:t,b:e,cnt:1,dtor:n},u=(...l)=>{o.cnt++;try{return r(o.a,o.b,...l)}finally{--o.cnt===0&&(i.__wbindgen_export_4.get(o.dtor)(o.a,o.b),o.a=0,P.unregister(o))}};return u.original=o,P.register(u,o,o),u}function I(t,e,n,r){let o={a:t,b:e,cnt:1,dtor:n},u=(...l)=>{o.cnt++;let p=o.a;o.a=0;try{return r(p,o.b,...l)}finally{--o.cnt===0?(i.__wbindgen_export_4.get(o.dtor)(p,o.b),P.unregister(o)):o.a=p}};return u.original=o,P.register(u,o,o),u}function N(t){let e=typeof t;if(e=="number"||e=="boolean"||t==null)return`${t}`;if(e=="string")return`"${t}"`;if(e=="symbol"){let o=t.description;return o==null?"Symbol":`Symbol(${o})`}if(e=="function"){let o=t.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(t)){let o=t.length,u="[";o>0&&(u+=N(t[0]));for(let l=1;l<o;l++)u+=", "+N(t[l]);return u+="]",u}let n=/\[object ([^\]]+)\]/.exec(toString.call(t)),r;if(n&&n.length>1)r=n[1];else return toString.call(t);if(r=="Object")try{return"Object("+JSON.stringify(t)+")"}catch{return"Object"}return t instanceof Error?`${t.name}: ${t.message} ${t.stack}`:r}function S(t,e){if(!(t instanceof e))throw new Error(`expected instance of ${e.name}`)}function we(t,e){let n=e(t.length*4,4)>>>0,r=a();for(let o=0;o<t.length;o++)r.setUint32(n+4*o,b(t[o]),!0);return f=t.length,n}function se(t){let e=d(t,i.__wbindgen_export_0,i.__wbindgen_export_1),n=f;i.registerPlugin(e,n)}function G(){i.init()}var x=128;function L(t){if(x==1)throw new Error("out of js stack");return h[--x]=t,x}function U(t,e,n){i.__wbindgen_export_5(t,e,b(n))}function le(t,e){try{let o=i.__wbindgen_add_to_stack_pointer(-16);i.__wbindgen_export_6(o,t,e);var n=a().getInt32(o+4*0,!0),r=a().getInt32(o+4*1,!0);if(r)throw g(n)}finally{i.__wbindgen_add_to_stack_pointer(16)}}function B(t,e,n){i.__wbindgen_export_7(t,e,b(n))}function fe(t,e){let n=i.__wbindgen_export_8(t,e);return g(n)}function de(t,e,n){try{i.__wbindgen_export_9(t,e,L(n))}finally{h[x++]=void 0}}function pe(t,e){i.__wbindgen_export_10(t,e)}function me(t,e,n){i.__wbindgen_export_11(t,e,b(n))}function he(t,e,n,r){i.__wbindgen_export_12(t,e,b(n),b(r))}var C=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_client_free(t>>>0,1)),T=class{static __wrap(t){t=t>>>0;let e=Object.create(T.prototype);return e.__wbg_ptr=t,C.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,C.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_client_free(t,0)}constructor(t,e){let n=i.client_new(b(t),w(e)?0:b(e));return this.__wbg_ptr=n>>>0,C.register(this,this.__wbg_ptr,this),this}new_proxy_session(t){try{let e=i.client_new_proxy_session(this.__wbg_ptr,L(t));return D.__wrap(e)}finally{h[x++]=void 0}}init(){let t=i.client_init(this.__wbg_ptr);return g(t)}handle_response(t){let e=i.client_handle_response(this.__wbg_ptr,b(t));return g(e)}handle_error(t,e){var n=w(t)?0:d(t,i.__wbindgen_export_0,i.__wbindgen_export_1),r=f;let o=i.client_handle_error(this.__wbg_ptr,n,r,w(e)?0:b(e));return g(o)}on_error(t){let e=i.client_on_error(this.__wbg_ptr,b(t));return g(e)}table(t,e){let n=i.client_table(this.__wbg_ptr,b(t),w(e)?0:b(e));return g(n)}terminate(){try{let r=i.__wbindgen_add_to_stack_pointer(-16);i.client_terminate(r,this.__wbg_ptr);var t=a().getInt32(r+4*0,!0),e=a().getInt32(r+4*1,!0),n=a().getInt32(r+4*2,!0);if(n)throw g(e);return g(t)}finally{i.__wbindgen_add_to_stack_pointer(16)}}open_table(t){let e=d(t,i.__wbindgen_export_0,i.__wbindgen_export_1),n=f,r=i.client_open_table(this.__wbg_ptr,e,n);return g(r)}get_hosted_table_names(){let t=i.client_get_hosted_table_names(this.__wbg_ptr);return g(t)}on_hosted_tables_update(t){let e=i.client_on_hosted_tables_update(this.__wbg_ptr,b(t));return g(e)}remove_hosted_tables_update(t){let e=i.client_remove_hosted_tables_update(this.__wbg_ptr,t);return g(e)}system_info(){let t=i.client_system_info(this.__wbg_ptr);return g(t)}},ye=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_columndropdownelement_free(t>>>0,1)),ve=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,ye.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_columndropdownelement_free(t,0)}},q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_copydropdownmenuelement_free(t>>>0,1)),xe=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,q.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_copydropdownmenuelement_free(t,0)}constructor(t){let e=i.copydropdownmenuelement_new(b(t));return this.__wbg_ptr=e>>>0,q.register(this,this.__wbg_ptr,this),this}open(t){i.copydropdownmenuelement_open(this.__wbg_ptr,b(t))}hide(){try{let n=i.__wbindgen_add_to_stack_pointer(-16);i.copydropdownmenuelement_hide(n,this.__wbg_ptr);var t=a().getInt32(n+4*0,!0),e=a().getInt32(n+4*1,!0);if(e)throw g(t)}finally{i.__wbindgen_add_to_stack_pointer(16)}}set_model(t){S(t,R),i.copydropdownmenuelement_set_model(this.__wbg_ptr,t.__wbg_ptr)}connected_callback(){i.copydropdownmenuelement_connected_callback(this.__wbg_ptr)}},V=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_exportdropdownmenuelement_free(t>>>0,1)),Ie=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_exportdropdownmenuelement_free(t,0)}constructor(t){let e=i.copydropdownmenuelement_new(b(t));return this.__wbg_ptr=e>>>0,V.register(this,this.__wbg_ptr,this),this}open(t){i.exportdropdownmenuelement_open(this.__wbg_ptr,b(t))}hide(){try{let n=i.__wbindgen_add_to_stack_pointer(-16);i.exportdropdownmenuelement_hide(n,this.__wbg_ptr);var t=a().getInt32(n+4*0,!0),e=a().getInt32(n+4*1,!0);if(e)throw g(t)}finally{i.__wbindgen_add_to_stack_pointer(16)}}set_model(t){S(t,R),i.exportdropdownmenuelement_set_model(this.__wbg_ptr,t.__wbg_ptr)}connected_callback(){i.copydropdownmenuelement_connected_callback(this.__wbg_ptr)}},ke=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_filterdropdownelement_free(t>>>0,1)),Ee=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,ke.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_filterdropdownelement_free(t,0)}},Se=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_functiondropdownelement_free(t>>>0,1)),Re=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Se.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_functiondropdownelement_free(t,0)}},H=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_perspectivedebugpluginelement_free(t>>>0,1)),Ae=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,H.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_perspectivedebugpluginelement_free(t,0)}constructor(t){let e=i.perspectivedebugpluginelement_new(b(t));return this.__wbg_ptr=e>>>0,H.register(this,this.__wbg_ptr,this),this}get name(){let t,e;try{let o=i.__wbindgen_add_to_stack_pointer(-16);i.perspectivedebugpluginelement_name(o,this.__wbg_ptr);var n=a().getInt32(o+4*0,!0),r=a().getInt32(o+4*1,!0);return t=n,e=r,s(n,r)}finally{i.__wbindgen_add_to_stack_pointer(16),i.__wbindgen_export_3(t,e,1)}}get select_mode(){let t,e;try{let o=i.__wbindgen_add_to_stack_pointer(-16);i.perspectivedebugpluginelement_select_mode(o,this.__wbg_ptr);var n=a().getInt32(o+4*0,!0),r=a().getInt32(o+4*1,!0);return t=n,e=r,s(n,r)}finally{i.__wbindgen_add_to_stack_pointer(16),i.__wbindgen_export_3(t,e,1)}}get min_config_columns(){let t=i.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return g(t)}get config_column_names(){let t=i.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return g(t)}update(t){S(t,y);let e=i.perspectivedebugpluginelement_draw(this.__wbg_ptr,t.__wbg_ptr);return g(e)}draw(t){S(t,y);let e=i.perspectivedebugpluginelement_draw(this.__wbg_ptr,t.__wbg_ptr);return g(e)}clear(){let t=i.perspectivedebugpluginelement_clear(this.__wbg_ptr);return g(t)}resize(){let t=i.perspectivedebugpluginelement_clear(this.__wbg_ptr);return g(t)}restyle(){let t=i.perspectivedebugpluginelement_clear(this.__wbg_ptr);return g(t)}save(){let t=i.perspectivedebugpluginelement_clear(this.__wbg_ptr);return g(t)}restore(){let t=i.perspectivedebugpluginelement_clear(this.__wbg_ptr);return g(t)}delete(){let t=i.perspectivedebugpluginelement_clear(this.__wbg_ptr);return g(t)}connectedCallback(){i.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}},F=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_perspectiveviewerelement_free(t>>>0,1)),R=class{static __wrap(t){t=t>>>0;let e=Object.create(R.prototype);return e.__wbg_ptr=t,F.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,F.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_perspectiveviewerelement_free(t,0)}constructor(t){let e=i.perspectiveviewerelement_new(b(t));return this.__wbg_ptr=e>>>0,F.register(this,this.__wbg_ptr,this),this}connectedCallback(){i.perspectiveviewerelement_connectedCallback(this.__wbg_ptr)}load(t){let e=i.perspectiveviewerelement_load(this.__wbg_ptr,b(t));return g(e)}delete(){let t=i.perspectiveviewerelement_delete(this.__wbg_ptr);return g(t)}getView(){let t=i.perspectiveviewerelement_getView(this.__wbg_ptr);return g(t)}getTable(t){let e=i.perspectiveviewerelement_getTable(this.__wbg_ptr,w(t)?16777215:t?1:0);return g(e)}getRenderStats(){try{let r=i.__wbindgen_add_to_stack_pointer(-16);i.perspectiveviewerelement_getRenderStats(r,this.__wbg_ptr);var t=a().getInt32(r+4*0,!0),e=a().getInt32(r+4*1,!0),n=a().getInt32(r+4*2,!0);if(n)throw g(e);return g(t)}finally{i.__wbindgen_add_to_stack_pointer(16)}}flush(){let t=i.perspectiveviewerelement_flush(this.__wbg_ptr);return g(t)}restore(t){let e=i.perspectiveviewerelement_restore(this.__wbg_ptr,b(t));return g(e)}resetError(){let t=i.perspectiveviewerelement_resetError(this.__wbg_ptr);return g(t)}save(t){var e=w(t)?0:d(t,i.__wbindgen_export_0,i.__wbindgen_export_1),n=f;let r=i.perspectiveviewerelement_save(this.__wbg_ptr,e,n);return g(r)}download(t){let e=i.perspectiveviewerelement_download(this.__wbg_ptr,w(t)?16777215:t?1:0);return g(e)}copy(t){let e=i.perspectiveviewerelement_copy(this.__wbg_ptr,w(t)?16777215:t?1:0);return g(e)}reset(t){let e=i.perspectiveviewerelement_reset(this.__wbg_ptr,w(t)?16777215:t?1:0);return g(e)}resize(t){let e=i.perspectiveviewerelement_resize(this.__wbg_ptr,w(t)?16777215:t?1:0);return g(e)}setAutoSize(t){i.perspectiveviewerelement_setAutoSize(this.__wbg_ptr,t)}setAutoPause(t){i.perspectiveviewerelement_setAutoPause(this.__wbg_ptr,t)}getSelection(){let t=i.perspectiveviewerelement_getSelection(this.__wbg_ptr);return g(t)}setSelection(t){try{let r=i.__wbindgen_add_to_stack_pointer(-16);i.perspectiveviewerelement_setSelection(r,this.__wbg_ptr,w(t)?0:b(t));var e=a().getInt32(r+4*0,!0),n=a().getInt32(r+4*1,!0);if(n)throw g(e)}finally{i.__wbindgen_add_to_stack_pointer(16)}}getEditPort(){try{let r=i.__wbindgen_add_to_stack_pointer(-16);i.perspectiveviewerelement_getEditPort(r,this.__wbg_ptr);var t=a().getFloat64(r+8*0,!0),e=a().getInt32(r+4*2,!0),n=a().getInt32(r+4*3,!0);if(n)throw g(e);return t}finally{i.__wbindgen_add_to_stack_pointer(16)}}restyleElement(){let t=i.perspectiveviewerelement_restyleElement(this.__wbg_ptr);return g(t)}resetThemes(t){var e=w(t)?0:we(t,i.__wbindgen_export_0),n=f;let r=i.perspectiveviewerelement_resetThemes(this.__wbg_ptr,e,n);return g(r)}setThrottle(t){i.perspectiveviewerelement_setThrottle(this.__wbg_ptr,!w(t),w(t)?0:t)}toggleConfig(t){let e=i.perspectiveviewerelement_toggleConfig(this.__wbg_ptr,w(t)?16777215:t?1:0);return g(e)}getAllPlugins(){let t=i.perspectiveviewerelement_getAllPlugins(this.__wbg_ptr);return g(t)}getPlugin(t){try{let l=i.__wbindgen_add_to_stack_pointer(-16);var e=w(t)?0:d(t,i.__wbindgen_export_0,i.__wbindgen_export_1),n=f;i.perspectiveviewerelement_getPlugin(l,this.__wbg_ptr,e,n);var r=a().getInt32(l+4*0,!0),o=a().getInt32(l+4*1,!0),u=a().getInt32(l+4*2,!0);if(u)throw g(o);return g(r)}finally{i.__wbindgen_add_to_stack_pointer(16)}}get_model(){let t=i.perspectiveviewerelement_get_model(this.__wbg_ptr);return R.__wrap(t)}toggleColumnSettings(t){let e=d(t,i.__wbindgen_export_0,i.__wbindgen_export_1),n=f,r=i.perspectiveviewerelement_toggleColumnSettings(this.__wbg_ptr,e,n);return g(r)}openColumnSettings(t,e){var n=w(t)?0:d(t,i.__wbindgen_export_0,i.__wbindgen_export_1),r=f;let o=i.perspectiveviewerelement_openColumnSettings(this.__wbg_ptr,n,r,w(e)?16777215:e?1:0);return g(o)}},z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_proxysession_free(t>>>0,1)),D=class{static __wrap(t){t=t>>>0;let e=Object.create(D.prototype);return e.__wbg_ptr=t,z.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,z.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_proxysession_free(t,0)}constructor(t,e){try{S(t,T);let n=i.client_new_proxy_session(t.__wbg_ptr,L(e));return this.__wbg_ptr=n>>>0,z.register(this,this.__wbg_ptr,this),this}finally{h[x++]=void 0}}handle_request(t){let e=i.proxysession_handle_request(this.__wbg_ptr,b(t));return g(e)}poll(){let t=i.proxysession_poll(this.__wbg_ptr);return g(t)}close(){let t=this.__destroy_into_raw(),e=i.proxysession_close(t);return g(e)}},$=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_table_free(t>>>0,1)),W=class{static __wrap(t){t=t>>>0;let e=Object.create(W.prototype);return e.__wbg_ptr=t,$.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_table_free(t,0)}__getClassname(){let t,e;try{let o=i.__wbindgen_add_to_stack_pointer(-16);i.table___getClassname(o,this.__wbg_ptr);var n=a().getInt32(o+4*0,!0),r=a().getInt32(o+4*1,!0);return t=n,e=r,s(n,r)}finally{i.__wbindgen_add_to_stack_pointer(16),i.__wbindgen_export_3(t,e,1)}}get_index(){let t=i.table_get_index(this.__wbg_ptr);return g(t)}get_client(){let t=i.table_get_client(this.__wbg_ptr);return g(t)}get_name(){let t=i.table_get_name(this.__wbg_ptr);return g(t)}get_limit(){let t=i.table_get_limit(this.__wbg_ptr);return g(t)}clear(){let t=i.table_clear(this.__wbg_ptr);return g(t)}delete(){let t=i.table_delete(this.__wbg_ptr);return g(t)}size(){let t=i.table_size(this.__wbg_ptr);return g(t)}schema(){let t=i.table_schema(this.__wbg_ptr);return g(t)}columns(){let t=i.table_columns(this.__wbg_ptr);return g(t)}make_port(){let t=i.table_make_port(this.__wbg_ptr);return g(t)}on_delete(t){let e=i.table_on_delete(this.__wbg_ptr,b(t));return g(e)}remove_delete(t){let e=i.table_remove_delete(this.__wbg_ptr,t);return g(e)}remove(t,e){let n=i.table_remove(this.__wbg_ptr,b(t),w(e)?0:b(e));return g(n)}replace(t,e){let n=i.table_replace(this.__wbg_ptr,b(t),w(e)?0:b(e));return g(n)}update(t,e){let n=i.table_update(this.__wbg_ptr,b(t),w(e)?0:b(e));return g(n)}view(t){let e=i.table_view(this.__wbg_ptr,w(t)?0:b(t));return g(e)}validate_expressions(t){let e=i.table_validate_expressions(this.__wbg_ptr,b(t));return g(e)}},J=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>i.__wbg_view_free(t>>>0,1)),y=class{static __wrap(t){t=t>>>0;let e=Object.create(y.prototype);return e.__wbg_ptr=t,J.register(e,e.__wbg_ptr,e),e}static __unwrap(t){return t instanceof y?t.__destroy_into_raw():0}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,J.unregister(this),t}free(){let t=this.__destroy_into_raw();i.__wbg_view_free(t,0)}__get_model(){let t=i.view___get_model(this.__wbg_ptr);return y.__wrap(t)}column_paths(){let t=i.view_column_paths(this.__wbg_ptr);return g(t)}delete(){let t=i.view_delete(this.__wbg_ptr);return g(t)}dimensions(){let t=i.view_dimensions(this.__wbg_ptr);return g(t)}expression_schema(){let t=i.view_expression_schema(this.__wbg_ptr);return g(t)}get_config(){let t=i.view_get_config(this.__wbg_ptr);return g(t)}get_min_max(t){let e=d(t,i.__wbindgen_export_0,i.__wbindgen_export_1),n=f,r=i.view_get_min_max(this.__wbg_ptr,e,n);return g(r)}num_rows(){let t=i.view_num_rows(this.__wbg_ptr);return g(t)}schema(){let t=i.view_schema(this.__wbg_ptr);return g(t)}to_arrow(t){let e=i.view_to_arrow(this.__wbg_ptr,w(t)?0:b(t));return g(e)}to_columns_string(t){let e=i.view_to_columns_string(this.__wbg_ptr,w(t)?0:b(t));return g(e)}to_columns(t){let e=i.view_to_columns(this.__wbg_ptr,w(t)?0:b(t));return g(e)}to_json_string(t){let e=i.view_to_json_string(this.__wbg_ptr,w(t)?0:b(t));return g(e)}to_json(t){let e=i.view_to_json(this.__wbg_ptr,w(t)?0:b(t));return g(e)}to_ndjson(t){let e=i.view_to_ndjson(this.__wbg_ptr,w(t)?0:b(t));return g(e)}to_csv(t){let e=i.view_to_csv(this.__wbg_ptr,w(t)?0:b(t));return g(e)}on_update(t,e){let n=i.view_on_update(this.__wbg_ptr,b(t),w(e)?0:b(e));return g(n)}remove_update(t){let e=i.view_remove_update(this.__wbg_ptr,t);return g(e)}on_delete(t){let e=i.view_on_delete(this.__wbg_ptr,b(t));return g(e)}num_columns(){let t=i.view_num_columns(this.__wbg_ptr);return g(t)}remove_delete(t){let e=i.view_remove_delete(this.__wbg_ptr,t);return g(e)}collapse(t){let e=i.view_collapse(this.__wbg_ptr,t);return g(e)}expand(t){let e=i.view_expand(this.__wbg_ptr,t);return g(e)}set_depth(t){let e=i.view_set_depth(this.__wbg_ptr,t);return g(e)}};async function Oe(t,e){if(typeof Response=="function"&&t instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(t,e)}catch(r){if(t.headers.get("Content-Type")!="application/wasm")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",r);else throw r}let n=await t.arrayBuffer();return await WebAssembly.instantiate(n,e)}else{let n=await WebAssembly.instantiate(t,e);return n instanceof WebAssembly.Instance?{instance:n,module:t}:n}}function Q(){let t={};return t.wbg={},t.wbg.__wbg_String_8f0eb39a4a4c2f66=function(e,n){let r=String(_(n)),o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_activeElement_269d90df98fa48af=function(e){let n=_(e).activeElement;return w(n)?0:b(n)},t.wbg.__wbg_addEventListener_086f56364d0f5f32=function(){return c(function(e,n,r,o,u){_(e).addEventListener(s(n,r),_(o),_(u))},arguments)},t.wbg.__wbg_addEventListener_435e8c1f21f457b2=function(){return c(function(e,n,r,o){_(e).addEventListener(s(n,r),_(o))},arguments)},t.wbg.__wbg_add_8b20bdf6a0133c8d=function(){return c(function(e,n){_(e).add(..._(n))},arguments)},t.wbg.__wbg_add_ad1d1783e738a5e9=function(){return c(function(e,n,r){_(e).add(s(n,r))},arguments)},t.wbg.__wbg_appendChild_7c5825d692053033=function(){return c(function(e,n){let r=_(e).appendChild(_(n));return b(r)},arguments)},t.wbg.__wbg_apply_9bb7fe8fff013a3f=function(){return c(function(e,n,r){let o=Reflect.apply(_(e),_(n),_(r));return b(o)},arguments)},t.wbg.__wbg_at_1abf0efc31a7fc6e=function(e,n){let r=_(e).at(n);return b(r)},t.wbg.__wbg_attachShadow_ca706fa989deead3=function(){return c(function(e,n){let r=_(e).attachShadow(_(n));return b(r)},arguments)},t.wbg.__wbg_blur_d1200a579e3ccf9a=function(){return c(function(e){_(e).blur()},arguments)},t.wbg.__wbg_body_a988e82424f68da9=function(e){let n=_(e).body;return w(n)?0:b(n)},t.wbg.__wbg_bootstrap_4bd1da8ea5e161e4=function(e,n,r,o,u,l){let p=ge(_(e),s(n,r),s(o,u),g(l));return b(p)},t.wbg.__wbg_bubbles_7b5f623fa401eb0d=function(e){return _(e).bubbles},t.wbg.__wbg_buffer_bacd7706db793204=function(e){let n=_(e).buffer;return b(n)},t.wbg.__wbg_buffer_ef9774282e5dab94=function(e){let n=_(e).buffer;return b(n)},t.wbg.__wbg_button_cf393fc0a7773ee4=function(e){return _(e).button},t.wbg.__wbg_byteLength_d52de988f95295b2=function(e){return _(e).byteLength},t.wbg.__wbg_byteOffset_7fca107d7d193694=function(e){return _(e).byteOffset},t.wbg.__wbg_cachekey_57601dac16343711=function(e){let n=_(e).__yew_subtree_cache_key;return w(n)?4294967297:n>>>0},t.wbg.__wbg_call_0ad083564791763a=function(){return c(function(e,n){let r=_(e).call(_(n));return b(r)},arguments)},t.wbg.__wbg_call_a34b6b4765f27be0=function(){return c(function(e,n,r){let o=_(e).call(_(n),_(r));return b(o)},arguments)},t.wbg.__wbg_call_efe5a4db7065d1a2=function(){return c(function(e,n,r,o){let u=_(e).call(_(n),_(r),_(o));return b(u)},arguments)},t.wbg.__wbg_cancelBubble_65c441507f8e665c=function(e){return _(e).cancelBubble},t.wbg.__wbg_canrendercolumnstyles_3dbe59eff37b1f45=function(){return c(function(e,n,r,o,u){return _(e).can_render_column_styles(s(n,r),o===0?void 0:s(o,u))},arguments)},t.wbg.__wbg_category_9e0d28365668183d=function(e,n){let r=_(n).category;var o=w(r)?0:d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_checked_e73ad150b9e38836=function(e){return _(e).checked},t.wbg.__wbg_childNodes_03488c474413d1aa=function(e){let n=_(e).childNodes;return b(n)},t.wbg.__wbg_children_f2103fad05de8500=function(e){let n=_(e).children;return b(n)},t.wbg.__wbg_classList_416e8612217ee162=function(e){let n=_(e).classList;return b(n)},t.wbg.__wbg_click_5c8cca1c6a10688c=function(e){_(e).click()},t.wbg.__wbg_clientHeight_64024d24c91afc9c=function(e){return _(e).clientHeight},t.wbg.__wbg_clientWidth_56ad62b4cfb4eb50=function(e){return _(e).clientWidth},t.wbg.__wbg_clientX_3a92ca49f9e276d1=function(e){return _(e).clientX},t.wbg.__wbg_clientY_8cf1e863a2e20fba=function(e){return _(e).clientY},t.wbg.__wbg_client_new=function(e){let n=T.__wrap(e);return b(n)},t.wbg.__wbg_clipboard_87e941cdb1e85669=function(e){let n=_(e).clipboard;return w(n)?0:b(n)},t.wbg.__wbg_cloneNode_007df7834aaa05c7=function(){return c(function(e,n){let r=_(e).cloneNode(n!==0);return b(r)},arguments)},t.wbg.__wbg_cloneNode_953136fba5daff6c=function(){return c(function(e){let n=_(e).cloneNode();return b(n)},arguments)},t.wbg.__wbg_columnstylecontrols_e29dd3923c1aced1=function(){return c(function(e,n,r,o,u){let l=_(e).column_style_controls(s(n,r),o===0?void 0:s(o,u));return b(l)},arguments)},t.wbg.__wbg_composedPath_2bc173ac38e0a20e=function(e){let n=_(e).composedPath();return b(n)},t.wbg.__wbg_configcolumnnames_fc5bcff573615853=function(e){let n=_(e).config_column_names;return w(n)?0:b(n)},t.wbg.__wbg_contains_c317a65dc27794f3=function(e,n){return _(e).contains(_(n))},t.wbg.__wbg_contentRect_4df51268c7145aaa=function(e){let n=_(e).contentRect;return b(n)},t.wbg.__wbg_createElementNS_76b20f860b18ad4e=function(){return c(function(e,n,r,o,u){let l=_(e).createElementNS(n===0?void 0:s(n,r),s(o,u));return b(l)},arguments)},t.wbg.__wbg_createElement_32c287e69e603e7e=function(){return c(function(e,n,r){let o=_(e).createElement(s(n,r));return b(o)},arguments)},t.wbg.__wbg_createObjectURL_79d470fef236d558=function(){return c(function(e,n){let r=URL.createObjectURL(_(n)),o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},arguments)},t.wbg.__wbg_createTextNode_42cc1e035e528436=function(e,n,r){let o=_(e).createTextNode(s(n,r));return b(o)},t.wbg.__wbg_crypto_ed58b8e10a292839=function(e){let n=_(e).crypto;return b(n)},t.wbg.__wbg_cssRules_ccbd5a21d1b3a12b=function(){return c(function(e){let n=_(e).cssRules;return b(n)},arguments)},t.wbg.__wbg_dataTransfer_0dfb0466f6be620c=function(e){let n=_(e).dataTransfer;return w(n)?0:b(n)},t.wbg.__wbg_dataset_9555caf70b9cb0c1=function(e){let n=_(e).dataset;return b(n)},t.wbg.__wbg_debug_338493c12960e4a7=function(e){console.debug(_(e))},t.wbg.__wbg_debug_f201c091a5d2019b=function(e,n,r,o){console.debug(_(e),_(n),_(r),_(o))},t.wbg.__wbg_delete_2882e7defedad4c8=function(e){_(e).delete()},t.wbg.__wbg_delete_70d7e592a3a49c16=function(e,n,r){delete _(e)[s(n,r)]},t.wbg.__wbg_dispatchEvent_68c6f2105f6be0f6=function(){return c(function(e,n){return _(e).dispatchEvent(_(n))},arguments)},t.wbg.__wbg_document_da63b92bac45c6f9=function(e){let n=_(e).document;return w(n)?0:b(n)},t.wbg.__wbg_done_f4c254830a095eaf=function(e){return _(e).done},t.wbg.__wbg_draw_729cbccaaad3322e=function(){return c(function(e,n,r,o,u){let l=_(e).draw(y.__wrap(n),r===4294967297?void 0:r,o===4294967297?void 0:o,u!==0);return b(l)},arguments)},t.wbg.__wbg_entries_83beb641792ccb9c=function(e){let n=Object.entries(_(e));return b(n)},t.wbg.__wbg_error_3c7d958458bf649b=function(e,n){var r=ae(e,n).slice();i.__wbindgen_export_3(e,n*4,4),console.error(...r)},t.wbg.__wbg_error_7534b8e9a36f1ab4=function(e,n){let r,o;try{r=e,o=n,console.error(s(e,n))}finally{i.__wbindgen_export_3(r,o,1)}},t.wbg.__wbg_error_852b114509bed301=function(e){console.error(_(e))},t.wbg.__wbg_error_94252a8e90b35b8e=function(e,n,r,o){console.error(_(e),_(n),_(r),_(o))},t.wbg.__wbg_error_afd05d3fc1f414ce=function(e,n){console.error(_(e),_(n))},t.wbg.__wbg_family_df8406822a165a00=function(e,n){let r=_(n).family,o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_focus_4118597a9430279f=function(){return c(function(e){_(e).focus()},arguments)},t.wbg.__wbg_fonts_5e9775f930f6db58=function(e){let n=_(e).fonts;return b(n)},t.wbg.__wbg_format_dd85a05737f53b26=function(e){let n=_(e).format;return b(n)},t.wbg.__wbg_from_3aa0fcaa8eef0104=function(e){let n=Array.from(_(e));return b(n)},t.wbg.__wbg_getAttribute_8ea59c069aa8c40f=function(e,n,r,o){let u=_(n).getAttribute(s(r,o));var l=w(u)?0:d(u,i.__wbindgen_export_0,i.__wbindgen_export_1),p=f;a().setInt32(e+4*1,p,!0),a().setInt32(e+4*0,l,!0)},t.wbg.__wbg_getBoundingClientRect_d38f67f3e23939f4=function(e){let n=_(e).getBoundingClientRect();return b(n)},t.wbg.__wbg_getComputedStyle_bd01b85926809933=function(){return c(function(e,n){let r=_(e).getComputedStyle(_(n));return w(r)?0:b(r)},arguments)},t.wbg.__wbg_getEntriesByName_6fb8ccc67553373f=function(e,n,r,o,u){let l=_(e).getEntriesByName(s(n,r),s(o,u));return b(l)},t.wbg.__wbg_getPropertyValue_b51d619f0b96c87f=function(){return c(function(e,n,r,o){let u=_(n).getPropertyValue(s(r,o)),l=d(u,i.__wbindgen_export_0,i.__wbindgen_export_1),p=f;a().setInt32(e+4*1,p,!0),a().setInt32(e+4*0,l,!0)},arguments)},t.wbg.__wbg_getRandomValues_bcb4912f16000dc4=function(){return c(function(e,n){_(e).getRandomValues(_(n))},arguments)},t.wbg.__wbg_getRootNode_440e85dffade7eea=function(e){let n=_(e).getRootNode();return b(n)},t.wbg.__wbg_getTimezoneOffset_6c191e41297e5a8e=function(e){return _(e).getTimezoneOffset()},t.wbg.__wbg_get_0c3cc364764a0b98=function(e,n){let r=_(e)[n>>>0];return b(r)},t.wbg.__wbg_get_0c9db6b3aed90006=function(e,n,r,o){let u=_(n)[s(r,o)];var l=w(u)?0:d(u,i.__wbindgen_export_0,i.__wbindgen_export_1),p=f;a().setInt32(e+4*1,p,!0),a().setInt32(e+4*0,l,!0)},t.wbg.__wbg_get_977cbaa63dc20090=function(e,n,r){let o=_(e)[s(n,r)];return w(o)?0:b(o)},t.wbg.__wbg_get_b996a12be035ef4f=function(){return c(function(e,n){let r=Reflect.get(_(e),_(n));return b(r)},arguments)},t.wbg.__wbg_getwithindex_bc07b6cede524990=function(e,n){let r=_(e)[n>>>0];return w(r)?0:b(r)},t.wbg.__wbg_getwithrefkey_1dc361bd10053bfe=function(e,n){let r=_(e)[_(n)];return b(r)},t.wbg.__wbg_globalThis_6b4d52a0b6aaeaea=function(){return c(function(){let e=globalThis.globalThis;return b(e)},arguments)},t.wbg.__wbg_global_49324ce12193de77=function(){return c(function(){let e=global.global;return b(e)},arguments)},t.wbg.__wbg_hasAttribute_ca243798c4c52fb7=function(e,n,r){return _(e).hasAttribute(s(n,r))},t.wbg.__wbg_has_bdec43a5ed4cb454=function(){return c(function(e,n){return Reflect.has(_(e),_(n))},arguments)},t.wbg.__wbg_height_3adc8837b185fd29=function(e){return _(e).height},t.wbg.__wbg_height_62d7d52d37fd0599=function(e){return _(e).height},t.wbg.__wbg_host_407669ea45f72362=function(e){let n=_(e).host;return b(n)},t.wbg.__wbg_info_493696cc38ae1ad0=function(e,n,r,o){console.info(_(e),_(n),_(r),_(o))},t.wbg.__wbg_info_6c1abe3d4e1ae962=function(e){console.info(_(e))},t.wbg.__wbg_innerHeight_fb3ea713a47ae687=function(){return c(function(e){let n=_(e).innerHeight;return b(n)},arguments)},t.wbg.__wbg_innerWidth_8d8ddfaffc5a3230=function(){return c(function(e){let n=_(e).innerWidth;return b(n)},arguments)},t.wbg.__wbg_insertBefore_332a5bd77aff0101=function(){return c(function(e,n,r){let o=_(e).insertBefore(_(n),_(r));return b(o)},arguments)},t.wbg.__wbg_instanceof_ArrayBuffer_ff40e55b5978e215=function(e){let n;try{n=_(e)instanceof ArrayBuffer}catch{n=!1}return n},t.wbg.__wbg_instanceof_Array_23bc22ecdd4608e6=function(e){let n;try{n=_(e)instanceof Array}catch{n=!1}return n},t.wbg.__wbg_instanceof_CssStyleRule_834b6a5dc7cf5b86=function(e){let n;try{n=_(e)instanceof CSSStyleRule}catch{n=!1}return n},t.wbg.__wbg_instanceof_Element_45bdeb22e5f6babd=function(e){let n;try{n=_(e)instanceof Element}catch{n=!1}return n},t.wbg.__wbg_instanceof_FontFace_d2c93c7cd45276b1=function(e){let n;try{n=_(e)instanceof FontFace}catch{n=!1}return n},t.wbg.__wbg_instanceof_Map_0f3f3653f757ced1=function(e){let n;try{n=_(e)instanceof Map}catch{n=!1}return n},t.wbg.__wbg_instanceof_Object_9108547bac1f91b1=function(e){let n;try{n=_(e)instanceof Object}catch{n=!1}return n},t.wbg.__wbg_instanceof_PerspectiveViewNotFoundError_19d9612e8e898f33=function(e){let n;try{n=_(e)instanceof M}catch{n=!1}return n},t.wbg.__wbg_instanceof_Promise_55724f650224c9ed=function(e){let n;try{n=_(e)instanceof Promise}catch{n=!1}return n},t.wbg.__wbg_instanceof_ShadowRoot_832cd6adaa07105a=function(e){let n;try{n=_(e)instanceof ShadowRoot}catch{n=!1}return n},t.wbg.__wbg_instanceof_Uint8Array_db97368f94b1373f=function(e){let n;try{n=_(e)instanceof Uint8Array}catch{n=!1}return n},t.wbg.__wbg_instanceof_Window_311934805c10047c=function(e){let n;try{n=_(e)instanceof Window}catch{n=!1}return n},t.wbg.__wbg_isArray_8738f1062fa88586=function(e){return Array.isArray(_(e))},t.wbg.__wbg_isConnected_7b81a95a86664699=function(e){return _(e).isConnected},t.wbg.__wbg_isIntersecting_0403ade3b2bdd6f8=function(e){return _(e).isIntersecting},t.wbg.__wbg_isSafeInteger_a1b3e0811faecf2f=function(e){return Number.isSafeInteger(_(e))},t.wbg.__wbg_is_d6c5f207fac5a36c=function(e,n){return Object.is(_(e),_(n))},t.wbg.__wbg_item_5ead4800ef53b575=function(e,n){let r=_(e).item(n>>>0);return w(r)?0:b(r)},t.wbg.__wbg_item_85ec4ec73ec46f50=function(e,n){let r=_(e).item(n>>>0);return w(r)?0:b(r)},t.wbg.__wbg_item_b8ff6623bcb82860=function(e,n){let r=_(e).item(n>>>0);return w(r)?0:b(r)},t.wbg.__wbg_item_f0a3d07d29e8ca08=function(e,n,r){let o=_(n).item(r>>>0),u=d(o,i.__wbindgen_export_0,i.__wbindgen_export_1),l=f;a().setInt32(e+4*1,l,!0),a().setInt32(e+4*0,u,!0)},t.wbg.__wbg_iterator_c0c688f37fa815e6=function(){return b(Symbol.iterator)},t.wbg.__wbg_keyCode_10de39848ccf36f5=function(e){return _(e).keyCode},t.wbg.__wbg_key_b6f8a6b04de6624f=function(e,n){let r=_(n).key,o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_keys_45b15edb4089351e=function(e){let n=Object.keys(_(e));return b(n)},t.wbg.__wbg_languages_491c6d0833be0219=function(e){let n=_(e).languages;return b(n)},t.wbg.__wbg_lastChild_560693bae51c9627=function(e){let n=_(e).lastChild;return w(n)?0:b(n)},t.wbg.__wbg_left_bbc85c05eb704107=function(e){return _(e).left},t.wbg.__wbg_length_0f5a275f7c2091d8=function(e){return _(e).length},t.wbg.__wbg_length_12246a78d2f65d3a=function(e){return _(e).length},t.wbg.__wbg_length_c24da17096edfe57=function(e){return _(e).length},t.wbg.__wbg_length_cd70c82cb6e23144=function(e){return _(e).length},t.wbg.__wbg_length_ea896428bb1146cc=function(e){return _(e).length},t.wbg.__wbg_listenerid_ed1678830a5b97ec=function(e){let n=_(e).__yew_listener_id;return w(n)?4294967297:n>>>0},t.wbg.__wbg_loaded_9979a254f4c4a18a=function(){return c(function(e){let n=_(e).loaded;return b(n)},arguments)},t.wbg.__wbg_mark_2e459508e2ea726f=function(){return c(function(e,n,r){_(e).mark(s(n,r))},arguments)},t.wbg.__wbg_matches_bc60960a81f65a74=function(){return c(function(e,n,r){return _(e).matches(s(n,r))},arguments)},t.wbg.__wbg_maxcells_61539ee62e761b72=function(e){let n=_(e).max_cells;return w(n)?4294967297:n>>>0},t.wbg.__wbg_maxcolumns_57427dc58dd509b5=function(e){let n=_(e).max_columns;return w(n)?4294967297:n>>>0},t.wbg.__wbg_measure_590e79f6f28bcf70=function(){return c(function(e,n,r,o,u){_(e).measure(s(n,r),s(o,u))},arguments)},t.wbg.__wbg_minconfigcolumns_1046a7cc3e97df8c=function(e){let n=_(e).min_config_columns;return w(n)?4294967297:n>>>0},t.wbg.__wbg_msCrypto_0a36e2ec3a343d26=function(e){let n=_(e).msCrypto;return b(n)},t.wbg.__wbg_name_16ae6eb46dc0c2c8=function(e,n){let r=_(n).name,o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_namespaceURI_a9c6c7804266ee35=function(e,n){let r=_(n).namespaceURI;var o=w(r)?0:d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_navigator_f1fcfe352aad9c4a=function(e){let n=_(e).navigator;return b(n)},t.wbg.__wbg_new_1ead3bb4e30fac6e=function(e){let n=new oe(_(e));return b(n)},t.wbg.__wbg_new_26adb8246e7da825=function(){return c(function(e,n){let r=new CustomEvent(s(e,n));return b(r)},arguments)},t.wbg.__wbg_new_4df4d23a555db943=function(e,n){let r=new Intl.NumberFormat(_(e),_(n));return b(r)},t.wbg.__wbg_new_518e2184725aa711=function(){return b(new Map)},t.wbg.__wbg_new_59845962d1127937=function(e){let n=new Uint8Array(_(e));return b(n)},t.wbg.__wbg_new_64f7ad5aa7fe5e65=function(){return c(function(e,n){let r=new InputEvent(s(e,n));return b(r)},arguments)},t.wbg.__wbg_new_67abf4a77618ee3e=function(){let e=new Object;return b(e)},t.wbg.__wbg_new_6dd007274c51c142=function(){let e=new M;return b(e)},t.wbg.__wbg_new_7f6cdb425945ba92=function(e,n){let r=new Intl.DateTimeFormat(_(e),_(n));return b(r)},t.wbg.__wbg_new_8a6f238a6ece86ea=function(){let e=new Error;return b(e)},t.wbg.__wbg_new_a28237a918fd5809=function(e){let n=new ie(_(e));return b(n)},t.wbg.__wbg_new_a96f21efc59c18b1=function(e){let n=new Date(_(e));return b(n)},t.wbg.__wbg_new_ac7361beaf933ba6=function(e,n){try{var r={a:e,b:n},o=(l,p)=>{let m=r.a;r.a=0;try{return he(m,r.b,l,p)}finally{r.a=m}};let u=new Promise(o);return b(u)}finally{r.a=r.b=0}},t.wbg.__wbg_new_cd2c19836dc88c23=function(e){let n=new be(_(e));return b(n)},t.wbg.__wbg_new_e2d07398d7689006=function(){let e=new Array;return b(e)},t.wbg.__wbg_newnoargs_a136448eeb7d48ac=function(e,n){let r=new Function(s(e,n));return b(r)},t.wbg.__wbg_newwithbyteoffsetandlength_84908302a4c137cf=function(e,n,r){let o=new Uint8Array(_(e),n>>>0,r>>>0);return b(o)},t.wbg.__wbg_newwitheventinitdict_694b539bc4f40c3d=function(){return c(function(e,n,r){let o=new CustomEvent(s(e,n),_(r));return b(o)},arguments)},t.wbg.__wbg_newwithlength_4c216eaaf23f2f9a=function(e){let n=new Uint8Array(e>>>0);return b(n)},t.wbg.__wbg_newwithstrsequenceandoptions_7f10a04698e1ea40=function(){return c(function(e,n){let r=new Blob(_(e),_(n));return b(r)},arguments)},t.wbg.__wbg_newwithu8arraysequence_bd1e90bbc7b7a251=function(){return c(function(e){let n=new Blob(_(e));return b(n)},arguments)},t.wbg.__wbg_nextSibling_e8b3016fe0fc3483=function(e){let n=_(e).nextSibling;return w(n)?0:b(n)},t.wbg.__wbg_next_54bce2e56cc36c18=function(){return c(function(e){let n=_(e).next();return b(n)},arguments)},t.wbg.__wbg_next_928df8c15fc0c9b0=function(e){let n=_(e).next;return b(n)},t.wbg.__wbg_next_9dc0926f351c7090=function(){return c(function(e){let n=_(e).next();return b(n)},arguments)},t.wbg.__wbg_node_02999533c4ea02e3=function(e){let n=_(e).node;return b(n)},t.wbg.__wbg_now_c893509b6d04fa0d=function(e){return _(e).now()},t.wbg.__wbg_observe_c58b8a0e92e09d05=function(e,n){_(e).observe(_(n))},t.wbg.__wbg_observe_ee089776b55f10ad=function(e,n){_(e).observe(_(n))},t.wbg.__wbg_offsetHeight_6f7ddbf328e832e5=function(e){return _(e).offsetHeight},t.wbg.__wbg_offsetParent_c61271df2ccb206b=function(e){let n=_(e).offsetParent;return w(n)?0:b(n)},t.wbg.__wbg_offsetWidth_e088bf6f4329d827=function(e){return _(e).offsetWidth},t.wbg.__wbg_offsetX_735d4365b41503ea=function(e){return _(e).offsetX},t.wbg.__wbg_offsetY_b425bca937dc0468=function(e){return _(e).offsetY},t.wbg.__wbg_parentElement_d1f33e17ed9af17f=function(e){let n=_(e).parentElement;return w(n)?0:b(n)},t.wbg.__wbg_parentNode_632569c5424d986d=function(e){let n=_(e).parentNode;return w(n)?0:b(n)},t.wbg.__wbg_parse_bd09af51fd7dd576=function(){return c(function(e,n){let r=JSON.parse(s(e,n));return b(r)},arguments)},t.wbg.__wbg_performance_69882c3bda965f91=function(e){let n=_(e).performance;return w(n)?0:b(n)},t.wbg.__wbg_pointerId_d196f4d67d3e19aa=function(e){return _(e).pointerId},t.wbg.__wbg_preventDefault_ce5728083bec4f8d=function(e){_(e).preventDefault()},t.wbg.__wbg_priority_975d379e0830abc9=function(e){let n=_(e).priority;return w(n)?4294967297:n>>0},t.wbg.__wbg_process_5c1d670bc53614b8=function(e){let n=_(e).process;return b(n)},t.wbg.__wbg_push_e7d7247e69dad3ee=function(e,n){return _(e).push(_(n))},t.wbg.__wbg_queueMicrotask_6808622725a52272=function(e){let n=_(e).queueMicrotask;return b(n)},t.wbg.__wbg_queueMicrotask_ef0e86b0263a71ee=function(e){queueMicrotask(_(e))},t.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740=function(){return c(function(e,n){_(e).randomFillSync(g(n))},arguments)},t.wbg.__wbg_readText_cf819cfa16a76536=function(e){let n=_(e).readText();return b(n)},t.wbg.__wbg_readyState_905c1c6b522c366a=function(e,n){let r=_(n).readyState,o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_reject_fd3a67e45841ae99=function(e){let n=Promise.reject(_(e));return b(n)},t.wbg.__wbg_relatedTarget_959a1a6780f8c225=function(e){let n=_(e).relatedTarget;return w(n)?0:b(n)},t.wbg.__wbg_releasePointerCapture_d85ea7bd3c2e3d60=function(){return c(function(e,n){_(e).releasePointerCapture(n)},arguments)},t.wbg.__wbg_removeAttribute_b92a081e598114ec=function(){return c(function(e,n,r){_(e).removeAttribute(s(n,r))},arguments)},t.wbg.__wbg_removeChild_1a90fe3c463c9fa4=function(){return c(function(e,n){let r=_(e).removeChild(_(n));return b(r)},arguments)},t.wbg.__wbg_removeEventListener_a689e1d3f78c8d6c=function(){return c(function(e,n,r,o){_(e).removeEventListener(s(n,r),_(o))},arguments)},t.wbg.__wbg_remove_e7b8fe94708f369e=function(){return c(function(e,n,r){_(e).remove(s(n,r))},arguments)},t.wbg.__wbg_remove_fa057e80ce79f92a=function(){return c(function(e,n){_(e).remove(..._(n))},arguments)},t.wbg.__wbg_renderwarning_a675171732516044=function(e){let n=_(e).render_warning;return w(n)?16777215:n?1:0},t.wbg.__wbg_requestAnimationFrame_10b343047ff65a80=function(){return c(function(e,n){return _(e).requestAnimationFrame(_(n))},arguments)},t.wbg.__wbg_require_79b1e9274cde3c87=function(){return c(function(){let e=module.require;return b(e)},arguments)},t.wbg.__wbg_resize_8601ec7d7501f567=function(){return c(function(e){let n=_(e).resize();return b(n)},arguments)},t.wbg.__wbg_resolve_267ff08e7e1d2ce4=function(e){let n=Promise.resolve(_(e));return b(n)},t.wbg.__wbg_resolvedOptions_73d48ef2e9b809e1=function(e){let n=_(e).resolvedOptions();return b(n)},t.wbg.__wbg_restore_d93a9e13a5735696=function(){return c(function(e,n,r){_(e).restore(_(n),_(r))},arguments)},t.wbg.__wbg_restyle_e76e22e95dc07737=function(){return c(function(e,n){let r=_(e).restyle(y.__wrap(n));return b(r)},arguments)},t.wbg.__wbg_save_36a9ecd5f066d713=function(){return c(function(e){let n=_(e).save();return b(n)},arguments)},t.wbg.__wbg_scrollLeft_934a89309c2e35fd=function(e){return _(e).scrollLeft},t.wbg.__wbg_scrollTop_124f7d558dd2b1d6=function(e){return _(e).scrollTop},t.wbg.__wbg_scrollTop_baf3b0588ba6af47=function(e){return _(e).scrollTop},t.wbg.__wbg_selectedIndex_3bf09c0e613c15b4=function(e){return _(e).selectedIndex},t.wbg.__wbg_selectionEnd_993c6c28b2c8e8b3=function(){return c(function(e){let n=_(e).selectionEnd;return w(n)?4294967297:n>>>0},arguments)},t.wbg.__wbg_selectionStart_dda3ffa187132b73=function(){return c(function(e){let n=_(e).selectionStart;return w(n)?4294967297:n>>>0},arguments)},t.wbg.__wbg_selectmode_36c4237725feb5bb=function(e){let n=_(e).select_mode;return b(n)},t.wbg.__wbg_selectorText_733f92b3cf56a498=function(e,n){let r=_(n).selectorText,o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_self_cca3ca60d61220f4=function(){return c(function(){let e=self.self;return b(e)},arguments)},t.wbg.__wbg_setAttribute_36e2856decdf83a1=function(){return c(function(e,n,r,o,u){_(e).setAttribute(s(n,r),s(o,u))},arguments)},t.wbg.__wbg_setData_3ae346344c1965c4=function(){return c(function(e,n,r,o,u){_(e).setData(s(n,r),s(o,u))},arguments)},t.wbg.__wbg_setDragImage_40c5bf975f17f344=function(e,n,r,o){_(e).setDragImage(_(n),r,o)},t.wbg.__wbg_setPointerCapture_57a3ac98f83ead92=function(){return c(function(e,n){_(e).setPointerCapture(n)},arguments)},t.wbg.__wbg_setProperty_ee6f9ed1d8596887=function(){return c(function(e,n,r,o,u){_(e).setProperty(s(n,r),s(o,u))},arguments)},t.wbg.__wbg_setSelectionRange_5c44940b58375825=function(){return c(function(e,n,r){_(e).setSelectionRange(n>>>0,r>>>0)},arguments)},t.wbg.__wbg_setTimeout_3252f08858c90488=function(){return c(function(e,n,r){return _(e).setTimeout(_(n),r)},arguments)},t.wbg.__wbg_set_1b50d2de855a9d50=function(){return c(function(e,n,r){return Reflect.set(_(e),_(n),_(r))},arguments)},t.wbg.__wbg_set_34625a88f2c05a3b=function(){return c(function(e,n,r,o,u){_(e)[s(n,r)]=s(o,u)},arguments)},t.wbg.__wbg_set_393f510a6b7e9da5=function(e,n,r){let o=_(e).set(_(n),_(r));return b(o)},t.wbg.__wbg_set_3f1d0b984ed272ed=function(e,n,r){_(e)[g(n)]=g(r)},t.wbg.__wbg_set_5deee49b10b2b780=function(e,n,r){_(e).set(_(n),r>>>0)},t.wbg.__wbg_set_93ba9407b5476ec6=function(e,n,r){_(e)[n>>>0]=g(r)},t.wbg.__wbg_setcachekey_bb5f908a0e3ee714=function(e,n){_(e).__yew_subtree_cache_key=n>>>0},t.wbg.__wbg_setchecked_ee957125854726c5=function(e,n){_(e).checked=n!==0},t.wbg.__wbg_setdropEffect_49981812b43d66c7=function(e,n,r){_(e).dropEffect=s(n,r)},t.wbg.__wbg_setinnerHTML_1f5ad3b02760ea31=function(e,n,r){_(e).innerHTML=s(n,r)},t.wbg.__wbg_setlistenerid_3d14d37a42484593=function(e,n){_(e).__yew_listener_id=n>>>0},t.wbg.__wbg_setnodeValue_9abe578fc2812b11=function(e,n,r){_(e).nodeValue=n===0?void 0:s(n,r)},t.wbg.__wbg_setrenderwarning_ed58d71b4a458427=function(e,n){_(e).render_warning=n!==0},t.wbg.__wbg_setscrollLeft_93a4a75faf94192b=function(e,n){_(e).scrollLeft=n},t.wbg.__wbg_setscrollTop_54568fa2c9b61ee9=function(e,n){_(e).scrollTop=n},t.wbg.__wbg_setselectionEnd_4df31af04121bb04=function(){return c(function(e,n){_(e).selectionEnd=n===4294967297?void 0:n},arguments)},t.wbg.__wbg_setselectionStart_9c20762a6ae83185=function(){return c(function(e,n){_(e).selectionStart=n===4294967297?void 0:n},arguments)},t.wbg.__wbg_setsubtreeid_32b8ceff55862e29=function(e,n){_(e).__yew_subtree_id=n>>>0},t.wbg.__wbg_settextContent_60379b5916721a69=function(e,n,r){_(e).textContent=n===0?void 0:s(n,r)},t.wbg.__wbg_setvalue_34a21ed1993f58ef=function(e,n,r){_(e).value=s(n,r)},t.wbg.__wbg_setvalue_4e6fc1110a966527=function(e,n,r){_(e).value=s(n,r)},t.wbg.__wbg_setvalue_fc0b0c122b07f8a1=function(e,n,r){_(e).value=s(n,r)},t.wbg.__wbg_shiftKey_528456f6a6ebf1a9=function(e){return _(e).shiftKey},t.wbg.__wbg_shiftKey_b2a22adb435e27b7=function(e){return _(e).shiftKey},t.wbg.__wbg_slice_1ce88459a1591604=function(e,n,r){let o=_(e).slice(n>>>0,r>>>0);return b(o)},t.wbg.__wbg_stack_0ed75d68575b0f3c=function(e,n){let r=_(n).stack,o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_startTime_06f7b6aebc293aff=function(e){return _(e).startTime},t.wbg.__wbg_static_accessor_PSP_fdc735f52edd1716=function(){return b(K)},t.wbg.__wbg_stopPropagation_6c4309fb9ac23f6a=function(e){_(e).stopPropagation()},t.wbg.__wbg_stringify_7330cbd04ec4c682=function(){return c(function(e,n,r){let o=JSON.stringify(_(e),_(n),_(r));return b(o)},arguments)},t.wbg.__wbg_stringify_841980d1bf485619=function(){return c(function(e){let n=JSON.stringify(_(e));return b(n)},arguments)},t.wbg.__wbg_styleSheets_4e820fe7b798a1dd=function(e){let n=_(e).styleSheets;return b(n)},t.wbg.__wbg_style_440caa6047a3adbd=function(e){let n=_(e).style;return b(n)},t.wbg.__wbg_style_920c711d96eb2e5e=function(e){let n=_(e).style;return b(n)},t.wbg.__wbg_subarray_2dc34705c0dc7cdb=function(e,n,r){let o=_(e).subarray(n>>>0,r>>>0);return b(o)},t.wbg.__wbg_subtreeid_e65dfcc52d403fd9=function(e){let n=_(e).__yew_subtree_id;return w(n)?4294967297:n>>>0},t.wbg.__wbg_supportedValuesOf_ed2d68670b387e79=function(e){let n=Intl.supportedValuesOf(_(e));return b(n)},t.wbg.__wbg_table_new=function(e){let n=W.__wrap(e);return b(n)},t.wbg.__wbg_tagName_90c0a7a0bd225b11=function(e,n){let r=_(n).tagName,o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().setInt32(e+4*0,o,!0)},t.wbg.__wbg_target_d36cdebe98450ed6=function(e){let n=_(e).target;return w(n)?0:b(n)},t.wbg.__wbg_then_84907e7a6730461e=function(e,n){let r=_(e).then(_(n));return b(r)},t.wbg.__wbg_then_db12746ab6cec3f6=function(e,n,r){let o=_(e).then(_(n),_(r));return b(o)},t.wbg.__wbg_toString_2a965b6fc5a7e89f=function(e){let n=_(e).toString();return b(n)},t.wbg.__wbg_toggleAttribute_3981d7b35ee4dc8c=function(){return c(function(e,n,r,o){return _(e).toggleAttribute(s(n,r),o!==0)},arguments)},t.wbg.__wbg_toggle_aa69dd9b5e2ab306=function(){return c(function(e,n,r){return _(e).toggle(s(n,r))},arguments)},t.wbg.__wbg_top_5e20a889d04709f4=function(e){return _(e).top},t.wbg.__wbg_trace_04e683e452168e85=function(e,n,r,o){console.trace(_(e),_(n),_(r),_(o))},t.wbg.__wbg_trace_bf1357f2a705e4dd=function(e){console.trace(_(e))},t.wbg.__wbg_unobserve_22fd8eab6c858a1b=function(e,n){_(e).unobserve(_(n))},t.wbg.__wbg_unobserve_65fdb2e68ae4a7dd=function(e,n){_(e).unobserve(_(n))},t.wbg.__wbg_update_fd6f24e9a8867502=function(){return c(function(e,n,r,o,u){let l=_(e).update(y.__wrap(n),r===4294967297?void 0:r,o===4294967297?void 0:o,u!==0);return b(l)},arguments)},t.wbg.__wbg_valueAsNumber_69abf6d7799e2865=function(e){return _(e).valueAsNumber},t.wbg.__wbg_value_0eccaeade4025732=function(e,n){let r=_(n).value,o=d(r,i.__wbindgen_export_0,i.__wbindgen_export_1),u=f;a().setInt32(e+4*1,u,!0),a().se