@bitwarden/sdk-internal 0.2.0-main.372 → 0.2.0-main.374
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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +24 -0
- package/bitwarden_wasm_internal_bg.js +503 -431
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +14 -12
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +24 -0
- package/node/bitwarden_wasm_internal.js +622 -533
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +13 -11
- package/package.json +1 -1
|
@@ -1,43 +1,62 @@
|
|
|
1
1
|
let imports = {};
|
|
2
2
|
imports["__wbindgen_placeholder__"] = module.exports;
|
|
3
|
-
let wasm;
|
|
4
|
-
const { TextEncoder, TextDecoder } = require(`util`);
|
|
5
3
|
|
|
6
|
-
|
|
4
|
+
let cachedUint8ArrayMemory0 = null;
|
|
5
|
+
|
|
6
|
+
function getUint8ArrayMemory0() {
|
|
7
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
8
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
9
|
+
}
|
|
10
|
+
return cachedUint8ArrayMemory0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
let cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
|
|
14
|
+
|
|
15
|
+
cachedTextDecoder.decode();
|
|
16
|
+
|
|
17
|
+
function decodeText(ptr, len) {
|
|
18
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function getStringFromWasm0(ptr, len) {
|
|
22
|
+
ptr = ptr >>> 0;
|
|
23
|
+
return decodeText(ptr, len);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
let heap = new Array(128).fill(undefined);
|
|
7
27
|
|
|
8
28
|
heap.push(undefined, null, true, false);
|
|
9
29
|
|
|
30
|
+
let heap_next = heap.length;
|
|
31
|
+
|
|
32
|
+
function addHeapObject(obj) {
|
|
33
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
34
|
+
const idx = heap_next;
|
|
35
|
+
heap_next = heap[idx];
|
|
36
|
+
|
|
37
|
+
heap[idx] = obj;
|
|
38
|
+
return idx;
|
|
39
|
+
}
|
|
40
|
+
|
|
10
41
|
function getObject(idx) {
|
|
11
42
|
return heap[idx];
|
|
12
43
|
}
|
|
13
44
|
|
|
14
45
|
let WASM_VECTOR_LEN = 0;
|
|
15
46
|
|
|
16
|
-
|
|
47
|
+
const cachedTextEncoder = new TextEncoder();
|
|
17
48
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
49
|
+
if (!("encodeInto" in cachedTextEncoder)) {
|
|
50
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
51
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
52
|
+
view.set(buf);
|
|
53
|
+
return {
|
|
54
|
+
read: arg.length,
|
|
55
|
+
written: buf.length,
|
|
56
|
+
};
|
|
57
|
+
};
|
|
23
58
|
}
|
|
24
59
|
|
|
25
|
-
let cachedTextEncoder = new TextEncoder("utf-8");
|
|
26
|
-
|
|
27
|
-
const encodeString =
|
|
28
|
-
typeof cachedTextEncoder.encodeInto === "function"
|
|
29
|
-
? function (arg, view) {
|
|
30
|
-
return cachedTextEncoder.encodeInto(arg, view);
|
|
31
|
-
}
|
|
32
|
-
: function (arg, view) {
|
|
33
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
34
|
-
view.set(buf);
|
|
35
|
-
return {
|
|
36
|
-
read: arg.length,
|
|
37
|
-
written: buf.length,
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
|
|
41
60
|
function passStringToWasm0(arg, malloc, realloc) {
|
|
42
61
|
if (realloc === undefined) {
|
|
43
62
|
const buf = cachedTextEncoder.encode(arg);
|
|
@@ -68,7 +87,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
68
87
|
}
|
|
69
88
|
ptr = realloc(ptr, len, (len = offset + arg.length * 3), 1) >>> 0;
|
|
70
89
|
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
71
|
-
const ret =
|
|
90
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
72
91
|
|
|
73
92
|
offset += ret.written;
|
|
74
93
|
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
@@ -92,87 +111,10 @@ function getDataViewMemory0() {
|
|
|
92
111
|
return cachedDataViewMemory0;
|
|
93
112
|
}
|
|
94
113
|
|
|
95
|
-
let heap_next = heap.length;
|
|
96
|
-
|
|
97
|
-
function addHeapObject(obj) {
|
|
98
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
99
|
-
const idx = heap_next;
|
|
100
|
-
heap_next = heap[idx];
|
|
101
|
-
|
|
102
|
-
heap[idx] = obj;
|
|
103
|
-
return idx;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
function handleError(f, args) {
|
|
107
|
-
try {
|
|
108
|
-
return f.apply(this, args);
|
|
109
|
-
} catch (e) {
|
|
110
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
let cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
|
|
115
|
-
|
|
116
|
-
cachedTextDecoder.decode();
|
|
117
|
-
|
|
118
|
-
function getStringFromWasm0(ptr, len) {
|
|
119
|
-
ptr = ptr >>> 0;
|
|
120
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
121
|
-
}
|
|
122
|
-
|
|
123
114
|
function isLikeNone(x) {
|
|
124
115
|
return x === undefined || x === null;
|
|
125
116
|
}
|
|
126
117
|
|
|
127
|
-
function dropObject(idx) {
|
|
128
|
-
if (idx < 132) return;
|
|
129
|
-
heap[idx] = heap_next;
|
|
130
|
-
heap_next = idx;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
function takeObject(idx) {
|
|
134
|
-
const ret = getObject(idx);
|
|
135
|
-
dropObject(idx);
|
|
136
|
-
return ret;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
140
|
-
ptr = ptr >>> 0;
|
|
141
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
const CLOSURE_DTORS =
|
|
145
|
-
typeof FinalizationRegistry === "undefined"
|
|
146
|
-
? { register: () => {}, unregister: () => {} }
|
|
147
|
-
: new FinalizationRegistry((state) => {
|
|
148
|
-
wasm.__wbindgen_export_4.get(state.dtor)(state.a, state.b);
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
152
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
153
|
-
const real = (...args) => {
|
|
154
|
-
// First up with a closure we increment the internal reference
|
|
155
|
-
// count. This ensures that the Rust closure environment won't
|
|
156
|
-
// be deallocated while we're invoking it.
|
|
157
|
-
state.cnt++;
|
|
158
|
-
const a = state.a;
|
|
159
|
-
state.a = 0;
|
|
160
|
-
try {
|
|
161
|
-
return f(a, state.b, ...args);
|
|
162
|
-
} finally {
|
|
163
|
-
if (--state.cnt === 0) {
|
|
164
|
-
wasm.__wbindgen_export_4.get(state.dtor)(a, state.b);
|
|
165
|
-
CLOSURE_DTORS.unregister(state);
|
|
166
|
-
} else {
|
|
167
|
-
state.a = a;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
real.original = state;
|
|
172
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
173
|
-
return real;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
118
|
function debugString(val) {
|
|
177
119
|
// primitive types
|
|
178
120
|
const type = typeof val;
|
|
@@ -237,17 +179,84 @@ function debugString(val) {
|
|
|
237
179
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
238
180
|
return className;
|
|
239
181
|
}
|
|
182
|
+
|
|
183
|
+
function handleError(f, args) {
|
|
184
|
+
try {
|
|
185
|
+
return f.apply(this, args);
|
|
186
|
+
} catch (e) {
|
|
187
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
function dropObject(idx) {
|
|
192
|
+
if (idx < 132) return;
|
|
193
|
+
heap[idx] = heap_next;
|
|
194
|
+
heap_next = idx;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function takeObject(idx) {
|
|
198
|
+
const ret = getObject(idx);
|
|
199
|
+
dropObject(idx);
|
|
200
|
+
return ret;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
204
|
+
ptr = ptr >>> 0;
|
|
205
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
const CLOSURE_DTORS =
|
|
209
|
+
typeof FinalizationRegistry === "undefined"
|
|
210
|
+
? { register: () => {}, unregister: () => {} }
|
|
211
|
+
: new FinalizationRegistry((state) => state.dtor(state.a, state.b));
|
|
212
|
+
|
|
213
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
214
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
215
|
+
const real = (...args) => {
|
|
216
|
+
// First up with a closure we increment the internal reference
|
|
217
|
+
// count. This ensures that the Rust closure environment won't
|
|
218
|
+
// be deallocated while we're invoking it.
|
|
219
|
+
state.cnt++;
|
|
220
|
+
const a = state.a;
|
|
221
|
+
state.a = 0;
|
|
222
|
+
try {
|
|
223
|
+
return f(a, state.b, ...args);
|
|
224
|
+
} finally {
|
|
225
|
+
state.a = a;
|
|
226
|
+
real._wbg_cb_unref();
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
real._wbg_cb_unref = () => {
|
|
230
|
+
if (--state.cnt === 0) {
|
|
231
|
+
state.dtor(state.a, state.b);
|
|
232
|
+
state.a = 0;
|
|
233
|
+
CLOSURE_DTORS.unregister(state);
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
237
|
+
return real;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
241
|
+
ptr = ptr >>> 0;
|
|
242
|
+
const mem = getDataViewMemory0();
|
|
243
|
+
const result = [];
|
|
244
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
245
|
+
result.push(takeObject(mem.getUint32(i, true)));
|
|
246
|
+
}
|
|
247
|
+
return result;
|
|
248
|
+
}
|
|
240
249
|
/**
|
|
241
250
|
* @param {LogLevel} level
|
|
242
251
|
*/
|
|
243
|
-
|
|
252
|
+
exports.set_log_level = function (level) {
|
|
244
253
|
wasm.set_log_level(level);
|
|
245
254
|
};
|
|
246
255
|
|
|
247
256
|
/**
|
|
248
257
|
* @param {LogLevel | null} [log_level]
|
|
249
258
|
*/
|
|
250
|
-
|
|
259
|
+
exports.init_sdk = function (log_level) {
|
|
251
260
|
wasm.init_sdk(isLikeNone(log_level) ? 5 : log_level);
|
|
252
261
|
};
|
|
253
262
|
|
|
@@ -269,7 +278,7 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
269
278
|
* @param {KeyAlgorithm} key_algorithm
|
|
270
279
|
* @returns {SshKeyView}
|
|
271
280
|
*/
|
|
272
|
-
|
|
281
|
+
exports.generate_ssh_key = function (key_algorithm) {
|
|
273
282
|
try {
|
|
274
283
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
275
284
|
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
@@ -303,7 +312,7 @@ module.exports.generate_ssh_key = function (key_algorithm) {
|
|
|
303
312
|
* @param {string | null} [password]
|
|
304
313
|
* @returns {SshKeyView}
|
|
305
314
|
*/
|
|
306
|
-
|
|
315
|
+
exports.import_ssh_key = function (imported_key, password) {
|
|
307
316
|
try {
|
|
308
317
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
309
318
|
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -336,7 +345,7 @@ function addBorrowedObject(obj) {
|
|
|
336
345
|
* @param {any} error
|
|
337
346
|
* @returns {boolean}
|
|
338
347
|
*/
|
|
339
|
-
|
|
348
|
+
exports.isTestError = function (error) {
|
|
340
349
|
try {
|
|
341
350
|
const ret = wasm.isTestError(addBorrowedObject(error));
|
|
342
351
|
return ret !== 0;
|
|
@@ -349,7 +358,7 @@ module.exports.isTestError = function (error) {
|
|
|
349
358
|
* @param {any} error
|
|
350
359
|
* @returns {boolean}
|
|
351
360
|
*/
|
|
352
|
-
|
|
361
|
+
exports.isCollectionDecryptError = function (error) {
|
|
353
362
|
try {
|
|
354
363
|
const ret = wasm.isCollectionDecryptError(addBorrowedObject(error));
|
|
355
364
|
return ret !== 0;
|
|
@@ -362,7 +371,7 @@ module.exports.isCollectionDecryptError = function (error) {
|
|
|
362
371
|
* @param {any} error
|
|
363
372
|
* @returns {boolean}
|
|
364
373
|
*/
|
|
365
|
-
|
|
374
|
+
exports.isMasterPasswordError = function (error) {
|
|
366
375
|
try {
|
|
367
376
|
const ret = wasm.isMasterPasswordError(addBorrowedObject(error));
|
|
368
377
|
return ret !== 0;
|
|
@@ -375,7 +384,7 @@ module.exports.isMasterPasswordError = function (error) {
|
|
|
375
384
|
* @param {any} error
|
|
376
385
|
* @returns {boolean}
|
|
377
386
|
*/
|
|
378
|
-
|
|
387
|
+
exports.isDeriveKeyConnectorError = function (error) {
|
|
379
388
|
try {
|
|
380
389
|
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
381
390
|
return ret !== 0;
|
|
@@ -388,7 +397,7 @@ module.exports.isDeriveKeyConnectorError = function (error) {
|
|
|
388
397
|
* @param {any} error
|
|
389
398
|
* @returns {boolean}
|
|
390
399
|
*/
|
|
391
|
-
|
|
400
|
+
exports.isEnrollAdminPasswordResetError = function (error) {
|
|
392
401
|
try {
|
|
393
402
|
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
394
403
|
return ret !== 0;
|
|
@@ -401,7 +410,7 @@ module.exports.isEnrollAdminPasswordResetError = function (error) {
|
|
|
401
410
|
* @param {any} error
|
|
402
411
|
* @returns {boolean}
|
|
403
412
|
*/
|
|
404
|
-
|
|
413
|
+
exports.isCryptoClientError = function (error) {
|
|
405
414
|
try {
|
|
406
415
|
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
407
416
|
return ret !== 0;
|
|
@@ -414,7 +423,7 @@ module.exports.isCryptoClientError = function (error) {
|
|
|
414
423
|
* @param {any} error
|
|
415
424
|
* @returns {boolean}
|
|
416
425
|
*/
|
|
417
|
-
|
|
426
|
+
exports.isStatefulCryptoError = function (error) {
|
|
418
427
|
try {
|
|
419
428
|
const ret = wasm.isStatefulCryptoError(addBorrowedObject(error));
|
|
420
429
|
return ret !== 0;
|
|
@@ -427,7 +436,7 @@ module.exports.isStatefulCryptoError = function (error) {
|
|
|
427
436
|
* @param {any} error
|
|
428
437
|
* @returns {boolean}
|
|
429
438
|
*/
|
|
430
|
-
|
|
439
|
+
exports.isEncryptionSettingsError = function (error) {
|
|
431
440
|
try {
|
|
432
441
|
const ret = wasm.isEncryptionSettingsError(addBorrowedObject(error));
|
|
433
442
|
return ret !== 0;
|
|
@@ -440,7 +449,7 @@ module.exports.isEncryptionSettingsError = function (error) {
|
|
|
440
449
|
* @param {any} error
|
|
441
450
|
* @returns {boolean}
|
|
442
451
|
*/
|
|
443
|
-
|
|
452
|
+
exports.isCryptoError = function (error) {
|
|
444
453
|
try {
|
|
445
454
|
const ret = wasm.isCryptoError(addBorrowedObject(error));
|
|
446
455
|
return ret !== 0;
|
|
@@ -458,21 +467,11 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
458
467
|
WASM_VECTOR_LEN = array.length;
|
|
459
468
|
return ptr;
|
|
460
469
|
}
|
|
461
|
-
|
|
462
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
463
|
-
ptr = ptr >>> 0;
|
|
464
|
-
const mem = getDataViewMemory0();
|
|
465
|
-
const result = [];
|
|
466
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
467
|
-
result.push(takeObject(mem.getUint32(i, true)));
|
|
468
|
-
}
|
|
469
|
-
return result;
|
|
470
|
-
}
|
|
471
470
|
/**
|
|
472
471
|
* @param {any} error
|
|
473
472
|
* @returns {boolean}
|
|
474
473
|
*/
|
|
475
|
-
|
|
474
|
+
exports.isExportError = function (error) {
|
|
476
475
|
try {
|
|
477
476
|
const ret = wasm.isExportError(addBorrowedObject(error));
|
|
478
477
|
return ret !== 0;
|
|
@@ -485,7 +484,7 @@ module.exports.isExportError = function (error) {
|
|
|
485
484
|
* @param {any} error
|
|
486
485
|
* @returns {boolean}
|
|
487
486
|
*/
|
|
488
|
-
|
|
487
|
+
exports.isUsernameError = function (error) {
|
|
489
488
|
try {
|
|
490
489
|
const ret = wasm.isUsernameError(addBorrowedObject(error));
|
|
491
490
|
return ret !== 0;
|
|
@@ -498,7 +497,7 @@ module.exports.isUsernameError = function (error) {
|
|
|
498
497
|
* @param {any} error
|
|
499
498
|
* @returns {boolean}
|
|
500
499
|
*/
|
|
501
|
-
|
|
500
|
+
exports.isPasswordError = function (error) {
|
|
502
501
|
try {
|
|
503
502
|
const ret = wasm.isPasswordError(addBorrowedObject(error));
|
|
504
503
|
return ret !== 0;
|
|
@@ -518,7 +517,7 @@ function _assertClass(instance, klass) {
|
|
|
518
517
|
* @param {DiscoverResponse} response
|
|
519
518
|
* @returns {Promise<void>}
|
|
520
519
|
*/
|
|
521
|
-
|
|
520
|
+
exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
|
|
522
521
|
_assertClass(ipc_client, IpcClient);
|
|
523
522
|
const ret = wasm.ipcRegisterDiscoverHandler(ipc_client.__wbg_ptr, addHeapObject(response));
|
|
524
523
|
return takeObject(ret);
|
|
@@ -531,7 +530,7 @@ module.exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
|
|
|
531
530
|
* @param {AbortSignal | null} [abort_signal]
|
|
532
531
|
* @returns {Promise<DiscoverResponse>}
|
|
533
532
|
*/
|
|
534
|
-
|
|
533
|
+
exports.ipcRequestDiscover = function (ipc_client, destination, abort_signal) {
|
|
535
534
|
_assertClass(ipc_client, IpcClient);
|
|
536
535
|
const ret = wasm.ipcRequestDiscover(
|
|
537
536
|
ipc_client.__wbg_ptr,
|
|
@@ -545,7 +544,7 @@ module.exports.ipcRequestDiscover = function (ipc_client, destination, abort_sig
|
|
|
545
544
|
* @param {any} error
|
|
546
545
|
* @returns {boolean}
|
|
547
546
|
*/
|
|
548
|
-
|
|
547
|
+
exports.isChannelError = function (error) {
|
|
549
548
|
try {
|
|
550
549
|
const ret = wasm.isChannelError(addBorrowedObject(error));
|
|
551
550
|
return ret !== 0;
|
|
@@ -558,7 +557,7 @@ module.exports.isChannelError = function (error) {
|
|
|
558
557
|
* @param {any} error
|
|
559
558
|
* @returns {boolean}
|
|
560
559
|
*/
|
|
561
|
-
|
|
560
|
+
exports.isDeserializeError = function (error) {
|
|
562
561
|
try {
|
|
563
562
|
const ret = wasm.isDeserializeError(addBorrowedObject(error));
|
|
564
563
|
return ret !== 0;
|
|
@@ -571,7 +570,7 @@ module.exports.isDeserializeError = function (error) {
|
|
|
571
570
|
* @param {any} error
|
|
572
571
|
* @returns {boolean}
|
|
573
572
|
*/
|
|
574
|
-
|
|
573
|
+
exports.isRequestError = function (error) {
|
|
575
574
|
try {
|
|
576
575
|
const ret = wasm.isRequestError(addBorrowedObject(error));
|
|
577
576
|
return ret !== 0;
|
|
@@ -584,7 +583,7 @@ module.exports.isRequestError = function (error) {
|
|
|
584
583
|
* @param {any} error
|
|
585
584
|
* @returns {boolean}
|
|
586
585
|
*/
|
|
587
|
-
|
|
586
|
+
exports.isTypedReceiveError = function (error) {
|
|
588
587
|
try {
|
|
589
588
|
const ret = wasm.isTypedReceiveError(addBorrowedObject(error));
|
|
590
589
|
return ret !== 0;
|
|
@@ -597,7 +596,7 @@ module.exports.isTypedReceiveError = function (error) {
|
|
|
597
596
|
* @param {any} error
|
|
598
597
|
* @returns {boolean}
|
|
599
598
|
*/
|
|
600
|
-
|
|
599
|
+
exports.isReceiveError = function (error) {
|
|
601
600
|
try {
|
|
602
601
|
const ret = wasm.isReceiveError(addBorrowedObject(error));
|
|
603
602
|
return ret !== 0;
|
|
@@ -610,7 +609,7 @@ module.exports.isReceiveError = function (error) {
|
|
|
610
609
|
* @param {any} error
|
|
611
610
|
* @returns {boolean}
|
|
612
611
|
*/
|
|
613
|
-
|
|
612
|
+
exports.isSubscribeError = function (error) {
|
|
614
613
|
try {
|
|
615
614
|
const ret = wasm.isSubscribeError(addBorrowedObject(error));
|
|
616
615
|
return ret !== 0;
|
|
@@ -623,7 +622,7 @@ module.exports.isSubscribeError = function (error) {
|
|
|
623
622
|
* @param {any} error
|
|
624
623
|
* @returns {boolean}
|
|
625
624
|
*/
|
|
626
|
-
|
|
625
|
+
exports.isSshKeyExportError = function (error) {
|
|
627
626
|
try {
|
|
628
627
|
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
629
628
|
return ret !== 0;
|
|
@@ -636,7 +635,7 @@ module.exports.isSshKeyExportError = function (error) {
|
|
|
636
635
|
* @param {any} error
|
|
637
636
|
* @returns {boolean}
|
|
638
637
|
*/
|
|
639
|
-
|
|
638
|
+
exports.isSshKeyImportError = function (error) {
|
|
640
639
|
try {
|
|
641
640
|
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
642
641
|
return ret !== 0;
|
|
@@ -649,7 +648,7 @@ module.exports.isSshKeyImportError = function (error) {
|
|
|
649
648
|
* @param {any} error
|
|
650
649
|
* @returns {boolean}
|
|
651
650
|
*/
|
|
652
|
-
|
|
651
|
+
exports.isKeyGenerationError = function (error) {
|
|
653
652
|
try {
|
|
654
653
|
const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
|
|
655
654
|
return ret !== 0;
|
|
@@ -662,7 +661,7 @@ module.exports.isKeyGenerationError = function (error) {
|
|
|
662
661
|
* @param {any} error
|
|
663
662
|
* @returns {boolean}
|
|
664
663
|
*/
|
|
665
|
-
|
|
664
|
+
exports.isDatabaseError = function (error) {
|
|
666
665
|
try {
|
|
667
666
|
const ret = wasm.isDatabaseError(addBorrowedObject(error));
|
|
668
667
|
return ret !== 0;
|
|
@@ -675,7 +674,7 @@ module.exports.isDatabaseError = function (error) {
|
|
|
675
674
|
* @param {any} error
|
|
676
675
|
* @returns {boolean}
|
|
677
676
|
*/
|
|
678
|
-
|
|
677
|
+
exports.isStateRegistryError = function (error) {
|
|
679
678
|
try {
|
|
680
679
|
const ret = wasm.isStateRegistryError(addBorrowedObject(error));
|
|
681
680
|
return ret !== 0;
|
|
@@ -688,7 +687,7 @@ module.exports.isStateRegistryError = function (error) {
|
|
|
688
687
|
* @param {any} error
|
|
689
688
|
* @returns {boolean}
|
|
690
689
|
*/
|
|
691
|
-
|
|
690
|
+
exports.isCallError = function (error) {
|
|
692
691
|
try {
|
|
693
692
|
const ret = wasm.isCallError(addBorrowedObject(error));
|
|
694
693
|
return ret !== 0;
|
|
@@ -701,7 +700,7 @@ module.exports.isCallError = function (error) {
|
|
|
701
700
|
* @param {any} error
|
|
702
701
|
* @returns {boolean}
|
|
703
702
|
*/
|
|
704
|
-
|
|
703
|
+
exports.isDecryptError = function (error) {
|
|
705
704
|
try {
|
|
706
705
|
const ret = wasm.isDecryptError(addBorrowedObject(error));
|
|
707
706
|
return ret !== 0;
|
|
@@ -714,7 +713,7 @@ module.exports.isDecryptError = function (error) {
|
|
|
714
713
|
* @param {any} error
|
|
715
714
|
* @returns {boolean}
|
|
716
715
|
*/
|
|
717
|
-
|
|
716
|
+
exports.isEncryptError = function (error) {
|
|
718
717
|
try {
|
|
719
718
|
const ret = wasm.isEncryptError(addBorrowedObject(error));
|
|
720
719
|
return ret !== 0;
|
|
@@ -727,7 +726,7 @@ module.exports.isEncryptError = function (error) {
|
|
|
727
726
|
* @param {any} error
|
|
728
727
|
* @returns {boolean}
|
|
729
728
|
*/
|
|
730
|
-
|
|
729
|
+
exports.isTotpError = function (error) {
|
|
731
730
|
try {
|
|
732
731
|
const ret = wasm.isTotpError(addBorrowedObject(error));
|
|
733
732
|
return ret !== 0;
|
|
@@ -740,7 +739,7 @@ module.exports.isTotpError = function (error) {
|
|
|
740
739
|
* @param {any} error
|
|
741
740
|
* @returns {boolean}
|
|
742
741
|
*/
|
|
743
|
-
|
|
742
|
+
exports.isGetFolderError = function (error) {
|
|
744
743
|
try {
|
|
745
744
|
const ret = wasm.isGetFolderError(addBorrowedObject(error));
|
|
746
745
|
return ret !== 0;
|
|
@@ -753,7 +752,7 @@ module.exports.isGetFolderError = function (error) {
|
|
|
753
752
|
* @param {any} error
|
|
754
753
|
* @returns {boolean}
|
|
755
754
|
*/
|
|
756
|
-
|
|
755
|
+
exports.isEditFolderError = function (error) {
|
|
757
756
|
try {
|
|
758
757
|
const ret = wasm.isEditFolderError(addBorrowedObject(error));
|
|
759
758
|
return ret !== 0;
|
|
@@ -766,7 +765,7 @@ module.exports.isEditFolderError = function (error) {
|
|
|
766
765
|
* @param {any} error
|
|
767
766
|
* @returns {boolean}
|
|
768
767
|
*/
|
|
769
|
-
|
|
768
|
+
exports.isCreateFolderError = function (error) {
|
|
770
769
|
try {
|
|
771
770
|
const ret = wasm.isCreateFolderError(addBorrowedObject(error));
|
|
772
771
|
return ret !== 0;
|
|
@@ -779,7 +778,7 @@ module.exports.isCreateFolderError = function (error) {
|
|
|
779
778
|
* @param {any} error
|
|
780
779
|
* @returns {boolean}
|
|
781
780
|
*/
|
|
782
|
-
|
|
781
|
+
exports.isCipherRiskError = function (error) {
|
|
783
782
|
try {
|
|
784
783
|
const ret = wasm.isCipherRiskError(addBorrowedObject(error));
|
|
785
784
|
return ret !== 0;
|
|
@@ -792,7 +791,7 @@ module.exports.isCipherRiskError = function (error) {
|
|
|
792
791
|
* @param {any} error
|
|
793
792
|
* @returns {boolean}
|
|
794
793
|
*/
|
|
795
|
-
|
|
794
|
+
exports.isGetCipherError = function (error) {
|
|
796
795
|
try {
|
|
797
796
|
const ret = wasm.isGetCipherError(addBorrowedObject(error));
|
|
798
797
|
return ret !== 0;
|
|
@@ -805,7 +804,7 @@ module.exports.isGetCipherError = function (error) {
|
|
|
805
804
|
* @param {any} error
|
|
806
805
|
* @returns {boolean}
|
|
807
806
|
*/
|
|
808
|
-
|
|
807
|
+
exports.isEditCipherError = function (error) {
|
|
809
808
|
try {
|
|
810
809
|
const ret = wasm.isEditCipherError(addBorrowedObject(error));
|
|
811
810
|
return ret !== 0;
|
|
@@ -818,7 +817,7 @@ module.exports.isEditCipherError = function (error) {
|
|
|
818
817
|
* @param {any} error
|
|
819
818
|
* @returns {boolean}
|
|
820
819
|
*/
|
|
821
|
-
|
|
820
|
+
exports.isCreateCipherError = function (error) {
|
|
822
821
|
try {
|
|
823
822
|
const ret = wasm.isCreateCipherError(addBorrowedObject(error));
|
|
824
823
|
return ret !== 0;
|
|
@@ -831,7 +830,7 @@ module.exports.isCreateCipherError = function (error) {
|
|
|
831
830
|
* @param {any} error
|
|
832
831
|
* @returns {boolean}
|
|
833
832
|
*/
|
|
834
|
-
|
|
833
|
+
exports.isCipherError = function (error) {
|
|
835
834
|
try {
|
|
836
835
|
const ret = wasm.isCipherError(addBorrowedObject(error));
|
|
837
836
|
return ret !== 0;
|
|
@@ -844,7 +843,7 @@ module.exports.isCipherError = function (error) {
|
|
|
844
843
|
* @param {any} error
|
|
845
844
|
* @returns {boolean}
|
|
846
845
|
*/
|
|
847
|
-
|
|
846
|
+
exports.isDecryptFileError = function (error) {
|
|
848
847
|
try {
|
|
849
848
|
const ret = wasm.isDecryptFileError(addBorrowedObject(error));
|
|
850
849
|
return ret !== 0;
|
|
@@ -857,7 +856,7 @@ module.exports.isDecryptFileError = function (error) {
|
|
|
857
856
|
* @param {any} error
|
|
858
857
|
* @returns {boolean}
|
|
859
858
|
*/
|
|
860
|
-
|
|
859
|
+
exports.isEncryptFileError = function (error) {
|
|
861
860
|
try {
|
|
862
861
|
const ret = wasm.isEncryptFileError(addBorrowedObject(error));
|
|
863
862
|
return ret !== 0;
|
|
@@ -866,18 +865,14 @@ module.exports.isEncryptFileError = function (error) {
|
|
|
866
865
|
}
|
|
867
866
|
};
|
|
868
867
|
|
|
869
|
-
function
|
|
870
|
-
wasm.
|
|
871
|
-
arg0,
|
|
872
|
-
arg1,
|
|
873
|
-
addHeapObject(arg2),
|
|
874
|
-
);
|
|
868
|
+
function wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1) {
|
|
869
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1);
|
|
875
870
|
}
|
|
876
871
|
|
|
877
|
-
function
|
|
872
|
+
function wasm_bindgen__convert__closures_____invoke__he84e41ce162f03b8(arg0, arg1, arg2) {
|
|
878
873
|
try {
|
|
879
874
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
880
|
-
wasm.
|
|
875
|
+
wasm.wasm_bindgen__convert__closures_____invoke__he84e41ce162f03b8(
|
|
881
876
|
retptr,
|
|
882
877
|
arg0,
|
|
883
878
|
arg1,
|
|
@@ -893,15 +888,16 @@ function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
|
893
888
|
}
|
|
894
889
|
}
|
|
895
890
|
|
|
896
|
-
function
|
|
897
|
-
wasm.
|
|
891
|
+
function wasm_bindgen__convert__closures_____invoke__h142f80da75ccedf5(arg0, arg1, arg2) {
|
|
892
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h142f80da75ccedf5(
|
|
898
893
|
arg0,
|
|
899
894
|
arg1,
|
|
895
|
+
addHeapObject(arg2),
|
|
900
896
|
);
|
|
901
897
|
}
|
|
902
898
|
|
|
903
|
-
function
|
|
904
|
-
wasm.
|
|
899
|
+
function wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(arg0, arg1, arg2, arg3) {
|
|
900
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(
|
|
905
901
|
arg0,
|
|
906
902
|
arg1,
|
|
907
903
|
addHeapObject(arg2),
|
|
@@ -912,7 +908,7 @@ function __wbg_adapter_355(arg0, arg1, arg2, arg3) {
|
|
|
912
908
|
/**
|
|
913
909
|
* @enum {300 | 301 | 302 | 303 | 304 | 305}
|
|
914
910
|
*/
|
|
915
|
-
|
|
911
|
+
exports.CardLinkedIdType = Object.freeze({
|
|
916
912
|
CardholderName: 300,
|
|
917
913
|
300: "CardholderName",
|
|
918
914
|
ExpMonth: 301,
|
|
@@ -929,7 +925,7 @@ module.exports.CardLinkedIdType = Object.freeze({
|
|
|
929
925
|
/**
|
|
930
926
|
* @enum {0 | 1}
|
|
931
927
|
*/
|
|
932
|
-
|
|
928
|
+
exports.CipherRepromptType = Object.freeze({
|
|
933
929
|
None: 0,
|
|
934
930
|
0: "None",
|
|
935
931
|
Password: 1,
|
|
@@ -938,7 +934,7 @@ module.exports.CipherRepromptType = Object.freeze({
|
|
|
938
934
|
/**
|
|
939
935
|
* @enum {1 | 2 | 3 | 4 | 5}
|
|
940
936
|
*/
|
|
941
|
-
|
|
937
|
+
exports.CipherType = Object.freeze({
|
|
942
938
|
Login: 1,
|
|
943
939
|
1: "Login",
|
|
944
940
|
SecureNote: 2,
|
|
@@ -954,7 +950,7 @@ module.exports.CipherType = Object.freeze({
|
|
|
954
950
|
* Represents the type of a [FieldView].
|
|
955
951
|
* @enum {0 | 1 | 2 | 3}
|
|
956
952
|
*/
|
|
957
|
-
|
|
953
|
+
exports.FieldType = Object.freeze({
|
|
958
954
|
/**
|
|
959
955
|
* Text field
|
|
960
956
|
*/
|
|
@@ -979,7 +975,7 @@ module.exports.FieldType = Object.freeze({
|
|
|
979
975
|
/**
|
|
980
976
|
* @enum {400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418}
|
|
981
977
|
*/
|
|
982
|
-
|
|
978
|
+
exports.IdentityLinkedIdType = Object.freeze({
|
|
983
979
|
Title: 400,
|
|
984
980
|
400: "Title",
|
|
985
981
|
MiddleName: 401,
|
|
@@ -1022,7 +1018,7 @@ module.exports.IdentityLinkedIdType = Object.freeze({
|
|
|
1022
1018
|
/**
|
|
1023
1019
|
* @enum {0 | 1 | 2 | 3 | 4}
|
|
1024
1020
|
*/
|
|
1025
|
-
|
|
1021
|
+
exports.LogLevel = Object.freeze({
|
|
1026
1022
|
Trace: 0,
|
|
1027
1023
|
0: "Trace",
|
|
1028
1024
|
Debug: 1,
|
|
@@ -1037,7 +1033,7 @@ module.exports.LogLevel = Object.freeze({
|
|
|
1037
1033
|
/**
|
|
1038
1034
|
* @enum {100 | 101}
|
|
1039
1035
|
*/
|
|
1040
|
-
|
|
1036
|
+
exports.LoginLinkedIdType = Object.freeze({
|
|
1041
1037
|
Username: 100,
|
|
1042
1038
|
100: "Username",
|
|
1043
1039
|
Password: 101,
|
|
@@ -1046,14 +1042,14 @@ module.exports.LoginLinkedIdType = Object.freeze({
|
|
|
1046
1042
|
/**
|
|
1047
1043
|
* @enum {0}
|
|
1048
1044
|
*/
|
|
1049
|
-
|
|
1045
|
+
exports.SecureNoteType = Object.freeze({
|
|
1050
1046
|
Generic: 0,
|
|
1051
1047
|
0: "Generic",
|
|
1052
1048
|
});
|
|
1053
1049
|
/**
|
|
1054
1050
|
* @enum {0 | 1 | 2 | 3 | 4 | 5}
|
|
1055
1051
|
*/
|
|
1056
|
-
|
|
1052
|
+
exports.UriMatchType = Object.freeze({
|
|
1057
1053
|
Domain: 0,
|
|
1058
1054
|
0: "Domain",
|
|
1059
1055
|
Host: 1,
|
|
@@ -1131,7 +1127,9 @@ class AttachmentsClient {
|
|
|
1131
1127
|
}
|
|
1132
1128
|
}
|
|
1133
1129
|
}
|
|
1134
|
-
|
|
1130
|
+
if (Symbol.dispose) AttachmentsClient.prototype[Symbol.dispose] = AttachmentsClient.prototype.free;
|
|
1131
|
+
|
|
1132
|
+
exports.AttachmentsClient = AttachmentsClient;
|
|
1135
1133
|
|
|
1136
1134
|
const AuthClientFinalization =
|
|
1137
1135
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1177,7 +1175,9 @@ class AuthClient {
|
|
|
1177
1175
|
return SendAccessClient.__wrap(ret);
|
|
1178
1176
|
}
|
|
1179
1177
|
}
|
|
1180
|
-
|
|
1178
|
+
if (Symbol.dispose) AuthClient.prototype[Symbol.dispose] = AuthClient.prototype.free;
|
|
1179
|
+
|
|
1180
|
+
exports.AuthClient = AuthClient;
|
|
1181
1181
|
|
|
1182
1182
|
const BitwardenClientFinalization =
|
|
1183
1183
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1334,7 +1334,9 @@ class BitwardenClient {
|
|
|
1334
1334
|
return ExporterClient.__wrap(ret);
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
|
-
|
|
1337
|
+
if (Symbol.dispose) BitwardenClient.prototype[Symbol.dispose] = BitwardenClient.prototype.free;
|
|
1338
|
+
|
|
1339
|
+
exports.BitwardenClient = BitwardenClient;
|
|
1338
1340
|
|
|
1339
1341
|
const CipherRiskClientFinalization =
|
|
1340
1342
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1417,7 +1419,9 @@ class CipherRiskClient {
|
|
|
1417
1419
|
return takeObject(ret);
|
|
1418
1420
|
}
|
|
1419
1421
|
}
|
|
1420
|
-
|
|
1422
|
+
if (Symbol.dispose) CipherRiskClient.prototype[Symbol.dispose] = CipherRiskClient.prototype.free;
|
|
1423
|
+
|
|
1424
|
+
exports.CipherRiskClient = CipherRiskClient;
|
|
1421
1425
|
|
|
1422
1426
|
const CiphersClientFinalization =
|
|
1423
1427
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1733,7 +1737,9 @@ class CiphersClient {
|
|
|
1733
1737
|
}
|
|
1734
1738
|
}
|
|
1735
1739
|
}
|
|
1736
|
-
|
|
1740
|
+
if (Symbol.dispose) CiphersClient.prototype[Symbol.dispose] = CiphersClient.prototype.free;
|
|
1741
|
+
|
|
1742
|
+
exports.CiphersClient = CiphersClient;
|
|
1737
1743
|
|
|
1738
1744
|
const CollectionViewNodeItemFinalization =
|
|
1739
1745
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1798,7 +1804,10 @@ class CollectionViewNodeItem {
|
|
|
1798
1804
|
return takeObject(ret);
|
|
1799
1805
|
}
|
|
1800
1806
|
}
|
|
1801
|
-
|
|
1807
|
+
if (Symbol.dispose)
|
|
1808
|
+
CollectionViewNodeItem.prototype[Symbol.dispose] = CollectionViewNodeItem.prototype.free;
|
|
1809
|
+
|
|
1810
|
+
exports.CollectionViewNodeItem = CollectionViewNodeItem;
|
|
1802
1811
|
|
|
1803
1812
|
const CollectionViewTreeFinalization =
|
|
1804
1813
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1869,7 +1878,10 @@ class CollectionViewTree {
|
|
|
1869
1878
|
}
|
|
1870
1879
|
}
|
|
1871
1880
|
}
|
|
1872
|
-
|
|
1881
|
+
if (Symbol.dispose)
|
|
1882
|
+
CollectionViewTree.prototype[Symbol.dispose] = CollectionViewTree.prototype.free;
|
|
1883
|
+
|
|
1884
|
+
exports.CollectionViewTree = CollectionViewTree;
|
|
1873
1885
|
|
|
1874
1886
|
const CollectionsClientFinalization =
|
|
1875
1887
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1953,7 +1965,9 @@ class CollectionsClient {
|
|
|
1953
1965
|
return CollectionViewTree.__wrap(ret);
|
|
1954
1966
|
}
|
|
1955
1967
|
}
|
|
1956
|
-
|
|
1968
|
+
if (Symbol.dispose) CollectionsClient.prototype[Symbol.dispose] = CollectionsClient.prototype.free;
|
|
1969
|
+
|
|
1970
|
+
exports.CollectionsClient = CollectionsClient;
|
|
1957
1971
|
|
|
1958
1972
|
const CryptoClientFinalization =
|
|
1959
1973
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2197,7 +2211,9 @@ class CryptoClient {
|
|
|
2197
2211
|
}
|
|
2198
2212
|
}
|
|
2199
2213
|
}
|
|
2200
|
-
|
|
2214
|
+
if (Symbol.dispose) CryptoClient.prototype[Symbol.dispose] = CryptoClient.prototype.free;
|
|
2215
|
+
|
|
2216
|
+
exports.CryptoClient = CryptoClient;
|
|
2201
2217
|
|
|
2202
2218
|
const ExporterClientFinalization =
|
|
2203
2219
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2379,7 +2395,9 @@ class ExporterClient {
|
|
|
2379
2395
|
}
|
|
2380
2396
|
}
|
|
2381
2397
|
}
|
|
2382
|
-
|
|
2398
|
+
if (Symbol.dispose) ExporterClient.prototype[Symbol.dispose] = ExporterClient.prototype.free;
|
|
2399
|
+
|
|
2400
|
+
exports.ExporterClient = ExporterClient;
|
|
2383
2401
|
|
|
2384
2402
|
const FoldersClientFinalization =
|
|
2385
2403
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2514,7 +2532,9 @@ class FoldersClient {
|
|
|
2514
2532
|
return takeObject(ret);
|
|
2515
2533
|
}
|
|
2516
2534
|
}
|
|
2517
|
-
|
|
2535
|
+
if (Symbol.dispose) FoldersClient.prototype[Symbol.dispose] = FoldersClient.prototype.free;
|
|
2536
|
+
|
|
2537
|
+
exports.FoldersClient = FoldersClient;
|
|
2518
2538
|
|
|
2519
2539
|
const GeneratorClientFinalization =
|
|
2520
2540
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2646,7 +2666,9 @@ class GeneratorClient {
|
|
|
2646
2666
|
}
|
|
2647
2667
|
}
|
|
2648
2668
|
}
|
|
2649
|
-
|
|
2669
|
+
if (Symbol.dispose) GeneratorClient.prototype[Symbol.dispose] = GeneratorClient.prototype.free;
|
|
2670
|
+
|
|
2671
|
+
exports.GeneratorClient = GeneratorClient;
|
|
2650
2672
|
|
|
2651
2673
|
const IdentityClientFinalization =
|
|
2652
2674
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2676,7 +2698,9 @@ class IdentityClient {
|
|
|
2676
2698
|
wasm.__wbg_identityclient_free(ptr, 0);
|
|
2677
2699
|
}
|
|
2678
2700
|
}
|
|
2679
|
-
|
|
2701
|
+
if (Symbol.dispose) IdentityClient.prototype[Symbol.dispose] = IdentityClient.prototype.free;
|
|
2702
|
+
|
|
2703
|
+
exports.IdentityClient = IdentityClient;
|
|
2680
2704
|
|
|
2681
2705
|
const IncomingMessageFinalization =
|
|
2682
2706
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2816,7 +2840,9 @@ class IncomingMessage {
|
|
|
2816
2840
|
return takeObject(ret);
|
|
2817
2841
|
}
|
|
2818
2842
|
}
|
|
2819
|
-
|
|
2843
|
+
if (Symbol.dispose) IncomingMessage.prototype[Symbol.dispose] = IncomingMessage.prototype.free;
|
|
2844
|
+
|
|
2845
|
+
exports.IncomingMessage = IncomingMessage;
|
|
2820
2846
|
|
|
2821
2847
|
const IpcClientFinalization =
|
|
2822
2848
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2880,7 +2906,9 @@ class IpcClient {
|
|
|
2880
2906
|
return takeObject(ret);
|
|
2881
2907
|
}
|
|
2882
2908
|
}
|
|
2883
|
-
|
|
2909
|
+
if (Symbol.dispose) IpcClient.prototype[Symbol.dispose] = IpcClient.prototype.free;
|
|
2910
|
+
|
|
2911
|
+
exports.IpcClient = IpcClient;
|
|
2884
2912
|
|
|
2885
2913
|
const IpcClientSubscriptionFinalization =
|
|
2886
2914
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2922,7 +2950,10 @@ class IpcClientSubscription {
|
|
|
2922
2950
|
return takeObject(ret);
|
|
2923
2951
|
}
|
|
2924
2952
|
}
|
|
2925
|
-
|
|
2953
|
+
if (Symbol.dispose)
|
|
2954
|
+
IpcClientSubscription.prototype[Symbol.dispose] = IpcClientSubscription.prototype.free;
|
|
2955
|
+
|
|
2956
|
+
exports.IpcClientSubscription = IpcClientSubscription;
|
|
2926
2957
|
|
|
2927
2958
|
const IpcCommunicationBackendFinalization =
|
|
2928
2959
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2973,7 +3004,10 @@ class IpcCommunicationBackend {
|
|
|
2973
3004
|
}
|
|
2974
3005
|
}
|
|
2975
3006
|
}
|
|
2976
|
-
|
|
3007
|
+
if (Symbol.dispose)
|
|
3008
|
+
IpcCommunicationBackend.prototype[Symbol.dispose] = IpcCommunicationBackend.prototype.free;
|
|
3009
|
+
|
|
3010
|
+
exports.IpcCommunicationBackend = IpcCommunicationBackend;
|
|
2977
3011
|
|
|
2978
3012
|
const OutgoingMessageFinalization =
|
|
2979
3013
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3116,7 +3150,9 @@ class OutgoingMessage {
|
|
|
3116
3150
|
}
|
|
3117
3151
|
}
|
|
3118
3152
|
}
|
|
3119
|
-
|
|
3153
|
+
if (Symbol.dispose) OutgoingMessage.prototype[Symbol.dispose] = OutgoingMessage.prototype.free;
|
|
3154
|
+
|
|
3155
|
+
exports.OutgoingMessage = OutgoingMessage;
|
|
3120
3156
|
|
|
3121
3157
|
const PlatformClientFinalization =
|
|
3122
3158
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3168,7 +3204,9 @@ class PlatformClient {
|
|
|
3168
3204
|
}
|
|
3169
3205
|
}
|
|
3170
3206
|
}
|
|
3171
|
-
|
|
3207
|
+
if (Symbol.dispose) PlatformClient.prototype[Symbol.dispose] = PlatformClient.prototype.free;
|
|
3208
|
+
|
|
3209
|
+
exports.PlatformClient = PlatformClient;
|
|
3172
3210
|
|
|
3173
3211
|
const PureCryptoFinalization =
|
|
3174
3212
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3984,7 +4022,9 @@ class PureCrypto {
|
|
|
3984
4022
|
}
|
|
3985
4023
|
}
|
|
3986
4024
|
}
|
|
3987
|
-
|
|
4025
|
+
if (Symbol.dispose) PureCrypto.prototype[Symbol.dispose] = PureCrypto.prototype.free;
|
|
4026
|
+
|
|
4027
|
+
exports.PureCrypto = PureCrypto;
|
|
3988
4028
|
|
|
3989
4029
|
const SendAccessClientFinalization =
|
|
3990
4030
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4026,7 +4066,9 @@ class SendAccessClient {
|
|
|
4026
4066
|
return takeObject(ret);
|
|
4027
4067
|
}
|
|
4028
4068
|
}
|
|
4029
|
-
|
|
4069
|
+
if (Symbol.dispose) SendAccessClient.prototype[Symbol.dispose] = SendAccessClient.prototype.free;
|
|
4070
|
+
|
|
4071
|
+
exports.SendAccessClient = SendAccessClient;
|
|
4030
4072
|
|
|
4031
4073
|
const StateClientFinalization =
|
|
4032
4074
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4084,7 +4126,9 @@ class StateClient {
|
|
|
4084
4126
|
return takeObject(ret);
|
|
4085
4127
|
}
|
|
4086
4128
|
}
|
|
4087
|
-
|
|
4129
|
+
if (Symbol.dispose) StateClient.prototype[Symbol.dispose] = StateClient.prototype.free;
|
|
4130
|
+
|
|
4131
|
+
exports.StateClient = StateClient;
|
|
4088
4132
|
|
|
4089
4133
|
const TotpClientFinalization =
|
|
4090
4134
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4149,7 +4193,9 @@ class TotpClient {
|
|
|
4149
4193
|
}
|
|
4150
4194
|
}
|
|
4151
4195
|
}
|
|
4152
|
-
|
|
4196
|
+
if (Symbol.dispose) TotpClient.prototype[Symbol.dispose] = TotpClient.prototype.free;
|
|
4197
|
+
|
|
4198
|
+
exports.TotpClient = TotpClient;
|
|
4153
4199
|
|
|
4154
4200
|
const VaultClientFinalization =
|
|
4155
4201
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4225,9 +4271,21 @@ class VaultClient {
|
|
|
4225
4271
|
return CipherRiskClient.__wrap(ret);
|
|
4226
4272
|
}
|
|
4227
4273
|
}
|
|
4228
|
-
|
|
4274
|
+
if (Symbol.dispose) VaultClient.prototype[Symbol.dispose] = VaultClient.prototype.free;
|
|
4229
4275
|
|
|
4230
|
-
|
|
4276
|
+
exports.VaultClient = VaultClient;
|
|
4277
|
+
|
|
4278
|
+
exports.__wbg_Error_e83987f665cf5504 = function (arg0, arg1) {
|
|
4279
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
4280
|
+
return addHeapObject(ret);
|
|
4281
|
+
};
|
|
4282
|
+
|
|
4283
|
+
exports.__wbg_Number_bb48ca12f395cd08 = function (arg0) {
|
|
4284
|
+
const ret = Number(getObject(arg0));
|
|
4285
|
+
return ret;
|
|
4286
|
+
};
|
|
4287
|
+
|
|
4288
|
+
exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
4231
4289
|
const ret = String(getObject(arg1));
|
|
4232
4290
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4233
4291
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4235,37 +4293,119 @@ module.exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
|
4235
4293
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4236
4294
|
};
|
|
4237
4295
|
|
|
4238
|
-
|
|
4239
|
-
getObject(
|
|
4296
|
+
exports.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function (arg0, arg1) {
|
|
4297
|
+
const v = getObject(arg1);
|
|
4298
|
+
const ret = typeof v === "bigint" ? v : undefined;
|
|
4299
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
4300
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4240
4301
|
};
|
|
4241
4302
|
|
|
4242
|
-
|
|
4243
|
-
getObject(arg0)
|
|
4303
|
+
exports.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function (arg0) {
|
|
4304
|
+
const v = getObject(arg0);
|
|
4305
|
+
const ret = typeof v === "boolean" ? v : undefined;
|
|
4306
|
+
return isLikeNone(ret) ? 0xffffff : ret ? 1 : 0;
|
|
4307
|
+
};
|
|
4308
|
+
|
|
4309
|
+
exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function (arg0, arg1) {
|
|
4310
|
+
const ret = debugString(getObject(arg1));
|
|
4311
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4312
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4313
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4314
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4315
|
+
};
|
|
4316
|
+
|
|
4317
|
+
exports.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function (arg0, arg1) {
|
|
4318
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
4319
|
+
return ret;
|
|
4320
|
+
};
|
|
4321
|
+
|
|
4322
|
+
exports.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function (arg0) {
|
|
4323
|
+
const ret = typeof getObject(arg0) === "bigint";
|
|
4324
|
+
return ret;
|
|
4325
|
+
};
|
|
4326
|
+
|
|
4327
|
+
exports.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function (arg0) {
|
|
4328
|
+
const ret = typeof getObject(arg0) === "function";
|
|
4329
|
+
return ret;
|
|
4330
|
+
};
|
|
4331
|
+
|
|
4332
|
+
exports.__wbg___wbindgen_is_object_c818261d21f283a4 = function (arg0) {
|
|
4333
|
+
const val = getObject(arg0);
|
|
4334
|
+
const ret = typeof val === "object" && val !== null;
|
|
4335
|
+
return ret;
|
|
4336
|
+
};
|
|
4337
|
+
|
|
4338
|
+
exports.__wbg___wbindgen_is_string_fbb76cb2940daafd = function (arg0) {
|
|
4339
|
+
const ret = typeof getObject(arg0) === "string";
|
|
4340
|
+
return ret;
|
|
4341
|
+
};
|
|
4342
|
+
|
|
4343
|
+
exports.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function (arg0) {
|
|
4344
|
+
const ret = getObject(arg0) === undefined;
|
|
4345
|
+
return ret;
|
|
4346
|
+
};
|
|
4347
|
+
|
|
4348
|
+
exports.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function (arg0, arg1) {
|
|
4349
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
4350
|
+
return ret;
|
|
4351
|
+
};
|
|
4352
|
+
|
|
4353
|
+
exports.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function (arg0, arg1) {
|
|
4354
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
4355
|
+
return ret;
|
|
4356
|
+
};
|
|
4357
|
+
|
|
4358
|
+
exports.__wbg___wbindgen_number_get_a20bf9b85341449d = function (arg0, arg1) {
|
|
4359
|
+
const obj = getObject(arg1);
|
|
4360
|
+
const ret = typeof obj === "number" ? obj : undefined;
|
|
4361
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
4362
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4363
|
+
};
|
|
4364
|
+
|
|
4365
|
+
exports.__wbg___wbindgen_string_get_e4f06c90489ad01b = function (arg0, arg1) {
|
|
4366
|
+
const obj = getObject(arg1);
|
|
4367
|
+
const ret = typeof obj === "string" ? obj : undefined;
|
|
4368
|
+
var ptr1 = isLikeNone(ret)
|
|
4369
|
+
? 0
|
|
4370
|
+
: passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4371
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4372
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4373
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4374
|
+
};
|
|
4375
|
+
|
|
4376
|
+
exports.__wbg___wbindgen_throw_b855445ff6a94295 = function (arg0, arg1) {
|
|
4377
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
4378
|
+
};
|
|
4379
|
+
|
|
4380
|
+
exports.__wbg__wbg_cb_unref_2454a539ea5790d9 = function (arg0) {
|
|
4381
|
+
getObject(arg0)._wbg_cb_unref();
|
|
4244
4382
|
};
|
|
4245
4383
|
|
|
4246
|
-
|
|
4384
|
+
exports.__wbg_abort_28ad55c5825b004d = function (arg0, arg1) {
|
|
4385
|
+
getObject(arg0).abort(getObject(arg1));
|
|
4386
|
+
};
|
|
4387
|
+
|
|
4388
|
+
exports.__wbg_abort_3b256cd5ad0ac232 = function () {
|
|
4247
4389
|
return handleError(function (arg0) {
|
|
4248
4390
|
getObject(arg0).abort();
|
|
4249
4391
|
}, arguments);
|
|
4250
4392
|
};
|
|
4251
4393
|
|
|
4252
|
-
|
|
4253
|
-
getObject(arg0).
|
|
4394
|
+
exports.__wbg_abort_e7eb059f72f9ed0c = function (arg0) {
|
|
4395
|
+
getObject(arg0).abort();
|
|
4254
4396
|
};
|
|
4255
4397
|
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
4259
|
-
}, arguments);
|
|
4398
|
+
exports.__wbg_addEventListener_dc3da056b615f634 = function (arg0, arg1, arg2, arg3) {
|
|
4399
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4260
4400
|
};
|
|
4261
4401
|
|
|
4262
|
-
|
|
4402
|
+
exports.__wbg_append_45ddba58b0706f62 = function () {
|
|
4263
4403
|
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4264
4404
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
4265
4405
|
}, arguments);
|
|
4266
4406
|
};
|
|
4267
4407
|
|
|
4268
|
-
|
|
4408
|
+
exports.__wbg_append_892c5e2d5bdd60ac = function () {
|
|
4269
4409
|
return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4270
4410
|
getObject(arg0).append(
|
|
4271
4411
|
getStringFromWasm0(arg1, arg2),
|
|
@@ -4275,86 +4415,94 @@ module.exports.__wbg_append_b2d1fc16de2a0e81 = function () {
|
|
|
4275
4415
|
}, arguments);
|
|
4276
4416
|
};
|
|
4277
4417
|
|
|
4278
|
-
|
|
4418
|
+
exports.__wbg_append_b577eb3a177bc0fa = function () {
|
|
4419
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4420
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
4421
|
+
}, arguments);
|
|
4422
|
+
};
|
|
4423
|
+
|
|
4424
|
+
exports.__wbg_append_cb0bba4cf263a60b = function () {
|
|
4279
4425
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4280
4426
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4281
4427
|
}, arguments);
|
|
4282
4428
|
};
|
|
4283
4429
|
|
|
4284
|
-
|
|
4430
|
+
exports.__wbg_arrayBuffer_b375eccb84b4ddf3 = function () {
|
|
4285
4431
|
return handleError(function (arg0) {
|
|
4286
4432
|
const ret = getObject(arg0).arrayBuffer();
|
|
4287
4433
|
return addHeapObject(ret);
|
|
4288
4434
|
}, arguments);
|
|
4289
4435
|
};
|
|
4290
4436
|
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
};
|
|
4295
|
-
|
|
4296
|
-
module.exports.__wbg_call_672a4d21634d4a24 = function () {
|
|
4297
|
-
return handleError(function (arg0, arg1) {
|
|
4298
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
4437
|
+
exports.__wbg_call_525440f72fbfc0ea = function () {
|
|
4438
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
4439
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
4299
4440
|
return addHeapObject(ret);
|
|
4300
4441
|
}, arguments);
|
|
4301
4442
|
};
|
|
4302
4443
|
|
|
4303
|
-
|
|
4304
|
-
return handleError(function (arg0, arg1
|
|
4305
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
4444
|
+
exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
4445
|
+
return handleError(function (arg0, arg1) {
|
|
4446
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
4306
4447
|
return addHeapObject(ret);
|
|
4307
4448
|
}, arguments);
|
|
4308
4449
|
};
|
|
4309
4450
|
|
|
4310
|
-
|
|
4451
|
+
exports.__wbg_cipher_90da44fade4d7231 = function (arg0) {
|
|
4311
4452
|
const ret = getObject(arg0).cipher;
|
|
4312
4453
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4313
4454
|
};
|
|
4314
4455
|
|
|
4315
|
-
|
|
4456
|
+
exports.__wbg_clearTimeout_b1115618e821c3b2 = function (arg0) {
|
|
4316
4457
|
const ret = clearTimeout(takeObject(arg0));
|
|
4317
4458
|
return addHeapObject(ret);
|
|
4318
4459
|
};
|
|
4319
4460
|
|
|
4320
|
-
|
|
4461
|
+
exports.__wbg_collectionviewnodeitem_new = function (arg0) {
|
|
4321
4462
|
const ret = CollectionViewNodeItem.__wrap(arg0);
|
|
4322
4463
|
return addHeapObject(ret);
|
|
4323
4464
|
};
|
|
4324
4465
|
|
|
4325
|
-
|
|
4466
|
+
exports.__wbg_createObjectStore_283a43a822bf49ca = function () {
|
|
4326
4467
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4327
4468
|
const ret = getObject(arg0).createObjectStore(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4328
4469
|
return addHeapObject(ret);
|
|
4329
4470
|
}, arguments);
|
|
4330
4471
|
};
|
|
4331
4472
|
|
|
4332
|
-
|
|
4473
|
+
exports.__wbg_crypto_574e78ad8b13b65f = function (arg0) {
|
|
4333
4474
|
const ret = getObject(arg0).crypto;
|
|
4334
4475
|
return addHeapObject(ret);
|
|
4335
4476
|
};
|
|
4336
4477
|
|
|
4337
|
-
|
|
4478
|
+
exports.__wbg_debug_e55e1461940eb14d = function (arg0, arg1, arg2, arg3) {
|
|
4338
4479
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4339
4480
|
};
|
|
4340
4481
|
|
|
4341
|
-
|
|
4482
|
+
exports.__wbg_deleteObjectStore_444a266b213fafcf = function () {
|
|
4342
4483
|
return handleError(function (arg0, arg1, arg2) {
|
|
4343
4484
|
getObject(arg0).deleteObjectStore(getStringFromWasm0(arg1, arg2));
|
|
4344
4485
|
}, arguments);
|
|
4345
4486
|
};
|
|
4346
4487
|
|
|
4347
|
-
|
|
4488
|
+
exports.__wbg_done_2042aa2670fb1db1 = function (arg0) {
|
|
4348
4489
|
const ret = getObject(arg0).done;
|
|
4349
4490
|
return ret;
|
|
4350
4491
|
};
|
|
4351
4492
|
|
|
4352
|
-
|
|
4493
|
+
exports.__wbg_entries_e171b586f8f6bdbf = function (arg0) {
|
|
4353
4494
|
const ret = Object.entries(getObject(arg0));
|
|
4354
4495
|
return addHeapObject(ret);
|
|
4355
4496
|
};
|
|
4356
4497
|
|
|
4357
|
-
|
|
4498
|
+
exports.__wbg_error_3e929987fcd3e155 = function () {
|
|
4499
|
+
return handleError(function (arg0) {
|
|
4500
|
+
const ret = getObject(arg0).error;
|
|
4501
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4502
|
+
}, arguments);
|
|
4503
|
+
};
|
|
4504
|
+
|
|
4505
|
+
exports.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
4358
4506
|
let deferred0_0;
|
|
4359
4507
|
let deferred0_1;
|
|
4360
4508
|
try {
|
|
@@ -4366,62 +4514,53 @@ module.exports.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
|
4366
4514
|
}
|
|
4367
4515
|
};
|
|
4368
4516
|
|
|
4369
|
-
|
|
4517
|
+
exports.__wbg_error_d8b22cf4e59a6791 = function (arg0, arg1, arg2, arg3) {
|
|
4370
4518
|
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4371
4519
|
};
|
|
4372
4520
|
|
|
4373
|
-
|
|
4374
|
-
return handleError(function (arg0) {
|
|
4375
|
-
const ret = getObject(arg0).error;
|
|
4376
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4377
|
-
}, arguments);
|
|
4378
|
-
};
|
|
4379
|
-
|
|
4380
|
-
module.exports.__wbg_fetch_3afbdcc7ddbf16fe = function (arg0) {
|
|
4521
|
+
exports.__wbg_fetch_3afbdcc7ddbf16fe = function (arg0) {
|
|
4381
4522
|
const ret = fetch(getObject(arg0));
|
|
4382
4523
|
return addHeapObject(ret);
|
|
4383
4524
|
};
|
|
4384
4525
|
|
|
4385
|
-
|
|
4526
|
+
exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
4386
4527
|
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
4387
4528
|
return addHeapObject(ret);
|
|
4388
4529
|
};
|
|
4389
4530
|
|
|
4390
|
-
|
|
4531
|
+
exports.__wbg_folder_1f9f19453de069bd = function (arg0) {
|
|
4391
4532
|
const ret = getObject(arg0).folder;
|
|
4392
4533
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4393
4534
|
};
|
|
4394
4535
|
|
|
4395
|
-
|
|
4536
|
+
exports.__wbg_getFullYear_8240d5a15191feae = function (arg0) {
|
|
4396
4537
|
const ret = getObject(arg0).getFullYear();
|
|
4397
4538
|
return ret;
|
|
4398
4539
|
};
|
|
4399
4540
|
|
|
4400
|
-
|
|
4541
|
+
exports.__wbg_getRandomValues_38097e921c2494c3 = function () {
|
|
4401
4542
|
return handleError(function (arg0, arg1) {
|
|
4402
4543
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
4403
4544
|
}, arguments);
|
|
4404
4545
|
};
|
|
4405
4546
|
|
|
4406
|
-
|
|
4547
|
+
exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function () {
|
|
4407
4548
|
return handleError(function (arg0, arg1) {
|
|
4408
4549
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
4409
4550
|
}, arguments);
|
|
4410
4551
|
};
|
|
4411
4552
|
|
|
4412
|
-
|
|
4553
|
+
exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
4413
4554
|
const ret = getObject(arg0).getTime();
|
|
4414
4555
|
return ret;
|
|
4415
4556
|
};
|
|
4416
4557
|
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
return addHeapObject(ret);
|
|
4421
|
-
}, arguments);
|
|
4558
|
+
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4559
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4560
|
+
return addHeapObject(ret);
|
|
4422
4561
|
};
|
|
4423
4562
|
|
|
4424
|
-
|
|
4563
|
+
exports.__wbg_get_905bbb36d78e816c = function () {
|
|
4425
4564
|
return handleError(function (arg0, arg1, arg2) {
|
|
4426
4565
|
let deferred0_0;
|
|
4427
4566
|
let deferred0_1;
|
|
@@ -4436,7 +4575,12 @@ module.exports.__wbg_get_77a3546428c7fc7d = function () {
|
|
|
4436
4575
|
}, arguments);
|
|
4437
4576
|
};
|
|
4438
4577
|
|
|
4439
|
-
|
|
4578
|
+
exports.__wbg_get_access_token_fb7908159e830dff = function (arg0) {
|
|
4579
|
+
const ret = getObject(arg0).get_access_token();
|
|
4580
|
+
return addHeapObject(ret);
|
|
4581
|
+
};
|
|
4582
|
+
|
|
4583
|
+
exports.__wbg_get_eb8ca7ea2e1397a3 = function () {
|
|
4440
4584
|
return handleError(function (arg0, arg1, arg2) {
|
|
4441
4585
|
let deferred0_0;
|
|
4442
4586
|
let deferred0_1;
|
|
@@ -4451,57 +4595,54 @@ module.exports.__wbg_get_94e67783f37c82cd = function () {
|
|
|
4451
4595
|
}, arguments);
|
|
4452
4596
|
};
|
|
4453
4597
|
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
module.exports.__wbg_getaccesstoken_9240256d891025b6 = function (arg0) {
|
|
4460
|
-
const ret = getObject(arg0).get_access_token();
|
|
4461
|
-
return addHeapObject(ret);
|
|
4598
|
+
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4599
|
+
return handleError(function (arg0, arg1) {
|
|
4600
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4601
|
+
return addHeapObject(ret);
|
|
4602
|
+
}, arguments);
|
|
4462
4603
|
};
|
|
4463
4604
|
|
|
4464
|
-
|
|
4605
|
+
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function (arg0, arg1) {
|
|
4465
4606
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
4466
4607
|
return addHeapObject(ret);
|
|
4467
4608
|
};
|
|
4468
4609
|
|
|
4469
|
-
|
|
4610
|
+
exports.__wbg_has_787fafc980c3ccdb = function () {
|
|
4470
4611
|
return handleError(function (arg0, arg1) {
|
|
4471
4612
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
4472
4613
|
return ret;
|
|
4473
4614
|
}, arguments);
|
|
4474
4615
|
};
|
|
4475
4616
|
|
|
4476
|
-
|
|
4617
|
+
exports.__wbg_headers_b87d7eaba61c3278 = function (arg0) {
|
|
4477
4618
|
const ret = getObject(arg0).headers;
|
|
4478
4619
|
return addHeapObject(ret);
|
|
4479
4620
|
};
|
|
4480
4621
|
|
|
4481
|
-
|
|
4622
|
+
exports.__wbg_incomingmessage_new = function (arg0) {
|
|
4482
4623
|
const ret = IncomingMessage.__wrap(arg0);
|
|
4483
4624
|
return addHeapObject(ret);
|
|
4484
4625
|
};
|
|
4485
4626
|
|
|
4486
|
-
|
|
4627
|
+
exports.__wbg_indexedDB_62bfbbd55ec74b14 = function () {
|
|
4487
4628
|
return handleError(function (arg0) {
|
|
4488
4629
|
const ret = getObject(arg0).indexedDB;
|
|
4489
4630
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4490
4631
|
}, arguments);
|
|
4491
4632
|
};
|
|
4492
4633
|
|
|
4493
|
-
|
|
4634
|
+
exports.__wbg_indexedDB_8b464318fe56681e = function () {
|
|
4494
4635
|
return handleError(function (arg0) {
|
|
4495
4636
|
const ret = getObject(arg0).indexedDB;
|
|
4496
4637
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4497
4638
|
}, arguments);
|
|
4498
4639
|
};
|
|
4499
4640
|
|
|
4500
|
-
|
|
4641
|
+
exports.__wbg_info_68cd5b51ef7e5137 = function (arg0, arg1, arg2, arg3) {
|
|
4501
4642
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4502
4643
|
};
|
|
4503
4644
|
|
|
4504
|
-
|
|
4645
|
+
exports.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function (arg0) {
|
|
4505
4646
|
let result;
|
|
4506
4647
|
try {
|
|
4507
4648
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -4512,7 +4653,7 @@ module.exports.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function (arg0) {
|
|
|
4512
4653
|
return ret;
|
|
4513
4654
|
};
|
|
4514
4655
|
|
|
4515
|
-
|
|
4656
|
+
exports.__wbg_instanceof_DomException_83b15e7b042a0b1a = function (arg0) {
|
|
4516
4657
|
let result;
|
|
4517
4658
|
try {
|
|
4518
4659
|
result = getObject(arg0) instanceof DOMException;
|
|
@@ -4523,7 +4664,7 @@ module.exports.__wbg_instanceof_DomException_ed1ccb7aaf39034c = function (arg0)
|
|
|
4523
4664
|
return ret;
|
|
4524
4665
|
};
|
|
4525
4666
|
|
|
4526
|
-
|
|
4667
|
+
exports.__wbg_instanceof_IdbDatabase_fcf75ffeeec3ec8c = function (arg0) {
|
|
4527
4668
|
let result;
|
|
4528
4669
|
try {
|
|
4529
4670
|
result = getObject(arg0) instanceof IDBDatabase;
|
|
@@ -4534,7 +4675,7 @@ module.exports.__wbg_instanceof_IdbDatabase_a3ef009ca00059f9 = function (arg0) {
|
|
|
4534
4675
|
return ret;
|
|
4535
4676
|
};
|
|
4536
4677
|
|
|
4537
|
-
|
|
4678
|
+
exports.__wbg_instanceof_IdbOpenDbRequest_08e4929084e51476 = function (arg0) {
|
|
4538
4679
|
let result;
|
|
4539
4680
|
try {
|
|
4540
4681
|
result = getObject(arg0) instanceof IDBOpenDBRequest;
|
|
@@ -4545,7 +4686,7 @@ module.exports.__wbg_instanceof_IdbOpenDbRequest_a3416e156c9db893 = function (ar
|
|
|
4545
4686
|
return ret;
|
|
4546
4687
|
};
|
|
4547
4688
|
|
|
4548
|
-
|
|
4689
|
+
exports.__wbg_instanceof_IdbRequest_26754883a3cc8f81 = function (arg0) {
|
|
4549
4690
|
let result;
|
|
4550
4691
|
try {
|
|
4551
4692
|
result = getObject(arg0) instanceof IDBRequest;
|
|
@@ -4556,7 +4697,7 @@ module.exports.__wbg_instanceof_IdbRequest_4813c3f207666aa4 = function (arg0) {
|
|
|
4556
4697
|
return ret;
|
|
4557
4698
|
};
|
|
4558
4699
|
|
|
4559
|
-
|
|
4700
|
+
exports.__wbg_instanceof_Map_8579b5e2ab5437c7 = function (arg0) {
|
|
4560
4701
|
let result;
|
|
4561
4702
|
try {
|
|
4562
4703
|
result = getObject(arg0) instanceof Map;
|
|
@@ -4567,7 +4708,7 @@ module.exports.__wbg_instanceof_Map_f3469ce2244d2430 = function (arg0) {
|
|
|
4567
4708
|
return ret;
|
|
4568
4709
|
};
|
|
4569
4710
|
|
|
4570
|
-
|
|
4711
|
+
exports.__wbg_instanceof_Response_f4f3e87e07f3135c = function (arg0) {
|
|
4571
4712
|
let result;
|
|
4572
4713
|
try {
|
|
4573
4714
|
result = getObject(arg0) instanceof Response;
|
|
@@ -4578,7 +4719,7 @@ module.exports.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function (arg0) {
|
|
|
4578
4719
|
return ret;
|
|
4579
4720
|
};
|
|
4580
4721
|
|
|
4581
|
-
|
|
4722
|
+
exports.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function (arg0) {
|
|
4582
4723
|
let result;
|
|
4583
4724
|
try {
|
|
4584
4725
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -4589,7 +4730,7 @@ module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function (arg0) {
|
|
|
4589
4730
|
return ret;
|
|
4590
4731
|
};
|
|
4591
4732
|
|
|
4592
|
-
|
|
4733
|
+
exports.__wbg_instanceof_Window_4846dbb3de56c84c = function (arg0) {
|
|
4593
4734
|
let result;
|
|
4594
4735
|
try {
|
|
4595
4736
|
result = getObject(arg0) instanceof Window;
|
|
@@ -4600,7 +4741,7 @@ module.exports.__wbg_instanceof_Window_def73ea0955fc569 = function (arg0) {
|
|
|
4600
4741
|
return ret;
|
|
4601
4742
|
};
|
|
4602
4743
|
|
|
4603
|
-
|
|
4744
|
+
exports.__wbg_instanceof_WorkerGlobalScope_e31f49b6d33fcadd = function (arg0) {
|
|
4604
4745
|
let result;
|
|
4605
4746
|
try {
|
|
4606
4747
|
result = getObject(arg0) instanceof WorkerGlobalScope;
|
|
@@ -4611,60 +4752,60 @@ module.exports.__wbg_instanceof_WorkerGlobalScope_dbdbdea7e3b56493 = function (a
|
|
|
4611
4752
|
return ret;
|
|
4612
4753
|
};
|
|
4613
4754
|
|
|
4614
|
-
|
|
4755
|
+
exports.__wbg_ipcclientsubscription_new = function (arg0) {
|
|
4615
4756
|
const ret = IpcClientSubscription.__wrap(arg0);
|
|
4616
4757
|
return addHeapObject(ret);
|
|
4617
4758
|
};
|
|
4618
4759
|
|
|
4619
|
-
|
|
4760
|
+
exports.__wbg_isArray_96e0af9891d0945d = function (arg0) {
|
|
4620
4761
|
const ret = Array.isArray(getObject(arg0));
|
|
4621
4762
|
return ret;
|
|
4622
4763
|
};
|
|
4623
4764
|
|
|
4624
|
-
|
|
4765
|
+
exports.__wbg_isSafeInteger_d216eda7911dde36 = function (arg0) {
|
|
4625
4766
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
4626
4767
|
return ret;
|
|
4627
4768
|
};
|
|
4628
4769
|
|
|
4629
|
-
|
|
4770
|
+
exports.__wbg_iterator_e5822695327a3c39 = function () {
|
|
4630
4771
|
const ret = Symbol.iterator;
|
|
4631
4772
|
return addHeapObject(ret);
|
|
4632
4773
|
};
|
|
4633
4774
|
|
|
4634
|
-
|
|
4775
|
+
exports.__wbg_length_69bca3cb64fc8748 = function (arg0) {
|
|
4635
4776
|
const ret = getObject(arg0).length;
|
|
4636
4777
|
return ret;
|
|
4637
4778
|
};
|
|
4638
4779
|
|
|
4639
|
-
|
|
4780
|
+
exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
4640
4781
|
const ret = getObject(arg0).length;
|
|
4641
4782
|
return ret;
|
|
4642
4783
|
};
|
|
4643
4784
|
|
|
4644
|
-
|
|
4785
|
+
exports.__wbg_list_3ff9e942e0036bfb = function () {
|
|
4645
4786
|
return handleError(function (arg0) {
|
|
4646
4787
|
const ret = getObject(arg0).list();
|
|
4647
4788
|
return addHeapObject(ret);
|
|
4648
4789
|
}, arguments);
|
|
4649
4790
|
};
|
|
4650
4791
|
|
|
4651
|
-
|
|
4792
|
+
exports.__wbg_list_bdb6eec69b7ea3d2 = function () {
|
|
4652
4793
|
return handleError(function (arg0) {
|
|
4653
4794
|
const ret = getObject(arg0).list();
|
|
4654
4795
|
return addHeapObject(ret);
|
|
4655
4796
|
}, arguments);
|
|
4656
4797
|
};
|
|
4657
4798
|
|
|
4658
|
-
|
|
4799
|
+
exports.__wbg_log_45eb3a49e7cdcb64 = function (arg0, arg1, arg2, arg3) {
|
|
4659
4800
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4660
4801
|
};
|
|
4661
4802
|
|
|
4662
|
-
|
|
4803
|
+
exports.__wbg_msCrypto_a61aeb35a24c1329 = function (arg0) {
|
|
4663
4804
|
const ret = getObject(arg0).msCrypto;
|
|
4664
4805
|
return addHeapObject(ret);
|
|
4665
4806
|
};
|
|
4666
4807
|
|
|
4667
|
-
|
|
4808
|
+
exports.__wbg_name_3a33ad25b892b2dd = function (arg0, arg1) {
|
|
4668
4809
|
const ret = getObject(arg1).name;
|
|
4669
4810
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4670
4811
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4672,26 +4813,36 @@ module.exports.__wbg_name_f2d27098bfd843e7 = function (arg0, arg1) {
|
|
|
4672
4813
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4673
4814
|
};
|
|
4674
4815
|
|
|
4675
|
-
|
|
4816
|
+
exports.__wbg_new_0_f9740686d739025c = function () {
|
|
4676
4817
|
const ret = new Date();
|
|
4677
4818
|
return addHeapObject(ret);
|
|
4678
4819
|
};
|
|
4679
4820
|
|
|
4680
|
-
|
|
4821
|
+
exports.__wbg_new_1acc0b6eea89d040 = function () {
|
|
4822
|
+
const ret = new Object();
|
|
4823
|
+
return addHeapObject(ret);
|
|
4824
|
+
};
|
|
4825
|
+
|
|
4826
|
+
exports.__wbg_new_2531773dac38ebb3 = function () {
|
|
4681
4827
|
return handleError(function () {
|
|
4682
|
-
const ret = new
|
|
4828
|
+
const ret = new AbortController();
|
|
4683
4829
|
return addHeapObject(ret);
|
|
4684
4830
|
}, arguments);
|
|
4685
4831
|
};
|
|
4686
4832
|
|
|
4687
|
-
|
|
4833
|
+
exports.__wbg_new_3c3d849046688a66 = function (arg0, arg1) {
|
|
4688
4834
|
try {
|
|
4689
4835
|
var state0 = { a: arg0, b: arg1 };
|
|
4690
4836
|
var cb0 = (arg0, arg1) => {
|
|
4691
4837
|
const a = state0.a;
|
|
4692
4838
|
state0.a = 0;
|
|
4693
4839
|
try {
|
|
4694
|
-
return
|
|
4840
|
+
return wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(
|
|
4841
|
+
a,
|
|
4842
|
+
state0.b,
|
|
4843
|
+
arg0,
|
|
4844
|
+
arg1,
|
|
4845
|
+
);
|
|
4695
4846
|
} finally {
|
|
4696
4847
|
state0.a = a;
|
|
4697
4848
|
}
|
|
@@ -4703,51 +4854,46 @@ module.exports.__wbg_new_23a2665fac83c611 = function (arg0, arg1) {
|
|
|
4703
4854
|
}
|
|
4704
4855
|
};
|
|
4705
4856
|
|
|
4706
|
-
|
|
4707
|
-
const ret = new
|
|
4857
|
+
exports.__wbg_new_5a79be3ab53b8aa5 = function (arg0) {
|
|
4858
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
4708
4859
|
return addHeapObject(ret);
|
|
4709
4860
|
};
|
|
4710
4861
|
|
|
4711
|
-
|
|
4862
|
+
exports.__wbg_new_68651c719dcda04e = function () {
|
|
4712
4863
|
const ret = new Map();
|
|
4713
4864
|
return addHeapObject(ret);
|
|
4714
4865
|
};
|
|
4715
4866
|
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4867
|
+
exports.__wbg_new_6f694bb0585846e0 = function () {
|
|
4868
|
+
return handleError(function () {
|
|
4869
|
+
const ret = new FormData();
|
|
4870
|
+
return addHeapObject(ret);
|
|
4871
|
+
}, arguments);
|
|
4719
4872
|
};
|
|
4720
4873
|
|
|
4721
|
-
|
|
4874
|
+
exports.__wbg_new_8a6f238a6ece86ea = function () {
|
|
4722
4875
|
const ret = new Error();
|
|
4723
4876
|
return addHeapObject(ret);
|
|
4724
4877
|
};
|
|
4725
4878
|
|
|
4726
|
-
|
|
4879
|
+
exports.__wbg_new_9edf9838a2def39c = function () {
|
|
4727
4880
|
return handleError(function () {
|
|
4728
|
-
const ret = new
|
|
4881
|
+
const ret = new Headers();
|
|
4729
4882
|
return addHeapObject(ret);
|
|
4730
4883
|
}, arguments);
|
|
4731
4884
|
};
|
|
4732
4885
|
|
|
4733
|
-
|
|
4734
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
4735
|
-
return addHeapObject(ret);
|
|
4736
|
-
};
|
|
4737
|
-
|
|
4738
|
-
module.exports.__wbg_new_c68d7209be747379 = function (arg0, arg1) {
|
|
4886
|
+
exports.__wbg_new_a7442b4b19c1a356 = function (arg0, arg1) {
|
|
4739
4887
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
4740
4888
|
return addHeapObject(ret);
|
|
4741
4889
|
};
|
|
4742
4890
|
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
return addHeapObject(ret);
|
|
4747
|
-
}, arguments);
|
|
4891
|
+
exports.__wbg_new_e17d9f43105b08be = function () {
|
|
4892
|
+
const ret = new Array();
|
|
4893
|
+
return addHeapObject(ret);
|
|
4748
4894
|
};
|
|
4749
4895
|
|
|
4750
|
-
|
|
4896
|
+
exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
|
4751
4897
|
let deferred0_0;
|
|
4752
4898
|
let deferred0_1;
|
|
4753
4899
|
try {
|
|
@@ -4760,101 +4906,105 @@ module.exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
|
|
4760
4906
|
}
|
|
4761
4907
|
};
|
|
4762
4908
|
|
|
4763
|
-
|
|
4764
|
-
const ret = new
|
|
4909
|
+
exports.__wbg_new_from_slice_92f4d78ca282a2d2 = function (arg0, arg1) {
|
|
4910
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
4765
4911
|
return addHeapObject(ret);
|
|
4766
4912
|
};
|
|
4767
4913
|
|
|
4768
|
-
|
|
4769
|
-
const ret = new
|
|
4914
|
+
exports.__wbg_new_no_args_ee98eee5275000a4 = function (arg0, arg1) {
|
|
4915
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
4770
4916
|
return addHeapObject(ret);
|
|
4771
4917
|
};
|
|
4772
4918
|
|
|
4773
|
-
|
|
4919
|
+
exports.__wbg_new_with_length_01aa0dc35aa13543 = function (arg0) {
|
|
4774
4920
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
4775
4921
|
return addHeapObject(ret);
|
|
4776
4922
|
};
|
|
4777
4923
|
|
|
4778
|
-
|
|
4924
|
+
exports.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function () {
|
|
4779
4925
|
return handleError(function (arg0, arg1, arg2) {
|
|
4780
4926
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
4781
4927
|
return addHeapObject(ret);
|
|
4782
4928
|
}, arguments);
|
|
4783
4929
|
};
|
|
4784
4930
|
|
|
4785
|
-
|
|
4931
|
+
exports.__wbg_new_with_u8_array_sequence_and_options_0c1d0bd56d93d25a = function () {
|
|
4786
4932
|
return handleError(function (arg0, arg1) {
|
|
4787
4933
|
const ret = new Blob(getObject(arg0), getObject(arg1));
|
|
4788
4934
|
return addHeapObject(ret);
|
|
4789
4935
|
}, arguments);
|
|
4790
4936
|
};
|
|
4791
4937
|
|
|
4792
|
-
|
|
4793
|
-
const ret = getObject(arg0).next;
|
|
4794
|
-
return addHeapObject(ret);
|
|
4795
|
-
};
|
|
4796
|
-
|
|
4797
|
-
module.exports.__wbg_next_6574e1a8a62d1055 = function () {
|
|
4938
|
+
exports.__wbg_next_020810e0ae8ebcb0 = function () {
|
|
4798
4939
|
return handleError(function (arg0) {
|
|
4799
4940
|
const ret = getObject(arg0).next();
|
|
4800
4941
|
return addHeapObject(ret);
|
|
4801
4942
|
}, arguments);
|
|
4802
4943
|
};
|
|
4803
4944
|
|
|
4804
|
-
|
|
4945
|
+
exports.__wbg_next_2c826fe5dfec6b6a = function (arg0) {
|
|
4946
|
+
const ret = getObject(arg0).next;
|
|
4947
|
+
return addHeapObject(ret);
|
|
4948
|
+
};
|
|
4949
|
+
|
|
4950
|
+
exports.__wbg_node_905d3e251edff8a2 = function (arg0) {
|
|
4805
4951
|
const ret = getObject(arg0).node;
|
|
4806
4952
|
return addHeapObject(ret);
|
|
4807
4953
|
};
|
|
4808
4954
|
|
|
4809
|
-
|
|
4955
|
+
exports.__wbg_now_f5ba683d8ce2c571 = function (arg0) {
|
|
4810
4956
|
const ret = getObject(arg0).now();
|
|
4811
4957
|
return ret;
|
|
4812
4958
|
};
|
|
4813
4959
|
|
|
4814
|
-
|
|
4960
|
+
exports.__wbg_open_9d8c51d122a5a6ea = function () {
|
|
4815
4961
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4816
4962
|
const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
4817
4963
|
return addHeapObject(ret);
|
|
4818
4964
|
}, arguments);
|
|
4819
4965
|
};
|
|
4820
4966
|
|
|
4821
|
-
|
|
4967
|
+
exports.__wbg_parse_2a704d6b78abb2b8 = function () {
|
|
4822
4968
|
return handleError(function (arg0, arg1) {
|
|
4823
4969
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
4824
4970
|
return addHeapObject(ret);
|
|
4825
4971
|
}, arguments);
|
|
4826
4972
|
};
|
|
4827
4973
|
|
|
4828
|
-
|
|
4974
|
+
exports.__wbg_preventDefault_1f362670ce7ef430 = function (arg0) {
|
|
4829
4975
|
getObject(arg0).preventDefault();
|
|
4830
4976
|
};
|
|
4831
4977
|
|
|
4832
|
-
|
|
4978
|
+
exports.__wbg_process_dc0fbacc7c1c06f7 = function (arg0) {
|
|
4833
4979
|
const ret = getObject(arg0).process;
|
|
4834
4980
|
return addHeapObject(ret);
|
|
4835
4981
|
};
|
|
4836
4982
|
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
return ret;
|
|
4983
|
+
exports.__wbg_prototypesetcall_2a6620b6922694b2 = function (arg0, arg1, arg2) {
|
|
4984
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
4840
4985
|
};
|
|
4841
4986
|
|
|
4842
|
-
|
|
4843
|
-
|
|
4987
|
+
exports.__wbg_push_df81a39d04db858c = function (arg0, arg1) {
|
|
4988
|
+
const ret = getObject(arg0).push(getObject(arg1));
|
|
4989
|
+
return ret;
|
|
4844
4990
|
};
|
|
4845
4991
|
|
|
4846
|
-
|
|
4992
|
+
exports.__wbg_queueMicrotask_34d692c25c47d05b = function (arg0) {
|
|
4847
4993
|
const ret = getObject(arg0).queueMicrotask;
|
|
4848
4994
|
return addHeapObject(ret);
|
|
4849
4995
|
};
|
|
4850
4996
|
|
|
4851
|
-
|
|
4997
|
+
exports.__wbg_queueMicrotask_9d76cacb20c84d58 = function (arg0) {
|
|
4998
|
+
queueMicrotask(getObject(arg0));
|
|
4999
|
+
};
|
|
5000
|
+
|
|
5001
|
+
exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
4852
5002
|
return handleError(function (arg0, arg1) {
|
|
4853
5003
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
4854
5004
|
}, arguments);
|
|
4855
5005
|
};
|
|
4856
5006
|
|
|
4857
|
-
|
|
5007
|
+
exports.__wbg_remove_33695adbdbc52a3e = function () {
|
|
4858
5008
|
return handleError(function (arg0, arg1, arg2) {
|
|
4859
5009
|
let deferred0_0;
|
|
4860
5010
|
let deferred0_1;
|
|
@@ -4869,7 +5019,7 @@ module.exports.__wbg_remove_4817686ccc51caea = function () {
|
|
|
4869
5019
|
}, arguments);
|
|
4870
5020
|
};
|
|
4871
5021
|
|
|
4872
|
-
|
|
5022
|
+
exports.__wbg_remove_dc431ea3d4bc3b57 = function () {
|
|
4873
5023
|
return handleError(function (arg0, arg1, arg2) {
|
|
4874
5024
|
let deferred0_0;
|
|
4875
5025
|
let deferred0_1;
|
|
@@ -4884,46 +5034,38 @@ module.exports.__wbg_remove_d197cb44124071d6 = function () {
|
|
|
4884
5034
|
}, arguments);
|
|
4885
5035
|
};
|
|
4886
5036
|
|
|
4887
|
-
|
|
5037
|
+
exports.__wbg_require_60cc747a6bc5215a = function () {
|
|
4888
5038
|
return handleError(function () {
|
|
4889
5039
|
const ret = module.require;
|
|
4890
5040
|
return addHeapObject(ret);
|
|
4891
5041
|
}, arguments);
|
|
4892
5042
|
};
|
|
4893
5043
|
|
|
4894
|
-
|
|
5044
|
+
exports.__wbg_resolve_caf97c30b83f7053 = function (arg0) {
|
|
4895
5045
|
const ret = Promise.resolve(getObject(arg0));
|
|
4896
5046
|
return addHeapObject(ret);
|
|
4897
5047
|
};
|
|
4898
5048
|
|
|
4899
|
-
|
|
5049
|
+
exports.__wbg_result_25e75004b82b9830 = function () {
|
|
4900
5050
|
return handleError(function (arg0) {
|
|
4901
5051
|
const ret = getObject(arg0).result;
|
|
4902
5052
|
return addHeapObject(ret);
|
|
4903
5053
|
}, arguments);
|
|
4904
5054
|
};
|
|
4905
5055
|
|
|
4906
|
-
|
|
5056
|
+
exports.__wbg_send_9b8fc6bb517867dd = function () {
|
|
4907
5057
|
return handleError(function (arg0, arg1) {
|
|
4908
5058
|
const ret = getObject(arg0).send(OutgoingMessage.__wrap(arg1));
|
|
4909
5059
|
return addHeapObject(ret);
|
|
4910
5060
|
}, arguments);
|
|
4911
5061
|
};
|
|
4912
5062
|
|
|
4913
|
-
|
|
5063
|
+
exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
4914
5064
|
const ret = setTimeout(getObject(arg0), arg1);
|
|
4915
5065
|
return addHeapObject(ret);
|
|
4916
5066
|
};
|
|
4917
5067
|
|
|
4918
|
-
|
|
4919
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
4920
|
-
};
|
|
4921
|
-
|
|
4922
|
-
module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
4923
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4924
|
-
};
|
|
4925
|
-
|
|
4926
|
-
module.exports.__wbg_set_595fa1ff8502ba96 = function () {
|
|
5068
|
+
exports.__wbg_set_33fa6c07f568d210 = function () {
|
|
4927
5069
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4928
5070
|
let deferred0_0;
|
|
4929
5071
|
let deferred0_1;
|
|
@@ -4938,11 +5080,11 @@ module.exports.__wbg_set_595fa1ff8502ba96 = function () {
|
|
|
4938
5080
|
}, arguments);
|
|
4939
5081
|
};
|
|
4940
5082
|
|
|
4941
|
-
|
|
4942
|
-
getObject(arg0)
|
|
5083
|
+
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5084
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4943
5085
|
};
|
|
4944
5086
|
|
|
4945
|
-
|
|
5087
|
+
exports.__wbg_set_9006732dd4d65e3c = function () {
|
|
4946
5088
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4947
5089
|
let deferred0_0;
|
|
4948
5090
|
let deferred0_1;
|
|
@@ -4957,32 +5099,36 @@ module.exports.__wbg_set_66f7f1ab8b1b0899 = function () {
|
|
|
4957
5099
|
}, arguments);
|
|
4958
5100
|
};
|
|
4959
5101
|
|
|
4960
|
-
|
|
5102
|
+
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
4961
5103
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4962
5104
|
return addHeapObject(ret);
|
|
4963
5105
|
};
|
|
4964
5106
|
|
|
4965
|
-
|
|
5107
|
+
exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
|
|
4966
5108
|
getObject(arg0).body = getObject(arg1);
|
|
4967
5109
|
};
|
|
4968
5110
|
|
|
4969
|
-
|
|
5111
|
+
exports.__wbg_set_c213c871859d6500 = function (arg0, arg1, arg2) {
|
|
5112
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5113
|
+
};
|
|
5114
|
+
|
|
5115
|
+
exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
|
|
4970
5116
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
4971
5117
|
};
|
|
4972
5118
|
|
|
4973
|
-
|
|
5119
|
+
exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
|
|
4974
5120
|
getObject(arg0).headers = getObject(arg1);
|
|
4975
5121
|
};
|
|
4976
5122
|
|
|
4977
|
-
|
|
5123
|
+
exports.__wbg_set_method_c02d8cbbe204ac2d = function (arg0, arg1, arg2) {
|
|
4978
5124
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
4979
5125
|
};
|
|
4980
5126
|
|
|
4981
|
-
|
|
5127
|
+
exports.__wbg_set_mode_52ef73cfa79639cb = function (arg0, arg1) {
|
|
4982
5128
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
4983
5129
|
};
|
|
4984
5130
|
|
|
4985
|
-
|
|
5131
|
+
exports.__wbg_set_name_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
|
|
4986
5132
|
let deferred0_0;
|
|
4987
5133
|
let deferred0_1;
|
|
4988
5134
|
try {
|
|
@@ -4994,27 +5140,27 @@ module.exports.__wbg_setname_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
|
|
|
4994
5140
|
}
|
|
4995
5141
|
};
|
|
4996
5142
|
|
|
4997
|
-
|
|
5143
|
+
exports.__wbg_set_onerror_dc82fea584ffccaa = function (arg0, arg1) {
|
|
4998
5144
|
getObject(arg0).onerror = getObject(arg1);
|
|
4999
5145
|
};
|
|
5000
5146
|
|
|
5001
|
-
|
|
5147
|
+
exports.__wbg_set_onsuccess_f367d002b462109e = function (arg0, arg1) {
|
|
5002
5148
|
getObject(arg0).onsuccess = getObject(arg1);
|
|
5003
5149
|
};
|
|
5004
5150
|
|
|
5005
|
-
|
|
5151
|
+
exports.__wbg_set_onupgradeneeded_0a519a73284a1418 = function (arg0, arg1) {
|
|
5006
5152
|
getObject(arg0).onupgradeneeded = getObject(arg1);
|
|
5007
5153
|
};
|
|
5008
5154
|
|
|
5009
|
-
|
|
5155
|
+
exports.__wbg_set_signal_dda2cf7ccb6bee0f = function (arg0, arg1) {
|
|
5010
5156
|
getObject(arg0).signal = getObject(arg1);
|
|
5011
5157
|
};
|
|
5012
5158
|
|
|
5013
|
-
|
|
5159
|
+
exports.__wbg_set_type_63fa4c18251f6545 = function (arg0, arg1, arg2) {
|
|
5014
5160
|
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
5015
5161
|
};
|
|
5016
5162
|
|
|
5017
|
-
|
|
5163
|
+
exports.__wbg_set_variant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
|
|
5018
5164
|
let deferred0_0;
|
|
5019
5165
|
let deferred0_1;
|
|
5020
5166
|
try {
|
|
@@ -5026,12 +5172,12 @@ module.exports.__wbg_setvariant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
|
|
|
5026
5172
|
}
|
|
5027
5173
|
};
|
|
5028
5174
|
|
|
5029
|
-
|
|
5175
|
+
exports.__wbg_signal_4db5aa055bf9eb9a = function (arg0) {
|
|
5030
5176
|
const ret = getObject(arg0).signal;
|
|
5031
5177
|
return addHeapObject(ret);
|
|
5032
5178
|
};
|
|
5033
5179
|
|
|
5034
|
-
|
|
5180
|
+
exports.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
|
5035
5181
|
const ret = getObject(arg1).stack;
|
|
5036
5182
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5037
5183
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -5039,76 +5185,76 @@ module.exports.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
|
|
5039
5185
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5040
5186
|
};
|
|
5041
5187
|
|
|
5042
|
-
|
|
5188
|
+
exports.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function () {
|
|
5043
5189
|
const ret = typeof global === "undefined" ? null : global;
|
|
5044
5190
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5045
5191
|
};
|
|
5046
5192
|
|
|
5047
|
-
|
|
5193
|
+
exports.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function () {
|
|
5048
5194
|
const ret = typeof globalThis === "undefined" ? null : globalThis;
|
|
5049
5195
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5050
5196
|
};
|
|
5051
5197
|
|
|
5052
|
-
|
|
5198
|
+
exports.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function () {
|
|
5053
5199
|
const ret = typeof self === "undefined" ? null : self;
|
|
5054
5200
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5055
5201
|
};
|
|
5056
5202
|
|
|
5057
|
-
|
|
5203
|
+
exports.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function () {
|
|
5058
5204
|
const ret = typeof window === "undefined" ? null : window;
|
|
5059
5205
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5060
5206
|
};
|
|
5061
5207
|
|
|
5062
|
-
|
|
5208
|
+
exports.__wbg_static_accessor_performance_da77b3a901a72934 = function () {
|
|
5063
5209
|
const ret = performance;
|
|
5064
5210
|
return addHeapObject(ret);
|
|
5065
5211
|
};
|
|
5066
5212
|
|
|
5067
|
-
|
|
5213
|
+
exports.__wbg_status_de7eed5a7a5bfd5d = function (arg0) {
|
|
5068
5214
|
const ret = getObject(arg0).status;
|
|
5069
5215
|
return ret;
|
|
5070
5216
|
};
|
|
5071
5217
|
|
|
5072
|
-
|
|
5218
|
+
exports.__wbg_stringify_b5fb28f6465d9c3e = function () {
|
|
5073
5219
|
return handleError(function (arg0) {
|
|
5074
5220
|
const ret = JSON.stringify(getObject(arg0));
|
|
5075
5221
|
return addHeapObject(ret);
|
|
5076
5222
|
}, arguments);
|
|
5077
5223
|
};
|
|
5078
5224
|
|
|
5079
|
-
|
|
5225
|
+
exports.__wbg_subarray_480600f3d6a9f26c = function (arg0, arg1, arg2) {
|
|
5080
5226
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
5081
5227
|
return addHeapObject(ret);
|
|
5082
5228
|
};
|
|
5083
5229
|
|
|
5084
|
-
|
|
5230
|
+
exports.__wbg_target_1447f5d3a6fa6fe0 = function (arg0) {
|
|
5085
5231
|
const ret = getObject(arg0).target;
|
|
5086
5232
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5087
5233
|
};
|
|
5088
5234
|
|
|
5089
|
-
|
|
5235
|
+
exports.__wbg_text_dc33c15c17bdfb52 = function () {
|
|
5090
5236
|
return handleError(function (arg0) {
|
|
5091
5237
|
const ret = getObject(arg0).text();
|
|
5092
5238
|
return addHeapObject(ret);
|
|
5093
5239
|
}, arguments);
|
|
5094
5240
|
};
|
|
5095
5241
|
|
|
5096
|
-
|
|
5242
|
+
exports.__wbg_then_4f46f6544e6b4a28 = function (arg0, arg1) {
|
|
5097
5243
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
5098
5244
|
return addHeapObject(ret);
|
|
5099
5245
|
};
|
|
5100
5246
|
|
|
5101
|
-
|
|
5247
|
+
exports.__wbg_then_70d05cf780a18d77 = function (arg0, arg1, arg2) {
|
|
5102
5248
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
5103
5249
|
return addHeapObject(ret);
|
|
5104
5250
|
};
|
|
5105
5251
|
|
|
5106
|
-
|
|
5252
|
+
exports.__wbg_transaction_9fb8349a0a81725c = function (arg0) {
|
|
5107
5253
|
const ret = getObject(arg0).transaction;
|
|
5108
5254
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5109
5255
|
};
|
|
5110
5256
|
|
|
5111
|
-
|
|
5257
|
+
exports.__wbg_url_b36d2a5008eb056f = function (arg0, arg1) {
|
|
5112
5258
|
const ret = getObject(arg1).url;
|
|
5113
5259
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5114
5260
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -5116,196 +5262,139 @@ module.exports.__wbg_url_ae10c34ca209681d = function (arg0, arg1) {
|
|
|
5116
5262
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5117
5263
|
};
|
|
5118
5264
|
|
|
5119
|
-
|
|
5265
|
+
exports.__wbg_value_692627309814bb8c = function (arg0) {
|
|
5120
5266
|
const ret = getObject(arg0).value;
|
|
5121
5267
|
return addHeapObject(ret);
|
|
5122
5268
|
};
|
|
5123
5269
|
|
|
5124
|
-
|
|
5270
|
+
exports.__wbg_versions_c01dfd4722a88165 = function (arg0) {
|
|
5125
5271
|
const ret = getObject(arg0).versions;
|
|
5126
5272
|
return addHeapObject(ret);
|
|
5127
5273
|
};
|
|
5128
5274
|
|
|
5129
|
-
|
|
5275
|
+
exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
5130
5276
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5131
5277
|
};
|
|
5132
5278
|
|
|
5133
|
-
|
|
5134
|
-
|
|
5279
|
+
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5280
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5281
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5135
5282
|
return addHeapObject(ret);
|
|
5136
5283
|
};
|
|
5137
5284
|
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
module.exports.__wbindgen_bigint_from_i64 = function (arg0) {
|
|
5148
|
-
const ret = arg0;
|
|
5285
|
+
exports.__wbindgen_cast_36265b4dca1d434b = function (arg0, arg1) {
|
|
5286
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5287
|
+
const ret = makeMutClosure(
|
|
5288
|
+
arg0,
|
|
5289
|
+
arg1,
|
|
5290
|
+
wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
|
|
5291
|
+
wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
|
|
5292
|
+
);
|
|
5149
5293
|
return addHeapObject(ret);
|
|
5150
5294
|
};
|
|
5151
5295
|
|
|
5152
|
-
|
|
5296
|
+
exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
|
|
5297
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
5153
5298
|
const ret = BigInt.asUintN(64, arg0);
|
|
5154
5299
|
return addHeapObject(ret);
|
|
5155
5300
|
};
|
|
5156
5301
|
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
};
|
|
5163
|
-
|
|
5164
|
-
module.exports.__wbindgen_boolean_get = function (arg0) {
|
|
5165
|
-
const v = getObject(arg0);
|
|
5166
|
-
const ret = typeof v === "boolean" ? (v ? 1 : 0) : 2;
|
|
5167
|
-
return ret;
|
|
5168
|
-
};
|
|
5169
|
-
|
|
5170
|
-
module.exports.__wbindgen_cb_drop = function (arg0) {
|
|
5171
|
-
const obj = takeObject(arg0).original;
|
|
5172
|
-
if (obj.cnt-- == 1) {
|
|
5173
|
-
obj.a = 0;
|
|
5174
|
-
return true;
|
|
5175
|
-
}
|
|
5176
|
-
const ret = false;
|
|
5177
|
-
return ret;
|
|
5178
|
-
};
|
|
5179
|
-
|
|
5180
|
-
module.exports.__wbindgen_closure_wrapper198 = function (arg0, arg1, arg2) {
|
|
5181
|
-
const ret = makeMutClosure(arg0, arg1, 7, __wbg_adapter_54);
|
|
5302
|
+
exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
5303
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5304
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5305
|
+
// Cast intrinsic for `Vector(NamedExternref("CipherRiskResult")) -> Externref`.
|
|
5306
|
+
const ret = v0;
|
|
5182
5307
|
return addHeapObject(ret);
|
|
5183
5308
|
};
|
|
5184
5309
|
|
|
5185
|
-
|
|
5186
|
-
|
|
5310
|
+
exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
5311
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5312
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5313
|
+
// Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
|
|
5314
|
+
const ret = v0;
|
|
5187
5315
|
return addHeapObject(ret);
|
|
5188
5316
|
};
|
|
5189
5317
|
|
|
5190
|
-
|
|
5191
|
-
|
|
5318
|
+
exports.__wbindgen_cast_91244c1b651c8ba8 = function (arg0, arg1) {
|
|
5319
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5320
|
+
const ret = makeMutClosure(
|
|
5321
|
+
arg0,
|
|
5322
|
+
arg1,
|
|
5323
|
+
wasm.wasm_bindgen__closure__destroy__h7a400a8c6869e00b,
|
|
5324
|
+
wasm_bindgen__convert__closures_____invoke__h142f80da75ccedf5,
|
|
5325
|
+
);
|
|
5192
5326
|
return addHeapObject(ret);
|
|
5193
5327
|
};
|
|
5194
5328
|
|
|
5195
|
-
|
|
5196
|
-
|
|
5329
|
+
exports.__wbindgen_cast_98de615b9dbdc064 = function (arg0, arg1) {
|
|
5330
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [Externref], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5331
|
+
const ret = makeMutClosure(
|
|
5332
|
+
arg0,
|
|
5333
|
+
arg1,
|
|
5334
|
+
wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
|
|
5335
|
+
wasm_bindgen__convert__closures_____invoke__h142f80da75ccedf5,
|
|
5336
|
+
);
|
|
5197
5337
|
return addHeapObject(ret);
|
|
5198
5338
|
};
|
|
5199
5339
|
|
|
5200
|
-
|
|
5201
|
-
|
|
5340
|
+
exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
5341
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
5342
|
+
const ret = arg0;
|
|
5202
5343
|
return addHeapObject(ret);
|
|
5203
5344
|
};
|
|
5204
5345
|
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
const
|
|
5208
|
-
const len1 = WASM_VECTOR_LEN;
|
|
5209
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5210
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5211
|
-
};
|
|
5212
|
-
|
|
5213
|
-
module.exports.__wbindgen_error_new = function (arg0, arg1) {
|
|
5214
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
5346
|
+
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5347
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5348
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5215
5349
|
return addHeapObject(ret);
|
|
5216
5350
|
};
|
|
5217
5351
|
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
module.exports.__wbindgen_is_bigint = function (arg0) {
|
|
5224
|
-
const ret = typeof getObject(arg0) === "bigint";
|
|
5225
|
-
return ret;
|
|
5226
|
-
};
|
|
5227
|
-
|
|
5228
|
-
module.exports.__wbindgen_is_function = function (arg0) {
|
|
5229
|
-
const ret = typeof getObject(arg0) === "function";
|
|
5230
|
-
return ret;
|
|
5231
|
-
};
|
|
5232
|
-
|
|
5233
|
-
module.exports.__wbindgen_is_object = function (arg0) {
|
|
5234
|
-
const val = getObject(arg0);
|
|
5235
|
-
const ret = typeof val === "object" && val !== null;
|
|
5236
|
-
return ret;
|
|
5237
|
-
};
|
|
5238
|
-
|
|
5239
|
-
module.exports.__wbindgen_is_string = function (arg0) {
|
|
5240
|
-
const ret = typeof getObject(arg0) === "string";
|
|
5241
|
-
return ret;
|
|
5242
|
-
};
|
|
5243
|
-
|
|
5244
|
-
module.exports.__wbindgen_is_undefined = function (arg0) {
|
|
5245
|
-
const ret = getObject(arg0) === undefined;
|
|
5246
|
-
return ret;
|
|
5247
|
-
};
|
|
5248
|
-
|
|
5249
|
-
module.exports.__wbindgen_jsval_eq = function (arg0, arg1) {
|
|
5250
|
-
const ret = getObject(arg0) === getObject(arg1);
|
|
5251
|
-
return ret;
|
|
5252
|
-
};
|
|
5253
|
-
|
|
5254
|
-
module.exports.__wbindgen_jsval_loose_eq = function (arg0, arg1) {
|
|
5255
|
-
const ret = getObject(arg0) == getObject(arg1);
|
|
5256
|
-
return ret;
|
|
5352
|
+
exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
5353
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
5354
|
+
const ret = arg0;
|
|
5355
|
+
return addHeapObject(ret);
|
|
5257
5356
|
};
|
|
5258
5357
|
|
|
5259
|
-
|
|
5260
|
-
|
|
5358
|
+
exports.__wbindgen_cast_e904f2c9fda6146b = function (arg0, arg1) {
|
|
5359
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5, function: Function { arguments: [NamedExternref("Event")], shim_idx: 8, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5360
|
+
const ret = makeMutClosure(
|
|
5361
|
+
arg0,
|
|
5362
|
+
arg1,
|
|
5363
|
+
wasm.wasm_bindgen__closure__destroy__h7a400a8c6869e00b,
|
|
5364
|
+
wasm_bindgen__convert__closures_____invoke__he84e41ce162f03b8,
|
|
5365
|
+
);
|
|
5261
5366
|
return addHeapObject(ret);
|
|
5262
5367
|
};
|
|
5263
5368
|
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5369
|
+
exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
|
|
5370
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5371
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5372
|
+
// Cast intrinsic for `Vector(NamedExternref("FolderView")) -> Externref`.
|
|
5373
|
+
const ret = v0;
|
|
5374
|
+
return addHeapObject(ret);
|
|
5269
5375
|
};
|
|
5270
5376
|
|
|
5271
|
-
|
|
5272
|
-
|
|
5377
|
+
exports.__wbindgen_cast_f31034722c398fdb = function (arg0, arg1) {
|
|
5378
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 520, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5379
|
+
const ret = makeMutClosure(
|
|
5380
|
+
arg0,
|
|
5381
|
+
arg1,
|
|
5382
|
+
wasm.wasm_bindgen__closure__destroy__h1cce7ce4a094839d,
|
|
5383
|
+
wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
|
|
5384
|
+
);
|
|
5273
5385
|
return addHeapObject(ret);
|
|
5274
5386
|
};
|
|
5275
5387
|
|
|
5276
|
-
|
|
5388
|
+
exports.__wbindgen_object_clone_ref = function (arg0) {
|
|
5277
5389
|
const ret = getObject(arg0);
|
|
5278
5390
|
return addHeapObject(ret);
|
|
5279
5391
|
};
|
|
5280
5392
|
|
|
5281
|
-
|
|
5393
|
+
exports.__wbindgen_object_drop_ref = function (arg0) {
|
|
5282
5394
|
takeObject(arg0);
|
|
5283
5395
|
};
|
|
5284
5396
|
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
? 0
|
|
5290
|
-
: passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5291
|
-
var len1 = WASM_VECTOR_LEN;
|
|
5292
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5293
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5294
|
-
};
|
|
5295
|
-
|
|
5296
|
-
module.exports.__wbindgen_string_new = function (arg0, arg1) {
|
|
5297
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5298
|
-
return addHeapObject(ret);
|
|
5299
|
-
};
|
|
5300
|
-
|
|
5301
|
-
module.exports.__wbindgen_throw = function (arg0, arg1) {
|
|
5302
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5303
|
-
};
|
|
5304
|
-
|
|
5305
|
-
const path = require("path").join(__dirname, "bitwarden_wasm_internal_bg.wasm");
|
|
5306
|
-
const bytes = require("fs").readFileSync(path);
|
|
5307
|
-
|
|
5308
|
-
const wasmModule = new WebAssembly.Module(bytes);
|
|
5309
|
-
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
5310
|
-
wasm = wasmInstance.exports;
|
|
5311
|
-
module.exports.__wasm = wasm;
|
|
5397
|
+
const wasmPath = `${__dirname}/bitwarden_wasm_internal_bg.wasm`;
|
|
5398
|
+
const wasmBytes = require("fs").readFileSync(wasmPath);
|
|
5399
|
+
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
5400
|
+
const wasm = (exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports);
|