@perspective-dev/viewer 4.0.1 → 4.1.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 (183) hide show
  1. package/dist/cdn/perspective-viewer.js +2 -2
  2. package/dist/cdn/perspective-viewer.js.map +4 -4
  3. package/dist/css/dracula.css +1 -1
  4. package/dist/css/gruvbox-dark.css +1 -1
  5. package/dist/css/gruvbox.css +1 -1
  6. package/dist/css/icons.css +1 -1
  7. package/dist/css/monokai.css +1 -1
  8. package/dist/css/pro-dark.css +1 -1
  9. package/dist/css/pro.css +1 -1
  10. package/dist/css/solarized-dark.css +1 -1
  11. package/dist/css/solarized.css +1 -1
  12. package/dist/css/themes.css +1 -1
  13. package/dist/css/vaporwave.css +1 -1
  14. package/dist/esm/extensions.d.ts +23 -2
  15. package/dist/esm/perspective-viewer.d.ts +2 -7
  16. package/dist/esm/perspective-viewer.inline.js +2 -2
  17. package/dist/esm/perspective-viewer.inline.js.map +4 -4
  18. package/dist/esm/perspective-viewer.js +2 -2
  19. package/dist/esm/perspective-viewer.js.map +4 -4
  20. package/dist/esm/plugin.d.ts +1 -1
  21. package/dist/esm/ts-rs/ViewerConfigUpdate.d.ts +1 -0
  22. package/dist/wasm/perspective-viewer.d.ts +218 -46
  23. package/dist/wasm/perspective-viewer.js +1242 -753
  24. package/dist/wasm/perspective-viewer.wasm +0 -0
  25. package/dist/wasm/perspective-viewer.wasm.d.ts +38 -19
  26. package/package.json +1 -1
  27. package/src/less/containers/scroll-panel.less +0 -1
  28. package/src/less/plugin-selector.less +15 -5
  29. package/src/less/status-bar.less +75 -27
  30. package/src/less/viewer.less +140 -58
  31. package/src/rust/components/column_dropdown.rs +21 -21
  32. package/src/rust/components/column_selector/active_column.rs +131 -120
  33. package/src/rust/components/column_selector/add_expression_button.rs +5 -0
  34. package/src/rust/components/column_selector/aggregate_selector.rs +8 -4
  35. package/src/rust/components/column_selector/config_selector.rs +170 -161
  36. package/src/rust/components/column_selector/empty_column.rs +16 -11
  37. package/src/rust/components/column_selector/{expression_toolbar.rs → expr_edit_button.rs} +7 -0
  38. package/src/rust/components/column_selector/filter_column.rs +195 -194
  39. package/src/rust/components/column_selector/inactive_column.rs +82 -67
  40. package/src/rust/components/column_selector/pivot_column.rs +16 -11
  41. package/src/rust/components/column_selector/sort_column.rs +9 -7
  42. package/src/rust/components/column_selector.rs +42 -37
  43. package/src/rust/components/column_settings_sidebar/save_settings.rs +3 -1
  44. package/src/rust/components/column_settings_sidebar/style_tab/agg_depth_selector.rs +58 -0
  45. package/src/rust/components/column_settings_sidebar/style_tab/symbol/row_selector.rs +6 -6
  46. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_pairs.rs +2 -94
  47. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_pairs_item.rs +111 -0
  48. package/src/rust/components/column_settings_sidebar/style_tab/symbol.rs +3 -3
  49. package/src/rust/components/column_settings_sidebar/style_tab.rs +23 -83
  50. package/src/rust/components/{column_settings_sidebar/sidebar.rs → column_settings_sidebar.rs} +198 -171
  51. package/src/rust/components/containers/dragdrop_list.rs +20 -20
  52. package/src/rust/components/containers/dropdown_menu.rs +4 -6
  53. package/src/rust/components/containers/mod.rs +1 -4
  54. package/src/rust/components/containers/scroll_panel.rs +80 -80
  55. package/src/rust/components/containers/scroll_panel_item.rs +36 -36
  56. package/src/rust/components/containers/select.rs +46 -44
  57. package/src/rust/components/containers/sidebar.rs +3 -19
  58. package/src/rust/components/{column_settings_sidebar/style_tab/symbol/symbol_config.rs → containers/sidebar_close_button.rs} +15 -9
  59. package/src/rust/components/containers/split_panel.rs +212 -200
  60. package/src/rust/components/containers/tab_list.rs +11 -11
  61. package/src/rust/components/copy_dropdown.rs +22 -25
  62. package/src/rust/components/datetime_column_style/custom.rs +19 -19
  63. package/src/rust/components/datetime_column_style/simple.rs +13 -14
  64. package/src/rust/components/datetime_column_style.rs +75 -76
  65. package/src/rust/components/editable_header.rs +18 -14
  66. package/src/rust/components/empty_row.rs +5 -5
  67. package/src/rust/components/export_dropdown.rs +42 -42
  68. package/src/rust/components/expression_editor.rs +25 -19
  69. package/src/rust/components/filter_dropdown.rs +22 -22
  70. package/src/rust/components/font_loader.rs +11 -9
  71. package/src/rust/components/form/code_editor.rs +106 -105
  72. package/src/rust/components/form/color_range_selector.rs +14 -12
  73. package/src/rust/components/form/color_selector.rs +3 -1
  74. package/src/rust/components/form/debug.rs +95 -94
  75. package/src/rust/components/form/highlight.rs +5 -3
  76. package/src/rust/components/form/mod.rs +3 -2
  77. package/src/rust/components/form/optional_field.rs +2 -2
  78. package/src/rust/components/form/{select_field.rs → select_enum_field.rs} +1 -46
  79. package/src/rust/components/form/select_value_field.rs +64 -0
  80. package/src/rust/components/function_dropdown.rs +21 -21
  81. package/src/rust/components/main_panel.rs +219 -0
  82. package/src/rust/components/mod.rs +6 -6
  83. package/src/rust/components/modal.rs +42 -42
  84. package/src/rust/components/number_column_style.rs +34 -88
  85. package/src/rust/components/plugin_selector.rs +22 -25
  86. package/src/rust/components/render_warning.rs +9 -6
  87. package/src/rust/components/settings_panel.rs +82 -0
  88. package/src/rust/components/status_bar.rs +250 -146
  89. package/src/rust/components/status_bar_counter.rs +26 -119
  90. package/src/rust/components/status_indicator.rs +95 -79
  91. package/src/rust/components/string_column_style.rs +45 -45
  92. package/src/rust/components/style/style_provider.rs +1 -15
  93. package/src/rust/components/style_controls/number_string_format/digits_section.rs +1 -1
  94. package/src/rust/components/style_controls/number_string_format/misc_section.rs +1 -1
  95. package/src/rust/components/style_controls/number_string_format/style_section.rs +1 -1
  96. package/src/rust/components/style_controls/number_string_format.rs +45 -46
  97. package/src/rust/components/type_icon.rs +14 -11
  98. package/src/rust/components/viewer.rs +241 -384
  99. package/src/rust/config/columns_config.rs +2 -2
  100. package/src/rust/config/datetime_column_style.rs +1 -6
  101. package/src/rust/config/mod.rs +1 -0
  102. package/src/rust/config/number_column_style.rs +0 -6
  103. package/src/rust/config/number_string_format.rs +27 -4
  104. package/src/rust/config/viewer_config.rs +27 -167
  105. package/src/rust/custom_elements/copy_dropdown.rs +14 -6
  106. package/src/rust/custom_elements/export_dropdown.rs +15 -7
  107. package/src/rust/custom_elements/filter_dropdown.rs +4 -4
  108. package/src/rust/custom_elements/mod.rs +3 -0
  109. package/src/rust/custom_elements/viewer.rs +367 -169
  110. package/src/rust/custom_events.rs +55 -32
  111. package/src/rust/dragdrop.rs +4 -24
  112. package/src/rust/exprtk/cursor.rs +10 -1
  113. package/src/rust/exprtk/mod.rs +2 -0
  114. package/src/rust/exprtk/tokenize.rs +20 -3
  115. package/src/rust/js/clipboard.rs +2 -2
  116. package/src/rust/js/mimetype.rs +2 -7
  117. package/src/rust/js/mod.rs +0 -1
  118. package/src/rust/js/plugin.rs +7 -0
  119. package/src/rust/lib.rs +18 -5
  120. package/src/rust/model/column_locator.rs +82 -0
  121. package/src/rust/model/columns_iter_set.rs +1 -0
  122. package/src/rust/model/copy_export.rs +50 -14
  123. package/src/rust/model/edit_expression.rs +2 -5
  124. package/src/rust/model/eject.rs +41 -0
  125. package/src/rust/model/get_viewer_config.rs +4 -28
  126. package/src/rust/model/intersection_observer.rs +20 -8
  127. package/src/rust/model/mod.rs +11 -4
  128. package/src/rust/model/plugin_column_styles.rs +0 -31
  129. package/src/rust/model/reset_all.rs +38 -0
  130. package/src/rust/model/resize_observer.rs +34 -7
  131. package/src/rust/model/restore_and_render.rs +12 -7
  132. package/src/rust/{utils/scope.rs → model/send_plugin_config.rs} +32 -35
  133. package/src/rust/model/structural.rs +194 -23
  134. package/src/rust/model/update_and_render.rs +14 -4
  135. package/src/rust/{model/create_col.rs → presentation/column_locator.rs} +73 -42
  136. package/src/rust/{utils/wasm_abi.rs → presentation/sheets.rs} +54 -40
  137. package/src/rust/presentation.rs +60 -119
  138. package/src/rust/renderer/activate.rs +20 -5
  139. package/src/rust/renderer/limits.rs +0 -149
  140. package/src/rust/renderer/render_timer.rs +1 -1
  141. package/src/rust/renderer.rs +34 -18
  142. package/src/rust/root.rs +50 -0
  143. package/src/rust/session/column_defaults_update.rs +4 -4
  144. package/src/rust/session/drag_drop_update.rs +1 -1
  145. package/src/rust/session/metadata.rs +3 -17
  146. package/src/rust/session/replace_expression_update.rs +1 -2
  147. package/src/rust/session.rs +162 -82
  148. package/src/rust/utils/browser/blob.rs +16 -2
  149. package/src/rust/utils/browser/download.rs +1 -0
  150. package/src/rust/{components/column_settings_sidebar/mod.rs → utils/browser/dragdrop.rs} +14 -5
  151. package/src/rust/utils/browser/mod.rs +8 -4
  152. package/src/rust/utils/browser/selection.rs +5 -0
  153. package/src/rust/utils/custom_element.rs +28 -13
  154. package/src/rust/utils/datetime.rs +5 -0
  155. package/src/rust/utils/debounce.rs +7 -1
  156. package/src/rust/utils/hooks/use_async_callback.rs +7 -17
  157. package/src/rust/utils/mod.rs +28 -40
  158. package/src/rust/utils/number_format.rs +6 -5
  159. package/src/rust/utils/pubsub.rs +15 -10
  160. package/src/rust/utils/weak_scope.rs +11 -1
  161. package/src/svg/bookmark-icon.svg +4 -0
  162. package/src/svg/drag-handle copy.svg +10 -0
  163. package/src/svg/drawer-tab-hover.svg +5 -7
  164. package/src/svg/drawer-tab-invert-hover.svg +4 -8
  165. package/src/svg/drawer-tab-invert.svg +4 -7
  166. package/src/svg/drawer-tab.svg +4 -6
  167. package/src/svg/status_ok.svg +24 -24
  168. package/src/ts/extensions.ts +51 -3
  169. package/src/ts/perspective-viewer.ts +2 -14
  170. package/src/ts/plugin.ts +1 -1
  171. package/src/ts/ts-rs/ViewerConfigUpdate.ts +1 -1
  172. package/src/rust/components/column_settings_sidebar/style_tab/column_style.rs +0 -177
  173. package/src/rust/components/containers/tests/mod.rs +0 -11
  174. package/src/rust/components/containers/tests/split_panel.rs +0 -91
  175. package/src/rust/js/testing.rs +0 -149
  176. package/src/rust/utils/tee.rs +0 -88
  177. /package/dist/wasm/snippets/{perspective-viewer-9a89352df1552d2b → perspective-viewer-11a3c51b6310ee99}/inline0.js +0 -0
  178. /package/dist/wasm/snippets/{perspective-viewer-9a89352df1552d2b → perspective-viewer-11a3c51b6310ee99}/inline1.js +0 -0
  179. /package/dist/wasm/snippets/{perspective-viewer-9a89352df1552d2b → perspective-viewer-11a3c51b6310ee99}/inline2.js +0 -0
  180. /package/dist/wasm/snippets/{perspective-viewer-9a89352df1552d2b → perspective-viewer-11a3c51b6310ee99}/inline3.js +0 -0
  181. /package/dist/wasm/snippets/{perspective-viewer-9a89352df1552d2b → perspective-viewer-11a3c51b6310ee99}/inline4.js +0 -0
  182. /package/src/rust/components/{style_controls.rs → style_controls/mod.rs} +0 -0
  183. /package/src/rust/{components/containers → config}/kvpair.rs +0 -0
@@ -1,19 +1,17 @@
1
- import { ClipboardItem } from './snippets/perspective-viewer-9a89352df1552d2b/inline0.js';
2
- import { IntersectionObserver } from './snippets/perspective-viewer-9a89352df1552d2b/inline1.js';
3
- import { ResizeObserver } from './snippets/perspective-viewer-9a89352df1552d2b/inline2.js';
4
- import { bootstrap } from './snippets/perspective-viewer-9a89352df1552d2b/inline3.js';
5
- import { psp } from './snippets/perspective-viewer-9a89352df1552d2b/inline4.js';
1
+ import { ClipboardItem } from './snippets/perspective-viewer-11a3c51b6310ee99/inline0.js';
2
+ import { IntersectionObserver } from './snippets/perspective-viewer-11a3c51b6310ee99/inline1.js';
3
+ import { ResizeObserver } from './snippets/perspective-viewer-11a3c51b6310ee99/inline2.js';
4
+ import { bootstrap } from './snippets/perspective-viewer-11a3c51b6310ee99/inline3.js';
5
+ import { psp } from './snippets/perspective-viewer-11a3c51b6310ee99/inline4.js';
6
6
 
7
7
  let wasm;
8
8
 
9
- const heap = new Array(128).fill(undefined);
9
+ let heap = new Array(128).fill(undefined);
10
10
 
11
11
  heap.push(undefined, null, true, false);
12
12
 
13
13
  function getObject(idx) { return heap[idx]; }
14
14
 
15
- let WASM_VECTOR_LEN = 0;
16
-
17
15
  let cachedUint8ArrayMemory0 = null;
18
16
 
19
17
  function getUint8ArrayMemory0() {
@@ -23,11 +21,49 @@ function getUint8ArrayMemory0() {
23
21
  return cachedUint8ArrayMemory0;
24
22
  }
25
23
 
26
- const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
24
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
27
25
 
28
- const encodeString = function (arg, view) {
29
- return cachedTextEncoder.encodeInto(arg, view);
30
- };
26
+ cachedTextDecoder.decode();
27
+
28
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
29
+ let numBytesDecoded = 0;
30
+ function decodeText(ptr, len) {
31
+ numBytesDecoded += len;
32
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
33
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
34
+ cachedTextDecoder.decode();
35
+ numBytesDecoded = len;
36
+ }
37
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
38
+ }
39
+
40
+ function getStringFromWasm0(ptr, len) {
41
+ ptr = ptr >>> 0;
42
+ return decodeText(ptr, len);
43
+ }
44
+
45
+ function getCachedStringFromWasm0(ptr, len) {
46
+ if (ptr === 0) {
47
+ return getObject(len);
48
+ } else {
49
+ return getStringFromWasm0(ptr, len);
50
+ }
51
+ }
52
+
53
+ let heap_next = heap.length;
54
+
55
+ function addHeapObject(obj) {
56
+ if (heap_next === heap.length) heap.push(heap.length + 1);
57
+ const idx = heap_next;
58
+ heap_next = heap[idx];
59
+
60
+ heap[idx] = obj;
61
+ return idx;
62
+ }
63
+
64
+ let WASM_VECTOR_LEN = 0;
65
+
66
+ const cachedTextEncoder = new TextEncoder();
31
67
 
