@perspective-dev/viewer 5.7.0 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/perspective-viewer.js +10 -10
- package/dist/cdn/perspective-viewer.js.map +4 -4
- package/dist/custom-elements.json +60 -3
- package/dist/docs/perspective-docs.json +1 -1
- package/dist/esm/bootstrap.d.ts +33 -4
- package/dist/esm/perspective-viewer.d.ts +5 -3
- package/dist/esm/perspective-viewer.js +124 -120
- package/dist/esm/perspective-viewer.js.map +3 -3
- package/dist/ts-rs/Layout.d.ts +1 -1
- package/dist/ts-rs/OptionalUpdate.d.ts +4 -0
- package/dist/ts-rs/PanelViewerConfig.d.ts +3 -3
- package/dist/ts-rs/SplitLayout.d.ts +2 -1
- package/dist/ts-rs/ViewOnUpdateResp.d.ts +1 -1
- package/dist/ts-rs/ViewerConfig.d.ts +14 -10
- package/dist/ts-rs/ViewerConfigInitial.d.ts +2 -2
- package/dist/ts-rs/ViewerConfigUpdate.d.ts +4 -0
- package/dist/ts-rs/WorkspaceConfig.d.ts +16 -2
- package/dist/ts-rs/WorkspaceConfigUpdate.d.ts +7 -6
- package/dist/wasm/perspective-viewer.d.ts +44 -28
- package/dist/wasm/perspective-viewer.js +187 -129
- package/dist/wasm/perspective-viewer.wasm +0 -0
- package/dist/wasm/perspective-viewer.wasm.d.ts +20 -18
- package/package.json +5 -5
- /package/dist/wasm/snippets/{perspective-viewer-c26bfdc60d367a99 → perspective-viewer-d50f032e5aa67e6f}/inline0.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-c26bfdc60d367a99 → perspective-viewer-d50f032e5aa67e6f}/inline1.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-c26bfdc60d367a99 → perspective-viewer-d50f032e5aa67e6f}/inline2.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-c26bfdc60d367a99 → perspective-viewer-d50f032e5aa67e6f}/inline3.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-c26bfdc60d367a99 → perspective-viewer-d50f032e5aa67e6f}/inline4.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-c26bfdc60d367a99 → perspective-viewer-d50f032e5aa67e6f}/inline5.js +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
// ../../node_modules/.pnpm/regular-layout@0.7.0/node_modules/regular-layout/dist/index.js
|
|
2
2
|
var O = { 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: 0.15, SPLIT_EDGE_TOLERANCE: 0.33, SPLIT_ROOT_EDGE_TOLERANCE: 0.03, GRID_TRACK_COLLAPSE_TOLERANCE: 1e-3, OVERLAY_DEFAULT: "absolute", GRID_DIVIDER_SIZE: 6, GRID_DIVIDER_CHECK_TARGET: !0 });
|
|
3
|
-
function
|
|
3
|
+
function it(t, e, n) {
|
|
4
4
|
return (e.length === 0 || Math.abs(n - e[e.length - 1]) > t.GRID_TRACK_COLLAPSE_TOLERANCE) && e.push(n), e;
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
return e.sort((n, r) => n - r).reduce(
|
|
6
|
+
function ot(t, e) {
|
|
7
|
+
return e.sort((n, r) => n - r).reduce(it.bind(void 0, t), []);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function k(t, e, n, r, _) {
|
|
10
10
|
if (t.type === "tab-layout") return [n, r];
|
|
11
11
|
let i = [n, r];
|
|
12
12
|
if (t.orientation === e) {
|
|
13
13
|
let o = n, a = r - n;
|
|
14
14
|
for (let c = 0; c < t.children.length; c++) {
|
|
15
15
|
let g = t.sizes[c], u = o + g * a;
|
|
16
|
-
i.push(...
|
|
16
|
+
i.push(...k(t.children[c], e, o, u, _)), o = u;
|
|
17
17
|
}
|
|
18
|
-
} else for (let o of t.children) i.push(...
|
|
19
|
-
return
|
|
18
|
+
} else for (let o of t.children) i.push(...k(o, e, n, r, _));
|
|
19
|
+
return ot(_, i);
|
|
20
20
|
}
|
|
21
21
|
function I(t, e, n) {
|
|
22
22
|
let r = e.findIndex((_) => Math.abs(_ - n) < t.GRID_TRACK_COLLAPSE_TOLERANCE);
|
|
@@ -24,8 +24,8 @@ function I(t, e, n) {
|
|
|
24
24
|
}
|
|
25
25
|
function F(t, e, n, r, _, i, o, a) {
|
|
26
26
|
if (t.type === "tab-layout") {
|
|
27
|
-
let b = t.selected ?? 0, w = I(a, e, r), v = I(a, e, _), D = I(a, n, i),
|
|
28
|
-
return t.tabs.map((
|
|
27
|
+
let b = t.selected ?? 0, w = I(a, e, r), v = I(a, e, _), D = I(a, n, i), nt = I(a, n, o);
|
|
28
|
+
return t.tabs.map((rt, _t) => ({ child: rt, colStart: w, colEnd: v, rowStart: D, rowEnd: nt, zIndex: t.tabs.length > 1 && _t === b ? 1 : void 0 }));
|
|
29
29
|
}
|
|
30
30
|
let { children: c, sizes: g, orientation: u } = t, s = u === "horizontal", l = s ? r : i, d = s ? _ - r : o - i, f = [];
|
|
31
31
|
for (let b = 0; b < c.length; b++) {
|
|
@@ -41,7 +41,7 @@ function p(t, e, n = m) {
|
|
|
41
41
|
return [z("100%", "100%"), ...t.tabs.map((d, f) => S(n, d, "1", "1", l && f === s ? 1 : void 0))].join(`
|
|
42
42
|
`);
|
|
43
43
|
}
|
|
44
|
-
let r = (s) => s.slice(0, -1).map((l, d) => s[d + 1] - l).map((l) => `${n.SHOULD_ROUND ? Math.round(l * 100) : l * 100}fr`).join(" "), _ =
|
|
44
|
+
let r = (s) => s.slice(0, -1).map((l, d) => s[d + 1] - l).map((l) => `${n.SHOULD_ROUND ? Math.round(l * 100) : l * 100}fr`).join(" "), _ = k(t, "horizontal", 0, 1, n), i = r(_), o = k(t, "vertical", 0, 1, n), a = r(o), c = (s, l) => l - s === 1 ? `${s + 1}` : `${s + 1} / ${l + 1}`, g = F(t, _, o, 0, 1, 0, 1, n), u = [z(a, i)];
|
|
45
45
|
for (let s of g) {
|
|
46
46
|
let l = c(s.colStart, s.colEnd), d = c(s.rowStart, s.rowEnd);
|
|
47
47
|
u.push(S(n, s.child, d, l, s.zIndex)), s.child === e?.[1] && (u.push(S(n, e[0], d, l)), u.push(`:host ::slotted([${n.CHILD_ATTRIBUTE_NAME}=${e[0]}]){z-index:2}`));
|
|
@@ -49,15 +49,15 @@ function p(t, e, n = m) {
|
|
|
49
49
|
return u.join(`
|
|
50
50
|
`);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function at(t, e = m) {
|
|
53
53
|
return [z("100%", "100%"), S(e, t, "1", "1")].join(`
|
|
54
54
|
`);
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var st = { row_start: 0, row_end: 1, col_start: 0, col_end: 1 };
|
|
57
57
|
function h(t, e, n, r = null) {
|
|
58
|
-
return
|
|
58
|
+
return G(t, e, n, r);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function G(t, e, n, r, _ = null, i = structuredClone(st), o = []) {
|
|
61
61
|
if (t < 0 || e < 0 || t > 1 || e > 1) return null;
|
|
62
62
|
if (n.type === "tab-layout") {
|
|
63
63
|
let f = n.selected ?? 0, b = i.col_end - i.col_start, w = i.row_end - i.row_start;
|
|
@@ -70,12 +70,12 @@ function q(t, e, n, r, _ = null, i = structuredClone(ot), o = []) {
|
|
|
70
70
|
let w = r.size / s;
|
|
71
71
|
if (Math.abs(c - b) < w) return { path: [...o, f], type: n.orientation, view_window: { ...i, [g]: l, [u]: b } };
|
|
72
72
|
}
|
|
73
|
-
if (c >= l && (c < b || f === n.children.length - 1)) return
|
|
73
|
+
if (c >= l && (c < b || f === n.children.length - 1)) return G(t, e, n.children[f], r, n.orientation, { ...i, [g]: l, [u]: b }, [...o, f]);
|
|
74
74
|
l = b;
|
|
75
75
|
}
|
|
76
76
|
return null;
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function T(t, e) {
|
|
79
79
|
if (t.type === "tab-layout") {
|
|
80
80
|
if (t.tabs.includes(e)) {
|
|
81
81
|
let o = t.tabs.filter((a) => a !== e);
|
|
@@ -87,7 +87,7 @@ function k(t, e) {
|
|
|
87
87
|
if (r !== -1) {
|
|
88
88
|
let o = n.children[r];
|
|
89
89
|
if (o.tabs.length === 1) {
|
|
90
|
-
let a = n.children.filter((g, u) => u !== r), c =
|
|
90
|
+
let a = n.children.filter((g, u) => u !== r), c = ct(n.sizes, r);
|
|
91
91
|
if (a.length === 1) return a[0];
|
|
92
92
|
n.children = a, n.sizes = c;
|
|
93
93
|
} else o.tabs.splice(o.tabs.indexOf(e), 1), o.selected && o.selected >= o.tabs.length && o.selected--;
|
|
@@ -95,14 +95,14 @@ function k(t, e) {
|
|
|
95
95
|
}
|
|
96
96
|
let _ = !1, i = n.children.map((o) => {
|
|
97
97
|
if (o.type === "split-layout") {
|
|
98
|
-
let a =
|
|
98
|
+
let a = T(o, e);
|
|
99
99
|
return a !== o && (_ = !0), a;
|
|
100
100
|
}
|
|
101
101
|
return o;
|
|
102
102
|
});
|
|
103
103
|
return _ && (n.children = i), n;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ct(t, e) {
|
|
106
106
|
let n = [], r = t[e], _ = 0;
|
|
107
107
|
for (let i = 0; i < t.length; i++) i !== e && (_ += t[i]);
|
|
108
108
|
for (let i = 0; i < t.length; i++) if (i !== e) {
|
|
@@ -165,11 +165,11 @@ function L(t, e, n, r = m) {
|
|
|
165
165
|
if (i.type === "split-layout") if (n === void 0) i.sizes = i.sizes.map((a) => 1 / i.sizes.length);
|
|
166
166
|
else {
|
|
167
167
|
let a = o[i.orientation], c = e[e.length - 1];
|
|
168
|
-
c < i.sizes.length - 1 && (i.sizes =
|
|
168
|
+
c < i.sizes.length - 1 && (i.sizes = lt(r, i.sizes, c, a));
|
|
169
169
|
}
|
|
170
170
|
return _;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function lt(t, e, n, r) {
|
|
173
173
|
let _ = [...e], i = 0;
|
|
174
174
|
for (let a = 0; a <= n; a++) i += e[a];
|
|
175
175
|
let o = 0;
|
|
@@ -185,7 +185,7 @@ function st(t, e, n, r) {
|
|
|
185
185
|
}
|
|
186
186
|
return _;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function K(t, e, n, r) {
|
|
189
189
|
let _ = parseFloat(n.paddingLeft), i = parseFloat(n.paddingTop), o = e.width - _ - parseFloat(n.paddingRight), a = e.height - i - parseFloat(n.paddingBottom), c = _ + t.col_start * o, g = i + t.row_start * a, u = (t.col_end - t.col_start) * o, s = (t.row_end - t.row_start) * a;
|
|
190
190
|
if (r) {
|
|
191
191
|
let l = parseFloat(r.marginTop), d = parseFloat(r.marginRight), f = parseFloat(r.marginBottom), b = parseFloat(r.marginLeft);
|
|
@@ -193,37 +193,37 @@ function B(t, e, n, r) {
|
|
|
193
193
|
}
|
|
194
194
|
return { x: c, y: g, width: u, height: s };
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function ut(t, e, n, r, _ = m, i) {
|
|
197
197
|
if (!r) return `:host ::slotted([${_.CHILD_ATTRIBUTE_NAME}="${t}"]){display:none;}`;
|
|
198
|
-
let o =
|
|
198
|
+
let o = K(r.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;`;
|
|
199
199
|
return `::slotted([${_.CHILD_ATTRIBUTE_NAME}="${t}"]){${a}}`;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function N(t) {
|
|
202
202
|
if (t.type === "tab-layout") return t.selected = t.selected || 0, t;
|
|
203
203
|
let e = [], n = [];
|
|
204
204
|
for (let r = 0; r < t.children.length; r++) {
|
|
205
|
-
let _ = t.children[r], i = t.sizes[r], o =
|
|
205
|
+
let _ = t.children[r], i = t.sizes[r], o = N(_);
|
|
206
206
|
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);
|
|
207
207
|
else e.push(o), n.push(i);
|
|
208
208
|
}
|
|
209
209
|
return e.length === 1 ? e[0] : { type: "split-layout", orientation: t.orientation, children: e, sizes: n };
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
return
|
|
211
|
+
function gt(t, e) {
|
|
212
|
+
return Y(t, e, []);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Y(t, e, n) {
|
|
215
215
|
if (e.type === "tab-layout") return e.tabs.includes(t) ? n : null;
|
|
216
216
|
for (let r = 0; r < e.children.length; r++) {
|
|
217
|
-
let _ =
|
|
217
|
+
let _ = Y(t, e.children[r], [...n, r]);
|
|
218
218
|
if (_) return _;
|
|
219
219
|
}
|
|
220
220
|
return null;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function dt(t) {
|
|
223
223
|
let e = {};
|
|
224
|
-
return
|
|
224
|
+
return Z(t, e, [], null, { row_start: 0, row_end: 1, col_start: 0, col_end: 1 }), e;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Z(t, e, n, r, _) {
|
|
227
227
|
if (t.type === "tab-layout") {
|
|
228
228
|
let u = t.selected ?? 0, s = t.tabs[u], l = (_.col_start + _.col_end) / 2, d = (_.row_start + _.row_end) / 2;
|
|
229
229
|
e[s] = { type: "layout-path", layout: t, slot: s, path: n, view_window: _, is_edge: !1, column: l, row: d, column_offset: 0.5, row_offset: 0.5, orientation: r || "horizontal" };
|
|
@@ -232,10 +232,10 @@ function G(t, e, n, r, _) {
|
|
|
232
232
|
let i = t.orientation === "vertical", o = i ? "row_start" : "col_start", a = i ? "row_end" : "col_end", c = _[o], g = _[a] - _[o];
|
|
233
233
|
for (let u = 0; u < t.children.length; u++) {
|
|
234
234
|
let s = c + g * t.sizes[u], l = { ..._, [o]: c, [a]: s };
|
|
235
|
-
|
|
235
|
+
Z(t.children[u], e, [...n, u], t.orientation, l), c = s;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var ft = class {
|
|
239
239
|
constructor(t, e, n) {
|
|
240
240
|
this.P = t, this.S = e, this.T = n;
|
|
241
241
|
}
|
|
@@ -283,11 +283,11 @@ var gt = class {
|
|
|
283
283
|
}
|
|
284
284
|
#i(t, e) {
|
|
285
285
|
this.T?.();
|
|
286
|
-
let n = { calculatePresizePaths: () =>
|
|
286
|
+
let n = { calculatePresizePaths: () => dt(t), overlay: e }, r = new CustomEvent(this.S, { cancelable: !0, detail: n });
|
|
287
287
|
return this.P.dispatchEvent(r);
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
|
-
function
|
|
290
|
+
function $(t, e, n, r, _, i, o = m) {
|
|
291
291
|
if (t < o.SPLIT_ROOT_EDGE_TOLERANCE) return E(n, r, _, [0], !0, "horizontal");
|
|
292
292
|
if (t > 1 - o.SPLIT_ROOT_EDGE_TOLERANCE) return E(n, r, _, _.path.length > 0 ? _.path : [1], !1, "horizontal");
|
|
293
293
|
if (e < o.SPLIT_ROOT_EDGE_TOLERANCE) return E(n, r, _, [0], !0, "vertical");
|
|
@@ -310,10 +310,10 @@ function C(t, e, n, r, _) {
|
|
|
310
310
|
i = [...n.path.slice(0, -1), r ? c : c + 1];
|
|
311
311
|
}
|
|
312
312
|
else i = [...n.path, r ? 0 : 1];
|
|
313
|
-
let o = y(t, e, i, _), a =
|
|
313
|
+
let o = y(t, e, i, _), a = bt(o, i);
|
|
314
314
|
return { ...n, path: i, slot: n.slot, is_edge: !0, orientation: _, view_window: a };
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function bt(t, e) {
|
|
317
317
|
let n = { row_start: 0, row_end: 1, col_start: 0, col_end: 1 }, r = t;
|
|
318
318
|
for (let _ of e) {
|
|
319
319
|
if (r.type === "tab-layout") break;
|
|
@@ -322,15 +322,15 @@ function dt(t, e) {
|
|
|
322
322
|
}
|
|
323
323
|
return n;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
325
|
+
var wt = class {
|
|
326
326
|
constructor(t) {
|
|
327
327
|
this.p = t;
|
|
328
328
|
}
|
|
329
329
|
async set(t, { slot: e }, n = this.p.physics.OVERLAY_CLASSNAME, r = this.p.physics.OVERLAY_DEFAULT) {
|
|
330
|
-
let _ = this.p, i =
|
|
330
|
+
let _ = this.p, i = T(_.panel, e), o = `:scope > [${_.physics.CHILD_ATTRIBUTE_NAME}="${e}"]`, a = _.querySelector(o);
|
|
331
331
|
a && a.classList.add(n);
|
|
332
332
|
let [c, g, u, s] = _.relativeCoordinates(t, !0), l = h(c, g, i);
|
|
333
|
-
l && (l =
|
|
333
|
+
l && (l = $(c, g, i, e, l, u, _.physics));
|
|
334
334
|
let d = l ? { slot: e, path: l } : null;
|
|
335
335
|
await _.presizeQueue.run(i, () => {
|
|
336
336
|
if (r === "grid" && l) {
|
|
@@ -339,7 +339,7 @@ var ft = class {
|
|
|
339
339
|
} else if (r === "absolute") {
|
|
340
340
|
let w = p(i, void 0, _.physics);
|
|
341
341
|
for (; a?.tagName === "SLOT" && a; ) a = a.assignedElements()[0];
|
|
342
|
-
let v = a ? getComputedStyle(a) : void 0, D =
|
|
342
|
+
let v = a ? getComputedStyle(a) : void 0, D = ut(e, u, s, l, _.physics, v);
|
|
343
343
|
_.stylesheet.replaceSync([w, D].join(`
|
|
344
344
|
`));
|
|
345
345
|
}
|
|
@@ -348,19 +348,19 @@ var ft = class {
|
|
|
348
348
|
_.dispatchEvent(b);
|
|
349
349
|
}
|
|
350
350
|
async clear(t, { slot: e, layout: n }, r = this.p.physics.OVERLAY_CLASSNAME) {
|
|
351
|
-
let _ = this.p, i =
|
|
351
|
+
let _ = this.p, i = T(_.panel, e), o = `:scope > [${_.physics.CHILD_ATTRIBUTE_NAME}="${e}"]`, a = _.querySelector(o);
|
|
352
352
|
if (t === null) {
|
|
353
353
|
await _.restore(n);
|
|
354
354
|
return;
|
|
355
355
|
}
|
|
356
356
|
let [c, g, u] = _.relativeCoordinates(t, !1), s = h(c, g, i);
|
|
357
|
-
if (s && (s =
|
|
357
|
+
if (s && (s = $(c, g, i, e, s, u, _.physics)), s) {
|
|
358
358
|
let l = s?.is_edge ? s.orientation : void 0, d = y(i, e, s.path, l);
|
|
359
359
|
await _.restore(d);
|
|
360
360
|
} else await _.restore(n);
|
|
361
361
|
a && a.classList.remove(r);
|
|
362
362
|
}
|
|
363
|
-
},
|
|
363
|
+
}, pt = class extends HTMLElement {
|
|
364
364
|
s;
|
|
365
365
|
n;
|
|
366
366
|
r;
|
|
@@ -377,9 +377,9 @@ var ft = class {
|
|
|
377
377
|
constructor() {
|
|
378
378
|
super(), this.t = m, this.n = structuredClone(O), this.r = this.n, this.s = this.attachShadow({ mode: "open" }), this.s.innerHTML = "<slot></slot>", this.a = new CSSStyleSheet(), this.h = new CSSStyleSheet(), this.u = !1;
|
|
379
379
|
let t = `${this.t.CUSTOM_EVENT_NAME_PREFIX}-before-resize`;
|
|
380
|
-
this.l = new
|
|
380
|
+
this.l = new ft(this, t, () => {
|
|
381
381
|
this.i = void 0;
|
|
382
|
-
}), this.E = new
|
|
382
|
+
}), this.E = new wt(this.create_overlay_host()), this.s.adoptedStyleSheets = [this.a, this.h];
|
|
383
383
|
}
|
|
384
384
|
connectedCallback() {
|
|
385
385
|
this.L ??= new ResizeObserver(() => {
|
|
@@ -393,7 +393,7 @@ var ft = class {
|
|
|
393
393
|
let [e, n, r] = this.relativeCoordinates(t, !1);
|
|
394
394
|
return h(e, n, this.n);
|
|
395
395
|
};
|
|
396
|
-
calculatePath = (t) =>
|
|
396
|
+
calculatePath = (t) => gt(t, this.n);
|
|
397
397
|
setOverlayState = async (t, e, n, r) => {
|
|
398
398
|
await this.E.set(t, e, n, r);
|
|
399
399
|
};
|
|
@@ -405,7 +405,7 @@ var ft = class {
|
|
|
405
405
|
typeof n == "boolean" && n ? r = "horizontal" : typeof n == "string" && (r = n), await this.restore(y(this.r, t, e, r));
|
|
406
406
|
};
|
|
407
407
|
removePanel = async (t) => {
|
|
408
|
-
await this.restore(
|
|
408
|
+
await this.restore(T(this.r, t));
|
|
409
409
|
};
|
|
410
410
|
select = async (t) => {
|
|
411
411
|
let e = structuredClone(this.r), n = this.getPanel(t, e);
|
|
@@ -430,7 +430,7 @@ var ft = class {
|
|
|
430
430
|
if (!this.getPanel(t, this.r)) return;
|
|
431
431
|
let e = { type: "tab-layout", tabs: [t], selected: 0 };
|
|
432
432
|
await this.l.run(e, () => {
|
|
433
|
-
this.f = t, this.a.replaceSync(
|
|
433
|
+
this.f = t, this.a.replaceSync(at(t, this.t));
|
|
434
434
|
});
|
|
435
435
|
};
|
|
436
436
|
minimize = async () => {
|
|
@@ -439,14 +439,14 @@ var ft = class {
|
|
|
439
439
|
});
|
|
440
440
|
};
|
|
441
441
|
restoreSync = (t, e = !1) => {
|
|
442
|
-
this.l.cancelPending(), this.i = void 0, this.f = void 0, this.n = e ? t :
|
|
442
|
+
this.l.cancelPending(), this.i = void 0, this.f = void 0, this.n = e ? t : N(t), this.r = this.n;
|
|
443
443
|
let n = p(this.n, void 0, this.t);
|
|
444
444
|
this.a.replaceSync(n);
|
|
445
445
|
let r = `${this.t.CUSTOM_EVENT_NAME_PREFIX}-update`, _ = new CustomEvent(r, { detail: this.n });
|
|
446
446
|
this.dispatchEvent(_);
|
|
447
447
|
};
|
|
448
448
|
restore = async (t, e = !1) => {
|
|
449
|
-
let n = e ? t :
|
|
449
|
+
let n = e ? t : N(t);
|
|
450
450
|
this.r = n, await this.l.run(n, () => {
|
|
451
451
|
this.f = void 0, this.n = n;
|
|
452
452
|
let r = p(this.n, void 0, this.t);
|
|
@@ -474,7 +474,7 @@ var ft = class {
|
|
|
474
474
|
this.i || (this.i = { box: this.getBoundingClientRect(), style: getComputedStyle(this) });
|
|
475
475
|
let n = this.i.box, r = this.i.style, _;
|
|
476
476
|
e && (_ = getComputedStyle(e));
|
|
477
|
-
let i =
|
|
477
|
+
let i = K(t, n, r, _);
|
|
478
478
|
return new DOMRect(n.left + i.x, n.top + i.y, i.width, i.height);
|
|
479
479
|
};
|
|
480
480
|
diffCoordinates = (t, e) => {
|
|
@@ -527,7 +527,7 @@ var ft = class {
|
|
|
527
527
|
await this.restore(c, !0), this.d = void 0;
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
|
-
},
|
|
530
|
+
}, ht = `
|
|
531
531
|
:host{box-sizing:border-box;flex-direction:column;pointer-events:none}
|
|
532
532
|
[part~="titlebar"]{height:24px;user-select:none;overflow:hidden}
|
|
533
533
|
[part~="container"]{flex:1 1 auto;pointer-events:auto}
|
|
@@ -537,11 +537,11 @@ var ft = class {
|
|
|
537
537
|
.tabs{display:grid;width:100%;height:100%}
|
|
538
538
|
.tabs slot[name="tab"]{display:grid;grid-row:1;pointer-events:auto}
|
|
539
539
|
.tabs regular-layout-tab{display:flex;overflow:hidden}
|
|
540
|
-
`,
|
|
540
|
+
`, mt = `
|
|
541
541
|
<div part="titlebar"><div class="tabs" part="titlebar-track"><slot name="tab"><regular-layout-tab></regular-layout-tab></slot></div></div>
|
|
542
542
|
<div part="container"><slot></slot></div>
|
|
543
|
-
`,
|
|
544
|
-
` ? "\\A " : `\\${e}`)}"`,
|
|
543
|
+
`, vt = (t) => `"${t.replace(/[\\"\n]/g, (e) => e === `
|
|
544
|
+
` ? "\\A " : `\\${e}`)}"`, yt = (t) => `--regular-layout-${globalThis.CSS.escape(t)}--title`, It = class extends HTMLElement {
|
|
545
545
|
s;
|
|
546
546
|
v;
|
|
547
547
|
b;
|
|
@@ -550,7 +550,7 @@ var ft = class {
|
|
|
550
550
|
g;
|
|
551
551
|
o = null;
|
|
552
552
|
connectedCallback() {
|
|
553
|
-
this.v ??= new CSSStyleSheet(), this.v.replaceSync(
|
|
553
|
+
this.v ??= new CSSStyleSheet(), this.v.replaceSync(ht), this.b ??= new CSSStyleSheet(), this.s ??= this.attachShadow({ mode: "open" }), this.s.adoptedStyleSheets = [this.v, this.b], this.s.innerHTML = mt, this.e = this.parentElement, this._ = this.s.children[0], this.g = this._.querySelector("regular-layout-tab"), this._.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.e.addEventListener("regular-layout-update", this.drawTabs), this.e.addEventListener("regular-layout-before-update", this.drawTabs);
|
|
554
554
|
}
|
|
555
555
|
disconnectedCallback() {
|
|
556
556
|
this._.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.e.removeEventListener("regular-layout-update", this.drawTabs), this.e.removeEventListener("regular-layout-before-update", this.drawTabs);
|
|
@@ -586,10 +586,10 @@ var ft = class {
|
|
|
586
586
|
this.toggleAttribute("inactive", !i), this.g.populate(this.e, r, _), this.drawTab(n, _, r.tabs.length);
|
|
587
587
|
};
|
|
588
588
|
drawTab = (t, e, n) => {
|
|
589
|
-
this.b.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(${
|
|
589
|
+
this.b.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(${yt(t)}, ${vt(t)})}`].join(`
|
|
590
590
|
`));
|
|
591
591
|
};
|
|
592
|
-
},
|
|
592
|
+
}, xt = class extends HTMLElement {
|
|
593
593
|
e;
|
|
594
594
|
c;
|
|
595
595
|
m;
|
|
@@ -608,12 +608,12 @@ var ft = class {
|
|
|
608
608
|
t.button === 0 && this.c !== void 0 && this.m !== void 0 && this.e?.select(this.c.tabs[this.m]);
|
|
609
609
|
};
|
|
610
610
|
};
|
|
611
|
-
customElements.define("regular-layout",
|
|
612
|
-
customElements.define("regular-layout-frame",
|
|
613
|
-
customElements.define("regular-layout-tab",
|
|
611
|
+
customElements.define("regular-layout", pt);
|
|
612
|
+
customElements.define("regular-layout-frame", It);
|
|
613
|
+
customElements.define("regular-layout-tab", xt);
|
|
614
614
|
|
|
615
615
|
// src/ts/plugin.ts
|
|
616
|
-
var
|
|
616
|
+
var M = class extends HTMLElement {
|
|
617
617
|
constructor() {
|
|
618
618
|
super();
|
|
619
619
|
}
|
|
@@ -652,7 +652,7 @@ var N = class extends HTMLElement {
|
|
|
652
652
|
};
|
|
653
653
|
|
|
654
654
|
// src/ts/providers.ts
|
|
655
|
-
var
|
|
655
|
+
var Et = {
|
|
656
656
|
/**
|
|
657
657
|
* Anthropic's OpenAI-compatibility endpoint. `apiKey` required.
|
|
658
658
|
*/
|
|
@@ -702,7 +702,7 @@ var It = {
|
|
|
702
702
|
};
|
|
703
703
|
|
|
704
704
|
// src/ts/column-format.ts
|
|
705
|
-
var
|
|
705
|
+
var J = [
|
|
706
706
|
"dateStyle",
|
|
707
707
|
"timeStyle",
|
|
708
708
|
"weekday",
|
|
@@ -713,25 +713,25 @@ var Y = [
|
|
|
713
713
|
"minute",
|
|
714
714
|
"second",
|
|
715
715
|
"fractionalSecondDigits"
|
|
716
|
-
],
|
|
716
|
+
], St = [
|
|
717
717
|
"timeZone",
|
|
718
718
|
"hour12"
|
|
719
719
|
];
|
|
720
|
-
function
|
|
721
|
-
return
|
|
720
|
+
function Ct(t) {
|
|
721
|
+
return J.some((e) => t?.[e] !== void 0);
|
|
722
722
|
}
|
|
723
|
-
var
|
|
723
|
+
var kt = {
|
|
724
724
|
float: {
|
|
725
725
|
style: "decimal",
|
|
726
726
|
minimumFractionDigits: 2,
|
|
727
727
|
maximumFractionDigits: 2
|
|
728
728
|
}
|
|
729
|
-
},
|
|
729
|
+
}, Tt = {
|
|
730
730
|
dateStyle: "short",
|
|
731
731
|
timeStyle: "medium"
|
|
732
|
-
},
|
|
732
|
+
}, X = {
|
|
733
733
|
dateStyle: "short"
|
|
734
|
-
},
|
|
734
|
+
}, Pt = [
|
|
735
735
|
[
|
|
736
736
|
"style",
|
|
737
737
|
"currency",
|
|
@@ -744,48 +744,48 @@ var St = {
|
|
|
744
744
|
["minimumFractionDigits", "maximumFractionDigits"],
|
|
745
745
|
["minimumSignificantDigits", "maximumSignificantDigits"]
|
|
746
746
|
];
|
|
747
|
-
function
|
|
747
|
+
function Rt(t, e) {
|
|
748
748
|
let n = {};
|
|
749
749
|
for (let [_, i] of Object.entries(e ?? {}))
|
|
750
750
|
i != null && (n[_] = i);
|
|
751
751
|
let r = { ...t };
|
|
752
|
-
for (let _ of
|
|
752
|
+
for (let _ of Pt)
|
|
753
753
|
if (_.some((i) => i in n))
|
|
754
754
|
for (let i of _)
|
|
755
755
|
delete r[i];
|
|
756
756
|
return Object.assign(r, n);
|
|
757
757
|
}
|
|
758
|
-
function
|
|
759
|
-
let r = n ??
|
|
758
|
+
function Dt(t, e, n) {
|
|
759
|
+
let r = n ?? kt[t] ?? {}, _ = e ? Rt(r, e) : r;
|
|
760
760
|
return new Intl.NumberFormat(navigator.languages, _);
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
let r = [t, e, n], _ = r.find(
|
|
762
|
+
function Q(t, e, n) {
|
|
763
|
+
let r = [t, e, n], _ = r.find(Ct) ?? {}, i = {}, o = (a, c) => {
|
|
764
764
|
c !== void 0 && c[a] !== void 0 && (i[a] = c[a]);
|
|
765
765
|
};
|
|
766
|
-
for (let a of
|
|
766
|
+
for (let a of J)
|
|
767
767
|
o(a, _);
|
|
768
|
-
for (let a of
|
|
768
|
+
for (let a of St)
|
|
769
769
|
o(
|
|
770
770
|
a,
|
|
771
771
|
r.find((c) => c?.[a] !== void 0)
|
|
772
772
|
);
|
|
773
773
|
return i;
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function At(t, e) {
|
|
776
776
|
return new Intl.DateTimeFormat(
|
|
777
777
|
navigator.languages,
|
|
778
|
-
|
|
778
|
+
Q(t, e, Tt)
|
|
779
779
|
);
|
|
780
780
|
}
|
|
781
|
-
function
|
|
782
|
-
let { dateStyle: n } =
|
|
781
|
+
function Lt(t, e) {
|
|
782
|
+
let { dateStyle: n } = Q(t, e, X);
|
|
783
783
|
return new Intl.DateTimeFormat(navigator.languages, {
|
|
784
784
|
timeZone: "utc",
|
|
785
|
-
dateStyle: n ??
|
|
785
|
+
dateStyle: n ?? X.dateStyle
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function Ot(t) {
|
|
789
789
|
return t.split("|").at(-1) ?? t;
|
|
790
790
|
}
|
|
791
791
|
|
|
@@ -810,33 +810,31 @@ var V = class {
|
|
|
810
810
|
|
|
811
811
|
// src/ts/bootstrap.ts
|
|
812
812
|
import {
|
|
813
|
-
init as
|
|
814
|
-
MigrateLoader as zt,
|
|
813
|
+
init as Nt,
|
|
815
814
|
provide_viewer_runtime as Mt,
|
|
816
|
-
|
|
817
|
-
shared_migrate as Vt
|
|
815
|
+
shared_validator as U
|
|
818
816
|
} from "@perspective-dev/client/registry";
|
|
819
817
|
|
|
820
818
|
// worker:./perspective-viewer.ts
|
|
821
|
-
var Z = 'var kt=Object.defineProperty;var St=(s,t)=>{for(var e in t)kt(s,e,{get:t[e],enumerable:!0})};var J={};St(J,{Client:()=>R,GenericSQLVirtualServerModel:()=>U,PerspectiveDebugPluginElement:()=>V,PerspectiveViewerElement:()=>$,ProxySession:()=>j,Table:()=>z,View:()=>I,VirtualDataSlice:()=>M,VirtualServer:()=>G,default:()=>yt,getColumnConfigDefaults:()=>Ct,getPluginConfigDefaults:()=>At,get_wasm_module:()=>Rt,get_worker_url:()=>Et,init:()=>Tt,initSync:()=>ce,registerPlugin:()=>Ft,setColumnConfigDefaults:()=>Pt,setPluginConfigDefaults:()=>Ot});function ct(s){customElements.get(s)||customElements.define(s,class extends HTMLElement{})}var it=window.ClipboardItem;var st=window.ResizeObserver;var at=window.IntersectionObserver;function ut(s,t,e,n){if(customElements.get(t)){console.warn(`Custom element "${t}" is already registered; skipping duplicate registration (Perspective was loaded more than once on this page).`);return}let r=s[e],i=r.prototype;class b extends HTMLElement{constructor(){super(),this._instance=new r(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(...p){return this._instance[l].call(this._instance,...p)}});for(let l of n)Object.defineProperty(b,l,{value:function(...p){return s[l].call(s,...p)}});customElements.define(t,b)}var R=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,Q.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_client_free(t,0)}__getClassname(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.client___getClassname(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(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=v,r=_.client___unsafe_open_view(this.__wbg_ptr,e,n);return I.__wrap(r)}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),r=v,i=_.client_handle_error(this.__wbg_ptr,n,r,d(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,r){let i=m(n,_.__wbindgen_export,_.__wbindgen_export2),b=v,g=_.client_join(this.__wbg_ptr,c(t),c(e),i,b,d(r)?0:c(r));return u(g)}constructor(t,e){try{let b=_.__wbindgen_add_to_stack_pointer(-16);_.client_new(b,c(t),d(e)?0:c(e));var n=a().getInt32(b+0,!0),r=a().getInt32(b+4,!0),i=a().getInt32(b+8,!0);if(i)throw u(r);return this.__wbg_ptr=n>>>0,Q.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,ot(t));return j.__wrap(e)}finally{k[O++]=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=v,r=_.client_open_table(this.__wbg_ptr,e,n);return u(r)}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),d(e)?0:c(e));return u(n)}terminate(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.client_terminate(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=a().getInt32(r+8,!0);if(n)throw u(e);return u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(R.prototype[Symbol.dispose]=R.prototype.free);var U=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,gt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_genericsqlvirtualservermodel_free(t,0)}expressionDescribe(t,e){try{let l=_.__wbindgen_add_to_stack_pointer(-16),p=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=v,y=m(e,_.__wbindgen_export,_.__wbindgen_export2),x=v;_.genericsqlvirtualservermodel_expressionDescribe(l,this.__wbg_ptr,p,h,y,x);var n=a().getInt32(l+0,!0),r=a().getInt32(l+4,!0),i=a().getInt32(l+8,!0),b=a().getInt32(l+12,!0);if(b)throw u(i);var g=f(n,r);return n!==0&&_.__wbindgen_export4(n,r,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}expressionsDescribe(t,e){try{let l=_.__wbindgen_add_to_stack_pointer(-16),p=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=v;_.genericsqlvirtualservermodel_expressionsDescribe(l,this.__wbg_ptr,p,h,c(e));var n=a().getInt32(l+0,!0),r=a().getInt32(l+4,!0),i=a().getInt32(l+8,!0),b=a().getInt32(l+12,!0);if(b)throw u(i);var g=f(n,r);return n!==0&&_.__wbindgen_export4(n,r,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}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),r=a().getInt32(b+12,!0);if(r)throw u(n);var i=f(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,d(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return this.__wbg_ptr=e>>>0,gt.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableDescribe(t,e,n){try{let p=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=v;_.genericsqlvirtualservermodel_tableDescribe(p,this.__wbg_ptr,h,y,c(e),c(n));var r=a().getInt32(p+0,!0),i=a().getInt32(p+4,!0),b=a().getInt32(p+8,!0),g=a().getInt32(p+12,!0);if(g)throw u(b);var l=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),l}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableMakeView(t,e,n,r){try{let h=_.__wbindgen_add_to_stack_pointer(-16),y=m(t,_.__wbindgen_export,_.__wbindgen_export2),x=v,C=m(e,_.__wbindgen_export,_.__wbindgen_export2),q=v;_.genericsqlvirtualservermodel_tableMakeView(h,this.__wbg_ptr,y,x,C,q,c(n),c(r));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 p=f(i,b);return i!==0&&_.__wbindgen_export4(i,b,1),p}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),p=v;_.genericsqlvirtualservermodel_tableSchema(g,this.__wbg_ptr,l,p);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(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),p=v;_.genericsqlvirtualservermodel_tableSize(g,this.__wbg_ptr,l,p);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewCollapse(t,e,n){try{let p=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=v;_.genericsqlvirtualservermodel_viewCollapse(p,this.__wbg_ptr,h,y,c(e),n);var r=a().getInt32(p+0,!0),i=a().getInt32(p+4,!0),b=a().getInt32(p+8,!0),g=a().getInt32(p+12,!0);if(g)throw u(b);var l=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),l}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),p=v;_.genericsqlvirtualservermodel_viewColumnSize(g,this.__wbg_ptr,l,p);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(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),p=v;_.genericsqlvirtualservermodel_viewDelete(g,this.__wbg_ptr,l,p);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewExpand(t,e,n){try{let p=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=v;_.genericsqlvirtualservermodel_viewExpand(p,this.__wbg_ptr,h,y,c(e),n);var r=a().getInt32(p+0,!0),i=a().getInt32(p+4,!0),b=a().getInt32(p+8,!0),g=a().getInt32(p+12,!0);if(g)throw u(b);var l=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),l}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewGetData(t,e,n,r){try{let h=_.__wbindgen_add_to_stack_pointer(-16),y=m(t,_.__wbindgen_export,_.__wbindgen_export2),x=v;_.genericsqlvirtualservermodel_viewGetData(h,this.__wbg_ptr,y,x,c(e),c(n),c(r));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 p=f(i,b);return i!==0&&_.__wbindgen_export4(i,b,1),p}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewGetMinMax(t,e,n){try{let p=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=v,x=m(e,_.__wbindgen_export,_.__wbindgen_export2),C=v;_.genericsqlvirtualservermodel_viewGetMinMax(p,this.__wbg_ptr,h,y,x,C,c(n));var r=a().getInt32(p+0,!0),i=a().getInt32(p+4,!0),b=a().getInt32(p+8,!0),g=a().getInt32(p+12,!0);if(g)throw u(b);var l=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),l}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewMakeTable(t,e,n,r,i){try{let y=_.__wbindgen_add_to_stack_pointer(-16),x=m(t,_.__wbindgen_export,_.__wbindgen_export2),C=v,q=m(e,_.__wbindgen_export,_.__wbindgen_export2),K=v;_.genericsqlvirtualservermodel_viewMakeTable(y,this.__wbg_ptr,x,C,q,K,c(n),c(r),c(i));var b=a().getInt32(y+0,!0),g=a().getInt32(y+4,!0),l=a().getInt32(y+8,!0),p=a().getInt32(y+12,!0);if(p)throw u(l);var h=f(b,g);return b!==0&&_.__wbindgen_export4(b,g,1),h}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),p=v;_.genericsqlvirtualservermodel_viewSchema(g,this.__wbg_ptr,l,p);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewSetDepth(t,e,n){try{let p=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=v;_.genericsqlvirtualservermodel_viewSetDepth(p,this.__wbg_ptr,h,y,c(e),n);var r=a().getInt32(p+0,!0),i=a().getInt32(p+4,!0),b=a().getInt32(p+8,!0),g=a().getInt32(p+12,!0);if(g)throw u(b);var l=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),l}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),p=v;_.genericsqlvirtualservermodel_viewSize(g,this.__wbg_ptr,l,p);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(U.prototype[Symbol.dispose]=U.prototype.free);var V=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_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){rt(t,I);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 r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_name(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(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,ft.register(this,this.__wbg_ptr,this),this}resize(){let t=_.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}restore(t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_restore(r,this.__wbg_ptr,d(t)?0:c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}restyle(){_.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}save(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_save(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=a().getInt32(r+8,!0);if(n)throw u(e);return u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}get select_mode(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_select_mode(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}update(t){rt(t,I);let e=_.perspectivedebugpluginelement_update(this.__wbg_ptr,t.__wbg_ptr);return u(e)}};Symbol.dispose&&(V.prototype[Symbol.dispose]=V.prototype.free);var $=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,Z.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_perspectiveviewerelement_free(t,0)}__get_model(){let t=_.perspectiveviewerelement___get_model(this.__wbg_ptr);return s.__wrap(t)}addPanel(t,e){let n=_.perspectiveviewerelement_addPanel(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}agentConfig(t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_agentConfig(r,this.__wbg_ptr,c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+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=v,r=_.perspectiveviewerelement_agentPrompt(this.__wbg_ptr,e,n);return u(r)}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,d(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,d(t)?0:c(t));return u(e)}eject(t){let e=_.perspectiveviewerelement_eject(this.__wbg_ptr,d(t)?0:c(t));return u(e)}export(t){let e=_.perspectiveviewerelement_export(this.__wbg_ptr,d(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,d(t)?0:c(t));return u(e)}getEditPort(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getEditPort(i,this.__wbg_ptr,d(t)?0:c(t));var e=a().getFloat64(i+0,!0),n=a().getInt32(i+8,!0),r=a().getInt32(i+12,!0);if(r)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=d(t)?0:m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v;_.perspectiveviewerelement_getPlugin(g,this.__wbg_ptr,e,n);var r=a().getInt32(g+0,!0),i=a().getInt32(g+4,!0),b=a().getInt32(g+8,!0);if(b)throw u(i);return u(r)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getRenderStats(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getRenderStats(i,this.__wbg_ptr,d(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)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,d(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getTable(t){let e=_.perspectiveviewerelement_getTable(this.__wbg_ptr,d(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,d(t)?0:c(t));return u(e)}getViewConfig(t){let e=_.perspectiveviewerelement_getViewConfig(this.__wbg_ptr,d(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),r=a().getInt32(i+8,!0);if(r)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,Z.register(this,this.__wbg_ptr,this),this}removePanel(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v,r=_.perspectiveviewerelement_removePanel(this.__wbg_ptr,e,n);return u(r)}reset(t,e){let n=_.perspectiveviewerelement_reset(this.__wbg_ptr,d(t)?16777215:t?1:0,d(e)?0:c(e));return u(n)}resetError(){let t=_.perspectiveviewerelement_resetError(this.__wbg_ptr);return u(t)}resetThemes(t){var e=d(t)?0:ee(t,_.__wbindgen_export),n=v;let r=_.perspectiveviewerelement_resetThemes(this.__wbg_ptr,e,n);return u(r)}resize(t){let e=_.perspectiveviewerelement_resize(this.__wbg_ptr,d(t)?0:c(t));return u(e)}restore(t,e){let n=_.perspectiveviewerelement_restore(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}restoreWorkspace(t,e){let n=_.perspectiveviewerelement_restoreWorkspace(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}restyleElement(){let t=_.perspectiveviewerelement_restyleElement(this.__wbg_ptr);return u(t)}save(t){let e=_.perspectiveviewerelement_save(this.__wbg_ptr,d(t)?0:c(t));return u(e)}saveWorkspace(t){let e=_.perspectiveviewerelement_saveWorkspace(this.__wbg_ptr,d(t)?0:c(t));return u(e)}setActivePanel(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=v,r=_.perspectiveviewerelement_setActivePanel(this.__wbg_ptr,e,n);return u(r)}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,d(t)?0:c(t),d(e)?0:c(e));var n=a().getInt32(i+0,!0),r=a().getInt32(i+4,!0);if(r)throw u(n)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setThrottle(t){_.perspectiveviewerelement_setThrottle(this.__wbg_ptr,!d(t),d(t)?0:t)}toggleColumnSettings(t,e){let n=m(t,_.__wbindgen_export,_.__wbindgen_export2),r=v,i=_.perspectiveviewerelement_toggleColumnSettings(this.__wbg_ptr,n,r,d(e)?0:c(e));return u(i)}toggleConfig(t){let e=_.perspectiveviewerelement_toggleConfig(this.__wbg_ptr,d(t)?16777215:t?1:0);return u(e)}};Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);var j=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_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{rt(t,R);let n=_.proxysession_new(t.__wbg_ptr,ot(e));return this.__wbg_ptr=n>>>0,tt.register(this,this.__wbg_ptr,this),this}finally{k[O++]=void 0}}};Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);var z=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,dt.register(e,e.__wbg_ptr,e),e}__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_table_free(t,0)}__getClassname(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.table___getClassname(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(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,d(t)?0:c(t));return u(n)}describe(t){let e=_.table_describe(this.__wbg_ptr,d(t)?0:c(t));return u(e)}get_client(){let t=_.table_get_client(this.__wbg_ptr);return u(t)}get_features(){let t=_.table_get_features(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),d(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),d(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),d(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,d(t)?0:c(t));return u(e)}};Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);var I=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,wt.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,wt.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 r=_.__wbindgen_add_to_stack_pointer(-16);_.view___unsafe_get_name(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(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,d(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=v,r=_.view_get_min_max(this.__wbg_ptr,e,n);return u(r)}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_remove(t){let e=_.view_on_remove(this.__wbg_ptr,c(t));return u(e)}on_update(t,e){let n=_.view_on_update(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}remove_delete(t){let e=_.view_remove_delete(this.__wbg_ptr,t);return u(e)}remove_remove(t){let e=_.view_remove_remove(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,d(t)?0:c(t));return u(e)}to_columns(t){let e=_.view_to_columns(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_columns_string(t){let e=_.view_to_columns_string(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_csv(t){let e=_.view_to_csv(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_json(t){let e=_.view_to_json(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_json_string(t){let e=_.view_to_json_string(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_ndjson(t){let e=_.view_to_ndjson(this.__wbg_ptr,d(t)?0:c(t));return u(e)}with_typed_arrays(t,e){let n=_.view_with_typed_arrays(this.__wbg_ptr,d(t)?0:c(t),c(e));return u(n)}};Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);var M=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_virtualdataslice_free(t,0)}fromArrowIpc(t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.virtualdataslice_fromArrowIpc(r,this.__wbg_ptr,c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+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,et.register(this,this.__wbg_ptr,this),this}setBooleanCol(t,e,n,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setBooleanCol(g,this.__wbg_ptr,l,p,e,c(n),d(r)?4294967297:r>>>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,r,i){try{let l=_.__wbindgen_add_to_stack_pointer(-16),p=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=v,y=m(e,_.__wbindgen_export,_.__wbindgen_export2),x=v;_.virtualdataslice_setCol(l,this.__wbg_ptr,p,h,y,x,n,c(r),d(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,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setDatetimeCol(g,this.__wbg_ptr,l,p,e,c(n),d(r)?4294967297:r>>>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,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setFloatCol(g,this.__wbg_ptr,l,p,e,c(n),d(r)?4294967297:r>>>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,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setIntegerCol(g,this.__wbg_ptr,l,p,e,c(n),d(r)?4294967297:r>>>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,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),l=m(t,_.__wbindgen_export,_.__wbindgen_export2),p=v;_.virtualdataslice_setStringCol(g,this.__wbg_ptr,l,p,e,c(n),d(r)?4294967297:r>>>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 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_virtualserver_free(t,0)}handleRequest(t){let e=te(t,_.__wbindgen_export),n=v,r=_.virtualserver_handleRequest(this.__wbg_ptr,e,n);return u(r)}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),r=a().getInt32(i+8,!0);if(r)throw u(n);return this.__wbg_ptr=e>>>0,lt.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(G.prototype[Symbol.dispose]=G.prototype.free);function Ct(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.getColumnConfigDefaults(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 At(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.getPluginConfigDefaults(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_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 Et(){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 Tt(s,t){_.init(c(s),c(t))}function Ft(s){let t=m(s,_.__wbindgen_export,_.__wbindgen_export2),e=v;_.registerPlugin(t,e)}function Pt(s,t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.setColumnConfigDefaults(r,c(s),d(t)?0:c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Ot(s,t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.setPluginConfigDefaults(r,c(s),d(t)?0:c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function mt(){return{__proto__:null,"./perspective-viewer.wasm_bg.js":{__proto__:null,__wbg_Error_8c4e43fe74559d73:function(t,e){var n=f(t,e);let r=Error(n);return c(r)},__wbg_Number_04624de7d0e8332d:function(t){return Number(o(t))},__wbg_String_8f0eb39a4a4c2f66:function(t,e){let n=String(o(e)),r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:function(t,e){let n=o(e),r=typeof n=="bigint"?n:void 0;a().setBigInt64(t+8,d(r)?BigInt(0):r,!0),a().setInt32(t+0,!d(r),!0)},__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:function(t){let e=o(t),n=typeof e=="boolean"?e:void 0;return d(n)?16777215:n?1:0},__wbg___wbindgen_debug_string_0bc8482c6e3508ae:function(t,e){let n=_t(o(e)),r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg___wbindgen_in_47fa6863be6f2f25:function(t,e){return o(t)in o(e)},__wbg___wbindgen_is_bigint_31b12575b56f32fc:function(t){return typeof o(t)=="bigint"},__wbg___wbindgen_is_function_0095a73b8b156f76:function(t){return typeof o(t)=="function"},__wbg___wbindgen_is_null_ac34f5003991759a:function(t){return o(t)===null},__wbg___wbindgen_is_object_5ae8e5880f2c1fbd:function(t){let e=o(t);return typeof e=="object"&&e!==null},__wbg___wbindgen_is_string_cd444516edc5b180:function(t){return typeof o(t)=="string"},__wbg___wbindgen_is_undefined_9e4d92534c42d778:function(t){return o(t)===void 0},__wbg___wbindgen_jsval_eq_11888390b0186270:function(t,e){return o(t)===o(e)},__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:function(t,e){return o(t)==o(e)},__wbg___wbindgen_number_get_8ff4255516ccad3e:function(t,e){let n=o(e),r=typeof n=="number"?n:void 0;a().setFloat64(t+8,d(r)?0:r,!0),a().setInt32(t+0,!d(r),!0)},__wbg___wbindgen_string_get_72fb696202c56729:function(t,e){let n=o(e),r=typeof n=="string"?n:void 0;var i=d(r)?0:m(r,_.__wbindgen_export,_.__wbindgen_export2),b=v;a().setInt32(t+4,b,!0),a().setInt32(t+0,i,!0)},__wbg___wbindgen_throw_be289d5034ed271b:function(t,e){var n=f(t,e);throw new Error(n)},__wbg__wbg_cb_unref_d9b87ff7982e3b21:function(t){o(t)._wbg_cb_unref()},__wbg_abort_2f0584e03e8e3950:function(t){o(t).abort()},__wbg_addEventListener_3acb0aad4483804c:function(){return w(function(t,e,n,r){var i=f(e,n);o(t).addEventListener(i,o(r))},arguments)},__wbg_addEventListener_5ef04ffb1d3af066:function(){return w(function(t,e,n,r,i){var b=f(e,n);o(t).addEventListener(b,o(r),i!==0)},arguments)},__wbg_addEventListener_c917b5aafbcf493f:function(){return w(function(t,e,n,r,i){var b=f(e,n);o(t).addEventListener(b,o(r),o(i))},arguments)},__wbg_add_5be83378df680c25:function(){return w(function(t,e,n){var r=f(e,n);o(t).add(r)},arguments)},__wbg_appendChild_dea38765a26d346d:function(){return w(function(t,e){let n=o(t).appendChild(o(e));return c(n)},arguments)},__wbg_append_a992ccc37aa62dc4:function(){return w(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t).append(b,g)},arguments)},__wbg_apply_2e22c45cb4f12415:function(){return w(function(t,e,n){let r=Reflect.apply(o(t),o(e),o(n));return c(r)},arguments)},__wbg_apply_ada2ee1a60ac7b3c:function(){return w(function(t,e,n){let r=o(t).apply(o(e),o(n));return c(r)},arguments)},__wbg_asyncIterator_58dd45e58aa3721e:function(){return c(Symbol.asyncIterator)},__wbg_at_dfc235641cc0e40c:function(t,e){let n=o(t).at(e);return c(n)},__wbg_attachShadow_d31cd520620b24d6:function(){return w(function(t,e){let n=o(t).attachShadow(o(e));return c(n)},arguments)},__wbg_blur_07f34335e06e5234:function(){return w(function(t){o(t).blur()},arguments)},__wbg_body_3a0b4437dadea6bf:function(t){let e=o(t).body;return d(e)?0:c(e)},__wbg_body_f67922363a220026:function(t){let e=o(t).body;return d(e)?0:c(e)},__wbg_bootstrap_5f8da5e393411eb3:function(t,e,n,r,i,b){var g=f(e,n),l=f(r,i);let p=ut(o(t),g,l,u(b));return c(p)},__wbg_bottom_c7ec510a18034add:function(t){return o(t).bottom},__wbg_bubbles_ad88192d3c29e6f9:function(t){return o(t).bubbles},__wbg_buffer_26d0910f3a5bc899:function(t){let e=o(t).buffer;return c(e)},__wbg_button_d86841d0a03adc44:function(t){return o(t).button},__wbg_cache_key_b02185c5bc89ef2a:function(t){let e=o(t).__yew_subtree_cache_key;return d(e)?4294967297:e>>>0},__wbg_calculatePath_bce0314ec7da4d5e:function(t,e,n){var r=f(e,n);let i=o(t).calculatePath(r);return c(i)},__wbg_calculatePresizePaths_5d784e617dac5361:function(t){let e=o(t).calculatePresizePaths();return c(e)},__wbg_call_389efe28435a9388:function(){return w(function(t,e){let n=o(t).call(o(e));return c(n)},arguments)},__wbg_call_41bedb84c3e5c0c9:function(){return w(function(t,e,n,r,i,b){let g=o(t).call(o(e),o(n),o(r),o(i),o(b));return c(g)},arguments)},__wbg_call_4708e0c13bdc8e95:function(){return w(function(t,e,n){let r=o(t).call(o(e),o(n));return c(r)},arguments)},__wbg_call_812d25f1510c13c8:function(){return w(function(t,e,n,r){let i=o(t).call(o(e),o(n),o(r));return c(i)},arguments)},__wbg_cancelBubble_d93ec09e9c46cd6f:function(t){return o(t).cancelBubble},__wbg_checked_04db83ac6810bc82:function(t){return o(t).checked},__wbg_childNodes_75d35de33c9f6fbb:function(t){let e=o(t).childNodes;return c(e)},__wbg_children_54099e7692eefa29:function(t){let e=o(t).children;return c(e)},__wbg_classList_1a87c34c6d81421e:function(t){let e=o(t).classList;return c(e)},__wbg_className_2a1be685f5d518d5:function(t,e){let n=o(e).className,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_clear_5301a838a4bcc784:function(){return w(function(t){let e=o(t).clear();return c(e)},arguments)},__wbg_click_0e9c20848b655ed3:function(t){o(t).click()},__wbg_clientHeight_6432ff0d61ccfe7d:function(t){return o(t).clientHeight},__wbg_clientX_a3c5f4ff30e91264:function(t){return o(t).clientX},__wbg_clientY_e28509acb9b4a42a:function(t){return o(t).clientY},__wbg_client_new:function(t){let e=R.__wrap(t);return c(e)},__wbg_clipboard_98c5a32249fa8416:function(t){let e=o(t).clipboard;return c(e)},__wbg_cloneNode_b85e9102a9a31b29:function(){return w(function(t,e){let n=o(t).cloneNode(e!==0);return c(n)},arguments)},__wbg_cloneNode_eaf4ea08ebf633a5:function(){return w(function(t){let e=o(t).cloneNode();return c(e)},arguments)},__wbg_closest_11206fe6e0fb4e4e:function(){return w(function(t,e,n){var r=f(e,n);let i=o(t).closest(r);return d(i)?0:c(i)},arguments)},__wbg_code_dee0dae4730408e1:function(t,e){let n=o(e).code,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_column_config_schema_446450f842240e18:function(){return w(function(t,e,n,r,i,b,g,l,p,h,y,x){var C=f(e,n),q=f(r,i),K=f(b,g),xt=f(y,x);let It=o(t).column_config_schema(C,q,K,o(l),o(p),o(h),xt);return c(It)},arguments)},__wbg_composedPath_9154ab2547c668d5:function(t){let e=o(t).composedPath();return c(e)},__wbg_contains_1056459c33f961e8:function(t,e){return o(t).contains(o(e))},__wbg_contains_6f4d5df35ef8a13a:function(t,e,n){var r=f(e,n);return o(t).contains(r)},__wbg_contentRect_86aa0db907b4dbb1:function(t){let e=o(t).contentRect;return c(e)},__wbg_createElementNS_ee00621496b30ec2:function(){return w(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);let l=o(t).createElementNS(b,g);return c(l)},arguments)},__wbg_createElement_49f60fdcaae809c8:function(){return w(function(t,e,n){var r=f(e,n);let i=o(t).createElement(r);return c(i)},arguments)},__wbg_createObjectURL_918185db6a10a0c8:function(){return w(function(t,e){let n=URL.createObjectURL(o(e)),r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},arguments)},__wbg_createTextNode_55029686c9591bf3:function(t,e,n){var r=f(e,n);let i=o(t).createTextNode(r);return c(i)},__wbg_cssRules_554f47f3049cf066:function(){return w(function(t){let e=o(t).cssRules;return c(e)},arguments)},__wbg_cssText_8f3f27e60c824421:function(t,e){let n=o(e).cssText,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_dataTransfer_d924a622fbe51b06:function(t){let e=o(t).dataTransfer;return d(e)?0:c(e)},__wbg_dataset_20cb5c72458ae3fc:function(t){let e=o(t).dataset;return c(e)},__wbg_debug_46a93995fc6f8820:function(t,e,n,r){console.debug(o(t),o(e),o(n),o(r))},__wbg_debug_a4099fa12db6cd61:function(t){console.debug(o(t))},__wbg_decode_a28a47c6d83f2594:function(){return w(function(t,e,n,r,i){let b=o(e).decode(T(n,r),o(i)),g=m(b,_.__wbindgen_export,_.__wbindgen_export2),l=v;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_define_panel_tab_5fdfe07ef6a3dd88:function(t,e){var n=f(t,e);ct(n)},__wbg_delete_8318b529ff42aa20:function(t,e,n){var r=f(e,n);delete o(t)[r]},__wbg_delete_aaa486df627ae05f:function(t){o(t).delete()},__wbg_deselect_45a4ba952ce38816:function(){return w(function(t){let e=o(t).deselect();return c(e)},arguments)},__wbg_detail_934cf9545e3214d3:function(t){let e=o(t).detail;return c(e)},__wbg_dispatchEvent_dc8dcc7ddca11378:function(){return w(function(t,e){return o(t).dispatchEvent(o(e))},arguments)},__wbg_document_ee35a3d3ae34ef6c:function(t){let e=o(t).document;return d(e)?0:c(e)},__wbg_done_57b39ecd9addfe81:function(t){return o(t).done},__wbg_draw_5e75ffb45e14ad2e:function(){return w(function(t,e,n,r,i){let b=o(t).draw(I.__wrap(e),n===4294967297?void 0:n,r===4294967297?void 0:r,i!==0);return c(b)},arguments)},__wbg_entries_58c7934c745daac7:function(t){let e=Object.entries(o(t));return c(e)},__wbg_error_3c7d958458bf649b:function(t,e){var n=pt(t,e).slice();_.__wbindgen_export4(t,e*4,4),console.error(...n)},__wbg_error_7534b8e9a36f1ab4:function(t,e){var n=f(t,e);t!==0&&_.__wbindgen_export4(t,e,1),console.error(n)},__wbg_error_794d0ffc9d00d5c3:function(t,e,n,r){console.error(o(t),o(e),o(n),o(r))},__wbg_error_9a7fe3f932034cde:function(t){console.error(o(t))},__wbg_error_f852e41c69b0bd84:function(t,e){console.error(o(t),o(e))},__wbg_fetch_e6e8e0a221783759:function(t,e){let n=o(t).fetch(o(e));return c(n)},__wbg_focus_128ff465f65677cc:function(){return w(function(t){o(t).focus()},arguments)},__wbg_fonts_ba4bc521c555025e:function(t){let e=o(t).fonts;return c(e)},__wbg_format_7c97ddc401dae52f:function(t){let e=o(t).format;return c(e)},__wbg_from_bddd64e7d5ff6941:function(t){let e=Array.from(o(t));return c(e)},__wbg_getAttribute_b9f6fc4b689c71b0:function(t,e,n,r){var i=f(n,r);let b=o(e).getAttribute(i);var g=d(b)?0:m(b,_.__wbindgen_export,_.__wbindgen_export2),l=v;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},__wbg_getBoundingClientRect_b5c8c34d07878818:function(t){let e=o(t).getBoundingClientRect();return c(e)},__wbg_getComputedStyle_2d1f9dfe4ee7e0b9:function(){return w(function(t,e){let n=o(t).getComputedStyle(o(e));return d(n)?0:c(n)},arguments)},__wbg_getContext_2a5764d48600bc43:function(){return w(function(t,e,n){var r=f(e,n);let i=o(t).getContext(r);return d(i)?0:c(i)},arguments)},__wbg_getEntriesByName_02488cff0bc7581c:function(t,e,n,r,i){var b=f(e,n),g=f(r,i);let l=o(t).getEntriesByName(b,g);return c(l)},__wbg_getPropertyValue_d6911b2a1f9acba9:function(){return w(function(t,e,n,r){var i=f(n,r);let b=o(e).getPropertyValue(i),g=m(b,_.__wbindgen_export,_.__wbindgen_export2),l=v;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_getRandomValues_1c61fac11405ffdc:function(){return w(function(t,e){globalThis.crypto.getRandomValues(T(t,e))},arguments)},__wbg_getReader_804829cfb24eb4dd:function(t){let e=o(t).getReader();return c(e)},__wbg_getRootNode_193e544ed534e810:function(t){let e=o(t).getRootNode();return c(e)},__wbg_getSelection_d345357cda220f17:function(){return w(function(t){let e=o(t).getSelection();return d(e)?0:c(e)},arguments)},__wbg_getTime_1e3cd1391c5c3995:function(t){return o(t).getTime()},__wbg_getTimezoneOffset_81776d10a4ec18a8:function(t){return o(t).getTimezoneOffset()},__wbg_get_5dd1ee4c9f462865:function(t,e,n,r){var i=f(n,r);let b=o(e)[i];var g=d(b)?0:m(b,_.__wbindgen_export,_.__wbindgen_export2),l=v;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},__wbg_get_76e04509d1922a04:function(t,e,n){var r=f(e,n);let i=o(t)[r];return d(i)?0:c(i)},__wbg_get_941633a1d2f510cb:function(){return w(function(t,e,n,r){var i=f(n,r);let b=o(e).get(i);var g=d(b)?0:m(b,_.__wbindgen_export,_.__wbindgen_export2),l=v;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_get_9b94d73e6221f75c:function(t,e){let n=o(t)[e>>>0];return c(n)},__wbg_get_b3ed3ad4be2bc8ac:function(){return w(function(t,e){let n=Reflect.get(o(t),o(e));return c(n)},arguments)},__wbg_get_d8db2ad31d529ff8:function(t,e){let n=o(t)[e>>>0];return d(n)?0:c(n)},__wbg_get_static_config_ffdaec396809a82f:function(t){let e=o(t).get_static_config();return c(e)},__wbg_get_with_index_d26da38d2c038e1a:function(t,e){let n=o(t)[e>>>0];return d(n)?0:c(n)},__wbg_get_with_ref_key_1dc361bd10053bfe:function(t,e){let n=o(t)[o(e)];return c(n)},__wbg_hasAttribute_5d8f52cb4c739280:function(t,e,n){var r=f(e,n);return o(t).hasAttribute(r)},__wbg_has_d4e53238966c12b6:function(){return w(function(t,e){return Reflect.has(o(t),o(e))},arguments)},__wbg_headers_59a2938db9f80985:function(t){let e=o(t).headers;return c(e)},__wbg_height_45209601b4c4ede6:function(t){return o(t).height},__wbg_height_c2027cf67d1c9b11:function(t){return o(t).height},__wbg_hidden_8ce6a98b8c12451c:function(t){return o(t).hidden},__wbg_hidePopover_f52b72171825485d:function(){return w(function(t){o(t).hidePopover()},arguments)},__wbg_host_fb29f8be35c2517d:function(t){let e=o(t).host;return c(e)},__wbg_includes_32215c836f1cd3fb:function(t,e,n){return o(t).includes(o(e),n)},__wbg_indexOf_e5f91887d9e5023e:function(t,e,n){return o(t).indexOf(o(e),n)},__wbg_info_148d043840582012:function(t){console.info(o(t))},__wbg_info_9e602cf10c5c690b:function(t,e,n,r){console.info(o(t),o(e),o(n),o(r))},__wbg_innerHeight_54aa104da08becd2:function(){return w(function(t){let e=o(t).innerHeight;return c(e)},arguments)},__wbg_innerWidth_fa95c57321f4f033:function(){return w(function(t){let e=o(t).innerWidth;return c(e)},arguments)},__wbg_insertBefore_1468142836e61a51:function(){return w(function(t,e,n){let r=o(t).insertBefore(o(e),o(n));return c(r)},arguments)},__wbg_insertPanel_821bc235e324526c:function(t,e,n,r,i){var b=f(e,n);let g=o(t).insertPanel(b,u(r),u(i));return c(g)},__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:function(t){let e;try{e=o(t)instanceof ArrayBuffer}catch{e=!1}return e},__wbg_instanceof_Array_d9eac779cd191cbc:function(t){let e;try{e=o(t)instanceof Array}catch{e=!1}return e},__wbg_instanceof_CanvasRenderingContext2d_4bb052fd1c3d134d:function(t){let e;try{e=o(t)instanceof CanvasRenderingContext2D}catch{e=!1}return e},__wbg_instanceof_CssStyleRule_23e59108346af0df:function(t){let e;try{e=o(t)instanceof CSSStyleRule}catch{e=!1}return e},__wbg_instanceof_CustomEvent_7dc010f377596c94:function(t){let e;try{e=o(t)instanceof CustomEvent}catch{e=!1}return e},__wbg_instanceof_Date_1b9f15b87f10aa4c:function(t){let e;try{e=o(t)instanceof Date}catch{e=!1}return e},__wbg_instanceof_Element_9e662f49ab6c6beb:function(t){let e;try{e=o(t)instanceof Element}catch{e=!1}return e},__wbg_instanceof_Error_8573fe0b0b480f46:function(t){let e;try{e=o(t)instanceof Error}catch{e=!1}return e},__wbg_instanceof_HtmlCanvasElement_3f2f6e1edb1c9792:function(t){let e;try{e=o(t)instanceof HTMLCanvasElement}catch{e=!1}return e},__wbg_instanceof_HtmlElement_5abfac207260fd6f:function(t){let e;try{e=o(t)instanceof HTMLElement}catch{e=!1}return e},__wbg_instanceof_HtmlInputElement_c10b7260b4e0710a:function(t){let e;try{e=o(t)instanceof HTMLInputElement}catch{e=!1}return e},__wbg_instanceof_HtmlLinkElement_5eb5b0855a17d0fc:function(t){let e;try{e=o(t)instanceof HTMLLinkElement}catch{e=!1}return e},__wbg_instanceof_HtmlSelectElement_a1820832b22b0d1e:function(t){let e;try{e=o(t)instanceof HTMLSelectElement}catch{e=!1}return e},__wbg_instanceof_Map_53af74335dec57f4:function(t){let e;try{e=o(t)instanceof Map}catch{e=!1}return e},__wbg_instanceof_Node_da04bd8df43deba3:function(t){let e;try{e=o(t)instanceof Node}catch{e=!1}return e},__wbg_instanceof_Object_1c6af87502b733ed:function(t){let e;try{e=o(t)instanceof Object}catch{e=!1}return e},__wbg_instanceof_Promise_0094681e3519d6ec:function(t){let e;try{e=o(t)instanceof Promise}catch{e=!1}return e},__wbg_instanceof_Response_ee1d54d79ae41977:function(t){let e;try{e=o(t)instanceof Response}catch{e=!1}return e},__wbg_instanceof_ShadowRoot_5285adde3587c73e:function(t){let e;try{e=o(t)instanceof ShadowRoot}catch{e=!1}return e},__wbg_instanceof_Uint8Array_9b9075935c74707c:function(t){let e;try{e=o(t)instanceof Uint8Array}catch{e=!1}return e},__wbg_instanceof_Window_ed49b2db8df90359:function(t){let e;try{e=o(t)instanceof Window}catch{e=!1}return e},__wbg_isArray_d314bb98fcf08331:function(t){return Array.isArray(o(t))},__wbg_isCollapsed_617e9be3f62f5a25:function(t){return o(t).isCollapsed},__wbg_isConnected_6110bc2c5462f90e:function(t){return o(t).isConnected},__wbg_isContentEditable_f5b0ce009dbd035b:function(t){return o(t).isContentEditable},__wbg_isIntersecting_04185f7554a64e9e:function(t){return o(t).isIntersecting},__wbg_isSafeInteger_bfbc7332a9768d2a:function(t){return Number.isSafeInteger(o(t))},__wbg_isSameNode_3caa48d6eb3c880e:function(t,e){return o(t).isSameNode(o(e))},__wbg_is_f29129f676e5410c:function(t,e){return Object.is(o(t),o(e))},__wbg_item_00ae26320b80a11f:function(t,e,n){let r=o(e).item(n>>>0),i=m(r,_.__wbindgen_export,_.__wbindgen_export2),b=v;a().setInt32(t+4,b,!0),a().setInt32(t+0,i,!0)},__wbg_item_48715d3212ed96cb:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_item_5c82f52b014b3056:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_item_64b77e6a26f7de76:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_item_ca823df8214b9e2b:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_iterator_6ff6560ca1568e55:function(){return c(Symbol.iterator)},__wbg_keyCode_155291a11654466e:function(t){return o(t).keyCode},__wbg_key_d41e8e825e6bb0e9:function(t,e){let n=o(e).key,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_keys_b50a709a76add04e:function(t){let e=Object.keys(o(t));return c(e)},__wbg_languages_5a69df7551d1a803:function(t){let e=o(t).languages;return c(e)},__wbg_lastChild_132d67597d5e4aef:function(t){let e=o(t).lastChild;return d(e)?0:c(e)},__wbg_left_3b7c3c1030d5ca7a:function(t){return o(t).left},__wbg_length_25851a48867b2afc:function(t){return o(t).length},__wbg_length_32ed9a279acd054c:function(t){return o(t).length},__wbg_length_35a7bace40f36eac:function(t){return o(t).length},__wbg_length_3f12bc1cab862cc3:function(t){return o(t).length},__wbg_length_b5aa6c69c842d6a6:function(t){return o(t).length},__wbg_length_e455564ce5cbf46e:function(t){return o(t).length},__wbg_length_edae0cd13a8d3b71:function(t){return o(t).length},__wbg_listener_id_3f13203bf7de1e4d:function(t){let e=o(t).__yew_listener_id;return d(e)?4294967297:e>>>0},__wbg_load_f8d29f3c1bda8dd1:function(t,e,n,r,i){var b=f(e,n),g=f(r,i);let l=o(t).load(b,g);return c(l)},__wbg_mark_3b530a64b09ba08a:function(){return w(function(t,e,n){var r=f(e,n);o(t).mark(r)},arguments)},__wbg_matches_852ba8b2b4592069:function(){return w(function(t,e,n){var r=f(e,n);return o(t).matches(r)},arguments)},__wbg_maximize_6375cac5f5786a03:function(t,e,n){var r=f(e,n);o(t).maximize(r)},__wbg_measureText_9d64a92333bd05ee:function(){return w(function(t,e,n){var r=f(e,n);let i=o(t).measureText(r);return c(i)},arguments)},__wbg_measure_288b48c082eae0fe:function(){return w(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t).measure(b,g)},arguments)},__wbg_message_9ddc4b9a62a7c379:function(t){let e=o(t).message;return c(e)},__wbg_minimize_d4f1de6054e9fb62:function(t){o(t).minimize()},__wbg_namespaceURI_86e2062c65f0f341:function(t,e){let n=o(e).namespaceURI;var r=d(n)?0:m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_navigator_43be698ba96fc088:function(t){let e=o(t).navigator;return c(e)},__wbg_new_16c83877745f8d12:function(){return w(function(t,e){var n=f(t,e);let r=new InputEvent(n);return c(r)},arguments)},__wbg_new_1d5bd472c706b768:function(){return w(function(){let t=new CSSStyleSheet;return c(t)},arguments)},__wbg_new_245cd5c49157e602:function(t){let e=new Date(o(t));return c(e)},__wbg_new_29d3c8d664bb4b7a:function(t){let e=new st(o(t));return c(e)},__wbg_new_2ec3ec8c398b20d2:function(){return w(function(){let t=new TextDecoder;return c(t)},arguments)},__wbg_new_361308b2356cecd0:function(){let t=new Object;return c(t)},__wbg_new_370927df1846ff23:function(t){let e=new it(o(t));return c(e)},__wbg_new_384a230f8673183c:function(){return w(function(t,e){var n=f(t,e);let r=new CustomEvent(n);return c(r)},arguments)},__wbg_new_3eb36ae241fe6f44:function(){let t=new Array;return c(t)},__wbg_new_64284bd487f9d239:function(){return w(function(){let t=new Headers;return c(t)},arguments)},__wbg_new_72b49615380db768:function(t,e){var n=f(t,e);let r=new Error(n);return c(r)},__wbg_new_86c8f0b79e48927d:function(t,e){let n=new Intl.NumberFormat(o(t),o(e));return c(n)},__wbg_new_8a6f238a6ece86ea:function(){let t=new Error;return c(t)},__wbg_new_b5d9e2fb389fef91:function(t,e){try{var n={a:t,b:e},r=(b,g)=>{let l=n.a;n.a=0;try{return Ht(l,n.b,b,g)}finally{n.a=l}};let i=new Promise(r);return c(i)}finally{n.a=n.b=0}},__wbg_new_b949e7f56150a5d1:function(){return w(function(){let t=new AbortController;return c(t)},arguments)},__wbg_new_c155239f1b113b68:function(t,e){let n=new Intl.DateTimeFormat(o(t),o(e));return c(n)},__wbg_new_d031a10fb1b11855:function(t){let e=new at(o(t));return c(e)},__wbg_new_dca287b076112a51:function(){return c(new Map)},__wbg_new_dd2b680c8bf6ae29:function(t){let e=new Uint8Array(o(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=f(t,e);let r=new Function(n);return c(r)},__wbg_new_with_event_init_dict_48877e7ca125f3c1:function(){return w(function(t,e,n){var r=f(t,e);let i=new CustomEvent(r,o(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 w(function(t,e,n){var r=f(t,e);let i=new Request(r,o(n));return c(i)},arguments)},__wbg_new_with_str_sequence_and_options_9b8b0bee99ec6b0f:function(){return w(function(t,e){let n=new Blob(o(t),o(e));return c(n)},arguments)},__wbg_new_with_u8_array_sequence_08b2096a9f3117c0:function(){return w(function(t){let e=new Blob(o(t));return c(e)},arguments)},__wbg_nextSibling_2e988d9bbe3e06f0:function(t){let e=o(t).nextSibling;return d(e)?0:c(e)},__wbg_next_3482f54c49e8af19:function(){return w(function(t){let e=o(t).next();return c(e)},arguments)},__wbg_next_418f80d8f5303233:function(t){let e=o(t).next;return c(e)},__wbg_now_a3af9a2f4bbaa4d1:function(){return Date.now()},__wbg_now_ebffdf7e580f210d:function(t){return o(t).now()},__wbg_observe_321679415e4d0e42:function(t,e){o(t).observe(o(e))},__wbg_observe_de2f1bd9f200cf03:function(t,e){o(t).observe(o(e))},__wbg_of_f915f7cd925b21a5:function(t){let e=Array.of(o(t));return c(e)},__wbg_offsetHeight_34f7abc1686733cc:function(t){return o(t).offsetHeight},__wbg_offsetParent_9627ebca6b03e8b2:function(t){let e=o(t).offsetParent;return d(e)?0:c(e)},__wbg_offsetWidth_f37b33a53e513101:function(t){return o(t).offsetWidth},__wbg_offsetX_b76b9bb1f9235de9:function(t){return o(t).offsetX},__wbg_offsetY_db5c1ddb866e1b82:function(t){return o(t).offsetY},__wbg_ok_87f537440a0acf85:function(t){return o(t).ok},__wbg_parentElement_75863410a8617953:function(t){let e=o(t).parentElement;return d(e)?0:c(e)},__wbg_parentNode_d44bd5ec58601e45:function(t){let e=o(t).parentNode;return d(e)?0:c(e)},__wbg_parse_708461a1feddfb38:function(){return w(function(t,e){var n=f(t,e);let r=JSON.parse(n);return c(r)},arguments)},__wbg_performance_06f12ba62483475d:function(t){let e=o(t).performance;return d(e)?0:c(e)},__wbg_plugin_config_schema_646d865e94b55004:function(){return w(function(t,e,n){let r=o(t).plugin_config_schema(o(e),o(n));return c(r)},arguments)},__wbg_pointerId_466b1bdcaf2fe835:function(t){return o(t).pointerId},__wbg_pop_80fa29128215a463:function(t){let e=o(t).pop();return c(e)},__wbg_prepend_12ed960547d9dfe1:function(){return w(function(t,e){o(t).prepend(o(e))},arguments)},__wbg_presize_137c0c00a4fc218e:function(){return w(function(t,e,n){let r=o(t).presize(e,n);return c(r)},arguments)},__wbg_preventDefault_cdcfcd7e301b9702:function(t){o(t).preventDefault()},__wbg_prototypesetcall_bdcdcc5842e4d77d:function(t,e,n){Uint8Array.prototype.set.call(T(t,e),o(n))},__wbg_push_8ffdcb2063340ba5:function(t,e){return o(t).push(o(e))},__wbg_querySelectorAll_1283aae52043a951:function(){return w(function(t,e,n){var r=f(e,n);let i=o(t).querySelectorAll(r);return c(i)},arguments)},__wbg_querySelectorAll_5875742f4e11f759:function(){return w(function(t,e,n){var r=f(e,n);let i=o(t).querySelectorAll(r);return c(i)},arguments)},__wbg_querySelector_1be4292f202b1597:function(){return w(function(t,e,n){var r=f(e,n);let i=o(t).querySelector(r);return d(i)?0:c(i)},arguments)},__wbg_querySelector_4dc619d02f6cb079:function(){return w(function(t,e,n){var r=f(e,n);let i=o(t).querySelector(r);return d(i)?0:c(i)},arguments)},__wbg_queueMicrotask_0aa0a927f78f5d98:function(t){let e=o(t).queueMicrotask;return c(e)},__wbg_queueMicrotask_5bb536982f78a56f:function(t){queueMicrotask(o(t))},__wbg_readText_b9ac81623f153a62:function(t){let e=o(t).readText();return c(e)},__wbg_read_68fd377df67e19b0:function(t){let e=o(t).read();return c(e)},__wbg_readyState_cf11f0728fc7b46c:function(t,e){let n=o(e).readyState,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_realCoordinates_66406d615ad29374:function(t,e){let n=o(t).realCoordinates(o(e));return c(n)},__wbg_reject_a2176de7f1212be5:function(t){let e=Promise.reject(o(t));return c(e)},__wbg_relatedTarget_1557cded94b97af2:function(t){let e=o(t).relatedTarget;return d(e)?0:c(e)},__wbg_releasePointerCapture_420ef33c7c5fb6f4:function(){return w(function(t,e){o(t).releasePointerCapture(e)},arguments)},__wbg_removeAllRanges_39254b77dc6257ab:function(){return w(function(t){o(t).removeAllRanges()},arguments)},__wbg_removeAttribute_87259aab06d9f286:function(){return w(function(t,e,n){var r=f(e,n);o(t).removeAttribute(r)},arguments)},__wbg_removeChild_2f0b06213dbc49ca:function(){return w(function(t,e){let n=o(t).removeChild(o(e));return c(n)},arguments)},__wbg_removeEventListener_0c0902ed5009dd9f:function(){return w(function(t,e,n,r,i){var b=f(e,n);o(t).removeEventListener(b,o(r),i!==0)},arguments)},__wbg_removeEventListener_e63328781a5b9af9:function(){return w(function(t,e,n,r){var i=f(e,n);o(t).removeEventListener(i,o(r))},arguments)},__wbg_removePanel_10735acd8d7b1f83:function(t,e,n){var r=f(e,n);let i=o(t).removePanel(r);return c(i)},__wbg_removeProperty_a0d2ff8a76ffd2b1:function(){return w(function(t,e,n,r){var i=f(n,r);let b=o(e).removeProperty(i),g=m(b,_.__wbindgen_export,_.__wbindgen_export2),l=v;a().setInt32(t+4,l,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_remove_31c39325eee968fc:function(t){o(t).remove()},__wbg_remove_f9451697e0bc6ca0:function(){return w(function(t,e,n){var r=f(e,n);o(t).remove(r)},arguments)},__wbg_render_83e4fcba7324f48e:function(){return w(function(t,e,n){let r=o(t).render(I.__wrap(e),u(n));return c(r)},arguments)},__wbg_replaceSync_54e9ce897fe6ab6a:function(){return w(function(t,e,n){var r=f(e,n);o(t).replaceSync(r)},arguments)},__wbg_requestAnimationFrame_43682f8e1c5e5348:function(){return w(function(t,e){return o(t).requestAnimationFrame(o(e))},arguments)},__wbg_resize_a410d9c5559119ee:function(){return w(function(t){let e=o(t).resize();return c(e)},arguments)},__wbg_resolve_002c4b7d9d8f6b64:function(t){let e=Promise.resolve(o(t));return c(e)},__wbg_resolvedOptions_4c36dbfa1c4ba2bf:function(t){let e=o(t).resolvedOptions();return c(e)},__wbg_restorePhysics_e199448211a7c472:function(t,e){o(t).restorePhysics(o(e))},__wbg_restoreSync_f694e486ffc2460c:function(t,e){o(t).restoreSync(o(e))},__wbg_restore_f66bd8563e487a4e:function(){return w(function(t,e,n){o(t).restore(o(e),o(n))},arguments)},__wbg_restyle_d59c669358a98ead:function(t){o(t).restyle()},__wbg_resumeResize_e8296b3d5d6b0488:function(t){o(t).resumeResize()},__wbg_right_154af6c2b1bf0c89:function(t){return o(t).right},__wbg_run_2bb852e2dc558431:function(){return w(function(t,e){let n=o(t).run(o(e));return c(n)},arguments)},__wbg_save_a481acc855aefe70:function(t){let e=o(t).save();return c(e)},__wbg_scrollHeight_25e40881bfad55b6:function(t){return o(t).scrollHeight},__wbg_scrollLeft_2b817c7719d17438:function(t){return o(t).scrollLeft},__wbg_scrollTop_0a3a77f9fcbe038e:function(t){return o(t).scrollTop},__wbg_scrollTop_4161d2a08060cb06:function(t){return o(t).scrollTop},__wbg_select_48c82c2de92fc898:function(t,e,n){var r=f(e,n);let i=o(t).select(r);return c(i)},__wbg_select_f96715f412d93f23:function(t){o(t).select()},__wbg_selectedIndex_b1465d243fcb7142:function(t){return o(t).selectedIndex},__wbg_selectionEnd_f3cba543517b4aa8:function(){return w(function(t){let e=o(t).selectionEnd;return d(e)?4294967297:e>>>0},arguments)},__wbg_selectionStart_9cd0aeff14a21252:function(){return w(function(t){let e=o(t).selectionStart;return d(e)?4294967297:e>>>0},arguments)},__wbg_selectorText_4ebdf4f8074dafea:function(t,e){let n=o(e).selectorText,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_setAttribute_cc8e4c8a2a008508:function(){return w(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t).setAttribute(b,g)},arguments)},__wbg_setDragImage_76defbcc7ff30178:function(t,e,n,r){o(t).setDragImage(o(e),n,r)},__wbg_setPointerCapture_420db6f6826eb74b:function(){return w(function(t,e){o(t).setPointerCapture(e)},arguments)},__wbg_setProperty_cbb25c4e74285b39:function(){return w(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t).setProperty(b,g)},arguments)},__wbg_setSelectionRange_301eef1c51e01d2a:function(){return w(function(t,e,n){o(t).setSelectionRange(e>>>0,n>>>0)},arguments)},__wbg_setTimeout_21d8cc2869b34c58:function(t,e){return setTimeout(o(t),e)},__wbg_setTimeout_eff32631ea138533:function(){return w(function(t,e,n){return o(t).setTimeout(o(e),n)},arguments)},__wbg_set_1eb0999cf5d27fc8:function(t,e,n){let r=o(t).set(o(e),o(n));return c(r)},__wbg_set_3f1d0b984ed272ed:function(t,e,n){o(t)[u(e)]=u(n)},__wbg_set_6cb8631f80447a67:function(){return w(function(t,e,n){return Reflect.set(o(t),o(e),o(n))},arguments)},__wbg_set_body_9a7e00afe3cfe244:function(t,e){o(t).body=o(e)},__wbg_set_bubbles_739f291693b2bbec:function(t,e){o(t).bubbles=e!==0},__wbg_set_cache_key_ace1fa875f02b7cd:function(t,e){o(t).__yew_subtree_cache_key=e>>>0},__wbg_set_capture_d52e7a585f2933c8:function(t,e){o(t).capture=e!==0},__wbg_set_checked_4b2468680005fbf7:function(t,e){o(t).checked=e!==0},__wbg_set_className_c1d9e7362164af61:function(t,e,n){var r=f(e,n);o(t).className=r},__wbg_set_composed_e4a9826a628ca7f8:function(t,e){o(t).composed=e!==0},__wbg_set_cssText_18380c97092caefa:function(t,e,n){var r=f(e,n);o(t).cssText=r},__wbg_set_defaultValue_ad528b0a65ceef4a:function(){return w(function(t,e,n){var r=f(e,n);o(t).defaultValue=r},arguments)},__wbg_set_detail_fa3b358526be3a85:function(t,e){o(t).detail=o(e)},__wbg_set_dropEffect_042402609f0b7c6b:function(t,e,n){var r=f(e,n);o(t).dropEffect=r},__wbg_set_f43e577aea94465b:function(t,e,n){o(t)[e>>>0]=u(n)},__wbg_set_fb27b296001e2de9:function(){return w(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t)[b]=g},arguments)},__wbg_set_font_575685c8f7e56957:function(t,e,n){var r=f(e,n);o(t).font=r},__wbg_set_headers_cfc5f4b2c1f20549:function(t,e){o(t).headers=o(e)},__wbg_set_innerHTML_edd39677e3460291:function(t,e,n){var r=f(e,n);o(t).innerHTML=r},__wbg_set_innerText_2f1502f2d0780499:function(t,e,n){var r=f(e,n);o(t).innerText=r},__wbg_set_listener_id_8b77f7eb9adb712b:function(t,e){o(t).__yew_listener_id=e>>>0},__wbg_set_method_c3e20375f5ae7fac:function(t,e,n){var r=f(e,n);o(t).method=r},__wbg_set_mode_6a55f972d62a3c88:function(t,e){o(t).mode=Bt[e]},__wbg_set_nodeValue_d947eb0a476b80d7:function(t,e,n){var r=f(e,n);o(t).nodeValue=r},__wbg_set_passive_f411e67e6f28687b:function(t,e){o(t).passive=e!==0},__wbg_set_scrollLeft_8de8fc187e3a6808:function(t,e){o(t).scrollLeft=e},__wbg_set_scrollTop_bebe746cd217a3d1:function(t,e){o(t).scrollTop=e},__wbg_set_scrollTop_fb454582dda63417:function(t,e){o(t).scrollTop=e},__wbg_set_selectionEnd_01e3269db03d5d2e:function(){return w(function(t,e){o(t).selectionEnd=e===4294967297?void 0:e},arguments)},__wbg_set_selectionStart_d68d6955c07c2be1:function(){return w(function(t,e){o(t).selectionStart=e===4294967297?void 0:e},arguments)},__wbg_set_signal_f2d3f8599248896d:function(t,e){o(t).signal=o(e)},__wbg_set_stream_8a7c5f563fa185b4:function(t,e){o(t).stream=e!==0},__wbg_set_subtree_id_8be88ea477740786:function(t,e){o(t).__yew_subtree_id=e>>>0},__wbg_set_type_148de20768639245:function(t,e,n){var r=f(e,n);o(t).type=r},__wbg_set_value_62a965e38b22b38c:function(t,e,n){var r=f(e,n);o(t).value=r},__wbg_set_value_c3556fce049236f0:function(t,e,n){var r=f(e,n);o(t).value=r},__wbg_set_value_ddc3bd01a8467bf1:function(t,e,n){var r=f(e,n);o(t).value=r},__wbg_shadowRoot_14828067c5922da7:function(t){let e=o(t).shadowRoot;return d(e)?0:c(e)},__wbg_sheet_38c9043b5f37d85d:function(t){let e=o(t).sheet;return d(e)?0:c(e)},__wbg_shiftKey_5558a3288542c985:function(t){return o(t).shiftKey},__wbg_shiftKey_564be91ec842bcc4:function(t){return o(t).shiftKey},__wbg_showPicker_ba1d36381dae3011:function(){return w(function(t){o(t).showPicker()},arguments)},__wbg_showPopover_7166cd0808998024:function(){return w(function(t){o(t).showPopover()},arguments)},__wbg_signal_d1285ecab4ebc5ad:function(t){let e=o(t).signal;return c(e)},__wbg_slot_7d421d6c9d6c8352:function(t,e){let n=o(e).slot,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_stack_0ed75d68575b0f3c:function(t,e){let n=o(e).stack,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_startTime_248495bfbcb427d3:function(t){return o(t).startTime},__wbg_static_accessor_GLOBAL_12837167ad935116:function(){let t=typeof self>"u"?null:self;return d(t)?0:c(t)},__wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f:function(){let t=typeof globalThis>"u"?null:globalThis;return d(t)?0:c(t)},__wbg_static_accessor_PSP_ec0d91ec58af3fc5:function(){return c(J)},__wbg_static_accessor_SELF_a621d3dfbb60d0ce:function(){let t=typeof self>"u"?null:self;return d(t)?0:c(t)},__wbg_static_accessor_WINDOW_f8727f0cf888e0bd:function(){let t=typeof window>"u"?null:window;return d(t)?0:c(t)},__wbg_statusText_556131a02d60f5cd:function(t,e){let n=o(e).statusText,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_status_89d7e803db911ee7:function(t){return o(t).status},__wbg_stopPropagation_6e5e2a085214ac63:function(t){o(t).stopPropagation()},__wbg_stringify_2fdc12d5545a89d9:function(){return w(function(t,e,n){let r=JSON.stringify(o(t),o(e),o(n));return c(r)},arguments)},__wbg_stringify_8d1cc6ff383e8bae:function(){return w(function(t){let e=JSON.stringify(o(t));return c(e)},arguments)},__wbg_styleSheets_54de627270238f6f:function(t){let e=o(t).styleSheets;return c(e)},__wbg_style_0b7c9bd318f8b807:function(t){let e=o(t).style;return c(e)},__wbg_style_fa56cf251a93275a:function(t){let e=o(t).style;return c(e)},__wbg_subtree_id_1739fcadc43deeca:function(t){let e=o(t).__yew_subtree_id;return d(e)?4294967297:e>>>0},__wbg_supportedValuesOf_f5bfa0b7982be194:function(t){let e=Intl.supportedValuesOf(o(t));return c(e)},__wbg_table_new:function(t){let e=z.__wrap(t);return c(e)},__wbg_tagName_0cf6d7b647352f04:function(t,e){let n=o(e).tagName,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_target_521be630ab05b11e:function(t){let e=o(t).target;return d(e)?0:c(e)},__wbg_text_083b8727c990c8c0:function(){return w(function(t){let e=o(t).text();return c(e)},arguments)},__wbg_then_0d9fe2c7b1857d32:function(t,e,n){let r=o(t).then(o(e),o(n));return c(r)},__wbg_then_b9e7b3b5f1a9e1b5:function(t,e){let n=o(t).then(o(e));return c(n)},__wbg_timeStamp_ddfe1bf5c2346d68:function(t){return o(t).timeStamp},__wbg_toString_964ff7fe6eca8362:function(t){let e=o(t).toString();return c(e)},__wbg_toggleAttribute_d89e5c9e9053c9c4:function(){return w(function(t,e,n,r){var i=f(e,n);return o(t).toggleAttribute(i,r!==0)},arguments)},__wbg_toggle_52417ca95b874e83:function(){return w(function(t,e,n){var r=f(e,n);return o(t).toggle(r)},arguments)},__wbg_toggle_b8e3ebf1a7aaeb11:function(){return w(function(t,e,n,r){var i=f(e,n);return o(t).toggle(i,r!==0)},arguments)},__wbg_top_3d27ff6f468cf3fc:function(t){return o(t).top},__wbg_trace_9007714a6fbee374:function(t){console.trace(o(t))},__wbg_trace_bd16b570941b54fb:function(t,e,n,r){console.trace(o(t),o(e),o(n),o(r))},__wbg_type_4edffca24c42b74d:function(t,e){let n=o(e).type,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_unobserve_91c41e2f484c0a6b:function(t,e){o(t).unobserve(o(e))},__wbg_unobserve_96aa5061c3bb9a60:function(t,e){o(t).unobserve(o(e))},__wbg_update_12b3a6d9ce307218:function(){return w(function(t,e,n,r,i){let b=o(t).update(I.__wrap(e),n===4294967297?void 0:n,r===4294967297?void 0:r,i!==0);return c(b)},arguments)},__wbg_valueAsNumber_5292e7ed56db5658:function(t){return o(t).valueAsNumber},__wbg_value_0546255b415e96c1:function(t){let e=o(t).value;return c(e)},__wbg_value_15684899da869c95:function(t,e){let n=o(e).value,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_value_d402dce7dcb16251:function(t,e){let n=o(e).value,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_value_e506a07878790ca0:function(t,e){let n=o(e).value,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=v;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_values_5da93bc719d272cf:function(t){let e=Object.values(o(t));return c(e)},__wbg_view_new:function(t){let e=I.__wrap(t);return c(e)},__wbg_view_unwrap:function(t){return I.__unwrap(o(t))},__wbg_virtualdataslice_new:function(t){let e=M.__wrap(t);return c(e)},__wbg_warn_a40b971467b219c7:function(t,e,n,r){console.warn(o(t),o(e),o(n),o(r))},__wbg_warn_f7ae1b2e66ccb930:function(t){console.warn(o(t))},__wbg_which_78ecd90ab7c6bdd6:function(t){return o(t).which},__wbg_width_7444cca5dfea0645:function(t){return o(t).width},__wbg_width_9bbf873307a2ac4e:function(t){return o(t).width},__wbg_width_ae46cb8e98ee102f:function(t){return o(t).width},__wbg_write_d429ce72e918e180:function(t,e){let n=o(t).write(o(e));return c(n)},__wbindgen_cast_0000000000000001:function(t,e){let n=F(t,e,_.__wasm_bindgen_func_elem_7606,bt);return c(n)},__wbindgen_cast_0000000000000002:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7606,E);return c(n)},__wbindgen_cast_0000000000000003:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7606,E);return c(n)},__wbindgen_cast_0000000000000004:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7606,E);return c(n)},__wbindgen_cast_0000000000000005:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7606,E);return c(n)},__wbindgen_cast_0000000000000006:function(t,e){let n=F(t,e,_.__wasm_bindgen_func_elem_7606,bt);return c(n)},__wbindgen_cast_0000000000000007:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7606,E);return c(n)},__wbindgen_cast_0000000000000008:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7606,E);return c(n)},__wbindgen_cast_0000000000000009:function(t,e){let n=F(t,e,_.__wasm_bindgen_func_elem_7606,qt);return c(n)},__wbindgen_cast_000000000000000a:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7606,Dt);return c(n)},__wbindgen_cast_000000000000000b:function(t,e){let n=F(t,e,_.__wasm_bindgen_func_elem_20715,Lt);return c(n)},__wbindgen_cast_000000000000000c:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_21331,Nt);return c(n)},__wbindgen_cast_000000000000000d:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_21331,jt);return c(n)},__wbindgen_cast_000000000000000e:function(t,e){let n=F(t,e,_.__wasm_bindgen_func_elem_22750,Mt);return c(n)},__wbindgen_cast_000000000000000f:function(t,e){let n=F(t,e,_.__wasm_bindgen_func_elem_22750,zt);return c(n)},__wbindgen_cast_0000000000000010:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_27432,Wt);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=f(t,e);return c(n)},__wbindgen_cast_0000000000000014:function(t,e){let n=Vt(t,e);return c(n)},__wbindgen_cast_0000000000000015:function(t,e){let n=$t(t,e);return c(n)},__wbindgen_cast_0000000000000016:function(t,e){let n=Gt(t,e);return c(n)},__wbindgen_cast_0000000000000017:function(t,e){let n=Jt(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=pt(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=o(t);return c(e)},__wbindgen_object_drop_ref:function(t){u(t)},__wbindgen_object_is_undefined:function(t){return o(t)===void 0}}}}function jt(s,t){_.__wasm_bindgen_func_elem_21334(s,t)}function zt(s,t){_.__wasm_bindgen_func_elem_23403(s,t)}function Mt(s,t){let e=_.__wasm_bindgen_func_elem_23402(s,t);return u(e)}function bt(s,t,e){_.__wasm_bindgen_func_elem_8701(s,t,c(e))}function E(s,t,e){_.__wasm_bindgen_func_elem_8702(s,t,c(e))}function qt(s,t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.__wasm_bindgen_func_elem_8703(i,s,t);var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Dt(s,t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.__wasm_bindgen_func_elem_8699(r,s,t);var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Lt(s,t,e){try{_.__wasm_bindgen_func_elem_20738(s,t,ot(e))}finally{k[O++]=void 0}}function Nt(s,t,e){_.__wasm_bindgen_func_elem_21335(s,t,c(e))}function Wt(s,t,e){_.__wasm_bindgen_func_elem_27434(s,t,c(e))}function Ht(s,t,e,n){_.__wasm_bindgen_func_elem_35898(s,t,c(e),c(n))}var Bt=["open","closed"],Q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_client_free(s>>>0,1)),gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_genericsqlvirtualservermodel_free(s>>>0,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_perspectivedebugpluginelement_free(s>>>0,1)),Z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_perspectiveviewerelement_free(s>>>0,1)),tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_proxysession_free(s>>>0,1)),dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_table_free(s>>>0,1)),wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_view_free(s>>>0,1)),et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_virtualdataslice_free(s>>>0,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_virtualserver_free(s>>>0,1));function c(s){B===k.length&&k.push(k.length+1);let t=B;return B=k[t],k[t]=s,t}function rt(s,t){if(!(s instanceof t))throw new Error(`expected instance of ${t.name}`)}function ot(s){if(O==1)throw new Error("out of js stack");return k[--O]=s,O}var Y=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>s.dtor(s.a,s.b));function _t(s){let t=typeof s;if(t=="number"||t=="boolean"||s==null)return`${s}`;if(t=="string")return`"${s}"`;if(t=="symbol"){let r=s.description;return r==null?"Symbol":`Symbol(${r})`}if(t=="function"){let r=s.name;return typeof r=="string"&&r.length>0?`Function(${r})`:"Function"}if(Array.isArray(s)){let r=s.length,i="[";r>0&&(i+=_t(s[0]));for(let b=1;b<r;b++)i+=", "+_t(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 Ut(s){s<132||(k[s]=B,B=s)}function Vt(s,t){return s=s>>>0,Xt().subarray(s/4,s/4+t)}function $t(s,t){return s=s>>>0,Yt().subarray(s/8,s/8+t)}function Gt(s,t){return s=s>>>0,Kt().subarray(s/4,s/4+t)}function pt(s,t){s=s>>>0;let e=a(),n=[];for(let r=s;r<s+4*t;r+=4)n.push(u(e.getUint32(r,!0)));return n}function Jt(s,t){return s=s>>>0,Zt().subarray(s/4,s/4+t)}function T(s,t){return s=s>>>0,P().subarray(s/1,s/1+t)}function f(s,t){return s===0?o(t):Qt(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 D=null;function Xt(){return(D===null||D.byteLength===0)&&(D=new Float32Array(_.memory.buffer)),D}var L=null;function Yt(){return(L===null||L.byteLength===0)&&(L=new Float64Array(_.memory.buffer)),L}var N=null;function Kt(){return(N===null||N.byteLength===0)&&(N=new Int32Array(_.memory.buffer)),N}function Qt(s,t){return s=s>>>0,re(s,t)}var W=null;function Zt(){return(W===null||W.byteLength===0)&&(W=new Uint32Array(_.memory.buffer)),W}var H=null;function P(){return(H===null||H.byteLength===0)&&(H=new Uint8Array(_.memory.buffer)),H}function o(s){return k[s]}function w(s,t){try{return s.apply(this,t)}catch(e){_.__wbindgen_export3(c(e))}}var k=new Array(128).fill(void 0);k.push(void 0,null,!0,!1);var B=k.length;function d(s){return s==null}function F(s,t,e,n){let r={a:s,b:t,cnt:1,dtor:e},i=(...b)=>{r.cnt++;try{return n(r.a,r.b,...b)}finally{i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--r.cnt===0&&(r.dtor(r.a,r.b),r.a=0,Y.unregister(r))},Y.register(i,r,r),i}function S(s,t,e,n){let r={a:s,b:t,cnt:1,dtor:e},i=(...b)=>{r.cnt++;let g=r.a;r.a=0;try{return n(g,r.b,...b)}finally{r.a=g,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--r.cnt===0&&(r.dtor(r.a,r.b),r.a=0,Y.unregister(r))},Y.register(i,r,r),i}function te(s,t){let e=t(s.length*1,1)>>>0;return P().set(s,e/1),v=s.length,e}function ee(s,t){let e=t(s.length*4,4)>>>0,n=a();for(let r=0;r<s.length;r++)n.setUint32(e+4*r,c(s[r]),!0);return v=s.length,e}function m(s,t,e){if(e===void 0){let g=vt.encode(s),l=t(g.length,1)>>>0;return P().subarray(l,l+g.length).set(g),v=g.length,l}let n=s.length,r=t(n,1)>>>0,i=P(),b=0;for(;b<n;b++){let g=s.charCodeAt(b);if(g>127)break;i[r+b]=g}if(b!==n){b!==0&&(s=s.slice(b)),r=e(r,n,n=b+s.length*3,1)>>>0;let g=P().subarray(r+b,r+n),l=vt.encodeInto(s,g);b+=l.written,r=e(r,n,b,1)>>>0}return v=b,r}var O=128;function u(s){let t=o(s);return Ut(s),t}var X=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});X.decode();var ne=2146435072,nt=0;function re(s,t){return nt+=t,nt>=ne&&(X=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),X.decode(),nt=t),X.decode(P().subarray(s,s+t))}var vt=new TextEncoder,v=0,_e,_;function ht(s,t){return _=s.exports,_e=t,A=null,D=null,L=null,N=null,W=null,H=null,_}async function oe(s,t){if(typeof Response=="function"&&s instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(s,t)}catch(r){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",r);else throw r}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 ce(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=mt();s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));let e=new WebAssembly.Instance(s,t);return ht(e,s)}async function yt(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=mt();(typeof s=="string"||typeof Request=="function"&&s instanceof Request||typeof URL=="function"&&s instanceof URL)&&(s=fetch(s));let{instance:e,module:n}=await oe(await s,t);return ht(e,n)}export{R as Client,U as GenericSQLVirtualServerModel,V as PerspectiveDebugPluginElement,$ as PerspectiveViewerElement,j as ProxySession,z as Table,I as View,M as VirtualDataSlice,G as VirtualServer,yt as default,Ct as getColumnConfigDefaults,At as getPluginConfigDefaults,Rt as get_wasm_module,Et as get_worker_url,Tt as init,ce as initSync,Ft as registerPlugin,Pt as setColumnConfigDefaults,Ot as setPluginConfigDefaults};\n';
|
|
819
|
+
var tt = 'var St=Object.defineProperty;var Ct=(s,t)=>{for(var e in t)St(s,e,{get:t[e],enumerable:!0})};var X={};Ct(X,{Client:()=>F,GenericSQLVirtualServerModel:()=>V,PerspectiveDebugPluginElement:()=>$,PerspectiveViewerElement:()=>G,ProxySession:()=>j,Table:()=>z,View:()=>I,VirtualDataSlice:()=>q,VirtualServer:()=>J,default:()=>xt,getColumnConfigDefaults:()=>At,getPluginConfigDefaults:()=>Ft,get_wasm_module:()=>Et,get_worker_url:()=>Rt,init:()=>Tt,initSync:()=>ce,registerPlugin:()=>Pt,setColumnConfigDefaults:()=>Ot,setPluginConfigDefaults:()=>jt});function ct(s){customElements.get(s)||customElements.define(s,class extends HTMLElement{})}var it=window.ClipboardItem;var st=window.ResizeObserver;var at=window.IntersectionObserver;function ut(s,t,e,n){if(customElements.get(t)){console.warn(`Custom element "${t}" is already registered; skipping duplicate registration (Perspective was loaded more than once on this page).`);return}let r=s[e],i=r.prototype;class b extends HTMLElement{constructor(){super(),this._instance=new r(this)}}let g=Object.getOwnPropertyNames(i);for(let w of g)"get"in Object.getOwnPropertyDescriptor(i,w)?Object.defineProperty(b.prototype,w,{get:function(){return this._instance[w]}}):Object.defineProperty(b.prototype,w,{value:function(...v){return this._instance[w].call(this._instance,...v)}});for(let w of n)Object.defineProperty(b,w,{value:function(...v){return s[w].call(s,...v)}});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,Q.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_client_free(t,0)}__getClassname(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.client___getClassname(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(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,r=_.client___unsafe_open_view(this.__wbg_ptr,e,n);return I.__wrap(r)}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),r=p,i=_.client_handle_error(this.__wbg_ptr,n,r,d(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,r){let i=m(n,_.__wbindgen_export,_.__wbindgen_export2),b=p,g=_.client_join(this.__wbg_ptr,c(t),c(e),i,b,d(r)?0:c(r));return u(g)}constructor(t,e){try{let b=_.__wbindgen_add_to_stack_pointer(-16);_.client_new(b,c(t),d(e)?0:c(e));var n=a().getInt32(b+0,!0),r=a().getInt32(b+4,!0),i=a().getInt32(b+8,!0);if(i)throw u(r);return this.__wbg_ptr=n>>>0,Q.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,ot(t));return j.__wrap(e)}finally{k[O++]=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,r=_.client_open_table(this.__wbg_ptr,e,n);return u(r)}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),d(e)?0:c(e));return u(n)}terminate(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.client_terminate(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=a().getInt32(r+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 V=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,gt.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_genericsqlvirtualservermodel_free(t,0)}expressionDescribe(t,e){try{let w=_.__wbindgen_add_to_stack_pointer(-16),v=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=p,y=m(e,_.__wbindgen_export,_.__wbindgen_export2),x=p;_.genericsqlvirtualservermodel_expressionDescribe(w,this.__wbg_ptr,v,h,y,x);var n=a().getInt32(w+0,!0),r=a().getInt32(w+4,!0),i=a().getInt32(w+8,!0),b=a().getInt32(w+12,!0);if(b)throw u(i);var g=f(n,r);return n!==0&&_.__wbindgen_export4(n,r,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}expressionsDescribe(t,e){try{let w=_.__wbindgen_add_to_stack_pointer(-16),v=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=p;_.genericsqlvirtualservermodel_expressionsDescribe(w,this.__wbg_ptr,v,h,c(e));var n=a().getInt32(w+0,!0),r=a().getInt32(w+4,!0),i=a().getInt32(w+8,!0),b=a().getInt32(w+12,!0);if(b)throw u(i);var g=f(n,r);return n!==0&&_.__wbindgen_export4(n,r,1),g}finally{_.__wbindgen_add_to_stack_pointer(16)}}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),r=a().getInt32(b+12,!0);if(r)throw u(n);var i=f(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,d(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return this.__wbg_ptr=e>>>0,gt.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}quoteEntity(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_quoteEntity(g,this.__wbg_ptr,w,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableDescribe(t,e,n,r){try{let h=_.__wbindgen_add_to_stack_pointer(-16),y=m(t,_.__wbindgen_export,_.__wbindgen_export2),x=p;_.genericsqlvirtualservermodel_tableDescribe(h,this.__wbg_ptr,y,x,c(e),c(n),d(r)?16777215:r?1:0);var i=a().getInt32(h+0,!0),b=a().getInt32(h+4,!0),g=a().getInt32(h+8,!0),w=a().getInt32(h+12,!0);if(w)throw u(g);var v=f(i,b);return i!==0&&_.__wbindgen_export4(i,b,1),v}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableMakeView(t,e,n,r,i){try{let y=_.__wbindgen_add_to_stack_pointer(-16),x=m(t,_.__wbindgen_export,_.__wbindgen_export2),C=p,M=m(e,_.__wbindgen_export,_.__wbindgen_export2),D=p;_.genericsqlvirtualservermodel_tableMakeView(y,this.__wbg_ptr,x,C,M,D,c(n),c(r),d(i)?16777215:i?1:0);var b=a().getInt32(y+0,!0),g=a().getInt32(y+4,!0),w=a().getInt32(y+8,!0),v=a().getInt32(y+12,!0);if(v)throw u(w);var h=f(b,g);return b!==0&&_.__wbindgen_export4(b,g,1),h}finally{_.__wbindgen_add_to_stack_pointer(16)}}tablePath(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=ht(t,_.__wbindgen_export),v=p;_.genericsqlvirtualservermodel_tablePath(g,this.__wbg_ptr,w,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}tableSchema(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_tableSchema(g,this.__wbg_ptr,w,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(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),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_tableSize(g,this.__wbg_ptr,w,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewCollapse(t,e,n){try{let v=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=p;_.genericsqlvirtualservermodel_viewCollapse(v,this.__wbg_ptr,h,y,c(e),n);var r=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 w=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),w}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewColumnSize(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_viewColumnSize(g,this.__wbg_ptr,w,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(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),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_viewDelete(g,this.__wbg_ptr,w,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewExpand(t,e,n){try{let v=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=p;_.genericsqlvirtualservermodel_viewExpand(v,this.__wbg_ptr,h,y,c(e),n);var r=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 w=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),w}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewGetData(t,e,n,r){try{let h=_.__wbindgen_add_to_stack_pointer(-16),y=m(t,_.__wbindgen_export,_.__wbindgen_export2),x=p;_.genericsqlvirtualservermodel_viewGetData(h,this.__wbg_ptr,y,x,c(e),c(n),c(r));var i=a().getInt32(h+0,!0),b=a().getInt32(h+4,!0),g=a().getInt32(h+8,!0),w=a().getInt32(h+12,!0);if(w)throw u(g);var v=f(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),y=p,x=m(e,_.__wbindgen_export,_.__wbindgen_export2),C=p;_.genericsqlvirtualservermodel_viewGetMinMax(v,this.__wbg_ptr,h,y,x,C,c(n));var r=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 w=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),w}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewMakeTable(t,e,n,r,i){try{let y=_.__wbindgen_add_to_stack_pointer(-16),x=m(t,_.__wbindgen_export,_.__wbindgen_export2),C=p,M=m(e,_.__wbindgen_export,_.__wbindgen_export2),D=p;_.genericsqlvirtualservermodel_viewMakeTable(y,this.__wbg_ptr,x,C,M,D,c(n),c(r),c(i));var b=a().getInt32(y+0,!0),g=a().getInt32(y+4,!0),w=a().getInt32(y+8,!0),v=a().getInt32(y+12,!0);if(v)throw u(w);var h=f(b,g);return b!==0&&_.__wbindgen_export4(b,g,1),h}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewSchema(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_viewSchema(g,this.__wbg_ptr,w,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewSetDepth(t,e,n){try{let v=_.__wbindgen_add_to_stack_pointer(-16),h=m(t,_.__wbindgen_export,_.__wbindgen_export2),y=p;_.genericsqlvirtualservermodel_viewSetDepth(v,this.__wbg_ptr,h,y,c(e),n);var r=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 w=f(r,i);return r!==0&&_.__wbindgen_export4(r,i,1),w}finally{_.__wbindgen_add_to_stack_pointer(16)}}viewSize(t){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.genericsqlvirtualservermodel_viewSize(g,this.__wbg_ptr,w,v);var e=a().getInt32(g+0,!0),n=a().getInt32(g+4,!0),r=a().getInt32(g+8,!0),i=a().getInt32(g+12,!0);if(i)throw u(r);var b=f(e,n);return e!==0&&_.__wbindgen_export4(e,n,1),b}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(V.prototype[Symbol.dispose]=V.prototype.free);var $=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_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){_t(t,I);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 r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_name(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(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,ft.register(this,this.__wbg_ptr,this),this}resize(){let t=_.perspectivedebugpluginelement_clear(this.__wbg_ptr);return u(t)}restore(t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_restore(r,this.__wbg_ptr,d(t)?0:c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}restyle(){_.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr)}save(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_save(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=a().getInt32(r+8,!0);if(n)throw u(e);return u(t)}finally{_.__wbindgen_add_to_stack_pointer(16)}}get select_mode(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectivedebugpluginelement_select_mode(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(t,e);return t!==0&&_.__wbindgen_export4(t,e,1),n}finally{_.__wbindgen_add_to_stack_pointer(16)}}update(t){_t(t,I);let e=_.perspectivedebugpluginelement_update(this.__wbg_ptr,t.__wbg_ptr);return u(e)}};Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);var G=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,Z.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),t}free(){let t=this.__destroy_into_raw();_.__wbg_perspectiveviewerelement_free(t,0)}__get_model(){let t=_.perspectiveviewerelement___get_model(this.__wbg_ptr);return s.__wrap(t)}addPanel(t,e){let n=_.perspectiveviewerelement_addPanel(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}agentConfig(t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_agentConfig(r,this.__wbg_ptr,c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+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,r=_.perspectiveviewerelement_agentPrompt(this.__wbg_ptr,e,n);return u(r)}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,d(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,d(t)?0:c(t));return u(e)}eject(t){let e=_.perspectiveviewerelement_eject(this.__wbg_ptr,d(t)?0:c(t));return u(e)}export(t){let e=_.perspectiveviewerelement_export(this.__wbg_ptr,d(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,d(t)?0:c(t));return u(e)}getEditPort(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getEditPort(i,this.__wbg_ptr,d(t)?0:c(t));var e=a().getFloat64(i+0,!0),n=a().getInt32(i+8,!0),r=a().getInt32(i+12,!0);if(r)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=d(t)?0:m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p;_.perspectiveviewerelement_getPlugin(g,this.__wbg_ptr,e,n);var r=a().getInt32(g+0,!0),i=a().getInt32(g+4,!0),b=a().getInt32(g+8,!0);if(b)throw u(i);return u(r)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getRenderStats(t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.perspectiveviewerelement_getRenderStats(i,this.__wbg_ptr,d(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)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,d(t)?0:c(t));var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}getTable(t){let e=_.perspectiveviewerelement_getTable(this.__wbg_ptr,d(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,d(t)?0:c(t));return u(e)}getViewConfig(t){let e=_.perspectiveviewerelement_getViewConfig(this.__wbg_ptr,d(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),r=a().getInt32(i+8,!0);if(r)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,Z.register(this,this.__wbg_ptr,this),this}removePanel(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p,r=_.perspectiveviewerelement_removePanel(this.__wbg_ptr,e,n);return u(r)}reset(t,e){let n=_.perspectiveviewerelement_reset(this.__wbg_ptr,d(t)?16777215:t?1:0,d(e)?0:c(e));return u(n)}resetError(){let t=_.perspectiveviewerelement_resetError(this.__wbg_ptr);return u(t)}resetThemes(t){var e=d(t)?0:ht(t,_.__wbindgen_export),n=p;let r=_.perspectiveviewerelement_resetThemes(this.__wbg_ptr,e,n);return u(r)}resize(t){let e=_.perspectiveviewerelement_resize(this.__wbg_ptr,d(t)?0:c(t));return u(e)}restore(t,e){let n=_.perspectiveviewerelement_restore(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}restoreWorkspace(t,e){let n=_.perspectiveviewerelement_restoreWorkspace(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}restyleElement(){let t=_.perspectiveviewerelement_restyleElement(this.__wbg_ptr);return u(t)}save(t){let e=_.perspectiveviewerelement_save(this.__wbg_ptr,d(t)?0:c(t));return u(e)}saveWorkspace(t){let e=_.perspectiveviewerelement_saveWorkspace(this.__wbg_ptr,d(t)?0:c(t));return u(e)}setActivePanel(t){let e=m(t,_.__wbindgen_export,_.__wbindgen_export2),n=p,r=_.perspectiveviewerelement_setActivePanel(this.__wbg_ptr,e,n);return u(r)}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,d(t)?0:c(t),d(e)?0:c(e));var n=a().getInt32(i+0,!0),r=a().getInt32(i+4,!0);if(r)throw u(n)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setThrottle(t){_.perspectiveviewerelement_setThrottle(this.__wbg_ptr,!d(t),d(t)?0:t)}toggleColumnSettings(t,e){let n=m(t,_.__wbindgen_export,_.__wbindgen_export2),r=p,i=_.perspectiveviewerelement_toggleColumnSettings(this.__wbg_ptr,n,r,d(e)?0:c(e));return u(i)}toggleConfig(t){let e=_.perspectiveviewerelement_toggleConfig(this.__wbg_ptr,d(t)?16777215:t?1:0);return u(e)}};Symbol.dispose&&(G.prototype[Symbol.dispose]=G.prototype.free);var j=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_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{_t(t,F);let n=_.proxysession_new(t.__wbg_ptr,ot(e));return this.__wbg_ptr=n>>>0,tt.register(this,this.__wbg_ptr,this),this}finally{k[O++]=void 0}}};Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);var z=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,dt.register(e,e.__wbg_ptr,e),e}__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_table_free(t,0)}__getClassname(){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.table___getClassname(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(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,d(t)?0:c(t));return u(n)}describe(t){let e=_.table_describe(this.__wbg_ptr,d(t)?0:c(t));return u(e)}get_client(){let t=_.table_get_client(this.__wbg_ptr);return u(t)}get_features(){let t=_.table_get_features(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),d(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),d(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),d(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,d(t)?0:c(t));return u(e)}};Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);var I=class s{static __wrap(t){t=t>>>0;let e=Object.create(s.prototype);return e.__wbg_ptr=t,wt.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,wt.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 r=_.__wbindgen_add_to_stack_pointer(-16);_.view___unsafe_get_name(r,this.__wbg_ptr);var t=a().getInt32(r+0,!0),e=a().getInt32(r+4,!0),n=f(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,d(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,r=_.view_get_min_max(this.__wbg_ptr,e,n);return u(r)}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_remove(t){let e=_.view_on_remove(this.__wbg_ptr,c(t));return u(e)}on_update(t,e){let n=_.view_on_update(this.__wbg_ptr,c(t),d(e)?0:c(e));return u(n)}remove_delete(t){let e=_.view_remove_delete(this.__wbg_ptr,t);return u(e)}remove_remove(t){let e=_.view_remove_remove(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,d(t)?0:c(t));return u(e)}to_columns(t){let e=_.view_to_columns(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_columns_string(t){let e=_.view_to_columns_string(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_csv(t){let e=_.view_to_csv(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_json(t){let e=_.view_to_json(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_json_string(t){let e=_.view_to_json_string(this.__wbg_ptr,d(t)?0:c(t));return u(e)}to_ndjson(t){let e=_.view_to_ndjson(this.__wbg_ptr,d(t)?0:c(t));return u(e)}with_typed_arrays(t,e){let n=_.view_with_typed_arrays(this.__wbg_ptr,d(t)?0:c(t),c(e));return u(n)}};Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);var q=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_virtualdataslice_free(t,0)}fromArrowIpc(t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.virtualdataslice_fromArrowIpc(r,this.__wbg_ptr,c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+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,et.register(this,this.__wbg_ptr,this),this}setBooleanCol(t,e,n,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setBooleanCol(g,this.__wbg_ptr,w,v,e,c(n),d(r)?4294967297:r>>>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,r,i){try{let w=_.__wbindgen_add_to_stack_pointer(-16),v=m(t,_.__wbindgen_export,_.__wbindgen_export2),h=p,y=m(e,_.__wbindgen_export,_.__wbindgen_export2),x=p;_.virtualdataslice_setCol(w,this.__wbg_ptr,v,h,y,x,n,c(r),d(i)?4294967297:i>>>0);var b=a().getInt32(w+0,!0),g=a().getInt32(w+4,!0);if(g)throw u(b)}finally{_.__wbindgen_add_to_stack_pointer(16)}}setDatetimeCol(t,e,n,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setDatetimeCol(g,this.__wbg_ptr,w,v,e,c(n),d(r)?4294967297:r>>>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,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setFloatCol(g,this.__wbg_ptr,w,v,e,c(n),d(r)?4294967297:r>>>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,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setIntegerCol(g,this.__wbg_ptr,w,v,e,c(n),d(r)?4294967297:r>>>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,r){try{let g=_.__wbindgen_add_to_stack_pointer(-16),w=m(t,_.__wbindgen_export,_.__wbindgen_export2),v=p;_.virtualdataslice_setStringCol(g,this.__wbg_ptr,w,v,e,c(n),d(r)?4294967297:r>>>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&&(q.prototype[Symbol.dispose]=q.prototype.free);var J=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_virtualserver_free(t,0)}handleRequest(t){let e=ee(t,_.__wbindgen_export),n=p,r=_.virtualserver_handleRequest(this.__wbg_ptr,e,n);return u(r)}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),r=a().getInt32(i+8,!0);if(r)throw u(n);return this.__wbg_ptr=e>>>0,lt.register(this,this.__wbg_ptr,this),this}finally{_.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);function At(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.getColumnConfigDefaults(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 Ft(){try{let n=_.__wbindgen_add_to_stack_pointer(-16);_.getPluginConfigDefaults(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 Et(){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 Tt(s,t){_.init(c(s),c(t))}function Pt(s){let t=m(s,_.__wbindgen_export,_.__wbindgen_export2),e=p;_.registerPlugin(t,e)}function Ot(s,t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.setColumnConfigDefaults(r,c(s),d(t)?0:c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function jt(s,t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.setPluginConfigDefaults(r,c(s),d(t)?0:c(t));var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function mt(){return{__proto__:null,"./perspective-viewer.wasm_bg.js":{__proto__:null,__wbg_Error_8c4e43fe74559d73:function(t,e){var n=f(t,e);let r=Error(n);return c(r)},__wbg_Number_04624de7d0e8332d:function(t){return Number(o(t))},__wbg_String_8f0eb39a4a4c2f66:function(t,e){let n=String(o(e)),r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:function(t,e){let n=o(e),r=typeof n=="bigint"?n:void 0;a().setBigInt64(t+8,d(r)?BigInt(0):r,!0),a().setInt32(t+0,!d(r),!0)},__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:function(t){let e=o(t),n=typeof e=="boolean"?e:void 0;return d(n)?16777215:n?1:0},__wbg___wbindgen_debug_string_0bc8482c6e3508ae:function(t,e){let n=rt(o(e)),r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg___wbindgen_in_47fa6863be6f2f25:function(t,e){return o(t)in o(e)},__wbg___wbindgen_is_bigint_31b12575b56f32fc:function(t){return typeof o(t)=="bigint"},__wbg___wbindgen_is_function_0095a73b8b156f76:function(t){return typeof o(t)=="function"},__wbg___wbindgen_is_null_ac34f5003991759a:function(t){return o(t)===null},__wbg___wbindgen_is_object_5ae8e5880f2c1fbd:function(t){let e=o(t);return typeof e=="object"&&e!==null},__wbg___wbindgen_is_string_cd444516edc5b180:function(t){return typeof o(t)=="string"},__wbg___wbindgen_is_undefined_9e4d92534c42d778:function(t){return o(t)===void 0},__wbg___wbindgen_jsval_eq_11888390b0186270:function(t,e){return o(t)===o(e)},__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:function(t,e){return o(t)==o(e)},__wbg___wbindgen_number_get_8ff4255516ccad3e:function(t,e){let n=o(e),r=typeof n=="number"?n:void 0;a().setFloat64(t+8,d(r)?0:r,!0),a().setInt32(t+0,!d(r),!0)},__wbg___wbindgen_string_get_72fb696202c56729:function(t,e){let n=o(e),r=typeof n=="string"?n:void 0;var i=d(r)?0:m(r,_.__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=f(t,e);throw new Error(n)},__wbg__wbg_cb_unref_d9b87ff7982e3b21:function(t){o(t)._wbg_cb_unref()},__wbg_abort_2f0584e03e8e3950:function(t){o(t).abort()},__wbg_addEventListener_3acb0aad4483804c:function(){return l(function(t,e,n,r){var i=f(e,n);o(t).addEventListener(i,o(r))},arguments)},__wbg_addEventListener_5ef04ffb1d3af066:function(){return l(function(t,e,n,r,i){var b=f(e,n);o(t).addEventListener(b,o(r),i!==0)},arguments)},__wbg_addEventListener_c917b5aafbcf493f:function(){return l(function(t,e,n,r,i){var b=f(e,n);o(t).addEventListener(b,o(r),o(i))},arguments)},__wbg_add_5be83378df680c25:function(){return l(function(t,e,n){var r=f(e,n);o(t).add(r)},arguments)},__wbg_appendChild_dea38765a26d346d:function(){return l(function(t,e){let n=o(t).appendChild(o(e));return c(n)},arguments)},__wbg_append_a992ccc37aa62dc4:function(){return l(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t).append(b,g)},arguments)},__wbg_apply_2e22c45cb4f12415:function(){return l(function(t,e,n){let r=Reflect.apply(o(t),o(e),o(n));return c(r)},arguments)},__wbg_apply_ada2ee1a60ac7b3c:function(){return l(function(t,e,n){let r=o(t).apply(o(e),o(n));return c(r)},arguments)},__wbg_asyncIterator_58dd45e58aa3721e:function(){return c(Symbol.asyncIterator)},__wbg_at_dfc235641cc0e40c:function(t,e){let n=o(t).at(e);return c(n)},__wbg_attachShadow_d31cd520620b24d6:function(){return l(function(t,e){let n=o(t).attachShadow(o(e));return c(n)},arguments)},__wbg_blur_07f34335e06e5234:function(){return l(function(t){o(t).blur()},arguments)},__wbg_body_3a0b4437dadea6bf:function(t){let e=o(t).body;return d(e)?0:c(e)},__wbg_body_f67922363a220026:function(t){let e=o(t).body;return d(e)?0:c(e)},__wbg_bootstrap_6971bd921f7d6041:function(t,e,n,r,i,b){var g=f(e,n),w=f(r,i);let v=ut(o(t),g,w,u(b));return c(v)},__wbg_bottom_c7ec510a18034add:function(t){return o(t).bottom},__wbg_bubbles_ad88192d3c29e6f9:function(t){return o(t).bubbles},__wbg_buffer_26d0910f3a5bc899:function(t){let e=o(t).buffer;return c(e)},__wbg_button_d86841d0a03adc44:function(t){return o(t).button},__wbg_cache_key_b02185c5bc89ef2a:function(t){let e=o(t).__yew_subtree_cache_key;return d(e)?4294967297:e>>>0},__wbg_calculatePath_9a7897e919ecb67d:function(t,e,n){var r=f(e,n);let i=o(t).calculatePath(r);return c(i)},__wbg_calculatePresizePaths_24e57f1881209416:function(t){let e=o(t).calculatePresizePaths();return c(e)},__wbg_call_389efe28435a9388:function(){return l(function(t,e){let n=o(t).call(o(e));return c(n)},arguments)},__wbg_call_41bedb84c3e5c0c9:function(){return l(function(t,e,n,r,i,b){let g=o(t).call(o(e),o(n),o(r),o(i),o(b));return c(g)},arguments)},__wbg_call_4708e0c13bdc8e95:function(){return l(function(t,e,n){let r=o(t).call(o(e),o(n));return c(r)},arguments)},__wbg_call_812d25f1510c13c8:function(){return l(function(t,e,n,r){let i=o(t).call(o(e),o(n),o(r));return c(i)},arguments)},__wbg_cancelBubble_d93ec09e9c46cd6f:function(t){return o(t).cancelBubble},__wbg_checked_04db83ac6810bc82:function(t){return o(t).checked},__wbg_childNodes_75d35de33c9f6fbb:function(t){let e=o(t).childNodes;return c(e)},__wbg_children_54099e7692eefa29:function(t){let e=o(t).children;return c(e)},__wbg_classList_1a87c34c6d81421e:function(t){let e=o(t).classList;return c(e)},__wbg_className_2a1be685f5d518d5:function(t,e){let n=o(e).className,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_clear_fd7237613f56e5a5:function(){return l(function(t){let e=o(t).clear();return c(e)},arguments)},__wbg_click_0e9c20848b655ed3:function(t){o(t).click()},__wbg_clientHeight_6432ff0d61ccfe7d:function(t){return o(t).clientHeight},__wbg_clientX_a3c5f4ff30e91264:function(t){return o(t).clientX},__wbg_clientY_e28509acb9b4a42a:function(t){return o(t).clientY},__wbg_client_new:function(t){let e=F.__wrap(t);return c(e)},__wbg_clipboard_98c5a32249fa8416:function(t){let e=o(t).clipboard;return c(e)},__wbg_cloneNode_b85e9102a9a31b29:function(){return l(function(t,e){let n=o(t).cloneNode(e!==0);return c(n)},arguments)},__wbg_cloneNode_eaf4ea08ebf633a5:function(){return l(function(t){let e=o(t).cloneNode();return c(e)},arguments)},__wbg_closest_11206fe6e0fb4e4e:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).closest(r);return d(i)?0:c(i)},arguments)},__wbg_code_dee0dae4730408e1:function(t,e){let n=o(e).code,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_column_config_schema_587d6c070d13b472:function(){return l(function(t,e,n,r,i,b,g,w,v,h,y,x){var C=f(e,n),M=f(r,i),D=f(b,g),It=f(y,x);let kt=o(t).column_config_schema(C,M,D,o(w),o(v),o(h),It);return c(kt)},arguments)},__wbg_composedPath_9154ab2547c668d5:function(t){let e=o(t).composedPath();return c(e)},__wbg_contains_1056459c33f961e8:function(t,e){return o(t).contains(o(e))},__wbg_contains_6f4d5df35ef8a13a:function(t,e,n){var r=f(e,n);return o(t).contains(r)},__wbg_contentRect_f5f2b53ffb4ac2ea:function(t){let e=o(t).contentRect;return c(e)},__wbg_createElementNS_ee00621496b30ec2:function(){return l(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);let w=o(t).createElementNS(b,g);return c(w)},arguments)},__wbg_createElement_49f60fdcaae809c8:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).createElement(r);return c(i)},arguments)},__wbg_createObjectURL_918185db6a10a0c8:function(){return l(function(t,e){let n=URL.createObjectURL(o(e)),r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},arguments)},__wbg_createTextNode_55029686c9591bf3:function(t,e,n){var r=f(e,n);let i=o(t).createTextNode(r);return c(i)},__wbg_cssRules_554f47f3049cf066:function(){return l(function(t){let e=o(t).cssRules;return c(e)},arguments)},__wbg_cssText_8f3f27e60c824421:function(t,e){let n=o(e).cssText,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_dataTransfer_d924a622fbe51b06:function(t){let e=o(t).dataTransfer;return d(e)?0:c(e)},__wbg_dataset_20cb5c72458ae3fc:function(t){let e=o(t).dataset;return c(e)},__wbg_debug_46a93995fc6f8820:function(t,e,n,r){console.debug(o(t),o(e),o(n),o(r))},__wbg_debug_a4099fa12db6cd61:function(t){console.debug(o(t))},__wbg_decode_a28a47c6d83f2594:function(){return l(function(t,e,n,r,i){let b=o(e).decode(R(n,r),o(i)),g=m(b,_.__wbindgen_export,_.__wbindgen_export2),w=p;a().setInt32(t+4,w,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_define_panel_tab_016838f0812d2a84:function(t,e){var n=f(t,e);ct(n)},__wbg_delete_3a7d07f38f622c1a:function(t){o(t).delete()},__wbg_delete_8318b529ff42aa20:function(t,e,n){var r=f(e,n);delete o(t)[r]},__wbg_deselect_7203e2c1794a99db:function(){return l(function(t){let e=o(t).deselect();return c(e)},arguments)},__wbg_detail_934cf9545e3214d3:function(t){let e=o(t).detail;return c(e)},__wbg_dispatchEvent_dc8dcc7ddca11378:function(){return l(function(t,e){return o(t).dispatchEvent(o(e))},arguments)},__wbg_document_ee35a3d3ae34ef6c:function(t){let e=o(t).document;return d(e)?0:c(e)},__wbg_done_57b39ecd9addfe81:function(t){return o(t).done},__wbg_draw_5fa694ada83b4eec:function(){return l(function(t,e,n,r,i){let b=o(t).draw(I.__wrap(e),n===4294967297?void 0:n,r===4294967297?void 0:r,i!==0);return c(b)},arguments)},__wbg_entries_58c7934c745daac7:function(t){let e=Object.entries(o(t));return c(e)},__wbg_error_3c7d958458bf649b:function(t,e){var n=pt(t,e).slice();_.__wbindgen_export4(t,e*4,4),console.error(...n)},__wbg_error_7534b8e9a36f1ab4:function(t,e){var n=f(t,e);t!==0&&_.__wbindgen_export4(t,e,1),console.error(n)},__wbg_error_794d0ffc9d00d5c3:function(t,e,n,r){console.error(o(t),o(e),o(n),o(r))},__wbg_error_9a7fe3f932034cde:function(t){console.error(o(t))},__wbg_error_f852e41c69b0bd84:function(t,e){console.error(o(t),o(e))},__wbg_fetch_e6e8e0a221783759:function(t,e){let n=o(t).fetch(o(e));return c(n)},__wbg_focus_128ff465f65677cc:function(){return l(function(t){o(t).focus()},arguments)},__wbg_fonts_ba4bc521c555025e:function(t){let e=o(t).fonts;return c(e)},__wbg_format_7c97ddc401dae52f:function(t){let e=o(t).format;return c(e)},__wbg_from_bddd64e7d5ff6941:function(t){let e=Array.from(o(t));return c(e)},__wbg_getAttribute_b9f6fc4b689c71b0:function(t,e,n,r){var i=f(n,r);let b=o(e).getAttribute(i);var g=d(b)?0:m(b,_.__wbindgen_export,_.__wbindgen_export2),w=p;a().setInt32(t+4,w,!0),a().setInt32(t+0,g,!0)},__wbg_getBoundingClientRect_b5c8c34d07878818:function(t){let e=o(t).getBoundingClientRect();return c(e)},__wbg_getComputedStyle_2d1f9dfe4ee7e0b9:function(){return l(function(t,e){let n=o(t).getComputedStyle(o(e));return d(n)?0:c(n)},arguments)},__wbg_getContext_2a5764d48600bc43:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).getContext(r);return d(i)?0:c(i)},arguments)},__wbg_getEntriesByName_02488cff0bc7581c:function(t,e,n,r,i){var b=f(e,n),g=f(r,i);let w=o(t).getEntriesByName(b,g);return c(w)},__wbg_getPropertyValue_d6911b2a1f9acba9:function(){return l(function(t,e,n,r){var i=f(n,r);let b=o(e).getPropertyValue(i),g=m(b,_.__wbindgen_export,_.__wbindgen_export2),w=p;a().setInt32(t+4,w,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_getRandomValues_1c61fac11405ffdc:function(){return l(function(t,e){globalThis.crypto.getRandomValues(R(t,e))},arguments)},__wbg_getReader_804829cfb24eb4dd:function(t){let e=o(t).getReader();return c(e)},__wbg_getRootNode_193e544ed534e810:function(t){let e=o(t).getRootNode();return c(e)},__wbg_getSelection_d345357cda220f17:function(){return l(function(t){let e=o(t).getSelection();return d(e)?0:c(e)},arguments)},__wbg_getTime_1e3cd1391c5c3995:function(t){return o(t).getTime()},__wbg_getTimezoneOffset_81776d10a4ec18a8:function(t){return o(t).getTimezoneOffset()},__wbg_get_5dd1ee4c9f462865:function(t,e,n,r){var i=f(n,r);let b=o(e)[i];var g=d(b)?0:m(b,_.__wbindgen_export,_.__wbindgen_export2),w=p;a().setInt32(t+4,w,!0),a().setInt32(t+0,g,!0)},__wbg_get_76e04509d1922a04:function(t,e,n){var r=f(e,n);let i=o(t)[r];return d(i)?0:c(i)},__wbg_get_941633a1d2f510cb:function(){return l(function(t,e,n,r){var i=f(n,r);let b=o(e).get(i);var g=d(b)?0:m(b,_.__wbindgen_export,_.__wbindgen_export2),w=p;a().setInt32(t+4,w,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_get_9b94d73e6221f75c:function(t,e){let n=o(t)[e>>>0];return c(n)},__wbg_get_b3ed3ad4be2bc8ac:function(){return l(function(t,e){let n=Reflect.get(o(t),o(e));return c(n)},arguments)},__wbg_get_d8db2ad31d529ff8:function(t,e){let n=o(t)[e>>>0];return d(n)?0:c(n)},__wbg_get_static_config_31e085560e677d78:function(t){let e=o(t).get_static_config();return c(e)},__wbg_get_with_index_d26da38d2c038e1a:function(t,e){let n=o(t)[e>>>0];return d(n)?0:c(n)},__wbg_get_with_ref_key_1dc361bd10053bfe:function(t,e){let n=o(t)[o(e)];return c(n)},__wbg_hasAttribute_5d8f52cb4c739280:function(t,e,n){var r=f(e,n);return o(t).hasAttribute(r)},__wbg_has_d4e53238966c12b6:function(){return l(function(t,e){return Reflect.has(o(t),o(e))},arguments)},__wbg_headers_59a2938db9f80985:function(t){let e=o(t).headers;return c(e)},__wbg_height_45209601b4c4ede6:function(t){return o(t).height},__wbg_height_c2027cf67d1c9b11:function(t){return o(t).height},__wbg_hidden_8ce6a98b8c12451c:function(t){return o(t).hidden},__wbg_hidePopover_f52b72171825485d:function(){return l(function(t){o(t).hidePopover()},arguments)},__wbg_host_fb29f8be35c2517d:function(t){let e=o(t).host;return c(e)},__wbg_includes_32215c836f1cd3fb:function(t,e,n){return o(t).includes(o(e),n)},__wbg_indexOf_e5f91887d9e5023e:function(t,e,n){return o(t).indexOf(o(e),n)},__wbg_info_148d043840582012:function(t){console.info(o(t))},__wbg_info_9e602cf10c5c690b:function(t,e,n,r){console.info(o(t),o(e),o(n),o(r))},__wbg_innerHeight_54aa104da08becd2:function(){return l(function(t){let e=o(t).innerHeight;return c(e)},arguments)},__wbg_innerWidth_fa95c57321f4f033:function(){return l(function(t){let e=o(t).innerWidth;return c(e)},arguments)},__wbg_insertBefore_1468142836e61a51:function(){return l(function(t,e,n){let r=o(t).insertBefore(o(e),o(n));return c(r)},arguments)},__wbg_insertPanel_67b50d7422942b34:function(t,e,n,r,i){var b=f(e,n);let g=o(t).insertPanel(b,u(r),u(i));return c(g)},__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:function(t){let e;try{e=o(t)instanceof ArrayBuffer}catch{e=!1}return e},__wbg_instanceof_Array_d9eac779cd191cbc:function(t){let e;try{e=o(t)instanceof Array}catch{e=!1}return e},__wbg_instanceof_CanvasRenderingContext2d_4bb052fd1c3d134d:function(t){let e;try{e=o(t)instanceof CanvasRenderingContext2D}catch{e=!1}return e},__wbg_instanceof_CssStyleRule_23e59108346af0df:function(t){let e;try{e=o(t)instanceof CSSStyleRule}catch{e=!1}return e},__wbg_instanceof_CustomEvent_7dc010f377596c94:function(t){let e;try{e=o(t)instanceof CustomEvent}catch{e=!1}return e},__wbg_instanceof_Date_1b9f15b87f10aa4c:function(t){let e;try{e=o(t)instanceof Date}catch{e=!1}return e},__wbg_instanceof_Element_9e662f49ab6c6beb:function(t){let e;try{e=o(t)instanceof Element}catch{e=!1}return e},__wbg_instanceof_Error_8573fe0b0b480f46:function(t){let e;try{e=o(t)instanceof Error}catch{e=!1}return e},__wbg_instanceof_HtmlCanvasElement_3f2f6e1edb1c9792:function(t){let e;try{e=o(t)instanceof HTMLCanvasElement}catch{e=!1}return e},__wbg_instanceof_HtmlElement_5abfac207260fd6f:function(t){let e;try{e=o(t)instanceof HTMLElement}catch{e=!1}return e},__wbg_instanceof_HtmlInputElement_c10b7260b4e0710a:function(t){let e;try{e=o(t)instanceof HTMLInputElement}catch{e=!1}return e},__wbg_instanceof_HtmlLinkElement_5eb5b0855a17d0fc:function(t){let e;try{e=o(t)instanceof HTMLLinkElement}catch{e=!1}return e},__wbg_instanceof_HtmlSelectElement_a1820832b22b0d1e:function(t){let e;try{e=o(t)instanceof HTMLSelectElement}catch{e=!1}return e},__wbg_instanceof_Map_53af74335dec57f4:function(t){let e;try{e=o(t)instanceof Map}catch{e=!1}return e},__wbg_instanceof_Node_da04bd8df43deba3:function(t){let e;try{e=o(t)instanceof Node}catch{e=!1}return e},__wbg_instanceof_Object_1c6af87502b733ed:function(t){let e;try{e=o(t)instanceof Object}catch{e=!1}return e},__wbg_instanceof_Promise_0094681e3519d6ec:function(t){let e;try{e=o(t)instanceof Promise}catch{e=!1}return e},__wbg_instanceof_Response_ee1d54d79ae41977:function(t){let e;try{e=o(t)instanceof Response}catch{e=!1}return e},__wbg_instanceof_ShadowRoot_5285adde3587c73e:function(t){let e;try{e=o(t)instanceof ShadowRoot}catch{e=!1}return e},__wbg_instanceof_Uint8Array_9b9075935c74707c:function(t){let e;try{e=o(t)instanceof Uint8Array}catch{e=!1}return e},__wbg_instanceof_Window_ed49b2db8df90359:function(t){let e;try{e=o(t)instanceof Window}catch{e=!1}return e},__wbg_isArray_d314bb98fcf08331:function(t){return Array.isArray(o(t))},__wbg_isCollapsed_617e9be3f62f5a25:function(t){return o(t).isCollapsed},__wbg_isConnected_6110bc2c5462f90e:function(t){return o(t).isConnected},__wbg_isContentEditable_f5b0ce009dbd035b:function(t){return o(t).isContentEditable},__wbg_isIntersecting_1e85baa6e26b40b0:function(t){return o(t).isIntersecting},__wbg_isSafeInteger_bfbc7332a9768d2a:function(t){return Number.isSafeInteger(o(t))},__wbg_isSameNode_3caa48d6eb3c880e:function(t,e){return o(t).isSameNode(o(e))},__wbg_is_f29129f676e5410c:function(t,e){return Object.is(o(t),o(e))},__wbg_item_00ae26320b80a11f:function(t,e,n){let r=o(e).item(n>>>0),i=m(r,_.__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=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_item_5c82f52b014b3056:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_item_64b77e6a26f7de76:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_item_ca823df8214b9e2b:function(t,e){let n=o(t).item(e>>>0);return d(n)?0:c(n)},__wbg_iterator_6ff6560ca1568e55:function(){return c(Symbol.iterator)},__wbg_keyCode_155291a11654466e:function(t){return o(t).keyCode},__wbg_key_d41e8e825e6bb0e9:function(t,e){let n=o(e).key,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_keys_b50a709a76add04e:function(t){let e=Object.keys(o(t));return c(e)},__wbg_languages_5a69df7551d1a803:function(t){let e=o(t).languages;return c(e)},__wbg_lastChild_132d67597d5e4aef:function(t){let e=o(t).lastChild;return d(e)?0:c(e)},__wbg_left_3b7c3c1030d5ca7a:function(t){return o(t).left},__wbg_length_25851a48867b2afc:function(t){return o(t).length},__wbg_length_32ed9a279acd054c:function(t){return o(t).length},__wbg_length_35a7bace40f36eac:function(t){return o(t).length},__wbg_length_3f12bc1cab862cc3:function(t){return o(t).length},__wbg_length_b5aa6c69c842d6a6:function(t){return o(t).length},__wbg_length_e455564ce5cbf46e:function(t){return o(t).length},__wbg_length_edae0cd13a8d3b71:function(t){return o(t).length},__wbg_listener_id_3f13203bf7de1e4d:function(t){let e=o(t).__yew_listener_id;return d(e)?4294967297:e>>>0},__wbg_load_f8d29f3c1bda8dd1:function(t,e,n,r,i){var b=f(e,n),g=f(r,i);let w=o(t).load(b,g);return c(w)},__wbg_mark_3b530a64b09ba08a:function(){return l(function(t,e,n){var r=f(e,n);o(t).mark(r)},arguments)},__wbg_matches_852ba8b2b4592069:function(){return l(function(t,e,n){var r=f(e,n);return o(t).matches(r)},arguments)},__wbg_maximize_7e53fedbfdf5df63:function(t,e,n){var r=f(e,n);o(t).maximize(r)},__wbg_measureText_9d64a92333bd05ee:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).measureText(r);return c(i)},arguments)},__wbg_measure_288b48c082eae0fe:function(){return l(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t).measure(b,g)},arguments)},__wbg_message_9ddc4b9a62a7c379:function(t){let e=o(t).message;return c(e)},__wbg_minimize_dc2a816c3b0ae125:function(t){o(t).minimize()},__wbg_namespaceURI_86e2062c65f0f341:function(t,e){let n=o(e).namespaceURI;var r=d(n)?0:m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_navigator_43be698ba96fc088:function(t){let e=o(t).navigator;return c(e)},__wbg_new_16c83877745f8d12:function(){return l(function(t,e){var n=f(t,e);let r=new InputEvent(n);return c(r)},arguments)},__wbg_new_1d5bd472c706b768:function(){return l(function(){let t=new CSSStyleSheet;return c(t)},arguments)},__wbg_new_245cd5c49157e602:function(t){let e=new Date(o(t));return c(e)},__wbg_new_2ec3ec8c398b20d2:function(){return l(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 l(function(t,e){var n=f(t,e);let r=new CustomEvent(n);return c(r)},arguments)},__wbg_new_3eb36ae241fe6f44:function(){let t=new Array;return c(t)},__wbg_new_64284bd487f9d239:function(){return l(function(){let t=new Headers;return c(t)},arguments)},__wbg_new_72b49615380db768:function(t,e){var n=f(t,e);let r=new Error(n);return c(r)},__wbg_new_86c8f0b79e48927d:function(t,e){let n=new Intl.NumberFormat(o(t),o(e));return c(n)},__wbg_new_8a6f238a6ece86ea:function(){let t=new Error;return c(t)},__wbg_new_941fa4e452fc314d:function(t){let e=new at(o(t));return c(e)},__wbg_new_ae7a9c89c229a28a:function(t){let e=new st(o(t));return c(e)},__wbg_new_b5d9e2fb389fef91:function(t,e){try{var n={a:t,b:e},r=(b,g)=>{let w=n.a;n.a=0;try{return Bt(w,n.b,b,g)}finally{n.a=w}};let i=new Promise(r);return c(i)}finally{n.a=n.b=0}},__wbg_new_b949e7f56150a5d1:function(){return l(function(){let t=new AbortController;return c(t)},arguments)},__wbg_new_c155239f1b113b68:function(t,e){let n=new Intl.DateTimeFormat(o(t),o(e));return c(n)},__wbg_new_dca287b076112a51:function(){return c(new Map)},__wbg_new_dd2b680c8bf6ae29:function(t){let e=new Uint8Array(o(t));return c(e)},__wbg_new_eba62f46c9906ab0:function(t){let e=new it(o(t));return c(e)},__wbg_new_from_slice_a3d2629dc1826784:function(t,e){let n=new Uint8Array(R(t,e));return c(n)},__wbg_new_no_args_1c7c842f08d00ebb:function(t,e){var n=f(t,e);let r=new Function(n);return c(r)},__wbg_new_with_event_init_dict_48877e7ca125f3c1:function(){return l(function(t,e,n){var r=f(t,e);let i=new CustomEvent(r,o(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 l(function(t,e,n){var r=f(t,e);let i=new Request(r,o(n));return c(i)},arguments)},__wbg_new_with_str_sequence_and_options_9b8b0bee99ec6b0f:function(){return l(function(t,e){let n=new Blob(o(t),o(e));return c(n)},arguments)},__wbg_new_with_u8_array_sequence_08b2096a9f3117c0:function(){return l(function(t){let e=new Blob(o(t));return c(e)},arguments)},__wbg_nextSibling_2e988d9bbe3e06f0:function(t){let e=o(t).nextSibling;return d(e)?0:c(e)},__wbg_next_3482f54c49e8af19:function(){return l(function(t){let e=o(t).next();return c(e)},arguments)},__wbg_next_418f80d8f5303233:function(t){let e=o(t).next;return c(e)},__wbg_now_a3af9a2f4bbaa4d1:function(){return Date.now()},__wbg_now_ebffdf7e580f210d:function(t){return o(t).now()},__wbg_observe_2cd05deb2f42bcb7:function(t,e){o(t).observe(o(e))},__wbg_observe_ede84fcfda32dd95:function(t,e){o(t).observe(o(e))},__wbg_of_f915f7cd925b21a5:function(t){let e=Array.of(o(t));return c(e)},__wbg_offsetHeight_34f7abc1686733cc:function(t){return o(t).offsetHeight},__wbg_offsetParent_9627ebca6b03e8b2:function(t){let e=o(t).offsetParent;return d(e)?0:c(e)},__wbg_offsetWidth_f37b33a53e513101:function(t){return o(t).offsetWidth},__wbg_offsetX_b76b9bb1f9235de9:function(t){return o(t).offsetX},__wbg_offsetY_db5c1ddb866e1b82:function(t){return o(t).offsetY},__wbg_ok_87f537440a0acf85:function(t){return o(t).ok},__wbg_parentElement_75863410a8617953:function(t){let e=o(t).parentElement;return d(e)?0:c(e)},__wbg_parentNode_d44bd5ec58601e45:function(t){let e=o(t).parentNode;return d(e)?0:c(e)},__wbg_parse_708461a1feddfb38:function(){return l(function(t,e){var n=f(t,e);let r=JSON.parse(n);return c(r)},arguments)},__wbg_performance_06f12ba62483475d:function(t){let e=o(t).performance;return d(e)?0:c(e)},__wbg_plugin_config_schema_db6cd2d5859b10db:function(){return l(function(t,e,n){let r=o(t).plugin_config_schema(o(e),o(n));return c(r)},arguments)},__wbg_pointerId_466b1bdcaf2fe835:function(t){return o(t).pointerId},__wbg_pop_80fa29128215a463:function(t){let e=o(t).pop();return c(e)},__wbg_prepend_12ed960547d9dfe1:function(){return l(function(t,e){o(t).prepend(o(e))},arguments)},__wbg_presize_01e5f81031ad6c1c:function(){return l(function(t,e,n){let r=o(t).presize(e,n);return c(r)},arguments)},__wbg_preventDefault_cdcfcd7e301b9702:function(t){o(t).preventDefault()},__wbg_prototypesetcall_bdcdcc5842e4d77d:function(t,e,n){Uint8Array.prototype.set.call(R(t,e),o(n))},__wbg_push_8ffdcb2063340ba5:function(t,e){return o(t).push(o(e))},__wbg_querySelectorAll_1283aae52043a951:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).querySelectorAll(r);return c(i)},arguments)},__wbg_querySelectorAll_5875742f4e11f759:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).querySelectorAll(r);return c(i)},arguments)},__wbg_querySelector_1be4292f202b1597:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).querySelector(r);return d(i)?0:c(i)},arguments)},__wbg_querySelector_4dc619d02f6cb079:function(){return l(function(t,e,n){var r=f(e,n);let i=o(t).querySelector(r);return d(i)?0:c(i)},arguments)},__wbg_queueMicrotask_0aa0a927f78f5d98:function(t){let e=o(t).queueMicrotask;return c(e)},__wbg_queueMicrotask_5bb536982f78a56f:function(t){queueMicrotask(o(t))},__wbg_readText_b9ac81623f153a62:function(t){let e=o(t).readText();return c(e)},__wbg_read_68fd377df67e19b0:function(t){let e=o(t).read();return c(e)},__wbg_readyState_cf11f0728fc7b46c:function(t,e){let n=o(e).readyState,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_realCoordinates_acdf07306811b527:function(t,e){let n=o(t).realCoordinates(o(e));return c(n)},__wbg_reject_a2176de7f1212be5:function(t){let e=Promise.reject(o(t));return c(e)},__wbg_relatedTarget_1557cded94b97af2:function(t){let e=o(t).relatedTarget;return d(e)?0:c(e)},__wbg_releasePointerCapture_420ef33c7c5fb6f4:function(){return l(function(t,e){o(t).releasePointerCapture(e)},arguments)},__wbg_removeAllRanges_39254b77dc6257ab:function(){return l(function(t){o(t).removeAllRanges()},arguments)},__wbg_removeAttribute_87259aab06d9f286:function(){return l(function(t,e,n){var r=f(e,n);o(t).removeAttribute(r)},arguments)},__wbg_removeChild_2f0b06213dbc49ca:function(){return l(function(t,e){let n=o(t).removeChild(o(e));return c(n)},arguments)},__wbg_removeEventListener_0c0902ed5009dd9f:function(){return l(function(t,e,n,r,i){var b=f(e,n);o(t).removeEventListener(b,o(r),i!==0)},arguments)},__wbg_removeEventListener_e63328781a5b9af9:function(){return l(function(t,e,n,r){var i=f(e,n);o(t).removeEventListener(i,o(r))},arguments)},__wbg_removePanel_e6ec4d68afd2663f:function(t,e,n){var r=f(e,n);let i=o(t).removePanel(r);return c(i)},__wbg_removeProperty_a0d2ff8a76ffd2b1:function(){return l(function(t,e,n,r){var i=f(n,r);let b=o(e).removeProperty(i),g=m(b,_.__wbindgen_export,_.__wbindgen_export2),w=p;a().setInt32(t+4,w,!0),a().setInt32(t+0,g,!0)},arguments)},__wbg_remove_31c39325eee968fc:function(t){o(t).remove()},__wbg_remove_f9451697e0bc6ca0:function(){return l(function(t,e,n){var r=f(e,n);o(t).remove(r)},arguments)},__wbg_render_a37019929e53a083:function(){return l(function(t,e,n){let r=o(t).render(I.__wrap(e),u(n));return c(r)},arguments)},__wbg_replaceSync_54e9ce897fe6ab6a:function(){return l(function(t,e,n){var r=f(e,n);o(t).replaceSync(r)},arguments)},__wbg_requestAnimationFrame_43682f8e1c5e5348:function(){return l(function(t,e){return o(t).requestAnimationFrame(o(e))},arguments)},__wbg_resize_cab0679f837cfabb:function(){return l(function(t){let e=o(t).resize();return c(e)},arguments)},__wbg_resolve_002c4b7d9d8f6b64:function(t){let e=Promise.resolve(o(t));return c(e)},__wbg_resolvedOptions_4c36dbfa1c4ba2bf:function(t){let e=o(t).resolvedOptions();return c(e)},__wbg_restorePhysics_86fbfc4372e2a6b1:function(t,e){o(t).restorePhysics(o(e))},__wbg_restoreSync_7ef745d16b8f282a:function(t,e){o(t).restoreSync(o(e))},__wbg_restore_f7231fa1570afc60:function(){return l(function(t,e,n){o(t).restore(o(e),o(n))},arguments)},__wbg_restyle_430c877f714cf5bd:function(t){o(t).restyle()},__wbg_resumeResize_ac80ea40f9178dab:function(t){o(t).resumeResize()},__wbg_right_154af6c2b1bf0c89:function(t){return o(t).right},__wbg_run_ce6bcc7f4952334e:function(){return l(function(t,e){let n=o(t).run(o(e));return c(n)},arguments)},__wbg_save_aa2b3f6ad299b60e:function(t){let e=o(t).save();return c(e)},__wbg_scrollHeight_25e40881bfad55b6:function(t){return o(t).scrollHeight},__wbg_scrollLeft_2b817c7719d17438:function(t){return o(t).scrollLeft},__wbg_scrollTop_0a3a77f9fcbe038e:function(t){return o(t).scrollTop},__wbg_scrollTop_4161d2a08060cb06:function(t){return o(t).scrollTop},__wbg_select_ebe523060f81527f:function(t,e,n){var r=f(e,n);let i=o(t).select(r);return c(i)},__wbg_select_f96715f412d93f23:function(t){o(t).select()},__wbg_selectedIndex_b1465d243fcb7142:function(t){return o(t).selectedIndex},__wbg_selectionEnd_f3cba543517b4aa8:function(){return l(function(t){let e=o(t).selectionEnd;return d(e)?4294967297:e>>>0},arguments)},__wbg_selectionStart_9cd0aeff14a21252:function(){return l(function(t){let e=o(t).selectionStart;return d(e)?4294967297:e>>>0},arguments)},__wbg_selectorText_4ebdf4f8074dafea:function(t,e){let n=o(e).selectorText,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_setAttribute_cc8e4c8a2a008508:function(){return l(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t).setAttribute(b,g)},arguments)},__wbg_setDragImage_76defbcc7ff30178:function(t,e,n,r){o(t).setDragImage(o(e),n,r)},__wbg_setPointerCapture_420db6f6826eb74b:function(){return l(function(t,e){o(t).setPointerCapture(e)},arguments)},__wbg_setProperty_cbb25c4e74285b39:function(){return l(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t).setProperty(b,g)},arguments)},__wbg_setSelectionRange_301eef1c51e01d2a:function(){return l(function(t,e,n){o(t).setSelectionRange(e>>>0,n>>>0)},arguments)},__wbg_setTimeout_21d8cc2869b34c58:function(t,e){return setTimeout(o(t),e)},__wbg_setTimeout_eff32631ea138533:function(){return l(function(t,e,n){return o(t).setTimeout(o(e),n)},arguments)},__wbg_set_1eb0999cf5d27fc8:function(t,e,n){let r=o(t).set(o(e),o(n));return c(r)},__wbg_set_3f1d0b984ed272ed:function(t,e,n){o(t)[u(e)]=u(n)},__wbg_set_6cb8631f80447a67:function(){return l(function(t,e,n){return Reflect.set(o(t),o(e),o(n))},arguments)},__wbg_set_body_9a7e00afe3cfe244:function(t,e){o(t).body=o(e)},__wbg_set_bubbles_739f291693b2bbec:function(t,e){o(t).bubbles=e!==0},__wbg_set_cache_key_ace1fa875f02b7cd:function(t,e){o(t).__yew_subtree_cache_key=e>>>0},__wbg_set_capture_d52e7a585f2933c8:function(t,e){o(t).capture=e!==0},__wbg_set_checked_4b2468680005fbf7:function(t,e){o(t).checked=e!==0},__wbg_set_className_c1d9e7362164af61:function(t,e,n){var r=f(e,n);o(t).className=r},__wbg_set_composed_e4a9826a628ca7f8:function(t,e){o(t).composed=e!==0},__wbg_set_cssText_18380c97092caefa:function(t,e,n){var r=f(e,n);o(t).cssText=r},__wbg_set_defaultValue_ad528b0a65ceef4a:function(){return l(function(t,e,n){var r=f(e,n);o(t).defaultValue=r},arguments)},__wbg_set_detail_fa3b358526be3a85:function(t,e){o(t).detail=o(e)},__wbg_set_dropEffect_042402609f0b7c6b:function(t,e,n){var r=f(e,n);o(t).dropEffect=r},__wbg_set_f43e577aea94465b:function(t,e,n){o(t)[e>>>0]=u(n)},__wbg_set_fb27b296001e2de9:function(){return l(function(t,e,n,r,i){var b=f(e,n),g=f(r,i);o(t)[b]=g},arguments)},__wbg_set_font_575685c8f7e56957:function(t,e,n){var r=f(e,n);o(t).font=r},__wbg_set_headers_cfc5f4b2c1f20549:function(t,e){o(t).headers=o(e)},__wbg_set_innerHTML_edd39677e3460291:function(t,e,n){var r=f(e,n);o(t).innerHTML=r},__wbg_set_innerText_2f1502f2d0780499:function(t,e,n){var r=f(e,n);o(t).innerText=r},__wbg_set_listener_id_8b77f7eb9adb712b:function(t,e){o(t).__yew_listener_id=e>>>0},__wbg_set_method_c3e20375f5ae7fac:function(t,e,n){var r=f(e,n);o(t).method=r},__wbg_set_mode_6a55f972d62a3c88:function(t,e){o(t).mode=Ut[e]},__wbg_set_nodeValue_d947eb0a476b80d7:function(t,e,n){var r=f(e,n);o(t).nodeValue=r},__wbg_set_passive_f411e67e6f28687b:function(t,e){o(t).passive=e!==0},__wbg_set_scrollLeft_8de8fc187e3a6808:function(t,e){o(t).scrollLeft=e},__wbg_set_scrollTop_bebe746cd217a3d1:function(t,e){o(t).scrollTop=e},__wbg_set_scrollTop_fb454582dda63417:function(t,e){o(t).scrollTop=e},__wbg_set_selectionEnd_01e3269db03d5d2e:function(){return l(function(t,e){o(t).selectionEnd=e===4294967297?void 0:e},arguments)},__wbg_set_selectionStart_d68d6955c07c2be1:function(){return l(function(t,e){o(t).selectionStart=e===4294967297?void 0:e},arguments)},__wbg_set_signal_f2d3f8599248896d:function(t,e){o(t).signal=o(e)},__wbg_set_stream_8a7c5f563fa185b4:function(t,e){o(t).stream=e!==0},__wbg_set_subtree_id_8be88ea477740786:function(t,e){o(t).__yew_subtree_id=e>>>0},__wbg_set_type_148de20768639245:function(t,e,n){var r=f(e,n);o(t).type=r},__wbg_set_value_62a965e38b22b38c:function(t,e,n){var r=f(e,n);o(t).value=r},__wbg_set_value_c3556fce049236f0:function(t,e,n){var r=f(e,n);o(t).value=r},__wbg_set_value_ddc3bd01a8467bf1:function(t,e,n){var r=f(e,n);o(t).value=r},__wbg_shadowRoot_14828067c5922da7:function(t){let e=o(t).shadowRoot;return d(e)?0:c(e)},__wbg_sheet_38c9043b5f37d85d:function(t){let e=o(t).sheet;return d(e)?0:c(e)},__wbg_shiftKey_5558a3288542c985:function(t){return o(t).shiftKey},__wbg_shiftKey_564be91ec842bcc4:function(t){return o(t).shiftKey},__wbg_showPicker_ba1d36381dae3011:function(){return l(function(t){o(t).showPicker()},arguments)},__wbg_showPopover_7166cd0808998024:function(){return l(function(t){o(t).showPopover()},arguments)},__wbg_signal_d1285ecab4ebc5ad:function(t){let e=o(t).signal;return c(e)},__wbg_slot_7d421d6c9d6c8352:function(t,e){let n=o(e).slot,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_stack_0ed75d68575b0f3c:function(t,e){let n=o(e).stack,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_startTime_248495bfbcb427d3:function(t){return o(t).startTime},__wbg_static_accessor_GLOBAL_12837167ad935116:function(){let t=typeof self>"u"?null:self;return d(t)?0:c(t)},__wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f:function(){let t=typeof globalThis>"u"?null:globalThis;return d(t)?0:c(t)},__wbg_static_accessor_PSP_a0b6d4c75051d537:function(){return c(X)},__wbg_static_accessor_SELF_a621d3dfbb60d0ce:function(){let t=typeof self>"u"?null:self;return d(t)?0:c(t)},__wbg_static_accessor_WINDOW_f8727f0cf888e0bd:function(){let t=typeof window>"u"?null:window;return d(t)?0:c(t)},__wbg_statusText_556131a02d60f5cd:function(t,e){let n=o(e).statusText,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_status_89d7e803db911ee7:function(t){return o(t).status},__wbg_stopPropagation_6e5e2a085214ac63:function(t){o(t).stopPropagation()},__wbg_stringify_2fdc12d5545a89d9:function(){return l(function(t,e,n){let r=JSON.stringify(o(t),o(e),o(n));return c(r)},arguments)},__wbg_stringify_8d1cc6ff383e8bae:function(){return l(function(t){let e=JSON.stringify(o(t));return c(e)},arguments)},__wbg_styleSheets_54de627270238f6f:function(t){let e=o(t).styleSheets;return c(e)},__wbg_style_0b7c9bd318f8b807:function(t){let e=o(t).style;return c(e)},__wbg_style_fa56cf251a93275a:function(t){let e=o(t).style;return c(e)},__wbg_subtree_id_1739fcadc43deeca:function(t){let e=o(t).__yew_subtree_id;return d(e)?4294967297:e>>>0},__wbg_supportedValuesOf_ee76a7c9dedf9c58:function(t){let e=Intl.supportedValuesOf(o(t));return c(e)},__wbg_table_new:function(t){let e=z.__wrap(t);return c(e)},__wbg_tagName_0cf6d7b647352f04:function(t,e){let n=o(e).tagName,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_target_521be630ab05b11e:function(t){let e=o(t).target;return d(e)?0:c(e)},__wbg_text_083b8727c990c8c0:function(){return l(function(t){let e=o(t).text();return c(e)},arguments)},__wbg_then_0d9fe2c7b1857d32:function(t,e,n){let r=o(t).then(o(e),o(n));return c(r)},__wbg_then_b9e7b3b5f1a9e1b5:function(t,e){let n=o(t).then(o(e));return c(n)},__wbg_timeStamp_ddfe1bf5c2346d68:function(t){return o(t).timeStamp},__wbg_toString_964ff7fe6eca8362:function(t){let e=o(t).toString();return c(e)},__wbg_toggleAttribute_d89e5c9e9053c9c4:function(){return l(function(t,e,n,r){var i=f(e,n);return o(t).toggleAttribute(i,r!==0)},arguments)},__wbg_toggle_52417ca95b874e83:function(){return l(function(t,e,n){var r=f(e,n);return o(t).toggle(r)},arguments)},__wbg_toggle_b8e3ebf1a7aaeb11:function(){return l(function(t,e,n,r){var i=f(e,n);return o(t).toggle(i,r!==0)},arguments)},__wbg_top_3d27ff6f468cf3fc:function(t){return o(t).top},__wbg_trace_9007714a6fbee374:function(t){console.trace(o(t))},__wbg_trace_bd16b570941b54fb:function(t,e,n,r){console.trace(o(t),o(e),o(n),o(r))},__wbg_type_4edffca24c42b74d:function(t,e){let n=o(e).type,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_unobserve_3e54c3871b9c786b:function(t,e){o(t).unobserve(o(e))},__wbg_unobserve_7385af38cb320b9e:function(t,e){o(t).unobserve(o(e))},__wbg_update_8f3a99150a763b87:function(){return l(function(t,e,n,r,i){let b=o(t).update(I.__wrap(e),n===4294967297?void 0:n,r===4294967297?void 0:r,i!==0);return c(b)},arguments)},__wbg_valueAsNumber_5292e7ed56db5658:function(t){return o(t).valueAsNumber},__wbg_value_0546255b415e96c1:function(t){let e=o(t).value;return c(e)},__wbg_value_15684899da869c95:function(t,e){let n=o(e).value,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_value_d402dce7dcb16251:function(t,e){let n=o(e).value,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_value_e506a07878790ca0:function(t,e){let n=o(e).value,r=m(n,_.__wbindgen_export,_.__wbindgen_export2),i=p;a().setInt32(t+4,i,!0),a().setInt32(t+0,r,!0)},__wbg_values_5da93bc719d272cf:function(t){let e=Object.values(o(t));return c(e)},__wbg_view_new:function(t){let e=I.__wrap(t);return c(e)},__wbg_view_unwrap:function(t){return I.__unwrap(o(t))},__wbg_virtualdataslice_new:function(t){let e=q.__wrap(t);return c(e)},__wbg_warn_a40b971467b219c7:function(t,e,n,r){console.warn(o(t),o(e),o(n),o(r))},__wbg_warn_f7ae1b2e66ccb930:function(t){console.warn(o(t))},__wbg_which_78ecd90ab7c6bdd6:function(t){return o(t).which},__wbg_width_7444cca5dfea0645:function(t){return o(t).width},__wbg_width_9bbf873307a2ac4e:function(t){return o(t).width},__wbg_width_ae46cb8e98ee102f:function(t){return o(t).width},__wbg_write_d429ce72e918e180:function(t,e){let n=o(t).write(o(e));return c(n)},__wbindgen_cast_0000000000000001:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_20596,Dt);return c(n)},__wbindgen_cast_0000000000000002:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_7550,bt);return c(n)},__wbindgen_cast_0000000000000003:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7550,E);return c(n)},__wbindgen_cast_0000000000000004:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7550,E);return c(n)},__wbindgen_cast_0000000000000005:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7550,E);return c(n)},__wbindgen_cast_0000000000000006:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7550,E);return c(n)},__wbindgen_cast_0000000000000007:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_7550,bt);return c(n)},__wbindgen_cast_0000000000000008:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7550,E);return c(n)},__wbindgen_cast_0000000000000009:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7550,E);return c(n)},__wbindgen_cast_000000000000000a:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_7550,Lt);return c(n)},__wbindgen_cast_000000000000000b:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_7550,Nt);return c(n)},__wbindgen_cast_000000000000000c:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_21211,Wt);return c(n)},__wbindgen_cast_000000000000000d:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_21211,zt);return c(n)},__wbindgen_cast_000000000000000e:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_22623,Mt);return c(n)},__wbindgen_cast_000000000000000f:function(t,e){let n=T(t,e,_.__wasm_bindgen_func_elem_22623,qt);return c(n)},__wbindgen_cast_0000000000000010:function(t,e){let n=S(t,e,_.__wasm_bindgen_func_elem_27298,Ht);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=f(t,e);return c(n)},__wbindgen_cast_0000000000000014:function(t,e){let n=$t(t,e);return c(n)},__wbindgen_cast_0000000000000015:function(t,e){let n=Gt(t,e);return c(n)},__wbindgen_cast_0000000000000016:function(t,e){let n=Jt(t,e);return c(n)},__wbindgen_cast_0000000000000017:function(t,e){let n=Xt(t,e);return c(n)},__wbindgen_cast_0000000000000018:function(t,e){let n=R(t,e);return c(n)},__wbindgen_cast_0000000000000019:function(t){let e=BigInt.asUintN(64,t);return c(e)},__wbindgen_cast_000000000000001a:function(t,e){var n=pt(t,e).slice();return _.__wbindgen_export4(t,e*4,4),c(n)},__wbindgen_cast_000000000000001b:function(t,e){var n=R(t,e).slice();return _.__wbindgen_export4(t,e*1,1),c(n)},__wbindgen_object_clone_ref:function(t){let e=o(t);return c(e)},__wbindgen_object_drop_ref:function(t){u(t)},__wbindgen_object_is_undefined:function(t){return o(t)===void 0}}}}function zt(s,t){_.__wasm_bindgen_func_elem_21214(s,t)}function qt(s,t){_.__wasm_bindgen_func_elem_23271(s,t)}function Mt(s,t){let e=_.__wasm_bindgen_func_elem_23270(s,t);return u(e)}function Dt(s,t,e){try{_.__wasm_bindgen_func_elem_20619(s,t,ot(e))}finally{k[O++]=void 0}}function bt(s,t,e){_.__wasm_bindgen_func_elem_8627(s,t,c(e))}function E(s,t,e){_.__wasm_bindgen_func_elem_8628(s,t,c(e))}function Lt(s,t){try{let i=_.__wbindgen_add_to_stack_pointer(-16);_.__wasm_bindgen_func_elem_8629(i,s,t);var e=a().getInt32(i+0,!0),n=a().getInt32(i+4,!0),r=a().getInt32(i+8,!0);if(r)throw u(n);return u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Nt(s,t){try{let r=_.__wbindgen_add_to_stack_pointer(-16);_.__wasm_bindgen_func_elem_8625(r,s,t);var e=a().getInt32(r+0,!0),n=a().getInt32(r+4,!0);if(n)throw u(e)}finally{_.__wbindgen_add_to_stack_pointer(16)}}function Wt(s,t,e){_.__wasm_bindgen_func_elem_21215(s,t,c(e))}function Ht(s,t,e){_.__wasm_bindgen_func_elem_27300(s,t,c(e))}function Bt(s,t,e,n){_.__wasm_bindgen_func_elem_36104(s,t,c(e),c(n))}var Ut=["open","closed"],Q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_client_free(s>>>0,1)),gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_genericsqlvirtualservermodel_free(s>>>0,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_perspectivedebugpluginelement_free(s>>>0,1)),Z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_perspectiveviewerelement_free(s>>>0,1)),tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_proxysession_free(s>>>0,1)),dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_table_free(s>>>0,1)),wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_view_free(s>>>0,1)),et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_virtualdataslice_free(s>>>0,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>_.__wbg_virtualserver_free(s>>>0,1));function c(s){U===k.length&&k.push(k.length+1);let t=U;return U=k[t],k[t]=s,t}function _t(s,t){if(!(s instanceof t))throw new Error(`expected instance of ${t.name}`)}function ot(s){if(O==1)throw new Error("out of js stack");return k[--O]=s,O}var K=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>s.dtor(s.a,s.b));function rt(s){let t=typeof s;if(t=="number"||t=="boolean"||s==null)return`${s}`;if(t=="string")return`"${s}"`;if(t=="symbol"){let r=s.description;return r==null?"Symbol":`Symbol(${r})`}if(t=="function"){let r=s.name;return typeof r=="string"&&r.length>0?`Function(${r})`:"Function"}if(Array.isArray(s)){let r=s.length,i="[";r>0&&(i+=rt(s[0]));for(let b=1;b<r;b++)i+=", "+rt(s[b]);return i+="]",i}let e=/\\[object ([^\\]]+)\\]/.exec(toString.call(s)),n;if(e&&e.length>1)n=e[1];else return toString.call(s);if(n=="Object")try{return"Object("+JSON.stringify(s)+")"}catch{return"Object"}return s instanceof Error?`${s.name}: ${s.message}\n${s.stack}`:n}function Vt(s){s<132||(k[s]=U,U=s)}function $t(s,t){return s=s>>>0,Yt().subarray(s/4,s/4+t)}function Gt(s,t){return s=s>>>0,Kt().subarray(s/8,s/8+t)}function Jt(s,t){return s=s>>>0,Qt().subarray(s/4,s/4+t)}function pt(s,t){s=s>>>0;let e=a(),n=[];for(let r=s;r<s+4*t;r+=4)n.push(u(e.getUint32(r,!0)));return n}function Xt(s,t){return s=s>>>0,te().subarray(s/4,s/4+t)}function R(s,t){return s=s>>>0,P().subarray(s/1,s/1+t)}function f(s,t){return s===0?o(t):Zt(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 Yt(){return(L===null||L.byteLength===0)&&(L=new Float32Array(_.memory.buffer)),L}var N=null;function Kt(){return(N===null||N.byteLength===0)&&(N=new Float64Array(_.memory.buffer)),N}var W=null;function Qt(){return(W===null||W.byteLength===0)&&(W=new Int32Array(_.memory.buffer)),W}function Zt(s,t){return s=s>>>0,_e(s,t)}var H=null;function te(){return(H===null||H.byteLength===0)&&(H=new Uint32Array(_.memory.buffer)),H}var B=null;function P(){return(B===null||B.byteLength===0)&&(B=new Uint8Array(_.memory.buffer)),B}function o(s){return k[s]}function l(s,t){try{return s.apply(this,t)}catch(e){_.__wbindgen_export3(c(e))}}var k=new Array(128).fill(void 0);k.push(void 0,null,!0,!1);var U=k.length;function d(s){return s==null}function T(s,t,e,n){let r={a:s,b:t,cnt:1,dtor:e},i=(...b)=>{r.cnt++;try{return n(r.a,r.b,...b)}finally{i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--r.cnt===0&&(r.dtor(r.a,r.b),r.a=0,K.unregister(r))},K.register(i,r,r),i}function S(s,t,e,n){let r={a:s,b:t,cnt:1,dtor:e},i=(...b)=>{r.cnt++;let g=r.a;r.a=0;try{return n(g,r.b,...b)}finally{r.a=g,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--r.cnt===0&&(r.dtor(r.a,r.b),r.a=0,K.unregister(r))},K.register(i,r,r),i}function ee(s,t){let e=t(s.length*1,1)>>>0;return P().set(s,e/1),p=s.length,e}function ht(s,t){let e=t(s.length*4,4)>>>0,n=a();for(let r=0;r<s.length;r++)n.setUint32(e+4*r,c(s[r]),!0);return p=s.length,e}function m(s,t,e){if(e===void 0){let g=vt.encode(s),w=t(g.length,1)>>>0;return P().subarray(w,w+g.length).set(g),p=g.length,w}let n=s.length,r=t(n,1)>>>0,i=P(),b=0;for(;b<n;b++){let g=s.charCodeAt(b);if(g>127)break;i[r+b]=g}if(b!==n){b!==0&&(s=s.slice(b)),r=e(r,n,n=b+s.length*3,1)>>>0;let g=P().subarray(r+b,r+n),w=vt.encodeInto(s,g);b+=w.written,r=e(r,n,b,1)>>>0}return p=b,r}var O=128;function u(s){let t=o(s);return Vt(s),t}var Y=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});Y.decode();var ne=2146435072,nt=0;function _e(s,t){return nt+=t,nt>=ne&&(Y=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),Y.decode(),nt=t),Y.decode(P().subarray(s,s+t))}var vt=new TextEncoder,p=0,re,_;function yt(s,t){return _=s.exports,re=t,A=null,L=null,N=null,W=null,H=null,B=null,_}async function oe(s,t){if(typeof Response=="function"&&s instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(s,t)}catch(r){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",r);else throw r}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 ce(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=mt();s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));let e=new WebAssembly.Instance(s,t);return yt(e,s)}async function xt(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=mt();(typeof s=="string"||typeof Request=="function"&&s instanceof Request||typeof URL=="function"&&s instanceof URL)&&(s=fetch(s));let{instance:e,module:n}=await oe(await s,t);return yt(e,n)}export{F as Client,V as GenericSQLVirtualServerModel,$ as PerspectiveDebugPluginElement,G as PerspectiveViewerElement,j as ProxySession,z as Table,I as View,q as VirtualDataSlice,J as VirtualServer,xt as default,At as getColumnConfigDefaults,Ft as getPluginConfigDefaults,Et as get_wasm_module,Rt as get_worker_url,Tt as init,ce as initSync,Pt as registerPlugin,Ot as setColumnConfigDefaults,jt as setPluginConfigDefaults};\n';
|
|
822
820
|
|
|
823
821
|
// worker-stub:./perspective-viewer.worker.ts
|
|
824
|
-
var
|
|
825
|
-
async function
|
|
826
|
-
if (
|
|
827
|
-
let t = new Blob([
|
|
822
|
+
var P = null;
|
|
823
|
+
async function et() {
|
|
824
|
+
if (P) return P;
|
|
825
|
+
let t = new Blob([tt], {
|
|
828
826
|
type: "application/javascript"
|
|
829
827
|
});
|
|
830
|
-
return
|
|
828
|
+
return P = URL.createObjectURL(t), P;
|
|
831
829
|
}
|
|
832
830
|
|
|
833
831
|
// src/ts/bootstrap.ts
|
|
834
|
-
async function
|
|
835
|
-
await
|
|
832
|
+
async function R(t, e) {
|
|
833
|
+
await Nt(t, e);
|
|
836
834
|
}
|
|
837
835
|
var j;
|
|
838
836
|
Mt(async (t) => {
|
|
839
|
-
let e = await
|
|
837
|
+
let e = await et(), [n, r] = await Promise.all([
|
|
840
838
|
j === void 0 ? import(
|
|
841
839
|
/* webpackIgnore: true */
|
|
842
840
|
/* @vite-ignore */
|
|
@@ -846,36 +844,42 @@ Mt(async (t) => {
|
|
|
846
844
|
]);
|
|
847
845
|
return await n.default({ module_or_path: r }), await n.init(r, e), { glue: n, module: r };
|
|
848
846
|
});
|
|
849
|
-
|
|
850
|
-
Q.register(Nt);
|
|
851
|
-
function jt(t) {
|
|
847
|
+
function Vt(t) {
|
|
852
848
|
return typeof t == "object" && !(t instanceof Promise) && !(t instanceof Response) && !(t instanceof ArrayBuffer) && !ArrayBuffer.isView(t);
|
|
853
849
|
}
|
|
854
|
-
async function
|
|
855
|
-
let n =
|
|
850
|
+
async function q(t, e) {
|
|
851
|
+
let n = Vt(t) ? t : { viewer: t }, { viewer: r, migrate: _ } = n;
|
|
856
852
|
if (r === void 0 && _ === void 0)
|
|
857
853
|
throw new Error(
|
|
858
854
|
"init_client requires a wasm source or a {viewer, migrate} registration"
|
|
859
855
|
);
|
|
860
|
-
e !== void 0 && (j = e), await
|
|
856
|
+
e !== void 0 && (j = e), await R({ viewer: r, migrate: _ });
|
|
857
|
+
}
|
|
858
|
+
async function H() {
|
|
859
|
+
return await U();
|
|
860
|
+
}
|
|
861
|
+
async function W(t, e, n) {
|
|
862
|
+
return (await U()).migrate(t, e, n);
|
|
861
863
|
}
|
|
862
|
-
async function
|
|
863
|
-
|
|
864
|
+
async function B(t, e, n) {
|
|
865
|
+
(await U()).validate(t, e, n);
|
|
864
866
|
}
|
|
865
867
|
|
|
866
868
|
// src/ts/perspective-viewer.ts
|
|
867
|
-
var
|
|
869
|
+
var ne = { create_validator: H, init: R, init_client: q, migrate: W, validate: B };
|
|
868
870
|
export {
|
|
869
|
-
|
|
871
|
+
M as HTMLPerspectiveViewerPluginElement,
|
|
870
872
|
V as PerspectiveSelectDetail,
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
873
|
+
Lt as createDateFormatter,
|
|
874
|
+
At as createDatetimeFormatter,
|
|
875
|
+
Dt as createNumberFormatter,
|
|
876
|
+
H as create_validator,
|
|
877
|
+
ne as default,
|
|
878
|
+
R as init,
|
|
879
|
+
q as init_client,
|
|
880
|
+
W as migrate,
|
|
881
|
+
Et as providers,
|
|
882
|
+
Ot as sourceColumn,
|
|
883
|
+
B as validate
|
|
880
884
|
};
|
|
881
885
|
//# sourceMappingURL=perspective-viewer.js.map
|