@bitcredit/bcr-ebill-wasm 0.4.4 → 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 +29 -9
- package/index.js +277 -229
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
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 {
|
|
@@ -631,7 +635,7 @@ export interface UploadFileResponse {
|
|
|
631
635
|
file_upload_id: string;
|
|
632
636
|
}
|
|
633
637
|
|
|
634
|
-
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";
|
|
635
639
|
|
|
636
640
|
export interface JsErrorData {
|
|
637
641
|
error: JsErrorType;
|
|
@@ -641,6 +645,7 @@ export interface JsErrorData {
|
|
|
641
645
|
|
|
642
646
|
export interface Config {
|
|
643
647
|
log_level: string | undefined;
|
|
648
|
+
app_url: string;
|
|
644
649
|
bitcoin_network: string;
|
|
645
650
|
esplora_base_url: string;
|
|
646
651
|
nostr_relays: string[];
|
|
@@ -737,6 +742,10 @@ export class Bill {
|
|
|
737
742
|
request_to_recourse_bill_payment(payload: RequestRecourseForPaymentPayload): Promise<void>;
|
|
738
743
|
request_to_recourse_bill_acceptance(payload: RequestRecourseForPaymentPayload): Promise<void>;
|
|
739
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>;
|
|
740
749
|
}
|
|
741
750
|
export class Company {
|
|
742
751
|
private constructor();
|
|
@@ -801,6 +810,14 @@ export class Notification {
|
|
|
801
810
|
subscribe(callback: Function): Promise<void>;
|
|
802
811
|
list(filters: NotificationFilters): Promise<NotificationWeb[]>;
|
|
803
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>;
|
|
804
821
|
trigger_test_msg(payload: any): Promise<void>;
|
|
805
822
|
}
|
|
806
823
|
|
|
@@ -844,6 +861,7 @@ export interface InitOutput {
|
|
|
844
861
|
readonly bill_request_to_recourse_bill_payment: (a: number, b: any) => any;
|
|
845
862
|
readonly bill_request_to_recourse_bill_acceptance: (a: number, b: any) => any;
|
|
846
863
|
readonly bill_clear_bill_cache: (a: number) => any;
|
|
864
|
+
readonly bill_sync_bill_chain: (a: number, b: any) => any;
|
|
847
865
|
readonly company_file: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
848
866
|
readonly company_file_base64: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
849
867
|
readonly company_upload: (a: number, b: any) => any;
|
|
@@ -883,6 +901,8 @@ export interface InitOutput {
|
|
|
883
901
|
readonly notification_subscribe: (a: number, b: any) => any;
|
|
884
902
|
readonly notification_list: (a: number, b: any) => any;
|
|
885
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;
|
|
886
906
|
readonly notification_trigger_test_msg: (a: number, b: any) => any;
|
|
887
907
|
readonly __wbg_api_free: (a: number, b: number) => void;
|
|
888
908
|
readonly api_bill: () => number;
|
|
@@ -904,12 +924,12 @@ export interface InitOutput {
|
|
|
904
924
|
readonly api_notification: () => number;
|
|
905
925
|
readonly api_contact: () => number;
|
|
906
926
|
readonly api_company: () => number;
|
|
927
|
+
readonly __wbg_contact_free: (a: number, b: number) => void;
|
|
928
|
+
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
907
929
|
readonly __wbg_company_free: (a: number, b: number) => void;
|
|
908
|
-
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
909
930
|
readonly __wbg_bill_free: (a: number, b: number) => void;
|
|
910
|
-
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
911
|
-
readonly __wbg_contact_free: (a: number, b: number) => void;
|
|
912
931
|
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
932
|
+
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
913
933
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
914
934
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
915
935
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -918,11 +938,11 @@ export interface InitOutput {
|
|
|
918
938
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
919
939
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
920
940
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
921
|
-
readonly
|
|
922
|
-
readonly
|
|
923
|
-
readonly
|
|
924
|
-
readonly
|
|
925
|
-
readonly
|
|
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;
|
|
926
946
|
readonly __wbindgen_start: () => void;
|
|
927
947
|
}
|
|
928
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
|
}
|
|
@@ -249,27 +261,27 @@ export function task_worker_entry_point(ptr) {
|
|
|
249
261
|
}
|
|
250
262
|
}
|
|
251
263
|
|
|
252
|
-
function
|
|
253
|
-
wasm.
|
|
264
|
+
function __wbg_adapter_52(arg0, arg1) {
|
|
265
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hcd818624b91b38c6(arg0, arg1);
|
|
254
266
|
}
|
|
255
267
|
|
|
256
|
-
function
|
|
257
|
-
wasm.
|
|
268
|
+
function __wbg_adapter_55(arg0, arg1, arg2) {
|
|
269
|
+
wasm.closure349_externref_shim(arg0, arg1, arg2);
|
|
258
270
|
}
|
|
259
271
|
|
|
260
|
-
function
|
|
261
|
-
wasm.
|
|
272
|
+
function __wbg_adapter_58(arg0, arg1) {
|
|
273
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7d2bcf154647340c(arg0, arg1);
|
|
262
274
|
}
|
|
263
275
|
|
|
264
|
-
function
|
|
265
|
-
const ret = wasm.
|
|
276
|
+
function __wbg_adapter_65(arg0, arg1, arg2) {
|
|
277
|
+
const ret = wasm.closure857_externref_shim_multivalue_shim(arg0, arg1, arg2);
|
|
266
278
|
if (ret[1]) {
|
|
267
279
|
throw takeFromExternrefTable0(ret[0]);
|
|
268
280
|
}
|
|
269
281
|
}
|
|
270
282
|
|
|
271
|
-
function
|
|
272
|
-
wasm.
|
|
283
|
+
function __wbg_adapter_252(arg0, arg1, arg2, arg3) {
|
|
284
|
+
wasm.closure638_externref_shim(arg0, arg1, arg2, arg3);
|
|
273
285
|
}
|
|
274
286
|
|
|
275
287
|
/**
|
|
@@ -720,6 +732,15 @@ export class Bill {
|
|
|
720
732
|
const ret = wasm.bill_clear_bill_cache(this.__wbg_ptr);
|
|
721
733
|
return ret;
|
|
722
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
|
+
}
|
|
723
744
|
}
|
|
724
745
|
|
|
725
746
|
const CompanyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1233,6 +1254,25 @@ export class Notification {
|
|
|
1233
1254
|
const ret = wasm.notification_mark_as_done(this.__wbg_ptr, ptr0, len0);
|
|
1234
1255
|
return ret;
|
|
1235
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
|
+
}
|
|
1236
1276
|
/**
|
|
1237
1277
|
* @param {any} payload
|
|
1238
1278
|
* @returns {Promise<void>}
|
|
@@ -1243,6 +1283,8 @@ export class Notification {
|
|
|
1243
1283
|
}
|
|
1244
1284
|
}
|
|
1245
1285
|
|
|
1286
|
+
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
1287
|
+
|
|
1246
1288
|
async function __wbg_load(module, imports) {
|
|
1247
1289
|
if (typeof Response === 'function' && module instanceof Response) {
|
|
1248
1290
|
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
@@ -1250,7 +1292,9 @@ async function __wbg_load(module, imports) {
|
|
|
1250
1292
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
1251
1293
|
|
|
1252
1294
|
} catch (e) {
|
|
1253
|
-
|
|
1295
|
+
const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
|
|
1296
|
+
|
|
1297
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
1254
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);
|
|
1255
1299
|
|
|
1256
1300
|
} else {
|
|
@@ -1277,6 +1321,10 @@ async function __wbg_load(module, imports) {
|
|
|
1277
1321
|
function __wbg_get_imports() {
|
|
1278
1322
|
const imports = {};
|
|
1279
1323
|
imports.wbg = {};
|
|
1324
|
+
imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
|
|
1325
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1326
|
+
return ret;
|
|
1327
|
+
};
|
|
1280
1328
|
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
1281
1329
|
const ret = String(arg1);
|
|
1282
1330
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1284,39 +1332,39 @@ function __wbg_get_imports() {
|
|
|
1284
1332
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1285
1333
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1286
1334
|
};
|
|
1287
|
-
imports.wbg.
|
|
1288
|
-
arg0.abort(arg1);
|
|
1289
|
-
};
|
|
1290
|
-
imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
|
1335
|
+
imports.wbg.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
|
|
1291
1336
|
arg0.abort();
|
|
1292
1337
|
};
|
|
1293
|
-
imports.wbg.
|
|
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) {
|
|
1294
1342
|
arg0.abort();
|
|
1295
1343
|
}, arguments) };
|
|
1296
|
-
imports.wbg.
|
|
1344
|
+
imports.wbg.__wbg_advance_d12120c423e27f56 = function() { return handleError(function (arg0, arg1) {
|
|
1297
1345
|
arg0.advance(arg1 >>> 0);
|
|
1298
1346
|
}, arguments) };
|
|
1299
|
-
imports.wbg.
|
|
1347
|
+
imports.wbg.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1300
1348
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1301
1349
|
}, arguments) };
|
|
1302
|
-
imports.wbg.
|
|
1350
|
+
imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
|
|
1303
1351
|
const ret = arg0.arrayBuffer();
|
|
1304
1352
|
return ret;
|
|
1305
1353
|
}, arguments) };
|
|
1306
|
-
imports.wbg.
|
|
1354
|
+
imports.wbg.__wbg_bound_eb572b424befade3 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1307
1355
|
const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
|
|
1308
1356
|
return ret;
|
|
1309
1357
|
}, arguments) };
|
|
1310
|
-
imports.wbg.
|
|
1358
|
+
imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
|
|
1311
1359
|
const ret = arg0.buffer;
|
|
1312
1360
|
return ret;
|
|
1313
1361
|
};
|
|
1314
|
-
imports.wbg.
|
|
1315
|
-
const ret = arg0.call(arg1);
|
|
1362
|
+
imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1363
|
+
const ret = arg0.call(arg1, arg2);
|
|
1316
1364
|
return ret;
|
|
1317
1365
|
}, arguments) };
|
|
1318
|
-
imports.wbg.
|
|
1319
|
-
const ret = arg0.call(arg1
|
|
1366
|
+
imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
|
|
1367
|
+
const ret = arg0.call(arg1);
|
|
1320
1368
|
return ret;
|
|
1321
1369
|
}, arguments) };
|
|
1322
1370
|
imports.wbg.__wbg_clearInterval_938929bdd0f2dff9 = function(arg0) {
|
|
@@ -1330,29 +1378,29 @@ function __wbg_get_imports() {
|
|
|
1330
1378
|
const ret = clearTimeout(arg0);
|
|
1331
1379
|
return ret;
|
|
1332
1380
|
};
|
|
1333
|
-
imports.wbg.
|
|
1381
|
+
imports.wbg.__wbg_close_b08c03c920ee0bba = function() { return handleError(function (arg0) {
|
|
1334
1382
|
arg0.close();
|
|
1335
1383
|
}, arguments) };
|
|
1336
|
-
imports.wbg.
|
|
1384
|
+
imports.wbg.__wbg_code_5e459ca721f994f5 = function(arg0) {
|
|
1337
1385
|
const ret = arg0.code;
|
|
1338
1386
|
return ret;
|
|
1339
1387
|
};
|
|
1340
|
-
imports.wbg.
|
|
1388
|
+
imports.wbg.__wbg_code_af28d681bc86710a = function(arg0) {
|
|
1341
1389
|
const ret = arg0.code;
|
|
1342
1390
|
return ret;
|
|
1343
1391
|
};
|
|
1344
|
-
imports.wbg.
|
|
1392
|
+
imports.wbg.__wbg_contains_8c2abfddfd33cd8e = function(arg0, arg1, arg2) {
|
|
1345
1393
|
const ret = arg0.contains(getStringFromWasm0(arg1, arg2));
|
|
1346
1394
|
return ret;
|
|
1347
1395
|
};
|
|
1348
|
-
imports.wbg.
|
|
1396
|
+
imports.wbg.__wbg_continue_7d9cdafc888cb902 = function() { return handleError(function (arg0) {
|
|
1349
1397
|
arg0.continue();
|
|
1350
1398
|
}, arguments) };
|
|
1351
|
-
imports.wbg.
|
|
1399
|
+
imports.wbg.__wbg_createIndex_a343510ba567e58c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1352
1400
|
const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
|
|
1353
1401
|
return ret;
|
|
1354
1402
|
}, arguments) };
|
|
1355
|
-
imports.wbg.
|
|
1403
|
+
imports.wbg.__wbg_createObjectStore_382664053374be5d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1356
1404
|
const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
|
|
1357
1405
|
return ret;
|
|
1358
1406
|
}, arguments) };
|
|
@@ -1360,31 +1408,38 @@ function __wbg_get_imports() {
|
|
|
1360
1408
|
const ret = arg0.crypto;
|
|
1361
1409
|
return ret;
|
|
1362
1410
|
};
|
|
1363
|
-
imports.wbg.
|
|
1411
|
+
imports.wbg.__wbg_data_fffd43bf0ca75fff = function(arg0) {
|
|
1364
1412
|
const ret = arg0.data;
|
|
1365
1413
|
return ret;
|
|
1366
1414
|
};
|
|
1367
|
-
imports.wbg.
|
|
1415
|
+
imports.wbg.__wbg_debug_103948ed4c500577 = function(arg0, arg1, arg2, arg3) {
|
|
1368
1416
|
console.debug(arg0, arg1, arg2, arg3);
|
|
1369
1417
|
};
|
|
1370
|
-
imports.wbg.
|
|
1418
|
+
imports.wbg.__wbg_deleteIndex_7875e5f8968c581b = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1371
1419
|
arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
|
|
1372
1420
|
}, arguments) };
|
|
1373
|
-
imports.wbg.
|
|
1421
|
+
imports.wbg.__wbg_deleteObjectStore_7b427b19378475fd = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1374
1422
|
arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
|
|
1375
1423
|
}, arguments) };
|
|
1376
|
-
imports.wbg.
|
|
1424
|
+
imports.wbg.__wbg_delete_71b7921c73aa9378 = function() { return handleError(function (arg0, arg1) {
|
|
1377
1425
|
const ret = arg0.delete(arg1);
|
|
1378
1426
|
return ret;
|
|
1379
1427
|
}, arguments) };
|
|
1380
|
-
imports.wbg.
|
|
1428
|
+
imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
|
|
1381
1429
|
const ret = arg0.done;
|
|
1382
1430
|
return ret;
|
|
1383
1431
|
};
|
|
1384
|
-
imports.wbg.
|
|
1432
|
+
imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
|
|
1385
1433
|
const ret = Object.entries(arg0);
|
|
1386
1434
|
return ret;
|
|
1387
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
|
+
};
|
|
1388
1443
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
1389
1444
|
let deferred0_0;
|
|
1390
1445
|
let deferred0_1;
|
|
@@ -1396,17 +1451,10 @@ function __wbg_get_imports() {
|
|
|
1396
1451
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1397
1452
|
}
|
|
1398
1453
|
};
|
|
1399
|
-
imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
|
|
1400
|
-
console.error(arg0, arg1, arg2, arg3);
|
|
1401
|
-
};
|
|
1402
1454
|
imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
|
|
1403
1455
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
1404
1456
|
};
|
|
1405
|
-
imports.wbg.
|
|
1406
|
-
const ret = arg0.error;
|
|
1407
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1408
|
-
}, arguments) };
|
|
1409
|
-
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
1457
|
+
imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
|
|
1410
1458
|
const ret = arg0.fetch(arg1);
|
|
1411
1459
|
return ret;
|
|
1412
1460
|
};
|
|
@@ -1420,53 +1468,53 @@ function __wbg_get_imports() {
|
|
|
1420
1468
|
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
1421
1469
|
arg0.getRandomValues(arg1);
|
|
1422
1470
|
}, arguments) };
|
|
1423
|
-
imports.wbg.
|
|
1471
|
+
imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
|
|
1424
1472
|
const ret = arg0.getTime();
|
|
1425
1473
|
return ret;
|
|
1426
1474
|
};
|
|
1427
|
-
imports.wbg.
|
|
1475
|
+
imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
|
|
1428
1476
|
const ret = arg0.getTimezoneOffset();
|
|
1429
1477
|
return ret;
|
|
1430
1478
|
};
|
|
1431
|
-
imports.wbg.
|
|
1432
|
-
const ret = arg1[arg2 >>> 0];
|
|
1433
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1434
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1435
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1436
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1437
|
-
};
|
|
1438
|
-
imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
|
|
1479
|
+
imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
|
|
1439
1480
|
const ret = Reflect.get(arg0, arg1);
|
|
1440
1481
|
return ret;
|
|
1441
1482
|
}, arguments) };
|
|
1442
|
-
imports.wbg.
|
|
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) {
|
|
1443
1488
|
const ret = arg0.get(arg1);
|
|
1444
1489
|
return ret;
|
|
1445
1490
|
}, arguments) };
|
|
1446
|
-
imports.wbg.
|
|
1447
|
-
const ret =
|
|
1448
|
-
|
|
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);
|
|
1449
1497
|
};
|
|
1450
1498
|
imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
1451
1499
|
const ret = arg0[arg1];
|
|
1452
1500
|
return ret;
|
|
1453
1501
|
};
|
|
1454
|
-
imports.wbg.
|
|
1502
|
+
imports.wbg.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
|
|
1455
1503
|
const ret = Reflect.has(arg0, arg1);
|
|
1456
1504
|
return ret;
|
|
1457
1505
|
}, arguments) };
|
|
1458
|
-
imports.wbg.
|
|
1506
|
+
imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
|
|
1459
1507
|
const ret = arg0.headers;
|
|
1460
1508
|
return ret;
|
|
1461
1509
|
};
|
|
1462
|
-
imports.wbg.
|
|
1510
|
+
imports.wbg.__wbg_indexNames_bda908b23b7492bf = function(arg0) {
|
|
1463
1511
|
const ret = arg0.indexNames;
|
|
1464
1512
|
return ret;
|
|
1465
1513
|
};
|
|
1466
|
-
imports.wbg.
|
|
1514
|
+
imports.wbg.__wbg_info_a1cc312ecc877319 = function(arg0, arg1, arg2, arg3) {
|
|
1467
1515
|
console.info(arg0, arg1, arg2, arg3);
|
|
1468
1516
|
};
|
|
1469
|
-
imports.wbg.
|
|
1517
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
|
|
1470
1518
|
let result;
|
|
1471
1519
|
try {
|
|
1472
1520
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1476,7 +1524,7 @@ function __wbg_get_imports() {
|
|
|
1476
1524
|
const ret = result;
|
|
1477
1525
|
return ret;
|
|
1478
1526
|
};
|
|
1479
|
-
imports.wbg.
|
|
1527
|
+
imports.wbg.__wbg_instanceof_Blob_2688511ca2a71508 = function(arg0) {
|
|
1480
1528
|
let result;
|
|
1481
1529
|
try {
|
|
1482
1530
|
result = arg0 instanceof Blob;
|
|
@@ -1486,7 +1534,7 @@ function __wbg_get_imports() {
|
|
|
1486
1534
|
const ret = result;
|
|
1487
1535
|
return ret;
|
|
1488
1536
|
};
|
|
1489
|
-
imports.wbg.
|
|
1537
|
+
imports.wbg.__wbg_instanceof_IdbFactory_27448d2c5db6dc3c = function(arg0) {
|
|
1490
1538
|
let result;
|
|
1491
1539
|
try {
|
|
1492
1540
|
result = arg0 instanceof IDBFactory;
|
|
@@ -1496,7 +1544,7 @@ function __wbg_get_imports() {
|
|
|
1496
1544
|
const ret = result;
|
|
1497
1545
|
return ret;
|
|
1498
1546
|
};
|
|
1499
|
-
imports.wbg.
|
|
1547
|
+
imports.wbg.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
|
|
1500
1548
|
let result;
|
|
1501
1549
|
try {
|
|
1502
1550
|
result = arg0 instanceof Map;
|
|
@@ -1506,7 +1554,7 @@ function __wbg_get_imports() {
|
|
|
1506
1554
|
const ret = result;
|
|
1507
1555
|
return ret;
|
|
1508
1556
|
};
|
|
1509
|
-
imports.wbg.
|
|
1557
|
+
imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
|
|
1510
1558
|
let result;
|
|
1511
1559
|
try {
|
|
1512
1560
|
result = arg0 instanceof Response;
|
|
@@ -1516,7 +1564,7 @@ function __wbg_get_imports() {
|
|
|
1516
1564
|
const ret = result;
|
|
1517
1565
|
return ret;
|
|
1518
1566
|
};
|
|
1519
|
-
imports.wbg.
|
|
1567
|
+
imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
|
|
1520
1568
|
let result;
|
|
1521
1569
|
try {
|
|
1522
1570
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1526,57 +1574,81 @@ function __wbg_get_imports() {
|
|
|
1526
1574
|
const ret = result;
|
|
1527
1575
|
return ret;
|
|
1528
1576
|
};
|
|
1529
|
-
imports.wbg.
|
|
1577
|
+
imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
|
|
1530
1578
|
const ret = Array.isArray(arg0);
|
|
1531
1579
|
return ret;
|
|
1532
1580
|
};
|
|
1533
|
-
imports.wbg.
|
|
1581
|
+
imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
|
|
1534
1582
|
const ret = Number.isSafeInteger(arg0);
|
|
1535
1583
|
return ret;
|
|
1536
1584
|
};
|
|
1537
|
-
imports.wbg.
|
|
1585
|
+
imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
|
|
1538
1586
|
const ret = Symbol.iterator;
|
|
1539
1587
|
return ret;
|
|
1540
1588
|
};
|
|
1541
|
-
imports.wbg.
|
|
1589
|
+
imports.wbg.__wbg_key_a17a68df9ec1b180 = function() { return handleError(function (arg0) {
|
|
1542
1590
|
const ret = arg0.key;
|
|
1543
1591
|
return ret;
|
|
1544
1592
|
}, arguments) };
|
|
1545
|
-
imports.wbg.
|
|
1593
|
+
imports.wbg.__wbg_length_1589a5d84cb38f9b = function(arg0) {
|
|
1546
1594
|
const ret = arg0.length;
|
|
1547
1595
|
return ret;
|
|
1548
1596
|
};
|
|
1549
|
-
imports.wbg.
|
|
1597
|
+
imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
|
|
1550
1598
|
const ret = arg0.length;
|
|
1551
1599
|
return ret;
|
|
1552
1600
|
};
|
|
1553
|
-
imports.wbg.
|
|
1601
|
+
imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
|
|
1554
1602
|
const ret = arg0.length;
|
|
1555
1603
|
return ret;
|
|
1556
1604
|
};
|
|
1557
|
-
imports.wbg.
|
|
1605
|
+
imports.wbg.__wbg_log_bff357b3df4db934 = function(arg0, arg1, arg2, arg3) {
|
|
1558
1606
|
console.log(arg0, arg1, arg2, arg3);
|
|
1559
1607
|
};
|
|
1560
1608
|
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
1561
1609
|
const ret = arg0.msCrypto;
|
|
1562
1610
|
return ret;
|
|
1563
1611
|
};
|
|
1564
|
-
imports.wbg.
|
|
1612
|
+
imports.wbg.__wbg_new0_97314565408dea38 = function() {
|
|
1565
1613
|
const ret = new Date();
|
|
1566
1614
|
return ret;
|
|
1567
1615
|
};
|
|
1568
|
-
imports.wbg.
|
|
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 () {
|
|
1569
1625
|
const ret = new Headers();
|
|
1570
1626
|
return ret;
|
|
1571
1627
|
}, arguments) };
|
|
1572
|
-
imports.wbg.
|
|
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) {
|
|
1573
1645
|
try {
|
|
1574
1646
|
var state0 = {a: arg0, b: arg1};
|
|
1575
1647
|
var cb0 = (arg0, arg1) => {
|
|
1576
1648
|
const a = state0.a;
|
|
1577
1649
|
state0.a = 0;
|
|
1578
1650
|
try {
|
|
1579
|
-
return
|
|
1651
|
+
return __wbg_adapter_252(a, state0.b, arg0, arg1);
|
|
1580
1652
|
} finally {
|
|
1581
1653
|
state0.a = a;
|
|
1582
1654
|
}
|
|
@@ -1587,59 +1659,39 @@ function __wbg_get_imports() {
|
|
|
1587
1659
|
state0.a = state0.b = 0;
|
|
1588
1660
|
}
|
|
1589
1661
|
};
|
|
1590
|
-
imports.wbg.
|
|
1591
|
-
const ret = new
|
|
1592
|
-
return ret;
|
|
1593
|
-
};
|
|
1594
|
-
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
1595
|
-
const ret = new Object();
|
|
1596
|
-
return ret;
|
|
1597
|
-
};
|
|
1598
|
-
imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
|
|
1599
|
-
const ret = new Map();
|
|
1600
|
-
return ret;
|
|
1601
|
-
};
|
|
1602
|
-
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
1603
|
-
const ret = new Array();
|
|
1604
|
-
return ret;
|
|
1605
|
-
};
|
|
1606
|
-
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
1607
|
-
const ret = new Error();
|
|
1662
|
+
imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
|
|
1663
|
+
const ret = new Uint8Array(arg0);
|
|
1608
1664
|
return ret;
|
|
1609
1665
|
};
|
|
1610
|
-
imports.wbg.
|
|
1666
|
+
imports.wbg.__wbg_new_f42a001532528172 = function() { return handleError(function (arg0, arg1) {
|
|
1611
1667
|
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
|
1612
1668
|
return ret;
|
|
1613
1669
|
}, arguments) };
|
|
1614
|
-
imports.wbg.
|
|
1615
|
-
const ret = new Uint8Array(arg0);
|
|
1670
|
+
imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
|
|
1671
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1616
1672
|
return ret;
|
|
1617
1673
|
};
|
|
1618
|
-
imports.wbg.
|
|
1619
|
-
const ret = new AbortController();
|
|
1620
|
-
return ret;
|
|
1621
|
-
}, arguments) };
|
|
1622
|
-
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
1674
|
+
imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
|
|
1623
1675
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1624
1676
|
return ret;
|
|
1625
1677
|
};
|
|
1626
|
-
imports.wbg.
|
|
1678
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
|
|
1627
1679
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1628
1680
|
return ret;
|
|
1629
1681
|
};
|
|
1630
|
-
imports.wbg.
|
|
1682
|
+
imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
|
|
1631
1683
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1632
1684
|
return ret;
|
|
1633
1685
|
};
|
|
1634
|
-
imports.wbg.
|
|
1686
|
+
imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1635
1687
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1636
1688
|
return ret;
|
|
1637
1689
|
}, arguments) };
|
|
1638
|
-
imports.wbg.
|
|
1690
|
+
imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
|
|
1639
1691
|
const ret = arg0.next;
|
|
1640
1692
|
return ret;
|
|
1641
1693
|
};
|
|
1642
|
-
imports.wbg.
|
|
1694
|
+
imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
|
|
1643
1695
|
const ret = arg0.next();
|
|
1644
1696
|
return ret;
|
|
1645
1697
|
}, arguments) };
|
|
@@ -1651,84 +1703,84 @@ function __wbg_get_imports() {
|
|
|
1651
1703
|
const ret = arg0.now();
|
|
1652
1704
|
return ret;
|
|
1653
1705
|
};
|
|
1654
|
-
imports.wbg.
|
|
1655
|
-
const ret =
|
|
1706
|
+
imports.wbg.__wbg_now_7ab37f05ab2d0b81 = function(arg0) {
|
|
1707
|
+
const ret = arg0.now();
|
|
1656
1708
|
return ret;
|
|
1657
1709
|
};
|
|
1658
1710
|
imports.wbg.__wbg_now_af563e9b04dc2a0a = function() { return handleError(function () {
|
|
1659
1711
|
const ret = Date.now();
|
|
1660
1712
|
return ret;
|
|
1661
1713
|
}, arguments) };
|
|
1662
|
-
imports.wbg.
|
|
1663
|
-
const ret =
|
|
1714
|
+
imports.wbg.__wbg_now_eb0821f3bd9f6529 = function() {
|
|
1715
|
+
const ret = Date.now();
|
|
1664
1716
|
return ret;
|
|
1665
1717
|
};
|
|
1666
|
-
imports.wbg.
|
|
1718
|
+
imports.wbg.__wbg_objectStoreNames_e82275eb2d403a92 = function(arg0) {
|
|
1667
1719
|
const ret = arg0.objectStoreNames;
|
|
1668
1720
|
return ret;
|
|
1669
1721
|
};
|
|
1670
|
-
imports.wbg.
|
|
1722
|
+
imports.wbg.__wbg_objectStore_b463d32c86d6b543 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1671
1723
|
const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
|
|
1672
1724
|
return ret;
|
|
1673
1725
|
}, arguments) };
|
|
1674
|
-
imports.wbg.
|
|
1726
|
+
imports.wbg.__wbg_openCursor_7c13a2cd32c6258b = function() { return handleError(function (arg0) {
|
|
1675
1727
|
const ret = arg0.openCursor();
|
|
1676
1728
|
return ret;
|
|
1677
1729
|
}, arguments) };
|
|
1678
|
-
imports.wbg.
|
|
1730
|
+
imports.wbg.__wbg_openCursor_8484684434b3d850 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1679
1731
|
const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
|
|
1680
1732
|
return ret;
|
|
1681
1733
|
}, arguments) };
|
|
1682
|
-
imports.wbg.
|
|
1734
|
+
imports.wbg.__wbg_openCursor_a53133c898e0829c = function() { return handleError(function (arg0, arg1) {
|
|
1683
1735
|
const ret = arg0.openCursor(arg1);
|
|
1684
1736
|
return ret;
|
|
1685
1737
|
}, arguments) };
|
|
1686
|
-
imports.wbg.
|
|
1687
|
-
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);
|
|
1688
1740
|
return ret;
|
|
1689
1741
|
}, arguments) };
|
|
1690
|
-
imports.wbg.
|
|
1691
|
-
const ret = arg0.open(getStringFromWasm0(arg1, arg2)
|
|
1742
|
+
imports.wbg.__wbg_open_b70fb421d97aad40 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1743
|
+
const ret = arg0.open(getStringFromWasm0(arg1, arg2));
|
|
1692
1744
|
return ret;
|
|
1693
1745
|
}, arguments) };
|
|
1694
1746
|
imports.wbg.__wbg_performance_1a2515c93daf8b0c = function(arg0) {
|
|
1695
1747
|
const ret = arg0.performance;
|
|
1696
1748
|
return ret;
|
|
1697
1749
|
};
|
|
1698
|
-
imports.wbg.
|
|
1750
|
+
imports.wbg.__wbg_postMessage_54ce7f4b41ac732e = function() { return handleError(function (arg0, arg1) {
|
|
1699
1751
|
arg0.postMessage(arg1);
|
|
1700
1752
|
}, arguments) };
|
|
1701
1753
|
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1702
1754
|
const ret = arg0.process;
|
|
1703
1755
|
return ret;
|
|
1704
1756
|
};
|
|
1705
|
-
imports.wbg.
|
|
1757
|
+
imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
|
|
1706
1758
|
const ret = arg0.push(arg1);
|
|
1707
1759
|
return ret;
|
|
1708
1760
|
};
|
|
1709
|
-
imports.wbg.
|
|
1710
|
-
const ret = arg0.put(arg1
|
|
1761
|
+
imports.wbg.__wbg_put_4ac965fd84929adb = function() { return handleError(function (arg0, arg1) {
|
|
1762
|
+
const ret = arg0.put(arg1);
|
|
1711
1763
|
return ret;
|
|
1712
1764
|
}, arguments) };
|
|
1713
|
-
imports.wbg.
|
|
1714
|
-
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);
|
|
1715
1767
|
return ret;
|
|
1716
1768
|
}, arguments) };
|
|
1717
|
-
imports.wbg.
|
|
1769
|
+
imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
|
|
1718
1770
|
queueMicrotask(arg0);
|
|
1719
1771
|
};
|
|
1720
|
-
imports.wbg.
|
|
1772
|
+
imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
|
|
1721
1773
|
const ret = arg0.queueMicrotask;
|
|
1722
1774
|
return ret;
|
|
1723
1775
|
};
|
|
1724
1776
|
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1725
1777
|
arg0.randomFillSync(arg1);
|
|
1726
1778
|
}, arguments) };
|
|
1727
|
-
imports.wbg.
|
|
1779
|
+
imports.wbg.__wbg_readyState_0868e1980731c0c9 = function(arg0) {
|
|
1728
1780
|
const ret = arg0.readyState;
|
|
1729
1781
|
return ret;
|
|
1730
1782
|
};
|
|
1731
|
-
imports.wbg.
|
|
1783
|
+
imports.wbg.__wbg_reason_1da676d7b4eb3d11 = function(arg0, arg1) {
|
|
1732
1784
|
const ret = arg1.reason;
|
|
1733
1785
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1734
1786
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -1739,20 +1791,20 @@ function __wbg_get_imports() {
|
|
|
1739
1791
|
const ret = module.require;
|
|
1740
1792
|
return ret;
|
|
1741
1793
|
}, arguments) };
|
|
1742
|
-
imports.wbg.
|
|
1794
|
+
imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
|
|
1743
1795
|
const ret = Promise.resolve(arg0);
|
|
1744
1796
|
return ret;
|
|
1745
1797
|
};
|
|
1746
|
-
imports.wbg.
|
|
1798
|
+
imports.wbg.__wbg_result_a0f1bf2fe64a516c = function() { return handleError(function (arg0) {
|
|
1747
1799
|
const ret = arg0.result;
|
|
1748
1800
|
return ret;
|
|
1749
1801
|
}, arguments) };
|
|
1750
|
-
imports.wbg.
|
|
1751
|
-
arg0.send(getStringFromWasm0(arg1, arg2));
|
|
1752
|
-
}, arguments) };
|
|
1753
|
-
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) {
|
|
1754
1803
|
arg0.send(getArrayU8FromWasm0(arg1, arg2));
|
|
1755
1804
|
}, arguments) };
|
|
1805
|
+
imports.wbg.__wbg_send_dea802cc909a6faa = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1806
|
+
arg0.send(getStringFromWasm0(arg1, arg2));
|
|
1807
|
+
}, arguments) };
|
|
1756
1808
|
imports.wbg.__wbg_setInterval_c733bbe39e9b7c2b = function(arg0, arg1) {
|
|
1757
1809
|
const ret = globalThis.setInterval(arg0, arg1);
|
|
1758
1810
|
return ret;
|
|
@@ -1772,86 +1824,86 @@ function __wbg_get_imports() {
|
|
|
1772
1824
|
const ret = arg0.setTimeout(arg1, arg2);
|
|
1773
1825
|
return ret;
|
|
1774
1826
|
}, arguments) };
|
|
1775
|
-
imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
1776
|
-
arg0[arg1 >>> 0] = arg2;
|
|
1777
|
-
};
|
|
1778
1827
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1779
1828
|
arg0[arg1] = arg2;
|
|
1780
1829
|
};
|
|
1781
|
-
imports.wbg.
|
|
1782
|
-
arg0
|
|
1830
|
+
imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
|
|
1831
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1783
1832
|
};
|
|
1784
|
-
imports.wbg.
|
|
1833
|
+
imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
|
|
1785
1834
|
const ret = arg0.set(arg1, arg2);
|
|
1786
1835
|
return ret;
|
|
1787
1836
|
};
|
|
1788
|
-
imports.wbg.
|
|
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) {
|
|
1789
1841
|
arg0.autoIncrement = arg1 !== 0;
|
|
1790
1842
|
};
|
|
1791
|
-
imports.wbg.
|
|
1843
|
+
imports.wbg.__wbg_setbinaryType_52787d6025601cc5 = function(arg0, arg1) {
|
|
1792
1844
|
arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
1793
1845
|
};
|
|
1794
|
-
imports.wbg.
|
|
1846
|
+
imports.wbg.__wbg_setbody_971ec015fc13d6b4 = function(arg0, arg1) {
|
|
1795
1847
|
arg0.body = arg1;
|
|
1796
1848
|
};
|
|
1797
|
-
imports.wbg.
|
|
1849
|
+
imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
|
|
1798
1850
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1799
1851
|
};
|
|
1800
|
-
imports.wbg.
|
|
1852
|
+
imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
|
|
1801
1853
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1802
1854
|
};
|
|
1803
|
-
imports.wbg.
|
|
1855
|
+
imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
|
|
1804
1856
|
arg0.headers = arg1;
|
|
1805
1857
|
};
|
|
1806
|
-
imports.wbg.
|
|
1858
|
+
imports.wbg.__wbg_setkeypath_89c871b39940cb3c = function(arg0, arg1) {
|
|
1807
1859
|
arg0.keyPath = arg1;
|
|
1808
1860
|
};
|
|
1809
|
-
imports.wbg.
|
|
1861
|
+
imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
|
|
1810
1862
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1811
1863
|
};
|
|
1812
|
-
imports.wbg.
|
|
1864
|
+
imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
|
|
1813
1865
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1814
1866
|
};
|
|
1815
|
-
imports.wbg.
|
|
1867
|
+
imports.wbg.__wbg_setmultientry_64e53a16b504c272 = function(arg0, arg1) {
|
|
1816
1868
|
arg0.multiEntry = arg1 !== 0;
|
|
1817
1869
|
};
|
|
1818
|
-
imports.wbg.
|
|
1870
|
+
imports.wbg.__wbg_setonabort_479ebb5884fcb171 = function(arg0, arg1) {
|
|
1819
1871
|
arg0.onabort = arg1;
|
|
1820
1872
|
};
|
|
1821
|
-
imports.wbg.
|
|
1873
|
+
imports.wbg.__wbg_setonclose_c6db38f935250174 = function(arg0, arg1) {
|
|
1822
1874
|
arg0.onclose = arg1;
|
|
1823
1875
|
};
|
|
1824
|
-
imports.wbg.
|
|
1876
|
+
imports.wbg.__wbg_setoncomplete_27bdbca012e45c05 = function(arg0, arg1) {
|
|
1825
1877
|
arg0.oncomplete = arg1;
|
|
1826
1878
|
};
|
|
1827
|
-
imports.wbg.
|
|
1879
|
+
imports.wbg.__wbg_setonerror_537b68f474e27d4e = function(arg0, arg1) {
|
|
1828
1880
|
arg0.onerror = arg1;
|
|
1829
1881
|
};
|
|
1830
|
-
imports.wbg.
|
|
1882
|
+
imports.wbg.__wbg_setonerror_ab02451cd01cb480 = function(arg0, arg1) {
|
|
1831
1883
|
arg0.onerror = arg1;
|
|
1832
1884
|
};
|
|
1833
|
-
imports.wbg.
|
|
1885
|
+
imports.wbg.__wbg_setonerror_ce5c4d34aed931bb = function(arg0, arg1) {
|
|
1834
1886
|
arg0.onerror = arg1;
|
|
1835
1887
|
};
|
|
1836
|
-
imports.wbg.
|
|
1888
|
+
imports.wbg.__wbg_setonmessage_49ca623a77cfb3e6 = function(arg0, arg1) {
|
|
1837
1889
|
arg0.onmessage = arg1;
|
|
1838
1890
|
};
|
|
1839
|
-
imports.wbg.
|
|
1891
|
+
imports.wbg.__wbg_setonopen_1475cbeb761c101f = function(arg0, arg1) {
|
|
1840
1892
|
arg0.onopen = arg1;
|
|
1841
1893
|
};
|
|
1842
|
-
imports.wbg.
|
|
1894
|
+
imports.wbg.__wbg_setonsuccess_0b2b45bd8cc13b95 = function(arg0, arg1) {
|
|
1843
1895
|
arg0.onsuccess = arg1;
|
|
1844
1896
|
};
|
|
1845
|
-
imports.wbg.
|
|
1897
|
+
imports.wbg.__wbg_setonupgradeneeded_be2e0ae927917f82 = function(arg0, arg1) {
|
|
1846
1898
|
arg0.onupgradeneeded = arg1;
|
|
1847
1899
|
};
|
|
1848
|
-
imports.wbg.
|
|
1900
|
+
imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
|
|
1849
1901
|
arg0.signal = arg1;
|
|
1850
1902
|
};
|
|
1851
|
-
imports.wbg.
|
|
1903
|
+
imports.wbg.__wbg_setunique_727cefd7e14cf677 = function(arg0, arg1) {
|
|
1852
1904
|
arg0.unique = arg1 !== 0;
|
|
1853
1905
|
};
|
|
1854
|
-
imports.wbg.
|
|
1906
|
+
imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
|
|
1855
1907
|
const ret = arg0.signal;
|
|
1856
1908
|
return ret;
|
|
1857
1909
|
};
|
|
@@ -1862,88 +1914,88 @@ function __wbg_get_imports() {
|
|
|
1862
1914
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1863
1915
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1864
1916
|
};
|
|
1865
|
-
imports.wbg.
|
|
1917
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
|
|
1866
1918
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1867
1919
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1868
1920
|
};
|
|
1869
|
-
imports.wbg.
|
|
1921
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
|
|
1870
1922
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1871
1923
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1872
1924
|
};
|
|
1873
|
-
imports.wbg.
|
|
1925
|
+
imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
|
|
1874
1926
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1875
1927
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1876
1928
|
};
|
|
1877
|
-
imports.wbg.
|
|
1929
|
+
imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
|
|
1878
1930
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1879
1931
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1880
1932
|
};
|
|
1881
|
-
imports.wbg.
|
|
1933
|
+
imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
|
|
1882
1934
|
const ret = arg0.status;
|
|
1883
1935
|
return ret;
|
|
1884
1936
|
};
|
|
1885
|
-
imports.wbg.
|
|
1937
|
+
imports.wbg.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
|
|
1886
1938
|
const ret = JSON.stringify(arg0);
|
|
1887
1939
|
return ret;
|
|
1888
1940
|
}, arguments) };
|
|
1889
|
-
imports.wbg.
|
|
1941
|
+
imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
|
|
1890
1942
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1891
1943
|
return ret;
|
|
1892
1944
|
};
|
|
1893
|
-
imports.wbg.
|
|
1945
|
+
imports.wbg.__wbg_target_15f1da583855ac4e = function(arg0) {
|
|
1894
1946
|
const ret = arg0.target;
|
|
1895
1947
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1896
1948
|
};
|
|
1897
|
-
imports.wbg.
|
|
1898
|
-
const ret = arg0.then(arg1);
|
|
1949
|
+
imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
|
|
1950
|
+
const ret = arg0.then(arg1, arg2);
|
|
1899
1951
|
return ret;
|
|
1900
1952
|
};
|
|
1901
|
-
imports.wbg.
|
|
1902
|
-
const ret = arg0.then(arg1
|
|
1953
|
+
imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
|
|
1954
|
+
const ret = arg0.then(arg1);
|
|
1903
1955
|
return ret;
|
|
1904
1956
|
};
|
|
1905
|
-
imports.wbg.
|
|
1957
|
+
imports.wbg.__wbg_toString_21791a66666b3afd = function(arg0) {
|
|
1906
1958
|
const ret = arg0.toString();
|
|
1907
1959
|
return ret;
|
|
1908
1960
|
};
|
|
1909
|
-
imports.wbg.
|
|
1910
|
-
const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
|
|
1911
|
-
return ret;
|
|
1912
|
-
}, arguments) };
|
|
1913
|
-
imports.wbg.__wbg_transaction_e713aa7b07ccaedd = function(arg0) {
|
|
1961
|
+
imports.wbg.__wbg_transaction_34c41b46ca391af6 = function(arg0) {
|
|
1914
1962
|
const ret = arg0.transaction;
|
|
1915
1963
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1916
1964
|
};
|
|
1917
|
-
imports.wbg.
|
|
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) {
|
|
1918
1970
|
const ret = arg1.url;
|
|
1919
1971
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1920
1972
|
const len1 = WASM_VECTOR_LEN;
|
|
1921
1973
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1922
1974
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1923
1975
|
};
|
|
1924
|
-
imports.wbg.
|
|
1976
|
+
imports.wbg.__wbg_url_f1f05444c281ba1c = function(arg0, arg1) {
|
|
1925
1977
|
const ret = arg1.url;
|
|
1926
1978
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1927
1979
|
const len1 = WASM_VECTOR_LEN;
|
|
1928
1980
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1929
1981
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1930
1982
|
};
|
|
1931
|
-
imports.wbg.
|
|
1983
|
+
imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
|
|
1932
1984
|
const ret = arg0.value;
|
|
1933
1985
|
return ret;
|
|
1934
|
-
}
|
|
1935
|
-
imports.wbg.
|
|
1986
|
+
};
|
|
1987
|
+
imports.wbg.__wbg_value_648dc44894c8dc95 = function() { return handleError(function (arg0) {
|
|
1936
1988
|
const ret = arg0.value;
|
|
1937
1989
|
return ret;
|
|
1938
|
-
};
|
|
1990
|
+
}, arguments) };
|
|
1939
1991
|
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
1940
1992
|
const ret = arg0.versions;
|
|
1941
1993
|
return ret;
|
|
1942
1994
|
};
|
|
1943
|
-
imports.wbg.
|
|
1995
|
+
imports.wbg.__wbg_warn_90607373221a6b1c = function(arg0, arg1, arg2, arg3) {
|
|
1944
1996
|
console.warn(arg0, arg1, arg2, arg3);
|
|
1945
1997
|
};
|
|
1946
|
-
imports.wbg.
|
|
1998
|
+
imports.wbg.__wbg_wasClean_77b02fe3e3ef98f1 = function(arg0) {
|
|
1947
1999
|
const ret = arg0.wasClean;
|
|
1948
2000
|
return ret;
|
|
1949
2001
|
};
|
|
@@ -1979,36 +2031,36 @@ function __wbg_get_imports() {
|
|
|
1979
2031
|
const ret = false;
|
|
1980
2032
|
return ret;
|
|
1981
2033
|
};
|
|
1982
|
-
imports.wbg.
|
|
1983
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2034
|
+
imports.wbg.__wbindgen_closure_wrapper10317 = function(arg0, arg1, arg2) {
|
|
2035
|
+
const ret = makeMutClosure(arg0, arg1, 715, __wbg_adapter_55);
|
|
1984
2036
|
return ret;
|
|
1985
2037
|
};
|
|
1986
|
-
imports.wbg.
|
|
1987
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2038
|
+
imports.wbg.__wbindgen_closure_wrapper11271 = function(arg0, arg1, arg2) {
|
|
2039
|
+
const ret = makeMutClosure(arg0, arg1, 856, __wbg_adapter_65);
|
|
1988
2040
|
return ret;
|
|
1989
2041
|
};
|
|
1990
|
-
imports.wbg.
|
|
1991
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2042
|
+
imports.wbg.__wbindgen_closure_wrapper20023 = function(arg0, arg1, arg2) {
|
|
2043
|
+
const ret = makeMutClosure(arg0, arg1, 628, __wbg_adapter_55);
|
|
1992
2044
|
return ret;
|
|
1993
2045
|
};
|
|
1994
|
-
imports.wbg.
|
|
1995
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2046
|
+
imports.wbg.__wbindgen_closure_wrapper20064 = function(arg0, arg1, arg2) {
|
|
2047
|
+
const ret = makeMutClosure(arg0, arg1, 628, __wbg_adapter_58);
|
|
1996
2048
|
return ret;
|
|
1997
2049
|
};
|
|
1998
|
-
imports.wbg.
|
|
1999
|
-
const ret = makeClosure(arg0, arg1,
|
|
2050
|
+
imports.wbg.__wbindgen_closure_wrapper2147 = function(arg0, arg1, arg2) {
|
|
2051
|
+
const ret = makeClosure(arg0, arg1, 348, __wbg_adapter_52);
|
|
2000
2052
|
return ret;
|
|
2001
2053
|
};
|
|
2002
|
-
imports.wbg.
|
|
2003
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2054
|
+
imports.wbg.__wbindgen_closure_wrapper2855 = function(arg0, arg1, arg2) {
|
|
2055
|
+
const ret = makeMutClosure(arg0, arg1, 348, __wbg_adapter_55);
|
|
2004
2056
|
return ret;
|
|
2005
2057
|
};
|
|
2006
|
-
imports.wbg.
|
|
2007
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2058
|
+
imports.wbg.__wbindgen_closure_wrapper5362 = function(arg0, arg1, arg2) {
|
|
2059
|
+
const ret = makeMutClosure(arg0, arg1, 853, __wbg_adapter_58);
|
|
2008
2060
|
return ret;
|
|
2009
2061
|
};
|
|
2010
|
-
imports.wbg.
|
|
2011
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2062
|
+
imports.wbg.__wbindgen_closure_wrapper8502 = function(arg0, arg1, arg2) {
|
|
2063
|
+
const ret = makeMutClosure(arg0, arg1, 628, __wbg_adapter_58);
|
|
2012
2064
|
return ret;
|
|
2013
2065
|
};
|
|
2014
2066
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
@@ -2018,10 +2070,6 @@ function __wbg_get_imports() {
|
|
|
2018
2070
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2019
2071
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2020
2072
|
};
|
|
2021
|
-
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
2022
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2023
|
-
return ret;
|
|
2024
|
-
};
|
|
2025
2073
|
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
2026
2074
|
const ret = arg0 in arg1;
|
|
2027
2075
|
return ret;
|
package/index_bg.wasm
CHANGED
|
Binary file
|