@perspective-dev/viewer 5.9.0 → 5.9.2

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.
Files changed (55) hide show
  1. package/dist/cdn/perspective-viewer.js +9 -9
  2. package/dist/cdn/perspective-viewer.js.map +4 -4
  3. package/dist/css/blueprint.css +1 -1
  4. package/dist/css/botanical.css +1 -1
  5. package/dist/css/dracula.css +1 -1
  6. package/dist/css/eggplant.css +1 -1
  7. package/dist/css/gruvbox-dark.css +1 -1
  8. package/dist/css/gruvbox.css +1 -1
  9. package/dist/css/intl/ar.css +1 -1
  10. package/dist/css/intl/de.css +1 -1
  11. package/dist/css/intl/es.css +1 -1
  12. package/dist/css/intl/fr.css +1 -1
  13. package/dist/css/intl/ja.css +1 -1
  14. package/dist/css/intl/pt.css +1 -1
  15. package/dist/css/intl/zh.css +1 -1
  16. package/dist/css/intl.css +1 -1
  17. package/dist/css/ledger.css +1 -1
  18. package/dist/css/monokai.css +1 -1
  19. package/dist/css/nord.css +1 -1
  20. package/dist/css/phosphor.css +1 -1
  21. package/dist/css/pro-dark.css +1 -1
  22. package/dist/css/pro-light.css +1 -0
  23. package/dist/css/pro.css +1 -1
  24. package/dist/css/solarized-dark.css +1 -1
  25. package/dist/css/solarized.css +1 -1
  26. package/dist/css/themes.css +1 -1
  27. package/dist/css/vaporwave.css +1 -1
  28. package/dist/css/velvet.css +1 -1
  29. package/dist/custom-elements.json +381 -78
  30. package/dist/docs/perspective-docs.json +1 -1
  31. package/dist/esm/extensions.d.ts +11 -1
  32. package/dist/esm/perspective-viewer.d.ts +6 -0
  33. package/dist/esm/perspective-viewer.js +216 -201
  34. package/dist/esm/perspective-viewer.js.map +4 -4
  35. package/dist/esm/plugin.d.ts +7 -0
  36. package/dist/ts-rs/CommandLocation.d.ts +6 -0
  37. package/dist/ts-rs/CommandSchema.d.ts +7 -0
  38. package/dist/ts-rs/CommandSchemaOptions.d.ts +12 -0
  39. package/dist/ts-rs/CommandSpec.d.ts +10 -0
  40. package/dist/ts-rs/PerspectiveHit.d.ts +41 -0
  41. package/dist/ts-rs/PerspectiveHitKind.d.ts +6 -0
  42. package/dist/ts-rs/PerspectiveHitRef.d.ts +7 -0
  43. package/dist/ts-rs/ViewConfigUpdate.d.ts +111 -0
  44. package/dist/wasm/perspective-viewer.d.ts +242 -59
  45. package/dist/wasm/perspective-viewer.js +425 -186
  46. package/dist/wasm/perspective-viewer.wasm +0 -0
  47. package/dist/wasm/perspective-viewer.wasm.d.ts +20 -16
  48. package/dist/wasm/snippets/perspective-viewer-37c88b7aebc72452/inline3.js +8 -0
  49. package/package.json +8 -6
  50. package/dist/wasm/snippets/perspective-viewer-d50f032e5aa67e6f/inline1.js +0 -1
  51. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f → perspective-viewer-37c88b7aebc72452}/inline0.js +0 -0
  52. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f/inline2.js → perspective-viewer-37c88b7aebc72452/inline1.js} +0 -0
  53. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f/inline3.js → perspective-viewer-37c88b7aebc72452/inline2.js} +0 -0
  54. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f → perspective-viewer-37c88b7aebc72452}/inline4.js +0 -0
  55. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f → perspective-viewer-37c88b7aebc72452}/inline5.js +0 -0
@@ -1,10 +1,10 @@
1
1
  /* @ts-self-types="./perspective-viewer.wasm.d.ts" */
2
- import { define_panel_tab } from './snippets/perspective-viewer-d50f032e5aa67e6f/inline0.js';
3
- import { ClipboardItem } from './snippets/perspective-viewer-d50f032e5aa67e6f/inline1.js';
4
- import { ResizeObserver } from './snippets/perspective-viewer-d50f032e5aa67e6f/inline2.js';
5
- import { IntersectionObserver } from './snippets/perspective-viewer-d50f032e5aa67e6f/inline3.js';
6
- import { bootstrap } from './snippets/perspective-viewer-d50f032e5aa67e6f/inline4.js';
7
- import { psp } from './snippets/perspective-viewer-d50f032e5aa67e6f/inline5.js';
2
+ import { define_panel_tab } from './snippets/perspective-viewer-37c88b7aebc72452/inline0.js';
3
+ import { ResizeObserver } from './snippets/perspective-viewer-37c88b7aebc72452/inline1.js';
4
+ import { IntersectionObserver } from './snippets/perspective-viewer-37c88b7aebc72452/inline2.js';
5
+ import { clipboard_write } from './snippets/perspective-viewer-37c88b7aebc72452/inline3.js';
6
+ import { bootstrap } from './snippets/perspective-viewer-37c88b7aebc72452/inline4.js';
7
+ import { psp } from './snippets/perspective-viewer-37c88b7aebc72452/inline5.js';
8
8
 
9
9
  /**
10
10
  * An instance of a [`Client`] is a connection to a single
@@ -980,7 +980,7 @@ export class PerspectiveDebugPluginElement {
980
980
  wasm.__wbg_perspectivedebugpluginelement_free(ptr, 0);
981
981
  }
982
982
  /**
983
- * @returns {Promise<any>}
983
+ * @returns {Promise<void>}
984
984
  */
985
985
  clear() {
986
986
  const ret = wasm.perspectivedebugpluginelement_clear(this.__wbg_ptr);
@@ -997,7 +997,7 @@ export class PerspectiveDebugPluginElement {
997
997
  wasm.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr);
998
998
  }
999
999
  /**
1000
- * @returns {Promise<any>}
1000
+ * @returns {Promise<void>}
1001
1001
  */
