@perspective-dev/viewer 5.5.0 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/README.md +82 -3
  2. package/dist/cdn/perspective-viewer.js +9 -9
  3. package/dist/cdn/perspective-viewer.js.map +3 -3
  4. package/dist/css/blueprint.css +1 -1
  5. package/dist/css/botanical.css +1 -1
  6. package/dist/css/dracula.css +1 -1
  7. package/dist/css/eggplant.css +1 -1
  8. package/dist/css/gruvbox-dark.css +1 -1
  9. package/dist/css/gruvbox.css +1 -1
  10. package/dist/css/icons.css +1 -1
  11. package/dist/css/intl/ar.css +1 -1
  12. package/dist/css/intl/de.css +1 -1
  13. package/dist/css/intl/es.css +1 -1
  14. package/dist/css/intl/fr.css +1 -1
  15. package/dist/css/intl/ja.css +1 -1
  16. package/dist/css/intl/pt.css +1 -1
  17. package/dist/css/intl/zh.css +1 -1
  18. package/dist/css/intl.css +1 -1
  19. package/dist/css/ledger.css +1 -1
  20. package/dist/css/monokai.css +1 -1
  21. package/dist/css/nord.css +1 -1
  22. package/dist/css/phosphor.css +1 -1
  23. package/dist/css/pro-dark.css +1 -1
  24. package/dist/css/pro.css +1 -1
  25. package/dist/css/solarized-dark.css +1 -1
  26. package/dist/css/solarized.css +1 -1
  27. package/dist/css/themes.css +1 -1
  28. package/dist/css/vaporwave.css +1 -1
  29. package/dist/css/velvet.css +1 -1
  30. package/dist/docs/perspective-docs.json +1 -1
  31. package/dist/esm/column-format.js +2 -0
  32. package/dist/esm/column-format.js.map +7 -0
  33. package/dist/esm/extensions.d.ts +3 -13
  34. package/dist/esm/perspective-viewer.d.ts +1 -1
  35. package/dist/esm/perspective-viewer.js +9 -9
  36. package/dist/esm/perspective-viewer.js.map +3 -3
  37. package/dist/esm/plugin.d.ts +4 -1
  38. package/dist/esm/select-detail.d.ts +15 -0
  39. package/dist/esm/select-detail.js +2 -0
  40. package/dist/esm/select-detail.js.map +7 -0
  41. package/dist/esm/ts-rs/DerivedTableConfig.d.ts +35 -0
  42. package/dist/esm/ts-rs/ExportMethod.d.ts +1 -1
  43. package/dist/esm/ts-rs/PanelViewerConfig.d.ts +7 -6
  44. package/dist/esm/ts-rs/RestoreOptions.d.ts +3 -7
  45. package/dist/esm/ts-rs/TableRef.d.ts +9 -0
  46. package/dist/esm/ts-rs/ViewerConfig.d.ts +7 -6
  47. package/dist/esm/ts-rs/ViewerConfigUpdate.d.ts +7 -5
  48. package/dist/esm/ts-rs/WorkspaceConfig.d.ts +9 -1
  49. package/dist/esm/ts-rs/WorkspaceConfigUpdate.d.ts +9 -0
  50. package/dist/wasm/perspective-viewer.d.ts +126 -35
  51. package/dist/wasm/perspective-viewer.js +320 -185
  52. package/dist/wasm/perspective-viewer.wasm +0 -0
  53. package/dist/wasm/perspective-viewer.wasm.d.ts +21 -17
  54. package/package.json +33 -20
  55. package/src/css/column-selector.css +205 -50
  56. package/src/css/ui/containers/context-menu.css +12 -1
  57. package/src/css/ui/containers/dropdown-menu-items.css +29 -0
  58. package/src/css/ui/containers/scroll-panel.css +4 -1
  59. package/src/rust/agent/client/protocol.rs +0 -89
  60. package/src/rust/agent/markdown/mod.rs +0 -238
  61. package/src/rust/agent/preamble.md +1 -0
  62. package/src/rust/agent/tools.rs +2 -16
  63. package/src/rust/components/column_selector/active_column.rs +15 -5
  64. package/src/rust/components/column_selector/add_expression_button.rs +9 -26
  65. package/src/rust/components/column_selector/config_selector.rs +34 -6
  66. package/src/rust/components/column_selector/derived_control.rs +229 -0
  67. package/src/rust/components/column_selector/expr_edit_button.rs +3 -2
  68. package/src/rust/components/column_selector/filter_column.rs +0 -2
  69. package/src/rust/components/column_selector/inactive_column.rs +4 -5
  70. package/src/rust/components/column_selector/pivot_column.rs +21 -1
  71. package/src/rust/components/column_selector/sort_column.rs +4 -3
  72. package/src/rust/components/column_selector.rs +21 -1
  73. package/src/rust/components/column_settings_sidebar/save_settings.rs +5 -3
  74. package/src/rust/components/column_settings_sidebar/style_tab.rs +1 -0
  75. package/src/rust/components/column_settings_sidebar.rs +25 -19
  76. package/src/rust/components/debug_panel.rs +38 -29
  77. package/src/rust/components/dragdrop_list.rs +8 -9
  78. package/src/rust/components/export_dropdown.rs +6 -0
  79. package/src/rust/components/main_panel/msg.rs +6 -4
  80. package/src/rust/components/main_panel/reconcile.rs +6 -1
  81. package/src/rust/components/main_panel/render.rs +70 -51
  82. package/src/rust/components/main_panel/update.rs +39 -1
  83. package/src/rust/components/main_panel.rs +97 -59
  84. package/src/rust/components/new_panel_menu.rs +69 -1
  85. package/src/rust/components/panel_menu.rs +63 -12
  86. package/src/rust/components/plugin_tab.rs +3 -2
  87. package/src/rust/components/render_warning.rs +2 -1
  88. package/src/rust/components/settings_panel.rs +4 -4
  89. package/src/rust/components/status_bar.rs +80 -21
  90. package/src/rust/components/status_indicator.rs +8 -1
  91. package/src/rust/components/viewer/filters.rs +15 -3
  92. package/src/rust/components/viewer/msg.rs +8 -0
  93. package/src/rust/components/viewer/panels.rs +44 -4
  94. package/src/rust/components/viewer/render.rs +1 -0
  95. package/src/rust/components/viewer/settings.rs +0 -22
  96. package/src/rust/components/viewer/snapshots.rs +2 -2
  97. package/src/rust/components/viewer/wiring.rs +18 -1
  98. package/src/rust/components/viewer.rs +47 -27
  99. package/src/rust/components/window_editor.rs +5 -4
  100. package/src/rust/config/column_config_schema.rs +38 -377
  101. package/src/rust/config/export_method.rs +24 -0
  102. package/src/rust/config/number_string_format.rs +0 -94
  103. package/src/rust/config/options.rs +3 -7
  104. package/src/rust/config/plugin_static_config.rs +0 -42
  105. package/src/rust/config/viewer_config.rs +47 -17
  106. package/src/rust/config/workspace_config.rs +158 -128
  107. package/src/rust/custom_elements/viewer.rs +189 -129
  108. package/src/rust/custom_events.rs +33 -18
  109. package/src/rust/derived.rs +266 -0
  110. package/src/rust/exprtk/tokenize.rs +0 -54
  111. package/src/rust/js/plugin.rs +1 -1
  112. package/src/rust/lib.rs +3 -0
  113. package/src/rust/presentation.rs +23 -4
  114. package/src/rust/queries/column_locator.rs +55 -48
  115. package/src/rust/queries/get_viewer_config.rs +1 -1
  116. package/src/rust/queries/plugin_column_styles.rs +22 -23
  117. package/src/rust/renderer/dispatch.rs +2 -0
  118. package/src/rust/renderer/plugin_config.rs +652 -487
  119. package/src/rust/renderer/props.rs +4 -0
  120. package/src/rust/renderer/registry.rs +2 -6
  121. package/src/rust/renderer/state.rs +205 -0
  122. package/src/rust/renderer.rs +201 -59
  123. package/src/rust/session/metadata.rs +35 -19
  124. package/src/rust/session/op_queue.rs +430 -0
  125. package/src/rust/session/panel_state.rs +327 -0
  126. package/src/rust/session/view_subscription.rs +42 -3
  127. package/src/rust/session.rs +931 -419
  128. package/src/rust/tasks/apply_global_filters.rs +49 -35
  129. package/src/rust/tasks/auto_pause.rs +22 -12
  130. package/src/rust/tasks/copy_export.rs +72 -0
  131. package/src/rust/tasks/create_panel.rs +46 -21
  132. package/src/rust/tasks/derive.rs +312 -0
  133. package/src/rust/tasks/mod.rs +6 -2
  134. package/src/rust/tasks/pipeline.rs +152 -89
  135. package/src/rust/tasks/reset_all.rs +31 -20
  136. package/src/rust/tasks/restore_derived.rs +200 -0
  137. package/src/rust/tasks/restore_panel.rs +153 -141
  138. package/src/rust/tasks/send_column_config.rs +56 -29
  139. package/src/rust/tasks/send_plugin_config.rs +52 -23
  140. package/src/rust/tasks/set_edit_mode.rs +33 -25
  141. package/src/rust/tasks/sync_update_panels.rs +40 -13
  142. package/src/rust/tasks/table_lifecycle.rs +70 -34
  143. package/src/rust/tasks/transactional_restore.rs +387 -0
  144. package/src/rust/tasks/update_theme.rs +45 -6
  145. package/src/rust/ui/containers/scroll_panel.rs +17 -10
  146. package/src/rust/ui/containers/split_panel.rs +0 -41
  147. package/src/rust/ui/context_menu.rs +157 -18
  148. package/src/rust/ui/font_loader.rs +23 -35
  149. package/src/rust/ui/form/mirrored_textarea.rs +0 -12
  150. package/src/rust/ui/form/multi_stop_gradient_selector.rs +0 -89
  151. package/src/rust/ui/form/palette_selector.rs +0 -51
  152. package/src/rust/ui/portal.rs +4 -10
  153. package/src/rust/utils/browser/mod.rs +2 -3
  154. package/src/{ts/perspective-viewer.inline.ts → rust/utils/browser/mouse.rs} +11 -10
  155. package/src/rust/utils/browser/request_animation_frame.rs +27 -8
  156. package/src/rust/utils/css.rs +0 -360
  157. package/src/rust/utils/{tests/mod.rs → in_flight.rs} +62 -2
  158. package/src/rust/utils/local_fonts.rs +0 -36
  159. package/src/rust/utils/mod.rs +4 -3
  160. package/src/rust/utils/modal_position.rs +15 -21
  161. package/src/rust/utils/pending_effects.rs +6 -30
  162. package/src/rust/utils/{browser/tests/mod.rs → plugin_host_state.rs} +31 -1
  163. package/src/rust/utils/pubsub.rs +0 -1
  164. package/src/rust/workspace.rs +187 -140
  165. package/src/svg/derived.svg +6 -0
  166. package/src/themes/icons.css +1 -0
  167. package/src/themes/intl/ar.css +10 -0
  168. package/src/themes/intl/de.css +10 -0
  169. package/src/themes/intl/es.css +10 -0
  170. package/src/themes/intl/fr.css +10 -0
  171. package/src/themes/intl/ja.css +10 -0
  172. package/src/themes/intl/pt.css +10 -0
  173. package/src/themes/intl/zh.css +10 -0
  174. package/src/themes/intl.css +10 -0
  175. package/src/themes/monokai.css +1 -1
  176. package/src/themes/vaporwave.css +1 -1
  177. package/src/ts/extensions.ts +3 -36
  178. package/src/ts/perspective-viewer.ts +1 -1
  179. package/src/ts/plugin.ts +4 -1
  180. package/src/{rust/utils/tests/request_animation_frame.rs → ts/select-detail.ts} +32 -26
  181. package/src/ts/ts-rs/DerivedTableConfig.ts +22 -0
  182. package/src/ts/ts-rs/ExportMethod.ts +1 -1
  183. package/src/ts/ts-rs/PanelViewerConfig.ts +7 -6
  184. package/src/ts/ts-rs/RestoreOptions.ts +3 -7
  185. package/src/ts/ts-rs/TableRef.ts +9 -0
  186. package/src/ts/ts-rs/ViewerConfig.ts +7 -6
  187. package/src/ts/ts-rs/ViewerConfigUpdate.ts +7 -5
  188. package/src/ts/ts-rs/WorkspaceConfig.ts +7 -1
  189. package/src/ts/ts-rs/WorkspaceConfigUpdate.ts +7 -0
  190. package/dist/esm/perspective-viewer.inline.d.ts +0 -3
  191. package/dist/esm/perspective-viewer.inline.js +0 -21
  192. package/dist/esm/perspective-viewer.inline.js.map +0 -7
  193. package/src/rust/tasks/restore_and_render.rs +0 -107
  194. package/src/rust/utils/browser/tests/debounce.rs +0 -163
  195. package/src/rust/utils/tests/pubsub.rs +0 -95
  196. /package/dist/wasm/snippets/{perspective-viewer-ea71a3990cad35d7 → perspective-viewer-d0d525977a1acba2}/inline0.js +0 -0
  197. /package/dist/wasm/snippets/{perspective-viewer-ea71a3990cad35d7 → perspective-viewer-d0d525977a1acba2}/inline1.js +0 -0
  198. /package/dist/wasm/snippets/{perspective-viewer-ea71a3990cad35d7 → perspective-viewer-d0d525977a1acba2}/inline2.js +0 -0
  199. /package/dist/wasm/snippets/{perspective-viewer-ea71a3990cad35d7 → perspective-viewer-d0d525977a1acba2}/inline3.js +0 -0
  200. /package/dist/wasm/snippets/{perspective-viewer-ea71a3990cad35d7 → perspective-viewer-d0d525977a1acba2}/inline4.js +0 -0
  201. /package/dist/wasm/snippets/{perspective-viewer-ea71a3990cad35d7 → perspective-viewer-d0d525977a1acba2}/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-ea71a3990cad35d7/inline0.js';
