@bitcredit/bcr-ebill-wasm 0.4.13 → 0.5.0
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 +441 -428
- package/index.js +423 -452
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,101 +1,14 @@
|
|
|
1
1
|
let wasm;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
8
|
-
}
|
|
9
|
-
return cachedUint8ArrayMemory0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
13
|
-
|
|
14
|
-
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 = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
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
|
-
|
|
35
|
-
const cachedTextEncoder = new TextEncoder();
|
|
36
|
-
|
|
37
|
-
if (!('encodeInto' in cachedTextEncoder)) {
|
|
38
|
-
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
39
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
40
|
-
view.set(buf);
|
|
41
|
-
return {
|
|
42
|
-
read: arg.length,
|
|
43
|
-
written: buf.length
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function passStringToWasm0(arg, malloc, realloc) {
|
|
49
|
-
|
|
50
|
-
if (realloc === undefined) {
|
|
51
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
52
|
-
const ptr = malloc(buf.length, 1) >>> 0;
|
|
53
|
-
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
54
|
-
WASM_VECTOR_LEN = buf.length;
|
|
55
|
-
return ptr;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
let len = arg.length;
|
|
59
|
-
let ptr = malloc(len, 1) >>> 0;
|
|
60
|
-
|
|
61
|
-
const mem = getUint8ArrayMemory0();
|
|
62
|
-
|
|
63
|
-
let offset = 0;
|
|
64
|
-
|
|
65
|
-
for (; offset < len; offset++) {
|
|
66
|
-
const code = arg.charCodeAt(offset);
|
|
67
|
-
if (code > 0x7F) break;
|
|
68
|
-
mem[ptr + offset] = code;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
if (offset !== len) {
|
|
72
|
-
if (offset !== 0) {
|
|
73
|
-
arg = arg.slice(offset);
|
|
74
|
-
}
|
|
75
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
76
|
-
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
77
|
-
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
78
|
-
|
|
79
|
-
offset += ret.written;
|
|
80
|
-
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
WASM_VECTOR_LEN = offset;
|
|
84
|
-
return ptr;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
let cachedDataViewMemory0 = null;
|
|
88
|
-
|
|
89
|
-
function getDataViewMemory0() {
|
|
90
|
-
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
91
|
-
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
92
|
-
}
|
|
93
|
-
return cachedDataViewMemory0;
|
|
3
|
+
function addToExternrefTable0(obj) {
|
|
4
|
+
const idx = wasm.__externref_table_alloc();
|
|
5
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
6
|
+
return idx;
|
|
94
7
|
}
|
|
95
8
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
9
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
10
|
+
? { register: () => {}, unregister: () => {} }
|
|
11
|
+
: new FinalizationRegistry(state => state.dtor(state.a, state.b));
|
|
99
12
|
|
|
100
13
|
function debugString(val) {
|
|
101
14
|
// primitive types
|
|
@@ -162,10 +75,30 @@ function debugString(val) {
|
|
|
162
75
|
return className;
|
|
163
76
|
}
|
|
164
77
|
|
|
165
|
-
function
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
78
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
79
|
+
ptr = ptr >>> 0;
|
|
80
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
let cachedDataViewMemory0 = null;
|
|
84
|
+
function getDataViewMemory0() {
|
|
85
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
86
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
87
|
+
}
|
|
88
|
+
return cachedDataViewMemory0;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function getStringFromWasm0(ptr, len) {
|
|
92
|
+
ptr = ptr >>> 0;
|
|
93
|
+
return decodeText(ptr, len);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
let cachedUint8ArrayMemory0 = null;
|
|
97
|
+
function getUint8ArrayMemory0() {
|
|
98
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
99
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
100
|
+
}
|
|
101
|
+
return cachedUint8ArrayMemory0;
|
|
169
102
|
}
|
|
170
103
|
|
|
171
104
|
function handleError(f, args) {
|
|
@@ -177,16 +110,11 @@ function handleError(f, args) {
|
|
|
177
110
|
}
|
|
178
111
|
}
|
|
179
112
|
|
|
180
|
-
function
|
|
181
|
-
|
|
182
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
113
|
+
function isLikeNone(x) {
|
|
114
|
+
return x === undefined || x === null;
|
|
183
115
|
}
|
|
184
116
|
|
|
185
|
-
|
|
186
|
-
? { register: () => {}, unregister: () => {} }
|
|
187
|
-
: new FinalizationRegistry(state => state.dtor(state.a, state.b));
|
|
188
|
-
|
|
189
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
117
|
+
function makeClosure(arg0, arg1, dtor, f) {
|
|
190
118
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
191
119
|
const real = (...args) => {
|
|
192
120
|
|
|
@@ -194,12 +122,9 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
194
122
|
// count. This ensures that the Rust closure environment won't
|
|
195
123
|
// be deallocated while we're invoking it.
|
|
196
124
|
state.cnt++;
|
|
197
|
-
const a = state.a;
|
|
198
|
-
state.a = 0;
|
|
199
125
|
try {
|
|
200
|
-
return f(a, state.b, ...args);
|
|
126
|
+
return f(state.a, state.b, ...args);
|
|
201
127
|
} finally {
|
|
202
|
-
state.a = a;
|
|
203
128
|
real._wbg_cb_unref();
|
|
204
129
|
}
|
|
205
130
|
};
|
|
@@ -214,7 +139,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
214
139
|
return real;
|
|
215
140
|
}
|
|
216
141
|
|
|
217
|
-
function
|
|
142
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
218
143
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
219
144
|
const real = (...args) => {
|
|
220
145
|
|
|
@@ -222,9 +147,12 @@ function makeClosure(arg0, arg1, dtor, f) {
|
|
|
222
147
|
// count. This ensures that the Rust closure environment won't
|
|
223
148
|
// be deallocated while we're invoking it.
|
|
224
149
|
state.cnt++;
|
|
150
|
+
const a = state.a;
|
|
151
|
+
state.a = 0;
|
|
225
152
|
try {
|
|
226
|
-
return f(
|
|
153
|
+
return f(a, state.b, ...args);
|
|
227
154
|
} finally {
|
|
155
|
+
state.a = a;
|
|
228
156
|
real._wbg_cb_unref();
|
|
229
157
|
}
|
|
230
158
|
};
|
|
@@ -238,13 +166,42 @@ function makeClosure(arg0, arg1, dtor, f) {
|
|
|
238
166
|
CLOSURE_DTORS.register(real, state, state);
|
|
239
167
|
return real;
|
|
240
168
|
}
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
169
|
+
|
|
170
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
171
|
+
if (realloc === undefined) {
|
|
172
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
173
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
174
|
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
175
|
+
WASM_VECTOR_LEN = buf.length;
|
|
176
|
+
return ptr;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
let len = arg.length;
|
|
180
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
181
|
+
|
|
182
|
+
const mem = getUint8ArrayMemory0();
|
|
183
|
+
|
|
184
|
+
let offset = 0;
|
|
185
|
+
|
|
186
|
+
for (; offset < len; offset++) {
|
|
187
|
+
const code = arg.charCodeAt(offset);
|
|
188
|
+
if (code > 0x7F) break;
|
|
189
|
+
mem[ptr + offset] = code;
|
|
190
|
+
}
|
|
191
|
+
if (offset !== len) {
|
|
192
|
+
if (offset !== 0) {
|
|
193
|
+
arg = arg.slice(offset);
|
|
194
|
+
}
|
|
195
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
196
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
197
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
198
|
+
|
|
199
|
+
offset += ret.written;
|
|
200
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
WASM_VECTOR_LEN = offset;
|
|
204
|
+
return ptr;
|
|
248
205
|
}
|
|
249
206
|
|
|
250
207
|
function takeFromExternrefTable0(idx) {
|
|
@@ -252,62 +209,58 @@ function takeFromExternrefTable0(idx) {
|
|
|
252
209
|
wasm.__externref_table_dealloc(idx);
|
|
253
210
|
return value;
|
|
254
211
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
212
|
+
|
|
213
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
214
|
+
cachedTextDecoder.decode();
|
|
215
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
216
|
+
let numBytesDecoded = 0;
|
|
217
|
+
function decodeText(ptr, len) {
|
|
218
|
+
numBytesDecoded += len;
|
|
219
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
220
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
221
|
+
cachedTextDecoder.decode();
|
|
222
|
+
numBytesDecoded = len;
|
|
263
223
|
}
|
|
224
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
264
225
|
}
|
|
265
226
|
|
|
266
|
-
|
|
267
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h625e6e48994b4d4d(arg0, arg1);
|
|
268
|
-
}
|
|
227
|
+
const cachedTextEncoder = new TextEncoder();
|
|
269
228
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
229
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
230
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
231
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
232
|
+
view.set(buf);
|
|
233
|
+
return {
|
|
234
|
+
read: arg.length,
|
|
235
|
+
written: buf.length
|
|
236
|
+
};
|
|
274
237
|
}
|
|
275
238
|
}
|
|
276
239
|
|
|
277
|
-
|
|
278
|
-
|
|
240
|
+
let WASM_VECTOR_LEN = 0;
|
|
241
|
+
|
|
242
|
+
function wasm_bindgen__convert__closures_____invoke__h0ca8d5cbec1408a5(arg0, arg1) {
|
|
243
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h0ca8d5cbec1408a5(arg0, arg1);
|
|
279
244
|
}
|
|
280
245
|
|
|
281
|
-
function
|
|
282
|
-
wasm.
|
|
246
|
+
function wasm_bindgen__convert__closures_____invoke__h81816996ad0cef11(arg0, arg1, arg2) {
|
|
247
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h81816996ad0cef11(arg0, arg1, arg2);
|
|
283
248
|
}
|
|
284
249
|
|
|
285
|
-
function
|
|
286
|
-
wasm.
|
|
250
|
+
function wasm_bindgen__convert__closures_____invoke__hd5998c5271805815(arg0, arg1, arg2) {
|
|
251
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hd5998c5271805815(arg0, arg1, arg2);
|
|
252
|
+
if (ret[1]) {
|
|
253
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
254
|
+
}
|
|
287
255
|
}
|
|
288
256
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
});
|
|
297
|
-
/**
|
|
298
|
-
* @enum {0 | 1}
|
|
299
|
-
*/
|
|
300
|
-
export const IdentityTypeWeb = Object.freeze({
|
|
301
|
-
Ident: 0, "0": "Ident",
|
|
302
|
-
Anon: 1, "1": "Anon",
|
|
303
|
-
});
|
|
304
|
-
/**
|
|
305
|
-
* @enum {0 | 1}
|
|
306
|
-
*/
|
|
307
|
-
export const SwitchIdentityTypeWeb = Object.freeze({
|
|
308
|
-
Person: 0, "0": "Person",
|
|
309
|
-
Company: 1, "1": "Company",
|
|
310
|
-
});
|
|
257
|
+
function wasm_bindgen__convert__closures_____invoke__he5b470d34baeaaa5(arg0, arg1) {
|
|
258
|
+
wasm.wasm_bindgen__convert__closures_____invoke__he5b470d34baeaaa5(arg0, arg1);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
function wasm_bindgen__convert__closures_____invoke__h17913a0979187f06(arg0, arg1, arg2, arg3) {
|
|
262
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h17913a0979187f06(arg0, arg1, arg2, arg3);
|
|
263
|
+
}
|
|
311
264
|
|
|
312
265
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
313
266
|
|
|
@@ -325,15 +278,37 @@ const ApiFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
325
278
|
? { register: () => {}, unregister: () => {} }
|
|
326
279
|
: new FinalizationRegistry(ptr => wasm.__wbg_api_free(ptr >>> 0, 1));
|
|
327
280
|
|
|
328
|
-
|
|
281
|
+
const BillFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
282
|
+
? { register: () => {}, unregister: () => {} }
|
|
283
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_bill_free(ptr >>> 0, 1));
|
|
284
|
+
|
|
285
|
+
const CompanyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
286
|
+
? { register: () => {}, unregister: () => {} }
|
|
287
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_company_free(ptr >>> 0, 1));
|
|
288
|
+
|
|
289
|
+
const ContactFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
290
|
+
? { register: () => {}, unregister: () => {} }
|
|
291
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_contact_free(ptr >>> 0, 1));
|
|
292
|
+
|
|
293
|
+
const GeneralFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
294
|
+
? { register: () => {}, unregister: () => {} }
|
|
295
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_general_free(ptr >>> 0, 1));
|
|
296
|
+
|
|
297
|
+
const IdentityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
298
|
+
? { register: () => {}, unregister: () => {} }
|
|
299
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_identity_free(ptr >>> 0, 1));
|
|
300
|
+
|
|
301
|
+
const NotificationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
302
|
+
? { register: () => {}, unregister: () => {} }
|
|
303
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_notification_free(ptr >>> 0, 1));
|
|
329
304
|
|
|
305
|
+
export class Api {
|
|
330
306
|
__destroy_into_raw() {
|
|
331
307
|
const ptr = this.__wbg_ptr;
|
|
332
308
|
this.__wbg_ptr = 0;
|
|
333
309
|
ApiFinalization.unregister(this);
|
|
334
310
|
return ptr;
|
|
335
311
|
}
|
|
336
|
-
|
|
337
312
|
free() {
|
|
338
313
|
const ptr = this.__destroy_into_raw();
|
|
339
314
|
wasm.__wbg_api_free(ptr, 0);
|
|
@@ -383,12 +358,7 @@ export class Api {
|
|
|
383
358
|
}
|
|
384
359
|
if (Symbol.dispose) Api.prototype[Symbol.dispose] = Api.prototype.free;
|
|
385
360
|
|
|
386
|
-
const BillFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
387
|
-
? { register: () => {}, unregister: () => {} }
|
|
388
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_bill_free(ptr >>> 0, 1));
|
|
389
|
-
|
|
390
361
|
export class Bill {
|
|
391
|
-
|
|
392
362
|
static __wrap(ptr) {
|
|
393
363
|
ptr = ptr >>> 0;
|
|
394
364
|
const obj = Object.create(Bill.prototype);
|
|
@@ -396,14 +366,12 @@ export class Bill {
|
|
|
396
366
|
BillFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
397
367
|
return obj;
|
|
398
368
|
}
|
|
399
|
-
|
|
400
369
|
__destroy_into_raw() {
|
|
401
370
|
const ptr = this.__wbg_ptr;
|
|
402
371
|
this.__wbg_ptr = 0;
|
|
403
372
|
BillFinalization.unregister(this);
|
|
404
373
|
return ptr;
|
|
405
374
|
}
|
|
406
|
-
|
|
407
375
|
free() {
|
|
408
376
|
const ptr = this.__destroy_into_raw();
|
|
409
377
|
wasm.__wbg_bill_free(ptr, 0);
|
|
@@ -775,12 +743,7 @@ export class Bill {
|
|
|
775
743
|
}
|
|
776
744
|
if (Symbol.dispose) Bill.prototype[Symbol.dispose] = Bill.prototype.free;
|
|
777
745
|
|
|
778
|
-
const CompanyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
779
|
-
? { register: () => {}, unregister: () => {} }
|
|
780
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_company_free(ptr >>> 0, 1));
|
|
781
|
-
|
|
782
746
|
export class Company {
|
|
783
|
-
|
|
784
747
|
static __wrap(ptr) {
|
|
785
748
|
ptr = ptr >>> 0;
|
|
786
749
|
const obj = Object.create(Company.prototype);
|
|
@@ -788,14 +751,12 @@ export class Company {
|
|
|
788
751
|
CompanyFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
789
752
|
return obj;
|
|
790
753
|
}
|
|
791
|
-
|
|
792
754
|
__destroy_into_raw() {
|
|
793
755
|
const ptr = this.__wbg_ptr;
|
|
794
756
|
this.__wbg_ptr = 0;
|
|
795
757
|
CompanyFinalization.unregister(this);
|
|
796
758
|
return ptr;
|
|
797
759
|
}
|
|
798
|
-
|
|
799
760
|
free() {
|
|
800
761
|
const ptr = this.__destroy_into_raw();
|
|
801
762
|
wasm.__wbg_company_free(ptr, 0);
|
|
@@ -1004,12 +965,7 @@ export class Company {
|
|
|
1004
965
|
}
|
|
1005
966
|
if (Symbol.dispose) Company.prototype[Symbol.dispose] = Company.prototype.free;
|
|
1006
967
|
|
|
1007
|
-
const ContactFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1008
|
-
? { register: () => {}, unregister: () => {} }
|
|
1009
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_contact_free(ptr >>> 0, 1));
|
|
1010
|
-
|
|
1011
968
|
export class Contact {
|
|
1012
|
-
|
|
1013
969
|
static __wrap(ptr) {
|
|
1014
970
|
ptr = ptr >>> 0;
|
|
1015
971
|
const obj = Object.create(Contact.prototype);
|
|
@@ -1017,14 +973,12 @@ export class Contact {
|
|
|
1017
973
|
ContactFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1018
974
|
return obj;
|
|
1019
975
|
}
|
|
1020
|
-
|
|
1021
976
|
__destroy_into_raw() {
|
|
1022
977
|
const ptr = this.__wbg_ptr;
|
|
1023
978
|
this.__wbg_ptr = 0;
|
|
1024
979
|
ContactFinalization.unregister(this);
|
|
1025
980
|
return ptr;
|
|
1026
981
|
}
|
|
1027
|
-
|
|
1028
982
|
free() {
|
|
1029
983
|
const ptr = this.__destroy_into_raw();
|
|
1030
984
|
wasm.__wbg_contact_free(ptr, 0);
|
|
@@ -1170,12 +1124,16 @@ export class Contact {
|
|
|
1170
1124
|
}
|
|
1171
1125
|
if (Symbol.dispose) Contact.prototype[Symbol.dispose] = Contact.prototype.free;
|
|
1172
1126
|
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1127
|
+
/**
|
|
1128
|
+
* @enum {0 | 1 | 2}
|
|
1129
|
+
*/
|
|
1130
|
+
export const ContactTypeWeb = Object.freeze({
|
|
1131
|
+
Person: 0, "0": "Person",
|
|
1132
|
+
Company: 1, "1": "Company",
|
|
1133
|
+
Anon: 2, "2": "Anon",
|
|
1134
|
+
});
|
|
1176
1135
|
|
|
1177
1136
|
export class General {
|
|
1178
|
-
|
|
1179
1137
|
static __wrap(ptr) {
|
|
1180
1138
|
ptr = ptr >>> 0;
|
|
1181
1139
|
const obj = Object.create(General.prototype);
|
|
@@ -1183,14 +1141,12 @@ export class General {
|
|
|
1183
1141
|
GeneralFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1184
1142
|
return obj;
|
|
1185
1143
|
}
|
|
1186
|
-
|
|
1187
1144
|
__destroy_into_raw() {
|
|
1188
1145
|
const ptr = this.__wbg_ptr;
|
|
1189
1146
|
this.__wbg_ptr = 0;
|
|
1190
1147
|
GeneralFinalization.unregister(this);
|
|
1191
1148
|
return ptr;
|
|
1192
1149
|
}
|
|
1193
|
-
|
|
1194
1150
|
free() {
|
|
1195
1151
|
const ptr = this.__destroy_into_raw();
|
|
1196
1152
|
wasm.__wbg_general_free(ptr, 0);
|
|
@@ -1247,12 +1203,7 @@ export class General {
|
|
|
1247
1203
|
}
|
|
1248
1204
|
if (Symbol.dispose) General.prototype[Symbol.dispose] = General.prototype.free;
|
|
1249
1205
|
|
|
1250
|
-
const IdentityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1251
|
-
? { register: () => {}, unregister: () => {} }
|
|
1252
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_identity_free(ptr >>> 0, 1));
|
|
1253
|
-
|
|
1254
1206
|
export class Identity {
|
|
1255
|
-
|
|
1256
1207
|
static __wrap(ptr) {
|
|
1257
1208
|
ptr = ptr >>> 0;
|
|
1258
1209
|
const obj = Object.create(Identity.prototype);
|
|
@@ -1260,14 +1211,12 @@ export class Identity {
|
|
|
1260
1211
|
IdentityFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1261
1212
|
return obj;
|
|
1262
1213
|
}
|
|
1263
|
-
|
|
1264
1214
|
__destroy_into_raw() {
|
|
1265
1215
|
const ptr = this.__wbg_ptr;
|
|
1266
1216
|
this.__wbg_ptr = 0;
|
|
1267
1217
|
IdentityFinalization.unregister(this);
|
|
1268
1218
|
return ptr;
|
|
1269
1219
|
}
|
|
1270
|
-
|
|
1271
1220
|
free() {
|
|
1272
1221
|
const ptr = this.__destroy_into_raw();
|
|
1273
1222
|
wasm.__wbg_identity_free(ptr, 0);
|
|
@@ -1425,12 +1374,15 @@ export class Identity {
|
|
|
1425
1374
|
}
|
|
1426
1375
|
if (Symbol.dispose) Identity.prototype[Symbol.dispose] = Identity.prototype.free;
|
|
1427
1376
|
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1377
|
+
/**
|
|
1378
|
+
* @enum {0 | 1}
|
|
1379
|
+
*/
|
|
1380
|
+
export const IdentityTypeWeb = Object.freeze({
|
|
1381
|
+
Ident: 0, "0": "Ident",
|
|
1382
|
+
Anon: 1, "1": "Anon",
|
|
1383
|
+
});
|
|
1431
1384
|
|
|
1432
1385
|
export class Notification {
|
|
1433
|
-
|
|
1434
1386
|
static __wrap(ptr) {
|
|
1435
1387
|
ptr = ptr >>> 0;
|
|
1436
1388
|
const obj = Object.create(Notification.prototype);
|
|
@@ -1438,14 +1390,12 @@ export class Notification {
|
|
|
1438
1390
|
NotificationFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1439
1391
|
return obj;
|
|
1440
1392
|
}
|
|
1441
|
-
|
|
1442
1393
|
__destroy_into_raw() {
|
|
1443
1394
|
const ptr = this.__wbg_ptr;
|
|
1444
1395
|
this.__wbg_ptr = 0;
|
|
1445
1396
|
NotificationFinalization.unregister(this);
|
|
1446
1397
|
return ptr;
|
|
1447
1398
|
}
|
|
1448
|
-
|
|
1449
1399
|
free() {
|
|
1450
1400
|
const ptr = this.__destroy_into_raw();
|
|
1451
1401
|
wasm.__wbg_notification_free(ptr, 0);
|
|
@@ -1510,6 +1460,34 @@ export class Notification {
|
|
|
1510
1460
|
}
|
|
1511
1461
|
if (Symbol.dispose) Notification.prototype[Symbol.dispose] = Notification.prototype.free;
|
|
1512
1462
|
|
|
1463
|
+
/**
|
|
1464
|
+
* @enum {0 | 1}
|
|
1465
|
+
*/
|
|
1466
|
+
export const SwitchIdentityTypeWeb = Object.freeze({
|
|
1467
|
+
Person: 0, "0": "Person",
|
|
1468
|
+
Company: 1, "1": "Company",
|
|
1469
|
+
});
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* @param {Config} cfg
|
|
1473
|
+
* @returns {Promise<void>}
|
|
1474
|
+
*/
|
|
1475
|
+
export function initialize_api(cfg) {
|
|
1476
|
+
const ret = wasm.initialize_api(cfg);
|
|
1477
|
+
return ret;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* Entry point invoked by JavaScript in a worker.
|
|
1482
|
+
* @param {number} ptr
|
|
1483
|
+
*/
|
|
1484
|
+
export function task_worker_entry_point(ptr) {
|
|
1485
|
+
const ret = wasm.task_worker_entry_point(ptr);
|
|
1486
|
+
if (ret[1]) {
|
|
1487
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1513
1491
|
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
1514
1492
|
|
|
1515
1493
|
async function __wbg_load(module, imports) {
|
|
@@ -1517,7 +1495,6 @@ async function __wbg_load(module, imports) {
|
|
|
1517
1495
|
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
1518
1496
|
try {
|
|
1519
1497
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
1520
|
-
|
|
1521
1498
|
} catch (e) {
|
|
1522
1499
|
const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
|
|
1523
1500
|
|
|
@@ -1532,13 +1509,11 @@ async function __wbg_load(module, imports) {
|
|
|
1532
1509
|
|
|
1533
1510
|
const bytes = await module.arrayBuffer();
|
|
1534
1511
|
return await WebAssembly.instantiate(bytes, imports);
|
|
1535
|
-
|
|
1536
1512
|
} else {
|
|
1537
1513
|
const instance = await WebAssembly.instantiate(module, imports);
|
|
1538
1514
|
|
|
1539
1515
|
if (instance instanceof WebAssembly.Instance) {
|
|
1540
1516
|
return { instance, module };
|
|
1541
|
-
|
|
1542
1517
|
} else {
|
|
1543
1518
|
return instance;
|
|
1544
1519
|
}
|
|
@@ -1548,11 +1523,11 @@ async function __wbg_load(module, imports) {
|
|
|
1548
1523
|
function __wbg_get_imports() {
|
|
1549
1524
|
const imports = {};
|
|
1550
1525
|
imports.wbg = {};
|
|
1551
|
-
imports.wbg.
|
|
1526
|
+
imports.wbg.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) {
|
|
1552
1527
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1553
1528
|
return ret;
|
|
1554
1529
|
};
|
|
1555
|
-
imports.wbg.
|
|
1530
|
+
imports.wbg.__wbg_Number_2d1dcfcf4ec51736 = function(arg0) {
|
|
1556
1531
|
const ret = Number(arg0);
|
|
1557
1532
|
return ret;
|
|
1558
1533
|
};
|
|
@@ -1563,68 +1538,68 @@ function __wbg_get_imports() {
|
|
|
1563
1538
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1564
1539
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1565
1540
|
};
|
|
1566
|
-
imports.wbg.
|
|
1541
|
+
imports.wbg.__wbg___wbindgen_bigint_get_as_i64_6e32f5e6aff02e1d = function(arg0, arg1) {
|
|
1567
1542
|
const v = arg1;
|
|
1568
1543
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1569
1544
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1570
1545
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1571
1546
|
};
|
|
1572
|
-
imports.wbg.
|
|
1547
|
+
imports.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) {
|
|
1573
1548
|
const v = arg0;
|
|
1574
1549
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
1575
1550
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1576
1551
|
};
|
|
1577
|
-
imports.wbg.
|
|
1552
|
+
imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) {
|
|
1578
1553
|
const ret = debugString(arg1);
|
|
1579
1554
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1580
1555
|
const len1 = WASM_VECTOR_LEN;
|
|
1581
1556
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1582
1557
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1583
1558
|
};
|
|
1584
|
-
imports.wbg.
|
|
1559
|
+
imports.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) {
|
|
1585
1560
|
const ret = arg0 in arg1;
|
|
1586
1561
|
return ret;
|
|
1587
1562
|
};
|
|
1588
|
-
imports.wbg.
|
|
1563
|
+
imports.wbg.__wbg___wbindgen_is_bigint_0e1a2e3f55cfae27 = function(arg0) {
|
|
1589
1564
|
const ret = typeof(arg0) === 'bigint';
|
|
1590
1565
|
return ret;
|
|
1591
1566
|
};
|
|
1592
|
-
imports.wbg.
|
|
1567
|
+
imports.wbg.__wbg___wbindgen_is_falsy_7b9692021c137978 = function(arg0) {
|
|
1593
1568
|
const ret = !arg0;
|
|
1594
1569
|
return ret;
|
|
1595
1570
|
};
|
|
1596
|
-
imports.wbg.
|
|
1571
|
+
imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) {
|
|
1597
1572
|
const ret = typeof(arg0) === 'function';
|
|
1598
1573
|
return ret;
|
|
1599
1574
|
};
|
|
1600
|
-
imports.wbg.
|
|
1575
|
+
imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) {
|
|
1601
1576
|
const val = arg0;
|
|
1602
1577
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1603
1578
|
return ret;
|
|
1604
1579
|
};
|
|
1605
|
-
imports.wbg.
|
|
1580
|
+
imports.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) {
|
|
1606
1581
|
const ret = typeof(arg0) === 'string';
|
|
1607
1582
|
return ret;
|
|
1608
1583
|
};
|
|
1609
|
-
imports.wbg.
|
|
1584
|
+
imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) {
|
|
1610
1585
|
const ret = arg0 === undefined;
|
|
1611
1586
|
return ret;
|
|
1612
1587
|
};
|
|
1613
|
-
imports.wbg.
|
|
1588
|
+
imports.wbg.__wbg___wbindgen_jsval_eq_b6101cc9cef1fe36 = function(arg0, arg1) {
|
|
1614
1589
|
const ret = arg0 === arg1;
|
|
1615
1590
|
return ret;
|
|
1616
1591
|
};
|
|
1617
|
-
imports.wbg.
|
|
1592
|
+
imports.wbg.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) {
|
|
1618
1593
|
const ret = arg0 == arg1;
|
|
1619
1594
|
return ret;
|
|
1620
1595
|
};
|
|
1621
|
-
imports.wbg.
|
|
1596
|
+
imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, arg1) {
|
|
1622
1597
|
const obj = arg1;
|
|
1623
1598
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1624
1599
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1625
1600
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1626
1601
|
};
|
|
1627
|
-
imports.wbg.
|
|
1602
|
+
imports.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, arg1) {
|
|
1628
1603
|
const obj = arg1;
|
|
1629
1604
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1630
1605
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1632,77 +1607,77 @@ function __wbg_get_imports() {
|
|
|
1632
1607
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1633
1608
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1634
1609
|
};
|
|
1635
|
-
imports.wbg.
|
|
1610
|
+
imports.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
|
|
1636
1611
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1637
1612
|
};
|
|
1638
|
-
imports.wbg.
|
|
1613
|
+
imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) {
|
|
1639
1614
|
arg0._wbg_cb_unref();
|
|
1640
1615
|
};
|
|
1641
|
-
imports.wbg.
|
|
1616
|
+
imports.wbg.__wbg_abort_07646c894ebbf2bd = function(arg0) {
|
|
1617
|
+
arg0.abort();
|
|
1618
|
+
};
|
|
1619
|
+
imports.wbg.__wbg_abort_399ecbcfd6ef3c8e = function(arg0, arg1) {
|
|
1642
1620
|
arg0.abort(arg1);
|
|
1643
1621
|
};
|
|
1644
|
-
imports.wbg.
|
|
1622
|
+
imports.wbg.__wbg_abort_45186b2c363ae467 = function() { return handleError(function (arg0) {
|
|
1645
1623
|
arg0.abort();
|
|
1646
1624
|
}, arguments) };
|
|
1647
|
-
imports.wbg.
|
|
1648
|
-
arg0.abort();
|
|
1649
|
-
};
|
|
1650
|
-
imports.wbg.__wbg_advance_11d4c28c7775b169 = function() { return handleError(function (arg0, arg1) {
|
|
1625
|
+
imports.wbg.__wbg_advance_1d73403fd10762b9 = function() { return handleError(function (arg0, arg1) {
|
|
1651
1626
|
arg0.advance(arg1 >>> 0);
|
|
1652
1627
|
}, arguments) };
|
|
1653
|
-
imports.wbg.
|
|
1628
|
+
imports.wbg.__wbg_append_c5cbdf46455cc776 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1654
1629
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1655
1630
|
}, arguments) };
|
|
1656
|
-
imports.wbg.
|
|
1631
|
+
imports.wbg.__wbg_arrayBuffer_c04af4fce566092d = function() { return handleError(function (arg0) {
|
|
1657
1632
|
const ret = arg0.arrayBuffer();
|
|
1658
1633
|
return ret;
|
|
1659
1634
|
}, arguments) };
|
|
1660
|
-
imports.wbg.
|
|
1635
|
+
imports.wbg.__wbg_bound_6fa641bacd961cc0 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1661
1636
|
const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
|
|
1662
1637
|
return ret;
|
|
1663
1638
|
}, arguments) };
|
|
1664
|
-
imports.wbg.
|
|
1639
|
+
imports.wbg.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1665
1640
|
const ret = arg0.call(arg1, arg2);
|
|
1666
1641
|
return ret;
|
|
1667
1642
|
}, arguments) };
|
|
1668
|
-
imports.wbg.
|
|
1643
|
+
imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
|
|
1669
1644
|
const ret = arg0.call(arg1);
|
|
1670
1645
|
return ret;
|
|
1671
1646
|
}, arguments) };
|
|
1672
1647
|
imports.wbg.__wbg_clearInterval_938929bdd0f2dff9 = function(arg0) {
|
|
1673
1648
|
globalThis.clearInterval(arg0);
|
|
1674
1649
|
};
|
|
1675
|
-
imports.wbg.
|
|
1650
|
+
imports.wbg.__wbg_clearTimeout_3b6a9a13d4bde075 = function(arg0) {
|
|
1676
1651
|
const ret = clearTimeout(arg0);
|
|
1677
1652
|
return ret;
|
|
1678
1653
|
};
|
|
1679
|
-
imports.wbg.
|
|
1654
|
+
imports.wbg.__wbg_clearTimeout_5a54f8841c30079a = function(arg0) {
|
|
1680
1655
|
const ret = clearTimeout(arg0);
|
|
1681
1656
|
return ret;
|
|
1682
1657
|
};
|
|
1683
|
-
imports.wbg.
|
|
1658
|
+
imports.wbg.__wbg_close_1db3952de1b5b1cf = function() { return handleError(function (arg0) {
|
|
1684
1659
|
arg0.close();
|
|
1685
1660
|
}, arguments) };
|
|
1686
|
-
imports.wbg.
|
|
1661
|
+
imports.wbg.__wbg_code_85a811fe6ca962be = function(arg0) {
|
|
1687
1662
|
const ret = arg0.code;
|
|
1688
1663
|
return ret;
|
|
1689
1664
|
};
|
|
1690
|
-
imports.wbg.
|
|
1665
|
+
imports.wbg.__wbg_code_c2a85f2863ec11b3 = function(arg0) {
|
|
1691
1666
|
const ret = arg0.code;
|
|
1692
1667
|
return ret;
|
|
1693
1668
|
};
|
|
1694
|
-
imports.wbg.
|
|
1669
|
+
imports.wbg.__wbg_contains_de2a27de1ed31877 = function(arg0, arg1, arg2) {
|
|
1695
1670
|
const ret = arg0.contains(getStringFromWasm0(arg1, arg2));
|
|
1696
1671
|
return ret;
|
|
1697
1672
|
};
|
|
1698
|
-
imports.wbg.
|
|
1673
|
+
imports.wbg.__wbg_continue_f42217c3ef5cf6dd = function() { return handleError(function (arg0) {
|
|
1699
1674
|
arg0.continue();
|
|
1700
1675
|
}, arguments) };
|
|
1701
|
-
imports.wbg.
|
|
1676
|
+
imports.wbg.__wbg_createIndex_3889f4177a3fa5d0 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1702
1677
|
const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
|
|
1703
1678
|
return ret;
|
|
1704
1679
|
}, arguments) };
|
|
1705
|
-
imports.wbg.
|
|
1680
|
+
imports.wbg.__wbg_createObjectStore_cbdcc26f3aae8530 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1706
1681
|
const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
|
|
1707
1682
|
return ret;
|
|
1708
1683
|
}, arguments) };
|
|
@@ -1710,35 +1685,31 @@ function __wbg_get_imports() {
|
|
|
1710
1685
|
const ret = arg0.crypto;
|
|
1711
1686
|
return ret;
|
|
1712
1687
|
};
|
|
1713
|
-
imports.wbg.
|
|
1688
|
+
imports.wbg.__wbg_data_8bf4ae669a78a688 = function(arg0) {
|
|
1714
1689
|
const ret = arg0.data;
|
|
1715
1690
|
return ret;
|
|
1716
1691
|
};
|
|
1717
|
-
imports.wbg.
|
|
1692
|
+
imports.wbg.__wbg_debug_9ad80675faf0c9cf = function(arg0, arg1, arg2, arg3) {
|
|
1718
1693
|
console.debug(arg0, arg1, arg2, arg3);
|
|
1719
1694
|
};
|
|
1720
|
-
imports.wbg.
|
|
1695
|
+
imports.wbg.__wbg_deleteIndex_5cd5c1a016293bf2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1721
1696
|
arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
|
|
1722
1697
|
}, arguments) };
|
|
1723
|
-
imports.wbg.
|
|
1698
|
+
imports.wbg.__wbg_deleteObjectStore_88e9fff1fbbc6189 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1724
1699
|
arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
|
|
1725
1700
|
}, arguments) };
|
|
1726
|
-
imports.wbg.
|
|
1701
|
+
imports.wbg.__wbg_delete_a8cf58aab29e18d2 = function() { return handleError(function (arg0, arg1) {
|
|
1727
1702
|
const ret = arg0.delete(arg1);
|
|
1728
1703
|
return ret;
|
|
1729
1704
|
}, arguments) };
|
|
1730
|
-
imports.wbg.
|
|
1705
|
+
imports.wbg.__wbg_done_62ea16af4ce34b24 = function(arg0) {
|
|
1731
1706
|
const ret = arg0.done;
|
|
1732
1707
|
return ret;
|
|
1733
1708
|
};
|
|
1734
|
-
imports.wbg.
|
|
1709
|
+
imports.wbg.__wbg_entries_83c79938054e065f = function(arg0) {
|
|
1735
1710
|
const ret = Object.entries(arg0);
|
|
1736
1711
|
return ret;
|
|
1737
1712
|
};
|
|
1738
|
-
imports.wbg.__wbg_error_3e929987fcd3e155 = function() { return handleError(function (arg0) {
|
|
1739
|
-
const ret = arg0.error;
|
|
1740
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1741
|
-
}, arguments) };
|
|
1742
1713
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
1743
1714
|
let deferred0_0;
|
|
1744
1715
|
let deferred0_1;
|
|
@@ -1750,76 +1721,80 @@ function __wbg_get_imports() {
|
|
|
1750
1721
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1751
1722
|
}
|
|
1752
1723
|
};
|
|
1753
|
-
imports.wbg.
|
|
1724
|
+
imports.wbg.__wbg_error_ad02a286da74488a = function() { return handleError(function (arg0) {
|
|
1725
|
+
const ret = arg0.error;
|
|
1726
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1727
|
+
}, arguments) };
|
|
1728
|
+
imports.wbg.__wbg_error_ad1ecdacd1bb600d = function(arg0, arg1, arg2, arg3) {
|
|
1754
1729
|
console.error(arg0, arg1, arg2, arg3);
|
|
1755
1730
|
};
|
|
1756
1731
|
imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
|
|
1757
1732
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
1758
1733
|
};
|
|
1759
|
-
imports.wbg.
|
|
1760
|
-
const ret = fetch(
|
|
1734
|
+
imports.wbg.__wbg_fetch_90447c28cc0b095e = function(arg0, arg1) {
|
|
1735
|
+
const ret = arg0.fetch(arg1);
|
|
1761
1736
|
return ret;
|
|
1762
1737
|
};
|
|
1763
|
-
imports.wbg.
|
|
1764
|
-
const ret =
|
|
1738
|
+
imports.wbg.__wbg_fetch_df3fa17a5772dafb = function(arg0) {
|
|
1739
|
+
const ret = fetch(arg0);
|
|
1765
1740
|
return ret;
|
|
1766
1741
|
};
|
|
1767
1742
|
imports.wbg.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
|
|
1768
1743
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1769
1744
|
}, arguments) };
|
|
1770
|
-
imports.wbg.
|
|
1745
|
+
imports.wbg.__wbg_getRandomValues_9b655bdd369112f2 = function() { return handleError(function (arg0, arg1) {
|
|
1771
1746
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1772
1747
|
}, arguments) };
|
|
1773
1748
|
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
1774
1749
|
arg0.getRandomValues(arg1);
|
|
1775
1750
|
}, arguments) };
|
|
1776
|
-
imports.wbg.
|
|
1751
|
+
imports.wbg.__wbg_getTime_ad1e9878a735af08 = function(arg0) {
|
|
1777
1752
|
const ret = arg0.getTime();
|
|
1778
1753
|
return ret;
|
|
1779
1754
|
};
|
|
1780
|
-
imports.wbg.
|
|
1755
|
+
imports.wbg.__wbg_getTimezoneOffset_45389e26d6f46823 = function(arg0) {
|
|
1781
1756
|
const ret = arg0.getTimezoneOffset();
|
|
1782
1757
|
return ret;
|
|
1783
1758
|
};
|
|
1784
|
-
imports.wbg.
|
|
1759
|
+
imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
|
|
1785
1760
|
const ret = arg0[arg1 >>> 0];
|
|
1786
1761
|
return ret;
|
|
1787
1762
|
};
|
|
1788
|
-
imports.wbg.
|
|
1763
|
+
imports.wbg.__wbg_get_7d8b665fa88606d5 = function() { return handleError(function (arg0, arg1) {
|
|
1764
|
+
const ret = arg0.get(arg1);
|
|
1765
|
+
return ret;
|
|
1766
|
+
}, arguments) };
|
|
1767
|
+
imports.wbg.__wbg_get_985f6dca0ce6b776 = function(arg0, arg1, arg2) {
|
|
1789
1768
|
const ret = arg1[arg2 >>> 0];
|
|
1790
1769
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1791
1770
|
var len1 = WASM_VECTOR_LEN;
|
|
1792
1771
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1793
1772
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1794
1773
|
};
|
|
1795
|
-
imports.wbg.
|
|
1774
|
+
imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
|
|
1796
1775
|
const ret = Reflect.get(arg0, arg1);
|
|
1797
1776
|
return ret;
|
|
1798
1777
|
}, arguments) };
|
|
1799
|
-
imports.wbg.__wbg_get_fb1fa70beb44a754 = function() { return handleError(function (arg0, arg1) {
|
|
1800
|
-
const ret = arg0.get(arg1);
|
|
1801
|
-
return ret;
|
|
1802
|
-
}, arguments) };
|
|
1803
1778
|
imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
|
|
1804
1779
|
const ret = arg0[arg1];
|
|
1805
1780
|
return ret;
|
|
1806
1781
|
};
|
|
1807
|
-
imports.wbg.
|
|
1782
|
+
imports.wbg.__wbg_has_0e670569d65d3a45 = function() { return handleError(function (arg0, arg1) {
|
|
1808
1783
|
const ret = Reflect.has(arg0, arg1);
|
|
1809
1784
|
return ret;
|
|
1810
1785
|
}, arguments) };
|
|
1811
|
-
imports.wbg.
|
|
1786
|
+
imports.wbg.__wbg_headers_654c30e1bcccc552 = function(arg0) {
|
|
1812
1787
|
const ret = arg0.headers;
|
|
1813
1788
|
return ret;
|
|
1814
1789
|
};
|
|
1815
|
-
imports.wbg.
|
|
1790
|
+
imports.wbg.__wbg_indexNames_417264eefae70daa = function(arg0) {
|
|
1816
1791
|
const ret = arg0.indexNames;
|
|
1817
1792
|
return ret;
|
|
1818
1793
|
};
|
|
1819
|
-
imports.wbg.
|
|
1794
|
+
imports.wbg.__wbg_info_b7fa8ce2e59d29c6 = function(arg0, arg1, arg2, arg3) {
|
|
1820
1795
|
console.info(arg0, arg1, arg2, arg3);
|
|
1821
1796
|
};
|
|
1822
|
-
imports.wbg.
|
|
1797
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) {
|
|
1823
1798
|
let result;
|
|
1824
1799
|
try {
|
|
1825
1800
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1829,7 +1804,7 @@ function __wbg_get_imports() {
|
|
|
1829
1804
|
const ret = result;
|
|
1830
1805
|
return ret;
|
|
1831
1806
|
};
|
|
1832
|
-
imports.wbg.
|
|
1807
|
+
imports.wbg.__wbg_instanceof_Blob_e9c51ce33a4b6181 = function(arg0) {
|
|
1833
1808
|
let result;
|
|
1834
1809
|
try {
|
|
1835
1810
|
result = arg0 instanceof Blob;
|
|
@@ -1839,7 +1814,7 @@ function __wbg_get_imports() {
|
|
|
1839
1814
|
const ret = result;
|
|
1840
1815
|
return ret;
|
|
1841
1816
|
};
|
|
1842
|
-
imports.wbg.
|
|
1817
|
+
imports.wbg.__wbg_instanceof_IdbFactory_4130e795041912c6 = function(arg0) {
|
|
1843
1818
|
let result;
|
|
1844
1819
|
try {
|
|
1845
1820
|
result = arg0 instanceof IDBFactory;
|
|
@@ -1849,7 +1824,7 @@ function __wbg_get_imports() {
|
|
|
1849
1824
|
const ret = result;
|
|
1850
1825
|
return ret;
|
|
1851
1826
|
};
|
|
1852
|
-
imports.wbg.
|
|
1827
|
+
imports.wbg.__wbg_instanceof_Map_084be8da74364158 = function(arg0) {
|
|
1853
1828
|
let result;
|
|
1854
1829
|
try {
|
|
1855
1830
|
result = arg0 instanceof Map;
|
|
@@ -1859,7 +1834,7 @@ function __wbg_get_imports() {
|
|
|
1859
1834
|
const ret = result;
|
|
1860
1835
|
return ret;
|
|
1861
1836
|
};
|
|
1862
|
-
imports.wbg.
|
|
1837
|
+
imports.wbg.__wbg_instanceof_Response_cd74d1c2ac92cb0b = function(arg0) {
|
|
1863
1838
|
let result;
|
|
1864
1839
|
try {
|
|
1865
1840
|
result = arg0 instanceof Response;
|
|
@@ -1869,7 +1844,7 @@ function __wbg_get_imports() {
|
|
|
1869
1844
|
const ret = result;
|
|
1870
1845
|
return ret;
|
|
1871
1846
|
};
|
|
1872
|
-
imports.wbg.
|
|
1847
|
+
imports.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) {
|
|
1873
1848
|
let result;
|
|
1874
1849
|
try {
|
|
1875
1850
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1879,61 +1854,89 @@ function __wbg_get_imports() {
|
|
|
1879
1854
|
const ret = result;
|
|
1880
1855
|
return ret;
|
|
1881
1856
|
};
|
|
1882
|
-
imports.wbg.
|
|
1857
|
+
imports.wbg.__wbg_isArray_51fd9e6422c0a395 = function(arg0) {
|
|
1883
1858
|
const ret = Array.isArray(arg0);
|
|
1884
1859
|
return ret;
|
|
1885
1860
|
};
|
|
1886
|
-
imports.wbg.
|
|
1861
|
+
imports.wbg.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(arg0) {
|
|
1887
1862
|
const ret = Number.isSafeInteger(arg0);
|
|
1888
1863
|
return ret;
|
|
1889
1864
|
};
|
|
1890
|
-
imports.wbg.
|
|
1865
|
+
imports.wbg.__wbg_iterator_27b7c8b35ab3e86b = function() {
|
|
1891
1866
|
const ret = Symbol.iterator;
|
|
1892
1867
|
return ret;
|
|
1893
1868
|
};
|
|
1894
|
-
imports.wbg.
|
|
1869
|
+
imports.wbg.__wbg_key_5ffb2273b5ffc24a = function() { return handleError(function (arg0) {
|
|
1895
1870
|
const ret = arg0.key;
|
|
1896
1871
|
return ret;
|
|
1897
1872
|
}, arguments) };
|
|
1898
|
-
imports.wbg.
|
|
1873
|
+
imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) {
|
|
1899
1874
|
const ret = arg0.length;
|
|
1900
1875
|
return ret;
|
|
1901
1876
|
};
|
|
1902
|
-
imports.wbg.
|
|
1877
|
+
imports.wbg.__wbg_length_9f7c82a979890e31 = function(arg0) {
|
|
1903
1878
|
const ret = arg0.length;
|
|
1904
1879
|
return ret;
|
|
1905
1880
|
};
|
|
1906
|
-
imports.wbg.
|
|
1881
|
+
imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) {
|
|
1907
1882
|
const ret = arg0.length;
|
|
1908
1883
|
return ret;
|
|
1909
1884
|
};
|
|
1910
|
-
imports.wbg.
|
|
1885
|
+
imports.wbg.__wbg_log_f614673762e98966 = function(arg0, arg1, arg2, arg3) {
|
|
1911
1886
|
console.log(arg0, arg1, arg2, arg3);
|
|
1912
1887
|
};
|
|
1913
1888
|
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
1914
1889
|
const ret = arg0.msCrypto;
|
|
1915
1890
|
return ret;
|
|
1916
1891
|
};
|
|
1917
|
-
imports.wbg.
|
|
1892
|
+
imports.wbg.__wbg_new_0_23cedd11d9b40c9d = function() {
|
|
1918
1893
|
const ret = new Date();
|
|
1919
1894
|
return ret;
|
|
1920
1895
|
};
|
|
1921
|
-
imports.wbg.
|
|
1896
|
+
imports.wbg.__wbg_new_1ba21ce319a06297 = function() {
|
|
1922
1897
|
const ret = new Object();
|
|
1923
1898
|
return ret;
|
|
1924
1899
|
};
|
|
1925
|
-
imports.wbg.
|
|
1900
|
+
imports.wbg.__wbg_new_25f239778d6112b9 = function() {
|
|
1901
|
+
const ret = new Array();
|
|
1902
|
+
return ret;
|
|
1903
|
+
};
|
|
1904
|
+
imports.wbg.__wbg_new_3c79b3bb1b32b7d3 = function() { return handleError(function () {
|
|
1905
|
+
const ret = new Headers();
|
|
1906
|
+
return ret;
|
|
1907
|
+
}, arguments) };
|
|
1908
|
+
imports.wbg.__wbg_new_6421f6084cc5bc5a = function(arg0) {
|
|
1909
|
+
const ret = new Uint8Array(arg0);
|
|
1910
|
+
return ret;
|
|
1911
|
+
};
|
|
1912
|
+
imports.wbg.__wbg_new_7c30d1f874652e62 = function() { return handleError(function (arg0, arg1) {
|
|
1913
|
+
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
|
1914
|
+
return ret;
|
|
1915
|
+
}, arguments) };
|
|
1916
|
+
imports.wbg.__wbg_new_881a222c65f168fc = function() { return handleError(function () {
|
|
1926
1917
|
const ret = new AbortController();
|
|
1927
1918
|
return ret;
|
|
1928
1919
|
}, arguments) };
|
|
1929
|
-
imports.wbg.
|
|
1920
|
+
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
1921
|
+
const ret = new Error();
|
|
1922
|
+
return ret;
|
|
1923
|
+
};
|
|
1924
|
+
imports.wbg.__wbg_new_b2db8aa2650f793a = function(arg0) {
|
|
1925
|
+
const ret = new Date(arg0);
|
|
1926
|
+
return ret;
|
|
1927
|
+
};
|
|
1928
|
+
imports.wbg.__wbg_new_b546ae120718850e = function() {
|
|
1929
|
+
const ret = new Map();
|
|
1930
|
+
return ret;
|
|
1931
|
+
};
|
|
1932
|
+
imports.wbg.__wbg_new_ff12d2b041fb48f1 = function(arg0, arg1) {
|
|
1930
1933
|
try {
|
|
1931
1934
|
var state0 = {a: arg0, b: arg1};
|
|
1932
1935
|
var cb0 = (arg0, arg1) => {
|
|
1933
1936
|
const a = state0.a;
|
|
1934
1937
|
state0.a = 0;
|
|
1935
1938
|
try {
|
|
1936
|
-
return
|
|
1939
|
+
return wasm_bindgen__convert__closures_____invoke__h17913a0979187f06(a, state0.b, arg0, arg1);
|
|
1937
1940
|
} finally {
|
|
1938
1941
|
state0.a = a;
|
|
1939
1942
|
}
|
|
@@ -1944,103 +1947,75 @@ function __wbg_get_imports() {
|
|
|
1944
1947
|
state0.a = state0.b = 0;
|
|
1945
1948
|
}
|
|
1946
1949
|
};
|
|
1947
|
-
imports.wbg.
|
|
1948
|
-
const ret = new Uint8Array(arg0);
|
|
1949
|
-
return ret;
|
|
1950
|
-
};
|
|
1951
|
-
imports.wbg.__wbg_new_68651c719dcda04e = function() {
|
|
1952
|
-
const ret = new Map();
|
|
1953
|
-
return ret;
|
|
1954
|
-
};
|
|
1955
|
-
imports.wbg.__wbg_new_881c4fe631eee9ad = function() { return handleError(function (arg0, arg1) {
|
|
1956
|
-
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
|
1957
|
-
return ret;
|
|
1958
|
-
}, arguments) };
|
|
1959
|
-
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
1960
|
-
const ret = new Error();
|
|
1961
|
-
return ret;
|
|
1962
|
-
};
|
|
1963
|
-
imports.wbg.__wbg_new_93d9417ed3fb115d = function(arg0) {
|
|
1964
|
-
const ret = new Date(arg0);
|
|
1965
|
-
return ret;
|
|
1966
|
-
};
|
|
1967
|
-
imports.wbg.__wbg_new_9edf9838a2def39c = function() { return handleError(function () {
|
|
1968
|
-
const ret = new Headers();
|
|
1969
|
-
return ret;
|
|
1970
|
-
}, arguments) };
|
|
1971
|
-
imports.wbg.__wbg_new_e17d9f43105b08be = function() {
|
|
1972
|
-
const ret = new Array();
|
|
1973
|
-
return ret;
|
|
1974
|
-
};
|
|
1975
|
-
imports.wbg.__wbg_new_from_slice_92f4d78ca282a2d2 = function(arg0, arg1) {
|
|
1950
|
+
imports.wbg.__wbg_new_from_slice_f9c22b9153b26992 = function(arg0, arg1) {
|
|
1976
1951
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1977
1952
|
return ret;
|
|
1978
1953
|
};
|
|
1979
|
-
imports.wbg.
|
|
1954
|
+
imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) {
|
|
1980
1955
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1981
1956
|
return ret;
|
|
1982
1957
|
};
|
|
1983
|
-
imports.wbg.
|
|
1958
|
+
imports.wbg.__wbg_new_with_length_aa5eaf41d35235e5 = function(arg0) {
|
|
1984
1959
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1985
1960
|
return ret;
|
|
1986
1961
|
};
|
|
1987
|
-
imports.wbg.
|
|
1962
|
+
imports.wbg.__wbg_new_with_str_and_init_c5748f76f5108934 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1988
1963
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1989
1964
|
return ret;
|
|
1990
1965
|
}, arguments) };
|
|
1991
|
-
imports.wbg.
|
|
1992
|
-
const ret = arg0.next();
|
|
1993
|
-
return ret;
|
|
1994
|
-
}, arguments) };
|
|
1995
|
-
imports.wbg.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
|
|
1966
|
+
imports.wbg.__wbg_next_138a17bbf04e926c = function(arg0) {
|
|
1996
1967
|
const ret = arg0.next;
|
|
1997
1968
|
return ret;
|
|
1998
1969
|
};
|
|
1970
|
+
imports.wbg.__wbg_next_3cfe5c0fe2a4cc53 = function() { return handleError(function (arg0) {
|
|
1971
|
+
const ret = arg0.next();
|
|
1972
|
+
return ret;
|
|
1973
|
+
}, arguments) };
|
|
1999
1974
|
imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
2000
1975
|
const ret = arg0.node;
|
|
2001
1976
|
return ret;
|
|
2002
1977
|
};
|
|
2003
|
-
imports.wbg.
|
|
2004
|
-
const ret =
|
|
1978
|
+
imports.wbg.__wbg_now_37839916ec63896b = function() { return handleError(function () {
|
|
1979
|
+
const ret = Date.now();
|
|
2005
1980
|
return ret;
|
|
2006
|
-
};
|
|
2007
|
-
imports.wbg.
|
|
1981
|
+
}, arguments) };
|
|
1982
|
+
imports.wbg.__wbg_now_69d776cd24f5215b = function() {
|
|
2008
1983
|
const ret = Date.now();
|
|
2009
1984
|
return ret;
|
|
2010
1985
|
};
|
|
2011
|
-
imports.wbg.
|
|
2012
|
-
const ret =
|
|
1986
|
+
imports.wbg.__wbg_now_71123b9940376874 = function(arg0) {
|
|
1987
|
+
const ret = arg0.now();
|
|
2013
1988
|
return ret;
|
|
2014
|
-
}
|
|
2015
|
-
imports.wbg.
|
|
1989
|
+
};
|
|
1990
|
+
imports.wbg.__wbg_now_8cf15d6e317793e1 = function(arg0) {
|
|
2016
1991
|
const ret = arg0.now();
|
|
2017
1992
|
return ret;
|
|
2018
1993
|
};
|
|
2019
|
-
imports.wbg.
|
|
1994
|
+
imports.wbg.__wbg_objectStoreNames_90900f9a531513ac = function(arg0) {
|
|
2020
1995
|
const ret = arg0.objectStoreNames;
|
|
2021
1996
|
return ret;
|
|
2022
1997
|
};
|
|
2023
|
-
imports.wbg.
|
|
1998
|
+
imports.wbg.__wbg_objectStore_da9a077b8849dbe9 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2024
1999
|
const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
|
|
2025
2000
|
return ret;
|
|
2026
2001
|
}, arguments) };
|
|
2027
|
-
imports.wbg.
|
|
2028
|
-
const ret = arg0.openCursor(
|
|
2002
|
+
imports.wbg.__wbg_openCursor_065c5304428cc4d8 = function() { return handleError(function (arg0) {
|
|
2003
|
+
const ret = arg0.openCursor();
|
|
2029
2004
|
return ret;
|
|
2030
2005
|
}, arguments) };
|
|
2031
|
-
imports.wbg.
|
|
2032
|
-
const ret = arg0.openCursor();
|
|
2006
|
+
imports.wbg.__wbg_openCursor_c13168c35adaa3c9 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2007
|
+
const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
|
|
2033
2008
|
return ret;
|
|
2034
2009
|
}, arguments) };
|
|
2035
|
-
imports.wbg.
|
|
2010
|
+
imports.wbg.__wbg_openCursor_c5d6ba9ba92d3ab5 = function() { return handleError(function (arg0, arg1) {
|
|
2036
2011
|
const ret = arg0.openCursor(arg1);
|
|
2037
2012
|
return ret;
|
|
2038
2013
|
}, arguments) };
|
|
2039
|
-
imports.wbg.
|
|
2014
|
+
imports.wbg.__wbg_open_0d7b85f4c0a38ffe = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2040
2015
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
2041
2016
|
return ret;
|
|
2042
2017
|
}, arguments) };
|
|
2043
|
-
imports.wbg.
|
|
2018
|
+
imports.wbg.__wbg_open_2a2740c93beabe29 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2044
2019
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2));
|
|
2045
2020
|
return ret;
|
|
2046
2021
|
}, arguments) };
|
|
@@ -2048,43 +2023,43 @@ function __wbg_get_imports() {
|
|
|
2048
2023
|
const ret = arg0.performance;
|
|
2049
2024
|
return ret;
|
|
2050
2025
|
};
|
|
2051
|
-
imports.wbg.
|
|
2026
|
+
imports.wbg.__wbg_postMessage_7243f814e0cfb266 = function() { return handleError(function (arg0, arg1) {
|
|
2052
2027
|
arg0.postMessage(arg1);
|
|
2053
2028
|
}, arguments) };
|
|
2054
2029
|
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
2055
2030
|
const ret = arg0.process;
|
|
2056
2031
|
return ret;
|
|
2057
2032
|
};
|
|
2058
|
-
imports.wbg.
|
|
2033
|
+
imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
|
|
2059
2034
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
2060
2035
|
};
|
|
2061
|
-
imports.wbg.
|
|
2036
|
+
imports.wbg.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) {
|
|
2062
2037
|
const ret = arg0.push(arg1);
|
|
2063
2038
|
return ret;
|
|
2064
2039
|
};
|
|
2065
|
-
imports.wbg.
|
|
2066
|
-
const ret = arg0.put(arg1
|
|
2040
|
+
imports.wbg.__wbg_put_d3ad5a2a0698e185 = function() { return handleError(function (arg0, arg1) {
|
|
2041
|
+
const ret = arg0.put(arg1);
|
|
2067
2042
|
return ret;
|
|
2068
2043
|
}, arguments) };
|
|
2069
|
-
imports.wbg.
|
|
2070
|
-
const ret = arg0.put(arg1);
|
|
2044
|
+
imports.wbg.__wbg_put_d40a68e5a8902a46 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2045
|
+
const ret = arg0.put(arg1, arg2);
|
|
2071
2046
|
return ret;
|
|
2072
2047
|
}, arguments) };
|
|
2073
|
-
imports.wbg.
|
|
2048
|
+
imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) {
|
|
2074
2049
|
const ret = arg0.queueMicrotask;
|
|
2075
2050
|
return ret;
|
|
2076
2051
|
};
|
|
2077
|
-
imports.wbg.
|
|
2052
|
+
imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) {
|
|
2078
2053
|
queueMicrotask(arg0);
|
|
2079
2054
|
};
|
|
2080
2055
|
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
2081
2056
|
arg0.randomFillSync(arg1);
|
|
2082
2057
|
}, arguments) };
|
|
2083
|
-
imports.wbg.
|
|
2058
|
+
imports.wbg.__wbg_readyState_9d0976dcad561aa9 = function(arg0) {
|
|
2084
2059
|
const ret = arg0.readyState;
|
|
2085
2060
|
return ret;
|
|
2086
2061
|
};
|
|
2087
|
-
imports.wbg.
|
|
2062
|
+
imports.wbg.__wbg_reason_d4eb9e40592438c2 = function(arg0, arg1) {
|
|
2088
2063
|
const ret = arg1.reason;
|
|
2089
2064
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2090
2065
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -2095,25 +2070,25 @@ function __wbg_get_imports() {
|
|
|
2095
2070
|
const ret = module.require;
|
|
2096
2071
|
return ret;
|
|
2097
2072
|
}, arguments) };
|
|
2098
|
-
imports.wbg.
|
|
2073
|
+
imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) {
|
|
2099
2074
|
const ret = Promise.resolve(arg0);
|
|
2100
2075
|
return ret;
|
|
2101
2076
|
};
|
|
2102
|
-
imports.wbg.
|
|
2077
|
+
imports.wbg.__wbg_result_084f962aedb54250 = function() { return handleError(function (arg0) {
|
|
2103
2078
|
const ret = arg0.result;
|
|
2104
2079
|
return ret;
|
|
2105
2080
|
}, arguments) };
|
|
2106
|
-
imports.wbg.
|
|
2081
|
+
imports.wbg.__wbg_send_7cc36bb628044281 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2107
2082
|
arg0.send(getStringFromWasm0(arg1, arg2));
|
|
2108
2083
|
}, arguments) };
|
|
2109
|
-
imports.wbg.
|
|
2084
|
+
imports.wbg.__wbg_send_ea59e150ab5ebe08 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2110
2085
|
arg0.send(getArrayU8FromWasm0(arg1, arg2));
|
|
2111
2086
|
}, arguments) };
|
|
2112
2087
|
imports.wbg.__wbg_setInterval_c733bbe39e9b7c2b = function(arg0, arg1) {
|
|
2113
2088
|
const ret = globalThis.setInterval(arg0, arg1);
|
|
2114
2089
|
return ret;
|
|
2115
2090
|
};
|
|
2116
|
-
imports.wbg.
|
|
2091
|
+
imports.wbg.__wbg_setTimeout_35a07631c669fbee = function(arg0, arg1) {
|
|
2117
2092
|
const ret = setTimeout(arg0, arg1);
|
|
2118
2093
|
return ret;
|
|
2119
2094
|
};
|
|
@@ -2131,80 +2106,80 @@ function __wbg_get_imports() {
|
|
|
2131
2106
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
2132
2107
|
arg0[arg1] = arg2;
|
|
2133
2108
|
};
|
|
2134
|
-
imports.wbg.
|
|
2135
|
-
|
|
2136
|
-
return ret;
|
|
2109
|
+
imports.wbg.__wbg_set_7df433eea03a5c14 = function(arg0, arg1, arg2) {
|
|
2110
|
+
arg0[arg1 >>> 0] = arg2;
|
|
2137
2111
|
};
|
|
2138
|
-
imports.wbg.
|
|
2112
|
+
imports.wbg.__wbg_set_auto_increment_e74eecac24052e96 = function(arg0, arg1) {
|
|
2139
2113
|
arg0.autoIncrement = arg1 !== 0;
|
|
2140
2114
|
};
|
|
2141
|
-
imports.wbg.
|
|
2115
|
+
imports.wbg.__wbg_set_binaryType_73e8c75df97825f8 = function(arg0, arg1) {
|
|
2142
2116
|
arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
2143
2117
|
};
|
|
2144
|
-
imports.wbg.
|
|
2118
|
+
imports.wbg.__wbg_set_body_8e743242d6076a4f = function(arg0, arg1) {
|
|
2145
2119
|
arg0.body = arg1;
|
|
2146
2120
|
};
|
|
2147
|
-
imports.wbg.
|
|
2148
|
-
arg0[arg1 >>> 0] = arg2;
|
|
2149
|
-
};
|
|
2150
|
-
imports.wbg.__wbg_set_cache_2f9deb19b92b81e3 = function(arg0, arg1) {
|
|
2121
|
+
imports.wbg.__wbg_set_cache_0e437c7c8e838b9b = function(arg0, arg1) {
|
|
2151
2122
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
2152
2123
|
};
|
|
2153
|
-
imports.wbg.
|
|
2124
|
+
imports.wbg.__wbg_set_credentials_55ae7c3c106fd5be = function(arg0, arg1) {
|
|
2154
2125
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
2155
2126
|
};
|
|
2156
|
-
imports.wbg.
|
|
2127
|
+
imports.wbg.__wbg_set_efaaf145b9377369 = function(arg0, arg1, arg2) {
|
|
2128
|
+
const ret = arg0.set(arg1, arg2);
|
|
2129
|
+
return ret;
|
|
2130
|
+
};
|
|
2131
|
+
imports.wbg.__wbg_set_headers_5671cf088e114d2b = function(arg0, arg1) {
|
|
2157
2132
|
arg0.headers = arg1;
|
|
2158
2133
|
};
|
|
2159
|
-
imports.wbg.
|
|
2134
|
+
imports.wbg.__wbg_set_key_path_89e32059ab7dfaca = function(arg0, arg1) {
|
|
2160
2135
|
arg0.keyPath = arg1;
|
|
2161
2136
|
};
|
|
2162
|
-
imports.wbg.
|
|
2137
|
+
imports.wbg.__wbg_set_method_76c69e41b3570627 = function(arg0, arg1, arg2) {
|
|
2163
2138
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
2164
2139
|
};
|
|
2165
|
-
imports.wbg.
|
|
2140
|
+
imports.wbg.__wbg_set_mode_611016a6818fc690 = function(arg0, arg1) {
|
|
2166
2141
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
2167
2142
|
};
|
|
2168
|
-
imports.wbg.
|
|
2143
|
+
imports.wbg.__wbg_set_multi_entry_0b85da37f62042d7 = function(arg0, arg1) {
|
|
2169
2144
|
arg0.multiEntry = arg1 !== 0;
|
|
2170
2145
|
};
|
|
2171
|
-
imports.wbg.
|
|
2146
|
+
imports.wbg.__wbg_set_onabort_e3f60791db69f136 = function(arg0, arg1) {
|
|
2172
2147
|
arg0.onabort = arg1;
|
|
2173
2148
|
};
|
|
2174
|
-
imports.wbg.
|
|
2149
|
+
imports.wbg.__wbg_set_onclose_032729b3d7ed7a9e = function(arg0, arg1) {
|
|
2175
2150
|
arg0.onclose = arg1;
|
|
2176
2151
|
};
|
|
2177
|
-
imports.wbg.
|
|
2152
|
+
imports.wbg.__wbg_set_oncomplete_e4a04a9244826e8b = function(arg0, arg1) {
|
|
2178
2153
|
arg0.oncomplete = arg1;
|
|
2179
2154
|
};
|
|
2180
|
-
imports.wbg.
|
|
2155
|
+
imports.wbg.__wbg_set_onerror_08fecec3bdc9d24d = function(arg0, arg1) {
|
|
2181
2156
|
arg0.onerror = arg1;
|
|
2182
2157
|
};
|
|
2183
|
-
imports.wbg.
|
|
2158
|
+
imports.wbg.__wbg_set_onerror_7819daa6af176ddb = function(arg0, arg1) {
|
|
2184
2159
|
arg0.onerror = arg1;
|
|
2185
2160
|
};
|
|
2186
|
-
imports.wbg.
|
|
2161
|
+
imports.wbg.__wbg_set_onerror_e6509e1998f7da91 = function(arg0, arg1) {
|
|
2187
2162
|
arg0.onerror = arg1;
|
|
2188
2163
|
};
|
|
2189
|
-
imports.wbg.
|
|
2164
|
+
imports.wbg.__wbg_set_onmessage_71321d0bed69856c = function(arg0, arg1) {
|
|
2190
2165
|
arg0.onmessage = arg1;
|
|
2191
2166
|
};
|
|
2192
|
-
imports.wbg.
|
|
2167
|
+
imports.wbg.__wbg_set_onopen_6d4abedb27ba5656 = function(arg0, arg1) {
|
|
2193
2168
|
arg0.onopen = arg1;
|
|
2194
2169
|
};
|
|
2195
|
-
imports.wbg.
|
|
2170
|
+
imports.wbg.__wbg_set_onsuccess_94332a00452de699 = function(arg0, arg1) {
|
|
2196
2171
|
arg0.onsuccess = arg1;
|
|
2197
2172
|
};
|
|
2198
|
-
imports.wbg.
|
|
2173
|
+
imports.wbg.__wbg_set_onupgradeneeded_3dc6e233a6d13fe2 = function(arg0, arg1) {
|
|
2199
2174
|
arg0.onupgradeneeded = arg1;
|
|
2200
2175
|
};
|
|
2201
|
-
imports.wbg.
|
|
2176
|
+
imports.wbg.__wbg_set_signal_e89be862d0091009 = function(arg0, arg1) {
|
|
2202
2177
|
arg0.signal = arg1;
|
|
2203
2178
|
};
|
|
2204
|
-
imports.wbg.
|
|
2179
|
+
imports.wbg.__wbg_set_unique_3dd7b4ef717ec230 = function(arg0, arg1) {
|
|
2205
2180
|
arg0.unique = arg1 !== 0;
|
|
2206
2181
|
};
|
|
2207
|
-
imports.wbg.
|
|
2182
|
+
imports.wbg.__wbg_signal_3c14fbdc89694b39 = function(arg0) {
|
|
2208
2183
|
const ret = arg0.signal;
|
|
2209
2184
|
return ret;
|
|
2210
2185
|
};
|
|
@@ -2215,94 +2190,99 @@ function __wbg_get_imports() {
|
|
|
2215
2190
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2216
2191
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2217
2192
|
};
|
|
2218
|
-
imports.wbg.
|
|
2193
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
|
|
2219
2194
|
const ret = typeof global === 'undefined' ? null : global;
|
|
2220
2195
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2221
2196
|
};
|
|
2222
|
-
imports.wbg.
|
|
2197
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
|
|
2223
2198
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
2224
2199
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2225
2200
|
};
|
|
2226
|
-
imports.wbg.
|
|
2201
|
+
imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
|
|
2227
2202
|
const ret = typeof self === 'undefined' ? null : self;
|
|
2228
2203
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2229
2204
|
};
|
|
2230
|
-
imports.wbg.
|
|
2205
|
+
imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
|
|
2231
2206
|
const ret = typeof window === 'undefined' ? null : window;
|
|
2232
2207
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2233
2208
|
};
|
|
2234
|
-
imports.wbg.
|
|
2209
|
+
imports.wbg.__wbg_status_9bfc680efca4bdfd = function(arg0) {
|
|
2235
2210
|
const ret = arg0.status;
|
|
2236
2211
|
return ret;
|
|
2237
2212
|
};
|
|
2238
|
-
imports.wbg.
|
|
2213
|
+
imports.wbg.__wbg_stringify_655a6390e1f5eb6b = function() { return handleError(function (arg0) {
|
|
2239
2214
|
const ret = JSON.stringify(arg0);
|
|
2240
2215
|
return ret;
|
|
2241
2216
|
}, arguments) };
|
|
2242
|
-
imports.wbg.
|
|
2217
|
+
imports.wbg.__wbg_subarray_845f2f5bce7d061a = function(arg0, arg1, arg2) {
|
|
2243
2218
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
2244
2219
|
return ret;
|
|
2245
2220
|
};
|
|
2246
|
-
imports.wbg.
|
|
2221
|
+
imports.wbg.__wbg_target_0e3e05a6263c37a0 = function(arg0) {
|
|
2247
2222
|
const ret = arg0.target;
|
|
2248
2223
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2249
2224
|
};
|
|
2250
|
-
imports.wbg.
|
|
2251
|
-
const ret = arg0.then(arg1);
|
|
2225
|
+
imports.wbg.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) {
|
|
2226
|
+
const ret = arg0.then(arg1, arg2);
|
|
2252
2227
|
return ret;
|
|
2253
2228
|
};
|
|
2254
|
-
imports.wbg.
|
|
2255
|
-
const ret = arg0.then(arg1
|
|
2229
|
+
imports.wbg.__wbg_then_4f95312d68691235 = function(arg0, arg1) {
|
|
2230
|
+
const ret = arg0.then(arg1);
|
|
2256
2231
|
return ret;
|
|
2257
2232
|
};
|
|
2258
|
-
imports.wbg.
|
|
2233
|
+
imports.wbg.__wbg_toString_14b47ee7542a49ef = function(arg0) {
|
|
2259
2234
|
const ret = arg0.toString();
|
|
2260
2235
|
return ret;
|
|
2261
2236
|
};
|
|
2262
|
-
imports.wbg.
|
|
2263
|
-
const ret = arg0.transaction;
|
|
2264
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2265
|
-
};
|
|
2266
|
-
imports.wbg.__wbg_transaction_cd940bd89781f616 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2237
|
+
imports.wbg.__wbg_transaction_257422def49a0094 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2267
2238
|
const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
|
|
2268
2239
|
return ret;
|
|
2269
2240
|
}, arguments) };
|
|
2270
|
-
imports.wbg.
|
|
2241
|
+
imports.wbg.__wbg_transaction_edb5bc8f37fa6aec = function(arg0) {
|
|
2242
|
+
const ret = arg0.transaction;
|
|
2243
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2244
|
+
};
|
|
2245
|
+
imports.wbg.__wbg_url_b6d11838a4f95198 = function(arg0, arg1) {
|
|
2271
2246
|
const ret = arg1.url;
|
|
2272
2247
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2273
2248
|
const len1 = WASM_VECTOR_LEN;
|
|
2274
2249
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2275
2250
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2276
2251
|
};
|
|
2277
|
-
imports.wbg.
|
|
2252
|
+
imports.wbg.__wbg_url_df28eef824b04410 = function(arg0, arg1) {
|
|
2278
2253
|
const ret = arg1.url;
|
|
2279
2254
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2280
2255
|
const len1 = WASM_VECTOR_LEN;
|
|
2281
2256
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2282
2257
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2283
2258
|
};
|
|
2284
|
-
imports.wbg.
|
|
2259
|
+
imports.wbg.__wbg_value_3ed795eaabbd91d4 = function() { return handleError(function (arg0) {
|
|
2285
2260
|
const ret = arg0.value;
|
|
2286
2261
|
return ret;
|
|
2287
|
-
};
|
|
2288
|
-
imports.wbg.
|
|
2262
|
+
}, arguments) };
|
|
2263
|
+
imports.wbg.__wbg_value_57b7b035e117f7ee = function(arg0) {
|
|
2289
2264
|
const ret = arg0.value;
|
|
2290
2265
|
return ret;
|
|
2291
|
-
}
|
|
2266
|
+
};
|
|
2292
2267
|
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
2293
2268
|
const ret = arg0.versions;
|
|
2294
2269
|
return ret;
|
|
2295
2270
|
};
|
|
2296
|
-
imports.wbg.
|
|
2271
|
+
imports.wbg.__wbg_warn_165ef4f6bcfc05e7 = function(arg0, arg1, arg2, arg3) {
|
|
2297
2272
|
console.warn(arg0, arg1, arg2, arg3);
|
|
2298
2273
|
};
|
|
2299
|
-
imports.wbg.
|
|
2274
|
+
imports.wbg.__wbg_wasClean_4154a2d59fdb4dd7 = function(arg0) {
|
|
2300
2275
|
const ret = arg0.wasClean;
|
|
2301
2276
|
return ret;
|
|
2302
2277
|
};
|
|
2303
|
-
imports.wbg.
|
|
2304
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
2305
|
-
const ret =
|
|
2278
|
+
imports.wbg.__wbindgen_cast_0503f43478e4ba23 = function(arg0, arg1) {
|
|
2279
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 59, function: Function { arguments: [], shim_idx: 60, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
2280
|
+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h192e95482c726bd9, wasm_bindgen__convert__closures_____invoke__he5b470d34baeaaa5);
|
|
2281
|
+
return ret;
|
|
2282
|
+
};
|
|
2283
|
+
imports.wbg.__wbindgen_cast_1f0be5a03e92758f = function(arg0, arg1) {
|
|
2284
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 889, function: Function { arguments: [NamedExternref("Event")], shim_idx: 890, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2285
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hfb3b78a8c9ef7360, wasm_bindgen__convert__closures_____invoke__hd5998c5271805815);
|
|
2306
2286
|
return ret;
|
|
2307
2287
|
};
|
|
2308
2288
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
@@ -2310,19 +2290,9 @@ function __wbg_get_imports() {
|
|
|
2310
2290
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
2311
2291
|
return ret;
|
|
2312
2292
|
};
|
|
2313
|
-
imports.wbg.
|
|
2314
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
2315
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
2316
|
-
return ret;
|
|
2317
|
-
};
|
|
2318
|
-
imports.wbg.__wbindgen_cast_380e16cde3a5e1d6 = function(arg0, arg1) {
|
|
2319
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 53, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 346, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2320
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3037230e8ee2d37d, wasm_bindgen__convert__closures_____invoke__h0fbebb9798cf06eb);
|
|
2321
|
-
return ret;
|
|
2322
|
-
};
|
|
2323
|
-
imports.wbg.__wbindgen_cast_4612b7f7f848a8b6 = function(arg0, arg1) {
|
|
2324
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 53, function: Function { arguments: [], shim_idx: 349, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2325
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3037230e8ee2d37d, wasm_bindgen__convert__closures_____invoke__h625e6e48994b4d4d);
|
|
2293
|
+
imports.wbg.__wbindgen_cast_22ea5e6a1cc51f3f = function(arg0, arg1) {
|
|
2294
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 59, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 346, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2295
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h192e95482c726bd9, wasm_bindgen__convert__closures_____invoke__h81816996ad0cef11);
|
|
2326
2296
|
return ret;
|
|
2327
2297
|
};
|
|
2328
2298
|
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
@@ -2330,9 +2300,14 @@ function __wbg_get_imports() {
|
|
|
2330
2300
|
const ret = BigInt.asUintN(64, arg0);
|
|
2331
2301
|
return ret;
|
|
2332
2302
|
};
|
|
2333
|
-
imports.wbg.
|
|
2334
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
2335
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
2303
|
+
imports.wbg.__wbindgen_cast_680e63e04fa970aa = function(arg0, arg1) {
|
|
2304
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 59, function: Function { arguments: [], shim_idx: 349, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2305
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h192e95482c726bd9, wasm_bindgen__convert__closures_____invoke__h0ca8d5cbec1408a5);
|
|
2306
|
+
return ret;
|
|
2307
|
+
};
|
|
2308
|
+
imports.wbg.__wbindgen_cast_68889f4a77db08a2 = function(arg0, arg1) {
|
|
2309
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 59, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 346, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2310
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h192e95482c726bd9, wasm_bindgen__convert__closures_____invoke__h81816996ad0cef11);
|
|
2336
2311
|
return ret;
|
|
2337
2312
|
};
|
|
2338
2313
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
@@ -2340,6 +2315,16 @@ function __wbg_get_imports() {
|
|
|
2340
2315
|
const ret = arg0;
|
|
2341
2316
|
return ret;
|
|
2342
2317
|
};
|
|
2318
|
+
imports.wbg.__wbindgen_cast_9d44ee0f1a1eb33c = function(arg0, arg1) {
|
|
2319
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 59, function: Function { arguments: [Externref], shim_idx: 346, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2320
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h192e95482c726bd9, wasm_bindgen__convert__closures_____invoke__h81816996ad0cef11);
|
|
2321
|
+
return ret;
|
|
2322
|
+
};
|
|
2323
|
+
imports.wbg.__wbindgen_cast_c12b2dd999149250 = function(arg0, arg1) {
|
|
2324
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 886, function: Function { arguments: [], shim_idx: 349, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2325
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2779723cb848264c, wasm_bindgen__convert__closures_____invoke__h0ca8d5cbec1408a5);
|
|
2326
|
+
return ret;
|
|
2327
|
+
};
|
|
2343
2328
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
2344
2329
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
2345
2330
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
@@ -2350,16 +2335,6 @@ function __wbg_get_imports() {
|
|
|
2350
2335
|
const ret = arg0;
|
|
2351
2336
|
return ret;
|
|
2352
2337
|
};
|
|
2353
|
-
imports.wbg.__wbindgen_cast_e29869381abd34df = function(arg0, arg1) {
|
|
2354
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 890, function: Function { arguments: [NamedExternref("Event")], shim_idx: 891, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2355
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__had46d023ac555f7b, wasm_bindgen__convert__closures_____invoke__hefd514050543a57d);
|
|
2356
|
-
return ret;
|
|
2357
|
-
};
|
|
2358
|
-
imports.wbg.__wbindgen_cast_e83184dd3eba5041 = function(arg0, arg1) {
|
|
2359
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 53, function: Function { arguments: [], shim_idx: 54, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
2360
|
-
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3037230e8ee2d37d, wasm_bindgen__convert__closures_____invoke__hd658b83f8a6440c8);
|
|
2361
|
-
return ret;
|
|
2362
|
-
};
|
|
2363
2338
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
2364
2339
|
const table = wasm.__wbindgen_externrefs;
|
|
2365
2340
|
const offset = table.grow(4);
|
|
@@ -2368,7 +2343,6 @@ function __wbg_get_imports() {
|
|
|
2368
2343
|
table.set(offset + 1, null);
|
|
2369
2344
|
table.set(offset + 2, true);
|
|
2370
2345
|
table.set(offset + 3, false);
|
|
2371
|
-
;
|
|
2372
2346
|
};
|
|
2373
2347
|
|
|
2374
2348
|
return imports;
|
|
@@ -2398,13 +2372,10 @@ function initSync(module) {
|
|
|
2398
2372
|
}
|
|
2399
2373
|
|
|
2400
2374
|
const imports = __wbg_get_imports();
|
|
2401
|
-
|
|
2402
2375
|
if (!(module instanceof WebAssembly.Module)) {
|
|
2403
2376
|
module = new WebAssembly.Module(module);
|
|
2404
2377
|
}
|
|
2405
|
-
|
|
2406
2378
|
const instance = new WebAssembly.Instance(module, imports);
|
|
2407
|
-
|
|
2408
2379
|
return __wbg_finalize_init(instance, module);
|
|
2409
2380
|
}
|
|
2410
2381
|
|