1002
1002
  delete() {
1003
1003
  const ret = wasm.perspectivedebugpluginelement_clear(this.__wbg_ptr);
@@ -1010,7 +1010,7 @@ export class PerspectiveDebugPluginElement {
1010
1010
  * move. Ergo, if you replace the `&` in the `view` argument, the JS copy
1011
1011
  * of the `View` will be invalid
1012
1012
  * @param {View} view
1013
- * @returns {Promise<any>}
1013
+ * @returns {Promise<void>}
1014
1014
  */
1015
1015
  draw(view) {
1016
1016
  _assertClass(view, View);
@@ -1050,7 +1050,7 @@ export class PerspectiveDebugPluginElement {
1050
1050
  return this;
1051
1051
  }
1052
1052
  /**
1053
- * @returns {Promise<any>}
1053
+ * @returns {Promise<void>}
1054
1054
  */
1055
1055
  resize() {
1056
1056
  const ret = wasm.perspectivedebugpluginelement_clear(this.__wbg_ptr);
@@ -1113,7 +1113,7 @@ export class PerspectiveDebugPluginElement {
1113
1113
  * Delegates to `draw()` VIRTUALLY — through the JS element's `draw`
1114
1114
  * property, never `self.draw(view)` (Rust static dispatch).
1115
1115
  * @param {View} view
1116
- * @returns {Promise<any>}
1116
+ * @returns {Promise<void>}
1117
1117
  */
1118
1118
  update(view) {
1119
1119
  _assertClass(view, View);
@@ -1195,7 +1195,7 @@ export class PerspectiveViewerElement {
1195
1195
  * created, instead of the default rejection.
1196
1196
  * @param {ViewerConfigInitial} config
1197
1197
  * @param {AddPanelOptions | null} [options]
1198
- * @returns {Promise<any>}
1198
+ * @returns {Promise<string>}
1199
1199
  */
1200
1200
  addPanel(config, options) {
1201
1201
  const ret = wasm.perspectiveviewerelement_addPanel(this.__wbg_ptr, addHeapObject(config), isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1242,9 +1242,10 @@ export class PerspectiveViewerElement {
1242
1242
  * opening user turn.
1243
1243
  * - `config.entitlements` - access grants limiting which tools the agent
1244
1244
  * is offered (and may call): any of `"read_view"`, `"configure_view"`,
1245
- * `"manage_layout"`, `"read_docs"`, `"read_data"`. Omitted, all but
1246
- * `"read_data"` are granted; `["read_view", "read_docs"]` yields a
1247
- * read-only agent.
1245
+ * `"manage_layout"`, `"read_docs"`, `"execute_code"`, `"read_data"`.
1246
+ * Omitted, all but `"execute_code"` and `"read_data"` are granted;
1247
+ * `["read_view", "read_docs"]` yields a read-only agent. Users may
1248
+ * switch granted entitlements off from the chat panel, never on.
1248
1249
  *
1249
1250
  * # JavaScript Examples
1250
1251
  *
@@ -1281,7 +1282,8 @@ export class PerspectiveViewerElement {
1281
1282
  * conversation history (and the chat sidebar's transcript) until
1282
1283
  * `agentReset()`; a call made while a turn is already running rejects.
1283
1284
  * Tool activity is emitted as `perspective-agent-tool` CustomEvents on
1284
- * this element.
1285
+ * this element. A failed turn rejects with an `Error` whose `retry()`
1286
+ * method retries it, returning a `Promise` that settles like this one.
1285
1287
  *
1286
1288
  * # JavaScript Examples
1287
1289
  *
@@ -1320,8 +1322,8 @@ export class PerspectiveViewerElement {
1320
1322
  }
1321
1323
  }
1322
1324
  /**
1323
- * Copy this viewer's `View` or `Table` data as CSV to the system
1324
- * clipboard.
1325
+ * Copy this viewer's `View` or `Table` data to the system clipboard from
1326
+ * within a user gesture, rejecting if nothing could be written.
1325
1327
  *
1326
1328
  * # Arguments
1327
1329
  *
@@ -1336,7 +1338,7 @@ export class PerspectiveViewerElement {
1336
1338
  * })
1337
1339
  * ```
1338
1340
  * @param {ExportOptions | null} [options]
1339
- * @returns {Promise<any>}
1341
+ * @returns {Promise<void>}
1340
1342
  */
1341
1343
  copy(options) {
1342
1344
  const ret = wasm.perspectiveviewerelement_copy(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1364,7 +1366,7 @@ export class PerspectiveViewerElement {
1364
1366
  * ```javascript
1365
1367
  * await viewer.delete();
1366
1368
  * ```
1367
- * @returns {Promise<any>}
1369
+ * @returns {Promise<void>}
1368
1370
  */
1369
1371
  delete() {
1370
1372
  const ptr = this.__destroy_into_raw();
@@ -1387,7 +1389,7 @@ export class PerspectiveViewerElement {
1387
1389
  * })
1388
1390
  * ```
1389
1391
  * @param {ExportOptions | null} [options]
1390
- * @returns {Promise<any>}
1392
+ * @returns {Promise<void>}
1391
1393
  */
1392
1394
  download(options) {
1393
1395
  const ret = wasm.perspectiveviewerelement_download(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1410,7 +1412,7 @@ export class PerspectiveViewerElement {
1410
1412
  * await viewer.eject({client: "remote"});
1411
1413
  * ```
1412
1414
  * @param {ClientOptions | null} [options]
1413
- * @returns {Promise<any>}
1415
+ * @returns {Promise<void>}
1414
1416
  */
1415
1417
  eject(options) {
1416
1418
  const ret = wasm.perspectiveviewerelement_eject(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1436,7 +1438,7 @@ export class PerspectiveViewerElement {
1436
1438
  * const data = await viewer.export("plugin");
1437
1439
  * ```
1438
1440
  * @param {ExportOptions | null} [options]
1439
- * @returns {Promise<any>}
1441
+ * @returns {Promise<ExportData>}
1440
1442
  */
1441
1443
  export(options) {
1442
1444
  const ret = wasm.perspectiveviewerelement_export(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1461,7 +1463,7 @@ export class PerspectiveViewerElement {
1461
1463
  * viewer.restore(config);
1462
1464
  * await viewer.flush();
1463
1465
  * ```
1464
- * @returns {Promise<any>}
1466
+ * @returns {Promise<void>}
1465
1467
  */
1466
1468
  flush() {
1467
1469
  const ret = wasm.perspectiveviewerelement_flush(this.__wbg_ptr);
@@ -1503,7 +1505,7 @@ export class PerspectiveViewerElement {
1503
1505
  * const client = await viewer.getClient();
1504
1506
  * ```
1505
1507
  * @param {GetClientOptions | null} [options]
1506
- * @returns {Promise<any>}
1508
+ * @returns {Promise<Client>}
1507
1509
  */
1508
1510
  getClient(options) {
1509
1511
  const ret = wasm.perspectiveviewerelement_getClient(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1633,14 +1635,14 @@ export class PerspectiveViewerElement {
1633
1635
  * const table = await viewer.getTable();
1634
1636
  * ```
1635
1637
  * @param {GetTableOptions | null} [options]
1636
- * @returns {Promise<any>}
1638
+ * @returns {Promise<Table>}
1637
1639
  */
1638
1640
  getTable(options) {
1639
1641
  const ret = wasm.perspectiveviewerelement_getTable(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
1640
1642
  return takeObject(ret);
1641
1643
  }
1642
1644
  /**
1643
- * @returns {Promise<any>}
1645
+ * @returns {Promise<string[]>}
1644
1646
  */
1645
1647
  getThemes() {
1646
1648
  const ret = wasm.perspectiveviewerelement_getThemes(this.__wbg_ptr);
@@ -1686,7 +1688,7 @@ export class PerspectiveViewerElement {
1686
1688
  * }
1687
1689
  * ```
1688
1690
  * @param {GetViewOptions | null} [options]
1689
- * @returns {Promise<any>}
1691
+ * @returns {Promise<View>}
1690
1692
  */
1691
1693
  getView(options) {
1692
1694
  const ret = wasm.perspectiveviewerelement_getView(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1699,12 +1701,74 @@ export class PerspectiveViewerElement {
1699
1701
  * server (unlike [`PerspectiveViewerElement::getView`] followed by
1700
1702
  * [`View::get_config`])
1701
1703
  * @param {PanelOptions | null} [options]
1702
- * @returns {Promise<any>}
1704
+ * @returns {Promise<ViewConfig>}
1703
1705
  */
1704
1706
  getViewConfig(options) {
1705
1707
  const ret = wasm.perspectiveviewerelement_getViewConfig(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
1706
1708
  return takeObject(ret);
1707
1709
  }
1710
+ /**
1711
+ * Redraw each panel's plugin from its current `View` without re-creating
1712
+ * the view, such as after a command changed state its buttons read; calls
1713
+ * within one task run as one.
1714
+ *
1715
+ * # Arguments
1716
+ *
1717
+ * - `options.panel` - Limits the redraw to one panel.
1718
+ *
1719
+ * # JavaScript Examples
1720
+ *
1721
+ * ```javascript
1722
+ * viewer.addEventListener("perspective-command", (e) => {
1723
+ * flagged.add(e.detail.context.hit.id);
1724
+ * viewer.invalidate({ panel: e.detail.context.panel });
1725
+ * });
1726
+ * ```
1727
+ * @param {PanelOptions | null} [options]
1728
+ * @returns {Promise<void>}
1729
+ */
1730
+ invalidate(options) {
1731
+ try {
1732
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1733
+ wasm.perspectiveviewerelement_invalidate(retptr, this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
1734
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1735
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1736
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1737
+ if (r2) {
1738
+ throw takeObject(r1);
1739
+ }
1740
+ return takeObject(r0);
1741
+ } finally {
1742
+ wasm.__wbindgen_add_to_stack_pointer(16);
1743
+ }
1744
+ }
1745
+ /**
1746
+ * Dispatch `perspective-command` for the app command `key` picked against
1747
+ * `context`, as the context menu does.
1748
+ *
1749
+ * # JavaScript Examples
1750
+ *
1751
+ * ```javascript
1752
+ * viewer.invokeCommand("ticket", result.context);
1753
+ * ```
1754
+ * @param {string} key
1755
+ * @param {PerspectiveCommandContext} context
1756
+ */
1757
+ invokeCommand(key, context) {
1758
+ try {
1759
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1760
+ const ptr0 = passStringToWasm0(key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1761
+ const len0 = WASM_VECTOR_LEN;
1762
+ wasm.perspectiveviewerelement_invokeCommand(retptr, this.__wbg_ptr, ptr0, len0, addHeapObject(context));
1763
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1764
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1765
+ if (r1) {
1766
+ throw takeObject(r0);
1767
+ }
1768
+ } finally {
1769
+ wasm.__wbindgen_add_to_stack_pointer(16);
1770
+ }
1771
+ }
1708
1772
  /**
1709
1773
  * Loads a [`Client`], or optionally [`Table`], or optionally a Javascript
1710
1774
  * `Promise` which returns a [`Client`] or [`Table`], in this viewer.
@@ -1781,7 +1845,7 @@ export class PerspectiveViewerElement {
1781
1845
  * await viewer.load(table);
1782
1846
  * ```
1783
1847
  * @param {Client | Table | Promise<Client | Table>} client
1784
- * @returns {Promise<any>}
1848
+ * @returns {Promise<void>}
1785
1849
  */
1786
1850
  load(client) {
1787
1851
  try {
@@ -1807,6 +1871,46 @@ export class PerspectiveViewerElement {
1807
1871
  PerspectiveViewerElementFinalization.register(this, this.__wbg_ptr, this);
1808
1872
  return this;
1809
1873
  }
1874
+ /**
1875
+ * Evaluate the app's command schema at `location` for each of `refs`,
1876
+ * resolved against `frame`, the viewport read of the panel plugin
1877
+ * `plugin`; `undefined` when `location` is outside the schema's scopes
1878
+ * or no schema is set.
1879
+ *
1880
+ * # Arguments
1881
+ *
1882
+ * - `plugin` - The calling plugin element, which identifies its panel.
1883
+ * - `location` - The surface being rendered.
1884
+ * - `frame` - The plugin's viewport read, as `to_columns_string({ id: true
1885
+ * })` and `column_paths()` returned it.
1886
+ * - `refs` - One view row and/or column index per button.
1887
+ *
1888
+ * # JavaScript Examples
1889
+ *
1890
+ * ```javascript
1891
+ * const results = viewer.queryCommands(this, "datagrid-row", frame, [{ y: 12 }]);
1892
+ * ```
1893
+ * @param {HTMLElement} plugin
1894
+ * @param {PerspectiveCommandLocation} location
1895
+ * @param {PerspectiveViewFrame} frame
1896
+ * @param {PerspectiveHitRef[]} refs
1897
+ * @returns {PerspectiveCommands[] | undefined}
1898
+ */
1899
+ queryCommands(plugin, location, frame, refs) {
1900
+ try {
1901
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1902
+ wasm.perspectiveviewerelement_queryCommands(retptr, this.__wbg_ptr, addHeapObject(plugin), addHeapObject(location), addHeapObject(frame), addHeapObject(refs));
1903
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1904
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1905
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1906
+ if (r2) {
1907
+ throw takeObject(r1);
1908
+ }
1909
+ return takeObject(r0);
1910
+ } finally {
1911
+ wasm.__wbindgen_add_to_stack_pointer(16);
1912
+ }
1913
+ }
1810
1914
  /**
1811
1915
  * Remove the panel with id `name` from the layout, disposing its engines
1812
1916
  * (its `View` is deleted and its `Table` reference released). The last
@@ -1815,7 +1919,7 @@ export class PerspectiveViewerElement {
1815
1919
  * error — previously fire-and-forget and silently dropped (invariant
1816
1920
  * I6). See also [`Self::addPanel`].
1817
1921
  * @param {string} name
1818
- * @returns {Promise<any>}
1922
+ * @returns {Promise<void>}
1819
1923
  */
1820
1924
  removePanel(name) {
1821
1925
  const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -1849,7 +1953,7 @@ export class PerspectiveViewerElement {
1849
1953
  * ```
1850
1954
  * @param {boolean | null} [reset_all]
1851
1955
  * @param {PanelOptions | null} [options]
1852
- * @returns {Promise<any>}
1956
+ * @returns {Promise<void>}
1853
1957
  */
1854
1958
  reset(reset_all, options) {
1855
1959
  const ret = wasm.perspectiveviewerelement_reset(this.__wbg_ptr, isLikeNone(reset_all) ? 0xFFFFFF : reset_all ? 1 : 0, isLikeNone(options) ? 0 : addHeapObject(options));
@@ -1859,7 +1963,7 @@ export class PerspectiveViewerElement {
1859
1963
  * If this element is in an _errored_ state, this method will clear it and
1860
1964
  * re-render. Calling this method is equivalent to clicking the error reset
1861
1965
  * button in the UI.
1862
- * @returns {Promise<any>}
1966
+ * @returns {Promise<void>}
1863
1967
  */
1864
1968
  resetError() {
1865
1969
  const ret = wasm.perspectiveviewerelement_resetError(this.__wbg_ptr);
@@ -1881,7 +1985,7 @@ export class PerspectiveViewerElement {
1881
1985
  * viewer.resetThemes(["Pro Light", "Pro Dark"])
1882
1986
  * ```
1883
1987
  * @param {any[] | null} [themes]
1884
- * @returns {Promise<any>}
1988
+ * @returns {Promise<void>}
1885
1989
  */
1886
1990
  resetThemes(themes) {
1887
1991
  var ptr0 = isLikeNone(themes) ? 0 : passArrayJsValueToWasm0(themes, wasm.__wbindgen_export);
@@ -1912,7 +2016,7 @@ export class PerspectiveViewerElement {
1912
2016
  * await viewer.resize({dimensions: {width: 800, height: 600}})
1913
2017
  * ```
1914
2018
  * @param {any | null} [options]
1915
- * @returns {Promise<any>}
2019
+ * @returns {Promise<void>}
1916
2020
  */
1917
2021
  resize(options) {
1918
2022
  const ret = wasm.perspectiveviewerelement_resize(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
@@ -2023,7 +2127,8 @@ export class PerspectiveViewerElement {
2023
2127
  *
2024
2128
  * [`Self::restyleElement`] _must_ be called for many runtime changes to
2025
2129
  * CSS properties to be reflected in an already-rendered
2026
- * `<perspective-viewer>`.
2130
+ * `<perspective-viewer>`, including a `prefers-color-scheme` change
2131
+ * under a preference-aware theme such as `"Pro"`.
2027
2132
  *
2028
2133
  * </div>
2029
2134
  *
@@ -2033,7 +2138,7 @@ export class PerspectiveViewerElement {
2033
2138
  * viewer.style = "--psp--color: red";
2034
2139
  * await viewer.restyleElement();
2035
2140
  * ```
2036
- * @returns {Promise<any>}
2141
+ * @returns {Promise<void>}
2037
2142
  */
2038
2143
  restyleElement() {
2039
2144
  const ret = wasm.perspectiveviewerelement_restyleElement(this.__wbg_ptr);
@@ -2103,7 +2208,7 @@ export class PerspectiveViewerElement {
2103
2208
  * activation-chrome redraws on both sides of the switch have completed
2104
2209
  * (invariant I6).
2105
2210
  * @param {string} name
2106
- * @returns {Promise<any>}
2211
+ * @returns {Promise<void>}
2107
2212
  */
2108
2213
  setActivePanel(name) {
2109
2214
  const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -2132,7 +2237,7 @@ export class PerspectiveViewerElement {
2132
2237
  * viewer.setAutoPause(false);
2133
2238
  * ```
2134
2239
  * @param {boolean} autopause
2135
- * @returns {Promise<any>}
2240
+ * @returns {Promise<void>}
2136
2241
  */
2137
2242
  setAutoPause(autopause) {
2138
2243
  const ret = wasm.perspectiveviewerelement_setAutoPause(this.__wbg_ptr, autopause);
@@ -2164,6 +2269,47 @@ export class PerspectiveViewerElement {
2164
2269
  setAutoSize(autosize) {
2165
2270
  wasm.perspectiveviewerelement_setAutoSize(this.__wbg_ptr, autosize);
2166
2271
  }
2272
+ /**
2273
+ * Set the function that declares this viewer's custom commands, replacing
2274
+ * any previously set, and re-query every plugin's command buttons when it
2275
+ * or its scopes changed.
2276
+ *
2277
+ * # Arguments
2278
+ *
2279
+ * - `schema` - A synchronous function from a command context to a `{
2280
+ * commands }` list, or `null` to remove the current one.
2281
+ * - `options.scopes` - The surfaces the schema is evaluated for,
2282
+ * `["context-menu"]` when omitted.
2283
+ *
2284
+ * # JavaScript Examples
2285
+ *
2286
+ * ```javascript
2287
+ * await viewer.setCommandSchema(
2288
+ * (ctx) => ({
2289
+ * commands: [{ kind: "Command", key: "hello", label: "Hello" }],
2290
+ * }),
2291
+ * { scopes: ["context-menu", "datagrid-row"] },
2292
+ * );
2293
+ * ```
2294
+ * @param {PerspectiveCommandSchema | null} [schema]
2295
+ * @param {CommandSchemaOptions | null} [options]
2296
+ * @returns {Promise<void>}
2297
+ */
2298
+ setCommandSchema(schema, options) {
2299
+ try {
2300
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2301
+ wasm.perspectiveviewerelement_setCommandSchema(retptr, this.__wbg_ptr, isLikeNone(schema) ? 0 : addHeapObject(schema), isLikeNone(options) ? 0 : addHeapObject(options));
2302
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2303
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
2304
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
2305
+ if (r2) {
2306
+ throw takeObject(r1);
2307
+ }
2308
+ return takeObject(r0);
2309
+ } finally {
2310
+ wasm.__wbindgen_add_to_stack_pointer(16);
2311
+ }
2312
+ }
2167
2313
  /**
2168
2314
  * Set the selection [`perspective_js::JsViewWindow`] for the named panel,
2169
2315
  * or the active panel when `panel` is omitted.
@@ -2206,6 +2352,25 @@ export class PerspectiveViewerElement {
2206
2352
  setThrottle(val) {
2207
2353
  wasm.perspectiveviewerelement_setThrottle(this.__wbg_ptr, !isLikeNone(val), isLikeNone(val) ? 0 : val);
2208
2354
  }
2355
+ /**
2356
+ * Open a menu of `commands` at viewport `point`, dispatching
2357
+ * `perspective-command` with `context` for a pick; resolves when the menu
2358
+ * closes.
2359
+ *
2360
+ * # JavaScript Examples
2361
+ *
2362
+ * ```javascript
2363
+ * await viewer.showCommandMenu(result.context, group.commands, { x: e.clientX, y: e.clientY });
2364
+ * ```
2365
+ * @param {PerspectiveCommandContext} context
2366
+ * @param {CommandSpec[]} commands
2367
+ * @param {{ x: number; y: number }} point
2368
+ * @returns {Promise<void>}
2369
+ */
2370
+ showCommandMenu(context, commands, point) {
2371
+ const ret = wasm.perspectiveviewerelement_showCommandMenu(this.__wbg_ptr, addHeapObject(context), addHeapObject(commands), addHeapObject(point));
2372
+ return takeObject(ret);
2373
+ }
2209
2374
  /**
2210
2375
  * Asynchronously opens the column settings for a specific column.
2211
2376
  * When finished, the `<perspective-viewer>` element will emit a
@@ -2215,7 +2380,7 @@ export class PerspectiveViewerElement {
2215
2380
  * sidebar manually.
2216
2381
  * @param {string} column_name
2217
2382
  * @param {PanelOptions | null} [options]
2218
- * @returns {Promise<any>}
2383
+ * @returns {Promise<void>}
2219
2384
  */
2220
2385
  toggleColumnSettings(column_name, options) {
2221
2386
  const ptr0 = passStringToWasm0(column_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -2237,7 +2402,7 @@ export class PerspectiveViewerElement {
2237
2402
  * await viewer.toggleConfig();
2238
2403
  * ```
2239
2404
  * @param {boolean | null} [force]
2240
- * @returns {Promise<any>}
2405
+ * @returns {Promise<void>}
2241
2406
  */
2242
2407
  toggleConfig(force) {
2243
2408
  const ret = wasm.perspectiveviewerelement_toggleConfig(this.__wbg_ptr, isLikeNone(force) ? 0xFFFFFF : force ? 1 : 0);
@@ -2486,7 +2651,7 @@ export class Table {
2486
2651
  * [`Table::on_delete`] resolves when the subscription message is sent, not
2487
2652
  * when the _delete_ event occurs.
2488
2653
  * @param {Function} on_delete
2489
- * @returns {Promise<any>}
2654
+ * @returns {Promise<number>}
2490
2655
  */
2491
2656
  on_delete(on_delete) {
2492
2657
  const ret = wasm.table_on_delete(this.__wbg_ptr, addHeapObject(on_delete));
@@ -2520,7 +2685,7 @@ export class Table {
2520
2685
  * Removes a listener with a given ID, as returned by a previous call to
2521
2686
  * [`Table::on_delete`].
2522
2687
  * @param {number} callback_id
2523
- * @returns {Promise<any>}
2688
+ * @returns {Promise<void>}
2524
2689
  */
2525
2690
  remove_delete(callback_id) {
2526
2691
  const ret = wasm.table_remove_delete(this.__wbg_ptr, callback_id);
@@ -2608,7 +2773,7 @@ export class Table {
2608
2773
  * ```
2609
2774
  * @param {string | ArrayBuffer | Record<string, unknown[]> | Record<string, unknown>[] | Record<string, ColumnType>} input
2610
2775
  * @param {UpdateOptions | null} [options]
2611
- * @returns {Promise<any>}
2776
+ * @returns {Promise<void>}
2612
2777
  */
2613
2778
  update(input, options) {
2614
2779
  const ret = wasm.table_update(this.__wbg_ptr, addHeapObject(input), isLikeNone(options) ? 0 : addHeapObject(options));
@@ -2850,7 +3015,7 @@ export class View {
2850
3015
  * Register a callback with this [`View`]. Whenever the [`View`] is
2851
3016
  * deleted, this callback will be invoked.
2852
3017
  * @param {Function} on_delete
2853
- * @returns {Promise<any>}
3018
+ * @returns {Promise<number>}
2854
3019
  */
2855
3020
  on_delete(on_delete) {
2856
3021
  const ret = wasm.view_on_delete(this.__wbg_ptr, addHeapObject(on_delete));
@@ -2879,7 +3044,7 @@ export class View {
2879
3044
  * });
2880
3045
  * ```
2881
3046
  * @param {(data: OnRemoveData) => void} on_remove_js
2882
- * @returns {Promise<any>}
3047
+ * @returns {Promise<number>}
2883
3048
  */
2884
3049
  on_remove(on_remove_js) {
2885
3050
  const ret = wasm.view_on_remove(this.__wbg_ptr, addHeapObject(on_remove_js));
@@ -2912,7 +3077,7 @@ export class View {
2912
3077
  * ```
2913
3078
  * @param {(data: OnUpdateData) => void} on_update_js
2914
3079
  * @param {OnUpdateOptions | null} [options]
2915
- * @returns {Promise<any>}
3080
+ * @returns {Promise<number>}
2916
3081
  */
2917
3082
  on_update(on_update_js, options) {
2918
3083
  const ret = wasm.view_on_update(this.__wbg_ptr, addHeapObject(on_update_js), isLikeNone(options) ? 0 : addHeapObject(options));
@@ -2921,7 +3086,7 @@ export class View {
2921
3086
  /**
2922
3087
  * Unregister a previously registered [`View::on_delete`] callback.
2923
3088
  * @param {number} callback_id
2924
- * @returns {Promise<any>}
3089
+ * @returns {Promise<void>}
2925
3090
  */
2926
3091
  remove_delete(callback_id) {
2927
3092
  const ret = wasm.view_remove_delete(this.__wbg_ptr, callback_id);
@@ -3271,7 +3436,7 @@ export class VirtualServer {
3271
3436
  }
3272
3437
  /**
3273
3438
  * @param {Uint8Array} bytes
3274
- * @returns {Promise<any>}
3439
+ * @returns {Promise<Uint8Array>}
3275
3440
  */
3276
3441
  handleRequest(bytes) {
3277
3442
  const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export);
@@ -3583,10 +3748,22 @@ function __wbg_get_imports() {
3583
3748
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3584
3749
  getObject(arg0).addEventListener(v0, getObject(arg3), getObject(arg4));
3585
3750
  }, arguments); },
3751
+ __wbg_add_2b0552fe2d2151c8: function(arg0, arg1) {
3752
+ const ret = getObject(arg0).add(getObject(arg1));
3753
+ return addHeapObject(ret);
3754
+ },
3586
3755
  __wbg_add_5be83378df680c25: function() { return handleError(function (arg0, arg1, arg2) {
3587
3756
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3588
3757
  getObject(arg0).add(v0);
3589
3758
  }, arguments); },
3759
+ __wbg_adoptedStyleSheets_542d651fbb47685f: function(arg0) {
3760
+ const ret = getObject(arg0).adoptedStyleSheets;
3761
+ return addHeapObject(ret);
3762
+ },
3763
+ __wbg_adoptedStyleSheets_d149afb005470855: function(arg0) {
3764
+ const ret = getObject(arg0).adoptedStyleSheets;
3765
+ return addHeapObject(ret);
3766
+ },
3590
3767
  __wbg_appendChild_dea38765a26d346d: function() { return handleError(function (arg0, arg1) {
3591
3768
  const ret = getObject(arg0).appendChild(getObject(arg1));
3592
3769
  return addHeapObject(ret);
@@ -3604,6 +3781,10 @@ function __wbg_get_imports() {
3604
3781
  const ret = getObject(arg0).apply(getObject(arg1), getObject(arg2));
3605
3782
  return addHeapObject(ret);
3606
3783
  }, arguments); },
3784
+ __wbg_assign_6170c0d04d5c26f4: function(arg0, arg1) {
3785
+ const ret = Object.assign(getObject(arg0), getObject(arg1));
3786
+ return addHeapObject(ret);
3787
+ },
3607
3788
  __wbg_asyncIterator_58dd45e58aa3721e: function() {
3608
3789
  const ret = Symbol.asyncIterator;
3609
3790
  return addHeapObject(ret);
@@ -3627,7 +3808,7 @@ function __wbg_get_imports() {
3627
3808
  const ret = getObject(arg0).body;
3628
3809
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3629
3810
  },
3630
- __wbg_bootstrap_6971bd921f7d6041: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3811
+ __wbg_bootstrap_2a6d707d9930b176: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3631
3812
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3632
3813
  var v1 = getCachedStringFromWasm0(arg3, arg4);
3633
3814
  const ret = bootstrap(getObject(arg0), v0, v1, takeObject(arg5));
@@ -3653,12 +3834,12 @@ function __wbg_get_imports() {
3653
3834
  const ret = getObject(arg0).__yew_subtree_cache_key;
3654
3835
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3655
3836
  },
3656
- __wbg_calculatePath_9a7897e919ecb67d: function(arg0, arg1, arg2) {
3837
+ __wbg_calculatePath_ec4e1b31c2e0e267: function(arg0, arg1, arg2) {
3657
3838
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3658
3839
  const ret = getObject(arg0).calculatePath(v0);
3659
3840
  return addHeapObject(ret);
3660
3841
  },
3661
- __wbg_calculatePresizePaths_24e57f1881209416: function(arg0) {
3842
+ __wbg_calculatePresizePaths_74530e5aadce2dcf: function(arg0) {
3662
3843
  const ret = getObject(arg0).calculatePresizePaths();
3663
3844
  return addHeapObject(ret);
3664
3845
  },
@@ -3705,7 +3886,7 @@ function __wbg_get_imports() {
3705
3886
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3706
3887
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3707
3888
  },
3708
- __wbg_clear_fd7237613f56e5a5: function() { return handleError(function (arg0) {
3889
+ __wbg_clear_8acecf1cd271592d: function() { return handleError(function (arg0) {
3709
3890
  const ret = getObject(arg0).clear();
3710
3891
  return addHeapObject(ret);
3711
3892
  }, arguments); },
@@ -3732,6 +3913,11 @@ function __wbg_get_imports() {
3732
3913
  const ret = getObject(arg0).clipboard;
3733
3914
  return addHeapObject(ret);
3734
3915
  },
3916
+ __wbg_clipboard_write_635ef00ad4bb61ff: function() { return handleError(function (arg0, arg1, arg2) {
3917
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
3918
+ const ret = clipboard_write(v0, getObject(arg2));
3919
+ return addHeapObject(ret);
3920
+ }, arguments); },
3735
3921
  __wbg_cloneNode_b85e9102a9a31b29: function() { return handleError(function (arg0, arg1) {
3736
3922
  const ret = getObject(arg0).cloneNode(arg1 !== 0);
3737
3923
  return addHeapObject(ret);
@@ -3740,6 +3926,9 @@ function __wbg_get_imports() {
3740
3926
  const ret = getObject(arg0).cloneNode();
3741
3927
  return addHeapObject(ret);
3742
3928
  }, arguments); },
3929
+ __wbg_close_fad2f0ee451926ed: function(arg0) {
3930
+ getObject(arg0).close();
3931
+ },
3743
3932
  __wbg_closest_11206fe6e0fb4e4e: function() { return handleError(function (arg0, arg1, arg2) {
3744
3933
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3745
3934
  const ret = getObject(arg0).closest(v0);
@@ -3752,7 +3941,7 @@ function __wbg_get_imports() {
3752
3941
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3753
3942
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3754
3943
  },
3755
- __wbg_column_config_schema_587d6c070d13b472: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
3944
+ __wbg_column_config_schema_a1d05ccd83ffadb0: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
3756
3945
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3757
3946
  var v1 = getCachedStringFromWasm0(arg3, arg4);
3758
3947
  var v2 = getCachedStringFromWasm0(arg5, arg6);
@@ -3773,10 +3962,14 @@ function __wbg_get_imports() {
3773
3962
  const ret = getObject(arg0).contains(v0);
3774
3963
  return ret;
3775
3964
  },
3776
- __wbg_contentRect_f5f2b53ffb4ac2ea: function(arg0) {
3965
+ __wbg_contentRect_c33dd8c6c98c10ec: function(arg0) {
3777
3966
  const ret = getObject(arg0).contentRect;
3778
3967
  return addHeapObject(ret);
3779
3968
  },
3969
+ __wbg_contentWindow_9efd0073ff9fa45b: function(arg0) {
3970
+ const ret = getObject(arg0).contentWindow;
3971
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
3972
+ },
3780
3973
  __wbg_createElementNS_ee00621496b30ec2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3781
3974
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3782
3975
  var v1 = getCachedStringFromWasm0(arg3, arg4);
@@ -3804,6 +3997,10 @@ function __wbg_get_imports() {
3804
3997
  const ret = getObject(arg0).cssRules;
3805
3998
  return addHeapObject(ret);
3806
3999
  }, arguments); },
4000
+ __wbg_cssRules_85954e7c284ec53b: function(arg0) {
4001
+ const ret = getObject(arg0).cssRules;
4002
+ return addHeapObject(ret);
4003
+ },
3807
4004
  __wbg_cssText_8f3f27e60c824421: function(arg0, arg1) {
3808
4005
  const ret = getObject(arg1).cssText;
3809
4006
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -3815,6 +4012,10 @@ function __wbg_get_imports() {
3815
4012
  const ret = getObject(arg0).dataTransfer;
3816
4013
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3817
4014
  },
4015
+ __wbg_data_5330da50312d0bc1: function(arg0) {
4016
+ const ret = getObject(arg0).data;
4017
+ return addHeapObject(ret);
4018
+ },
3818
4019
  __wbg_dataset_20cb5c72458ae3fc: function(arg0) {
3819
4020
  const ret = getObject(arg0).dataset;
3820
4021
  return addHeapObject(ret);
@@ -3832,18 +4033,18 @@ function __wbg_get_imports() {
3832
4033
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3833
4034
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3834
4035
  }, arguments); },
3835
- __wbg_define_panel_tab_016838f0812d2a84: function(arg0, arg1) {
4036
+ __wbg_define_panel_tab_a022a846f2f3f00c: function(arg0, arg1) {
3836
4037
  var v0 = getCachedStringFromWasm0(arg0, arg1);
3837
4038
  define_panel_tab(v0);
3838
4039
  },
3839
- __wbg_delete_3a7d07f38f622c1a: function(arg0) {
3840
- getObject(arg0).delete();
3841
- },
3842
4040
  __wbg_delete_8318b529ff42aa20: function(arg0, arg1, arg2) {
3843
4041
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3844
4042
  delete getObject(arg0)[v0];
3845
4043
  },
3846
- __wbg_deselect_7203e2c1794a99db: function() { return handleError(function (arg0) {
4044
+ __wbg_delete_cb38d3df659ef700: function(arg0) {
4045
+ getObject(arg0).delete();
4046
+ },
4047
+ __wbg_deselect_9a4eff6d68982366: function() { return handleError(function (arg0) {
3847
4048
  const ret = getObject(arg0).deselect();
3848
4049
  return addHeapObject(ret);
3849
4050
  }, arguments); },
@@ -3863,7 +4064,7 @@ function __wbg_get_imports() {
3863
4064
  const ret = getObject(arg0).done;
3864
4065
  return ret;
3865
4066
  },
3866
- __wbg_draw_5fa694ada83b4eec: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4067
+ __wbg_draw_da6e3692781f246e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3867
4068
  const ret = getObject(arg0).draw(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
3868
4069
  return addHeapObject(ret);
3869
4070
  }, arguments); },
@@ -3967,6 +4168,10 @@ function __wbg_get_imports() {
3967
4168
  const ret = getObject(arg0).getTimezoneOffset();
3968
4169
  return ret;
3969
4170
  },
4171
+ __wbg_get_0bdeda968867e10e: function() { return handleError(function (arg0, arg1) {
4172
+ const ret = Reflect.get(getObject(arg0), arg1 >>> 0);
4173
+ return addHeapObject(ret);
4174
+ }, arguments); },
3970
4175
  __wbg_get_5dd1ee4c9f462865: function(arg0, arg1, arg2, arg3) {
3971
4176
  var v0 = getCachedStringFromWasm0(arg2, arg3);
3972
4177
  const ret = getObject(arg1)[v0];
@@ -4000,7 +4205,7 @@ function __wbg_get_imports() {
4000
4205
  const ret = getObject(arg0)[arg1 >>> 0];
4001
4206
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4002
4207
  },
4003
- __wbg_get_static_config_31e085560e677d78: function(arg0) {
4208
+ __wbg_get_static_config_2fb609fb313e5ab8: function(arg0) {
4004
4209
  const ret = getObject(arg0).get_static_config();
4005
4210
  return addHeapObject(ret);
4006
4211
  },
@@ -4017,6 +4222,10 @@ function __wbg_get_imports() {
4017
4222
  const ret = getObject(arg0).hasAttribute(v0);
4018
4223
  return ret;
4019
4224
  },
4225
+ __wbg_has_991efccb5a701a27: function(arg0, arg1) {
4226
+ const ret = getObject(arg0).has(getObject(arg1));
4227
+ return ret;
4228
+ },
4020
4229
  __wbg_has_d4e53238966c12b6: function() { return handleError(function (arg0, arg1) {
4021
4230
  const ret = Reflect.has(getObject(arg0), getObject(arg1));
4022
4231
  return ret;
@@ -4040,6 +4249,10 @@ function __wbg_get_imports() {
4040
4249
  __wbg_hidePopover_f52b72171825485d: function() { return handleError(function (arg0) {
4041
4250
  getObject(arg0).hidePopover();
4042
4251
  }, arguments); },
4252
+ __wbg_hit_test_318eb10b91417fe6: function() { return handleError(function (arg0, arg1, arg2) {
4253
+ const ret = getObject(arg0).hit_test(arg1, arg2);
4254
+ return addHeapObject(ret);
4255
+ }, arguments); },
4043
4256
  __wbg_host_fb29f8be35c2517d: function(arg0) {
4044
4257
  const ret = getObject(arg0).host;
4045
4258
  return addHeapObject(ret);
@@ -4070,7 +4283,7 @@ function __wbg_get_imports() {
4070
4283
  const ret = getObject(arg0).insertBefore(getObject(arg1), getObject(arg2));
4071
4284
  return addHeapObject(ret);
4072
4285
  }, arguments); },
4073
- __wbg_insertPanel_67b50d7422942b34: function(arg0, arg1, arg2, arg3, arg4) {
4286
+ __wbg_insertPanel_f03a21e20c5921df: function(arg0, arg1, arg2, arg3, arg4) {
4074
4287
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4075
4288
  const ret = getObject(arg0).insertPanel(v0, takeObject(arg3), takeObject(arg4));
4076
4289
  return addHeapObject(ret);
@@ -4105,6 +4318,26 @@ function __wbg_get_imports() {
4105
4318
  const ret = result;
4106
4319
  return ret;
4107
4320
  },
4321
+ __wbg_instanceof_CssGroupingRule_875241920a85dfd7: function(arg0) {
4322
+ let result;
4323
+ try {
4324
+ result = getObject(arg0) instanceof CSSGroupingRule;
4325
+ } catch (_) {
4326
+ result = false;
4327
+ }
4328
+ const ret = result;
4329
+ return ret;
4330
+ },
4331
+ __wbg_instanceof_CssImportRule_21bd264cef048043: function(arg0) {
4332
+ let result;
4333
+ try {
4334
+ result = getObject(arg0) instanceof CSSImportRule;
4335
+ } catch (_) {
4336
+ result = false;
4337
+ }
4338
+ const ret = result;
4339
+ return ret;
4340
+ },
4108
4341
  __wbg_instanceof_CssStyleRule_23e59108346af0df: function(arg0) {
4109
4342
  let result;
4110
4343
  try {
@@ -4115,6 +4348,16 @@ function __wbg_get_imports() {
4115
4348
  const ret = result;
4116
4349
  return ret;
4117
4350
  },
4351
+ __wbg_instanceof_CssStyleSheet_622aeba16e7e2d66: function(arg0) {
4352
+ let result;
4353
+ try {
4354
+ result = getObject(arg0) instanceof CSSStyleSheet;
4355
+ } catch (_) {
4356
+ result = false;
4357
+ }
4358
+ const ret = result;
4359
+ return ret;
4360
+ },
4118
4361
  __wbg_instanceof_CustomEvent_7dc010f377596c94: function(arg0) {
4119
4362
  let result;
4120
4363
  try {
@@ -4301,7 +4544,7 @@ function __wbg_get_imports() {
4301
4544
  const ret = getObject(arg0).isContentEditable;
4302
4545
  return ret;
4303
4546
  },
4304
- __wbg_isIntersecting_1e85baa6e26b40b0: function(arg0) {
4547
+ __wbg_isIntersecting_12e0d9feaf791ef9: function(arg0) {
4305
4548
  const ret = getObject(arg0).isIntersecting;
4306
4549
  return ret;
4307
4550
  },
@@ -4317,13 +4560,6 @@ function __wbg_get_imports() {
4317
4560
  const ret = Object.is(getObject(arg0), getObject(arg1));
4318
4561
  return ret;
4319
4562
  },
4320
- __wbg_item_00ae26320b80a11f: function(arg0, arg1, arg2) {
4321
- const ret = getObject(arg1).item(arg2 >>> 0);
4322
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
4323
- const len1 = WASM_VECTOR_LEN;
4324
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4325
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4326
- },
4327
4563
  __wbg_item_48715d3212ed96cb: function(arg0, arg1) {
4328
4564
  const ret = getObject(arg0).item(arg1 >>> 0);
4329
4565
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
@@ -4387,10 +4623,6 @@ function __wbg_get_imports() {
4387
4623
  const ret = getObject(arg0).length;
4388
4624
  return ret;
4389
4625
  },
4390
- __wbg_length_b5aa6c69c842d6a6: function(arg0) {
4391
- const ret = getObject(arg0).length;
4392
- return ret;
4393
- },
4394
4626
  __wbg_length_e455564ce5cbf46e: function(arg0) {
4395
4627
  const ret = getObject(arg0).length;
4396
4628
  return ret;
@@ -4413,12 +4645,7 @@ function __wbg_get_imports() {
4413
4645
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4414
4646
  getObject(arg0).mark(v0);
4415
4647
  }, arguments); },
4416
- __wbg_matches_852ba8b2b4592069: function() { return handleError(function (arg0, arg1, arg2) {
4417
- var v0 = getCachedStringFromWasm0(arg1, arg2);
4418
- const ret = getObject(arg0).matches(v0);
4419
- return ret;
4420
- }, arguments); },
4421
- __wbg_maximize_7e53fedbfdf5df63: function(arg0, arg1, arg2) {
4648
+ __wbg_maximize_165146aae8127441: function(arg0, arg1, arg2) {
4422
4649
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4423
4650
  getObject(arg0).maximize(v0);
4424
4651
  },
@@ -4436,7 +4663,7 @@ function __wbg_get_imports() {
4436
4663
  const ret = getObject(arg0).message;
4437
4664
  return addHeapObject(ret);
4438
4665
  },
4439
- __wbg_minimize_dc2a816c3b0ae125: function(arg0) {
4666
+ __wbg_minimize_bcdf0c5bfe3a5cd6: function(arg0) {
4440
4667
  getObject(arg0).minimize();
4441
4668
  },
4442
4669
  __wbg_namespaceURI_86e2062c65f0f341: function(arg0, arg1) {
@@ -4480,10 +4707,18 @@ function __wbg_get_imports() {
4480
4707
  const ret = new Array();
4481
4708
  return addHeapObject(ret);
4482
4709
  },
4710
+ __wbg_new_406106b44b3d11fa: function(arg0) {
4711
+ const ret = new Set(getObject(arg0));
4712
+ return addHeapObject(ret);
4713
+ },
4483
4714
  __wbg_new_64284bd487f9d239: function() { return handleError(function () {
4484
4715
  const ret = new Headers();
4485
4716
  return addHeapObject(ret);
4486
4717
  }, arguments); },
4718
+ __wbg_new_6f0524fbfa300c47: function() { return handleError(function () {
4719
+ const ret = new MessageChannel();
4720
+ return addHeapObject(ret);
4721
+ }, arguments); },
4487
4722
  __wbg_new_72b49615380db768: function(arg0, arg1) {
4488
4723
  var v0 = getCachedStringFromWasm0(arg0, arg1);
4489
4724
  const ret = new Error(v0);
@@ -4497,14 +4732,10 @@ function __wbg_get_imports() {
4497
4732
  const ret = new Error();
4498
4733
  return addHeapObject(ret);
4499
4734
  },
4500
- __wbg_new_941fa4e452fc314d: function(arg0) {
4735
+ __wbg_new_8fec9586bfa334f1: function(arg0) {
4501
4736
  const ret = new IntersectionObserver(getObject(arg0));
4502
4737
  return addHeapObject(ret);
4503
4738
  },
4504
- __wbg_new_ae7a9c89c229a28a: function(arg0) {
4505
- const ret = new ResizeObserver(getObject(arg0));
4506
- return addHeapObject(ret);
4507
- },
4508
4739
  __wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
4509
4740
  try {
4510
4741
  var state0 = {a: arg0, b: arg1};
@@ -4512,7 +4743,7 @@ function __wbg_get_imports() {
4512
4743
  const a = state0.a;
4513
4744
  state0.a = 0;
4514
4745
  try {
4515
- return __wasm_bindgen_func_elem_36104(a, state0.b, arg0, arg1);
4746
+ return __wasm_bindgen_func_elem_36995(a, state0.b, arg0, arg1);
4516
4747
  } finally {
4517
4748
  state0.a = a;
4518
4749
  }
@@ -4539,8 +4770,8 @@ function __wbg_get_imports() {
4539
4770
  const ret = new Uint8Array(getObject(arg0));
4540
4771
  return addHeapObject(ret);
4541
4772
  },
4542
- __wbg_new_eba62f46c9906ab0: function(arg0) {
4543
- const ret = new ClipboardItem(getObject(arg0));
4773
+ __wbg_new_f8e621849595859d: function(arg0) {
4774
+ const ret = new ResizeObserver(getObject(arg0));
4544
4775
  return addHeapObject(ret);
4545
4776
  },
4546
4777
  __wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
@@ -4557,10 +4788,6 @@ function __wbg_get_imports() {
4557
4788
  const ret = new CustomEvent(v0, getObject(arg2));
4558
4789
  return addHeapObject(ret);
4559
4790
  }, arguments); },
4560
- __wbg_new_with_length_1763c527b2923202: function(arg0) {
4561
- const ret = new Array(arg0 >>> 0);
4562
- return addHeapObject(ret);
4563
- },
4564
4791
  __wbg_new_with_str_and_init_a61cbc6bdef21614: function() { return handleError(function (arg0, arg1, arg2) {
4565
4792
  var v0 = getCachedStringFromWasm0(arg0, arg1);
4566
4793
  const ret = new Request(v0, getObject(arg2));
@@ -4594,10 +4821,10 @@ function __wbg_get_imports() {
4594
4821
  const ret = getObject(arg0).now();
4595
4822
  return ret;
4596
4823
  },
4597
- __wbg_observe_2cd05deb2f42bcb7: function(arg0, arg1) {
4824
+ __wbg_observe_30e2b1d1734b4f5b: function(arg0, arg1) {
4598
4825
  getObject(arg0).observe(getObject(arg1));
4599
4826
  },
4600
- __wbg_observe_ede84fcfda32dd95: function(arg0, arg1) {
4827
+ __wbg_observe_9eeb06a51ff51720: function(arg0, arg1) {
4601
4828
  getObject(arg0).observe(getObject(arg1));
4602
4829
  },
4603
4830
  __wbg_of_f915f7cd925b21a5: function(arg0) {
@@ -4628,6 +4855,10 @@ function __wbg_get_imports() {
4628
4855
  const ret = getObject(arg0).ok;
4629
4856
  return ret;
4630
4857
  },
4858
+ __wbg_overlay_f897d9506f79ff45: function(arg0) {
4859
+ const ret = getObject(arg0).overlay;
4860
+ return addHeapObject(ret);
4861
+ },
4631
4862
  __wbg_parentElement_75863410a8617953: function(arg0) {
4632
4863
  const ret = getObject(arg0).parentElement;
4633
4864
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
@@ -4645,7 +4876,7 @@ function __wbg_get_imports() {
4645
4876
  const ret = getObject(arg0).performance;
4646
4877
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4647
4878
  },
4648
- __wbg_plugin_config_schema_db6cd2d5859b10db: function() { return handleError(function (arg0, arg1, arg2) {
4879
+ __wbg_plugin_config_schema_951aaf0c42ce4103: function() { return handleError(function (arg0, arg1, arg2) {
4649
4880
  const ret = getObject(arg0).plugin_config_schema(getObject(arg1), getObject(arg2));
4650
4881
  return addHeapObject(ret);
4651
4882
  }, arguments); },
@@ -4657,10 +4888,22 @@ function __wbg_get_imports() {
4657
4888
  const ret = getObject(arg0).pop();
4658
4889
  return addHeapObject(ret);
4659
4890
  },
4891
+ __wbg_port1_6251ddc5cf5c9287: function(arg0) {
4892
+ const ret = getObject(arg0).port1;
4893
+ return addHeapObject(ret);
4894
+ },
4895
+ __wbg_port2_b2a294b0ede1e13c: function(arg0) {
4896
+ const ret = getObject(arg0).port2;
4897
+ return addHeapObject(ret);
4898
+ },
4899
+ __wbg_postMessage_99dab4742cd26c46: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4900
+ var v0 = getCachedStringFromWasm0(arg2, arg3);
4901
+ getObject(arg0).postMessage(getObject(arg1), v0, getObject(arg4));
4902
+ }, arguments); },
4660
4903
  __wbg_prepend_12ed960547d9dfe1: function() { return handleError(function (arg0, arg1) {
4661
4904
  getObject(arg0).prepend(getObject(arg1));
4662
4905
  }, arguments); },
4663
- __wbg_presize_01e5f81031ad6c1c: function() { return handleError(function (arg0, arg1, arg2) {
4906
+ __wbg_presize_fabbd48e8f9835bc: function() { return handleError(function (arg0, arg1, arg2) {
4664
4907
  const ret = getObject(arg0).presize(arg1, arg2);
4665
4908
  return addHeapObject(ret);
4666
4909
  }, arguments); },
@@ -4716,7 +4959,7 @@ function __wbg_get_imports() {
4716
4959
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4717
4960
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4718
4961
  },
4719
- __wbg_realCoordinates_acdf07306811b527: function(arg0, arg1) {
4962
+ __wbg_realCoordinates_78d80792fe45c1ac: function(arg0, arg1) {
4720
4963
  const ret = getObject(arg0).realCoordinates(getObject(arg1));
4721
4964
  return addHeapObject(ret);
4722
4965
  },
@@ -4750,7 +4993,7 @@ function __wbg_get_imports() {
4750
4993
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4751
4994
  getObject(arg0).removeEventListener(v0, getObject(arg3));
4752
4995
  }, arguments); },
4753
- __wbg_removePanel_e6ec4d68afd2663f: function(arg0, arg1, arg2) {
4996
+ __wbg_removePanel_abf8244e1d93ce46: function(arg0, arg1, arg2) {
4754
4997
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4755
4998
  const ret = getObject(arg0).removePanel(v0);
4756
4999
  return addHeapObject(ret);
@@ -4770,7 +5013,7 @@ function __wbg_get_imports() {
4770
5013
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4771
5014
  getObject(arg0).remove(v0);
4772
5015
  }, arguments); },
4773
- __wbg_render_a37019929e53a083: function() { return handleError(function (arg0, arg1, arg2) {
5016
+ __wbg_render_413dc7c2163aeef3: function() { return handleError(function (arg0, arg1, arg2) {
4774
5017
  const ret = getObject(arg0).render(View.__wrap(arg1), takeObject(arg2));
4775
5018
  return addHeapObject(ret);
4776
5019
  }, arguments); },
@@ -4782,7 +5025,7 @@ function __wbg_get_imports() {
4782
5025
  const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
4783
5026
  return ret;
4784
5027
  }, arguments); },
4785
- __wbg_resize_cab0679f837cfabb: function() { return handleError(function (arg0) {
5028
+ __wbg_resize_9f691e7e5d903fd7: function() { return handleError(function (arg0) {
4786
5029
  const ret = getObject(arg0).resize();
4787
5030
  return addHeapObject(ret);
4788
5031
  }, arguments); },
@@ -4794,30 +5037,30 @@ function __wbg_get_imports() {
4794
5037
  const ret = getObject(arg0).resolvedOptions();
4795
5038
  return addHeapObject(ret);
4796
5039
  },
4797
- __wbg_restorePhysics_86fbfc4372e2a6b1: function(arg0, arg1) {
5040
+ __wbg_restorePhysics_53be454c7b33c820: function(arg0, arg1) {
4798
5041
  getObject(arg0).restorePhysics(getObject(arg1));
4799
5042
  },
4800
- __wbg_restoreSync_7ef745d16b8f282a: function(arg0, arg1) {
5043
+ __wbg_restoreSync_a5d618560a9bbd86: function(arg0, arg1) {
4801
5044
  getObject(arg0).restoreSync(getObject(arg1));
4802
5045
  },
4803
- __wbg_restore_f7231fa1570afc60: function() { return handleError(function (arg0, arg1, arg2) {
5046
+ __wbg_restore_3de855f8648b36f3: function() { return handleError(function (arg0, arg1, arg2) {
4804
5047
  getObject(arg0).restore(getObject(arg1), getObject(arg2));
4805
5048
  }, arguments); },
4806
- __wbg_restyle_430c877f714cf5bd: function(arg0) {
5049
+ __wbg_restyle_3318980da178e2a7: function(arg0) {
4807
5050
  getObject(arg0).restyle();
4808
5051
  },
4809
- __wbg_resumeResize_ac80ea40f9178dab: function(arg0) {
5052
+ __wbg_resumeResize_ce0e9532052de7b5: function(arg0) {
4810
5053
  getObject(arg0).resumeResize();
4811
5054
  },
4812
5055
  __wbg_right_154af6c2b1bf0c89: function(arg0) {
4813
5056
  const ret = getObject(arg0).right;
4814
5057
  return ret;
4815
5058
  },
4816
- __wbg_run_ce6bcc7f4952334e: function() { return handleError(function (arg0, arg1) {
5059
+ __wbg_run_445af8472ad115ff: function() { return handleError(function (arg0, arg1) {
4817
5060
  const ret = getObject(arg0).run(getObject(arg1));
4818
5061
  return addHeapObject(ret);
4819
5062
  }, arguments); },
4820
- __wbg_save_aa2b3f6ad299b60e: function(arg0) {
5063
+ __wbg_save_05e0270a31077458: function(arg0) {
4821
5064
  const ret = getObject(arg0).save();
4822
5065
  return addHeapObject(ret);
4823
5066
  },
@@ -4837,7 +5080,7 @@ function __wbg_get_imports() {
4837
5080
  const ret = getObject(arg0).scrollTop;
4838
5081
  return ret;
4839
5082
  },
4840
- __wbg_select_ebe523060f81527f: function(arg0, arg1, arg2) {
5083
+ __wbg_select_18abcadc37ebf538: function(arg0, arg1, arg2) {
4841
5084
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4842
5085
  const ret = getObject(arg0).select(v0);
4843
5086
  return addHeapObject(ret);
@@ -4976,6 +5219,12 @@ function __wbg_get_imports() {
4976
5219
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4977
5220
  getObject(arg0).nodeValue = v0;
4978
5221
  },
5222
+ __wbg_set_onload_7f48f88f0514211d: function(arg0, arg1) {
5223
+ getObject(arg0).onload = getObject(arg1);
5224
+ },
5225
+ __wbg_set_onmessage_0e1ffb1c0d91d2ad: function(arg0, arg1) {
5226
+ getObject(arg0).onmessage = getObject(arg1);
5227
+ },
4979
5228
  __wbg_set_passive_f411e67e6f28687b: function(arg0, arg1) {
4980
5229
  getObject(arg0).passive = arg1 !== 0;
4981
5230
  },
@@ -5071,7 +5320,7 @@ function __wbg_get_imports() {
5071
5320
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
5072
5321
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
5073
5322
  },
5074
- __wbg_static_accessor_PSP_a0b6d4c75051d537: function() {
5323
+ __wbg_static_accessor_PSP_ad579a92fa44eb52: function() {
5075
5324
  const ret = psp;
5076
5325
  return addHeapObject(ret);
5077
5326
  },
@@ -5105,10 +5354,18 @@ function __wbg_get_imports() {
5105
5354
  const ret = JSON.stringify(getObject(arg0));
5106
5355
  return addHeapObject(ret);
5107
5356
  }, arguments); },
5357
+ __wbg_styleSheet_66d04471448b344e: function(arg0) {
5358
+ const ret = getObject(arg0).styleSheet;
5359
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
5360
+ },
5108
5361
  __wbg_styleSheets_54de627270238f6f: function(arg0) {
5109
5362
  const ret = getObject(arg0).styleSheets;
5110
5363
  return addHeapObject(ret);
5111
5364
  },
5365
+ __wbg_styleSheets_f6881090d63936f3: function(arg0) {
5366
+ const ret = getObject(arg0).styleSheets;
5367
+ return addHeapObject(ret);
5368
+ },
5112
5369
  __wbg_style_0b7c9bd318f8b807: function(arg0) {
5113
5370
  const ret = getObject(arg0).style;
5114
5371
  return addHeapObject(ret);
@@ -5121,7 +5378,7 @@ function __wbg_get_imports() {
5121
5378
  const ret = getObject(arg0).__yew_subtree_id;
5122
5379
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
5123
5380
  },
5124
- __wbg_supportedValuesOf_ee76a7c9dedf9c58: function(arg0) {
5381
+ __wbg_supportedValuesOf_4ed4698dca0c6279: function(arg0) {
5125
5382
  const ret = Intl.supportedValuesOf(getObject(arg0));
5126
5383
  return addHeapObject(ret);
5127
5384
  },
@@ -5192,13 +5449,13 @@ function __wbg_get_imports() {
5192
5449
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5193
5450
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5194
5451
  },
5195
- __wbg_unobserve_3e54c3871b9c786b: function(arg0, arg1) {
5452
+ __wbg_unobserve_1a7fcd1a65c1b4b7: function(arg0, arg1) {
5196
5453
  getObject(arg0).unobserve(getObject(arg1));
5197
5454
  },
5198
- __wbg_unobserve_7385af38cb320b9e: function(arg0, arg1) {
5455
+ __wbg_unobserve_f612621cc2288a56: function(arg0, arg1) {
5199
5456
  getObject(arg0).unobserve(getObject(arg1));
5200
5457
  },
5201
- __wbg_update_8f3a99150a763b87: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
5458
+ __wbg_update_44a19267b9c75794: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
5202
5459
  const ret = getObject(arg0).update(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
5203
5460
  return addHeapObject(ret);
5204
5461
  }, arguments); },
@@ -5269,88 +5526,84 @@ function __wbg_get_imports() {
5269
5526
  const ret = getObject(arg0).width;
5270
5527
  return ret;
5271
5528
  },
5272
- __wbg_write_d429ce72e918e180: function(arg0, arg1) {
5273
- const ret = getObject(arg0).write(getObject(arg1));
5274
- return addHeapObject(ret);
5275
- },
5276
5529
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
5277
- // Cast intrinsic for `Closure(Closure { dtor_idx: 5081, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 5083, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5278
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20596, __wasm_bindgen_func_elem_20619);
5530
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [Externref], shim_idx: 109, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5531
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7842, __wasm_bindgen_func_elem_8959);
5279
5532
  return addHeapObject(ret);
5280
5533
  },
5281
5534
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
5282
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [Externref], shim_idx: 111, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5283
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8627);
5535
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 111, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5536
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7842, __wasm_bindgen_func_elem_8960);
5284
5537
  return addHeapObject(ret);
5285
5538
  },
5286
5539
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
5287
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 113, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5288
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8628);
5540
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("DragEvent")], shim_idx: 111, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5541
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7842, __wasm_bindgen_func_elem_8960);
5289
5542
  return addHeapObject(ret);
5290
5543
  },
5291
5544
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
5292
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [NamedExternref("DragEvent")], shim_idx: 113, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5293
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8628);
5545
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 111, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5546
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7842, __wasm_bindgen_func_elem_8960);
5294
5547
  return addHeapObject(ret);
5295
5548
  },
5296
5549
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
5297
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 113, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5298
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8628);
5550
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 111, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5551
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7842, __wasm_bindgen_func_elem_8960);
5299
5552
  return addHeapObject(ret);
5300
5553
  },
5301
5554
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
5302
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 113, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5303
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8628);
5555
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 109, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5556
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7842, __wasm_bindgen_func_elem_8959);
5304
5557
  return addHeapObject(ret);
5305
5558
  },
5306
5559
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
5307
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 111, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5308
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8627);
5560
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 111, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5561
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7842, __wasm_bindgen_func_elem_8960);
5309
5562
  return addHeapObject(ret);
5310
5563
  },
5311
5564
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
5312
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 113, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5313
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8628);
5565
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 111, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5566
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7842, __wasm_bindgen_func_elem_8960);
5314
5567
  return addHeapObject(ret);
5315
5568
  },
5316
5569
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
5317
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 113, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5318
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8628);
5570
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [], shim_idx: 110, ret: Result(Externref), inner_ret: Some(Result(Externref)) }, mutable: false }) -> Externref`.
5571
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7842, __wasm_bindgen_func_elem_8961);
5319
5572
  return addHeapObject(ret);
5320
5573
  },
5321
5574
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
5322
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [], shim_idx: 112, ret: Result(Externref), inner_ret: Some(Result(Externref)) }, mutable: false }) -> Externref`.
5323
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8629);
5575
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5216, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 5218, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5576
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_21462, __wasm_bindgen_func_elem_21486);
5324
5577
  return addHeapObject(ret);
5325
5578
  },
5326
5579
  __wbindgen_cast_000000000000000b: function(arg0, arg1) {
5327
- // Cast intrinsic for `Closure(Closure { dtor_idx: 51, function: Function { arguments: [], shim_idx: 114, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5328
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7550, __wasm_bindgen_func_elem_8625);
5580
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5301, function: Function { arguments: [NamedExternref("Event")], shim_idx: 5302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5581
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_22081, __wasm_bindgen_func_elem_22086);
5329
5582
  return addHeapObject(ret);
5330
5583
  },
5331
5584
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
5332
- // Cast intrinsic for `Closure(Closure { dtor_idx: 5165, function: Function { arguments: [NamedExternref("Event")], shim_idx: 5166, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5333
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_21211, __wasm_bindgen_func_elem_21215);
5585
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5301, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 5302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5586
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_22081, __wasm_bindgen_func_elem_22086);
5334
5587
  return addHeapObject(ret);
5335
5588
  },
5336
5589
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
5337
- // Cast intrinsic for `Closure(Closure { dtor_idx: 5165, function: Function { arguments: [], shim_idx: 5167, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5338
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_21211, __wasm_bindgen_func_elem_21214);
5590
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5301, function: Function { arguments: [], shim_idx: 5303, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5591
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_22081, __wasm_bindgen_func_elem_22085);
5339
5592
  return addHeapObject(ret);
5340
5593
  },
5341
5594
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
5342
- // Cast intrinsic for `Closure(Closure { dtor_idx: 5178, function: Function { arguments: [], shim_idx: 5196, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
5343
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_22623, __wasm_bindgen_func_elem_23270);
5595
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5314, function: Function { arguments: [], shim_idx: 5331, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
5596
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_23473, __wasm_bindgen_func_elem_24096);
5344
5597
  return addHeapObject(ret);
5345
5598
  },
5346
5599
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
5347
- // Cast intrinsic for `Closure(Closure { dtor_idx: 5178, function: Function { arguments: [], shim_idx: 5197, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5348
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_22623, __wasm_bindgen_func_elem_23271);
5600
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5314, function: Function { arguments: [], shim_idx: 5332, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5601
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_23473, __wasm_bindgen_func_elem_24097);
5349
5602
  return addHeapObject(ret);
