@xmtp/wasm-bindings 1.6.1-rc4 → 1.6.2

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.
@@ -1,5 +1,3 @@
1
- import { JSArrayBufferCopy } from './snippets/wasm-array-cp-201e2a98f0e691f7/copy.min.js';
2
-
3
1
  let wasm;
4
2
 
5
3
  let cachedUint8ArrayMemory0 = null;
@@ -95,41 +93,10 @@ function getDataViewMemory0() {
95
93
  return cachedDataViewMemory0;
96
94
  }
97
95
 
98
- function addToExternrefTable0(obj) {
99
- const idx = wasm.__externref_table_alloc();
100
- wasm.__wbindgen_export_4.set(idx, obj);
101
- return idx;
102
- }
103
-
104
- function handleError(f, args) {
105
- try {
106
- return f.apply(this, args);
107
- } catch (e) {
108
- const idx = addToExternrefTable0(e);
109
- wasm.__wbindgen_exn_store(idx);
110
- }
111
- }
112
-
113
96
  function isLikeNone(x) {
114
97
  return x === undefined || x === null;
115
98
  }
116
99
 
117
- function getArrayU8FromWasm0(ptr, len) {
118
- ptr = ptr >>> 0;
119
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
120
- }
121
-
122
- function getArrayJsValueFromWasm0(ptr, len) {
123
- ptr = ptr >>> 0;
124
- const mem = getDataViewMemory0();
125
- const result = [];
126
- for (let i = ptr; i < ptr + 4 * len; i += 4) {
127
- result.push(wasm.__wbindgen_export_4.get(mem.getUint32(i, true)));
128
- }
129
- wasm.__externref_drop_slice(ptr, len);
130
- return result;
131
- }
132
-
133
100
  function debugString(val) {
134
101
  // primitive types
135
102
  const type = typeof val;
@@ -195,13 +162,40 @@ function debugString(val) {
195
162
  return className;
196
163
  }
197
164
 
165
+ function addToExternrefTable0(obj) {
166
+ const idx = wasm.__externref_table_alloc();
167
+ wasm.__wbindgen_externrefs.set(idx, obj);
168
+ return idx;
169
+ }
170
+
171
+ function handleError(f, args) {
172
+ try {
173
+ return f.apply(this, args);
174
+ } catch (e) {
175
+ const idx = addToExternrefTable0(e);
176
+ wasm.__wbindgen_exn_store(idx);
177
+ }
178
+ }
179
+
180
+ function getArrayU8FromWasm0(ptr, len) {
181
+ ptr = ptr >>> 0;
182
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
183
+ }
184
+
185
+ function getArrayJsValueFromWasm0(ptr, len) {
186
+ ptr = ptr >>> 0;
187
+ const mem = getDataViewMemory0();
188
+ const result = [];
189
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
190
+ result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
191
+ }
192
+ wasm.__externref_drop_slice(ptr, len);
193
+ return result;
194
+ }
195
+
198
196
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
199
197
  ? { register: () => {}, unregister: () => {} }
200
- : new FinalizationRegistry(
201
- state => {
202
- wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b);
203
- }
204
- );
198
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
205
199
 
206
200
  function makeMutClosure(arg0, arg1, dtor, f) {
207
201
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
@@ -216,24 +210,25 @@ function makeMutClosure(arg0, arg1, dtor, f) {
216
210
  try {
217
211
  return f(a, state.b, ...args);
218
212
  } finally {
219
- if (--state.cnt === 0) {
220
- wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
221
- CLOSURE_DTORS.unregister(state);
222
- } else {
223
- state.a = a;
224
- }
213
+ state.a = a;
214
+ real._wbg_cb_unref();
215
+ }
216
+ };
217
+ real._wbg_cb_unref = () => {
218
+ if (--state.cnt === 0) {
219
+ state.dtor(state.a, state.b);
220
+ state.a = 0;
221
+ CLOSURE_DTORS.unregister(state);
225
222
  }
226
223
  };
227
- real.original = state;
228
224
  CLOSURE_DTORS.register(real, state, state);
229
225
  return real;
230
226
  }
231
227
 
