-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-5JUVOAGH.js
More file actions
21 lines (21 loc) · 100 KB
/
Copy pathchunk-5JUVOAGH.js
File metadata and controls
21 lines (21 loc) · 100 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
var L={type:"split-layout",orientation:"horizontal",sizes:[],children:[]},m=Object.freeze({CUSTOM_EVENT_NAME_PREFIX:"regular-layout",CHILD_ATTRIBUTE_NAME:"name",MIN_DRAG_DISTANCE:10,SHOULD_ROUND:!1,OVERLAY_CLASSNAME:"overlay",MINIMUM_REDISTRIBUTION_SIZE_THRESHOLD:.15,SPLIT_EDGE_TOLERANCE:.33,SPLIT_ROOT_EDGE_TOLERANCE:.03,GRID_TRACK_COLLAPSE_TOLERANCE:.001,OVERLAY_DEFAULT:"absolute",GRID_DIVIDER_SIZE:6,GRID_DIVIDER_CHECK_TARGET:!0});function G(t,n,e){return(n.length===0||Math.abs(e-n[n.length-1])>t.GRID_TRACK_COLLAPSE_TOLERANCE)&&n.push(e),n}function W(t,n){return n.sort((e,_)=>e-_).reduce(G.bind(void 0,t),[])}function k(t,n,e,_,r){if(t.type==="tab-layout")return[e,_];let i=[e,_];if(t.orientation===n){let o=e,a=_-e;for(let l=0;l<t.children.length;l++){let b=t.sizes[l],u=o+b*a;i.push(...k(t.children[l],n,o,u,r)),o=u}}else for(let o of t.children)i.push(...k(o,n,e,_,r));return W(r,i)}function I(t,n,e){let _=n.findIndex(r=>Math.abs(r-e)<t.GRID_TRACK_COLLAPSE_TOLERANCE);return _===-1?0:_}function D(t,n,e,_,r,i,o,a){if(t.type==="tab-layout"){let f=t.selected??0,w=I(a,n,_),v=I(a,n,r),R=I(a,e,i),V=I(a,e,o);return t.tabs.map((q,B)=>({child:q,colStart:w,colEnd:v,rowStart:R,rowEnd:V,zIndex:t.tabs.length>1&&B===f?1:void 0}))}let{children:l,sizes:b,orientation:u}=t,s=u==="horizontal",c=s?_:i,d=s?r-_:o-i,g=[];for(let f=0;f<l.length;f++){let w=c+b[f]*d;s?g.push(...D(l[f],n,e,c,w,i,o,a)):g.push(...D(l[f],n,e,_,r,c,w,a)),c=w}return g}var z=(t,n)=>`:host ::slotted(*){display:none}:host{display:grid;grid-template-rows:${t};grid-template-columns:${n}}`,T=(t,n,e,_,r)=>`:host ::slotted([${t.CHILD_ATTRIBUTE_NAME}="${n}"]){display:flex;grid-column:${_};grid-row:${e}${r===void 0?"":`;z-index:${r}`}}`;function p(t,n,e=m){if(t.type==="tab-layout"){let s=t.selected??0,c=t.tabs.length>1;return[z("100%","100%"),...t.tabs.map((d,g)=>T(e,d,"1","1",c&&g===s?1:void 0))].join(`
`)}let _=s=>s.slice(0,-1).map((c,d)=>s[d+1]-c).map(c=>`${e.SHOULD_ROUND?Math.round(c*100):c*100}fr`).join(" "),r=k(t,"horizontal",0,1,e),i=_(r),o=k(t,"vertical",0,1,e),a=_(o),l=(s,c)=>c-s===1?`${s+1}`:`${s+1} / ${c+1}`,b=D(t,r,o,0,1,0,1,e),u=[z(a,i)];for(let s of b){let c=l(s.colStart,s.colEnd),d=l(s.rowStart,s.rowEnd);u.push(T(e,s.child,d,c,s.zIndex)),s.child===n?.[1]&&(u.push(T(e,n[0],d,c)),u.push(`:host ::slotted([${e.CHILD_ATTRIBUTE_NAME}=${n[0]}]){z-index:2}`))}return u.join(`
`)}function X(t,n=m){return[z("100%","100%"),T(n,t,"1","1")].join(`
`)}var Z={row_start:0,row_end:1,col_start:0,col_end:1};function h(t,n,e,_=null){return F(t,n,e,_)}function F(t,n,e,_,r=null,i=structuredClone(Z),o=[]){if(t<0||n<0||t>1||n>1)return null;if(e.type==="tab-layout"){let g=e.selected??0,f=i.col_end-i.col_start,w=i.row_end-i.row_start;return{type:"layout-path",layout:e,slot:e.tabs[g],path:o,view_window:i,is_edge:!1,column:t,row:n,column_offset:(t-i.col_start)/f,row_offset:(n-i.row_start)/w,orientation:r||"horizontal"}}let a=e.orientation==="vertical",l=a?n:t,b=a?"row_start":"col_start",u=a?"row_end":"col_end",s=a?_?.rect?.height:_?.rect?.width,c=i[b],d=i[u]-i[b];for(let g=0;g<e.children.length;g++){let f=c+d*e.sizes[g];if(_&&s){let w=_.size/s;if(Math.abs(l-f)<w)return{path:[...o,g],type:e.orientation,view_window:{...i,[b]:c,[u]:f}}}if(l>=c&&(l<f||g===e.children.length-1))return F(t,n,e.children[g],_,e.orientation,{...i,[b]:c,[u]:f},[...o,g]);c=f}return null}function A(t,n){if(t.type==="tab-layout"){if(t.tabs.includes(n)){let o=t.tabs.filter(a=>a!==n);return o.length===0?structuredClone(L):{type:"tab-layout",tabs:o}}return structuredClone(t)}let e=structuredClone(t),_=e.children.findIndex(o=>o.type==="tab-layout"?o.tabs.includes(n):!1);if(_!==-1){let o=e.children[_];if(o.tabs.length===1){let a=e.children.filter((b,u)=>u!==_),l=Y(e.sizes,_);if(a.length===1)return a[0];e.children=a,e.sizes=l}else o.tabs.splice(o.tabs.indexOf(n),1),o.selected&&o.selected>=o.tabs.length&&o.selected--;return e}let r=!1,i=e.children.map(o=>{if(o.type==="split-layout"){let a=A(o,n);return a!==o&&(r=!0),a}return o});return r&&(e.children=i),e}function Y(t,n){let e=[],_=t[n],r=0;for(let i=0;i<t.length;i++)i!==n&&(r+=t[i]);for(let i=0;i<t.length;i++)if(i!==n){let o=t[i]/r;e.push(t[i]+_*o)}return e}function y(t,n,e,_){let r=s=>({type:"tab-layout",tabs:[s]});if(e.length===0){if(t.type==="tab-layout")return{type:"tab-layout",tabs:[n,...t.tabs]};if(_)return{type:"split-layout",orientation:_,children:[r(n),t],sizes:[.5,.5]};{let s=[...t.children,r(n)],c=[...t.sizes,1/(s.length-1)];return{...t,children:s,sizes:E(c)}}}let[i,...o]=e;if(_&&o.length===0){if(t.type==="split-layout"&&t.orientation===_){let c=[...t.children];c.splice(i,0,r(n));let d=[...t.sizes];return d.splice(i,0,1/(c.length-1)),{...t,children:c,sizes:E(d)}}let s=i===0?[r(n),t]:[t,r(n)];return{type:"split-layout",orientation:_,children:s,sizes:[.5,.5]}}if(t.type==="tab-layout"){if(o.length===0&&_===void 0&&i>=0&&i<=t.tabs.length){let s=[...t.tabs];return s.splice(i,0,n),{...t,tabs:s}}return y({type:"split-layout",orientation:_||"horizontal",children:[t],sizes:[1]},n,e,_)}if(o.length===0||i===t.children.length){if(_&&t.children[i]){let d={type:"split-layout",orientation:_,children:[r(n),t.children[i]],sizes:[.5,.5]},g=[...t.children];return g[i]=d,{...t,children:g,sizes:E(t.sizes)}}let s=[...t.children];s.splice(i,0,r(n));let c=[...t.sizes];return c.splice(i,0,1/(s.length-1)),{...t,children:s,sizes:E(c)}}let a=t.children[i],l=a.type==="tab-layout"&&o.length>0&&_!==void 0?t.orientation==="horizontal"?"vertical":"horizontal":_,b=y(a,n,o,l),u=[...t.children];return u[i]=b,{...t,children:u}}function E(t){let n=t.reduce((e,_)=>e+_,0);return t.map(e=>e/n)}function P(t,n,e,_=m){let r=structuredClone(t),i=r,o={horizontal:e||0,vertical:e||0};for(let a=0;a<n.length-1;a++)i.type==="split-layout"&&(o[i.orientation]/=i.sizes[n[a]],i=i.children[n[a]]);if(i.type==="split-layout")if(e===void 0)i.sizes=i.sizes.map(a=>1/i.sizes.length);else{let a=o[i.orientation],l=n[n.length-1];l<i.sizes.length-1&&(i.sizes=K(_,i.sizes,l,a))}return r}function K(t,n,e,_){let r=[...n],i=0;for(let a=0;a<=e;a++)i+=n[a];let o=0;for(let a=e+1;a<n.length;a++)o+=n[a];_=Math.sign(_)*Math.min(Math.abs(_),(1-t.MINIMUM_REDISTRIBUTION_SIZE_THRESHOLD)*(_>0?i:o));for(let a=0;a<=e;a++){let l=n[a]/i;r[a]=n[a]-_*l}for(let a=e+1;a<n.length;a++){let l=n[a]/o;r[a]=n[a]+_*l}return r}function j(t,n,e,_){let r=parseFloat(e.paddingLeft),i=parseFloat(e.paddingTop),o=n.width-r-parseFloat(e.paddingRight),a=n.height-i-parseFloat(e.paddingBottom),l=r+t.col_start*o,b=i+t.row_start*a,u=(t.col_end-t.col_start)*o,s=(t.row_end-t.row_start)*a;if(_){let c=parseFloat(_.marginTop),d=parseFloat(_.marginRight),g=parseFloat(_.marginBottom),f=parseFloat(_.marginLeft);u-=f+d,s-=c+g}return{x:l,y:b,width:u,height:s}}function J(t,n,e,_,r=m,i){if(!_)return`:host ::slotted([${r.CHILD_ATTRIBUTE_NAME}="${t}"]){display:none;}`;let o=j(_.view_window,n,e,i),a=`display:flex;position:absolute!important;z-index:2;top:${o.y}px;left:${o.x}px;height:${o.height}px;width:${o.width}px;`;return`::slotted([${r.CHILD_ATTRIBUTE_NAME}="${t}"]){${a}}`}function O(t){if(t.type==="tab-layout")return t.selected=t.selected||0,t;let n=[],e=[];for(let _=0;_<t.children.length;_++){let r=t.children[_],i=t.sizes[_],o=O(r);if(o.type==="split-layout"&&o.orientation===t.orientation)for(let a=0;a<o.children.length;a++)n.push(o.children[a]),e.push(o.sizes[a]*i);else n.push(o),e.push(i)}return n.length===1?n[0]:{type:"split-layout",orientation:t.orientation,children:n,sizes:e}}function Q(t,n){return U(t,n,[])}function U(t,n,e){if(n.type==="tab-layout")return n.tabs.includes(t)?e:null;for(let _=0;_<n.children.length;_++){let r=U(t,n.children[_],[...e,_]);if(r)return r}return null}function tt(t){let n={};return H(t,n,[],null,{row_start:0,row_end:1,col_start:0,col_end:1}),n}function H(t,n,e,_,r){if(t.type==="tab-layout"){let u=t.selected??0,s=t.tabs[u],c=(r.col_start+r.col_end)/2,d=(r.row_start+r.row_end)/2;n[s]={type:"layout-path",layout:t,slot:s,path:e,view_window:r,is_edge:!1,column:c,row:d,column_offset:.5,row_offset:.5,orientation:_||"horizontal"};return}let i=t.orientation==="vertical",o=i?"row_start":"col_start",a=i?"row_end":"col_end",l=r[o],b=r[a]-r[o];for(let u=0;u<t.children.length;u++){let s=l+b*t.sizes[u],c={...r,[o]:l,[a]:s};H(t.children[u],n,[...e,u],t.orientation,c),l=s}}var et=class{constructor(t,n,e){this.S=t,this.T=n,this.g=e}#n=!1;#t=null;#e=null;async run(t,n,e){if(this.#n){this.#t={layout:t,fn:n,overlay:e};return}this.#n=!0;try{for(await this.#_(t,n,e);this.#t;){let{layout:_,fn:r,overlay:i}=this.#t;this.#t=null,await this.#_(_,r,i)}}finally{this.#n=!1}}resume(){if(this.#e){let t=this.#e;this.#e=null,t()}}async#_(t,n,e){this.g?.();let _={calculatePresizePaths:()=>tt(t),overlay:e},r=new CustomEvent(this.T,{cancelable:!0,detail:_});this.S.dispatchEvent(r)||await new Promise(i=>{this.#e=i}),n()}};function M(t,n,e,_,r,i,o=m){if(t<o.SPLIT_ROOT_EDGE_TOLERANCE)return x(e,_,r,[0],!0,"horizontal");if(t>1-o.SPLIT_ROOT_EDGE_TOLERANCE)return x(e,_,r,r.path.length>0?r.path:[1],!1,"horizontal");if(n<o.SPLIT_ROOT_EDGE_TOLERANCE)return x(e,_,r,[0],!0,"vertical");if(n>1-o.SPLIT_ROOT_EDGE_TOLERANCE)return x(e,_,r,r.path.length>0?r.path:[1],!1,"vertical");let a=r.column_offset<o.SPLIT_EDGE_TOLERANCE||r.column_offset>1-o.SPLIT_EDGE_TOLERANCE,l=r.row_offset<o.SPLIT_EDGE_TOLERANCE||r.row_offset>1-o.SPLIT_EDGE_TOLERANCE;if(a&&l){let b=Math.abs(r.column_offset-.5),u=Math.abs(r.row_offset-.5),s=(i?.width||1)*(r.view_window.col_end-r.view_window.col_start),c=(i?.height||1)*(r.view_window.row_end-r.view_window.row_start),d=s/2-b*s<c/2-u*c;return C(e,_,r,d?r.column_offset<o.SPLIT_EDGE_TOLERANCE:r.row_offset<o.SPLIT_EDGE_TOLERANCE,d?"horizontal":"vertical")}return a?C(e,_,r,r.column_offset<o.SPLIT_EDGE_TOLERANCE,"horizontal"):l?C(e,_,r,r.row_offset<o.SPLIT_EDGE_TOLERANCE,"vertical"):{...r,path:[...r.path,0]}}function x(t,n,e,_,r,i){return C(t,n,{...e,path:_,orientation:i},r,i)}function C(t,n,e,_,r){let i;if(e.orientation===r)if(e.path.length===0)i=[_?0:1];else{let l=e.path[e.path.length-1];i=[...e.path.slice(0,-1),_?l:l+1]}else i=[...e.path,_?0:1];let o=y(t,n,i,r),a=nt(o,i);return{...e,path:i,slot:e.slot,is_edge:!0,orientation:r,view_window:a}}function nt(t,n){let e={row_start:0,row_end:1,col_start:0,col_end:1},_=t;for(let r of n){if(_.type==="tab-layout")break;let i=Math.min(r,_.children.length-1),o=_.orientation==="vertical",a=o?"row_start":"col_start",l=o?"row_end":"col_end",b=e[l]-e[a],u=_.sizes.slice(0,i).reduce((s,c)=>s+c*b,e[a]);e={...e,[a]:u,[l]:u+b*_.sizes[i]},_=_.children[i]}return e}var _t=class{constructor(t){this.d=t}async set(t,{slot:n},e=this.d.physics.OVERLAY_CLASSNAME,_=this.d.physics.OVERLAY_DEFAULT){let r=this.d,i=A(r.panel,n),o=`:scope > [${r.physics.CHILD_ATTRIBUTE_NAME}="${n}"]`,a=r.querySelector(o);a&&a.classList.add(e);let[l,b,u,s]=r.relativeCoordinates(t,!0),c=h(l,b,i);c&&(c=M(l,b,i,n,c,u,r.physics));let d=c?{slot:n,path:c}:null;await r.presizeQueue.run(i,()=>{if(_==="grid"&&c){let w=[n,c?.slot],v=p(i,w,r.physics);r.stylesheet.replaceSync(v)}else if(_==="absolute"){let w=p(i,void 0,r.physics);for(;a?.tagName==="SLOT"&&a;)a=a.assignedElements()[0];let v=a?getComputedStyle(a):void 0,R=J(n,u,s,c,r.physics,v);r.stylesheet.replaceSync([w,R].join(`
`))}},d);let g=`${r.physics.CUSTOM_EVENT_NAME_PREFIX}-before-update`,f=new CustomEvent(g,{detail:i});r.dispatchEvent(f)}async clear(t,{slot:n,layout:e},_=this.d.physics.OVERLAY_CLASSNAME){let r=this.d,i=A(r.panel,n),o=`:scope > [${r.physics.CHILD_ATTRIBUTE_NAME}="${n}"]`,a=r.querySelector(o);if(t===null){await r.restore(e);return}let[l,b,u]=r.relativeCoordinates(t,!1),s=h(l,b,i);if(s&&(s=M(l,b,i,n,s,u,r.physics)),s){let c=s?.is_edge?s.orientation:void 0,d=y(i,n,s.path,c);await r.restore(d)}else await r.restore(e);a&&a.classList.remove(_)}},rt=class extends HTMLElement{i;t;s;u;h;l;r;e;c;_;p;E;constructor(){super(),this.e=m,this.t=structuredClone(L),this.i=this.attachShadow({mode:"open"}),this.i.innerHTML="<slot></slot>",this.s=new CSSStyleSheet,this.u=new CSSStyleSheet,this.l=!1;let t=`${this.e.CUSTOM_EVENT_NAME_PREFIX}-before-resize`;this.c=new et(this,t,()=>{this.r=void 0}),this._=new _t(this.create_overlay_host()),this.i.adoptedStyleSheets=[this.s,this.u]}connectedCallback(){this.E??=new ResizeObserver(()=>{this.r=void 0}),this.E.observe(this),this.addEventListener("dblclick",this.onDblClick),this.addEventListener("pointerdown",this.onPointerDown),this.addEventListener("pointerup",this.onPointerUp),this.addEventListener("pointermove",this.onPointerMove)}disconnectedCallback(){this.E?.disconnect(),this.removeEventListener("dblclick",this.onDblClick),this.removeEventListener("pointerdown",this.onPointerDown),this.removeEventListener("pointerup",this.onPointerUp),this.removeEventListener("pointermove",this.onPointerMove)}calculateIntersect=t=>{let[n,e,_]=this.relativeCoordinates(t,!1);return h(n,e,this.t)};calculatePath=t=>Q(t,this.t);setOverlayState=async(t,n,e,_)=>{await this._.set(t,n,e,_)};clearOverlayState=async(t,n,e)=>{await this._.clear(t,n,e)};insertPanel=async(t,n=[],e)=>{let _;typeof e=="boolean"&&e?_="horizontal":typeof e=="string"&&(_=e),await this.restore(y(this.t,t,n,_))};removePanel=async t=>{await this.restore(A(this.t,t))};select=async t=>{let n=this.save(),e=this.getPanel(t,n);if(!e)return;let _=e.tabs.indexOf(t);_!==-1&&e.selected!==_&&(e.selected=_,await this.restore(n));let r=`${this.e.CUSTOM_EVENT_NAME_PREFIX}-select`;this.dispatchEvent(new CustomEvent(r,{detail:{name:t}}))};getPanel=(t,n=this.t)=>{if(n.type==="tab-layout")return n.tabs.includes(t)?n:null;for(let e of n.children){let _=this.getPanel(t,e);if(_)return _}return null};clear=async()=>{await this.restore(L)};maximize=async t=>{if(!this.getPanel(t))return;let n={type:"tab-layout",tabs:[t],selected:0};await this.c.run(n,()=>{this.p=t,this.s.replaceSync(X(t,this.e))})};minimize=async()=>{this.p!==void 0&&await this.c.run(this.t,()=>{this.p=void 0,this.s.replaceSync(p(this.t,void 0,this.e))})};restoreSync=(t,n=!1)=>{this.r=void 0,this.p=void 0,this.t=n?t:O(t);let e=p(this.t,void 0,this.e);this.s.replaceSync(e);let _=`${this.e.CUSTOM_EVENT_NAME_PREFIX}-update`,r=new CustomEvent(_,{detail:this.t});this.dispatchEvent(r)};restore=async(t,n=!1)=>{let e=n?t:O(t);await this.c.run(e,()=>{this.p=void 0,this.t=e;let _=p(this.t,void 0,this.e);this.s.replaceSync(_);let r=`${this.e.CUSTOM_EVENT_NAME_PREFIX}-update`,i=new CustomEvent(r,{detail:this.t});this.dispatchEvent(i)})};resumeResize=()=>{this.c.resume()};save=()=>structuredClone(this.t);restorePhysics(t){this.e=Object.freeze({...this.e,...t})}savePhysics(){return this.e}relativeCoordinates=(t,n=!0)=>{(n||!this.r)&&(this.r={box:this.getBoundingClientRect(),style:getComputedStyle(this)});let e=this.r.box,_=this.r.style,r=parseFloat(_.paddingLeft),i=parseFloat(_.paddingTop),o=e.width-r-parseFloat(_.paddingRight),a=e.height-i-parseFloat(_.paddingBottom),l=t.clientX-e.left-r,b=t.clientY-e.top-i,u=Math.max(0,Math.min(1,l/o)),s=Math.max(0,Math.min(1,b/a));return[u,s,e,_]};realCoordinates=(t,n)=>{this.r||(this.r={box:this.getBoundingClientRect(),style:getComputedStyle(this)});let e=this.r.box,_=this.r.style,r;n&&(r=getComputedStyle(n));let i=j(t,e,_,r);return new DOMRect(e.left+i.x,e.top+i.y,i.width,i.height)};diffCoordinates=(t,n)=>{let[e,_,r]=this.relativeCoordinates(t,!1),i=(e-n.column)*r.width,o=(_-n.row)*r.height;return Math.sqrt(i**2+o**2)};create_overlay_host(){let t=this;return{get panel(){return t.t},get physics(){return t.e},get stylesheet(){return t.s},get presizeQueue(){return t.c},relativeCoordinates:(n,e)=>t.relativeCoordinates(n,e),restore:(n,e)=>t.restore(n,e),querySelector:n=>t.querySelector(n),dispatchEvent:n=>t.dispatchEvent(n)}}onDblClick=async t=>{let[n,e,_]=this.relativeCoordinates(t,!1),r=h(n,e,this.t,{rect:_,size:this.e.GRID_DIVIDER_SIZE});if(r?.type==="horizontal"||r?.type==="vertical"){let i=P(this.t,r.path,void 0);await this.restore(i,!0)}};onPointerDown=t=>{if(t.button===0&&(!this.e.GRID_DIVIDER_CHECK_TARGET||t.target===this)){let[n,e,_]=this.relativeCoordinates(t),r=this.e.GRID_DIVIDER_SIZE,i=h(n,e,this.t,{rect:_,size:r});i&&i.type!=="layout-path"&&(this.h=[i,n,e],this.setPointerCapture(t.pointerId),t.preventDefault())}};onPointerMove=async t=>{if(this.h){let[i,o]=this.relativeCoordinates(t,!1),[{path:a,type:l},b,u]=this.h,s=l==="horizontal"?b-i:u-o,c=P(this.t,a,s);await this.c.run(c,()=>{this.s.replaceSync(p(c,void 0,this.e))})}if(this.e.GRID_DIVIDER_CHECK_TARGET&&t.target!==this){this.l&&(this.l=!1,this.u.replaceSync(""));return}let[n,e,_]=this.relativeCoordinates(t,!1),r=h(n,e,this.t,{rect:_,size:this.e.GRID_DIVIDER_SIZE});r?.type==="vertical"?(this.u.replaceSync(":host{cursor:row-resize"),this.l=!0):r?.type==="horizontal"?(this.u.replaceSync(":host{cursor:col-resize"),this.l=!0):this.l&&(this.l=!1,this.u.replaceSync(""))};onPointerUp=async t=>{if(this.h){this.releasePointerCapture(t.pointerId);let[n,e]=this.relativeCoordinates(t,!1),[{path:_,type:r},i,o]=this.h,a=r==="horizontal"?i-n:o-e,l=P(this.t,_,a);await this.restore(l,!0),this.h=void 0}}},it=`
:host{box-sizing:border-box;flex-direction:column;pointer-events:none}
[part~="titlebar"]{height:24px;user-select:none;overflow:hidden}
[part~="container"]{flex:1 1 auto;pointer-events:auto}
[part~="title"]{flex:1 1 auto;pointer-events:none}
[part~="close"]{align-self:stretch}
:host([inactive]) [part~="container"]{display:none}
.tabs{display:grid;width:100%;height:100%}
.tabs slot[name="tab"]{display:grid;grid-row:1;pointer-events:auto}
.tabs regular-layout-tab{display:flex;overflow:hidden}
`,ot=`
<div part="titlebar"><div class="tabs" part="titlebar-track"><slot name="tab"><regular-layout-tab></regular-layout-tab></slot></div></div>
<div part="container"><slot></slot></div>
`,at=t=>`"${t.replace(/[\\"\n]/g,n=>n===`
`?"\\A ":`\\${n}`)}"`,st=t=>`--regular-layout-${globalThis.CSS.escape(t)}--title`,ct=class extends HTMLElement{i;L;v;n;m;b;o=null;connectedCallback(){this.L??=new CSSStyleSheet,this.L.replaceSync(it),this.v??=new CSSStyleSheet,this.i??=this.attachShadow({mode:"open"}),this.i.adoptedStyleSheets=[this.L,this.v],this.i.innerHTML=ot,this.n=this.parentElement,this.m=this.i.children[0],this.b=this.m.querySelector("regular-layout-tab"),this.m.addEventListener("pointerdown",this.onPointerDown),this.addEventListener("pointermove",this.onPointerMove),this.addEventListener("pointerup",this.onPointerUp),this.addEventListener("pointercancel",this.onPointerCancel),this.addEventListener("lostpointercapture",this.onPointerLost),this.n.addEventListener("regular-layout-update",this.drawTabs),this.n.addEventListener("regular-layout-before-update",this.drawTabs)}disconnectedCallback(){this.m.removeEventListener("pointerdown",this.onPointerDown),this.removeEventListener("pointermove",this.onPointerMove),this.removeEventListener("pointerup",this.onPointerUp),this.removeEventListener("pointercancel",this.onPointerUp),this.removeEventListener("lostpointercapture",this.onPointerLost),this.n.removeEventListener("regular-layout-update",this.drawTabs),this.n.removeEventListener("regular-layout-before-update",this.drawTabs)}onPointerDown=t=>{if(t.button===0&&t.target.part.contains("tab")){let n=this.getAttribute(this.n.savePhysics().CHILD_ATTRIBUTE_NAME),e=this.n.calculateIntersect(t);e&&n?(this.o={path:{...e,slot:n}},this.setPointerCapture(t.pointerId),t.preventDefault()):this.o=null}};onPointerMove=t=>{if(this.o){let n=this.n.savePhysics();if(!this.o.moved&&this.n.diffCoordinates(t,this.o.path)<=n.MIN_DRAG_DISTANCE)return;this.o.moved=!0,this.n.setOverlayState(t,this.o.path)}};onPointerUp=t=>{this.o?.moved&&this.n.clearOverlayState(t,this.o.path)};onPointerCancel=t=>{this.o?.moved&&this.n.clearOverlayState(null,this.o.path)};onPointerLost=t=>{this.releasePointerCapture(t.pointerId),this.o=null};drawTabs=t=>{let n=this.n.savePhysics().CHILD_ATTRIBUTE_NAME,e=this.getAttribute(n);if(!e)return;let _=this.n.getPanel(e,t.detail);_||(_={type:"tab-layout",tabs:[e],selected:0});let r=_.tabs.indexOf(e),i=(_.selected??0)===r;this.toggleAttribute("inactive",!i),this.b.populate(this.n,_,r),this.drawTab(e,r,_.tabs.length)};drawTab=(t,n,e)=>{this.v.replaceSync([`.tabs{grid-template-columns:repeat(${e},var(--rl-tab-width,1fr))}`,`.tabs slot[name="tab"]{grid-column:${n+1}}`,`[part~="title"]::before{content:var(${st(t)}, ${at(t)})}`].join(`
`))}},lt=class extends HTMLElement{n;a;f;populate=(t,n,e)=>{if(this.setAttribute(t.savePhysics().CHILD_ATTRIBUTE_NAME,n.tabs[e]),this.a)(e===n.selected!=(e===this.a?.selected)||this.a?.tabs[e]!==n.tabs[e])&&(n.selected===e?(this.children[1].part.add("active-close"),this.part.add("active-tab")):(this.children[1].part.remove("active-close"),this.part.remove("active-tab")));else{let _=n.selected===e,r=_?"active-close close":"close";this.innerHTML=`<div part="title"></div><button part="${r}"></button>`,_?this.part.add("tab","active-tab"):this.part.add("tab"),this.addEventListener("pointerdown",this.onTabClick),this.children[1].addEventListener("pointerdown",this.onTabClose)}this.a=n,this.n=t,this.f=e};onTabClose=t=>{t instanceof PointerEvent&&t?.button!==0||this.a!==void 0&&this.f!==void 0&&this.n?.removePanel(this.a.tabs[this.f])};onTabClick=t=>{t.button===0&&this.a!==void 0&&this.f!==void 0&&this.n?.select(this.a.tabs[this.f])}};customElements.define("regular-layout",rt);customElements.define("regular-layout-frame",ct);customElements.define("regular-layout-tab",lt);var mt=class extends HTMLElement{constructor(){super()}get_static_config(){return{name:"Debug",select_mode:"select",config_column_names:[]}}column_style_config(){return{}}async update(t){return this.draw(t)}async draw(t){this.style.backgroundColor="#fff";let n=await t.to_csv(),e="margin:0;overflow:scroll;position:absolute;width:100%;height:100%";this.innerHTML=`<pre style='${e}'>${n}</pre>`}async clear(){this.innerHTML=""}async resize(t){}restyle(){}restore(){}async delete(){}get supports_streaming(){return!1}},vt={anthropic:{name:"anthropic",url:"https://api.anthropic.com/v1/chat/completions",headers:{"anthropic-dangerous-direct-browser-access":"true"},model:"claude-opus-5"},gemini:{name:"gemini",url:"https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",model:"gemini-2.5-flash"},lmstudio:{name:"lmstudio",url:"http://localhost:1234/v1/chat/completions"},ollama:{name:"ollama",url:"http://localhost:11434/v1/chat/completions"},openrouter:{name:"openrouter",url:"https://openrouter.ai/api/v1/chat/completions"},openai:{name:"openai",url:"https://api.openai.com/v1/chat/completions",model:"gpt-5.2"}};function $(t){return t&&!("format"in t)?t:void 0}var ut={float:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2}},N={dateStyle:"short",timeStyle:"medium"},bt={dateStyle:"short"};function dt(t,n){let e={};for(let[r,i]of Object.entries(n??{}))i!=null&&(e[r]=i);let _={...t};return("minimumFractionDigits"in e||"maximumFractionDigits"in e)&&(delete _.minimumFractionDigits,delete _.maximumFractionDigits),("minimumSignificantDigits"in e||"maximumSignificantDigits"in e)&&(delete _.minimumSignificantDigits,delete _.maximumSignificantDigits),Object.assign(_,e)}function yt(t,n,e){let _=e??ut[t]??{},r=n?dt(_,n):_;return new Intl.NumberFormat(navigator.languages,r)}function It(t,n){if(t=t??n,!t||!("format"in t)){let _=$(t),r={timeZone:_?.timeZone??void 0,dateStyle:_?.dateStyle==="disabled"?void 0:_?.dateStyle??N.dateStyle,timeStyle:_?.timeStyle==="disabled"?void 0:_?.timeStyle??N.timeStyle};return new Intl.DateTimeFormat(navigator.languages,r)}let e={timeZone:t.timeZone??void 0,hour12:t.hour12??!0,fractionalSecondDigits:t.fractionalSecondDigits};return t.year!=="disabled"&&(e.year=t.year??"2-digit"),t.month!=="disabled"&&(e.month=t.month??"numeric"),t.day!=="disabled"&&(e.day=t.day??"numeric"),t.weekday&&t.weekday!=="disabled"&&(e.weekday=t.weekday),t.hour!=="disabled"&&(e.hour=t.hour??"numeric"),t.minute!=="disabled"&&(e.minute=t.minute??"numeric"),t.second!=="disabled"&&(e.second=t.second??"numeric"),new Intl.DateTimeFormat(navigator.languages,e)}function Et(t,n){let e=$(t??n),_={timeZone:"utc",dateStyle:e?.dateStyle==="disabled"?void 0:e?.dateStyle??bt.dateStyle};return new Intl.DateTimeFormat(navigator.languages,_)}function xt(t){return t.split("|").at(-1)??t}var St=class{selected;row;column_names;removeConfigs;insertConfigs;panel;constructor(t,n,e,_,r,i){this.selected=t,this.row=n,this.column_names=e,this.removeConfigs=_,this.insertConfigs=r,this.panel=i}get removeFilters(){return this.removeConfigs.flatMap(t=>t.filter??[])}get insertFilters(){return this.insertConfigs.flatMap(t=>t.filter??[])}};async function gt(t){let n;typeof t?.then=="function"&&(t=await t),t instanceof Response?n=await WebAssembly.instantiateStreaming(t):typeof t=="string"?n=await WebAssembly.instantiateStreaming(fetch(t)):t instanceof ArrayBuffer?n=await WebAssembly.instantiate(t):t instanceof Uint8Array?n=await WebAssembly.instantiate(t.buffer):n=t;let e=n.instance.exports,[_]=WebAssembly.Module.customSections(n.module,"psp-runtime"),[r]=WebAssembly.Module.customSections(n.module,"psp-len"),i=new DataView(r).getUint32(0,!0),o=e.resize(_.byteLength);new Uint8Array(e.memory.buffer).set(new Uint8Array(_),o);let a=e.compile(_.byteLength,i);return new Uint8Array(e.memory.buffer).slice(a,i+a)}if(typeof WebAssembly>"u")throw new Error("WebAssembly not supported.");async function ft(t){t instanceof Function&&(t=await t());try{return await gt(t)}catch{return console.warn("Stage 0 wasm loading failed, skipping"),new Uint8Array(t)}}var wt='var yt=Object.defineProperty;var xt=(s,t)=>{for(var e in t)yt(s,e,{get:t[e],enumerable:!0})};var G={};xt(G,{Client:()=>C,GenericSQLVirtualServerModel:()=>H,PerspectiveDebugPluginElement:()=>U,PerspectiveViewerElement:()=>V,ProxySession:()=>O,Table:()=>j,View:()=>x,VirtualDataSlice:()=>z,VirtualServer:()=>$,default:()=>ht,get_wasm_module:()=>It,get_worker_url:()=>kt,init:()=>St,initSync:()=>Zt,registerPlugin:()=>At});function ot(s){customElements.get(s)||customElements.define(s,class extends HTMLElement{})}var ct=window.ClipboardItem;var it=window.ResizeObserver;var st=window.IntersectionObserver;function ut(s,t,e,n){if(customElements.get(t)){console.warn(`Custom element "${t}" is already registered; skipping duplicate registration (Perspective was loaded more than once on this page).`);return}let _=s[e],i=_.prototype;class b extends HTMLElement{constructor(){super(),this._instance=new _(this)}}let f=Object.getOwnPropertyNames(i);for(let l of f)"get"in Object.getOwnPropertyDescriptor(i,l)?Object.defineProperty(b.prototype,l,{get:function(){return this._instance[l]}}):Object.defineProperty(b.prototype,l,{value:function(...m){return this._instance[l].call(this._instance,...m)}});for(let l of n)Object.defineProperty(b,l,{value:function(...m){return s[l].call(s,...m)}});Object.defineProperty(b,"__wasm_module__",{get(){return s}}),customElements.define(t,b)}var C=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,K.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,K.unregister(this),t}free(){let t=this.__destroy_into_raw();o.__wbg_client_free(t,0)}__getClassname(){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.client___getClassname(_,this.__wbg_ptr);var t=u().getInt32(_+0,!0),e=u().getInt32(_+4,!0),n=w(t,e);return t!==0&&o.__wbindgen_export4(t,e,1),n}finally{o.__wbindgen_add_to_stack_pointer(16)}}__unsafe_open_view(t){let e=v(t,o.__wbindgen_export,o.__wbindgen_export2),n=p,_=o.client___unsafe_open_view(this.__wbg_ptr,e,n);return x.__wrap(_)}get_hosted_table_names(){let t=o.client_get_hosted_table_names(this.__wbg_ptr);return a(t)}handle_error(t,e){let n=v(t,o.__wbindgen_export,o.__wbindgen_export2),_=p,i=o.client_handle_error(this.__wbg_ptr,n,_,g(e)?0:c(e));return a(i)}handle_response(t){let e=o.client_handle_response(this.__wbg_ptr,c(t));return a(e)}join(t,e,n,_){let i=v(n,o.__wbindgen_export,o.__wbindgen_export2),b=p,f=o.client_join(this.__wbg_ptr,c(t),c(e),i,b,g(_)?0:c(_));return a(f)}constructor(t,e){try{let b=o.__wbindgen_add_to_stack_pointer(-16);o.client_new(b,c(t),g(e)?0:c(e));var n=u().getInt32(b+0,!0),_=u().getInt32(b+4,!0),i=u().getInt32(b+8,!0);if(i)throw a(_);return this.__wbg_ptr=n>>>0,K.register(this,this.__wbg_ptr,this),this}finally{o.__wbindgen_add_to_stack_pointer(16)}}new_proxy_session(t){try{let e=o.client_new_proxy_session(this.__wbg_ptr,_t(t));return O.__wrap(e)}finally{I[P++]=void 0}}on_error(t){let e=o.client_on_error(this.__wbg_ptr,c(t));return a(e)}on_hosted_tables_update(t){let e=o.client_on_hosted_tables_update(this.__wbg_ptr,c(t));return a(e)}open_table(t){let e=v(t,o.__wbindgen_export,o.__wbindgen_export2),n=p,_=o.client_open_table(this.__wbg_ptr,e,n);return a(_)}remove_hosted_tables_update(t){let e=o.client_remove_hosted_tables_update(this.__wbg_ptr,t);return a(e)}system_info(){let t=o.client_system_info(this.__wbg_ptr);return a(t)}table(t,e){let n=o.client_table(this.__wbg_ptr,c(t),g(e)?0:c(e));return a(n)}terminate(){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.client_terminate(_,this.__wbg_ptr);var t=u().getInt32(_+0,!0),e=u().getInt32(_+4,!0),n=u().getInt32(_+8,!0);if(n)throw a(e);return a(t)}finally{o.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(C.prototype[Symbol.dispose]=C.prototype.free);var H=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,bt.unregister(this),t}free(){let t=this.__destroy_into_raw();o.__wbg_genericsqlvirtualservermodel_free(t,0)}expressionDescribe(t,e){try{let l=o.__wbindgen_add_to_stack_pointer(-16),m=v(t,o.__wbindgen_export,o.__wbindgen_export2),h=p,y=v(e,o.__wbindgen_export,o.__wbindgen_export2),k=p;o.genericsqlvirtualservermodel_expressionDescribe(l,this.__wbg_ptr,m,h,y,k);var n=u().getInt32(l+0,!0),_=u().getInt32(l+4,!0),i=u().getInt32(l+8,!0),b=u().getInt32(l+12,!0);if(b)throw a(i);var f=w(n,_);return n!==0&&o.__wbindgen_export4(n,_,1),f}finally{o.__wbindgen_add_to_stack_pointer(16)}}expressionsDescribe(t,e){try{let l=o.__wbindgen_add_to_stack_pointer(-16),m=v(t,o.__wbindgen_export,o.__wbindgen_export2),h=p;o.genericsqlvirtualservermodel_expressionsDescribe(l,this.__wbg_ptr,m,h,c(e));var n=u().getInt32(l+0,!0),_=u().getInt32(l+4,!0),i=u().getInt32(l+8,!0),b=u().getInt32(l+12,!0);if(b)throw a(i);var f=w(n,_);return n!==0&&o.__wbindgen_export4(n,_,1),f}finally{o.__wbindgen_add_to_stack_pointer(16)}}getHostedTables(){try{let b=o.__wbindgen_add_to_stack_pointer(-16);o.genericsqlvirtualservermodel_getHostedTables(b,this.__wbg_ptr);var t=u().getInt32(b+0,!0),e=u().getInt32(b+4,!0),n=u().getInt32(b+8,!0),_=u().getInt32(b+12,!0);if(_)throw a(n);var i=w(t,e);return t!==0&&o.__wbindgen_export4(t,e,1),i}finally{o.__wbindgen_add_to_stack_pointer(16)}}constructor(t){try{let i=o.__wbindgen_add_to_stack_pointer(-16);o.genericsqlvirtualservermodel_new(i,g(t)?0:c(t));var e=u().getInt32(i+0,!0),n=u().getInt32(i+4,!0),_=u().getInt32(i+8,!0);if(_)throw a(n);return this.__wbg_ptr=e>>>0,bt.register(this,this.__wbg_ptr,this),this}finally{o.__wbindgen_add_to_stack_pointer(16)}}tableDescribe(t,e,n){try{let m=o.__wbindgen_add_to_stack_pointer(-16),h=v(t,o.__wbindgen_export,o.__wbindgen_export2),y=p;o.genericsqlvirtualservermodel_tableDescribe(m,this.__wbg_ptr,h,y,c(e),c(n));var _=u().getInt32(m+0,!0),i=u().getInt32(m+4,!0),b=u().getInt32(m+8,!0),f=u().getInt32(m+12,!0);if(f)throw a(b);var l=w(_,i);return _!==0&&o.__wbindgen_export4(_,i,1),l}finally{o.__wbindgen_add_to_stack_pointer(16)}}tableMakeView(t,e,n,_){try{let h=o.__wbindgen_add_to_stack_pointer(-16),y=v(t,o.__wbindgen_export,o.__wbindgen_export2),k=p,M=v(e,o.__wbindgen_export,o.__wbindgen_export2),Y=p;o.genericsqlvirtualservermodel_tableMakeView(h,this.__wbg_ptr,y,k,M,Y,c(n),c(_));var i=u().getInt32(h+0,!0),b=u().getInt32(h+4,!0),f=u().getInt32(h+8,!0),l=u().getInt32(h+12,!0);if(l)throw a(f);var m=w(i,b);return i!==0&&o.__wbindgen_export4(i,b,1),m}finally{o.__wbindgen_add_to_stack_pointer(16)}}tableSchema(t){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.genericsqlvirtualservermodel_tableSchema(f,this.__wbg_ptr,l,m);var e=u().getInt32(f+0,!0),n=u().getInt32(f+4,!0),_=u().getInt32(f+8,!0),i=u().getInt32(f+12,!0);if(i)throw a(_);var b=w(e,n);return e!==0&&o.__wbindgen_export4(e,n,1),b}finally{o.__wbindgen_add_to_stack_pointer(16)}}tableSize(t){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.genericsqlvirtualservermodel_tableSize(f,this.__wbg_ptr,l,m);var e=u().getInt32(f+0,!0),n=u().getInt32(f+4,!0),_=u().getInt32(f+8,!0),i=u().getInt32(f+12,!0);if(i)throw a(_);var b=w(e,n);return e!==0&&o.__wbindgen_export4(e,n,1),b}finally{o.__wbindgen_add_to_stack_pointer(16)}}viewColumnSize(t){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.genericsqlvirtualservermodel_viewColumnSize(f,this.__wbg_ptr,l,m);var e=u().getInt32(f+0,!0),n=u().getInt32(f+4,!0),_=u().getInt32(f+8,!0),i=u().getInt32(f+12,!0);if(i)throw a(_);var b=w(e,n);return e!==0&&o.__wbindgen_export4(e,n,1),b}finally{o.__wbindgen_add_to_stack_pointer(16)}}viewDelete(t){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.genericsqlvirtualservermodel_viewDelete(f,this.__wbg_ptr,l,m);var e=u().getInt32(f+0,!0),n=u().getInt32(f+4,!0),_=u().getInt32(f+8,!0),i=u().getInt32(f+12,!0);if(i)throw a(_);var b=w(e,n);return e!==0&&o.__wbindgen_export4(e,n,1),b}finally{o.__wbindgen_add_to_stack_pointer(16)}}viewGetData(t,e,n,_){try{let h=o.__wbindgen_add_to_stack_pointer(-16),y=v(t,o.__wbindgen_export,o.__wbindgen_export2),k=p;o.genericsqlvirtualservermodel_viewGetData(h,this.__wbg_ptr,y,k,c(e),c(n),c(_));var i=u().getInt32(h+0,!0),b=u().getInt32(h+4,!0),f=u().getInt32(h+8,!0),l=u().getInt32(h+12,!0);if(l)throw a(f);var m=w(i,b);return i!==0&&o.__wbindgen_export4(i,b,1),m}finally{o.__wbindgen_add_to_stack_pointer(16)}}viewGetMinMax(t,e,n){try{let m=o.__wbindgen_add_to_stack_pointer(-16),h=v(t,o.__wbindgen_export,o.__wbindgen_export2),y=p,k=v(e,o.__wbindgen_export,o.__wbindgen_export2),M=p;o.genericsqlvirtualservermodel_viewGetMinMax(m,this.__wbg_ptr,h,y,k,M,c(n));var _=u().getInt32(m+0,!0),i=u().getInt32(m+4,!0),b=u().getInt32(m+8,!0),f=u().getInt32(m+12,!0);if(f)throw a(b);var l=w(_,i);return _!==0&&o.__wbindgen_export4(_,i,1),l}finally{o.__wbindgen_add_to_stack_pointer(16)}}viewSchema(t){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.genericsqlvirtualservermodel_viewSchema(f,this.__wbg_ptr,l,m);var e=u().getInt32(f+0,!0),n=u().getInt32(f+4,!0),_=u().getInt32(f+8,!0),i=u().getInt32(f+12,!0);if(i)throw a(_);var b=w(e,n);return e!==0&&o.__wbindgen_export4(e,n,1),b}finally{o.__wbindgen_add_to_stack_pointer(16)}}viewSize(t){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.genericsqlvirtualservermodel_viewSize(f,this.__wbg_ptr,l,m);var e=u().getInt32(f+0,!0),n=u().getInt32(f+4,!0),_=u().getInt32(f+8,!0),i=u().getInt32(f+12,!0);if(i)throw a(_);var b=w(e,n);return e!==0&&o.__wbindgen_export4(e,n,1),b}finally{o.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(H.prototype[Symbol.dispose]=H.prototype.free);var U=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,ft.unregister(this),t}free(){let t=this.__destroy_into_raw();o.__wbg_perspectivedebugpluginelement_free(t,0)}clear(){let t=o.perspectivedebugpluginelement_clear(this.__wbg_ptr);return a(t)}get config_column_names(){let t=o.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return a(t)}connectedCallback(){o.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}delete(){let t=o.perspectivedebugpluginelement_clear(this.__wbg_ptr);return a(t)}draw(t){nt(t,x);let e=o.perspectivedebugpluginelement_draw(this.__wbg_ptr,t.__wbg_ptr);return a(e)}get min_config_columns(){let t=o.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return a(t)}get name(){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.perspectivedebugpluginelement_name(_,this.__wbg_ptr);var t=u().getInt32(_+0,!0),e=u().getInt32(_+4,!0),n=w(t,e);return t!==0&&o.__wbindgen_export4(t,e,1),n}finally{o.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=o.perspectivedebugpluginelement_new(c(t));return this.__wbg_ptr=e>>>0,ft.register(this,this.__wbg_ptr,this),this}resize(){let t=o.perspectivedebugpluginelement_clear(this.__wbg_ptr);return a(t)}restore(t){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.perspectivedebugpluginelement_restore(_,this.__wbg_ptr,g(t)?0:c(t));var e=u().getInt32(_+0,!0),n=u().getInt32(_+4,!0);if(n)throw a(e)}finally{o.__wbindgen_add_to_stack_pointer(16)}}restyle(){o.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}save(){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.perspectivedebugpluginelement_save(_,this.__wbg_ptr);var t=u().getInt32(_+0,!0),e=u().getInt32(_+4,!0),n=u().getInt32(_+8,!0);if(n)throw a(e);return a(t)}finally{o.__wbindgen_add_to_stack_pointer(16)}}get select_mode(){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.perspectivedebugpluginelement_select_mode(_,this.__wbg_ptr);var t=u().getInt32(_+0,!0),e=u().getInt32(_+4,!0),n=w(t,e);return t!==0&&o.__wbindgen_export4(t,e,1),n}finally{o.__wbindgen_add_to_stack_pointer(16)}}update(t){nt(t,x);let e=o.perspectivedebugpluginelement_update(this.__wbg_ptr,t.__wbg_ptr);return a(e)}};Symbol.dispose&&(U.prototype[Symbol.dispose]=U.prototype.free);var V=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,Q.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),t}free(){let t=this.__destroy_into_raw();o.__wbg_perspectiveviewerelement_free(t,0)}__get_model(){let t=o.perspectiveviewerelement___get_model(this.__wbg_ptr);return s.__wrap(t)}addPanel(t,e){let n=o.perspectiveviewerelement_addPanel(this.__wbg_ptr,c(t),g(e)?0:c(e));return a(n)}agentConfig(t){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.perspectiveviewerelement_agentConfig(_,this.__wbg_ptr,c(t));var e=u().getInt32(_+0,!0),n=u().getInt32(_+4,!0);if(n)throw a(e)}finally{o.__wbindgen_add_to_stack_pointer(16)}}agentPrompt(t){let e=v(t,o.__wbindgen_export,o.__wbindgen_export2),n=p,_=o.perspectiveviewerelement_agentPrompt(this.__wbg_ptr,e,n);return a(_)}agentReset(){let t=o.perspectiveviewerelement_agentReset(this.__wbg_ptr);return a(t)}connectedCallback(){try{let n=o.__wbindgen_add_to_stack_pointer(-16);o.perspectiveviewerelement_connectedCallback(n,this.__wbg_ptr);var t=u().getInt32(n+0,!0),e=u().getInt32(n+4,!0);if(e)throw a(t)}finally{o.__wbindgen_add_to_stack_pointer(16)}}copy(t){let e=o.perspectiveviewerelement_copy(this.__wbg_ptr,g(t)?0:c(t));return a(e)}delete(){let t=this.__destroy_into_raw(),e=o.perspectiveviewerelement_delete(t);return a(e)}download(t){let e=o.perspectiveviewerelement_download(this.__wbg_ptr,g(t)?0:c(t));return a(e)}eject(t){let e=o.perspectiveviewerelement_eject(this.__wbg_ptr,g(t)?0:c(t));return a(e)}export(t){let e=o.perspectiveviewerelement_export(this.__wbg_ptr,g(t)?0:c(t));return a(e)}flush(){let t=o.perspectiveviewerelement_flush(this.__wbg_ptr);return a(t)}getActivePanel(){let t=o.perspectiveviewerelement_getActivePanel(this.__wbg_ptr);return a(t)}getAllPlugins(){let t=o.perspectiveviewerelement_getAllPlugins(this.__wbg_ptr);return a(t)}getClient(t){let e=o.perspectiveviewerelement_getClient(this.__wbg_ptr,g(t)?0:c(t));return a(e)}getEditPort(t){try{let i=o.__wbindgen_add_to_stack_pointer(-16);o.perspectiveviewerelement_getEditPort(i,this.__wbg_ptr,g(t)?0:c(t));var e=u().getFloat64(i+0,!0),n=u().getInt32(i+8,!0),_=u().getInt32(i+12,!0);if(_)throw a(n);return e}finally{o.__wbindgen_add_to_stack_pointer(16)}}getPanelNames(){let t=o.perspectiveviewerelement_getPanelNames(this.__wbg_ptr);return a(t)}getPlugin(t){try{let f=o.__wbindgen_add_to_stack_pointer(-16);var e=g(t)?0:v(t,o.__wbindgen_export,o.__wbindgen_export2),n=p;o.perspectiveviewerelement_getPlugin(f,this.__wbg_ptr,e,n);var _=u().getInt32(f+0,!0),i=u().getInt32(f+4,!0),b=u().getInt32(f+8,!0);if(b)throw a(i);return a(_)}finally{o.__wbindgen_add_to_stack_pointer(16)}}getRenderStats(t){try{let i=o.__wbindgen_add_to_stack_pointer(-16);o.perspectiveviewerelement_getRenderStats(i,this.__wbg_ptr,g(t)?0:c(t));var e=u().getInt32(i+0,!0),n=u().getInt32(i+4,!0),_=u().getInt32(i+8,!0);if(_)throw a(n);return a(e)}finally{o.__wbindgen_add_to_stack_pointer(16)}}getSelection(t){try{let i=o.__wbindgen_add_to_stack_pointer(-16);o.perspectiveviewerelement_getSelection(i,this.__wbg_ptr,g(t)?0:c(t));var e=u().getInt32(i+0,!0),n=u().getInt32(i+4,!0),_=u().getInt32(i+8,!0);if(_)throw a(n);return a(e)}finally{o.__wbindgen_add_to_stack_pointer(16)}}getTable(t){let e=o.perspectiveviewerelement_getTable(this.__wbg_ptr,g(t)?0:c(t));return a(e)}getThemes(){let t=o.perspectiveviewerelement_getThemes(this.__wbg_ptr);return a(t)}getView(t){let e=o.perspectiveviewerelement_getView(this.__wbg_ptr,g(t)?0:c(t));return a(e)}getViewConfig(t){let e=o.perspectiveviewerelement_getViewConfig(this.__wbg_ptr,g(t)?0:c(t));return a(e)}load(t){try{let i=o.__wbindgen_add_to_stack_pointer(-16);o.perspectiveviewerelement_load(i,this.__wbg_ptr,c(t));var e=u().getInt32(i+0,!0),n=u().getInt32(i+4,!0),_=u().getInt32(i+8,!0);if(_)throw a(n);return a(e)}finally{o.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=o.perspectiveviewerelement_new(c(t));return this.__wbg_ptr=e>>>0,Q.register(this,this.__wbg_ptr,this),this}removePanel(t){let e=v(t,o.__wbindgen_export,o.__wbindgen_export2),n=p,_=o.perspectiveviewerelement_removePanel(this.__wbg_ptr,e,n);return a(_)}reset(t,e){let n=o.perspectiveviewerelement_reset(this.__wbg_ptr,g(t)?16777215:t?1:0,g(e)?0:c(e));return a(n)}resetError(){let t=o.perspectiveviewerelement_resetError(this.__wbg_ptr);return a(t)}resetThemes(t){var e=g(t)?0:Jt(t,o.__wbindgen_export),n=p;let _=o.perspectiveviewerelement_resetThemes(this.__wbg_ptr,e,n);return a(_)}resize(t){let e=o.perspectiveviewerelement_resize(this.__wbg_ptr,g(t)?0:c(t));return a(e)}restore(t,e){let n=o.perspectiveviewerelement_restore(this.__wbg_ptr,c(t),g(e)?0:c(e));return a(n)}restoreWorkspace(t,e){let n=o.perspectiveviewerelement_restoreWorkspace(this.__wbg_ptr,c(t),g(e)?0:c(e));return a(n)}restyleElement(){let t=o.perspectiveviewerelement_restyleElement(this.__wbg_ptr);return a(t)}save(t){let e=o.perspectiveviewerelement_save(this.__wbg_ptr,g(t)?0:c(t));return a(e)}saveWorkspace(t){let e=o.perspectiveviewerelement_saveWorkspace(this.__wbg_ptr,g(t)?0:c(t));return a(e)}setActivePanel(t){let e=v(t,o.__wbindgen_export,o.__wbindgen_export2),n=p,_=o.perspectiveviewerelement_setActivePanel(this.__wbg_ptr,e,n);return a(_)}setAutoPause(t){let e=o.perspectiveviewerelement_setAutoPause(this.__wbg_ptr,t);return a(e)}setAutoSize(t){o.perspectiveviewerelement_setAutoSize(this.__wbg_ptr,t)}setSelection(t,e){try{let i=o.__wbindgen_add_to_stack_pointer(-16);o.perspectiveviewerelement_setSelection(i,this.__wbg_ptr,g(t)?0:c(t),g(e)?0:c(e));var n=u().getInt32(i+0,!0),_=u().getInt32(i+4,!0);if(_)throw a(n)}finally{o.__wbindgen_add_to_stack_pointer(16)}}setThrottle(t){o.perspectiveviewerelement_setThrottle(this.__wbg_ptr,!g(t),g(t)?0:t)}toggleColumnSettings(t,e){let n=v(t,o.__wbindgen_export,o.__wbindgen_export2),_=p,i=o.perspectiveviewerelement_toggleColumnSettings(this.__wbg_ptr,n,_,g(e)?0:c(e));return a(i)}toggleConfig(t){let e=o.perspectiveviewerelement_toggleConfig(this.__wbg_ptr,g(t)?16777215:t?1:0);return a(e)}};Symbol.dispose&&(V.prototype[Symbol.dispose]=V.prototype.free);var O=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.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();o.__wbg_proxysession_free(t,0)}close(){let t=this.__destroy_into_raw(),e=o.proxysession_close(t);return a(e)}handle_request(t){let e=o.proxysession_handle_request(this.__wbg_ptr,c(t));return a(e)}constructor(t,e){try{nt(t,C);let n=o.proxysession_new(t.__wbg_ptr,_t(e));return this.__wbg_ptr=n>>>0,Z.register(this,this.__wbg_ptr,this),this}finally{I[P++]=void 0}}};Symbol.dispose&&(O.prototype[Symbol.dispose]=O.prototype.free);var j=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,gt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,gt.unregister(this),t}free(){let t=this.__destroy_into_raw();o.__wbg_table_free(t,0)}__getClassname(){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.table___getClassname(_,this.__wbg_ptr);var t=u().getInt32(_+0,!0),e=u().getInt32(_+4,!0),n=w(t,e);return t!==0&&o.__wbindgen_export4(t,e,1),n}finally{o.__wbindgen_add_to_stack_pointer(16)}}clear(){let t=o.table_clear(this.__wbg_ptr);return a(t)}columns(){let t=o.table_columns(this.__wbg_ptr);return a(t)}delete(t){let e=this.__destroy_into_raw(),n=o.table_delete(e,g(t)?0:c(t));return a(n)}describe(t){let e=o.table_describe(this.__wbg_ptr,g(t)?0:c(t));return a(e)}get_client(){let t=o.table_get_client(this.__wbg_ptr);return a(t)}get_index(){let t=o.table_get_index(this.__wbg_ptr);return a(t)}get_limit(){let t=o.table_get_limit(this.__wbg_ptr);return a(t)}get_name(){let t=o.table_get_name(this.__wbg_ptr);return a(t)}make_port(){let t=o.table_make_port(this.__wbg_ptr);return a(t)}on_delete(t){let e=o.table_on_delete(this.__wbg_ptr,c(t));return a(e)}remove(t,e){let n=o.table_remove(this.__wbg_ptr,c(t),g(e)?0:c(e));return a(n)}remove_delete(t){let e=o.table_remove_delete(this.__wbg_ptr,t);return a(e)}replace(t,e){let n=o.table_replace(this.__wbg_ptr,c(t),g(e)?0:c(e));return a(n)}schema(){let t=o.table_schema(this.__wbg_ptr);return a(t)}size(){let t=o.table_size(this.__wbg_ptr);return a(t)}update(t,e){let n=o.table_update(this.__wbg_ptr,c(t),g(e)?0:c(e));return a(n)}validate_expressions(t){let e=o.table_validate_expressions(this.__wbg_ptr,c(t));return a(e)}view(t){let e=o.table_view(this.__wbg_ptr,g(t)?0:c(t));return a(e)}};Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);var x=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,dt.register(e,e.__wbg_ptr,e),e}static __unwrap(t){return t instanceof s?t.__destroy_into_raw():0}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,dt.unregister(this),t}free(){let t=this.__destroy_into_raw();o.__wbg_view_free(t,0)}__get_model(){let t=o.view___get_model(this.__wbg_ptr);return s.__wrap(t)}__unsafe_get_name(){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.view___unsafe_get_name(_,this.__wbg_ptr);var t=u().getInt32(_+0,!0),e=u().getInt32(_+4,!0),n=w(t,e);return t!==0&&o.__wbindgen_export4(t,e,1),n}finally{o.__wbindgen_add_to_stack_pointer(16)}}collapse(t){let e=o.view_collapse(this.__wbg_ptr,t);return a(e)}column_paths(t){let e=o.view_column_paths(this.__wbg_ptr,g(t)?0:c(t));return a(e)}delete(){let t=this.__destroy_into_raw(),e=o.view_delete(t);return a(e)}dimensions(){let t=o.view_dimensions(this.__wbg_ptr);return a(t)}expand(t){let e=o.view_expand(this.__wbg_ptr,t);return a(e)}expression_schema(){let t=o.view_expression_schema(this.__wbg_ptr);return a(t)}get_config(){let t=o.view_get_config(this.__wbg_ptr);return a(t)}get_min_max(t){let e=v(t,o.__wbindgen_export,o.__wbindgen_export2),n=p,_=o.view_get_min_max(this.__wbg_ptr,e,n);return a(_)}num_columns(){let t=o.view_num_columns(this.__wbg_ptr);return a(t)}num_rows(){let t=o.view_num_rows(this.__wbg_ptr);return a(t)}on_delete(t){let e=o.view_on_delete(this.__wbg_ptr,c(t));return a(e)}on_remove(t){let e=o.view_on_remove(this.__wbg_ptr,c(t));return a(e)}on_update(t,e){let n=o.view_on_update(this.__wbg_ptr,c(t),g(e)?0:c(e));return a(n)}remove_delete(t){let e=o.view_remove_delete(this.__wbg_ptr,t);return a(e)}remove_remove(t){let e=o.view_remove_remove(this.__wbg_ptr,t);return a(e)}remove_update(t){let e=o.view_remove_update(this.__wbg_ptr,t);return a(e)}schema(){let t=o.view_schema(this.__wbg_ptr);return a(t)}set_depth(t){let e=o.view_set_depth(this.__wbg_ptr,t);return a(e)}to_arrow(t){let e=o.view_to_arrow(this.__wbg_ptr,g(t)?0:c(t));return a(e)}to_columns(t){let e=o.view_to_columns(this.__wbg_ptr,g(t)?0:c(t));return a(e)}to_columns_string(t){let e=o.view_to_columns_string(this.__wbg_ptr,g(t)?0:c(t));return a(e)}to_csv(t){let e=o.view_to_csv(this.__wbg_ptr,g(t)?0:c(t));return a(e)}to_json(t){let e=o.view_to_json(this.__wbg_ptr,g(t)?0:c(t));return a(e)}to_json_string(t){let e=o.view_to_json_string(this.__wbg_ptr,g(t)?0:c(t));return a(e)}to_ndjson(t){let e=o.view_to_ndjson(this.__wbg_ptr,g(t)?0:c(t));return a(e)}with_typed_arrays(t,e){let n=o.view_with_typed_arrays(this.__wbg_ptr,g(t)?0:c(t),c(e));return a(n)}};Symbol.dispose&&(x.prototype[Symbol.dispose]=x.prototype.free);var z=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,tt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,tt.unregister(this),t}free(){let t=this.__destroy_into_raw();o.__wbg_virtualdataslice_free(t,0)}fromArrowIpc(t){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.virtualdataslice_fromArrowIpc(_,this.__wbg_ptr,c(t));var e=u().getInt32(_+0,!0),n=u().getInt32(_+4,!0);if(n)throw a(e)}finally{o.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=o.virtualdataslice_new(c(t));return this.__wbg_ptr=e>>>0,tt.register(this,this.__wbg_ptr,this),this}setBooleanCol(t,e,n,_){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.virtualdataslice_setBooleanCol(f,this.__wbg_ptr,l,m,e,c(n),g(_)?4294967297:_>>>0);var i=u().getInt32(f+0,!0),b=u().getInt32(f+4,!0);if(b)throw a(i)}finally{o.__wbindgen_add_to_stack_pointer(16)}}setCol(t,e,n,_,i){try{let l=o.__wbindgen_add_to_stack_pointer(-16),m=v(t,o.__wbindgen_export,o.__wbindgen_export2),h=p,y=v(e,o.__wbindgen_export,o.__wbindgen_export2),k=p;o.virtualdataslice_setCol(l,this.__wbg_ptr,m,h,y,k,n,c(_),g(i)?4294967297:i>>>0);var b=u().getInt32(l+0,!0),f=u().getInt32(l+4,!0);if(f)throw a(b)}finally{o.__wbindgen_add_to_stack_pointer(16)}}setDatetimeCol(t,e,n,_){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.virtualdataslice_setDatetimeCol(f,this.__wbg_ptr,l,m,e,c(n),g(_)?4294967297:_>>>0);var i=u().getInt32(f+0,!0),b=u().getInt32(f+4,!0);if(b)throw a(i)}finally{o.__wbindgen_add_to_stack_pointer(16)}}setFloatCol(t,e,n,_){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.virtualdataslice_setFloatCol(f,this.__wbg_ptr,l,m,e,c(n),g(_)?4294967297:_>>>0);var i=u().getInt32(f+0,!0),b=u().getInt32(f+4,!0);if(b)throw a(i)}finally{o.__wbindgen_add_to_stack_pointer(16)}}setIntegerCol(t,e,n,_){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.virtualdataslice_setIntegerCol(f,this.__wbg_ptr,l,m,e,c(n),g(_)?4294967297:_>>>0);var i=u().getInt32(f+0,!0),b=u().getInt32(f+4,!0);if(b)throw a(i)}finally{o.__wbindgen_add_to_stack_pointer(16)}}setStringCol(t,e,n,_){try{let f=o.__wbindgen_add_to_stack_pointer(-16),l=v(t,o.__wbindgen_export,o.__wbindgen_export2),m=p;o.virtualdataslice_setStringCol(f,this.__wbg_ptr,l,m,e,c(n),g(_)?4294967297:_>>>0);var i=u().getInt32(f+0,!0),b=u().getInt32(f+4,!0);if(b)throw a(i)}finally{o.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);var $=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,wt.unregister(this),t}free(){let t=this.__destroy_into_raw();o.__wbg_virtualserver_free(t,0)}handleRequest(t){let e=Gt(t,o.__wbindgen_export),n=p,_=o.virtualserver_handleRequest(this.__wbg_ptr,e,n);return a(_)}constructor(t){try{let i=o.__wbindgen_add_to_stack_pointer(-16);o.virtualserver_new(i,c(t));var e=u().getInt32(i+0,!0),n=u().getInt32(i+4,!0),_=u().getInt32(i+8,!0);if(_)throw a(n);return this.__wbg_ptr=e>>>0,wt.register(this,this.__wbg_ptr,this),this}finally{o.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);function It(){try{let n=o.__wbindgen_add_to_stack_pointer(-16);o.get_wasm_module(n);var s=u().getInt32(n+0,!0),t=u().getInt32(n+4,!0),e=u().getInt32(n+8,!0);if(e)throw a(t);return a(s)}finally{o.__wbindgen_add_to_stack_pointer(16)}}function kt(){try{let n=o.__wbindgen_add_to_stack_pointer(-16);o.get_worker_url(n);var s=u().getInt32(n+0,!0),t=u().getInt32(n+4,!0),e=u().getInt32(n+8,!0);if(e)throw a(t);return a(s)}finally{o.__wbindgen_add_to_stack_pointer(16)}}function St(s,t){o.init(c(s),c(t))}function At(s){let t=v(s,o.__wbindgen_export,o.__wbindgen_export2),e=p;o.registerPlugin(t,e)}function vt(){return{__proto__:null,"./perspective-viewer.wasm_bg.js":{__proto__:null,__wbg_Error_8c4e43fe74559d73:function(t,e){var n=w(t,e);let _=Error(n);return c(_)},__wbg_Number_04624de7d0e8332d:function(t){return Number(r(t))},__wbg_String_8f0eb39a4a4c2f66:function(t,e){let n=String(r(e)),_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:function(t,e){let n=r(e),_=typeof n=="bigint"?n:void 0;u().setBigInt64(t+8,g(_)?BigInt(0):_,!0),u().setInt32(t+0,!g(_),!0)},__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:function(t){let e=r(t),n=typeof e=="boolean"?e:void 0;return g(n)?16777215:n?1:0},__wbg___wbindgen_debug_string_0bc8482c6e3508ae:function(t,e){let n=rt(r(e)),_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg___wbindgen_in_47fa6863be6f2f25:function(t,e){return r(t)in r(e)},__wbg___wbindgen_is_bigint_31b12575b56f32fc:function(t){return typeof r(t)=="bigint"},__wbg___wbindgen_is_function_0095a73b8b156f76:function(t){return typeof r(t)=="function"},__wbg___wbindgen_is_null_ac34f5003991759a:function(t){return r(t)===null},__wbg___wbindgen_is_object_5ae8e5880f2c1fbd:function(t){let e=r(t);return typeof e=="object"&&e!==null},__wbg___wbindgen_is_string_cd444516edc5b180:function(t){return typeof r(t)=="string"},__wbg___wbindgen_is_undefined_9e4d92534c42d778:function(t){return r(t)===void 0},__wbg___wbindgen_jsval_eq_11888390b0186270:function(t,e){return r(t)===r(e)},__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:function(t,e){return r(t)==r(e)},__wbg___wbindgen_number_get_8ff4255516ccad3e:function(t,e){let n=r(e),_=typeof n=="number"?n:void 0;u().setFloat64(t+8,g(_)?0:_,!0),u().setInt32(t+0,!g(_),!0)},__wbg___wbindgen_string_get_72fb696202c56729:function(t,e){let n=r(e),_=typeof n=="string"?n:void 0;var i=g(_)?0:v(_,o.__wbindgen_export,o.__wbindgen_export2),b=p;u().setInt32(t+4,b,!0),u().setInt32(t+0,i,!0)},__wbg___wbindgen_throw_be289d5034ed271b:function(t,e){var n=w(t,e);throw new Error(n)},__wbg__wbg_cb_unref_d9b87ff7982e3b21:function(t){r(t)._wbg_cb_unref()},__wbg_abort_2f0584e03e8e3950:function(t){r(t).abort()},__wbg_addEventListener_3acb0aad4483804c:function(){return d(function(t,e,n,_){var i=w(e,n);r(t).addEventListener(i,r(_))},arguments)},__wbg_addEventListener_5ef04ffb1d3af066:function(){return d(function(t,e,n,_,i){var b=w(e,n);r(t).addEventListener(b,r(_),i!==0)},arguments)},__wbg_addEventListener_c917b5aafbcf493f:function(){return d(function(t,e,n,_,i){var b=w(e,n);r(t).addEventListener(b,r(_),r(i))},arguments)},__wbg_add_5be83378df680c25:function(){return d(function(t,e,n){var _=w(e,n);r(t).add(_)},arguments)},__wbg_appendChild_dea38765a26d346d:function(){return d(function(t,e){let n=r(t).appendChild(r(e));return c(n)},arguments)},__wbg_append_a992ccc37aa62dc4:function(){return d(function(t,e,n,_,i){var b=w(e,n),f=w(_,i);r(t).append(b,f)},arguments)},__wbg_apply_2e22c45cb4f12415:function(){return d(function(t,e,n){let _=Reflect.apply(r(t),r(e),r(n));return c(_)},arguments)},__wbg_apply_ada2ee1a60ac7b3c:function(){return d(function(t,e,n){let _=r(t).apply(r(e),r(n));return c(_)},arguments)},__wbg_asyncIterator_58dd45e58aa3721e:function(){return c(Symbol.asyncIterator)},__wbg_at_dfc235641cc0e40c:function(t,e){let n=r(t).at(e);return c(n)},__wbg_attachShadow_d31cd520620b24d6:function(){return d(function(t,e){let n=r(t).attachShadow(r(e));return c(n)},arguments)},__wbg_blur_07f34335e06e5234:function(){return d(function(t){r(t).blur()},arguments)},__wbg_body_3a0b4437dadea6bf:function(t){let e=r(t).body;return g(e)?0:c(e)},__wbg_body_f67922363a220026:function(t){let e=r(t).body;return g(e)?0:c(e)},__wbg_bootstrap_bcc629c36202c787:function(t,e,n,_,i,b){var f=w(e,n),l=w(_,i);let m=ut(r(t),f,l,a(b));return c(m)},__wbg_bubbles_ad88192d3c29e6f9:function(t){return r(t).bubbles},__wbg_buffer_26d0910f3a5bc899:function(t){let e=r(t).buffer;return c(e)},__wbg_button_d86841d0a03adc44:function(t){return r(t).button},__wbg_cache_key_b02185c5bc89ef2a:function(t){let e=r(t).__yew_subtree_cache_key;return g(e)?4294967297:e>>>0},__wbg_calculatePath_cd9a0a6d046055b6:function(t,e,n){var _=w(e,n);let i=r(t).calculatePath(_);return c(i)},__wbg_calculatePresizePaths_28421b3816152acf:function(t){let e=r(t).calculatePresizePaths();return c(e)},__wbg_call_389efe28435a9388:function(){return d(function(t,e){let n=r(t).call(r(e));return c(n)},arguments)},__wbg_call_41bedb84c3e5c0c9:function(){return d(function(t,e,n,_,i,b){let f=r(t).call(r(e),r(n),r(_),r(i),r(b));return c(f)},arguments)},__wbg_call_4708e0c13bdc8e95:function(){return d(function(t,e,n){let _=r(t).call(r(e),r(n));return c(_)},arguments)},__wbg_call_812d25f1510c13c8:function(){return d(function(t,e,n,_){let i=r(t).call(r(e),r(n),r(_));return c(i)},arguments)},__wbg_cancelBubble_d93ec09e9c46cd6f:function(t){return r(t).cancelBubble},__wbg_checked_04db83ac6810bc82:function(t){return r(t).checked},__wbg_childNodes_75d35de33c9f6fbb:function(t){let e=r(t).childNodes;return c(e)},__wbg_children_54099e7692eefa29:function(t){let e=r(t).children;return c(e)},__wbg_classList_1a87c34c6d81421e:function(t){let e=r(t).classList;return c(e)},__wbg_className_2a1be685f5d518d5:function(t,e){let n=r(e).className,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_clear_e92315b79199e73e:function(){return d(function(t){let e=r(t).clear();return c(e)},arguments)},__wbg_click_0e9c20848b655ed3:function(t){r(t).click()},__wbg_clientHeight_6432ff0d61ccfe7d:function(t){return r(t).clientHeight},__wbg_clientX_a3c5f4ff30e91264:function(t){return r(t).clientX},__wbg_clientY_e28509acb9b4a42a:function(t){return r(t).clientY},__wbg_client_new:function(t){let e=C.__wrap(t);return c(e)},__wbg_clipboard_98c5a32249fa8416:function(t){let e=r(t).clipboard;return c(e)},__wbg_cloneNode_b85e9102a9a31b29:function(){return d(function(t,e){let n=r(t).cloneNode(e!==0);return c(n)},arguments)},__wbg_cloneNode_eaf4ea08ebf633a5:function(){return d(function(t){let e=r(t).cloneNode();return c(e)},arguments)},__wbg_closest_11206fe6e0fb4e4e:function(){return d(function(t,e,n){var _=w(e,n);let i=r(t).closest(_);return g(i)?0:c(i)},arguments)},__wbg_code_dee0dae4730408e1:function(t,e){let n=r(e).code,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_column_config_schema_ab12ff6592612d8b:function(){return d(function(t,e,n,_,i,b,f,l,m,h){var y=w(e,n),k=w(_,i),M=w(b,f);let Y=r(t).column_config_schema(y,k,M,r(l),r(m),r(h));return c(Y)},arguments)},__wbg_composedPath_9154ab2547c668d5:function(t){let e=r(t).composedPath();return c(e)},__wbg_contains_1056459c33f961e8:function(t,e){return r(t).contains(r(e))},__wbg_contains_6f4d5df35ef8a13a:function(t,e,n){var _=w(e,n);return r(t).contains(_)},__wbg_contentRect_dfad24916e198802:function(t){let e=r(t).contentRect;return c(e)},__wbg_createElementNS_ee00621496b30ec2:function(){return d(function(t,e,n,_,i){var b=w(e,n),f=w(_,i);let l=r(t).createElementNS(b,f);return c(l)},arguments)},__wbg_createElement_49f60fdcaae809c8:function(){return d(function(t,e,n){var _=w(e,n);let i=r(t).createElement(_);return c(i)},arguments)},__wbg_createObjectURL_918185db6a10a0c8:function(){return d(function(t,e){let n=URL.createObjectURL(r(e)),_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},arguments)},__wbg_createTextNode_55029686c9591bf3:function(t,e,n){var _=w(e,n);let i=r(t).createTextNode(_);return c(i)},__wbg_cssRules_554f47f3049cf066:function(){return d(function(t){let e=r(t).cssRules;return c(e)},arguments)},__wbg_cssText_8f3f27e60c824421:function(t,e){let n=r(e).cssText,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_currentTarget_d1f347b3b9bddd6e:function(t){let e=r(t).currentTarget;return g(e)?0:c(e)},__wbg_dataTransfer_d924a622fbe51b06:function(t){let e=r(t).dataTransfer;return g(e)?0:c(e)},__wbg_dataset_20cb5c72458ae3fc:function(t){let e=r(t).dataset;return c(e)},__wbg_debug_46a93995fc6f8820:function(t,e,n,_){console.debug(r(t),r(e),r(n),r(_))},__wbg_debug_a4099fa12db6cd61:function(t){console.debug(r(t))},__wbg_decode_a28a47c6d83f2594:function(){return d(function(t,e,n,_,i){let b=r(e).decode(R(n,_),r(i)),f=v(b,o.__wbindgen_export,o.__wbindgen_export2),l=p;u().setInt32(t+4,l,!0),u().setInt32(t+0,f,!0)},arguments)},__wbg_define_panel_tab_fee5f3fc7762b065:function(t,e){var n=w(t,e);ot(n)},__wbg_delete_48886d8bcf17907c:function(t){r(t).delete()},__wbg_delete_8318b529ff42aa20:function(t,e,n){var _=w(e,n);delete r(t)[_]},__wbg_deselect_94737f98e0d020fd:function(){return d(function(t){let e=r(t).deselect();return c(e)},arguments)},__wbg_detail_934cf9545e3214d3:function(t){let e=r(t).detail;return c(e)},__wbg_dispatchEvent_dc8dcc7ddca11378:function(){return d(function(t,e){return r(t).dispatchEvent(r(e))},arguments)},__wbg_document_ee35a3d3ae34ef6c:function(t){let e=r(t).document;return g(e)?0:c(e)},__wbg_done_57b39ecd9addfe81:function(t){return r(t).done},__wbg_draw_f1656ba493338e2f:function(){return d(function(t,e,n,_,i){let b=r(t).draw(x.__wrap(e),n===4294967297?void 0:n,_===4294967297?void 0:_,i!==0);return c(b)},arguments)},__wbg_entries_58c7934c745daac7:function(t){let e=Object.entries(r(t));return c(e)},__wbg_error_3c7d958458bf649b:function(t,e){var n=lt(t,e).slice();o.__wbindgen_export4(t,e*4,4),console.error(...n)},__wbg_error_7534b8e9a36f1ab4:function(t,e){var n=w(t,e);t!==0&&o.__wbindgen_export4(t,e,1),console.error(n)},__wbg_error_794d0ffc9d00d5c3:function(t,e,n,_){console.error(r(t),r(e),r(n),r(_))},__wbg_error_9a7fe3f932034cde:function(t){console.error(r(t))},__wbg_error_f852e41c69b0bd84:function(t,e){console.error(r(t),r(e))},__wbg_family_345f1736ce506756:function(t,e){let n=r(e).family,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_fetch_e6e8e0a221783759:function(t,e){let n=r(t).fetch(r(e));return c(n)},__wbg_focus_128ff465f65677cc:function(){return d(function(t){r(t).focus()},arguments)},__wbg_fonts_ba4bc521c555025e:function(t){let e=r(t).fonts;return c(e)},__wbg_format_7c97ddc401dae52f:function(t){let e=r(t).format;return c(e)},__wbg_from_bddd64e7d5ff6941:function(t){let e=Array.from(r(t));return c(e)},__wbg_getAttribute_b9f6fc4b689c71b0:function(t,e,n,_){var i=w(n,_);let b=r(e).getAttribute(i);var f=g(b)?0:v(b,o.__wbindgen_export,o.__wbindgen_export2),l=p;u().setInt32(t+4,l,!0),u().setInt32(t+0,f,!0)},__wbg_getBoundingClientRect_b5c8c34d07878818:function(t){let e=r(t).getBoundingClientRect();return c(e)},__wbg_getComputedStyle_2d1f9dfe4ee7e0b9:function(){return d(function(t,e){let n=r(t).getComputedStyle(r(e));return g(n)?0:c(n)},arguments)},__wbg_getContext_2a5764d48600bc43:function(){return d(function(t,e,n){var _=w(e,n);let i=r(t).getContext(_);return g(i)?0:c(i)},arguments)},__wbg_getEntriesByName_02488cff0bc7581c:function(t,e,n,_,i){var b=w(e,n),f=w(_,i);let l=r(t).getEntriesByName(b,f);return c(l)},__wbg_getPropertyValue_d6911b2a1f9acba9:function(){return d(function(t,e,n,_){var i=w(n,_);let b=r(e).getPropertyValue(i),f=v(b,o.__wbindgen_export,o.__wbindgen_export2),l=p;u().setInt32(t+4,l,!0),u().setInt32(t+0,f,!0)},arguments)},__wbg_getRandomValues_1c61fac11405ffdc:function(){return d(function(t,e){globalThis.crypto.getRandomValues(R(t,e))},arguments)},__wbg_getReader_804829cfb24eb4dd:function(t){let e=r(t).getReader();return c(e)},__wbg_getRootNode_193e544ed534e810:function(t){let e=r(t).getRootNode();return c(e)},__wbg_getSelection_d345357cda220f17:function(){return d(function(t){let e=r(t).getSelection();return g(e)?0:c(e)},arguments)},__wbg_getTime_1e3cd1391c5c3995:function(t){return r(t).getTime()},__wbg_getTimezoneOffset_81776d10a4ec18a8:function(t){return r(t).getTimezoneOffset()},__wbg_get_5dd1ee4c9f462865:function(t,e,n,_){var i=w(n,_);let b=r(e)[i];var f=g(b)?0:v(b,o.__wbindgen_export,o.__wbindgen_export2),l=p;u().setInt32(t+4,l,!0),u().setInt32(t+0,f,!0)},__wbg_get_76e04509d1922a04:function(t,e,n){var _=w(e,n);let i=r(t)[_];return g(i)?0:c(i)},__wbg_get_941633a1d2f510cb:function(){return d(function(t,e,n,_){var i=w(n,_);let b=r(e).get(i);var f=g(b)?0:v(b,o.__wbindgen_export,o.__wbindgen_export2),l=p;u().setInt32(t+4,l,!0),u().setInt32(t+0,f,!0)},arguments)},__wbg_get_9b94d73e6221f75c:function(t,e){let n=r(t)[e>>>0];return c(n)},__wbg_get_b3ed3ad4be2bc8ac:function(){return d(function(t,e){let n=Reflect.get(r(t),r(e));return c(n)},arguments)},__wbg_get_d8db2ad31d529ff8:function(t,e){let n=r(t)[e>>>0];return g(n)?0:c(n)},__wbg_get_static_config_63f724040cd26a11:function(t){let e=r(t).get_static_config();return c(e)},__wbg_get_with_index_d26da38d2c038e1a:function(t,e){let n=r(t)[e>>>0];return g(n)?0:c(n)},__wbg_get_with_ref_key_1dc361bd10053bfe:function(t,e){let n=r(t)[r(e)];return c(n)},__wbg_hasAttribute_5d8f52cb4c739280:function(t,e,n){var _=w(e,n);return r(t).hasAttribute(_)},__wbg_has_d4e53238966c12b6:function(){return d(function(t,e){return Reflect.has(r(t),r(e))},arguments)},__wbg_headers_59a2938db9f80985:function(t){let e=r(t).headers;return c(e)},__wbg_height_45209601b4c4ede6:function(t){return r(t).height},__wbg_height_c2027cf67d1c9b11:function(t){return r(t).height},__wbg_hidden_8ce6a98b8c12451c:function(t){return r(t).hidden},__wbg_hidePopover_f52b72171825485d:function(){return d(function(t){r(t).hidePopover()},arguments)},__wbg_host_fb29f8be35c2517d:function(t){let e=r(t).host;return c(e)},__wbg_includes_32215c836f1cd3fb:function(t,e,n){return r(t).includes(r(e),n)},__wbg_indexOf_e5f91887d9e5023e:function(t,e,n){return r(t).indexOf(r(e),n)},__wbg_info_148d043840582012:function(t){console.info(r(t))},__wbg_info_9e602cf10c5c690b:function(t,e,n,_){console.info(r(t),r(e),r(n),r(_))},__wbg_innerHeight_54aa104da08becd2:function(){return d(function(t){let e=r(t).innerHeight;return c(e)},arguments)},__wbg_innerWidth_fa95c57321f4f033:function(){return d(function(t){let e=r(t).innerWidth;return c(e)},arguments)},__wbg_insertBefore_1468142836e61a51:function(){return d(function(t,e,n){let _=r(t).insertBefore(r(e),r(n));return c(_)},arguments)},__wbg_insertPanel_ba71bdc751d5e29b:function(t,e,n,_,i){var b=w(e,n);let f=r(t).insertPanel(b,a(_),a(i));return c(f)},__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:function(t){let e;try{e=r(t)instanceof ArrayBuffer}catch{e=!1}return e},__wbg_instanceof_Array_d9eac779cd191cbc:function(t){let e;try{e=r(t)instanceof Array}catch{e=!1}return e},__wbg_instanceof_CanvasRenderingContext2d_4bb052fd1c3d134d:function(t){let e;try{e=r(t)instanceof CanvasRenderingContext2D}catch{e=!1}return e},__wbg_instanceof_CssStyleRule_23e59108346af0df:function(t){let e;try{e=r(t)instanceof CSSStyleRule}catch{e=!1}return e},__wbg_instanceof_CustomEvent_7dc010f377596c94:function(t){let e;try{e=r(t)instanceof CustomEvent}catch{e=!1}return e},__wbg_instanceof_Date_1b9f15b87f10aa4c:function(t){let e;try{e=r(t)instanceof Date}catch{e=!1}return e},__wbg_instanceof_Element_9e662f49ab6c6beb:function(t){let e;try{e=r(t)instanceof Element}catch{e=!1}return e},__wbg_instanceof_Error_8573fe0b0b480f46:function(t){let e;try{e=r(t)instanceof Error}catch{e=!1}return e},__wbg_instanceof_FontFace_90d3e62f39397791:function(t){let e;try{e=r(t)instanceof FontFace}catch{e=!1}return e},__wbg_instanceof_HtmlCanvasElement_3f2f6e1edb1c9792:function(t){let e;try{e=r(t)instanceof HTMLCanvasElement}catch{e=!1}return e},__wbg_instanceof_HtmlElement_5abfac207260fd6f:function(t){let e;try{e=r(t)instanceof HTMLElement}catch{e=!1}return e},__wbg_instanceof_HtmlInputElement_c10b7260b4e0710a:function(t){let e;try{e=r(t)instanceof HTMLInputElement}catch{e=!1}return e},__wbg_instanceof_HtmlSelectElement_a1820832b22b0d1e:function(t){let e;try{e=r(t)instanceof HTMLSelectElement}catch{e=!1}return e},__wbg_instanceof_Map_53af74335dec57f4:function(t){let e;try{e=r(t)instanceof Map}catch{e=!1}return e},__wbg_instanceof_Node_da04bd8df43deba3:function(t){let e;try{e=r(t)instanceof Node}catch{e=!1}return e},__wbg_instanceof_Object_1c6af87502b733ed:function(t){let e;try{e=r(t)instanceof Object}catch{e=!1}return e},__wbg_instanceof_Promise_0094681e3519d6ec:function(t){let e;try{e=r(t)instanceof Promise}catch{e=!1}return e},__wbg_instanceof_Response_ee1d54d79ae41977:function(t){let e;try{e=r(t)instanceof Response}catch{e=!1}return e},__wbg_instanceof_ShadowRoot_5285adde3587c73e:function(t){let e;try{e=r(t)instanceof ShadowRoot}catch{e=!1}return e},__wbg_instanceof_Uint8Array_9b9075935c74707c:function(t){let e;try{e=r(t)instanceof Uint8Array}catch{e=!1}return e},__wbg_instanceof_Window_ed49b2db8df90359:function(t){let e;try{e=r(t)instanceof Window}catch{e=!1}return e},__wbg_isArray_d314bb98fcf08331:function(t){return Array.isArray(r(t))},__wbg_isCollapsed_617e9be3f62f5a25:function(t){return r(t).isCollapsed},__wbg_isConnected_6110bc2c5462f90e:function(t){return r(t).isConnected},__wbg_isIntersecting_ee173c3ac0a789ff:function(t){return r(t).isIntersecting},__wbg_isSafeInteger_bfbc7332a9768d2a:function(t){return Number.isSafeInteger(r(t))},__wbg_isSameNode_3caa48d6eb3c880e:function(t,e){return r(t).isSameNode(r(e))},__wbg_is_f29129f676e5410c:function(t,e){return Object.is(r(t),r(e))},__wbg_item_00ae26320b80a11f:function(t,e,n){let _=r(e).item(n>>>0),i=v(_,o.__wbindgen_export,o.__wbindgen_export2),b=p;u().setInt32(t+4,b,!0),u().setInt32(t+0,i,!0)},__wbg_item_48715d3212ed96cb:function(t,e){let n=r(t).item(e>>>0);return g(n)?0:c(n)},__wbg_item_5c82f52b014b3056:function(t,e){let n=r(t).item(e>>>0);return g(n)?0:c(n)},__wbg_item_64b77e6a26f7de76:function(t,e){let n=r(t).item(e>>>0);return g(n)?0:c(n)},__wbg_item_ca823df8214b9e2b:function(t,e){let n=r(t).item(e>>>0);return g(n)?0:c(n)},__wbg_iterator_6ff6560ca1568e55:function(){return c(Symbol.iterator)},__wbg_keyCode_155291a11654466e:function(t){return r(t).keyCode},__wbg_key_d41e8e825e6bb0e9:function(t,e){let n=r(e).key,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_keys_b50a709a76add04e:function(t){let e=Object.keys(r(t));return c(e)},__wbg_languages_5a69df7551d1a803:function(t){let e=r(t).languages;return c(e)},__wbg_lastChild_132d67597d5e4aef:function(t){let e=r(t).lastChild;return g(e)?0:c(e)},__wbg_left_3b7c3c1030d5ca7a:function(t){return r(t).left},__wbg_length_25851a48867b2afc:function(t){return r(t).length},__wbg_length_32ed9a279acd054c:function(t){return r(t).length},__wbg_length_35a7bace40f36eac:function(t){return r(t).length},__wbg_length_3f12bc1cab862cc3:function(t){return r(t).length},__wbg_length_b5aa6c69c842d6a6:function(t){return r(t).length},__wbg_length_e455564ce5cbf46e:function(t){return r(t).length},__wbg_length_edae0cd13a8d3b71:function(t){return r(t).length},__wbg_listener_id_3f13203bf7de1e4d:function(t){let e=r(t).__yew_listener_id;return g(e)?4294967297:e>>>0},__wbg_loaded_27fa3bdfd9239e89:function(){return d(function(t){let e=r(t).loaded;return c(e)},arguments)},__wbg_mark_3b530a64b09ba08a:function(){return d(function(t,e,n){var _=w(e,n);r(t).mark(_)},arguments)},__wbg_matches_852ba8b2b4592069:function(){return d(function(t,e,n){var _=w(e,n);return r(t).matches(_)},arguments)},__wbg_maximize_1565a64f119d9b4b:function(t,e,n){var _=w(e,n);r(t).maximize(_)},__wbg_measureText_9d64a92333bd05ee:function(){return d(function(t,e,n){var _=w(e,n);let i=r(t).measureText(_);return c(i)},arguments)},__wbg_measure_288b48c082eae0fe:function(){return d(function(t,e,n,_,i){var b=w(e,n),f=w(_,i);r(t).measure(b,f)},arguments)},__wbg_message_9ddc4b9a62a7c379:function(t){let e=r(t).message;return c(e)},__wbg_minimize_06345975e97908b4:function(t){r(t).minimize()},__wbg_namespaceURI_86e2062c65f0f341:function(t,e){let n=r(e).namespaceURI;var _=g(n)?0:v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_navigator_43be698ba96fc088:function(t){let e=r(t).navigator;return c(e)},__wbg_new_16c83877745f8d12:function(){return d(function(t,e){var n=w(t,e);let _=new InputEvent(n);return c(_)},arguments)},__wbg_new_1d5bd472c706b768:function(){return d(function(){let t=new CSSStyleSheet;return c(t)},arguments)},__wbg_new_245cd5c49157e602:function(t){let e=new Date(r(t));return c(e)},__wbg_new_2ec3ec8c398b20d2:function(){return d(function(){let t=new TextDecoder;return c(t)},arguments)},__wbg_new_361308b2356cecd0:function(){let t=new Object;return c(t)},__wbg_new_384a230f8673183c:function(){return d(function(t,e){var n=w(t,e);let _=new CustomEvent(n);return c(_)},arguments)},__wbg_new_3eb36ae241fe6f44:function(){let t=new Array;return c(t)},__wbg_new_64284bd487f9d239:function(){return d(function(){let t=new Headers;return c(t)},arguments)},__wbg_new_72b49615380db768:function(t,e){var n=w(t,e);let _=new Error(n);return c(_)},__wbg_new_86c8f0b79e48927d:function(t,e){let n=new Intl.NumberFormat(r(t),r(e));return c(n)},__wbg_new_88e66413498f3e3d:function(t){let e=new ct(r(t));return c(e)},__wbg_new_8a6f238a6ece86ea:function(){let t=new Error;return c(t)},__wbg_new_98450e70584646af:function(t){let e=new st(r(t));return c(e)},__wbg_new_b5d9e2fb389fef91:function(t,e){try{var n={a:t,b:e},_=(b,f)=>{let l=n.a;n.a=0;try{return zt(l,n.b,b,f)}finally{n.a=l}};let i=new Promise(_);return c(i)}finally{n.a=n.b=0}},__wbg_new_b949e7f56150a5d1:function(){return d(function(){let t=new AbortController;return c(t)},arguments)},__wbg_new_c155239f1b113b68:function(t,e){let n=new Intl.DateTimeFormat(r(t),r(e));return c(n)},__wbg_new_dca287b076112a51:function(){return c(new Map)},__wbg_new_dd2b680c8bf6ae29:function(t){let e=new Uint8Array(r(t));return c(e)},__wbg_new_ef89e494c7dddd8a:function(t){let e=new it(r(t));return c(e)},__wbg_new_from_slice_a3d2629dc1826784:function(t,e){let n=new Uint8Array(R(t,e));return c(n)},__wbg_new_no_args_1c7c842f08d00ebb:function(t,e){var n=w(t,e);let _=new Function(n);return c(_)},__wbg_new_with_event_init_dict_48877e7ca125f3c1:function(){return d(function(t,e,n){var _=w(t,e);let i=new CustomEvent(_,r(n));return c(i)},arguments)},__wbg_new_with_length_1763c527b2923202:function(t){let e=new Array(t>>>0);return c(e)},__wbg_new_with_str_and_init_a61cbc6bdef21614:function(){return d(function(t,e,n){var _=w(t,e);let i=new Request(_,r(n));return c(i)},arguments)},__wbg_new_with_str_sequence_and_options_9b8b0bee99ec6b0f:function(){return d(function(t,e){let n=new Blob(r(t),r(e));return c(n)},arguments)},__wbg_new_with_u8_array_sequence_08b2096a9f3117c0:function(){return d(function(t){let e=new Blob(r(t));return c(e)},arguments)},__wbg_nextSibling_2e988d9bbe3e06f0:function(t){let e=r(t).nextSibling;return g(e)?0:c(e)},__wbg_next_3482f54c49e8af19:function(){return d(function(t){let e=r(t).next();return c(e)},arguments)},__wbg_next_418f80d8f5303233:function(t){let e=r(t).next;return c(e)},__wbg_next_a74fa8e233e5b7bf:function(){return d(function(t){let e=r(t).next();return c(e)},arguments)},__wbg_now_a3af9a2f4bbaa4d1:function(){return Date.now()},__wbg_now_ebffdf7e580f210d:function(t){return r(t).now()},__wbg_observe_54866f50769e08ca:function(t,e){r(t).observe(r(e))},__wbg_observe_627a58df471ce4f7:function(t,e){r(t).observe(r(e))},__wbg_of_f915f7cd925b21a5:function(t){let e=Array.of(r(t));return c(e)},__wbg_offsetHeight_34f7abc1686733cc:function(t){return r(t).offsetHeight},__wbg_offsetParent_9627ebca6b03e8b2:function(t){let e=r(t).offsetParent;return g(e)?0:c(e)},__wbg_offsetWidth_f37b33a53e513101:function(t){return r(t).offsetWidth},__wbg_offsetX_b76b9bb1f9235de9:function(t){return r(t).offsetX},__wbg_offsetY_db5c1ddb866e1b82:function(t){return r(t).offsetY},__wbg_ok_87f537440a0acf85:function(t){return r(t).ok},__wbg_parentElement_75863410a8617953:function(t){let e=r(t).parentElement;return g(e)?0:c(e)},__wbg_parentNode_d44bd5ec58601e45:function(t){let e=r(t).parentNode;return g(e)?0:c(e)},__wbg_parse_708461a1feddfb38:function(){return d(function(t,e){var n=w(t,e);let _=JSON.parse(n);return c(_)},arguments)},__wbg_performance_06f12ba62483475d:function(t){let e=r(t).performance;return g(e)?0:c(e)},__wbg_plugin_config_schema_af1a897a0339ced6:function(){return d(function(t,e,n){let _=r(t).plugin_config_schema(r(e),r(n));return c(_)},arguments)},__wbg_pointerId_466b1bdcaf2fe835:function(t){return r(t).pointerId},__wbg_pop_80fa29128215a463:function(t){let e=r(t).pop();return c(e)},__wbg_prepend_12ed960547d9dfe1:function(){return d(function(t,e){r(t).prepend(r(e))},arguments)},__wbg_presize_6d1b3d3b70ce9325:function(){return d(function(t,e,n){let _=r(t).presize(e,n);return c(_)},arguments)},__wbg_preventDefault_cdcfcd7e301b9702:function(t){r(t).preventDefault()},__wbg_prototypesetcall_bdcdcc5842e4d77d:function(t,e,n){Uint8Array.prototype.set.call(R(t,e),r(n))},__wbg_push_8ffdcb2063340ba5:function(t,e){return r(t).push(r(e))},__wbg_querySelectorAll_5875742f4e11f759:function(){return d(function(t,e,n){var _=w(e,n);let i=r(t).querySelectorAll(_);return c(i)},arguments)},__wbg_querySelector_1be4292f202b1597:function(){return d(function(t,e,n){var _=w(e,n);let i=r(t).querySelector(_);return g(i)?0:c(i)},arguments)},__wbg_querySelector_4dc619d02f6cb079:function(){return d(function(t,e,n){var _=w(e,n);let i=r(t).querySelector(_);return g(i)?0:c(i)},arguments)},__wbg_queueMicrotask_0aa0a927f78f5d98:function(t){let e=r(t).queueMicrotask;return c(e)},__wbg_queueMicrotask_5bb536982f78a56f:function(t){queueMicrotask(r(t))},__wbg_readText_b9ac81623f153a62:function(t){let e=r(t).readText();return c(e)},__wbg_read_68fd377df67e19b0:function(t){let e=r(t).read();return c(e)},__wbg_readyState_cf11f0728fc7b46c:function(t,e){let n=r(e).readyState,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_realCoordinates_95d090434c040179:function(t,e){let n=r(t).realCoordinates(r(e));return c(n)},__wbg_reject_a2176de7f1212be5:function(t){let e=Promise.reject(r(t));return c(e)},__wbg_relatedTarget_1557cded94b97af2:function(t){let e=r(t).relatedTarget;return g(e)?0:c(e)},__wbg_releasePointerCapture_420ef33c7c5fb6f4:function(){return d(function(t,e){r(t).releasePointerCapture(e)},arguments)},__wbg_removeAllRanges_39254b77dc6257ab:function(){return d(function(t){r(t).removeAllRanges()},arguments)},__wbg_removeAttribute_87259aab06d9f286:function(){return d(function(t,e,n){var _=w(e,n);r(t).removeAttribute(_)},arguments)},__wbg_removeChild_2f0b06213dbc49ca:function(){return d(function(t,e){let n=r(t).removeChild(r(e));return c(n)},arguments)},__wbg_removeEventListener_0c0902ed5009dd9f:function(){return d(function(t,e,n,_,i){var b=w(e,n);r(t).removeEventListener(b,r(_),i!==0)},arguments)},__wbg_removeEventListener_e63328781a5b9af9:function(){return d(function(t,e,n,_){var i=w(e,n);r(t).removeEventListener(i,r(_))},arguments)},__wbg_removePanel_89f2af880f0f91a2:function(t,e,n){var _=w(e,n);let i=r(t).removePanel(_);return c(i)},__wbg_removeProperty_a0d2ff8a76ffd2b1:function(){return d(function(t,e,n,_){var i=w(n,_);let b=r(e).removeProperty(i),f=v(b,o.__wbindgen_export,o.__wbindgen_export2),l=p;u().setInt32(t+4,l,!0),u().setInt32(t+0,f,!0)},arguments)},__wbg_remove_31c39325eee968fc:function(t){r(t).remove()},__wbg_remove_f9451697e0bc6ca0:function(){return d(function(t,e,n){var _=w(e,n);r(t).remove(_)},arguments)},__wbg_render_73a123e524099b60:function(){return d(function(t,e,n){let _=r(t).render(x.__wrap(e),a(n));return c(_)},arguments)},__wbg_replaceSync_54e9ce897fe6ab6a:function(){return d(function(t,e,n){var _=w(e,n);r(t).replaceSync(_)},arguments)},__wbg_requestAnimationFrame_43682f8e1c5e5348:function(){return d(function(t,e){return r(t).requestAnimationFrame(r(e))},arguments)},__wbg_resize_2dfb18995e43d301:function(){return d(function(t){let e=r(t).resize();return c(e)},arguments)},__wbg_resolve_002c4b7d9d8f6b64:function(t){let e=Promise.resolve(r(t));return c(e)},__wbg_resolvedOptions_4c36dbfa1c4ba2bf:function(t){let e=r(t).resolvedOptions();return c(e)},__wbg_restorePhysics_66df17074d08ef49:function(t,e){r(t).restorePhysics(r(e))},__wbg_restoreSync_6ea54baceed6f8ca:function(t,e){r(t).restoreSync(r(e))},__wbg_restore_43960e31bf4c37c7:function(){return d(function(t,e,n){r(t).restore(r(e),r(n))},arguments)},__wbg_restyle_949fb0d4d0c355a5:function(t){r(t).restyle()},__wbg_resumeResize_b4054c5d47d4f1b0:function(t){r(t).resumeResize()},__wbg_right_154af6c2b1bf0c89:function(t){return r(t).right},__wbg_run_556972011e45ec00:function(){return d(function(t,e){let n=r(t).run(r(e));return c(n)},arguments)},__wbg_save_363646e98431790c:function(t){let e=r(t).save();return c(e)},__wbg_scrollHeight_25e40881bfad55b6:function(t){return r(t).scrollHeight},__wbg_scrollLeft_2b817c7719d17438:function(t){return r(t).scrollLeft},__wbg_scrollTop_0a3a77f9fcbe038e:function(t){return r(t).scrollTop},__wbg_scrollTop_4161d2a08060cb06:function(t){return r(t).scrollTop},__wbg_select_312040969b7499fa:function(t,e,n){var _=w(e,n);let i=r(t).select(_);return c(i)},__wbg_select_f96715f412d93f23:function(t){r(t).select()},__wbg_selectedIndex_b1465d243fcb7142:function(t){return r(t).selectedIndex},__wbg_selectionEnd_f3cba543517b4aa8:function(){return d(function(t){let e=r(t).selectionEnd;return g(e)?4294967297:e>>>0},arguments)},__wbg_selectionStart_9cd0aeff14a21252:function(){return d(function(t){let e=r(t).selectionStart;return g(e)?4294967297:e>>>0},arguments)},__wbg_selectorText_4ebdf4f8074dafea:function(t,e){let n=r(e).selectorText,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_setAttribute_cc8e4c8a2a008508:function(){return d(function(t,e,n,_,i){var b=w(e,n),f=w(_,i);r(t).setAttribute(b,f)},arguments)},__wbg_setDragImage_76defbcc7ff30178:function(t,e,n,_){r(t).setDragImage(r(e),n,_)},__wbg_setPointerCapture_420db6f6826eb74b:function(){return d(function(t,e){r(t).setPointerCapture(e)},arguments)},__wbg_setProperty_cbb25c4e74285b39:function(){return d(function(t,e,n,_,i){var b=w(e,n),f=w(_,i);r(t).setProperty(b,f)},arguments)},__wbg_setSelectionRange_301eef1c51e01d2a:function(){return d(function(t,e,n){r(t).setSelectionRange(e>>>0,n>>>0)},arguments)},__wbg_setTimeout_21d8cc2869b34c58:function(t,e){return setTimeout(r(t),e)},__wbg_setTimeout_eff32631ea138533:function(){return d(function(t,e,n){return r(t).setTimeout(r(e),n)},arguments)},__wbg_set_1eb0999cf5d27fc8:function(t,e,n){let _=r(t).set(r(e),r(n));return c(_)},__wbg_set_3f1d0b984ed272ed:function(t,e,n){r(t)[a(e)]=a(n)},__wbg_set_6cb8631f80447a67:function(){return d(function(t,e,n){return Reflect.set(r(t),r(e),r(n))},arguments)},__wbg_set_body_9a7e00afe3cfe244:function(t,e){r(t).body=r(e)},__wbg_set_bubbles_739f291693b2bbec:function(t,e){r(t).bubbles=e!==0},__wbg_set_cache_key_ace1fa875f02b7cd:function(t,e){r(t).__yew_subtree_cache_key=e>>>0},__wbg_set_capture_d52e7a585f2933c8:function(t,e){r(t).capture=e!==0},__wbg_set_checked_4b2468680005fbf7:function(t,e){r(t).checked=e!==0},__wbg_set_className_c1d9e7362164af61:function(t,e,n){var _=w(e,n);r(t).className=_},__wbg_set_composed_e4a9826a628ca7f8:function(t,e){r(t).composed=e!==0},__wbg_set_cssText_18380c97092caefa:function(t,e,n){var _=w(e,n);r(t).cssText=_},__wbg_set_defaultValue_ad528b0a65ceef4a:function(){return d(function(t,e,n){var _=w(e,n);r(t).defaultValue=_},arguments)},__wbg_set_detail_fa3b358526be3a85:function(t,e){r(t).detail=r(e)},__wbg_set_dropEffect_042402609f0b7c6b:function(t,e,n){var _=w(e,n);r(t).dropEffect=_},__wbg_set_f43e577aea94465b:function(t,e,n){r(t)[e>>>0]=a(n)},__wbg_set_fb27b296001e2de9:function(){return d(function(t,e,n,_,i){var b=w(e,n),f=w(_,i);r(t)[b]=f},arguments)},__wbg_set_font_575685c8f7e56957:function(t,e,n){var _=w(e,n);r(t).font=_},__wbg_set_headers_cfc5f4b2c1f20549:function(t,e){r(t).headers=r(e)},__wbg_set_innerHTML_edd39677e3460291:function(t,e,n){var _=w(e,n);r(t).innerHTML=_},__wbg_set_innerText_2f1502f2d0780499:function(t,e,n){var _=w(e,n);r(t).innerText=_},__wbg_set_listener_id_8b77f7eb9adb712b:function(t,e){r(t).__yew_listener_id=e>>>0},__wbg_set_method_c3e20375f5ae7fac:function(t,e,n){var _=w(e,n);r(t).method=_},__wbg_set_mode_6a55f972d62a3c88:function(t,e){r(t).mode=Mt[e]},__wbg_set_nodeValue_d947eb0a476b80d7:function(t,e,n){var _=w(e,n);r(t).nodeValue=_},__wbg_set_passive_f411e67e6f28687b:function(t,e){r(t).passive=e!==0},__wbg_set_scrollLeft_8de8fc187e3a6808:function(t,e){r(t).scrollLeft=e},__wbg_set_scrollTop_bebe746cd217a3d1:function(t,e){r(t).scrollTop=e},__wbg_set_scrollTop_fb454582dda63417:function(t,e){r(t).scrollTop=e},__wbg_set_selectionEnd_01e3269db03d5d2e:function(){return d(function(t,e){r(t).selectionEnd=e===4294967297?void 0:e},arguments)},__wbg_set_selectionStart_d68d6955c07c2be1:function(){return d(function(t,e){r(t).selectionStart=e===4294967297?void 0:e},arguments)},__wbg_set_signal_f2d3f8599248896d:function(t,e){r(t).signal=r(e)},__wbg_set_stream_8a7c5f563fa185b4:function(t,e){r(t).stream=e!==0},__wbg_set_subtree_id_8be88ea477740786:function(t,e){r(t).__yew_subtree_id=e>>>0},__wbg_set_type_148de20768639245:function(t,e,n){var _=w(e,n);r(t).type=_},__wbg_set_value_62a965e38b22b38c:function(t,e,n){var _=w(e,n);r(t).value=_},__wbg_set_value_c3556fce049236f0:function(t,e,n){var _=w(e,n);r(t).value=_},__wbg_set_value_ddc3bd01a8467bf1:function(t,e,n){var _=w(e,n);r(t).value=_},__wbg_shadowRoot_14828067c5922da7:function(t){let e=r(t).shadowRoot;return g(e)?0:c(e)},__wbg_shiftKey_5558a3288542c985:function(t){return r(t).shiftKey},__wbg_shiftKey_564be91ec842bcc4:function(t){return r(t).shiftKey},__wbg_showPicker_ba1d36381dae3011:function(){return d(function(t){r(t).showPicker()},arguments)},__wbg_showPopover_7166cd0808998024:function(){return d(function(t){r(t).showPopover()},arguments)},__wbg_signal_d1285ecab4ebc5ad:function(t){let e=r(t).signal;return c(e)},__wbg_stack_0ed75d68575b0f3c:function(t,e){let n=r(e).stack,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_startTime_248495bfbcb427d3:function(t){return r(t).startTime},__wbg_static_accessor_GLOBAL_12837167ad935116:function(){let t=typeof self>"u"?null:self;return g(t)?0:c(t)},__wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f:function(){let t=typeof globalThis>"u"?null:globalThis;return g(t)?0:c(t)},__wbg_static_accessor_PSP_d1c7a0dfe6e2f550:function(){return c(G)},__wbg_static_accessor_SELF_a621d3dfbb60d0ce:function(){let t=typeof self>"u"?null:self;return g(t)?0:c(t)},__wbg_static_accessor_WINDOW_f8727f0cf888e0bd:function(){let t=typeof window>"u"?null:window;return g(t)?0:c(t)},__wbg_statusText_556131a02d60f5cd:function(t,e){let n=r(e).statusText,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_status_89d7e803db911ee7:function(t){return r(t).status},__wbg_stopPropagation_6e5e2a085214ac63:function(t){r(t).stopPropagation()},__wbg_stringify_2fdc12d5545a89d9:function(){return d(function(t,e,n){let _=JSON.stringify(r(t),r(e),r(n));return c(_)},arguments)},__wbg_stringify_8d1cc6ff383e8bae:function(){return d(function(t){let e=JSON.stringify(r(t));return c(e)},arguments)},__wbg_styleSheets_54de627270238f6f:function(t){let e=r(t).styleSheets;return c(e)},__wbg_style_0b7c9bd318f8b807:function(t){let e=r(t).style;return c(e)},__wbg_style_fa56cf251a93275a:function(t){let e=r(t).style;return c(e)},__wbg_subtree_id_1739fcadc43deeca:function(t){let e=r(t).__yew_subtree_id;return g(e)?4294967297:e>>>0},__wbg_supportedValuesOf_070cb26b0fcb2822:function(t){let e=Intl.supportedValuesOf(r(t));return c(e)},__wbg_table_new:function(t){let e=j.__wrap(t);return c(e)},__wbg_tagName_0cf6d7b647352f04:function(t,e){let n=r(e).tagName,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_target_521be630ab05b11e:function(t){let e=r(t).target;return g(e)?0:c(e)},__wbg_text_083b8727c990c8c0:function(){return d(function(t){let e=r(t).text();return c(e)},arguments)},__wbg_then_0d9fe2c7b1857d32:function(t,e,n){let _=r(t).then(r(e),r(n));return c(_)},__wbg_then_b9e7b3b5f1a9e1b5:function(t,e){let n=r(t).then(r(e));return c(n)},__wbg_timeStamp_ddfe1bf5c2346d68:function(t){return r(t).timeStamp},__wbg_toString_964ff7fe6eca8362:function(t){let e=r(t).toString();return c(e)},__wbg_toggleAttribute_d89e5c9e9053c9c4:function(){return d(function(t,e,n,_){var i=w(e,n);return r(t).toggleAttribute(i,_!==0)},arguments)},__wbg_toggle_52417ca95b874e83:function(){return d(function(t,e,n){var _=w(e,n);return r(t).toggle(_)},arguments)},__wbg_toggle_b8e3ebf1a7aaeb11:function(){return d(function(t,e,n,_){var i=w(e,n);return r(t).toggle(i,_!==0)},arguments)},__wbg_top_3d27ff6f468cf3fc:function(t){return r(t).top},__wbg_trace_9007714a6fbee374:function(t){console.trace(r(t))},__wbg_trace_bd16b570941b54fb:function(t,e,n,_){console.trace(r(t),r(e),r(n),r(_))},__wbg_type_4edffca24c42b74d:function(t,e){let n=r(e).type,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_unobserve_78e51c229e9cb74c:function(t,e){r(t).unobserve(r(e))},__wbg_unobserve_84dd6ded6f59337d:function(t,e){r(t).unobserve(r(e))},__wbg_update_3f59793335531aa0:function(){return d(function(t,e,n,_,i){let b=r(t).update(x.__wrap(e),n===4294967297?void 0:n,_===4294967297?void 0:_,i!==0);return c(b)},arguments)},__wbg_valueAsNumber_5292e7ed56db5658:function(t){return r(t).valueAsNumber},__wbg_value_0546255b415e96c1:function(t){let e=r(t).value;return c(e)},__wbg_value_15684899da869c95:function(t,e){let n=r(e).value,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_value_d402dce7dcb16251:function(t,e){let n=r(e).value,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_value_e506a07878790ca0:function(t,e){let n=r(e).value,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_values_5da93bc719d272cf:function(t){let e=Object.values(r(t));return c(e)},__wbg_values_725507e0ae05aa44:function(t){let e=r(t).values();return c(e)},__wbg_view_new:function(t){let e=x.__wrap(t);return c(e)},__wbg_view_unwrap:function(t){return x.__unwrap(r(t))},__wbg_virtualdataslice_new:function(t){let e=z.__wrap(t);return c(e)},__wbg_warn_a40b971467b219c7:function(t,e,n,_){console.warn(r(t),r(e),r(n),r(_))},__wbg_warn_f7ae1b2e66ccb930:function(t){console.warn(r(t))},__wbg_weight_984b87b81f2dde65:function(t,e){let n=r(e).weight,_=v(n,o.__wbindgen_export,o.__wbindgen_export2),i=p;u().setInt32(t+4,i,!0),u().setInt32(t+0,_,!0)},__wbg_which_78ecd90ab7c6bdd6:function(t){return r(t).which},__wbg_width_7444cca5dfea0645:function(t){return r(t).width},__wbg_width_9bbf873307a2ac4e:function(t){return r(t).width},__wbg_width_ae46cb8e98ee102f:function(t){return r(t).width},__wbg_write_d429ce72e918e180:function(t,e){let n=r(t).write(r(e));return c(n)},__wbindgen_cast_0000000000000001:function(t,e){let n=T(t,e,o.__wasm_bindgen_func_elem_4516,at);return c(n)},__wbindgen_cast_0000000000000002:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_4516,F);return c(n)},__wbindgen_cast_0000000000000003:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_4516,F);return c(n)},__wbindgen_cast_0000000000000004:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_4516,F);return c(n)},__wbindgen_cast_0000000000000005:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_4516,F);return c(n)},__wbindgen_cast_0000000000000006:function(t,e){let n=T(t,e,o.__wasm_bindgen_func_elem_4516,at);return c(n)},__wbindgen_cast_0000000000000007:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_4516,F);return c(n)},__wbindgen_cast_0000000000000008:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_4516,F);return c(n)},__wbindgen_cast_0000000000000009:function(t,e){let n=T(t,e,o.__wasm_bindgen_func_elem_4516,Tt);return c(n)},__wbindgen_cast_000000000000000a:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_4516,Et);return c(n)},__wbindgen_cast_000000000000000b:function(t,e){let n=T(t,e,o.__wasm_bindgen_func_elem_19315,Pt);return c(n)},__wbindgen_cast_000000000000000c:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_20026,Ot);return c(n)},__wbindgen_cast_000000000000000d:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_20026,Ct);return c(n)},__wbindgen_cast_000000000000000e:function(t,e){let n=T(t,e,o.__wasm_bindgen_func_elem_20947,Rt);return c(n)},__wbindgen_cast_000000000000000f:function(t,e){let n=T(t,e,o.__wasm_bindgen_func_elem_20947,Ft);return c(n)},__wbindgen_cast_0000000000000010:function(t,e){let n=S(t,e,o.__wasm_bindgen_func_elem_25912,jt);return c(n)},__wbindgen_cast_0000000000000011:function(t){return c(t)},__wbindgen_cast_0000000000000012:function(t){return c(t)},__wbindgen_cast_0000000000000013:function(t,e){var n=w(t,e);return c(n)},__wbindgen_cast_0000000000000014:function(t,e){let n=Lt(t,e);return c(n)},__wbindgen_cast_0000000000000015:function(t,e){let n=qt(t,e);return c(n)},__wbindgen_cast_0000000000000016:function(t,e){let n=Dt(t,e);return c(n)},__wbindgen_cast_0000000000000017:function(t,e){let n=Wt(t,e);return c(n)},__wbindgen_cast_0000000000000018:function(t,e){let n=R(t,e);return c(n)},__wbindgen_cast_0000000000000019:function(t){let e=BigInt.asUintN(64,t);return c(e)},__wbindgen_cast_000000000000001a:function(t,e){var n=lt(t,e).slice();return o.__wbindgen_export4(t,e*4,4),c(n)},__wbindgen_cast_000000000000001b:function(t,e){var n=R(t,e).slice();return o.__wbindgen_export4(t,e*1,1),c(n)},__wbindgen_object_clone_ref:function(t){let e=r(t);return c(e)},__wbindgen_object_drop_ref:function(t){a(t)},__wbindgen_object_is_undefined:function(t){return r(t)===void 0}}}}function Ct(s,t){o.__wasm_bindgen_func_elem_20030(s,t)}function Ft(s,t){o.__wasm_bindgen_func_elem_22021(s,t)}function Rt(s,t){let e=o.__wasm_bindgen_func_elem_22020(s,t);return a(e)}function at(s,t,e){o.__wasm_bindgen_func_elem_8099(s,t,c(e))}function F(s,t,e){o.__wasm_bindgen_func_elem_8100(s,t,c(e))}function Tt(s,t){try{let i=o.__wbindgen_add_to_stack_pointer(-16);o.__wasm_bindgen_func_elem_8101(i,s,t);var e=u().getInt32(i+0,!0),n=u().getInt32(i+4,!0),_=u().getInt32(i+8,!0);if(_)throw a(n);return a(e)}finally{o.__wbindgen_add_to_stack_pointer(16)}}function Et(s,t){try{let _=o.__wbindgen_add_to_stack_pointer(-16);o.__wasm_bindgen_func_elem_8097(_,s,t);var e=u().getInt32(_+0,!0),n=u().getInt32(_+4,!0);if(n)throw a(e)}finally{o.__wbindgen_add_to_stack_pointer(16)}}function Pt(s,t,e){try{o.__wasm_bindgen_func_elem_19434(s,t,_t(e))}finally{I[P++]=void 0}}function Ot(s,t,e){o.__wasm_bindgen_func_elem_20031(s,t,c(e))}function jt(s,t,e){o.__wasm_bindgen_func_elem_25930(s,t,c(e))}function zt(s,t,e,n){o.__wasm_bindgen_func_elem_34111(s,t,c(e),c(n))}var Mt=["open","closed"],K=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>o.__wbg_client_free(s>>>0,1)),bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>o.__wbg_genericsqlvirtualservermodel_free(s>>>0,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>o.__wbg_perspectivedebugpluginelement_free(s>>>0,1)),Q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>o.__wbg_perspectiveviewerelement_free(s>>>0,1)),Z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>o.__wbg_proxysession_free(s>>>0,1)),gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>o.__wbg_table_free(s>>>0,1)),dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>o.__wbg_view_free(s>>>0,1)),tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>o.__wbg_virtualdataslice_free(s>>>0,1)),wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>o.__wbg_virtualserver_free(s>>>0,1));function c(s){B===I.length&&I.push(I.length+1);let t=B;return B=I[t],I[t]=s,t}function nt(s,t){if(!(s instanceof t))throw new Error(`expected instance of ${t.name}`)}function _t(s){if(P==1)throw new Error("out of js stack");return I[--P]=s,P}var X=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>s.dtor(s.a,s.b));function rt(s){let t=typeof s;if(t=="number"||t=="boolean"||s==null)return`${s}`;if(t=="string")return`"${s}"`;if(t=="symbol"){let _=s.description;return _==null?"Symbol":`Symbol(${_})`}if(t=="function"){let _=s.name;return typeof _=="string"&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(s)){let _=s.length,i="[";_>0&&(i+=rt(s[0]));for(let b=1;b<_;b++)i+=", "+rt(s[b]);return i+="]",i}let e=/\\[object ([^\\]]+)\\]/.exec(toString.call(s)),n;if(e&&e.length>1)n=e[1];else return toString.call(s);if(n=="Object")try{return"Object("+JSON.stringify(s)+")"}catch{return"Object"}return s instanceof Error?`${s.name}: ${s.message}\n${s.stack}`:n}function Nt(s){s<132||(I[s]=B,B=s)}function Lt(s,t){return s=s>>>0,Bt().subarray(s/4,s/4+t)}function qt(s,t){return s=s>>>0,Ht().subarray(s/8,s/8+t)}function Dt(s,t){return s=s>>>0,Ut().subarray(s/4,s/4+t)}function lt(s,t){s=s>>>0;let e=u(),n=[];for(let _=s;_<s+4*t;_+=4)n.push(a(e.getUint32(_,!0)));return n}function Wt(s,t){return s=s>>>0,$t().subarray(s/4,s/4+t)}function R(s,t){return s=s>>>0,E().subarray(s/1,s/1+t)}function w(s,t){return s===0?r(t):Vt(s,t)}var A=null;function u(){return(A===null||A.buffer.detached===!0||A.buffer.detached===void 0&&A.buffer!==o.memory.buffer)&&(A=new DataView(o.memory.buffer)),A}var N=null;function Bt(){return(N===null||N.byteLength===0)&&(N=new Float32Array(o.memory.buffer)),N}var L=null;function Ht(){return(L===null||L.byteLength===0)&&(L=new Float64Array(o.memory.buffer)),L}var q=null;function Ut(){return(q===null||q.byteLength===0)&&(q=new Int32Array(o.memory.buffer)),q}function Vt(s,t){return s=s>>>0,Yt(s,t)}var D=null;function $t(){return(D===null||D.byteLength===0)&&(D=new Uint32Array(o.memory.buffer)),D}var W=null;function E(){return(W===null||W.byteLength===0)&&(W=new Uint8Array(o.memory.buffer)),W}function r(s){return I[s]}function d(s,t){try{return s.apply(this,t)}catch(e){o.__wbindgen_export3(c(e))}}var I=new Array(128).fill(void 0);I.push(void 0,null,!0,!1);var B=I.length;function g(s){return s==null}function T(s,t,e,n){let _={a:s,b:t,cnt:1,dtor:e},i=(...b)=>{_.cnt++;try{return n(_.a,_.b,...b)}finally{i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--_.cnt===0&&(_.dtor(_.a,_.b),_.a=0,X.unregister(_))},X.register(i,_,_),i}function S(s,t,e,n){let _={a:s,b:t,cnt:1,dtor:e},i=(...b)=>{_.cnt++;let f=_.a;_.a=0;try{return n(f,_.b,...b)}finally{_.a=f,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--_.cnt===0&&(_.dtor(_.a,_.b),_.a=0,X.unregister(_))},X.register(i,_,_),i}function Gt(s,t){let e=t(s.length*1,1)>>>0;return E().set(s,e/1),p=s.length,e}function Jt(s,t){let e=t(s.length*4,4)>>>0,n=u();for(let _=0;_<s.length;_++)n.setUint32(e+4*_,c(s[_]),!0);return p=s.length,e}function v(s,t,e){if(e===void 0){let f=pt.encode(s),l=t(f.length,1)>>>0;return E().subarray(l,l+f.length).set(f),p=f.length,l}let n=s.length,_=t(n,1)>>>0,i=E(),b=0;for(;b<n;b++){let f=s.charCodeAt(b);if(f>127)break;i[_+b]=f}if(b!==n){b!==0&&(s=s.slice(b)),_=e(_,n,n=b+s.length*3,1)>>>0;let f=E().subarray(_+b,_+n),l=pt.encodeInto(s,f);b+=l.written,_=e(_,n,b,1)>>>0}return p=b,_}var P=128;function a(s){let t=r(s);return Nt(s),t}var J=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});J.decode();var Xt=2146435072,et=0;function Yt(s,t){return et+=t,et>=Xt&&(J=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),J.decode(),et=t),J.decode(E().subarray(s,s+t))}var pt=new TextEncoder,p=0,Kt,o;function mt(s,t){return o=s.exports,Kt=t,A=null,N=null,L=null,q=null,D=null,W=null,o}async function Qt(s,t){if(typeof Response=="function"&&s instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(s,t)}catch(_){if(s.ok&&e(s.type)&&s.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",_);else throw _}let n=await s.arrayBuffer();return await WebAssembly.instantiate(n,t)}else{let n=await WebAssembly.instantiate(s,t);return n instanceof WebAssembly.Instance?{instance:n,module:s}:n}function e(n){switch(n){case"basic":case"cors":case"default":return!0}return!1}}function Zt(s){if(o!==void 0)return o;s!==void 0&&(Object.getPrototypeOf(s)===Object.prototype?{module:s}=s:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let t=vt();s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));let e=new WebAssembly.Instance(s,t);return mt(e,s)}async function ht(s){if(o!==void 0)return o;s!==void 0&&(Object.getPrototypeOf(s)===Object.prototype?{module_or_path:s}=s:console.warn("using deprecated parameters for the initialization function; pass a single object instead"));let t=vt();(typeof s=="string"||typeof Request=="function"&&s instanceof Request||typeof URL=="function"&&s instanceof URL)&&(s=fetch(s));let{instance:e,module:n}=await Qt(await s,t);return mt(e,n)}export{C as Client,H as GenericSQLVirtualServerModel,U as PerspectiveDebugPluginElement,V as PerspectiveViewerElement,O as ProxySession,j as Table,x as View,z as VirtualDataSlice,$ as VirtualServer,ht as default,It as get_wasm_module,kt as get_worker_url,St as init,Zt as initSync,At as registerPlugin};\n',S=null;async function pt(){if(S)return S;let t=new Blob([wt],{type:"application/javascript"});return S=URL.createObjectURL(t),S}async function ht(t,n){let e=await pt(),[_,r]=await Promise.all([n===void 0?import(e):n,ft(t).then(i=>WebAssembly.compile(i))]);await _.default({module_or_path:r}),await _.init(r,e)}var Tt={init_client:ht};export{mt as a,vt as b,yt as c,It as d,Et as e,xt as f,St as g,ht as h,Tt as i};
//# sourceMappingURL=/chunk-5JUVOAGH.js.map