@xmtp/wasm-bindings 1.4.0 → 1.5.0-rc1

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.
@@ -2,8 +2,6 @@ import { JSArrayBufferCopy } from './snippets/wasm-array-cp-201e2a98f0e691f7/cop
2
2
 
3
3
  let wasm;
4
4
 
5
- let WASM_VECTOR_LEN = 0;
6
-
7
5
  let cachedUint8ArrayMemory0 = null;
8
6
 
9
7
  function getUint8ArrayMemory0() {
@@ -13,6 +11,29 @@ function getUint8ArrayMemory0() {
13
11
  return cachedUint8ArrayMemory0;
14
12
  }
15
13
 
14
+ let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
15
+
16
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
17
+
18
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
19
+ let numBytesDecoded = 0;
20
+ function decodeText(ptr, len) {
21
+ numBytesDecoded += len;
22
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
23
+ cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
24
+ cachedTextDecoder.decode();
25
+ numBytesDecoded = len;
26
+ }
27
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
28
+ }
29
+
30
+ function getStringFromWasm0(ptr, len) {
31
+ ptr = ptr >>> 0;
32
+ return decodeText(ptr, len);
33
+ }
34
+
35
+ let WASM_VECTOR_LEN = 0;
36
+
16
37
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
17
38
 
18
39
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -76,15 +97,6 @@ function getDataViewMemory0() {
76
97
  return cachedDataViewMemory0;
77
98
  }
78
99
 
79
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
80
-
81
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
82
-
83
- function getStringFromWasm0(ptr, len) {
84
- ptr = ptr >>> 0;
85
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
86
- }
87
-
88
100
  function addToExternrefTable0(obj) {
89
101
  const idx = wasm.__externref_table_alloc();
90
102
  wasm.__wbindgen_export_4.set(idx, obj);
@@ -216,69 +228,11 @@ function debugString(val) {
216
228
  return className;
217
229
  }
218
230
 
219
- function passArrayJsValueToWasm0(array, malloc) {
220
- const ptr = malloc(array.length * 4, 4) >>> 0;
221
- for (let i = 0; i < array.length; i++) {
222
- const add = addToExternrefTable0(array[i]);
223
- getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
224
- }
225
- WASM_VECTOR_LEN = array.length;
226
- return ptr;
227
- }
228
-
229
231
  function _assertClass(instance, klass) {
230
232
  if (!(instance instanceof klass)) {
231
233
  throw new Error(`expected instance of ${klass.name}`);
232
234
  }
233
235
  }
234
-
235
- function passArray8ToWasm0(arg, malloc) {
236
- const ptr = malloc(arg.length * 1, 1) >>> 0;
237
- getUint8ArrayMemory0().set(arg, ptr / 1);
238
- WASM_VECTOR_LEN = arg.length;
239
- return ptr;
240
- }
241
-
242
- function takeFromExternrefTable0(idx) {
243
- const value = wasm.__wbindgen_export_4.get(idx);
244
- wasm.__externref_table_dealloc(idx);
245
- return value;
246
- }
247
- /**
248
- * @param {string} host
249
- * @param {Identifier} accountIdentifier
250
- * @returns {Promise<string | undefined>}
251
- */
252
- export function getInboxIdForIdentifier(host, accountIdentifier) {
253
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
254
- const len0 = WASM_VECTOR_LEN;
255
- const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
256
- return ret;
257
- }
258
-
259
- /**
260
- * @param {Identifier} accountIdentifier
261
- * @returns {string}
262
- */
263
- export function generateInboxId(accountIdentifier) {
264
- let deferred2_0;
265
- let deferred2_1;
266
- try {
267
- const ret = wasm.generateInboxId(accountIdentifier);
268
- var ptr1 = ret[0];
269
- var len1 = ret[1];
270
- if (ret[3]) {
271
- ptr1 = 0; len1 = 0;
272
- throw takeFromExternrefTable0(ret[2]);
273
- }
274
- deferred2_0 = ptr1;
275
- deferred2_1 = len1;
276
- return getStringFromWasm0(ptr1, len1);
277
- } finally {
278
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
279
- }
280
- }
281
-
282
236
  /**
283
237
  * @param {string} host
284
238
  * @param {string} inbox_id
@@ -313,6 +267,21 @@ export function createClient(host, inbox_id, account_identifier, db_path, encryp
313
267
  return ret;
314
268
  }
315
269
 
270
+ function passArrayJsValueToWasm0(array, malloc) {
271
+ const ptr = malloc(array.length * 4, 4) >>> 0;
272
+ for (let i = 0; i < array.length; i++) {
273
+ const add = addToExternrefTable0(array[i]);
274
+ getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
275
+ }
276
+ WASM_VECTOR_LEN = array.length;
277
+ return ptr;
278
+ }
279
+
280
+ function takeFromExternrefTable0(idx) {
281
+ const value = wasm.__wbindgen_export_4.get(idx);
282
+ wasm.__externref_table_dealloc(idx);
283
+ return value;
284
+ }
316
285
  /**
317
286
  * @param {MultiRemoteAttachment} multiRemoteAttachment
318
287
  * @returns {Uint8Array}
@@ -365,20 +334,12 @@ export function decodeReaction(bytes) {
365
334
  return Reaction.__wrap(ret[0]);
366
335
  }
367
336
 
368
- /**
369
- * @param {string} host
370
- * @param {string[]} inbox_ids
371
- * @returns {Promise<InboxState[]>}
372
- */
373
- export function inboxStateFromInboxIds(host, inbox_ids) {
374
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
375
- const len0 = WASM_VECTOR_LEN;
376
- const ptr1 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
377
- const len1 = WASM_VECTOR_LEN;
378
- const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1);
379
- return ret;
337
+ function passArray8ToWasm0(arg, malloc) {
338
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
339
+ getUint8ArrayMemory0().set(arg, ptr / 1);
340
+ WASM_VECTOR_LEN = arg.length;
341
+ return ptr;
380
342
  }
381
-
382
343
  /**
383
344
  * @param {string} signature_text
384
345
  * @param {Uint8Array} signature_bytes
@@ -424,6 +385,55 @@ export function applySignatureRequest(host, signature_request) {
424
385
  return ret;
425
386
  }
426
387
 
388
+ /**
389
+ * @param {string} host
390
+ * @param {Identifier} accountIdentifier
391
+ * @returns {Promise<string | undefined>}
392
+ */
393
+ export function getInboxIdForIdentifier(host, accountIdentifier) {
394
+ const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
395
+ const len0 = WASM_VECTOR_LEN;
396
+ const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
397
+ return ret;
398
+ }
399
+
400
+ /**
401
+ * @param {Identifier} accountIdentifier
402
+ * @returns {string}
403
+ */
404
+ export function generateInboxId(accountIdentifier) {
405
+ let deferred2_0;
406
+ let deferred2_1;
407
+ try {
408
+ const ret = wasm.generateInboxId(accountIdentifier);
409
+ var ptr1 = ret[0];
410
+ var len1 = ret[1];
411
+ if (ret[3]) {
412
+ ptr1 = 0; len1 = 0;
413
+ throw takeFromExternrefTable0(ret[2]);
414
+ }
415
+ deferred2_0 = ptr1;
416
+ deferred2_1 = len1;
417
+ return getStringFromWasm0(ptr1, len1);
418
+ } finally {
419
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
420
+ }
421
+ }
422
+
423
+ /**
424
+ * @param {string} host
425
+ * @param {string[]} inbox_ids
426
+ * @returns {Promise<InboxState[]>}
427
+ */
428
+ export function inboxStateFromInboxIds(host, inbox_ids) {
429
+ const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
430
+ const len0 = WASM_VECTOR_LEN;
431
+ const ptr1 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
432
+ const len1 = WASM_VECTOR_LEN;
433
+ const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1);
434
+ return ret;
435
+ }
436
+
427
437
  /**
428
438
  * Entry point invoked by JavaScript in a worker.
429
439
  * @param {number} ptr
@@ -435,20 +445,20 @@ export function task_worker_entry_point(ptr) {
435
445
  }
436
446
  }
437
447
 
438
- function __wbg_adapter_50(arg0, arg1) {
439
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea(arg0, arg1);
448
+ function __wbg_adapter_48(arg0, arg1) {
449
+ wasm.wasm_bindgen__convert__closures_____invoke__h231d11d7d151a506(arg0, arg1);
440
450
  }
441
451
 
442
- function __wbg_adapter_53(arg0, arg1) {
443
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd0e40dce3ea5bca1(arg0, arg1);
452
+ function __wbg_adapter_51(arg0, arg1) {
453
+ wasm.wasm_bindgen__convert__closures_____invoke__hfa5440517c90e88d(arg0, arg1);
444
454
  }
445
455
 
446
- function __wbg_adapter_56(arg0, arg1, arg2) {
447
- wasm.closure5204_externref_shim(arg0, arg1, arg2);
456
+ function __wbg_adapter_54(arg0, arg1, arg2) {
457
+ wasm.closure5339_externref_shim(arg0, arg1, arg2);
448
458
  }
449
459
 
450
- function __wbg_adapter_793(arg0, arg1, arg2, arg3) {
451
- wasm.closure6131_externref_shim(arg0, arg1, arg2, arg3);
460
+ function __wbg_adapter_791(arg0, arg1, arg2, arg3) {
461
+ wasm.closure6281_externref_shim(arg0, arg1, arg2, arg3);
452
462
  }
453
463
 
454
464
  /**
@@ -482,12 +492,13 @@ export const ContentType = Object.freeze({
482
492
  TransactionReference: 9, "9": "TransactionReference",
483
493
  });
484
494
  /**
485
- * @enum {0 | 1 | 2}
495
+ * @enum {0 | 1 | 2 | 3}
486
496
  */
