@bitcredit/bcr-ebill-wasm 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -93,6 +93,10 @@ export interface BillCombinedBitcoinKeyWeb {
93
93
  private_descriptor: string;
94
94
  }
95
95
 
96
+ export interface ResyncBillPayload {
97
+ bill_id: string;
98
+ }
99
+
96
100
  export type BillsFilterRoleWeb = "All" | "Payer" | "Payee" | "Contingent";
97
101
 
98
102
  export interface PastEndorseeWeb {
@@ -193,16 +197,6 @@ export interface PastPaymentDataRecourseWeb {
193
197
  status: PastPaymentStatusWeb;
194
198
  }
195
199
 
196
- export interface BitcreditEbillQuote {
197
- bill_id: string;
198
- quote_id: string;
199
- sum: number;
200
- mint_node_id: string;
201
- mint_url: string;
202
- accepted: boolean;
203
- token: string;
204
- }
205
-
206
200
  export interface BitcreditBillWeb {
207
201
  id: string;
208
202
  participants: BillParticipantsWeb;
@@ -213,37 +207,34 @@ export interface BitcreditBillWeb {
213
207
 
214
208
  export type BillCurrentWaitingStateWeb = { Sell: BillWaitingForSellStateWeb } | { Payment: BillWaitingForPaymentStateWeb } | { Recourse: BillWaitingForRecourseStateWeb };
215
209
 
216
- export interface BillWaitingForSellStateWeb {
210
+ export interface BillWaitingStatePaymentDataWeb {
217
211
  time_of_request: number;
218
- buyer: BillParticipantWeb;
219
- seller: BillParticipantWeb;
220
212
  currency: string;
221
213
  sum: string;
222
214
  link_to_pay: string;
223
215
  address_to_pay: string;
224
216
  mempool_link_for_address_to_pay: string;
217
+ tx_id: string | undefined;
218
+ in_mempool: boolean;
219
+ confirmations: number;
220
+ }
221
+
222
+ export interface BillWaitingForSellStateWeb {
223
+ buyer: BillParticipantWeb;
224
+ seller: BillParticipantWeb;
225
+ payment_data: BillWaitingStatePaymentDataWeb;
225
226
  }
226
227
 
227
228
  export interface BillWaitingForPaymentStateWeb {
228
- time_of_request: number;
229
229
  payer: BillIdentParticipantWeb;
230
230
  payee: BillParticipantWeb;
231
- currency: string;
232
- sum: string;
233
- link_to_pay: string;
234
- address_to_pay: string;
235
- mempool_link_for_address_to_pay: string;
231
+ payment_data: BillWaitingStatePaymentDataWeb;
236
232
  }
237
233
 
238
234
  export interface BillWaitingForRecourseStateWeb {
239
- time_of_request: number;
240
235
  recourser: BillIdentParticipantWeb;
241
236
  recoursee: BillIdentParticipantWeb;
242
- currency: string;
243
- sum: string;
244
- link_to_pay: string;
245
- address_to_pay: string;
246
- mempool_link_for_address_to_pay: string;
237
+ payment_data: BillWaitingStatePaymentDataWeb;
247
238
  }
248
239
 
249
240
  export interface BillStatusWeb {
@@ -644,7 +635,7 @@ export interface UploadFileResponse {
644
635
  file_upload_id: string;
645
636
  }
646
637
 
647
- export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "IdentityCantBeAnon" | "IdentityIsNotBillIssuer" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "SelfDraftedBillCantBeBlank" | "RequestToMintForBillAndMintAlreadyActive" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "InvalidMint" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "InvalidFileUploadId" | "InvalidNodeId" | "InvalidBillId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "CancelMintRequestNotPending" | "RejectMintRequestNotOffered" | "AcceptMintRequestNotOffered" | "AcceptMintOfferExpired" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "BillWasRejectedToRecourse" | "BillRequestToRecourseExpired" | "BillWasRecoursedToTheEnd" | "BillAlreadyRequestedToAccept" | "BillNotAccepted" | "CallerIsNotDrawee" | "CallerIsNotHolder" | "CallerIsNotRecoursee" | "CallerIsNotBuyer" | "RequestAlreadyExpired" | "RequestAlreadyRejected" | "BillAlreadyPaid" | "BillWasNotRequestedToAccept" | "BillWasNotRequestedToPay" | "BillWasNotOfferedToSell" | "BillRequestToAcceptDidNotExpireAndWasNotRejected" | "BillRequestToPayDidNotExpireAndWasNotRejected" | "RecourseeNotPastHolder" | "BillWasNotRequestedToRecourse" | "BillIsNotRequestedToRecourseAndWaitingForPayment" | "BillIsNotOfferToSellWaitingForPayment" | "BillSellDataInvalid" | "BillRecourseDataInvalid" | "BillIsRequestedToPayAndWaitingForPayment" | "BillIsOfferedToSellAndWaitingForPayment" | "BillIsInRecourseAndWaitingForPayment" | "BillWasRequestedToPay" | "DrawerIsNotBillIssuer" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "FileIsEmpty" | "TooManyFiles" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory";
638
+ export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "IdentityCantBeAnon" | "IdentityIsNotBillIssuer" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "SelfDraftedBillCantBeBlank" | "RequestToMintForBillAndMintAlreadyActive" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "InvalidMint" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "InvalidFileUploadId" | "InvalidNodeId" | "InvalidBillId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "CancelMintRequestNotPending" | "RejectMintRequestNotOffered" | "AcceptMintRequestNotOffered" | "AcceptMintOfferExpired" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "InvalidRelayUrl" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "BillWasRejectedToRecourse" | "BillRequestToRecourseExpired" | "BillWasRecoursedToTheEnd" | "BillAlreadyRequestedToAccept" | "BillNotAccepted" | "CallerIsNotDrawee" | "CallerIsNotHolder" | "CallerIsNotRecoursee" | "CallerIsNotBuyer" | "RequestAlreadyExpired" | "RequestAlreadyRejected" | "BillAlreadyPaid" | "BillWasNotRequestedToAccept" | "BillWasNotRequestedToPay" | "BillWasNotOfferedToSell" | "BillRequestToAcceptDidNotExpireAndWasNotRejected" | "BillRequestToPayDidNotExpireAndWasNotRejected" | "RecourseeNotPastHolder" | "BillWasNotRequestedToRecourse" | "BillIsNotRequestedToRecourseAndWaitingForPayment" | "BillIsNotOfferToSellWaitingForPayment" | "BillSellDataInvalid" | "BillRecourseDataInvalid" | "BillIsRequestedToPayAndWaitingForPayment" | "BillIsOfferedToSellAndWaitingForPayment" | "BillIsInRecourseAndWaitingForPayment" | "BillWasRequestedToPay" | "DrawerIsNotBillIssuer" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "FileIsEmpty" | "TooManyFiles" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory";
648
639
 
649
640
  export interface JsErrorData {
650
641
  error: JsErrorType;
@@ -654,6 +645,7 @@ export interface JsErrorData {
654
645
 
655
646
  export interface Config {
656
647
  log_level: string | undefined;
648
+ app_url: string;
657
649
  bitcoin_network: string;
658
650
  esplora_base_url: string;
659
651
  nostr_relays: string[];
@@ -662,6 +654,7 @@ export interface Config {
662
654
  job_runner_check_interval_seconds: number;
663
655
  default_mint_url: string;
664
656
  default_mint_node_id: string;
657
+ num_confirmations_for_payment: number;
665
658
  }
666
659
 
667
660
  export interface MintRequestStateWeb {
@@ -749,6 +742,10 @@ export class Bill {
749
742
  request_to_recourse_bill_payment(payload: RequestRecourseForPaymentPayload): Promise<void>;
750
743
  request_to_recourse_bill_acceptance(payload: RequestRecourseForPaymentPayload): Promise<void>;
751
744
  clear_bill_cache(): Promise<void>;
745
+ /**
746
+ * Given a bill id, resync the chain via block transport
747
+ */
748
+ sync_bill_chain(payload: ResyncBillPayload): Promise<void>;
752
749
  }
753
750
  export class Company {
754
751
  private constructor();
@@ -813,6 +810,14 @@ export class Notification {
813
810
  subscribe(callback: Function): Promise<void>;
814
811
  list(filters: NotificationFilters): Promise<NotificationWeb[]>;
815
812
  mark_as_done(notification_id: string): Promise<void>;
813
+ /**
814
+ * Register email notifications for the currently selected identity
815
+ */
816
+ register_email_notifications(relay_url: string): Promise<void>;
817
+ /**
818
+ * Fetch email notifications preferences link for the currently selected identity
819
+ */
820
+ get_email_notifications_preferences_link(): Promise<string>;
816
821
  trigger_test_msg(payload: any): Promise<void>;
817
822
  }
818
823
 
@@ -856,6 +861,7 @@ export interface InitOutput {
856
861
  readonly bill_request_to_recourse_bill_payment: (a: number, b: any) => any;
857
862
  readonly bill_request_to_recourse_bill_acceptance: (a: number, b: any) => any;
858
863
  readonly bill_clear_bill_cache: (a: number) => any;
864
+ readonly bill_sync_bill_chain: (a: number, b: any) => any;
859
865
  readonly company_file: (a: number, b: number, c: number, d: number, e: number) => any;
860
866
  readonly company_file_base64: (a: number, b: number, c: number, d: number, e: number) => any;
861
867
  readonly company_upload: (a: number, b: any) => any;
@@ -895,6 +901,8 @@ export interface InitOutput {
895
901
  readonly notification_subscribe: (a: number, b: any) => any;
896
902
  readonly notification_list: (a: number, b: any) => any;
897
903
  readonly notification_mark_as_done: (a: number, b: number, c: number) => any;
904
+ readonly notification_register_email_notifications: (a: number, b: number, c: number) => any;
905
+ readonly notification_get_email_notifications_preferences_link: (a: number) => any;
898
906
  readonly notification_trigger_test_msg: (a: number, b: any) => any;
899
907
  readonly __wbg_api_free: (a: number, b: number) => void;
900
908
  readonly api_bill: () => number;
@@ -916,11 +924,11 @@ export interface InitOutput {
916
924
  readonly api_notification: () => number;
917
925
  readonly api_contact: () => number;
918
926
  readonly api_company: () => number;
919
- readonly __wbg_identity_free: (a: number, b: number) => void;
920
- readonly __wbg_bill_free: (a: number, b: number) => void;
921
- readonly __wbg_company_free: (a: number, b: number) => void;
922
- readonly __wbg_notification_free: (a: number, b: number) => void;
923
927
  readonly __wbg_contact_free: (a: number, b: number) => void;
928
+ readonly __wbg_notification_free: (a: number, b: number) => void;
929
+ readonly __wbg_company_free: (a: number, b: number) => void;
930
+ readonly __wbg_bill_free: (a: number, b: number) => void;
931
+ readonly __wbg_identity_free: (a: number, b: number) => void;
924
932
  readonly __wbg_general_free: (a: number, b: number) => void;
925
933
  readonly __wbindgen_malloc: (a: number, b: number) => number;
926
934
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
@@ -930,10 +938,11 @@ export interface InitOutput {
930
938
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
931
939
  readonly __wbindgen_export_6: WebAssembly.Table;
932
940
  readonly __externref_table_dealloc: (a: number) => void;
933
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0540da42bd08d24f: (a: number, b: number) => void;
934
- readonly closure321_externref_shim: (a: number, b: number, c: any) => void;
935
- readonly closure832_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
936
- readonly closure607_externref_shim: (a: number, b: number, c: any, d: any) => void;
941
+ readonly wasm_bindgen__convert__closures_____invoke__hcd818624b91b38c6: (a: number, b: number) => void;
942
+ readonly closure349_externref_shim: (a: number, b: number, c: any) => void;
943
+ readonly wasm_bindgen__convert__closures_____invoke__h7d2bcf154647340c: (a: number, b: number) => void;
944
+ readonly closure857_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
945
+ readonly closure638_externref_shim: (a: number, b: number, c: any, d: any) => void;
937
946
  readonly __wbindgen_start: () => void;
938
947
  }
939
948
 
package/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  let wasm;
2
2
 
3
- let WASM_VECTOR_LEN = 0;
4
-
5
3
  let cachedUint8ArrayMemory0 = null;
6
4
 
7
5
  function getUint8ArrayMemory0() {
@@ -11,6 +9,29 @@ function getUint8ArrayMemory0() {
11
9
  return cachedUint8ArrayMemory0;
12
10
  }
13
11
 
12
+ let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
13
+
14
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
15
+
16
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
17
+ let numBytesDecoded = 0;
18
+ function decodeText(ptr, len) {
19
+ numBytesDecoded += len;
20
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
21
+ cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
22
+ cachedTextDecoder.decode();
23
+ numBytesDecoded = len;
24
+ }
25
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
26
+ }
27
+
28
+ function getStringFromWasm0(ptr, len) {
29
+ ptr = ptr >>> 0;
30
+ return decodeText(ptr, len);
31
+ }
32
+
33
+ let WASM_VECTOR_LEN = 0;
34
+
14
35
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
15
36
 
16
37
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -89,15 +110,6 @@ function handleError(f, args) {
89
110
  }
90
111
  }
91
112
 
92
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
93
-
94
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
95
-
96
- function getStringFromWasm0(ptr, len) {
97
- ptr = ptr >>> 0;
98
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
99
- }
100
-
101
113
  function isLikeNone(x) {
102
114
  return x === undefined || x === null;
103
115
  }
@@ -138,6 +150,28 @@ function makeMutClosure(arg0, arg1, dtor, f) {
138
150
  return real;
139
151
  }
140
152
 
153
+ function makeClosure(arg0, arg1, dtor, f) {
154
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
155
+ const real = (...args) => {
156
+ // First up with a closure we increment the internal reference
157
+ // count. This ensures that the Rust closure environment won't
158
+ // be deallocated while we're invoking it.
159
+ state.cnt++;
160
+ try {
161
+ return f(state.a, state.b, ...args);
162
+ } finally {
163
+ if (--state.cnt === 0) {
164
+ wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
165
+ state.a = 0;
166
+ CLOSURE_DTORS.unregister(state);
167
+ }
168
+ }
169
+ };
170
+ real.original = state;
171
+ CLOSURE_DTORS.register(real, state, state);
172
+ return real;
173
+ }
174
+
141
175
  function debugString(val) {
142
176
  // primitive types
143
177
  const type = typeof val;
@@ -227,23 +261,27 @@ export function task_worker_entry_point(ptr) {
227
261
  }
228
262
  }
229
263
 
230
- function __wbg_adapter_54(arg0, arg1) {
231
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0540da42bd08d24f(arg0, arg1);
264
+ function __wbg_adapter_52(arg0, arg1) {
265
+ wasm.wasm_bindgen__convert__closures_____invoke__hcd818624b91b38c6(arg0, arg1);
232
266
  }
233
267
 
234
- function __wbg_adapter_57(arg0, arg1, arg2) {
235
- wasm.closure321_externref_shim(arg0, arg1, arg2);
268
+ function __wbg_adapter_55(arg0, arg1, arg2) {
269
+ wasm.closure349_externref_shim(arg0, arg1, arg2);
236
270
  }
237
271
 
238
- function __wbg_adapter_66(arg0, arg1, arg2) {
239
- const ret = wasm.closure832_externref_shim_multivalue_shim(arg0, arg1, arg2);
272
+ function __wbg_adapter_58(arg0, arg1) {
273
+ wasm.wasm_bindgen__convert__closures_____invoke__h7d2bcf154647340c(arg0, arg1);
274
+ }
275
+
276
+ function __wbg_adapter_65(arg0, arg1, arg2) {
277
+ const ret = wasm.closure857_externref_shim_multivalue_shim(arg0, arg1, arg2);
240
278
  if (ret[1]) {
241
279
  throw takeFromExternrefTable0(ret[0]);
242
280
  }
243
281
  }
244
282
 
245
283
  function __wbg_adapter_252(arg0, arg1, arg2, arg3) {
246
- wasm.closure607_externref_shim(arg0, arg1, arg2, arg3);
284
+ wasm.closure638_externref_shim(arg0, arg1, arg2, arg3);
247
285
  }
248
286
 
249
287
  /**
@@ -275,6 +313,8 @@ const __wbindgen_enum_IdbCursorDirection = ["next", "nextunique", "prev", "prevu
275
313
 
276
314
  const __wbindgen_enum_IdbTransactionMode = ["readonly", "readwrite", "versionchange", "readwriteflush", "cleanup"];
277
315
 
316
+ const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
317
+
278
318
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
279
319
 
280
320
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
@@ -692,6 +732,15 @@ export class Bill {
692
732
  const ret = wasm.bill_clear_bill_cache(this.__wbg_ptr);
693
733
  return ret;
694
734
  }
735
+ /**
736
+ * Given a bill id, resync the chain via block transport
737
+ * @param {ResyncBillPayload} payload
738
+ * @returns {Promise<void>}
739
+ */
740
+ sync_bill_chain(payload) {
741
+ const ret = wasm.bill_sync_bill_chain(this.__wbg_ptr, payload);
742
+ return ret;
743
+ }
695
744
  }
696
745
 
697
746
  const CompanyFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -1205,6 +1254,25 @@ export class Notification {
1205
1254
  const ret = wasm.notification_mark_as_done(this.__wbg_ptr, ptr0, len0);
1206
1255
  return ret;
1207
1256
  }
1257
+ /**
1258
+ * Register email notifications for the currently selected identity
1259
+ * @param {string} relay_url
1260
+ * @returns {Promise<void>}
1261
+ */
1262
+ register_email_notifications(relay_url) {
1263
+ const ptr0 = passStringToWasm0(relay_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1264
+ const len0 = WASM_VECTOR_LEN;
1265
+ const ret = wasm.notification_register_email_notifications(this.__wbg_ptr, ptr0, len0);
1266
+ return ret;
1267
+ }
1268
+ /**
1269
+ * Fetch email notifications preferences link for the currently selected identity
1270
+ * @returns {Promise<string>}
1271
+ */
1272
+ get_email_notifications_preferences_link() {
1273
+ const ret = wasm.notification_get_email_notifications_preferences_link(this.__wbg_ptr);
1274
+ return ret;
1275
+ }
1208
1276
  /**
1209
1277
  * @param {any} payload
1210
1278
  * @returns {Promise<void>}
@@ -1215,6 +1283,8 @@ export class Notification {
1215
1283
  }
1216
1284
  }
1217
1285
 
1286
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
1287
+
1218
1288
  async function __wbg_load(module, imports) {
1219
1289
  if (typeof Response === 'function' && module instanceof Response) {
1220
1290
  if (typeof WebAssembly.instantiateStreaming === 'function') {
@@ -1222,7 +1292,9 @@ async function __wbg_load(module, imports) {
1222
1292
  return await WebAssembly.instantiateStreaming(module, imports);
1223
1293
 
1224
1294
  } catch (e) {
1225
- if (module.headers.get('Content-Type') != 'application/wasm') {
1295
+ const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
1296
+
1297
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
1226
1298
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
1227
1299
 
1228
1300
  } else {
@@ -1249,6 +1321,10 @@ async function __wbg_load(module, imports) {
1249
1321
  function __wbg_get_imports() {
1250
1322
  const imports = {};
1251
1323
  imports.wbg = {};
1324
+ imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
1325
+ const ret = Error(getStringFromWasm0(arg0, arg1));
1326
+ return ret;
1327
+ };
1252
1328
  imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
1253
1329
  const ret = String(arg1);
1254
1330
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1256,76 +1332,75 @@ function __wbg_get_imports() {
1256
1332
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1257
1333
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1258
1334
  };
1259
- imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
1260
- arg0.abort(arg1);
1261
- };
1262
- imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
1335
+ imports.wbg.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
1263
1336
  arg0.abort();
1264
1337
  };
1265
- imports.wbg.__wbg_abort_99fc644e2c79c9fb = function() { return handleError(function (arg0) {
1338
+ imports.wbg.__wbg_abort_4198a1129c47f21a = function(arg0, arg1) {
1339
+ arg0.abort(arg1);
1340
+ };
1341
+ imports.wbg.__wbg_abort_601b12a63a2f3a3a = function() { return handleError(function (arg0) {
1266
1342
  arg0.abort();
1267
1343
  }, arguments) };
1268
- imports.wbg.__wbg_advance_b3ccc91b80962d79 = function() { return handleError(function (arg0, arg1) {
1344
+ imports.wbg.__wbg_advance_d12120c423e27f56 = function() { return handleError(function (arg0, arg1) {
1269
1345
  arg0.advance(arg1 >>> 0);
1270
1346
  }, arguments) };
1271
- imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1347
+ imports.wbg.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1272
1348
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1273
1349
  }, arguments) };
1274
- imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
1350
+ imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
1275
1351
  const ret = arg0.arrayBuffer();
1276
1352
  return ret;
1277
1353
  }, arguments) };
1278
- imports.wbg.__wbg_bound_f2afc3766d4545cf = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1354
+ imports.wbg.__wbg_bound_eb572b424befade3 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1279
1355
  const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
1280
1356
  return ret;
1281
1357
  }, arguments) };
1282
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
1358
+ imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
1283
1359
  const ret = arg0.buffer;
1284
1360
  return ret;
1285
1361
  };
1286
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
1287
- const ret = arg0.call(arg1);
1288
- return ret;
1289
- }, arguments) };
1290
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
1362
+ imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
1291
1363
  const ret = arg0.call(arg1, arg2);
1292
1364
  return ret;
1293
1365
  }, arguments) };
1294
- imports.wbg.__wbg_clearInterval_dd1e598f425db353 = function(arg0) {
1295
- const ret = clearInterval(arg0);
1366
+ imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
1367
+ const ret = arg0.call(arg1);
1296
1368
  return ret;
1369
+ }, arguments) };
1370
+ imports.wbg.__wbg_clearInterval_938929bdd0f2dff9 = function(arg0) {
1371
+ globalThis.clearInterval(arg0);
1297
1372
  };
1298
- imports.wbg.__wbg_clearTimeout_0b53d391c1b94dda = function(arg0) {
1373
+ imports.wbg.__wbg_clearTimeout_5a54f8841c30079a = function(arg0) {
1299
1374
  const ret = clearTimeout(arg0);
1300
1375
  return ret;
1301
1376
  };
1302
- imports.wbg.__wbg_clearTimeout_5a54f8841c30079a = function(arg0) {
1377
+ imports.wbg.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
1303
1378
  const ret = clearTimeout(arg0);
1304
1379
  return ret;
1305
1380
  };
1306
- imports.wbg.__wbg_close_2893b7d056a0627d = function() { return handleError(function (arg0) {
1381
+ imports.wbg.__wbg_close_b08c03c920ee0bba = function() { return handleError(function (arg0) {
1307
1382
  arg0.close();
1308
1383
  }, arguments) };
1309
- imports.wbg.__wbg_code_cfd8f6868bdaed9b = function(arg0) {
1384
+ imports.wbg.__wbg_code_5e459ca721f994f5 = function(arg0) {
1310
1385
  const ret = arg0.code;
1311
1386
  return ret;
1312
1387
  };
1313
- imports.wbg.__wbg_code_f4ec1e6e2e1b0417 = function(arg0) {
1388
+ imports.wbg.__wbg_code_af28d681bc86710a = function(arg0) {
1314
1389
  const ret = arg0.code;
1315
1390
  return ret;
1316
1391
  };
1317
- imports.wbg.__wbg_contains_b952b06daf857803 = function(arg0, arg1, arg2) {
1392
+ imports.wbg.__wbg_contains_8c2abfddfd33cd8e = function(arg0, arg1, arg2) {
1318
1393
  const ret = arg0.contains(getStringFromWasm0(arg1, arg2));
1319
1394
  return ret;
1320
1395
  };
1321
- imports.wbg.__wbg_continue_c46c11d3dbe1b030 = function() { return handleError(function (arg0) {
1396
+ imports.wbg.__wbg_continue_7d9cdafc888cb902 = function() { return handleError(function (arg0) {
1322
1397
  arg0.continue();
1323
1398
  }, arguments) };
1324
- imports.wbg.__wbg_createIndex_873ac48adc772309 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1399
+ imports.wbg.__wbg_createIndex_a343510ba567e58c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1325
1400
  const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
1326
1401
  return ret;
1327
1402
  }, arguments) };
1328
- imports.wbg.__wbg_createObjectStore_d2f9e1016f4d81b9 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1403
+ imports.wbg.__wbg_createObjectStore_382664053374be5d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1329
1404
  const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
1330
1405
  return ret;
1331
1406
  }, arguments) };
@@ -1333,31 +1408,38 @@ function __wbg_get_imports() {
1333
1408
  const ret = arg0.crypto;
1334
1409
  return ret;
1335
1410
  };
1336
- imports.wbg.__wbg_data_432d9c3df2630942 = function(arg0) {
1411
+ imports.wbg.__wbg_data_fffd43bf0ca75fff = function(arg0) {
1337
1412
  const ret = arg0.data;
1338
1413
  return ret;
1339
1414
  };
1340
- imports.wbg.__wbg_debug_e17b51583ca6a632 = function(arg0, arg1, arg2, arg3) {
1415
+ imports.wbg.__wbg_debug_103948ed4c500577 = function(arg0, arg1, arg2, arg3) {
1341
1416
  console.debug(arg0, arg1, arg2, arg3);
1342
1417
  };
1343
- imports.wbg.__wbg_deleteIndex_e6717aa0e9691894 = function() { return handleError(function (arg0, arg1, arg2) {
1418
+ imports.wbg.__wbg_deleteIndex_7875e5f8968c581b = function() { return handleError(function (arg0, arg1, arg2) {
1344
1419
  arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
1345
1420
  }, arguments) };
1346
- imports.wbg.__wbg_deleteObjectStore_3f08ae00cd288224 = function() { return handleError(function (arg0, arg1, arg2) {
1421
+ imports.wbg.__wbg_deleteObjectStore_7b427b19378475fd = function() { return handleError(function (arg0, arg1, arg2) {
1347
1422
  arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
1348
1423
  }, arguments) };
1349
- imports.wbg.__wbg_delete_200677093b4cf756 = function() { return handleError(function (arg0, arg1) {
1424
+ imports.wbg.__wbg_delete_71b7921c73aa9378 = function() { return handleError(function (arg0, arg1) {
1350
1425
  const ret = arg0.delete(arg1);
1351
1426
  return ret;
1352
1427
  }, arguments) };
1353
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
1428
+ imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
1354
1429
  const ret = arg0.done;
1355
1430
  return ret;
1356
1431
  };
1357
- imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
1432
+ imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
1358
1433
  const ret = Object.entries(arg0);
1359
1434
  return ret;
1360
1435
  };
1436
+ imports.wbg.__wbg_error_4e978abc9692c0c5 = function() { return handleError(function (arg0) {
1437
+ const ret = arg0.error;
1438
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1439
+ }, arguments) };
1440
+ imports.wbg.__wbg_error_624160881466fd69 = function(arg0, arg1, arg2, arg3) {
1441
+ console.error(arg0, arg1, arg2, arg3);
1442
+ };
1361
1443
  imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
1362
1444
  let deferred0_0;
1363
1445
  let deferred0_1;
@@ -1369,22 +1451,15 @@ function __wbg_get_imports() {
1369
1451
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
1370
1452
  }
1371
1453
  };
1372
- imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
1373
- console.error(arg0, arg1, arg2, arg3);
1374
- };
1375
1454
  imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
1376
1455
  console.error(getStringFromWasm0(arg0, arg1));
1377
1456
  };
1378
- imports.wbg.__wbg_error_ff4ddaabdfc5dbb3 = function() { return handleError(function (arg0) {
1379
- const ret = arg0.error;
1380
- return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1381
- }, arguments) };
1382
- imports.wbg.__wbg_fetch_11bff8299d0ecd2b = function(arg0) {
1383
- const ret = fetch(arg0);
1457
+ imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
1458
+ const ret = arg0.fetch(arg1);
1384
1459
  return ret;
1385
1460
  };
1386
- imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
1387
- const ret = arg0.fetch(arg1);
1461
+ imports.wbg.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
1462
+ const ret = fetch(arg0);
1388
1463
  return ret;
1389
1464
  };
1390
1465
  imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() { return handleError(function (arg0, arg1) {
@@ -1393,53 +1468,53 @@ function __wbg_get_imports() {
1393
1468
  imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
1394
1469
  arg0.getRandomValues(arg1);
1395
1470
  }, arguments) };
1396
- imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
1471
+ imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
1397
1472
  const ret = arg0.getTime();
1398
1473
  return ret;
1399
1474
  };
1400
- imports.wbg.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
1475
+ imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
1401
1476
  const ret = arg0.getTimezoneOffset();
1402
1477
  return ret;
1403
1478
  };
1404
- imports.wbg.__wbg_get_4f73335ab78445db = function(arg0, arg1, arg2) {
1405
- const ret = arg1[arg2 >>> 0];
1406
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1407
- var len1 = WASM_VECTOR_LEN;
1408
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1409
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1410
- };
1411
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
1479
+ imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
1412
1480
  const ret = Reflect.get(arg0, arg1);
1413
1481
  return ret;
1414
1482
  }, arguments) };
1415
- imports.wbg.__wbg_get_8da03f81f6a1111e = function() { return handleError(function (arg0, arg1) {
1483
+ imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
1484
+ const ret = arg0[arg1 >>> 0];
1485
+ return ret;
1486
+ };
1487
+ imports.wbg.__wbg_get_d37904b955701f99 = function() { return handleError(function (arg0, arg1) {
1416
1488
  const ret = arg0.get(arg1);
1417
1489
  return ret;
1418
1490
  }, arguments) };
1419
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
1420
- const ret = arg0[arg1 >>> 0];
1421
- return ret;
1491
+ imports.wbg.__wbg_get_f6d69e7b8be3e072 = function(arg0, arg1, arg2) {
1492
+ const ret = arg1[arg2 >>> 0];
1493
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1494
+ var len1 = WASM_VECTOR_LEN;
1495
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1496
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1422
1497
  };
1423
1498
  imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
1424
1499
  const ret = arg0[arg1];
1425
1500
  return ret;
1426
1501
  };
1427
- imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
1502
+ imports.wbg.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
1428
1503
  const ret = Reflect.has(arg0, arg1);
1429
1504
  return ret;
1430
1505
  }, arguments) };
1431
- imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
1506
+ imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
1432
1507
  const ret = arg0.headers;
1433
1508
  return ret;
1434
1509
  };
1435
- imports.wbg.__wbg_indexNames_0ed82a19d7d88aa3 = function(arg0) {
1510
+ imports.wbg.__wbg_indexNames_bda908b23b7492bf = function(arg0) {
1436
1511
  const ret = arg0.indexNames;
1437
1512
  return ret;
1438
1513
  };
1439
- imports.wbg.__wbg_info_033d8b8a0838f1d3 = function(arg0, arg1, arg2, arg3) {
1514
+ imports.wbg.__wbg_info_a1cc312ecc877319 = function(arg0, arg1, arg2, arg3) {
1440
1515
  console.info(arg0, arg1, arg2, arg3);
1441
1516
  };
1442
- imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
1517
+ imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
1443
1518
  let result;
1444
1519
  try {
1445
1520
  result = arg0 instanceof ArrayBuffer;
@@ -1449,7 +1524,7 @@ function __wbg_get_imports() {
1449
1524
  const ret = result;
1450
1525
  return ret;
1451
1526
  };
1452
- imports.wbg.__wbg_instanceof_Blob_ca721ef3bdab15d1 = function(arg0) {
1527
+ imports.wbg.__wbg_instanceof_Blob_2688511ca2a71508 = function(arg0) {
1453
1528
  let result;
1454
1529
  try {
1455
1530
  result = arg0 instanceof Blob;
@@ -1459,7 +1534,7 @@ function __wbg_get_imports() {
1459
1534
  const ret = result;
1460
1535
  return ret;
1461
1536
  };
1462
- imports.wbg.__wbg_instanceof_IdbFactory_12eaba3366f4302f = function(arg0) {
1537
+ imports.wbg.__wbg_instanceof_IdbFactory_27448d2c5db6dc3c = function(arg0) {
1463
1538
  let result;
1464
1539
  try {
1465
1540
  result = arg0 instanceof IDBFactory;
@@ -1469,7 +1544,7 @@ function __wbg_get_imports() {
1469
1544
  const ret = result;
1470
1545
  return ret;
1471
1546
  };
1472
- imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
1547
+ imports.wbg.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
1473
1548
  let result;
1474
1549
  try {
1475
1550
  result = arg0 instanceof Map;
@@ -1479,7 +1554,7 @@ function __wbg_get_imports() {
1479
1554
  const ret = result;
1480
1555
  return ret;
1481
1556
  };
1482
- imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
1557
+ imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
1483
1558
  let result;
1484
1559
  try {
1485
1560
  result = arg0 instanceof Response;
@@ -1489,7 +1564,7 @@ function __wbg_get_imports() {
1489
1564
  const ret = result;
1490
1565
  return ret;
1491
1566
  };
1492
- imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
1567
+ imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
1493
1568
  let result;
1494
1569
  try {
1495
1570
  result = arg0 instanceof Uint8Array;
@@ -1499,50 +1574,74 @@ function __wbg_get_imports() {
1499
1574
  const ret = result;
1500
1575
  return ret;
1501
1576
  };
1502
- imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
1577
+ imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
1503
1578
  const ret = Array.isArray(arg0);
1504
1579
  return ret;
1505
1580
  };
1506
- imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
1581
+ imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
1507
1582
  const ret = Number.isSafeInteger(arg0);
1508
1583
  return ret;
1509
1584
  };
1510
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
1585
+ imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
1511
1586
  const ret = Symbol.iterator;
1512
1587
  return ret;
1513
1588
  };
1514
- imports.wbg.__wbg_key_29fefecef430db96 = function() { return handleError(function (arg0) {
1589
+ imports.wbg.__wbg_key_a17a68df9ec1b180 = function() { return handleError(function (arg0) {
1515
1590
  const ret = arg0.key;
1516
1591
  return ret;
1517
1592
  }, arguments) };
1518
- imports.wbg.__wbg_length_52b6c4580c5ec934 = function(arg0) {
1593
+ imports.wbg.__wbg_length_1589a5d84cb38f9b = function(arg0) {
1519
1594
  const ret = arg0.length;
1520
1595
  return ret;
1521
1596
  };
1522
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
1597
+ imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
1523
1598
  const ret = arg0.length;
1524
1599
  return ret;
1525
1600
  };
1526
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
1601
+ imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
1527
1602
  const ret = arg0.length;
1528
1603
  return ret;
1529
1604
  };
1530
- imports.wbg.__wbg_log_cad59bb680daec67 = function(arg0, arg1, arg2, arg3) {
1605
+ imports.wbg.__wbg_log_bff357b3df4db934 = function(arg0, arg1, arg2, arg3) {
1531
1606
  console.log(arg0, arg1, arg2, arg3);
1532
1607
  };
1533
1608
  imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
1534
1609
  const ret = arg0.msCrypto;
1535
1610
  return ret;
1536
1611
  };
1537
- imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
1612
+ imports.wbg.__wbg_new0_97314565408dea38 = function() {
1538
1613
  const ret = new Date();
1539
1614
  return ret;
1540
1615
  };
1541
- imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
1616
+ imports.wbg.__wbg_new_07b483f72211fd66 = function() {
1617
+ const ret = new Object();
1618
+ return ret;
1619
+ };
1620
+ imports.wbg.__wbg_new_186abcfdff244e42 = function() { return handleError(function () {
1621
+ const ret = new AbortController();
1622
+ return ret;
1623
+ }, arguments) };
1624
+ imports.wbg.__wbg_new_4796e1cd2eb9ea6d = function() { return handleError(function () {
1542
1625
  const ret = new Headers();
1543
1626
  return ret;
1544
1627
  }, arguments) };
1545
- imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
1628
+ imports.wbg.__wbg_new_58353953ad2097cc = function() {
1629
+ const ret = new Array();
1630
+ return ret;
1631
+ };
1632
+ imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
1633
+ const ret = new Error();
1634
+ return ret;
1635
+ };
1636
+ imports.wbg.__wbg_new_a2957aa5684de228 = function(arg0) {
1637
+ const ret = new Date(arg0);
1638
+ return ret;
1639
+ };
1640
+ imports.wbg.__wbg_new_a979b4b45bd55c7f = function() {
1641
+ const ret = new Map();
1642
+ return ret;
1643
+ };
1644
+ imports.wbg.__wbg_new_e30c39c06edaabf2 = function(arg0, arg1) {
1546
1645
  try {
1547
1646
  var state0 = {a: arg0, b: arg1};
1548
1647
  var cb0 = (arg0, arg1) => {
@@ -1560,59 +1659,39 @@ function __wbg_get_imports() {
1560
1659
  state0.a = state0.b = 0;
1561
1660
  }
1562
1661
  };
1563
- imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
1564
- const ret = new Date(arg0);
1565
- return ret;
1566
- };
1567
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
1568
- const ret = new Object();
1569
- return ret;
1570
- };
1571
- imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
1572
- const ret = new Map();
1573
- return ret;
1574
- };
1575
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
1576
- const ret = new Array();
1577
- return ret;
1578
- };
1579
- imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
1580
- const ret = new Error();
1662
+ imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
1663
+ const ret = new Uint8Array(arg0);
1581
1664
  return ret;
1582
1665
  };
1583
- imports.wbg.__wbg_new_92c54fc74574ef55 = function() { return handleError(function (arg0, arg1) {
1666
+ imports.wbg.__wbg_new_f42a001532528172 = function() { return handleError(function (arg0, arg1) {
1584
1667
  const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
1585
1668
  return ret;
1586
1669
  }, arguments) };
1587
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
1588
- const ret = new Uint8Array(arg0);
1670
+ imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
1671
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1589
1672
  return ret;
1590
1673
  };
1591
- imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
1592
- const ret = new AbortController();
1593
- return ret;
1594
- }, arguments) };
1595
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
1674
+ imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
1596
1675
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1597
1676
  return ret;
1598
1677
  };
1599
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
1678
+ imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
1600
1679
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1601
1680
  return ret;
1602
1681
  };
1603
- imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
1682
+ imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
1604
1683
  const ret = new Uint8Array(arg0 >>> 0);
1605
1684
  return ret;
1606
1685
  };
1607
- imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
1686
+ imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
1608
1687
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
1609
1688
  return ret;
1610
1689
  }, arguments) };
1611
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
1690
+ imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
1612
1691
  const ret = arg0.next;
1613
1692
  return ret;
1614
1693
  };
1615
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
1694
+ imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
1616
1695
  const ret = arg0.next();
1617
1696
  return ret;
1618
1697
  }, arguments) };
@@ -1624,84 +1703,84 @@ function __wbg_get_imports() {
1624
1703
  const ret = arg0.now();
1625
1704
  return ret;
1626
1705
  };
1627
- imports.wbg.__wbg_now_807e54c39636c349 = function() {
1628
- const ret = Date.now();
1706
+ imports.wbg.__wbg_now_7ab37f05ab2d0b81 = function(arg0) {
1707
+ const ret = arg0.now();
1629
1708
  return ret;
1630
1709
  };
1631
1710
  imports.wbg.__wbg_now_af563e9b04dc2a0a = function() { return handleError(function () {
1632
1711
  const ret = Date.now();
1633
1712
  return ret;
1634
1713
  }, arguments) };
1635
- imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
1636
- const ret = arg0.now();
1714
+ imports.wbg.__wbg_now_eb0821f3bd9f6529 = function() {
1715
+ const ret = Date.now();
1637
1716
  return ret;
1638
1717
  };
1639
- imports.wbg.__wbg_objectStoreNames_9bb1ab04a7012aaf = function(arg0) {
1718
+ imports.wbg.__wbg_objectStoreNames_e82275eb2d403a92 = function(arg0) {
1640
1719
  const ret = arg0.objectStoreNames;
1641
1720
  return ret;
1642
1721
  };
1643
- imports.wbg.__wbg_objectStore_21878d46d25b64b6 = function() { return handleError(function (arg0, arg1, arg2) {
1722
+ imports.wbg.__wbg_objectStore_b463d32c86d6b543 = function() { return handleError(function (arg0, arg1, arg2) {
1644
1723
  const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
1645
1724
  return ret;
1646
1725
  }, arguments) };
1647
- imports.wbg.__wbg_openCursor_238e247d18bde2cd = function() { return handleError(function (arg0) {
1726
+ imports.wbg.__wbg_openCursor_7c13a2cd32c6258b = function() { return handleError(function (arg0) {
1648
1727
  const ret = arg0.openCursor();
1649
1728
  return ret;
1650
1729
  }, arguments) };
1651
- imports.wbg.__wbg_openCursor_6fd4dab51810d238 = function() { return handleError(function (arg0, arg1, arg2) {
1730
+ imports.wbg.__wbg_openCursor_8484684434b3d850 = function() { return handleError(function (arg0, arg1, arg2) {
1652
1731
  const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
1653
1732
  return ret;
1654
1733
  }, arguments) };
1655
- imports.wbg.__wbg_openCursor_f4b061aa6d804b93 = function() { return handleError(function (arg0, arg1) {
1734
+ imports.wbg.__wbg_openCursor_a53133c898e0829c = function() { return handleError(function (arg0, arg1) {
1656
1735
  const ret = arg0.openCursor(arg1);
1657
1736
  return ret;
1658
1737
  }, arguments) };
1659
- imports.wbg.__wbg_open_88b1390d99a7c691 = function() { return handleError(function (arg0, arg1, arg2) {
1660
- const ret = arg0.open(getStringFromWasm0(arg1, arg2));
1738
+ imports.wbg.__wbg_open_0f04f50fa4d98f67 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1739
+ const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
1661
1740
  return ret;
1662
1741
  }, arguments) };
1663
- imports.wbg.__wbg_open_e0c0b2993eb596e1 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1664
- const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
1742
+ imports.wbg.__wbg_open_b70fb421d97aad40 = function() { return handleError(function (arg0, arg1, arg2) {
1743
+ const ret = arg0.open(getStringFromWasm0(arg1, arg2));
1665
1744
  return ret;
1666
1745
  }, arguments) };
1667
1746
  imports.wbg.__wbg_performance_1a2515c93daf8b0c = function(arg0) {
1668
1747
  const ret = arg0.performance;
1669
1748
  return ret;
1670
1749
  };
1671
- imports.wbg.__wbg_postMessage_83a8d58d3fcb6c13 = function() { return handleError(function (arg0, arg1) {
1750
+ imports.wbg.__wbg_postMessage_54ce7f4b41ac732e = function() { return handleError(function (arg0, arg1) {
1672
1751
  arg0.postMessage(arg1);
1673
1752
  }, arguments) };
1674
1753
  imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
1675
1754
  const ret = arg0.process;
1676
1755
  return ret;
1677
1756
  };
1678
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
1757
+ imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
1679
1758
  const ret = arg0.push(arg1);
1680
1759
  return ret;
1681
1760
  };
1682
- imports.wbg.__wbg_put_066faa31a6a88f5b = function() { return handleError(function (arg0, arg1, arg2) {
1683
- const ret = arg0.put(arg1, arg2);
1761
+ imports.wbg.__wbg_put_4ac965fd84929adb = function() { return handleError(function (arg0, arg1) {
1762
+ const ret = arg0.put(arg1);
1684
1763
  return ret;
1685
1764
  }, arguments) };
1686
- imports.wbg.__wbg_put_9ef5363941008835 = function() { return handleError(function (arg0, arg1) {
1687
- const ret = arg0.put(arg1);
1765
+ imports.wbg.__wbg_put_7f0b4dcc666f09e3 = function() { return handleError(function (arg0, arg1, arg2) {
1766
+ const ret = arg0.put(arg1, arg2);
1688
1767
  return ret;
1689
1768
  }, arguments) };
1690
- imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
1769
+ imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
1691
1770
  queueMicrotask(arg0);
1692
1771
  };
1693
- imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
1772
+ imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
1694
1773
  const ret = arg0.queueMicrotask;
1695
1774
  return ret;
1696
1775
  };
1697
1776
  imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
1698
1777
  arg0.randomFillSync(arg1);
1699
1778
  }, arguments) };
1700
- imports.wbg.__wbg_readyState_7ef6e63c349899ed = function(arg0) {
1779
+ imports.wbg.__wbg_readyState_0868e1980731c0c9 = function(arg0) {
1701
1780
  const ret = arg0.readyState;
1702
1781
  return ret;
1703
1782
  };
1704
- imports.wbg.__wbg_reason_49f1cede8bcf23dd = function(arg0, arg1) {
1783
+ imports.wbg.__wbg_reason_1da676d7b4eb3d11 = function(arg0, arg1) {
1705
1784
  const ret = arg1.reason;
1706
1785
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1707
1786
  const len1 = WASM_VECTOR_LEN;
@@ -1712,28 +1791,31 @@ function __wbg_get_imports() {
1712
1791
  const ret = module.require;
1713
1792
  return ret;
1714
1793
  }, arguments) };
1715
- imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
1794
+ imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
1716
1795
  const ret = Promise.resolve(arg0);
1717
1796
  return ret;
1718
1797
  };
1719
- imports.wbg.__wbg_result_f29afabdf2c05826 = function() { return handleError(function (arg0) {
1798
+ imports.wbg.__wbg_result_a0f1bf2fe64a516c = function() { return handleError(function (arg0) {
1720
1799
  const ret = arg0.result;
1721
1800
  return ret;
1722
1801
  }, arguments) };
1723
- imports.wbg.__wbg_send_0293179ba074ffb4 = function() { return handleError(function (arg0, arg1, arg2) {
1724
- arg0.send(getStringFromWasm0(arg1, arg2));
1725
- }, arguments) };
1726
- imports.wbg.__wbg_send_fc0c204e8a1757f4 = function() { return handleError(function (arg0, arg1, arg2) {
1802
+ imports.wbg.__wbg_send_d666d53fc136c07a = function() { return handleError(function (arg0, arg1, arg2) {
1727
1803
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
1728
1804
  }, arguments) };
1729
- imports.wbg.__wbg_setInterval_ed3b5e3c3ebb8a6d = function() { return handleError(function (arg0, arg1) {
1730
- const ret = setInterval(arg0, arg1);
1731
- return ret;
1805
+ imports.wbg.__wbg_send_dea802cc909a6faa = function() { return handleError(function (arg0, arg1, arg2) {
1806
+ arg0.send(getStringFromWasm0(arg1, arg2));
1732
1807
  }, arguments) };
1733
- imports.wbg.__wbg_setTimeout_73ce8df12de4f2f2 = function(arg0, arg1) {
1808
+ imports.wbg.__wbg_setInterval_c733bbe39e9b7c2b = function(arg0, arg1) {
1809
+ const ret = globalThis.setInterval(arg0, arg1);
1810
+ return ret;
1811
+ };
1812
+ imports.wbg.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
1734
1813
  const ret = setTimeout(arg0, arg1);
1735
1814
  return ret;
1736
1815
  };
1816
+ imports.wbg.__wbg_setTimeout_8f06012fba12034e = function(arg0, arg1) {
1817
+ globalThis.setTimeout(arg0, arg1);
1818
+ };
1737
1819
  imports.wbg.__wbg_setTimeout_db2dbaeefb6f39c7 = function() { return handleError(function (arg0, arg1) {
1738
1820
  const ret = setTimeout(arg0, arg1);
1739
1821
  return ret;
@@ -1742,83 +1824,86 @@ function __wbg_get_imports() {
1742
1824
  const ret = arg0.setTimeout(arg1, arg2);
1743
1825
  return ret;
1744
1826
  }, arguments) };
1745
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
1746
- arg0[arg1 >>> 0] = arg2;
1747
- };
1748
1827
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
1749
1828
  arg0[arg1] = arg2;
1750
1829
  };
1751
- imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
1752
- arg0.set(arg1, arg2 >>> 0);
1830
+ imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
1831
+ arg0[arg1 >>> 0] = arg2;
1753
1832
  };
1754
- imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
1833
+ imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
1755
1834
  const ret = arg0.set(arg1, arg2);
1756
1835
  return ret;
1757
1836
  };
1758
- imports.wbg.__wbg_setautoincrement_8b4327709e9ee7d9 = function(arg0, arg1) {
1837
+ imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
1838
+ arg0.set(arg1, arg2 >>> 0);
1839
+ };
1840
+ imports.wbg.__wbg_setautoincrement_6589237510ecaf4f = function(arg0, arg1) {
1759
1841
  arg0.autoIncrement = arg1 !== 0;
1760
1842
  };
1761
- imports.wbg.__wbg_setbinaryType_92fa1ffd873b327c = function(arg0, arg1) {
1843
+ imports.wbg.__wbg_setbinaryType_52787d6025601cc5 = function(arg0, arg1) {
1762
1844
  arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
1763
1845
  };
1764
- imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
1846
+ imports.wbg.__wbg_setbody_971ec015fc13d6b4 = function(arg0, arg1) {
1765
1847
  arg0.body = arg1;
1766
1848
  };
1767
- imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
1849
+ imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
1850
+ arg0.cache = __wbindgen_enum_RequestCache[arg1];
1851
+ };
1852
+ imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
1768
1853
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1769
1854
  };
1770
- imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
1855
+ imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
1771
1856
  arg0.headers = arg1;
1772
1857
  };
1773
- imports.wbg.__wbg_setkeypath_691179e313c26ae1 = function(arg0, arg1) {
1858
+ imports.wbg.__wbg_setkeypath_89c871b39940cb3c = function(arg0, arg1) {
1774
1859
  arg0.keyPath = arg1;
1775
1860
  };
1776
- imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
1861
+ imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
1777
1862
  arg0.method = getStringFromWasm0(arg1, arg2);
1778
1863
  };
1779
- imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
1864
+ imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
1780
1865
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1781
1866
  };
1782
- imports.wbg.__wbg_setmultientry_4c4eee871f29837a = function(arg0, arg1) {
1867
+ imports.wbg.__wbg_setmultientry_64e53a16b504c272 = function(arg0, arg1) {
1783
1868
  arg0.multiEntry = arg1 !== 0;
1784
1869
  };
1785
- imports.wbg.__wbg_setonabort_3bf4db6614fa98e9 = function(arg0, arg1) {
1870
+ imports.wbg.__wbg_setonabort_479ebb5884fcb171 = function(arg0, arg1) {
1786
1871
  arg0.onabort = arg1;
1787
1872
  };
1788
- imports.wbg.__wbg_setonclose_14fc475a49d488fc = function(arg0, arg1) {
1873
+ imports.wbg.__wbg_setonclose_c6db38f935250174 = function(arg0, arg1) {
1789
1874
  arg0.onclose = arg1;
1790
1875
  };
1791
- imports.wbg.__wbg_setoncomplete_4d19df0dadb7c4d4 = function(arg0, arg1) {
1876
+ imports.wbg.__wbg_setoncomplete_27bdbca012e45c05 = function(arg0, arg1) {
1792
1877
  arg0.oncomplete = arg1;
1793
1878
  };
1794
- imports.wbg.__wbg_setonerror_8639efe354b947cd = function(arg0, arg1) {
1879
+ imports.wbg.__wbg_setonerror_537b68f474e27d4e = function(arg0, arg1) {
1795
1880
  arg0.onerror = arg1;
1796
1881
  };
1797
- imports.wbg.__wbg_setonerror_b0d9d723b8fddbbb = function(arg0, arg1) {
1882
+ imports.wbg.__wbg_setonerror_ab02451cd01cb480 = function(arg0, arg1) {
1798
1883
  arg0.onerror = arg1;
1799
1884
  };
1800
- imports.wbg.__wbg_setonerror_d7e3056cc6e56085 = function(arg0, arg1) {
1885
+ imports.wbg.__wbg_setonerror_ce5c4d34aed931bb = function(arg0, arg1) {
1801
1886
  arg0.onerror = arg1;
1802
1887
  };
1803
- imports.wbg.__wbg_setonmessage_6eccab530a8fb4c7 = function(arg0, arg1) {
1888
+ imports.wbg.__wbg_setonmessage_49ca623a77cfb3e6 = function(arg0, arg1) {
1804
1889
  arg0.onmessage = arg1;
1805
1890
  };
1806
- imports.wbg.__wbg_setonopen_2da654e1f39745d5 = function(arg0, arg1) {
1891
+ imports.wbg.__wbg_setonopen_1475cbeb761c101f = function(arg0, arg1) {
1807
1892
  arg0.onopen = arg1;
1808
1893
  };
1809
- imports.wbg.__wbg_setonsuccess_afa464ee777a396d = function(arg0, arg1) {
1894
+ imports.wbg.__wbg_setonsuccess_0b2b45bd8cc13b95 = function(arg0, arg1) {
1810
1895
  arg0.onsuccess = arg1;
1811
1896
  };
1812
- imports.wbg.__wbg_setonupgradeneeded_fcf7ce4f2eb0cb5f = function(arg0, arg1) {
1897
+ imports.wbg.__wbg_setonupgradeneeded_be2e0ae927917f82 = function(arg0, arg1) {
1813
1898
  arg0.onupgradeneeded = arg1;
1814
1899
  };
1815
- imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
1900
+ imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
1816
1901
  arg0.signal = arg1;
1817
1902
  };
1818
- imports.wbg.__wbg_setunique_dd24c422aa05df89 = function(arg0, arg1) {
1903
+ imports.wbg.__wbg_setunique_727cefd7e14cf677 = function(arg0, arg1) {
1819
1904
  arg0.unique = arg1 !== 0;
1820
1905
  };
1821
- imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
1906
+ imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
1822
1907
  const ret = arg0.signal;
1823
1908
  return ret;
1824
1909
  };
@@ -1829,88 +1914,88 @@ function __wbg_get_imports() {
1829
1914
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1830
1915
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1831
1916
  };
1832
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
1917
+ imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
1833
1918
  const ret = typeof global === 'undefined' ? null : global;
1834
1919
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1835
1920
  };
1836
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
1921
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
1837
1922
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1838
1923
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1839
1924
  };
1840
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
1925
+ imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
1841
1926
  const ret = typeof self === 'undefined' ? null : self;
1842
1927
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1843
1928
  };
1844
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
1929
+ imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
1845
1930
  const ret = typeof window === 'undefined' ? null : window;
1846
1931
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1847
1932
  };
1848
- imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
1933
+ imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
1849
1934
  const ret = arg0.status;
1850
1935
  return ret;
1851
1936
  };
1852
- imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
1937
+ imports.wbg.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
1853
1938
  const ret = JSON.stringify(arg0);
1854
1939
  return ret;
1855
1940
  }, arguments) };
1856
- imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
1941
+ imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
1857
1942
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1858
1943
  return ret;
1859
1944
  };
1860
- imports.wbg.__wbg_target_0a62d9d79a2a1ede = function(arg0) {
1945
+ imports.wbg.__wbg_target_15f1da583855ac4e = function(arg0) {
1861
1946
  const ret = arg0.target;
1862
1947
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1863
1948
  };
1864
- imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
1865
- const ret = arg0.then(arg1);
1949
+ imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
1950
+ const ret = arg0.then(arg1, arg2);
1866
1951
  return ret;
1867
1952
  };
1868
- imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
1869
- const ret = arg0.then(arg1, arg2);
1953
+ imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
1954
+ const ret = arg0.then(arg1);
1870
1955
  return ret;
1871
1956
  };
1872
- imports.wbg.__wbg_toString_c813bbd34d063839 = function(arg0) {
1957
+ imports.wbg.__wbg_toString_21791a66666b3afd = function(arg0) {
1873
1958
  const ret = arg0.toString();
1874
1959
  return ret;
1875
1960
  };
1876
- imports.wbg.__wbg_transaction_d6d07c3c9963c49e = function() { return handleError(function (arg0, arg1, arg2) {
1877
- const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
1878
- return ret;
1879
- }, arguments) };
1880
- imports.wbg.__wbg_transaction_e713aa7b07ccaedd = function(arg0) {
1961
+ imports.wbg.__wbg_transaction_34c41b46ca391af6 = function(arg0) {
1881
1962
  const ret = arg0.transaction;
1882
1963
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1883
1964
  };
1884
- imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
1965
+ imports.wbg.__wbg_transaction_399fc15f5bba1880 = function() { return handleError(function (arg0, arg1, arg2) {
1966
+ const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
1967
+ return ret;
1968
+ }, arguments) };
1969
+ imports.wbg.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
1885
1970
  const ret = arg1.url;
1886
1971
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1887
1972
  const len1 = WASM_VECTOR_LEN;
1888
1973
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1889
1974
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1890
1975
  };
1891
- imports.wbg.__wbg_url_ce9ab75bf9627ae4 = function(arg0, arg1) {
1976
+ imports.wbg.__wbg_url_f1f05444c281ba1c = function(arg0, arg1) {
1892
1977
  const ret = arg1.url;
1893
1978
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1894
1979
  const len1 = WASM_VECTOR_LEN;
1895
1980
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1896
1981
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1897
1982
  };
1898
- imports.wbg.__wbg_value_68c4e9a54bb7fd5e = function() { return handleError(function (arg0) {
1983
+ imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
1899
1984
  const ret = arg0.value;
1900
1985
  return ret;
1901
- }, arguments) };
1902
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
1986
+ };
1987
+ imports.wbg.__wbg_value_648dc44894c8dc95 = function() { return handleError(function (arg0) {
1903
1988
  const ret = arg0.value;
1904
1989
  return ret;
1905
- };
1990
+ }, arguments) };
1906
1991
  imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
1907
1992
  const ret = arg0.versions;
1908
1993
  return ret;
1909
1994
  };
1910
- imports.wbg.__wbg_warn_aaf1f4664a035bd6 = function(arg0, arg1, arg2, arg3) {
1995
+ imports.wbg.__wbg_warn_90607373221a6b1c = function(arg0, arg1, arg2, arg3) {
1911
1996
  console.warn(arg0, arg1, arg2, arg3);
1912
1997
  };
1913
- imports.wbg.__wbg_wasClean_605b4fd66d44354a = function(arg0) {
1998
+ imports.wbg.__wbg_wasClean_77b02fe3e3ef98f1 = function(arg0) {
1914
1999
  const ret = arg0.wasClean;
1915
2000
  return ret;
1916
2001
  };
@@ -1946,32 +2031,36 @@ function __wbg_get_imports() {
1946
2031
  const ret = false;
1947
2032
  return ret;
1948
2033
  };
1949
- imports.wbg.__wbindgen_closure_wrapper10852 = function(arg0, arg1, arg2) {
1950
- const ret = makeMutClosure(arg0, arg1, 830, __wbg_adapter_54);
2034
+ imports.wbg.__wbindgen_closure_wrapper10317 = function(arg0, arg1, arg2) {
2035
+ const ret = makeMutClosure(arg0, arg1, 715, __wbg_adapter_55);
2036
+ return ret;
2037
+ };
2038
+ imports.wbg.__wbindgen_closure_wrapper11271 = function(arg0, arg1, arg2) {
2039
+ const ret = makeMutClosure(arg0, arg1, 856, __wbg_adapter_65);
1951
2040
  return ret;
1952
2041
  };
1953
- imports.wbg.__wbindgen_closure_wrapper10876 = function(arg0, arg1, arg2) {
1954
- const ret = makeMutClosure(arg0, arg1, 833, __wbg_adapter_66);
2042
+ imports.wbg.__wbindgen_closure_wrapper20023 = function(arg0, arg1, arg2) {
2043
+ const ret = makeMutClosure(arg0, arg1, 628, __wbg_adapter_55);
1955
2044
  return ret;
1956
2045
  };
1957
- imports.wbg.__wbindgen_closure_wrapper19584 = function(arg0, arg1, arg2) {
1958
- const ret = makeMutClosure(arg0, arg1, 597, __wbg_adapter_57);
2046
+ imports.wbg.__wbindgen_closure_wrapper20064 = function(arg0, arg1, arg2) {
2047
+ const ret = makeMutClosure(arg0, arg1, 628, __wbg_adapter_58);
1959
2048
  return ret;
1960
2049
  };
1961
- imports.wbg.__wbindgen_closure_wrapper2122 = function(arg0, arg1, arg2) {
1962
- const ret = makeMutClosure(arg0, arg1, 597, __wbg_adapter_54);
2050
+ imports.wbg.__wbindgen_closure_wrapper2147 = function(arg0, arg1, arg2) {
2051
+ const ret = makeClosure(arg0, arg1, 348, __wbg_adapter_52);
1963
2052
  return ret;
1964
2053
  };
1965
- imports.wbg.__wbindgen_closure_wrapper2829 = function(arg0, arg1, arg2) {
1966
- const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_57);
2054
+ imports.wbg.__wbindgen_closure_wrapper2855 = function(arg0, arg1, arg2) {
2055
+ const ret = makeMutClosure(arg0, arg1, 348, __wbg_adapter_55);
1967
2056
  return ret;
1968
2057
  };
1969
- imports.wbg.__wbindgen_closure_wrapper2954 = function(arg0, arg1, arg2) {
1970
- const ret = makeMutClosure(arg0, arg1, 597, __wbg_adapter_54);
2058
+ imports.wbg.__wbindgen_closure_wrapper5362 = function(arg0, arg1, arg2) {
2059
+ const ret = makeMutClosure(arg0, arg1, 853, __wbg_adapter_58);
1971
2060
  return ret;
1972
2061
  };
1973
- imports.wbg.__wbindgen_closure_wrapper9845 = function(arg0, arg1, arg2) {
1974
- const ret = makeMutClosure(arg0, arg1, 683, __wbg_adapter_57);
2062
+ imports.wbg.__wbindgen_closure_wrapper8502 = function(arg0, arg1, arg2) {
2063
+ const ret = makeMutClosure(arg0, arg1, 628, __wbg_adapter_58);
1975
2064
  return ret;
1976
2065
  };
1977
2066
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
@@ -1981,10 +2070,6 @@ function __wbg_get_imports() {
1981
2070
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1982
2071
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1983
2072
  };
1984
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
1985
- const ret = new Error(getStringFromWasm0(arg0, arg1));
1986
- return ret;
1987
- };
1988
2073
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
1989
2074
  const ret = arg0 in arg1;
1990
2075
  return ret;
package/index_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitcredit/bcr-ebill-wasm",
3
3
  "type": "module",
4
- "version": "0.4.3",
4
+ "version": "0.4.5",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "index_bg.wasm",