@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.
@@ -243,6 +243,30 @@ var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: ()
243
243
  } } : new FinalizationRegistry((state) => {
244
244
  wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
245
245
  });
246
+ function makeMutClosure(arg0, arg1, dtor, f) {
247
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
248
+ const real = (...args) => {
249
+ state.cnt++;
250
+ const a = state.a;
251
+ state.a = 0;
252
+ try {
253
+ return f(a, state.b, ...args);
254
+ } finally {
255
+ if (--state.cnt === 0) {
256
+ wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
257
+ CLOSURE_DTORS.unregister(state);
258
+ } else {
259
+ state.a = a;
260
+ }
261
+ }
262
+ };
263
+ real.original = state;
264
+ CLOSURE_DTORS.register(real, state, state);
265
+ return real;
266
+ }
267
+ function __wbg_adapter_56(arg0, arg1, arg2) {
268
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcf4fe6fd0b7ccc8d(arg0, arg1, addHeapObject(arg2));
269
+ }
246
270
  function makeClosure(arg0, arg1, dtor, f) {
247
271
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
248
272
  const real = (...args) => {
@@ -261,10 +285,10 @@ function makeClosure(arg0, arg1, dtor, f) {
261
285
  CLOSURE_DTORS.register(real, state, state);
262
286
  return real;
263
287
  }
264
- function __wbg_adapter_56(arg0, arg1, arg2, arg3, arg4) {
288
+ function __wbg_adapter_59(arg0, arg1, arg2, arg3, arg4) {
265
289
  try {
266
290
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
267
- 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));
291
+ 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));
268
292
  var r0 = getInt32Memory0()[retptr / 4 + 0];
269
293
  var r1 = getInt32Memory0()[retptr / 4 + 1];
270
294
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -276,35 +300,15 @@ function __wbg_adapter_56(arg0, arg1, arg2, arg3, arg4) {
276
300
  wasm.__wbindgen_add_to_stack_pointer(16);
277
301
  }
278
302
  }