487
497
  export const ConversationType = Object.freeze({
488
498
  Dm: 0, "0": "Dm",
489
499
  Group: 1, "1": "Group",
490
500
  Sync: 2, "2": "Sync",
501
+ Oneshot: 3, "3": "Oneshot",
491
502
  });
492
503
  /**
493
504
  * @enum {0 | 1 | 2}
@@ -948,45 +959,6 @@ export class Client {
948
959
  const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
949
960
  return ret;
950
961
  }
951
- /**
952
- *
953
- * * Get the client's inbox state.
954
- * *
955
- * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
956
- * * Otherwise, the state will be read from the local database.
957
- *
958
- * @param {boolean} refresh_from_network
959
- * @returns {Promise<InboxState>}
960
- */
961
- inboxState(refresh_from_network) {
962
- const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
963
- return ret;
964
- }
965
- /**
966
- * @param {string} inbox_id
967
- * @returns {Promise<InboxState>}
968
- */
969
- getLatestInboxState(inbox_id) {
970
- const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
971
- const len0 = WASM_VECTOR_LEN;
972
- const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
973
- return ret;
974
- }
975
- /**
976
- *
977
- * * Get key package statuses for a list of installation IDs.
978
- * *
979
- * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
980
- *
981
- * @param {string[]} installation_ids
982
- * @returns {Promise<any>}
983
- */
984
- getKeyPackageStatusesForInstallationIds(installation_ids) {
985
- const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
986
- const len0 = WASM_VECTOR_LEN;
987
- const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
988
- return ret;
989
- }
990
962
  /**
991
963
  * @returns {SignatureRequestHandle | undefined}
992
964
  */
@@ -1082,6 +1054,45 @@ export class Client {
1082
1054
  throw takeFromExternrefTable0(ret[0]);
1083
1055
  }
1084
1056
  }
1057
+ /**
1058
+ *
1059
+ * * Get the client's inbox state.
1060
+ * *
1061
+ * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
1062
+ * * Otherwise, the state will be read from the local database.
1063
+ *
1064
+ * @param {boolean} refresh_from_network
1065
+ * @returns {Promise<InboxState>}
1066
+ */
1067
+ inboxState(refresh_from_network) {
1068
+ const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
1069
+ return ret;
1070
+ }
1071
+ /**
1072
+ * @param {string} inbox_id
1073
+ * @returns {Promise<InboxState>}
1074
+ */
1075
+ getLatestInboxState(inbox_id) {
1076
+ const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1077
+ const len0 = WASM_VECTOR_LEN;
1078
+ const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
1079
+ return ret;
1080
+ }
1081
+ /**
1082
+ *
1083
+ * * Get key package statuses for a list of installation IDs.
1084
+ * *
1085
+ * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
1086
+ *
1087
+ * @param {string[]} installation_ids
1088
+ * @returns {Promise<any>}
1089
+ */
1090
+ getKeyPackageStatusesForInstallationIds(installation_ids) {
1091
+ const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
1092
+ const len0 = WASM_VECTOR_LEN;
1093
+ const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
1094
+ return ret;
1095
+ }
1085
1096
  }
1086
1097
 
1087
1098
  const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -1848,14 +1859,14 @@ export class ConversationDebugInfo {
1848
1859
  * @returns {bigint}
1849
1860
  */
1850
1861
  get epoch() {
1851
- const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
1862
+ const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
1852
1863
  return BigInt.asUintN(64, ret);
1853
1864
  }
1854
1865
  /**
1855
1866
  * @param {bigint} arg0
1856
1867
  */
1857
1868
  set epoch(arg0) {
1858
- wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
1869
+ wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
1859
1870
  }
1860
1871
  /**
1861
1872
  * @returns {boolean}
@@ -1956,14 +1967,14 @@ export class ConversationDebugInfo {
1956
1967
  * @returns {bigint}
1957
1968
  */
1958
1969
  get cursor() {
1959
- const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
1970
+ const ret = wasm.__wbg_get_apistats_fetch_key_package(this.__wbg_ptr);
1960
1971
  return ret;
1961
1972
  }
1962
1973
  /**
1963
1974
  * @param {bigint} arg0
1964
1975
  */
1965
1976
  set cursor(arg0) {
1966
- wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
1977
+ wasm.__wbg_set_apistats_fetch_key_package(this.__wbg_ptr, arg0);
1967
1978
  }
1968
1979
  }
1969
1980
 
