@perspective-dev/viewer 5.4.0 → 5.5.1

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 (142) hide show
  1. package/dist/cdn/perspective-viewer.js +4 -4
  2. package/dist/cdn/perspective-viewer.js.map +2 -2
  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/icons.css +1 -1
  10. package/dist/css/intl/ar.css +1 -1
  11. package/dist/css/intl/de.css +1 -1
  12. package/dist/css/intl/es.css +1 -1
  13. package/dist/css/intl/fr.css +1 -1
  14. package/dist/css/intl/ja.css +1 -1
  15. package/dist/css/intl/pt.css +1 -1
  16. package/dist/css/intl/zh.css +1 -1
  17. package/dist/css/intl.css +1 -1
  18. package/dist/css/ledger.css +1 -1
  19. package/dist/css/monokai.css +1 -1
  20. package/dist/css/nord.css +1 -1
  21. package/dist/css/phosphor.css +1 -1
  22. package/dist/css/pro-dark.css +1 -1
  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/docs/perspective-docs.json +1 -1
  30. package/dist/esm/perspective-viewer.d.ts +2 -0
  31. package/dist/esm/perspective-viewer.inline.js +9 -9
  32. package/dist/esm/perspective-viewer.inline.js.map +3 -3
  33. package/dist/esm/perspective-viewer.js +4 -4
  34. package/dist/esm/perspective-viewer.js.map +2 -2
  35. package/dist/esm/plugin.d.ts +9 -0
  36. package/dist/esm/ts-rs/AddPanelOptions.d.ts +9 -0
  37. package/dist/esm/ts-rs/ExportMethod.d.ts +1 -1
  38. package/dist/esm/ts-rs/GetViewMode.d.ts +4 -0
  39. package/dist/esm/ts-rs/GetViewOptions.d.ts +8 -0
  40. package/dist/esm/ts-rs/RestoreOptions.d.ts +6 -0
  41. package/dist/esm/ts-rs/RestoreWorkspaceOptions.d.ts +9 -0
  42. package/dist/esm/ts-rs/WorkspaceConfigUpdate.d.ts +30 -22
  43. package/dist/wasm/perspective-viewer.d.ts +102 -47
  44. package/dist/wasm/perspective-viewer.js +233 -142
  45. package/dist/wasm/perspective-viewer.wasm +0 -0
  46. package/dist/wasm/perspective-viewer.wasm.d.ts +18 -18
  47. package/package.json +7 -7
  48. package/src/css/column-selector.css +11 -3
  49. package/src/css/column-style.css +162 -0
  50. package/src/css/config-selector.css +1 -1
  51. package/src/css/form/debug.css +9 -0
  52. package/src/css/status-bar.css +11 -0
  53. package/src/css/ui/containers/tabs.css +2 -1
  54. package/src/rust/agent/tools.rs +80 -7
  55. package/src/rust/components/column_selector/active_column.rs +9 -0
  56. package/src/rust/components/column_selector.rs +11 -0
  57. package/src/rust/components/column_settings_sidebar/style_tab/alignment_field.rs +90 -0
  58. package/src/rust/components/column_settings_sidebar/style_tab/font_field.rs +267 -0
  59. package/src/rust/components/column_settings_sidebar/style_tab/primitive_field.rs +1 -1
  60. package/src/rust/components/column_settings_sidebar/style_tab.rs +68 -9
  61. package/src/rust/components/debug_panel.rs +107 -50
  62. package/src/rust/components/export_dropdown.rs +6 -0
  63. package/src/rust/components/main_panel/msg.rs +4 -0
  64. package/src/rust/components/main_panel.rs +14 -0
  65. package/src/rust/components/mod.rs +0 -1
  66. package/src/rust/components/plugin_tab.rs +57 -3
  67. package/src/rust/components/settings_panel.rs +6 -0
  68. package/src/rust/components/status_bar.rs +12 -3
  69. package/src/rust/components/status_indicator.rs +4 -0
  70. package/src/rust/components/viewer/filters.rs +2 -2
  71. package/src/rust/components/viewer/msg.rs +4 -0
  72. package/src/rust/components/viewer/panels.rs +6 -3
  73. package/src/rust/components/viewer/render.rs +1 -0
  74. package/src/rust/components/viewer/wiring.rs +14 -2
  75. package/src/rust/components/viewer.rs +2 -2
  76. package/src/rust/config/column_config_schema.rs +312 -8
  77. package/src/rust/config/datetime_column_style.rs +0 -11
  78. package/src/rust/config/export_method.rs +24 -0
  79. package/src/rust/config/mod.rs +0 -2
  80. package/src/rust/config/options.rs +50 -0
  81. package/src/rust/config/workspace_config.rs +69 -24
  82. package/src/rust/custom_elements/viewer.rs +214 -113
  83. package/src/rust/js/plugin.rs +3 -1
  84. package/src/rust/lib.rs +7 -3
  85. package/src/rust/queries/plugin_column_styles.rs +6 -5
  86. package/src/rust/renderer/plugin_config.rs +200 -41
  87. package/src/rust/renderer/plugin_store.rs +2 -1
  88. package/src/rust/renderer/props.rs +5 -0
  89. package/src/rust/renderer.rs +9 -0
  90. package/src/rust/session/metadata.rs +5 -10
  91. package/src/rust/session/props.rs +4 -0
  92. package/src/rust/session.rs +273 -195
  93. package/src/rust/tasks/copy_export.rs +67 -0
  94. package/src/rust/tasks/create_panel.rs +16 -13
  95. package/src/rust/tasks/pipeline.rs +26 -8
  96. package/src/rust/tasks/restore_panel.rs +129 -30
  97. package/src/rust/tasks/send_column_config.rs +3 -0
  98. package/src/rust/tasks/sync_update_panels.rs +148 -68
  99. package/src/rust/tasks/table_lifecycle.rs +7 -1
  100. package/src/rust/ui/containers/tab_list.rs +1 -1
  101. package/src/rust/ui/form/intl_label.rs +4 -23
  102. package/src/rust/ui/portal.rs +1 -0
  103. package/src/rust/utils/css_vars.rs +13 -0
  104. package/src/rust/{config/datetime_column_style/color_mode.rs → utils/in_flight.rs} +47 -35
  105. package/src/rust/utils/local_fonts.rs +395 -0
  106. package/src/rust/utils/mod.rs +4 -0
  107. package/src/rust/utils/pending_effects.rs +6 -30
  108. package/src/rust/workspace.rs +12 -0
  109. package/src/svg/status_pending.svg +3 -0
  110. package/src/themes/icons.css +1 -0
  111. package/src/themes/intl/ar.css +20 -7
  112. package/src/themes/intl/de.css +20 -7
  113. package/src/themes/intl/es.css +20 -7
  114. package/src/themes/intl/fr.css +20 -7
  115. package/src/themes/intl/ja.css +20 -7
  116. package/src/themes/intl/pt.css +20 -7
  117. package/src/themes/intl/zh.css +20 -7
  118. package/src/themes/intl.css +20 -7
  119. package/src/themes/monokai.css +1 -1
  120. package/src/themes/vaporwave.css +1 -1
  121. package/src/ts/perspective-viewer.ts +2 -0
  122. package/src/ts/plugin.ts +9 -0
  123. package/src/ts/ts-rs/AddPanelOptions.ts +10 -0
  124. package/src/ts/ts-rs/ExportMethod.ts +1 -1
  125. package/src/ts/ts-rs/{DatetimeColorMode.ts → GetViewMode.ts} +4 -1
  126. package/src/ts/ts-rs/GetViewOptions.ts +7 -0
  127. package/src/ts/ts-rs/RestoreOptions.ts +7 -1
  128. package/src/ts/ts-rs/RestoreWorkspaceOptions.ts +10 -0
  129. package/src/ts/ts-rs/WorkspaceConfigUpdate.ts +31 -20
  130. package/dist/esm/ts-rs/DatetimeColorMode.d.ts +0 -1
  131. package/dist/esm/ts-rs/FormatMode.d.ts +0 -1
  132. package/dist/esm/ts-rs/StringColorMode.d.ts +0 -1
  133. package/src/rust/components/string_column_style.rs +0 -120
  134. package/src/rust/config/string_column_style.rs +0 -135
  135. package/src/ts/ts-rs/FormatMode.ts +0 -3
  136. package/src/ts/ts-rs/StringColorMode.ts +0 -3
  137. /package/dist/wasm/snippets/{perspective-viewer-adc6f3f79141112b → perspective-viewer-6813b568219c6763}/inline0.js +0 -0
  138. /package/dist/wasm/snippets/{perspective-viewer-adc6f3f79141112b → perspective-viewer-6813b568219c6763}/inline1.js +0 -0
  139. /package/dist/wasm/snippets/{perspective-viewer-adc6f3f79141112b → perspective-viewer-6813b568219c6763}/inline2.js +0 -0
  140. /package/dist/wasm/snippets/{perspective-viewer-adc6f3f79141112b → perspective-viewer-6813b568219c6763}/inline3.js +0 -0
  141. /package/dist/wasm/snippets/{perspective-viewer-adc6f3f79141112b → perspective-viewer-6813b568219c6763}/inline4.js +0 -0
  142. /package/dist/wasm/snippets/{perspective-viewer-adc6f3f79141112b → perspective-viewer-6813b568219c6763}/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-adc6f3f79141112b/inline0.js';