32
68
  function passStringToWasm0(arg, malloc, realloc) {
33
69
 
@@ -58,7 +94,7 @@ function passStringToWasm0(arg, malloc, realloc) {
58
94
  }
59
95
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
60
96
  const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
61
- const ret = encodeString(arg, view);
97
+ const ret = cachedTextEncoder.encodeInto(arg, view);
62
98
 
63
99
  offset += ret.written;
64
100
  ptr = realloc(ptr, len, offset, 1) >>> 0;
@@ -77,38 +113,83 @@ function getDataViewMemory0() {
77
113
  return cachedDataViewMemory0;
78
114
  }
79
115
 
80
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
81
-
82
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
83
-
84
- function getStringFromWasm0(ptr, len) {
85
- ptr = ptr >>> 0;
86
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
116
+ function isLikeNone(x) {
117
+ return x === undefined || x === null;
87
118
  }
88
119
 
89
- let heap_next = heap.length;
90
-
91
- function addHeapObject(obj) {
92
- if (heap_next === heap.length) heap.push(heap.length + 1);
93
- const idx = heap_next;
94
- heap_next = heap[idx];
95
-
96
- heap[idx] = obj;
97
- return idx;
120
+ function debugString(val) {
121
+ // primitive types
122
+ const type = typeof val;
123
+ if (type == 'number' || type == 'boolean' || val == null) {
124
+ return `${val}`;
125
+ }
126
+ if (type == 'string') {
127
+ return `"${val}"`;
128
+ }
129
+ if (type == 'symbol') {
130
+ const description = val.description;
131
+ if (description == null) {
132
+ return 'Symbol';
133
+ } else {
134
+ return `Symbol(${description})`;
135
+ }
136
+ }
137
+ if (type == 'function') {
138
+ const name = val.name;
139
+ if (typeof name == 'string' && name.length > 0) {
140
+ return `Function(${name})`;
141
+ } else {
142
+ return 'Function';
143
+ }
144
+ }
145
+ // objects
146
+ if (Array.isArray(val)) {
147
+ const length = val.length;
148
+ let debug = '[';
149
+ if (length > 0) {
150
+ debug += debugString(val[0]);
151
+ }
152
+ for(let i = 1; i < length; i++) {
153
+ debug += ', ' + debugString(val[i]);
154
+ }
155
+ debug += ']';
156
+ return debug;
157
+ }
158
+ // Test for built-in
159
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
160
+ let className;
161
+ if (builtInMatches && builtInMatches.length > 1) {
162
+ className = builtInMatches[1];
163
+ } else {
164
+ // Failed to match the standard '[object ClassName]'
165
+ return toString.call(val);
166
+ }
167
+ if (className == 'Object') {
168
+ // we're a user defined class or Object
169
+ // JSON.stringify avoids problems with cycles, and is generally much
170
+ // easier than looping through ownProperties of `val`.
171
+ try {
172
+ return 'Object(' + JSON.stringify(val) + ')';
173
+ } catch (_) {
174
+ return 'Object';
175
+ }
176
+ }
177
+ // errors
178
+ if (val instanceof Error) {
179
+ return `${val.name}: ${val.message}\n${val.stack}`;
180
+ }
181
+ // TODO we could test for more things here, like `Set`s and `Map`s.
182
+ return className;
98
183
  }
99
184
 
100
185
  function handleError(f, args) {
101
186
  try {
102
187
  return f.apply(this, args);
103
188
  } catch (e) {
104
- wasm.__wbindgen_export_2(addHeapObject(e));
189
+ wasm.__wbindgen_export3(addHeapObject(e));
105
190
  }
106
191
  }
107
192
 
108
- function isLikeNone(x) {
109
- return x === undefined || x === null;
110
- }
111
-
112
193
  function dropObject(idx) {
113
194
  if (idx < 132) return;
114
195
  heap[idx] = heap_next;
@@ -138,13 +219,12 @@ function getArrayU8FromWasm0(ptr, len) {
138
219
 
139
220
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
140
221
  ? { register: () => {}, unregister: () => {} }
141
- : new FinalizationRegistry(state => {
142
- wasm.__wbindgen_export_4.get(state.dtor)(state.a, state.b)
143
- });
222
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
144
223
 
145
224
  function makeClosure(arg0, arg1, dtor, f) {
146
225
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
147
226
  const real = (...args) => {
227
+
148
228
  // First up with a closure we increment the internal reference
149
229
  // count. This ensures that the Rust closure environment won't
150
230
  // be deallocated while we're invoking it.
@@ -152,14 +232,16 @@ function makeClosure(arg0, arg1, dtor, f) {
152
232
  try {
153
233
  return f(state.a, state.b, ...args);
154
234
  } finally {
155
- if (--state.cnt === 0) {
156
- wasm.__wbindgen_export_4.get(state.dtor)(state.a, state.b);
157
- state.a = 0;
158
- CLOSURE_DTORS.unregister(state);
159
- }
235
+ real._wbg_cb_unref();
236
+ }
237
+ };
238
+ real._wbg_cb_unref = () => {
239
+ if (--state.cnt === 0) {
240
+ state.dtor(state.a, state.b);
241
+ state.a = 0;
242
+ CLOSURE_DTORS.unregister(state);
160
243
  }
161
244
  };
162
- real.original = state;
163
245
  CLOSURE_DTORS.register(real, state, state);
164
246
  return real;
165
247
  }
@@ -167,6 +249,7 @@ function makeClosure(arg0, arg1, dtor, f) {
167
249
  function makeMutClosure(arg0, arg1, dtor, f) {
168
250
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
169
251
  const real = (...args) => {
252
+
170
253
  // First up with a closure we increment the internal reference
171
254
  // count. This ensures that the Rust closure environment won't
172
255
  // be deallocated while we're invoking it.
@@ -176,84 +259,21 @@ function makeMutClosure(arg0, arg1, dtor, f) {
176
259
  try {
177
260
  return f(a, state.b, ...args);
178
261
  } finally {
179
- if (--state.cnt === 0) {
180
- wasm.__wbindgen_export_4.get(state.dtor)(a, state.b);
181
- CLOSURE_DTORS.unregister(state);
182
- } else {
183
- state.a = a;
184
- }
262
+ state.a = a;
263
+ real._wbg_cb_unref();
264
+ }
265
+ };
266
+ real._wbg_cb_unref = () => {
267
+ if (--state.cnt === 0) {
268
+ state.dtor(state.a, state.b);
269
+ state.a = 0;
270
+ CLOSURE_DTORS.unregister(state);
185
271
  }
186
272
  };
187
- real.original = state;
188
273
  CLOSURE_DTORS.register(real, state, state);
189
274
  return real;
190
275
  }
191
276
 
192
- function debugString(val) {
193
- // primitive types
194
- const type = typeof val;
195
- if (type == 'number' || type == 'boolean' || val == null) {
196
- return `${val}`;
197
- }
198
- if (type == 'string') {
199
- return `"${val}"`;
200
- }
201
- if (type == 'symbol') {
202
- const description = val.description;
203
- if (description == null) {
204
- return 'Symbol';
205
- } else {
206
- return `Symbol(${description})`;
207
- }
208
- }
209
- if (type == 'function') {
210
- const name = val.name;
211
- if (typeof name == 'string' && name.length > 0) {
212
- return `Function(${name})`;
213
- } else {
214
- return 'Function';
215
- }
216
- }
217
- // objects
218
- if (Array.isArray(val)) {
219
- const length = val.length;
220
- let debug = '[';
221
- if (length > 0) {
222
- debug += debugString(val[0]);
223
- }
224
- for(let i = 1; i < length; i++) {
225
- debug += ', ' + debugString(val[i]);
226
- }
227
- debug += ']';
228
- return debug;
229
- }
230
- // Test for built-in
231
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
232
- let className;
233
- if (builtInMatches && builtInMatches.length > 1) {
234
- className = builtInMatches[1];
235
- } else {
236
- // Failed to match the standard '[object ClassName]'
237
- return toString.call(val);
238
- }
239
- if (className == 'Object') {
240
- // we're a user defined class or Object
241
- // JSON.stringify avoids problems with cycles, and is generally much
242
- // easier than looping through ownProperties of `val`.
243
- try {
244
- return 'Object(' + JSON.stringify(val) + ')';
245
- } catch (_) {
246
- return 'Object';
247
- }
248
- }
249
- // errors
250
- if (val instanceof Error) {
251
- return `${val.name}: ${val.message}\n${val.stack}`;
252
- }
253
- // TODO we could test for more things here, like `Set`s and `Map`s.
254
- return className;
255
- }
256
-
257
277
  function _assertClass(instance, klass) {
258
278
  if (!(instance instanceof klass)) {
259
279
  throw new Error(`expected instance of ${klass.name}`);
@@ -274,7 +294,7 @@ function passArrayJsValueToWasm0(array, malloc) {
274
294
  * @param {string} name
275
295
  */
276
296
  export function registerPlugin(name) {
277
- const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
297
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
278
298
  const len0 = WASM_VECTOR_LEN;
279
299
  wasm.registerPlugin(ptr0, len0);
280
300
  }
@@ -298,18 +318,25 @@ function addBorrowedObject(obj) {
298
318
  heap[--stack_pointer] = obj;
299
319
  return stack_pointer;
300
320
  }
301
- function __wbg_adapter_52(arg0, arg1, arg2) {
302
- wasm.__wbindgen_export_5(arg0, arg1, addHeapObject(arg2));
321
+
322
+ function passArray8ToWasm0(arg, malloc) {
323
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
324
+ getUint8ArrayMemory0().set(arg, ptr / 1);
325
+ WASM_VECTOR_LEN = arg.length;
326
+ return ptr;
327
+ }
328
+ function __wasm_bindgen_func_elem_5618(arg0, arg1, arg2) {
329
+ wasm.__wasm_bindgen_func_elem_5618(arg0, arg1, addHeapObject(arg2));
303
330
  }
304
331
 
305
- function __wbg_adapter_55(arg0, arg1, arg2) {
306
- wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
332
+ function __wasm_bindgen_func_elem_18148(arg0, arg1) {
333
+ wasm.__wasm_bindgen_func_elem_18148(arg0, arg1);
307
334
  }
308
335
 
309
- function __wbg_adapter_60(arg0, arg1) {
336
+ function __wasm_bindgen_func_elem_5616(arg0, arg1) {
310
337
  try {
311
338
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
312
- wasm.__wbindgen_export_7(retptr, arg0, arg1);
339
+ wasm.__wasm_bindgen_func_elem_5616(retptr, arg0, arg1);
313
340
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
314
341
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
315
342
  if (r1) {
@@ -320,29 +347,29 @@ function __wbg_adapter_60(arg0, arg1) {
320
347
  }
321
348
  }
322
349
 
323
- function __wbg_adapter_65(arg0, arg1) {
324
- const ret = wasm.__wbindgen_export_8(arg0, arg1);
350
+ function __wasm_bindgen_func_elem_5617(arg0, arg1, arg2) {
351
+ wasm.__wasm_bindgen_func_elem_5617(arg0, arg1, addHeapObject(arg2));
352
+ }
353
+
354
+ function __wasm_bindgen_func_elem_13059(arg0, arg1) {
355
+ const ret = wasm.__wasm_bindgen_func_elem_13059(arg0, arg1);
325
356
  return takeObject(ret);
326
357
  }
327
358
 
328
- function __wbg_adapter_68(arg0, arg1, arg2) {
359
+ function __wasm_bindgen_func_elem_18169(arg0, arg1, arg2) {
360
+ wasm.__wasm_bindgen_func_elem_18169(arg0, arg1, addHeapObject(arg2));
361
+ }
362
+
363
+ function __wasm_bindgen_func_elem_17223(arg0, arg1, arg2) {
329
364
  try {
330
- wasm.__wbindgen_export_9(arg0, arg1, addBorrowedObject(arg2));
365
+ wasm.__wasm_bindgen_func_elem_17223(arg0, arg1, addBorrowedObject(arg2));
331
366
  } finally {
332
367
  heap[stack_pointer++] = undefined;
333
368
  }
334
369
  }
335
370
 
336
- function __wbg_adapter_71(arg0, arg1) {
337
- wasm.__wbindgen_export_10(arg0, arg1);
338
- }
339
-
340
- function __wbg_adapter_74(arg0, arg1, arg2) {
341
- wasm.__wbindgen_export_11(arg0, arg1, addHeapObject(arg2));
342
- }
343
-
344
- function __wbg_adapter_735(arg0, arg1, arg2, arg3) {
345
- wasm.__wbindgen_export_12(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
371
+ function __wasm_bindgen_func_elem_19856(arg0, arg1, arg2, arg3) {
372
+ wasm.__wasm_bindgen_func_elem_19856(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
346
373
  }
347
374
 
348
375
  const __wbindgen_enum_ShadowRootMode = ["open", "closed"];
@@ -413,19 +440,16 @@ export class Client {
413
440
  * @returns {string}
414
441
  */
415
442
  __getClassname() {
416
- let deferred1_0;
417
- let deferred1_1;
418
443
  try {
419
444
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
420
445
  wasm.client___getClassname(retptr, this.__wbg_ptr);
421
446
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
422
447
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
423
- deferred1_0 = r0;
424
- deferred1_1 = r1;
425
- return getStringFromWasm0(r0, r1);
448
+ var v1 = getCachedStringFromWasm0(r0, r1);
449
+ if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
450
+ return v1;
426
451
  } finally {
427
452
  wasm.__wbindgen_add_to_stack_pointer(16);
428
- wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
429
453
  }
430
454
  }
431
455
  /**
@@ -475,7 +499,7 @@ export class Client {
475
499
  * @returns {Promise<void>}
476
500
  */
477
501
  handle_error(error, reconnect) {
478
- const ptr0 = passStringToWasm0(error, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
502
+ const ptr0 = passStringToWasm0(error, wasm.__wbindgen_export, wasm.__wbindgen_export2);
479
503
  const len0 = WASM_VECTOR_LEN;
480
504
  const ret = wasm.client_handle_error(this.__wbg_ptr, ptr0, len0, isLikeNone(reconnect) ? 0 : addHeapObject(reconnect));
481
505
  return takeObject(ret);
@@ -562,7 +586,7 @@ export class Client {
562
586
  * ```javascript
563
587
  * const table = await client.table(data, { index: "Row ID" });
564
588
  * ```
565
- * @param {string | ArrayBuffer | Record<string, unknown[]> | Record<string, unknown>[]} value
589
+ * @param {string | ArrayBuffer | Record<string, unknown[]> | Record<string, unknown>[] | Record<string, ColumnType>} value
566
590
  * @param {TableInitOptions | null} [options]
567
591
  * @returns {Promise<Table>}
568
592
  */
@@ -609,7 +633,7 @@ export class Client {
609
633
  * @returns {Promise<Table>}
610
634
  */
611
635
  open_table(entity_id) {
612
- const ptr0 = passStringToWasm0(entity_id, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
636
+ const ptr0 = passStringToWasm0(entity_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
613
637
  const len0 = WASM_VECTOR_LEN;
614
638
  const ret = wasm.client_open_table(this.__wbg_ptr, ptr0, len0);
615
639
  return takeObject(ret);
@@ -627,7 +651,7 @@ export class Client {
627
651
  * ```javascript
628
652
  * const tables = await client.get_hosted_table_names();
629
653
  * ```
630
- * @returns {Promise<any>}
654
+ * @returns {Promise<string[]>}
631
655
  */
632
656
  get_hosted_table_names() {
633
657
  const ret = wasm.client_get_hosted_table_names(this.__wbg_ptr);
@@ -673,6 +697,7 @@ export class Client {
673
697
  return takeObject(ret);
674
698
  }
675
699
  }
700
+ if (Symbol.dispose) Client.prototype[Symbol.dispose] = Client.prototype.free;
676
701
 
677
702
  const ColumnDropDownElementFinalization = (typeof FinalizationRegistry === 'undefined')
678
703
  ? { register: () => {}, unregister: () => {} }
@@ -692,6 +717,7 @@ export class ColumnDropDownElement {
692
717
  wasm.__wbg_columndropdownelement_free(ptr, 0);
693
718
  }
694
719
  }
720
+ if (Symbol.dispose) ColumnDropDownElement.prototype[Symbol.dispose] = ColumnDropDownElement.prototype.free;
695
721
 
696
722
  const CopyDropDownMenuElementFinalization = (typeof FinalizationRegistry === 'undefined')
697
723
  ? { register: () => {}, unregister: () => {} }
@@ -744,14 +770,15 @@ export class CopyDropDownMenuElement {
744
770
  * Set this custom element model's raw pointer.
745
771
  * @param {PerspectiveViewerElement} parent
746
772
  */
747
- set_model(parent) {
773
+ __set_model(parent) {
748
774
  _assertClass(parent, PerspectiveViewerElement);
749
- wasm.copydropdownmenuelement_set_model(this.__wbg_ptr, parent.__wbg_ptr);
775
+ wasm.copydropdownmenuelement___set_model(this.__wbg_ptr, parent.__wbg_ptr);
750
776
  }
751
777
  connected_callback() {
752
778
  wasm.copydropdownmenuelement_connected_callback(this.__wbg_ptr);
753
779
  }
754
780
  }
781
+ if (Symbol.dispose) CopyDropDownMenuElement.prototype[Symbol.dispose] = CopyDropDownMenuElement.prototype.free;
755
782
 
756
783
  const ExportDropDownMenuElementFinalization = (typeof FinalizationRegistry === 'undefined')
757
784
  ? { register: () => {}, unregister: () => {} }
@@ -804,14 +831,15 @@ export class ExportDropDownMenuElement {
804
831
  * Set this custom element model's raw pointer.
805
832
  * @param {PerspectiveViewerElement} parent
806
833
  */
807
- set_model(parent) {
834
+ __set_model(parent) {
808
835
  _assertClass(parent, PerspectiveViewerElement);
809
- wasm.exportdropdownmenuelement_set_model(this.__wbg_ptr, parent.__wbg_ptr);
836
+ wasm.exportdropdownmenuelement___set_model(this.__wbg_ptr, parent.__wbg_ptr);
810
837
  }
811
838
  connected_callback() {
812
839
  wasm.copydropdownmenuelement_connected_callback(this.__wbg_ptr);
813
840
  }
814
841
  }
842
+ if (Symbol.dispose) ExportDropDownMenuElement.prototype[Symbol.dispose] = ExportDropDownMenuElement.prototype.free;
815
843
 
816
844
  const FilterDropDownElementFinalization = (typeof FinalizationRegistry === 'undefined')
817
845
  ? { register: () => {}, unregister: () => {} }
@@ -831,6 +859,7 @@ export class FilterDropDownElement {
831
859
  wasm.__wbg_filterdropdownelement_free(ptr, 0);
832
860
  }
833
861
  }
862
+ if (Symbol.dispose) FilterDropDownElement.prototype[Symbol.dispose] = FilterDropDownElement.prototype.free;
834
863
 
835
864
  const FunctionDropDownElementFinalization = (typeof FinalizationRegistry === 'undefined')
836
865
  ? { register: () => {}, unregister: () => {} }
@@ -850,6 +879,220 @@ export class FunctionDropDownElement {
850
879
  wasm.__wbg_functiondropdownelement_free(ptr, 0);
851
880
  }
852
881
  }
882
+ if (Symbol.dispose) FunctionDropDownElement.prototype[Symbol.dispose] = FunctionDropDownElement.prototype.free;
883
+
884
+ const JsVirtualDataSliceFinalization = (typeof FinalizationRegistry === 'undefined')
885
+ ? { register: () => {}, unregister: () => {} }
886
+ : new FinalizationRegistry(ptr => wasm.__wbg_jsvirtualdataslice_free(ptr >>> 0, 1));
887
+
888
+ export class JsVirtualDataSlice {
889
+
890
+ static __wrap(ptr) {
891
+ ptr = ptr >>> 0;
892
+ const obj = Object.create(JsVirtualDataSlice.prototype);
893
+ obj.__wbg_ptr = ptr;
894
+ JsVirtualDataSliceFinalization.register(obj, obj.__wbg_ptr, obj);
895
+ return obj;
896
+ }
897
+
898
+ __destroy_into_raw() {
899
+ const ptr = this.__wbg_ptr;
900
+ this.__wbg_ptr = 0;
901
+ JsVirtualDataSliceFinalization.unregister(this);
902
+ return ptr;
903
+ }
904
+
905
+ free() {
906
+ const ptr = this.__destroy_into_raw();
907
+ wasm.__wbg_jsvirtualdataslice_free(ptr, 0);
908
+ }
909
+ constructor() {
910
+ const ret = wasm.jsvirtualdataslice_new();
911
+ this.__wbg_ptr = ret >>> 0;
912
+ JsVirtualDataSliceFinalization.register(this, this.__wbg_ptr, this);
913
+ return this;
914
+ }
915
+ /**
916
+ * @param {string} dtype
917
+ * @param {string} name
918
+ * @param {number} index
919
+ * @param {any} val
920
+ * @param {number | null} [group_by_index]
921
+ */
922
+ setCol(dtype, name, index, val, group_by_index) {
923
+ try {
924
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
925
+ const ptr0 = passStringToWasm0(dtype, wasm.__wbindgen_export, wasm.__wbindgen_export2);
926
+ const len0 = WASM_VECTOR_LEN;
927
+ const ptr1 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
928
+ const len1 = WASM_VECTOR_LEN;
929
+ wasm.jsvirtualdataslice_setCol(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, index, addHeapObject(val), isLikeNone(group_by_index) ? 0x100000001 : (group_by_index) >>> 0);
930
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
931
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
932
+ if (r1) {
933
+ throw takeObject(r0);
934
+ }
935
+ } finally {
936
+ wasm.__wbindgen_add_to_stack_pointer(16);
937
+ }
938
+ }
939
+ /**
940
+ * @param {string} name
941
+ * @param {number} index
942
+ * @param {any} val
943
+ * @param {number | null} [group_by_index]
944
+ */
945
+ setStringCol(name, index, val, group_by_index) {
946
+ try {
947
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
948
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
949
+ const len0 = WASM_VECTOR_LEN;
950
+ wasm.jsvirtualdataslice_setStringCol(retptr, this.__wbg_ptr, ptr0, len0, index, addHeapObject(val), isLikeNone(group_by_index) ? 0x100000001 : (group_by_index) >>> 0);
951
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
952
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
953
+ if (r1) {
954
+ throw takeObject(r0);
955
+ }
956
+ } finally {
957
+ wasm.__wbindgen_add_to_stack_pointer(16);
958
+ }
959
+ }
960
+ /**
961
+ * @param {string} name
962
+ * @param {number} index
963
+ * @param {any} val
964
+ * @param {number | null} [group_by_index]
965
+ */
966
+ setIntegerCol(name, index, val, group_by_index) {
967
+ try {
968
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
969
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
970
+ const len0 = WASM_VECTOR_LEN;
971
+ wasm.jsvirtualdataslice_setIntegerCol(retptr, this.__wbg_ptr, ptr0, len0, index, addHeapObject(val), isLikeNone(group_by_index) ? 0x100000001 : (group_by_index) >>> 0);
972
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
973
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
974
+ if (r1) {
975
+ throw takeObject(r0);
976
+ }
977
+ } finally {
978
+ wasm.__wbindgen_add_to_stack_pointer(16);
979
+ }
980
+ }
981
+ /**
982
+ * @param {string} name
983
+ * @param {number} index
984
+ * @param {any} val
985
+ * @param {number | null} [group_by_index]
986
+ */
987
+ setFloatCol(name, index, val, group_by_index) {
988
+ try {
989
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
990
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
991
+ const len0 = WASM_VECTOR_LEN;
992
+ wasm.jsvirtualdataslice_setFloatCol(retptr, this.__wbg_ptr, ptr0, len0, index, addHeapObject(val), isLikeNone(group_by_index) ? 0x100000001 : (group_by_index) >>> 0);
993
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
994
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
995
+ if (r1) {
996
+ throw takeObject(r0);
997
+ }
998
+ } finally {
999
+ wasm.__wbindgen_add_to_stack_pointer(16);
1000
+ }
1001
+ }
1002
+ /**
1003
+ * @param {string} name
1004
+ * @param {number} index
1005
+ * @param {any} val
1006
+ * @param {number | null} [group_by_index]
1007
+ */
1008
+ setBooleanCol(name, index, val, group_by_index) {
1009
+ try {
1010
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1011
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1012
+ const len0 = WASM_VECTOR_LEN;
1013
+ wasm.jsvirtualdataslice_setBooleanCol(retptr, this.__wbg_ptr, ptr0, len0, index, addHeapObject(val), isLikeNone(group_by_index) ? 0x100000001 : (group_by_index) >>> 0);
1014
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1015
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1016
+ if (r1) {
1017
+ throw takeObject(r0);
1018
+ }
1019
+ } finally {
1020
+ wasm.__wbindgen_add_to_stack_pointer(16);
1021
+ }
1022
+ }
1023
+ /**
1024
+ * @param {string} name
1025
+ * @param {number} index
1026
+ * @param {any} val
1027
+ * @param {number | null} [group_by_index]
1028
+ */
1029
+ setDatetimeCol(name, index, val, group_by_index) {
1030
+ try {
1031
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1032
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1033
+ const len0 = WASM_VECTOR_LEN;
1034
+ wasm.jsvirtualdataslice_setDatetimeCol(retptr, this.__wbg_ptr, ptr0, len0, index, addHeapObject(val), isLikeNone(group_by_index) ? 0x100000001 : (group_by_index) >>> 0);
1035
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1036
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1037
+ if (r1) {
1038
+ throw takeObject(r0);
1039
+ }
1040
+ } finally {
1041
+ wasm.__wbindgen_add_to_stack_pointer(16);
1042
+ }
1043
+ }
1044
+ }
1045
+ if (Symbol.dispose) JsVirtualDataSlice.prototype[Symbol.dispose] = JsVirtualDataSlice.prototype.free;
1046
+
1047
+ const JsVirtualServerFinalization = (typeof FinalizationRegistry === 'undefined')
1048
+ ? { register: () => {}, unregister: () => {} }
1049
+ : new FinalizationRegistry(ptr => wasm.__wbg_jsvirtualserver_free(ptr >>> 0, 1));
1050
+
1051
+ export class JsVirtualServer {
1052
+
1053
+ __destroy_into_raw() {
1054
+ const ptr = this.__wbg_ptr;
1055
+ this.__wbg_ptr = 0;
1056
+ JsVirtualServerFinalization.unregister(this);
1057
+ return ptr;
1058
+ }
1059
+
1060
+ free() {
1061
+ const ptr = this.__destroy_into_raw();
1062
+ wasm.__wbg_jsvirtualserver_free(ptr, 0);
1063
+ }
1064
+ /**
1065
+ * @param {object} handler
1066
+ */
1067
+ constructor(handler) {
1068
+ try {
1069
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1070
+ wasm.jsvirtualserver_new(retptr, addHeapObject(handler));
1071
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1072
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1073
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1074
+ if (r2) {
1075
+ throw takeObject(r1);
1076
+ }
1077
+ this.__wbg_ptr = r0 >>> 0;
1078
+ JsVirtualServerFinalization.register(this, this.__wbg_ptr, this);
1079
+ return this;
1080
+ } finally {
1081
+ wasm.__wbindgen_add_to_stack_pointer(16);
1082
+ }
1083
+ }
1084
+ /**
1085
+ * @param {Uint8Array} bytes
1086
+ * @returns {Promise<any>}
1087
+ */
1088
+ handleRequest(bytes) {
1089
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_export);
1090
+ const len0 = WASM_VECTOR_LEN;
1091
+ const ret = wasm.jsvirtualserver_handleRequest(this.__wbg_ptr, ptr0, len0);
1092
+ return takeObject(ret);
1093
+ }
1094
+ }
1095
+ if (Symbol.dispose) JsVirtualServer.prototype[Symbol.dispose] = JsVirtualServer.prototype.free;
853
1096
 
854
1097
  const PerspectiveDebugPluginElementFinalization = (typeof FinalizationRegistry === 'undefined')
855
1098
  ? { register: () => {}, unregister: () => {} }
@@ -896,38 +1139,32 @@ export class PerspectiveDebugPluginElement {
896
1139
  * @returns {string}
897
1140
  */
898
1141
  get name() {
899
- let deferred1_0;
900
- let deferred1_1;
901
1142
  try {
902
1143
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
903
1144
  wasm.perspectivedebugpluginelement_name(retptr, this.__wbg_ptr);
904
1145
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
905
1146
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
906
- deferred1_0 = r0;
907
- deferred1_1 = r1;
908
- return getStringFromWasm0(r0, r1);
1147
+ var v1 = getCachedStringFromWasm0(r0, r1);
1148
+ if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
1149
+ return v1;
909
1150
  } finally {
910
1151
  wasm.__wbindgen_add_to_stack_pointer(16);
911
- wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
912
1152
  }
913
1153
  }
914
1154
  /**
915
1155
  * @returns {string}
916
1156
  */
917
1157
  get select_mode() {
918
- let deferred1_0;
919
- let deferred1_1;
920
1158
  try {
921
1159
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
922
1160
  wasm.perspectivedebugpluginelement_select_mode(retptr, this.__wbg_ptr);
923
1161
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
924
1162
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
925
- deferred1_0 = r0;
926
- deferred1_1 = r1;
927
- return getStringFromWasm0(r0, r1);
1163
+ var v1 = getCachedStringFromWasm0(r0, r1);
1164
+ if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
1165
+ return v1;
928
1166
  } finally {
929
1167
  wasm.__wbindgen_add_to_stack_pointer(16);
930
- wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
931
1168
  }
932
1169
  }
933
1170
  /**
@@ -1013,6 +1250,7 @@ export class PerspectiveDebugPluginElement {
1013
1250
  wasm.perspectivedebugpluginelement_connectedCallback(this.__wbg_ptr);
1014
1251
  }
1015
1252
  }
1253
+ if (Symbol.dispose) PerspectiveDebugPluginElement.prototype[Symbol.dispose] = PerspectiveDebugPluginElement.prototype.free;
1016
1254
 
1017
1255
  const PerspectiveViewerElementFinalization = (typeof FinalizationRegistry === 'undefined')
1018
1256
  ? { register: () => {}, unregister: () => {} }
@@ -1028,6 +1266,20 @@ const PerspectiveViewerElementFinalization = (typeof FinalizationRegistry === 'u
1028
1266
  * const viewer = document.createElement("perspective-viewer");
1029
1267
  * window.body.appendChild(viewer);
1030
1268
  * ```
1269
+ *
1270
+ * Complete example including loading and restoring the [`Table`]:
1271
+ *
1272
+ * ```javascript
1273
+ * import perspective from "@perspective-dev/viewer";
1274
+ * import perspective from "@perspective-dev/client";
1275
+ *
1276
+ * const viewer = document.createElement("perspective-viewer");
1277
+ * const worker = await perspective.worker();
1278
+ *
1279
+ * await worker.table("x\n1", {name: "table_one"});
1280
+ * await viewer.load(worker);
1281
+ * await viewer.restore({table: "table_one"});
1282
+ * ```
1031
1283
  */
1032
1284
  export class PerspectiveViewerElement {
1033
1285
 
@@ -1060,18 +1312,53 @@ export class PerspectiveViewerElement {
1060
1312
  return this;
1061
1313
  }
1062
1314
  connectedCallback() {
1063
- wasm.perspectiveviewerelement_connectedCallback(this.__wbg_ptr);
1315
+ try {
1316
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1317
+ wasm.perspectiveviewerelement_connectedCallback(retptr, this.__wbg_ptr);
1318
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1319
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1320
+ if (r1) {
1321
+ throw takeObject(r0);
1322
+ }
1323
+ } finally {
1324
+ wasm.__wbindgen_add_to_stack_pointer(16);
1325
+ }
1064
1326
  }
1065
1327
  /**
1066
- * Loads a [`Table`] (or rather, a Javascript `Promise` which returns a
1067
- * [`Table`]) in this viewer.
1328
+ * Loads a [`Client`], or optionally [`Table`], or optionally a Javascript
1329
+ * `Promise` which returns a [`Client`] or [`Table`], in this viewer.
1330
+ *
1331
+ * Loading a [`Client`] does not render, but subsequent calls to
1332
+ * [`PerspectiveViewerElement::restore`] will use this [`Client`] to look
1333
+ * up the proviced `table` name field for the provided
1334
+ * [`ViewerConfigUpdate`].
1335
+ *
1336
+ * Loading a [`Table`] is equivalent to subsequently calling
1337
+ * [`Self::restore`] with the `table` field set to [`Table::get_name`], and
1338
+ * will render the UI in its default state when [`Self::load`] resolves.
1339
+ * If you plan to call [`Self::restore`] anyway, prefer passing a
1340
+ * [`Client`] argument to [`Self::load`] as it will conserve one render.
1068
1341
  *
1069
1342
  * When [`PerspectiveViewerElement::load`] resolves, the first frame of the
1070
1343
  * UI + visualization is guaranteed to have been drawn. Awaiting the result
1071
1344
  * of this method in a `try`/`catch` block will capture any errors
1072
- * thrown during the loading process, or from the [`Table`] `Promise`
1345
+ * thrown during the loading process, or from the [`Client`] `Promise`
1073
1346
  * itself.
1074
1347
  *
1348
+ * [`PerspectiveViewerElement::load`] may also be called with a [`Table`],
1349
+ * which is equivalent to:
1350
+ *
1351
+ * ```javascript
1352
+ * await viewer.load(await table.get_client());
1353
+ * await viewer.restore({name: await table.get_name()})
1354
+ * ```
1355
+ *
1356
+ * If you plan to call [`PerspectiveViewerElement::restore`] immediately
1357
+ * after [`PerspectiveViewerElement::load`] yourself, as is commonly
1358
+ * done when loading and configuring a new `<perspective-viewer>`, you
1359
+ * should use a [`Client`] as an argument and set the `table` field in the
1360
+ * restore call as
1361
+ *
1075
1362
  * A [`Table`] can be created using the
1076
1363
  * [`@perspective-dev/client`](https://www.npmjs.com/package/@perspective-dev/client)
1077
1364
  * library from NPM (see [`perspective_js`] documentation for details).
@@ -1082,14 +1369,53 @@ export class PerspectiveViewerElement {
1082
1369
  * import perspective from "@perspective-dev/client";
1083
1370
  *
1084
1371
  * const worker = await perspective.worker();
1085
- * viewer.load(worker.table("x,y\n1,2"));
1372
+ * viewer.load(worker);
1373
+ * ```
1374
+ *
1375
+ * ... or
1376
+ *
1377
+ * ```javascript
1378
+ * const table = await worker.table(data, {name: "superstore"});
1379
+ * viewer.load(table);
1380
+ * ```
1381
+ *
1382
+ * Complete example:
1383
+ *
1384
+ * ```javascript
1385
+ * const viewer = document.createElement("perspective-viewer");
1386
+ * const worker = await perspective.worker();
1387
+ *
1388
+ * await worker.table("x\n1", {name: "table_one"});
1389
+ * await viewer.load(worker);
1390
+ * await viewer.restore({table: "table_one", columns: ["x"]});
1391
+ * ```
1392
+ *
1393
+ * ... or, if you don't want to pass your own arguments to `restore`:
1394
+ *
1395
+ * ```javascript
1396
+ * const viewer = document.createElement("perspective-viewer");
1397
+ * const worker = await perspective.worker();
1398
+ *
1399
+ * const table = await worker.table("x\n1", {name: "table_one"});
1400
+ * await viewer.load(table);
1086
1401
  * ```
1087
1402
  * @param {any} table
1088
1403
  * @returns {Promise<any>}
1089
1404
  */
1090
1405
  load(table) {
1091
- const ret = wasm.perspectiveviewerelement_load(this.__wbg_ptr, addHeapObject(table));
1092
- return takeObject(ret);
1406
+ try {
1407
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1408
+ wasm.perspectiveviewerelement_load(retptr, this.__wbg_ptr, addHeapObject(table));
1409
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1410
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1411
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1412
+ if (r2) {
1413
+ throw takeObject(r1);
1414
+ }
1415
+ return takeObject(r0);
1416
+ } finally {
1417
+ wasm.__wbindgen_add_to_stack_pointer(16);
1418
+ }
1093
1419
  }
1094
1420
  /**
1095
1421
  * Delete the internal [`View`] and all associated state, rendering this
@@ -1159,9 +1485,22 @@ export class PerspectiveViewerElement {
1159
1485
  const ret = wasm.perspectiveviewerelement_getView(this.__wbg_ptr);
1160
1486
  return takeObject(ret);
1161
1487
  }
1488
+ /**
1489
+ * Get a copy of the [`ViewConfig`] for the current [`View`]. This is
1490
+ * non-blocking as it does not need to access the plugin (unlike
1491
+ * [`PerspectiveViewerElement::save`]), and also makes no API calls to the
1492
+ * server (unlike [`PerspectiveViewerElement::getView`] followed by
1493
+ * [`View::get_config`])
1494
+ * @returns {Promise<any>}
1495
+ */
1496
+ getViewConfig() {
1497
+ const ret = wasm.perspectiveviewerelement_getViewConfig(this.__wbg_ptr);
1498
+ return takeObject(ret);
1499
+ }
1162
1500
  /**
1163
1501
  * Get the underlying [`Table`] for this viewer (as passed to
1164
- * [`PerspectiveViewerElement::load`]).
1502
+ * [`PerspectiveViewerElement::load`] or as the `table` field to
1503
+ * [`PerspectiveViewerElement::restore`]).
1165
1504
  *
1166
1505
  * # Arguments
1167
1506
  *
@@ -1181,6 +1520,29 @@ export class PerspectiveViewerElement {
1181
1520
  const ret = wasm.perspectiveviewerelement_getTable(this.__wbg_ptr, isLikeNone(wait_for_table) ? 0xFFFFFF : wait_for_table ? 1 : 0);
1182
1521
  return takeObject(ret);
1183
1522
  }
1523
+ /**
1524
+ * Get the underlying [`Client`] for this viewer (as passed to, or
1525
+ * associated with the [`Table`] passed to,
1526
+ * [`PerspectiveViewerElement::load`]).
1527
+ *
1528
+ * # Arguments
1529
+ *
1530
+ * - `wait_for_client` - whether to wait for
1531
+ * [`PerspectiveViewerElement::load`] to be called, or fail immediately
1532
+ * if [`PerspectiveViewerElement::load`] has not yet been called.
1533
+ *
1534
+ * # JavaScript Examples
1535
+ *
1536
+ * ```javascript
1537
+ * const client = await viewer.getClient();
1538
+ * ```
1539
+ * @param {boolean | null} [wait_for_client]
1540
+ * @returns {Promise<any>}
1541
+ */
1542
+ getClient(wait_for_client) {
1543
+ const ret = wasm.perspectiveviewerelement_getClient(this.__wbg_ptr, isLikeNone(wait_for_client) ? 0xFFFFFF : wait_for_client ? 1 : 0);
1544
+ return takeObject(ret);
1545
+ }
1184
1546
  /**
1185
1547
  * Get render statistics. Some fields of the returned stats object are
1186
1548
  * relative to the last time [`PerspectiveViewerElement::getRenderStats`]
@@ -1235,7 +1597,8 @@ export class PerspectiveViewerElement {
1235
1597
  }
1236
1598
  /**
1237
1599
  * Restores this element from a full/partial
1238
- * [`perspective_js::JsViewConfig`].
1600
+ * [`perspective_js::JsViewConfig`] (this element's user-configurable
1601
+ * state, including the `Table` name).
1239
1602
  *
1240
1603
  * One of the best ways to use [`Self::restore`] is by first configuring
1241
1604
  * a `<perspective-viewer>` as you wish, then using either the `Debug`
@@ -1249,8 +1612,15 @@ export class PerspectiveViewerElement {
1249
1612
  *
1250
1613
  * # JavaScript Examples
1251
1614
  *
1252
- * Apply a `group_by` to the current [`View`], without modifying/resetting
1253
- * other fields:
1615
+ * Loads a default plugin for the table named `"superstore"`:
1616
+ *
1617
+ * ```javascript
1618
+ * await viewer.restore({table: "superstore"});
1619
+ * ```
1620
+ *
1621
+ * Apply a `group_by` to the same `viewer` element, without
1622
+ * modifying/resetting other fields - you can omit the `table` field,
1623
+ * this has already been set once and is not modified:
1254
1624
  *
1255
1625
  * ```javascript
1256
1626
  * await viewer.restore({group_by: ["State"]});
@@ -1263,6 +1633,9 @@ export class PerspectiveViewerElement {
1263
1633
  return takeObject(ret);
1264
1634
  }
1265
1635
  /**
1636
+ * If this element is in an _errored_ state, this method will clear it and
1637
+ * re-render. Calling this method is equivalent to clicking the error reset
1638
+ * button in the UI.
1266
1639
  * @returns {Promise<any>}
1267
1640
  */
1268
1641
  resetError() {
@@ -1270,12 +1643,8 @@ export class PerspectiveViewerElement {
1270
1643
  return takeObject(ret);
1271
1644
  }
1272
1645
  /**
1273
- * Save this element to serialized state object, one which can be restored
1274
- * via the [`Self::restore`] method.
1275
- *
1276
- * # Arguments
1277
- *
1278
- * - `format` - Supports "json" (default), "arraybuffer" or "string".
1646
+ * Save this element's user-configurable state to a serialized state
1647
+ * object, one which can be restored via the [`Self::restore`] method.
1279
1648
  *
1280
1649
  * # JavaScript Examples
1281
1650
  *
@@ -1293,22 +1662,19 @@ export class PerspectiveViewerElement {
1293
1662
  * await viewer.restore(token);
1294
1663
  * });
1295
1664
  * ```
1296
- * @param {string | null} [format]
1297
1665
  * @returns {Promise<any>}
1298
1666
  */
1299
- save(format) {
1300
- var ptr0 = isLikeNone(format) ? 0 : passStringToWasm0(format, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1301
- var len0 = WASM_VECTOR_LEN;
1302
- const ret = wasm.perspectiveviewerelement_save(this.__wbg_ptr, ptr0, len0);
1667
+ save() {
1668
+ const ret = wasm.perspectiveviewerelement_save(this.__wbg_ptr);
1303
1669
  return takeObject(ret);
1304
1670
  }
1305
1671
  /**
1306
- * Download this viewer's internal [`View`] data as a `.csv` file.
1672
+ * Download this viewer's internal [`View`] data via a browser download
1673
+ * event.
1307
1674
  *
1308
1675
  * # Arguments
1309
1676
  *
1310
- * - `flat` - Whether to use the current [`perspective_js::JsViewConfig`]
1311
- * to generate this data, or use the default.
1677
+ * - `method` - The `ExportMethod` to use to render the data to download.
1312
1678
  *
1313
1679
  * # JavaScript Examples
1314
1680
  *
@@ -1317,11 +1683,37 @@ export class PerspectiveViewerElement {
1317
1683
  * await viewer.download();
1318
1684
  * })
1319
1685
  * ```
1320
- * @param {boolean | null} [flat]
1686
+ * @param {string | null} [method]
1321
1687
  * @returns {Promise<any>}
1322
1688
  */
1323
- download(flat) {
1324
- const ret = wasm.perspectiveviewerelement_download(this.__wbg_ptr, isLikeNone(flat) ? 0xFFFFFF : flat ? 1 : 0);
1689
+ download(method) {
1690
+ const ret = wasm.perspectiveviewerelement_download(this.__wbg_ptr, isLikeNone(method) ? 0 : addHeapObject(method));
1691
+ return takeObject(ret);
1692
+ }
1693
+ /**
1694
+ * Exports this viewer's internal [`View`] as a JavaSript data, the
1695
+ * exact type of which depends on the `method` but defaults to `String`
1696
+ * in CSV format.
1697
+ *
1698
+ * This method is only really useful for the `"plugin"` method, which
1699
+ * will use the configured plugin's export (e.g. PNG for
1700
+ * `@perspective-dev/viewer-d3fc`). Otherwise, prefer to call the
1701
+ * equivalent method on the underlying [`View`] directly.
1702
+ *
1703
+ * # Arguments
1704
+ *
1705
+ * - `method` - The `ExportMethod` to use to render the data to download.
1706
+ *
1707
+ * # JavaScript Examples
1708
+ *
1709
+ * ```javascript
1710
+ * const data = await viewer.export("plugin");
1711
+ * ```
1712
+ * @param {string | null} [method]
1713
+ * @returns {Promise<any>}
1714
+ */
1715
+ export(method) {
1716
+ const ret = wasm.perspectiveviewerelement_export(this.__wbg_ptr, isLikeNone(method) ? 0 : addHeapObject(method));
1325
1717
  return takeObject(ret);
1326
1718
  }
1327
1719
  /**
@@ -1531,7 +1923,7 @@ export class PerspectiveViewerElement {
1531
1923
  * @returns {Promise<any>}
1532
1924
  */
1533
1925
  resetThemes(themes) {
1534
- var ptr0 = isLikeNone(themes) ? 0 : passArrayJsValueToWasm0(themes, wasm.__wbindgen_export_0);
1926
+ var ptr0 = isLikeNone(themes) ? 0 : passArrayJsValueToWasm0(themes, wasm.__wbindgen_export);
1535
1927
  var len0 = WASM_VECTOR_LEN;
1536
1928
  const ret = wasm.perspectiveviewerelement_resetThemes(this.__wbg_ptr, ptr0, len0);
1537
1929
  return takeObject(ret);
@@ -1603,7 +1995,7 @@ export class PerspectiveViewerElement {
1603
1995
  getPlugin(name) {
1604
1996
  try {
1605
1997
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1606
- var ptr0 = isLikeNone(name) ? 0 : passStringToWasm0(name, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1998
+ var ptr0 = isLikeNone(name) ? 0 : passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1607
1999
  var len0 = WASM_VECTOR_LEN;
1608
2000
  wasm.perspectiveviewerelement_getPlugin(retptr, this.__wbg_ptr, ptr0, len0);
1609
2001
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -1621,8 +2013,8 @@ export class PerspectiveViewerElement {
1621
2013
  * Create a new JavaScript Heap reference for this model instance.
1622
2014
  * @returns {PerspectiveViewerElement}
1623
2015
  */
1624
- get_model() {
1625
- const ret = wasm.perspectiveviewerelement_get_model(this.__wbg_ptr);
2016
+ __get_model() {
2017
+ const ret = wasm.perspectiveviewerelement___get_model(this.__wbg_ptr);
1626
2018
  return PerspectiveViewerElement.__wrap(ret);
1627
2019
  }
1628
2020
  /**
@@ -1636,7 +2028,7 @@ export class PerspectiveViewerElement {
1636
2028
  * @returns {Promise<any>}
1637
2029
  */
1638
2030
  toggleColumnSettings(column_name) {
1639
- const ptr0 = passStringToWasm0(column_name, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
2031
+ const ptr0 = passStringToWasm0(column_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1640
2032
  const len0 = WASM_VECTOR_LEN;
1641
2033
  const ret = wasm.perspectiveviewerelement_toggleColumnSettings(this.__wbg_ptr, ptr0, len0);
1642
2034
  return takeObject(ret);
@@ -1649,12 +2041,13 @@ export class PerspectiveViewerElement {
1649
2041
  * @returns {Promise<any>}
1650
2042
  */
1651
2043
  openColumnSettings(column_name, toggle) {
1652
- var ptr0 = isLikeNone(column_name) ? 0 : passStringToWasm0(column_name, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
2044
+ var ptr0 = isLikeNone(column_name) ? 0 : passStringToWasm0(column_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1653
2045
  var len0 = WASM_VECTOR_LEN;
1654
2046
  const ret = wasm.perspectiveviewerelement_openColumnSettings(this.__wbg_ptr, ptr0, len0, isLikeNone(toggle) ? 0xFFFFFF : toggle ? 1 : 0);
1655
2047
  return takeObject(ret);
1656
2048
  }
1657
2049
  }
2050
+ if (Symbol.dispose) PerspectiveViewerElement.prototype[Symbol.dispose] = PerspectiveViewerElement.prototype.free;
1658
2051
 
1659
2052
  const ProxySessionFinalization = (typeof FinalizationRegistry === 'undefined')
1660
2053
  ? { register: () => {}, unregister: () => {} }
@@ -1713,6 +2106,7 @@ export class ProxySession {
1713
2106
  return takeObject(ret);
1714
2107
  }
1715
2108
  }
2109
+ if (Symbol.dispose) ProxySession.prototype[Symbol.dispose] = ProxySession.prototype.free;
1716
2110
 
1717
2111
  const TableFinalization = (typeof FinalizationRegistry === 'undefined')
1718
2112
  ? { register: () => {}, unregister: () => {} }
@@ -1743,19 +2137,16 @@ export class Table {
1743
2137
  * @returns {string}
1744
2138
  */
1745
2139
  __getClassname() {
1746
- let deferred1_0;
1747
- let deferred1_1;
1748
2140
  try {
1749
2141
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1750
2142
  wasm.table___getClassname(retptr, this.__wbg_ptr);
1751
2143
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1752
2144
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1753
- deferred1_0 = r0;
1754
- deferred1_1 = r1;
1755
- return getStringFromWasm0(r0, r1);
2145
+ var v1 = getCachedStringFromWasm0(r0, r1);
2146
+ if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
2147
+ return v1;
1756
2148
  } finally {
1757
2149
  wasm.__wbindgen_add_to_stack_pointer(16);
1758
- wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
1759
2150
  }
1760
2151
  }
1761
2152
  /**
@@ -1767,7 +2158,7 @@ export class Table {
1767
2158
  * const table = await client.table("x,y\n1,2\n3,4", { index: "x" });
1768
2159
  * const index = table.get_index(); // "x"
1769
2160
  * ```
1770
- * @returns {Promise<string | undefined>}
2161
+ * @returns {Promise<string>}
1771
2162
  */
1772
2163
  get_index() {
1773
2164
  const ret = wasm.table_get_index(this.__wbg_ptr);
@@ -1873,7 +2264,7 @@ export class Table {
1873
2264
  *
1874
2265
  * Note that all [`Table`] columns are _nullable_, regardless of the data
1875
2266
  * type.
1876
- * @returns {Promise<any>}
2267
+ * @returns {Record<string, ColumnType>}
1877
2268
  */
1878
2269
  schema() {
1879
2270
  const ret = wasm.table_schema(this.__wbg_ptr);
@@ -1996,7 +2387,7 @@ export class Table {
1996
2387
  * ```javascript
1997
2388
  * await table.update("x,y\n1,2");
1998
2389
  * ```
1999
- * @param {string | ArrayBuffer | Record<string, unknown[]> | Record<string, unknown>[]} input
2390
+ * @param {string | ArrayBuffer | Record<string, unknown[]> | Record<string, unknown>[] | Record<string, ColumnType>} input
2000
2391
  * @param {UpdateOptions | null} [options]
2001
2392
  * @returns {Promise<any>}
2002
2393
  */
@@ -2037,6 +2428,7 @@ export class Table {
2037
2428
  return takeObject(ret);
2038
2429
  }
2039
2430
  }
2431
+ if (Symbol.dispose) Table.prototype[Symbol.dispose] = Table.prototype.free;
2040
2432
 
2041
2433
  const ViewFinalization = (typeof FinalizationRegistry === 'undefined')
2042
2434
  ? { register: () => {}, unregister: () => {} }
@@ -2167,7 +2559,7 @@ export class View {
2167
2559
  * @returns {Promise<Array<any>>}
2168
2560
  */
2169
2561
  get_min_max(name) {
2170
- const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
2562
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2171
2563
  const len0 = WASM_VECTOR_LEN;
2172
2564
  const ret = wasm.view_get_min_max(this.__wbg_ptr, ptr0, len0);
2173
2565
  return takeObject(ret);
@@ -2378,6 +2770,9 @@ export class View {
2378
2770
  return takeObject(ret);
2379
2771
  }
2380
2772
  }
2773
+ if (Symbol.dispose) View.prototype[Symbol.dispose] = View.prototype.free;
2774
+
2775
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
2381
2776
 
2382
2777
  async function __wbg_load(module, imports) {
2383
2778
  if (typeof Response === 'function' && module instanceof Response) {
@@ -2386,7 +2781,9 @@ async function __wbg_load(module, imports) {
2386
2781
  return await WebAssembly.instantiateStreaming(module, imports);
2387
2782
 
2388
2783
  } catch (e) {
2389
- if (module.headers.get('Content-Type') != 'application/wasm') {
2784
+ const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
2785
+
2786
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
2390
2787
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
2391
2788
 
2392
2789
  } else {
@@ -2413,139 +2810,227 @@ async function __wbg_load(module, imports) {
2413
2810
  function __wbg_get_imports() {
2414
2811
  const imports = {};
2415
2812
  imports.wbg = {};
2813
+ imports.wbg.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
2814
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
2815
+ const ret = Error(v0);
2816
+ return addHeapObject(ret);
2817
+ };
2818
+ imports.wbg.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
2819
+ const ret = Number(getObject(arg0));
2820
+ return ret;
2821
+ };
2416
2822
  imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
2417
2823
  const ret = String(getObject(arg1));
2418
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
2824
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2825
+ const len1 = WASM_VECTOR_LEN;
2826
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2827
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2828
+ };
2829
+ imports.wbg.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function(arg0, arg1) {
2830
+ const v = getObject(arg1);
2831
+ const ret = typeof(v) === 'bigint' ? v : undefined;
2832
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
2833
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
2834
+ };
2835
+ imports.wbg.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
2836
+ const v = getObject(arg0);
2837
+ const ret = typeof(v) === 'boolean' ? v : undefined;
2838
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
2839
+ };
2840
+ imports.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
2841
+ const ret = debugString(getObject(arg1));
2842
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2419
2843
  const len1 = WASM_VECTOR_LEN;
2420
2844
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2421
2845
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2422
2846
  };
2423
- imports.wbg.__wbg_addEventListener_84ae3eac6e15480a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2424
- getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
2847
+ imports.wbg.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
2848
+ const ret = getObject(arg0) in getObject(arg1);
2849
+ return ret;
2850
+ };
2851
+ imports.wbg.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function(arg0) {
2852
+ const ret = typeof(getObject(arg0)) === 'bigint';
2853
+ return ret;
2854
+ };
2855
+ imports.wbg.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
2856
+ const ret = typeof(getObject(arg0)) === 'function';
2857
+ return ret;
2858
+ };
2859
+ imports.wbg.__wbg___wbindgen_is_null_5e69f72e906cc57c = function(arg0) {
2860
+ const ret = getObject(arg0) === null;
2861
+ return ret;
2862
+ };
2863
+ imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
2864
+ const val = getObject(arg0);
2865
+ const ret = typeof(val) === 'object' && val !== null;
2866
+ return ret;
2867
+ };
2868
+ imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
2869
+ const ret = typeof(getObject(arg0)) === 'string';
2870
+ return ret;
2871
+ };
2872
+ imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
2873
+ const ret = getObject(arg0) === undefined;
2874
+ return ret;
2875
+ };
2876
+ imports.wbg.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
2877
+ const ret = getObject(arg0) === getObject(arg1);
2878
+ return ret;
2879
+ };
2880
+ imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
2881
+ const ret = getObject(arg0) == getObject(arg1);
2882
+ return ret;
2883
+ };
2884
+ imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
2885
+ const obj = getObject(arg1);
2886
+ const ret = typeof(obj) === 'number' ? obj : undefined;
2887
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
2888
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
2889
+ };
2890
+ imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
2891
+ const obj = getObject(arg1);
2892
+ const ret = typeof(obj) === 'string' ? obj : undefined;
2893
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2894
+ var len1 = WASM_VECTOR_LEN;
2895
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2896
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2897
+ };
2898
+ imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
2899
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
2900
+ throw new Error(v0);
2901
+ };
2902
+ imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
2903
+ getObject(arg0)._wbg_cb_unref();
2904
+ };
2905
+ imports.wbg.__wbg_activeElement_c22f19bd2aa07d3e = function(arg0) {
2906
+ const ret = getObject(arg0).activeElement;
2907
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2908
+ };
2909
+ imports.wbg.__wbg_addEventListener_534b9f715f44517f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2910
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
2911
+ getObject(arg0).addEventListener(v0, getObject(arg3), getObject(arg4));
2425
2912
  }, arguments) };
2426
- imports.wbg.__wbg_addEventListener_90e553fdce254421 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2427
- getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
2913
+ imports.wbg.__wbg_addEventListener_7a418931447b2eae = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2914
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
2915
+ getObject(arg0).addEventListener(v0, getObject(arg3));
2428
2916
  }, arguments) };
2429
- imports.wbg.__wbg_add_2db0e547e9356c6a = function() { return handleError(function (arg0, arg1) {
2917
+ imports.wbg.__wbg_add_970b46af06a9a7bc = function() { return handleError(function (arg0, arg1) {
2430
2918
  getObject(arg0).add(...getObject(arg1));
2431
2919
  }, arguments) };
2432
- imports.wbg.__wbg_add_9b5191a4a4f767dc = function() { return handleError(function (arg0, arg1, arg2) {
2433
- getObject(arg0).add(getStringFromWasm0(arg1, arg2));
2920
+ imports.wbg.__wbg_add_f301507622f86025 = function() { return handleError(function (arg0, arg1, arg2) {
2921
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
2922
+ getObject(arg0).add(v0);
2434
2923
  }, arguments) };
2435
- imports.wbg.__wbg_appendChild_8204974b7328bf98 = function() { return handleError(function (arg0, arg1) {
2924
+ imports.wbg.__wbg_appendChild_aec7a8a4bd6cac61 = function() { return handleError(function (arg0, arg1) {
2436
2925
  const ret = getObject(arg0).appendChild(getObject(arg1));
2437
2926
  return addHeapObject(ret);
2438
2927
  }, arguments) };
2439
- imports.wbg.__wbg_apply_eb9e9b97497f91e4 = function() { return handleError(function (arg0, arg1, arg2) {
2928
+ imports.wbg.__wbg_apply_04097a755e1e4a1e = function() { return handleError(function (arg0, arg1, arg2) {
2929
+ const ret = getObject(arg0).apply(getObject(arg1), getObject(arg2));
2930
+ return addHeapObject(ret);
2931
+ }, arguments) };
2932
+ imports.wbg.__wbg_apply_8feec4e16df2d35b = function() { return handleError(function (arg0, arg1, arg2) {
2440
2933
  const ret = Reflect.apply(getObject(arg0), getObject(arg1), getObject(arg2));
2441
2934
  return addHeapObject(ret);
2442
2935
  }, arguments) };
2443
- imports.wbg.__wbg_at_7d852dd9f194d43e = function(arg0, arg1) {
2936
+ imports.wbg.__wbg_at_a848c0ce365c6832 = function(arg0, arg1) {
2444
2937
  const ret = getObject(arg0).at(arg1);
2445
2938
  return addHeapObject(ret);
2446
2939
  };
2447
- imports.wbg.__wbg_attachShadow_a1dedb814fb75a6d = function() { return handleError(function (arg0, arg1) {
2940
+ imports.wbg.__wbg_attachShadow_76bf39183a90ffeb = function() { return handleError(function (arg0, arg1) {
2448
2941
  const ret = getObject(arg0).attachShadow(getObject(arg1));
2449
2942
  return addHeapObject(ret);
2450
2943
  }, arguments) };
2451
- imports.wbg.__wbg_blur_c2ad8cc71bac3974 = function() { return handleError(function (arg0) {
2944
+ imports.wbg.__wbg_blur_8d22d76019f9d6a0 = function() { return handleError(function (arg0) {
2452
2945
  getObject(arg0).blur();
2453
2946
  }, arguments) };
2454
- imports.wbg.__wbg_body_942ea927546a04ba = function(arg0) {
2947
+ imports.wbg.__wbg_body_8c26b54829a0c4cb = function(arg0) {
2455
2948
  const ret = getObject(arg0).body;
2456
2949
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2457
2950
  };
2458
- imports.wbg.__wbg_bootstrap_afa1f0ae5c0c6ed5 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
2459
- const ret = bootstrap(getObject(arg0), getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), takeObject(arg5));
2951
+ imports.wbg.__wbg_bootstrap_5cf948381bd5cc89 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
2952
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
2953
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
2954
+ const ret = bootstrap(getObject(arg0), v0, v1, takeObject(arg5));
2460
2955
  return addHeapObject(ret);
2461
2956
  };
2462
- imports.wbg.__wbg_bubbles_afd8dd1d14b05aba = function(arg0) {
2957
+ imports.wbg.__wbg_bubbles_f8ef5186046e39ae = function(arg0) {
2463
2958
  const ret = getObject(arg0).bubbles;
2464
2959
  return ret;
2465
2960
  };
2466
- imports.wbg.__wbg_buffer_09165b52af8c5237 = function(arg0) {
2961
+ imports.wbg.__wbg_buffer_ccc4520b36d3ccf4 = function(arg0) {
2467
2962
  const ret = getObject(arg0).buffer;
2468
2963
  return addHeapObject(ret);
2469
2964
  };
2470
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
2471
- const ret = getObject(arg0).buffer;
2472
- return addHeapObject(ret);
2473
- };
2474
- imports.wbg.__wbg_button_f75c56aec440ea04 = function(arg0) {
2965
+ imports.wbg.__wbg_button_cd095d6d829d3270 = function(arg0) {
2475
2966
  const ret = getObject(arg0).button;
2476
2967
  return ret;
2477
2968
  };
2478
- imports.wbg.__wbg_byteLength_e674b853d9c77e1d = function(arg0) {
2479
- const ret = getObject(arg0).byteLength;
2480
- return ret;
2481
- };
2482
- imports.wbg.__wbg_byteOffset_fd862df290ef848d = function(arg0) {
2483
- const ret = getObject(arg0).byteOffset;
2484
- return ret;
2485
- };
2486
- imports.wbg.__wbg_cachekey_57601dac16343711 = function(arg0) {
2969
+ imports.wbg.__wbg_cache_key_577df69a33f9a3fb = function(arg0) {
2487
2970
  const ret = getObject(arg0).__yew_subtree_cache_key;
2488
2971
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
2489
2972
  };
2490
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
2491
- const ret = getObject(arg0).call(getObject(arg1));
2492
- return addHeapObject(ret);
2493
- }, arguments) };
2494
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
2973
+ imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
2495
2974
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
2496
2975
  return addHeapObject(ret);
2497
2976
  }, arguments) };
2498
- imports.wbg.__wbg_call_833bed5770ea2041 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2977
+ imports.wbg.__wbg_call_e45d2cf9fc925fcf = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2499
2978
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3));
2500
2979
  return addHeapObject(ret);
2501
2980
  }, arguments) };
2502
- imports.wbg.__wbg_cancelBubble_2e66f509cdea4d7e = function(arg0) {
2981
+ imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
2982
+ const ret = getObject(arg0).call(getObject(arg1));
2983
+ return addHeapObject(ret);
2984
+ }, arguments) };
2985
+ imports.wbg.__wbg_can_render_column_styles_cb2d0c17963b21c1 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2986
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
2987
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
2988
+ const ret = getObject(arg0).can_render_column_styles(v0, v1);
2989
+ return ret;
2990
+ }, arguments) };
2991
+ imports.wbg.__wbg_cancelBubble_1e22dec4c6f51d79 = function(arg0) {
2503
2992
  const ret = getObject(arg0).cancelBubble;
2504
2993
  return ret;
2505
2994
  };
2506
- imports.wbg.__wbg_canrendercolumnstyles_ab3d341851449831 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2507
- const ret = getObject(arg0).can_render_column_styles(getStringFromWasm0(arg1, arg2), arg3 === 0 ? undefined : getStringFromWasm0(arg3, arg4));
2508
- return ret;
2509
- }, arguments) };
2510
- imports.wbg.__wbg_category_25d1c7175caf8143 = function(arg0, arg1) {
2995
+ imports.wbg.__wbg_category_2a1645af558f4734 = function(arg0, arg1) {
2511
2996
  const ret = getObject(arg1).category;
2512
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
2997
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2513
2998
  var len1 = WASM_VECTOR_LEN;
2514
2999
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2515
3000
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2516
3001
  };
2517
- imports.wbg.__wbg_checked_0591091c28a685f0 = function(arg0) {
3002
+ imports.wbg.__wbg_checked_385e7aee6e569db9 = function(arg0) {
2518
3003
  const ret = getObject(arg0).checked;
2519
3004
  return ret;
2520
3005
  };
2521
- imports.wbg.__wbg_childNodes_c4423003f3a9441f = function(arg0) {
3006
+ imports.wbg.__wbg_childNodes_66c4fe44be48d0e1 = function(arg0) {
2522
3007
  const ret = getObject(arg0).childNodes;
2523
3008
  return addHeapObject(ret);
2524
3009
  };
2525
- imports.wbg.__wbg_children_9b8d0778c0b363f8 = function(arg0) {
3010
+ imports.wbg.__wbg_children_8c5e28cc3c9219ff = function(arg0) {
2526
3011
  const ret = getObject(arg0).children;
2527
3012
  return addHeapObject(ret);
2528
3013
  };
2529
- imports.wbg.__wbg_classList_3fa995ef71da9e8e = function(arg0) {
3014
+ imports.wbg.__wbg_classList_ccf51ec11aa444f9 = function(arg0) {
2530
3015
  const ret = getObject(arg0).classList;
2531
3016
  return addHeapObject(ret);
2532
3017
  };
2533
- imports.wbg.__wbg_click_c52d7bdb3b6dc9c3 = function(arg0) {
3018
+ imports.wbg.__wbg_click_b7f7dcb2842a8754 = function(arg0) {
2534
3019
  getObject(arg0).click();
2535
3020
  };
2536
- imports.wbg.__wbg_clientHeight_216178c194000db4 = function(arg0) {
3021
+ imports.wbg.__wbg_clientHeight_03b616d39b2ab49d = function(arg0) {
2537
3022
  const ret = getObject(arg0).clientHeight;
2538
3023
  return ret;
2539
3024
  };
2540
- imports.wbg.__wbg_clientWidth_ce67a04dc15fce39 = function(arg0) {
3025
+ imports.wbg.__wbg_clientWidth_8379f04ef4ca9040 = function(arg0) {
2541
3026
  const ret = getObject(arg0).clientWidth;
2542
3027
  return ret;
2543
3028
  };
2544
- imports.wbg.__wbg_clientX_5eb380a5f1fec6fd = function(arg0) {
3029
+ imports.wbg.__wbg_clientX_1166635f13c2a22e = function(arg0) {
2545
3030
  const ret = getObject(arg0).clientX;
2546
3031
  return ret;
2547
3032
  };
2548
- imports.wbg.__wbg_clientY_d8b9c7f0c4e2e677 = function(arg0) {
3033
+ imports.wbg.__wbg_clientY_6b2560a0984b55af = function(arg0) {
2549
3034
  const ret = getObject(arg0).clientY;
2550
3035
  return ret;
2551
3036
  };
@@ -2553,251 +3038,266 @@ function __wbg_get_imports() {
2553
3038
  const ret = Client.__wrap(arg0);
2554
3039
  return addHeapObject(ret);
2555
3040
  };
2556
- imports.wbg.__wbg_clipboard_93f8aa8cc426db44 = function(arg0) {
3041
+ imports.wbg.__wbg_clipboard_83c63b95503bfec1 = function(arg0) {
2557
3042
  const ret = getObject(arg0).clipboard;
2558
3043
  return addHeapObject(ret);
2559
3044
  };
2560
- imports.wbg.__wbg_cloneNode_a8ce4052a2c37536 = function() { return handleError(function (arg0, arg1) {
3045
+ imports.wbg.__wbg_cloneNode_4ff138eda9fcd474 = function() { return handleError(function (arg0, arg1) {
2561
3046
  const ret = getObject(arg0).cloneNode(arg1 !== 0);
2562
3047
  return addHeapObject(ret);
2563
3048
  }, arguments) };
2564
- imports.wbg.__wbg_cloneNode_e35b333b87d51340 = function() { return handleError(function (arg0) {
3049
+ imports.wbg.__wbg_cloneNode_e1116386b129d2db = function() { return handleError(function (arg0) {
2565
3050
  const ret = getObject(arg0).cloneNode();
2566
3051
  return addHeapObject(ret);
2567
3052
  }, arguments) };
2568
- imports.wbg.__wbg_code_459c120478e1ab6e = function(arg0, arg1) {
3053
+ imports.wbg.__wbg_code_08c1919c85e18f9d = function(arg0, arg1) {
2569
3054
  const ret = getObject(arg1).code;
2570
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3055
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2571
3056
  const len1 = WASM_VECTOR_LEN;
2572
3057
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2573
3058
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2574
3059
  };
2575
- imports.wbg.__wbg_columnstylecontrols_3f503d0e178ba520 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2576
- const ret = getObject(arg0).column_style_controls(getStringFromWasm0(arg1, arg2), arg3 === 0 ? undefined : getStringFromWasm0(arg3, arg4));
3060
+ imports.wbg.__wbg_column_style_controls_a6c954b9d2c8bb54 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3061
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3062
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
3063
+ const ret = getObject(arg0).column_style_controls(v0, v1);
2577
3064
  return addHeapObject(ret);
2578
3065
  }, arguments) };
2579
- imports.wbg.__wbg_composedPath_977ce97a0ef39358 = function(arg0) {
3066
+ imports.wbg.__wbg_composedPath_954b3bb31dab8c2b = function(arg0) {
2580
3067
  const ret = getObject(arg0).composedPath();
2581
3068
  return addHeapObject(ret);
2582
3069
  };
2583
- imports.wbg.__wbg_configcolumnnames_2587caff506bf08c = function(arg0) {
3070
+ imports.wbg.__wbg_config_column_names_1c9c8b6b8ea53fe6 = function(arg0) {
2584
3071
  const ret = getObject(arg0).config_column_names;
2585
3072
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2586
3073
  };
2587
- imports.wbg.__wbg_contains_3361c7eda6c95afd = function(arg0, arg1) {
3074
+ imports.wbg.__wbg_contains_6002f366d5ee0625 = function(arg0, arg1) {
2588
3075
  const ret = getObject(arg0).contains(getObject(arg1));
2589
3076
  return ret;
2590
3077
  };
2591
- imports.wbg.__wbg_contentRect_3b472f96421e5312 = function(arg0) {
3078
+ imports.wbg.__wbg_contentRect_7a864573e828c49e = function(arg0) {
2592
3079
  const ret = getObject(arg0).contentRect;
2593
3080
  return addHeapObject(ret);
2594
3081
  };
2595
- imports.wbg.__wbg_createElementNS_914d752e521987da = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2596
- const ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3082
+ imports.wbg.__wbg_createElementNS_78de14b111af2832 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3083
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3084
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
3085
+ const ret = getObject(arg0).createElementNS(v0, v1);
2597
3086
  return addHeapObject(ret);
2598
3087
  }, arguments) };
2599
- imports.wbg.__wbg_createElement_8c9931a732ee2fea = function() { return handleError(function (arg0, arg1, arg2) {
2600
- const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
3088
+ imports.wbg.__wbg_createElement_964ab674a0176cd8 = function() { return handleError(function (arg0, arg1, arg2) {
3089
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3090
+ const ret = getObject(arg0).createElement(v0);
2601
3091
  return addHeapObject(ret);
2602
3092
  }, arguments) };
2603
- imports.wbg.__wbg_createObjectURL_6e98d2f9c7bd9764 = function() { return handleError(function (arg0, arg1) {
3093
+ imports.wbg.__wbg_createObjectURL_6c6dec873acec30b = function() { return handleError(function (arg0, arg1) {
2604
3094
  const ret = URL.createObjectURL(getObject(arg1));
2605
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3095
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2606
3096
  const len1 = WASM_VECTOR_LEN;
2607
3097
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2608
3098
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2609
3099
  }, arguments) };
2610
- imports.wbg.__wbg_createTextNode_42af1a9f21bb3360 = function(arg0, arg1, arg2) {
2611
- const ret = getObject(arg0).createTextNode(getStringFromWasm0(arg1, arg2));
3100
+ imports.wbg.__wbg_createTextNode_d36767f8fcba8973 = function(arg0, arg1, arg2) {
3101
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3102
+ const ret = getObject(arg0).createTextNode(v0);
2612
3103
  return addHeapObject(ret);
2613
3104
  };
2614
- imports.wbg.__wbg_cssRules_8216d7fc3a4e8360 = function() { return handleError(function (arg0) {
3105
+ imports.wbg.__wbg_cssRules_a668112018b4a492 = function() { return handleError(function (arg0) {
2615
3106
  const ret = getObject(arg0).cssRules;
2616
3107
  return addHeapObject(ret);
2617
3108
  }, arguments) };
2618
- imports.wbg.__wbg_dataTransfer_86283b0702a1aff1 = function(arg0) {
3109
+ imports.wbg.__wbg_dataTransfer_ac196d77762b90f5 = function(arg0) {
2619
3110
  const ret = getObject(arg0).dataTransfer;
2620
3111
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2621
3112
  };
2622
- imports.wbg.__wbg_dataset_81053fc75d7f9006 = function(arg0) {
3113
+ imports.wbg.__wbg_dataset_4c33735a9030c541 = function(arg0) {
2623
3114
  const ret = getObject(arg0).dataset;
2624
3115
  return addHeapObject(ret);
2625
3116
  };
2626
- imports.wbg.__wbg_debug_3cb59063b29f58c1 = function(arg0) {
3117
+ imports.wbg.__wbg_debug_e55e1461940eb14d = function(arg0, arg1, arg2, arg3) {
3118
+ console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
3119
+ };
3120
+ imports.wbg.__wbg_debug_f4b0c59db649db48 = function(arg0) {
2627
3121
  console.debug(getObject(arg0));
2628
3122
  };
2629
- imports.wbg.__wbg_debug_e17b51583ca6a632 = function(arg0, arg1, arg2, arg3) {
2630
- console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
3123
+ imports.wbg.__wbg_delete_536d5e23ca354312 = function(arg0, arg1, arg2) {
3124
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3125
+ delete getObject(arg0)[v0];
2631
3126
  };
2632
- imports.wbg.__wbg_delete_1e8688469e73fcd3 = function(arg0, arg1, arg2) {
2633
- delete getObject(arg0)[getStringFromWasm0(arg1, arg2)];
3127
+ imports.wbg.__wbg_delete_d4f1ea0bb93d7df9 = function(arg0) {
3128
+ getObject(arg0).delete();
2634
3129
  };
2635
- imports.wbg.__wbg_dispatchEvent_9e259d7c1d603dfb = function() { return handleError(function (arg0, arg1) {
3130
+ imports.wbg.__wbg_dispatchEvent_6eaea6d4f99ff3bf = function() { return handleError(function (arg0, arg1) {
2636
3131
  const ret = getObject(arg0).dispatchEvent(getObject(arg1));
2637
3132
  return ret;
2638
3133
  }, arguments) };
2639
- imports.wbg.__wbg_document_d249400bd7bd996d = function(arg0) {
3134
+ imports.wbg.__wbg_document_725ae06eb442a6db = function(arg0) {
2640
3135
  const ret = getObject(arg0).document;
2641
3136
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2642
3137
  };
2643
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
3138
+ imports.wbg.__wbg_done_2042aa2670fb1db1 = function(arg0) {
2644
3139
  const ret = getObject(arg0).done;
2645
3140
  return ret;
2646
3141
  };
2647
- imports.wbg.__wbg_draw_bb077b3a31214957 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3142
+ imports.wbg.__wbg_draw_f880f5cfebb230a6 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2648
3143
  const ret = getObject(arg0).draw(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
2649
3144
  return addHeapObject(ret);
2650
3145
  }, arguments) };
2651
- imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
3146
+ imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
2652
3147
  const ret = Object.entries(getObject(arg0));
2653
3148
  return addHeapObject(ret);
2654
3149
  };
2655
- imports.wbg.__wbg_error_1004b8c64097413f = function(arg0, arg1) {
2656
- console.error(getObject(arg0), getObject(arg1));
2657
- };
2658
3150
  imports.wbg.__wbg_error_3c7d958458bf649b = function(arg0, arg1) {
2659
3151
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
2660
- wasm.__wbindgen_export_3(arg0, arg1 * 4, 4);
3152
+ wasm.__wbindgen_export4(arg0, arg1 * 4, 4);
2661
3153
  console.error(...v0);
2662
3154
  };
2663
- imports.wbg.__wbg_error_524f506f44df1645 = function(arg0) {
2664
- console.error(getObject(arg0));
3155
+ imports.wbg.__wbg_error_6f1d0762f6c8ae2f = function(arg0, arg1) {
3156
+ console.error(getObject(arg0), getObject(arg1));
2665
3157
  };
2666
3158
  imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
2667
- let deferred0_0;
2668
- let deferred0_1;
2669
- try {
2670
- deferred0_0 = arg0;
2671
- deferred0_1 = arg1;
2672
- console.error(getStringFromWasm0(arg0, arg1));
2673
- } finally {
2674
- wasm.__wbindgen_export_3(deferred0_0, deferred0_1, 1);
2675
- }
3159
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
3160
+ if (arg0 !== 0) { wasm.__wbindgen_export4(arg0, arg1, 1); }
3161
+ console.error(v0);
3162
+ };
3163
+ imports.wbg.__wbg_error_a7f8fbb0523dae15 = function(arg0) {
3164
+ console.error(getObject(arg0));
2676
3165
  };
2677
- imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
3166
+ imports.wbg.__wbg_error_d8b22cf4e59a6791 = function(arg0, arg1, arg2, arg3) {
2678
3167
  console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
2679
3168
  };
2680
- imports.wbg.__wbg_family_5295634be10c7821 = function(arg0, arg1) {
3169
+ imports.wbg.__wbg_family_40a0ad16ab6ee035 = function(arg0, arg1) {
2681
3170
  const ret = getObject(arg1).family;
2682
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3171
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2683
3172
  const len1 = WASM_VECTOR_LEN;
2684
3173
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2685
3174
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2686
3175
  };
2687
- imports.wbg.__wbg_focus_7d08b55eba7b368d = function() { return handleError(function (arg0) {
3176
+ imports.wbg.__wbg_focus_f18e304f287a2dd3 = function() { return handleError(function (arg0) {
2688
3177
  getObject(arg0).focus();
2689
3178
  }, arguments) };
2690
- imports.wbg.__wbg_fonts_c31a8b1701c57868 = function(arg0) {
3179
+ imports.wbg.__wbg_fonts_a3c01845b6d0fe9c = function(arg0) {
2691
3180
  const ret = getObject(arg0).fonts;
2692
3181
  return addHeapObject(ret);
2693
3182
  };
2694
- imports.wbg.__wbg_format_0545b83dc1d8a934 = function(arg0) {
3183
+ imports.wbg.__wbg_format_44aa73e8719a17cb = function(arg0) {
2695
3184
  const ret = getObject(arg0).format;
2696
3185
  return addHeapObject(ret);
2697
3186
  };
2698
- imports.wbg.__wbg_from_2a5d3e218e67aa85 = function(arg0) {
3187
+ imports.wbg.__wbg_from_a4ad7cbddd0d7135 = function(arg0) {
2699
3188
  const ret = Array.from(getObject(arg0));
2700
3189
  return addHeapObject(ret);
2701
3190
  };
2702
- imports.wbg.__wbg_getAttribute_ea5166be2deba45e = function(arg0, arg1, arg2, arg3) {
2703
- const ret = getObject(arg1).getAttribute(getStringFromWasm0(arg2, arg3));
2704
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
2705
- var len1 = WASM_VECTOR_LEN;
2706
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2707
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3191
+ imports.wbg.__wbg_getAttribute_a0d65fabc2f0d559 = function(arg0, arg1, arg2, arg3) {
3192
+ var v0 = getCachedStringFromWasm0(arg2, arg3);
3193
+ const ret = getObject(arg1).getAttribute(v0);
3194
+ var ptr2 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3195
+ var len2 = WASM_VECTOR_LEN;
3196
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len2, true);
3197
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr2, true);
2708
3198
  };
2709
- imports.wbg.__wbg_getBoundingClientRect_9073b0ff7574d76b = function(arg0) {
3199
+ imports.wbg.__wbg_getBoundingClientRect_eb2f68e504025fb4 = function(arg0) {
2710
3200
  const ret = getObject(arg0).getBoundingClientRect();
2711
3201
  return addHeapObject(ret);
2712
3202
  };
2713
- imports.wbg.__wbg_getComputedStyle_046dd6472f8e7f1d = function() { return handleError(function (arg0, arg1) {
3203
+ imports.wbg.__wbg_getComputedStyle_a9cd917337bb8d6e = function() { return handleError(function (arg0, arg1) {
2714
3204
  const ret = getObject(arg0).getComputedStyle(getObject(arg1));
2715
3205
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2716
3206
  }, arguments) };
2717
- imports.wbg.__wbg_getEntriesByName_2a5a14d4b09f36a4 = function(arg0, arg1, arg2, arg3, arg4) {
2718
- const ret = getObject(arg0).getEntriesByName(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3207
+ imports.wbg.__wbg_getEntriesByName_b49d266abfb2e9af = function(arg0, arg1, arg2, arg3, arg4) {
3208
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3209
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
3210
+ const ret = getObject(arg0).getEntriesByName(v0, v1);
2719
3211
  return addHeapObject(ret);
2720
3212
  };
2721
- imports.wbg.__wbg_getPropertyValue_e623c23a05dfb30c = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2722
- const ret = getObject(arg1).getPropertyValue(getStringFromWasm0(arg2, arg3));
2723
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
2724
- const len1 = WASM_VECTOR_LEN;
2725
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2726
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3213
+ imports.wbg.__wbg_getPropertyValue_6d3f3b556847452f = function() { return handleError(function (arg0, arg1, arg2, arg3) {
3214
+ var v0 = getCachedStringFromWasm0(arg2, arg3);
3215
+ const ret = getObject(arg1).getPropertyValue(v0);
3216
+ const ptr2 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3217
+ const len2 = WASM_VECTOR_LEN;
3218
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len2, true);
3219
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr2, true);
2727
3220
  }, arguments) };
2728
- imports.wbg.__wbg_getRandomValues_21a0191e74d0e1d3 = function() { return handleError(function (arg0, arg1) {
3221
+ imports.wbg.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
2729
3222
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
2730
3223
  }, arguments) };
2731
- imports.wbg.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
3224
+ imports.wbg.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
3225
+ const ret = getObject(arg0).getTime();
3226
+ return ret;
3227
+ };
3228
+ imports.wbg.__wbg_getTimezoneOffset_d391cb11d54969f8 = function(arg0) {
2732
3229
  const ret = getObject(arg0).getTimezoneOffset();
2733
3230
  return ret;
2734
3231
  };
2735
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
2736
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
2737
- return addHeapObject(ret);
2738
- }, arguments) };
2739
- imports.wbg.__wbg_get_74b8744f6a23f4fa = function(arg0, arg1, arg2) {
2740
- const ret = getObject(arg0)[getStringFromWasm0(arg1, arg2)];
2741
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3232
+ imports.wbg.__wbg_get_01ffe23a9d136acd = function(arg0, arg1, arg2, arg3) {
3233
+ var v0 = getCachedStringFromWasm0(arg2, arg3);
3234
+ const ret = getObject(arg1)[v0];
3235
+ var ptr2 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3236
+ var len2 = WASM_VECTOR_LEN;
3237
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len2, true);
3238
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr2, true);
2742
3239
  };
2743
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
3240
+ imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
2744
3241
  const ret = getObject(arg0)[arg1 >>> 0];
2745
3242
  return addHeapObject(ret);
2746
3243
  };
2747
- imports.wbg.__wbg_get_f4c75eca0d58d29a = function(arg0, arg1, arg2, arg3) {
2748
- const ret = getObject(arg1)[getStringFromWasm0(arg2, arg3)];
2749
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
2750
- var len1 = WASM_VECTOR_LEN;
2751
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2752
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3244
+ imports.wbg.__wbg_get_a499fc4db8c05b3b = function(arg0, arg1, arg2) {
3245
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3246
+ const ret = getObject(arg0)[v0];
3247
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2753
3248
  };
2754
- imports.wbg.__wbg_getwithindex_5a108af1d9b5b5b4 = function(arg0, arg1) {
3249
+ imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
3250
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
3251
+ return addHeapObject(ret);
3252
+ }, arguments) };
3253
+ imports.wbg.__wbg_get_with_index_0ca5d2aafd012f2a = function(arg0, arg1) {
2755
3254
  const ret = getObject(arg0)[arg1 >>> 0];
2756
3255
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2757
3256
  };
2758
- imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
3257
+ imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
2759
3258
  const ret = getObject(arg0)[getObject(arg1)];
2760
3259
  return addHeapObject(ret);
2761
3260
  };
2762
- imports.wbg.__wbg_hasAttribute_db31090c2e646f57 = function(arg0, arg1, arg2) {
2763
- const ret = getObject(arg0).hasAttribute(getStringFromWasm0(arg1, arg2));
3261
+ imports.wbg.__wbg_hasAttribute_d827bd0036f975da = function(arg0, arg1, arg2) {
3262
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3263
+ const ret = getObject(arg0).hasAttribute(v0);
2764
3264
  return ret;
2765
3265
  };
2766
- imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
3266
+ imports.wbg.__wbg_has_787fafc980c3ccdb = function() { return handleError(function (arg0, arg1) {
2767
3267
  const ret = Reflect.has(getObject(arg0), getObject(arg1));
2768
3268
  return ret;
2769
3269
  }, arguments) };
2770
- imports.wbg.__wbg_height_1f8226c8f6875110 = function(arg0) {
3270
+ imports.wbg.__wbg_height_4ec1d9540f62ef0a = function(arg0) {
2771
3271
  const ret = getObject(arg0).height;
2772
3272
  return ret;
2773
3273
  };
2774
- imports.wbg.__wbg_height_592a89ec0fb63726 = function(arg0) {
3274
+ imports.wbg.__wbg_height_ba3edd16b1f48a4a = function(arg0) {
2775
3275
  const ret = getObject(arg0).height;
2776
3276
  return ret;
2777
3277
  };
2778
- imports.wbg.__wbg_host_166cb082dae71d08 = function(arg0) {
3278
+ imports.wbg.__wbg_host_8e81c42b5e4f33cd = function(arg0) {
2779
3279
  const ret = getObject(arg0).host;
2780
3280
  return addHeapObject(ret);
2781
3281
  };
2782
- imports.wbg.__wbg_info_033d8b8a0838f1d3 = function(arg0, arg1, arg2, arg3) {
3282
+ imports.wbg.__wbg_info_68cd5b51ef7e5137 = function(arg0, arg1, arg2, arg3) {
2783
3283
  console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
2784
3284
  };
2785
- imports.wbg.__wbg_info_3daf2e093e091b66 = function(arg0) {
3285
+ imports.wbg.__wbg_info_e674a11f4f50cc0c = function(arg0) {
2786
3286
  console.info(getObject(arg0));
2787
3287
  };
2788
- imports.wbg.__wbg_innerHeight_05f4225d754a7929 = function() { return handleError(function (arg0) {
3288
+ imports.wbg.__wbg_innerHeight_686136a20f2f5575 = function() { return handleError(function (arg0) {
2789
3289
  const ret = getObject(arg0).innerHeight;
2790
3290
  return addHeapObject(ret);
2791
3291
  }, arguments) };
2792
- imports.wbg.__wbg_innerWidth_7e0498dbd876d498 = function() { return handleError(function (arg0) {
3292
+ imports.wbg.__wbg_innerWidth_8d421a8566ad80b5 = function() { return handleError(function (arg0) {
2793
3293
  const ret = getObject(arg0).innerWidth;
2794
3294
  return addHeapObject(ret);
2795
3295
  }, arguments) };
2796
- imports.wbg.__wbg_insertBefore_c181fb91844cd959 = function() { return handleError(function (arg0, arg1, arg2) {
3296
+ imports.wbg.__wbg_insertBefore_bc964ebb0260f173 = function() { return handleError(function (arg0, arg1, arg2) {
2797
3297
  const ret = getObject(arg0).insertBefore(getObject(arg1), getObject(arg2));
2798
3298
  return addHeapObject(ret);
2799
3299
  }, arguments) };
2800
- imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
3300
+ imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
2801
3301
  let result;
2802
3302
  try {
2803
3303
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -2807,7 +3307,7 @@ function __wbg_get_imports() {
2807
3307
  const ret = result;
2808
3308
  return ret;
2809
3309
  };
2810
- imports.wbg.__wbg_instanceof_Array_6ac07133d621675a = function(arg0) {
3310
+ imports.wbg.__wbg_instanceof_Array_fca44e0f4a7f6240 = function(arg0) {
2811
3311
  let result;
2812
3312
  try {
2813
3313
  result = getObject(arg0) instanceof Array;
@@ -2817,7 +3317,7 @@ function __wbg_get_imports() {
2817
3317
  const ret = result;
2818
3318
  return ret;
2819
3319
  };
2820
- imports.wbg.__wbg_instanceof_CssStyleRule_060949726898853d = function(arg0) {
3320
+ imports.wbg.__wbg_instanceof_CssStyleRule_5ab8768f99e48ec7 = function(arg0) {
2821
3321
  let result;
2822
3322
  try {
2823
3323
  result = getObject(arg0) instanceof CSSStyleRule;
@@ -2827,7 +3327,17 @@ function __wbg_get_imports() {
2827
3327
  const ret = result;
2828
3328
  return ret;
2829
3329
  };
2830
- imports.wbg.__wbg_instanceof_Element_0af65443936d5154 = function(arg0) {
3330
+ imports.wbg.__wbg_instanceof_Date_79a0f671f36947f2 = function(arg0) {
3331
+ let result;
3332
+ try {
3333
+ result = getObject(arg0) instanceof Date;
3334
+ } catch (_) {
3335
+ result = false;
3336
+ }
3337
+ const ret = result;
3338
+ return ret;
3339
+ };
3340
+ imports.wbg.__wbg_instanceof_Element_437534ce3e96fe49 = function(arg0) {
2831
3341
  let result;
2832
3342
  try {
2833
3343
  result = getObject(arg0) instanceof Element;
@@ -2837,7 +3347,7 @@ function __wbg_get_imports() {
2837
3347
  const ret = result;
2838
3348
  return ret;
2839
3349
  };
2840
- imports.wbg.__wbg_instanceof_Error_4d54113b22d20306 = function(arg0) {
3350
+ imports.wbg.__wbg_instanceof_Error_a944ec10920129e2 = function(arg0) {
2841
3351
  let result;
2842
3352
  try {
2843
3353
  result = getObject(arg0) instanceof Error;
@@ -2847,7 +3357,7 @@ function __wbg_get_imports() {
2847
3357
  const ret = result;
2848
3358
  return ret;
2849
3359
  };
2850
- imports.wbg.__wbg_instanceof_FontFace_05ca60fd7c6286d4 = function(arg0) {
3360
+ imports.wbg.__wbg_instanceof_FontFace_af572e97b0ae8568 = function(arg0) {
2851
3361
  let result;
2852
3362
  try {
2853
3363
  result = getObject(arg0) instanceof FontFace;
@@ -2857,7 +3367,7 @@ function __wbg_get_imports() {
2857
3367
  const ret = result;
2858
3368
  return ret;
2859
3369
  };
2860
- imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
3370
+ imports.wbg.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
2861
3371
  let result;
2862
3372
  try {
2863
3373
  result = getObject(arg0) instanceof Map;
@@ -2867,7 +3377,7 @@ function __wbg_get_imports() {
2867
3377
  const ret = result;
2868
3378
  return ret;
2869
3379
  };
2870
- imports.wbg.__wbg_instanceof_Object_7f2dcef8f78644a4 = function(arg0) {
3380
+ imports.wbg.__wbg_instanceof_Object_10bb762262230c68 = function(arg0) {
2871
3381
  let result;
2872
3382
  try {
2873
3383
  result = getObject(arg0) instanceof Object;
@@ -2877,7 +3387,7 @@ function __wbg_get_imports() {
2877
3387
  const ret = result;
2878
3388
  return ret;
2879
3389
  };
2880
- imports.wbg.__wbg_instanceof_Promise_935168b8f4b49db3 = function(arg0) {
3390
+ imports.wbg.__wbg_instanceof_Promise_001fdd42afa1b7ef = function(arg0) {
2881
3391
  let result;
2882
3392
  try {
2883
3393
  result = getObject(arg0) instanceof Promise;
@@ -2887,7 +3397,7 @@ function __wbg_get_imports() {
2887
3397
  const ret = result;
2888
3398
  return ret;
2889
3399
  };
2890
- imports.wbg.__wbg_instanceof_ShadowRoot_726578bcd7fa418a = function(arg0) {
3400
+ imports.wbg.__wbg_instanceof_ShadowRoot_e6792e25a38f0857 = function(arg0) {
2891
3401
  let result;
2892
3402
  try {
2893
3403
  result = getObject(arg0) instanceof ShadowRoot;
@@ -2897,7 +3407,7 @@ function __wbg_get_imports() {
2897
3407
  const ret = result;
2898
3408
  return ret;
2899
3409
  };
2900
- imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
3410
+ imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
2901
3411
  let result;
2902
3412
  try {
2903
3413
  result = getObject(arg0) instanceof Uint8Array;
@@ -2907,7 +3417,7 @@ function __wbg_get_imports() {
2907
3417
  const ret = result;
2908
3418
  return ret;
2909
3419
  };
2910
- imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) {
3420
+ imports.wbg.__wbg_instanceof_Window_4846dbb3de56c84c = function(arg0) {
2911
3421
  let result;
2912
3422
  try {
2913
3423
  result = getObject(arg0) instanceof Window;
@@ -2917,164 +3427,176 @@ function __wbg_get_imports() {
2917
3427
  const ret = result;
2918
3428
  return ret;
2919
3429
  };
2920
- imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
3430
+ imports.wbg.__wbg_isArray_96e0af9891d0945d = function(arg0) {
2921
3431
  const ret = Array.isArray(getObject(arg0));
2922
3432
  return ret;
2923
3433
  };
2924
- imports.wbg.__wbg_isConnected_61ed8d7b311467d5 = function(arg0) {
3434
+ imports.wbg.__wbg_isConnected_b17ea3adfc205247 = function(arg0) {
2925
3435
  const ret = getObject(arg0).isConnected;
2926
3436
  return ret;
2927
3437
  };
2928
- imports.wbg.__wbg_isIntersecting_77918662e0c4cb53 = function(arg0) {
3438
+ imports.wbg.__wbg_isIntersecting_ffaa6e3305409e03 = function(arg0) {
2929
3439
  const ret = getObject(arg0).isIntersecting;
2930
3440
  return ret;
2931
3441
  };
2932
- imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
3442
+ imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
2933
3443
  const ret = Number.isSafeInteger(getObject(arg0));
2934
3444
  return ret;
2935
3445
  };
2936
- imports.wbg.__wbg_is_c7481c65e7e5df9e = function(arg0, arg1) {
3446
+ imports.wbg.__wbg_is_3a0656e6f61f2e9a = function(arg0, arg1) {
2937
3447
  const ret = Object.is(getObject(arg0), getObject(arg1));
2938
3448
  return ret;
2939
3449
  };
2940
- imports.wbg.__wbg_item_b60dbec76ee795fd = function(arg0, arg1, arg2) {
2941
- const ret = getObject(arg1).item(arg2 >>> 0);
2942
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
2943
- const len1 = WASM_VECTOR_LEN;
2944
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2945
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2946
- };
2947
- imports.wbg.__wbg_item_b85c09a4b5a5a211 = function(arg0, arg1) {
3450
+ imports.wbg.__wbg_item_157d2b487a577070 = function(arg0, arg1) {
2948
3451
  const ret = getObject(arg0).item(arg1 >>> 0);
2949
3452
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2950
3453
  };
2951
- imports.wbg.__wbg_item_c913ec46ff615ff2 = function(arg0, arg1) {
3454
+ imports.wbg.__wbg_item_7b29ce86888eb4ea = function(arg0, arg1) {
2952
3455
  const ret = getObject(arg0).item(arg1 >>> 0);
2953
3456
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2954
3457
  };
2955
- imports.wbg.__wbg_item_cfe204c1386c8374 = function(arg0, arg1) {
3458
+ imports.wbg.__wbg_item_c724d58959790920 = function(arg0, arg1, arg2) {
3459
+ const ret = getObject(arg1).item(arg2 >>> 0);
3460
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3461
+ const len1 = WASM_VECTOR_LEN;
3462
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3463
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3464
+ };
3465
+ imports.wbg.__wbg_item_fb59f9165c05ffba = function(arg0, arg1) {
2956
3466
  const ret = getObject(arg0).item(arg1 >>> 0);
2957
3467
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2958
3468
  };
2959
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
3469
+ imports.wbg.__wbg_iterator_e5822695327a3c39 = function() {
2960
3470
  const ret = Symbol.iterator;
2961
3471
  return addHeapObject(ret);
2962
3472
  };
2963
- imports.wbg.__wbg_keyCode_237a8d1a040910b8 = function(arg0) {
3473
+ imports.wbg.__wbg_jsvirtualdataslice_new = function(arg0) {
3474
+ const ret = JsVirtualDataSlice.__wrap(arg0);
3475
+ return addHeapObject(ret);
3476
+ };
3477
+ imports.wbg.__wbg_keyCode_065f5848e677fafd = function(arg0) {
2964
3478
  const ret = getObject(arg0).keyCode;
2965
3479
  return ret;
2966
3480
  };
2967
- imports.wbg.__wbg_key_7b5c6cb539be8e13 = function(arg0, arg1) {
3481
+ imports.wbg.__wbg_key_32aa43e1cae08d29 = function(arg0, arg1) {
2968
3482
  const ret = getObject(arg1).key;
2969
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3483
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2970
3484
  const len1 = WASM_VECTOR_LEN;
2971
3485
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2972
3486
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2973
3487
  };
2974
- imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
3488
+ imports.wbg.__wbg_keys_b4d27b02ad14f4be = function(arg0) {
2975
3489
  const ret = Object.keys(getObject(arg0));
2976
3490
  return addHeapObject(ret);
2977
3491
  };
2978
- imports.wbg.__wbg_languages_d8dad509faf757df = function(arg0) {
3492
+ imports.wbg.__wbg_languages_31c2f28207ccf1d6 = function(arg0) {
2979
3493
  const ret = getObject(arg0).languages;
2980
3494
  return addHeapObject(ret);
2981
3495
  };
2982
- imports.wbg.__wbg_lastChild_e20d4dc0f9e02ce7 = function(arg0) {
3496
+ imports.wbg.__wbg_lastChild_9cd789752e605979 = function(arg0) {
2983
3497
  const ret = getObject(arg0).lastChild;
2984
3498
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2985
3499
  };
2986
- imports.wbg.__wbg_left_e46801720267b66d = function(arg0) {
3500
+ imports.wbg.__wbg_left_899de713c50d5346 = function(arg0) {
2987
3501
  const ret = getObject(arg0).left;
2988
3502
  return ret;
2989
3503
  };
2990
- imports.wbg.__wbg_length_3ac7da8148d2efa0 = function(arg0) {
3504
+ imports.wbg.__wbg_length_04021637084a76f4 = function(arg0) {
2991
3505
  const ret = getObject(arg0).length;
2992
3506
  return ret;
2993
3507
  };
2994
- imports.wbg.__wbg_length_41ac2a29fd3d00b8 = function(arg0) {
3508
+ imports.wbg.__wbg_length_34bdcc2da6862977 = function(arg0) {
2995
3509
  const ret = getObject(arg0).length;
2996
3510
  return ret;
2997
3511
  };
2998
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
3512
+ imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
2999
3513
  const ret = getObject(arg0).length;
3000
3514
  return ret;
3001
3515
  };
3002
- imports.wbg.__wbg_length_d912dac1deec0b3d = function(arg0) {
3516
+ imports.wbg.__wbg_length_85fb581185dc1e91 = function(arg0) {
3003
3517
  const ret = getObject(arg0).length;
3004
3518
  return ret;
3005
3519
  };
3006
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
3520
+ imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
3007
3521
  const ret = getObject(arg0).length;
3008
3522
  return ret;
3009
3523
  };
3010
- imports.wbg.__wbg_listenerid_ed1678830a5b97ec = function(arg0) {
3524
+ imports.wbg.__wbg_length_f5db9b574d648a74 = function(arg0) {
3525
+ const ret = getObject(arg0).length;
3526
+ return ret;
3527
+ };
3528
+ imports.wbg.__wbg_listener_id_e93527b90229a898 = function(arg0) {
3011
3529
  const ret = getObject(arg0).__yew_listener_id;
3012
3530
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3013
3531
  };
3014
- imports.wbg.__wbg_loaded_01146b49122e3a34 = function() { return handleError(function (arg0) {
3532
+ imports.wbg.__wbg_loaded_304f6909b5551a6c = function() { return handleError(function (arg0) {
3015
3533
  const ret = getObject(arg0).loaded;
3016
3534
  return addHeapObject(ret);
3017
3535
  }, arguments) };
3018
- imports.wbg.__wbg_mark_001da84b098c950f = function() { return handleError(function (arg0, arg1, arg2) {
3019
- getObject(arg0).mark(getStringFromWasm0(arg1, arg2));
3536
+ imports.wbg.__wbg_mark_4411b340bdf62a5f = function() { return handleError(function (arg0, arg1, arg2) {
3537
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3538
+ getObject(arg0).mark(v0);
3020
3539
  }, arguments) };
3021
- imports.wbg.__wbg_matches_33a2000d7f67f964 = function() { return handleError(function (arg0, arg1, arg2) {
3022
- const ret = getObject(arg0).matches(getStringFromWasm0(arg1, arg2));
3540
+ imports.wbg.__wbg_matches_991f692f363a7ac8 = function() { return handleError(function (arg0, arg1, arg2) {
3541
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3542
+ const ret = getObject(arg0).matches(v0);
3023
3543
  return ret;
3024
3544
  }, arguments) };
3025
- imports.wbg.__wbg_maxcells_882c1ad672d62337 = function(arg0) {
3545
+ imports.wbg.__wbg_max_cells_c537319e896c421c = function(arg0) {
3026
3546
  const ret = getObject(arg0).max_cells;
3027
3547
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3028
3548
  };
3029
- imports.wbg.__wbg_maxcolumns_f5af8bd62e7fe7f6 = function(arg0) {
3549
+ imports.wbg.__wbg_max_columns_e61a1af241ae03c2 = function(arg0) {
3030
3550
  const ret = getObject(arg0).max_columns;
3031
3551
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3032
3552
  };
3033
- imports.wbg.__wbg_measure_65e49f8bc0e203a8 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3034
- getObject(arg0).measure(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3553
+ imports.wbg.__wbg_measure_ef89c90a92de6f43 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3554
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3555
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
3556
+ getObject(arg0).measure(v0, v1);
3035
3557
  }, arguments) };
3036
- imports.wbg.__wbg_message_97a2af9b89d693a3 = function(arg0) {
3558
+ imports.wbg.__wbg_message_1ee258909d7264fd = function(arg0) {
3037
3559
  const ret = getObject(arg0).message;
3038
3560
  return addHeapObject(ret);
3039
3561
  };
3040
- imports.wbg.__wbg_minconfigcolumns_2538288c9e0dac4c = function(arg0) {
3562
+ imports.wbg.__wbg_min_config_columns_2f41448326ac4585 = function(arg0) {
3041
3563
  const ret = getObject(arg0).min_config_columns;
3042
3564
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3043
3565
  };
3044
- imports.wbg.__wbg_name_a92692eaaf7a7eb5 = function(arg0, arg1) {
3566
+ imports.wbg.__wbg_name_e7745b8b8a48d960 = function(arg0, arg1) {
3045
3567
  const ret = getObject(arg1).name;
3046
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3568
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3047
3569
  const len1 = WASM_VECTOR_LEN;
3048
3570
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3049
3571
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3050
3572
  };
3051
- imports.wbg.__wbg_namespaceURI_63ddded7f2fdbe94 = function(arg0, arg1) {
3573
+ imports.wbg.__wbg_namespaceURI_7f2b4c756f923b4c = function(arg0, arg1) {
3052
3574
  const ret = getObject(arg1).namespaceURI;
3053
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3575
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3054
3576
  var len1 = WASM_VECTOR_LEN;
3055
3577
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3056
3578
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3057
3579
  };
3058
- imports.wbg.__wbg_navigator_1577371c070c8947 = function(arg0) {
3580
+ imports.wbg.__wbg_navigator_971384882e8ea23a = function(arg0) {
3059
3581
  const ret = getObject(arg0).navigator;
3060
3582
  return addHeapObject(ret);
3061
3583
  };
3062
- imports.wbg.__wbg_new_08dc65a1d6785f11 = function(arg0, arg1) {
3063
- const ret = new Intl.NumberFormat(getObject(arg0), getObject(arg1));
3584
+ imports.wbg.__wbg_new_0f358361ce70a10f = function(arg0) {
3585
+ const ret = new ClipboardItem(getObject(arg0));
3064
3586
  return addHeapObject(ret);
3065
3587
  };
3066
- imports.wbg.__wbg_new_1b8f676ab7549097 = function() { return handleError(function (arg0, arg1) {
3067
- const ret = new CustomEvent(getStringFromWasm0(arg0, arg1));
3588
+ imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
3589
+ const ret = new Object();
3068
3590
  return addHeapObject(ret);
3069
- }, arguments) };
3070
- imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
3591
+ };
3592
+ imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
3071
3593
  try {
3072
3594
  var state0 = {a: arg0, b: arg1};
3073
3595
  var cb0 = (arg0, arg1) => {
3074
3596
  const a = state0.a;
3075
3597
  state0.a = 0;
3076
3598
  try {
3077
- return __wbg_adapter_735(a, state0.b, arg0, arg1);
3599
+ return __wasm_bindgen_func_elem_19856(a, state0.b, arg0, arg1);
3078
3600
  } finally {
3079
3601
  state0.a = a;
3080
3602
  }
@@ -3085,453 +3607,479 @@ function __wbg_get_imports() {
3085
3607
  state0.a = state0.b = 0;
3086
3608
  }
3087
3609
  };
3088
- imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
3089
- const ret = new Date(getObject(arg0));
3610
+ imports.wbg.__wbg_new_46df414df3517375 = function() { return handleError(function () {
3611
+ const ret = new CSSStyleSheet();
3090
3612
  return addHeapObject(ret);
3091
- };
3092
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
3093
- const ret = new Object();
3613
+ }, arguments) };
3614
+ imports.wbg.__wbg_new_5296f6df65eec447 = function(arg0, arg1) {
3615
+ const ret = new Intl.DateTimeFormat(getObject(arg0), getObject(arg1));
3094
3616
  return addHeapObject(ret);
3095
3617
  };
3096
- imports.wbg.__wbg_new_4a14544816f88c94 = function(arg0) {
3097
- const ret = new ResizeObserver(getObject(arg0));
3618
+ imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
3619
+ const ret = new Uint8Array(getObject(arg0));
3098
3620
  return addHeapObject(ret);
3099
3621
  };
3100
- imports.wbg.__wbg_new_57db87a7a27b38f0 = function(arg0) {
3101
- const ret = new IntersectionObserver(getObject(arg0));
3622
+ imports.wbg.__wbg_new_5af35c5cf5d399ac = function(arg0, arg1) {
3623
+ const ret = new Intl.NumberFormat(getObject(arg0), getObject(arg1));
3102
3624
  return addHeapObject(ret);
3103
3625
  };
3104
- imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
3105
- const ret = new Map();
3626
+ imports.wbg.__wbg_new_5d92792c3635fd10 = function(arg0) {
3627
+ const ret = new ResizeObserver(getObject(arg0));
3106
3628
  return addHeapObject(ret);
3107
3629
  };
3108
- imports.wbg.__wbg_new_61c9ac62ddeae4f1 = function(arg0) {
3109
- const ret = new ClipboardItem(getObject(arg0));
3630
+ imports.wbg.__wbg_new_6397cdcc57a7538d = function() { return handleError(function (arg0, arg1) {
3631
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
3632
+ const ret = new CustomEvent(v0);
3110
3633
  return addHeapObject(ret);
3111
- };
3112
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
3113
- const ret = new Array();
3634
+ }, arguments) };
3635
+ imports.wbg.__wbg_new_68651c719dcda04e = function() {
3636
+ const ret = new Map();
3114
3637
  return addHeapObject(ret);
3115
3638
  };
3116
3639
  imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
3117
3640
  const ret = new Error();
3118
3641
  return addHeapObject(ret);
3119
3642
  };
3120
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
3121
- const ret = new Uint8Array(getObject(arg0));
3122
- return addHeapObject(ret);
3123
- };
3124
- imports.wbg.__wbg_new_a1a2ee2fcc5b1f8a = function() { return handleError(function () {
3125
- const ret = new CSSStyleSheet();
3643
+ imports.wbg.__wbg_new_92b760982183f9e8 = function() { return handleError(function (arg0, arg1) {
3644
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
3645
+ const ret = new InputEvent(v0);
3126
3646
  return addHeapObject(ret);
3127
3647
  }, arguments) };
3128
- imports.wbg.__wbg_new_a84b4fa486a621ad = function(arg0, arg1) {
3129
- const ret = new Intl.DateTimeFormat(getObject(arg0), getObject(arg1));
3648
+ imports.wbg.__wbg_new_93d9417ed3fb115d = function(arg0) {
3649
+ const ret = new Date(getObject(arg0));
3130
3650
  return addHeapObject(ret);
3131
3651
  };
3132
- imports.wbg.__wbg_new_aa4747a1877a860f = function() { return handleError(function (arg0, arg1) {
3133
- const ret = new InputEvent(getStringFromWasm0(arg0, arg1));
3652
+ imports.wbg.__wbg_new_a7442b4b19c1a356 = function(arg0, arg1) {
3653
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
3654
+ const ret = new Error(v0);
3134
3655
  return addHeapObject(ret);
3135
- }, arguments) };
3136
- imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
3137
- const ret = new Error(getStringFromWasm0(arg0, arg1));
3656
+ };
3657
+ imports.wbg.__wbg_new_b1a7daa5e4d66892 = function(arg0) {
3658
+ const ret = new IntersectionObserver(getObject(arg0));
3659
+ return addHeapObject(ret);
3660
+ };
3661
+ imports.wbg.__wbg_new_e17d9f43105b08be = function() {
3662
+ const ret = new Array();
3138
3663
  return addHeapObject(ret);
3139
3664
  };
3140
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
3141
- const ret = new Function(getStringFromWasm0(arg0, arg1));
3665
+ imports.wbg.__wbg_new_from_slice_92f4d78ca282a2d2 = function(arg0, arg1) {
3666
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
3142
3667
  return addHeapObject(ret);
3143
3668
  };
3144
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
3145
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
3669
+ imports.wbg.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
3670
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
3671
+ const ret = new Function(v0);
3146
3672
  return addHeapObject(ret);
3147
3673
  };
3148
- imports.wbg.__wbg_newwitheventinitdict_fae2ef218b85b0d2 = function() { return handleError(function (arg0, arg1, arg2) {
3149
- const ret = new CustomEvent(getStringFromWasm0(arg0, arg1), getObject(arg2));
3674
+ imports.wbg.__wbg_new_with_event_init_dict_5aac952397f55283 = function() { return handleError(function (arg0, arg1, arg2) {
3675
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
3676
+ const ret = new CustomEvent(v0, getObject(arg2));
3150
3677
  return addHeapObject(ret);
3151
3678
  }, arguments) };
3152
- imports.wbg.__wbg_newwithstrsequenceandoptions_aaff55b467c81b63 = function() { return handleError(function (arg0, arg1) {
3679
+ imports.wbg.__wbg_new_with_str_sequence_and_options_f8f029876a8b49b4 = function() { return handleError(function (arg0, arg1) {
3153
3680
  const ret = new Blob(getObject(arg0), getObject(arg1));
3154
3681
  return addHeapObject(ret);
3155
3682
  }, arguments) };
3156
- imports.wbg.__wbg_newwithu8arraysequence_1e24f242a67f6fdd = function() { return handleError(function (arg0) {
3683
+ imports.wbg.__wbg_new_with_u8_array_sequence_3d2f552b86f4023e = function() { return handleError(function (arg0) {
3157
3684
  const ret = new Blob(getObject(arg0));
3158
3685
  return addHeapObject(ret);
3159
3686
  }, arguments) };
3160
- imports.wbg.__wbg_nextSibling_f17f68d089a20939 = function(arg0) {
3687
+ imports.wbg.__wbg_nextSibling_333121d36b64e76e = function(arg0) {
3161
3688
  const ret = getObject(arg0).nextSibling;
3162
3689
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3163
3690
  };
3164
- imports.wbg.__wbg_next_14ee77ba07b561e8 = function() { return handleError(function (arg0) {
3691
+ imports.wbg.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
3165
3692
  const ret = getObject(arg0).next();
3166
3693
  return addHeapObject(ret);
3167
3694
  }, arguments) };
3168
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
3695
+ imports.wbg.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
3169
3696
  const ret = getObject(arg0).next;
3170
3697
  return addHeapObject(ret);
3171
3698
  };
3172
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
3699
+ imports.wbg.__wbg_next_aaa168c4a95757c0 = function() { return handleError(function (arg0) {
3173
3700
  const ret = getObject(arg0).next();
3174
3701
  return addHeapObject(ret);
3175
3702
  }, arguments) };
3176
- imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
3703
+ imports.wbg.__wbg_now_f5ba683d8ce2c571 = function(arg0) {
3177
3704
  const ret = getObject(arg0).now();
3178
3705
  return ret;
3179
3706
  };
3180
- imports.wbg.__wbg_observe_31dfcc90ed20edab = function(arg0, arg1) {
3707
+ imports.wbg.__wbg_observe_665cf3129931b0da = function(arg0, arg1) {
3181
3708
  getObject(arg0).observe(getObject(arg1));
3182
3709
  };
3183
- imports.wbg.__wbg_observe_ffd7428fd8bc04eb = function(arg0, arg1) {
3710
+ imports.wbg.__wbg_observe_bd3d63dde4b1e30d = function(arg0, arg1) {
3184
3711
  getObject(arg0).observe(getObject(arg1));
3185
3712
  };
3186
- imports.wbg.__wbg_offsetHeight_4b2bc94377e10979 = function(arg0) {
3713
+ imports.wbg.__wbg_offsetHeight_9cb4257b24361e2a = function(arg0) {
3187
3714
  const ret = getObject(arg0).offsetHeight;
3188
3715
  return ret;
3189
3716
  };
3190
- imports.wbg.__wbg_offsetParent_eb6119f334bb7dda = function(arg0) {
3717
+ imports.wbg.__wbg_offsetParent_97918759564fbc44 = function(arg0) {
3191
3718
  const ret = getObject(arg0).offsetParent;
3192
3719
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3193
3720
  };
3194
- imports.wbg.__wbg_offsetWidth_3cf4cc9df4051078 = function(arg0) {
3721
+ imports.wbg.__wbg_offsetWidth_16b33c540f3e9ddb = function(arg0) {
3195
3722
  const ret = getObject(arg0).offsetWidth;
3196
3723
  return ret;
3197
3724
  };
3198
- imports.wbg.__wbg_offsetX_adb14e39bdd32e22 = function(arg0) {
3725
+ imports.wbg.__wbg_offsetX_4bd247aa56ff346f = function(arg0) {
3199
3726
  const ret = getObject(arg0).offsetX;
3200
3727
  return ret;
3201
3728
  };
3202
- imports.wbg.__wbg_offsetY_e88dc24ec0418dd4 = function(arg0) {
3729
+ imports.wbg.__wbg_offsetY_2edf7781ad0674a1 = function(arg0) {
3203
3730
  const ret = getObject(arg0).offsetY;
3204
3731
  return ret;
3205
3732
  };
3206
- imports.wbg.__wbg_parentElement_be28a1a931f9c9b7 = function(arg0) {
3733
+ imports.wbg.__wbg_parentElement_cd50d7fc96356492 = function(arg0) {
3207
3734
  const ret = getObject(arg0).parentElement;
3208
3735
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3209
3736
  };
3210
- imports.wbg.__wbg_parentNode_9de97a0e7973ea4e = function(arg0) {
3737
+ imports.wbg.__wbg_parentNode_dc7c47be8cef5a6b = function(arg0) {
3211
3738
  const ret = getObject(arg0).parentNode;
3212
3739
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3213
3740
  };
3214
- imports.wbg.__wbg_parse_def2e24ef1252aff = function() { return handleError(function (arg0, arg1) {
3215
- const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
3741
+ imports.wbg.__wbg_parse_2a704d6b78abb2b8 = function() { return handleError(function (arg0, arg1) {
3742
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
3743
+ const ret = JSON.parse(v0);
3216
3744
  return addHeapObject(ret);
3217
3745
  }, arguments) };
3218
- imports.wbg.__wbg_performance_c185c0cdc2766575 = function(arg0) {
3746
+ imports.wbg.__wbg_performance_e8315b5ae987e93f = function(arg0) {
3219
3747
  const ret = getObject(arg0).performance;
3220
3748
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3221
3749
  };
3222
- imports.wbg.__wbg_pointerId_585e63ee80a49927 = function(arg0) {
3750
+ imports.wbg.__wbg_pointerId_e2ed3a97cf912a58 = function(arg0) {
3223
3751
  const ret = getObject(arg0).pointerId;
3224
3752
  return ret;
3225
3753
  };
3226
- imports.wbg.__wbg_preventDefault_c2314fd813c02b3c = function(arg0) {
3754
+ imports.wbg.__wbg_preventDefault_1f362670ce7ef430 = function(arg0) {
3227
3755
  getObject(arg0).preventDefault();
3228
3756
  };
3229
- imports.wbg.__wbg_priority_236cb810ff828b93 = function(arg0) {
3757
+ imports.wbg.__wbg_priority_11ccf79ad990024a = function(arg0) {
3230
3758
  const ret = getObject(arg0).priority;
3231
3759
  return isLikeNone(ret) ? 0x100000001 : (ret) >> 0;
3232
3760
  };
3233
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
3761
+ imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
3762
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
3763
+ };
3764
+ imports.wbg.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
3234
3765
  const ret = getObject(arg0).push(getObject(arg1));
3235
3766
  return ret;
3236
3767
  };
3237
- imports.wbg.__wbg_queueMicrotask_6808622725a52272 = function(arg0) {
3768
+ imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
3238
3769
  const ret = getObject(arg0).queueMicrotask;
3239
3770
  return addHeapObject(ret);
3240
3771
  };
3241
- imports.wbg.__wbg_queueMicrotask_ef0e86b0263a71ee = function(arg0) {
3772
+ imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
3242
3773
  queueMicrotask(getObject(arg0));
3243
3774
  };
3244
- imports.wbg.__wbg_readText_c5c32cada2022712 = function(arg0) {
3775
+ imports.wbg.__wbg_readText_9f2fda3ca7a307d8 = function(arg0) {
3245
3776
  const ret = getObject(arg0).readText();
3246
3777
  return addHeapObject(ret);
3247
3778
  };
3248
- imports.wbg.__wbg_readyState_bcffb7ab5bdd0be6 = function(arg0, arg1) {
3779
+ imports.wbg.__wbg_readyState_076622bfbb2e4c52 = function(arg0, arg1) {
3249
3780
  const ret = getObject(arg1).readyState;
3250
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3781
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3251
3782
  const len1 = WASM_VECTOR_LEN;
3252
3783
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3253
3784
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3254
3785
  };
3255
- imports.wbg.__wbg_reject_b3fcf99063186ff7 = function(arg0) {
3786
+ imports.wbg.__wbg_reject_9d4761245c015a33 = function(arg0) {
3256
3787
  const ret = Promise.reject(getObject(arg0));
3257
3788
  return addHeapObject(ret);
3258
3789
  };
3259
- imports.wbg.__wbg_relatedTarget_5ad799ea45a574ef = function(arg0) {
3790
+ imports.wbg.__wbg_relatedTarget_e524264640463763 = function(arg0) {
3260
3791
  const ret = getObject(arg0).relatedTarget;
3261
3792
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3262
3793
  };
3263
- imports.wbg.__wbg_releasePointerCapture_e950e66cb5438c50 = function() { return handleError(function (arg0, arg1) {
3794
+ imports.wbg.__wbg_releasePointerCapture_c6072f4842664fb2 = function() { return handleError(function (arg0, arg1) {
3264
3795
  getObject(arg0).releasePointerCapture(arg1);
3265
3796
  }, arguments) };
3266
- imports.wbg.__wbg_removeAttribute_e419cd6726b4c62f = function() { return handleError(function (arg0, arg1, arg2) {
3267
- getObject(arg0).removeAttribute(getStringFromWasm0(arg1, arg2));
3797
+ imports.wbg.__wbg_removeAttribute_993c4bef8df6e74d = function() { return handleError(function (arg0, arg1, arg2) {
3798
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3799
+ getObject(arg0).removeAttribute(v0);
3268
3800
  }, arguments) };
3269
- imports.wbg.__wbg_removeChild_841bf1dc802c0a2c = function() { return handleError(function (arg0, arg1) {
3801
+ imports.wbg.__wbg_removeChild_d50f6c79984abd06 = function() { return handleError(function (arg0, arg1) {
3270
3802
  const ret = getObject(arg0).removeChild(getObject(arg1));
3271
3803
  return addHeapObject(ret);
3272
3804
  }, arguments) };
3273
- imports.wbg.__wbg_removeEventListener_056dfe8c3d6c58f9 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
3274
- getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
3805
+ imports.wbg.__wbg_removeEventListener_aa21ef619e743518 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
3806
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3807
+ getObject(arg0).removeEventListener(v0, getObject(arg3));
3275
3808
  }, arguments) };
3276
- imports.wbg.__wbg_remove_282d941ca37d0c63 = function() { return handleError(function (arg0, arg1, arg2) {
3277
- getObject(arg0).remove(getStringFromWasm0(arg1, arg2));
3278
- }, arguments) };
3279
- imports.wbg.__wbg_remove_ac5c4ef6b298b070 = function() { return handleError(function (arg0, arg1) {
3809
+ imports.wbg.__wbg_remove_a3573ca93cdce154 = function() { return handleError(function (arg0, arg1) {
3280
3810
  getObject(arg0).remove(...getObject(arg1));
3281
3811
  }, arguments) };
3282
- imports.wbg.__wbg_renderwarning_d76ea9a8285a9443 = function(arg0) {
3812
+ imports.wbg.__wbg_remove_f41aab24e892f30b = function() { return handleError(function (arg0, arg1, arg2) {
3813
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3814
+ getObject(arg0).remove(v0);
3815
+ }, arguments) };
3816
+ imports.wbg.__wbg_render_warning_a743260699e6d050 = function(arg0) {
3283
3817
  const ret = getObject(arg0).render_warning;
3284
3818
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
3285
3819
  };
3286
- imports.wbg.__wbg_replaceSync_5b0a44fbd533b9ea = function() { return handleError(function (arg0, arg1, arg2) {
3287
- getObject(arg0).replaceSync(getStringFromWasm0(arg1, arg2));
3820
+ imports.wbg.__wbg_replaceSync_aed2e8e2950a590a = function() { return handleError(function (arg0, arg1, arg2) {
3821
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3822
+ getObject(arg0).replaceSync(v0);
3288
3823
  }, arguments) };
3289
- imports.wbg.__wbg_requestAnimationFrame_d7fd890aaefc3246 = function() { return handleError(function (arg0, arg1) {
3824
+ imports.wbg.__wbg_requestAnimationFrame_7ecf8bfece418f08 = function() { return handleError(function (arg0, arg1) {
3290
3825
  const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
3291
3826
  return ret;
3292
3827
  }, arguments) };
3293
- imports.wbg.__wbg_resize_a6d2f931ed55b566 = function() { return handleError(function (arg0) {
3828
+ imports.wbg.__wbg_resize_8c1aa2631aa2aa49 = function() { return handleError(function (arg0) {
3294
3829
  const ret = getObject(arg0).resize();
3295
3830
  return addHeapObject(ret);
3296
3831
  }, arguments) };
3297
- imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
3832
+ imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
3298
3833
  const ret = Promise.resolve(getObject(arg0));
3299
3834
  return addHeapObject(ret);
3300
3835
  };
3301
- imports.wbg.__wbg_resolvedOptions_d495c21c27a8f865 = function(arg0) {
3836
+ imports.wbg.__wbg_resolvedOptions_8de4eaae2819df5c = function(arg0) {
3302
3837
  const ret = getObject(arg0).resolvedOptions();
3303
3838
  return addHeapObject(ret);
3304
3839
  };
3305
- imports.wbg.__wbg_restore_458caba81058c6d0 = function() { return handleError(function (arg0, arg1, arg2) {
3840
+ imports.wbg.__wbg_restore_84e7d3ad74e7ece1 = function() { return handleError(function (arg0, arg1, arg2) {
3306
3841
  getObject(arg0).restore(getObject(arg1), getObject(arg2));
3307
3842
  }, arguments) };
3308
- imports.wbg.__wbg_restyle_0dcd3bdd8160f5b2 = function() { return handleError(function (arg0, arg1) {
3843
+ imports.wbg.__wbg_restyle_e0b7e36377c2dfa3 = function() { return handleError(function (arg0, arg1) {
3309
3844
  const ret = getObject(arg0).restyle(View.__wrap(arg1));
3310
3845
  return addHeapObject(ret);
3311
3846
  }, arguments) };
3312
- imports.wbg.__wbg_save_b0e14ff40b9bc84f = function() { return handleError(function (arg0) {
3847
+ imports.wbg.__wbg_save_7483ce4ac9b42139 = function() { return handleError(function (arg0) {
3313
3848
  const ret = getObject(arg0).save();
3314
3849
  return addHeapObject(ret);
3315
3850
  }, arguments) };
3316
- imports.wbg.__wbg_scrollLeft_b195ce13f48fdfef = function(arg0) {
3851
+ imports.wbg.__wbg_scrollLeft_f93df4741cd1cb2b = function(arg0) {
3317
3852
  const ret = getObject(arg0).scrollLeft;
3318
3853
  return ret;
3319
3854
  };
3320
- imports.wbg.__wbg_scrollTop_8a5774351f38b4cb = function(arg0) {
3855
+ imports.wbg.__wbg_scrollTop_1691677058d55be8 = function(arg0) {
3321
3856
  const ret = getObject(arg0).scrollTop;
3322
3857
  return ret;
3323
3858
  };
3324
- imports.wbg.__wbg_scrollTop_fa6a185d62b9a4ab = function(arg0) {
3859
+ imports.wbg.__wbg_scrollTop_c8c11d10202a7190 = function(arg0) {
3325
3860
  const ret = getObject(arg0).scrollTop;
3326
3861
  return ret;
3327
3862
  };
3328
- imports.wbg.__wbg_selectedIndex_18a395c5d5ffa0ed = function(arg0) {
3863
+ imports.wbg.__wbg_select_mode_fa106ad6bf684fa8 = function(arg0) {
3864
+ const ret = getObject(arg0).select_mode;
3865
+ return addHeapObject(ret);
3866
+ };
3867
+ imports.wbg.__wbg_selectedIndex_d9d1fb6f93462d99 = function(arg0) {
3329
3868
  const ret = getObject(arg0).selectedIndex;
3330
3869
  return ret;
3331
3870
  };
3332
- imports.wbg.__wbg_selectionEnd_a88c1e30434af1b1 = function() { return handleError(function (arg0) {
3871
+ imports.wbg.__wbg_selectionEnd_e613d1863b091857 = function() { return handleError(function (arg0) {
3333
3872
  const ret = getObject(arg0).selectionEnd;
3334
3873
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3335
3874
  }, arguments) };
3336
- imports.wbg.__wbg_selectionStart_dc44e18e14639dcd = function() { return handleError(function (arg0) {
3875
+ imports.wbg.__wbg_selectionStart_36668fa8d3e51047 = function() { return handleError(function (arg0) {
3337
3876
  const ret = getObject(arg0).selectionStart;
3338
3877
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3339
3878
  }, arguments) };
3340
- imports.wbg.__wbg_selectmode_e8ff50b0ebc410bc = function(arg0) {
3341
- const ret = getObject(arg0).select_mode;
3342
- return addHeapObject(ret);
3343
- };
3344
- imports.wbg.__wbg_selectorText_322ff84d30ae27e4 = function(arg0, arg1) {
3879
+ imports.wbg.__wbg_selectorText_e3cbd2ddb5f2011a = function(arg0, arg1) {
3345
3880
  const ret = getObject(arg1).selectorText;
3346
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3881
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3347
3882
  const len1 = WASM_VECTOR_LEN;
3348
3883
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3349
3884
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3350
3885
  };
3351
- imports.wbg.__wbg_setAttribute_2704501201f15687 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3352
- getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3886
+ imports.wbg.__wbg_setAttribute_9bad76f39609daac = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3887
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3888
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
3889
+ getObject(arg0).setAttribute(v0, v1);
3353
3890
  }, arguments) };
3354
- imports.wbg.__wbg_setData_900170484a66dcfb = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3355
- getObject(arg0).setData(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3891
+ imports.wbg.__wbg_setData_f94e11b461ce0cfe = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3892
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3893
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
3894
+ getObject(arg0).setData(v0, v1);
3356
3895
  }, arguments) };
3357
- imports.wbg.__wbg_setDragImage_9aca0f75c4b47a0a = function(arg0, arg1, arg2, arg3) {
3896
+ imports.wbg.__wbg_setDragImage_73a269d0150ac0c0 = function(arg0, arg1, arg2, arg3) {
3358
3897
  getObject(arg0).setDragImage(getObject(arg1), arg2, arg3);
3359
3898
  };
3360
- imports.wbg.__wbg_setPointerCapture_c04dafaf4d00ffad = function() { return handleError(function (arg0, arg1) {
3899
+ imports.wbg.__wbg_setPointerCapture_eacdec372262597f = function() { return handleError(function (arg0, arg1) {
3361
3900
  getObject(arg0).setPointerCapture(arg1);
3362
3901
  }, arguments) };
3363
- imports.wbg.__wbg_setProperty_f2cf326652b9a713 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3364
- getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3902
+ imports.wbg.__wbg_setProperty_7b188d7e71d4aca8 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3903
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3904
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
3905
+ getObject(arg0).setProperty(v0, v1);
3365
3906
  }, arguments) };
3366
- imports.wbg.__wbg_setSelectionRange_d21aba914df4914b = function() { return handleError(function (arg0, arg1, arg2) {
3907
+ imports.wbg.__wbg_setSelectionRange_114fc5afab5c8a11 = function() { return handleError(function (arg0, arg1, arg2) {
3367
3908
  getObject(arg0).setSelectionRange(arg1 >>> 0, arg2 >>> 0);
3368
3909
  }, arguments) };
3369
- imports.wbg.__wbg_setTimeout_f2fe5af8e3debeb3 = function() { return handleError(function (arg0, arg1, arg2) {
3910
+ imports.wbg.__wbg_setTimeout_780ac15e3df4c663 = function() { return handleError(function (arg0, arg1, arg2) {
3370
3911
  const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
3371
3912
  return ret;
3372
3913
  }, arguments) };
3373
- imports.wbg.__wbg_set_2ae42725079709b3 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3374
- getObject(arg0)[getStringFromWasm0(arg1, arg2)] = getStringFromWasm0(arg3, arg4);
3375
- }, arguments) };
3376
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
3377
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
3378
- };
3379
3914
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
3380
3915
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
3381
3916
  };
3382
- imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
3383
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
3384
- };
3385
- imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
3917
+ imports.wbg.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
3386
3918
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
3387
3919
  return addHeapObject(ret);
3388
3920
  };
3389
- imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
3921
+ imports.wbg.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
3922
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
3923
+ };
3924
+ imports.wbg.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
3390
3925
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
3391
3926
  return ret;
3392
3927
  }, arguments) };
3393
- imports.wbg.__wbg_setcachekey_bb5f908a0e3ee714 = function(arg0, arg1) {
3928
+ imports.wbg.__wbg_set_cache_key_07879d8e1ddc3687 = function(arg0, arg1) {
3394
3929
  getObject(arg0).__yew_subtree_cache_key = arg1 >>> 0;
3395
3930
  };
3396
- imports.wbg.__wbg_setcapture_46bd7043887eba02 = function(arg0, arg1) {
3931
+ imports.wbg.__wbg_set_capture_baeff7292df46e64 = function(arg0, arg1) {
3397
3932
  getObject(arg0).capture = arg1 !== 0;
3398
3933
  };
3399
- imports.wbg.__wbg_setchecked_5024c3767a6970c2 = function(arg0, arg1) {
3934
+ imports.wbg.__wbg_set_checked_d83cdf8383da302c = function(arg0, arg1) {
3400
3935
  getObject(arg0).checked = arg1 !== 0;
3401
3936
  };
3402
- imports.wbg.__wbg_setdetail_fc5160ccbec4ee24 = function(arg0, arg1) {
3937
+ imports.wbg.__wbg_set_defaultValue_d737e59a17f52f66 = function() { return handleError(function (arg0, arg1, arg2) {
3938
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3939
+ getObject(arg0).defaultValue = v0;
3940
+ }, arguments) };
3941
+ imports.wbg.__wbg_set_detail_0fdb00af15229efb = function(arg0, arg1) {
3403
3942
  getObject(arg0).detail = getObject(arg1);
3404
3943
  };
3405
- imports.wbg.__wbg_setdropEffect_97b2f783058fdea8 = function(arg0, arg1, arg2) {
3406
- getObject(arg0).dropEffect = getStringFromWasm0(arg1, arg2);
3944
+ imports.wbg.__wbg_set_dropEffect_695fce78e97010c3 = function(arg0, arg1, arg2) {
3945
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3946
+ getObject(arg0).dropEffect = v0;
3407
3947
  };
3408
- imports.wbg.__wbg_setinnerHTML_31bde41f835786f7 = function(arg0, arg1, arg2) {
3409
- getObject(arg0).innerHTML = getStringFromWasm0(arg1, arg2);
3948
+ imports.wbg.__wbg_set_ff80ace3056db864 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3949
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3950
+ var v1 = getCachedStringFromWasm0(arg3, arg4);
3951
+ getObject(arg0)[v0] = v1;
3952
+ }, arguments) };
3953
+ imports.wbg.__wbg_set_innerHTML_fb5a7e25198fc344 = function(arg0, arg1, arg2) {
3954
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3955
+ getObject(arg0).innerHTML = v0;
3410
3956
  };
3411
- imports.wbg.__wbg_setinnerText_b11978b8158639c4 = function(arg0, arg1, arg2) {
3412
- getObject(arg0).innerText = getStringFromWasm0(arg1, arg2);
3957
+ imports.wbg.__wbg_set_innerText_cb18b8a84b7ba04a = function(arg0, arg1, arg2) {
3958
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3959
+ getObject(arg0).innerText = v0;
3413
3960
  };
3414
- imports.wbg.__wbg_setlistenerid_3d14d37a42484593 = function(arg0, arg1) {
3961
+ imports.wbg.__wbg_set_listener_id_673485d61ca64e47 = function(arg0, arg1) {
3415
3962
  getObject(arg0).__yew_listener_id = arg1 >>> 0;
3416
3963
  };
3417
- imports.wbg.__wbg_setmode_7ac588c6f73c590c = function(arg0, arg1) {
3964
+ imports.wbg.__wbg_set_mode_a8cda2dab282ccb3 = function(arg0, arg1) {
3418
3965
  getObject(arg0).mode = __wbindgen_enum_ShadowRootMode[arg1];
3419
3966
  };
3420
- imports.wbg.__wbg_setnodeValue_58cb1b2f6b6c33d2 = function(arg0, arg1, arg2) {
3421
- getObject(arg0).nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
3967
+ imports.wbg.__wbg_set_nodeValue_29459be446540ce0 = function(arg0, arg1, arg2) {
3968
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3969
+ getObject(arg0).nodeValue = v0;
3422
3970
  };
3423
- imports.wbg.__wbg_setpassive_57a5a4c4b00a7c62 = function(arg0, arg1) {
3971
+ imports.wbg.__wbg_set_passive_c4c6f6a4ddd1a789 = function(arg0, arg1) {
3424
3972
  getObject(arg0).passive = arg1 !== 0;
3425
3973
  };
3426
- imports.wbg.__wbg_setrenderwarning_1c0e52930550f1a3 = function(arg0, arg1) {
3974
+ imports.wbg.__wbg_set_render_warning_f1bbda8584a02e2e = function(arg0, arg1) {
3427
3975
  getObject(arg0).render_warning = arg1 !== 0;
3428
3976
  };
3429
- imports.wbg.__wbg_setscrollLeft_4a32d6dd95043f07 = function(arg0, arg1) {
3977
+ imports.wbg.__wbg_set_scrollLeft_25329e90b87ac8c6 = function(arg0, arg1) {
3430
3978
  getObject(arg0).scrollLeft = arg1;
3431
3979
  };
3432
- imports.wbg.__wbg_setscrollTop_f15a2d1f8cd45571 = function(arg0, arg1) {
3980
+ imports.wbg.__wbg_set_scrollTop_dc5389fdefb14c7a = function(arg0, arg1) {
3433
3981
  getObject(arg0).scrollTop = arg1;
3434
3982
  };
3435
- imports.wbg.__wbg_setselectionEnd_d0dfa434c176031a = function() { return handleError(function (arg0, arg1) {
3983
+ imports.wbg.__wbg_set_selectionEnd_8f19746b19d6ccf7 = function() { return handleError(function (arg0, arg1) {
3436
3984
  getObject(arg0).selectionEnd = arg1 === 0x100000001 ? undefined : arg1;
3437
3985
  }, arguments) };
3438
- imports.wbg.__wbg_setselectionStart_253f7c8500199419 = function() { return handleError(function (arg0, arg1) {
3986
+ imports.wbg.__wbg_set_selectionStart_083714a7d8bd94e4 = function() { return handleError(function (arg0, arg1) {
3439
3987
  getObject(arg0).selectionStart = arg1 === 0x100000001 ? undefined : arg1;
3440
3988
  }, arguments) };
3441
- imports.wbg.__wbg_setsubtreeid_32b8ceff55862e29 = function(arg0, arg1) {
3989
+ imports.wbg.__wbg_set_subtree_id_7f776f86c6337160 = function(arg0, arg1) {
3442
3990
  getObject(arg0).__yew_subtree_id = arg1 >>> 0;
3443
3991
  };
3444
- imports.wbg.__wbg_settype_39ed370d3edd403c = function(arg0, arg1, arg2) {
3445
- getObject(arg0).type = getStringFromWasm0(arg1, arg2);
3992
+ imports.wbg.__wbg_set_type_63fa4c18251f6545 = function(arg0, arg1, arg2) {
3993
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3994
+ getObject(arg0).type = v0;
3446
3995
  };
3447
- imports.wbg.__wbg_setvalue_08d17a42e5d5069d = function(arg0, arg1, arg2) {
3448
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
3996
+ imports.wbg.__wbg_set_value_1fd424cb99963707 = function(arg0, arg1, arg2) {
3997
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
3998
+ getObject(arg0).value = v0;
3449
3999
  };
3450
- imports.wbg.__wbg_setvalue_6ad9ef6c692ea746 = function(arg0, arg1, arg2) {
3451
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
4000
+ imports.wbg.__wbg_set_value_8aaac803298d95f2 = function(arg0, arg1, arg2) {
4001
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
4002
+ getObject(arg0).value = v0;
3452
4003
  };
3453
- imports.wbg.__wbg_setvalue_f76614f551612e39 = function(arg0, arg1, arg2) {
3454
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
4004
+ imports.wbg.__wbg_set_value_fc41c55ad095d999 = function(arg0, arg1, arg2) {
4005
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
4006
+ getObject(arg0).value = v0;
3455
4007
  };
3456
- imports.wbg.__wbg_shadowRoot_4d9a9fd1d2f67c15 = function(arg0) {
4008
+ imports.wbg.__wbg_shadowRoot_634b1c251e90d398 = function(arg0) {
3457
4009
  const ret = getObject(arg0).shadowRoot;
3458
4010
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3459
4011
  };
3460
- imports.wbg.__wbg_shiftKey_2bebb3b703254f47 = function(arg0) {
4012
+ imports.wbg.__wbg_shiftKey_02a93ca3ce31a4f4 = function(arg0) {
3461
4013
  const ret = getObject(arg0).shiftKey;
3462
4014
  return ret;
3463
4015
  };
3464
- imports.wbg.__wbg_shiftKey_86e737105bab1a54 = function(arg0) {
4016
+ imports.wbg.__wbg_shiftKey_e0b189884cc0d006 = function(arg0) {
3465
4017
  const ret = getObject(arg0).shiftKey;
3466
4018
  return ret;
3467
4019
  };
3468
- imports.wbg.__wbg_slice_ab0b7e3d75dccdee = function(arg0, arg1, arg2) {
3469
- const ret = getObject(arg0).slice(arg1 >>> 0, arg2 >>> 0);
3470
- return addHeapObject(ret);
3471
- };
3472
- imports.wbg.__wbg_splice_ee284c704bebb18b = function(arg0, arg1, arg2, arg3) {
4020
+ imports.wbg.__wbg_splice_083fd51c75440bce = function(arg0, arg1, arg2, arg3) {
3473
4021
  const ret = getObject(arg0).splice(arg1 >>> 0, arg2 >>> 0, getObject(arg3));
3474
4022
  return addHeapObject(ret);
3475
4023
  };
3476
4024
  imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
3477
4025
  const ret = getObject(arg1).stack;
3478
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
4026
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3479
4027
  const len1 = WASM_VECTOR_LEN;
3480
4028
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3481
4029
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3482
4030
  };
3483
- imports.wbg.__wbg_startTime_c051731d0a31602f = function(arg0) {
4031
+ imports.wbg.__wbg_startTime_539df5e9647037f7 = function(arg0) {
3484
4032
  const ret = getObject(arg0).startTime;
3485
4033
  return ret;
3486
4034
  };
3487
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
4035
+ imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
3488
4036
  const ret = typeof global === 'undefined' ? null : global;
3489
4037
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3490
4038
  };
3491
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
4039
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
3492
4040
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
3493
4041
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3494
4042
  };
3495
- imports.wbg.__wbg_static_accessor_PSP_f45b0801acbbe5ba = function() {
4043
+ imports.wbg.__wbg_static_accessor_PSP_7c046f78a2d1bbb9 = function() {
3496
4044
  const ret = psp;
3497
4045
  return addHeapObject(ret);
3498
4046
  };
3499
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
4047
+ imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
3500
4048
  const ret = typeof self === 'undefined' ? null : self;
3501
4049
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3502
4050
  };
3503
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
4051
+ imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
3504
4052
  const ret = typeof window === 'undefined' ? null : window;
3505
4053
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3506
4054
  };
3507
- imports.wbg.__wbg_stopPropagation_11d220a858e5e0fb = function(arg0) {
4055
+ imports.wbg.__wbg_stopPropagation_c77434a66c3604c3 = function(arg0) {
3508
4056
  getObject(arg0).stopPropagation();
3509
4057
  };
3510
- imports.wbg.__wbg_stringify_e3eb82f5aa1ea94d = function() { return handleError(function (arg0, arg1, arg2) {
4058
+ imports.wbg.__wbg_stringify_0bdeff4c2b2d9a80 = function() { return handleError(function (arg0, arg1, arg2) {
3511
4059
  const ret = JSON.stringify(getObject(arg0), getObject(arg1), getObject(arg2));
3512
4060
  return addHeapObject(ret);
3513
4061
  }, arguments) };
3514
- imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
4062
+ imports.wbg.__wbg_stringify_b5fb28f6465d9c3e = function() { return handleError(function (arg0) {
3515
4063
  const ret = JSON.stringify(getObject(arg0));
3516
4064
  return addHeapObject(ret);
3517
4065
  }, arguments) };
3518
- imports.wbg.__wbg_styleSheets_4e03b9e094ac4796 = function(arg0) {
4066
+ imports.wbg.__wbg_styleSheets_c1687ce7d88fab76 = function(arg0) {
3519
4067
  const ret = getObject(arg0).styleSheets;
3520
4068
  return addHeapObject(ret);
3521
4069
  };
3522
- imports.wbg.__wbg_style_f9abbd71e4e4c9e2 = function(arg0) {
4070
+ imports.wbg.__wbg_style_763a7ccfd47375da = function(arg0) {
3523
4071
  const ret = getObject(arg0).style;
3524
4072
  return addHeapObject(ret);
3525
4073
  };
3526
- imports.wbg.__wbg_style_fb30c14e5815805c = function(arg0) {
4074
+ imports.wbg.__wbg_style_e93ce4f80cfb665b = function(arg0) {
3527
4075
  const ret = getObject(arg0).style;
3528
4076
  return addHeapObject(ret);
3529
4077
  };
3530
- imports.wbg.__wbg_subtreeid_e65dfcc52d403fd9 = function(arg0) {
4078
+ imports.wbg.__wbg_subtree_id_bb66e5e9d0f64dbd = function(arg0) {
3531
4079
  const ret = getObject(arg0).__yew_subtree_id;
3532
4080
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3533
4081
  };
3534
- imports.wbg.__wbg_supportedValuesOf_baf43b8db0c62848 = function(arg0) {
4082
+ imports.wbg.__wbg_supportedValuesOf_070fa4a5ceb73fe3 = function(arg0) {
3535
4083
  const ret = Intl.supportedValuesOf(getObject(arg0));
3536
4084
  return addHeapObject(ret);
3537
4085
  };
@@ -3539,84 +4087,93 @@ function __wbg_get_imports() {
3539
4087
  const ret = Table.__wrap(arg0);
3540
4088
  return addHeapObject(ret);
3541
4089
  };
3542
- imports.wbg.__wbg_tagName_b284ab9c1479c38d = function(arg0, arg1) {
4090
+ imports.wbg.__wbg_tagName_b21eb702144e35a1 = function(arg0, arg1) {
3543
4091
  const ret = getObject(arg1).tagName;
3544
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
4092
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3545
4093
  const len1 = WASM_VECTOR_LEN;
3546
4094
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3547
4095
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3548
4096
  };
3549
- imports.wbg.__wbg_target_0a62d9d79a2a1ede = function(arg0) {
4097
+ imports.wbg.__wbg_target_1447f5d3a6fa6fe0 = function(arg0) {
3550
4098
  const ret = getObject(arg0).target;
3551
4099
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3552
4100
  };
3553
- imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
4101
+ imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
3554
4102
  const ret = getObject(arg0).then(getObject(arg1));
3555
4103
  return addHeapObject(ret);
3556
4104
  };
3557
- imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
4105
+ imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
3558
4106
  const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
3559
4107
  return addHeapObject(ret);
3560
4108
  };
3561
- imports.wbg.__wbg_toString_5285597960676b7b = function(arg0) {
4109
+ imports.wbg.__wbg_toString_7da7c8dbec78fcb8 = function(arg0) {
3562
4110
  const ret = getObject(arg0).toString();
3563
4111
  return addHeapObject(ret);
3564
4112
  };
3565
- imports.wbg.__wbg_toggleAttribute_c3884c3487bd80cf = function() { return handleError(function (arg0, arg1, arg2, arg3) {
3566
- const ret = getObject(arg0).toggleAttribute(getStringFromWasm0(arg1, arg2), arg3 !== 0);
4113
+ imports.wbg.__wbg_toggleAttribute_dcd68dc2a2d43c01 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
4114
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
4115
+ const ret = getObject(arg0).toggleAttribute(v0, arg3 !== 0);
3567
4116
  return ret;
3568
4117
  }, arguments) };
3569
- imports.wbg.__wbg_toggle_eb55caf936454eda = function() { return handleError(function (arg0, arg1, arg2) {
3570
- const ret = getObject(arg0).toggle(getStringFromWasm0(arg1, arg2));
4118
+ imports.wbg.__wbg_toggle_8cc1dca1393ccda7 = function() { return handleError(function (arg0, arg1, arg2) {
4119
+ var v0 = getCachedStringFromWasm0(arg1, arg2);
4120
+ const ret = getObject(arg0).toggle(v0);
3571
4121
  return ret;
3572
4122
  }, arguments) };
3573
- imports.wbg.__wbg_top_ec9fceb1f030f2ea = function(arg0) {
4123
+ imports.wbg.__wbg_top_e4eeead6b19051fb = function(arg0) {
3574
4124
  const ret = getObject(arg0).top;
3575
4125
  return ret;
3576
4126
  };
3577
- imports.wbg.__wbg_trace_d12a9ac890a2cbb8 = function(arg0, arg1, arg2, arg3) {
4127
+ imports.wbg.__wbg_trace_8e50cd754f118df3 = function(arg0) {
4128
+ console.trace(getObject(arg0));
4129
+ };
4130
+ imports.wbg.__wbg_trace_cf9f10b8c61bd472 = function(arg0, arg1, arg2, arg3) {
3578
4131
  console.trace(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
3579
4132
  };
3580
- imports.wbg.__wbg_trace_e758b839df8d34f1 = function(arg0) {
3581
- console.trace(getObject(arg0));
4133
+ imports.wbg.__wbg_type_6ec4563941c672e4 = function(arg0, arg1) {
4134
+ const ret = getObject(arg1).type;
4135
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
4136
+ const len1 = WASM_VECTOR_LEN;
4137
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4138
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3582
4139
  };
3583
- imports.wbg.__wbg_unobserve_5a4a94ed90299721 = function(arg0, arg1) {
4140
+ imports.wbg.__wbg_unobserve_36fb2a334e58a516 = function(arg0, arg1) {
3584
4141
  getObject(arg0).unobserve(getObject(arg1));
3585
4142
  };
3586
- imports.wbg.__wbg_unobserve_ad263f96a3c8f2c3 = function(arg0, arg1) {
4143
+ imports.wbg.__wbg_unobserve_b2b663876e65a6e8 = function(arg0, arg1) {
3587
4144
  getObject(arg0).unobserve(getObject(arg1));
3588
4145
  };
3589
- imports.wbg.__wbg_update_cda08f1355c68c3f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4146
+ imports.wbg.__wbg_update_e8d946295abaa837 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3590
4147
  const ret = getObject(arg0).update(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
3591
4148
  return addHeapObject(ret);
3592
4149
  }, arguments) };
3593
- imports.wbg.__wbg_valueAsNumber_043294bd69d4d3e6 = function(arg0) {
4150
+ imports.wbg.__wbg_valueAsNumber_8d9056b4f70eeed9 = function(arg0) {
3594
4151
  const ret = getObject(arg0).valueAsNumber;
3595
4152
  return ret;
3596
4153
  };
3597
- imports.wbg.__wbg_value_1d971aac958c6f2f = function(arg0, arg1) {
4154
+ imports.wbg.__wbg_value_18a0f1c3623b964f = function(arg0, arg1) {
3598
4155
  const ret = getObject(arg1).value;
3599
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
4156
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3600
4157
  const len1 = WASM_VECTOR_LEN;
3601
4158
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3602
4159
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3603
4160
  };
3604
- imports.wbg.__wbg_value_91cbf0dd3ab84c1e = function(arg0, arg1) {
4161
+ imports.wbg.__wbg_value_692627309814bb8c = function(arg0) {
4162
+ const ret = getObject(arg0).value;
4163
+ return addHeapObject(ret);
4164
+ };
4165
+ imports.wbg.__wbg_value_f470db44e5a60ad8 = function(arg0, arg1) {
3605
4166
  const ret = getObject(arg1).value;
3606
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
4167
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3607
4168
  const len1 = WASM_VECTOR_LEN;
3608
4169
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3609
4170
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3610
4171
  };
3611
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
3612
- const ret = getObject(arg0).value;
3613
- return addHeapObject(ret);
3614
- };
3615
- imports.wbg.__wbg_values_5e6b81a918af9f75 = function(arg0) {
4172
+ imports.wbg.__wbg_values_072577aa51506178 = function(arg0) {
3616
4173
  const ret = getObject(arg0).values();
3617
4174
  return addHeapObject(ret);
3618
4175
  };
3619
- imports.wbg.__wbg_values_fcb8ba8c0aad8b58 = function(arg0) {
4176
+ imports.wbg.__wbg_values_6f4c6a6a11564d83 = function(arg0) {
3620
4177
  const ret = Object.values(getObject(arg0));
3621
4178
  return addHeapObject(ret);
3622
4179
  };
@@ -3628,163 +4185,118 @@ function __wbg_get_imports() {
3628
4185
  const ret = View.__unwrap(takeObject(arg0));
3629
4186
  return ret;
3630
4187
  };
3631
- imports.wbg.__wbg_warn_4ca3906c248c47c4 = function(arg0) {
4188
+ imports.wbg.__wbg_warn_1d74dddbe2fd1dbb = function(arg0) {
3632
4189
  console.warn(getObject(arg0));
3633
4190
  };
3634
- imports.wbg.__wbg_warn_aaf1f4664a035bd6 = function(arg0, arg1, arg2, arg3) {
4191
+ imports.wbg.__wbg_warn_8f5b5437666d0885 = function(arg0, arg1, arg2, arg3) {
3635
4192
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
3636
4193
  };
3637
- imports.wbg.__wbg_weight_dbff438d3f4611fa = function(arg0, arg1) {
4194
+ imports.wbg.__wbg_weight_dc9bec05fd9be1b8 = function(arg0, arg1) {
3638
4195
  const ret = getObject(arg1).weight;
3639
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
4196
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3640
4197
  const len1 = WASM_VECTOR_LEN;
3641
4198
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3642
4199
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3643
4200
  };
3644
- imports.wbg.__wbg_which_bba8e8ae7a01d1db = function(arg0) {
4201
+ imports.wbg.__wbg_which_6e5116d9fb04d9fa = function(arg0) {
3645
4202
  const ret = getObject(arg0).which;
3646
4203
  return ret;
3647
4204
  };
3648
- imports.wbg.__wbg_width_cdaf02311c1621d1 = function(arg0) {
4205
+ imports.wbg.__wbg_width_cd308a6e89422ce8 = function(arg0) {
3649
4206
  const ret = getObject(arg0).width;
3650
4207
  return ret;
3651
4208
  };
3652
- imports.wbg.__wbg_width_f0759bd8bad335bd = function(arg0) {
4209
+ imports.wbg.__wbg_width_d02e5c8cc6e335b7 = function(arg0) {
3653
4210
  const ret = getObject(arg0).width;
3654
4211
  return ret;
3655
4212
  };
3656
- imports.wbg.__wbg_write_e357400b06c0ccf5 = function(arg0, arg1) {
4213
+ imports.wbg.__wbg_write_9bf74e4aa45bf5d6 = function(arg0, arg1) {
3657
4214
  const ret = getObject(arg0).write(getObject(arg1));
3658
4215
  return addHeapObject(ret);
3659
4216
  };
3660
- imports.wbg.__wbindgen_as_number = function(arg0) {
3661
- const ret = +getObject(arg0);
3662
- return ret;
3663
- };
3664
- imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
3665
- const ret = arg0;
4217
+ imports.wbg.__wbindgen_cast_0c5bf356910083f8 = function(arg0, arg1) {
4218
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5, function: Function { arguments: [Externref], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4219
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_452, __wasm_bindgen_func_elem_5617);
3666
4220
  return addHeapObject(ret);
3667
4221
  };
3668
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
3669
- const ret = BigInt.asUintN(64, arg0);
4222
+ imports.wbg.__wbindgen_cast_25a0a844437d0e92 = function(arg0, arg1) {
4223
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
4224
+ wasm.__wbindgen_export4(arg0, arg1 * 4, 4);
4225
+ // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
4226
+ const ret = v0;
3670
4227
  return addHeapObject(ret);
3671
4228
  };
3672
- imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
3673
- const v = getObject(arg1);
3674
- const ret = typeof(v) === 'bigint' ? v : undefined;
3675
- getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
3676
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
3677
- };
3678
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
3679
- const v = getObject(arg0);
3680
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
3681
- return ret;
3682
- };
3683
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
3684
- const obj = takeObject(arg0).original;
3685
- if (obj.cnt-- == 1) {
3686
- obj.a = 0;
3687
- return true;
3688
- }
3689
- const ret = false;
3690
- return ret;
3691
- };
3692
- imports.wbg.__wbindgen_closure_wrapper14430 = function(arg0, arg1, arg2) {
3693
- const ret = makeClosure(arg0, arg1, 3716, __wbg_adapter_65);
4229
+ imports.wbg.__wbindgen_cast_2afe68658dc2aa86 = function(arg0, arg1) {
4230
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 9, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4231
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_455, __wasm_bindgen_func_elem_5618);
3694
4232
  return addHeapObject(ret);
3695
4233
  };
3696
- imports.wbg.__wbindgen_closure_wrapper17939 = function(arg0, arg1, arg2) {
3697
- const ret = makeClosure(arg0, arg1, 4296, __wbg_adapter_68);
4234
+ imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
4235
+ // Cast intrinsic for `U64 -> Externref`.
4236
+ const ret = BigInt.asUintN(64, arg0);
3698
4237
  return addHeapObject(ret);
3699
4238
  };
3700
- imports.wbg.__wbindgen_closure_wrapper18849 = function(arg0, arg1, arg2) {
3701
- const ret = makeMutClosure(arg0, arg1, 4388, __wbg_adapter_71);
4239
+ imports.wbg.__wbindgen_cast_59f28f455f1a69ef = function(arg0, arg1) {
4240
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7, function: Function { arguments: [], shim_idx: 8, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4241
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_455, __wasm_bindgen_func_elem_5616);
3702
4242
  return addHeapObject(ret);
3703
4243
  };
3704
- imports.wbg.__wbindgen_closure_wrapper18898 = function(arg0, arg1, arg2) {
3705
- const ret = makeMutClosure(arg0, arg1, 4392, __wbg_adapter_74);
4244
+ imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
4245
+ var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
4246
+ wasm.__wbindgen_export4(arg0, arg1 * 1, 1);
4247
+ // Cast intrinsic for `Vector(U8) -> Externref`.
4248
+ const ret = v0;
3706
4249
  return addHeapObject(ret);
3707
4250
  };
3708
- imports.wbg.__wbindgen_closure_wrapper5960 = function(arg0, arg1, arg2) {
3709
- const ret = makeClosure(arg0, arg1, 74, __wbg_adapter_52);
4251
+ imports.wbg.__wbindgen_cast_7e9c58eeb11b0a6f = function(arg0, arg1) {
4252
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
4253
+ // Cast intrinsic for `Ref(CachedString) -> Externref`.
4254
+ const ret = v0;
3710
4255
  return addHeapObject(ret);
3711
4256
  };
3712
- imports.wbg.__wbindgen_closure_wrapper5962 = function(arg0, arg1, arg2) {
3713
- const ret = makeMutClosure(arg0, arg1, 74, __wbg_adapter_55);
4257
+ imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
4258
+ // Cast intrinsic for `I64 -> Externref`.
4259
+ const ret = arg0;
3714
4260
  return addHeapObject(ret);
3715
4261
  };
3716
- imports.wbg.__wbindgen_closure_wrapper5964 = function(arg0, arg1, arg2) {
3717
- const ret = makeClosure(arg0, arg1, 74, __wbg_adapter_52);
4262
+ imports.wbg.__wbindgen_cast_a004e42cc12fef46 = function(arg0, arg1) {
4263
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4264
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_455, __wasm_bindgen_func_elem_5617);
3718
4265
  return addHeapObject(ret);
3719
4266
  };
3720
- imports.wbg.__wbindgen_closure_wrapper5966 = function(arg0, arg1, arg2) {
3721
- const ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_60);
4267
+ imports.wbg.__wbindgen_cast_a1480eeb96104428 = function(arg0, arg1) {
4268
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4517, function: Function { arguments: [Externref], shim_idx: 4518, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4269
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_18154, __wasm_bindgen_func_elem_18169);
3722
4270
  return addHeapObject(ret);
3723
4271
  };
3724
- imports.wbg.__wbindgen_closure_wrapper5968 = function(arg0, arg1, arg2) {
3725
- const ret = makeMutClosure(arg0, arg1, 74, __wbg_adapter_55);
4272
+ imports.wbg.__wbindgen_cast_ac4c0a5c03e1fbeb = function(arg0, arg1) {
4273
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4513, function: Function { arguments: [], shim_idx: 4514, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4274
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_18140, __wasm_bindgen_func_elem_18148);
3726
4275
  return addHeapObject(ret);
3727
4276
  };
3728
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
3729
- const ret = debugString(getObject(arg1));
3730
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3731
- const len1 = WASM_VECTOR_LEN;
3732
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3733
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3734
- };
3735
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
3736
- const ret = new Error(getStringFromWasm0(arg0, arg1));
4277
+ imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
4278
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
4279
+ const ret = getArrayU8FromWasm0(arg0, arg1);
3737
4280
  return addHeapObject(ret);
3738
4281
  };
3739
- imports.wbg.__wbindgen_in = function(arg0, arg1) {
3740
- const ret = getObject(arg0) in getObject(arg1);
3741
- return ret;
3742
- };
3743
- imports.wbg.__wbindgen_is_bigint = function(arg0) {
3744
- const ret = typeof(getObject(arg0)) === 'bigint';
3745
- return ret;
3746
- };
3747
- imports.wbg.__wbindgen_is_function = function(arg0) {
3748
- const ret = typeof(getObject(arg0)) === 'function';
3749
- return ret;
3750
- };
3751
- imports.wbg.__wbindgen_is_null = function(arg0) {
3752
- const ret = getObject(arg0) === null;
3753
- return ret;
3754
- };
3755
- imports.wbg.__wbindgen_is_object = function(arg0) {
3756
- const val = getObject(arg0);
3757
- const ret = typeof(val) === 'object' && val !== null;
3758
- return ret;
3759
- };
3760
- imports.wbg.__wbindgen_is_string = function(arg0) {
3761
- const ret = typeof(getObject(arg0)) === 'string';
3762
- return ret;
3763
- };
3764
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
3765
- const ret = getObject(arg0) === undefined;
3766
- return ret;
3767
- };
3768
- imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
3769
- const ret = getObject(arg0) === getObject(arg1);
3770
- return ret;
3771
- };
3772
- imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
3773
- const ret = getObject(arg0) == getObject(arg1);
3774
- return ret;
4282
+ imports.wbg.__wbindgen_cast_ce7e2e7a4211240f = function(arg0, arg1) {
4283
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 3675, function: Function { arguments: [], shim_idx: 3676, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
4284
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_12591, __wasm_bindgen_func_elem_13059);
4285
+ return addHeapObject(ret);
3775
4286
  };
3776
- imports.wbg.__wbindgen_memory = function() {
3777
- const ret = wasm.memory;
4287
+ imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
4288
+ // Cast intrinsic for `F64 -> Externref`.
4289
+ const ret = arg0;
3778
4290
  return addHeapObject(ret);
3779
4291
  };
3780
- imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
3781
- const obj = getObject(arg1);
3782
- const ret = typeof(obj) === 'number' ? obj : undefined;
3783
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
3784
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
4292
+ imports.wbg.__wbindgen_cast_d9fbaab0f3788525 = function(arg0, arg1) {
4293
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 9, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4294
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_455, __wasm_bindgen_func_elem_5618);
4295
+ return addHeapObject(ret);
3785
4296
  };
3786
- imports.wbg.__wbindgen_number_new = function(arg0) {
3787
- const ret = arg0;
4297
+ imports.wbg.__wbindgen_cast_e972739513f1ddd2 = function(arg0, arg1) {
4298
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4401, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 4402, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4299
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_17151, __wasm_bindgen_func_elem_17223);
3788
4300
  return addHeapObject(ret);
3789
4301
  };
3790
4302
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
@@ -3794,29 +4306,10 @@ function __wbg_get_imports() {
3794
4306
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
3795
4307
  takeObject(arg0);
3796
4308
  };
3797
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
3798
- const obj = getObject(arg1);
3799
- const ret = typeof(obj) === 'string' ? obj : undefined;
3800
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
3801
- var len1 = WASM_VECTOR_LEN;
3802
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3803
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3804
- };
3805
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
3806
- const ret = getStringFromWasm0(arg0, arg1);
3807
- return addHeapObject(ret);
3808
- };
3809
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
3810
- throw new Error(getStringFromWasm0(arg0, arg1));
3811
- };
3812
4309
 
3813
4310
  return imports;
3814
4311
  }
3815
4312
 
3816
- function __wbg_init_memory(imports, memory) {
3817
-
3818
- }
3819
-
3820
4313
  function __wbg_finalize_init(instance, module) {
3821
4314
  wasm = instance.exports;
3822
4315
  __wbg_init.__wbindgen_wasm_module = module;
@@ -3842,8 +4335,6 @@ function initSync(module) {
3842
4335
 
3843
4336
  const imports = __wbg_get_imports();
3844
4337
 
3845
- __wbg_init_memory(imports);
3846
-
3847
4338
  if (!(module instanceof WebAssembly.Module)) {
3848
4339
  module = new WebAssembly.Module(module);
3849
4340
  }
@@ -3872,8 +4363,6 @@ async function __wbg_init(module_or_path) {
3872
4363
  module_or_path = fetch(module_or_path);
3873
4364
  }
3874
4365
 
3875
- __wbg_init_memory(imports);
3876
-
3877
4366
  const { instance, module } = await __wbg_load(await module_or_path, imports);
3878
4367
 
3879
4368
  return __wbg_finalize_init(instance, module);