@bitcredit/bcr-ebill-wasm 0.4.4 → 0.4.6

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.
package/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  let wasm;
2
2
 
3
- let WASM_VECTOR_LEN = 0;
4
-
5
3
  let cachedUint8ArrayMemory0 = null;
6
4
 
7
5
  function getUint8ArrayMemory0() {
@@ -11,6 +9,29 @@ function getUint8ArrayMemory0() {
11
9
  return cachedUint8ArrayMemory0;
12
10
  }
13
11
 
12
+ let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
13
+
14
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
15
+
16
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
17
+ let numBytesDecoded = 0;
18
+ function decodeText(ptr, len) {
19
+ numBytesDecoded += len;
20
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
21
+ cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
22
+ cachedTextDecoder.decode();
23
+ numBytesDecoded = len;
24
+ }
25
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
26
+ }
27
+
28
+ function getStringFromWasm0(ptr, len) {
29
+ ptr = ptr >>> 0;
30
+ return decodeText(ptr, len);
31
+ }
32
+
33
+ let WASM_VECTOR_LEN = 0;
34
+
14
35
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
15
36
 
16
37
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -89,15 +110,6 @@ function handleError(f, args) {
89
110
  }
90
111
  }
91
112
 
92
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
93
-
94
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
95
-
96
- function getStringFromWasm0(ptr, len) {
97
- ptr = ptr >>> 0;
98
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
99
- }
100
-
101
113
  function isLikeNone(x) {
102
114
  return x === undefined || x === null;
103
115
  }
@@ -249,27 +261,27 @@ export function task_worker_entry_point(ptr) {
249
261
  }
250
262
  }
251
263
 
252
- function __wbg_adapter_54(arg0, arg1) {
253
- wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcdc569c6fce875f5(arg0, arg1);
264
+ function __wbg_adapter_52(arg0, arg1) {
265
+ wasm.wasm_bindgen__convert__closures_____invoke__h0172cc400d3e2d99(arg0, arg1);
254
266
  }
255
267
 
256
- function __wbg_adapter_57(arg0, arg1, arg2) {
257
- wasm.closure336_externref_shim(arg0, arg1, arg2);
268
+ function __wbg_adapter_55(arg0, arg1, arg2) {
269
+ wasm.closure353_externref_shim(arg0, arg1, arg2);
258
270
  }
259
271
 
260
- function __wbg_adapter_60(arg0, arg1) {
261
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h05d8c0db83408407(arg0, arg1);
272
+ function __wbg_adapter_58(arg0, arg1) {
273
+ wasm.wasm_bindgen__convert__closures_____invoke__h40be9c133f5df086(arg0, arg1);
262
274
  }
263
275
 
264
- function __wbg_adapter_69(arg0, arg1, arg2) {
265
- const ret = wasm.closure843_externref_shim_multivalue_shim(arg0, arg1, arg2);
276
+ function __wbg_adapter_65(arg0, arg1, arg2) {
277
+ const ret = wasm.closure861_externref_shim_multivalue_shim(arg0, arg1, arg2);
266
278
  if (ret[1]) {
267
279
  throw takeFromExternrefTable0(ret[0]);
268
280
  }
269
281
  }
270
282
 
271
- function __wbg_adapter_251(arg0, arg1, arg2, arg3) {
272
- wasm.closure626_externref_shim(arg0, arg1, arg2, arg3);
283
+ function __wbg_adapter_259(arg0, arg1, arg2, arg3) {
284
+ wasm.closure643_externref_shim(arg0, arg1, arg2, arg3);
273
285
  }
274
286
 
275
287
  /**
@@ -345,6 +357,13 @@ export class Api {
345
357
  const ret = wasm.api_bill();
346
358
  return Identity.__wrap(ret);
347
359
  }
360
+ /**
361
+ * @returns {IdentityProof}
362
+ */
363
+ static identity_proof() {
364
+ const ret = wasm.api_bill();
365
+ return IdentityProof.__wrap(ret);
366
+ }
348
367
  /**
349
368
  * @returns {Notification}
350
369
  */
@@ -720,6 +739,15 @@ export class Bill {
720
739
  const ret = wasm.bill_clear_bill_cache(this.__wbg_ptr);
721
740
  return ret;
722
741
  }
742
+ /**
743
+ * Given a bill id, resync the chain via block transport
744
+ * @param {ResyncBillPayload} payload
745
+ * @returns {Promise<void>}
746
+ */
747
+ sync_bill_chain(payload) {
748
+ const ret = wasm.bill_sync_bill_chain(this.__wbg_ptr, payload);
749
+ return ret;
750
+ }
723
751
  }
724
752
 
725
753
  const CompanyFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -1167,6 +1195,93 @@ export class Identity {
1167
1195
  }
1168
1196
  }
1169
1197
 
1198
+ const IdentityProofFinalization = (typeof FinalizationRegistry === 'undefined')
1199
+ ? { register: () => {}, unregister: () => {} }
1200
+ : new FinalizationRegistry(ptr => wasm.__wbg_identityproof_free(ptr >>> 0, 1));
1201
+
1202
+ export class IdentityProof {
1203
+
1204
+ static __wrap(ptr) {
1205
+ ptr = ptr >>> 0;
1206
+ const obj = Object.create(IdentityProof.prototype);
1207
+ obj.__wbg_ptr = ptr;
1208
+ IdentityProofFinalization.register(obj, obj.__wbg_ptr, obj);
1209
+ return obj;
1210
+ }
1211
+
1212
+ __destroy_into_raw() {
1213
+ const ptr = this.__wbg_ptr;
1214
+ this.__wbg_ptr = 0;
1215
+ IdentityProofFinalization.unregister(this);
1216
+ return ptr;
1217
+ }
1218
+
1219
+ free() {
1220
+ const ptr = this.__destroy_into_raw();
1221
+ wasm.__wbg_identityproof_free(ptr, 0);
1222
+ }
1223
+ /**
1224
+ * @returns {IdentityProof}
1225
+ */
1226
+ static new() {
1227
+ const ret = wasm.api_bill();
1228
+ return IdentityProof.__wrap(ret);
1229
+ }
1230
+ /**
1231
+ * Get identity stamp to post on social media for the currently selected identity
1232
+ * @returns {Promise<string>}
1233
+ */
1234
+ get_identity_stamp() {
1235
+ const ret = wasm.identityproof_get_identity_stamp(this.__wbg_ptr);
1236
+ return ret;
1237
+ }
1238
+ /**
1239
+ * Fetch identity proofs for the currently selected identity
1240
+ * @returns {IdentityProofWeb[]}
1241
+ */
1242
+ list() {
1243
+ const ret = wasm.identityproof_list(this.__wbg_ptr);
1244
+ return ret;
1245
+ }
1246
+ /**
1247
+ * Add identity proof for the currently selected identity
1248
+ * @param {string} url
1249
+ * @param {string} stamp
1250
+ * @returns {IdentityProofWeb}
1251
+ */
1252
+ add(url, stamp) {
1253
+ const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1254
+ const len0 = WASM_VECTOR_LEN;
1255
+ const ptr1 = passStringToWasm0(stamp, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1256
+ const len1 = WASM_VECTOR_LEN;
1257
+ const ret = wasm.identityproof_add(this.__wbg_ptr, ptr0, len0, ptr1, len1);
1258
+ return ret;
1259
+ }
1260
+ /**
1261
+ * Archive the identity proof with the given id for the currently selected identity
1262
+ * @param {string} id
1263
+ * @returns {Promise<void>}
1264
+ */
1265
+ archive(id) {
1266
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1267
+ const len0 = WASM_VECTOR_LEN;
1268
+ const ret = wasm.identityproof_archive(this.__wbg_ptr, ptr0, len0);
1269
+ return ret;
1270
+ }
1271
+ /**
1272
+ * Re-check the identity proof by its URL with the given id for the currently selected identity
1273
+ * returning the new result
1274
+ * @param {string} id
1275
+ * @returns {IdentityProofWeb}
1276
+ */
1277
+ re_check(id) {
1278
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1279
+ const len0 = WASM_VECTOR_LEN;
1280
+ const ret = wasm.identityproof_re_check(this.__wbg_ptr, ptr0, len0);
1281
+ return ret;
1282
+ }
1283
+ }
1284
+
1170
1285
  const NotificationFinalization = (typeof FinalizationRegistry === 'undefined')
1171
1286
  ? { register: () => {}, unregister: () => {} }
1172
1287
  : new FinalizationRegistry(ptr => wasm.__wbg_notification_free(ptr >>> 0, 1));
@@ -1200,7 +1315,7 @@ export class Notification {
1200
1315
  return Notification.__wrap(ret);
1201
1316
  }
1202
1317
  /**
1203
- * @param {Vec<String>} node_ids
1318
+ * @param {string[]} node_ids
1204
1319
  * @returns {NotificationStatusWeb[]}
1205
1320
  */
1206
1321
  active_notifications_for_node_ids(node_ids) {
@@ -1233,6 +1348,25 @@ export class Notification {
1233
1348
  const ret = wasm.notification_mark_as_done(this.__wbg_ptr, ptr0, len0);
1234
1349
  return ret;
1235
1350
  }
1351
+ /**
1352
+ * Register email notifications for the currently selected identity
1353
+ * @param {string} relay_url
1354
+ * @returns {Promise<void>}
1355
+ */
1356
+ register_email_notifications(relay_url) {
1357
+ const ptr0 = passStringToWasm0(relay_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1358
+ const len0 = WASM_VECTOR_LEN;
1359
+ const ret = wasm.notification_register_email_notifications(this.__wbg_ptr, ptr0, len0);
1360
+ return ret;
1361
+ }
1362
+ /**
1363
+ * Fetch email notifications preferences link for the currently selected identity
1364
+ * @returns {Promise<string>}
1365
+ */
1366
+ get_email_notifications_preferences_link() {
1367
+ const ret = wasm.notification_get_email_notifications_preferences_link(this.__wbg_ptr);
1368
+ return ret;
1369
+ }
1236
1370
  /**
1237
1371
  * @param {any} payload
1238
1372
  * @returns {Promise<void>}
@@ -1243,6 +1377,8 @@ export class Notification {
1243
1377
  }
1244
1378
  }
1245
1379
 
1380
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
1381
+
1246
1382
  async function __wbg_load(module, imports) {
1247
1383
  if (typeof Response === 'function' && module instanceof Response) {
1248
1384
  if (typeof WebAssembly.instantiateStreaming === 'function') {
@@ -1250,7 +1386,9 @@ async function __wbg_load(module, imports) {
1250
1386
  return await WebAssembly.instantiateStreaming(module, imports);
1251
1387
 
1252
1388
  } catch (e) {
1253
- if (module.headers.get('Content-Type') != 'application/wasm') {
1389
+ const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
1390
+
1391
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
1254
1392
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
1255
1393
 
1256
1394
  } else {
@@ -1277,6 +1415,10 @@ async function __wbg_load(module, imports) {
1277
1415
  function __wbg_get_imports() {
1278
1416
  const imports = {};
1279
1417
  imports.wbg = {};
1418
+ imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
1419
+ const ret = Error(getStringFromWasm0(arg0, arg1));
1420
+ return ret;
1421
+ };
1280
1422
  imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
1281
1423
  const ret = String(arg1);
1282
1424
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1284,39 +1426,39 @@ function __wbg_get_imports() {
1284
1426
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1285
1427
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1286
1428
  };
1287
- imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
1288
- arg0.abort(arg1);
1289
- };
1290
- imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
1429
+ imports.wbg.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
1291
1430
  arg0.abort();
1292
1431
  };
1293
- imports.wbg.__wbg_abort_99fc644e2c79c9fb = function() { return handleError(function (arg0) {
1432
+ imports.wbg.__wbg_abort_4198a1129c47f21a = function(arg0, arg1) {
1433
+ arg0.abort(arg1);
1434
+ };
1435
+ imports.wbg.__wbg_abort_601b12a63a2f3a3a = function() { return handleError(function (arg0) {
1294
1436
  arg0.abort();
1295
1437
  }, arguments) };
1296
- imports.wbg.__wbg_advance_b3ccc91b80962d79 = function() { return handleError(function (arg0, arg1) {
1438
+ imports.wbg.__wbg_advance_d12120c423e27f56 = function() { return handleError(function (arg0, arg1) {
1297
1439
  arg0.advance(arg1 >>> 0);
1298
1440
  }, arguments) };
1299
- imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1441
+ imports.wbg.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1300
1442
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1301
1443
  }, arguments) };
1302
- imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
1444
+ imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
1303
1445
  const ret = arg0.arrayBuffer();
1304
1446
  return ret;
1305
1447
  }, arguments) };
1306
- imports.wbg.__wbg_bound_f2afc3766d4545cf = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1448
+ imports.wbg.__wbg_bound_eb572b424befade3 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1307
1449
  const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
1308
1450
  return ret;
1309
1451
  }, arguments) };
1310
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
1452
+ imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
1311
1453
  const ret = arg0.buffer;
1312
1454
  return ret;
1313
1455
  };
1314
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
1315
- const ret = arg0.call(arg1);
1456
+ imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
1457
+ const ret = arg0.call(arg1, arg2);
1316
1458
  return ret;
1317
1459
  }, arguments) };
1318
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
1319
- const ret = arg0.call(arg1, arg2);
1460
+ imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
1461
+ const ret = arg0.call(arg1);
1320
1462
  return ret;
1321
1463
  }, arguments) };
1322
1464
  imports.wbg.__wbg_clearInterval_938929bdd0f2dff9 = function(arg0) {
@@ -1330,29 +1472,29 @@ function __wbg_get_imports() {
1330
1472
  const ret = clearTimeout(arg0);
1331
1473
  return ret;
1332
1474
  };
1333
- imports.wbg.__wbg_close_2893b7d056a0627d = function() { return handleError(function (arg0) {
1475
+ imports.wbg.__wbg_close_b08c03c920ee0bba = function() { return handleError(function (arg0) {
1334
1476
  arg0.close();
1335
1477
  }, arguments) };
1336
- imports.wbg.__wbg_code_cfd8f6868bdaed9b = function(arg0) {
1478
+ imports.wbg.__wbg_code_5e459ca721f994f5 = function(arg0) {
1337
1479
  const ret = arg0.code;
1338
1480
  return ret;
1339
1481
  };
1340
- imports.wbg.__wbg_code_f4ec1e6e2e1b0417 = function(arg0) {
1482
+ imports.wbg.__wbg_code_af28d681bc86710a = function(arg0) {
1341
1483
  const ret = arg0.code;
1342
1484
  return ret;
1343
1485
  };
1344
- imports.wbg.__wbg_contains_b952b06daf857803 = function(arg0, arg1, arg2) {
1486
+ imports.wbg.__wbg_contains_8c2abfddfd33cd8e = function(arg0, arg1, arg2) {
1345
1487
  const ret = arg0.contains(getStringFromWasm0(arg1, arg2));
1346
1488
  return ret;
1347
1489
  };
1348
- imports.wbg.__wbg_continue_c46c11d3dbe1b030 = function() { return handleError(function (arg0) {
1490
+ imports.wbg.__wbg_continue_7d9cdafc888cb902 = function() { return handleError(function (arg0) {
1349
1491
  arg0.continue();
1350
1492
  }, arguments) };
1351
- imports.wbg.__wbg_createIndex_873ac48adc772309 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1493
+ imports.wbg.__wbg_createIndex_a343510ba567e58c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1352
1494
  const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
1353
1495
  return ret;
1354
1496
  }, arguments) };
1355
- imports.wbg.__wbg_createObjectStore_d2f9e1016f4d81b9 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1497
+ imports.wbg.__wbg_createObjectStore_382664053374be5d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1356
1498
  const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
1357
1499
  return ret;
1358
1500
  }, arguments) };
@@ -1360,31 +1502,38 @@ function __wbg_get_imports() {
1360
1502
  const ret = arg0.crypto;
1361
1503
  return ret;
1362
1504
  };
1363
- imports.wbg.__wbg_data_432d9c3df2630942 = function(arg0) {
1505
+ imports.wbg.__wbg_data_fffd43bf0ca75fff = function(arg0) {
1364
1506
  const ret = arg0.data;
1365
1507
  return ret;
1366
1508
  };
1367
- imports.wbg.__wbg_debug_e17b51583ca6a632 = function(arg0, arg1, arg2, arg3) {
1509
+ imports.wbg.__wbg_debug_103948ed4c500577 = function(arg0, arg1, arg2, arg3) {
1368
1510
  console.debug(arg0, arg1, arg2, arg3);
1369
1511
  };
1370
- imports.wbg.__wbg_deleteIndex_e6717aa0e9691894 = function() { return handleError(function (arg0, arg1, arg2) {
1512
+ imports.wbg.__wbg_deleteIndex_7875e5f8968c581b = function() { return handleError(function (arg0, arg1, arg2) {
1371
1513
  arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
1372
1514
  }, arguments) };
1373
- imports.wbg.__wbg_deleteObjectStore_3f08ae00cd288224 = function() { return handleError(function (arg0, arg1, arg2) {
1515
+ imports.wbg.__wbg_deleteObjectStore_7b427b19378475fd = function() { return handleError(function (arg0, arg1, arg2) {
1374
1516
  arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
1375
1517
  }, arguments) };
1376
- imports.wbg.__wbg_delete_200677093b4cf756 = function() { return handleError(function (arg0, arg1) {
1518
+ imports.wbg.__wbg_delete_71b7921c73aa9378 = function() { return handleError(function (arg0, arg1) {
1377
1519
  const ret = arg0.delete(arg1);
1378
1520
  return ret;
1379
1521
  }, arguments) };
1380
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
1522
+ imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
1381
1523
  const ret = arg0.done;
1382
1524
  return ret;
1383
1525
  };
1384
- imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
1526
+ imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
1385
1527
  const ret = Object.entries(arg0);
1386
1528
  return ret;
1387
1529
  };
1530
+ imports.wbg.__wbg_error_4e978abc9692c0c5 = function() { return handleError(function (arg0) {
1531
+ const ret = arg0.error;
1532
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1533
+ }, arguments) };
1534
+ imports.wbg.__wbg_error_624160881466fd69 = function(arg0, arg1, arg2, arg3) {
1535
+ console.error(arg0, arg1, arg2, arg3);
1536
+ };
1388
1537
  imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
1389
1538
  let deferred0_0;
1390
1539
  let deferred0_1;
@@ -1396,17 +1545,10 @@ function __wbg_get_imports() {
1396
1545
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
1397
1546
  }
1398
1547
  };
1399
- imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
1400
- console.error(arg0, arg1, arg2, arg3);
1401
- };
1402
1548
  imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
1403
1549
  console.error(getStringFromWasm0(arg0, arg1));
1404
1550
  };
1405
- imports.wbg.__wbg_error_ff4ddaabdfc5dbb3 = function() { return handleError(function (arg0) {
1406
- const ret = arg0.error;
1407
- return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1408
- }, arguments) };
1409
- imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
1551
+ imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
1410
1552
  const ret = arg0.fetch(arg1);
1411
1553
  return ret;
1412
1554
  };
@@ -1420,53 +1562,53 @@ function __wbg_get_imports() {
1420
1562
  imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
1421
1563
  arg0.getRandomValues(arg1);
1422
1564
  }, arguments) };
1423
- imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
1565
+ imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
1424
1566
  const ret = arg0.getTime();
1425
1567
  return ret;
1426
1568
  };
1427
- imports.wbg.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
1569
+ imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
1428
1570
  const ret = arg0.getTimezoneOffset();
1429
1571
  return ret;
1430
1572
  };
1431
- imports.wbg.__wbg_get_4f73335ab78445db = function(arg0, arg1, arg2) {
1432
- const ret = arg1[arg2 >>> 0];
1433
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1434
- var len1 = WASM_VECTOR_LEN;
1435
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1436
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1437
- };
1438
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
1573
+ imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
1439
1574
  const ret = Reflect.get(arg0, arg1);
1440
1575
  return ret;
1441
1576
  }, arguments) };
1442
- imports.wbg.__wbg_get_8da03f81f6a1111e = function() { return handleError(function (arg0, arg1) {
1577
+ imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
1578
+ const ret = arg0[arg1 >>> 0];
1579
+ return ret;
1580
+ };
1581
+ imports.wbg.__wbg_get_d37904b955701f99 = function() { return handleError(function (arg0, arg1) {
1443
1582
  const ret = arg0.get(arg1);
1444
1583
  return ret;
1445
1584
  }, arguments) };
1446
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
1447
- const ret = arg0[arg1 >>> 0];
1448
- return ret;
1585
+ imports.wbg.__wbg_get_f6d69e7b8be3e072 = function(arg0, arg1, arg2) {
1586
+ const ret = arg1[arg2 >>> 0];
1587
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1588
+ var len1 = WASM_VECTOR_LEN;
1589
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1590
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1449
1591
  };
1450
1592
  imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
1451
1593
  const ret = arg0[arg1];
1452
1594
  return ret;
1453
1595
  };
1454
- imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
1596
+ imports.wbg.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
1455
1597
  const ret = Reflect.has(arg0, arg1);
1456
1598
  return ret;
1457
1599
  }, arguments) };
1458
- imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
1600
+ imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
1459
1601
  const ret = arg0.headers;
1460
1602
  return ret;
1461
1603
  };
1462
- imports.wbg.__wbg_indexNames_0ed82a19d7d88aa3 = function(arg0) {
1604
+ imports.wbg.__wbg_indexNames_bda908b23b7492bf = function(arg0) {
1463
1605
  const ret = arg0.indexNames;
1464
1606
  return ret;
1465
1607
  };
1466
- imports.wbg.__wbg_info_033d8b8a0838f1d3 = function(arg0, arg1, arg2, arg3) {
1608
+ imports.wbg.__wbg_info_a1cc312ecc877319 = function(arg0, arg1, arg2, arg3) {
1467
1609
  console.info(arg0, arg1, arg2, arg3);
1468
1610
  };
1469
- imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
1611
+ imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
1470
1612
  let result;
1471
1613
  try {
1472
1614
  result = arg0 instanceof ArrayBuffer;
@@ -1476,7 +1618,7 @@ function __wbg_get_imports() {
1476
1618
  const ret = result;
1477
1619
  return ret;
1478
1620
  };
1479
- imports.wbg.__wbg_instanceof_Blob_ca721ef3bdab15d1 = function(arg0) {
1621
+ imports.wbg.__wbg_instanceof_Blob_2688511ca2a71508 = function(arg0) {
1480
1622
  let result;
1481
1623
  try {
1482
1624
  result = arg0 instanceof Blob;
@@ -1486,7 +1628,7 @@ function __wbg_get_imports() {
1486
1628
  const ret = result;
1487
1629
  return ret;
1488
1630
  };
1489
- imports.wbg.__wbg_instanceof_IdbFactory_12eaba3366f4302f = function(arg0) {
1631
+ imports.wbg.__wbg_instanceof_IdbFactory_27448d2c5db6dc3c = function(arg0) {
1490
1632
  let result;
1491
1633
  try {
1492
1634
  result = arg0 instanceof IDBFactory;
@@ -1496,7 +1638,7 @@ function __wbg_get_imports() {
1496
1638
  const ret = result;
1497
1639
  return ret;
1498
1640
  };
1499
- imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
1641
+ imports.wbg.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
1500
1642
  let result;
1501
1643
  try {
1502
1644
  result = arg0 instanceof Map;
@@ -1506,7 +1648,7 @@ function __wbg_get_imports() {
1506
1648
  const ret = result;
1507
1649
  return ret;
1508
1650
  };
1509
- imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
1651
+ imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
1510
1652
  let result;
1511
1653
  try {
1512
1654
  result = arg0 instanceof Response;
@@ -1516,7 +1658,7 @@ function __wbg_get_imports() {
1516
1658
  const ret = result;
1517
1659
  return ret;
1518
1660
  };
1519
- imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
1661
+ imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
1520
1662
  let result;
1521
1663
  try {
1522
1664
  result = arg0 instanceof Uint8Array;
@@ -1526,57 +1668,81 @@ function __wbg_get_imports() {
1526
1668
  const ret = result;
1527
1669
  return ret;
1528
1670
  };
1529
- imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
1671
+ imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
1530
1672
  const ret = Array.isArray(arg0);
1531
1673
  return ret;
1532
1674
  };
1533
- imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
1675
+ imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
1534
1676
  const ret = Number.isSafeInteger(arg0);
1535
1677
  return ret;
1536
1678
  };
1537
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
1679
+ imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
1538
1680
  const ret = Symbol.iterator;
1539
1681
  return ret;
1540
1682
  };
1541
- imports.wbg.__wbg_key_29fefecef430db96 = function() { return handleError(function (arg0) {
1683
+ imports.wbg.__wbg_key_a17a68df9ec1b180 = function() { return handleError(function (arg0) {
1542
1684
  const ret = arg0.key;
1543
1685
  return ret;
1544
1686
  }, arguments) };
1545
- imports.wbg.__wbg_length_52b6c4580c5ec934 = function(arg0) {
1687
+ imports.wbg.__wbg_length_1589a5d84cb38f9b = function(arg0) {
1546
1688
  const ret = arg0.length;
1547
1689
  return ret;
1548
1690
  };
1549
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
1691
+ imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
1550
1692
  const ret = arg0.length;
1551
1693
  return ret;
1552
1694
  };
1553
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
1695
+ imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
1554
1696
  const ret = arg0.length;
1555
1697
  return ret;
1556
1698
  };
1557
- imports.wbg.__wbg_log_cad59bb680daec67 = function(arg0, arg1, arg2, arg3) {
1699
+ imports.wbg.__wbg_log_bff357b3df4db934 = function(arg0, arg1, arg2, arg3) {
1558
1700
  console.log(arg0, arg1, arg2, arg3);
1559
1701
  };
1560
1702
  imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
1561
1703
  const ret = arg0.msCrypto;
1562
1704
  return ret;
1563
1705
  };
1564
- imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
1706
+ imports.wbg.__wbg_new0_97314565408dea38 = function() {
1565
1707
  const ret = new Date();
1566
1708
  return ret;
1567
1709
  };
1568
- imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
1710
+ imports.wbg.__wbg_new_07b483f72211fd66 = function() {
1711
+ const ret = new Object();
1712
+ return ret;
1713
+ };
1714
+ imports.wbg.__wbg_new_186abcfdff244e42 = function() { return handleError(function () {
1715
+ const ret = new AbortController();
1716
+ return ret;
1717
+ }, arguments) };
1718
+ imports.wbg.__wbg_new_4796e1cd2eb9ea6d = function() { return handleError(function () {
1569
1719
  const ret = new Headers();
1570
1720
  return ret;
1571
1721
  }, arguments) };
1572
- imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
1722
+ imports.wbg.__wbg_new_58353953ad2097cc = function() {
1723
+ const ret = new Array();
1724
+ return ret;
1725
+ };
1726
+ imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
1727
+ const ret = new Error();
1728
+ return ret;
1729
+ };
1730
+ imports.wbg.__wbg_new_a2957aa5684de228 = function(arg0) {
1731
+ const ret = new Date(arg0);
1732
+ return ret;
1733
+ };
1734
+ imports.wbg.__wbg_new_a979b4b45bd55c7f = function() {
1735
+ const ret = new Map();
1736
+ return ret;
1737
+ };
1738
+ imports.wbg.__wbg_new_e30c39c06edaabf2 = function(arg0, arg1) {
1573
1739
  try {
1574
1740
  var state0 = {a: arg0, b: arg1};
1575
1741
  var cb0 = (arg0, arg1) => {
1576
1742
  const a = state0.a;
1577
1743
  state0.a = 0;
1578
1744
  try {
1579
- return __wbg_adapter_251(a, state0.b, arg0, arg1);
1745
+ return __wbg_adapter_259(a, state0.b, arg0, arg1);
1580
1746
  } finally {
1581
1747
  state0.a = a;
1582
1748
  }
@@ -1587,59 +1753,39 @@ function __wbg_get_imports() {
1587
1753
  state0.a = state0.b = 0;
1588
1754
  }
1589
1755
  };
1590
- imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
1591
- const ret = new Date(arg0);
1592
- return ret;
1593
- };
1594
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
1595
- const ret = new Object();
1596
- return ret;
1597
- };
1598
- imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
1599
- const ret = new Map();
1600
- return ret;
1601
- };
1602
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
1603
- const ret = new Array();
1604
- return ret;
1605
- };
1606
- imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
1607
- const ret = new Error();
1756
+ imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
1757
+ const ret = new Uint8Array(arg0);
1608
1758
  return ret;
1609
1759
  };
1610
- imports.wbg.__wbg_new_92c54fc74574ef55 = function() { return handleError(function (arg0, arg1) {
1760
+ imports.wbg.__wbg_new_f42a001532528172 = function() { return handleError(function (arg0, arg1) {
1611
1761
  const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
1612
1762
  return ret;
1613
1763
  }, arguments) };
1614
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
1615
- const ret = new Uint8Array(arg0);
1764
+ imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
1765
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1616
1766
  return ret;
1617
1767
  };
1618
- imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
1619
- const ret = new AbortController();
1620
- return ret;
1621
- }, arguments) };
1622
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
1768
+ imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
1623
1769
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1624
1770
  return ret;
1625
1771
  };
1626
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
1772
+ imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
1627
1773
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1628
1774
  return ret;
1629
1775
  };
1630
- imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
1776
+ imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
1631
1777
  const ret = new Uint8Array(arg0 >>> 0);
1632
1778
  return ret;
1633
1779
  };
1634
- imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
1780
+ imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
1635
1781
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
1636
1782
  return ret;
1637
1783
  }, arguments) };
1638
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
1784
+ imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
1639
1785
  const ret = arg0.next;
1640
1786
  return ret;
1641
1787
  };
1642
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
1788
+ imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
1643
1789
  const ret = arg0.next();
1644
1790
  return ret;
1645
1791
  }, arguments) };
@@ -1651,84 +1797,84 @@ function __wbg_get_imports() {
1651
1797
  const ret = arg0.now();
1652
1798
  return ret;
1653
1799
  };
1654
- imports.wbg.__wbg_now_807e54c39636c349 = function() {
1655
- const ret = Date.now();
1800
+ imports.wbg.__wbg_now_7ab37f05ab2d0b81 = function(arg0) {
1801
+ const ret = arg0.now();
1656
1802
  return ret;
1657
1803
  };
1658
1804
  imports.wbg.__wbg_now_af563e9b04dc2a0a = function() { return handleError(function () {
1659
1805
  const ret = Date.now();
1660
1806
  return ret;
1661
1807
  }, arguments) };
1662
- imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
1663
- const ret = arg0.now();
1808
+ imports.wbg.__wbg_now_eb0821f3bd9f6529 = function() {
1809
+ const ret = Date.now();
1664
1810
  return ret;
1665
1811
  };
1666
- imports.wbg.__wbg_objectStoreNames_9bb1ab04a7012aaf = function(arg0) {
1812
+ imports.wbg.__wbg_objectStoreNames_e82275eb2d403a92 = function(arg0) {
1667
1813
  const ret = arg0.objectStoreNames;
1668
1814
  return ret;
1669
1815
  };
1670
- imports.wbg.__wbg_objectStore_21878d46d25b64b6 = function() { return handleError(function (arg0, arg1, arg2) {
1816
+ imports.wbg.__wbg_objectStore_b463d32c86d6b543 = function() { return handleError(function (arg0, arg1, arg2) {
1671
1817
  const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
1672
1818
  return ret;
1673
1819
  }, arguments) };
1674
- imports.wbg.__wbg_openCursor_238e247d18bde2cd = function() { return handleError(function (arg0) {
1820
+ imports.wbg.__wbg_openCursor_7c13a2cd32c6258b = function() { return handleError(function (arg0) {
1675
1821
  const ret = arg0.openCursor();
1676
1822
  return ret;
1677
1823
  }, arguments) };
1678
- imports.wbg.__wbg_openCursor_6fd4dab51810d238 = function() { return handleError(function (arg0, arg1, arg2) {
1824
+ imports.wbg.__wbg_openCursor_8484684434b3d850 = function() { return handleError(function (arg0, arg1, arg2) {
1679
1825
  const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
1680
1826
  return ret;
1681
1827
  }, arguments) };
1682
- imports.wbg.__wbg_openCursor_f4b061aa6d804b93 = function() { return handleError(function (arg0, arg1) {
1828
+ imports.wbg.__wbg_openCursor_a53133c898e0829c = function() { return handleError(function (arg0, arg1) {
1683
1829
  const ret = arg0.openCursor(arg1);
1684
1830
  return ret;
1685
1831
  }, arguments) };
1686
- imports.wbg.__wbg_open_88b1390d99a7c691 = function() { return handleError(function (arg0, arg1, arg2) {
1687
- const ret = arg0.open(getStringFromWasm0(arg1, arg2));
1832
+ imports.wbg.__wbg_open_0f04f50fa4d98f67 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1833
+ const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
1688
1834
  return ret;
1689
1835
  }, arguments) };
1690
- imports.wbg.__wbg_open_e0c0b2993eb596e1 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1691
- const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
1836
+ imports.wbg.__wbg_open_b70fb421d97aad40 = function() { return handleError(function (arg0, arg1, arg2) {
1837
+ const ret = arg0.open(getStringFromWasm0(arg1, arg2));
1692
1838
  return ret;
1693
1839
  }, arguments) };
1694
1840
  imports.wbg.__wbg_performance_1a2515c93daf8b0c = function(arg0) {
1695
1841
  const ret = arg0.performance;
1696
1842
  return ret;
1697
1843
  };
1698
- imports.wbg.__wbg_postMessage_83a8d58d3fcb6c13 = function() { return handleError(function (arg0, arg1) {
1844
+ imports.wbg.__wbg_postMessage_54ce7f4b41ac732e = function() { return handleError(function (arg0, arg1) {
1699
1845
  arg0.postMessage(arg1);
1700
1846
  }, arguments) };
1701
1847
  imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
1702
1848
  const ret = arg0.process;
1703
1849
  return ret;
1704
1850
  };
1705
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
1851
+ imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
1706
1852
  const ret = arg0.push(arg1);
1707
1853
  return ret;
1708
1854
  };
1709
- imports.wbg.__wbg_put_066faa31a6a88f5b = function() { return handleError(function (arg0, arg1, arg2) {
1710
- const ret = arg0.put(arg1, arg2);
1855
+ imports.wbg.__wbg_put_4ac965fd84929adb = function() { return handleError(function (arg0, arg1) {
1856
+ const ret = arg0.put(arg1);
1711
1857
  return ret;
1712
1858
  }, arguments) };
1713
- imports.wbg.__wbg_put_9ef5363941008835 = function() { return handleError(function (arg0, arg1) {
1714
- const ret = arg0.put(arg1);
1859
+ imports.wbg.__wbg_put_7f0b4dcc666f09e3 = function() { return handleError(function (arg0, arg1, arg2) {
1860
+ const ret = arg0.put(arg1, arg2);
1715
1861
  return ret;
1716
1862
  }, arguments) };
1717
- imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
1863
+ imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
1718
1864
  queueMicrotask(arg0);
1719
1865
  };
1720
- imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
1866
+ imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
1721
1867
  const ret = arg0.queueMicrotask;
1722
1868
  return ret;
1723
1869
  };
1724
1870
  imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
1725
1871
  arg0.randomFillSync(arg1);
1726
1872
  }, arguments) };
1727
- imports.wbg.__wbg_readyState_7ef6e63c349899ed = function(arg0) {
1873
+ imports.wbg.__wbg_readyState_0868e1980731c0c9 = function(arg0) {
1728
1874
  const ret = arg0.readyState;
1729
1875
  return ret;
1730
1876
  };
1731
- imports.wbg.__wbg_reason_49f1cede8bcf23dd = function(arg0, arg1) {
1877
+ imports.wbg.__wbg_reason_1da676d7b4eb3d11 = function(arg0, arg1) {
1732
1878
  const ret = arg1.reason;
1733
1879
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1734
1880
  const len1 = WASM_VECTOR_LEN;
@@ -1739,20 +1885,20 @@ function __wbg_get_imports() {
1739
1885
  const ret = module.require;
1740
1886
  return ret;
1741
1887
  }, arguments) };
1742
- imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
1888
+ imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
1743
1889
  const ret = Promise.resolve(arg0);
1744
1890
  return ret;
1745
1891
  };
1746
- imports.wbg.__wbg_result_f29afabdf2c05826 = function() { return handleError(function (arg0) {
1892
+ imports.wbg.__wbg_result_a0f1bf2fe64a516c = function() { return handleError(function (arg0) {
1747
1893
  const ret = arg0.result;
1748
1894
  return ret;
1749
1895
  }, arguments) };
1750
- imports.wbg.__wbg_send_0293179ba074ffb4 = function() { return handleError(function (arg0, arg1, arg2) {
1751
- arg0.send(getStringFromWasm0(arg1, arg2));
1752
- }, arguments) };
1753
- imports.wbg.__wbg_send_fc0c204e8a1757f4 = function() { return handleError(function (arg0, arg1, arg2) {
1896
+ imports.wbg.__wbg_send_d666d53fc136c07a = function() { return handleError(function (arg0, arg1, arg2) {
1754
1897
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
1755
1898
  }, arguments) };
1899
+ imports.wbg.__wbg_send_dea802cc909a6faa = function() { return handleError(function (arg0, arg1, arg2) {
1900
+ arg0.send(getStringFromWasm0(arg1, arg2));
1901
+ }, arguments) };
1756
1902
  imports.wbg.__wbg_setInterval_c733bbe39e9b7c2b = function(arg0, arg1) {
1757
1903
  const ret = globalThis.setInterval(arg0, arg1);
1758
1904
  return ret;
@@ -1772,86 +1918,86 @@ function __wbg_get_imports() {
1772
1918
  const ret = arg0.setTimeout(arg1, arg2);
1773
1919
  return ret;
1774
1920
  }, arguments) };
1775
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
1776
- arg0[arg1 >>> 0] = arg2;
1777
- };
1778
1921
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
1779
1922
  arg0[arg1] = arg2;
1780
1923
  };
1781
- imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
1782
- arg0.set(arg1, arg2 >>> 0);
1924
+ imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
1925
+ arg0[arg1 >>> 0] = arg2;
1783
1926
  };
1784
- imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
1927
+ imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
1785
1928
  const ret = arg0.set(arg1, arg2);
1786
1929
  return ret;
1787
1930
  };
1788
- imports.wbg.__wbg_setautoincrement_8b4327709e9ee7d9 = function(arg0, arg1) {
1931
+ imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
1932
+ arg0.set(arg1, arg2 >>> 0);
1933
+ };
1934
+ imports.wbg.__wbg_setautoincrement_6589237510ecaf4f = function(arg0, arg1) {
1789
1935
  arg0.autoIncrement = arg1 !== 0;
1790
1936
  };
1791
- imports.wbg.__wbg_setbinaryType_92fa1ffd873b327c = function(arg0, arg1) {
1937
+ imports.wbg.__wbg_setbinaryType_52787d6025601cc5 = function(arg0, arg1) {
1792
1938
  arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
1793
1939
  };
1794
- imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
1940
+ imports.wbg.__wbg_setbody_971ec015fc13d6b4 = function(arg0, arg1) {
1795
1941
  arg0.body = arg1;
1796
1942
  };
1797
- imports.wbg.__wbg_setcache_12f17c3a980650e4 = function(arg0, arg1) {
1943
+ imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
1798
1944
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
1799
1945
  };
1800
- imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
1946
+ imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
1801
1947
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1802
1948
  };
1803
- imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
1949
+ imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
1804
1950
  arg0.headers = arg1;
1805
1951
  };
1806
- imports.wbg.__wbg_setkeypath_691179e313c26ae1 = function(arg0, arg1) {
1952
+ imports.wbg.__wbg_setkeypath_89c871b39940cb3c = function(arg0, arg1) {
1807
1953
  arg0.keyPath = arg1;
1808
1954
  };
1809
- imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
1955
+ imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
1810
1956
  arg0.method = getStringFromWasm0(arg1, arg2);
1811
1957
  };
1812
- imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
1958
+ imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
1813
1959
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1814
1960
  };
1815
- imports.wbg.__wbg_setmultientry_4c4eee871f29837a = function(arg0, arg1) {
1961
+ imports.wbg.__wbg_setmultientry_64e53a16b504c272 = function(arg0, arg1) {
1816
1962
  arg0.multiEntry = arg1 !== 0;
1817
1963
  };
1818
- imports.wbg.__wbg_setonabort_3bf4db6614fa98e9 = function(arg0, arg1) {
1964
+ imports.wbg.__wbg_setonabort_479ebb5884fcb171 = function(arg0, arg1) {
1819
1965
  arg0.onabort = arg1;
1820
1966
  };
1821
- imports.wbg.__wbg_setonclose_14fc475a49d488fc = function(arg0, arg1) {
1967
+ imports.wbg.__wbg_setonclose_c6db38f935250174 = function(arg0, arg1) {
1822
1968
  arg0.onclose = arg1;
1823
1969
  };
1824
- imports.wbg.__wbg_setoncomplete_4d19df0dadb7c4d4 = function(arg0, arg1) {
1970
+ imports.wbg.__wbg_setoncomplete_27bdbca012e45c05 = function(arg0, arg1) {
1825
1971
  arg0.oncomplete = arg1;
1826
1972
  };
1827
- imports.wbg.__wbg_setonerror_8639efe354b947cd = function(arg0, arg1) {
1973
+ imports.wbg.__wbg_setonerror_537b68f474e27d4e = function(arg0, arg1) {
1828
1974
  arg0.onerror = arg1;
1829
1975
  };
1830
- imports.wbg.__wbg_setonerror_b0d9d723b8fddbbb = function(arg0, arg1) {
1976
+ imports.wbg.__wbg_setonerror_ab02451cd01cb480 = function(arg0, arg1) {
1831
1977
  arg0.onerror = arg1;
1832
1978
  };
1833
- imports.wbg.__wbg_setonerror_d7e3056cc6e56085 = function(arg0, arg1) {
1979
+ imports.wbg.__wbg_setonerror_ce5c4d34aed931bb = function(arg0, arg1) {
1834
1980
  arg0.onerror = arg1;
1835
1981
  };
1836
- imports.wbg.__wbg_setonmessage_6eccab530a8fb4c7 = function(arg0, arg1) {
1982
+ imports.wbg.__wbg_setonmessage_49ca623a77cfb3e6 = function(arg0, arg1) {
1837
1983
  arg0.onmessage = arg1;
1838
1984
  };
1839
- imports.wbg.__wbg_setonopen_2da654e1f39745d5 = function(arg0, arg1) {
1985
+ imports.wbg.__wbg_setonopen_1475cbeb761c101f = function(arg0, arg1) {
1840
1986
  arg0.onopen = arg1;
1841
1987
  };
1842
- imports.wbg.__wbg_setonsuccess_afa464ee777a396d = function(arg0, arg1) {
1988
+ imports.wbg.__wbg_setonsuccess_0b2b45bd8cc13b95 = function(arg0, arg1) {
1843
1989
  arg0.onsuccess = arg1;
1844
1990
  };
1845
- imports.wbg.__wbg_setonupgradeneeded_fcf7ce4f2eb0cb5f = function(arg0, arg1) {
1991
+ imports.wbg.__wbg_setonupgradeneeded_be2e0ae927917f82 = function(arg0, arg1) {
1846
1992
  arg0.onupgradeneeded = arg1;
1847
1993
  };
1848
- imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
1994
+ imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
1849
1995
  arg0.signal = arg1;
1850
1996
  };
1851
- imports.wbg.__wbg_setunique_dd24c422aa05df89 = function(arg0, arg1) {
1997
+ imports.wbg.__wbg_setunique_727cefd7e14cf677 = function(arg0, arg1) {
1852
1998
  arg0.unique = arg1 !== 0;
1853
1999
  };
1854
- imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
2000
+ imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
1855
2001
  const ret = arg0.signal;
1856
2002
  return ret;
1857
2003
  };
@@ -1862,88 +2008,92 @@ function __wbg_get_imports() {
1862
2008
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1863
2009
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1864
2010
  };
1865
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
2011
+ imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
1866
2012
  const ret = typeof global === 'undefined' ? null : global;
1867
2013
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1868
2014
  };
1869
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
2015
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
1870
2016
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1871
2017
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1872
2018
  };
1873
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
2019
+ imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
1874
2020
  const ret = typeof self === 'undefined' ? null : self;
1875
2021
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1876
2022
  };
1877
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
2023
+ imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
1878
2024
  const ret = typeof window === 'undefined' ? null : window;
1879
2025
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1880
2026
  };
1881
- imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
2027
+ imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
1882
2028
  const ret = arg0.status;
1883
2029
  return ret;
1884
2030
  };
1885
- imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
2031
+ imports.wbg.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
1886
2032
  const ret = JSON.stringify(arg0);
1887
2033
  return ret;
1888
2034
  }, arguments) };
1889
- imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
2035
+ imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
1890
2036
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1891
2037
  return ret;
1892
2038
  };
1893
- imports.wbg.__wbg_target_0a62d9d79a2a1ede = function(arg0) {
2039
+ imports.wbg.__wbg_target_15f1da583855ac4e = function(arg0) {
1894
2040
  const ret = arg0.target;
1895
2041
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1896
2042
  };
1897
- imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
1898
- const ret = arg0.then(arg1);
2043
+ imports.wbg.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
2044
+ const ret = arg0.text();
1899
2045
  return ret;
1900
- };
1901
- imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
2046
+ }, arguments) };
2047
+ imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
1902
2048
  const ret = arg0.then(arg1, arg2);
1903
2049
  return ret;
1904
2050
  };
1905
- imports.wbg.__wbg_toString_c813bbd34d063839 = function(arg0) {
1906
- const ret = arg0.toString();
2051
+ imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
2052
+ const ret = arg0.then(arg1);
1907
2053
  return ret;
1908
2054
  };
1909
- imports.wbg.__wbg_transaction_d6d07c3c9963c49e = function() { return handleError(function (arg0, arg1, arg2) {
1910
- const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
2055
+ imports.wbg.__wbg_toString_21791a66666b3afd = function(arg0) {
2056
+ const ret = arg0.toString();
1911
2057
  return ret;
1912
- }, arguments) };
1913
- imports.wbg.__wbg_transaction_e713aa7b07ccaedd = function(arg0) {
2058
+ };
2059
+ imports.wbg.__wbg_transaction_34c41b46ca391af6 = function(arg0) {
1914
2060
  const ret = arg0.transaction;
1915
2061
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1916
2062
  };
1917
- imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
2063
+ imports.wbg.__wbg_transaction_399fc15f5bba1880 = function() { return handleError(function (arg0, arg1, arg2) {
2064
+ const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
2065
+ return ret;
2066
+ }, arguments) };
2067
+ imports.wbg.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
1918
2068
  const ret = arg1.url;
1919
2069
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1920
2070
  const len1 = WASM_VECTOR_LEN;
1921
2071
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1922
2072
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1923
2073
  };
1924
- imports.wbg.__wbg_url_ce9ab75bf9627ae4 = function(arg0, arg1) {
2074
+ imports.wbg.__wbg_url_f1f05444c281ba1c = function(arg0, arg1) {
1925
2075
  const ret = arg1.url;
1926
2076
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1927
2077
  const len1 = WASM_VECTOR_LEN;
1928
2078
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1929
2079
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1930
2080
  };
1931
- imports.wbg.__wbg_value_68c4e9a54bb7fd5e = function() { return handleError(function (arg0) {
2081
+ imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
1932
2082
  const ret = arg0.value;
1933
2083
  return ret;
1934
- }, arguments) };
1935
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
2084
+ };
2085
+ imports.wbg.__wbg_value_648dc44894c8dc95 = function() { return handleError(function (arg0) {
1936
2086
  const ret = arg0.value;
1937
2087
  return ret;
1938
- };
2088
+ }, arguments) };
1939
2089
  imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
1940
2090
  const ret = arg0.versions;
1941
2091
  return ret;
1942
2092
  };
1943
- imports.wbg.__wbg_warn_aaf1f4664a035bd6 = function(arg0, arg1, arg2, arg3) {
2093
+ imports.wbg.__wbg_warn_90607373221a6b1c = function(arg0, arg1, arg2, arg3) {
1944
2094
  console.warn(arg0, arg1, arg2, arg3);
1945
2095
  };
1946
- imports.wbg.__wbg_wasClean_605b4fd66d44354a = function(arg0) {
2096
+ imports.wbg.__wbg_wasClean_77b02fe3e3ef98f1 = function(arg0) {
1947
2097
  const ret = arg0.wasClean;
1948
2098
  return ret;
1949
2099
  };
@@ -1979,36 +2129,36 @@ function __wbg_get_imports() {
1979
2129
  const ret = false;
1980
2130
  return ret;
1981
2131
  };
1982
- imports.wbg.__wbindgen_closure_wrapper10178 = function(arg0, arg1, arg2) {
1983
- const ret = makeMutClosure(arg0, arg1, 702, __wbg_adapter_57);
2132
+ imports.wbg.__wbindgen_closure_wrapper10286 = function(arg0, arg1, arg2) {
2133
+ const ret = makeMutClosure(arg0, arg1, 711, __wbg_adapter_55);
1984
2134
  return ret;
1985
2135
  };
1986
- imports.wbg.__wbindgen_closure_wrapper11112 = function(arg0, arg1, arg2) {
1987
- const ret = makeMutClosure(arg0, arg1, 841, __wbg_adapter_60);
2136
+ imports.wbg.__wbindgen_closure_wrapper11305 = function(arg0, arg1, arg2) {
2137
+ const ret = makeMutClosure(arg0, arg1, 857, __wbg_adapter_58);
1988
2138
  return ret;
1989
2139
  };
1990
- imports.wbg.__wbindgen_closure_wrapper11135 = function(arg0, arg1, arg2) {
1991
- const ret = makeMutClosure(arg0, arg1, 844, __wbg_adapter_69);
2140
+ imports.wbg.__wbindgen_closure_wrapper11335 = function(arg0, arg1, arg2) {
2141
+ const ret = makeMutClosure(arg0, arg1, 860, __wbg_adapter_65);
1992
2142
  return ret;
1993
2143
  };
1994
- imports.wbg.__wbindgen_closure_wrapper19898 = function(arg0, arg1, arg2) {
1995
- const ret = makeMutClosure(arg0, arg1, 616, __wbg_adapter_57);
2144
+ imports.wbg.__wbindgen_closure_wrapper20108 = function(arg0, arg1, arg2) {
2145
+ const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_55);
1996
2146
  return ret;
1997
2147
  };
1998
- imports.wbg.__wbindgen_closure_wrapper2097 = function(arg0, arg1, arg2) {
1999
- const ret = makeClosure(arg0, arg1, 337, __wbg_adapter_54);
2148
+ imports.wbg.__wbindgen_closure_wrapper20149 = function(arg0, arg1, arg2) {
2149
+ const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_58);
2000
2150
  return ret;
2001
2151
  };
2002
- imports.wbg.__wbindgen_closure_wrapper2811 = function(arg0, arg1, arg2) {
2003
- const ret = makeMutClosure(arg0, arg1, 337, __wbg_adapter_57);
2152
+ imports.wbg.__wbindgen_closure_wrapper2189 = function(arg0, arg1, arg2) {
2153
+ const ret = makeClosure(arg0, arg1, 352, __wbg_adapter_52);
2004
2154
  return ret;
2005
2155
  };
2006
- imports.wbg.__wbindgen_closure_wrapper5282 = function(arg0, arg1, arg2) {
2007
- const ret = makeMutClosure(arg0, arg1, 616, __wbg_adapter_60);
2156
+ imports.wbg.__wbindgen_closure_wrapper2894 = function(arg0, arg1, arg2) {
2157
+ const ret = makeMutClosure(arg0, arg1, 352, __wbg_adapter_55);
2008
2158
  return ret;
2009
2159
  };
2010
- imports.wbg.__wbindgen_closure_wrapper8377 = function(arg0, arg1, arg2) {
2011
- const ret = makeMutClosure(arg0, arg1, 616, __wbg_adapter_60);
2160
+ imports.wbg.__wbindgen_closure_wrapper5457 = function(arg0, arg1, arg2) {
2161
+ const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_58);
2012
2162
  return ret;
2013
2163
  };
2014
2164
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
@@ -2018,10 +2168,6 @@ function __wbg_get_imports() {
2018
2168
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2019
2169
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2020
2170
  };
2021
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
2022
- const ret = new Error(getStringFromWasm0(arg0, arg1));
2023
- return ret;
2024
- };
2025
2171
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
2026
2172
  const ret = arg0 in arg1;
2027
2173
  return ret;