-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-JXGETEPW.js
More file actions
21 lines (21 loc) · 98.4 KB
/
Copy pathchunk-JXGETEPW.js
File metadata and controls
21 lines (21 loc) · 98.4 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,e,n){return(e.length===0||Math.abs(n-e[e.length-1])>t.GRID_TRACK_COLLAPSE_TOLERANCE)&&e.push(n),e}function W(t,e){return e.sort((n,_)=>n-_).reduce(G.bind(void 0,t),[])}function k(t,e,n,_,r){if(t.type==="tab-layout")return[n,_];let i=[n,_];if(t.orientation===e){let o=n,a=_-n;for(let l=0;l<t.children.length;l++){let d=t.sizes[l],u=o+d*a;i.push(...k(t.children[l],e,o,u,r)),o=u}}else for(let o of t.children)i.push(...k(o,e,n,_,r));return W(r,i)}function I(t,e,n){let _=e.findIndex(r=>Math.abs(r-n)<t.GRID_TRACK_COLLAPSE_TOLERANCE);return _===-1?0:_}function z(t,e,n,_,r,i,o,a){if(t.type==="tab-layout"){let f=t.selected??0,w=I(a,e,_),v=I(a,e,r),A=I(a,n,i),V=I(a,n,o);return t.tabs.map((q,B)=>({child:q,colStart:w,colEnd:v,rowStart:A,rowEnd:V,zIndex:t.tabs.length>1&&B===f?1:void 0}))}let{children:l,sizes:d,orientation:u}=t,s=u==="horizontal",c=s?_:i,b=s?r-_:o-i,g=[];for(let f=0;f<l.length;f++){let w=c+d[f]*b;s?g.push(...z(l[f],e,n,c,w,i,o,a)):g.push(...z(l[f],e,n,_,r,c,w,a)),c=w}return g}var D=(t,e)=>`:host ::slotted(*){display:none}:host{display:grid;grid-template-rows:${t};grid-template-columns:${e}}`,T=(t,e,n,_,r)=>`:host ::slotted([${t.CHILD_ATTRIBUTE_NAME}="${e}"]){display:flex;grid-column:${_};grid-row:${n}${r===void 0?"":`;z-index:${r}`}}`;function p(t,e,n=m){if(t.type==="tab-layout"){let s=t.selected??0,c=t.tabs.length>1;return[D("100%","100%"),...t.tabs.map((b,g)=>T(n,b,"1","1",c&&g===s?1:void 0))].join(`
`)}let _=s=>s.slice(0,-1).map((c,b)=>s[b+1]-c).map(c=>`${n.SHOULD_ROUND?Math.round(c*100):c*100}fr`).join(" "),r=k(t,"horizontal",0,1,n),i=_(r),o=k(t,"vertical",0,1,n),a=_(o),l=(s,c)=>c-s===1?`${s+1}`:`${s+1} / ${c+1}`,d=z(t,r,o,0,1,0,1,n),u=[D(a,i)];for(let s of d){let c=l(s.colStart,s.colEnd),b=l(s.rowStart,s.rowEnd);u.push(T(n,s.child,b,c,s.zIndex)),s.child===e?.[1]&&(u.push(T(n,e[0],b,c)),u.push(`:host ::slotted([${n.CHILD_ATTRIBUTE_NAME}=${e[0]}]){z-index:2}`))}return u.join(`
`)}function X(t,e=m){return[D("100%","100%"),T(e,t,"1","1")].join(`
`)}var K={row_start:0,row_end:1,col_start:0,col_end:1};function h(t,e,n,_=null){return F(t,e,n,_)}function F(t,e,n,_,r=null,i=structuredClone(K),o=[]){if(t<0||e<0||t>1||e>1)return null;if(n.type==="tab-layout"){let g=n.selected??0,f=i.col_end-i.col_start,w=i.row_end-i.row_start;return{type:"layout-path",layout:n,slot:n.tabs[g],path:o,view_window:i,is_edge:!1,column:t,row:e,column_offset:(t-i.col_start)/f,row_offset:(e-i.row_start)/w,orientation:r||"horizontal"}}let a=n.orientation==="vertical",l=a?e:t,d=a?"row_start":"col_start",u=a?"row_end":"col_end",s=a?_?.rect?.height:_?.rect?.width,c=i[d],b=i[u]-i[d];for(let g=0;g<n.children.length;g++){let f=c+b*n.sizes[g];if(_&&s){let w=_.size/s;if(Math.abs(l-f)<w)return{path:[...o,g],type:n.orientation,view_window:{...i,[d]:c,[u]:f}}}if(l>=c&&(l<f||g===n.children.length-1))return F(t,e,n.children[g],_,n.orientation,{...i,[d]:c,[u]:f},[...o,g]);c=f}return null}function R(t,e){if(t.type==="tab-layout"){if(t.tabs.includes(e)){let o=t.tabs.filter(a=>a!==e);return o.length===0?structuredClone(L):{type:"tab-layout",tabs:o}}return structuredClone(t)}let n=structuredClone(t),_=n.children.findIndex(o=>o.type==="tab-layout"?o.tabs.includes(e):!1);if(_!==-1){let o=n.children[_];if(o.tabs.length===1){let a=n.children.filter((d,u)=>u!==_),l=Z(n.sizes,_);if(a.length===1)return a[0];n.children=a,n.sizes=l}else o.tabs.splice(o.tabs.indexOf(e),1),o.selected&&o.selected>=o.tabs.length&&o.selected--;return n}let r=!1,i=n.children.map(o=>{if(o.type==="split-layout"){let a=R(o,e);return a!==o&&(r=!0),a}return o});return r&&(n.children=i),n}function Z(t,e){let n=[],_=t[e],r=0;for(let i=0;i<t.length;i++)i!==e&&(r+=t[i]);for(let i=0;i<t.length;i++)if(i!==e){let o=t[i]/r;n.push(t[i]+_*o)}return n}function y(t,e,n,_){let r=s=>({type:"tab-layout",tabs:[s]});if(n.length===0){if(t.type==="tab-layout")return{type:"tab-layout",tabs:[e,...t.tabs]};if(_)return{type:"split-layout",orientation:_,children:[r(e),t],sizes:[.5,.5]};{let s=[...t.children,r(e)],c=[...t.sizes,1/(s.length-1)];return{...t,children:s,sizes:E(c)}}}let[i,...o]=n;if(_&&o.length===0){if(t.type==="split-layout"&&t.orientation===_){let c=[...t.children];c.splice(i,0,r(e));let b=[...t.sizes];return b.splice(i,0,1/(c.length-1)),{...t,children:c,sizes:E(b)}}let s=i===0?[r(e),t]:[t,r(e)];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,e),{...t,tabs:s}}return y({type:"split-layout",orientation:_||"horizontal",children:[t],sizes:[1]},e,n,_)}if(o.length===0||i===t.children.length){if(_&&t.children[i]){let b={type:"split-layout",orientation:_,children:[r(e),t.children[i]],sizes:[.5,.5]},g=[...t.children];return g[i]=b,{...t,children:g,sizes:E(t.sizes)}}let s=[...t.children];s.splice(i,0,r(e));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":_,d=y(a,e,o,l),u=[...t.children];return u[i]=d,{...t,children:u}}function E(t){let e=t.reduce((n,_)=>n+_,0);return t.map(n=>n/e)}function P(t,e,n,_=m){let r=structuredClone(t),i=r,o={horizontal:n||0,vertical:n||0};for(let a=0;a<e.length-1;a++)i.type==="split-layout"&&(o[i.orientation]/=i.sizes[e[a]],i=i.children[e[a]]);if(i.type==="split-layout")if(n===void 0)i.sizes=i.sizes.map(a=>1/i.sizes.length);else{let a=o[i.orientation],l=e[e.length-1];l<i.sizes.length-1&&(i.sizes=Y(_,i.sizes,l,a))}return r}function Y(t,e,n,_){let r=[...e],i=0;for(let a=0;a<=n;a++)i+=e[a];let o=0;for(let a=n+1;a<e.length;a++)o+=e[a];_=Math.sign(_)*Math.min(Math.abs(_),(1-t.MINIMUM_REDISTRIBUTION_SIZE_THRESHOLD)*(_>0?i:o));for(let a=0;a<=n;a++){let l=e[a]/i;r[a]=e[a]-_*l}for(let a=n+1;a<e.length;a++){let l=e[a]/o;r[a]=e[a]+_*l}return r}function j(t,e,n,_){let r=parseFloat(n.paddingLeft),i=parseFloat(n.paddingTop),o=e.width-r-parseFloat(n.paddingRight),a=e.height-i-parseFloat(n.paddingBottom),l=r+t.col_start*o,d=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),b=parseFloat(_.marginRight),g=parseFloat(_.marginBottom),f=parseFloat(_.marginLeft);u-=f+b,s-=c+g}return{x:l,y:d,width:u,height:s}}function J(t,e,n,_,r=m,i){if(!_)return`:host ::slotted([${r.CHILD_ATTRIBUTE_NAME}="${t}"]){display:none;}`;let o=j(_.view_window,e,n,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 e=[],n=[];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++)e.push(o.children[a]),n.push(o.sizes[a]*i);else e.push(o),n.push(i)}return e.length===1?e[0]:{type:"split-layout",orientation:t.orientation,children:e,sizes:n}}function Q(t,e){return U(t,e,[])}function U(t,e,n){if(e.type==="tab-layout")return e.tabs.includes(t)?n:null;for(let _=0;_<e.children.length;_++){let r=U(t,e.children[_],[...n,_]);if(r)return r}return null}function tt(t){let e={};return H(t,e,[],null,{row_start:0,row_end:1,col_start:0,col_end:1}),e}function H(t,e,n,_,r){if(t.type==="tab-layout"){let u=t.selected??0,s=t.tabs[u],c=(r.col_start+r.col_end)/2,b=(r.row_start+r.row_end)/2;e[s]={type:"layout-path",layout:t,slot:s,path:n,view_window:r,is_edge:!1,column:c,row:b,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],d=r[a]-r[o];for(let u=0;u<t.children.length;u++){let s=l+d*t.sizes[u],c={...r,[o]:l,[a]:s};H(t.children[u],e,[...n,u],t.orientation,c),l=s}}var et=class{constructor(t,e,n){this.S=t,this.T=e,this.g=n}#n=!1;#t=null;#e=null;async run(t,e,n){if(this.#n){this.#t={layout:t,fn:e,overlay:n};return}this.#n=!0;try{for(await this.#_(t,e,n);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,e,n){this.g?.();let _={calculatePresizePaths:()=>tt(t),overlay:n},r=new CustomEvent(this.T,{cancelable:!0,detail:_});this.S.dispatchEvent(r)||await new Promise(i=>{this.#e=i}),e()}};function M(t,e,n,_,r,i,o=m){if(t<o.SPLIT_ROOT_EDGE_TOLERANCE)return x(n,_,r,[0],!0,"horizontal");if(t>1-o.SPLIT_ROOT_EDGE_TOLERANCE)return x(n,_,r,r.path.length>0?r.path:[1],!1,"horizontal");if(e<o.SPLIT_ROOT_EDGE_TOLERANCE)return x(n,_,r,[0],!0,"vertical");if(e>1-o.SPLIT_ROOT_EDGE_TOLERANCE)return x(n,_,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 d=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),b=s/2-d*s<c/2-u*c;return C(n,_,r,b?r.column_offset<o.SPLIT_EDGE_TOLERANCE:r.row_offset<o.SPLIT_EDGE_TOLERANCE,b?"horizontal":"vertical")}return a?C(n,_,r,r.column_offset<o.SPLIT_EDGE_TOLERANCE,"horizontal"):l?C(n,_,r,r.row_offset<o.SPLIT_EDGE_TOLERANCE,"vertical"):{...r,path:[...r.path,0]}}function x(t,e,n,_,r,i){return C(t,e,{...n,path:_,orientation:i},r,i)}function C(t,e,n,_,r){let i;if(n.orientation===r)if(n.path.length===0)i=[_?0:1];else{let l=n.path[n.path.length-1];i=[...n.path.slice(0,-1),_?l:l+1]}else i=[...n.path,_?0:1];let o=y(t,e,i,r),a=nt(o,i);return{...n,path:i,slot:n.slot,is_edge:!0,orientation:r,view_window:a}}function nt(t,e){let n={row_start:0,row_end:1,col_start:0,col_end:1},_=t;for(let r of e){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",d=n[l]-n[a],u=_.sizes.slice(0,i).reduce((s,c)=>s+c*d,n[a]);n={...n,[a]:u,[l]:u+d*_.sizes[i]},_=_.children[i]}return n}var _t=class{constructor(t){this.d=t}async set(t,{slot:e},n=this.d.physics.OVERLAY_CLASSNAME,_=this.d.physics.OVERLAY_DEFAULT){let r=this.d,i=R(r.panel,e),o=`:scope > [${r.physics.CHILD_ATTRIBUTE_NAME}="${e}"]`,a=r.querySelector(o);a&&a.classList.add(n);let[l,d,u,s]=r.relativeCoordinates(t,!0),c=h(l,d,i);c&&(c=M(l,d,i,e,c,u,r.physics));let b=c?{slot:e,path:c}:null;await r.presizeQueue.run(i,()=>{if(_==="grid"&&c){let w=[e,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,A=J(e,u,s,c,r.physics,v);r.stylesheet.replaceSync([w,A].join(`
`))}},b);let g=`${r.physics.CUSTOM_EVENT_NAME_PREFIX}-before-update`,f=new CustomEvent(g,{detail:i});r.dispatchEvent(f)}async clear(t,{slot:e,layout:n},_=this.d.physics.OVERLAY_CLASSNAME){let r=this.d,i=R(r.panel,e),o=`:scope > [${r.physics.CHILD_ATTRIBUTE_NAME}="${e}"]`,a=r.querySelector(o);if(t===null){await r.restore(n);return}let[l,d,u]=r.relativeCoordinates(t,!1),s=h(l,d,i);if(s&&(s=M(l,d,i,e,s,u,r.physics)),s){let c=s?.is_edge?s.orientation:void 0,b=y(i,e,s.path,c);await r.restore(b)}else await r.restore(n);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[e,n,_]=this.relativeCoordinates(t,!1);return h(e,n,this.t)};calculatePath=t=>Q(t,this.t);setOverlayState=async(t,e,n,_)=>{await this._.set(t,e,n,_)};clearOverlayState=async(t,e,n)=>{await this._.clear(t,e,n)};insertPanel=async(t,e=[],n)=>{let _;typeof n=="boolean"&&n?_="horizontal":typeof n=="string"&&(_=n),await this.restore(y(this.t,t,e,_))};removePanel=async t=>{await this.restore(R(this.t,t))};select=async t=>{let e=this.save(),n=this.getPanel(t,e);if(!n)return;let _=n.tabs.indexOf(t);_!==-1&&n.selected!==_&&(n.selected=_,await this.restore(e));let r=`${this.e.CUSTOM_EVENT_NAME_PREFIX}-select`;this.dispatchEvent(new CustomEvent(r,{detail:{name:t}}))};getPanel=(t,e=this.t)=>{if(e.type==="tab-layout")return e.tabs.includes(t)?e:null;for(let n of e.children){let _=this.getPanel(t,n);if(_)return _}return null};clear=async()=>{await this.restore(L)};maximize=async t=>{if(!this.getPanel(t))return;let e={type:"tab-layout",tabs:[t],selected:0};await this.c.run(e,()=>{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,e=!1)=>{this.r=void 0,this.p=void 0,this.t=e?t:O(t);let n=p(this.t,void 0,this.e);this.s.replaceSync(n);let _=`${this.e.CUSTOM_EVENT_NAME_PREFIX}-update`,r=new CustomEvent(_,{detail:this.t});this.dispatchEvent(r)};restore=async(t,e=!1)=>{let n=e?t:O(t);await this.c.run(n,()=>{this.p=void 0,this.t=n;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,e=!0)=>{(e||!this.r)&&(this.r={box:this.getBoundingClientRect(),style:getComputedStyle(this)});let n=this.r.box,_=this.r.style,r=parseFloat(_.paddingLeft),i=parseFloat(_.paddingTop),o=n.width-r-parseFloat(_.paddingRight),a=n.height-i-parseFloat(_.paddingBottom),l=t.clientX-n.left-r,d=t.clientY-n.top-i,u=Math.max(0,Math.min(1,l/o)),s=Math.max(0,Math.min(1,d/a));return[u,s,n,_]};realCoordinates=(t,e)=>{this.r||(this.r={box:this.getBoundingClientRect(),style:getComputedStyle(this)});let n=this.r.box,_=this.r.style,r;e&&(r=getComputedStyle(e));let i=j(t,n,_,r);return new DOMRect(n.left+i.x,n.top+i.y,i.width,i.height)};diffCoordinates=(t,e)=>{let[n,_,r]=this.relativeCoordinates(t,!1),i=(n-e.column)*r.width,o=(_-e.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:(e,n)=>t.relativeCoordinates(e,n),restore:(e,n)=>t.restore(e,n),querySelector:e=>t.querySelector(e),dispatchEvent:e=>t.dispatchEvent(e)}}onDblClick=async t=>{let[e,n,_]=this.relativeCoordinates(t,!1),r=h(e,n,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[e,n,_]=this.relativeCoordinates(t),r=this.e.GRID_DIVIDER_SIZE,i=h(e,n,this.t,{rect:_,size:r});i&&i.type!=="layout-path"&&(this.h=[i,e,n],this.setPointerCapture(t.pointerId),t.preventDefault())}};onPointerMove=async t=>{if(this.h){let[i,o]=this.relativeCoordinates(t,!1),[{path:a,type:l},d,u]=this.h,s=l==="horizontal"?d-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[e,n,_]=this.relativeCoordinates(t,!1),r=h(e,n,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[e,n]=this.relativeCoordinates(t,!1),[{path:_,type:r},i,o]=this.h,a=r==="horizontal"?i-e:o-n,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,e=>e===`
`?"\\A ":`\\${e}`)}"`,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 e=this.getAttribute(this.n.savePhysics().CHILD_ATTRIBUTE_NAME),n=this.n.calculateIntersect(t);n&&e?(this.o={path:{...n,slot:e}},this.setPointerCapture(t.pointerId),t.preventDefault()):this.o=null}};onPointerMove=t=>{if(this.o){let e=this.n.savePhysics();if(!this.o.moved&&this.n.diffCoordinates(t,this.o.path)<=e.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 e=this.n.savePhysics().CHILD_ATTRIBUTE_NAME,n=this.getAttribute(e);if(!n)return;let _=this.n.getPanel(n,t.detail);_||(_={type:"tab-layout",tabs:[n],selected:0});let r=_.tabs.indexOf(n),i=(_.selected??0)===r;this.toggleAttribute("inactive",!i),this.b.populate(this.n,_,r),this.drawTab(n,r,_.tabs.length)};drawTab=(t,e,n)=>{this.v.replaceSync([`.tabs{grid-template-columns:repeat(${n},var(--rl-tab-width,1fr))}`,`.tabs slot[name="tab"]{grid-column:${e+1}}`,`[part~="title"]::before{content:var(${st(t)}, ${at(t)})}`].join(`
`))}},lt=class extends HTMLElement{n;a;f;populate=(t,e,n)=>{if(this.setAttribute(t.savePhysics().CHILD_ATTRIBUTE_NAME,e.tabs[n]),this.a)(n===e.selected!=(n===this.a?.selected)||this.a?.tabs[n]!==e.tabs[n])&&(e.selected===n?(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 _=e.selected===n,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=e,this.n=t,this.f=n};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 ht=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 e=await t.to_csv(),n="margin:0;overflow:scroll;position:absolute;width:100%;height:100%";this.innerHTML=`<pre style='${n}'>${e}</pre>`}async clear(){this.innerHTML=""}async resize(t){}restyle(){}restore(){}async delete(){}get supports_streaming(){return!1}},mt={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"},dt={dateStyle:"short"};function vt(t,e){let n=e??ut[t]??{};return new Intl.NumberFormat(navigator.languages,n)}function yt(t){if(!t||!("format"in t)){let n=$(t),_={timeZone:n?.timeZone??void 0,dateStyle:n?.dateStyle==="disabled"?void 0:n?.dateStyle??N.dateStyle,timeStyle:n?.timeStyle==="disabled"?void 0:n?.timeStyle??N.timeStyle};return new Intl.DateTimeFormat(navigator.languages,_)}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 It(t){let e=$(t),n={timeZone:"utc",dateStyle:e?.dateStyle==="disabled"?void 0:e?.dateStyle??dt.dateStyle};return new Intl.DateTimeFormat(navigator.languages,n)}function Et(t){return t.split("|").at(-1)??t}var xt=class{selected;row;column_names;removeConfigs;insertConfigs;panel;constructor(t,e,n,_,r,i){this.selected=t,this.row=e,this.column_names=n,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 bt(t){let e;typeof t?.then=="function"&&(t=await t),t instanceof Response?e=await WebAssembly.instantiateStreaming(t):typeof t=="string"?e=await WebAssembly.instantiateStreaming(fetch(t)):t instanceof ArrayBuffer?e=await WebAssembly.instantiate(t):t instanceof Uint8Array?e=await WebAssembly.instantiate(t.buffer):e=t;let n=e.instance.exports,[_]=WebAssembly.Module.customSections(e.module,"psp-runtime"),[r]=WebAssembly.Module.customSections(e.module,"psp-len"),i=new DataView(r).getUint32(0,!0),o=n.resize(_.byteLength);new Uint8Array(n.memory.buffer).set(new Uint8Array(_),o);let a=n.compile(_.byteLength,i);return new Uint8Array(n.memory.buffer).slice(a,i+a)}if(typeof WebAssembly>"u")throw new Error("WebAssembly not supported.");async function gt(t){t instanceof Function&&(t=await t());try{return await bt(t)}catch{return console.warn("Stage 0 wasm loading failed, skipping"),new Uint8Array(t)}}var ft='var St=Object.defineProperty;var At=(s,t)=>{for(var e in t)St(s,e,{get:t[e],enumerable:!0})};var Y={};At(Y,{Client:()=>F,CopyDropDownMenuElement:()=>H,ExportDropDownMenuElement:()=>V,GenericSQLVirtualServerModel:()=>$,PerspectiveDebugPluginElement:()=>G,PerspectiveViewerElement:()=>R,ProxySession:()=>O,Table:()=>j,View:()=>y,VirtualDataSlice:()=>M,VirtualServer:()=>J,default:()=>kt,get_wasm_module:()=>Ft,get_worker_url:()=>Rt,init:()=>Ct,initSync:()=>_e,registerPlugin:()=>Tt});function it(s){customElements.get(s)||customElements.define(s,class extends HTMLElement{})}var st=window.ClipboardItem;var at=window.ResizeObserver;var ut=window.IntersectionObserver;function bt(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 o=s[e],i=o.prototype;class b extends HTMLElement{constructor(){super(),this._instance=new o(this)}}let g=Object.getOwnPropertyNames(i);for(let l of g)"get"in Object.getOwnPropertyDescriptor(i,l)?Object.defineProperty(b.prototype,l,{get:function(){return this._instance[l]}}):Object.defineProperty(b.prototype,l,{value:function(...v){return this._instance[l].call(this._instance,...v)}});for(let l of n)Object.defineProperty(b,l,{value:function(...v){return s[l].call(s,...v)}});Object.defineProperty(b,"__wasm_module__",{get(){return s}}),customElements.define(t,b)}var F=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();_.__wbg_client_free(t,0)}__getClassname(){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.client___getClassname(o,this.__wbg_ptr);var t=a().getInt32(o+0,!0),e=a().getInt32(o+4,!0),n=w(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}__unsafe_open_view(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p,o=_.client___unsafe_open_view(this.__wbg_ptr,e,n);return y.__wrap(o)}get_hosted_table_names(){let t=_.client_get_hosted_table_names(this.__wbg_ptr);return u(t)}handle_error(t,e){let n=m(t,_.__wbindgen_export,_.__wbindgen_export2),o=p,i=_.client_handle_error(this.__wbg_ptr,n,o,f(e)?0:c(e));return u(i)}handle_response(t){let e=_.client_handle_response(this.__wbg_ptr,c(t));return u(e)}join(t,e,n,o){let i=m(n,_.__wbindgen_export,_.__wbindgen_export2),b=p,g=_.client_join(this.__wbg_ptr,c(t),c(e),i,b,f(o)?0:c(o));return u(g)}constructor(t,e){try{let b=_.__wbindgen_add_to_stack_pointer(-16);_.client_new(b,c(t),f(e)?0:c(e));var n=a().getInt32(b+0,!0),o=a().getInt32(b+4,!0),i=a().getInt32(b+8,!0);if(i)throw u(o);return this.__wbg_ptr=n>>>0,tt.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}new_proxy_session(t){try{let e=_.client_new_proxy_session(this.__wbg_ptr,ct(t));return O.__wrap(e)}finally{x[z++]=void 0}}on_error(t){let e=_.client_on_error(this.__wbg_ptr,c(t));return u(e)}on_hosted_tables_update(t){let e=_.client_on_hosted_tables_update(this.__wbg_ptr,c(t));return u(e)}open_table(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p,o=_.client_open_table(this.__wbg_ptr,e,n);return u(o)}remove_hosted_tables_update(t){let e=_.client_remove_hosted_tables_update(this.__wbg_ptr,t);return u(e)}system_info(){let t=_.client_system_info(this.__wbg_ptr);return u(t)}table(t,e){let n=_.client_table(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}terminate(){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.client_terminate(o,this.__wbg_ptr);var t=a().getInt32(o+0,!0),e=a().getInt32(o+4,!0),n=a().getInt32(o+8,!0);if(n)throw u(e);return u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(F.prototype[Symbol.dispose]=F.prototype.free);var H=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();_.__wbg_copydropdownmenuelement_free(t,0)}__set_model(t){X(t,R),_.copydropdownmenuelement___set_model(this.__wbg_ptr,t.__wbg_ptr)}connected_callback(){_.copydropdownmenuelement_connected_callback(this.__wbg_ptr)}hide(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.copydropdownmenuelement_hide(n,this.__wbg_ptr);var t=a().getInt32(n+0,!0),e=a().getInt32(n+4,!0);if(e)throw u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=_.copydropdownmenuelement_new(c(t));return this.__wbg_ptr=e>>>0,ft.register(this,this.__wbg_ptr,this),this}open(t){_.copydropdownmenuelement_open(this.__wbg_ptr,c(t))}};Symbol.dispose&&(H.prototype[Symbol.dispose]=H.prototype.free);var V=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,dt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_exportdropdownmenuelement_free(t,0)}__set_model(t){X(t,R),_.exportdropdownmenuelement___set_model(this.__wbg_ptr,t.__wbg_ptr)}connected_callback(){_.copydropdownmenuelement_connected_callback(this.__wbg_ptr)}hide(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.exportdropdownmenuelement_hide(n,this.__wbg_ptr);var t=a().getInt32(n+0,!0),e=a().getInt32(n+4,!0);if(e)throw u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=_.copydropdownmenuelement_new(c(t));return this.__wbg_ptr=e>>>0,dt.register(this,this.__wbg_ptr,this),this}open(t){_.exportdropdownmenuelement_open(this.__wbg_ptr,c(t))}};Symbol.dispose&&(V.prototype[Symbol.dispose]=V.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();_.__wbg_genericsqlvirtualservermodel_free(t,0)}getHostedTables(){try{let b=_.__wbindgen_add_to_stack_pointer(-16);_.genericsqlvirtualservermodel_getHostedTables(b,this.__wbg_ptr);var t=a().getInt32(b+0,!0),e=a().getInt32(b+4,!0),n=a().getInt32(b+8,!0),o=a().getInt32(b+12,!0);if(o)throw u(n);var i=w(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),i}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.genericsqlvirtualservermodel_new(i,f(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),o=a().getInt32(i+8,!0);if(o)throw u(n);return this.__wbg_ptr=e>>>0,wt.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableMakeView(t,e,n,o){try{let h=_.__wbindgen_add_to_stack_pointer(-16),I=m(t,_.__wbindgen_export,_.__wbindgen_export2),k=p,q=m(e,_.__wbindgen_export,_.__wbindgen_export2),Z=p;_.genericsqlvirtualservermodel_tableMakeView(h,this.__wbg_ptr,I,k,q,Z,c(n),c(o));var i=a().getInt32(h+0,!0),b=a().getInt32(h+4,!0),g=a().getInt32(h+8,!0),l=a().getInt32(h+12,!0);if(l)throw u(g);var v=w(i,b);return i!==0&&_.__wbindgen_export4(i,b,1),v}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableSchema(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_tableSchema(g,this.__wbg_ptr,l,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),o=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(o);var b=w(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableSize(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_tableSize(g,this.__wbg_ptr,l,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),o=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(o);var b=w(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableValidateExpression(t,e){try{let l=_.__wbindgen_add_to_stack_pointer(-16),v=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=p,I=m(e,_.__wbindgen_export,_.__wbindgen_export2),k=p;_.genericsqlvirtualservermodel_tableValidateExpression(l,this.__wbg_ptr,v,h,I,k);var n=a().getInt32(l+0,!0),o=a().getInt32(l+4,!0),i=a().getInt32(l+8,!0),b=a().getInt32(l+12,!0);if(b)throw u(i);var g=w(n,o);return n!==0&&_.__wbindgen_export4(n,o,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewColumnSize(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_viewColumnSize(g,this.__wbg_ptr,l,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),o=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(o);var b=w(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewDelete(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_viewDelete(g,this.__wbg_ptr,l,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),o=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(o);var b=w(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewGetData(t,e,n,o){try{let h=_.__wbindgen_add_to_stack_pointer(-16),I=m(t,_.__wbindgen_export,_.__wbindgen_export2),k=p;_.genericsqlvirtualservermodel_viewGetData(h,this.__wbg_ptr,I,k,c(e),c(n),c(o));var i=a().getInt32(h+0,!0),b=a().getInt32(h+4,!0),g=a().getInt32(h+8,!0),l=a().getInt32(h+12,!0);if(l)throw u(g);var v=w(i,b);return i!==0&&_.__wbindgen_export4(i,b,1),v}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewGetMinMax(t,e,n){try{let v=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),I=p,k=m(e,_.__wbindgen_export,_.__wbindgen_export2),q=p;_.genericsqlvirtualservermodel_viewGetMinMax(v,this.__wbg_ptr,h,I,k,q,c(n));var o=a().getInt32(v+0,!0),i=a().getInt32(v+4,!0),b=a().getInt32(v+8,!0),g=a().getInt32(v+12,!0);if(g)throw u(b);var l=w(o,i);return o!==0&&_.__wbindgen_export4(o,i,1),l}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewSchema(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_viewSchema(g,this.__wbg_ptr,l,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),o=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(o);var b=w(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewSize(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_viewSize(g,this.__wbg_ptr,l,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),o=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(o);var b=w(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);var G=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,lt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_perspectivedebugpluginelement_free(t,0)}clear(){let t=_.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}get config_column_names(){let t=_.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return u(t)}connectedCallback(){_.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}delete(){let t=_.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}draw(t){X(t,y);let e=_.perspectivedebugpluginelement_draw(this.__wbg_ptr,t.__wbg_ptr);return u(e)}get min_config_columns(){let t=_.perspectivedebugpluginelement_config_column_names(this.__wbg_ptr);return u(t)}get name(){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_name(o,this.__wbg_ptr);var t=a().getInt32(o+0,!0),e=a().getInt32(o+4,!0),n=w(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=_.perspectivedebugpluginelement_new(c(t));return this.__wbg_ptr=e>>>0,lt.register(this,this.__wbg_ptr,this),this}resize(){let t=_.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}restore(t){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_restore(o,this.__wbg_ptr,f(t)?0:c(t));var e=a().getInt32(o+0,!0),n=a().getInt32(o+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}restyle(){_.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}save(){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_save(o,this.__wbg_ptr);var t=a().getInt32(o+0,!0),e=a().getInt32(o+4,!0),n=a().getInt32(o+8,!0);if(n)throw u(e);return u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}get select_mode(){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_select_mode(o,this.__wbg_ptr);var t=a().getInt32(o+0,!0),e=a().getInt32(o+4,!0),n=w(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}update(t){X(t,y);let e=_.perspectivedebugpluginelement_update(this.__wbg_ptr,t.__wbg_ptr);return u(e)}};Symbol.dispose&&(G.prototype[Symbol.dispose]=G.prototype.free);var R=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,et.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,et.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_perspectiveviewerelement_free(t,0)}__get_model(){let t=_.perspectiveviewerelement___get_model(this.__wbg_ptr);return s.__wrap(t)}addPanel(t){let e=_.perspectiveviewerelement_addPanel(this.__wbg_ptr,c(t));return u(e)}agentConfig(t){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_agentConfig(o,this.__wbg_ptr,c(t));var e=a().getInt32(o+0,!0),n=a().getInt32(o+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}agentPrompt(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p,o=_.perspectiveviewerelement_agentPrompt(this.__wbg_ptr,e,n);return u(o)}agentReset(){let t=_.perspectiveviewerelement_agentReset(this.__wbg_ptr);return u(t)}connectedCallback(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_connectedCallback(n,this.__wbg_ptr);var t=a().getInt32(n+0,!0),e=a().getInt32(n+4,!0);if(e)throw u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}copy(t){let e=_.perspectiveviewerelement_copy(this.__wbg_ptr,f(t)?0:c(t));return u(e)}delete(){let t=this.__destroy_into_raw(),e=_.perspectiveviewerelement_delete(t);return u(e)}download(t){let e=_.perspectiveviewerelement_download(this.__wbg_ptr,f(t)?0:c(t));return u(e)}eject(t){let e=_.perspectiveviewerelement_eject(this.__wbg_ptr,f(t)?0:c(t));return u(e)}export(t){let e=_.perspectiveviewerelement_export(this.__wbg_ptr,f(t)?0:c(t));return u(e)}flush(){let t=_.perspectiveviewerelement_flush(this.__wbg_ptr);return u(t)}getActivePanel(){let t=_.perspectiveviewerelement_getActivePanel(this.__wbg_ptr);return u(t)}getAllPlugins(){let t=_.perspectiveviewerelement_getAllPlugins(this.__wbg_ptr);return u(t)}getClient(t){let e=_.perspectiveviewerelement_getClient(this.__wbg_ptr,f(t)?0:c(t));return u(e)}getEditPort(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getEditPort(i,this.__wbg_ptr,f(t)?0:c(t));var e=a().getFloat64(i+0,!0),n=a().getInt32(i+8,!0),o=a().getInt32(i+12,!0);if(o)throw u(n);return e}finally{_.__wbindgen_add_to_stack_pointer(16)}}getPanelNames(){let t=_.perspectiveviewerelement_getPanelNames(this.__wbg_ptr);return u(t)}getPlugin(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16);var e=f(t)?0:m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p;_.perspectiveviewerelement_getPlugin(g,this.__wbg_ptr,e,n);var o=a().getInt32(g+0,!0),i=a().getInt32(g+4,!0),b=a().getInt32(g+8,!0);if(b)throw u(i);return u(o)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getRenderStats(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getRenderStats(i,this.__wbg_ptr,f(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),o=a().getInt32(i+8,!0);if(o)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getSelection(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getSelection(i,this.__wbg_ptr,f(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),o=a().getInt32(i+8,!0);if(o)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getTable(t){let e=_.perspectiveviewerelement_getTable(this.__wbg_ptr,f(t)?0:c(t));return u(e)}getThemes(){let t=_.perspectiveviewerelement_getThemes(this.__wbg_ptr);return u(t)}getView(t){let e=_.perspectiveviewerelement_getView(this.__wbg_ptr,f(t)?0:c(t));return u(e)}getViewConfig(t){let e=_.perspectiveviewerelement_getViewConfig(this.__wbg_ptr,f(t)?0:c(t));return u(e)}load(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_load(i,this.__wbg_ptr,c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),o=a().getInt32(i+8,!0);if(o)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=_.perspectiveviewerelement_new(c(t));return this.__wbg_ptr=e>>>0,et.register(this,this.__wbg_ptr,this),this}removePanel(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p,o=_.perspectiveviewerelement_removePanel(this.__wbg_ptr,e,n);return u(o)}reset(t,e){let n=_.perspectiveviewerelement_reset(this.__wbg_ptr,f(t)?16777215:t?1:0,f(e)?0:c(e));return u(n)}resetError(){let t=_.perspectiveviewerelement_resetError(this.__wbg_ptr);return u(t)}resetThemes(t){var e=f(t)?0:Qt(t,_.__wbindgen_export),n=p;let o=_.perspectiveviewerelement_resetThemes(this.__wbg_ptr,e,n);return u(o)}resize(t){let e=_.perspectiveviewerelement_resize(this.__wbg_ptr,f(t)?0:c(t));return u(e)}restore(t,e){let n=_.perspectiveviewerelement_restore(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}restoreWorkspace(t){let e=_.perspectiveviewerelement_restoreWorkspace(this.__wbg_ptr,c(t));return u(e)}restyleElement(){let t=_.perspectiveviewerelement_restyleElement(this.__wbg_ptr);return u(t)}save(t){let e=_.perspectiveviewerelement_save(this.__wbg_ptr,f(t)?0:c(t));return u(e)}saveWorkspace(t){let e=_.perspectiveviewerelement_saveWorkspace(this.__wbg_ptr,f(t)?0:c(t));return u(e)}setActivePanel(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p,o=_.perspectiveviewerelement_setActivePanel(this.__wbg_ptr,e,n);return u(o)}setAutoPause(t){let e=_.perspectiveviewerelement_setAutoPause(this.__wbg_ptr,t);return u(e)}setAutoSize(t){_.perspectiveviewerelement_setAutoSize(this.__wbg_ptr,t)}setSelection(t,e){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_setSelection(i,this.__wbg_ptr,f(t)?0:c(t),f(e)?0:c(e));var n=a().getInt32(i+0,!0),o=a().getInt32(i+4,!0);if(o)throw u(n)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setThrottle(t){_.perspectiveviewerelement_setThrottle(this.__wbg_ptr,!f(t),f(t)?0:t)}toggleColumnSettings(t,e){let n=m(t,_.__wbindgen_export,_.__wbindgen_export2),o=p,i=_.perspectiveviewerelement_toggleColumnSettings(this.__wbg_ptr,n,o,f(e)?0:c(e));return u(i)}toggleConfig(t){let e=_.perspectiveviewerelement_toggleConfig(this.__wbg_ptr,f(t)?16777215:t?1:0);return u(e)}};Symbol.dispose&&(R.prototype[Symbol.dispose]=R.prototype.free);var O=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,nt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,nt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_proxysession_free(t,0)}close(){let t=this.__destroy_into_raw(),e=_.proxysession_close(t);return u(e)}handle_request(t){let e=_.proxysession_handle_request(this.__wbg_ptr,c(t));return u(e)}constructor(t,e){try{X(t,F);let n=_.proxysession_new(t.__wbg_ptr,ct(e));return this.__wbg_ptr=n>>>0,nt.register(this,this.__wbg_ptr,this),this}finally{x[z++]=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,pt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,pt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_table_free(t,0)}__getClassname(){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.table___getClassname(o,this.__wbg_ptr);var t=a().getInt32(o+0,!0),e=a().getInt32(o+4,!0),n=w(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}clear(){let t=_.table_clear(this.__wbg_ptr);return u(t)}columns(){let t=_.table_columns(this.__wbg_ptr);return u(t)}delete(t){let e=this.__destroy_into_raw(),n=_.table_delete(e,f(t)?0:c(t));return u(n)}get_client(){let t=_.table_get_client(this.__wbg_ptr);return u(t)}get_index(){let t=_.table_get_index(this.__wbg_ptr);return u(t)}get_limit(){let t=_.table_get_limit(this.__wbg_ptr);return u(t)}get_name(){let t=_.table_get_name(this.__wbg_ptr);return u(t)}make_port(){let t=_.table_make_port(this.__wbg_ptr);return u(t)}on_delete(t){let e=_.table_on_delete(this.__wbg_ptr,c(t));return u(e)}remove(t,e){let n=_.table_remove(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}remove_delete(t){let e=_.table_remove_delete(this.__wbg_ptr,t);return u(e)}replace(t,e){let n=_.table_replace(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}schema(){let t=_.table_schema(this.__wbg_ptr);return u(t)}size(){let t=_.table_size(this.__wbg_ptr);return u(t)}update(t,e){let n=_.table_update(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}validate_expressions(t){let e=_.table_validate_expressions(this.__wbg_ptr,c(t));return u(e)}view(t){let e=_.table_view(this.__wbg_ptr,f(t)?0:c(t));return u(e)}};Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);var y=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,mt.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,mt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_view_free(t,0)}__get_model(){let t=_.view___get_model(this.__wbg_ptr);return s.__wrap(t)}__unsafe_get_name(){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.view___unsafe_get_name(o,this.__wbg_ptr);var t=a().getInt32(o+0,!0),e=a().getInt32(o+4,!0),n=w(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}collapse(t){let e=_.view_collapse(this.__wbg_ptr,t);return u(e)}column_paths(t){let e=_.view_column_paths(this.__wbg_ptr,f(t)?0:c(t));return u(e)}delete(){let t=this.__destroy_into_raw(),e=_.view_delete(t);return u(e)}dimensions(){let t=_.view_dimensions(this.__wbg_ptr);return u(t)}expand(t){let e=_.view_expand(this.__wbg_ptr,t);return u(e)}expression_schema(){let t=_.view_expression_schema(this.__wbg_ptr);return u(t)}get_config(){let t=_.view_get_config(this.__wbg_ptr);return u(t)}get_min_max(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p,o=_.view_get_min_max(this.__wbg_ptr,e,n);return u(o)}num_columns(){let t=_.view_num_columns(this.__wbg_ptr);return u(t)}num_rows(){let t=_.view_num_rows(this.__wbg_ptr);return u(t)}on_delete(t){let e=_.view_on_delete(this.__wbg_ptr,c(t));return u(e)}on_update(t,e){let n=_.view_on_update(this.__wbg_ptr,c(t),f(e)?0:c(e));return u(n)}remove_delete(t){let e=_.view_remove_delete(this.__wbg_ptr,t);return u(e)}remove_update(t){let e=_.view_remove_update(this.__wbg_ptr,t);return u(e)}schema(){let t=_.view_schema(this.__wbg_ptr);return u(t)}set_depth(t){let e=_.view_set_depth(this.__wbg_ptr,t);return u(e)}to_arrow(t){let e=_.view_to_arrow(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_columns(t){let e=_.view_to_columns(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_columns_string(t){let e=_.view_to_columns_string(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_csv(t){let e=_.view_to_csv(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_json(t){let e=_.view_to_json(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_json_string(t){let e=_.view_to_json_string(this.__wbg_ptr,f(t)?0:c(t));return u(e)}to_ndjson(t){let e=_.view_to_ndjson(this.__wbg_ptr,f(t)?0:c(t));return u(e)}with_typed_arrays(t,e){let n=_.view_with_typed_arrays(this.__wbg_ptr,f(t)?0:c(t),c(e));return u(n)}};Symbol.dispose&&(y.prototype[Symbol.dispose]=y.prototype.free);var M=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,_t.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,_t.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_virtualdataslice_free(t,0)}fromArrowIpc(t){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.virtualdataslice_fromArrowIpc(o,this.__wbg_ptr,c(t));var e=a().getInt32(o+0,!0),n=a().getInt32(o+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}constructor(t){let e=_.virtualdataslice_new(c(t));return this.__wbg_ptr=e>>>0,_t.register(this,this.__wbg_ptr,this),this}setBooleanCol(t,e,n,o){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setBooleanCol(g,this.__wbg_ptr,l,v,e,c(n),f(o)?4294967297:o>>>0);var i=a().getInt32(g+0,!0),b=a().getInt32(g+4,!0);if(b)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setCol(t,e,n,o,i){try{let l=_.__wbindgen_add_to_stack_pointer(-16),v=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=p,I=m(e,_.__wbindgen_export,_.__wbindgen_export2),k=p;_.virtualdataslice_setCol(l,this.__wbg_ptr,v,h,I,k,n,c(o),f(i)?4294967297:i>>>0);var b=a().getInt32(l+0,!0),g=a().getInt32(l+4,!0);if(g)throw u(b)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setDatetimeCol(t,e,n,o){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setDatetimeCol(g,this.__wbg_ptr,l,v,e,c(n),f(o)?4294967297:o>>>0);var i=a().getInt32(g+0,!0),b=a().getInt32(g+4,!0);if(b)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setFloatCol(t,e,n,o){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setFloatCol(g,this.__wbg_ptr,l,v,e,c(n),f(o)?4294967297:o>>>0);var i=a().getInt32(g+0,!0),b=a().getInt32(g+4,!0);if(b)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setIntegerCol(t,e,n,o){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setIntegerCol(g,this.__wbg_ptr,l,v,e,c(n),f(o)?4294967297:o>>>0);var i=a().getInt32(g+0,!0),b=a().getInt32(g+4,!0);if(b)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setStringCol(t,e,n,o){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setStringCol(g,this.__wbg_ptr,l,v,e,c(n),f(o)?4294967297:o>>>0);var i=a().getInt32(g+0,!0),b=a().getInt32(g+4,!0);if(b)throw u(i)}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);var J=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,vt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_virtualserver_free(t,0)}handleRequest(t){let e=Kt(t,_.__wbindgen_export),n=p,o=_.virtualserver_handleRequest(this.__wbg_ptr,e,n);return u(o)}constructor(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.virtualserver_new(i,c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),o=a().getInt32(i+8,!0);if(o)throw u(n);return this.__wbg_ptr=e>>>0,vt.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);function Ft(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.get_wasm_module(n);var s=a().getInt32(n+0,!0),t=a().getInt32(n+4,!0),e=a().getInt32(n+8,!0);if(e)throw u(t);return u(s)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Rt(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.get_worker_url(n);var s=a().getInt32(n+0,!0),t=a().getInt32(n+4,!0),e=a().getInt32(n+8,!0);if(e)throw u(t);return u(s)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Ct(s,t){_.init(c(s),c(t))}function Tt(s){let t=m(s,_.__wbindgen_export,_.__wbindgen_export2),e=p;_.registerPlugin(t,e)}function xt(){return{__proto__:null,"./perspective-viewer.wasm_bg.js":{__proto__:null,__wbg_Error_8c4e43fe74559d73:function(t,e){var n=w(t,e);let o=Error(n);return c(o)},__wbg_Number_04624de7d0e8332d:function(t){return Number(r(t))},__wbg_String_8f0eb39a4a4c2f66:function(t,e){let n=String(r(e)),o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:function(t,e){let n=r(e),o=typeof n=="bigint"?n:void 0;a().setBigInt64(t+8,f(o)?BigInt(0):o,!0),a().setInt32(t+0,!f(o),!0)},__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:function(t){let e=r(t),n=typeof e=="boolean"?e:void 0;return f(n)?16777215:n?1:0},__wbg___wbindgen_debug_string_0bc8482c6e3508ae:function(t,e){let n=ot(r(e)),o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!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),o=typeof n=="number"?n:void 0;a().setFloat64(t+8,f(o)?0:o,!0),a().setInt32(t+0,!f(o),!0)},__wbg___wbindgen_string_get_72fb696202c56729:function(t,e){let n=r(e),o=typeof n=="string"?n:void 0;var i=f(o)?0:m(o,_.__wbindgen_export,_.__wbindgen_export2),b=p;a().setInt32(t+4,b,!0),a().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,o){var i=w(e,n);r(t).addEventListener(i,r(o))},arguments)},__wbg_addEventListener_c917b5aafbcf493f:function(){return d(function(t,e,n,o,i){var b=w(e,n);r(t).addEventListener(b,r(o),r(i))},arguments)},__wbg_add_5be83378df680c25:function(){return d(function(t,e,n){var o=w(e,n);r(t).add(o)},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,o,i){var b=w(e,n),g=w(o,i);r(t).append(b,g)},arguments)},__wbg_apply_2e22c45cb4f12415:function(){return d(function(t,e,n){let o=Reflect.apply(r(t),r(e),r(n));return c(o)},arguments)},__wbg_apply_ada2ee1a60ac7b3c:function(){return d(function(t,e,n){let o=r(t).apply(r(e),r(n));return c(o)},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 f(e)?0:c(e)},__wbg_body_f67922363a220026:function(t){let e=r(t).body;return f(e)?0:c(e)},__wbg_bootstrap_819dc38beb6da9c2:function(t,e,n,o,i,b){var g=w(e,n),l=w(o,i);let v=bt(r(t),g,l,u(b));return c(v)},__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 f(e)?4294967297:e>>>0},__wbg_calculatePath_05fe4f679f0319fd:function(t,e,n){var o=w(e,n);let i=r(t).calculatePath(o);return c(i)},__wbg_calculatePresizePaths_81b4d248a89dcbd7: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,o,i,b){let g=r(t).call(r(e),r(n),r(o),r(i),r(b));return c(g)},arguments)},__wbg_call_4708e0c13bdc8e95:function(){return d(function(t,e,n){let o=r(t).call(r(e),r(n));return c(o)},arguments)},__wbg_call_812d25f1510c13c8:function(){return d(function(t,e,n,o){let i=r(t).call(r(e),r(n),r(o));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_clear_8ba1b7d0bfa2ee76: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=F.__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 o=w(e,n);let i=r(t).closest(o);return f(i)?0:c(i)},arguments)},__wbg_code_dee0dae4730408e1:function(t,e){let n=r(e).code,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg_column_config_schema_5e4e96f9ffb83195:function(){return d(function(t,e,n,o,i,b,g,l,v,h){var I=w(e,n),k=w(o,i),q=w(b,g);let Z=r(t).column_config_schema(I,k,q,r(l),r(v),r(h));return c(Z)},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 o=w(e,n);return r(t).contains(o)},__wbg_contentRect_2720c063898d8eed:function(t){let e=r(t).contentRect;return c(e)},__wbg_createElementNS_ee00621496b30ec2:function(){return d(function(t,e,n,o,i){var b=w(e,n),g=w(o,i);let l=r(t).createElementNS(b,g);return c(l)},arguments)},__wbg_createElement_49f60fdcaae809c8:function(){return d(function(t,e,n){var o=w(e,n);let i=r(t).createElement(o);return c(i)},arguments)},__wbg_createObjectURL_918185db6a10a0c8:function(){return d(function(t,e){let n=URL.createObjectURL(r(e)),o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},arguments)},__wbg_createTextNode_55029686c9591bf3:function(t,e,n){var o=w(e,n);let i=r(t).createTextNode(o);return c(i)},__wbg_cssRules_554f47f3049cf066:function(){return d(function(t){let e=r(t).cssRules;return c(e)},arguments)},__wbg_currentTarget_d1f347b3b9bddd6e:function(t){let e=r(t).currentTarget;return f(e)?0:c(e)},__wbg_dataTransfer_d924a622fbe51b06:function(t){let e=r(t).dataTransfer;return f(e)?0:c(e)},__wbg_dataset_20cb5c72458ae3fc:function(t){let e=r(t).dataset;return c(e)},__wbg_debug_46a93995fc6f8820:function(t,e,n,o){console.debug(r(t),r(e),r(n),r(o))},__wbg_debug_a4099fa12db6cd61:function(t){console.debug(r(t))},__wbg_decode_a28a47c6d83f2594:function(){return d(function(t,e,n,o,i){let b=r(e).decode(T(n,o),r(i)),g=m(b,_.__wbindgen_export,_.__wbindgen_export2),l=p;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_define_panel_tab_ea5242909e9e0080:function(t,e){var n=w(t,e);it(n)},__wbg_delete_2697237048d7980a:function(t){r(t).delete()},__wbg_delete_8318b529ff42aa20:function(t,e,n){var o=w(e,n);delete r(t)[o]},__wbg_deselect_d0deec228a429b9f: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 f(e)?0:c(e)},__wbg_done_57b39ecd9addfe81:function(t){return r(t).done},__wbg_draw_d6887f2744f9759b:function(){return d(function(t,e,n,o,i){let b=r(t).draw(y.__wrap(e),n===4294967297?void 0:n,o===4294967297?void 0:o,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=ht(t,e).slice();_.__wbindgen_export4(t,e*4,4),console.error(...n)},__wbg_error_7534b8e9a36f1ab4:function(t,e){var n=w(t,e);t!==0&&_.__wbindgen_export4(t,e,1),console.error(n)},__wbg_error_794d0ffc9d00d5c3:function(t,e,n,o){console.error(r(t),r(e),r(n),r(o))},__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,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!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,o){var i=w(n,o);let b=r(e).getAttribute(i);var g=f(b)?0:m(b,_.__wbindgen_export,_.__wbindgen_export2),l=p;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!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 f(n)?0:c(n)},arguments)},__wbg_getEntriesByName_02488cff0bc7581c:function(t,e,n,o,i){var b=w(e,n),g=w(o,i);let l=r(t).getEntriesByName(b,g);return c(l)},__wbg_getPropertyValue_d6911b2a1f9acba9:function(){return d(function(t,e,n,o){var i=w(n,o);let b=r(e).getPropertyValue(i),g=m(b,_.__wbindgen_export,_.__wbindgen_export2),l=p;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_getRandomValues_1c61fac11405ffdc:function(){return d(function(t,e){globalThis.crypto.getRandomValues(T(t,e))},arguments)},__wbg_getReader_804829cfb24eb4dd:function(t){let e=r(t).getReader();return c(e)},__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,o){var i=w(n,o);let b=r(e)[i];var g=f(b)?0:m(b,_.__wbindgen_export,_.__wbindgen_export2),l=p;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},__wbg_get_76e04509d1922a04:function(t,e,n){var o=w(e,n);let i=r(t)[o];return f(i)?0:c(i)},__wbg_get_941633a1d2f510cb:function(){return d(function(t,e,n,o){var i=w(n,o);let b=r(e).get(i);var g=f(b)?0:m(b,_.__wbindgen_export,_.__wbindgen_export2),l=p;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!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 f(n)?0:c(n)},__wbg_get_static_config_a68b093eed4c6722: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 f(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 o=w(e,n);return r(t).hasAttribute(o)},__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_host_fb29f8be35c2517d:function(t){let e=r(t).host;return c(e)},__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,o){console.info(r(t),r(e),r(n),r(o))},__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 o=r(t).insertBefore(r(e),r(n));return c(o)},arguments)},__wbg_insertPanel_2ead0e8fcd6e5aa6:function(t,e,n,o,i){var b=w(e,n);let g=r(t).insertPanel(b,u(o),u(i));return c(g)},__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_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_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_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_isConnected_6110bc2c5462f90e:function(t){return r(t).isConnected},__wbg_isIntersecting_0f85a927416bad74:function(t){return r(t).isIntersecting},__wbg_isSafeInteger_bfbc7332a9768d2a:function(t){return Number.isSafeInteger(r(t))},__wbg_is_f29129f676e5410c:function(t,e){return Object.is(r(t),r(e))},__wbg_item_00ae26320b80a11f:function(t,e,n){let o=r(e).item(n>>>0),i=m(o,_.__wbindgen_export,_.__wbindgen_export2),b=p;a().setInt32(t+4,b,!0),a().setInt32(t+0,i,!0)},__wbg_item_48715d3212ed96cb:function(t,e){let n=r(t).item(e>>>0);return f(n)?0:c(n)},__wbg_item_5c82f52b014b3056:function(t,e){let n=r(t).item(e>>>0);return f(n)?0:c(n)},__wbg_item_ca823df8214b9e2b:function(t,e){let n=r(t).item(e>>>0);return f(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,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!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 f(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 f(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 o=w(e,n);r(t).mark(o)},arguments)},__wbg_matches_852ba8b2b4592069:function(){return d(function(t,e,n){var o=w(e,n);return r(t).matches(o)},arguments)},__wbg_maximize_b52d5bb98ebbe25d:function(t,e,n){var o=w(e,n);r(t).maximize(o)},__wbg_measure_288b48c082eae0fe:function(){return d(function(t,e,n,o,i){var b=w(e,n),g=w(o,i);r(t).measure(b,g)},arguments)},__wbg_message_9ddc4b9a62a7c379:function(t){let e=r(t).message;return c(e)},__wbg_minimize_d6a94cf0f3c92cbd:function(t){r(t).minimize()},__wbg_namespaceURI_86e2062c65f0f341:function(t,e){let n=r(e).namespaceURI;var o=f(n)?0:m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!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 o=new InputEvent(n);return c(o)},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 o=new CustomEvent(n);return c(o)},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 o=new Error(n);return c(o)},__wbg_new_86c8f0b79e48927d:function(t,e){let n=new Intl.NumberFormat(r(t),r(e));return c(n)},__wbg_new_8a6f238a6ece86ea:function(){let t=new Error;return c(t)},__wbg_new_8aee1c4f8825a7e8:function(t){let e=new st(r(t));return c(e)},__wbg_new_b5d9e2fb389fef91:function(t,e){try{var n={a:t,b:e},o=(b,g)=>{let l=n.a;n.a=0;try{return Wt(l,n.b,b,g)}finally{n.a=l}};let i=new Promise(o);return c(i)}finally{n.a=n.b=0}},__wbg_new_b693a7e48b3e6358:function(t){let e=new at(r(t));return c(e)},__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_e80e287664a1973a:function(t){let e=new ut(r(t));return c(e)},__wbg_new_from_slice_a3d2629dc1826784:function(t,e){let n=new Uint8Array(T(t,e));return c(n)},__wbg_new_no_args_1c7c842f08d00ebb:function(t,e){var n=w(t,e);let o=new Function(n);return c(o)},__wbg_new_with_event_init_dict_48877e7ca125f3c1:function(){return d(function(t,e,n){var o=w(t,e);let i=new CustomEvent(o,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 o=w(t,e);let i=new Request(o,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 f(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_5e8dac67886057de:function(t,e){r(t).observe(r(e))},__wbg_observe_7429532218ddaf8e: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 f(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 f(e)?0:c(e)},__wbg_parentNode_d44bd5ec58601e45:function(t){let e=r(t).parentNode;return f(e)?0:c(e)},__wbg_parse_708461a1feddfb38:function(){return d(function(t,e){var n=w(t,e);let o=JSON.parse(n);return c(o)},arguments)},__wbg_performance_06f12ba62483475d:function(t){let e=r(t).performance;return f(e)?0:c(e)},__wbg_plugin_config_schema_ec74b9efee144acc:function(){return d(function(t,e){let n=r(t).plugin_config_schema(r(e));return c(n)},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_26115faef63ade4a:function(){return d(function(t,e,n){let o=r(t).presize(e,n);return c(o)},arguments)},__wbg_preventDefault_cdcfcd7e301b9702:function(t){r(t).preventDefault()},__wbg_prototypesetcall_bdcdcc5842e4d77d:function(t,e,n){Uint8Array.prototype.set.call(T(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 o=w(e,n);let i=r(t).querySelectorAll(o);return c(i)},arguments)},__wbg_querySelector_1be4292f202b1597:function(){return d(function(t,e,n){var o=w(e,n);let i=r(t).querySelector(o);return f(i)?0:c(i)},arguments)},__wbg_querySelector_4dc619d02f6cb079:function(){return d(function(t,e,n){var o=w(e,n);let i=r(t).querySelector(o);return f(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,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg_realCoordinates_33ba14bf7bccf989: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 f(e)?0:c(e)},__wbg_releasePointerCapture_420ef33c7c5fb6f4:function(){return d(function(t,e){r(t).releasePointerCapture(e)},arguments)},__wbg_removeAttribute_87259aab06d9f286:function(){return d(function(t,e,n){var o=w(e,n);r(t).removeAttribute(o)},arguments)},__wbg_removeChild_2f0b06213dbc49ca:function(){return d(function(t,e){let n=r(t).removeChild(r(e));return c(n)},arguments)},__wbg_removeEventListener_e63328781a5b9af9:function(){return d(function(t,e,n,o){var i=w(e,n);r(t).removeEventListener(i,r(o))},arguments)},__wbg_removePanel_4785da0c5b2c5323:function(t,e,n){var o=w(e,n);let i=r(t).removePanel(o);return c(i)},__wbg_removeProperty_a0d2ff8a76ffd2b1:function(){return d(function(t,e,n,o){var i=w(n,o);let b=r(e).removeProperty(i),g=m(b,_.__wbindgen_export,_.__wbindgen_export2),l=p;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_remove_f9451697e0bc6ca0:function(){return d(function(t,e,n){var o=w(e,n);r(t).remove(o)},arguments)},__wbg_render_09bd755e1674aa06:function(){return d(function(t,e,n){let o=r(t).render(y.__wrap(e),u(n));return c(o)},arguments)},__wbg_replaceSync_54e9ce897fe6ab6a:function(){return d(function(t,e,n){var o=w(e,n);r(t).replaceSync(o)},arguments)},__wbg_requestAnimationFrame_43682f8e1c5e5348:function(){return d(function(t,e){return r(t).requestAnimationFrame(r(e))},arguments)},__wbg_resize_5c9944cddc06a327: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_2195208be88f7a14:function(t,e){r(t).restorePhysics(r(e))},__wbg_restoreSync_c3e8f308881526f6:function(t,e){r(t).restoreSync(r(e))},__wbg_restore_8ab560d32586d036:function(){return d(function(t,e,n){r(t).restore(r(e),r(n))},arguments)},__wbg_restyle_6d502dd3b932f925:function(t){r(t).restyle()},__wbg_resumeResize_68eeb6b3bc9b18ef:function(t){r(t).resumeResize()},__wbg_right_154af6c2b1bf0c89:function(t){return r(t).right},__wbg_run_6b188d9db01ef98f:function(){return d(function(t,e){let n=r(t).run(r(e));return c(n)},arguments)},__wbg_save_8dc5503c6ded1d6b: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_b651b1bcfd3712bd:function(t,e,n){var o=w(e,n);let i=r(t).select(o);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 f(e)?4294967297:e>>>0},arguments)},__wbg_selectionStart_9cd0aeff14a21252:function(){return d(function(t){let e=r(t).selectionStart;return f(e)?4294967297:e>>>0},arguments)},__wbg_selectorText_4ebdf4f8074dafea:function(t,e){let n=r(e).selectorText,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg_setAttribute_cc8e4c8a2a008508:function(){return d(function(t,e,n,o,i){var b=w(e,n),g=w(o,i);r(t).setAttribute(b,g)},arguments)},__wbg_setDragImage_76defbcc7ff30178:function(t,e,n,o){r(t).setDragImage(r(e),n,o)},__wbg_setPointerCapture_420db6f6826eb74b:function(){return d(function(t,e){r(t).setPointerCapture(e)},arguments)},__wbg_setProperty_cbb25c4e74285b39:function(){return d(function(t,e,n,o,i){var b=w(e,n),g=w(o,i);r(t).setProperty(b,g)},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 o=r(t).set(r(e),r(n));return c(o)},__wbg_set_3f1d0b984ed272ed:function(t,e,n){r(t)[u(e)]=u(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_composed_e4a9826a628ca7f8:function(t,e){r(t).composed=e!==0},__wbg_set_defaultValue_ad528b0a65ceef4a:function(){return d(function(t,e,n){var o=w(e,n);r(t).defaultValue=o},arguments)},__wbg_set_detail_fa3b358526be3a85:function(t,e){r(t).detail=r(e)},__wbg_set_dropEffect_042402609f0b7c6b:function(t,e,n){var o=w(e,n);r(t).dropEffect=o},__wbg_set_f43e577aea94465b:function(t,e,n){r(t)[e>>>0]=u(n)},__wbg_set_fb27b296001e2de9:function(){return d(function(t,e,n,o,i){var b=w(e,n),g=w(o,i);r(t)[b]=g},arguments)},__wbg_set_headers_cfc5f4b2c1f20549:function(t,e){r(t).headers=r(e)},__wbg_set_innerHTML_edd39677e3460291:function(t,e,n){var o=w(e,n);r(t).innerHTML=o},__wbg_set_innerText_2f1502f2d0780499:function(t,e,n){var o=w(e,n);r(t).innerText=o},__wbg_set_listener_id_8b77f7eb9adb712b:function(t,e){r(t).__yew_listener_id=e>>>0},__wbg_set_method_c3e20375f5ae7fac:function(t,e,n){var o=w(e,n);r(t).method=o},__wbg_set_mode_6a55f972d62a3c88:function(t,e){r(t).mode=Nt[e]},__wbg_set_nodeValue_d947eb0a476b80d7:function(t,e,n){var o=w(e,n);r(t).nodeValue=o},__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 o=w(e,n);r(t).type=o},__wbg_set_value_62a965e38b22b38c:function(t,e,n){var o=w(e,n);r(t).value=o},__wbg_set_value_c3556fce049236f0:function(t,e,n){var o=w(e,n);r(t).value=o},__wbg_set_value_ddc3bd01a8467bf1:function(t,e,n){var o=w(e,n);r(t).value=o},__wbg_shadowRoot_14828067c5922da7:function(t){let e=r(t).shadowRoot;return f(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_signal_d1285ecab4ebc5ad:function(t){let e=r(t).signal;return c(e)},__wbg_stack_0ed75d68575b0f3c:function(t,e){let n=r(e).stack,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg_startTime_248495bfbcb427d3:function(t){return r(t).startTime},__wbg_static_accessor_GLOBAL_12837167ad935116:function(){let t=typeof self>"u"?null:self;return f(t)?0:c(t)},__wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f:function(){let t=typeof globalThis>"u"?null:globalThis;return f(t)?0:c(t)},__wbg_static_accessor_PSP_752610405ec3a5a3:function(){return c(Y)},__wbg_static_accessor_SELF_a621d3dfbb60d0ce:function(){let t=typeof self>"u"?null:self;return f(t)?0:c(t)},__wbg_static_accessor_WINDOW_f8727f0cf888e0bd:function(){let t=typeof window>"u"?null:window;return f(t)?0:c(t)},__wbg_statusText_556131a02d60f5cd:function(t,e){let n=r(e).statusText,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!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 o=JSON.stringify(r(t),r(e),r(n));return c(o)},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 f(e)?4294967297:e>>>0},__wbg_supportedValuesOf_a0138175a6fe0726: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,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg_target_521be630ab05b11e:function(t){let e=r(t).target;return f(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 o=r(t).then(r(e),r(n));return c(o)},__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,o){var i=w(e,n);return r(t).toggleAttribute(i,o!==0)},arguments)},__wbg_toggle_52417ca95b874e83:function(){return d(function(t,e,n){var o=w(e,n);return r(t).toggle(o)},arguments)},__wbg_toggle_b8e3ebf1a7aaeb11:function(){return d(function(t,e,n,o){var i=w(e,n);return r(t).toggle(i,o!==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,o){console.trace(r(t),r(e),r(n),r(o))},__wbg_type_4edffca24c42b74d:function(t,e){let n=r(e).type,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg_unobserve_533a1b3616573380:function(t,e){r(t).unobserve(r(e))},__wbg_unobserve_b9db27fafdad4702:function(t,e){r(t).unobserve(r(e))},__wbg_update_9fb9a3e7634b8dc5:function(){return d(function(t,e,n,o,i){let b=r(t).update(y.__wrap(e),n===4294967297?void 0:n,o===4294967297?void 0:o,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,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg_value_d402dce7dcb16251:function(t,e){let n=r(e).value,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg_value_e506a07878790ca0:function(t,e){let n=r(e).value,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!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=y.__wrap(t);return c(e)},__wbg_view_unwrap:function(t){return y.__unwrap(r(t))},__wbg_virtualdataslice_new:function(t){let e=M.__wrap(t);return c(e)},__wbg_warn_a40b971467b219c7:function(t,e,n,o){console.warn(r(t),r(e),r(n),r(o))},__wbg_warn_f7ae1b2e66ccb930:function(t){console.warn(r(t))},__wbg_weight_984b87b81f2dde65:function(t,e){let n=r(e).weight,o=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,o,!0)},__wbg_which_78ecd90ab7c6bdd6:function(t){return r(t).which},__wbg_width_7444cca5dfea0645: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=E(t,e,_.__wasm_bindgen_func_elem_17915,Ot);return c(n)},__wbindgen_cast_0000000000000002:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_18627,jt);return c(n)},__wbindgen_cast_0000000000000003:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_18627,Et);return c(n)},__wbindgen_cast_0000000000000004:function(t,e){let n=E(t,e,_.__wasm_bindgen_func_elem_19516,zt);return c(n)},__wbindgen_cast_0000000000000005:function(t,e){let n=E(t,e,_.__wasm_bindgen_func_elem_19516,Pt);return c(n)},__wbindgen_cast_0000000000000006:function(t,e){let n=E(t,e,_.__wasm_bindgen_func_elem_4210,gt);return c(n)},__wbindgen_cast_0000000000000007:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_4210,C);return c(n)},__wbindgen_cast_0000000000000008:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_4210,C);return c(n)},__wbindgen_cast_0000000000000009:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_4210,C);return c(n)},__wbindgen_cast_000000000000000a:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_4210,C);return c(n)},__wbindgen_cast_000000000000000b:function(t,e){let n=E(t,e,_.__wasm_bindgen_func_elem_4210,gt);return c(n)},__wbindgen_cast_000000000000000c:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_4210,C);return c(n)},__wbindgen_cast_000000000000000d:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_4210,C);return c(n)},__wbindgen_cast_000000000000000e:function(t,e){let n=E(t,e,_.__wasm_bindgen_func_elem_4210,Mt);return c(n)},__wbindgen_cast_000000000000000f:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_4210,qt);return c(n)},__wbindgen_cast_0000000000000010:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_24195,Lt);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=Bt(t,e);return c(n)},__wbindgen_cast_0000000000000015:function(t,e){let n=Ut(t,e);return c(n)},__wbindgen_cast_0000000000000016:function(t,e){let n=Ht(t,e);return c(n)},__wbindgen_cast_0000000000000017:function(t,e){let n=Vt(t,e);return c(n)},__wbindgen_cast_0000000000000018:function(t,e){let n=T(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=ht(t,e).slice();return _.__wbindgen_export4(t,e*4,4),c(n)},__wbindgen_cast_000000000000001b:function(t,e){var n=T(t,e).slice();return _.__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){u(t)},__wbindgen_object_is_undefined:function(t){return r(t)===void 0}}}}function Et(s,t){_.__wasm_bindgen_func_elem_18631(s,t)}function Pt(s,t){_.__wasm_bindgen_func_elem_20523(s,t)}function zt(s,t){let e=_.__wasm_bindgen_func_elem_20522(s,t);return u(e)}function Ot(s,t,e){try{_.__wasm_bindgen_func_elem_18035(s,t,ct(e))}finally{x[z++]=void 0}}function jt(s,t,e){_.__wasm_bindgen_func_elem_18632(s,t,c(e))}function gt(s,t,e){_.__wasm_bindgen_func_elem_7521(s,t,c(e))}function C(s,t,e){_.__wasm_bindgen_func_elem_7522(s,t,c(e))}function Mt(s,t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.__wasm_bindgen_func_elem_7523(i,s,t);var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),o=a().getInt32(i+8,!0);if(o)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function qt(s,t){try{let o=_.__wbindgen_add_to_stack_pointer(-16);_.__wasm_bindgen_func_elem_7519(o,s,t);var e=a().getInt32(o+0,!0),n=a().getInt32(o+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Lt(s,t,e){_.__wasm_bindgen_func_elem_24213(s,t,c(e))}function Wt(s,t,e,n){_.__wasm_bindgen_func_elem_32316(s,t,c(e),c(n))}var Nt=["open","closed"],tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_client_free(s>>>0,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_copydropdownmenuelement_free(s>>>0,1)),dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_exportdropdownmenuelement_free(s>>>0,1)),wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_genericsqlvirtualservermodel_free(s>>>0,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_perspectivedebugpluginelement_free(s>>>0,1)),et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_perspectiveviewerelement_free(s>>>0,1)),nt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_proxysession_free(s>>>0,1)),pt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_table_free(s>>>0,1)),mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_view_free(s>>>0,1)),_t=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_virtualdataslice_free(s>>>0,1)),vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_virtualserver_free(s>>>0,1));function c(s){U===x.length&&x.push(x.length+1);let t=U;return U=x[t],x[t]=s,t}function X(s,t){if(!(s instanceof t))throw new Error(`expected instance of ${t.name}`)}function ct(s){if(z==1)throw new Error("out of js stack");return x[--z]=s,z}var Q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>s.dtor(s.a,s.b));function ot(s){let t=typeof s;if(t=="number"||t=="boolean"||s==null)return`${s}`;if(t=="string")return`"${s}"`;if(t=="symbol"){let o=s.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){let o=s.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(s)){let o=s.length,i="[";o>0&&(i+=ot(s[0]));for(let b=1;b<o;b++)i+=", "+ot(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 Dt(s){s<132||(x[s]=U,U=s)}function Bt(s,t){return s=s>>>0,$t().subarray(s/4,s/4+t)}function Ut(s,t){return s=s>>>0,Gt().subarray(s/8,s/8+t)}function Ht(s,t){return s=s>>>0,Jt().subarray(s/4,s/4+t)}function ht(s,t){s=s>>>0;let e=a(),n=[];for(let o=s;o<s+4*t;o+=4)n.push(u(e.getUint32(o,!0)));return n}function Vt(s,t){return s=s>>>0,Yt().subarray(s/4,s/4+t)}function T(s,t){return s=s>>>0,P().subarray(s/1,s/1+t)}function w(s,t){return s===0?r(t):Xt(s,t)}var A=null;function a(){return(A===null||A.buffer.detached===!0||A.buffer.detached===void 0&&A.buffer!==_.memory.buffer)&&(A=new DataView(_.memory.buffer)),A}var L=null;function $t(){return(L===null||L.byteLength===0)&&(L=new Float32Array(_.memory.buffer)),L}var W=null;function Gt(){return(W===null||W.byteLength===0)&&(W=new Float64Array(_.memory.buffer)),W}var N=null;function Jt(){return(N===null||N.byteLength===0)&&(N=new Int32Array(_.memory.buffer)),N}function Xt(s,t){return s=s>>>0,te(s,t)}var D=null;function Yt(){return(D===null||D.byteLength===0)&&(D=new Uint32Array(_.memory.buffer)),D}var B=null;function P(){return(B===null||B.byteLength===0)&&(B=new Uint8Array(_.memory.buffer)),B}function r(s){return x[s]}function d(s,t){try{return s.apply(this,t)}catch(e){_.__wbindgen_export3(c(e))}}var x=new Array(128).fill(void 0);x.push(void 0,null,!0,!1);var U=x.length;function f(s){return s==null}function E(s,t,e,n){let o={a:s,b:t,cnt:1,dtor:e},i=(...b)=>{o.cnt++;try{return n(o.a,o.b,...b)}finally{i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--o.cnt===0&&(o.dtor(o.a,o.b),o.a=0,Q.unregister(o))},Q.register(i,o,o),i}function S(s,t,e,n){let o={a:s,b:t,cnt:1,dtor:e},i=(...b)=>{o.cnt++;let g=o.a;o.a=0;try{return n(g,o.b,...b)}finally{o.a=g,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--o.cnt===0&&(o.dtor(o.a,o.b),o.a=0,Q.unregister(o))},Q.register(i,o,o),i}function Kt(s,t){let e=t(s.length*1,1)>>>0;return P().set(s,e/1),p=s.length,e}function Qt(s,t){let e=t(s.length*4,4)>>>0,n=a();for(let o=0;o<s.length;o++)n.setUint32(e+4*o,c(s[o]),!0);return p=s.length,e}function m(s,t,e){if(e===void 0){let g=yt.encode(s),l=t(g.length,1)>>>0;return P().subarray(l,l+g.length).set(g),p=g.length,l}let n=s.length,o=t(n,1)>>>0,i=P(),b=0;for(;b<n;b++){let g=s.charCodeAt(b);if(g>127)break;i[o+b]=g}if(b!==n){b!==0&&(s=s.slice(b)),o=e(o,n,n=b+s.length*3,1)>>>0;let g=P().subarray(o+b,o+n),l=yt.encodeInto(s,g);b+=l.written,o=e(o,n,b,1)>>>0}return p=b,o}var z=128;function u(s){let t=r(s);return Dt(s),t}var K=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});K.decode();var Zt=2146435072,rt=0;function te(s,t){return rt+=t,rt>=Zt&&(K=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),K.decode(),rt=t),K.decode(P().subarray(s,s+t))}var yt=new TextEncoder,p=0,ee,_;function It(s,t){return _=s.exports,ee=t,A=null,L=null,W=null,N=null,D=null,B=null,_}async function ne(s,t){if(typeof Response=="function"&&s instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(s,t)}catch(o){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",o);else throw o}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 _e(s){if(_!==void 0)return _;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=xt();s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));let e=new WebAssembly.Instance(s,t);return It(e,s)}async function kt(s){if(_!==void 0)return _;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=xt();(typeof s=="string"||typeof Request=="function"&&s instanceof Request||typeof URL=="function"&&s instanceof URL)&&(s=fetch(s));let{instance:e,module:n}=await ne(await s,t);return It(e,n)}export{F as Client,H as CopyDropDownMenuElement,V as ExportDropDownMenuElement,$ as GenericSQLVirtualServerModel,G as PerspectiveDebugPluginElement,R as PerspectiveViewerElement,O as ProxySession,j as Table,y as View,M as VirtualDataSlice,J as VirtualServer,kt as default,Ft as get_wasm_module,Rt as get_worker_url,Ct as init,_e as initSync,Tt as registerPlugin};\n',S=null;async function wt(){if(S)return S;let t=new Blob([ft],{type:"application/javascript"});return S=URL.createObjectURL(t),S}async function pt(t,e){let n=await wt(),[_,r]=await Promise.all([e===void 0?import(n):e,gt(t).then(i=>WebAssembly.compile(i))]);await _.default({module_or_path:r}),await _.init(r,n)}var St={init_client:pt};export{ht as a,mt as b,vt as c,yt as d,It as e,Et as f,xt as g,pt as h,St as i};
//# sourceMappingURL=chunk-JXGETEPW.js.map