@bitwarden/commercial-sdk-internal 0.2.0-main.373 → 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/bitwarden_wasm_internal.d.ts +26 -0
- package/bitwarden_wasm_internal_bg.js +518 -441
- 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 +26 -0
- package/node/bitwarden_wasm_internal.js +647 -551
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +14 -12
- 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,10 +865,22 @@ module.exports.isEncryptFileError = function (error) {
|
|
|
866
865
|
}
|
|
867
866
|
};
|
|
868
867
|
|
|
869
|
-
function
|
|
868
|
+
function wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009(arg0, arg1, arg2) {
|
|
869
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009(
|
|
870
|
+
arg0,
|
|
871
|
+
arg1,
|
|
872
|
+
addHeapObject(arg2),
|
|
873
|
+
);
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
function wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1) {
|
|
877
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1);
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
function wasm_bindgen__convert__closures_____invoke__hf869d8564f5adb52(arg0, arg1, arg2) {
|
|
870
881
|
try {
|
|
871
882
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
872
|
-
wasm.
|
|
883
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hf869d8564f5adb52(
|
|
873
884
|
retptr,
|
|
874
885
|
arg0,
|
|
875
886
|
arg1,
|
|
@@ -885,23 +896,8 @@ function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
|
885
896
|
}
|
|
886
897
|
}
|
|
887
898
|
|
|
888
|
-
function
|
|
889
|
-
wasm.
|
|
890
|
-
arg0,
|
|
891
|
-
arg1,
|
|
892
|
-
addHeapObject(arg2),
|
|
893
|
-
);
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
function __wbg_adapter_60(arg0, arg1) {
|
|
897
|
-
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d088d25aee734e6(
|
|
898
|
-
arg0,
|
|
899
|
-
arg1,
|
|
900
|
-
);
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
function __wbg_adapter_357(arg0, arg1, arg2, arg3) {
|
|
904
|
-
wasm.wasm_bindgen__convert__closures__invoke2_mut__h849ee2a9e4ae2f91(
|
|
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_357(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"
|
|
@@ -1342,7 +1342,9 @@ class BitwardenClient {
|
|
|
1342
1342
|
return ExporterClient.__wrap(ret);
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
|
-
|
|
1345
|
+
if (Symbol.dispose) BitwardenClient.prototype[Symbol.dispose] = BitwardenClient.prototype.free;
|
|
1346
|
+
|
|
1347
|
+
exports.BitwardenClient = BitwardenClient;
|
|
1346
1348
|
|
|
1347
1349
|
const CipherRiskClientFinalization =
|
|
1348
1350
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1425,7 +1427,9 @@ class CipherRiskClient {
|
|
|
1425
1427
|
return takeObject(ret);
|
|
1426
1428
|
}
|
|
1427
1429
|
}
|
|
1428
|
-
|
|
1430
|
+
if (Symbol.dispose) CipherRiskClient.prototype[Symbol.dispose] = CipherRiskClient.prototype.free;
|
|
1431
|
+
|
|
1432
|
+
exports.CipherRiskClient = CipherRiskClient;
|
|
1429
1433
|
|
|
1430
1434
|
const CiphersClientFinalization =
|
|
1431
1435
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1741,7 +1745,9 @@ class CiphersClient {
|
|
|
1741
1745
|
}
|
|
1742
1746
|
}
|
|
1743
1747
|
}
|
|
1744
|
-
|
|
1748
|
+
if (Symbol.dispose) CiphersClient.prototype[Symbol.dispose] = CiphersClient.prototype.free;
|
|
1749
|
+
|
|
1750
|
+
exports.CiphersClient = CiphersClient;
|
|
1745
1751
|
|
|
1746
1752
|
const CollectionViewNodeItemFinalization =
|
|
1747
1753
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1806,7 +1812,10 @@ class CollectionViewNodeItem {
|
|
|
1806
1812
|
return takeObject(ret);
|
|
1807
1813
|
}
|
|
1808
1814
|
}
|
|
1809
|
-
|
|
1815
|
+
if (Symbol.dispose)
|
|
1816
|
+
CollectionViewNodeItem.prototype[Symbol.dispose] = CollectionViewNodeItem.prototype.free;
|
|
1817
|
+
|
|
1818
|
+
exports.CollectionViewNodeItem = CollectionViewNodeItem;
|
|
1810
1819
|
|
|
1811
1820
|
const CollectionViewTreeFinalization =
|
|
1812
1821
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1877,7 +1886,10 @@ class CollectionViewTree {
|
|
|
1877
1886
|
}
|
|
1878
1887
|
}
|
|
1879
1888
|
}
|
|
1880
|
-
|
|
1889
|
+
if (Symbol.dispose)
|
|
1890
|
+
CollectionViewTree.prototype[Symbol.dispose] = CollectionViewTree.prototype.free;
|
|
1891
|
+
|
|
1892
|
+
exports.CollectionViewTree = CollectionViewTree;
|
|
1881
1893
|
|
|
1882
1894
|
const CollectionsClientFinalization =
|
|
1883
1895
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -1961,7 +1973,9 @@ class CollectionsClient {
|
|
|
1961
1973
|
return CollectionViewTree.__wrap(ret);
|
|
1962
1974
|
}
|
|
1963
1975
|
}
|
|
1964
|
-
|
|
1976
|
+
if (Symbol.dispose) CollectionsClient.prototype[Symbol.dispose] = CollectionsClient.prototype.free;
|
|
1977
|
+
|
|
1978
|
+
exports.CollectionsClient = CollectionsClient;
|
|
1965
1979
|
|
|
1966
1980
|
const CommercialPasswordManagerClientFinalization =
|
|
1967
1981
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2001,7 +2015,11 @@ class CommercialPasswordManagerClient {
|
|
|
2001
2015
|
return CommercialVaultClient.__wrap(ret);
|
|
2002
2016
|
}
|
|
2003
2017
|
}
|
|
2004
|
-
|
|
2018
|
+
if (Symbol.dispose)
|
|
2019
|
+
CommercialPasswordManagerClient.prototype[Symbol.dispose] =
|
|
2020
|
+
CommercialPasswordManagerClient.prototype.free;
|
|
2021
|
+
|
|
2022
|
+
exports.CommercialPasswordManagerClient = CommercialPasswordManagerClient;
|
|
2005
2023
|
|
|
2006
2024
|
const CommercialVaultClientFinalization =
|
|
2007
2025
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2029,7 +2047,10 @@ class CommercialVaultClient {
|
|
|
2029
2047
|
wasm.__wbg_commercialvaultclient_free(ptr, 0);
|
|
2030
2048
|
}
|
|
2031
2049
|
}
|
|
2032
|
-
|
|
2050
|
+
if (Symbol.dispose)
|
|
2051
|
+
CommercialVaultClient.prototype[Symbol.dispose] = CommercialVaultClient.prototype.free;
|
|
2052
|
+
|
|
2053
|
+
exports.CommercialVaultClient = CommercialVaultClient;
|
|
2033
2054
|
|
|
2034
2055
|
const CryptoClientFinalization =
|
|
2035
2056
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2273,7 +2294,9 @@ class CryptoClient {
|
|
|
2273
2294
|
}
|
|
2274
2295
|
}
|
|
2275
2296
|
}
|
|
2276
|
-
|
|
2297
|
+
if (Symbol.dispose) CryptoClient.prototype[Symbol.dispose] = CryptoClient.prototype.free;
|
|
2298
|
+
|
|
2299
|
+
exports.CryptoClient = CryptoClient;
|
|
2277
2300
|
|
|
2278
2301
|
const ExporterClientFinalization =
|
|
2279
2302
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2455,7 +2478,9 @@ class ExporterClient {
|
|
|
2455
2478
|
}
|
|
2456
2479
|
}
|
|
2457
2480
|
}
|
|
2458
|
-
|
|
2481
|
+
if (Symbol.dispose) ExporterClient.prototype[Symbol.dispose] = ExporterClient.prototype.free;
|
|
2482
|
+
|
|
2483
|
+
exports.ExporterClient = ExporterClient;
|
|
2459
2484
|
|
|
2460
2485
|
const FoldersClientFinalization =
|
|
2461
2486
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2590,7 +2615,9 @@ class FoldersClient {
|
|
|
2590
2615
|
return takeObject(ret);
|
|
2591
2616
|
}
|
|
2592
2617
|
}
|
|
2593
|
-
|
|
2618
|
+
if (Symbol.dispose) FoldersClient.prototype[Symbol.dispose] = FoldersClient.prototype.free;
|
|
2619
|
+
|
|
2620
|
+
exports.FoldersClient = FoldersClient;
|
|
2594
2621
|
|
|
2595
2622
|
const GeneratorClientFinalization =
|
|
2596
2623
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2722,7 +2749,9 @@ class GeneratorClient {
|
|
|
2722
2749
|
}
|
|
2723
2750
|
}
|
|
2724
2751
|
}
|
|
2725
|
-
|
|
2752
|
+
if (Symbol.dispose) GeneratorClient.prototype[Symbol.dispose] = GeneratorClient.prototype.free;
|
|
2753
|
+
|
|
2754
|
+
exports.GeneratorClient = GeneratorClient;
|
|
2726
2755
|
|
|
2727
2756
|
const IdentityClientFinalization =
|
|
2728
2757
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2752,7 +2781,9 @@ class IdentityClient {
|
|
|
2752
2781
|
wasm.__wbg_identityclient_free(ptr, 0);
|
|
2753
2782
|
}
|
|
2754
2783
|
}
|
|
2755
|
-
|
|
2784
|
+
if (Symbol.dispose) IdentityClient.prototype[Symbol.dispose] = IdentityClient.prototype.free;
|
|
2785
|
+
|
|
2786
|
+
exports.IdentityClient = IdentityClient;
|
|
2756
2787
|
|
|
2757
2788
|
const IncomingMessageFinalization =
|
|
2758
2789
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2892,7 +2923,9 @@ class IncomingMessage {
|
|
|
2892
2923
|
return takeObject(ret);
|
|
2893
2924
|
}
|
|
2894
2925
|
}
|
|
2895
|
-
|
|
2926
|
+
if (Symbol.dispose) IncomingMessage.prototype[Symbol.dispose] = IncomingMessage.prototype.free;
|
|
2927
|
+
|
|
2928
|
+
exports.IncomingMessage = IncomingMessage;
|
|
2896
2929
|
|
|
2897
2930
|
const IpcClientFinalization =
|
|
2898
2931
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2956,7 +2989,9 @@ class IpcClient {
|
|
|
2956
2989
|
return takeObject(ret);
|
|
2957
2990
|
}
|
|
2958
2991
|
}
|
|
2959
|
-
|
|
2992
|
+
if (Symbol.dispose) IpcClient.prototype[Symbol.dispose] = IpcClient.prototype.free;
|
|
2993
|
+
|
|
2994
|
+
exports.IpcClient = IpcClient;
|
|
2960
2995
|
|
|
2961
2996
|
const IpcClientSubscriptionFinalization =
|
|
2962
2997
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -2998,7 +3033,10 @@ class IpcClientSubscription {
|
|
|
2998
3033
|
return takeObject(ret);
|
|
2999
3034
|
}
|
|
3000
3035
|
}
|
|
3001
|
-
|
|
3036
|
+
if (Symbol.dispose)
|
|
3037
|
+
IpcClientSubscription.prototype[Symbol.dispose] = IpcClientSubscription.prototype.free;
|
|
3038
|
+
|
|
3039
|
+
exports.IpcClientSubscription = IpcClientSubscription;
|
|
3002
3040
|
|
|
3003
3041
|
const IpcCommunicationBackendFinalization =
|
|
3004
3042
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3049,7 +3087,10 @@ class IpcCommunicationBackend {
|
|
|
3049
3087
|
}
|
|
3050
3088
|
}
|
|
3051
3089
|
}
|
|
3052
|
-
|
|
3090
|
+
if (Symbol.dispose)
|
|
3091
|
+
IpcCommunicationBackend.prototype[Symbol.dispose] = IpcCommunicationBackend.prototype.free;
|
|
3092
|
+
|
|
3093
|
+
exports.IpcCommunicationBackend = IpcCommunicationBackend;
|
|
3053
3094
|
|
|
3054
3095
|
const OutgoingMessageFinalization =
|
|
3055
3096
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3192,7 +3233,9 @@ class OutgoingMessage {
|
|
|
3192
3233
|
}
|
|
3193
3234
|
}
|
|
3194
3235
|
}
|
|
3195
|
-
|
|
3236
|
+
if (Symbol.dispose) OutgoingMessage.prototype[Symbol.dispose] = OutgoingMessage.prototype.free;
|
|
3237
|
+
|
|
3238
|
+
exports.OutgoingMessage = OutgoingMessage;
|
|
3196
3239
|
|
|
3197
3240
|
const PlatformClientFinalization =
|
|
3198
3241
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -3244,7 +3287,9 @@ class PlatformClient {
|
|
|
3244
3287
|
}
|
|
3245
3288
|
}
|
|
3246
3289
|
}
|
|
3247
|
-
|
|
3290
|
+
if (Symbol.dispose) PlatformClient.prototype[Symbol.dispose] = PlatformClient.prototype.free;
|
|
3291
|
+
|
|
3292
|
+
exports.PlatformClient = PlatformClient;
|
|
3248
3293
|
|
|
3249
3294
|
const PureCryptoFinalization =
|
|
3250
3295
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4060,7 +4105,9 @@ class PureCrypto {
|
|
|
4060
4105
|
}
|
|
4061
4106
|
}
|
|
4062
4107
|
}
|
|
4063
|
-
|
|
4108
|
+
if (Symbol.dispose) PureCrypto.prototype[Symbol.dispose] = PureCrypto.prototype.free;
|
|
4109
|
+
|
|
4110
|
+
exports.PureCrypto = PureCrypto;
|
|
4064
4111
|
|
|
4065
4112
|
const SendAccessClientFinalization =
|
|
4066
4113
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4102,7 +4149,9 @@ class SendAccessClient {
|
|
|
4102
4149
|
return takeObject(ret);
|
|
4103
4150
|
}
|
|
4104
4151
|
}
|
|
4105
|
-
|
|
4152
|
+
if (Symbol.dispose) SendAccessClient.prototype[Symbol.dispose] = SendAccessClient.prototype.free;
|
|
4153
|
+
|
|
4154
|
+
exports.SendAccessClient = SendAccessClient;
|
|
4106
4155
|
|
|
4107
4156
|
const StateClientFinalization =
|
|
4108
4157
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4160,7 +4209,9 @@ class StateClient {
|
|
|
4160
4209
|
return takeObject(ret);
|
|
4161
4210
|
}
|
|
4162
4211
|
}
|
|
4163
|
-
|
|
4212
|
+
if (Symbol.dispose) StateClient.prototype[Symbol.dispose] = StateClient.prototype.free;
|
|
4213
|
+
|
|
4214
|
+
exports.StateClient = StateClient;
|
|
4164
4215
|
|
|
4165
4216
|
const TotpClientFinalization =
|
|
4166
4217
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4225,7 +4276,9 @@ class TotpClient {
|
|
|
4225
4276
|
}
|
|
4226
4277
|
}
|
|
4227
4278
|
}
|
|
4228
|
-
|
|
4279
|
+
if (Symbol.dispose) TotpClient.prototype[Symbol.dispose] = TotpClient.prototype.free;
|
|
4280
|
+
|
|
4281
|
+
exports.TotpClient = TotpClient;
|
|
4229
4282
|
|
|
4230
4283
|
const VaultClientFinalization =
|
|
4231
4284
|
typeof FinalizationRegistry === "undefined"
|
|
@@ -4301,9 +4354,21 @@ class VaultClient {
|
|
|
4301
4354
|
return CipherRiskClient.__wrap(ret);
|
|
4302
4355
|
}
|
|
4303
4356
|
}
|
|
4304
|
-
|
|
4357
|
+
if (Symbol.dispose) VaultClient.prototype[Symbol.dispose] = VaultClient.prototype.free;
|
|
4305
4358
|
|
|
4306
|
-
|
|
4359
|
+
exports.VaultClient = VaultClient;
|
|
4360
|
+
|
|
4361
|
+
exports.__wbg_Error_e83987f665cf5504 = function (arg0, arg1) {
|
|
4362
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
4363
|
+
return addHeapObject(ret);
|
|
4364
|
+
};
|
|
4365
|
+
|
|
4366
|
+
exports.__wbg_Number_bb48ca12f395cd08 = function (arg0) {
|
|
4367
|
+
const ret = Number(getObject(arg0));
|
|
4368
|
+
return ret;
|
|
4369
|
+
};
|
|
4370
|
+
|
|
4371
|
+
exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
4307
4372
|
const ret = String(getObject(arg1));
|
|
4308
4373
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4309
4374
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4311,37 +4376,119 @@ module.exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
|
4311
4376
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4312
4377
|
};
|
|
4313
4378
|
|
|
4314
|
-
|
|
4315
|
-
getObject(
|
|
4379
|
+
exports.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function (arg0, arg1) {
|
|
4380
|
+
const v = getObject(arg1);
|
|
4381
|
+
const ret = typeof v === "bigint" ? v : undefined;
|
|
4382
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
4383
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4316
4384
|
};
|
|
4317
4385
|
|
|
4318
|
-
|
|
4319
|
-
getObject(arg0)
|
|
4386
|
+
exports.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function (arg0) {
|
|
4387
|
+
const v = getObject(arg0);
|
|
4388
|
+
const ret = typeof v === "boolean" ? v : undefined;
|
|
4389
|
+
return isLikeNone(ret) ? 0xffffff : ret ? 1 : 0;
|
|
4320
4390
|
};
|
|
4321
4391
|
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4392
|
+
exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function (arg0, arg1) {
|
|
4393
|
+
const ret = debugString(getObject(arg1));
|
|
4394
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4395
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4396
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4397
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4326
4398
|
};
|
|
4327
4399
|
|
|
4328
|
-
|
|
4329
|
-
getObject(arg0)
|
|
4400
|
+
exports.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function (arg0, arg1) {
|
|
4401
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
4402
|
+
return ret;
|
|
4330
4403
|
};
|
|
4331
4404
|
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
}, arguments);
|
|
4405
|
+
exports.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function (arg0) {
|
|
4406
|
+
const ret = typeof getObject(arg0) === "bigint";
|
|
4407
|
+
return ret;
|
|
4336
4408
|
};
|
|
4337
4409
|
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4410
|
+
exports.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function (arg0) {
|
|
4411
|
+
const ret = typeof getObject(arg0) === "function";
|
|
4412
|
+
return ret;
|
|
4413
|
+
};
|
|
4414
|
+
|
|
4415
|
+
exports.__wbg___wbindgen_is_object_c818261d21f283a4 = function (arg0) {
|
|
4416
|
+
const val = getObject(arg0);
|
|
4417
|
+
const ret = typeof val === "object" && val !== null;
|
|
4418
|
+
return ret;
|
|
4419
|
+
};
|
|
4420
|
+
|
|
4421
|
+
exports.__wbg___wbindgen_is_string_fbb76cb2940daafd = function (arg0) {
|
|
4422
|
+
const ret = typeof getObject(arg0) === "string";
|
|
4423
|
+
return ret;
|
|
4424
|
+
};
|
|
4425
|
+
|
|
4426
|
+
exports.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function (arg0) {
|
|
4427
|
+
const ret = getObject(arg0) === undefined;
|
|
4428
|
+
return ret;
|
|
4429
|
+
};
|
|
4430
|
+
|
|
4431
|
+
exports.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function (arg0, arg1) {
|
|
4432
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
4433
|
+
return ret;
|
|
4434
|
+
};
|
|
4435
|
+
|
|
4436
|
+
exports.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function (arg0, arg1) {
|
|
4437
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
4438
|
+
return ret;
|
|
4439
|
+
};
|
|
4440
|
+
|
|
4441
|
+
exports.__wbg___wbindgen_number_get_a20bf9b85341449d = function (arg0, arg1) {
|
|
4442
|
+
const obj = getObject(arg1);
|
|
4443
|
+
const ret = typeof obj === "number" ? obj : undefined;
|
|
4444
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
4445
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4446
|
+
};
|
|
4447
|
+
|
|
4448
|
+
exports.__wbg___wbindgen_string_get_e4f06c90489ad01b = function (arg0, arg1) {
|
|
4449
|
+
const obj = getObject(arg1);
|
|
4450
|
+
const ret = typeof obj === "string" ? obj : undefined;
|
|
4451
|
+
var ptr1 = isLikeNone(ret)
|
|
4452
|
+
? 0
|
|
4453
|
+
: passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4454
|
+
var len1 = WASM_VECTOR_LEN;
|
|
4455
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4456
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4457
|
+
};
|
|
4458
|
+
|
|
4459
|
+
exports.__wbg___wbindgen_throw_b855445ff6a94295 = function (arg0, arg1) {
|
|
4460
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
4461
|
+
};
|
|
4462
|
+
|
|
4463
|
+
exports.__wbg__wbg_cb_unref_2454a539ea5790d9 = function (arg0) {
|
|
4464
|
+
getObject(arg0)._wbg_cb_unref();
|
|
4465
|
+
};
|
|
4466
|
+
|
|
4467
|
+
exports.__wbg_abort_28ad55c5825b004d = function (arg0, arg1) {
|
|
4468
|
+
getObject(arg0).abort(getObject(arg1));
|
|
4469
|
+
};
|
|
4470
|
+
|
|
4471
|
+
exports.__wbg_abort_3b256cd5ad0ac232 = function () {
|
|
4472
|
+
return handleError(function (arg0) {
|
|
4473
|
+
getObject(arg0).abort();
|
|
4474
|
+
}, arguments);
|
|
4475
|
+
};
|
|
4476
|
+
|
|
4477
|
+
exports.__wbg_abort_e7eb059f72f9ed0c = function (arg0) {
|
|
4478
|
+
getObject(arg0).abort();
|
|
4479
|
+
};
|
|
4480
|
+
|
|
4481
|
+
exports.__wbg_addEventListener_dc3da056b615f634 = function (arg0, arg1, arg2, arg3) {
|
|
4482
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4483
|
+
};
|
|
4484
|
+
|
|
4485
|
+
exports.__wbg_append_45ddba58b0706f62 = function () {
|
|
4486
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4487
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
4341
4488
|
}, arguments);
|
|
4342
4489
|
};
|
|
4343
4490
|
|
|
4344
|
-
|
|
4491
|
+
exports.__wbg_append_892c5e2d5bdd60ac = function () {
|
|
4345
4492
|
return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4346
4493
|
getObject(arg0).append(
|
|
4347
4494
|
getStringFromWasm0(arg1, arg2),
|
|
@@ -4351,86 +4498,94 @@ module.exports.__wbg_append_b2d1fc16de2a0e81 = function () {
|
|
|
4351
4498
|
}, arguments);
|
|
4352
4499
|
};
|
|
4353
4500
|
|
|
4354
|
-
|
|
4501
|
+
exports.__wbg_append_b577eb3a177bc0fa = function () {
|
|
4502
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4503
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
4504
|
+
}, arguments);
|
|
4505
|
+
};
|
|
4506
|
+
|
|
4507
|
+
exports.__wbg_append_cb0bba4cf263a60b = function () {
|
|
4355
4508
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4356
4509
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4357
4510
|
}, arguments);
|
|
4358
4511
|
};
|
|
4359
4512
|
|
|
4360
|
-
|
|
4513
|
+
exports.__wbg_arrayBuffer_b375eccb84b4ddf3 = function () {
|
|
4361
4514
|
return handleError(function (arg0) {
|
|
4362
4515
|
const ret = getObject(arg0).arrayBuffer();
|
|
4363
4516
|
return addHeapObject(ret);
|
|
4364
4517
|
}, arguments);
|
|
4365
4518
|
};
|
|
4366
4519
|
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
};
|
|
4371
|
-
|
|
4372
|
-
module.exports.__wbg_call_672a4d21634d4a24 = function () {
|
|
4373
|
-
return handleError(function (arg0, arg1) {
|
|
4374
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
4520
|
+
exports.__wbg_call_525440f72fbfc0ea = function () {
|
|
4521
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
4522
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
4375
4523
|
return addHeapObject(ret);
|
|
4376
4524
|
}, arguments);
|
|
4377
4525
|
};
|
|
4378
4526
|
|
|
4379
|
-
|
|
4380
|
-
return handleError(function (arg0, arg1
|
|
4381
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
4527
|
+
exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
4528
|
+
return handleError(function (arg0, arg1) {
|
|
4529
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
4382
4530
|
return addHeapObject(ret);
|
|
4383
4531
|
}, arguments);
|
|
4384
4532
|
};
|
|
4385
4533
|
|
|
4386
|
-
|
|
4534
|
+
exports.__wbg_cipher_90da44fade4d7231 = function (arg0) {
|
|
4387
4535
|
const ret = getObject(arg0).cipher;
|
|
4388
4536
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4389
4537
|
};
|
|
4390
4538
|
|
|
4391
|
-
|
|
4539
|
+
exports.__wbg_clearTimeout_b1115618e821c3b2 = function (arg0) {
|
|
4392
4540
|
const ret = clearTimeout(takeObject(arg0));
|
|
4393
4541
|
return addHeapObject(ret);
|
|
4394
4542
|
};
|
|
4395
4543
|
|
|
4396
|
-
|
|
4544
|
+
exports.__wbg_collectionviewnodeitem_new = function (arg0) {
|
|
4397
4545
|
const ret = CollectionViewNodeItem.__wrap(arg0);
|
|
4398
4546
|
return addHeapObject(ret);
|
|
4399
4547
|
};
|
|
4400
4548
|
|
|
4401
|
-
|
|
4549
|
+
exports.__wbg_createObjectStore_283a43a822bf49ca = function () {
|
|
4402
4550
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4403
4551
|
const ret = getObject(arg0).createObjectStore(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4404
4552
|
return addHeapObject(ret);
|
|
4405
4553
|
}, arguments);
|
|
4406
4554
|
};
|
|
4407
4555
|
|
|
4408
|
-
|
|
4556
|
+
exports.__wbg_crypto_574e78ad8b13b65f = function (arg0) {
|
|
4409
4557
|
const ret = getObject(arg0).crypto;
|
|
4410
4558
|
return addHeapObject(ret);
|
|
4411
4559
|
};
|
|
4412
4560
|
|
|
4413
|
-
|
|
4561
|
+
exports.__wbg_debug_e55e1461940eb14d = function (arg0, arg1, arg2, arg3) {
|
|
4414
4562
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4415
4563
|
};
|
|
4416
4564
|
|
|
4417
|
-
|
|
4565
|
+
exports.__wbg_deleteObjectStore_444a266b213fafcf = function () {
|
|
4418
4566
|
return handleError(function (arg0, arg1, arg2) {
|
|
4419
4567
|
getObject(arg0).deleteObjectStore(getStringFromWasm0(arg1, arg2));
|
|
4420
4568
|
}, arguments);
|
|
4421
4569
|
};
|
|
4422
4570
|
|
|
4423
|
-
|
|
4571
|
+
exports.__wbg_done_2042aa2670fb1db1 = function (arg0) {
|
|
4424
4572
|
const ret = getObject(arg0).done;
|
|
4425
4573
|
return ret;
|
|
4426
4574
|
};
|
|
4427
4575
|
|
|
4428
|
-
|
|
4576
|
+
exports.__wbg_entries_e171b586f8f6bdbf = function (arg0) {
|
|
4429
4577
|
const ret = Object.entries(getObject(arg0));
|
|
4430
4578
|
return addHeapObject(ret);
|
|
4431
4579
|
};
|
|
4432
4580
|
|
|
4433
|
-
|
|
4581
|
+
exports.__wbg_error_3e929987fcd3e155 = function () {
|
|
4582
|
+
return handleError(function (arg0) {
|
|
4583
|
+
const ret = getObject(arg0).error;
|
|
4584
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4585
|
+
}, arguments);
|
|
4586
|
+
};
|
|
4587
|
+
|
|
4588
|
+
exports.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
4434
4589
|
let deferred0_0;
|
|
4435
4590
|
let deferred0_1;
|
|
4436
4591
|
try {
|
|
@@ -4442,55 +4597,53 @@ module.exports.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
|
4442
4597
|
}
|
|
4443
4598
|
};
|
|
4444
4599
|
|
|
4445
|
-
|
|
4600
|
+
exports.__wbg_error_d8b22cf4e59a6791 = function (arg0, arg1, arg2, arg3) {
|
|
4446
4601
|
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4447
4602
|
};
|
|
4448
4603
|
|
|
4449
|
-
|
|
4450
|
-
return handleError(function (arg0) {
|
|
4451
|
-
const ret = getObject(arg0).error;
|
|
4452
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4453
|
-
}, arguments);
|
|
4454
|
-
};
|
|
4455
|
-
|
|
4456
|
-
module.exports.__wbg_fetch_3afbdcc7ddbf16fe = function (arg0) {
|
|
4604
|
+
exports.__wbg_fetch_3afbdcc7ddbf16fe = function (arg0) {
|
|
4457
4605
|
const ret = fetch(getObject(arg0));
|
|
4458
4606
|
return addHeapObject(ret);
|
|
4459
4607
|
};
|
|
4460
4608
|
|
|
4461
|
-
|
|
4609
|
+
exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
4462
4610
|
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
4463
4611
|
return addHeapObject(ret);
|
|
4464
4612
|
};
|
|
4465
4613
|
|
|
4466
|
-
|
|
4614
|
+
exports.__wbg_folder_1f9f19453de069bd = function (arg0) {
|
|
4467
4615
|
const ret = getObject(arg0).folder;
|
|
4468
4616
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4469
4617
|
};
|
|
4470
4618
|
|
|
4471
|
-
|
|
4619
|
+
exports.__wbg_getFullYear_8240d5a15191feae = function (arg0) {
|
|
4472
4620
|
const ret = getObject(arg0).getFullYear();
|
|
4473
4621
|
return ret;
|
|
4474
4622
|
};
|
|
4475
4623
|
|
|
4476
|
-
|
|
4624
|
+
exports.__wbg_getRandomValues_38097e921c2494c3 = function () {
|
|
4477
4625
|
return handleError(function (arg0, arg1) {
|
|
4478
4626
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
4479
4627
|
}, arguments);
|
|
4480
4628
|
};
|
|
4481
4629
|
|
|
4482
|
-
|
|
4630
|
+
exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function () {
|
|
4483
4631
|
return handleError(function (arg0, arg1) {
|
|
4484
4632
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
4485
4633
|
}, arguments);
|
|
4486
4634
|
};
|
|
4487
4635
|
|
|
4488
|
-
|
|
4636
|
+
exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
4489
4637
|
const ret = getObject(arg0).getTime();
|
|
4490
4638
|
return ret;
|
|
4491
4639
|
};
|
|
4492
4640
|
|
|
4493
|
-
|
|
4641
|
+
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4642
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4643
|
+
return addHeapObject(ret);
|
|
4644
|
+
};
|
|
4645
|
+
|
|
4646
|
+
exports.__wbg_get_905bbb36d78e816c = function () {
|
|
4494
4647
|
return handleError(function (arg0, arg1, arg2) {
|
|
4495
4648
|
let deferred0_0;
|
|
4496
4649
|
let deferred0_1;
|
|
@@ -4505,14 +4658,12 @@ module.exports.__wbg_get_669deafd63743335 = function () {
|
|
|
4505
4658
|
}, arguments);
|
|
4506
4659
|
};
|
|
4507
4660
|
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
return addHeapObject(ret);
|
|
4512
|
-
}, arguments);
|
|
4661
|
+
exports.__wbg_get_access_token_fb7908159e830dff = function (arg0) {
|
|
4662
|
+
const ret = getObject(arg0).get_access_token();
|
|
4663
|
+
return addHeapObject(ret);
|
|
4513
4664
|
};
|
|
4514
4665
|
|
|
4515
|
-
|
|
4666
|
+
exports.__wbg_get_eb8ca7ea2e1397a3 = function () {
|
|
4516
4667
|
return handleError(function (arg0, arg1, arg2) {
|
|
4517
4668
|
let deferred0_0;
|
|
4518
4669
|
let deferred0_1;
|
|
@@ -4527,57 +4678,54 @@ module.exports.__wbg_get_ab004b7c5fd98da4 = function () {
|
|
|
4527
4678
|
}, arguments);
|
|
4528
4679
|
};
|
|
4529
4680
|
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
module.exports.__wbg_getaccesstoken_005ebb39d33faf4d = function (arg0) {
|
|
4536
|
-
const ret = getObject(arg0).get_access_token();
|
|
4537
|
-
return addHeapObject(ret);
|
|
4681
|
+
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4682
|
+
return handleError(function (arg0, arg1) {
|
|
4683
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4684
|
+
return addHeapObject(ret);
|
|
4685
|
+
}, arguments);
|
|
4538
4686
|
};
|
|
4539
4687
|
|
|
4540
|
-
|
|
4688
|
+
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function (arg0, arg1) {
|
|
4541
4689
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
4542
4690
|
return addHeapObject(ret);
|
|
4543
4691
|
};
|
|
4544
4692
|
|
|
4545
|
-
|
|
4693
|
+
exports.__wbg_has_787fafc980c3ccdb = function () {
|
|
4546
4694
|
return handleError(function (arg0, arg1) {
|
|
4547
4695
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
4548
4696
|
return ret;
|
|
4549
4697
|
}, arguments);
|
|
4550
4698
|
};
|
|
4551
4699
|
|
|
4552
|
-
|
|
4700
|
+
exports.__wbg_headers_b87d7eaba61c3278 = function (arg0) {
|
|
4553
4701
|
const ret = getObject(arg0).headers;
|
|
4554
4702
|
return addHeapObject(ret);
|
|
4555
4703
|
};
|
|
4556
4704
|
|
|
4557
|
-
|
|
4705
|
+
exports.__wbg_incomingmessage_new = function (arg0) {
|
|
4558
4706
|
const ret = IncomingMessage.__wrap(arg0);
|
|
4559
4707
|
return addHeapObject(ret);
|
|
4560
4708
|
};
|
|
4561
4709
|
|
|
4562
|
-
|
|
4710
|
+
exports.__wbg_indexedDB_62bfbbd55ec74b14 = function () {
|
|
4563
4711
|
return handleError(function (arg0) {
|
|
4564
4712
|
const ret = getObject(arg0).indexedDB;
|
|
4565
4713
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4566
4714
|
}, arguments);
|
|
4567
4715
|
};
|
|
4568
4716
|
|
|
4569
|
-
|
|
4717
|
+
exports.__wbg_indexedDB_8b464318fe56681e = function () {
|
|
4570
4718
|
return handleError(function (arg0) {
|
|
4571
4719
|
const ret = getObject(arg0).indexedDB;
|
|
4572
4720
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4573
4721
|
}, arguments);
|
|
4574
4722
|
};
|
|
4575
4723
|
|
|
4576
|
-
|
|
4724
|
+
exports.__wbg_info_68cd5b51ef7e5137 = function (arg0, arg1, arg2, arg3) {
|
|
4577
4725
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4578
4726
|
};
|
|
4579
4727
|
|
|
4580
|
-
|
|
4728
|
+
exports.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function (arg0) {
|
|
4581
4729
|
let result;
|
|
4582
4730
|
try {
|
|
4583
4731
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -4588,7 +4736,7 @@ module.exports.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function (arg0) {
|
|
|
4588
4736
|
return ret;
|
|
4589
4737
|
};
|
|
4590
4738
|
|
|
4591
|
-
|
|
4739
|
+
exports.__wbg_instanceof_DomException_83b15e7b042a0b1a = function (arg0) {
|
|
4592
4740
|
let result;
|
|
4593
4741
|
try {
|
|
4594
4742
|
result = getObject(arg0) instanceof DOMException;
|
|
@@ -4599,7 +4747,7 @@ module.exports.__wbg_instanceof_DomException_ed1ccb7aaf39034c = function (arg0)
|
|
|
4599
4747
|
return ret;
|
|
4600
4748
|
};
|
|
4601
4749
|
|
|
4602
|
-
|
|
4750
|
+
exports.__wbg_instanceof_IdbDatabase_fcf75ffeeec3ec8c = function (arg0) {
|
|
4603
4751
|
let result;
|
|
4604
4752
|
try {
|
|
4605
4753
|
result = getObject(arg0) instanceof IDBDatabase;
|
|
@@ -4610,7 +4758,7 @@ module.exports.__wbg_instanceof_IdbDatabase_a3ef009ca00059f9 = function (arg0) {
|
|
|
4610
4758
|
return ret;
|
|
4611
4759
|
};
|
|
4612
4760
|
|
|
4613
|
-
|
|
4761
|
+
exports.__wbg_instanceof_IdbOpenDbRequest_08e4929084e51476 = function (arg0) {
|
|
4614
4762
|
let result;
|
|
4615
4763
|
try {
|
|
4616
4764
|
result = getObject(arg0) instanceof IDBOpenDBRequest;
|
|
@@ -4621,7 +4769,7 @@ module.exports.__wbg_instanceof_IdbOpenDbRequest_a3416e156c9db893 = function (ar
|
|
|
4621
4769
|
return ret;
|
|
4622
4770
|
};
|
|
4623
4771
|
|
|
4624
|
-
|
|
4772
|
+
exports.__wbg_instanceof_IdbRequest_26754883a3cc8f81 = function (arg0) {
|
|
4625
4773
|
let result;
|
|
4626
4774
|
try {
|
|
4627
4775
|
result = getObject(arg0) instanceof IDBRequest;
|
|
@@ -4632,7 +4780,7 @@ module.exports.__wbg_instanceof_IdbRequest_4813c3f207666aa4 = function (arg0) {
|
|
|
4632
4780
|
return ret;
|
|
4633
4781
|
};
|
|
4634
4782
|
|
|
4635
|
-
|
|
4783
|
+
exports.__wbg_instanceof_Map_8579b5e2ab5437c7 = function (arg0) {
|
|
4636
4784
|
let result;
|
|
4637
4785
|
try {
|
|
4638
4786
|
result = getObject(arg0) instanceof Map;
|
|
@@ -4643,7 +4791,7 @@ module.exports.__wbg_instanceof_Map_f3469ce2244d2430 = function (arg0) {
|
|
|
4643
4791
|
return ret;
|
|
4644
4792
|
};
|
|
4645
4793
|
|
|
4646
|
-
|
|
4794
|
+
exports.__wbg_instanceof_Response_f4f3e87e07f3135c = function (arg0) {
|
|
4647
4795
|
let result;
|
|
4648
4796
|
try {
|
|
4649
4797
|
result = getObject(arg0) instanceof Response;
|
|
@@ -4654,7 +4802,7 @@ module.exports.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function (arg0) {
|
|
|
4654
4802
|
return ret;
|
|
4655
4803
|
};
|
|
4656
4804
|
|
|
4657
|
-
|
|
4805
|
+
exports.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function (arg0) {
|
|
4658
4806
|
let result;
|
|
4659
4807
|
try {
|
|
4660
4808
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -4665,7 +4813,7 @@ module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function (arg0) {
|
|
|
4665
4813
|
return ret;
|
|
4666
4814
|
};
|
|
4667
4815
|
|
|
4668
|
-
|
|
4816
|
+
exports.__wbg_instanceof_Window_4846dbb3de56c84c = function (arg0) {
|
|
4669
4817
|
let result;
|
|
4670
4818
|
try {
|
|
4671
4819
|
result = getObject(arg0) instanceof Window;
|
|
@@ -4676,7 +4824,7 @@ module.exports.__wbg_instanceof_Window_def73ea0955fc569 = function (arg0) {
|
|
|
4676
4824
|
return ret;
|
|
4677
4825
|
};
|
|
4678
4826
|
|
|
4679
|
-
|
|
4827
|
+
exports.__wbg_instanceof_WorkerGlobalScope_e31f49b6d33fcadd = function (arg0) {
|
|
4680
4828
|
let result;
|
|
4681
4829
|
try {
|
|
4682
4830
|
result = getObject(arg0) instanceof WorkerGlobalScope;
|
|
@@ -4687,60 +4835,60 @@ module.exports.__wbg_instanceof_WorkerGlobalScope_dbdbdea7e3b56493 = function (a
|
|
|
4687
4835
|
return ret;
|
|
4688
4836
|
};
|
|
4689
4837
|
|
|
4690
|
-
|
|
4838
|
+
exports.__wbg_ipcclientsubscription_new = function (arg0) {
|
|
4691
4839
|
const ret = IpcClientSubscription.__wrap(arg0);
|
|
4692
4840
|
return addHeapObject(ret);
|
|
4693
4841
|
};
|
|
4694
4842
|
|
|
4695
|
-
|
|
4843
|
+
exports.__wbg_isArray_96e0af9891d0945d = function (arg0) {
|
|
4696
4844
|
const ret = Array.isArray(getObject(arg0));
|
|
4697
4845
|
return ret;
|
|
4698
4846
|
};
|
|
4699
4847
|
|
|
4700
|
-
|
|
4848
|
+
exports.__wbg_isSafeInteger_d216eda7911dde36 = function (arg0) {
|
|
4701
4849
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
4702
4850
|
return ret;
|
|
4703
4851
|
};
|
|
4704
4852
|
|
|
4705
|
-
|
|
4853
|
+
exports.__wbg_iterator_e5822695327a3c39 = function () {
|
|
4706
4854
|
const ret = Symbol.iterator;
|
|
4707
4855
|
return addHeapObject(ret);
|
|
4708
4856
|
};
|
|
4709
4857
|
|
|
4710
|
-
|
|
4858
|
+
exports.__wbg_length_69bca3cb64fc8748 = function (arg0) {
|
|
4711
4859
|
const ret = getObject(arg0).length;
|
|
4712
4860
|
return ret;
|
|
4713
4861
|
};
|
|
4714
4862
|
|
|
4715
|
-
|
|
4863
|
+
exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
4716
4864
|
const ret = getObject(arg0).length;
|
|
4717
4865
|
return ret;
|
|
4718
4866
|
};
|
|
4719
4867
|
|
|
4720
|
-
|
|
4868
|
+
exports.__wbg_list_3ff9e942e0036bfb = function () {
|
|
4721
4869
|
return handleError(function (arg0) {
|
|
4722
4870
|
const ret = getObject(arg0).list();
|
|
4723
4871
|
return addHeapObject(ret);
|
|
4724
4872
|
}, arguments);
|
|
4725
4873
|
};
|
|
4726
4874
|
|
|
4727
|
-
|
|
4875
|
+
exports.__wbg_list_bdb6eec69b7ea3d2 = function () {
|
|
4728
4876
|
return handleError(function (arg0) {
|
|
4729
4877
|
const ret = getObject(arg0).list();
|
|
4730
4878
|
return addHeapObject(ret);
|
|
4731
4879
|
}, arguments);
|
|
4732
4880
|
};
|
|
4733
4881
|
|
|
4734
|
-
|
|
4882
|
+
exports.__wbg_log_45eb3a49e7cdcb64 = function (arg0, arg1, arg2, arg3) {
|
|
4735
4883
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
4736
4884
|
};
|
|
4737
4885
|
|
|
4738
|
-
|
|
4886
|
+
exports.__wbg_msCrypto_a61aeb35a24c1329 = function (arg0) {
|
|
4739
4887
|
const ret = getObject(arg0).msCrypto;
|
|
4740
4888
|
return addHeapObject(ret);
|
|
4741
4889
|
};
|
|
4742
4890
|
|
|
4743
|
-
|
|
4891
|
+
exports.__wbg_name_3a33ad25b892b2dd = function (arg0, arg1) {
|
|
4744
4892
|
const ret = getObject(arg1).name;
|
|
4745
4893
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4746
4894
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4748,26 +4896,36 @@ module.exports.__wbg_name_f2d27098bfd843e7 = function (arg0, arg1) {
|
|
|
4748
4896
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4749
4897
|
};
|
|
4750
4898
|
|
|
4751
|
-
|
|
4899
|
+
exports.__wbg_new_0_f9740686d739025c = function () {
|
|
4752
4900
|
const ret = new Date();
|
|
4753
4901
|
return addHeapObject(ret);
|
|
4754
4902
|
};
|
|
4755
4903
|
|
|
4756
|
-
|
|
4904
|
+
exports.__wbg_new_1acc0b6eea89d040 = function () {
|
|
4905
|
+
const ret = new Object();
|
|
4906
|
+
return addHeapObject(ret);
|
|
4907
|
+
};
|
|
4908
|
+
|
|
4909
|
+
exports.__wbg_new_2531773dac38ebb3 = function () {
|
|
4757
4910
|
return handleError(function () {
|
|
4758
|
-
const ret = new
|
|
4911
|
+
const ret = new AbortController();
|
|
4759
4912
|
return addHeapObject(ret);
|
|
4760
4913
|
}, arguments);
|
|
4761
4914
|
};
|
|
4762
4915
|
|
|
4763
|
-
|
|
4916
|
+
exports.__wbg_new_3c3d849046688a66 = function (arg0, arg1) {
|
|
4764
4917
|
try {
|
|
4765
4918
|
var state0 = { a: arg0, b: arg1 };
|
|
4766
4919
|
var cb0 = (arg0, arg1) => {
|
|
4767
4920
|
const a = state0.a;
|
|
4768
4921
|
state0.a = 0;
|
|
4769
4922
|
try {
|
|
4770
|
-
return
|
|
4923
|
+
return wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(
|
|
4924
|
+
a,
|
|
4925
|
+
state0.b,
|
|
4926
|
+
arg0,
|
|
4927
|
+
arg1,
|
|
4928
|
+
);
|
|
4771
4929
|
} finally {
|
|
4772
4930
|
state0.a = a;
|
|
4773
4931
|
}
|
|
@@ -4779,51 +4937,46 @@ module.exports.__wbg_new_23a2665fac83c611 = function (arg0, arg1) {
|
|
|
4779
4937
|
}
|
|
4780
4938
|
};
|
|
4781
4939
|
|
|
4782
|
-
|
|
4783
|
-
const ret = new
|
|
4940
|
+
exports.__wbg_new_5a79be3ab53b8aa5 = function (arg0) {
|
|
4941
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
4784
4942
|
return addHeapObject(ret);
|
|
4785
4943
|
};
|
|
4786
4944
|
|
|
4787
|
-
|
|
4945
|
+
exports.__wbg_new_68651c719dcda04e = function () {
|
|
4788
4946
|
const ret = new Map();
|
|
4789
4947
|
return addHeapObject(ret);
|
|
4790
4948
|
};
|
|
4791
4949
|
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4950
|
+
exports.__wbg_new_6f694bb0585846e0 = function () {
|
|
4951
|
+
return handleError(function () {
|
|
4952
|
+
const ret = new FormData();
|
|
4953
|
+
return addHeapObject(ret);
|
|
4954
|
+
}, arguments);
|
|
4795
4955
|
};
|
|
4796
4956
|
|
|
4797
|
-
|
|
4957
|
+
exports.__wbg_new_8a6f238a6ece86ea = function () {
|
|
4798
4958
|
const ret = new Error();
|
|
4799
4959
|
return addHeapObject(ret);
|
|
4800
4960
|
};
|
|
4801
4961
|
|
|
4802
|
-
|
|
4962
|
+
exports.__wbg_new_9edf9838a2def39c = function () {
|
|
4803
4963
|
return handleError(function () {
|
|
4804
|
-
const ret = new
|
|
4964
|
+
const ret = new Headers();
|
|
4805
4965
|
return addHeapObject(ret);
|
|
4806
4966
|
}, arguments);
|
|
4807
4967
|
};
|
|
4808
4968
|
|
|
4809
|
-
|
|
4810
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
4811
|
-
return addHeapObject(ret);
|
|
4812
|
-
};
|
|
4813
|
-
|
|
4814
|
-
module.exports.__wbg_new_c68d7209be747379 = function (arg0, arg1) {
|
|
4969
|
+
exports.__wbg_new_a7442b4b19c1a356 = function (arg0, arg1) {
|
|
4815
4970
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
4816
4971
|
return addHeapObject(ret);
|
|
4817
4972
|
};
|
|
4818
4973
|
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
return addHeapObject(ret);
|
|
4823
|
-
}, arguments);
|
|
4974
|
+
exports.__wbg_new_e17d9f43105b08be = function () {
|
|
4975
|
+
const ret = new Array();
|
|
4976
|
+
return addHeapObject(ret);
|
|
4824
4977
|
};
|
|
4825
4978
|
|
|
4826
|
-
|
|
4979
|
+
exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
|
4827
4980
|
let deferred0_0;
|
|
4828
4981
|
let deferred0_1;
|
|
4829
4982
|
try {
|
|
@@ -4836,101 +4989,105 @@ module.exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
|
|
4836
4989
|
}
|
|
4837
4990
|
};
|
|
4838
4991
|
|
|
4839
|
-
|
|
4840
|
-
const ret = new
|
|
4992
|
+
exports.__wbg_new_from_slice_92f4d78ca282a2d2 = function (arg0, arg1) {
|
|
4993
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
4841
4994
|
return addHeapObject(ret);
|
|
4842
4995
|
};
|
|
4843
4996
|
|
|
4844
|
-
|
|
4845
|
-
const ret = new
|
|
4997
|
+
exports.__wbg_new_no_args_ee98eee5275000a4 = function (arg0, arg1) {
|
|
4998
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
4846
4999
|
return addHeapObject(ret);
|
|
4847
5000
|
};
|
|
4848
5001
|
|
|
4849
|
-
|
|
5002
|
+
exports.__wbg_new_with_length_01aa0dc35aa13543 = function (arg0) {
|
|
4850
5003
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
4851
5004
|
return addHeapObject(ret);
|
|
4852
5005
|
};
|
|
4853
5006
|
|
|
4854
|
-
|
|
5007
|
+
exports.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function () {
|
|
4855
5008
|
return handleError(function (arg0, arg1, arg2) {
|
|
4856
5009
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
4857
5010
|
return addHeapObject(ret);
|
|
4858
5011
|
}, arguments);
|
|
4859
5012
|
};
|
|
4860
5013
|
|
|
4861
|
-
|
|
5014
|
+
exports.__wbg_new_with_u8_array_sequence_and_options_0c1d0bd56d93d25a = function () {
|
|
4862
5015
|
return handleError(function (arg0, arg1) {
|
|
4863
5016
|
const ret = new Blob(getObject(arg0), getObject(arg1));
|
|
4864
5017
|
return addHeapObject(ret);
|
|
4865
5018
|
}, arguments);
|
|
4866
5019
|
};
|
|
4867
5020
|
|
|
4868
|
-
|
|
4869
|
-
const ret = getObject(arg0).next;
|
|
4870
|
-
return addHeapObject(ret);
|
|
4871
|
-
};
|
|
4872
|
-
|
|
4873
|
-
module.exports.__wbg_next_6574e1a8a62d1055 = function () {
|
|
5021
|
+
exports.__wbg_next_020810e0ae8ebcb0 = function () {
|
|
4874
5022
|
return handleError(function (arg0) {
|
|
4875
5023
|
const ret = getObject(arg0).next();
|
|
4876
5024
|
return addHeapObject(ret);
|
|
4877
5025
|
}, arguments);
|
|
4878
5026
|
};
|
|
4879
5027
|
|
|
4880
|
-
|
|
5028
|
+
exports.__wbg_next_2c826fe5dfec6b6a = function (arg0) {
|
|
5029
|
+
const ret = getObject(arg0).next;
|
|
5030
|
+
return addHeapObject(ret);
|
|
5031
|
+
};
|
|
5032
|
+
|
|
5033
|
+
exports.__wbg_node_905d3e251edff8a2 = function (arg0) {
|
|
4881
5034
|
const ret = getObject(arg0).node;
|
|
4882
5035
|
return addHeapObject(ret);
|
|
4883
5036
|
};
|
|
4884
5037
|
|
|
4885
|
-
|
|
5038
|
+
exports.__wbg_now_f5ba683d8ce2c571 = function (arg0) {
|
|
4886
5039
|
const ret = getObject(arg0).now();
|
|
4887
5040
|
return ret;
|
|
4888
5041
|
};
|
|
4889
5042
|
|
|
4890
|
-
|
|
5043
|
+
exports.__wbg_open_9d8c51d122a5a6ea = function () {
|
|
4891
5044
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4892
5045
|
const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
4893
5046
|
return addHeapObject(ret);
|
|
4894
5047
|
}, arguments);
|
|
4895
5048
|
};
|
|
4896
5049
|
|
|
4897
|
-
|
|
5050
|
+
exports.__wbg_parse_2a704d6b78abb2b8 = function () {
|
|
4898
5051
|
return handleError(function (arg0, arg1) {
|
|
4899
5052
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
4900
5053
|
return addHeapObject(ret);
|
|
4901
5054
|
}, arguments);
|
|
4902
5055
|
};
|
|
4903
5056
|
|
|
4904
|
-
|
|
5057
|
+
exports.__wbg_preventDefault_1f362670ce7ef430 = function (arg0) {
|
|
4905
5058
|
getObject(arg0).preventDefault();
|
|
4906
5059
|
};
|
|
4907
5060
|
|
|
4908
|
-
|
|
5061
|
+
exports.__wbg_process_dc0fbacc7c1c06f7 = function (arg0) {
|
|
4909
5062
|
const ret = getObject(arg0).process;
|
|
4910
5063
|
return addHeapObject(ret);
|
|
4911
5064
|
};
|
|
4912
5065
|
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
return ret;
|
|
5066
|
+
exports.__wbg_prototypesetcall_2a6620b6922694b2 = function (arg0, arg1, arg2) {
|
|
5067
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
4916
5068
|
};
|
|
4917
5069
|
|
|
4918
|
-
|
|
4919
|
-
|
|
5070
|
+
exports.__wbg_push_df81a39d04db858c = function (arg0, arg1) {
|
|
5071
|
+
const ret = getObject(arg0).push(getObject(arg1));
|
|
5072
|
+
return ret;
|
|
4920
5073
|
};
|
|
4921
5074
|
|
|
4922
|
-
|
|
5075
|
+
exports.__wbg_queueMicrotask_34d692c25c47d05b = function (arg0) {
|
|
4923
5076
|
const ret = getObject(arg0).queueMicrotask;
|
|
4924
5077
|
return addHeapObject(ret);
|
|
4925
5078
|
};
|
|
4926
5079
|
|
|
4927
|
-
|
|
5080
|
+
exports.__wbg_queueMicrotask_9d76cacb20c84d58 = function (arg0) {
|
|
5081
|
+
queueMicrotask(getObject(arg0));
|
|
5082
|
+
};
|
|
5083
|
+
|
|
5084
|
+
exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
4928
5085
|
return handleError(function (arg0, arg1) {
|
|
4929
5086
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
4930
5087
|
}, arguments);
|
|
4931
5088
|
};
|
|
4932
5089
|
|
|
4933
|
-
|
|
5090
|
+
exports.__wbg_remove_33695adbdbc52a3e = function () {
|
|
4934
5091
|
return handleError(function (arg0, arg1, arg2) {
|
|
4935
5092
|
let deferred0_0;
|
|
4936
5093
|
let deferred0_1;
|
|
@@ -4945,7 +5102,7 @@ module.exports.__wbg_remove_956f7c593f896a01 = function () {
|
|
|
4945
5102
|
}, arguments);
|
|
4946
5103
|
};
|
|
4947
5104
|
|
|
4948
|
-
|
|
5105
|
+
exports.__wbg_remove_dc431ea3d4bc3b57 = function () {
|
|
4949
5106
|
return handleError(function (arg0, arg1, arg2) {
|
|
4950
5107
|
let deferred0_0;
|
|
4951
5108
|
let deferred0_1;
|
|
@@ -4960,50 +5117,38 @@ module.exports.__wbg_remove_e3a32c8e47e778c1 = function () {
|
|
|
4960
5117
|
}, arguments);
|
|
4961
5118
|
};
|
|
4962
5119
|
|
|
4963
|
-
|
|
5120
|
+
exports.__wbg_require_60cc747a6bc5215a = function () {
|
|
4964
5121
|
return handleError(function () {
|
|
4965
5122
|
const ret = module.require;
|
|
4966
5123
|
return addHeapObject(ret);
|
|
4967
5124
|
}, arguments);
|
|
4968
5125
|
};
|
|
4969
5126
|
|
|
4970
|
-
|
|
5127
|
+
exports.__wbg_resolve_caf97c30b83f7053 = function (arg0) {
|
|
4971
5128
|
const ret = Promise.resolve(getObject(arg0));
|
|
4972
5129
|
return addHeapObject(ret);
|
|
4973
5130
|
};
|
|
4974
5131
|
|
|
4975
|
-
|
|
5132
|
+
exports.__wbg_result_25e75004b82b9830 = function () {
|
|
4976
5133
|
return handleError(function (arg0) {
|
|
4977
5134
|
const ret = getObject(arg0).result;
|
|
4978
5135
|
return addHeapObject(ret);
|
|
4979
5136
|
}, arguments);
|
|
4980
5137
|
};
|
|
4981
5138
|
|
|
4982
|
-
|
|
5139
|
+
exports.__wbg_send_9b8fc6bb517867dd = function () {
|
|
4983
5140
|
return handleError(function (arg0, arg1) {
|
|
4984
5141
|
const ret = getObject(arg0).send(OutgoingMessage.__wrap(arg1));
|
|
4985
5142
|
return addHeapObject(ret);
|
|
4986
5143
|
}, arguments);
|
|
4987
5144
|
};
|
|
4988
5145
|
|
|
4989
|
-
|
|
5146
|
+
exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
4990
5147
|
const ret = setTimeout(getObject(arg0), arg1);
|
|
4991
5148
|
return addHeapObject(ret);
|
|
4992
5149
|
};
|
|
4993
5150
|
|
|
4994
|
-
|
|
4995
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
4996
|
-
};
|
|
4997
|
-
|
|
4998
|
-
module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
4999
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5000
|
-
};
|
|
5001
|
-
|
|
5002
|
-
module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
5003
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
5004
|
-
};
|
|
5005
|
-
|
|
5006
|
-
module.exports.__wbg_set_89104a657df0b114 = function () {
|
|
5151
|
+
exports.__wbg_set_33fa6c07f568d210 = function () {
|
|
5007
5152
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5008
5153
|
let deferred0_0;
|
|
5009
5154
|
let deferred0_1;
|
|
@@ -5018,12 +5163,11 @@ module.exports.__wbg_set_89104a657df0b114 = function () {
|
|
|
5018
5163
|
}, arguments);
|
|
5019
5164
|
};
|
|
5020
5165
|
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
return addHeapObject(ret);
|
|
5166
|
+
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5167
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5024
5168
|
};
|
|
5025
5169
|
|
|
5026
|
-
|
|
5170
|
+
exports.__wbg_set_9006732dd4d65e3c = function () {
|
|
5027
5171
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5028
5172
|
let deferred0_0;
|
|
5029
5173
|
let deferred0_1;
|
|
@@ -5038,27 +5182,36 @@ module.exports.__wbg_set_d46a2477f493c1aa = function () {
|
|
|
5038
5182
|
}, arguments);
|
|
5039
5183
|
};
|
|
5040
5184
|
|
|
5041
|
-
|
|
5185
|
+
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
5186
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5187
|
+
return addHeapObject(ret);
|
|
5188
|
+
};
|
|
5189
|
+
|
|
5190
|
+
exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
|
|
5042
5191
|
getObject(arg0).body = getObject(arg1);
|
|
5043
5192
|
};
|
|
5044
5193
|
|
|
5045
|
-
|
|
5194
|
+
exports.__wbg_set_c213c871859d6500 = function (arg0, arg1, arg2) {
|
|
5195
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5196
|
+
};
|
|
5197
|
+
|
|
5198
|
+
exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
|
|
5046
5199
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5047
5200
|
};
|
|
5048
5201
|
|
|
5049
|
-
|
|
5202
|
+
exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
|
|
5050
5203
|
getObject(arg0).headers = getObject(arg1);
|
|
5051
5204
|
};
|
|
5052
5205
|
|
|
5053
|
-
|
|
5206
|
+
exports.__wbg_set_method_c02d8cbbe204ac2d = function (arg0, arg1, arg2) {
|
|
5054
5207
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
5055
5208
|
};
|
|
5056
5209
|
|
|
5057
|
-
|
|
5210
|
+
exports.__wbg_set_mode_52ef73cfa79639cb = function (arg0, arg1) {
|
|
5058
5211
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
5059
5212
|
};
|
|
5060
5213
|
|
|
5061
|
-
|
|
5214
|
+
exports.__wbg_set_name_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
|
|
5062
5215
|
let deferred0_0;
|
|
5063
5216
|
let deferred0_1;
|
|
5064
5217
|
try {
|
|
@@ -5070,27 +5223,27 @@ module.exports.__wbg_setname_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
|
|
|
5070
5223
|
}
|
|
5071
5224
|
};
|
|
5072
5225
|
|
|
5073
|
-
|
|
5226
|
+
exports.__wbg_set_onerror_dc82fea584ffccaa = function (arg0, arg1) {
|
|
5074
5227
|
getObject(arg0).onerror = getObject(arg1);
|
|
5075
5228
|
};
|
|
5076
5229
|
|
|
5077
|
-
|
|
5230
|
+
exports.__wbg_set_onsuccess_f367d002b462109e = function (arg0, arg1) {
|
|
5078
5231
|
getObject(arg0).onsuccess = getObject(arg1);
|
|
5079
5232
|
};
|
|
5080
5233
|
|
|
5081
|
-
|
|
5234
|
+
exports.__wbg_set_onupgradeneeded_0a519a73284a1418 = function (arg0, arg1) {
|
|
5082
5235
|
getObject(arg0).onupgradeneeded = getObject(arg1);
|
|
5083
5236
|
};
|
|
5084
5237
|
|
|
5085
|
-
|
|
5238
|
+
exports.__wbg_set_signal_dda2cf7ccb6bee0f = function (arg0, arg1) {
|
|
5086
5239
|
getObject(arg0).signal = getObject(arg1);
|
|
5087
5240
|
};
|
|
5088
5241
|
|
|
5089
|
-
|
|
5242
|
+
exports.__wbg_set_type_63fa4c18251f6545 = function (arg0, arg1, arg2) {
|
|
5090
5243
|
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
5091
5244
|
};
|
|
5092
5245
|
|
|
5093
|
-
|
|
5246
|
+
exports.__wbg_set_variant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
|
|
5094
5247
|
let deferred0_0;
|
|
5095
5248
|
let deferred0_1;
|
|
5096
5249
|
try {
|
|
@@ -5102,12 +5255,12 @@ module.exports.__wbg_setvariant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
|
|
|
5102
5255
|
}
|
|
5103
5256
|
};
|
|
5104
5257
|
|
|
5105
|
-
|
|
5258
|
+
exports.__wbg_signal_4db5aa055bf9eb9a = function (arg0) {
|
|
5106
5259
|
const ret = getObject(arg0).signal;
|
|
5107
5260
|
return addHeapObject(ret);
|
|
5108
5261
|
};
|
|
5109
5262
|
|
|
5110
|
-
|
|
5263
|
+
exports.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
|
5111
5264
|
const ret = getObject(arg1).stack;
|
|
5112
5265
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5113
5266
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -5115,76 +5268,76 @@ module.exports.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
|
|
5115
5268
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5116
5269
|
};
|
|
5117
5270
|
|
|
5118
|
-
|
|
5271
|
+
exports.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function () {
|
|
5119
5272
|
const ret = typeof global === "undefined" ? null : global;
|
|
5120
5273
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5121
5274
|
};
|
|
5122
5275
|
|
|
5123
|
-
|
|
5276
|
+
exports.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function () {
|
|
5124
5277
|
const ret = typeof globalThis === "undefined" ? null : globalThis;
|
|
5125
5278
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5126
5279
|
};
|
|
5127
5280
|
|
|
5128
|
-
|
|
5281
|
+
exports.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function () {
|
|
5129
5282
|
const ret = typeof self === "undefined" ? null : self;
|
|
5130
5283
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5131
5284
|
};
|
|
5132
5285
|
|
|
5133
|
-
|
|
5286
|
+
exports.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function () {
|
|
5134
5287
|
const ret = typeof window === "undefined" ? null : window;
|
|
5135
5288
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5136
5289
|
};
|
|
5137
5290
|
|
|
5138
|
-
|
|
5291
|
+
exports.__wbg_static_accessor_performance_da77b3a901a72934 = function () {
|
|
5139
5292
|
const ret = performance;
|
|
5140
5293
|
return addHeapObject(ret);
|
|
5141
5294
|
};
|
|
5142
5295
|
|
|
5143
|
-
|
|
5296
|
+
exports.__wbg_status_de7eed5a7a5bfd5d = function (arg0) {
|
|
5144
5297
|
const ret = getObject(arg0).status;
|
|
5145
5298
|
return ret;
|
|
5146
5299
|
};
|
|
5147
5300
|
|
|
5148
|
-
|
|
5301
|
+
exports.__wbg_stringify_b5fb28f6465d9c3e = function () {
|
|
5149
5302
|
return handleError(function (arg0) {
|
|
5150
5303
|
const ret = JSON.stringify(getObject(arg0));
|
|
5151
5304
|
return addHeapObject(ret);
|
|
5152
5305
|
}, arguments);
|
|
5153
5306
|
};
|
|
5154
5307
|
|
|
5155
|
-
|
|
5308
|
+
exports.__wbg_subarray_480600f3d6a9f26c = function (arg0, arg1, arg2) {
|
|
5156
5309
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
5157
5310
|
return addHeapObject(ret);
|
|
5158
5311
|
};
|
|
5159
5312
|
|
|
5160
|
-
|
|
5313
|
+
exports.__wbg_target_1447f5d3a6fa6fe0 = function (arg0) {
|
|
5161
5314
|
const ret = getObject(arg0).target;
|
|
5162
5315
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5163
5316
|
};
|
|
5164
5317
|
|
|
5165
|
-
|
|
5318
|
+
exports.__wbg_text_dc33c15c17bdfb52 = function () {
|
|
5166
5319
|
return handleError(function (arg0) {
|
|
5167
5320
|
const ret = getObject(arg0).text();
|
|
5168
5321
|
return addHeapObject(ret);
|
|
5169
5322
|
}, arguments);
|
|
5170
5323
|
};
|
|
5171
5324
|
|
|
5172
|
-
|
|
5325
|
+
exports.__wbg_then_4f46f6544e6b4a28 = function (arg0, arg1) {
|
|
5173
5326
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
5174
5327
|
return addHeapObject(ret);
|
|
5175
5328
|
};
|
|
5176
5329
|
|
|
5177
|
-
|
|
5330
|
+
exports.__wbg_then_70d05cf780a18d77 = function (arg0, arg1, arg2) {
|
|
5178
5331
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
5179
5332
|
return addHeapObject(ret);
|
|
5180
5333
|
};
|
|
5181
5334
|
|
|
5182
|
-
|
|
5335
|
+
exports.__wbg_transaction_9fb8349a0a81725c = function (arg0) {
|
|
5183
5336
|
const ret = getObject(arg0).transaction;
|
|
5184
5337
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5185
5338
|
};
|
|
5186
5339
|
|
|
5187
|
-
|
|
5340
|
+
exports.__wbg_url_b36d2a5008eb056f = function (arg0, arg1) {
|
|
5188
5341
|
const ret = getObject(arg1).url;
|
|
5189
5342
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5190
5343
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -5192,196 +5345,139 @@ module.exports.__wbg_url_ae10c34ca209681d = function (arg0, arg1) {
|
|
|
5192
5345
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5193
5346
|
};
|
|
5194
5347
|
|
|
5195
|
-
|
|
5348
|
+
exports.__wbg_value_692627309814bb8c = function (arg0) {
|
|
5196
5349
|
const ret = getObject(arg0).value;
|
|
5197
5350
|
return addHeapObject(ret);
|
|
5198
5351
|
};
|
|
5199
5352
|
|
|
5200
|
-
|
|
5353
|
+
exports.__wbg_versions_c01dfd4722a88165 = function (arg0) {
|
|
5201
5354
|
const ret = getObject(arg0).versions;
|
|
5202
5355
|
return addHeapObject(ret);
|
|
5203
5356
|
};
|
|
5204
5357
|
|
|
5205
|
-
|
|
5358
|
+
exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
5206
5359
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5207
5360
|
};
|
|
5208
5361
|
|
|
5209
|
-
|
|
5210
|
-
|
|
5362
|
+
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5363
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5364
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5211
5365
|
return addHeapObject(ret);
|
|
5212
5366
|
};
|
|
5213
5367
|
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
module.exports.__wbindgen_bigint_from_i64 = function (arg0) {
|
|
5224
|
-
const ret = arg0;
|
|
5368
|
+
exports.__wbindgen_cast_36265b4dca1d434b = function (arg0, arg1) {
|
|
5369
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5370
|
+
const ret = makeMutClosure(
|
|
5371
|
+
arg0,
|
|
5372
|
+
arg1,
|
|
5373
|
+
wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
|
|
5374
|
+
wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
|
|
5375
|
+
);
|
|
5225
5376
|
return addHeapObject(ret);
|
|
5226
5377
|
};
|
|
5227
5378
|
|
|
5228
|
-
|
|
5379
|
+
exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
|
|
5380
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
5229
5381
|
const ret = BigInt.asUintN(64, arg0);
|
|
5230
5382
|
return addHeapObject(ret);
|
|
5231
5383
|
};
|
|
5232
5384
|
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
};
|
|
5239
|
-
|
|
5240
|
-
module.exports.__wbindgen_boolean_get = function (arg0) {
|
|
5241
|
-
const v = getObject(arg0);
|
|
5242
|
-
const ret = typeof v === "boolean" ? (v ? 1 : 0) : 2;
|
|
5243
|
-
return ret;
|
|
5244
|
-
};
|
|
5245
|
-
|
|
5246
|
-
module.exports.__wbindgen_cb_drop = function (arg0) {
|
|
5247
|
-
const obj = takeObject(arg0).original;
|
|
5248
|
-
if (obj.cnt-- == 1) {
|
|
5249
|
-
obj.a = 0;
|
|
5250
|
-
return true;
|
|
5251
|
-
}
|
|
5252
|
-
const ret = false;
|
|
5253
|
-
return ret;
|
|
5254
|
-
};
|
|
5255
|
-
|
|
5256
|
-
module.exports.__wbindgen_closure_wrapper196 = function (arg0, arg1, arg2) {
|
|
5257
|
-
const ret = makeMutClosure(arg0, arg1, 7, __wbg_adapter_54);
|
|
5385
|
+
exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
5386
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5387
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5388
|
+
// Cast intrinsic for `Vector(NamedExternref("CipherRiskResult")) -> Externref`.
|
|
5389
|
+
const ret = v0;
|
|
5258
5390
|
return addHeapObject(ret);
|
|
5259
5391
|
};
|
|
5260
5392
|
|
|
5261
|
-
|
|
5262
|
-
|
|
5393
|
+
exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
5394
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5395
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5396
|
+
// Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
|
|
5397
|
+
const ret = v0;
|
|
5263
5398
|
return addHeapObject(ret);
|
|
5264
5399
|
};
|
|
5265
5400
|
|
|
5266
|
-
|
|
5267
|
-
|
|
5401
|
+
exports.__wbindgen_cast_91244c1b651c8ba8 = function (arg0, arg1) {
|
|
5402
|
+
// 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`.
|
|
5403
|
+
const ret = makeMutClosure(
|
|
5404
|
+
arg0,
|
|
5405
|
+
arg1,
|
|
5406
|
+
wasm.wasm_bindgen__closure__destroy__h7b7f88151484c167,
|
|
5407
|
+
wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009,
|
|
5408
|
+
);
|
|
5268
5409
|
return addHeapObject(ret);
|
|
5269
5410
|
};
|
|
5270
5411
|
|
|
5271
|
-
|
|
5272
|
-
|
|
5412
|
+
exports.__wbindgen_cast_98de615b9dbdc064 = function (arg0, arg1) {
|
|
5413
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [Externref], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5414
|
+
const ret = makeMutClosure(
|
|
5415
|
+
arg0,
|
|
5416
|
+
arg1,
|
|
5417
|
+
wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
|
|
5418
|
+
wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009,
|
|
5419
|
+
);
|
|
5273
5420
|
return addHeapObject(ret);
|
|
5274
5421
|
};
|
|
5275
5422
|
|
|
5276
|
-
|
|
5277
|
-
|
|
5423
|
+
exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
5424
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
5425
|
+
const ret = arg0;
|
|
5278
5426
|
return addHeapObject(ret);
|
|
5279
5427
|
};
|
|
5280
5428
|
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
const
|
|
5284
|
-
const len1 = WASM_VECTOR_LEN;
|
|
5285
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5286
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5287
|
-
};
|
|
5288
|
-
|
|
5289
|
-
module.exports.__wbindgen_error_new = function (arg0, arg1) {
|
|
5290
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
5429
|
+
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5430
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5431
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5291
5432
|
return addHeapObject(ret);
|
|
5292
5433
|
};
|
|
5293
5434
|
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
module.exports.__wbindgen_is_bigint = function (arg0) {
|
|
5300
|
-
const ret = typeof getObject(arg0) === "bigint";
|
|
5301
|
-
return ret;
|
|
5302
|
-
};
|
|
5303
|
-
|
|
5304
|
-
module.exports.__wbindgen_is_function = function (arg0) {
|
|
5305
|
-
const ret = typeof getObject(arg0) === "function";
|
|
5306
|
-
return ret;
|
|
5307
|
-
};
|
|
5308
|
-
|
|
5309
|
-
module.exports.__wbindgen_is_object = function (arg0) {
|
|
5310
|
-
const val = getObject(arg0);
|
|
5311
|
-
const ret = typeof val === "object" && val !== null;
|
|
5312
|
-
return ret;
|
|
5313
|
-
};
|
|
5314
|
-
|
|
5315
|
-
module.exports.__wbindgen_is_string = function (arg0) {
|
|
5316
|
-
const ret = typeof getObject(arg0) === "string";
|
|
5317
|
-
return ret;
|
|
5318
|
-
};
|
|
5319
|
-
|
|
5320
|
-
module.exports.__wbindgen_is_undefined = function (arg0) {
|
|
5321
|
-
const ret = getObject(arg0) === undefined;
|
|
5322
|
-
return ret;
|
|
5323
|
-
};
|
|
5324
|
-
|
|
5325
|
-
module.exports.__wbindgen_jsval_eq = function (arg0, arg1) {
|
|
5326
|
-
const ret = getObject(arg0) === getObject(arg1);
|
|
5327
|
-
return ret;
|
|
5328
|
-
};
|
|
5329
|
-
|
|
5330
|
-
module.exports.__wbindgen_jsval_loose_eq = function (arg0, arg1) {
|
|
5331
|
-
const ret = getObject(arg0) == getObject(arg1);
|
|
5332
|
-
return ret;
|
|
5435
|
+
exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
5436
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
5437
|
+
const ret = arg0;
|
|
5438
|
+
return addHeapObject(ret);
|
|
5333
5439
|
};
|
|
5334
5440
|
|
|
5335
|
-
|
|
5336
|
-
|
|
5441
|
+
exports.__wbindgen_cast_e904f2c9fda6146b = function (arg0, arg1) {
|
|
5442
|
+
// 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`.
|
|
5443
|
+
const ret = makeMutClosure(
|
|
5444
|
+
arg0,
|
|
5445
|
+
arg1,
|
|
5446
|
+
wasm.wasm_bindgen__closure__destroy__h7b7f88151484c167,
|
|
5447
|
+
wasm_bindgen__convert__closures_____invoke__hf869d8564f5adb52,
|
|
5448
|
+
);
|
|
5337
5449
|
return addHeapObject(ret);
|
|
5338
5450
|
};
|
|
5339
5451
|
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5452
|
+
exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
|
|
5453
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5454
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5455
|
+
// Cast intrinsic for `Vector(NamedExternref("FolderView")) -> Externref`.
|
|
5456
|
+
const ret = v0;
|
|
5457
|
+
return addHeapObject(ret);
|
|
5345
5458
|
};
|
|
5346
5459
|
|
|
5347
|
-
|
|
5348
|
-
|
|
5460
|
+
exports.__wbindgen_cast_f31034722c398fdb = function (arg0, arg1) {
|
|
5461
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 520, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5462
|
+
const ret = makeMutClosure(
|
|
5463
|
+
arg0,
|
|
5464
|
+
arg1,
|
|
5465
|
+
wasm.wasm_bindgen__closure__destroy__h1cce7ce4a094839d,
|
|
5466
|
+
wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
|
|
5467
|
+
);
|
|
5349
5468
|
return addHeapObject(ret);
|
|
5350
5469
|
};
|
|
5351
5470
|
|
|
5352
|
-
|
|
5471
|
+
exports.__wbindgen_object_clone_ref = function (arg0) {
|
|
5353
5472
|
const ret = getObject(arg0);
|
|
5354
5473
|
return addHeapObject(ret);
|
|
5355
5474
|
};
|
|
5356
5475
|
|
|
5357
|
-
|
|
5476
|
+
exports.__wbindgen_object_drop_ref = function (arg0) {
|
|
5358
5477
|
takeObject(arg0);
|
|
5359
5478
|
};
|
|
5360
5479
|
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
? 0
|
|
5366
|
-
: passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5367
|
-
var len1 = WASM_VECTOR_LEN;
|
|
5368
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5369
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5370
|
-
};
|
|
5371
|
-
|
|
5372
|
-
module.exports.__wbindgen_string_new = function (arg0, arg1) {
|
|
5373
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5374
|
-
return addHeapObject(ret);
|
|
5375
|
-
};
|
|
5376
|
-
|
|
5377
|
-
module.exports.__wbindgen_throw = function (arg0, arg1) {
|
|
5378
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5379
|
-
};
|
|
5380
|
-
|
|
5381
|
-
const path = require("path").join(__dirname, "bitwarden_wasm_internal_bg.wasm");
|
|
5382
|
-
const bytes = require("fs").readFileSync(path);
|
|
5383
|
-
|
|
5384
|
-
const wasmModule = new WebAssembly.Module(bytes);
|
|
5385
|
-
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
5386
|
-
wasm = wasmInstance.exports;
|
|
5387
|
-
module.exports.__wasm = wasm;
|
|
5480
|
+
const wasmPath = `${__dirname}/bitwarden_wasm_internal_bg.wasm`;
|
|
5481
|
+
const wasmBytes = require("fs").readFileSync(wasmPath);
|
|
5482
|
+
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
5483
|
+
const wasm = (exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports);
|