5350
5603
  },
5351
5604
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
5352
- // Cast intrinsic for `Closure(Closure { dtor_idx: 5762, function: Function { arguments: [Externref], shim_idx: 5763, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5353
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_27298, __wasm_bindgen_func_elem_27300);
5605
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5895, function: Function { arguments: [Externref], shim_idx: 5896, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5606
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_28172, __wasm_bindgen_func_elem_28174);
5354
5607
  return addHeapObject(ret);
5355
5608
  },
5356
5609
  __wbindgen_cast_0000000000000011: function(arg0) {
@@ -5431,39 +5684,31 @@ function __wbg_get_imports() {
5431
5684
  };
5432
5685
  }
5433
5686
 
5434
- function __wasm_bindgen_func_elem_21214(arg0, arg1) {
5435
- wasm.__wasm_bindgen_func_elem_21214(arg0, arg1);
5687
+ function __wasm_bindgen_func_elem_22085(arg0, arg1) {
5688
+ wasm.__wasm_bindgen_func_elem_22085(arg0, arg1);
5436
5689
  }
5437
5690
 
5438
- function __wasm_bindgen_func_elem_23271(arg0, arg1) {
5439
- wasm.__wasm_bindgen_func_elem_23271(arg0, arg1);
5691
+ function __wasm_bindgen_func_elem_24097(arg0, arg1) {
5692
+ wasm.__wasm_bindgen_func_elem_24097(arg0, arg1);
5440
5693
  }
5441
5694
 
5442
- function __wasm_bindgen_func_elem_23270(arg0, arg1) {
5443
- const ret = wasm.__wasm_bindgen_func_elem_23270(arg0, arg1);
5695
+ function __wasm_bindgen_func_elem_24096(arg0, arg1) {
5696
+ const ret = wasm.__wasm_bindgen_func_elem_24096(arg0, arg1);
5444
5697
  return takeObject(ret);
5445
5698
  }
5446
5699
 
5447
- function __wasm_bindgen_func_elem_20619(arg0, arg1, arg2) {
5448
- try {
5449
- wasm.__wasm_bindgen_func_elem_20619(arg0, arg1, addBorrowedObject(arg2));
5450
- } finally {
5451
- heap[stack_pointer++] = undefined;
5452
- }
5453
- }
5454
-
5455
- function __wasm_bindgen_func_elem_8627(arg0, arg1, arg2) {
5456
- wasm.__wasm_bindgen_func_elem_8627(arg0, arg1, addHeapObject(arg2));
5700
+ function __wasm_bindgen_func_elem_8959(arg0, arg1, arg2) {
5701
+ wasm.__wasm_bindgen_func_elem_8959(arg0, arg1, addHeapObject(arg2));
5457
5702
  }
5458
5703
 
5459
- function __wasm_bindgen_func_elem_8628(arg0, arg1, arg2) {
5460
- wasm.__wasm_bindgen_func_elem_8628(arg0, arg1, addHeapObject(arg2));
5704
+ function __wasm_bindgen_func_elem_8960(arg0, arg1, arg2) {
5705
+ wasm.__wasm_bindgen_func_elem_8960(arg0, arg1, addHeapObject(arg2));
5461
5706
  }
5462
5707
 
5463
- function __wasm_bindgen_func_elem_8629(arg0, arg1) {
5708
+ function __wasm_bindgen_func_elem_8961(arg0, arg1) {
5464
5709
  try {
5465
5710
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5466
- wasm.__wasm_bindgen_func_elem_8629(retptr, arg0, arg1);
5711
+ wasm.__wasm_bindgen_func_elem_8961(retptr, arg0, arg1);
5467
5712
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5468
5713
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5469
5714
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -5476,30 +5721,24 @@ function __wasm_bindgen_func_elem_8629(arg0, arg1) {
5476
5721
  }
5477
5722
  }
5478
5723
 
5479
- function __wasm_bindgen_func_elem_8625(arg0, arg1) {
5724
+ function __wasm_bindgen_func_elem_21486(arg0, arg1, arg2) {
5480
5725
  try {
5481
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5482
- wasm.__wasm_bindgen_func_elem_8625(retptr, arg0, arg1);
5483
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5484
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5485
- if (r1) {
5486
- throw takeObject(r0);
5487
- }
5726
+ wasm.__wasm_bindgen_func_elem_21486(arg0, arg1, addBorrowedObject(arg2));
5488
5727
  } finally {
5489
- wasm.__wbindgen_add_to_stack_pointer(16);
5728
+ heap[stack_pointer++] = undefined;
5490
5729
  }
5491
5730
  }
5492
5731
 
5493
- function __wasm_bindgen_func_elem_21215(arg0, arg1, arg2) {
5494
- wasm.__wasm_bindgen_func_elem_21215(arg0, arg1, addHeapObject(arg2));
5732
+ function __wasm_bindgen_func_elem_22086(arg0, arg1, arg2) {
5733
+ wasm.__wasm_bindgen_func_elem_22086(arg0, arg1, addHeapObject(arg2));
5495
5734
  }
5496
5735
 
5497
- function __wasm_bindgen_func_elem_27300(arg0, arg1, arg2) {
5498
- wasm.__wasm_bindgen_func_elem_27300(arg0, arg1, addHeapObject(arg2));
5736
+ function __wasm_bindgen_func_elem_28174(arg0, arg1, arg2) {
5737
+ wasm.__wasm_bindgen_func_elem_28174(arg0, arg1, addHeapObject(arg2));
5499
5738
  }
5500
5739
 
5501
- function __wasm_bindgen_func_elem_36104(arg0, arg1, arg2, arg3) {
5502
- wasm.__wasm_bindgen_func_elem_36104(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
5740
+ function __wasm_bindgen_func_elem_36995(arg0, arg1, arg2, arg3) {
5741
+ wasm.__wasm_bindgen_func_elem_36995(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
5503
5742
  }
5504
5743
 
5505
5744