232
- function passArray8ToWasm0(arg, malloc) {
233
- const ptr = malloc(arg.length * 1, 1) >>> 0;
234
- getUint8ArrayMemory0().set(arg, ptr / 1);
235
- WASM_VECTOR_LEN = arg.length;
236
- return ptr;
228
+ function _assertClass(instance, klass) {
229
+ if (!(instance instanceof klass)) {
230
+ throw new Error(`expected instance of ${klass.name}`);
231
+ }
237
232
  }
238
233
 
239
234
  function passArrayJsValueToWasm0(array, malloc) {
@@ -245,32 +240,168 @@ function passArrayJsValueToWasm0(array, malloc) {
245
240
  WASM_VECTOR_LEN = array.length;
246
241
  return ptr;
247
242
  }
248
-
249
- function _assertClass(instance, klass) {
250
- if (!(instance instanceof klass)) {
251
- throw new Error(`expected instance of ${klass.name}`);
252
- }
243
+ /**
244
+ * @param {string} v3_host
245
+ * @param {string | null | undefined} gateway_host
246
+ * @param {string[]} inbox_ids
247
+ * @returns {Promise<InboxState[]>}
248
+ */
249
+ export function inboxStateFromInboxIds(v3_host, gateway_host, inbox_ids) {
250
+ const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
251
+ const len0 = WASM_VECTOR_LEN;
252
+ var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
253
+ var len1 = WASM_VECTOR_LEN;
254
+ const ptr2 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
255
+ const len2 = WASM_VECTOR_LEN;
256
+ const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1, ptr2, len2);
257
+ return ret;
253
258
  }
254
259
 
255
260
  function takeFromExternrefTable0(idx) {
256
- const value = wasm.__wbindgen_export_4.get(idx);
261
+ const value = wasm.__wbindgen_externrefs.get(idx);
257
262
  wasm.__externref_table_dealloc(idx);
258
263
  return value;
259
264
  }
265
+
266
+ function passArray8ToWasm0(arg, malloc) {
267
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
268
+ getUint8ArrayMemory0().set(arg, ptr / 1);
269
+ WASM_VECTOR_LEN = arg.length;
270
+ return ptr;
271
+ }
260
272
  /**
261
- * @param {string} signature_text
262
- * @param {Uint8Array} signature_bytes
263
- * @param {Uint8Array} public_key
273
+ * @param {Uint8Array} bytes
274
+ * @returns {Reply}
264
275
  */
265
- export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
266
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
267
- const len0 = WASM_VECTOR_LEN;
268
- const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
269
- if (ret[1]) {
270
- throw takeFromExternrefTable0(ret[0]);
276
+ export function decodeReply(bytes) {
277
+ const ret = wasm.decodeReply(bytes);
278
+ if (ret[2]) {
279
+ throw takeFromExternrefTable0(ret[1]);
280
+ }
281
+ return Reply.__wrap(ret[0]);
282
+ }
283
+
284
+ /**
285
+ * @param {Reply} reply
286
+ * @returns {Uint8Array}
287
+ */
288
+ export function encodeReply(reply) {
289
+ _assertClass(reply, Reply);
290
+ var ptr0 = reply.__destroy_into_raw();
291
+ const ret = wasm.encodeReply(ptr0);
292
+ if (ret[2]) {
293
+ throw takeFromExternrefTable0(ret[1]);
294
+ }
295
+ return takeFromExternrefTable0(ret[0]);
296
+ }
297
+
298
+ /**
299
+ * @param {Actions} actions
300
+ * @returns {Uint8Array}
301
+ */
302
+ export function encodeActions(actions) {
303
+ _assertClass(actions, Actions);
304
+ var ptr0 = actions.__destroy_into_raw();
305
+ const ret = wasm.encodeActions(ptr0);
306
+ if (ret[2]) {
307
+ throw takeFromExternrefTable0(ret[1]);
308
+ }
309
+ return takeFromExternrefTable0(ret[0]);
310
+ }
311
+
312
+ /**
313
+ * @param {Uint8Array} bytes
314
+ * @returns {Actions}
315
+ */
316
+ export function decodeActions(bytes) {
317
+ const ret = wasm.decodeActions(bytes);
318
+ if (ret[2]) {
319
+ throw takeFromExternrefTable0(ret[1]);
320
+ }
321
+ return Actions.__wrap(ret[0]);
322
+ }
323
+
324
+ /**
325
+ * @param {MultiRemoteAttachment} multiRemoteAttachment
326
+ * @returns {Uint8Array}
327
+ */
328
+ export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
329
+ _assertClass(multiRemoteAttachment, MultiRemoteAttachment);
330
+ var ptr0 = multiRemoteAttachment.__destroy_into_raw();
331
+ const ret = wasm.encodeMultiRemoteAttachment(ptr0);
332
+ if (ret[2]) {
333
+ throw takeFromExternrefTable0(ret[1]);
334
+ }
335
+ return takeFromExternrefTable0(ret[0]);
336
+ }
337
+
338
+ /**
339
+ * @param {Uint8Array} bytes
340
+ * @returns {MultiRemoteAttachment}
341
+ */
342
+ export function decodeMultiRemoteAttachment(bytes) {
343
+ const ret = wasm.decodeMultiRemoteAttachment(bytes);
344
+ if (ret[2]) {
345
+ throw takeFromExternrefTable0(ret[1]);
346
+ }
347
+ return MultiRemoteAttachment.__wrap(ret[0]);
348
+ }
349
+
350
+ /**
351
+ * @param {Identifier} accountIdentifier
352
+ * @param {bigint | null} [nonce]
353
+ * @returns {string}
354
+ */
355
+ export function generateInboxId(accountIdentifier, nonce) {
356
+ let deferred2_0;
357
+ let deferred2_1;
358
+ try {
359
+ const ret = wasm.generateInboxId(accountIdentifier, !isLikeNone(nonce), isLikeNone(nonce) ? BigInt(0) : nonce);
360
+ var ptr1 = ret[0];
361
+ var len1 = ret[1];
362
+ if (ret[3]) {
363
+ ptr1 = 0; len1 = 0;
364
+ throw takeFromExternrefTable0(ret[2]);
365
+ }
366
+ deferred2_0 = ptr1;
367
+ deferred2_1 = len1;
368
+ return getStringFromWasm0(ptr1, len1);
369
+ } finally {
370
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
271
371
  }
272
372
  }
273
373
 
374
+ /**
375
+ * @param {string} host
376
+ * @param {string | null | undefined} gatewayHost
377
+ * @param {Identifier} accountIdentifier
378
+ * @returns {Promise<string | undefined>}
379
+ */
380
+ export function getInboxIdForIdentifier(host, gatewayHost, accountIdentifier) {
381
+ const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
382
+ const len0 = WASM_VECTOR_LEN;
383
+ var ptr1 = isLikeNone(gatewayHost) ? 0 : passStringToWasm0(gatewayHost, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
384
+ var len1 = WASM_VECTOR_LEN;
385
+ const ret = wasm.getInboxIdForIdentifier(ptr0, len0, ptr1, len1, accountIdentifier);
386
+ return ret;
387
+ }
388
+
389
+ /**
390
+ * @param {string} v3_host
391
+ * @param {string | null | undefined} gateway_host
392
+ * @param {SignatureRequestHandle} signature_request
393
+ * @returns {Promise<void>}
394
+ */
395
+ export function applySignatureRequest(v3_host, gateway_host, signature_request) {
396
+ const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
397
+ const len0 = WASM_VECTOR_LEN;
398
+ var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
399
+ var len1 = WASM_VECTOR_LEN;
400
+ _assertClass(signature_request, SignatureRequestHandle);
401
+ const ret = wasm.applySignatureRequest(ptr0, len0, ptr1, len1, signature_request.__wbg_ptr);
402
+ return ret;
403
+ }
404
+
274
405
  /**
275
406
  * @param {string} v3_host
276
407
  * @param {string | null | undefined} gateway_host
@@ -296,29 +427,27 @@ export function revokeInstallationsSignatureRequest(v3_host, gateway_host, recov
296
427
  }
297
428
 
298
429
  /**
299
- * @param {string} v3_host
300
- * @param {string | null | undefined} gateway_host
301
- * @param {SignatureRequestHandle} signature_request
302
- * @returns {Promise<void>}
430
+ * @param {string} signature_text
431
+ * @param {Uint8Array} signature_bytes
432
+ * @param {Uint8Array} public_key
303
433
  */
304
- export function applySignatureRequest(v3_host, gateway_host, signature_request) {
305
- const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
434
+ export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
435
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
306
436
  const len0 = WASM_VECTOR_LEN;
307
- var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
308
- var len1 = WASM_VECTOR_LEN;
309
- _assertClass(signature_request, SignatureRequestHandle);
310
- const ret = wasm.applySignatureRequest(ptr0, len0, ptr1, len1, signature_request.__wbg_ptr);
311
- return ret;
437
+ const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
438
+ if (ret[1]) {
439
+ throw takeFromExternrefTable0(ret[0]);
440
+ }
312
441
  }
313
442
 
314
443
  /**
315
- * @param {MultiRemoteAttachment} multiRemoteAttachment
444
+ * @param {Intent} intent
316
445
  * @returns {Uint8Array}
317
446
  */
318
- export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
319
- _assertClass(multiRemoteAttachment, MultiRemoteAttachment);
320
- var ptr0 = multiRemoteAttachment.__destroy_into_raw();
321
- const ret = wasm.encodeMultiRemoteAttachment(ptr0);
447
+ export function encodeIntent(intent) {
448
+ _assertClass(intent, Intent);
449
+ var ptr0 = intent.__destroy_into_raw();
450
+ const ret = wasm.encodeIntent(ptr0);
322
451
  if (ret[2]) {
323
452
  throw takeFromExternrefTable0(ret[1]);
324
453
  }
@@ -327,14 +456,14 @@ export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
327
456
 
328
457
  /**
329
458
  * @param {Uint8Array} bytes
330
- * @returns {MultiRemoteAttachment}
459
+ * @returns {Intent}
331
460
  */
332
- export function decodeMultiRemoteAttachment(bytes) {
333
- const ret = wasm.decodeMultiRemoteAttachment(bytes);
461
+ export function decodeIntent(bytes) {
462
+ const ret = wasm.decodeIntent(bytes);
334
463
  if (ret[2]) {
335
464
  throw takeFromExternrefTable0(ret[1]);
336
465
  }
337
- return MultiRemoteAttachment.__wrap(ret[0]);
466
+ return Intent.__wrap(ret[0]);
338
467
  }
339
468
 
340
469
  /**
@@ -376,9 +505,13 @@ export function decodeReaction(bytes) {
376
505
  * @param {boolean | null} [disable_events]
377
506
  * @param {string | null} [app_version]
378
507
  * @param {string | null} [gateway_host]
508
+ * @param {bigint | null} [nonce]
509
+ * @param {any | null} [auth_callback]
510
+ * @param {AuthHandle | null} [auth_handle]
511
+ * @param {ClientMode | null} [client_mode]
379
512
  * @returns {Promise<Client>}
380
513
  */
381
- export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, device_sync_server_url, device_sync_worker_mode, log_options, allow_offline, disable_events, app_version, gateway_host) {
514
+ export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, device_sync_server_url, device_sync_worker_mode, log_options, allow_offline, disable_events, app_version, gateway_host, nonce, auth_callback, auth_handle, client_mode) {
382
515
  const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
383
516
  const len0 = WASM_VECTOR_LEN;
384
517
  const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -396,63 +529,13 @@ export function createClient(host, inbox_id, account_identifier, db_path, encryp
396
529
  var len5 = WASM_VECTOR_LEN;
397
530
  var ptr6 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
398
531
  var len6 = WASM_VECTOR_LEN;
399
- const ret = wasm.createClient(ptr0, len0, ptr1, len1, account_identifier, ptr2, len2, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr3, len3, isLikeNone(device_sync_worker_mode) ? 3 : ((__wbindgen_enum_DeviceSyncWorkerMode.indexOf(device_sync_worker_mode) + 1 || 3) - 1), ptr4, isLikeNone(allow_offline) ? 0xFFFFFF : allow_offline ? 1 : 0, isLikeNone(disable_events) ? 0xFFFFFF : disable_events ? 1 : 0, ptr5, len5, ptr6, len6);
400
- return ret;
401
- }
402
-
403
- /**
404
- * @param {string} v3_host
405
- * @param {string | null | undefined} gateway_host
406
- * @param {string[]} inbox_ids
407
- * @returns {Promise<InboxState[]>}
408
- */
409
- export function inboxStateFromInboxIds(v3_host, gateway_host, inbox_ids) {
410
- const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
411
- const len0 = WASM_VECTOR_LEN;
412
- var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
413
- var len1 = WASM_VECTOR_LEN;
414
- const ptr2 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
415
- const len2 = WASM_VECTOR_LEN;
416
- const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1, ptr2, len2);
417
- return ret;
418
- }
419
-
420
- /**
421
- * @param {string} v3_host
422
- * @param {string | null | undefined} gateway_host
423
- * @param {Identifier} accountIdentifier
424
- * @returns {Promise<string | undefined>}
425
- */
426
- export function getInboxIdForIdentifier(v3_host, gateway_host, accountIdentifier) {
427
- const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
428
- const len0 = WASM_VECTOR_LEN;
429
- var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
430
- var len1 = WASM_VECTOR_LEN;
431
- const ret = wasm.getInboxIdForIdentifier(ptr0, len0, ptr1, len1, accountIdentifier);
432
- return ret;
433
- }
434
-
435
- /**
436
- * @param {Identifier} accountIdentifier
437
- * @returns {string}
438
- */
439
- export function generateInboxId(accountIdentifier) {
440
- let deferred2_0;
441
- let deferred2_1;
442
- try {
443
- const ret = wasm.generateInboxId(accountIdentifier);
444
- var ptr1 = ret[0];
445
- var len1 = ret[1];
446
- if (ret[3]) {
447
- ptr1 = 0; len1 = 0;
448
- throw takeFromExternrefTable0(ret[2]);
449
- }
450
- deferred2_0 = ptr1;
451
- deferred2_1 = len1;
452
- return getStringFromWasm0(ptr1, len1);
453
- } finally {
454
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
532
+ let ptr7 = 0;
533
+ if (!isLikeNone(auth_handle)) {
534
+ _assertClass(auth_handle, AuthHandle);
535
+ ptr7 = auth_handle.__destroy_into_raw();
455
536
  }
537
+ const ret = wasm.createClient(ptr0, len0, ptr1, len1, account_identifier, ptr2, len2, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr3, len3, isLikeNone(device_sync_worker_mode) ? 3 : ((__wbindgen_enum_DeviceSyncWorkerMode.indexOf(device_sync_worker_mode) + 1 || 3) - 1), ptr4, isLikeNone(allow_offline) ? 0xFFFFFF : allow_offline ? 1 : 0, isLikeNone(disable_events) ? 0xFFFFFF : disable_events ? 1 : 0, ptr5, len5, ptr6, len6, !isLikeNone(nonce), isLikeNone(nonce) ? BigInt(0) : nonce, isLikeNone(auth_callback) ? 0 : addToExternrefTable0(auth_callback), ptr7, isLikeNone(client_mode) ? 2 : client_mode);
538
+ return ret;
456
539
  }
457
540
 
458
541
  /**
@@ -466,26 +549,41 @@ export function task_worker_entry_point(ptr) {
466
549
  }
467
550
  }
468
551
 
469
- function __wbg_adapter_12(arg0, arg1) {
470
- wasm.wasm_bindgen__convert__closures_____invoke__h135d62b0906d3413(arg0, arg1);
552
+ function wasm_bindgen__convert__closures_____invoke__hafab8b28acda63ce(arg0, arg1) {
553
+ wasm.wasm_bindgen__convert__closures_____invoke__hafab8b28acda63ce(arg0, arg1);
471
554
  }
472
555
 
473
- function __wbg_adapter_23(arg0, arg1) {
474
- wasm.wasm_bindgen__convert__closures_____invoke__hb3fd7a1e3a7fa14d(arg0, arg1);
556
+ function wasm_bindgen__convert__closures_____invoke__h34df32c886f66f02(arg0, arg1, arg2) {
557
+ wasm.wasm_bindgen__convert__closures_____invoke__h34df32c886f66f02(arg0, arg1, arg2);
475
558
  }
476
559
 
477
- function __wbg_adapter_26(arg0, arg1) {
478
- wasm.wasm_bindgen__convert__closures_____invoke__h849ef726e44c1bb5(arg0, arg1);
560
+ function wasm_bindgen__convert__closures_____invoke__h753a3e053785270d(arg0, arg1) {
561
+ wasm.wasm_bindgen__convert__closures_____invoke__h753a3e053785270d(arg0, arg1);
479
562
  }
480
563
 
481
- function __wbg_adapter_29(arg0, arg1, arg2) {
482
- wasm.closure7228_externref_shim(arg0, arg1, arg2);
564
+ function wasm_bindgen__convert__closures_____invoke__h9011598bdd38acb2(arg0, arg1) {
565
+ wasm.wasm_bindgen__convert__closures_____invoke__h9011598bdd38acb2(arg0, arg1);
483
566
  }
484
567
 
485
- function __wbg_adapter_899(arg0, arg1, arg2, arg3) {
486
- wasm.closure8189_externref_shim(arg0, arg1, arg2, arg3);
568
+ function wasm_bindgen__convert__closures_____invoke__h18a484e2affd7fe5(arg0, arg1, arg2, arg3) {
569
+ wasm.wasm_bindgen__convert__closures_____invoke__h18a484e2affd7fe5(arg0, arg1, arg2, arg3);
487
570
  }
488
571
 
572
+ /**
573
+ * @enum {0 | 1 | 2}
574
+ */
575
+ export const ActionStyle = Object.freeze({
576
+ Primary: 0, "0": "Primary",
577
+ Secondary: 1, "1": "Secondary",
578
+ Danger: 2, "2": "Danger",
579
+ });
580
+ /**
581
+ * @enum {0 | 1}
582
+ */
583
+ export const ClientMode = Object.freeze({
584
+ Default: 0, "0": "Default",
585
+ Notification: 1, "1": "Notification",
586
+ });
489
587
  /**
490
588
  * @enum {0 | 1}
491
589
  */
@@ -565,6 +663,13 @@ export const ListConversationsOrderBy = Object.freeze({
565
663
  CreatedAt: 0, "0": "CreatedAt",
566
664
  LastActivity: 1, "1": "LastActivity",
567
665
  });
666
+ /**
667
+ * @enum {0 | 1}
668
+ */
669
+ export const MessageSortBy = Object.freeze({
670
+ SentAt: 0, "0": "SentAt",
671
+ InsertedAt: 1, "1": "InsertedAt",
672
+ });
568
673
  /**
569
674
  * @enum {0 | 1 | 2 | 3 | 4}
570
675
  */
@@ -576,7 +681,7 @@ export const MetadataField = Object.freeze({
576
681
  MessageExpirationMS: 4, "4": "MessageExpirationMS",
577
682
  });
578
683
  /**
579
- * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10}
684
+ * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12}
580
685
  */
581
686
  export const PayloadType = Object.freeze({
582
687
  Text: 0, "0": "Text",
@@ -589,7 +694,9 @@ export const PayloadType = Object.freeze({
589
694
  GroupUpdated: 7, "7": "GroupUpdated",
590
695
  ReadReceipt: 8, "8": "ReadReceipt",
591
696
  WalletSendCalls: 9, "9": "WalletSendCalls",
592
- Custom: 10, "10": "Custom",
697
+ Intent: 10, "10": "Intent",
698
+ Actions: 11, "11": "Actions",
699
+ Custom: 12, "12": "Custom",
593
700
  });
594
701
  /**
595
702
  * @enum {0 | 1 | 2}
@@ -678,6 +785,279 @@ const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate
678
785
 
679
786
  const __wbindgen_enum_RequestRedirect = ["follow", "error", "manual"];
680
787
 
788
+ const ActionFinalization = (typeof FinalizationRegistry === 'undefined')
789
+ ? { register: () => {}, unregister: () => {} }
790
+ : new FinalizationRegistry(ptr => wasm.__wbg_action_free(ptr >>> 0, 1));
791
+
792
+ export class Action {
793
+
794
+ static __wrap(ptr) {
795
+ ptr = ptr >>> 0;
796
+ const obj = Object.create(Action.prototype);
797
+ obj.__wbg_ptr = ptr;
798
+ ActionFinalization.register(obj, obj.__wbg_ptr, obj);
799
+ return obj;
800
+ }
801
+
802
+ static __unwrap(jsValue) {
803
+ if (!(jsValue instanceof Action)) {
804
+ return 0;
805
+ }
806
+ return jsValue.__destroy_into_raw();
807
+ }
808
+
809
+ __destroy_into_raw() {
810
+ const ptr = this.__wbg_ptr;
811
+ this.__wbg_ptr = 0;
812
+ ActionFinalization.unregister(this);
813
+ return ptr;
814
+ }
815
+
816
+ free() {
817
+ const ptr = this.__destroy_into_raw();
818
+ wasm.__wbg_action_free(ptr, 0);
819
+ }
820
+ /**
821
+ * @returns {string}
822
+ */
823
+ get id() {
824
+ let deferred1_0;
825
+ let deferred1_1;
826
+ try {
827
+ const ret = wasm.__wbg_get_action_id(this.__wbg_ptr);
828
+ deferred1_0 = ret[0];
829
+ deferred1_1 = ret[1];
830
+ return getStringFromWasm0(ret[0], ret[1]);
831
+ } finally {
832
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
833
+ }
834
+ }
835
+ /**
836
+ * @param {string} arg0
837
+ */
838
+ set id(arg0) {
839
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
840
+ const len0 = WASM_VECTOR_LEN;
841
+ wasm.__wbg_set_action_id(this.__wbg_ptr, ptr0, len0);
842
+ }
843
+ /**
844
+ * @returns {string}
845
+ */
846
+ get label() {
847
+ let deferred1_0;
848
+ let deferred1_1;
849
+ try {
850
+ const ret = wasm.__wbg_get_action_label(this.__wbg_ptr);
851
+ deferred1_0 = ret[0];
852
+ deferred1_1 = ret[1];
853
+ return getStringFromWasm0(ret[0], ret[1]);
854
+ } finally {
855
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
856
+ }
857
+ }
858
+ /**
859
+ * @param {string} arg0
860
+ */
861
+ set label(arg0) {
862
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
863
+ const len0 = WASM_VECTOR_LEN;
864
+ wasm.__wbg_set_action_label(this.__wbg_ptr, ptr0, len0);
865
+ }
866
+ /**
867
+ * @returns {string | undefined}
868
+ */
869
+ get imageUrl() {
870
+ const ret = wasm.__wbg_get_action_imageUrl(this.__wbg_ptr);
871
+ let v1;
872
+ if (ret[0] !== 0) {
873
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
874
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
875
+ }
876
+ return v1;
877
+ }
878
+ /**
879
+ * @param {string | null} [arg0]
880
+ */
881
+ set imageUrl(arg0) {
882
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
883
+ var len0 = WASM_VECTOR_LEN;
884
+ wasm.__wbg_set_action_imageUrl(this.__wbg_ptr, ptr0, len0);
885
+ }
886
+ /**
887
+ * @returns {ActionStyle | undefined}
888
+ */
889
+ get style() {
890
+ const ret = wasm.__wbg_get_action_style(this.__wbg_ptr);
891
+ return ret === 3 ? undefined : ret;
892
+ }
893
+ /**
894
+ * @param {ActionStyle | null} [arg0]
895
+ */
896
+ set style(arg0) {
897
+ wasm.__wbg_set_action_style(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0);
898
+ }
899
+ /**
900
+ * @returns {bigint | undefined}
901
+ */
902
+ get expiresAtNs() {
903
+ const ret = wasm.__wbg_get_action_expiresAtNs(this.__wbg_ptr);
904
+ return ret[0] === 0 ? undefined : ret[1];
905
+ }
906
+ /**
907
+ * @param {bigint | null} [arg0]
908
+ */
909
+ set expiresAtNs(arg0) {
910
+ wasm.__wbg_set_action_expiresAtNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
911
+ }
912
+ /**
913
+ * @param {string} id
914
+ * @param {string} label
915
+ * @param {string | null} [image_url]
916
+ * @param {ActionStyle | null} [style]
917
+ * @param {bigint | null} [expires_at_ns]
918
+ */
919
+ constructor(id, label, image_url, style, expires_at_ns) {
920
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
921
+ const len0 = WASM_VECTOR_LEN;
922
+ const ptr1 = passStringToWasm0(label, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
923
+ const len1 = WASM_VECTOR_LEN;
924
+ var ptr2 = isLikeNone(image_url) ? 0 : passStringToWasm0(image_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
925
+ var len2 = WASM_VECTOR_LEN;
926
+ const ret = wasm.action_new(ptr0, len0, ptr1, len1, ptr2, len2, isLikeNone(style) ? 3 : style, !isLikeNone(expires_at_ns), isLikeNone(expires_at_ns) ? BigInt(0) : expires_at_ns);
927
+ this.__wbg_ptr = ret >>> 0;
928
+ ActionFinalization.register(this, this.__wbg_ptr, this);
929
+ return this;
930
+ }
931
+ }
932
+ if (Symbol.dispose) Action.prototype[Symbol.dispose] = Action.prototype.free;
933
+
934
+ const ActionsFinalization = (typeof FinalizationRegistry === 'undefined')
935
+ ? { register: () => {}, unregister: () => {} }
936
+ : new FinalizationRegistry(ptr => wasm.__wbg_actions_free(ptr >>> 0, 1));
937
+
938
+ export class Actions {
939
+
940
+ static __wrap(ptr) {
941
+ ptr = ptr >>> 0;
942
+ const obj = Object.create(Actions.prototype);
943
+ obj.__wbg_ptr = ptr;
944
+ ActionsFinalization.register(obj, obj.__wbg_ptr, obj);
945
+ return obj;
946
+ }
947
+
948
+ __destroy_into_raw() {
949
+ const ptr = this.__wbg_ptr;
950
+ this.__wbg_ptr = 0;
951
+ ActionsFinalization.unregister(this);
952
+ return ptr;
953
+ }
954
+
955
+ free() {
956
+ const ptr = this.__destroy_into_raw();
957
+ wasm.__wbg_actions_free(ptr, 0);
958
+ }
959
+ /**
960
+ * @returns {string}
961
+ */
962
+ get id() {
963
+ let deferred1_0;
964
+ let deferred1_1;
965
+ try {
966
+ const ret = wasm.__wbg_get_actions_id(this.__wbg_ptr);
967
+ deferred1_0 = ret[0];
968
+ deferred1_1 = ret[1];
969
+ return getStringFromWasm0(ret[0], ret[1]);
970
+ } finally {
971
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
972
+ }
973
+ }
974
+ /**
975
+ * @param {string} arg0
976
+ */
977
+ set id(arg0) {
978
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
979
+ const len0 = WASM_VECTOR_LEN;
980
+ wasm.__wbg_set_action_id(this.__wbg_ptr, ptr0, len0);
981
+ }
982
+ /**
983
+ * @returns {string}
984
+ */
985
+ get description() {
986
+ let deferred1_0;
987
+ let deferred1_1;
988
+ try {
989
+ const ret = wasm.__wbg_get_actions_description(this.__wbg_ptr);
990
+ deferred1_0 = ret[0];
991
+ deferred1_1 = ret[1];
992
+ return getStringFromWasm0(ret[0], ret[1]);
993
+ } finally {
994
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
995
+ }
996
+ }
997
+ /**
998
+ * @param {string} arg0
999
+ */
1000
+ set description(arg0) {
1001
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1002
+ const len0 = WASM_VECTOR_LEN;
1003
+ wasm.__wbg_set_action_label(this.__wbg_ptr, ptr0, len0);
1004
+ }
1005
+ /**
1006
+ * @returns {bigint | undefined}
1007
+ */
1008
+ get expiresAtNs() {
1009
+ const ret = wasm.__wbg_get_actions_expiresAtNs(this.__wbg_ptr);
1010
+ return ret[0] === 0 ? undefined : ret[1];
1011
+ }
1012
+ /**
1013
+ * @param {bigint | null} [arg0]
1014
+ */
1015
+ set expiresAtNs(arg0) {
1016
+ wasm.__wbg_set_action_expiresAtNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
1017
+ }
1018
+ /**
1019
+ * @param {Action} action
1020
+ */
1021
+ addAction(action) {
1022
+ _assertClass(action, Action);
1023
+ var ptr0 = action.__destroy_into_raw();
1024
+ wasm.actions_addAction(this.__wbg_ptr, ptr0);
1025
+ }
1026
+ /**
1027
+ * @returns {Action[]}
1028
+ */
1029
+ getActions() {
1030
+ const ret = wasm.actions_getActions(this.__wbg_ptr);
1031
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
1032
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
1033
+ return v1;
1034
+ }
1035
+ /**
1036
+ * @param {Action[]} actions
1037
+ */
1038
+ setActions(actions) {
1039
+ const ptr0 = passArrayJsValueToWasm0(actions, wasm.__wbindgen_malloc);
1040
+ const len0 = WASM_VECTOR_LEN;
1041
+ wasm.actions_setActions(this.__wbg_ptr, ptr0, len0);
1042
+ }
1043
+ /**
1044
+ * @param {string} id
1045
+ * @param {string} description
1046
+ * @param {bigint | null} [expires_at_ns]
1047
+ */
1048
+ constructor(id, description, expires_at_ns) {
1049
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1050
+ const len0 = WASM_VECTOR_LEN;
1051
+ const ptr1 = passStringToWasm0(description, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1052
+ const len1 = WASM_VECTOR_LEN;
1053
+ const ret = wasm.actions_new(ptr0, len0, ptr1, len1, !isLikeNone(expires_at_ns), isLikeNone(expires_at_ns) ? BigInt(0) : expires_at_ns);
1054
+ this.__wbg_ptr = ret >>> 0;
1055
+ ActionsFinalization.register(this, this.__wbg_ptr, this);
1056
+ return this;
1057
+ }
1058
+ }
1059
+ if (Symbol.dispose) Actions.prototype[Symbol.dispose] = Actions.prototype.free;
1060
+
681
1061
  const ApiStatsFinalization = (typeof FinalizationRegistry === 'undefined')
682
1062
  ? { register: () => {}, unregister: () => {} }
683
1063
  : new FinalizationRegistry(ptr => wasm.__wbg_apistats_free(ptr >>> 0, 1));
@@ -898,6 +1278,49 @@ export class Attachment {
898
1278
  }
899
1279
  if (Symbol.dispose) Attachment.prototype[Symbol.dispose] = Attachment.prototype.free;
900
1280
 
1281
+ const AuthHandleFinalization = (typeof FinalizationRegistry === 'undefined')
1282
+ ? { register: () => {}, unregister: () => {} }
1283
+ : new FinalizationRegistry(ptr => wasm.__wbg_authhandle_free(ptr >>> 0, 1));
1284
+
1285
+ export class AuthHandle {
1286
+
1287
+ __destroy_into_raw() {
1288
+ const ptr = this.__wbg_ptr;
1289
+ this.__wbg_ptr = 0;
1290
+ AuthHandleFinalization.unregister(this);
1291
+ return ptr;
1292
+ }
1293
+
1294
+ free() {
1295
+ const ptr = this.__destroy_into_raw();
1296
+ wasm.__wbg_authhandle_free(ptr, 0);
1297
+ }
1298
+ /**
1299
+ * @returns {number}
1300
+ */
1301
+ id() {
1302
+ const ret = wasm.authhandle_id(this.__wbg_ptr);
1303
+ return ret >>> 0;
1304
+ }
1305
+ constructor() {
1306
+ const ret = wasm.authhandle_new();
1307
+ this.__wbg_ptr = ret >>> 0;
1308
+ AuthHandleFinalization.register(this, this.__wbg_ptr, this);
1309
+ return this;
1310
+ }
1311
+ /**
1312
+ * @param {Credential} credential
1313
+ * @returns {Promise<void>}
1314
+ */
1315
+ set(credential) {
1316
+ _assertClass(credential, Credential);
1317
+ var ptr0 = credential.__destroy_into_raw();
1318
+ const ret = wasm.authhandle_set(this.__wbg_ptr, ptr0);
1319
+ return ret;
1320
+ }
1321
+ }
1322
+ if (Symbol.dispose) AuthHandle.prototype[Symbol.dispose] = AuthHandle.prototype.free;
1323
+
901
1324
  const ClientFinalization = (typeof FinalizationRegistry === 'undefined')
902
1325
  ? { register: () => {}, unregister: () => {} }
903
1326
  : new FinalizationRegistry(ptr => wasm.__wbg_client_free(ptr >>> 0, 1));
@@ -923,6 +1346,45 @@ export class Client {
923
1346
  const ptr = this.__destroy_into_raw();
924
1347
  wasm.__wbg_client_free(ptr, 0);
925
1348
  }
1349
+ /**
1350
+ *
1351
+ * * Get the client's inbox state.
1352
+ * *
1353
+ * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
1354
+ * * Otherwise, the state will be read from the local database.
1355
+ *
1356
+ * @param {boolean} refresh_from_network
1357
+ * @returns {Promise<InboxState>}
1358
+ */
1359
+ inboxState(refresh_from_network) {
1360
+ const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
1361
+ return ret;
1362
+ }
1363
+ /**
1364
+ * @param {string} inbox_id
1365
+ * @returns {Promise<InboxState>}
1366
+ */
1367
+ getLatestInboxState(inbox_id) {
1368
+ const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1369
+ const len0 = WASM_VECTOR_LEN;
1370
+ const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
1371
+ return ret;
1372
+ }
1373
+ /**
1374
+ *
1375
+ * * Get key package statuses for a list of installation IDs.
1376
+ * *
1377
+ * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
1378
+ *
1379
+ * @param {string[]} installation_ids
1380
+ * @returns {Promise<any>}
1381
+ */
1382
+ getKeyPackageStatusesForInstallationIds(installation_ids) {
1383
+ const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
1384
+ const len0 = WASM_VECTOR_LEN;
1385
+ const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
1386
+ return ret;
1387
+ }
926
1388
  /**
927
1389
  * @param {SignatureRequestHandle} signature_request
928
1390
  * @returns {Promise<void>}
@@ -1012,7 +1474,7 @@ export class Client {
1012
1474
  return ret;
1013
1475
  }
1014
1476
  /**
1015
- * @returns {Promise<SignatureRequestHandle>}
1477
+ * @returns {Promise<SignatureRequestHandle | undefined>}
1016
1478
  */
1017
1479
  revokeAllOtherInstallationsSignatureRequest() {
1018
1480
  const ret = wasm.client_revokeAllOtherInstallationsSignatureRequest(this.__wbg_ptr);
@@ -1236,45 +1698,6 @@ export class Client {
1236
1698
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1237
1699
  }
1238
1700
  }
1239
- /**
1240
- *
1241
- * * Get the client's inbox state.
1242
- * *
1243
- * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
1244
- * * Otherwise, the state will be read from the local database.
1245
- *
1246
- * @param {boolean} refresh_from_network
1247
- * @returns {Promise<InboxState>}
1248
- */
1249
- inboxState(refresh_from_network) {
1250
- const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
1251
- return ret;
1252
- }
1253
- /**
1254
- * @param {string} inbox_id
1255
- * @returns {Promise<InboxState>}
1256
- */
1257
- getLatestInboxState(inbox_id) {
1258
- const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1259
- const len0 = WASM_VECTOR_LEN;
1260
- const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
1261
- return ret;
1262
- }
1263
- /**
1264
- *
1265
- * * Get key package statuses for a list of installation IDs.
1266
- * *
1267
- * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
1268
- *
1269
- * @param {string[]} installation_ids
1270
- * @returns {Promise<any>}
1271
- */
1272
- getKeyPackageStatusesForInstallationIds(installation_ids) {
1273
- const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
1274
- const len0 = WASM_VECTOR_LEN;
1275
- const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
1276
- return ret;
1277
- }
1278
1701
  }
1279
1702
  if (Symbol.dispose) Client.prototype[Symbol.dispose] = Client.prototype.free;
1280
1703
 
@@ -1429,7 +1852,7 @@ export class ContentTypeId {
1429
1852
  set authorityId(arg0) {
1430
1853
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1431
1854
  const len0 = WASM_VECTOR_LEN;
1432
- wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
1855
+ wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
1433
1856
  }
1434
1857
  /**
1435
1858
  * @returns {string}
@@ -1508,25 +1931,6 @@ export class Conversation {
1508
1931
  const ptr = this.__destroy_into_raw();
1509
1932
  wasm.__wbg_conversation_free(ptr, 0);
1510
1933
  }
1511
- /**
1512
- * @returns {ConsentState}
1513
- */
1514
- consentState() {
1515
- const ret = wasm.conversation_consentState(this.__wbg_ptr);
1516
- if (ret[2]) {
1517
- throw takeFromExternrefTable0(ret[1]);
1518
- }
1519
- return ret[0];
1520
- }
1521
- /**
1522
- * @param {ConsentState} state
1523
- */
1524
- updateConsentState(state) {
1525
- const ret = wasm.conversation_updateConsentState(this.__wbg_ptr, state);
1526
- if (ret[1]) {
1527
- throw takeFromExternrefTable0(ret[0]);
1528
- }
1529
- }
1530
1934
  /**
1531
1935
  * @returns {string[]}
1532
1936
  */
@@ -1705,6 +2109,16 @@ export class Conversation {
1705
2109
  wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
1706
2110
  }
1707
2111
  }
2112
+ /**
2113
+ * @param {string} app_data
2114
+ * @returns {Promise<void>}
2115
+ */
2116
+ updateAppData(app_data) {
2117
+ const ptr0 = passStringToWasm0(app_data, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2118
+ const len0 = WASM_VECTOR_LEN;
2119
+ const ret = wasm.conversation_updateAppData(this.__wbg_ptr, ptr0, len0);
2120
+ return ret;
2121
+ }
1708
2122
  /**
1709
2123
  * @returns {string}
1710
2124
  */
@@ -2027,6 +2441,27 @@ export class Conversation {
2027
2441
  }
2028
2442
  return StreamCloser.__wrap(ret[0]);
2029
2443
  }
2444
+ /**
2445
+ * @returns {string}
2446
+ */
2447
+ appData() {
2448
+ let deferred2_0;
2449
+ let deferred2_1;
2450
+ try {
2451
+ const ret = wasm.conversation_appData(this.__wbg_ptr);
2452
+ var ptr1 = ret[0];
2453
+ var len1 = ret[1];
2454
+ if (ret[3]) {
2455
+ ptr1 = 0; len1 = 0;
2456
+ throw takeFromExternrefTable0(ret[2]);
2457
+ }
2458
+ deferred2_0 = ptr1;
2459
+ deferred2_1 = len1;
2460
+ return getStringFromWasm0(ptr1, len1);
2461
+ } finally {
2462
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
2463
+ }
2464
+ }
2030
2465
  /**
2031
2466
  * @param {string} inbox_id
2032
2467
  * @returns {boolean}
@@ -2060,6 +2495,25 @@ export class Conversation {
2060
2495
  }
2061
2496
  return ret[0] !== 0;
2062
2497
  }
2498
+ /**
2499
+ * @returns {ConsentState}
2500
+ */
2501
+ consentState() {
2502
+ const ret = wasm.conversation_consentState(this.__wbg_ptr);
2503
+ if (ret[2]) {
2504
+ throw takeFromExternrefTable0(ret[1]);
2505
+ }
2506
+ return ret[0];
2507
+ }
2508
+ /**
2509
+ * @param {ConsentState} state
2510
+ */
2511
+ updateConsentState(state) {
2512
+ const ret = wasm.conversation_updateConsentState(this.__wbg_ptr, state);
2513
+ if (ret[1]) {
2514
+ throw takeFromExternrefTable0(ret[0]);
2515
+ }
2516
+ }
2063
2517
  }
2064
2518
  if (Symbol.dispose) Conversation.prototype[Symbol.dispose] = Conversation.prototype.free;
2065
2519
 
@@ -2633,8 +3087,9 @@ export class CreateGroupOptions {
2633
3087
  * @param {string | null} [group_description]
2634
3088
  * @param {PermissionPolicySet | null} [custom_permission_policy_set]
2635
3089
  * @param {MessageDisappearingSettings | null} [message_disappearing_settings]
3090
+ * @param {string | null} [app_data]
2636
3091
  */
2637
- constructor(permissions, group_name, group_image_url_square, group_description, custom_permission_policy_set, message_disappearing_settings) {
3092
+ constructor(permissions, group_name, group_image_url_square, group_description, custom_permission_policy_set, message_disappearing_settings, app_data) {
2638
3093
  var ptr0 = isLikeNone(group_name) ? 0 : passStringToWasm0(group_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2639
3094
  var len0 = WASM_VECTOR_LEN;
2640
3095
  var ptr1 = isLikeNone(group_image_url_square) ? 0 : passStringToWasm0(group_image_url_square, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2651,7 +3106,9 @@ export class CreateGroupOptions {
2651
3106
  _assertClass(message_disappearing_settings, MessageDisappearingSettings);
2652
3107
  ptr4 = message_disappearing_settings.__destroy_into_raw();
2653
3108
  }
2654
- const ret = wasm.creategroupoptions_new(isLikeNone(permissions) ? 3 : permissions, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4);
3109
+ var ptr5 = isLikeNone(app_data) ? 0 : passStringToWasm0(app_data, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3110
+ var len5 = WASM_VECTOR_LEN;
3111
+ const ret = wasm.creategroupoptions_new(isLikeNone(permissions) ? 3 : permissions, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4, ptr5, len5);
2655
3112
  this.__wbg_ptr = ret >>> 0;
2656
3113
  CreateGroupOptionsFinalization.register(this, this.__wbg_ptr, this);
2657
3114
  return this;
@@ -2747,26 +3204,81 @@ export class CreateGroupOptions {
2747
3204
  }
2748
3205
  wasm.__wbg_set_creategroupoptions_customPermissionPolicySet(this.__wbg_ptr, ptr0);
2749
3206
  }
2750
- /**
2751
- * @returns {MessageDisappearingSettings | undefined}
2752
- */
2753
- get messageDisappearingSettings() {
2754
- const ret = wasm.__wbg_get_createdmoptions_messageDisappearingSettings(this.__wbg_ptr);
2755
- return ret === 0 ? undefined : MessageDisappearingSettings.__wrap(ret);
3207
+ /**
3208
+ * @returns {MessageDisappearingSettings | undefined}
3209
+ */
3210
+ get messageDisappearingSettings() {
3211
+ const ret = wasm.__wbg_get_createdmoptions_messageDisappearingSettings(this.__wbg_ptr);
3212
+ return ret === 0 ? undefined : MessageDisappearingSettings.__wrap(ret);
3213
+ }
3214
+ /**
3215
+ * @param {MessageDisappearingSettings | null} [arg0]
3216
+ */
3217
+ set messageDisappearingSettings(arg0) {
3218
+ let ptr0 = 0;
3219
+ if (!isLikeNone(arg0)) {
3220
+ _assertClass(arg0, MessageDisappearingSettings);
3221
+ ptr0 = arg0.__destroy_into_raw();
3222
+ }
3223
+ wasm.__wbg_set_createdmoptions_messageDisappearingSettings(this.__wbg_ptr, ptr0);
3224
+ }
3225
+ /**
3226
+ * @returns {string | undefined}
3227
+ */
3228
+ get appData() {
3229
+ const ret = wasm.__wbg_get_creategroupoptions_appData(this.__wbg_ptr);
3230
+ let v1;
3231
+ if (ret[0] !== 0) {
3232
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
3233
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
3234
+ }
3235
+ return v1;
3236
+ }
3237
+ /**
3238
+ * @param {string | null} [arg0]
3239
+ */
3240
+ set appData(arg0) {
3241
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3242
+ var len0 = WASM_VECTOR_LEN;
3243
+ wasm.__wbg_set_creategroupoptions_appData(this.__wbg_ptr, ptr0, len0);
3244
+ }
3245
+ }
3246
+ if (Symbol.dispose) CreateGroupOptions.prototype[Symbol.dispose] = CreateGroupOptions.prototype.free;
3247
+
3248
+ const CredentialFinalization = (typeof FinalizationRegistry === 'undefined')
3249
+ ? { register: () => {}, unregister: () => {} }
3250
+ : new FinalizationRegistry(ptr => wasm.__wbg_credential_free(ptr >>> 0, 1));
3251
+
3252
+ export class Credential {
3253
+
3254
+ __destroy_into_raw() {
3255
+ const ptr = this.__wbg_ptr;
3256
+ this.__wbg_ptr = 0;
3257
+ CredentialFinalization.unregister(this);
3258
+ return ptr;
3259
+ }
3260
+
3261
+ free() {
3262
+ const ptr = this.__destroy_into_raw();
3263
+ wasm.__wbg_credential_free(ptr, 0);
2756
3264
  }
2757
3265
  /**
2758
- * @param {MessageDisappearingSettings | null} [arg0]
3266
+ * @param {string | null | undefined} name
3267
+ * @param {string} value
3268
+ * @param {bigint} expires_at_seconds
2759
3269
  */
2760
- set messageDisappearingSettings(arg0) {
2761
- let ptr0 = 0;
2762
- if (!isLikeNone(arg0)) {
2763
- _assertClass(arg0, MessageDisappearingSettings);
2764
- ptr0 = arg0.__destroy_into_raw();
2765
- }
2766
- wasm.__wbg_set_createdmoptions_messageDisappearingSettings(this.__wbg_ptr, ptr0);
3270
+ constructor(name, value, expires_at_seconds) {
3271
+ var ptr0 = isLikeNone(name) ? 0 : passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3272
+ var len0 = WASM_VECTOR_LEN;
3273
+ const ptr1 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3274
+ const len1 = WASM_VECTOR_LEN;
3275
+ const ret = wasm.credential_new(ptr0, len0, ptr1, len1, expires_at_seconds);
3276
+ this.__wbg_ptr = ret >>> 0;
3277
+ CredentialFinalization.register(this, this.__wbg_ptr, this);
3278
+ return this;
2767
3279
  }
2768
3280
  }
2769
- if (Symbol.dispose) CreateGroupOptions.prototype[Symbol.dispose] = CreateGroupOptions.prototype.free;
3281
+ if (Symbol.dispose) Credential.prototype[Symbol.dispose] = Credential.prototype.free;
2770
3282
 
2771
3283
  const DecodedMessageFinalization = (typeof FinalizationRegistry === 'undefined')
2772
3284
  ? { register: () => {}, unregister: () => {} }
@@ -3021,6 +3533,16 @@ export class DecodedMessageContent {
3021
3533
  const ptr = this.__destroy_into_raw();
3022
3534
  wasm.__wbg_decodedmessagecontent_free(ptr, 0);
3023
3535
  }
3536
+ /**
3537
+ * @returns {Actions | undefined}
3538
+ */
3539
+ asActions() {
3540
+ const ret = wasm.decodedmessagecontent_asActions(this.__wbg_ptr);
3541
+ if (ret[2]) {
3542
+ throw takeFromExternrefTable0(ret[1]);
3543
+ }
3544
+ return ret[0] === 0 ? undefined : Actions.__wrap(ret[0]);
3545
+ }
3024
3546
  /**
3025
3547
  * @returns {ReactionPayload | undefined}
3026
3548
  */
@@ -3108,6 +3630,16 @@ export class DecodedMessageContent {
3108
3630
  const ret = wasm.decodedmessagecontent_asCustom(this.__wbg_ptr);
3109
3631
  return ret === 0 ? undefined : EncodedContent.__wrap(ret);
3110
3632
  }
3633
+ /**
3634
+ * @returns {Intent | undefined}
3635
+ */
3636
+ asIntent() {
3637
+ const ret = wasm.decodedmessagecontent_asIntent(this.__wbg_ptr);
3638
+ if (ret[2]) {
3639
+ throw takeFromExternrefTable0(ret[1]);
3640
+ }
3641
+ return ret[0] === 0 ? undefined : Intent.__wrap(ret[0]);
3642
+ }
3111
3643
  }
3112
3644
  if (Symbol.dispose) DecodedMessageContent.prototype[Symbol.dispose] = DecodedMessageContent.prototype.free;
3113
3645
 
@@ -3350,7 +3882,7 @@ export class GroupMember {
3350
3882
  set inboxId(arg0) {
3351
3883
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3352
3884
  const len0 = WASM_VECTOR_LEN;
3353
- wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
3885
+ wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
3354
3886
  }
3355
3887
  /**
3356
3888
  * @returns {Identifier[]}
@@ -3631,7 +4163,7 @@ export class GroupUpdated {
3631
4163
  set initiatedByInboxId(arg0) {
3632
4164
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3633
4165
  const len0 = WASM_VECTOR_LEN;
3634
- wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
4166
+ wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
3635
4167
  }
3636
4168
  /**
3637
4169
  * @returns {Inbox[]}
@@ -3870,7 +4402,7 @@ export class Inbox {
3870
4402
  set inboxId(arg0) {
3871
4403
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3872
4404
  const len0 = WASM_VECTOR_LEN;
3873
- wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
4405
+ wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
3874
4406
  }
3875
4407
  }
3876
4408
  if (Symbol.dispose) Inbox.prototype[Symbol.dispose] = Inbox.prototype.free;
@@ -3939,7 +4471,7 @@ export class InboxState {
3939
4471
  set inboxId(arg0) {
3940
4472
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3941
4473
  const len0 = WASM_VECTOR_LEN;
3942
- wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
4474
+ wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
3943
4475
  }
3944
4476
  /**
3945
4477
  * @returns {Identifier}
@@ -4070,7 +4602,7 @@ export class Installation {
4070
4602
  set id(arg0) {
4071
4603
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4072
4604
  const len0 = WASM_VECTOR_LEN;
4073
- wasm.__wbg_set_installation_id(this.__wbg_ptr, ptr0, len0);
4605
+ wasm.__wbg_set_action_id(this.__wbg_ptr, ptr0, len0);
4074
4606
  }
4075
4607
  /**
4076
4608
  * @returns {bigint | undefined}
@@ -4083,11 +4615,113 @@ export class Installation {
4083
4615
  * @param {bigint | null} [arg0]
4084
4616
  */
4085
4617
  set clientTimestampNs(arg0) {
4086
- wasm.__wbg_set_installation_clientTimestampNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
4618
+ wasm.__wbg_set_action_expiresAtNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
4087
4619
  }
4088
4620
  }
4089
4621
  if (Symbol.dispose) Installation.prototype[Symbol.dispose] = Installation.prototype.free;
4090
4622
 
4623
+ const IntentFinalization = (typeof FinalizationRegistry === 'undefined')
4624
+ ? { register: () => {}, unregister: () => {} }
4625
+ : new FinalizationRegistry(ptr => wasm.__wbg_intent_free(ptr >>> 0, 1));
4626
+
4627
+ export class Intent {
4628
+
4629
+ static __wrap(ptr) {
4630
+ ptr = ptr >>> 0;
4631
+ const obj = Object.create(Intent.prototype);
4632
+ obj.__wbg_ptr = ptr;
4633
+ IntentFinalization.register(obj, obj.__wbg_ptr, obj);
4634
+ return obj;
4635
+ }
4636
+
4637
+ __destroy_into_raw() {
4638
+ const ptr = this.__wbg_ptr;
4639
+ this.__wbg_ptr = 0;
4640
+ IntentFinalization.unregister(this);
4641
+ return ptr;
4642
+ }
4643
+
4644
+ free() {
4645
+ const ptr = this.__destroy_into_raw();
4646
+ wasm.__wbg_intent_free(ptr, 0);
4647
+ }
4648
+ /**
4649
+ * @returns {string}
4650
+ */
4651
+ get id() {
4652
+ let deferred1_0;
4653
+ let deferred1_1;
4654
+ try {
4655
+ const ret = wasm.__wbg_get_intent_id(this.__wbg_ptr);
4656
+ deferred1_0 = ret[0];
4657
+ deferred1_1 = ret[1];
4658
+ return getStringFromWasm0(ret[0], ret[1]);
4659
+ } finally {
4660
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4661
+ }
4662
+ }
4663
+ /**
4664
+ * @param {string} arg0
4665
+ */
4666
+ set id(arg0) {
4667
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4668
+ const len0 = WASM_VECTOR_LEN;
4669
+ wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
4670
+ }
4671
+ /**
4672
+ * @returns {string}
4673
+ */
4674
+ get actionId() {
4675
+ let deferred1_0;
4676
+ let deferred1_1;
4677
+ try {
4678
+ const ret = wasm.__wbg_get_intent_actionId(this.__wbg_ptr);
4679
+ deferred1_0 = ret[0];
4680
+ deferred1_1 = ret[1];
4681
+ return getStringFromWasm0(ret[0], ret[1]);
4682
+ } finally {
4683
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4684
+ }
4685
+ }
4686
+ /**
4687
+ * @param {string} arg0
4688
+ */
4689
+ set actionId(arg0) {
4690
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4691
+ const len0 = WASM_VECTOR_LEN;
4692
+ wasm.__wbg_set_intent_actionId(this.__wbg_ptr, ptr0, len0);
4693
+ }
4694
+ /**
4695
+ * @returns {any}
4696
+ */
4697
+ get metadata() {
4698
+ const ret = wasm.__wbg_get_intent_metadata(this.__wbg_ptr);
4699
+ return ret;
4700
+ }
4701
+ /**
4702
+ * @param {any} arg0
4703
+ */
4704
+ set metadata(arg0) {
4705
+ wasm.__wbg_set_intent_metadata(this.__wbg_ptr, arg0);
4706
+ }
4707
+ /**
4708
+ * @param {string} id
4709
+ * @param {string} action_id
4710
+ * @param {any} metadata
4711
+ */
4712
+ constructor(id, action_id, metadata) {
4713
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4714
+ const len0 = WASM_VECTOR_LEN;
4715
+ const ptr1 = passStringToWasm0(action_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4716
+ const len1 = WASM_VECTOR_LEN;
4717
+ const ret = wasm.intent_new(ptr0, len0, ptr1, len1, metadata);
4718
+ this.__wbg_ptr = ret >>> 0;
4719
+ IntentFinalization.register(this, this.__wbg_ptr, this);
4720
+ return this;
4721
+ }
4722
+ }
4723
+ if (Symbol.dispose) Intent.prototype[Symbol.dispose] = Intent.prototype.free;
4724
+
4091
4725
  const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
4092
4726
  ? { register: () => {}, unregister: () => {} }
4093
4727
  : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0, 1));
@@ -4499,15 +5133,18 @@ export class ListMessagesOptions {
4499
5133
  * @param {any[] | null} [exclude_content_types]
4500
5134
  * @param {GroupMessageKind | null} [kind]
4501
5135
  * @param {string[] | null} [exclude_sender_inbox_ids]
5136
+ * @param {MessageSortBy | null} [sort_by]
5137
+ * @param {bigint | null} [inserted_after_ns]
5138
+ * @param {bigint | null} [inserted_before_ns]
4502
5139
  */
4503
- constructor(sent_before_ns, sent_after_ns, limit, delivery_status, direction, content_types, exclude_content_types, kind, exclude_sender_inbox_ids) {
5140
+ constructor(sent_before_ns, sent_after_ns, limit, delivery_status, direction, content_types, exclude_content_types, kind, exclude_sender_inbox_ids, sort_by, inserted_after_ns, inserted_before_ns) {
4504
5141
  var ptr0 = isLikeNone(content_types) ? 0 : passArrayJsValueToWasm0(content_types, wasm.__wbindgen_malloc);
4505
5142
  var len0 = WASM_VECTOR_LEN;
4506
5143
  var ptr1 = isLikeNone(exclude_content_types) ? 0 : passArrayJsValueToWasm0(exclude_content_types, wasm.__wbindgen_malloc);
4507
5144
  var len1 = WASM_VECTOR_LEN;
4508
5145
  var ptr2 = isLikeNone(exclude_sender_inbox_ids) ? 0 : passArrayJsValueToWasm0(exclude_sender_inbox_ids, wasm.__wbindgen_malloc);
4509
5146
  var len2 = WASM_VECTOR_LEN;
4510
- const ret = wasm.listmessagesoptions_new(!isLikeNone(sent_before_ns), isLikeNone(sent_before_ns) ? BigInt(0) : sent_before_ns, !isLikeNone(sent_after_ns), isLikeNone(sent_after_ns) ? BigInt(0) : sent_after_ns, !isLikeNone(limit), isLikeNone(limit) ? BigInt(0) : limit, isLikeNone(delivery_status) ? 3 : delivery_status, isLikeNone(direction) ? 2 : direction, ptr0, len0, ptr1, len1, isLikeNone(kind) ? 2 : kind, ptr2, len2);
5147
+ const ret = wasm.listmessagesoptions_new(!isLikeNone(sent_before_ns), isLikeNone(sent_before_ns) ? BigInt(0) : sent_before_ns, !isLikeNone(sent_after_ns), isLikeNone(sent_after_ns) ? BigInt(0) : sent_after_ns, !isLikeNone(limit), isLikeNone(limit) ? BigInt(0) : limit, isLikeNone(delivery_status) ? 3 : delivery_status, isLikeNone(direction) ? 2 : direction, ptr0, len0, ptr1, len1, isLikeNone(kind) ? 2 : kind, ptr2, len2, isLikeNone(sort_by) ? 2 : sort_by, !isLikeNone(inserted_after_ns), isLikeNone(inserted_after_ns) ? BigInt(0) : inserted_after_ns, !isLikeNone(inserted_before_ns), isLikeNone(inserted_before_ns) ? BigInt(0) : inserted_before_ns);
4511
5148
  this.__wbg_ptr = ret >>> 0;
4512
5149
  ListMessagesOptionsFinalization.register(this, this.__wbg_ptr, this);
4513
5150
  return this;
@@ -4563,7 +5200,7 @@ export class ListMessagesOptions {
4563
5200
  * @param {bigint | null} [arg0]
4564
5201
  */
4565
5202
  set sentBeforeNs(arg0) {
4566
- wasm.__wbg_set_listmessagesoptions_sentBeforeNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
5203
+ wasm.__wbg_set_listconversationsoptions_createdAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
4567
5204
  }
4568
5205
  /**
4569
5206
  * @returns {bigint | undefined}
@@ -4576,7 +5213,7 @@ export class ListMessagesOptions {
4576
5213
  * @param {bigint | null} [arg0]
4577
5214
  */
4578
5215
  set sentAfterNs(arg0) {
4579
- wasm.__wbg_set_listmessagesoptions_sentAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
5216
+ wasm.__wbg_set_listconversationsoptions_createdBeforeNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
4580
5217
  }
4581
5218
  /**
4582
5219
  * @returns {bigint | undefined}
@@ -4589,7 +5226,7 @@ export class ListMessagesOptions {
4589
5226
  * @param {bigint | null} [arg0]
4590
5227
  */
4591
5228
  set limit(arg0) {
4592
- wasm.__wbg_set_listmessagesoptions_limit(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
5229
+ wasm.__wbg_set_listconversationsoptions_limit(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
4593
5230
  }
4594
5231
  /**
4595
5232
  * @returns {DeliveryStatus | undefined}
@@ -4650,6 +5287,45 @@ export class ListMessagesOptions {
4650
5287
  var len0 = WASM_VECTOR_LEN;
4651
5288
  wasm.__wbg_set_listmessagesoptions_excludeSenderInboxIds(this.__wbg_ptr, ptr0, len0);
4652
5289
  }
5290
+ /**
5291
+ * @returns {MessageSortBy | undefined}
5292
+ */
5293
+ get sortBy() {
5294
+ const ret = wasm.__wbg_get_listmessagesoptions_sortBy(this.__wbg_ptr);
5295
+ return ret === 2 ? undefined : ret;
5296
+ }
5297
+ /**
5298
+ * @param {MessageSortBy | null} [arg0]
5299
+ */
5300
+ set sortBy(arg0) {
5301
+ wasm.__wbg_set_listmessagesoptions_sortBy(this.__wbg_ptr, isLikeNone(arg0) ? 2 : arg0);
5302
+ }
5303
+ /**
5304
+ * @returns {bigint | undefined}
5305
+ */
5306
+ get insertedAfterNs() {
5307
+ const ret = wasm.__wbg_get_listmessagesoptions_insertedAfterNs(this.__wbg_ptr);
5308
+ return ret[0] === 0 ? undefined : ret[1];
5309
+ }
5310
+ /**
5311
+ * @param {bigint | null} [arg0]
5312
+ */
5313
+ set insertedAfterNs(arg0) {
5314
+ wasm.__wbg_set_listmessagesoptions_insertedAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
5315
+ }
5316
+ /**
5317
+ * @returns {bigint | undefined}
5318
+ */
5319
+ get insertedBeforeNs() {
5320
+ const ret = wasm.__wbg_get_listmessagesoptions_insertedBeforeNs(this.__wbg_ptr);
5321
+ return ret[0] === 0 ? undefined : ret[1];
5322
+ }
5323
+ /**
5324
+ * @param {bigint | null} [arg0]
5325
+ */
5326
+ set insertedBeforeNs(arg0) {
5327
+ wasm.__wbg_set_listmessagesoptions_insertedBeforeNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
5328
+ }
4653
5329
  }
4654
5330
  if (Symbol.dispose) ListMessagesOptions.prototype[Symbol.dispose] = ListMessagesOptions.prototype.free;
4655
5331
 
@@ -4790,14 +5466,14 @@ export class Message {
4790
5466
  * @returns {bigint}
4791
5467
  */
4792
5468
  get sentAtNs() {
4793
- const ret = wasm.__wbg_get_apistats_upload_key_package(this.__wbg_ptr);
5469
+ const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
4794
5470
  return ret;
4795
5471
  }
4796
5472
  /**
4797
5473
  * @param {bigint} arg0
4798
5474
  */
4799
5475
  set sentAtNs(arg0) {
4800
- wasm.__wbg_set_apistats_upload_key_package(this.__wbg_ptr, arg0);
5476
+ wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
4801
5477
  }
4802
5478
  /**
4803
5479
  * @returns {string}
@@ -5089,7 +5765,7 @@ export class MetadataFieldChange {
5089
5765
  set fieldName(arg0) {
5090
5766
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5091
5767
  const len0 = WASM_VECTOR_LEN;
5092
- wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
5768
+ wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
5093
5769
  }
5094
5770
  /**
5095
5771
  * @returns {string | undefined}
@@ -5129,7 +5805,7 @@ export class MetadataFieldChange {
5129
5805
  set newValue(arg0) {
5130
5806
  var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5131
5807
  var len0 = WASM_VECTOR_LEN;
5132
- wasm.__wbg_set_metadatafieldchange_newValue(this.__wbg_ptr, ptr0, len0);
5808
+ wasm.__wbg_set_attachment_filename(this.__wbg_ptr, ptr0, len0);
5133
5809
  }
5134
5810
  }
5135
5811
  if (Symbol.dispose) MetadataFieldChange.prototype[Symbol.dispose] = MetadataFieldChange.prototype.free;
@@ -5570,7 +6246,7 @@ export class Reaction {
5570
6246
  set referenceInboxId(arg0) {
5571
6247
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5572
6248
  const len0 = WASM_VECTOR_LEN;
5573
- wasm.__wbg_set_contenttypeid_typeId(this.__wbg_ptr, ptr0, len0);
6249
+ wasm.__wbg_set_intent_actionId(this.__wbg_ptr, ptr0, len0);
5574
6250
  }
5575
6251
  /**
5576
6252
  * @returns {ReactionAction}
@@ -5712,7 +6388,7 @@ export class ReactionPayload {
5712
6388
  set referenceInboxId(arg0) {
5713
6389
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5714
6390
  const len0 = WASM_VECTOR_LEN;
5715
- wasm.__wbg_set_contenttypeid_typeId(this.__wbg_ptr, ptr0, len0);
6391
+ wasm.__wbg_set_intent_actionId(this.__wbg_ptr, ptr0, len0);
5716
6392
  }
5717
6393
  /**
5718
6394
  * @returns {ReactionActionPayload}
@@ -5840,7 +6516,7 @@ export class RemoteAttachment {
5840
6516
  set url(arg0) {
5841
6517
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5842
6518
  const len0 = WASM_VECTOR_LEN;
5843
- wasm.__wbg_set_conversationdebuginfo_forkDetails(this.__wbg_ptr, ptr0, len0);
6519
+ wasm.__wbg_set_remoteattachment_url(this.__wbg_ptr, ptr0, len0);
5844
6520
  }
5845
6521
  /**
5846
6522
  * @returns {string}
@@ -5863,7 +6539,7 @@ export class RemoteAttachment {
5863
6539
  set contentDigest(arg0) {
5864
6540
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5865
6541
  const len0 = WASM_VECTOR_LEN;
5866
- wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
6542
+ wasm.__wbg_set_remoteattachment_contentDigest(this.__wbg_ptr, ptr0, len0);
5867
6543
  }
5868
6544
  /**
5869
6545
  * @returns {Uint8Array}
@@ -5880,7 +6556,7 @@ export class RemoteAttachment {
5880
6556
  set secret(arg0) {
5881
6557
  const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
5882
6558
  const len0 = WASM_VECTOR_LEN;
5883
- wasm.__wbg_set_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr, ptr0, len0);
6559
+ wasm.__wbg_set_remoteattachment_secret(this.__wbg_ptr, ptr0, len0);
5884
6560
  }
5885
6561
  /**
5886
6562
  * @returns {Uint8Array}
@@ -5943,14 +6619,14 @@ export class RemoteAttachment {
5943
6619
  * @returns {bigint}
5944
6620
  */
5945
6621
  get contentLength() {
5946
- const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
6622
+ const ret = wasm.__wbg_get_remoteattachment_contentLength(this.__wbg_ptr);
5947
6623
  return ret;
5948
6624
  }
5949
6625
  /**
5950
6626
  * @param {bigint} arg0
5951
6627
  */
5952
6628
  set contentLength(arg0) {
5953
- wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
6629
+ wasm.__wbg_set_remoteattachment_contentLength(this.__wbg_ptr, arg0);
5954
6630
  }
5955
6631
  /**
5956
6632
  * @returns {string | undefined}
@@ -6175,6 +6851,109 @@ export class RemoteAttachmentInfo {
6175
6851
  }
6176
6852
  if (Symbol.dispose) RemoteAttachmentInfo.prototype[Symbol.dispose] = RemoteAttachmentInfo.prototype.free;
6177
6853
 
6854
+ const ReplyFinalization = (typeof FinalizationRegistry === 'undefined')
6855
+ ? { register: () => {}, unregister: () => {} }
6856
+ : new FinalizationRegistry(ptr => wasm.__wbg_reply_free(ptr >>> 0, 1));
6857
+
6858
+ export class Reply {
6859
+
6860
+ static __wrap(ptr) {
6861
+ ptr = ptr >>> 0;
6862
+ const obj = Object.create(Reply.prototype);
6863
+ obj.__wbg_ptr = ptr;
6864
+ ReplyFinalization.register(obj, obj.__wbg_ptr, obj);
6865
+ return obj;
6866
+ }
6867
+
6868
+ __destroy_into_raw() {
6869
+ const ptr = this.__wbg_ptr;
6870
+ this.__wbg_ptr = 0;
6871
+ ReplyFinalization.unregister(this);
6872
+ return ptr;
6873
+ }
6874
+
6875
+ free() {
6876
+ const ptr = this.__destroy_into_raw();
6877
+ wasm.__wbg_reply_free(ptr, 0);
6878
+ }
6879
+ /**
6880
+ * @returns {EncodedContent}
6881
+ */
6882
+ get content() {
6883
+ const ret = wasm.__wbg_get_reply_content(this.__wbg_ptr);
6884
+ return EncodedContent.__wrap(ret);
6885
+ }
6886
+ /**
6887
+ * @param {EncodedContent} arg0
6888
+ */
6889
+ set content(arg0) {
6890
+ _assertClass(arg0, EncodedContent);
6891
+ var ptr0 = arg0.__destroy_into_raw();
6892
+ wasm.__wbg_set_reply_content(this.__wbg_ptr, ptr0);
6893
+ }
6894
+ /**
6895
+ * @returns {string}
6896
+ */
6897
+ get reference() {
6898
+ let deferred1_0;
6899
+ let deferred1_1;
6900
+ try {
6901
+ const ret = wasm.__wbg_get_reply_reference(this.__wbg_ptr);
6902
+ deferred1_0 = ret[0];
6903
+ deferred1_1 = ret[1];
6904
+ return getStringFromWasm0(ret[0], ret[1]);
6905
+ } finally {
6906
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6907
+ }
6908
+ }
6909
+ /**
6910
+ * @param {string} arg0
6911
+ */
6912
+ set reference(arg0) {
6913
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6914
+ const len0 = WASM_VECTOR_LEN;
6915
+ wasm.__wbg_set_reply_reference(this.__wbg_ptr, ptr0, len0);
6916
+ }
6917
+ /**
6918
+ * @returns {string | undefined}
6919
+ */
6920
+ get referenceInboxId() {
6921
+ const ret = wasm.__wbg_get_reply_referenceInboxId(this.__wbg_ptr);
6922
+ let v1;
6923
+ if (ret[0] !== 0) {
6924
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
6925
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
6926
+ }
6927
+ return v1;
6928
+ }
6929
+ /**
6930
+ * @param {string | null} [arg0]
6931
+ */
6932
+ set referenceInboxId(arg0) {
6933
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6934
+ var len0 = WASM_VECTOR_LEN;
6935
+ wasm.__wbg_set_reply_referenceInboxId(this.__wbg_ptr, ptr0, len0);
6936
+ }
6937
+ /**
6938
+ * @param {EncodedContent} content
6939
+ * @param {string} reference
6940
+ * @param {string | null} [referenceInboxId]
6941
+ */
6942
+ constructor(content, reference, referenceInboxId) {
6943
+ _assertClass(content, EncodedContent);
6944
+ var ptr0 = content.__destroy_into_raw();
6945
+ const ptr1 = passStringToWasm0(reference, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6946
+ const len1 = WASM_VECTOR_LEN;
6947
+ var ptr2 = isLikeNone(referenceInboxId) ? 0 : passStringToWasm0(referenceInboxId, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6948
+ var len2 = WASM_VECTOR_LEN;
6949
+ const ret = wasm.reply_new(ptr0, ptr1, len1, ptr2, len2);
6950
+ this.__wbg_ptr = ret >>> 0;
6951
+ ReplyFinalization.register(this, this.__wbg_ptr, this);
6952
+ return this;
6953
+ }
6954
+ }
6955
+ if (Symbol.dispose) Reply.prototype[Symbol.dispose] = Reply.prototype.free;
6956
+
6178
6957
  const SendMessageOptsFinalization = (typeof FinalizationRegistry === 'undefined')
6179
6958
  ? { register: () => {}, unregister: () => {} }
6180
6959
  : new FinalizationRegistry(ptr => wasm.__wbg_sendmessageopts_free(ptr >>> 0, 1));
@@ -6387,7 +7166,7 @@ export class TextContent {
6387
7166
  set content(arg0) {
6388
7167
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6389
7168
  const len0 = WASM_VECTOR_LEN;
6390
- wasm.__wbg_set_textcontent_content(this.__wbg_ptr, ptr0, len0);
7169
+ wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
6391
7170
  }
6392
7171
  }
6393
7172
  if (Symbol.dispose) TextContent.prototype[Symbol.dispose] = TextContent.prototype.free;
@@ -6461,7 +7240,7 @@ export class TransactionMetadata {
6461
7240
  set currency(arg0) {
6462
7241
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6463
7242
  const len0 = WASM_VECTOR_LEN;
6464
- wasm.__wbg_set_reaction_content(this.__wbg_ptr, ptr0, len0);
7243
+ wasm.__wbg_set_transactionmetadata_currency(this.__wbg_ptr, ptr0, len0);
6465
7244
  }
6466
7245
  /**
6467
7246
  * @returns {number}
@@ -6749,67 +7528,156 @@ async function __wbg_load(module, imports) {
6749
7528
  function __wbg_get_imports() {
6750
7529
  const imports = {};
6751
7530
  imports.wbg = {};
6752
- imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
7531
+ imports.wbg.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
6753
7532
  const ret = Error(getStringFromWasm0(arg0, arg1));
6754
7533
  return ret;
6755
7534
  };
6756
- imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
6757
- const ret = String(arg1);
7535
+ imports.wbg.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
7536
+ const ret = Number(arg0);
7537
+ return ret;
7538
+ };
7539
+ imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
7540
+ const ret = String(arg1);
7541
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7542
+ const len1 = WASM_VECTOR_LEN;
7543
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7544
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7545
+ };
7546
+ imports.wbg.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function(arg0, arg1) {
7547
+ const v = arg1;
7548
+ const ret = typeof(v) === 'bigint' ? v : undefined;
7549
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
7550
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7551
+ };
7552
+ imports.wbg.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
7553
+ const v = arg0;
7554
+ const ret = typeof(v) === 'boolean' ? v : undefined;
7555
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
7556
+ };
7557
+ imports.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
7558
+ const ret = debugString(arg1);
6758
7559
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6759
7560
  const len1 = WASM_VECTOR_LEN;
6760
7561
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
6761
7562
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
6762
7563
  };
6763
- imports.wbg.__wbg_abort_67e1b49bf6614565 = function(arg0) {
6764
- arg0.abort();
7564
+ imports.wbg.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
7565
+ const ret = arg0 in arg1;
7566
+ return ret;
7567
+ };
7568
+ imports.wbg.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function(arg0) {
7569
+ const ret = typeof(arg0) === 'bigint';
7570
+ return ret;
7571
+ };
7572
+ imports.wbg.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
7573
+ const ret = typeof(arg0) === 'function';
7574
+ return ret;
7575
+ };
7576
+ imports.wbg.__wbg___wbindgen_is_null_5e69f72e906cc57c = function(arg0) {
7577
+ const ret = arg0 === null;
7578
+ return ret;
7579
+ };
7580
+ imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
7581
+ const val = arg0;
7582
+ const ret = typeof(val) === 'object' && val !== null;
7583
+ return ret;
7584
+ };
7585
+ imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
7586
+ const ret = typeof(arg0) === 'string';
7587
+ return ret;
7588
+ };
7589
+ imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
7590
+ const ret = arg0 === undefined;
7591
+ return ret;
7592
+ };
7593
+ imports.wbg.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
7594
+ const ret = arg0 === arg1;
7595
+ return ret;
7596
+ };
7597
+ imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
7598
+ const ret = arg0 == arg1;
7599
+ return ret;
7600
+ };
7601
+ imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
7602
+ const obj = arg1;
7603
+ const ret = typeof(obj) === 'number' ? obj : undefined;
7604
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
7605
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7606
+ };
7607
+ imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
7608
+ const obj = arg1;
7609
+ const ret = typeof(obj) === 'string' ? obj : undefined;
7610
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7611
+ var len1 = WASM_VECTOR_LEN;
7612
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7613
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7614
+ };
7615
+ imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
7616
+ throw new Error(getStringFromWasm0(arg0, arg1));
7617
+ };
7618
+ imports.wbg.__wbg___wbindgen_try_into_number_e60ef6e208abc399 = function(arg0) {
7619
+ let result;
7620
+ try { result = +arg0 } catch (e) { result = e }
7621
+ const ret = result;
7622
+ return ret;
6765
7623
  };
6766
- imports.wbg.__wbg_abort_d830bf2e9aa6ec5b = function(arg0, arg1) {
7624
+ imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
7625
+ arg0._wbg_cb_unref();
7626
+ };
7627
+ imports.wbg.__wbg_abort_28ad55c5825b004d = function(arg0, arg1) {
6767
7628
  arg0.abort(arg1);
6768
7629
  };
6769
- imports.wbg.__wbg_add_bd7fa428f539a577 = function(arg0, arg1) {
6770
- const ret = arg0.add(arg1);
7630
+ imports.wbg.__wbg_abort_e7eb059f72f9ed0c = function(arg0) {
7631
+ arg0.abort();
7632
+ };
7633
+ imports.wbg.__wbg_action_new = function(arg0) {
7634
+ const ret = Action.__wrap(arg0);
7635
+ return ret;
7636
+ };
7637
+ imports.wbg.__wbg_action_unwrap = function(arg0) {
7638
+ const ret = Action.__unwrap(arg0);
6771
7639
  return ret;
6772
7640
  };
6773
- imports.wbg.__wbg_append_72a3c0addd2bce38 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
7641
+ imports.wbg.__wbg_append_b577eb3a177bc0fa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
6774
7642
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
6775
7643
  }, arguments) };
6776
- imports.wbg.__wbg_arrayBuffer_9c99b8e2809e8cbb = function() { return handleError(function (arg0) {
7644
+ imports.wbg.__wbg_arrayBuffer_b375eccb84b4ddf3 = function() { return handleError(function (arg0) {
6777
7645
  const ret = arg0.arrayBuffer();
6778
7646
  return ret;
6779
7647
  }, arguments) };
6780
- imports.wbg.__wbg_body_4851aa049324a851 = function(arg0) {
7648
+ imports.wbg.__wbg_body_587542b2fd8e06c0 = function(arg0) {
6781
7649
  const ret = arg0.body;
6782
7650
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
6783
7651
  };
6784
- imports.wbg.__wbg_buffer_8d40b1d762fb3c66 = function(arg0) {
7652
+ imports.wbg.__wbg_buffer_ccc4520b36d3ccf4 = function(arg0) {
6785
7653
  const ret = arg0.buffer;
6786
7654
  return ret;
6787
7655
  };
6788
- imports.wbg.__wbg_byobRequest_2c036bceca1e6037 = function(arg0) {
7656
+ imports.wbg.__wbg_byobRequest_2344e6975f27456e = function(arg0) {
6789
7657
  const ret = arg0.byobRequest;
6790
7658
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
6791
7659
  };
6792
- imports.wbg.__wbg_byteLength_331a6b5545834024 = function(arg0) {
7660
+ imports.wbg.__wbg_byteLength_bcd42e4025299788 = function(arg0) {
6793
7661
  const ret = arg0.byteLength;
6794
7662
  return ret;
6795
7663
  };
6796
- imports.wbg.__wbg_byteOffset_49a5b5608000358b = function(arg0) {
7664
+ imports.wbg.__wbg_byteOffset_ca3a6cf7944b364b = function(arg0) {
6797
7665
  const ret = arg0.byteOffset;
6798
7666
  return ret;
6799
7667
  };
6800
- imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
6801
- const ret = arg0.call(arg1);
7668
+ imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
7669
+ const ret = arg0.call(arg1, arg2);
6802
7670
  return ret;
6803
7671
  }, arguments) };
6804
- imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) {
6805
- const ret = arg0.call(arg1, arg2);
7672
+ imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
7673
+ const ret = arg0.call(arg1);
6806
7674
  return ret;
6807
7675
  }, arguments) };
6808
- imports.wbg.__wbg_cancel_8bb5b8f4906b658a = function(arg0) {
7676
+ imports.wbg.__wbg_cancel_48ab6f9dc366e369 = function(arg0) {
6809
7677
  const ret = arg0.cancel();
6810
7678
  return ret;
6811
7679
  };
6812
- imports.wbg.__wbg_catch_c80ecae90cb8ed4e = function(arg0, arg1) {
7680
+ imports.wbg.__wbg_catch_943836faa5d29bfb = function(arg0, arg1) {
6813
7681
  const ret = arg0.catch(arg1);
6814
7682
  return ret;
6815
7683
  };
@@ -6825,30 +7693,24 @@ function __wbg_get_imports() {
6825
7693
  const ret = clearTimeout(arg0);
6826
7694
  return ret;
6827
7695
  };
6828
- imports.wbg.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
7696
+ imports.wbg.__wbg_clearTimeout_7a42b49784aea641 = function(arg0) {
6829
7697
  const ret = clearTimeout(arg0);
6830
7698
  return ret;
6831
7699
  };
6832
- imports.wbg.__wbg_clear_dcb6cf8aaaa1dbd5 = function(arg0) {
6833
- arg0.clear();
6834
- };
6835
- imports.wbg.__wbg_clear_f94469174061203f = function(arg0) {
6836
- arg0.clear();
6837
- };
6838
7700
  imports.wbg.__wbg_client_new = function(arg0) {
6839
7701
  const ret = Client.__wrap(arg0);
6840
7702
  return ret;
6841
7703
  };
6842
- imports.wbg.__wbg_close_9870d6f25f3c1f31 = function(arg0) {
6843
- arg0.close();
6844
- };
6845
- imports.wbg.__wbg_close_cccada6053ee3a65 = function() { return handleError(function (arg0) {
7704
+ imports.wbg.__wbg_close_5a6caed3231b68cd = function() { return handleError(function (arg0) {
6846
7705
  arg0.close();
6847
7706
  }, arguments) };
6848
- imports.wbg.__wbg_close_d71a78219dc23e91 = function() { return handleError(function (arg0) {
7707
+ imports.wbg.__wbg_close_6956df845478561a = function() { return handleError(function (arg0) {
6849
7708
  arg0.close();
6850
7709
  }, arguments) };
6851
- imports.wbg.__wbg_code_89056d52bf1a8bb0 = function(arg0) {
7710
+ imports.wbg.__wbg_close_6b987dbb02427741 = function(arg0) {
7711
+ arg0.close();
7712
+ };
7713
+ imports.wbg.__wbg_code_218f5fdf8c7fcabd = function(arg0) {
6852
7714
  const ret = arg0.code;
6853
7715
  return ret;
6854
7716
  };
@@ -6864,11 +7726,11 @@ function __wbg_get_imports() {
6864
7726
  const ret = ConversationListItem.__wrap(arg0);
6865
7727
  return ret;
6866
7728
  };
6867
- imports.wbg.__wbg_createSyncAccessHandle_d06aab2e41a339b2 = function(arg0) {
7729
+ imports.wbg.__wbg_createSyncAccessHandle_63bd856e74273e32 = function(arg0) {
6868
7730
  const ret = arg0.createSyncAccessHandle();
6869
7731
  return ret;
6870
7732
  };
6871
- imports.wbg.__wbg_create_c81beed67ad2881c = function(arg0) {
7733
+ imports.wbg.__wbg_create_f2b6bfa66a83e88e = function(arg0) {
6872
7734
  const ret = Object.create(arg0);
6873
7735
  return ret;
6874
7736
  };
@@ -6876,10 +7738,10 @@ function __wbg_get_imports() {
6876
7738
  const ret = arg0.crypto;
6877
7739
  return ret;
6878
7740
  };
6879
- imports.wbg.__wbg_debug_7f3000e7358ea482 = function(arg0, arg1, arg2, arg3) {
7741
+ imports.wbg.__wbg_debug_e55e1461940eb14d = function(arg0, arg1, arg2, arg3) {
6880
7742
  console.debug(arg0, arg1, arg2, arg3);
6881
7743
  };
6882
- imports.wbg.__wbg_debug_c906769d2f88c17b = function(arg0) {
7744
+ imports.wbg.__wbg_debug_f4b0c59db649db48 = function(arg0) {
6883
7745
  console.debug(arg0);
6884
7746
  };
6885
7747
  imports.wbg.__wbg_decodedmessage_new = function(arg0) {
@@ -6890,32 +7752,21 @@ function __wbg_get_imports() {
6890
7752
  const ret = DecodedMessage.__unwrap(arg0);
6891
7753
  return ret;
6892
7754
  };
6893
- imports.wbg.__wbg_delete_34b4d9b89634f0c0 = function(arg0, arg1) {
6894
- const ret = arg0.delete(arg1);
6895
- return ret;
6896
- };
6897
- imports.wbg.__wbg_delete_ded22f5899363180 = function(arg0, arg1) {
6898
- const ret = arg0.delete(arg1);
6899
- return ret;
6900
- };
6901
- imports.wbg.__wbg_done_75ed0ee6dd243d9d = function(arg0) {
7755
+ imports.wbg.__wbg_done_2042aa2670fb1db1 = function(arg0) {
6902
7756
  const ret = arg0.done;
6903
7757
  return ret;
6904
7758
  };
6905
- imports.wbg.__wbg_enqueue_452bc2343d1c2ff9 = function() { return handleError(function (arg0, arg1) {
7759
+ imports.wbg.__wbg_enqueue_7b18a650aec77898 = function() { return handleError(function (arg0, arg1) {
6906
7760
  arg0.enqueue(arg1);
6907
7761
  }, arguments) };
6908
- imports.wbg.__wbg_entries_1a3c3b9544532397 = function(arg0) {
7762
+ imports.wbg.__wbg_entries_a1e792d46512c8bf = function(arg0) {
6909
7763
  const ret = arg0.entries();
6910
7764
  return ret;
6911
7765
  };
6912
- imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) {
7766
+ imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
6913
7767
  const ret = Object.entries(arg0);
6914
7768
  return ret;
6915
7769
  };
6916
- imports.wbg.__wbg_error_0889f151acea569e = function(arg0, arg1, arg2, arg3) {
6917
- console.error(arg0, arg1, arg2, arg3);
6918
- };
6919
7770
  imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
6920
7771
  let deferred0_0;
6921
7772
  let deferred0_1;
@@ -6927,133 +7778,132 @@ function __wbg_get_imports() {
6927
7778
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
6928
7779
  }
6929
7780
  };
6930
- imports.wbg.__wbg_error_99981e16d476aa5c = function(arg0) {
7781
+ imports.wbg.__wbg_error_a7f8fbb0523dae15 = function(arg0) {
6931
7782
  console.error(arg0);
6932
7783
  };
7784
+ imports.wbg.__wbg_error_d8b22cf4e59a6791 = function(arg0, arg1, arg2, arg3) {
7785
+ console.error(arg0, arg1, arg2, arg3);
7786
+ };
6933
7787
  imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
6934
7788
  console.error(getStringFromWasm0(arg0, arg1));
6935
7789
  };
6936
- imports.wbg.__wbg_fetch_36d024dbd9192353 = function(arg0, arg1, arg2) {
6937
- const ret = arg0.fetch(arg1, arg2);
6938
- return ret;
6939
- };
6940
7790
  imports.wbg.__wbg_fetch_53eef7df7b439a49 = function(arg0, arg1) {
6941
7791
  const ret = fetch(arg0, arg1);
6942
7792
  return ret;
6943
7793
  };
6944
- imports.wbg.__wbg_fetch_87aed7f306ec6d63 = function(arg0, arg1) {
6945
- const ret = arg0.fetch(arg1);
7794
+ imports.wbg.__wbg_fetch_74a3e84ebd2c9a0e = function(arg0) {
7795
+ const ret = fetch(arg0);
6946
7796
  return ret;
6947
7797
  };
6948
- imports.wbg.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
6949
- const ret = fetch(arg0);
7798
+ imports.wbg.__wbg_fetch_8725865ff47e7fcc = function(arg0, arg1, arg2) {
7799
+ const ret = arg0.fetch(arg1, arg2);
7800
+ return ret;
7801
+ };
7802
+ imports.wbg.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
7803
+ const ret = arg0.fetch(arg1);
6950
7804
  return ret;
6951
7805
  };
6952
- imports.wbg.__wbg_fill_c8751cf67b766c70 = function(arg0, arg1, arg2, arg3) {
7806
+ imports.wbg.__wbg_fill_f6f1b48c9e4bb626 = function(arg0, arg1, arg2, arg3) {
6953
7807
  const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
6954
7808
  return ret;
6955
7809
  };
6956
- imports.wbg.__wbg_flush_d2487a24f3bc3cf4 = function() { return handleError(function (arg0) {
7810
+ imports.wbg.__wbg_flush_b49c3916f841ba87 = function() { return handleError(function (arg0) {
6957
7811
  arg0.flush();
6958
7812
  }, arguments) };
6959
- imports.wbg.__wbg_from_88bc52ce20ba6318 = function(arg0) {
7813
+ imports.wbg.__wbg_from_a4ad7cbddd0d7135 = function(arg0) {
6960
7814
  const ret = Array.from(arg0);
6961
7815
  return ret;
6962
7816
  };
6963
- imports.wbg.__wbg_getDate_9615e288fc892247 = function(arg0) {
7817
+ imports.wbg.__wbg_getDate_5a70d2f6a482d99f = function(arg0) {
6964
7818
  const ret = arg0.getDate();
6965
7819
  return ret;
6966
7820
  };
6967
- imports.wbg.__wbg_getDay_c9c4f57fb4ef6fef = function(arg0) {
7821
+ imports.wbg.__wbg_getDay_a150a3fd757619d1 = function(arg0) {
6968
7822
  const ret = arg0.getDay();
6969
7823
  return ret;
6970
7824
  };
6971
- imports.wbg.__wbg_getDirectoryHandle_0fb26677897f1e21 = function(arg0, arg1, arg2, arg3) {
7825
+ imports.wbg.__wbg_getDirectoryHandle_45b9305ebb42f05a = function(arg0, arg1, arg2, arg3) {
6972
7826
  const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
6973
7827
  return ret;
6974
7828
  };
6975
- imports.wbg.__wbg_getDirectory_8564f4b4ae7ee35c = function(arg0) {
7829
+ imports.wbg.__wbg_getDirectory_7e7a55f640412401 = function(arg0) {
6976
7830
  const ret = arg0.getDirectory();
6977
7831
  return ret;
6978
7832
  };
6979
- imports.wbg.__wbg_getFileHandle_9f23d09c2497fa5f = function(arg0, arg1, arg2, arg3) {
7833
+ imports.wbg.__wbg_getFileHandle_acd9b5e4404b60dd = function(arg0, arg1, arg2, arg3) {
6980
7834
  const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
6981
7835
  return ret;
6982
7836
  };
6983
- imports.wbg.__wbg_getFullYear_e351a9fa7d2fab83 = function(arg0) {
7837
+ imports.wbg.__wbg_getFullYear_8240d5a15191feae = function(arg0) {
6984
7838
  const ret = arg0.getFullYear();
6985
7839
  return ret;
6986
7840
  };
6987
- imports.wbg.__wbg_getHours_4cc14de357c9e723 = function(arg0) {
7841
+ imports.wbg.__wbg_getHours_5e476e0b9ebc42d1 = function(arg0) {
6988
7842
  const ret = arg0.getHours();
6989
7843
  return ret;
6990
7844
  };
6991
- imports.wbg.__wbg_getMinutes_6cde8fdd08b0c2ec = function(arg0) {
7845
+ imports.wbg.__wbg_getMinutes_c95dfb65f1ea8f02 = function(arg0) {
6992
7846
  const ret = arg0.getMinutes();
6993
7847
  return ret;
6994
7848
  };
6995
- imports.wbg.__wbg_getMonth_8cc234bce5c8bcac = function(arg0) {
7849
+ imports.wbg.__wbg_getMonth_25c1c5a601d72773 = function(arg0) {
6996
7850
  const ret = arg0.getMonth();
6997
7851
  return ret;
6998
7852
  };
6999
- imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() { return handleError(function (arg0, arg1) {
7000
- globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
7001
- }, arguments) };
7002
- imports.wbg.__wbg_getRandomValues_8e6341dd77432a34 = function() { return handleError(function (arg0, arg1) {
7853
+ imports.wbg.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
7003
7854
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
7004
7855
  }, arguments) };
7005
7856
  imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
7006
7857
  arg0.getRandomValues(arg1);
7007
7858
  }, arguments) };
7859
+ imports.wbg.__wbg_getRandomValues_c51ec1a88ebf4945 = function() { return handleError(function (arg0, arg1) {
7860
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
7861
+ }, arguments) };
7008
7862
  imports.wbg.__wbg_getReader_48e00749fe3f6089 = function() { return handleError(function (arg0) {
7009
7863
  const ret = arg0.getReader();
7010
7864
  return ret;
7011
7865
  }, arguments) };
7012
- imports.wbg.__wbg_getSeconds_c2f02452d804ece0 = function(arg0) {
7866
+ imports.wbg.__wbg_getSeconds_8113bf8709718eb2 = function(arg0) {
7013
7867
  const ret = arg0.getSeconds();
7014
7868
  return ret;
7015
7869
  };
7016
- imports.wbg.__wbg_getSize_56a06761973a6cd7 = function() { return handleError(function (arg0) {
7870
+ imports.wbg.__wbg_getSize_f43fed70ca1762f1 = function() { return handleError(function (arg0) {
7017
7871
  const ret = arg0.getSize();
7018
7872
  return ret;
7019
7873
  }, arguments) };
7020
- imports.wbg.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
7874
+ imports.wbg.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
7021
7875
  const ret = arg0.getTime();
7022
7876
  return ret;
7023
7877
  };
7024
- imports.wbg.__wbg_getTimezoneOffset_1e3ddc1382e7c8b0 = function(arg0) {
7878
+ imports.wbg.__wbg_getTimezoneOffset_d391cb11d54969f8 = function(arg0) {
7025
7879
  const ret = arg0.getTimezoneOffset();
7026
7880
  return ret;
7027
7881
  };
7028
- imports.wbg.__wbg_getUint32_2dc0ed17b0324774 = function(arg0, arg1) {
7882
+ imports.wbg.__wbg_getUint32_741d4a7dc32fc0d5 = function(arg0, arg1) {
7029
7883
  const ret = arg0.getUint32(arg1 >>> 0);
7030
7884
  return ret;
7031
7885
  };
7032
- imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
7886
+ imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
7033
7887
  const ret = arg0[arg1 >>> 0];
7034
7888
  return ret;
7035
7889
  };
7036
- imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
7037
- const ret = Reflect.get(arg0, arg1);
7038
- return ret;
7039
- }, arguments) };
7040
- imports.wbg.__wbg_get_5ee3191755594360 = function(arg0, arg1) {
7041
- const ret = arg0.get(arg1);
7042
- return ret;
7043
- };
7044
- imports.wbg.__wbg_getdone_f026246f6bbe58d3 = function(arg0) {
7890
+ imports.wbg.__wbg_get_done_a0463af43a1fc764 = function(arg0) {
7045
7891
  const ret = arg0.done;
7046
7892
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
7047
7893
  };
7048
- imports.wbg.__wbg_getindex_61bb13d19869849b = function(arg0, arg1) {
7894
+ imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
7895
+ const ret = Reflect.get(arg0, arg1);
7896
+ return ret;
7897
+ }, arguments) };
7898
+ imports.wbg.__wbg_get_index_af1d9818a935f6ae = function(arg0, arg1) {
7049
7899
  const ret = arg0[arg1 >>> 0];
7050
7900
  return ret;
7051
7901
  };
7052
- imports.wbg.__wbg_getvalue_31e5a08f61e5aa42 = function(arg0) {
7902
+ imports.wbg.__wbg_get_value_5ce96c9f81ce7398 = function(arg0) {
7053
7903
  const ret = arg0.value;
7054
7904
  return ret;
7055
7905
  };
7056
- imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
7906
+ imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
7057
7907
  const ret = arg0[arg1];
7058
7908
  return ret;
7059
7909
  };
@@ -7065,15 +7915,11 @@ function __wbg_get_imports() {
7065
7915
  const ret = GroupSyncSummary.__wrap(arg0);
7066
7916
  return ret;
7067
7917
  };
7068
- imports.wbg.__wbg_has_6a9bff5f4208cfca = function(arg0, arg1) {
7069
- const ret = arg0.has(arg1);
7070
- return ret;
7071
- };
7072
- imports.wbg.__wbg_has_b89e451f638123e3 = function() { return handleError(function (arg0, arg1) {
7918
+ imports.wbg.__wbg_has_787fafc980c3ccdb = function() { return handleError(function (arg0, arg1) {
7073
7919
  const ret = Reflect.has(arg0, arg1);
7074
7920
  return ret;
7075
7921
  }, arguments) };
7076
- imports.wbg.__wbg_headers_29fec3c72865cd75 = function(arg0) {
7922
+ imports.wbg.__wbg_headers_b87d7eaba61c3278 = function(arg0) {
7077
7923
  const ret = arg0.headers;
7078
7924
  return ret;
7079
7925
  };
@@ -7089,10 +7935,10 @@ function __wbg_get_imports() {
7089
7935
  const ret = InboxState.__wrap(arg0);
7090
7936
  return ret;
7091
7937
  };
7092
- imports.wbg.__wbg_info_15c3631232fceddb = function(arg0, arg1, arg2, arg3) {
7938
+ imports.wbg.__wbg_info_68cd5b51ef7e5137 = function(arg0, arg1, arg2, arg3) {
7093
7939
  console.info(arg0, arg1, arg2, arg3);
7094
7940
  };
7095
- imports.wbg.__wbg_info_6cf68c1a86a92f6a = function(arg0) {
7941
+ imports.wbg.__wbg_info_e674a11f4f50cc0c = function(arg0) {
7096
7942
  console.info(arg0);
7097
7943
  };
7098
7944
  imports.wbg.__wbg_installation_new = function(arg0) {
@@ -7103,7 +7949,7 @@ function __wbg_get_imports() {
7103
7949
  const ret = Installation.__unwrap(arg0);
7104
7950
  return ret;
7105
7951
  };
7106
- imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
7952
+ imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
7107
7953
  let result;
7108
7954
  try {
7109
7955
  result = arg0 instanceof ArrayBuffer;
@@ -7113,7 +7959,7 @@ function __wbg_get_imports() {
7113
7959
  const ret = result;
7114
7960
  return ret;
7115
7961
  };
7116
- imports.wbg.__wbg_instanceof_DomException_bd63c2a0e0b53ed5 = function(arg0) {
7962
+ imports.wbg.__wbg_instanceof_DomException_83b15e7b042a0b1a = function(arg0) {
7117
7963
  let result;
7118
7964
  try {
7119
7965
  result = arg0 instanceof DOMException;
@@ -7123,7 +7969,17 @@ function __wbg_get_imports() {
7123
7969
  const ret = result;
7124
7970
  return ret;
7125
7971
  };
7126
- imports.wbg.__wbg_instanceof_Response_50fde2cd696850bf = function(arg0) {
7972
+ imports.wbg.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
7973
+ let result;
7974
+ try {
7975
+ result = arg0 instanceof Map;
7976
+ } catch (_) {
7977
+ result = false;
7978
+ }
7979
+ const ret = result;
7980
+ return ret;
7981
+ };
7982
+ imports.wbg.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
7127
7983
  let result;
7128
7984
  try {
7129
7985
  result = arg0 instanceof Response;
@@ -7133,7 +7989,7 @@ function __wbg_get_imports() {
7133
7989
  const ret = result;
7134
7990
  return ret;
7135
7991
  };
7136
- imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
7992
+ imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
7137
7993
  let result;
7138
7994
  try {
7139
7995
  result = arg0 instanceof Uint8Array;
@@ -7143,7 +7999,7 @@ function __wbg_get_imports() {
7143
7999
  const ret = result;
7144
8000
  return ret;
7145
8001
  };
7146
- imports.wbg.__wbg_instanceof_WorkerGlobalScope_85d487cc157fd065 = function(arg0) {
8002
+ imports.wbg.__wbg_instanceof_WorkerGlobalScope_e31f49b6d33fcadd = function(arg0) {
7147
8003
  let result;
7148
8004
  try {
7149
8005
  result = arg0 instanceof WorkerGlobalScope;
@@ -7153,27 +8009,27 @@ function __wbg_get_imports() {
7153
8009
  const ret = result;
7154
8010
  return ret;
7155
8011
  };
7156
- imports.wbg.__wbg_iterator_f370b34483c71a1c = function() {
7157
- const ret = Symbol.iterator;
8012
+ imports.wbg.__wbg_isArray_96e0af9891d0945d = function(arg0) {
8013
+ const ret = Array.isArray(arg0);
7158
8014
  return ret;
7159
8015
  };
7160
- imports.wbg.__wbg_keys_200bc2675df61794 = function(arg0) {
7161
- const ret = arg0.keys();
8016
+ imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
8017
+ const ret = Number.isSafeInteger(arg0);
7162
8018
  return ret;
7163
8019
  };
7164
- imports.wbg.__wbg_keys_822161a7faf55538 = function(arg0) {
7165
- const ret = arg0.keys();
8020
+ imports.wbg.__wbg_iterator_e5822695327a3c39 = function() {
8021
+ const ret = Symbol.iterator;
7166
8022
  return ret;
7167
8023
  };
7168
- imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) {
8024
+ imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
7169
8025
  const ret = arg0.length;
7170
8026
  return ret;
7171
8027
  };
7172
- imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
8028
+ imports.wbg.__wbg_length_a95b69f903b746c4 = function(arg0) {
7173
8029
  const ret = arg0.length;
7174
8030
  return ret;
7175
8031
  };
7176
- imports.wbg.__wbg_length_9d771c54845e987f = function(arg0) {
8032
+ imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
7177
8033
  const ret = arg0.length;
7178
8034
  return ret;
7179
8035
  };
@@ -7189,7 +8045,7 @@ function __wbg_get_imports() {
7189
8045
  imports.wbg.__wbg_measure_7728846525e2cced = function() { return handleError(function (arg0, arg1, arg2, arg3) {
7190
8046
  arg0.measure(getStringFromWasm0(arg1, arg2), arg3);
7191
8047
  }, arguments) };
7192
- imports.wbg.__wbg_message_5481231e71ccaf7b = function(arg0, arg1) {
8048
+ imports.wbg.__wbg_message_bd42dbe3f2f3ed8e = function(arg0, arg1) {
7193
8049
  const ret = arg1.message;
7194
8050
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7195
8051
  const len1 = WASM_VECTOR_LEN;
@@ -7220,41 +8076,41 @@ function __wbg_get_imports() {
7220
8076
  const ret = arg0.msCrypto;
7221
8077
  return ret;
7222
8078
  };
7223
- imports.wbg.__wbg_name_f75f535832c8ea6b = function(arg0, arg1) {
8079
+ imports.wbg.__wbg_name_3a33ad25b892b2dd = function(arg0, arg1) {
7224
8080
  const ret = arg1.name;
7225
8081
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7226
8082
  const len1 = WASM_VECTOR_LEN;
7227
8083
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7228
8084
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7229
8085
  };
7230
- imports.wbg.__wbg_navigator_bfaf1b0b0eb48da2 = function(arg0) {
8086
+ imports.wbg.__wbg_navigator_ae06f1666ea7c968 = function(arg0) {
7231
8087
  const ret = arg0.navigator;
7232
8088
  return ret;
7233
8089
  };
7234
- imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() {
8090
+ imports.wbg.__wbg_new_0_f9740686d739025c = function() {
7235
8091
  const ret = new Date();
7236
8092
  return ret;
7237
8093
  };
7238
- imports.wbg.__wbg_new_0dc86f3faa8a3b53 = function(arg0) {
7239
- const ret = new Set(arg0);
7240
- return ret;
7241
- };
7242
- imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() {
8094
+ imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
7243
8095
  const ret = new Object();
7244
8096
  return ret;
7245
8097
  };
7246
- imports.wbg.__wbg_new_1f3a344cf3123716 = function() {
7247
- const ret = new Array();
8098
+ imports.wbg.__wbg_new_1c342efbe54a5bfd = function(arg0, arg1, arg2) {
8099
+ const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0);
7248
8100
  return ret;
7249
8101
  };
7250
- imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) {
8102
+ imports.wbg.__wbg_new_2531773dac38ebb3 = function() { return handleError(function () {
8103
+ const ret = new AbortController();
8104
+ return ret;
8105
+ }, arguments) };
8106
+ imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
7251
8107
  try {
7252
8108
  var state0 = {a: arg0, b: arg1};
7253
8109
  var cb0 = (arg0, arg1) => {
7254
8110
  const a = state0.a;
7255
8111
  state0.a = 0;
7256
8112
  try {
7257
- return __wbg_adapter_899(a, state0.b, arg0, arg1);
8113
+ return wasm_bindgen__convert__closures_____invoke__h18a484e2affd7fe5(a, state0.b, arg0, arg1);
7258
8114
  } finally {
7259
8115
  state0.a = a;
7260
8116
  }
@@ -7265,75 +8121,71 @@ function __wbg_get_imports() {
7265
8121
  state0.a = state0.b = 0;
7266
8122
  }
7267
8123
  };
7268
- imports.wbg.__wbg_new_2ff1f68f3676ea53 = function() {
8124
+ imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
8125
+ const ret = new Uint8Array(arg0);
8126
+ return ret;
8127
+ };
8128
+ imports.wbg.__wbg_new_68651c719dcda04e = function() {
7269
8129
  const ret = new Map();
7270
8130
  return ret;
7271
8131
  };
7272
- imports.wbg.__wbg_new_5a2ae4557f92b50e = function(arg0) {
7273
- const ret = new Date(arg0);
8132
+ imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
8133
+ const ret = new Error();
7274
8134
  return ret;
7275
8135
  };
7276
- imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
7277
- const ret = new Uint8Array(arg0);
8136
+ imports.wbg.__wbg_new_93d9417ed3fb115d = function(arg0) {
8137
+ const ret = new Date(arg0);
7278
8138
  return ret;
7279
8139
  };
7280
- imports.wbg.__wbg_new_66b9434b4e59b63e = function() { return handleError(function () {
7281
- const ret = new AbortController();
8140
+ imports.wbg.__wbg_new_9edf9838a2def39c = function() { return handleError(function () {
8141
+ const ret = new Headers();
7282
8142
  return ret;
7283
8143
  }, arguments) };
7284
- imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
7285
- const ret = new Error();
7286
- return ret;
7287
- };
7288
- imports.wbg.__wbg_new_da9dc54c5db29dfa = function(arg0, arg1) {
8144
+ imports.wbg.__wbg_new_a7442b4b19c1a356 = function(arg0, arg1) {
7289
8145
  const ret = new Error(getStringFromWasm0(arg0, arg1));
7290
8146
  return ret;
7291
8147
  };
7292
- imports.wbg.__wbg_new_f60d6f09990bdb99 = function(arg0, arg1, arg2) {
7293
- const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0);
8148
+ imports.wbg.__wbg_new_e17d9f43105b08be = function() {
8149
+ const ret = new Array();
7294
8150
  return ret;
7295
8151
  };
7296
- imports.wbg.__wbg_new_f6e53210afea8e45 = function() { return handleError(function () {
7297
- const ret = new Headers();
7298
- return ret;
7299
- }, arguments) };
7300
- imports.wbg.__wbg_newfromslice_074c56947bd43469 = function(arg0, arg1) {
8152
+ imports.wbg.__wbg_new_from_slice_92f4d78ca282a2d2 = function(arg0, arg1) {
7301
8153
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
7302
8154
  return ret;
7303
8155
  };
7304
- imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) {
8156
+ imports.wbg.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
7305
8157
  const ret = new Function(getStringFromWasm0(arg0, arg1));
7306
8158
  return ret;
7307
8159
  };
7308
- imports.wbg.__wbg_newwithbyteoffsetandlength_e8f53910b4d42b45 = function(arg0, arg1, arg2) {
8160
+ imports.wbg.__wbg_new_with_byte_offset_and_length_46e3e6a5e9f9e89b = function(arg0, arg1, arg2) {
7309
8161
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
7310
8162
  return ret;
7311
8163
  };
7312
- imports.wbg.__wbg_newwithintounderlyingsource_b47f6a6a596a7f24 = function(arg0, arg1) {
8164
+ imports.wbg.__wbg_new_with_into_underlying_source_b47f6a6a596a7f24 = function(arg0, arg1) {
7313
8165
  const ret = new ReadableStream(IntoUnderlyingSource.__wrap(arg0), arg1);
7314
8166
  return ret;
7315
8167
  };
7316
- imports.wbg.__wbg_newwithlength_a167dcc7aaa3ba77 = function(arg0) {
8168
+ imports.wbg.__wbg_new_with_length_01aa0dc35aa13543 = function(arg0) {
7317
8169
  const ret = new Uint8Array(arg0 >>> 0);
7318
8170
  return ret;
7319
8171
  };
7320
- imports.wbg.__wbg_newwithstrandinit_b5d168a29a3fd85f = function() { return handleError(function (arg0, arg1, arg2) {
8172
+ imports.wbg.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function() { return handleError(function (arg0, arg1, arg2) {
7321
8173
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
7322
8174
  return ret;
7323
8175
  }, arguments) };
7324
- imports.wbg.__wbg_newwithyearmonthday_9d5466a369f2521d = function(arg0, arg1, arg2) {
8176
+ imports.wbg.__wbg_new_with_year_month_day_6236812cf591750d = function(arg0, arg1, arg2) {
7325
8177
  const ret = new Date(arg0 >>> 0, arg1, arg2);
7326
8178
  return ret;
7327
8179
  };
7328
- imports.wbg.__wbg_next_1142e1658f75ec63 = function() { return handleError(function (arg0) {
8180
+ imports.wbg.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
7329
8181
  const ret = arg0.next();
7330
8182
  return ret;
7331
8183
  }, arguments) };
7332
- imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) {
8184
+ imports.wbg.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
7333
8185
  const ret = arg0.next;
7334
8186
  return ret;
7335
8187
  };
7336
- imports.wbg.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) {
8188
+ imports.wbg.__wbg_next_eedaffcadc567b75 = function() { return handleError(function (arg0) {
7337
8189
  const ret = arg0.next();
7338
8190
  return ret;
7339
8191
  }, arguments) };
@@ -7341,40 +8193,45 @@ function __wbg_get_imports() {
7341
8193
  const ret = arg0.node;
7342
8194
  return ret;
7343
8195
  };
7344
- imports.wbg.__wbg_now_1e80617bcee43265 = function() {
7345
- const ret = Date.now();
7346
- return ret;
7347
- };
7348
8196
  imports.wbg.__wbg_now_2c95c9de01293173 = function(arg0) {
7349
8197
  const ret = arg0.now();
7350
8198
  return ret;
7351
8199
  };
7352
- imports.wbg.__wbg_now_2f0bbf3fd348701f = function(arg0) {
7353
- const ret = globalThis.performance.now();
7354
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
7355
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8200
+ imports.wbg.__wbg_now_793306c526e2e3b6 = function() {
8201
+ const ret = Date.now();
8202
+ return ret;
7356
8203
  };
7357
- imports.wbg.__wbg_onclose_9deb104d6c5aecbc = function(arg0) {
8204
+ imports.wbg.__wbg_on_auth_required_5ac1caba0598597f = function() { return handleError(function (arg0) {
8205
+ const ret = arg0.on_auth_required();
8206
+ return ret;
8207
+ }, arguments) };
8208
+ imports.wbg.__wbg_on_close_73985efed19dd92e = function(arg0) {
7358
8209
  arg0.on_close();
7359
8210
  };
7360
- imports.wbg.__wbg_onconsentupdate_7347e9a3d30228a5 = function(arg0, arg1) {
8211
+ imports.wbg.__wbg_on_consent_update_35b5db29591b8109 = function(arg0, arg1) {
7361
8212
  arg0.on_consent_update(arg1);
7362
8213
  };
7363
- imports.wbg.__wbg_onconversation_33e01e95b70f8044 = function(arg0, arg1) {
8214
+ imports.wbg.__wbg_on_conversation_2254cf97d597e25f = function(arg0, arg1) {
7364
8215
  arg0.on_conversation(Conversation.__wrap(arg1));
7365
8216
  };
7366
- imports.wbg.__wbg_onerror_70640215ac668333 = function(arg0, arg1) {
8217
+ imports.wbg.__wbg_on_error_dda0110e69022a6e = function(arg0, arg1) {
7367
8218
  arg0.on_error(arg1);
7368
8219
  };
7369
- imports.wbg.__wbg_onmessage_debbd5dfdd180805 = function(arg0, arg1) {
8220
+ imports.wbg.__wbg_on_message_50fa665d9bc370db = function(arg0, arg1) {
7370
8221
  arg0.on_message(Message.__wrap(arg1));
7371
8222
  };
7372
- imports.wbg.__wbg_onmessagedeleted_3b5d95e932717a44 = function(arg0, arg1, arg2) {
7373
- var v0 = getArrayU8FromWasm0(arg1, arg2).slice();
7374
- wasm.__wbindgen_free(arg1, arg2 * 1, 1);
7375
- arg0.on_message_deleted(v0);
8223
+ imports.wbg.__wbg_on_message_deleted_c49779aec3c7e0a3 = function(arg0, arg1, arg2) {
8224
+ let deferred0_0;
8225
+ let deferred0_1;
8226
+ try {
8227
+ deferred0_0 = arg1;
8228
+ deferred0_1 = arg2;
8229
+ arg0.on_message_deleted(getStringFromWasm0(arg1, arg2));
8230
+ } finally {
8231
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
8232
+ }
7376
8233
  };
7377
- imports.wbg.__wbg_onuserpreferenceupdate_aef718dc262eff7d = function(arg0, arg1, arg2) {
8234
+ imports.wbg.__wbg_on_user_preference_update_73815006f3995f17 = function(arg0, arg1, arg2) {
7378
8235
  var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
7379
8236
  wasm.__wbindgen_free(arg1, arg2 * 4, 4);
7380
8237
  arg0.on_user_preference_update(v0);
@@ -7387,47 +8244,47 @@ function __wbg_get_imports() {
7387
8244
  const ret = arg0.performance;
7388
8245
  return ret;
7389
8246
  };
7390
- imports.wbg.__wbg_postMessage_38909232d65f5870 = function() { return handleError(function (arg0, arg1) {
8247
+ imports.wbg.__wbg_postMessage_de7175726e2c1bc7 = function() { return handleError(function (arg0, arg1) {
7391
8248
  arg0.postMessage(arg1);
7392
8249
  }, arguments) };
7393
8250
  imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
7394
8251
  const ret = arg0.process;
7395
8252
  return ret;
7396
8253
  };
7397
- imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
8254
+ imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
7398
8255
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
7399
8256
  };
7400
- imports.wbg.__wbg_push_330b2eb93e4e1212 = function(arg0, arg1) {
8257
+ imports.wbg.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
7401
8258
  const ret = arg0.push(arg1);
7402
8259
  return ret;
7403
8260
  };
7404
- imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) {
7405
- queueMicrotask(arg0);
7406
- };
7407
- imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) {
8261
+ imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
7408
8262
  const ret = arg0.queueMicrotask;
7409
8263
  return ret;
7410
8264
  };
8265
+ imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
8266
+ queueMicrotask(arg0);
8267
+ };
7411
8268
  imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
7412
8269
  arg0.randomFillSync(arg1);
7413
8270
  }, arguments) };
7414
- imports.wbg.__wbg_random_7ed63a0b38ee3b75 = function() {
8271
+ imports.wbg.__wbg_random_babe96ffc73e60a2 = function() {
7415
8272
  const ret = Math.random();
7416
8273
  return ret;
7417
8274
  };
7418
- imports.wbg.__wbg_read_a43bb46027f02ee9 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
7419
- const ret = arg0.read(getArrayU8FromWasm0(arg1, arg2), arg3);
7420
- return ret;
7421
- }, arguments) };
7422
- imports.wbg.__wbg_read_bc925c758aa4d897 = function(arg0) {
8275
+ imports.wbg.__wbg_read_48f1593df542f968 = function(arg0) {
7423
8276
  const ret = arg0.read();
7424
8277
  return ret;
7425
8278
  };
7426
- imports.wbg.__wbg_read_e271e94623077591 = function() { return handleError(function (arg0, arg1, arg2) {
8279
+ imports.wbg.__wbg_read_e2b5efb864451cae = function() { return handleError(function (arg0, arg1, arg2) {
7427
8280
  const ret = arg0.read(arg1, arg2);
7428
8281
  return ret;
7429
8282
  }, arguments) };
7430
- imports.wbg.__wbg_releaseLock_ff29b586502a8221 = function(arg0) {
8283
+ imports.wbg.__wbg_read_f7d59b68d039d64d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
8284
+ const ret = arg0.read(getArrayU8FromWasm0(arg1, arg2), arg3);
8285
+ return ret;
8286
+ }, arguments) };
8287
+ imports.wbg.__wbg_releaseLock_5d0b5a68887b891d = function(arg0) {
7431
8288
  arg0.releaseLock();
7432
8289
  };
7433
8290
  imports.wbg.__wbg_remoteattachmentinfo_new = function(arg0) {
@@ -7438,7 +8295,7 @@ function __wbg_get_imports() {
7438
8295
  const ret = RemoteAttachmentInfo.__unwrap(arg0);
7439
8296
  return ret;
7440
8297
  };
7441
- imports.wbg.__wbg_removeEntry_3ab786c4d0e6a154 = function(arg0, arg1, arg2) {
8298
+ imports.wbg.__wbg_removeEntry_ad74c4d6bc5669bf = function(arg0, arg1, arg2) {
7442
8299
  const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2));
7443
8300
  return ret;
7444
8301
  };
@@ -7446,18 +8303,18 @@ function __wbg_get_imports() {
7446
8303
  const ret = module.require;
7447
8304
  return ret;
7448
8305
  }, arguments) };
7449
- imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) {
8306
+ imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
7450
8307
  const ret = Promise.resolve(arg0);
7451
8308
  return ret;
7452
8309
  };
7453
- imports.wbg.__wbg_respond_6c2c4e20ef85138e = function() { return handleError(function (arg0, arg1) {
8310
+ imports.wbg.__wbg_respond_0f4dbf5386f5c73e = function() { return handleError(function (arg0, arg1) {
7454
8311
  arg0.respond(arg1 >>> 0);
7455
8312
  }, arguments) };
7456
8313
  imports.wbg.__wbg_setInterval_ed3b5e3c3ebb8a6d = function() { return handleError(function (arg0, arg1) {
7457
8314
  const ret = setInterval(arg0, arg1);
7458
8315
  return ret;
7459
8316
  }, arguments) };
7460
- imports.wbg.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
8317
+ imports.wbg.__wbg_setTimeout_7bb3429662ab1e70 = function(arg0, arg1) {
7461
8318
  const ret = setTimeout(arg0, arg1);
7462
8319
  return ret;
7463
8320
  };
@@ -7472,75 +8329,75 @@ function __wbg_get_imports() {
7472
8329
  const ret = setTimeout(arg0, arg1);
7473
8330
  return ret;
7474
8331
  }, arguments) };
7475
- imports.wbg.__wbg_setUint32_8a9564ae127df4c5 = function(arg0, arg1, arg2) {
8332
+ imports.wbg.__wbg_setUint32_7c19a62c08deac62 = function(arg0, arg1, arg2) {
7476
8333
  arg0.setUint32(arg1 >>> 0, arg2 >>> 0);
7477
8334
  };
7478
- imports.wbg.__wbg_set_1353b2a5e96bc48c = function(arg0, arg1, arg2) {
7479
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
7480
- };
7481
- imports.wbg.__wbg_set_1c17f9738fac2718 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
7482
- arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
7483
- }, arguments) };
7484
8335
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
7485
8336
  arg0[arg1] = arg2;
7486
8337
  };
7487
- imports.wbg.__wbg_set_453345bcda80b89a = function() { return handleError(function (arg0, arg1, arg2) {
7488
- const ret = Reflect.set(arg0, arg1, arg2);
7489
- return ret;
8338
+ imports.wbg.__wbg_set_8b342d8cd9d2a02c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
8339
+ arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
7490
8340
  }, arguments) };
7491
- imports.wbg.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) {
7492
- arg0[arg1 >>> 0] = arg2;
7493
- };
7494
- imports.wbg.__wbg_set_b7f1cf4fae26fe2a = function(arg0, arg1, arg2) {
8341
+ imports.wbg.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
7495
8342
  const ret = arg0.set(arg1, arg2);
7496
8343
  return ret;
7497
8344
  };
7498
- imports.wbg.__wbg_setat_f8fc70f546036b10 = function(arg0, arg1) {
8345
+ imports.wbg.__wbg_set_9e6516df7b7d0f19 = function(arg0, arg1, arg2) {
8346
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
8347
+ };
8348
+ imports.wbg.__wbg_set_at_ec187fadbab331e2 = function(arg0, arg1) {
7499
8349
  arg0.at = arg1;
7500
8350
  };
7501
- imports.wbg.__wbg_setbody_c8460bdf44147df8 = function(arg0, arg1) {
8351
+ imports.wbg.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
7502
8352
  arg0.body = arg1;
7503
8353
  };
7504
- imports.wbg.__wbg_setcache_90ca4ad8a8ad40d3 = function(arg0, arg1) {
8354
+ imports.wbg.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
8355
+ arg0[arg1 >>> 0] = arg2;
8356
+ };
8357
+ imports.wbg.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
8358
+ const ret = Reflect.set(arg0, arg1, arg2);
8359
+ return ret;
8360
+ }, arguments) };
8361
+ imports.wbg.__wbg_set_cache_2f9deb19b92b81e3 = function(arg0, arg1) {
7505
8362
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
7506
8363
  };
7507
- imports.wbg.__wbg_setcreate_1eb73f4ea713c1ad = function(arg0, arg1) {
8364
+ imports.wbg.__wbg_set_create_89d91caa5a7a3a2b = function(arg0, arg1) {
7508
8365
  arg0.create = arg1 !== 0;
7509
8366
  };
7510
- imports.wbg.__wbg_setcreate_2d32aa4bbcd1d7af = function(arg0, arg1) {
8367
+ imports.wbg.__wbg_set_create_cd6996d11cc76544 = function(arg0, arg1) {
7511
8368
  arg0.create = arg1 !== 0;
7512
8369
  };
7513
- imports.wbg.__wbg_setcredentials_9cd60d632c9d5dfc = function(arg0, arg1) {
8370
+ imports.wbg.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
7514
8371
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
7515
8372
  };
7516
- imports.wbg.__wbg_setheaders_0052283e2f3503d1 = function(arg0, arg1) {
8373
+ imports.wbg.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
7517
8374
  arg0.headers = arg1;
7518
8375
  };
7519
- imports.wbg.__wbg_sethighwatermark_3d5961f834647d41 = function(arg0, arg1) {
8376
+ imports.wbg.__wbg_set_high_water_mark_5142ac1d2fb46365 = function(arg0, arg1) {
7520
8377
  arg0.highWaterMark = arg1;
7521
8378
  };
7522
- imports.wbg.__wbg_setintegrity_de8bf847597602b5 = function(arg0, arg1, arg2) {
8379
+ imports.wbg.__wbg_set_integrity_62a46fc792832f41 = function(arg0, arg1, arg2) {
7523
8380
  arg0.integrity = getStringFromWasm0(arg1, arg2);
7524
8381
  };
7525
- imports.wbg.__wbg_setmethod_9b504d5b855b329c = function(arg0, arg1, arg2) {
8382
+ imports.wbg.__wbg_set_method_c02d8cbbe204ac2d = function(arg0, arg1, arg2) {
7526
8383
  arg0.method = getStringFromWasm0(arg1, arg2);
7527
8384
  };
7528
- imports.wbg.__wbg_setmode_a23e1a2ad8b512f8 = function(arg0, arg1) {
8385
+ imports.wbg.__wbg_set_mode_52ef73cfa79639cb = function(arg0, arg1) {
7529
8386
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
7530
8387
  };
7531
- imports.wbg.__wbg_setredirect_9542307f3ab946a9 = function(arg0, arg1) {
8388
+ imports.wbg.__wbg_set_redirect_df0285496ec45ff8 = function(arg0, arg1) {
7532
8389
  arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
7533
8390
  };
7534
- imports.wbg.__wbg_setreferrer_c8dd38f95f31e178 = function(arg0, arg1, arg2) {
8391
+ imports.wbg.__wbg_set_referrer_ec9cf8a8a315d50c = function(arg0, arg1, arg2) {
7535
8392
  arg0.referrer = getStringFromWasm0(arg1, arg2);
7536
8393
  };
7537
- imports.wbg.__wbg_setreferrerpolicy_164abad8ed6e3886 = function(arg0, arg1) {
8394
+ imports.wbg.__wbg_set_referrer_policy_99c1f299b4e37446 = function(arg0, arg1) {
7538
8395
  arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
7539
8396
  };
7540
- imports.wbg.__wbg_setsignal_8c45ad1247a74809 = function(arg0, arg1) {
8397
+ imports.wbg.__wbg_set_signal_dda2cf7ccb6bee0f = function(arg0, arg1) {
7541
8398
  arg0.signal = arg1;
7542
8399
  };
7543
- imports.wbg.__wbg_signal_da4d466ce86118b5 = function(arg0) {
8400
+ imports.wbg.__wbg_signal_4db5aa055bf9eb9a = function(arg0) {
7544
8401
  const ret = arg0.signal;
7545
8402
  return ret;
7546
8403
  };
@@ -7548,11 +8405,7 @@ function __wbg_get_imports() {
7548
8405
  const ret = SignatureRequestHandle.__wrap(arg0);
7549
8406
  return ret;
7550
8407
  };
7551
- imports.wbg.__wbg_size_af8602b0b838d49e = function(arg0) {
7552
- const ret = arg0.size;
7553
- return ret;
7554
- };
7555
- imports.wbg.__wbg_slice_974daea329f5c01d = function(arg0, arg1, arg2) {
8408
+ imports.wbg.__wbg_slice_3e7e2fc0da7cc625 = function(arg0, arg1, arg2) {
7556
8409
  const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
7557
8410
  return ret;
7558
8411
  };
@@ -7563,78 +8416,72 @@ function __wbg_get_imports() {
7563
8416
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7564
8417
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7565
8418
  };
7566
- imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() {
8419
+ imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
7567
8420
  const ret = typeof global === 'undefined' ? null : global;
7568
8421
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7569
8422
  };
7570
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() {
8423
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
7571
8424
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
7572
8425
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7573
8426
  };
7574
- imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() {
8427
+ imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
7575
8428
  const ret = typeof self === 'undefined' ? null : self;
7576
8429
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7577
8430
  };
7578
- imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() {
8431
+ imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
7579
8432
  const ret = typeof window === 'undefined' ? null : window;
7580
8433
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7581
8434
  };
7582
- imports.wbg.__wbg_status_3fea3036088621d6 = function(arg0) {
8435
+ imports.wbg.__wbg_status_de7eed5a7a5bfd5d = function(arg0) {
7583
8436
  const ret = arg0.status;
7584
8437
  return ret;
7585
8438
  };
7586
- imports.wbg.__wbg_storage_32b4ac688c114c3d = function(arg0) {
8439
+ imports.wbg.__wbg_storage_2fd28cd0598c9a9b = function(arg0) {
7587
8440
  const ret = arg0.storage;
7588
8441
  return ret;
7589
8442
  };
7590
- imports.wbg.__wbg_stringify_b98c93d0a190446a = function() { return handleError(function (arg0) {
8443
+ imports.wbg.__wbg_stringify_b5fb28f6465d9c3e = function() { return handleError(function (arg0) {
7591
8444
  const ret = JSON.stringify(arg0);
7592
8445
  return ret;
7593
8446
  }, arguments) };
7594
- imports.wbg.__wbg_subarray_70fd07feefe14294 = function(arg0, arg1, arg2) {
8447
+ imports.wbg.__wbg_subarray_480600f3d6a9f26c = function(arg0, arg1, arg2) {
7595
8448
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
7596
8449
  return ret;
7597
8450
  };
7598
- imports.wbg.__wbg_text_0f69a215637b9b34 = function() { return handleError(function (arg0) {
8451
+ imports.wbg.__wbg_text_dc33c15c17bdfb52 = function() { return handleError(function (arg0) {
7599
8452
  const ret = arg0.text();
7600
8453
  return ret;
7601
8454
  }, arguments) };
7602
- imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) {
7603
- const ret = arg0.then(arg1, arg2);
8455
+ imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
8456
+ const ret = arg0.then(arg1);
7604
8457
  return ret;
7605
8458
  };
7606
- imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) {
7607
- const ret = arg0.then(arg1);
8459
+ imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
8460
+ const ret = arg0.then(arg1, arg2);
7608
8461
  return ret;
7609
8462
  };
7610
- imports.wbg.__wbg_toString_2ca967683e5874bc = function() { return handleError(function (arg0, arg1) {
8463
+ imports.wbg.__wbg_toString_331854e6e3c16849 = function() { return handleError(function (arg0, arg1) {
7611
8464
  const ret = arg0.toString(arg1);
7612
8465
  return ret;
7613
8466
  }, arguments) };
7614
- imports.wbg.__wbg_toString_78df35411a4fd40c = function(arg0) {
8467
+ imports.wbg.__wbg_toString_7da7c8dbec78fcb8 = function(arg0) {
7615
8468
  const ret = arg0.toString();
7616
8469
  return ret;
7617
8470
  };
7618
- imports.wbg.__wbg_toU8Array_7fa7fb3ae8554ad0 = function(arg0, arg1, arg2, arg3) {
7619
- JSArrayBufferCopy.toU8Array(arg0, arg1 >>> 0, arg2 >>> 0, arg3);
7620
- };
7621
- imports.wbg.__wbg_toU8Slice_11519abfa5176ae4 = function(arg0, arg1, arg2, arg3) {
7622
- JSArrayBufferCopy.toU8Slice(arg0, arg1, arg2 >>> 0, arg3 >>> 0);
7623
- };
7624
- imports.wbg.__wbg_truncate_0fe935591188a14c = function() { return handleError(function (arg0, arg1) {
7625
- arg0.truncate(arg1 >>> 0);
7626
- }, arguments) };
7627
- imports.wbg.__wbg_truncate_7cddd971e3cf0a8c = function() { return handleError(function (arg0, arg1) {
8471
+ imports.wbg.__wbg_truncate_6511a04243d4c36b = function() { return handleError(function (arg0, arg1) {
7628
8472
  arg0.truncate(arg1);
7629
8473
  }, arguments) };
7630
- imports.wbg.__wbg_url_e5720dfacf77b05e = function(arg0, arg1) {
8474
+ imports.wbg.__wbg_truncate_f99e4636535b6562 = function() { return handleError(function (arg0, arg1) {
8475
+ arg0.truncate(arg1 >>> 0);
8476
+ }, arguments) };
8477
+ imports.wbg.__wbg_url_b36d2a5008eb056f = function(arg0, arg1) {
7631
8478
  const ret = arg1.url;
7632
8479
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7633
8480
  const len1 = WASM_VECTOR_LEN;
7634
8481
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7635
8482
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7636
8483
  };
7637
- imports.wbg.__wbg_value_dd9372230531eade = function(arg0) {
8484
+ imports.wbg.__wbg_value_692627309814bb8c = function(arg0) {
7638
8485
  const ret = arg0.value;
7639
8486
  return ret;
7640
8487
  };
@@ -7642,94 +8489,21 @@ function __wbg_get_imports() {
7642
8489
  const ret = arg0.versions;
7643
8490
  return ret;
7644
8491
  };
7645
- imports.wbg.__wbg_view_91cc97d57ab30530 = function(arg0) {
8492
+ imports.wbg.__wbg_view_f6c15ac9fed63bbd = function(arg0) {
7646
8493
  const ret = arg0.view;
7647
8494
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7648
8495
  };
7649
- imports.wbg.__wbg_warn_90eb15d986910fe9 = function(arg0, arg1, arg2, arg3) {
7650
- console.warn(arg0, arg1, arg2, arg3);
7651
- };
7652
- imports.wbg.__wbg_warn_e2ada06313f92f09 = function(arg0) {
8496
+ imports.wbg.__wbg_warn_1d74dddbe2fd1dbb = function(arg0) {
7653
8497
  console.warn(arg0);
7654
8498
  };
7655
- imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
7656
- const v = arg0;
7657
- const ret = typeof(v) === 'boolean' ? v : undefined;
7658
- return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
7659
- };
7660
- imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) {
7661
- const obj = arg0.original;
7662
- if (obj.cnt-- == 1) {
7663
- obj.a = 0;
7664
- return true;
7665
- }
7666
- const ret = false;
7667
- return ret;
7668
- };
7669
- imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
7670
- const ret = debugString(arg1);
7671
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7672
- const len1 = WASM_VECTOR_LEN;
7673
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7674
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7675
- };
7676
- imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
7677
- const ret = arg0 in arg1;
7678
- return ret;
7679
- };
7680
- imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
7681
- const ret = typeof(arg0) === 'function';
7682
- return ret;
7683
- };
7684
- imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
7685
- const val = arg0;
7686
- const ret = typeof(val) === 'object' && val !== null;
7687
- return ret;
7688
- };
7689
- imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
7690
- const ret = typeof(arg0) === 'string';
7691
- return ret;
7692
- };
7693
- imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
7694
- const ret = arg0 === undefined;
7695
- return ret;
7696
- };
7697
- imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
7698
- const ret = arg0 == arg1;
7699
- return ret;
7700
- };
7701
- imports.wbg.__wbg_wbindgenmemory_d84da70f7c42d172 = function() {
7702
- const ret = wasm.memory;
7703
- return ret;
7704
- };
7705
- imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
7706
- const obj = arg1;
7707
- const ret = typeof(obj) === 'number' ? obj : undefined;
7708
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
7709
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7710
- };
7711
- imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
7712
- const obj = arg1;
7713
- const ret = typeof(obj) === 'string' ? obj : undefined;
7714
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7715
- var len1 = WASM_VECTOR_LEN;
7716
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7717
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7718
- };
7719
- imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
7720
- throw new Error(getStringFromWasm0(arg0, arg1));
7721
- };
7722
- imports.wbg.__wbg_wbindgentryintonumber_aef53fe1d23c5fd4 = function(arg0) {
7723
- let result;
7724
- try { result = +arg0 } catch (e) { result = e }
7725
- const ret = result;
7726
- return ret;
8499
+ imports.wbg.__wbg_warn_8f5b5437666d0885 = function(arg0, arg1, arg2, arg3) {
8500
+ console.warn(arg0, arg1, arg2, arg3);
7727
8501
  };
7728
- imports.wbg.__wbg_write_9ac6a5f58a8c835c = function() { return handleError(function (arg0, arg1, arg2, arg3) {
8502
+ imports.wbg.__wbg_write_0c22b53589bfcada = function() { return handleError(function (arg0, arg1, arg2, arg3) {
7729
8503
  const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3);
7730
8504
  return ret;
7731
8505
  }, arguments) };
7732
- imports.wbg.__wbg_write_c0e234eeb0039d0d = function() { return handleError(function (arg0, arg1, arg2) {
8506
+ imports.wbg.__wbg_write_5c1be3e4039a6ed1 = function() { return handleError(function (arg0, arg1, arg2) {
7733
8507
  const ret = arg0.write(arg1, arg2);
7734
8508
  return ret;
7735
8509
  }, arguments) };
@@ -7741,16 +8515,21 @@ function __wbg_get_imports() {
7741
8515
  const ret = XmtpCursor.__unwrap(arg0);
7742
8516
  return ret;
7743
8517
  };
7744
- imports.wbg.__wbindgen_cast_08c1e46f0bf37c36 = function(arg0, arg1) {
7745
- // Cast intrinsic for `Closure(Closure { dtor_idx: 7204, function: Function { arguments: [], shim_idx: 7205, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7746
- const ret = makeMutClosure(arg0, arg1, 7204, __wbg_adapter_12);
7747
- return ret;
7748
- };
7749
8518
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
7750
8519
  // Cast intrinsic for `Ref(String) -> Externref`.
7751
8520
  const ret = getStringFromWasm0(arg0, arg1);
7752
8521
  return ret;
7753
8522
  };
8523
+ imports.wbg.__wbindgen_cast_2f81a6d5c564a490 = function(arg0, arg1) {
8524
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 6970, function: Function { arguments: [], shim_idx: 6971, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
8525
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h8a0c80adf0f210e5, wasm_bindgen__convert__closures_____invoke__h753a3e053785270d);
8526
+ return ret;
8527
+ };
8528
+ imports.wbg.__wbindgen_cast_34976a163ea3aeae = function(arg0, arg1) {
8529
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 6766, function: Function { arguments: [], shim_idx: 6767, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
8530
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5e0a3136249b832f, wasm_bindgen__convert__closures_____invoke__h9011598bdd38acb2);
8531
+ return ret;
8532
+ };
7754
8533
  imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
7755
8534
  // Cast intrinsic for `U64 -> Externref`.
7756
8535
  const ret = BigInt.asUintN(64, arg0);
@@ -7763,19 +8542,14 @@ function __wbg_get_imports() {
7763
8542
  const ret = v0;
7764
8543
  return ret;
7765
8544
  };
7766
- imports.wbg.__wbindgen_cast_57d60d237afa669a = function(arg0, arg1) {
7767
- // Cast intrinsic for `Closure(Closure { dtor_idx: 6810, function: Function { arguments: [], shim_idx: 6811, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7768
- const ret = makeMutClosure(arg0, arg1, 6810, __wbg_adapter_26);
7769
- return ret;
7770
- };
7771
- imports.wbg.__wbindgen_cast_72aedd85aaf04c4c = function(arg0, arg1) {
7772
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4940, function: Function { arguments: [], shim_idx: 4941, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7773
- const ret = makeMutClosure(arg0, arg1, 4940, __wbg_adapter_23);
8545
+ imports.wbg.__wbindgen_cast_7ddadc9b977993ea = function(arg0, arg1) {
8546
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7133, function: Function { arguments: [], shim_idx: 7134, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
8547
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h83869f5b20c236a6, wasm_bindgen__convert__closures_____invoke__hafab8b28acda63ce);
7774
8548
  return ret;
7775
8549
  };
7776
- imports.wbg.__wbindgen_cast_7690d55fcc00401c = function(arg0, arg1) {
7777
- // Cast intrinsic for `Closure(Closure { dtor_idx: 7217, function: Function { arguments: [Externref], shim_idx: 7228, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7778
- const ret = makeMutClosure(arg0, arg1, 7217, __wbg_adapter_29);
8550
+ imports.wbg.__wbindgen_cast_8b962a3b668e3729 = function(arg0, arg1) {
8551
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7169, function: Function { arguments: [Externref], shim_idx: 7180, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
8552
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5faecc40242ea0ca, wasm_bindgen__convert__closures_____invoke__h34df32c886f66f02);
7779
8553
  return ret;
7780
8554
  };
7781
8555
  imports.wbg.__wbindgen_cast_8e37b4ad2f2ba653 = function(arg0, arg1) {
@@ -7822,7 +8596,7 @@ function __wbg_get_imports() {
7822
8596
  return ret;
7823
8597
  };
7824
8598
  imports.wbg.__wbindgen_init_externref_table = function() {
7825
- const table = wasm.__wbindgen_export_4;
8599
+ const table = wasm.__wbindgen_externrefs;
7826
8600
  const offset = table.grow(4);
7827
8601
  table.set(0, undefined);
7828
8602
  table.set(offset + 0, undefined);
@@ -7835,10 +8609,6 @@ function __wbg_get_imports() {
7835
8609
  return imports;
7836
8610
  }
7837
8611
 
7838
- function __wbg_init_memory(imports, memory) {
7839
-
7840
- }
7841
-
7842
8612
  function __wbg_finalize_init(instance, module) {
7843
8613
  wasm = instance.exports;
7844
8614
  __wbg_init.__wbindgen_wasm_module = module;
@@ -7864,8 +8634,6 @@ function initSync(module) {
7864
8634
 
7865
8635
  const imports = __wbg_get_imports();
7866
8636
 
7867
- __wbg_init_memory(imports);
7868
-
7869
8637
  if (!(module instanceof WebAssembly.Module)) {
7870
8638
  module = new WebAssembly.Module(module);
7871
8639
  }
@@ -7896,8 +8664,6 @@ async function __wbg_init(module_or_path) {
7896
8664
  module_or_path = fetch(module_or_path);
7897
8665
  }
7898
8666
 
7899
- __wbg_init_memory(imports);
7900
-
7901
8667
  const { instance, module } = await __wbg_load(await module_or_path, imports);
7902
8668
 
7903
8669
  return __wbg_finalize_init(instance, module);