3
- import { ClipboardItem } from './snippets/perspective-viewer-adc6f3f79141112b/inline1.js';
4
- import { ResizeObserver } from './snippets/perspective-viewer-adc6f3f79141112b/inline2.js';
5
- import { IntersectionObserver } from './snippets/perspective-viewer-adc6f3f79141112b/inline3.js';
6
- import { bootstrap } from './snippets/perspective-viewer-adc6f3f79141112b/inline4.js';
7
- import { psp } from './snippets/perspective-viewer-adc6f3f79141112b/inline5.js';
2
+ import { define_panel_tab } from './snippets/perspective-viewer-6813b568219c6763/inline0.js';
3
+ import { ClipboardItem } from './snippets/perspective-viewer-6813b568219c6763/inline1.js';
4
+ import { ResizeObserver } from './snippets/perspective-viewer-6813b568219c6763/inline2.js';
5
+ import { IntersectionObserver } from './snippets/perspective-viewer-6813b568219c6763/inline3.js';
6
+ import { bootstrap } from './snippets/perspective-viewer-6813b568219c6763/inline4.js';
7
+ import { psp } from './snippets/perspective-viewer-6813b568219c6763/inline5.js';
8
8
 
9
9
  /**
10
10
  * An instance of a [`Client`] is a connection to a single
@@ -952,11 +952,19 @@ export class PerspectiveViewerElement {
952
952
  *
953
953
  * The element-level `settings` field does not exist on the argument
954
954
  * type (it is shared across the element, not per-panel).
955
+ *
956
+ * # Arguments
957
+ *
958
+ * - `config` - The new panel's initial config, whose `table` is required.
959
+ * - `options.wait_for_table` - when `true`, a `table` no loaded client
960
+ * hosts yet creates the panel empty and pending until the table is
961
+ * created, instead of the default rejection.
955
962
  * @param {ViewerConfigInitial} config
963
+ * @param {AddPanelOptions | null} [options]
956
964
  * @returns {Promise<any>}
957
965
  */