279
- function makeMutClosure(arg0, arg1, dtor, f) {
280
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
281
- const real = (...args) => {
282
- state.cnt++;
283
- const a = state.a;
284
- state.a = 0;
285
- try {
286
- return f(a, state.b, ...args);
287
- } finally {
288
- if (--state.cnt === 0) {
289
- wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
290
- CLOSURE_DTORS.unregister(state);
291
- } else {
292
- state.a = a;
293
- }
294
- }
295
- };
296
- real.original = state;
297
- CLOSURE_DTORS.register(real, state, state);
298
- return real;
299
- }
300
- function __wbg_adapter_59(arg0, arg1, arg2) {
301
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4e550b82c2b30c7a(arg0, arg1, addHeapObject(arg2));
303
+ function __wbg_adapter_62(arg0, arg1, arg2) {
304
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb6eb1f8e3b5e56e9(arg0, arg1, addHeapObject(arg2));
302
305
  }
303
- function __wbg_adapter_62(arg0, arg1) {
304
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hec0cc069f718ed78(arg0, arg1);
306
+ function main_js() {
307
+ wasm.main_js();
305
308
  }
306
- function __wbg_adapter_65(arg0, arg1, arg2) {
307
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf401bdfdf8c9bdd9(arg0, arg1, addHeapObject(arg2));
309
+ function is_debug_mode() {
310
+ const ret = wasm.is_debug_mode();
311
+ return ret !== 0;
308
312
  }
309
313
  var cachedUint32Memory0 = null;
310
314
  function getUint32Memory0() {
@@ -335,6 +339,13 @@ function addBorrowedObject(obj) {
335
339
  heap[--stack_pointer] = obj;
336
340
  return stack_pointer;
337
341
  }
342
+ function handleError(f, args) {
343
+ try {
344
+ return f.apply(this, args);
345
+ } catch (e) {
346
+ wasm.__wbindgen_exn_store(addHeapObject(e));
347
+ }
348
+ }
338
349
  function passArrayJsValueToWasm0(array, malloc) {
339
350
  const ptr = malloc(array.length * 4, 4) >>> 0;
340
351
  const mem = getUint32Memory0();
@@ -344,20 +355,6 @@ function passArrayJsValueToWasm0(array, malloc) {
344
355
  WASM_VECTOR_LEN = array.length;
345
356
  return ptr;
346
357
  }
347
- function handleError(f, args) {
348
- try {
349
- return f.apply(this, args);
350
- } catch (e) {
351
- wasm.__wbindgen_exn_store(addHeapObject(e));
352
- }
353
- }
354
- function main_js() {
355
- wasm.main_js();
356
- }
357
- function is_debug_mode() {
358
- const ret = wasm.is_debug_mode();
359
- return ret !== 0;
360
- }
361
358
  function __wbgtest_console_log(args) {
362
359
  try {
363
360
  wasm.__wbgtest_console_log(addBorrowedObject(args));
@@ -393,14 +390,14 @@ function __wbgtest_console_error(args) {
393
390
  heap[stack_pointer++] = void 0;
394
391
  }
395
392
  }
396
- function __wbg_adapter_292(arg0, arg1) {
397
- wasm.wasm_bindgen__convert__closures__invoke0_mut__he68973678185bd11(arg0, arg1);
393
+ function __wbg_adapter_296(arg0, arg1) {
394
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__hff00333f3d941090(arg0, arg1);
398
395
  }
399
- function __wbg_adapter_335(arg0, arg1, arg2, arg3, arg4) {
400
- wasm.wasm_bindgen__convert__closures__invoke3_mut__h711940be5154e055(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
396
+ function __wbg_adapter_339(arg0, arg1, arg2, arg3, arg4) {
397
+ wasm.wasm_bindgen__convert__closures__invoke3_mut__h703f9c33fd3008bf(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
401
398
  }
402
- function __wbg_adapter_392(arg0, arg1, arg2, arg3) {
403
- wasm.wasm_bindgen__convert__closures__invoke2_mut__hdfe55fa2a247d1ac(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
399
+ function __wbg_adapter_396(arg0, arg1, arg2, arg3) {
400
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h97988f5fa0547d24(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
404
401
  }
405
402
  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" });
406
403
  var OpType = Object.freeze({
@@ -872,8 +869,7 @@ var CoreStorage = class _CoreStorage {
872
869
  try {
873
870
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
874
871
  _assertClass(query, Query);
875
- var ptr0 = query.__destroy_into_raw();
876
- wasm.corestorage_matchesQuery(retptr, this.__wbg_ptr, addBorrowedObject(document2), ptr0);
872
+ wasm.corestorage_matchesQuery(retptr, this.__wbg_ptr, addBorrowedObject(document2), query.__wbg_ptr);
877
873
  var r0 = getInt32Memory0()[retptr / 4 + 0];
878
874
  var r1 = getInt32Memory0()[retptr / 4 + 1];
879
875
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -1670,6 +1666,13 @@ var Query = class {
1670
1666
  wasm.__wbindgen_add_to_stack_pointer(16);
1671
1667
  }
1672
1668
  }
1669
+ /**
1670
+ * @returns {boolean}
1671
+ */
1672
+ has_or_operator() {
1673
+ const ret = wasm.query_has_or_operator(this.__wbg_ptr);
1674
+ return ret !== 0;
1675
+ }
1673
1676
  };
1674
1677
  var QueryOptionsFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1675
1678
  }, unregister: () => {
@@ -2190,54 +2193,35 @@ function __wbg_get_imports() {
2190
2193
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
2191
2194
  takeObject(arg0);
2192
2195
  };
2193
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2194
- const ret = getStringFromWasm0(arg0, arg1);
2195
- return addHeapObject(ret);
2196
+ imports.wbg.__wbg_count_19db4c3174d573d5 = function() {
2197
+ return handleError(function(arg0, arg1, arg2, arg3, arg4) {
2198
+ const ret = getObject(arg0).count(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
2199
+ return addHeapObject(ret);
2200
+ }, arguments);
2196
2201
  };
2197
2202
  imports.wbg.__wbg_ridberror_new = function(arg0) {
2198
2203
  const ret = RIDBError.__wrap(arg0);
2199
2204
  return addHeapObject(ret);
2200
2205
  };
2206
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2207
+ const ret = getStringFromWasm0(arg0, arg1);
2208
+ return addHeapObject(ret);
2209
+ };
2201
2210
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
2202
2211
  const ret = getObject(arg0);
2203
2212
  return addHeapObject(ret);
2204
2213
  };
2205
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
2206
- const obj = getObject(arg1);
2207
- const ret = typeof obj === "string" ? obj : void 0;
2208
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2209
- var len1 = WASM_VECTOR_LEN;
2210
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2211
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2212
- };
2213
2214
  imports.wbg.__wbindgen_is_undefined = function(arg0) {
2214
2215
  const ret = getObject(arg0) === void 0;
2215
2216
  return ret;
2216
2217
  };
2217
- imports.wbg.__wbindgen_number_new = function(arg0) {
2218
- const ret = arg0;
2219
- return addHeapObject(ret);
2220
- };
2221
- imports.wbg.__wbg_apply_9f557eba1534d597 = function() {
2222
- return handleError(function(arg0, arg1, arg2) {
2223
- const ret = getObject(arg1).apply(takeObject(arg2));
2224
- const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc);
2225
- const len1 = WASM_VECTOR_LEN;
2226
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2227
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2228
- }, arguments);
2229
- };
2230
- imports.wbg.__wbg_inmemory_new = function(arg0) {
2231
- const ret = InMemory.__wrap(arg0);
2232
- return addHeapObject(ret);
2233
- };
2234
2218
  imports.wbg.__wbindgen_is_null = function(arg0) {
2235
2219
  const ret = getObject(arg0) === null;
2236
2220
  return ret;
2237
2221
  };
2238
- imports.wbg.__wbg_close_6384ed3c27ef25c1 = function() {
2222
+ imports.wbg.__wbg_start_76c138c3b73ae6f8 = function() {
2239
2223
  return handleError(function(arg0) {
2240
- const ret = getObject(arg0).close();
2224
+ const ret = getObject(arg0).start();
2241
2225
  return addHeapObject(ret);
2242
2226
  }, arguments);
2243
2227
  };
@@ -2250,15 +2234,34 @@ function __wbg_get_imports() {
2250
2234
  const ret = false;
2251
2235
  return ret;
2252
2236
  };
2253
- imports.wbg.__wbg_count_19db4c3174d573d5 = function() {
2254
- return handleError(function(arg0, arg1, arg2, arg3, arg4) {
2255
- const ret = getObject(arg0).count(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
2256
- return addHeapObject(ret);
2237
+ imports.wbg.__wbindgen_number_new = function(arg0) {
2238
+ const ret = arg0;
2239
+ return addHeapObject(ret);
2240
+ };
2241
+ imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
2242
+ const obj = getObject(arg1);
2243
+ const ret = typeof obj === "string" ? obj : void 0;
2244
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2245
+ var len1 = WASM_VECTOR_LEN;
2246
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2247
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2248
+ };
2249
+ imports.wbg.__wbg_apply_9f557eba1534d597 = function() {
2250
+ return handleError(function(arg0, arg1, arg2) {
2251
+ const ret = getObject(arg1).apply(takeObject(arg2));
2252
+ const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc);
2253
+ const len1 = WASM_VECTOR_LEN;
2254
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2255
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2257
2256
  }, arguments);
2258
2257
  };
2259
- imports.wbg.__wbg_start_76c138c3b73ae6f8 = function() {
2258
+ imports.wbg.__wbg_inmemory_new = function(arg0) {
2259
+ const ret = InMemory.__wrap(arg0);
2260
+ return addHeapObject(ret);
2261
+ };
2262
+ imports.wbg.__wbg_close_6384ed3c27ef25c1 = function() {
2260
2263
  return handleError(function(arg0) {
2261
- const ret = getObject(arg0).start();
2264
+ const ret = getObject(arg0).close();
2262
2265
  return addHeapObject(ret);
2263
2266
  }, arguments);
2264
2267
  };
@@ -2290,23 +2293,31 @@ function __wbg_get_imports() {
2290
2293
  const ret = IndexDB.__wrap(arg0);
2291
2294
  return addHeapObject(ret);
2292
2295
  };
2293
- imports.wbg.__wbg_database_new = function(arg0) {
2294
- const ret = Database.__wrap(arg0);
2295
- return addHeapObject(ret);
2296
- };
2297
2296
  imports.wbg.__wbg_collection_new = function(arg0) {
2298
2297
  const ret = Collection.__wrap(arg0);
2299
2298
  return addHeapObject(ret);
2300
2299
  };
2300
+ imports.wbg.__wbg_database_new = function(arg0) {
2301
+ const ret = Database.__wrap(arg0);
2302
+ return addHeapObject(ret);
2303
+ };
2301
2304
  imports.wbg.__wbindgen_is_object = function(arg0) {
2302
2305
  const val = getObject(arg0);
2303
2306
  const ret = typeof val === "object" && val !== null;
2304
2307
  return ret;
2305
2308
  };
2309
+ imports.wbg.__wbindgen_is_function = function(arg0) {
2310
+ const ret = typeof getObject(arg0) === "function";
2311
+ return ret;
2312
+ };
2306
2313
  imports.wbg.__wbindgen_is_string = function(arg0) {
2307
2314
  const ret = typeof getObject(arg0) === "string";
2308
2315
  return ret;
2309
2316
  };
2317
+ imports.wbg.__wbindgen_is_bigint = function(arg0) {
2318
+ const ret = typeof getObject(arg0) === "bigint";
2319
+ return ret;
2320
+ };
2310
2321
  imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
2311
2322
  const ret = new Error(getStringFromWasm0(arg0, arg1));
2312
2323
  return addHeapObject(ret);
@@ -2315,25 +2326,13 @@ function __wbg_get_imports() {
2315
2326
  const ret = Array.isArray(getObject(arg0));
2316
2327
  return ret;
2317
2328
  };
2318
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
2319
- const v = getObject(arg0);
2320
- const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
2321
- return ret;
2322
- };
2323
2329
  imports.wbg.__wbindgen_is_falsy = function(arg0) {
2324
2330
  const ret = !getObject(arg0);
2325
2331
  return ret;
2326
2332
  };
2327
- imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
2328
- const ret = getObject(arg0) === getObject(arg1);
2329
- return ret;
2330
- };
2331
- imports.wbg.__wbindgen_is_function = function(arg0) {
2332
- const ret = typeof getObject(arg0) === "function";
2333
- return ret;
2334
- };
2335
- imports.wbg.__wbindgen_is_bigint = function(arg0) {
2336
- const ret = typeof getObject(arg0) === "bigint";
2333
+ imports.wbg.__wbindgen_boolean_get = function(arg0) {
2334
+ const v = getObject(arg0);
2335
+ const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
2337
2336
  return ret;
2338
2337
  };
2339
2338
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
@@ -2344,6 +2343,10 @@ function __wbg_get_imports() {
2344
2343
  const ret = arg0;
2345
2344
  return addHeapObject(ret);
2346
2345
  };
2346
+ imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
2347
+ const ret = getObject(arg0) === getObject(arg1);
2348
+ return ret;
2349
+ };
2347
2350
  imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2348
2351
  const ret = BigInt.asUintN(64, arg0);
2349
2352
  return addHeapObject(ret);
@@ -2400,12 +2403,6 @@ function __wbg_get_imports() {
2400
2403
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2401
2404
  }, arguments);
2402
2405
  };
2403
- imports.wbg.__wbg_setTimeout_c172d5704ef82276 = function() {
2404
- return handleError(function(arg0, arg1, arg2) {
2405
- const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
2406
- return ret;
2407
- }, arguments);
2408
- };
2409
2406
  imports.wbg.__wbg_instanceof_WorkerGlobalScope_46b577f151fad960 = function(arg0) {
2410
2407
  let result;
2411
2408
  try {
@@ -2422,12 +2419,6 @@ function __wbg_get_imports() {
2422
2419
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2423
2420
  }, arguments);
2424
2421
  };
2425
- imports.wbg.__wbg_setTimeout_8502a960d5dde06e = function() {
2426
- return handleError(function(arg0, arg1, arg2) {
2427
- const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
2428
- return ret;
2429
- }, arguments);
2430
- };
2431
2422
  imports.wbg.__wbg_debug_5fb96680aecf5dc8 = function(arg0) {
2432
2423
  console.debug(getObject(arg0));
2433
2424
  };
@@ -2572,12 +2563,42 @@ function __wbg_get_imports() {
2572
2563
  return addHeapObject(ret);
2573
2564
  }, arguments);
2574
2565
  };
2566
+ imports.wbg.__wbg_bound_25385469508e98c7 = function() {
2567
+ return handleError(function(arg0, arg1, arg2, arg3) {
2568
+ const ret = IDBKeyRange.bound(getObject(arg0), getObject(arg1), arg2 !== 0, arg3 !== 0);
2569
+ return addHeapObject(ret);
2570
+ }, arguments);
2571
+ };
2572
+ imports.wbg.__wbg_lowerBound_cd1c8a3b3fdf1582 = function() {
2573
+ return handleError(function(arg0) {
2574
+ const ret = IDBKeyRange.lowerBound(getObject(arg0));
2575
+ return addHeapObject(ret);
2576
+ }, arguments);
2577
+ };
2578
+ imports.wbg.__wbg_lowerBound_e77f6e14cb69151e = function() {
2579
+ return handleError(function(arg0, arg1) {
2580
+ const ret = IDBKeyRange.lowerBound(getObject(arg0), arg1 !== 0);
2581
+ return addHeapObject(ret);
2582
+ }, arguments);
2583
+ };
2575
2584
  imports.wbg.__wbg_only_cacf767244bdc280 = function() {
2576
2585
  return handleError(function(arg0) {
2577
2586
  const ret = IDBKeyRange.only(getObject(arg0));
2578
2587
  return addHeapObject(ret);
2579
2588
  }, arguments);
2580
2589
  };
2590
+ imports.wbg.__wbg_upperBound_1e3077b2c05bdd71 = function() {
2591
+ return handleError(function(arg0) {
2592
+ const ret = IDBKeyRange.upperBound(getObject(arg0));
2593
+ return addHeapObject(ret);
2594
+ }, arguments);
2595
+ };
2596
+ imports.wbg.__wbg_upperBound_4c692da072d1a11e = function() {
2597
+ return handleError(function(arg0, arg1) {
2598
+ const ret = IDBKeyRange.upperBound(getObject(arg0), arg1 !== 0);
2599
+ return addHeapObject(ret);
2600
+ }, arguments);
2601
+ };
2581
2602
  imports.wbg.__wbg_instanceof_IdbOpenDbRequest_3f4a166bc0340578 = function(arg0) {
2582
2603
  let result;
2583
2604
  try {
@@ -2666,7 +2687,7 @@ function __wbg_get_imports() {
2666
2687
  const a = state0.a;
2667
2688
  state0.a = 0;
2668
2689
  try {
2669
- return __wbg_adapter_292(a, state0.b);
2690
+ return __wbg_adapter_296(a, state0.b);
2670
2691
  } finally {
2671
2692
  state0.a = a;
2672
2693
  }
@@ -2677,16 +2698,12 @@ function __wbg_get_imports() {
2677
2698
  }
2678
2699
  }, arguments);
2679
2700
  };
2680
- imports.wbg.__wbg_static_accessor_document_d4b6ae7f5578480f = function() {
2681
- const ret = document;
2682
- return addHeapObject(ret);
2701
+ imports.wbg.__wbg_wbgtestoutputwriteln_4db3bd64914ec955 = function(arg0) {
2702
+ __wbg_test_output_writeln(takeObject(arg0));
2683
2703
  };
2684
- imports.wbg.__wbg_stack_17c77e9f5bfe6714 = function(arg0, arg1) {
2685
- const ret = getObject(arg1).stack;
2686
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2687
- const len1 = WASM_VECTOR_LEN;
2688
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2689
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2704
+ imports.wbg.__wbg_stack_436273c21658169b = function(arg0) {
2705
+ const ret = getObject(arg0).stack;
2706
+ return addHeapObject(ret);
2690
2707
  };
2691
2708
  imports.wbg.__wbg_self_55106357ec10ecd4 = function(arg0) {
2692
2709
  const ret = getObject(arg0).self;
@@ -2714,13 +2731,17 @@ function __wbg_get_imports() {
2714
2731
  const ret = getObject(arg0).stack;
2715
2732
  return addHeapObject(ret);
2716
2733
  };
2717
- imports.wbg.__wbg_wbgtestoutputwriteln_4db3bd64914ec955 = function(arg0) {
2718
- __wbg_test_output_writeln(takeObject(arg0));
2719
- };
2720
- imports.wbg.__wbg_stack_436273c21658169b = function(arg0) {
2721
- const ret = getObject(arg0).stack;
2734
+ imports.wbg.__wbg_static_accessor_document_d4b6ae7f5578480f = function() {
2735
+ const ret = document;
2722
2736
  return addHeapObject(ret);
2723
2737
  };
2738
+ imports.wbg.__wbg_stack_17c77e9f5bfe6714 = function(arg0, arg1) {
2739
+ const ret = getObject(arg1).stack;
2740
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2741
+ const len1 = WASM_VECTOR_LEN;
2742
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2743
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2744
+ };
2724
2745
  imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
2725
2746
  const ret = new Error();
2726
2747
  return addHeapObject(ret);
@@ -2743,13 +2764,13 @@ function __wbg_get_imports() {
2743
2764
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2744
2765
  }
2745
2766
  };
2746
- imports.wbg.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
2747
- queueMicrotask(getObject(arg0));
2748
- };
2749
2767
  imports.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
2750
2768
  const ret = getObject(arg0).queueMicrotask;
2751
2769
  return addHeapObject(ret);
2752
2770
  };
2771
+ imports.wbg.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
2772
+ queueMicrotask(getObject(arg0));
2773
+ };
2753
2774
  imports.wbg.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
2754
2775
  const ret = getObject(arg0)[arg1 >>> 0];
2755
2776
  return addHeapObject(ret);
@@ -2846,7 +2867,7 @@ function __wbg_get_imports() {
2846
2867
  const a = state0.a;
2847
2868
  state0.a = 0;
2848
2869
  try {
2849
- return __wbg_adapter_335(a, state0.b, arg02, arg12, arg22);
2870
+ return __wbg_adapter_339(a, state0.b, arg02, arg12, arg22);
2850
2871
  } finally {
2851
2872
  state0.a = a;
2852
2873
  }
@@ -2947,7 +2968,7 @@ function __wbg_get_imports() {
2947
2968
  const a = state0.a;
2948
2969
  state0.a = 0;
2949
2970
  try {
2950
- return __wbg_adapter_392(a, state0.b, arg02, arg12);
2971
+ return __wbg_adapter_396(a, state0.b, arg02, arg12);
2951
2972
  } finally {
2952
2973
  state0.a = a;
2953
2974
  }
@@ -3063,20 +3084,16 @@ function __wbg_get_imports() {
3063
3084
  const ret = wasm.memory;
3064
3085
  return addHeapObject(ret);
3065
3086
  };
3066
- imports.wbg.__wbindgen_closure_wrapper814 = function(arg0, arg1, arg2) {
3067
- const ret = makeClosure(arg0, arg1, 336, __wbg_adapter_56);
3068
- return addHeapObject(ret);
3069
- };
3070
- imports.wbg.__wbindgen_closure_wrapper816 = function(arg0, arg1, arg2) {
3071
- const ret = makeMutClosure(arg0, arg1, 336, __wbg_adapter_59);
3087
+ imports.wbg.__wbindgen_closure_wrapper482 = function(arg0, arg1, arg2) {
3088
+ const ret = makeMutClosure(arg0, arg1, 181, __wbg_adapter_56);
3072
3089
  return addHeapObject(ret);
3073
3090
  };
3074
- imports.wbg.__wbindgen_closure_wrapper818 = function(arg0, arg1, arg2) {
3075
- const ret = makeMutClosure(arg0, arg1, 336, __wbg_adapter_62);
3091
+ imports.wbg.__wbindgen_closure_wrapper484 = function(arg0, arg1, arg2) {
3092
+ const ret = makeClosure(arg0, arg1, 181, __wbg_adapter_59);
3076
3093
  return addHeapObject(ret);
3077
3094
  };
3078
- imports.wbg.__wbindgen_closure_wrapper1616 = function(arg0, arg1, arg2) {
3079
- const ret = makeMutClosure(arg0, arg1, 441, __wbg_adapter_65);
3095
+ imports.wbg.__wbindgen_closure_wrapper1646 = function(arg0, arg1, arg2) {
3096
+ const ret = makeMutClosure(arg0, arg1, 449, __wbg_adapter_62);
3080
3097
  return addHeapObject(ret);
3081
3098
  };
3082
3099
  return imports;