3
- import { ClipboardItem } from './snippets/perspective-viewer-ea71a3990cad35d7/inline1.js';
4
- import { ResizeObserver } from './snippets/perspective-viewer-ea71a3990cad35d7/inline2.js';
5
- import { IntersectionObserver } from './snippets/perspective-viewer-ea71a3990cad35d7/inline3.js';
6
- import { bootstrap } from './snippets/perspective-viewer-ea71a3990cad35d7/inline4.js';
7
- import { psp } from './snippets/perspective-viewer-ea71a3990cad35d7/inline5.js';
2
+ import { define_panel_tab } from './snippets/perspective-viewer-d0d525977a1acba2/inline0.js';
3
+ import { ClipboardItem } from './snippets/perspective-viewer-d0d525977a1acba2/inline1.js';
4
+ import { ResizeObserver } from './snippets/perspective-viewer-d0d525977a1acba2/inline2.js';
5
+ import { IntersectionObserver } from './snippets/perspective-viewer-d0d525977a1acba2/inline3.js';
6
+ import { bootstrap } from './snippets/perspective-viewer-d0d525977a1acba2/inline4.js';
7
+ import { psp } from './snippets/perspective-viewer-d0d525977a1acba2/inline5.js';
8
8
 
9
9
  /**
10
10
  * An instance of a [`Client`] is a connection to a single
@@ -406,6 +406,63 @@ export class GenericSQLVirtualServerModel {
406
406
  const ptr = this.__destroy_into_raw();
407
407
  wasm.__wbg_genericsqlvirtualservermodel_free(ptr, 0);
408
408
  }
409
+ /**
410
+ * Returns the SQL query that plans ONE expression against a table - for
411
+ * attributing a failed `expressionsDescribe` to the expressions at fault.
412
+ * @param {string} table_id
413
+ * @param {string} expression
414
+ * @returns {string}
415
+ */
416
+ expressionDescribe(table_id, expression) {
417
+ try {
418
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
419
+ const ptr0 = passStringToWasm0(table_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
420
+ const len0 = WASM_VECTOR_LEN;
421
+ const ptr1 = passStringToWasm0(expression, wasm.__wbindgen_export, wasm.__wbindgen_export2);
422
+ const len1 = WASM_VECTOR_LEN;
423
+ wasm.genericsqlvirtualservermodel_expressionDescribe(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
424
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
425
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
426
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
427
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
428
+ if (r3) {
429
+ throw takeObject(r2);
430
+ }
431
+ var v3 = getCachedStringFromWasm0(r0, r1);
432
+ if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
433
+ return v3;
434
+ } finally {
435
+ wasm.__wbindgen_add_to_stack_pointer(16);
436
+ }
437
+ }
438
+ /**
439
+ * Returns the SQL query that plans every expression of `config` at once
440
+ * against a table, one result column per expression alias, or `undefined`
441
+ * when the config has no expressions.
442
+ * @param {string} table_id
443
+ * @param {any} config
444
+ * @returns {string}
445
+ */
446
+ expressionsDescribe(table_id, config) {
447
+ try {
448
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
449
+ const ptr0 = passStringToWasm0(table_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
450
+ const len0 = WASM_VECTOR_LEN;
451
+ wasm.genericsqlvirtualservermodel_expressionsDescribe(retptr, this.__wbg_ptr, ptr0, len0, addHeapObject(config));
452
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
453
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
454
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
455
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
456
+ if (r3) {
457
+ throw takeObject(r2);
458
+ }
459
+ var v2 = getCachedStringFromWasm0(r0, r1);
460
+ if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
461
+ return v2;
462
+ } finally {
463
+ wasm.__wbindgen_add_to_stack_pointer(16);
464
+ }
465
+ }
409
466
  /**
410
467
  * Returns the SQL query to list all hosted tables.
411
468
  * @returns {string}
@@ -450,22 +507,21 @@ export class GenericSQLVirtualServerModel {
450
507
  }
451
508
  }
452
509
  /**
453
- * Returns the SQL query to create a view from a table with the given
454
- * configuration.
510
+ * Returns the SQL query that plans the view `config` would build and
511
+ * reports its result columns without materializing it (`split_by` folded
512
+ * into `group_by`, no `PIVOT`), or `undefined` when the config selects no
513
+ * columns.
455
514
  * @param {string} table_id
456
- * @param {string} view_id
457
515
  * @param {any} config
458
516
  * @param {any} schema
459
517
  * @returns {string}
460
518
  */
461
- tableMakeView(table_id, view_id, config, schema) {
519
+ tableDescribe(table_id, config, schema) {
462
520
  try {
463
521
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
464
522
  const ptr0 = passStringToWasm0(table_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
465
523
  const len0 = WASM_VECTOR_LEN;
466
- const ptr1 = passStringToWasm0(view_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
467
- const len1 = WASM_VECTOR_LEN;
468
- wasm.genericsqlvirtualservermodel_tableMakeView(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(config), addHeapObject(schema));
524
+ wasm.genericsqlvirtualservermodel_tableDescribe(retptr, this.__wbg_ptr, ptr0, len0, addHeapObject(config), addHeapObject(schema));
469
525
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
470
526
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
471
527
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -473,24 +529,30 @@ export class GenericSQLVirtualServerModel {
473
529
  if (r3) {
474
530
  throw takeObject(r2);
475
531
  }
476
- var v3 = getCachedStringFromWasm0(r0, r1);
532
+ var v2 = getCachedStringFromWasm0(r0, r1);
477
533
  if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
478
- return v3;
534
+ return v2;
479
535
  } finally {
480
536
  wasm.__wbindgen_add_to_stack_pointer(16);
481
537
  }
482
538
  }
483
539
  /**
484
- * Returns the SQL query to describe a table's schema.
540
+ * Returns the SQL query to create a view from a table with the given
541
+ * configuration.
485
542
  * @param {string} table_id
543
+ * @param {string} view_id
544
+ * @param {any} config
545
+ * @param {any} schema
486
546
  * @returns {string}
487
547
  */
488
- tableSchema(table_id) {
548
+ tableMakeView(table_id, view_id, config, schema) {
489
549
  try {
490
550
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
491
551
  const ptr0 = passStringToWasm0(table_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
492
552
  const len0 = WASM_VECTOR_LEN;
493
- wasm.genericsqlvirtualservermodel_tableSchema(retptr, this.__wbg_ptr, ptr0, len0);
553
+ const ptr1 = passStringToWasm0(view_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
554
+ const len1 = WASM_VECTOR_LEN;
555
+ wasm.genericsqlvirtualservermodel_tableMakeView(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(config), addHeapObject(schema));
494
556
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
495
557
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
496
558
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -498,24 +560,24 @@ export class GenericSQLVirtualServerModel {
498
560
  if (r3) {
499
561
  throw takeObject(r2);
500
562
  }
501
- var v2 = getCachedStringFromWasm0(r0, r1);
563
+ var v3 = getCachedStringFromWasm0(r0, r1);
502
564
  if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
503
- return v2;
565
+ return v3;
504
566
  } finally {
505
567
  wasm.__wbindgen_add_to_stack_pointer(16);
506
568
  }
507
569
  }
508
570
  /**
509
- * Returns the SQL query to get the row count of a table.
571
+ * Returns the SQL query to describe a table's schema.
510
572
  * @param {string} table_id
511
573
  * @returns {string}
512
574
  */
513
- tableSize(table_id) {
575
+ tableSchema(table_id) {
514
576
  try {
515
577
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
516
578
  const ptr0 = passStringToWasm0(table_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
517
579
  const len0 = WASM_VECTOR_LEN;
518
- wasm.genericsqlvirtualservermodel_tableSize(retptr, this.__wbg_ptr, ptr0, len0);
580
+ wasm.genericsqlvirtualservermodel_tableSchema(retptr, this.__wbg_ptr, ptr0, len0);
519
581
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
520
582
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
521
583
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -531,19 +593,16 @@ export class GenericSQLVirtualServerModel {
531
593
  }
532
594
  }
533
595
  /**
534
- * Returns the SQL query to validate an expression against a table.
596
+ * Returns the SQL query to get the row count of a table.
535
597
  * @param {string} table_id
536
- * @param {string} expression
537
598
  * @returns {string}
538
599
  */
539
- tableValidateExpression(table_id, expression) {
600
+ tableSize(table_id) {
540
601
  try {
541
602
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
542
603
  const ptr0 = passStringToWasm0(table_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
543
604
  const len0 = WASM_VECTOR_LEN;
544
- const ptr1 = passStringToWasm0(expression, wasm.__wbindgen_export, wasm.__wbindgen_export2);
545
- const len1 = WASM_VECTOR_LEN;
546
- wasm.genericsqlvirtualservermodel_tableValidateExpression(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
605
+ wasm.genericsqlvirtualservermodel_tableSize(retptr, this.__wbg_ptr, ptr0, len0);
547
606
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
548
607
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
549
608
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -551,9 +610,9 @@ export class GenericSQLVirtualServerModel {
551
610
  if (r3) {
552
611
  throw takeObject(r2);
553
612
  }
554
- var v3 = getCachedStringFromWasm0(r0, r1);
613
+ var v2 = getCachedStringFromWasm0(r0, r1);
555
614
  if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
556
- return v3;
615
+ return v2;
557
616
  } finally {
558
617
  wasm.__wbindgen_add_to_stack_pointer(16);
559
618
  }
@@ -665,6 +724,37 @@ export class GenericSQLVirtualServerModel {
665
724
  wasm.__wbindgen_add_to_stack_pointer(16);
666
725
  }
667
726
  }
727
+ /**
728
+ * Returns the SQL query to create a table from a view.
729
+ * @param {string} view_id
730
+ * @param {string} table_id
731
+ * @param {any} config
732
+ * @param {any} view_schema
733
+ * @param {any} schema
734
+ * @returns {string}
735
+ */
736
+ viewMakeTable(view_id, table_id, config, view_schema, schema) {
737
+ try {
738
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
739
+ const ptr0 = passStringToWasm0(view_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
740
+ const len0 = WASM_VECTOR_LEN;
741
+ const ptr1 = passStringToWasm0(table_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
742
+ const len1 = WASM_VECTOR_LEN;
743
+ wasm.genericsqlvirtualservermodel_viewMakeTable(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(config), addHeapObject(view_schema), addHeapObject(schema));
744
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
745
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
746
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
747
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
748
+ if (r3) {
749
+ throw takeObject(r2);
750
+ }
751
+ var v3 = getCachedStringFromWasm0(r0, r1);
752
+ if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
753
+ return v3;
754
+ } finally {
755
+ wasm.__wbindgen_add_to_stack_pointer(16);
756
+ }
757
+ }
668
758
  /**
669
759
  * Returns the SQL query to describe a view's schema.
670
760
  * @param {string} view_id
@@ -1601,7 +1691,9 @@ export class PerspectiveViewerElement {
1601
1691
  * # Arguments
1602
1692
  *
1603
1693
  * - `reset_all` - If set, will clear expressions and column settings as
1604
- * well.
1694
+ * well, and tear down the element's ENTIRE derived-table state: every
1695
+ * panel bound to a derived `Table` is released to its root table, and
1696
+ * every derivation (pending ones included) is deleted.
1605
1697
  * - `options` - An optional `{panel?: string}`; the panel to reset, or
1606
1698
  * every panel when omitted.
1607
1699
  *
@@ -1715,11 +1807,9 @@ export class PerspectiveViewerElement {
1715
1807
  * either "json", "string" or "arraybuffer" format.
1716
1808
  * - `options.panel` - The panel to target, or the active panel when
1717
1809
  * omitted.
1718
- * - `options.suppress_errors` - when `true`, a failed restore only rejects
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.
1810
+ * - `options.suppress_errors` - when `true`, a config that was applied and
1811
+ * then failed to render only rejects the returned `Promise`, without
1812
+ * raising the panel's visible error state.
1723
1813
  * - `options.wait_for_table` - when `true`, a `table` no loaded client
1724
1814
  * hosts yet leaves the panel empty and pending until the table is
1725
1815
  * created, instead of the default error.
@@ -2160,6 +2250,30 @@ export class Table {
2160
2250
  const ret = wasm.table_delete(ptr, isLikeNone(options) ? 0 : addHeapObject(options));
2161
2251
  return takeObject(ret);
2162
2252
  }
2253
+ /**
2254
+ * Validate a complete view config against this table and report the
2255
+ * schema a [`View`] built from it would have, WITHOUT creating one.
2256
+ *
2257
+ * # JavaScript Examples
2258
+ *
2259
+ * ```javascript
2260
+ * const verdict = await table.describe({
2261
+ * columns: ["Sales", "margin"],
2262
+ * group_by: ["Region"],
2263
+ * expressions: { margin: '"Profit" / "Sales"' },
2264
+ * });
2265
+ *
2266
+ * if ("view_schema" in verdict) {
2267
+ * const view = await table.view(config);
2268
+ * }
2269
+ * ```
2270
+ * @param {ViewConfigUpdate | null} [config]
2271
+ * @returns {Promise<any>}
2272
+ */
2273
+ describe(config) {
2274
+ const ret = wasm.table_describe(this.__wbg_ptr, isLikeNone(config) ? 0 : addHeapObject(config));
2275
+ return takeObject(ret);
2276
+ }
2163
2277
  /**
2164
2278
  * Get a copy of the [`Client`] this [`Table`] came from.
2165
2279
  * @returns {Promise<Client>}
@@ -2450,13 +2564,22 @@ export class View {
2450
2564
  return takeObject(ret);
2451
2565
  }
2452
2566
  /**
2453
- * Returns an array of strings containing the column paths of the [`View`]
2454
- * without any of the source columns.
2567
+ * Returns this [`View`]'s column header area for `window`, transposed as
2568
+ * `area[level][column]`.
2455
2569
  *
2456
2570
  * A column path shows the columns that a given cell belongs to after
2457
- * pivots are applied.
2571
+ * pivots are applied. The area is rectangular with one level per
2572
+ * `split_by` plus one: a column's split values occupy the leading levels
2573
+ * and its name always occupies the last, so a subtotal or grand total
2574
+ * under `split_rollup_mode: "rollup"` reads `null` at the levels it does
2575
+ * not pivot on. Values keep their column's type - a `datetime` split value
2576
+ * is epoch milliseconds, not text - so formatting them is the caller's
2577
+ * choice.
2578
+ *
2579
+ * `window` slices the *column* axis; the number of levels does not depend
2580
+ * on it.
2458
2581
  * @param {ColumnWindow | null} [window]
2459
- * @returns {Promise<any>}
2582
+ * @returns {(string | number | boolean | null)[][]}
2460
2583
  */
2461
2584
  column_paths(window) {
2462
2585
  const ret = wasm.view_column_paths(this.__wbg_ptr, isLikeNone(window) ? 0 : addHeapObject(window));
@@ -2696,6 +2819,17 @@ export class View {
2696
2819
  }
2697
2820
  /**
2698
2821
  * Serializes a [`View`] to the Apache Arrow data format.
2822
+ *
2823
+ * # Arguments
2824
+ *
2825
+ * - `window` - a [`ViewWindow`]; its `compression` key selects Arrow IPC
2826
+ * body compression, `"lz4"` or `"zstd"` (uncompressed when omitted).
2827
+ *
2828
+ * # JavaScript Examples
2829
+ *
2830
+ * ```javascript
2831
+ * const arrow = await view.to_arrow({ compression: "zstd" });
2832
+ * ```
2699
2833
  * @param {ViewWindow | null} [window]
2700
2834
  * @returns {Promise<ArrayBuffer>}
2701
2835
  */
@@ -3222,12 +3356,16 @@ function __wbg_get_imports() {
3222
3356
  const ret = getObject(arg0).body;
3223
3357
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3224
3358
  },
3225
- __wbg_bootstrap_1b08e5d9ee1fdba2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3359
+ __wbg_bootstrap_7468c2821998c724: function(arg0, arg1, arg2, arg3, arg4, arg5) {
3226
3360
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3227
3361
  var v1 = getCachedStringFromWasm0(arg3, arg4);
3228
3362
  const ret = bootstrap(getObject(arg0), v0, v1, takeObject(arg5));
3229
3363
  return addHeapObject(ret);
3230
3364
  },
3365
+ __wbg_bottom_c7ec510a18034add: function(arg0) {
3366
+ const ret = getObject(arg0).bottom;
3367
+ return ret;
3368
+ },
3231
3369
  __wbg_bubbles_ad88192d3c29e6f9: function(arg0) {
3232
3370
  const ret = getObject(arg0).bubbles;
3233
3371
  return ret;
@@ -3244,12 +3382,12 @@ function __wbg_get_imports() {
3244
3382
  const ret = getObject(arg0).__yew_subtree_cache_key;
3245
3383
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3246
3384
  },
3247
- __wbg_calculatePath_68a0dcac4df61563: function(arg0, arg1, arg2) {
3385
+ __wbg_calculatePath_6bd3b277086d3eba: function(arg0, arg1, arg2) {
3248
3386
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3249
3387
  const ret = getObject(arg0).calculatePath(v0);
3250
3388
  return addHeapObject(ret);
3251
3389
  },
3252
- __wbg_calculatePresizePaths_e85f027f3cf6c24f: function(arg0) {
3390
+ __wbg_calculatePresizePaths_65a90be0f192e074: function(arg0) {
3253
3391
  const ret = getObject(arg0).calculatePresizePaths();
3254
3392
  return addHeapObject(ret);
3255
3393
  },
@@ -3296,7 +3434,7 @@ function __wbg_get_imports() {
3296
3434
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3297
3435
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3298
3436
  },
3299
- __wbg_clear_5097eee17f29d84a: function() { return handleError(function (arg0) {
3437
+ __wbg_clear_3d4dcadea7bc0856: function() { return handleError(function (arg0) {
3300
3438
  const ret = getObject(arg0).clear();
3301
3439
  return addHeapObject(ret);
3302
3440
  }, arguments); },
@@ -3343,11 +3481,12 @@ function __wbg_get_imports() {
3343
3481
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3344
3482
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3345
3483
  },
3346
- __wbg_column_config_schema_c599517f07811415: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3484
+ __wbg_column_config_schema_194b1e58d9c3b38a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
3347
3485
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3348
3486
  var v1 = getCachedStringFromWasm0(arg3, arg4);
3349
3487
  var v2 = getCachedStringFromWasm0(arg5, arg6);
3350
- const ret = getObject(arg0).column_config_schema(v0, v1, v2, getObject(arg7), getObject(arg8), getObject(arg9));
3488
+ var v3 = getCachedStringFromWasm0(arg10, arg11);
3489
+ const ret = getObject(arg0).column_config_schema(v0, v1, v2, getObject(arg7), getObject(arg8), getObject(arg9), v3);
3351
3490
  return addHeapObject(ret);
3352
3491
  }, arguments); },
3353
3492
  __wbg_composedPath_9154ab2547c668d5: function(arg0) {
@@ -3363,7 +3502,7 @@ function __wbg_get_imports() {
3363
3502
  const ret = getObject(arg0).contains(v0);
3364
3503
  return ret;
3365
3504
  },
3366
- __wbg_contentRect_d3e66d825ac87d1a: function(arg0) {
3505
+ __wbg_contentRect_53c41af7c9e6e913: function(arg0) {
3367
3506
  const ret = getObject(arg0).contentRect;
3368
3507
  return addHeapObject(ret);
3369
3508
  },
@@ -3401,10 +3540,6 @@ function __wbg_get_imports() {
3401
3540
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3402
3541
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3403
3542
  },
3404
- __wbg_currentTarget_d1f347b3b9bddd6e: function(arg0) {
3405
- const ret = getObject(arg0).currentTarget;
3406
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3407
- },
3408
3543
  __wbg_dataTransfer_d924a622fbe51b06: function(arg0) {
3409
3544
  const ret = getObject(arg0).dataTransfer;
3410
3545
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
@@ -3426,7 +3561,7 @@ function __wbg_get_imports() {
3426
3561
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3427
3562
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3428
3563
  }, arguments); },
3429
- __wbg_define_panel_tab_bc5b2b1cee51481e: function(arg0, arg1) {
3564
+ __wbg_define_panel_tab_0d4b5e78be60b8f2: function(arg0, arg1) {
3430
3565
  var v0 = getCachedStringFromWasm0(arg0, arg1);
3431
3566
  define_panel_tab(v0);
3432
3567
  },
@@ -3434,10 +3569,10 @@ function __wbg_get_imports() {
3434
3569
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3435
3570
  delete getObject(arg0)[v0];
3436
3571
  },
3437
- __wbg_delete_ebe3bcf56af4f5d7: function(arg0) {
3572
+ __wbg_delete_ceb365c62edd0d43: function(arg0) {
3438
3573
  getObject(arg0).delete();
3439
3574
  },
3440
- __wbg_deselect_1bc31a1c59a28bd4: function() { return handleError(function (arg0) {
3575
+ __wbg_deselect_845965b4ab881f1b: function() { return handleError(function (arg0) {
3441
3576
  const ret = getObject(arg0).deselect();
3442
3577
  return addHeapObject(ret);
3443
3578
  }, arguments); },
@@ -3457,7 +3592,7 @@ function __wbg_get_imports() {
3457
3592
  const ret = getObject(arg0).done;
3458
3593
  return ret;
3459
3594
  },
3460
- __wbg_draw_968203d49a1d1979: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3595
+ __wbg_draw_a2de0fa2a1465ff7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3461
3596
  const ret = getObject(arg0).draw(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
3462
3597
  return addHeapObject(ret);
3463
3598
  }, arguments); },
@@ -3484,13 +3619,6 @@ function __wbg_get_imports() {
3484
3619
  __wbg_error_f852e41c69b0bd84: function(arg0, arg1) {
3485
3620
  console.error(getObject(arg0), getObject(arg1));
3486
3621
  },
3487
- __wbg_family_345f1736ce506756: function(arg0, arg1) {
3488
- const ret = getObject(arg1).family;
3489
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3490
- const len1 = WASM_VECTOR_LEN;
3491
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3492
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3493
- },
3494
3622
  __wbg_fetch_e6e8e0a221783759: function(arg0, arg1) {
3495
3623
  const ret = getObject(arg0).fetch(getObject(arg1));
3496
3624
  return addHeapObject(ret);
@@ -3601,7 +3729,7 @@ function __wbg_get_imports() {
3601
3729
  const ret = getObject(arg0)[arg1 >>> 0];
3602
3730
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3603
3731
  },
3604
- __wbg_get_static_config_ed2317f8b449523c: function(arg0) {
3732
+ __wbg_get_static_config_9d973a245c170cab: function(arg0) {
3605
3733
  const ret = getObject(arg0).get_static_config();
3606
3734
  return addHeapObject(ret);
3607
3735
  },
@@ -3671,7 +3799,7 @@ function __wbg_get_imports() {
3671
3799
  const ret = getObject(arg0).insertBefore(getObject(arg1), getObject(arg2));
3672
3800
  return addHeapObject(ret);
3673
3801
  }, arguments); },
3674
- __wbg_insertPanel_32ee46d3a844c385: function(arg0, arg1, arg2, arg3, arg4) {
3802
+ __wbg_insertPanel_618acea7b103d85c: function(arg0, arg1, arg2, arg3, arg4) {
3675
3803
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3676
3804
  const ret = getObject(arg0).insertPanel(v0, takeObject(arg3), takeObject(arg4));
3677
3805
  return addHeapObject(ret);
@@ -3756,40 +3884,40 @@ function __wbg_get_imports() {
3756
3884
  const ret = result;
3757
3885
  return ret;
3758
3886
  },
3759
- __wbg_instanceof_FontFace_90d3e62f39397791: function(arg0) {
3887
+ __wbg_instanceof_HtmlCanvasElement_3f2f6e1edb1c9792: function(arg0) {
3760
3888
  let result;
3761
3889
  try {
3762
- result = getObject(arg0) instanceof FontFace;
3890
+ result = getObject(arg0) instanceof HTMLCanvasElement;
3763
3891
  } catch (_) {
3764
3892
  result = false;
3765
3893
  }
3766
3894
  const ret = result;
3767
3895
  return ret;
3768
3896
  },
3769
- __wbg_instanceof_HtmlCanvasElement_3f2f6e1edb1c9792: function(arg0) {
3897
+ __wbg_instanceof_HtmlElement_5abfac207260fd6f: function(arg0) {
3770
3898
  let result;
3771
3899
  try {
3772
- result = getObject(arg0) instanceof HTMLCanvasElement;
3900
+ result = getObject(arg0) instanceof HTMLElement;
3773
3901
  } catch (_) {
3774
3902
  result = false;
3775
3903
  }
3776
3904
  const ret = result;
3777
3905
  return ret;
3778
3906
  },
3779
- __wbg_instanceof_HtmlElement_5abfac207260fd6f: function(arg0) {
3907
+ __wbg_instanceof_HtmlInputElement_c10b7260b4e0710a: function(arg0) {
3780
3908
  let result;
3781
3909
  try {
3782
- result = getObject(arg0) instanceof HTMLElement;
3910
+ result = getObject(arg0) instanceof HTMLInputElement;
3783
3911
  } catch (_) {
3784
3912
  result = false;
3785
3913
  }
3786
3914
  const ret = result;
3787
3915
  return ret;
3788
3916
  },
3789
- __wbg_instanceof_HtmlInputElement_c10b7260b4e0710a: function(arg0) {
3917
+ __wbg_instanceof_HtmlLinkElement_5eb5b0855a17d0fc: function(arg0) {
3790
3918
  let result;
3791
3919
  try {
3792
- result = getObject(arg0) instanceof HTMLInputElement;
3920
+ result = getObject(arg0) instanceof HTMLLinkElement;
3793
3921
  } catch (_) {
3794
3922
  result = false;
3795
3923
  }
@@ -3898,7 +4026,11 @@ function __wbg_get_imports() {
3898
4026
  const ret = getObject(arg0).isConnected;
3899
4027
  return ret;
3900
4028
  },
3901
- __wbg_isIntersecting_ce17b70bafc1c91e: function(arg0) {
4029
+ __wbg_isContentEditable_f5b0ce009dbd035b: function(arg0) {
4030
+ const ret = getObject(arg0).isContentEditable;
4031
+ return ret;
4032
+ },
4033
+ __wbg_isIntersecting_bc26c0acce04af1a: function(arg0) {
3902
4034
  const ret = getObject(arg0).isIntersecting;
3903
4035
  return ret;
3904
4036
  },
@@ -4000,10 +4132,12 @@ function __wbg_get_imports() {
4000
4132
  const ret = getObject(arg0).__yew_listener_id;
4001
4133
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
4002
4134
  },
4003
- __wbg_loaded_27fa3bdfd9239e89: function() { return handleError(function (arg0) {
4004
- const ret = getObject(arg0).loaded;
4135
+ __wbg_load_f8d29f3c1bda8dd1: function(arg0, arg1, arg2, arg3, arg4) {
4136
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
4137
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
4138
+ const ret = getObject(arg0).load(v0, v1);
4005
4139
  return addHeapObject(ret);
4006
- }, arguments); },
4140
+ },
4007
4141
  __wbg_mark_3b530a64b09ba08a: function() { return handleError(function (arg0, arg1, arg2) {
4008
4142
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4009
4143
  getObject(arg0).mark(v0);
@@ -4013,7 +4147,7 @@ function __wbg_get_imports() {
4013
4147
  const ret = getObject(arg0).matches(v0);
4014
4148
  return ret;
4015
4149
  }, arguments); },
4016
- __wbg_maximize_36e392129291faab: function(arg0, arg1, arg2) {
4150
+ __wbg_maximize_b88dc171d839281a: function(arg0, arg1, arg2) {
4017
4151
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4018
4152
  getObject(arg0).maximize(v0);
4019
4153
  },
@@ -4031,7 +4165,7 @@ function __wbg_get_imports() {
4031
4165
  const ret = getObject(arg0).message;
4032
4166
  return addHeapObject(ret);
4033
4167
  },
4034
- __wbg_minimize_84e9d183a39f9086: function(arg0) {
4168
+ __wbg_minimize_7a8842fdebe6a580: function(arg0) {
4035
4169
  getObject(arg0).minimize();
4036
4170
  },
4037
4171
  __wbg_namespaceURI_86e2062c65f0f341: function(arg0, arg1) {
@@ -4045,10 +4179,6 @@ function __wbg_get_imports() {
4045
4179
  const ret = getObject(arg0).navigator;
4046
4180
  return addHeapObject(ret);
4047
4181
  },
4048
- __wbg_new_0b4a9c029472d45e: function(arg0) {
4049
- const ret = new ResizeObserver(getObject(arg0));
4050
- return addHeapObject(ret);
4051
- },
4052
4182
  __wbg_new_16c83877745f8d12: function() { return handleError(function (arg0, arg1) {
4053
4183
  var v0 = getCachedStringFromWasm0(arg0, arg1);
4054
4184
  const ret = new InputEvent(v0);
@@ -4058,10 +4188,6 @@ function __wbg_get_imports() {
4058
4188
  const ret = new CSSStyleSheet();
4059
4189
  return addHeapObject(ret);
4060
4190
  }, arguments); },
4061
- __wbg_new_24455da2df1281e8: function(arg0) {
4062
- const ret = new IntersectionObserver(getObject(arg0));
4063
- return addHeapObject(ret);
4064
- },
4065
4191
  __wbg_new_245cd5c49157e602: function(arg0) {
4066
4192
  const ret = new Date(getObject(arg0));
4067
4193
  return addHeapObject(ret);
@@ -4083,6 +4209,14 @@ function __wbg_get_imports() {
4083
4209
  const ret = new Array();
4084
4210
  return addHeapObject(ret);
4085
4211
  },
4212
+ __wbg_new_48a9f8a48a8d3375: function(arg0) {
4213
+ const ret = new ResizeObserver(getObject(arg0));
4214
+ return addHeapObject(ret);
4215
+ },
4216
+ __wbg_new_5d3b54e66993488c: function(arg0) {
4217
+ const ret = new IntersectionObserver(getObject(arg0));
4218
+ return addHeapObject(ret);
4219
+ },
4086
4220
  __wbg_new_64284bd487f9d239: function() { return handleError(function () {
4087
4221
  const ret = new Headers();
4088
4222
  return addHeapObject(ret);
@@ -4107,7 +4241,7 @@ function __wbg_get_imports() {
4107
4241
  const a = state0.a;
4108
4242
  state0.a = 0;
4109
4243
  try {
4110
- return __wasm_bindgen_func_elem_33477(a, state0.b, arg0, arg1);
4244
+ return __wasm_bindgen_func_elem_35042(a, state0.b, arg0, arg1);
4111
4245
  } finally {
4112
4246
  state0.a = a;
4113
4247
  }
@@ -4126,7 +4260,7 @@ function __wbg_get_imports() {
4126
4260
  const ret = new Intl.DateTimeFormat(getObject(arg0), getObject(arg1));
4127
4261
  return addHeapObject(ret);
4128
4262
  },
4129
- __wbg_new_c20487250510f781: function(arg0) {
4263
+ __wbg_new_d2c1db2122463dba: function(arg0) {
4130
4264
  const ret = new ClipboardItem(getObject(arg0));
4131
4265
  return addHeapObject(ret);
4132
4266
  },
@@ -4181,10 +4315,6 @@ function __wbg_get_imports() {
4181
4315
  const ret = getObject(arg0).next;
4182
4316
  return addHeapObject(ret);
4183
4317
  },
4184
- __wbg_next_a74fa8e233e5b7bf: function() { return handleError(function (arg0) {
4185
- const ret = getObject(arg0).next();
4186
- return addHeapObject(ret);
4187
- }, arguments); },
4188
4318
  __wbg_now_a3af9a2f4bbaa4d1: function() {
4189
4319
  const ret = Date.now();
4190
4320
  return ret;
@@ -4193,10 +4323,10 @@ function __wbg_get_imports() {
4193
4323
  const ret = getObject(arg0).now();
4194
4324
  return ret;
4195
4325
  },
4196
- __wbg_observe_0e48713016063f2e: function(arg0, arg1) {
4326
+ __wbg_observe_76d0de4e35b048ba: function(arg0, arg1) {
4197
4327
  getObject(arg0).observe(getObject(arg1));
4198
4328
  },
4199
- __wbg_observe_4e8c4a5bcaff0c4c: function(arg0, arg1) {
4329
+ __wbg_observe_9e3086661d5a3fe9: function(arg0, arg1) {
4200
4330
  getObject(arg0).observe(getObject(arg1));
4201
4331
  },
4202
4332
  __wbg_of_f915f7cd925b21a5: function(arg0) {
@@ -4244,7 +4374,7 @@ function __wbg_get_imports() {
4244
4374
  const ret = getObject(arg0).performance;
4245
4375
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4246
4376
  },
4247
- __wbg_plugin_config_schema_b09832c2446e51de: function() { return handleError(function (arg0, arg1, arg2) {
4377
+ __wbg_plugin_config_schema_949fc5809ea480fe: function() { return handleError(function (arg0, arg1, arg2) {
4248
4378
  const ret = getObject(arg0).plugin_config_schema(getObject(arg1), getObject(arg2));
4249
4379
  return addHeapObject(ret);
4250
4380
  }, arguments); },
@@ -4259,7 +4389,7 @@ function __wbg_get_imports() {
4259
4389
  __wbg_prepend_12ed960547d9dfe1: function() { return handleError(function (arg0, arg1) {
4260
4390
  getObject(arg0).prepend(getObject(arg1));
4261
4391
  }, arguments); },
4262
- __wbg_presize_023f074e1d5096b2: function() { return handleError(function (arg0, arg1, arg2) {
4392
+ __wbg_presize_992fa0f0607ce495: function() { return handleError(function (arg0, arg1, arg2) {
4263
4393
  const ret = getObject(arg0).presize(arg1, arg2);
4264
4394
  return addHeapObject(ret);
4265
4395
  }, arguments); },
@@ -4273,6 +4403,11 @@ function __wbg_get_imports() {
4273
4403
  const ret = getObject(arg0).push(getObject(arg1));
4274
4404
  return ret;
4275
4405
  },
4406
+ __wbg_querySelectorAll_1283aae52043a951: function() { return handleError(function (arg0, arg1, arg2) {
4407
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
4408
+ const ret = getObject(arg0).querySelectorAll(v0);
4409
+ return addHeapObject(ret);
4410
+ }, arguments); },
4276
4411
  __wbg_querySelectorAll_5875742f4e11f759: function() { return handleError(function (arg0, arg1, arg2) {
4277
4412
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4278
4413
  const ret = getObject(arg0).querySelectorAll(v0);
@@ -4310,7 +4445,7 @@ function __wbg_get_imports() {
4310
4445
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4311
4446
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4312
4447
  },
4313
- __wbg_realCoordinates_d04b4312df7a1abf: function(arg0, arg1) {
4448
+ __wbg_realCoordinates_cd631d39634cdcd7: function(arg0, arg1) {
4314
4449
  const ret = getObject(arg0).realCoordinates(getObject(arg1));
4315
4450
  return addHeapObject(ret);
4316
4451
  },
@@ -4344,7 +4479,7 @@ function __wbg_get_imports() {
4344
4479
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4345
4480
  getObject(arg0).removeEventListener(v0, getObject(arg3));
4346
4481
  }, arguments); },
4347
- __wbg_removePanel_9b5a6cca365472b1: function(arg0, arg1, arg2) {
4482
+ __wbg_removePanel_b13d14b95a1fd15c: function(arg0, arg1, arg2) {
4348
4483
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4349
4484
  const ret = getObject(arg0).removePanel(v0);
4350
4485
  return addHeapObject(ret);
@@ -4364,7 +4499,7 @@ function __wbg_get_imports() {
4364
4499
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4365
4500
  getObject(arg0).remove(v0);
4366
4501
  }, arguments); },
4367
- __wbg_render_99d8e37b0c6356aa: function() { return handleError(function (arg0, arg1, arg2) {
4502
+ __wbg_render_6d439453abd7774b: function() { return handleError(function (arg0, arg1, arg2) {
4368
4503
  const ret = getObject(arg0).render(View.__wrap(arg1), takeObject(arg2));
4369
4504
  return addHeapObject(ret);
4370
4505
  }, arguments); },
@@ -4376,7 +4511,7 @@ function __wbg_get_imports() {
4376
4511
  const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
4377
4512
  return ret;
4378
4513
  }, arguments); },
4379
- __wbg_resize_befba8b36d66d606: function() { return handleError(function (arg0) {
4514
+ __wbg_resize_4041582e1c85f802: function() { return handleError(function (arg0) {
4380
4515
  const ret = getObject(arg0).resize();
4381
4516
  return addHeapObject(ret);
4382
4517
  }, arguments); },
@@ -4388,30 +4523,30 @@ function __wbg_get_imports() {
4388
4523
  const ret = getObject(arg0).resolvedOptions();
4389
4524
  return addHeapObject(ret);
4390
4525
  },
4391
- __wbg_restorePhysics_748a04ff66d464c8: function(arg0, arg1) {
4526
+ __wbg_restorePhysics_61ba524dc37976b6: function(arg0, arg1) {
4392
4527
  getObject(arg0).restorePhysics(getObject(arg1));
4393
4528
  },
4394
- __wbg_restoreSync_26f73ff8fe9edf20: function(arg0, arg1) {
4529
+ __wbg_restoreSync_175e728d420d7c33: function(arg0, arg1) {
4395
4530
  getObject(arg0).restoreSync(getObject(arg1));
4396
4531
  },
4397
- __wbg_restore_a4c0f3727e943cf6: function() { return handleError(function (arg0, arg1, arg2) {
4532
+ __wbg_restore_9e03dc0853d57a24: function() { return handleError(function (arg0, arg1, arg2) {
4398
4533
  getObject(arg0).restore(getObject(arg1), getObject(arg2));
4399
4534
  }, arguments); },
4400
- __wbg_restyle_213f6d176c94f182: function(arg0) {
4535
+ __wbg_restyle_0f65a11fd3216635: function(arg0) {
4401
4536
  getObject(arg0).restyle();
4402
4537
  },
4403
- __wbg_resumeResize_5dce4b0072855629: function(arg0) {
4538
+ __wbg_resumeResize_47f412fe468a86e6: function(arg0) {
4404
4539
  getObject(arg0).resumeResize();
4405
4540
  },
4406
4541
  __wbg_right_154af6c2b1bf0c89: function(arg0) {
4407
4542
  const ret = getObject(arg0).right;
4408
4543
  return ret;
4409
4544
  },
4410
- __wbg_run_26ff8525c6787d9c: function() { return handleError(function (arg0, arg1) {
4545
+ __wbg_run_56500aec144102b2: function() { return handleError(function (arg0, arg1) {
4411
4546
  const ret = getObject(arg0).run(getObject(arg1));
4412
4547
  return addHeapObject(ret);
4413
4548
  }, arguments); },
4414
- __wbg_save_7116a6af623b3ae7: function(arg0) {
4549
+ __wbg_save_bc7e03c0026cef07: function(arg0) {
4415
4550
  const ret = getObject(arg0).save();
4416
4551
  return addHeapObject(ret);
4417
4552
  },
@@ -4431,7 +4566,7 @@ function __wbg_get_imports() {
4431
4566
  const ret = getObject(arg0).scrollTop;
4432
4567
  return ret;
4433
4568
  },
4434
- __wbg_select_c652ac9a2ad5048b: function(arg0, arg1, arg2) {
4569
+ __wbg_select_6cdd9a77e39c4c9c: function(arg0, arg1, arg2) {
4435
4570
  var v0 = getCachedStringFromWasm0(arg1, arg2);
4436
4571
  const ret = getObject(arg0).select(v0);
4437
4572
  return addHeapObject(ret);
@@ -4617,6 +4752,10 @@ function __wbg_get_imports() {
4617
4752
  const ret = getObject(arg0).shadowRoot;
4618
4753
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4619
4754
  },
4755
+ __wbg_sheet_38c9043b5f37d85d: function(arg0) {
4756
+ const ret = getObject(arg0).sheet;
4757
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
4758
+ },
4620
4759
  __wbg_shiftKey_5558a3288542c985: function(arg0) {
4621
4760
  const ret = getObject(arg0).shiftKey;
4622
4761
  return ret;
@@ -4635,6 +4774,13 @@ function __wbg_get_imports() {
4635
4774
  const ret = getObject(arg0).signal;
4636
4775
  return addHeapObject(ret);
4637
4776
  },
4777
+ __wbg_slot_7d421d6c9d6c8352: function(arg0, arg1) {
4778
+ const ret = getObject(arg1).slot;
4779
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
4780
+ const len1 = WASM_VECTOR_LEN;
4781
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4782
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4783
+ },
4638
4784
  __wbg_stack_0ed75d68575b0f3c: function(arg0, arg1) {
4639
4785
  const ret = getObject(arg1).stack;
4640
4786
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -4654,7 +4800,7 @@ function __wbg_get_imports() {
4654
4800
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
4655
4801
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4656
4802
  },
4657
- __wbg_static_accessor_PSP_e1c27ff430710145: function() {
4803
+ __wbg_static_accessor_PSP_0c543191e55f65a5: function() {
4658
4804
  const ret = psp;
4659
4805
  return addHeapObject(ret);
4660
4806
  },
@@ -4704,7 +4850,7 @@ function __wbg_get_imports() {
4704
4850
  const ret = getObject(arg0).__yew_subtree_id;
4705
4851
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
4706
4852
  },
4707
- __wbg_supportedValuesOf_29fc15384bbb4f0f: function(arg0) {
4853
+ __wbg_supportedValuesOf_781c0f8a47dc524a: function(arg0) {
4708
4854
  const ret = Intl.supportedValuesOf(getObject(arg0));
4709
4855
  return addHeapObject(ret);
4710
4856
  },
@@ -4775,13 +4921,13 @@ function __wbg_get_imports() {
4775
4921
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4776
4922
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4777
4923
  },
4778
- __wbg_unobserve_ca92ecf9aaee9946: function(arg0, arg1) {
4924
+ __wbg_unobserve_e4daa9e2d49e0257: function(arg0, arg1) {
4779
4925
  getObject(arg0).unobserve(getObject(arg1));
4780
4926
  },
4781
- __wbg_unobserve_fe4b3587da57a8b6: function(arg0, arg1) {
4927
+ __wbg_unobserve_faaba3d545795ea3: function(arg0, arg1) {
4782
4928
  getObject(arg0).unobserve(getObject(arg1));
4783
4929
  },
4784
- __wbg_update_36bd0c0c30fde1bf: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4930
+ __wbg_update_7acd874ac3bcbaf9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4785
4931
  const ret = getObject(arg0).update(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
4786
4932
  return addHeapObject(ret);
4787
4933
  }, arguments); },
@@ -4818,10 +4964,6 @@ function __wbg_get_imports() {
4818
4964
  const ret = Object.values(getObject(arg0));
4819
4965
  return addHeapObject(ret);
4820
4966
  },
4821
- __wbg_values_725507e0ae05aa44: function(arg0) {
4822
- const ret = getObject(arg0).values();
4823
- return addHeapObject(ret);
4824
- },
4825
4967
  __wbg_view_new: function(arg0) {
4826
4968
  const ret = View.__wrap(arg0);
4827
4969
  return addHeapObject(ret);
@@ -4840,13 +4982,6 @@ function __wbg_get_imports() {
4840
4982
  __wbg_warn_f7ae1b2e66ccb930: function(arg0) {
4841
4983
  console.warn(getObject(arg0));
4842
4984
  },
4843
- __wbg_weight_984b87b81f2dde65: function(arg0, arg1) {
4844
- const ret = getObject(arg1).weight;
4845
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
4846
- const len1 = WASM_VECTOR_LEN;
4847
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4848
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4849
- },
4850
4985
  __wbg_which_78ecd90ab7c6bdd6: function(arg0) {
4851
4986
  const ret = getObject(arg0).which;
4852
4987
  return ret;
@@ -4868,83 +5003,83 @@ function __wbg_get_imports() {
4868
5003
  return addHeapObject(ret);
4869
5004
  },
4870
5005
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
4871
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4786, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 4788, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4872
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_18885, __wasm_bindgen_func_elem_19005);
5006
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [Externref], shim_idx: 90, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5007
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8469);
4873
5008
  return addHeapObject(ret);
4874
5009
  },
4875
5010
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
4876
- // Cast intrinsic for `Closure(Closure { dtor_idx: 48, function: Function { arguments: [Externref], shim_idx: 90, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4877
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7877);
5011
+ // 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`.
5012
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8470);
4878
5013
  return addHeapObject(ret);
4879
5014
  },
4880
5015
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
4881
- // 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`.
4882
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7878);
5016
+ // 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`.
5017
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8470);
4883
5018
  return addHeapObject(ret);
4884
5019
  },
4885
5020
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
4886
- // 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`.
4887
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7878);
5021
+ // 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`.
5022
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8470);
4888
5023
  return addHeapObject(ret);
4889
5024
  },
4890
5025
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
4891
- // 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`.
4892
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7878);
5026
+ // 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`.
5027
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8470);
4893
5028
  return addHeapObject(ret);
4894
5029
  },
4895
5030
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
4896
- // 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`.
4897
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7878);
5031
+ // 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`.
5032
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8469);
4898
5033
  return addHeapObject(ret);
4899
5034
  },
4900
5035
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
4901
- // 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`.
4902
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7877);
5036
+ // 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`.
5037
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8470);
4903
5038
  return addHeapObject(ret);
4904
5039
  },
4905
5040
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
4906
- // 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`.
4907
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7878);
5041
+ // 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`.
5042
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8470);
4908
5043
  return addHeapObject(ret);
4909
5044
  },
4910
5045
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
4911
- // 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`.
4912
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7878);
5046
+ // 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`.
5047
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8471);
4913
5048
  return addHeapObject(ret);
4914
5049
  },
4915
5050
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
4916
- // 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`.
4917
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7879);
5051
+ // 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`.
5052
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7435, __wasm_bindgen_func_elem_8467);
4918
5053
  return addHeapObject(ret);
4919
5054
  },
4920
5055
  __wbindgen_cast_000000000000000b: function(arg0, arg1) {
4921
- // 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`.
4922
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_4479, __wasm_bindgen_func_elem_7875);
5056
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4956, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 4958, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5057
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20133, __wasm_bindgen_func_elem_20156);
4923
5058
  return addHeapObject(ret);
4924
5059
  },
4925
5060
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
4926
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4870, function: Function { arguments: [NamedExternref("Event")], shim_idx: 4871, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4927
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_19596, __wasm_bindgen_func_elem_19601);
5061
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5040, function: Function { arguments: [NamedExternref("Event")], shim_idx: 5041, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5062
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20746, __wasm_bindgen_func_elem_20750);
4928
5063
  return addHeapObject(ret);
4929
5064
  },
4930
5065
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
4931
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4870, function: Function { arguments: [], shim_idx: 4872, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4932
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_19596, __wasm_bindgen_func_elem_19600);
5066
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5040, function: Function { arguments: [], shim_idx: 5042, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5067
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20746, __wasm_bindgen_func_elem_20749);
4933
5068
  return addHeapObject(ret);
4934
5069
  },
4935
5070
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
4936
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4887, function: Function { arguments: [], shim_idx: 4902, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
4937
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20506, __wasm_bindgen_func_elem_21545);
5071
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5053, function: Function { arguments: [], shim_idx: 5071, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
5072
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_22147, __wasm_bindgen_func_elem_22772);
4938
5073
  return addHeapObject(ret);
4939
5074
  },
4940
5075
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
4941
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4887, function: Function { arguments: [], shim_idx: 4903, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4942
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_20506, __wasm_bindgen_func_elem_21546);
5076
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5053, function: Function { arguments: [], shim_idx: 5072, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5077
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_22147, __wasm_bindgen_func_elem_22773);
4943
5078
  return addHeapObject(ret);
4944
5079
  },
4945
5080
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
4946
- // Cast intrinsic for `Closure(Closure { dtor_idx: 5447, function: Function { arguments: [Externref], shim_idx: 5448, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4947
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_25319, __wasm_bindgen_func_elem_25336);
5081
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5625, function: Function { arguments: [Externref], shim_idx: 5626, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5082
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_26709, __wasm_bindgen_func_elem_26711);
4948
5083
  return addHeapObject(ret);
4949
5084
  },
4950
5085
  __wbindgen_cast_0000000000000011: function(arg0) {
@@ -5025,39 +5160,31 @@ function __wbg_get_imports() {
5025
5160
  };
5026
5161
  }
5027
5162
 
5028
- function __wasm_bindgen_func_elem_19600(arg0, arg1) {
5029
- wasm.__wasm_bindgen_func_elem_19600(arg0, arg1);
5163
+ function __wasm_bindgen_func_elem_20749(arg0, arg1) {
5164
+ wasm.__wasm_bindgen_func_elem_20749(arg0, arg1);
5030
5165
  }
5031
5166
 
5032
- function __wasm_bindgen_func_elem_21546(arg0, arg1) {
5033
- wasm.__wasm_bindgen_func_elem_21546(arg0, arg1);
5167
+ function __wasm_bindgen_func_elem_22773(arg0, arg1) {
5168
+ wasm.__wasm_bindgen_func_elem_22773(arg0, arg1);
5034
5169
  }
5035
5170
 
5036
- function __wasm_bindgen_func_elem_21545(arg0, arg1) {
5037
- const ret = wasm.__wasm_bindgen_func_elem_21545(arg0, arg1);
5171
+ function __wasm_bindgen_func_elem_22772(arg0, arg1) {
5172
+ const ret = wasm.__wasm_bindgen_func_elem_22772(arg0, arg1);
5038
5173
  return takeObject(ret);
5039
5174
  }
5040
5175
 
5041
- function __wasm_bindgen_func_elem_19005(arg0, arg1, arg2) {
5042
- try {
5043
- wasm.__wasm_bindgen_func_elem_19005(arg0, arg1, addBorrowedObject(arg2));
5044
- } finally {
5045
- heap[stack_pointer++] = undefined;
5046
- }
5047
- }
5048
-
5049
- function __wasm_bindgen_func_elem_7877(arg0, arg1, arg2) {
5050
- wasm.__wasm_bindgen_func_elem_7877(arg0, arg1, addHeapObject(arg2));
5176
+ function __wasm_bindgen_func_elem_8469(arg0, arg1, arg2) {
5177
+ wasm.__wasm_bindgen_func_elem_8469(arg0, arg1, addHeapObject(arg2));
5051
5178
  }
5052
5179
 
5053
- function __wasm_bindgen_func_elem_7878(arg0, arg1, arg2) {
5054
- wasm.__wasm_bindgen_func_elem_7878(arg0, arg1, addHeapObject(arg2));
5180
+ function __wasm_bindgen_func_elem_8470(arg0, arg1, arg2) {
5181
+ wasm.__wasm_bindgen_func_elem_8470(arg0, arg1, addHeapObject(arg2));
5055
5182
  }
5056
5183
 
5057
- function __wasm_bindgen_func_elem_7879(arg0, arg1) {
5184
+ function __wasm_bindgen_func_elem_8471(arg0, arg1) {
5058
5185
  try {
5059
5186
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5060
- wasm.__wasm_bindgen_func_elem_7879(retptr, arg0, arg1);
5187
+ wasm.__wasm_bindgen_func_elem_8471(retptr, arg0, arg1);
5061
5188
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5062
5189
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5063
5190
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -5070,10 +5197,10 @@ function __wasm_bindgen_func_elem_7879(arg0, arg1) {
5070
5197
  }
5071
5198
  }
5072
5199
 
5073
- function __wasm_bindgen_func_elem_7875(arg0, arg1) {
5200
+ function __wasm_bindgen_func_elem_8467(arg0, arg1) {
5074
5201
  try {
5075
5202
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5076
- wasm.__wasm_bindgen_func_elem_7875(retptr, arg0, arg1);
5203
+ wasm.__wasm_bindgen_func_elem_8467(retptr, arg0, arg1);
5077
5204
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5078
5205
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5079
5206
  if (r1) {
@@ -5084,16 +5211,24 @@ function __wasm_bindgen_func_elem_7875(arg0, arg1) {
5084
5211
  }
5085
5212
  }
5086
5213
 
5087
- function __wasm_bindgen_func_elem_19601(arg0, arg1, arg2) {
5088
- wasm.__wasm_bindgen_func_elem_19601(arg0, arg1, addHeapObject(arg2));
5214
+ function __wasm_bindgen_func_elem_20156(arg0, arg1, arg2) {
5215
+ try {
5216
+ wasm.__wasm_bindgen_func_elem_20156(arg0, arg1, addBorrowedObject(arg2));
5217
+ } finally {
5218
+ heap[stack_pointer++] = undefined;
5219
+ }
5220
+ }
5221
+
5222
+ function __wasm_bindgen_func_elem_20750(arg0, arg1, arg2) {
5223
+ wasm.__wasm_bindgen_func_elem_20750(arg0, arg1, addHeapObject(arg2));
5089
5224
  }
5090
5225
 
5091
- function __wasm_bindgen_func_elem_25336(arg0, arg1, arg2) {
5092
- wasm.__wasm_bindgen_func_elem_25336(arg0, arg1, addHeapObject(arg2));
5226
+ function __wasm_bindgen_func_elem_26711(arg0, arg1, arg2) {
5227
+ wasm.__wasm_bindgen_func_elem_26711(arg0, arg1, addHeapObject(arg2));
5093
5228
  }
5094
5229
 
5095
- function __wasm_bindgen_func_elem_33477(arg0, arg1, arg2, arg3) {
5096
- wasm.__wasm_bindgen_func_elem_33477(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
5230
+ function __wasm_bindgen_func_elem_35042(arg0, arg1, arg2, arg3) {
5231
+ wasm.__wasm_bindgen_func_elem_35042(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
5097
5232
  }
5098
5233
 
5099
5234