@unyt/datex 0.0.14 → 0.0.15

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 (141) hide show
  1. package/esm/datex-web/datex_web.d.ts +93 -2
  2. package/esm/datex-web/datex_web.internal.d.ts +215 -197
  3. package/esm/datex-web/datex_web.internal.d.ts.map +1 -1
  4. package/esm/datex-web/datex_web.internal.js +437 -407
  5. package/esm/datex-web/datex_web.wasm +0 -0
  6. package/esm/datex-web/types/decompiler/options.d.ts +17 -0
  7. package/esm/datex-web/types/decompiler/options.d.ts.map +1 -0
  8. package/esm/datex-web/types/decompiler/options.js +4 -0
  9. package/esm/datex-web/types/disassembler/options.d.ts +6 -0
  10. package/esm/datex-web/types/disassembler/options.d.ts.map +1 -0
  11. package/esm/datex-web/types/disassembler/options.js +4 -0
  12. package/esm/datex-web/types/network/com_hub/managers/socket_manager.d.ts +9 -0
  13. package/esm/datex-web/types/network/com_hub/managers/socket_manager.d.ts.map +1 -0
  14. package/esm/datex-web/types/network/com_hub/managers/socket_manager.js +4 -0
  15. package/esm/datex-web/types/network/com_hub/metadata.d.ts +20 -0
  16. package/esm/datex-web/types/network/com_hub/metadata.d.ts.map +1 -0
  17. package/esm/datex-web/types/network/com_hub/metadata.js +4 -0
  18. package/esm/datex-web/types/network/com_hub/mod.d.ts +6 -0
  19. package/esm/datex-web/types/network/com_hub/mod.d.ts.map +1 -0
  20. package/esm/datex-web/types/network/com_hub/mod.js +4 -0
  21. package/esm/datex-web/types/network/com_hub/network_tracing.d.ts +23 -0
  22. package/esm/datex-web/types/network/com_hub/network_tracing.d.ts.map +1 -0
  23. package/esm/datex-web/types/network/com_hub/network_tracing.js +4 -0
  24. package/esm/datex-web/types/network/com_hub.d.ts +8 -0
  25. package/esm/datex-web/types/network/com_hub.d.ts.map +1 -0
  26. package/esm/datex-web/types/network/com_hub.js +4 -0
  27. package/esm/datex-web/types/network/com_interfaces/com_interface/properties.d.ts +27 -0
  28. package/esm/datex-web/types/network/com_interfaces/com_interface/properties.d.ts.map +1 -0
  29. package/esm/datex-web/types/network/com_interfaces/com_interface/properties.js +4 -0
  30. package/esm/datex-web/types/network/com_interfaces/default_setup_data/http_common.d.ts +10 -0
  31. package/esm/datex-web/types/network/com_interfaces/default_setup_data/http_common.d.ts.map +1 -0
  32. package/esm/datex-web/types/network/com_interfaces/default_setup_data/http_common.js +4 -0
  33. package/esm/datex-web/types/network/com_interfaces/default_setup_data/websocket/websocket_server.d.ts +6 -0
  34. package/esm/datex-web/types/network/com_interfaces/default_setup_data/websocket/websocket_server.d.ts.map +1 -0
  35. package/esm/datex-web/types/network/com_interfaces/default_setup_data/websocket/websocket_server.js +4 -0
  36. package/esm/datex-web/types/runtime/config.d.ts +16 -0
  37. package/esm/datex-web/types/runtime/config.d.ts.map +1 -0
  38. package/esm/datex-web/types/runtime/config.js +4 -0
  39. package/esm/default.d.ts.map +1 -1
  40. package/esm/default.js +2 -0
  41. package/esm/deno.json +73 -17
  42. package/esm/dif/core.d.ts +36 -40
  43. package/esm/dif/core.d.ts.map +1 -1
  44. package/esm/dif/core.js +33 -54
  45. package/esm/dif/dif-handler.d.ts +58 -101
  46. package/esm/dif/dif-handler.d.ts.map +1 -1
  47. package/esm/dif/dif-handler.js +411 -365
  48. package/esm/dif/display.d.ts +14 -5
  49. package/esm/dif/display.d.ts.map +1 -1
  50. package/esm/dif/display.js +89 -39
  51. package/esm/dif/helpers/mod.d.ts +6 -0
  52. package/esm/dif/helpers/mod.d.ts.map +1 -0
  53. package/esm/dif/helpers/mod.js +5 -0
  54. package/esm/dif/helpers/typed-integer.d.ts +14 -0
  55. package/esm/dif/helpers/typed-integer.d.ts.map +1 -0
  56. package/esm/dif/helpers/typed-integer.js +37 -0
  57. package/esm/dif/js-lib.d.ts +14 -1
  58. package/esm/dif/js-lib.d.ts.map +1 -1
  59. package/esm/dif/js-lib.js +19 -1
  60. package/esm/dif/mod.d.ts +2 -2
  61. package/esm/dif/mod.d.ts.map +1 -1
  62. package/esm/dif/mod.js +2 -2
  63. package/esm/dif/type-registry.d.ts +30 -21
  64. package/esm/dif/type-registry.d.ts.map +1 -1
  65. package/esm/dif/type-registry.js +45 -33
  66. package/esm/dif/types/mod.d.ts +9 -0
  67. package/esm/dif/types/mod.d.ts.map +1 -0
  68. package/esm/dif/types/mod.js +8 -0
  69. package/esm/dif/types/type.d.ts +91 -0
  70. package/esm/dif/types/type.d.ts.map +1 -0
  71. package/esm/dif/types/type.js +33 -0
  72. package/esm/dif/types/update.d.ts +63 -0
  73. package/esm/dif/types/update.d.ts.map +1 -0
  74. package/esm/dif/types/update.js +16 -0
  75. package/esm/dif/types/value.d.ts +62 -0
  76. package/esm/dif/types/value.d.ts.map +1 -0
  77. package/esm/dif/types/value.js +1 -0
  78. package/esm/dif/update.d.ts +20 -0
  79. package/esm/dif/update.d.ts.map +1 -0
  80. package/esm/dif/update.js +41 -0
  81. package/esm/dif/utils.d.ts +8 -0
  82. package/esm/dif/utils.d.ts.map +1 -0
  83. package/esm/dif/utils.js +67 -0
  84. package/esm/lib/js-core-types/array.d.ts +3 -0
  85. package/esm/lib/js-core-types/array.d.ts.map +1 -0
  86. package/esm/lib/js-core-types/array.js +175 -0
  87. package/esm/lib/js-core-types/map.d.ts +15 -0
  88. package/esm/lib/js-core-types/map.d.ts.map +1 -0
  89. package/esm/lib/js-core-types/map.js +88 -0
  90. package/esm/lib/js-core-types/mod.d.ts +8 -0
  91. package/esm/lib/js-core-types/mod.d.ts.map +1 -0
  92. package/esm/lib/js-core-types/mod.js +7 -0
  93. package/esm/lib/mod.d.ts +8 -0
  94. package/esm/lib/mod.d.ts.map +1 -0
  95. package/esm/lib/mod.js +7 -0
  96. package/esm/lib/special-core-types/mod.d.ts +9 -0
  97. package/esm/lib/special-core-types/mod.d.ts.map +1 -0
  98. package/esm/lib/special-core-types/mod.js +8 -0
  99. package/esm/lib/special-core-types/tagged.d.ts +17 -0
  100. package/esm/lib/special-core-types/tagged.d.ts.map +1 -0
  101. package/esm/lib/special-core-types/tagged.js +37 -0
  102. package/esm/lib/special-core-types/undefined.d.ts +7 -0
  103. package/esm/lib/special-core-types/undefined.d.ts.map +1 -0
  104. package/esm/lib/special-core-types/undefined.js +28 -0
  105. package/esm/mod.d.ts +2 -3
  106. package/esm/mod.d.ts.map +1 -1
  107. package/esm/mod.js +2 -3
  108. package/esm/network/com-hub.d.ts +28 -1
  109. package/esm/network/com-hub.d.ts.map +1 -1
  110. package/esm/network/com-hub.js +6 -2
  111. package/esm/network/interfaces/websocket-server-base.d.ts +1 -1
  112. package/esm/network/interfaces/websocket-server-base.d.ts.map +1 -1
  113. package/esm/network/interfaces/websocket-server-base.js +8 -7
  114. package/esm/network/interfaces/websocket-server-deno.d.ts +1 -1
  115. package/esm/network/interfaces/websocket-server-deno.d.ts.map +1 -1
  116. package/esm/repl/mod.js +1 -1
  117. package/esm/runtime/runtime.d.ts +43 -18
  118. package/esm/runtime/runtime.d.ts.map +1 -1
  119. package/esm/runtime/runtime.js +55 -32
  120. package/esm/{refs/ref.d.ts → shared-container/base-shared-container.d.ts} +13 -5
  121. package/esm/shared-container/base-shared-container.d.ts.map +1 -0
  122. package/esm/shared-container/base-shared-container.js +95 -0
  123. package/esm/shared-container/mod.d.ts +36 -0
  124. package/esm/shared-container/mod.d.ts.map +1 -0
  125. package/esm/shared-container/mod.js +29 -0
  126. package/esm/shared-container/owned.d.ts +33 -0
  127. package/esm/shared-container/owned.d.ts.map +1 -0
  128. package/esm/shared-container/owned.js +60 -0
  129. package/esm/shared-container/reference.d.ts +31 -0
  130. package/esm/shared-container/reference.d.ts.map +1 -0
  131. package/esm/shared-container/reference.js +64 -0
  132. package/esm/utils/devtools-formatter.js +2 -2
  133. package/esm/utils/option.d.ts +17 -0
  134. package/esm/utils/option.d.ts.map +1 -0
  135. package/esm/utils/option.js +54 -0
  136. package/package.json +1 -1
  137. package/esm/dif/definitions.d.ts +0 -134
  138. package/esm/dif/definitions.d.ts.map +0 -1
  139. package/esm/dif/definitions.js +0 -38
  140. package/esm/refs/ref.d.ts.map +0 -1
  141. package/esm/refs/ref.js +0 -60
@@ -4,7 +4,6 @@
4
4
  import * as dntShim from "../_dnt.shims.js";