958
- addPanel(config) {
959
- const ret = wasm.perspectiveviewerelement_addPanel(this.__wbg_ptr, addHeapObject(config));
966
+ addPanel(config, options) {
967
+ const ret = wasm.perspectiveviewerelement_addPanel(this.__wbg_ptr, addHeapObject(config), isLikeNone(options) ? 0 : addHeapObject(options));
960
968
  return takeObject(ret);
961
969
  }
962
970
  /**
@@ -1405,26 +1413,45 @@ export class PerspectiveViewerElement {
1405
1413
  return takeObject(ret);
1406
1414
  }
1407
1415
  /**
1408
- * Get the underlying [`View`] for this viewer.
1416
+ * Get a [`View`] for a panel of this viewer, as currently configured by
1417
+ * the user.
1409
1418
  *
1410
- * Use this method to get promgrammatic access to the [`View`] as currently
1411
- * configured by the user, for e.g. serializing as an
1412
- * [Apache Arrow](https://arrow.apache.org/) before passing to another
1413
- * library.
1419
+ * # Arguments
1414
1420
  *
1415
- * The [`View`] returned by this method is owned by the
1416
- * [`PerspectiveViewerElement`] and may be _invalidated_ by
1417
- * [`View::delete`] at any time. Plugins which rely on this [`View`] for
1418
- * their [`HTMLPerspectiveViewerPluginElement::draw`] implementations
1419
- * should treat this condition as a _cancellation_ by silently aborting on
1420
- * "View already deleted" errors from method calls.
1421
+ * - `mode` - which [`View`] to return:
1422
+ * - `"live"` (default) - the panel's own [`View`], which the viewer
1423
+ * replaces on every config change and deletes when auto-paused or
1424
+ * [`PerspectiveViewerElement::delete`]d, so calls on it may fail with
1425
+ * "View already deleted", it must never be deleted by the caller, and
1426
+ * it rejects with `No View for panel "<name>"` while none is bound
1427
+ * (auto-paused or not yet rendered).
1428
+ * - `"clone"` - a new [`View`] built from the panel's effective config
1429
+ * (global filter included), independent of the render lifecycle, which
1430
+ * the caller owns and must [`View::delete`].
1431
+ * - `"auto"` - `"live"` when the panel has a bound [`View`], else
1432
+ * `"clone"`.
1433
+ * - `panel` - the target panel, or the active panel when omitted.
1434
+ *
1435
+ * Plugins which rely on the live [`View`] for their
1436
+ * [`HTMLPerspectiveViewerPluginElement::draw`] implementations should
1437
+ * treat "View already deleted" as a _cancellation_ by silently aborting.
1421
1438
  *
1422
1439
  * # JavaScript Examples
1423
1440
  *
1424
1441
  * ```javascript
1425
1442
  * const view = await viewer.getView();
1426
1443
  * ```
1427
- * @param {PanelOptions | null} [options]
1444
+ *
1445
+ * Export every panel without borrowing the viewer's own [`View`]:
1446
+ *
1447
+ * ```javascript
1448
+ * for (const panel of viewer.getPanelNames()) {
1449
+ * const view = await viewer.getView({ panel, mode: "clone" });
1450
+ * const arrow = await view.to_arrow();
1451
+ * await view.delete();
1452
+ * }
1453
+ * ```
1454
+ * @param {GetViewOptions | null} [options]
1428
1455
  * @returns {Promise<any>}
1429
1456
  */
1430
1457
  getView(options) {
@@ -1689,12 +1716,13 @@ export class PerspectiveViewerElement {
1689
1716
  * - `options.panel` - The panel to target, or the active panel when
1690
1717
  * omitted.
1691
1718
  * - `options.suppress_errors` - when `true`, a failed restore only rejects
1692
- * the returned `Promise`; the error is NOT committed to the viewer's
1693
- * visible error state and the session remains usable. The view config is
1694
- * rolled back to its pre-call value, so a rejected patch cannot re-merge
1695
- * into a later restore. Element-level state the call already applied
1696
- * (theme, title, a plugin swap) is NOT undone — restore a known-good
1697
- * config to recover those exactly.
1719
+ * the returned `Promise` and rolls the view config back, leaving the
1720
+ * viewer's visible error state and any element-level state the call
1721
+ * already applied (theme, title, plugin, a successful `table` change)
1722
+ * untouched.
1723
+ * - `options.wait_for_table` - when `true`, a `table` no loaded client
1724
+ * hosts yet leaves the panel empty and pending until the table is
1725
+ * created, instead of the default error.
1698
1726
  *
1699
1727
  * # JavaScript Examples
1700
1728
  *
@@ -1720,23 +1748,37 @@ export class PerspectiveViewerElement {
1720
1748
  return takeObject(ret);
1721
1749
  }
1722
1750
  /**
1723
- * Restore the ENTIRE element from a [`WorkspaceConfigUpdate`]
1724
- * (`{version, active?, layout, panels, ...}`) —
1725
- * the multi-panel counterpart of [`Self::restore`]. Every existing panel
1726
- * is replaced by the `panels` entries, and the layout tree + master/detail
1727
- * cross-filter state re-applied. Unlike [`Self::restore`], this never
1728
- * falls back to the single-panel path.
1751
+ * Apply a [`WorkspaceConfigUpdate`] to the element — the multi-panel
1752
+ * counterpart of [`Self::restore`] and like it a field-wise update, where
1753
+ * an absent field is unchanged, `null` resets and a value replaces.
1754
+ *
1755
+ * # Arguments
1756
+ *
1757
+ * - `update` - The workspace config update: a [`Self::saveWorkspace`]
1758
+ * token replaces every panel (`panels` is the whole set), while a token
1759
+ * without `panels` keeps them and `layout`, `active` and `masters` name
1760
+ * them by their existing ids.
1761
+ * - `options.wait_for_table` - when `true`, a panel whose `table` no
1762
+ * loaded client hosts yet is created empty and pending until the table
1763
+ * is created, instead of the default error.
1729
1764
  *
1730
1765
  * # JavaScript Examples
1731
1766
  *
1732
1767
  * ```javascript
1733
1768
  * await viewer.restoreWorkspace(await otherViewer.saveWorkspace());
1734
1769
  * ```
1770
+ *
1771
+ * Cross-filter the current panels without re-creating them:
1772
+ *
1773
+ * ```javascript
1774
+ * await viewer.restoreWorkspace({ global_filters: [["Region", "==", "West"]] });
1775
+ * ```
1735
1776
  * @param {WorkspaceConfigUpdate} update
1777
+ * @param {RestoreWorkspaceOptions | null} [options]
1736
1778
  * @returns {Promise<void>}
1737
1779
  */
1738
- restoreWorkspace(update) {
1739
- const ret = wasm.perspectiveviewerelement_restoreWorkspace(this.__wbg_ptr, addHeapObject(update));
1780
+ restoreWorkspace(update, options) {
1781
+ const ret = wasm.perspectiveviewerelement_restoreWorkspace(this.__wbg_ptr, addHeapObject(update), isLikeNone(options) ? 0 : addHeapObject(options));
1740
1782
  return takeObject(ret);
1741
1783
  }
1742
1784
  /**
@@ -2654,6 +2696,17 @@ export class View {
2654
2696
  }
2655
2697
  /**
2656
2698
  * Serializes a [`View`] to the Apache Arrow data format.
2699
+ *
2700
+ * # Arguments
2701
+ *
2702
+ * - `window` - a [`ViewWindow`]; its `compression` key selects Arrow IPC
2703
+ * body compression, `"lz4"` or `"zstd"` (uncompressed when omitted).
2704
+ *
2705
+ * # JavaScript Examples
2706
+ *
2707
+ * ```javascript
2708
+ * const arrow = await view.to_arrow({ compression: "zstd" });
2709
+ * ```
2657
2710
  * @param {ViewWindow | null} [window]
2658
2711
  * @returns {Promise<ArrayBuffer>}
2659
2712
  */
@@ -3180,7 +3233,7 @@ function __wbg_get_imports() {
3180
3233
  const ret = getObject(arg0).body;
3181
3234
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3182
3235
  },
3183
- __wbg_bootstrap_e8763006615dfdad: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3236
+ __wbg_bootstrap_bcc629c36202c787: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3184
3237
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3185
3238
  var v1 = getCachedStringFromWasm0(arg3, arg4);
3186
3239
  const ret = bootstrap(getObject(arg0), v0, v1, takeObject(arg5));
@@ -3202,12 +3255,12 @@ function __wbg_get_imports() {
3202
3255
  const ret = getObject(arg0).__yew_subtree_cache_key;
3203
3256
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3204
3257
  },
3205
- __wbg_calculatePath_fc87569fb5724c58: function(arg0, arg1, arg2) {
3258
+ __wbg_calculatePath_cd9a0a6d046055b6: function(arg0, arg1, arg2) {
3206
3259
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3207
3260
  const ret = getObject(arg0).calculatePath(v0);
3208
3261
  return addHeapObject(ret);
3209
3262
  },
3210
- __wbg_calculatePresizePaths_c151a4657bd00462: function(arg0) {
3263
+ __wbg_calculatePresizePaths_28421b3816152acf: function(arg0) {
3211
3264
  const ret = getObject(arg0).calculatePresizePaths();
3212
3265
  return addHeapObject(ret);
3213
3266
  },
@@ -3254,7 +3307,7 @@ function __wbg_get_imports() {
3254
3307
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3255
3308
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3256
3309
  },
3257
- __wbg_clear_9b05a7a03c3630ae: function() { return handleError(function (arg0) {
3310
+ __wbg_clear_e92315b79199e73e: function() { return handleError(function (arg0) {
3258
3311
  const ret = getObject(arg0).clear();
3259
3312
  return addHeapObject(ret);
3260
3313
  }, arguments); },
@@ -3301,7 +3354,7 @@ function __wbg_get_imports() {
3301
3354
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3302
3355
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3303
3356
  },
3304
- __wbg_column_config_schema_8f4ac6df501f6073: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3357
+ __wbg_column_config_schema_70ce008fc8aab6f1: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3305
3358
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3306
3359
  var v1 = getCachedStringFromWasm0(arg3, arg4);
3307
3360
  var v2 = getCachedStringFromWasm0(arg5, arg6);
@@ -3321,7 +3374,7 @@ function __wbg_get_imports() {
3321
3374
  const ret = getObject(arg0).contains(v0);
3322
3375
  return ret;
3323
3376
  },
3324
- __wbg_contentRect_1aa8a582e70c2f26: function(arg0) {
3377
+ __wbg_contentRect_dfad24916e198802: function(arg0) {
3325
3378
  const ret = getObject(arg0).contentRect;
3326
3379
  return addHeapObject(ret);
3327
3380
  },
@@ -3384,18 +3437,18 @@ function __wbg_get_imports() {
3384
3437
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3385
3438
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3386
3439
  }, arguments); },
3387
- __wbg_define_panel_tab_2ff97a4801ba3043: function(arg0, arg1) {
3440
+ __wbg_define_panel_tab_fee5f3fc7762b065: function(arg0, arg1) {
3388
3441
  var v0 = getCachedStringFromWasm0(arg0, arg1);
3389
3442
  define_panel_tab(v0);
3390
3443
  },
3444
+ __wbg_delete_48886d8bcf17907c: function(arg0) {
3445
+ getObject(arg0).delete();
3446
+ },
3391
3447
  __wbg_delete_8318b529ff42aa20: function(arg0, arg1, arg2) {
3392
3448
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3393
3449
  delete getObject(arg0)[v0];
3394
3450
  },
3395
- __wbg_delete_f8bbbf3664089bb5: function(arg0) {
3396
- getObject(arg0).delete();
3397
- },
3398
- __wbg_deselect_e786fee7f3840ccd: function() { return handleError(function (arg0) {
3451
+ __wbg_deselect_94737f98e0d020fd: function() { return handleError(function (arg0) {
3399
3452
  const ret = getObject(arg0).deselect();
3400
3453
  return addHeapObject(ret);
3401
3454
  }, arguments); },
@@ -3415,7 +3468,7 @@ function __wbg_get_imports() {
3415
3468
  const ret = getObject(arg0).done;
3416
3469
  return ret;
3417
3470
  },
3418
- __wbg_draw_f75c5684c591b916: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3471
+ __wbg_draw_f1656ba493338e2f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3419
3472
  const ret = getObject(arg0).draw(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
3420
3473
  return addHeapObject(ret);
3421
3474
  }, arguments); },
@@ -3484,6 +3537,11 @@ function __wbg_get_imports() {
3484
3537
  const ret = getObject(arg0).getComputedStyle(getObject(arg1));
3485
3538
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3486
3539
  }, arguments); },
3540
+ __wbg_getContext_2a5764d48600bc43: function() { return handleError(function (arg0, arg1, arg2) {
3541
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3542
+ const ret = getObject(arg0).getContext(v0);
3543
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
3544
+ }, arguments); },
3487
3545
  __wbg_getEntriesByName_02488cff0bc7581c: function(arg0, arg1, arg2, arg3, arg4) {
3488
3546
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3489
3547
  var v1 = getCachedStringFromWasm0(arg3, arg4);
@@ -3554,7 +3612,7 @@ function __wbg_get_imports() {
3554
3612
  const ret = getObject(arg0)[arg1 >>> 0];
3555
3613
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3556
3614
  },
3557
- __wbg_get_static_config_cfb43ffa38301e13: function(arg0) {
3615
+ __wbg_get_static_config_63f724040cd26a11: function(arg0) {
3558
3616
  const ret = getObject(arg0).get_static_config();
3559
3617
  return addHeapObject(ret);
3560
3618
  },
@@ -3624,7 +3682,7 @@ function __wbg_get_imports() {
3624
3682
  const ret = getObject(arg0).insertBefore(getObject(arg1), getObject(arg2));
3625
3683
  return addHeapObject(ret);
3626
3684
  }, arguments); },
3627
- __wbg_insertPanel_c846a8126064503d: function(arg0, arg1, arg2, arg3, arg4) {
3685
+ __wbg_insertPanel_ba71bdc751d5e29b: function(arg0, arg1, arg2, arg3, arg4) {
3628
3686
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3629
3687
  const ret = getObject(arg0).insertPanel(v0, takeObject(arg3), takeObject(arg4));
3630
3688
  return addHeapObject(ret);
@@ -3649,6 +3707,16 @@ function __wbg_get_imports() {
3649
3707
  const ret = result;
3650
3708
  return ret;
3651
3709
  },
3710
+ __wbg_instanceof_CanvasRenderingContext2d_4bb052fd1c3d134d: function(arg0) {
3711
+ let result;
3712
+ try {
3713
+ result = getObject(arg0) instanceof CanvasRenderingContext2D;
3714
+ } catch (_) {
3715
+ result = false;
3716
+ }
3717
+ const ret = result;
3718
+ return ret;
3719
+ },
3652
3720
  __wbg_instanceof_CssStyleRule_23e59108346af0df: function(arg0) {
3653
3721
  let result;
3654
3722
  try {
@@ -3709,6 +3777,16 @@ function __wbg_get_imports() {
3709
3777
  const ret = result;
3710
3778
  return ret;
3711
3779
  },
3780
+ __wbg_instanceof_HtmlCanvasElement_3f2f6e1edb1c9792: function(arg0) {
3781
+ let result;
3782
+ try {
3783
+ result = getObject(arg0) instanceof HTMLCanvasElement;
3784
+ } catch (_) {
3785
+ result = false;
3786
+ }
3787
+ const ret = result;
3788
+ return ret;
3789
+ },
3712
3790
  __wbg_instanceof_HtmlElement_5abfac207260fd6f: function(arg0) {
3713
3791
  let result;
3714
3792
  try {
@@ -3831,7 +3909,7 @@ function __wbg_get_imports() {
3831
3909
  const ret = getObject(arg0).isConnected;
3832
3910
  return ret;
3833
3911
  },
3834
- __wbg_isIntersecting_23092bafa808f609: function(arg0) {
3912
+ __wbg_isIntersecting_ee173c3ac0a789ff: function(arg0) {
3835
3913
  const ret = getObject(arg0).isIntersecting;
3836
3914
  return ret;
3837
3915
  },
@@ -3946,10 +4024,15 @@ function __wbg_get_imports() {
3946
4024
  const ret = getObject(arg0).matches(v0);
3947
4025
  return ret;
3948
4026
  }, arguments); },
3949
- __wbg_maximize_c7b5bb75bfc1c4e6: function(arg0, arg1, arg2) {
4027
+ __wbg_maximize_1565a64f119d9b4b: function(arg0, arg1, arg2) {
3950
4028
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3951
4029
  getObject(arg0).maximize(v0);
3952
4030
  },
4031
+ __wbg_measureText_9d64a92333bd05ee: function() { return handleError(function (arg0, arg1, arg2) {
4032
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
4033
+ const ret = getObject(arg0).measureText(v0);
4034
+ return addHeapObject(ret);
4035
+ }, arguments); },
3953
4036
  __wbg_measure_288b48c082eae0fe: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3954
4037
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3955
4038
  var v1 = getCachedStringFromWasm0(arg3, arg4);
@@ -3959,7 +4042,7 @@ function __wbg_get_imports() {
3959
4042
  const ret = getObject(arg0).message;
3960
4043
  return addHeapObject(ret);
3961
4044
  },
3962
- __wbg_minimize_186314a6054fcd81: function(arg0) {
4045
+ __wbg_minimize_06345975e97908b4: function(arg0) {
3963
4046
  getObject(arg0).minimize();
3964
4047
  },
3965
4048
  __wbg_namespaceURI_86e2062c65f0f341: function(arg0, arg1) {
@@ -3973,10 +4056,6 @@ function __wbg_get_imports() {
3973
4056
  const ret = getObject(arg0).navigator;
3974
4057
  return addHeapObject(ret);
3975
4058
  },
3976
- __wbg_new_0281fff5a8ee0806: function(arg0) {
3977
- const ret = new ClipboardItem(getObject(arg0));
3978
- return addHeapObject(ret);
3979
- },
3980
4059
  __wbg_new_16c83877745f8d12: function() { return handleError(function (arg0, arg1) {
3981
4060
  var v0 = getCachedStringFromWasm0(arg0, arg1);
3982
4061
  const ret = new InputEvent(v0);
@@ -3994,10 +4073,6 @@ function __wbg_get_imports() {
3994
4073
  const ret = new TextDecoder();
3995
4074
  return addHeapObject(ret);
3996
4075
  }, arguments); },
3997
- __wbg_new_30ce6a5d63e147bd: function(arg0) {
3998
- const ret = new ResizeObserver(getObject(arg0));
3999
- return addHeapObject(ret);
4000
- },
4001
4076
  __wbg_new_361308b2356cecd0: function() {
4002
4077
  const ret = new Object();
4003
4078
  return addHeapObject(ret);
@@ -4024,10 +4099,18 @@ function __wbg_get_imports() {
4024
4099
  const ret = new Intl.NumberFormat(getObject(arg0), getObject(arg1));
4025
4100
  return addHeapObject(ret);
4026
4101
  },
4102
+ __wbg_new_88e66413498f3e3d: function(arg0) {
4103
+ const ret = new ClipboardItem(getObject(arg0));
4104
+ return addHeapObject(ret);
4105
+ },
4027
4106
  __wbg_new_8a6f238a6ece86ea: function() {
4028
4107
  const ret = new Error();
4029
4108
  return addHeapObject(ret);
4030
4109
  },
4110
+ __wbg_new_98450e70584646af: function(arg0) {
4111
+ const ret = new IntersectionObserver(getObject(arg0));
4112
+ return addHeapObject(ret);
4113
+ },
4031
4114
  __wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
4032
4115
  try {
4033
4116
  var state0 = {a: arg0, b: arg1};
@@ -4035,7 +4118,7 @@ function __wbg_get_imports() {
4035
4118
  const a = state0.a;
4036
4119
  state0.a = 0;
4037
4120
  try {
4038
- return __wasm_bindgen_func_elem_33110(a, state0.b, arg0, arg1);
4121
+ return __wasm_bindgen_func_elem_33507(a, state0.b, arg0, arg1);
4039
4122
  } finally {
4040
4123
  state0.a = a;
4041
4124
  }
@@ -4054,10 +4137,6 @@ function __wbg_get_imports() {
4054
4137
  const ret = new Intl.DateTimeFormat(getObject(arg0), getObject(arg1));
4055
4138
  return addHeapObject(ret);
4056
4139
  },
4057
- __wbg_new_d42be098c500846c: function(arg0) {
4058
- const ret = new IntersectionObserver(getObject(arg0));
4059
- return addHeapObject(ret);
4060
- },
4061
4140
  __wbg_new_dca287b076112a51: function() {
4062
4141
  const ret = new Map();
4063
4142
  return addHeapObject(ret);
@@ -4066,6 +4145,10 @@ function __wbg_get_imports() {
4066
4145
  const ret = new Uint8Array(getObject(arg0));
4067
4146
  return addHeapObject(ret);
4068
4147
  },
4148
+ __wbg_new_ef89e494c7dddd8a: function(arg0) {
4149
+ const ret = new ResizeObserver(getObject(arg0));
4150
+ return addHeapObject(ret);
4151
+ },
4069
4152
  __wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
4070
4153
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
4071
4154
  return addHeapObject(ret);
@@ -4121,10 +4204,10 @@ function __wbg_get_imports() {
4121
4204
  const ret = getObject(arg0).now();
4122
4205
  return ret;
4123
4206
  },
4124
- __wbg_observe_5217f79856e45ec8: function(arg0, arg1) {
4207
+ __wbg_observe_54866f50769e08ca: function(arg0, arg1) {
4125
4208
  getObject(arg0).observe(getObject(arg1));
4126
4209
  },
4127
- __wbg_observe_fb2fac468b40610f: function(arg0, arg1) {
4210
+ __wbg_observe_627a58df471ce4f7: function(arg0, arg1) {
4128
4211
  getObject(arg0).observe(getObject(arg1));
4129
4212
  },
4130
4213
  __wbg_of_f915f7cd925b21a5: function(arg0) {
@@ -4172,8 +4255,8 @@ function __wbg_get_imports() {
4172
4255
  const ret = getObject(arg0).performance;
4173
4256
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4174
4257
  },
4175
- __wbg_plugin_config_schema_1765e319990561b1: function() { return handleError(function (arg0, arg1) {
4176
- const ret = getObject(arg0).plugin_config_schema(getObject(arg1));
4258
+ __wbg_plugin_config_schema_af1a897a0339ced6: function() { return handleError(function (arg0, arg1, arg2) {
4259
+ const ret = getObject(arg0).plugin_config_schema(getObject(arg1), getObject(arg2));
4177
4260
  return addHeapObject(ret);
4178
4261
  }, arguments); },
4179
4262
  __wbg_pointerId_466b1bdcaf2fe835: function(arg0) {
@@ -4187,7 +4270,7 @@ function __wbg_get_imports() {
4187
4270
  __wbg_prepend_12ed960547d9dfe1: function() { return handleError(function (arg0, arg1) {
4188
4271
  getObject(arg0).prepend(getObject(arg1));
4189
4272
  }, arguments); },
4190
- __wbg_presize_c53c1bace3e54646: function() { return handleError(function (arg0, arg1, arg2) {
4273
+ __wbg_presize_6d1b3d3b70ce9325: function() { return handleError(function (arg0, arg1, arg2) {
4191
4274
  const ret = getObject(arg0).presize(arg1, arg2);
4192
4275
  return addHeapObject(ret);
4193
4276
  }, arguments); },
@@ -4238,7 +4321,7 @@ function __wbg_get_imports() {
4238
4321
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4239
4322
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4240
4323
  },
4241
- __wbg_realCoordinates_9678e8697e203127: function(arg0, arg1) {
4324
+ __wbg_realCoordinates_95d090434c040179: function(arg0, arg1) {
4242
4325
  const ret = getObject(arg0).realCoordinates(getObject(arg1));
4243
4326
  return addHeapObject(ret);
4244
4327
  },
@@ -4272,7 +4355,7 @@ function __wbg_get_imports() {
4272
4355
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4273
4356
  getObject(arg0).removeEventListener(v0, getObject(arg3));
4274
4357
  }, arguments); },
4275
- __wbg_removePanel_6c494a1913d24031: function(arg0, arg1, arg2) {
4358
+ __wbg_removePanel_89f2af880f0f91a2: function(arg0, arg1, arg2) {
4276
4359
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4277
4360
  const ret = getObject(arg0).removePanel(v0);
4278
4361
  return addHeapObject(ret);
@@ -4292,7 +4375,7 @@ function __wbg_get_imports() {
4292
4375
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4293
4376
  getObject(arg0).remove(v0);
4294
4377
  }, arguments); },
4295
- __wbg_render_07a66c356e88ff92: function() { return handleError(function (arg0, arg1, arg2) {
4378
+ __wbg_render_73a123e524099b60: function() { return handleError(function (arg0, arg1, arg2) {
4296
4379
  const ret = getObject(arg0).render(View.__wrap(arg1), takeObject(arg2));
4297
4380
  return addHeapObject(ret);
4298
4381
  }, arguments); },
@@ -4304,7 +4387,7 @@ function __wbg_get_imports() {
4304
4387
  const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
4305
4388
  return ret;
4306
4389
  }, arguments); },
4307
- __wbg_resize_73d9682be26c1331: function() { return handleError(function (arg0) {
4390
+ __wbg_resize_2dfb18995e43d301: function() { return handleError(function (arg0) {
4308
4391
  const ret = getObject(arg0).resize();
4309
4392
  return addHeapObject(ret);
4310
4393
  }, arguments); },
@@ -4316,30 +4399,30 @@ function __wbg_get_imports() {
4316
4399
  const ret = getObject(arg0).resolvedOptions();
4317
4400
  return addHeapObject(ret);
4318
4401
  },
4319
- __wbg_restorePhysics_422e29851ef622f0: function(arg0, arg1) {
4402
+ __wbg_restorePhysics_66df17074d08ef49: function(arg0, arg1) {
4320
4403
  getObject(arg0).restorePhysics(getObject(arg1));
4321
4404
  },
4322
- __wbg_restoreSync_441eb84e6826e33d: function(arg0, arg1) {
4405
+ __wbg_restoreSync_6ea54baceed6f8ca: function(arg0, arg1) {
4323
4406
  getObject(arg0).restoreSync(getObject(arg1));
4324
4407
  },
4325
- __wbg_restore_0af4bef8aef7ff2f: function() { return handleError(function (arg0, arg1, arg2) {
4408
+ __wbg_restore_43960e31bf4c37c7: function() { return handleError(function (arg0, arg1, arg2) {
4326
4409
  getObject(arg0).restore(getObject(arg1), getObject(arg2));
4327
4410
  }, arguments); },
4328
- __wbg_restyle_3d21bdb1678b1eac: function(arg0) {
4411
+ __wbg_restyle_949fb0d4d0c355a5: function(arg0) {
4329
4412
  getObject(arg0).restyle();
4330
4413
  },
4331
- __wbg_resumeResize_e1d950e66c409e97: function(arg0) {
4414
+ __wbg_resumeResize_b4054c5d47d4f1b0: function(arg0) {
4332
4415
  getObject(arg0).resumeResize();
4333
4416
  },
4334
4417
  __wbg_right_154af6c2b1bf0c89: function(arg0) {
4335
4418
  const ret = getObject(arg0).right;
4336
4419
  return ret;
4337
4420
  },
4338
- __wbg_run_a7d22113de2ff7d8: function() { return handleError(function (arg0, arg1) {
4421
+ __wbg_run_556972011e45ec00: function() { return handleError(function (arg0, arg1) {
4339
4422
  const ret = getObject(arg0).run(getObject(arg1));
4340
4423
  return addHeapObject(ret);
4341
4424
  }, arguments); },
4342
- __wbg_save_afc0f7d8bdb36c40: function(arg0) {
4425
+ __wbg_save_363646e98431790c: function(arg0) {
4343
4426
  const ret = getObject(arg0).save();
4344
4427
  return addHeapObject(ret);
4345
4428
  },
@@ -4359,7 +4442,7 @@ function __wbg_get_imports() {
4359
4442
  const ret = getObject(arg0).scrollTop;
4360
4443
  return ret;
4361
4444
  },
4362
- __wbg_select_ec337078dc3cebb4: function(arg0, arg1, arg2) {
4445
+ __wbg_select_312040969b7499fa: function(arg0, arg1, arg2) {
4363
4446
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4364
4447
  const ret = getObject(arg0).select(v0);
4365
4448
  return addHeapObject(ret);
@@ -4469,6 +4552,10 @@ function __wbg_get_imports() {
4469
4552
  var v1 = getCachedStringFromWasm0(arg3, arg4);
4470
4553
  getObject(arg0)[v0] = v1;
4471
4554
  }, arguments); },
4555
+ __wbg_set_font_575685c8f7e56957: function(arg0, arg1, arg2) {
4556
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
4557
+ getObject(arg0).font = v0;
4558
+ },
4472
4559
  __wbg_set_headers_cfc5f4b2c1f20549: function(arg0, arg1) {
4473
4560
  getObject(arg0).headers = getObject(arg1);
4474
4561
  },
@@ -4578,7 +4665,7 @@ function __wbg_get_imports() {
4578
4665
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
4579
4666
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4580
4667
  },
4581
- __wbg_static_accessor_PSP_841427c4ac73a51d: function() {
4668
+ __wbg_static_accessor_PSP_d1c7a0dfe6e2f550: function() {
4582
4669
  const ret = psp;
4583
4670
  return addHeapObject(ret);
4584
4671
  },
@@ -4628,7 +4715,7 @@ function __wbg_get_imports() {
4628
4715
  const ret = getObject(arg0).__yew_subtree_id;
4629
4716
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
4630
4717
  },
4631
- __wbg_supportedValuesOf_089aeb7f9520e5c2: function(arg0) {
4718
+ __wbg_supportedValuesOf_070cb26b0fcb2822: function(arg0) {
4632
4719
  const ret = Intl.supportedValuesOf(getObject(arg0));
4633
4720
  return addHeapObject(ret);
4634
4721
  },
@@ -4699,13 +4786,13 @@ function __wbg_get_imports() {
4699
4786
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4700
4787
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4701
4788
  },
4702
- __wbg_unobserve_e0d1061312671774: function(arg0, arg1) {
4789
+ __wbg_unobserve_78e51c229e9cb74c: function(arg0, arg1) {
4703
4790
  getObject(arg0).unobserve(getObject(arg1));
4704
4791
  },
4705
- __wbg_unobserve_fe0bb66ce6935f9c: function(arg0, arg1) {
4792
+ __wbg_unobserve_84dd6ded6f59337d: function(arg0, arg1) {
4706
4793
  getObject(arg0).unobserve(getObject(arg1));
4707
4794
  },
4708
- __wbg_update_b674fa9e7c8afd2f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4795
+ __wbg_update_3f59793335531aa0: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4709
4796
  const ret = getObject(arg0).update(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
4710
4797
  return addHeapObject(ret);
4711
4798
  }, arguments); },
@@ -4779,6 +4866,10 @@ function __wbg_get_imports() {
4779
4866
  const ret = getObject(arg0).width;
4780
4867
  return ret;
4781
4868
  },
4869
+ __wbg_width_9bbf873307a2ac4e: function(arg0) {
4870
+ const ret = getObject(arg0).width;
4871
+ return ret;
4872
+ },
4782
4873
  __wbg_width_ae46cb8e98ee102f: function(arg0) {
4783
4874
  const ret = getObject(arg0).width;
4784
4875
  return ret;
@@ -4788,83 +4879,83 @@ function __wbg_get_imports() {
4788
4879
  return addHeapObject(ret);
4789
4880
  },
4790
4881
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
4791
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4753, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 4755, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4792
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_18575, __wasm_bindgen_func_elem_18694);
4882
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4789, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 4791, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4883
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_18919, __wasm_bindgen_func_elem_19039);
4793
4884
  return addHeapObject(ret);
4794
4885
  },
4795
4886
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
4796
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4837, function: Function { arguments: [NamedExternref("Event")], shim_idx: 4838, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4797
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_19286, __wasm_bindgen_func_elem_19291);
4887
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [Externref], shim_idx: 90, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4888
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7893);
4798
4889
  return addHeapObject(ret);
4799
4890
  },
4800
4891
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
4801
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4837, function: Function { arguments: [], shim_idx: 4839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4802
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_19286, __wasm_bindgen_func_elem_19290);
4892
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 92, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4893
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7894);
4803
4894
  return addHeapObject(ret);
4804
4895
  },
4805
4896
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
4806
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4853, function: Function { arguments: [], shim_idx: 4870, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
4807
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20199, __wasm_bindgen_func_elem_21238);
4897
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [NamedExternref("DragEvent")], shim_idx: 92, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4898
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7894);
4808
4899
  return addHeapObject(ret);
4809
4900
  },
4810
4901
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
4811
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4853, function: Function { arguments: [], shim_idx: 4871, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4812
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20199, __wasm_bindgen_func_elem_21239);
4902
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 92, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4903
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7894);
4813
4904
  return addHeapObject(ret);
4814
4905
  },
4815
4906
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
4816
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [Externref], shim_idx: 89, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4817
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7737);
4907
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 92, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4908
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7894);
4818
4909
  return addHeapObject(ret);
4819
4910
  },
4820
4911
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
4821
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 91, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4822
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7738);
4912
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 90, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4913
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7893);
4823
4914
  return addHeapObject(ret);
4824
4915
  },
4825
4916
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
4826
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("DragEvent")], shim_idx: 91, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4827
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7738);
4917
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 92, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4918
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7894);
4828
4919
  return addHeapObject(ret);
4829
4920
  },
4830
4921
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
4831
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 91, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4832
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7738);
4922
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 92, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4923
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7894);
4833
4924
  return addHeapObject(ret);
4834
4925
  },
4835
4926
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
4836
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 91, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4837
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7738);
4927
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [], shim_idx: 91, ret: Result(Externref), inner_ret: Some(Result(Externref)) }, mutable: false }) -> Externref`.
4928
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7895);
4838
4929
  return addHeapObject(ret);
4839
4930
  },
4840
4931
  __wbindgen_cast_000000000000000b: function(arg0, arg1) {
4841
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 89, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4842
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7737);
4932
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [], shim_idx: 93, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4933
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4482, __wasm_bindgen_func_elem_7891);
4843
4934
  return addHeapObject(ret);
4844
4935
  },
4845
4936
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
4846
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 91, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4847
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7738);
4937
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4873, function: Function { arguments: [NamedExternref("Event")], shim_idx: 4874, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4938
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_19628, __wasm_bindgen_func_elem_19633);
4848
4939
  return addHeapObject(ret);
4849
4940
  },
4850
4941
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
4851
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 91, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4852
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7738);
4942
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4873, function: Function { arguments: [], shim_idx: 4875, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4943
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_19628, __wasm_bindgen_func_elem_19632);
4853
4944
  return addHeapObject(ret);
4854
4945
  },
4855
4946
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
4856
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [], shim_idx: 90, ret: Result(Externref), inner_ret: Some(Result(Externref)) }, mutable: false }) -> Externref`.
4857
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7739);
4947
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4890, function: Function { arguments: [], shim_idx: 4905, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
4948
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20538, __wasm_bindgen_func_elem_21577);
4858
4949
  return addHeapObject(ret);
4859
4950
  },
4860
4951
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
4861
- // Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [], shim_idx: 92, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4862
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4417, __wasm_bindgen_func_elem_7735);
4952
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4890, function: Function { arguments: [], shim_idx: 4906, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4953
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20538, __wasm_bindgen_func_elem_21578);
4863
4954
  return addHeapObject(ret);
4864
4955
  },
4865
4956
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
4866
- // Cast intrinsic for `Closure(Closure { dtor_idx: 5415, function: Function { arguments: [Externref], shim_idx: 5416, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4867
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_24952, __wasm_bindgen_func_elem_24969);
4957
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5450, function: Function { arguments: [Externref], shim_idx: 5451, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4958
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_25347, __wasm_bindgen_func_elem_25364);
4868
4959
  return addHeapObject(ret);
4869
4960
  },
4870
4961
  __wbindgen_cast_0000000000000011: function(arg0) {
@@ -4945,43 +5036,39 @@ function __wbg_get_imports() {
4945
5036
  };
4946
5037
  }
4947
5038
 
4948
- function __wasm_bindgen_func_elem_19290(arg0, arg1) {
4949
- wasm.__wasm_bindgen_func_elem_19290(arg0, arg1);
5039
+ function __wasm_bindgen_func_elem_19632(arg0, arg1) {
5040
+ wasm.__wasm_bindgen_func_elem_19632(arg0, arg1);
4950
5041
  }
4951
5042
 
4952
- function __wasm_bindgen_func_elem_21239(arg0, arg1) {
4953
- wasm.__wasm_bindgen_func_elem_21239(arg0, arg1);
5043
+ function __wasm_bindgen_func_elem_21578(arg0, arg1) {
5044
+ wasm.__wasm_bindgen_func_elem_21578(arg0, arg1);
4954
5045
  }
4955
5046
 
4956
- function __wasm_bindgen_func_elem_21238(arg0, arg1) {
4957
- const ret = wasm.__wasm_bindgen_func_elem_21238(arg0, arg1);
5047
+ function __wasm_bindgen_func_elem_21577(arg0, arg1) {
5048
+ const ret = wasm.__wasm_bindgen_func_elem_21577(arg0, arg1);
4958
5049
  return takeObject(ret);
4959
5050
  }
4960
5051
 
4961
- function __wasm_bindgen_func_elem_18694(arg0, arg1, arg2) {
5052
+ function __wasm_bindgen_func_elem_19039(arg0, arg1, arg2) {
4962
5053
  try {
4963
- wasm.__wasm_bindgen_func_elem_18694(arg0, arg1, addBorrowedObject(arg2));
5054
+ wasm.__wasm_bindgen_func_elem_19039(arg0, arg1, addBorrowedObject(arg2));
4964
5055
  } finally {
4965
5056
  heap[stack_pointer++] = undefined;
4966
5057
  }
4967
5058
  }
4968
5059
 
4969
- function __wasm_bindgen_func_elem_19291(arg0, arg1, arg2) {
4970
- wasm.__wasm_bindgen_func_elem_19291(arg0, arg1, addHeapObject(arg2));
5060
+ function __wasm_bindgen_func_elem_7893(arg0, arg1, arg2) {
5061
+ wasm.__wasm_bindgen_func_elem_7893(arg0, arg1, addHeapObject(arg2));
4971
5062
  }
4972
5063
 
4973
- function __wasm_bindgen_func_elem_7737(arg0, arg1, arg2) {
4974
- wasm.__wasm_bindgen_func_elem_7737(arg0, arg1, addHeapObject(arg2));
5064
+ function __wasm_bindgen_func_elem_7894(arg0, arg1, arg2) {
5065
+ wasm.__wasm_bindgen_func_elem_7894(arg0, arg1, addHeapObject(arg2));
4975
5066
  }
4976
5067
 
4977
- function __wasm_bindgen_func_elem_7738(arg0, arg1, arg2) {
4978
- wasm.__wasm_bindgen_func_elem_7738(arg0, arg1, addHeapObject(arg2));
4979
- }
4980
-
4981
- function __wasm_bindgen_func_elem_7739(arg0, arg1) {
5068
+ function __wasm_bindgen_func_elem_7895(arg0, arg1) {
4982
5069
  try {
4983
5070
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4984
- wasm.__wasm_bindgen_func_elem_7739(retptr, arg0, arg1);
5071
+ wasm.__wasm_bindgen_func_elem_7895(retptr, arg0, arg1);
4985
5072
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4986
5073
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4987
5074
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -4994,10 +5081,10 @@ function __wasm_bindgen_func_elem_7739(arg0, arg1) {
4994
5081
  }
4995
5082
  }
4996
5083
 
4997
- function __wasm_bindgen_func_elem_7735(arg0, arg1) {
5084
+ function __wasm_bindgen_func_elem_7891(arg0, arg1) {
4998
5085
  try {
4999
5086
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5000
- wasm.__wasm_bindgen_func_elem_7735(retptr, arg0, arg1);
5087
+ wasm.__wasm_bindgen_func_elem_7891(retptr, arg0, arg1);
5001
5088
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5002
5089
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5003
5090
  if (r1) {
@@ -5008,12 +5095,16 @@ function __wasm_bindgen_func_elem_7735(arg0, arg1) {
5008
5095
  }
5009
5096
  }
5010
5097
 
5011
- function __wasm_bindgen_func_elem_24969(arg0, arg1, arg2) {
5012
- wasm.__wasm_bindgen_func_elem_24969(arg0, arg1, addHeapObject(arg2));
5098
+ function __wasm_bindgen_func_elem_19633(arg0, arg1, arg2) {
5099
+ wasm.__wasm_bindgen_func_elem_19633(arg0, arg1, addHeapObject(arg2));
5100
+ }
5101
+
5102
+ function __wasm_bindgen_func_elem_25364(arg0, arg1, arg2) {
5103
+ wasm.__wasm_bindgen_func_elem_25364(arg0, arg1, addHeapObject(arg2));
5013
5104
  }
5014
5105
 
5015
- function __wasm_bindgen_func_elem_33110(arg0, arg1, arg2, arg3) {
5016
- wasm.__wasm_bindgen_func_elem_33110(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
5106
+ function __wasm_bindgen_func_elem_33507(arg0, arg1, arg2, arg3) {
5107
+ wasm.__wasm_bindgen_func_elem_33507(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
5017
5108
  }
5018
5109
 
5019
5110