@@ -2249,7 +2260,7 @@ export class Conversations {
2249
2260
  * @returns {Promise<ReadableStream>}
2250
2261
  */
2251
2262
  streamLocal(conversation_type) {
2252
- const ret = wasm.conversations_streamLocal(this.__wbg_ptr, isLikeNone(conversation_type) ? 3 : conversation_type);
2263
+ const ret = wasm.conversations_streamLocal(this.__wbg_ptr, isLikeNone(conversation_type) ? 4 : conversation_type);
2253
2264
  return ret;
2254
2265
  }
2255
2266
  /**
@@ -2258,7 +2269,7 @@ export class Conversations {
2258
2269
  * @returns {StreamCloser}
2259
2270
  */
2260
2271
  stream(callback, conversation_type) {
2261
- const ret = wasm.conversations_stream(this.__wbg_ptr, callback, isLikeNone(conversation_type) ? 3 : conversation_type);
2272
+ const ret = wasm.conversations_stream(this.__wbg_ptr, callback, isLikeNone(conversation_type) ? 4 : conversation_type);
2262
2273
  if (ret[2]) {
2263
2274
  throw takeFromExternrefTable0(ret[1]);
2264
2275
  }
@@ -2273,7 +2284,7 @@ export class Conversations {
2273
2284
  streamAllMessages(callback, conversation_type, consent_states) {
2274
2285
  var ptr0 = isLikeNone(consent_states) ? 0 : passArrayJsValueToWasm0(consent_states, wasm.__wbindgen_malloc);
2275
2286
  var len0 = WASM_VECTOR_LEN;
2276
- const ret = wasm.conversations_streamAllMessages(this.__wbg_ptr, callback, isLikeNone(conversation_type) ? 3 : conversation_type, ptr0, len0);
2287
+ const ret = wasm.conversations_streamAllMessages(this.__wbg_ptr, callback, isLikeNone(conversation_type) ? 4 : conversation_type, ptr0, len0);
2277
2288
  if (ret[2]) {
2278
2289
  throw takeFromExternrefTable0(ret[1]);
2279
2290
  }
@@ -2899,14 +2910,14 @@ export class HmacKey {
2899
2910
  * @returns {bigint}
2900
2911
  */
2901
2912
  get epoch() {
2902
- const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
2913
+ const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
2903
2914
  return ret;
2904
2915
  }
2905
2916
  /**
2906
2917
  * @param {bigint} arg0
2907
2918
  */
2908
2919
  set epoch(arg0) {
2909
- wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
2920
+ wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
2910
2921
  }
2911
2922
  }
2912
2923
 
@@ -3035,7 +3046,7 @@ export class InboxState {
3035
3046
  set inboxId(arg0) {
3036
3047
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3037
3048
  const len0 = WASM_VECTOR_LEN;
3038
- wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
3049
+ wasm.__wbg_set_inboxstate_inboxId(this.__wbg_ptr, ptr0, len0);
3039
3050
  }
3040
3051
  /**
3041
3052
  * @returns {Identifier}
@@ -3486,13 +3497,13 @@ export class ListConversationsOptions {
3486
3497
  */
3487
3498
  get conversationType() {
3488
3499
  const ret = wasm.__wbg_get_listconversationsoptions_conversationType(this.__wbg_ptr);
3489
- return ret === 3 ? undefined : ret;
3500
+ return ret === 4 ? undefined : ret;
3490
3501
  }
3491
3502
  /**
3492
3503
  * @param {ConversationType | null} [arg0]
3493
3504
  */
3494
3505
  set conversationType(arg0) {
3495
- wasm.__wbg_set_listconversationsoptions_conversationType(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0);
3506
+ wasm.__wbg_set_listconversationsoptions_conversationType(this.__wbg_ptr, isLikeNone(arg0) ? 4 : arg0);
3496
3507
  }
3497
3508
  /**
3498
3509
  * @returns {bigint | undefined}
@@ -3557,7 +3568,7 @@ export class ListConversationsOptions {
3557
3568
  constructor(consent_states, conversation_type, created_after_ns, created_before_ns, include_duplicate_dms, limit) {
3558
3569
  var ptr0 = isLikeNone(consent_states) ? 0 : passArrayJsValueToWasm0(consent_states, wasm.__wbindgen_malloc);
3559
3570
  var len0 = WASM_VECTOR_LEN;
3560
- const ret = wasm.listconversationsoptions_new(ptr0, len0, isLikeNone(conversation_type) ? 3 : conversation_type, !isLikeNone(created_after_ns), isLikeNone(created_after_ns) ? BigInt(0) : created_after_ns, !isLikeNone(created_before_ns), isLikeNone(created_before_ns) ? BigInt(0) : created_before_ns, isLikeNone(include_duplicate_dms) ? 0xFFFFFF : include_duplicate_dms ? 1 : 0, !isLikeNone(limit), isLikeNone(limit) ? BigInt(0) : limit);
3571
+ const ret = wasm.listconversationsoptions_new(ptr0, len0, isLikeNone(conversation_type) ? 4 : conversation_type, !isLikeNone(created_after_ns), isLikeNone(created_after_ns) ? BigInt(0) : created_after_ns, !isLikeNone(created_before_ns), isLikeNone(created_before_ns) ? BigInt(0) : created_before_ns, isLikeNone(include_duplicate_dms) ? 0xFFFFFF : include_duplicate_dms ? 1 : 0, !isLikeNone(limit), isLikeNone(limit) ? BigInt(0) : limit);
3561
3572
  this.__wbg_ptr = ret >>> 0;
3562
3573
  ListConversationsOptionsFinalization.register(this, this.__wbg_ptr, this);
3563
3574
  return this;
@@ -3834,14 +3845,14 @@ export class Message {
3834
3845
  * @returns {bigint}
3835
3846
  */
3836
3847
  get sentAtNs() {
3837
- const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
3848
+ const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
3838
3849
  return ret;
3839
3850
  }
3840
3851
  /**
3841
3852
  * @param {bigint} arg0
3842
3853
  */
3843
3854
  set sentAtNs(arg0) {
3844
- wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
3855
+ wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
3845
3856
  }
3846
3857
  /**
3847
3858
  * @returns {string}
@@ -3984,27 +3995,27 @@ export class MessageDisappearingSettings {
3984
3995
  * @returns {bigint}
3985
3996
  */
3986
3997
  get fromNs() {
3987
- const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
3998
+ const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
3988
3999
  return ret;
3989
4000
  }
3990
4001
  /**
3991
4002
  * @param {bigint} arg0
3992
4003
  */
3993
4004
  set fromNs(arg0) {
3994
- wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
4005
+ wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
3995
4006
  }
3996
4007
  /**
3997
4008
  * @returns {bigint}
3998
4009
  */
3999
4010
  get inNs() {
4000
- const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
4011
+ const ret = wasm.__wbg_get_apistats_fetch_key_package(this.__wbg_ptr);
4001
4012
  return ret;
4002
4013
  }
4003
4014
  /**
4004
4015
  * @param {bigint} arg0
4005
4016
  */
4006
4017
  set inNs(arg0) {
4007
- wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
4018
+ wasm.__wbg_set_apistats_fetch_key_package(this.__wbg_ptr, arg0);
4008
4019
  }
4009
4020
  /**
4010
4021
  * @param {bigint} from_ns
@@ -4706,7 +4717,7 @@ export class RemoteAttachmentInfo {
4706
4717
  set url(arg0) {
4707
4718
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4708
4719
  const len0 = WASM_VECTOR_LEN;
4709
- wasm.__wbg_set_remoteattachmentinfo_url(this.__wbg_ptr, ptr0, len0);
4720
+ wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
4710
4721
  }
4711
4722
  /**
4712
4723
  * @returns {Uint8Array}
@@ -4902,6 +4913,8 @@ export class StreamCloser {
4902
4913
  }
4903
4914
  }
4904
4915
 
4916
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
4917
+
4905
4918
  async function __wbg_load(module, imports) {
4906
4919
  if (typeof Response === 'function' && module instanceof Response) {
4907
4920
  if (typeof WebAssembly.instantiateStreaming === 'function') {
@@ -4909,7 +4922,9 @@ async function __wbg_load(module, imports) {
4909
4922
  return await WebAssembly.instantiateStreaming(module, imports);
4910
4923
 
4911
4924
  } catch (e) {
4912
- if (module.headers.get('Content-Type') != 'application/wasm') {
4925
+ const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
4926
+
4927
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
4913
4928
  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);
4914
4929
 
4915
4930
  } else {
@@ -4936,6 +4951,10 @@ async function __wbg_load(module, imports) {
4936
4951
  function __wbg_get_imports() {
4937
4952
  const imports = {};
4938
4953
  imports.wbg = {};
4954
+ imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
4955
+ const ret = Error(getStringFromWasm0(arg0, arg1));
4956
+ return ret;
4957
+ };
4939
4958
  imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
4940
4959
  const ret = String(arg1);
4941
4960
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -4943,60 +4962,60 @@ function __wbg_get_imports() {
4943
4962
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4944
4963
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4945
4964
  };
4946
- imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
4947
- arg0.abort(arg1);
4948
- };
4949
- imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
4965
+ imports.wbg.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
4950
4966
  arg0.abort();
4951
4967
  };
4952
- imports.wbg.__wbg_add_883d9432f9188ef2 = function(arg0, arg1) {
4968
+ imports.wbg.__wbg_abort_4198a1129c47f21a = function(arg0, arg1) {
4969
+ arg0.abort(arg1);
4970
+ };
4971
+ imports.wbg.__wbg_add_dd833f9f523abe36 = function(arg0, arg1) {
4953
4972
  const ret = arg0.add(arg1);
4954
4973
  return ret;
4955
4974
  };
4956
- imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4975
+ imports.wbg.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4957
4976
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
4958
4977
  }, arguments) };
4959
- imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
4978
+ imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
4960
4979
  const ret = arg0.arrayBuffer();
4961
4980
  return ret;
4962
4981
  }, arguments) };
4963
- imports.wbg.__wbg_body_0b8fd1fe671660df = function(arg0) {
4982
+ imports.wbg.__wbg_body_e1e045c770257634 = function(arg0) {
4964
4983
  const ret = arg0.body;
4965
4984
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4966
4985
  };
4967
- imports.wbg.__wbg_buffer_09165b52af8c5237 = function(arg0) {
4986
+ imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
4968
4987
  const ret = arg0.buffer;
4969
4988
  return ret;
4970
4989
  };
4971
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
4990
+ imports.wbg.__wbg_buffer_e495ba54cee589cc = function(arg0) {
4972
4991
  const ret = arg0.buffer;
4973
4992
  return ret;
4974
4993
  };
4975
- imports.wbg.__wbg_byobRequest_77d9adf63337edfb = function(arg0) {
4994
+ imports.wbg.__wbg_byobRequest_56aa768ee4dfed17 = function(arg0) {
4976
4995
  const ret = arg0.byobRequest;
4977
4996
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
4978
4997
  };
4979
- imports.wbg.__wbg_byteLength_e674b853d9c77e1d = function(arg0) {
4998
+ imports.wbg.__wbg_byteLength_937f8a52f9697148 = function(arg0) {
4980
4999
  const ret = arg0.byteLength;
4981
5000
  return ret;
4982
5001
  };
4983
- imports.wbg.__wbg_byteOffset_fd862df290ef848d = function(arg0) {
5002
+ imports.wbg.__wbg_byteOffset_4d94b7170e641898 = function(arg0) {
4984
5003
  const ret = arg0.byteOffset;
4985
5004
  return ret;
4986
5005
  };
4987
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
4988
- const ret = arg0.call(arg1);
5006
+ imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
5007
+ const ret = arg0.call(arg1, arg2);
4989
5008
  return ret;
4990
5009
  }, arguments) };
4991
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
4992
- const ret = arg0.call(arg1, arg2);
5010
+ imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
5011
+ const ret = arg0.call(arg1);
4993
5012
  return ret;
4994
5013
  }, arguments) };
4995
- imports.wbg.__wbg_cancel_8a308660caa6cadf = function(arg0) {
5014
+ imports.wbg.__wbg_cancel_4d78160f447bbbeb = function(arg0) {
4996
5015
  const ret = arg0.cancel();
4997
5016
  return ret;
4998
5017
  };
4999
- imports.wbg.__wbg_catch_a6e601879b2610e9 = function(arg0, arg1) {
5018
+ imports.wbg.__wbg_catch_b51fce253ee18ec3 = function(arg0, arg1) {
5000
5019
  const ret = arg0.catch(arg1);
5001
5020
  return ret;
5002
5021
  };
@@ -5012,26 +5031,26 @@ function __wbg_get_imports() {
5012
5031
  const ret = clearTimeout(arg0);
5013
5032
  return ret;
5014
5033
  };
5015
- imports.wbg.__wbg_clear_1f96150ecf4061a6 = function(arg0) {
5034
+ imports.wbg.__wbg_clear_1657d083d00a480f = function(arg0) {
5016
5035
  arg0.clear();
5017
5036
  };
5018
- imports.wbg.__wbg_clear_fca8ee600282eba4 = function(arg0) {
5037
+ imports.wbg.__wbg_clear_1da67706bfcd76cf = function(arg0) {
5019
5038
  arg0.clear();
5020
5039
  };
5021
5040
  imports.wbg.__wbg_client_new = function(arg0) {
5022
5041
  const ret = Client.__wrap(arg0);
5023
5042
  return ret;
5024
5043
  };
5025
- imports.wbg.__wbg_close_304cc1fef3466669 = function() { return handleError(function (arg0) {
5026
- arg0.close();
5027
- }, arguments) };
5028
- imports.wbg.__wbg_close_5ce03e29be453811 = function() { return handleError(function (arg0) {
5044
+ imports.wbg.__wbg_close_290fb040af98d3ac = function() { return handleError(function (arg0) {
5029
5045
  arg0.close();
5030
5046
  }, arguments) };
5031
- imports.wbg.__wbg_close_a17af48266bd9942 = function(arg0) {
5047
+ imports.wbg.__wbg_close_8d9e72339b45f6f5 = function(arg0) {
5032
5048
  arg0.close();
5033
5049
  };
5034
- imports.wbg.__wbg_code_cfd8f6868bdaed9b = function(arg0) {
5050
+ imports.wbg.__wbg_close_b2641ef0870e518c = function() { return handleError(function (arg0) {
5051
+ arg0.close();
5052
+ }, arguments) };
5053
+ imports.wbg.__wbg_code_5e459ca721f994f5 = function(arg0) {
5035
5054
  const ret = arg0.code;
5036
5055
  return ret;
5037
5056
  };
@@ -5047,11 +5066,11 @@ function __wbg_get_imports() {
5047
5066
  const ret = ConversationListItem.__wrap(arg0);
5048
5067
  return ret;
5049
5068
  };
5050
- imports.wbg.__wbg_createSyncAccessHandle_21c18bcd2a29fa13 = function(arg0) {
5069
+ imports.wbg.__wbg_createSyncAccessHandle_05df52d90910c9ce = function(arg0) {
5051
5070
  const ret = arg0.createSyncAccessHandle();
5052
5071
  return ret;
5053
5072
  };
5054
- imports.wbg.__wbg_create_cfe43ccc88c64e0a = function(arg0) {
5073
+ imports.wbg.__wbg_create_f3f7c1f0898ceb7c = function(arg0) {
5055
5074
  const ret = Object.create(arg0);
5056
5075
  return ret;
5057
5076
  };
@@ -5059,38 +5078,41 @@ function __wbg_get_imports() {
5059
5078
  const ret = arg0.crypto;
5060
5079
  return ret;
5061
5080
  };
5062
- imports.wbg.__wbg_debug_3cb59063b29f58c1 = function(arg0) {
5063
- console.debug(arg0);
5064
- };
5065
- imports.wbg.__wbg_debug_e17b51583ca6a632 = function(arg0, arg1, arg2, arg3) {
5081
+ imports.wbg.__wbg_debug_103948ed4c500577 = function(arg0, arg1, arg2, arg3) {
5066
5082
  console.debug(arg0, arg1, arg2, arg3);
5067
5083
  };
5068
- imports.wbg.__wbg_delete_36c8630e530a2a1a = function(arg0, arg1) {
5084
+ imports.wbg.__wbg_debug_58d16ea352cfbca1 = function(arg0) {
5085
+ console.debug(arg0);
5086
+ };
5087
+ imports.wbg.__wbg_delete_8f0ad80b15b2a784 = function(arg0, arg1) {
5069
5088
  const ret = arg0.delete(arg1);
5070
5089
  return ret;
5071
5090
  };
5072
- imports.wbg.__wbg_delete_d6860deb47204f3b = function(arg0, arg1) {
5091
+ imports.wbg.__wbg_delete_aca203d8b0528d61 = function(arg0, arg1) {
5073
5092
  const ret = arg0.delete(arg1);
5074
5093
  return ret;
5075
5094
  };
5076
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
5095
+ imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
5077
5096
  const ret = arg0.done;
5078
5097
  return ret;
5079
5098
  };
5080
- imports.wbg.__wbg_enqueue_bb16ba72f537dc9e = function() { return handleError(function (arg0, arg1) {
5099
+ imports.wbg.__wbg_enqueue_a62faa171c4fd287 = function() { return handleError(function (arg0, arg1) {
5081
5100
  arg0.enqueue(arg1);
5082
5101
  }, arguments) };
5083
- imports.wbg.__wbg_entries_19efe296f7d36df9 = function(arg0) {
5102
+ imports.wbg.__wbg_entries_14bb5b0fa29e7393 = function(arg0) {
5084
5103
  const ret = arg0.entries();
5085
5104
  return ret;
5086
5105
  };
5087
- imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
5106
+ imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
5088
5107
  const ret = Object.entries(arg0);
5089
5108
  return ret;
5090
5109
  };
5091
- imports.wbg.__wbg_error_524f506f44df1645 = function(arg0) {
5110
+ imports.wbg.__wbg_error_51ecdd39ec054205 = function(arg0) {
5092
5111
  console.error(arg0);
5093
5112
  };
5113
+ imports.wbg.__wbg_error_624160881466fd69 = function(arg0, arg1, arg2, arg3) {
5114
+ console.error(arg0, arg1, arg2, arg3);
5115
+ };
5094
5116
  imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
5095
5117
  let deferred0_0;
5096
5118
  let deferred0_1;
@@ -5102,13 +5124,10 @@ function __wbg_get_imports() {
5102
5124
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5103
5125
  }
5104
5126
  };
5105
- imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
5106
- console.error(arg0, arg1, arg2, arg3);
5107
- };
5108
5127
  imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
5109
5128
  console.error(getStringFromWasm0(arg0, arg1));
5110
5129
  };
5111
- imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
5130
+ imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
5112
5131
  const ret = arg0.fetch(arg1);
5113
5132
  return ret;
5114
5133
  };
@@ -5116,50 +5135,50 @@ function __wbg_get_imports() {
5116
5135
  const ret = fetch(arg0);
5117
5136
  return ret;
5118
5137
  };
5119
- imports.wbg.__wbg_fill_3311db9cdf18c6c4 = function(arg0, arg1, arg2, arg3) {
5138
+ imports.wbg.__wbg_fill_45ebe6f76c6747c9 = function(arg0, arg1, arg2, arg3) {
5120
5139
  const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
5121
5140
  return ret;
5122
5141
  };
5123
- imports.wbg.__wbg_flush_1a680a66b21c53d7 = function() { return handleError(function (arg0) {
5142
+ imports.wbg.__wbg_flush_f0630e40db922730 = function() { return handleError(function (arg0) {
5124
5143
  arg0.flush();
5125
5144
  }, arguments) };
5126
- imports.wbg.__wbg_from_2a5d3e218e67aa85 = function(arg0) {
5145
+ imports.wbg.__wbg_from_12ff8e47307bd4c7 = function(arg0) {
5127
5146
  const ret = Array.from(arg0);
5128
5147
  return ret;
5129
5148
  };
5130
- imports.wbg.__wbg_getDate_ef336e14594b35ce = function(arg0) {
5149
+ imports.wbg.__wbg_getDate_18ccd9a4e925d3ec = function(arg0) {
5131
5150
  const ret = arg0.getDate();
5132
5151
  return ret;
5133
5152
  };
5134
- imports.wbg.__wbg_getDay_3da98b461c969439 = function(arg0) {
5153
+ imports.wbg.__wbg_getDay_17f53c92a7986053 = function(arg0) {
5135
5154
  const ret = arg0.getDay();
5136
5155
  return ret;
5137
5156
  };
5138
- imports.wbg.__wbg_getDirectoryHandle_c48a138373d79b3d = function(arg0, arg1, arg2, arg3) {
5157
+ imports.wbg.__wbg_getDirectoryHandle_812e88ca933e7f14 = function(arg0, arg1, arg2, arg3) {
5139
5158
  const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
5140
5159
  return ret;
5141
5160
  };
5142
- imports.wbg.__wbg_getDirectory_c206b0540c9acc0f = function(arg0) {
5161
+ imports.wbg.__wbg_getDirectory_d1926c6af50076e5 = function(arg0) {
5143
5162
  const ret = arg0.getDirectory();
5144
5163
  return ret;
5145
5164
  };
5146
- imports.wbg.__wbg_getFileHandle_5fb877d1ecc74d52 = function(arg0, arg1, arg2, arg3) {
5165
+ imports.wbg.__wbg_getFileHandle_1cc9e8420629773c = function(arg0, arg1, arg2, arg3) {
5147
5166
  const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
5148
5167
  return ret;
5149
5168
  };
5150
- imports.wbg.__wbg_getFullYear_17d3c9e4db748eb7 = function(arg0) {
5169
+ imports.wbg.__wbg_getFullYear_1383a5751fab658e = function(arg0) {
5151
5170
  const ret = arg0.getFullYear();
5152
5171
  return ret;
5153
5172
  };
5154
- imports.wbg.__wbg_getHours_70451b8de3ce8638 = function(arg0) {
5173
+ imports.wbg.__wbg_getHours_94bc6bb5540c2b71 = function(arg0) {
5155
5174
  const ret = arg0.getHours();
5156
5175
  return ret;
5157
5176
  };
5158
- imports.wbg.__wbg_getMinutes_e793d718371e18f7 = function(arg0) {
5177
+ imports.wbg.__wbg_getMinutes_92b2aadc8feb898e = function(arg0) {
5159
5178
  const ret = arg0.getMinutes();
5160
5179
  return ret;
5161
5180
  };
5162
- imports.wbg.__wbg_getMonth_d37edcd23642c97d = function(arg0) {
5181
+ imports.wbg.__wbg_getMonth_f83b359dffd5f2aa = function(arg0) {
5163
5182
  const ret = arg0.getMonth();
5164
5183
  return ret;
5165
5184
  };
@@ -5176,47 +5195,47 @@ function __wbg_get_imports() {
5176
5195
  const ret = arg0.getReader();
5177
5196
  return ret;
5178
5197
  }, arguments) };
5179
- imports.wbg.__wbg_getSeconds_755197b634cca692 = function(arg0) {
5198
+ imports.wbg.__wbg_getSeconds_5bedd376f55ef40c = function(arg0) {
5180
5199
  const ret = arg0.getSeconds();
5181
5200
  return ret;
5182
5201
  };
5183
- imports.wbg.__wbg_getSize_e7dbd5ffa0b43df1 = function() { return handleError(function (arg0) {
5202
+ imports.wbg.__wbg_getSize_a77eeeffdb4f3fc1 = function() { return handleError(function (arg0) {
5184
5203
  const ret = arg0.getSize();
5185
5204
  return ret;
5186
5205
  }, arguments) };
5187
- imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
5206
+ imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
5188
5207
  const ret = arg0.getTime();
5189
5208
  return ret;
5190
5209
  };
5191
- imports.wbg.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
5210
+ imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
5192
5211
  const ret = arg0.getTimezoneOffset();
5193
5212
  return ret;
5194
5213
  };
5195
- imports.wbg.__wbg_getUint32_9c3cc8fde7919ed4 = function(arg0, arg1) {
5214
+ imports.wbg.__wbg_getUint32_b1236319485e7707 = function(arg0, arg1) {
5196
5215
  const ret = arg0.getUint32(arg1 >>> 0);
5197
5216
  return ret;
5198
5217
  };
5199
- imports.wbg.__wbg_get_13495dac72693ecc = function(arg0, arg1) {
5218
+ imports.wbg.__wbg_get_6dd1850282dd8588 = function(arg0, arg1) {
5200
5219
  const ret = arg0.get(arg1);
5201
5220
  return ret;
5202
5221
  };
5203
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
5222
+ imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
5204
5223
  const ret = Reflect.get(arg0, arg1);
5205
5224
  return ret;
5206
5225
  }, arguments) };
5207
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
5226
+ imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
5208
5227
  const ret = arg0[arg1 >>> 0];
5209
5228
  return ret;
5210
5229
  };
5211
- imports.wbg.__wbg_getdone_d47073731acd3e74 = function(arg0) {
5230
+ imports.wbg.__wbg_getdone_8355ddb2bc75c731 = function(arg0) {
5212
5231
  const ret = arg0.done;
5213
5232
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
5214
5233
  };
5215
- imports.wbg.__wbg_getindex_5b00c274b05714aa = function(arg0, arg1) {
5234
+ imports.wbg.__wbg_getindex_ba5b3525ad80a881 = function(arg0, arg1) {
5216
5235
  const ret = arg0[arg1 >>> 0];
5217
5236
  return ret;
5218
5237
  };
5219
- imports.wbg.__wbg_getvalue_009dcd63692bee1f = function(arg0) {
5238
+ imports.wbg.__wbg_getvalue_c1890a401d13f00b = function(arg0) {
5220
5239
  const ret = arg0.value;
5221
5240
  return ret;
5222
5241
  };
@@ -5228,15 +5247,15 @@ function __wbg_get_imports() {
5228
5247
  const ret = GroupMetadata.__wrap(arg0);
5229
5248
  return ret;
5230
5249
  };
5231
- imports.wbg.__wbg_has_76ca66e2f25d1c49 = function(arg0, arg1) {
5250
+ imports.wbg.__wbg_has_2dc42f1e8cb156db = function(arg0, arg1) {
5232
5251
  const ret = arg0.has(arg1);
5233
5252
  return ret;
5234
5253
  };
5235
- imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
5254
+ imports.wbg.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
5236
5255
  const ret = Reflect.has(arg0, arg1);
5237
5256
  return ret;
5238
5257
  }, arguments) };
5239
- imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
5258
+ imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
5240
5259
  const ret = arg0.headers;
5241
5260
  return ret;
5242
5261
  };
@@ -5244,10 +5263,10 @@ function __wbg_get_imports() {
5244
5263
  const ret = InboxState.__wrap(arg0);
5245
5264
  return ret;
5246
5265
  };
5247
- imports.wbg.__wbg_info_033d8b8a0838f1d3 = function(arg0, arg1, arg2, arg3) {
5266
+ imports.wbg.__wbg_info_a1cc312ecc877319 = function(arg0, arg1, arg2, arg3) {
5248
5267
  console.info(arg0, arg1, arg2, arg3);
5249
5268
  };
5250
- imports.wbg.__wbg_info_3daf2e093e091b66 = function(arg0) {
5269
+ imports.wbg.__wbg_info_e56933705c348038 = function(arg0) {
5251
5270
  console.info(arg0);
5252
5271
  };
5253
5272
  imports.wbg.__wbg_installation_new = function(arg0) {
@@ -5258,7 +5277,7 @@ function __wbg_get_imports() {
5258
5277
  const ret = Installation.__unwrap(arg0);
5259
5278
  return ret;
5260
5279
  };
5261
- imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
5280
+ imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
5262
5281
  let result;
5263
5282
  try {
5264
5283
  result = arg0 instanceof ArrayBuffer;
@@ -5268,7 +5287,7 @@ function __wbg_get_imports() {
5268
5287
  const ret = result;
5269
5288
  return ret;
5270
5289
  };
5271
- imports.wbg.__wbg_instanceof_DomException_ed1ccb7aaf39034c = function(arg0) {
5290
+ imports.wbg.__wbg_instanceof_DomException_77720ed8752d7409 = function(arg0) {
5272
5291
  let result;
5273
5292
  try {
5274
5293
  result = arg0 instanceof DOMException;
@@ -5278,7 +5297,7 @@ function __wbg_get_imports() {
5278
5297
  const ret = result;
5279
5298
  return ret;
5280
5299
  };
5281
- imports.wbg.__wbg_instanceof_Performance_0ac1286c87171f57 = function(arg0) {
5300
+ imports.wbg.__wbg_instanceof_Performance_7c58d8187744b0a5 = function(arg0) {
5282
5301
  let result;
5283
5302
  try {
5284
5303
  result = arg0 instanceof Performance;
@@ -5288,7 +5307,7 @@ function __wbg_get_imports() {
5288
5307
  const ret = result;
5289
5308
  return ret;
5290
5309
  };
5291
- imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
5310
+ imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
5292
5311
  let result;
5293
5312
  try {
5294
5313
  result = arg0 instanceof Response;
@@ -5298,7 +5317,7 @@ function __wbg_get_imports() {
5298
5317
  const ret = result;
5299
5318
  return ret;
5300
5319
  };
5301
- imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
5320
+ imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
5302
5321
  let result;
5303
5322
  try {
5304
5323
  result = arg0 instanceof Uint8Array;
@@ -5308,7 +5327,7 @@ function __wbg_get_imports() {
5308
5327
  const ret = result;
5309
5328
  return ret;
5310
5329
  };
5311
- imports.wbg.__wbg_instanceof_WorkerGlobalScope_dbdbdea7e3b56493 = function(arg0) {
5330
+ imports.wbg.__wbg_instanceof_WorkerGlobalScope_11f8a14c11024785 = function(arg0) {
5312
5331
  let result;
5313
5332
  try {
5314
5333
  result = arg0 instanceof WorkerGlobalScope;
@@ -5318,27 +5337,27 @@ function __wbg_get_imports() {
5318
5337
  const ret = result;
5319
5338
  return ret;
5320
5339
  };
5321
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
5340
+ imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
5322
5341
  const ret = Symbol.iterator;
5323
5342
  return ret;
5324
5343
  };
5325
- imports.wbg.__wbg_keys_4e7df9a04572b339 = function(arg0) {
5344
+ imports.wbg.__wbg_keys_1abdc63a39dab939 = function(arg0) {
5326
5345
  const ret = arg0.keys();
5327
5346
  return ret;
5328
5347
  };
5329
- imports.wbg.__wbg_keys_867d2062f5df73dc = function(arg0) {
5348
+ imports.wbg.__wbg_keys_a89709494b6fd863 = function(arg0) {
5330
5349
  const ret = arg0.keys();
5331
5350
  return ret;
5332
5351
  };
5333
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
5352
+ imports.wbg.__wbg_length_0ca5b4c83d5d9721 = function(arg0) {
5334
5353
  const ret = arg0.length;
5335
5354
  return ret;
5336
5355
  };
5337
- imports.wbg.__wbg_length_d56737991078581b = function(arg0) {
5356
+ imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
5338
5357
  const ret = arg0.length;
5339
5358
  return ret;
5340
5359
  };
5341
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
5360
+ imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
5342
5361
  const ret = arg0.length;
5343
5362
  return ret;
5344
5363
  };
@@ -5354,7 +5373,7 @@ function __wbg_get_imports() {
5354
5373
  imports.wbg.__wbg_measure_7728846525e2cced = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5355
5374
  arg0.measure(getStringFromWasm0(arg1, arg2), arg3);
5356
5375
  }, arguments) };
5357
- imports.wbg.__wbg_message_5c5d919204d42400 = function(arg0, arg1) {
5376
+ imports.wbg.__wbg_message_2d95ea5aff0d63b9 = function(arg0, arg1) {
5358
5377
  const ret = arg1.message;
5359
5378
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5360
5379
  const len1 = WASM_VECTOR_LEN;
@@ -5377,33 +5396,69 @@ function __wbg_get_imports() {
5377
5396
  const ret = arg0.msCrypto;
5378
5397
  return ret;
5379
5398
  };
5380
- imports.wbg.__wbg_name_f2d27098bfd843e7 = function(arg0, arg1) {
5399
+ imports.wbg.__wbg_name_2acff1e83d9735f9 = function(arg0, arg1) {
5381
5400
  const ret = arg1.name;
5382
5401
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5383
5402
  const len1 = WASM_VECTOR_LEN;
5384
5403
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5385
5404
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5386
5405
  };
5387
- imports.wbg.__wbg_navigator_0a9bf1120e24fec2 = function(arg0) {
5406
+ imports.wbg.__wbg_navigator_6db993f5ffeb46be = function(arg0) {
5388
5407
  const ret = arg0.navigator;
5389
5408
  return ret;
5390
5409
  };
5391
- imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
5410
+ imports.wbg.__wbg_new0_97314565408dea38 = function() {
5392
5411
  const ret = new Date();
5393
5412
  return ret;
5394
5413
  };
5395
- imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
5414
+ imports.wbg.__wbg_new_07b483f72211fd66 = function() {
5415
+ const ret = new Object();
5416
+ return ret;
5417
+ };
5418
+ imports.wbg.__wbg_new_186abcfdff244e42 = function() { return handleError(function () {
5419
+ const ret = new AbortController();
5420
+ return ret;
5421
+ }, arguments) };
5422
+ imports.wbg.__wbg_new_476169e6d59f23ae = function(arg0, arg1) {
5423
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
5424
+ return ret;
5425
+ };
5426
+ imports.wbg.__wbg_new_4796e1cd2eb9ea6d = function() { return handleError(function () {
5396
5427
  const ret = new Headers();
5397
5428
  return ret;
5398
5429
  }, arguments) };
5399
- imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
5430
+ imports.wbg.__wbg_new_5069c49f18141a33 = function(arg0, arg1, arg2) {
5431
+ const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0);
5432
+ return ret;
5433
+ };
5434
+ imports.wbg.__wbg_new_58353953ad2097cc = function() {
5435
+ const ret = new Array();
5436
+ return ret;
5437
+ };
5438
+ imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
5439
+ const ret = new Error();
5440
+ return ret;
5441
+ };
5442
+ imports.wbg.__wbg_new_a2957aa5684de228 = function(arg0) {
5443
+ const ret = new Date(arg0);
5444
+ return ret;
5445
+ };
5446
+ imports.wbg.__wbg_new_a979b4b45bd55c7f = function() {
5447
+ const ret = new Map();
5448
+ return ret;
5449
+ };
5450
+ imports.wbg.__wbg_new_db7d9b0ee94df522 = function(arg0) {
5451
+ const ret = new Set(arg0);
5452
+ return ret;
5453
+ };
5454
+ imports.wbg.__wbg_new_e30c39c06edaabf2 = function(arg0, arg1) {
5400
5455
  try {
5401
5456
  var state0 = {a: arg0, b: arg1};
5402
5457
  var cb0 = (arg0, arg1) => {
5403
5458
  const a = state0.a;
5404
5459
  state0.a = 0;
5405
5460
  try {
5406
- return __wbg_adapter_793(a, state0.b, arg0, arg1);
5461
+ return __wbg_adapter_791(a, state0.b, arg0, arg1);
5407
5462
  } finally {
5408
5463
  state0.a = a;
5409
5464
  }
@@ -5414,51 +5469,19 @@ function __wbg_get_imports() {
5414
5469
  state0.a = state0.b = 0;
5415
5470
  }
5416
5471
  };
5417
- imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
5418
- const ret = new Date(arg0);
5419
- return ret;
5420
- };
5421
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
5422
- const ret = new Object();
5423
- return ret;
5424
- };
5425
- imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
5426
- const ret = new Map();
5427
- return ret;
5428
- };
5429
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
5430
- const ret = new Array();
5431
- return ret;
5432
- };
5433
- imports.wbg.__wbg_new_7e079fa25e135eb1 = function(arg0, arg1, arg2) {
5434
- const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0);
5435
- return ret;
5436
- };
5437
- imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
5438
- const ret = new Error();
5439
- return ret;
5440
- };
5441
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
5472
+ imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
5442
5473
  const ret = new Uint8Array(arg0);
5443
5474
  return ret;
5444
5475
  };
5445
- imports.wbg.__wbg_new_a239edaa1dc2968f = function(arg0) {
5446
- const ret = new Set(arg0);
5447
- return ret;
5448
- };
5449
- imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
5450
- const ret = new Error(getStringFromWasm0(arg0, arg1));
5476
+ imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
5477
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
5451
5478
  return ret;
5452
5479
  };
5453
- imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
5454
- const ret = new AbortController();
5455
- return ret;
5456
- }, arguments) };
5457
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
5480
+ imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
5458
5481
  const ret = new Function(getStringFromWasm0(arg0, arg1));
5459
5482
  return ret;
5460
5483
  };
5461
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
5484
+ imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
5462
5485
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
5463
5486
  return ret;
5464
5487
  };
@@ -5466,27 +5489,27 @@ function __wbg_get_imports() {
5466
5489
  const ret = new ReadableStream(IntoUnderlyingSource.__wrap(arg0), arg1);
5467
5490
  return ret;
5468
5491
  };
5469
- imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
5492
+ imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
5470
5493
  const ret = new Uint8Array(arg0 >>> 0);
5471
5494
  return ret;
5472
5495
  };
5473
- imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
5496
+ imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
5474
5497
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
5475
5498
  return ret;
5476
5499
  }, arguments) };
5477
- imports.wbg.__wbg_newwithyearmonthday_03748851282a850d = function(arg0, arg1, arg2) {
5500
+ imports.wbg.__wbg_newwithyearmonthday_eb1c560e7c1fb22a = function(arg0, arg1, arg2) {
5478
5501
  const ret = new Date(arg0 >>> 0, arg1, arg2);
5479
5502
  return ret;
5480
5503
  };
5481
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
5504
+ imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
5482
5505
  const ret = arg0.next;
5483
5506
  return ret;
5484
5507
  };
5485
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
5508
+ imports.wbg.__wbg_next_9eb6fe77da3db3a2 = function() { return handleError(function (arg0) {
5486
5509
  const ret = arg0.next();
5487
5510
  return ret;
5488
5511
  }, arguments) };
5489
- imports.wbg.__wbg_next_c3ab0d59847b3b5c = function() { return handleError(function (arg0) {
5512
+ imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
5490
5513
  const ret = arg0.next();
5491
5514
  return ret;
5492
5515
  }, arguments) };
@@ -5503,30 +5526,30 @@ function __wbg_get_imports() {
5503
5526
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
5504
5527
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
5505
5528
  };
5506
- imports.wbg.__wbg_now_807e54c39636c349 = function() {
5507
- const ret = Date.now();
5529
+ imports.wbg.__wbg_now_7ab37f05ab2d0b81 = function(arg0) {
5530
+ const ret = arg0.now();
5508
5531
  return ret;
5509
5532
  };
5510
- imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
5511
- const ret = arg0.now();
5533
+ imports.wbg.__wbg_now_eb0821f3bd9f6529 = function() {
5534
+ const ret = Date.now();
5512
5535
  return ret;
5513
5536
  };
5514
- imports.wbg.__wbg_onclose_41c0e518c248c385 = function(arg0) {
5537
+ imports.wbg.__wbg_onclose_b7ed02559940a5eb = function(arg0) {
5515
5538
  arg0.on_close();
5516
5539
  };
5517
- imports.wbg.__wbg_onconsentupdate_db1d3557f75e3dcb = function(arg0, arg1) {
5540
+ imports.wbg.__wbg_onconsentupdate_2412c92b95ebbe78 = function(arg0, arg1) {
5518
5541
  arg0.on_consent_update(arg1);
5519
5542
  };
5520
- imports.wbg.__wbg_onconversation_db4f9c3d8e604f5d = function(arg0, arg1) {
5543
+ imports.wbg.__wbg_onconversation_1d7d21a03e063559 = function(arg0, arg1) {
5521
5544
  arg0.on_conversation(Conversation.__wrap(arg1));
5522
5545
  };
5523
- imports.wbg.__wbg_onerror_2796011afc1733e7 = function(arg0, arg1) {
5546
+ imports.wbg.__wbg_onerror_0d00fc3cad1d68be = function(arg0, arg1) {
5524
5547
  arg0.on_error(arg1);
5525
5548
  };
5526
- imports.wbg.__wbg_onmessage_887b149a5a48d19c = function(arg0, arg1) {
5549
+ imports.wbg.__wbg_onmessage_af597d17994e6c9d = function(arg0, arg1) {
5527
5550
  arg0.on_message(Message.__wrap(arg1));
5528
5551
  };
5529
- imports.wbg.__wbg_onuserpreferenceupdate_fd1d58e970305771 = function(arg0, arg1, arg2) {
5552
+ imports.wbg.__wbg_onuserpreferenceupdate_2e7fadd7148f9b1e = function(arg0, arg1, arg2) {
5530
5553
  var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
5531
5554
  wasm.__wbindgen_free(arg1, arg2 * 4, 4);
5532
5555
  arg0.on_user_preference_update(v0);
@@ -5539,44 +5562,44 @@ function __wbg_get_imports() {
5539
5562
  const ret = arg0.performance;
5540
5563
  return ret;
5541
5564
  };
5542
- imports.wbg.__wbg_postMessage_83a8d58d3fcb6c13 = function() { return handleError(function (arg0, arg1) {
5565
+ imports.wbg.__wbg_postMessage_54ce7f4b41ac732e = function() { return handleError(function (arg0, arg1) {
5543
5566
  arg0.postMessage(arg1);
5544
5567
  }, arguments) };
5545
5568
  imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
5546
5569
  const ret = arg0.process;
5547
5570
  return ret;
5548
5571
  };
5549
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
5572
+ imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
5550
5573
  const ret = arg0.push(arg1);
5551
5574
  return ret;
5552
5575
  };
5553
- imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
5576
+ imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
5554
5577
  queueMicrotask(arg0);
5555
5578
  };
5556
- imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
5579
+ imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
5557
5580
  const ret = arg0.queueMicrotask;
5558
5581
  return ret;
5559
5582
  };
5560
5583
  imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
5561
5584
  arg0.randomFillSync(arg1);
5562
5585
  }, arguments) };
5563
- imports.wbg.__wbg_random_3ad904d98382defe = function() {
5586
+ imports.wbg.__wbg_random_210bb7fbfa33591d = function() {
5564
5587
  const ret = Math.random();
5565
5588
  return ret;
5566
5589
  };
5567
- imports.wbg.__wbg_read_50be4c2d01bc12b4 = function() { return handleError(function (arg0, arg1, arg2) {
5590
+ imports.wbg.__wbg_read_4dbc5a78288c4eed = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5591
+ const ret = arg0.read(getArrayU8FromWasm0(arg1, arg2), arg3);
5592
+ return ret;
5593
+ }, arguments) };
5594
+ imports.wbg.__wbg_read_8eb30fc4016403e0 = function() { return handleError(function (arg0, arg1, arg2) {
5568
5595
  const ret = arg0.read(arg1, arg2);
5569
5596
  return ret;
5570
5597
  }, arguments) };
5571
- imports.wbg.__wbg_read_a2434af1186cb56c = function(arg0) {
5598
+ imports.wbg.__wbg_read_f4b89f69cc51efc7 = function(arg0) {
5572
5599
  const ret = arg0.read();
5573
5600
  return ret;
5574
5601
  };
5575
- imports.wbg.__wbg_read_f8fdd4b410209222 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5576
- const ret = arg0.read(getArrayU8FromWasm0(arg1, arg2), arg3);
5577
- return ret;
5578
- }, arguments) };
5579
- imports.wbg.__wbg_releaseLock_091899af97991d2e = function(arg0) {
5602
+ imports.wbg.__wbg_releaseLock_c589dd51c0812aca = function(arg0) {
5580
5603
  arg0.releaseLock();
5581
5604
  };
5582
5605
  imports.wbg.__wbg_remoteattachmentinfo_new = function(arg0) {
@@ -5587,7 +5610,7 @@ function __wbg_get_imports() {
5587
5610
  const ret = RemoteAttachmentInfo.__unwrap(arg0);
5588
5611
  return ret;
5589
5612
  };
5590
- imports.wbg.__wbg_removeEntry_9f6bc325e3383e59 = function(arg0, arg1, arg2) {
5613
+ imports.wbg.__wbg_removeEntry_ddd726e5b0218482 = function(arg0, arg1, arg2) {
5591
5614
  const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2));
5592
5615
  return ret;
5593
5616
  };
@@ -5595,11 +5618,11 @@ function __wbg_get_imports() {
5595
5618
  const ret = module.require;
5596
5619
  return ret;
5597
5620
  }, arguments) };
5598
- imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
5621
+ imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
5599
5622
  const ret = Promise.resolve(arg0);
5600
5623
  return ret;
5601
5624
  };
5602
- imports.wbg.__wbg_respond_1f279fa9f8edcb1c = function() { return handleError(function (arg0, arg1) {
5625
+ imports.wbg.__wbg_respond_b227f1c3be2bb879 = function() { return handleError(function (arg0, arg1) {
5603
5626
  arg0.respond(arg1 >>> 0);
5604
5627
  }, arguments) };
5605
5628
  imports.wbg.__wbg_setInterval_ed3b5e3c3ebb8a6d = function() { return handleError(function (arg0, arg1) {
@@ -5617,60 +5640,60 @@ function __wbg_get_imports() {
5617
5640
  const ret = setTimeout(arg0, arg1);
5618
5641
  return ret;
5619
5642
  }, arguments) };
5620
- imports.wbg.__wbg_setUint32_ad8826b8caeaf63d = function(arg0, arg1, arg2) {
5643
+ imports.wbg.__wbg_setUint32_909f117d6d6c4344 = function(arg0, arg1, arg2) {
5621
5644
  arg0.setUint32(arg1 >>> 0, arg2 >>> 0);
5622
5645
  };
5623
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
5624
- arg0[arg1 >>> 0] = arg2;
5625
- };
5626
5646
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5627
5647
  arg0[arg1] = arg2;
5628
5648
  };
5629
- imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
5630
- arg0.set(arg1, arg2 >>> 0);
5631
- };
5632
- imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
5633
- const ret = arg0.set(arg1, arg2);
5634
- return ret;
5649
+ imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
5650
+ arg0[arg1 >>> 0] = arg2;
5635
5651
  };
5636
- imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
5652
+ imports.wbg.__wbg_set_c43293f93a35998a = function() { return handleError(function (arg0, arg1, arg2) {
5637
5653
  const ret = Reflect.set(arg0, arg1, arg2);
5638
5654
  return ret;
5639
5655
  }, arguments) };
5640
- imports.wbg.__wbg_setat_2a071a392643c10e = function(arg0, arg1) {
5656
+ imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
5657
+ const ret = arg0.set(arg1, arg2);
5658
+ return ret;
5659
+ };
5660
+ imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
5661
+ arg0.set(arg1, arg2 >>> 0);
5662
+ };
5663
+ imports.wbg.__wbg_setat_2d0d9be3db4207a9 = function(arg0, arg1) {
5641
5664
  arg0.at = arg1;
5642
5665
  };
5643
- imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
5666
+ imports.wbg.__wbg_setbody_971ec015fc13d6b4 = function(arg0, arg1) {
5644
5667
  arg0.body = arg1;
5645
5668
  };
5646
- imports.wbg.__wbg_setcache_12f17c3a980650e4 = function(arg0, arg1) {
5669
+ imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
5647
5670
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
5648
5671
  };
5649
- imports.wbg.__wbg_setcreate_139bad94b2874fb5 = function(arg0, arg1) {
5672
+ imports.wbg.__wbg_setcreate_62b7d997a9936969 = function(arg0, arg1) {
5650
5673
  arg0.create = arg1 !== 0;
5651
5674
  };
5652
- imports.wbg.__wbg_setcreate_4ca762e23d9f78da = function(arg0, arg1) {
5675
+ imports.wbg.__wbg_setcreate_dcf97058ed33f8f0 = function(arg0, arg1) {
5653
5676
  arg0.create = arg1 !== 0;
5654
5677
  };
5655
- imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
5678
+ imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
5656
5679
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
5657
5680
  };
5658
- imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
5681
+ imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
5659
5682
  arg0.headers = arg1;
5660
5683
  };
5661
- imports.wbg.__wbg_sethighwatermark_793c99c89830c8e9 = function(arg0, arg1) {
5684
+ imports.wbg.__wbg_sethighwatermark_3017ad772d071dcb = function(arg0, arg1) {
5662
5685
  arg0.highWaterMark = arg1;
5663
5686
  };
5664
- imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
5687
+ imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
5665
5688
  arg0.method = getStringFromWasm0(arg1, arg2);
5666
5689
  };
5667
- imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
5690
+ imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
5668
5691
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
5669
5692
  };
5670
- imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
5693
+ imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
5671
5694
  arg0.signal = arg1;
5672
5695
  };
5673
- imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
5696
+ imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
5674
5697
  const ret = arg0.signal;
5675
5698
  return ret;
5676
5699
  };
@@ -5678,11 +5701,11 @@ function __wbg_get_imports() {
5678
5701
  const ret = SignatureRequestHandle.__wrap(arg0);
5679
5702
  return ret;
5680
5703
  };
5681
- imports.wbg.__wbg_size_f9d54556ad844dc3 = function(arg0) {
5704
+ imports.wbg.__wbg_size_e6e036b6b1285ed9 = function(arg0) {
5682
5705
  const ret = arg0.size;
5683
5706
  return ret;
5684
5707
  };
5685
- imports.wbg.__wbg_slice_972c243648c9fd2e = function(arg0, arg1, arg2) {
5708
+ imports.wbg.__wbg_slice_3b17e1df768365f2 = function(arg0, arg1, arg2) {
5686
5709
  const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
5687
5710
  return ret;
5688
5711
  };
@@ -5693,51 +5716,51 @@ function __wbg_get_imports() {
5693
5716
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5694
5717
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5695
5718
  };
5696
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
5719
+ imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
5697
5720
  const ret = typeof global === 'undefined' ? null : global;
5698
5721
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
5699
5722
  };
5700
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
5723
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
5701
5724
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
5702
5725
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
5703
5726
  };
5704
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
5727
+ imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
5705
5728
  const ret = typeof self === 'undefined' ? null : self;
5706
5729
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
5707
5730
  };
5708
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
5731
+ imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
5709
5732
  const ret = typeof window === 'undefined' ? null : window;
5710
5733
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
5711
5734
  };
5712
- imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
5735
+ imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
5713
5736
  const ret = arg0.status;
5714
5737
  return ret;
5715
5738
  };
5716
- imports.wbg.__wbg_storage_07eb754b88898955 = function(arg0) {
5739
+ imports.wbg.__wbg_storage_52b923037fa3d04c = function(arg0) {
5717
5740
  const ret = arg0.storage;
5718
5741
  return ret;
5719
5742
  };
5720
- imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
5743
+ imports.wbg.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
5721
5744
  const ret = JSON.stringify(arg0);
5722
5745
  return ret;
5723
5746
  }, arguments) };
5724
- imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
5747
+ imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
5725
5748
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
5726
5749
  return ret;
5727
5750
  };
5728
- imports.wbg.__wbg_text_7805bea50de2af49 = function() { return handleError(function (arg0) {
5751
+ imports.wbg.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
5729
5752
  const ret = arg0.text();
5730
5753
  return ret;
5731
5754
  }, arguments) };
5732
- imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
5733
- const ret = arg0.then(arg1);
5755
+ imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
5756
+ const ret = arg0.then(arg1, arg2);
5734
5757
  return ret;
5735
5758
  };
5736
- imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
5737
- const ret = arg0.then(arg1, arg2);
5759
+ imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
5760
+ const ret = arg0.then(arg1);
5738
5761
  return ret;
5739
5762
  };
5740
- imports.wbg.__wbg_toString_ba82658ec370add0 = function() { return handleError(function (arg0, arg1) {
5763
+ imports.wbg.__wbg_toString_e2fd3ab0d7a3919b = function() { return handleError(function (arg0, arg1) {
5741
5764
  const ret = arg0.toString(arg1);
5742
5765
  return ret;
5743
5766
  }, arguments) };
@@ -5747,20 +5770,20 @@ function __wbg_get_imports() {
5747
5770
  imports.wbg.__wbg_toU8Slice_11519abfa5176ae4 = function(arg0, arg1, arg2, arg3) {
5748
5771
  JSArrayBufferCopy.toU8Slice(arg0, arg1, arg2 >>> 0, arg3 >>> 0);
5749
5772
  };
5750
- imports.wbg.__wbg_truncate_29261a6365c72b01 = function() { return handleError(function (arg0, arg1) {
5751
- arg0.truncate(arg1 >>> 0);
5752
- }, arguments) };
5753
- imports.wbg.__wbg_truncate_4e1b09a0538f4ac4 = function() { return handleError(function (arg0, arg1) {
5773
+ imports.wbg.__wbg_truncate_015f5d17c33dc013 = function() { return handleError(function (arg0, arg1) {
5754
5774
  arg0.truncate(arg1);
5755
5775
  }, arguments) };
5756
- imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
5776
+ imports.wbg.__wbg_truncate_1b4fd52305f619d7 = function() { return handleError(function (arg0, arg1) {
5777
+ arg0.truncate(arg1 >>> 0);
5778
+ }, arguments) };
5779
+ imports.wbg.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
5757
5780
  const ret = arg1.url;
5758
5781
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5759
5782
  const len1 = WASM_VECTOR_LEN;
5760
5783
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5761
5784
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5762
5785
  };
5763
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
5786
+ imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
5764
5787
  const ret = arg0.value;
5765
5788
  return ret;
5766
5789
  };
@@ -5768,22 +5791,22 @@ function __wbg_get_imports() {
5768
5791
  const ret = arg0.versions;
5769
5792
  return ret;
5770
5793
  };
5771
- imports.wbg.__wbg_view_fd8a56e8983f448d = function(arg0) {
5794
+ imports.wbg.__wbg_view_a9ad80dcbad7cf1c = function(arg0) {
5772
5795
  const ret = arg0.view;
5773
5796
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
5774
5797
  };
5775
- imports.wbg.__wbg_warn_4ca3906c248c47c4 = function(arg0) {
5776
- console.warn(arg0);
5777
- };
5778
- imports.wbg.__wbg_warn_aaf1f4664a035bd6 = function(arg0, arg1, arg2, arg3) {
5798
+ imports.wbg.__wbg_warn_90607373221a6b1c = function(arg0, arg1, arg2, arg3) {
5779
5799
  console.warn(arg0, arg1, arg2, arg3);
5780
5800
  };
5781
- imports.wbg.__wbg_write_530d3c84df874f53 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5782
- const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3);
5801
+ imports.wbg.__wbg_warn_d89f6637da554c8d = function(arg0) {
5802
+ console.warn(arg0);
5803
+ };
5804
+ imports.wbg.__wbg_write_0afe3c9463f48fc5 = function() { return handleError(function (arg0, arg1, arg2) {
5805
+ const ret = arg0.write(arg1, arg2);
5783
5806
  return ret;
5784
5807
  }, arguments) };
5785
- imports.wbg.__wbg_write_df271225cf2c4e20 = function() { return handleError(function (arg0, arg1, arg2) {
5786
- const ret = arg0.write(arg1, arg2);
5808
+ imports.wbg.__wbg_write_20973b686f7a7721 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5809
+ const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3);
5787
5810
  return ret;
5788
5811
  }, arguments) };
5789
5812
  imports.wbg.__wbindgen_array_new = function() {
@@ -5815,16 +5838,16 @@ function __wbg_get_imports() {
5815
5838
  const ret = false;
5816
5839
  return ret;
5817
5840
  };
5818
- imports.wbg.__wbindgen_closure_wrapper20273 = function(arg0, arg1, arg2) {
5819
- const ret = makeMutClosure(arg0, arg1, 4907, __wbg_adapter_50);
5841
+ imports.wbg.__wbindgen_closure_wrapper20697 = function(arg0, arg1, arg2) {
5842
+ const ret = makeMutClosure(arg0, arg1, 5064, __wbg_adapter_48);
5820
5843
  return ret;
5821
5844
  };
5822
- imports.wbg.__wbindgen_closure_wrapper22394 = function(arg0, arg1, arg2) {
5823
- const ret = makeMutClosure(arg0, arg1, 5181, __wbg_adapter_53);
5845
+ imports.wbg.__wbindgen_closure_wrapper22828 = function(arg0, arg1, arg2) {
5846
+ const ret = makeMutClosure(arg0, arg1, 5325, __wbg_adapter_51);
5824
5847
  return ret;
5825
5848
  };
5826
- imports.wbg.__wbindgen_closure_wrapper23049 = function(arg0, arg1, arg2) {
5827
- const ret = makeMutClosure(arg0, arg1, 5205, __wbg_adapter_56);
5849
+ imports.wbg.__wbindgen_closure_wrapper23457 = function(arg0, arg1, arg2) {
5850
+ const ret = makeMutClosure(arg0, arg1, 5338, __wbg_adapter_54);
5828
5851
  return ret;
5829
5852
  };
5830
5853
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
@@ -5834,10 +5857,6 @@ function __wbg_get_imports() {
5834
5857
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5835
5858
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5836
5859
  };
5837
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
5838
- const ret = new Error(getStringFromWasm0(arg0, arg1));
5839
- return ret;
5840
- };
5841
5860
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
5842
5861
  const ret = arg0 in arg1;
5843
5862
  return ret;