5
5
  export class JSComHub {
6
6
  static __wrap(ptr) {
7
- ptr = ptr >>> 0;
8
7
  const obj = Object.create(JSComHub.prototype);
9
8
  obj.__wbg_ptr = ptr;
10
9
  JSComHubFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -27,7 +26,7 @@ export class JSComHub {
27
26
  * @returns {Promise<string>}
28
27
  */
29
28
  create_interface(interface_type, setup_data, priority) {
30
- const ptr0 = passStringToWasm0(interface_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
29
+ const ptr0 = passStringToWasm0(interface_type, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
31
30
  const len0 = WASM_VECTOR_LEN;
32
31
  const ret = wasm.jscomhub_create_interface(this.__wbg_ptr, ptr0, len0, setup_data, isLikeNone(priority) ? 0xFFFFFF : priority);
33
32
  return ret;
@@ -52,7 +51,7 @@ export class JSComHub {
52
51
  return getStringFromWasm0(ret[0], ret[1]);
53
52
  }
54
53
  finally {
55
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
54
+ wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
56
55
  }
57
56
  }
58
57
  /**
@@ -60,7 +59,7 @@ export class JSComHub {
60
59
  * @returns {Promise<any | undefined>}
61
60
  */
62
61
  get_trace(endpoint) {
63
- const ptr0 = passStringToWasm0(endpoint, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
62
+ const ptr0 = passStringToWasm0(endpoint, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
64
63
  const len0 = WASM_VECTOR_LEN;
65
64
  const ret = wasm.jscomhub_get_trace(this.__wbg_ptr, ptr0, len0);
66
65
  return ret;
@@ -70,7 +69,7 @@ export class JSComHub {
70
69
  * @returns {Promise<string | undefined>}
71
70
  */
72
71
  get_trace_string(endpoint) {
73
- const ptr0 = passStringToWasm0(endpoint, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
72
+ const ptr0 = passStringToWasm0(endpoint, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
74
73
  const len0 = WASM_VECTOR_LEN;
75
74
  const ret = wasm.jscomhub_get_trace_string(this.__wbg_ptr, ptr0, len0);
76
75
  return ret;
@@ -89,7 +88,7 @@ export class JSComHub {
89
88
  * @param {Function} factory
90
89
  */
91
90
  register_interface_factory(interface_type, factory) {
92
- const ptr0 = passStringToWasm0(interface_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
91
+ const ptr0 = passStringToWasm0(interface_type, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
93
92
  const len0 = WASM_VECTOR_LEN;
94
93
  wasm.jscomhub_register_interface_factory(this.__wbg_ptr, ptr0, len0, factory);
95
94
  }
@@ -104,7 +103,7 @@ export class JSComHub {
104
103
  * @returns {Promise<void>}
105
104
  */
106
105
  remove_interface(interface_uuid) {
107
- const ptr0 = passStringToWasm0(interface_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
106
+ const ptr0 = passStringToWasm0(interface_uuid, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
108
107
  const len0 = WASM_VECTOR_LEN;
109
108
  const ret = wasm.jscomhub_remove_interface(this.__wbg_ptr, ptr0, len0);
110
109
  return ret;
@@ -114,7 +113,7 @@ export class JSComHub {
114
113
  * @returns {Promise<void>}
115
114
  */
116
115
  remove_socket(socket_uuid) {
117
- const ptr0 = passStringToWasm0(socket_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
116
+ const ptr0 = passStringToWasm0(socket_uuid, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
118
117
  const len0 = WASM_VECTOR_LEN;
119
118
  const ret = wasm.jscomhub_remove_socket(this.__wbg_ptr, ptr0, len0);
120
119
  return ret;
@@ -122,9 +121,150 @@ export class JSComHub {
122
121
  }
123
122
  if (Symbol.dispose)
124
123
  JSComHub.prototype[Symbol.dispose] = JSComHub.prototype.free;
124
+ export class JSDIFInterface {
125
+ static __wrap(ptr) {
126
+ const obj = Object.create(JSDIFInterface.prototype);
127
+ obj.__wbg_ptr = ptr;
128
+ JSDIFInterfaceFinalization.register(obj, obj.__wbg_ptr, obj);
129
+ return obj;
130
+ }
131
+ __destroy_into_raw() {
132
+ const ptr = this.__wbg_ptr;
133
+ this.__wbg_ptr = 0;
134
+ JSDIFInterfaceFinalization.unregister(this);
135
+ return ptr;
136
+ }
137
+ free() {
138
+ const ptr = this.__destroy_into_raw();
139
+ wasm.__wbg_jsdifinterface_free(ptr, 0);
140
+ }
141
+ /**
142
+ * @param {any} callee
143
+ * @param {any} value
144
+ * @returns {any | undefined}
145
+ */
146
+ apply(callee, value) {
147
+ const ret = wasm.jsdifinterface_apply(this.__wbg_ptr, callee, value);
148
+ if (ret[2]) {
149
+ throw takeFromExternrefTable0(ret[1]);
150
+ }
151
+ return takeFromExternrefTable0(ret[0]);
152
+ }
153
+ /**
154
+ * @param {any} value
155
+ * @returns {string}
156
+ */
157
+ create_pointer(value) {
158
+ let deferred2_0;
159
+ let deferred2_1;
160
+ try {
161
+ const ret = wasm.jsdifinterface_create_pointer(this.__wbg_ptr, value);
162
+ var ptr1 = ret[0];
163
+ var len1 = ret[1];
164
+ if (ret[3]) {
165
+ ptr1 = 0;
166
+ len1 = 0;
167
+ throw takeFromExternrefTable0(ret[2]);
168
+ }
169
+ deferred2_0 = ptr1;
170
+ deferred2_1 = len1;
171
+ return getStringFromWasm0(ptr1, len1);
172
+ }
173
+ finally {
174
+ wasm.__wbindgen_free_command_export(deferred2_0, deferred2_1, 1);
175
+ }
176
+ }
177
+ /**
178
+ * @param {string} address
179
+ * @param {number | null} [ownership]
180
+ * @returns {boolean}
181
+ */
182
+ has_address_with_ownership(address, ownership) {
183
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
184
+ const len0 = WASM_VECTOR_LEN;
185
+ const ret = wasm.jsdifinterface_has_address_with_ownership(this.__wbg_ptr, ptr0, len0, isLikeNone(ownership) ? 0xFFFFFF : ownership);
186
+ if (ret[2]) {
187
+ throw takeFromExternrefTable0(ret[1]);
188
+ }
189
+ return ret[0] !== 0;
190
+ }
191
+ /**
192
+ * @param {number} transceiver_id
193
+ * @param {string} address
194
+ * @param {any} observe_options
195
+ * @param {Function} callback
196
+ * @returns {number}
197
+ */
198
+ observe_pointer(transceiver_id, address, observe_options, callback) {
199
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
200
+ const len0 = WASM_VECTOR_LEN;
201
+ const ret = wasm.jsdifinterface_observe_pointer(this.__wbg_ptr, transceiver_id, ptr0, len0, observe_options, callback);
202
+ if (ret[2]) {
203
+ throw takeFromExternrefTable0(ret[1]);
204
+ }
205
+ return ret[0] >>> 0;
206
+ }
207
+ /**
208
+ * Resolve a pointer address synchronously if it's in memory, otherwise return an error
209
+ * @param {string} address
210
+ * @returns {any}
211
+ */
212
+ resolve_pointer_address(address) {
213
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
214
+ const len0 = WASM_VECTOR_LEN;
215
+ const ret = wasm.jsdifinterface_resolve_pointer_address(this.__wbg_ptr, ptr0, len0);
216
+ if (ret[2]) {
217
+ throw takeFromExternrefTable0(ret[1]);
218
+ }
219
+ return takeFromExternrefTable0(ret[0]);
220
+ }
221
+ /**
222
+ * @param {string} address
223
+ * @param {number} observer_id
224
+ */
225
+ unobserve_pointer(address, observer_id) {
226
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
227
+ const len0 = WASM_VECTOR_LEN;
228
+ const ret = wasm.jsdifinterface_unobserve_pointer(this.__wbg_ptr, ptr0, len0, observer_id);
229
+ if (ret[1]) {
230
+ throw takeFromExternrefTable0(ret[0]);
231
+ }
232
+ }
233
+ /**
234
+ * Applies a DIF update on a shared container at the given address, using the provided update data.
235
+ * TODO: Can we optimize this, by not returning the update result data back to JS, as it adds unnecessary overhead, as
236
+ * we can access the values in JS before update.
237
+ * @param {string} address
238
+ * @param {any} update
239
+ * @returns {any}
240
+ */
241
+ update(address, update) {
242
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
243
+ const len0 = WASM_VECTOR_LEN;
244
+ const ret = wasm.jsdifinterface_update(this.__wbg_ptr, ptr0, len0, update);
245
+ if (ret[2]) {
246
+ throw takeFromExternrefTable0(ret[1]);
247
+ }
248
+ return takeFromExternrefTable0(ret[0]);
249
+ }
250
+ /**
251
+ * @param {string} address
252
+ * @param {number} observer_id
253
+ * @param {any} observe_options
254
+ */
255
+ update_observer_options(address, observer_id, observe_options) {
256
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
257
+ const len0 = WASM_VECTOR_LEN;
258
+ const ret = wasm.jsdifinterface_update_observer_options(this.__wbg_ptr, ptr0, len0, observer_id, observe_options);
259
+ if (ret[1]) {
260
+ throw takeFromExternrefTable0(ret[0]);
261
+ }
262
+ }
263
+ }
264
+ if (Symbol.dispose)
265
+ JSDIFInterface.prototype[Symbol.dispose] = JSDIFInterface.prototype.free;
125
266
  export class JSRuntime {
126
267
  static __wrap(ptr) {
127
- ptr = ptr >>> 0;
128
268
  const obj = Object.create(JSRuntime.prototype);
129
269
  obj.__wbg_ptr = ptr;
130
270
  JSRuntimeFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -148,19 +288,18 @@ export class JSRuntime {
148
288
  return JSComHub.__wrap(ret);
149
289
  }
150
290
  /**
151
- * @param {Uint8Array | null | undefined} body
152
- * @param {string[]} receivers
153
- * @returns {Uint8Array}
291
+ * Compiles a DATEX script with optional inserted values to a DXB body
292
+ * @param {string} script
293
+ * @param {any[] | null} [inserted_values]
294
+ * @returns {Promise<Uint8Array>}
154
295
  */
155
- _create_block(body, receivers) {
156
- var ptr0 = isLikeNone(body) ? 0 : passArray8ToWasm0(body, wasm.__wbindgen_malloc);
157
- var len0 = WASM_VECTOR_LEN;
158
- const ptr1 = passArrayJsValueToWasm0(receivers, wasm.__wbindgen_malloc);
159
- const len1 = WASM_VECTOR_LEN;
160
- const ret = wasm.jsruntime__create_block(this.__wbg_ptr, ptr0, len0, ptr1, len1);
161
- var v3 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
162
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
163
- return v3;
296
+ compile(script, inserted_values) {
297
+ const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
298
+ const len0 = WASM_VECTOR_LEN;
299
+ var ptr1 = isLikeNone(inserted_values) ? 0 : passArrayJsValueToWasm0(inserted_values, wasm.__wbindgen_malloc_command_export);
300
+ var len1 = WASM_VECTOR_LEN;
301
+ const ret = wasm.jsruntime_compile(this.__wbg_ptr, ptr0, len0, ptr1, len1);
302
+ return ret;
164
303
  }
165
304
  /**
166
305
  * @returns {Promise<Promise<any>>}
@@ -171,11 +310,11 @@ export class JSRuntime {
171
310
  }
172
311
  /**
173
312
  * Get a handle to the DIF interface of the runtime
174
- * @returns {RuntimeDIFHandle}
313
+ * @returns {JSDIFInterface}
175
314
  */
176
- dif() {
177
- const ret = wasm.jsruntime_dif(this.__wbg_ptr);
178
- return RuntimeDIFHandle.__wrap(ret);
315
+ dif_interface() {
316
+ const ret = wasm.jsruntime_dif_interface(this.__wbg_ptr);
317
+ return JSDIFInterface.__wrap(ret);
179
318
  }
180
319
  /**
181
320
  * @returns {string}
@@ -190,18 +329,19 @@ export class JSRuntime {
190
329
  return getStringFromWasm0(ret[0], ret[1]);
191
330
  }
192
331
  finally {
193
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
332
+ wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
194
333
  }
195
334
  }
196
335
  /**
336
+ * Executes a DATEX script with inserted values, returning the result as DIFValue
197
337
  * @param {string} script
198
- * @param {any[] | null} [dif_values]
338
+ * @param {any[] | null} [inserted_values]
199
339
  * @returns {Promise<any>}
200
340
  */
201
- execute(script, dif_values) {
202
- const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
341
+ execute(script, inserted_values) {
342
+ const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
203
343
  const len0 = WASM_VECTOR_LEN;
204
- var ptr1 = isLikeNone(dif_values) ? 0 : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc);
344
+ var ptr1 = isLikeNone(inserted_values) ? 0 : passArrayJsValueToWasm0(inserted_values, wasm.__wbindgen_malloc_command_export);
205
345
  var len1 = WASM_VECTOR_LEN;
206
346
  const ret = wasm.jsruntime_execute(this.__wbg_ptr, ptr0, len0, ptr1, len1);
207
347
  return ret;
@@ -212,9 +352,9 @@ export class JSRuntime {
212
352
  * @returns {any}
213
353
  */
214
354
  execute_sync(script, dif_values) {
215
- const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
355
+ const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
216
356
  const len0 = WASM_VECTOR_LEN;
217
- var ptr1 = isLikeNone(dif_values) ? 0 : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc);
357
+ var ptr1 = isLikeNone(dif_values) ? 0 : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc_command_export);
218
358
  var len1 = WASM_VECTOR_LEN;
219
359
  const ret = wasm.jsruntime_execute_sync(this.__wbg_ptr, ptr0, len0, ptr1, len1);
220
360
  if (ret[2]) {
@@ -232,9 +372,9 @@ export class JSRuntime {
232
372
  let deferred4_0;
233
373
  let deferred4_1;
234
374
  try {
235
- const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
375
+ const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
236
376
  const len0 = WASM_VECTOR_LEN;
237
- var ptr1 = isLikeNone(dif_values) ? 0 : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc);
377
+ var ptr1 = isLikeNone(dif_values) ? 0 : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc_command_export);
238
378
  var len1 = WASM_VECTOR_LEN;
239
379
  const ret = wasm.jsruntime_execute_sync_with_string_result(this.__wbg_ptr, ptr0, len0, ptr1, len1, decompile_options);
240
380
  var ptr3 = ret[0];
@@ -249,19 +389,20 @@ export class JSRuntime {
249
389
  return getStringFromWasm0(ptr3, len3);
250
390
  }
251
391
  finally {
252
- wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
392
+ wasm.__wbindgen_free_command_export(deferred4_0, deferred4_1, 1);
253
393
  }
254
394
  }
255
395
  /**
396
+ * Execute a DATEX script with optional inserted values, returning the result as a string
256
397
  * @param {string} script
257
- * @param {any[] | null | undefined} dif_values
398
+ * @param {any[] | null | undefined} inserted_values
258
399
  * @param {any} decompile_options
259
400
  * @returns {Promise<string>}
260
401
  */
261
- execute_with_string_result(script, dif_values, decompile_options) {
262
- const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
402
+ execute_with_string_result(script, inserted_values, decompile_options) {
403
+ const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
263
404
  const len0 = WASM_VECTOR_LEN;
264
- var ptr1 = isLikeNone(dif_values) ? 0 : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc);
405
+ var ptr1 = isLikeNone(inserted_values) ? 0 : passArrayJsValueToWasm0(inserted_values, wasm.__wbindgen_malloc_command_export);
265
406
  var len1 = WASM_VECTOR_LEN;
266
407
  const ret = wasm.jsruntime_execute_with_string_result(this.__wbg_ptr, ptr0, len0, ptr1, len1, decompile_options);
267
408
  return ret;
@@ -297,7 +438,7 @@ export class JSRuntime {
297
438
  return getStringFromWasm0(ptr1, len1);
298
439
  }
299
440
  finally {
300
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
441
+ wasm.__wbindgen_free_command_export(deferred2_0, deferred2_1, 1);
301
442
  }
302
443
  }
303
444
  /**
@@ -313,7 +454,7 @@ export class JSRuntime {
313
454
  return getStringFromWasm0(ret[0], ret[1]);
314
455
  }
315
456
  finally {
316
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
457
+ wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
317
458
  }
318
459
  }
319
460
  /**
@@ -340,10 +481,10 @@ export class Repl {
340
481
  }
341
482
  /**
342
483
  * @param {string} script
343
- * @returns {Promise<any>}
484
+ * @returns {Promise<any | undefined>}
344
485
  */
345
486
  execute(script) {
346
- const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
487
+ const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
347
488
  const len0 = WASM_VECTOR_LEN;
348
489
  const ret = wasm.repl_execute(this.__wbg_ptr, ptr0, len0);
349
490
  return ret;
@@ -355,156 +496,13 @@ export class Repl {
355
496
  constructor(runtime, verbose) {
356
497
  _assertClass(runtime, JSRuntime);
357
498
  const ret = wasm.repl_new(runtime.__wbg_ptr, verbose);
358
- this.__wbg_ptr = ret >>> 0;
499
+ this.__wbg_ptr = ret;
359
500
  ReplFinalization.register(this, this.__wbg_ptr, this);
360
501
  return this;
361
502
  }
362
503
  }
363
504
  if (Symbol.dispose)
364
505
  Repl.prototype[Symbol.dispose] = Repl.prototype.free;
365
- export class RuntimeDIFHandle {
366
- static __wrap(ptr) {
367
- ptr = ptr >>> 0;
368
- const obj = Object.create(RuntimeDIFHandle.prototype);
369
- obj.__wbg_ptr = ptr;
370
- RuntimeDIFHandleFinalization.register(obj, obj.__wbg_ptr, obj);
371
- return obj;
372
- }
373
- __destroy_into_raw() {
374
- const ptr = this.__wbg_ptr;
375
- this.__wbg_ptr = 0;
376
- RuntimeDIFHandleFinalization.unregister(this);
377
- return ptr;
378
- }
379
- free() {
380
- const ptr = this.__destroy_into_raw();
381
- wasm.__wbg_runtimedifhandle_free(ptr, 0);
382
- }
383
- /**
384
- * @param {any} callee
385
- * @param {any} value
386
- * @returns {any}
387
- */
388
- apply(callee, value) {
389
- const ret = wasm.runtimedifhandle_apply(this.__wbg_ptr, callee, value);
390
- if (ret[2]) {
391
- throw takeFromExternrefTable0(ret[1]);
392
- }
393
- return takeFromExternrefTable0(ret[0]);
394
- }
395
- /**
396
- * @param {any} value
397
- * @param {any} allowed_type
398
- * @param {number} mutability
399
- * @returns {string}
400
- */
401
- create_pointer(value, allowed_type, mutability) {
402
- let deferred2_0;
403
- let deferred2_1;
404
- try {
405
- const ret = wasm.runtimedifhandle_create_pointer(this.__wbg_ptr, value, allowed_type, mutability);
406
- var ptr1 = ret[0];
407
- var len1 = ret[1];
408
- if (ret[3]) {
409
- ptr1 = 0;
410
- len1 = 0;
411
- throw takeFromExternrefTable0(ret[2]);
412
- }
413
- deferred2_0 = ptr1;
414
- deferred2_1 = len1;
415
- return getStringFromWasm0(ptr1, len1);
416
- }
417
- finally {
418
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
419
- }
420
- }
421
- /**
422
- * @param {number} transceiver_id
423
- * @param {string} address
424
- * @param {any} observe_options
425
- * @param {Function} callback
426
- * @returns {number}
427
- */
428
- observe_pointer(transceiver_id, address, observe_options, callback) {
429
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
430
- const len0 = WASM_VECTOR_LEN;
431
- const ret = wasm.runtimedifhandle_observe_pointer(this.__wbg_ptr, transceiver_id, ptr0, len0, observe_options, callback);
432
- if (ret[2]) {
433
- throw takeFromExternrefTable0(ret[1]);
434
- }
435
- return ret[0] >>> 0;
436
- }
437
- /**
438
- * Resolve a pointer address, returning a Promise
439
- * If the pointer is in memory, the promise resolves immediately
440
- * If the pointer is not in memory, it will be loaded first
441
- * @param {string} address
442
- * @returns {any}
443
- */
444
- resolve_pointer_address(address) {
445
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
446
- const len0 = WASM_VECTOR_LEN;
447
- const ret = wasm.runtimedifhandle_resolve_pointer_address(this.__wbg_ptr, ptr0, len0);
448
- if (ret[2]) {
449
- throw takeFromExternrefTable0(ret[1]);
450
- }
451
- return takeFromExternrefTable0(ret[0]);
452
- }
453
- /**
454
- * Resolve a pointer address synchronously if it's in memory, otherwise return an error
455
- * @param {string} address
456
- * @returns {any}
457
- */
458
- resolve_pointer_address_sync(address) {
459
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
460
- const len0 = WASM_VECTOR_LEN;
461
- const ret = wasm.runtimedifhandle_resolve_pointer_address_sync(this.__wbg_ptr, ptr0, len0);
462
- if (ret[2]) {
463
- throw takeFromExternrefTable0(ret[1]);
464
- }
465
- return takeFromExternrefTable0(ret[0]);
466
- }
467
- /**
468
- * @param {string} address
469
- * @param {number} observer_id
470
- */
471
- unobserve_pointer(address, observer_id) {
472
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
473
- const len0 = WASM_VECTOR_LEN;
474
- const ret = wasm.runtimedifhandle_unobserve_pointer(this.__wbg_ptr, ptr0, len0, observer_id);
475
- if (ret[1]) {
476
- throw takeFromExternrefTable0(ret[0]);
477
- }
478
- }
479
- /**
480
- * @param {number} transceiver_id
481
- * @param {string} address
482
- * @param {any} update
483
- */
484
- update(transceiver_id, address, update) {
485
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
486
- const len0 = WASM_VECTOR_LEN;
487
- const ret = wasm.runtimedifhandle_update(this.__wbg_ptr, transceiver_id, ptr0, len0, update);
488
- if (ret[1]) {
489
- throw takeFromExternrefTable0(ret[0]);
490
- }
491
- }
492
- /**
493
- * @param {string} address
494
- * @param {number} observer_id
495
- * @param {any} observe_options
496
- */
497
- update_observer_options(address, observer_id, observe_options) {
498
- const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
499
- const len0 = WASM_VECTOR_LEN;
500
- const ret = wasm.runtimedifhandle_update_observer_options(this.__wbg_ptr, ptr0, len0, observer_id, observe_options);
501
- if (ret[1]) {
502
- throw takeFromExternrefTable0(ret[0]);
503
- }
504
- }
505
- }
506
- if (Symbol.dispose)
507
- RuntimeDIFHandle.prototype[Symbol.dispose] = RuntimeDIFHandle.prototype.free;
508
506
  /**
509
507
  * @param {any} config
510
508
  * @param {any} debug_config
@@ -514,129 +512,156 @@ export function create_runtime(config, debug_config) {
514
512
  const ret = wasm.create_runtime(config, debug_config);
515
513
  return ret;
516
514
  }
517
- export function __wbg_Error_dbcd8782dbb273a2(arg0, arg1) {
515
+ /**
516
+ * @param {Uint8Array} dxb
517
+ * @returns {any}
518
+ */
519
+ export function disassemble_dxb_flat(dxb) {
520
+ const ptr0 = passArray8ToWasm0(dxb, wasm.__wbindgen_malloc_command_export);
521
+ const len0 = WASM_VECTOR_LEN;
522
+ const ret = wasm.disassemble_dxb_flat(ptr0, len0);
523
+ return ret;
524
+ }
525
+ /**
526
+ * @param {Uint8Array} dxb
527
+ * @param {any} options
528
+ * @returns {any}
529
+ */
530
+ export function disassemble_dxb_to_string(dxb, options) {
531
+ const ptr0 = passArray8ToWasm0(dxb, wasm.__wbindgen_malloc_command_export);
532
+ const len0 = WASM_VECTOR_LEN;
533
+ const ret = wasm.disassemble_dxb_to_string(ptr0, len0, options);
534
+ return ret;
535
+ }
536
+ /**
537
+ * @param {Uint8Array} dxb
538
+ * @returns {any}
539
+ */
540
+ export function disassemble_dxb_tree(dxb) {
541
+ const ptr0 = passArray8ToWasm0(dxb, wasm.__wbindgen_malloc_command_export);
542
+ const len0 = WASM_VECTOR_LEN;
543
+ const ret = wasm.disassemble_dxb_tree(ptr0, len0);
544
+ return ret;
545
+ }
546
+ export function __wbg_Error_9dc85fe1bc224456(arg0, arg1) {
518
547
  const ret = Error(getStringFromWasm0(arg0, arg1));
519
548
  return ret;
520
549
  }
521
- export function __wbg_Number_012552ac4683228d(arg0) {
550
+ export function __wbg_Number_4779d427bae39753(arg0) {
522
551
  const ret = Number(arg0);
523
552
  return ret;
524
553
  }
525
554
  export function __wbg_String_8564e559799eccda(arg0, arg1) {
526
555
  const ret = String(arg1);
527
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
556
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
528
557
  const len1 = WASM_VECTOR_LEN;
529
558
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
530
559
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
531
560
  }
532
- export function __wbg___wbindgen_bigint_get_as_i64_25c638f64ce0e2e0(arg0, arg1) {
561
+ export function __wbg___wbindgen_bigint_get_as_i64_8ea6736501f396b6(arg0, arg1) {
533
562
  const v = arg1;
534
563
  const ret = typeof (v) === 'bigint' ? v : undefined;
535
564
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
536
565
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
537
566
  }
538
- export function __wbg___wbindgen_boolean_get_7f1c4dd217655ab6(arg0) {
567
+ export function __wbg___wbindgen_boolean_get_b131b2f36d6b2f55(arg0) {
539
568
  const v = arg0;
540
569
  const ret = typeof (v) === 'boolean' ? v : undefined;
541
570
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
542
571
  }
543
- export function __wbg___wbindgen_debug_string_6cf0badf0b90f6ef(arg0, arg1) {
572
+ export function __wbg___wbindgen_debug_string_56c147eb1a51f0c4(arg0, arg1) {
544
573
  const ret = debugString(arg1);
545
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
574
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
546
575
  const len1 = WASM_VECTOR_LEN;
547
576
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
548
577
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
549
578
  }
550
- export function __wbg___wbindgen_in_e32cbbbf71fdc915(arg0, arg1) {
579
+ export function __wbg___wbindgen_in_ce8569b2fc6f5088(arg0, arg1) {
551
580
  const ret = arg0 in arg1;
552
581
  return ret;
553
582
  }
554
- export function __wbg___wbindgen_is_bigint_95f22c948ca1bbe1(arg0) {
583
+ export function __wbg___wbindgen_is_bigint_df272c65456269c2(arg0) {
555
584
  const ret = typeof (arg0) === 'bigint';
556
585
  return ret;
557
586
  }
558
- export function __wbg___wbindgen_is_function_4500d4795b15e70b(arg0) {
587
+ export function __wbg___wbindgen_is_function_147961669f068cd4(arg0) {
559
588
  const ret = typeof (arg0) === 'function';
560
589
  return ret;
561
590
  }
562
- export function __wbg___wbindgen_is_null_5467e07e008308e7(arg0) {
563
- const ret = arg0 === null;
564
- return ret;
565
- }
566
- export function __wbg___wbindgen_is_object_f8b6723c60349a13(arg0) {
591
+ export function __wbg___wbindgen_is_object_3a2c414391dbf751(arg0) {
567
592
  const val = arg0;
568
593
  const ret = typeof (val) === 'object' && val !== null;
569
594
  return ret;
570
595
  }
571
- export function __wbg___wbindgen_is_string_89134e23eba104e4(arg0) {
596
+ export function __wbg___wbindgen_is_string_6541b0f6ecd4e8e5(arg0) {
572
597
  const ret = typeof (arg0) === 'string';
573
598
  return ret;
574
599
  }
575
- export function __wbg___wbindgen_is_undefined_1296fcc83c2da07a(arg0) {
600
+ export function __wbg___wbindgen_is_undefined_4410e3c20a99fa97(arg0) {
576
601
  const ret = arg0 === undefined;
577
602
  return ret;
578
603
  }
579
- export function __wbg___wbindgen_jsval_eq_39cab0b49f8188e9(arg0, arg1) {
604
+ export function __wbg___wbindgen_jsval_eq_174c93ec61bab0c5(arg0, arg1) {
580
605
  const ret = arg0 === arg1;
581
606
  return ret;
582
607
  }
583
- export function __wbg___wbindgen_jsval_loose_eq_3173dea557396a92(arg0, arg1) {
608
+ export function __wbg___wbindgen_jsval_loose_eq_e07e3b1f5db6da6c(arg0, arg1) {
584
609
  const ret = arg0 == arg1;
585
610
  return ret;
586
611
  }
587
- export function __wbg___wbindgen_number_get_3330675b4e5c3680(arg0, arg1) {
612
+ export function __wbg___wbindgen_number_get_588ed6b97f0d7e14(arg0, arg1) {
588
613
  const obj = arg1;
589
614
  const ret = typeof (obj) === 'number' ? obj : undefined;
590
615
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
591
616
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
592
617
  }
593
- export function __wbg___wbindgen_string_get_7b8bc463f6cbeefe(arg0, arg1) {
618
+ export function __wbg___wbindgen_string_get_fa2687d531ed17a5(arg0, arg1) {
594
619
  const obj = arg1;
595
620
  const ret = typeof (obj) === 'string' ? obj : undefined;
596
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
621
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
597
622
  var len1 = WASM_VECTOR_LEN;
598
623
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
599
624
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
600
625
  }
601
- export function __wbg___wbindgen_throw_89ca9e2c67795ec1(arg0, arg1) {
626
+ export function __wbg___wbindgen_throw_bbadd78c1bac3a77(arg0, arg1) {
602
627
  throw new Error(getStringFromWasm0(arg0, arg1));
603
628
  }
604
- export function __wbg__wbg_cb_unref_f00ff3c6385bd6fa(arg0) {
629
+ export function __wbg__wbg_cb_unref_c2301a3c9b78104b(arg0) {
605
630
  arg0._wbg_cb_unref();
606
631
  }
607
- export function __wbg_buffer_bfc0004d8d490b64(arg0) {
632
+ export function __wbg_buffer_8524b3453cde4918(arg0) {
608
633
  const ret = arg0.buffer;
609
634
  return ret;
610
635
  }
611
- export function __wbg_byteLength_bf98fbeb47223e5a(arg0) {
636
+ export function __wbg_byteLength_96807b1d9ab24a4c(arg0) {
612
637
  const ret = arg0.byteLength;
613
638
  return ret;
614
639
  }
615
- export function __wbg_call_3eadb5cea0462653() {
616
- return handleError(function (arg0, arg1, arg2) {
617
- const ret = arg0.call(arg1, arg2);
640
+ export function __wbg_call_2ad4e88518737145() {
641
+ return handleError(function (arg0, arg1, arg2, arg3, arg4) {
642
+ const ret = arg0.call(arg1, arg2, arg3, arg4);
618
643
  return ret;
619
644
  }, arguments);
620
645
  }
621
- export function __wbg_call_9ff23202a8e4c398() {
622
- return handleError(function (arg0, arg1, arg2, arg3) {
623
- const ret = arg0.call(arg1, arg2, arg3);
646
+ export function __wbg_call_91f00ddc43e01490() {
647
+ return handleError(function (arg0, arg1) {
648
+ const ret = arg0.call(arg1);
624
649
  return ret;
625
650
  }, arguments);
626
651
  }
627
- export function __wbg_call_dcf4c86f489d6628() {
628
- return handleError(function (arg0, arg1, arg2, arg3, arg4) {
629
- const ret = arg0.call(arg1, arg2, arg3, arg4);
652
+ export function __wbg_call_c00e41735f66c175() {
653
+ return handleError(function (arg0, arg1, arg2, arg3) {
654
+ const ret = arg0.call(arg1, arg2, arg3);
630
655
  return ret;
631
656
  }, arguments);
632
657
  }
633
- export function __wbg_call_eb691bc2f5533064() {
634
- return handleError(function (arg0, arg1) {
635
- const ret = arg0.call(arg1);
658
+ export function __wbg_call_ec09a4cf93377d3a() {
659
+ return handleError(function (arg0, arg1, arg2) {
660
+ const ret = arg0.call(arg1, arg2);
636
661
  return ret;
637
662
  }, arguments);
638
663
  }
639
- export function __wbg_cancel_ab703655e38608f0(arg0) {
664
+ export function __wbg_cancel_f3a197b26dc88b39(arg0) {
640
665
  const ret = arg0.cancel();
641
666
  return ret;
642
667
  }
@@ -644,59 +669,62 @@ export function __wbg_clearTimeout_113b1cde814ec762(arg0) {
644
669
  const ret = clearTimeout(arg0);
645
670
  return ret;
646
671
  }
647
- export function __wbg_close_ac58aa253ae5c164() {
672
+ export function __wbg_close_296263cfe1bb2999() {
648
673
  return handleError(function (arg0) {
649
674
  arg0.close();
650
675
  }, arguments);
651
676
  }
652
- export function __wbg_crypto_15952a660f6c42f9() {
677
+ export function __wbg_crypto_43cf0aa0813e3fe3() {
653
678
  return handleError(function (arg0) {
654
679
  const ret = arg0.crypto;
655
680
  return ret;
656
681
  }, arguments);
657
682
  }
658
- export function __wbg_data_946ee98fc7c8524e(arg0) {
683
+ export function __wbg_data_8a04443c1e5a8cd3(arg0) {
659
684
  const ret = arg0.data;
660
685
  return ret;
661
686
  }
662
- export function __wbg_debug_bc486fe1782a2e20(arg0, arg1, arg2, arg3) {
687
+ export function __wbg_debug_916d96e2f1e976c2(arg0, arg1, arg2, arg3) {
663
688
  console.debug(arg0, arg1, arg2, arg3);
664
689
  }
665
- export function __wbg_decrypt_fb3df4e7108c7af8() {
690
+ export function __wbg_decrypt_434a0a20c1926b35() {
666
691
  return handleError(function (arg0, arg1, arg2, arg3) {
667
692
  const ret = arg0.decrypt(arg1, arg2, arg3);
668
693
  return ret;
669
694
  }, arguments);
670
695
  }
671
- export function __wbg_deriveBits_babd864f24c26510() {
696
+ export function __wbg_deriveBits_2ef28a1a5553afd1() {
672
697
  return handleError(function (arg0, arg1, arg2, arg3) {
673
698
  const ret = arg0.deriveBits(arg1, arg2, arg3 >>> 0);
674
699
  return ret;
675
700
  }, arguments);
676
701
  }
677
- export function __wbg_digest_68cb89b17e4a5dc4() {
702
+ export function __wbg_digest_07cbf8c660cbb7ad() {
678
703
  return handleError(function (arg0, arg1, arg2, arg3) {
679
704
  const ret = arg0.digest(arg1, getArrayU8FromWasm0(arg2, arg3));
680
705
  return ret;
681
706
  }, arguments);
682
707
  }
683
- export function __wbg_done_82b14aeb31e98db6(arg0) {
708
+ export function __wbg_done_6a8439e544ec6206(arg0) {
684
709
  const ret = arg0.done;
685
710
  return ret;
686
711
  }
687
- export function __wbg_encrypt_2fe1a4fe781e4500() {
712
+ export function __wbg_encrypt_c8d1f29c3903aa3a() {
688
713
  return handleError(function (arg0, arg1, arg2, arg3) {
689
714
  const ret = arg0.encrypt(arg1, arg2, arg3);
690
715
  return ret;
691
716
  }, arguments);
692
717
  }
693
- export function __wbg_entries_46c64fadfaa3b525(arg0) {
718
+ export function __wbg_entries_5a6a7e7e0df09fe5(arg0) {
694
719
  const ret = Object.entries(arg0);
695
720
  return ret;
696
721
  }
697
- export function __wbg_error_6df093442af96598(arg0, arg1, arg2, arg3) {
722
+ export function __wbg_error_4dee59d95d79feac(arg0, arg1, arg2, arg3) {
698
723
  console.error(arg0, arg1, arg2, arg3);
699
724
  }
725
+ export function __wbg_error_6651fee1c71e5da9(arg0) {
726
+ console.error(arg0);
727
+ }
700
728
  export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
701
729
  let deferred0_0;
702
730
  let deferred0_1;
@@ -706,73 +734,70 @@ export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
706
734
  console.error(getStringFromWasm0(arg0, arg1));
707
735
  }
708
736
  finally {
709
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
737
+ wasm.__wbindgen_free_command_export(deferred0_0, deferred0_1, 1);
710
738
  }
711
739
  }
712
- export function __wbg_error_d0b9fd88b7a19297(arg0) {
713
- console.error(arg0);
714
- }
715
- export function __wbg_exportKey_888238fed76b1d57() {
740
+ export function __wbg_exportKey_ce86487ed97172ea() {
716
741
  return handleError(function (arg0, arg1, arg2, arg3) {
717
742
  const ret = arg0.exportKey(getStringFromWasm0(arg1, arg2), arg3);
718
743
  return ret;
719
744
  }, arguments);
720
745
  }
721
- export function __wbg_generateKey_cacf6d919231a631() {
746
+ export function __wbg_generateKey_073b1d14947ffbdc() {
722
747
  return handleError(function (arg0, arg1, arg2, arg3) {
723
748
  const ret = arg0.generateKey(arg1, arg2 !== 0, arg3);
724
749
  return ret;
725
750
  }, arguments);
726
751
  }
727
- export function __wbg_getRandomValues_1fcaec8b7b47660c() {
752
+ export function __wbg_getRandomValues_d1f6a3c738b6cec2() {
728
753
  return handleError(function (arg0, arg1, arg2) {
729
754
  const ret = arg0.getRandomValues(getArrayU8FromWasm0(arg1, arg2));
730
755
  return ret;
731
756
  }, arguments);
732
757
  }
733
- export function __wbg_getReader_c1c7b71406750f3a(arg0) {
758
+ export function __wbg_getReader_0cd37e95fbf00f7f(arg0) {
734
759
  const ret = arg0.getReader();
735
760
  return ret;
736
761
  }
737
- export function __wbg_getWriter_b14ed7011222629c() {
762
+ export function __wbg_getWriter_a66f661ac532a709() {
738
763
  return handleError(function (arg0) {
739
764
  const ret = arg0.getWriter();
740
765
  return ret;
741
766
  }, arguments);
742
767
  }
743
- export function __wbg_get_229657ec2da079cd(arg0, arg1) {
744
- const ret = arg0[arg1 >>> 0];
745
- return ret;
746
- }
747
- export function __wbg_get_89f3a4c398b4872e() {
768
+ export function __wbg_get_44e98e27bda25b5b() {
748
769
  return handleError(function (arg0, arg1) {
749
770
  const ret = Reflect.get(arg0, arg1);
750
771
  return ret;
751
772
  }, arguments);
752
773
  }
753
- export function __wbg_get_done_c355ff5cc3338368(arg0) {
754
- const ret = arg0.done;
755
- return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
774
+ export function __wbg_get_4b90d6d8c5deb5d5(arg0, arg1) {
775
+ const ret = arg0[arg1 >>> 0];
776
+ return ret;
756
777
  }
757
- export function __wbg_get_ed44f5f876f22351() {
778
+ export function __wbg_get_52a8a619f7b88df6() {
758
779
  return handleError(function (arg0, arg1) {
759
780
  const ret = Reflect.get(arg0, arg1);
760
781
  return ret;
761
782
  }, arguments);
762
783
  }
763
- export function __wbg_get_private_key_86d9a3716e61a11a(arg0) {
784
+ export function __wbg_get_done_c21b9933fc9a9e9c(arg0) {
785
+ const ret = arg0.done;
786
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
787
+ }
788
+ export function __wbg_get_private_key_0d151957f982887e(arg0) {
764
789
  const ret = arg0.privateKey;
765
790
  return ret;
766
791
  }
767
- export function __wbg_get_public_key_0e3517f984bc9ce7(arg0) {
792
+ export function __wbg_get_public_key_d7128338e1b299e0(arg0) {
768
793
  const ret = arg0.publicKey;
769
794
  return ret;
770
795
  }
771
- export function __wbg_get_unchecked_ae4d1600970be7c3(arg0, arg1) {
796
+ export function __wbg_get_unchecked_46e778e3cec74b5e(arg0, arg1) {
772
797
  const ret = arg0[arg1 >>> 0];
773
798
  return ret;
774
799
  }
775
- export function __wbg_get_value_e7da3dda29ab004c(arg0) {
800
+ export function __wbg_get_value_ad568c7d3db9073f(arg0) {
776
801
  const ret = arg0.value;
777
802
  return ret;
778
803
  }
@@ -780,16 +805,16 @@ export function __wbg_get_with_ref_key_6412cf3094599694(arg0, arg1) {
780
805
  const ret = arg0[arg1];
781
806
  return ret;
782
807
  }
783
- export function __wbg_importKey_d5d98bc5f7c574a9() {
808
+ export function __wbg_importKey_871c11d416fb97ee() {
784
809
  return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
785
810
  const ret = arg0.importKey(getStringFromWasm0(arg1, arg2), arg3, arg4, arg5 !== 0, arg6);
786
811
  return ret;
787
812
  }, arguments);
788
813
  }
789
- export function __wbg_info_3fd9a89e2dc8aaf1(arg0, arg1, arg2, arg3) {
814
+ export function __wbg_info_31621acdcc2e6cbc(arg0, arg1, arg2, arg3) {
790
815
  console.info(arg0, arg1, arg2, arg3);
791
816
  }
792
- export function __wbg_instanceof_ArrayBuffer_4f2b9b5ed416155d(arg0) {
817
+ export function __wbg_instanceof_ArrayBuffer_a581da923203f29f(arg0) {
793
818
  let result;
794
819
  try {
795
820
  result = arg0 instanceof ArrayBuffer;
@@ -800,7 +825,7 @@ export function __wbg_instanceof_ArrayBuffer_4f2b9b5ed416155d(arg0) {
800
825
  const ret = result;
801
826
  return ret;
802
827
  }
803
- export function __wbg_instanceof_CryptoKey_f4419e1bcb5414ed(arg0) {
828
+ export function __wbg_instanceof_CryptoKey_d5f90a816d96ad67(arg0) {
804
829
  let result;
805
830
  try {
806
831
  result = arg0 instanceof CryptoKey;
@@ -811,7 +836,7 @@ export function __wbg_instanceof_CryptoKey_f4419e1bcb5414ed(arg0) {
811
836
  const ret = result;
812
837
  return ret;
813
838
  }
814
- export function __wbg_instanceof_Error_e4c0d728e3dea73b(arg0) {
839
+ export function __wbg_instanceof_Error_cb5ebd65d798655e(arg0) {
815
840
  let result;
816
841
  try {
817
842
  result = arg0 instanceof Error;
@@ -822,7 +847,7 @@ export function __wbg_instanceof_Error_e4c0d728e3dea73b(arg0) {
822
847
  const ret = result;
823
848
  return ret;
824
849
  }
825
- export function __wbg_instanceof_Map_3ad422261e078a42(arg0) {
850
+ export function __wbg_instanceof_Map_7f94c740225003e2(arg0) {
826
851
  let result;
827
852
  try {
828
853
  result = arg0 instanceof Map;
@@ -833,7 +858,7 @@ export function __wbg_instanceof_Map_3ad422261e078a42(arg0) {
833
858
  const ret = result;
834
859
  return ret;
835
860
  }
836
- export function __wbg_instanceof_Object_4ac1098d06a01a38(arg0) {
861
+ export function __wbg_instanceof_Object_34d30ae022f04c89(arg0) {
837
862
  let result;
838
863
  try {
839
864
  result = arg0 instanceof Object;
@@ -844,7 +869,7 @@ export function __wbg_instanceof_Object_4ac1098d06a01a38(arg0) {
844
869
  const ret = result;
845
870
  return ret;
846
871
  }
847
- export function __wbg_instanceof_ReadableStreamDefaultReader_251c05d2f717b795(arg0) {
872
+ export function __wbg_instanceof_ReadableStreamDefaultReader_2ab4b6bb85f96463(arg0) {
848
873
  let result;
849
874
  try {
850
875
  result = arg0 instanceof ReadableStreamDefaultReader;
@@ -855,7 +880,7 @@ export function __wbg_instanceof_ReadableStreamDefaultReader_251c05d2f717b795(ar
855
880
  const ret = result;
856
881
  return ret;
857
882
  }
858
- export function __wbg_instanceof_Uint8Array_6482c66fce35827d(arg0) {
883
+ export function __wbg_instanceof_Uint8Array_b6fe1ac89eba107e(arg0) {
859
884
  let result;
860
885
  try {
861
886
  result = arg0 instanceof Uint8Array;
@@ -866,7 +891,7 @@ export function __wbg_instanceof_Uint8Array_6482c66fce35827d(arg0) {
866
891
  const ret = result;
867
892
  return ret;
868
893
  }
869
- export function __wbg_instanceof_Window_27a653e1b516dd65(arg0) {
894
+ export function __wbg_instanceof_Window_9e0fe7d3d1ff4342(arg0) {
870
895
  let result;
871
896
  try {
872
897
  result = arg0 instanceof Window;
@@ -877,15 +902,15 @@ export function __wbg_instanceof_Window_27a653e1b516dd65(arg0) {
877
902
  const ret = result;
878
903
  return ret;
879
904
  }
880
- export function __wbg_isArray_fe5201bfdab7e39d(arg0) {
905
+ export function __wbg_isArray_139f48e3c057ede8(arg0) {
881
906
  const ret = Array.isArray(arg0);
882
907
  return ret;
883
908
  }
884
- export function __wbg_isSafeInteger_d6215c7562dbc4db(arg0) {
909
+ export function __wbg_isSafeInteger_c22ccb4af2201fe9(arg0) {
885
910
  const ret = Number.isSafeInteger(arg0);
886
911
  return ret;
887
912
  }
888
- export function __wbg_iterator_63c3a1857203cf2f() {
913
+ export function __wbg_iterator_9b36cebf3be7b7cd() {
889
914
  const ret = Symbol.iterator;
890
915
  return ret;
891
916
  }
@@ -893,67 +918,63 @@ export function __wbg_jsruntime_new(arg0) {
893
918
  const ret = JSRuntime.__wrap(arg0);
894
919
  return ret;
895
920
  }
896
- export function __wbg_length_f875d3a041bab91a(arg0) {
921
+ export function __wbg_length_68a9d5278d084f4f(arg0) {
897
922
  const ret = arg0.length;
898
923
  return ret;
899
924
  }
900
- export function __wbg_length_feaf2a40e5f9755a(arg0) {
925
+ export function __wbg_length_fb04d16d7bdf6d4c(arg0) {
901
926
  const ret = arg0.length;
902
927
  return ret;
903
928
  }
904
- export function __wbg_log_876289592910878f(arg0, arg1, arg2, arg3) {
929
+ export function __wbg_log_534d68700f4f2519(arg0, arg1, arg2, arg3) {
905
930
  console.log(arg0, arg1, arg2, arg3);
906
931
  }
907
- export function __wbg_message_31a7950b57658baf(arg0) {
932
+ export function __wbg_message_5c6ab4dd6c4b34e8(arg0) {
908
933
  const ret = arg0.message;
909
934
  return ret;
910
935
  }
911
- export function __wbg_navigator_373a54253e4475fb(arg0) {
936
+ export function __wbg_navigator_e8073f0771c8d619(arg0) {
912
937
  const ret = arg0.navigator;
913
938
  return ret;
914
939
  }
915
- export function __wbg_new_227d7c05414eb861() {
916
- const ret = new Error();
940
+ export function __wbg_new_0b303268aa395a38() {
941
+ const ret = new Array();
917
942
  return ret;
918
943
  }
919
- export function __wbg_new_5947ca72f3fee3e6() {
920
- const ret = new Map();
944
+ export function __wbg_new_20b778a4c5c691c3() {
945
+ const ret = new Object();
921
946
  return ret;
922
947
  }
923
- export function __wbg_new_6e7681a5f6f98ceb(arg0) {
924
- const ret = new Uint8Array(arg0);
948
+ export function __wbg_new_227d7c05414eb861() {
949
+ const ret = new Error();
925
950
  return ret;
926
951
  }
927
- export function __wbg_new_6feff3e11e4d0799() {
928
- const ret = new Object();
952
+ export function __wbg_new_883c0db065f06efd() {
953
+ const ret = new Map();
929
954
  return ret;
930
955
  }
931
- export function __wbg_new_c6862560cccd12ba() {
956
+ export function __wbg_new_a3e5112401a82338() {
932
957
  return handleError(function (arg0, arg1) {
933
958
  const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
934
959
  return ret;
935
960
  }, arguments);
936
961
  }
937
- export function __wbg_new_ff7f9cc4c9a4a0cf() {
938
- const ret = new Array();
962
+ export function __wbg_new_b06772b280cc6e52(arg0) {
963
+ const ret = new Uint8Array(arg0);
939
964
  return ret;
940
965
  }
941
- export function __wbg_new_from_slice_a5be53238f31f9f7(arg0, arg1) {
966
+ export function __wbg_new_from_slice_bb2d1778c0b87eb1(arg0, arg1) {
942
967
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
943
968
  return ret;
944
969
  }
945
- export function __wbg_new_typed_094c40c0ef1c4dd9() {
946
- const ret = new Array();
947
- return ret;
948
- }
949
- export function __wbg_new_typed_f79896f0ea5f7de8(arg0, arg1) {
970
+ export function __wbg_new_typed_90c3f6c29ba36d19(arg0, arg1) {
950
971
  try {
951
972
  var state0 = { a: arg0, b: arg1 };
952
973
  var cb0 = (arg0, arg1) => {
953
974
  const a = state0.a;
954
975
  state0.a = 0;
955
976
  try {
956
- return wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Function_fn_wasm_bindgen_cb3f4c460819bddd___JsValue_____wasm_bindgen_cb3f4c460819bddd___sys__Undefined___js_sys_f2c01423afcdca44___Function_fn_wasm_bindgen_cb3f4c460819bddd___JsValue_____wasm_bindgen_cb3f4c460819bddd___sys__Undefined______(a, state0.b, arg0, arg1);
977
+ return wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Function_fn_wasm_bindgen_824b133563844b84___JsValue_____wasm_bindgen_824b133563844b84___sys__Undefined___js_sys_378a52c961f35aed___Function_fn_wasm_bindgen_824b133563844b84___JsValue_____wasm_bindgen_824b133563844b84___sys__Undefined_______true_(a, state0.b, arg0, arg1);
957
978
  }
958
979
  finally {
959
980
  state0.a = a;
@@ -963,20 +984,20 @@ export function __wbg_new_typed_f79896f0ea5f7de8(arg0, arg1) {
963
984
  return ret;
964
985
  }
965
986
  finally {
966
- state0.a = state0.b = 0;
987
+ state0.a = 0;
967
988
  }
968
989
  }
969
- export function __wbg_next_ae5b710aea83f41e() {
990
+ export function __wbg_next_8cb028b6ba50743f() {
970
991
  return handleError(function (arg0) {
971
992
  const ret = arg0.next();
972
993
  return ret;
973
994
  }, arguments);
974
995
  }
975
- export function __wbg_next_f577b3e02c9be709(arg0) {
996
+ export function __wbg_next_cfd0b146c9538df8(arg0) {
976
997
  const ret = arg0.next;
977
998
  return ret;
978
999
  }
979
- export function __wbg_now_054cfe5280165f10() {
1000
+ export function __wbg_now_bce4dc999095ea77() {
980
1001
  const ret = Date.now();
981
1002
  return ret;
982
1003
  }
@@ -984,15 +1005,15 @@ export function __wbg_now_e7c6795a7f81e10f(arg0) {
984
1005
  const ret = arg0.now();
985
1006
  return ret;
986
1007
  }
987
- export function __wbg_of_46d2833daab368cb(arg0, arg1) {
1008
+ export function __wbg_of_472cbb5aebb61f18(arg0, arg1) {
988
1009
  const ret = Array.of(arg0, arg1);
989
1010
  return ret;
990
1011
  }
991
- export function __wbg_of_fcc1c8c0899b3729(arg0) {
1012
+ export function __wbg_of_5188689822ff45d7(arg0) {
992
1013
  const ret = Array.of(arg0);
993
1014
  return ret;
994
1015
  }
995
- export function __wbg_open_594aeba07b1a8345(arg0, arg1) {
1016
+ export function __wbg_open_d98d78c4b7a1c768(arg0, arg1) {
996
1017
  const ret = arg0.open(arg1);
997
1018
  return ret;
998
1019
  }
@@ -1000,49 +1021,49 @@ export function __wbg_performance_3fcf6e32a7e1ed0a(arg0) {
1000
1021
  const ret = arg0.performance;
1001
1022
  return ret;
1002
1023
  }
1003
- export function __wbg_prototypesetcall_37f00e1be5c4015a(arg0, arg1, arg2) {
1024
+ export function __wbg_prototypesetcall_956c7493c68e29b4(arg0, arg1, arg2) {
1004
1025
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1005
1026
  }
1006
- export function __wbg_push_3584053bd77475ee(arg0, arg1) {
1027
+ export function __wbg_push_ceb8ef046afb2041(arg0, arg1) {
1007
1028
  const ret = arg0.push(arg1);
1008
1029
  return ret;
1009
1030
  }
1010
- export function __wbg_queueMicrotask_5e387cf4d8e3f63e(arg0) {
1031
+ export function __wbg_queueMicrotask_4698f900840e3286(arg0) {
1011
1032
  queueMicrotask(arg0);
1012
1033
  }
1013
- export function __wbg_queueMicrotask_77bf5a3ad712168b(arg0) {
1034
+ export function __wbg_queueMicrotask_477a5533c7100338(arg0) {
1014
1035
  const ret = arg0.queueMicrotask;
1015
1036
  return ret;
1016
1037
  }
1017
- export function __wbg_randomUUID_a5d67697fb5a6a89(arg0, arg1) {
1038
+ export function __wbg_randomUUID_e5dd7dca4573cb5a(arg0, arg1) {
1018
1039
  const ret = arg1.randomUUID();
1019
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1040
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1020
1041
  const len1 = WASM_VECTOR_LEN;
1021
1042
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1022
1043
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1023
1044
  }
1024
- export function __wbg_read_4cfc9fe040a376a9(arg0) {
1045
+ export function __wbg_read_8426c146431f2905(arg0) {
1025
1046
  const ret = arg0.read();
1026
1047
  return ret;
1027
1048
  }
1028
- export function __wbg_readable_3e679010e75a81aa(arg0) {
1049
+ export function __wbg_readable_66d8c77a99f46032(arg0) {
1029
1050
  const ret = arg0.readable;
1030
1051
  return ret;
1031
1052
  }
1032
- export function __wbg_requestPort_f20299b9686054c0(arg0) {
1053
+ export function __wbg_requestPort_bb908206a009e1c9(arg0) {
1033
1054
  const ret = arg0.requestPort();
1034
1055
  return ret;
1035
1056
  }
1036
- export function __wbg_resolve_2e8556632715b12f(arg0) {
1057
+ export function __wbg_resolve_0183de2e8c6b1d54(arg0) {
1037
1058
  const ret = Promise.resolve(arg0);
1038
1059
  return ret;
1039
1060
  }
1040
- export function __wbg_send_62684b18190d0f4e() {
1061
+ export function __wbg_send_99d049cae69c53cc() {
1041
1062
  return handleError(function (arg0, arg1, arg2) {
1042
1063
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
1043
1064
  }, arguments);
1044
1065
  }
1045
- export function __wbg_serial_4363b4032ea3768b(arg0) {
1066
+ export function __wbg_serial_7f54fcd24ab16cc5(arg0) {
1046
1067
  const ret = arg0.serial;
1047
1068
  return ret;
1048
1069
  }
@@ -1052,50 +1073,50 @@ export function __wbg_setTimeout_ef24d2fc3ad97385() {
1052
1073
  return ret;
1053
1074
  }, arguments);
1054
1075
  }
1055
- export function __wbg_set_409333732b484ee7() {
1056
- return handleError(function (arg0, arg1, arg2) {
1057
- const ret = Reflect.set(arg0, arg1, arg2);
1058
- return ret;
1059
- }, arguments);
1060
- }
1061
- export function __wbg_set_601f3e1d081df3ac(arg0, arg1, arg2) {
1062
- arg0[arg1 >>> 0] = arg2;
1076
+ export function __wbg_set_5f806304fb633ab3(arg0, arg1, arg2) {
1077
+ const ret = arg0.set(arg1, arg2);
1078
+ return ret;
1063
1079
  }
1064
1080
  export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
1065
1081
  arg0[arg1] = arg2;
1066
1082
  }
1067
- export function __wbg_set_b1226382f10be917(arg0, arg1, arg2) {
1068
- const ret = arg0.set(arg1, arg2);
1069
- return ret;
1083
+ export function __wbg_set_a6ba3ac0e634b822() {
1084
+ return handleError(function (arg0, arg1, arg2) {
1085
+ const ret = Reflect.set(arg0, arg1, arg2);
1086
+ return ret;
1087
+ }, arguments);
1070
1088
  }
1071
- export function __wbg_set_baud_rate_fe6143d5d7676056(arg0, arg1) {
1089
+ export function __wbg_set_baud_rate_9d8ddfbe1b7dbe69(arg0, arg1) {
1072
1090
  arg0.baudRate = arg1 >>> 0;
1073
1091
  }
1074
- export function __wbg_set_binaryType_cf0c7d4f696463c4(arg0, arg1) {
1092
+ export function __wbg_set_binaryType_8c2dd2cf1cfc2e28(arg0, arg1) {
1075
1093
  arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
1076
1094
  }
1077
- export function __wbg_set_counter_70f1a54a0f915958(arg0, arg1) {
1095
+ export function __wbg_set_counter_0347cbcd3540ef1f(arg0, arg1) {
1078
1096
  arg0.counter = arg1;
1079
1097
  }
1080
- export function __wbg_set_length_3eeb986747a2cafc(arg0, arg1) {
1098
+ export function __wbg_set_da33c120a6584674(arg0, arg1, arg2) {
1099
+ arg0[arg1 >>> 0] = arg2;
1100
+ }
1101
+ export function __wbg_set_length_89bd687854acccd5(arg0, arg1) {
1081
1102
  arg0.length = arg1;
1082
1103
  }
1083
- export function __wbg_set_name_ddf0b4aff0b39746(arg0, arg1, arg2) {
1104
+ export function __wbg_set_name_212a8e4fc124e29b(arg0, arg1, arg2) {
1084
1105
  arg0.name = getStringFromWasm0(arg1, arg2);
1085
1106
  }
1086
- export function __wbg_set_onclose_f1dc4f34db0edb70(arg0, arg1) {
1107
+ export function __wbg_set_onclose_9cb5c3372e16c192(arg0, arg1) {
1087
1108
  arg0.onclose = arg1;
1088
1109
  }
1089
- export function __wbg_set_onerror_c5cc940aaa32469f(arg0, arg1) {
1110
+ export function __wbg_set_onerror_190fe67e911ebf28(arg0, arg1) {
1090
1111
  arg0.onerror = arg1;
1091
1112
  }
1092
- export function __wbg_set_onmessage_4bc3bcd36a569c03(arg0, arg1) {
1113
+ export function __wbg_set_onmessage_96337495f0bfb796(arg0, arg1) {
1093
1114
  arg0.onmessage = arg1;
1094
1115
  }
1095
- export function __wbg_set_onopen_7c5a9bca5c4ae13d(arg0, arg1) {
1116
+ export function __wbg_set_onopen_3e2bf6b11d434c2d(arg0, arg1) {
1096
1117
  arg0.onopen = arg1;
1097
1118
  }
1098
- export function __wbg_sign_ac2a693ae3c36d52() {
1119
+ export function __wbg_sign_0be635e70fca00c4() {
1099
1120
  return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1100
1121
  const ret = arg0.sign(arg1, arg2, getArrayU8FromWasm0(arg3, arg4));
1101
1122
  return ret;
@@ -1103,114 +1124,114 @@ export function __wbg_sign_ac2a693ae3c36d52() {
1103
1124
  }
1104
1125
  export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
1105
1126
  const ret = arg1.stack;
1106
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1127
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1107
1128
  const len1 = WASM_VECTOR_LEN;
1108
1129
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1109
1130
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1110
1131
  }
1111
- export function __wbg_static_accessor_GLOBAL_280fe6a619bbfbf6() {
1132
+ export function __wbg_static_accessor_GLOBAL_60a4124bab7dcc9a() {
1112
1133
  const ret = typeof global === 'undefined' ? null : global;
1113
1134
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1114
1135
  }
1115
- export function __wbg_static_accessor_GLOBAL_THIS_12c1f4811ec605d1() {
1136
+ export function __wbg_static_accessor_GLOBAL_THIS_95ca6460658b5d13() {
1116
1137
  const ret = typeof dntShim.dntGlobalThis === 'undefined' ? null : dntShim.dntGlobalThis;
1117
1138
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1118
1139
  }
1119
- export function __wbg_static_accessor_SELF_3a156961626f54d9() {
1140
+ export function __wbg_static_accessor_SELF_4c95f759a91e9aae() {
1120
1141
  const ret = typeof self === 'undefined' ? null : self;
1121
1142
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1122
1143
  }
1123
- export function __wbg_static_accessor_WINDOW_210015b3eb6018a4() {
1144
+ export function __wbg_static_accessor_WINDOW_44b435597f9e9ee7() {
1124
1145
  const ret = typeof dntShim.dntGlobalThis === 'undefined' ? null : dntShim.dntGlobalThis;
1125
1146
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1126
1147
  }
1127
- export function __wbg_subtle_81be0a973c415a03(arg0) {
1148
+ export function __wbg_subtle_8f1ee4c21d530fce(arg0) {
1128
1149
  const ret = arg0.subtle;
1129
1150
  return ret;
1130
1151
  }
1131
- export function __wbg_then_5ce48a9e69c0d3cd(arg0, arg1) {
1132
- const ret = arg0.then(arg1);
1152
+ export function __wbg_then_254bab9b266a77a5(arg0, arg1, arg2) {
1153
+ const ret = arg0.then(arg1, arg2);
1133
1154
  return ret;
1134
1155
  }
1135
- export function __wbg_then_f73127af3894d61c(arg0, arg1, arg2) {
1136
- const ret = arg0.then(arg1, arg2);
1156
+ export function __wbg_then_3ea18602c6a5123b(arg0, arg1) {
1157
+ const ret = arg0.then(arg1);
1137
1158
  return ret;
1138
1159
  }
1139
- export function __wbg_toString_e3e5fe9e1dd78d7e(arg0) {
1160
+ export function __wbg_toString_b09619b263823abf(arg0) {
1140
1161
  const ret = arg0.toString();
1141
1162
  return ret;
1142
1163
  }
1143
- export function __wbg_unwrapKey_a1ed6f93290ea7e6() {
1164
+ export function __wbg_unwrapKey_8c36ebd252475005() {
1144
1165
  return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
1145
1166
  const ret = arg0.unwrapKey(getStringFromWasm0(arg1, arg2), arg3, arg4, getStringFromWasm0(arg5, arg6), arg7, arg8 !== 0, arg9);
1146
1167
  return ret;
1147
1168
  }, arguments);
1148
1169
  }
1149
- export function __wbg_value_3e1fdb73e1353fb3(arg0) {
1170
+ export function __wbg_value_3d3defe09fb1ffca(arg0) {
1150
1171
  const ret = arg0.value;
1151
1172
  return ret;
1152
1173
  }
1153
- export function __wbg_verify_f1f7d4c6724422ed() {
1174
+ export function __wbg_verify_618a7b8d4b5707fc() {
1154
1175
  return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1155
1176
  const ret = arg0.verify(arg1, arg2, getArrayU8FromWasm0(arg3, arg4), getArrayU8FromWasm0(arg5, arg6));
1156
1177
  return ret;
1157
1178
  }, arguments);
1158
1179
  }
1159
- export function __wbg_warn_1cdc9092c462f8ba(arg0, arg1, arg2, arg3) {
1180
+ export function __wbg_warn_9a910409d920f84d(arg0, arg1, arg2, arg3) {
1160
1181
  console.warn(arg0, arg1, arg2, arg3);
1161
1182
  }
1162
- export function __wbg_wrapKey_86c5988ab8fc9c88() {
1183
+ export function __wbg_wrapKey_ad361de1031fac4b() {
1163
1184
  return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1164
1185
  const ret = arg0.wrapKey(getStringFromWasm0(arg1, arg2), arg3, arg4, getStringFromWasm0(arg5, arg6));
1165
1186
  return ret;
1166
1187
  }, arguments);
1167
1188
  }
1168
- export function __wbg_writable_895b2d01f223385e(arg0) {
1189
+ export function __wbg_writable_b89f747b2d1d8950(arg0) {
1169
1190
  const ret = arg0.writable;
1170
1191
  return ret;
1171
1192
  }
1172
- export function __wbg_write_537b90f946efe5cf(arg0, arg1) {
1193
+ export function __wbg_write_20b6542ec273cec7(arg0, arg1) {
1173
1194
  const ret = arg0.write(arg1);
1174
1195
  return ret;
1175
1196
  }
1176
1197
  export function __wbindgen_cast_0000000000000001(arg0, arg1) {
1177
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1075, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 1076, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1178
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_cb3f4c460819bddd___closure__destroy___dyn_core_1d8485f859230fcb___ops__function__FnMut__js_sys_f2c01423afcdca44___Uint8Array____Output_______, wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array_____);
1198
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3058, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1199
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_824b133563844b84___convert__closures_____invoke___wasm_bindgen_824b133563844b84___JsValue__core_205bd76b1c346ff2___result__Result_____wasm_bindgen_824b133563844b84___JsError___true_);
1179
1200
  return ret;
1180
1201
  }
1181
1202
  export function __wbindgen_cast_0000000000000002(arg0, arg1) {
1182
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1075, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1076, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1183
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_cb3f4c460819bddd___closure__destroy___dyn_core_1d8485f859230fcb___ops__function__FnMut__js_sys_f2c01423afcdca44___Uint8Array____Output_______, wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array______1);
1203
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 961, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1204
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true_);
1184
1205
  return ret;
1185
1206
  }
1186
1207
  export function __wbindgen_cast_0000000000000003(arg0, arg1) {
1187
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1075, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1076, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1188
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_cb3f4c460819bddd___closure__destroy___dyn_core_1d8485f859230fcb___ops__function__FnMut__js_sys_f2c01423afcdca44___Uint8Array____Output_______, wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array______2);
1208
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 961, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1209
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true__2);
1189
1210
  return ret;
1190
1211
  }
1191
1212
  export function __wbindgen_cast_0000000000000004(arg0, arg1) {
1192
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1075, function: Function { arguments: [NamedExternref("SerialPort")], shim_idx: 1078, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1193
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_cb3f4c460819bddd___closure__destroy___dyn_core_1d8485f859230fcb___ops__function__FnMut__js_sys_f2c01423afcdca44___Uint8Array____Output_______, wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___wasm_bindgen_cb3f4c460819bddd___sys__Undefined__core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError__);
1213
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 961, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1214
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true__3);
1194
1215
  return ret;
1195
1216
  }
1196
1217
  export function __wbindgen_cast_0000000000000005(arg0, arg1) {
1197
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1075, function: Function { arguments: [NamedExternref("Uint8Array")], shim_idx: 1076, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1198
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_cb3f4c460819bddd___closure__destroy___dyn_core_1d8485f859230fcb___ops__function__FnMut__js_sys_f2c01423afcdca44___Uint8Array____Output_______, wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array______4);
1218
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("SerialPort")], shim_idx: 963, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1219
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_824b133563844b84___convert__closures_____invoke___wasm_bindgen_824b133563844b84___sys__Undefined__core_205bd76b1c346ff2___result__Result_____wasm_bindgen_824b133563844b84___JsError___true_);
1199
1220
  return ret;
1200
1221
  }
1201
1222
  export function __wbindgen_cast_0000000000000006(arg0, arg1) {
1202
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1075, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 1078, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1203
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_cb3f4c460819bddd___closure__destroy___dyn_core_1d8485f859230fcb___ops__function__FnMut__js_sys_f2c01423afcdca44___Uint8Array____Output_______, wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___wasm_bindgen_cb3f4c460819bddd___sys__Undefined__core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError___5);
1223
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Uint8Array")], shim_idx: 961, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1224
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true__5);
1204
1225
  return ret;
1205
1226
  }
1206
1227
  export function __wbindgen_cast_0000000000000007(arg0, arg1) {
1207
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1890, function: Function { arguments: [], shim_idx: 1891, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1208
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_cb3f4c460819bddd___closure__destroy___dyn_core_1d8485f859230fcb___ops__function__FnMut_____Output_______, wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke______);
1228
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 963, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1229
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_824b133563844b84___convert__closures_____invoke___wasm_bindgen_824b133563844b84___sys__Undefined__core_205bd76b1c346ff2___result__Result_____wasm_bindgen_824b133563844b84___JsError___true__6);
1209
1230
  return ret;
1210
1231
  }
1211
1232
  export function __wbindgen_cast_0000000000000008(arg0, arg1) {
1212
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1924, function: Function { arguments: [Externref], shim_idx: 1925, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1213
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_cb3f4c460819bddd___closure__destroy___dyn_core_1d8485f859230fcb___ops__function__FnMut__wasm_bindgen_cb3f4c460819bddd___JsValue____Output___core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError___, wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___wasm_bindgen_cb3f4c460819bddd___JsValue__core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError__);
1233
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2046, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1234
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_824b133563844b84___convert__closures_____invoke_______true_);
1214
1235
  return ret;
1215
1236
  }
1216
1237
  export function __wbindgen_cast_0000000000000009(arg0) {
@@ -1218,24 +1239,34 @@ export function __wbindgen_cast_0000000000000009(arg0) {
1218
1239
  const ret = arg0;
1219
1240
  return ret;
1220
1241
  }
1221
- export function __wbindgen_cast_000000000000000a(arg0) {
1242
+ export function __wbindgen_cast_000000000000000a(arg0, arg1) {
1243
+ // Cast intrinsic for `I128 -> Externref`.
1244
+ const ret = (BigInt.asUintN(64, arg0) | (arg1 << BigInt(64)));
1245
+ return ret;
1246
+ }
1247
+ export function __wbindgen_cast_000000000000000b(arg0) {
1222
1248
  // Cast intrinsic for `I64 -> Externref`.
1223
1249
  const ret = arg0;
1224
1250
  return ret;
1225
1251
  }
1226
- export function __wbindgen_cast_000000000000000b(arg0, arg1) {
1252
+ export function __wbindgen_cast_000000000000000c(arg0, arg1) {
1227
1253
  // Cast intrinsic for `Ref(String) -> Externref`.
1228
1254
  const ret = getStringFromWasm0(arg0, arg1);
1229
1255
  return ret;
1230
1256
  }
1231
- export function __wbindgen_cast_000000000000000c(arg0) {
1257
+ export function __wbindgen_cast_000000000000000d(arg0, arg1) {
1258
+ // Cast intrinsic for `U128 -> Externref`.
1259
+ const ret = (BigInt.asUintN(64, arg0) | (BigInt.asUintN(64, arg1) << BigInt(64)));
1260
+ return ret;
1261
+ }
1262
+ export function __wbindgen_cast_000000000000000e(arg0) {
1232
1263
  // Cast intrinsic for `U64 -> Externref`.
1233
1264
  const ret = BigInt.asUintN(64, arg0);
1234
1265
  return ret;
1235
1266
  }
1236
- export function __wbindgen_cast_000000000000000d(arg0, arg1) {
1267
+ export function __wbindgen_cast_000000000000000f(arg0, arg1) {
1237
1268
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
1238
- wasm.__wbindgen_free(arg0, arg1 * 1, 1);
1269
+ wasm.__wbindgen_free_command_export(arg0, arg1 * 1, 1);
1239
1270
  // Cast intrinsic for `Vector(U8) -> Externref`.
1240
1271
  const ret = v0;
1241
1272
  return ret;
@@ -1249,57 +1280,57 @@ export function __wbindgen_init_externref_table() {
1249
1280
  table.set(offset + 2, true);
1250
1281
  table.set(offset + 3, false);
1251
1282
  }
1252
- function wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke______(arg0, arg1) {
1253
- wasm.wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke______(arg0, arg1);
1283
+ function wasm_bindgen_824b133563844b84___convert__closures_____invoke_______true_(arg0, arg1) {
1284
+ wasm.wasm_bindgen_824b133563844b84___convert__closures_____invoke_______true_(arg0, arg1);
1254
1285
  }
1255
- function wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array_____(arg0, arg1, arg2) {
1256
- wasm.wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array_____(arg0, arg1, arg2);
1286
+ function wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true_(arg0, arg1, arg2) {
1287
+ wasm.wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true_(arg0, arg1, arg2);
1257
1288
  }
1258
- function wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array______1(arg0, arg1, arg2) {
1259
- wasm.wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array______1(arg0, arg1, arg2);
1289
+ function wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true__2(arg0, arg1, arg2) {
1290
+ wasm.wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true__2(arg0, arg1, arg2);
1260
1291
  }
1261
- function wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array______2(arg0, arg1, arg2) {
1262
- wasm.wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array______2(arg0, arg1, arg2);
1292
+ function wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true__3(arg0, arg1, arg2) {
1293
+ wasm.wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true__3(arg0, arg1, arg2);
1263
1294
  }
1264
- function wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array______4(arg0, arg1, arg2) {
1265
- wasm.wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Uint8Array______4(arg0, arg1, arg2);
1295
+ function wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true__5(arg0, arg1, arg2) {
1296
+ wasm.wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Uint8Array______true__5(arg0, arg1, arg2);
1266
1297
  }
1267
- function wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___wasm_bindgen_cb3f4c460819bddd___sys__Undefined__core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError__(arg0, arg1, arg2) {
1268
- const ret = wasm.wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___wasm_bindgen_cb3f4c460819bddd___sys__Undefined__core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError__(arg0, arg1, arg2);
1298
+ function wasm_bindgen_824b133563844b84___convert__closures_____invoke___wasm_bindgen_824b133563844b84___JsValue__core_205bd76b1c346ff2___result__Result_____wasm_bindgen_824b133563844b84___JsError___true_(arg0, arg1, arg2) {
1299
+ const ret = wasm.wasm_bindgen_824b133563844b84___convert__closures_____invoke___wasm_bindgen_824b133563844b84___JsValue__core_205bd76b1c346ff2___result__Result_____wasm_bindgen_824b133563844b84___JsError___true_(arg0, arg1, arg2);
1269
1300
  if (ret[1]) {
1270
1301
  throw takeFromExternrefTable0(ret[0]);
1271
1302
  }
1272
1303
  }
1273
- function wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___wasm_bindgen_cb3f4c460819bddd___sys__Undefined__core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError___5(arg0, arg1, arg2) {
1274
- const ret = wasm.wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___wasm_bindgen_cb3f4c460819bddd___sys__Undefined__core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError___5(arg0, arg1, arg2);
1304
+ function wasm_bindgen_824b133563844b84___convert__closures_____invoke___wasm_bindgen_824b133563844b84___sys__Undefined__core_205bd76b1c346ff2___result__Result_____wasm_bindgen_824b133563844b84___JsError___true_(arg0, arg1, arg2) {
1305
+ const ret = wasm.wasm_bindgen_824b133563844b84___convert__closures_____invoke___wasm_bindgen_824b133563844b84___sys__Undefined__core_205bd76b1c346ff2___result__Result_____wasm_bindgen_824b133563844b84___JsError___true_(arg0, arg1, arg2);
1275
1306
  if (ret[1]) {
1276
1307
  throw takeFromExternrefTable0(ret[0]);
1277
1308
  }
1278
1309
  }
1279
- function wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___wasm_bindgen_cb3f4c460819bddd___JsValue__core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError__(arg0, arg1, arg2) {
1280
- const ret = wasm.wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___wasm_bindgen_cb3f4c460819bddd___JsValue__core_1d8485f859230fcb___result__Result_____wasm_bindgen_cb3f4c460819bddd___JsError__(arg0, arg1, arg2);
1310
+ function wasm_bindgen_824b133563844b84___convert__closures_____invoke___wasm_bindgen_824b133563844b84___sys__Undefined__core_205bd76b1c346ff2___result__Result_____wasm_bindgen_824b133563844b84___JsError___true__6(arg0, arg1, arg2) {
1311
+ const ret = wasm.wasm_bindgen_824b133563844b84___convert__closures_____invoke___wasm_bindgen_824b133563844b84___sys__Undefined__core_205bd76b1c346ff2___result__Result_____wasm_bindgen_824b133563844b84___JsError___true__6(arg0, arg1, arg2);
1281
1312
  if (ret[1]) {
1282
1313
  throw takeFromExternrefTable0(ret[0]);
1283
1314
  }
1284
1315
  }
1285
- function wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Function_fn_wasm_bindgen_cb3f4c460819bddd___JsValue_____wasm_bindgen_cb3f4c460819bddd___sys__Undefined___js_sys_f2c01423afcdca44___Function_fn_wasm_bindgen_cb3f4c460819bddd___JsValue_____wasm_bindgen_cb3f4c460819bddd___sys__Undefined______(arg0, arg1, arg2, arg3) {
1286
- wasm.wasm_bindgen_cb3f4c460819bddd___convert__closures_____invoke___js_sys_f2c01423afcdca44___Function_fn_wasm_bindgen_cb3f4c460819bddd___JsValue_____wasm_bindgen_cb3f4c460819bddd___sys__Undefined___js_sys_f2c01423afcdca44___Function_fn_wasm_bindgen_cb3f4c460819bddd___JsValue_____wasm_bindgen_cb3f4c460819bddd___sys__Undefined______(arg0, arg1, arg2, arg3);
1316
+ function wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Function_fn_wasm_bindgen_824b133563844b84___JsValue_____wasm_bindgen_824b133563844b84___sys__Undefined___js_sys_378a52c961f35aed___Function_fn_wasm_bindgen_824b133563844b84___JsValue_____wasm_bindgen_824b133563844b84___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
1317
+ wasm.wasm_bindgen_824b133563844b84___convert__closures_____invoke___js_sys_378a52c961f35aed___Function_fn_wasm_bindgen_824b133563844b84___JsValue_____wasm_bindgen_824b133563844b84___sys__Undefined___js_sys_378a52c961f35aed___Function_fn_wasm_bindgen_824b133563844b84___JsValue_____wasm_bindgen_824b133563844b84___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
1287
1318
  }
1288
1319
  const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
1289
1320
  const JSComHubFinalization = (typeof FinalizationRegistry === 'undefined')
1290
1321
  ? { register: () => { }, unregister: () => { } }
1291
- : new FinalizationRegistry(ptr => wasm.__wbg_jscomhub_free(ptr >>> 0, 1));
1322
+ : new FinalizationRegistry(ptr => wasm.__wbg_jscomhub_free(ptr, 1));
1323
+ const JSDIFInterfaceFinalization = (typeof FinalizationRegistry === 'undefined')
1324
+ ? { register: () => { }, unregister: () => { } }
1325
+ : new FinalizationRegistry(ptr => wasm.__wbg_jsdifinterface_free(ptr, 1));
1292
1326
  const JSRuntimeFinalization = (typeof FinalizationRegistry === 'undefined')
1293
1327
  ? { register: () => { }, unregister: () => { } }
1294
- : new FinalizationRegistry(ptr => wasm.__wbg_jsruntime_free(ptr >>> 0, 1));
1328
+ : new FinalizationRegistry(ptr => wasm.__wbg_jsruntime_free(ptr, 1));
1295
1329
  const ReplFinalization = (typeof FinalizationRegistry === 'undefined')
1296
1330
  ? { register: () => { }, unregister: () => { } }
1297
- : new FinalizationRegistry(ptr => wasm.__wbg_repl_free(ptr >>> 0, 1));
1298
- const RuntimeDIFHandleFinalization = (typeof FinalizationRegistry === 'undefined')
1299
- ? { register: () => { }, unregister: () => { } }
1300
- : new FinalizationRegistry(ptr => wasm.__wbg_runtimedifhandle_free(ptr >>> 0, 1));
1331
+ : new FinalizationRegistry(ptr => wasm.__wbg_repl_free(ptr, 1));
1301
1332
  function addToExternrefTable0(obj) {
1302
- const idx = wasm.__externref_table_alloc();
1333
+ const idx = wasm.__externref_table_alloc_command_export();
1303
1334
  wasm.__wbindgen_externrefs.set(idx, obj);
1304
1335
  return idx;
1305
1336
  }
@@ -1310,7 +1341,7 @@ function _assertClass(instance, klass) {
1310
1341
  }
1311
1342
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
1312
1343
  ? { register: () => { }, unregister: () => { } }
1313
- : new FinalizationRegistry(state => state.dtor(state.a, state.b));
1344
+ : new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure_command_export(state.a, state.b));
1314
1345
  function debugString(val) {
1315
1346
  // primitive types
1316
1347
  const type = typeof val;
@@ -1391,8 +1422,7 @@ function getDataViewMemory0() {
1391
1422
  return cachedDataViewMemory0;
1392
1423
  }
1393
1424
  function getStringFromWasm0(ptr, len) {
1394
- ptr = ptr >>> 0;
1395
- return decodeText(ptr, len);
1425
+ return decodeText(ptr >>> 0, len);
1396
1426
  }
1397
1427
  let cachedUint8ArrayMemory0 = null;
1398
1428
  function getUint8ArrayMemory0() {
@@ -1407,14 +1437,14 @@ function handleError(f, args) {
1407
1437
  }
1408
1438
  catch (e) {
1409
1439
  const idx = addToExternrefTable0(e);
1410
- wasm.__wbindgen_exn_store(idx);
1440
+ wasm.__wbindgen_exn_store_command_export(idx);
1411
1441
  }
1412
1442
  }
1413
1443
  function isLikeNone(x) {
1414
1444
  return x === undefined || x === null;
1415
1445
  }
1416
- function makeMutClosure(arg0, arg1, dtor, f) {
1417
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
1446
+ function makeMutClosure(arg0, arg1, f) {
1447
+ const state = { a: arg0, b: arg1, cnt: 1 };
1418
1448
  const real = (...args) => {
1419
1449
  // First up with a closure we increment the internal reference
1420
1450
  // count. This ensures that the Rust closure environment won't
@@ -1432,7 +1462,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
1432
1462
  };
1433
1463
  real._wbg_cb_unref = () => {
1434
1464
  if (--state.cnt === 0) {
1435
- state.dtor(state.a, state.b);
1465
+ wasm.__wbindgen_destroy_closure_command_export(state.a, state.b);
1436
1466
  state.a = 0;
1437
1467
  CLOSURE_DTORS.unregister(state);
1438
1468
  }
@@ -1488,7 +1518,7 @@ function passStringToWasm0(arg, malloc, realloc) {
1488
1518
  }
1489
1519
  function takeFromExternrefTable0(idx) {
1490
1520
  const value = wasm.__wbindgen_externrefs.get(idx);
1491
- wasm.__externref_table_dealloc(idx);
1521
+ wasm.__externref_table_dealloc_command_export(idx);
1492
1522
  return value;
1493
1523
  }
1494
1524
  let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });