@trust0/ridb-core 1.7.31 → 1.7.33

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.
@@ -196,6 +196,30 @@ var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: ()
196
196
  } } : new FinalizationRegistry((state) => {
197
197
  wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
198
198
  });
199
+ function makeMutClosure(arg0, arg1, dtor, f) {
200
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
201
+ const real = (...args) => {
202
+ state.cnt++;
203
+ const a = state.a;
204
+ state.a = 0;
205
+ try {
206
+ return f(a, state.b, ...args);
207
+ } finally {
208
+ if (--state.cnt === 0) {
209
+ wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
210
+ CLOSURE_DTORS.unregister(state);
211
+ } else {
212
+ state.a = a;
213
+ }
214
+ }
215
+ };
216
+ real.original = state;
217
+ CLOSURE_DTORS.register(real, state, state);
218
+ return real;
219
+ }
220
+ function __wbg_adapter_56(arg0, arg1, arg2) {
221
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcf4fe6fd0b7ccc8d(arg0, arg1, addHeapObject(arg2));
222
+ }
199
223
  function makeClosure(arg0, arg1, dtor, f) {
200
224
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
201
225
  const real = (...args) => {
@@ -214,10 +238,10 @@ function makeClosure(arg0, arg1, dtor, f) {
214
238
  CLOSURE_DTORS.register(real, state, state);
215
239
  return real;
216
240
  }
217
- function __wbg_adapter_56(arg0, arg1, arg2, arg3, arg4) {
241
+ function __wbg_adapter_59(arg0, arg1, arg2, arg3, arg4) {
218
242
  try {
219
243
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
220
- wasm._dyn_core__ops__function__Fn__A_B_C___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d7727fe9471ac49(retptr, arg0, arg1, addHeapObject(arg2), addHeapObject(arg3), addHeapObject(arg4));
244
+ wasm._dyn_core__ops__function__Fn__A_B_C___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he6024291054ff5aa(retptr, arg0, arg1, addHeapObject(arg2), addHeapObject(arg3), addHeapObject(arg4));
221
245
  var r0 = getInt32Memory0()[retptr / 4 + 0];
222
246
  var r1 = getInt32Memory0()[retptr / 4 + 1];
223
247
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -229,35 +253,15 @@ function __wbg_adapter_56(arg0, arg1, arg2, arg3, arg4) {
229
253
  wasm.__wbindgen_add_to_stack_pointer(16);
230
254
  }
231
255
  }
232
- function makeMutClosure(arg0, arg1, dtor, f) {
233
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
234
- const real = (...args) => {
235
- state.cnt++;
236
- const a = state.a;
237
- state.a = 0;
238
- try {
239
- return f(a, state.b, ...args);
240
- } finally {
241
- if (--state.cnt === 0) {
242
- wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
243
- CLOSURE_DTORS.unregister(state);
244
- } else {
245
- state.a = a;
246
- }
247
- }
248
- };
249
- real.original = state;
250
- CLOSURE_DTORS.register(real, state, state);
251
- return real;
252
- }
253
- function __wbg_adapter_59(arg0, arg1, arg2) {
254
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4e550b82c2b30c7a(arg0, arg1, addHeapObject(arg2));
256
+ function __wbg_adapter_62(arg0, arg1, arg2) {
257
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb6eb1f8e3b5e56e9(arg0, arg1, addHeapObject(arg2));
255
258
  }
256
- function __wbg_adapter_62(arg0, arg1) {
257
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hec0cc069f718ed78(arg0, arg1);
259
+ function main_js() {
260
+ wasm.main_js();
258
261
  }
259
- function __wbg_adapter_65(arg0, arg1, arg2) {
260
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf401bdfdf8c9bdd9(arg0, arg1, addHeapObject(arg2));
262
+ function is_debug_mode() {
263
+ const ret = wasm.is_debug_mode();
264
+ return ret !== 0;
261
265
  }
262
266
  var cachedUint32Memory0 = null;
263
267
  function getUint32Memory0() {
@@ -288,6 +292,13 @@ function addBorrowedObject(obj) {
288
292
  heap[--stack_pointer] = obj;
289
293
  return stack_pointer;
290
294
  }
295
+ function handleError(f, args) {
296
+ try {
297
+ return f.apply(this, args);
298
+ } catch (e) {
299
+ wasm.__wbindgen_exn_store(addHeapObject(e));
300
+ }
301
+ }
291
302
  function passArrayJsValueToWasm0(array, malloc) {
292
303
  const ptr = malloc(array.length * 4, 4) >>> 0;
293
304
  const mem = getUint32Memory0();
@@ -297,20 +308,6 @@ function passArrayJsValueToWasm0(array, malloc) {
297
308
  WASM_VECTOR_LEN = array.length;
298
309
  return ptr;
299
310
  }
300
- function handleError(f, args) {
301
- try {
302
- return f.apply(this, args);
303
- } catch (e) {
304
- wasm.__wbindgen_exn_store(addHeapObject(e));
305
- }
306
- }
307
- function main_js() {
308
- wasm.main_js();
309
- }
310
- function is_debug_mode() {
311
- const ret = wasm.is_debug_mode();
312
- return ret !== 0;
313
- }
314
311
  function __wbgtest_console_log(args) {
315
312
  try {
316
313
  wasm.__wbgtest_console_log(addBorrowedObject(args));
@@ -346,14 +343,14 @@ function __wbgtest_console_error(args) {
346
343
  heap[stack_pointer++] = void 0;
347
344
  }
348
345
  }
349
- function __wbg_adapter_292(arg0, arg1) {
350
- wasm.wasm_bindgen__convert__closures__invoke0_mut__he68973678185bd11(arg0, arg1);
346
+ function __wbg_adapter_296(arg0, arg1) {
347
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__hff00333f3d941090(arg0, arg1);
351
348
  }
352
- function __wbg_adapter_335(arg0, arg1, arg2, arg3, arg4) {
353
- wasm.wasm_bindgen__convert__closures__invoke3_mut__h711940be5154e055(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
349
+ function __wbg_adapter_339(arg0, arg1, arg2, arg3, arg4) {
350
+ wasm.wasm_bindgen__convert__closures__invoke3_mut__h703f9c33fd3008bf(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
354
351
  }
355
- function __wbg_adapter_392(arg0, arg1, arg2, arg3) {
356
- wasm.wasm_bindgen__convert__closures__invoke2_mut__hdfe55fa2a247d1ac(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
352
+ function __wbg_adapter_396(arg0, arg1, arg2, arg3) {
353
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h97988f5fa0547d24(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
357
354
  }
358
355
  var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
359
356
  var OpType = Object.freeze({
@@ -825,8 +822,7 @@ var CoreStorage = class _CoreStorage {
825
822
  try {
826
823
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
827
824
  _assertClass(query, Query);
828
- var ptr0 = query.__destroy_into_raw();
829
- wasm.corestorage_matchesQuery(retptr, this.__wbg_ptr, addBorrowedObject(document2), ptr0);
825
+ wasm.corestorage_matchesQuery(retptr, this.__wbg_ptr, addBorrowedObject(document2), query.__wbg_ptr);
830
826
  var r0 = getInt32Memory0()[retptr / 4 + 0];
831
827
  var r1 = getInt32Memory0()[retptr / 4 + 1];
832
828
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -1623,6 +1619,13 @@ var Query = class {
1623
1619
  wasm.__wbindgen_add_to_stack_pointer(16);
1624
1620
  }
1625
1621
  }
1622
+ /**
1623
+ * @returns {boolean}
1624
+ */
1625
+ has_or_operator() {
1626
+ const ret = wasm.query_has_or_operator(this.__wbg_ptr);
1627
+ return ret !== 0;
1628
+ }
1626
1629
  };
1627
1630
  var QueryOptionsFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1628
1631
  }, unregister: () => {
@@ -2143,54 +2146,35 @@ function __wbg_get_imports() {
2143
2146
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
2144
2147
  takeObject(arg0);
2145
2148
  };
2146
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2147
- const ret = getStringFromWasm0(arg0, arg1);
2148
- return addHeapObject(ret);
2149
+ imports.wbg.__wbg_count_19db4c3174d573d5 = function() {
2150
+ return handleError(function(arg0, arg1, arg2, arg3, arg4) {
2151
+ const ret = getObject(arg0).count(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
2152
+ return addHeapObject(ret);
2153
+ }, arguments);
2149
2154
  };
2150
2155
  imports.wbg.__wbg_ridberror_new = function(arg0) {
2151
2156
  const ret = RIDBError.__wrap(arg0);
2152
2157
  return addHeapObject(ret);
2153
2158
  };
2159
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2160
+ const ret = getStringFromWasm0(arg0, arg1);
2161
+ return addHeapObject(ret);
2162
+ };
2154
2163
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
2155
2164
  const ret = getObject(arg0);
2156
2165
  return addHeapObject(ret);
2157
2166
  };
2158
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
2159
- const obj = getObject(arg1);
2160
- const ret = typeof obj === "string" ? obj : void 0;
2161
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2162
- var len1 = WASM_VECTOR_LEN;
2163
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2164
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2165
- };
2166
2167
  imports.wbg.__wbindgen_is_undefined = function(arg0) {
2167
2168
  const ret = getObject(arg0) === void 0;
2168
2169
  return ret;
2169
2170
  };
2170
- imports.wbg.__wbindgen_number_new = function(arg0) {
2171
- const ret = arg0;
2172
- return addHeapObject(ret);
2173
- };
2174
- imports.wbg.__wbg_apply_9f557eba1534d597 = function() {
2175
- return handleError(function(arg0, arg1, arg2) {
2176
- const ret = getObject(arg1).apply(takeObject(arg2));
2177
- const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc);
2178
- const len1 = WASM_VECTOR_LEN;
2179
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2180
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2181
- }, arguments);
2182
- };
2183
- imports.wbg.__wbg_inmemory_new = function(arg0) {
2184
- const ret = InMemory.__wrap(arg0);
2185
- return addHeapObject(ret);
2186
- };
2187
2171
  imports.wbg.__wbindgen_is_null = function(arg0) {
2188
2172
  const ret = getObject(arg0) === null;
2189
2173
  return ret;
2190
2174
  };
2191
- imports.wbg.__wbg_close_6384ed3c27ef25c1 = function() {
2175
+ imports.wbg.__wbg_start_76c138c3b73ae6f8 = function() {
2192
2176
  return handleError(function(arg0) {
2193
- const ret = getObject(arg0).close();
2177
+ const ret = getObject(arg0).start();
2194
2178
  return addHeapObject(ret);
2195
2179
  }, arguments);
2196
2180
  };
@@ -2203,15 +2187,34 @@ function __wbg_get_imports() {
2203
2187
  const ret = false;
2204
2188
  return ret;
2205
2189
  };
2206
- imports.wbg.__wbg_count_19db4c3174d573d5 = function() {
2207
- return handleError(function(arg0, arg1, arg2, arg3, arg4) {
2208
- const ret = getObject(arg0).count(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
2209
- return addHeapObject(ret);
2190
+ imports.wbg.__wbindgen_number_new = function(arg0) {
2191
+ const ret = arg0;
2192
+ return addHeapObject(ret);
2193
+ };
2194
+ imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
2195
+ const obj = getObject(arg1);
2196
+ const ret = typeof obj === "string" ? obj : void 0;
2197
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2198
+ var len1 = WASM_VECTOR_LEN;
2199
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2200
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2201
+ };
2202
+ imports.wbg.__wbg_apply_9f557eba1534d597 = function() {
2203
+ return handleError(function(arg0, arg1, arg2) {
2204
+ const ret = getObject(arg1).apply(takeObject(arg2));
2205
+ const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc);
2206
+ const len1 = WASM_VECTOR_LEN;
2207
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2208
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2210
2209
  }, arguments);
2211
2210
  };
2212
- imports.wbg.__wbg_start_76c138c3b73ae6f8 = function() {
2211
+ imports.wbg.__wbg_inmemory_new = function(arg0) {
2212
+ const ret = InMemory.__wrap(arg0);
2213
+ return addHeapObject(ret);
2214
+ };
2215
+ imports.wbg.__wbg_close_6384ed3c27ef25c1 = function() {
2213
2216
  return handleError(function(arg0) {
2214
- const ret = getObject(arg0).start();
2217
+ const ret = getObject(arg0).close();
2215
2218
  return addHeapObject(ret);
2216
2219
  }, arguments);
2217
2220
  };
@@ -2243,23 +2246,31 @@ function __wbg_get_imports() {
2243
2246
  const ret = IndexDB.__wrap(arg0);
2244
2247
  return addHeapObject(ret);
2245
2248
  };
2246
- imports.wbg.__wbg_database_new = function(arg0) {
2247
- const ret = Database.__wrap(arg0);
2248
- return addHeapObject(ret);
2249
- };
2250
2249
  imports.wbg.__wbg_collection_new = function(arg0) {
2251
2250
  const ret = Collection.__wrap(arg0);
2252
2251
  return addHeapObject(ret);
2253
2252
  };
2253
+ imports.wbg.__wbg_database_new = function(arg0) {
2254
+ const ret = Database.__wrap(arg0);
2255
+ return addHeapObject(ret);
2256
+ };
2254
2257
  imports.wbg.__wbindgen_is_object = function(arg0) {
2255
2258
  const val = getObject(arg0);
2256
2259
  const ret = typeof val === "object" && val !== null;
2257
2260
  return ret;
2258
2261
  };
2262
+ imports.wbg.__wbindgen_is_function = function(arg0) {
2263
+ const ret = typeof getObject(arg0) === "function";
2264
+ return ret;
2265
+ };
2259
2266
  imports.wbg.__wbindgen_is_string = function(arg0) {
2260
2267
  const ret = typeof getObject(arg0) === "string";
2261
2268
  return ret;
2262
2269
  };
2270
+ imports.wbg.__wbindgen_is_bigint = function(arg0) {
2271
+ const ret = typeof getObject(arg0) === "bigint";
2272
+ return ret;
2273
+ };
2263
2274
  imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
2264
2275
  const ret = new Error(getStringFromWasm0(arg0, arg1));
2265
2276
  return addHeapObject(ret);
@@ -2268,25 +2279,13 @@ function __wbg_get_imports() {
2268
2279
  const ret = Array.isArray(getObject(arg0));
2269
2280
  return ret;
2270
2281
  };
2271
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
2272
- const v = getObject(arg0);
2273
- const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
2274
- return ret;
2275
- };
2276
2282
  imports.wbg.__wbindgen_is_falsy = function(arg0) {
2277
2283
  const ret = !getObject(arg0);
2278
2284
  return ret;
2279
2285
  };
2280
- imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
2281
- const ret = getObject(arg0) === getObject(arg1);
2282
- return ret;
2283
- };
2284
- imports.wbg.__wbindgen_is_function = function(arg0) {
2285
- const ret = typeof getObject(arg0) === "function";
2286
- return ret;
2287
- };
2288
- imports.wbg.__wbindgen_is_bigint = function(arg0) {
2289
- const ret = typeof getObject(arg0) === "bigint";
2286
+ imports.wbg.__wbindgen_boolean_get = function(arg0) {
2287
+ const v = getObject(arg0);
2288
+ const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
2290
2289
  return ret;
2291
2290
  };
2292
2291
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
@@ -2297,6 +2296,10 @@ function __wbg_get_imports() {
2297
2296
  const ret = arg0;
2298
2297
  return addHeapObject(ret);
2299
2298
  };
2299
+ imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
2300
+ const ret = getObject(arg0) === getObject(arg1);
2301
+ return ret;
2302
+ };
2300
2303
  imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2301
2304
  const ret = BigInt.asUintN(64, arg0);
2302
2305
  return addHeapObject(ret);
@@ -2353,12 +2356,6 @@ function __wbg_get_imports() {
2353
2356
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2354
2357
  }, arguments);
2355
2358
  };
2356
- imports.wbg.__wbg_setTimeout_c172d5704ef82276 = function() {
2357
- return handleError(function(arg0, arg1, arg2) {
2358
- const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
2359
- return ret;
2360
- }, arguments);
2361
- };
2362
2359
  imports.wbg.__wbg_instanceof_WorkerGlobalScope_46b577f151fad960 = function(arg0) {
2363
2360
  let result;
2364
2361
  try {
@@ -2375,12 +2372,6 @@ function __wbg_get_imports() {
2375
2372
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2376
2373
  }, arguments);
2377
2374
  };
2378
- imports.wbg.__wbg_setTimeout_8502a960d5dde06e = function() {
2379
- return handleError(function(arg0, arg1, arg2) {
2380
- const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
2381
- return ret;
2382
- }, arguments);
2383
- };
2384
2375
  imports.wbg.__wbg_debug_5fb96680aecf5dc8 = function(arg0) {
2385
2376
  console.debug(getObject(arg0));
2386
2377
  };
@@ -2525,12 +2516,42 @@ function __wbg_get_imports() {
2525
2516
  return addHeapObject(ret);
2526
2517
  }, arguments);
2527
2518
  };
2519
+ imports.wbg.__wbg_bound_25385469508e98c7 = function() {
2520
+ return handleError(function(arg0, arg1, arg2, arg3) {
2521
+ const ret = IDBKeyRange.bound(getObject(arg0), getObject(arg1), arg2 !== 0, arg3 !== 0);
2522
+ return addHeapObject(ret);
2523
+ }, arguments);
2524
+ };
2525
+ imports.wbg.__wbg_lowerBound_cd1c8a3b3fdf1582 = function() {
2526
+ return handleError(function(arg0) {
2527
+ const ret = IDBKeyRange.lowerBound(getObject(arg0));
2528
+ return addHeapObject(ret);
2529
+ }, arguments);
2530
+ };
2531
+ imports.wbg.__wbg_lowerBound_e77f6e14cb69151e = function() {
2532
+ return handleError(function(arg0, arg1) {
2533
+ const ret = IDBKeyRange.lowerBound(getObject(arg0), arg1 !== 0);
2534
+ return addHeapObject(ret);
2535
+ }, arguments);
2536
+ };
2528
2537
  imports.wbg.__wbg_only_cacf767244bdc280 = function() {
2529
2538
  return handleError(function(arg0) {
2530
2539
  const ret = IDBKeyRange.only(getObject(arg0));
2531
2540
  return addHeapObject(ret);
2532
2541
  }, arguments);
2533
2542
  };
2543
+ imports.wbg.__wbg_upperBound_1e3077b2c05bdd71 = function() {
2544
+ return handleError(function(arg0) {
2545
+ const ret = IDBKeyRange.upperBound(getObject(arg0));
2546
+ return addHeapObject(ret);
2547
+ }, arguments);
2548
+ };
2549
+ imports.wbg.__wbg_upperBound_4c692da072d1a11e = function() {
2550
+ return handleError(function(arg0, arg1) {
2551
+ const ret = IDBKeyRange.upperBound(getObject(arg0), arg1 !== 0);
2552
+ return addHeapObject(ret);
2553
+ }, arguments);
2554
+ };
2534
2555
  imports.wbg.__wbg_instanceof_IdbOpenDbRequest_3f4a166bc0340578 = function(arg0) {
2535
2556
  let result;
2536
2557
  try {
@@ -2619,7 +2640,7 @@ function __wbg_get_imports() {
2619
2640
  const a = state0.a;
2620
2641
  state0.a = 0;
2621
2642
  try {
2622
- return __wbg_adapter_292(a, state0.b);
2643
+ return __wbg_adapter_296(a, state0.b);
2623
2644
  } finally {
2624
2645
  state0.a = a;
2625
2646
  }
@@ -2630,16 +2651,12 @@ function __wbg_get_imports() {
2630
2651
  }
2631
2652
  }, arguments);
2632
2653
  };
2633
- imports.wbg.__wbg_static_accessor_document_d4b6ae7f5578480f = function() {
2634
- const ret = document;
2635
- return addHeapObject(ret);
2654
+ imports.wbg.__wbg_wbgtestoutputwriteln_4db3bd64914ec955 = function(arg0) {
2655
+ __wbg_test_output_writeln(takeObject(arg0));
2636
2656
  };
2637
- imports.wbg.__wbg_stack_17c77e9f5bfe6714 = function(arg0, arg1) {
2638
- const ret = getObject(arg1).stack;
2639
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2640
- const len1 = WASM_VECTOR_LEN;
2641
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2642
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2657
+ imports.wbg.__wbg_stack_436273c21658169b = function(arg0) {
2658
+ const ret = getObject(arg0).stack;
2659
+ return addHeapObject(ret);
2643
2660
  };
2644
2661
  imports.wbg.__wbg_self_55106357ec10ecd4 = function(arg0) {
2645
2662
  const ret = getObject(arg0).self;
@@ -2667,13 +2684,17 @@ function __wbg_get_imports() {
2667
2684
  const ret = getObject(arg0).stack;
2668
2685
  return addHeapObject(ret);
2669
2686
  };
2670
- imports.wbg.__wbg_wbgtestoutputwriteln_4db3bd64914ec955 = function(arg0) {
2671
- __wbg_test_output_writeln(takeObject(arg0));
2672
- };
2673
- imports.wbg.__wbg_stack_436273c21658169b = function(arg0) {
2674
- const ret = getObject(arg0).stack;
2687
+ imports.wbg.__wbg_static_accessor_document_d4b6ae7f5578480f = function() {
2688
+ const ret = document;
2675
2689
  return addHeapObject(ret);
2676
2690
  };
2691
+ imports.wbg.__wbg_stack_17c77e9f5bfe6714 = function(arg0, arg1) {
2692
+ const ret = getObject(arg1).stack;
2693
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2694
+ const len1 = WASM_VECTOR_LEN;
2695
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2696
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2697
+ };
2677
2698
  imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
2678
2699
  const ret = new Error();
2679
2700
  return addHeapObject(ret);
@@ -2696,13 +2717,13 @@ function __wbg_get_imports() {
2696
2717
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2697
2718
  }
2698
2719
  };
2699
- imports.wbg.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
2700
- queueMicrotask(getObject(arg0));
2701
- };
2702
2720
  imports.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
2703
2721
  const ret = getObject(arg0).queueMicrotask;
2704
2722
  return addHeapObject(ret);
2705
2723
  };
2724
+ imports.wbg.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
2725
+ queueMicrotask(getObject(arg0));
2726
+ };
2706
2727
  imports.wbg.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
2707
2728
  const ret = getObject(arg0)[arg1 >>> 0];
2708
2729
  return addHeapObject(ret);
@@ -2799,7 +2820,7 @@ function __wbg_get_imports() {
2799
2820
  const a = state0.a;
2800
2821
  state0.a = 0;
2801
2822
  try {
2802
- return __wbg_adapter_335(a, state0.b, arg02, arg12, arg22);
2823
+ return __wbg_adapter_339(a, state0.b, arg02, arg12, arg22);
2803
2824
  } finally {
2804
2825
  state0.a = a;
2805
2826
  }
@@ -2900,7 +2921,7 @@ function __wbg_get_imports() {
2900
2921
  const a = state0.a;
2901
2922
  state0.a = 0;
2902
2923
  try {
2903
- return __wbg_adapter_392(a, state0.b, arg02, arg12);
2924
+ return __wbg_adapter_396(a, state0.b, arg02, arg12);
2904
2925
  } finally {
2905
2926
  state0.a = a;
2906
2927
  }
@@ -3016,20 +3037,16 @@ function __wbg_get_imports() {
3016
3037
  const ret = wasm.memory;
3017
3038
  return addHeapObject(ret);
3018
3039
  };
3019
- imports.wbg.__wbindgen_closure_wrapper814 = function(arg0, arg1, arg2) {
3020
- const ret = makeClosure(arg0, arg1, 336, __wbg_adapter_56);
3021
- return addHeapObject(ret);
3022
- };
3023
- imports.wbg.__wbindgen_closure_wrapper816 = function(arg0, arg1, arg2) {
3024
- const ret = makeMutClosure(arg0, arg1, 336, __wbg_adapter_59);
3040
+ imports.wbg.__wbindgen_closure_wrapper482 = function(arg0, arg1, arg2) {
3041
+ const ret = makeMutClosure(arg0, arg1, 181, __wbg_adapter_56);
3025
3042
  return addHeapObject(ret);
3026
3043
  };
3027
- imports.wbg.__wbindgen_closure_wrapper818 = function(arg0, arg1, arg2) {
3028
- const ret = makeMutClosure(arg0, arg1, 336, __wbg_adapter_62);
3044
+ imports.wbg.__wbindgen_closure_wrapper484 = function(arg0, arg1, arg2) {
3045
+ const ret = makeClosure(arg0, arg1, 181, __wbg_adapter_59);
3029
3046
  return addHeapObject(ret);
3030
3047
  };
3031
- imports.wbg.__wbindgen_closure_wrapper1616 = function(arg0, arg1, arg2) {
3032
- const ret = makeMutClosure(arg0, arg1, 441, __wbg_adapter_65);
3048
+ imports.wbg.__wbindgen_closure_wrapper1646 = function(arg0, arg1, arg2) {
3049
+ const ret = makeMutClosure(arg0, arg1, 449, __wbg_adapter_62);
3033
3050
  return addHeapObject(ret);
3034
3051
  };
3035
3052
  return imports;